@univerjs-pro/collaboration-client 0.5.1-nightly.202412171606 → 0.5.1-nightly.202412180740
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x4d236c=_0x4660;(function(_0x3726ab,_0xc07c8a){var _0x3ab444=_0x4660,_0xcbdaaf=_0x3726ab();while(!![]){try{var _0x1d4522=-parseInt(_0x3ab444(0x1c4))/0x1+-parseInt(_0x3ab444(0x246))/0x2*(-parseInt(_0x3ab444(0x377))/0x3)+parseInt(_0x3ab444(0x347))/0x4*(-parseInt(_0x3ab444(0x1c0))/0x5)+-parseInt(_0x3ab444(0x1cd))/0x6*(-parseInt(_0x3ab444(0x44b))/0x7)+parseInt(_0x3ab444(0x441))/0x8+parseInt(_0x3ab444(0x242))/0x9*(parseInt(_0x3ab444(0x3dd))/0xa)+-parseInt(_0x3ab444(0x19b))/0xb;if(_0x1d4522===_0xc07c8a)break;else _0xcbdaaf['push'](_0xcbdaaf['shift']());}catch(_0x1c9627){_0xcbdaaf['push'](_0xcbdaaf['shift']());}}}(_0x1adb,0x3bd2e));var Mi=Object['defineProperty'],$i=(_0x5c031f,_0x304541,_0x375c9f)=>_0x304541 in _0x5c031f?Mi(_0x5c031f,_0x304541,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x375c9f}):_0x5c031f[_0x304541]=_0x375c9f,P=(_0x5e02cc,_0x458063,_0x523cdb)=>$i(_0x5e02cc,typeof _0x458063!=_0x4d236c(0x31f)?_0x458063+'':_0x458063,_0x523cdb);import{createIdentifier as _0x40f637,Inject as _0x318337,Injector as _0x319afb,Disposable as _0xd944f,DisposableCollection as _0x3ebcdd,toDisposable as _0x8d3dae,IConfigService as _0x8980fc,ILogService as _0x1b80b0,UserManagerService as _0x53d242,UniverInstanceType as _0x2b3ce0,IUniverInstanceService as _0xbe442f,LocaleService as _0x2594e6,Optional as _0x3910d7,RxDisposable as _0x35a4f1,Tools as _0x14143a,Rectangle as _0x1c13c8,ICommandService as _0x165bb2,JSONX as _0x31ad31,CommandType as _0x58081b,IPermissionService as _0x2e32b6,IUndoRedoService as _0x531919,sequenceExecute as _0x1c46d2,Workbook as _0x1b90df,MentionType as _0x10b01a,IAuthzIoService as _0x5a5682,isInternalEditorID as _0x937d7,LocalUndoRedoService as _0x1eb228,IContextService as _0x1b133c,DependentOn as _0xc0a526,Plugin as _0x18ac3c,mergeOverrideWithDependencies as _0x211ddb,IMentionIOService as _0x3ab0ea,registerDependencies as _0x249870,Quantity as _0x1ebd03,touchDependencies as _0x33ebc3}from'@univerjs/core';import{Subject as _0x52e512,merge as _0x2ac0c1,of as _0x9fa4b5,BehaviorSubject as _0x25a7f9,takeUntil as _0x5ecdcc,ReplaySubject as _0x2782e2,take as _0xecb64a,map as _0x50031d,shareReplay as _0x347782,firstValueFrom as _0x3be313,concatMap as _0x456121}from'rxjs';import{map as _0x1a29c6,take as _0x1607b5,filter as _0x1e6df7,delay as _0x22efbf,takeUntil as _0xd02988}from'rxjs/operators';import{HTTPService as _0x53807a,ISocketService as _0x4ba1db,MergeInterceptorFactory as _0x5ed3af,HTTPRequest as _0x848222,UniverNetworkPlugin as _0x1f50f2,ThresholdInterceptorFactory as _0x5c921d}from'@univerjs/network';import{CollaborationEvent as _0x346e82,parseChangesetToProtocol as _0x1bd316,ISnapshotServerService as _0x2576d5,isTransformMutationsWithChangesetSuccess as _0x10f7c6,ITransformService as _0x38407d,mapDocumentTypeToUniverType as _0x1fbc6f,RevisionService as _0x4a9c92,isTransformChangesetsSuccess as _0x5bdc89,CompressMutationService as _0x1ba35d,parseProtocolChangeset as _0x56fceb,SnapshotService as _0x5af7cb,textEncoder as _0x1c73e2,b64DecodeUnicode as _0x589e91,isTransformMutationsWithChangesetFailure as _0x2524f5,UniverCollaborationPlugin as _0x487f4a}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2e8884}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x567ff0}from'@univerjs/docs';import{SheetsSelectionsService as _0xf26f3,SetSelectionsOperation as _0x1f7c5c,InsertSheetMutation as _0xe8d8ad,EmptyMutation as _0x1e7da2,WorkbookEditablePermission as _0x44816b,UnitObject as _0x131735,defaultWorkbookPermissionPoints as _0x493296,getAllWorkbookPermissionPoint as _0x3627fd,WorksheetProtectionRuleModel as _0x5d245f,baseProtectionActions as _0x22fd01,getAllWorksheetPermissionPoint as _0x1ed987,WorksheetProtectionPointModel as _0x2b1bc1,defaultWorksheetPermissionPoint as _0x35ba4d,getAllWorksheetPermissionPointByPointPanel as _0x4a9861,RangeProtectionRuleModel as _0x6c7bf0,getAllRangePermissionPoint as _0x3af75a,UniverSheetsPlugin as _0x3b476f}from'@univerjs/sheets';import{ImageSourceType as _0x51b06f,ImageUploadStatusType as _0x360e54,IImageIoService as _0x10e03b}from'@univerjs/drawing';import{getGlobalObject as _0x3244b3}from'@univerjs-pro/license';const Nn=_0x4d236c(0x316),Pn=_0x4d236c(0x33a),Dn=_0x4d236c(0x2a2),ho=_0x4d236c(0x252),wn=0x7d0,Un=_0x4d236c(0x35c),An=_0x4d236c(0x3be),xn=_0x4d236c(0x442),Ln=_0x4d236c(0x1e9),Mn=0x7530,Ei=_0x4d236c(0x1a3),Ii=0x4e20,$n=0x4e20,Hn=_0x4d236c(0x3c2),kn=0x3,_o=_0x4d236c(0x1f0),lo=0x3e8,jn=_0x4d236c(0x3a0),Bn='/universer-api/comb',Fn=_0x4d236c(0x2bb),Vn=_0x4d236c(0x35a),uo=_0x4d236c(0x1bd),fo=_0x4d236c(0x47b);var Ti=(_0x3e1432=>(_0x3e1432[_0x3e1432['UNDEFINED']=0x0]='UNDEFINED',_0x3e1432[_0x3e1432['OK']=0x1]='OK',_0x3e1432[_0x3e1432[_0x4d236c(0x256)]=0x2]=_0x4d236c(0x256),_0x3e1432[_0x3e1432[_0x4d236c(0x19e)]=0x3]=_0x4d236c(0x19e),_0x3e1432[_0x3e1432[_0x4d236c(0x26e)]=0x4]='NOT_FOUND',_0x3e1432[_0x3e1432[_0x4d236c(0x417)]=0x5]=_0x4d236c(0x417),_0x3e1432[_0x3e1432[_0x4d236c(0x27f)]=0x6]=_0x4d236c(0x27f),_0x3e1432[_0x3e1432[_0x4d236c(0x290)]=0x7]=_0x4d236c(0x290),_0x3e1432[_0x3e1432[_0x4d236c(0x3d3)]=0x8]=_0x4d236c(0x3d3),_0x3e1432[_0x3e1432[_0x4d236c(0x28a)]=0x9]=_0x4d236c(0x28a),_0x3e1432[_0x3e1432[_0x4d236c(0x285)]=0x1389]=_0x4d236c(0x285),_0x3e1432[_0x3e1432[_0x4d236c(0x400)]=0x1771]=_0x4d236c(0x400),_0x3e1432[_0x3e1432[_0x4d236c(0x1b5)]=0x1772]=_0x4d236c(0x1b5),_0x3e1432[_0x3e1432[_0x4d236c(0x2d4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3e1432[_0x3e1432['APPLY_REJECT']=0x1b59]=_0x4d236c(0x24d),_0x3e1432[_0x3e1432['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4d236c(0x2aa),_0x3e1432[_0x3e1432[_0x4d236c(0x1fd)]=0x1b5b]=_0x4d236c(0x1fd),_0x3e1432[_0x3e1432[_0x4d236c(0x45f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3e1432[_0x3e1432[_0x4d236c(0x480)]=0x1b5d]=_0x4d236c(0x480),_0x3e1432[_0x3e1432[_0x4d236c(0x357)]=0x1f41]=_0x4d236c(0x357),_0x3e1432[_0x3e1432[_0x4d236c(0x388)]=0x2329]=_0x4d236c(0x388),_0x3e1432[_0x3e1432[_0x4d236c(0x190)]=0x232a]=_0x4d236c(0x190),_0x3e1432[_0x3e1432['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4d236c(0x185),_0x3e1432[_0x3e1432[_0x4d236c(0x23a)]=0x232c]=_0x4d236c(0x23a),_0x3e1432[_0x3e1432[_0x4d236c(0x2c0)]=0x232d]=_0x4d236c(0x2c0),_0x3e1432[_0x3e1432[_0x4d236c(0x3b3)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3e1432[_0x3e1432[_0x4d236c(0x424)]=0x2712]=_0x4d236c(0x424),_0x3e1432[_0x3e1432[_0x4d236c(0x375)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3e1432[_0x3e1432[_0x4d236c(0x2bd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3e1432[_0x3e1432[_0x4d236c(0x39c)]=-0x1]=_0x4d236c(0x39c),_0x3e1432))(Ti||{}),Q=(_0x142bef=>(_0x142bef[_0x142bef[_0x4d236c(0x344)]=0x0]='UNIVER_UNKNOWN',_0x142bef[_0x142bef[_0x4d236c(0x32b)]=0x1]=_0x4d236c(0x32b),_0x142bef[_0x142bef['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x142bef[_0x142bef[_0x4d236c(0x34d)]=0x3]='UNIVER_SLIDE',_0x142bef[_0x142bef[_0x4d236c(0x269)]=0x4]=_0x4d236c(0x269),_0x142bef[_0x142bef[_0x4d236c(0x39c)]=-0x1]=_0x4d236c(0x39c),_0x142bef))(Q||{}),F=(_0x52aa9a=>(_0x52aa9a[_0x52aa9a[_0x4d236c(0x1dc)]=0x0]=_0x4d236c(0x1dc),_0x52aa9a[_0x52aa9a[_0x4d236c(0x1ab)]=0x1]=_0x4d236c(0x1ab),_0x52aa9a[_0x52aa9a['JOIN']=0x2]='JOIN',_0x52aa9a[_0x52aa9a[_0x4d236c(0x43e)]=0x3]=_0x4d236c(0x43e),_0x52aa9a[_0x52aa9a[_0x4d236c(0x3d0)]=0x4]='INGEST',_0x52aa9a[_0x52aa9a[_0x4d236c(0x412)]=0x5]=_0x4d236c(0x412),_0x52aa9a[_0x52aa9a[_0x4d236c(0x2f3)]=0x6]='RECV',_0x52aa9a[_0x52aa9a['UNRECOGNIZED']=-0x1]=_0x4d236c(0x39c),_0x52aa9a))(F||{}),Ee=(_0x59162f=>(_0x59162f[_0x59162f[_0x4d236c(0x2dd)]=0x0]=_0x4d236c(0x2dd),_0x59162f[_0x59162f['OK']=0x1]='OK',_0x59162f[_0x59162f[_0x4d236c(0x307)]=0x2]='FAIL',_0x59162f[_0x59162f['JOIN_ROOM_FULL']=0x3e9]=_0x4d236c(0x473),_0x59162f[_0x59162f[_0x4d236c(0x204)]=0x3ea]=_0x4d236c(0x204),_0x59162f[_0x59162f[_0x4d236c(0x1cc)]=0x3eb]=_0x4d236c(0x1cc),_0x59162f[_0x59162f[_0x4d236c(0x30d)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x59162f[_0x59162f[_0x4d236c(0x39c)]=-0x1]=_0x4d236c(0x39c),_0x59162f))(Ee||{}),Ci=(_0x221e9e=>(_0x221e9e[_0x221e9e[_0x4d236c(0x30f)]=0x0]=_0x4d236c(0x30f),_0x221e9e[_0x221e9e[_0x4d236c(0x2e1)]=0x1]=_0x4d236c(0x2e1),_0x221e9e[_0x221e9e[_0x4d236c(0x277)]=0x2]=_0x4d236c(0x277),_0x221e9e[_0x221e9e['UnitEmbedded']=0x3]='UnitEmbedded',_0x221e9e[_0x221e9e[_0x4d236c(0x21a)]=0x4]=_0x4d236c(0x21a),_0x221e9e[_0x221e9e['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x221e9e))(Ci||{});const Y=_0x4d236c(0x37f),Wn={};var re=(_0x2c7aaf=>(_0x2c7aaf[_0x4d236c(0x305)]=_0x4d236c(0x305),_0x2c7aaf['PERMISSION_DENIED']=_0x4d236c(0x19e),_0x2c7aaf[_0x4d236c(0x1aa)]=_0x4d236c(0x1aa),_0x2c7aaf[_0x4d236c(0x315)]=_0x4d236c(0x315),_0x2c7aaf[_0x4d236c(0x201)]=_0x4d236c(0x201),_0x2c7aaf[_0x4d236c(0x38a)]='SOCKET_FAILED_RETRY',_0x2c7aaf[_0x4d236c(0x45a)]=_0x4d236c(0x45a),_0x2c7aaf[_0x4d236c(0x398)]=_0x4d236c(0x398),_0x2c7aaf))(re||{});class pe{constructor(){var _0x1bbcce=_0x4d236c;P(this,_0x1bbcce(0x42e),new _0x52e512()),P(this,'event$',this[_0x1bbcce(0x42e)][_0x1bbcce(0x3b2)]());}['emitEvent'](_0x93565f){var _0x1a9102=_0x4d236c;this[_0x1a9102(0x42e)][_0x1a9102(0x361)](_0x93565f);}}const Gn=_0x40f637('univer-pro.collaboration-client.network-condition.service');function Kn(_0x1be68e){var _0x386c0a=_0x4d236c,_0x2237d1,_0x2d119a,_0x14b1da,_0x386baf,_0x289702;const _0x25a444=_0x1be68e[_0x386c0a(0x22a)],_0x534057=JSON[_0x386c0a(0x2a8)](_0x25a444);switch(_0x534057[_0x386c0a(0x354)]){case F['HEARTBEAT']:case F[_0x386c0a(0x1ab)]:{const _0x3d87e3=_0x534057[_0x386c0a(0x379)];return{..._0x534057,'data':_0x3d87e3,'cmd':_0x534057[_0x386c0a(0x354)]};}case F['JOIN']:{const _0x1076d1=_0x534057[_0x386c0a(0x244)];return{..._0x534057,'data':_0x1076d1,'cmd':_0x534057[_0x386c0a(0x354)]};}case F[_0x386c0a(0x2f3)]:{const _0x1bdc5d=_0x534057[_0x386c0a(0x32a)];switch(_0x1bdc5d[_0x386c0a(0x471)]){case _0x346e82[_0x386c0a(0x343)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':(_0x2237d1=_0x1bdc5d[_0x386c0a(0x342)])==null?void 0x0:_0x2237d1['cs']},'cmd':_0x534057['cmd']};case _0x346e82[_0x386c0a(0x1bf)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':(_0x2d119a=_0x1bdc5d[_0x386c0a(0x3b5)])==null?void 0x0:_0x2d119a['cs']},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82[_0x386c0a(0x42d)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':(_0x14b1da=_0x1bdc5d[_0x386c0a(0x233)])==null?void 0x0:_0x14b1da['cs']},'cmd':_0x534057['cmd']};case _0x346e82['CHANGESET_REJ']:return{..._0x534057,'data':{..._0x1bdc5d,'data':(_0x386baf=_0x1bdc5d[_0x386c0a(0x26c)])==null?void 0x0:_0x386baf['cs']},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82['CHANGESET_SHOULD_RETRY']:return{..._0x534057,'data':{..._0x1bdc5d,'data':(_0x289702=_0x1bdc5d[_0x386c0a(0x2c2)])==null?void 0x0:_0x289702['cs']},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82['UPDATE_CURSOR']:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d[_0x386c0a(0x37e)]},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82[_0x386c0a(0x386)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d[_0x386c0a(0x2e6)]},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82[_0x386c0a(0x401)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d[_0x386c0a(0x39d)]},'cmd':_0x534057['cmd']};case _0x346e82['LIVESHARE_NEW_HOST']:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d['liveShareNewHost']},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82[_0x386c0a(0x25c)]:case _0x346e82['LIVESHARE_OPERATION']:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d[_0x386c0a(0x224)]},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82[_0x386c0a(0x34a)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d[_0x386c0a(0x24b)]},'cmd':_0x534057['cmd']};case _0x346e82[_0x386c0a(0x38d)]:return{..._0x534057,'data':_0x1bdc5d,'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82[_0x386c0a(0x234)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d[_0x386c0a(0x21e)]},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82[_0x386c0a(0x205)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d[_0x386c0a(0x376)]},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82[_0x386c0a(0x312)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d[_0x386c0a(0x353)]},'cmd':_0x534057[_0x386c0a(0x354)]};case _0x346e82[_0x386c0a(0x3ee)]:return{..._0x534057,'data':{..._0x1bdc5d,'data':_0x1bdc5d[_0x386c0a(0x198)]},'cmd':_0x534057['cmd']};default:return _0x534057;}}default:return _0x534057;}}function zn(_0x5a6207){var _0x735ddf=_0x4d236c;switch(_0x5a6207[_0x735ddf(0x354)]){case F[_0x735ddf(0x412)]:case F[_0x735ddf(0x1ab)]:return JSON[_0x735ddf(0x355)]({'cmd':_0x5a6207[_0x735ddf(0x354)],'routeKey':_0x5a6207[_0x735ddf(0x439)]});case F[_0x735ddf(0x3d0)]:{let _0x5ce78f;switch(_0x5a6207[_0x735ddf(0x22a)][_0x735ddf(0x471)]){case _0x346e82['UPDATE_CURSOR']:{_0x5ce78f={'eventID':_0x346e82[_0x735ddf(0x3d8)],'updateCursorEvent':_0x5a6207[_0x735ddf(0x22a)]['data']};break;}case _0x346e82['USERS_LEAVE']:{_0x5ce78f={'eventID':_0x346e82[_0x735ddf(0x401)],'leaveEvent':_0x5a6207[_0x735ddf(0x22a)][_0x735ddf(0x22a)]};break;}case _0x346e82[_0x735ddf(0x386)]:{_0x5ce78f={'eventID':_0x346e82[_0x735ddf(0x386)],'joinEvent':_0x5a6207[_0x735ddf(0x22a)][_0x735ddf(0x22a)]};break;}case _0x346e82[_0x735ddf(0x24a)]:{_0x5ce78f={'eventID':_0x346e82[_0x735ddf(0x24a)],'liveShareNewHost':_0x5a6207[_0x735ddf(0x22a)]['data']};break;}case _0x346e82['LIVESHARE_OPERATION']:{_0x5ce78f={'eventID':_0x346e82[_0x735ddf(0x34f)],'liveShareOperation':_0x5a6207[_0x735ddf(0x22a)][_0x735ddf(0x22a)]};break;}case _0x346e82[_0x735ddf(0x34a)]:{_0x5ce78f={'eventID':_0x346e82[_0x735ddf(0x34a)],'liveShareTerminate':_0x5a6207[_0x735ddf(0x22a)][_0x735ddf(0x22a)]};break;}case _0x346e82[_0x735ddf(0x2e4)]:{_0x5ce78f={'eventID':_0x346e82[_0x735ddf(0x2e4)],'liveShareRequestHost':_0x5a6207['data'][_0x735ddf(0x22a)]};break;}case _0x346e82[_0x735ddf(0x25c)]:{_0x5ce78f={'eventID':_0x346e82[_0x735ddf(0x25c)]};break;}default:_0x5ce78f={'eventID':_0x5a6207[_0x735ddf(0x22a)][_0x735ddf(0x471)]};}return JSON['stringify']({'cmd':_0x5a6207['cmd'],'routeKey':_0x5a6207[_0x735ddf(0x439)],'collaMsg':_0x5ce78f});}case F[_0x735ddf(0x454)]:return JSON[_0x735ddf(0x355)]({'cmd':_0x5a6207[_0x735ddf(0x354)],'routeKey':_0x5a6207[_0x735ddf(0x439)],'joinReq':_0x5a6207[_0x735ddf(0x22a)]});case F[_0x735ddf(0x43e)]:return JSON[_0x735ddf(0x355)]({'cmd':_0x5a6207['cmd'],'routeKey':_0x5a6207[_0x735ddf(0x439)],'leaveReq':_0x5a6207['data']});default:throw new Error(_0x735ddf(0x46f));}}var Yn=Object[_0x4d236c(0x31d)],qn=Object[_0x4d236c(0x261)],Jn=(_0x1ca606,_0x3f78eb,_0x387565,_0xd7c309)=>{for(var _0xa11901=_0xd7c309>0x1?void 0x0:_0xd7c309?qn(_0x3f78eb,_0x387565):_0x3f78eb,_0x141e5b=_0x1ca606['length']-0x1,_0x227286;_0x141e5b>=0x0;_0x141e5b--)(_0x227286=_0x1ca606[_0x141e5b])&&(_0xa11901=(_0xd7c309?_0x227286(_0x3f78eb,_0x387565,_0xa11901):_0x227286(_0xa11901))||_0xa11901);return _0xd7c309&&_0xa11901&&Yn(_0x3f78eb,_0x387565,_0xa11901),_0xa11901;},Ue=(_0x25eb6f,_0x4b40a5)=>(_0x1a0071,_0x20029d)=>_0x4b40a5(_0x1a0071,_0x20029d,_0x25eb6f);const bi=_0x40f637('univer-pro.collaboration-client-socket-service');function Xn(_0x28d7ac,_0x3c323d,_0x4b04ff){var _0x5af086=_0x4d236c;return _0x28d7ac+'/'+_0x3c323d+_0x5af086(0x2af)+_0x4b04ff+_0x5af086(0x40e);}let It=class extends _0xd944f{constructor(_0xc5f21f,_0x51e85b,_0x2f5856,_0x2f4a9b,_0x1d108d){var _0x252f6e=_0x4d236c;super(),this[_0x252f6e(0x1f4)]=_0xc5f21f,this[_0x252f6e(0x282)]=_0x51e85b,this[_0x252f6e(0x2f2)]=_0x2f5856,this[_0x252f6e(0x31b)]=_0x2f4a9b,this[_0x252f6e(0x3a1)]=_0x1d108d;}[_0x4d236c(0x2a7)](_0x3eb510){var _0x30ad7d=_0x4d236c;const _0x1bb1af=this[_0x30ad7d(0x1f4)][_0x30ad7d(0x187)](_0x4ba1db);if(!_0x1bb1af)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x7b5132=_0x1bb1af['createSocket'](_0x3eb510);if(!_0x7b5132)throw new Error(_0x30ad7d(0x1d6));const _0x56fc13=new _0x3ebcdd(),_0x3fd579=new _0x52e512();_0x56fc13[_0x30ad7d(0x3bb)](_0x7b5132['close$'][_0x30ad7d(0x28c)](_0x9130b4=>_0x3fd579[_0x30ad7d(0x361)](_0x9130b4))),_0x56fc13[_0x30ad7d(0x3bb)](_0x8d3dae(()=>_0x3fd579[_0x30ad7d(0x209)]()));const _0x351ff8=new _0x52e512();_0x56fc13[_0x30ad7d(0x3bb)](_0x7b5132['error$']['subscribe'](_0x563720=>_0x351ff8[_0x30ad7d(0x361)](_0x563720))),_0x56fc13[_0x30ad7d(0x3bb)](_0x8d3dae(()=>_0x351ff8[_0x30ad7d(0x209)]()));const _0x2c0d59=new _0x52e512();_0x56fc13[_0x30ad7d(0x3bb)](_0x7b5132['message$']['subscribe'](_0x1ae713=>{var _0x3f86b0=_0x30ad7d;const _0x33f1f3=Kn(_0x1ae713);_0x2c0d59[_0x3f86b0(0x361)](_0x33f1f3);})),_0x56fc13[_0x30ad7d(0x3bb)](_0x8d3dae(()=>_0x2c0d59['complete']()));let _0x4e74bb;const _0x322805=()=>{var _0xef5031=_0x30ad7d;_0x351ff8[_0xef5031(0x361)](new Event('connection\x20error')),_0x3fd579['next'](new CloseEvent('connection\x20error')),_0x4e74bb[_0xef5031(0x236)]();};return _0x4e74bb={'memberID':'','close$':_0x3fd579[_0x30ad7d(0x3b2)](),'error$':_0x351ff8['asObservable'](),'open$':_0x7b5132[_0x30ad7d(0x215)],'message$':_0x2c0d59[_0x30ad7d(0x3b2)](),'send':_0x28996b=>{var _0x331c7b=_0x30ad7d;if(_0x28996b['cmd']===F[_0x331c7b(0x3d0)]){if(_0x28996b[_0x331c7b(0x22a)][_0x331c7b(0x471)]===_0x346e82[_0x331c7b(0x1e7)]){this['_submitChangeset'](_0x4e74bb,_0x28996b[_0x331c7b(0x22a)])['catch'](_0x2635f0=>{var _0x369140=_0x331c7b;this[_0x369140(0x31b)]['error'](_0x2635f0),_0x322805();});return;}if(_0x28996b[_0x331c7b(0x22a)]['eventID']===_0x346e82[_0x331c7b(0x368)]){const _0x551007=_0x28996b['data'];this['_fetchMissChangesets'](_0x551007)['then'](_0x3d2fa3=>{var _0x521248=_0x331c7b;_0x2c0d59[_0x521248(0x361)]({'cmd':F[_0x521248(0x2f3)],'code':Ee['OK'],'routeKey':_0x551007['data']['unitID'],'routeType':'','data':{'eventID':_0x346e82[_0x521248(0x193)],'data':{'changesets':_0x3d2fa3}}});})['catch'](_0x468fb9=>{var _0x3f9cf1=_0x331c7b;this[_0x3f9cf1(0x31b)][_0x3f9cf1(0x2be)](_0x468fb9),_0x322805();});return;}}_0x7b5132[_0x331c7b(0x3a3)](zn(_0x28996b));},'close':()=>{var _0x1ed1b6=_0x30ad7d;_0x7b5132[_0x1ed1b6(0x236)](),_0x56fc13[_0x1ed1b6(0x456)]();}},_0x4e74bb;}async[_0x4d236c(0x2f0)](_0x4465a5,_0x54a663){var _0x333548=_0x4d236c,_0x5e365e,_0xe38872;const {unitType:_0x525e41,unitID:_0x9605c6,changeset:_0x2da50a}=_0x54a663[_0x333548(0x22a)],_0x5f37cb={'unitID':_0x9605c6,'memberID':_0x4465a5[_0x333548(0x3d1)],'type':_0x525e41,'changeset':_0x1bd316(_0x2da50a)},_0xeeab48=this['_configService']['getConfig'](jn),_0x5ebe58=this[_0x333548(0x2f2)]['getConfig'](Y),_0x297ec2=Xn((_0xe38872=(_0x5e365e=_0x5ebe58==null?void 0x0:_0x5ebe58[_0x333548(0x413)])!=null?_0x5e365e:_0xeeab48)!=null?_0xe38872:Bn,_0x525e41,_0x9605c6);try{await this[_0x333548(0x282)]['post'](_0x297ec2,{'body':_0x5f37cb});}catch(_0x1d571f){throw this[_0x333548(0x31b)]['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x1d571f;}}async[_0x4d236c(0x1ff)](_0x4fab02){var _0xd74268=_0x4d236c;const {unitID:_0x2d3792,from:_0x89733d,to:_0x554309,unitType:_0x12ec80}=_0x4fab02[_0xd74268(0x22a)];return(await this[_0xd74268(0x3a1)][_0xd74268(0x461)]({'metadata':void 0x0},{'unitID':_0x2d3792,'type':_0x12ec80,'from':_0x89733d,'to':_0x554309}))[_0xd74268(0x303)];}};It=Jn([Ue(0x0,_0x318337(_0x319afb)),Ue(0x1,_0x318337(_0x53807a)),Ue(0x2,_0x8980fc),Ue(0x3,_0x1b80b0),Ue(0x4,_0x2576d5)],It);const Zn=_0x4d236c(0x2e0);function Qn(_0x331664){return JSON['stringify'](_0x331664)['length'];}class Ri{constructor(){var _0x41e215=_0x4d236c;P(this,_0x41e215(0x2a4),new _0x52e512()),P(this,_0x41e215(0x2b3),this[_0x41e215(0x2a4)][_0x41e215(0x3b2)]());}['onCommentUpdate'](_0x305275){var _0x38194b=_0x4d236c;this[_0x38194b(0x2a4)]['next'](_0x305275);}}var es=Object[_0x4d236c(0x31d)],ts=Object[_0x4d236c(0x261)],is=(_0x46ef2c,_0x45c39f,_0x23442c,_0x1c4917)=>{for(var _0x3f953a=_0x1c4917>0x1?void 0x0:_0x1c4917?ts(_0x45c39f,_0x23442c):_0x45c39f,_0x113ad1=_0x46ef2c['length']-0x1,_0x3e8b8a;_0x113ad1>=0x0;_0x113ad1--)(_0x3e8b8a=_0x46ef2c[_0x113ad1])&&(_0x3f953a=(_0x1c4917?_0x3e8b8a(_0x45c39f,_0x23442c,_0x3f953a):_0x3e8b8a(_0x3f953a))||_0x3f953a);return _0x1c4917&&_0x3f953a&&es(_0x45c39f,_0x23442c,_0x3f953a),_0x3f953a;},zt=(_0x514c32,_0x432a0b)=>(_0x1bbcb4,_0x24749a)=>_0x432a0b(_0x1bbcb4,_0x24749a,_0x514c32);let xe=class extends _0xd944f{constructor(_0x3f4691,_0xa03d67){var _0x2ae728=_0x4d236c;super(),P(this,_0x2ae728(0x3ed),new Map()),P(this,'_roomCreated$',new _0x52e512()),(this['_univerInstanceService']=_0x3f4691,this['_userManagerService']=_0xa03d67,this[_0x2ae728(0x20e)](_0x2ac0c1(this[_0x2ae728(0x263)][_0x2ae728(0x18d)](_0x2b3ce0[_0x2ae728(0x2db)])[_0x2ae728(0x3cf)](_0x1a29c6(_0x38c058=>_0x38c058[_0x2ae728(0x370)]())),this[_0x2ae728(0x263)][_0x2ae728(0x18d)](_0x2b3ce0[_0x2ae728(0x32b)])[_0x2ae728(0x3cf)](_0x1a29c6(_0x208c97=>_0x208c97[_0x2ae728(0x370)]())),this['_univerInstanceService'][_0x2ae728(0x18d)](_0x2b3ce0['UNIVER_SLIDE'])[_0x2ae728(0x3cf)](_0x1a29c6(_0x5a233f=>_0x5a233f[_0x2ae728(0x370)]())))[_0x2ae728(0x28c)](_0x1a2ea5=>this[_0x2ae728(0x2eb)](_0x1a2ea5))));}[_0x4d236c(0x45b)](_0x3db6c0){var _0x146c17=_0x4d236c;return this[_0x146c17(0x3ed)][_0x146c17(0x295)](_0x3db6c0)?_0x9fa4b5(this[_0x146c17(0x3ed)]['get'](_0x3db6c0)):this[_0x146c17(0x346)][_0x146c17(0x3cf)](_0x1a29c6(_0x366f9c=>{var _0x1a533d=_0x146c17;if(_0x366f9c===_0x3db6c0)return this[_0x1a533d(0x3ed)]['get'](_0x366f9c);}));}[_0x4d236c(0x34b)](_0x51c892){var _0x32963d=_0x4d236c;this[_0x32963d(0x314)][_0x32963d(0x34b)](_0x51c892);}[_0x4d236c(0x479)](){var _0x33f826=_0x4d236c;return this['_userManagerService'][_0x33f826(0x479)]();}[_0x4d236c(0x3f4)](_0x394f0f,_0x5663a5){var _0x329554=_0x4d236c;let _0x2ce3b8=this['_roomMembers'][_0x329554(0x187)](_0x394f0f);_0x2ce3b8||(_0x2ce3b8=new ns(),this['_roomMembers'][_0x329554(0x406)](_0x394f0f,_0x2ce3b8),this[_0x329554(0x346)][_0x329554(0x361)](_0x394f0f)),_0x2ce3b8[_0x329554(0x3f4)](_0x5663a5);}[_0x4d236c(0x2bf)](_0x27bb00,_0x2d15c9){var _0x54d712=_0x4d236c;const _0x15cdb5=this[_0x54d712(0x3ed)][_0x54d712(0x187)](_0x27bb00);_0x15cdb5&&_0x15cdb5[_0x54d712(0x2bf)](_0x2d15c9);}[_0x4d236c(0x173)](_0x18f858){var _0xce16af=_0x4d236c;return this[_0xce16af(0x3ed)][_0xce16af(0x187)](_0x18f858);}[_0x4d236c(0x440)](_0x1945a5,_0x5c6fd6){var _0x264220=_0x4d236c;const _0x96557f=this[_0x264220(0x3ed)][_0x264220(0x187)](_0x1945a5);if(_0x96557f)return _0x96557f['getMember'](_0x5c6fd6);}[_0x4d236c(0x2eb)](_0x389986){var _0xaebbde=_0x4d236c;const _0x5530ff=this[_0xaebbde(0x3ed)][_0xaebbde(0x187)](_0x389986);_0x5530ff&&(_0x5530ff[_0xaebbde(0x456)](),this[_0xaebbde(0x3ed)][_0xaebbde(0x23e)](_0x389986));}['dispose'](){var _0x3afd0f=_0x4d236c;this[_0x3afd0f(0x3ed)][_0x3afd0f(0x19f)](_0x2c7879=>_0x2c7879[_0x3afd0f(0x456)]()),this[_0x3afd0f(0x3ed)]['clear'](),this[_0x3afd0f(0x346)]['complete']();}};xe=is([zt(0x0,_0xbe442f),zt(0x1,_0x318337(_0x53d242))],xe);class ns extends _0xd944f{constructor(){var _0x4bbc16=_0x4d236c;super(...arguments),P(this,_0x4bbc16(0x1e3),new Map()),P(this,_0x4bbc16(0x47d),new _0x25a7f9(this['_members'])),P(this,_0x4bbc16(0x477),this[_0x4bbc16(0x47d)][_0x4bbc16(0x3b2)]());}['dispose'](){var _0xbc1719=_0x4d236c;this[_0xbc1719(0x1e3)][_0xbc1719(0x41e)]();}[_0x4d236c(0x3f4)](_0x34ea65){var _0xcd0d19=_0x4d236c;this[_0xcd0d19(0x1e3)][_0xcd0d19(0x406)](_0x34ea65['memberID'],_0x34ea65),this[_0xcd0d19(0x46d)]();}['removeMember'](_0xd3afe2){var _0x4b951a=_0x4d236c;this[_0x4b951a(0x1e3)][_0x4b951a(0x23e)](_0xd3afe2);}[_0x4d236c(0x440)](_0x165ec6){var _0x27b092=_0x4d236c;return this[_0x27b092(0x1e3)][_0x27b092(0x187)](_0x165ec6);}[_0x4d236c(0x2ea)](){var _0x2977ff=_0x4d236c;return Array[_0x2977ff(0x28f)](this[_0x2977ff(0x1e3)][_0x2977ff(0x197)]());}[_0x4d236c(0x46d)](){var _0x33b840=_0x4d236c;this[_0x33b840(0x47d)][_0x33b840(0x361)](this[_0x33b840(0x1e3)]);}}var ss=Object[_0x4d236c(0x31d)],rs=Object[_0x4d236c(0x261)],os=(_0x1881a7,_0x3295fb,_0x307e82,_0x1e3a97)=>{var _0x5cea6f=_0x4d236c;for(var _0x392057=_0x1e3a97>0x1?void 0x0:_0x1e3a97?rs(_0x3295fb,_0x307e82):_0x3295fb,_0x4bea63=_0x1881a7[_0x5cea6f(0x3e3)]-0x1,_0x39032d;_0x4bea63>=0x0;_0x4bea63--)(_0x39032d=_0x1881a7[_0x4bea63])&&(_0x392057=(_0x1e3a97?_0x39032d(_0x3295fb,_0x307e82,_0x392057):_0x39032d(_0x392057))||_0x392057);return _0x1e3a97&&_0x392057&&ss(_0x3295fb,_0x307e82,_0x392057),_0x392057;},me=(_0x7448b9,_0x19286f)=>(_0x4dd1a4,_0x12cdd1)=>_0x19286f(_0x4dd1a4,_0x12cdd1,_0x7448b9),Te=(_0x4bf30e=>(_0x4bf30e[_0x4bf30e['IDLE']=0x0]=_0x4d236c(0x333),_0x4bf30e[_0x4bf30e['JOINING']=0x1]='JOINING',_0x4bf30e[_0x4bf30e[_0x4d236c(0x434)]=0x2]=_0x4d236c(0x434),_0x4bf30e[_0x4bf30e[_0x4d236c(0x330)]=0x3]=_0x4d236c(0x330),_0x4bf30e))(Te||{});const Yt={[Ee[_0x4d236c(0x307)]]:'session.join-failed',[Ee['JOIN_ROOM_FULL']]:'session.room-full',[Ee[_0x4d236c(0x204)]]:_0x4d236c(0x3d4),[Ee[_0x4d236c(0x1cc)]]:'session.room-permission-denied',[Ee[_0x4d236c(0x30d)]]:_0x4d236c(0x2c7)};let Tt=class extends _0x35a4f1{constructor(_0x305d34,_0x2c09a1,_0x25c1c5,_0x16ab27,_0x1465c0,_0x5d0abb,_0x541f4f,_0x20e5f6,_0x74a0e){var _0x4a459e=_0x4d236c;super(),P(this,_0x4a459e(0x35d),new _0x25a7f9(0x0)),P(this,_0x4a459e(0x2ce),this[_0x4a459e(0x35d)][_0x4a459e(0x3b2)]()),P(this,_0x4a459e(0x42e),new _0x52e512()),P(this,_0x4a459e(0x1bc),this[_0x4a459e(0x42e)][_0x4a459e(0x3b2)]()),P(this,_0x4a459e(0x1f6)),P(this,'_socketMessageSubscription'),P(this,'_collaborationTimeoutTimer'),P(this,_0x4a459e(0x254),!0x1),P(this,_0x4a459e(0x1ee),null),(this[_0x4a459e(0x1c1)]=_0x305d34,this[_0x4a459e(0x31b)]=_0x25c1c5,this['_configService']=_0x16ab27,this[_0x4a459e(0x1da)]=_0x1465c0,this[_0x4a459e(0x20a)]=_0x5d0abb,this[_0x4a459e(0x2b0)]=_0x541f4f,this[_0x4a459e(0x2d9)]=_0x20e5f6,this[_0x4a459e(0x2fa)]=_0x74a0e,this['_shouldReportTelemetry']=!!this[_0x4a459e(0x2fa)],_0x2c09a1[_0x4a459e(0x3cf)](_0x5ecdcc(this[_0x4a459e(0x291)]))['subscribe'](_0x49fe87=>{var _0x14859f=_0x4a459e,_0x4f4760;typeof _0x49fe87>'u'||(this['_socket']=_0x49fe87,_0x49fe87?(this[_0x14859f(0x276)](_0x49fe87),this[_0x14859f(0x248)]=_0x49fe87[_0x14859f(0x33e)][_0x14859f(0x28c)](_0x59f92a=>{var _0xb3e5c5=_0x14859f;_0x59f92a[_0xb3e5c5(0x439)]===this[_0xb3e5c5(0x1c1)]&&this[_0xb3e5c5(0x385)](_0x59f92a);})):(this[_0x14859f(0x334)](),this[_0x14859f(0x35d)][_0x14859f(0x361)](0x2),(_0x4f4760=this[_0x14859f(0x248)])==null||_0x4f4760['unsubscribe'](),this[_0x14859f(0x248)]=null));}));}get[_0x4d236c(0x2f4)](){var _0xefb262=_0x4d236c;return this[_0xefb262(0x35d)][_0xefb262(0x294)]();}[_0x4d236c(0x1db)](){var _0x5d8665=_0x4d236c,_0x32063a,_0x5198e3;return(_0x5198e3=(_0x32063a=this[_0x5d8665(0x1f6)])==null?void 0x0:_0x32063a['memberID'])!=null?_0x5198e3:null;}[_0x4d236c(0x456)](){var _0x51bbcf=_0x4d236c;super[_0x51bbcf(0x456)](),this[_0x51bbcf(0x291)][_0x51bbcf(0x361)](),this[_0x51bbcf(0x291)][_0x51bbcf(0x209)]();}[_0x4d236c(0x236)](){var _0xbd56fe=_0x4d236c,_0x31ba34,_0x57f46e;this[_0xbd56fe(0x334)](),(_0x31ba34=this[_0xbd56fe(0x1f6)])==null||_0x31ba34[_0xbd56fe(0x3a3)]({'cmd':F[_0xbd56fe(0x43e)],'data':{'roomID':this['_unitID']}}),(_0x57f46e=this[_0xbd56fe(0x1f6)])==null||_0x57f46e[_0xbd56fe(0x236)](),this[_0xbd56fe(0x42e)]['complete'](),this[_0xbd56fe(0x35d)][_0xbd56fe(0x209)](),this[_0xbd56fe(0x456)]();}[_0x4d236c(0x385)](_0x4d3bb9){var _0x532037=_0x4d236c;_0x4d3bb9[_0x532037(0x354)]===F[_0x532037(0x454)]?this[_0x532037(0x464)](_0x4d3bb9):_0x4d3bb9[_0x532037(0x354)]===F['RECV']&&this[_0x532037(0x170)](_0x4d3bb9);}[_0x4d236c(0x276)](_0x50c334){var _0x4c3909=_0x4d236c;this[_0x4c3909(0x35d)][_0x4c3909(0x361)](0x1),_0x50c334['send']({'cmd':F[_0x4c3909(0x454)],'routeKey':this[_0x4c3909(0x1c1)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4d236c(0x464)](_0xca98be){var _0x4a3f2b=_0x4d236c,_0x3ea2f7;if(_0xca98be[_0x4a3f2b(0x46c)]in Yt){this[_0x4a3f2b(0x2d9)][_0x4a3f2b(0x389)]({'id':re[_0x4a3f2b(0x201)],'data':Yt[_0xca98be[_0x4a3f2b(0x46c)]]}),this[_0x4a3f2b(0x35d)][_0x4a3f2b(0x361)](0x2);return;}this[_0x4a3f2b(0x35d)][_0x4a3f2b(0x361)](0x3);const _0x2be5e1=(_0x3ea2f7=_0xca98be['data'][_0x4a3f2b(0x453)][this[_0x4a3f2b(0x1c1)]])==null?void 0x0:_0x3ea2f7[_0x4a3f2b(0x313)];_0x2be5e1&&_0x2be5e1[_0x4a3f2b(0x19f)](_0x4cb3f1=>this[_0x4a3f2b(0x20a)]['updateMember'](this[_0x4a3f2b(0x1c1)],_0x4cb3f1));}[_0x4d236c(0x170)](_0x1fb31e){var _0x1d19f5=_0x4d236c;try{const _0x5d976a=_0x1fb31e[_0x1d19f5(0x22a)];switch(_0x5d976a['eventID']){case _0x346e82[_0x1d19f5(0x386)]:this[_0x1d19f5(0x232)](_0x5d976a),this[_0x1d19f5(0x42e)][_0x1d19f5(0x361)](_0x5d976a);break;case _0x346e82[_0x1d19f5(0x401)]:this[_0x1d19f5(0x367)](_0x5d976a),this[_0x1d19f5(0x42e)][_0x1d19f5(0x361)](_0x5d976a);break;case _0x346e82['CHANGESET_ACK']:case _0x346e82['CHANGESET_SHOULD_RETRY']:this[_0x1d19f5(0x349)](),this[_0x1d19f5(0x210)](),this[_0x1d19f5(0x42e)][_0x1d19f5(0x361)](_0x5d976a);break;case _0x346e82[_0x1d19f5(0x38d)]:this[_0x1d19f5(0x31b)][_0x1d19f5(0x2be)](_0x1d19f5(0x1b4)+JSON['stringify'](_0x5d976a)),this[_0x1d19f5(0x42e)]['next'](_0x5d976a);break;case _0x346e82[_0x1d19f5(0x234)]:this[_0x1d19f5(0x2b0)][_0x1d19f5(0x3e1)](_0x5d976a[_0x1d19f5(0x22a)]),this[_0x1d19f5(0x42e)][_0x1d19f5(0x361)](_0x5d976a);break;default:this['_event$'][_0x1d19f5(0x361)](_0x5d976a);}}catch(_0x35a207){this[_0x1d19f5(0x31b)]['error'](_0x35a207,_0x1fb31e);}}[_0x4d236c(0x232)](_0x4f877e){var _0x3e4cd6=_0x4d236c;this[_0x3e4cd6(0x20a)][_0x3e4cd6(0x3f4)](this[_0x3e4cd6(0x1c1)],_0x4f877e[_0x3e4cd6(0x22a)]);}['_onUserLeave'](_0x4b93ee){var _0x4e8afe=_0x4d236c;this[_0x4e8afe(0x20a)][_0x4e8afe(0x2bf)](this[_0x4e8afe(0x1c1)],_0x4b93ee['data']['memberID']);}async[_0x4d236c(0x3a3)](_0x27894a,_0x3260b4){var _0x3a4e94=_0x4d236c;if(this[_0x3a4e94(0x2f4)]!==0x3||!this['_socket'])throw new Error(_0x3a4e94(0x270));try{_0x27894a['eventID']===_0x346e82[_0x3a4e94(0x1e7)]&&(this[_0x3a4e94(0x322)](),this[_0x3a4e94(0x22c)](_0x27894a)),this[_0x3a4e94(0x1f6)]['send']({'cmd':F[_0x3a4e94(0x3d0)],'routeKey':_0x3260b4,'routeType':'','data':_0x27894a});}catch(_0x131fec){this['_logService']['error'](_0x131fec);}}[_0x4d236c(0x322)](){var _0x4e7a05=_0x4d236c,_0x5674c8;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x31259b=_0x4660;this[_0x31259b(0x365)]=null,this[_0x31259b(0x2d9)]['emitEvent']({'id':re[_0x31259b(0x398)]});},(_0x5674c8=this[_0x4e7a05(0x2f2)][_0x4e7a05(0x436)](Ei))!=null?_0x5674c8:Ii);}['_clearCollaborationTimeoutTimer'](){var _0x2adbc3=_0x4d236c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2adbc3(0x365)]),this['_collaborationTimeoutTimer']=null);}[_0x4d236c(0x22c)](_0x377f2e){var _0x1c0c12=_0x4d236c;if(!this['_shouldReportTelemetry'])return;const {data:_0x370532}=_0x377f2e,{unitID:_0x3cc8d3,changeset:_0x33ec44}=_0x370532,{mutations:_0x117ad3,type:_0x50aafb}=_0x33ec44;this[_0x1c0c12(0x1ee)]={'unitId':_0x3cc8d3,'type':_0x50aafb,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x117ad3)};}[_0x4d236c(0x349)](){var _0x4d26b8=_0x4d236c;if(this[_0x4d26b8(0x254)]){if(!this['_telemetryInfo']){this[_0x4d26b8(0x31b)][_0x4d26b8(0x2be)](_0x4d26b8(0x44f),_0x4d26b8(0x274));return;}this[_0x4d26b8(0x1ee)][_0x4d26b8(0x1a6)]=performance[_0x4d26b8(0x200)](),this['_telemetryInfo'][_0x4d26b8(0x3c4)]=this[_0x4d26b8(0x1ee)][_0x4d26b8(0x1a6)]-this['_telemetryInfo'][_0x4d26b8(0x3a9)],this['_telemetryService']['capture'](Zn,this[_0x4d26b8(0x1ee)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Tt=os([me(0x2,_0x1b80b0),me(0x3,_0x8980fc),me(0x4,_0x318337(_0x2594e6)),me(0x5,_0x318337(xe)),me(0x6,_0x318337(Ri)),me(0x7,_0x318337(pe)),me(0x8,_0x3910d7(_0x2e8884))],Tt);var as=Object[_0x4d236c(0x31d)],cs=Object[_0x4d236c(0x261)],hs=(_0x23522d,_0x331f48,_0x5b9b37,_0x4ffacb)=>{var _0x41c2bf=_0x4d236c;for(var _0x1a0360=_0x4ffacb>0x1?void 0x0:_0x4ffacb?cs(_0x331f48,_0x5b9b37):_0x331f48,_0x3f8608=_0x23522d[_0x41c2bf(0x3e3)]-0x1,_0x11f86a;_0x3f8608>=0x0;_0x3f8608--)(_0x11f86a=_0x23522d[_0x3f8608])&&(_0x1a0360=(_0x4ffacb?_0x11f86a(_0x331f48,_0x5b9b37,_0x1a0360):_0x11f86a(_0x1a0360))||_0x1a0360);return _0x4ffacb&&_0x1a0360&&as(_0x331f48,_0x5b9b37,_0x1a0360),_0x1a0360;},ge=(_0x1f574a,_0x456f67)=>(_0x10f47b,_0x5db77e)=>_0x456f67(_0x10f47b,_0x5db77e,_0x1f574a);let Le=class extends _0xd944f{constructor(_0x4bb7c7,_0x1f862d,_0x4a8b6e,_0x3e7c3a,_0x1ccf9f,_0x59b9cc,_0x34cbff){var _0x2cc34f=_0x4d236c;super(),P(this,_0x2cc34f(0x220),new _0x25a7f9(void 0x0)),P(this,_0x2cc34f(0x35f),this[_0x2cc34f(0x220)]['asObservable']()),P(this,_0x2cc34f(0x281),null),P(this,_0x2cc34f(0x1ef),new Map()),P(this,'_status$',new _0x25a7f9(Te[_0x2cc34f(0x333)])),P(this,'status$',this[_0x2cc34f(0x382)]['asObservable']()),P(this,_0x2cc34f(0x267),!0x1),P(this,_0x2cc34f(0x3e9)),P(this,_0x2cc34f(0x2da),0x0),P(this,'_sendHeartbeatTimer'),P(this,_0x2cc34f(0x2b5)),(this[_0x2cc34f(0x1f4)]=_0x4bb7c7,this[_0x2cc34f(0x31b)]=_0x1f862d,this[_0x2cc34f(0x2f2)]=_0x4a8b6e,this[_0x2cc34f(0x288)]=_0x3e7c3a,this[_0x2cc34f(0x36b)]=_0x1ccf9f,this[_0x2cc34f(0x2d9)]=_0x59b9cc,this[_0x2cc34f(0x311)]=_0x34cbff,this[_0x2cc34f(0x3f1)]());}get[_0x4d236c(0x1f6)](){var _0x36cbb1=_0x4d236c;return this[_0x36cbb1(0x220)]['getValue']();}[_0x4d236c(0x3f1)](){var _0x2a5e26=_0x4d236c;this['_networkConditionService']&&this[_0x2a5e26(0x20e)](this[_0x2a5e26(0x311)]['online$'][_0x2a5e26(0x28c)](_0x4549d4=>{var _0x585b2e=_0x2a5e26;_0x4549d4&&!this[_0x585b2e(0x1f6)]&&this[_0x585b2e(0x391)](),_0x4549d4||this[_0x585b2e(0x2b6)]();}));}[_0x4d236c(0x456)](){var _0x29ac5f=_0x4d236c;super[_0x29ac5f(0x456)](),this['_sessions'][_0x29ac5f(0x19f)](_0x14720f=>_0x14720f[_0x29ac5f(0x456)]()),this[_0x29ac5f(0x1ef)]['clear'](),this[_0x29ac5f(0x382)][_0x29ac5f(0x209)]();}async['requireSession'](_0x26fbe8){var _0x412d34=_0x4d236c;if(this['_sessions'][_0x412d34(0x295)](_0x26fbe8))return this[_0x412d34(0x1ef)][_0x412d34(0x187)](_0x26fbe8);this[_0x412d34(0x2ff)]();const _0x554172=this[_0x412d34(0x1f4)]['createInstance'](Tt,_0x26fbe8,this[_0x412d34(0x220)][_0x412d34(0x3b2)]());return this['_sessions'][_0x412d34(0x406)](_0x26fbe8,_0x554172),_0x554172;}[_0x4d236c(0x299)](_0x29143a){var _0x5218ec=_0x4d236c,_0x37fb12;const _0x2945e0=this['_sessions']['get'](_0x29143a);_0x2945e0&&(this[_0x5218ec(0x1ef)][_0x5218ec(0x23e)](_0x29143a),_0x2945e0[_0x5218ec(0x236)]()),this['_sessions'][_0x5218ec(0x184)]||(_0x37fb12=this[_0x5218ec(0x1f6)])==null||_0x37fb12[_0x5218ec(0x236)]();}[_0x4d236c(0x391)](){var _0x273d58=_0x4d236c;this[_0x273d58(0x2da)]=0x0,this[_0x273d58(0x3e9)]!=null&&(clearTimeout(this[_0x273d58(0x3e9)]),this[_0x273d58(0x3e9)]=null),this[_0x273d58(0x19a)]();}async['_getSessionTicket'](){var _0x3b6728=_0x4d236c,_0xf71247,_0x26f623,_0x31c1f2;const _0x49d5bd=this[_0x3b6728(0x2f2)][_0x3b6728(0x436)](Y),_0x262103=(_0xf71247=_0x49d5bd==null?void 0x0:_0x49d5bd['wsSessionTicketUrl'])!=null?_0xf71247:xn;return(_0x31c1f2=(_0x26f623=(await this['_httpService'][_0x3b6728(0x187)](_0x262103,{'headers':{'Content-Type':_0x3b6728(0x31a)}}))[_0x3b6728(0x1a9)])==null?void 0x0:_0x26f623[_0x3b6728(0x397)])!=null?_0x31c1f2:'';}[_0x4d236c(0x2a6)](_0x5e9253){var _0x35aac7=_0x4d236c,_0x4b4de2,_0x84a099;const _0x2a3d16=this['_configService'][_0x35aac7(0x436)](Un),_0x349d5a=this[_0x35aac7(0x2f2)][_0x35aac7(0x436)](Y),_0x28690e=(_0x84a099=(_0x4b4de2=_0x349d5a==null?void 0x0:_0x349d5a[_0x35aac7(0x3c5)])!=null?_0x4b4de2:_0x2a3d16)!=null?_0x84a099:An,_0x4f6301=typeof window>'u'?new URL(_0x28690e):new URL(_0x28690e,window[_0x35aac7(0x23b)][_0x35aac7(0x1d5)]);_0x4f6301[_0x35aac7(0x423)][_0x35aac7(0x406)]('sessionTicket',_0x5e9253);const _0x2d99bd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x35aac7(0x23b)]['search']);return _0x2d99bd['get']('runId')&&_0x4f6301[_0x35aac7(0x423)]['set'](_0x35aac7(0x470),_0x2d99bd[_0x35aac7(0x187)](_0x35aac7(0x470))),_0x4f6301[_0x35aac7(0x279)]();}async['_createSocket'](){var _0x5e9e0b=_0x4d236c;const _0x46329f=await this[_0x5e9e0b(0x44a)](),_0x17d5d4=this[_0x5e9e0b(0x2a6)](_0x46329f),_0xdb0de0=this[_0x5e9e0b(0x288)][_0x5e9e0b(0x2a7)](_0x17d5d4);return this[_0x5e9e0b(0x281)]=_0xdb0de0,_0xdb0de0;}async[_0x4d236c(0x2ff)](){var _0x52307d=_0x4d236c,_0x274e15,_0x296520;try{const _0x517833=(_0x296520=(_0x274e15=this[_0x52307d(0x1f6)])!=null?_0x274e15:this[_0x52307d(0x281)])!=null?_0x296520:await this['_createSocket']();if(_0x517833){const _0x22bbed=_0x517833[_0x52307d(0x3a3)];_0x517833[_0x52307d(0x3a3)]=_0x2599f1=>(this[_0x52307d(0x2a1)](),_0x22bbed['apply'](_0x517833,[_0x2599f1])),_0x517833[_0x52307d(0x33e)][_0x52307d(0x28c)](_0x162c5c=>this[_0x52307d(0x2d8)](_0x517833,_0x162c5c)),_0x517833[_0x52307d(0x245)][_0x52307d(0x3cf)](_0x1607b5(0x1))[_0x52307d(0x28c)](_0x54d6d8=>this[_0x52307d(0x31b)][_0x52307d(0x2be)]('[CollaborationSessionService]:\x20socket\x20error',_0x54d6d8)),_0x517833[_0x52307d(0x215)]['pipe'](_0x1607b5(0x1))[_0x52307d(0x28c)](()=>{var _0x39480a=_0x52307d;this[_0x39480a(0x33c)](_0x517833);}),_0x517833[_0x52307d(0x3c8)][_0x52307d(0x3cf)](_0x1607b5(0x1))[_0x52307d(0x28c)](_0x4a533b=>{var _0xbde835=_0x52307d;this['_logService'][_0xbde835(0x420)](_0xbde835(0x40c),'socket\x20close',_0x4a533b),this[_0xbde835(0x3a4)]();});}}catch(_0xcb42a7){this[_0x52307d(0x31b)][_0x52307d(0x2be)](_0xcb42a7),this[_0x52307d(0x3a4)]();}}[_0x4d236c(0x33c)](_0x568ea6){var _0x12a32e=_0x4d236c;this[_0x12a32e(0x31b)]['debug'](_0x12a32e(0x40c),_0x12a32e(0x2c9)),_0x568ea6[_0x12a32e(0x3a3)]({'cmd':F[_0x12a32e(0x1ab)]}),this[_0x12a32e(0x2a1)]();}[_0x4d236c(0x2b6)](){var _0x49e55b=_0x4d236c;this[_0x49e55b(0x267)]=!0x1,this[_0x49e55b(0x281)]=null,this[_0x49e55b(0x382)][_0x49e55b(0x361)](Te['OFFLINE']),this[_0x49e55b(0x220)]['next'](null),this['_clearTimeoutTimer'](),this[_0x49e55b(0x373)]();}[_0x4d236c(0x3a4)](){var _0x12a0cb=_0x4d236c,_0x10bd9f;this[_0x12a0cb(0x2b6)](),this[_0x12a0cb(0x2da)]<((_0x10bd9f=this['_configService'][_0x12a0cb(0x436)](Hn))!=null?_0x10bd9f:kn)?(this['_collaborationUIEventService'][_0x12a0cb(0x389)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0x12a0cb(0x19a)]()):this[_0x12a0cb(0x2d9)][_0x12a0cb(0x389)]({'id':re['SOCKET_FAILED']});}[_0x4d236c(0x19a)](){var _0x3e6773=_0x4d236c,_0x3c03c2;const _0x5bd237=this[_0x3e6773(0x2da)],_0x1785d0=this[_0x3e6773(0x2f2)][_0x3e6773(0x436)](Y),_0x15d4bb=_0x5bd237===0x0?0x0:((_0x3c03c2=_0x1785d0==null?void 0x0:_0x1785d0[_0x3e6773(0x366)])!=null?_0x3c03c2:$n)*0x2**_0x5bd237;this[_0x3e6773(0x3e9)]=setTimeout(()=>{var _0x5bd6ad=_0x3e6773;clearTimeout(this[_0x5bd6ad(0x3e9)]),this['_retryConnectingTimer']=null,this[_0x5bd6ad(0x2ff)]();},_0x15d4bb),this['_retryCount']+=0x1;}[_0x4d236c(0x2d8)](_0x4f817c,_0x589f13){var _0x482dfe=_0x4d236c;const {cmd:_0x4616c7}=_0x589f13;_0x4616c7===F[_0x482dfe(0x1ab)]&&!this[_0x482dfe(0x267)]&&(_0x4f817c['memberID']=_0x589f13['data']['memberID'],this[_0x482dfe(0x220)]['next'](_0x4f817c),this[_0x482dfe(0x382)]['next'](Te[_0x482dfe(0x330)]),this['_socketReady']=!0x0,this[_0x482dfe(0x281)]=null),_0x4616c7===F[_0x482dfe(0x412)]&&this['_clearTimeoutTimer'](),this[_0x482dfe(0x2a1)]();}['_rescheduleHeartbeat'](){var _0x35a374=_0x4d236c,_0x539f5f;this['_clearHeartbeatTimer'](),this[_0x35a374(0x329)]=setTimeout(()=>this[_0x35a374(0x3dc)](),(_0x539f5f=this[_0x35a374(0x2f2)][_0x35a374(0x436)](Ln))!=null?_0x539f5f:Mn);}[_0x4d236c(0x3dc)](){var _0x33e395=_0x4d236c;this[_0x33e395(0x1f6)]['send']({'cmd':F[_0x33e395(0x412)]}),this[_0x33e395(0x27b)]();}[_0x4d236c(0x27b)](){var _0x9cd5bd=_0x4d236c,_0x38ca3b;this[_0x9cd5bd(0x2b5)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x38ca3b=this[_0x9cd5bd(0x2f2)][_0x9cd5bd(0x436)](Ei))!=null?_0x38ca3b:Ii);}[_0x4d236c(0x373)](){var _0x5b8016=_0x4d236c;this[_0x5b8016(0x329)]!=null&&(clearTimeout(this[_0x5b8016(0x329)]),this[_0x5b8016(0x329)]=null);}['_clearTimeoutTimer'](){var _0x3123=_0x4d236c;this[_0x3123(0x2b5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x3123(0x2b5)]=null);}};Le=hs([ge(0x0,_0x318337(_0x319afb)),ge(0x1,_0x1b80b0),ge(0x2,_0x8980fc),ge(0x3,bi),ge(0x4,_0x318337(_0x53807a)),ge(0x5,_0x318337(pe)),ge(0x6,_0x3910d7(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x4d236c(0x3e7)]((n+0x100)[_0x4d236c(0x279)](0x10)[_0x4d236c(0x19d)](0x1));function _s(_0x1bb6b7,_0x16118b=0x0){return(V[_0x1bb6b7[_0x16118b+0x0]]+V[_0x1bb6b7[_0x16118b+0x1]]+V[_0x1bb6b7[_0x16118b+0x2]]+V[_0x1bb6b7[_0x16118b+0x3]]+'-'+V[_0x1bb6b7[_0x16118b+0x4]]+V[_0x1bb6b7[_0x16118b+0x5]]+'-'+V[_0x1bb6b7[_0x16118b+0x6]]+V[_0x1bb6b7[_0x16118b+0x7]]+'-'+V[_0x1bb6b7[_0x16118b+0x8]]+V[_0x1bb6b7[_0x16118b+0x9]]+'-'+V[_0x1bb6b7[_0x16118b+0xa]]+V[_0x1bb6b7[_0x16118b+0xb]]+V[_0x1bb6b7[_0x16118b+0xc]]+V[_0x1bb6b7[_0x16118b+0xd]]+V[_0x1bb6b7[_0x16118b+0xe]]+V[_0x1bb6b7[_0x16118b+0xf]])['toLowerCase']();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x356afd=_0x4d236c;if(!dt){if(typeof crypto>'u'||!crypto[_0x356afd(0x23c)])throw new Error(_0x356afd(0x3ae));dt=crypto[_0x356afd(0x23c)][_0x356afd(0x425)](crypto);}return dt(ls);}function _0x1adb(){var _0x5264e5=['default','socket\x20open.','resolve','_updateState','_keyPriorReset','BASE64','sessionStatus$','fromCollab','requireSession','_getAPIPrefixPath','readInt32LE','_getDownloadEndpointURL','ENSURE_SNAPSHOT_EXECUTION','getCurrentUnitForType','_iv','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_onMessage','_collaborationUIEventService','_retryCount','UNIVER_SHEET','hostname','UNKNOWN_CODE','image/jpg','originalMeta','collaboration_new_changeset','HttpImport','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LIVESHARE_REQUEST_HOST','editingUnit','joinEvent','_handlerCallback','_data','_createInitialState','getAllMembers','_removeRoom','processBlock','onRemoteRej','_key','_prevBlock','_submitChangeset','concat','_configService','RECV','sessionStatus','[OfflineState]:\x20received\x20acknowledgement.','list','Utf8','Cipher','_exhaustRemoteChangesetQueue','_telemetryService','_remoteChangesetQueue','_state','lib','_state$','_tryEnsureSocket','Malformed\x20UTF-8\x20data','[DataLoaderService]','{fileID}','changesets','_hash','OTHER_CLIENT_EDITING','_redoStacks','FAIL','uploadFileServerUrl','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','setWaitCount','resend','type','GLOBAL_ROOMS_CNT_EXCEEDS','onSendChangeset','Undefined','onTransformRemoteChangesetByStateCache','_networkConditionService','SHOULD_CLOSE_CONN','members','_userManagerService','CLOSE_ROOM','SNAPSHOT_SERVER_URL_KEY','__creator','Hex','NoPadding','application/json','_logService','reduce','defineProperty','isPermissionRej','symbol','_transformRemoteChangesetByStateCache','onLocalMutation','_scheduleCollaborationTimeoutTimer','loadSheet','_sheetTransformSelectionsService','value','_substituteUndoStack','_collaborationSessionService','_localCacheService','_sendHeartbeatTimer','collaMsg','UNIVER_DOC','init','_transformStateCache','_imageSourceCache','AES','ONLINE','onTransformRemoteChangesetByIMECache','byteLength','IDLE','_throwTelemetryCollaborationNewChangeset','_updateLocalCache','buffer','_resendTimeout','result','_doFinalize','/universer-api/snapshot','synced','_onConnectionOpen','createEncryptor','message$','c1Prime','/universer-api/file/{fileID}/sign-url','createCollaborator','permissionRejEvent','PERMISSION_REJ','UNIVER_UNKNOWN','_getUploadFileURL','_roomCreated$','4GtJrUt','image/jpeg','_stopTelemetryCollaborationNewChangeset','LIVESHARE_TERMINATE','setCurrentUser','_onFetchMissResult','UNIVER_SLIDE','_getRedoStack','LIVESHARE_OPERATION','textRanges','getInterceptPoints','getTypeOfUnitAdded$','shouldCloseConn','cmd','stringify','ceil','CONNECTOR_DATA_TOO_LARGE','keySize','startsWith','/universer-api/oidc/authpage','_transformRemoteChangesetByIMECache','COLLAB_WEB_SOCKET_URL','_sessionStatus$','getSheetBlock','socket$','subType','next','url','exports','MUTATION','_collaborationTimeoutTimer','retryConnectingInterval','_onUserLeave','FETCH_MISSING','collaborators','_createHandler','_httpService','EvpKDF','People','_initDependencies','_resendWithTimeout','getUnitId','_invKeySchedule','Base','_clearHeartbeatTimer','_transformUndoredo','YUUMI_RATE_OVER_LIMIT','updatePermissionObjEvent','149532wZFnNf','decryptBlock','infoRsp','formatter','withCredentials','FETCH_MISS','getUnitType','updateCursorEvent','collaboration-client.config','_checkMissing','_mode','_status$','pad','then','_onCombEvent','USERS_ENTER','_createInitialStateImpl','LICENSE_MAX_UNITS_EXCEEDED','emitEvent','SOCKET_FAILED_RETRY','_changesetSessionId','enc','MSG_FOR_ERROR','getActiveSheet','_nDataBytes','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','reconnect','onTransformIME','_decreaseWaiting','/-/object/-/batch_allowed','x-univer-host','createDecryptor','ticket','SUBMIT_CHANGESET_TIMEOUT','AWAITING','_replaceFileID','setShowComponents','UNRECOGNIZED','leaveEvent','/collaborator','socketService','COLLAB_SUBMIT_CHANGESET_URL','_snapshotServerService','saveSnapshot','send','_onConnectionFailed','_scheduleTimestamp','\x20-\x20','charCodeAt','_keySchedule','startTime','[SyncedState]:\x20received\x20rejection.','/object','transformStack\x20failed!','_sender','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','$super','ciphertext','UNIVER_COLLABORATION_CLIENT_PLUGIN','asObservable','YUUMI_UNABLE_LOAD_URL','fetch_missing','csAckEvent','getLatestCsReqIdBySid','objects','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','&assign=','updatePermissionPoint','add','params','executeCommand','ws://127.0.0.1:8000/universer-api/comb/connect','crypto','_clearUndo','_initRequestHeader','RETRY_CONNECTING_MAX_COUNT','Could\x20not\x20dynamically\x20require\x20\x22','duration','collabWebSocketUrl','copyFileMeta','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','close$','listRoles','max','_createHelper','state$','json','updateCollaborator','pipe','INGEST','memberID','/universer-api/authz','TOO_MANY_REQUESTS','session.room-not-exists','compute','batchAllowed','_change$','UPDATE_CURSOR','clamp','_changesetReqId','sid','_sendHeartbeat','590GTkakm','state','saveChangeset','onSyncEditingCollabCursor','onCommentUpdate','_initMergeInterceptor','length','onRemoteChangeset','unitInfo$','loadOfflineData','push','m2Prime','_retryConnectingTimer','_onRemoteRetry','_syncEditingCollabCursor','floor','_roomMembers','UNISCRIPT_RUN','[PendingState]:\x20received\x20acknowledgement.','SHA1','_listenToNetworkCondition','BlockCipher','_process','updateMember','__esModule','find','reqId','appendMutation','_isPermissionRej','OPTIONAL','BufferedBlockAlgorithm','entityInit$','POST','_transformSelections','encode','SNAPSHOT_INVALID_SNAPSHOT','USERS_LEAVE','saveImage','objectType','resourceIDs','readyForCollab','set','string','_unitInfo$','[OfflineState]:\x20received\x20changeset.','filter','\x0aAfter:\x20','[CollaborationSessionService]','unitId','/new_changes','_hasher','reverse','not_collab','HEARTBEAT','collabSubmitChangesetUrl','Univer','sigBytes','loadDoc','UNAUTHENTICATED','snapshotServerUrl','\x20to\x20','FileId','create','putCollaborators','reject','clear','compose','debug','_minBufferSize','_reverseMap','searchParams','YUUMI_URL_COL_OUT_OF_RANGE','bind','_transitionLocked','byteOffset','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','generateRandomId','_startCollaboration','selections','/block/','NEW_CHANGESETS','_event$','getCollabEntity','incrementRevOfUnit','getCurrentRevOfUnit','patch','_compressMutationService','OFFLINE','collaboratorID','getConfig','getUnitStatus$','_iKey','routeKey','unsubscribe','loadUnit','hasher','_snapshotService','LEAVE','getImageSourceCache','getMember','2303040ffXQpP','/universer-api/user/session-ticket','join','clone','salt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','function','onTransformSelections','getUnitOnRev','_getSessionTicket','38290aPUCZx','call','_sendingTimer','_pendingMutations','[CollaborationSession]','revision','padding','onMissedChangesetFetched','roomInfos','JOIN','\x0aCurrent:\x20','dispose','listCollaborators','_replayCachedMutations','conflict','SOCKET_FAILED','waitForRoom$','actions','prototype','_loadSheet','APPLY_PERMISSION_DENIED','target','fetchMissingChangesets','authzUrl','getPermissionPoint','_onJoinRoomEvent','/object/','_doReset','DEFAULT_FILE_NAME','_HTTPService','\x20in\x20_schedule.','_undoStacks','downloadEndpointUrl','code','_emitMembers','Error\x20on\x20receiving\x20event','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','runId','eventID','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','JOIN_ROOM_FULL','_initCloseConn','[CollaborationUndoRedoService]','NO_OTHER_CLIENTS_EDITING','members$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getCurrentUser','clearUndoRedo','/universer-api/uniscript','_waitCount','_members$','onRemoteRetry','pluginName','APPLY_DUPLICATED','_collabSessionService','charAt','_onRecvEvent','random','subject','getRoom','_toggleOnline','HMAC','src','failed\x20to\x20apply\x20missed\x20changesets!','HmacMD5','rev','registerHTTPInterceptor','_getLoginPath','_onRemoteACK','HmacSHA1','_commandService','requestParams','encrypt','_undoRedoService','createInstance','_permissionService','size','LICENSE_IMPORT_SIZE_EXCEEDED','decrypt','get','hasOwnProperty','Worksheet','getTime','_lockTransition','baseRev','getTypeOfUnitDisposed$','Decryptor','_parse','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_unlockTransition','abs','PSEUDO_FETCH_MISSING_RESULT','randomBytes','c2Prime','onload','values','uniscriptRunEvent','getDeserializedSheetBlock','_tryReconnect','5590794HdtPqX','includes','slice','PERMISSION_DENIED','forEach','randomUUID','updateOfflineData','_createHmacHelper','HEARTBEAT_TIMEOUT','toggleOnline','mode','stopTime','_executeRemoteChangeset','awaiting','body','CONFLICT','HELLO','getCollabEntity$','unitID','post','min','status$','_xformMode','_map','_registerDependencies','save\x20fail\x20reason\x20is\x20','SNAPSHOT_HAS_BEEN_REMOVED','Latin1','/allowed','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getCurrentRevision','_schedule','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','event$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_ENC_XFORM_MODE','CHANGESET_ACK','1048535FKZTjh','_unitID','unknown','_substituteRedoStack','185390qSVmUI','univer-pro.collaboration-client.single-active-unit-service','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onTransformState','onStarting','initWorkbookPermissionChange','words','_append','JOIN_ROOM_PERMISSION_DENIED','342XzohnS','getTargetByPermissionId','loginUrlKey','_entityInit$','_onConflict','interceptor','_acknowledgedAwaitingChangeset','mutations','origin','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','OTHER_CLIENTS_EDITING','format','onlyLocal','_localeService','getMemberID','UNKNOWN_CMD','transformMutationsWithChangeset','session','ERROR_IMAGE_TYPE','blockSize','?size=','enableSingleActiveInstanceLock','_members','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','objectID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SUBMIT_CHANGESET','Encryptor','HEARTBEAT_INTERVAL','onRemoteAck','snapshot','action','_loadDoc','_telemetryInfo','_sessions','LOCAL_CACHE_INTERVAL','_transformService','UUID','image/gif','_injector','headers','_socket','SUCCUSS','&to=','Pkcs7','Hasher','_collaborationPaused','pending','APPLY_REVISION_CONFILICT','[OfflineState]:\x20received\x20rejection.','_fetchMissChangesets','now','JOIN_ROOM_FAILED','PERSON','every','JOIN_ROOM_NOT_EXISTS','UPDATE_PERMISSION_OBJ','extend','SYNCED','transformChangesets','complete','_memberService','execute','_eventService','objectActions','disposeWithMe','/-/object/list','_clearCollaborationTimeoutTimer','Workbook','file','localCacheService','refreshPermission','open$','mixIn','iterations','responseType','AUTHZ_URL_KEY','UnitSnapshot','SelectRange','PENDING','_type','commentUpdateEvent','_toggleOffline','_socket$','getResourcesRequest','_getAPIPrefix','_getSignURL','liveShareOperation','_disableEditing','ERROR_IMAGE','title','rng','getSnapshotAPIPath','data','_instanceService','_startTelemetryCollaborationNewChangeset','name','getSheetId','reset','_doCryptBlock','/universer-api/stream/file/upload','_onUserJoin','newCsEvent','COMMENT_UPDATE','subUnitId','close','_getUndoStack','_revisionService','kdf','LICENSE_EXPORT_SIZE_EXCEEDED','location','getRandomValues','StreamCipher','delete','_onRemoteChangeset','onMissingChangesets','entries','15273lOURQY','_awaitingChangeset','joinRsp','error$','18ZrSZjU','_getCtorByUniverType','_socketMessageSubscription','_showConflictNotification','LIVESHARE_NEW_HOST','liveShareNewHost','roles','APPLY_REJECT','signUrlServerUrl','_singleActiveUnitService','offline','OpenSSL','SEND_CHANGESET_TIMEOUT','readAsDataURL','_shouldReportTelemetry','getFocusedUnit','INTERNAL_ERROR','focused$','_oKey','method','UnitEmbedded','fetchMiss','LIVESHARE_FETCH_OPERATIONS','href','avatar','sendChangesetTimeout','_updateStatus','getOwnPropertyDescriptor','COMPRESS_MUTATION_APPLY','_univerInstanceService','_authzIoService','_incrementRevisionNumber','apply','_socketReady','_config','UNIVER_PROJECT','_getSendChangesetTimeout','awaitingChangeset','csRejEvent','finalize','NOT_FOUND','_transformStack','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_handler','_clearRedo','WordArray','telemetry\x20info\x20is\x20not\x20initialized','change$','_joinRoom','HttpExport','image/png','toString','awaiting_with_pending','_waitForHeartbeatResponse','fetchThroughInterceptors','[CollaborationEntity]','_queuedRemoteChangesets','ALREADY_EXISTS','addHandlerCallback','_candidateSocket','_http','allowed','ERROR_EXCEED_SIZE','CHANGESET_REVISION_CONFILICT','findIndex','toggleOffline','_socketService','workbook','COMPLETION_FINISHED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','subscribe','_onRemoteRejected','MD5','from','INVALID_ARGUMENT','dispose$','algo','range','getValue','has','/rev/','_applyRemoteChangeset','COMPRESS_MUTATION_SEND','closeSession','_cipher','msCrypto','status','isArray','getImage','/universer-api/snapshot/','unpad','_rescheduleHeartbeat','SNAPSHOT_URL_KEY','_resendTimer','_commentUpdate$','fromCharCode','_createSocketURL','createSocket','parse','disableLocalCache','APPLY_NON_SEQUENTIAL_REVISION','confirm','map','getWorkbookSelections','_init','/unit/','_commentService','_entities','unit-cache-','commentUpdate$','_nRounds','_timeoutTimer','_onOffline','_onLocalMutation','cfg','_clearScheduledTask','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LOGIN_URL_KEY','transformSelections','YUUMI_SUBSCRIPTION_NOT_FOUND','error','removeMember','LICENSE_DISTRO_REJECTED','sheets','csShouldRetryEvent','PasswordBasedCipher','update','_clearLocalCache','deepClone','session.room-cnt-exceeds'];_0x1adb=function(){return _0x5264e5;};return _0x1adb();}const ds=typeof crypto<'u'&&crypto[_0x4d236c(0x1a0)]&&crypto[_0x4d236c(0x1a0)][_0x4d236c(0x425)](crypto),qt={'randomUUID':ds};function fs(_0x5f081b,_0x46553a,_0x51119e){var _0x41fc7f=_0x4d236c;if(qt[_0x41fc7f(0x1a0)]&&!_0x46553a&&!_0x5f081b)return qt[_0x41fc7f(0x1a0)]();_0x5f081b=_0x5f081b||{};const _0x541712=_0x5f081b[_0x41fc7f(0x171)]||(_0x5f081b[_0x41fc7f(0x228)]||us)();return _0x541712[0x6]=_0x541712[0x6]&0xf|0x40,_0x541712[0x8]=_0x541712[0x8]&0x3f|0x80,_s(_0x541712);}const X=_0x40f637('collaboration-client.local-cache-service');function vo(_0x124261){var _0x2e2a8d=_0x4d236c;return _0x2e2a8d(0x2b2)+_0x124261;}var vs=Object['defineProperty'],ps=Object[_0x4d236c(0x261)],ms=(_0x47bbad,_0xad81e0,_0x41a189,_0x32a913)=>{var _0x43d729=_0x4d236c;for(var _0x3da73e=_0x32a913>0x1?void 0x0:_0x32a913?ps(_0xad81e0,_0x41a189):_0xad81e0,_0x566f93=_0x47bbad[_0x43d729(0x3e3)]-0x1,_0x483ec3;_0x566f93>=0x0;_0x566f93--)(_0x483ec3=_0x47bbad[_0x566f93])&&(_0x3da73e=(_0x32a913?_0x483ec3(_0xad81e0,_0x41a189,_0x3da73e):_0x483ec3(_0x3da73e))||_0x3da73e);return _0x32a913&&_0x3da73e&&vs(_0xad81e0,_0x41a189,_0x3da73e),_0x3da73e;},ft=(_0x1a12ce,_0x45d0b2)=>(_0x5996f4,_0x5df897)=>_0x45d0b2(_0x5996f4,_0x5df897,_0x1a12ce);function gs(_0x44a1a8){var _0x443aa1=_0x4d236c;const {unitID:_0x31e495,mutations:_0x37eefb}=_0x44a1a8;return{'unitId':_0x31e495,'subUnitId':_0x37eefb[0x0]['params'][_0x443aa1(0x235)]};}let nt=class{constructor(_0x220af0,_0x1b2c39,_0x50461f){var _0x4cc680=_0x4d236c;this[_0x4cc680(0x1f4)]=_0x220af0,this[_0x4cc680(0x1f1)]=_0x1b2c39,this['_instanceService']=_0x50461f;}[_0x4d236c(0x2bc)](_0x40f9cd){var _0x1d8286=_0x4d236c,_0x332364,_0x3a8389,_0xee868e,_0x2a4d04;const _0x2f81c1=this[_0x1d8286(0x1f4)]['get'](_0xf26f3),{unitId:_0xcde2f3,subUnitId:_0x3f9863}=gs(_0x40f9cd),_0x1ce27f=_0x2f81c1==null?void 0x0:_0x2f81c1[_0x1d8286(0x2ad)](_0xcde2f3)['getCurrentSelections'](),_0x4f7d85=(_0x3a8389=(_0x332364=this[_0x1d8286(0x22b)]['getUnit'](_0xcde2f3))==null?void 0x0:_0x332364[_0x1d8286(0x38e)]())==null?void 0x0:_0x3a8389[_0x1d8286(0x22e)]();if(_0x1ce27f['length']===0x0||!_0xcde2f3||!_0x3f9863)return;const _0x41eee1=[{'id':_0x1f7c5c['id'],'params':{'unitId':_0xcde2f3,'subUnitId':_0x4f7d85,'selections':_0x14143a[_0x1d8286(0x2c6)](_0x1ce27f)}}],_0x165f9f=this[_0x1d8286(0x1f1)][_0x1d8286(0x1dd)](_0x40f9cd,_0x41eee1);if(!_0x10f7c6(_0x165f9f))throw _0x165f9f[_0x1d8286(0x2be)];const _0x54ba48=(_0x2a4d04=(_0xee868e=_0x165f9f[_0x1d8286(0x3e8)][0x0])==null?void 0x0:_0xee868e[_0x1d8286(0x3bc)])==null?void 0x0:_0x2a4d04[_0x1d8286(0x42b)];if(Array[_0x1d8286(0x29d)](_0x54ba48)&&_0x54ba48[_0x1d8286(0x3e3)]){if(_0x54ba48[_0x1d8286(0x3e3)]===_0x41eee1[0x0][_0x1d8286(0x3bc)][_0x1d8286(0x42b)]['length']&&_0x54ba48[_0x1d8286(0x203)]((_0x50b547,_0x125712)=>_0x1c13c8['equals'](_0x50b547['range'],_0x41eee1[0x0][_0x1d8286(0x3bc)]['selections'][_0x125712][_0x1d8286(0x293)])))return;this[_0x1d8286(0x1f4)][_0x1d8286(0x187)](_0x165bb2)[_0x1d8286(0x3bd)](_0x1f7c5c['id'],{'unitId':_0xcde2f3,'subUnitId':_0x4f7d85,'selections':_0x54ba48});}}};nt=ms([ft(0x0,_0x318337(_0x319afb)),ft(0x1,_0x38407d),ft(0x2,_0xbe442f)],nt);const _t=_0x40f637(_0x4d236c(0x1c5));var yi=(_0x56f7c7=>(_0x56f7c7[_0x56f7c7[_0x4d236c(0x476)]=0x0]=_0x4d236c(0x476),_0x56f7c7[_0x56f7c7['OTHER_CLIENTS_EDITING']=0x1]=_0x4d236c(0x1d7),_0x56f7c7))(yi||{});const Ss=new Set([_0xe8d8ad['id']]);function Jt(_0x4bd905,_0x51ff53,_0x5b7647,_0x18e512,_0x3e089f){var _0x9d961b=_0x4d236c,_0x55ec1e,_0x5ed1c3,_0x7eb548,_0xb9cd0d;const _0x403677=[];for(const _0x5c3180 of _0x4bd905)if(Ss['has'](_0x5c3180['id'])){if(_0x403677[_0x9d961b(0x3e3)]>0x0)break;_0x403677[_0x9d961b(0x3e7)](_0x5c3180);break;}else _0x403677['push'](_0x5c3180);const _0xc14938=(_0x5ed1c3=(_0x55ec1e=_0x3e089f[_0x9d961b(0x479)]())==null?void 0x0:_0x55ec1e['userID'])!=null?_0x5ed1c3:'unknown',_0xae0702=(_0xb9cd0d=(_0x7eb548=_0x3e089f[_0x9d961b(0x479)]())==null?void 0x0:_0x7eb548[_0x9d961b(0x3d1)])!=null?_0xb9cd0d:_0x9d961b(0x1c2);return{'changeset':{'unitID':_0x51ff53,'type':_0x1fbc6f(_0x5b7647[_0x9d961b(0x37d)](_0x51ff53)),'baseRev':_0x18e512[_0x9d961b(0x431)](_0x51ff53),'revision':0x0,'userID':_0xc14938,'memberID':_0xae0702,'mutations':_0x403677},'pendingMutations':_0x4bd905[_0x9d961b(0x19d)](_0x403677[_0x9d961b(0x3e3)])};}function Es(_0x1b2561,_0x30d6e9,_0x45a164,_0x31c250,_0x5ad104){var _0x5e1343=_0x4d236c,_0x423e56,_0xdb343c,_0x4c1e9d,_0x293ffa;const _0x462df0=[_0x1b2561[_0x5e1343(0x31c)]((_0x2f9673,_0x326795)=>{var _0x3bb6c2=_0x5e1343,_0x1e3732;const {id:_0x5ae7b3}=_0x2f9673,{id:_0x5f22bd,type:_0x358390}=_0x326795,_0x1e8cfb=(_0x1e3732=_0x2f9673[_0x3bb6c2(0x3bc)])!=null?_0x1e3732:{'actions':null},_0x1e7c43=_0x326795[_0x3bb6c2(0x3bc)];if(_0x5ae7b3&&_0x5ae7b3!==_0x5f22bd)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5ae7b3+_0x3bb6c2(0x3a6)+_0x5f22bd+'.');return{..._0x2f9673,'id':_0x5f22bd,'type':_0x358390,'params':{'unitId':_0x1e7c43[_0x3bb6c2(0x40d)],'textRanges':_0x1e7c43[_0x3bb6c2(0x350)],'actions':_0x31ad31[_0x3bb6c2(0x41f)](_0x1e8cfb['actions'],_0x1e7c43[_0x3bb6c2(0x45c)])}};},{})],_0x2c83a5=(_0xdb343c=(_0x423e56=_0x5ad104[_0x5e1343(0x479)]())==null?void 0x0:_0x423e56['userID'])!=null?_0xdb343c:'unknown',_0x326bd3=(_0x293ffa=(_0x4c1e9d=_0x5ad104[_0x5e1343(0x479)]())==null?void 0x0:_0x4c1e9d['memberID'])!=null?_0x293ffa:_0x5e1343(0x1c2);return{'changeset':{'unitID':_0x30d6e9,'type':_0x1fbc6f(_0x45a164[_0x5e1343(0x37d)](_0x30d6e9)),'baseRev':_0x31c250[_0x5e1343(0x431)](_0x30d6e9),'revision':0x0,'userID':_0x2c83a5,'memberID':_0x326bd3,'mutations':_0x462df0},'pendingMutations':[]};}function Oi(_0x55fccb,_0x4058b9){var _0x417fc7=_0x4d236c;const _0x4af4d3=new _0x2782e2(0x1);return setTimeout(()=>_0x4af4d3['next'](_0x4058b9),_0x55fccb),_0x4af4d3['asObservable']()[_0x417fc7(0x3cf)](_0xecb64a(0x1));}const Is={'id':_0x1e7da2['id'],'type':_0x58081b[_0x4d236c(0x364)],'params':{}};var Ts=Object[_0x4d236c(0x31d)],Cs=Object[_0x4d236c(0x261)],be=(_0x137092,_0x50ebd4,_0x448371,_0x260058)=>{var _0x3a3322=_0x4d236c;for(var _0x3c0cf1=_0x260058>0x1?void 0x0:_0x260058?Cs(_0x50ebd4,_0x448371):_0x50ebd4,_0x453c58=_0x137092[_0x3a3322(0x3e3)]-0x1,_0xe4f758;_0x453c58>=0x0;_0x453c58--)(_0xe4f758=_0x137092[_0x453c58])&&(_0x3c0cf1=(_0x260058?_0xe4f758(_0x50ebd4,_0x448371,_0x3c0cf1):_0xe4f758(_0x3c0cf1))||_0x3c0cf1);return _0x260058&&_0x3c0cf1&&Ts(_0x50ebd4,_0x448371,_0x3c0cf1),_0x3c0cf1;},A=(_0x4f3f8a,_0x4cac52)=>(_0xba0b5d,_0x3825cc)=>_0x4cac52(_0xba0b5d,_0x3825cc,_0x4f3f8a),Ni=(_0x4c6656=>(_0x4c6656['NOT_COLLAB']=_0x4d236c(0x411),_0x4c6656[_0x4d236c(0x207)]='synced',_0x4c6656[_0x4d236c(0x21c)]='pending',_0x4c6656[_0x4d236c(0x399)]=_0x4d236c(0x1a8),_0x4c6656['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x4c6656[_0x4d236c(0x37c)]=_0x4d236c(0x3b4),_0x4c6656[_0x4d236c(0x1aa)]=_0x4d236c(0x459),_0x4c6656[_0x4d236c(0x434)]=_0x4d236c(0x250),_0x4c6656))(Ni||{});const Pi=0xea60;class Re{constructor(_0x431bd8,_0x520de5,_0x219562,_0x242b4f,_0x10fc77,_0x8c92d9,_0x22bbd4,_0x2a4cee,_0x31ea7b){var _0x5ce3d6=_0x4d236c;P(this,_0x5ce3d6(0x243),null),P(this,_0x5ce3d6(0x44e),[]),(this['unitID']=_0x431bd8,this['type']=_0x520de5,this[_0x5ce3d6(0x271)]=_0x10fc77,this[_0x5ce3d6(0x17e)]=_0x8c92d9,this[_0x5ce3d6(0x181)]=_0x22bbd4,this[_0x5ce3d6(0x238)]=_0x2a4cee,this[_0x5ce3d6(0x328)]=_0x31ea7b,this[_0x5ce3d6(0x243)]=_0x219562,this[_0x5ce3d6(0x44e)]=_0x242b4f);}[_0x4d236c(0x380)](_0x35faf4){var _0x290004=_0x4d236c;const _0x124639=this[_0x290004(0x238)]['getCurrentRevOfUnit'](this[_0x290004(0x1ad)]);return _0x35faf4[_0x290004(0x450)]>_0x124639+0x1?(this['_handler'][_0x290004(0x240)]({'from':_0x124639,'to':_0x35faf4[_0x290004(0x450)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3a4a91){var _0x183850=_0x4d236c;this[_0x183850(0x181)]['transformUndoRedo'](this['unitID'],_0x3a4a91);}['_transformSelections'](_0x486aca){var _0x27f4f6=_0x4d236c,_0x229699,_0xae85ba;(_0xae85ba=(_0x229699=this['_handler'])['onTransformSelections'])==null||_0xae85ba[_0x27f4f6(0x44c)](_0x229699,_0x486aca);}['_transformIMECache'](_0x16ea4b){var _0x1d700f=_0x4d236c,_0x19942b,_0x2edabe;return(_0x2edabe=(_0x19942b=this[_0x1d700f(0x271)])[_0x1d700f(0x392)])==null?void 0x0:_0x2edabe[_0x1d700f(0x44c)](_0x19942b,_0x16ea4b);}[_0x4d236c(0x32d)](_0x4dbc3a){var _0x24288d=_0x4d236c,_0x11b90c,_0xbf6dd4;return(_0xbf6dd4=(_0x11b90c=this['_handler'])[_0x24288d(0x1c7)])==null?void 0x0:_0xbf6dd4['call'](_0x11b90c,_0x4dbc3a);}[_0x4d236c(0x35b)](_0x3306c8){var _0x248bff=_0x4d236c,_0x19671d,_0x43be81,_0x2d82cd;return(_0x2d82cd=(_0x43be81=(_0x19671d=this[_0x248bff(0x271)])[_0x248bff(0x331)])==null?void 0x0:_0x43be81[_0x248bff(0x44c)](_0x19671d,_0x3306c8))!=null?_0x2d82cd:_0x3306c8;}[_0x4d236c(0x320)](_0x28136e){var _0x417916=_0x4d236c,_0x247d2c,_0x55fcbf,_0x4ddf43;return(_0x4ddf43=(_0x55fcbf=(_0x247d2c=this[_0x417916(0x271)])[_0x417916(0x310)])==null?void 0x0:_0x55fcbf[_0x417916(0x44c)](_0x247d2c,_0x28136e))!=null?_0x4ddf43:_0x28136e;}[_0x4d236c(0x3eb)](_0x47ceae){var _0x2d058e=_0x4d236c,_0x3b9b19,_0x5f3cc5;if(this['type']===Q[_0x2d058e(0x32b)]){const {unitID:_0xf7b7ea,mutations:_0x449e0a,memberID:_0x14fb4b}=_0x47ceae,_0x364eb5=_0x449e0a[0x0][_0x2d058e(0x3bc)][_0x2d058e(0x350)];Array[_0x2d058e(0x29d)](_0x364eb5)&&_0x364eb5['length']>0x0&&((_0x5f3cc5=(_0x3b9b19=this[_0x2d058e(0x271)])[_0x2d058e(0x3e0)])==null||_0x5f3cc5[_0x2d058e(0x44c)](_0x3b9b19,{'unitID':_0xf7b7ea,'memberID':_0x14fb4b,'textRanges':_0x364eb5}));}}[_0x4d236c(0x335)](){var _0x4b8c1f=_0x4d236c,_0x579165;(_0x579165=this[_0x4b8c1f(0x328)])==null||_0x579165[_0x4b8c1f(0x1a1)](this[_0x4b8c1f(0x1ad)],this[_0x4b8c1f(0x30c)],this[_0x4b8c1f(0x243)],this['_pendingMutations']);}[_0x4d236c(0x1b9)](){var _0x36c55f=_0x4d236c;return this['_revisionService'][_0x36c55f(0x431)](this[_0x36c55f(0x1ad)]);}[_0x4d236c(0x265)](){var _0x581d9e=_0x4d236c;this[_0x581d9e(0x238)][_0x581d9e(0x430)](this[_0x581d9e(0x1ad)]);}[_0x4d236c(0x1a7)](_0x179526){var _0x5947aa=_0x4d236c,_0x53d62f;let _0x19a043=this['_transformRemoteChangesetByIMECache'](_0x179526);_0x19a043=this[_0x5947aa(0x320)](_0x19a043);const _0xfa5000=_0x1c46d2(_0x19a043['mutations'],this[_0x5947aa(0x17e)],{'fromCollab':!0x0});if(!_0xfa5000['result'])throw _0xfa5000[_0x5947aa(0x2be)]instanceof Error?_0xfa5000[_0x5947aa(0x2be)]:new Error((_0x53d62f=_0xfa5000['error'])!=null?_0x53d62f:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x19a043),this[_0x5947aa(0x32d)](_0x19a043),this[_0x5947aa(0x374)](_0x179526),this[_0x5947aa(0x3fe)](_0x19a043),this[_0x5947aa(0x3eb)](_0x19a043),this[_0x5947aa(0x265)]();}}let Pe=class extends Re{constructor(_0x5bea00,_0x3e1ff5,_0x37ecff,_0x2a1774,_0x164da3,_0x510d14,_0x2638bd,_0x373fcc,_0x5c984f,_0x388560){var _0x3e06df=_0x4d236c;super(_0x5bea00,_0x3e1ff5,null,[],_0x37ecff,_0x2638bd,_0x510d14,_0x2a1774,_0x388560),P(this,_0x3e06df(0x29c),_0x3e06df(0x33b)),(this[_0x3e06df(0x1f4)]=_0x164da3,this[_0x3e06df(0x31b)]=_0x373fcc,this[_0x3e06df(0x1f1)]=_0x5c984f,this[_0x3e06df(0x213)]=_0x388560);}[_0x4d236c(0x3f8)](_0xc8e67){var _0x59fd5c=_0x4d236c;const _0x182d0c=this[_0x59fd5c(0x1f4)][_0x59fd5c(0x182)](oe,this['unitID'],this[_0x59fd5c(0x30c)],[_0xc8e67],this[_0x59fd5c(0x271)]);return _0x182d0c[_0x59fd5c(0x1ba)](),_0x182d0c[_0x59fd5c(0x335)](),_0x182d0c;}['onRemoteChangeset'](_0x2b412b){var _0x14c050=_0x4d236c;if(this['_checkMissing'](_0x2b412b))return this['_injector'][_0x14c050(0x182)](te,this[_0x14c050(0x1ad)],this['type'],null,[],null,[_0x2b412b],this[_0x14c050(0x271)]);try{const _0x390bce=this[_0x14c050(0x1f1)]['transformMutationsWithChangeset'](_0x2b412b,[Is]);if(_0x10f7c6(_0x390bce)){const {c1Prime:_0x3a9438}=_0x390bce;return this['_executeRemoteChangeset'](_0x3a9438),this;}throw _0x390bce[_0x14c050(0x2be)];}catch(_0x41da26){return this[_0x14c050(0x31b)][_0x14c050(0x2be)](_0x41da26),this[_0x14c050(0x1d1)](!0x1);}}[_0x4d236c(0x1d1)](_0x529dd1){var _0x117b5c=_0x4d236c;return this[_0x117b5c(0x1f4)][_0x117b5c(0x182)](de,this[_0x117b5c(0x1ad)],this[_0x117b5c(0x30c)],null,[],this[_0x117b5c(0x271)],_0x529dd1);}[_0x4d236c(0x1ea)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x4d236c(0x2ed)](){var _0x1bff68=_0x4d236c;throw new Error(_0x1bff68(0x3aa));}['onRemoteRetry'](){return this;}[_0x4d236c(0x287)](){var _0x105361=_0x4d236c;return this[_0x105361(0x1f4)][_0x105361(0x182)](fe,this[_0x105361(0x1ad)],this[_0x105361(0x30c)],null,[],this[_0x105361(0x271)]);}[_0x4d236c(0x1a4)](){return this;}[_0x4d236c(0x30b)](){var _0x1caad0=_0x4d236c;throw new Error(_0x1caad0(0x446));}['fetchMiss'](){var _0x1a61f0=_0x4d236c;const _0x23ebda=this[_0x1a61f0(0x238)][_0x1a61f0(0x431)](this[_0x1a61f0(0x1ad)]);return this[_0x1a61f0(0x271)][_0x1a61f0(0x240)]({'from':_0x23ebda,'to':0x0}),this[_0x1a61f0(0x1f4)][_0x1a61f0(0x182)](te,this[_0x1a61f0(0x1ad)],this[_0x1a61f0(0x30c)],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x318337(_0x4a9c92)),A(0x4,_0x318337(_0x319afb)),A(0x5,_0x531919),A(0x6,_0x165bb2),A(0x7,_0x1b80b0),A(0x8,_0x38407d),A(0x9,_0x3910d7(X))],Pe);let oe=class extends Re{constructor(_0x39cfe1,_0x3228a6,_0x2432f9,_0x3a35db,_0x2443ea,_0x1c56e7,_0x2fb4d7,_0x350eb7,_0x107fae,_0x5dcb19,_0x56b2c6,_0x502ff8,_0x1dbad8,_0x5adc17){var _0x2b8247=_0x4d236c;super(_0x39cfe1,_0x3228a6,null,_0x2432f9,_0x3a35db,_0x107fae,_0x1dbad8,_0x1c56e7,_0x5adc17),P(this,'status',_0x2b8247(0x1fc)),P(this,_0x2b8247(0x3a5),null),P(this,_0x2b8247(0x44d),null),(this[_0x2b8247(0x1f4)]=_0x2443ea,this['_memberService']=_0x2fb4d7,this['_logService']=_0x350eb7,this[_0x2b8247(0x2f2)]=_0x5dcb19,this['_transformService']=_0x56b2c6,this[_0x2b8247(0x263)]=_0x502ff8);}['appendMutation'](_0x218072){var _0x556f84=_0x4d236c;return this[_0x556f84(0x44e)][_0x556f84(0x3e7)](_0x218072),this[_0x556f84(0x335)](),this;}[_0x4d236c(0x3e4)](_0x3ae821){var _0x4101a5=_0x4d236c;if(this[_0x4101a5(0x380)](_0x3ae821))return this[_0x4101a5(0x2b9)](),this[_0x4101a5(0x1f4)][_0x4101a5(0x182)](te,this[_0x4101a5(0x1ad)],this['type'],null,this[_0x4101a5(0x44e)],null,[_0x3ae821],this[_0x4101a5(0x271)]);try{const _0x5af668=this[_0x4101a5(0x1f1)][_0x4101a5(0x1dd)](_0x3ae821,this[_0x4101a5(0x44e)]);if(_0x10f7c6(_0x5af668)){const {c1Prime:_0x29559b,m2Prime:_0x814a06}=_0x5af668;this['_executeRemoteChangeset'](_0x29559b);const _0x27ed35=this[_0x4101a5(0x1f4)][_0x4101a5(0x182)](oe,this['unitID'],this[_0x4101a5(0x30c)],_0x814a06,this[_0x4101a5(0x271)]);return this['_clearScheduledTask'](),_0x27ed35[_0x4101a5(0x1ba)](this[_0x4101a5(0x3a5)]?Math[_0x4101a5(0x3ca)](0x0,new Date()['getTime']()-this[_0x4101a5(0x3a5)]):this['_getSendChangesetTimeout']()),_0x27ed35;}throw _0x5af668[_0x4101a5(0x2be)];}catch(_0x14ff4b){return this[_0x4101a5(0x31b)]['error'](_0x14ff4b),this['_onConflict'](!0x1);}}[_0x4d236c(0x1ea)](){var _0x528277=_0x4d236c;throw new Error(_0x528277(0x3ef));}[_0x4d236c(0x2ed)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4b36a4=_0x4d236c;return this[_0x4b36a4(0x2b9)](),this[_0x4b36a4(0x1f4)][_0x4b36a4(0x182)](fe,this['unitID'],this[_0x4b36a4(0x30c)],null,this['_pendingMutations'],this[_0x4b36a4(0x271)]);}[_0x4d236c(0x1a4)](){return this;}[_0x4d236c(0x1ba)](_0xc9e46b){var _0x427b5b=_0x4d236c;const _0x3ad717=_0xc9e46b!=null?_0xc9e46b:this['_getSendChangesetTimeout']();this[_0x427b5b(0x3a5)]=new Date()[_0x427b5b(0x18a)](),this[_0x427b5b(0x44d)]=setTimeout(()=>{var _0xdbff45=_0x427b5b;this[_0xdbff45(0x2b9)]();let _0x288919=null;switch(this[_0xdbff45(0x30c)]){case Q[_0xdbff45(0x2db)]:{_0x288919=Jt(this[_0xdbff45(0x44e)],this['unitID'],this[_0xdbff45(0x263)],this['_revisionService'],this[_0xdbff45(0x20a)]);break;}case Q[_0xdbff45(0x32b)]:{this[_0xdbff45(0x44e)][_0xdbff45(0x203)](_0xd92557=>_0xd92557['id']===_0x567ff0['id'])?_0x288919=Es(this['_pendingMutations'],this[_0xdbff45(0x1ad)],this[_0xdbff45(0x263)],this[_0xdbff45(0x238)],this['_memberService']):_0x288919=Jt(this[_0xdbff45(0x44e)],this[_0xdbff45(0x1ad)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0xdbff45(0x1c6)+this['type']+_0xdbff45(0x469));}const {changeset:_0x422be2,pendingMutations:_0x40626e}=_0x288919;this[_0xdbff45(0x271)][_0xdbff45(0x30e)](_0x422be2);const _0x13f76b=_0x40626e[_0xdbff45(0x3e3)]?this['_injector'][_0xdbff45(0x182)](ae,this['unitID'],this[_0xdbff45(0x30c)],_0x422be2,_0x40626e,this[_0xdbff45(0x271)],void 0x0):this['_injector']['createInstance'](ue,this['unitID'],this[_0xdbff45(0x30c)],_0x422be2,this[_0xdbff45(0x271)]);_0x13f76b[_0xdbff45(0x335)](),this[_0xdbff45(0x271)]['onStateChange'](this,_0x13f76b);},_0x3ad717);}[_0x4d236c(0x26a)](){var _0x4e1b8f=_0x4d236c,_0xb99d27;const _0x487248=this['_configService'][_0x4e1b8f(0x436)](Y);return(_0xb99d27=_0x487248==null?void 0x0:_0x487248[_0x4e1b8f(0x25f)])!=null?_0xb99d27:wn;}[_0x4d236c(0x30b)](){var _0x4313a8=_0x4d236c;throw new Error(_0x4313a8(0x2e2));}[_0x4d236c(0x2b9)](){var _0x1a68af=_0x4d236c;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1a68af(0x44d)]),this[_0x1a68af(0x44d)]=null);}[_0x4d236c(0x1d1)](_0x1843c4){var _0x4f00c8=_0x4d236c;return this[_0x4f00c8(0x2b9)](),this[_0x4f00c8(0x1f4)]['createInstance'](de,this[_0x4f00c8(0x1ad)],this[_0x4f00c8(0x30c)],null,this[_0x4f00c8(0x44e)],this['_handler'],_0x1843c4);}};oe=be([A(0x4,_0x318337(_0x319afb)),A(0x5,_0x318337(_0x4a9c92)),A(0x6,_0x318337(xe)),A(0x7,_0x1b80b0),A(0x8,_0x165bb2),A(0x9,_0x8980fc),A(0xa,_0x38407d),A(0xb,_0xbe442f),A(0xc,_0x531919),A(0xd,_0x3910d7(X))],oe);let ue=class extends Re{constructor(_0x5dd3ee,_0x22e46d,_0x16709a,_0x504df8,_0xd63593,_0xdf15ed,_0x3c5af2,_0x66942e,_0x4b33d0,_0x5d5792,_0x1cf2ba){var _0x1ce6ca=_0x4d236c;super(_0x5dd3ee,_0x22e46d,_0x16709a,[],_0x504df8,_0x3c5af2,_0x5d5792,_0xdf15ed,_0x1cf2ba),P(this,_0x1ce6ca(0x29c),_0x1ce6ca(0x1a8)),P(this,_0x1ce6ca(0x337),0x0),P(this,_0x1ce6ca(0x2a3)),P(this,_0x1ce6ca(0x3ad)),(this[_0x1ce6ca(0x1f4)]=_0xd63593,this[_0x1ce6ca(0x31b)]=_0x66942e,this['_transformService']=_0x4b33d0);}[_0x4d236c(0x3f8)](_0x3b1c27){var _0xe494e4=_0x4d236c;this[_0xe494e4(0x2b9)]();const _0x373e62=this[_0xe494e4(0x1f4)][_0xe494e4(0x182)](ae,this['unitID'],this[_0xe494e4(0x30c)],this['_awaitingChangeset'],[_0x3b1c27],this[_0xe494e4(0x271)],this[_0xe494e4(0x2a3)]);return _0x373e62[_0xe494e4(0x335)](),_0x373e62;}[_0x4d236c(0x3e4)](_0x376d90){var _0xf24938=_0x4d236c;if(this['_checkMissing'](_0x376d90))return this[_0xf24938(0x2b9)](),this[_0xf24938(0x1f4)][_0xf24938(0x182)](te,this[_0xf24938(0x1ad)],this[_0xf24938(0x30c)],this[_0xf24938(0x243)],[],null,[_0x376d90],this[_0xf24938(0x271)]);try{const _0x2fbe64=this['_transformService'][_0xf24938(0x208)]([_0x376d90],[this[_0xf24938(0x243)]],!0x1);if(_0x5bdc89(_0x2fbe64)){const {c1Prime:_0x401e9f,c2Prime:_0x35160c}=_0x2fbe64;this[_0xf24938(0x1a7)](_0x401e9f[0x0]),_0x35160c[0x0][_0xf24938(0x18c)]=this['_getCurrentRevision'](),this[_0xf24938(0x2b9)]();const _0x2ef929=this[_0xf24938(0x1f4)][_0xf24938(0x182)](ue,this[_0xf24938(0x1ad)],this[_0xf24938(0x30c)],_0x35160c[0x0],this[_0xf24938(0x271)]);return _0x2ef929[_0xf24938(0x335)](),_0x2ef929;}return this[_0xf24938(0x1d1)](!0x1);}catch(_0x1f0951){return this[_0xf24938(0x31b)][_0xf24938(0x2be)](_0x1f0951),this[_0xf24938(0x1d1)](!0x1);}}[_0x4d236c(0x1ea)](_0x1d8780){var _0xf16074=_0x4d236c;this[_0xf16074(0x2b9)]();const _0x1f859e=this[_0xf16074(0x238)]['getCurrentRevOfUnit'](this['unitID']);if(_0x1d8780[_0xf16074(0x450)]<_0x1f859e-0x1)return this;if(this[_0xf16074(0x380)](_0x1d8780))return this[_0xf16074(0x1f4)][_0xf16074(0x182)](te,this[_0xf16074(0x1ad)],this[_0xf16074(0x30c)],null,[],this[_0xf16074(0x243)],[],this[_0xf16074(0x271)]);this[_0xf16074(0x265)]();const _0xc511fd=this[_0xf16074(0x1f4)][_0xf16074(0x182)](Pe,this[_0xf16074(0x1ad)],this['type'],this[_0xf16074(0x271)]);return _0xc511fd[_0xf16074(0x335)](),_0xc511fd;}[_0x4d236c(0x2ed)](_0x53531d){var _0x5c7509=_0x4d236c;return this[_0x5c7509(0x1d1)](!!(_0x53531d!=null&&_0x53531d[_0x5c7509(0x31e)]));}[_0x4d236c(0x47e)](_0x14d8d2){var _0x33e828=_0x4d236c;return this[_0x33e828(0x337)]>Pi?this[_0x33e828(0x287)]():(this[_0x33e828(0x2a3)]=Oi(this[_0x33e828(0x337)],{'timeout':this['_resendTimeout'],'reqId':_0x14d8d2[_0x33e828(0x3f7)]}),this[_0x33e828(0x3ad)]=this['_resendTimer'][_0x33e828(0x28c)](({reqId:_0x55670e,timeout:_0x1e635b})=>{this['_resendWithTimeout'](_0x55670e,_0x1e635b);}),this);}[_0x4d236c(0x287)](){var _0x4a35f6=_0x4d236c;return this['_clearScheduledTask'](),this['_injector'][_0x4a35f6(0x182)](fe,this[_0x4a35f6(0x1ad)],this[_0x4a35f6(0x30c)],this[_0x4a35f6(0x243)],[],this[_0x4a35f6(0x271)]);}[_0x4d236c(0x1a4)](){return this;}[_0x4d236c(0x30b)](){var _0x4b3fb1=_0x4d236c;this[_0x4b3fb1(0x271)][_0x4b3fb1(0x30e)](this[_0x4b3fb1(0x243)]);}[_0x4d236c(0x1d1)](_0x525c27){var _0x16ef80=_0x4d236c;return this['_clearScheduledTask'](),this['_injector'][_0x16ef80(0x182)](de,this[_0x16ef80(0x1ad)],this[_0x16ef80(0x30c)],this['_awaitingChangeset'],[],this[_0x16ef80(0x271)],_0x525c27);}[_0x4d236c(0x36f)](_0x5081e,_0x3787e2){var _0x4eea38=_0x4d236c,_0x344d78;_0x5081e===((_0x344d78=this[_0x4eea38(0x243)])==null?void 0x0:_0x344d78['reqId'])&&(this[_0x4eea38(0x30b)](),this['_resendTimeout']=_0x3787e2===0x0?0x3e8:_0x3787e2*0x2);}[_0x4d236c(0x2b9)](){var _0x9f2091=_0x4d236c,_0x330b05;(_0x330b05=this[_0x9f2091(0x3ad)])==null||_0x330b05[_0x9f2091(0x43a)](),this[_0x9f2091(0x337)]=0x0;}};ue=be([A(0x4,_0x318337(_0x319afb)),A(0x5,_0x318337(_0x4a9c92)),A(0x6,_0x165bb2),A(0x7,_0x1b80b0),A(0x8,_0x38407d),A(0x9,_0x531919),A(0xa,_0x3910d7(X))],ue);let ae=class extends Re{constructor(_0x4e97e0,_0x465f20,_0x221e6e,_0x154dff,_0xd3ad2d,_0x1f4df3,_0xea7a13,_0xe26b02,_0x42bcf4,_0x3a756e,_0x5ab8d6,_0x9c9d04,_0x105305){var _0x10925d=_0x4d236c;super(_0x4e97e0,_0x465f20,_0x221e6e,_0x154dff,_0xd3ad2d,_0x42bcf4,_0x9c9d04,_0xe26b02,_0x105305),P(this,_0x10925d(0x29c),_0x10925d(0x27a)),P(this,_0x10925d(0x337),0x0),P(this,_0x10925d(0x2a3)),P(this,'_sender'),(this[_0x10925d(0x1f4)]=_0xea7a13,this[_0x10925d(0x31b)]=_0x3a756e,this[_0x10925d(0x1f1)]=_0x5ab8d6,this[_0x10925d(0x213)]=_0x105305,_0x1f4df3&&(this['_resendTimer']=_0x1f4df3,this['_sender']=this[_0x10925d(0x2a3)][_0x10925d(0x28c)](({reqId:_0x29fbfd,timeout:_0xe5ca62})=>{var _0x5f03d1=_0x10925d;this[_0x5f03d1(0x36f)](_0x29fbfd,_0xe5ca62);})));}[_0x4d236c(0x3f8)](_0x3840e4){var _0x40b128=_0x4d236c;return this[_0x40b128(0x44e)][_0x40b128(0x3e7)](_0x3840e4),this;}[_0x4d236c(0x3e4)](_0x3749e4){var _0x2f6292=_0x4d236c;if(this[_0x2f6292(0x380)](_0x3749e4))return this['_clearScheduledTask'](),this[_0x2f6292(0x1f4)][_0x2f6292(0x182)](te,this[_0x2f6292(0x1ad)],this[_0x2f6292(0x30c)],this['_awaitingChangeset'],this[_0x2f6292(0x44e)],null,[_0x3749e4],this[_0x2f6292(0x271)]);try{const _0x3a03b7=this[_0x2f6292(0x1f1)]['transformChangesets']([_0x3749e4],[this['_awaitingChangeset']],!0x1);if(_0x5bdc89(_0x3a03b7)){const {c1Prime:_0x3df496,c2Prime:_0x4c25a7}=_0x3a03b7,_0xa25bf5=this[_0x2f6292(0x1f1)][_0x2f6292(0x1dd)](_0x3df496[0x0],this[_0x2f6292(0x44e)]);if(_0x10f7c6(_0xa25bf5)){const {c1Prime:_0x284047,m2Prime:_0x2bef48}=_0xa25bf5;return this[_0x2f6292(0x1a7)](_0x284047),_0x4c25a7[0x0][_0x2f6292(0x18c)]=this[_0x2f6292(0x1b9)](),this['_clearScheduledTask'](),this[_0x2f6292(0x1f4)][_0x2f6292(0x182)](ae,this[_0x2f6292(0x1ad)],this[_0x2f6292(0x30c)],_0x4c25a7[0x0],_0x2bef48,this[_0x2f6292(0x271)],void 0x0);}throw _0xa25bf5[_0x2f6292(0x2be)];}throw _0x3a03b7[_0x2f6292(0x2be)];}catch(_0x4b7238){return this['_logService'][_0x2f6292(0x2be)](_0x4b7238),this[_0x2f6292(0x1d1)](!0x1);}}[_0x4d236c(0x1ea)](_0x5f3a4f){var _0x2ef0b6=_0x4d236c;if(this[_0x2ef0b6(0x2b9)](),this[_0x2ef0b6(0x380)](_0x5f3a4f))return this[_0x2ef0b6(0x1f4)][_0x2ef0b6(0x182)](te,this[_0x2ef0b6(0x1ad)],this[_0x2ef0b6(0x30c)],null,this[_0x2ef0b6(0x44e)],this[_0x2ef0b6(0x243)],[],this[_0x2ef0b6(0x271)]);this['_incrementRevisionNumber']();const _0x2d80be=this['_injector'][_0x2ef0b6(0x182)](oe,this[_0x2ef0b6(0x1ad)],this[_0x2ef0b6(0x30c)],this['_pendingMutations'],this[_0x2ef0b6(0x271)]);return _0x2d80be[_0x2ef0b6(0x1ba)](),_0x2d80be[_0x2ef0b6(0x335)](),_0x2d80be;}['onRemoteRej'](_0x22e534){var _0x462c1b=_0x4d236c;return this[_0x462c1b(0x1d1)](!!(_0x22e534!=null&&_0x22e534[_0x462c1b(0x31e)]));}[_0x4d236c(0x47e)](_0xcf037d){var _0x1efe3f=_0x4d236c;return this[_0x1efe3f(0x337)]>Pi?this[_0x1efe3f(0x287)]():(this['_resendTimer']=Oi(this[_0x1efe3f(0x337)],{'timeout':this['_resendTimeout'],'reqId':_0xcf037d[_0x1efe3f(0x3f7)]}),this['_sender']=this[_0x1efe3f(0x2a3)][_0x1efe3f(0x28c)](({reqId:_0x57d210,timeout:_0x593393})=>{var _0x47aa2f=_0x1efe3f;this[_0x47aa2f(0x36f)](_0x57d210,_0x593393);}),this);}[_0x4d236c(0x287)](){var _0x4ce390=_0x4d236c;return this[_0x4ce390(0x2b9)](),this[_0x4ce390(0x1f4)][_0x4ce390(0x182)](fe,this[_0x4ce390(0x1ad)],this[_0x4ce390(0x30c)],this[_0x4ce390(0x243)],this[_0x4ce390(0x44e)],this['_handler']);}[_0x4d236c(0x1a4)](){return this;}[_0x4d236c(0x30b)](){var _0x5669b6=_0x4d236c;this[_0x5669b6(0x271)][_0x5669b6(0x30e)](this[_0x5669b6(0x243)]);}[_0x4d236c(0x1d1)](_0x4cfc7c){var _0x5adc35=_0x4d236c;return this[_0x5adc35(0x2b9)](),this[_0x5adc35(0x1f4)][_0x5adc35(0x182)](de,this[_0x5adc35(0x1ad)],this[_0x5adc35(0x30c)],null,this[_0x5adc35(0x44e)],this[_0x5adc35(0x271)],_0x4cfc7c);}[_0x4d236c(0x36f)](_0x5cfca2,_0xe780c7){var _0x205bd8=_0x4d236c,_0x3a1eec;_0x5cfca2===((_0x3a1eec=this[_0x205bd8(0x243)])==null?void 0x0:_0x3a1eec['reqId'])&&(this[_0x205bd8(0x30b)](),this[_0x205bd8(0x337)]=_0xe780c7===0x0?0x3e8:_0xe780c7*0x2);}[_0x4d236c(0x2b9)](){var _0x461b38=_0x4d236c,_0x3be92d;(_0x3be92d=this[_0x461b38(0x3ad)])==null||_0x3be92d[_0x461b38(0x43a)](),this[_0x461b38(0x337)]=0x0;}};ae=be([A(0x6,_0x318337(_0x319afb)),A(0x7,_0x318337(_0x4a9c92)),A(0x8,_0x165bb2),A(0x9,_0x1b80b0),A(0xa,_0x38407d),A(0xb,_0x531919),A(0xc,_0x3910d7(X))],ae);let de=class extends Re{constructor(_0xa0734b,_0x449927,_0x2c4dfc,_0x4c2a09,_0x5cb86c,_0x326fd1=!0x1,_0xc25ff2,_0x9fe9b7,_0x100375,_0x4f26e9,_0x2202be,_0x69b2e4,_0x396c44){var _0x3f7aeb=_0x4d236c;super(_0xa0734b,_0x449927,_0x2c4dfc,_0x4c2a09,_0x5cb86c,_0x9fe9b7,_0x100375,_0x4f26e9,_0x396c44),P(this,_0x3f7aeb(0x29c),_0x3f7aeb(0x459)),(this[_0x3f7aeb(0x3f9)]=_0x326fd1,this[_0x3f7aeb(0x183)]=_0xc25ff2,this['_localeService']=_0x2202be,this[_0x3f7aeb(0x2d9)]=_0x69b2e4,this['localCacheService']=_0x396c44,this[_0x3f7aeb(0x249)](),this[_0x3f7aeb(0x2c5)](),this[_0x3f7aeb(0x225)]());}[_0x4d236c(0x3f8)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x4d236c(0x2ed)](){return this;}['onRemoteRetry'](){return this;}[_0x4d236c(0x287)](){return this;}[_0x4d236c(0x1a4)](){return this;}[_0x4d236c(0x30b)](){var _0x4ce944=_0x4d236c;throw new Error(_0x4ce944(0x2d7));}[_0x4d236c(0x2c5)](){var _0x565605=_0x4d236c,_0x2e5de4;(_0x2e5de4=this[_0x565605(0x328)])==null||_0x2e5de4[_0x565605(0x1a1)](this[_0x565605(0x1ad)],this[_0x565605(0x30c)],null,[]);}['_showConflictNotification'](){var _0x5a4571=_0x4d236c;this[_0x5a4571(0x3f9)]?this[_0x5a4571(0x2d9)][_0x5a4571(0x389)]({'id':re[_0x5a4571(0x19e)]}):this['_collaborationUIEventService'][_0x5a4571(0x389)]({'id':re[_0x5a4571(0x1aa)]});}[_0x4d236c(0x225)](){var _0x103fc4=_0x4d236c;this[_0x103fc4(0x183)][_0x103fc4(0x3ba)](new _0x44816b(this['unitID'])['id'],!0x1);}};function _0x4660(_0x5e4d8f,_0x53aec6){var _0x1adbfb=_0x1adb();return _0x4660=function(_0x466098,_0x7d0dfa){_0x466098=_0x466098-0x170;var _0x272d48=_0x1adbfb[_0x466098];return _0x272d48;},_0x4660(_0x5e4d8f,_0x53aec6);}de=be([A(0x6,_0x318337(_0x2e32b6)),A(0x7,_0x165bb2),A(0x8,_0x531919),A(0x9,_0x318337(_0x4a9c92)),A(0xa,_0x318337(_0x2594e6)),A(0xb,_0x318337(pe)),A(0xc,_0x3910d7(X))],de);let fe=class extends Re{constructor(_0x2e82a6,_0x20deea,_0x52d16e,_0x431aad,_0x482f16,_0x323db5,_0x1dda99,_0x269fd0,_0x318c3d,_0x46caa4){var _0x2446d4=_0x4d236c;super(_0x2e82a6,_0x20deea,_0x52d16e,_0x431aad,_0x482f16,_0x269fd0,_0x318c3d,_0x1dda99,_0x46caa4),P(this,'status',_0x2446d4(0x250)),this['_injector']=_0x323db5;}[_0x4d236c(0x3f8)](_0x54fe06){var _0x5b1026=_0x4d236c;return this['_pendingMutations'][_0x5b1026(0x3e7)](_0x54fe06),this[_0x5b1026(0x335)](),this;}[_0x4d236c(0x3e4)](_0x534b46){var _0x73dffb=_0x4d236c;throw new Error(_0x73dffb(0x409));}[_0x4d236c(0x1ea)](){var _0x44e1c2=_0x4d236c;throw new Error(_0x44e1c2(0x2f5));}[_0x4d236c(0x2ed)](){var _0x34647d=_0x4d236c;throw new Error(_0x34647d(0x1fe));}['onRemoteRetry'](){return this;}[_0x4d236c(0x287)](){return this;}['toggleOnline'](){var _0x2c8bb8=_0x4d236c;const {_injector:_0xd31984,_pendingMutations:_0x33b854,_awaitingChangeset:_0xe7c58e,unitID:_0x453c1e,_handler:_0x2edafc,type:_0x2efe5d}=this,_0x1dea33=Di(_0xd31984,_0x453c1e,_0x2efe5d,_0xe7c58e,_0x33b854,_0x2edafc);return _0x1dea33 instanceof oe?_0x1dea33[_0x2c8bb8(0x1ba)]():(_0x1dea33 instanceof ae||_0x1dea33 instanceof ue)&&_0x1dea33['resend'](),_0x1dea33;}['resend'](){var _0x2677d4=_0x4d236c;throw new Error(_0x2677d4(0x3c7));}};fe=be([A(0x5,_0x318337(_0x319afb)),A(0x6,_0x318337(_0x4a9c92)),A(0x7,_0x165bb2),A(0x8,_0x531919),A(0x9,_0x3910d7(X))],fe);let te=class extends Re{constructor(_0x2f0eb5,_0x53a2ab,_0xb01678,_0xd4aef6,_0x26f717,_0x59eb70,_0x4063ef,_0x8015be,_0x363e96,_0xb5a4a1,_0x311a30,_0x26d596,_0x38c7f3,_0x5d410f){var _0x4aa0cf=_0x4d236c;super(_0x2f0eb5,_0x53a2ab,_0xb01678,_0xd4aef6,_0x4063ef,_0x311a30,_0x26d596,_0x363e96,_0x5d410f),P(this,'status','fetch_missing'),(this[_0x4aa0cf(0x1d3)]=_0x26f717,this[_0x4aa0cf(0x27e)]=_0x59eb70,this['_injector']=_0x8015be,this[_0x4aa0cf(0x31b)]=_0xb5a4a1,this[_0x4aa0cf(0x1f1)]=_0x38c7f3,this[_0x4aa0cf(0x213)]=_0x5d410f);}[_0x4d236c(0x452)](_0x129160){var _0x4813a9=_0x4d236c;try{const _0x5e93ce=[..._0x129160,...this[_0x4813a9(0x27e)]],_0x29ab98=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x4813a9(0x40a)](_0x404066=>!!_0x404066);let _0xaece78,_0x1c77b5;if(_0x29ab98['length']){const _0x16f433=this[_0x4813a9(0x1f1)][_0x4813a9(0x208)](_0x5e93ce,_0x29ab98,!0x1);if(!_0x5bdc89(_0x16f433))throw _0x16f433[_0x4813a9(0x2be)];_0xaece78=_0x16f433[_0x4813a9(0x33f)],_0x1c77b5=_0x16f433[_0x4813a9(0x195)];}else _0xaece78=_0x5e93ce,_0x1c77b5=[];let _0x25cab0=this['_pendingMutations'];_0xaece78[_0x4813a9(0x19f)](_0x1ad184=>{var _0x5b8bdf=_0x4813a9;let _0x5cc40a;if(_0x25cab0[_0x5b8bdf(0x3e3)]){const _0x5ac437=this[_0x5b8bdf(0x1f1)]['transformMutationsWithChangeset'](_0x1ad184,_0x25cab0);if(!_0x10f7c6(_0x5ac437))throw _0x5ac437['error'];_0x5cc40a=_0x5ac437[_0x5b8bdf(0x33f)],_0x25cab0=_0x5ac437[_0x5b8bdf(0x3e8)];}else _0x5cc40a=_0x1ad184;this[_0x5b8bdf(0x1a7)](_0x5cc40a);}),this[_0x4813a9(0x1d3)]&&this[_0x4813a9(0x265)](),this[_0x4813a9(0x243)]&&_0x1c77b5[_0x4813a9(0x3e3)]&&(_0x1c77b5[0x0][_0x4813a9(0x18c)]=this[_0x4813a9(0x1b9)]());let _0x401f37;if(this[_0x4813a9(0x243)]&&_0x25cab0[_0x4813a9(0x3e3)]!==0x0)_0x401f37=this['_injector'][_0x4813a9(0x182)](ae,this['unitID'],this[_0x4813a9(0x30c)],_0x1c77b5[0x0],_0x25cab0,this[_0x4813a9(0x271)],void 0x0);else{if(this['_awaitingChangeset']&&_0x25cab0[_0x4813a9(0x3e3)]===0x0)_0x1c77b5[0x0]['baseRev']=this['_getCurrentRevision'](),_0x401f37=this[_0x4813a9(0x1f4)][_0x4813a9(0x182)](ue,this['unitID'],this[_0x4813a9(0x30c)],_0x1c77b5[0x0],this[_0x4813a9(0x271)]);else{if(_0x25cab0['length']!==0x0){const _0x2087e3=this[_0x4813a9(0x1f4)][_0x4813a9(0x182)](oe,this['unitID'],this[_0x4813a9(0x30c)],_0x25cab0,this[_0x4813a9(0x271)]);_0x2087e3[_0x4813a9(0x1ba)](),_0x401f37=_0x2087e3;}else _0x401f37=this['_injector'][_0x4813a9(0x182)](Pe,this[_0x4813a9(0x1ad)],this[_0x4813a9(0x30c)],this['_handler']);}}return _0x401f37[_0x4813a9(0x335)](),_0x401f37;}catch(_0xd31bb9){return this[_0x4813a9(0x31b)]['error']('[FetchMissState]',_0x4813a9(0x177),_0xd31bb9),this[_0x4813a9(0x1f4)][_0x4813a9(0x182)](de,this[_0x4813a9(0x1ad)],this[_0x4813a9(0x30c)],this[_0x4813a9(0x243)],this[_0x4813a9(0x44e)],this[_0x4813a9(0x271)],!0x1);}}[_0x4d236c(0x30b)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4d236c(0x3f8)](_0x1e4c30){var _0x1b36cd=_0x4d236c;return this[_0x1b36cd(0x44e)][_0x1b36cd(0x3e7)](_0x1e4c30),this;}[_0x4d236c(0x3e4)](_0x92ac78){var _0x59dbe5=_0x4d236c;return this[_0x59dbe5(0x27e)][_0x59dbe5(0x3e7)](_0x92ac78),this;}[_0x4d236c(0x1ea)](_0x2b7f3b){var _0x341f5e=_0x4d236c;if(this[_0x341f5e(0x243)])return this[_0x341f5e(0x1d3)]=this[_0x341f5e(0x243)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x326567){var _0x159db2=_0x4d236c;return this[_0x159db2(0x1d1)](!!(_0x326567!=null&&_0x326567[_0x159db2(0x31e)]));}[_0x4d236c(0x47e)](){return this;}['toggleOffline'](){var _0x291edf=_0x4d236c;return this[_0x291edf(0x1f4)][_0x291edf(0x182)](fe,this[_0x291edf(0x1ad)],this['type'],this[_0x291edf(0x243)],this[_0x291edf(0x44e)],this[_0x291edf(0x271)]);}['toggleOnline'](){return this;}[_0x4d236c(0x1d1)](_0xdb0ada){var _0x1ce51c=_0x4d236c;return this[_0x1ce51c(0x1f4)][_0x1ce51c(0x182)](de,this[_0x1ce51c(0x1ad)],this['type'],this[_0x1ce51c(0x243)],this['_pendingMutations'],this['_handler'],_0xdb0ada);}};te=be([A(0x7,_0x318337(_0x319afb)),A(0x8,_0x318337(_0x4a9c92)),A(0x9,_0x1b80b0),A(0xa,_0x165bb2),A(0xb,_0x531919),A(0xc,_0x38407d),A(0xd,_0x3910d7(X))],te);function Di(_0x2f4dc5,_0x5ec99e,_0x317448,_0x41b852,_0x253c36,_0x4497c1){var _0x5ce1d5=_0x4d236c;return _0x41b852&&_0x253c36[_0x5ce1d5(0x3e3)]?_0x2f4dc5['createInstance'](ae,_0x5ec99e,_0x317448,_0x41b852,_0x253c36,_0x4497c1,void 0x0):_0x41b852?_0x2f4dc5[_0x5ce1d5(0x182)](ue,_0x5ec99e,_0x317448,_0x41b852,_0x4497c1):_0x253c36[_0x5ce1d5(0x3e3)]?_0x2f4dc5[_0x5ce1d5(0x182)](oe,_0x5ec99e,_0x317448,_0x253c36,_0x4497c1):_0x2f4dc5[_0x5ce1d5(0x182)](Pe,_0x5ec99e,_0x317448,_0x4497c1);}var bs=Object[_0x4d236c(0x31d)],Rs=Object[_0x4d236c(0x261)],Mt=(_0xb2eee9,_0x27446e,_0x1e8424,_0x319dd0)=>{for(var _0x4915f7=_0x319dd0>0x1?void 0x0:_0x319dd0?Rs(_0x27446e,_0x1e8424):_0x27446e,_0x33cb46=_0xb2eee9['length']-0x1,_0x434d31;_0x33cb46>=0x0;_0x33cb46--)(_0x434d31=_0xb2eee9[_0x33cb46])&&(_0x4915f7=(_0x319dd0?_0x434d31(_0x27446e,_0x1e8424,_0x4915f7):_0x434d31(_0x4915f7))||_0x4915f7);return _0x319dd0&&_0x4915f7&&bs(_0x27446e,_0x1e8424,_0x4915f7),_0x4915f7;},k=(_0x40e822,_0x3f6db2)=>(_0x34faee,_0x2d7c5c)=>_0x3f6db2(_0x34faee,_0x2d7c5c,_0x40e822);let st=class extends _0x35a4f1{constructor(_0xb14db0,_0x3c96c2,_0x48272b,_0x3768bc,_0x57cdd6,_0xfbde78,_0x55f1ce,_0x24e6f8,_0xa60b5f,_0x7e70f7,_0x435bf5,_0x55ee64,_0x2379fc){var _0x314d0b=_0x4d236c;super(),P(this,_0x314d0b(0x2fe),new _0x25a7f9(null)),P(this,_0x314d0b(0x3cc),this[_0x314d0b(0x2fe)]['asObservable']()),P(this,_0x314d0b(0x2fc)),P(this,_0x314d0b(0x1fb),!0x1),P(this,_0x314d0b(0x38b),''),P(this,_0x314d0b(0x3da),0x0),P(this,_0x314d0b(0x1b0),this['state$'][_0x314d0b(0x3cf)](_0x50031d(_0x340e80=>_0x340e80?_0x340e80[_0x314d0b(0x29c)]:Ni[_0x314d0b(0x434)]),_0x347782(0x1))),P(this,_0x314d0b(0x426),!0x1),P(this,_0x314d0b(0x2fb),[]),(this['unitID']=_0xb14db0,this['session']=_0x3c96c2,this[_0x314d0b(0x21d)]=_0x48272b,this[_0x314d0b(0x1f4)]=_0x3768bc,this['_compressMutationService']=_0x57cdd6,this['_localeService']=_0xfbde78,this[_0x314d0b(0x238)]=_0x55f1ce,this[_0x314d0b(0x20c)]=_0x24e6f8,this['_logService']=_0xa60b5f,this[_0x314d0b(0x17e)]=_0x7e70f7,this[_0x314d0b(0x183)]=_0x435bf5,this['_singleActiveUnitService']=_0x55ee64,this[_0x314d0b(0x328)]=_0x2379fc);}get[_0x4d236c(0x3de)](){return this['_state'];}async[_0x4d236c(0x32c)](){var _0x13b93b=_0x4d236c;if(this[_0x13b93b(0x3de)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x13b93b(0x2ae)]();}['pauseCollaboration'](){var _0x101874=_0x4d236c;return this[_0x101874(0x1fb)]=!0x0,_0x8d3dae(()=>{var _0x4dfb5d=_0x101874;this[_0x4dfb5d(0x1fb)]=!0x1,this[_0x4dfb5d(0x2f9)]();});}[_0x4d236c(0x321)](_0x522e08){this['_onLocalMutation'](_0x522e08);}['_updateState'](_0x36febc){var _0x123c7e=_0x4d236c;this['_state']=_0x36febc,this[_0x123c7e(0x2fe)][_0x123c7e(0x361)](_0x36febc);}async[_0x4d236c(0x2ae)](){var _0x153bcc=_0x4d236c,_0x36efbb;this['_updateState'](await this[_0x153bcc(0x2e9)]()),this[_0x153bcc(0x24f)]&&((_0x36efbb=this[_0x153bcc(0x24f)])==null||_0x36efbb[_0x153bcc(0x2e5)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x153bcc(0x437)](this[_0x153bcc(0x1ad)])['subscribe'](_0x16ec29=>{var _0x5ebd1e=_0x153bcc;this[_0x5ebd1e(0x31b)][_0x5ebd1e(0x420)](_0x5ebd1e(0x27d),'editing\x20status\x20changed\x20to',_0x16ec29),_0x16ec29===yi[_0x5ebd1e(0x1d7)]?(this[_0x5ebd1e(0x20c)]['emitEvent']({'id':re[_0x5ebd1e(0x305)]}),this[_0x5ebd1e(0x183)][_0x5ebd1e(0x3ba)](new _0x44816b(this[_0x5ebd1e(0x1ad)])['id'],!0x1),this[_0x5ebd1e(0x183)][_0x5ebd1e(0x39b)](!0x1)):(this[_0x5ebd1e(0x183)][_0x5ebd1e(0x3ba)](new _0x44816b(this['unitID'])['id'],!0x0),this[_0x5ebd1e(0x183)][_0x5ebd1e(0x39b)](!0x0));})));let _0x55d07a=!0x1;return this[_0x153bcc(0x20e)](this[_0x153bcc(0x1de)][_0x153bcc(0x2ce)][_0x153bcc(0x28c)](_0x39f33c=>{var _0x23e01f=_0x153bcc;_0x39f33c===Te[_0x23e01f(0x330)]?this[_0x23e01f(0x174)](_0x55d07a):_0x39f33c===Te[_0x23e01f(0x434)]&&(_0x55d07a=!0x0,this[_0x23e01f(0x21f)]());})),this['disposeWithMe'](this[_0x153bcc(0x1de)][_0x153bcc(0x1bc)][_0x153bcc(0x28c)](_0x4873dd=>{var _0x972c94=_0x153bcc;try{switch(_0x4873dd[_0x972c94(0x471)]){case _0x346e82['NEW_CHANGESETS']:{this[_0x972c94(0x23f)](_0x56fceb(_0x4873dd['data']));break;}case _0x346e82[_0x972c94(0x1bf)]:{this[_0x972c94(0x17c)](_0x4873dd[_0x972c94(0x22a)]);break;}case _0x346e82['CHANGESET_REJ']:{this[_0x972c94(0x28d)]();break;}case _0x346e82['CHANGESET_SHOULD_RETRY']:{this[_0x972c94(0x3ea)](_0x4873dd[_0x972c94(0x22a)]);break;}case _0x346e82[_0x972c94(0x193)]:{this[_0x972c94(0x34c)](_0x4873dd[_0x972c94(0x22a)][_0x972c94(0x303)][_0x972c94(0x2ac)](_0x39681a=>_0x56fceb(_0x39681a)));break;}case _0x346e82['PERMISSION_REJ']:{this[_0x972c94(0x28d)]({'isPermissionRej':!0x0});break;}case _0x346e82[_0x972c94(0x3ee)]:break;}}catch(_0x3a8c75){throw console['error'](_0x972c94(0x46e),_0x3a8c75),_0x3a8c75;}})),this[_0x153bcc(0x2fc)];}[_0x4d236c(0x191)](){var _0x3a0ca1=_0x4d236c;this[_0x3a0ca1(0x426)]=!0x1;}[_0x4d236c(0x18b)](){var _0x31d8d9=_0x4d236c;if(this[_0x31d8d9(0x426)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x31d8d9(0x426)]=!0x0;}['_onLocalMutation'](_0x1daf74){var _0x14c2f9=_0x4d236c;this[_0x14c2f9(0x18b)](),this[_0x14c2f9(0x2cb)](this['_state'][_0x14c2f9(0x3f8)](_0x1daf74)),this[_0x14c2f9(0x191)]();}[_0x4d236c(0x23f)](_0x531ca4){var _0x103d7a=_0x4d236c;if(!(_0x531ca4[_0x103d7a(0x450)]<=this[_0x103d7a(0x238)][_0x103d7a(0x431)](this['unitID']))){if(this[_0x103d7a(0x1fb)]){this['_remoteChangesetQueue'][_0x103d7a(0x3e7)](_0x531ca4);return;}this[_0x103d7a(0x297)](_0x531ca4);}}[_0x4d236c(0x2f9)](){var _0x1925d3=_0x4d236c;this[_0x1925d3(0x2fb)][_0x1925d3(0x19f)](_0x42d303=>this[_0x1925d3(0x297)](_0x42d303)),this[_0x1925d3(0x2fb)]=[];}[_0x4d236c(0x297)](_0x276567){var _0x409ed6=_0x4d236c;const _0x4727b2=this[_0x409ed6(0x433)]['interceptor'][_0x409ed6(0x27c)](this[_0x409ed6(0x433)][_0x409ed6(0x1d2)][_0x409ed6(0x351)]()[_0x409ed6(0x262)])(_0x276567[_0x409ed6(0x1d4)],null)||_0x276567[_0x409ed6(0x1d4)],_0x450a86={..._0x276567,'mutations':_0x4727b2};this[_0x409ed6(0x18b)](),this[_0x409ed6(0x2cb)](this[_0x409ed6(0x2fc)]['onRemoteChangeset'](_0x450a86)),this[_0x409ed6(0x191)]();}['_onRemoteACK'](_0x4addc3){var _0x2556f3=_0x4d236c;this[_0x2556f3(0x18b)](),this['_updateState'](this['_state'][_0x2556f3(0x1ea)](_0x4addc3)),this['_unlockTransition']();}[_0x4d236c(0x28d)](_0x1cb66f){var _0x9a76be=_0x4d236c;this['_lockTransition'](),this['_updateState'](this['_state'][_0x9a76be(0x2ed)](_0x1cb66f)),this[_0x9a76be(0x191)]();}[_0x4d236c(0x3ea)](_0x32bd76){var _0x1f49a0=_0x4d236c;this['_lockTransition'](),this[_0x1f49a0(0x2cb)](this[_0x1f49a0(0x2fc)][_0x1f49a0(0x47e)](_0x32bd76)),this[_0x1f49a0(0x191)]();}[_0x4d236c(0x34c)](_0x43bca3){var _0x2c787e=_0x4d236c;if(!(this[_0x2c787e(0x2fc)]instanceof te))throw new TypeError(_0x2c787e(0x390));const _0x278c57=_0x43bca3['map'](_0x775f58=>{var _0x5cff1b=_0x2c787e;const _0x56ba38=this[_0x5cff1b(0x433)]['interceptor'][_0x5cff1b(0x27c)](this[_0x5cff1b(0x433)][_0x5cff1b(0x1d2)][_0x5cff1b(0x351)]()['COMPRESS_MUTATION_APPLY'])(_0x775f58[_0x5cff1b(0x1d4)],null)||_0x775f58[_0x5cff1b(0x1d4)];return{..._0x775f58,'mutations':_0x56ba38};});this[_0x2c787e(0x18b)](),this['_updateState'](this[_0x2c787e(0x2fc)][_0x2c787e(0x452)](_0x278c57)),this[_0x2c787e(0x191)]();}[_0x4d236c(0x21f)](){var _0x5d4211=_0x4d236c;this[_0x5d4211(0x18b)](),this[_0x5d4211(0x2cb)](this[_0x5d4211(0x2fc)][_0x5d4211(0x287)]()),this[_0x5d4211(0x191)]();}['_toggleOnline'](_0x3cf120=!0x1){var _0xd272cd=_0x4d236c;this['_lockTransition'](),this[_0xd272cd(0x2cb)](this['_state']['toggleOnline']()),this[_0xd272cd(0x191)]();const _0x4f3ca7=this[_0xd272cd(0x2fc)];_0x3cf120&&_0x4f3ca7 instanceof Pe&&(this[_0xd272cd(0x18b)](),this[_0xd272cd(0x2cb)](_0x4f3ca7[_0xd272cd(0x25b)]()),this[_0xd272cd(0x191)]());}async[_0x4d236c(0x2e9)](){return new Promise(_0x2f2d49=>{var _0x167ce9=_0x4660;this[_0x167ce9(0x1de)][_0x167ce9(0x2ce)]['pipe'](_0xecb64a(0x1))[_0x167ce9(0x28c)](async _0xea9c2e=>{var _0x59b15b=_0x167ce9;_0x2f2d49(await this[_0x59b15b(0x387)](_0xea9c2e===Te[_0x59b15b(0x330)]));});});}[_0x4d236c(0x36a)](){var _0x2829e1=_0x4d236c;const _0x2f07e9=this[_0x2829e1(0x1ad)];return{'onStateChange':(_0x23b127,_0x305767)=>{var _0x22321f=_0x2829e1;if(_0x23b127!==this[_0x22321f(0x2fc)])throw new Error(_0x22321f(0x472)+_0x23b127['status']+_0x22321f(0x40b)+_0x305767[_0x22321f(0x29c)]+_0x22321f(0x455)+this[_0x22321f(0x2fc)][_0x22321f(0x29c)]);this[_0x22321f(0x2cb)](_0x305767);},'onSendChangeset':_0x9f66db=>{var _0x410871=_0x2829e1;_0x9f66db[_0x410871(0x3db)]||(_0x9f66db[_0x410871(0x3db)]=this[_0x410871(0x38b)],_0x9f66db['reqId']=++this[_0x410871(0x3da)]);const _0x480b70={'eventID':_0x346e82[_0x410871(0x1e7)],'data':{'unitID':_0x9f66db[_0x410871(0x1ad)],'unitType':this[_0x410871(0x21d)],'changeset':_0x9f66db,'memberID':this['session'][_0x410871(0x1db)]()}};this[_0x410871(0x1de)][_0x410871(0x3a3)](_0x480b70,this[_0x410871(0x1ad)]);},'onMissingChangesets':({from:_0x2446a7,to:_0x3ec876})=>{var _0x3846f1=_0x2829e1;this[_0x3846f1(0x31b)][_0x3846f1(0x420)](_0x3846f1(0x27d),'fetching\x20missing\x20changesets\x20from\x20'+_0x2446a7+_0x3846f1(0x419)+_0x3ec876);const _0x895ce7={'eventID':_0x346e82['FETCH_MISSING'],'data':{'unitID':_0x2f07e9,'unitType':this[_0x3846f1(0x21d)],'from':_0x2446a7,'to':_0x3ec876}};this['session'][_0x3846f1(0x3a3)](_0x895ce7,this[_0x3846f1(0x1ad)]);}};}async[_0x4d236c(0x387)](_0x108a6e){var _0x4c3560=_0x4d236c,_0x22d888,_0x584b36,_0x51d453;const _0x9a4abf=await((_0x22d888=this['_localCacheService'])==null?void 0x0:_0x22d888[_0x4c3560(0x3e6)](this[_0x4c3560(0x1ad)])),_0x53d56f=(_0x584b36=_0x9a4abf==null?void 0x0:_0x9a4abf[_0x4c3560(0x1d4)])!=null?_0x584b36:[],_0x1b88fa=(_0x51d453=_0x9a4abf==null?void 0x0:_0x9a4abf['awaitingChangeset'])!=null?_0x51d453:null,_0xd93db4=!!(_0x1b88fa!=null&&_0x1b88fa['sid'])&&!!(_0x1b88fa!=null&&_0x1b88fa[_0x4c3560(0x3f7)]);this[_0x4c3560(0x38b)]=_0xd93db4?_0x1b88fa['sid']:fs(),this['_changesetReqId']=_0xd93db4?_0x1b88fa[_0x4c3560(0x3f7)]:0x0;const _0x4cb5e9=this[_0x4c3560(0x1ad)];try{this[_0x4c3560(0x458)](_0x1b88fa,_0x53d56f);}catch(_0x10fcc6){this[_0x4c3560(0x31b)]['error'](_0x10fcc6);}const _0x4a2ceb=this[_0x4c3560(0x36a)]();if(_0x108a6e){const _0x408405=Di(this['_injector'],_0x4cb5e9,this[_0x4c3560(0x21d)],_0x1b88fa,_0x53d56f,_0x4a2ceb);return _0x408405 instanceof oe?_0x408405['_schedule']():(_0x408405 instanceof ae||_0x408405 instanceof ue)&&_0x408405[_0x4c3560(0x30b)](),_0x408405;}return this[_0x4c3560(0x1f4)][_0x4c3560(0x182)](fe,_0x4cb5e9,this[_0x4c3560(0x21d)],_0x1b88fa,_0x53d56f,_0x4a2ceb);}[_0x4d236c(0x458)](_0x568254,_0x4fcc89){var _0x1d3b80=_0x4d236c,_0x47a4ab,_0x71f625;const _0x43eb7b=this['_compressMutationService'][_0x1d3b80(0x1d2)][_0x1d3b80(0x27c)](this[_0x1d3b80(0x433)][_0x1d3b80(0x1d2)][_0x1d3b80(0x351)]()[_0x1d3b80(0x262)]);(_0x47a4ab=_0x43eb7b((_0x568254==null?void 0x0:_0x568254[_0x1d3b80(0x1d4)])||[],null))==null||_0x47a4ab[_0x1d3b80(0x19f)](_0x520230=>this[_0x1d3b80(0x17e)][_0x1d3b80(0x3bd)](_0x520230['id'],_0x520230['params'])),(_0x71f625=_0x43eb7b(_0x4fcc89||[],null))==null||_0x71f625['forEach'](_0xc12155=>this['_commandService'][_0x1d3b80(0x3bd)](_0xc12155['id'],_0xc12155['params']));}};st=Mt([k(0x3,_0x318337(_0x319afb)),k(0x4,_0x318337(_0x1ba35d)),k(0x5,_0x318337(_0x2594e6)),k(0x6,_0x318337(_0x4a9c92)),k(0x7,_0x318337(pe)),k(0x8,_0x1b80b0),k(0x9,_0x165bb2),k(0xa,_0x2e32b6),k(0xb,_0x3910d7(_t)),k(0xc,_0x3910d7(X))],st);let Ct=class extends st{constructor(_0x2286d6,_0x4b14cf,_0x510e8a,_0x265ec7,_0x55e385,_0x761d6b,_0x29bd4b,_0x5e6362,_0x4bc805,_0x95c06e,_0x3629f0,_0x48cc68,_0x460b97){var _0x228041=_0x4d236c;super(_0x2286d6,_0x510e8a,_0x4b14cf,_0x265ec7,_0x55e385,_0x761d6b,_0x29bd4b,_0x5e6362,_0x4bc805,_0x95c06e,_0x3629f0,_0x48cc68,_0x460b97),P(this,'_handlerCallback',null),(this[_0x228041(0x1ad)]=_0x2286d6,this[_0x228041(0x30c)]=_0x4b14cf);}[_0x4d236c(0x280)](_0x192d6a){var _0x3c5a27=_0x4d236c;this[_0x3c5a27(0x2e7)]=_0x192d6a;}[_0x4d236c(0x456)](){var _0x2cdd66=_0x4d236c;this[_0x2cdd66(0x2e7)]=null,super[_0x2cdd66(0x456)]();}[_0x4d236c(0x36a)](){var _0x314fc2=_0x4d236c;const _0x51f5a9=super[_0x314fc2(0x36a)]();return _0x51f5a9[_0x314fc2(0x392)]=_0x464a86=>{var _0x5096d2=_0x314fc2,_0x55b864,_0x402e5b;return(_0x402e5b=(_0x55b864=this[_0x5096d2(0x2e7)])==null?void 0x0:_0x55b864[_0x5096d2(0x392)])==null?void 0x0:_0x402e5b[_0x5096d2(0x44c)](_0x55b864,_0x464a86);},_0x51f5a9[_0x314fc2(0x1c7)]=_0x59f95d=>{var _0x399064=_0x314fc2,_0x4fb88d,_0x3e2758;return(_0x3e2758=(_0x4fb88d=this[_0x399064(0x2e7)])==null?void 0x0:_0x4fb88d[_0x399064(0x1c7)])==null?void 0x0:_0x3e2758[_0x399064(0x44c)](_0x4fb88d,_0x59f95d);},_0x51f5a9[_0x314fc2(0x448)]=_0x1ee19f=>{var _0x23efe4=_0x314fc2,_0x5ab27d,_0x3a95de;return(_0x3a95de=(_0x5ab27d=this[_0x23efe4(0x2e7)])==null?void 0x0:_0x5ab27d[_0x23efe4(0x448)])==null?void 0x0:_0x3a95de[_0x23efe4(0x44c)](_0x5ab27d,_0x1ee19f);},_0x51f5a9[_0x314fc2(0x3e0)]=_0x3de36c=>{var _0x21ac1b=_0x314fc2,_0x20302d,_0x27e963;return(_0x27e963=(_0x20302d=this[_0x21ac1b(0x2e7)])==null?void 0x0:_0x20302d[_0x21ac1b(0x3e0)])==null?void 0x0:_0x27e963[_0x21ac1b(0x44c)](_0x20302d,_0x3de36c);},_0x51f5a9[_0x314fc2(0x331)]=_0x34cb07=>{var _0x3621ef=_0x314fc2,_0x45b945,_0x6a477d,_0x4084e9;if(!((_0x45b945=this['_handlerCallback'])!=null&&_0x45b945[_0x3621ef(0x331)]))throw new Error(_0x3621ef(0x309));return(_0x4084e9=(_0x6a477d=this['_handlerCallback'])==null?void 0x0:_0x6a477d[_0x3621ef(0x331)])==null?void 0x0:_0x4084e9[_0x3621ef(0x44c)](_0x6a477d,_0x34cb07);},_0x51f5a9['onTransformRemoteChangesetByStateCache']=_0x8ae7a6=>{var _0x12d44a=_0x314fc2,_0x35de44,_0x5e674e,_0x2a2933;if(!((_0x35de44=this['_handlerCallback'])!=null&&_0x35de44[_0x12d44a(0x310)]))throw new Error(_0x12d44a(0x28b));return(_0x2a2933=(_0x5e674e=this[_0x12d44a(0x2e7)])==null?void 0x0:_0x5e674e[_0x12d44a(0x310)])==null?void 0x0:_0x2a2933[_0x12d44a(0x44c)](_0x5e674e,_0x8ae7a6);},_0x51f5a9;}async[_0x4d236c(0x2ae)](){var _0x301e52=_0x4d236c;const _0x3c0a5f=await super[_0x301e52(0x2ae)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x3c92df,_0x4abf44)=>{var _0x1e6e13=_0x301e52;if(_0x3c92df[_0x1e6e13(0x30c)]!==_0x58081b['MUTATION']||_0x4abf44!=null&&_0x4abf44[_0x1e6e13(0x2cf)]||_0x4abf44!=null&&_0x4abf44[_0x1e6e13(0x1d9)]||_0x3c92df['id']===_0x567ff0['id'])return;const _0x5b792e=_0x3c92df[_0x1e6e13(0x3bc)];if((_0x5b792e==null?void 0x0:_0x5b792e[_0x1e6e13(0x40d)])!==this['unitID'])return;const _0x1d3c58=_0x3c92df,_0x11197a=this[_0x1e6e13(0x433)]['interceptor'][_0x1e6e13(0x27c)](this[_0x1e6e13(0x433)][_0x1e6e13(0x1d2)][_0x1e6e13(0x351)]()['COMPRESS_MUTATION_SEND'])([_0x1d3c58],null)||[_0x1d3c58];this['_onLocalMutation'](_0x11197a[0x0]);})),_0x3c0a5f;}};Ct=Mt([k(0x3,_0x318337(_0x319afb)),k(0x4,_0x318337(_0x1ba35d)),k(0x5,_0x318337(_0x2594e6)),k(0x6,_0x318337(_0x4a9c92)),k(0x7,_0x318337(pe)),k(0x8,_0x1b80b0),k(0x9,_0x165bb2),k(0xa,_0x2e32b6),k(0xb,_0x3910d7(_t)),k(0xc,_0x3910d7(X))],Ct);let bt=class extends st{constructor(_0x2f5d03,_0x16b243,_0x1c31c4,_0x4d21f4,_0x2e359a,_0x1590cd,_0x28d311,_0x3bfeaf,_0x5a23aa,_0x3d909c,_0x5a914b,_0x260fc9,_0x549b7f,_0x5030bf){var _0x539576=_0x4d236c;super(_0x2f5d03,_0x1c31c4,_0x16b243,_0x4d21f4,_0x2e359a,_0x1590cd,_0x28d311,_0x5a23aa,_0x3d909c,_0x5a914b,_0x260fc9,_0x549b7f,_0x5030bf),this[_0x539576(0x1ad)]=_0x2f5d03,this[_0x539576(0x30c)]=_0x16b243,this[_0x539576(0x324)]=_0x3bfeaf;}[_0x4d236c(0x36a)](){var _0xa963c6=_0x4d236c;const _0x376e1a=super[_0xa963c6(0x36a)]();return _0x376e1a[_0xa963c6(0x448)]=_0xeedfc9=>this[_0xa963c6(0x324)]['transformSelections'](_0xeedfc9),_0x376e1a;}async['_init'](){var _0x22ca44=_0x4d236c;const _0x12f607=await super[_0x22ca44(0x2ae)]();return this[_0x22ca44(0x20e)](this[_0x22ca44(0x17e)]['onCommandExecuted']((_0x37aa04,_0x1f8a3c)=>{var _0x2a2232=_0x22ca44;if(_0x37aa04[_0x2a2232(0x30c)]!==_0x58081b[_0x2a2232(0x364)]||_0x1f8a3c!=null&&_0x1f8a3c[_0x2a2232(0x2cf)]||_0x1f8a3c!=null&&_0x1f8a3c['onlyLocal'])return;const _0x50b367=_0x37aa04[_0x2a2232(0x3bc)];if((_0x50b367==null?void 0x0:_0x50b367[_0x2a2232(0x40d)])!==this[_0x2a2232(0x1ad)])return;const _0x1bd0f8=_0x37aa04,_0x149166=this['_compressMutationService']['interceptor'][_0x2a2232(0x27c)](this['_compressMutationService'][_0x2a2232(0x1d2)][_0x2a2232(0x351)]()[_0x2a2232(0x298)])([_0x1bd0f8],null)||[_0x1bd0f8];this[_0x2a2232(0x2b7)](_0x149166[0x0]);})),_0x12f607;}};bt=Mt([k(0x3,_0x318337(_0x319afb)),k(0x4,_0x318337(_0x1ba35d)),k(0x5,_0x318337(_0x2594e6)),k(0x6,_0x318337(_0x4a9c92)),k(0x7,_0x318337(nt)),k(0x8,_0x318337(pe)),k(0x9,_0x1b80b0),k(0xa,_0x165bb2),k(0xb,_0x2e32b6),k(0xc,_0x3910d7(_t)),k(0xd,_0x3910d7(X))],bt);var ys=Object[_0x4d236c(0x31d)],Os=Object['getOwnPropertyDescriptor'],Ns=(_0x261b88,_0x2ccda9,_0x5ba40a,_0x5dd683)=>{for(var _0x2e48d0=_0x5dd683>0x1?void 0x0:_0x5dd683?Os(_0x2ccda9,_0x5ba40a):_0x2ccda9,_0x2cbda7=_0x261b88['length']-0x1,_0x148d67;_0x2cbda7>=0x0;_0x2cbda7--)(_0x148d67=_0x261b88[_0x2cbda7])&&(_0x2e48d0=(_0x5dd683?_0x148d67(_0x2ccda9,_0x5ba40a,_0x2e48d0):_0x148d67(_0x2e48d0))||_0x2e48d0);return _0x5dd683&&_0x2e48d0&&ys(_0x2ccda9,_0x5ba40a,_0x2e48d0),_0x2e48d0;},vt=(_0x4ebd2a,_0x2cccdd)=>(_0x419419,_0x1d0935)=>_0x2cccdd(_0x419419,_0x1d0935,_0x4ebd2a);let rt=class extends _0x35a4f1{constructor(_0x1c6277,_0x22b6aa,_0x55a905){var _0x5dc151=_0x4d236c;super(),P(this,_0x5dc151(0x2b1),new Map()),P(this,_0x5dc151(0x1d0),new _0x52e512()),P(this,_0x5dc151(0x3fc),this[_0x5dc151(0x1d0)][_0x5dc151(0x3b2)]()),(this['_injector']=_0x1c6277,this[_0x5dc151(0x481)]=_0x22b6aa,this['_univerInstanceService']=_0x55a905,this[_0x5dc151(0x2ae)]());}['dispose'](){var _0x44bf9c=_0x4d236c;super[_0x44bf9c(0x456)](),this['_entities'][_0x44bf9c(0x19f)](_0x4846d4=>_0x4846d4[_0x44bf9c(0x456)]()),this['_entities'][_0x44bf9c(0x41e)]();}[_0x4d236c(0x42f)](_0x29512d){var _0x597390=_0x4d236c,_0x11fef9;return(_0x11fef9=this[_0x597390(0x2b1)][_0x597390(0x187)](_0x29512d))!=null?_0x11fef9:null;}[_0x4d236c(0x1ac)](_0x3cc672){var _0x1e6653=_0x4d236c;const _0x28ba6c=this[_0x1e6653(0x42f)](_0x3cc672);return _0x28ba6c?_0x9fa4b5(_0x28ba6c):this[_0x1e6653(0x1d0)][_0x1e6653(0x3cf)](_0x1e6df7(_0x38cfe0=>_0x38cfe0[_0x1e6653(0x1ad)]===_0x3cc672));}[_0x4d236c(0x405)](_0x23bb59){var _0x282cba=_0x4d236c;return _0x3be313(this[_0x282cba(0x1ac)](_0x23bb59)[_0x282cba(0x3cf)](_0x1a29c6(()=>{})));}['_init'](){var _0x2d4301=_0x4d236c;this[_0x2d4301(0x263)]['getTypeOfUnitAdded$'](_0x2b3ce0['UNIVER_SHEET'])['pipe'](_0x5ecdcc(this['dispose$']),_0x22efbf(0x10))[_0x2d4301(0x28c)](async _0x1f0807=>{var _0x576e93=_0x2d4301;const _0x40191f=_0x1f0807[_0x576e93(0x370)](),_0xdb6b57=await this[_0x576e93(0x42a)](_0x40191f,Q[_0x576e93(0x2db)]);this[_0x576e93(0x2b1)][_0x576e93(0x406)](_0x40191f,_0xdb6b57);}),this[_0x2d4301(0x263)][_0x2d4301(0x352)](_0x2b3ce0[_0x2d4301(0x32b)])[_0x2d4301(0x3cf)](_0x5ecdcc(this[_0x2d4301(0x291)]),_0x22efbf(0x10))[_0x2d4301(0x3cf)](_0x1e6df7(_0xf6abe0=>!_0xf6abe0[_0x2d4301(0x370)]()[_0x2d4301(0x359)]('__')))[_0x2d4301(0x28c)](async _0x53ba95=>{var _0x15789f=_0x2d4301;const _0x41db7c=_0x53ba95['getUnitId'](),_0x18992f=await this[_0x15789f(0x42a)](_0x41db7c,Q[_0x15789f(0x32b)]);this[_0x15789f(0x2b1)]['set'](_0x41db7c,_0x18992f);}),_0x2ac0c1(this[_0x2d4301(0x263)][_0x2d4301(0x18d)](_0x2b3ce0[_0x2d4301(0x2db)]),this[_0x2d4301(0x263)]['getTypeOfUnitDisposed$'](_0x2b3ce0['UNIVER_DOC']))[_0x2d4301(0x3cf)](_0x5ecdcc(this[_0x2d4301(0x291)]))[_0x2d4301(0x28c)](_0x3f5dd2=>{var _0xf47b3e=_0x2d4301;const _0xd0246f=_0x3f5dd2['getUnitId'](),_0x4a07e6=this[_0xf47b3e(0x2b1)]['get'](_0xd0246f);_0x4a07e6&&(_0x4a07e6[_0xf47b3e(0x456)](),this['_entities'][_0xf47b3e(0x23e)](_0xd0246f));});}async[_0x4d236c(0x42a)](_0x2ee3f6,_0xee9e57){var _0x2be391=_0x4d236c;const _0xd5f8a4=await this[_0x2be391(0x481)][_0x2be391(0x2d0)](_0x2ee3f6),_0x22bc66=this[_0x2be391(0x1f4)][_0x2be391(0x182)](this[_0x2be391(0x247)](_0xee9e57),_0x2ee3f6,_0xee9e57,_0xd5f8a4);return await _0x22bc66[_0x2be391(0x32c)](),this[_0x2be391(0x1d0)][_0x2be391(0x361)](_0x22bc66),_0x22bc66;}[_0x4d236c(0x247)](_0x28df5f){var _0x5281f0=_0x4d236c;switch(_0x28df5f){case Q[_0x5281f0(0x32b)]:return Ct;case Q[_0x5281f0(0x2db)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x28df5f);}}};rt=Ns([vt(0x0,_0x318337(_0x319afb)),vt(0x1,_0x318337(Le)),vt(0x2,_0xbe442f)],rt);var Ps=Object[_0x4d236c(0x31d)],Ds=Object[_0x4d236c(0x261)],ws=(_0xf4b1a2,_0x1d09dd,_0x4b99ba,_0x4e0da8)=>{var _0x446687=_0x4d236c;for(var _0x3b1914=_0x4e0da8>0x1?void 0x0:_0x4e0da8?Ds(_0x1d09dd,_0x4b99ba):_0x1d09dd,_0x2a68c8=_0xf4b1a2[_0x446687(0x3e3)]-0x1,_0x18afb7;_0x2a68c8>=0x0;_0x2a68c8--)(_0x18afb7=_0xf4b1a2[_0x2a68c8])&&(_0x3b1914=(_0x4e0da8?_0x18afb7(_0x1d09dd,_0x4b99ba,_0x3b1914):_0x18afb7(_0x3b1914))||_0x3b1914);return _0x4e0da8&&_0x3b1914&&Ps(_0x1d09dd,_0x4b99ba,_0x3b1914),_0x3b1914;},Xt=(_0x160948,_0xec2df0)=>(_0x308564,_0xecf9dd)=>_0xec2df0(_0x308564,_0xecf9dd,_0x160948);const Us=_0x4d236c(0x467),As=_0x4d236c(0x414);let Rt=class extends _0xd944f{constructor(_0x5accac,_0x3e6acd){var _0x1bdaa7=_0x4d236c;super(),this[_0x1bdaa7(0x263)]=_0x5accac,this[_0x1bdaa7(0x2f2)]=_0x3e6acd,this['_init']();}['_init'](){var _0x5d4470=_0x4d236c;this[_0x5d4470(0x20e)](this[_0x5d4470(0x263)][_0x5d4470(0x257)]['subscribe'](()=>{var _0x24dbf0=_0x5d4470,_0x529c8c;const _0x4968e7=this[_0x24dbf0(0x263)]['getFocusedUnit']();let _0x2dced0=(_0x529c8c=this[_0x24dbf0(0x2f2)][_0x24dbf0(0x436)](Us))!=null?_0x529c8c:As;_0x4968e7 instanceof _0x1b90df&&(_0x2dced0=_0x4968e7[_0x24dbf0(0x22d)]),document[_0x24dbf0(0x227)]=_0x2dced0;}));}};Rt=ws([Xt(0x0,_0xbe442f),Xt(0x1,_0x8980fc)],Rt);var xs=Object[_0x4d236c(0x31d)],Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x5bdc38,_0x46f4dc,_0x400625,_0x1a283f)=>{var _0x3b2e66=_0x4d236c;for(var _0x359c80=_0x1a283f>0x1?void 0x0:_0x1a283f?Ls(_0x46f4dc,_0x400625):_0x46f4dc,_0x52401d=_0x5bdc38[_0x3b2e66(0x3e3)]-0x1,_0x363f0d;_0x52401d>=0x0;_0x52401d--)(_0x363f0d=_0x5bdc38[_0x52401d])&&(_0x359c80=(_0x1a283f?_0x363f0d(_0x46f4dc,_0x400625,_0x359c80):_0x363f0d(_0x359c80))||_0x359c80);return _0x1a283f&&_0x359c80&&xs(_0x46f4dc,_0x400625,_0x359c80),_0x359c80;},pt=(_0x1a14aa,_0x555363)=>(_0x11759a,_0x5cfd19)=>_0x555363(_0x11759a,_0x5cfd19,_0x1a14aa);let ot=class{constructor(_0x21f06a,_0x31aab3,_0x24725c){var _0x3b955a=_0x4d236c;this[_0x3b955a(0x2f2)]=_0x21f06a,this['_httpService']=_0x31aab3,this['localeService']=_0x24725c,this['init']();}[_0x4d236c(0x32c)](){var _0x98a6e7=_0x4d236c;this['_httpService'][_0x98a6e7(0x17a)]({'priority':0x1,'interceptor':(_0x353159,_0x2e3994)=>_0x2e3994(_0x353159)['pipe'](_0x456121(async _0xdf439f=>{var _0x4847aa=_0x98a6e7;const _0x2b8dd5=_0xdf439f;if(_0x2b8dd5['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x4847aa(0x2ab)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0xc0b719=window['encodeURIComponent'](window['location']['href']);window[_0x4847aa(0x23b)][_0x4847aa(0x25d)]=this['_getLoginPath']()+'?url='+_0xc0b719;}}return _0x2b8dd5;}))});}[_0x4d236c(0x17b)](){var _0x259128=_0x4d236c,_0x39a501,_0xec3beb;const _0x2afad3=this[_0x259128(0x2f2)][_0x259128(0x436)](Fn),_0x37239c=this[_0x259128(0x2f2)][_0x259128(0x436)](Y);return(_0xec3beb=(_0x39a501=_0x37239c==null?void 0x0:_0x37239c[_0x259128(0x1cf)])!=null?_0x39a501:_0x2afad3)!=null?_0xec3beb:Vn;}};ot=Ms([pt(0x0,_0x8980fc),pt(0x1,_0x318337(_0x53807a)),pt(0x2,_0x318337(_0x2594e6))],ot);var $s=Object[_0x4d236c(0x31d)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x13d4e1,_0x48df4f,_0x596724,_0x55acdf)=>{var _0x35a239=_0x4d236c;for(var _0x2efd7a=_0x55acdf>0x1?void 0x0:_0x55acdf?Hs(_0x48df4f,_0x596724):_0x48df4f,_0x187528=_0x13d4e1[_0x35a239(0x3e3)]-0x1,_0x137af5;_0x187528>=0x0;_0x187528--)(_0x137af5=_0x13d4e1[_0x187528])&&(_0x2efd7a=(_0x55acdf?_0x137af5(_0x48df4f,_0x596724,_0x2efd7a):_0x137af5(_0x2efd7a))||_0x2efd7a);return _0x55acdf&&_0x2efd7a&&$s(_0x48df4f,_0x596724,_0x2efd7a),_0x2efd7a;},Zt=(_0x4089ad,_0x3eb74a)=>(_0x2711d0,_0x934118)=>_0x3eb74a(_0x2711d0,_0x934118,_0x4089ad);const wi=_0x4d236c(0x219),js=_0x4d236c(0x3d2);let yt=class extends _0xd944f{constructor(_0x381913,_0x139f09){var _0x3824f2=_0x4d236c;super(),this[_0x3824f2(0x468)]=_0x381913,this[_0x3824f2(0x2f2)]=_0x139f09,this[_0x3824f2(0x3e2)]();}[_0x4d236c(0x3e2)](){var _0x4517d2=_0x4d236c;const _0x1c8b6c=this;this[_0x4517d2(0x20e)](this[_0x4517d2(0x468)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x5ed3af({'isMatch'(_0x1c87b5){var _0x45166f=_0x4517d2,_0x52d82e;if(_0x1c87b5[_0x45166f(0x259)]==='POST'&&((_0x52d82e=_0x1c87b5[_0x45166f(0x17f)])!=null&&_0x52d82e[_0x45166f(0x1a9)])){const {objectID:_0x4dac4a,objectType:_0x442cbc}=_0x1c87b5[_0x45166f(0x17f)]['body']||{};if(!_0x4dac4a||_0x442cbc===void 0x0)return!0x1;const _0x1d3d6f=_0x1c8b6c[_0x45166f(0x2d1)]()+'/'+_0x442cbc+_0x45166f(0x465)+_0x4dac4a+'/allowed';if(_0x1c87b5[_0x45166f(0x362)]===_0x1d3d6f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x187f1c){var _0x20c1d8=_0x4517d2,_0x1ca0b8;return(_0x1ca0b8=_0x187f1c[_0x20c1d8(0x17f)])==null?void 0x0:_0x1ca0b8[_0x20c1d8(0x1a9)];},'mergeParamsToRequest'(_0x227528,_0x5b855c){var _0x3e0c90=_0x4517d2;const _0x48d193=_0x1c8b6c[_0x3e0c90(0x2d1)]()+'/-/object/-/batch_allowed',_0x355f14=_0x227528[_0x3e0c90(0x31c)]((_0x2b9f3b,_0x2815cf)=>{var _0x183473=_0x3e0c90;const {unitID:_0x27f4b4,objectID:_0x259249,objectType:_0x1a8209,actions:_0x2b6093}=_0x2815cf;return _0x2b9f3b[_0x27f4b4]||(_0x2b9f3b[_0x27f4b4]={}),_0x2b9f3b[_0x27f4b4][_0x259249]||(_0x2b9f3b[_0x27f4b4][_0x259249]={'objectID':_0x259249,'objectType':_0x1a8209,'actions':[]}),_0x2b9f3b[_0x27f4b4][_0x259249][_0x183473(0x45c)][_0x183473(0x3e7)](..._0x2b6093),_0x2b9f3b;},{}),_0x26d406=[];for(const _0x5e5a4d in _0x355f14)for(const _0x36a0ee in _0x355f14[_0x5e5a4d]){const {actions:_0x10d5c8,objectType:_0x26c3c5}=_0x355f14[_0x5e5a4d][_0x36a0ee],_0x4bf4f6=[...new Set(_0x10d5c8)];_0x26d406[_0x3e0c90(0x3e7)]({'unitID':_0x5e5a4d,'objectID':_0x36a0ee,'objectType':_0x26c3c5,'actions':_0x4bf4f6});}return new _0x848222(_0x3e0c90(0x3fd),_0x48d193,{'headers':_0x5b855c[_0x3e0c90(0x1f5)],'withCredentials':_0x5b855c[_0x3e0c90(0x37b)],'responseType':_0x5b855c[_0x3e0c90(0x218)],'body':{'requests':_0x26d406}});}},{'distributeResult'(_0x1fbc52,_0x1a3329){var _0x9335ac=_0x4517d2;const {objectActions:_0x3da032}=_0x1fbc52;return _0x1a3329[_0x9335ac(0x2ac)](_0x581478=>{var _0x5fceca=_0x9335ac;const {unitID:_0x5a2d0a,objectID:_0x588822,actions:_0x5569f7}=_0x581478,_0x2a1211=_0x3da032[_0x5fceca(0x3f6)](_0x57d0fc=>_0x57d0fc[_0x5fceca(0x1ad)]===_0x5a2d0a&&_0x57d0fc[_0x5fceca(0x1e5)]===_0x588822),_0x48ad65=_0x5569f7[_0x5fceca(0x2ac)](_0x532ef2=>_0x2a1211==null?void 0x0:_0x2a1211[_0x5fceca(0x45c)][_0x5fceca(0x3f6)](_0x178c15=>_0x178c15[_0x5fceca(0x1ec)]===_0x532ef2))[_0x5fceca(0x40a)](_0xa0445a=>!!_0xa0445a);return{'config':_0x581478,'result':{'actions':_0x48ad65,'error':_0x1fbc52['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x263ad2=_0x4d236c,_0x15931d,_0x569db6;const _0x49e23a=this['_configService']['getConfig'](wi),_0x2da3b1=this['_configService'][_0x263ad2(0x436)](Y);return(_0x569db6=(_0x15931d=_0x2da3b1==null?void 0x0:_0x2da3b1[_0x263ad2(0x462)])!=null?_0x15931d:_0x49e23a)!=null?_0x569db6:js;}async[_0x4d236c(0x41b)](_0x317202){var _0x1d6afa=_0x4d236c;const _0x150cd0=this[_0x1d6afa(0x2d1)]()+'/'+_0x317202[_0x1d6afa(0x403)]+_0x1d6afa(0x3ab);return(await this[_0x1d6afa(0x468)]['post'](_0x150cd0,{'body':_0x317202}))[_0x1d6afa(0x1a9)][_0x1d6afa(0x1e5)]||'';}async[_0x4d236c(0x2f6)](_0x1ce2d1){var _0x213e56=_0x4d236c;const _0x123720=this[_0x213e56(0x2d1)]()+_0x213e56(0x20f);return(await this[_0x213e56(0x468)][_0x213e56(0x1ae)](_0x123720,{'body':_0x1ce2d1}))[_0x213e56(0x1a9)][_0x213e56(0x3b7)];}async[_0x4d236c(0x2c4)](_0x1d8b23){var _0x26ef77=_0x4d236c;const _0xcc4256=this[_0x26ef77(0x2d1)]()+'/'+_0x1d8b23['objectType']+_0x26ef77(0x465)+_0x1d8b23[_0x26ef77(0x1e5)];await this[_0x26ef77(0x468)]['put'](_0xcc4256,{'body':_0x1d8b23});}async[_0x4d236c(0x283)](_0x19cde2){var _0x1486e0=_0x4d236c;const _0x5b4ade=this['_getAPIPrefixPath']()+'/'+_0x19cde2['objectType']+_0x1486e0(0x465)+_0x19cde2[_0x1486e0(0x1e5)]+_0x1486e0(0x1b7);return(await this[_0x1486e0(0x468)][_0x1486e0(0x1ae)](_0x5b4ade,{'body':_0x19cde2}))[_0x1486e0(0x1a9)]['actions'];}async[_0x4d236c(0x3d6)](_0x5bc20b){var _0x700099=_0x4d236c;const _0x2440b7=this[_0x700099(0x2d1)]()+_0x700099(0x394);return(await this[_0x700099(0x468)][_0x700099(0x1ae)](_0x2440b7,{'body':{'requests':_0x5bc20b}}))[_0x700099(0x1a9)][_0x700099(0x20d)];}async[_0x4d236c(0x3c9)](_0xf9b0c7){var _0x2bbc46=_0x4d236c;const _0x3d61c3=this[_0x2bbc46(0x2d1)]()+'/'+_0xf9b0c7['objectType']+'/role',_0x112ea1=await this[_0x2bbc46(0x468)][_0x2bbc46(0x1ae)](_0x3d61c3,{'body':_0xf9b0c7});return{'roles':_0x112ea1[_0x2bbc46(0x1a9)][_0x2bbc46(0x24c)],'actions':_0x112ea1[_0x2bbc46(0x1a9)][_0x2bbc46(0x45c)]};}async['deleteCollaborator'](_0x1da712){var _0x56a41a=_0x4d236c;const _0x52d6d2=this[_0x56a41a(0x2d1)]()+_0x56a41a(0x39e);await this['_HTTPService']['delete'](_0x52d6d2,{'params':{'collaboratorID':_0x1da712[_0x56a41a(0x435)],'objectID':_0x1da712[_0x56a41a(0x1e5)],'unitID':_0x1da712[_0x56a41a(0x1ad)]}});}async[_0x4d236c(0x3ce)](_0x1b01e1){var _0x2bba6a=_0x4d236c;const _0x5f30a6=this[_0x2bba6a(0x2d1)]()+_0x2bba6a(0x39e);await this[_0x2bba6a(0x468)][_0x2bba6a(0x432)](_0x5f30a6,{'body':_0x1b01e1});}async[_0x4d236c(0x341)](_0x52e0c4){var _0x37d425=_0x4d236c;const _0x2539b3=this['_getAPIPrefixPath']()+_0x37d425(0x39e);await this[_0x37d425(0x468)][_0x37d425(0x1ae)](_0x2539b3,{'body':_0x52e0c4});}async[_0x4d236c(0x457)](_0x36f370){var _0x4732d7=_0x4d236c;const _0x28e576=this[_0x4732d7(0x2d1)]()+_0x4732d7(0x39e);return(await this[_0x4732d7(0x468)][_0x4732d7(0x187)](_0x28e576,{'params':{'objectID':_0x36f370[_0x4732d7(0x1e5)],'unitID':_0x36f370[_0x4732d7(0x1ad)]}}))[_0x4732d7(0x1a9)][_0x4732d7(0x369)];}async[_0x4d236c(0x41c)](_0x315a2e){var _0x7aa3e9=_0x4d236c;const _0x2adbac=this[_0x7aa3e9(0x2d1)]()+_0x7aa3e9(0x39e);await this['_HTTPService']['put'](_0x2adbac,{'body':_0x315a2e});}};yt=ks([Zt(0x0,_0x318337(_0x53807a)),Zt(0x1,_0x318337(_0x8980fc))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x5f0f85){var _0x1c6b34=_0x4d236c;return _0x5f0f85&&_0x5f0f85[_0x1c6b34(0x3f5)]&&Object[_0x1c6b34(0x45d)][_0x1c6b34(0x188)][_0x1c6b34(0x44c)](_0x5f0f85,_0x1c6b34(0x2c8))?_0x5f0f85[_0x1c6b34(0x2c8)]:_0x5f0f85;}var We={'exports':{}};function Bs(_0x12adae){var _0x28671a=_0x4d236c;throw new Error(_0x28671a(0x3c3)+_0x12adae+_0x28671a(0x428));}var Ge={'exports':{}},Fs=Ge[_0x4d236c(0x363)],Qt;function ne(){var _0x38c809=_0x4d236c;return Qt||(Qt=0x1,function(_0x334853,_0x3f141c){(function(_0x1fd3bf,_0x227b81){var _0xa616=_0x4660;_0x334853[_0xa616(0x363)]=_0x227b81();}(Fs,function(){var _0x5e0dec=_0x5e0dec||function(_0x33e15b,_0x39cada){var _0x579749=_0x4660,_0xcf9a59;if(typeof window<'u'&&window[_0x579749(0x3bf)]&&(_0xcf9a59=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xcf9a59=self['crypto']),typeof globalThis<'u'&&globalThis[_0x579749(0x3bf)]&&(_0xcf9a59=globalThis[_0x579749(0x3bf)]),!_0xcf9a59&&typeof window<'u'&&window[_0x579749(0x29b)]&&(_0xcf9a59=window[_0x579749(0x29b)]),!_0xcf9a59&&typeof mt<'u'&&mt[_0x579749(0x3bf)]&&(_0xcf9a59=mt[_0x579749(0x3bf)]),!_0xcf9a59&&typeof Bs==_0x579749(0x447))try{_0xcf9a59=require(_0x579749(0x3bf));}catch{}var _0x4d0538=function(){var _0x15e4d7=_0x579749;if(_0xcf9a59){if(typeof _0xcf9a59[_0x15e4d7(0x23c)]==_0x15e4d7(0x447))try{return _0xcf9a59['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xcf9a59[_0x15e4d7(0x194)]==_0x15e4d7(0x447))try{return _0xcf9a59['randomBytes'](0x4)[_0x15e4d7(0x2d2)]();}catch{}}throw new Error(_0x15e4d7(0x1bb));},_0x5aa85a=Object[_0x579749(0x41b)]||(function(){function _0x539f5b(){}return function(_0x53c1f0){var _0x5cbfa6=_0x4660,_0x10c5a6;return _0x539f5b[_0x5cbfa6(0x45d)]=_0x53c1f0,_0x10c5a6=new _0x539f5b(),_0x539f5b[_0x5cbfa6(0x45d)]=null,_0x10c5a6;};}()),_0x57a827={},_0x45166e=_0x57a827[_0x579749(0x2fd)]={},_0x386d7a=_0x45166e[_0x579749(0x372)]=(function(){return{'extend':function(_0x4ee853){var _0x53da3c=_0x4660,_0x3942a2=_0x5aa85a(this);return _0x4ee853&&_0x3942a2[_0x53da3c(0x216)](_0x4ee853),(!_0x3942a2[_0x53da3c(0x188)](_0x53da3c(0x32c))||this[_0x53da3c(0x32c)]===_0x3942a2['init'])&&(_0x3942a2[_0x53da3c(0x32c)]=function(){var _0x41e108=_0x53da3c;_0x3942a2[_0x41e108(0x3af)][_0x41e108(0x32c)][_0x41e108(0x266)](this,arguments);}),_0x3942a2[_0x53da3c(0x32c)][_0x53da3c(0x45d)]=_0x3942a2,_0x3942a2['$super']=this,_0x3942a2;},'create':function(){var _0x23e9bc=_0x4660,_0x689766=this[_0x23e9bc(0x206)]();return _0x689766[_0x23e9bc(0x32c)][_0x23e9bc(0x266)](_0x689766,arguments),_0x689766;},'init':function(){},'mixIn':function(_0x3ebcbc){var _0x3440f4=_0x4660;for(var _0x5be07b in _0x3ebcbc)_0x3ebcbc[_0x3440f4(0x188)](_0x5be07b)&&(this[_0x5be07b]=_0x3ebcbc[_0x5be07b]);_0x3ebcbc['hasOwnProperty']('toString')&&(this[_0x3440f4(0x279)]=_0x3ebcbc['toString']);},'clone':function(){var _0x4a1ab4=_0x4660;return this[_0x4a1ab4(0x32c)][_0x4a1ab4(0x45d)][_0x4a1ab4(0x206)](this);}};}()),_0x3d61ef=_0x45166e[_0x579749(0x273)]=_0x386d7a[_0x579749(0x206)]({'init':function(_0x6978aa,_0x1f43e8){var _0x3df89e=_0x579749;_0x6978aa=this[_0x3df89e(0x1ca)]=_0x6978aa||[],_0x1f43e8!=_0x39cada?this[_0x3df89e(0x415)]=_0x1f43e8:this[_0x3df89e(0x415)]=_0x6978aa[_0x3df89e(0x3e3)]*0x4;},'toString':function(_0x20a939){return(_0x20a939||_0x4a3048)['stringify'](this);},'concat':function(_0x2717ec){var _0x211594=_0x579749,_0x5300c2=this['words'],_0x5b8f28=_0x2717ec[_0x211594(0x1ca)],_0x47b683=this[_0x211594(0x415)],_0x457773=_0x2717ec['sigBytes'];if(this[_0x211594(0x3d9)](),_0x47b683%0x4)for(var _0x2c5e62=0x0;_0x2c5e62<_0x457773;_0x2c5e62++){var _0xae5cb6=_0x5b8f28[_0x2c5e62>>>0x2]>>>0x18-_0x2c5e62%0x4*0x8&0xff;_0x5300c2[_0x47b683+_0x2c5e62>>>0x2]|=_0xae5cb6<<0x18-(_0x47b683+_0x2c5e62)%0x4*0x8;}else{for(var _0x3b7032=0x0;_0x3b7032<_0x457773;_0x3b7032+=0x4)_0x5300c2[_0x47b683+_0x3b7032>>>0x2]=_0x5b8f28[_0x3b7032>>>0x2];}return this[_0x211594(0x415)]+=_0x457773,this;},'clamp':function(){var _0x4c13e0=_0x579749,_0x5b4ce6=this[_0x4c13e0(0x1ca)],_0x4c050d=this['sigBytes'];_0x5b4ce6[_0x4c050d>>>0x2]&=0xffffffff<<0x20-_0x4c050d%0x4*0x8,_0x5b4ce6['length']=_0x33e15b[_0x4c13e0(0x356)](_0x4c050d/0x4);},'clone':function(){var _0x42341b=_0x579749,_0xc5002f=_0x386d7a[_0x42341b(0x444)]['call'](this);return _0xc5002f[_0x42341b(0x1ca)]=this[_0x42341b(0x1ca)][_0x42341b(0x19d)](0x0),_0xc5002f;},'random':function(_0x4bea7b){var _0x22f135=_0x579749;for(var _0x383846=[],_0x161c6d=0x0;_0x161c6d<_0x4bea7b;_0x161c6d+=0x4)_0x383846[_0x22f135(0x3e7)](_0x4d0538());return new _0x3d61ef[(_0x22f135(0x32c))](_0x383846,_0x4bea7b);}}),_0x1660e1=_0x57a827[_0x579749(0x38c)]={},_0x4a3048=_0x1660e1[_0x579749(0x318)]={'stringify':function(_0x4659f2){var _0x31e60c=_0x579749;for(var _0x5c0ba2=_0x4659f2[_0x31e60c(0x1ca)],_0x5f170e=_0x4659f2[_0x31e60c(0x415)],_0x512210=[],_0x4aa61b=0x0;_0x4aa61b<_0x5f170e;_0x4aa61b++){var _0x25a0e9=_0x5c0ba2[_0x4aa61b>>>0x2]>>>0x18-_0x4aa61b%0x4*0x8&0xff;_0x512210[_0x31e60c(0x3e7)]((_0x25a0e9>>>0x4)['toString'](0x10)),_0x512210[_0x31e60c(0x3e7)]((_0x25a0e9&0xf)[_0x31e60c(0x279)](0x10));}return _0x512210['join']('');},'parse':function(_0x467d02){var _0x1b8543=_0x579749;for(var _0x5770e7=_0x467d02[_0x1b8543(0x3e3)],_0x171e68=[],_0x197d9d=0x0;_0x197d9d<_0x5770e7;_0x197d9d+=0x2)_0x171e68[_0x197d9d>>>0x3]|=parseInt(_0x467d02['substr'](_0x197d9d,0x2),0x10)<<0x18-_0x197d9d%0x8*0x4;return new _0x3d61ef[(_0x1b8543(0x32c))](_0x171e68,_0x5770e7/0x2);}},_0x4c04d0=_0x1660e1[_0x579749(0x1b6)]={'stringify':function(_0x50af15){var _0x3325c9=_0x579749;for(var _0x5eebcf=_0x50af15[_0x3325c9(0x1ca)],_0x3ec470=_0x50af15['sigBytes'],_0x1ee981=[],_0x4f09d8=0x0;_0x4f09d8<_0x3ec470;_0x4f09d8++){var _0x1a601e=_0x5eebcf[_0x4f09d8>>>0x2]>>>0x18-_0x4f09d8%0x4*0x8&0xff;_0x1ee981[_0x3325c9(0x3e7)](String[_0x3325c9(0x2a5)](_0x1a601e));}return _0x1ee981[_0x3325c9(0x443)]('');},'parse':function(_0x6d4013){var _0x3fdcfb=_0x579749;for(var _0x739f60=_0x6d4013[_0x3fdcfb(0x3e3)],_0x21bfcd=[],_0x113ae9=0x0;_0x113ae9<_0x739f60;_0x113ae9++)_0x21bfcd[_0x113ae9>>>0x2]|=(_0x6d4013[_0x3fdcfb(0x3a7)](_0x113ae9)&0xff)<<0x18-_0x113ae9%0x4*0x8;return new _0x3d61ef['init'](_0x21bfcd,_0x739f60);}},_0x9186da=_0x1660e1[_0x579749(0x2f7)]={'stringify':function(_0xc56e71){var _0xacbd3=_0x579749;try{return decodeURIComponent(escape(_0x4c04d0[_0xacbd3(0x355)](_0xc56e71)));}catch{throw new Error(_0xacbd3(0x300));}},'parse':function(_0x334e0a){return _0x4c04d0['parse'](unescape(encodeURIComponent(_0x334e0a)));}},_0x2231d7=_0x45166e[_0x579749(0x3fb)]=_0x386d7a[_0x579749(0x206)]({'reset':function(){var _0x4dacbe=_0x579749;this[_0x4dacbe(0x2e8)]=new _0x3d61ef[(_0x4dacbe(0x32c))](),this[_0x4dacbe(0x38f)]=0x0;},'_append':function(_0x1b4863){var _0x47dbc4=_0x579749;typeof _0x1b4863==_0x47dbc4(0x407)&&(_0x1b4863=_0x9186da[_0x47dbc4(0x2a8)](_0x1b4863)),this[_0x47dbc4(0x2e8)][_0x47dbc4(0x2f1)](_0x1b4863),this['_nDataBytes']+=_0x1b4863[_0x47dbc4(0x415)];},'_process':function(_0x522506){var _0x22ee7e=_0x579749,_0x3c1321,_0x10d454=this[_0x22ee7e(0x2e8)],_0x474409=_0x10d454['words'],_0x2c81a8=_0x10d454[_0x22ee7e(0x415)],_0x30ac0b=this[_0x22ee7e(0x1e0)],_0x31855a=_0x30ac0b*0x4,_0x252d93=_0x2c81a8/_0x31855a;_0x522506?_0x252d93=_0x33e15b[_0x22ee7e(0x356)](_0x252d93):_0x252d93=_0x33e15b[_0x22ee7e(0x3ca)]((_0x252d93|0x0)-this[_0x22ee7e(0x421)],0x0);var _0x357d41=_0x252d93*_0x30ac0b,_0x3c1416=_0x33e15b[_0x22ee7e(0x1af)](_0x357d41*0x4,_0x2c81a8);if(_0x357d41){for(var _0x26c25f=0x0;_0x26c25f<_0x357d41;_0x26c25f+=_0x30ac0b)this['_doProcessBlock'](_0x474409,_0x26c25f);_0x3c1321=_0x474409['splice'](0x0,_0x357d41),_0x10d454[_0x22ee7e(0x415)]-=_0x3c1416;}return new _0x3d61ef[(_0x22ee7e(0x32c))](_0x3c1321,_0x3c1416);},'clone':function(){var _0x218535=_0x579749,_0xe7c761=_0x386d7a[_0x218535(0x444)][_0x218535(0x44c)](this);return _0xe7c761[_0x218535(0x2e8)]=this[_0x218535(0x2e8)][_0x218535(0x444)](),_0xe7c761;},'_minBufferSize':0x0});_0x45166e[_0x579749(0x1fa)]=_0x2231d7[_0x579749(0x206)]({'cfg':_0x386d7a['extend'](),'init':function(_0x41a3d1){var _0x3b8054=_0x579749;this[_0x3b8054(0x2b8)]=this['cfg'][_0x3b8054(0x206)](_0x41a3d1),this[_0x3b8054(0x22f)]();},'reset':function(){var _0x410046=_0x579749;_0x2231d7[_0x410046(0x22f)][_0x410046(0x44c)](this),this[_0x410046(0x466)]();},'update':function(_0x1e9ec6){var _0x346a2b=_0x579749;return this['_append'](_0x1e9ec6),this[_0x346a2b(0x3f3)](),this;},'finalize':function(_0x4ae4ed){var _0x4f4321=_0x579749;_0x4ae4ed&&this[_0x4f4321(0x1cb)](_0x4ae4ed);var _0x4abb4d=this[_0x4f4321(0x339)]();return _0x4abb4d;},'blockSize':0x10,'_createHelper':function(_0x1511ab){return function(_0xa4245e,_0x461eb5){var _0x6a41=_0x4660;return new _0x1511ab[(_0x6a41(0x32c))](_0x461eb5)[_0x6a41(0x26d)](_0xa4245e);};},'_createHmacHelper':function(_0x129f98){return function(_0x57120c,_0x4fd8b2){var _0x333e36=_0x4660;return new _0x249a1b['HMAC'][(_0x333e36(0x32c))](_0x129f98,_0x4fd8b2)['finalize'](_0x57120c);};}});var _0x249a1b=_0x57a827['algo']={};return _0x57a827;}(Math);return _0x5e0dec;}));}(Ge)),Ge[_0x38c809(0x363)];}var Ke={'exports':{}},Vs=Ke[_0x4d236c(0x363)],ei;function Ui(){var _0x51b735=_0x4d236c;return ei||(ei=0x1,function(_0x230905,_0x2f1d64){(function(_0x3b1740,_0x463bb0){var _0x5263d6=_0x4660;_0x230905[_0x5263d6(0x363)]=_0x463bb0(ne());}(Vs,function(_0x5ca454){var _0x1423b2=_0x4660;return(function(){var _0x3425db=_0x4660,_0x37bd1d=_0x5ca454,_0x3d22e2=_0x37bd1d['lib'],_0x23e890=_0x3d22e2[_0x3425db(0x273)],_0x30c41e=_0x37bd1d[_0x3425db(0x38c)];_0x30c41e['Base64']={'stringify':function(_0x30c51c){var _0x1957f8=_0x3425db,_0x954545=_0x30c51c[_0x1957f8(0x1ca)],_0x20aad1=_0x30c51c[_0x1957f8(0x415)],_0xceea4c=this['_map'];_0x30c51c['clamp']();for(var _0x1aa651=[],_0x4f15c7=0x0;_0x4f15c7<_0x20aad1;_0x4f15c7+=0x3)for(var _0x40d395=_0x954545[_0x4f15c7>>>0x2]>>>0x18-_0x4f15c7%0x4*0x8&0xff,_0x37b970=_0x954545[_0x4f15c7+0x1>>>0x2]>>>0x18-(_0x4f15c7+0x1)%0x4*0x8&0xff,_0x57d1a2=_0x954545[_0x4f15c7+0x2>>>0x2]>>>0x18-(_0x4f15c7+0x2)%0x4*0x8&0xff,_0x465303=_0x40d395<<0x10|_0x37b970<<0x8|_0x57d1a2,_0x4fc2a6=0x0;_0x4fc2a6<0x4&&_0x4f15c7+_0x4fc2a6*0.75<_0x20aad1;_0x4fc2a6++)_0x1aa651[_0x1957f8(0x3e7)](_0xceea4c[_0x1957f8(0x482)](_0x465303>>>0x6*(0x3-_0x4fc2a6)&0x3f));var _0x44922a=_0xceea4c[_0x1957f8(0x482)](0x40);if(_0x44922a){for(;_0x1aa651[_0x1957f8(0x3e3)]%0x4;)_0x1aa651[_0x1957f8(0x3e7)](_0x44922a);}return _0x1aa651[_0x1957f8(0x443)]('');},'parse':function(_0x34b57f){var _0x26de11=_0x3425db,_0x2a4555=_0x34b57f[_0x26de11(0x3e3)],_0x506cea=this[_0x26de11(0x1b2)],_0x28bda5=this[_0x26de11(0x422)];if(!_0x28bda5){_0x28bda5=this[_0x26de11(0x422)]=[];for(var _0x3e9b76=0x0;_0x3e9b76<_0x506cea['length'];_0x3e9b76++)_0x28bda5[_0x506cea[_0x26de11(0x3a7)](_0x3e9b76)]=_0x3e9b76;}var _0x4fefdb=_0x506cea[_0x26de11(0x482)](0x40);if(_0x4fefdb){var _0x120493=_0x34b57f['indexOf'](_0x4fefdb);_0x120493!==-0x1&&(_0x2a4555=_0x120493);}return _0x4dc8f(_0x34b57f,_0x2a4555,_0x28bda5);},'_map':_0x3425db(0x2ba)};function _0x4dc8f(_0x18e502,_0x4a62a3,_0x1f15ae){var _0x241e0d=_0x3425db;for(var _0x2731e8=[],_0x157585=0x0,_0x4dad8c=0x0;_0x4dad8c<_0x4a62a3;_0x4dad8c++)if(_0x4dad8c%0x4){var _0x60da0d=_0x1f15ae[_0x18e502[_0x241e0d(0x3a7)](_0x4dad8c-0x1)]<<_0x4dad8c%0x4*0x2,_0x57d8dc=_0x1f15ae[_0x18e502['charCodeAt'](_0x4dad8c)]>>>0x6-_0x4dad8c%0x4*0x2,_0x13f1d=_0x60da0d|_0x57d8dc;_0x2731e8[_0x157585>>>0x2]|=_0x13f1d<<0x18-_0x157585%0x4*0x8,_0x157585++;}return _0x23e890[_0x241e0d(0x41b)](_0x2731e8,_0x157585);}}()),_0x5ca454[_0x1423b2(0x38c)]['Base64'];}));}(Ke)),Ke[_0x51b735(0x363)];}var ze={'exports':{}},Ws=ze[_0x4d236c(0x363)],ti;function Gs(){var _0x465acf=_0x4d236c;return ti||(ti=0x1,function(_0x1efb82,_0x2aede8){(function(_0x2db687,_0x189e83){_0x1efb82['exports']=_0x189e83(ne());}(Ws,function(_0x277e90){var _0x391318=_0x4660;return function(_0x41a99e){var _0x8df4ca=_0x4660,_0x4fa093=_0x277e90,_0x212b3c=_0x4fa093['lib'],_0x58576e=_0x212b3c[_0x8df4ca(0x273)],_0x2fef3b=_0x212b3c[_0x8df4ca(0x1fa)],_0x29359b=_0x4fa093[_0x8df4ca(0x292)],_0x4639ec=[];(function(){var _0x2d6e86=_0x8df4ca;for(var _0x58e647=0x0;_0x58e647<0x40;_0x58e647++)_0x4639ec[_0x58e647]=_0x41a99e[_0x2d6e86(0x192)](_0x41a99e['sin'](_0x58e647+0x1))*0x100000000|0x0;}());var _0x56ae7c=_0x29359b['MD5']=_0x2fef3b[_0x8df4ca(0x206)]({'_doReset':function(){var _0x458033=_0x8df4ca;this[_0x458033(0x304)]=new _0x58576e[(_0x458033(0x32c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x14ae2a,_0x1fe1c2){var _0x2c2548=_0x8df4ca;for(var _0x4d7396=0x0;_0x4d7396<0x10;_0x4d7396++){var _0x4e4a6f=_0x1fe1c2+_0x4d7396,_0x54b616=_0x14ae2a[_0x4e4a6f];_0x14ae2a[_0x4e4a6f]=(_0x54b616<<0x8|_0x54b616>>>0x18)&0xff00ff|(_0x54b616<<0x18|_0x54b616>>>0x8)&0xff00ff00;}var _0x2e3699=this['_hash'][_0x2c2548(0x1ca)],_0x2a9180=_0x14ae2a[_0x1fe1c2+0x0],_0x561567=_0x14ae2a[_0x1fe1c2+0x1],_0x3ce6e2=_0x14ae2a[_0x1fe1c2+0x2],_0x3a6468=_0x14ae2a[_0x1fe1c2+0x3],_0x594581=_0x14ae2a[_0x1fe1c2+0x4],_0x256e02=_0x14ae2a[_0x1fe1c2+0x5],_0x156ab7=_0x14ae2a[_0x1fe1c2+0x6],_0x5549a0=_0x14ae2a[_0x1fe1c2+0x7],_0x16017c=_0x14ae2a[_0x1fe1c2+0x8],_0x264362=_0x14ae2a[_0x1fe1c2+0x9],_0x2a7305=_0x14ae2a[_0x1fe1c2+0xa],_0x589b63=_0x14ae2a[_0x1fe1c2+0xb],_0x5739d4=_0x14ae2a[_0x1fe1c2+0xc],_0x8c36ed=_0x14ae2a[_0x1fe1c2+0xd],_0x76416=_0x14ae2a[_0x1fe1c2+0xe],_0x387b4f=_0x14ae2a[_0x1fe1c2+0xf],_0xa4208e=_0x2e3699[0x0],_0x594a13=_0x2e3699[0x1],_0x1a76d3=_0x2e3699[0x2],_0x49b0ec=_0x2e3699[0x3];_0xa4208e=_0x510b8f(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x2a9180,0x7,_0x4639ec[0x0]),_0x49b0ec=_0x510b8f(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x561567,0xc,_0x4639ec[0x1]),_0x1a76d3=_0x510b8f(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x3ce6e2,0x11,_0x4639ec[0x2]),_0x594a13=_0x510b8f(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x3a6468,0x16,_0x4639ec[0x3]),_0xa4208e=_0x510b8f(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x594581,0x7,_0x4639ec[0x4]),_0x49b0ec=_0x510b8f(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x256e02,0xc,_0x4639ec[0x5]),_0x1a76d3=_0x510b8f(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x156ab7,0x11,_0x4639ec[0x6]),_0x594a13=_0x510b8f(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x5549a0,0x16,_0x4639ec[0x7]),_0xa4208e=_0x510b8f(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x16017c,0x7,_0x4639ec[0x8]),_0x49b0ec=_0x510b8f(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x264362,0xc,_0x4639ec[0x9]),_0x1a76d3=_0x510b8f(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x2a7305,0x11,_0x4639ec[0xa]),_0x594a13=_0x510b8f(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x589b63,0x16,_0x4639ec[0xb]),_0xa4208e=_0x510b8f(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x5739d4,0x7,_0x4639ec[0xc]),_0x49b0ec=_0x510b8f(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x8c36ed,0xc,_0x4639ec[0xd]),_0x1a76d3=_0x510b8f(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x76416,0x11,_0x4639ec[0xe]),_0x594a13=_0x510b8f(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x387b4f,0x16,_0x4639ec[0xf]),_0xa4208e=_0x465d53(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x561567,0x5,_0x4639ec[0x10]),_0x49b0ec=_0x465d53(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x156ab7,0x9,_0x4639ec[0x11]),_0x1a76d3=_0x465d53(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x589b63,0xe,_0x4639ec[0x12]),_0x594a13=_0x465d53(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x2a9180,0x14,_0x4639ec[0x13]),_0xa4208e=_0x465d53(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x256e02,0x5,_0x4639ec[0x14]),_0x49b0ec=_0x465d53(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x2a7305,0x9,_0x4639ec[0x15]),_0x1a76d3=_0x465d53(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x387b4f,0xe,_0x4639ec[0x16]),_0x594a13=_0x465d53(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594581,0x14,_0x4639ec[0x17]),_0xa4208e=_0x465d53(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x264362,0x5,_0x4639ec[0x18]),_0x49b0ec=_0x465d53(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x76416,0x9,_0x4639ec[0x19]),_0x1a76d3=_0x465d53(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x3a6468,0xe,_0x4639ec[0x1a]),_0x594a13=_0x465d53(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x16017c,0x14,_0x4639ec[0x1b]),_0xa4208e=_0x465d53(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x8c36ed,0x5,_0x4639ec[0x1c]),_0x49b0ec=_0x465d53(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x3ce6e2,0x9,_0x4639ec[0x1d]),_0x1a76d3=_0x465d53(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x5549a0,0xe,_0x4639ec[0x1e]),_0x594a13=_0x465d53(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x5739d4,0x14,_0x4639ec[0x1f]),_0xa4208e=_0x5db4c8(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x256e02,0x4,_0x4639ec[0x20]),_0x49b0ec=_0x5db4c8(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x16017c,0xb,_0x4639ec[0x21]),_0x1a76d3=_0x5db4c8(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x589b63,0x10,_0x4639ec[0x22]),_0x594a13=_0x5db4c8(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x76416,0x17,_0x4639ec[0x23]),_0xa4208e=_0x5db4c8(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x561567,0x4,_0x4639ec[0x24]),_0x49b0ec=_0x5db4c8(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x594581,0xb,_0x4639ec[0x25]),_0x1a76d3=_0x5db4c8(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x5549a0,0x10,_0x4639ec[0x26]),_0x594a13=_0x5db4c8(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x2a7305,0x17,_0x4639ec[0x27]),_0xa4208e=_0x5db4c8(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x8c36ed,0x4,_0x4639ec[0x28]),_0x49b0ec=_0x5db4c8(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x2a9180,0xb,_0x4639ec[0x29]),_0x1a76d3=_0x5db4c8(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x3a6468,0x10,_0x4639ec[0x2a]),_0x594a13=_0x5db4c8(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x156ab7,0x17,_0x4639ec[0x2b]),_0xa4208e=_0x5db4c8(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x264362,0x4,_0x4639ec[0x2c]),_0x49b0ec=_0x5db4c8(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x5739d4,0xb,_0x4639ec[0x2d]),_0x1a76d3=_0x5db4c8(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x387b4f,0x10,_0x4639ec[0x2e]),_0x594a13=_0x5db4c8(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x3ce6e2,0x17,_0x4639ec[0x2f]),_0xa4208e=_0x4a0c2c(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x2a9180,0x6,_0x4639ec[0x30]),_0x49b0ec=_0x4a0c2c(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x5549a0,0xa,_0x4639ec[0x31]),_0x1a76d3=_0x4a0c2c(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x76416,0xf,_0x4639ec[0x32]),_0x594a13=_0x4a0c2c(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x256e02,0x15,_0x4639ec[0x33]),_0xa4208e=_0x4a0c2c(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x5739d4,0x6,_0x4639ec[0x34]),_0x49b0ec=_0x4a0c2c(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x3a6468,0xa,_0x4639ec[0x35]),_0x1a76d3=_0x4a0c2c(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x2a7305,0xf,_0x4639ec[0x36]),_0x594a13=_0x4a0c2c(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x561567,0x15,_0x4639ec[0x37]),_0xa4208e=_0x4a0c2c(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x16017c,0x6,_0x4639ec[0x38]),_0x49b0ec=_0x4a0c2c(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x387b4f,0xa,_0x4639ec[0x39]),_0x1a76d3=_0x4a0c2c(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x156ab7,0xf,_0x4639ec[0x3a]),_0x594a13=_0x4a0c2c(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x8c36ed,0x15,_0x4639ec[0x3b]),_0xa4208e=_0x4a0c2c(_0xa4208e,_0x594a13,_0x1a76d3,_0x49b0ec,_0x594581,0x6,_0x4639ec[0x3c]),_0x49b0ec=_0x4a0c2c(_0x49b0ec,_0xa4208e,_0x594a13,_0x1a76d3,_0x589b63,0xa,_0x4639ec[0x3d]),_0x1a76d3=_0x4a0c2c(_0x1a76d3,_0x49b0ec,_0xa4208e,_0x594a13,_0x3ce6e2,0xf,_0x4639ec[0x3e]),_0x594a13=_0x4a0c2c(_0x594a13,_0x1a76d3,_0x49b0ec,_0xa4208e,_0x264362,0x15,_0x4639ec[0x3f]),_0x2e3699[0x0]=_0x2e3699[0x0]+_0xa4208e|0x0,_0x2e3699[0x1]=_0x2e3699[0x1]+_0x594a13|0x0,_0x2e3699[0x2]=_0x2e3699[0x2]+_0x1a76d3|0x0,_0x2e3699[0x3]=_0x2e3699[0x3]+_0x49b0ec|0x0;},'_doFinalize':function(){var _0x387bb3=_0x8df4ca,_0x1d5fa7=this[_0x387bb3(0x2e8)],_0x269725=_0x1d5fa7['words'],_0x268839=this[_0x387bb3(0x38f)]*0x8,_0x375543=_0x1d5fa7[_0x387bb3(0x415)]*0x8;_0x269725[_0x375543>>>0x5]|=0x80<<0x18-_0x375543%0x20;var _0x733662=_0x41a99e[_0x387bb3(0x3ec)](_0x268839/0x100000000),_0x459b48=_0x268839;_0x269725[(_0x375543+0x40>>>0x9<<0x4)+0xf]=(_0x733662<<0x8|_0x733662>>>0x18)&0xff00ff|(_0x733662<<0x18|_0x733662>>>0x8)&0xff00ff00,_0x269725[(_0x375543+0x40>>>0x9<<0x4)+0xe]=(_0x459b48<<0x8|_0x459b48>>>0x18)&0xff00ff|(_0x459b48<<0x18|_0x459b48>>>0x8)&0xff00ff00,_0x1d5fa7['sigBytes']=(_0x269725[_0x387bb3(0x3e3)]+0x1)*0x4,this[_0x387bb3(0x3f3)]();for(var _0x5d9ce6=this['_hash'],_0x1f7c37=_0x5d9ce6[_0x387bb3(0x1ca)],_0x21d630=0x0;_0x21d630<0x4;_0x21d630++){var _0x5b1442=_0x1f7c37[_0x21d630];_0x1f7c37[_0x21d630]=(_0x5b1442<<0x8|_0x5b1442>>>0x18)&0xff00ff|(_0x5b1442<<0x18|_0x5b1442>>>0x8)&0xff00ff00;}return _0x5d9ce6;},'clone':function(){var _0x5c1a10=_0x8df4ca,_0x36d835=_0x2fef3b[_0x5c1a10(0x444)][_0x5c1a10(0x44c)](this);return _0x36d835[_0x5c1a10(0x304)]=this[_0x5c1a10(0x304)][_0x5c1a10(0x444)](),_0x36d835;}});function _0x510b8f(_0xc12039,_0x55c733,_0x33bede,_0x2c8a39,_0x4b23b7,_0x23060f,_0xc67348){var _0x46f4ea=_0xc12039+(_0x55c733&_0x33bede|~_0x55c733&_0x2c8a39)+_0x4b23b7+_0xc67348;return(_0x46f4ea<<_0x23060f|_0x46f4ea>>>0x20-_0x23060f)+_0x55c733;}function _0x465d53(_0x11477f,_0x4bc168,_0x2de3ba,_0x267fec,_0x3e2f40,_0x44d25d,_0x20de99){var _0x2c2712=_0x11477f+(_0x4bc168&_0x267fec|_0x2de3ba&~_0x267fec)+_0x3e2f40+_0x20de99;return(_0x2c2712<<_0x44d25d|_0x2c2712>>>0x20-_0x44d25d)+_0x4bc168;}function _0x5db4c8(_0x403674,_0x4b65cb,_0x180c87,_0x481a8f,_0xdf0332,_0x4f3ef1,_0xe8148){var _0xf9114c=_0x403674+(_0x4b65cb^_0x180c87^_0x481a8f)+_0xdf0332+_0xe8148;return(_0xf9114c<<_0x4f3ef1|_0xf9114c>>>0x20-_0x4f3ef1)+_0x4b65cb;}function _0x4a0c2c(_0x4f452e,_0x391778,_0x202856,_0x2b21fc,_0x1b5317,_0x25336a,_0x550f2e){var _0x2869d7=_0x4f452e+(_0x202856^(_0x391778|~_0x2b21fc))+_0x1b5317+_0x550f2e;return(_0x2869d7<<_0x25336a|_0x2869d7>>>0x20-_0x25336a)+_0x391778;}_0x4fa093[_0x8df4ca(0x28e)]=_0x2fef3b['_createHelper'](_0x56ae7c),_0x4fa093[_0x8df4ca(0x178)]=_0x2fef3b[_0x8df4ca(0x1a2)](_0x56ae7c);}(Math),_0x277e90[_0x391318(0x28e)];}));}(ze)),ze[_0x465acf(0x363)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x4d236c(0x363)],ii;function zs(){var _0x1dd428=_0x4d236c;return ii||(ii=0x1,function(_0xcd3886,_0x538d12){(function(_0x117ed8,_0x23a514){var _0x4a7ef7=_0x4660;_0xcd3886[_0x4a7ef7(0x363)]=_0x23a514(ne());}(Ks,function(_0x28319d){var _0x3ac125=_0x4660;return(function(){var _0xc84514=_0x4660,_0x27b211=_0x28319d,_0x32bcc5=_0x27b211[_0xc84514(0x2fd)],_0x551746=_0x32bcc5[_0xc84514(0x273)],_0x33360c=_0x32bcc5[_0xc84514(0x1fa)],_0x5dbc75=_0x27b211[_0xc84514(0x292)],_0x3d3116=[],_0x5b5b70=_0x5dbc75[_0xc84514(0x3f0)]=_0x33360c[_0xc84514(0x206)]({'_doReset':function(){var _0xa5ec5c=_0xc84514;this['_hash']=new _0x551746[(_0xa5ec5c(0x32c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2b9b8f,_0x30f1ee){var _0x579237=_0xc84514;for(var _0x2dd8e0=this[_0x579237(0x304)][_0x579237(0x1ca)],_0x2eca56=_0x2dd8e0[0x0],_0x1477d3=_0x2dd8e0[0x1],_0x464f70=_0x2dd8e0[0x2],_0x502dea=_0x2dd8e0[0x3],_0x3a0764=_0x2dd8e0[0x4],_0x3e6307=0x0;_0x3e6307<0x50;_0x3e6307++){if(_0x3e6307<0x10)_0x3d3116[_0x3e6307]=_0x2b9b8f[_0x30f1ee+_0x3e6307]|0x0;else{var _0x2b4e9b=_0x3d3116[_0x3e6307-0x3]^_0x3d3116[_0x3e6307-0x8]^_0x3d3116[_0x3e6307-0xe]^_0x3d3116[_0x3e6307-0x10];_0x3d3116[_0x3e6307]=_0x2b4e9b<<0x1|_0x2b4e9b>>>0x1f;}var _0x37a891=(_0x2eca56<<0x5|_0x2eca56>>>0x1b)+_0x3a0764+_0x3d3116[_0x3e6307];_0x3e6307<0x14?_0x37a891+=(_0x1477d3&_0x464f70|~_0x1477d3&_0x502dea)+0x5a827999:_0x3e6307<0x28?_0x37a891+=(_0x1477d3^_0x464f70^_0x502dea)+0x6ed9eba1:_0x3e6307<0x3c?_0x37a891+=(_0x1477d3&_0x464f70|_0x1477d3&_0x502dea|_0x464f70&_0x502dea)-0x70e44324:_0x37a891+=(_0x1477d3^_0x464f70^_0x502dea)-0x359d3e2a,_0x3a0764=_0x502dea,_0x502dea=_0x464f70,_0x464f70=_0x1477d3<<0x1e|_0x1477d3>>>0x2,_0x1477d3=_0x2eca56,_0x2eca56=_0x37a891;}_0x2dd8e0[0x0]=_0x2dd8e0[0x0]+_0x2eca56|0x0,_0x2dd8e0[0x1]=_0x2dd8e0[0x1]+_0x1477d3|0x0,_0x2dd8e0[0x2]=_0x2dd8e0[0x2]+_0x464f70|0x0,_0x2dd8e0[0x3]=_0x2dd8e0[0x3]+_0x502dea|0x0,_0x2dd8e0[0x4]=_0x2dd8e0[0x4]+_0x3a0764|0x0;},'_doFinalize':function(){var _0x3a0478=_0xc84514,_0x4471a4=this['_data'],_0x2d3137=_0x4471a4[_0x3a0478(0x1ca)],_0x271d56=this[_0x3a0478(0x38f)]*0x8,_0x292f52=_0x4471a4['sigBytes']*0x8;return _0x2d3137[_0x292f52>>>0x5]|=0x80<<0x18-_0x292f52%0x20,_0x2d3137[(_0x292f52+0x40>>>0x9<<0x4)+0xe]=Math[_0x3a0478(0x3ec)](_0x271d56/0x100000000),_0x2d3137[(_0x292f52+0x40>>>0x9<<0x4)+0xf]=_0x271d56,_0x4471a4[_0x3a0478(0x415)]=_0x2d3137[_0x3a0478(0x3e3)]*0x4,this[_0x3a0478(0x3f3)](),this[_0x3a0478(0x304)];},'clone':function(){var _0x223a88=_0xc84514,_0x44b2fe=_0x33360c['clone'][_0x223a88(0x44c)](this);return _0x44b2fe[_0x223a88(0x304)]=this[_0x223a88(0x304)][_0x223a88(0x444)](),_0x44b2fe;}});_0x27b211[_0xc84514(0x3f0)]=_0x33360c[_0xc84514(0x3cb)](_0x5b5b70),_0x27b211[_0xc84514(0x17d)]=_0x33360c[_0xc84514(0x1a2)](_0x5b5b70);}()),_0x28319d[_0x3ac125(0x3f0)];}));}(qe)),qe[_0x1dd428(0x363)];}var Je={'exports':{}},Ys=Je['exports'],ni;function qs(){return ni||(ni=0x1,function(_0x120acf,_0xb61741){(function(_0x53dc78,_0x35515b){var _0x33a1df=_0x4660;_0x120acf[_0x33a1df(0x363)]=_0x35515b(ne());}(Ys,function(_0x2fc690){(function(){var _0x4aa807=_0x4660,_0x17ef7b=_0x2fc690,_0x59b8b3=_0x17ef7b[_0x4aa807(0x2fd)],_0x2f3096=_0x59b8b3[_0x4aa807(0x372)],_0x430cef=_0x17ef7b[_0x4aa807(0x38c)],_0x4cf134=_0x430cef[_0x4aa807(0x2f7)],_0x1e14b9=_0x17ef7b[_0x4aa807(0x292)];_0x1e14b9[_0x4aa807(0x175)]=_0x2f3096[_0x4aa807(0x206)]({'init':function(_0x4aaab3,_0x556caa){var _0x2baabe=_0x4aa807;_0x4aaab3=this[_0x2baabe(0x40f)]=new _0x4aaab3[(_0x2baabe(0x32c))](),typeof _0x556caa==_0x2baabe(0x407)&&(_0x556caa=_0x4cf134[_0x2baabe(0x2a8)](_0x556caa));var _0x3e39e0=_0x4aaab3[_0x2baabe(0x1e0)],_0x140861=_0x3e39e0*0x4;_0x556caa[_0x2baabe(0x415)]>_0x140861&&(_0x556caa=_0x4aaab3['finalize'](_0x556caa)),_0x556caa[_0x2baabe(0x3d9)]();for(var _0x13165b=this[_0x2baabe(0x258)]=_0x556caa[_0x2baabe(0x444)](),_0x38cbb4=this[_0x2baabe(0x438)]=_0x556caa[_0x2baabe(0x444)](),_0x4759c6=_0x13165b['words'],_0x18e78b=_0x38cbb4['words'],_0x417d03=0x0;_0x417d03<_0x3e39e0;_0x417d03++)_0x4759c6[_0x417d03]^=0x5c5c5c5c,_0x18e78b[_0x417d03]^=0x36363636;_0x13165b[_0x2baabe(0x415)]=_0x38cbb4[_0x2baabe(0x415)]=_0x140861,this['reset']();},'reset':function(){var _0x16e9a0=_0x4aa807,_0x3dbe1c=this['_hasher'];_0x3dbe1c['reset'](),_0x3dbe1c[_0x16e9a0(0x2c4)](this[_0x16e9a0(0x438)]);},'update':function(_0x51ad2c){var _0xab8cf9=_0x4aa807;return this['_hasher'][_0xab8cf9(0x2c4)](_0x51ad2c),this;},'finalize':function(_0x5deace){var _0x4c9641=_0x4aa807,_0x20dd0d=this['_hasher'],_0x1c82d8=_0x20dd0d[_0x4c9641(0x26d)](_0x5deace);_0x20dd0d[_0x4c9641(0x22f)]();var _0x469774=_0x20dd0d[_0x4c9641(0x26d)](this[_0x4c9641(0x258)][_0x4c9641(0x444)]()[_0x4c9641(0x2f1)](_0x1c82d8));return _0x469774;}});}());}));}(Je)),Je['exports'];}var Js=Ye['exports'],si;function Ai(){return si||(si=0x1,function(_0xb77a0c,_0x729e2e){(function(_0x41fc5f,_0x41a560,_0x55bca3){var _0x5c6be7=_0x4660;_0xb77a0c[_0x5c6be7(0x363)]=_0x41a560(ne(),zs(),qs());}(Js,function(_0x53b29a){var _0x514acd=_0x4660;return(function(){var _0x5c8953=_0x4660,_0x4d9241=_0x53b29a,_0x8bee0c=_0x4d9241[_0x5c8953(0x2fd)],_0xae38ec=_0x8bee0c[_0x5c8953(0x372)],_0x41aace=_0x8bee0c[_0x5c8953(0x273)],_0x5a8e6c=_0x4d9241[_0x5c8953(0x292)],_0x3a58a3=_0x5a8e6c[_0x5c8953(0x28e)],_0x2301a6=_0x5a8e6c[_0x5c8953(0x36c)]=_0xae38ec[_0x5c8953(0x206)]({'cfg':_0xae38ec['extend']({'keySize':0x80/0x20,'hasher':_0x3a58a3,'iterations':0x1}),'init':function(_0x1be9a0){var _0x47b88a=_0x5c8953;this['cfg']=this['cfg'][_0x47b88a(0x206)](_0x1be9a0);},'compute':function(_0x495a22,_0x3a3c77){var _0x243634=_0x5c8953;for(var _0x11221c,_0x5732e5=this[_0x243634(0x2b8)],_0x4327f1=_0x5732e5[_0x243634(0x43c)][_0x243634(0x41b)](),_0xcc67a6=_0x41aace[_0x243634(0x41b)](),_0x5499a5=_0xcc67a6['words'],_0x3a89b5=_0x5732e5[_0x243634(0x358)],_0x5ec48d=_0x5732e5[_0x243634(0x217)];_0x5499a5[_0x243634(0x3e3)]<_0x3a89b5;){_0x11221c&&_0x4327f1[_0x243634(0x2c4)](_0x11221c),_0x11221c=_0x4327f1['update'](_0x495a22)[_0x243634(0x26d)](_0x3a3c77),_0x4327f1[_0x243634(0x22f)]();for(var _0x3a5748=0x1;_0x3a5748<_0x5ec48d;_0x3a5748++)_0x11221c=_0x4327f1['finalize'](_0x11221c),_0x4327f1[_0x243634(0x22f)]();_0xcc67a6['concat'](_0x11221c);}return _0xcc67a6[_0x243634(0x415)]=_0x3a89b5*0x4,_0xcc67a6;}});_0x4d9241[_0x5c8953(0x36c)]=function(_0x3872f8,_0x2b5886,_0x261e06){var _0x2e1945=_0x5c8953;return _0x2301a6['create'](_0x261e06)[_0x2e1945(0x3d5)](_0x3872f8,_0x2b5886);};}()),_0x53b29a[_0x514acd(0x36c)];}));}(Ye)),Ye['exports'];}var Xe={'exports':{}},Xs=Xe['exports'],ri;function xi(){var _0x4a4e9d=_0x4d236c;return ri||(ri=0x1,function(_0x3dc2be,_0x49b30b){(function(_0x1cc85b,_0x215df3,_0x15857a){var _0x2e91c=_0x4660;_0x3dc2be[_0x2e91c(0x363)]=_0x215df3(ne(),Ai());}(Xs,function(_0x49de3d){var _0x18523c=_0x4660;_0x49de3d[_0x18523c(0x2fd)]['Cipher']||function(_0x45a5e0){var _0x55b01f=_0x18523c,_0x2d3ff3=_0x49de3d,_0x512e49=_0x2d3ff3[_0x55b01f(0x2fd)],_0x3d3ebc=_0x512e49[_0x55b01f(0x372)],_0x2f6ef8=_0x512e49[_0x55b01f(0x273)],_0x5e754e=_0x512e49[_0x55b01f(0x3fb)],_0x4f65af=_0x2d3ff3[_0x55b01f(0x38c)];_0x4f65af[_0x55b01f(0x2f7)];var _0x252cda=_0x4f65af['Base64'],_0x5706ee=_0x2d3ff3[_0x55b01f(0x292)],_0x2eebf3=_0x5706ee['EvpKDF'],_0x3f61ea=_0x512e49[_0x55b01f(0x2f8)]=_0x5e754e[_0x55b01f(0x206)]({'cfg':_0x3d3ebc[_0x55b01f(0x206)](),'createEncryptor':function(_0x5b729c,_0x49ddc1){var _0x51621b=_0x55b01f;return this[_0x51621b(0x41b)](this[_0x51621b(0x1be)],_0x5b729c,_0x49ddc1);},'createDecryptor':function(_0x1e0991,_0x112f21){var _0x498674=_0x55b01f;return this[_0x498674(0x41b)](this['_DEC_XFORM_MODE'],_0x1e0991,_0x112f21);},'init':function(_0xc8a5ec,_0x49a74b,_0x2b42ee){var _0x5a17ca=_0x55b01f;this[_0x5a17ca(0x2b8)]=this['cfg'][_0x5a17ca(0x206)](_0x2b42ee),this[_0x5a17ca(0x1b1)]=_0xc8a5ec,this['_key']=_0x49a74b,this[_0x5a17ca(0x22f)]();},'reset':function(){var _0x12dfb3=_0x55b01f;_0x5e754e[_0x12dfb3(0x22f)][_0x12dfb3(0x44c)](this),this['_doReset']();},'process':function(_0x232ff5){var _0x56ab83=_0x55b01f;return this[_0x56ab83(0x1cb)](_0x232ff5),this['_process']();},'finalize':function(_0x244916){var _0x527d63=_0x55b01f;_0x244916&&this[_0x527d63(0x1cb)](_0x244916);var _0xd06ce0=this[_0x527d63(0x339)]();return _0xd06ce0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x533fd5(_0x351c9c){var _0x38304b=_0x4660;return typeof _0x351c9c==_0x38304b(0x407)?_0x53411f:_0x374554;}return function(_0x411f4e){return{'encrypt':function(_0xefe041,_0x33bd15,_0x2fa2c){var _0x4dc1f4=_0x4660;return _0x533fd5(_0x33bd15)[_0x4dc1f4(0x180)](_0x411f4e,_0xefe041,_0x33bd15,_0x2fa2c);},'decrypt':function(_0x1ff033,_0x121eb0,_0x1fead1){var _0x385c60=_0x4660;return _0x533fd5(_0x121eb0)[_0x385c60(0x186)](_0x411f4e,_0x1ff033,_0x121eb0,_0x1fead1);}};};}())});_0x512e49[_0x55b01f(0x23d)]=_0x3f61ea['extend']({'_doFinalize':function(){var _0x29a875=_0x55b01f,_0x1ad344=this[_0x29a875(0x3f3)](!0x0);return _0x1ad344;},'blockSize':0x1});var _0xf7fdef=_0x2d3ff3['mode']={},_0x33fa42=_0x512e49['BlockCipherMode']=_0x3d3ebc[_0x55b01f(0x206)]({'createEncryptor':function(_0x187b44,_0x82f6d){var _0x402095=_0x55b01f;return this[_0x402095(0x1e8)][_0x402095(0x41b)](_0x187b44,_0x82f6d);},'createDecryptor':function(_0x17895e,_0x1f539d){var _0x5a2e39=_0x55b01f;return this['Decryptor'][_0x5a2e39(0x41b)](_0x17895e,_0x1f539d);},'init':function(_0x584f93,_0x495ede){var _0x5823a3=_0x55b01f;this[_0x5823a3(0x29a)]=_0x584f93,this[_0x5823a3(0x2d6)]=_0x495ede;}}),_0x47e0cc=_0xf7fdef['CBC']=(function(){var _0x597543=_0x55b01f,_0x496433=_0x33fa42[_0x597543(0x206)]();_0x496433[_0x597543(0x1e8)]=_0x496433['extend']({'processBlock':function(_0x171706,_0x1ebd5f){var _0x3cd94c=_0x597543,_0x5dfeab=this[_0x3cd94c(0x29a)],_0x38d95a=_0x5dfeab[_0x3cd94c(0x1e0)];_0x32afb9[_0x3cd94c(0x44c)](this,_0x171706,_0x1ebd5f,_0x38d95a),_0x5dfeab['encryptBlock'](_0x171706,_0x1ebd5f),this[_0x3cd94c(0x2ef)]=_0x171706[_0x3cd94c(0x19d)](_0x1ebd5f,_0x1ebd5f+_0x38d95a);}}),_0x496433[_0x597543(0x18e)]=_0x496433['extend']({'processBlock':function(_0x1d7006,_0x367537){var _0x988c7a=_0x597543,_0x294035=this['_cipher'],_0x4231ec=_0x294035[_0x988c7a(0x1e0)],_0x39b614=_0x1d7006[_0x988c7a(0x19d)](_0x367537,_0x367537+_0x4231ec);_0x294035[_0x988c7a(0x378)](_0x1d7006,_0x367537),_0x32afb9[_0x988c7a(0x44c)](this,_0x1d7006,_0x367537,_0x4231ec),this[_0x988c7a(0x2ef)]=_0x39b614;}});function _0x32afb9(_0x20d7d2,_0x4d1bc5,_0x35654){var _0x3ee0b5=_0x597543,_0x5e076e,_0x4c9e5e=this[_0x3ee0b5(0x2d6)];_0x4c9e5e?(_0x5e076e=_0x4c9e5e,this[_0x3ee0b5(0x2d6)]=_0x45a5e0):_0x5e076e=this[_0x3ee0b5(0x2ef)];for(var _0x5f4895=0x0;_0x5f4895<_0x35654;_0x5f4895++)_0x20d7d2[_0x4d1bc5+_0x5f4895]^=_0x5e076e[_0x5f4895];}return _0x496433;}()),_0x11e70d=_0x2d3ff3[_0x55b01f(0x383)]={},_0x18ec8b=_0x11e70d[_0x55b01f(0x1f9)]={'pad':function(_0x3b737d,_0x1cd2b2){var _0x321032=_0x55b01f;for(var _0x4d0962=_0x1cd2b2*0x4,_0x2539ad=_0x4d0962-_0x3b737d['sigBytes']%_0x4d0962,_0x57a901=_0x2539ad<<0x18|_0x2539ad<<0x10|_0x2539ad<<0x8|_0x2539ad,_0x3bd92d=[],_0x564755=0x0;_0x564755<_0x2539ad;_0x564755+=0x4)_0x3bd92d['push'](_0x57a901);var _0x1fec7e=_0x2f6ef8[_0x321032(0x41b)](_0x3bd92d,_0x2539ad);_0x3b737d[_0x321032(0x2f1)](_0x1fec7e);},'unpad':function(_0x250acf){var _0x4d01fa=_0x55b01f,_0x4cf327=_0x250acf[_0x4d01fa(0x1ca)][_0x250acf[_0x4d01fa(0x415)]-0x1>>>0x2]&0xff;_0x250acf[_0x4d01fa(0x415)]-=_0x4cf327;}};_0x512e49['BlockCipher']=_0x3f61ea[_0x55b01f(0x206)]({'cfg':_0x3f61ea[_0x55b01f(0x2b8)]['extend']({'mode':_0x47e0cc,'padding':_0x18ec8b}),'reset':function(){var _0x3abb32=_0x55b01f,_0x783648;_0x3f61ea['reset'][_0x3abb32(0x44c)](this);var _0x4e9896=this['cfg'],_0x33dccd=_0x4e9896['iv'],_0x358cd1=_0x4e9896[_0x3abb32(0x1a5)];this['_xformMode']==this[_0x3abb32(0x1be)]?_0x783648=_0x358cd1[_0x3abb32(0x33d)]:(_0x783648=_0x358cd1[_0x3abb32(0x396)],this[_0x3abb32(0x421)]=0x1),this[_0x3abb32(0x381)]&&this[_0x3abb32(0x381)][_0x3abb32(0x317)]==_0x783648?this[_0x3abb32(0x381)][_0x3abb32(0x32c)](this,_0x33dccd&&_0x33dccd[_0x3abb32(0x1ca)]):(this[_0x3abb32(0x381)]=_0x783648['call'](_0x358cd1,this,_0x33dccd&&_0x33dccd[_0x3abb32(0x1ca)]),this['_mode'][_0x3abb32(0x317)]=_0x783648);},'_doProcessBlock':function(_0x1756d1,_0x9769d8){var _0x1cc584=_0x55b01f;this[_0x1cc584(0x381)][_0x1cc584(0x2ec)](_0x1756d1,_0x9769d8);},'_doFinalize':function(){var _0x4c498a=_0x55b01f,_0x1030ce,_0x576d4c=this[_0x4c498a(0x2b8)][_0x4c498a(0x451)];return this[_0x4c498a(0x1b1)]==this['_ENC_XFORM_MODE']?(_0x576d4c['pad'](this[_0x4c498a(0x2e8)],this[_0x4c498a(0x1e0)]),_0x1030ce=this[_0x4c498a(0x3f3)](!0x0)):(_0x1030ce=this[_0x4c498a(0x3f3)](!0x0),_0x576d4c[_0x4c498a(0x2a0)](_0x1030ce)),_0x1030ce;},'blockSize':0x80/0x20});var _0x173986=_0x512e49['CipherParams']=_0x3d3ebc['extend']({'init':function(_0x2dd9ac){this['mixIn'](_0x2dd9ac);},'toString':function(_0x4790b5){var _0x48c03e=_0x55b01f;return(_0x4790b5||this[_0x48c03e(0x37a)])[_0x48c03e(0x355)](this);}}),_0xb756a4=_0x2d3ff3[_0x55b01f(0x1d8)]={},_0x13846b=_0xb756a4[_0x55b01f(0x251)]={'stringify':function(_0x13ffdd){var _0x2d5489=_0x55b01f,_0x7524ba,_0x2ecaff=_0x13ffdd[_0x2d5489(0x3b0)],_0x1fb3f8=_0x13ffdd['salt'];return _0x1fb3f8?_0x7524ba=_0x2f6ef8[_0x2d5489(0x41b)]([0x53616c74,0x65645f5f])[_0x2d5489(0x2f1)](_0x1fb3f8)[_0x2d5489(0x2f1)](_0x2ecaff):_0x7524ba=_0x2ecaff,_0x7524ba[_0x2d5489(0x279)](_0x252cda);},'parse':function(_0x3ece9d){var _0x45f47b=_0x55b01f,_0x4373aa,_0x161e4f=_0x252cda['parse'](_0x3ece9d),_0x33dc6a=_0x161e4f[_0x45f47b(0x1ca)];return _0x33dc6a[0x0]==0x53616c74&&_0x33dc6a[0x1]==0x65645f5f&&(_0x4373aa=_0x2f6ef8['create'](_0x33dc6a['slice'](0x2,0x4)),_0x33dc6a['splice'](0x0,0x4),_0x161e4f['sigBytes']-=0x10),_0x173986[_0x45f47b(0x41b)]({'ciphertext':_0x161e4f,'salt':_0x4373aa});}},_0x374554=_0x512e49['SerializableCipher']=_0x3d3ebc['extend']({'cfg':_0x3d3ebc[_0x55b01f(0x206)]({'format':_0x13846b}),'encrypt':function(_0x28cda7,_0xd8d6,_0x196845,_0x6287ee){var _0x3c7707=_0x55b01f;_0x6287ee=this['cfg'][_0x3c7707(0x206)](_0x6287ee);var _0x54fa08=_0x28cda7[_0x3c7707(0x33d)](_0x196845,_0x6287ee),_0x173ce5=_0x54fa08[_0x3c7707(0x26d)](_0xd8d6),_0x4174a9=_0x54fa08[_0x3c7707(0x2b8)];return _0x173986['create']({'ciphertext':_0x173ce5,'key':_0x196845,'iv':_0x4174a9['iv'],'algorithm':_0x28cda7,'mode':_0x4174a9[_0x3c7707(0x1a5)],'padding':_0x4174a9[_0x3c7707(0x451)],'blockSize':_0x28cda7['blockSize'],'formatter':_0x6287ee[_0x3c7707(0x1d8)]});},'decrypt':function(_0x72db3c,_0x30a33f,_0x4e5826,_0x54cc5b){var _0x7ef406=_0x55b01f;_0x54cc5b=this[_0x7ef406(0x2b8)][_0x7ef406(0x206)](_0x54cc5b),_0x30a33f=this[_0x7ef406(0x18f)](_0x30a33f,_0x54cc5b['format']);var _0x20a967=_0x72db3c[_0x7ef406(0x396)](_0x4e5826,_0x54cc5b)[_0x7ef406(0x26d)](_0x30a33f['ciphertext']);return _0x20a967;},'_parse':function(_0x5b114b,_0x5a7328){var _0x1d6fe5=_0x55b01f;return typeof _0x5b114b==_0x1d6fe5(0x407)?_0x5a7328[_0x1d6fe5(0x2a8)](_0x5b114b,this):_0x5b114b;}}),_0x2783e7=_0x2d3ff3[_0x55b01f(0x239)]={},_0x370fbf=_0x2783e7[_0x55b01f(0x251)]={'execute':function(_0x790c35,_0x4af554,_0x55b8ea,_0xd500e0,_0x3ec6a8){var _0x2cf2ee=_0x55b01f;if(_0xd500e0||(_0xd500e0=_0x2f6ef8['random'](0x40/0x8)),_0x3ec6a8)var _0x121926=_0x2eebf3[_0x2cf2ee(0x41b)]({'keySize':_0x4af554+_0x55b8ea,'hasher':_0x3ec6a8})[_0x2cf2ee(0x3d5)](_0x790c35,_0xd500e0);else var _0x121926=_0x2eebf3['create']({'keySize':_0x4af554+_0x55b8ea})[_0x2cf2ee(0x3d5)](_0x790c35,_0xd500e0);var _0x143fb6=_0x2f6ef8[_0x2cf2ee(0x41b)](_0x121926[_0x2cf2ee(0x1ca)][_0x2cf2ee(0x19d)](_0x4af554),_0x55b8ea*0x4);return _0x121926[_0x2cf2ee(0x415)]=_0x4af554*0x4,_0x173986['create']({'key':_0x121926,'iv':_0x143fb6,'salt':_0xd500e0});}},_0x53411f=_0x512e49[_0x55b01f(0x2c3)]=_0x374554[_0x55b01f(0x206)]({'cfg':_0x374554[_0x55b01f(0x2b8)]['extend']({'kdf':_0x370fbf}),'encrypt':function(_0x2ef2fd,_0x3ccb71,_0x322569,_0x5179c4){var _0x23f527=_0x55b01f;_0x5179c4=this[_0x23f527(0x2b8)][_0x23f527(0x206)](_0x5179c4);var _0x24a8e0=_0x5179c4[_0x23f527(0x239)][_0x23f527(0x20b)](_0x322569,_0x2ef2fd[_0x23f527(0x358)],_0x2ef2fd['ivSize'],_0x5179c4[_0x23f527(0x445)],_0x5179c4[_0x23f527(0x43c)]);_0x5179c4['iv']=_0x24a8e0['iv'];var _0x428a67=_0x374554[_0x23f527(0x180)][_0x23f527(0x44c)](this,_0x2ef2fd,_0x3ccb71,_0x24a8e0['key'],_0x5179c4);return _0x428a67[_0x23f527(0x216)](_0x24a8e0),_0x428a67;},'decrypt':function(_0x25a718,_0x57f616,_0x5a64cb,_0x4e8b87){var _0x232b7b=_0x55b01f;_0x4e8b87=this['cfg']['extend'](_0x4e8b87),_0x57f616=this['_parse'](_0x57f616,_0x4e8b87[_0x232b7b(0x1d8)]);var _0x251130=_0x4e8b87[_0x232b7b(0x239)][_0x232b7b(0x20b)](_0x5a64cb,_0x25a718['keySize'],_0x25a718['ivSize'],_0x57f616[_0x232b7b(0x445)],_0x4e8b87[_0x232b7b(0x43c)]);_0x4e8b87['iv']=_0x251130['iv'];var _0x407188=_0x374554[_0x232b7b(0x186)][_0x232b7b(0x44c)](this,_0x25a718,_0x57f616,_0x251130['key'],_0x4e8b87);return _0x407188;}});}();}));}(Xe)),Xe[_0x4a4e9d(0x363)];}var Zs=We['exports'],oi;function Qs(){var _0x2ec13a=_0x4d236c;return oi||(oi=0x1,function(_0x410047,_0x1265b9){(function(_0x471eb4,_0x13f8be,_0x5f8bfe){var _0xdf84b6=_0x4660;_0x410047[_0xdf84b6(0x363)]=_0x13f8be(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x470463){var _0x433fbd=_0x4660;return(function(){var _0x5e885e=_0x4660,_0x1117e9=_0x470463,_0x1ecd9f=_0x1117e9[_0x5e885e(0x2fd)],_0x4f186f=_0x1ecd9f[_0x5e885e(0x3f2)],_0x519053=_0x1117e9[_0x5e885e(0x292)],_0x571722=[],_0x1a6cd6=[],_0x33703c=[],_0x52ec21=[],_0x2e366c=[],_0x46ac5c=[],_0x3e373f=[],_0x55a254=[],_0xc31f2d=[],_0x56cb49=[];(function(){for(var _0x28bdad=[],_0x1764b2=0x0;_0x1764b2<0x100;_0x1764b2++)_0x1764b2<0x80?_0x28bdad[_0x1764b2]=_0x1764b2<<0x1:_0x28bdad[_0x1764b2]=_0x1764b2<<0x1^0x11b;for(var _0x20755a=0x0,_0xe6e203=0x0,_0x1764b2=0x0;_0x1764b2<0x100;_0x1764b2++){var _0x3a0011=_0xe6e203^_0xe6e203<<0x1^_0xe6e203<<0x2^_0xe6e203<<0x3^_0xe6e203<<0x4;_0x3a0011=_0x3a0011>>>0x8^_0x3a0011&0xff^0x63,_0x571722[_0x20755a]=_0x3a0011,_0x1a6cd6[_0x3a0011]=_0x20755a;var _0xe7628f=_0x28bdad[_0x20755a],_0x383510=_0x28bdad[_0xe7628f],_0x3f2a29=_0x28bdad[_0x383510],_0x6b4570=_0x28bdad[_0x3a0011]*0x101^_0x3a0011*0x1010100;_0x33703c[_0x20755a]=_0x6b4570<<0x18|_0x6b4570>>>0x8,_0x52ec21[_0x20755a]=_0x6b4570<<0x10|_0x6b4570>>>0x10,_0x2e366c[_0x20755a]=_0x6b4570<<0x8|_0x6b4570>>>0x18,_0x46ac5c[_0x20755a]=_0x6b4570;var _0x6b4570=_0x3f2a29*0x1010101^_0x383510*0x10001^_0xe7628f*0x101^_0x20755a*0x1010100;_0x3e373f[_0x3a0011]=_0x6b4570<<0x18|_0x6b4570>>>0x8,_0x55a254[_0x3a0011]=_0x6b4570<<0x10|_0x6b4570>>>0x10,_0xc31f2d[_0x3a0011]=_0x6b4570<<0x8|_0x6b4570>>>0x18,_0x56cb49[_0x3a0011]=_0x6b4570,_0x20755a?(_0x20755a=_0xe7628f^_0x28bdad[_0x28bdad[_0x28bdad[_0x3f2a29^_0xe7628f]]],_0xe6e203^=_0x28bdad[_0x28bdad[_0xe6e203]]):_0x20755a=_0xe6e203=0x1;}}());var _0x2efac3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1bfe1c=_0x519053[_0x5e885e(0x32f)]=_0x4f186f[_0x5e885e(0x206)]({'_doReset':function(){var _0x470eed=_0x5e885e,_0x424572;if(!(this[_0x470eed(0x2b4)]&&this[_0x470eed(0x2cc)]===this[_0x470eed(0x2ee)])){for(var _0x3026a0=this[_0x470eed(0x2cc)]=this['_key'],_0x1f6de7=_0x3026a0[_0x470eed(0x1ca)],_0x252854=_0x3026a0[_0x470eed(0x415)]/0x4,_0x34b883=this[_0x470eed(0x2b4)]=_0x252854+0x6,_0x6bb52a=(_0x34b883+0x1)*0x4,_0x311c8e=this[_0x470eed(0x3a8)]=[],_0x3a92c2=0x0;_0x3a92c2<_0x6bb52a;_0x3a92c2++)_0x3a92c2<_0x252854?_0x311c8e[_0x3a92c2]=_0x1f6de7[_0x3a92c2]:(_0x424572=_0x311c8e[_0x3a92c2-0x1],_0x3a92c2%_0x252854?_0x252854>0x6&&_0x3a92c2%_0x252854==0x4&&(_0x424572=_0x571722[_0x424572>>>0x18]<<0x18|_0x571722[_0x424572>>>0x10&0xff]<<0x10|_0x571722[_0x424572>>>0x8&0xff]<<0x8|_0x571722[_0x424572&0xff]):(_0x424572=_0x424572<<0x8|_0x424572>>>0x18,_0x424572=_0x571722[_0x424572>>>0x18]<<0x18|_0x571722[_0x424572>>>0x10&0xff]<<0x10|_0x571722[_0x424572>>>0x8&0xff]<<0x8|_0x571722[_0x424572&0xff],_0x424572^=_0x2efac3[_0x3a92c2/_0x252854|0x0]<<0x18),_0x311c8e[_0x3a92c2]=_0x311c8e[_0x3a92c2-_0x252854]^_0x424572);for(var _0x363e19=this['_invKeySchedule']=[],_0x3a054c=0x0;_0x3a054c<_0x6bb52a;_0x3a054c++){var _0x3a92c2=_0x6bb52a-_0x3a054c;if(_0x3a054c%0x4)var _0x424572=_0x311c8e[_0x3a92c2];else var _0x424572=_0x311c8e[_0x3a92c2-0x4];_0x3a054c<0x4||_0x3a92c2<=0x4?_0x363e19[_0x3a054c]=_0x424572:_0x363e19[_0x3a054c]=_0x3e373f[_0x571722[_0x424572>>>0x18]]^_0x55a254[_0x571722[_0x424572>>>0x10&0xff]]^_0xc31f2d[_0x571722[_0x424572>>>0x8&0xff]]^_0x56cb49[_0x571722[_0x424572&0xff]];}}},'encryptBlock':function(_0x355c5c,_0x1ff6e3){var _0x30e6f4=_0x5e885e;this[_0x30e6f4(0x230)](_0x355c5c,_0x1ff6e3,this[_0x30e6f4(0x3a8)],_0x33703c,_0x52ec21,_0x2e366c,_0x46ac5c,_0x571722);},'decryptBlock':function(_0x15f4eb,_0x12cc8b){var _0x51fc1=_0x5e885e,_0x21de20=_0x15f4eb[_0x12cc8b+0x1];_0x15f4eb[_0x12cc8b+0x1]=_0x15f4eb[_0x12cc8b+0x3],_0x15f4eb[_0x12cc8b+0x3]=_0x21de20,this[_0x51fc1(0x230)](_0x15f4eb,_0x12cc8b,this[_0x51fc1(0x371)],_0x3e373f,_0x55a254,_0xc31f2d,_0x56cb49,_0x1a6cd6);var _0x21de20=_0x15f4eb[_0x12cc8b+0x1];_0x15f4eb[_0x12cc8b+0x1]=_0x15f4eb[_0x12cc8b+0x3],_0x15f4eb[_0x12cc8b+0x3]=_0x21de20;},'_doCryptBlock':function(_0x4108d0,_0x496311,_0x5dc059,_0x1dc748,_0x2b9b21,_0x58ca61,_0x5975b7,_0x4cb6a2){for(var _0x37e5ab=this['_nRounds'],_0x441f68=_0x4108d0[_0x496311]^_0x5dc059[0x0],_0xacdd19=_0x4108d0[_0x496311+0x1]^_0x5dc059[0x1],_0x50ea3a=_0x4108d0[_0x496311+0x2]^_0x5dc059[0x2],_0x5a99dd=_0x4108d0[_0x496311+0x3]^_0x5dc059[0x3],_0x3dd5ac=0x4,_0x46f8cf=0x1;_0x46f8cf<_0x37e5ab;_0x46f8cf++){var _0x15fc3a=_0x1dc748[_0x441f68>>>0x18]^_0x2b9b21[_0xacdd19>>>0x10&0xff]^_0x58ca61[_0x50ea3a>>>0x8&0xff]^_0x5975b7[_0x5a99dd&0xff]^_0x5dc059[_0x3dd5ac++],_0xb48244=_0x1dc748[_0xacdd19>>>0x18]^_0x2b9b21[_0x50ea3a>>>0x10&0xff]^_0x58ca61[_0x5a99dd>>>0x8&0xff]^_0x5975b7[_0x441f68&0xff]^_0x5dc059[_0x3dd5ac++],_0x4e916e=_0x1dc748[_0x50ea3a>>>0x18]^_0x2b9b21[_0x5a99dd>>>0x10&0xff]^_0x58ca61[_0x441f68>>>0x8&0xff]^_0x5975b7[_0xacdd19&0xff]^_0x5dc059[_0x3dd5ac++],_0x3643fc=_0x1dc748[_0x5a99dd>>>0x18]^_0x2b9b21[_0x441f68>>>0x10&0xff]^_0x58ca61[_0xacdd19>>>0x8&0xff]^_0x5975b7[_0x50ea3a&0xff]^_0x5dc059[_0x3dd5ac++];_0x441f68=_0x15fc3a,_0xacdd19=_0xb48244,_0x50ea3a=_0x4e916e,_0x5a99dd=_0x3643fc;}var _0x15fc3a=(_0x4cb6a2[_0x441f68>>>0x18]<<0x18|_0x4cb6a2[_0xacdd19>>>0x10&0xff]<<0x10|_0x4cb6a2[_0x50ea3a>>>0x8&0xff]<<0x8|_0x4cb6a2[_0x5a99dd&0xff])^_0x5dc059[_0x3dd5ac++],_0xb48244=(_0x4cb6a2[_0xacdd19>>>0x18]<<0x18|_0x4cb6a2[_0x50ea3a>>>0x10&0xff]<<0x10|_0x4cb6a2[_0x5a99dd>>>0x8&0xff]<<0x8|_0x4cb6a2[_0x441f68&0xff])^_0x5dc059[_0x3dd5ac++],_0x4e916e=(_0x4cb6a2[_0x50ea3a>>>0x18]<<0x18|_0x4cb6a2[_0x5a99dd>>>0x10&0xff]<<0x10|_0x4cb6a2[_0x441f68>>>0x8&0xff]<<0x8|_0x4cb6a2[_0xacdd19&0xff])^_0x5dc059[_0x3dd5ac++],_0x3643fc=(_0x4cb6a2[_0x5a99dd>>>0x18]<<0x18|_0x4cb6a2[_0x441f68>>>0x10&0xff]<<0x10|_0x4cb6a2[_0xacdd19>>>0x8&0xff]<<0x8|_0x4cb6a2[_0x50ea3a&0xff])^_0x5dc059[_0x3dd5ac++];_0x4108d0[_0x496311]=_0x15fc3a,_0x4108d0[_0x496311+0x1]=_0xb48244,_0x4108d0[_0x496311+0x2]=_0x4e916e,_0x4108d0[_0x496311+0x3]=_0x3643fc;},'keySize':0x100/0x20});_0x1117e9[_0x5e885e(0x32f)]=_0x4f186f['_createHelper'](_0x1bfe1c);}()),_0x470463[_0x433fbd(0x32f)];}));}(We)),We[_0x2ec13a(0x363)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze[_0x4d236c(0x363)],ci;function sr(){var _0x1aed7e=_0x4d236c;return ci||(ci=0x1,function(_0x10501a,_0x28cba9){(function(_0x56d17a,_0xc20c5c){var _0x461305=_0x4660;_0x10501a[_0x461305(0x363)]=_0xc20c5c(ne());}(nr,function(_0x48ceb0){var _0x585604=_0x4660;return _0x48ceb0[_0x585604(0x38c)]['Utf8'];}));}(Ze)),Ze[_0x1aed7e(0x363)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe[_0x4d236c(0x363)],hi;function cr(){var _0xa3516e=_0x4d236c;return hi||(hi=0x1,function(_0x479e60,_0x4102af){(function(_0x54bd4e,_0x960325){var _0x1e0215=_0x4660;_0x479e60[_0x1e0215(0x363)]=_0x960325(ne());}(ar,function(_0x87c846){var _0x5a34f3=_0x4660;return(function(){var _0x2fa1cd=_0x4660;if(typeof ArrayBuffer==_0x2fa1cd(0x447)){var _0x562a76=_0x87c846,_0x45dbcd=_0x562a76[_0x2fa1cd(0x2fd)],_0x1a9569=_0x45dbcd['WordArray'],_0xd48720=_0x1a9569['init'],_0x29cb51=_0x1a9569[_0x2fa1cd(0x32c)]=function(_0x5335e3){var _0x2960b6=_0x2fa1cd;if(_0x5335e3 instanceof ArrayBuffer&&(_0x5335e3=new Uint8Array(_0x5335e3)),(_0x5335e3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5335e3 instanceof Uint8ClampedArray||_0x5335e3 instanceof Int16Array||_0x5335e3 instanceof Uint16Array||_0x5335e3 instanceof Int32Array||_0x5335e3 instanceof Uint32Array||_0x5335e3 instanceof Float32Array||_0x5335e3 instanceof Float64Array)&&(_0x5335e3=new Uint8Array(_0x5335e3[_0x2960b6(0x336)],_0x5335e3[_0x2960b6(0x427)],_0x5335e3['byteLength'])),_0x5335e3 instanceof Uint8Array){for(var _0x4eb058=_0x5335e3[_0x2960b6(0x332)],_0x24d980=[],_0x522824=0x0;_0x522824<_0x4eb058;_0x522824++)_0x24d980[_0x522824>>>0x2]|=_0x5335e3[_0x522824]<<0x18-_0x522824%0x4*0x8;_0xd48720[_0x2960b6(0x44c)](this,_0x24d980,_0x4eb058);}else _0xd48720[_0x2960b6(0x266)](this,arguments);};_0x29cb51[_0x2fa1cd(0x45d)]=_0x1a9569;}}()),_0x87c846[_0x5a34f3(0x2fd)]['WordArray'];}));}(Qe)),Qe[_0xa3516e(0x363)];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et['exports'],_i;function ur(){return _i||(_i=0x1,function(_0x3fad15,_0x4f7f36){(function(_0x44efae,_0x1b2961,_0x5aafe5){var _0x5507f8=_0x4660;_0x3fad15[_0x5507f8(0x363)]=_0x1b2961(ne(),xi());}(lr,function(_0x32c346){var _0x1619e1=_0x4660;return _0x32c346[_0x1619e1(0x383)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x32c346[_0x1619e1(0x383)][_0x1619e1(0x319)];}));}(et)),et['exports'];}var dr=ur();const fr=ke(dr);function vr(_0x22120e,_0x1916b4){var _0x5e170a=_0x4d236c;const _0xe77ce8=_0x1916b4-_0x22120e['length']%_0x1916b4,_0x5e9594=String[_0x5e170a(0x2a5)](_0xe77ce8)['repeat'](_0xe77ce8);return _0x22120e+_0x5e9594;}function pr(_0x6d2932,_0x560de8){var _0x28eb23=_0x4d236c;const _0x3dee97=_r[_0x28eb23(0x171)](0x10),_0x4ca3b9=vr(_0x6d2932,0x10),_0x3921fc=tr[_0x28eb23(0x180)](or[_0x28eb23(0x2a8)](_0x4ca3b9),ai['parse'](_0x560de8),{'iv':_0x3dee97,'padding':fr});return _0x3dee97[_0x28eb23(0x2f1)](_0x3921fc[_0x28eb23(0x3b0)])['toString'](ai);}function mr(){var _0x3b2b0b=_0x4d236c;const _0x4a0704=_0x3244b3()['__Key__'];if(_0x4a0704){const _0xb29891={'time':Math[_0x3b2b0b(0x3ec)](Date[_0x3b2b0b(0x200)]()/0x3e8),'domain':location[_0x3b2b0b(0x2dc)]};return pr(JSON[_0x3b2b0b(0x355)](_0xb29891),_0x4a0704);}}var gr=Object[_0x4d236c(0x31d)],Sr=Object[_0x4d236c(0x261)],Er=(_0x520a01,_0x5d8fc8,_0x6262a5,_0x4780e1)=>{for(var _0x26f069=_0x4780e1>0x1?void 0x0:_0x4780e1?Sr(_0x5d8fc8,_0x6262a5):_0x5d8fc8,_0x3d9692=_0x520a01['length']-0x1,_0x292ab3;_0x3d9692>=0x0;_0x3d9692--)(_0x292ab3=_0x520a01[_0x3d9692])&&(_0x26f069=(_0x4780e1?_0x292ab3(_0x5d8fc8,_0x6262a5,_0x26f069):_0x292ab3(_0x26f069))||_0x26f069);return _0x4780e1&&_0x26f069&&gr(_0x5d8fc8,_0x6262a5,_0x26f069),_0x26f069;},Ir=(_0x5cb66b,_0x266508)=>(_0x592f7c,_0x4ded40)=>_0x266508(_0x592f7c,_0x4ded40,_0x5cb66b);let at=class{constructor(_0x41a645){var _0x37c5b6=_0x4d236c;this[_0x37c5b6(0x36b)]=_0x41a645,this['_initRequestHeader']();}[_0x4d236c(0x3c1)](){var _0x3773eb=_0x4d236c;this['_httpService'][_0x3773eb(0x17a)]({'interceptor':(_0x37403b,_0x5476f8)=>{var _0x69226a=_0x3773eb;const _0x25b18d=_0x37403b[_0x69226a(0x1f5)],_0x553cb9=mr();return _0x553cb9&&_0x25b18d['set'](_0x69226a(0x395),_0x553cb9),_0x5476f8(_0x37403b);}});}};at=Er([Ir(0x0,_0x318337(_0x53807a))],at);var Tr=Object['defineProperty'],Cr=Object[_0x4d236c(0x261)],br=(_0xcad6a,_0x2ce247,_0x266a60,_0x5ebeb)=>{for(var _0x53a348=_0x5ebeb>0x1?void 0x0:_0x5ebeb?Cr(_0x2ce247,_0x266a60):_0x2ce247,_0x559614=_0xcad6a['length']-0x1,_0x3cd625;_0x559614>=0x0;_0x559614--)(_0x3cd625=_0xcad6a[_0x559614])&&(_0x53a348=(_0x5ebeb?_0x3cd625(_0x2ce247,_0x266a60,_0x53a348):_0x3cd625(_0x53a348))||_0x53a348);return _0x5ebeb&&_0x53a348&&Tr(_0x2ce247,_0x266a60,_0x53a348),_0x53a348;},gt=(_0x2be473,_0x580dcc)=>(_0x443454,_0x47f09f)=>_0x580dcc(_0x443454,_0x47f09f,_0x2be473);let Ot=class extends _0x35a4f1{constructor(_0x17ca9a,_0x4aa564,_0x5b9285){var _0x1a333e=_0x4d236c;super(),P(this,_0x1a333e(0x408),new _0x25a7f9(null)),P(this,_0x1a333e(0x3e5),this['_unitInfo$'][_0x1a333e(0x3b2)]()),(this[_0x1a333e(0x31b)]=_0x17ca9a,this[_0x1a333e(0x43d)]=_0x4aa564,this[_0x1a333e(0x328)]=_0x5b9285);}async[_0x4d236c(0x43b)](_0x574763,_0x5cb3a2,_0x294532){var _0x11a389=_0x4d236c;this['_unitInfo$'][_0x11a389(0x361)]({'unitId':_0x574763,'type':_0x5cb3a2,'subUnitId':_0x294532});let _0x1d2dfb=null;switch(_0x5cb3a2){case Q[_0x11a389(0x2db)]:{_0x1d2dfb=await this[_0x11a389(0x45e)](_0x574763);break;}case Q[_0x11a389(0x32b)]:{_0x1d2dfb=await this[_0x11a389(0x1ed)](_0x574763);break;}default:{this[_0x11a389(0x31b)][_0x11a389(0x2be)](_0x11a389(0x301),_0x11a389(0x1e4));break;}}return _0x1d2dfb;}async[_0x4d236c(0x45e)](_0x1d0618){var _0x48583d=_0x4d236c,_0x3d963b;let _0x4d96ec=0x0;const _0x28ef77=await((_0x3d963b=this[_0x48583d(0x328)])==null?void 0x0:_0x3d963b[_0x48583d(0x3e6)](_0x1d0618));return _0x28ef77&&(_0x28ef77[_0x48583d(0x26b)]||_0x28ef77[_0x48583d(0x1d4)][_0x48583d(0x3e3)]!==0x0)&&(_0x4d96ec=_0x28ef77[_0x48583d(0x179)]),_0x4d96ec===0x0&&this[_0x48583d(0x31b)]['debug'](_0x48583d(0x301),_0x48583d(0x1e6)),this[_0x48583d(0x43d)][_0x48583d(0x323)](_0x1d0618,_0x4d96ec);}async[_0x4d236c(0x1ed)](_0x24249c){var _0x27edc6=_0x4d236c,_0x1e9960;let _0x1053ab=0x0;const _0x53bd8d=await((_0x1e9960=this['_localCacheService'])==null?void 0x0:_0x1e9960[_0x27edc6(0x3e6)](_0x24249c));return _0x53bd8d&&(_0x53bd8d[_0x27edc6(0x26b)]||_0x53bd8d[_0x27edc6(0x1d4)]['length']!==0x0)&&(_0x1053ab=_0x53bd8d[_0x27edc6(0x179)]),_0x1053ab===0x0&&this[_0x27edc6(0x31b)][_0x27edc6(0x420)](_0x27edc6(0x301),_0x27edc6(0x1e6)),this[_0x27edc6(0x43d)][_0x27edc6(0x416)](_0x24249c,_0x1053ab);}};Ot=br([gt(0x0,_0x1b80b0),gt(0x1,_0x318337(_0x5af7cb)),gt(0x2,_0x3910d7(X))],Ot);var Rr=Object[_0x4d236c(0x31d)],yr=Object[_0x4d236c(0x261)],Or=(_0x2ce3eb,_0x48ed86,_0xd948b0,_0x182a0e)=>{var _0x4cc4ef=_0x4d236c;for(var _0x50d32e=_0x182a0e>0x1?void 0x0:_0x182a0e?yr(_0x48ed86,_0xd948b0):_0x48ed86,_0x4e8b34=_0x2ce3eb[_0x4cc4ef(0x3e3)]-0x1,_0x590729;_0x4e8b34>=0x0;_0x4e8b34--)(_0x590729=_0x2ce3eb[_0x4e8b34])&&(_0x50d32e=(_0x182a0e?_0x590729(_0x48ed86,_0xd948b0,_0x50d32e):_0x590729(_0x50d32e))||_0x50d32e);return _0x182a0e&&_0x50d32e&&Rr(_0x48ed86,_0xd948b0,_0x50d32e),_0x50d32e;},St=(_0x31c930,_0x2d0315)=>(_0x330cf0,_0x1f40ab)=>_0x2d0315(_0x330cf0,_0x1f40ab,_0x31c930);const Nr=[_0x4d236c(0x278),_0x4d236c(0x348),_0x4d236c(0x2de),_0x4d236c(0x1f3),'image/bmp'],Pr=0x5*0x400*0x400,Dr=_0x4d236c(0x3b8),wr=_0x4d236c(0x231),Ur=_0x4d236c(0x1b8),Ar=_0x4d236c(0x340);let Nt=class{constructor(_0x110dce,_0xc1d8b5,_0x1e8b5e){var _0x29d7e2=_0x4d236c;P(this,_0x29d7e2(0x47c),0x0),P(this,'_change$',new _0x52e512()),P(this,_0x29d7e2(0x275),this[_0x29d7e2(0x3d7)]),P(this,_0x29d7e2(0x32e),new Map()),(this[_0x29d7e2(0x36b)]=_0x110dce,this['_configService']=_0xc1d8b5,this[_0x29d7e2(0x263)]=_0x1e8b5e);}[_0x4d236c(0x30a)](_0x19f2e1){var _0x1ebd92=_0x4d236c;this['_waitCount']=_0x19f2e1,this[_0x1ebd92(0x3d7)][_0x1ebd92(0x361)](_0x19f2e1);}[_0x4d236c(0x43f)](_0x5d3fba,_0x39e4d1){var _0x411a1f=_0x4d236c;if(_0x39e4d1===_0x51b06f[_0x411a1f(0x2cd)]){const _0x5004e9=new Image();return _0x5004e9[_0x411a1f(0x176)]=_0x5d3fba,_0x5004e9;}return this[_0x411a1f(0x32e)][_0x411a1f(0x187)](_0x5d3fba);}['addImageSourceCache'](_0x339ce8,_0x1d6435,_0x3dda38){var _0x1d47d3=_0x4d236c;_0x1d6435===_0x51b06f[_0x1d47d3(0x2cd)]||_0x3dda38==null||this['_imageSourceCache'][_0x1d47d3(0x406)](_0x339ce8,_0x3dda38);}async[_0x4d236c(0x29e)](_0x5019dd){var _0x14b741=_0x4d236c;try{const _0x406f3b=this[_0x14b741(0x39a)](this[_0x14b741(0x223)](),''+_0x5019dd),_0x2b77b8=(await this['_httpService']['get'](_0x406f3b))[_0x14b741(0x1a9)];if(_0x2b77b8[_0x14b741(0x2be)]&&_0x2b77b8['error'][_0x14b741(0x46c)]===Ti['OK']){const _0x157d13=new URL(_0x2b77b8[_0x14b741(0x362)],this[_0x14b741(0x2d3)]())[_0x14b741(0x279)]();return Promise[_0x14b741(0x2ca)](_0x157d13);}return Promise['reject'](_0x2b77b8[_0x14b741(0x2be)]);}catch(_0x87bcd3){return Promise[_0x14b741(0x41d)](_0x87bcd3);}}async[_0x4d236c(0x402)](_0x25dd42){var _0x5d9c6e=_0x4d236c;let _0x1bd8e7='';if(!Nr[_0x5d9c6e(0x19c)](_0x25dd42[_0x5d9c6e(0x30c)]))return this[_0x5d9c6e(0x393)](),Promise[_0x5d9c6e(0x41d)](new Error(_0x360e54[_0x5d9c6e(0x1df)]));if(_0x25dd42[_0x5d9c6e(0x184)]>Pr)return this[_0x5d9c6e(0x393)](),Promise['reject'](new Error(_0x360e54[_0x5d9c6e(0x284)]));try{const _0x26e5eb=new FormData();_0x26e5eb['append'](_0x5d9c6e(0x212),_0x25dd42);const _0x1ef87e=this[_0x5d9c6e(0x263)][_0x5d9c6e(0x255)](),_0x713e43=_0x1ef87e==null?void 0x0:_0x1ef87e[_0x5d9c6e(0x370)]();if(!_0x713e43)throw new Error('unitId\x20is\x20not\x20found');const _0x393cad=this[_0x5d9c6e(0x345)]()+_0x5d9c6e(0x1e1)+_0x25dd42['size'][_0x5d9c6e(0x279)]()+'&source='+Ci[_0x5d9c6e(0x25a)]+_0x5d9c6e(0x3b9)+encodeURIComponent(_0x713e43),_0x5e9fee=await(await fetch(_0x393cad,{'method':_0x5d9c6e(0x3fd),'body':_0x26e5eb}))[_0x5d9c6e(0x3cd)]();if(typeof _0x5e9fee[_0x5d9c6e(0x41a)]!='string')return this[_0x5d9c6e(0x393)](),Promise['reject'](new Error(_0x360e54[_0x5d9c6e(0x226)]));_0x1bd8e7=_0x5e9fee[_0x5d9c6e(0x41a)];}catch{return this['_decreaseWaiting'](),Promise[_0x5d9c6e(0x41d)](new Error(_0x360e54['ERROR_IMAGE']));}return new Promise((_0x4a18eb,_0x1fe004)=>{var _0x4f6038=_0x5d9c6e;const _0x3d3020=new FileReader();_0x3d3020[_0x4f6038(0x253)](_0x25dd42),_0x3d3020[_0x4f6038(0x196)]=_0x32913c=>{var _0x4fab65=_0x4f6038,_0x475c62;const _0x350681=(_0x475c62=_0x32913c[_0x4fab65(0x460)])==null?void 0x0:_0x475c62[_0x4fab65(0x338)];if(_0x350681==null){this[_0x4fab65(0x393)](),_0x1fe004(new Error(_0x360e54[_0x4fab65(0x226)]));return;}const _0x46aae0=_0x14143a[_0x4fab65(0x429)](0x6);_0x4a18eb({'imageId':_0x46aae0,'imageSourceType':_0x51b06f[_0x4fab65(0x1f2)],'source':_0x1bd8e7,'base64Cache':_0x350681,'status':_0x360e54[_0x4fab65(0x1f7)]}),this[_0x4fab65(0x393)]();};});}['_getUploadFileURL'](){var _0x4b0839=_0x4d236c,_0x29e796,_0x35ce7b;const _0x43d24a=this['_configService'][_0x4b0839(0x436)](Dr),_0x21429b=this[_0x4b0839(0x2f2)][_0x4b0839(0x436)](Y);return(_0x35ce7b=(_0x29e796=_0x21429b==null?void 0x0:_0x21429b[_0x4b0839(0x308)])!=null?_0x29e796:_0x43d24a)!=null?_0x35ce7b:wr;}[_0x4d236c(0x223)](){var _0x2c361f=_0x4d236c,_0x52caf1,_0x1088c7;const _0x38a17e=this['_configService'][_0x2c361f(0x436)](Ur),_0x54f412=this[_0x2c361f(0x2f2)][_0x2c361f(0x436)](Y);return(_0x1088c7=(_0x52caf1=_0x54f412==null?void 0x0:_0x54f412[_0x2c361f(0x24e)])!=null?_0x52caf1:_0x38a17e)!=null?_0x1088c7:Ar;}[_0x4d236c(0x2d3)](){var _0x463a0e=_0x4d236c,_0x3e08cb;const _0x3e7cc4=this[_0x463a0e(0x2f2)][_0x463a0e(0x436)](Y);return(_0x3e08cb=_0x3e7cc4==null?void 0x0:_0x3e7cc4[_0x463a0e(0x46b)])!=null?_0x3e08cb:location['origin'];}[_0x4d236c(0x39a)](_0x5cbcb5,_0x3062db){var _0x21fbf6=_0x4d236c;return _0x5cbcb5['replace'](_0x21fbf6(0x302),_0x3062db);}[_0x4d236c(0x393)](){var _0x327590=_0x4d236c;this[_0x327590(0x47c)]-=0x1,this[_0x327590(0x3d7)][_0x327590(0x361)](this[_0x327590(0x47c)]);}};Nt=Or([St(0x0,_0x318337(_0x53807a)),St(0x1,_0x8980fc),St(0x2,_0x318337(_0xbe442f))],Nt);var xr=Object[_0x4d236c(0x31d)],Lr=Object['getOwnPropertyDescriptor'],Mr=(_0x1a1ee4,_0x4b85a5,_0x2d4488,_0x107b13)=>{var _0x3ff7d8=_0x4d236c;for(var _0x2b0632=_0x107b13>0x1?void 0x0:_0x107b13?Lr(_0x4b85a5,_0x2d4488):_0x4b85a5,_0x2d8577=_0x1a1ee4[_0x3ff7d8(0x3e3)]-0x1,_0x19cdc2;_0x2d8577>=0x0;_0x2d8577--)(_0x19cdc2=_0x1a1ee4[_0x2d8577])&&(_0x2b0632=(_0x107b13?_0x19cdc2(_0x4b85a5,_0x2d4488,_0x2b0632):_0x19cdc2(_0x2b0632))||_0x2b0632);return _0x107b13&&_0x2b0632&&xr(_0x4b85a5,_0x2d4488,_0x2b0632),_0x2b0632;},li=(_0x28f157,_0x48f118)=>(_0x45108d,_0x1777bf)=>_0x48f118(_0x45108d,_0x1777bf,_0x28f157);const $r='/universer-api/authz';let Pt=class{constructor(_0x5dc7c8,_0x31e3ab){var _0x3bd504=_0x4d236c;this['_configService']=_0x5dc7c8,this[_0x3bd504(0x468)]=_0x31e3ab;}['_getAPIPrefixPath'](){var _0x1196da=_0x4d236c,_0x2a3991,_0x385aee;const _0x3c440a=this[_0x1196da(0x2f2)][_0x1196da(0x436)](wi),_0x220d04=this[_0x1196da(0x2f2)]['getConfig'](Y);return(_0x385aee=(_0x2a3991=_0x220d04==null?void 0x0:_0x220d04[_0x1196da(0x462)])!=null?_0x2a3991:_0x3c440a)!=null?_0x385aee:$r;}async[_0x4d236c(0x2f6)](_0x155c3c){var _0xa7aab1=_0x4d236c;const _0x4abc5a=this[_0xa7aab1(0x2d1)]()+_0xa7aab1(0x39e);return{'list':[{'title':_0xa7aab1(0x36d),'mentions':(await this[_0xa7aab1(0x468)]['get'](_0x4abc5a,{'params':{'objectID':_0x155c3c[_0xa7aab1(0x40d)],'unitID':_0x155c3c[_0xa7aab1(0x40d)]}}))[_0xa7aab1(0x1a9)][_0xa7aab1(0x369)][_0xa7aab1(0x2ac)](_0x3fb851=>({'objectId':_0x3fb851['id'],'name':_0x3fb851[_0xa7aab1(0x172)][_0xa7aab1(0x22d)],'metadata':{'icon':_0x3fb851[_0xa7aab1(0x172)][_0xa7aab1(0x25e)]},'label':_0x3fb851['subject'][_0xa7aab1(0x22d)],'objectType':_0x10b01a[_0xa7aab1(0x202)]})),'metadata':{},'type':_0x10b01a[_0xa7aab1(0x202)]}]};}};Pt=Mr([li(0x0,_0x318337(_0x8980fc)),li(0x1,_0x318337(_0x53807a))],Pt);var Hr=Object[_0x4d236c(0x31d)],kr=Object[_0x4d236c(0x261)],jr=(_0x4e28d2,_0x445877,_0x39ef5d,_0x230a31)=>{var _0x572722=_0x4d236c;for(var _0x40ed21=_0x230a31>0x1?void 0x0:_0x230a31?kr(_0x445877,_0x39ef5d):_0x445877,_0x5ae599=_0x4e28d2[_0x572722(0x3e3)]-0x1,_0x139c88;_0x5ae599>=0x0;_0x5ae599--)(_0x139c88=_0x4e28d2[_0x5ae599])&&(_0x40ed21=(_0x230a31?_0x139c88(_0x445877,_0x39ef5d,_0x40ed21):_0x139c88(_0x40ed21))||_0x40ed21);return _0x230a31&&_0x40ed21&&Hr(_0x445877,_0x39ef5d,_0x40ed21),_0x40ed21;},Se=(_0x35979a,_0x117d46)=>(_0x792ccb,_0x4beb17)=>_0x117d46(_0x792ccb,_0x4beb17,_0x35979a);let ct=class extends _0x35a4f1{constructor(_0x2aba6f,_0x1bd528,_0x34fd79,_0x2f87b5,_0x5c1558,_0x4742c3,_0x2b7d01){var _0x8c7b3e=_0x4d236c;super(),this['_injector']=_0x2aba6f,this['_univerInstanceService']=_0x1bd528,this['_permissionService']=_0x34fd79,this[_0x8c7b3e(0x327)]=_0x2f87b5,this[_0x8c7b3e(0x2d9)]=_0x5c1558,this['_authzIoService']=_0x4742c3,this['_undoRedoService']=_0x2b7d01,this['_initUnitPermissionChange'](),this[_0x8c7b3e(0x474)]();}[_0x4d236c(0x474)](){var _0x400ca0=_0x4d236c;const _0x56c1cf=async _0x4a5a1a=>{var _0x266c7c=_0x4660;(await this['_collaborationSessionService'][_0x266c7c(0x2d0)](_0x4a5a1a))[_0x266c7c(0x1bc)]['pipe'](_0x1e6df7(_0x27f830=>_0x27f830[_0x266c7c(0x471)]===_0x346e82[_0x266c7c(0x312)]),_0xd02988(this[_0x266c7c(0x291)]))['subscribe'](_0x35334b=>{var _0x4be9f4=_0x266c7c;const _0x295c1d=_0x35334b,{reason:_0x488799}=_0x295c1d['data'];this['_collaborationUIEventService'][_0x4be9f4(0x389)]({'id':re[_0x4be9f4(0x315)],'data':_0x488799}),this[_0x4be9f4(0x183)][_0x4be9f4(0x3ba)](new _0x44816b(_0x4a5a1a)['id'],!0x1),this[_0x4be9f4(0x327)]['closeSession'](_0x4a5a1a);});};_0x2ac0c1(this['_univerInstanceService'][_0x400ca0(0x352)](_0x2b3ce0['UNIVER_SHEET']),this['_univerInstanceService'][_0x400ca0(0x352)](_0x2b3ce0[_0x400ca0(0x32b)]))['pipe'](_0x1a29c6(_0x33c9cf=>_0x33c9cf[_0x400ca0(0x370)]()),_0x1e6df7(_0x3e4ed6=>!_0x937d7(_0x3e4ed6)),_0xd02988(this[_0x400ca0(0x291)]))[_0x400ca0(0x28c)](_0x2de191=>{_0x56c1cf(_0x2de191);});}['_initUnitPermissionChange'](){var _0x3b2eb3=_0x4d236c;const _0x565a50=async _0x5431fc=>{var _0x2e6c25=_0x4660;(await this['_collaborationSessionService'][_0x2e6c25(0x2d0)](_0x5431fc))[_0x2e6c25(0x1bc)]['pipe'](_0x1e6df7(_0x463378=>_0x463378[_0x2e6c25(0x471)]===_0x346e82[_0x2e6c25(0x205)]),_0xd02988(this['dispose$']))['subscribe'](_0x5d3569=>{var _0x1fff35=_0x2e6c25;const _0x118493=_0x5d3569,{objectId:_0x377cda}=_0x118493[_0x1fff35(0x22a)];_0x377cda===_0x5431fc?this[_0x1fff35(0x1c9)](_0x5431fc):this[_0x1fff35(0x214)](_0x5431fc,_0x377cda);});};_0x2ac0c1(this[_0x3b2eb3(0x263)][_0x3b2eb3(0x352)](_0x2b3ce0[_0x3b2eb3(0x2db)]),this[_0x3b2eb3(0x263)][_0x3b2eb3(0x352)](_0x2b3ce0[_0x3b2eb3(0x32b)]))[_0x3b2eb3(0x3cf)](_0x1a29c6(_0x57ac16=>_0x57ac16[_0x3b2eb3(0x370)]()),_0x1e6df7(_0x3fae72=>!_0x937d7(_0x3fae72)),_0xd02988(this[_0x3b2eb3(0x291)]))[_0x3b2eb3(0x28c)](_0x17b11b=>{_0x565a50(_0x17b11b);});}async[_0x4d236c(0x1c9)](_0x5aab78){var _0x5d1b1e=_0x4d236c,_0x307b1d;const _0x219507=_0x5aab78||((_0x307b1d=this['_univerInstanceService'][_0x5d1b1e(0x2d5)](_0x2b3ce0[_0x5d1b1e(0x2db)]))==null?void 0x0:_0x307b1d[_0x5d1b1e(0x370)]());_0x219507&&this[_0x5d1b1e(0x264)][_0x5d1b1e(0x283)]({'objectID':_0x219507,'objectType':_0x131735[_0x5d1b1e(0x211)],'unitID':_0x219507,'actions':_0x493296})['then'](_0x3dce72=>{var _0x281e70=_0x5d1b1e;_0x3627fd()[_0x281e70(0x19f)](_0x25ad02=>{var _0x4a7ce2=_0x281e70;const _0x462bf2=new _0x25ad02(_0x219507),_0x442772=_0x462bf2[_0x4a7ce2(0x360)],_0x256fe4=_0x3dce72[_0x4a7ce2(0x3f6)](_0x297653=>_0x297653[_0x4a7ce2(0x1ec)]===_0x442772);_0x256fe4&&this[_0x4a7ce2(0x183)][_0x4a7ce2(0x3ba)](_0x462bf2['id'],_0x256fe4[_0x4a7ce2(0x283)]);});});}[_0x4d236c(0x214)](_0x303a88,_0x38e1ce){var _0x3ce2e0=_0x4d236c;const _0x424375=this[_0x3ce2e0(0x1f4)][_0x3ce2e0(0x187)](_0x5d245f),_0x1d439f=_0x424375['getTargetByPermissionId'](_0x303a88,_0x38e1ce);let _0x276198=!0x1;if(_0x1d439f){const [_0x3bb1e0,_0x256fa4]=_0x1d439f;this[_0x3ce2e0(0x264)][_0x3ce2e0(0x283)]({'objectID':_0x38e1ce,'unitID':_0x303a88,'objectType':_0x131735[_0x3ce2e0(0x189)],'actions':_0x22fd01})[_0x3ce2e0(0x384)](_0x444577=>{var _0x349059=_0x3ce2e0;let _0x3958f8='';_0x1ed987()[_0x349059(0x19f)](_0x1a2b9f=>{var _0x88793b=_0x349059,_0x5940b3;const _0x41d66f=new _0x1a2b9f(_0x303a88,_0x256fa4),_0x46e211=_0x41d66f['subType'],_0xa592fb=_0x444577[_0x88793b(0x3f6)](_0x4a4d79=>_0x4a4d79[_0x88793b(0x1ec)]===_0x46e211);_0xa592fb&&(((_0x5940b3=this[_0x88793b(0x183)][_0x88793b(0x463)](_0x41d66f['id']))==null?void 0x0:_0x5940b3[_0x88793b(0x325)])!==_0xa592fb[_0x88793b(0x283)]&&(_0x276198=!0x0),this[_0x88793b(0x183)]['updatePermissionPoint'](_0x41d66f['id'],_0xa592fb[_0x88793b(0x283)]),_0x3958f8+=_0xa592fb[_0x88793b(0x1ec)]+'_'+_0xa592fb[_0x88793b(0x283)]);}),_0x424375['ruleRefresh'](_0x38e1ce+'_'+_0x3958f8),_0x276198&&this[_0x349059(0x181)]['clearUndoRedo'](_0x303a88);});}const _0x3182cb=this[_0x3ce2e0(0x1f4)][_0x3ce2e0(0x187)](_0x2b1bc1)['getTargetByPermissionId'](_0x303a88,_0x38e1ce);if(_0x3182cb){const [_0x3d7377,_0x38f3ef]=_0x3182cb;this[_0x3ce2e0(0x264)][_0x3ce2e0(0x283)]({'objectID':_0x38e1ce,'unitID':_0x303a88,'objectType':_0x131735[_0x3ce2e0(0x189)],'actions':_0x35ba4d})['then'](_0x44f6be=>{var _0x3d4a79=_0x3ce2e0;_0x4a9861()[_0x3d4a79(0x19f)](_0x441473=>{var _0x5e7262=_0x3d4a79,_0xe6750e;const _0x17ac43=new _0x441473(_0x303a88,_0x38f3ef),_0x1836a6=_0x17ac43['subType'],_0x450c7c=_0x44f6be[_0x5e7262(0x3f6)](_0x689029=>_0x689029[_0x5e7262(0x1ec)]===_0x1836a6);_0x450c7c&&(((_0xe6750e=this[_0x5e7262(0x183)][_0x5e7262(0x463)](_0x17ac43['id']))==null?void 0x0:_0xe6750e['value'])!==_0x450c7c[_0x5e7262(0x283)]&&(_0x276198=!0x0),this[_0x5e7262(0x183)][_0x5e7262(0x3ba)](_0x17ac43['id'],_0x450c7c[_0x5e7262(0x283)]));}),_0x276198&&this[_0x3d4a79(0x181)]['clearUndoRedo'](_0x303a88);});}const _0x1f5073=this['_injector'][_0x3ce2e0(0x187)](_0x6c7bf0),_0x17d697=_0x1f5073[_0x3ce2e0(0x1ce)](_0x303a88,_0x38e1ce);if(_0x17d697){const [_0x126ca3,_0x2bf525]=_0x17d697;this[_0x3ce2e0(0x264)][_0x3ce2e0(0x283)]({'objectID':_0x38e1ce,'unitID':_0x303a88,'objectType':_0x131735[_0x3ce2e0(0x21b)],'actions':_0x22fd01})[_0x3ce2e0(0x384)](_0x2b8e1b=>{var _0x27e8c0=_0x3ce2e0;let _0x2118ee='';_0x3af75a()[_0x27e8c0(0x19f)](_0x1bb351=>{var _0x50134e=_0x27e8c0,_0x1c9a63;const _0x47804b=new _0x1bb351(_0x303a88,_0x2bf525,_0x38e1ce),_0xac53d5=_0x47804b[_0x50134e(0x360)],_0x356e53=_0x2b8e1b[_0x50134e(0x3f6)](_0x472480=>_0x472480['action']===_0xac53d5);_0x356e53&&(((_0x1c9a63=this[_0x50134e(0x183)][_0x50134e(0x463)](_0x47804b['id']))==null?void 0x0:_0x1c9a63[_0x50134e(0x325)])!==_0x356e53[_0x50134e(0x283)]&&(_0x276198=!0x0),this[_0x50134e(0x183)][_0x50134e(0x3ba)](_0x47804b['id'],_0x356e53[_0x50134e(0x283)]),_0x2118ee+=_0x356e53[_0x50134e(0x1ec)]+'_'+_0x356e53[_0x50134e(0x283)]);}),_0x1f5073['ruleRefresh'](_0x38e1ce+'_'+_0x2118ee),_0x276198&&this[_0x27e8c0(0x181)][_0x27e8c0(0x47a)](_0x303a88);});}}};ct=jr([Se(0x0,_0x318337(_0x319afb)),Se(0x1,_0xbe442f),Se(0x2,_0x2e32b6),Se(0x3,_0x318337(Le)),Se(0x4,_0x318337(pe)),Se(0x5,_0x5a5682),Se(0x6,_0x531919)],ct);var Br=Object[_0x4d236c(0x31d)],Fr=Object[_0x4d236c(0x261)],Vr=(_0x329ef5,_0x19722f,_0x40f345,_0x45fd4e)=>{var _0x33512d=_0x4d236c;for(var _0x3ea68e=_0x45fd4e>0x1?void 0x0:_0x45fd4e?Fr(_0x19722f,_0x40f345):_0x19722f,_0x38db25=_0x329ef5[_0x33512d(0x3e3)]-0x1,_0x4e8da4;_0x38db25>=0x0;_0x38db25--)(_0x4e8da4=_0x329ef5[_0x38db25])&&(_0x3ea68e=(_0x45fd4e?_0x4e8da4(_0x19722f,_0x40f345,_0x3ea68e):_0x4e8da4(_0x3ea68e))||_0x3ea68e);return _0x45fd4e&&_0x3ea68e&&Br(_0x19722f,_0x40f345,_0x3ea68e),_0x3ea68e;},ui=(_0x3810c1,_0x593f86)=>(_0x7d539d,_0x2c8c08)=>_0x593f86(_0x7d539d,_0x2c8c08,_0x3810c1);let Dt=class{constructor(_0x295c6a,_0x2e3c0c){var _0x171f94=_0x4d236c;this[_0x171f94(0x2f2)]=_0x295c6a,this[_0x171f94(0x36b)]=_0x2e3c0c;}async[_0x4d236c(0x449)](_0xdbc1cf,_0x3a11e9){var _0x56ed33=_0x4d236c,_0x494918;const {unitID:_0x3a5ef0,type:_0x35aec4,revision:_0x5e8d01=0x0}=_0x3a11e9,_0x2e9866=this[_0x56ed33(0x229)]()+'/'+_0x35aec4+_0x56ed33(0x2af)+_0x3a5ef0+_0x56ed33(0x296)+_0x5e8d01,_0xba2a25=(await this[_0x56ed33(0x36b)][_0x56ed33(0x187)](_0x2e9866))[_0x56ed33(0x1a9)],_0x713272=(_0x494918=_0xba2a25[_0x56ed33(0x1eb)])==null?void 0x0:_0x494918[_0x56ed33(0x289)];if(_0x713272){const _0x898553=_0x713272==null?void 0x0:_0x713272['originalMeta'],_0x1233b8=_0x1c73e2[_0x56ed33(0x3ff)](_0x589e91(_0x898553));_0x713272[_0x56ed33(0x2df)]=_0x1233b8,Object[_0x56ed33(0x241)](_0x713272[_0x56ed33(0x2c1)])[_0x56ed33(0x19f)](([,_0x1e3ea0])=>{var _0x296280=_0x56ed33;const _0x5afb30=_0x1e3ea0['originalMeta'],_0x558f36=_0x1c73e2[_0x296280(0x3ff)](_0x589e91(_0x5afb30));_0x1e3ea0[_0x296280(0x2df)]=_0x558f36;});}return _0xba2a25;}async[_0x4d236c(0x35e)](_0x29bbbb,_0x14a31c){var _0x183081=_0x4d236c;const {unitID:_0xbe34f1,type:_0x56c5bc,blockID:_0x163fb6}=_0x14a31c,_0x134cc8=this[_0x183081(0x222)]()+'/'+_0x56c5bc+_0x183081(0x2af)+_0xbe34f1+_0x183081(0x42c)+_0x163fb6;return(await this[_0x183081(0x36b)]['get'](_0x134cc8))[_0x183081(0x1a9)];}async[_0x4d236c(0x199)](_0x49efbd,_0x56a1bf){var _0x24fc84=_0x4d236c;const {unitID:_0x4686d8,type:_0xa68f03,blockID:_0x3a8e65}=_0x56a1bf,_0x28a148=this[_0x24fc84(0x222)]()+'/block/'+_0xa68f03+_0x24fc84(0x2af)+_0x4686d8+'/block/'+_0x3a8e65;return(await this[_0x24fc84(0x36b)][_0x24fc84(0x187)](_0x28a148))[_0x24fc84(0x1a9)];}async[_0x4d236c(0x461)](_0xfadb99,_0xaef861){var _0x455aef=_0x4d236c;const {unitID:_0x1d88b2,type:_0x15d0c8,from:_0x149b54,to:_0x35cb87}=_0xaef861,_0x1bcefd=this[_0x455aef(0x222)]()+'/'+_0x15d0c8+_0x455aef(0x2af)+_0x1d88b2+'/fetchmissing?from='+_0x149b54+_0x455aef(0x1f8)+_0x35cb87;return(await this['_httpService'][_0x455aef(0x187)](_0x1bcefd))[_0x455aef(0x1a9)];}['getSnapshotAPIPath'](){var _0x268d07=_0x4d236c,_0x10a107;return(_0x10a107=this[_0x268d07(0x2f2)]['getConfig'](Dn))!=null?_0x10a107:this[_0x268d07(0x222)]();}[_0x4d236c(0x222)](){var _0x1f1ba1=_0x4d236c,_0x49e819,_0x780ce1;const _0x87fb08=this[_0x1f1ba1(0x2f2)][_0x1f1ba1(0x436)](Nn),_0x4a206c=this[_0x1f1ba1(0x2f2)]['getConfig'](Y);return(_0x780ce1=(_0x49e819=_0x4a206c==null?void 0x0:_0x4a206c[_0x1f1ba1(0x418)])!=null?_0x49e819:_0x87fb08)!=null?_0x780ce1:Pn;}async[_0x4d236c(0x221)](_0x332a40,_0x41a496){var _0x3650b9=_0x4d236c;const _0x6e3df0=_0x3650b9(0x29f)+_0x41a496[_0x3650b9(0x30c)]+_0x3650b9(0x2af)+_0x41a496['unitID']+'/resources';return(await this[_0x3650b9(0x36b)][_0x3650b9(0x187)](_0x6e3df0,{'params':{'resourceId':JSON[_0x3650b9(0x355)](_0x41a496[_0x3650b9(0x404)])}}))['body'];}[_0x4d236c(0x3a2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x589a1b=_0x4d236c;throw new Error(_0x589a1b(0x478));}[_0x4d236c(0x3df)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4d236c(0x3c6)](){var _0x432f13=_0x4d236c;throw new Error(_0x432f13(0x478));}[_0x4d236c(0x3b6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=Vr([ui(0x0,_0x8980fc),ui(0x1,_0x318337(_0x53807a))],Dt);var Wr=Object['defineProperty'],Gr=Object[_0x4d236c(0x261)],Kr=(_0x4fdb16,_0x986b81,_0xbb1c5d,_0x10f7b1)=>{var _0x36f872=_0x4d236c;for(var _0x287ca8=_0x10f7b1>0x1?void 0x0:_0x10f7b1?Gr(_0x986b81,_0xbb1c5d):_0x986b81,_0x2e5eaa=_0x4fdb16[_0x36f872(0x3e3)]-0x1,_0x629981;_0x2e5eaa>=0x0;_0x2e5eaa--)(_0x629981=_0x4fdb16[_0x2e5eaa])&&(_0x287ca8=(_0x10f7b1?_0x629981(_0x986b81,_0xbb1c5d,_0x287ca8):_0x629981(_0x287ca8))||_0x287ca8);return _0x10f7b1&&_0x287ca8&&Wr(_0x986b81,_0xbb1c5d,_0x287ca8),_0x287ca8;},Ae=(_0x2512fd,_0x2d4858)=>(_0x2c9487,_0x125fca)=>_0x2d4858(_0x2c9487,_0x125fca,_0x2512fd);let wt=class extends _0x1eb228{constructor(_0x22a2cd,_0x248591,_0x4fdefe,_0x4753ef,_0x474fae){var _0x483805=_0x4d236c;super(_0x22a2cd,_0x248591,_0x4fdefe),this[_0x483805(0x1f1)]=_0x4753ef,this['_logService']=_0x474fae;}['transformUndoRedo'](_0x48ebc0,_0x5240be){var _0x50f281=_0x4d236c;const _0x19082b=this['_getUndoStack'](_0x48ebc0);if(_0x19082b)try{const _0x29a040=this[_0x50f281(0x26f)](_0x19082b,_0x5240be);this[_0x50f281(0x326)](_0x48ebc0,_0x29a040);}catch(_0x51c504){this['_logService'][_0x50f281(0x2be)](_0x50f281(0x475),_0x51c504),this[_0x50f281(0x3c0)](_0x48ebc0);}const _0x14dc01=this[_0x50f281(0x34e)](_0x48ebc0);if(_0x14dc01)try{const _0x44e64a=this['_transformStack'](_0x14dc01,_0x5240be);this['_substituteRedoStack'](_0x48ebc0,_0x44e64a);}catch(_0x2fc2b2){this[_0x50f281(0x31b)][_0x50f281(0x2be)](_0x2fc2b2),this[_0x50f281(0x272)](_0x48ebc0);}}[_0x4d236c(0x3c0)](_0x222eaf){var _0x29ad1b=_0x4d236c;const _0x496a39=this[_0x29ad1b(0x237)](_0x222eaf);_0x496a39&&(_0x496a39['length']=0x0,this[_0x29ad1b(0x260)]());}[_0x4d236c(0x272)](_0x3d06a1){var _0x2c3766=_0x4d236c;const _0x15856d=this[_0x2c3766(0x34e)](_0x3d06a1);_0x15856d&&(_0x15856d[_0x2c3766(0x3e3)]=0x0,this['_updateStatus']());}[_0x4d236c(0x326)](_0x53817d,_0x31c18c){var _0x51d256=_0x4d236c;this[_0x51d256(0x46a)]['set'](_0x53817d,_0x31c18c),this['_updateStatus']();}[_0x4d236c(0x1c3)](_0x35731d,_0x5c45af){var _0x2907a3=_0x4d236c;this[_0x2907a3(0x306)][_0x2907a3(0x406)](_0x35731d,_0x5c45af),this['_updateStatus']();}[_0x4d236c(0x26f)](_0x5f31fd,_0x16c8b1){var _0x4d9fbd=_0x4d236c;const _0x20bd1d=[];let _0x42eae8=_0x16c8b1,_0x3663a9=_0x16c8b1;for(let _0x4f4158=_0x5f31fd[_0x4d9fbd(0x3e3)]-0x1;_0x4f4158>=0x0;_0x4f4158--){const {unitID:_0x261692,undoMutations:_0x29da5a,redoMutations:_0x276dfd}=_0x5f31fd[_0x4f4158],_0x4a6c12=this[_0x4d9fbd(0x1f1)]['transformMutationsWithChangeset'](_0x42eae8,_0x29da5a),_0x43adab=this[_0x4d9fbd(0x1f1)][_0x4d9fbd(0x1dd)](_0x3663a9,_0x276dfd);if(_0x2524f5(_0x4a6c12)||_0x2524f5(_0x43adab)){this[_0x4d9fbd(0x31b)][_0x4d9fbd(0x2be)]('[CollaborationUndoRedoService]',_0x4d9fbd(0x3ac),_0x4a6c12,_0x43adab);break;}_0x42eae8=_0x4a6c12[_0x4d9fbd(0x33f)],_0x3663a9=_0x43adab[_0x4d9fbd(0x33f)],_0x20bd1d[_0x4d9fbd(0x3e7)]({'unitID':_0x261692,'undoMutations':_0x4a6c12[_0x4d9fbd(0x3e8)],'redoMutations':_0x43adab[_0x4d9fbd(0x3e8)]});}return _0x20bd1d[_0x4d9fbd(0x410)]();}};wt=Kr([Ae(0x0,_0xbe442f),Ae(0x1,_0x165bb2),Ae(0x2,_0x1b133c),Ae(0x3,_0x38407d),Ae(0x4,_0x1b80b0)],wt);var Li=Object[_0x4d236c(0x31d)],zr=Object[_0x4d236c(0x261)],Yr=(_0x207440,_0x191b09,_0x4568da)=>_0x191b09 in _0x207440?Li(_0x207440,_0x191b09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4568da}):_0x207440[_0x191b09]=_0x4568da,qr=(_0xa120c1,_0xb325fd,_0x81318,_0xa44fbb)=>{var _0x4db323=_0x4d236c;for(var _0x15991a=_0xa44fbb>0x1?void 0x0:_0xa44fbb?zr(_0xb325fd,_0x81318):_0xb325fd,_0x498688=_0xa120c1[_0x4db323(0x3e3)]-0x1,_0xcdd29e;_0x498688>=0x0;_0x498688--)(_0xcdd29e=_0xa120c1[_0x498688])&&(_0x15991a=(_0xa44fbb?_0xcdd29e(_0xb325fd,_0x81318,_0x15991a):_0xcdd29e(_0x15991a))||_0x15991a);return _0xa44fbb&&_0x15991a&&Li(_0xb325fd,_0x81318,_0x15991a),_0x15991a;},Et=(_0x2a42b7,_0x3e5b6e)=>(_0x5e2b83,_0x366008)=>_0x3e5b6e(_0x5e2b83,_0x366008,_0x2a42b7),Jr=(_0x21e83c,_0x148891,_0x2eda74)=>Yr(_0x21e83c,_0x148891+'',_0x2eda74);const Xr=_0x4d236c(0x3b1);let Ut=class extends _0x18ac3c{constructor(_0x181584=Wn,_0x3ccfa5,_0x2e9993,_0x55f894){var _0xdb61dc=_0x4d236c;super(),this[_0xdb61dc(0x268)]=_0x181584,this['_logService']=_0x3ccfa5,this[_0xdb61dc(0x1f4)]=_0x2e9993,this[_0xdb61dc(0x2f2)]=_0x55f894;const {..._0x29e66d}=this[_0xdb61dc(0x268)];this[_0xdb61dc(0x2f2)]['setConfig'](Y,_0x29e66d);}[_0x4d236c(0x1c8)](){var _0x1e58c0=_0x4d236c;this[_0x1e58c0(0x1b3)](),this['_initDependencies']();}[_0x4d236c(0x1b3)](){var _0x1826a3=_0x4d236c,_0x27a65f,_0x22a0ae,_0x58e800,_0x28bd51;this[_0x1826a3(0x1f4)][_0x1826a3(0x295)](_0x531919)&&this[_0x1826a3(0x31b)][_0x1826a3(0x2be)]('[UniverCollaborationClientPlugin]',_0x1826a3(0x2e3));const _0x299b3a=_0x211ddb([[_0x531919,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0x22a0ae=(_0x27a65f=this[_0x1826a3(0x268)])==null?void 0x0:_0x27a65f[_0x1826a3(0x39f)])!=null?_0x22a0ae:It}],[_0x2576d5,{'useClass':Dt}],[_0x5a5682,{'useClass':yt}],[_0x10e03b,{'useClass':Nt}],[_0x3ab0ea,{'useClass':Pt}],[rt],[Rt]],(_0x58e800=this[_0x1826a3(0x268)])==null?void 0x0:_0x58e800['override']);if(!((_0x28bd51=this[_0x1826a3(0x268)])!=null&&_0x28bd51[_0x1826a3(0x1e2)])){const _0x1bc06b=_0x299b3a[_0x1826a3(0x286)](([_0x125c24])=>_0x125c24===_t);_0x1bc06b!==-0x1&&_0x299b3a['splice'](_0x1bc06b,0x1);}_0x249870(this['_injector'],_0x299b3a);}[_0x4d236c(0x36e)](){var _0x153dab=_0x4d236c,_0x127e03,_0x296b8c,_0x8d8259;this[_0x153dab(0x1f4)][_0x153dab(0x187)](_0x53807a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5c921d({'maxParallel':0x6})}),(_0x127e03=this[_0x153dab(0x268)])!=null&&_0x127e03['enableOfflineEditing']||(_0x296b8c=this[_0x153dab(0x1f4)][_0x153dab(0x187)](X,_0x1ebd03[_0x153dab(0x3fa)]))==null||_0x296b8c[_0x153dab(0x2a9)](),(_0x8d8259=this[_0x153dab(0x268)])!=null&&_0x8d8259['enableAuthServer']&&_0x33ebc3(this[_0x153dab(0x1f4)],[[ot]]),_0x33ebc3(this['_injector'],[[at],[rt],[ct]]);}};Jr(Ut,_0x4d236c(0x47f),Xr),Ut=qr([_0xc0a526(_0x487f4a,_0x3b476f,_0x1f50f2),Et(0x1,_0x1b80b0),Et(0x2,_0x318337(_0x319afb)),Et(0x3,_0x8980fc)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Ni as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,fo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,uo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Nn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,vo as getLocalCacheKey,zn as serializeCombRequest};
|
1
|
+
var _0xfea5bc=_0xce85;(function(_0x220c14,_0x13141e){var _0x2372f9=_0xce85,_0x4c022b=_0x220c14();while(!![]){try{var _0x345670=-parseInt(_0x2372f9(0x103))/0x1+parseInt(_0x2372f9(0x14b))/0x2+-parseInt(_0x2372f9(0xae))/0x3*(parseInt(_0x2372f9(0x344))/0x4)+-parseInt(_0x2372f9(0xaf))/0x5+-parseInt(_0x2372f9(0x74))/0x6*(-parseInt(_0x2372f9(0x2c1))/0x7)+parseInt(_0x2372f9(0x292))/0x8+parseInt(_0x2372f9(0x179))/0x9*(parseInt(_0x2372f9(0xd3))/0xa);if(_0x345670===_0x13141e)break;else _0x4c022b['push'](_0x4c022b['shift']());}catch(_0xd18a01){_0x4c022b['push'](_0x4c022b['shift']());}}}(_0x10d2,0x52488));var Mi=Object[_0xfea5bc(0x247)],$i=(_0x1ab8c8,_0x1a4c94,_0x2d8923)=>_0x1a4c94 in _0x1ab8c8?Mi(_0x1ab8c8,_0x1a4c94,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d8923}):_0x1ab8c8[_0x1a4c94]=_0x2d8923,P=(_0x54c428,_0x4b5a7e,_0x161fcb)=>$i(_0x54c428,typeof _0x4b5a7e!=_0xfea5bc(0x333)?_0x4b5a7e+'':_0x4b5a7e,_0x161fcb);import{createIdentifier as _0x3794ca,Inject as _0x5d1423,Injector as _0xd0e7e3,Disposable as _0x2d0e8b,DisposableCollection as _0x32acf3,toDisposable as _0x5891ad,IConfigService as _0x39bec4,ILogService as _0x43687c,UserManagerService as _0x9ba843,UniverInstanceType as _0x583f53,IUniverInstanceService as _0x248930,LocaleService as _0x477c62,Optional as _0x52513a,RxDisposable as _0x186de6,Tools as _0x8cc875,Rectangle as _0x3cd9d4,ICommandService as _0x185ede,JSONX as _0x46d4a5,CommandType as _0x1a1b3d,IPermissionService as _0x5cf24c,IUndoRedoService as _0x2b9d6a,sequenceExecute as _0x3191f9,Workbook as _0x27b63e,MentionType as _0x525d5e,IAuthzIoService as _0x4b1b13,isInternalEditorID as _0x5f1df2,LocalUndoRedoService as _0x80d44f,IContextService as _0x1fb165,DependentOn as _0x485a20,Plugin as _0x5dad89,mergeOverrideWithDependencies as _0x2ec949,IMentionIOService as _0x19c147,registerDependencies as _0x55e183,Quantity as _0x273632,touchDependencies as _0x41afa0}from'@univerjs/core';import{Subject as _0x259d5d,merge as _0x22f8bf,of as _0x5c379f,BehaviorSubject as _0x27ef72,takeUntil as _0x39790d,ReplaySubject as _0x4cc6ad,take as _0x3a3f11,map as _0x1e327d,shareReplay as _0x1e55d9,firstValueFrom as _0xe3b687,concatMap as _0x146834}from'rxjs';import{map as _0x4e6d97,take as _0xb8a411,filter as _0x57ea80,delay as _0x4c7295,takeUntil as _0x334fe5}from'rxjs/operators';import{HTTPService as _0x221528,ISocketService as _0x47bc8d,MergeInterceptorFactory as _0x3a4587,HTTPRequest as _0x230d9d,UniverNetworkPlugin as _0x4fa0fb,ThresholdInterceptorFactory as _0x22c927}from'@univerjs/network';import{CollaborationEvent as _0x41c4be,parseChangesetToProtocol as _0x11e850,ISnapshotServerService as _0x4adf9f,isTransformMutationsWithChangesetSuccess as _0x475b3b,ITransformService as _0x12a25b,mapDocumentTypeToUniverType as _0x55c8b8,RevisionService as _0x42e08a,isTransformChangesetsSuccess as _0x22f639,CompressMutationService as _0x78e898,parseProtocolChangeset as _0x3bfdc7,SnapshotService as _0x29e361,textEncoder as _0x3c6568,b64DecodeUnicode as _0x133354,isTransformMutationsWithChangesetFailure as _0x197898,UniverCollaborationPlugin as _0x4829a6}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x389476}from'@univerjs/telemetry';import{RichTextEditingMutation as _0xcd2ee}from'@univerjs/docs';import{SheetsSelectionsService as _0x52fea8,SetSelectionsOperation as _0x27a380,InsertSheetMutation as _0x231d98,EmptyMutation as _0x18b4f0,WorkbookEditablePermission as _0x3afaa1,UnitObject as _0x88a096,defaultWorkbookPermissionPoints as _0x31db20,getAllWorkbookPermissionPoint as _0x49d77f,WorksheetProtectionRuleModel as _0x48bd95,baseProtectionActions as _0x249c67,getAllWorksheetPermissionPoint as _0xd3dfbc,WorksheetProtectionPointModel as _0xb0a835,defaultWorksheetPermissionPoint as _0x4e4db2,getAllWorksheetPermissionPointByPointPanel as _0x5e58f7,RangeProtectionRuleModel as _0x291fc6,getAllRangePermissionPoint as _0x2a09e1,UniverSheetsPlugin as _0x3eb317}from'@univerjs/sheets';import{ImageSourceType as _0x2c16d2,ImageUploadStatusType as _0x556ec1,IImageIoService as _0x262929}from'@univerjs/drawing';import{getGlobalObject as _0x22d849}from'@univerjs-pro/license';const Nn=_0xfea5bc(0x33c),Pn='/universer-api/snapshot',Dn='SNAPSHOT_URL_KEY',ho=_0xfea5bc(0x163),wn=0x7d0,Un='COLLAB_WEB_SOCKET_URL',An='ws://127.0.0.1:8000/universer-api/comb/connect',xn=_0xfea5bc(0x2ed),Ln=_0xfea5bc(0x16a),Mn=0x7530,Ei='HEARTBEAT_TIMEOUT',Ii=0x4e20,$n=0x4e20,Hn='RETRY_CONNECTING_MAX_COUNT',kn=0x3,_o=_0xfea5bc(0x1f7),lo=0x3e8,jn=_0xfea5bc(0x15e),Bn=_0xfea5bc(0x293),Fn=_0xfea5bc(0x21d),Vn=_0xfea5bc(0x312),uo=_0xfea5bc(0x182),fo='/universer-api/uniscript';var Ti=(_0x2bfdc3=>(_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x337)]=0x0]=_0xfea5bc(0x337),_0x2bfdc3[_0x2bfdc3['OK']=0x1]='OK',_0x2bfdc3[_0x2bfdc3['INTERNAL_ERROR']=0x2]=_0xfea5bc(0x22c),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x329)]=0x3]=_0xfea5bc(0x329),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x2a9)]=0x4]=_0xfea5bc(0x2a9),_0x2bfdc3[_0x2bfdc3['UNAUTHENTICATED']=0x5]=_0xfea5bc(0x28b),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x14d)]=0x6]=_0xfea5bc(0x14d),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0xb8)]=0x7]='INVALID_ARGUMENT',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x1c3)]=0x8]=_0xfea5bc(0x1c3),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x6a)]=0x9]=_0xfea5bc(0x6a),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x186)]=0x1389]=_0xfea5bc(0x186),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x218)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x266)]=0x1772]=_0xfea5bc(0x266),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x2ca)]=0x1773]=_0xfea5bc(0x2ca),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x100)]=0x1b59]='APPLY_REJECT',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0xfc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2bfdc3[_0x2bfdc3['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xfea5bc(0x143),_0x2bfdc3[_0x2bfdc3['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xfea5bc(0x105),_0x2bfdc3[_0x2bfdc3['APPLY_DUPLICATED']=0x1b5d]=_0xfea5bc(0x10a),_0x2bfdc3[_0x2bfdc3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x194)]=0x2329]=_0xfea5bc(0x194),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x359)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2bfdc3[_0x2bfdc3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xfea5bc(0x373),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x211)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x2a4)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2bfdc3[_0x2bfdc3['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xfea5bc(0x1db),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x8c)]=0x2712]=_0xfea5bc(0x8c),_0x2bfdc3[_0x2bfdc3[_0xfea5bc(0x262)]=0x2713]=_0xfea5bc(0x262),_0x2bfdc3[_0x2bfdc3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2bfdc3[_0x2bfdc3['UNRECOGNIZED']=-0x1]=_0xfea5bc(0x2a6),_0x2bfdc3))(Ti||{}),Q=(_0x3bd9c6=>(_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x2a1)]=0x0]=_0xfea5bc(0x2a1),_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x11b)]=0x1]=_0xfea5bc(0x11b),_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x14f)]=0x2]=_0xfea5bc(0x14f),_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x1b2)]=0x3]=_0xfea5bc(0x1b2),_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x153)]=0x4]='UNIVER_PROJECT',_0x3bd9c6[_0x3bd9c6[_0xfea5bc(0x2a6)]=-0x1]=_0xfea5bc(0x2a6),_0x3bd9c6))(Q||{}),F=(_0x1a5155=>(_0x1a5155[_0x1a5155[_0xfea5bc(0x291)]=0x0]=_0xfea5bc(0x291),_0x1a5155[_0x1a5155[_0xfea5bc(0x144)]=0x1]=_0xfea5bc(0x144),_0x1a5155[_0x1a5155['JOIN']=0x2]='JOIN',_0x1a5155[_0x1a5155[_0xfea5bc(0x6f)]=0x3]='LEAVE',_0x1a5155[_0x1a5155[_0xfea5bc(0x225)]=0x4]=_0xfea5bc(0x225),_0x1a5155[_0x1a5155[_0xfea5bc(0x20d)]=0x5]=_0xfea5bc(0x20d),_0x1a5155[_0x1a5155['RECV']=0x6]=_0xfea5bc(0x366),_0x1a5155[_0x1a5155[_0xfea5bc(0x2a6)]=-0x1]=_0xfea5bc(0x2a6),_0x1a5155))(F||{}),Ee=(_0x5efcb9=>(_0x5efcb9[_0x5efcb9[_0xfea5bc(0x1be)]=0x0]=_0xfea5bc(0x1be),_0x5efcb9[_0x5efcb9['OK']=0x1]='OK',_0x5efcb9[_0x5efcb9['FAIL']=0x2]='FAIL',_0x5efcb9[_0x5efcb9[_0xfea5bc(0xed)]=0x3e9]=_0xfea5bc(0xed),_0x5efcb9[_0x5efcb9[_0xfea5bc(0x2aa)]=0x3ea]=_0xfea5bc(0x2aa),_0x5efcb9[_0x5efcb9[_0xfea5bc(0x73)]=0x3eb]=_0xfea5bc(0x73),_0x5efcb9[_0x5efcb9[_0xfea5bc(0x290)]=0x3ec]=_0xfea5bc(0x290),_0x5efcb9[_0x5efcb9['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5efcb9))(Ee||{}),Ci=(_0x898cf2=>(_0x898cf2[_0x898cf2['Undefined']=0x0]='Undefined',_0x898cf2[_0x898cf2[_0xfea5bc(0x116)]=0x1]='HttpImport',_0x898cf2[_0x898cf2[_0xfea5bc(0x31a)]=0x2]=_0xfea5bc(0x31a),_0x898cf2[_0x898cf2[_0xfea5bc(0x14a)]=0x3]='UnitEmbedded',_0x898cf2[_0x898cf2[_0xfea5bc(0x15d)]=0x4]=_0xfea5bc(0x15d),_0x898cf2[_0x898cf2[_0xfea5bc(0x2a6)]=-0x1]='UNRECOGNIZED',_0x898cf2))(Ci||{});const Y=_0xfea5bc(0x28d),Wn={};var re=(_0x233806=>(_0x233806[_0xfea5bc(0xa6)]=_0xfea5bc(0xa6),_0x233806[_0xfea5bc(0x329)]=_0xfea5bc(0x329),_0x233806[_0xfea5bc(0xd5)]=_0xfea5bc(0xd5),_0x233806['CLOSE_ROOM']='CLOSE_ROOM',_0x233806[_0xfea5bc(0x9d)]=_0xfea5bc(0x9d),_0x233806[_0xfea5bc(0x89)]=_0xfea5bc(0x89),_0x233806['SOCKET_FAILED']='SOCKET_FAILED',_0x233806[_0xfea5bc(0x287)]='SUBMIT_CHANGESET_TIMEOUT',_0x233806))(re||{});class pe{constructor(){var _0x461a6b=_0xfea5bc;P(this,_0x461a6b(0xd2),new _0x259d5d()),P(this,_0x461a6b(0xf4),this[_0x461a6b(0xd2)][_0x461a6b(0xc4)]());}[_0xfea5bc(0x23d)](_0x38fe80){var _0x593c05=_0xfea5bc;this['_event$'][_0x593c05(0x2d5)](_0x38fe80);}}const Gn=_0x3794ca('univer-pro.collaboration-client.network-condition.service');function Kn(_0x4dad5d){var _0x5ede20=_0xfea5bc,_0x292507,_0x2a6ca7,_0x249dbd,_0xf97a72,_0xb23179;const _0x3b7169=_0x4dad5d[_0x5ede20(0x2e1)],_0x50b273=JSON['parse'](_0x3b7169);switch(_0x50b273[_0x5ede20(0x2e3)]){case F[_0x5ede20(0x20d)]:case F[_0x5ede20(0x144)]:{const _0x1b5496=_0x50b273['infoRsp'];return{..._0x50b273,'data':_0x1b5496,'cmd':_0x50b273['cmd']};}case F['JOIN']:{const _0x2f1c19=_0x50b273[_0x5ede20(0xdb)];return{..._0x50b273,'data':_0x2f1c19,'cmd':_0x50b273[_0x5ede20(0x2e3)]};}case F[_0x5ede20(0x366)]:{const _0x3b76b9=_0x50b273[_0x5ede20(0x2df)];switch(_0x3b76b9['eventID']){case _0x41c4be['PERMISSION_REJ']:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0x292507=_0x3b76b9[_0x5ede20(0x294)])==null?void 0x0:_0x292507['cs']},'cmd':_0x50b273['cmd']};case _0x41c4be['CHANGESET_ACK']:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0x2a6ca7=_0x3b76b9[_0x5ede20(0x157)])==null?void 0x0:_0x2a6ca7['cs']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x24e)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0x249dbd=_0x3b76b9['newCsEvent'])==null?void 0x0:_0x249dbd['cs']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x345)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0xf97a72=_0x3b76b9[_0x5ede20(0x125)])==null?void 0x0:_0xf97a72['cs']},'cmd':_0x50b273['cmd']};case _0x41c4be[_0x5ede20(0x209)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':(_0xb23179=_0x3b76b9[_0x5ede20(0x83)])==null?void 0x0:_0xb23179['cs']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x2e7)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x2d1)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x317)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9['joinEvent']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x2ea)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9['leaveEvent']},'cmd':_0x50b273['cmd']};case _0x41c4be[_0x5ede20(0x362)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9['liveShareNewHost']},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x30c)]:case _0x41c4be['LIVESHARE_OPERATION']:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x154)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be['LIVESHARE_TERMINATE']:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x2c7)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be[_0x5ede20(0x2fa)]:return{..._0x50b273,'data':_0x3b76b9,'cmd':_0x50b273['cmd']};case _0x41c4be[_0x5ede20(0x1ce)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9['commentUpdateEvent']},'cmd':_0x50b273['cmd']};case _0x41c4be['UPDATE_PERMISSION_OBJ']:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x252)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};case _0x41c4be['SHOULD_CLOSE_CONN']:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x356)]},'cmd':_0x50b273['cmd']};case _0x41c4be[_0x5ede20(0x371)]:return{..._0x50b273,'data':{..._0x3b76b9,'data':_0x3b76b9[_0x5ede20(0x2fe)]},'cmd':_0x50b273[_0x5ede20(0x2e3)]};default:return _0x50b273;}}default:return _0x50b273;}}function zn(_0x5f8bb4){var _0x2ea609=_0xfea5bc;switch(_0x5f8bb4[_0x2ea609(0x2e3)]){case F[_0x2ea609(0x20d)]:case F[_0x2ea609(0x144)]:return JSON[_0x2ea609(0x305)]({'cmd':_0x5f8bb4['cmd'],'routeKey':_0x5f8bb4[_0x2ea609(0x9f)]});case F['INGEST']:{let _0xc7fef;switch(_0x5f8bb4[_0x2ea609(0x2e1)][_0x2ea609(0x145)]){case _0x41c4be[_0x2ea609(0x2e7)]:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x2e7)],'updateCursorEvent':_0x5f8bb4[_0x2ea609(0x2e1)][_0x2ea609(0x2e1)]};break;}case _0x41c4be[_0x2ea609(0x2ea)]:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x2ea)],'leaveEvent':_0x5f8bb4[_0x2ea609(0x2e1)]['data']};break;}case _0x41c4be[_0x2ea609(0x317)]:{_0xc7fef={'eventID':_0x41c4be['USERS_ENTER'],'joinEvent':_0x5f8bb4['data'][_0x2ea609(0x2e1)]};break;}case _0x41c4be[_0x2ea609(0x362)]:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x362)],'liveShareNewHost':_0x5f8bb4[_0x2ea609(0x2e1)][_0x2ea609(0x2e1)]};break;}case _0x41c4be['LIVESHARE_OPERATION']:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x27e)],'liveShareOperation':_0x5f8bb4['data'][_0x2ea609(0x2e1)]};break;}case _0x41c4be[_0x2ea609(0x19c)]:{_0xc7fef={'eventID':_0x41c4be['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5f8bb4[_0x2ea609(0x2e1)][_0x2ea609(0x2e1)]};break;}case _0x41c4be['LIVESHARE_REQUEST_HOST']:{_0xc7fef={'eventID':_0x41c4be['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5f8bb4['data']['data']};break;}case _0x41c4be[_0x2ea609(0x30c)]:{_0xc7fef={'eventID':_0x41c4be[_0x2ea609(0x30c)]};break;}default:_0xc7fef={'eventID':_0x5f8bb4[_0x2ea609(0x2e1)]['eventID']};}return JSON['stringify']({'cmd':_0x5f8bb4[_0x2ea609(0x2e3)],'routeKey':_0x5f8bb4[_0x2ea609(0x9f)],'collaMsg':_0xc7fef});}case F[_0x2ea609(0x88)]:return JSON[_0x2ea609(0x305)]({'cmd':_0x5f8bb4[_0x2ea609(0x2e3)],'routeKey':_0x5f8bb4[_0x2ea609(0x9f)],'joinReq':_0x5f8bb4[_0x2ea609(0x2e1)]});case F[_0x2ea609(0x6f)]:return JSON['stringify']({'cmd':_0x5f8bb4[_0x2ea609(0x2e3)],'routeKey':_0x5f8bb4[_0x2ea609(0x9f)],'leaveReq':_0x5f8bb4[_0x2ea609(0x2e1)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Yn=Object[_0xfea5bc(0x247)],qn=Object[_0xfea5bc(0x30f)],Jn=(_0x1e7826,_0x196ca2,_0x3d7a40,_0x564171)=>{var _0x34d1eb=_0xfea5bc;for(var _0x1bd666=_0x564171>0x1?void 0x0:_0x564171?qn(_0x196ca2,_0x3d7a40):_0x196ca2,_0x12654e=_0x1e7826[_0x34d1eb(0x28a)]-0x1,_0x1bbbcf;_0x12654e>=0x0;_0x12654e--)(_0x1bbbcf=_0x1e7826[_0x12654e])&&(_0x1bd666=(_0x564171?_0x1bbbcf(_0x196ca2,_0x3d7a40,_0x1bd666):_0x1bbbcf(_0x1bd666))||_0x1bd666);return _0x564171&&_0x1bd666&&Yn(_0x196ca2,_0x3d7a40,_0x1bd666),_0x1bd666;},Ue=(_0x4bdd76,_0x3e07da)=>(_0x19211e,_0x2aa047)=>_0x3e07da(_0x19211e,_0x2aa047,_0x4bdd76);const bi=_0x3794ca(_0xfea5bc(0x22b));function Xn(_0x3329ed,_0x37fc51,_0x381a06){var _0x157287=_0xfea5bc;return _0x3329ed+'/'+_0x37fc51+'/unit/'+_0x381a06+_0x157287(0xfe);}let It=class extends _0x2d0e8b{constructor(_0x257add,_0x3e8eac,_0x2eb5fa,_0x24ead5,_0x588be7){var _0x21a2d5=_0xfea5bc;super(),this[_0x21a2d5(0x239)]=_0x257add,this[_0x21a2d5(0x313)]=_0x3e8eac,this['_configService']=_0x2eb5fa,this[_0x21a2d5(0xa5)]=_0x24ead5,this['_snapshotServerService']=_0x588be7;}['createSocket'](_0x36d778){var _0x3b9cf2=_0xfea5bc;const _0x5af16d=this[_0x3b9cf2(0x239)][_0x3b9cf2(0x1da)](_0x47bc8d);if(!_0x5af16d)throw new Error(_0x3b9cf2(0x270));const _0x590f51=_0x5af16d[_0x3b9cf2(0x13b)](_0x36d778);if(!_0x590f51)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x324a09=new _0x32acf3(),_0x9ab6ba=new _0x259d5d();_0x324a09[_0x3b9cf2(0x2eb)](_0x590f51['close$'][_0x3b9cf2(0x2d7)](_0x534f93=>_0x9ab6ba[_0x3b9cf2(0x2d5)](_0x534f93))),_0x324a09['add'](_0x5891ad(()=>_0x9ab6ba[_0x3b9cf2(0x2f8)]()));const _0x336e61=new _0x259d5d();_0x324a09['add'](_0x590f51[_0x3b9cf2(0x29f)][_0x3b9cf2(0x2d7)](_0x243287=>_0x336e61[_0x3b9cf2(0x2d5)](_0x243287))),_0x324a09[_0x3b9cf2(0x2eb)](_0x5891ad(()=>_0x336e61[_0x3b9cf2(0x2f8)]()));const _0x256ac4=new _0x259d5d();_0x324a09[_0x3b9cf2(0x2eb)](_0x590f51[_0x3b9cf2(0x142)]['subscribe'](_0x4a7267=>{var _0x10a989=_0x3b9cf2;const _0x1be1ce=Kn(_0x4a7267);_0x256ac4[_0x10a989(0x2d5)](_0x1be1ce);})),_0x324a09[_0x3b9cf2(0x2eb)](_0x5891ad(()=>_0x256ac4[_0x3b9cf2(0x2f8)]()));let _0x1ef9c0;const _0x5ac4ea=()=>{var _0x25faeb=_0x3b9cf2;_0x336e61[_0x25faeb(0x2d5)](new Event(_0x25faeb(0x1f6))),_0x9ab6ba[_0x25faeb(0x2d5)](new CloseEvent(_0x25faeb(0x1f6))),_0x1ef9c0[_0x25faeb(0x93)]();};return _0x1ef9c0={'memberID':'','close$':_0x9ab6ba[_0x3b9cf2(0xc4)](),'error$':_0x336e61['asObservable'](),'open$':_0x590f51[_0x3b9cf2(0x282)],'message$':_0x256ac4[_0x3b9cf2(0xc4)](),'send':_0x5bdc14=>{var _0x22f39e=_0x3b9cf2;if(_0x5bdc14[_0x22f39e(0x2e3)]===F[_0x22f39e(0x225)]){if(_0x5bdc14[_0x22f39e(0x2e1)][_0x22f39e(0x145)]===_0x41c4be[_0x22f39e(0x296)]){this['_submitChangeset'](_0x1ef9c0,_0x5bdc14['data'])[_0x22f39e(0x11f)](_0x5c284e=>{var _0x4bee6a=_0x22f39e;this[_0x4bee6a(0xa5)]['error'](_0x5c284e),_0x5ac4ea();});return;}if(_0x5bdc14[_0x22f39e(0x2e1)][_0x22f39e(0x145)]===_0x41c4be[_0x22f39e(0xeb)]){const _0x13bc54=_0x5bdc14[_0x22f39e(0x2e1)];this['_fetchMissChangesets'](_0x13bc54)[_0x22f39e(0x82)](_0x1ac573=>{var _0x1dc382=_0x22f39e;_0x256ac4[_0x1dc382(0x2d5)]({'cmd':F[_0x1dc382(0x366)],'code':Ee['OK'],'routeKey':_0x13bc54[_0x1dc382(0x2e1)]['unitID'],'routeType':'','data':{'eventID':_0x41c4be[_0x1dc382(0xe7)],'data':{'changesets':_0x1ac573}}});})[_0x22f39e(0x11f)](_0x7bf159=>{var _0x52ce0c=_0x22f39e;this[_0x52ce0c(0xa5)]['error'](_0x7bf159),_0x5ac4ea();});return;}}_0x590f51['send'](zn(_0x5bdc14));},'close':()=>{var _0x3437cc=_0x3b9cf2;_0x590f51[_0x3437cc(0x93)](),_0x324a09[_0x3437cc(0x33e)]();}},_0x1ef9c0;}async['_submitChangeset'](_0x3e65fa,_0x3908f1){var _0x50f461=_0xfea5bc,_0xbbdeaa,_0x3ff7c8;const {unitType:_0x4f9229,unitID:_0xe2b8ea,changeset:_0x5deb3b}=_0x3908f1[_0x50f461(0x2e1)],_0x2433d4={'unitID':_0xe2b8ea,'memberID':_0x3e65fa['memberID'],'type':_0x4f9229,'changeset':_0x11e850(_0x5deb3b)},_0x53f308=this[_0x50f461(0x132)][_0x50f461(0x30a)](jn),_0x178dc7=this[_0x50f461(0x132)][_0x50f461(0x30a)](Y),_0x388a74=Xn((_0x3ff7c8=(_0xbbdeaa=_0x178dc7==null?void 0x0:_0x178dc7[_0x50f461(0x215)])!=null?_0xbbdeaa:_0x53f308)!=null?_0x3ff7c8:Bn,_0x4f9229,_0xe2b8ea);try{await this[_0x50f461(0x313)]['post'](_0x388a74,{'body':_0x2433d4});}catch(_0x35d180){throw this[_0x50f461(0xa5)][_0x50f461(0x36e)](_0x50f461(0x20b),_0x50f461(0xd8)),_0x35d180;}}async[_0xfea5bc(0xd6)](_0x5b2a8e){var _0x14cf56=_0xfea5bc;const {unitID:_0x12049f,from:_0x2da327,to:_0x4a82f1,unitType:_0x5a83f8}=_0x5b2a8e[_0x14cf56(0x2e1)];return(await this[_0x14cf56(0x124)][_0x14cf56(0x1e4)]({'metadata':void 0x0},{'unitID':_0x12049f,'type':_0x5a83f8,'from':_0x2da327,'to':_0x4a82f1}))[_0x14cf56(0x2a3)];}};It=Jn([Ue(0x0,_0x5d1423(_0xd0e7e3)),Ue(0x1,_0x5d1423(_0x221528)),Ue(0x2,_0x39bec4),Ue(0x3,_0x43687c),Ue(0x4,_0x4adf9f)],It);const Zn=_0xfea5bc(0xc6);function Qn(_0x28a7fe){return JSON['stringify'](_0x28a7fe)['length'];}class Ri{constructor(){var _0x58486b=_0xfea5bc;P(this,'_commentUpdate$',new _0x259d5d()),P(this,'commentUpdate$',this[_0x58486b(0x1c4)][_0x58486b(0xc4)]());}[_0xfea5bc(0x2e5)](_0x3ecf01){var _0x5f4fba=_0xfea5bc;this[_0x5f4fba(0x1c4)]['next'](_0x3ecf01);}}var es=Object[_0xfea5bc(0x247)],ts=Object['getOwnPropertyDescriptor'],is=(_0x157830,_0x477947,_0x23ef12,_0x341ec1)=>{var _0x4ec51d=_0xfea5bc;for(var _0x4517b9=_0x341ec1>0x1?void 0x0:_0x341ec1?ts(_0x477947,_0x23ef12):_0x477947,_0x1565a9=_0x157830[_0x4ec51d(0x28a)]-0x1,_0x24e3ee;_0x1565a9>=0x0;_0x1565a9--)(_0x24e3ee=_0x157830[_0x1565a9])&&(_0x4517b9=(_0x341ec1?_0x24e3ee(_0x477947,_0x23ef12,_0x4517b9):_0x24e3ee(_0x4517b9))||_0x4517b9);return _0x341ec1&&_0x4517b9&&es(_0x477947,_0x23ef12,_0x4517b9),_0x4517b9;},zt=(_0x59941b,_0x50c0c6)=>(_0x31d72e,_0x8ed933)=>_0x50c0c6(_0x31d72e,_0x8ed933,_0x59941b);let xe=class extends _0x2d0e8b{constructor(_0x2f756a,_0x14191d){var _0x45aeea=_0xfea5bc;super(),P(this,_0x45aeea(0xf6),new Map()),P(this,'_roomCreated$',new _0x259d5d()),(this[_0x45aeea(0x2fb)]=_0x2f756a,this[_0x45aeea(0x20f)]=_0x14191d,this[_0x45aeea(0x351)](_0x22f8bf(this[_0x45aeea(0x2fb)]['getTypeOfUnitDisposed$'](_0x583f53['UNIVER_SHEET'])[_0x45aeea(0x7f)](_0x4e6d97(_0x17e3fe=>_0x17e3fe[_0x45aeea(0x33d)]())),this[_0x45aeea(0x2fb)][_0x45aeea(0x1c2)](_0x583f53['UNIVER_DOC'])['pipe'](_0x4e6d97(_0x471173=>_0x471173[_0x45aeea(0x33d)]())),this[_0x45aeea(0x2fb)][_0x45aeea(0x1c2)](_0x583f53[_0x45aeea(0x1b2)])['pipe'](_0x4e6d97(_0x1b79c2=>_0x1b79c2[_0x45aeea(0x33d)]())))[_0x45aeea(0x2d7)](_0x5bc691=>this[_0x45aeea(0x141)](_0x5bc691))));}[_0xfea5bc(0x71)](_0x314440){var _0x248c05=_0xfea5bc;return this[_0x248c05(0xf6)][_0x248c05(0x178)](_0x314440)?_0x5c379f(this[_0x248c05(0xf6)][_0x248c05(0x1da)](_0x314440)):this[_0x248c05(0x119)]['pipe'](_0x4e6d97(_0x1920d0=>{var _0x133260=_0x248c05;if(_0x1920d0===_0x314440)return this[_0x133260(0xf6)][_0x133260(0x1da)](_0x1920d0);}));}[_0xfea5bc(0x2d8)](_0x228d7d){var _0x4a8673=_0xfea5bc;this[_0x4a8673(0x20f)]['setCurrentUser'](_0x228d7d);}[_0xfea5bc(0x1e5)](){var _0x21136d=_0xfea5bc;return this[_0x21136d(0x20f)]['getCurrentUser']();}[_0xfea5bc(0x1b4)](_0x50fafd,_0x175b02){var _0x768ced=_0xfea5bc;let _0x5aca85=this['_roomMembers'][_0x768ced(0x1da)](_0x50fafd);_0x5aca85||(_0x5aca85=new ns(),this['_roomMembers'][_0x768ced(0x1cc)](_0x50fafd,_0x5aca85),this['_roomCreated$']['next'](_0x50fafd)),_0x5aca85[_0x768ced(0x1b4)](_0x175b02);}[_0xfea5bc(0x21f)](_0x30ca57,_0x50680e){var _0x254cbd=_0xfea5bc;const _0x4eb1e6=this['_roomMembers'][_0x254cbd(0x1da)](_0x30ca57);_0x4eb1e6&&_0x4eb1e6['removeMember'](_0x50680e);}[_0xfea5bc(0x340)](_0x1a49d7){var _0x88e593=_0xfea5bc;return this['_roomMembers'][_0x88e593(0x1da)](_0x1a49d7);}['getMember'](_0x53326f,_0x35a75a){var _0x87329=_0xfea5bc;const _0xd450e3=this[_0x87329(0xf6)][_0x87329(0x1da)](_0x53326f);if(_0xd450e3)return _0xd450e3[_0x87329(0x1b8)](_0x35a75a);}[_0xfea5bc(0x141)](_0x34be59){var _0xa68547=_0xfea5bc;const _0x5db60b=this[_0xa68547(0xf6)][_0xa68547(0x1da)](_0x34be59);_0x5db60b&&(_0x5db60b[_0xa68547(0x33e)](),this[_0xa68547(0xf6)]['delete'](_0x34be59));}[_0xfea5bc(0x33e)](){var _0x475997=_0xfea5bc;this[_0x475997(0xf6)][_0x475997(0x19f)](_0x51173e=>_0x51173e[_0x475997(0x33e)]()),this[_0x475997(0xf6)][_0x475997(0x1bd)](),this[_0x475997(0x119)]['complete']();}};xe=is([zt(0x0,_0x248930),zt(0x1,_0x5d1423(_0x9ba843))],xe);class ns extends _0x2d0e8b{constructor(){var _0x30e86a=_0xfea5bc;super(...arguments),P(this,'_members',new Map()),P(this,'_members$',new _0x27ef72(this[_0x30e86a(0xee)])),P(this,'members$',this[_0x30e86a(0x1c1)]['asObservable']());}[_0xfea5bc(0x33e)](){var _0x507179=_0xfea5bc;this[_0x507179(0xee)][_0x507179(0x1bd)]();}[_0xfea5bc(0x1b4)](_0x143709){var _0x55760d=_0xfea5bc;this['_members'][_0x55760d(0x1cc)](_0x143709[_0x55760d(0xc7)],_0x143709),this[_0x55760d(0x120)]();}[_0xfea5bc(0x21f)](_0x18faae){var _0x2cc90a=_0xfea5bc;this[_0x2cc90a(0xee)]['delete'](_0x18faae);}[_0xfea5bc(0x1b8)](_0x51f35a){var _0x152251=_0xfea5bc;return this[_0x152251(0xee)]['get'](_0x51f35a);}['getAllMembers'](){var _0x4d2914=_0xfea5bc;return Array[_0x4d2914(0x25c)](this[_0x4d2914(0xee)][_0x4d2914(0x232)]());}['_emitMembers'](){var _0x5284a9=_0xfea5bc;this[_0x5284a9(0x1c1)]['next'](this[_0x5284a9(0xee)]);}}var ss=Object[_0xfea5bc(0x247)],rs=Object[_0xfea5bc(0x30f)],os=(_0x2a9213,_0x1b64db,_0x351466,_0x48a20b)=>{for(var _0x1b8c66=_0x48a20b>0x1?void 0x0:_0x48a20b?rs(_0x1b64db,_0x351466):_0x1b64db,_0x63f5af=_0x2a9213['length']-0x1,_0x15c3f2;_0x63f5af>=0x0;_0x63f5af--)(_0x15c3f2=_0x2a9213[_0x63f5af])&&(_0x1b8c66=(_0x48a20b?_0x15c3f2(_0x1b64db,_0x351466,_0x1b8c66):_0x15c3f2(_0x1b8c66))||_0x1b8c66);return _0x48a20b&&_0x1b8c66&&ss(_0x1b64db,_0x351466,_0x1b8c66),_0x1b8c66;},me=(_0x16b25a,_0x2f4be0)=>(_0x4ea89c,_0x4691de)=>_0x2f4be0(_0x4ea89c,_0x4691de,_0x16b25a),Te=(_0x49a391=>(_0x49a391[_0x49a391[_0xfea5bc(0x15c)]=0x0]=_0xfea5bc(0x15c),_0x49a391[_0x49a391['JOINING']=0x1]=_0xfea5bc(0xbc),_0x49a391[_0x49a391[_0xfea5bc(0x32c)]=0x2]=_0xfea5bc(0x32c),_0x49a391[_0x49a391['ONLINE']=0x3]=_0xfea5bc(0x254),_0x49a391))(Te||{});const Yt={[Ee['FAIL']]:_0xfea5bc(0xc3),[Ee['JOIN_ROOM_FULL']]:_0xfea5bc(0x201),[Ee[_0xfea5bc(0x2aa)]]:_0xfea5bc(0x35e),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[Ee[_0xfea5bc(0x290)]]:_0xfea5bc(0xe5)};let Tt=class extends _0x186de6{constructor(_0x3a6210,_0x4b6756,_0x454d33,_0x14428f,_0x12ef48,_0x14386e,_0x5cf278,_0x1348cd,_0x3d1952){var _0x5610e1=_0xfea5bc;super(),P(this,_0x5610e1(0x216),new _0x27ef72(0x0)),P(this,_0x5610e1(0xb3),this[_0x5610e1(0x216)]['asObservable']()),P(this,_0x5610e1(0xd2),new _0x259d5d()),P(this,_0x5610e1(0xf4),this['_event$']['asObservable']()),P(this,'_socket'),P(this,_0x5610e1(0x29a)),P(this,_0x5610e1(0xbe)),P(this,'_shouldReportTelemetry',!0x1),P(this,'_telemetryInfo',null),(this[_0x5610e1(0x1ee)]=_0x3a6210,this[_0x5610e1(0xa5)]=_0x454d33,this[_0x5610e1(0x132)]=_0x14428f,this['_localeService']=_0x12ef48,this['_memberService']=_0x14386e,this[_0x5610e1(0x36c)]=_0x5cf278,this[_0x5610e1(0x207)]=_0x1348cd,this[_0x5610e1(0x94)]=_0x3d1952,this[_0x5610e1(0x12e)]=!!this[_0x5610e1(0x94)],_0x4b6756[_0x5610e1(0x7f)](_0x39790d(this['dispose$']))[_0x5610e1(0x2d7)](_0x42c278=>{var _0x2a6a91=_0x5610e1,_0x4cdb23;typeof _0x42c278>'u'||(this[_0x2a6a91(0x16c)]=_0x42c278,_0x42c278?(this[_0x2a6a91(0x36d)](_0x42c278),this[_0x2a6a91(0x29a)]=_0x42c278['message$'][_0x2a6a91(0x2d7)](_0x25a341=>{var _0x39793e=_0x2a6a91;_0x25a341[_0x39793e(0x9f)]===this[_0x39793e(0x1ee)]&&this[_0x39793e(0x299)](_0x25a341);})):(this[_0x2a6a91(0x200)](),this[_0x2a6a91(0x216)]['next'](0x2),(_0x4cdb23=this['_socketMessageSubscription'])==null||_0x4cdb23[_0x2a6a91(0x1e3)](),this['_socketMessageSubscription']=null));}));}get[_0xfea5bc(0x33a)](){var _0x42c4f1=_0xfea5bc;return this[_0x42c4f1(0x216)][_0x42c4f1(0xac)]();}[_0xfea5bc(0x31c)](){var _0xda4e0f=_0xfea5bc,_0x3040c3,_0x56e834;return(_0x56e834=(_0x3040c3=this[_0xda4e0f(0x16c)])==null?void 0x0:_0x3040c3[_0xda4e0f(0xc7)])!=null?_0x56e834:null;}['dispose'](){var _0xe5e71b=_0xfea5bc;super['dispose'](),this['dispose$'][_0xe5e71b(0x2d5)](),this[_0xe5e71b(0x35d)]['complete']();}[_0xfea5bc(0x93)](){var _0x502550=_0xfea5bc,_0x174e22,_0x24175b;this['_throwTelemetryCollaborationNewChangeset'](),(_0x174e22=this[_0x502550(0x16c)])==null||_0x174e22['send']({'cmd':F['LEAVE'],'data':{'roomID':this[_0x502550(0x1ee)]}}),(_0x24175b=this['_socket'])==null||_0x24175b[_0x502550(0x93)](),this[_0x502550(0xd2)][_0x502550(0x2f8)](),this[_0x502550(0x216)][_0x502550(0x2f8)](),this[_0x502550(0x33e)]();}[_0xfea5bc(0x299)](_0xd92877){var _0x6069cd=_0xfea5bc;_0xd92877[_0x6069cd(0x2e3)]===F[_0x6069cd(0x88)]?this[_0x6069cd(0x34b)](_0xd92877):_0xd92877[_0x6069cd(0x2e3)]===F[_0x6069cd(0x366)]&&this[_0x6069cd(0x2d2)](_0xd92877);}['_joinRoom'](_0x56cf89){var _0x3bcf9d=_0xfea5bc;this[_0x3bcf9d(0x216)]['next'](0x1),_0x56cf89[_0x3bcf9d(0x22d)]({'cmd':F['JOIN'],'routeKey':this[_0x3bcf9d(0x1ee)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3bcf9d(0x1ee)]}]}});}[_0xfea5bc(0x34b)](_0x345930){var _0x2e6a44=_0xfea5bc,_0x3ae329;if(_0x345930[_0x2e6a44(0x17c)]in Yt){this[_0x2e6a44(0x207)]['emitEvent']({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x345930[_0x2e6a44(0x17c)]]}),this[_0x2e6a44(0x216)]['next'](0x2);return;}this[_0x2e6a44(0x216)][_0x2e6a44(0x2d5)](0x3);const _0x1cf776=(_0x3ae329=_0x345930['data'][_0x2e6a44(0x8a)][this[_0x2e6a44(0x1ee)]])==null?void 0x0:_0x3ae329[_0x2e6a44(0x11c)];_0x1cf776&&_0x1cf776[_0x2e6a44(0x19f)](_0x338ef5=>this[_0x2e6a44(0x13d)][_0x2e6a44(0x1b4)](this[_0x2e6a44(0x1ee)],_0x338ef5));}['_onRecvEvent'](_0x2454f3){var _0x14064c=_0xfea5bc;try{const _0x571906=_0x2454f3[_0x14064c(0x2e1)];switch(_0x571906[_0x14064c(0x145)]){case _0x41c4be[_0x14064c(0x317)]:this[_0x14064c(0x35f)](_0x571906),this['_event$'][_0x14064c(0x2d5)](_0x571906);break;case _0x41c4be[_0x14064c(0x2ea)]:this[_0x14064c(0x2c4)](_0x571906),this[_0x14064c(0xd2)][_0x14064c(0x2d5)](_0x571906);break;case _0x41c4be['CHANGESET_ACK']:case _0x41c4be[_0x14064c(0x209)]:this[_0x14064c(0x368)](),this['_clearCollaborationTimeoutTimer'](),this[_0x14064c(0xd2)][_0x14064c(0x2d5)](_0x571906);break;case _0x41c4be[_0x14064c(0x2fa)]:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x14064c(0x305)](_0x571906)),this['_event$'][_0x14064c(0x2d5)](_0x571906);break;case _0x41c4be[_0x14064c(0x1ce)]:this['_commentService'][_0x14064c(0x2e5)](_0x571906[_0x14064c(0x2e1)]),this[_0x14064c(0xd2)]['next'](_0x571906);break;default:this['_event$'][_0x14064c(0x2d5)](_0x571906);}}catch(_0x339e82){this[_0x14064c(0xa5)][_0x14064c(0x36e)](_0x339e82,_0x2454f3);}}['_onUserJoin'](_0x48a5ad){var _0x309296=_0xfea5bc;this[_0x309296(0x13d)]['updateMember'](this['_unitID'],_0x48a5ad[_0x309296(0x2e1)]);}['_onUserLeave'](_0x199311){var _0x197144=_0xfea5bc;this[_0x197144(0x13d)]['removeMember'](this[_0x197144(0x1ee)],_0x199311[_0x197144(0x2e1)][_0x197144(0xc7)]);}async[_0xfea5bc(0x22d)](_0x38cdba,_0x1a437){var _0x133148=_0xfea5bc;if(this[_0x133148(0x33a)]!==0x3||!this[_0x133148(0x16c)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x38cdba[_0x133148(0x145)]===_0x41c4be[_0x133148(0x296)]&&(this[_0x133148(0x165)](),this['_startTelemetryCollaborationNewChangeset'](_0x38cdba)),this[_0x133148(0x16c)][_0x133148(0x22d)]({'cmd':F[_0x133148(0x225)],'routeKey':_0x1a437,'routeType':'','data':_0x38cdba});}catch(_0x38d22f){this[_0x133148(0xa5)]['error'](_0x38d22f);}}[_0xfea5bc(0x165)](){var _0xc83579;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2ef47d=_0xce85;this['_collaborationTimeoutTimer']=null,this[_0x2ef47d(0x207)][_0x2ef47d(0x23d)]({'id':re[_0x2ef47d(0x287)]});},(_0xc83579=this['_configService']['getConfig'](Ei))!=null?_0xc83579:Ii);}['_clearCollaborationTimeoutTimer'](){var _0x15d214=_0xfea5bc;this[_0x15d214(0xbe)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x15d214(0xbe)]=null);}[_0xfea5bc(0x104)](_0x2a4af2){var _0x35e804=_0xfea5bc;if(!this[_0x35e804(0x12e)])return;const {data:_0x1be0bc}=_0x2a4af2,{unitID:_0x51a9e7,changeset:_0x546850}=_0x1be0bc,{mutations:_0x2a68c3,type:_0x37f9ca}=_0x546850;this[_0x35e804(0x2f9)]={'unitId':_0x51a9e7,'type':_0x37f9ca,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x2a68c3)};}[_0xfea5bc(0x368)](){var _0x17ada7=_0xfea5bc;if(this[_0x17ada7(0x12e)]){if(!this[_0x17ada7(0x2f9)]){this[_0x17ada7(0xa5)]['error'](_0x17ada7(0x20b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x17ada7(0x2f9)][_0x17ada7(0xb1)]=performance['now'](),this['_telemetryInfo'][_0x17ada7(0x181)]=this[_0x17ada7(0x2f9)][_0x17ada7(0xb1)]-this[_0x17ada7(0x2f9)][_0x17ada7(0x180)],this[_0x17ada7(0x94)]['capture'](Zn,this[_0x17ada7(0x2f9)]),this[_0x17ada7(0x2f9)]=null;}}[_0xfea5bc(0x200)](){var _0x91992=_0xfea5bc;this[_0x91992(0x2f9)]=null;}};Tt=os([me(0x2,_0x43687c),me(0x3,_0x39bec4),me(0x4,_0x5d1423(_0x477c62)),me(0x5,_0x5d1423(xe)),me(0x6,_0x5d1423(Ri)),me(0x7,_0x5d1423(pe)),me(0x8,_0x52513a(_0x389476))],Tt);var as=Object[_0xfea5bc(0x247)],cs=Object['getOwnPropertyDescriptor'],hs=(_0xf16735,_0x30ea8a,_0x184ca0,_0x4bb29a)=>{var _0x370a5d=_0xfea5bc;for(var _0x4335ed=_0x4bb29a>0x1?void 0x0:_0x4bb29a?cs(_0x30ea8a,_0x184ca0):_0x30ea8a,_0x25f68e=_0xf16735[_0x370a5d(0x28a)]-0x1,_0x29bd44;_0x25f68e>=0x0;_0x25f68e--)(_0x29bd44=_0xf16735[_0x25f68e])&&(_0x4335ed=(_0x4bb29a?_0x29bd44(_0x30ea8a,_0x184ca0,_0x4335ed):_0x29bd44(_0x4335ed))||_0x4335ed);return _0x4bb29a&&_0x4335ed&&as(_0x30ea8a,_0x184ca0,_0x4335ed),_0x4335ed;},ge=(_0x109715,_0x21abdd)=>(_0x3552d1,_0xfcd18a)=>_0x21abdd(_0x3552d1,_0xfcd18a,_0x109715);let Le=class extends _0x2d0e8b{constructor(_0x4939da,_0x4a690f,_0x2618e1,_0x46e6b4,_0x3d3194,_0x25ec27,_0x489836){var _0x4d3040=_0xfea5bc;super(),P(this,_0x4d3040(0x206),new _0x27ef72(void 0x0)),P(this,'socket$',this['_socket$']['asObservable']()),P(this,_0x4d3040(0x323),null),P(this,_0x4d3040(0xc9),new Map()),P(this,'_status$',new _0x27ef72(Te['IDLE'])),P(this,'status$',this[_0x4d3040(0x2e8)][_0x4d3040(0xc4)]()),P(this,_0x4d3040(0x2da),!0x1),P(this,_0x4d3040(0x35b)),P(this,_0x4d3040(0x251),0x0),P(this,_0x4d3040(0x1d7)),P(this,'_timeoutTimer'),(this[_0x4d3040(0x239)]=_0x4939da,this[_0x4d3040(0xa5)]=_0x4a690f,this[_0x4d3040(0x132)]=_0x2618e1,this[_0x4d3040(0x7c)]=_0x46e6b4,this[_0x4d3040(0x350)]=_0x3d3194,this[_0x4d3040(0x207)]=_0x25ec27,this[_0x4d3040(0x2fd)]=_0x489836,this[_0x4d3040(0x150)]());}get['_socket'](){var _0x488c1b=_0xfea5bc;return this[_0x488c1b(0x206)][_0x488c1b(0xac)]();}[_0xfea5bc(0x150)](){var _0xd0e81f=_0xfea5bc;this[_0xd0e81f(0x2fd)]&&this[_0xd0e81f(0x351)](this[_0xd0e81f(0x2fd)][_0xd0e81f(0x320)]['subscribe'](_0xdf0eea=>{var _0x58438a=_0xd0e81f;_0xdf0eea&&!this[_0x58438a(0x16c)]&&this[_0x58438a(0x234)](),_0xdf0eea||this['_onOffline']();}));}[_0xfea5bc(0x33e)](){var _0x13481c=_0xfea5bc;super[_0x13481c(0x33e)](),this[_0x13481c(0xc9)][_0x13481c(0x19f)](_0x35d0a0=>_0x35d0a0[_0x13481c(0x33e)]()),this['_sessions']['clear'](),this[_0x13481c(0x2e8)]['complete']();}async['requireSession'](_0x34d7e1){var _0x1ea485=_0xfea5bc;if(this[_0x1ea485(0xc9)][_0x1ea485(0x178)](_0x34d7e1))return this['_sessions'][_0x1ea485(0x1da)](_0x34d7e1);this[_0x1ea485(0x321)]();const _0x318de3=this['_injector']['createInstance'](Tt,_0x34d7e1,this[_0x1ea485(0x206)]['asObservable']());return this[_0x1ea485(0xc9)][_0x1ea485(0x1cc)](_0x34d7e1,_0x318de3),_0x318de3;}[_0xfea5bc(0x90)](_0x330b01){var _0x41f9d5=_0xfea5bc,_0x38031e;const _0x10dd58=this[_0x41f9d5(0xc9)][_0x41f9d5(0x1da)](_0x330b01);_0x10dd58&&(this['_sessions']['delete'](_0x330b01),_0x10dd58[_0x41f9d5(0x93)]()),this[_0x41f9d5(0xc9)][_0x41f9d5(0x23b)]||(_0x38031e=this[_0x41f9d5(0x16c)])==null||_0x38031e['close']();}[_0xfea5bc(0x234)](){var _0x509b4a=_0xfea5bc;this['_retryCount']=0x0,this[_0x509b4a(0x35b)]!=null&&(clearTimeout(this[_0x509b4a(0x35b)]),this['_retryConnectingTimer']=null),this[_0x509b4a(0x34a)]();}async[_0xfea5bc(0x2b1)](){var _0x2cc5f6=_0xfea5bc,_0x2aa77b,_0x41d055,_0x14d3ef;const _0x237590=this['_configService'][_0x2cc5f6(0x30a)](Y),_0x585fc3=(_0x2aa77b=_0x237590==null?void 0x0:_0x237590[_0x2cc5f6(0x243)])!=null?_0x2aa77b:xn;return(_0x14d3ef=(_0x41d055=(await this[_0x2cc5f6(0x350)]['get'](_0x585fc3,{'headers':{'Content-Type':'application/json'}}))[_0x2cc5f6(0x205)])==null?void 0x0:_0x41d055[_0x2cc5f6(0xf1)])!=null?_0x14d3ef:'';}[_0xfea5bc(0x1c8)](_0x2c4f17){var _0x37ead6=_0xfea5bc,_0x329bdc,_0x3a61f3;const _0x35b6aa=this[_0x37ead6(0x132)][_0x37ead6(0x30a)](Un),_0x27d72d=this[_0x37ead6(0x132)][_0x37ead6(0x30a)](Y),_0x36d9ba=(_0x3a61f3=(_0x329bdc=_0x27d72d==null?void 0x0:_0x27d72d[_0x37ead6(0x26d)])!=null?_0x329bdc:_0x35b6aa)!=null?_0x3a61f3:An,_0x45d5fe=typeof window>'u'?new URL(_0x36d9ba):new URL(_0x36d9ba,window['location'][_0x37ead6(0x2de)]);_0x45d5fe[_0x37ead6(0x219)][_0x37ead6(0x1cc)](_0x37ead6(0x87),_0x2c4f17);const _0x590536=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x37ead6(0x307)]);return _0x590536[_0x37ead6(0x1da)]('runId')&&_0x45d5fe[_0x37ead6(0x219)]['set'](_0x37ead6(0x18e),_0x590536[_0x37ead6(0x1da)](_0x37ead6(0x18e))),_0x45d5fe[_0x37ead6(0x214)]();}async[_0xfea5bc(0x97)](){var _0x523e37=_0xfea5bc;const _0x107c62=await this[_0x523e37(0x2b1)](),_0x26c191=this[_0x523e37(0x1c8)](_0x107c62),_0x43326d=this[_0x523e37(0x7c)][_0x523e37(0x13b)](_0x26c191);return this[_0x523e37(0x323)]=_0x43326d,_0x43326d;}async['_tryEnsureSocket'](){var _0x218e86=_0xfea5bc,_0x3ba176,_0x3f0ecc;try{const _0x35b29c=(_0x3f0ecc=(_0x3ba176=this[_0x218e86(0x16c)])!=null?_0x3ba176:this[_0x218e86(0x323)])!=null?_0x3f0ecc:await this[_0x218e86(0x97)]();if(_0x35b29c){const _0xa4d6a2=_0x35b29c[_0x218e86(0x22d)];_0x35b29c['send']=_0x263a0c=>(this[_0x218e86(0x16d)](),_0xa4d6a2[_0x218e86(0xe2)](_0x35b29c,[_0x263a0c])),_0x35b29c[_0x218e86(0x142)][_0x218e86(0x2d7)](_0x500a29=>this[_0x218e86(0x1d1)](_0x35b29c,_0x500a29)),_0x35b29c[_0x218e86(0x29f)][_0x218e86(0x7f)](_0xb8a411(0x1))[_0x218e86(0x2d7)](_0x6ea252=>this[_0x218e86(0xa5)]['error'](_0x218e86(0x192),_0x6ea252)),_0x35b29c[_0x218e86(0x282)]['pipe'](_0xb8a411(0x1))[_0x218e86(0x2d7)](()=>{this['_onConnectionOpen'](_0x35b29c);}),_0x35b29c[_0x218e86(0x1c5)]['pipe'](_0xb8a411(0x1))[_0x218e86(0x2d7)](_0x1e6f8b=>{var _0x587b46=_0x218e86;this[_0x587b46(0xa5)][_0x587b46(0x149)]('[CollaborationSessionService]',_0x587b46(0x342),_0x1e6f8b),this['_onConnectionFailed']();});}}catch(_0x4758b8){this[_0x218e86(0xa5)][_0x218e86(0x36e)](_0x4758b8),this[_0x218e86(0x284)]();}}[_0xfea5bc(0x353)](_0x703e2a){var _0x2c04dc=_0xfea5bc;this[_0x2c04dc(0xa5)]['debug'](_0x2c04dc(0x29c),_0x2c04dc(0x75)),_0x703e2a[_0x2c04dc(0x22d)]({'cmd':F[_0x2c04dc(0x144)]}),this[_0x2c04dc(0x16d)]();}['_onOffline'](){var _0xcfe423=_0xfea5bc;this['_socketReady']=!0x1,this[_0xcfe423(0x323)]=null,this[_0xcfe423(0x2e8)]['next'](Te[_0xcfe423(0x32c)]),this[_0xcfe423(0x206)]['next'](null),this[_0xcfe423(0x23f)](),this['_clearHeartbeatTimer']();}[_0xfea5bc(0x284)](){var _0x47e8d5=_0xfea5bc,_0x35f471;this[_0x47e8d5(0x23e)](),this[_0x47e8d5(0x251)]<((_0x35f471=this['_configService']['getConfig'](Hn))!=null?_0x35f471:kn)?(this[_0x47e8d5(0x207)][_0x47e8d5(0x23d)]({'id':re[_0x47e8d5(0x89)]}),this[_0x47e8d5(0x34a)]()):this[_0x47e8d5(0x207)][_0x47e8d5(0x23d)]({'id':re['SOCKET_FAILED']});}['_tryReconnect'](){var _0x215ead=_0xfea5bc,_0x516bcc;const _0x1afb41=this['_retryCount'],_0x354c25=this['_configService'][_0x215ead(0x30a)](Y),_0x53c2d4=_0x1afb41===0x0?0x0:((_0x516bcc=_0x354c25==null?void 0x0:_0x354c25[_0x215ead(0x12d)])!=null?_0x516bcc:$n)*0x2**_0x1afb41;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2b0bc5=_0x215ead;clearTimeout(this[_0x2b0bc5(0x35b)]),this[_0x2b0bc5(0x35b)]=null,this[_0x2b0bc5(0x321)]();},_0x53c2d4),this['_retryCount']+=0x1;}['_onMessage'](_0x1bb0fc,_0xf4b232){var _0x4984f1=_0xfea5bc;const {cmd:_0x4699ed}=_0xf4b232;_0x4699ed===F[_0x4984f1(0x144)]&&!this[_0x4984f1(0x2da)]&&(_0x1bb0fc['memberID']=_0xf4b232['data']['memberID'],this[_0x4984f1(0x206)][_0x4984f1(0x2d5)](_0x1bb0fc),this[_0x4984f1(0x2e8)]['next'](Te[_0x4984f1(0x254)]),this['_socketReady']=!0x0,this[_0x4984f1(0x323)]=null),_0x4699ed===F[_0x4984f1(0x20d)]&&this[_0x4984f1(0x23f)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x4c7864=_0xfea5bc,_0x1ef0a6;this[_0x4c7864(0xdd)](),this[_0x4c7864(0x1d7)]=setTimeout(()=>this[_0x4c7864(0xe9)](),(_0x1ef0a6=this[_0x4c7864(0x132)][_0x4c7864(0x30a)](Ln))!=null?_0x1ef0a6:Mn);}[_0xfea5bc(0xe9)](){var _0x31558d=_0xfea5bc;this[_0x31558d(0x16c)][_0x31558d(0x22d)]({'cmd':F[_0x31558d(0x20d)]}),this[_0x31558d(0x1a7)]();}['_waitForHeartbeatResponse'](){var _0x2da870=_0xfea5bc,_0x5059a3;this[_0x2da870(0x166)]=setTimeout(()=>this[_0x2da870(0x284)](),(_0x5059a3=this[_0x2da870(0x132)]['getConfig'](Ei))!=null?_0x5059a3:Ii);}['_clearHeartbeatTimer'](){var _0x36a92f=_0xfea5bc;this[_0x36a92f(0x1d7)]!=null&&(clearTimeout(this[_0x36a92f(0x1d7)]),this[_0x36a92f(0x1d7)]=null);}[_0xfea5bc(0x23f)](){var _0x10b874=_0xfea5bc;this[_0x10b874(0x166)]!=null&&(clearTimeout(this[_0x10b874(0x166)]),this[_0x10b874(0x166)]=null);}};Le=hs([ge(0x0,_0x5d1423(_0xd0e7e3)),ge(0x1,_0x43687c),ge(0x2,_0x39bec4),ge(0x3,bi),ge(0x4,_0x5d1423(_0x221528)),ge(0x5,_0x5d1423(pe)),ge(0x6,_0x52513a(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0xfea5bc(0x2d0)]((n+0x100)[_0xfea5bc(0x214)](0x10)['slice'](0x1));function _s(_0x1abf2c,_0x36f2ee=0x0){var _0x1ec876=_0xfea5bc;return(V[_0x1abf2c[_0x36f2ee+0x0]]+V[_0x1abf2c[_0x36f2ee+0x1]]+V[_0x1abf2c[_0x36f2ee+0x2]]+V[_0x1abf2c[_0x36f2ee+0x3]]+'-'+V[_0x1abf2c[_0x36f2ee+0x4]]+V[_0x1abf2c[_0x36f2ee+0x5]]+'-'+V[_0x1abf2c[_0x36f2ee+0x6]]+V[_0x1abf2c[_0x36f2ee+0x7]]+'-'+V[_0x1abf2c[_0x36f2ee+0x8]]+V[_0x1abf2c[_0x36f2ee+0x9]]+'-'+V[_0x1abf2c[_0x36f2ee+0xa]]+V[_0x1abf2c[_0x36f2ee+0xb]]+V[_0x1abf2c[_0x36f2ee+0xc]]+V[_0x1abf2c[_0x36f2ee+0xd]]+V[_0x1abf2c[_0x36f2ee+0xe]]+V[_0x1abf2c[_0x36f2ee+0xf]])[_0x1ec876(0x117)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0xeb1e5=_0xfea5bc;if(!dt){if(typeof crypto>'u'||!crypto[_0xeb1e5(0x324)])throw new Error(_0xeb1e5(0xc8));dt=crypto[_0xeb1e5(0x324)][_0xeb1e5(0x131)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0xfea5bc(0x2b7)]&&crypto[_0xfea5bc(0x2b7)]['bind'](crypto),qt={'randomUUID':ds};function fs(_0xf7e0bc,_0x9d27f2,_0xfac604){var _0x3c562f=_0xfea5bc;if(qt[_0x3c562f(0x2b7)]&&!_0x9d27f2&&!_0xf7e0bc)return qt['randomUUID']();_0xf7e0bc=_0xf7e0bc||{};const _0x5935fe=_0xf7e0bc['random']||(_0xf7e0bc[_0x3c562f(0x1ea)]||us)();return _0x5935fe[0x6]=_0x5935fe[0x6]&0xf|0x40,_0x5935fe[0x8]=_0x5935fe[0x8]&0x3f|0x80,_s(_0x5935fe);}const X=_0x3794ca(_0xfea5bc(0xe0));function vo(_0x42146e){var _0x9d0b4f=_0xfea5bc;return _0x9d0b4f(0x2c9)+_0x42146e;}var vs=Object[_0xfea5bc(0x247)],ps=Object[_0xfea5bc(0x30f)],ms=(_0x3051db,_0x47b372,_0x4c1961,_0x599356)=>{var _0x3eed00=_0xfea5bc;for(var _0x4b7085=_0x599356>0x1?void 0x0:_0x599356?ps(_0x47b372,_0x4c1961):_0x47b372,_0x2b05e6=_0x3051db[_0x3eed00(0x28a)]-0x1,_0x1d0382;_0x2b05e6>=0x0;_0x2b05e6--)(_0x1d0382=_0x3051db[_0x2b05e6])&&(_0x4b7085=(_0x599356?_0x1d0382(_0x47b372,_0x4c1961,_0x4b7085):_0x1d0382(_0x4b7085))||_0x4b7085);return _0x599356&&_0x4b7085&&vs(_0x47b372,_0x4c1961,_0x4b7085),_0x4b7085;},ft=(_0x3f2a8c,_0x141297)=>(_0x1eeb14,_0x560912)=>_0x141297(_0x1eeb14,_0x560912,_0x3f2a8c);function gs(_0x5b474b){const {unitID:_0xa54d4b,mutations:_0x1e1f68}=_0x5b474b;return{'unitId':_0xa54d4b,'subUnitId':_0x1e1f68[0x0]['params']['subUnitId']};}let nt=class{constructor(_0x50b141,_0x365dea,_0x51c2bc){var _0x1e922b=_0xfea5bc;this[_0x1e922b(0x239)]=_0x50b141,this[_0x1e922b(0x175)]=_0x365dea,this[_0x1e922b(0x9a)]=_0x51c2bc;}[_0xfea5bc(0x1b3)](_0x5d5e52){var _0x348402=_0xfea5bc,_0x598a8b,_0x2b7073,_0x3b7a30,_0x5c606c;const _0x101d76=this[_0x348402(0x239)][_0x348402(0x1da)](_0x52fea8),{unitId:_0x563f2d,subUnitId:_0x3e8d19}=gs(_0x5d5e52),_0x5c87e4=_0x101d76==null?void 0x0:_0x101d76[_0x348402(0x302)](_0x563f2d)[_0x348402(0x358)](),_0x29ce7c=(_0x2b7073=(_0x598a8b=this[_0x348402(0x9a)][_0x348402(0x191)](_0x563f2d))==null?void 0x0:_0x598a8b[_0x348402(0x21a)]())==null?void 0x0:_0x2b7073[_0x348402(0x193)]();if(_0x5c87e4[_0x348402(0x28a)]===0x0||!_0x563f2d||!_0x3e8d19)return;const _0x244432=[{'id':_0x27a380['id'],'params':{'unitId':_0x563f2d,'subUnitId':_0x29ce7c,'selections':_0x8cc875[_0x348402(0x9c)](_0x5c87e4)}}],_0x149a0e=this[_0x348402(0x175)]['transformMutationsWithChangeset'](_0x5d5e52,_0x244432);if(!_0x475b3b(_0x149a0e))throw _0x149a0e[_0x348402(0x36e)];const _0x2c89b0=(_0x5c606c=(_0x3b7a30=_0x149a0e['m2Prime'][0x0])==null?void 0x0:_0x3b7a30[_0x348402(0x1e6)])==null?void 0x0:_0x5c606c[_0x348402(0x26c)];if(Array['isArray'](_0x2c89b0)&&_0x2c89b0[_0x348402(0x28a)]){if(_0x2c89b0['length']===_0x244432[0x0][_0x348402(0x1e6)][_0x348402(0x26c)]['length']&&_0x2c89b0[_0x348402(0xb2)]((_0x45a78a,_0x57875f)=>_0x3cd9d4['equals'](_0x45a78a[_0x348402(0x18f)],_0x244432[0x0][_0x348402(0x1e6)][_0x348402(0x26c)][_0x57875f]['range'])))return;this[_0x348402(0x239)]['get'](_0x185ede)[_0x348402(0x12a)](_0x27a380['id'],{'unitId':_0x563f2d,'subUnitId':_0x29ce7c,'selections':_0x2c89b0});}}};nt=ms([ft(0x0,_0x5d1423(_0xd0e7e3)),ft(0x1,_0x12a25b),ft(0x2,_0x248930)],nt);const _t=_0x3794ca(_0xfea5bc(0x249));var yi=(_0x318ccc=>(_0x318ccc[_0x318ccc['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xfea5bc(0x256),_0x318ccc[_0x318ccc['OTHER_CLIENTS_EDITING']=0x1]=_0xfea5bc(0x1ba),_0x318ccc))(yi||{});const Ss=new Set([_0x231d98['id']]);function Jt(_0x5315dd,_0x288b28,_0x2cc507,_0x275299,_0x237e22){var _0xef9102=_0xfea5bc,_0x2a171d,_0x10e3a3,_0x476562,_0x5c5746;const _0x57ca0d=[];for(const _0x479348 of _0x5315dd)if(Ss[_0xef9102(0x178)](_0x479348['id'])){if(_0x57ca0d[_0xef9102(0x28a)]>0x0)break;_0x57ca0d[_0xef9102(0x2d0)](_0x479348);break;}else _0x57ca0d['push'](_0x479348);const _0x5d70c7=(_0x10e3a3=(_0x2a171d=_0x237e22[_0xef9102(0x1e5)]())==null?void 0x0:_0x2a171d[_0xef9102(0xa2)])!=null?_0x10e3a3:_0xef9102(0x126),_0x58e4e6=(_0x5c5746=(_0x476562=_0x237e22[_0xef9102(0x1e5)]())==null?void 0x0:_0x476562['memberID'])!=null?_0x5c5746:'unknown';return{'changeset':{'unitID':_0x288b28,'type':_0x55c8b8(_0x2cc507[_0xef9102(0x78)](_0x288b28)),'baseRev':_0x275299[_0xef9102(0x2c8)](_0x288b28),'revision':0x0,'userID':_0x5d70c7,'memberID':_0x58e4e6,'mutations':_0x57ca0d},'pendingMutations':_0x5315dd[_0xef9102(0x7e)](_0x57ca0d[_0xef9102(0x28a)])};}function Es(_0x38c586,_0x39f724,_0x4f319c,_0x5cd55a,_0x2f88d8){var _0x3a0bad=_0xfea5bc,_0x197fec,_0x362754,_0x1fae97,_0x5911b8;const _0xb40022=[_0x38c586[_0x3a0bad(0x1a9)]((_0x2fcaef,_0x4d8f99)=>{var _0x17a856=_0x3a0bad,_0x310199;const {id:_0x5eb6b0}=_0x2fcaef,{id:_0x262206,type:_0x2eefa1}=_0x4d8f99,_0x4c33ee=(_0x310199=_0x2fcaef[_0x17a856(0x1e6)])!=null?_0x310199:{'actions':null},_0x536f84=_0x4d8f99[_0x17a856(0x1e6)];if(_0x5eb6b0&&_0x5eb6b0!==_0x262206)throw new Error(_0x17a856(0x1ad)+_0x5eb6b0+_0x17a856(0x341)+_0x262206+'.');return{..._0x2fcaef,'id':_0x262206,'type':_0x2eefa1,'params':{'unitId':_0x536f84[_0x17a856(0x283)],'textRanges':_0x536f84[_0x17a856(0x18c)],'actions':_0x46d4a5['compose'](_0x4c33ee['actions'],_0x536f84[_0x17a856(0xaa)])}};},{})],_0x3e9b23=(_0x362754=(_0x197fec=_0x2f88d8['getCurrentUser']())==null?void 0x0:_0x197fec[_0x3a0bad(0xa2)])!=null?_0x362754:_0x3a0bad(0x126),_0x12c813=(_0x5911b8=(_0x1fae97=_0x2f88d8['getCurrentUser']())==null?void 0x0:_0x1fae97[_0x3a0bad(0xc7)])!=null?_0x5911b8:'unknown';return{'changeset':{'unitID':_0x39f724,'type':_0x55c8b8(_0x4f319c['getUnitType'](_0x39f724)),'baseRev':_0x5cd55a[_0x3a0bad(0x2c8)](_0x39f724),'revision':0x0,'userID':_0x3e9b23,'memberID':_0x12c813,'mutations':_0xb40022},'pendingMutations':[]};}function Oi(_0x10a978,_0x553c56){var _0x3968e4=_0xfea5bc;const _0x1b412c=new _0x4cc6ad(0x1);return setTimeout(()=>_0x1b412c[_0x3968e4(0x2d5)](_0x553c56),_0x10a978),_0x1b412c[_0x3968e4(0xc4)]()['pipe'](_0x3a3f11(0x1));}const Is={'id':_0x18b4f0['id'],'type':_0x1a1b3d[_0xfea5bc(0x1df)],'params':{}};var Ts=Object[_0xfea5bc(0x247)],Cs=Object[_0xfea5bc(0x30f)],be=(_0x33d82f,_0xd6df16,_0x1cde9d,_0xc1d6a1)=>{for(var _0x22db28=_0xc1d6a1>0x1?void 0x0:_0xc1d6a1?Cs(_0xd6df16,_0x1cde9d):_0xd6df16,_0x3dfb08=_0x33d82f['length']-0x1,_0x50ec12;_0x3dfb08>=0x0;_0x3dfb08--)(_0x50ec12=_0x33d82f[_0x3dfb08])&&(_0x22db28=(_0xc1d6a1?_0x50ec12(_0xd6df16,_0x1cde9d,_0x22db28):_0x50ec12(_0x22db28))||_0x22db28);return _0xc1d6a1&&_0x22db28&&Ts(_0xd6df16,_0x1cde9d,_0x22db28),_0x22db28;},A=(_0x421eb5,_0x2b0c9e)=>(_0x59e40e,_0x237e47)=>_0x2b0c9e(_0x59e40e,_0x237e47,_0x421eb5),Ni=(_0x965a39=>(_0x965a39[_0xfea5bc(0x160)]=_0xfea5bc(0x1f5),_0x965a39[_0xfea5bc(0x1dd)]=_0xfea5bc(0x33b),_0x965a39[_0xfea5bc(0x183)]=_0xfea5bc(0x101),_0x965a39[_0xfea5bc(0x24b)]=_0xfea5bc(0xc1),_0x965a39[_0xfea5bc(0x1d0)]=_0xfea5bc(0x301),_0x965a39['FETCH_MISS']=_0xfea5bc(0x267),_0x965a39[_0xfea5bc(0xd5)]='conflict',_0x965a39[_0xfea5bc(0x32c)]=_0xfea5bc(0x25f),_0x965a39))(Ni||{});const Pi=0xea60;class Re{constructor(_0x46e98f,_0x4c9189,_0x313718,_0x2813dd,_0x43d7fb,_0x329665,_0x279108,_0x124085,_0x501f4a){var _0x4c5970=_0xfea5bc;P(this,_0x4c5970(0x22f),null),P(this,'_pendingMutations',[]),(this[_0x4c5970(0x241)]=_0x46e98f,this['type']=_0x4c9189,this[_0x4c5970(0x203)]=_0x43d7fb,this['_commandService']=_0x329665,this[_0x4c5970(0xce)]=_0x279108,this[_0x4c5970(0x265)]=_0x124085,this[_0x4c5970(0x2b0)]=_0x501f4a,this[_0x4c5970(0x22f)]=_0x313718,this[_0x4c5970(0x2d9)]=_0x2813dd);}[_0xfea5bc(0x349)](_0x4c8ee2){var _0xf7f754=_0xfea5bc;const _0x216bd9=this['_revisionService']['getCurrentRevOfUnit'](this[_0xf7f754(0x241)]);return _0x4c8ee2['revision']>_0x216bd9+0x1?(this[_0xf7f754(0x203)][_0xf7f754(0x6e)]({'from':_0x216bd9,'to':_0x4c8ee2[_0xf7f754(0x260)]-0x1}),!0x0):!0x1;}[_0xfea5bc(0x1ff)](_0x2f0821){var _0x129fd7=_0xfea5bc;this[_0x129fd7(0xce)][_0x129fd7(0x374)](this[_0x129fd7(0x241)],_0x2f0821);}[_0xfea5bc(0x81)](_0x4f188e){var _0x35ebfe=_0xfea5bc,_0x4fa93e,_0x2ef751;(_0x2ef751=(_0x4fa93e=this[_0x35ebfe(0x203)])[_0x35ebfe(0x6c)])==null||_0x2ef751[_0x35ebfe(0x18a)](_0x4fa93e,_0x4f188e);}[_0xfea5bc(0x336)](_0x4d090e){var _0x256695=_0xfea5bc,_0x38e48c,_0x39c9bc;return(_0x39c9bc=(_0x38e48c=this[_0x256695(0x203)])[_0x256695(0xdc)])==null?void 0x0:_0x39c9bc[_0x256695(0x18a)](_0x38e48c,_0x4d090e);}['_transformStateCache'](_0x55d46f){var _0xc39ac7=_0xfea5bc,_0x15fcbf,_0x3a8f88;return(_0x3a8f88=(_0x15fcbf=this[_0xc39ac7(0x203)])[_0xc39ac7(0x311)])==null?void 0x0:_0x3a8f88[_0xc39ac7(0x18a)](_0x15fcbf,_0x55d46f);}[_0xfea5bc(0xd7)](_0x334bb3){var _0x257297=_0xfea5bc,_0x19054b,_0x4ff7a3,_0x4c9aac;return(_0x4c9aac=(_0x4ff7a3=(_0x19054b=this['_handler'])[_0x257297(0x27f)])==null?void 0x0:_0x4ff7a3[_0x257297(0x18a)](_0x19054b,_0x334bb3))!=null?_0x4c9aac:_0x334bb3;}[_0xfea5bc(0x2dd)](_0x790fab){var _0x3988bc=_0xfea5bc,_0x122b0f,_0x483115,_0x2dc284;return(_0x2dc284=(_0x483115=(_0x122b0f=this[_0x3988bc(0x203)])[_0x3988bc(0x339)])==null?void 0x0:_0x483115[_0x3988bc(0x18a)](_0x122b0f,_0x790fab))!=null?_0x2dc284:_0x790fab;}['_syncEditingCollabCursor'](_0xf3cf0c){var _0x1db8f1=_0xfea5bc,_0x285f11,_0x4baa63;if(this[_0x1db8f1(0x32a)]===Q['UNIVER_DOC']){const {unitID:_0xbe9426,mutations:_0x59557b,memberID:_0x1183b7}=_0xf3cf0c,_0x4e2664=_0x59557b[0x0][_0x1db8f1(0x1e6)][_0x1db8f1(0x18c)];Array['isArray'](_0x4e2664)&&_0x4e2664['length']>0x0&&((_0x4baa63=(_0x285f11=this[_0x1db8f1(0x203)])[_0x1db8f1(0x2ec)])==null||_0x4baa63[_0x1db8f1(0x18a)](_0x285f11,{'unitID':_0xbe9426,'memberID':_0x1183b7,'textRanges':_0x4e2664}));}}[_0xfea5bc(0x12b)](){var _0x1f7cbf=_0xfea5bc,_0x3dcbd5;(_0x3dcbd5=this[_0x1f7cbf(0x2b0)])==null||_0x3dcbd5[_0x1f7cbf(0x8e)](this[_0x1f7cbf(0x241)],this[_0x1f7cbf(0x32a)],this[_0x1f7cbf(0x22f)],this[_0x1f7cbf(0x2d9)]);}[_0xfea5bc(0x1ef)](){var _0x336505=_0xfea5bc;return this['_revisionService'][_0x336505(0x2c8)](this['unitID']);}[_0xfea5bc(0x346)](){var _0x20a2a0=_0xfea5bc;this[_0x20a2a0(0x265)]['incrementRevOfUnit'](this['unitID']);}[_0xfea5bc(0xde)](_0xcc8093){var _0x492171=_0xfea5bc,_0x36d51b;let _0x306715=this['_transformRemoteChangesetByIMECache'](_0xcc8093);_0x306715=this[_0x492171(0x2dd)](_0x306715);const _0x13457b=_0x3191f9(_0x306715[_0x492171(0x199)],this[_0x492171(0x184)],{'fromCollab':!0x0});if(!_0x13457b[_0x492171(0x1e2)])throw _0x13457b['error']instanceof Error?_0x13457b[_0x492171(0x36e)]:new Error((_0x36d51b=_0x13457b[_0x492171(0x36e)])!=null?_0x36d51b:_0x492171(0x355));this['_transformIMECache'](_0x306715),this['_transformStateCache'](_0x306715),this[_0x492171(0x1ff)](_0xcc8093),this[_0x492171(0x81)](_0x306715),this[_0x492171(0x17a)](_0x306715),this['_incrementRevisionNumber']();}}let Pe=class extends Re{constructor(_0x1f0bdc,_0xbf0858,_0x336e2c,_0xbe3775,_0x2e0dd7,_0x3eeb3d,_0x2b1e30,_0x4bc496,_0x4563b1,_0x467c28){var _0x59797e=_0xfea5bc;super(_0x1f0bdc,_0xbf0858,null,[],_0x336e2c,_0x2b1e30,_0x3eeb3d,_0xbe3775,_0x467c28),P(this,_0x59797e(0x1d6),_0x59797e(0x33b)),(this['_injector']=_0x2e0dd7,this[_0x59797e(0xa5)]=_0x4bc496,this['_transformService']=_0x4563b1,this['localCacheService']=_0x467c28);}[_0xfea5bc(0x12c)](_0x1664c7){var _0x36829a=_0xfea5bc;const _0x2ec840=this[_0x36829a(0x239)][_0x36829a(0x306)](oe,this[_0x36829a(0x241)],this[_0x36829a(0x32a)],[_0x1664c7],this[_0x36829a(0x203)]);return _0x2ec840['_schedule'](),_0x2ec840[_0x36829a(0x12b)](),_0x2ec840;}[_0xfea5bc(0x156)](_0x4df002){var _0x2affb0=_0xfea5bc;if(this[_0x2affb0(0x349)](_0x4df002))return this[_0x2affb0(0x239)][_0x2affb0(0x306)](te,this[_0x2affb0(0x241)],this[_0x2affb0(0x32a)],null,[],null,[_0x4df002],this[_0x2affb0(0x203)]);try{const _0x333164=this[_0x2affb0(0x175)][_0x2affb0(0xa7)](_0x4df002,[Is]);if(_0x475b3b(_0x333164)){const {c1Prime:_0x493e3e}=_0x333164;return this[_0x2affb0(0xde)](_0x493e3e),this;}throw _0x333164['error'];}catch(_0x4a5aec){return this['_logService'][_0x2affb0(0x36e)](_0x4a5aec),this[_0x2affb0(0x334)](!0x1);}}[_0xfea5bc(0x334)](_0x2c9cd7){var _0x342b39=_0xfea5bc;return this['_injector']['createInstance'](de,this[_0x342b39(0x241)],this['type'],null,[],this[_0x342b39(0x203)],_0x2c9cd7);}[_0xfea5bc(0x86)](){var _0x352b93=_0xfea5bc;throw new Error(_0x352b93(0x10c));}[_0xfea5bc(0x26f)](){var _0x43f72c=_0xfea5bc;throw new Error(_0x43f72c(0x112));}[_0xfea5bc(0x27a)](){return this;}['toggleOffline'](){var _0xb5e40=_0xfea5bc;return this[_0xb5e40(0x239)][_0xb5e40(0x306)](fe,this[_0xb5e40(0x241)],this[_0xb5e40(0x32a)],null,[],this[_0xb5e40(0x203)]);}['toggleOnline'](){return this;}[_0xfea5bc(0xf3)](){var _0x41f8de=_0xfea5bc;throw new Error(_0x41f8de(0x1d9));}['fetchMiss'](){var _0x19d41d=_0xfea5bc;const _0x47c599=this[_0x19d41d(0x265)][_0x19d41d(0x2c8)](this[_0x19d41d(0x241)]);return this[_0x19d41d(0x203)][_0x19d41d(0x6e)]({'from':_0x47c599,'to':0x0}),this[_0x19d41d(0x239)][_0x19d41d(0x306)](te,this['unitID'],this[_0x19d41d(0x32a)],null,[],null,[],this['_handler']);}};Pe=be([A(0x3,_0x5d1423(_0x42e08a)),A(0x4,_0x5d1423(_0xd0e7e3)),A(0x5,_0x2b9d6a),A(0x6,_0x185ede),A(0x7,_0x43687c),A(0x8,_0x12a25b),A(0x9,_0x52513a(X))],Pe);let oe=class extends Re{constructor(_0x1804fb,_0x343e58,_0xb6a7,_0x58b4a0,_0x32a8e1,_0x2977e3,_0x534660,_0x471dac,_0x287e7b,_0x347d16,_0xfc2ea5,_0x3b7ff9,_0x127607,_0x583603){var _0x18da83=_0xfea5bc;super(_0x1804fb,_0x343e58,null,_0xb6a7,_0x58b4a0,_0x287e7b,_0x127607,_0x2977e3,_0x583603),P(this,_0x18da83(0x1d6),_0x18da83(0x101)),P(this,_0x18da83(0x298),null),P(this,'_sendingTimer',null),(this[_0x18da83(0x239)]=_0x32a8e1,this[_0x18da83(0x13d)]=_0x534660,this[_0x18da83(0xa5)]=_0x471dac,this['_configService']=_0x347d16,this[_0x18da83(0x175)]=_0xfc2ea5,this[_0x18da83(0x2fb)]=_0x3b7ff9);}['appendMutation'](_0x10f069){var _0x2239cc=_0xfea5bc;return this[_0x2239cc(0x2d9)]['push'](_0x10f069),this[_0x2239cc(0x12b)](),this;}[_0xfea5bc(0x156)](_0x514134){var _0x21da17=_0xfea5bc;if(this[_0x21da17(0x349)](_0x514134))return this[_0x21da17(0x26b)](),this[_0x21da17(0x239)][_0x21da17(0x306)](te,this[_0x21da17(0x241)],this[_0x21da17(0x32a)],null,this['_pendingMutations'],null,[_0x514134],this['_handler']);try{const _0x5ec389=this['_transformService'][_0x21da17(0xa7)](_0x514134,this[_0x21da17(0x2d9)]);if(_0x475b3b(_0x5ec389)){const {c1Prime:_0x3ec524,m2Prime:_0x20edac}=_0x5ec389;this[_0x21da17(0xde)](_0x3ec524);const _0x56ddc8=this[_0x21da17(0x239)][_0x21da17(0x306)](oe,this[_0x21da17(0x241)],this[_0x21da17(0x32a)],_0x20edac,this[_0x21da17(0x203)]);return this[_0x21da17(0x26b)](),_0x56ddc8[_0x21da17(0x1cb)](this[_0x21da17(0x298)]?Math[_0x21da17(0x364)](0x0,new Date()[_0x21da17(0xad)]()-this[_0x21da17(0x298)]):this[_0x21da17(0x2f4)]()),_0x56ddc8;}throw _0x5ec389[_0x21da17(0x36e)];}catch(_0x4f3783){return this['_logService']['error'](_0x4f3783),this['_onConflict'](!0x1);}}[_0xfea5bc(0x86)](){var _0x291cb3=_0xfea5bc;throw new Error(_0x291cb3(0x26a));}[_0xfea5bc(0x26f)](){var _0xcae37d=_0xfea5bc;throw new Error(_0xcae37d(0x2e9));}[_0xfea5bc(0x27a)](){return this;}[_0xfea5bc(0x2c5)](){var _0x166dd7=_0xfea5bc;return this['_clearScheduledTask'](),this['_injector'][_0x166dd7(0x306)](fe,this[_0x166dd7(0x241)],this[_0x166dd7(0x32a)],null,this[_0x166dd7(0x2d9)],this[_0x166dd7(0x203)]);}['toggleOnline'](){return this;}[_0xfea5bc(0x1cb)](_0x5b69cf){var _0xcf4b1e=_0xfea5bc;const _0x20f76f=_0x5b69cf!=null?_0x5b69cf:this['_getSendChangesetTimeout']();this[_0xcf4b1e(0x298)]=new Date()[_0xcf4b1e(0xad)](),this['_sendingTimer']=setTimeout(()=>{var _0x29f08f=_0xcf4b1e;this[_0x29f08f(0x26b)]();let _0x5e0aa0=null;switch(this[_0x29f08f(0x32a)]){case Q[_0x29f08f(0x14f)]:{_0x5e0aa0=Jt(this[_0x29f08f(0x2d9)],this[_0x29f08f(0x241)],this['_univerInstanceService'],this[_0x29f08f(0x265)],this[_0x29f08f(0x13d)]);break;}case Q[_0x29f08f(0x11b)]:{this[_0x29f08f(0x2d9)][_0x29f08f(0xb2)](_0x1df6d7=>_0x1df6d7['id']===_0xcd2ee['id'])?_0x5e0aa0=Es(this[_0x29f08f(0x2d9)],this[_0x29f08f(0x241)],this[_0x29f08f(0x2fb)],this[_0x29f08f(0x265)],this[_0x29f08f(0x13d)]):_0x5e0aa0=Jt(this[_0x29f08f(0x2d9)],this[_0x29f08f(0x241)],this['_univerInstanceService'],this[_0x29f08f(0x265)],this[_0x29f08f(0x13d)]);break;}default:throw new Error(_0x29f08f(0xa0)+this[_0x29f08f(0x32a)]+'\x20in\x20_schedule.');}const {changeset:_0x2d4ce2,pendingMutations:_0x239366}=_0x5e0aa0;this[_0x29f08f(0x203)][_0x29f08f(0x354)](_0x2d4ce2);const _0x3388c4=_0x239366[_0x29f08f(0x28a)]?this[_0x29f08f(0x239)][_0x29f08f(0x306)](ae,this['unitID'],this[_0x29f08f(0x32a)],_0x2d4ce2,_0x239366,this[_0x29f08f(0x203)],void 0x0):this['_injector'][_0x29f08f(0x306)](ue,this['unitID'],this['type'],_0x2d4ce2,this['_handler']);_0x3388c4[_0x29f08f(0x12b)](),this[_0x29f08f(0x203)]['onStateChange'](this,_0x3388c4);},_0x20f76f);}[_0xfea5bc(0x2f4)](){var _0x163fbf=_0xfea5bc,_0x58f351;const _0x82c42f=this[_0x163fbf(0x132)]['getConfig'](Y);return(_0x58f351=_0x82c42f==null?void 0x0:_0x82c42f[_0x163fbf(0x27d)])!=null?_0x58f351:wn;}[_0xfea5bc(0xf3)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xfea5bc(0x26b)](){var _0x331dc9=_0xfea5bc;this['_sendingTimer']!=null&&(clearTimeout(this[_0x331dc9(0x2ef)]),this[_0x331dc9(0x2ef)]=null);}[_0xfea5bc(0x334)](_0xec1a0c){var _0x3916d6=_0xfea5bc;return this[_0x3916d6(0x26b)](),this[_0x3916d6(0x239)][_0x3916d6(0x306)](de,this[_0x3916d6(0x241)],this[_0x3916d6(0x32a)],null,this[_0x3916d6(0x2d9)],this[_0x3916d6(0x203)],_0xec1a0c);}};oe=be([A(0x4,_0x5d1423(_0xd0e7e3)),A(0x5,_0x5d1423(_0x42e08a)),A(0x6,_0x5d1423(xe)),A(0x7,_0x43687c),A(0x8,_0x185ede),A(0x9,_0x39bec4),A(0xa,_0x12a25b),A(0xb,_0x248930),A(0xc,_0x2b9d6a),A(0xd,_0x52513a(X))],oe);let ue=class extends Re{constructor(_0x8705ad,_0x269a3b,_0x57e8e1,_0x36bd57,_0x1af813,_0x2eb02b,_0x3dc7c9,_0x7dde16,_0x39343a,_0x4c6841,_0x5eb94e){var _0x44491c=_0xfea5bc;super(_0x8705ad,_0x269a3b,_0x57e8e1,[],_0x36bd57,_0x3dc7c9,_0x4c6841,_0x2eb02b,_0x5eb94e),P(this,'status',_0x44491c(0xc1)),P(this,_0x44491c(0x2c2),0x0),P(this,_0x44491c(0x2d4)),P(this,_0x44491c(0x34d)),(this[_0x44491c(0x239)]=_0x1af813,this[_0x44491c(0xa5)]=_0x7dde16,this[_0x44491c(0x175)]=_0x39343a);}[_0xfea5bc(0x12c)](_0xe4a52){var _0x52d301=_0xfea5bc;this[_0x52d301(0x26b)]();const _0x234df4=this[_0x52d301(0x239)][_0x52d301(0x306)](ae,this[_0x52d301(0x241)],this[_0x52d301(0x32a)],this[_0x52d301(0x22f)],[_0xe4a52],this['_handler'],this[_0x52d301(0x2d4)]);return _0x234df4[_0x52d301(0x12b)](),_0x234df4;}[_0xfea5bc(0x156)](_0x4e1d6a){var _0x6ca0db=_0xfea5bc;if(this[_0x6ca0db(0x349)](_0x4e1d6a))return this[_0x6ca0db(0x26b)](),this[_0x6ca0db(0x239)]['createInstance'](te,this[_0x6ca0db(0x241)],this['type'],this['_awaitingChangeset'],[],null,[_0x4e1d6a],this[_0x6ca0db(0x203)]);try{const _0x3fef8a=this[_0x6ca0db(0x175)][_0x6ca0db(0xa1)]([_0x4e1d6a],[this[_0x6ca0db(0x22f)]],!0x1);if(_0x22f639(_0x3fef8a)){const {c1Prime:_0x55eefd,c2Prime:_0x48334d}=_0x3fef8a;this[_0x6ca0db(0xde)](_0x55eefd[0x0]),_0x48334d[0x0][_0x6ca0db(0x187)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x9d55c1=this[_0x6ca0db(0x239)][_0x6ca0db(0x306)](ue,this[_0x6ca0db(0x241)],this[_0x6ca0db(0x32a)],_0x48334d[0x0],this[_0x6ca0db(0x203)]);return _0x9d55c1[_0x6ca0db(0x12b)](),_0x9d55c1;}return this[_0x6ca0db(0x334)](!0x1);}catch(_0x15e9ad){return this[_0x6ca0db(0xa5)][_0x6ca0db(0x36e)](_0x15e9ad),this['_onConflict'](!0x1);}}[_0xfea5bc(0x86)](_0xd49854){var _0x29cc09=_0xfea5bc;this[_0x29cc09(0x26b)]();const _0x54d04d=this[_0x29cc09(0x265)][_0x29cc09(0x2c8)](this['unitID']);if(_0xd49854['revision']<_0x54d04d-0x1)return this;if(this['_checkMissing'](_0xd49854))return this[_0x29cc09(0x239)][_0x29cc09(0x306)](te,this[_0x29cc09(0x241)],this[_0x29cc09(0x32a)],null,[],this['_awaitingChangeset'],[],this[_0x29cc09(0x203)]);this[_0x29cc09(0x346)]();const _0x4d543f=this['_injector']['createInstance'](Pe,this[_0x29cc09(0x241)],this[_0x29cc09(0x32a)],this['_handler']);return _0x4d543f[_0x29cc09(0x12b)](),_0x4d543f;}[_0xfea5bc(0x26f)](_0x43f5a7){var _0x25ceb2=_0xfea5bc;return this[_0x25ceb2(0x334)](!!(_0x43f5a7!=null&&_0x43f5a7[_0x25ceb2(0x2a0)]));}[_0xfea5bc(0x27a)](_0x4738de){var _0x5b1136=_0xfea5bc;return this[_0x5b1136(0x2c2)]>Pi?this[_0x5b1136(0x2c5)]():(this['_resendTimer']=Oi(this[_0x5b1136(0x2c2)],{'timeout':this['_resendTimeout'],'reqId':_0x4738de[_0x5b1136(0x1d4)]}),this['_sender']=this[_0x5b1136(0x2d4)]['subscribe'](({reqId:_0xd83056,timeout:_0x5eeb4e})=>{var _0x3d7f70=_0x5b1136;this[_0x3d7f70(0x259)](_0xd83056,_0x5eeb4e);}),this);}[_0xfea5bc(0x2c5)](){var _0x319190=_0xfea5bc;return this[_0x319190(0x26b)](),this[_0x319190(0x239)][_0x319190(0x306)](fe,this[_0x319190(0x241)],this['type'],this[_0x319190(0x22f)],[],this['_handler']);}[_0xfea5bc(0x1b6)](){return this;}['resend'](){var _0x51290b=_0xfea5bc;this[_0x51290b(0x203)][_0x51290b(0x354)](this[_0x51290b(0x22f)]);}[_0xfea5bc(0x334)](_0x25281b){var _0x2ce961=_0xfea5bc;return this['_clearScheduledTask'](),this[_0x2ce961(0x239)]['createInstance'](de,this[_0x2ce961(0x241)],this[_0x2ce961(0x32a)],this[_0x2ce961(0x22f)],[],this[_0x2ce961(0x203)],_0x25281b);}[_0xfea5bc(0x259)](_0x2c5df1,_0xf1c91d){var _0x335dad=_0xfea5bc,_0x3b9eaf;_0x2c5df1===((_0x3b9eaf=this[_0x335dad(0x22f)])==null?void 0x0:_0x3b9eaf['reqId'])&&(this[_0x335dad(0xf3)](),this[_0x335dad(0x2c2)]=_0xf1c91d===0x0?0x3e8:_0xf1c91d*0x2);}[_0xfea5bc(0x26b)](){var _0x3ad316=_0xfea5bc,_0x61b221;(_0x61b221=this[_0x3ad316(0x34d)])==null||_0x61b221[_0x3ad316(0x1e3)](),this[_0x3ad316(0x2c2)]=0x0;}};ue=be([A(0x4,_0x5d1423(_0xd0e7e3)),A(0x5,_0x5d1423(_0x42e08a)),A(0x6,_0x185ede),A(0x7,_0x43687c),A(0x8,_0x12a25b),A(0x9,_0x2b9d6a),A(0xa,_0x52513a(X))],ue);let ae=class extends Re{constructor(_0x56f50d,_0x590427,_0x10dc5f,_0x5e0c5c,_0x270898,_0x5b4bef,_0x5d5a25,_0x7b273b,_0x37eafb,_0x172653,_0x185731,_0x3ba524,_0x381755){var _0x563655=_0xfea5bc;super(_0x56f50d,_0x590427,_0x10dc5f,_0x5e0c5c,_0x270898,_0x37eafb,_0x3ba524,_0x7b273b,_0x381755),P(this,'status',_0x563655(0x301)),P(this,_0x563655(0x2c2),0x0),P(this,_0x563655(0x2d4)),P(this,'_sender'),(this[_0x563655(0x239)]=_0x5d5a25,this['_logService']=_0x172653,this[_0x563655(0x175)]=_0x185731,this['localCacheService']=_0x381755,_0x5b4bef&&(this['_resendTimer']=_0x5b4bef,this[_0x563655(0x34d)]=this[_0x563655(0x2d4)]['subscribe'](({reqId:_0xd1a454,timeout:_0x3db8e6})=>{var _0x11166d=_0x563655;this[_0x11166d(0x259)](_0xd1a454,_0x3db8e6);})));}[_0xfea5bc(0x12c)](_0x3669b3){var _0x295021=_0xfea5bc;return this[_0x295021(0x2d9)][_0x295021(0x2d0)](_0x3669b3),this;}[_0xfea5bc(0x156)](_0x2c56df){var _0x1e5a86=_0xfea5bc;if(this[_0x1e5a86(0x349)](_0x2c56df))return this[_0x1e5a86(0x26b)](),this['_injector'][_0x1e5a86(0x306)](te,this['unitID'],this[_0x1e5a86(0x32a)],this[_0x1e5a86(0x22f)],this[_0x1e5a86(0x2d9)],null,[_0x2c56df],this[_0x1e5a86(0x203)]);try{const _0x5cccb9=this[_0x1e5a86(0x175)][_0x1e5a86(0xa1)]([_0x2c56df],[this[_0x1e5a86(0x22f)]],!0x1);if(_0x22f639(_0x5cccb9)){const {c1Prime:_0x5b54da,c2Prime:_0x30a281}=_0x5cccb9,_0x440531=this[_0x1e5a86(0x175)][_0x1e5a86(0xa7)](_0x5b54da[0x0],this['_pendingMutations']);if(_0x475b3b(_0x440531)){const {c1Prime:_0x18d19e,m2Prime:_0xf939e0}=_0x440531;return this['_executeRemoteChangeset'](_0x18d19e),_0x30a281[0x0][_0x1e5a86(0x187)]=this[_0x1e5a86(0x1ef)](),this['_clearScheduledTask'](),this[_0x1e5a86(0x239)][_0x1e5a86(0x306)](ae,this[_0x1e5a86(0x241)],this[_0x1e5a86(0x32a)],_0x30a281[0x0],_0xf939e0,this[_0x1e5a86(0x203)],void 0x0);}throw _0x440531[_0x1e5a86(0x36e)];}throw _0x5cccb9[_0x1e5a86(0x36e)];}catch(_0x3b6751){return this[_0x1e5a86(0xa5)]['error'](_0x3b6751),this['_onConflict'](!0x1);}}[_0xfea5bc(0x86)](_0x37e31d){var _0x4927ab=_0xfea5bc;if(this[_0x4927ab(0x26b)](),this[_0x4927ab(0x349)](_0x37e31d))return this[_0x4927ab(0x239)][_0x4927ab(0x306)](te,this[_0x4927ab(0x241)],this[_0x4927ab(0x32a)],null,this['_pendingMutations'],this[_0x4927ab(0x22f)],[],this['_handler']);this[_0x4927ab(0x346)]();const _0x1bf435=this[_0x4927ab(0x239)][_0x4927ab(0x306)](oe,this['unitID'],this[_0x4927ab(0x32a)],this[_0x4927ab(0x2d9)],this[_0x4927ab(0x203)]);return _0x1bf435[_0x4927ab(0x1cb)](),_0x1bf435[_0x4927ab(0x12b)](),_0x1bf435;}[_0xfea5bc(0x26f)](_0x3d2687){var _0x2ae6ff=_0xfea5bc;return this[_0x2ae6ff(0x334)](!!(_0x3d2687!=null&&_0x3d2687['isPermissionRej']));}['onRemoteRetry'](_0x1a6dad){var _0x4abf0c=_0xfea5bc;return this[_0x4abf0c(0x2c2)]>Pi?this[_0x4abf0c(0x2c5)]():(this[_0x4abf0c(0x2d4)]=Oi(this[_0x4abf0c(0x2c2)],{'timeout':this[_0x4abf0c(0x2c2)],'reqId':_0x1a6dad[_0x4abf0c(0x1d4)]}),this[_0x4abf0c(0x34d)]=this[_0x4abf0c(0x2d4)][_0x4abf0c(0x2d7)](({reqId:_0x32955a,timeout:_0xaf6933})=>{var _0x1c1ef3=_0x4abf0c;this[_0x1c1ef3(0x259)](_0x32955a,_0xaf6933);}),this);}['toggleOffline'](){var _0x35bb0b=_0xfea5bc;return this[_0x35bb0b(0x26b)](),this[_0x35bb0b(0x239)]['createInstance'](fe,this[_0x35bb0b(0x241)],this[_0x35bb0b(0x32a)],this[_0x35bb0b(0x22f)],this[_0x35bb0b(0x2d9)],this[_0x35bb0b(0x203)]);}[_0xfea5bc(0x1b6)](){return this;}[_0xfea5bc(0xf3)](){var _0x3312ed=_0xfea5bc;this[_0x3312ed(0x203)][_0x3312ed(0x354)](this['_awaitingChangeset']);}['_onConflict'](_0x1cfb42){var _0x894b64=_0xfea5bc;return this[_0x894b64(0x26b)](),this[_0x894b64(0x239)]['createInstance'](de,this['unitID'],this[_0x894b64(0x32a)],null,this['_pendingMutations'],this[_0x894b64(0x203)],_0x1cfb42);}['_resendWithTimeout'](_0x377f90,_0x5184f4){var _0x446d4a=_0xfea5bc,_0x5b65ef;_0x377f90===((_0x5b65ef=this[_0x446d4a(0x22f)])==null?void 0x0:_0x5b65ef[_0x446d4a(0x1d4)])&&(this[_0x446d4a(0xf3)](),this[_0x446d4a(0x2c2)]=_0x5184f4===0x0?0x3e8:_0x5184f4*0x2);}[_0xfea5bc(0x26b)](){var _0x5eed4d=_0xfea5bc,_0xb4657e;(_0xb4657e=this[_0x5eed4d(0x34d)])==null||_0xb4657e['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=be([A(0x6,_0x5d1423(_0xd0e7e3)),A(0x7,_0x5d1423(_0x42e08a)),A(0x8,_0x185ede),A(0x9,_0x43687c),A(0xa,_0x12a25b),A(0xb,_0x2b9d6a),A(0xc,_0x52513a(X))],ae);let de=class extends Re{constructor(_0x5b8c67,_0xdc9323,_0x44aaaa,_0x26d403,_0x563045,_0x28a675=!0x1,_0x3da019,_0x568ea9,_0x181da0,_0x501507,_0x1f7922,_0x209f69,_0x134e5e){var _0x550f69=_0xfea5bc;super(_0x5b8c67,_0xdc9323,_0x44aaaa,_0x26d403,_0x563045,_0x568ea9,_0x181da0,_0x501507,_0x134e5e),P(this,'status',_0x550f69(0x173)),(this[_0x550f69(0x10b)]=_0x28a675,this[_0x550f69(0x130)]=_0x3da019,this[_0x550f69(0x139)]=_0x1f7922,this['_collaborationUIEventService']=_0x209f69,this[_0x550f69(0x2ae)]=_0x134e5e,this[_0x550f69(0x352)](),this[_0x550f69(0x1de)](),this[_0x550f69(0x338)]());}[_0xfea5bc(0x12c)](){return this;}[_0xfea5bc(0x156)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0xfea5bc(0x27a)](){return this;}[_0xfea5bc(0x2c5)](){return this;}[_0xfea5bc(0x1b6)](){return this;}['resend'](){var _0x34ae69=_0xfea5bc;throw new Error(_0x34ae69(0x322));}['_clearLocalCache'](){var _0x45bec6=_0xfea5bc,_0x13de8d;(_0x13de8d=this[_0x45bec6(0x2b0)])==null||_0x13de8d[_0x45bec6(0x8e)](this[_0x45bec6(0x241)],this[_0x45bec6(0x32a)],null,[]);}[_0xfea5bc(0x352)](){var _0xaa85c=_0xfea5bc;this[_0xaa85c(0x10b)]?this[_0xaa85c(0x207)][_0xaa85c(0x23d)]({'id':re[_0xaa85c(0x329)]}):this[_0xaa85c(0x207)]['emitEvent']({'id':re[_0xaa85c(0xd5)]});}[_0xfea5bc(0x338)](){var _0x1c090b=_0xfea5bc;this[_0x1c090b(0x130)][_0x1c090b(0x230)](new _0x3afaa1(this[_0x1c090b(0x241)])['id'],!0x1);}};de=be([A(0x6,_0x5d1423(_0x5cf24c)),A(0x7,_0x185ede),A(0x8,_0x2b9d6a),A(0x9,_0x5d1423(_0x42e08a)),A(0xa,_0x5d1423(_0x477c62)),A(0xb,_0x5d1423(pe)),A(0xc,_0x52513a(X))],de);let fe=class extends Re{constructor(_0x431f33,_0x276b1f,_0x5e6d34,_0xdbab70,_0x32aa7a,_0x443c8b,_0x585e8c,_0x40e9a7,_0xff54a0,_0x26a336){var _0x502475=_0xfea5bc;super(_0x431f33,_0x276b1f,_0x5e6d34,_0xdbab70,_0x32aa7a,_0x40e9a7,_0xff54a0,_0x585e8c,_0x26a336),P(this,'status','offline'),this[_0x502475(0x239)]=_0x443c8b;}[_0xfea5bc(0x12c)](_0x49c9c6){var _0x398f15=_0xfea5bc;return this[_0x398f15(0x2d9)][_0x398f15(0x2d0)](_0x49c9c6),this[_0x398f15(0x12b)](),this;}['onRemoteChangeset'](_0x1e258c){var _0x4993ab=_0xfea5bc;throw new Error(_0x4993ab(0x9e));}['onRemoteAck'](){var _0x1fb622=_0xfea5bc;throw new Error(_0x1fb622(0x109));}[_0xfea5bc(0x26f)](){var _0x451871=_0xfea5bc;throw new Error(_0x451871(0xb6));}['onRemoteRetry'](){return this;}[_0xfea5bc(0x2c5)](){return this;}[_0xfea5bc(0x1b6)](){const {_injector:_0x4ab603,_pendingMutations:_0x2bdb3f,_awaitingChangeset:_0x4c913b,unitID:_0x2af5a0,_handler:_0x55e5a7,type:_0x1070a2}=this,_0x100624=Di(_0x4ab603,_0x2af5a0,_0x1070a2,_0x4c913b,_0x2bdb3f,_0x55e5a7);return _0x100624 instanceof oe?_0x100624['_schedule']():(_0x100624 instanceof ae||_0x100624 instanceof ue)&&_0x100624['resend'](),_0x100624;}[_0xfea5bc(0xf3)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=be([A(0x5,_0x5d1423(_0xd0e7e3)),A(0x6,_0x5d1423(_0x42e08a)),A(0x7,_0x185ede),A(0x8,_0x2b9d6a),A(0x9,_0x52513a(X))],fe);let te=class extends Re{constructor(_0x84ac30,_0x3c2910,_0x2b8f8a,_0x1783d3,_0x2ca183,_0x2576dd,_0x3b4e2c,_0x22b381,_0x212abf,_0x3824dd,_0x23799e,_0x3adc3a,_0x244814,_0x548a80){var _0x4db043=_0xfea5bc;super(_0x84ac30,_0x3c2910,_0x2b8f8a,_0x1783d3,_0x3b4e2c,_0x23799e,_0x3adc3a,_0x212abf,_0x548a80),P(this,_0x4db043(0x1d6),'fetch_missing'),(this[_0x4db043(0x335)]=_0x2ca183,this[_0x4db043(0x35c)]=_0x2576dd,this[_0x4db043(0x239)]=_0x22b381,this['_logService']=_0x3824dd,this[_0x4db043(0x175)]=_0x244814,this[_0x4db043(0x2ae)]=_0x548a80);}['onMissedChangesetFetched'](_0x1f2d06){var _0x2074c=_0xfea5bc;try{const _0x2ea977=[..._0x1f2d06,...this[_0x2074c(0x35c)]],_0x3551d6=[this[_0x2074c(0x22f)]||this[_0x2074c(0x335)]]['filter'](_0x6adc1d=>!!_0x6adc1d);let _0x31669c,_0x44b237;if(_0x3551d6[_0x2074c(0x28a)]){const _0x15bb08=this[_0x2074c(0x175)][_0x2074c(0xa1)](_0x2ea977,_0x3551d6,!0x1);if(!_0x22f639(_0x15bb08))throw _0x15bb08[_0x2074c(0x36e)];_0x31669c=_0x15bb08[_0x2074c(0x1a6)],_0x44b237=_0x15bb08[_0x2074c(0x2cd)];}else _0x31669c=_0x2ea977,_0x44b237=[];let _0x55dca6=this['_pendingMutations'];_0x31669c[_0x2074c(0x19f)](_0x3eb907=>{var _0x29cea4=_0x2074c;let _0x117b05;if(_0x55dca6[_0x29cea4(0x28a)]){const _0x3c5b0b=this['_transformService'][_0x29cea4(0xa7)](_0x3eb907,_0x55dca6);if(!_0x475b3b(_0x3c5b0b))throw _0x3c5b0b[_0x29cea4(0x36e)];_0x117b05=_0x3c5b0b[_0x29cea4(0x1a6)],_0x55dca6=_0x3c5b0b[_0x29cea4(0x1e9)];}else _0x117b05=_0x3eb907;this[_0x29cea4(0xde)](_0x117b05);}),this[_0x2074c(0x335)]&&this[_0x2074c(0x346)](),this[_0x2074c(0x22f)]&&_0x44b237['length']&&(_0x44b237[0x0][_0x2074c(0x187)]=this[_0x2074c(0x1ef)]());let _0x1bf359;if(this['_awaitingChangeset']&&_0x55dca6[_0x2074c(0x28a)]!==0x0)_0x1bf359=this[_0x2074c(0x239)]['createInstance'](ae,this[_0x2074c(0x241)],this['type'],_0x44b237[0x0],_0x55dca6,this['_handler'],void 0x0);else{if(this[_0x2074c(0x22f)]&&_0x55dca6['length']===0x0)_0x44b237[0x0][_0x2074c(0x187)]=this[_0x2074c(0x1ef)](),_0x1bf359=this[_0x2074c(0x239)]['createInstance'](ue,this['unitID'],this['type'],_0x44b237[0x0],this[_0x2074c(0x203)]);else{if(_0x55dca6[_0x2074c(0x28a)]!==0x0){const _0x3568b9=this[_0x2074c(0x239)][_0x2074c(0x306)](oe,this[_0x2074c(0x241)],this[_0x2074c(0x32a)],_0x55dca6,this[_0x2074c(0x203)]);_0x3568b9[_0x2074c(0x1cb)](),_0x1bf359=_0x3568b9;}else _0x1bf359=this[_0x2074c(0x239)][_0x2074c(0x306)](Pe,this[_0x2074c(0x241)],this[_0x2074c(0x32a)],this[_0x2074c(0x203)]);}}return _0x1bf359[_0x2074c(0x12b)](),_0x1bf359;}catch(_0x33c0da){return this[_0x2074c(0xa5)][_0x2074c(0x36e)](_0x2074c(0x20a),_0x2074c(0x1fa),_0x33c0da),this[_0x2074c(0x239)][_0x2074c(0x306)](de,this[_0x2074c(0x241)],this[_0x2074c(0x32a)],this[_0x2074c(0x22f)],this[_0x2074c(0x2d9)],this[_0x2074c(0x203)],!0x1);}}[_0xfea5bc(0xf3)](){var _0x7c6ae5=_0xfea5bc;throw new Error(_0x7c6ae5(0xcf));}['appendMutation'](_0x1244bc){var _0x5fc79b=_0xfea5bc;return this[_0x5fc79b(0x2d9)][_0x5fc79b(0x2d0)](_0x1244bc),this;}[_0xfea5bc(0x156)](_0x51d3b6){var _0x33a997=_0xfea5bc;return this[_0x33a997(0x35c)][_0x33a997(0x2d0)](_0x51d3b6),this;}[_0xfea5bc(0x86)](_0x2aff13){var _0x562984=_0xfea5bc;if(this[_0x562984(0x22f)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x562984(0x22f)]=null,this;throw new Error(_0x562984(0x217));}[_0xfea5bc(0x26f)](_0x3df13c){var _0x57f78a=_0xfea5bc;return this['_onConflict'](!!(_0x3df13c!=null&&_0x3df13c[_0x57f78a(0x2a0)]));}[_0xfea5bc(0x27a)](){return this;}[_0xfea5bc(0x2c5)](){var _0x104f0c=_0xfea5bc;return this[_0x104f0c(0x239)][_0x104f0c(0x306)](fe,this[_0x104f0c(0x241)],this[_0x104f0c(0x32a)],this[_0x104f0c(0x22f)],this['_pendingMutations'],this[_0x104f0c(0x203)]);}[_0xfea5bc(0x1b6)](){return this;}[_0xfea5bc(0x334)](_0x23be3c){var _0x31d42e=_0xfea5bc;return this[_0x31d42e(0x239)]['createInstance'](de,this[_0x31d42e(0x241)],this['type'],this[_0x31d42e(0x22f)],this[_0x31d42e(0x2d9)],this[_0x31d42e(0x203)],_0x23be3c);}};te=be([A(0x7,_0x5d1423(_0xd0e7e3)),A(0x8,_0x5d1423(_0x42e08a)),A(0x9,_0x43687c),A(0xa,_0x185ede),A(0xb,_0x2b9d6a),A(0xc,_0x12a25b),A(0xd,_0x52513a(X))],te);function Di(_0x16ea9f,_0x41979e,_0x187f52,_0x49b293,_0x2d4eba,_0xa5d948){var _0x574863=_0xfea5bc;return _0x49b293&&_0x2d4eba[_0x574863(0x28a)]?_0x16ea9f[_0x574863(0x306)](ae,_0x41979e,_0x187f52,_0x49b293,_0x2d4eba,_0xa5d948,void 0x0):_0x49b293?_0x16ea9f[_0x574863(0x306)](ue,_0x41979e,_0x187f52,_0x49b293,_0xa5d948):_0x2d4eba[_0x574863(0x28a)]?_0x16ea9f[_0x574863(0x306)](oe,_0x41979e,_0x187f52,_0x2d4eba,_0xa5d948):_0x16ea9f[_0x574863(0x306)](Pe,_0x41979e,_0x187f52,_0xa5d948);}var bs=Object[_0xfea5bc(0x247)],Rs=Object[_0xfea5bc(0x30f)],Mt=(_0x6e270c,_0x1dbc4c,_0x28edb4,_0x165bba)=>{var _0x161c00=_0xfea5bc;for(var _0x901422=_0x165bba>0x1?void 0x0:_0x165bba?Rs(_0x1dbc4c,_0x28edb4):_0x1dbc4c,_0x3bdfe1=_0x6e270c[_0x161c00(0x28a)]-0x1,_0x5a92d1;_0x3bdfe1>=0x0;_0x3bdfe1--)(_0x5a92d1=_0x6e270c[_0x3bdfe1])&&(_0x901422=(_0x165bba?_0x5a92d1(_0x1dbc4c,_0x28edb4,_0x901422):_0x5a92d1(_0x901422))||_0x901422);return _0x165bba&&_0x901422&&bs(_0x1dbc4c,_0x28edb4,_0x901422),_0x901422;},k=(_0x4ca27e,_0x1732e)=>(_0x12712b,_0x5c8a66)=>_0x1732e(_0x12712b,_0x5c8a66,_0x4ca27e);let st=class extends _0x186de6{constructor(_0x45c9ce,_0x522f66,_0x28f8b4,_0x1275a0,_0x3d23f6,_0x5e2275,_0x5bcf7a,_0x2d2641,_0x16f49c,_0x2a5fc6,_0x1cace7,_0x3e01b9,_0x481a2f){var _0x33948d=_0xfea5bc;super(),P(this,_0x33948d(0x2ad),new _0x27ef72(null)),P(this,_0x33948d(0x29b),this['_state$']['asObservable']()),P(this,_0x33948d(0x1d8)),P(this,_0x33948d(0x138),!0x1),P(this,_0x33948d(0x2e0),''),P(this,_0x33948d(0x271),0x0),P(this,_0x33948d(0x36f),this[_0x33948d(0x29b)][_0x33948d(0x7f)](_0x1e327d(_0x5c9396=>_0x5c9396?_0x5c9396[_0x33948d(0x1d6)]:Ni[_0x33948d(0x32c)]),_0x1e55d9(0x1))),P(this,_0x33948d(0xec),!0x1),P(this,_0x33948d(0x2b8),[]),(this[_0x33948d(0x241)]=_0x45c9ce,this['session']=_0x522f66,this[_0x33948d(0x13e)]=_0x28f8b4,this[_0x33948d(0x239)]=_0x1275a0,this[_0x33948d(0x2f7)]=_0x3d23f6,this[_0x33948d(0x139)]=_0x5e2275,this[_0x33948d(0x265)]=_0x5bcf7a,this['_eventService']=_0x2d2641,this[_0x33948d(0xa5)]=_0x16f49c,this['_commandService']=_0x2a5fc6,this[_0x33948d(0x130)]=_0x1cace7,this[_0x33948d(0x140)]=_0x3e01b9,this['_localCacheService']=_0x481a2f);}get['state'](){var _0xdc1c3d=_0xfea5bc;return this[_0xdc1c3d(0x1d8)];}async[_0xfea5bc(0x228)](){var _0x51b3a9=_0xfea5bc;if(this[_0x51b3a9(0x127)])throw new Error(_0x51b3a9(0x231));await this[_0x51b3a9(0x185)]();}[_0xfea5bc(0x1c0)](){return this['_collaborationPaused']=!0x0,_0x5891ad(()=>{var _0x2f67c7=_0xce85;this[_0x2f67c7(0x138)]=!0x1,this[_0x2f67c7(0x118)]();});}[_0xfea5bc(0x10d)](_0x2af74b){this['_onLocalMutation'](_0x2af74b);}[_0xfea5bc(0x250)](_0x3a4ea6){var _0x549991=_0xfea5bc;this[_0x549991(0x1d8)]=_0x3a4ea6,this[_0x549991(0x2ad)][_0x549991(0x2d5)](_0x3a4ea6);}async[_0xfea5bc(0x185)](){var _0x316540=_0xfea5bc,_0x39dc7b;this[_0x316540(0x250)](await this[_0x316540(0x34e)]()),this[_0x316540(0x140)]&&((_0x39dc7b=this[_0x316540(0x140)])==null||_0x39dc7b[_0x316540(0x2bc)](this[_0x316540(0x241)]),this[_0x316540(0x351)](this['_singleActiveUnitService'][_0x316540(0x21e)](this[_0x316540(0x241)])[_0x316540(0x2d7)](_0x25b002=>{var _0xb9c96a=_0x316540;this['_logService'][_0xb9c96a(0x149)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x25b002),_0x25b002===yi[_0xb9c96a(0x1ba)]?(this[_0xb9c96a(0x269)][_0xb9c96a(0x23d)]({'id':re[_0xb9c96a(0xa6)]}),this[_0xb9c96a(0x130)]['updatePermissionPoint'](new _0x3afaa1(this[_0xb9c96a(0x241)])['id'],!0x1),this[_0xb9c96a(0x130)]['setShowComponents'](!0x1)):(this[_0xb9c96a(0x130)][_0xb9c96a(0x230)](new _0x3afaa1(this['unitID'])['id'],!0x0),this['_permissionService'][_0xb9c96a(0x31b)](!0x0));})));let _0x2ddb0c=!0x1;return this[_0x316540(0x351)](this[_0x316540(0x32f)][_0x316540(0xb3)][_0x316540(0x2d7)](_0x58d59b=>{var _0x3723be=_0x316540;_0x58d59b===Te[_0x3723be(0x254)]?this[_0x3723be(0x1bc)](_0x2ddb0c):_0x58d59b===Te[_0x3723be(0x32c)]&&(_0x2ddb0c=!0x0,this['_toggleOffline']());})),this[_0x316540(0x351)](this[_0x316540(0x32f)]['event$'][_0x316540(0x2d7)](_0x37164b=>{var _0x25594c=_0x316540;try{switch(_0x37164b['eventID']){case _0x41c4be[_0x25594c(0x24e)]:{this['_onRemoteChangeset'](_0x3bfdc7(_0x37164b[_0x25594c(0x2e1)]));break;}case _0x41c4be['CHANGESET_ACK']:{this[_0x25594c(0x19b)](_0x37164b['data']);break;}case _0x41c4be[_0x25594c(0x345)]:{this['_onRemoteRejected']();break;}case _0x41c4be[_0x25594c(0x209)]:{this['_onRemoteRetry'](_0x37164b['data']);break;}case _0x41c4be['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x25594c(0x169)](_0x37164b[_0x25594c(0x2e1)][_0x25594c(0x2a3)][_0x25594c(0x22e)](_0x4576e5=>_0x3bfdc7(_0x4576e5)));break;}case _0x41c4be['PERMISSION_REJ']:{this[_0x25594c(0x13c)]({'isPermissionRej':!0x0});break;}case _0x41c4be[_0x25594c(0x371)]:break;}}catch(_0x31d9fc){throw console[_0x25594c(0x36e)](_0x25594c(0x28c),_0x31d9fc),_0x31d9fc;}})),this[_0x316540(0x1d8)];}[_0xfea5bc(0x34f)](){var _0x3d3623=_0xfea5bc;this[_0x3d3623(0xec)]=!0x1;}[_0xfea5bc(0x1fb)](){var _0x522091=_0xfea5bc;if(this[_0x522091(0xec)])throw new Error(_0x522091(0x2a7));this[_0x522091(0xec)]=!0x0;}[_0xfea5bc(0x304)](_0x8abbf5){var _0x4d2eac=_0xfea5bc;this[_0x4d2eac(0x1fb)](),this['_updateState'](this[_0x4d2eac(0x1d8)][_0x4d2eac(0x12c)](_0x8abbf5)),this['_unlockTransition']();}[_0xfea5bc(0x11d)](_0x14ae35){var _0x41cfed=_0xfea5bc;if(!(_0x14ae35[_0x41cfed(0x260)]<=this[_0x41cfed(0x265)][_0x41cfed(0x2c8)](this['unitID']))){if(this[_0x41cfed(0x138)]){this[_0x41cfed(0x2b8)][_0x41cfed(0x2d0)](_0x14ae35);return;}this[_0x41cfed(0x2dc)](_0x14ae35);}}[_0xfea5bc(0x118)](){var _0x59fc9f=_0xfea5bc;this[_0x59fc9f(0x2b8)][_0x59fc9f(0x19f)](_0xc01087=>this[_0x59fc9f(0x2dc)](_0xc01087)),this[_0x59fc9f(0x2b8)]=[];}[_0xfea5bc(0x2dc)](_0x4473fc){var _0x4883cd=_0xfea5bc;const _0x19b865=this[_0x4883cd(0x2f7)][_0x4883cd(0x367)][_0x4883cd(0xe8)](this['_compressMutationService'][_0x4883cd(0x367)][_0x4883cd(0x24f)]()['COMPRESS_MUTATION_APPLY'])(_0x4473fc['mutations'],null)||_0x4473fc[_0x4883cd(0x199)],_0x5e6a46={..._0x4473fc,'mutations':_0x19b865};this[_0x4883cd(0x1fb)](),this[_0x4883cd(0x250)](this[_0x4883cd(0x1d8)]['onRemoteChangeset'](_0x5e6a46)),this[_0x4883cd(0x34f)]();}['_onRemoteACK'](_0x114bfa){var _0x2645f8=_0xfea5bc;this[_0x2645f8(0x1fb)](),this[_0x2645f8(0x250)](this[_0x2645f8(0x1d8)][_0x2645f8(0x86)](_0x114bfa)),this['_unlockTransition']();}[_0xfea5bc(0x13c)](_0xdd86aa){var _0x5479da=_0xfea5bc;this[_0x5479da(0x1fb)](),this[_0x5479da(0x250)](this[_0x5479da(0x1d8)][_0x5479da(0x26f)](_0xdd86aa)),this['_unlockTransition']();}['_onRemoteRetry'](_0x114050){var _0x22ac18=_0xfea5bc;this[_0x22ac18(0x1fb)](),this[_0x22ac18(0x250)](this[_0x22ac18(0x1d8)][_0x22ac18(0x27a)](_0x114050)),this['_unlockTransition']();}['_onFetchMissResult'](_0x3abb3e){var _0x350f3a=_0xfea5bc;if(!(this[_0x350f3a(0x1d8)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x26f1c8=_0x3abb3e[_0x350f3a(0x22e)](_0x31bef7=>{var _0x476465=_0x350f3a;const _0x574157=this[_0x476465(0x2f7)][_0x476465(0x367)]['fetchThroughInterceptors'](this[_0x476465(0x2f7)][_0x476465(0x367)][_0x476465(0x24f)]()['COMPRESS_MUTATION_APPLY'])(_0x31bef7['mutations'],null)||_0x31bef7[_0x476465(0x199)];return{..._0x31bef7,'mutations':_0x574157};});this[_0x350f3a(0x1fb)](),this['_updateState'](this['_state']['onMissedChangesetFetched'](_0x26f1c8)),this['_unlockTransition']();}[_0xfea5bc(0x236)](){var _0x36e533=_0xfea5bc;this[_0x36e533(0x1fb)](),this[_0x36e533(0x250)](this[_0x36e533(0x1d8)]['toggleOffline']()),this['_unlockTransition']();}[_0xfea5bc(0x1bc)](_0x257a0a=!0x1){var _0xa6c592=_0xfea5bc;this['_lockTransition'](),this[_0xa6c592(0x250)](this['_state'][_0xa6c592(0x1b6)]()),this[_0xa6c592(0x34f)]();const _0x1ae947=this[_0xa6c592(0x1d8)];_0x257a0a&&_0x1ae947 instanceof Pe&&(this[_0xa6c592(0x1fb)](),this[_0xa6c592(0x250)](_0x1ae947[_0xa6c592(0x13a)]()),this[_0xa6c592(0x34f)]());}async['_createInitialState'](){return new Promise(_0x456d93=>{var _0xeeb3a2=_0xce85;this['session'][_0xeeb3a2(0xb3)][_0xeeb3a2(0x7f)](_0x3a3f11(0x1))[_0xeeb3a2(0x2d7)](async _0x877f4=>{var _0x8794a4=_0xeeb3a2;_0x456d93(await this[_0x8794a4(0x1f9)](_0x877f4===Te[_0x8794a4(0x254)]));});});}['_createHandler'](){var _0x1b763b=_0xfea5bc;const _0x115296=this[_0x1b763b(0x241)];return{'onStateChange':(_0x12cb98,_0xa987ae)=>{var _0x4d8705=_0x1b763b;if(_0x12cb98!==this['_state'])throw new Error(_0x4d8705(0x1bf)+_0x12cb98[_0x4d8705(0x1d6)]+_0x4d8705(0x347)+_0xa987ae['status']+_0x4d8705(0x244)+this[_0x4d8705(0x1d8)][_0x4d8705(0x1d6)]);this[_0x4d8705(0x250)](_0xa987ae);},'onSendChangeset':_0x418abf=>{var _0x151182=_0x1b763b;_0x418abf[_0x151182(0x2ab)]||(_0x418abf[_0x151182(0x2ab)]=this[_0x151182(0x2e0)],_0x418abf['reqId']=++this[_0x151182(0x271)]);const _0x905c4e={'eventID':_0x41c4be[_0x151182(0x296)],'data':{'unitID':_0x418abf['unitID'],'unitType':this['_type'],'changeset':_0x418abf,'memberID':this['session'][_0x151182(0x31c)]()}};this[_0x151182(0x32f)][_0x151182(0x22d)](_0x905c4e,this[_0x151182(0x241)]);},'onMissingChangesets':({from:_0x1034fe,to:_0x269818})=>{var _0x32fc06=_0x1b763b;this['_logService'][_0x32fc06(0x149)](_0x32fc06(0x1eb),'fetching\x20missing\x20changesets\x20from\x20'+_0x1034fe+_0x32fc06(0x257)+_0x269818);const _0x23c668={'eventID':_0x41c4be[_0x32fc06(0xeb)],'data':{'unitID':_0x115296,'unitType':this[_0x32fc06(0x13e)],'from':_0x1034fe,'to':_0x269818}};this[_0x32fc06(0x32f)][_0x32fc06(0x22d)](_0x23c668,this[_0x32fc06(0x241)]);}};}async[_0xfea5bc(0x1f9)](_0x39ec30){var _0x3a6e2e=_0xfea5bc,_0x515526,_0x16b5bc,_0x36eca3;const _0x9560ed=await((_0x515526=this[_0x3a6e2e(0x2b0)])==null?void 0x0:_0x515526['loadOfflineData'](this[_0x3a6e2e(0x241)])),_0x2726c0=(_0x16b5bc=_0x9560ed==null?void 0x0:_0x9560ed['mutations'])!=null?_0x16b5bc:[],_0x24a72c=(_0x36eca3=_0x9560ed==null?void 0x0:_0x9560ed[_0x3a6e2e(0x23a)])!=null?_0x36eca3:null,_0x59b176=!!(_0x24a72c!=null&&_0x24a72c['sid'])&&!!(_0x24a72c!=null&&_0x24a72c['reqId']);this[_0x3a6e2e(0x2e0)]=_0x59b176?_0x24a72c['sid']:fs(),this[_0x3a6e2e(0x271)]=_0x59b176?_0x24a72c[_0x3a6e2e(0x1d4)]:0x0;const _0x375bcf=this[_0x3a6e2e(0x241)];try{this[_0x3a6e2e(0x274)](_0x24a72c,_0x2726c0);}catch(_0x57650a){this['_logService'][_0x3a6e2e(0x36e)](_0x57650a);}const _0x39c779=this[_0x3a6e2e(0x8f)]();if(_0x39ec30){const _0x38015e=Di(this[_0x3a6e2e(0x239)],_0x375bcf,this[_0x3a6e2e(0x13e)],_0x24a72c,_0x2726c0,_0x39c779);return _0x38015e instanceof oe?_0x38015e[_0x3a6e2e(0x1cb)]():(_0x38015e instanceof ae||_0x38015e instanceof ue)&&_0x38015e[_0x3a6e2e(0xf3)](),_0x38015e;}return this[_0x3a6e2e(0x239)][_0x3a6e2e(0x306)](fe,_0x375bcf,this[_0x3a6e2e(0x13e)],_0x24a72c,_0x2726c0,_0x39c779);}[_0xfea5bc(0x274)](_0x30db18,_0x51b5f3){var _0x1a6566=_0xfea5bc,_0x410efe,_0x461aa7;const _0x5bddf7=this['_compressMutationService'][_0x1a6566(0x367)][_0x1a6566(0xe8)](this[_0x1a6566(0x2f7)][_0x1a6566(0x367)]['getInterceptPoints']()[_0x1a6566(0x2cf)]);(_0x410efe=_0x5bddf7((_0x30db18==null?void 0x0:_0x30db18[_0x1a6566(0x199)])||[],null))==null||_0x410efe[_0x1a6566(0x19f)](_0x1b1eeb=>this[_0x1a6566(0x184)][_0x1a6566(0x12a)](_0x1b1eeb['id'],_0x1b1eeb[_0x1a6566(0x1e6)])),(_0x461aa7=_0x5bddf7(_0x51b5f3||[],null))==null||_0x461aa7[_0x1a6566(0x19f)](_0x18811b=>this['_commandService'][_0x1a6566(0x12a)](_0x18811b['id'],_0x18811b[_0x1a6566(0x1e6)]));}};st=Mt([k(0x3,_0x5d1423(_0xd0e7e3)),k(0x4,_0x5d1423(_0x78e898)),k(0x5,_0x5d1423(_0x477c62)),k(0x6,_0x5d1423(_0x42e08a)),k(0x7,_0x5d1423(pe)),k(0x8,_0x43687c),k(0x9,_0x185ede),k(0xa,_0x5cf24c),k(0xb,_0x52513a(_t)),k(0xc,_0x52513a(X))],st);let Ct=class extends st{constructor(_0x55d2c5,_0x50be10,_0x43d225,_0x5723ba,_0x38aa35,_0x3699b5,_0x517f66,_0x4ececd,_0x49219e,_0x19f89f,_0x16acec,_0x4f71ca,_0x441fc5){var _0x37eb44=_0xfea5bc;super(_0x55d2c5,_0x43d225,_0x50be10,_0x5723ba,_0x38aa35,_0x3699b5,_0x517f66,_0x4ececd,_0x49219e,_0x19f89f,_0x16acec,_0x4f71ca,_0x441fc5),P(this,_0x37eb44(0x6b),null),(this[_0x37eb44(0x241)]=_0x55d2c5,this[_0x37eb44(0x32a)]=_0x50be10);}['addHandlerCallback'](_0xb9fff){var _0x2ca584=_0xfea5bc;this[_0x2ca584(0x6b)]=_0xb9fff;}['dispose'](){var _0x3c3d29=_0xfea5bc;this[_0x3c3d29(0x6b)]=null,super['dispose']();}['_createHandler'](){var _0x1b5640=_0xfea5bc;const _0x31f17c=super[_0x1b5640(0x8f)]();return _0x31f17c['onTransformIME']=_0x18d7f1=>{var _0x39605e=_0x1b5640,_0x202044,_0x394a0e;return(_0x394a0e=(_0x202044=this[_0x39605e(0x6b)])==null?void 0x0:_0x202044['onTransformIME'])==null?void 0x0:_0x394a0e[_0x39605e(0x18a)](_0x202044,_0x18d7f1);},_0x31f17c[_0x1b5640(0x311)]=_0x2be72f=>{var _0x42d2fc=_0x1b5640,_0x3b9116,_0x55ff06;return(_0x55ff06=(_0x3b9116=this[_0x42d2fc(0x6b)])==null?void 0x0:_0x3b9116['onTransformState'])==null?void 0x0:_0x55ff06[_0x42d2fc(0x18a)](_0x3b9116,_0x2be72f);},_0x31f17c[_0x1b5640(0x6c)]=_0x3679a7=>{var _0x38a62e=_0x1b5640,_0x28f526,_0x3a819e;return(_0x3a819e=(_0x28f526=this['_handlerCallback'])==null?void 0x0:_0x28f526['onTransformSelections'])==null?void 0x0:_0x3a819e[_0x38a62e(0x18a)](_0x28f526,_0x3679a7);},_0x31f17c[_0x1b5640(0x2ec)]=_0x55fa78=>{var _0x101a42=_0x1b5640,_0x5068aa,_0x227c1f;return(_0x227c1f=(_0x5068aa=this['_handlerCallback'])==null?void 0x0:_0x5068aa[_0x101a42(0x2ec)])==null?void 0x0:_0x227c1f[_0x101a42(0x18a)](_0x5068aa,_0x55fa78);},_0x31f17c[_0x1b5640(0x27f)]=_0x24c4df=>{var _0x5b107f=_0x1b5640,_0x5296a9,_0x1f909e,_0x595026;if(!((_0x5296a9=this[_0x5b107f(0x6b)])!=null&&_0x5296a9[_0x5b107f(0x27f)]))throw new Error(_0x5b107f(0x316));return(_0x595026=(_0x1f909e=this[_0x5b107f(0x6b)])==null?void 0x0:_0x1f909e[_0x5b107f(0x27f)])==null?void 0x0:_0x595026[_0x5b107f(0x18a)](_0x1f909e,_0x24c4df);},_0x31f17c[_0x1b5640(0x339)]=_0x4ca1f9=>{var _0x2b2a21=_0x1b5640,_0x2a259f,_0x4f3289,_0x1e577c;if(!((_0x2a259f=this[_0x2b2a21(0x6b)])!=null&&_0x2a259f['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2b2a21(0x278));return(_0x1e577c=(_0x4f3289=this[_0x2b2a21(0x6b)])==null?void 0x0:_0x4f3289[_0x2b2a21(0x339)])==null?void 0x0:_0x1e577c[_0x2b2a21(0x18a)](_0x4f3289,_0x4ca1f9);},_0x31f17c;}async['_init'](){var _0x2ea9f2=_0xfea5bc;const _0x46f1b5=await super[_0x2ea9f2(0x185)]();return this['disposeWithMe'](this[_0x2ea9f2(0x184)][_0x2ea9f2(0x1f4)]((_0x1f24b1,_0x1a10ae)=>{var _0x37397e=_0x2ea9f2;if(_0x1f24b1[_0x37397e(0x32a)]!==_0x1a1b3d[_0x37397e(0x1df)]||_0x1a10ae!=null&&_0x1a10ae[_0x37397e(0x242)]||_0x1a10ae!=null&&_0x1a10ae[_0x37397e(0x176)]||_0x1f24b1['id']===_0xcd2ee['id'])return;const _0x17d493=_0x1f24b1[_0x37397e(0x1e6)];if((_0x17d493==null?void 0x0:_0x17d493[_0x37397e(0x283)])!==this[_0x37397e(0x241)])return;const _0x4b8dcb=_0x1f24b1,_0x4adf5f=this[_0x37397e(0x2f7)][_0x37397e(0x367)][_0x37397e(0xe8)](this[_0x37397e(0x2f7)][_0x37397e(0x367)][_0x37397e(0x24f)]()[_0x37397e(0x2ee)])([_0x4b8dcb],null)||[_0x4b8dcb];this[_0x37397e(0x304)](_0x4adf5f[0x0]);})),_0x46f1b5;}};Ct=Mt([k(0x3,_0x5d1423(_0xd0e7e3)),k(0x4,_0x5d1423(_0x78e898)),k(0x5,_0x5d1423(_0x477c62)),k(0x6,_0x5d1423(_0x42e08a)),k(0x7,_0x5d1423(pe)),k(0x8,_0x43687c),k(0x9,_0x185ede),k(0xa,_0x5cf24c),k(0xb,_0x52513a(_t)),k(0xc,_0x52513a(X))],Ct);let bt=class extends st{constructor(_0x92e4e3,_0x2ea980,_0x4324a4,_0x5a102a,_0x1b8a18,_0x3b1364,_0x2277b8,_0x189897,_0x172481,_0x34b3a1,_0x478544,_0x282f50,_0x18e095,_0x26880e){var _0xb6a877=_0xfea5bc;super(_0x92e4e3,_0x4324a4,_0x2ea980,_0x5a102a,_0x1b8a18,_0x3b1364,_0x2277b8,_0x172481,_0x34b3a1,_0x478544,_0x282f50,_0x18e095,_0x26880e),this[_0xb6a877(0x241)]=_0x92e4e3,this[_0xb6a877(0x32a)]=_0x2ea980,this['_sheetTransformSelectionsService']=_0x189897;}[_0xfea5bc(0x8f)](){var _0xad2134=_0xfea5bc;const _0x398828=super['_createHandler']();return _0x398828[_0xad2134(0x6c)]=_0x8ffb96=>this['_sheetTransformSelectionsService'][_0xad2134(0x1b3)](_0x8ffb96),_0x398828;}async[_0xfea5bc(0x185)](){var _0xf82b1a=_0xfea5bc;const _0x1946fe=await super[_0xf82b1a(0x185)]();return this[_0xf82b1a(0x351)](this['_commandService']['onCommandExecuted']((_0x48fe7e,_0x3b36e6)=>{var _0x4e89e3=_0xf82b1a;if(_0x48fe7e[_0x4e89e3(0x32a)]!==_0x1a1b3d[_0x4e89e3(0x1df)]||_0x3b36e6!=null&&_0x3b36e6[_0x4e89e3(0x242)]||_0x3b36e6!=null&&_0x3b36e6[_0x4e89e3(0x176)])return;const _0x36f767=_0x48fe7e['params'];if((_0x36f767==null?void 0x0:_0x36f767['unitId'])!==this['unitID'])return;const _0x37f064=_0x48fe7e,_0x4be5b4=this[_0x4e89e3(0x2f7)][_0x4e89e3(0x367)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x4e89e3(0x367)][_0x4e89e3(0x24f)]()['COMPRESS_MUTATION_SEND'])([_0x37f064],null)||[_0x37f064];this[_0x4e89e3(0x304)](_0x4be5b4[0x0]);})),_0x1946fe;}};bt=Mt([k(0x3,_0x5d1423(_0xd0e7e3)),k(0x4,_0x5d1423(_0x78e898)),k(0x5,_0x5d1423(_0x477c62)),k(0x6,_0x5d1423(_0x42e08a)),k(0x7,_0x5d1423(nt)),k(0x8,_0x5d1423(pe)),k(0x9,_0x43687c),k(0xa,_0x185ede),k(0xb,_0x5cf24c),k(0xc,_0x52513a(_t)),k(0xd,_0x52513a(X))],bt);var ys=Object[_0xfea5bc(0x247)],Os=Object['getOwnPropertyDescriptor'],Ns=(_0x3d8159,_0x87e4f1,_0x228c66,_0x3ce223)=>{var _0x550ced=_0xfea5bc;for(var _0x588caa=_0x3ce223>0x1?void 0x0:_0x3ce223?Os(_0x87e4f1,_0x228c66):_0x87e4f1,_0x4dc8b5=_0x3d8159[_0x550ced(0x28a)]-0x1,_0x3959db;_0x4dc8b5>=0x0;_0x4dc8b5--)(_0x3959db=_0x3d8159[_0x4dc8b5])&&(_0x588caa=(_0x3ce223?_0x3959db(_0x87e4f1,_0x228c66,_0x588caa):_0x3959db(_0x588caa))||_0x588caa);return _0x3ce223&&_0x588caa&&ys(_0x87e4f1,_0x228c66,_0x588caa),_0x588caa;},vt=(_0x331cfb,_0x4dd3a4)=>(_0x3a1cc2,_0x192d2a)=>_0x4dd3a4(_0x3a1cc2,_0x192d2a,_0x331cfb);let rt=class extends _0x186de6{constructor(_0x58ec5c,_0x2532ea,_0x4274c7){var _0x157705=_0xfea5bc;super(),P(this,'_entities',new Map()),P(this,'_entityInit$',new _0x259d5d()),P(this,'entityInit$',this[_0x157705(0x2a2)][_0x157705(0xc4)]()),(this[_0x157705(0x239)]=_0x58ec5c,this['_collabSessionService']=_0x2532ea,this[_0x157705(0x2fb)]=_0x4274c7,this[_0x157705(0x185)]());}['dispose'](){var _0x410c59=_0xfea5bc;super[_0x410c59(0x33e)](),this[_0x410c59(0x221)][_0x410c59(0x19f)](_0x3e5b32=>_0x3e5b32[_0x410c59(0x33e)]()),this[_0x410c59(0x221)][_0x410c59(0x1bd)]();}[_0xfea5bc(0x246)](_0x27e7c2){var _0x5ef2f1=_0xfea5bc,_0x3c87a8;return(_0x3c87a8=this[_0x5ef2f1(0x221)][_0x5ef2f1(0x1da)](_0x27e7c2))!=null?_0x3c87a8:null;}[_0xfea5bc(0x365)](_0x9728cd){var _0x3d2351=_0xfea5bc;const _0x4f7234=this['getCollabEntity'](_0x9728cd);return _0x4f7234?_0x5c379f(_0x4f7234):this[_0x3d2351(0x2a2)][_0x3d2351(0x7f)](_0x57ea80(_0x40f715=>_0x40f715[_0x3d2351(0x241)]===_0x9728cd));}[_0xfea5bc(0x331)](_0x54985a){var _0x3431e4=_0xfea5bc;return _0xe3b687(this[_0x3431e4(0x365)](_0x54985a)['pipe'](_0x4e6d97(()=>{})));}['_init'](){var _0x2ab29a=_0xfea5bc;this[_0x2ab29a(0x2fb)][_0x2ab29a(0x1f1)](_0x583f53[_0x2ab29a(0x14f)])[_0x2ab29a(0x7f)](_0x39790d(this[_0x2ab29a(0x35d)]),_0x4c7295(0x10))[_0x2ab29a(0x2d7)](async _0x4dc55f=>{var _0x241199=_0x2ab29a;const _0x3748d8=_0x4dc55f[_0x241199(0x33d)](),_0x531ab7=await this['_startCollaboration'](_0x3748d8,Q['UNIVER_SHEET']);this['_entities'][_0x241199(0x1cc)](_0x3748d8,_0x531ab7);}),this[_0x2ab29a(0x2fb)][_0x2ab29a(0x1f1)](_0x583f53[_0x2ab29a(0x11b)])[_0x2ab29a(0x7f)](_0x39790d(this[_0x2ab29a(0x35d)]),_0x4c7295(0x10))[_0x2ab29a(0x7f)](_0x57ea80(_0x2f880d=>!_0x2f880d[_0x2ab29a(0x33d)]()[_0x2ab29a(0x84)]('__')))[_0x2ab29a(0x2d7)](async _0x55c35b=>{var _0x2fcb17=_0x2ab29a;const _0x210d41=_0x55c35b[_0x2fcb17(0x33d)](),_0x5a897d=await this[_0x2fcb17(0x35a)](_0x210d41,Q['UNIVER_DOC']);this[_0x2fcb17(0x221)][_0x2fcb17(0x1cc)](_0x210d41,_0x5a897d);}),_0x22f8bf(this[_0x2ab29a(0x2fb)][_0x2ab29a(0x1c2)](_0x583f53['UNIVER_SHEET']),this['_univerInstanceService'][_0x2ab29a(0x1c2)](_0x583f53[_0x2ab29a(0x11b)]))[_0x2ab29a(0x7f)](_0x39790d(this[_0x2ab29a(0x35d)]))[_0x2ab29a(0x2d7)](_0x1e9ad0=>{var _0x1684f0=_0x2ab29a;const _0x58f652=_0x1e9ad0[_0x1684f0(0x33d)](),_0x239a25=this[_0x1684f0(0x221)]['get'](_0x58f652);_0x239a25&&(_0x239a25[_0x1684f0(0x33e)](),this[_0x1684f0(0x221)]['delete'](_0x58f652));});}async[_0xfea5bc(0x35a)](_0x1cb974,_0x50320d){var _0x49f58c=_0xfea5bc;const _0x240e58=await this['_collabSessionService']['requireSession'](_0x1cb974),_0x1b3c22=this[_0x49f58c(0x239)][_0x49f58c(0x306)](this['_getCtorByUniverType'](_0x50320d),_0x1cb974,_0x50320d,_0x240e58);return await _0x1b3c22[_0x49f58c(0x228)](),this[_0x49f58c(0x2a2)]['next'](_0x1b3c22),_0x1b3c22;}[_0xfea5bc(0xf7)](_0x40295a){var _0x179bd2=_0xfea5bc;switch(_0x40295a){case Q['UNIVER_DOC']:return Ct;case Q[_0x179bd2(0x14f)]:return bt;default:throw new Error(_0x179bd2(0x17b)+_0x40295a);}}};rt=Ns([vt(0x0,_0x5d1423(_0xd0e7e3)),vt(0x1,_0x5d1423(Le)),vt(0x2,_0x248930)],rt);var Ps=Object[_0xfea5bc(0x247)],Ds=Object['getOwnPropertyDescriptor'],ws=(_0x4c4320,_0x2a7ea1,_0x2d643a,_0x2312b4)=>{var _0x7f3334=_0xfea5bc;for(var _0x50cc06=_0x2312b4>0x1?void 0x0:_0x2312b4?Ds(_0x2a7ea1,_0x2d643a):_0x2a7ea1,_0xf40500=_0x4c4320[_0x7f3334(0x28a)]-0x1,_0x49423c;_0xf40500>=0x0;_0xf40500--)(_0x49423c=_0x4c4320[_0xf40500])&&(_0x50cc06=(_0x2312b4?_0x49423c(_0x2a7ea1,_0x2d643a,_0x50cc06):_0x49423c(_0x50cc06))||_0x50cc06);return _0x2312b4&&_0x50cc06&&Ps(_0x2a7ea1,_0x2d643a,_0x50cc06),_0x50cc06;},Xt=(_0x566711,_0x473be4)=>(_0x5f2710,_0xcf5451)=>_0x473be4(_0x5f2710,_0xcf5451,_0x566711);const Us='DEFAULT_FILE_NAME',As='Univer';let Rt=class extends _0x2d0e8b{constructor(_0x5245cb,_0x418509){var _0x289cc4=_0xfea5bc;super(),this[_0x289cc4(0x2fb)]=_0x5245cb,this[_0x289cc4(0x132)]=_0x418509,this[_0x289cc4(0x185)]();}['_init'](){var _0x31ca48=_0xfea5bc;this['disposeWithMe'](this[_0x31ca48(0x2fb)]['focused$']['subscribe'](()=>{var _0x36d8ec=_0x31ca48,_0x266389;const _0xeb1c47=this[_0x36d8ec(0x2fb)]['getFocusedUnit']();let _0x58c8d8=(_0x266389=this[_0x36d8ec(0x132)][_0x36d8ec(0x30a)](Us))!=null?_0x266389:As;_0xeb1c47 instanceof _0x27b63e&&(_0x58c8d8=_0xeb1c47[_0x36d8ec(0x1a8)]),document['title']=_0x58c8d8;}));}};Rt=ws([Xt(0x0,_0x248930),Xt(0x1,_0x39bec4)],Rt);var xs=Object[_0xfea5bc(0x247)],Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x3e42ce,_0x931b9b,_0x49d885,_0x49fe66)=>{var _0x31bb3a=_0xfea5bc;for(var _0xf168e6=_0x49fe66>0x1?void 0x0:_0x49fe66?Ls(_0x931b9b,_0x49d885):_0x931b9b,_0x10a3b0=_0x3e42ce[_0x31bb3a(0x28a)]-0x1,_0x2085c2;_0x10a3b0>=0x0;_0x10a3b0--)(_0x2085c2=_0x3e42ce[_0x10a3b0])&&(_0xf168e6=(_0x49fe66?_0x2085c2(_0x931b9b,_0x49d885,_0xf168e6):_0x2085c2(_0xf168e6))||_0xf168e6);return _0x49fe66&&_0xf168e6&&xs(_0x931b9b,_0x49d885,_0xf168e6),_0xf168e6;},pt=(_0x36613f,_0x14014e)=>(_0x2c87a2,_0x2ffb9f)=>_0x14014e(_0x2c87a2,_0x2ffb9f,_0x36613f);let ot=class{constructor(_0x546bba,_0x508d2a,_0x2c04ff){var _0x50d3d2=_0xfea5bc;this[_0x50d3d2(0x132)]=_0x546bba,this[_0x50d3d2(0x350)]=_0x508d2a,this['localeService']=_0x2c04ff,this[_0x50d3d2(0x228)]();}[_0xfea5bc(0x228)](){var _0x5da851=_0xfea5bc;this['_httpService'][_0x5da851(0x92)]({'priority':0x1,'interceptor':(_0x50682f,_0x19be3d)=>_0x19be3d(_0x50682f)[_0x5da851(0x7f)](_0x146834(async _0x481051=>{var _0x83da46=_0x5da851;const _0x1fe765=_0x481051;if(_0x1fe765[_0x83da46(0x1d6)]===0x191){if(typeof window>'u')throw new Error(_0x83da46(0x1ae));if(window[_0x83da46(0x229)](this[_0x83da46(0x2e6)]['t'](_0x83da46(0x14c)))){const _0x3f0aec=window[_0x83da46(0x370)](window[_0x83da46(0x16f)][_0x83da46(0x148)]);window[_0x83da46(0x16f)][_0x83da46(0x148)]=this[_0x83da46(0x1b1)]()+_0x83da46(0xe6)+_0x3f0aec;}}return _0x1fe765;}))});}[_0xfea5bc(0x1b1)](){var _0x1d284f=_0xfea5bc,_0x1add4e,_0x220527;const _0x338872=this[_0x1d284f(0x132)][_0x1d284f(0x30a)](Fn),_0x4fd7d4=this[_0x1d284f(0x132)][_0x1d284f(0x30a)](Y);return(_0x220527=(_0x1add4e=_0x4fd7d4==null?void 0x0:_0x4fd7d4[_0x1d284f(0x2f0)])!=null?_0x1add4e:_0x338872)!=null?_0x220527:Vn;}};ot=Ms([pt(0x0,_0x39bec4),pt(0x1,_0x5d1423(_0x221528)),pt(0x2,_0x5d1423(_0x477c62))],ot);var $s=Object[_0xfea5bc(0x247)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x5129d9,_0x33d724,_0x444705,_0x2a28a1)=>{var _0x3f23fa=_0xfea5bc;for(var _0xbf3f34=_0x2a28a1>0x1?void 0x0:_0x2a28a1?Hs(_0x33d724,_0x444705):_0x33d724,_0x2d5f57=_0x5129d9[_0x3f23fa(0x28a)]-0x1,_0x2c0e11;_0x2d5f57>=0x0;_0x2d5f57--)(_0x2c0e11=_0x5129d9[_0x2d5f57])&&(_0xbf3f34=(_0x2a28a1?_0x2c0e11(_0x33d724,_0x444705,_0xbf3f34):_0x2c0e11(_0xbf3f34))||_0xbf3f34);return _0x2a28a1&&_0xbf3f34&&$s(_0x33d724,_0x444705,_0xbf3f34),_0xbf3f34;},Zt=(_0x2b41f0,_0x4b6f58)=>(_0x5a26c3,_0x3bcd05)=>_0x4b6f58(_0x5a26c3,_0x3bcd05,_0x2b41f0);const wi=_0xfea5bc(0xba),js='/universer-api/authz';let yt=class extends _0x2d0e8b{constructor(_0x1b53fd,_0x5e4e27){super(),this['_HTTPService']=_0x1b53fd,this['_configService']=_0x5e4e27,this['_initMergeInterceptor']();}[_0xfea5bc(0x27c)](){var _0x488710=_0xfea5bc;const _0x4ce172=this;this['disposeWithMe'](this[_0x488710(0x357)][_0x488710(0x92)]({'priority':0x3e7,'interceptor':_0x3a4587({'isMatch'(_0x266db8){var _0x539b89=_0x488710,_0x5ba329;if(_0x266db8[_0x539b89(0xca)]==='POST'&&((_0x5ba329=_0x266db8[_0x539b89(0x123)])!=null&&_0x5ba329['body'])){const {objectID:_0x55e703,objectType:_0x9b3dfd}=_0x266db8[_0x539b89(0x123)][_0x539b89(0x205)]||{};if(!_0x55e703||_0x9b3dfd===void 0x0)return!0x1;const _0x54c745=_0x4ce172[_0x539b89(0x79)]()+'/'+_0x9b3dfd+_0x539b89(0x360)+_0x55e703+'/allowed';if(_0x266db8['url']===_0x54c745)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f09ee){var _0x363d39=_0x488710,_0x5c4991;return(_0x5c4991=_0x2f09ee[_0x363d39(0x123)])==null?void 0x0:_0x5c4991[_0x363d39(0x205)];},'mergeParamsToRequest'(_0x26368d,_0x521b2d){var _0x471949=_0x488710;const _0x1c55a6=_0x4ce172['_getAPIPrefixPath']()+_0x471949(0xcd),_0x2b2b58=_0x26368d[_0x471949(0x1a9)]((_0x43c537,_0x14f23c)=>{var _0x10c2e3=_0x471949;const {unitID:_0x1e6e2b,objectID:_0x152a6f,objectType:_0x245afa,actions:_0xcd04d6}=_0x14f23c;return _0x43c537[_0x1e6e2b]||(_0x43c537[_0x1e6e2b]={}),_0x43c537[_0x1e6e2b][_0x152a6f]||(_0x43c537[_0x1e6e2b][_0x152a6f]={'objectID':_0x152a6f,'objectType':_0x245afa,'actions':[]}),_0x43c537[_0x1e6e2b][_0x152a6f]['actions'][_0x10c2e3(0x2d0)](..._0xcd04d6),_0x43c537;},{}),_0x24c032=[];for(const _0x3ff165 in _0x2b2b58)for(const _0xac59a6 in _0x2b2b58[_0x3ff165]){const {actions:_0x1fe5e6,objectType:_0x11f262}=_0x2b2b58[_0x3ff165][_0xac59a6],_0x58b8e3=[...new Set(_0x1fe5e6)];_0x24c032[_0x471949(0x2d0)]({'unitID':_0x3ff165,'objectID':_0xac59a6,'objectType':_0x11f262,'actions':_0x58b8e3});}return new _0x230d9d(_0x471949(0xea),_0x1c55a6,{'headers':_0x521b2d['headers'],'withCredentials':_0x521b2d[_0x471949(0x95)],'responseType':_0x521b2d['responseType'],'body':{'requests':_0x24c032}});}},{'distributeResult'(_0x1e233a,_0x3c6b63){var _0x6f1cd5=_0x488710;const {objectActions:_0x5302ff}=_0x1e233a;return _0x3c6b63[_0x6f1cd5(0x22e)](_0x4eca04=>{var _0x5cb2df=_0x6f1cd5;const {unitID:_0x373605,objectID:_0x4aca6d,actions:_0x3209c7}=_0x4eca04,_0x5452ca=_0x5302ff[_0x5cb2df(0x1a5)](_0x16f091=>_0x16f091['unitID']===_0x373605&&_0x16f091[_0x5cb2df(0x32b)]===_0x4aca6d),_0x1f0fea=_0x3209c7[_0x5cb2df(0x22e)](_0x41b1aa=>_0x5452ca==null?void 0x0:_0x5452ca[_0x5cb2df(0xaa)]['find'](_0x3889f1=>_0x3889f1[_0x5cb2df(0xf5)]===_0x41b1aa))[_0x5cb2df(0x281)](_0x48a694=>!!_0x48a694);return{'config':_0x4eca04,'result':{'actions':_0x1f0fea,'error':_0x1e233a[_0x5cb2df(0x36e)]}};});}})}));}[_0xfea5bc(0x79)](){var _0x24e1c1=_0xfea5bc,_0x17e81a,_0x27fc3b;const _0x537ed0=this['_configService'][_0x24e1c1(0x30a)](wi),_0x3fa524=this[_0x24e1c1(0x132)]['getConfig'](Y);return(_0x27fc3b=(_0x17e81a=_0x3fa524==null?void 0x0:_0x3fa524['authzUrl'])!=null?_0x17e81a:_0x537ed0)!=null?_0x27fc3b:js;}async[_0xfea5bc(0xa9)](_0x4fef48){var _0x5c923f=_0xfea5bc;const _0x1d4570=this[_0x5c923f(0x79)]()+'/'+_0x4fef48['objectType']+_0x5c923f(0x204);return(await this[_0x5c923f(0x357)][_0x5c923f(0x18d)](_0x1d4570,{'body':_0x4fef48}))['body']['objectID']||'';}async[_0xfea5bc(0x31d)](_0x25e14c){var _0x3c52bb=_0xfea5bc;const _0x4f7af9=this[_0x3c52bb(0x79)]()+_0x3c52bb(0x10f);return(await this['_HTTPService'][_0x3c52bb(0x18d)](_0x4f7af9,{'body':_0x25e14c}))[_0x3c52bb(0x205)][_0x3c52bb(0x115)];}async[_0xfea5bc(0xc2)](_0xb0530d){var _0x24ac6a=_0xfea5bc;const _0x5a501c=this[_0x24ac6a(0x79)]()+'/'+_0xb0530d['objectType']+'/object/'+_0xb0530d[_0x24ac6a(0x32b)];await this[_0x24ac6a(0x357)][_0x24ac6a(0x1b7)](_0x5a501c,{'body':_0xb0530d});}async[_0xfea5bc(0x2f6)](_0x3469e5){var _0x46bd05=_0xfea5bc;const _0xd1a1da=this[_0x46bd05(0x79)]()+'/'+_0x3469e5[_0x46bd05(0x2a5)]+'/object/'+_0x3469e5[_0x46bd05(0x32b)]+'/allowed';return(await this[_0x46bd05(0x357)]['post'](_0xd1a1da,{'body':_0x3469e5}))[_0x46bd05(0x205)][_0x46bd05(0xaa)];}async[_0xfea5bc(0x343)](_0x4c460b){var _0x5e209e=_0xfea5bc;const _0xe94c93=this[_0x5e209e(0x79)]()+_0x5e209e(0xcd);return(await this[_0x5e209e(0x357)]['post'](_0xe94c93,{'body':{'requests':_0x4c460b}}))[_0x5e209e(0x205)][_0x5e209e(0x151)];}async[_0xfea5bc(0x114)](_0x1efe49){var _0x4eb678=_0xfea5bc;const _0x5d71a5=this[_0x4eb678(0x79)]()+'/'+_0x1efe49[_0x4eb678(0x2a5)]+'/role',_0x401493=await this['_HTTPService'][_0x4eb678(0x18d)](_0x5d71a5,{'body':_0x1efe49});return{'roles':_0x401493[_0x4eb678(0x205)][_0x4eb678(0x6d)],'actions':_0x401493[_0x4eb678(0x205)][_0x4eb678(0xaa)]};}async[_0xfea5bc(0x310)](_0x3b7c4a){var _0x1616f2=_0xfea5bc;const _0x2ff705=this[_0x1616f2(0x79)]()+_0x1616f2(0x2ff);await this[_0x1616f2(0x357)][_0x1616f2(0x237)](_0x2ff705,{'params':{'collaboratorID':_0x3b7c4a[_0x1616f2(0x24c)],'objectID':_0x3b7c4a['objectID'],'unitID':_0x3b7c4a[_0x1616f2(0x241)]}});}async[_0xfea5bc(0x15a)](_0x35e8b7){var _0x238606=_0xfea5bc;const _0xe626fa=this['_getAPIPrefixPath']()+_0x238606(0x2ff);await this[_0x238606(0x357)][_0x238606(0xd4)](_0xe626fa,{'body':_0x35e8b7});}async[_0xfea5bc(0x210)](_0x20a5c0){var _0x115995=_0xfea5bc;const _0x537bae=this['_getAPIPrefixPath']()+_0x115995(0x2ff);await this['_HTTPService'][_0x115995(0x18d)](_0x537bae,{'body':_0x20a5c0});}async[_0xfea5bc(0x7a)](_0x2a67bb){var _0x4e6c99=_0xfea5bc;const _0x42c4af=this[_0x4e6c99(0x79)]()+'/collaborator';return(await this[_0x4e6c99(0x357)][_0x4e6c99(0x1da)](_0x42c4af,{'params':{'objectID':_0x2a67bb[_0x4e6c99(0x32b)],'unitID':_0x2a67bb[_0x4e6c99(0x241)]}}))[_0x4e6c99(0x205)][_0x4e6c99(0x133)];}async[_0xfea5bc(0x15f)](_0x1043c5){var _0x1d8714=_0xfea5bc;const _0x45575f=this['_getAPIPrefixPath']()+_0x1d8714(0x2ff);await this[_0x1d8714(0x357)][_0x1d8714(0x1b7)](_0x45575f,{'body':_0x1043c5});}};yt=ks([Zt(0x0,_0x5d1423(_0x221528)),Zt(0x1,_0x5d1423(_0x39bec4))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2417af){var _0x1927ad=_0xfea5bc;return _0x2417af&&_0x2417af['__esModule']&&Object[_0x1927ad(0x1fe)]['hasOwnProperty'][_0x1927ad(0x18a)](_0x2417af,_0x1927ad(0x1af))?_0x2417af['default']:_0x2417af;}var We={'exports':{}};function Bs(_0x3caf0d){var _0x53c26f=_0xfea5bc;throw new Error(_0x53c26f(0x91)+_0x3caf0d+_0x53c26f(0x2ac));}var Ge={'exports':{}},Fs=Ge['exports'],Qt;function ne(){return Qt||(Qt=0x1,function(_0x118990,_0x46725f){(function(_0x3643ca,_0x39a8c2){var _0x4b6c06=_0xce85;_0x118990[_0x4b6c06(0x19a)]=_0x39a8c2();}(Fs,function(){var _0x571499=_0x571499||function(_0xd71550,_0x30962f){var _0xf6335d=_0xce85,_0xf0ebb9;if(typeof window<'u'&&window[_0xf6335d(0x31e)]&&(_0xf0ebb9=window[_0xf6335d(0x31e)]),typeof self<'u'&&self[_0xf6335d(0x31e)]&&(_0xf0ebb9=self[_0xf6335d(0x31e)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0xf0ebb9=globalThis[_0xf6335d(0x31e)]),!_0xf0ebb9&&typeof window<'u'&&window[_0xf6335d(0xb9)]&&(_0xf0ebb9=window['msCrypto']),!_0xf0ebb9&&typeof mt<'u'&&mt[_0xf6335d(0x31e)]&&(_0xf0ebb9=mt[_0xf6335d(0x31e)]),!_0xf0ebb9&&typeof Bs==_0xf6335d(0x129))try{_0xf0ebb9=require(_0xf6335d(0x31e));}catch{}var _0x43e747=function(){var _0x255d76=_0xf6335d;if(_0xf0ebb9){if(typeof _0xf0ebb9['getRandomValues']==_0x255d76(0x129))try{return _0xf0ebb9[_0x255d76(0x324)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xf0ebb9[_0x255d76(0x285)]==_0x255d76(0x129))try{return _0xf0ebb9['randomBytes'](0x4)[_0x255d76(0x9b)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x40145e=Object['create']||(function(){function _0x65ccec(){}return function(_0x28e4f1){var _0x4f54da=_0xce85,_0x55873b;return _0x65ccec[_0x4f54da(0x1fe)]=_0x28e4f1,_0x55873b=new _0x65ccec(),_0x65ccec[_0x4f54da(0x1fe)]=null,_0x55873b;};}()),_0x530820={},_0x1866c2=_0x530820[_0xf6335d(0x2d3)]={},_0x4b492c=_0x1866c2[_0xf6335d(0x8b)]=(function(){return{'extend':function(_0x3fc94d){var _0x27f604=_0xce85,_0x29bbee=_0x40145e(this);return _0x3fc94d&&_0x29bbee[_0x27f604(0x1c7)](_0x3fc94d),(!_0x29bbee[_0x27f604(0x198)]('init')||this['init']===_0x29bbee[_0x27f604(0x228)])&&(_0x29bbee[_0x27f604(0x228)]=function(){var _0x14495d=_0x27f604;_0x29bbee[_0x14495d(0x224)]['init'][_0x14495d(0xe2)](this,arguments);}),_0x29bbee['init'][_0x27f604(0x1fe)]=_0x29bbee,_0x29bbee[_0x27f604(0x224)]=this,_0x29bbee;},'create':function(){var _0x16ee35=_0xce85,_0x1709f2=this['extend']();return _0x1709f2[_0x16ee35(0x228)][_0x16ee35(0xe2)](_0x1709f2,arguments),_0x1709f2;},'init':function(){},'mixIn':function(_0x27b486){var _0x5d0894=_0xce85;for(var _0x34804b in _0x27b486)_0x27b486['hasOwnProperty'](_0x34804b)&&(this[_0x34804b]=_0x27b486[_0x34804b]);_0x27b486['hasOwnProperty']('toString')&&(this['toString']=_0x27b486[_0x5d0894(0x214)]);},'clone':function(){var _0x1a934b=_0xce85;return this[_0x1a934b(0x228)][_0x1a934b(0x1fe)][_0x1a934b(0x255)](this);}};}()),_0x8e9829=_0x1866c2[_0xf6335d(0xe4)]=_0x4b492c['extend']({'init':function(_0xfd0a9,_0x194bd2){var _0x598f1b=_0xf6335d;_0xfd0a9=this[_0x598f1b(0x134)]=_0xfd0a9||[],_0x194bd2!=_0x30962f?this[_0x598f1b(0x2f5)]=_0x194bd2:this[_0x598f1b(0x2f5)]=_0xfd0a9[_0x598f1b(0x28a)]*0x4;},'toString':function(_0x3fe5ae){return(_0x3fe5ae||_0x1b5f05)['stringify'](this);},'concat':function(_0x6030af){var _0x524688=_0xf6335d,_0x5d8fa7=this[_0x524688(0x134)],_0x54608=_0x6030af[_0x524688(0x134)],_0x35d7a1=this['sigBytes'],_0x3858d2=_0x6030af[_0x524688(0x2f5)];if(this[_0x524688(0x220)](),_0x35d7a1%0x4)for(var _0x1a7d05=0x0;_0x1a7d05<_0x3858d2;_0x1a7d05++){var _0x1e43dd=_0x54608[_0x1a7d05>>>0x2]>>>0x18-_0x1a7d05%0x4*0x8&0xff;_0x5d8fa7[_0x35d7a1+_0x1a7d05>>>0x2]|=_0x1e43dd<<0x18-(_0x35d7a1+_0x1a7d05)%0x4*0x8;}else{for(var _0x3fbd91=0x0;_0x3fbd91<_0x3858d2;_0x3fbd91+=0x4)_0x5d8fa7[_0x35d7a1+_0x3fbd91>>>0x2]=_0x54608[_0x3fbd91>>>0x2];}return this[_0x524688(0x2f5)]+=_0x3858d2,this;},'clamp':function(){var _0x5d8f4a=_0xf6335d,_0x3bcd24=this[_0x5d8f4a(0x134)],_0xd42372=this[_0x5d8f4a(0x2f5)];_0x3bcd24[_0xd42372>>>0x2]&=0xffffffff<<0x20-_0xd42372%0x4*0x8,_0x3bcd24[_0x5d8f4a(0x28a)]=_0xd71550['ceil'](_0xd42372/0x4);},'clone':function(){var _0x3eff03=_0xf6335d,_0x1acaba=_0x4b492c['clone'][_0x3eff03(0x18a)](this);return _0x1acaba['words']=this[_0x3eff03(0x134)][_0x3eff03(0x7e)](0x0),_0x1acaba;},'random':function(_0x5246b4){var _0x4328a1=_0xf6335d;for(var _0x465253=[],_0x1feddb=0x0;_0x1feddb<_0x5246b4;_0x1feddb+=0x4)_0x465253[_0x4328a1(0x2d0)](_0x43e747());return new _0x8e9829[(_0x4328a1(0x228))](_0x465253,_0x5246b4);}}),_0x2c0f74=_0x530820['enc']={},_0x1b5f05=_0x2c0f74[_0xf6335d(0x159)]={'stringify':function(_0x3875d4){var _0x138d13=_0xf6335d;for(var _0x15821e=_0x3875d4[_0x138d13(0x134)],_0x5deadc=_0x3875d4[_0x138d13(0x2f5)],_0x21cf9a=[],_0x2f6f13=0x0;_0x2f6f13<_0x5deadc;_0x2f6f13++){var _0x1de80b=_0x15821e[_0x2f6f13>>>0x2]>>>0x18-_0x2f6f13%0x4*0x8&0xff;_0x21cf9a[_0x138d13(0x2d0)]((_0x1de80b>>>0x4)[_0x138d13(0x214)](0x10)),_0x21cf9a[_0x138d13(0x2d0)]((_0x1de80b&0xf)[_0x138d13(0x214)](0x10));}return _0x21cf9a[_0x138d13(0x111)]('');},'parse':function(_0x35f678){var _0x207712=_0xf6335d;for(var _0x6e514a=_0x35f678[_0x207712(0x28a)],_0x30ec62=[],_0x1f44d0=0x0;_0x1f44d0<_0x6e514a;_0x1f44d0+=0x2)_0x30ec62[_0x1f44d0>>>0x3]|=parseInt(_0x35f678[_0x207712(0x18b)](_0x1f44d0,0x2),0x10)<<0x18-_0x1f44d0%0x8*0x4;return new _0x8e9829['init'](_0x30ec62,_0x6e514a/0x2);}},_0x54dcb5=_0x2c0f74[_0xf6335d(0xd0)]={'stringify':function(_0x5ecefa){var _0x48d279=_0xf6335d;for(var _0x4540ab=_0x5ecefa[_0x48d279(0x134)],_0x53d1d9=_0x5ecefa[_0x48d279(0x2f5)],_0x2e1d01=[],_0x8dde7e=0x0;_0x8dde7e<_0x53d1d9;_0x8dde7e++){var _0x242022=_0x4540ab[_0x8dde7e>>>0x2]>>>0x18-_0x8dde7e%0x4*0x8&0xff;_0x2e1d01[_0x48d279(0x2d0)](String[_0x48d279(0x25b)](_0x242022));}return _0x2e1d01[_0x48d279(0x111)]('');},'parse':function(_0x3c9c48){var _0x14977f=_0xf6335d;for(var _0x268544=_0x3c9c48[_0x14977f(0x28a)],_0x3461d8=[],_0x44b1ce=0x0;_0x44b1ce<_0x268544;_0x44b1ce++)_0x3461d8[_0x44b1ce>>>0x2]|=(_0x3c9c48['charCodeAt'](_0x44b1ce)&0xff)<<0x18-_0x44b1ce%0x4*0x8;return new _0x8e9829[(_0x14977f(0x228))](_0x3461d8,_0x268544);}},_0x26bd67=_0x2c0f74[_0xf6335d(0xbf)]={'stringify':function(_0x4ab695){var _0x4cf03e=_0xf6335d;try{return decodeURIComponent(escape(_0x54dcb5[_0x4cf03e(0x305)](_0x4ab695)));}catch{throw new Error(_0x4cf03e(0x202));}},'parse':function(_0x10c384){var _0x3e9e2c=_0xf6335d;return _0x54dcb5[_0x3e9e2c(0x2cb)](unescape(encodeURIComponent(_0x10c384)));}},_0x412e56=_0x1866c2[_0xf6335d(0x2f3)]=_0x4b492c[_0xf6335d(0x255)]({'reset':function(){var _0x3a481e=_0xf6335d;this[_0x3a481e(0x2bf)]=new _0x8e9829[(_0x3a481e(0x228))](),this[_0x3a481e(0x248)]=0x0;},'_append':function(_0x531fb3){var _0x5aa79e=_0xf6335d;typeof _0x531fb3==_0x5aa79e(0xd9)&&(_0x531fb3=_0x26bd67[_0x5aa79e(0x2cb)](_0x531fb3)),this['_data'][_0x5aa79e(0x70)](_0x531fb3),this[_0x5aa79e(0x248)]+=_0x531fb3['sigBytes'];},'_process':function(_0x588c70){var _0xaec2e8=_0xf6335d,_0x1efedd,_0xdc9b38=this[_0xaec2e8(0x2bf)],_0x5aa407=_0xdc9b38[_0xaec2e8(0x134)],_0x13db2a=_0xdc9b38['sigBytes'],_0xe20fba=this[_0xaec2e8(0x2e4)],_0x1aefae=_0xe20fba*0x4,_0x40ac69=_0x13db2a/_0x1aefae;_0x588c70?_0x40ac69=_0xd71550[_0xaec2e8(0x11a)](_0x40ac69):_0x40ac69=_0xd71550[_0xaec2e8(0x364)]((_0x40ac69|0x0)-this['_minBufferSize'],0x0);var _0x327f2d=_0x40ac69*_0xe20fba,_0x390f75=_0xd71550[_0xaec2e8(0x2b2)](_0x327f2d*0x4,_0x13db2a);if(_0x327f2d){for(var _0x2beb90=0x0;_0x2beb90<_0x327f2d;_0x2beb90+=_0xe20fba)this[_0xaec2e8(0xb0)](_0x5aa407,_0x2beb90);_0x1efedd=_0x5aa407['splice'](0x0,_0x327f2d),_0xdc9b38[_0xaec2e8(0x2f5)]-=_0x390f75;}return new _0x8e9829['init'](_0x1efedd,_0x390f75);},'clone':function(){var _0x110af9=_0xf6335d,_0x535753=_0x4b492c[_0x110af9(0x28e)][_0x110af9(0x18a)](this);return _0x535753[_0x110af9(0x2bf)]=this['_data'][_0x110af9(0x28e)](),_0x535753;},'_minBufferSize':0x0});_0x1866c2[_0xf6335d(0x276)]=_0x412e56['extend']({'cfg':_0x4b492c['extend'](),'init':function(_0x461809){var _0x52c55d=_0xf6335d;this['cfg']=this[_0x52c55d(0x369)][_0x52c55d(0x255)](_0x461809),this['reset']();},'reset':function(){var _0x3169dd=_0xf6335d;_0x412e56[_0x3169dd(0x279)][_0x3169dd(0x18a)](this),this[_0x3169dd(0xfb)]();},'update':function(_0x15aa4b){var _0x8d5b9d=_0xf6335d;return this[_0x8d5b9d(0x327)](_0x15aa4b),this['_process'](),this;},'finalize':function(_0x57346f){var _0x13fbd9=_0xf6335d;_0x57346f&&this['_append'](_0x57346f);var _0x4c0c1d=this[_0x13fbd9(0x20e)]();return _0x4c0c1d;},'blockSize':0x10,'_createHelper':function(_0x5c60c7){return function(_0x5153b0,_0xb88d29){var _0x3a9fe1=_0xce85;return new _0x5c60c7['init'](_0xb88d29)[_0x3a9fe1(0x77)](_0x5153b0);};},'_createHmacHelper':function(_0x3bd2ae){return function(_0x1e060e,_0x4d4eeb){var _0x2bc742=_0xce85;return new _0x5e5b77[(_0x2bc742(0x2e2))][(_0x2bc742(0x228))](_0x3bd2ae,_0x4d4eeb)[_0x2bc742(0x77)](_0x1e060e);};}});var _0x5e5b77=_0x530820[_0xf6335d(0x2cc)]={};return _0x530820;}(Math);return _0x571499;}));}(Ge)),Ge['exports'];}var Ke={'exports':{}},Vs=Ke[_0xfea5bc(0x19a)],ei;function Ui(){return ei||(ei=0x1,function(_0x5d4690,_0x332e1d){(function(_0x239e09,_0x8d10ba){var _0x7b0f55=_0xce85;_0x5d4690[_0x7b0f55(0x19a)]=_0x8d10ba(ne());}(Vs,function(_0x57acee){var _0x47e08c=_0xce85;return(function(){var _0x46f693=_0xce85,_0x566505=_0x57acee,_0x39048d=_0x566505[_0x46f693(0x2d3)],_0xee6dee=_0x39048d[_0x46f693(0xe4)],_0x37b0f6=_0x566505['enc'];_0x37b0f6[_0x46f693(0x213)]={'stringify':function(_0x57707e){var _0x350470=_0x46f693,_0x478605=_0x57707e[_0x350470(0x134)],_0x1064df=_0x57707e[_0x350470(0x2f5)],_0x220ad2=this[_0x350470(0x2c0)];_0x57707e[_0x350470(0x220)]();for(var _0x592284=[],_0x36aa48=0x0;_0x36aa48<_0x1064df;_0x36aa48+=0x3)for(var _0x5d60af=_0x478605[_0x36aa48>>>0x2]>>>0x18-_0x36aa48%0x4*0x8&0xff,_0x1b4f5b=_0x478605[_0x36aa48+0x1>>>0x2]>>>0x18-(_0x36aa48+0x1)%0x4*0x8&0xff,_0x1622a9=_0x478605[_0x36aa48+0x2>>>0x2]>>>0x18-(_0x36aa48+0x2)%0x4*0x8&0xff,_0x56991f=_0x5d60af<<0x10|_0x1b4f5b<<0x8|_0x1622a9,_0x394d83=0x0;_0x394d83<0x4&&_0x36aa48+_0x394d83*0.75<_0x1064df;_0x394d83++)_0x592284['push'](_0x220ad2['charAt'](_0x56991f>>>0x6*(0x3-_0x394d83)&0x3f));var _0x415443=_0x220ad2[_0x350470(0x96)](0x40);if(_0x415443){for(;_0x592284[_0x350470(0x28a)]%0x4;)_0x592284[_0x350470(0x2d0)](_0x415443);}return _0x592284['join']('');},'parse':function(_0x3b8e1e){var _0x5dc3c8=_0x46f693,_0x290a99=_0x3b8e1e[_0x5dc3c8(0x28a)],_0x3011b1=this[_0x5dc3c8(0x2c0)],_0x41340f=this[_0x5dc3c8(0x372)];if(!_0x41340f){_0x41340f=this['_reverseMap']=[];for(var _0x93e068=0x0;_0x93e068<_0x3011b1['length'];_0x93e068++)_0x41340f[_0x3011b1[_0x5dc3c8(0x2f1)](_0x93e068)]=_0x93e068;}var _0x50cfae=_0x3011b1[_0x5dc3c8(0x96)](0x40);if(_0x50cfae){var _0x485b04=_0x3b8e1e[_0x5dc3c8(0x1fd)](_0x50cfae);_0x485b04!==-0x1&&(_0x290a99=_0x485b04);}return _0x1ec748(_0x3b8e1e,_0x290a99,_0x41340f);},'_map':_0x46f693(0x113)};function _0x1ec748(_0x484b2,_0x28b104,_0x485b79){var _0x2e5e39=_0x46f693;for(var _0x5f2444=[],_0x19839c=0x0,_0x4def08=0x0;_0x4def08<_0x28b104;_0x4def08++)if(_0x4def08%0x4){var _0x4ab642=_0x485b79[_0x484b2['charCodeAt'](_0x4def08-0x1)]<<_0x4def08%0x4*0x2,_0x45048a=_0x485b79[_0x484b2[_0x2e5e39(0x2f1)](_0x4def08)]>>>0x6-_0x4def08%0x4*0x2,_0x570e3e=_0x4ab642|_0x45048a;_0x5f2444[_0x19839c>>>0x2]|=_0x570e3e<<0x18-_0x19839c%0x4*0x8,_0x19839c++;}return _0xee6dee['create'](_0x5f2444,_0x19839c);}}()),_0x57acee[_0x47e08c(0x110)][_0x47e08c(0x213)];}));}(Ke)),Ke['exports'];}var ze={'exports':{}},Ws=ze['exports'],ti;function Gs(){var _0x1687a3=_0xfea5bc;return ti||(ti=0x1,function(_0x5e1a1a,_0x3fe7fe){(function(_0x4bbac6,_0x1b1430){_0x5e1a1a['exports']=_0x1b1430(ne());}(Ws,function(_0x1f75af){var _0x300c8c=_0xce85;return function(_0x3686a7){var _0x3ce4c0=_0xce85,_0x31b37b=_0x1f75af,_0x529835=_0x31b37b['lib'],_0x2c103c=_0x529835[_0x3ce4c0(0xe4)],_0x23b4dd=_0x529835[_0x3ce4c0(0x276)],_0x1d2556=_0x31b37b['algo'],_0x57c854=[];(function(){var _0x323279=_0x3ce4c0;for(var _0x388ddb=0x0;_0x388ddb<0x40;_0x388ddb++)_0x57c854[_0x388ddb]=_0x3686a7[_0x323279(0xcc)](_0x3686a7['sin'](_0x388ddb+0x1))*0x100000000|0x0;}());var _0x59073b=_0x1d2556[_0x3ce4c0(0x2b5)]=_0x23b4dd[_0x3ce4c0(0x255)]({'_doReset':function(){var _0x18e8c2=_0x3ce4c0;this[_0x18e8c2(0x22a)]=new _0x2c103c[(_0x18e8c2(0x228))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x42a980,_0x2833f1){var _0x34a8dd=_0x3ce4c0;for(var _0x3a24d4=0x0;_0x3a24d4<0x10;_0x3a24d4++){var _0x488b44=_0x2833f1+_0x3a24d4,_0x4f2dd3=_0x42a980[_0x488b44];_0x42a980[_0x488b44]=(_0x4f2dd3<<0x8|_0x4f2dd3>>>0x18)&0xff00ff|(_0x4f2dd3<<0x18|_0x4f2dd3>>>0x8)&0xff00ff00;}var _0x31ac3b=this[_0x34a8dd(0x22a)][_0x34a8dd(0x134)],_0x3d9178=_0x42a980[_0x2833f1+0x0],_0x5c5d41=_0x42a980[_0x2833f1+0x1],_0xfeb3cb=_0x42a980[_0x2833f1+0x2],_0x1dc953=_0x42a980[_0x2833f1+0x3],_0x592e6b=_0x42a980[_0x2833f1+0x4],_0x902e89=_0x42a980[_0x2833f1+0x5],_0x40d063=_0x42a980[_0x2833f1+0x6],_0x1b316e=_0x42a980[_0x2833f1+0x7],_0x74e2d4=_0x42a980[_0x2833f1+0x8],_0x41a942=_0x42a980[_0x2833f1+0x9],_0x278b59=_0x42a980[_0x2833f1+0xa],_0x550363=_0x42a980[_0x2833f1+0xb],_0x26f517=_0x42a980[_0x2833f1+0xc],_0x3f3a25=_0x42a980[_0x2833f1+0xd],_0x10cf0a=_0x42a980[_0x2833f1+0xe],_0x1f781a=_0x42a980[_0x2833f1+0xf],_0x641ca9=_0x31ac3b[0x0],_0x5d04f3=_0x31ac3b[0x1],_0x38673a=_0x31ac3b[0x2],_0x50a8b6=_0x31ac3b[0x3];_0x641ca9=_0x47615f(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x3d9178,0x7,_0x57c854[0x0]),_0x50a8b6=_0x47615f(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x5c5d41,0xc,_0x57c854[0x1]),_0x38673a=_0x47615f(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0xfeb3cb,0x11,_0x57c854[0x2]),_0x5d04f3=_0x47615f(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x1dc953,0x16,_0x57c854[0x3]),_0x641ca9=_0x47615f(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x592e6b,0x7,_0x57c854[0x4]),_0x50a8b6=_0x47615f(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x902e89,0xc,_0x57c854[0x5]),_0x38673a=_0x47615f(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x40d063,0x11,_0x57c854[0x6]),_0x5d04f3=_0x47615f(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x1b316e,0x16,_0x57c854[0x7]),_0x641ca9=_0x47615f(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x74e2d4,0x7,_0x57c854[0x8]),_0x50a8b6=_0x47615f(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x41a942,0xc,_0x57c854[0x9]),_0x38673a=_0x47615f(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x278b59,0x11,_0x57c854[0xa]),_0x5d04f3=_0x47615f(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x550363,0x16,_0x57c854[0xb]),_0x641ca9=_0x47615f(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x26f517,0x7,_0x57c854[0xc]),_0x50a8b6=_0x47615f(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x3f3a25,0xc,_0x57c854[0xd]),_0x38673a=_0x47615f(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x10cf0a,0x11,_0x57c854[0xe]),_0x5d04f3=_0x47615f(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x1f781a,0x16,_0x57c854[0xf]),_0x641ca9=_0x32a68d(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x5c5d41,0x5,_0x57c854[0x10]),_0x50a8b6=_0x32a68d(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x40d063,0x9,_0x57c854[0x11]),_0x38673a=_0x32a68d(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x550363,0xe,_0x57c854[0x12]),_0x5d04f3=_0x32a68d(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x3d9178,0x14,_0x57c854[0x13]),_0x641ca9=_0x32a68d(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x902e89,0x5,_0x57c854[0x14]),_0x50a8b6=_0x32a68d(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x278b59,0x9,_0x57c854[0x15]),_0x38673a=_0x32a68d(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1f781a,0xe,_0x57c854[0x16]),_0x5d04f3=_0x32a68d(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x592e6b,0x14,_0x57c854[0x17]),_0x641ca9=_0x32a68d(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x41a942,0x5,_0x57c854[0x18]),_0x50a8b6=_0x32a68d(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x10cf0a,0x9,_0x57c854[0x19]),_0x38673a=_0x32a68d(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1dc953,0xe,_0x57c854[0x1a]),_0x5d04f3=_0x32a68d(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x74e2d4,0x14,_0x57c854[0x1b]),_0x641ca9=_0x32a68d(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x3f3a25,0x5,_0x57c854[0x1c]),_0x50a8b6=_0x32a68d(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0xfeb3cb,0x9,_0x57c854[0x1d]),_0x38673a=_0x32a68d(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1b316e,0xe,_0x57c854[0x1e]),_0x5d04f3=_0x32a68d(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x26f517,0x14,_0x57c854[0x1f]),_0x641ca9=_0x2dc9fc(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x902e89,0x4,_0x57c854[0x20]),_0x50a8b6=_0x2dc9fc(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x74e2d4,0xb,_0x57c854[0x21]),_0x38673a=_0x2dc9fc(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x550363,0x10,_0x57c854[0x22]),_0x5d04f3=_0x2dc9fc(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x10cf0a,0x17,_0x57c854[0x23]),_0x641ca9=_0x2dc9fc(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x5c5d41,0x4,_0x57c854[0x24]),_0x50a8b6=_0x2dc9fc(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x592e6b,0xb,_0x57c854[0x25]),_0x38673a=_0x2dc9fc(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1b316e,0x10,_0x57c854[0x26]),_0x5d04f3=_0x2dc9fc(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x278b59,0x17,_0x57c854[0x27]),_0x641ca9=_0x2dc9fc(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x3f3a25,0x4,_0x57c854[0x28]),_0x50a8b6=_0x2dc9fc(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x3d9178,0xb,_0x57c854[0x29]),_0x38673a=_0x2dc9fc(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1dc953,0x10,_0x57c854[0x2a]),_0x5d04f3=_0x2dc9fc(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x40d063,0x17,_0x57c854[0x2b]),_0x641ca9=_0x2dc9fc(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x41a942,0x4,_0x57c854[0x2c]),_0x50a8b6=_0x2dc9fc(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x26f517,0xb,_0x57c854[0x2d]),_0x38673a=_0x2dc9fc(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x1f781a,0x10,_0x57c854[0x2e]),_0x5d04f3=_0x2dc9fc(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0xfeb3cb,0x17,_0x57c854[0x2f]),_0x641ca9=_0x2fea27(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x3d9178,0x6,_0x57c854[0x30]),_0x50a8b6=_0x2fea27(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x1b316e,0xa,_0x57c854[0x31]),_0x38673a=_0x2fea27(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x10cf0a,0xf,_0x57c854[0x32]),_0x5d04f3=_0x2fea27(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x902e89,0x15,_0x57c854[0x33]),_0x641ca9=_0x2fea27(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x26f517,0x6,_0x57c854[0x34]),_0x50a8b6=_0x2fea27(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x1dc953,0xa,_0x57c854[0x35]),_0x38673a=_0x2fea27(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x278b59,0xf,_0x57c854[0x36]),_0x5d04f3=_0x2fea27(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x5c5d41,0x15,_0x57c854[0x37]),_0x641ca9=_0x2fea27(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x74e2d4,0x6,_0x57c854[0x38]),_0x50a8b6=_0x2fea27(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x1f781a,0xa,_0x57c854[0x39]),_0x38673a=_0x2fea27(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0x40d063,0xf,_0x57c854[0x3a]),_0x5d04f3=_0x2fea27(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x3f3a25,0x15,_0x57c854[0x3b]),_0x641ca9=_0x2fea27(_0x641ca9,_0x5d04f3,_0x38673a,_0x50a8b6,_0x592e6b,0x6,_0x57c854[0x3c]),_0x50a8b6=_0x2fea27(_0x50a8b6,_0x641ca9,_0x5d04f3,_0x38673a,_0x550363,0xa,_0x57c854[0x3d]),_0x38673a=_0x2fea27(_0x38673a,_0x50a8b6,_0x641ca9,_0x5d04f3,_0xfeb3cb,0xf,_0x57c854[0x3e]),_0x5d04f3=_0x2fea27(_0x5d04f3,_0x38673a,_0x50a8b6,_0x641ca9,_0x41a942,0x15,_0x57c854[0x3f]),_0x31ac3b[0x0]=_0x31ac3b[0x0]+_0x641ca9|0x0,_0x31ac3b[0x1]=_0x31ac3b[0x1]+_0x5d04f3|0x0,_0x31ac3b[0x2]=_0x31ac3b[0x2]+_0x38673a|0x0,_0x31ac3b[0x3]=_0x31ac3b[0x3]+_0x50a8b6|0x0;},'_doFinalize':function(){var _0x1bf80c=_0x3ce4c0,_0x3dd3f7=this[_0x1bf80c(0x2bf)],_0x2cf89c=_0x3dd3f7[_0x1bf80c(0x134)],_0x996db0=this[_0x1bf80c(0x248)]*0x8,_0xe75b5=_0x3dd3f7[_0x1bf80c(0x2f5)]*0x8;_0x2cf89c[_0xe75b5>>>0x5]|=0x80<<0x18-_0xe75b5%0x20;var _0x1936a2=_0x3686a7['floor'](_0x996db0/0x100000000),_0x4dbcd9=_0x996db0;_0x2cf89c[(_0xe75b5+0x40>>>0x9<<0x4)+0xf]=(_0x1936a2<<0x8|_0x1936a2>>>0x18)&0xff00ff|(_0x1936a2<<0x18|_0x1936a2>>>0x8)&0xff00ff00,_0x2cf89c[(_0xe75b5+0x40>>>0x9<<0x4)+0xe]=(_0x4dbcd9<<0x8|_0x4dbcd9>>>0x18)&0xff00ff|(_0x4dbcd9<<0x18|_0x4dbcd9>>>0x8)&0xff00ff00,_0x3dd3f7[_0x1bf80c(0x2f5)]=(_0x2cf89c['length']+0x1)*0x4,this[_0x1bf80c(0xa3)]();for(var _0x146db0=this[_0x1bf80c(0x22a)],_0x3269a2=_0x146db0[_0x1bf80c(0x134)],_0x5a1f3d=0x0;_0x5a1f3d<0x4;_0x5a1f3d++){var _0x437c3b=_0x3269a2[_0x5a1f3d];_0x3269a2[_0x5a1f3d]=(_0x437c3b<<0x8|_0x437c3b>>>0x18)&0xff00ff|(_0x437c3b<<0x18|_0x437c3b>>>0x8)&0xff00ff00;}return _0x146db0;},'clone':function(){var _0x10b470=_0x3ce4c0,_0x18948a=_0x23b4dd[_0x10b470(0x28e)][_0x10b470(0x18a)](this);return _0x18948a['_hash']=this[_0x10b470(0x22a)]['clone'](),_0x18948a;}});function _0x47615f(_0x463f60,_0x5a9204,_0x10cb31,_0x51e519,_0x1d9c8d,_0xd3d5a9,_0x3e054a){var _0x2359df=_0x463f60+(_0x5a9204&_0x10cb31|~_0x5a9204&_0x51e519)+_0x1d9c8d+_0x3e054a;return(_0x2359df<<_0xd3d5a9|_0x2359df>>>0x20-_0xd3d5a9)+_0x5a9204;}function _0x32a68d(_0x46ecf0,_0x31e207,_0x9ae0a9,_0x23e9ff,_0x16700a,_0x310899,_0x574eda){var _0x2e0a70=_0x46ecf0+(_0x31e207&_0x23e9ff|_0x9ae0a9&~_0x23e9ff)+_0x16700a+_0x574eda;return(_0x2e0a70<<_0x310899|_0x2e0a70>>>0x20-_0x310899)+_0x31e207;}function _0x2dc9fc(_0x2666e0,_0xc7189e,_0x4c119b,_0x10012d,_0x14239e,_0x717b92,_0x25157f){var _0x15ec4e=_0x2666e0+(_0xc7189e^_0x4c119b^_0x10012d)+_0x14239e+_0x25157f;return(_0x15ec4e<<_0x717b92|_0x15ec4e>>>0x20-_0x717b92)+_0xc7189e;}function _0x2fea27(_0x443bf5,_0x4ee179,_0x2f590a,_0x2d7169,_0x17b351,_0x33f841,_0x4ac0b1){var _0x212b98=_0x443bf5+(_0x2f590a^(_0x4ee179|~_0x2d7169))+_0x17b351+_0x4ac0b1;return(_0x212b98<<_0x33f841|_0x212b98>>>0x20-_0x33f841)+_0x4ee179;}_0x31b37b[_0x3ce4c0(0x2b5)]=_0x23b4dd['_createHelper'](_0x59073b),_0x31b37b[_0x3ce4c0(0x2a8)]=_0x23b4dd[_0x3ce4c0(0x300)](_0x59073b);}(Math),_0x1f75af[_0x300c8c(0x2b5)];}));}(ze)),ze[_0x1687a3(0x19a)];}function _0x10d2(){var _0x46a4de=['allowed','_compressMutationService','complete','_telemetryInfo','MSG_FOR_ERROR','_univerInstanceService','_xformMode','_networkConditionService','uniscriptRunEvent','/collaborator','_createHmacHelper','awaiting_with_pending','getWorkbookSelections','unitId\x20is\x20not\x20found','_onLocalMutation','stringify','createInstance','search','createDecryptor','createEncryptor','getConfig','_unitInfo$','LIVESHARE_FETCH_OPERATIONS','_getSignURL','saveSheetBlock','getOwnPropertyDescriptor','deleteCollaborator','onTransformState','/universer-api/oidc/authpage','_http','SUCCUSS','findIndex','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','USERS_ENTER','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','CipherParams','HttpExport','setShowComponents','getMemberID','list','crypto','/universer-api/file/{fileID}/sign-url','online$','_tryEnsureSocket','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_candidateSocket','getRandomValues','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableAuthServer','_append','mode','PERMISSION_DENIED','type','objectID','OFFLINE','_iv','_authzIoService','session','override','readyForCollab','url','symbol','_onConflict','_acknowledgedAwaitingChangeset','_transformIMECache','UNDEFINED','_disableEditing','onTransformRemoteChangesetByStateCache','sessionStatus','synced','SNAPSHOT_SERVER_URL_KEY','getUnitId','dispose','_oKey','getRoom','\x20-\x20','socket\x20close','batchAllowed','410588ERWPHn','CHANGESET_REJ','_incrementRevisionNumber','\x0aAfter:\x20','now','_checkMissing','_tryReconnect','_onJoinRoomEvent','clearUndoRedo','_sender','_createInitialState','_unlockTransition','_httpService','disposeWithMe','_showConflictNotification','_onConnectionOpen','onSendChangeset','[CollaborationState]:\x20apply\x20error!','shouldCloseConn','_HTTPService','getCurrentSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_startCollaboration','_retryConnectingTimer','_queuedRemoteChangesets','dispose$','session.room-not-exists','_onUserJoin','/object/','workbook','LIVESHARE_NEW_HOST','copyFileMeta','max','getCollabEntity$','RECV','interceptor','_stopTelemetryCollaborationNewChangeset','cfg','image/bmp','getPermissionPoint','_commentService','_joinRoom','error','status$','encodeURIComponent','UNISCRIPT_RUN','_reverseMap','LICENSE_IMPORT_SIZE_EXCEEDED','transformUndoRedo','COMPLETION_FINISHED','_handlerCallback','onTransformSelections','roles','onMissingChangesets','LEAVE','concat','waitForRoom$','setWaitCount','JOIN_ROOM_PERMISSION_DENIED','121800PwjoQQ','socket\x20open.','getTargetByPermissionId','finalize','getUnitType','_getAPIPrefixPath','listCollaborators','authzUrl','_socketService','Pkcs7','slice','pipe','subject','_transformSelections','then','csShouldRetryEvent','startsWith','_updateStatus','onRemoteAck','sessionTicket','JOIN','SOCKET_FAILED_RETRY','roomInfos','Base','YUUMI_URL_COL_OUT_OF_RANGE','_getAPIPrefix','updateOfflineData','_createHandler','closeSession','Could\x20not\x20dynamically\x20require\x20\x22','registerHTTPInterceptor','close','_telemetryService','withCredentials','charAt','_createSocket','compute','floor','_instanceService','readInt32LE','deepClone','JOIN_ROOM_FAILED','[OfflineState]:\x20received\x20changeset.','routeKey','[PendingState]:\x20unhandled\x20univer\x20type:\x20','transformChangesets','userID','_process','_decreaseWaiting','_logService','OTHER_CLIENT_EDITING','transformMutationsWithChangeset','getSheetBlock','create','actions','pad','getValue','getTime','15WCgpFO','1307250fHTvXm','_doProcessBlock','stopTime','every','sessionStatus$','key','rev','[OfflineState]:\x20received\x20rejection.','_createHelper','INVALID_ARGUMENT','msCrypto','AUTHZ_URL_KEY','/universer-api/stream/file/upload','JOINING','disableLocalCache','_collaborationTimeoutTimer','Utf8','_change$','awaiting','update','session.join-failed','asObservable','HmacSHA1','collaboration_new_changeset','memberID','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_sessions','method','byteOffset','abs','/-/object/-/batch_allowed','_undoRedoService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Latin1','salt','_event$','150LIbkUk','patch','CONFLICT','_fetchMissChangesets','_transformRemoteChangesetByIMECache','submit\x20changeset\x20error!','string','getSnapshotAPIPath','joinRsp','onTransformIME','_clearHeartbeatTimer','_executeRemoteChangeset','_initDependencies','collaboration-client.local-cache-service','splice','apply','_minBufferSize','WordArray','session.room-cnt-exceeds','?url=','PSEUDO_FETCH_MISSING_RESULT','fetchThroughInterceptors','_sendHeartbeat','POST','FETCH_MISSING','_transitionLocked','JOIN_ROOM_FULL','_members','_imageSourceCache','getImage','ticket','signUrlServerUrl','resend','event$','action','_roomMembers','_getCtorByUniverType','_initUnitPermissionChange','_config','ruleRefresh','_doReset','APPLY_NON_SEQUENTIAL_REVISION','BlockCipher','/new_changes','/rev/','APPLY_REJECT','pending','SHOULD_CLOSE_CONN','11600vGhrUJ','_startTelemetryCollaborationNewChangeset','APPLY_PERMISSION_DENIED','saveImage','resolve','_clearUndo','[OfflineState]:\x20received\x20acknowledgement.','APPLY_DUPLICATED','_isPermissionRej','[SyncedState]:\x20received\x20acknowledgement.','onLocalMutation','_substituteRedoStack','/-/object/list','enc','join','[SyncedState]:\x20received\x20rejection.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','listRoles','objects','HttpImport','toLowerCase','_exhaustRemoteChangesetQueue','_roomCreated$','ceil','UNIVER_DOC','members','_onRemoteChangeset','_ENC_XFORM_MODE','catch','_emitMembers','_getUndoStack','saveSnapshot','requestParams','_snapshotServerService','csRejEvent','unknown','state','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','function','executeCommand','_updateLocalCache','appendMutation','retryConnectingInterval','_shouldReportTelemetry','hasher','_permissionService','bind','_configService','collaborators','words','requireSession','/resources','image/gif','_collaborationPaused','_localeService','fetchMiss','createSocket','_onRemoteRejected','_memberService','_type','_loadDoc','_singleActiveUnitService','_removeRoom','message$','APPLY_REVISION_CONFILICT','HELLO','eventID','ivSize','_cipher','href','debug','UnitEmbedded','788034cUxGxG','auth.needGotoLoginAlert','ALREADY_EXISTS','getUnitOnRev','UNIVER_SHEET','_listenToNetworkCondition','objectActions','OpenSSL','UNIVER_PROJECT','liveShareOperation','append','onRemoteChangeset','csAckEvent','_getUploadFileURL','Hex','updateCollaborator','readAsDataURL','IDLE','UnitSnapshot','COLLAB_SUBMIT_CHANGESET_URL','putCollaborators','NOT_COLLAB','keySize','loadOfflineData','SEND_CHANGESET_TIMEOUT','_nRounds','_scheduleCollaborationTimeoutTimer','_timeoutTimer','replace','_parse','_onFetchMissResult','HEARTBEAT_INTERVAL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_socket','_rescheduleHeartbeat','/block/','location','x-univer-host','unitInfo$','reject','conflict','_clearRedo','_transformService','onlyLocal','_replaceFileID','has','260505YkXHgx','_syncEditingCollabCursor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','code','refreshPermission','sheets','image/png','startTime','duration','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','PENDING','_commandService','_init','CHANGESET_REVISION_CONFILICT','baseRev','EvpKDF','subType','call','substr','textRanges','post','runId','range','getDeserializedSheetBlock','getUnit','[CollaborationSessionService]:\x20socket\x20error','getSheetId','LICENSE_MAX_UNITS_EXCEEDED','decrypt','json','saveChangeset','hasOwnProperty','mutations','exports','_onRemoteACK','LIVESHARE_TERMINATE','reverse','_initCloseConn','forEach','Worksheet','UNIVER_COLLABORATION_CLIENT_PLUGIN','/fetchmissing?from=','ciphertext','BlockCipherMode','find','c1Prime','_waitForHeartbeatResponse','name','reduce','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getCurrentUnitForType','hostname','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','default','uploadFileServerUrl','_getLoginPath','UNIVER_SLIDE','transformSelections','updateMember','getFocusedUnit','toggleOnline','put','getMember','StreamCipher','OTHER_CLIENTS_EDITING','/universer-api/snapshot/','_toggleOnline','clear','UNKNOWN_CODE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','pauseCollaboration','_members$','getTypeOfUnitDisposed$','TOO_MANY_REQUESTS','_commentUpdate$','close$','snapshotServerUrl','mixIn','_createSocketURL','transformStack\x20failed!','SHA1','_schedule','set','SerializableCipher','COMMENT_UPDATE','formatter','AWAITING_WITH_PENDING','_onMessage','setConfig','_iKey','reqId','_getRedoStack','status','_sendHeartbeatTimer','_state','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','get','YUUMI_UNABLE_LOAD_URL','_snapshotService','SYNCED','_clearLocalCache','MUTATION','OPTIONAL','_transformStack','result','unsubscribe','fetchMissingChangesets','getCurrentUser','params','headers','SelectRange','m2Prime','rng','[CollaborationEntity]','_keySchedule','AES','_unitID','_getCurrentRevision','__creator','getTypeOfUnitAdded$','ERROR_IMAGE','CLOSE_ROOM','onCommandExecuted','not_collab','connection\x20error','LOCAL_CACHE_INTERVAL','kdf','_createInitialStateImpl','failed\x20to\x20apply\x20missed\x20changesets!','_lockTransition','avatar','indexOf','prototype','_transformUndoredo','_throwTelemetryCollaborationNewChangeset','session.room-full','Malformed\x20UTF-8\x20data','_handler','/object','body','_socket$','_collaborationUIEventService','Decryptor','CHANGESET_SHOULD_RETRY','[FetchMissState]','[CollaborationSession]','[UniverCollaborationClientPlugin]','HEARTBEAT','_doFinalize','_userManagerService','createCollaborator','LICENSE_EXPORT_SIZE_EXCEEDED','encrypt','Base64','toString','collabSubmitChangesetUrl','_sessionStatus$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SNAPSHOT_INVALID_SNAPSHOT','searchParams','getActiveSheet','image/jpg','initWorkbookPermissionChange','LOGIN_URL_KEY','getUnitStatus$','removeMember','clamp','_entities','_registerDependencies','_substituteUndoStack','$super','INGEST','_key','[DataLoaderService]','init','confirm','_hash','univer-pro.collaboration-client-socket-service','INTERNAL_ERROR','send','map','_awaitingChangeset','updatePermissionPoint','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','values','_loadSheet','reconnect','_initRequestHeader','_toggleOffline','delete','unpad','_injector','awaitingChangeset','size','iterations','emitEvent','_onOffline','_clearTimeoutTimer','onload','unitID','fromCollab','wsSessionTicketUrl','\x0aCurrent:\x20','{fileID}','getCollabEntity','defineProperty','_nDataBytes','univer-pro.collaboration-client.single-active-unit-service','random','AWAITING','collaboratorID','_mode','NEW_CHANGESETS','getInterceptPoints','_updateState','_retryCount','updatePermissionObjEvent','_invKeySchedule','ONLINE','extend','NO_OTHER_CLIENTS_EDITING','\x20to\x20','_prevBlock','_resendWithTimeout','resourceIDs','fromCharCode','from','BASE64','PERSON','offline','revision','originalMeta','YUUMI_RATE_OVER_LIMIT','execute','processBlock','_revisionService','SNAPSHOT_HAS_BEEN_REMOVED','fetch_missing','value','_eventService','[PendingState]:\x20received\x20acknowledgement.','_clearScheduledTask','selections','collabWebSocketUrl','_hasher','onRemoteRej','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_changesetReqId','encryptBlock','UUID','_replayCachedMutations','&assign=','Hasher','pluginName','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','reset','onRemoteRetry','Cipher','_initMergeInterceptor','sendChangesetTimeout','LIVESHARE_OPERATION','onTransformRemoteChangesetByIMECache','padding','filter','open$','unitId','_onConnectionFailed','randomBytes','EXCHANGE_SIGN_URL_SERVER_URL_KEY','SUBMIT_CHANGESET_TIMEOUT','NoPadding','loadUnit','length','UNAUTHENTICATED','Error\x20on\x20receiving\x20event','collaboration-client.config','clone','ERROR_EXCEED_SIZE','GLOBAL_ROOMS_CNT_EXCEEDS','UNKNOWN_CMD','1549000VWQQVk','/universer-api/comb','permissionRejEvent','UPDATE_PERMISSION_OBJ','SUBMIT_CHANGESET','FileId','_scheduleTimestamp','_onCombEvent','_socketMessageSubscription','state$','[CollaborationSessionService]','downloadEndpointUrl','encode','error$','isPermissionRej','UNIVER_UNKNOWN','_entityInit$','changesets','LICENSE_DISTRO_REJECTED','objectType','UNRECOGNIZED','[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.','HmacMD5','NOT_FOUND','JOIN_ROOM_NOT_EXISTS','sid','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_state$','localCacheService','_keyPriorReset','_localCacheService','_getSessionTicket','min','_getDownloadEndpointURL','?size=','MD5','__Key__','randomUUID','_remoteChangesetQueue','&to=','repeat','byteLength','editingUnit','loadSheet','buffer','_data','_map','35RGUYei','_resendTimeout','_waitCount','_onUserLeave','toggleOffline','format','liveShareNewHost','getCurrentRevOfUnit','unit-cache-','ENSURE_SNAPSHOT_EXECUTION','parse','algo','c2Prime','/unit/','COMPRESS_MUTATION_APPLY','push','updateCursorEvent','_onRecvEvent','lib','_resendTimer','next','snapshot','subscribe','setCurrentUser','_pendingMutations','_socketReady','_collaborationSessionService','_applyRemoteChangeset','_transformRemoteChangesetByStateCache','origin','collaMsg','_changesetSessionId','data','HMAC','cmd','blockSize','onCommentUpdate','localeService','UPDATE_CURSOR','_status$','[PendingState]:\x20received\x20rejection.','USERS_LEAVE','add','onSyncEditingCollabCursor','/universer-api/user/session-ticket','COMPRESS_MUTATION_SEND','_sendingTimer','loginUrlKey','charCodeAt','_doCryptBlock','BufferedBlockAlgorithm','_getSendChangesetTimeout','sigBytes'];_0x10d2=function(){return _0x46a4de;};return _0x10d2();}var Ye={'exports':{}},qe={'exports':{}},Ks=qe['exports'],ii;function zs(){var _0xdfb6de=_0xfea5bc;return ii||(ii=0x1,function(_0x1222e7,_0x1d7754){(function(_0x3107d3,_0x4fb623){var _0x26108c=_0xce85;_0x1222e7[_0x26108c(0x19a)]=_0x4fb623(ne());}(Ks,function(_0x3f556b){var _0x58aa50=_0xce85;return(function(){var _0x44c267=_0xce85,_0xb1b958=_0x3f556b,_0x3b79d7=_0xb1b958[_0x44c267(0x2d3)],_0xe90bcc=_0x3b79d7[_0x44c267(0xe4)],_0x1dbf05=_0x3b79d7['Hasher'],_0x50fcef=_0xb1b958['algo'],_0x2efcbf=[],_0x25a166=_0x50fcef[_0x44c267(0x1ca)]=_0x1dbf05[_0x44c267(0x255)]({'_doReset':function(){var _0x418d2c=_0x44c267;this[_0x418d2c(0x22a)]=new _0xe90bcc[(_0x418d2c(0x228))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x297693,_0x17577b){var _0x173dac=_0x44c267;for(var _0x52de0f=this[_0x173dac(0x22a)]['words'],_0x395801=_0x52de0f[0x0],_0x55b6ff=_0x52de0f[0x1],_0x1bfcaa=_0x52de0f[0x2],_0x482a5b=_0x52de0f[0x3],_0x44e999=_0x52de0f[0x4],_0x2e2e91=0x0;_0x2e2e91<0x50;_0x2e2e91++){if(_0x2e2e91<0x10)_0x2efcbf[_0x2e2e91]=_0x297693[_0x17577b+_0x2e2e91]|0x0;else{var _0x238275=_0x2efcbf[_0x2e2e91-0x3]^_0x2efcbf[_0x2e2e91-0x8]^_0x2efcbf[_0x2e2e91-0xe]^_0x2efcbf[_0x2e2e91-0x10];_0x2efcbf[_0x2e2e91]=_0x238275<<0x1|_0x238275>>>0x1f;}var _0x470417=(_0x395801<<0x5|_0x395801>>>0x1b)+_0x44e999+_0x2efcbf[_0x2e2e91];_0x2e2e91<0x14?_0x470417+=(_0x55b6ff&_0x1bfcaa|~_0x55b6ff&_0x482a5b)+0x5a827999:_0x2e2e91<0x28?_0x470417+=(_0x55b6ff^_0x1bfcaa^_0x482a5b)+0x6ed9eba1:_0x2e2e91<0x3c?_0x470417+=(_0x55b6ff&_0x1bfcaa|_0x55b6ff&_0x482a5b|_0x1bfcaa&_0x482a5b)-0x70e44324:_0x470417+=(_0x55b6ff^_0x1bfcaa^_0x482a5b)-0x359d3e2a,_0x44e999=_0x482a5b,_0x482a5b=_0x1bfcaa,_0x1bfcaa=_0x55b6ff<<0x1e|_0x55b6ff>>>0x2,_0x55b6ff=_0x395801,_0x395801=_0x470417;}_0x52de0f[0x0]=_0x52de0f[0x0]+_0x395801|0x0,_0x52de0f[0x1]=_0x52de0f[0x1]+_0x55b6ff|0x0,_0x52de0f[0x2]=_0x52de0f[0x2]+_0x1bfcaa|0x0,_0x52de0f[0x3]=_0x52de0f[0x3]+_0x482a5b|0x0,_0x52de0f[0x4]=_0x52de0f[0x4]+_0x44e999|0x0;},'_doFinalize':function(){var _0x1bbad8=_0x44c267,_0x35f9b4=this[_0x1bbad8(0x2bf)],_0x38fb25=_0x35f9b4[_0x1bbad8(0x134)],_0x27c9d4=this[_0x1bbad8(0x248)]*0x8,_0x24d551=_0x35f9b4['sigBytes']*0x8;return _0x38fb25[_0x24d551>>>0x5]|=0x80<<0x18-_0x24d551%0x20,_0x38fb25[(_0x24d551+0x40>>>0x9<<0x4)+0xe]=Math[_0x1bbad8(0x99)](_0x27c9d4/0x100000000),_0x38fb25[(_0x24d551+0x40>>>0x9<<0x4)+0xf]=_0x27c9d4,_0x35f9b4[_0x1bbad8(0x2f5)]=_0x38fb25[_0x1bbad8(0x28a)]*0x4,this[_0x1bbad8(0xa3)](),this[_0x1bbad8(0x22a)];},'clone':function(){var _0x5f4edf=_0x44c267,_0x1466d5=_0x1dbf05[_0x5f4edf(0x28e)][_0x5f4edf(0x18a)](this);return _0x1466d5['_hash']=this[_0x5f4edf(0x22a)][_0x5f4edf(0x28e)](),_0x1466d5;}});_0xb1b958[_0x44c267(0x1ca)]=_0x1dbf05[_0x44c267(0xb7)](_0x25a166),_0xb1b958[_0x44c267(0xc5)]=_0x1dbf05[_0x44c267(0x300)](_0x25a166);}()),_0x3f556b[_0x58aa50(0x1ca)];}));}(qe)),qe[_0xdfb6de(0x19a)];}var Je={'exports':{}},Ys=Je[_0xfea5bc(0x19a)],ni;function qs(){var _0x39498f=_0xfea5bc;return ni||(ni=0x1,function(_0x53f791,_0x77bd3d){(function(_0x48423e,_0x401294){var _0x53295a=_0xce85;_0x53f791[_0x53295a(0x19a)]=_0x401294(ne());}(Ys,function(_0x3a61a0){(function(){var _0x51007f=_0xce85,_0x2b13a5=_0x3a61a0,_0x65b6d1=_0x2b13a5['lib'],_0x2c7cbb=_0x65b6d1['Base'],_0x26bce1=_0x2b13a5[_0x51007f(0x110)],_0x2f81b9=_0x26bce1[_0x51007f(0xbf)],_0x328612=_0x2b13a5['algo'];_0x328612[_0x51007f(0x2e2)]=_0x2c7cbb['extend']({'init':function(_0xefa173,_0x488075){var _0x4f7d1b=_0x51007f;_0xefa173=this['_hasher']=new _0xefa173[(_0x4f7d1b(0x228))](),typeof _0x488075==_0x4f7d1b(0xd9)&&(_0x488075=_0x2f81b9[_0x4f7d1b(0x2cb)](_0x488075));var _0x4cfe5d=_0xefa173[_0x4f7d1b(0x2e4)],_0x127b10=_0x4cfe5d*0x4;_0x488075[_0x4f7d1b(0x2f5)]>_0x127b10&&(_0x488075=_0xefa173[_0x4f7d1b(0x77)](_0x488075)),_0x488075[_0x4f7d1b(0x220)]();for(var _0x373bf7=this[_0x4f7d1b(0x33f)]=_0x488075['clone'](),_0x115383=this[_0x4f7d1b(0x1d3)]=_0x488075['clone'](),_0x3bb371=_0x373bf7[_0x4f7d1b(0x134)],_0xbb0c93=_0x115383[_0x4f7d1b(0x134)],_0x23b3d8=0x0;_0x23b3d8<_0x4cfe5d;_0x23b3d8++)_0x3bb371[_0x23b3d8]^=0x5c5c5c5c,_0xbb0c93[_0x23b3d8]^=0x36363636;_0x373bf7[_0x4f7d1b(0x2f5)]=_0x115383[_0x4f7d1b(0x2f5)]=_0x127b10,this[_0x4f7d1b(0x279)]();},'reset':function(){var _0x54a02d=_0x51007f,_0x4b4fb7=this[_0x54a02d(0x26e)];_0x4b4fb7[_0x54a02d(0x279)](),_0x4b4fb7['update'](this[_0x54a02d(0x1d3)]);},'update':function(_0x4bae5e){var _0x11fa43=_0x51007f;return this[_0x11fa43(0x26e)]['update'](_0x4bae5e),this;},'finalize':function(_0x2ad6b1){var _0x36f74c=_0x51007f,_0x16730a=this[_0x36f74c(0x26e)],_0x55a7e1=_0x16730a[_0x36f74c(0x77)](_0x2ad6b1);_0x16730a[_0x36f74c(0x279)]();var _0xea1405=_0x16730a[_0x36f74c(0x77)](this[_0x36f74c(0x33f)]['clone']()['concat'](_0x55a7e1));return _0xea1405;}});}());}));}(Je)),Je[_0x39498f(0x19a)];}var Js=Ye[_0xfea5bc(0x19a)],si;function Ai(){var _0x252781=_0xfea5bc;return si||(si=0x1,function(_0x140f79,_0x361218){(function(_0x13f93e,_0x96b152,_0x30b553){var _0x311179=_0xce85;_0x140f79[_0x311179(0x19a)]=_0x96b152(ne(),zs(),qs());}(Js,function(_0x5d9880){var _0x11630b=_0xce85;return(function(){var _0x1e02ab=_0xce85,_0x27cb98=_0x5d9880,_0x56e9c5=_0x27cb98['lib'],_0x6bcd42=_0x56e9c5[_0x1e02ab(0x8b)],_0x3bb1f4=_0x56e9c5[_0x1e02ab(0xe4)],_0x3c1697=_0x27cb98[_0x1e02ab(0x2cc)],_0x1923d8=_0x3c1697['MD5'],_0x11fda1=_0x3c1697[_0x1e02ab(0x188)]=_0x6bcd42[_0x1e02ab(0x255)]({'cfg':_0x6bcd42[_0x1e02ab(0x255)]({'keySize':0x80/0x20,'hasher':_0x1923d8,'iterations':0x1}),'init':function(_0x4010cf){var _0x1b9820=_0x1e02ab;this[_0x1b9820(0x369)]=this[_0x1b9820(0x369)][_0x1b9820(0x255)](_0x4010cf);},'compute':function(_0x206f9d,_0x19829b){var _0x49b892=_0x1e02ab;for(var _0x2be370,_0x4ccf2a=this[_0x49b892(0x369)],_0x5e2471=_0x4ccf2a[_0x49b892(0x12f)][_0x49b892(0xa9)](),_0x18b201=_0x3bb1f4['create'](),_0x37905b=_0x18b201[_0x49b892(0x134)],_0x36c523=_0x4ccf2a[_0x49b892(0x161)],_0x3a9016=_0x4ccf2a[_0x49b892(0x23c)];_0x37905b[_0x49b892(0x28a)]<_0x36c523;){_0x2be370&&_0x5e2471[_0x49b892(0xc2)](_0x2be370),_0x2be370=_0x5e2471[_0x49b892(0xc2)](_0x206f9d)['finalize'](_0x19829b),_0x5e2471[_0x49b892(0x279)]();for(var _0x3477f6=0x1;_0x3477f6<_0x3a9016;_0x3477f6++)_0x2be370=_0x5e2471[_0x49b892(0x77)](_0x2be370),_0x5e2471[_0x49b892(0x279)]();_0x18b201[_0x49b892(0x70)](_0x2be370);}return _0x18b201[_0x49b892(0x2f5)]=_0x36c523*0x4,_0x18b201;}});_0x27cb98['EvpKDF']=function(_0x230e52,_0x25fff5,_0x44f549){var _0x52852e=_0x1e02ab;return _0x11fda1[_0x52852e(0xa9)](_0x44f549)[_0x52852e(0x98)](_0x230e52,_0x25fff5);};}()),_0x5d9880[_0x11630b(0x188)];}));}(Ye)),Ye[_0x252781(0x19a)];}var Xe={'exports':{}},Xs=Xe['exports'],ri;function xi(){return ri||(ri=0x1,function(_0x435130,_0x24fbf5){(function(_0x1f3941,_0x1619e0,_0x5014e7){var _0x3776af=_0xce85;_0x435130[_0x3776af(0x19a)]=_0x1619e0(ne(),Ai());}(Xs,function(_0x55f3c1){var _0x150752=_0xce85;_0x55f3c1['lib'][_0x150752(0x27b)]||function(_0x242d70){var _0x542816=_0x150752,_0x35bc20=_0x55f3c1,_0x38d167=_0x35bc20[_0x542816(0x2d3)],_0x53fdc2=_0x38d167[_0x542816(0x8b)],_0x513858=_0x38d167[_0x542816(0xe4)],_0x1dcf26=_0x38d167[_0x542816(0x2f3)],_0x552812=_0x35bc20[_0x542816(0x110)];_0x552812[_0x542816(0xbf)];var _0x1fe5f5=_0x552812[_0x542816(0x213)],_0x49bbd8=_0x35bc20[_0x542816(0x2cc)],_0xae6aca=_0x49bbd8[_0x542816(0x188)],_0x287197=_0x38d167[_0x542816(0x27b)]=_0x1dcf26['extend']({'cfg':_0x53fdc2['extend'](),'createEncryptor':function(_0x17861e,_0x598b8f){var _0x5c13ba=_0x542816;return this[_0x5c13ba(0xa9)](this[_0x5c13ba(0x11e)],_0x17861e,_0x598b8f);},'createDecryptor':function(_0x22f1a7,_0x1dc208){var _0xc8e00e=_0x542816;return this[_0xc8e00e(0xa9)](this['_DEC_XFORM_MODE'],_0x22f1a7,_0x1dc208);},'init':function(_0x3eb7aa,_0x456698,_0x53937f){var _0x397ffd=_0x542816;this[_0x397ffd(0x369)]=this['cfg']['extend'](_0x53937f),this[_0x397ffd(0x2fc)]=_0x3eb7aa,this[_0x397ffd(0x226)]=_0x456698,this[_0x397ffd(0x279)]();},'reset':function(){var _0x1be473=_0x542816;_0x1dcf26['reset'][_0x1be473(0x18a)](this),this[_0x1be473(0xfb)]();},'process':function(_0x1044b0){var _0x3037a2=_0x542816;return this['_append'](_0x1044b0),this[_0x3037a2(0xa3)]();},'finalize':function(_0x5061e5){_0x5061e5&&this['_append'](_0x5061e5);var _0x4a38f3=this['_doFinalize']();return _0x4a38f3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x22bb48(_0x38ff4d){var _0x5aa097=_0xce85;return typeof _0x38ff4d==_0x5aa097(0xd9)?_0x44192a:_0x56b700;}return function(_0xc539ea){return{'encrypt':function(_0x595a03,_0x28a9c8,_0x3c062c){return _0x22bb48(_0x28a9c8)['encrypt'](_0xc539ea,_0x595a03,_0x28a9c8,_0x3c062c);},'decrypt':function(_0xe22f39,_0x5b40ab,_0xb9a36c){var _0x2f8730=_0xce85;return _0x22bb48(_0x5b40ab)[_0x2f8730(0x195)](_0xc539ea,_0xe22f39,_0x5b40ab,_0xb9a36c);}};};}())});_0x38d167[_0x542816(0x1b9)]=_0x287197[_0x542816(0x255)]({'_doFinalize':function(){var _0x22421b=_0x542816,_0x432f98=this[_0x22421b(0xa3)](!0x0);return _0x432f98;},'blockSize':0x1});var _0x25322b=_0x35bc20[_0x542816(0x328)]={},_0x35c5e7=_0x38d167[_0x542816(0x1a4)]=_0x53fdc2['extend']({'createEncryptor':function(_0x445fb1,_0x53e478){var _0x7b6e6b=_0x542816;return this['Encryptor'][_0x7b6e6b(0xa9)](_0x445fb1,_0x53e478);},'createDecryptor':function(_0x4c6ac0,_0x21cc62){var _0xc967f3=_0x542816;return this[_0xc967f3(0x208)][_0xc967f3(0xa9)](_0x4c6ac0,_0x21cc62);},'init':function(_0x105c61,_0x1158f2){var _0x425b05=_0x542816;this[_0x425b05(0x147)]=_0x105c61,this[_0x425b05(0x32d)]=_0x1158f2;}}),_0x3a03a1=_0x25322b['CBC']=(function(){var _0x493710=_0x542816,_0xdb6ec7=_0x35c5e7[_0x493710(0x255)]();_0xdb6ec7['Encryptor']=_0xdb6ec7[_0x493710(0x255)]({'processBlock':function(_0x1865b2,_0x27ae9c){var _0x5ebb78=_0x493710,_0x41d64b=this['_cipher'],_0x363029=_0x41d64b['blockSize'];_0x336e53[_0x5ebb78(0x18a)](this,_0x1865b2,_0x27ae9c,_0x363029),_0x41d64b[_0x5ebb78(0x272)](_0x1865b2,_0x27ae9c),this[_0x5ebb78(0x258)]=_0x1865b2[_0x5ebb78(0x7e)](_0x27ae9c,_0x27ae9c+_0x363029);}}),_0xdb6ec7['Decryptor']=_0xdb6ec7[_0x493710(0x255)]({'processBlock':function(_0x12ea56,_0x293de6){var _0xd2c835=_0x493710,_0x360bd0=this['_cipher'],_0x5a80b5=_0x360bd0[_0xd2c835(0x2e4)],_0x46f409=_0x12ea56[_0xd2c835(0x7e)](_0x293de6,_0x293de6+_0x5a80b5);_0x360bd0['decryptBlock'](_0x12ea56,_0x293de6),_0x336e53['call'](this,_0x12ea56,_0x293de6,_0x5a80b5),this[_0xd2c835(0x258)]=_0x46f409;}});function _0x336e53(_0x31551e,_0x1da3a5,_0xddc8de){var _0x31a1f6=_0x493710,_0x1fa092,_0x105d5f=this[_0x31a1f6(0x32d)];_0x105d5f?(_0x1fa092=_0x105d5f,this[_0x31a1f6(0x32d)]=_0x242d70):_0x1fa092=this[_0x31a1f6(0x258)];for(var _0x5cb969=0x0;_0x5cb969<_0xddc8de;_0x5cb969++)_0x31551e[_0x1da3a5+_0x5cb969]^=_0x1fa092[_0x5cb969];}return _0xdb6ec7;}()),_0x5b94db=_0x35bc20[_0x542816(0xab)]={},_0x396272=_0x5b94db[_0x542816(0x7d)]={'pad':function(_0x2b1dcc,_0x50c779){var _0x4d03d0=_0x542816;for(var _0x109a77=_0x50c779*0x4,_0x5adb5e=_0x109a77-_0x2b1dcc[_0x4d03d0(0x2f5)]%_0x109a77,_0x3d86c2=_0x5adb5e<<0x18|_0x5adb5e<<0x10|_0x5adb5e<<0x8|_0x5adb5e,_0x3c0d79=[],_0x5c1ddd=0x0;_0x5c1ddd<_0x5adb5e;_0x5c1ddd+=0x4)_0x3c0d79[_0x4d03d0(0x2d0)](_0x3d86c2);var _0x41a544=_0x513858[_0x4d03d0(0xa9)](_0x3c0d79,_0x5adb5e);_0x2b1dcc['concat'](_0x41a544);},'unpad':function(_0x273092){var _0x329592=_0x542816,_0x36c805=_0x273092[_0x329592(0x134)][_0x273092[_0x329592(0x2f5)]-0x1>>>0x2]&0xff;_0x273092[_0x329592(0x2f5)]-=_0x36c805;}};_0x38d167[_0x542816(0xfd)]=_0x287197[_0x542816(0x255)]({'cfg':_0x287197[_0x542816(0x369)][_0x542816(0x255)]({'mode':_0x3a03a1,'padding':_0x396272}),'reset':function(){var _0x3fcdaa=_0x542816,_0x3c2a5c;_0x287197[_0x3fcdaa(0x279)][_0x3fcdaa(0x18a)](this);var _0x45304f=this['cfg'],_0x4492ca=_0x45304f['iv'],_0x9c9420=_0x45304f['mode'];this[_0x3fcdaa(0x2fc)]==this[_0x3fcdaa(0x11e)]?_0x3c2a5c=_0x9c9420[_0x3fcdaa(0x309)]:(_0x3c2a5c=_0x9c9420['createDecryptor'],this[_0x3fcdaa(0xe3)]=0x1),this['_mode']&&this['_mode'][_0x3fcdaa(0x1f0)]==_0x3c2a5c?this['_mode'][_0x3fcdaa(0x228)](this,_0x4492ca&&_0x4492ca['words']):(this['_mode']=_0x3c2a5c[_0x3fcdaa(0x18a)](_0x9c9420,this,_0x4492ca&&_0x4492ca[_0x3fcdaa(0x134)]),this[_0x3fcdaa(0x24d)][_0x3fcdaa(0x1f0)]=_0x3c2a5c);},'_doProcessBlock':function(_0xd42b61,_0x4488cf){var _0x2d89c1=_0x542816;this[_0x2d89c1(0x24d)][_0x2d89c1(0x264)](_0xd42b61,_0x4488cf);},'_doFinalize':function(){var _0x21405a=_0x542816,_0x2b598b,_0x201ea4=this[_0x21405a(0x369)][_0x21405a(0x280)];return this['_xformMode']==this[_0x21405a(0x11e)]?(_0x201ea4['pad'](this[_0x21405a(0x2bf)],this[_0x21405a(0x2e4)]),_0x2b598b=this[_0x21405a(0xa3)](!0x0)):(_0x2b598b=this[_0x21405a(0xa3)](!0x0),_0x201ea4[_0x21405a(0x238)](_0x2b598b)),_0x2b598b;},'blockSize':0x80/0x20});var _0x4e4ad4=_0x38d167[_0x542816(0x319)]=_0x53fdc2[_0x542816(0x255)]({'init':function(_0x178c39){var _0x4adf72=_0x542816;this[_0x4adf72(0x1c7)](_0x178c39);},'toString':function(_0x1a0d68){var _0x5eb4ef=_0x542816;return(_0x1a0d68||this[_0x5eb4ef(0x1cf)])['stringify'](this);}}),_0x558e14=_0x35bc20[_0x542816(0x2c6)]={},_0x45a44a=_0x558e14[_0x542816(0x152)]={'stringify':function(_0x176c0c){var _0x15dec5=_0x542816,_0x399756,_0x3d520d=_0x176c0c['ciphertext'],_0x30223f=_0x176c0c[_0x15dec5(0xd1)];return _0x30223f?_0x399756=_0x513858[_0x15dec5(0xa9)]([0x53616c74,0x65645f5f])['concat'](_0x30223f)[_0x15dec5(0x70)](_0x3d520d):_0x399756=_0x3d520d,_0x399756['toString'](_0x1fe5f5);},'parse':function(_0x196b74){var _0x481096=_0x542816,_0xf100b5,_0x3ed804=_0x1fe5f5[_0x481096(0x2cb)](_0x196b74),_0x23dfc5=_0x3ed804['words'];return _0x23dfc5[0x0]==0x53616c74&&_0x23dfc5[0x1]==0x65645f5f&&(_0xf100b5=_0x513858['create'](_0x23dfc5[_0x481096(0x7e)](0x2,0x4)),_0x23dfc5[_0x481096(0xe1)](0x0,0x4),_0x3ed804[_0x481096(0x2f5)]-=0x10),_0x4e4ad4[_0x481096(0xa9)]({'ciphertext':_0x3ed804,'salt':_0xf100b5});}},_0x56b700=_0x38d167[_0x542816(0x1cd)]=_0x53fdc2['extend']({'cfg':_0x53fdc2[_0x542816(0x255)]({'format':_0x45a44a}),'encrypt':function(_0x1c6c45,_0x1428b8,_0x6c06fb,_0x1cf9fc){var _0x5ae9ba=_0x542816;_0x1cf9fc=this['cfg']['extend'](_0x1cf9fc);var _0x6e2620=_0x1c6c45['createEncryptor'](_0x6c06fb,_0x1cf9fc),_0xa80bb0=_0x6e2620['finalize'](_0x1428b8),_0x4353b9=_0x6e2620[_0x5ae9ba(0x369)];return _0x4e4ad4['create']({'ciphertext':_0xa80bb0,'key':_0x6c06fb,'iv':_0x4353b9['iv'],'algorithm':_0x1c6c45,'mode':_0x4353b9[_0x5ae9ba(0x328)],'padding':_0x4353b9[_0x5ae9ba(0x280)],'blockSize':_0x1c6c45[_0x5ae9ba(0x2e4)],'formatter':_0x1cf9fc[_0x5ae9ba(0x2c6)]});},'decrypt':function(_0x276b67,_0x10c3a9,_0x5a7ebc,_0x4b756a){var _0x22421a=_0x542816;_0x4b756a=this[_0x22421a(0x369)][_0x22421a(0x255)](_0x4b756a),_0x10c3a9=this[_0x22421a(0x168)](_0x10c3a9,_0x4b756a[_0x22421a(0x2c6)]);var _0x30ed72=_0x276b67[_0x22421a(0x308)](_0x5a7ebc,_0x4b756a)[_0x22421a(0x77)](_0x10c3a9[_0x22421a(0x1a3)]);return _0x30ed72;},'_parse':function(_0x2f1a04,_0x88b4ec){var _0x2d48a1=_0x542816;return typeof _0x2f1a04==_0x2d48a1(0xd9)?_0x88b4ec[_0x2d48a1(0x2cb)](_0x2f1a04,this):_0x2f1a04;}}),_0x7ee5d6=_0x35bc20['kdf']={},_0x375f7e=_0x7ee5d6[_0x542816(0x152)]={'execute':function(_0x1ec89f,_0x53fc83,_0x5b88d1,_0xca72cd,_0x58f66c){var _0x40b5b5=_0x542816;if(_0xca72cd||(_0xca72cd=_0x513858[_0x40b5b5(0x24a)](0x40/0x8)),_0x58f66c)var _0x3bf7b1=_0xae6aca[_0x40b5b5(0xa9)]({'keySize':_0x53fc83+_0x5b88d1,'hasher':_0x58f66c})[_0x40b5b5(0x98)](_0x1ec89f,_0xca72cd);else var _0x3bf7b1=_0xae6aca[_0x40b5b5(0xa9)]({'keySize':_0x53fc83+_0x5b88d1})[_0x40b5b5(0x98)](_0x1ec89f,_0xca72cd);var _0x17d7d6=_0x513858[_0x40b5b5(0xa9)](_0x3bf7b1['words']['slice'](_0x53fc83),_0x5b88d1*0x4);return _0x3bf7b1[_0x40b5b5(0x2f5)]=_0x53fc83*0x4,_0x4e4ad4[_0x40b5b5(0xa9)]({'key':_0x3bf7b1,'iv':_0x17d7d6,'salt':_0xca72cd});}},_0x44192a=_0x38d167['PasswordBasedCipher']=_0x56b700[_0x542816(0x255)]({'cfg':_0x56b700[_0x542816(0x369)][_0x542816(0x255)]({'kdf':_0x375f7e}),'encrypt':function(_0x390fda,_0x4ac718,_0xf0cfa0,_0x433b07){var _0x37f8d1=_0x542816;_0x433b07=this['cfg'][_0x37f8d1(0x255)](_0x433b07);var _0x4bcc54=_0x433b07[_0x37f8d1(0x1f8)][_0x37f8d1(0x263)](_0xf0cfa0,_0x390fda[_0x37f8d1(0x161)],_0x390fda[_0x37f8d1(0x146)],_0x433b07[_0x37f8d1(0xd1)],_0x433b07[_0x37f8d1(0x12f)]);_0x433b07['iv']=_0x4bcc54['iv'];var _0x3701cf=_0x56b700[_0x37f8d1(0x212)]['call'](this,_0x390fda,_0x4ac718,_0x4bcc54[_0x37f8d1(0xb4)],_0x433b07);return _0x3701cf[_0x37f8d1(0x1c7)](_0x4bcc54),_0x3701cf;},'decrypt':function(_0x31e755,_0x20809c,_0x15f82b,_0x5af3cd){var _0x307c4d=_0x542816;_0x5af3cd=this[_0x307c4d(0x369)][_0x307c4d(0x255)](_0x5af3cd),_0x20809c=this[_0x307c4d(0x168)](_0x20809c,_0x5af3cd[_0x307c4d(0x2c6)]);var _0x120783=_0x5af3cd[_0x307c4d(0x1f8)][_0x307c4d(0x263)](_0x15f82b,_0x31e755[_0x307c4d(0x161)],_0x31e755[_0x307c4d(0x146)],_0x20809c[_0x307c4d(0xd1)],_0x5af3cd['hasher']);_0x5af3cd['iv']=_0x120783['iv'];var _0x423916=_0x56b700['decrypt'][_0x307c4d(0x18a)](this,_0x31e755,_0x20809c,_0x120783['key'],_0x5af3cd);return _0x423916;}});}();}));}(Xe)),Xe['exports'];}var Zs=We[_0xfea5bc(0x19a)],oi;function Qs(){var _0x39745b=_0xfea5bc;return oi||(oi=0x1,function(_0x5dc674,_0x4f9298){(function(_0x1d0d55,_0x3b4ca3,_0x390258){var _0x5c6658=_0xce85;_0x5dc674[_0x5c6658(0x19a)]=_0x3b4ca3(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x536567){var _0x2dfaa6=_0xce85;return(function(){var _0xddfd65=_0xce85,_0x59ed57=_0x536567,_0x5ad83a=_0x59ed57[_0xddfd65(0x2d3)],_0x10dce7=_0x5ad83a[_0xddfd65(0xfd)],_0x310fd9=_0x59ed57[_0xddfd65(0x2cc)],_0x23b438=[],_0x5b09ca=[],_0x5b6448=[],_0x3712f3=[],_0xde92a9=[],_0x2eba0b=[],_0x44b02c=[],_0xcb7522=[],_0x29bc47=[],_0x564dea=[];(function(){for(var _0x5a5c38=[],_0x2cdbf6=0x0;_0x2cdbf6<0x100;_0x2cdbf6++)_0x2cdbf6<0x80?_0x5a5c38[_0x2cdbf6]=_0x2cdbf6<<0x1:_0x5a5c38[_0x2cdbf6]=_0x2cdbf6<<0x1^0x11b;for(var _0x18a39c=0x0,_0x5ac5a4=0x0,_0x2cdbf6=0x0;_0x2cdbf6<0x100;_0x2cdbf6++){var _0x3364f2=_0x5ac5a4^_0x5ac5a4<<0x1^_0x5ac5a4<<0x2^_0x5ac5a4<<0x3^_0x5ac5a4<<0x4;_0x3364f2=_0x3364f2>>>0x8^_0x3364f2&0xff^0x63,_0x23b438[_0x18a39c]=_0x3364f2,_0x5b09ca[_0x3364f2]=_0x18a39c;var _0x596213=_0x5a5c38[_0x18a39c],_0x23ccad=_0x5a5c38[_0x596213],_0x3a9d83=_0x5a5c38[_0x23ccad],_0x4050f9=_0x5a5c38[_0x3364f2]*0x101^_0x3364f2*0x1010100;_0x5b6448[_0x18a39c]=_0x4050f9<<0x18|_0x4050f9>>>0x8,_0x3712f3[_0x18a39c]=_0x4050f9<<0x10|_0x4050f9>>>0x10,_0xde92a9[_0x18a39c]=_0x4050f9<<0x8|_0x4050f9>>>0x18,_0x2eba0b[_0x18a39c]=_0x4050f9;var _0x4050f9=_0x3a9d83*0x1010101^_0x23ccad*0x10001^_0x596213*0x101^_0x18a39c*0x1010100;_0x44b02c[_0x3364f2]=_0x4050f9<<0x18|_0x4050f9>>>0x8,_0xcb7522[_0x3364f2]=_0x4050f9<<0x10|_0x4050f9>>>0x10,_0x29bc47[_0x3364f2]=_0x4050f9<<0x8|_0x4050f9>>>0x18,_0x564dea[_0x3364f2]=_0x4050f9,_0x18a39c?(_0x18a39c=_0x596213^_0x5a5c38[_0x5a5c38[_0x5a5c38[_0x3a9d83^_0x596213]]],_0x5ac5a4^=_0x5a5c38[_0x5a5c38[_0x5ac5a4]]):_0x18a39c=_0x5ac5a4=0x1;}}());var _0x2e3a56=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x440b4e=_0x310fd9[_0xddfd65(0x1ed)]=_0x10dce7[_0xddfd65(0x255)]({'_doReset':function(){var _0x5847b3=_0xddfd65,_0x3404da;if(!(this[_0x5847b3(0x164)]&&this[_0x5847b3(0x2af)]===this[_0x5847b3(0x226)])){for(var _0x30fa59=this[_0x5847b3(0x2af)]=this['_key'],_0x16ec24=_0x30fa59['words'],_0x418ca1=_0x30fa59[_0x5847b3(0x2f5)]/0x4,_0x41707a=this[_0x5847b3(0x164)]=_0x418ca1+0x6,_0x10c47e=(_0x41707a+0x1)*0x4,_0x193a2b=this[_0x5847b3(0x1ec)]=[],_0x6b46e6=0x0;_0x6b46e6<_0x10c47e;_0x6b46e6++)_0x6b46e6<_0x418ca1?_0x193a2b[_0x6b46e6]=_0x16ec24[_0x6b46e6]:(_0x3404da=_0x193a2b[_0x6b46e6-0x1],_0x6b46e6%_0x418ca1?_0x418ca1>0x6&&_0x6b46e6%_0x418ca1==0x4&&(_0x3404da=_0x23b438[_0x3404da>>>0x18]<<0x18|_0x23b438[_0x3404da>>>0x10&0xff]<<0x10|_0x23b438[_0x3404da>>>0x8&0xff]<<0x8|_0x23b438[_0x3404da&0xff]):(_0x3404da=_0x3404da<<0x8|_0x3404da>>>0x18,_0x3404da=_0x23b438[_0x3404da>>>0x18]<<0x18|_0x23b438[_0x3404da>>>0x10&0xff]<<0x10|_0x23b438[_0x3404da>>>0x8&0xff]<<0x8|_0x23b438[_0x3404da&0xff],_0x3404da^=_0x2e3a56[_0x6b46e6/_0x418ca1|0x0]<<0x18),_0x193a2b[_0x6b46e6]=_0x193a2b[_0x6b46e6-_0x418ca1]^_0x3404da);for(var _0x587763=this[_0x5847b3(0x253)]=[],_0x138e5c=0x0;_0x138e5c<_0x10c47e;_0x138e5c++){var _0x6b46e6=_0x10c47e-_0x138e5c;if(_0x138e5c%0x4)var _0x3404da=_0x193a2b[_0x6b46e6];else var _0x3404da=_0x193a2b[_0x6b46e6-0x4];_0x138e5c<0x4||_0x6b46e6<=0x4?_0x587763[_0x138e5c]=_0x3404da:_0x587763[_0x138e5c]=_0x44b02c[_0x23b438[_0x3404da>>>0x18]]^_0xcb7522[_0x23b438[_0x3404da>>>0x10&0xff]]^_0x29bc47[_0x23b438[_0x3404da>>>0x8&0xff]]^_0x564dea[_0x23b438[_0x3404da&0xff]];}}},'encryptBlock':function(_0x35b0f3,_0x8cc3fe){var _0xdbf098=_0xddfd65;this[_0xdbf098(0x2f2)](_0x35b0f3,_0x8cc3fe,this[_0xdbf098(0x1ec)],_0x5b6448,_0x3712f3,_0xde92a9,_0x2eba0b,_0x23b438);},'decryptBlock':function(_0x4ed981,_0x5449d7){var _0x409743=_0xddfd65,_0x43e8db=_0x4ed981[_0x5449d7+0x1];_0x4ed981[_0x5449d7+0x1]=_0x4ed981[_0x5449d7+0x3],_0x4ed981[_0x5449d7+0x3]=_0x43e8db,this['_doCryptBlock'](_0x4ed981,_0x5449d7,this[_0x409743(0x253)],_0x44b02c,_0xcb7522,_0x29bc47,_0x564dea,_0x5b09ca);var _0x43e8db=_0x4ed981[_0x5449d7+0x1];_0x4ed981[_0x5449d7+0x1]=_0x4ed981[_0x5449d7+0x3],_0x4ed981[_0x5449d7+0x3]=_0x43e8db;},'_doCryptBlock':function(_0x2fa1d4,_0x333440,_0x1c6caa,_0x25a162,_0x3b2958,_0xdda046,_0x13fc93,_0x35489c){for(var _0x5dbf69=this['_nRounds'],_0x2826a2=_0x2fa1d4[_0x333440]^_0x1c6caa[0x0],_0x3f6673=_0x2fa1d4[_0x333440+0x1]^_0x1c6caa[0x1],_0x184170=_0x2fa1d4[_0x333440+0x2]^_0x1c6caa[0x2],_0x23c79f=_0x2fa1d4[_0x333440+0x3]^_0x1c6caa[0x3],_0x58355d=0x4,_0x438866=0x1;_0x438866<_0x5dbf69;_0x438866++){var _0x564211=_0x25a162[_0x2826a2>>>0x18]^_0x3b2958[_0x3f6673>>>0x10&0xff]^_0xdda046[_0x184170>>>0x8&0xff]^_0x13fc93[_0x23c79f&0xff]^_0x1c6caa[_0x58355d++],_0x16b939=_0x25a162[_0x3f6673>>>0x18]^_0x3b2958[_0x184170>>>0x10&0xff]^_0xdda046[_0x23c79f>>>0x8&0xff]^_0x13fc93[_0x2826a2&0xff]^_0x1c6caa[_0x58355d++],_0x75f66e=_0x25a162[_0x184170>>>0x18]^_0x3b2958[_0x23c79f>>>0x10&0xff]^_0xdda046[_0x2826a2>>>0x8&0xff]^_0x13fc93[_0x3f6673&0xff]^_0x1c6caa[_0x58355d++],_0x172a33=_0x25a162[_0x23c79f>>>0x18]^_0x3b2958[_0x2826a2>>>0x10&0xff]^_0xdda046[_0x3f6673>>>0x8&0xff]^_0x13fc93[_0x184170&0xff]^_0x1c6caa[_0x58355d++];_0x2826a2=_0x564211,_0x3f6673=_0x16b939,_0x184170=_0x75f66e,_0x23c79f=_0x172a33;}var _0x564211=(_0x35489c[_0x2826a2>>>0x18]<<0x18|_0x35489c[_0x3f6673>>>0x10&0xff]<<0x10|_0x35489c[_0x184170>>>0x8&0xff]<<0x8|_0x35489c[_0x23c79f&0xff])^_0x1c6caa[_0x58355d++],_0x16b939=(_0x35489c[_0x3f6673>>>0x18]<<0x18|_0x35489c[_0x184170>>>0x10&0xff]<<0x10|_0x35489c[_0x23c79f>>>0x8&0xff]<<0x8|_0x35489c[_0x2826a2&0xff])^_0x1c6caa[_0x58355d++],_0x75f66e=(_0x35489c[_0x184170>>>0x18]<<0x18|_0x35489c[_0x23c79f>>>0x10&0xff]<<0x10|_0x35489c[_0x2826a2>>>0x8&0xff]<<0x8|_0x35489c[_0x3f6673&0xff])^_0x1c6caa[_0x58355d++],_0x172a33=(_0x35489c[_0x23c79f>>>0x18]<<0x18|_0x35489c[_0x2826a2>>>0x10&0xff]<<0x10|_0x35489c[_0x3f6673>>>0x8&0xff]<<0x8|_0x35489c[_0x184170&0xff])^_0x1c6caa[_0x58355d++];_0x2fa1d4[_0x333440]=_0x564211,_0x2fa1d4[_0x333440+0x1]=_0x16b939,_0x2fa1d4[_0x333440+0x2]=_0x75f66e,_0x2fa1d4[_0x333440+0x3]=_0x172a33;},'keySize':0x100/0x20});_0x59ed57[_0xddfd65(0x1ed)]=_0x10dce7[_0xddfd65(0xb7)](_0x440b4e);}()),_0x536567[_0x2dfaa6(0x1ed)];}));}(We)),We[_0x39745b(0x19a)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze['exports'],ci;function sr(){var _0x1e5ca9=_0xfea5bc;return ci||(ci=0x1,function(_0xe5b42,_0x57b3cd){(function(_0x120295,_0xc011de){var _0x275a54=_0xce85;_0xe5b42[_0x275a54(0x19a)]=_0xc011de(ne());}(nr,function(_0x2fc270){var _0x3c3db9=_0xce85;return _0x2fc270['enc'][_0x3c3db9(0xbf)];}));}(Ze)),Ze[_0x1e5ca9(0x19a)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe[_0xfea5bc(0x19a)],hi;function cr(){var _0x57a336=_0xfea5bc;return hi||(hi=0x1,function(_0x59757a,_0x4c3aa1){(function(_0x49f2e2,_0x3a2465){_0x59757a['exports']=_0x3a2465(ne());}(ar,function(_0x2cbacb){var _0x26dfe6=_0xce85;return(function(){var _0x527910=_0xce85;if(typeof ArrayBuffer=='function'){var _0x33a565=_0x2cbacb,_0x358883=_0x33a565[_0x527910(0x2d3)],_0x69ea62=_0x358883['WordArray'],_0xadbc5f=_0x69ea62['init'],_0x4eda8b=_0x69ea62[_0x527910(0x228)]=function(_0x538e3a){var _0x3bcb60=_0x527910;if(_0x538e3a instanceof ArrayBuffer&&(_0x538e3a=new Uint8Array(_0x538e3a)),(_0x538e3a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x538e3a instanceof Uint8ClampedArray||_0x538e3a instanceof Int16Array||_0x538e3a instanceof Uint16Array||_0x538e3a instanceof Int32Array||_0x538e3a instanceof Uint32Array||_0x538e3a instanceof Float32Array||_0x538e3a instanceof Float64Array)&&(_0x538e3a=new Uint8Array(_0x538e3a[_0x3bcb60(0x2be)],_0x538e3a[_0x3bcb60(0xcb)],_0x538e3a['byteLength'])),_0x538e3a instanceof Uint8Array){for(var _0x552033=_0x538e3a[_0x3bcb60(0x2bb)],_0x136d0d=[],_0x378dc5=0x0;_0x378dc5<_0x552033;_0x378dc5++)_0x136d0d[_0x378dc5>>>0x2]|=_0x538e3a[_0x378dc5]<<0x18-_0x378dc5%0x4*0x8;_0xadbc5f[_0x3bcb60(0x18a)](this,_0x136d0d,_0x552033);}else _0xadbc5f[_0x3bcb60(0xe2)](this,arguments);};_0x4eda8b[_0x527910(0x1fe)]=_0x69ea62;}}()),_0x2cbacb[_0x26dfe6(0x2d3)][_0x26dfe6(0xe4)];}));}(Qe)),Qe[_0x57a336(0x19a)];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et[_0xfea5bc(0x19a)],_i;function ur(){var _0x4d6952=_0xfea5bc;return _i||(_i=0x1,function(_0x432d18,_0x38d5fb){(function(_0x2d3d49,_0x2852d8,_0x3ad9b5){_0x432d18['exports']=_0x2852d8(ne(),xi());}(lr,function(_0x280853){var _0x18c7cb=_0xce85;return _0x280853[_0x18c7cb(0xab)][_0x18c7cb(0x288)]={'pad':function(){},'unpad':function(){}},_0x280853[_0x18c7cb(0xab)][_0x18c7cb(0x288)];}));}(et)),et[_0x4d6952(0x19a)];}var dr=ur();const fr=ke(dr);function vr(_0x117bac,_0xac89d8){var _0x38293d=_0xfea5bc;const _0x4a0c4b=_0xac89d8-_0x117bac[_0x38293d(0x28a)]%_0xac89d8,_0x3ed5ac=String[_0x38293d(0x25b)](_0x4a0c4b)[_0x38293d(0x2ba)](_0x4a0c4b);return _0x117bac+_0x3ed5ac;}function _0xce85(_0x266e08,_0x472daa){var _0x10d27a=_0x10d2();return _0xce85=function(_0xce851d,_0x465177){_0xce851d=_0xce851d-0x6a;var _0x5c1328=_0x10d27a[_0xce851d];return _0x5c1328;},_0xce85(_0x266e08,_0x472daa);}function pr(_0x3afb15,_0x235273){var _0x36bdc1=_0xfea5bc;const _0x5b6a21=_r[_0x36bdc1(0x24a)](0x10),_0x58a97b=vr(_0x3afb15,0x10),_0x3073a3=tr[_0x36bdc1(0x212)](or[_0x36bdc1(0x2cb)](_0x58a97b),ai[_0x36bdc1(0x2cb)](_0x235273),{'iv':_0x5b6a21,'padding':fr});return _0x5b6a21[_0x36bdc1(0x70)](_0x3073a3[_0x36bdc1(0x1a3)])['toString'](ai);}function mr(){var _0x23b349=_0xfea5bc;const _0x4dfe2e=_0x22d849()[_0x23b349(0x2b6)];if(_0x4dfe2e){const _0xd9b797={'time':Math[_0x23b349(0x99)](Date[_0x23b349(0x348)]()/0x3e8),'domain':location[_0x23b349(0x1ac)]};return pr(JSON[_0x23b349(0x305)](_0xd9b797),_0x4dfe2e);}}var gr=Object[_0xfea5bc(0x247)],Sr=Object[_0xfea5bc(0x30f)],Er=(_0x450045,_0xdce720,_0x418700,_0xae4458)=>{var _0x212df6=_0xfea5bc;for(var _0x4521ac=_0xae4458>0x1?void 0x0:_0xae4458?Sr(_0xdce720,_0x418700):_0xdce720,_0x44f351=_0x450045[_0x212df6(0x28a)]-0x1,_0x3e6c4d;_0x44f351>=0x0;_0x44f351--)(_0x3e6c4d=_0x450045[_0x44f351])&&(_0x4521ac=(_0xae4458?_0x3e6c4d(_0xdce720,_0x418700,_0x4521ac):_0x3e6c4d(_0x4521ac))||_0x4521ac);return _0xae4458&&_0x4521ac&&gr(_0xdce720,_0x418700,_0x4521ac),_0x4521ac;},Ir=(_0x656d59,_0x1789e1)=>(_0x3c4f60,_0x3112ce)=>_0x1789e1(_0x3c4f60,_0x3112ce,_0x656d59);let at=class{constructor(_0x232784){var _0x2f56f4=_0xfea5bc;this[_0x2f56f4(0x350)]=_0x232784,this[_0x2f56f4(0x235)]();}[_0xfea5bc(0x235)](){var _0x3aa871=_0xfea5bc;this[_0x3aa871(0x350)][_0x3aa871(0x92)]({'interceptor':(_0x371001,_0x39f905)=>{var _0x554eac=_0x3aa871;const _0x511de5=_0x371001[_0x554eac(0x1e7)],_0x43cb0=mr();return _0x43cb0&&_0x511de5['set'](_0x554eac(0x170),_0x43cb0),_0x39f905(_0x371001);}});}};at=Er([Ir(0x0,_0x5d1423(_0x221528))],at);var Tr=Object[_0xfea5bc(0x247)],Cr=Object[_0xfea5bc(0x30f)],br=(_0x499be7,_0x188c4b,_0x2368aa,_0x271ea9)=>{var _0x41dc6d=_0xfea5bc;for(var _0x670997=_0x271ea9>0x1?void 0x0:_0x271ea9?Cr(_0x188c4b,_0x2368aa):_0x188c4b,_0x2d88f6=_0x499be7[_0x41dc6d(0x28a)]-0x1,_0x1ff6f3;_0x2d88f6>=0x0;_0x2d88f6--)(_0x1ff6f3=_0x499be7[_0x2d88f6])&&(_0x670997=(_0x271ea9?_0x1ff6f3(_0x188c4b,_0x2368aa,_0x670997):_0x1ff6f3(_0x670997))||_0x670997);return _0x271ea9&&_0x670997&&Tr(_0x188c4b,_0x2368aa,_0x670997),_0x670997;},gt=(_0x4c7507,_0x27eb4f)=>(_0x4b0706,_0x46d022)=>_0x27eb4f(_0x4b0706,_0x46d022,_0x4c7507);let Ot=class extends _0x186de6{constructor(_0x1c2077,_0x51c9db,_0x5318de){var _0x455525=_0xfea5bc;super(),P(this,_0x455525(0x30b),new _0x27ef72(null)),P(this,_0x455525(0x171),this[_0x455525(0x30b)][_0x455525(0xc4)]()),(this[_0x455525(0xa5)]=_0x1c2077,this['_snapshotService']=_0x51c9db,this[_0x455525(0x2b0)]=_0x5318de);}async[_0xfea5bc(0x289)](_0x1cd377,_0x54efa0,_0x2ac87e){var _0x3a279f=_0xfea5bc;this['_unitInfo$'][_0x3a279f(0x2d5)]({'unitId':_0x1cd377,'type':_0x54efa0,'subUnitId':_0x2ac87e});let _0x16b5bf=null;switch(_0x54efa0){case Q[_0x3a279f(0x14f)]:{_0x16b5bf=await this['_loadSheet'](_0x1cd377);break;}case Q[_0x3a279f(0x11b)]:{_0x16b5bf=await this['_loadDoc'](_0x1cd377);break;}default:{this['_logService'][_0x3a279f(0x36e)](_0x3a279f(0x227),_0x3a279f(0x16b));break;}}return _0x16b5bf;}async[_0xfea5bc(0x233)](_0x2c520d){var _0x21738b=_0xfea5bc,_0x3ce150;let _0x423b82=0x0;const _0x415bed=await((_0x3ce150=this[_0x21738b(0x2b0)])==null?void 0x0:_0x3ce150[_0x21738b(0x162)](_0x2c520d));return _0x415bed&&(_0x415bed[_0x21738b(0x23a)]||_0x415bed[_0x21738b(0x199)][_0x21738b(0x28a)]!==0x0)&&(_0x423b82=_0x415bed[_0x21738b(0xb5)]),_0x423b82===0x0&&this[_0x21738b(0xa5)]['debug']('[DataLoaderService]',_0x21738b(0x1aa)),this[_0x21738b(0x1dc)][_0x21738b(0x2bd)](_0x2c520d,_0x423b82);}async[_0xfea5bc(0x13f)](_0x1b4234){var _0x230cd5=_0xfea5bc,_0x795026;let _0x4ed307=0x0;const _0x3b7596=await((_0x795026=this[_0x230cd5(0x2b0)])==null?void 0x0:_0x795026[_0x230cd5(0x162)](_0x1b4234));return _0x3b7596&&(_0x3b7596[_0x230cd5(0x23a)]||_0x3b7596[_0x230cd5(0x199)]['length']!==0x0)&&(_0x4ed307=_0x3b7596['rev']),_0x4ed307===0x0&&this[_0x230cd5(0xa5)]['debug'](_0x230cd5(0x227),_0x230cd5(0x1aa)),this[_0x230cd5(0x1dc)]['loadDoc'](_0x1b4234,_0x4ed307);}};Ot=br([gt(0x0,_0x43687c),gt(0x1,_0x5d1423(_0x29e361)),gt(0x2,_0x52513a(X))],Ot);var Rr=Object[_0xfea5bc(0x247)],yr=Object[_0xfea5bc(0x30f)],Or=(_0x495d95,_0xf7d2d0,_0x26fefe,_0x508ffc)=>{var _0x158a01=_0xfea5bc;for(var _0x546757=_0x508ffc>0x1?void 0x0:_0x508ffc?yr(_0xf7d2d0,_0x26fefe):_0xf7d2d0,_0x3efa1f=_0x495d95[_0x158a01(0x28a)]-0x1,_0xd53a11;_0x3efa1f>=0x0;_0x3efa1f--)(_0xd53a11=_0x495d95[_0x3efa1f])&&(_0x546757=(_0x508ffc?_0xd53a11(_0xf7d2d0,_0x26fefe,_0x546757):_0xd53a11(_0x546757))||_0x546757);return _0x508ffc&&_0x546757&&Rr(_0xf7d2d0,_0x26fefe,_0x546757),_0x546757;},St=(_0x3234a7,_0x36f2ec)=>(_0x275316,_0x4e9b4b)=>_0x36f2ec(_0x275316,_0x4e9b4b,_0x3234a7);const Nr=[_0xfea5bc(0x17f),'image/jpeg',_0xfea5bc(0x21b),_0xfea5bc(0x137),_0xfea5bc(0x36a)],Pr=0x5*0x400*0x400,Dr=_0xfea5bc(0x318),wr=_0xfea5bc(0xbb),Ur=_0xfea5bc(0x286),Ar=_0xfea5bc(0x31f);let Nt=class{constructor(_0x17712c,_0x359858,_0x3032c1){var _0x53e869=_0xfea5bc;P(this,_0x53e869(0x2c3),0x0),P(this,_0x53e869(0xc0),new _0x259d5d()),P(this,'change$',this[_0x53e869(0xc0)]),P(this,'_imageSourceCache',new Map()),(this[_0x53e869(0x350)]=_0x17712c,this[_0x53e869(0x132)]=_0x359858,this[_0x53e869(0x2fb)]=_0x3032c1);}[_0xfea5bc(0x72)](_0x33e0dd){var _0x22a074=_0xfea5bc;this[_0x22a074(0x2c3)]=_0x33e0dd,this[_0x22a074(0xc0)][_0x22a074(0x2d5)](_0x33e0dd);}['getImageSourceCache'](_0x48668d,_0x1b420b){var _0x3306d9=_0xfea5bc;if(_0x1b420b===_0x2c16d2[_0x3306d9(0x25d)]){const _0x28e9b7=new Image();return _0x28e9b7['src']=_0x48668d,_0x28e9b7;}return this[_0x3306d9(0xef)]['get'](_0x48668d);}['addImageSourceCache'](_0xcca7e7,_0x532658,_0x2201c4){var _0x22df73=_0xfea5bc;_0x532658===_0x2c16d2[_0x22df73(0x25d)]||_0x2201c4==null||this[_0x22df73(0xef)]['set'](_0xcca7e7,_0x2201c4);}async[_0xfea5bc(0xf0)](_0x50cced){var _0x474c5a=_0xfea5bc;try{const _0x428d6b=this[_0x474c5a(0x177)](this[_0x474c5a(0x30d)](),''+_0x50cced),_0x404f24=(await this[_0x474c5a(0x350)]['get'](_0x428d6b))[_0x474c5a(0x205)];if(_0x404f24[_0x474c5a(0x36e)]&&_0x404f24[_0x474c5a(0x36e)][_0x474c5a(0x17c)]===Ti['OK']){const _0x27ae35=new URL(_0x404f24[_0x474c5a(0x332)],this[_0x474c5a(0x2b3)]())[_0x474c5a(0x214)]();return Promise[_0x474c5a(0x107)](_0x27ae35);}return Promise[_0x474c5a(0x172)](_0x404f24[_0x474c5a(0x36e)]);}catch(_0x2badd6){return Promise[_0x474c5a(0x172)](_0x2badd6);}}async[_0xfea5bc(0x106)](_0x3e8e37){var _0x5b1565=_0xfea5bc;let _0x29bb96='';if(!Nr['includes'](_0x3e8e37[_0x5b1565(0x32a)]))return this[_0x5b1565(0xa4)](),Promise[_0x5b1565(0x172)](new Error(_0x556ec1['ERROR_IMAGE_TYPE']));if(_0x3e8e37[_0x5b1565(0x23b)]>Pr)return this['_decreaseWaiting'](),Promise[_0x5b1565(0x172)](new Error(_0x556ec1[_0x5b1565(0x28f)]));try{const _0x352713=new FormData();_0x352713[_0x5b1565(0x155)]('file',_0x3e8e37);const _0x36827b=this[_0x5b1565(0x2fb)][_0x5b1565(0x1b5)](),_0x1fa2fb=_0x36827b==null?void 0x0:_0x36827b['getUnitId']();if(!_0x1fa2fb)throw new Error(_0x5b1565(0x303));const _0x12a3bf=this[_0x5b1565(0x158)]()+_0x5b1565(0x2b4)+_0x3e8e37[_0x5b1565(0x23b)][_0x5b1565(0x214)]()+'&source='+Ci[_0x5b1565(0x14a)]+_0x5b1565(0x275)+encodeURIComponent(_0x1fa2fb),_0x4048ef=await(await fetch(_0x12a3bf,{'method':'POST','body':_0x352713}))[_0x5b1565(0x196)]();if(typeof _0x4048ef[_0x5b1565(0x297)]!='string')return this[_0x5b1565(0xa4)](),Promise[_0x5b1565(0x172)](new Error(_0x556ec1['ERROR_IMAGE']));_0x29bb96=_0x4048ef[_0x5b1565(0x297)];}catch{return this['_decreaseWaiting'](),Promise[_0x5b1565(0x172)](new Error(_0x556ec1[_0x5b1565(0x1f2)]));}return new Promise((_0x2616c2,_0x8a2f67)=>{var _0x2d8434=_0x5b1565;const _0x524b32=new FileReader();_0x524b32[_0x2d8434(0x15b)](_0x3e8e37),_0x524b32[_0x2d8434(0x240)]=_0x54abef=>{var _0x60bbc5=_0x2d8434,_0x5381c9;const _0x2d3760=(_0x5381c9=_0x54abef['target'])==null?void 0x0:_0x5381c9['result'];if(_0x2d3760==null){this[_0x60bbc5(0xa4)](),_0x8a2f67(new Error(_0x556ec1[_0x60bbc5(0x1f2)]));return;}const _0x4db528=_0x8cc875['generateRandomId'](0x6);_0x2616c2({'imageId':_0x4db528,'imageSourceType':_0x2c16d2[_0x60bbc5(0x273)],'source':_0x29bb96,'base64Cache':_0x2d3760,'status':_0x556ec1[_0x60bbc5(0x314)]}),this[_0x60bbc5(0xa4)]();};});}[_0xfea5bc(0x158)](){var _0x1986b7=_0xfea5bc,_0x418ac9,_0x34c2d2;const _0x315f5b=this['_configService'][_0x1986b7(0x30a)](Dr),_0x38da8c=this['_configService'][_0x1986b7(0x30a)](Y);return(_0x34c2d2=(_0x418ac9=_0x38da8c==null?void 0x0:_0x38da8c[_0x1986b7(0x1b0)])!=null?_0x418ac9:_0x315f5b)!=null?_0x34c2d2:wr;}['_getSignURL'](){var _0x2e4693=_0xfea5bc,_0x3087f8,_0x1c2f26;const _0x293b11=this[_0x2e4693(0x132)]['getConfig'](Ur),_0x409c4c=this['_configService'][_0x2e4693(0x30a)](Y);return(_0x1c2f26=(_0x3087f8=_0x409c4c==null?void 0x0:_0x409c4c[_0x2e4693(0xf2)])!=null?_0x3087f8:_0x293b11)!=null?_0x1c2f26:Ar;}[_0xfea5bc(0x2b3)](){var _0x422f1c=_0xfea5bc,_0x27c0cc;const _0x5d177d=this[_0x422f1c(0x132)][_0x422f1c(0x30a)](Y);return(_0x27c0cc=_0x5d177d==null?void 0x0:_0x5d177d[_0x422f1c(0x29d)])!=null?_0x27c0cc:location['origin'];}['_replaceFileID'](_0x5d3873,_0x103776){var _0x2c23a6=_0xfea5bc;return _0x5d3873[_0x2c23a6(0x167)](_0x2c23a6(0x245),_0x103776);}[_0xfea5bc(0xa4)](){var _0x38d5b8=_0xfea5bc;this['_waitCount']-=0x1,this[_0x38d5b8(0xc0)][_0x38d5b8(0x2d5)](this[_0x38d5b8(0x2c3)]);}};Nt=Or([St(0x0,_0x5d1423(_0x221528)),St(0x1,_0x39bec4),St(0x2,_0x5d1423(_0x248930))],Nt);var xr=Object['defineProperty'],Lr=Object[_0xfea5bc(0x30f)],Mr=(_0x3d344a,_0x305415,_0x19d642,_0x24950f)=>{var _0x13440b=_0xfea5bc;for(var _0xa56d23=_0x24950f>0x1?void 0x0:_0x24950f?Lr(_0x305415,_0x19d642):_0x305415,_0xee6a45=_0x3d344a[_0x13440b(0x28a)]-0x1,_0x249e13;_0xee6a45>=0x0;_0xee6a45--)(_0x249e13=_0x3d344a[_0xee6a45])&&(_0xa56d23=(_0x24950f?_0x249e13(_0x305415,_0x19d642,_0xa56d23):_0x249e13(_0xa56d23))||_0xa56d23);return _0x24950f&&_0xa56d23&&xr(_0x305415,_0x19d642,_0xa56d23),_0xa56d23;},li=(_0x59886b,_0xbad9c7)=>(_0x393437,_0x2792fa)=>_0xbad9c7(_0x393437,_0x2792fa,_0x59886b);const $r='/universer-api/authz';let Pt=class{constructor(_0x43f63f,_0x2fb7ba){var _0x369d3d=_0xfea5bc;this[_0x369d3d(0x132)]=_0x43f63f,this[_0x369d3d(0x357)]=_0x2fb7ba;}['_getAPIPrefixPath'](){var _0x49ee61=_0xfea5bc,_0x263b0f,_0x30be6c;const _0x1499e8=this[_0x49ee61(0x132)][_0x49ee61(0x30a)](wi),_0x1a7ebf=this[_0x49ee61(0x132)]['getConfig'](Y);return(_0x30be6c=(_0x263b0f=_0x1a7ebf==null?void 0x0:_0x1a7ebf[_0x49ee61(0x7b)])!=null?_0x263b0f:_0x1499e8)!=null?_0x30be6c:$r;}async[_0xfea5bc(0x31d)](_0x4321fd){var _0x83a629=_0xfea5bc;const _0x3612c1=this[_0x83a629(0x79)]()+_0x83a629(0x2ff);return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x3612c1,{'params':{'objectID':_0x4321fd[_0x83a629(0x283)],'unitID':_0x4321fd[_0x83a629(0x283)]}}))[_0x83a629(0x205)][_0x83a629(0x133)][_0x83a629(0x22e)](_0x4c6ac1=>({'objectId':_0x4c6ac1['id'],'name':_0x4c6ac1['subject'][_0x83a629(0x1a8)],'metadata':{'icon':_0x4c6ac1['subject'][_0x83a629(0x1fc)]},'label':_0x4c6ac1[_0x83a629(0x80)][_0x83a629(0x1a8)],'objectType':_0x525d5e[_0x83a629(0x25e)]})),'metadata':{},'type':_0x525d5e[_0x83a629(0x25e)]}]};}};Pt=Mr([li(0x0,_0x5d1423(_0x39bec4)),li(0x1,_0x5d1423(_0x221528))],Pt);var Hr=Object[_0xfea5bc(0x247)],kr=Object[_0xfea5bc(0x30f)],jr=(_0x3ba474,_0x219c57,_0x14830a,_0x578b8f)=>{var _0x427233=_0xfea5bc;for(var _0x5d384a=_0x578b8f>0x1?void 0x0:_0x578b8f?kr(_0x219c57,_0x14830a):_0x219c57,_0x482112=_0x3ba474[_0x427233(0x28a)]-0x1,_0x64f627;_0x482112>=0x0;_0x482112--)(_0x64f627=_0x3ba474[_0x482112])&&(_0x5d384a=(_0x578b8f?_0x64f627(_0x219c57,_0x14830a,_0x5d384a):_0x64f627(_0x5d384a))||_0x5d384a);return _0x578b8f&&_0x5d384a&&Hr(_0x219c57,_0x14830a,_0x5d384a),_0x5d384a;},Se=(_0x27db66,_0x4f49d4)=>(_0x2bc007,_0x2b619b)=>_0x4f49d4(_0x2bc007,_0x2b619b,_0x27db66);let ct=class extends _0x186de6{constructor(_0x2e6bde,_0x237938,_0x4723bc,_0xe3854c,_0x525818,_0x44e26c,_0x478436){var _0x281e9d=_0xfea5bc;super(),this[_0x281e9d(0x239)]=_0x2e6bde,this[_0x281e9d(0x2fb)]=_0x237938,this[_0x281e9d(0x130)]=_0x4723bc,this[_0x281e9d(0x2db)]=_0xe3854c,this[_0x281e9d(0x207)]=_0x525818,this['_authzIoService']=_0x44e26c,this[_0x281e9d(0xce)]=_0x478436,this[_0x281e9d(0xf8)](),this[_0x281e9d(0x19e)]();}['_initCloseConn'](){var _0x41b20a=_0xfea5bc;const _0xa98064=async _0x4565f1=>{var _0x2d6369=_0xce85;(await this[_0x2d6369(0x2db)][_0x2d6369(0x135)](_0x4565f1))[_0x2d6369(0xf4)][_0x2d6369(0x7f)](_0x57ea80(_0x461b16=>_0x461b16[_0x2d6369(0x145)]===_0x41c4be[_0x2d6369(0x102)]),_0x334fe5(this['dispose$']))[_0x2d6369(0x2d7)](_0x38499f=>{var _0x25999a=_0x2d6369;const _0xb9adb2=_0x38499f,{reason:_0x25ea62}=_0xb9adb2[_0x25999a(0x2e1)];this[_0x25999a(0x207)][_0x25999a(0x23d)]({'id':re[_0x25999a(0x1f3)],'data':_0x25ea62}),this[_0x25999a(0x130)][_0x25999a(0x230)](new _0x3afaa1(_0x4565f1)['id'],!0x1),this[_0x25999a(0x2db)]['closeSession'](_0x4565f1);});};_0x22f8bf(this['_univerInstanceService'][_0x41b20a(0x1f1)](_0x583f53[_0x41b20a(0x14f)]),this['_univerInstanceService'][_0x41b20a(0x1f1)](_0x583f53['UNIVER_DOC']))[_0x41b20a(0x7f)](_0x4e6d97(_0x99783a=>_0x99783a[_0x41b20a(0x33d)]()),_0x57ea80(_0xc0c836=>!_0x5f1df2(_0xc0c836)),_0x334fe5(this[_0x41b20a(0x35d)]))[_0x41b20a(0x2d7)](_0xdf506d=>{_0xa98064(_0xdf506d);});}[_0xfea5bc(0xf8)](){var _0x445547=_0xfea5bc;const _0x10ad72=async _0xf8a406=>{var _0x56cdbc=_0xce85;(await this[_0x56cdbc(0x2db)][_0x56cdbc(0x135)](_0xf8a406))[_0x56cdbc(0xf4)][_0x56cdbc(0x7f)](_0x57ea80(_0x1ca1d9=>_0x1ca1d9['eventID']===_0x41c4be[_0x56cdbc(0x295)]),_0x334fe5(this[_0x56cdbc(0x35d)]))['subscribe'](_0x53ac5c=>{var _0x2d2e44=_0x56cdbc;const _0x43f0e1=_0x53ac5c,{objectId:_0x180970}=_0x43f0e1['data'];_0x180970===_0xf8a406?this[_0x2d2e44(0x21c)](_0xf8a406):this[_0x2d2e44(0x17d)](_0xf8a406,_0x180970);});};_0x22f8bf(this[_0x445547(0x2fb)][_0x445547(0x1f1)](_0x583f53['UNIVER_SHEET']),this[_0x445547(0x2fb)][_0x445547(0x1f1)](_0x583f53['UNIVER_DOC']))[_0x445547(0x7f)](_0x4e6d97(_0x5d3185=>_0x5d3185[_0x445547(0x33d)]()),_0x57ea80(_0xea3ea9=>!_0x5f1df2(_0xea3ea9)),_0x334fe5(this[_0x445547(0x35d)]))[_0x445547(0x2d7)](_0x3d334a=>{_0x10ad72(_0x3d334a);});}async[_0xfea5bc(0x21c)](_0x5d427f){var _0x40d7e8=_0xfea5bc,_0x29a0af;const _0x2b3b86=_0x5d427f||((_0x29a0af=this['_univerInstanceService'][_0x40d7e8(0x1ab)](_0x583f53[_0x40d7e8(0x14f)]))==null?void 0x0:_0x29a0af[_0x40d7e8(0x33d)]());_0x2b3b86&&this[_0x40d7e8(0x32e)][_0x40d7e8(0x2f6)]({'objectID':_0x2b3b86,'objectType':_0x88a096['Workbook'],'unitID':_0x2b3b86,'actions':_0x31db20})[_0x40d7e8(0x82)](_0x5b80e2=>{var _0xb769fb=_0x40d7e8;_0x49d77f()[_0xb769fb(0x19f)](_0x4c4c14=>{var _0x3c1d97=_0xb769fb;const _0x1354ff=new _0x4c4c14(_0x2b3b86),_0x4a7d39=_0x1354ff['subType'],_0x1a1c8f=_0x5b80e2[_0x3c1d97(0x1a5)](_0xf56d5=>_0xf56d5[_0x3c1d97(0xf5)]===_0x4a7d39);_0x1a1c8f&&this[_0x3c1d97(0x130)][_0x3c1d97(0x230)](_0x1354ff['id'],_0x1a1c8f[_0x3c1d97(0x2f6)]);});});}['refreshPermission'](_0x20a7ec,_0x349fef){var _0x2eaeab=_0xfea5bc;const _0x5e9cfe=this[_0x2eaeab(0x239)][_0x2eaeab(0x1da)](_0x48bd95),_0x151cf8=_0x5e9cfe['getTargetByPermissionId'](_0x20a7ec,_0x349fef);let _0x1e5477=!0x1;if(_0x151cf8){const [_0x304ae5,_0x155506]=_0x151cf8;this['_authzIoService'][_0x2eaeab(0x2f6)]({'objectID':_0x349fef,'unitID':_0x20a7ec,'objectType':_0x88a096[_0x2eaeab(0x1a0)],'actions':_0x249c67})['then'](_0x15fa30=>{var _0x5a3f93=_0x2eaeab;let _0x159a14='';_0xd3dfbc()[_0x5a3f93(0x19f)](_0x1eb49d=>{var _0x293ac7=_0x5a3f93,_0x1e7d13;const _0x2b3068=new _0x1eb49d(_0x20a7ec,_0x155506),_0x3b4b7c=_0x2b3068[_0x293ac7(0x189)],_0x13ada5=_0x15fa30[_0x293ac7(0x1a5)](_0x447d88=>_0x447d88[_0x293ac7(0xf5)]===_0x3b4b7c);_0x13ada5&&(((_0x1e7d13=this[_0x293ac7(0x130)][_0x293ac7(0x36b)](_0x2b3068['id']))==null?void 0x0:_0x1e7d13[_0x293ac7(0x268)])!==_0x13ada5['allowed']&&(_0x1e5477=!0x0),this[_0x293ac7(0x130)][_0x293ac7(0x230)](_0x2b3068['id'],_0x13ada5['allowed']),_0x159a14+=_0x13ada5[_0x293ac7(0xf5)]+'_'+_0x13ada5['allowed']);}),_0x5e9cfe[_0x5a3f93(0xfa)](_0x349fef+'_'+_0x159a14),_0x1e5477&&this[_0x5a3f93(0xce)]['clearUndoRedo'](_0x20a7ec);});}const _0x2bb7bd=this[_0x2eaeab(0x239)][_0x2eaeab(0x1da)](_0xb0a835)['getTargetByPermissionId'](_0x20a7ec,_0x349fef);if(_0x2bb7bd){const [_0x625602,_0xf8a07b]=_0x2bb7bd;this[_0x2eaeab(0x32e)][_0x2eaeab(0x2f6)]({'objectID':_0x349fef,'unitID':_0x20a7ec,'objectType':_0x88a096[_0x2eaeab(0x1a0)],'actions':_0x4e4db2})['then'](_0x5e246b=>{var _0x2bcf00=_0x2eaeab;_0x5e58f7()[_0x2bcf00(0x19f)](_0x247a74=>{var _0x596e9f=_0x2bcf00,_0x261756;const _0x198ec8=new _0x247a74(_0x20a7ec,_0xf8a07b),_0x4c7383=_0x198ec8['subType'],_0x2e3aca=_0x5e246b[_0x596e9f(0x1a5)](_0x6f3a01=>_0x6f3a01[_0x596e9f(0xf5)]===_0x4c7383);_0x2e3aca&&(((_0x261756=this[_0x596e9f(0x130)][_0x596e9f(0x36b)](_0x198ec8['id']))==null?void 0x0:_0x261756[_0x596e9f(0x268)])!==_0x2e3aca['allowed']&&(_0x1e5477=!0x0),this['_permissionService'][_0x596e9f(0x230)](_0x198ec8['id'],_0x2e3aca['allowed']));}),_0x1e5477&&this[_0x2bcf00(0xce)][_0x2bcf00(0x34c)](_0x20a7ec);});}const _0x353e7c=this[_0x2eaeab(0x239)][_0x2eaeab(0x1da)](_0x291fc6),_0x3aaa0c=_0x353e7c[_0x2eaeab(0x76)](_0x20a7ec,_0x349fef);if(_0x3aaa0c){const [_0x447608,_0x19f7bd]=_0x3aaa0c;this[_0x2eaeab(0x32e)][_0x2eaeab(0x2f6)]({'objectID':_0x349fef,'unitID':_0x20a7ec,'objectType':_0x88a096[_0x2eaeab(0x1e8)],'actions':_0x249c67})[_0x2eaeab(0x82)](_0x1db417=>{var _0x4f1da6=_0x2eaeab;let _0x34d36d='';_0x2a09e1()[_0x4f1da6(0x19f)](_0x5bc700=>{var _0x1073af=_0x4f1da6,_0x79a4eb;const _0x3822f5=new _0x5bc700(_0x20a7ec,_0x19f7bd,_0x349fef),_0x3e55ea=_0x3822f5[_0x1073af(0x189)],_0x350430=_0x1db417[_0x1073af(0x1a5)](_0x3dd524=>_0x3dd524[_0x1073af(0xf5)]===_0x3e55ea);_0x350430&&(((_0x79a4eb=this[_0x1073af(0x130)][_0x1073af(0x36b)](_0x3822f5['id']))==null?void 0x0:_0x79a4eb[_0x1073af(0x268)])!==_0x350430[_0x1073af(0x2f6)]&&(_0x1e5477=!0x0),this[_0x1073af(0x130)][_0x1073af(0x230)](_0x3822f5['id'],_0x350430[_0x1073af(0x2f6)]),_0x34d36d+=_0x350430[_0x1073af(0xf5)]+'_'+_0x350430[_0x1073af(0x2f6)]);}),_0x353e7c[_0x4f1da6(0xfa)](_0x349fef+'_'+_0x34d36d),_0x1e5477&&this['_undoRedoService'][_0x4f1da6(0x34c)](_0x20a7ec);});}}};ct=jr([Se(0x0,_0x5d1423(_0xd0e7e3)),Se(0x1,_0x248930),Se(0x2,_0x5cf24c),Se(0x3,_0x5d1423(Le)),Se(0x4,_0x5d1423(pe)),Se(0x5,_0x4b1b13),Se(0x6,_0x2b9d6a)],ct);var Br=Object[_0xfea5bc(0x247)],Fr=Object[_0xfea5bc(0x30f)],Vr=(_0x3806c9,_0x431f71,_0x524417,_0x3a012f)=>{for(var _0x123066=_0x3a012f>0x1?void 0x0:_0x3a012f?Fr(_0x431f71,_0x524417):_0x431f71,_0x146007=_0x3806c9['length']-0x1,_0x327a97;_0x146007>=0x0;_0x146007--)(_0x327a97=_0x3806c9[_0x146007])&&(_0x123066=(_0x3a012f?_0x327a97(_0x431f71,_0x524417,_0x123066):_0x327a97(_0x123066))||_0x123066);return _0x3a012f&&_0x123066&&Br(_0x431f71,_0x524417,_0x123066),_0x123066;},ui=(_0x572771,_0xe72be8)=>(_0x43b8cf,_0x141839)=>_0xe72be8(_0x43b8cf,_0x141839,_0x572771);let Dt=class{constructor(_0x4f17a9,_0xb85f08){var _0x1fa9f1=_0xfea5bc;this[_0x1fa9f1(0x132)]=_0x4f17a9,this[_0x1fa9f1(0x350)]=_0xb85f08;}async[_0xfea5bc(0x14e)](_0x172fa2,_0x47fba6){var _0x353101=_0xfea5bc,_0x15d2d0;const {unitID:_0x3c9c0c,type:_0xf4f6b4,revision:_0x42f046=0x0}=_0x47fba6,_0x4722b9=this[_0x353101(0xda)]()+'/'+_0xf4f6b4+_0x353101(0x2ce)+_0x3c9c0c+_0x353101(0xff)+_0x42f046,_0x4482d8=(await this['_httpService'][_0x353101(0x1da)](_0x4722b9))[_0x353101(0x205)],_0x2b6117=(_0x15d2d0=_0x4482d8[_0x353101(0x2d6)])==null?void 0x0:_0x15d2d0[_0x353101(0x361)];if(_0x2b6117){const _0x30e110=_0x2b6117==null?void 0x0:_0x2b6117['originalMeta'],_0x485c92=_0x3c6568[_0x353101(0x29e)](_0x133354(_0x30e110));_0x2b6117['originalMeta']=_0x485c92,Object['entries'](_0x2b6117[_0x353101(0x17e)])[_0x353101(0x19f)](([,_0x3a59e4])=>{var _0x5d38d7=_0x353101;const _0x55da58=_0x3a59e4[_0x5d38d7(0x261)],_0x559553=_0x3c6568['encode'](_0x133354(_0x55da58));_0x3a59e4[_0x5d38d7(0x261)]=_0x559553;});}return _0x4482d8;}async[_0xfea5bc(0xa8)](_0x5a1e26,_0x56f19e){var _0x4f1fc1=_0xfea5bc;const {unitID:_0x3f028e,type:_0x989dec,blockID:_0x33fae9}=_0x56f19e,_0xb9c15b=this[_0x4f1fc1(0x8d)]()+'/'+_0x989dec+'/unit/'+_0x3f028e+_0x4f1fc1(0x16e)+_0x33fae9;return(await this[_0x4f1fc1(0x350)][_0x4f1fc1(0x1da)](_0xb9c15b))[_0x4f1fc1(0x205)];}async[_0xfea5bc(0x190)](_0x4ea7fd,_0x5801f5){var _0x2c5385=_0xfea5bc;const {unitID:_0x347614,type:_0x3bc79b,blockID:_0x1d6a51}=_0x5801f5,_0x29709d=this[_0x2c5385(0x8d)]()+_0x2c5385(0x16e)+_0x3bc79b+_0x2c5385(0x2ce)+_0x347614+_0x2c5385(0x16e)+_0x1d6a51;return(await this['_httpService'][_0x2c5385(0x1da)](_0x29709d))[_0x2c5385(0x205)];}async[_0xfea5bc(0x1e4)](_0x145798,_0x57f8d5){var _0x313a76=_0xfea5bc;const {unitID:_0x27d68d,type:_0x5b812a,from:_0x228f18,to:_0x25f99f}=_0x57f8d5,_0x221800=this[_0x313a76(0x8d)]()+'/'+_0x5b812a+_0x313a76(0x2ce)+_0x27d68d+_0x313a76(0x1a2)+_0x228f18+_0x313a76(0x2b9)+_0x25f99f;return(await this[_0x313a76(0x350)][_0x313a76(0x1da)](_0x221800))[_0x313a76(0x205)];}['getSnapshotAPIPath'](){var _0x56ddad=_0xfea5bc,_0x26bf93;return(_0x26bf93=this[_0x56ddad(0x132)][_0x56ddad(0x30a)](Dn))!=null?_0x26bf93:this[_0x56ddad(0x8d)]();}['_getAPIPrefix'](){var _0x37a9ab=_0xfea5bc,_0x4487ad,_0x1f2a1c;const _0x2540bc=this[_0x37a9ab(0x132)]['getConfig'](Nn),_0x118ff7=this[_0x37a9ab(0x132)][_0x37a9ab(0x30a)](Y);return(_0x1f2a1c=(_0x4487ad=_0x118ff7==null?void 0x0:_0x118ff7[_0x37a9ab(0x1c6)])!=null?_0x4487ad:_0x2540bc)!=null?_0x1f2a1c:Pn;}async['getResourcesRequest'](_0x42bc19,_0x2f1fe5){var _0x28c80f=_0xfea5bc;const _0x25108f=_0x28c80f(0x1bb)+_0x2f1fe5[_0x28c80f(0x32a)]+_0x28c80f(0x2ce)+_0x2f1fe5[_0x28c80f(0x241)]+_0x28c80f(0x136);return(await this[_0x28c80f(0x350)][_0x28c80f(0x1da)](_0x25108f,{'params':{'resourceId':JSON['stringify'](_0x2f1fe5[_0x28c80f(0x25a)])}}))[_0x28c80f(0x205)];}[_0xfea5bc(0x122)](){var _0x529bcd=_0xfea5bc;throw new Error(_0x529bcd(0x325));}[_0xfea5bc(0x30e)](){var _0x979311=_0xfea5bc;throw new Error(_0x979311(0x325));}[_0xfea5bc(0x197)](){var _0x404ead=_0xfea5bc;throw new Error(_0x404ead(0x325));}[_0xfea5bc(0x363)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0xdb53e8=_0xfea5bc;throw new Error(_0xdb53e8(0x325));}};Dt=Vr([ui(0x0,_0x39bec4),ui(0x1,_0x5d1423(_0x221528))],Dt);var Wr=Object[_0xfea5bc(0x247)],Gr=Object[_0xfea5bc(0x30f)],Kr=(_0x5e1bd3,_0x27541f,_0x419176,_0x88d734)=>{var _0x6ab63b=_0xfea5bc;for(var _0x17bb5a=_0x88d734>0x1?void 0x0:_0x88d734?Gr(_0x27541f,_0x419176):_0x27541f,_0x39ed5a=_0x5e1bd3[_0x6ab63b(0x28a)]-0x1,_0x6c2189;_0x39ed5a>=0x0;_0x39ed5a--)(_0x6c2189=_0x5e1bd3[_0x39ed5a])&&(_0x17bb5a=(_0x88d734?_0x6c2189(_0x27541f,_0x419176,_0x17bb5a):_0x6c2189(_0x17bb5a))||_0x17bb5a);return _0x88d734&&_0x17bb5a&&Wr(_0x27541f,_0x419176,_0x17bb5a),_0x17bb5a;},Ae=(_0x2c6176,_0x420ee6)=>(_0x11724d,_0x3848f4)=>_0x420ee6(_0x11724d,_0x3848f4,_0x2c6176);let wt=class extends _0x80d44f{constructor(_0x451c45,_0x2babe6,_0x43247c,_0x36c6cb,_0x691769){var _0xd12e6e=_0xfea5bc;super(_0x451c45,_0x2babe6,_0x43247c),this[_0xd12e6e(0x175)]=_0x36c6cb,this[_0xd12e6e(0xa5)]=_0x691769;}[_0xfea5bc(0x374)](_0x3c8e7f,_0x387679){var _0x782d04=_0xfea5bc;const _0x437f3e=this[_0x782d04(0x121)](_0x3c8e7f);if(_0x437f3e)try{const _0x115757=this[_0x782d04(0x1e1)](_0x437f3e,_0x387679);this[_0x782d04(0x223)](_0x3c8e7f,_0x115757);}catch(_0x4dd285){this[_0x782d04(0xa5)]['error']('[CollaborationUndoRedoService]',_0x4dd285),this[_0x782d04(0x108)](_0x3c8e7f);}const _0x258468=this[_0x782d04(0x1d5)](_0x3c8e7f);if(_0x258468)try{const _0x20b294=this[_0x782d04(0x1e1)](_0x258468,_0x387679);this[_0x782d04(0x10e)](_0x3c8e7f,_0x20b294);}catch(_0x64f39e){this[_0x782d04(0xa5)][_0x782d04(0x36e)](_0x64f39e),this[_0x782d04(0x174)](_0x3c8e7f);}}['_clearUndo'](_0x55a076){var _0x4e4286=_0xfea5bc;const _0xca86fc=this[_0x4e4286(0x121)](_0x55a076);_0xca86fc&&(_0xca86fc[_0x4e4286(0x28a)]=0x0,this['_updateStatus']());}[_0xfea5bc(0x174)](_0x8c4036){var _0x5cb36f=_0xfea5bc;const _0x1d2bff=this[_0x5cb36f(0x1d5)](_0x8c4036);_0x1d2bff&&(_0x1d2bff[_0x5cb36f(0x28a)]=0x0,this[_0x5cb36f(0x85)]());}[_0xfea5bc(0x223)](_0x584fc4,_0x4715be){var _0x40876b=_0xfea5bc;this['_undoStacks'][_0x40876b(0x1cc)](_0x584fc4,_0x4715be),this[_0x40876b(0x85)]();}[_0xfea5bc(0x10e)](_0x1e4733,_0x35d7c7){var _0x238b6e=_0xfea5bc;this['_redoStacks'][_0x238b6e(0x1cc)](_0x1e4733,_0x35d7c7),this[_0x238b6e(0x85)]();}[_0xfea5bc(0x1e1)](_0x3ad41e,_0xf1b855){var _0x582dd6=_0xfea5bc;const _0x5ee003=[];let _0x146e36=_0xf1b855,_0x57a0c6=_0xf1b855;for(let _0x4cfd0d=_0x3ad41e[_0x582dd6(0x28a)]-0x1;_0x4cfd0d>=0x0;_0x4cfd0d--){const {unitID:_0x36b379,undoMutations:_0x187399,redoMutations:_0xa7985}=_0x3ad41e[_0x4cfd0d],_0xc249ef=this[_0x582dd6(0x175)][_0x582dd6(0xa7)](_0x146e36,_0x187399),_0x22cae4=this[_0x582dd6(0x175)][_0x582dd6(0xa7)](_0x57a0c6,_0xa7985);if(_0x197898(_0xc249ef)||_0x197898(_0x22cae4)){this['_logService'][_0x582dd6(0x36e)]('[CollaborationUndoRedoService]',_0x582dd6(0x1c9),_0xc249ef,_0x22cae4);break;}_0x146e36=_0xc249ef['c1Prime'],_0x57a0c6=_0x22cae4['c1Prime'],_0x5ee003['push']({'unitID':_0x36b379,'undoMutations':_0xc249ef[_0x582dd6(0x1e9)],'redoMutations':_0x22cae4[_0x582dd6(0x1e9)]});}return _0x5ee003[_0x582dd6(0x19d)]();}};wt=Kr([Ae(0x0,_0x248930),Ae(0x1,_0x185ede),Ae(0x2,_0x1fb165),Ae(0x3,_0x12a25b),Ae(0x4,_0x43687c)],wt);var Li=Object[_0xfea5bc(0x247)],zr=Object[_0xfea5bc(0x30f)],Yr=(_0x37be0f,_0x142b6e,_0x3372d)=>_0x142b6e in _0x37be0f?Li(_0x37be0f,_0x142b6e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3372d}):_0x37be0f[_0x142b6e]=_0x3372d,qr=(_0x5c5029,_0x5991d8,_0x3faac5,_0x13ca6e)=>{var _0x12b416=_0xfea5bc;for(var _0x25ace8=_0x13ca6e>0x1?void 0x0:_0x13ca6e?zr(_0x5991d8,_0x3faac5):_0x5991d8,_0xc3cfff=_0x5c5029[_0x12b416(0x28a)]-0x1,_0x3d8569;_0xc3cfff>=0x0;_0xc3cfff--)(_0x3d8569=_0x5c5029[_0xc3cfff])&&(_0x25ace8=(_0x13ca6e?_0x3d8569(_0x5991d8,_0x3faac5,_0x25ace8):_0x3d8569(_0x25ace8))||_0x25ace8);return _0x13ca6e&&_0x25ace8&&Li(_0x5991d8,_0x3faac5,_0x25ace8),_0x25ace8;},Et=(_0x3ef93f,_0xe6732f)=>(_0x2ef674,_0x30b6ec)=>_0xe6732f(_0x2ef674,_0x30b6ec,_0x3ef93f),Jr=(_0x4b749d,_0x5a4487,_0x2d4cf1)=>Yr(_0x4b749d,_0x5a4487+'',_0x2d4cf1);const Xr=_0xfea5bc(0x1a1);let Ut=class extends _0x5dad89{constructor(_0x36778a=Wn,_0x4ed0da,_0x223281,_0x559774){var _0x5cd985=_0xfea5bc;super(),this[_0x5cd985(0xf9)]=_0x36778a,this[_0x5cd985(0xa5)]=_0x4ed0da,this[_0x5cd985(0x239)]=_0x223281,this[_0x5cd985(0x132)]=_0x559774;const {..._0x21e469}=this[_0x5cd985(0xf9)];this['_configService'][_0x5cd985(0x1d2)](Y,_0x21e469);}['onStarting'](){var _0x27bc5b=_0xfea5bc;this[_0x27bc5b(0x222)](),this[_0x27bc5b(0xdf)]();}['_registerDependencies'](){var _0xfadeb2=_0xfea5bc,_0x28f6ac,_0xa2d62,_0x2a0534,_0x5ae997;this[_0xfadeb2(0x239)][_0xfadeb2(0x178)](_0x2b9d6a)&&this[_0xfadeb2(0xa5)][_0xfadeb2(0x36e)](_0xfadeb2(0x20c),_0xfadeb2(0x128));const _0x278ed8=_0x2ec949([[_0x2b9d6a,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0xa2d62=(_0x28f6ac=this['_config'])==null?void 0x0:_0x28f6ac['socketService'])!=null?_0xa2d62:It}],[_0x4adf9f,{'useClass':Dt}],[_0x4b1b13,{'useClass':yt}],[_0x262929,{'useClass':Nt}],[_0x19c147,{'useClass':Pt}],[rt],[Rt]],(_0x2a0534=this['_config'])==null?void 0x0:_0x2a0534[_0xfadeb2(0x330)]);if(!((_0x5ae997=this[_0xfadeb2(0xf9)])!=null&&_0x5ae997['enableSingleActiveInstanceLock'])){const _0x4a244a=_0x278ed8[_0xfadeb2(0x315)](([_0x396388])=>_0x396388===_t);_0x4a244a!==-0x1&&_0x278ed8[_0xfadeb2(0xe1)](_0x4a244a,0x1);}_0x55e183(this[_0xfadeb2(0x239)],_0x278ed8);}['_initDependencies'](){var _0x4cce0a=_0xfea5bc,_0x3e0668,_0xe3b14e,_0x1cc2bd;this['_injector'][_0x4cce0a(0x1da)](_0x221528)[_0x4cce0a(0x92)]({'priority':0x14,'interceptor':_0x22c927({'maxParallel':0x6})}),(_0x3e0668=this[_0x4cce0a(0xf9)])!=null&&_0x3e0668['enableOfflineEditing']||(_0xe3b14e=this[_0x4cce0a(0x239)]['get'](X,_0x273632[_0x4cce0a(0x1e0)]))==null||_0xe3b14e[_0x4cce0a(0xbd)](),(_0x1cc2bd=this[_0x4cce0a(0xf9)])!=null&&_0x1cc2bd[_0x4cce0a(0x326)]&&_0x41afa0(this[_0x4cce0a(0x239)],[[ot]]),_0x41afa0(this['_injector'],[[at],[rt],[ct]]);}};Jr(Ut,_0xfea5bc(0x277),Xr),Ut=qr([_0x485a20(_0x4829a6,_0x3eb317,_0x4fa0fb),Et(0x1,_0x43687c),Et(0x2,_0x5d1423(_0xd0e7e3)),Et(0x3,_0x39bec4)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Ni as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,fo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,uo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Nn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,vo as getLocalCacheKey,zn as serializeCombRequest};
|