@univerjs-pro/collaboration-client 0.9.2-nightly.202507131606 → 0.9.2-nightly.202507141607
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/ko-KR.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/ko-KR.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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/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/ko-KR.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 +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x15a3f7=_0x451b;(function(_0x5c2c38,_0x16a681){var _0x391380=_0x451b,_0x565bcc=_0x5c2c38();while(!![]){try{var _0x42b621=parseInt(_0x391380(0x1bc))/0x1+-parseInt(_0x391380(0x250))/0x2+parseInt(_0x391380(0x2d3))/0x3*(parseInt(_0x391380(0x39f))/0x4)+parseInt(_0x391380(0x3ed))/0x5*(-parseInt(_0x391380(0x3cc))/0x6)+parseInt(_0x391380(0x489))/0x7*(parseInt(_0x391380(0x3be))/0x8)+-parseInt(_0x391380(0x2f9))/0x9+parseInt(_0x391380(0x45e))/0xa*(-parseInt(_0x391380(0x3ef))/0xb);if(_0x42b621===_0x16a681)break;else _0x565bcc['push'](_0x565bcc['shift']());}catch(_0x29943f){_0x565bcc['push'](_0x565bcc['shift']());}}}(_0xed6f,0x9fa50));var Di=Object[_0x15a3f7(0x2fb)],Ui=(_0x1b3f05,_0x5e3f76,_0x26d8d6)=>_0x5e3f76 in _0x1b3f05?Di(_0x1b3f05,_0x5e3f76,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26d8d6}):_0x1b3f05[_0x5e3f76]=_0x26d8d6,N=(_0x2dc703,_0x7d096a,_0xf2f5ea)=>Ui(_0x2dc703,typeof _0x7d096a!=_0x15a3f7(0x487)?_0x7d096a+'':_0x7d096a,_0xf2f5ea);import{createIdentifier as _0x56f496,Inject as _0x2b7a12,Injector as _0x59694f,IConfigService as _0x47f3d0,ILogService as _0xa648c6,Disposable as _0x651287,DisposableCollection as _0x39b887,toDisposable as _0xa590bb,IUniverInstanceService as _0x2ac46f,UserManagerService as _0xf7e5ef,UniverInstanceType as _0xdcaf5b,LocaleService as _0x990d00,Optional as _0x34de02,RxDisposable as _0x40a75e,Tools as _0x35e9a6,Rectangle as _0x3db2f6,ICommandService as _0x36f535,JSONX as _0x119897,CommandType as _0x422a3a,IUndoRedoService as _0x1ec630,IPermissionService as _0x26b2f2,sequenceExecute as _0x29e1c0,Workbook as _0x3866ef,MentionType as _0x2a6bc1,isInternalEditorID as _0x3d3869,LocalUndoRedoService as _0xe0ff70,IContextService as _0xdcd6c0,DependentOn as _0x173448,Plugin as _0x57e74e,merge as _0x19b627,mergeOverrideWithDependencies as _0x52a659,IAuthzIoService as _0x389b75,IMentionIOService as _0x2249a7,registerDependencies as _0xf91846,Quantity as _0x2c67d4,touchDependencies as _0x5729f4}from'@univerjs/core';import{Subject as _0x3cc23b,merge as _0x435616,of as _0x2381d1,BehaviorSubject as _0x14ddda,takeUntil as _0x1773e2,ReplaySubject as _0x5d3f74,take as _0x74e2e3,map as _0x487dcd,shareReplay as _0x1aee6c,firstValueFrom as _0xdd3878,concatMap as _0x48c3a8}from'rxjs';import{map as _0x3a21da,take as _0x19cfd4,filter as _0x37a8f5,delay as _0x309e49,takeUntil as _0x25bfb8}from'rxjs/operators';import{CollaborationEvent as _0x27b4c0,ISnapshotServerService as _0x1216d1,parseChangesetToProtocol as _0x2a8276,ITransformService as _0x17adc8,isTransformMutationsWithChangesetSuccess as _0x5844c7,mapDocumentTypeToUniverType as _0x2843eb,RevisionService as _0x5cf756,isTransformChangesetsSuccess as _0xa255da,CompressMutationService as _0x14eedd,parseProtocolChangeset as _0x482ff8,uuidv4 as _0x4d3d5e,SnapshotService as _0x53da64,textEncoder as _0x50a441,b64DecodeUnicode as _0x51193d,isTransformMutationsWithChangesetFailure as _0x501a92,UniverCollaborationPlugin as _0x207d5c}from'@univerjs-pro/collaboration';import{HTTPService as _0x52d2f1,ISocketService as _0x145387,MergeInterceptorFactory as _0x5078ed,HTTPRequest as _0x23972e,UniverNetworkPlugin as _0x4cd951,ThresholdInterceptorFactory as _0xd6ed39}from'@univerjs/network';import{ITelemetryService as _0x40611a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x21e6c0}from'@univerjs/docs';import{SheetsSelectionsService as _0x2fc8d2,SetSelectionsOperation as _0x949703,InsertSheetMutation as _0x3fbb52,EmptyMutation as _0x447f9e,WorkbookEditablePermission as _0x8d1a4,SheetPermissionInitController as _0x39c3b5}from'@univerjs/sheets';import{ImageSourceType as _0x532200,ImageUploadStatusType as _0x4e4ebf,IImageIoService as _0x3f56aa}from'@univerjs/drawing';import{getGlobalObject as _0x53c0e5}from'@univerjs-pro/license';const fs=_0x15a3f7(0x2d8),vs='/universer-api/snapshot',ps=_0x15a3f7(0x284),yr=_0x15a3f7(0x30a),ms=0x7d0,gs=_0x15a3f7(0x2a4),Ss=_0x15a3f7(0x2c0),Nr=_0x15a3f7(0x230),Es=_0x15a3f7(0x495),Is=0x7530,fi='HEARTBEAT_TIMEOUT',vi=0x4e20,Ts=0x4e20,Cs=_0x15a3f7(0x423),Rs=0x3,Dr=_0x15a3f7(0x2b4),Ur=0x3e8,Os='COLLAB_SUBMIT_CHANGESET_URL',bs='/universer-api/comb',ys='LOGIN_URL_KEY',Ns=_0x15a3f7(0x229),Ar=_0x15a3f7(0x31e),wr=_0x15a3f7(0x1c4);var pi=(_0x533ab5=>(_0x533ab5[_0x533ab5[_0x15a3f7(0x274)]=0x0]=_0x15a3f7(0x274),_0x533ab5[_0x533ab5['OK']=0x1]='OK',_0x533ab5[_0x533ab5[_0x15a3f7(0x40a)]=0x2]=_0x15a3f7(0x40a),_0x533ab5[_0x533ab5[_0x15a3f7(0x39c)]=0x3]=_0x15a3f7(0x39c),_0x533ab5[_0x533ab5[_0x15a3f7(0x483)]=0x4]=_0x15a3f7(0x483),_0x533ab5[_0x533ab5[_0x15a3f7(0x3d8)]=0x5]=_0x15a3f7(0x3d8),_0x533ab5[_0x533ab5[_0x15a3f7(0x4a4)]=0x6]=_0x15a3f7(0x4a4),_0x533ab5[_0x533ab5['INVALID_ARGUMENT']=0x7]=_0x15a3f7(0x2a8),_0x533ab5[_0x533ab5['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x533ab5[_0x533ab5['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x533ab5[_0x533ab5[_0x15a3f7(0x294)]=0xa]=_0x15a3f7(0x294),_0x533ab5[_0x533ab5[_0x15a3f7(0x1f8)]=0xb]=_0x15a3f7(0x1f8),_0x533ab5[_0x533ab5[_0x15a3f7(0x358)]=0xc]=_0x15a3f7(0x358),_0x533ab5[_0x533ab5[_0x15a3f7(0x477)]=0xd]=_0x15a3f7(0x477),_0x533ab5[_0x533ab5['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x15a3f7(0x3b9),_0x533ab5[_0x533ab5['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x533ab5[_0x533ab5[_0x15a3f7(0x498)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x533ab5[_0x533ab5[_0x15a3f7(0x311)]=0x1772]=_0x15a3f7(0x311),_0x533ab5[_0x533ab5[_0x15a3f7(0x29b)]=0x1773]=_0x15a3f7(0x29b),_0x533ab5[_0x533ab5['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x533ab5[_0x533ab5[_0x15a3f7(0x486)]=0x1b5a]=_0x15a3f7(0x486),_0x533ab5[_0x533ab5[_0x15a3f7(0x329)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x533ab5[_0x533ab5['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x533ab5[_0x533ab5[_0x15a3f7(0x447)]=0x1b5d]=_0x15a3f7(0x447),_0x533ab5[_0x533ab5['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x15a3f7(0x231),_0x533ab5[_0x533ab5[_0x15a3f7(0x3e2)]=0x2329]=_0x15a3f7(0x3e2),_0x533ab5[_0x533ab5[_0x15a3f7(0x2ca)]=0x232a]=_0x15a3f7(0x2ca),_0x533ab5[_0x533ab5[_0x15a3f7(0x3ad)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x533ab5[_0x533ab5[_0x15a3f7(0x1f1)]=0x232c]=_0x15a3f7(0x1f1),_0x533ab5[_0x533ab5[_0x15a3f7(0x249)]=0x232d]=_0x15a3f7(0x249),_0x533ab5[_0x533ab5[_0x15a3f7(0x2b1)]=0x2711]=_0x15a3f7(0x2b1),_0x533ab5[_0x533ab5[_0x15a3f7(0x1db)]=0x2712]=_0x15a3f7(0x1db),_0x533ab5[_0x533ab5[_0x15a3f7(0x2bb)]=0x2713]=_0x15a3f7(0x2bb),_0x533ab5[_0x533ab5[_0x15a3f7(0x3c4)]=0x2714]=_0x15a3f7(0x3c4),_0x533ab5[_0x533ab5['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x15a3f7(0x463),_0x533ab5[_0x533ab5[_0x15a3f7(0x31f)]=0x271b]=_0x15a3f7(0x31f),_0x533ab5[_0x533ab5['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x15a3f7(0x38f),_0x533ab5[_0x533ab5[_0x15a3f7(0x1d5)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x533ab5[_0x533ab5[_0x15a3f7(0x428)]=0x271e]=_0x15a3f7(0x428),_0x533ab5[_0x533ab5[_0x15a3f7(0x281)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x533ab5[_0x533ab5[_0x15a3f7(0x1bd)]=0x2720]=_0x15a3f7(0x1bd),_0x533ab5[_0x533ab5['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x533ab5[_0x533ab5['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x533ab5[_0x533ab5[_0x15a3f7(0x3f3)]=0x2ee2]=_0x15a3f7(0x3f3),_0x533ab5[_0x533ab5['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x533ab5[_0x533ab5[_0x15a3f7(0x437)]=0x2ee4]=_0x15a3f7(0x437),_0x533ab5[_0x533ab5[_0x15a3f7(0x1fd)]=0x2ee5]=_0x15a3f7(0x1fd),_0x533ab5[_0x533ab5[_0x15a3f7(0x200)]=0x32c9]=_0x15a3f7(0x200),_0x533ab5[_0x533ab5['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x15a3f7(0x3d3),_0x533ab5[_0x533ab5[_0x15a3f7(0x391)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x533ab5[_0x533ab5['UNRECOGNIZED']=-0x1]=_0x15a3f7(0x414),_0x533ab5))(pi||{}),Z=(_0x8167d3=>(_0x8167d3[_0x8167d3[_0x15a3f7(0x3e4)]=0x0]=_0x15a3f7(0x3e4),_0x8167d3[_0x8167d3['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x8167d3[_0x8167d3['UNIVER_SHEET']=0x2]=_0x15a3f7(0x1fa),_0x8167d3[_0x8167d3[_0x15a3f7(0x27a)]=0x3]='UNIVER_SLIDE',_0x8167d3[_0x8167d3[_0x15a3f7(0x4a5)]=0x4]=_0x15a3f7(0x4a5),_0x8167d3[_0x8167d3[_0x15a3f7(0x414)]=-0x1]=_0x15a3f7(0x414),_0x8167d3))(Z||{}),F=(_0x42462d=>(_0x42462d[_0x42462d['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x42462d[_0x42462d[_0x15a3f7(0x354)]=0x1]=_0x15a3f7(0x354),_0x42462d[_0x42462d[_0x15a3f7(0x44f)]=0x2]='JOIN',_0x42462d[_0x42462d['LEAVE']=0x3]=_0x15a3f7(0x1e5),_0x42462d[_0x42462d[_0x15a3f7(0x22d)]=0x4]=_0x15a3f7(0x22d),_0x42462d[_0x42462d[_0x15a3f7(0x239)]=0x5]=_0x15a3f7(0x239),_0x42462d[_0x42462d['RECV']=0x6]=_0x15a3f7(0x300),_0x42462d[_0x42462d[_0x15a3f7(0x414)]=-0x1]='UNRECOGNIZED',_0x42462d))(F||{}),me=(_0x1dd21a=>(_0x1dd21a[_0x1dd21a[_0x15a3f7(0x407)]=0x0]=_0x15a3f7(0x407),_0x1dd21a[_0x1dd21a['OK']=0x1]='OK',_0x1dd21a[_0x1dd21a['FAIL']=0x2]=_0x15a3f7(0x1c2),_0x1dd21a[_0x1dd21a[_0x15a3f7(0x2bd)]=0x3e9]='JOIN_ROOM_FULL',_0x1dd21a[_0x1dd21a['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x1dd21a[_0x1dd21a[_0x15a3f7(0x2b6)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x1dd21a[_0x1dd21a[_0x15a3f7(0x445)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x1dd21a[_0x1dd21a[_0x15a3f7(0x414)]=-0x1]=_0x15a3f7(0x414),_0x1dd21a))(me||{}),mi=(_0x3e63fc=>(_0x3e63fc[_0x3e63fc[_0x15a3f7(0x409)]=0x0]=_0x15a3f7(0x409),_0x3e63fc[_0x3e63fc[_0x15a3f7(0x252)]=0x1]='HttpImport',_0x3e63fc[_0x3e63fc[_0x15a3f7(0x2ec)]=0x2]='HttpExport',_0x3e63fc[_0x3e63fc[_0x15a3f7(0x36f)]=0x3]=_0x15a3f7(0x36f),_0x3e63fc[_0x3e63fc[_0x15a3f7(0x367)]=0x4]=_0x15a3f7(0x367),_0x3e63fc[_0x3e63fc[_0x15a3f7(0x29f)]=0x5]=_0x15a3f7(0x29f),_0x3e63fc[_0x3e63fc['UNRECOGNIZED']=-0x1]=_0x15a3f7(0x414),_0x3e63fc))(mi||{});const K=_0x15a3f7(0x339),Ds={};var ne=(_0x42a402=>(_0x42a402[_0x15a3f7(0x233)]=_0x15a3f7(0x233),_0x42a402[_0x15a3f7(0x39c)]=_0x15a3f7(0x39c),_0x42a402['CONFLICT']=_0x15a3f7(0x272),_0x42a402[_0x15a3f7(0x472)]='CLOSE_ROOM',_0x42a402[_0x15a3f7(0x380)]='JOIN_ROOM_FAILED',_0x42a402[_0x15a3f7(0x3c5)]='SOCKET_FAILED_RETRY',_0x42a402['SOCKET_FAILED']=_0x15a3f7(0x426),_0x42a402[_0x15a3f7(0x2c4)]=_0x15a3f7(0x2c4),_0x42a402))(ne||{});class ve{constructor(){var _0x182462=_0x15a3f7;N(this,_0x182462(0x438),new _0x3cc23b()),N(this,_0x182462(0x468),this[_0x182462(0x438)][_0x182462(0x1c9)]());}[_0x15a3f7(0x234)](_0x2c2337){var _0x3d247a=_0x15a3f7;this[_0x3d247a(0x438)]['next'](_0x2c2337);}}const Us=_0x56f496(_0x15a3f7(0x27c));function As(_0x36249e){var _0x2f588e=_0x15a3f7,_0x42f9a3,_0x152d0c,_0x4ed53b,_0x48ba3a,_0x2c3845;const _0x16d00c=_0x36249e[_0x2f588e(0x340)],_0x5123c1=JSON[_0x2f588e(0x322)](_0x16d00c);switch(_0x5123c1[_0x2f588e(0x3c3)]){case F['HEARTBEAT']:case F[_0x2f588e(0x354)]:{const _0x587aaa=_0x5123c1[_0x2f588e(0x3b8)];return{..._0x5123c1,'data':_0x587aaa,'cmd':_0x5123c1[_0x2f588e(0x3c3)]};}case F['JOIN']:{const _0x351e05=_0x5123c1[_0x2f588e(0x2f7)];return{..._0x5123c1,'data':_0x351e05,'cmd':_0x5123c1[_0x2f588e(0x3c3)]};}case F['RECV']:{const _0x466a26=_0x5123c1[_0x2f588e(0x35d)];switch(_0x466a26[_0x2f588e(0x221)]){case _0x27b4c0[_0x2f588e(0x456)]:return{..._0x5123c1,'data':{..._0x466a26,'data':(_0x42f9a3=_0x466a26[_0x2f588e(0x2db)])==null?void 0x0:_0x42f9a3['cs']},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0[_0x2f588e(0x3a8)]:return{..._0x5123c1,'data':{..._0x466a26,'data':(_0x152d0c=_0x466a26[_0x2f588e(0x327)])==null?void 0x0:_0x152d0c['cs']},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0['NEW_CHANGESETS']:return{..._0x5123c1,'data':{..._0x466a26,'data':(_0x4ed53b=_0x466a26['newCsEvent'])==null?void 0x0:_0x4ed53b['cs']},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0[_0x2f588e(0x45a)]:return{..._0x5123c1,'data':{..._0x466a26,'data':(_0x48ba3a=_0x466a26[_0x2f588e(0x450)])==null?void 0x0:_0x48ba3a['cs']},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0['CHANGESET_SHOULD_RETRY']:return{..._0x5123c1,'data':{..._0x466a26,'data':(_0x2c3845=_0x466a26['csShouldRetryEvent'])==null?void 0x0:_0x2c3845['cs']},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0[_0x2f588e(0x1df)]:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26[_0x2f588e(0x2e8)]},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0['USERS_ENTER']:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26[_0x2f588e(0x2ed)]},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0['USERS_LEAVE']:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26[_0x2f588e(0x1a7)]},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0[_0x2f588e(0x2e7)]:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26[_0x2f588e(0x212)]},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0[_0x2f588e(0x3a4)]:case _0x27b4c0[_0x2f588e(0x420)]:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26[_0x2f588e(0x46a)]},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0[_0x2f588e(0x2a1)]:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26[_0x2f588e(0x212)]},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0[_0x2f588e(0x3f0)]:return{..._0x5123c1,'data':_0x466a26,'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0[_0x2f588e(0x3ae)]:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26['commentUpdateEvent']},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0['UPDATE_PERMISSION_OBJ']:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26[_0x2f588e(0x46f)]},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0['SHOULD_CLOSE_CONN']:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26['shouldCloseConn']},'cmd':_0x5123c1[_0x2f588e(0x3c3)]};case _0x27b4c0['UNISCRIPT_RUN']:return{..._0x5123c1,'data':{..._0x466a26,'data':_0x466a26[_0x2f588e(0x1b3)]},'cmd':_0x5123c1['cmd']};default:return _0x5123c1;}}default:return _0x5123c1;}}function ws(_0x3e7d18){var _0x36e06c=_0x15a3f7;switch(_0x3e7d18[_0x36e06c(0x3c3)]){case F['HEARTBEAT']:case F[_0x36e06c(0x354)]:return JSON[_0x36e06c(0x404)]({'cmd':_0x3e7d18[_0x36e06c(0x3c3)],'routeKey':_0x3e7d18[_0x36e06c(0x3fd)]});case F['INGEST']:{let _0x1f71cd;switch(_0x3e7d18[_0x36e06c(0x340)][_0x36e06c(0x221)]){case _0x27b4c0[_0x36e06c(0x1df)]:{_0x1f71cd={'eventID':_0x27b4c0[_0x36e06c(0x1df)],'updateCursorEvent':_0x3e7d18[_0x36e06c(0x340)][_0x36e06c(0x340)]};break;}case _0x27b4c0[_0x36e06c(0x436)]:{_0x1f71cd={'eventID':_0x27b4c0[_0x36e06c(0x436)],'leaveEvent':_0x3e7d18[_0x36e06c(0x340)]['data']};break;}case _0x27b4c0[_0x36e06c(0x24b)]:{_0x1f71cd={'eventID':_0x27b4c0[_0x36e06c(0x24b)],'joinEvent':_0x3e7d18[_0x36e06c(0x340)][_0x36e06c(0x340)]};break;}case _0x27b4c0['LIVESHARE_NEW_HOST']:{_0x1f71cd={'eventID':_0x27b4c0['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3e7d18[_0x36e06c(0x340)][_0x36e06c(0x340)]};break;}case _0x27b4c0[_0x36e06c(0x420)]:{_0x1f71cd={'eventID':_0x27b4c0[_0x36e06c(0x420)],'liveShareOperation':_0x3e7d18[_0x36e06c(0x340)][_0x36e06c(0x340)]};break;}case _0x27b4c0[_0x36e06c(0x2a1)]:{_0x1f71cd={'eventID':_0x27b4c0[_0x36e06c(0x2a1)],'liveShareTerminate':_0x3e7d18['data'][_0x36e06c(0x340)]};break;}case _0x27b4c0['LIVESHARE_REQUEST_HOST']:{_0x1f71cd={'eventID':_0x27b4c0[_0x36e06c(0x2e3)],'liveShareRequestHost':_0x3e7d18[_0x36e06c(0x340)][_0x36e06c(0x340)]};break;}case _0x27b4c0[_0x36e06c(0x3a4)]:{_0x1f71cd={'eventID':_0x27b4c0[_0x36e06c(0x3a4)]};break;}default:_0x1f71cd={'eventID':_0x3e7d18[_0x36e06c(0x340)][_0x36e06c(0x221)]};}return JSON[_0x36e06c(0x404)]({'cmd':_0x3e7d18[_0x36e06c(0x3c3)],'routeKey':_0x3e7d18[_0x36e06c(0x3fd)],'collaMsg':_0x1f71cd});}case F[_0x36e06c(0x44f)]:return JSON[_0x36e06c(0x404)]({'cmd':_0x3e7d18[_0x36e06c(0x3c3)],'routeKey':_0x3e7d18[_0x36e06c(0x3fd)],'joinReq':_0x3e7d18[_0x36e06c(0x340)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x3e7d18[_0x36e06c(0x3c3)],'routeKey':_0x3e7d18[_0x36e06c(0x3fd)],'leaveReq':_0x3e7d18[_0x36e06c(0x340)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ps=Object[_0x15a3f7(0x3f6)],Ls=(_0x504a60,_0x298cee,_0x34a092,_0x2e2863)=>{var _0x39b3af=_0x15a3f7;for(var _0x3565eb=_0x2e2863>0x1?void 0x0:_0x2e2863?Ps(_0x298cee,_0x34a092):_0x298cee,_0x4e178a=_0x504a60[_0x39b3af(0x292)]-0x1,_0x46b357;_0x4e178a>=0x0;_0x4e178a--)(_0x46b357=_0x504a60[_0x4e178a])&&(_0x3565eb=_0x46b357(_0x3565eb)||_0x3565eb);return _0x3565eb;},Ue=(_0x4f3c68,_0x427823)=>(_0x877ed2,_0x3b5cad)=>_0x427823(_0x877ed2,_0x3b5cad,_0x4f3c68);const gi=_0x56f496(_0x15a3f7(0x2ee));function Ms(_0x20b137,_0x258e4c,_0x58c0c3){var _0x4fbbcc=_0x15a3f7;return _0x20b137+'/'+_0x258e4c+_0x4fbbcc(0x446)+_0x58c0c3+_0x4fbbcc(0x491);}let Ft=class extends _0x651287{constructor(_0x11c0e9,_0x2a3556,_0x2ef906,_0x28c26b,_0x58c8a9){var _0x1a044a=_0x15a3f7;super(),this['_injector']=_0x11c0e9,this['_httpService']=_0x2a3556,this['_configService']=_0x2ef906,this['_logService']=_0x28c26b,this[_0x1a044a(0x2b5)]=_0x58c8a9;}[_0x15a3f7(0x347)](_0x5b1951){var _0x52ca16=_0x15a3f7;const _0x438d32=this['_injector'][_0x52ca16(0x402)](_0x145387);if(!_0x438d32)throw new Error(_0x52ca16(0x209));const _0x47ba00=_0x438d32[_0x52ca16(0x1c1)](_0x5b1951);if(!_0x47ba00)throw new Error(_0x52ca16(0x3b1));const _0x3a1fd3=new _0x39b887(),_0x4c8490=new _0x3cc23b();_0x3a1fd3[_0x52ca16(0x342)](_0x47ba00['close$'][_0x52ca16(0x32e)](_0x5917cc=>_0x4c8490[_0x52ca16(0x3ff)](_0x5917cc))),_0x3a1fd3['add'](_0xa590bb(()=>_0x4c8490[_0x52ca16(0x345)]()));const _0x4fbc8c=new _0x3cc23b();_0x3a1fd3[_0x52ca16(0x342)](_0x47ba00['error$'][_0x52ca16(0x32e)](_0x20cdcd=>_0x4fbc8c[_0x52ca16(0x3ff)](_0x20cdcd))),_0x3a1fd3['add'](_0xa590bb(()=>_0x4fbc8c[_0x52ca16(0x345)]()));const _0x33174c=new _0x3cc23b();_0x3a1fd3[_0x52ca16(0x342)](_0x47ba00['message$'][_0x52ca16(0x32e)](_0x1fc11a=>{var _0x4762a8=_0x52ca16;const _0x213026=As(_0x1fc11a);_0x33174c[_0x4762a8(0x3ff)](_0x213026);})),_0x3a1fd3[_0x52ca16(0x342)](_0xa590bb(()=>_0x33174c[_0x52ca16(0x345)]()));let _0x205e10;const _0x321d20=()=>{var _0x5eaa8e=_0x52ca16;_0x4fbc8c['next'](new Event(_0x5eaa8e(0x26f))),_0x4c8490['next'](new Event(_0x5eaa8e(0x26f))),_0x205e10[_0x5eaa8e(0x1e3)]();};return _0x205e10={'memberID':'','close$':_0x4c8490[_0x52ca16(0x1c9)](),'error$':_0x4fbc8c['asObservable'](),'open$':_0x47ba00[_0x52ca16(0x351)],'message$':_0x33174c['asObservable'](),'send':_0x1e8688=>{var _0x1d9b23=_0x52ca16;if(_0x1e8688[_0x1d9b23(0x3c3)]===F[_0x1d9b23(0x22d)]){if(_0x1e8688[_0x1d9b23(0x340)][_0x1d9b23(0x221)]===_0x27b4c0[_0x1d9b23(0x32b)]){this['_submitChangeset'](_0x205e10,_0x1e8688[_0x1d9b23(0x340)])[_0x1d9b23(0x1e7)](_0x218c9b=>{var _0x156a92=_0x1d9b23;this[_0x156a92(0x485)][_0x156a92(0x1ed)](_0x218c9b),_0x321d20();});return;}if(_0x1e8688[_0x1d9b23(0x340)]['eventID']===_0x27b4c0['FETCH_MISSING']){const _0x23101d=_0x1e8688[_0x1d9b23(0x340)];this[_0x1d9b23(0x2ba)](_0x23101d)[_0x1d9b23(0x302)](_0x57fc4f=>{var _0x18a38b=_0x1d9b23;_0x33174c[_0x18a38b(0x3ff)]({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0x23101d[_0x18a38b(0x340)][_0x18a38b(0x366)],'routeType':'','data':{'eventID':_0x27b4c0[_0x18a38b(0x41a)],'data':{'changesets':_0x57fc4f}}});})[_0x1d9b23(0x1e7)](_0x1cfd16=>{var _0x5ae167=_0x1d9b23;this[_0x5ae167(0x485)][_0x5ae167(0x1ed)](_0x1cfd16),_0x321d20();});return;}}_0x47ba00['send'](ws(_0x1e8688));},'close':()=>{var _0x2e22aa=_0x52ca16;_0x47ba00[_0x2e22aa(0x1e3)](),_0x3a1fd3[_0x2e22aa(0x214)]();}},_0x205e10;}async['_submitChangeset'](_0xf21b4b,_0x491c2d){var _0x25d57a=_0x15a3f7,_0xaabc4a,_0x1c6660;const {unitType:_0x465ca6,unitID:_0x92f4ee,changeset:_0x770ae8}=_0x491c2d[_0x25d57a(0x340)],_0x41f827={'unitID':_0x92f4ee,'memberID':_0xf21b4b[_0x25d57a(0x465)],'type':_0x465ca6,'changeset':_0x2a8276(_0x770ae8)},_0x189233=this[_0x25d57a(0x3df)][_0x25d57a(0x24e)](Os),_0x8d4ab0=this[_0x25d57a(0x3df)][_0x25d57a(0x24e)](K),_0x24233e=Ms((_0x1c6660=(_0xaabc4a=_0x8d4ab0==null?void 0x0:_0x8d4ab0[_0x25d57a(0x4a1)])!=null?_0xaabc4a:_0x189233)!=null?_0x1c6660:bs,_0x465ca6,_0x92f4ee);try{await this[_0x25d57a(0x3a1)]['post'](_0x24233e,{'body':_0x41f827});}catch(_0x35e172){throw this[_0x25d57a(0x485)][_0x25d57a(0x1ed)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x35e172;}}async['_fetchMissChangesets'](_0x47e907){var _0x31ccd3=_0x15a3f7;const {unitID:_0x3d0549,from:_0x29ec22,to:_0x43bbc4,unitType:_0x4433c9}=_0x47e907['data'];return(await this[_0x31ccd3(0x2b5)][_0x31ccd3(0x3ba)]({'metadata':void 0x0},{'unitID':_0x3d0549,'type':_0x4433c9,'from':_0x29ec22,'to':_0x43bbc4}))['changesets'];}};Ft=Ls([Ue(0x0,_0x2b7a12(_0x59694f)),Ue(0x1,_0x2b7a12(_0x52d2f1)),Ue(0x2,_0x47f3d0),Ue(0x3,_0xa648c6),Ue(0x4,_0x1216d1)],Ft);const xs=_0x15a3f7(0x2c8);function ks(_0x1bdb2a){var _0xf4553c=_0x15a3f7;return JSON[_0xf4553c(0x404)](_0x1bdb2a)['length'];}class Si{constructor(){N(this,'_commentUpdate$',new _0x3cc23b()),N(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x15a3f7(0x27d)](_0x162ab0){var _0x45224c=_0x15a3f7;this[_0x45224c(0x23f)][_0x45224c(0x3ff)](_0x162ab0);}}var $s=Object[_0x15a3f7(0x3f6)],Hs=(_0x209ee3,_0x38250c,_0x49298a,_0x35565d)=>{for(var _0x512960=_0x35565d>0x1?void 0x0:_0x35565d?$s(_0x38250c,_0x49298a):_0x38250c,_0x1d3f38=_0x209ee3['length']-0x1,_0x552c53;_0x1d3f38>=0x0;_0x1d3f38--)(_0x552c53=_0x209ee3[_0x1d3f38])&&(_0x512960=_0x552c53(_0x512960)||_0x512960);return _0x512960;},Vt=(_0x54d536,_0x381b40)=>(_0xebcb,_0x1a3d71)=>_0x381b40(_0xebcb,_0x1a3d71,_0x54d536);let Pe=class extends _0x651287{constructor(_0x507298,_0x5192c8){var _0xa96719=_0x15a3f7;super(),N(this,_0xa96719(0x29a),new Map()),N(this,'_roomCreated$',new _0x3cc23b()),(this['_univerInstanceService']=_0x507298,this[_0xa96719(0x318)]=_0x5192c8,this[_0xa96719(0x375)](_0x435616(this[_0xa96719(0x488)][_0xa96719(0x264)](_0xdcaf5b[_0xa96719(0x1fa)])[_0xa96719(0x242)](_0x3a21da(_0x1c5d58=>_0x1c5d58[_0xa96719(0x361)]())),this[_0xa96719(0x488)][_0xa96719(0x264)](_0xdcaf5b['UNIVER_DOC'])['pipe'](_0x3a21da(_0x509831=>_0x509831['getUnitId']())),this[_0xa96719(0x488)][_0xa96719(0x264)](_0xdcaf5b[_0xa96719(0x27a)])['pipe'](_0x3a21da(_0x2854b4=>_0x2854b4['getUnitId']())))['subscribe'](_0xe7631f=>this[_0xa96719(0x2c2)](_0xe7631f))));}['waitForRoom$'](_0x38bb05){var _0x111afe=_0x15a3f7;return this[_0x111afe(0x29a)][_0x111afe(0x3a3)](_0x38bb05)?_0x2381d1(this[_0x111afe(0x29a)][_0x111afe(0x402)](_0x38bb05)):this[_0x111afe(0x476)][_0x111afe(0x242)](_0x3a21da(_0x470652=>{var _0x2f2592=_0x111afe;if(_0x470652===_0x38bb05)return this[_0x2f2592(0x29a)][_0x2f2592(0x402)](_0x470652);}));}['setCurrentUser'](_0x19451b){var _0x53e4d7=_0x15a3f7;this['_userManagerService'][_0x53e4d7(0x413)](_0x19451b);}['getCurrentUser'](){var _0x990ea0=_0x15a3f7;return this[_0x990ea0(0x318)][_0x990ea0(0x1a6)]();}[_0x15a3f7(0x2a2)](_0x44b082,_0x110492){var _0x4bab8f=_0x15a3f7;let _0x1d0593=this[_0x4bab8f(0x29a)][_0x4bab8f(0x402)](_0x44b082);_0x1d0593||(_0x1d0593=new Bs(),this[_0x4bab8f(0x29a)][_0x4bab8f(0x1d8)](_0x44b082,_0x1d0593),this[_0x4bab8f(0x476)]['next'](_0x44b082)),_0x1d0593[_0x4bab8f(0x2a2)](_0x110492);}[_0x15a3f7(0x46b)](_0x54011a,_0x4908ba){var _0xd36dcc=_0x15a3f7;const _0x3e70a8=this[_0xd36dcc(0x29a)]['get'](_0x54011a);_0x3e70a8&&_0x3e70a8[_0xd36dcc(0x46b)](_0x4908ba);}[_0x15a3f7(0x244)](_0x451327){var _0x29a3c9=_0x15a3f7;return this[_0x29a3c9(0x29a)][_0x29a3c9(0x402)](_0x451327);}[_0x15a3f7(0x227)](_0x5e6f7a,_0x199709){var _0x1ca96a=_0x15a3f7;const _0x40bfc1=this[_0x1ca96a(0x29a)][_0x1ca96a(0x402)](_0x5e6f7a);if(_0x40bfc1)return _0x40bfc1[_0x1ca96a(0x227)](_0x199709);}[_0x15a3f7(0x2c2)](_0xff3b23){var _0x1611eb=_0x15a3f7;const _0xf6dd4e=this[_0x1611eb(0x29a)]['get'](_0xff3b23);_0xf6dd4e&&(_0xf6dd4e[_0x1611eb(0x214)](),this[_0x1611eb(0x29a)]['delete'](_0xff3b23));}[_0x15a3f7(0x214)](){var _0x45dd12=_0x15a3f7;this['_roomMembers'][_0x45dd12(0x42a)](_0x2f4bdc=>_0x2f4bdc[_0x45dd12(0x214)]()),this[_0x45dd12(0x29a)][_0x45dd12(0x3dc)](),this['_roomCreated$'][_0x45dd12(0x345)]();}};Pe=Hs([Vt(0x0,_0x2ac46f),Vt(0x1,_0x2b7a12(_0xf7e5ef))],Pe);class Bs extends _0x651287{constructor(){var _0x1499fd=_0x15a3f7;super(...arguments),N(this,_0x1499fd(0x3ca),new Map()),N(this,_0x1499fd(0x3f7),new _0x14ddda(this['_members'])),N(this,_0x1499fd(0x1e8),this['_members$']['asObservable']());}[_0x15a3f7(0x214)](){var _0x1b9be4=_0x15a3f7;this[_0x1b9be4(0x3ca)][_0x1b9be4(0x3dc)]();}[_0x15a3f7(0x2a2)](_0xa990f8){var _0x238bac=_0x15a3f7;this[_0x238bac(0x3ca)][_0x238bac(0x1d8)](_0xa990f8['memberID'],_0xa990f8),this['_emitMembers']();}[_0x15a3f7(0x46b)](_0x3dc54b){var _0x2744cb=_0x15a3f7;this['_members'][_0x2744cb(0x365)](_0x3dc54b);}[_0x15a3f7(0x227)](_0x1f0554){var _0x3983c1=_0x15a3f7;return this[_0x3983c1(0x3ca)]['get'](_0x1f0554);}['getAllMembers'](){var _0x518ab3=_0x15a3f7;return Array[_0x518ab3(0x36b)](this[_0x518ab3(0x3ca)][_0x518ab3(0x4a0)]());}['_emitMembers'](){var _0x2d3173=_0x15a3f7;this[_0x2d3173(0x3f7)][_0x2d3173(0x3ff)](this['_members']);}}var js=Object[_0x15a3f7(0x3f6)],Fs=(_0x4f5704,_0x4451a6,_0x237d84,_0x5b029a)=>{var _0x4e9cab=_0x15a3f7;for(var _0xeaf67=_0x5b029a>0x1?void 0x0:_0x5b029a?js(_0x4451a6,_0x237d84):_0x4451a6,_0x215fc8=_0x4f5704[_0x4e9cab(0x292)]-0x1,_0x24a280;_0x215fc8>=0x0;_0x215fc8--)(_0x24a280=_0x4f5704[_0x215fc8])&&(_0xeaf67=_0x24a280(_0xeaf67)||_0xeaf67);return _0xeaf67;},pe=(_0xb0c5dc,_0x16e38b)=>(_0x5330f9,_0x280c41)=>_0x16e38b(_0x5330f9,_0x280c41,_0xb0c5dc),Se=(_0x28e230=>(_0x28e230[_0x28e230['IDLE']=0x0]=_0x15a3f7(0x1ae),_0x28e230[_0x28e230[_0x15a3f7(0x385)]=0x1]=_0x15a3f7(0x385),_0x28e230[_0x28e230[_0x15a3f7(0x279)]=0x2]=_0x15a3f7(0x279),_0x28e230[_0x28e230[_0x15a3f7(0x32f)]=0x3]=_0x15a3f7(0x32f),_0x28e230))(Se||{});const Gt={[me['FAIL']]:_0x15a3f7(0x22c),[me[_0x15a3f7(0x2bd)]]:_0x15a3f7(0x401),[me[_0x15a3f7(0x417)]]:_0x15a3f7(0x396),[me[_0x15a3f7(0x2b6)]]:_0x15a3f7(0x315),[me[_0x15a3f7(0x445)]]:_0x15a3f7(0x3da)};let gt=class extends _0x40a75e{constructor(_0x499997,_0x1c4191,_0x332450,_0x3d653e,_0xcb6df7,_0x5973ce,_0x310e41,_0x12b09d,_0x4eebad){var _0x3f3568=_0x15a3f7;super(),N(this,_0x3f3568(0x394),new _0x14ddda(0x0)),N(this,'sessionStatus$',this[_0x3f3568(0x394)][_0x3f3568(0x1c9)]()),N(this,_0x3f3568(0x438),new _0x3cc23b()),N(this,_0x3f3568(0x468),this['_event$'][_0x3f3568(0x1c9)]()),N(this,_0x3f3568(0x3a5)),N(this,'_socketMessageSubscription'),N(this,_0x3f3568(0x1f6)),N(this,_0x3f3568(0x330),!0x1),N(this,_0x3f3568(0x368),null),(this[_0x3f3568(0x34b)]=_0x499997,this['_logService']=_0x332450,this[_0x3f3568(0x3df)]=_0x3d653e,this[_0x3f3568(0x2eb)]=_0xcb6df7,this['_memberService']=_0x5973ce,this['_commentService']=_0x310e41,this[_0x3f3568(0x3c9)]=_0x12b09d,this[_0x3f3568(0x26b)]=_0x4eebad,this[_0x3f3568(0x330)]=!!this[_0x3f3568(0x26b)],_0x1c4191['pipe'](_0x1773e2(this[_0x3f3568(0x379)]))[_0x3f3568(0x32e)](_0x3fd112=>{var _0x412757=_0x3f3568,_0x30e8f1;typeof _0x3fd112>'u'||(this[_0x412757(0x3a5)]=_0x3fd112,_0x3fd112?(this[_0x412757(0x33e)](_0x3fd112),this['_socketMessageSubscription']=_0x3fd112['message$'][_0x412757(0x32e)](_0x2d4940=>{var _0x15b8d9=_0x412757;_0x2d4940['routeKey']===this['_unitID']&&this[_0x15b8d9(0x36a)](_0x2d4940);})):(this[_0x412757(0x1b5)](),this[_0x412757(0x394)][_0x412757(0x3ff)](0x2),(_0x30e8f1=this[_0x412757(0x399)])==null||_0x30e8f1[_0x412757(0x273)](),this['_socketMessageSubscription']=null));}));}get[_0x15a3f7(0x3aa)](){var _0x33d2f8=_0x15a3f7;return this[_0x33d2f8(0x394)][_0x33d2f8(0x4a2)]();}[_0x15a3f7(0x308)](){var _0x4a6515=_0x15a3f7,_0x23fca2,_0x25f2e4;return(_0x25f2e4=(_0x23fca2=this[_0x4a6515(0x3a5)])==null?void 0x0:_0x23fca2['memberID'])!=null?_0x25f2e4:null;}['dispose'](){var _0x342f45=_0x15a3f7;super[_0x342f45(0x214)](),this['dispose$'][_0x342f45(0x3ff)](),this[_0x342f45(0x379)][_0x342f45(0x345)]();}[_0x15a3f7(0x1e3)](){var _0x8cbf4c=_0x15a3f7,_0x3353cd,_0x55699e;this[_0x8cbf4c(0x1b5)](),(_0x3353cd=this[_0x8cbf4c(0x3a5)])==null||_0x3353cd[_0x8cbf4c(0x355)]({'cmd':F[_0x8cbf4c(0x1e5)],'data':{'roomID':this[_0x8cbf4c(0x34b)]}}),(_0x55699e=this[_0x8cbf4c(0x3a5)])==null||_0x55699e[_0x8cbf4c(0x1e3)](),this['_event$'][_0x8cbf4c(0x345)](),this[_0x8cbf4c(0x394)][_0x8cbf4c(0x345)](),this[_0x8cbf4c(0x214)]();}['_onCombEvent'](_0x4375c7){var _0x59182c=_0x15a3f7;_0x4375c7[_0x59182c(0x3c3)]===F[_0x59182c(0x44f)]?this[_0x59182c(0x374)](_0x4375c7):_0x4375c7[_0x59182c(0x3c3)]===F[_0x59182c(0x300)]&&this[_0x59182c(0x39a)](_0x4375c7);}[_0x15a3f7(0x33e)](_0x3313b4){var _0x362c99=_0x15a3f7;this['_sessionStatus$']['next'](0x1),_0x3313b4['send']({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x362c99(0x34b)]}]}});}[_0x15a3f7(0x374)](_0x2a31a1){var _0x4474c2=_0x15a3f7,_0x275212;if(_0x2a31a1['code']in Gt){this[_0x4474c2(0x3c9)]['emitEvent']({'id':ne[_0x4474c2(0x380)],'data':Gt[_0x2a31a1[_0x4474c2(0x1b1)]]}),this['_sessionStatus$'][_0x4474c2(0x3ff)](0x2);return;}this[_0x4474c2(0x394)][_0x4474c2(0x3ff)](0x3);const _0xf5cecf=(_0x275212=_0x2a31a1[_0x4474c2(0x340)][_0x4474c2(0x418)][this[_0x4474c2(0x34b)]])==null?void 0x0:_0x275212['members'];_0xf5cecf&&_0xf5cecf['forEach'](_0x1cfcbb=>this[_0x4474c2(0x442)]['updateMember'](this['_unitID'],_0x1cfcbb));}[_0x15a3f7(0x39a)](_0x2ee96f){var _0x42ed86=_0x15a3f7;try{const _0x19b5c8=_0x2ee96f[_0x42ed86(0x340)];switch(_0x19b5c8[_0x42ed86(0x221)]){case _0x27b4c0['USERS_ENTER']:this[_0x42ed86(0x2be)](_0x19b5c8),this[_0x42ed86(0x438)][_0x42ed86(0x3ff)](_0x19b5c8);break;case _0x27b4c0['USERS_LEAVE']:this[_0x42ed86(0x213)](_0x19b5c8),this[_0x42ed86(0x438)]['next'](_0x19b5c8);break;case _0x27b4c0[_0x42ed86(0x3a8)]:case _0x27b4c0['CHANGESET_SHOULD_RETRY']:this[_0x42ed86(0x3f8)](),this[_0x42ed86(0x3f1)](),this[_0x42ed86(0x438)]['next'](_0x19b5c8);break;case _0x27b4c0['MSG_FOR_ERROR']:this['_logService']['error'](_0x42ed86(0x304)+JSON['stringify'](_0x19b5c8)),this[_0x42ed86(0x438)][_0x42ed86(0x3ff)](_0x19b5c8);break;case _0x27b4c0['COMMENT_UPDATE']:this[_0x42ed86(0x2ea)]['onCommentUpdate'](_0x19b5c8['data']),this[_0x42ed86(0x438)][_0x42ed86(0x3ff)](_0x19b5c8);break;default:this[_0x42ed86(0x438)][_0x42ed86(0x3ff)](_0x19b5c8);}}catch(_0xd9ad5c){this['_logService'][_0x42ed86(0x1ed)](_0xd9ad5c,_0x2ee96f);}}[_0x15a3f7(0x2be)](_0x56dcb6){var _0xfc6406=_0x15a3f7;this['_memberService'][_0xfc6406(0x2a2)](this[_0xfc6406(0x34b)],_0x56dcb6['data']);}[_0x15a3f7(0x213)](_0x1d127e){var _0x277f7f=_0x15a3f7;this['_memberService'][_0x277f7f(0x46b)](this['_unitID'],_0x1d127e[_0x277f7f(0x340)][_0x277f7f(0x465)]);}async[_0x15a3f7(0x355)](_0x1241ae,_0x417015){var _0x4e203a=_0x15a3f7;if(this[_0x4e203a(0x3aa)]!==0x3||!this['_socket'])throw new Error(_0x4e203a(0x2c7));try{_0x1241ae[_0x4e203a(0x221)]===_0x27b4c0['SUBMIT_CHANGESET']&&(this[_0x4e203a(0x410)](),this['_startTelemetryCollaborationNewChangeset'](_0x1241ae)),this[_0x4e203a(0x3a5)]['send']({'cmd':F['INGEST'],'routeKey':_0x417015,'routeType':'','data':_0x1241ae});}catch(_0x4d401d){this['_logService'][_0x4e203a(0x1ed)](_0x4d401d);}}[_0x15a3f7(0x410)](){var _0x55d101=_0x15a3f7,_0x3de954;this[_0x55d101(0x1f6)]=setTimeout(()=>{var _0x132289=_0x55d101;this['_collaborationTimeoutTimer']=null,this[_0x132289(0x3c9)][_0x132289(0x234)]({'id':ne[_0x132289(0x2c4)]});},(_0x3de954=this[_0x55d101(0x3df)][_0x55d101(0x24e)](fi))!=null?_0x3de954:vi);}[_0x15a3f7(0x3f1)](){var _0x1c1100=_0x15a3f7;this[_0x1c1100(0x1f6)]&&(clearTimeout(this[_0x1c1100(0x1f6)]),this[_0x1c1100(0x1f6)]=null);}[_0x15a3f7(0x35b)](_0x262b15){var _0x40af1a=_0x15a3f7;if(!this['_shouldReportTelemetry'])return;const {data:_0x3d7d14}=_0x262b15,{unitID:_0x561aa8,changeset:_0x96082c}=_0x3d7d14,{mutations:_0x5bce31,type:_0x3365b5}=_0x96082c;this[_0x40af1a(0x368)]={'unitId':_0x561aa8,'type':_0x3365b5,'startTime':performance[_0x40af1a(0x2bc)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x5bce31)};}[_0x15a3f7(0x3f8)](){var _0x5244fb=_0x15a3f7;if(this[_0x5244fb(0x330)]){if(!this[_0x5244fb(0x368)]){this[_0x5244fb(0x485)][_0x5244fb(0x1ed)](_0x5244fb(0x265),_0x5244fb(0x1cf));return;}this['_telemetryInfo'][_0x5244fb(0x43d)]=performance[_0x5244fb(0x2bc)](),this[_0x5244fb(0x368)][_0x5244fb(0x3ec)]=this[_0x5244fb(0x368)][_0x5244fb(0x43d)]-this[_0x5244fb(0x368)]['startTime'],this[_0x5244fb(0x26b)][_0x5244fb(0x206)](xs,this['_telemetryInfo']),this[_0x5244fb(0x368)]=null;}}[_0x15a3f7(0x1b5)](){var _0x3782e0=_0x15a3f7;this[_0x3782e0(0x368)]=null;}};gt=Fs([pe(0x2,_0xa648c6),pe(0x3,_0x47f3d0),pe(0x4,_0x2b7a12(_0x990d00)),pe(0x5,_0x2b7a12(Pe)),pe(0x6,_0x2b7a12(Si)),pe(0x7,_0x2b7a12(ve)),pe(0x8,_0x34de02(_0x40611a))],gt);var Vs=Object[_0x15a3f7(0x3f6)],Gs=(_0x15ff0f,_0x47467e,_0x14b0a3,_0x1c307a)=>{for(var _0x3f8f97=_0x1c307a>0x1?void 0x0:_0x1c307a?Vs(_0x47467e,_0x14b0a3):_0x47467e,_0x184c22=_0x15ff0f['length']-0x1,_0x2641d7;_0x184c22>=0x0;_0x184c22--)(_0x2641d7=_0x15ff0f[_0x184c22])&&(_0x3f8f97=_0x2641d7(_0x3f8f97)||_0x3f8f97);return _0x3f8f97;},Re=(_0x278c06,_0x2683fa)=>(_0x12be19,_0x2593d6)=>_0x2683fa(_0x12be19,_0x2593d6,_0x278c06);let Le=class extends _0x651287{constructor(_0x5e31fb,_0x13b1a3,_0x5d9009,_0x58b2ce,_0x4ece6a,_0x5096ea){var _0x1ccb36=_0x15a3f7;super(),N(this,_0x1ccb36(0x2bf),new _0x14ddda(void 0x0)),N(this,_0x1ccb36(0x287),this[_0x1ccb36(0x2bf)][_0x1ccb36(0x1c9)]()),N(this,'_candidateSocket',null),N(this,_0x1ccb36(0x3c2),new Map()),N(this,_0x1ccb36(0x2da),new _0x14ddda(Se[_0x1ccb36(0x1ae)])),N(this,_0x1ccb36(0x3a9),this[_0x1ccb36(0x2da)][_0x1ccb36(0x1c9)]()),N(this,_0x1ccb36(0x435),!0x1),N(this,_0x1ccb36(0x474)),N(this,'_retryCount',0x0),N(this,_0x1ccb36(0x3d4)),N(this,_0x1ccb36(0x48d)),(this[_0x1ccb36(0x398)]=_0x5e31fb,this[_0x1ccb36(0x485)]=_0x13b1a3,this[_0x1ccb36(0x3df)]=_0x5d9009,this[_0x1ccb36(0x1c5)]=_0x58b2ce,this[_0x1ccb36(0x3c9)]=_0x4ece6a,this[_0x1ccb36(0x3c1)]=_0x5096ea,this[_0x1ccb36(0x3d5)]());}get[_0x15a3f7(0x3a5)](){var _0x3632ea=_0x15a3f7;return this[_0x3632ea(0x2bf)][_0x3632ea(0x4a2)]();}['_listenToNetworkCondition'](){var _0x26f8af=_0x15a3f7;this[_0x26f8af(0x3c1)]&&this[_0x26f8af(0x375)](this['_networkConditionService'][_0x26f8af(0x23a)][_0x26f8af(0x32e)](_0x29c6d2=>{var _0x3a9ff2=_0x26f8af;_0x29c6d2&&!this[_0x3a9ff2(0x3a5)]&&this[_0x3a9ff2(0x262)](),_0x29c6d2||this['_onOffline']();}));}[_0x15a3f7(0x214)](){var _0xb3c5c=_0x15a3f7;super[_0xb3c5c(0x214)](),this[_0xb3c5c(0x1c6)](),this[_0xb3c5c(0x2c3)](),this[_0xb3c5c(0x2ac)](),this[_0xb3c5c(0x3c2)]['forEach'](_0x330dc3=>_0x330dc3[_0xb3c5c(0x214)]()),this['_sessions'][_0xb3c5c(0x3dc)](),this['_status$'][_0xb3c5c(0x345)]();}async[_0x15a3f7(0x2cc)](_0x32ba53){var _0x34dcd8=_0x15a3f7;if(this[_0x34dcd8(0x3c2)][_0x34dcd8(0x3a3)](_0x32ba53))return this[_0x34dcd8(0x3c2)][_0x34dcd8(0x402)](_0x32ba53);this[_0x34dcd8(0x3b6)]();const _0x4f5875=this['_injector'][_0x34dcd8(0x317)](gt,_0x32ba53,this[_0x34dcd8(0x2bf)][_0x34dcd8(0x1c9)]());return this[_0x34dcd8(0x3c2)][_0x34dcd8(0x1d8)](_0x32ba53,_0x4f5875),_0x4f5875;}[_0x15a3f7(0x23c)](_0x3e111c){var _0x209fdc=_0x15a3f7,_0x429f9a;const _0x24b11b=this['_sessions'][_0x209fdc(0x402)](_0x3e111c);_0x24b11b&&(this['_sessions']['delete'](_0x3e111c),_0x24b11b[_0x209fdc(0x1e3)]()),this[_0x209fdc(0x3c2)][_0x209fdc(0x493)]||(_0x429f9a=this[_0x209fdc(0x3a5)])==null||_0x429f9a['close']();}[_0x15a3f7(0x262)](){var _0x3264e8=_0x15a3f7;this['_retryCount']=0x0,this[_0x3264e8(0x1c6)](),this[_0x3264e8(0x31b)]();}['_clearRetryConnectingTimer'](){var _0x172846=_0x15a3f7;this[_0x172846(0x474)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x172846(0x474)]=null);}async[_0x15a3f7(0x248)](){var _0x4d83aa=_0x15a3f7,_0xbba1a5,_0x3cde3d;const _0xcf0929=this[_0x4d83aa(0x3df)][_0x4d83aa(0x24e)](gs),_0x1051b1=this[_0x4d83aa(0x3df)][_0x4d83aa(0x24e)](K),_0x57f6a8=(_0x3cde3d=(_0xbba1a5=_0x1051b1==null?void 0x0:_0x1051b1[_0x4d83aa(0x316)])!=null?_0xbba1a5:_0xcf0929)!=null?_0x3cde3d:Ss,_0x24bc54=await this[_0x4d83aa(0x1c5)][_0x4d83aa(0x1c1)](_0x57f6a8);return this['_candidateSocket']=_0x24bc54,_0x24bc54;}async[_0x15a3f7(0x3b6)](){var _0x90af4b=_0x15a3f7,_0x28894b,_0x4bb296;try{const _0x3fda20=(_0x4bb296=(_0x28894b=this[_0x90af4b(0x3a5)])!=null?_0x28894b:this[_0x90af4b(0x2fd)])!=null?_0x4bb296:await this[_0x90af4b(0x248)]();if(_0x3fda20){const _0x106d9c=_0x3fda20[_0x90af4b(0x355)];_0x3fda20[_0x90af4b(0x355)]=_0x9bd136=>(this[_0x90af4b(0x295)](),_0x106d9c[_0x90af4b(0x34e)](_0x3fda20,[_0x9bd136])),_0x3fda20['message$'][_0x90af4b(0x32e)](_0x823493=>this[_0x90af4b(0x259)](_0x3fda20,_0x823493)),_0x3fda20[_0x90af4b(0x280)][_0x90af4b(0x242)](_0x19cfd4(0x1))[_0x90af4b(0x32e)](_0x521dc7=>this[_0x90af4b(0x485)][_0x90af4b(0x1ed)]('[CollaborationSessionService]:\x20socket\x20error',_0x521dc7)),_0x3fda20[_0x90af4b(0x351)]['pipe'](_0x19cfd4(0x1))[_0x90af4b(0x32e)](()=>{this['_onConnectionOpen'](_0x3fda20);}),_0x3fda20['close$'][_0x90af4b(0x242)](_0x19cfd4(0x1))['subscribe'](_0x520d06=>{var _0x5394ca=_0x90af4b;this['_logService'][_0x5394ca(0x1d3)](_0x5394ca(0x2a5),_0x5394ca(0x452),_0x520d06),this[_0x5394ca(0x1a9)]();});}}catch(_0x7ea71e){this['_logService']['error'](_0x7ea71e),this[_0x90af4b(0x1a9)]();}}[_0x15a3f7(0x46d)](_0x55af93){var _0xed1aa9=_0x15a3f7;this['_logService']['debug'](_0xed1aa9(0x2a5),_0xed1aa9(0x288)),_0x55af93[_0xed1aa9(0x355)]({'cmd':F[_0xed1aa9(0x354)]}),this[_0xed1aa9(0x295)]();}[_0x15a3f7(0x297)](){var _0x1706b7=_0x15a3f7;this[_0x1706b7(0x435)]=!0x1,this[_0x1706b7(0x2fd)]=null,this['_status$'][_0x1706b7(0x3ff)](Se[_0x1706b7(0x279)]),this['_socket$'][_0x1706b7(0x3ff)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x15a3f7(0x1a9)](){var _0x4dbe7f=_0x15a3f7,_0x5f4d68;this[_0x4dbe7f(0x297)](),this[_0x4dbe7f(0x475)]<((_0x5f4d68=this[_0x4dbe7f(0x3df)][_0x4dbe7f(0x24e)](Cs))!=null?_0x5f4d68:Rs)?(this[_0x4dbe7f(0x3c9)]['emitEvent']({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x4dbe7f(0x31b)]()):this[_0x4dbe7f(0x3c9)][_0x4dbe7f(0x234)]({'id':ne[_0x4dbe7f(0x426)]});}['_tryReconnect'](){var _0x41cac9=_0x15a3f7,_0x4b7750;const _0x33a930=this[_0x41cac9(0x475)],_0x6e3875=this[_0x41cac9(0x3df)]['getConfig'](K),_0x38a410=_0x33a930===0x0?0x0:((_0x4b7750=_0x6e3875==null?void 0x0:_0x6e3875[_0x41cac9(0x1ce)])!=null?_0x4b7750:Ts)*0x2**_0x33a930;this['_retryConnectingTimer']=setTimeout(()=>{var _0x52f041=_0x41cac9;clearTimeout(this['_retryConnectingTimer']),this[_0x52f041(0x474)]=null,this[_0x52f041(0x3b6)]();},_0x38a410),this[_0x41cac9(0x475)]+=0x1;}['_onMessage'](_0x516f18,_0x37ffea){var _0xd899de=_0x15a3f7;const {cmd:_0x1c8d5b}=_0x37ffea;_0x1c8d5b===F['HELLO']&&!this['_socketReady']&&(_0x516f18[_0xd899de(0x465)]=_0x37ffea[_0xd899de(0x340)][_0xd899de(0x465)],this[_0xd899de(0x2bf)][_0xd899de(0x3ff)](_0x516f18),this[_0xd899de(0x2da)][_0xd899de(0x3ff)](Se[_0xd899de(0x32f)]),this['_socketReady']=!0x0,this[_0xd899de(0x2fd)]=null),_0x1c8d5b===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0xd899de(0x295)]();}['_rescheduleHeartbeat'](){var _0x4fea3e=_0x15a3f7,_0x61cf07;this[_0x4fea3e(0x2ac)](),this[_0x4fea3e(0x3d4)]=setTimeout(()=>this[_0x4fea3e(0x2d0)](),(_0x61cf07=this['_configService'][_0x4fea3e(0x24e)](Es))!=null?_0x61cf07:Is);}[_0x15a3f7(0x2d0)](){var _0x2ba8b9=_0x15a3f7;this['_socket'][_0x2ba8b9(0x355)]({'cmd':F['HEARTBEAT']}),this[_0x2ba8b9(0x1c8)]();}['_waitForHeartbeatResponse'](){var _0x1ea324=_0x15a3f7,_0x3b461c;this[_0x1ea324(0x48d)]=setTimeout(()=>this[_0x1ea324(0x1a9)](),(_0x3b461c=this[_0x1ea324(0x3df)][_0x1ea324(0x24e)](fi))!=null?_0x3b461c:vi);}['_clearHeartbeatTimer'](){var _0x228cb5=_0x15a3f7;this[_0x228cb5(0x3d4)]!=null&&(clearTimeout(this[_0x228cb5(0x3d4)]),this[_0x228cb5(0x3d4)]=null);}[_0x15a3f7(0x2c3)](){var _0x254bcc=_0x15a3f7;this[_0x254bcc(0x48d)]!=null&&(clearTimeout(this[_0x254bcc(0x48d)]),this[_0x254bcc(0x48d)]=null);}};Le=Gs([Re(0x0,_0x2b7a12(_0x59694f)),Re(0x1,_0xa648c6),Re(0x2,_0x47f3d0),Re(0x3,gi),Re(0x4,_0x2b7a12(ve)),Re(0x5,_0x34de02(Us))],Le);const J=_0x56f496(_0x15a3f7(0x44e));function Pr(_0x2f5093){var _0x6ec4fc=_0x15a3f7;return _0x6ec4fc(0x350)+_0x2f5093;}var Ys=Object[_0x15a3f7(0x3f6)],Ws=(_0x1246b4,_0x358f47,_0x322cf1,_0x42bae6)=>{var _0x476450=_0x15a3f7;for(var _0x7e3c7d=_0x42bae6>0x1?void 0x0:_0x42bae6?Ys(_0x358f47,_0x322cf1):_0x358f47,_0x4bf5b2=_0x1246b4[_0x476450(0x292)]-0x1,_0x218fc8;_0x4bf5b2>=0x0;_0x4bf5b2--)(_0x218fc8=_0x1246b4[_0x4bf5b2])&&(_0x7e3c7d=_0x218fc8(_0x7e3c7d)||_0x7e3c7d);return _0x7e3c7d;},ut=(_0x195a3d,_0x46f058)=>(_0x43bcf1,_0x453252)=>_0x46f058(_0x43bcf1,_0x453252,_0x195a3d);function Ks(_0x1a1426){var _0x59281b=_0x15a3f7;const {unitID:_0x23540f,mutations:_0x329203}=_0x1a1426;return{'unitId':_0x23540f,'subUnitId':_0x329203[0x0]['params'][_0x59281b(0x28a)]};}let it=class{constructor(_0x243a8b,_0x16c43b,_0x3ca326){var _0x391ae0=_0x15a3f7;this[_0x391ae0(0x398)]=_0x243a8b,this[_0x391ae0(0x38c)]=_0x16c43b,this[_0x391ae0(0x30e)]=_0x3ca326;}['transformSelections'](_0x28b9c5){var _0xaae9a7=_0x15a3f7,_0x3cba63,_0x1b44e6,_0x40d2b5,_0x2076c8;const _0x397874=this[_0xaae9a7(0x398)][_0xaae9a7(0x402)](_0x2fc8d2),{unitId:_0x58f62a,subUnitId:_0x4cd0b6}=Ks(_0x28b9c5),_0x22b652=_0x397874==null?void 0x0:_0x397874['getWorkbookSelections'](_0x58f62a)['getCurrentSelections'](),_0x12e916=(_0x1b44e6=(_0x3cba63=this[_0xaae9a7(0x30e)][_0xaae9a7(0x35c)](_0x58f62a))==null?void 0x0:_0x3cba63['getActiveSheet']())==null?void 0x0:_0x1b44e6[_0xaae9a7(0x3d6)]();if(_0x22b652[_0xaae9a7(0x292)]===0x0||!_0x58f62a||!_0x4cd0b6)return;const _0xb9b87a=[{'id':_0x949703['id'],'params':{'unitId':_0x58f62a,'subUnitId':_0x12e916,'selections':_0x35e9a6[_0xaae9a7(0x3b3)](_0x22b652)}}],_0x228ab2=this['_transformService'][_0xaae9a7(0x1a8)](_0x28b9c5,_0xb9b87a);if(!_0x5844c7(_0x228ab2))throw _0x228ab2[_0xaae9a7(0x1ed)];const _0x495aba=(_0x2076c8=(_0x40d2b5=_0x228ab2[_0xaae9a7(0x466)][0x0])==null?void 0x0:_0x40d2b5[_0xaae9a7(0x42c)])==null?void 0x0:_0x2076c8[_0xaae9a7(0x1f9)];if(Array[_0xaae9a7(0x479)](_0x495aba)&&_0x495aba[_0xaae9a7(0x292)]){if(_0x495aba[_0xaae9a7(0x292)]===_0xb9b87a[0x0][_0xaae9a7(0x42c)][_0xaae9a7(0x1f9)]['length']&&_0x495aba[_0xaae9a7(0x3d1)]((_0x5cc693,_0x3d47aa)=>_0x3db2f6[_0xaae9a7(0x2f6)](_0x5cc693[_0xaae9a7(0x492)],_0xb9b87a[0x0][_0xaae9a7(0x42c)][_0xaae9a7(0x1f9)][_0x3d47aa][_0xaae9a7(0x492)])))return;this[_0xaae9a7(0x398)][_0xaae9a7(0x402)](_0x36f535)['executeCommand'](_0x949703['id'],{'unitId':_0x58f62a,'subUnitId':_0x12e916,'selections':_0x495aba});}}};it=Ws([ut(0x0,_0x2b7a12(_0x59694f)),ut(0x1,_0x17adc8),ut(0x2,_0x2ac46f)],it);const ht=_0x56f496(_0x15a3f7(0x2af));function _0xed6f(){var _0x88e9f=['APPLY_REVISION_CONFILICT','default','SUBMIT_CHANGESET','fetchMiss','_startCollaboration','subscribe','ONLINE','_shouldReportTelemetry','_initCloseConn','refreshPermission','AES','kdf','awaiting','_showConflictNotification','loginUrlKey','onSyncEditingCollabCursor','collaboration-client.config','createDecryptor','_config','HMAC','Encryptor','_joinRoom','updateSnapshot','data','indexOf','add','decrypt','[CollaborationEntity]','complete','onStarting','_doCreateSocket','mixIn','findIndex','readAsDataURL','_unitID','getUnitType','_prevBlock','apply','resend','unit-cache-','open$','_iKey','sendChangesetTimeout','HELLO','send','?size=','_syncEditingCollabCursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initDependencies','hasOwnProperty','_startTelemetryCollaborationNewChangeset','getUnit','collaMsg','_pendingMutations','filter','onRemoteRetry','getUnitId','url','getCollabEntity','_createHelper','delete','unitID','UnitSnapshot','_telemetryInfo','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_onCombEvent','from','clamp','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','reset','UnitEmbedded','iterations','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearUndo','_onJoinRoomEvent','disposeWithMe','avatar','update','sid','dispose$','_isPermissionRej','_collaborationPaused','_commandService','_collabSessionService','OPTIONAL','charCodeAt','JOIN_ROOM_FAILED','setConfig','_DEC_XFORM_MODE','reqId','extend','JOINING','_nRounds','_exhaustRemoteChangesetQueue','__creator','AWAITING_WITH_PENDING','_acknowledgedAwaitingChangeset','includes','_transformService','map','getRandomValues','YUUMI_TABLE_NOT_FOUND_IN_UNIT','batchAllowed','EMAIL_HAS_BEEN_BOUND','sessionStatus$','_hasher','_sessionStatus$','enc','session.room-not-exists','[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.','_injector','_socketMessageSubscription','_onRecvEvent','userID','PERMISSION_DENIED','Cipher','ciphertext','28cSbNbf','buffer','_httpService','_replayCachedMutations','has','LIVESHARE_FETCH_OPERATIONS','_socket','init','_entities','CHANGESET_ACK','status$','sessionStatus','getCollabEntity$','toggleOffline','LICENSE_IMPORT_SIZE_EXCEEDED','COMMENT_UPDATE','_unitInfo$','_onRemoteRejected','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_initRequestHeader','deepClone','name','_keySchedule','_tryEnsureSocket','image/bmp','infoRsp','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fetchMissingChangesets','_onRemoteRetry','image/jpeg','getSheetBlock','8nVrdiw','title','_changesetSessionId','_networkConditionService','_sessions','cmd','YUUMI_SUBSCRIPTION_NOT_FOUND','SOCKET_FAILED_RETRY','_initUnitPermissionChange','_executeRemoteChangeset','state','_collaborationUIEventService','_members','_transformStack','573672nIJtdd','_registerDependencies','/fetchmissing?from=','NOT_COLLAB','/universer-api/snapshot/','every','getTypeOfUnitAdded$','MOBILE_HAS_BEEN_BOUND','_sendHeartbeatTimer','_listenToNetworkCondition','getSheetId','_doFinalize','UNAUTHENTICATED','_ENC_XFORM_MODE','session.room-cnt-exceeds','_invKeySchedule','clear','&assign=','reduce','_configService','appendMutation','unknown','LICENSE_MAX_UNITS_EXCEEDED','_checkMissing','UNIVER_UNKNOWN','_transformSelections','push','FETCH_MISS','localeService','BufferedBlockAlgorithm','onMissedChangesetFetched','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','duration','10PFHFrs','interceptor','1431562bDzKIS','MSG_FOR_ERROR','_clearCollaborationTimeoutTimer','image/png','INVALID_INVITE_CODE','_unlockTransition','_createInitialStateImpl','getOwnPropertyDescriptor','_members$','_stopTelemetryCollaborationNewChangeset','fetch_missing','baseRev','localCacheService','mode','routeKey','/object/','next','salt','session.room-full','get','toString','stringify','loadOfflineData','file','UNKNOWN_CODE','/resources','Undefined','INTERNAL_ERROR','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','subject','onCommandExecuted','_iv','pauseCollaboration','_scheduleCollaborationTimeoutTimer','listRoles','getImageSourceCache','setCurrentUser','UNRECOGNIZED','_substituteUndoStack','_getCurrentRevision','JOIN_ROOM_NOT_EXISTS','roomInfos','_getSignURL','PSEUDO_FETCH_MISSING_RESULT','COMPRESS_MUTATION_SEND','_onFetchMissResult','getInterceptPoints','result','Hasher','LIVESHARE_OPERATION','onTransformSelections','AWAITING','RETRY_CONNECTING_MAX_COUNT','Latin1','onlyLocal','SOCKET_FAILED','OpenSSL','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','MUTATION','forEach','_transformRemoteChangesetByIMECache','params','getResourcesRequest','_updateStatus','WordArray','BlockCipher','_awaitingChangeset','_mode','_getAPIPrefixPath','_undoStacks','_socketReady','USERS_LEAVE','USER_NOT_INVITED_CODE','_event$','Error\x20on\x20receiving\x20event','encode','onRemoteChangeset','entityInit$','stopTime','[PendingState]:\x20unhandled\x20univer\x20type:\x20','addImageSourceCache','Could\x20not\x20dynamically\x20require\x20\x22','_handlerCallback','_memberService','enableSingleActiveInstanceLock','_sheetTransformSelectionsService','GLOBAL_ROOMS_CNT_EXCEEDS','/unit/','APPLY_DUPLICATED','unitInfo$','snapshotServerUrl','[DataLoaderService]','OTHER_CLIENTS_EDITING','UNISCRIPT_RUN','toggleOnline','collaboration-client.local-cache-service','JOIN','csRejEvent','awaitingChangeset','socket\x20close','string','c1Prime','padding','PERMISSION_REJ','/allowed','_transformRemoteChangesetByStateCache','_getRedoStack','CHANGESET_REJ','_doProcessBlock','editingUnit','unitId','60EqqPge','transformUndoRedo','_cipher','[CollaborationState]:\x20apply\x20error!','reject','YUUMI_NO_CUBOID_FOR_QUESTION','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','memberID','m2Prime','EXCHANGE_SIGN_URL_SERVER_URL_KEY','event$','_queuedRemoteChangesets','liveShareOperation','removeMember','generateRandomId','_onConnectionOpen','/-/object/-/batch_allowed','updatePermissionObjEvent','state$','rev','CLOSE_ROOM','_minBufferSize','_retryConnectingTimer','_retryCount','_roomCreated$','EMAIL_VERIFY_CODE_MISMATCH','mutations','isArray','authzUrl','saveImage','encrypt','_updateState','_getSendChangesetTimeout','floor','_compressMutationService','focused$','awaiting_with_pending','NOT_FOUND','AUTHZ_URL_KEY','_logService','APPLY_NON_SEQUENTIAL_REVISION','symbol','_univerInstanceService','8153873hqsalv','onSendChangeset','StreamCipher','objectType','_timeoutTimer','transformSelections','[FetchMissState]','isPermissionRej','/new_changes','range','size','_initMergeInterceptor','HEARTBEAT_INTERVAL','splice','_sendingTimer','SNAPSHOT_INVALID_SNAPSHOT','cfg','_createHandler','\x0aCurrent:\x20','hasher','listCollaborators','_scheduleCompleteTimestamp','actions','values','collabSubmitChangesetUrl','getValue','fetchThroughInterceptors','ALREADY_EXISTS','UNIVER_PROJECT','BASE64','getCurrentUser','leaveEvent','transformMutationsWithChangeset','_onConnectionFailed','PERSON','/collaborator','onMissingChangesets','_data','IDLE','list','ceil','code','updateOfflineData','uniscriptRunEvent','allowed','_throwTelemetryCollaborationNewChangeset','headers','_undoRedoService','body','_transformStateCache','onTransformIME','execute','642416gMHKlC','YUUMI_CONNECTOR_URL_NOT_FOUND','revision','loadUnitOfRevision','CBC','createSocket','FAIL','_waitCount','/universer-api/uniscript','_socketService','_clearRetryConnectingTimer','crypto','_waitForHeartbeatResponse','asObservable','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','executeCommand','HmacMD5','post','retryConnectingInterval','telemetry\x20info\x20is\x20not\x20initialized','resolve','_createInitialState','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','debug','collaborators','YUUMI_ALL_TABLES_IS_INVALID','ERROR_IMAGE','_decreaseWaiting','set','_revisionService','setShowComponents','YUUMI_URL_COL_OUT_OF_RANGE','_handler','pad','_process','UPDATE_CURSOR','initWorkbookPermissionChange','repeat','SHOULD_CLOSE_CONN','close','Utf8','LEAVE','enableAuthServer','catch','members$','entries','_changesetReqId','_onLocalMutation','getFocusedUnit','error','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','PENDING','_collaborationSessionService','LICENSE_EXPORT_SIZE_EXCEEDED','POST','saveSheetBlock','_sender','createEncryptor','_collaborationTimeoutTimer','_getUndoStack','MOBILE_VERIFY_CODE_MISMATCH','selections','UNIVER_SHEET','concat','_resendTimer','INVITE_CODE_ALREADY_BOUND','onTransformRemoteChangesetByStateCache','_imageSourceCache','WECHAT_HAS_BEEN_BOUND','clone','ERROR_IMAGE_TYPE','onTransformRemoteChangesetByIMECache','_toggleOnline','addHandlerCallback','capture','_updateLocalCache','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','signUrlServerUrl','$super','encodeURIComponent','lib','_schedule','FileId','_keyPriorReset','socketService','liveShareNewHost','_onUserLeave','dispose','_reverseMap','sigBytes','fromCharCode','replace','exports','requestParams','_init','/universer-api/file/{fileID}/sign-url','People','[PendingState]:\x20received\x20acknowledgement.','_transitionLocked','__esModule','eventID','algo','location','prototype','keySize','_onConflict','getMember','objects','/universer-api/oidc/authpage','_append','_lockTransition','session.join-failed','INGEST','UNIVER_COLLABORATION_CLIENT_PLUGIN','Pkcs7','/universer-api/user/session-ticket','CONNECTOR_DATA_TOO_LARGE','create','OTHER_CLIENT_EDITING','emitEvent','/universer-api/authz','&source=','/block/','Decryptor','HEARTBEAT','online$','\x20to\x20','closeSession','pending','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentUpdate$','onRemoteAck','_singleActiveUnitService','pipe','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getRoom','encryptBlock','fetching\x20missing\x20changesets\x20from\x20','type','_createSocket','LICENSE_DISTRO_REJECTED','transformChangesets','USERS_ENTER','resourceIDs','BlockCipherMode','getConfig','byteOffset','1351912ULETXa','join','HttpImport','_clearLocalCache','NoPadding','_doCryptBlock','session','status','method','_onMessage','[OfflineState]:\x20received\x20rejection.','unitId\x20is\x20not\x20found','_substituteRedoStack','/-/object/list','randomBytes','getCurrentRevOfUnit','incrementRevOfUnit','byteLength','reconnect','_localCacheService','getTypeOfUnitDisposed$','[CollaborationSession]','_getAPIPrefix','put','changesets','ivSize','format','_telemetryService','setWaitCount','_state','MD5','connection\x20error','_transformUndoredo','sheets','CONFLICT','unsubscribe','UNDEFINED','_doReset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','withCredentials','random','OFFLINE','UNIVER_SLIDE','_toggleOffline','univer-pro.collaboration-client.network-condition.service','onCommentUpdate','_getUploadFileURL','_resendWithTimeout','error$','YUUMI_AI_RUN_FAILED','change$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SNAPSHOT_URL_KEY','CHANGESET_SHOULD_RETRY','_remoteChangesetQueue','socket$','socket\x20open.','UPDATE_PERMISSION_OBJ','subUnitId','max','key','_disableEditing','[OfflineState]:\x20received\x20changeset.','originalMeta','&to=','[SyncedState]:\x20received\x20acknowledgement.','length','_HTTPService','LOGIN_FAILED','_rescheduleHeartbeat','_parse','_onOffline','_map','_entityInit$','_roomMembers','ENSURE_SNAPSHOT_EXECUTION','unpad','function','registerHTTPInterceptor','UserProfileImg','updatePermissionPoint','LIVESHARE_TERMINATE','updateMember','editing\x20status\x20changed\x20to','COLLAB_WEB_SOCKET_URL','[CollaborationSessionService]','_clearScheduledTask','target','INVALID_ARGUMENT','SHA1','putCollaborators','auth.needGotoLoginAlert','_clearHeartbeatTimer','onTransformState','_oKey','univer-pro.collaboration-client.single-active-unit-service','blockSize','YUUMI_UNABLE_LOAD_URL','_change$','_permissionService','LOCAL_CACHE_INTERVAL','_snapshotServerService','JOIN_ROOM_PERMISSION_DENIED','DEFAULT_FILE_NAME','_onRemoteACK','[CollaborationUndoRedoService]','_fetchMissChangesets','YUUMI_RATE_OVER_LIMIT','now','JOIN_ROOM_FULL','_onUserJoin','_socket$','ws://127.0.0.1:8000/universer-api/comb/connect','_type','_removeRoom','_clearTimeoutTimer','SUBMIT_CHANGESET_TIMEOUT','_clearRedo','msCrypto','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','collaboration_new_changeset','compute','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','requireSession','failed\x20to\x20apply\x20missed\x20changesets!','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','words','_sendHeartbeat','Failed\x20to\x20update\x20permission\x20point','[SyncedState]:\x20received\x20rejection.','452316jYlJiF','_getLoginPath','collaboratorID','readyForCollab','charAt','SNAPSHOT_SERVER_URL_KEY','find','_status$','permissionRejEvent','copyFileMeta','_eventService','objectActions','disableLocalCache','_hash','synced','[UniverCollaborationClientPlugin]','LIVESHARE_REQUEST_HOST','[PendingState]:\x20received\x20rejection.','\x20-\x20','UNIVER_DOC','LIVESHARE_NEW_HOST','updateCursorEvent','Base','_commentService','_localeService','HttpExport','joinEvent','univer-pro.collaboration-client-socket-service','EvpKDF','_incrementRevisionNumber','onload','finalize','_nDataBytes','_onRemoteChangeset','_xformMode','equals','joinRsp','formatter','5046507VoWELH','_key','defineProperty','_applyRemoteChangeset','_candidateSocket','origin','getTime','RECV','sin','then','slice','save\x20fail\x20reason\x20is\x20','image/jpg','c2Prime','{fileID}','getMemberID','deleteCollaborator','SEND_CHANGESET_TIMEOUT','_getCtorByUniverType','not_collab','offline','_instanceService','COMPRESS_MUTATION_APPLY','responseType','SNAPSHOT_HAS_BEEN_REMOVED','textRanges','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','objectID','session.room-permission-denied','collabWebSocketUrl','createInstance','_userManagerService','href','onRemoteRej','_tryReconnect','getSnapshotAPIPath','_transformIMECache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','YUUMI_ASYNCIO_CANCELLED','Hex','enableCollaboration','parse','Base64','NO_OTHER_CLIENTS_EDITING','_resendTimeout','/object','csAckEvent','call'];_0xed6f=function(){return _0x88e9f;};return _0xed6f();}var Ei=(_0x94f90e=>(_0x94f90e[_0x94f90e[_0x15a3f7(0x324)]=0x0]=_0x15a3f7(0x324),_0x94f90e[_0x94f90e[_0x15a3f7(0x44b)]=0x1]='OTHER_CLIENTS_EDITING',_0x94f90e))(Ei||{});const qs=new Set([_0x3fbb52['id']]);function Yt(_0xb654c2,_0xcdc943,_0x4c0fe0,_0x38e2ba,_0x25926d){var _0x11732c=_0x15a3f7,_0x47a1be,_0x2cd4f4,_0xaa1581,_0xccfc45;const _0x3c09bf=[];for(const _0x156147 of _0xb654c2)if(qs[_0x11732c(0x3a3)](_0x156147['id'])){if(_0x3c09bf[_0x11732c(0x292)]>0x0)break;_0x3c09bf[_0x11732c(0x3e6)](_0x156147);break;}else _0x3c09bf['push'](_0x156147);const _0x35f6b0=(_0x2cd4f4=(_0x47a1be=_0x25926d[_0x11732c(0x1a6)]())==null?void 0x0:_0x47a1be[_0x11732c(0x39b)])!=null?_0x2cd4f4:_0x11732c(0x3e1),_0x3ef7b9=(_0xccfc45=(_0xaa1581=_0x25926d[_0x11732c(0x1a6)]())==null?void 0x0:_0xaa1581[_0x11732c(0x465)])!=null?_0xccfc45:_0x11732c(0x3e1);return{'changeset':{'unitID':_0xcdc943,'type':_0x2843eb(_0x4c0fe0['getUnitType'](_0xcdc943)),'baseRev':_0x38e2ba[_0x11732c(0x25f)](_0xcdc943),'revision':0x0,'userID':_0x35f6b0,'memberID':_0x3ef7b9,'mutations':_0x3c09bf},'pendingMutations':_0xb654c2[_0x11732c(0x303)](_0x3c09bf['length'])};}function zs(_0x237682,_0x184a24,_0x3c080c,_0x1279bf,_0x4d728f){var _0x50b0d2=_0x15a3f7,_0x3296aa,_0x4af14e,_0xd017f2,_0x2fd77a;const _0x452727=[_0x237682[_0x50b0d2(0x3de)]((_0x2289ba,_0x1dd8b5)=>{var _0x1a9649=_0x50b0d2,_0xda6512;const {id:_0x2b463d}=_0x2289ba,{id:_0x54c319,type:_0x2359e9}=_0x1dd8b5,_0x5a09c1=(_0xda6512=_0x2289ba[_0x1a9649(0x42c)])!=null?_0xda6512:{'actions':null},_0x590358=_0x1dd8b5[_0x1a9649(0x42c)];if(_0x2b463d&&_0x2b463d!==_0x54c319)throw new Error(_0x1a9649(0x371)+_0x2b463d+_0x1a9649(0x2e5)+_0x54c319+'.');return{..._0x2289ba,'id':_0x54c319,'type':_0x2359e9,'params':{'unitId':_0x590358['unitId'],'textRanges':_0x590358[_0x1a9649(0x312)],'actions':_0x119897['compose'](_0x5a09c1[_0x1a9649(0x49f)],_0x590358[_0x1a9649(0x49f)])}};},{})],_0x152554=(_0x4af14e=(_0x3296aa=_0x4d728f['getCurrentUser']())==null?void 0x0:_0x3296aa['userID'])!=null?_0x4af14e:'unknown',_0x2ea8f3=(_0x2fd77a=(_0xd017f2=_0x4d728f[_0x50b0d2(0x1a6)]())==null?void 0x0:_0xd017f2[_0x50b0d2(0x465)])!=null?_0x2fd77a:_0x50b0d2(0x3e1);return{'changeset':{'unitID':_0x184a24,'type':_0x2843eb(_0x3c080c[_0x50b0d2(0x34c)](_0x184a24)),'baseRev':_0x1279bf[_0x50b0d2(0x25f)](_0x184a24),'revision':0x0,'userID':_0x152554,'memberID':_0x2ea8f3,'mutations':_0x452727},'pendingMutations':[]};}function Ii(_0x5515f8,_0x521ad6){var _0x948128=_0x15a3f7;const _0x1d95ab=new _0x5d3f74(0x1);return setTimeout(()=>_0x1d95ab[_0x948128(0x3ff)](_0x521ad6),_0x5515f8),_0x1d95ab[_0x948128(0x1c9)]()['pipe'](_0x74e2e3(0x1));}const Js={'id':_0x447f9e['id'],'type':_0x422a3a[_0x15a3f7(0x429)],'params':{}};var Xs=Object[_0x15a3f7(0x3f6)],Ie=(_0x3728a3,_0x10e403,_0x72dd59,_0x1dde33)=>{var _0x2264cf=_0x15a3f7;for(var _0x2f3712=_0x1dde33>0x1?void 0x0:_0x1dde33?Xs(_0x10e403,_0x72dd59):_0x10e403,_0x2fa505=_0x3728a3[_0x2264cf(0x292)]-0x1,_0x14d341;_0x2fa505>=0x0;_0x2fa505--)(_0x14d341=_0x3728a3[_0x2fa505])&&(_0x2f3712=_0x14d341(_0x2f3712)||_0x2f3712);return _0x2f3712;},P=(_0x366be8,_0x5fa2d6)=>(_0x3f6ec2,_0x3fefed)=>_0x5fa2d6(_0x3f6ec2,_0x3fefed,_0x366be8),Ti=(_0xf1bcef=>(_0xf1bcef[_0x15a3f7(0x3cf)]=_0x15a3f7(0x30c),_0xf1bcef['SYNCED']=_0x15a3f7(0x2e1),_0xf1bcef[_0x15a3f7(0x1ef)]=_0x15a3f7(0x23d),_0xf1bcef[_0x15a3f7(0x422)]=_0x15a3f7(0x335),_0xf1bcef[_0x15a3f7(0x389)]='awaiting_with_pending',_0xf1bcef[_0x15a3f7(0x3e7)]='fetch_missing',_0xf1bcef[_0x15a3f7(0x272)]='conflict',_0xf1bcef[_0x15a3f7(0x279)]=_0x15a3f7(0x30d),_0xf1bcef))(Ti||{});const Ci=0xea60;class Te{constructor(_0x2d9a28,_0x4d9be3,_0x628657,_0x45745c,_0x475287,_0x2e9653,_0x390c56,_0x404d00,_0x3591c9){var _0x92966b=_0x15a3f7;N(this,'_awaitingChangeset',null),N(this,_0x92966b(0x35e),[]),(this[_0x92966b(0x366)]=_0x2d9a28,this[_0x92966b(0x247)]=_0x4d9be3,this[_0x92966b(0x1dc)]=_0x475287,this[_0x92966b(0x37c)]=_0x2e9653,this[_0x92966b(0x1b7)]=_0x390c56,this[_0x92966b(0x1d9)]=_0x404d00,this[_0x92966b(0x263)]=_0x3591c9,this['_awaitingChangeset']=_0x628657,this['_pendingMutations']=_0x45745c);}[_0x15a3f7(0x3e3)](_0x5cfccc){var _0x5a4c3d=_0x15a3f7;const _0x5ca3fd=this[_0x5a4c3d(0x1d9)][_0x5a4c3d(0x25f)](this[_0x5a4c3d(0x366)]);return _0x5cfccc[_0x5a4c3d(0x1be)]>_0x5ca3fd+0x1?(this[_0x5a4c3d(0x1dc)]['onMissingChangesets']({'from':_0x5ca3fd,'to':_0x5cfccc[_0x5a4c3d(0x1be)]-0x1}),!0x0):!0x1;}[_0x15a3f7(0x270)](_0x482ca5){var _0x513e3d=_0x15a3f7;this[_0x513e3d(0x1b7)][_0x513e3d(0x45f)](this[_0x513e3d(0x366)],_0x482ca5);}[_0x15a3f7(0x3e5)](_0x1c058b){var _0x36451e=_0x15a3f7,_0x2c0e02,_0x58f2fa;(_0x58f2fa=(_0x2c0e02=this[_0x36451e(0x1dc)])['onTransformSelections'])==null||_0x58f2fa['call'](_0x2c0e02,_0x1c058b);}[_0x15a3f7(0x31d)](_0x50e252){var _0x2e4214=_0x15a3f7,_0x54f105,_0x1e9c75;return(_0x1e9c75=(_0x54f105=this[_0x2e4214(0x1dc)])[_0x2e4214(0x1ba)])==null?void 0x0:_0x1e9c75[_0x2e4214(0x328)](_0x54f105,_0x50e252);}[_0x15a3f7(0x1b9)](_0x310728){var _0x55ce0=_0x15a3f7,_0x346a10,_0x5856ed;return(_0x5856ed=(_0x346a10=this[_0x55ce0(0x1dc)])['onTransformState'])==null?void 0x0:_0x5856ed[_0x55ce0(0x328)](_0x346a10,_0x310728);}[_0x15a3f7(0x42b)](_0x501bcf){var _0x520ab1=_0x15a3f7,_0x38a0b9,_0x4194a2,_0x4c4435;return(_0x4c4435=(_0x4194a2=(_0x38a0b9=this['_handler'])[_0x520ab1(0x203)])==null?void 0x0:_0x4194a2['call'](_0x38a0b9,_0x501bcf))!=null?_0x4c4435:_0x501bcf;}[_0x15a3f7(0x458)](_0xa1d848){var _0x577708=_0x15a3f7,_0x6bf658,_0x3baa46,_0x1eeb38;return(_0x1eeb38=(_0x3baa46=(_0x6bf658=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3baa46[_0x577708(0x328)](_0x6bf658,_0xa1d848))!=null?_0x1eeb38:_0xa1d848;}[_0x15a3f7(0x357)](_0x18cbf2){var _0x5601fa=_0x15a3f7,_0x58fd2e,_0x1855b9;if(this[_0x5601fa(0x247)]===Z[_0x5601fa(0x2e6)]){const {unitID:_0x21def4,mutations:_0x534e2e,memberID:_0x162fe7}=_0x18cbf2,_0x27f89b=_0x534e2e[0x0][_0x5601fa(0x42c)]['textRanges'];Array[_0x5601fa(0x479)](_0x27f89b)&&_0x27f89b[_0x5601fa(0x292)]>0x0&&((_0x1855b9=(_0x58fd2e=this[_0x5601fa(0x1dc)])[_0x5601fa(0x338)])==null||_0x1855b9[_0x5601fa(0x328)](_0x58fd2e,{'unitID':_0x21def4,'memberID':_0x162fe7,'textRanges':_0x27f89b}));}}[_0x15a3f7(0x207)](){var _0x44c979=_0x15a3f7,_0x92c341;(_0x92c341=this['_localCacheService'])==null||_0x92c341['updateOfflineData'](this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x44c979(0x35e)]);}[_0x15a3f7(0x416)](){var _0x51cd3f=_0x15a3f7;return this[_0x51cd3f(0x1d9)][_0x51cd3f(0x25f)](this['unitID']);}['_incrementRevisionNumber'](){var _0x35ca12=_0x15a3f7;this[_0x35ca12(0x1d9)][_0x35ca12(0x260)](this[_0x35ca12(0x366)]);}[_0x15a3f7(0x3c7)](_0x57c144){var _0x42f9c1=_0x15a3f7,_0x5b7c69;let _0x43416f=this[_0x42f9c1(0x42b)](_0x57c144);_0x43416f=this[_0x42f9c1(0x458)](_0x43416f);const _0x525321=_0x29e1c0(_0x43416f['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x525321[_0x42f9c1(0x41e)])throw _0x525321[_0x42f9c1(0x1ed)]instanceof Error?_0x525321[_0x42f9c1(0x1ed)]:new Error((_0x5b7c69=_0x525321[_0x42f9c1(0x1ed)])!=null?_0x5b7c69:_0x42f9c1(0x461));this[_0x42f9c1(0x31d)](_0x43416f),this[_0x42f9c1(0x1b9)](_0x43416f),this['_transformUndoredo'](_0x57c144),this[_0x42f9c1(0x3e5)](_0x43416f),this[_0x42f9c1(0x357)](_0x43416f),this[_0x42f9c1(0x2f0)]();}}let ye=class extends Te{constructor(_0x4fd45f,_0x57044c,_0x4379d8,_0x435403,_0xc21901,_0x1373ee,_0x2f59a8,_0x359fc2,_0x199d78,_0x51c3d0){var _0x1c4863=_0x15a3f7;super(_0x4fd45f,_0x57044c,null,[],_0x4379d8,_0x2f59a8,_0x1373ee,_0x435403,_0x51c3d0),N(this,_0x1c4863(0x257),_0x1c4863(0x2e1)),(this[_0x1c4863(0x398)]=_0xc21901,this[_0x1c4863(0x485)]=_0x359fc2,this[_0x1c4863(0x38c)]=_0x199d78,this[_0x1c4863(0x3fb)]=_0x51c3d0);}['appendMutation'](_0x19b93e){var _0xf26944=_0x15a3f7;const _0x5e19b=this[_0xf26944(0x398)][_0xf26944(0x317)](re,this[_0xf26944(0x366)],this[_0xf26944(0x247)],[_0x19b93e],this['_handler']);return _0x5e19b[_0xf26944(0x20e)](),_0x5e19b[_0xf26944(0x207)](),_0x5e19b;}[_0x15a3f7(0x43b)](_0x4f8de8){var _0x45c85d=_0x15a3f7;if(this[_0x45c85d(0x3e3)](_0x4f8de8))return this[_0x45c85d(0x398)][_0x45c85d(0x317)](Q,this[_0x45c85d(0x366)],this['type'],null,[],null,[_0x4f8de8],this[_0x45c85d(0x1dc)]);try{const _0x43ca42=this[_0x45c85d(0x38c)]['transformMutationsWithChangeset'](_0x4f8de8,[Js]);if(_0x5844c7(_0x43ca42)){const {c1Prime:_0x47b634}=_0x43ca42;return this[_0x45c85d(0x3c7)](_0x47b634),this;}throw _0x43ca42[_0x45c85d(0x1ed)];}catch(_0x5ddb77){return this[_0x45c85d(0x485)][_0x45c85d(0x1ed)](_0x5ddb77),this[_0x45c85d(0x226)](!0x1);}}[_0x15a3f7(0x226)](_0x21ddf1){var _0x16ffa6=_0x15a3f7;return this[_0x16ffa6(0x398)][_0x16ffa6(0x317)](le,this[_0x16ffa6(0x366)],this[_0x16ffa6(0x247)],null,[],this[_0x16ffa6(0x1dc)],_0x21ddf1);}[_0x15a3f7(0x240)](){var _0x5c054a=_0x15a3f7;throw new Error(_0x5c054a(0x291));}[_0x15a3f7(0x31a)](){var _0x5297d8=_0x15a3f7;throw new Error(_0x5297d8(0x2d2));}['onRemoteRetry'](){return this;}[_0x15a3f7(0x3ac)](){var _0xda3927=_0x15a3f7;return this[_0xda3927(0x398)][_0xda3927(0x317)](ue,this['unitID'],this[_0xda3927(0x247)],null,[],this[_0xda3927(0x1dc)]);}[_0x15a3f7(0x44d)](){return this;}[_0x15a3f7(0x34f)](){var _0x2346ac=_0x15a3f7;throw new Error(_0x2346ac(0x313));}[_0x15a3f7(0x32c)](){var _0x4936e6=_0x15a3f7;const _0x3bbad7=this[_0x4936e6(0x1d9)][_0x4936e6(0x25f)](this[_0x4936e6(0x366)]);return this[_0x4936e6(0x1dc)][_0x4936e6(0x1ac)]({'from':_0x3bbad7,'to':0x0}),this[_0x4936e6(0x398)]['createInstance'](Q,this[_0x4936e6(0x366)],this[_0x4936e6(0x247)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x2b7a12(_0x5cf756)),P(0x4,_0x2b7a12(_0x59694f)),P(0x5,_0x1ec630),P(0x6,_0x36f535),P(0x7,_0xa648c6),P(0x8,_0x17adc8),P(0x9,_0x34de02(J))],ye);let re=class extends Te{constructor(_0xb31c2f,_0x1504f8,_0x20b72f,_0x286704,_0x7010a5,_0x4a4def,_0x2094b4,_0x389111,_0x5c6312,_0x4fd8e7,_0x1639c5,_0x46786a,_0x3e8783,_0x498f4d){var _0x2a3a53=_0x15a3f7;super(_0xb31c2f,_0x1504f8,null,_0x20b72f,_0x286704,_0x5c6312,_0x3e8783,_0x4a4def,_0x498f4d),N(this,_0x2a3a53(0x257),_0x2a3a53(0x23d)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x2a3a53(0x497),null),(this[_0x2a3a53(0x398)]=_0x7010a5,this[_0x2a3a53(0x442)]=_0x2094b4,this[_0x2a3a53(0x485)]=_0x389111,this[_0x2a3a53(0x3df)]=_0x4fd8e7,this[_0x2a3a53(0x38c)]=_0x1639c5,this[_0x2a3a53(0x488)]=_0x46786a);}[_0x15a3f7(0x3e0)](_0x4f41d0){var _0x18bcda=_0x15a3f7;return this[_0x18bcda(0x35e)][_0x18bcda(0x3e6)](_0x4f41d0),this['_updateLocalCache'](),this;}[_0x15a3f7(0x43b)](_0x4eefae){var _0x12ec92=_0x15a3f7;if(this[_0x12ec92(0x3e3)](_0x4eefae))return this['_clearScheduledTask'](),this[_0x12ec92(0x398)][_0x12ec92(0x317)](Q,this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x4eefae],this[_0x12ec92(0x1dc)]);try{const _0x6e7cb5=this[_0x12ec92(0x38c)][_0x12ec92(0x1a8)](_0x4eefae,this[_0x12ec92(0x35e)]);if(_0x5844c7(_0x6e7cb5)){const {c1Prime:_0xfd07dc,m2Prime:_0x5acab5}=_0x6e7cb5;this[_0x12ec92(0x3c7)](_0xfd07dc);const _0x4bf33f=this['_injector'][_0x12ec92(0x317)](re,this[_0x12ec92(0x366)],this[_0x12ec92(0x247)],_0x5acab5,this['_handler']);this['_clearScheduledTask']();const _0x3427a2=new Date()[_0x12ec92(0x2ff)](),_0x383538=this[_0x12ec92(0x49e)]?Math['max'](this[_0x12ec92(0x49e)]-_0x3427a2,0x0):this[_0x12ec92(0x47e)]();return _0x4bf33f[_0x12ec92(0x20e)](_0x383538),_0x4bf33f;}throw _0x6e7cb5[_0x12ec92(0x1ed)];}catch(_0x22d2b2){return this[_0x12ec92(0x485)]['error'](_0x22d2b2),this[_0x12ec92(0x226)](!0x1);}}[_0x15a3f7(0x240)](){var _0x488b34=_0x15a3f7;throw new Error(_0x488b34(0x21e));}[_0x15a3f7(0x31a)](){var _0x43b55e=_0x15a3f7;throw new Error(_0x43b55e(0x2e4));}[_0x15a3f7(0x360)](){return this;}[_0x15a3f7(0x3ac)](){var _0x2c5b63=_0x15a3f7;return this[_0x2c5b63(0x2a6)](),this[_0x2c5b63(0x398)][_0x2c5b63(0x317)](ue,this['unitID'],this[_0x2c5b63(0x247)],null,this[_0x2c5b63(0x35e)],this[_0x2c5b63(0x1dc)]);}[_0x15a3f7(0x44d)](){return this;}[_0x15a3f7(0x20e)](_0x55baf3){var _0x1b745a=_0x15a3f7;const _0x417257=_0x55baf3!=null?_0x55baf3:this['_getSendChangesetTimeout']();this[_0x1b745a(0x49e)]=new Date()[_0x1b745a(0x2ff)]()+_0x417257,this['_sendingTimer']=setTimeout(()=>{var _0x3dce02=_0x1b745a;this[_0x3dce02(0x2a6)]();let _0xeeb6f7=null;switch(this[_0x3dce02(0x247)]){case Z[_0x3dce02(0x1fa)]:{_0xeeb6f7=Yt(this[_0x3dce02(0x35e)],this[_0x3dce02(0x366)],this[_0x3dce02(0x488)],this[_0x3dce02(0x1d9)],this[_0x3dce02(0x442)]);break;}case Z[_0x3dce02(0x2e6)]:{this[_0x3dce02(0x35e)][_0x3dce02(0x3d1)](_0x417596=>_0x417596['id']===_0x21e6c0['id'])?_0xeeb6f7=zs(this[_0x3dce02(0x35e)],this[_0x3dce02(0x366)],this['_univerInstanceService'],this['_revisionService'],this[_0x3dce02(0x442)]):_0xeeb6f7=Yt(this[_0x3dce02(0x35e)],this[_0x3dce02(0x366)],this[_0x3dce02(0x488)],this[_0x3dce02(0x1d9)],this[_0x3dce02(0x442)]);break;}default:throw new Error(_0x3dce02(0x43e)+this[_0x3dce02(0x247)]+'\x20in\x20_schedule.');}const {changeset:_0x18ad47,pendingMutations:_0x31eddd}=_0xeeb6f7;this[_0x3dce02(0x1dc)][_0x3dce02(0x48a)](_0x18ad47);const _0x2c3421=_0x31eddd[_0x3dce02(0x292)]?this['_injector'][_0x3dce02(0x317)](ae,this['unitID'],this[_0x3dce02(0x247)],_0x18ad47,_0x31eddd,this[_0x3dce02(0x1dc)],void 0x0):this[_0x3dce02(0x398)][_0x3dce02(0x317)](_e,this[_0x3dce02(0x366)],this[_0x3dce02(0x247)],_0x18ad47,this['_handler']);_0x2c3421[_0x3dce02(0x207)](),this[_0x3dce02(0x1dc)]['onStateChange'](this,_0x2c3421);},_0x417257);}['_getSendChangesetTimeout'](){var _0x458738=_0x15a3f7,_0x55bcf6;const _0x4c0e81=this['_configService'][_0x458738(0x24e)](K);return(_0x55bcf6=_0x4c0e81==null?void 0x0:_0x4c0e81[_0x458738(0x353)])!=null?_0x55bcf6:ms;}[_0x15a3f7(0x34f)](){var _0x1a91aa=_0x15a3f7;throw new Error(_0x1a91aa(0x3eb));}[_0x15a3f7(0x2a6)](){var _0x21194c=_0x15a3f7;this['_sendingTimer']!=null&&(clearTimeout(this[_0x21194c(0x497)]),this[_0x21194c(0x497)]=null);}[_0x15a3f7(0x226)](_0x27bec1){var _0x12e3c9=_0x15a3f7;return this[_0x12e3c9(0x2a6)](),this[_0x12e3c9(0x398)][_0x12e3c9(0x317)](le,this[_0x12e3c9(0x366)],this[_0x12e3c9(0x247)],null,this[_0x12e3c9(0x35e)],this[_0x12e3c9(0x1dc)],_0x27bec1);}};re=Ie([P(0x4,_0x2b7a12(_0x59694f)),P(0x5,_0x2b7a12(_0x5cf756)),P(0x6,_0x2b7a12(Pe)),P(0x7,_0xa648c6),P(0x8,_0x36f535),P(0x9,_0x47f3d0),P(0xa,_0x17adc8),P(0xb,_0x2ac46f),P(0xc,_0x1ec630),P(0xd,_0x34de02(J))],re);let _e=class extends Te{constructor(_0x104dcb,_0x2db378,_0x2540a5,_0x1db14,_0x1d1bdb,_0x327c5d,_0xe4e814,_0x438d7e,_0x19ade5,_0x4ca4ad,_0x2424d9){var _0x31ef0c=_0x15a3f7;super(_0x104dcb,_0x2db378,_0x2540a5,[],_0x1db14,_0xe4e814,_0x4ca4ad,_0x327c5d,_0x2424d9),N(this,_0x31ef0c(0x257),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x31ef0c(0x1fc)),N(this,_0x31ef0c(0x1f4)),(this[_0x31ef0c(0x398)]=_0x1d1bdb,this[_0x31ef0c(0x485)]=_0x438d7e,this['_transformService']=_0x19ade5);}[_0x15a3f7(0x3e0)](_0x5b9e39){var _0x4dd882=_0x15a3f7;this[_0x4dd882(0x2a6)]();const _0x33b681=this[_0x4dd882(0x398)]['createInstance'](ae,this[_0x4dd882(0x366)],this['type'],this[_0x4dd882(0x431)],[_0x5b9e39],this[_0x4dd882(0x1dc)],this[_0x4dd882(0x1fc)]);return _0x33b681['_updateLocalCache'](),_0x33b681;}[_0x15a3f7(0x43b)](_0x22f808){var _0x3acf0f=_0x15a3f7;if(this[_0x3acf0f(0x3e3)](_0x22f808))return this[_0x3acf0f(0x2a6)](),this['_injector'][_0x3acf0f(0x317)](Q,this[_0x3acf0f(0x366)],this['type'],this[_0x3acf0f(0x431)],[],null,[_0x22f808],this[_0x3acf0f(0x1dc)]);try{const _0x19631e=this[_0x3acf0f(0x38c)]['transformChangesets']([_0x22f808],[this[_0x3acf0f(0x431)]],!0x1);if(_0xa255da(_0x19631e)){const {c1Prime:_0x450eb8,c2Prime:_0x4d0086}=_0x19631e;this['_executeRemoteChangeset'](_0x450eb8[0x0]),_0x4d0086[0x0][_0x3acf0f(0x3fa)]=this[_0x3acf0f(0x416)](),this['_clearScheduledTask']();const _0x3ebf79=this[_0x3acf0f(0x398)][_0x3acf0f(0x317)](_e,this[_0x3acf0f(0x366)],this['type'],_0x4d0086[0x0],this['_handler']);return _0x3ebf79[_0x3acf0f(0x207)](),_0x3ebf79;}return this['_onConflict'](!0x1);}catch(_0x40fd00){return this[_0x3acf0f(0x485)][_0x3acf0f(0x1ed)](_0x40fd00),this[_0x3acf0f(0x226)](!0x1);}}['onRemoteAck'](_0x401761){var _0x54b2ff=_0x15a3f7;this['_clearScheduledTask']();const _0x4e7d42=this[_0x54b2ff(0x1d9)][_0x54b2ff(0x25f)](this[_0x54b2ff(0x366)]);if(_0x401761[_0x54b2ff(0x1be)]<_0x4e7d42-0x1)return this;if(this[_0x54b2ff(0x3e3)](_0x401761))return this[_0x54b2ff(0x398)]['createInstance'](Q,this[_0x54b2ff(0x366)],this['type'],null,[],this[_0x54b2ff(0x431)],[],this[_0x54b2ff(0x1dc)]);this[_0x54b2ff(0x2f0)]();const _0x52671e=this[_0x54b2ff(0x398)][_0x54b2ff(0x317)](ye,this[_0x54b2ff(0x366)],this[_0x54b2ff(0x247)],this[_0x54b2ff(0x1dc)]);return _0x52671e[_0x54b2ff(0x207)](),_0x52671e;}[_0x15a3f7(0x31a)](_0x3ae0c5){var _0x1c7dbe=_0x15a3f7;return this[_0x1c7dbe(0x226)](!!(_0x3ae0c5!=null&&_0x3ae0c5[_0x1c7dbe(0x490)]));}[_0x15a3f7(0x360)](_0x252e79){var _0x173f22=_0x15a3f7;return this['_resendTimeout']>Ci?this[_0x173f22(0x3ac)]():(this['_resendTimer']=Ii(this[_0x173f22(0x325)],{'timeout':this['_resendTimeout'],'reqId':_0x252e79[_0x173f22(0x383)]}),this['_sender']=this[_0x173f22(0x1fc)][_0x173f22(0x32e)](({reqId:_0x5cd657,timeout:_0x42e6c5})=>{var _0x218afe=_0x173f22;this[_0x218afe(0x27f)](_0x5cd657,_0x42e6c5);}),this);}['toggleOffline'](){var _0x498c88=_0x15a3f7;return this[_0x498c88(0x2a6)](),this[_0x498c88(0x398)][_0x498c88(0x317)](ue,this['unitID'],this[_0x498c88(0x247)],this[_0x498c88(0x431)],[],this[_0x498c88(0x1dc)]);}['toggleOnline'](){return this;}[_0x15a3f7(0x34f)](){var _0x3eafbd=_0x15a3f7;this['_handler'][_0x3eafbd(0x48a)](this[_0x3eafbd(0x431)]);}['_onConflict'](_0x31e1b1){var _0xd89516=_0x15a3f7;return this[_0xd89516(0x2a6)](),this['_injector'][_0xd89516(0x317)](le,this[_0xd89516(0x366)],this[_0xd89516(0x247)],this['_awaitingChangeset'],[],this['_handler'],_0x31e1b1);}['_resendWithTimeout'](_0x43bdbf,_0x370070){var _0x5c0709=_0x15a3f7,_0x34fa25;_0x43bdbf===((_0x34fa25=this[_0x5c0709(0x431)])==null?void 0x0:_0x34fa25[_0x5c0709(0x383)])&&(this['resend'](),this[_0x5c0709(0x325)]=_0x370070===0x0?0x3e8:_0x370070*0x2);}['_clearScheduledTask'](){var _0x33de68=_0x15a3f7,_0x255be2;(_0x255be2=this[_0x33de68(0x1f4)])==null||_0x255be2['unsubscribe'](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x2b7a12(_0x59694f)),P(0x5,_0x2b7a12(_0x5cf756)),P(0x6,_0x36f535),P(0x7,_0xa648c6),P(0x8,_0x17adc8),P(0x9,_0x1ec630),P(0xa,_0x34de02(J))],_e);let ae=class extends Te{constructor(_0x776070,_0x5f0592,_0x554bc8,_0x20a6b6,_0x5361b0,_0x53ca4b,_0x4d4074,_0x54aaf5,_0x5d4a5a,_0x16a4c7,_0xacf2fd,_0x27b969,_0x29ec06){var _0x20a391=_0x15a3f7;super(_0x776070,_0x5f0592,_0x554bc8,_0x20a6b6,_0x5361b0,_0x5d4a5a,_0x27b969,_0x54aaf5,_0x29ec06),N(this,'status',_0x20a391(0x482)),N(this,_0x20a391(0x325),0x0),N(this,'_resendTimer'),N(this,_0x20a391(0x1f4)),(this[_0x20a391(0x398)]=_0x4d4074,this[_0x20a391(0x485)]=_0x16a4c7,this[_0x20a391(0x38c)]=_0xacf2fd,this[_0x20a391(0x3fb)]=_0x29ec06,_0x53ca4b&&(this[_0x20a391(0x1fc)]=_0x53ca4b,this[_0x20a391(0x1f4)]=this[_0x20a391(0x1fc)][_0x20a391(0x32e)](({reqId:_0x4001ce,timeout:_0x10ded3})=>{var _0x304083=_0x20a391;this[_0x304083(0x27f)](_0x4001ce,_0x10ded3);})));}[_0x15a3f7(0x3e0)](_0x24f221){var _0x1ba9aa=_0x15a3f7;return this[_0x1ba9aa(0x35e)][_0x1ba9aa(0x3e6)](_0x24f221),this;}['onRemoteChangeset'](_0xc60ec0){var _0x2aa6e9=_0x15a3f7;if(this[_0x2aa6e9(0x3e3)](_0xc60ec0))return this[_0x2aa6e9(0x2a6)](),this[_0x2aa6e9(0x398)][_0x2aa6e9(0x317)](Q,this[_0x2aa6e9(0x366)],this[_0x2aa6e9(0x247)],this[_0x2aa6e9(0x431)],this[_0x2aa6e9(0x35e)],null,[_0xc60ec0],this[_0x2aa6e9(0x1dc)]);try{const _0x23e56e=this[_0x2aa6e9(0x38c)][_0x2aa6e9(0x24a)]([_0xc60ec0],[this[_0x2aa6e9(0x431)]],!0x1);if(_0xa255da(_0x23e56e)){const {c1Prime:_0x196170,c2Prime:_0x306aed}=_0x23e56e,_0x5c7a36=this['_transformService'][_0x2aa6e9(0x1a8)](_0x196170[0x0],this[_0x2aa6e9(0x35e)]);if(_0x5844c7(_0x5c7a36)){const {c1Prime:_0x4436d0,m2Prime:_0x121a57}=_0x5c7a36;return this['_executeRemoteChangeset'](_0x4436d0),_0x306aed[0x0]['baseRev']=this[_0x2aa6e9(0x416)](),this[_0x2aa6e9(0x2a6)](),this[_0x2aa6e9(0x398)][_0x2aa6e9(0x317)](ae,this[_0x2aa6e9(0x366)],this['type'],_0x306aed[0x0],_0x121a57,this[_0x2aa6e9(0x1dc)],void 0x0);}throw _0x5c7a36[_0x2aa6e9(0x1ed)];}throw _0x23e56e[_0x2aa6e9(0x1ed)];}catch(_0x274606){return this[_0x2aa6e9(0x485)][_0x2aa6e9(0x1ed)](_0x274606),this[_0x2aa6e9(0x226)](!0x1);}}[_0x15a3f7(0x240)](_0x17f823){var _0x3d2c43=_0x15a3f7;if(this['_clearScheduledTask'](),this[_0x3d2c43(0x3e3)](_0x17f823))return this[_0x3d2c43(0x398)][_0x3d2c43(0x317)](Q,this[_0x3d2c43(0x366)],this[_0x3d2c43(0x247)],null,this[_0x3d2c43(0x35e)],this[_0x3d2c43(0x431)],[],this[_0x3d2c43(0x1dc)]);this[_0x3d2c43(0x2f0)]();const _0x4b2855=this[_0x3d2c43(0x398)][_0x3d2c43(0x317)](re,this[_0x3d2c43(0x366)],this[_0x3d2c43(0x247)],this[_0x3d2c43(0x35e)],this[_0x3d2c43(0x1dc)]);return _0x4b2855['_schedule'](),_0x4b2855[_0x3d2c43(0x207)](),_0x4b2855;}[_0x15a3f7(0x31a)](_0x1ea686){var _0x3d9939=_0x15a3f7;return this[_0x3d9939(0x226)](!!(_0x1ea686!=null&&_0x1ea686[_0x3d9939(0x490)]));}[_0x15a3f7(0x360)](_0x2d84a7){var _0x3f0770=_0x15a3f7;return this[_0x3f0770(0x325)]>Ci?this[_0x3f0770(0x3ac)]():(this[_0x3f0770(0x1fc)]=Ii(this['_resendTimeout'],{'timeout':this[_0x3f0770(0x325)],'reqId':_0x2d84a7['reqId']}),this['_sender']=this[_0x3f0770(0x1fc)][_0x3f0770(0x32e)](({reqId:_0x1866ae,timeout:_0x3e0b21})=>{var _0x154071=_0x3f0770;this[_0x154071(0x27f)](_0x1866ae,_0x3e0b21);}),this);}[_0x15a3f7(0x3ac)](){var _0x46ee1d=_0x15a3f7;return this[_0x46ee1d(0x2a6)](),this[_0x46ee1d(0x398)]['createInstance'](ue,this[_0x46ee1d(0x366)],this[_0x46ee1d(0x247)],this['_awaitingChangeset'],this[_0x46ee1d(0x35e)],this['_handler']);}[_0x15a3f7(0x44d)](){return this;}['resend'](){var _0x76ee61=_0x15a3f7;this[_0x76ee61(0x1dc)]['onSendChangeset'](this[_0x76ee61(0x431)]);}[_0x15a3f7(0x226)](_0x3730fc){var _0x1fa08=_0x15a3f7;return this['_clearScheduledTask'](),this[_0x1fa08(0x398)][_0x1fa08(0x317)](le,this[_0x1fa08(0x366)],this['type'],null,this[_0x1fa08(0x35e)],this[_0x1fa08(0x1dc)],_0x3730fc);}[_0x15a3f7(0x27f)](_0x15ca43,_0x3f6bb3){var _0x3dc307=_0x15a3f7,_0xd90ac7;_0x15ca43===((_0xd90ac7=this[_0x3dc307(0x431)])==null?void 0x0:_0xd90ac7['reqId'])&&(this[_0x3dc307(0x34f)](),this[_0x3dc307(0x325)]=_0x3f6bb3===0x0?0x3e8:_0x3f6bb3*0x2);}['_clearScheduledTask'](){var _0x2b2b1d=_0x15a3f7,_0x2a5cb1;(_0x2a5cb1=this[_0x2b2b1d(0x1f4)])==null||_0x2a5cb1[_0x2b2b1d(0x273)](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x2b7a12(_0x59694f)),P(0x7,_0x2b7a12(_0x5cf756)),P(0x8,_0x36f535),P(0x9,_0xa648c6),P(0xa,_0x17adc8),P(0xb,_0x1ec630),P(0xc,_0x34de02(J))],ae);let le=class extends Te{constructor(_0x2dd813,_0x41f4d0,_0x40ec5b,_0x44d9a7,_0x1c8427,_0x47279e=!0x1,_0x8c5187,_0x44efee,_0x57d8b2,_0x2e01a6,_0x1b17a8,_0x11eb3f,_0x46ecbe){var _0x138426=_0x15a3f7;super(_0x2dd813,_0x41f4d0,_0x40ec5b,_0x44d9a7,_0x1c8427,_0x44efee,_0x57d8b2,_0x2e01a6,_0x46ecbe),N(this,'status','conflict'),(this[_0x138426(0x37a)]=_0x47279e,this[_0x138426(0x2b3)]=_0x8c5187,this[_0x138426(0x2eb)]=_0x1b17a8,this[_0x138426(0x3c9)]=_0x11eb3f,this['localCacheService']=_0x46ecbe,this['_showConflictNotification'](),this[_0x138426(0x253)](),this[_0x138426(0x28d)]());}['appendMutation'](){return this;}[_0x15a3f7(0x43b)](){return this;}['onRemoteAck'](){return this;}[_0x15a3f7(0x31a)](){return this;}[_0x15a3f7(0x360)](){return this;}[_0x15a3f7(0x3ac)](){return this;}[_0x15a3f7(0x44d)](){return this;}[_0x15a3f7(0x34f)](){var _0x4ddd5a=_0x15a3f7;throw new Error(_0x4ddd5a(0x36d));}[_0x15a3f7(0x253)](){var _0x281441=_0x15a3f7,_0x50d468;(_0x50d468=this['_localCacheService'])==null||_0x50d468[_0x281441(0x1b2)](this[_0x281441(0x366)],this['type'],null,[]);}[_0x15a3f7(0x336)](){var _0x33c8ac=_0x15a3f7;this[_0x33c8ac(0x37a)]?this[_0x33c8ac(0x3c9)][_0x33c8ac(0x234)]({'id':ne['PERMISSION_DENIED']}):this[_0x33c8ac(0x3c9)][_0x33c8ac(0x234)]({'id':ne[_0x33c8ac(0x272)]});}[_0x15a3f7(0x28d)](){var _0x5be7c9=_0x15a3f7;this['_permissionService']['updatePermissionPoint'](new _0x8d1a4(this[_0x5be7c9(0x366)])['id'],!0x1);}};le=Ie([P(0x6,_0x2b7a12(_0x26b2f2)),P(0x7,_0x36f535),P(0x8,_0x1ec630),P(0x9,_0x2b7a12(_0x5cf756)),P(0xa,_0x2b7a12(_0x990d00)),P(0xb,_0x2b7a12(ve)),P(0xc,_0x34de02(J))],le);let ue=class extends Te{constructor(_0x58be6a,_0x469e67,_0x46317a,_0x336227,_0x20c541,_0x4dbadd,_0x258c73,_0x3c339,_0x37f891,_0x364926){var _0x467673=_0x15a3f7;super(_0x58be6a,_0x469e67,_0x46317a,_0x336227,_0x20c541,_0x3c339,_0x37f891,_0x258c73,_0x364926),N(this,_0x467673(0x257),_0x467673(0x30d)),this[_0x467673(0x398)]=_0x4dbadd;}[_0x15a3f7(0x3e0)](_0xa5af0c){var _0x1ff462=_0x15a3f7;return this[_0x1ff462(0x35e)][_0x1ff462(0x3e6)](_0xa5af0c),this['_updateLocalCache'](),this;}[_0x15a3f7(0x43b)](_0x278b05){var _0x7ac18f=_0x15a3f7;throw new Error(_0x7ac18f(0x28e));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x15a3f7(0x31a)](){var _0x12d328=_0x15a3f7;throw new Error(_0x12d328(0x25a));}['onRemoteRetry'](){return this;}[_0x15a3f7(0x3ac)](){return this;}[_0x15a3f7(0x44d)](){var _0x41a39f=_0x15a3f7;const {_injector:_0x1b5ff2,_pendingMutations:_0x6db790,_awaitingChangeset:_0x20490c,unitID:_0x46469f,_handler:_0x1f9721,type:_0x3d897e}=this,_0x171063=Ri(_0x1b5ff2,_0x46469f,_0x3d897e,_0x20490c,_0x6db790,_0x1f9721);return _0x171063 instanceof re?_0x171063[_0x41a39f(0x20e)]():(_0x171063 instanceof ae||_0x171063 instanceof _e)&&_0x171063[_0x41a39f(0x34f)](),_0x171063;}[_0x15a3f7(0x34f)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x2b7a12(_0x59694f)),P(0x6,_0x2b7a12(_0x5cf756)),P(0x7,_0x36f535),P(0x8,_0x1ec630),P(0x9,_0x34de02(J))],ue);let Q=class extends Te{constructor(_0x43063e,_0x3cf5d3,_0x405361,_0x205682,_0x35a289,_0x145b59,_0x533411,_0x4f3a82,_0x3c42b5,_0x78575e,_0x3bb012,_0x2d24ea,_0x35e4e5,_0x2e8a6b){var _0x402d22=_0x15a3f7;super(_0x43063e,_0x3cf5d3,_0x405361,_0x205682,_0x533411,_0x3bb012,_0x2d24ea,_0x3c42b5,_0x2e8a6b),N(this,_0x402d22(0x257),_0x402d22(0x3f9)),(this['_acknowledgedAwaitingChangeset']=_0x35a289,this[_0x402d22(0x469)]=_0x145b59,this[_0x402d22(0x398)]=_0x4f3a82,this[_0x402d22(0x485)]=_0x78575e,this[_0x402d22(0x38c)]=_0x35e4e5,this[_0x402d22(0x3fb)]=_0x2e8a6b);}[_0x15a3f7(0x3ea)](_0x389098){var _0x3bcb42=_0x15a3f7;try{const _0x343ab1=[..._0x389098,...this[_0x3bcb42(0x469)]],_0x53777d=[this[_0x3bcb42(0x431)]||this['_acknowledgedAwaitingChangeset']][_0x3bcb42(0x35f)](_0x4c5833=>!!_0x4c5833);let _0x32df7c,_0x1dd315;if(_0x53777d[_0x3bcb42(0x292)]){const _0x3305ec=this['_transformService'][_0x3bcb42(0x24a)](_0x343ab1,_0x53777d,!0x1);if(!_0xa255da(_0x3305ec))throw _0x3305ec[_0x3bcb42(0x1ed)];_0x32df7c=_0x3305ec[_0x3bcb42(0x454)],_0x1dd315=_0x3305ec[_0x3bcb42(0x306)];}else _0x32df7c=_0x343ab1,_0x1dd315=[];let _0x58f785=this[_0x3bcb42(0x35e)];_0x32df7c['forEach'](_0xa921e7=>{var _0x4d9f7f=_0x3bcb42;let _0x15f47a;if(_0x58f785['length']){const _0x804bd4=this[_0x4d9f7f(0x38c)][_0x4d9f7f(0x1a8)](_0xa921e7,_0x58f785);if(!_0x5844c7(_0x804bd4))throw _0x804bd4[_0x4d9f7f(0x1ed)];_0x15f47a=_0x804bd4['c1Prime'],_0x58f785=_0x804bd4[_0x4d9f7f(0x466)];}else _0x15f47a=_0xa921e7;this['_executeRemoteChangeset'](_0x15f47a);}),this[_0x3bcb42(0x38a)]&&this[_0x3bcb42(0x2f0)](),this[_0x3bcb42(0x431)]&&_0x1dd315[_0x3bcb42(0x292)]&&(_0x1dd315[0x0][_0x3bcb42(0x3fa)]=this[_0x3bcb42(0x416)]());let _0x276a4f;if(this[_0x3bcb42(0x431)]&&_0x58f785['length']!==0x0)_0x276a4f=this[_0x3bcb42(0x398)][_0x3bcb42(0x317)](ae,this[_0x3bcb42(0x366)],this[_0x3bcb42(0x247)],_0x1dd315[0x0],_0x58f785,this[_0x3bcb42(0x1dc)],void 0x0);else{if(this[_0x3bcb42(0x431)]&&_0x58f785[_0x3bcb42(0x292)]===0x0)_0x1dd315[0x0][_0x3bcb42(0x3fa)]=this[_0x3bcb42(0x416)](),_0x276a4f=this[_0x3bcb42(0x398)]['createInstance'](_e,this[_0x3bcb42(0x366)],this[_0x3bcb42(0x247)],_0x1dd315[0x0],this[_0x3bcb42(0x1dc)]);else{if(_0x58f785[_0x3bcb42(0x292)]!==0x0){const _0x307062=this['_injector']['createInstance'](re,this[_0x3bcb42(0x366)],this['type'],_0x58f785,this[_0x3bcb42(0x1dc)]);_0x307062[_0x3bcb42(0x20e)](),_0x276a4f=_0x307062;}else _0x276a4f=this[_0x3bcb42(0x398)][_0x3bcb42(0x317)](ye,this['unitID'],this[_0x3bcb42(0x247)],this[_0x3bcb42(0x1dc)]);}}return _0x276a4f[_0x3bcb42(0x207)](),_0x276a4f;}catch(_0x8e2487){return this[_0x3bcb42(0x485)][_0x3bcb42(0x1ed)](_0x3bcb42(0x48f),_0x3bcb42(0x2cd),_0x8e2487),this[_0x3bcb42(0x398)]['createInstance'](le,this[_0x3bcb42(0x366)],this[_0x3bcb42(0x247)],this['_awaitingChangeset'],this[_0x3bcb42(0x35e)],this['_handler'],!0x1);}}[_0x15a3f7(0x34f)](){var _0x30e8d4=_0x15a3f7;throw new Error(_0x30e8d4(0x23e));}[_0x15a3f7(0x3e0)](_0x12a36a){var _0x48b8fa=_0x15a3f7;return this['_pendingMutations'][_0x48b8fa(0x3e6)](_0x12a36a),this;}[_0x15a3f7(0x43b)](_0xabaa8f){var _0x36e1f5=_0x15a3f7;return this[_0x36e1f5(0x469)]['push'](_0xabaa8f),this;}[_0x15a3f7(0x240)](_0x4aa485){var _0x5a7098=_0x15a3f7;if(this[_0x5a7098(0x431)])return this['_acknowledgedAwaitingChangeset']=this[_0x5a7098(0x431)],this['_awaitingChangeset']=null,this;throw new Error(_0x5a7098(0x1d2));}[_0x15a3f7(0x31a)](_0x5551a0){var _0x4883ca=_0x15a3f7;return this['_onConflict'](!!(_0x5551a0!=null&&_0x5551a0[_0x4883ca(0x490)]));}[_0x15a3f7(0x360)](){return this;}[_0x15a3f7(0x3ac)](){var _0x389c86=_0x15a3f7;return this[_0x389c86(0x398)][_0x389c86(0x317)](ue,this['unitID'],this[_0x389c86(0x247)],this[_0x389c86(0x431)],this[_0x389c86(0x35e)],this[_0x389c86(0x1dc)]);}[_0x15a3f7(0x44d)](){return this;}[_0x15a3f7(0x226)](_0x3596cd){var _0x1e5ccf=_0x15a3f7;return this[_0x1e5ccf(0x398)][_0x1e5ccf(0x317)](le,this[_0x1e5ccf(0x366)],this[_0x1e5ccf(0x247)],this[_0x1e5ccf(0x431)],this[_0x1e5ccf(0x35e)],this[_0x1e5ccf(0x1dc)],_0x3596cd);}};Q=Ie([P(0x7,_0x2b7a12(_0x59694f)),P(0x8,_0x2b7a12(_0x5cf756)),P(0x9,_0xa648c6),P(0xa,_0x36f535),P(0xb,_0x1ec630),P(0xc,_0x17adc8),P(0xd,_0x34de02(J))],Q);function Ri(_0x213966,_0x2d47ad,_0x3e8a50,_0x9ac098,_0x3c3a0c,_0x40f5bc){var _0xad8fdc=_0x15a3f7;return _0x9ac098&&_0x3c3a0c[_0xad8fdc(0x292)]?_0x213966[_0xad8fdc(0x317)](ae,_0x2d47ad,_0x3e8a50,_0x9ac098,_0x3c3a0c,_0x40f5bc,void 0x0):_0x9ac098?_0x213966[_0xad8fdc(0x317)](_e,_0x2d47ad,_0x3e8a50,_0x9ac098,_0x40f5bc):_0x3c3a0c[_0xad8fdc(0x292)]?_0x213966[_0xad8fdc(0x317)](re,_0x2d47ad,_0x3e8a50,_0x3c3a0c,_0x40f5bc):_0x213966[_0xad8fdc(0x317)](ye,_0x2d47ad,_0x3e8a50,_0x40f5bc);}var Zs=Object[_0x15a3f7(0x3f6)],wt=(_0x571be2,_0x253c76,_0x536376,_0x2c74df)=>{for(var _0x409a53=_0x2c74df>0x1?void 0x0:_0x2c74df?Zs(_0x253c76,_0x536376):_0x253c76,_0x65e178=_0x571be2['length']-0x1,_0x40a92e;_0x65e178>=0x0;_0x65e178--)(_0x40a92e=_0x571be2[_0x65e178])&&(_0x409a53=_0x40a92e(_0x409a53)||_0x409a53);return _0x409a53;},H=(_0x5208a1,_0x41e07d)=>(_0x14e598,_0x2186c1)=>_0x41e07d(_0x14e598,_0x2186c1,_0x5208a1);let st=class extends _0x40a75e{constructor(_0x524734,_0x24caca,_0x52504e,_0xc399d7,_0x24c50e,_0x24fb17,_0x1763a2,_0x5106ec,_0x241cb9,_0x184c97,_0x35cb8a,_0x2708be,_0x378577){var _0x40f3aa=_0x15a3f7;super(),N(this,'_state$',new _0x14ddda(null)),N(this,_0x40f3aa(0x470),this['_state$'][_0x40f3aa(0x1c9)]()),N(this,'_state'),N(this,_0x40f3aa(0x37b),!0x1),N(this,_0x40f3aa(0x3c0),''),N(this,'_changesetReqId',0x0),N(this,_0x40f3aa(0x3a9),this['state$']['pipe'](_0x487dcd(_0x519fbe=>_0x519fbe?_0x519fbe['status']:Ti[_0x40f3aa(0x279)]),_0x1aee6c(0x1))),N(this,_0x40f3aa(0x21f),!0x1),N(this,_0x40f3aa(0x286),[]),(this[_0x40f3aa(0x366)]=_0x524734,this[_0x40f3aa(0x256)]=_0x24caca,this[_0x40f3aa(0x2c1)]=_0x52504e,this[_0x40f3aa(0x398)]=_0xc399d7,this[_0x40f3aa(0x480)]=_0x24c50e,this[_0x40f3aa(0x2eb)]=_0x24fb17,this[_0x40f3aa(0x1d9)]=_0x1763a2,this[_0x40f3aa(0x2dd)]=_0x5106ec,this[_0x40f3aa(0x485)]=_0x241cb9,this[_0x40f3aa(0x37c)]=_0x184c97,this['_permissionService']=_0x35cb8a,this[_0x40f3aa(0x241)]=_0x2708be,this[_0x40f3aa(0x263)]=_0x378577);}get[_0x15a3f7(0x3c8)](){return this['_state'];}async[_0x15a3f7(0x3a6)](){var _0xd4368c=_0x15a3f7;if(this[_0xd4368c(0x3c8)])throw new Error(_0xd4368c(0x276));await this[_0xd4368c(0x21b)]();}[_0x15a3f7(0x40f)](){var _0x4b51a0=_0x15a3f7;return this[_0x4b51a0(0x37b)]=!0x0,_0xa590bb(()=>{var _0xf5768b=_0x4b51a0;this['_collaborationPaused']=!0x1,this[_0xf5768b(0x387)]();});}['onLocalMutation'](_0x46ad8e){var _0x4b52b7=_0x15a3f7;this[_0x4b52b7(0x1eb)](_0x46ad8e);}[_0x15a3f7(0x47d)](_0x5eb531){var _0x232154=_0x15a3f7;this[_0x232154(0x26d)]=_0x5eb531,this['_state$'][_0x232154(0x3ff)](_0x5eb531);}async[_0x15a3f7(0x21b)](){var _0x20aa90=_0x15a3f7,_0x4679b0;this[_0x20aa90(0x47d)](await this[_0x20aa90(0x1d1)]()),this[_0x20aa90(0x241)]&&((_0x4679b0=this['_singleActiveUnitService'])==null||_0x4679b0[_0x20aa90(0x45c)](this[_0x20aa90(0x366)]),this['disposeWithMe'](this[_0x20aa90(0x241)]['getUnitStatus$'](this[_0x20aa90(0x366)])[_0x20aa90(0x32e)](_0xf76e32=>{var _0x2cead1=_0x20aa90;this[_0x2cead1(0x485)]['debug'](_0x2cead1(0x344),_0x2cead1(0x2a3),_0xf76e32),_0xf76e32===Ei[_0x2cead1(0x44b)]?(this['_eventService'][_0x2cead1(0x234)]({'id':ne['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x2cead1(0x2a0)](new _0x8d1a4(this[_0x2cead1(0x366)])['id'],!0x1),this['_permissionService'][_0x2cead1(0x1da)](!0x1)):(this['_permissionService'][_0x2cead1(0x2a0)](new _0x8d1a4(this[_0x2cead1(0x366)])['id'],!0x0),this[_0x2cead1(0x2b3)][_0x2cead1(0x1da)](!0x0));})));let _0xa7d09d=!0x1;return this[_0x20aa90(0x375)](this[_0x20aa90(0x256)]['sessionStatus$'][_0x20aa90(0x32e)](_0x191201=>{var _0x25444c=_0x20aa90;_0x191201===Se[_0x25444c(0x32f)]?this['_toggleOnline'](_0xa7d09d):_0x191201===Se['OFFLINE']&&(_0xa7d09d=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x20aa90(0x256)][_0x20aa90(0x468)]['subscribe'](_0x14243c=>{var _0x51fc7b=_0x20aa90;try{switch(_0x14243c[_0x51fc7b(0x221)]){case _0x27b4c0['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x482ff8(_0x14243c[_0x51fc7b(0x340)]));break;}case _0x27b4c0['CHANGESET_ACK']:{this['_onRemoteACK'](_0x14243c[_0x51fc7b(0x340)]);break;}case _0x27b4c0[_0x51fc7b(0x45a)]:{this[_0x51fc7b(0x3b0)]();break;}case _0x27b4c0[_0x51fc7b(0x285)]:{this[_0x51fc7b(0x3bb)](_0x14243c['data']);break;}case _0x27b4c0[_0x51fc7b(0x41a)]:{this['_onFetchMissResult'](_0x14243c[_0x51fc7b(0x340)][_0x51fc7b(0x268)][_0x51fc7b(0x38d)](_0x23b734=>_0x482ff8(_0x23b734)));break;}case _0x27b4c0['PERMISSION_REJ']:{this[_0x51fc7b(0x3b0)]({'isPermissionRej':!0x0});break;}case _0x27b4c0[_0x51fc7b(0x44c)]:break;}}catch(_0x375d25){throw console[_0x51fc7b(0x1ed)](_0x51fc7b(0x439),_0x375d25),_0x375d25;}})),this[_0x20aa90(0x26d)];}[_0x15a3f7(0x3f4)](){this['_transitionLocked']=!0x1;}[_0x15a3f7(0x22b)](){var _0x488288=_0x15a3f7;if(this[_0x488288(0x21f)])throw new Error(_0x488288(0x397));this[_0x488288(0x21f)]=!0x0;}[_0x15a3f7(0x1eb)](_0x31c242){var _0xe4979b=_0x15a3f7;this[_0xe4979b(0x22b)](),this[_0xe4979b(0x47d)](this[_0xe4979b(0x26d)][_0xe4979b(0x3e0)](_0x31c242)),this[_0xe4979b(0x3f4)]();}[_0x15a3f7(0x2f4)](_0x5e007d){var _0x331fa0=_0x15a3f7;if(!(_0x5e007d['revision']<=this[_0x331fa0(0x1d9)][_0x331fa0(0x25f)](this['unitID']))){if(this[_0x331fa0(0x37b)]){this[_0x331fa0(0x286)]['push'](_0x5e007d);return;}this[_0x331fa0(0x2fc)](_0x5e007d);}}[_0x15a3f7(0x387)](){var _0x37f962=_0x15a3f7;this[_0x37f962(0x286)][_0x37f962(0x42a)](_0x2d46d9=>this[_0x37f962(0x2fc)](_0x2d46d9)),this['_remoteChangesetQueue']=[];}[_0x15a3f7(0x2fc)](_0x1f36d3){var _0x555ce9=_0x15a3f7;const _0x4fab0a=this[_0x555ce9(0x480)]['interceptor'][_0x555ce9(0x4a3)](this[_0x555ce9(0x480)][_0x555ce9(0x3ee)][_0x555ce9(0x41d)]()['COMPRESS_MUTATION_APPLY'])(_0x1f36d3[_0x555ce9(0x478)],null)||_0x1f36d3[_0x555ce9(0x478)],_0x47f3b1={..._0x1f36d3,'mutations':_0x4fab0a};this['_lockTransition'](),this['_updateState'](this[_0x555ce9(0x26d)][_0x555ce9(0x43b)](_0x47f3b1)),this[_0x555ce9(0x3f4)]();}[_0x15a3f7(0x2b8)](_0x5ed69f){var _0xc68306=_0x15a3f7;this[_0xc68306(0x22b)](),this[_0xc68306(0x47d)](this[_0xc68306(0x26d)][_0xc68306(0x240)](_0x5ed69f)),this['_unlockTransition']();}['_onRemoteRejected'](_0x27fe90){var _0x210cb8=_0x15a3f7;this[_0x210cb8(0x22b)](),this[_0x210cb8(0x47d)](this['_state'][_0x210cb8(0x31a)](_0x27fe90)),this[_0x210cb8(0x3f4)]();}['_onRemoteRetry'](_0x427d15){var _0x4ca61b=_0x15a3f7;this[_0x4ca61b(0x22b)](),this[_0x4ca61b(0x47d)](this[_0x4ca61b(0x26d)][_0x4ca61b(0x360)](_0x427d15)),this['_unlockTransition']();}[_0x15a3f7(0x41c)](_0x4783b0){var _0x3e2e67=_0x15a3f7;if(!(this[_0x3e2e67(0x26d)]instanceof Q))throw new TypeError(_0x3e2e67(0x40b));const _0x5093e3=_0x4783b0[_0x3e2e67(0x38d)](_0x44bc62=>{var _0x598690=_0x3e2e67;const _0xfe1059=this[_0x598690(0x480)][_0x598690(0x3ee)][_0x598690(0x4a3)](this[_0x598690(0x480)]['interceptor'][_0x598690(0x41d)]()['COMPRESS_MUTATION_APPLY'])(_0x44bc62[_0x598690(0x478)],null)||_0x44bc62[_0x598690(0x478)];return{..._0x44bc62,'mutations':_0xfe1059};});this[_0x3e2e67(0x22b)](),this[_0x3e2e67(0x47d)](this[_0x3e2e67(0x26d)][_0x3e2e67(0x3ea)](_0x5093e3)),this[_0x3e2e67(0x3f4)]();}[_0x15a3f7(0x27b)](){var _0xff62b8=_0x15a3f7;this[_0xff62b8(0x22b)](),this[_0xff62b8(0x47d)](this[_0xff62b8(0x26d)][_0xff62b8(0x3ac)]()),this[_0xff62b8(0x3f4)]();}[_0x15a3f7(0x204)](_0x58a31f=!0x1){var _0x481630=_0x15a3f7;this[_0x481630(0x22b)](),this[_0x481630(0x47d)](this[_0x481630(0x26d)][_0x481630(0x44d)]()),this['_unlockTransition']();const _0x24aabc=this[_0x481630(0x26d)];_0x58a31f&&_0x24aabc instanceof ye&&(this[_0x481630(0x22b)](),this['_updateState'](_0x24aabc['fetchMiss']()),this[_0x481630(0x3f4)]());}async[_0x15a3f7(0x1d1)](){return new Promise(_0x575922=>{var _0x1f7338=_0x451b;this[_0x1f7338(0x256)][_0x1f7338(0x392)]['pipe'](_0x74e2e3(0x1))[_0x1f7338(0x32e)](async _0x505165=>{var _0xb84000=_0x1f7338;_0x575922(await this[_0xb84000(0x3f5)](_0x505165===Se[_0xb84000(0x32f)]));});});}[_0x15a3f7(0x49a)](){const _0x1688c5=this['unitID'];return{'onStateChange':(_0x24ac88,_0xad996e)=>{var _0x1561ff=_0x451b;if(_0x24ac88!==this[_0x1561ff(0x26d)])throw new Error(_0x1561ff(0x372)+_0x24ac88[_0x1561ff(0x257)]+'\x0aAfter:\x20'+_0xad996e[_0x1561ff(0x257)]+_0x1561ff(0x49b)+this[_0x1561ff(0x26d)][_0x1561ff(0x257)]);this[_0x1561ff(0x47d)](_0xad996e);},'onSendChangeset':_0x466f18=>{var _0x485222=_0x451b;_0x466f18[_0x485222(0x378)]||(_0x466f18[_0x485222(0x378)]=this[_0x485222(0x3c0)],_0x466f18[_0x485222(0x383)]=++this[_0x485222(0x1ea)]);const _0x36a3f7={'eventID':_0x27b4c0[_0x485222(0x32b)],'data':{'unitID':_0x466f18['unitID'],'unitType':this[_0x485222(0x2c1)],'changeset':_0x466f18,'memberID':this[_0x485222(0x256)][_0x485222(0x308)]()}};this['session']['send'](_0x36a3f7,this[_0x485222(0x366)]);},'onMissingChangesets':({from:_0x514bd4,to:_0x4a9a78})=>{var _0x1313d0=_0x451b;this[_0x1313d0(0x485)]['debug'](_0x1313d0(0x344),_0x1313d0(0x246)+_0x514bd4+_0x1313d0(0x23b)+_0x4a9a78);const _0x36631b={'eventID':_0x27b4c0['FETCH_MISSING'],'data':{'unitID':_0x1688c5,'unitType':this['_type'],'from':_0x514bd4,'to':_0x4a9a78}};this[_0x1313d0(0x256)][_0x1313d0(0x355)](_0x36631b,this['unitID']);}};}async['_createInitialStateImpl'](_0x2cb565){var _0x4c2a79=_0x15a3f7,_0x370461,_0x11ec1c,_0x1f2f53;const _0xf138d0=await((_0x370461=this[_0x4c2a79(0x263)])==null?void 0x0:_0x370461[_0x4c2a79(0x405)](this['unitID'])),_0x3a1855=(_0x11ec1c=_0xf138d0==null?void 0x0:_0xf138d0[_0x4c2a79(0x478)])!=null?_0x11ec1c:[],_0x3f23a5=(_0x1f2f53=_0xf138d0==null?void 0x0:_0xf138d0['awaitingChangeset'])!=null?_0x1f2f53:null,_0x539231=!!(_0x3f23a5!=null&&_0x3f23a5['sid'])&&!!(_0x3f23a5!=null&&_0x3f23a5['reqId']);this[_0x4c2a79(0x3c0)]=_0x539231?_0x3f23a5['sid']:_0x4d3d5e(),this['_changesetReqId']=_0x539231?_0x3f23a5['reqId']:0x0;const _0x1f42c2=this['unitID'];try{this[_0x4c2a79(0x3a2)](_0x3f23a5,_0x3a1855);}catch(_0x231e1b){this[_0x4c2a79(0x485)][_0x4c2a79(0x1ed)](_0x231e1b);}const _0x57ddc7=this[_0x4c2a79(0x49a)]();if(_0x2cb565){const _0x1ea3fc=Ri(this[_0x4c2a79(0x398)],_0x1f42c2,this[_0x4c2a79(0x2c1)],_0x3f23a5,_0x3a1855,_0x57ddc7);return _0x1ea3fc instanceof re?_0x1ea3fc[_0x4c2a79(0x20e)]():(_0x1ea3fc instanceof ae||_0x1ea3fc instanceof _e)&&_0x1ea3fc['resend'](),_0x1ea3fc;}return this[_0x4c2a79(0x398)]['createInstance'](ue,_0x1f42c2,this[_0x4c2a79(0x2c1)],_0x3f23a5,_0x3a1855,_0x57ddc7);}['_replayCachedMutations'](_0x19de5c,_0x428180){var _0x4c1d32=_0x15a3f7,_0x2629ee,_0x4eafa5;const _0x2e7ab9=this[_0x4c1d32(0x480)]['interceptor']['fetchThroughInterceptors'](this[_0x4c1d32(0x480)][_0x4c1d32(0x3ee)][_0x4c1d32(0x41d)]()[_0x4c1d32(0x30f)]);(_0x2629ee=_0x2e7ab9((_0x19de5c==null?void 0x0:_0x19de5c[_0x4c1d32(0x478)])||[],null))==null||_0x2629ee[_0x4c1d32(0x42a)](_0x8a3ccf=>this[_0x4c1d32(0x37c)][_0x4c1d32(0x1cb)](_0x8a3ccf['id'],_0x8a3ccf['params'])),(_0x4eafa5=_0x2e7ab9(_0x428180||[],null))==null||_0x4eafa5[_0x4c1d32(0x42a)](_0x14cdee=>this[_0x4c1d32(0x37c)][_0x4c1d32(0x1cb)](_0x14cdee['id'],_0x14cdee[_0x4c1d32(0x42c)]));}};st=wt([H(0x3,_0x2b7a12(_0x59694f)),H(0x4,_0x2b7a12(_0x14eedd)),H(0x5,_0x2b7a12(_0x990d00)),H(0x6,_0x2b7a12(_0x5cf756)),H(0x7,_0x2b7a12(ve)),H(0x8,_0xa648c6),H(0x9,_0x36f535),H(0xa,_0x26b2f2),H(0xb,_0x34de02(ht)),H(0xc,_0x34de02(J))],st);let St=class extends st{constructor(_0x108f89,_0x202ee4,_0x37f3cf,_0x13d298,_0x7f6c34,_0x525325,_0x405e8a,_0x499a63,_0x1ae681,_0x355703,_0x2f684d,_0x4546ad,_0x168132){var _0x36f62f=_0x15a3f7;super(_0x108f89,_0x37f3cf,_0x202ee4,_0x13d298,_0x7f6c34,_0x525325,_0x405e8a,_0x499a63,_0x1ae681,_0x355703,_0x2f684d,_0x4546ad,_0x168132),N(this,_0x36f62f(0x441),null),(this['unitID']=_0x108f89,this[_0x36f62f(0x247)]=_0x202ee4);}[_0x15a3f7(0x205)](_0x579446){var _0x30227f=_0x15a3f7;this[_0x30227f(0x441)]=_0x579446;}['dispose'](){var _0xabf92f=_0x15a3f7;this[_0xabf92f(0x441)]=null,super[_0xabf92f(0x214)]();}['_createHandler'](){var _0x25b9ec=_0x15a3f7;const _0x46a48c=super[_0x25b9ec(0x49a)]();return _0x46a48c[_0x25b9ec(0x1ba)]=_0x1e3c34=>{var _0x3ed52a=_0x25b9ec,_0x4c0038,_0x41bf09;return(_0x41bf09=(_0x4c0038=this[_0x3ed52a(0x441)])==null?void 0x0:_0x4c0038[_0x3ed52a(0x1ba)])==null?void 0x0:_0x41bf09[_0x3ed52a(0x328)](_0x4c0038,_0x1e3c34);},_0x46a48c[_0x25b9ec(0x2ad)]=_0x3d83fc=>{var _0x3af28c=_0x25b9ec,_0x21dcf3,_0x26e73d;return(_0x26e73d=(_0x21dcf3=this[_0x3af28c(0x441)])==null?void 0x0:_0x21dcf3[_0x3af28c(0x2ad)])==null?void 0x0:_0x26e73d[_0x3af28c(0x328)](_0x21dcf3,_0x3d83fc);},_0x46a48c['onTransformSelections']=_0x390dbd=>{var _0x17802b=_0x25b9ec,_0x4fe18d,_0x329ca2;return(_0x329ca2=(_0x4fe18d=this[_0x17802b(0x441)])==null?void 0x0:_0x4fe18d[_0x17802b(0x421)])==null?void 0x0:_0x329ca2[_0x17802b(0x328)](_0x4fe18d,_0x390dbd);},_0x46a48c[_0x25b9ec(0x338)]=_0x512581=>{var _0x16b0ca=_0x25b9ec,_0x3de6c3,_0x246d8e;return(_0x246d8e=(_0x3de6c3=this['_handlerCallback'])==null?void 0x0:_0x3de6c3[_0x16b0ca(0x338)])==null?void 0x0:_0x246d8e[_0x16b0ca(0x328)](_0x3de6c3,_0x512581);},_0x46a48c[_0x25b9ec(0x203)]=_0x3156b0=>{var _0x5d1419=_0x25b9ec,_0x202d5e,_0x4f3680,_0x5ba402;if(!((_0x202d5e=this[_0x5d1419(0x441)])!=null&&_0x202d5e['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5ba402=(_0x4f3680=this[_0x5d1419(0x441)])==null?void 0x0:_0x4f3680[_0x5d1419(0x203)])==null?void 0x0:_0x5ba402[_0x5d1419(0x328)](_0x4f3680,_0x3156b0);},_0x46a48c[_0x25b9ec(0x1fe)]=_0x499f70=>{var _0x3f940e=_0x25b9ec,_0x59b145,_0x4b7b02,_0x5993fc;if(!((_0x59b145=this[_0x3f940e(0x441)])!=null&&_0x59b145[_0x3f940e(0x1fe)]))throw new Error(_0x3f940e(0x2ce));return(_0x5993fc=(_0x4b7b02=this[_0x3f940e(0x441)])==null?void 0x0:_0x4b7b02['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5993fc[_0x3f940e(0x328)](_0x4b7b02,_0x499f70);},_0x46a48c;}async[_0x15a3f7(0x21b)](){var _0x43b838=_0x15a3f7;const _0x29080e=await super[_0x43b838(0x21b)]();return this[_0x43b838(0x375)](this[_0x43b838(0x37c)][_0x43b838(0x40d)]((_0x3c306d,_0x2f8ba9)=>{var _0x1cd8b2=_0x43b838;if(_0x3c306d[_0x1cd8b2(0x247)]!==_0x422a3a[_0x1cd8b2(0x429)]||_0x2f8ba9!=null&&_0x2f8ba9['fromCollab']||_0x2f8ba9!=null&&_0x2f8ba9[_0x1cd8b2(0x425)]||_0x3c306d['id']===_0x21e6c0['id'])return;const _0x2cf130=_0x3c306d['params'];if((_0x2cf130==null?void 0x0:_0x2cf130[_0x1cd8b2(0x45d)])!==this[_0x1cd8b2(0x366)])return;const _0x2a0c21=_0x3c306d,_0x351bbc=this['_compressMutationService'][_0x1cd8b2(0x3ee)]['fetchThroughInterceptors'](this[_0x1cd8b2(0x480)]['interceptor'][_0x1cd8b2(0x41d)]()[_0x1cd8b2(0x41b)])([_0x2a0c21],null)||[_0x2a0c21];this['_onLocalMutation'](_0x351bbc[0x0]);})),_0x29080e;}};St=wt([H(0x3,_0x2b7a12(_0x59694f)),H(0x4,_0x2b7a12(_0x14eedd)),H(0x5,_0x2b7a12(_0x990d00)),H(0x6,_0x2b7a12(_0x5cf756)),H(0x7,_0x2b7a12(ve)),H(0x8,_0xa648c6),H(0x9,_0x36f535),H(0xa,_0x26b2f2),H(0xb,_0x34de02(ht)),H(0xc,_0x34de02(J))],St);let Et=class extends st{constructor(_0x2d5cae,_0x224616,_0x4ac8ac,_0x204447,_0x3f60eb,_0x313cd9,_0x3b70dc,_0x13f6a3,_0x27439f,_0x2f7422,_0x263095,_0x1d4257,_0x4d4e61,_0x2bf7ce){var _0x3d37e3=_0x15a3f7;super(_0x2d5cae,_0x4ac8ac,_0x224616,_0x204447,_0x3f60eb,_0x313cd9,_0x3b70dc,_0x27439f,_0x2f7422,_0x263095,_0x1d4257,_0x4d4e61,_0x2bf7ce),this[_0x3d37e3(0x366)]=_0x2d5cae,this[_0x3d37e3(0x247)]=_0x224616,this[_0x3d37e3(0x444)]=_0x13f6a3;}['_createHandler'](){var _0x1da5e8=_0x15a3f7;const _0x45c30f=super[_0x1da5e8(0x49a)]();return _0x45c30f[_0x1da5e8(0x421)]=_0x4bd6f2=>this[_0x1da5e8(0x444)][_0x1da5e8(0x48e)](_0x4bd6f2),_0x45c30f;}async[_0x15a3f7(0x21b)](){var _0x4d3a3d=_0x15a3f7;const _0x490653=await super[_0x4d3a3d(0x21b)]();return this['disposeWithMe'](this[_0x4d3a3d(0x37c)]['onCommandExecuted']((_0x531a65,_0x10c80a)=>{var _0x3934f9=_0x4d3a3d;if(_0x531a65[_0x3934f9(0x247)]!==_0x422a3a[_0x3934f9(0x429)]||_0x10c80a!=null&&_0x10c80a['fromCollab']||_0x10c80a!=null&&_0x10c80a[_0x3934f9(0x425)])return;const _0x1ef06e=_0x531a65['params'];if((_0x1ef06e==null?void 0x0:_0x1ef06e[_0x3934f9(0x45d)])!==this[_0x3934f9(0x366)])return;const _0x3d30af=_0x531a65,_0x109bca=this[_0x3934f9(0x480)][_0x3934f9(0x3ee)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x3934f9(0x41d)]()[_0x3934f9(0x41b)])([_0x3d30af],null)||[_0x3d30af];this[_0x3934f9(0x1eb)](_0x109bca[0x0]);})),_0x490653;}};Et=wt([H(0x3,_0x2b7a12(_0x59694f)),H(0x4,_0x2b7a12(_0x14eedd)),H(0x5,_0x2b7a12(_0x990d00)),H(0x6,_0x2b7a12(_0x5cf756)),H(0x7,_0x2b7a12(it)),H(0x8,_0x2b7a12(ve)),H(0x9,_0xa648c6),H(0xa,_0x36f535),H(0xb,_0x26b2f2),H(0xc,_0x34de02(ht)),H(0xd,_0x34de02(J))],Et);var Qs=Object['getOwnPropertyDescriptor'],en=(_0x46937f,_0x4b7f38,_0x1e6a09,_0x411ad2)=>{var _0x33f686=_0x15a3f7;for(var _0x3e2151=_0x411ad2>0x1?void 0x0:_0x411ad2?Qs(_0x4b7f38,_0x1e6a09):_0x4b7f38,_0x130616=_0x46937f[_0x33f686(0x292)]-0x1,_0x25b4d9;_0x130616>=0x0;_0x130616--)(_0x25b4d9=_0x46937f[_0x130616])&&(_0x3e2151=_0x25b4d9(_0x3e2151)||_0x3e2151);return _0x3e2151;},Be=(_0x340d72,_0x1a8757)=>(_0x47fda6,_0x3b349f)=>_0x1a8757(_0x47fda6,_0x3b349f,_0x340d72);let nt=class extends _0x40a75e{constructor(_0x4c38eb,_0x4e2187,_0x2ea8a9,_0x5b1335){var _0x2c2b63=_0x15a3f7,_0x30f359;super(),N(this,_0x2c2b63(0x3a7),new Map()),N(this,_0x2c2b63(0x299),new _0x3cc23b()),N(this,_0x2c2b63(0x43c),this[_0x2c2b63(0x299)]['asObservable']()),(this[_0x2c2b63(0x398)]=_0x4c38eb,this[_0x2c2b63(0x37d)]=_0x4e2187,this[_0x2c2b63(0x3df)]=_0x2ea8a9,this[_0x2c2b63(0x488)]=_0x5b1335,((_0x30f359=this[_0x2c2b63(0x3df)][_0x2c2b63(0x24e)](K))==null?void 0x0:_0x30f359[_0x2c2b63(0x321)])!==!0x1&&this[_0x2c2b63(0x21b)]());}[_0x15a3f7(0x214)](){var _0x258d4a=_0x15a3f7;super[_0x258d4a(0x214)](),this['_entities'][_0x258d4a(0x42a)](_0x460c2f=>_0x460c2f[_0x258d4a(0x214)]()),this[_0x258d4a(0x3a7)]['clear']();}['getCollabEntity'](_0x2f1873){var _0x496c05=_0x15a3f7,_0x181654;return(_0x181654=this[_0x496c05(0x3a7)][_0x496c05(0x402)](_0x2f1873))!=null?_0x181654:null;}[_0x15a3f7(0x3ab)](_0x1b47d0){var _0x295c26=_0x15a3f7;const _0x19e264=this[_0x295c26(0x363)](_0x1b47d0);return _0x19e264?_0x2381d1(_0x19e264):this[_0x295c26(0x299)]['pipe'](_0x37a8f5(_0x1e0b25=>_0x1e0b25[_0x295c26(0x366)]===_0x1b47d0));}[_0x15a3f7(0x2d6)](_0x2a7249){var _0x531eef=_0x15a3f7;return _0xdd3878(this[_0x531eef(0x3ab)](_0x2a7249)[_0x531eef(0x242)](_0x3a21da(()=>{})));}[_0x15a3f7(0x21b)](){var _0x55e5cd=_0x15a3f7;this[_0x55e5cd(0x488)][_0x55e5cd(0x3d2)](_0xdcaf5b[_0x55e5cd(0x1fa)])[_0x55e5cd(0x242)](_0x1773e2(this['dispose$']),_0x309e49(0x10))[_0x55e5cd(0x32e)](async _0xe061c2=>{var _0x52d6ab=_0x55e5cd;const _0x15041f=_0xe061c2[_0x52d6ab(0x361)](),_0x2b218c=await this['_startCollaboration'](_0x15041f,Z[_0x52d6ab(0x1fa)]);this[_0x52d6ab(0x3a7)][_0x52d6ab(0x1d8)](_0x15041f,_0x2b218c);}),this[_0x55e5cd(0x488)]['getTypeOfUnitAdded$'](_0xdcaf5b[_0x55e5cd(0x2e6)])['pipe'](_0x1773e2(this[_0x55e5cd(0x379)]),_0x309e49(0x10))[_0x55e5cd(0x242)](_0x37a8f5(_0x1b710a=>!_0x1b710a['getUnitId']()['startsWith']('__')))['subscribe'](async _0x5b27ac=>{var _0x1a3f9f=_0x55e5cd;const _0x13ffe7=_0x5b27ac[_0x1a3f9f(0x361)](),_0x5ab00e=await this[_0x1a3f9f(0x32d)](_0x13ffe7,Z[_0x1a3f9f(0x2e6)]);this['_entities']['set'](_0x13ffe7,_0x5ab00e);}),_0x435616(this[_0x55e5cd(0x488)][_0x55e5cd(0x264)](_0xdcaf5b['UNIVER_SHEET']),this[_0x55e5cd(0x488)][_0x55e5cd(0x264)](_0xdcaf5b[_0x55e5cd(0x2e6)]))['pipe'](_0x1773e2(this[_0x55e5cd(0x379)]))['subscribe'](_0x28c3b2=>{var _0x18131b=_0x55e5cd;const _0xb07416=_0x28c3b2[_0x18131b(0x361)](),_0x5b50f3=this[_0x18131b(0x3a7)]['get'](_0xb07416);_0x5b50f3&&(_0x5b50f3['dispose'](),this['_entities']['delete'](_0xb07416));});}async[_0x15a3f7(0x32d)](_0x1d4296,_0x23cfae){var _0x5f2e27=_0x15a3f7;const _0x4cacf4=await this['_collabSessionService'][_0x5f2e27(0x2cc)](_0x1d4296),_0x11a3f8=this[_0x5f2e27(0x398)][_0x5f2e27(0x317)](this[_0x5f2e27(0x30b)](_0x23cfae),_0x1d4296,_0x23cfae,_0x4cacf4);return await _0x11a3f8['init'](),this[_0x5f2e27(0x299)][_0x5f2e27(0x3ff)](_0x11a3f8),_0x11a3f8;}[_0x15a3f7(0x30b)](_0x40b551){var _0x41ac49=_0x15a3f7;switch(_0x40b551){case Z['UNIVER_DOC']:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x41ac49(0x369)+_0x40b551);}}};nt=en([Be(0x0,_0x2b7a12(_0x59694f)),Be(0x1,_0x2b7a12(Le)),Be(0x2,_0x47f3d0),Be(0x3,_0x2ac46f)],nt);var tn=Object[_0x15a3f7(0x3f6)],sn=(_0x476630,_0x4c7d5a,_0x41e91f,_0x4cf49f)=>{var _0x155c2b=_0x15a3f7;for(var _0x1eb662=_0x4cf49f>0x1?void 0x0:_0x4cf49f?tn(_0x4c7d5a,_0x41e91f):_0x4c7d5a,_0x427643=_0x476630[_0x155c2b(0x292)]-0x1,_0x56300a;_0x427643>=0x0;_0x427643--)(_0x56300a=_0x476630[_0x427643])&&(_0x1eb662=_0x56300a(_0x1eb662)||_0x1eb662);return _0x1eb662;},Wt=(_0x24b9a9,_0xa18a50)=>(_0x556769,_0x4c5821)=>_0xa18a50(_0x556769,_0x4c5821,_0x24b9a9);const nn=_0x15a3f7(0x2b7),rn='Univer';let It=class extends _0x651287{constructor(_0x526d5b,_0x3c9489){var _0x57e1ad=_0x15a3f7;super(),this[_0x57e1ad(0x488)]=_0x526d5b,this[_0x57e1ad(0x3df)]=_0x3c9489,this[_0x57e1ad(0x21b)]();}[_0x15a3f7(0x21b)](){var _0x1a5c35=_0x15a3f7;this[_0x1a5c35(0x375)](this[_0x1a5c35(0x488)][_0x1a5c35(0x481)][_0x1a5c35(0x32e)](()=>{var _0xace6bb=_0x1a5c35,_0x4fa5a0;const _0x4c2070=this['_univerInstanceService'][_0xace6bb(0x1ec)]();let _0xd79083=(_0x4fa5a0=this[_0xace6bb(0x3df)]['getConfig'](nn))!=null?_0x4fa5a0:rn;_0x4c2070 instanceof _0x3866ef&&(_0xd79083=_0x4c2070['name']),document[_0xace6bb(0x3bf)]=_0xd79083;}));}};It=sn([Wt(0x0,_0x2ac46f),Wt(0x1,_0x47f3d0)],It);var an=Object[_0x15a3f7(0x3f6)],on=(_0x1cc2a7,_0xc8d9cf,_0x2dbd47,_0x15d9e4)=>{var _0x3dd140=_0x15a3f7;for(var _0x376bde=_0x15d9e4>0x1?void 0x0:_0x15d9e4?an(_0xc8d9cf,_0x2dbd47):_0xc8d9cf,_0x59a32c=_0x1cc2a7[_0x3dd140(0x292)]-0x1,_0x7834c4;_0x59a32c>=0x0;_0x59a32c--)(_0x7834c4=_0x1cc2a7[_0x59a32c])&&(_0x376bde=_0x7834c4(_0x376bde)||_0x376bde);return _0x376bde;},dt=(_0x11bd4e,_0x13fca4)=>(_0x2fa4b0,_0x41ec9c)=>_0x13fca4(_0x2fa4b0,_0x41ec9c,_0x11bd4e);let rt=class{constructor(_0x3953a5,_0x91e9c3,_0x2a2d14){var _0x16547f=_0x15a3f7;this['_configService']=_0x3953a5,this[_0x16547f(0x3a1)]=_0x91e9c3,this[_0x16547f(0x3e8)]=_0x2a2d14,this[_0x16547f(0x3a6)]();}[_0x15a3f7(0x3a6)](){var _0x50d35b=_0x15a3f7;this[_0x50d35b(0x3a1)][_0x50d35b(0x29e)]({'priority':0x1,'interceptor':(_0x50c310,_0x39010a)=>_0x39010a(_0x50c310)[_0x50d35b(0x242)](_0x48c3a8(async _0x10c67a=>{var _0x33b9ff=_0x50d35b;const _0x1db8ce=_0x10c67a;if(_0x1db8ce['status']===0x191){if(typeof window>'u')throw new Error(_0x33b9ff(0x2cb));if(window['confirm'](this[_0x33b9ff(0x3e8)]['t'](_0x33b9ff(0x2ab)))){const _0x18b61a=window[_0x33b9ff(0x20c)](window['location'][_0x33b9ff(0x319)]);window[_0x33b9ff(0x223)]['href']=this[_0x33b9ff(0x2d4)]()+'?url='+_0x18b61a;}}return _0x1db8ce;}))});}[_0x15a3f7(0x2d4)](){var _0x418cd5=_0x15a3f7,_0x443eda,_0x3642f0;const _0x294d7c=this['_configService'][_0x418cd5(0x24e)](ys),_0x3c6ab6=this[_0x418cd5(0x3df)][_0x418cd5(0x24e)](K);return(_0x3642f0=(_0x443eda=_0x3c6ab6==null?void 0x0:_0x3c6ab6[_0x418cd5(0x337)])!=null?_0x443eda:_0x294d7c)!=null?_0x3642f0:Ns;}};rt=on([dt(0x0,_0x47f3d0),dt(0x1,_0x2b7a12(_0x52d2f1)),dt(0x2,_0x2b7a12(_0x990d00))],rt);var cn=Object['getOwnPropertyDescriptor'],hn=(_0xbf58dd,_0x555dbf,_0x2e8d34,_0x685894)=>{var _0x412641=_0x15a3f7;for(var _0x53bf80=_0x685894>0x1?void 0x0:_0x685894?cn(_0x555dbf,_0x2e8d34):_0x555dbf,_0x1c381f=_0xbf58dd[_0x412641(0x292)]-0x1,_0x44b638;_0x1c381f>=0x0;_0x1c381f--)(_0x44b638=_0xbf58dd[_0x1c381f])&&(_0x53bf80=_0x44b638(_0x53bf80)||_0x53bf80);return _0x53bf80;},Kt=(_0x4a11cf,_0x1a767)=>(_0x2828b0,_0x2b1fb8)=>_0x1a767(_0x2828b0,_0x2b1fb8,_0x4a11cf);const Oi=_0x15a3f7(0x484),_n=_0x15a3f7(0x235);let Tt=class extends _0x651287{constructor(_0x3122cd,_0x17a12f){var _0x194ff7=_0x15a3f7;super(),this[_0x194ff7(0x293)]=_0x3122cd,this[_0x194ff7(0x3df)]=_0x17a12f,this[_0x194ff7(0x494)]();}[_0x15a3f7(0x494)](){var _0x9d03aa=_0x15a3f7;const _0x29b7cd=this;this[_0x9d03aa(0x375)](this['_HTTPService'][_0x9d03aa(0x29e)]({'priority':0x3e7,'interceptor':_0x5078ed({'isMatch'(_0x49f4b7){var _0x200800=_0x9d03aa,_0x17436a;if(_0x49f4b7[_0x200800(0x258)]===_0x200800(0x1f2)&&((_0x17436a=_0x49f4b7[_0x200800(0x21a)])!=null&&_0x17436a[_0x200800(0x1b8)])){const {objectID:_0x26b2c8,objectType:_0x3658b0}=_0x49f4b7[_0x200800(0x21a)][_0x200800(0x1b8)]||{};if(!_0x26b2c8||_0x3658b0===void 0x0)return!0x1;const _0x4339f3=_0x29b7cd[_0x200800(0x433)]()+'/'+_0x3658b0+_0x200800(0x3fe)+_0x26b2c8+'/allowed';if(_0x49f4b7['url']===_0x4339f3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xf94c83){var _0x42880b=_0x9d03aa,_0x2f0deb;return(_0x2f0deb=_0xf94c83['requestParams'])==null?void 0x0:_0x2f0deb[_0x42880b(0x1b8)];},'mergeParamsToRequest'(_0x471297,_0x4b4215){var _0x58a9c2=_0x9d03aa;const _0x1184a9=_0x29b7cd[_0x58a9c2(0x433)]()+_0x58a9c2(0x46e),_0x37a2b0=_0x471297[_0x58a9c2(0x3de)]((_0x498c1e,_0x313ed4)=>{var _0x258229=_0x58a9c2;const {unitID:_0x44392e,objectID:_0x4eccb0,objectType:_0x1737a6,actions:_0x2e4eb2}=_0x313ed4;return _0x498c1e[_0x44392e]||(_0x498c1e[_0x44392e]={}),_0x498c1e[_0x44392e][_0x4eccb0]||(_0x498c1e[_0x44392e][_0x4eccb0]={'objectID':_0x4eccb0,'objectType':_0x1737a6,'actions':[]}),_0x498c1e[_0x44392e][_0x4eccb0]['actions'][_0x258229(0x3e6)](..._0x2e4eb2),_0x498c1e;},{}),_0x3899c6=[];for(const _0x4517e6 in _0x37a2b0)for(const _0x3413c7 in _0x37a2b0[_0x4517e6]){const {actions:_0xbb202e,objectType:_0x2cf553}=_0x37a2b0[_0x4517e6][_0x3413c7],_0x56d047=[...new Set(_0xbb202e)];_0x3899c6[_0x58a9c2(0x3e6)]({'unitID':_0x4517e6,'objectID':_0x3413c7,'objectType':_0x2cf553,'actions':_0x56d047});}return new _0x23972e('POST',_0x1184a9,{'headers':_0x4b4215[_0x58a9c2(0x1b6)],'withCredentials':_0x4b4215[_0x58a9c2(0x277)],'responseType':_0x4b4215[_0x58a9c2(0x310)],'body':{'requests':_0x3899c6}});}},{'distributeResult'(_0x4a5086,_0x1ec18c){var _0x4e3acd=_0x9d03aa;const {objectActions:_0x27f009}=_0x4a5086;return _0x1ec18c[_0x4e3acd(0x38d)](_0xcb5c12=>{var _0xeb75ce=_0x4e3acd;const {unitID:_0x590da2,objectID:_0x3d05a2,actions:_0x18a522}=_0xcb5c12,_0x298340=_0x27f009[_0xeb75ce(0x2d9)](_0x31efb6=>_0x31efb6[_0xeb75ce(0x366)]===_0x590da2&&_0x31efb6[_0xeb75ce(0x314)]===_0x3d05a2),_0x4119a2=_0x18a522[_0xeb75ce(0x38d)](_0x1ab96c=>_0x298340==null?void 0x0:_0x298340[_0xeb75ce(0x49f)][_0xeb75ce(0x2d9)](_0x54e557=>_0x54e557['action']===_0x1ab96c))['filter'](_0x1c7470=>!!_0x1c7470);return{'config':_0xcb5c12,'result':{'actions':_0x4119a2,'error':_0x4a5086[_0xeb75ce(0x1ed)]}};});}})}));}[_0x15a3f7(0x433)](){var _0x39c7a5=_0x15a3f7,_0x306e83,_0x4fbc3a;const _0x3c9eb6=this['_configService'][_0x39c7a5(0x24e)](Oi),_0x25e990=this['_configService'][_0x39c7a5(0x24e)](K);return(_0x4fbc3a=(_0x306e83=_0x25e990==null?void 0x0:_0x25e990[_0x39c7a5(0x47a)])!=null?_0x306e83:_0x3c9eb6)!=null?_0x4fbc3a:_n;}async[_0x15a3f7(0x232)](_0x2d1b93){var _0x1213eb=_0x15a3f7;const _0x2c0f95=this[_0x1213eb(0x433)]()+'/'+_0x2d1b93[_0x1213eb(0x48c)]+_0x1213eb(0x326);return(await this[_0x1213eb(0x293)][_0x1213eb(0x1cd)](_0x2c0f95,{'body':_0x2d1b93}))[_0x1213eb(0x1b8)][_0x1213eb(0x314)]||'';}async[_0x15a3f7(0x1af)](_0x469e0a){var _0x34467d=_0x15a3f7;const _0x28ab7c=this[_0x34467d(0x433)]()+_0x34467d(0x25d);return(await this[_0x34467d(0x293)][_0x34467d(0x1cd)](_0x28ab7c,{'body':_0x469e0a}))[_0x34467d(0x1b8)][_0x34467d(0x228)];}async['update'](_0x270e0e){var _0x4db9fa=_0x15a3f7,_0x3bbaeb,_0x1ead07;const _0x1b909f=this[_0x4db9fa(0x433)]()+'/'+_0x270e0e[_0x4db9fa(0x48c)]+'/object/'+_0x270e0e[_0x4db9fa(0x314)],_0x103e99=await this[_0x4db9fa(0x293)][_0x4db9fa(0x267)](_0x1b909f,{'body':_0x270e0e});if(((_0x1ead07=(_0x3bbaeb=_0x103e99==null?void 0x0:_0x103e99[_0x4db9fa(0x1b8)])==null?void 0x0:_0x3bbaeb[_0x4db9fa(0x1ed)])==null?void 0x0:_0x1ead07[_0x4db9fa(0x1b1)])!==0x1)throw new Error(_0x4db9fa(0x2d1));}async[_0x15a3f7(0x1b4)](_0x88805a){var _0x5ca759=_0x15a3f7;const _0x44a535=this[_0x5ca759(0x433)]()+'/'+_0x88805a[_0x5ca759(0x48c)]+_0x5ca759(0x3fe)+_0x88805a['objectID']+_0x5ca759(0x457);return(await this[_0x5ca759(0x293)][_0x5ca759(0x1cd)](_0x44a535,{'body':_0x88805a}))[_0x5ca759(0x1b8)][_0x5ca759(0x49f)];}async[_0x15a3f7(0x390)](_0x560358){var _0x50672e=_0x15a3f7;const _0x4b0a23=this['_getAPIPrefixPath']()+_0x50672e(0x46e);return(await this[_0x50672e(0x293)][_0x50672e(0x1cd)](_0x4b0a23,{'body':{'requests':_0x560358}}))[_0x50672e(0x1b8)][_0x50672e(0x2de)];}async[_0x15a3f7(0x411)](_0x5784dd){var _0x28c1d8=_0x15a3f7;const _0x292186=this[_0x28c1d8(0x433)]()+'/'+_0x5784dd[_0x28c1d8(0x48c)]+'/role',_0x19fc21=await this['_HTTPService']['post'](_0x292186,{'body':_0x5784dd});return{'roles':_0x19fc21[_0x28c1d8(0x1b8)]['roles'],'actions':_0x19fc21[_0x28c1d8(0x1b8)][_0x28c1d8(0x49f)]};}async[_0x15a3f7(0x309)](_0x54edad){var _0x3b97=_0x15a3f7;const _0x1169bd=this[_0x3b97(0x433)]()+_0x3b97(0x1ab);await this[_0x3b97(0x293)][_0x3b97(0x365)](_0x1169bd,{'params':{'collaboratorID':_0x54edad[_0x3b97(0x2d5)],'objectID':_0x54edad[_0x3b97(0x314)],'unitID':_0x54edad['unitID']}});}async['updateCollaborator'](_0x678f13){var _0x19c9be=_0x15a3f7;const _0x4af8bd=this[_0x19c9be(0x433)]()+'/collaborator';await this[_0x19c9be(0x293)]['patch'](_0x4af8bd,{'body':_0x678f13});}async['createCollaborator'](_0x6f6af7){var _0xe7a867=_0x15a3f7;const _0x3978a9=this[_0xe7a867(0x433)]()+_0xe7a867(0x1ab);await this[_0xe7a867(0x293)][_0xe7a867(0x1cd)](_0x3978a9,{'body':_0x6f6af7});}async[_0x15a3f7(0x49d)](_0x251994){var _0x340008=_0x15a3f7;const _0x3601b1=this[_0x340008(0x433)]()+'/collaborator';return(await this[_0x340008(0x293)][_0x340008(0x402)](_0x3601b1,{'params':{'objectID':_0x251994[_0x340008(0x314)],'unitID':_0x251994[_0x340008(0x366)]}}))[_0x340008(0x1b8)][_0x340008(0x1d4)];}async[_0x15a3f7(0x2aa)](_0x1f9f2f){var _0x454317=_0x15a3f7;const _0x3448c9=this['_getAPIPrefixPath']()+_0x454317(0x1ab);await this['_HTTPService'][_0x454317(0x267)](_0x3448c9,{'body':_0x1f9f2f});}};Tt=hn([Kt(0x0,_0x2b7a12(_0x52d2f1)),Kt(0x1,_0x2b7a12(_0x47f3d0))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1eae63){var _0x54940f=_0x15a3f7;return _0x1eae63&&_0x1eae63[_0x54940f(0x220)]&&Object[_0x54940f(0x224)][_0x54940f(0x35a)][_0x54940f(0x328)](_0x1eae63,_0x54940f(0x32a))?_0x1eae63[_0x54940f(0x32a)]:_0x1eae63;}var Ve={'exports':{}};function ln(_0x3ac6cf){var _0x3652ca=_0x15a3f7;throw new Error(_0x3652ca(0x440)+_0x3ac6cf+_0x3652ca(0x283));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x1f38bc=_0x15a3f7;return qt||(qt=0x1,function(_0x5d0738,_0x4339b7){(function(_0x45ddfc,_0xd3ac84){var _0x48948f=_0x451b;_0x5d0738[_0x48948f(0x219)]=_0xd3ac84();}(un,function(){var _0x1cc711=_0x1cc711||function(_0x407741,_0x12fb77){var _0x1a4dd1=_0x451b,_0x2bdcf7;if(typeof window<'u'&&window[_0x1a4dd1(0x1c7)]&&(_0x2bdcf7=window['crypto']),typeof self<'u'&&self[_0x1a4dd1(0x1c7)]&&(_0x2bdcf7=self[_0x1a4dd1(0x1c7)]),typeof globalThis<'u'&&globalThis[_0x1a4dd1(0x1c7)]&&(_0x2bdcf7=globalThis[_0x1a4dd1(0x1c7)]),!_0x2bdcf7&&typeof window<'u'&&window[_0x1a4dd1(0x2c6)]&&(_0x2bdcf7=window[_0x1a4dd1(0x2c6)]),!_0x2bdcf7&&typeof ft<'u'&&ft[_0x1a4dd1(0x1c7)]&&(_0x2bdcf7=ft[_0x1a4dd1(0x1c7)]),!_0x2bdcf7&&typeof ln==_0x1a4dd1(0x29d))try{_0x2bdcf7=require('crypto');}catch{}var _0x10da63=function(){var _0x350449=_0x1a4dd1;if(_0x2bdcf7){if(typeof _0x2bdcf7[_0x350449(0x38e)]==_0x350449(0x29d))try{return _0x2bdcf7['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2bdcf7[_0x350449(0x25e)]==_0x350449(0x29d))try{return _0x2bdcf7[_0x350449(0x25e)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x350449(0x1ee));},_0x29fd2a=Object[_0x1a4dd1(0x232)]||(function(){function _0x500acb(){}return function(_0x34eefb){var _0x2fc7eb=_0x451b,_0x4622b6;return _0x500acb[_0x2fc7eb(0x224)]=_0x34eefb,_0x4622b6=new _0x500acb(),_0x500acb['prototype']=null,_0x4622b6;};}()),_0x206b4c={},_0x1486ef=_0x206b4c[_0x1a4dd1(0x20d)]={},_0x25a032=_0x1486ef[_0x1a4dd1(0x2e9)]=(function(){return{'extend':function(_0xf9d493){var _0x42787d=_0x451b,_0x5a594a=_0x29fd2a(this);return _0xf9d493&&_0x5a594a['mixIn'](_0xf9d493),(!_0x5a594a[_0x42787d(0x35a)](_0x42787d(0x3a6))||this['init']===_0x5a594a[_0x42787d(0x3a6)])&&(_0x5a594a['init']=function(){var _0x7afedd=_0x42787d;_0x5a594a[_0x7afedd(0x20b)][_0x7afedd(0x3a6)][_0x7afedd(0x34e)](this,arguments);}),_0x5a594a[_0x42787d(0x3a6)][_0x42787d(0x224)]=_0x5a594a,_0x5a594a[_0x42787d(0x20b)]=this,_0x5a594a;},'create':function(){var _0x52a932=this['extend']();return _0x52a932['init']['apply'](_0x52a932,arguments),_0x52a932;},'init':function(){},'mixIn':function(_0x4d1854){var _0x2055be=_0x451b;for(var _0x483bc2 in _0x4d1854)_0x4d1854[_0x2055be(0x35a)](_0x483bc2)&&(this[_0x483bc2]=_0x4d1854[_0x483bc2]);_0x4d1854['hasOwnProperty'](_0x2055be(0x403))&&(this[_0x2055be(0x403)]=_0x4d1854[_0x2055be(0x403)]);},'clone':function(){var _0x5023cc=_0x451b;return this['init'][_0x5023cc(0x224)][_0x5023cc(0x384)](this);}};}()),_0x529dfd=_0x1486ef[_0x1a4dd1(0x42f)]=_0x25a032[_0x1a4dd1(0x384)]({'init':function(_0x4770ea,_0x2b1379){var _0x23852e=_0x1a4dd1;_0x4770ea=this[_0x23852e(0x2cf)]=_0x4770ea||[],_0x2b1379!=_0x12fb77?this[_0x23852e(0x216)]=_0x2b1379:this[_0x23852e(0x216)]=_0x4770ea[_0x23852e(0x292)]*0x4;},'toString':function(_0x51854f){var _0x356f7e=_0x1a4dd1;return(_0x51854f||_0x44426c)[_0x356f7e(0x404)](this);},'concat':function(_0x5281ee){var _0x5d928e=_0x1a4dd1,_0xb211e4=this['words'],_0x38b447=_0x5281ee['words'],_0x58492b=this[_0x5d928e(0x216)],_0x5897e7=_0x5281ee['sigBytes'];if(this[_0x5d928e(0x36c)](),_0x58492b%0x4)for(var _0x580fb4=0x0;_0x580fb4<_0x5897e7;_0x580fb4++){var _0x389dbd=_0x38b447[_0x580fb4>>>0x2]>>>0x18-_0x580fb4%0x4*0x8&0xff;_0xb211e4[_0x58492b+_0x580fb4>>>0x2]|=_0x389dbd<<0x18-(_0x58492b+_0x580fb4)%0x4*0x8;}else{for(var _0x3a42cd=0x0;_0x3a42cd<_0x5897e7;_0x3a42cd+=0x4)_0xb211e4[_0x58492b+_0x3a42cd>>>0x2]=_0x38b447[_0x3a42cd>>>0x2];}return this['sigBytes']+=_0x5897e7,this;},'clamp':function(){var _0x2eead7=_0x1a4dd1,_0xe0d49a=this[_0x2eead7(0x2cf)],_0x172080=this[_0x2eead7(0x216)];_0xe0d49a[_0x172080>>>0x2]&=0xffffffff<<0x20-_0x172080%0x4*0x8,_0xe0d49a[_0x2eead7(0x292)]=_0x407741['ceil'](_0x172080/0x4);},'clone':function(){var _0x1ad97c=_0x1a4dd1,_0x3aa095=_0x25a032[_0x1ad97c(0x201)][_0x1ad97c(0x328)](this);return _0x3aa095[_0x1ad97c(0x2cf)]=this[_0x1ad97c(0x2cf)][_0x1ad97c(0x303)](0x0),_0x3aa095;},'random':function(_0x286d20){var _0x5a4183=_0x1a4dd1;for(var _0x740035=[],_0x440f2d=0x0;_0x440f2d<_0x286d20;_0x440f2d+=0x4)_0x740035[_0x5a4183(0x3e6)](_0x10da63());return new _0x529dfd[(_0x5a4183(0x3a6))](_0x740035,_0x286d20);}}),_0x24bfa4=_0x206b4c[_0x1a4dd1(0x395)]={},_0x44426c=_0x24bfa4[_0x1a4dd1(0x320)]={'stringify':function(_0xa20bc5){var _0x292573=_0x1a4dd1;for(var _0x16aab6=_0xa20bc5[_0x292573(0x2cf)],_0x5a32b0=_0xa20bc5[_0x292573(0x216)],_0x467bc6=[],_0x20af37=0x0;_0x20af37<_0x5a32b0;_0x20af37++){var _0x1b97c5=_0x16aab6[_0x20af37>>>0x2]>>>0x18-_0x20af37%0x4*0x8&0xff;_0x467bc6[_0x292573(0x3e6)]((_0x1b97c5>>>0x4)[_0x292573(0x403)](0x10)),_0x467bc6[_0x292573(0x3e6)]((_0x1b97c5&0xf)[_0x292573(0x403)](0x10));}return _0x467bc6[_0x292573(0x251)]('');},'parse':function(_0x5d08bb){var _0x1be419=_0x1a4dd1;for(var _0x383f3d=_0x5d08bb['length'],_0x2ce7d4=[],_0x288ba8=0x0;_0x288ba8<_0x383f3d;_0x288ba8+=0x2)_0x2ce7d4[_0x288ba8>>>0x3]|=parseInt(_0x5d08bb['substr'](_0x288ba8,0x2),0x10)<<0x18-_0x288ba8%0x8*0x4;return new _0x529dfd[(_0x1be419(0x3a6))](_0x2ce7d4,_0x383f3d/0x2);}},_0x44e4c2=_0x24bfa4[_0x1a4dd1(0x424)]={'stringify':function(_0x3efe1b){var _0x17accd=_0x1a4dd1;for(var _0x485b41=_0x3efe1b['words'],_0x21f331=_0x3efe1b[_0x17accd(0x216)],_0x1f7200=[],_0x861bf=0x0;_0x861bf<_0x21f331;_0x861bf++){var _0x364d8b=_0x485b41[_0x861bf>>>0x2]>>>0x18-_0x861bf%0x4*0x8&0xff;_0x1f7200['push'](String[_0x17accd(0x217)](_0x364d8b));}return _0x1f7200['join']('');},'parse':function(_0x58c8fd){var _0x3fb723=_0x1a4dd1;for(var _0x4cc26e=_0x58c8fd['length'],_0x4e7180=[],_0x5e8ae1=0x0;_0x5e8ae1<_0x4cc26e;_0x5e8ae1++)_0x4e7180[_0x5e8ae1>>>0x2]|=(_0x58c8fd[_0x3fb723(0x37f)](_0x5e8ae1)&0xff)<<0x18-_0x5e8ae1%0x4*0x8;return new _0x529dfd[(_0x3fb723(0x3a6))](_0x4e7180,_0x4cc26e);}},_0x8ae36=_0x24bfa4[_0x1a4dd1(0x1e4)]={'stringify':function(_0x4fd59d){var _0x2414d1=_0x1a4dd1;try{return decodeURIComponent(escape(_0x44e4c2[_0x2414d1(0x404)](_0x4fd59d)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xf030a2){var _0x3bd65b=_0x1a4dd1;return _0x44e4c2[_0x3bd65b(0x322)](unescape(encodeURIComponent(_0xf030a2)));}},_0x11a149=_0x1486ef[_0x1a4dd1(0x3e9)]=_0x25a032[_0x1a4dd1(0x384)]({'reset':function(){var _0x2bc227=_0x1a4dd1;this[_0x2bc227(0x1ad)]=new _0x529dfd[(_0x2bc227(0x3a6))](),this['_nDataBytes']=0x0;},'_append':function(_0x254f7f){var _0x28d72b=_0x1a4dd1;typeof _0x254f7f==_0x28d72b(0x453)&&(_0x254f7f=_0x8ae36[_0x28d72b(0x322)](_0x254f7f)),this['_data'][_0x28d72b(0x1fb)](_0x254f7f),this[_0x28d72b(0x2f3)]+=_0x254f7f['sigBytes'];},'_process':function(_0xae45df){var _0x38af18=_0x1a4dd1,_0x10bb56,_0x25e5a8=this[_0x38af18(0x1ad)],_0x11ce13=_0x25e5a8[_0x38af18(0x2cf)],_0x29a04d=_0x25e5a8[_0x38af18(0x216)],_0x30cdee=this[_0x38af18(0x2b0)],_0x1f4c12=_0x30cdee*0x4,_0x35b2b5=_0x29a04d/_0x1f4c12;_0xae45df?_0x35b2b5=_0x407741[_0x38af18(0x1b0)](_0x35b2b5):_0x35b2b5=_0x407741[_0x38af18(0x28b)]((_0x35b2b5|0x0)-this[_0x38af18(0x473)],0x0);var _0x324acb=_0x35b2b5*_0x30cdee,_0x200067=_0x407741['min'](_0x324acb*0x4,_0x29a04d);if(_0x324acb){for(var _0x4e0ffb=0x0;_0x4e0ffb<_0x324acb;_0x4e0ffb+=_0x30cdee)this[_0x38af18(0x45b)](_0x11ce13,_0x4e0ffb);_0x10bb56=_0x11ce13['splice'](0x0,_0x324acb),_0x25e5a8[_0x38af18(0x216)]-=_0x200067;}return new _0x529dfd[(_0x38af18(0x3a6))](_0x10bb56,_0x200067);},'clone':function(){var _0x45b904=_0x1a4dd1,_0x206021=_0x25a032[_0x45b904(0x201)]['call'](this);return _0x206021[_0x45b904(0x1ad)]=this[_0x45b904(0x1ad)][_0x45b904(0x201)](),_0x206021;},'_minBufferSize':0x0});_0x1486ef[_0x1a4dd1(0x41f)]=_0x11a149[_0x1a4dd1(0x384)]({'cfg':_0x25a032[_0x1a4dd1(0x384)](),'init':function(_0x7bc25){var _0x2cec79=_0x1a4dd1;this['cfg']=this[_0x2cec79(0x499)][_0x2cec79(0x384)](_0x7bc25),this[_0x2cec79(0x36e)]();},'reset':function(){var _0x4c6878=_0x1a4dd1;_0x11a149[_0x4c6878(0x36e)]['call'](this),this[_0x4c6878(0x275)]();},'update':function(_0x1cc3ce){var _0x26b702=_0x1a4dd1;return this['_append'](_0x1cc3ce),this[_0x26b702(0x1de)](),this;},'finalize':function(_0x4e8e19){var _0x45f32c=_0x1a4dd1;_0x4e8e19&&this[_0x45f32c(0x22a)](_0x4e8e19);var _0x117df0=this[_0x45f32c(0x3d7)]();return _0x117df0;},'blockSize':0x10,'_createHelper':function(_0x5b7a08){return function(_0x2f13ba,_0xe6f420){var _0xf19954=_0x451b;return new _0x5b7a08[(_0xf19954(0x3a6))](_0xe6f420)[_0xf19954(0x2f2)](_0x2f13ba);};},'_createHmacHelper':function(_0x147798){return function(_0x2a15d1,_0xbb8c36){var _0x388ccc=_0x451b;return new _0x31f34f[(_0x388ccc(0x33c))][(_0x388ccc(0x3a6))](_0x147798,_0xbb8c36)['finalize'](_0x2a15d1);};}});var _0x31f34f=_0x206b4c[_0x1a4dd1(0x222)]={};return _0x206b4c;}(Math);return _0x1cc711;}));}(Ge)),Ge[_0x1f38bc(0x219)];}var Ye={'exports':{}},dn=Ye['exports'],zt;function bi(){var _0x3af613=_0x15a3f7;return zt||(zt=0x1,function(_0x321b93,_0x21dab5){(function(_0x257730,_0x32e91c){_0x321b93['exports']=_0x32e91c(te());}(dn,function(_0x28ab32){var _0xc1342d=_0x451b;return(function(){var _0x57ffef=_0x451b,_0x537943=_0x28ab32,_0xe893da=_0x537943['lib'],_0x2a6882=_0xe893da[_0x57ffef(0x42f)],_0x11c8d8=_0x537943[_0x57ffef(0x395)];_0x11c8d8[_0x57ffef(0x323)]={'stringify':function(_0x2760d2){var _0x3af330=_0x57ffef,_0x4a44ef=_0x2760d2['words'],_0x5b4866=_0x2760d2[_0x3af330(0x216)],_0x3ba240=this[_0x3af330(0x298)];_0x2760d2['clamp']();for(var _0xfadbdd=[],_0xed59f4=0x0;_0xed59f4<_0x5b4866;_0xed59f4+=0x3)for(var _0x106bee=_0x4a44ef[_0xed59f4>>>0x2]>>>0x18-_0xed59f4%0x4*0x8&0xff,_0x51d4f5=_0x4a44ef[_0xed59f4+0x1>>>0x2]>>>0x18-(_0xed59f4+0x1)%0x4*0x8&0xff,_0x30467e=_0x4a44ef[_0xed59f4+0x2>>>0x2]>>>0x18-(_0xed59f4+0x2)%0x4*0x8&0xff,_0x320448=_0x106bee<<0x10|_0x51d4f5<<0x8|_0x30467e,_0xc65735=0x0;_0xc65735<0x4&&_0xed59f4+_0xc65735*0.75<_0x5b4866;_0xc65735++)_0xfadbdd[_0x3af330(0x3e6)](_0x3ba240['charAt'](_0x320448>>>0x6*(0x3-_0xc65735)&0x3f));var _0x4d752e=_0x3ba240['charAt'](0x40);if(_0x4d752e){for(;_0xfadbdd['length']%0x4;)_0xfadbdd[_0x3af330(0x3e6)](_0x4d752e);}return _0xfadbdd['join']('');},'parse':function(_0x4ce8a4){var _0x538733=_0x57ffef,_0x9ed24e=_0x4ce8a4[_0x538733(0x292)],_0x57f38c=this['_map'],_0x56fa2d=this[_0x538733(0x215)];if(!_0x56fa2d){_0x56fa2d=this[_0x538733(0x215)]=[];for(var _0x1119cd=0x0;_0x1119cd<_0x57f38c[_0x538733(0x292)];_0x1119cd++)_0x56fa2d[_0x57f38c[_0x538733(0x37f)](_0x1119cd)]=_0x1119cd;}var _0x174866=_0x57f38c[_0x538733(0x2d7)](0x40);if(_0x174866){var _0x46c4ba=_0x4ce8a4[_0x538733(0x341)](_0x174866);_0x46c4ba!==-0x1&&(_0x9ed24e=_0x46c4ba);}return _0x42006a(_0x4ce8a4,_0x9ed24e,_0x56fa2d);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x42006a(_0x325907,_0x2fb259,_0x4829ce){var _0xfd8c68=_0x57ffef;for(var _0x4ce499=[],_0x15ab05=0x0,_0x3ad121=0x0;_0x3ad121<_0x2fb259;_0x3ad121++)if(_0x3ad121%0x4){var _0x47f45b=_0x4829ce[_0x325907[_0xfd8c68(0x37f)](_0x3ad121-0x1)]<<_0x3ad121%0x4*0x2,_0x13263c=_0x4829ce[_0x325907[_0xfd8c68(0x37f)](_0x3ad121)]>>>0x6-_0x3ad121%0x4*0x2,_0x576da6=_0x47f45b|_0x13263c;_0x4ce499[_0x15ab05>>>0x2]|=_0x576da6<<0x18-_0x15ab05%0x4*0x8,_0x15ab05++;}return _0x2a6882[_0xfd8c68(0x232)](_0x4ce499,_0x15ab05);}}()),_0x28ab32[_0xc1342d(0x395)][_0xc1342d(0x323)];}));}(Ye)),Ye[_0x3af613(0x219)];}var We={'exports':{}},fn=We[_0x15a3f7(0x219)],Jt;function vn(){var _0x29027a=_0x15a3f7;return Jt||(Jt=0x1,function(_0x43b6d0,_0x4da6c5){(function(_0x20bec4,_0x51e544){var _0x1c9051=_0x451b;_0x43b6d0[_0x1c9051(0x219)]=_0x51e544(te());}(fn,function(_0x10ff7e){var _0x1e00f4=_0x451b;return function(_0x1642a8){var _0x18232e=_0x451b,_0x29da56=_0x10ff7e,_0x21d0e8=_0x29da56[_0x18232e(0x20d)],_0x1c2c43=_0x21d0e8[_0x18232e(0x42f)],_0x38be0d=_0x21d0e8[_0x18232e(0x41f)],_0x43b016=_0x29da56[_0x18232e(0x222)],_0x301a85=[];(function(){var _0x7178f3=_0x18232e;for(var _0x32d9d5=0x0;_0x32d9d5<0x40;_0x32d9d5++)_0x301a85[_0x32d9d5]=_0x1642a8['abs'](_0x1642a8[_0x7178f3(0x301)](_0x32d9d5+0x1))*0x100000000|0x0;}());var _0x181651=_0x43b016[_0x18232e(0x26e)]=_0x38be0d[_0x18232e(0x384)]({'_doReset':function(){var _0x3cc5a8=_0x18232e;this[_0x3cc5a8(0x2e0)]=new _0x1c2c43['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x550fd7,_0x542803){var _0x15805c=_0x18232e;for(var _0x542cb5=0x0;_0x542cb5<0x10;_0x542cb5++){var _0x41a8bc=_0x542803+_0x542cb5,_0x50c56f=_0x550fd7[_0x41a8bc];_0x550fd7[_0x41a8bc]=(_0x50c56f<<0x8|_0x50c56f>>>0x18)&0xff00ff|(_0x50c56f<<0x18|_0x50c56f>>>0x8)&0xff00ff00;}var _0x580e5c=this[_0x15805c(0x2e0)]['words'],_0x4bbf37=_0x550fd7[_0x542803+0x0],_0x4265f9=_0x550fd7[_0x542803+0x1],_0x37282b=_0x550fd7[_0x542803+0x2],_0x4e448a=_0x550fd7[_0x542803+0x3],_0x24f7bb=_0x550fd7[_0x542803+0x4],_0xf344eb=_0x550fd7[_0x542803+0x5],_0x2b5531=_0x550fd7[_0x542803+0x6],_0x55294b=_0x550fd7[_0x542803+0x7],_0x51c01f=_0x550fd7[_0x542803+0x8],_0x6f7edb=_0x550fd7[_0x542803+0x9],_0x102d70=_0x550fd7[_0x542803+0xa],_0x174e6b=_0x550fd7[_0x542803+0xb],_0xe65cf=_0x550fd7[_0x542803+0xc],_0x36a781=_0x550fd7[_0x542803+0xd],_0x501fbd=_0x550fd7[_0x542803+0xe],_0x43eda2=_0x550fd7[_0x542803+0xf],_0x37625a=_0x580e5c[0x0],_0x357d92=_0x580e5c[0x1],_0x367ca8=_0x580e5c[0x2],_0x1fc602=_0x580e5c[0x3];_0x37625a=_0x431518(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x4bbf37,0x7,_0x301a85[0x0]),_0x1fc602=_0x431518(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x4265f9,0xc,_0x301a85[0x1]),_0x367ca8=_0x431518(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x37282b,0x11,_0x301a85[0x2]),_0x357d92=_0x431518(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x4e448a,0x16,_0x301a85[0x3]),_0x37625a=_0x431518(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x24f7bb,0x7,_0x301a85[0x4]),_0x1fc602=_0x431518(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0xf344eb,0xc,_0x301a85[0x5]),_0x367ca8=_0x431518(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x2b5531,0x11,_0x301a85[0x6]),_0x357d92=_0x431518(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x55294b,0x16,_0x301a85[0x7]),_0x37625a=_0x431518(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x51c01f,0x7,_0x301a85[0x8]),_0x1fc602=_0x431518(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x6f7edb,0xc,_0x301a85[0x9]),_0x367ca8=_0x431518(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x102d70,0x11,_0x301a85[0xa]),_0x357d92=_0x431518(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x174e6b,0x16,_0x301a85[0xb]),_0x37625a=_0x431518(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0xe65cf,0x7,_0x301a85[0xc]),_0x1fc602=_0x431518(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x36a781,0xc,_0x301a85[0xd]),_0x367ca8=_0x431518(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x501fbd,0x11,_0x301a85[0xe]),_0x357d92=_0x431518(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x43eda2,0x16,_0x301a85[0xf]),_0x37625a=_0xa17fec(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x4265f9,0x5,_0x301a85[0x10]),_0x1fc602=_0xa17fec(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x2b5531,0x9,_0x301a85[0x11]),_0x367ca8=_0xa17fec(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x174e6b,0xe,_0x301a85[0x12]),_0x357d92=_0xa17fec(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x4bbf37,0x14,_0x301a85[0x13]),_0x37625a=_0xa17fec(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0xf344eb,0x5,_0x301a85[0x14]),_0x1fc602=_0xa17fec(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x102d70,0x9,_0x301a85[0x15]),_0x367ca8=_0xa17fec(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x43eda2,0xe,_0x301a85[0x16]),_0x357d92=_0xa17fec(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x24f7bb,0x14,_0x301a85[0x17]),_0x37625a=_0xa17fec(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x6f7edb,0x5,_0x301a85[0x18]),_0x1fc602=_0xa17fec(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x501fbd,0x9,_0x301a85[0x19]),_0x367ca8=_0xa17fec(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x4e448a,0xe,_0x301a85[0x1a]),_0x357d92=_0xa17fec(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x51c01f,0x14,_0x301a85[0x1b]),_0x37625a=_0xa17fec(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x36a781,0x5,_0x301a85[0x1c]),_0x1fc602=_0xa17fec(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x37282b,0x9,_0x301a85[0x1d]),_0x367ca8=_0xa17fec(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x55294b,0xe,_0x301a85[0x1e]),_0x357d92=_0xa17fec(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0xe65cf,0x14,_0x301a85[0x1f]),_0x37625a=_0x45be8c(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0xf344eb,0x4,_0x301a85[0x20]),_0x1fc602=_0x45be8c(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x51c01f,0xb,_0x301a85[0x21]),_0x367ca8=_0x45be8c(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x174e6b,0x10,_0x301a85[0x22]),_0x357d92=_0x45be8c(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x501fbd,0x17,_0x301a85[0x23]),_0x37625a=_0x45be8c(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x4265f9,0x4,_0x301a85[0x24]),_0x1fc602=_0x45be8c(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x24f7bb,0xb,_0x301a85[0x25]),_0x367ca8=_0x45be8c(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x55294b,0x10,_0x301a85[0x26]),_0x357d92=_0x45be8c(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x102d70,0x17,_0x301a85[0x27]),_0x37625a=_0x45be8c(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x36a781,0x4,_0x301a85[0x28]),_0x1fc602=_0x45be8c(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x4bbf37,0xb,_0x301a85[0x29]),_0x367ca8=_0x45be8c(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x4e448a,0x10,_0x301a85[0x2a]),_0x357d92=_0x45be8c(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x2b5531,0x17,_0x301a85[0x2b]),_0x37625a=_0x45be8c(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x6f7edb,0x4,_0x301a85[0x2c]),_0x1fc602=_0x45be8c(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0xe65cf,0xb,_0x301a85[0x2d]),_0x367ca8=_0x45be8c(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x43eda2,0x10,_0x301a85[0x2e]),_0x357d92=_0x45be8c(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x37282b,0x17,_0x301a85[0x2f]),_0x37625a=_0x14428a(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x4bbf37,0x6,_0x301a85[0x30]),_0x1fc602=_0x14428a(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x55294b,0xa,_0x301a85[0x31]),_0x367ca8=_0x14428a(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x501fbd,0xf,_0x301a85[0x32]),_0x357d92=_0x14428a(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0xf344eb,0x15,_0x301a85[0x33]),_0x37625a=_0x14428a(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0xe65cf,0x6,_0x301a85[0x34]),_0x1fc602=_0x14428a(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x4e448a,0xa,_0x301a85[0x35]),_0x367ca8=_0x14428a(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x102d70,0xf,_0x301a85[0x36]),_0x357d92=_0x14428a(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x4265f9,0x15,_0x301a85[0x37]),_0x37625a=_0x14428a(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x51c01f,0x6,_0x301a85[0x38]),_0x1fc602=_0x14428a(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x43eda2,0xa,_0x301a85[0x39]),_0x367ca8=_0x14428a(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x2b5531,0xf,_0x301a85[0x3a]),_0x357d92=_0x14428a(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x36a781,0x15,_0x301a85[0x3b]),_0x37625a=_0x14428a(_0x37625a,_0x357d92,_0x367ca8,_0x1fc602,_0x24f7bb,0x6,_0x301a85[0x3c]),_0x1fc602=_0x14428a(_0x1fc602,_0x37625a,_0x357d92,_0x367ca8,_0x174e6b,0xa,_0x301a85[0x3d]),_0x367ca8=_0x14428a(_0x367ca8,_0x1fc602,_0x37625a,_0x357d92,_0x37282b,0xf,_0x301a85[0x3e]),_0x357d92=_0x14428a(_0x357d92,_0x367ca8,_0x1fc602,_0x37625a,_0x6f7edb,0x15,_0x301a85[0x3f]),_0x580e5c[0x0]=_0x580e5c[0x0]+_0x37625a|0x0,_0x580e5c[0x1]=_0x580e5c[0x1]+_0x357d92|0x0,_0x580e5c[0x2]=_0x580e5c[0x2]+_0x367ca8|0x0,_0x580e5c[0x3]=_0x580e5c[0x3]+_0x1fc602|0x0;},'_doFinalize':function(){var _0x550aea=_0x18232e,_0x3b1f9a=this[_0x550aea(0x1ad)],_0x13cb88=_0x3b1f9a[_0x550aea(0x2cf)],_0x453957=this['_nDataBytes']*0x8,_0x5c5e24=_0x3b1f9a[_0x550aea(0x216)]*0x8;_0x13cb88[_0x5c5e24>>>0x5]|=0x80<<0x18-_0x5c5e24%0x20;var _0x447c2e=_0x1642a8['floor'](_0x453957/0x100000000),_0x422160=_0x453957;_0x13cb88[(_0x5c5e24+0x40>>>0x9<<0x4)+0xf]=(_0x447c2e<<0x8|_0x447c2e>>>0x18)&0xff00ff|(_0x447c2e<<0x18|_0x447c2e>>>0x8)&0xff00ff00,_0x13cb88[(_0x5c5e24+0x40>>>0x9<<0x4)+0xe]=(_0x422160<<0x8|_0x422160>>>0x18)&0xff00ff|(_0x422160<<0x18|_0x422160>>>0x8)&0xff00ff00,_0x3b1f9a[_0x550aea(0x216)]=(_0x13cb88[_0x550aea(0x292)]+0x1)*0x4,this[_0x550aea(0x1de)]();for(var _0x3dc312=this[_0x550aea(0x2e0)],_0x2f9958=_0x3dc312[_0x550aea(0x2cf)],_0xb17a0a=0x0;_0xb17a0a<0x4;_0xb17a0a++){var _0x7f99f=_0x2f9958[_0xb17a0a];_0x2f9958[_0xb17a0a]=(_0x7f99f<<0x8|_0x7f99f>>>0x18)&0xff00ff|(_0x7f99f<<0x18|_0x7f99f>>>0x8)&0xff00ff00;}return _0x3dc312;},'clone':function(){var _0x272d39=_0x18232e,_0x2bb8aa=_0x38be0d[_0x272d39(0x201)][_0x272d39(0x328)](this);return _0x2bb8aa[_0x272d39(0x2e0)]=this['_hash']['clone'](),_0x2bb8aa;}});function _0x431518(_0xa0b6c5,_0x261d59,_0x1ea347,_0x223599,_0x76c0f4,_0x44137e,_0x43bf46){var _0x997815=_0xa0b6c5+(_0x261d59&_0x1ea347|~_0x261d59&_0x223599)+_0x76c0f4+_0x43bf46;return(_0x997815<<_0x44137e|_0x997815>>>0x20-_0x44137e)+_0x261d59;}function _0xa17fec(_0x54a344,_0x2f6a42,_0x579685,_0x3e5ca7,_0x54cc7f,_0x1bf1d9,_0x20fc86){var _0x453be3=_0x54a344+(_0x2f6a42&_0x3e5ca7|_0x579685&~_0x3e5ca7)+_0x54cc7f+_0x20fc86;return(_0x453be3<<_0x1bf1d9|_0x453be3>>>0x20-_0x1bf1d9)+_0x2f6a42;}function _0x45be8c(_0x4622ef,_0x15abb9,_0x40e6fb,_0x4278fa,_0x3236a3,_0x13dbb4,_0x584950){var _0x2a78b8=_0x4622ef+(_0x15abb9^_0x40e6fb^_0x4278fa)+_0x3236a3+_0x584950;return(_0x2a78b8<<_0x13dbb4|_0x2a78b8>>>0x20-_0x13dbb4)+_0x15abb9;}function _0x14428a(_0x4b4353,_0x1748fa,_0x8ef0b5,_0x345269,_0x28a41b,_0xc7e8dc,_0x47f68c){var _0x105a8c=_0x4b4353+(_0x8ef0b5^(_0x1748fa|~_0x345269))+_0x28a41b+_0x47f68c;return(_0x105a8c<<_0xc7e8dc|_0x105a8c>>>0x20-_0xc7e8dc)+_0x1748fa;}_0x29da56[_0x18232e(0x26e)]=_0x38be0d[_0x18232e(0x364)](_0x181651),_0x29da56[_0x18232e(0x1cc)]=_0x38be0d['_createHmacHelper'](_0x181651);}(Math),_0x10ff7e[_0x1e00f4(0x26e)];}));}(We)),We[_0x29027a(0x219)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x15a3f7(0x219)],Xt;function _0x451b(_0x368a90,_0x3ffee3){var _0xed6ffd=_0xed6f();return _0x451b=function(_0x451b1a,_0x5b30f6){_0x451b1a=_0x451b1a-0x1a6;var _0x276b3e=_0xed6ffd[_0x451b1a];return _0x276b3e;},_0x451b(_0x368a90,_0x3ffee3);}function mn(){var _0x505509=_0x15a3f7;return Xt||(Xt=0x1,function(_0x4ec8e7,_0x5eb71c){(function(_0x42c7f7,_0x253860){var _0x540b5f=_0x451b;_0x4ec8e7[_0x540b5f(0x219)]=_0x253860(te());}(pn,function(_0xfd5f39){var _0x9d79c6=_0x451b;return(function(){var _0x102d61=_0x451b,_0x139008=_0xfd5f39,_0x30b615=_0x139008[_0x102d61(0x20d)],_0x3d77df=_0x30b615[_0x102d61(0x42f)],_0x459860=_0x30b615[_0x102d61(0x41f)],_0x8bf13f=_0x139008[_0x102d61(0x222)],_0x4a191d=[],_0x261ab5=_0x8bf13f[_0x102d61(0x2a9)]=_0x459860[_0x102d61(0x384)]({'_doReset':function(){var _0x992e1f=_0x102d61;this[_0x992e1f(0x2e0)]=new _0x3d77df[(_0x992e1f(0x3a6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3d596e,_0x360f83){var _0x4977e3=_0x102d61;for(var _0x43191f=this[_0x4977e3(0x2e0)][_0x4977e3(0x2cf)],_0x33c917=_0x43191f[0x0],_0x51d171=_0x43191f[0x1],_0x14b05a=_0x43191f[0x2],_0x469fa6=_0x43191f[0x3],_0x431f5c=_0x43191f[0x4],_0x1c6b8a=0x0;_0x1c6b8a<0x50;_0x1c6b8a++){if(_0x1c6b8a<0x10)_0x4a191d[_0x1c6b8a]=_0x3d596e[_0x360f83+_0x1c6b8a]|0x0;else{var _0x146db9=_0x4a191d[_0x1c6b8a-0x3]^_0x4a191d[_0x1c6b8a-0x8]^_0x4a191d[_0x1c6b8a-0xe]^_0x4a191d[_0x1c6b8a-0x10];_0x4a191d[_0x1c6b8a]=_0x146db9<<0x1|_0x146db9>>>0x1f;}var _0x2e39cf=(_0x33c917<<0x5|_0x33c917>>>0x1b)+_0x431f5c+_0x4a191d[_0x1c6b8a];_0x1c6b8a<0x14?_0x2e39cf+=(_0x51d171&_0x14b05a|~_0x51d171&_0x469fa6)+0x5a827999:_0x1c6b8a<0x28?_0x2e39cf+=(_0x51d171^_0x14b05a^_0x469fa6)+0x6ed9eba1:_0x1c6b8a<0x3c?_0x2e39cf+=(_0x51d171&_0x14b05a|_0x51d171&_0x469fa6|_0x14b05a&_0x469fa6)-0x70e44324:_0x2e39cf+=(_0x51d171^_0x14b05a^_0x469fa6)-0x359d3e2a,_0x431f5c=_0x469fa6,_0x469fa6=_0x14b05a,_0x14b05a=_0x51d171<<0x1e|_0x51d171>>>0x2,_0x51d171=_0x33c917,_0x33c917=_0x2e39cf;}_0x43191f[0x0]=_0x43191f[0x0]+_0x33c917|0x0,_0x43191f[0x1]=_0x43191f[0x1]+_0x51d171|0x0,_0x43191f[0x2]=_0x43191f[0x2]+_0x14b05a|0x0,_0x43191f[0x3]=_0x43191f[0x3]+_0x469fa6|0x0,_0x43191f[0x4]=_0x43191f[0x4]+_0x431f5c|0x0;},'_doFinalize':function(){var _0xb7cc07=_0x102d61,_0x4bc7ae=this[_0xb7cc07(0x1ad)],_0x1366c3=_0x4bc7ae['words'],_0x221106=this[_0xb7cc07(0x2f3)]*0x8,_0x551e17=_0x4bc7ae[_0xb7cc07(0x216)]*0x8;return _0x1366c3[_0x551e17>>>0x5]|=0x80<<0x18-_0x551e17%0x20,_0x1366c3[(_0x551e17+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x221106/0x100000000),_0x1366c3[(_0x551e17+0x40>>>0x9<<0x4)+0xf]=_0x221106,_0x4bc7ae['sigBytes']=_0x1366c3['length']*0x4,this[_0xb7cc07(0x1de)](),this['_hash'];},'clone':function(){var _0x174970=_0x102d61,_0x3b012c=_0x459860[_0x174970(0x201)]['call'](this);return _0x3b012c[_0x174970(0x2e0)]=this[_0x174970(0x2e0)]['clone'](),_0x3b012c;}});_0x139008['SHA1']=_0x459860[_0x102d61(0x364)](_0x261ab5),_0x139008['HmacSHA1']=_0x459860['_createHmacHelper'](_0x261ab5);}()),_0xfd5f39[_0x9d79c6(0x2a9)];}));}(qe)),qe[_0x505509(0x219)];}var ze={'exports':{}},gn=ze[_0x15a3f7(0x219)],Zt;function Sn(){var _0x1c1518=_0x15a3f7;return Zt||(Zt=0x1,function(_0x2b159f,_0x4f8bab){(function(_0x40b34a,_0x5be8bf){var _0x45b274=_0x451b;_0x2b159f[_0x45b274(0x219)]=_0x5be8bf(te());}(gn,function(_0x180b9e){(function(){var _0x4ebec5=_0x451b,_0x509391=_0x180b9e,_0x59e0bc=_0x509391['lib'],_0x1ccead=_0x59e0bc['Base'],_0x5b829f=_0x509391[_0x4ebec5(0x395)],_0x332bd2=_0x5b829f['Utf8'],_0x24714e=_0x509391[_0x4ebec5(0x222)];_0x24714e[_0x4ebec5(0x33c)]=_0x1ccead[_0x4ebec5(0x384)]({'init':function(_0x187075,_0x2560b1){var _0xd986dd=_0x4ebec5;_0x187075=this[_0xd986dd(0x393)]=new _0x187075['init'](),typeof _0x2560b1==_0xd986dd(0x453)&&(_0x2560b1=_0x332bd2['parse'](_0x2560b1));var _0x1ce237=_0x187075[_0xd986dd(0x2b0)],_0x3f11ae=_0x1ce237*0x4;_0x2560b1[_0xd986dd(0x216)]>_0x3f11ae&&(_0x2560b1=_0x187075[_0xd986dd(0x2f2)](_0x2560b1)),_0x2560b1[_0xd986dd(0x36c)]();for(var _0xec8f9c=this[_0xd986dd(0x2ae)]=_0x2560b1[_0xd986dd(0x201)](),_0x46c02d=this[_0xd986dd(0x352)]=_0x2560b1['clone'](),_0x295cf9=_0xec8f9c['words'],_0x2f9b03=_0x46c02d[_0xd986dd(0x2cf)],_0x4047e3=0x0;_0x4047e3<_0x1ce237;_0x4047e3++)_0x295cf9[_0x4047e3]^=0x5c5c5c5c,_0x2f9b03[_0x4047e3]^=0x36363636;_0xec8f9c[_0xd986dd(0x216)]=_0x46c02d[_0xd986dd(0x216)]=_0x3f11ae,this[_0xd986dd(0x36e)]();},'reset':function(){var _0x208120=_0x4ebec5,_0x327473=this[_0x208120(0x393)];_0x327473[_0x208120(0x36e)](),_0x327473[_0x208120(0x377)](this['_iKey']);},'update':function(_0x165df0){var _0x4bf264=_0x4ebec5;return this[_0x4bf264(0x393)]['update'](_0x165df0),this;},'finalize':function(_0x248b76){var _0x58990e=_0x4ebec5,_0x5d3d78=this[_0x58990e(0x393)],_0x3b2b2d=_0x5d3d78[_0x58990e(0x2f2)](_0x248b76);_0x5d3d78[_0x58990e(0x36e)]();var _0x1561ad=_0x5d3d78[_0x58990e(0x2f2)](this[_0x58990e(0x2ae)][_0x58990e(0x201)]()['concat'](_0x3b2b2d));return _0x1561ad;}});}());}));}(ze)),ze[_0x1c1518(0x219)];}var En=Ke[_0x15a3f7(0x219)],Qt;function yi(){var _0x141ea7=_0x15a3f7;return Qt||(Qt=0x1,function(_0x1fd353,_0x3fbb2c){(function(_0xb57f9d,_0x4e2fce,_0x290c7a){var _0x435610=_0x451b;_0x1fd353[_0x435610(0x219)]=_0x4e2fce(te(),mn(),Sn());}(En,function(_0x2072e9){return(function(){var _0x35e6fe=_0x451b,_0x55cd61=_0x2072e9,_0x5da80d=_0x55cd61[_0x35e6fe(0x20d)],_0x3a0877=_0x5da80d[_0x35e6fe(0x2e9)],_0x341cd4=_0x5da80d[_0x35e6fe(0x42f)],_0x493472=_0x55cd61[_0x35e6fe(0x222)],_0x44c083=_0x493472[_0x35e6fe(0x26e)],_0x7d57b=_0x493472[_0x35e6fe(0x2ef)]=_0x3a0877['extend']({'cfg':_0x3a0877[_0x35e6fe(0x384)]({'keySize':0x80/0x20,'hasher':_0x44c083,'iterations':0x1}),'init':function(_0x299555){var _0x50fbad=_0x35e6fe;this['cfg']=this[_0x50fbad(0x499)]['extend'](_0x299555);},'compute':function(_0x2d3cf3,_0x5c1b87){var _0xe127=_0x35e6fe;for(var _0x267879,_0x57fdcd=this[_0xe127(0x499)],_0x40e130=_0x57fdcd[_0xe127(0x49c)][_0xe127(0x232)](),_0xb63904=_0x341cd4[_0xe127(0x232)](),_0x2953a0=_0xb63904[_0xe127(0x2cf)],_0x54e125=_0x57fdcd[_0xe127(0x225)],_0x23b9a7=_0x57fdcd[_0xe127(0x370)];_0x2953a0[_0xe127(0x292)]<_0x54e125;){_0x267879&&_0x40e130[_0xe127(0x377)](_0x267879),_0x267879=_0x40e130[_0xe127(0x377)](_0x2d3cf3)['finalize'](_0x5c1b87),_0x40e130['reset']();for(var _0x21bb8=0x1;_0x21bb8<_0x23b9a7;_0x21bb8++)_0x267879=_0x40e130[_0xe127(0x2f2)](_0x267879),_0x40e130['reset']();_0xb63904['concat'](_0x267879);}return _0xb63904[_0xe127(0x216)]=_0x54e125*0x4,_0xb63904;}});_0x55cd61[_0x35e6fe(0x2ef)]=function(_0x393a32,_0x22765e,_0x4e125e){var _0x57d5b3=_0x35e6fe;return _0x7d57b[_0x57d5b3(0x232)](_0x4e125e)['compute'](_0x393a32,_0x22765e);};}()),_0x2072e9['EvpKDF'];}));}(Ke)),Ke[_0x141ea7(0x219)];}var Je={'exports':{}},In=Je[_0x15a3f7(0x219)],ei;function Ni(){var _0x235638=_0x15a3f7;return ei||(ei=0x1,function(_0x16adca,_0x34215a){(function(_0x290ac6,_0x2eac6b,_0x39192b){var _0x4bedff=_0x451b;_0x16adca[_0x4bedff(0x219)]=_0x2eac6b(te(),yi());}(In,function(_0x3b9f37){var _0xfa0491=_0x451b;_0x3b9f37[_0xfa0491(0x20d)]['Cipher']||function(_0x4f58ef){var _0xe0f329=_0xfa0491,_0x26bb8f=_0x3b9f37,_0x2b0fdc=_0x26bb8f['lib'],_0x189e97=_0x2b0fdc[_0xe0f329(0x2e9)],_0xe8de57=_0x2b0fdc[_0xe0f329(0x42f)],_0x4ae7b7=_0x2b0fdc[_0xe0f329(0x3e9)],_0x3be0ab=_0x26bb8f['enc'];_0x3be0ab[_0xe0f329(0x1e4)];var _0x49e016=_0x3be0ab[_0xe0f329(0x323)],_0x4647ab=_0x26bb8f[_0xe0f329(0x222)],_0x1f13a3=_0x4647ab[_0xe0f329(0x2ef)],_0x2e16b9=_0x2b0fdc[_0xe0f329(0x39d)]=_0x4ae7b7[_0xe0f329(0x384)]({'cfg':_0x189e97['extend'](),'createEncryptor':function(_0x403f4e,_0x4137c4){var _0x317c9c=_0xe0f329;return this[_0x317c9c(0x232)](this[_0x317c9c(0x3d9)],_0x403f4e,_0x4137c4);},'createDecryptor':function(_0x4d556a,_0x36b453){var _0x47e1a1=_0xe0f329;return this['create'](this[_0x47e1a1(0x382)],_0x4d556a,_0x36b453);},'init':function(_0x4b0352,_0x5a257e,_0x3adfca){var _0x16ae0c=_0xe0f329;this['cfg']=this[_0x16ae0c(0x499)]['extend'](_0x3adfca),this[_0x16ae0c(0x2f5)]=_0x4b0352,this['_key']=_0x5a257e,this[_0x16ae0c(0x36e)]();},'reset':function(){var _0x4194cc=_0xe0f329;_0x4ae7b7['reset']['call'](this),this[_0x4194cc(0x275)]();},'process':function(_0x40e1a2){var _0x369201=_0xe0f329;return this[_0x369201(0x22a)](_0x40e1a2),this[_0x369201(0x1de)]();},'finalize':function(_0x53afa3){var _0x559934=_0xe0f329;_0x53afa3&&this[_0x559934(0x22a)](_0x53afa3);var _0x45f1c2=this['_doFinalize']();return _0x45f1c2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2331e0(_0xc21423){var _0x1edb62=_0x451b;return typeof _0xc21423==_0x1edb62(0x453)?_0xfdca06:_0x98e22e;}return function(_0x47adc4){return{'encrypt':function(_0x56ebf5,_0x4422f1,_0x1b9e5e){var _0x4b73bd=_0x451b;return _0x2331e0(_0x4422f1)[_0x4b73bd(0x47c)](_0x47adc4,_0x56ebf5,_0x4422f1,_0x1b9e5e);},'decrypt':function(_0x58ab75,_0x45d878,_0x5cad0f){var _0xdb41d3=_0x451b;return _0x2331e0(_0x45d878)[_0xdb41d3(0x343)](_0x47adc4,_0x58ab75,_0x45d878,_0x5cad0f);}};};}())});_0x2b0fdc[_0xe0f329(0x48b)]=_0x2e16b9[_0xe0f329(0x384)]({'_doFinalize':function(){var _0xe1b016=_0xe0f329,_0x12141e=this[_0xe1b016(0x1de)](!0x0);return _0x12141e;},'blockSize':0x1});var _0x10a5ea=_0x26bb8f['mode']={},_0xd04130=_0x2b0fdc[_0xe0f329(0x24d)]=_0x189e97[_0xe0f329(0x384)]({'createEncryptor':function(_0x1d8d43,_0x54bd1e){var _0x25ec74=_0xe0f329;return this['Encryptor'][_0x25ec74(0x232)](_0x1d8d43,_0x54bd1e);},'createDecryptor':function(_0xd31e6a,_0x9b7b0b){var _0x3fe7c3=_0xe0f329;return this[_0x3fe7c3(0x238)][_0x3fe7c3(0x232)](_0xd31e6a,_0x9b7b0b);},'init':function(_0x2582d2,_0x5ba70b){var _0x1d5dbd=_0xe0f329;this[_0x1d5dbd(0x460)]=_0x2582d2,this[_0x1d5dbd(0x40e)]=_0x5ba70b;}}),_0x34afb6=_0x10a5ea[_0xe0f329(0x1c0)]=(function(){var _0x2edc84=_0xe0f329,_0x47f3b9=_0xd04130[_0x2edc84(0x384)]();_0x47f3b9[_0x2edc84(0x33d)]=_0x47f3b9[_0x2edc84(0x384)]({'processBlock':function(_0x335862,_0x451ab8){var _0x5ffa46=_0x2edc84,_0x430e3f=this[_0x5ffa46(0x460)],_0x565db1=_0x430e3f[_0x5ffa46(0x2b0)];_0x407a75[_0x5ffa46(0x328)](this,_0x335862,_0x451ab8,_0x565db1),_0x430e3f[_0x5ffa46(0x245)](_0x335862,_0x451ab8),this[_0x5ffa46(0x34d)]=_0x335862[_0x5ffa46(0x303)](_0x451ab8,_0x451ab8+_0x565db1);}}),_0x47f3b9['Decryptor']=_0x47f3b9['extend']({'processBlock':function(_0x1b5c89,_0x449f59){var _0x30db33=_0x2edc84,_0x5bf942=this['_cipher'],_0x1764cf=_0x5bf942['blockSize'],_0x5ef2a9=_0x1b5c89['slice'](_0x449f59,_0x449f59+_0x1764cf);_0x5bf942['decryptBlock'](_0x1b5c89,_0x449f59),_0x407a75[_0x30db33(0x328)](this,_0x1b5c89,_0x449f59,_0x1764cf),this[_0x30db33(0x34d)]=_0x5ef2a9;}});function _0x407a75(_0x955402,_0x19cc99,_0x48531e){var _0x3a440f=_0x2edc84,_0x559962,_0x3503f7=this['_iv'];_0x3503f7?(_0x559962=_0x3503f7,this[_0x3a440f(0x40e)]=_0x4f58ef):_0x559962=this[_0x3a440f(0x34d)];for(var _0x3db82d=0x0;_0x3db82d<_0x48531e;_0x3db82d++)_0x955402[_0x19cc99+_0x3db82d]^=_0x559962[_0x3db82d];}return _0x47f3b9;}()),_0x1093d8=_0x26bb8f[_0xe0f329(0x1dd)]={},_0x3b8077=_0x1093d8[_0xe0f329(0x22f)]={'pad':function(_0x234028,_0x24042a){var _0x24a245=_0xe0f329;for(var _0x4fad11=_0x24042a*0x4,_0x34a311=_0x4fad11-_0x234028[_0x24a245(0x216)]%_0x4fad11,_0x2f38e8=_0x34a311<<0x18|_0x34a311<<0x10|_0x34a311<<0x8|_0x34a311,_0x43cf79=[],_0x4175e5=0x0;_0x4175e5<_0x34a311;_0x4175e5+=0x4)_0x43cf79['push'](_0x2f38e8);var _0x1134dc=_0xe8de57[_0x24a245(0x232)](_0x43cf79,_0x34a311);_0x234028['concat'](_0x1134dc);},'unpad':function(_0x39f14d){var _0x15ce16=_0xe0f329,_0x3ac822=_0x39f14d[_0x15ce16(0x2cf)][_0x39f14d[_0x15ce16(0x216)]-0x1>>>0x2]&0xff;_0x39f14d[_0x15ce16(0x216)]-=_0x3ac822;}};_0x2b0fdc[_0xe0f329(0x430)]=_0x2e16b9['extend']({'cfg':_0x2e16b9[_0xe0f329(0x499)][_0xe0f329(0x384)]({'mode':_0x34afb6,'padding':_0x3b8077}),'reset':function(){var _0x1752c2=_0xe0f329,_0xd24783;_0x2e16b9[_0x1752c2(0x36e)][_0x1752c2(0x328)](this);var _0x5249b6=this[_0x1752c2(0x499)],_0x2af30d=_0x5249b6['iv'],_0x1270f6=_0x5249b6[_0x1752c2(0x3fc)];this['_xformMode']==this[_0x1752c2(0x3d9)]?_0xd24783=_0x1270f6['createEncryptor']:(_0xd24783=_0x1270f6[_0x1752c2(0x33a)],this[_0x1752c2(0x473)]=0x1),this[_0x1752c2(0x432)]&&this[_0x1752c2(0x432)][_0x1752c2(0x388)]==_0xd24783?this[_0x1752c2(0x432)]['init'](this,_0x2af30d&&_0x2af30d[_0x1752c2(0x2cf)]):(this[_0x1752c2(0x432)]=_0xd24783[_0x1752c2(0x328)](_0x1270f6,this,_0x2af30d&&_0x2af30d[_0x1752c2(0x2cf)]),this[_0x1752c2(0x432)]['__creator']=_0xd24783);},'_doProcessBlock':function(_0x55c76d,_0x103bda){this['_mode']['processBlock'](_0x55c76d,_0x103bda);},'_doFinalize':function(){var _0x53c472=_0xe0f329,_0x5214c5,_0x1b206a=this[_0x53c472(0x499)][_0x53c472(0x455)];return this[_0x53c472(0x2f5)]==this['_ENC_XFORM_MODE']?(_0x1b206a['pad'](this['_data'],this[_0x53c472(0x2b0)]),_0x5214c5=this[_0x53c472(0x1de)](!0x0)):(_0x5214c5=this['_process'](!0x0),_0x1b206a[_0x53c472(0x29c)](_0x5214c5)),_0x5214c5;},'blockSize':0x80/0x20});var _0x5ccb91=_0x2b0fdc['CipherParams']=_0x189e97[_0xe0f329(0x384)]({'init':function(_0x4f9eab){var _0x56e449=_0xe0f329;this[_0x56e449(0x348)](_0x4f9eab);},'toString':function(_0x146148){var _0x1aa67f=_0xe0f329;return(_0x146148||this[_0x1aa67f(0x2f8)])[_0x1aa67f(0x404)](this);}}),_0x325298=_0x26bb8f[_0xe0f329(0x26a)]={},_0x361743=_0x325298[_0xe0f329(0x427)]={'stringify':function(_0x3e6c51){var _0x48e1f6=_0xe0f329,_0xda992a,_0x378de8=_0x3e6c51[_0x48e1f6(0x39e)],_0x54ffb6=_0x3e6c51[_0x48e1f6(0x400)];return _0x54ffb6?_0xda992a=_0xe8de57['create']([0x53616c74,0x65645f5f])[_0x48e1f6(0x1fb)](_0x54ffb6)[_0x48e1f6(0x1fb)](_0x378de8):_0xda992a=_0x378de8,_0xda992a[_0x48e1f6(0x403)](_0x49e016);},'parse':function(_0x2d9952){var _0x3cfee7=_0xe0f329,_0xa740e6,_0x32d82f=_0x49e016[_0x3cfee7(0x322)](_0x2d9952),_0x29e566=_0x32d82f['words'];return _0x29e566[0x0]==0x53616c74&&_0x29e566[0x1]==0x65645f5f&&(_0xa740e6=_0xe8de57[_0x3cfee7(0x232)](_0x29e566[_0x3cfee7(0x303)](0x2,0x4)),_0x29e566[_0x3cfee7(0x496)](0x0,0x4),_0x32d82f[_0x3cfee7(0x216)]-=0x10),_0x5ccb91[_0x3cfee7(0x232)]({'ciphertext':_0x32d82f,'salt':_0xa740e6});}},_0x98e22e=_0x2b0fdc['SerializableCipher']=_0x189e97[_0xe0f329(0x384)]({'cfg':_0x189e97[_0xe0f329(0x384)]({'format':_0x361743}),'encrypt':function(_0x14c35f,_0x182052,_0x334c21,_0x1c07fc){var _0x10d2c9=_0xe0f329;_0x1c07fc=this[_0x10d2c9(0x499)][_0x10d2c9(0x384)](_0x1c07fc);var _0x26cd20=_0x14c35f[_0x10d2c9(0x1f5)](_0x334c21,_0x1c07fc),_0x2a4290=_0x26cd20[_0x10d2c9(0x2f2)](_0x182052),_0x4863f3=_0x26cd20[_0x10d2c9(0x499)];return _0x5ccb91[_0x10d2c9(0x232)]({'ciphertext':_0x2a4290,'key':_0x334c21,'iv':_0x4863f3['iv'],'algorithm':_0x14c35f,'mode':_0x4863f3[_0x10d2c9(0x3fc)],'padding':_0x4863f3[_0x10d2c9(0x455)],'blockSize':_0x14c35f[_0x10d2c9(0x2b0)],'formatter':_0x1c07fc[_0x10d2c9(0x26a)]});},'decrypt':function(_0x463bde,_0x3c1112,_0x4eb898,_0x5d1fdf){var _0x33fb29=_0xe0f329;_0x5d1fdf=this[_0x33fb29(0x499)][_0x33fb29(0x384)](_0x5d1fdf),_0x3c1112=this[_0x33fb29(0x296)](_0x3c1112,_0x5d1fdf['format']);var _0x4ea34f=_0x463bde[_0x33fb29(0x33a)](_0x4eb898,_0x5d1fdf)['finalize'](_0x3c1112[_0x33fb29(0x39e)]);return _0x4ea34f;},'_parse':function(_0x1f76bc,_0x4a6c19){var _0x510c39=_0xe0f329;return typeof _0x1f76bc==_0x510c39(0x453)?_0x4a6c19[_0x510c39(0x322)](_0x1f76bc,this):_0x1f76bc;}}),_0x1d7967=_0x26bb8f[_0xe0f329(0x334)]={},_0xaf5aea=_0x1d7967[_0xe0f329(0x427)]={'execute':function(_0x535c54,_0x409d13,_0x3f42f4,_0x5f1adf,_0x84f863){var _0xa9710f=_0xe0f329;if(_0x5f1adf||(_0x5f1adf=_0xe8de57[_0xa9710f(0x278)](0x40/0x8)),_0x84f863)var _0x351800=_0x1f13a3[_0xa9710f(0x232)]({'keySize':_0x409d13+_0x3f42f4,'hasher':_0x84f863})[_0xa9710f(0x2c9)](_0x535c54,_0x5f1adf);else var _0x351800=_0x1f13a3[_0xa9710f(0x232)]({'keySize':_0x409d13+_0x3f42f4})[_0xa9710f(0x2c9)](_0x535c54,_0x5f1adf);var _0x498b67=_0xe8de57['create'](_0x351800[_0xa9710f(0x2cf)][_0xa9710f(0x303)](_0x409d13),_0x3f42f4*0x4);return _0x351800[_0xa9710f(0x216)]=_0x409d13*0x4,_0x5ccb91[_0xa9710f(0x232)]({'key':_0x351800,'iv':_0x498b67,'salt':_0x5f1adf});}},_0xfdca06=_0x2b0fdc['PasswordBasedCipher']=_0x98e22e[_0xe0f329(0x384)]({'cfg':_0x98e22e[_0xe0f329(0x499)]['extend']({'kdf':_0xaf5aea}),'encrypt':function(_0x5f4e74,_0x31f26d,_0x1746bd,_0x1ea353){var _0x46363c=_0xe0f329;_0x1ea353=this[_0x46363c(0x499)]['extend'](_0x1ea353);var _0x301416=_0x1ea353[_0x46363c(0x334)]['execute'](_0x1746bd,_0x5f4e74[_0x46363c(0x225)],_0x5f4e74[_0x46363c(0x269)],_0x1ea353['salt'],_0x1ea353[_0x46363c(0x49c)]);_0x1ea353['iv']=_0x301416['iv'];var _0x16f620=_0x98e22e[_0x46363c(0x47c)][_0x46363c(0x328)](this,_0x5f4e74,_0x31f26d,_0x301416['key'],_0x1ea353);return _0x16f620[_0x46363c(0x348)](_0x301416),_0x16f620;},'decrypt':function(_0x90685a,_0x33f191,_0x4b1426,_0x36b07b){var _0x4da2c8=_0xe0f329;_0x36b07b=this[_0x4da2c8(0x499)][_0x4da2c8(0x384)](_0x36b07b),_0x33f191=this[_0x4da2c8(0x296)](_0x33f191,_0x36b07b[_0x4da2c8(0x26a)]);var _0x18b9f4=_0x36b07b[_0x4da2c8(0x334)][_0x4da2c8(0x1bb)](_0x4b1426,_0x90685a['keySize'],_0x90685a[_0x4da2c8(0x269)],_0x33f191['salt'],_0x36b07b[_0x4da2c8(0x49c)]);_0x36b07b['iv']=_0x18b9f4['iv'];var _0x4cc702=_0x98e22e[_0x4da2c8(0x343)][_0x4da2c8(0x328)](this,_0x90685a,_0x33f191,_0x18b9f4[_0x4da2c8(0x28c)],_0x36b07b);return _0x4cc702;}});}();}));}(Je)),Je[_0x235638(0x219)];}var Tn=Ve[_0x15a3f7(0x219)],ti;function Cn(){return ti||(ti=0x1,function(_0x4abadd,_0x1c5d1a){(function(_0xae9f58,_0x1d8686,_0x224fae){_0x4abadd['exports']=_0x1d8686(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x10f297){var _0xb15abd=_0x451b;return(function(){var _0xdd5889=_0x451b,_0x4dc1e9=_0x10f297,_0x2c1ab1=_0x4dc1e9[_0xdd5889(0x20d)],_0x46889c=_0x2c1ab1['BlockCipher'],_0x1a9598=_0x4dc1e9[_0xdd5889(0x222)],_0x302270=[],_0x18850d=[],_0xac3dc5=[],_0x1a5b8=[],_0x37f295=[],_0x5a11b8=[],_0x585569=[],_0x5639fa=[],_0x34bad6=[],_0x4ea364=[];(function(){for(var _0x46913a=[],_0x5ee6df=0x0;_0x5ee6df<0x100;_0x5ee6df++)_0x5ee6df<0x80?_0x46913a[_0x5ee6df]=_0x5ee6df<<0x1:_0x46913a[_0x5ee6df]=_0x5ee6df<<0x1^0x11b;for(var _0x43d90e=0x0,_0x12afad=0x0,_0x5ee6df=0x0;_0x5ee6df<0x100;_0x5ee6df++){var _0xb16db8=_0x12afad^_0x12afad<<0x1^_0x12afad<<0x2^_0x12afad<<0x3^_0x12afad<<0x4;_0xb16db8=_0xb16db8>>>0x8^_0xb16db8&0xff^0x63,_0x302270[_0x43d90e]=_0xb16db8,_0x18850d[_0xb16db8]=_0x43d90e;var _0x1b0382=_0x46913a[_0x43d90e],_0xbfa60c=_0x46913a[_0x1b0382],_0x129270=_0x46913a[_0xbfa60c],_0x1040c7=_0x46913a[_0xb16db8]*0x101^_0xb16db8*0x1010100;_0xac3dc5[_0x43d90e]=_0x1040c7<<0x18|_0x1040c7>>>0x8,_0x1a5b8[_0x43d90e]=_0x1040c7<<0x10|_0x1040c7>>>0x10,_0x37f295[_0x43d90e]=_0x1040c7<<0x8|_0x1040c7>>>0x18,_0x5a11b8[_0x43d90e]=_0x1040c7;var _0x1040c7=_0x129270*0x1010101^_0xbfa60c*0x10001^_0x1b0382*0x101^_0x43d90e*0x1010100;_0x585569[_0xb16db8]=_0x1040c7<<0x18|_0x1040c7>>>0x8,_0x5639fa[_0xb16db8]=_0x1040c7<<0x10|_0x1040c7>>>0x10,_0x34bad6[_0xb16db8]=_0x1040c7<<0x8|_0x1040c7>>>0x18,_0x4ea364[_0xb16db8]=_0x1040c7,_0x43d90e?(_0x43d90e=_0x1b0382^_0x46913a[_0x46913a[_0x46913a[_0x129270^_0x1b0382]]],_0x12afad^=_0x46913a[_0x46913a[_0x12afad]]):_0x43d90e=_0x12afad=0x1;}}());var _0x4efc29=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x59080f=_0x1a9598[_0xdd5889(0x333)]=_0x46889c[_0xdd5889(0x384)]({'_doReset':function(){var _0x4a3744=_0xdd5889,_0x341d7f;if(!(this[_0x4a3744(0x386)]&&this[_0x4a3744(0x210)]===this['_key'])){for(var _0x10da60=this[_0x4a3744(0x210)]=this[_0x4a3744(0x2fa)],_0x496d1c=_0x10da60[_0x4a3744(0x2cf)],_0x9a0cbf=_0x10da60['sigBytes']/0x4,_0x137d9f=this[_0x4a3744(0x386)]=_0x9a0cbf+0x6,_0x4b053e=(_0x137d9f+0x1)*0x4,_0x5abe5f=this['_keySchedule']=[],_0x44f9ab=0x0;_0x44f9ab<_0x4b053e;_0x44f9ab++)_0x44f9ab<_0x9a0cbf?_0x5abe5f[_0x44f9ab]=_0x496d1c[_0x44f9ab]:(_0x341d7f=_0x5abe5f[_0x44f9ab-0x1],_0x44f9ab%_0x9a0cbf?_0x9a0cbf>0x6&&_0x44f9ab%_0x9a0cbf==0x4&&(_0x341d7f=_0x302270[_0x341d7f>>>0x18]<<0x18|_0x302270[_0x341d7f>>>0x10&0xff]<<0x10|_0x302270[_0x341d7f>>>0x8&0xff]<<0x8|_0x302270[_0x341d7f&0xff]):(_0x341d7f=_0x341d7f<<0x8|_0x341d7f>>>0x18,_0x341d7f=_0x302270[_0x341d7f>>>0x18]<<0x18|_0x302270[_0x341d7f>>>0x10&0xff]<<0x10|_0x302270[_0x341d7f>>>0x8&0xff]<<0x8|_0x302270[_0x341d7f&0xff],_0x341d7f^=_0x4efc29[_0x44f9ab/_0x9a0cbf|0x0]<<0x18),_0x5abe5f[_0x44f9ab]=_0x5abe5f[_0x44f9ab-_0x9a0cbf]^_0x341d7f);for(var _0xc3309=this[_0x4a3744(0x3db)]=[],_0x55a22e=0x0;_0x55a22e<_0x4b053e;_0x55a22e++){var _0x44f9ab=_0x4b053e-_0x55a22e;if(_0x55a22e%0x4)var _0x341d7f=_0x5abe5f[_0x44f9ab];else var _0x341d7f=_0x5abe5f[_0x44f9ab-0x4];_0x55a22e<0x4||_0x44f9ab<=0x4?_0xc3309[_0x55a22e]=_0x341d7f:_0xc3309[_0x55a22e]=_0x585569[_0x302270[_0x341d7f>>>0x18]]^_0x5639fa[_0x302270[_0x341d7f>>>0x10&0xff]]^_0x34bad6[_0x302270[_0x341d7f>>>0x8&0xff]]^_0x4ea364[_0x302270[_0x341d7f&0xff]];}}},'encryptBlock':function(_0x52b6bf,_0x3abe4c){var _0x2907ce=_0xdd5889;this[_0x2907ce(0x255)](_0x52b6bf,_0x3abe4c,this[_0x2907ce(0x3b5)],_0xac3dc5,_0x1a5b8,_0x37f295,_0x5a11b8,_0x302270);},'decryptBlock':function(_0x1e1e62,_0x12062a){var _0x7c171b=_0xdd5889,_0x1eadf8=_0x1e1e62[_0x12062a+0x1];_0x1e1e62[_0x12062a+0x1]=_0x1e1e62[_0x12062a+0x3],_0x1e1e62[_0x12062a+0x3]=_0x1eadf8,this[_0x7c171b(0x255)](_0x1e1e62,_0x12062a,this[_0x7c171b(0x3db)],_0x585569,_0x5639fa,_0x34bad6,_0x4ea364,_0x18850d);var _0x1eadf8=_0x1e1e62[_0x12062a+0x1];_0x1e1e62[_0x12062a+0x1]=_0x1e1e62[_0x12062a+0x3],_0x1e1e62[_0x12062a+0x3]=_0x1eadf8;},'_doCryptBlock':function(_0x2f4bea,_0x12c160,_0x351745,_0x4a812e,_0x4685dd,_0x5b5201,_0x54e7a9,_0x882fda){var _0xe09ce3=_0xdd5889;for(var _0x1dc679=this[_0xe09ce3(0x386)],_0x10b9b0=_0x2f4bea[_0x12c160]^_0x351745[0x0],_0x229021=_0x2f4bea[_0x12c160+0x1]^_0x351745[0x1],_0xa1737=_0x2f4bea[_0x12c160+0x2]^_0x351745[0x2],_0x522887=_0x2f4bea[_0x12c160+0x3]^_0x351745[0x3],_0x1f51ff=0x4,_0x4d7b2e=0x1;_0x4d7b2e<_0x1dc679;_0x4d7b2e++){var _0x5b0ab1=_0x4a812e[_0x10b9b0>>>0x18]^_0x4685dd[_0x229021>>>0x10&0xff]^_0x5b5201[_0xa1737>>>0x8&0xff]^_0x54e7a9[_0x522887&0xff]^_0x351745[_0x1f51ff++],_0x52409c=_0x4a812e[_0x229021>>>0x18]^_0x4685dd[_0xa1737>>>0x10&0xff]^_0x5b5201[_0x522887>>>0x8&0xff]^_0x54e7a9[_0x10b9b0&0xff]^_0x351745[_0x1f51ff++],_0x1c0fbe=_0x4a812e[_0xa1737>>>0x18]^_0x4685dd[_0x522887>>>0x10&0xff]^_0x5b5201[_0x10b9b0>>>0x8&0xff]^_0x54e7a9[_0x229021&0xff]^_0x351745[_0x1f51ff++],_0x50c868=_0x4a812e[_0x522887>>>0x18]^_0x4685dd[_0x10b9b0>>>0x10&0xff]^_0x5b5201[_0x229021>>>0x8&0xff]^_0x54e7a9[_0xa1737&0xff]^_0x351745[_0x1f51ff++];_0x10b9b0=_0x5b0ab1,_0x229021=_0x52409c,_0xa1737=_0x1c0fbe,_0x522887=_0x50c868;}var _0x5b0ab1=(_0x882fda[_0x10b9b0>>>0x18]<<0x18|_0x882fda[_0x229021>>>0x10&0xff]<<0x10|_0x882fda[_0xa1737>>>0x8&0xff]<<0x8|_0x882fda[_0x522887&0xff])^_0x351745[_0x1f51ff++],_0x52409c=(_0x882fda[_0x229021>>>0x18]<<0x18|_0x882fda[_0xa1737>>>0x10&0xff]<<0x10|_0x882fda[_0x522887>>>0x8&0xff]<<0x8|_0x882fda[_0x10b9b0&0xff])^_0x351745[_0x1f51ff++],_0x1c0fbe=(_0x882fda[_0xa1737>>>0x18]<<0x18|_0x882fda[_0x522887>>>0x10&0xff]<<0x10|_0x882fda[_0x10b9b0>>>0x8&0xff]<<0x8|_0x882fda[_0x229021&0xff])^_0x351745[_0x1f51ff++],_0x50c868=(_0x882fda[_0x522887>>>0x18]<<0x18|_0x882fda[_0x10b9b0>>>0x10&0xff]<<0x10|_0x882fda[_0x229021>>>0x8&0xff]<<0x8|_0x882fda[_0xa1737&0xff])^_0x351745[_0x1f51ff++];_0x2f4bea[_0x12c160]=_0x5b0ab1,_0x2f4bea[_0x12c160+0x1]=_0x52409c,_0x2f4bea[_0x12c160+0x2]=_0x1c0fbe,_0x2f4bea[_0x12c160+0x3]=_0x50c868;},'keySize':0x100/0x20});_0x4dc1e9[_0xdd5889(0x333)]=_0x46889c[_0xdd5889(0x364)](_0x59080f);}()),_0x10f297[_0xb15abd(0x333)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe[_0x15a3f7(0x219)],si;function Nn(){return si||(si=0x1,function(_0x2e8e60,_0xdf999d){(function(_0x29e3ee,_0x2a3d47){_0x2e8e60['exports']=_0x2a3d47(te());}(yn,function(_0x4cb23d){var _0x26e202=_0x451b;return _0x4cb23d[_0x26e202(0x395)][_0x26e202(0x1e4)];}));}(Xe)),Xe['exports'];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze['exports'],ni;function wn(){var _0x40a017=_0x15a3f7;return ni||(ni=0x1,function(_0xbbb64,_0x5ee21e){(function(_0x5c0298,_0x215fcf){_0xbbb64['exports']=_0x215fcf(te());}(An,function(_0x381d32){var _0x3d163a=_0x451b;return(function(){var _0x11e669=_0x451b;if(typeof ArrayBuffer==_0x11e669(0x29d)){var _0x3886e7=_0x381d32,_0x230aeb=_0x3886e7['lib'],_0x3be81c=_0x230aeb[_0x11e669(0x42f)],_0xc395e4=_0x3be81c[_0x11e669(0x3a6)],_0x309f47=_0x3be81c[_0x11e669(0x3a6)]=function(_0x257296){var _0x4ed592=_0x11e669;if(_0x257296 instanceof ArrayBuffer&&(_0x257296=new Uint8Array(_0x257296)),(_0x257296 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x257296 instanceof Uint8ClampedArray||_0x257296 instanceof Int16Array||_0x257296 instanceof Uint16Array||_0x257296 instanceof Int32Array||_0x257296 instanceof Uint32Array||_0x257296 instanceof Float32Array||_0x257296 instanceof Float64Array)&&(_0x257296=new Uint8Array(_0x257296[_0x4ed592(0x3a0)],_0x257296[_0x4ed592(0x24f)],_0x257296[_0x4ed592(0x261)])),_0x257296 instanceof Uint8Array){for(var _0xd5a800=_0x257296[_0x4ed592(0x261)],_0x5404fd=[],_0x657b52=0x0;_0x657b52<_0xd5a800;_0x657b52++)_0x5404fd[_0x657b52>>>0x2]|=_0x257296[_0x657b52]<<0x18-_0x657b52%0x4*0x8;_0xc395e4[_0x4ed592(0x328)](this,_0x5404fd,_0xd5a800);}else _0xc395e4['apply'](this,arguments);};_0x309f47[_0x11e669(0x224)]=_0x3be81c;}}()),_0x381d32[_0x3d163a(0x20d)][_0x3d163a(0x42f)];}));}(Ze)),Ze[_0x40a017(0x219)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x15a3f7(0x219)],ri;function xn(){var _0xcde83e=_0x15a3f7;return ri||(ri=0x1,function(_0x30ea8c,_0x18f4e7){(function(_0x305670,_0x46c03b,_0x4701f6){var _0x186c86=_0x451b;_0x30ea8c[_0x186c86(0x219)]=_0x46c03b(te(),Ni());}(Mn,function(_0x34a0a1){var _0x1dc60a=_0x451b;return _0x34a0a1[_0x1dc60a(0x1dd)][_0x1dc60a(0x254)]={'pad':function(){},'unpad':function(){}},_0x34a0a1[_0x1dc60a(0x1dd)]['NoPadding'];}));}(Qe)),Qe[_0xcde83e(0x219)];}var kn=xn();const $n=$e(kn);function Hn(_0x1e5878,_0x59d881){var _0x4b127a=_0x15a3f7;const _0x261cb2=_0x59d881-_0x1e5878[_0x4b127a(0x292)]%_0x59d881,_0x2cc16d=String[_0x4b127a(0x217)](_0x261cb2)[_0x4b127a(0x1e1)](_0x261cb2);return _0x1e5878+_0x2cc16d;}function Bn(_0x21a7ab,_0x219f29){var _0x661ded=_0x15a3f7;const _0x593313=Ln[_0x661ded(0x278)](0x10),_0x22d6b2=Hn(_0x21a7ab,0x10),_0x5ebcb1=On[_0x661ded(0x47c)](Un[_0x661ded(0x322)](_0x22d6b2),ii[_0x661ded(0x322)](_0x219f29),{'iv':_0x593313,'padding':$n});return _0x593313[_0x661ded(0x1fb)](_0x5ebcb1['ciphertext'])[_0x661ded(0x403)](ii);}function jn(){var _0x3abb5c=_0x15a3f7;const _0x45b59c=_0x53c0e5()['__Key__'];if(_0x45b59c){const _0x43a71f={'time':Math[_0x3abb5c(0x47f)](Date[_0x3abb5c(0x2bc)]()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x3abb5c(0x404)](_0x43a71f),_0x45b59c);}}var Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x4d4a68,_0x58402e,_0x24b4f2,_0x55a25c)=>{var _0x55ed9a=_0x15a3f7;for(var _0x30d291=_0x55a25c>0x1?void 0x0:_0x55a25c?Fn(_0x58402e,_0x24b4f2):_0x58402e,_0x9b9989=_0x4d4a68[_0x55ed9a(0x292)]-0x1,_0x40abcc;_0x9b9989>=0x0;_0x9b9989--)(_0x40abcc=_0x4d4a68[_0x9b9989])&&(_0x30d291=_0x40abcc(_0x30d291)||_0x30d291);return _0x30d291;},Gn=(_0x1a9fc7,_0x3d36a2)=>(_0x2c2823,_0x302f6a)=>_0x3d36a2(_0x2c2823,_0x302f6a,_0x1a9fc7);let at=class{constructor(_0xdf0e0){var _0x480e57=_0x15a3f7;this[_0x480e57(0x3a1)]=_0xdf0e0,this['_initRequestHeader']();}[_0x15a3f7(0x3b2)](){var _0x4e83f2=_0x15a3f7;this[_0x4e83f2(0x3a1)][_0x4e83f2(0x29e)]({'interceptor':(_0x523492,_0x5cae56)=>{var _0x16528c=_0x4e83f2;const _0x3e1a42=_0x523492[_0x16528c(0x1b6)],_0x3f73c0=jn();return _0x3f73c0&&_0x3e1a42[_0x16528c(0x1d8)]('x-univer-host',_0x3f73c0),_0x5cae56(_0x523492);}});}};at=Vn([Gn(0x0,_0x2b7a12(_0x52d2f1))],at);var Yn=Object[_0x15a3f7(0x3f6)],Wn=(_0x46e20f,_0x5a1629,_0x34897f,_0x22c375)=>{var _0x3a6074=_0x15a3f7;for(var _0x53d3b4=_0x22c375>0x1?void 0x0:_0x22c375?Yn(_0x5a1629,_0x34897f):_0x5a1629,_0x1f122b=_0x46e20f[_0x3a6074(0x292)]-0x1,_0x3c4922;_0x1f122b>=0x0;_0x1f122b--)(_0x3c4922=_0x46e20f[_0x1f122b])&&(_0x53d3b4=_0x3c4922(_0x53d3b4)||_0x53d3b4);return _0x53d3b4;},vt=(_0x1efe84,_0x2f5e77)=>(_0x5039b4,_0x1cb618)=>_0x2f5e77(_0x5039b4,_0x1cb618,_0x1efe84);let Ct=class extends _0x40a75e{constructor(_0x83af96,_0x4eaaa7,_0x589e0b){var _0xf5bad0=_0x15a3f7;super(),N(this,'_unitInfo$',new _0x14ddda(null)),N(this,_0xf5bad0(0x448),this[_0xf5bad0(0x3af)][_0xf5bad0(0x1c9)]()),(this[_0xf5bad0(0x485)]=_0x83af96,this['_snapshotService']=_0x4eaaa7,this[_0xf5bad0(0x263)]=_0x589e0b);}async[_0x15a3f7(0x1bf)](_0x4d62b9,_0x55ad3f,_0x5eca1a){var _0x57cddd=_0x15a3f7;this[_0x57cddd(0x3af)][_0x57cddd(0x3ff)]({'unitId':_0x4d62b9,'type':_0x55ad3f});let _0x4953c6=null;switch(_0x55ad3f){case Z[_0x57cddd(0x1fa)]:{_0x4953c6=await this['_snapshotService']['loadSheet'](_0x4d62b9,_0x5eca1a);break;}case Z['UNIVER_DOC']:{_0x4953c6=await this['_snapshotService']['loadDoc'](_0x4d62b9,_0x5eca1a);break;}default:{this[_0x57cddd(0x485)][_0x57cddd(0x1ed)]('[DataLoaderService]',_0x57cddd(0x243));break;}}return _0x4953c6;}async['loadUnit'](_0xa77ba5,_0x1e00a6,_0x422c0f){var _0x28567e=_0x15a3f7,_0x308d3a;this['_unitInfo$'][_0x28567e(0x3ff)]({'unitId':_0xa77ba5,'type':_0x1e00a6,'subUnitId':_0x422c0f});let _0x2ef116=0x0;const _0x2e4278=await((_0x308d3a=this['_localCacheService'])==null?void 0x0:_0x308d3a[_0x28567e(0x405)](_0xa77ba5));return _0x2e4278&&(_0x2e4278[_0x28567e(0x451)]||_0x2e4278['mutations'][_0x28567e(0x292)]!==0x0)&&(_0x2ef116=_0x2e4278[_0x28567e(0x471)]),_0x2ef116===0x0&&this['_logService']['debug'](_0x28567e(0x44a),_0x28567e(0x1ca)),this[_0x28567e(0x1bf)](_0xa77ba5,_0x1e00a6,_0x2ef116);}};Ct=Wn([vt(0x0,_0xa648c6),vt(0x1,_0x2b7a12(_0x53da64)),vt(0x2,_0x34de02(J))],Ct);var Kn=Object[_0x15a3f7(0x3f6)],qn=(_0x4f28df,_0x15d926,_0x3795bb,_0x3d3572)=>{var _0xf912be=_0x15a3f7;for(var _0x4af170=_0x3d3572>0x1?void 0x0:_0x3d3572?Kn(_0x15d926,_0x3795bb):_0x15d926,_0x889914=_0x4f28df[_0xf912be(0x292)]-0x1,_0xf33ce0;_0x889914>=0x0;_0x889914--)(_0xf33ce0=_0x4f28df[_0x889914])&&(_0x4af170=_0xf33ce0(_0x4af170)||_0x4af170);return _0x4af170;},pt=(_0x2b022d,_0x5bf81a)=>(_0x1bc551,_0x1fb642)=>_0x5bf81a(_0x1bc551,_0x1fb642,_0x2b022d);const zn=[_0x15a3f7(0x3f2),_0x15a3f7(0x3bc),_0x15a3f7(0x305),'image/gif',_0x15a3f7(0x3b7)],Jn=0x5*0x400*0x400,Xn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Zn='/universer-api/stream/file/upload',Qn=_0x15a3f7(0x467),er=_0x15a3f7(0x21c);let Rt=class{constructor(_0x54fb42,_0x4b7ee3,_0x32035a){var _0x402420=_0x15a3f7;N(this,'_waitCount',0x0),N(this,_0x402420(0x2b2),new _0x3cc23b()),N(this,_0x402420(0x282),this['_change$']),N(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x54fb42,this[_0x402420(0x3df)]=_0x4b7ee3,this['_univerInstanceService']=_0x32035a);}[_0x15a3f7(0x26c)](_0x509f11){var _0x50efc0=_0x15a3f7;this['_waitCount']=_0x509f11,this[_0x50efc0(0x2b2)][_0x50efc0(0x3ff)](_0x509f11);}[_0x15a3f7(0x412)](_0x496ded,_0x7a4dbf){var _0x59aa53=_0x15a3f7;if(_0x7a4dbf===_0x532200['BASE64']){const _0x52ca6d=new Image();return _0x52ca6d['src']=_0x496ded,_0x52ca6d;}return this[_0x59aa53(0x1ff)][_0x59aa53(0x402)](_0x496ded);}[_0x15a3f7(0x43f)](_0x395d67,_0x287124,_0x50fb77){var _0x433b7c=_0x15a3f7;_0x287124===_0x532200[_0x433b7c(0x4a6)]||_0x50fb77==null||this[_0x433b7c(0x1ff)][_0x433b7c(0x1d8)](_0x395d67,_0x50fb77);}async['getImage'](_0xed0ff3){var _0x5936f3=_0x15a3f7;try{const _0x4735a5=this['_replaceFileID'](this[_0x5936f3(0x419)](),''+_0xed0ff3),_0x52d2e1=(await this[_0x5936f3(0x3a1)][_0x5936f3(0x402)](_0x4735a5))[_0x5936f3(0x1b8)];if(_0x52d2e1[_0x5936f3(0x1ed)]&&_0x52d2e1[_0x5936f3(0x1ed)][_0x5936f3(0x1b1)]===pi['OK']){const _0x1de6ae=new URL(_0x52d2e1[_0x5936f3(0x362)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x5936f3(0x1d0)](_0x1de6ae);}return Promise[_0x5936f3(0x462)](_0x52d2e1[_0x5936f3(0x1ed)]);}catch(_0x1af327){return Promise[_0x5936f3(0x462)](_0x1af327);}}async[_0x15a3f7(0x47b)](_0x3796a0){var _0x193814=_0x15a3f7;let _0x48117a='';if(!zn[_0x193814(0x38b)](_0x3796a0[_0x193814(0x247)]))return this[_0x193814(0x1d7)](),Promise[_0x193814(0x462)](new Error(_0x4e4ebf[_0x193814(0x202)]));if(_0x3796a0[_0x193814(0x493)]>Jn)return this[_0x193814(0x1d7)](),Promise[_0x193814(0x462)](new Error(_0x4e4ebf['ERROR_EXCEED_SIZE']));try{const _0x26403c=new FormData();_0x26403c['append'](_0x193814(0x406),_0x3796a0);const _0x31ccd1=this[_0x193814(0x488)][_0x193814(0x1ec)](),_0x108dc8=_0x31ccd1==null?void 0x0:_0x31ccd1[_0x193814(0x361)]();if(!_0x108dc8)throw new Error(_0x193814(0x25b));const _0x2812b3=this[_0x193814(0x27e)]()+_0x193814(0x356)+_0x3796a0[_0x193814(0x493)][_0x193814(0x403)]()+_0x193814(0x236)+mi[_0x193814(0x36f)]+_0x193814(0x3dd)+encodeURIComponent(_0x108dc8),_0x174000={'body':_0x26403c},_0x12027d=(await this['_httpService'][_0x193814(0x1cd)](_0x2812b3,_0x174000))[_0x193814(0x1b8)];if(typeof _0x12027d[_0x193814(0x20f)]!='string')return this[_0x193814(0x1d7)](),Promise['reject'](new Error(_0x4e4ebf['ERROR_IMAGE']));_0x48117a=_0x12027d[_0x193814(0x20f)];}catch{return this[_0x193814(0x1d7)](),Promise[_0x193814(0x462)](new Error(_0x4e4ebf[_0x193814(0x1d6)]));}return new Promise((_0x9bb5eb,_0x3233db)=>{var _0x1065a4=_0x193814;const _0x832b9f=new FileReader();_0x832b9f[_0x1065a4(0x34a)](_0x3796a0),_0x832b9f[_0x1065a4(0x2f1)]=_0x53a82b=>{var _0x150423=_0x1065a4,_0xf2f2e2;const _0x3c3ba6=(_0xf2f2e2=_0x53a82b[_0x150423(0x2a7)])==null?void 0x0:_0xf2f2e2[_0x150423(0x41e)];if(_0x3c3ba6==null){this[_0x150423(0x1d7)](),_0x3233db(new Error(_0x4e4ebf[_0x150423(0x1d6)]));return;}const _0x2a66d7=_0x35e9a6[_0x150423(0x46c)](0x6);_0x9bb5eb({'imageId':_0x2a66d7,'imageSourceType':_0x532200['UUID'],'source':_0x48117a,'base64Cache':_0x3c3ba6,'status':_0x4e4ebf['SUCCUSS']}),this[_0x150423(0x1d7)]();};});}[_0x15a3f7(0x27e)](){var _0x45ea30=_0x15a3f7,_0x1531ca,_0x15abbe;const _0x1cfc5f=this['_configService'][_0x45ea30(0x24e)](Xn),_0x4e6afe=this[_0x45ea30(0x3df)][_0x45ea30(0x24e)](K);return(_0x15abbe=(_0x1531ca=_0x4e6afe==null?void 0x0:_0x4e6afe['uploadFileServerUrl'])!=null?_0x1531ca:_0x1cfc5f)!=null?_0x15abbe:Zn;}[_0x15a3f7(0x419)](){var _0x5b5a9e=_0x15a3f7,_0x46d2e5,_0x25a6f7;const _0x256c2f=this[_0x5b5a9e(0x3df)][_0x5b5a9e(0x24e)](Qn),_0x1d90d8=this[_0x5b5a9e(0x3df)][_0x5b5a9e(0x24e)](K);return(_0x25a6f7=(_0x46d2e5=_0x1d90d8==null?void 0x0:_0x1d90d8[_0x5b5a9e(0x20a)])!=null?_0x46d2e5:_0x256c2f)!=null?_0x25a6f7:er;}['_getDownloadEndpointURL'](){var _0x4c3a0d=_0x15a3f7,_0x2900d6;const _0x15f25e=this[_0x4c3a0d(0x3df)]['getConfig'](K);return(_0x2900d6=_0x15f25e==null?void 0x0:_0x15f25e['downloadEndpointUrl'])!=null?_0x2900d6:location[_0x4c3a0d(0x2fe)];}['_replaceFileID'](_0xac52c8,_0x42e9b0){var _0x3a957d=_0x15a3f7;return _0xac52c8[_0x3a957d(0x218)](_0x3a957d(0x307),_0x42e9b0);}[_0x15a3f7(0x1d7)](){var _0xda3e3=_0x15a3f7;this[_0xda3e3(0x1c3)]-=0x1,this['_change$'][_0xda3e3(0x3ff)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x2b7a12(_0x52d2f1)),pt(0x1,_0x47f3d0),pt(0x2,_0x2b7a12(_0x2ac46f))],Rt);var tr=Object[_0x15a3f7(0x3f6)],ir=(_0x46781f,_0x457ab0,_0x6f46bc,_0xf7cd24)=>{var _0x4836ad=_0x15a3f7;for(var _0x1d77a6=_0xf7cd24>0x1?void 0x0:_0xf7cd24?tr(_0x457ab0,_0x6f46bc):_0x457ab0,_0x4d0800=_0x46781f[_0x4836ad(0x292)]-0x1,_0x46cced;_0x4d0800>=0x0;_0x4d0800--)(_0x46cced=_0x46781f[_0x4d0800])&&(_0x1d77a6=_0x46cced(_0x1d77a6)||_0x1d77a6);return _0x1d77a6;},ai=(_0xdc3ba8,_0x2036ed)=>(_0x308f6c,_0x472320)=>_0x2036ed(_0x308f6c,_0x472320,_0xdc3ba8);const sr='/universer-api/authz';let Ot=class{constructor(_0x2525db,_0x584016){var _0x59801a=_0x15a3f7;this[_0x59801a(0x3df)]=_0x2525db,this[_0x59801a(0x293)]=_0x584016;}[_0x15a3f7(0x433)](){var _0x1e02ac=_0x15a3f7,_0x68a85d,_0x113d9c;const _0x4de46c=this[_0x1e02ac(0x3df)]['getConfig'](Oi),_0x1fdf0e=this[_0x1e02ac(0x3df)][_0x1e02ac(0x24e)](K);return(_0x113d9c=(_0x68a85d=_0x1fdf0e==null?void 0x0:_0x1fdf0e[_0x1e02ac(0x47a)])!=null?_0x68a85d:_0x4de46c)!=null?_0x113d9c:sr;}async[_0x15a3f7(0x1af)](_0x19c6b2){var _0x219eca=_0x15a3f7;const _0x3d8ab4=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x219eca(0x21d),'mentions':(await this[_0x219eca(0x293)][_0x219eca(0x402)](_0x3d8ab4,{'params':{'objectID':_0x19c6b2['unitId'],'unitID':_0x19c6b2['unitId']}}))[_0x219eca(0x1b8)][_0x219eca(0x1d4)][_0x219eca(0x38d)](_0x470ee1=>({'objectId':_0x470ee1['id'],'name':_0x470ee1[_0x219eca(0x40c)][_0x219eca(0x3b4)],'metadata':{'icon':_0x470ee1['subject'][_0x219eca(0x376)]},'label':_0x470ee1[_0x219eca(0x40c)]['name'],'objectType':_0x2a6bc1[_0x219eca(0x1aa)]})),'metadata':{},'type':_0x2a6bc1[_0x219eca(0x1aa)]}]};}};Ot=ir([ai(0x0,_0x2b7a12(_0x47f3d0)),ai(0x1,_0x2b7a12(_0x52d2f1))],Ot);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x22ff68,_0x46dd6a,_0x21ea2e,_0x157707)=>{var _0x3a419b=_0x15a3f7;for(var _0x513466=_0x157707>0x1?void 0x0:_0x157707?nr(_0x46dd6a,_0x21ea2e):_0x46dd6a,_0x5718c2=_0x22ff68[_0x3a419b(0x292)]-0x1,_0x55c502;_0x5718c2>=0x0;_0x5718c2--)(_0x55c502=_0x22ff68[_0x5718c2])&&(_0x513466=_0x55c502(_0x513466)||_0x513466);return _0x513466;},Ae=(_0x235617,_0x5d574d)=>(_0x4f4431,_0x2c548c)=>_0x5d574d(_0x4f4431,_0x2c548c,_0x235617);let ot=class extends _0x40a75e{constructor(_0x5adfec,_0x4ed078,_0x3f4299,_0xa94e3e,_0x49f360){var _0x168a56=_0x15a3f7;super(),this[_0x168a56(0x398)]=_0x5adfec,this[_0x168a56(0x488)]=_0x4ed078,this[_0x168a56(0x2b3)]=_0x3f4299,this[_0x168a56(0x1f0)]=_0xa94e3e,this[_0x168a56(0x3c9)]=_0x49f360,this[_0x168a56(0x3c6)](),this[_0x168a56(0x331)]();}[_0x15a3f7(0x331)](){var _0x2fc79e=_0x15a3f7;const _0x5e1540=async _0x1b9a0f=>{var _0x2990b0=_0x451b;(await this[_0x2990b0(0x1f0)]['requireSession'](_0x1b9a0f))['event$']['pipe'](_0x37a8f5(_0x590628=>_0x590628['eventID']===_0x27b4c0[_0x2990b0(0x1e2)]),_0x25bfb8(this[_0x2990b0(0x379)]))['subscribe'](_0x275ac8=>{var _0x1aa1e5=_0x2990b0;const _0x3f5336=_0x275ac8,{reason:_0x53e40b}=_0x3f5336[_0x1aa1e5(0x340)];this[_0x1aa1e5(0x3c9)][_0x1aa1e5(0x234)]({'id':ne[_0x1aa1e5(0x472)],'data':_0x53e40b}),this[_0x1aa1e5(0x2b3)][_0x1aa1e5(0x2a0)](new _0x8d1a4(_0x1b9a0f)['id'],!0x1),this[_0x1aa1e5(0x1f0)]['closeSession'](_0x1b9a0f);});};_0x435616(this['_univerInstanceService'][_0x2fc79e(0x3d2)](_0xdcaf5b[_0x2fc79e(0x1fa)]),this[_0x2fc79e(0x488)][_0x2fc79e(0x3d2)](_0xdcaf5b[_0x2fc79e(0x2e6)]))[_0x2fc79e(0x242)](_0x3a21da(_0x131836=>_0x131836[_0x2fc79e(0x361)]()),_0x37a8f5(_0x2e83ed=>!_0x3d3869(_0x2e83ed)),_0x25bfb8(this[_0x2fc79e(0x379)]))[_0x2fc79e(0x32e)](_0x4a35bb=>{_0x5e1540(_0x4a35bb);});}[_0x15a3f7(0x3c6)](){var _0x1130f1=_0x15a3f7;const _0x2ce207=async _0x41b593=>{var _0xc7c94b=_0x451b;const _0x9b83c9=await this[_0xc7c94b(0x1f0)][_0xc7c94b(0x2cc)](_0x41b593),_0x254dc7=this['_injector'][_0xc7c94b(0x402)](_0x39c3b5);_0x9b83c9[_0xc7c94b(0x468)][_0xc7c94b(0x242)](_0x37a8f5(_0x1be296=>_0x1be296[_0xc7c94b(0x221)]===_0x27b4c0[_0xc7c94b(0x289)]),_0x25bfb8(this['dispose$']))[_0xc7c94b(0x32e)](_0xbba6a8=>{var _0x14fb35=_0xc7c94b;const _0x2ad577=_0xbba6a8,{objectId:_0x59f23b}=_0x2ad577[_0x14fb35(0x340)];_0x59f23b===_0x41b593?_0x254dc7[_0x14fb35(0x1e0)](_0x41b593):_0x254dc7[_0x14fb35(0x332)](_0x41b593,_0x59f23b);});};_0x435616(this[_0x1130f1(0x488)]['getTypeOfUnitAdded$'](_0xdcaf5b[_0x1130f1(0x1fa)]))['pipe'](_0x3a21da(_0x246fb8=>_0x246fb8[_0x1130f1(0x361)]()),_0x37a8f5(_0x463ea3=>!_0x3d3869(_0x463ea3)),_0x25bfb8(this[_0x1130f1(0x379)]))[_0x1130f1(0x32e)](_0x357693=>{_0x2ce207(_0x357693);});}};ot=rr([Ae(0x0,_0x2b7a12(_0x59694f)),Ae(0x1,_0x2ac46f),Ae(0x2,_0x26b2f2),Ae(0x3,_0x2b7a12(Le)),Ae(0x4,_0x2b7a12(ve))],ot);var ar=Object[_0x15a3f7(0x3f6)],or=(_0x48a34a,_0x408836,_0x617766,_0x53ae63)=>{var _0x85f605=_0x15a3f7;for(var _0x4d3717=_0x53ae63>0x1?void 0x0:_0x53ae63?ar(_0x408836,_0x617766):_0x408836,_0x21370f=_0x48a34a[_0x85f605(0x292)]-0x1,_0x5ccbf7;_0x21370f>=0x0;_0x21370f--)(_0x5ccbf7=_0x48a34a[_0x21370f])&&(_0x4d3717=_0x5ccbf7(_0x4d3717)||_0x4d3717);return _0x4d3717;},oi=(_0x40b801,_0x25e6a3)=>(_0xa4dc27,_0x2b395a)=>_0x25e6a3(_0xa4dc27,_0x2b395a,_0x40b801);let bt=class{constructor(_0x5ea0e4,_0x9733e2){var _0x172314=_0x15a3f7;this['_configService']=_0x5ea0e4,this[_0x172314(0x3a1)]=_0x9733e2;}async['getUnitOnRev'](_0x181810,_0x243763){var _0x258ab0=_0x15a3f7,_0x1560e0;const {unitID:_0x4d8abe,type:_0x2eb3a3,revision:_0x36eda9=0x0}=_0x243763,_0x10b886=this[_0x258ab0(0x31c)]()+'/'+_0x2eb3a3+_0x258ab0(0x446)+_0x4d8abe+'/rev/'+_0x36eda9,_0x2f066c=(await this[_0x258ab0(0x3a1)][_0x258ab0(0x402)](_0x10b886))[_0x258ab0(0x1b8)],_0x3a9b3c=(_0x1560e0=_0x2f066c['snapshot'])==null?void 0x0:_0x1560e0['workbook'];if(_0x3a9b3c){const _0x46b1ca=_0x3a9b3c==null?void 0x0:_0x3a9b3c[_0x258ab0(0x28f)],_0x48ed0a=_0x50a441[_0x258ab0(0x43a)](_0x51193d(_0x46b1ca));_0x3a9b3c[_0x258ab0(0x28f)]=_0x48ed0a,Object[_0x258ab0(0x1e9)](_0x3a9b3c[_0x258ab0(0x271)])[_0x258ab0(0x42a)](([,_0x5414fb])=>{var _0x11514d=_0x258ab0;const _0x5e93f3=_0x5414fb[_0x11514d(0x28f)],_0x5d02fb=_0x50a441['encode'](_0x51193d(_0x5e93f3));_0x5414fb[_0x11514d(0x28f)]=_0x5d02fb;});}return _0x2f066c;}async[_0x15a3f7(0x3bd)](_0x5bfc9b,_0x5e6079){var _0x1b7528=_0x15a3f7;const {unitID:_0x3e68fb,type:_0x3cf829,blockID:_0x31c639}=_0x5e6079,_0x384624=this['_getAPIPrefix']()+'/'+_0x3cf829+'/unit/'+_0x3e68fb+_0x1b7528(0x237)+_0x31c639;return(await this['_httpService'][_0x1b7528(0x402)](_0x384624))[_0x1b7528(0x1b8)];}async['getDeserializedSheetBlock'](_0x748394,_0x3a64ef){var _0x3a49ed=_0x15a3f7;const {unitID:_0x5462b6,type:_0x4fa550,blockID:_0x2be0b2}=_0x3a64ef,_0x1f6a90=this['_getAPIPrefix']()+'/block/'+_0x4fa550+'/unit/'+_0x5462b6+_0x3a49ed(0x237)+_0x2be0b2;return(await this['_httpService'][_0x3a49ed(0x402)](_0x1f6a90))['body'];}async['fetchMissingChangesets'](_0x3ccc11,_0x58244c){var _0x2b2317=_0x15a3f7;const {unitID:_0x14d6ce,type:_0x46e20b,from:_0x35ecde,to:_0x53ee3b}=_0x58244c,_0x206222=this[_0x2b2317(0x266)]()+'/'+_0x46e20b+_0x2b2317(0x446)+_0x14d6ce+_0x2b2317(0x3ce)+_0x35ecde+_0x2b2317(0x290)+_0x53ee3b;return(await this[_0x2b2317(0x3a1)][_0x2b2317(0x402)](_0x206222))['body'];}[_0x15a3f7(0x31c)](){var _0x365669=_0x15a3f7,_0x4c543f;return(_0x4c543f=this[_0x365669(0x3df)][_0x365669(0x24e)](ps))!=null?_0x4c543f:this[_0x365669(0x266)]();}['_getAPIPrefix'](){var _0x29270c=_0x15a3f7,_0x367b04,_0x55b56c;const _0x3097e1=this[_0x29270c(0x3df)][_0x29270c(0x24e)](fs),_0x3bdc1b=this[_0x29270c(0x3df)]['getConfig'](K);return(_0x55b56c=(_0x367b04=_0x3bdc1b==null?void 0x0:_0x3bdc1b[_0x29270c(0x449)])!=null?_0x367b04:_0x3097e1)!=null?_0x55b56c:vs;}async[_0x15a3f7(0x42d)](_0x44c1cb,_0x553978){var _0x437826=_0x15a3f7;const _0x28b28d=_0x437826(0x3d0)+_0x553978[_0x437826(0x247)]+'/unit/'+_0x553978[_0x437826(0x366)]+_0x437826(0x408);return(await this[_0x437826(0x3a1)][_0x437826(0x402)](_0x28b28d,{'params':{'resourceId':JSON[_0x437826(0x404)](_0x553978[_0x437826(0x24c)])}}))[_0x437826(0x1b8)];}['saveSnapshot'](){var _0x34f35b=_0x15a3f7;throw new Error(_0x34f35b(0x464));}[_0x15a3f7(0x33f)](){var _0x519205=_0x15a3f7;throw new Error(_0x519205(0x464));}[_0x15a3f7(0x1f3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x419c19=_0x15a3f7;throw new Error(_0x419c19(0x464));}[_0x15a3f7(0x2dc)](){var _0x3babd7=_0x15a3f7;throw new Error(_0x3babd7(0x464));}['getLatestCsReqIdBySid'](){var _0x4e6e60=_0x15a3f7;throw new Error(_0x4e6e60(0x464));}};bt=or([oi(0x0,_0x47f3d0),oi(0x1,_0x2b7a12(_0x52d2f1))],bt);var cr=Object[_0x15a3f7(0x3f6)],hr=(_0x307524,_0x54cd73,_0x7f80c4,_0x4684a8)=>{var _0x528e65=_0x15a3f7;for(var _0x3ff4b1=_0x4684a8>0x1?void 0x0:_0x4684a8?cr(_0x54cd73,_0x7f80c4):_0x54cd73,_0x4a7e3f=_0x307524[_0x528e65(0x292)]-0x1,_0x2cf0f8;_0x4a7e3f>=0x0;_0x4a7e3f--)(_0x2cf0f8=_0x307524[_0x4a7e3f])&&(_0x3ff4b1=_0x2cf0f8(_0x3ff4b1)||_0x3ff4b1);return _0x3ff4b1;},we=(_0x41b2e3,_0x581bf2)=>(_0x13339c,_0x150553)=>_0x581bf2(_0x13339c,_0x150553,_0x41b2e3);let yt=class extends _0xe0ff70{constructor(_0x3bea48,_0x1fae31,_0x1b5f7b,_0x1907ff,_0x1cd4d2){var _0x38c416=_0x15a3f7;super(_0x3bea48,_0x1fae31,_0x1b5f7b),this['_transformService']=_0x1907ff,this[_0x38c416(0x485)]=_0x1cd4d2;}['transformUndoRedo'](_0x451db1,_0x518a21){var _0x4bed76=_0x15a3f7;const _0x273a65=this['_getUndoStack'](_0x451db1);if(_0x273a65)try{const _0x3fe308=this[_0x4bed76(0x3cb)](_0x273a65,_0x518a21);this[_0x4bed76(0x415)](_0x451db1,_0x3fe308);}catch(_0x18e597){this['_logService'][_0x4bed76(0x1ed)]('[CollaborationUndoRedoService]',_0x18e597),this[_0x4bed76(0x373)](_0x451db1);}const _0x483d21=this[_0x4bed76(0x459)](_0x451db1);if(_0x483d21)try{const _0x43c10c=this[_0x4bed76(0x3cb)](_0x483d21,_0x518a21);this[_0x4bed76(0x25c)](_0x451db1,_0x43c10c);}catch(_0x31682d){this['_logService']['error'](_0x31682d),this[_0x4bed76(0x2c5)](_0x451db1);}}[_0x15a3f7(0x373)](_0x1c4e58){var _0x56a73f=_0x15a3f7;const _0x5a345c=this[_0x56a73f(0x1f7)](_0x1c4e58);_0x5a345c&&(_0x5a345c[_0x56a73f(0x292)]=0x0,this[_0x56a73f(0x42e)]());}['_clearRedo'](_0x64f16a){var _0x5a0e01=_0x15a3f7;const _0x2ff6bd=this[_0x5a0e01(0x459)](_0x64f16a);_0x2ff6bd&&(_0x2ff6bd[_0x5a0e01(0x292)]=0x0,this[_0x5a0e01(0x42e)]());}[_0x15a3f7(0x415)](_0x34b265,_0x3fffbf){var _0x6e9f87=_0x15a3f7;this[_0x6e9f87(0x434)]['set'](_0x34b265,_0x3fffbf),this[_0x6e9f87(0x42e)]();}[_0x15a3f7(0x25c)](_0x262cf3,_0x3bd0ca){var _0x32708a=_0x15a3f7;this['_redoStacks'][_0x32708a(0x1d8)](_0x262cf3,_0x3bd0ca),this['_updateStatus']();}[_0x15a3f7(0x3cb)](_0x46abc1,_0x5f1671){var _0x2fcf58=_0x15a3f7;const _0x3a641c=[];let _0x2e285d=_0x5f1671,_0x36c302=_0x5f1671;for(let _0x3eddb0=_0x46abc1['length']-0x1;_0x3eddb0>=0x0;_0x3eddb0--){const {unitID:_0x2eab87,undoMutations:_0x52fb78,redoMutations:_0x14953b}=_0x46abc1[_0x3eddb0],_0x16afb9=this[_0x2fcf58(0x38c)][_0x2fcf58(0x1a8)](_0x2e285d,_0x52fb78),_0xf6a34a=this[_0x2fcf58(0x38c)][_0x2fcf58(0x1a8)](_0x36c302,_0x14953b);if(_0x501a92(_0x16afb9)||_0x501a92(_0xf6a34a)){this[_0x2fcf58(0x485)][_0x2fcf58(0x1ed)](_0x2fcf58(0x2b9),'transformStack\x20failed!',_0x16afb9,_0xf6a34a);break;}_0x2e285d=_0x16afb9[_0x2fcf58(0x454)],_0x36c302=_0xf6a34a[_0x2fcf58(0x454)],_0x3a641c['push']({'unitID':_0x2eab87,'undoMutations':_0x16afb9[_0x2fcf58(0x466)],'redoMutations':_0xf6a34a[_0x2fcf58(0x466)]});}return _0x3a641c['reverse']();}};yt=hr([we(0x0,_0x2ac46f),we(0x1,_0x36f535),we(0x2,_0xdcd6c0),we(0x3,_0x17adc8),we(0x4,_0xa648c6)],yt);var _r=Object[_0x15a3f7(0x2fb)],lr=Object[_0x15a3f7(0x3f6)],ur=(_0x60b38,_0x36949b,_0x288f96)=>_0x36949b in _0x60b38?_r(_0x60b38,_0x36949b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x288f96}):_0x60b38[_0x36949b]=_0x288f96,dr=(_0xd8b702,_0x227ab7,_0x524aa3,_0x15d054)=>{var _0x16db14=_0x15a3f7;for(var _0x40ae2d=_0x15d054>0x1?void 0x0:_0x15d054?lr(_0x227ab7,_0x524aa3):_0x227ab7,_0x914125=_0xd8b702[_0x16db14(0x292)]-0x1,_0x2c3fa7;_0x914125>=0x0;_0x914125--)(_0x2c3fa7=_0xd8b702[_0x914125])&&(_0x40ae2d=_0x2c3fa7(_0x40ae2d)||_0x40ae2d);return _0x40ae2d;},mt=(_0x58f3b3,_0x36e7e1)=>(_0x41d114,_0x19e75f)=>_0x36e7e1(_0x41d114,_0x19e75f,_0x58f3b3),fr=(_0x13c264,_0x2d2dc1,_0x5b67ac)=>ur(_0x13c264,_0x2d2dc1+'',_0x5b67ac);const vr=_0x15a3f7(0x22e);let Nt=class extends _0x57e74e{constructor(_0x2c0547,_0x18ba4e,_0x411788,_0x1b1e4a){var _0x33b33a=_0x15a3f7;super(),N(this,_0x33b33a(0x33b)),(this[_0x33b33a(0x485)]=_0x18ba4e,this['_injector']=_0x411788,this[_0x33b33a(0x3df)]=_0x1b1e4a);const {..._0x321a04}=_0x19b627({},Ds,_0x2c0547);if(!_0x321a04[_0x33b33a(0x211)])throw new Error(_0x33b33a(0x208));this['_config']=_0x321a04,this['_configService'][_0x33b33a(0x381)](K,_0x321a04);}[_0x15a3f7(0x346)](){var _0xe71eb9=_0x15a3f7;this[_0xe71eb9(0x3cd)](),this[_0xe71eb9(0x359)]();}[_0x15a3f7(0x3cd)](){var _0x51437d=_0x15a3f7,_0x2ab825,_0x550a7f;this[_0x51437d(0x398)][_0x51437d(0x3a3)](_0x1ec630)&&this['_logService'][_0x51437d(0x1ed)](_0x51437d(0x2e2),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1ee61f=_0x52a659([[_0x1ec630,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x51437d(0x33b)][_0x51437d(0x211)]}],[_0x1216d1,{'useClass':bt}],[_0x389b75,{'useClass':Tt}],[_0x3f56aa,{'useClass':Rt}],[_0x2249a7,{'useClass':Ot}],[nt],[It]],(_0x2ab825=this[_0x51437d(0x33b)])==null?void 0x0:_0x2ab825['override']);if(!((_0x550a7f=this['_config'])!=null&&_0x550a7f[_0x51437d(0x443)])){const _0x347484=_0x1ee61f[_0x51437d(0x349)](([_0x170598])=>_0x170598===ht);_0x347484!==-0x1&&_0x1ee61f[_0x51437d(0x496)](_0x347484,0x1);}_0xf91846(this[_0x51437d(0x398)],_0x1ee61f);}[_0x15a3f7(0x359)](){var _0x5d749d=_0x15a3f7,_0x1e75db,_0x3171ef,_0xae2aeb;this[_0x5d749d(0x398)][_0x5d749d(0x402)](_0x52d2f1)[_0x5d749d(0x29e)]({'priority':0x14,'interceptor':_0xd6ed39({'maxParallel':0x6})}),(_0x1e75db=this[_0x5d749d(0x33b)])!=null&&_0x1e75db['enableOfflineEditing']||(_0x3171ef=this[_0x5d749d(0x398)][_0x5d749d(0x402)](J,_0x2c67d4[_0x5d749d(0x37e)]))==null||_0x3171ef[_0x5d749d(0x2df)](),(_0xae2aeb=this[_0x5d749d(0x33b)])!=null&&_0xae2aeb[_0x5d749d(0x1e6)]&&_0x5729f4(this[_0x5d749d(0x398)],[[rt]]),_0x5729f4(this[_0x5d749d(0x398)],[[at],[nt],[ot]]);}};fr(Nt,'pluginName',vr),Nt=dr([_0x173448(_0x207d5c,_0x4cd951),mt(0x1,_0xa648c6),mt(0x2,_0x2b7a12(_0x59694f)),mt(0x3,_0x47f3d0)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|
1
|
+
var _0x3cab7a=_0x14df;(function(_0x2ecb19,_0x3d937a){var _0x586046=_0x14df,_0x4f9a3e=_0x2ecb19();while(!![]){try{var _0x4c429f=parseInt(_0x586046(0x3f1))/0x1+-parseInt(_0x586046(0x35f))/0x2+-parseInt(_0x586046(0x264))/0x3*(-parseInt(_0x586046(0x3a9))/0x4)+-parseInt(_0x586046(0x25f))/0x5*(parseInt(_0x586046(0x273))/0x6)+parseInt(_0x586046(0x35b))/0x7+parseInt(_0x586046(0x187))/0x8+-parseInt(_0x586046(0x191))/0x9*(-parseInt(_0x586046(0x298))/0xa);if(_0x4c429f===_0x3d937a)break;else _0x4f9a3e['push'](_0x4f9a3e['shift']());}catch(_0x521cf3){_0x4f9a3e['push'](_0x4f9a3e['shift']());}}}(_0x50ac,0x9f7d2));var Di=Object[_0x3cab7a(0x377)],Ui=(_0x431631,_0x324986,_0x26d412)=>_0x324986 in _0x431631?Di(_0x431631,_0x324986,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26d412}):_0x431631[_0x324986]=_0x26d412,N=(_0xf2c1a6,_0x262f37,_0x525df4)=>Ui(_0xf2c1a6,typeof _0x262f37!='symbol'?_0x262f37+'':_0x262f37,_0x525df4);import{createIdentifier as _0x455cfc,Inject as _0x55b2f7,Injector as _0x759029,IConfigService as _0x3254a5,ILogService as _0x199cf3,Disposable as _0x37beba,DisposableCollection as _0x2b0f55,toDisposable as _0x1d69d2,IUniverInstanceService as _0x3e2979,UserManagerService as _0x120b76,UniverInstanceType as _0x2910b0,LocaleService as _0x1ef260,Optional as _0x3c77b7,RxDisposable as _0x54f41b,Tools as _0x1643e0,Rectangle as _0x9dc992,ICommandService as _0x26d293,JSONX as _0x3ec294,CommandType as _0x56824c,IUndoRedoService as _0x2a9524,IPermissionService as _0x1d1510,sequenceExecute as _0x17ee76,Workbook as _0x136191,MentionType as _0x1a7908,isInternalEditorID as _0xb3f6fd,LocalUndoRedoService as _0x568416,IContextService as _0x252895,DependentOn as _0xb770f7,Plugin as _0x1df81d,merge as _0x90af1d,mergeOverrideWithDependencies as _0x419054,IAuthzIoService as _0x731963,IMentionIOService as _0x583042,registerDependencies as _0x308b38,Quantity as _0x3f316d,touchDependencies as _0x229bf9}from'@univerjs/core';function _0x50ac(){var _0x2df3c6=['SHOULD_CLOSE_CONN','send','asObservable','_HTTPService','sessionStatus','enableSingleActiveInstanceLock','format','_onCombEvent','?size=','_getUploadFileURL','error','_oKey','__esModule','SerializableCipher','_throwTelemetryCollaborationNewChangeset','_commandService','_handlerCallback','_incrementRevisionNumber','_clearTimeoutTimer','deepClone','url','indexOf','subscribe','key','_onOffline','onRemoteRej','\x0aAfter:\x20','LICENSE_EXPORT_SIZE_EXCEEDED','event$','40evSyOg','_clearRedo','UNAUTHENTICATED','getActiveSheet','loadOfflineData','_onConnectionOpen','JOIN_ROOM_PERMISSION_DENIED','onTransformState','HttpImport','getFocusedUnit','lib','onMissedChangesetFetched','getRandomValues','file','setShowComponents','getOwnPropertyDescriptor','append','People','UUID','iterations','[OfflineState]:\x20received\x20changeset.','_ENC_XFORM_MODE','fetchThroughInterceptors','_toggleOffline','EvpKDF','_createHandler','fetchMiss','objectType','emitEvent','_doProcessBlock','salt','hasOwnProperty','RECV','_collaborationTimeoutTimer','_getRedoStack','[CollaborationUndoRedoService]','values','localeService','updateOfflineData','override','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_sheetTransformSelectionsService','_createHmacHelper','_nRounds','/resources','_sender','actions','_unitID','parse','requestParams','YUUMI_URL_COL_OUT_OF_RANGE','target','/universer-api/user/session-ticket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ciphertext','/fetchmissing?from=','_transformStack','socketService','UNKNOWN_CODE','enableOfflineEditing','range','/collaborator','_timeoutTimer','commentUpdateEvent','_joinRoom','readInt32LE','updatePermissionPoint','eventID','joinEvent','_memberService','YUUMI_SUBSCRIPTION_NOT_FOUND','EMAIL_HAS_BEEN_BOUND','25903yTRnIq','blockSize','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getValue','INVALID_INVITE_CODE','title','INVITE_CODE_HAS_BEEN_UES','_sessions','createEncryptor','_collaborationPaused','byteLength','fetching\x20missing\x20changesets\x20from\x20','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UNRECOGNIZED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_revisionService','initWorkbookPermissionChange','getCollabEntity','session.room-permission-denied','_doReset','map','_minBufferSize','PasswordBasedCipher','createDecryptor','equals','changesets','loadDoc','[FetchMissState]','collabWebSocketUrl','FileId','objects','cmd','submit\x20changeset\x20error!','fromCollab','LIVESHARE_NEW_HOST','change$','HEARTBEAT','toString','YUUMI_ALL_TABLES_IS_INVALID','/unit/','TOO_MANY_REQUESTS','_hash','NOT_COLLAB','UNIVER_DOC','string','EMAIL_VERIFY_CODE_MISMATCH','_stopTelemetryCollaborationNewChangeset','location','src','AUTHZ_URL_KEY','_iv','setWaitCount','body','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','FETCH_MISSING','startTime','_socketMessageSubscription','reject','UNKNOWN_CMD','_reverseMap','refreshPermission','updateCollaborator','FETCH_MISS','encodeURIComponent','_initDependencies','subUnitId','keySize','onLocalMutation','includes','c1Prime','COMMENT_UPDATE','getCurrentRevOfUnit','dispose$','_registerDependencies','uploadFileServerUrl','open$','OTHER_CLIENT_EDITING','loadSheet','_onConnectionFailed','_entityInit$','univer-pro.collaboration-client.single-active-unit-service','_updateStatus','APPLY_REVISION_CONFILICT','method','PY_RUNTIME_SCRIPT_ERROR','SUCCUSS','loadUnitOfRevision','processBlock','session.join-failed','find','extend','collaboration-client.config','downloadEndpointUrl','msCrypto','UserProfileImg','randomBytes','_tryReconnect','offline','/object','post','readyForCollab','_getSignURL','objectID','_changesetSessionId','_exhaustRemoteChangesetQueue','_startCollaboration','authzUrl','_status$','list','_localeService','image/jpg','_eventService','OTHER_CLIENTS_EDITING','HELLO','_keyPriorReset','getTime','Error\x20on\x20receiving\x20event','liveShareOperation','getAllMembers','_snapshotServerService','_onRemoteRejected','SYNCED','revision','_replayCachedMutations','LIVESHARE_OPERATION','HmacSHA1','_emitMembers','join','COLLAB_WEB_SOCKET_URL','_resendWithTimeout','session','permissionRejEvent','_onRemoteChangeset','AES','HmacMD5','Decryptor','prototype','_rescheduleHeartbeat','getMember','MUTATION','_state','collaMsg','/block/','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','params','[CollaborationSessionService]','executeCommand','has','UNIVER_SLIDE','max','registerHTTPInterceptor','&assign=','_scheduleCompleteTimestamp','/-/object/-/batch_allowed','PERMISSION_REJ','_instanceService','_cipher','PENDING','saveImage','CLOSE_ROOM','routeKey','hasher','enableCollaboration','3155600TkPIkO','then','reduce','unitId','Undefined','BASE64','_telemetryService','_clearHeartbeatTimer','_doFinalize','_queuedRemoteChangesets','9UWcNIP','push','onlyLocal','conflict','baseRev','enableAuthServer','UNIVER_PROJECT','resend','type','disableLocalCache','status$','collaboration-client.local-cache-service','_getCurrentRevision','image/bmp','_getDownloadEndpointURL','unknown','SOCKET_FAILED_RETRY','resolve','_roomCreated$','reqId','POST','unsubscribe','collaboratorID','state$','_collaborationUIEventService','sheets','_mode','CBC','_socketService','_syncEditingCollabCursor','_collabSessionService','_collaborationSessionService','_clearScheduledTask','onMissingChangesets','update','_changesetReqId','COLLAB_SUBMIT_CHANGESET_URL','_shouldReportTelemetry','_handler','repeat','SNAPSHOT_INVALID_SNAPSHOT','getWorkbookSelections','_checkMissing','_decreaseWaiting','_unitInfo$','splice','_transformRemoteChangesetByStateCache','Hex','/object/','COMPLETION_FINISHED','APPLY_NON_SEQUENTIAL_REVISION','headers','LIVESHARE_REQUEST_HOST','_onRemoteACK','startsWith','GLOBAL_ROOMS_CNT_EXCEEDS','_createSocket','formatter','onRemoteAck','isArray','localCacheService','COMPRESS_MUTATION_APPLY','_transformSelections','members','NEW_CHANGESETS','YUUMI_AI_RUN_FAILED','action','UNIVER_COLLABORATION_CLIENT_PLUGIN','INVALID_ARGUMENT','get','abs','UnitEmbedded','resourceIDs','{fileID}','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Base64','_userManagerService','updatePermissionObjEvent','collabSubmitChangesetUrl','[CollaborationSession]','getDeserializedSheetBlock','_onUserLeave','substr','SEND_CHANGESET_TIMEOUT','create','incrementRevOfUnit','sigBytes','enc','set','transformChangesets','socket$','__creator','now','delete','ceil','getUnitType','decryptBlock','FAIL','withCredentials','/universer-api/snapshot','univer-pro.collaboration-client.network-condition.service','charCodeAt','data','onTransformRemoteChangesetByStateCache','_waitForHeartbeatResponse','subject','[PendingState]:\x20unhandled\x20univer\x20type:\x20','hostname','reverse','_undoRedoService','_onUserJoin','_parse','buffer','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_invKeySchedule','_waitCount','_xformMode','UnitSnapshot','_resendTimeout','CHANGESET_ACK','origin','_getSendChangesetTimeout','Utf8','_isPermissionRej','_sendHeartbeat','code','getCurrentSelections','csAckEvent','confirm','_onFetchMissResult','min','_change$','addHandlerCallback','ENSURE_SNAPSHOT_EXECUTION','_iKey','listCollaborators','getSheetId','onTransformSelections','transformStack\x20failed!','awaitingChangeset','COMPRESS_MUTATION_SEND','_initRequestHeader','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','snapshot','pad','_pendingMutations','auth.needGotoLoginAlert','filter','NoPadding','PERSON','LEAVE','interceptor','sin','algo','_undoStacks','onCommentUpdate','INVITE_CODE_REQUIRED','_imageSourceCache','reset','commentUpdate$','_telemetryInfo','onSyncEditingCollabCursor','image/jpeg','exports','pauseCollaboration','$super','roles','ALREADY_EXISTS','encode','_clearUndo','_DEC_XFORM_MODE','clone','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','univer-pro.collaboration-client-socket-service','size','_members','UNIVER_SHEET','_injector','stringify','awaiting_with_pending','CHANGESET_REVISION_CONFILICT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','init','_retryConnectingTimer','saveChangeset','dispose','forEach','JOINING','LOCAL_CACHE_INTERVAL','_retryCount','fromCharCode','SNAPSHOT_HAS_BEEN_REMOVED','loginUrlKey','Cipher','cfg','/universer-api/oidc/authpage','_nDataBytes','CHANGESET_SHOULD_RETRY','IDLE','\x0aCurrent:\x20','_type','_append','ERROR_EXCEED_SIZE','CipherParams','SOCKET_FAILED','Pkcs7','3151985zOyIHF','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','WECHAT_HAS_BEEN_BOUND','getMemberID','getTypeOfUnitDisposed$','64884KncBnp','JOIN_ROOM_NOT_EXISTS','_substituteUndoStack','OpenSSL','_localCacheService','MD5','requireSession','decrypt','toggleOffline','_onRemoteRetry','findIndex','_prevBlock','mixIn','liveShareNewHost','message$','6Hkohsi','_toggleOnline','onSendChangeset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Hasher','telemetry\x20info\x20is\x20not\x20initialized','apply','pipe','CONNECTOR_DATA_TOO_LARGE','x-univer-host','call','OFFLINE','_configService','_socket$','ERROR_IMAGE','disposeWithMe','HMAC','Encryptor','_remoteChangesetQueue','_submitChangeset','_univerInstanceService','NOT_FOUND','LICENSE_MAX_UNITS_EXCEEDED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_entities','_doCreateSocket','_sendHeartbeatTimer','createInstance','_hasher','_lockTransition','UNIVER_UNKNOWN','setCurrentUser','from','&to=','_replaceFileID','onTransformRemoteChangesetByIMECache','_applyRemoteChangeset','14280390NljlLK','_data','UNISCRIPT_RUN','not_collab','_event$','getImage','UPDATE_PERMISSION_OBJ','/universer-api/authz','execute','stopTime','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_acknowledgedAwaitingChangeset','_getCtorByUniverType','length','mode','USER_NOT_INVITED_CODE','LICENSE_IMPORT_SIZE_EXCEEDED','rev','close$','_key','session.room-cnt-exceeds','ONLINE','INVITE_CODE_ALREADY_BOUND','_removeRoom','_startTelemetryCollaborationNewChangeset','objectActions','_executeRemoteChangeset','allowed','sessionStatus$','updateMember','_unlockTransition','_candidateSocket','connection\x20error','[SyncedState]:\x20received\x20rejection.','focused$','save\x20fail\x20reason\x20is\x20','_clearLocalCache','getConfig','sendChangesetTimeout','_socket','unitId\x20is\x20not\x20found','updateCursorEvent','removeMember','c2Prime','collaborators','getCurrentUser','synced','memberID','_process','/universer-api/uniscript','status','function','_onConflict','[PendingState]:\x20received\x20acknowledgement.','onTransformIME','finalize','compute','_sessionStatus$','error$','_getAPIPrefix','state','MOBILE_VERIFY_CODE_MISMATCH','PERMISSION_DENIED','words','CHANGESET_REJ','SUBMIT_CHANGESET_TIMEOUT','\x20-\x20','SHA1','getTypeOfUnitAdded$','putCollaborators','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_singleActiveUnitService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','closeSession','editingUnit','_transitionLocked','_awaitingChangeset','awaiting','USERS_ENTER','failed\x20to\x20apply\x20missed\x20changesets!','_initMergeInterceptor','[OfflineState]:\x20received\x20rejection.','clear','reconnect','/universer-api/comb','_listenToNetworkCondition','BlockCipher','_getAPIPrefixPath','[OfflineState]:\x20received\x20acknowledgement.','CONFLICT','_updateState','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','MSG_FOR_ERROR','Latin1','Base','getUnitOnRev','_clearCollaborationTimeoutTimer','_state$','onStateChange','Malformed\x20UTF-8\x20data','roomInfos','_createHelper','SUBMIT_CHANGESET','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_commentUpdate$','clamp','/universer-api/file/{fileID}/sign-url','encrypt','LOGIN_URL_KEY','transformSelections','_commentService','online$','UNDEFINED','INGEST','__Key__','UPDATE_CURSOR','YUUMI_RATE_OVER_LIMIT','_keySchedule','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_initUnitPermissionChange','/-/object/list','snapshotServerUrl','OPTIONAL','selections','transformMutationsWithChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','YUUMI_NO_CUBOID_FOR_QUESTION','getUnitId','_transformIMECache','href','close','userID','/allowed','pluginName','_onJoinRoomEvent','LOGIN_FAILED','_roomMembers','_resendTimer','_compressMutationService','_httpService','getInterceptPoints','HttpExport','ivSize','YUUMI_ASYNCIO_CANCELLED','_networkConditionService','MOBILE_HAS_BEEN_BOUND','random','isPermissionRej','JOIN_ROOM_FAILED','session.room-not-exists','kdf','catch','_getLoginPath','pending','textRanges','_sendingTimer','_updateLocalCache','generateRandomId','uniscriptRunEvent','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/role','unit-cache-','_getUndoStack','_socketReady','session.room-full','sid','_doCryptBlock','compose','LIVESHARE_TERMINATE','put','default','csRejEvent','_substituteRedoStack','_logService','complete','Univer','floor','_createInitialStateImpl','USERS_LEAVE','signUrlServerUrl','_clearRetryConnectingTimer','capture','getSnapshotAPIPath','SNAPSHOT_SERVER_URL_KEY','toggleOnline','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onLocalMutation','concat','avatar','onload','_tryEnsureSocket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','result','Failed\x20to\x20update\x20permission\x20point','2188522GEoVTu','HEARTBEAT_INTERVAL','next','LIVESHARE_FETCH_OPERATIONS','2187310BuhJdA','_createInitialState','JOIN','PSEUDO_FETCH_MISSING_RESULT','onStarting','_init','crypto','NO_OTHER_CLIENTS_EDITING','originalMeta','WordArray','YUUMI_UNABLE_LOAD_URL','[CollaborationState]:\x20apply\x20error!','_transformService','add','YUUMI_CONNECTOR_URL_NOT_FOUND','appendMutation','onRemoteRetry','INTERNAL_ERROR','name','_transformRemoteChangesetByIMECache','BufferedBlockAlgorithm','_snapshotService','_map','mutations','defineProperty','saveSheetBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','AWAITING','_members$','_schedule','debug','m2Prime','_fetchMissChangesets','onRemoteChangeset','charAt','slice','_transformUndoredo','_permissionService','unitID','_config','createSocket','APPLY_DUPLICATED','socket\x20open.','JOIN_ROOM_FULL','createCollaborator'];_0x50ac=function(){return _0x2df3c6;};return _0x50ac();}import{Subject as _0x1a8f0b,merge as _0x7fed04,of as _0xca38d6,BehaviorSubject as _0x5962fa,takeUntil as _0xa6b77a,ReplaySubject as _0x57c0a,take as _0x133e4c,map as _0x161d84,shareReplay as _0x2434fa,firstValueFrom as _0x5cfd82,concatMap as _0x1c6b1b}from'rxjs';import{map as _0x2e0d3b,take as _0x3d88a2,filter as _0x43751c,delay as _0x45cfc6,takeUntil as _0xf50780}from'rxjs/operators';import{CollaborationEvent as _0x269d85,ISnapshotServerService as _0x1d7c36,parseChangesetToProtocol as _0x10c75a,ITransformService as _0x19b923,isTransformMutationsWithChangesetSuccess as _0x34722d,mapDocumentTypeToUniverType as _0x2ca3f8,RevisionService as _0x4b7a95,isTransformChangesetsSuccess as _0x144d63,CompressMutationService as _0x25efe2,parseProtocolChangeset as _0xa10cf7,uuidv4 as _0xcb2d56,SnapshotService as _0x145093,textEncoder as _0x156f58,b64DecodeUnicode as _0x5038d3,isTransformMutationsWithChangesetFailure as _0x3cc1c3,UniverCollaborationPlugin as _0x4522d4}from'@univerjs-pro/collaboration';import{HTTPService as _0x14d0e8,ISocketService as _0x4f6336,MergeInterceptorFactory as _0xfa6e3b,HTTPRequest as _0x1a38ca,UniverNetworkPlugin as _0xfc0f0c,ThresholdInterceptorFactory as _0x1280b3}from'@univerjs/network';import{ITelemetryService as _0x1b8e01}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x49d74e}from'@univerjs/docs';import{SheetsSelectionsService as _0x501590,SetSelectionsOperation as _0x56d288,InsertSheetMutation as _0x4a6f9a,EmptyMutation as _0x2b1079,WorkbookEditablePermission as _0x19961c,SheetPermissionInitController as _0x4a568e}from'@univerjs/sheets';import{ImageSourceType as _0x3913c5,ImageUploadStatusType as _0x2e56e2,IImageIoService as _0x2cd222}from'@univerjs/drawing';import{getGlobalObject as _0x3c65c1}from'@univerjs-pro/license';const fs=_0x3cab7a(0x350),vs=_0x3cab7a(0x1f4),ps='SNAPSHOT_URL_KEY',yr=_0x3cab7a(0x1e4),ms=0x7d0,gs=_0x3cab7a(0x164),Ss='ws://127.0.0.1:8000/universer-api/comb/connect',Nr=_0x3cab7a(0x3dd),Es=_0x3cab7a(0x35c),Is=0x7530,fi='HEARTBEAT_TIMEOUT',vi=0x4e20,Ts=0x4e20,Cs='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Dr=_0x3cab7a(0x24d),Ur=0x3e8,Os=_0x3cab7a(0x1b5),bs=_0x3cab7a(0x2ed),ys=_0x3cab7a(0x305),Ns=_0x3cab7a(0x254),Ar=_0x3cab7a(0x3de),wr=_0x3cab7a(0x2ca);var pi=(_0x449689=>(_0x449689[_0x449689[_0x3cab7a(0x309)]=0x0]=_0x3cab7a(0x309),_0x449689[_0x449689['OK']=0x1]='OK',_0x449689[_0x449689['INTERNAL_ERROR']=0x2]=_0x3cab7a(0x370),_0x449689[_0x449689[_0x3cab7a(0x2d7)]=0x3]=_0x3cab7a(0x2d7),_0x449689[_0x449689['NOT_FOUND']=0x4]=_0x3cab7a(0x288),_0x449689[_0x449689[_0x3cab7a(0x3ab)]=0x5]=_0x3cab7a(0x3ab),_0x449689[_0x449689[_0x3cab7a(0x238)]=0x6]=_0x3cab7a(0x238),_0x449689[_0x449689[_0x3cab7a(0x1d5)]=0x7]='INVALID_ARGUMENT',_0x449689[_0x449689['TOO_MANY_REQUESTS']=0x8]=_0x3cab7a(0x10c),_0x449689[_0x449689['COMPLETION_FINISHED']=0x9]=_0x3cab7a(0x1c2),_0x449689[_0x449689[_0x3cab7a(0x320)]=0xa]=_0x3cab7a(0x320),_0x449689[_0x449689[_0x3cab7a(0x2d6)]=0xb]=_0x3cab7a(0x2d6),_0x449689[_0x449689[_0x3cab7a(0x352)]=0xc]=_0x3cab7a(0x352),_0x449689[_0x449689[_0x3cab7a(0x111)]=0xd]=_0x3cab7a(0x111),_0x449689[_0x449689[_0x3cab7a(0x300)]=0xe]=_0x3cab7a(0x300),_0x449689[_0x449689[_0x3cab7a(0x245)]=0x1389]=_0x3cab7a(0x245),_0x449689[_0x449689[_0x3cab7a(0x1b9)]=0x1771]=_0x3cab7a(0x1b9),_0x449689[_0x449689['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3cab7a(0x250),_0x449689[_0x449689[_0x3cab7a(0x216)]=0x1773]=_0x3cab7a(0x216),_0x449689[_0x449689['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x449689[_0x449689[_0x3cab7a(0x1c3)]=0x1b5a]=_0x3cab7a(0x1c3),_0x449689[_0x449689[_0x3cab7a(0x136)]=0x1b5b]=_0x3cab7a(0x136),_0x449689[_0x449689['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x449689[_0x449689[_0x3cab7a(0x388)]=0x1b5d]=_0x3cab7a(0x388),_0x449689[_0x449689[_0x3cab7a(0x27b)]=0x1f41]=_0x3cab7a(0x27b),_0x449689[_0x449689[_0x3cab7a(0x289)]=0x2329]=_0x3cab7a(0x289),_0x449689[_0x449689[_0x3cab7a(0x260)]=0x232a]=_0x3cab7a(0x260),_0x449689[_0x449689[_0x3cab7a(0x2a9)]=0x232b]=_0x3cab7a(0x2a9),_0x449689[_0x449689[_0x3cab7a(0x3a7)]=0x232c]=_0x3cab7a(0x3a7),_0x449689[_0x449689['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x449689[_0x449689[_0x3cab7a(0x369)]=0x2711]=_0x3cab7a(0x369),_0x449689[_0x449689[_0x3cab7a(0x3db)]=0x2712]=_0x3cab7a(0x3db),_0x449689[_0x449689[_0x3cab7a(0x30d)]=0x2713]=_0x3cab7a(0x30d),_0x449689[_0x449689['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3cab7a(0x3ef),_0x449689[_0x449689[_0x3cab7a(0x317)]=0x271a]=_0x3cab7a(0x317),_0x449689[_0x449689[_0x3cab7a(0x328)]=0x271b]=_0x3cab7a(0x328),_0x449689[_0x449689[_0x3cab7a(0x3fd)]=0x271c]=_0x3cab7a(0x3fd),_0x449689[_0x449689[_0x3cab7a(0x10a)]=0x271d]=_0x3cab7a(0x10a),_0x449689[_0x449689['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x449689[_0x449689['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3cab7a(0x1d2),_0x449689[_0x449689[_0x3cab7a(0x36d)]=0x2720]=_0x3cab7a(0x36d),_0x449689[_0x449689[_0x3cab7a(0x138)]=0x2af9]=_0x3cab7a(0x138),_0x449689[_0x449689[_0x3cab7a(0x3f7)]=0x2ee1]=_0x3cab7a(0x3f7),_0x449689[_0x449689[_0x3cab7a(0x3f5)]=0x2ee2]=_0x3cab7a(0x3f5),_0x449689[_0x449689[_0x3cab7a(0x22d)]=0x2ee3]=_0x3cab7a(0x22d),_0x449689[_0x449689['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3cab7a(0x2a8),_0x449689[_0x449689['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3cab7a(0x2af),_0x449689[_0x449689[_0x3cab7a(0x261)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x449689[_0x449689['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3cab7a(0x32a),_0x449689[_0x449689[_0x3cab7a(0x3f0)]=0x32cb]=_0x3cab7a(0x3f0),_0x449689[_0x449689[_0x3cab7a(0x3fe)]=-0x1]=_0x3cab7a(0x3fe),_0x449689))(pi||{}),Z=(_0x3556c6=>(_0x3556c6[_0x3556c6['UNIVER_UNKNOWN']=0x0]=_0x3cab7a(0x291),_0x3556c6[_0x3556c6['UNIVER_DOC']=0x1]=_0x3cab7a(0x10f),_0x3556c6[_0x3556c6['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x3556c6[_0x3556c6[_0x3cab7a(0x178)]=0x3]='UNIVER_SLIDE',_0x3556c6[_0x3556c6['UNIVER_PROJECT']=0x4]=_0x3cab7a(0x197),_0x3556c6[_0x3556c6[_0x3cab7a(0x3fe)]=-0x1]=_0x3cab7a(0x3fe),_0x3556c6))(Z||{}),F=(_0x203139=>(_0x203139[_0x203139['UNKNOWN_CMD']=0x0]=_0x3cab7a(0x11e),_0x203139[_0x203139[_0x3cab7a(0x155)]=0x1]=_0x3cab7a(0x155),_0x203139[_0x203139[_0x3cab7a(0x361)]=0x2]=_0x3cab7a(0x361),_0x203139[_0x203139[_0x3cab7a(0x227)]=0x3]=_0x3cab7a(0x227),_0x203139[_0x203139[_0x3cab7a(0x30a)]=0x4]=_0x3cab7a(0x30a),_0x203139[_0x203139[_0x3cab7a(0x108)]=0x5]='HEARTBEAT',_0x203139[_0x203139[_0x3cab7a(0x3c9)]=0x6]=_0x3cab7a(0x3c9),_0x203139[_0x203139[_0x3cab7a(0x3fe)]=-0x1]=_0x3cab7a(0x3fe),_0x203139))(F||{}),me=(_0x5c0df2=>(_0x5c0df2[_0x5c0df2[_0x3cab7a(0x3e3)]=0x0]=_0x3cab7a(0x3e3),_0x5c0df2[_0x5c0df2['OK']=0x1]='OK',_0x5c0df2[_0x5c0df2[_0x3cab7a(0x1f2)]=0x2]='FAIL',_0x5c0df2[_0x5c0df2[_0x3cab7a(0x38a)]=0x3e9]=_0x3cab7a(0x38a),_0x5c0df2[_0x5c0df2[_0x3cab7a(0x265)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x5c0df2[_0x5c0df2[_0x3cab7a(0x3af)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5c0df2[_0x5c0df2['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x3cab7a(0x1c8),_0x5c0df2[_0x5c0df2[_0x3cab7a(0x3fe)]=-0x1]='UNRECOGNIZED',_0x5c0df2))(me||{}),mi=(_0x4900ef=>(_0x4900ef[_0x4900ef[_0x3cab7a(0x18b)]=0x0]=_0x3cab7a(0x18b),_0x4900ef[_0x4900ef[_0x3cab7a(0x3b1)]=0x1]='HttpImport',_0x4900ef[_0x4900ef['HttpExport']=0x2]=_0x3cab7a(0x326),_0x4900ef[_0x4900ef[_0x3cab7a(0x1d8)]=0x3]=_0x3cab7a(0x1d8),_0x4900ef[_0x4900ef['UnitSnapshot']=0x4]=_0x3cab7a(0x206),_0x4900ef[_0x4900ef[_0x3cab7a(0x142)]=0x5]=_0x3cab7a(0x142),_0x4900ef[_0x4900ef[_0x3cab7a(0x3fe)]=-0x1]='UNRECOGNIZED',_0x4900ef))(mi||{});const K=_0x3cab7a(0x13f),Ds={};var ne=(_0x4bad2=>(_0x4bad2[_0x3cab7a(0x130)]=_0x3cab7a(0x130),_0x4bad2['PERMISSION_DENIED']=_0x3cab7a(0x2d7),_0x4bad2['CONFLICT']=_0x3cab7a(0x2f2),_0x4bad2['CLOSE_ROOM']=_0x3cab7a(0x183),_0x4bad2[_0x3cab7a(0x32d)]='JOIN_ROOM_FAILED',_0x4bad2[_0x3cab7a(0x1a1)]=_0x3cab7a(0x1a1),_0x4bad2[_0x3cab7a(0x25d)]=_0x3cab7a(0x25d),_0x4bad2[_0x3cab7a(0x2da)]=_0x3cab7a(0x2da),_0x4bad2))(ne||{});class ve{constructor(){var _0x3572a3=_0x3cab7a;N(this,_0x3572a3(0x29c),new _0x1a8f0b()),N(this,_0x3572a3(0x3a8),this['_event$'][_0x3572a3(0x38e)]());}[_0x3cab7a(0x3c5)](_0x21066f){var _0x191a14=_0x3cab7a;this['_event$'][_0x191a14(0x35d)](_0x21066f);}}const Us=_0x455cfc(_0x3cab7a(0x1f5));function As(_0x4d9704){var _0x36076a=_0x3cab7a,_0x219a68,_0x4da40a,_0xcb0c15,_0x3186a3,_0x2e8a1d;const _0x1c38d4=_0x4d9704['data'],_0x4e0739=JSON[_0x36076a(0x3d9)](_0x1c38d4);switch(_0x4e0739['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0xec28bf=_0x4e0739['infoRsp'];return{..._0x4e0739,'data':_0xec28bf,'cmd':_0x4e0739[_0x36076a(0x103)]};}case F[_0x36076a(0x361)]:{const _0x3e3572=_0x4e0739['joinRsp'];return{..._0x4e0739,'data':_0x3e3572,'cmd':_0x4e0739[_0x36076a(0x103)]};}case F[_0x36076a(0x3c9)]:{const _0x2bf380=_0x4e0739[_0x36076a(0x171)];switch(_0x2bf380[_0x36076a(0x3ec)]){case _0x269d85['PERMISSION_REJ']:return{..._0x4e0739,'data':{..._0x2bf380,'data':(_0x219a68=_0x2bf380[_0x36076a(0x167)])==null?void 0x0:_0x219a68['cs']},'cmd':_0x4e0739['cmd']};case _0x269d85[_0x36076a(0x208)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':(_0x4da40a=_0x2bf380[_0x36076a(0x210)])==null?void 0x0:_0x4da40a['cs']},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85[_0x36076a(0x1d1)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':(_0xcb0c15=_0x2bf380['newCsEvent'])==null?void 0x0:_0xcb0c15['cs']},'cmd':_0x4e0739['cmd']};case _0x269d85[_0x36076a(0x2d9)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':(_0x3186a3=_0x2bf380[_0x36076a(0x344)])==null?void 0x0:_0x3186a3['cs']},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85[_0x36076a(0x256)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':(_0x2e8a1d=_0x2bf380['csShouldRetryEvent'])==null?void 0x0:_0x2e8a1d['cs']},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85[_0x36076a(0x30c)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380[_0x36076a(0x2c2)]},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85[_0x36076a(0x2e7)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380[_0x36076a(0x3ed)]},'cmd':_0x4e0739['cmd']};case _0x269d85[_0x36076a(0x34b)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380['leaveEvent']},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85['LIVESHARE_NEW_HOST']:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380['liveShareNewHost']},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85[_0x36076a(0x35e)]:case _0x269d85[_0x36076a(0x160)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380[_0x36076a(0x159)]},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85['LIVESHARE_TERMINATE']:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380[_0x36076a(0x271)]},'cmd':_0x4e0739['cmd']};case _0x269d85[_0x36076a(0x2f5)]:return{..._0x4e0739,'data':_0x2bf380,'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85[_0x36076a(0x12a)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380[_0x36076a(0x3e8)]},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85[_0x36076a(0x29e)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380[_0x36076a(0x1de)]},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85[_0x36076a(0x38c)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380['shouldCloseConn']},'cmd':_0x4e0739[_0x36076a(0x103)]};case _0x269d85[_0x36076a(0x29a)]:return{..._0x4e0739,'data':{..._0x2bf380,'data':_0x2bf380[_0x36076a(0x337)]},'cmd':_0x4e0739['cmd']};default:return _0x4e0739;}}default:return _0x4e0739;}}function ws(_0x5b3e44){var _0x19cab4=_0x3cab7a;switch(_0x5b3e44[_0x19cab4(0x103)]){case F[_0x19cab4(0x108)]:case F[_0x19cab4(0x155)]:return JSON[_0x19cab4(0x243)]({'cmd':_0x5b3e44[_0x19cab4(0x103)],'routeKey':_0x5b3e44[_0x19cab4(0x184)]});case F[_0x19cab4(0x30a)]:{let _0x35b256;switch(_0x5b3e44[_0x19cab4(0x1f7)][_0x19cab4(0x3ec)]){case _0x269d85[_0x19cab4(0x30c)]:{_0x35b256={'eventID':_0x269d85[_0x19cab4(0x30c)],'updateCursorEvent':_0x5b3e44['data'][_0x19cab4(0x1f7)]};break;}case _0x269d85['USERS_LEAVE']:{_0x35b256={'eventID':_0x269d85[_0x19cab4(0x34b)],'leaveEvent':_0x5b3e44[_0x19cab4(0x1f7)][_0x19cab4(0x1f7)]};break;}case _0x269d85[_0x19cab4(0x2e7)]:{_0x35b256={'eventID':_0x269d85[_0x19cab4(0x2e7)],'joinEvent':_0x5b3e44[_0x19cab4(0x1f7)][_0x19cab4(0x1f7)]};break;}case _0x269d85[_0x19cab4(0x106)]:{_0x35b256={'eventID':_0x269d85['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x5b3e44[_0x19cab4(0x1f7)]['data']};break;}case _0x269d85[_0x19cab4(0x160)]:{_0x35b256={'eventID':_0x269d85[_0x19cab4(0x160)],'liveShareOperation':_0x5b3e44[_0x19cab4(0x1f7)][_0x19cab4(0x1f7)]};break;}case _0x269d85[_0x19cab4(0x341)]:{_0x35b256={'eventID':_0x269d85['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5b3e44[_0x19cab4(0x1f7)][_0x19cab4(0x1f7)]};break;}case _0x269d85[_0x19cab4(0x1c5)]:{_0x35b256={'eventID':_0x269d85[_0x19cab4(0x1c5)],'liveShareRequestHost':_0x5b3e44[_0x19cab4(0x1f7)][_0x19cab4(0x1f7)]};break;}case _0x269d85[_0x19cab4(0x35e)]:{_0x35b256={'eventID':_0x269d85[_0x19cab4(0x35e)]};break;}default:_0x35b256={'eventID':_0x5b3e44[_0x19cab4(0x1f7)][_0x19cab4(0x3ec)]};}return JSON[_0x19cab4(0x243)]({'cmd':_0x5b3e44[_0x19cab4(0x103)],'routeKey':_0x5b3e44[_0x19cab4(0x184)],'collaMsg':_0x35b256});}case F[_0x19cab4(0x361)]:return JSON['stringify']({'cmd':_0x5b3e44[_0x19cab4(0x103)],'routeKey':_0x5b3e44['routeKey'],'joinReq':_0x5b3e44[_0x19cab4(0x1f7)]});case F[_0x19cab4(0x227)]:return JSON['stringify']({'cmd':_0x5b3e44[_0x19cab4(0x103)],'routeKey':_0x5b3e44[_0x19cab4(0x184)],'leaveReq':_0x5b3e44['data']});default:throw new Error(_0x19cab4(0x3ff));}}var Ps=Object[_0x3cab7a(0x3b8)],Ls=(_0x167ceb,_0x3d48b0,_0x1162cb,_0x26b1c1)=>{var _0x4ac8fb=_0x3cab7a;for(var _0x42b0a6=_0x26b1c1>0x1?void 0x0:_0x26b1c1?Ps(_0x3d48b0,_0x1162cb):_0x3d48b0,_0x5b428a=_0x167ceb[_0x4ac8fb(0x2a6)]-0x1,_0x87c09b;_0x5b428a>=0x0;_0x5b428a--)(_0x87c09b=_0x167ceb[_0x5b428a])&&(_0x42b0a6=_0x87c09b(_0x42b0a6)||_0x42b0a6);return _0x42b0a6;},Ue=(_0x836a6c,_0x3df372)=>(_0x5c4a09,_0x140398)=>_0x3df372(_0x5c4a09,_0x140398,_0x836a6c);const gi=_0x455cfc(_0x3cab7a(0x23e));function Ms(_0x39e7cf,_0x60b0c9,_0x3384cf){var _0x47cbdc=_0x3cab7a;return _0x39e7cf+'/'+_0x60b0c9+_0x47cbdc(0x10b)+_0x3384cf+'/new_changes';}let Ft=class extends _0x37beba{constructor(_0xb74ab4,_0x20ebda,_0x184205,_0xeb1886,_0x414a72){var _0x500420=_0x3cab7a;super(),this[_0x500420(0x242)]=_0xb74ab4,this[_0x500420(0x324)]=_0x20ebda,this[_0x500420(0x27f)]=_0x184205,this[_0x500420(0x346)]=_0xeb1886,this[_0x500420(0x15b)]=_0x414a72;}[_0x3cab7a(0x28c)](_0x2ba2fa){var _0xf04bfd=_0x3cab7a;const _0x7207c2=this[_0xf04bfd(0x242)][_0xf04bfd(0x1d6)](_0x4f6336);if(!_0x7207c2)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xde2f3e=_0x7207c2['createSocket'](_0x2ba2fa);if(!_0xde2f3e)throw new Error(_0xf04bfd(0x2a3));const _0x3f18f1=new _0x2b0f55(),_0x402dfe=new _0x1a8f0b();_0x3f18f1[_0xf04bfd(0x36c)](_0xde2f3e[_0xf04bfd(0x2ab)][_0xf04bfd(0x3a2)](_0x21e070=>_0x402dfe[_0xf04bfd(0x35d)](_0x21e070))),_0x3f18f1[_0xf04bfd(0x36c)](_0x1d69d2(()=>_0x402dfe[_0xf04bfd(0x347)]()));const _0x480513=new _0x1a8f0b();_0x3f18f1[_0xf04bfd(0x36c)](_0xde2f3e[_0xf04bfd(0x2d3)][_0xf04bfd(0x3a2)](_0x2bc295=>_0x480513[_0xf04bfd(0x35d)](_0x2bc295))),_0x3f18f1['add'](_0x1d69d2(()=>_0x480513['complete']()));const _0x305448=new _0x1a8f0b();_0x3f18f1[_0xf04bfd(0x36c)](_0xde2f3e['message$']['subscribe'](_0xe42af6=>{const _0x1daacb=As(_0xe42af6);_0x305448['next'](_0x1daacb);})),_0x3f18f1[_0xf04bfd(0x36c)](_0x1d69d2(()=>_0x305448[_0xf04bfd(0x347)]()));let _0x434821;const _0x543b67=()=>{var _0x1669ad=_0xf04bfd;_0x480513['next'](new Event(_0x1669ad(0x2b9))),_0x402dfe[_0x1669ad(0x35d)](new Event('connection\x20error')),_0x434821[_0x1669ad(0x31b)]();};return _0x434821={'memberID':'','close$':_0x402dfe[_0xf04bfd(0x38e)](),'error$':_0x480513[_0xf04bfd(0x38e)](),'open$':_0xde2f3e[_0xf04bfd(0x12f)],'message$':_0x305448[_0xf04bfd(0x38e)](),'send':_0x10a45f=>{var _0xd1ee87=_0xf04bfd;if(_0x10a45f['cmd']===F[_0xd1ee87(0x30a)]){if(_0x10a45f[_0xd1ee87(0x1f7)]['eventID']===_0x269d85['SUBMIT_CHANGESET']){this[_0xd1ee87(0x286)](_0x434821,_0x10a45f[_0xd1ee87(0x1f7)])[_0xd1ee87(0x330)](_0x336e13=>{var _0x2d05a1=_0xd1ee87;this['_logService'][_0x2d05a1(0x396)](_0x336e13),_0x543b67();});return;}if(_0x10a45f[_0xd1ee87(0x1f7)]['eventID']===_0x269d85[_0xd1ee87(0x11a)]){const _0x164203=_0x10a45f[_0xd1ee87(0x1f7)];this[_0xd1ee87(0x37f)](_0x164203)[_0xd1ee87(0x188)](_0x3337a3=>{var _0x14a496=_0xd1ee87;_0x305448[_0x14a496(0x35d)]({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0x164203[_0x14a496(0x1f7)]['unitID'],'routeType':'','data':{'eventID':_0x269d85['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3337a3}}});})['catch'](_0x2de719=>{this['_logService']['error'](_0x2de719),_0x543b67();});return;}}_0xde2f3e['send'](ws(_0x10a45f));},'close':()=>{var _0x2538d6=_0xf04bfd;_0xde2f3e[_0x2538d6(0x31b)](),_0x3f18f1[_0x2538d6(0x24a)]();}},_0x434821;}async[_0x3cab7a(0x286)](_0x368908,_0x3c182f){var _0x284973=_0x3cab7a,_0x5cdb26,_0x5c366e;const {unitType:_0x2ba13c,unitID:_0x4caf20,changeset:_0x1cb86f}=_0x3c182f[_0x284973(0x1f7)],_0x3615a3={'unitID':_0x4caf20,'memberID':_0x368908[_0x284973(0x2c8)],'type':_0x2ba13c,'changeset':_0x10c75a(_0x1cb86f)},_0x44b915=this['_configService']['getConfig'](Os),_0x2c2030=this['_configService'][_0x284973(0x2be)](K),_0xd54cb9=Ms((_0x5c366e=(_0x5cdb26=_0x2c2030==null?void 0x0:_0x2c2030[_0x284973(0x1df)])!=null?_0x5cdb26:_0x44b915)!=null?_0x5c366e:bs,_0x2ba13c,_0x4caf20);try{await this['_httpService']['post'](_0xd54cb9,{'body':_0x3615a3});}catch(_0x3b2db6){throw this[_0x284973(0x346)][_0x284973(0x396)](_0x284973(0x1e0),_0x284973(0x104)),_0x3b2db6;}}async[_0x3cab7a(0x37f)](_0x121059){var _0x11df5a=_0x3cab7a;const {unitID:_0x19f9c6,from:_0x16b077,to:_0x52f3ac,unitType:_0x9dc9f9}=_0x121059[_0x11df5a(0x1f7)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x19f9c6,'type':_0x9dc9f9,'from':_0x16b077,'to':_0x52f3ac}))['changesets'];}};Ft=Ls([Ue(0x0,_0x55b2f7(_0x759029)),Ue(0x1,_0x55b2f7(_0x14d0e8)),Ue(0x2,_0x3254a5),Ue(0x3,_0x199cf3),Ue(0x4,_0x1d7c36)],Ft);const xs='collaboration_new_changeset';function ks(_0x245189){var _0x116a6a=_0x3cab7a;return JSON['stringify'](_0x245189)[_0x116a6a(0x2a6)];}class Si{constructor(){var _0x50108f=_0x3cab7a;N(this,_0x50108f(0x301),new _0x1a8f0b()),N(this,_0x50108f(0x230),this[_0x50108f(0x301)]['asObservable']());}[_0x3cab7a(0x22c)](_0xb9b072){var _0x10c841=_0x3cab7a;this['_commentUpdate$'][_0x10c841(0x35d)](_0xb9b072);}}var $s=Object[_0x3cab7a(0x3b8)],Hs=(_0x45e181,_0x13c679,_0x40d579,_0x309452)=>{for(var _0x2197da=_0x309452>0x1?void 0x0:_0x309452?$s(_0x13c679,_0x40d579):_0x13c679,_0xc4ef05=_0x45e181['length']-0x1,_0x1e03b5;_0xc4ef05>=0x0;_0xc4ef05--)(_0x1e03b5=_0x45e181[_0xc4ef05])&&(_0x2197da=_0x1e03b5(_0x2197da)||_0x2197da);return _0x2197da;},Vt=(_0x45cb7b,_0x4b1458)=>(_0x49b6fc,_0x512497)=>_0x4b1458(_0x49b6fc,_0x512497,_0x45cb7b);let Pe=class extends _0x37beba{constructor(_0x3f1d19,_0x3a451a){var _0x418976=_0x3cab7a;super(),N(this,_0x418976(0x321),new Map()),N(this,_0x418976(0x1a3),new _0x1a8f0b()),(this[_0x418976(0x287)]=_0x3f1d19,this[_0x418976(0x1dd)]=_0x3a451a,this['disposeWithMe'](_0x7fed04(this[_0x418976(0x287)][_0x418976(0x263)](_0x2910b0['UNIVER_SHEET'])[_0x418976(0x27a)](_0x2e0d3b(_0xf65135=>_0xf65135[_0x418976(0x318)]())),this[_0x418976(0x287)]['getTypeOfUnitDisposed$'](_0x2910b0[_0x418976(0x10f)])[_0x418976(0x27a)](_0x2e0d3b(_0x3de55d=>_0x3de55d['getUnitId']())),this[_0x418976(0x287)][_0x418976(0x263)](_0x2910b0['UNIVER_SLIDE'])['pipe'](_0x2e0d3b(_0xf74380=>_0xf74380['getUnitId']())))[_0x418976(0x3a2)](_0x5eedd4=>this[_0x418976(0x2b0)](_0x5eedd4))));}['waitForRoom$'](_0x53f621){var _0x4ff32b=_0x3cab7a;return this[_0x4ff32b(0x321)][_0x4ff32b(0x177)](_0x53f621)?_0xca38d6(this[_0x4ff32b(0x321)][_0x4ff32b(0x1d6)](_0x53f621)):this[_0x4ff32b(0x1a3)]['pipe'](_0x2e0d3b(_0x8f9ec9=>{var _0x41761a=_0x4ff32b;if(_0x8f9ec9===_0x53f621)return this['_roomMembers'][_0x41761a(0x1d6)](_0x8f9ec9);}));}[_0x3cab7a(0x292)](_0x2fd26c){var _0x9c414f=_0x3cab7a;this['_userManagerService'][_0x9c414f(0x292)](_0x2fd26c);}[_0x3cab7a(0x2c6)](){var _0x46d14b=_0x3cab7a;return this[_0x46d14b(0x1dd)][_0x46d14b(0x2c6)]();}['updateMember'](_0x1d93a1,_0x5e8306){var _0x1d3183=_0x3cab7a;let _0x59fefd=this[_0x1d3183(0x321)][_0x1d3183(0x1d6)](_0x1d93a1);_0x59fefd||(_0x59fefd=new Bs(),this[_0x1d3183(0x321)]['set'](_0x1d93a1,_0x59fefd),this[_0x1d3183(0x1a3)][_0x1d3183(0x35d)](_0x1d93a1)),_0x59fefd[_0x1d3183(0x2b6)](_0x5e8306);}[_0x3cab7a(0x2c3)](_0x182840,_0x43d179){var _0x954452=_0x3cab7a;const _0x45e129=this[_0x954452(0x321)][_0x954452(0x1d6)](_0x182840);_0x45e129&&_0x45e129[_0x954452(0x2c3)](_0x43d179);}['getRoom'](_0x325b66){var _0x4bc1b9=_0x3cab7a;return this[_0x4bc1b9(0x321)][_0x4bc1b9(0x1d6)](_0x325b66);}[_0x3cab7a(0x16e)](_0x81771d,_0x3b4fbb){var _0x54202d=_0x3cab7a;const _0x2423e0=this['_roomMembers'][_0x54202d(0x1d6)](_0x81771d);if(_0x2423e0)return _0x2423e0['getMember'](_0x3b4fbb);}['_removeRoom'](_0x7f70a){var _0x2857c2=_0x3cab7a;const _0x44438c=this[_0x2857c2(0x321)][_0x2857c2(0x1d6)](_0x7f70a);_0x44438c&&(_0x44438c[_0x2857c2(0x24a)](),this['_roomMembers']['delete'](_0x7f70a));}[_0x3cab7a(0x24a)](){var _0x2ba88d=_0x3cab7a;this[_0x2ba88d(0x321)][_0x2ba88d(0x24b)](_0x529fed=>_0x529fed[_0x2ba88d(0x24a)]()),this[_0x2ba88d(0x321)][_0x2ba88d(0x2eb)](),this[_0x2ba88d(0x1a3)][_0x2ba88d(0x347)]();}};Pe=Hs([Vt(0x0,_0x3e2979),Vt(0x1,_0x55b2f7(_0x120b76))],Pe);class Bs extends _0x37beba{constructor(){var _0x3563b0=_0x3cab7a;super(...arguments),N(this,_0x3563b0(0x240),new Map()),N(this,_0x3563b0(0x37b),new _0x5962fa(this[_0x3563b0(0x240)])),N(this,'members$',this['_members$'][_0x3563b0(0x38e)]());}['dispose'](){var _0x231abd=_0x3cab7a;this[_0x231abd(0x240)][_0x231abd(0x2eb)]();}[_0x3cab7a(0x2b6)](_0x6771c){var _0x5e0d7d=_0x3cab7a;this['_members'][_0x5e0d7d(0x1e9)](_0x6771c[_0x5e0d7d(0x2c8)],_0x6771c),this['_emitMembers']();}[_0x3cab7a(0x2c3)](_0x4ebe3f){var _0x565b9e=_0x3cab7a;this[_0x565b9e(0x240)]['delete'](_0x4ebe3f);}[_0x3cab7a(0x16e)](_0x154b72){var _0x3cb118=_0x3cab7a;return this[_0x3cb118(0x240)][_0x3cb118(0x1d6)](_0x154b72);}[_0x3cab7a(0x15a)](){var _0x151b66=_0x3cab7a;return Array[_0x151b66(0x293)](this[_0x151b66(0x240)][_0x151b66(0x3cd)]());}[_0x3cab7a(0x162)](){var _0x320ccc=_0x3cab7a;this['_members$'][_0x320ccc(0x35d)](this[_0x320ccc(0x240)]);}}var js=Object[_0x3cab7a(0x3b8)],Fs=(_0x4f22ac,_0x40f7c3,_0x100af8,_0x26437e)=>{for(var _0x14ce92=_0x26437e>0x1?void 0x0:_0x26437e?js(_0x40f7c3,_0x100af8):_0x40f7c3,_0x330f5a=_0x4f22ac['length']-0x1,_0x2d78c0;_0x330f5a>=0x0;_0x330f5a--)(_0x2d78c0=_0x4f22ac[_0x330f5a])&&(_0x14ce92=_0x2d78c0(_0x14ce92)||_0x14ce92);return _0x14ce92;},pe=(_0x377e19,_0x26a99e)=>(_0x1f3d49,_0x54d87f)=>_0x26a99e(_0x1f3d49,_0x54d87f,_0x377e19),Se=(_0x516b45=>(_0x516b45[_0x516b45[_0x3cab7a(0x257)]=0x0]='IDLE',_0x516b45[_0x516b45[_0x3cab7a(0x24c)]=0x1]=_0x3cab7a(0x24c),_0x516b45[_0x516b45['OFFLINE']=0x2]=_0x3cab7a(0x27e),_0x516b45[_0x516b45['ONLINE']=0x3]=_0x3cab7a(0x2ae),_0x516b45))(Se||{});const Gt={[me[_0x3cab7a(0x1f2)]]:_0x3cab7a(0x13c),[me['JOIN_ROOM_FULL']]:_0x3cab7a(0x33d),[me[_0x3cab7a(0x265)]]:_0x3cab7a(0x32e),[me[_0x3cab7a(0x3af)]]:_0x3cab7a(0x403),[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3cab7a(0x2ad)};let gt=class extends _0x54f41b{constructor(_0x2d43b2,_0x5688ec,_0x1dbc1d,_0x4a95fe,_0x33c73e,_0x672f5b,_0x59608e,_0x57c63d,_0x2bb23f){var _0x210d8f=_0x3cab7a;super(),N(this,_0x210d8f(0x2d2),new _0x5962fa(0x0)),N(this,_0x210d8f(0x2b5),this[_0x210d8f(0x2d2)][_0x210d8f(0x38e)]()),N(this,_0x210d8f(0x29c),new _0x1a8f0b()),N(this,_0x210d8f(0x3a8),this[_0x210d8f(0x29c)][_0x210d8f(0x38e)]()),N(this,_0x210d8f(0x2c0)),N(this,_0x210d8f(0x11c)),N(this,_0x210d8f(0x3ca)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x210d8f(0x231),null),(this[_0x210d8f(0x3d8)]=_0x2d43b2,this[_0x210d8f(0x346)]=_0x1dbc1d,this['_configService']=_0x4a95fe,this[_0x210d8f(0x151)]=_0x33c73e,this[_0x210d8f(0x3ee)]=_0x672f5b,this[_0x210d8f(0x307)]=_0x59608e,this[_0x210d8f(0x1a9)]=_0x57c63d,this[_0x210d8f(0x18d)]=_0x2bb23f,this[_0x210d8f(0x1b6)]=!!this[_0x210d8f(0x18d)],_0x5688ec[_0x210d8f(0x27a)](_0xa6b77a(this['dispose$']))[_0x210d8f(0x3a2)](_0x5aca7d=>{var _0x2da63d=_0x210d8f,_0xa0dd7;typeof _0x5aca7d>'u'||(this[_0x2da63d(0x2c0)]=_0x5aca7d,_0x5aca7d?(this[_0x2da63d(0x3e9)](_0x5aca7d),this['_socketMessageSubscription']=_0x5aca7d[_0x2da63d(0x272)][_0x2da63d(0x3a2)](_0x17b680=>{var _0x536476=_0x2da63d;_0x17b680[_0x536476(0x184)]===this['_unitID']&&this['_onCombEvent'](_0x17b680);})):(this[_0x2da63d(0x39a)](),this[_0x2da63d(0x2d2)][_0x2da63d(0x35d)](0x2),(_0xa0dd7=this['_socketMessageSubscription'])==null||_0xa0dd7[_0x2da63d(0x1a6)](),this[_0x2da63d(0x11c)]=null));}));}get[_0x3cab7a(0x390)](){var _0x3f266e=_0x3cab7a;return this[_0x3f266e(0x2d2)]['getValue']();}[_0x3cab7a(0x262)](){var _0x5cb15a=_0x3cab7a,_0x10b356,_0x189ac9;return(_0x189ac9=(_0x10b356=this[_0x5cb15a(0x2c0)])==null?void 0x0:_0x10b356[_0x5cb15a(0x2c8)])!=null?_0x189ac9:null;}[_0x3cab7a(0x24a)](){var _0x2c8ffa=_0x3cab7a;super[_0x2c8ffa(0x24a)](),this[_0x2c8ffa(0x12c)][_0x2c8ffa(0x35d)](),this[_0x2c8ffa(0x12c)]['complete']();}[_0x3cab7a(0x31b)](){var _0x4ef30e=_0x3cab7a,_0x18f968,_0xafdce1;this[_0x4ef30e(0x39a)](),(_0x18f968=this[_0x4ef30e(0x2c0)])==null||_0x18f968[_0x4ef30e(0x38d)]({'cmd':F[_0x4ef30e(0x227)],'data':{'roomID':this[_0x4ef30e(0x3d8)]}}),(_0xafdce1=this[_0x4ef30e(0x2c0)])==null||_0xafdce1[_0x4ef30e(0x31b)](),this[_0x4ef30e(0x29c)][_0x4ef30e(0x347)](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x3cab7a(0x393)](_0x194415){var _0x2b0640=_0x3cab7a;_0x194415[_0x2b0640(0x103)]===F['JOIN']?this[_0x2b0640(0x31f)](_0x194415):_0x194415[_0x2b0640(0x103)]===F['RECV']&&this['_onRecvEvent'](_0x194415);}[_0x3cab7a(0x3e9)](_0x3503bb){var _0x5ea7cb=_0x3cab7a;this[_0x5ea7cb(0x2d2)]['next'](0x1),_0x3503bb[_0x5ea7cb(0x38d)]({'cmd':F[_0x5ea7cb(0x361)],'routeKey':this[_0x5ea7cb(0x3d8)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x3cab7a(0x31f)](_0x102aef){var _0x900216=_0x3cab7a,_0x339520;if(_0x102aef[_0x900216(0x20e)]in Gt){this['_collaborationUIEventService'][_0x900216(0x3c5)]({'id':ne[_0x900216(0x32d)],'data':Gt[_0x102aef[_0x900216(0x20e)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x900216(0x2d2)][_0x900216(0x35d)](0x3);const _0xb00fac=(_0x339520=_0x102aef[_0x900216(0x1f7)][_0x900216(0x2fd)][this[_0x900216(0x3d8)]])==null?void 0x0:_0x339520[_0x900216(0x1d0)];_0xb00fac&&_0xb00fac['forEach'](_0x227156=>this[_0x900216(0x3ee)][_0x900216(0x2b6)](this[_0x900216(0x3d8)],_0x227156));}['_onRecvEvent'](_0x5c8a66){var _0x3a0f09=_0x3cab7a;try{const _0x5dfa87=_0x5c8a66[_0x3a0f09(0x1f7)];switch(_0x5dfa87[_0x3a0f09(0x3ec)]){case _0x269d85[_0x3a0f09(0x2e7)]:this[_0x3a0f09(0x1ff)](_0x5dfa87),this[_0x3a0f09(0x29c)][_0x3a0f09(0x35d)](_0x5dfa87);break;case _0x269d85['USERS_LEAVE']:this['_onUserLeave'](_0x5dfa87),this['_event$'][_0x3a0f09(0x35d)](_0x5dfa87);break;case _0x269d85[_0x3a0f09(0x208)]:case _0x269d85['CHANGESET_SHOULD_RETRY']:this[_0x3a0f09(0x112)](),this['_clearCollaborationTimeoutTimer'](),this[_0x3a0f09(0x29c)][_0x3a0f09(0x35d)](_0x5dfa87);break;case _0x269d85[_0x3a0f09(0x2f5)]:this['_logService'][_0x3a0f09(0x396)](_0x3a0f09(0x2bc)+JSON[_0x3a0f09(0x243)](_0x5dfa87)),this[_0x3a0f09(0x29c)]['next'](_0x5dfa87);break;case _0x269d85[_0x3a0f09(0x12a)]:this[_0x3a0f09(0x307)]['onCommentUpdate'](_0x5dfa87[_0x3a0f09(0x1f7)]),this[_0x3a0f09(0x29c)][_0x3a0f09(0x35d)](_0x5dfa87);break;default:this[_0x3a0f09(0x29c)][_0x3a0f09(0x35d)](_0x5dfa87);}}catch(_0x2a3751){this[_0x3a0f09(0x346)][_0x3a0f09(0x396)](_0x2a3751,_0x5c8a66);}}[_0x3cab7a(0x1ff)](_0x48dd12){var _0x5d6420=_0x3cab7a;this[_0x5d6420(0x3ee)][_0x5d6420(0x2b6)](this[_0x5d6420(0x3d8)],_0x48dd12[_0x5d6420(0x1f7)]);}[_0x3cab7a(0x1e2)](_0xc8bd08){var _0x46fcb0=_0x3cab7a;this[_0x46fcb0(0x3ee)][_0x46fcb0(0x2c3)](this[_0x46fcb0(0x3d8)],_0xc8bd08[_0x46fcb0(0x1f7)][_0x46fcb0(0x2c8)]);}async[_0x3cab7a(0x38d)](_0x5425d8,_0x2ae523){var _0x17ce76=_0x3cab7a;if(this[_0x17ce76(0x390)]!==0x3||!this[_0x17ce76(0x2c0)])throw new Error(_0x17ce76(0x2f4));try{_0x5425d8['eventID']===_0x269d85[_0x17ce76(0x2ff)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x17ce76(0x2b1)](_0x5425d8)),this[_0x17ce76(0x2c0)][_0x17ce76(0x38d)]({'cmd':F[_0x17ce76(0x30a)],'routeKey':_0x2ae523,'routeType':'','data':_0x5425d8});}catch(_0x2d2987){this[_0x17ce76(0x346)][_0x17ce76(0x396)](_0x2d2987);}}['_scheduleCollaborationTimeoutTimer'](){var _0x2c6eb5=_0x3cab7a,_0x454c2d;this[_0x2c6eb5(0x3ca)]=setTimeout(()=>{var _0x447117=_0x2c6eb5;this[_0x447117(0x3ca)]=null,this[_0x447117(0x1a9)][_0x447117(0x3c5)]({'id':ne[_0x447117(0x2da)]});},(_0x454c2d=this[_0x2c6eb5(0x27f)]['getConfig'](fi))!=null?_0x454c2d:vi);}[_0x3cab7a(0x2f9)](){var _0x87636f=_0x3cab7a;this[_0x87636f(0x3ca)]&&(clearTimeout(this[_0x87636f(0x3ca)]),this[_0x87636f(0x3ca)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x3089ac){var _0x14fa8d=_0x3cab7a;if(!this['_shouldReportTelemetry'])return;const {data:_0x1a1c62}=_0x3089ac,{unitID:_0x2ee567,changeset:_0x3b9d87}=_0x1a1c62,{mutations:_0x4ed5f2,type:_0x35dbae}=_0x3b9d87;this[_0x14fa8d(0x231)]={'unitId':_0x2ee567,'type':_0x35dbae,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ks(_0x4ed5f2)};}[_0x3cab7a(0x112)](){var _0x4c0785=_0x3cab7a;if(this[_0x4c0785(0x1b6)]){if(!this['_telemetryInfo']){this[_0x4c0785(0x346)][_0x4c0785(0x396)](_0x4c0785(0x1e0),_0x4c0785(0x278));return;}this[_0x4c0785(0x231)][_0x4c0785(0x2a1)]=performance[_0x4c0785(0x1ed)](),this[_0x4c0785(0x231)]['duration']=this[_0x4c0785(0x231)][_0x4c0785(0x2a1)]-this[_0x4c0785(0x231)][_0x4c0785(0x11b)],this[_0x4c0785(0x18d)][_0x4c0785(0x34e)](xs,this['_telemetryInfo']),this[_0x4c0785(0x231)]=null;}}[_0x3cab7a(0x39a)](){var _0x2e557f=_0x3cab7a;this[_0x2e557f(0x231)]=null;}};gt=Fs([pe(0x2,_0x199cf3),pe(0x3,_0x3254a5),pe(0x4,_0x55b2f7(_0x1ef260)),pe(0x5,_0x55b2f7(Pe)),pe(0x6,_0x55b2f7(Si)),pe(0x7,_0x55b2f7(ve)),pe(0x8,_0x3c77b7(_0x1b8e01))],gt);var Vs=Object[_0x3cab7a(0x3b8)],Gs=(_0x234ab8,_0x174b36,_0x3ba85d,_0x3e6e53)=>{var _0x249295=_0x3cab7a;for(var _0x168574=_0x3e6e53>0x1?void 0x0:_0x3e6e53?Vs(_0x174b36,_0x3ba85d):_0x174b36,_0x112baa=_0x234ab8[_0x249295(0x2a6)]-0x1,_0x19ccc1;_0x112baa>=0x0;_0x112baa--)(_0x19ccc1=_0x234ab8[_0x112baa])&&(_0x168574=_0x19ccc1(_0x168574)||_0x168574);return _0x168574;},Re=(_0x330c11,_0x9b5277)=>(_0x1b4c64,_0x4b5f09)=>_0x9b5277(_0x1b4c64,_0x4b5f09,_0x330c11);let Le=class extends _0x37beba{constructor(_0x3d0e73,_0x1500dc,_0x132e70,_0x2abc97,_0x3447da,_0x4ce4ef){var _0x372f75=_0x3cab7a;super(),N(this,_0x372f75(0x280),new _0x5962fa(void 0x0)),N(this,_0x372f75(0x1eb),this[_0x372f75(0x280)][_0x372f75(0x38e)]()),N(this,_0x372f75(0x2b8),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x5962fa(Se[_0x372f75(0x257)])),N(this,_0x372f75(0x19b),this[_0x372f75(0x14f)][_0x372f75(0x38e)]()),N(this,_0x372f75(0x33c),!0x1),N(this,_0x372f75(0x248)),N(this,_0x372f75(0x24e),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x372f75(0x3e7)),(this['_injector']=_0x3d0e73,this['_logService']=_0x1500dc,this['_configService']=_0x132e70,this[_0x372f75(0x1ad)]=_0x2abc97,this[_0x372f75(0x1a9)]=_0x3447da,this[_0x372f75(0x329)]=_0x4ce4ef,this[_0x372f75(0x2ee)]());}get[_0x3cab7a(0x2c0)](){var _0x3ad052=_0x3cab7a;return this[_0x3ad052(0x280)][_0x3ad052(0x3f4)]();}[_0x3cab7a(0x2ee)](){var _0x506a50=_0x3cab7a;this[_0x506a50(0x329)]&&this[_0x506a50(0x282)](this['_networkConditionService'][_0x506a50(0x308)][_0x506a50(0x3a2)](_0xef924e=>{_0xef924e&&!this['_socket']&&this['reconnect'](),_0xef924e||this['_onOffline']();}));}['dispose'](){var _0x2bb2f3=_0x3cab7a;super[_0x2bb2f3(0x24a)](),this[_0x2bb2f3(0x34d)](),this[_0x2bb2f3(0x39e)](),this[_0x2bb2f3(0x18e)](),this[_0x2bb2f3(0x3f8)][_0x2bb2f3(0x24b)](_0x510d17=>_0x510d17[_0x2bb2f3(0x24a)]()),this['_sessions'][_0x2bb2f3(0x2eb)](),this[_0x2bb2f3(0x14f)][_0x2bb2f3(0x347)]();}async[_0x3cab7a(0x26a)](_0xe5bcc2){var _0x157519=_0x3cab7a;if(this[_0x157519(0x3f8)]['has'](_0xe5bcc2))return this['_sessions'][_0x157519(0x1d6)](_0xe5bcc2);this[_0x157519(0x357)]();const _0x4a0a91=this[_0x157519(0x242)][_0x157519(0x28e)](gt,_0xe5bcc2,this[_0x157519(0x280)]['asObservable']());return this[_0x157519(0x3f8)]['set'](_0xe5bcc2,_0x4a0a91),_0x4a0a91;}[_0x3cab7a(0x2e2)](_0x2537d8){var _0x4eefd4=_0x3cab7a,_0xc12387;const _0x38b530=this[_0x4eefd4(0x3f8)][_0x4eefd4(0x1d6)](_0x2537d8);_0x38b530&&(this[_0x4eefd4(0x3f8)][_0x4eefd4(0x1ee)](_0x2537d8),_0x38b530[_0x4eefd4(0x31b)]()),this[_0x4eefd4(0x3f8)]['size']||(_0xc12387=this[_0x4eefd4(0x2c0)])==null||_0xc12387[_0x4eefd4(0x31b)]();}[_0x3cab7a(0x2ec)](){var _0x290c63=_0x3cab7a;this['_retryCount']=0x0,this[_0x290c63(0x34d)](),this[_0x290c63(0x144)]();}[_0x3cab7a(0x34d)](){var _0x42bcab=_0x3cab7a;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x42bcab(0x248)]),this['_retryConnectingTimer']=null);}async[_0x3cab7a(0x1c9)](){var _0x22c1fa=_0x3cab7a,_0x38c691,_0x144a75;const _0x53370e=this[_0x22c1fa(0x27f)][_0x22c1fa(0x2be)](gs),_0x3bb27b=this[_0x22c1fa(0x27f)]['getConfig'](K),_0x441ff3=(_0x144a75=(_0x38c691=_0x3bb27b==null?void 0x0:_0x3bb27b[_0x22c1fa(0x40d)])!=null?_0x38c691:_0x53370e)!=null?_0x144a75:Ss,_0x151364=await this[_0x22c1fa(0x1ad)][_0x22c1fa(0x387)](_0x441ff3);return this['_candidateSocket']=_0x151364,_0x151364;}async[_0x3cab7a(0x357)](){var _0x32a1be=_0x3cab7a,_0x128567,_0x4e56a3;try{const _0x4422d9=(_0x4e56a3=(_0x128567=this[_0x32a1be(0x2c0)])!=null?_0x128567:this[_0x32a1be(0x2b8)])!=null?_0x4e56a3:await this['_createSocket']();if(_0x4422d9){const _0x206c81=_0x4422d9[_0x32a1be(0x38d)];_0x4422d9[_0x32a1be(0x38d)]=_0x41fcc8=>(this[_0x32a1be(0x16d)](),_0x206c81[_0x32a1be(0x279)](_0x4422d9,[_0x41fcc8])),_0x4422d9[_0x32a1be(0x272)][_0x32a1be(0x3a2)](_0x2611fa=>this['_onMessage'](_0x4422d9,_0x2611fa)),_0x4422d9['error$'][_0x32a1be(0x27a)](_0x3d88a2(0x1))[_0x32a1be(0x3a2)](_0x497286=>this[_0x32a1be(0x346)][_0x32a1be(0x396)]('[CollaborationSessionService]:\x20socket\x20error',_0x497286)),_0x4422d9[_0x32a1be(0x12f)][_0x32a1be(0x27a)](_0x3d88a2(0x1))[_0x32a1be(0x3a2)](()=>{var _0x11068e=_0x32a1be;this[_0x11068e(0x3ae)](_0x4422d9);}),_0x4422d9[_0x32a1be(0x2ab)]['pipe'](_0x3d88a2(0x1))[_0x32a1be(0x3a2)](_0x522ced=>{var _0x21cd22=_0x32a1be;this[_0x21cd22(0x346)][_0x21cd22(0x37d)](_0x21cd22(0x175),'socket\x20close',_0x522ced),this[_0x21cd22(0x132)]();});}}catch(_0x4e8355){this[_0x32a1be(0x346)]['error'](_0x4e8355),this[_0x32a1be(0x132)]();}}[_0x3cab7a(0x3ae)](_0x590198){var _0x1ee360=_0x3cab7a;this['_logService'][_0x1ee360(0x37d)](_0x1ee360(0x175),_0x1ee360(0x389)),_0x590198['send']({'cmd':F[_0x1ee360(0x155)]}),this[_0x1ee360(0x16d)]();}['_onOffline'](){var _0x5ed56a=_0x3cab7a;this[_0x5ed56a(0x33c)]=!0x1,this['_candidateSocket']=null,this[_0x5ed56a(0x14f)][_0x5ed56a(0x35d)](Se['OFFLINE']),this[_0x5ed56a(0x280)]['next'](null),this['_clearTimeoutTimer'](),this[_0x5ed56a(0x18e)]();}[_0x3cab7a(0x132)](){var _0x1c1665=_0x3cab7a,_0x1d7cac;this[_0x1c1665(0x3a4)](),this[_0x1c1665(0x24e)]<((_0x1d7cac=this[_0x1c1665(0x27f)][_0x1c1665(0x2be)](Cs))!=null?_0x1d7cac:Rs)?(this[_0x1c1665(0x1a9)]['emitEvent']({'id':ne[_0x1c1665(0x1a1)]}),this[_0x1c1665(0x144)]()):this[_0x1c1665(0x1a9)][_0x1c1665(0x3c5)]({'id':ne[_0x1c1665(0x25d)]});}['_tryReconnect'](){var _0x328b0d=_0x3cab7a,_0x49191d;const _0x407972=this[_0x328b0d(0x24e)],_0x5d1574=this[_0x328b0d(0x27f)][_0x328b0d(0x2be)](K),_0x3cf7d1=_0x407972===0x0?0x0:((_0x49191d=_0x5d1574==null?void 0x0:_0x5d1574['retryConnectingInterval'])!=null?_0x49191d:Ts)*0x2**_0x407972;this[_0x328b0d(0x248)]=setTimeout(()=>{var _0x27f0a8=_0x328b0d;clearTimeout(this[_0x27f0a8(0x248)]),this[_0x27f0a8(0x248)]=null,this[_0x27f0a8(0x357)]();},_0x3cf7d1),this['_retryCount']+=0x1;}['_onMessage'](_0x267e6e,_0x5d8f83){var _0x362c90=_0x3cab7a;const {cmd:_0x1fc3f7}=_0x5d8f83;_0x1fc3f7===F['HELLO']&&!this['_socketReady']&&(_0x267e6e[_0x362c90(0x2c8)]=_0x5d8f83[_0x362c90(0x1f7)][_0x362c90(0x2c8)],this[_0x362c90(0x280)][_0x362c90(0x35d)](_0x267e6e),this[_0x362c90(0x14f)][_0x362c90(0x35d)](Se['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x1fc3f7===F[_0x362c90(0x108)]&&this[_0x362c90(0x39e)](),this['_rescheduleHeartbeat']();}[_0x3cab7a(0x16d)](){var _0x557423=_0x3cab7a,_0x1a52b8;this[_0x557423(0x18e)](),this[_0x557423(0x28d)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1a52b8=this[_0x557423(0x27f)][_0x557423(0x2be)](Es))!=null?_0x1a52b8:Is);}[_0x3cab7a(0x20d)](){var _0x33657=_0x3cab7a;this[_0x33657(0x2c0)][_0x33657(0x38d)]({'cmd':F[_0x33657(0x108)]}),this[_0x33657(0x1f9)]();}[_0x3cab7a(0x1f9)](){var _0x5d7b7f=_0x3cab7a,_0x56fad6;this[_0x5d7b7f(0x3e7)]=setTimeout(()=>this[_0x5d7b7f(0x132)](),(_0x56fad6=this[_0x5d7b7f(0x27f)][_0x5d7b7f(0x2be)](fi))!=null?_0x56fad6:vi);}[_0x3cab7a(0x18e)](){var _0x3042df=_0x3cab7a;this[_0x3042df(0x28d)]!=null&&(clearTimeout(this[_0x3042df(0x28d)]),this[_0x3042df(0x28d)]=null);}[_0x3cab7a(0x39e)](){var _0x8e4353=_0x3cab7a;this[_0x8e4353(0x3e7)]!=null&&(clearTimeout(this[_0x8e4353(0x3e7)]),this[_0x8e4353(0x3e7)]=null);}};Le=Gs([Re(0x0,_0x55b2f7(_0x759029)),Re(0x1,_0x199cf3),Re(0x2,_0x3254a5),Re(0x3,gi),Re(0x4,_0x55b2f7(ve)),Re(0x5,_0x3c77b7(Us))],Le);const J=_0x455cfc(_0x3cab7a(0x19c));function Pr(_0x28a748){var _0x3646d8=_0x3cab7a;return _0x3646d8(0x33a)+_0x28a748;}var Ys=Object[_0x3cab7a(0x3b8)],Ws=(_0x4ecb28,_0x4e961c,_0x26ad04,_0x4c34e5)=>{var _0x1855d8=_0x3cab7a;for(var _0x258020=_0x4c34e5>0x1?void 0x0:_0x4c34e5?Ys(_0x4e961c,_0x26ad04):_0x4e961c,_0x2e0539=_0x4ecb28[_0x1855d8(0x2a6)]-0x1,_0x3bab7e;_0x2e0539>=0x0;_0x2e0539--)(_0x3bab7e=_0x4ecb28[_0x2e0539])&&(_0x258020=_0x3bab7e(_0x258020)||_0x258020);return _0x258020;},ut=(_0x412cb7,_0x1a1b76)=>(_0xaa3d30,_0x62b321)=>_0x1a1b76(_0xaa3d30,_0x62b321,_0x412cb7);function Ks(_0x53382f){var _0x15a878=_0x3cab7a;const {unitID:_0x2eedc1,mutations:_0x2028a1}=_0x53382f;return{'unitId':_0x2eedc1,'subUnitId':_0x2028a1[0x0][_0x15a878(0x174)][_0x15a878(0x125)]};}let it=class{constructor(_0x5b4299,_0xad6b80,_0x5bdb9c){this['_injector']=_0x5b4299,this['_transformService']=_0xad6b80,this['_instanceService']=_0x5bdb9c;}[_0x3cab7a(0x306)](_0x4f2f00){var _0x316934=_0x3cab7a,_0x2f801f,_0x5ec62e,_0x44f747,_0x13540b;const _0x5484a7=this['_injector'][_0x316934(0x1d6)](_0x501590),{unitId:_0x306c38,subUnitId:_0x50ab3d}=Ks(_0x4f2f00),_0x334284=_0x5484a7==null?void 0x0:_0x5484a7[_0x316934(0x1ba)](_0x306c38)[_0x316934(0x20f)](),_0x57a9bb=(_0x5ec62e=(_0x2f801f=this[_0x316934(0x17f)]['getUnit'](_0x306c38))==null?void 0x0:_0x2f801f[_0x316934(0x3ac)]())==null?void 0x0:_0x5ec62e[_0x316934(0x219)]();if(_0x334284[_0x316934(0x2a6)]===0x0||!_0x306c38||!_0x50ab3d)return;const _0x2a600a=[{'id':_0x56d288['id'],'params':{'unitId':_0x306c38,'subUnitId':_0x57a9bb,'selections':_0x1643e0[_0x316934(0x39f)](_0x334284)}}],_0x32c1f=this[_0x316934(0x36b)][_0x316934(0x315)](_0x4f2f00,_0x2a600a);if(!_0x34722d(_0x32c1f))throw _0x32c1f['error'];const _0x1940c9=(_0x13540b=(_0x44f747=_0x32c1f[_0x316934(0x37e)][0x0])==null?void 0x0:_0x44f747[_0x316934(0x174)])==null?void 0x0:_0x13540b['selections'];if(Array[_0x316934(0x1cc)](_0x1940c9)&&_0x1940c9[_0x316934(0x2a6)]){if(_0x1940c9['length']===_0x2a600a[0x0][_0x316934(0x174)][_0x316934(0x314)][_0x316934(0x2a6)]&&_0x1940c9['every']((_0x2ca847,_0x4843e4)=>_0x9dc992[_0x316934(0x409)](_0x2ca847[_0x316934(0x3e5)],_0x2a600a[0x0][_0x316934(0x174)][_0x316934(0x314)][_0x4843e4][_0x316934(0x3e5)])))return;this[_0x316934(0x242)][_0x316934(0x1d6)](_0x26d293)[_0x316934(0x176)](_0x56d288['id'],{'unitId':_0x306c38,'subUnitId':_0x57a9bb,'selections':_0x1940c9});}}};it=Ws([ut(0x0,_0x55b2f7(_0x759029)),ut(0x1,_0x19b923),ut(0x2,_0x3e2979)],it);const ht=_0x455cfc(_0x3cab7a(0x134));var Ei=(_0xbc01c9=>(_0xbc01c9[_0xbc01c9[_0x3cab7a(0x366)]=0x0]=_0x3cab7a(0x366),_0xbc01c9[_0xbc01c9['OTHER_CLIENTS_EDITING']=0x1]=_0x3cab7a(0x154),_0xbc01c9))(Ei||{});const qs=new Set([_0x4a6f9a['id']]);function Yt(_0x4bddbe,_0x55fd38,_0x435dd7,_0xc60f4e,_0x34680b){var _0x279848=_0x3cab7a,_0x332dae,_0x1d9a93,_0x2701ff,_0xaef5f1;const _0x5b6acc=[];for(const _0xaae927 of _0x4bddbe)if(qs[_0x279848(0x177)](_0xaae927['id'])){if(_0x5b6acc['length']>0x0)break;_0x5b6acc[_0x279848(0x192)](_0xaae927);break;}else _0x5b6acc['push'](_0xaae927);const _0xe7e353=(_0x1d9a93=(_0x332dae=_0x34680b[_0x279848(0x2c6)]())==null?void 0x0:_0x332dae[_0x279848(0x31c)])!=null?_0x1d9a93:_0x279848(0x1a0),_0x94478f=(_0xaef5f1=(_0x2701ff=_0x34680b[_0x279848(0x2c6)]())==null?void 0x0:_0x2701ff[_0x279848(0x2c8)])!=null?_0xaef5f1:_0x279848(0x1a0);return{'changeset':{'unitID':_0x55fd38,'type':_0x2ca3f8(_0x435dd7[_0x279848(0x1f0)](_0x55fd38)),'baseRev':_0xc60f4e['getCurrentRevOfUnit'](_0x55fd38),'revision':0x0,'userID':_0xe7e353,'memberID':_0x94478f,'mutations':_0x5b6acc},'pendingMutations':_0x4bddbe[_0x279848(0x382)](_0x5b6acc[_0x279848(0x2a6)])};}function zs(_0x2d890a,_0x439315,_0x59a1d6,_0xe9c8a5,_0x3283d8){var _0x27e5d4=_0x3cab7a,_0x4e3bd9,_0x423999,_0x2ecd92,_0x2e820c;const _0x4cd414=[_0x2d890a['reduce']((_0x19749d,_0x1d544f)=>{var _0x50224c=_0x14df,_0x34035c;const {id:_0x544e7d}=_0x19749d,{id:_0xa6fb51,type:_0x27d470}=_0x1d544f,_0x3b9ed6=(_0x34035c=_0x19749d[_0x50224c(0x174)])!=null?_0x34035c:{'actions':null},_0x23484e=_0x1d544f[_0x50224c(0x174)];if(_0x544e7d&&_0x544e7d!==_0xa6fb51)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x544e7d+_0x50224c(0x2db)+_0xa6fb51+'.');return{..._0x19749d,'id':_0xa6fb51,'type':_0x27d470,'params':{'unitId':_0x23484e[_0x50224c(0x18a)],'textRanges':_0x23484e['textRanges'],'actions':_0x3ec294[_0x50224c(0x340)](_0x3b9ed6[_0x50224c(0x3d7)],_0x23484e['actions'])}};},{})],_0x81025b=(_0x423999=(_0x4e3bd9=_0x3283d8[_0x27e5d4(0x2c6)]())==null?void 0x0:_0x4e3bd9[_0x27e5d4(0x31c)])!=null?_0x423999:_0x27e5d4(0x1a0),_0x4c4a21=(_0x2e820c=(_0x2ecd92=_0x3283d8[_0x27e5d4(0x2c6)]())==null?void 0x0:_0x2ecd92['memberID'])!=null?_0x2e820c:_0x27e5d4(0x1a0);return{'changeset':{'unitID':_0x439315,'type':_0x2ca3f8(_0x59a1d6['getUnitType'](_0x439315)),'baseRev':_0xe9c8a5['getCurrentRevOfUnit'](_0x439315),'revision':0x0,'userID':_0x81025b,'memberID':_0x4c4a21,'mutations':_0x4cd414},'pendingMutations':[]};}function Ii(_0x58dfd3,_0x37f127){var _0x50f1e4=_0x3cab7a;const _0x5dfd5d=new _0x57c0a(0x1);return setTimeout(()=>_0x5dfd5d[_0x50f1e4(0x35d)](_0x37f127),_0x58dfd3),_0x5dfd5d['asObservable']()[_0x50f1e4(0x27a)](_0x133e4c(0x1));}const Js={'id':_0x2b1079['id'],'type':_0x56824c[_0x3cab7a(0x16f)],'params':{}};var Xs=Object['getOwnPropertyDescriptor'],Ie=(_0x506ac9,_0x481325,_0x439c58,_0x522c19)=>{var _0xf08db0=_0x3cab7a;for(var _0x2b5dfe=_0x522c19>0x1?void 0x0:_0x522c19?Xs(_0x481325,_0x439c58):_0x481325,_0x271d90=_0x506ac9[_0xf08db0(0x2a6)]-0x1,_0x567ada;_0x271d90>=0x0;_0x271d90--)(_0x567ada=_0x506ac9[_0x271d90])&&(_0x2b5dfe=_0x567ada(_0x2b5dfe)||_0x2b5dfe);return _0x2b5dfe;},P=(_0x4caebf,_0x1b4887)=>(_0x3ed8ac,_0x529190)=>_0x1b4887(_0x3ed8ac,_0x529190,_0x4caebf),Ti=(_0x581ef5=>(_0x581ef5[_0x3cab7a(0x10e)]=_0x3cab7a(0x29b),_0x581ef5[_0x3cab7a(0x15d)]=_0x3cab7a(0x2c7),_0x581ef5[_0x3cab7a(0x181)]=_0x3cab7a(0x332),_0x581ef5[_0x3cab7a(0x37a)]=_0x3cab7a(0x2e6),_0x581ef5['AWAITING_WITH_PENDING']=_0x3cab7a(0x244),_0x581ef5[_0x3cab7a(0x122)]='fetch_missing',_0x581ef5[_0x3cab7a(0x2f2)]=_0x3cab7a(0x194),_0x581ef5[_0x3cab7a(0x27e)]=_0x3cab7a(0x145),_0x581ef5))(Ti||{});const Ci=0xea60;class Te{constructor(_0x357969,_0x1809cc,_0x31c4a5,_0x155b3e,_0x13f790,_0x432685,_0x1a2fe5,_0x4a60d0,_0x42a40e){var _0x18f17e=_0x3cab7a;N(this,_0x18f17e(0x2e5),null),N(this,'_pendingMutations',[]),(this['unitID']=_0x357969,this['type']=_0x1809cc,this[_0x18f17e(0x1b7)]=_0x13f790,this[_0x18f17e(0x39b)]=_0x432685,this[_0x18f17e(0x1fe)]=_0x1a2fe5,this[_0x18f17e(0x400)]=_0x4a60d0,this[_0x18f17e(0x268)]=_0x42a40e,this[_0x18f17e(0x2e5)]=_0x31c4a5,this[_0x18f17e(0x222)]=_0x155b3e);}[_0x3cab7a(0x1bb)](_0x54f849){var _0x4f865f=_0x3cab7a;const _0x435b2a=this[_0x4f865f(0x400)][_0x4f865f(0x12b)](this[_0x4f865f(0x385)]);return _0x54f849['revision']>_0x435b2a+0x1?(this[_0x4f865f(0x1b7)]['onMissingChangesets']({'from':_0x435b2a,'to':_0x54f849[_0x4f865f(0x15e)]-0x1}),!0x0):!0x1;}[_0x3cab7a(0x383)](_0x5c6589){var _0x580ef0=_0x3cab7a;this[_0x580ef0(0x1fe)]['transformUndoRedo'](this[_0x580ef0(0x385)],_0x5c6589);}[_0x3cab7a(0x1cf)](_0x4a5ecc){var _0x131d76=_0x3cab7a,_0x2c56e9,_0xa9340d;(_0xa9340d=(_0x2c56e9=this[_0x131d76(0x1b7)])['onTransformSelections'])==null||_0xa9340d[_0x131d76(0x27d)](_0x2c56e9,_0x4a5ecc);}[_0x3cab7a(0x319)](_0x473f3d){var _0x53ed8c=_0x3cab7a,_0x3eace6,_0x508650;return(_0x508650=(_0x3eace6=this['_handler'])['onTransformIME'])==null?void 0x0:_0x508650[_0x53ed8c(0x27d)](_0x3eace6,_0x473f3d);}['_transformStateCache'](_0x5d58b1){var _0x4c2dea=_0x3cab7a,_0x4f0951,_0x2b3be5;return(_0x2b3be5=(_0x4f0951=this[_0x4c2dea(0x1b7)])[_0x4c2dea(0x3b0)])==null?void 0x0:_0x2b3be5['call'](_0x4f0951,_0x5d58b1);}[_0x3cab7a(0x372)](_0x9bd7c){var _0x4c5ea5=_0x3cab7a,_0x1bd605,_0x4d28f7,_0x1bef91;return(_0x1bef91=(_0x4d28f7=(_0x1bd605=this[_0x4c5ea5(0x1b7)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4d28f7['call'](_0x1bd605,_0x9bd7c))!=null?_0x1bef91:_0x9bd7c;}[_0x3cab7a(0x1bf)](_0x5c18b4){var _0x3d889e=_0x3cab7a,_0x2bb79c,_0xfbe537,_0xd4dd7e;return(_0xd4dd7e=(_0xfbe537=(_0x2bb79c=this[_0x3d889e(0x1b7)])[_0x3d889e(0x1f8)])==null?void 0x0:_0xfbe537[_0x3d889e(0x27d)](_0x2bb79c,_0x5c18b4))!=null?_0xd4dd7e:_0x5c18b4;}[_0x3cab7a(0x1ae)](_0x166162){var _0xf89b4=_0x3cab7a,_0x5bfc7b,_0x2a2514;if(this[_0xf89b4(0x199)]===Z[_0xf89b4(0x10f)]){const {unitID:_0x5f27e6,mutations:_0x5007c5,memberID:_0x519eed}=_0x166162,_0x3cb74a=_0x5007c5[0x0]['params'][_0xf89b4(0x333)];Array[_0xf89b4(0x1cc)](_0x3cb74a)&&_0x3cb74a['length']>0x0&&((_0x2a2514=(_0x5bfc7b=this['_handler'])[_0xf89b4(0x232)])==null||_0x2a2514['call'](_0x5bfc7b,{'unitID':_0x5f27e6,'memberID':_0x519eed,'textRanges':_0x3cb74a}));}}['_updateLocalCache'](){var _0x5a598d=_0x3cab7a,_0x453fc4;(_0x453fc4=this[_0x5a598d(0x268)])==null||_0x453fc4[_0x5a598d(0x3cf)](this[_0x5a598d(0x385)],this[_0x5a598d(0x199)],this[_0x5a598d(0x2e5)],this[_0x5a598d(0x222)]);}[_0x3cab7a(0x19d)](){var _0x22afd0=_0x3cab7a;return this[_0x22afd0(0x400)][_0x22afd0(0x12b)](this[_0x22afd0(0x385)]);}['_incrementRevisionNumber'](){var _0x53e8fc=_0x3cab7a;this[_0x53e8fc(0x400)][_0x53e8fc(0x1e6)](this[_0x53e8fc(0x385)]);}[_0x3cab7a(0x2b3)](_0x4f6cd2){var _0x595e77=_0x3cab7a,_0x3fd5a3;let _0x4507ac=this[_0x595e77(0x372)](_0x4f6cd2);_0x4507ac=this['_transformRemoteChangesetByStateCache'](_0x4507ac);const _0x3ebf2e=_0x17ee76(_0x4507ac[_0x595e77(0x376)],this[_0x595e77(0x39b)],{'fromCollab':!0x0});if(!_0x3ebf2e[_0x595e77(0x359)])throw _0x3ebf2e[_0x595e77(0x396)]instanceof Error?_0x3ebf2e[_0x595e77(0x396)]:new Error((_0x3fd5a3=_0x3ebf2e['error'])!=null?_0x3fd5a3:_0x595e77(0x36a));this[_0x595e77(0x319)](_0x4507ac),this['_transformStateCache'](_0x4507ac),this[_0x595e77(0x383)](_0x4f6cd2),this[_0x595e77(0x1cf)](_0x4507ac),this[_0x595e77(0x1ae)](_0x4507ac),this[_0x595e77(0x39d)]();}}let ye=class extends Te{constructor(_0x305ed4,_0x2b4fc3,_0x2571a5,_0xfa1b14,_0x4addc0,_0x2732c,_0x3553f5,_0x5cf767,_0x25e5f9,_0x3b2d95){var _0x4f025b=_0x3cab7a;super(_0x305ed4,_0x2b4fc3,null,[],_0x2571a5,_0x3553f5,_0x2732c,_0xfa1b14,_0x3b2d95),N(this,'status',_0x4f025b(0x2c7)),(this['_injector']=_0x4addc0,this[_0x4f025b(0x346)]=_0x5cf767,this[_0x4f025b(0x36b)]=_0x25e5f9,this[_0x4f025b(0x1cd)]=_0x3b2d95);}[_0x3cab7a(0x36e)](_0x4a6b07){var _0x22fa38=_0x3cab7a;const _0x263d59=this[_0x22fa38(0x242)]['createInstance'](re,this['unitID'],this[_0x22fa38(0x199)],[_0x4a6b07],this[_0x22fa38(0x1b7)]);return _0x263d59[_0x22fa38(0x37c)](),_0x263d59[_0x22fa38(0x335)](),_0x263d59;}[_0x3cab7a(0x380)](_0x4dee62){var _0x32b434=_0x3cab7a;if(this['_checkMissing'](_0x4dee62))return this[_0x32b434(0x242)][_0x32b434(0x28e)](Q,this[_0x32b434(0x385)],this[_0x32b434(0x199)],null,[],null,[_0x4dee62],this['_handler']);try{const _0x16f659=this[_0x32b434(0x36b)][_0x32b434(0x315)](_0x4dee62,[Js]);if(_0x34722d(_0x16f659)){const {c1Prime:_0x15cb7c}=_0x16f659;return this[_0x32b434(0x2b3)](_0x15cb7c),this;}throw _0x16f659[_0x32b434(0x396)];}catch(_0x55661b){return this['_logService']['error'](_0x55661b),this[_0x32b434(0x2cd)](!0x1);}}[_0x3cab7a(0x2cd)](_0x4f347b){var _0x5b1a3e=_0x3cab7a;return this[_0x5b1a3e(0x242)][_0x5b1a3e(0x28e)](le,this[_0x5b1a3e(0x385)],this[_0x5b1a3e(0x199)],null,[],this[_0x5b1a3e(0x1b7)],_0x4f347b);}[_0x3cab7a(0x1cb)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3cab7a(0x3a5)](){var _0x4a9190=_0x3cab7a;throw new Error(_0x4a9190(0x2ba));}['onRemoteRetry'](){return this;}[_0x3cab7a(0x26c)](){var _0x52f4f9=_0x3cab7a;return this[_0x52f4f9(0x242)][_0x52f4f9(0x28e)](ue,this[_0x52f4f9(0x385)],this[_0x52f4f9(0x199)],null,[],this[_0x52f4f9(0x1b7)]);}['toggleOnline'](){return this;}['resend'](){var _0x37a983=_0x3cab7a;throw new Error(_0x37a983(0x2df));}[_0x3cab7a(0x3c3)](){var _0x3b2ad6=_0x3cab7a;const _0x3447ab=this[_0x3b2ad6(0x400)][_0x3b2ad6(0x12b)](this['unitID']);return this[_0x3b2ad6(0x1b7)][_0x3b2ad6(0x1b2)]({'from':_0x3447ab,'to':0x0}),this[_0x3b2ad6(0x242)][_0x3b2ad6(0x28e)](Q,this[_0x3b2ad6(0x385)],this[_0x3b2ad6(0x199)],null,[],null,[],this[_0x3b2ad6(0x1b7)]);}};function _0x14df(_0x361f63,_0x4c3f06){var _0x50ac19=_0x50ac();return _0x14df=function(_0x14dff9,_0x374afe){_0x14dff9=_0x14dff9-0x103;var _0x48810c=_0x50ac19[_0x14dff9];return _0x48810c;},_0x14df(_0x361f63,_0x4c3f06);}ye=Ie([P(0x3,_0x55b2f7(_0x4b7a95)),P(0x4,_0x55b2f7(_0x759029)),P(0x5,_0x2a9524),P(0x6,_0x26d293),P(0x7,_0x199cf3),P(0x8,_0x19b923),P(0x9,_0x3c77b7(J))],ye);let re=class extends Te{constructor(_0x2f6db3,_0x19a55c,_0x4c98df,_0x39c73c,_0x3d9b77,_0x16b426,_0x2b6d84,_0x561dbb,_0x4515e0,_0x375a63,_0x5b913a,_0x5c29c6,_0x2cbb16,_0x1bab35){var _0x4fc81b=_0x3cab7a;super(_0x2f6db3,_0x19a55c,null,_0x4c98df,_0x39c73c,_0x4515e0,_0x2cbb16,_0x16b426,_0x1bab35),N(this,_0x4fc81b(0x2cb),_0x4fc81b(0x332)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x4fc81b(0x334),null),(this[_0x4fc81b(0x242)]=_0x3d9b77,this[_0x4fc81b(0x3ee)]=_0x2b6d84,this['_logService']=_0x561dbb,this['_configService']=_0x375a63,this[_0x4fc81b(0x36b)]=_0x5b913a,this[_0x4fc81b(0x287)]=_0x5c29c6);}[_0x3cab7a(0x36e)](_0x3dc34a){var _0x455a87=_0x3cab7a;return this[_0x455a87(0x222)]['push'](_0x3dc34a),this[_0x455a87(0x335)](),this;}[_0x3cab7a(0x380)](_0x4ad39f){var _0x25eb5a=_0x3cab7a;if(this[_0x25eb5a(0x1bb)](_0x4ad39f))return this[_0x25eb5a(0x1b1)](),this['_injector'][_0x25eb5a(0x28e)](Q,this[_0x25eb5a(0x385)],this['type'],null,this[_0x25eb5a(0x222)],null,[_0x4ad39f],this[_0x25eb5a(0x1b7)]);try{const _0x4babe9=this['_transformService']['transformMutationsWithChangeset'](_0x4ad39f,this[_0x25eb5a(0x222)]);if(_0x34722d(_0x4babe9)){const {c1Prime:_0x567bca,m2Prime:_0x1ca683}=_0x4babe9;this[_0x25eb5a(0x2b3)](_0x567bca);const _0x384f15=this[_0x25eb5a(0x242)]['createInstance'](re,this[_0x25eb5a(0x385)],this[_0x25eb5a(0x199)],_0x1ca683,this['_handler']);this[_0x25eb5a(0x1b1)]();const _0x2e8067=new Date()['getTime'](),_0xce9879=this[_0x25eb5a(0x17c)]?Math[_0x25eb5a(0x179)](this[_0x25eb5a(0x17c)]-_0x2e8067,0x0):this['_getSendChangesetTimeout']();return _0x384f15[_0x25eb5a(0x37c)](_0xce9879),_0x384f15;}throw _0x4babe9[_0x25eb5a(0x396)];}catch(_0x12b6ce){return this[_0x25eb5a(0x346)][_0x25eb5a(0x396)](_0x12b6ce),this[_0x25eb5a(0x2cd)](!0x1);}}['onRemoteAck'](){var _0x3400d6=_0x3cab7a;throw new Error(_0x3400d6(0x2ce));}[_0x3cab7a(0x3a5)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3cab7a(0x36f)](){return this;}[_0x3cab7a(0x26c)](){var _0x46ae97=_0x3cab7a;return this['_clearScheduledTask'](),this[_0x46ae97(0x242)][_0x46ae97(0x28e)](ue,this['unitID'],this[_0x46ae97(0x199)],null,this[_0x46ae97(0x222)],this[_0x46ae97(0x1b7)]);}[_0x3cab7a(0x351)](){return this;}[_0x3cab7a(0x37c)](_0x42eb22){var _0x126a24=_0x3cab7a;const _0x430133=_0x42eb22!=null?_0x42eb22:this[_0x126a24(0x20a)]();this['_scheduleCompleteTimestamp']=new Date()[_0x126a24(0x157)]()+_0x430133,this[_0x126a24(0x334)]=setTimeout(()=>{var _0x40b0ef=_0x126a24;this[_0x40b0ef(0x1b1)]();let _0x130b73=null;switch(this['type']){case Z[_0x40b0ef(0x241)]:{_0x130b73=Yt(this[_0x40b0ef(0x222)],this['unitID'],this[_0x40b0ef(0x287)],this[_0x40b0ef(0x400)],this['_memberService']);break;}case Z[_0x40b0ef(0x10f)]:{this[_0x40b0ef(0x222)]['every'](_0x59bed9=>_0x59bed9['id']===_0x49d74e['id'])?_0x130b73=zs(this['_pendingMutations'],this['unitID'],this[_0x40b0ef(0x287)],this[_0x40b0ef(0x400)],this[_0x40b0ef(0x3ee)]):_0x130b73=Yt(this[_0x40b0ef(0x222)],this[_0x40b0ef(0x385)],this[_0x40b0ef(0x287)],this[_0x40b0ef(0x400)],this[_0x40b0ef(0x3ee)]);break;}default:throw new Error(_0x40b0ef(0x1fb)+this[_0x40b0ef(0x199)]+'\x20in\x20_schedule.');}const {changeset:_0x3b3eb9,pendingMutations:_0x5c16f3}=_0x130b73;this['_handler'][_0x40b0ef(0x275)](_0x3b3eb9);const _0x46fed1=_0x5c16f3[_0x40b0ef(0x2a6)]?this[_0x40b0ef(0x242)][_0x40b0ef(0x28e)](ae,this[_0x40b0ef(0x385)],this[_0x40b0ef(0x199)],_0x3b3eb9,_0x5c16f3,this['_handler'],void 0x0):this['_injector']['createInstance'](_e,this[_0x40b0ef(0x385)],this[_0x40b0ef(0x199)],_0x3b3eb9,this[_0x40b0ef(0x1b7)]);_0x46fed1[_0x40b0ef(0x335)](),this[_0x40b0ef(0x1b7)][_0x40b0ef(0x2fb)](this,_0x46fed1);},_0x430133);}['_getSendChangesetTimeout'](){var _0xcdd669=_0x3cab7a,_0x89c9a4;const _0x526b13=this[_0xcdd669(0x27f)][_0xcdd669(0x2be)](K);return(_0x89c9a4=_0x526b13==null?void 0x0:_0x526b13[_0xcdd669(0x2bf)])!=null?_0x89c9a4:ms;}['resend'](){var _0x5167fc=_0x3cab7a;throw new Error(_0x5167fc(0x276));}[_0x3cab7a(0x1b1)](){var _0xa791b8=_0x3cab7a;this[_0xa791b8(0x334)]!=null&&(clearTimeout(this[_0xa791b8(0x334)]),this['_sendingTimer']=null);}[_0x3cab7a(0x2cd)](_0xcb96f8){var _0x1a473c=_0x3cab7a;return this[_0x1a473c(0x1b1)](),this['_injector'][_0x1a473c(0x28e)](le,this[_0x1a473c(0x385)],this[_0x1a473c(0x199)],null,this[_0x1a473c(0x222)],this['_handler'],_0xcb96f8);}};re=Ie([P(0x4,_0x55b2f7(_0x759029)),P(0x5,_0x55b2f7(_0x4b7a95)),P(0x6,_0x55b2f7(Pe)),P(0x7,_0x199cf3),P(0x8,_0x26d293),P(0x9,_0x3254a5),P(0xa,_0x19b923),P(0xb,_0x3e2979),P(0xc,_0x2a9524),P(0xd,_0x3c77b7(J))],re);let _e=class extends Te{constructor(_0x21f418,_0x16d8f7,_0x6d9a2d,_0x388870,_0x5a5922,_0x2d4522,_0x2cfd53,_0x5b9788,_0x389112,_0x15240e,_0x53789f){var _0x12ba74=_0x3cab7a;super(_0x21f418,_0x16d8f7,_0x6d9a2d,[],_0x388870,_0x2cfd53,_0x15240e,_0x2d4522,_0x53789f),N(this,'status',_0x12ba74(0x2e6)),N(this,'_resendTimeout',0x0),N(this,_0x12ba74(0x322)),N(this,_0x12ba74(0x3d6)),(this[_0x12ba74(0x242)]=_0x5a5922,this[_0x12ba74(0x346)]=_0x5b9788,this[_0x12ba74(0x36b)]=_0x389112);}[_0x3cab7a(0x36e)](_0x1fa759){var _0x317602=_0x3cab7a;this['_clearScheduledTask']();const _0x38b1b9=this[_0x317602(0x242)]['createInstance'](ae,this[_0x317602(0x385)],this[_0x317602(0x199)],this[_0x317602(0x2e5)],[_0x1fa759],this[_0x317602(0x1b7)],this[_0x317602(0x322)]);return _0x38b1b9['_updateLocalCache'](),_0x38b1b9;}[_0x3cab7a(0x380)](_0x248450){var _0x462478=_0x3cab7a;if(this['_checkMissing'](_0x248450))return this['_clearScheduledTask'](),this[_0x462478(0x242)][_0x462478(0x28e)](Q,this[_0x462478(0x385)],this[_0x462478(0x199)],this[_0x462478(0x2e5)],[],null,[_0x248450],this[_0x462478(0x1b7)]);try{const _0x39b93=this[_0x462478(0x36b)][_0x462478(0x1ea)]([_0x248450],[this[_0x462478(0x2e5)]],!0x1);if(_0x144d63(_0x39b93)){const {c1Prime:_0x3ecd3b,c2Prime:_0x367dd6}=_0x39b93;this['_executeRemoteChangeset'](_0x3ecd3b[0x0]),_0x367dd6[0x0]['baseRev']=this[_0x462478(0x19d)](),this[_0x462478(0x1b1)]();const _0x526df5=this['_injector'][_0x462478(0x28e)](_e,this[_0x462478(0x385)],this['type'],_0x367dd6[0x0],this[_0x462478(0x1b7)]);return _0x526df5[_0x462478(0x335)](),_0x526df5;}return this[_0x462478(0x2cd)](!0x1);}catch(_0x440bfd){return this[_0x462478(0x346)]['error'](_0x440bfd),this['_onConflict'](!0x1);}}[_0x3cab7a(0x1cb)](_0x4d5216){var _0x5a17e5=_0x3cab7a;this[_0x5a17e5(0x1b1)]();const _0xc84718=this[_0x5a17e5(0x400)][_0x5a17e5(0x12b)](this[_0x5a17e5(0x385)]);if(_0x4d5216['revision']<_0xc84718-0x1)return this;if(this[_0x5a17e5(0x1bb)](_0x4d5216))return this['_injector'][_0x5a17e5(0x28e)](Q,this[_0x5a17e5(0x385)],this[_0x5a17e5(0x199)],null,[],this[_0x5a17e5(0x2e5)],[],this[_0x5a17e5(0x1b7)]);this[_0x5a17e5(0x39d)]();const _0x51b0f2=this['_injector'][_0x5a17e5(0x28e)](ye,this[_0x5a17e5(0x385)],this[_0x5a17e5(0x199)],this[_0x5a17e5(0x1b7)]);return _0x51b0f2['_updateLocalCache'](),_0x51b0f2;}[_0x3cab7a(0x3a5)](_0x56f688){var _0x3774a7=_0x3cab7a;return this['_onConflict'](!!(_0x56f688!=null&&_0x56f688[_0x3774a7(0x32c)]));}['onRemoteRetry'](_0x1d250b){var _0x470018=_0x3cab7a;return this[_0x470018(0x207)]>Ci?this['toggleOffline']():(this[_0x470018(0x322)]=Ii(this['_resendTimeout'],{'timeout':this[_0x470018(0x207)],'reqId':_0x1d250b[_0x470018(0x1a4)]}),this['_sender']=this['_resendTimer'][_0x470018(0x3a2)](({reqId:_0x8b63a4,timeout:_0x47e438})=>{var _0x1fb4cf=_0x470018;this[_0x1fb4cf(0x165)](_0x8b63a4,_0x47e438);}),this);}['toggleOffline'](){var _0x25bf21=_0x3cab7a;return this[_0x25bf21(0x1b1)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x25bf21(0x199)],this[_0x25bf21(0x2e5)],[],this[_0x25bf21(0x1b7)]);}['toggleOnline'](){return this;}[_0x3cab7a(0x198)](){var _0x4b92f0=_0x3cab7a;this[_0x4b92f0(0x1b7)][_0x4b92f0(0x275)](this['_awaitingChangeset']);}[_0x3cab7a(0x2cd)](_0xa35b56){var _0xc54e00=_0x3cab7a;return this['_clearScheduledTask'](),this[_0xc54e00(0x242)][_0xc54e00(0x28e)](le,this[_0xc54e00(0x385)],this[_0xc54e00(0x199)],this[_0xc54e00(0x2e5)],[],this[_0xc54e00(0x1b7)],_0xa35b56);}[_0x3cab7a(0x165)](_0x2a009b,_0xac3044){var _0x5455c8=_0x3cab7a,_0x10b19a;_0x2a009b===((_0x10b19a=this['_awaitingChangeset'])==null?void 0x0:_0x10b19a[_0x5455c8(0x1a4)])&&(this[_0x5455c8(0x198)](),this[_0x5455c8(0x207)]=_0xac3044===0x0?0x3e8:_0xac3044*0x2);}['_clearScheduledTask'](){var _0x1c7637=_0x3cab7a,_0x15cbe8;(_0x15cbe8=this[_0x1c7637(0x3d6)])==null||_0x15cbe8[_0x1c7637(0x1a6)](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x55b2f7(_0x759029)),P(0x5,_0x55b2f7(_0x4b7a95)),P(0x6,_0x26d293),P(0x7,_0x199cf3),P(0x8,_0x19b923),P(0x9,_0x2a9524),P(0xa,_0x3c77b7(J))],_e);let ae=class extends Te{constructor(_0x28bb92,_0x512987,_0xdae0c0,_0x106e97,_0x292d7b,_0x1ee326,_0x591af0,_0x4bc093,_0x4a7eff,_0xca5b44,_0x3eac41,_0x8ca3f8,_0x177186){var _0x297b0f=_0x3cab7a;super(_0x28bb92,_0x512987,_0xdae0c0,_0x106e97,_0x292d7b,_0x4a7eff,_0x8ca3f8,_0x4bc093,_0x177186),N(this,_0x297b0f(0x2cb),_0x297b0f(0x244)),N(this,'_resendTimeout',0x0),N(this,_0x297b0f(0x322)),N(this,'_sender'),(this[_0x297b0f(0x242)]=_0x591af0,this[_0x297b0f(0x346)]=_0xca5b44,this[_0x297b0f(0x36b)]=_0x3eac41,this['localCacheService']=_0x177186,_0x1ee326&&(this['_resendTimer']=_0x1ee326,this[_0x297b0f(0x3d6)]=this[_0x297b0f(0x322)][_0x297b0f(0x3a2)](({reqId:_0x34ebc2,timeout:_0x4ce3aa})=>{var _0x348fd9=_0x297b0f;this[_0x348fd9(0x165)](_0x34ebc2,_0x4ce3aa);})));}[_0x3cab7a(0x36e)](_0x5eac68){var _0xff8ad5=_0x3cab7a;return this[_0xff8ad5(0x222)][_0xff8ad5(0x192)](_0x5eac68),this;}['onRemoteChangeset'](_0x3f0a30){var _0x3b6bf9=_0x3cab7a;if(this[_0x3b6bf9(0x1bb)](_0x3f0a30))return this[_0x3b6bf9(0x1b1)](),this['_injector'][_0x3b6bf9(0x28e)](Q,this[_0x3b6bf9(0x385)],this[_0x3b6bf9(0x199)],this[_0x3b6bf9(0x2e5)],this[_0x3b6bf9(0x222)],null,[_0x3f0a30],this[_0x3b6bf9(0x1b7)]);try{const _0x457b12=this['_transformService']['transformChangesets']([_0x3f0a30],[this[_0x3b6bf9(0x2e5)]],!0x1);if(_0x144d63(_0x457b12)){const {c1Prime:_0x367a7f,c2Prime:_0x297d93}=_0x457b12,_0x1253ed=this[_0x3b6bf9(0x36b)][_0x3b6bf9(0x315)](_0x367a7f[0x0],this['_pendingMutations']);if(_0x34722d(_0x1253ed)){const {c1Prime:_0x564a25,m2Prime:_0x3fe6e7}=_0x1253ed;return this[_0x3b6bf9(0x2b3)](_0x564a25),_0x297d93[0x0][_0x3b6bf9(0x195)]=this[_0x3b6bf9(0x19d)](),this['_clearScheduledTask'](),this[_0x3b6bf9(0x242)]['createInstance'](ae,this[_0x3b6bf9(0x385)],this['type'],_0x297d93[0x0],_0x3fe6e7,this[_0x3b6bf9(0x1b7)],void 0x0);}throw _0x1253ed['error'];}throw _0x457b12[_0x3b6bf9(0x396)];}catch(_0x5e4fdf){return this['_logService'][_0x3b6bf9(0x396)](_0x5e4fdf),this['_onConflict'](!0x1);}}[_0x3cab7a(0x1cb)](_0x80ffac){var _0x2f8656=_0x3cab7a;if(this[_0x2f8656(0x1b1)](),this['_checkMissing'](_0x80ffac))return this[_0x2f8656(0x242)][_0x2f8656(0x28e)](Q,this[_0x2f8656(0x385)],this[_0x2f8656(0x199)],null,this['_pendingMutations'],this[_0x2f8656(0x2e5)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x4a18c8=this[_0x2f8656(0x242)][_0x2f8656(0x28e)](re,this['unitID'],this['type'],this[_0x2f8656(0x222)],this[_0x2f8656(0x1b7)]);return _0x4a18c8[_0x2f8656(0x37c)](),_0x4a18c8[_0x2f8656(0x335)](),_0x4a18c8;}['onRemoteRej'](_0x1f27dd){var _0x1cd910=_0x3cab7a;return this[_0x1cd910(0x2cd)](!!(_0x1f27dd!=null&&_0x1f27dd[_0x1cd910(0x32c)]));}[_0x3cab7a(0x36f)](_0x183df1){var _0x315b1d=_0x3cab7a;return this[_0x315b1d(0x207)]>Ci?this['toggleOffline']():(this[_0x315b1d(0x322)]=Ii(this['_resendTimeout'],{'timeout':this[_0x315b1d(0x207)],'reqId':_0x183df1['reqId']}),this[_0x315b1d(0x3d6)]=this['_resendTimer'][_0x315b1d(0x3a2)](({reqId:_0x1e1701,timeout:_0x29da1a})=>{var _0x4a1b6c=_0x315b1d;this[_0x4a1b6c(0x165)](_0x1e1701,_0x29da1a);}),this);}[_0x3cab7a(0x26c)](){var _0xa01102=_0x3cab7a;return this[_0xa01102(0x1b1)](),this[_0xa01102(0x242)][_0xa01102(0x28e)](ue,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0xa01102(0x222)],this[_0xa01102(0x1b7)]);}[_0x3cab7a(0x351)](){return this;}[_0x3cab7a(0x198)](){var _0xda559e=_0x3cab7a;this[_0xda559e(0x1b7)][_0xda559e(0x275)](this['_awaitingChangeset']);}[_0x3cab7a(0x2cd)](_0x5f3e85){var _0x1bd2bb=_0x3cab7a;return this[_0x1bd2bb(0x1b1)](),this['_injector'][_0x1bd2bb(0x28e)](le,this[_0x1bd2bb(0x385)],this[_0x1bd2bb(0x199)],null,this['_pendingMutations'],this[_0x1bd2bb(0x1b7)],_0x5f3e85);}[_0x3cab7a(0x165)](_0x358b9b,_0x51a221){var _0x1d4723=_0x3cab7a,_0x3471ef;_0x358b9b===((_0x3471ef=this[_0x1d4723(0x2e5)])==null?void 0x0:_0x3471ef[_0x1d4723(0x1a4)])&&(this[_0x1d4723(0x198)](),this[_0x1d4723(0x207)]=_0x51a221===0x0?0x3e8:_0x51a221*0x2);}[_0x3cab7a(0x1b1)](){var _0x1e5ae4=_0x3cab7a,_0x192d3e;(_0x192d3e=this[_0x1e5ae4(0x3d6)])==null||_0x192d3e[_0x1e5ae4(0x1a6)](),this[_0x1e5ae4(0x207)]=0x0;}};ae=Ie([P(0x6,_0x55b2f7(_0x759029)),P(0x7,_0x55b2f7(_0x4b7a95)),P(0x8,_0x26d293),P(0x9,_0x199cf3),P(0xa,_0x19b923),P(0xb,_0x2a9524),P(0xc,_0x3c77b7(J))],ae);let le=class extends Te{constructor(_0x1017de,_0x310581,_0x133d44,_0x43b192,_0x4cb1d2,_0x744446=!0x1,_0x3e4b4d,_0x347b51,_0x5bf504,_0x3a127c,_0x5cd699,_0x9b7336,_0x24ecbd){var _0x21462a=_0x3cab7a;super(_0x1017de,_0x310581,_0x133d44,_0x43b192,_0x4cb1d2,_0x347b51,_0x5bf504,_0x3a127c,_0x24ecbd),N(this,_0x21462a(0x2cb),_0x21462a(0x194)),(this['_isPermissionRej']=_0x744446,this['_permissionService']=_0x3e4b4d,this[_0x21462a(0x151)]=_0x5cd699,this[_0x21462a(0x1a9)]=_0x9b7336,this[_0x21462a(0x1cd)]=_0x24ecbd,this['_showConflictNotification'](),this[_0x21462a(0x2bd)](),this['_disableEditing']());}[_0x3cab7a(0x36e)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x3cab7a(0x3a5)](){return this;}['onRemoteRetry'](){return this;}[_0x3cab7a(0x26c)](){return this;}[_0x3cab7a(0x351)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3cab7a(0x2bd)](){var _0x1947ff=_0x3cab7a,_0x1a6b54;(_0x1a6b54=this['_localCacheService'])==null||_0x1a6b54[_0x1947ff(0x3cf)](this['unitID'],this[_0x1947ff(0x199)],null,[]);}['_showConflictNotification'](){var _0x2ce0e4=_0x3cab7a;this[_0x2ce0e4(0x20c)]?this[_0x2ce0e4(0x1a9)]['emitEvent']({'id':ne[_0x2ce0e4(0x2d7)]}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x2ce0e4(0x2f2)]});}['_disableEditing'](){var _0x1cbda3=_0x3cab7a;this['_permissionService'][_0x1cbda3(0x3eb)](new _0x19961c(this[_0x1cbda3(0x385)])['id'],!0x1);}};le=Ie([P(0x6,_0x55b2f7(_0x1d1510)),P(0x7,_0x26d293),P(0x8,_0x2a9524),P(0x9,_0x55b2f7(_0x4b7a95)),P(0xa,_0x55b2f7(_0x1ef260)),P(0xb,_0x55b2f7(ve)),P(0xc,_0x3c77b7(J))],le);let ue=class extends Te{constructor(_0x599d34,_0x642807,_0x52224c,_0x369ce1,_0x216a92,_0xe7a995,_0x301ba1,_0x30a6ff,_0x19cb73,_0x58d906){var _0x4f4681=_0x3cab7a;super(_0x599d34,_0x642807,_0x52224c,_0x369ce1,_0x216a92,_0x30a6ff,_0x19cb73,_0x301ba1,_0x58d906),N(this,'status',_0x4f4681(0x145)),this[_0x4f4681(0x242)]=_0xe7a995;}[_0x3cab7a(0x36e)](_0x34b5a4){var _0x4c0d63=_0x3cab7a;return this[_0x4c0d63(0x222)][_0x4c0d63(0x192)](_0x34b5a4),this['_updateLocalCache'](),this;}[_0x3cab7a(0x380)](_0x5b9e2f){var _0x509f70=_0x3cab7a;throw new Error(_0x509f70(0x3bd));}[_0x3cab7a(0x1cb)](){var _0x2de1e2=_0x3cab7a;throw new Error(_0x2de1e2(0x2f1));}[_0x3cab7a(0x3a5)](){var _0x551bbf=_0x3cab7a;throw new Error(_0x551bbf(0x2ea));}[_0x3cab7a(0x36f)](){return this;}[_0x3cab7a(0x26c)](){return this;}['toggleOnline'](){var _0x4f2f67=_0x3cab7a;const {_injector:_0xafd510,_pendingMutations:_0x4281af,_awaitingChangeset:_0x2b4b16,unitID:_0x5ce7f6,_handler:_0x3b5274,type:_0x3b4b2c}=this,_0x142a29=Ri(_0xafd510,_0x5ce7f6,_0x3b4b2c,_0x2b4b16,_0x4281af,_0x3b5274);return _0x142a29 instanceof re?_0x142a29[_0x4f2f67(0x37c)]():(_0x142a29 instanceof ae||_0x142a29 instanceof _e)&&_0x142a29[_0x4f2f67(0x198)](),_0x142a29;}['resend'](){var _0x542b53=_0x3cab7a;throw new Error(_0x542b53(0x3d1));}};ue=Ie([P(0x5,_0x55b2f7(_0x759029)),P(0x6,_0x55b2f7(_0x4b7a95)),P(0x7,_0x26d293),P(0x8,_0x2a9524),P(0x9,_0x3c77b7(J))],ue);let Q=class extends Te{constructor(_0x1ceed1,_0x137476,_0x3e49d5,_0x4ddbdb,_0x33d43e,_0x14a42e,_0x1c65f4,_0x549e96,_0x58b949,_0x3f6f56,_0x55bbf0,_0x1f77bc,_0x496046,_0x47a89f){var _0x5e9a55=_0x3cab7a;super(_0x1ceed1,_0x137476,_0x3e49d5,_0x4ddbdb,_0x1c65f4,_0x55bbf0,_0x1f77bc,_0x58b949,_0x47a89f),N(this,_0x5e9a55(0x2cb),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x33d43e,this['_queuedRemoteChangesets']=_0x14a42e,this[_0x5e9a55(0x242)]=_0x549e96,this[_0x5e9a55(0x346)]=_0x3f6f56,this[_0x5e9a55(0x36b)]=_0x496046,this['localCacheService']=_0x47a89f);}[_0x3cab7a(0x3b4)](_0x1e644a){var _0x389414=_0x3cab7a;try{const _0x15e0f6=[..._0x1e644a,...this[_0x389414(0x190)]],_0xf4de12=[this[_0x389414(0x2e5)]||this[_0x389414(0x2a4)]][_0x389414(0x224)](_0x4d7605=>!!_0x4d7605);let _0x4686b9,_0x4fc076;if(_0xf4de12[_0x389414(0x2a6)]){const _0x51d2f0=this[_0x389414(0x36b)]['transformChangesets'](_0x15e0f6,_0xf4de12,!0x1);if(!_0x144d63(_0x51d2f0))throw _0x51d2f0[_0x389414(0x396)];_0x4686b9=_0x51d2f0[_0x389414(0x129)],_0x4fc076=_0x51d2f0[_0x389414(0x2c4)];}else _0x4686b9=_0x15e0f6,_0x4fc076=[];let _0x2f9149=this[_0x389414(0x222)];_0x4686b9['forEach'](_0x7d25e=>{var _0x5672a5=_0x389414;let _0x3ce326;if(_0x2f9149[_0x5672a5(0x2a6)]){const _0xd27e1e=this[_0x5672a5(0x36b)][_0x5672a5(0x315)](_0x7d25e,_0x2f9149);if(!_0x34722d(_0xd27e1e))throw _0xd27e1e['error'];_0x3ce326=_0xd27e1e[_0x5672a5(0x129)],_0x2f9149=_0xd27e1e[_0x5672a5(0x37e)];}else _0x3ce326=_0x7d25e;this[_0x5672a5(0x2b3)](_0x3ce326);}),this[_0x389414(0x2a4)]&&this[_0x389414(0x39d)](),this['_awaitingChangeset']&&_0x4fc076[_0x389414(0x2a6)]&&(_0x4fc076[0x0][_0x389414(0x195)]=this[_0x389414(0x19d)]());let _0x22dd09;if(this[_0x389414(0x2e5)]&&_0x2f9149[_0x389414(0x2a6)]!==0x0)_0x22dd09=this[_0x389414(0x242)][_0x389414(0x28e)](ae,this[_0x389414(0x385)],this[_0x389414(0x199)],_0x4fc076[0x0],_0x2f9149,this['_handler'],void 0x0);else{if(this[_0x389414(0x2e5)]&&_0x2f9149[_0x389414(0x2a6)]===0x0)_0x4fc076[0x0][_0x389414(0x195)]=this['_getCurrentRevision'](),_0x22dd09=this[_0x389414(0x242)]['createInstance'](_e,this['unitID'],this[_0x389414(0x199)],_0x4fc076[0x0],this['_handler']);else{if(_0x2f9149[_0x389414(0x2a6)]!==0x0){const _0x3f71a9=this['_injector'][_0x389414(0x28e)](re,this['unitID'],this['type'],_0x2f9149,this['_handler']);_0x3f71a9['_schedule'](),_0x22dd09=_0x3f71a9;}else _0x22dd09=this[_0x389414(0x242)][_0x389414(0x28e)](ye,this['unitID'],this[_0x389414(0x199)],this[_0x389414(0x1b7)]);}}return _0x22dd09[_0x389414(0x335)](),_0x22dd09;}catch(_0x533e69){return this['_logService'][_0x389414(0x396)](_0x389414(0x40c),_0x389414(0x2e8),_0x533e69),this[_0x389414(0x242)]['createInstance'](le,this['unitID'],this['type'],this[_0x389414(0x2e5)],this[_0x389414(0x222)],this[_0x389414(0x1b7)],!0x1);}}[_0x3cab7a(0x198)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3cab7a(0x36e)](_0x192606){var _0x13971a=_0x3cab7a;return this[_0x13971a(0x222)][_0x13971a(0x192)](_0x192606),this;}[_0x3cab7a(0x380)](_0x362522){var _0x1cb24c=_0x3cab7a;return this[_0x1cb24c(0x190)][_0x1cb24c(0x192)](_0x362522),this;}[_0x3cab7a(0x1cb)](_0x179d8c){var _0xe41ad8=_0x3cab7a;if(this[_0xe41ad8(0x2e5)])return this[_0xe41ad8(0x2a4)]=this[_0xe41ad8(0x2e5)],this[_0xe41ad8(0x2e5)]=null,this;throw new Error(_0xe41ad8(0x30f));}[_0x3cab7a(0x3a5)](_0x20e15c){var _0x3aa684=_0x3cab7a;return this[_0x3aa684(0x2cd)](!!(_0x20e15c!=null&&_0x20e15c['isPermissionRej']));}[_0x3cab7a(0x36f)](){return this;}[_0x3cab7a(0x26c)](){var _0x32a6a3=_0x3cab7a;return this[_0x32a6a3(0x242)][_0x32a6a3(0x28e)](ue,this[_0x32a6a3(0x385)],this[_0x32a6a3(0x199)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x32a6a3(0x1b7)]);}[_0x3cab7a(0x351)](){return this;}[_0x3cab7a(0x2cd)](_0x40f699){var _0x130402=_0x3cab7a;return this[_0x130402(0x242)][_0x130402(0x28e)](le,this[_0x130402(0x385)],this[_0x130402(0x199)],this[_0x130402(0x2e5)],this[_0x130402(0x222)],this['_handler'],_0x40f699);}};Q=Ie([P(0x7,_0x55b2f7(_0x759029)),P(0x8,_0x55b2f7(_0x4b7a95)),P(0x9,_0x199cf3),P(0xa,_0x26d293),P(0xb,_0x2a9524),P(0xc,_0x19b923),P(0xd,_0x3c77b7(J))],Q);function Ri(_0x197f4a,_0x33f885,_0x36fcdb,_0x5e1c41,_0x2e5ba3,_0x1e2d4e){var _0x56ff39=_0x3cab7a;return _0x5e1c41&&_0x2e5ba3['length']?_0x197f4a[_0x56ff39(0x28e)](ae,_0x33f885,_0x36fcdb,_0x5e1c41,_0x2e5ba3,_0x1e2d4e,void 0x0):_0x5e1c41?_0x197f4a[_0x56ff39(0x28e)](_e,_0x33f885,_0x36fcdb,_0x5e1c41,_0x1e2d4e):_0x2e5ba3[_0x56ff39(0x2a6)]?_0x197f4a['createInstance'](re,_0x33f885,_0x36fcdb,_0x2e5ba3,_0x1e2d4e):_0x197f4a['createInstance'](ye,_0x33f885,_0x36fcdb,_0x1e2d4e);}var Zs=Object['getOwnPropertyDescriptor'],wt=(_0x13b02d,_0x5478e0,_0x1266c4,_0x586ff5)=>{var _0x370795=_0x3cab7a;for(var _0x2a8f42=_0x586ff5>0x1?void 0x0:_0x586ff5?Zs(_0x5478e0,_0x1266c4):_0x5478e0,_0x334d7c=_0x13b02d[_0x370795(0x2a6)]-0x1,_0x3c5e6a;_0x334d7c>=0x0;_0x334d7c--)(_0x3c5e6a=_0x13b02d[_0x334d7c])&&(_0x2a8f42=_0x3c5e6a(_0x2a8f42)||_0x2a8f42);return _0x2a8f42;},H=(_0x19da6a,_0x20d4d2)=>(_0x5d2887,_0x9a8717)=>_0x20d4d2(_0x5d2887,_0x9a8717,_0x19da6a);let st=class extends _0x54f41b{constructor(_0x449588,_0x26726e,_0x191203,_0x33184a,_0x58c46d,_0x14952e,_0xaaf4be,_0x10bf82,_0x3c506f,_0x4c15ef,_0x5b363d,_0x2395f9,_0x35f325){var _0xd1cf65=_0x3cab7a;super(),N(this,_0xd1cf65(0x2fa),new _0x5962fa(null)),N(this,'state$',this[_0xd1cf65(0x2fa)][_0xd1cf65(0x38e)]()),N(this,_0xd1cf65(0x170)),N(this,'_collaborationPaused',!0x1),N(this,_0xd1cf65(0x14b),''),N(this,'_changesetReqId',0x0),N(this,_0xd1cf65(0x19b),this[_0xd1cf65(0x1a8)][_0xd1cf65(0x27a)](_0x161d84(_0x4a4881=>_0x4a4881?_0x4a4881[_0xd1cf65(0x2cb)]:Ti['OFFLINE']),_0x2434fa(0x1))),N(this,_0xd1cf65(0x2e4),!0x1),N(this,_0xd1cf65(0x285),[]),(this[_0xd1cf65(0x385)]=_0x449588,this[_0xd1cf65(0x166)]=_0x26726e,this[_0xd1cf65(0x259)]=_0x191203,this['_injector']=_0x33184a,this[_0xd1cf65(0x323)]=_0x58c46d,this[_0xd1cf65(0x151)]=_0x14952e,this[_0xd1cf65(0x400)]=_0xaaf4be,this[_0xd1cf65(0x153)]=_0x10bf82,this[_0xd1cf65(0x346)]=_0x3c506f,this[_0xd1cf65(0x39b)]=_0x4c15ef,this[_0xd1cf65(0x384)]=_0x5b363d,this[_0xd1cf65(0x2e0)]=_0x2395f9,this[_0xd1cf65(0x268)]=_0x35f325);}get[_0x3cab7a(0x2d5)](){var _0x4b1f59=_0x3cab7a;return this[_0x4b1f59(0x170)];}async['init'](){var _0x36908a=_0x3cab7a;if(this[_0x36908a(0x2d5)])throw new Error(_0x36908a(0x28a));await this[_0x36908a(0x364)]();}[_0x3cab7a(0x235)](){var _0x301909=_0x3cab7a;return this[_0x301909(0x3fa)]=!0x0,_0x1d69d2(()=>{var _0x4871bd=_0x301909;this[_0x4871bd(0x3fa)]=!0x1,this[_0x4871bd(0x14c)]();});}[_0x3cab7a(0x127)](_0xbf7ee1){this['_onLocalMutation'](_0xbf7ee1);}['_updateState'](_0x5a1b8d){var _0x599706=_0x3cab7a;this[_0x599706(0x170)]=_0x5a1b8d,this[_0x599706(0x2fa)]['next'](_0x5a1b8d);}async[_0x3cab7a(0x364)](){var _0x130283=_0x3cab7a,_0xebbf5e;this[_0x130283(0x2f3)](await this[_0x130283(0x360)]()),this[_0x130283(0x2e0)]&&((_0xebbf5e=this[_0x130283(0x2e0)])==null||_0xebbf5e[_0x130283(0x2e3)](this[_0x130283(0x385)]),this[_0x130283(0x282)](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x130283(0x3a2)](_0x5059b0=>{var _0x5219af=_0x130283;this[_0x5219af(0x346)][_0x5219af(0x37d)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x5059b0),_0x5059b0===Ei[_0x5219af(0x154)]?(this[_0x5219af(0x153)][_0x5219af(0x3c5)]({'id':ne[_0x5219af(0x130)]}),this[_0x5219af(0x384)]['updatePermissionPoint'](new _0x19961c(this[_0x5219af(0x385)])['id'],!0x1),this[_0x5219af(0x384)][_0x5219af(0x3b7)](!0x1)):(this[_0x5219af(0x384)][_0x5219af(0x3eb)](new _0x19961c(this[_0x5219af(0x385)])['id'],!0x0),this[_0x5219af(0x384)]['setShowComponents'](!0x0));})));let _0x1b9c5e=!0x1;return this[_0x130283(0x282)](this[_0x130283(0x166)][_0x130283(0x2b5)][_0x130283(0x3a2)](_0x13eb50=>{var _0x41d3fb=_0x130283;_0x13eb50===Se['ONLINE']?this[_0x41d3fb(0x274)](_0x1b9c5e):_0x13eb50===Se[_0x41d3fb(0x27e)]&&(_0x1b9c5e=!0x0,this[_0x41d3fb(0x3c0)]());})),this[_0x130283(0x282)](this[_0x130283(0x166)][_0x130283(0x3a8)][_0x130283(0x3a2)](_0xa72f3e=>{var _0x513661=_0x130283;try{switch(_0xa72f3e[_0x513661(0x3ec)]){case _0x269d85['NEW_CHANGESETS']:{this[_0x513661(0x168)](_0xa10cf7(_0xa72f3e[_0x513661(0x1f7)]));break;}case _0x269d85[_0x513661(0x208)]:{this[_0x513661(0x1c6)](_0xa72f3e[_0x513661(0x1f7)]);break;}case _0x269d85[_0x513661(0x2d9)]:{this[_0x513661(0x15c)]();break;}case _0x269d85['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0xa72f3e[_0x513661(0x1f7)]);break;}case _0x269d85[_0x513661(0x362)]:{this['_onFetchMissResult'](_0xa72f3e[_0x513661(0x1f7)][_0x513661(0x40a)][_0x513661(0x405)](_0x3889e4=>_0xa10cf7(_0x3889e4)));break;}case _0x269d85[_0x513661(0x17e)]:{this[_0x513661(0x15c)]({'isPermissionRej':!0x0});break;}case _0x269d85['UNISCRIPT_RUN']:break;}}catch(_0x177976){throw console[_0x513661(0x396)](_0x513661(0x158),_0x177976),_0x177976;}})),this[_0x130283(0x170)];}[_0x3cab7a(0x2b7)](){var _0x207a72=_0x3cab7a;this[_0x207a72(0x2e4)]=!0x1;}[_0x3cab7a(0x290)](){var _0x55143a=_0x3cab7a;if(this[_0x55143a(0x2e4)])throw new Error(_0x55143a(0x23d));this[_0x55143a(0x2e4)]=!0x0;}[_0x3cab7a(0x353)](_0x409f3b){var _0x4ff5cf=_0x3cab7a;this[_0x4ff5cf(0x290)](),this[_0x4ff5cf(0x2f3)](this[_0x4ff5cf(0x170)][_0x4ff5cf(0x36e)](_0x409f3b)),this['_unlockTransition']();}[_0x3cab7a(0x168)](_0x26b5c1){var _0x29b129=_0x3cab7a;if(!(_0x26b5c1[_0x29b129(0x15e)]<=this[_0x29b129(0x400)]['getCurrentRevOfUnit'](this[_0x29b129(0x385)]))){if(this['_collaborationPaused']){this[_0x29b129(0x285)][_0x29b129(0x192)](_0x26b5c1);return;}this['_applyRemoteChangeset'](_0x26b5c1);}}['_exhaustRemoteChangesetQueue'](){var _0x4a23c3=_0x3cab7a;this[_0x4a23c3(0x285)][_0x4a23c3(0x24b)](_0x562c92=>this['_applyRemoteChangeset'](_0x562c92)),this['_remoteChangesetQueue']=[];}[_0x3cab7a(0x297)](_0xa178e9){var _0x1a951b=_0x3cab7a;const _0x34c0cc=this[_0x1a951b(0x323)][_0x1a951b(0x228)][_0x1a951b(0x3bf)](this[_0x1a951b(0x323)][_0x1a951b(0x228)][_0x1a951b(0x325)]()[_0x1a951b(0x1ce)])(_0xa178e9[_0x1a951b(0x376)],null)||_0xa178e9['mutations'],_0x1788de={..._0xa178e9,'mutations':_0x34c0cc};this['_lockTransition'](),this['_updateState'](this['_state'][_0x1a951b(0x380)](_0x1788de)),this[_0x1a951b(0x2b7)]();}['_onRemoteACK'](_0x134534){var _0x2612c0=_0x3cab7a;this['_lockTransition'](),this[_0x2612c0(0x2f3)](this[_0x2612c0(0x170)][_0x2612c0(0x1cb)](_0x134534)),this[_0x2612c0(0x2b7)]();}[_0x3cab7a(0x15c)](_0x512c24){var _0x523a00=_0x3cab7a;this['_lockTransition'](),this['_updateState'](this[_0x523a00(0x170)]['onRemoteRej'](_0x512c24)),this[_0x523a00(0x2b7)]();}[_0x3cab7a(0x26d)](_0x26e148){var _0x1e8dae=_0x3cab7a;this[_0x1e8dae(0x290)](),this['_updateState'](this[_0x1e8dae(0x170)][_0x1e8dae(0x36f)](_0x26e148)),this[_0x1e8dae(0x2b7)]();}[_0x3cab7a(0x212)](_0x5060ce){var _0x58c99d=_0x3cab7a;if(!(this[_0x58c99d(0x170)]instanceof Q))throw new TypeError(_0x58c99d(0x358));const _0x46b2ff=_0x5060ce[_0x58c99d(0x405)](_0x58404f=>{var _0x30d5f9=_0x58c99d;const _0x48eba9=this[_0x30d5f9(0x323)][_0x30d5f9(0x228)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x30d5f9(0x228)][_0x30d5f9(0x325)]()[_0x30d5f9(0x1ce)])(_0x58404f[_0x30d5f9(0x376)],null)||_0x58404f[_0x30d5f9(0x376)];return{..._0x58404f,'mutations':_0x48eba9};});this['_lockTransition'](),this[_0x58c99d(0x2f3)](this['_state'][_0x58c99d(0x3b4)](_0x46b2ff)),this['_unlockTransition']();}[_0x3cab7a(0x3c0)](){var _0x3c7381=_0x3cab7a;this[_0x3c7381(0x290)](),this[_0x3c7381(0x2f3)](this['_state'][_0x3c7381(0x26c)]()),this[_0x3c7381(0x2b7)]();}[_0x3cab7a(0x274)](_0x14ffda=!0x1){var _0x5f0f49=_0x3cab7a;this[_0x5f0f49(0x290)](),this['_updateState'](this[_0x5f0f49(0x170)][_0x5f0f49(0x351)]()),this[_0x5f0f49(0x2b7)]();const _0x5145ec=this[_0x5f0f49(0x170)];_0x14ffda&&_0x5145ec instanceof ye&&(this[_0x5f0f49(0x290)](),this[_0x5f0f49(0x2f3)](_0x5145ec[_0x5f0f49(0x3c3)]()),this[_0x5f0f49(0x2b7)]());}async[_0x3cab7a(0x360)](){return new Promise(_0x3ef82a=>{var _0xf359c=_0x14df;this[_0xf359c(0x166)]['sessionStatus$'][_0xf359c(0x27a)](_0x133e4c(0x1))[_0xf359c(0x3a2)](async _0x4fdf4d=>{var _0x540807=_0xf359c;_0x3ef82a(await this[_0x540807(0x34a)](_0x4fdf4d===Se[_0x540807(0x2ae)]));});});}[_0x3cab7a(0x3c2)](){var _0x316f50=_0x3cab7a;const _0x507a1=this[_0x316f50(0x385)];return{'onStateChange':(_0x5cb3e0,_0x4c37d5)=>{var _0x4c3fdb=_0x316f50;if(_0x5cb3e0!==this[_0x4c3fdb(0x170)])throw new Error(_0x4c3fdb(0x119)+_0x5cb3e0['status']+_0x4c3fdb(0x3a6)+_0x4c37d5[_0x4c3fdb(0x2cb)]+_0x4c3fdb(0x258)+this[_0x4c3fdb(0x170)][_0x4c3fdb(0x2cb)]);this[_0x4c3fdb(0x2f3)](_0x4c37d5);},'onSendChangeset':_0x10748a=>{var _0x23225d=_0x316f50;_0x10748a[_0x23225d(0x33e)]||(_0x10748a[_0x23225d(0x33e)]=this[_0x23225d(0x14b)],_0x10748a['reqId']=++this[_0x23225d(0x1b4)]);const _0x366952={'eventID':_0x269d85[_0x23225d(0x2ff)],'data':{'unitID':_0x10748a[_0x23225d(0x385)],'unitType':this['_type'],'changeset':_0x10748a,'memberID':this['session'][_0x23225d(0x262)]()}};this['session'][_0x23225d(0x38d)](_0x366952,this['unitID']);},'onMissingChangesets':({from:_0x141b78,to:_0x5a9d22})=>{var _0x3e1539=_0x316f50;this[_0x3e1539(0x346)][_0x3e1539(0x37d)]('[CollaborationEntity]',_0x3e1539(0x3fc)+_0x141b78+'\x20to\x20'+_0x5a9d22);const _0x17f359={'eventID':_0x269d85[_0x3e1539(0x11a)],'data':{'unitID':_0x507a1,'unitType':this[_0x3e1539(0x259)],'from':_0x141b78,'to':_0x5a9d22}};this[_0x3e1539(0x166)][_0x3e1539(0x38d)](_0x17f359,this[_0x3e1539(0x385)]);}};}async[_0x3cab7a(0x34a)](_0x2ef48a){var _0x5d2fce=_0x3cab7a,_0x416d23,_0x4e4147,_0x1e4104;const _0xfe4c53=await((_0x416d23=this[_0x5d2fce(0x268)])==null?void 0x0:_0x416d23[_0x5d2fce(0x3ad)](this[_0x5d2fce(0x385)])),_0x3463f2=(_0x4e4147=_0xfe4c53==null?void 0x0:_0xfe4c53[_0x5d2fce(0x376)])!=null?_0x4e4147:[],_0x2e6ae7=(_0x1e4104=_0xfe4c53==null?void 0x0:_0xfe4c53[_0x5d2fce(0x21c)])!=null?_0x1e4104:null,_0x255b0e=!!(_0x2e6ae7!=null&&_0x2e6ae7[_0x5d2fce(0x33e)])&&!!(_0x2e6ae7!=null&&_0x2e6ae7[_0x5d2fce(0x1a4)]);this[_0x5d2fce(0x14b)]=_0x255b0e?_0x2e6ae7[_0x5d2fce(0x33e)]:_0xcb2d56(),this[_0x5d2fce(0x1b4)]=_0x255b0e?_0x2e6ae7[_0x5d2fce(0x1a4)]:0x0;const _0x2ad773=this[_0x5d2fce(0x385)];try{this[_0x5d2fce(0x15f)](_0x2e6ae7,_0x3463f2);}catch(_0x1d7baf){this['_logService'][_0x5d2fce(0x396)](_0x1d7baf);}const _0x4d12a7=this[_0x5d2fce(0x3c2)]();if(_0x2ef48a){const _0x2eb364=Ri(this[_0x5d2fce(0x242)],_0x2ad773,this[_0x5d2fce(0x259)],_0x2e6ae7,_0x3463f2,_0x4d12a7);return _0x2eb364 instanceof re?_0x2eb364[_0x5d2fce(0x37c)]():(_0x2eb364 instanceof ae||_0x2eb364 instanceof _e)&&_0x2eb364[_0x5d2fce(0x198)](),_0x2eb364;}return this[_0x5d2fce(0x242)][_0x5d2fce(0x28e)](ue,_0x2ad773,this['_type'],_0x2e6ae7,_0x3463f2,_0x4d12a7);}[_0x3cab7a(0x15f)](_0x12ffb0,_0x553776){var _0x1a1c42=_0x3cab7a,_0x3b3aa5,_0x4327e5;const _0x1212b9=this[_0x1a1c42(0x323)]['interceptor'][_0x1a1c42(0x3bf)](this[_0x1a1c42(0x323)][_0x1a1c42(0x228)]['getInterceptPoints']()[_0x1a1c42(0x1ce)]);(_0x3b3aa5=_0x1212b9((_0x12ffb0==null?void 0x0:_0x12ffb0['mutations'])||[],null))==null||_0x3b3aa5[_0x1a1c42(0x24b)](_0x2c8951=>this[_0x1a1c42(0x39b)]['executeCommand'](_0x2c8951['id'],_0x2c8951[_0x1a1c42(0x174)])),(_0x4327e5=_0x1212b9(_0x553776||[],null))==null||_0x4327e5['forEach'](_0x36f141=>this[_0x1a1c42(0x39b)]['executeCommand'](_0x36f141['id'],_0x36f141[_0x1a1c42(0x174)]));}};st=wt([H(0x3,_0x55b2f7(_0x759029)),H(0x4,_0x55b2f7(_0x25efe2)),H(0x5,_0x55b2f7(_0x1ef260)),H(0x6,_0x55b2f7(_0x4b7a95)),H(0x7,_0x55b2f7(ve)),H(0x8,_0x199cf3),H(0x9,_0x26d293),H(0xa,_0x1d1510),H(0xb,_0x3c77b7(ht)),H(0xc,_0x3c77b7(J))],st);let St=class extends st{constructor(_0x2e075f,_0x3fd5d,_0x4e66b0,_0x1519a4,_0x5a05c4,_0x50306f,_0x388775,_0x2fff35,_0x3c4eb7,_0x3eb38c,_0x144e87,_0xcbc9c6,_0x13b708){var _0x53d34c=_0x3cab7a;super(_0x2e075f,_0x4e66b0,_0x3fd5d,_0x1519a4,_0x5a05c4,_0x50306f,_0x388775,_0x2fff35,_0x3c4eb7,_0x3eb38c,_0x144e87,_0xcbc9c6,_0x13b708),N(this,'_handlerCallback',null),(this[_0x53d34c(0x385)]=_0x2e075f,this[_0x53d34c(0x199)]=_0x3fd5d);}[_0x3cab7a(0x215)](_0x5f6f70){var _0x46700e=_0x3cab7a;this[_0x46700e(0x39c)]=_0x5f6f70;}[_0x3cab7a(0x24a)](){var _0xc7fe3a=_0x3cab7a;this['_handlerCallback']=null,super[_0xc7fe3a(0x24a)]();}[_0x3cab7a(0x3c2)](){var _0x1afffa=_0x3cab7a;const _0x11d98b=super[_0x1afffa(0x3c2)]();return _0x11d98b[_0x1afffa(0x2cf)]=_0x430956=>{var _0x211f43=_0x1afffa,_0x38a56b,_0x5de584;return(_0x5de584=(_0x38a56b=this[_0x211f43(0x39c)])==null?void 0x0:_0x38a56b[_0x211f43(0x2cf)])==null?void 0x0:_0x5de584['call'](_0x38a56b,_0x430956);},_0x11d98b[_0x1afffa(0x3b0)]=_0x4fa7e4=>{var _0x5aa2a6=_0x1afffa,_0x3e4d9d,_0x407834;return(_0x407834=(_0x3e4d9d=this[_0x5aa2a6(0x39c)])==null?void 0x0:_0x3e4d9d[_0x5aa2a6(0x3b0)])==null?void 0x0:_0x407834['call'](_0x3e4d9d,_0x4fa7e4);},_0x11d98b[_0x1afffa(0x21a)]=_0x379800=>{var _0x3fdfcc=_0x1afffa,_0xf65928,_0x20897e;return(_0x20897e=(_0xf65928=this[_0x3fdfcc(0x39c)])==null?void 0x0:_0xf65928[_0x3fdfcc(0x21a)])==null?void 0x0:_0x20897e[_0x3fdfcc(0x27d)](_0xf65928,_0x379800);},_0x11d98b[_0x1afffa(0x232)]=_0x3436ea=>{var _0x4e1ffb=_0x1afffa,_0x16cbd2,_0x28de1a;return(_0x28de1a=(_0x16cbd2=this[_0x4e1ffb(0x39c)])==null?void 0x0:_0x16cbd2[_0x4e1ffb(0x232)])==null?void 0x0:_0x28de1a[_0x4e1ffb(0x27d)](_0x16cbd2,_0x3436ea);},_0x11d98b['onTransformRemoteChangesetByIMECache']=_0x52dc58=>{var _0x5b16c2=_0x1afffa,_0x59e631,_0x5f3188,_0x110f79;if(!((_0x59e631=this[_0x5b16c2(0x39c)])!=null&&_0x59e631[_0x5b16c2(0x296)]))throw new Error(_0x5b16c2(0x2e1));return(_0x110f79=(_0x5f3188=this['_handlerCallback'])==null?void 0x0:_0x5f3188[_0x5b16c2(0x296)])==null?void 0x0:_0x110f79['call'](_0x5f3188,_0x52dc58);},_0x11d98b[_0x1afffa(0x1f8)]=_0x2d165e=>{var _0x3e6db4=_0x1afffa,_0x2a80ee,_0x1dacc9,_0x570ccc;if(!((_0x2a80ee=this['_handlerCallback'])!=null&&_0x2a80ee[_0x3e6db4(0x1f8)]))throw new Error(_0x3e6db4(0x338));return(_0x570ccc=(_0x1dacc9=this[_0x3e6db4(0x39c)])==null?void 0x0:_0x1dacc9[_0x3e6db4(0x1f8)])==null?void 0x0:_0x570ccc[_0x3e6db4(0x27d)](_0x1dacc9,_0x2d165e);},_0x11d98b;}async[_0x3cab7a(0x364)](){var _0x2a0e20=_0x3cab7a;const _0x29da7d=await super[_0x2a0e20(0x364)]();return this['disposeWithMe'](this[_0x2a0e20(0x39b)]['onCommandExecuted']((_0x3085cc,_0x2dd9d1)=>{var _0x5fbfa8=_0x2a0e20;if(_0x3085cc[_0x5fbfa8(0x199)]!==_0x56824c[_0x5fbfa8(0x16f)]||_0x2dd9d1!=null&&_0x2dd9d1[_0x5fbfa8(0x105)]||_0x2dd9d1!=null&&_0x2dd9d1[_0x5fbfa8(0x193)]||_0x3085cc['id']===_0x49d74e['id'])return;const _0x104b6f=_0x3085cc[_0x5fbfa8(0x174)];if((_0x104b6f==null?void 0x0:_0x104b6f[_0x5fbfa8(0x18a)])!==this[_0x5fbfa8(0x385)])return;const _0x187cb3=_0x3085cc,_0x2b5a54=this[_0x5fbfa8(0x323)][_0x5fbfa8(0x228)][_0x5fbfa8(0x3bf)](this['_compressMutationService'][_0x5fbfa8(0x228)][_0x5fbfa8(0x325)]()['COMPRESS_MUTATION_SEND'])([_0x187cb3],null)||[_0x187cb3];this['_onLocalMutation'](_0x2b5a54[0x0]);})),_0x29da7d;}};St=wt([H(0x3,_0x55b2f7(_0x759029)),H(0x4,_0x55b2f7(_0x25efe2)),H(0x5,_0x55b2f7(_0x1ef260)),H(0x6,_0x55b2f7(_0x4b7a95)),H(0x7,_0x55b2f7(ve)),H(0x8,_0x199cf3),H(0x9,_0x26d293),H(0xa,_0x1d1510),H(0xb,_0x3c77b7(ht)),H(0xc,_0x3c77b7(J))],St);let Et=class extends st{constructor(_0x1d3272,_0x49695b,_0x4bf26c,_0x59da53,_0x242e4,_0x3dd2ee,_0x1f9b16,_0x7ec0d5,_0x11a1ff,_0x314f33,_0x3fa3c7,_0x1a5790,_0x27565f,_0x40e986){var _0xc51657=_0x3cab7a;super(_0x1d3272,_0x4bf26c,_0x49695b,_0x59da53,_0x242e4,_0x3dd2ee,_0x1f9b16,_0x11a1ff,_0x314f33,_0x3fa3c7,_0x1a5790,_0x27565f,_0x40e986),this[_0xc51657(0x385)]=_0x1d3272,this[_0xc51657(0x199)]=_0x49695b,this[_0xc51657(0x3d2)]=_0x7ec0d5;}[_0x3cab7a(0x3c2)](){var _0x4c82e6=_0x3cab7a;const _0x5528fc=super['_createHandler']();return _0x5528fc[_0x4c82e6(0x21a)]=_0x25ed15=>this[_0x4c82e6(0x3d2)][_0x4c82e6(0x306)](_0x25ed15),_0x5528fc;}async[_0x3cab7a(0x364)](){var _0x2a48ea=_0x3cab7a;const _0x1eef6a=await super[_0x2a48ea(0x364)]();return this['disposeWithMe'](this[_0x2a48ea(0x39b)]['onCommandExecuted']((_0x32a940,_0x2ebb55)=>{var _0x24a47c=_0x2a48ea;if(_0x32a940['type']!==_0x56824c[_0x24a47c(0x16f)]||_0x2ebb55!=null&&_0x2ebb55[_0x24a47c(0x105)]||_0x2ebb55!=null&&_0x2ebb55[_0x24a47c(0x193)])return;const _0x5aec14=_0x32a940['params'];if((_0x5aec14==null?void 0x0:_0x5aec14['unitId'])!==this[_0x24a47c(0x385)])return;const _0x2b2749=_0x32a940,_0x3b90ba=this[_0x24a47c(0x323)][_0x24a47c(0x228)][_0x24a47c(0x3bf)](this[_0x24a47c(0x323)][_0x24a47c(0x228)][_0x24a47c(0x325)]()[_0x24a47c(0x21d)])([_0x2b2749],null)||[_0x2b2749];this['_onLocalMutation'](_0x3b90ba[0x0]);})),_0x1eef6a;}};Et=wt([H(0x3,_0x55b2f7(_0x759029)),H(0x4,_0x55b2f7(_0x25efe2)),H(0x5,_0x55b2f7(_0x1ef260)),H(0x6,_0x55b2f7(_0x4b7a95)),H(0x7,_0x55b2f7(it)),H(0x8,_0x55b2f7(ve)),H(0x9,_0x199cf3),H(0xa,_0x26d293),H(0xb,_0x1d1510),H(0xc,_0x3c77b7(ht)),H(0xd,_0x3c77b7(J))],Et);var Qs=Object[_0x3cab7a(0x3b8)],en=(_0x4e6b62,_0x3eb301,_0x2e1202,_0x5af919)=>{var _0x367fa7=_0x3cab7a;for(var _0x1f9a58=_0x5af919>0x1?void 0x0:_0x5af919?Qs(_0x3eb301,_0x2e1202):_0x3eb301,_0x482836=_0x4e6b62[_0x367fa7(0x2a6)]-0x1,_0x55a435;_0x482836>=0x0;_0x482836--)(_0x55a435=_0x4e6b62[_0x482836])&&(_0x1f9a58=_0x55a435(_0x1f9a58)||_0x1f9a58);return _0x1f9a58;},Be=(_0xbf6691,_0x4c1479)=>(_0x2385e4,_0x1cd611)=>_0x4c1479(_0x2385e4,_0x1cd611,_0xbf6691);let nt=class extends _0x54f41b{constructor(_0x4fbf06,_0x360088,_0x344e22,_0x181bd0){var _0x2ab403=_0x3cab7a,_0x2b81ac;super(),N(this,_0x2ab403(0x28b),new Map()),N(this,'_entityInit$',new _0x1a8f0b()),N(this,'entityInit$',this[_0x2ab403(0x133)][_0x2ab403(0x38e)]()),(this[_0x2ab403(0x242)]=_0x4fbf06,this[_0x2ab403(0x1af)]=_0x360088,this[_0x2ab403(0x27f)]=_0x344e22,this['_univerInstanceService']=_0x181bd0,((_0x2b81ac=this[_0x2ab403(0x27f)][_0x2ab403(0x2be)](K))==null?void 0x0:_0x2b81ac[_0x2ab403(0x186)])!==!0x1&&this[_0x2ab403(0x364)]());}[_0x3cab7a(0x24a)](){var _0x32c051=_0x3cab7a;super['dispose'](),this[_0x32c051(0x28b)]['forEach'](_0xbaa662=>_0xbaa662[_0x32c051(0x24a)]()),this['_entities'][_0x32c051(0x2eb)]();}[_0x3cab7a(0x402)](_0x33c994){var _0x1bda4=_0x3cab7a,_0x123644;return(_0x123644=this[_0x1bda4(0x28b)]['get'](_0x33c994))!=null?_0x123644:null;}['getCollabEntity$'](_0x2016c9){var _0x3e6ced=_0x3cab7a;const _0x47207e=this[_0x3e6ced(0x402)](_0x2016c9);return _0x47207e?_0xca38d6(_0x47207e):this[_0x3e6ced(0x133)][_0x3e6ced(0x27a)](_0x43751c(_0x1b8f67=>_0x1b8f67[_0x3e6ced(0x385)]===_0x2016c9));}[_0x3cab7a(0x148)](_0x4be0d5){return _0x5cfd82(this['getCollabEntity$'](_0x4be0d5)['pipe'](_0x2e0d3b(()=>{})));}[_0x3cab7a(0x364)](){var _0x147c3a=_0x3cab7a;this[_0x147c3a(0x287)][_0x147c3a(0x2dd)](_0x2910b0[_0x147c3a(0x241)])['pipe'](_0xa6b77a(this[_0x147c3a(0x12c)]),_0x45cfc6(0x10))[_0x147c3a(0x3a2)](async _0x4eb38f=>{var _0x37c410=_0x147c3a;const _0x3adc9e=_0x4eb38f[_0x37c410(0x318)](),_0x58439d=await this[_0x37c410(0x14d)](_0x3adc9e,Z[_0x37c410(0x241)]);this[_0x37c410(0x28b)][_0x37c410(0x1e9)](_0x3adc9e,_0x58439d);}),this[_0x147c3a(0x287)][_0x147c3a(0x2dd)](_0x2910b0[_0x147c3a(0x10f)])[_0x147c3a(0x27a)](_0xa6b77a(this[_0x147c3a(0x12c)]),_0x45cfc6(0x10))[_0x147c3a(0x27a)](_0x43751c(_0x42408f=>!_0x42408f['getUnitId']()[_0x147c3a(0x1c7)]('__')))[_0x147c3a(0x3a2)](async _0xfd4e68=>{var _0xa48df=_0x147c3a;const _0x6bce52=_0xfd4e68[_0xa48df(0x318)](),_0x5f7b1f=await this[_0xa48df(0x14d)](_0x6bce52,Z[_0xa48df(0x10f)]);this['_entities'][_0xa48df(0x1e9)](_0x6bce52,_0x5f7b1f);}),_0x7fed04(this[_0x147c3a(0x287)][_0x147c3a(0x263)](_0x2910b0[_0x147c3a(0x241)]),this[_0x147c3a(0x287)][_0x147c3a(0x263)](_0x2910b0[_0x147c3a(0x10f)]))[_0x147c3a(0x27a)](_0xa6b77a(this['dispose$']))[_0x147c3a(0x3a2)](_0x1252e1=>{var _0x1cb38e=_0x147c3a;const _0x1939e2=_0x1252e1['getUnitId'](),_0x543c14=this[_0x1cb38e(0x28b)][_0x1cb38e(0x1d6)](_0x1939e2);_0x543c14&&(_0x543c14[_0x1cb38e(0x24a)](),this[_0x1cb38e(0x28b)][_0x1cb38e(0x1ee)](_0x1939e2));});}async[_0x3cab7a(0x14d)](_0x2afad9,_0x35fa6f){var _0x57cd73=_0x3cab7a;const _0x4e3cd1=await this[_0x57cd73(0x1af)][_0x57cd73(0x26a)](_0x2afad9),_0x2de0cc=this['_injector'][_0x57cd73(0x28e)](this[_0x57cd73(0x2a5)](_0x35fa6f),_0x2afad9,_0x35fa6f,_0x4e3cd1);return await _0x2de0cc['init'](),this['_entityInit$'][_0x57cd73(0x35d)](_0x2de0cc),_0x2de0cc;}[_0x3cab7a(0x2a5)](_0x3ab08c){var _0x1b85c6=_0x3cab7a;switch(_0x3ab08c){case Z[_0x1b85c6(0x10f)]:return St;case Z[_0x1b85c6(0x241)]:return Et;default:throw new Error(_0x1b85c6(0x21f)+_0x3ab08c);}}};nt=en([Be(0x0,_0x55b2f7(_0x759029)),Be(0x1,_0x55b2f7(Le)),Be(0x2,_0x3254a5),Be(0x3,_0x3e2979)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x391505,_0x1d037e,_0x1dd2c2,_0x53507d)=>{var _0x53d987=_0x3cab7a;for(var _0x1267b5=_0x53507d>0x1?void 0x0:_0x53507d?tn(_0x1d037e,_0x1dd2c2):_0x1d037e,_0x832e1d=_0x391505[_0x53d987(0x2a6)]-0x1,_0x641e1d;_0x832e1d>=0x0;_0x832e1d--)(_0x641e1d=_0x391505[_0x832e1d])&&(_0x1267b5=_0x641e1d(_0x1267b5)||_0x1267b5);return _0x1267b5;},Wt=(_0x15bca9,_0x51a073)=>(_0x3ba82c,_0x3d26bb)=>_0x51a073(_0x3ba82c,_0x3d26bb,_0x15bca9);const nn='DEFAULT_FILE_NAME',rn=_0x3cab7a(0x348);let It=class extends _0x37beba{constructor(_0x567a24,_0xeb79a8){var _0x1654b9=_0x3cab7a;super(),this['_univerInstanceService']=_0x567a24,this[_0x1654b9(0x27f)]=_0xeb79a8,this[_0x1654b9(0x364)]();}[_0x3cab7a(0x364)](){var _0x5ec5f9=_0x3cab7a;this[_0x5ec5f9(0x282)](this['_univerInstanceService'][_0x5ec5f9(0x2bb)][_0x5ec5f9(0x3a2)](()=>{var _0x21fe20=_0x5ec5f9,_0x3f41bc;const _0x2fbbf8=this[_0x21fe20(0x287)][_0x21fe20(0x3b2)]();let _0x83c4ea=(_0x3f41bc=this[_0x21fe20(0x27f)]['getConfig'](nn))!=null?_0x3f41bc:rn;_0x2fbbf8 instanceof _0x136191&&(_0x83c4ea=_0x2fbbf8[_0x21fe20(0x371)]),document[_0x21fe20(0x3f6)]=_0x83c4ea;}));}};It=sn([Wt(0x0,_0x3e2979),Wt(0x1,_0x3254a5)],It);var an=Object[_0x3cab7a(0x3b8)],on=(_0x4f2408,_0x5d57d8,_0x2d139b,_0x1e52e9)=>{var _0x47cc10=_0x3cab7a;for(var _0x357e66=_0x1e52e9>0x1?void 0x0:_0x1e52e9?an(_0x5d57d8,_0x2d139b):_0x5d57d8,_0x50761c=_0x4f2408[_0x47cc10(0x2a6)]-0x1,_0x4555d5;_0x50761c>=0x0;_0x50761c--)(_0x4555d5=_0x4f2408[_0x50761c])&&(_0x357e66=_0x4555d5(_0x357e66)||_0x357e66);return _0x357e66;},dt=(_0x5a7b17,_0x2ae97b)=>(_0x2f2e60,_0x4be7ad)=>_0x2ae97b(_0x2f2e60,_0x4be7ad,_0x5a7b17);let rt=class{constructor(_0x117967,_0x552de2,_0x40ac52){var _0x520740=_0x3cab7a;this[_0x520740(0x27f)]=_0x117967,this['_httpService']=_0x552de2,this['localeService']=_0x40ac52,this[_0x520740(0x247)]();}[_0x3cab7a(0x247)](){var _0x383eb4=_0x3cab7a;this[_0x383eb4(0x324)][_0x383eb4(0x17a)]({'priority':0x1,'interceptor':(_0x4cdabc,_0x393341)=>_0x393341(_0x4cdabc)[_0x383eb4(0x27a)](_0x1c6b1b(async _0xcba04e=>{var _0xb4db60=_0x383eb4;const _0x3971da=_0xcba04e;if(_0x3971da['status']===0x191){if(typeof window>'u')throw new Error(_0xb4db60(0x3f3));if(window[_0xb4db60(0x211)](this[_0xb4db60(0x3ce)]['t'](_0xb4db60(0x223)))){const _0x517281=window[_0xb4db60(0x123)](window[_0xb4db60(0x113)][_0xb4db60(0x31a)]);window[_0xb4db60(0x113)][_0xb4db60(0x31a)]=this[_0xb4db60(0x331)]()+'?url='+_0x517281;}}return _0x3971da;}))});}[_0x3cab7a(0x331)](){var _0x340dc4=_0x3cab7a,_0x53678a,_0x26adfc;const _0x3b75f7=this[_0x340dc4(0x27f)][_0x340dc4(0x2be)](ys),_0x146bfd=this[_0x340dc4(0x27f)]['getConfig'](K);return(_0x26adfc=(_0x53678a=_0x146bfd==null?void 0x0:_0x146bfd[_0x340dc4(0x251)])!=null?_0x53678a:_0x3b75f7)!=null?_0x26adfc:Ns;}};rt=on([dt(0x0,_0x3254a5),dt(0x1,_0x55b2f7(_0x14d0e8)),dt(0x2,_0x55b2f7(_0x1ef260))],rt);var cn=Object[_0x3cab7a(0x3b8)],hn=(_0x3e1e81,_0x2113de,_0x3ec631,_0x1b8318)=>{for(var _0xaf12f8=_0x1b8318>0x1?void 0x0:_0x1b8318?cn(_0x2113de,_0x3ec631):_0x2113de,_0x4601ed=_0x3e1e81['length']-0x1,_0xfc4237;_0x4601ed>=0x0;_0x4601ed--)(_0xfc4237=_0x3e1e81[_0x4601ed])&&(_0xaf12f8=_0xfc4237(_0xaf12f8)||_0xaf12f8);return _0xaf12f8;},Kt=(_0x3c5e37,_0x3af3c0)=>(_0x5b870a,_0x55704e)=>_0x3af3c0(_0x5b870a,_0x55704e,_0x3c5e37);const Oi=_0x3cab7a(0x115),_n=_0x3cab7a(0x29f);let Tt=class extends _0x37beba{constructor(_0x516455,_0x1e3d95){var _0x2076f9=_0x3cab7a;super(),this[_0x2076f9(0x38f)]=_0x516455,this['_configService']=_0x1e3d95,this[_0x2076f9(0x2e9)]();}[_0x3cab7a(0x2e9)](){var _0x4df283=_0x3cab7a;const _0x378647=this;this[_0x4df283(0x282)](this[_0x4df283(0x38f)][_0x4df283(0x17a)]({'priority':0x3e7,'interceptor':_0xfa6e3b({'isMatch'(_0x41935d){var _0x341d1c=_0x4df283,_0x43524e;if(_0x41935d[_0x341d1c(0x137)]===_0x341d1c(0x1a5)&&((_0x43524e=_0x41935d['requestParams'])!=null&&_0x43524e['body'])){const {objectID:_0x3aae8,objectType:_0x159317}=_0x41935d[_0x341d1c(0x3da)]['body']||{};if(!_0x3aae8||_0x159317===void 0x0)return!0x1;const _0x3d644e=_0x378647[_0x341d1c(0x2f0)]()+'/'+_0x159317+_0x341d1c(0x1c1)+_0x3aae8+'/allowed';if(_0x41935d[_0x341d1c(0x3a0)]===_0x3d644e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3478c6){var _0x4fd612=_0x4df283,_0x41adf3;return(_0x41adf3=_0x3478c6[_0x4fd612(0x3da)])==null?void 0x0:_0x41adf3['body'];},'mergeParamsToRequest'(_0x166cc1,_0x2284d3){var _0x2cc522=_0x4df283;const _0x1a1cfa=_0x378647[_0x2cc522(0x2f0)]()+_0x2cc522(0x17d),_0x4f6f04=_0x166cc1[_0x2cc522(0x189)]((_0x5aea81,_0x340214)=>{var _0x26b62c=_0x2cc522;const {unitID:_0xc7358f,objectID:_0x10f460,objectType:_0x3e06f1,actions:_0x991830}=_0x340214;return _0x5aea81[_0xc7358f]||(_0x5aea81[_0xc7358f]={}),_0x5aea81[_0xc7358f][_0x10f460]||(_0x5aea81[_0xc7358f][_0x10f460]={'objectID':_0x10f460,'objectType':_0x3e06f1,'actions':[]}),_0x5aea81[_0xc7358f][_0x10f460][_0x26b62c(0x3d7)][_0x26b62c(0x192)](..._0x991830),_0x5aea81;},{}),_0x174c01=[];for(const _0x3f680e in _0x4f6f04)for(const _0x5de195 in _0x4f6f04[_0x3f680e]){const {actions:_0x35be71,objectType:_0xa1d81}=_0x4f6f04[_0x3f680e][_0x5de195],_0xcffec8=[...new Set(_0x35be71)];_0x174c01['push']({'unitID':_0x3f680e,'objectID':_0x5de195,'objectType':_0xa1d81,'actions':_0xcffec8});}return new _0x1a38ca(_0x2cc522(0x1a5),_0x1a1cfa,{'headers':_0x2284d3[_0x2cc522(0x1c4)],'withCredentials':_0x2284d3[_0x2cc522(0x1f3)],'responseType':_0x2284d3['responseType'],'body':{'requests':_0x174c01}});}},{'distributeResult'(_0x295352,_0x4f509b){const {objectActions:_0x2cc7fe}=_0x295352;return _0x4f509b['map'](_0x20b590=>{var _0x4a5712=_0x14df;const {unitID:_0x26f035,objectID:_0x2fd54d,actions:_0xa5fe20}=_0x20b590,_0x147bbe=_0x2cc7fe[_0x4a5712(0x13d)](_0x11dfb4=>_0x11dfb4[_0x4a5712(0x385)]===_0x26f035&&_0x11dfb4['objectID']===_0x2fd54d),_0x279523=_0xa5fe20[_0x4a5712(0x405)](_0x3e96a3=>_0x147bbe==null?void 0x0:_0x147bbe[_0x4a5712(0x3d7)][_0x4a5712(0x13d)](_0x534231=>_0x534231[_0x4a5712(0x1d3)]===_0x3e96a3))[_0x4a5712(0x224)](_0xf9c4d=>!!_0xf9c4d);return{'config':_0x20b590,'result':{'actions':_0x279523,'error':_0x295352[_0x4a5712(0x396)]}};});}})}));}[_0x3cab7a(0x2f0)](){var _0x1ea2ca=_0x3cab7a,_0x7761ce,_0x3134aa;const _0x24d1ca=this[_0x1ea2ca(0x27f)][_0x1ea2ca(0x2be)](Oi),_0x4f1adc=this[_0x1ea2ca(0x27f)][_0x1ea2ca(0x2be)](K);return(_0x3134aa=(_0x7761ce=_0x4f1adc==null?void 0x0:_0x4f1adc[_0x1ea2ca(0x14e)])!=null?_0x7761ce:_0x24d1ca)!=null?_0x3134aa:_n;}async[_0x3cab7a(0x1e5)](_0x542684){var _0x257e81=_0x3cab7a;const _0x19ddbc=this[_0x257e81(0x2f0)]()+'/'+_0x542684[_0x257e81(0x3c4)]+_0x257e81(0x146);return(await this[_0x257e81(0x38f)][_0x257e81(0x147)](_0x19ddbc,{'body':_0x542684}))[_0x257e81(0x118)]['objectID']||'';}async[_0x3cab7a(0x150)](_0x384615){var _0x1f4615=_0x3cab7a;const _0x536dd8=this[_0x1f4615(0x2f0)]()+_0x1f4615(0x311);return(await this[_0x1f4615(0x38f)][_0x1f4615(0x147)](_0x536dd8,{'body':_0x384615}))[_0x1f4615(0x118)][_0x1f4615(0x40f)];}async[_0x3cab7a(0x1b3)](_0x2d9d86){var _0x4f5a81=_0x3cab7a,_0x49c933,_0x122617;const _0x2a5ac7=this['_getAPIPrefixPath']()+'/'+_0x2d9d86[_0x4f5a81(0x3c4)]+_0x4f5a81(0x1c1)+_0x2d9d86['objectID'],_0xa07fff=await this[_0x4f5a81(0x38f)][_0x4f5a81(0x342)](_0x2a5ac7,{'body':_0x2d9d86});if(((_0x122617=(_0x49c933=_0xa07fff==null?void 0x0:_0xa07fff[_0x4f5a81(0x118)])==null?void 0x0:_0x49c933[_0x4f5a81(0x396)])==null?void 0x0:_0x122617[_0x4f5a81(0x20e)])!==0x1)throw new Error(_0x4f5a81(0x35a));}async[_0x3cab7a(0x2b4)](_0x535062){var _0x3268d9=_0x3cab7a;const _0x135667=this[_0x3268d9(0x2f0)]()+'/'+_0x535062[_0x3268d9(0x3c4)]+_0x3268d9(0x1c1)+_0x535062[_0x3268d9(0x14a)]+_0x3268d9(0x31d);return(await this[_0x3268d9(0x38f)][_0x3268d9(0x147)](_0x135667,{'body':_0x535062}))[_0x3268d9(0x118)][_0x3268d9(0x3d7)];}async['batchAllowed'](_0x33fb64){var _0xfcd650=_0x3cab7a;const _0xf289dc=this['_getAPIPrefixPath']()+_0xfcd650(0x17d);return(await this[_0xfcd650(0x38f)][_0xfcd650(0x147)](_0xf289dc,{'body':{'requests':_0x33fb64}}))[_0xfcd650(0x118)][_0xfcd650(0x2b2)];}async['listRoles'](_0x65aa58){var _0x202a92=_0x3cab7a;const _0x299b6b=this['_getAPIPrefixPath']()+'/'+_0x65aa58[_0x202a92(0x3c4)]+_0x202a92(0x339),_0x3a521a=await this[_0x202a92(0x38f)][_0x202a92(0x147)](_0x299b6b,{'body':_0x65aa58});return{'roles':_0x3a521a[_0x202a92(0x118)][_0x202a92(0x237)],'actions':_0x3a521a[_0x202a92(0x118)][_0x202a92(0x3d7)]};}async['deleteCollaborator'](_0x12b2b1){var _0x308e80=_0x3cab7a;const _0x3603d2=this[_0x308e80(0x2f0)]()+_0x308e80(0x3e6);await this['_HTTPService'][_0x308e80(0x1ee)](_0x3603d2,{'params':{'collaboratorID':_0x12b2b1[_0x308e80(0x1a7)],'objectID':_0x12b2b1[_0x308e80(0x14a)],'unitID':_0x12b2b1[_0x308e80(0x385)]}});}async[_0x3cab7a(0x121)](_0x49c766){var _0x2a7262=_0x3cab7a;const _0x5aa10c=this[_0x2a7262(0x2f0)]()+_0x2a7262(0x3e6);await this['_HTTPService']['patch'](_0x5aa10c,{'body':_0x49c766});}async[_0x3cab7a(0x38b)](_0x315316){var _0x305007=_0x3cab7a;const _0x29fed1=this[_0x305007(0x2f0)]()+_0x305007(0x3e6);await this['_HTTPService'][_0x305007(0x147)](_0x29fed1,{'body':_0x315316});}async[_0x3cab7a(0x218)](_0x11dbb3){var _0x508dd1=_0x3cab7a;const _0x4053b5=this[_0x508dd1(0x2f0)]()+_0x508dd1(0x3e6);return(await this[_0x508dd1(0x38f)][_0x508dd1(0x1d6)](_0x4053b5,{'params':{'objectID':_0x11dbb3[_0x508dd1(0x14a)],'unitID':_0x11dbb3['unitID']}}))[_0x508dd1(0x118)]['collaborators'];}async[_0x3cab7a(0x2de)](_0x3e6e7f){var _0x524717=_0x3cab7a;const _0x182262=this[_0x524717(0x2f0)]()+'/collaborator';await this[_0x524717(0x38f)][_0x524717(0x342)](_0x182262,{'body':_0x3e6e7f});}};Tt=hn([Kt(0x0,_0x55b2f7(_0x14d0e8)),Kt(0x1,_0x55b2f7(_0x3254a5))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x50b043){var _0x1fa87e=_0x3cab7a;return _0x50b043&&_0x50b043[_0x1fa87e(0x398)]&&Object[_0x1fa87e(0x16c)][_0x1fa87e(0x3c8)]['call'](_0x50b043,_0x1fa87e(0x343))?_0x50b043['default']:_0x50b043;}var Ve={'exports':{}};function ln(_0x4e3c1e){var _0x5c07c6=_0x3cab7a;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x4e3c1e+_0x5c07c6(0x202));}var Ge={'exports':{}},un=Ge[_0x3cab7a(0x234)],qt;function te(){var _0x27a646=_0x3cab7a;return qt||(qt=0x1,function(_0xafef27,_0x2c14da){(function(_0x31c89f,_0x1feeaf){var _0xc5dfe2=_0x14df;_0xafef27[_0xc5dfe2(0x234)]=_0x1feeaf();}(un,function(){var _0x2595f1=_0x2595f1||function(_0x28a54b,_0x45e30b){var _0x1e3223=_0x14df,_0x50b0e1;if(typeof window<'u'&&window[_0x1e3223(0x365)]&&(_0x50b0e1=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x50b0e1=self[_0x1e3223(0x365)]),typeof globalThis<'u'&&globalThis[_0x1e3223(0x365)]&&(_0x50b0e1=globalThis[_0x1e3223(0x365)]),!_0x50b0e1&&typeof window<'u'&&window['msCrypto']&&(_0x50b0e1=window[_0x1e3223(0x141)]),!_0x50b0e1&&typeof ft<'u'&&ft[_0x1e3223(0x365)]&&(_0x50b0e1=ft[_0x1e3223(0x365)]),!_0x50b0e1&&typeof ln==_0x1e3223(0x2cc))try{_0x50b0e1=require('crypto');}catch{}var _0x489e38=function(){var _0x5dbcc8=_0x1e3223;if(_0x50b0e1){if(typeof _0x50b0e1['getRandomValues']==_0x5dbcc8(0x2cc))try{return _0x50b0e1[_0x5dbcc8(0x3b5)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x50b0e1[_0x5dbcc8(0x143)]==_0x5dbcc8(0x2cc))try{return _0x50b0e1[_0x5dbcc8(0x143)](0x4)[_0x5dbcc8(0x3ea)]();}catch{}}throw new Error(_0x5dbcc8(0x173));},_0x1a3539=Object[_0x1e3223(0x1e5)]||(function(){function _0x478637(){}return function(_0x448c06){var _0x4b572b=_0x14df,_0x547b0e;return _0x478637[_0x4b572b(0x16c)]=_0x448c06,_0x547b0e=new _0x478637(),_0x478637[_0x4b572b(0x16c)]=null,_0x547b0e;};}()),_0x475bd3={},_0x59bd8f=_0x475bd3[_0x1e3223(0x3b3)]={},_0x554d21=_0x59bd8f[_0x1e3223(0x2f7)]=(function(){return{'extend':function(_0x5f38f1){var _0x513380=_0x14df,_0x3f648f=_0x1a3539(this);return _0x5f38f1&&_0x3f648f[_0x513380(0x270)](_0x5f38f1),(!_0x3f648f[_0x513380(0x3c8)](_0x513380(0x247))||this[_0x513380(0x247)]===_0x3f648f[_0x513380(0x247)])&&(_0x3f648f[_0x513380(0x247)]=function(){var _0x5ee9e6=_0x513380;_0x3f648f[_0x5ee9e6(0x236)]['init'][_0x5ee9e6(0x279)](this,arguments);}),_0x3f648f[_0x513380(0x247)][_0x513380(0x16c)]=_0x3f648f,_0x3f648f['$super']=this,_0x3f648f;},'create':function(){var _0x2548a3=_0x14df,_0x1675d8=this['extend']();return _0x1675d8[_0x2548a3(0x247)]['apply'](_0x1675d8,arguments),_0x1675d8;},'init':function(){},'mixIn':function(_0x2d51e0){var _0x141199=_0x14df;for(var _0x6346a6 in _0x2d51e0)_0x2d51e0[_0x141199(0x3c8)](_0x6346a6)&&(this[_0x6346a6]=_0x2d51e0[_0x6346a6]);_0x2d51e0['hasOwnProperty'](_0x141199(0x109))&&(this[_0x141199(0x109)]=_0x2d51e0[_0x141199(0x109)]);},'clone':function(){var _0xa2bd14=_0x14df;return this['init'][_0xa2bd14(0x16c)]['extend'](this);}};}()),_0x485bfd=_0x59bd8f[_0x1e3223(0x368)]=_0x554d21[_0x1e3223(0x13e)]({'init':function(_0x420a57,_0x1f1b6f){var _0x4bbe9f=_0x1e3223;_0x420a57=this['words']=_0x420a57||[],_0x1f1b6f!=_0x45e30b?this[_0x4bbe9f(0x1e7)]=_0x1f1b6f:this[_0x4bbe9f(0x1e7)]=_0x420a57['length']*0x4;},'toString':function(_0x180563){return(_0x180563||_0xafaef1)['stringify'](this);},'concat':function(_0x51f4ff){var _0x2c9476=_0x1e3223,_0x2f11ea=this[_0x2c9476(0x2d8)],_0x9f64f5=_0x51f4ff[_0x2c9476(0x2d8)],_0x1b0636=this[_0x2c9476(0x1e7)],_0x241816=_0x51f4ff[_0x2c9476(0x1e7)];if(this['clamp'](),_0x1b0636%0x4)for(var _0x42278c=0x0;_0x42278c<_0x241816;_0x42278c++){var _0x2cea00=_0x9f64f5[_0x42278c>>>0x2]>>>0x18-_0x42278c%0x4*0x8&0xff;_0x2f11ea[_0x1b0636+_0x42278c>>>0x2]|=_0x2cea00<<0x18-(_0x1b0636+_0x42278c)%0x4*0x8;}else{for(var _0x318c23=0x0;_0x318c23<_0x241816;_0x318c23+=0x4)_0x2f11ea[_0x1b0636+_0x318c23>>>0x2]=_0x9f64f5[_0x318c23>>>0x2];}return this['sigBytes']+=_0x241816,this;},'clamp':function(){var _0x375211=_0x1e3223,_0x3b9398=this[_0x375211(0x2d8)],_0x30b4eb=this['sigBytes'];_0x3b9398[_0x30b4eb>>>0x2]&=0xffffffff<<0x20-_0x30b4eb%0x4*0x8,_0x3b9398[_0x375211(0x2a6)]=_0x28a54b[_0x375211(0x1ef)](_0x30b4eb/0x4);},'clone':function(){var _0x396c70=_0x1e3223,_0x293e2e=_0x554d21[_0x396c70(0x23c)][_0x396c70(0x27d)](this);return _0x293e2e[_0x396c70(0x2d8)]=this[_0x396c70(0x2d8)]['slice'](0x0),_0x293e2e;},'random':function(_0x4ea614){for(var _0xc5b41b=[],_0x50823b=0x0;_0x50823b<_0x4ea614;_0x50823b+=0x4)_0xc5b41b['push'](_0x489e38());return new _0x485bfd['init'](_0xc5b41b,_0x4ea614);}}),_0x14abd0=_0x475bd3['enc']={},_0xafaef1=_0x14abd0[_0x1e3223(0x1c0)]={'stringify':function(_0x754aa8){var _0x4eb5ff=_0x1e3223;for(var _0x16da5d=_0x754aa8['words'],_0x46bcb2=_0x754aa8[_0x4eb5ff(0x1e7)],_0x303673=[],_0x5af427=0x0;_0x5af427<_0x46bcb2;_0x5af427++){var _0x395608=_0x16da5d[_0x5af427>>>0x2]>>>0x18-_0x5af427%0x4*0x8&0xff;_0x303673[_0x4eb5ff(0x192)]((_0x395608>>>0x4)[_0x4eb5ff(0x109)](0x10)),_0x303673[_0x4eb5ff(0x192)]((_0x395608&0xf)[_0x4eb5ff(0x109)](0x10));}return _0x303673['join']('');},'parse':function(_0x379551){var _0x4a4885=_0x1e3223;for(var _0x385696=_0x379551['length'],_0x3fcd75=[],_0x4fcb47=0x0;_0x4fcb47<_0x385696;_0x4fcb47+=0x2)_0x3fcd75[_0x4fcb47>>>0x3]|=parseInt(_0x379551[_0x4a4885(0x1e3)](_0x4fcb47,0x2),0x10)<<0x18-_0x4fcb47%0x8*0x4;return new _0x485bfd[(_0x4a4885(0x247))](_0x3fcd75,_0x385696/0x2);}},_0x2db5ef=_0x14abd0[_0x1e3223(0x2f6)]={'stringify':function(_0x3a1a69){var _0x1cb1c8=_0x1e3223;for(var _0x18e498=_0x3a1a69['words'],_0xcf4183=_0x3a1a69[_0x1cb1c8(0x1e7)],_0x308cd2=[],_0x200d91=0x0;_0x200d91<_0xcf4183;_0x200d91++){var _0x40c78d=_0x18e498[_0x200d91>>>0x2]>>>0x18-_0x200d91%0x4*0x8&0xff;_0x308cd2['push'](String[_0x1cb1c8(0x24f)](_0x40c78d));}return _0x308cd2[_0x1cb1c8(0x163)]('');},'parse':function(_0x349c5b){var _0x391f01=_0x1e3223;for(var _0x220dbe=_0x349c5b[_0x391f01(0x2a6)],_0x377a1d=[],_0x5b541f=0x0;_0x5b541f<_0x220dbe;_0x5b541f++)_0x377a1d[_0x5b541f>>>0x2]|=(_0x349c5b[_0x391f01(0x1f6)](_0x5b541f)&0xff)<<0x18-_0x5b541f%0x4*0x8;return new _0x485bfd[(_0x391f01(0x247))](_0x377a1d,_0x220dbe);}},_0x3aac9b=_0x14abd0[_0x1e3223(0x20b)]={'stringify':function(_0x16409a){var _0x1c1f71=_0x1e3223;try{return decodeURIComponent(escape(_0x2db5ef[_0x1c1f71(0x243)](_0x16409a)));}catch{throw new Error(_0x1c1f71(0x2fc));}},'parse':function(_0x1c13c1){var _0x307773=_0x1e3223;return _0x2db5ef[_0x307773(0x3d9)](unescape(encodeURIComponent(_0x1c13c1)));}},_0xe9ac3f=_0x59bd8f[_0x1e3223(0x373)]=_0x554d21['extend']({'reset':function(){var _0x10f5cc=_0x1e3223;this[_0x10f5cc(0x299)]=new _0x485bfd[(_0x10f5cc(0x247))](),this[_0x10f5cc(0x255)]=0x0;},'_append':function(_0x5664a4){var _0x2bb348=_0x1e3223;typeof _0x5664a4==_0x2bb348(0x110)&&(_0x5664a4=_0x3aac9b[_0x2bb348(0x3d9)](_0x5664a4)),this['_data']['concat'](_0x5664a4),this[_0x2bb348(0x255)]+=_0x5664a4[_0x2bb348(0x1e7)];},'_process':function(_0x305670){var _0x409eba=_0x1e3223,_0x384858,_0x1e8f06=this[_0x409eba(0x299)],_0x160d03=_0x1e8f06['words'],_0xfcfe9d=_0x1e8f06[_0x409eba(0x1e7)],_0x4893fc=this[_0x409eba(0x3f2)],_0x39dc5f=_0x4893fc*0x4,_0x574dfc=_0xfcfe9d/_0x39dc5f;_0x305670?_0x574dfc=_0x28a54b[_0x409eba(0x1ef)](_0x574dfc):_0x574dfc=_0x28a54b[_0x409eba(0x179)]((_0x574dfc|0x0)-this[_0x409eba(0x406)],0x0);var _0x44c7b3=_0x574dfc*_0x4893fc,_0x24967f=_0x28a54b[_0x409eba(0x213)](_0x44c7b3*0x4,_0xfcfe9d);if(_0x44c7b3){for(var _0x283117=0x0;_0x283117<_0x44c7b3;_0x283117+=_0x4893fc)this[_0x409eba(0x3c6)](_0x160d03,_0x283117);_0x384858=_0x160d03['splice'](0x0,_0x44c7b3),_0x1e8f06[_0x409eba(0x1e7)]-=_0x24967f;}return new _0x485bfd[(_0x409eba(0x247))](_0x384858,_0x24967f);},'clone':function(){var _0x3cf37d=_0x1e3223,_0x3ad3ca=_0x554d21[_0x3cf37d(0x23c)][_0x3cf37d(0x27d)](this);return _0x3ad3ca[_0x3cf37d(0x299)]=this[_0x3cf37d(0x299)][_0x3cf37d(0x23c)](),_0x3ad3ca;},'_minBufferSize':0x0});_0x59bd8f['Hasher']=_0xe9ac3f['extend']({'cfg':_0x554d21[_0x1e3223(0x13e)](),'init':function(_0x2f7a9d){var _0xad9ab6=_0x1e3223;this['cfg']=this[_0xad9ab6(0x253)][_0xad9ab6(0x13e)](_0x2f7a9d),this[_0xad9ab6(0x22f)]();},'reset':function(){var _0x122164=_0x1e3223;_0xe9ac3f[_0x122164(0x22f)][_0x122164(0x27d)](this),this[_0x122164(0x404)]();},'update':function(_0x176d7c){var _0x25e5d1=_0x1e3223;return this['_append'](_0x176d7c),this[_0x25e5d1(0x2c9)](),this;},'finalize':function(_0x1e16f3){var _0x2ed8a9=_0x1e3223;_0x1e16f3&&this[_0x2ed8a9(0x25a)](_0x1e16f3);var _0x6d38a7=this[_0x2ed8a9(0x18f)]();return _0x6d38a7;},'blockSize':0x10,'_createHelper':function(_0x4d0c64){return function(_0x1fcffc,_0x2a91dc){var _0x1c4840=_0x14df;return new _0x4d0c64[(_0x1c4840(0x247))](_0x2a91dc)[_0x1c4840(0x2d0)](_0x1fcffc);};},'_createHmacHelper':function(_0xca04f7){return function(_0xa5a7f2,_0xd14ca8){var _0x4b73b2=_0x14df;return new _0x3a2b9f['HMAC']['init'](_0xca04f7,_0xd14ca8)[_0x4b73b2(0x2d0)](_0xa5a7f2);};}});var _0x3a2b9f=_0x475bd3[_0x1e3223(0x22a)]={};return _0x475bd3;}(Math);return _0x2595f1;}));}(Ge)),Ge[_0x27a646(0x234)];}var Ye={'exports':{}},dn=Ye[_0x3cab7a(0x234)],zt;function bi(){var _0x47502f=_0x3cab7a;return zt||(zt=0x1,function(_0x5af306,_0x331768){(function(_0x3a4d69,_0x4cffa2){var _0x4df386=_0x14df;_0x5af306[_0x4df386(0x234)]=_0x4cffa2(te());}(dn,function(_0x4dbeab){var _0x4a8449=_0x14df;return(function(){var _0x11d514=_0x14df,_0x373d4e=_0x4dbeab,_0x3f546b=_0x373d4e[_0x11d514(0x3b3)],_0x3b8856=_0x3f546b[_0x11d514(0x368)],_0x3dfee1=_0x373d4e[_0x11d514(0x1e8)];_0x3dfee1[_0x11d514(0x1dc)]={'stringify':function(_0x226fd5){var _0x100a1f=_0x11d514,_0x3e0e8a=_0x226fd5[_0x100a1f(0x2d8)],_0x5dff66=_0x226fd5[_0x100a1f(0x1e7)],_0x12346c=this['_map'];_0x226fd5[_0x100a1f(0x302)]();for(var _0xd1c5fd=[],_0x21127e=0x0;_0x21127e<_0x5dff66;_0x21127e+=0x3)for(var _0x40343a=_0x3e0e8a[_0x21127e>>>0x2]>>>0x18-_0x21127e%0x4*0x8&0xff,_0x458612=_0x3e0e8a[_0x21127e+0x1>>>0x2]>>>0x18-(_0x21127e+0x1)%0x4*0x8&0xff,_0x8658dc=_0x3e0e8a[_0x21127e+0x2>>>0x2]>>>0x18-(_0x21127e+0x2)%0x4*0x8&0xff,_0xb361b5=_0x40343a<<0x10|_0x458612<<0x8|_0x8658dc,_0x2d16e4=0x0;_0x2d16e4<0x4&&_0x21127e+_0x2d16e4*0.75<_0x5dff66;_0x2d16e4++)_0xd1c5fd[_0x100a1f(0x192)](_0x12346c[_0x100a1f(0x381)](_0xb361b5>>>0x6*(0x3-_0x2d16e4)&0x3f));var _0xf57cb=_0x12346c[_0x100a1f(0x381)](0x40);if(_0xf57cb){for(;_0xd1c5fd[_0x100a1f(0x2a6)]%0x4;)_0xd1c5fd[_0x100a1f(0x192)](_0xf57cb);}return _0xd1c5fd[_0x100a1f(0x163)]('');},'parse':function(_0x3106c9){var _0x484d67=_0x11d514,_0x258323=_0x3106c9[_0x484d67(0x2a6)],_0x107283=this[_0x484d67(0x375)],_0x5b6d29=this[_0x484d67(0x11f)];if(!_0x5b6d29){_0x5b6d29=this['_reverseMap']=[];for(var _0x5661d6=0x0;_0x5661d6<_0x107283[_0x484d67(0x2a6)];_0x5661d6++)_0x5b6d29[_0x107283[_0x484d67(0x1f6)](_0x5661d6)]=_0x5661d6;}var _0x120b7b=_0x107283[_0x484d67(0x381)](0x40);if(_0x120b7b){var _0x9f714c=_0x3106c9[_0x484d67(0x3a1)](_0x120b7b);_0x9f714c!==-0x1&&(_0x258323=_0x9f714c);}return _0xbdfc71(_0x3106c9,_0x258323,_0x5b6d29);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xbdfc71(_0x3c33ad,_0x3f3cc2,_0x34fa77){var _0x1e9295=_0x11d514;for(var _0x29a777=[],_0x3fa59b=0x0,_0x3b736b=0x0;_0x3b736b<_0x3f3cc2;_0x3b736b++)if(_0x3b736b%0x4){var _0x4e757a=_0x34fa77[_0x3c33ad[_0x1e9295(0x1f6)](_0x3b736b-0x1)]<<_0x3b736b%0x4*0x2,_0x47d78b=_0x34fa77[_0x3c33ad[_0x1e9295(0x1f6)](_0x3b736b)]>>>0x6-_0x3b736b%0x4*0x2,_0x18a97a=_0x4e757a|_0x47d78b;_0x29a777[_0x3fa59b>>>0x2]|=_0x18a97a<<0x18-_0x3fa59b%0x4*0x8,_0x3fa59b++;}return _0x3b8856[_0x1e9295(0x1e5)](_0x29a777,_0x3fa59b);}}()),_0x4dbeab[_0x4a8449(0x1e8)][_0x4a8449(0x1dc)];}));}(Ye)),Ye[_0x47502f(0x234)];}var We={'exports':{}},fn=We[_0x3cab7a(0x234)],Jt;function vn(){var _0x515d3e=_0x3cab7a;return Jt||(Jt=0x1,function(_0x595978,_0x5a0663){(function(_0x439062,_0x3b9bca){var _0x5b710b=_0x14df;_0x595978[_0x5b710b(0x234)]=_0x3b9bca(te());}(fn,function(_0x36303f){var _0x384aa5=_0x14df;return function(_0x525a5c){var _0x2dbd23=_0x14df,_0x4cb5dd=_0x36303f,_0x3bb349=_0x4cb5dd['lib'],_0x1ce7e3=_0x3bb349[_0x2dbd23(0x368)],_0x54a789=_0x3bb349[_0x2dbd23(0x277)],_0x45b29d=_0x4cb5dd[_0x2dbd23(0x22a)],_0x3440bd=[];(function(){var _0x36da2e=_0x2dbd23;for(var _0x36dbb9=0x0;_0x36dbb9<0x40;_0x36dbb9++)_0x3440bd[_0x36dbb9]=_0x525a5c[_0x36da2e(0x1d7)](_0x525a5c[_0x36da2e(0x229)](_0x36dbb9+0x1))*0x100000000|0x0;}());var _0x41ec38=_0x45b29d[_0x2dbd23(0x269)]=_0x54a789[_0x2dbd23(0x13e)]({'_doReset':function(){var _0xb9c477=_0x2dbd23;this['_hash']=new _0x1ce7e3[(_0xb9c477(0x247))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x21e7e9,_0x40abaf){var _0x52a42c=_0x2dbd23;for(var _0x6f912a=0x0;_0x6f912a<0x10;_0x6f912a++){var _0x53991b=_0x40abaf+_0x6f912a,_0x5ea549=_0x21e7e9[_0x53991b];_0x21e7e9[_0x53991b]=(_0x5ea549<<0x8|_0x5ea549>>>0x18)&0xff00ff|(_0x5ea549<<0x18|_0x5ea549>>>0x8)&0xff00ff00;}var _0x56d189=this[_0x52a42c(0x10d)][_0x52a42c(0x2d8)],_0x171745=_0x21e7e9[_0x40abaf+0x0],_0x396834=_0x21e7e9[_0x40abaf+0x1],_0x2ab316=_0x21e7e9[_0x40abaf+0x2],_0x7119fa=_0x21e7e9[_0x40abaf+0x3],_0x1fde23=_0x21e7e9[_0x40abaf+0x4],_0x44756e=_0x21e7e9[_0x40abaf+0x5],_0x2d7ef2=_0x21e7e9[_0x40abaf+0x6],_0x2d0f6e=_0x21e7e9[_0x40abaf+0x7],_0xffc0cc=_0x21e7e9[_0x40abaf+0x8],_0x4eb2df=_0x21e7e9[_0x40abaf+0x9],_0x37586b=_0x21e7e9[_0x40abaf+0xa],_0x4ebecf=_0x21e7e9[_0x40abaf+0xb],_0x447856=_0x21e7e9[_0x40abaf+0xc],_0x43040c=_0x21e7e9[_0x40abaf+0xd],_0x197112=_0x21e7e9[_0x40abaf+0xe],_0x401ef3=_0x21e7e9[_0x40abaf+0xf],_0x4bc40c=_0x56d189[0x0],_0xe9efe8=_0x56d189[0x1],_0x21e8ec=_0x56d189[0x2],_0x43eb81=_0x56d189[0x3];_0x4bc40c=_0x41d544(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x171745,0x7,_0x3440bd[0x0]),_0x43eb81=_0x41d544(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x396834,0xc,_0x3440bd[0x1]),_0x21e8ec=_0x41d544(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x2ab316,0x11,_0x3440bd[0x2]),_0xe9efe8=_0x41d544(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x7119fa,0x16,_0x3440bd[0x3]),_0x4bc40c=_0x41d544(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x1fde23,0x7,_0x3440bd[0x4]),_0x43eb81=_0x41d544(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x44756e,0xc,_0x3440bd[0x5]),_0x21e8ec=_0x41d544(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x2d7ef2,0x11,_0x3440bd[0x6]),_0xe9efe8=_0x41d544(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x2d0f6e,0x16,_0x3440bd[0x7]),_0x4bc40c=_0x41d544(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0xffc0cc,0x7,_0x3440bd[0x8]),_0x43eb81=_0x41d544(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x4eb2df,0xc,_0x3440bd[0x9]),_0x21e8ec=_0x41d544(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x37586b,0x11,_0x3440bd[0xa]),_0xe9efe8=_0x41d544(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x4ebecf,0x16,_0x3440bd[0xb]),_0x4bc40c=_0x41d544(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x447856,0x7,_0x3440bd[0xc]),_0x43eb81=_0x41d544(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43040c,0xc,_0x3440bd[0xd]),_0x21e8ec=_0x41d544(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x197112,0x11,_0x3440bd[0xe]),_0xe9efe8=_0x41d544(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x401ef3,0x16,_0x3440bd[0xf]),_0x4bc40c=_0x5dff73(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x396834,0x5,_0x3440bd[0x10]),_0x43eb81=_0x5dff73(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x2d7ef2,0x9,_0x3440bd[0x11]),_0x21e8ec=_0x5dff73(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x4ebecf,0xe,_0x3440bd[0x12]),_0xe9efe8=_0x5dff73(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x171745,0x14,_0x3440bd[0x13]),_0x4bc40c=_0x5dff73(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x44756e,0x5,_0x3440bd[0x14]),_0x43eb81=_0x5dff73(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x37586b,0x9,_0x3440bd[0x15]),_0x21e8ec=_0x5dff73(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x401ef3,0xe,_0x3440bd[0x16]),_0xe9efe8=_0x5dff73(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x1fde23,0x14,_0x3440bd[0x17]),_0x4bc40c=_0x5dff73(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4eb2df,0x5,_0x3440bd[0x18]),_0x43eb81=_0x5dff73(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x197112,0x9,_0x3440bd[0x19]),_0x21e8ec=_0x5dff73(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x7119fa,0xe,_0x3440bd[0x1a]),_0xe9efe8=_0x5dff73(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0xffc0cc,0x14,_0x3440bd[0x1b]),_0x4bc40c=_0x5dff73(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x43040c,0x5,_0x3440bd[0x1c]),_0x43eb81=_0x5dff73(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x2ab316,0x9,_0x3440bd[0x1d]),_0x21e8ec=_0x5dff73(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x2d0f6e,0xe,_0x3440bd[0x1e]),_0xe9efe8=_0x5dff73(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x447856,0x14,_0x3440bd[0x1f]),_0x4bc40c=_0x42c89f(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x44756e,0x4,_0x3440bd[0x20]),_0x43eb81=_0x42c89f(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0xffc0cc,0xb,_0x3440bd[0x21]),_0x21e8ec=_0x42c89f(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x4ebecf,0x10,_0x3440bd[0x22]),_0xe9efe8=_0x42c89f(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x197112,0x17,_0x3440bd[0x23]),_0x4bc40c=_0x42c89f(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x396834,0x4,_0x3440bd[0x24]),_0x43eb81=_0x42c89f(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x1fde23,0xb,_0x3440bd[0x25]),_0x21e8ec=_0x42c89f(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x2d0f6e,0x10,_0x3440bd[0x26]),_0xe9efe8=_0x42c89f(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x37586b,0x17,_0x3440bd[0x27]),_0x4bc40c=_0x42c89f(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x43040c,0x4,_0x3440bd[0x28]),_0x43eb81=_0x42c89f(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x171745,0xb,_0x3440bd[0x29]),_0x21e8ec=_0x42c89f(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x7119fa,0x10,_0x3440bd[0x2a]),_0xe9efe8=_0x42c89f(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x2d7ef2,0x17,_0x3440bd[0x2b]),_0x4bc40c=_0x42c89f(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4eb2df,0x4,_0x3440bd[0x2c]),_0x43eb81=_0x42c89f(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x447856,0xb,_0x3440bd[0x2d]),_0x21e8ec=_0x42c89f(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x401ef3,0x10,_0x3440bd[0x2e]),_0xe9efe8=_0x42c89f(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x2ab316,0x17,_0x3440bd[0x2f]),_0x4bc40c=_0x55d3bf(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x171745,0x6,_0x3440bd[0x30]),_0x43eb81=_0x55d3bf(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x2d0f6e,0xa,_0x3440bd[0x31]),_0x21e8ec=_0x55d3bf(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x197112,0xf,_0x3440bd[0x32]),_0xe9efe8=_0x55d3bf(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x44756e,0x15,_0x3440bd[0x33]),_0x4bc40c=_0x55d3bf(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x447856,0x6,_0x3440bd[0x34]),_0x43eb81=_0x55d3bf(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x7119fa,0xa,_0x3440bd[0x35]),_0x21e8ec=_0x55d3bf(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x37586b,0xf,_0x3440bd[0x36]),_0xe9efe8=_0x55d3bf(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x396834,0x15,_0x3440bd[0x37]),_0x4bc40c=_0x55d3bf(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0xffc0cc,0x6,_0x3440bd[0x38]),_0x43eb81=_0x55d3bf(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x401ef3,0xa,_0x3440bd[0x39]),_0x21e8ec=_0x55d3bf(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x2d7ef2,0xf,_0x3440bd[0x3a]),_0xe9efe8=_0x55d3bf(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x43040c,0x15,_0x3440bd[0x3b]),_0x4bc40c=_0x55d3bf(_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x43eb81,_0x1fde23,0x6,_0x3440bd[0x3c]),_0x43eb81=_0x55d3bf(_0x43eb81,_0x4bc40c,_0xe9efe8,_0x21e8ec,_0x4ebecf,0xa,_0x3440bd[0x3d]),_0x21e8ec=_0x55d3bf(_0x21e8ec,_0x43eb81,_0x4bc40c,_0xe9efe8,_0x2ab316,0xf,_0x3440bd[0x3e]),_0xe9efe8=_0x55d3bf(_0xe9efe8,_0x21e8ec,_0x43eb81,_0x4bc40c,_0x4eb2df,0x15,_0x3440bd[0x3f]),_0x56d189[0x0]=_0x56d189[0x0]+_0x4bc40c|0x0,_0x56d189[0x1]=_0x56d189[0x1]+_0xe9efe8|0x0,_0x56d189[0x2]=_0x56d189[0x2]+_0x21e8ec|0x0,_0x56d189[0x3]=_0x56d189[0x3]+_0x43eb81|0x0;},'_doFinalize':function(){var _0x34ec12=_0x2dbd23,_0x4b5856=this[_0x34ec12(0x299)],_0x24ec41=_0x4b5856['words'],_0x3c8dc5=this[_0x34ec12(0x255)]*0x8,_0x8d552e=_0x4b5856[_0x34ec12(0x1e7)]*0x8;_0x24ec41[_0x8d552e>>>0x5]|=0x80<<0x18-_0x8d552e%0x20;var _0x3bb0f9=_0x525a5c[_0x34ec12(0x349)](_0x3c8dc5/0x100000000),_0x449857=_0x3c8dc5;_0x24ec41[(_0x8d552e+0x40>>>0x9<<0x4)+0xf]=(_0x3bb0f9<<0x8|_0x3bb0f9>>>0x18)&0xff00ff|(_0x3bb0f9<<0x18|_0x3bb0f9>>>0x8)&0xff00ff00,_0x24ec41[(_0x8d552e+0x40>>>0x9<<0x4)+0xe]=(_0x449857<<0x8|_0x449857>>>0x18)&0xff00ff|(_0x449857<<0x18|_0x449857>>>0x8)&0xff00ff00,_0x4b5856[_0x34ec12(0x1e7)]=(_0x24ec41['length']+0x1)*0x4,this['_process']();for(var _0x400582=this['_hash'],_0x526f7a=_0x400582[_0x34ec12(0x2d8)],_0x4b6daa=0x0;_0x4b6daa<0x4;_0x4b6daa++){var _0x5e4a2d=_0x526f7a[_0x4b6daa];_0x526f7a[_0x4b6daa]=(_0x5e4a2d<<0x8|_0x5e4a2d>>>0x18)&0xff00ff|(_0x5e4a2d<<0x18|_0x5e4a2d>>>0x8)&0xff00ff00;}return _0x400582;},'clone':function(){var _0x352145=_0x2dbd23,_0x3ae9a2=_0x54a789[_0x352145(0x23c)][_0x352145(0x27d)](this);return _0x3ae9a2[_0x352145(0x10d)]=this[_0x352145(0x10d)]['clone'](),_0x3ae9a2;}});function _0x41d544(_0x773c98,_0x159adf,_0x59c3f9,_0x2bf841,_0x265ac1,_0x3f430c,_0x211c64){var _0x53c11a=_0x773c98+(_0x159adf&_0x59c3f9|~_0x159adf&_0x2bf841)+_0x265ac1+_0x211c64;return(_0x53c11a<<_0x3f430c|_0x53c11a>>>0x20-_0x3f430c)+_0x159adf;}function _0x5dff73(_0x3bd01e,_0x1caf02,_0x5b0f8a,_0x30f3c6,_0x48c8b2,_0x5c802b,_0x106251){var _0x4de096=_0x3bd01e+(_0x1caf02&_0x30f3c6|_0x5b0f8a&~_0x30f3c6)+_0x48c8b2+_0x106251;return(_0x4de096<<_0x5c802b|_0x4de096>>>0x20-_0x5c802b)+_0x1caf02;}function _0x42c89f(_0x278f4d,_0x1f4516,_0x546ccf,_0x5022fb,_0x4d8883,_0x28d34e,_0x17d5e7){var _0x1c4a82=_0x278f4d+(_0x1f4516^_0x546ccf^_0x5022fb)+_0x4d8883+_0x17d5e7;return(_0x1c4a82<<_0x28d34e|_0x1c4a82>>>0x20-_0x28d34e)+_0x1f4516;}function _0x55d3bf(_0x1c92e6,_0x40a73d,_0x49c6c3,_0xb2b9cd,_0x571b8b,_0x3e4f97,_0x4089be){var _0x13a883=_0x1c92e6+(_0x49c6c3^(_0x40a73d|~_0xb2b9cd))+_0x571b8b+_0x4089be;return(_0x13a883<<_0x3e4f97|_0x13a883>>>0x20-_0x3e4f97)+_0x40a73d;}_0x4cb5dd[_0x2dbd23(0x269)]=_0x54a789[_0x2dbd23(0x2fe)](_0x41ec38),_0x4cb5dd[_0x2dbd23(0x16a)]=_0x54a789[_0x2dbd23(0x3d3)](_0x41ec38);}(Math),_0x36303f[_0x384aa5(0x269)];}));}(We)),We[_0x515d3e(0x234)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x3cab7a(0x234)],Xt;function mn(){return Xt||(Xt=0x1,function(_0x3f95be,_0x3479d8){(function(_0x47f115,_0x26b074){var _0x369110=_0x14df;_0x3f95be[_0x369110(0x234)]=_0x26b074(te());}(pn,function(_0x26bfff){var _0x54b81e=_0x14df;return(function(){var _0x3caddf=_0x14df,_0x55f85a=_0x26bfff,_0x58b050=_0x55f85a[_0x3caddf(0x3b3)],_0x32a087=_0x58b050[_0x3caddf(0x368)],_0x54404c=_0x58b050[_0x3caddf(0x277)],_0x263c7e=_0x55f85a[_0x3caddf(0x22a)],_0x141bf9=[],_0x10318c=_0x263c7e[_0x3caddf(0x2dc)]=_0x54404c[_0x3caddf(0x13e)]({'_doReset':function(){var _0x5cd0ca=_0x3caddf;this[_0x5cd0ca(0x10d)]=new _0x32a087[(_0x5cd0ca(0x247))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xe5fbba,_0x816a19){var _0x24aa55=_0x3caddf;for(var _0x5015bf=this[_0x24aa55(0x10d)][_0x24aa55(0x2d8)],_0xd287d8=_0x5015bf[0x0],_0x24fe8c=_0x5015bf[0x1],_0x263f8c=_0x5015bf[0x2],_0xc3adc9=_0x5015bf[0x3],_0x55223d=_0x5015bf[0x4],_0x5270a3=0x0;_0x5270a3<0x50;_0x5270a3++){if(_0x5270a3<0x10)_0x141bf9[_0x5270a3]=_0xe5fbba[_0x816a19+_0x5270a3]|0x0;else{var _0x23a8c8=_0x141bf9[_0x5270a3-0x3]^_0x141bf9[_0x5270a3-0x8]^_0x141bf9[_0x5270a3-0xe]^_0x141bf9[_0x5270a3-0x10];_0x141bf9[_0x5270a3]=_0x23a8c8<<0x1|_0x23a8c8>>>0x1f;}var _0x47e0be=(_0xd287d8<<0x5|_0xd287d8>>>0x1b)+_0x55223d+_0x141bf9[_0x5270a3];_0x5270a3<0x14?_0x47e0be+=(_0x24fe8c&_0x263f8c|~_0x24fe8c&_0xc3adc9)+0x5a827999:_0x5270a3<0x28?_0x47e0be+=(_0x24fe8c^_0x263f8c^_0xc3adc9)+0x6ed9eba1:_0x5270a3<0x3c?_0x47e0be+=(_0x24fe8c&_0x263f8c|_0x24fe8c&_0xc3adc9|_0x263f8c&_0xc3adc9)-0x70e44324:_0x47e0be+=(_0x24fe8c^_0x263f8c^_0xc3adc9)-0x359d3e2a,_0x55223d=_0xc3adc9,_0xc3adc9=_0x263f8c,_0x263f8c=_0x24fe8c<<0x1e|_0x24fe8c>>>0x2,_0x24fe8c=_0xd287d8,_0xd287d8=_0x47e0be;}_0x5015bf[0x0]=_0x5015bf[0x0]+_0xd287d8|0x0,_0x5015bf[0x1]=_0x5015bf[0x1]+_0x24fe8c|0x0,_0x5015bf[0x2]=_0x5015bf[0x2]+_0x263f8c|0x0,_0x5015bf[0x3]=_0x5015bf[0x3]+_0xc3adc9|0x0,_0x5015bf[0x4]=_0x5015bf[0x4]+_0x55223d|0x0;},'_doFinalize':function(){var _0x357567=_0x3caddf,_0x8ffcf3=this[_0x357567(0x299)],_0x47cb8a=_0x8ffcf3[_0x357567(0x2d8)],_0x189035=this[_0x357567(0x255)]*0x8,_0x3d03e3=_0x8ffcf3[_0x357567(0x1e7)]*0x8;return _0x47cb8a[_0x3d03e3>>>0x5]|=0x80<<0x18-_0x3d03e3%0x20,_0x47cb8a[(_0x3d03e3+0x40>>>0x9<<0x4)+0xe]=Math[_0x357567(0x349)](_0x189035/0x100000000),_0x47cb8a[(_0x3d03e3+0x40>>>0x9<<0x4)+0xf]=_0x189035,_0x8ffcf3[_0x357567(0x1e7)]=_0x47cb8a[_0x357567(0x2a6)]*0x4,this['_process'](),this[_0x357567(0x10d)];},'clone':function(){var _0x5af530=_0x3caddf,_0x574b1a=_0x54404c[_0x5af530(0x23c)][_0x5af530(0x27d)](this);return _0x574b1a[_0x5af530(0x10d)]=this['_hash']['clone'](),_0x574b1a;}});_0x55f85a[_0x3caddf(0x2dc)]=_0x54404c['_createHelper'](_0x10318c),_0x55f85a[_0x3caddf(0x161)]=_0x54404c[_0x3caddf(0x3d3)](_0x10318c);}()),_0x26bfff[_0x54b81e(0x2dc)];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze[_0x3cab7a(0x234)],Zt;function Sn(){var _0x215ca9=_0x3cab7a;return Zt||(Zt=0x1,function(_0x1756e5,_0x26a778){(function(_0x3890f9,_0x320f15){var _0x2ecea7=_0x14df;_0x1756e5[_0x2ecea7(0x234)]=_0x320f15(te());}(gn,function(_0x8ff2d1){(function(){var _0x14de42=_0x14df,_0x1f258c=_0x8ff2d1,_0x415c25=_0x1f258c[_0x14de42(0x3b3)],_0x526a43=_0x415c25[_0x14de42(0x2f7)],_0x1ffa52=_0x1f258c[_0x14de42(0x1e8)],_0x418860=_0x1ffa52[_0x14de42(0x20b)],_0x59ffe3=_0x1f258c[_0x14de42(0x22a)];_0x59ffe3[_0x14de42(0x283)]=_0x526a43[_0x14de42(0x13e)]({'init':function(_0xffa34f,_0x49fe42){var _0x1ed1ea=_0x14de42;_0xffa34f=this[_0x1ed1ea(0x28f)]=new _0xffa34f[(_0x1ed1ea(0x247))](),typeof _0x49fe42=='string'&&(_0x49fe42=_0x418860[_0x1ed1ea(0x3d9)](_0x49fe42));var _0x2748a7=_0xffa34f[_0x1ed1ea(0x3f2)],_0x2ef84e=_0x2748a7*0x4;_0x49fe42['sigBytes']>_0x2ef84e&&(_0x49fe42=_0xffa34f['finalize'](_0x49fe42)),_0x49fe42[_0x1ed1ea(0x302)]();for(var _0x1a0c41=this[_0x1ed1ea(0x397)]=_0x49fe42[_0x1ed1ea(0x23c)](),_0x4205dc=this['_iKey']=_0x49fe42['clone'](),_0x5bad25=_0x1a0c41[_0x1ed1ea(0x2d8)],_0x17e6fc=_0x4205dc[_0x1ed1ea(0x2d8)],_0xcc1c92=0x0;_0xcc1c92<_0x2748a7;_0xcc1c92++)_0x5bad25[_0xcc1c92]^=0x5c5c5c5c,_0x17e6fc[_0xcc1c92]^=0x36363636;_0x1a0c41[_0x1ed1ea(0x1e7)]=_0x4205dc[_0x1ed1ea(0x1e7)]=_0x2ef84e,this[_0x1ed1ea(0x22f)]();},'reset':function(){var _0x4092bc=_0x14de42,_0x3ecc6=this[_0x4092bc(0x28f)];_0x3ecc6[_0x4092bc(0x22f)](),_0x3ecc6['update'](this[_0x4092bc(0x217)]);},'update':function(_0x446226){var _0x58d2ee=_0x14de42;return this[_0x58d2ee(0x28f)][_0x58d2ee(0x1b3)](_0x446226),this;},'finalize':function(_0x1e4987){var _0x484040=_0x14de42,_0x3de648=this[_0x484040(0x28f)],_0x1ea4a6=_0x3de648[_0x484040(0x2d0)](_0x1e4987);_0x3de648[_0x484040(0x22f)]();var _0x2003a4=_0x3de648['finalize'](this[_0x484040(0x397)][_0x484040(0x23c)]()[_0x484040(0x354)](_0x1ea4a6));return _0x2003a4;}});}());}));}(ze)),ze[_0x215ca9(0x234)];}var En=Ke['exports'],Qt;function yi(){var _0x12f780=_0x3cab7a;return Qt||(Qt=0x1,function(_0x5c4b45,_0x135e78){(function(_0x25b781,_0x165cf5,_0x4c6a14){_0x5c4b45['exports']=_0x165cf5(te(),mn(),Sn());}(En,function(_0xf9f4f5){var _0x4aa323=_0x14df;return(function(){var _0x2a4c3b=_0x14df,_0x122468=_0xf9f4f5,_0x2c0256=_0x122468[_0x2a4c3b(0x3b3)],_0xe5277d=_0x2c0256[_0x2a4c3b(0x2f7)],_0x4e9385=_0x2c0256[_0x2a4c3b(0x368)],_0x1a9f9b=_0x122468[_0x2a4c3b(0x22a)],_0x5958ab=_0x1a9f9b[_0x2a4c3b(0x269)],_0x593ac1=_0x1a9f9b[_0x2a4c3b(0x3c1)]=_0xe5277d[_0x2a4c3b(0x13e)]({'cfg':_0xe5277d['extend']({'keySize':0x80/0x20,'hasher':_0x5958ab,'iterations':0x1}),'init':function(_0x384283){var _0x40cacc=_0x2a4c3b;this[_0x40cacc(0x253)]=this[_0x40cacc(0x253)]['extend'](_0x384283);},'compute':function(_0x1eaeef,_0x2c1911){var _0x38e882=_0x2a4c3b;for(var _0x1cd8e3,_0x25b86a=this[_0x38e882(0x253)],_0x4a8f33=_0x25b86a['hasher'][_0x38e882(0x1e5)](),_0x383f8f=_0x4e9385[_0x38e882(0x1e5)](),_0x433d50=_0x383f8f[_0x38e882(0x2d8)],_0x3e5fac=_0x25b86a[_0x38e882(0x126)],_0x15bd9c=_0x25b86a[_0x38e882(0x3bc)];_0x433d50[_0x38e882(0x2a6)]<_0x3e5fac;){_0x1cd8e3&&_0x4a8f33[_0x38e882(0x1b3)](_0x1cd8e3),_0x1cd8e3=_0x4a8f33['update'](_0x1eaeef)[_0x38e882(0x2d0)](_0x2c1911),_0x4a8f33[_0x38e882(0x22f)]();for(var _0x1bbaab=0x1;_0x1bbaab<_0x15bd9c;_0x1bbaab++)_0x1cd8e3=_0x4a8f33['finalize'](_0x1cd8e3),_0x4a8f33[_0x38e882(0x22f)]();_0x383f8f['concat'](_0x1cd8e3);}return _0x383f8f[_0x38e882(0x1e7)]=_0x3e5fac*0x4,_0x383f8f;}});_0x122468[_0x2a4c3b(0x3c1)]=function(_0x10faba,_0x5815f8,_0x5af905){var _0x223bf2=_0x2a4c3b;return _0x593ac1[_0x223bf2(0x1e5)](_0x5af905)[_0x223bf2(0x2d1)](_0x10faba,_0x5815f8);};}()),_0xf9f4f5[_0x4aa323(0x3c1)];}));}(Ke)),Ke[_0x12f780(0x234)];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){var _0x34d9be=_0x3cab7a;return ei||(ei=0x1,function(_0x4e505c,_0x5137ea){(function(_0x2c8a45,_0x295c77,_0x2caa64){var _0x36289b=_0x14df;_0x4e505c[_0x36289b(0x234)]=_0x295c77(te(),yi());}(In,function(_0x333ec4){var _0x66594=_0x14df;_0x333ec4[_0x66594(0x3b3)][_0x66594(0x252)]||function(_0x3fc54e){var _0x3c1593=_0x66594,_0x8b5e4b=_0x333ec4,_0x3cfbd6=_0x8b5e4b[_0x3c1593(0x3b3)],_0x34d9d0=_0x3cfbd6[_0x3c1593(0x2f7)],_0x2741ce=_0x3cfbd6[_0x3c1593(0x368)],_0x489ac0=_0x3cfbd6[_0x3c1593(0x373)],_0x732f07=_0x8b5e4b[_0x3c1593(0x1e8)];_0x732f07[_0x3c1593(0x20b)];var _0x5e5de7=_0x732f07[_0x3c1593(0x1dc)],_0x5828cc=_0x8b5e4b[_0x3c1593(0x22a)],_0x5e2469=_0x5828cc[_0x3c1593(0x3c1)],_0x36cfda=_0x3cfbd6['Cipher']=_0x489ac0[_0x3c1593(0x13e)]({'cfg':_0x34d9d0[_0x3c1593(0x13e)](),'createEncryptor':function(_0x3b37b6,_0x5d0eee){var _0x59e9a2=_0x3c1593;return this[_0x59e9a2(0x1e5)](this['_ENC_XFORM_MODE'],_0x3b37b6,_0x5d0eee);},'createDecryptor':function(_0x516db8,_0x491610){var _0x5dadba=_0x3c1593;return this[_0x5dadba(0x1e5)](this[_0x5dadba(0x23b)],_0x516db8,_0x491610);},'init':function(_0x16ad77,_0x578d0b,_0x3c4af0){var _0x1c2c92=_0x3c1593;this['cfg']=this[_0x1c2c92(0x253)]['extend'](_0x3c4af0),this[_0x1c2c92(0x205)]=_0x16ad77,this[_0x1c2c92(0x2ac)]=_0x578d0b,this[_0x1c2c92(0x22f)]();},'reset':function(){var _0x5855f6=_0x3c1593;_0x489ac0['reset'][_0x5855f6(0x27d)](this),this[_0x5855f6(0x404)]();},'process':function(_0x5058fc){var _0x1a2509=_0x3c1593;return this[_0x1a2509(0x25a)](_0x5058fc),this[_0x1a2509(0x2c9)]();},'finalize':function(_0x2d8ad6){var _0x116e3f=_0x3c1593;_0x2d8ad6&&this['_append'](_0x2d8ad6);var _0x5656b9=this[_0x116e3f(0x18f)]();return _0x5656b9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3907b1(_0x31ec52){var _0x550f76=_0x14df;return typeof _0x31ec52==_0x550f76(0x110)?_0x459f32:_0x3f9ec7;}return function(_0x39d30a){return{'encrypt':function(_0x6b1d65,_0x2b4fcb,_0x333131){var _0x3a5918=_0x14df;return _0x3907b1(_0x2b4fcb)[_0x3a5918(0x304)](_0x39d30a,_0x6b1d65,_0x2b4fcb,_0x333131);},'decrypt':function(_0x77d7b9,_0x522240,_0x1f308a){var _0x25eda3=_0x14df;return _0x3907b1(_0x522240)[_0x25eda3(0x26b)](_0x39d30a,_0x77d7b9,_0x522240,_0x1f308a);}};};}())});_0x3cfbd6['StreamCipher']=_0x36cfda[_0x3c1593(0x13e)]({'_doFinalize':function(){var _0x5e2df2=_0x3c1593,_0x487d9c=this[_0x5e2df2(0x2c9)](!0x0);return _0x487d9c;},'blockSize':0x1});var _0x53a993=_0x8b5e4b[_0x3c1593(0x2a7)]={},_0x1b4019=_0x3cfbd6['BlockCipherMode']=_0x34d9d0[_0x3c1593(0x13e)]({'createEncryptor':function(_0x401e53,_0x4b78f8){var _0x38e4d6=_0x3c1593;return this[_0x38e4d6(0x284)][_0x38e4d6(0x1e5)](_0x401e53,_0x4b78f8);},'createDecryptor':function(_0x337311,_0x404a38){var _0x27ed24=_0x3c1593;return this[_0x27ed24(0x16b)][_0x27ed24(0x1e5)](_0x337311,_0x404a38);},'init':function(_0x2b1c48,_0x371de8){var _0x4199e2=_0x3c1593;this[_0x4199e2(0x180)]=_0x2b1c48,this[_0x4199e2(0x116)]=_0x371de8;}}),_0x44ece7=_0x53a993[_0x3c1593(0x1ac)]=(function(){var _0x307c8a=_0x3c1593,_0x10d8dd=_0x1b4019[_0x307c8a(0x13e)]();_0x10d8dd[_0x307c8a(0x284)]=_0x10d8dd[_0x307c8a(0x13e)]({'processBlock':function(_0x7af144,_0x3824ff){var _0x52c0f7=_0x307c8a,_0x4aa262=this[_0x52c0f7(0x180)],_0x3c3e03=_0x4aa262[_0x52c0f7(0x3f2)];_0x29fa89[_0x52c0f7(0x27d)](this,_0x7af144,_0x3824ff,_0x3c3e03),_0x4aa262['encryptBlock'](_0x7af144,_0x3824ff),this['_prevBlock']=_0x7af144[_0x52c0f7(0x382)](_0x3824ff,_0x3824ff+_0x3c3e03);}}),_0x10d8dd['Decryptor']=_0x10d8dd['extend']({'processBlock':function(_0x2ee73e,_0x10ae6a){var _0xd78636=_0x307c8a,_0x46eef4=this[_0xd78636(0x180)],_0x59e92c=_0x46eef4[_0xd78636(0x3f2)],_0x14aeb2=_0x2ee73e[_0xd78636(0x382)](_0x10ae6a,_0x10ae6a+_0x59e92c);_0x46eef4[_0xd78636(0x1f1)](_0x2ee73e,_0x10ae6a),_0x29fa89[_0xd78636(0x27d)](this,_0x2ee73e,_0x10ae6a,_0x59e92c),this[_0xd78636(0x26f)]=_0x14aeb2;}});function _0x29fa89(_0xe7f014,_0x368037,_0xe03b60){var _0x1249e8=_0x307c8a,_0x4cdb7d,_0x1603fb=this[_0x1249e8(0x116)];_0x1603fb?(_0x4cdb7d=_0x1603fb,this[_0x1249e8(0x116)]=_0x3fc54e):_0x4cdb7d=this[_0x1249e8(0x26f)];for(var _0x36a874=0x0;_0x36a874<_0xe03b60;_0x36a874++)_0xe7f014[_0x368037+_0x36a874]^=_0x4cdb7d[_0x36a874];}return _0x10d8dd;}()),_0x534cb6=_0x8b5e4b[_0x3c1593(0x221)]={},_0x20f57d=_0x534cb6[_0x3c1593(0x25e)]={'pad':function(_0xd7ede5,_0x4439e7){var _0x132cf0=_0x3c1593;for(var _0x4b71a7=_0x4439e7*0x4,_0xa9b336=_0x4b71a7-_0xd7ede5[_0x132cf0(0x1e7)]%_0x4b71a7,_0x579d63=_0xa9b336<<0x18|_0xa9b336<<0x10|_0xa9b336<<0x8|_0xa9b336,_0x7b1353=[],_0x3b29a1=0x0;_0x3b29a1<_0xa9b336;_0x3b29a1+=0x4)_0x7b1353[_0x132cf0(0x192)](_0x579d63);var _0x5c0b76=_0x2741ce[_0x132cf0(0x1e5)](_0x7b1353,_0xa9b336);_0xd7ede5[_0x132cf0(0x354)](_0x5c0b76);},'unpad':function(_0x1c78d9){var _0x107164=_0x3c1593,_0xffdc39=_0x1c78d9[_0x107164(0x2d8)][_0x1c78d9[_0x107164(0x1e7)]-0x1>>>0x2]&0xff;_0x1c78d9[_0x107164(0x1e7)]-=_0xffdc39;}};_0x3cfbd6[_0x3c1593(0x2ef)]=_0x36cfda[_0x3c1593(0x13e)]({'cfg':_0x36cfda[_0x3c1593(0x253)][_0x3c1593(0x13e)]({'mode':_0x44ece7,'padding':_0x20f57d}),'reset':function(){var _0x38ef30=_0x3c1593,_0x42a4b9;_0x36cfda['reset'][_0x38ef30(0x27d)](this);var _0x4fcc46=this[_0x38ef30(0x253)],_0x1e4c53=_0x4fcc46['iv'],_0x21e53c=_0x4fcc46[_0x38ef30(0x2a7)];this[_0x38ef30(0x205)]==this[_0x38ef30(0x3be)]?_0x42a4b9=_0x21e53c['createEncryptor']:(_0x42a4b9=_0x21e53c['createDecryptor'],this[_0x38ef30(0x406)]=0x1),this['_mode']&&this[_0x38ef30(0x1ab)][_0x38ef30(0x1ec)]==_0x42a4b9?this[_0x38ef30(0x1ab)][_0x38ef30(0x247)](this,_0x1e4c53&&_0x1e4c53[_0x38ef30(0x2d8)]):(this[_0x38ef30(0x1ab)]=_0x42a4b9[_0x38ef30(0x27d)](_0x21e53c,this,_0x1e4c53&&_0x1e4c53[_0x38ef30(0x2d8)]),this[_0x38ef30(0x1ab)][_0x38ef30(0x1ec)]=_0x42a4b9);},'_doProcessBlock':function(_0x508d16,_0x3d1443){var _0x3ecbe8=_0x3c1593;this[_0x3ecbe8(0x1ab)][_0x3ecbe8(0x13b)](_0x508d16,_0x3d1443);},'_doFinalize':function(){var _0x1bb7ba=_0x3c1593,_0x101b11,_0x2482a8=this[_0x1bb7ba(0x253)]['padding'];return this['_xformMode']==this[_0x1bb7ba(0x3be)]?(_0x2482a8[_0x1bb7ba(0x221)](this[_0x1bb7ba(0x299)],this[_0x1bb7ba(0x3f2)]),_0x101b11=this['_process'](!0x0)):(_0x101b11=this[_0x1bb7ba(0x2c9)](!0x0),_0x2482a8['unpad'](_0x101b11)),_0x101b11;},'blockSize':0x80/0x20});var _0x212dd1=_0x3cfbd6[_0x3c1593(0x25c)]=_0x34d9d0[_0x3c1593(0x13e)]({'init':function(_0x355a6d){this['mixIn'](_0x355a6d);},'toString':function(_0x440469){var _0x1e4155=_0x3c1593;return(_0x440469||this[_0x1e4155(0x1ca)])[_0x1e4155(0x243)](this);}}),_0x1f2f53=_0x8b5e4b[_0x3c1593(0x392)]={},_0x4b2aa7=_0x1f2f53[_0x3c1593(0x267)]={'stringify':function(_0x2b4ae0){var _0xc31187=_0x3c1593,_0x34cfc5,_0x17263f=_0x2b4ae0[_0xc31187(0x3df)],_0x5d77ef=_0x2b4ae0[_0xc31187(0x3c7)];return _0x5d77ef?_0x34cfc5=_0x2741ce['create']([0x53616c74,0x65645f5f])[_0xc31187(0x354)](_0x5d77ef)[_0xc31187(0x354)](_0x17263f):_0x34cfc5=_0x17263f,_0x34cfc5[_0xc31187(0x109)](_0x5e5de7);},'parse':function(_0x24e854){var _0x3ddbd1=_0x3c1593,_0x46f2c4,_0x4eab15=_0x5e5de7['parse'](_0x24e854),_0x5243c8=_0x4eab15[_0x3ddbd1(0x2d8)];return _0x5243c8[0x0]==0x53616c74&&_0x5243c8[0x1]==0x65645f5f&&(_0x46f2c4=_0x2741ce['create'](_0x5243c8[_0x3ddbd1(0x382)](0x2,0x4)),_0x5243c8[_0x3ddbd1(0x1be)](0x0,0x4),_0x4eab15[_0x3ddbd1(0x1e7)]-=0x10),_0x212dd1[_0x3ddbd1(0x1e5)]({'ciphertext':_0x4eab15,'salt':_0x46f2c4});}},_0x3f9ec7=_0x3cfbd6[_0x3c1593(0x399)]=_0x34d9d0[_0x3c1593(0x13e)]({'cfg':_0x34d9d0[_0x3c1593(0x13e)]({'format':_0x4b2aa7}),'encrypt':function(_0x384b00,_0x43eab2,_0x885257,_0x2c8d0c){var _0x5a3100=_0x3c1593;_0x2c8d0c=this['cfg'][_0x5a3100(0x13e)](_0x2c8d0c);var _0x33d11d=_0x384b00[_0x5a3100(0x3f9)](_0x885257,_0x2c8d0c),_0x444bae=_0x33d11d[_0x5a3100(0x2d0)](_0x43eab2),_0x2c8084=_0x33d11d[_0x5a3100(0x253)];return _0x212dd1[_0x5a3100(0x1e5)]({'ciphertext':_0x444bae,'key':_0x885257,'iv':_0x2c8084['iv'],'algorithm':_0x384b00,'mode':_0x2c8084[_0x5a3100(0x2a7)],'padding':_0x2c8084['padding'],'blockSize':_0x384b00[_0x5a3100(0x3f2)],'formatter':_0x2c8d0c['format']});},'decrypt':function(_0x946ce,_0x595e51,_0x3cb915,_0x8d1ab0){var _0x3f9584=_0x3c1593;_0x8d1ab0=this[_0x3f9584(0x253)][_0x3f9584(0x13e)](_0x8d1ab0),_0x595e51=this[_0x3f9584(0x200)](_0x595e51,_0x8d1ab0[_0x3f9584(0x392)]);var _0x4ddd1e=_0x946ce[_0x3f9584(0x408)](_0x3cb915,_0x8d1ab0)['finalize'](_0x595e51['ciphertext']);return _0x4ddd1e;},'_parse':function(_0x4f8320,_0x2498b2){var _0x3bf75f=_0x3c1593;return typeof _0x4f8320==_0x3bf75f(0x110)?_0x2498b2[_0x3bf75f(0x3d9)](_0x4f8320,this):_0x4f8320;}}),_0x3de424=_0x8b5e4b[_0x3c1593(0x32f)]={},_0x36ff9c=_0x3de424[_0x3c1593(0x267)]={'execute':function(_0x47e13e,_0x5e9a27,_0x4ae7aa,_0x8f8daf,_0x1da478){var _0x66412a=_0x3c1593;if(_0x8f8daf||(_0x8f8daf=_0x2741ce['random'](0x40/0x8)),_0x1da478)var _0x15f574=_0x5e2469[_0x66412a(0x1e5)]({'keySize':_0x5e9a27+_0x4ae7aa,'hasher':_0x1da478})[_0x66412a(0x2d1)](_0x47e13e,_0x8f8daf);else var _0x15f574=_0x5e2469[_0x66412a(0x1e5)]({'keySize':_0x5e9a27+_0x4ae7aa})[_0x66412a(0x2d1)](_0x47e13e,_0x8f8daf);var _0x5bdb50=_0x2741ce['create'](_0x15f574[_0x66412a(0x2d8)][_0x66412a(0x382)](_0x5e9a27),_0x4ae7aa*0x4);return _0x15f574[_0x66412a(0x1e7)]=_0x5e9a27*0x4,_0x212dd1[_0x66412a(0x1e5)]({'key':_0x15f574,'iv':_0x5bdb50,'salt':_0x8f8daf});}},_0x459f32=_0x3cfbd6[_0x3c1593(0x407)]=_0x3f9ec7['extend']({'cfg':_0x3f9ec7[_0x3c1593(0x253)][_0x3c1593(0x13e)]({'kdf':_0x36ff9c}),'encrypt':function(_0x380dd3,_0x261dfb,_0x26940b,_0x1f036c){var _0x4f907f=_0x3c1593;_0x1f036c=this['cfg']['extend'](_0x1f036c);var _0x59341a=_0x1f036c[_0x4f907f(0x32f)]['execute'](_0x26940b,_0x380dd3['keySize'],_0x380dd3[_0x4f907f(0x327)],_0x1f036c[_0x4f907f(0x3c7)],_0x1f036c[_0x4f907f(0x185)]);_0x1f036c['iv']=_0x59341a['iv'];var _0x49d235=_0x3f9ec7['encrypt'][_0x4f907f(0x27d)](this,_0x380dd3,_0x261dfb,_0x59341a['key'],_0x1f036c);return _0x49d235[_0x4f907f(0x270)](_0x59341a),_0x49d235;},'decrypt':function(_0x1f8200,_0x53312f,_0x28f5f4,_0x5e738f){var _0xd7c84f=_0x3c1593;_0x5e738f=this[_0xd7c84f(0x253)][_0xd7c84f(0x13e)](_0x5e738f),_0x53312f=this[_0xd7c84f(0x200)](_0x53312f,_0x5e738f[_0xd7c84f(0x392)]);var _0x2e3e31=_0x5e738f[_0xd7c84f(0x32f)][_0xd7c84f(0x2a0)](_0x28f5f4,_0x1f8200[_0xd7c84f(0x126)],_0x1f8200[_0xd7c84f(0x327)],_0x53312f['salt'],_0x5e738f[_0xd7c84f(0x185)]);_0x5e738f['iv']=_0x2e3e31['iv'];var _0x159ab9=_0x3f9ec7[_0xd7c84f(0x26b)]['call'](this,_0x1f8200,_0x53312f,_0x2e3e31[_0xd7c84f(0x3a3)],_0x5e738f);return _0x159ab9;}});}();}));}(Je)),Je[_0x34d9be(0x234)];}var Tn=Ve['exports'],ti;function Cn(){return ti||(ti=0x1,function(_0x43cf88,_0x18fed3){(function(_0x2d719d,_0xa1ee0f,_0x564fe6){_0x43cf88['exports']=_0xa1ee0f(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x468cf3){return(function(){var _0x37a9e4=_0x14df,_0x115e9b=_0x468cf3,_0x950b1c=_0x115e9b[_0x37a9e4(0x3b3)],_0x4d767b=_0x950b1c['BlockCipher'],_0xc2159b=_0x115e9b['algo'],_0xd755ff=[],_0x1e658d=[],_0x14c08e=[],_0x1c39b2=[],_0x4f8cd5=[],_0x25557a=[],_0x37f66e=[],_0x17482a=[],_0x426942=[],_0x224f9f=[];(function(){for(var _0x5f1c5d=[],_0xbc386c=0x0;_0xbc386c<0x100;_0xbc386c++)_0xbc386c<0x80?_0x5f1c5d[_0xbc386c]=_0xbc386c<<0x1:_0x5f1c5d[_0xbc386c]=_0xbc386c<<0x1^0x11b;for(var _0x325406=0x0,_0x50ea32=0x0,_0xbc386c=0x0;_0xbc386c<0x100;_0xbc386c++){var _0x3322cf=_0x50ea32^_0x50ea32<<0x1^_0x50ea32<<0x2^_0x50ea32<<0x3^_0x50ea32<<0x4;_0x3322cf=_0x3322cf>>>0x8^_0x3322cf&0xff^0x63,_0xd755ff[_0x325406]=_0x3322cf,_0x1e658d[_0x3322cf]=_0x325406;var _0x213913=_0x5f1c5d[_0x325406],_0xdae09d=_0x5f1c5d[_0x213913],_0x203ddf=_0x5f1c5d[_0xdae09d],_0x25f8e9=_0x5f1c5d[_0x3322cf]*0x101^_0x3322cf*0x1010100;_0x14c08e[_0x325406]=_0x25f8e9<<0x18|_0x25f8e9>>>0x8,_0x1c39b2[_0x325406]=_0x25f8e9<<0x10|_0x25f8e9>>>0x10,_0x4f8cd5[_0x325406]=_0x25f8e9<<0x8|_0x25f8e9>>>0x18,_0x25557a[_0x325406]=_0x25f8e9;var _0x25f8e9=_0x203ddf*0x1010101^_0xdae09d*0x10001^_0x213913*0x101^_0x325406*0x1010100;_0x37f66e[_0x3322cf]=_0x25f8e9<<0x18|_0x25f8e9>>>0x8,_0x17482a[_0x3322cf]=_0x25f8e9<<0x10|_0x25f8e9>>>0x10,_0x426942[_0x3322cf]=_0x25f8e9<<0x8|_0x25f8e9>>>0x18,_0x224f9f[_0x3322cf]=_0x25f8e9,_0x325406?(_0x325406=_0x213913^_0x5f1c5d[_0x5f1c5d[_0x5f1c5d[_0x203ddf^_0x213913]]],_0x50ea32^=_0x5f1c5d[_0x5f1c5d[_0x50ea32]]):_0x325406=_0x50ea32=0x1;}}());var _0x35bba3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3c9e5d=_0xc2159b[_0x37a9e4(0x169)]=_0x4d767b[_0x37a9e4(0x13e)]({'_doReset':function(){var _0x6f4a80=_0x37a9e4,_0x5be82f;if(!(this[_0x6f4a80(0x3d4)]&&this[_0x6f4a80(0x156)]===this[_0x6f4a80(0x2ac)])){for(var _0x7c058a=this['_keyPriorReset']=this[_0x6f4a80(0x2ac)],_0xee4c41=_0x7c058a[_0x6f4a80(0x2d8)],_0x52410d=_0x7c058a[_0x6f4a80(0x1e7)]/0x4,_0x17227f=this['_nRounds']=_0x52410d+0x6,_0xf892d9=(_0x17227f+0x1)*0x4,_0x449527=this[_0x6f4a80(0x30e)]=[],_0x14910e=0x0;_0x14910e<_0xf892d9;_0x14910e++)_0x14910e<_0x52410d?_0x449527[_0x14910e]=_0xee4c41[_0x14910e]:(_0x5be82f=_0x449527[_0x14910e-0x1],_0x14910e%_0x52410d?_0x52410d>0x6&&_0x14910e%_0x52410d==0x4&&(_0x5be82f=_0xd755ff[_0x5be82f>>>0x18]<<0x18|_0xd755ff[_0x5be82f>>>0x10&0xff]<<0x10|_0xd755ff[_0x5be82f>>>0x8&0xff]<<0x8|_0xd755ff[_0x5be82f&0xff]):(_0x5be82f=_0x5be82f<<0x8|_0x5be82f>>>0x18,_0x5be82f=_0xd755ff[_0x5be82f>>>0x18]<<0x18|_0xd755ff[_0x5be82f>>>0x10&0xff]<<0x10|_0xd755ff[_0x5be82f>>>0x8&0xff]<<0x8|_0xd755ff[_0x5be82f&0xff],_0x5be82f^=_0x35bba3[_0x14910e/_0x52410d|0x0]<<0x18),_0x449527[_0x14910e]=_0x449527[_0x14910e-_0x52410d]^_0x5be82f);for(var _0x4680f7=this[_0x6f4a80(0x203)]=[],_0x1b131b=0x0;_0x1b131b<_0xf892d9;_0x1b131b++){var _0x14910e=_0xf892d9-_0x1b131b;if(_0x1b131b%0x4)var _0x5be82f=_0x449527[_0x14910e];else var _0x5be82f=_0x449527[_0x14910e-0x4];_0x1b131b<0x4||_0x14910e<=0x4?_0x4680f7[_0x1b131b]=_0x5be82f:_0x4680f7[_0x1b131b]=_0x37f66e[_0xd755ff[_0x5be82f>>>0x18]]^_0x17482a[_0xd755ff[_0x5be82f>>>0x10&0xff]]^_0x426942[_0xd755ff[_0x5be82f>>>0x8&0xff]]^_0x224f9f[_0xd755ff[_0x5be82f&0xff]];}}},'encryptBlock':function(_0x3471f1,_0x4a611c){var _0x1d306a=_0x37a9e4;this[_0x1d306a(0x33f)](_0x3471f1,_0x4a611c,this[_0x1d306a(0x30e)],_0x14c08e,_0x1c39b2,_0x4f8cd5,_0x25557a,_0xd755ff);},'decryptBlock':function(_0x51ea0e,_0x57f585){var _0xe98d20=_0x51ea0e[_0x57f585+0x1];_0x51ea0e[_0x57f585+0x1]=_0x51ea0e[_0x57f585+0x3],_0x51ea0e[_0x57f585+0x3]=_0xe98d20,this['_doCryptBlock'](_0x51ea0e,_0x57f585,this['_invKeySchedule'],_0x37f66e,_0x17482a,_0x426942,_0x224f9f,_0x1e658d);var _0xe98d20=_0x51ea0e[_0x57f585+0x1];_0x51ea0e[_0x57f585+0x1]=_0x51ea0e[_0x57f585+0x3],_0x51ea0e[_0x57f585+0x3]=_0xe98d20;},'_doCryptBlock':function(_0x5a5a3a,_0x18f0b9,_0x49c201,_0x47cdaa,_0x1ca302,_0x398604,_0x4b45dd,_0x414d62){var _0x5ba8a9=_0x37a9e4;for(var _0x22230a=this[_0x5ba8a9(0x3d4)],_0x5215c3=_0x5a5a3a[_0x18f0b9]^_0x49c201[0x0],_0x396746=_0x5a5a3a[_0x18f0b9+0x1]^_0x49c201[0x1],_0x492970=_0x5a5a3a[_0x18f0b9+0x2]^_0x49c201[0x2],_0xa2f71f=_0x5a5a3a[_0x18f0b9+0x3]^_0x49c201[0x3],_0xc5bf46=0x4,_0x4b6dfd=0x1;_0x4b6dfd<_0x22230a;_0x4b6dfd++){var _0x5ebe42=_0x47cdaa[_0x5215c3>>>0x18]^_0x1ca302[_0x396746>>>0x10&0xff]^_0x398604[_0x492970>>>0x8&0xff]^_0x4b45dd[_0xa2f71f&0xff]^_0x49c201[_0xc5bf46++],_0x4179a4=_0x47cdaa[_0x396746>>>0x18]^_0x1ca302[_0x492970>>>0x10&0xff]^_0x398604[_0xa2f71f>>>0x8&0xff]^_0x4b45dd[_0x5215c3&0xff]^_0x49c201[_0xc5bf46++],_0x596bfa=_0x47cdaa[_0x492970>>>0x18]^_0x1ca302[_0xa2f71f>>>0x10&0xff]^_0x398604[_0x5215c3>>>0x8&0xff]^_0x4b45dd[_0x396746&0xff]^_0x49c201[_0xc5bf46++],_0x5009de=_0x47cdaa[_0xa2f71f>>>0x18]^_0x1ca302[_0x5215c3>>>0x10&0xff]^_0x398604[_0x396746>>>0x8&0xff]^_0x4b45dd[_0x492970&0xff]^_0x49c201[_0xc5bf46++];_0x5215c3=_0x5ebe42,_0x396746=_0x4179a4,_0x492970=_0x596bfa,_0xa2f71f=_0x5009de;}var _0x5ebe42=(_0x414d62[_0x5215c3>>>0x18]<<0x18|_0x414d62[_0x396746>>>0x10&0xff]<<0x10|_0x414d62[_0x492970>>>0x8&0xff]<<0x8|_0x414d62[_0xa2f71f&0xff])^_0x49c201[_0xc5bf46++],_0x4179a4=(_0x414d62[_0x396746>>>0x18]<<0x18|_0x414d62[_0x492970>>>0x10&0xff]<<0x10|_0x414d62[_0xa2f71f>>>0x8&0xff]<<0x8|_0x414d62[_0x5215c3&0xff])^_0x49c201[_0xc5bf46++],_0x596bfa=(_0x414d62[_0x492970>>>0x18]<<0x18|_0x414d62[_0xa2f71f>>>0x10&0xff]<<0x10|_0x414d62[_0x5215c3>>>0x8&0xff]<<0x8|_0x414d62[_0x396746&0xff])^_0x49c201[_0xc5bf46++],_0x5009de=(_0x414d62[_0xa2f71f>>>0x18]<<0x18|_0x414d62[_0x5215c3>>>0x10&0xff]<<0x10|_0x414d62[_0x396746>>>0x8&0xff]<<0x8|_0x414d62[_0x492970&0xff])^_0x49c201[_0xc5bf46++];_0x5a5a3a[_0x18f0b9]=_0x5ebe42,_0x5a5a3a[_0x18f0b9+0x1]=_0x4179a4,_0x5a5a3a[_0x18f0b9+0x2]=_0x596bfa,_0x5a5a3a[_0x18f0b9+0x3]=_0x5009de;},'keySize':0x100/0x20});_0x115e9b[_0x37a9e4(0x169)]=_0x4d767b['_createHelper'](_0x3c9e5d);}()),_0x468cf3['AES'];}));}(Ve)),Ve['exports'];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe[_0x3cab7a(0x234)],si;function Nn(){var _0x130e16=_0x3cab7a;return si||(si=0x1,function(_0x2e0297,_0x33b8cd){(function(_0x356115,_0x4bacad){var _0x324a9d=_0x14df;_0x2e0297[_0x324a9d(0x234)]=_0x4bacad(te());}(yn,function(_0x2684de){var _0x1cb1ab=_0x14df;return _0x2684de[_0x1cb1ab(0x1e8)][_0x1cb1ab(0x20b)];}));}(Xe)),Xe[_0x130e16(0x234)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x3cab7a(0x234)],ni;function wn(){var _0x409ba4=_0x3cab7a;return ni||(ni=0x1,function(_0x136910,_0x34cf8a){(function(_0x66497a,_0x254ec4){var _0x59a813=_0x14df;_0x136910[_0x59a813(0x234)]=_0x254ec4(te());}(An,function(_0x2b188f){var _0x238ac2=_0x14df;return(function(){var _0x1e3257=_0x14df;if(typeof ArrayBuffer==_0x1e3257(0x2cc)){var _0x3570d0=_0x2b188f,_0x2287c6=_0x3570d0[_0x1e3257(0x3b3)],_0x343fda=_0x2287c6[_0x1e3257(0x368)],_0x29d1f6=_0x343fda[_0x1e3257(0x247)],_0x47bc79=_0x343fda[_0x1e3257(0x247)]=function(_0x2d37fb){var _0x42f9a6=_0x1e3257;if(_0x2d37fb instanceof ArrayBuffer&&(_0x2d37fb=new Uint8Array(_0x2d37fb)),(_0x2d37fb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2d37fb instanceof Uint8ClampedArray||_0x2d37fb instanceof Int16Array||_0x2d37fb instanceof Uint16Array||_0x2d37fb instanceof Int32Array||_0x2d37fb instanceof Uint32Array||_0x2d37fb instanceof Float32Array||_0x2d37fb instanceof Float64Array)&&(_0x2d37fb=new Uint8Array(_0x2d37fb[_0x42f9a6(0x201)],_0x2d37fb['byteOffset'],_0x2d37fb[_0x42f9a6(0x3fb)])),_0x2d37fb instanceof Uint8Array){for(var _0x3c8d62=_0x2d37fb[_0x42f9a6(0x3fb)],_0xbce07d=[],_0x319ad9=0x0;_0x319ad9<_0x3c8d62;_0x319ad9++)_0xbce07d[_0x319ad9>>>0x2]|=_0x2d37fb[_0x319ad9]<<0x18-_0x319ad9%0x4*0x8;_0x29d1f6[_0x42f9a6(0x27d)](this,_0xbce07d,_0x3c8d62);}else _0x29d1f6['apply'](this,arguments);};_0x47bc79['prototype']=_0x343fda;}}()),_0x2b188f[_0x238ac2(0x3b3)][_0x238ac2(0x368)];}));}(Ze)),Ze[_0x409ba4(0x234)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x3cab7a(0x234)],ri;function xn(){return ri||(ri=0x1,function(_0x1ca304,_0x3c2f39){(function(_0x4a31cc,_0xbf2955,_0x27c028){var _0x2296d0=_0x14df;_0x1ca304[_0x2296d0(0x234)]=_0xbf2955(te(),Ni());}(Mn,function(_0x3fd57e){var _0xcd837c=_0x14df;return _0x3fd57e[_0xcd837c(0x221)][_0xcd837c(0x225)]={'pad':function(){},'unpad':function(){}},_0x3fd57e['pad'][_0xcd837c(0x225)];}));}(Qe)),Qe['exports'];}var kn=xn();const $n=$e(kn);function Hn(_0x2463fa,_0x1b2900){var _0x241503=_0x3cab7a;const _0x3aafae=_0x1b2900-_0x2463fa[_0x241503(0x2a6)]%_0x1b2900,_0x2d5eaf=String[_0x241503(0x24f)](_0x3aafae)[_0x241503(0x1b8)](_0x3aafae);return _0x2463fa+_0x2d5eaf;}function Bn(_0x373b52,_0x475016){var _0x56c2ee=_0x3cab7a;const _0x2819ec=Ln[_0x56c2ee(0x32b)](0x10),_0x130c80=Hn(_0x373b52,0x10),_0x4db4e9=On['encrypt'](Un[_0x56c2ee(0x3d9)](_0x130c80),ii[_0x56c2ee(0x3d9)](_0x475016),{'iv':_0x2819ec,'padding':$n});return _0x2819ec[_0x56c2ee(0x354)](_0x4db4e9[_0x56c2ee(0x3df)])[_0x56c2ee(0x109)](ii);}function jn(){var _0x52ad90=_0x3cab7a;const _0x1fdc2a=_0x3c65c1()[_0x52ad90(0x30b)];if(_0x1fdc2a){const _0x45cdde={'time':Math[_0x52ad90(0x349)](Date[_0x52ad90(0x1ed)]()/0x3e8),'domain':location[_0x52ad90(0x1fc)]};return Bn(JSON[_0x52ad90(0x243)](_0x45cdde),_0x1fdc2a);}}var Fn=Object[_0x3cab7a(0x3b8)],Vn=(_0x1b8211,_0xb634b7,_0x380b88,_0x4dffb0)=>{for(var _0x3b7116=_0x4dffb0>0x1?void 0x0:_0x4dffb0?Fn(_0xb634b7,_0x380b88):_0xb634b7,_0x13ddd5=_0x1b8211['length']-0x1,_0x22aa6f;_0x13ddd5>=0x0;_0x13ddd5--)(_0x22aa6f=_0x1b8211[_0x13ddd5])&&(_0x3b7116=_0x22aa6f(_0x3b7116)||_0x3b7116);return _0x3b7116;},Gn=(_0x419b0f,_0x45939f)=>(_0x5e6575,_0xe145da)=>_0x45939f(_0x5e6575,_0xe145da,_0x419b0f);let at=class{constructor(_0x14c43d){var _0x5c97f2=_0x3cab7a;this['_httpService']=_0x14c43d,this[_0x5c97f2(0x21e)]();}[_0x3cab7a(0x21e)](){var _0x4f7fa2=_0x3cab7a;this[_0x4f7fa2(0x324)][_0x4f7fa2(0x17a)]({'interceptor':(_0x18280b,_0x5ab8dc)=>{var _0x1b13b5=_0x4f7fa2;const _0x3d1e2b=_0x18280b[_0x1b13b5(0x1c4)],_0x5676bb=jn();return _0x5676bb&&_0x3d1e2b[_0x1b13b5(0x1e9)](_0x1b13b5(0x27c),_0x5676bb),_0x5ab8dc(_0x18280b);}});}};at=Vn([Gn(0x0,_0x55b2f7(_0x14d0e8))],at);var Yn=Object[_0x3cab7a(0x3b8)],Wn=(_0x5aaa85,_0x3b2f3a,_0x58d73a,_0x55d422)=>{var _0x1de0a7=_0x3cab7a;for(var _0x54875f=_0x55d422>0x1?void 0x0:_0x55d422?Yn(_0x3b2f3a,_0x58d73a):_0x3b2f3a,_0x1ca5ad=_0x5aaa85[_0x1de0a7(0x2a6)]-0x1,_0x5340da;_0x1ca5ad>=0x0;_0x1ca5ad--)(_0x5340da=_0x5aaa85[_0x1ca5ad])&&(_0x54875f=_0x5340da(_0x54875f)||_0x54875f);return _0x54875f;},vt=(_0x1bae9c,_0x417830)=>(_0x8028d4,_0x3a9856)=>_0x417830(_0x8028d4,_0x3a9856,_0x1bae9c);let Ct=class extends _0x54f41b{constructor(_0x4c72bb,_0x34f4d6,_0x33fc80){var _0x55ddc2=_0x3cab7a;super(),N(this,_0x55ddc2(0x1bd),new _0x5962fa(null)),N(this,'unitInfo$',this[_0x55ddc2(0x1bd)]['asObservable']()),(this[_0x55ddc2(0x346)]=_0x4c72bb,this[_0x55ddc2(0x374)]=_0x34f4d6,this[_0x55ddc2(0x268)]=_0x33fc80);}async[_0x3cab7a(0x13a)](_0x40f387,_0x420a82,_0x4ca2a0){var _0x632841=_0x3cab7a;this['_unitInfo$'][_0x632841(0x35d)]({'unitId':_0x40f387,'type':_0x420a82});let _0x304ca4=null;switch(_0x420a82){case Z[_0x632841(0x241)]:{_0x304ca4=await this[_0x632841(0x374)][_0x632841(0x131)](_0x40f387,_0x4ca2a0);break;}case Z['UNIVER_DOC']:{_0x304ca4=await this[_0x632841(0x374)][_0x632841(0x40b)](_0x40f387,_0x4ca2a0);break;}default:{this[_0x632841(0x346)]['error']('[DataLoaderService]',_0x632841(0x379));break;}}return _0x304ca4;}async['loadUnit'](_0x37138b,_0x46bdcd,_0x47a71d){var _0x1f26d1=_0x3cab7a,_0x2e531e;this[_0x1f26d1(0x1bd)][_0x1f26d1(0x35d)]({'unitId':_0x37138b,'type':_0x46bdcd,'subUnitId':_0x47a71d});let _0xf0cca1=0x0;const _0x2b4bd2=await((_0x2e531e=this[_0x1f26d1(0x268)])==null?void 0x0:_0x2e531e[_0x1f26d1(0x3ad)](_0x37138b));return _0x2b4bd2&&(_0x2b4bd2['awaitingChangeset']||_0x2b4bd2[_0x1f26d1(0x376)][_0x1f26d1(0x2a6)]!==0x0)&&(_0xf0cca1=_0x2b4bd2[_0x1f26d1(0x2aa)]),_0xf0cca1===0x0&&this[_0x1f26d1(0x346)][_0x1f26d1(0x37d)]('[DataLoaderService]',_0x1f26d1(0x246)),this['loadUnitOfRevision'](_0x37138b,_0x46bdcd,_0xf0cca1);}};Ct=Wn([vt(0x0,_0x199cf3),vt(0x1,_0x55b2f7(_0x145093)),vt(0x2,_0x3c77b7(J))],Ct);var Kn=Object[_0x3cab7a(0x3b8)],qn=(_0x537cd2,_0x2198e2,_0x4827a9,_0xe802a2)=>{for(var _0x2532f0=_0xe802a2>0x1?void 0x0:_0xe802a2?Kn(_0x2198e2,_0x4827a9):_0x2198e2,_0x195e75=_0x537cd2['length']-0x1,_0x4e1bfa;_0x195e75>=0x0;_0x195e75--)(_0x4e1bfa=_0x537cd2[_0x195e75])&&(_0x2532f0=_0x4e1bfa(_0x2532f0)||_0x2532f0);return _0x2532f0;},pt=(_0x27d3b8,_0xa34297)=>(_0x19cd3d,_0x249399)=>_0xa34297(_0x19cd3d,_0x249399,_0x27d3b8);const zn=['image/png',_0x3cab7a(0x233),_0x3cab7a(0x152),'image/gif',_0x3cab7a(0x19e)],Jn=0x5*0x400*0x400,Xn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Zn='/universer-api/stream/file/upload',Qn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',er=_0x3cab7a(0x303);let Rt=class{constructor(_0x2eeb75,_0x311800,_0x2ce22d){var _0xb13d55=_0x3cab7a;N(this,_0xb13d55(0x204),0x0),N(this,_0xb13d55(0x214),new _0x1a8f0b()),N(this,_0xb13d55(0x107),this[_0xb13d55(0x214)]),N(this,_0xb13d55(0x22e),new Map()),(this[_0xb13d55(0x324)]=_0x2eeb75,this[_0xb13d55(0x27f)]=_0x311800,this[_0xb13d55(0x287)]=_0x2ce22d);}[_0x3cab7a(0x117)](_0x427e7a){var _0x4c844a=_0x3cab7a;this['_waitCount']=_0x427e7a,this['_change$'][_0x4c844a(0x35d)](_0x427e7a);}['getImageSourceCache'](_0x4e38c9,_0x4c4f4a){var _0x5b6c51=_0x3cab7a;if(_0x4c4f4a===_0x3913c5['BASE64']){const _0x503fb4=new Image();return _0x503fb4[_0x5b6c51(0x114)]=_0x4e38c9,_0x503fb4;}return this['_imageSourceCache'][_0x5b6c51(0x1d6)](_0x4e38c9);}['addImageSourceCache'](_0x5c6971,_0x370f4d,_0x47ff54){var _0x296ac3=_0x3cab7a;_0x370f4d===_0x3913c5[_0x296ac3(0x18c)]||_0x47ff54==null||this[_0x296ac3(0x22e)]['set'](_0x5c6971,_0x47ff54);}async[_0x3cab7a(0x29d)](_0x1b1026){var _0x376e96=_0x3cab7a;try{const _0x3e9db4=this['_replaceFileID'](this[_0x376e96(0x149)](),''+_0x1b1026),_0xce45f5=(await this[_0x376e96(0x324)]['get'](_0x3e9db4))[_0x376e96(0x118)];if(_0xce45f5['error']&&_0xce45f5['error'][_0x376e96(0x20e)]===pi['OK']){const _0x4f0113=new URL(_0xce45f5[_0x376e96(0x3a0)],this[_0x376e96(0x19f)]())[_0x376e96(0x109)]();return Promise[_0x376e96(0x1a2)](_0x4f0113);}return Promise[_0x376e96(0x11d)](_0xce45f5[_0x376e96(0x396)]);}catch(_0x2076ef){return Promise[_0x376e96(0x11d)](_0x2076ef);}}async[_0x3cab7a(0x182)](_0x26edbd){var _0x1356dd=_0x3cab7a;let _0xb23916='';if(!zn[_0x1356dd(0x128)](_0x26edbd[_0x1356dd(0x199)]))return this[_0x1356dd(0x1bc)](),Promise[_0x1356dd(0x11d)](new Error(_0x2e56e2['ERROR_IMAGE_TYPE']));if(_0x26edbd[_0x1356dd(0x23f)]>Jn)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x2e56e2[_0x1356dd(0x25b)]));try{const _0x433ae3=new FormData();_0x433ae3[_0x1356dd(0x3b9)](_0x1356dd(0x3b6),_0x26edbd);const _0x551bd4=this[_0x1356dd(0x287)][_0x1356dd(0x3b2)](),_0x4b4802=_0x551bd4==null?void 0x0:_0x551bd4['getUnitId']();if(!_0x4b4802)throw new Error(_0x1356dd(0x2c1));const _0x1fb768=this[_0x1356dd(0x395)]()+_0x1356dd(0x394)+_0x26edbd[_0x1356dd(0x23f)][_0x1356dd(0x109)]()+'&source='+mi['UnitEmbedded']+_0x1356dd(0x17b)+encodeURIComponent(_0x4b4802),_0xaf76ac={'body':_0x433ae3},_0x4ef96f=(await this[_0x1356dd(0x324)]['post'](_0x1fb768,_0xaf76ac))[_0x1356dd(0x118)];if(typeof _0x4ef96f[_0x1356dd(0x40e)]!='string')return this['_decreaseWaiting'](),Promise[_0x1356dd(0x11d)](new Error(_0x2e56e2[_0x1356dd(0x281)]));_0xb23916=_0x4ef96f['FileId'];}catch{return this[_0x1356dd(0x1bc)](),Promise['reject'](new Error(_0x2e56e2[_0x1356dd(0x281)]));}return new Promise((_0x5c6625,_0xefc272)=>{var _0x308e56=_0x1356dd;const _0x4bf948=new FileReader();_0x4bf948['readAsDataURL'](_0x26edbd),_0x4bf948[_0x308e56(0x356)]=_0xe8df47=>{var _0x2e9a56=_0x308e56,_0x553b72;const _0x345755=(_0x553b72=_0xe8df47[_0x2e9a56(0x3dc)])==null?void 0x0:_0x553b72[_0x2e9a56(0x359)];if(_0x345755==null){this['_decreaseWaiting'](),_0xefc272(new Error(_0x2e56e2['ERROR_IMAGE']));return;}const _0x4b1bb6=_0x1643e0[_0x2e9a56(0x336)](0x6);_0x5c6625({'imageId':_0x4b1bb6,'imageSourceType':_0x3913c5[_0x2e9a56(0x3bb)],'source':_0xb23916,'base64Cache':_0x345755,'status':_0x2e56e2[_0x2e9a56(0x139)]}),this[_0x2e9a56(0x1bc)]();};});}['_getUploadFileURL'](){var _0x5207a1=_0x3cab7a,_0x24741d,_0x4f058e;const _0x19bc56=this['_configService'][_0x5207a1(0x2be)](Xn),_0x4b865d=this[_0x5207a1(0x27f)][_0x5207a1(0x2be)](K);return(_0x4f058e=(_0x24741d=_0x4b865d==null?void 0x0:_0x4b865d[_0x5207a1(0x12e)])!=null?_0x24741d:_0x19bc56)!=null?_0x4f058e:Zn;}[_0x3cab7a(0x149)](){var _0x2b351b=_0x3cab7a,_0x5c86e6,_0x1db422;const _0x5d0764=this[_0x2b351b(0x27f)]['getConfig'](Qn),_0x53ff93=this['_configService'][_0x2b351b(0x2be)](K);return(_0x1db422=(_0x5c86e6=_0x53ff93==null?void 0x0:_0x53ff93[_0x2b351b(0x34c)])!=null?_0x5c86e6:_0x5d0764)!=null?_0x1db422:er;}[_0x3cab7a(0x19f)](){var _0x2b4b3f=_0x3cab7a,_0x2a82fa;const _0x47dc25=this['_configService'][_0x2b4b3f(0x2be)](K);return(_0x2a82fa=_0x47dc25==null?void 0x0:_0x47dc25[_0x2b4b3f(0x140)])!=null?_0x2a82fa:location[_0x2b4b3f(0x209)];}[_0x3cab7a(0x295)](_0x2259c4,_0x411fb2){var _0x46ab53=_0x3cab7a;return _0x2259c4['replace'](_0x46ab53(0x1da),_0x411fb2);}['_decreaseWaiting'](){var _0x29eb39=_0x3cab7a;this[_0x29eb39(0x204)]-=0x1,this['_change$'][_0x29eb39(0x35d)](this[_0x29eb39(0x204)]);}};Rt=qn([pt(0x0,_0x55b2f7(_0x14d0e8)),pt(0x1,_0x3254a5),pt(0x2,_0x55b2f7(_0x3e2979))],Rt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x359d7d,_0x2d982f,_0x570e35,_0x678f34)=>{var _0x5ae411=_0x3cab7a;for(var _0x38b2e1=_0x678f34>0x1?void 0x0:_0x678f34?tr(_0x2d982f,_0x570e35):_0x2d982f,_0x4efa4c=_0x359d7d[_0x5ae411(0x2a6)]-0x1,_0x4306e9;_0x4efa4c>=0x0;_0x4efa4c--)(_0x4306e9=_0x359d7d[_0x4efa4c])&&(_0x38b2e1=_0x4306e9(_0x38b2e1)||_0x38b2e1);return _0x38b2e1;},ai=(_0x10879b,_0x1f0440)=>(_0x273d58,_0x11314a)=>_0x1f0440(_0x273d58,_0x11314a,_0x10879b);const sr=_0x3cab7a(0x29f);let Ot=class{constructor(_0x562bef,_0x10b826){var _0x4cc6ae=_0x3cab7a;this['_configService']=_0x562bef,this[_0x4cc6ae(0x38f)]=_0x10b826;}[_0x3cab7a(0x2f0)](){var _0xf9bac3=_0x3cab7a,_0x4c6b67,_0x378367;const _0x41b79b=this[_0xf9bac3(0x27f)][_0xf9bac3(0x2be)](Oi),_0x2c2bff=this[_0xf9bac3(0x27f)][_0xf9bac3(0x2be)](K);return(_0x378367=(_0x4c6b67=_0x2c2bff==null?void 0x0:_0x2c2bff[_0xf9bac3(0x14e)])!=null?_0x4c6b67:_0x41b79b)!=null?_0x378367:sr;}async[_0x3cab7a(0x150)](_0x53c043){var _0x5045ad=_0x3cab7a;const _0x2f7211=this['_getAPIPrefixPath']()+_0x5045ad(0x3e6);return{'list':[{'title':_0x5045ad(0x3ba),'mentions':(await this[_0x5045ad(0x38f)][_0x5045ad(0x1d6)](_0x2f7211,{'params':{'objectID':_0x53c043[_0x5045ad(0x18a)],'unitID':_0x53c043[_0x5045ad(0x18a)]}}))[_0x5045ad(0x118)][_0x5045ad(0x2c5)][_0x5045ad(0x405)](_0x42bbdb=>({'objectId':_0x42bbdb['id'],'name':_0x42bbdb['subject']['name'],'metadata':{'icon':_0x42bbdb[_0x5045ad(0x1fa)][_0x5045ad(0x355)]},'label':_0x42bbdb['subject']['name'],'objectType':_0x1a7908[_0x5045ad(0x226)]})),'metadata':{},'type':_0x1a7908[_0x5045ad(0x226)]}]};}};Ot=ir([ai(0x0,_0x55b2f7(_0x3254a5)),ai(0x1,_0x55b2f7(_0x14d0e8))],Ot);var nr=Object[_0x3cab7a(0x3b8)],rr=(_0x5396fa,_0x30b15d,_0x5e82f3,_0x530711)=>{var _0x1807f9=_0x3cab7a;for(var _0x52d6a7=_0x530711>0x1?void 0x0:_0x530711?nr(_0x30b15d,_0x5e82f3):_0x30b15d,_0x672798=_0x5396fa[_0x1807f9(0x2a6)]-0x1,_0x5c6c60;_0x672798>=0x0;_0x672798--)(_0x5c6c60=_0x5396fa[_0x672798])&&(_0x52d6a7=_0x5c6c60(_0x52d6a7)||_0x52d6a7);return _0x52d6a7;},Ae=(_0xef5fe2,_0x448ba6)=>(_0x7028c,_0x58d489)=>_0x448ba6(_0x7028c,_0x58d489,_0xef5fe2);let ot=class extends _0x54f41b{constructor(_0x127992,_0x9160e1,_0x337dbe,_0x1e90d1,_0x201886){var _0x32ec0a=_0x3cab7a;super(),this[_0x32ec0a(0x242)]=_0x127992,this[_0x32ec0a(0x287)]=_0x9160e1,this['_permissionService']=_0x337dbe,this[_0x32ec0a(0x1b0)]=_0x1e90d1,this[_0x32ec0a(0x1a9)]=_0x201886,this[_0x32ec0a(0x310)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x1ae766=_0x3cab7a;const _0x408904=async _0x4f7c2f=>{var _0x492880=_0x14df;(await this['_collaborationSessionService'][_0x492880(0x26a)](_0x4f7c2f))[_0x492880(0x3a8)][_0x492880(0x27a)](_0x43751c(_0x43c32f=>_0x43c32f[_0x492880(0x3ec)]===_0x269d85[_0x492880(0x38c)]),_0xf50780(this[_0x492880(0x12c)]))[_0x492880(0x3a2)](_0x14602b=>{var _0x49f720=_0x492880;const _0x2da4f4=_0x14602b,{reason:_0x5186fe}=_0x2da4f4[_0x49f720(0x1f7)];this['_collaborationUIEventService'][_0x49f720(0x3c5)]({'id':ne[_0x49f720(0x183)],'data':_0x5186fe}),this[_0x49f720(0x384)][_0x49f720(0x3eb)](new _0x19961c(_0x4f7c2f)['id'],!0x1),this[_0x49f720(0x1b0)][_0x49f720(0x2e2)](_0x4f7c2f);});};_0x7fed04(this[_0x1ae766(0x287)]['getTypeOfUnitAdded$'](_0x2910b0[_0x1ae766(0x241)]),this['_univerInstanceService'][_0x1ae766(0x2dd)](_0x2910b0[_0x1ae766(0x10f)]))[_0x1ae766(0x27a)](_0x2e0d3b(_0x4cfa4f=>_0x4cfa4f[_0x1ae766(0x318)]()),_0x43751c(_0x565784=>!_0xb3f6fd(_0x565784)),_0xf50780(this[_0x1ae766(0x12c)]))['subscribe'](_0x358cd6=>{_0x408904(_0x358cd6);});}['_initUnitPermissionChange'](){var _0x1d10ac=_0x3cab7a;const _0x54735a=async _0x33128f=>{var _0x528860=_0x14df;const _0x52d4ce=await this[_0x528860(0x1b0)][_0x528860(0x26a)](_0x33128f),_0x44305e=this['_injector']['get'](_0x4a568e);_0x52d4ce['event$'][_0x528860(0x27a)](_0x43751c(_0x551d36=>_0x551d36['eventID']===_0x269d85[_0x528860(0x29e)]),_0xf50780(this[_0x528860(0x12c)]))[_0x528860(0x3a2)](_0x4fdc93=>{var _0x36f18f=_0x528860;const _0x48ca34=_0x4fdc93,{objectId:_0x55279b}=_0x48ca34[_0x36f18f(0x1f7)];_0x55279b===_0x33128f?_0x44305e[_0x36f18f(0x401)](_0x33128f):_0x44305e[_0x36f18f(0x120)](_0x33128f,_0x55279b);});};_0x7fed04(this[_0x1d10ac(0x287)]['getTypeOfUnitAdded$'](_0x2910b0[_0x1d10ac(0x241)]))['pipe'](_0x2e0d3b(_0x56d33a=>_0x56d33a[_0x1d10ac(0x318)]()),_0x43751c(_0x281276=>!_0xb3f6fd(_0x281276)),_0xf50780(this[_0x1d10ac(0x12c)]))[_0x1d10ac(0x3a2)](_0x47bbaf=>{_0x54735a(_0x47bbaf);});}};ot=rr([Ae(0x0,_0x55b2f7(_0x759029)),Ae(0x1,_0x3e2979),Ae(0x2,_0x1d1510),Ae(0x3,_0x55b2f7(Le)),Ae(0x4,_0x55b2f7(ve))],ot);var ar=Object[_0x3cab7a(0x3b8)],or=(_0x4845b1,_0x2f7fdd,_0x7a71d9,_0x48a799)=>{for(var _0x2bef69=_0x48a799>0x1?void 0x0:_0x48a799?ar(_0x2f7fdd,_0x7a71d9):_0x2f7fdd,_0x184297=_0x4845b1['length']-0x1,_0x47db2d;_0x184297>=0x0;_0x184297--)(_0x47db2d=_0x4845b1[_0x184297])&&(_0x2bef69=_0x47db2d(_0x2bef69)||_0x2bef69);return _0x2bef69;},oi=(_0x21c22a,_0x67bc2)=>(_0x55a9bc,_0x1a3c1f)=>_0x67bc2(_0x55a9bc,_0x1a3c1f,_0x21c22a);let bt=class{constructor(_0x216b68,_0x212e9d){var _0x1b49fa=_0x3cab7a;this['_configService']=_0x216b68,this[_0x1b49fa(0x324)]=_0x212e9d;}async[_0x3cab7a(0x2f8)](_0x39c036,_0x573a2b){var _0x27bf5a=_0x3cab7a,_0x187a0d;const {unitID:_0x153d66,type:_0x53e655,revision:_0x795521=0x0}=_0x573a2b,_0x2874b7=this[_0x27bf5a(0x34f)]()+'/'+_0x53e655+_0x27bf5a(0x10b)+_0x153d66+'/rev/'+_0x795521,_0x2e3bc3=(await this[_0x27bf5a(0x324)]['get'](_0x2874b7))['body'],_0x4a86a6=(_0x187a0d=_0x2e3bc3[_0x27bf5a(0x220)])==null?void 0x0:_0x187a0d['workbook'];if(_0x4a86a6){const _0x27c134=_0x4a86a6==null?void 0x0:_0x4a86a6['originalMeta'],_0x58f348=_0x156f58[_0x27bf5a(0x239)](_0x5038d3(_0x27c134));_0x4a86a6['originalMeta']=_0x58f348,Object['entries'](_0x4a86a6[_0x27bf5a(0x1aa)])[_0x27bf5a(0x24b)](([,_0x1e9c25])=>{var _0x1d2d6d=_0x27bf5a;const _0x8e9c51=_0x1e9c25[_0x1d2d6d(0x367)],_0x24ecc7=_0x156f58['encode'](_0x5038d3(_0x8e9c51));_0x1e9c25[_0x1d2d6d(0x367)]=_0x24ecc7;});}return _0x2e3bc3;}async['getSheetBlock'](_0x147e07,_0xc04fcb){var _0x1044e1=_0x3cab7a;const {unitID:_0x23a3f8,type:_0x435ba0,blockID:_0x299571}=_0xc04fcb,_0x4f6801=this[_0x1044e1(0x2d4)]()+'/'+_0x435ba0+_0x1044e1(0x10b)+_0x23a3f8+'/block/'+_0x299571;return(await this[_0x1044e1(0x324)]['get'](_0x4f6801))[_0x1044e1(0x118)];}async[_0x3cab7a(0x1e1)](_0xacf0e3,_0x2c284c){var _0x52a96d=_0x3cab7a;const {unitID:_0x126f69,type:_0x10fe91,blockID:_0x4f10cd}=_0x2c284c,_0x5e7b00=this[_0x52a96d(0x2d4)]()+_0x52a96d(0x172)+_0x10fe91+_0x52a96d(0x10b)+_0x126f69+_0x52a96d(0x172)+_0x4f10cd;return(await this[_0x52a96d(0x324)][_0x52a96d(0x1d6)](_0x5e7b00))[_0x52a96d(0x118)];}async['fetchMissingChangesets'](_0x1d0d3f,_0x4d735f){var _0x1f010b=_0x3cab7a;const {unitID:_0xa2cb46,type:_0x1700b0,from:_0x39c522,to:_0x3a3690}=_0x4d735f,_0x3db559=this[_0x1f010b(0x2d4)]()+'/'+_0x1700b0+_0x1f010b(0x10b)+_0xa2cb46+_0x1f010b(0x3e0)+_0x39c522+_0x1f010b(0x294)+_0x3a3690;return(await this[_0x1f010b(0x324)][_0x1f010b(0x1d6)](_0x3db559))[_0x1f010b(0x118)];}[_0x3cab7a(0x34f)](){var _0x2d48b6=_0x3cab7a,_0x288144;return(_0x288144=this['_configService'][_0x2d48b6(0x2be)](ps))!=null?_0x288144:this[_0x2d48b6(0x2d4)]();}[_0x3cab7a(0x2d4)](){var _0x3d7be3=_0x3cab7a,_0x229608,_0x130872;const _0x2bff31=this[_0x3d7be3(0x27f)]['getConfig'](fs),_0x1ec22c=this[_0x3d7be3(0x27f)][_0x3d7be3(0x2be)](K);return(_0x130872=(_0x229608=_0x1ec22c==null?void 0x0:_0x1ec22c[_0x3d7be3(0x312)])!=null?_0x229608:_0x2bff31)!=null?_0x130872:vs;}async['getResourcesRequest'](_0x3dfb3c,_0x17101a){var _0x42df74=_0x3cab7a;const _0x1df0cb='/universer-api/snapshot/'+_0x17101a[_0x42df74(0x199)]+_0x42df74(0x10b)+_0x17101a[_0x42df74(0x385)]+_0x42df74(0x3d5);return(await this[_0x42df74(0x324)][_0x42df74(0x1d6)](_0x1df0cb,{'params':{'resourceId':JSON[_0x42df74(0x243)](_0x17101a[_0x42df74(0x1d9)])}}))[_0x42df74(0x118)];}['saveSnapshot'](){var _0x5221bb=_0x3cab7a;throw new Error(_0x5221bb(0x1db));}['updateSnapshot'](){var _0x8166fd=_0x3cab7a;throw new Error(_0x8166fd(0x1db));}[_0x3cab7a(0x378)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3cab7a(0x249)](){var _0x39e488=_0x3cab7a;throw new Error(_0x39e488(0x1db));}['copyFileMeta'](){var _0x30d3ee=_0x3cab7a;throw new Error(_0x30d3ee(0x1db));}['getLatestCsReqIdBySid'](){var _0x1c3db2=_0x3cab7a;throw new Error(_0x1c3db2(0x1db));}};bt=or([oi(0x0,_0x3254a5),oi(0x1,_0x55b2f7(_0x14d0e8))],bt);var cr=Object[_0x3cab7a(0x3b8)],hr=(_0x18ad1c,_0x4fb7f8,_0x3ff07e,_0x45967c)=>{var _0x265b1f=_0x3cab7a;for(var _0x5ec7d7=_0x45967c>0x1?void 0x0:_0x45967c?cr(_0x4fb7f8,_0x3ff07e):_0x4fb7f8,_0x24ad56=_0x18ad1c[_0x265b1f(0x2a6)]-0x1,_0x5ea007;_0x24ad56>=0x0;_0x24ad56--)(_0x5ea007=_0x18ad1c[_0x24ad56])&&(_0x5ec7d7=_0x5ea007(_0x5ec7d7)||_0x5ec7d7);return _0x5ec7d7;},we=(_0x1c78b7,_0x40d0b6)=>(_0x4b9d24,_0x101b25)=>_0x40d0b6(_0x4b9d24,_0x101b25,_0x1c78b7);let yt=class extends _0x568416{constructor(_0x31f67b,_0x1bd204,_0x4468ed,_0x319122,_0x49ceb8){var _0x4f772c=_0x3cab7a;super(_0x31f67b,_0x1bd204,_0x4468ed),this[_0x4f772c(0x36b)]=_0x319122,this[_0x4f772c(0x346)]=_0x49ceb8;}['transformUndoRedo'](_0x384ced,_0x47f6a1){var _0x3efe51=_0x3cab7a;const _0x435a49=this[_0x3efe51(0x33b)](_0x384ced);if(_0x435a49)try{const _0xbab147=this['_transformStack'](_0x435a49,_0x47f6a1);this[_0x3efe51(0x266)](_0x384ced,_0xbab147);}catch(_0x4f561a){this['_logService'][_0x3efe51(0x396)](_0x3efe51(0x3cc),_0x4f561a),this[_0x3efe51(0x23a)](_0x384ced);}const _0x236c59=this[_0x3efe51(0x3cb)](_0x384ced);if(_0x236c59)try{const _0x2feee4=this[_0x3efe51(0x3e1)](_0x236c59,_0x47f6a1);this[_0x3efe51(0x345)](_0x384ced,_0x2feee4);}catch(_0x3b9cb0){this[_0x3efe51(0x346)][_0x3efe51(0x396)](_0x3b9cb0),this[_0x3efe51(0x3aa)](_0x384ced);}}[_0x3cab7a(0x23a)](_0x55fe06){var _0x2d9d73=_0x3cab7a;const _0x545581=this[_0x2d9d73(0x33b)](_0x55fe06);_0x545581&&(_0x545581['length']=0x0,this[_0x2d9d73(0x135)]());}[_0x3cab7a(0x3aa)](_0x3a82d7){var _0x46cdaa=_0x3cab7a;const _0x428781=this[_0x46cdaa(0x3cb)](_0x3a82d7);_0x428781&&(_0x428781[_0x46cdaa(0x2a6)]=0x0,this[_0x46cdaa(0x135)]());}[_0x3cab7a(0x266)](_0x5aed96,_0x36c817){var _0x21c351=_0x3cab7a;this[_0x21c351(0x22b)][_0x21c351(0x1e9)](_0x5aed96,_0x36c817),this[_0x21c351(0x135)]();}[_0x3cab7a(0x345)](_0x144feb,_0x41e648){var _0x4a0ca6=_0x3cab7a;this['_redoStacks'][_0x4a0ca6(0x1e9)](_0x144feb,_0x41e648),this[_0x4a0ca6(0x135)]();}[_0x3cab7a(0x3e1)](_0x2bb609,_0x2d5eb2){var _0x4357fd=_0x3cab7a;const _0x4408a1=[];let _0x2f28d5=_0x2d5eb2,_0x2367f7=_0x2d5eb2;for(let _0x383246=_0x2bb609['length']-0x1;_0x383246>=0x0;_0x383246--){const {unitID:_0x49ed6a,undoMutations:_0x485e85,redoMutations:_0x904c77}=_0x2bb609[_0x383246],_0x2f4928=this[_0x4357fd(0x36b)]['transformMutationsWithChangeset'](_0x2f28d5,_0x485e85),_0x8c7693=this[_0x4357fd(0x36b)][_0x4357fd(0x315)](_0x2367f7,_0x904c77);if(_0x3cc1c3(_0x2f4928)||_0x3cc1c3(_0x8c7693)){this[_0x4357fd(0x346)][_0x4357fd(0x396)](_0x4357fd(0x3cc),_0x4357fd(0x21b),_0x2f4928,_0x8c7693);break;}_0x2f28d5=_0x2f4928[_0x4357fd(0x129)],_0x2367f7=_0x8c7693[_0x4357fd(0x129)],_0x4408a1['push']({'unitID':_0x49ed6a,'undoMutations':_0x2f4928[_0x4357fd(0x37e)],'redoMutations':_0x8c7693[_0x4357fd(0x37e)]});}return _0x4408a1[_0x4357fd(0x1fd)]();}};yt=hr([we(0x0,_0x3e2979),we(0x1,_0x26d293),we(0x2,_0x252895),we(0x3,_0x19b923),we(0x4,_0x199cf3)],yt);var _r=Object[_0x3cab7a(0x377)],lr=Object[_0x3cab7a(0x3b8)],ur=(_0x183a35,_0xb8f597,_0x147255)=>_0xb8f597 in _0x183a35?_r(_0x183a35,_0xb8f597,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x147255}):_0x183a35[_0xb8f597]=_0x147255,dr=(_0x83748,_0x12db9d,_0x3046a1,_0x3b416b)=>{var _0x4adbf6=_0x3cab7a;for(var _0x222468=_0x3b416b>0x1?void 0x0:_0x3b416b?lr(_0x12db9d,_0x3046a1):_0x12db9d,_0x3d8360=_0x83748[_0x4adbf6(0x2a6)]-0x1,_0x2fbc39;_0x3d8360>=0x0;_0x3d8360--)(_0x2fbc39=_0x83748[_0x3d8360])&&(_0x222468=_0x2fbc39(_0x222468)||_0x222468);return _0x222468;},mt=(_0x3039e6,_0x59b8a9)=>(_0x24dc90,_0x1006ef)=>_0x59b8a9(_0x24dc90,_0x1006ef,_0x3039e6),fr=(_0x10a2f7,_0x26bf23,_0x557897)=>ur(_0x10a2f7,_0x26bf23+'',_0x557897);const vr=_0x3cab7a(0x1d4);let Nt=class extends _0x1df81d{constructor(_0x337a7a,_0x30275c,_0x1be4ed,_0x1788eb){var _0x2569f1=_0x3cab7a;super(),N(this,_0x2569f1(0x386)),(this[_0x2569f1(0x346)]=_0x30275c,this['_injector']=_0x1be4ed,this[_0x2569f1(0x27f)]=_0x1788eb);const {..._0x1ecb5a}=_0x90af1d({},Ds,_0x337a7a);if(!_0x1ecb5a[_0x2569f1(0x3e2)])throw new Error(_0x2569f1(0x2a2));this[_0x2569f1(0x386)]=_0x1ecb5a,this[_0x2569f1(0x27f)]['setConfig'](K,_0x1ecb5a);}[_0x3cab7a(0x363)](){var _0x51b6fa=_0x3cab7a;this[_0x51b6fa(0x12d)](),this['_initDependencies']();}['_registerDependencies'](){var _0x5337cb=_0x3cab7a,_0x13dd91,_0x56f406;this[_0x5337cb(0x242)][_0x5337cb(0x177)](_0x2a9524)&&this['_logService'][_0x5337cb(0x396)]('[UniverCollaborationClientPlugin]',_0x5337cb(0x316));const _0x2e1eb9=_0x419054([[_0x2a9524,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x5337cb(0x386)]['socketService']}],[_0x1d7c36,{'useClass':bt}],[_0x731963,{'useClass':Tt}],[_0x2cd222,{'useClass':Rt}],[_0x583042,{'useClass':Ot}],[nt],[It]],(_0x13dd91=this[_0x5337cb(0x386)])==null?void 0x0:_0x13dd91[_0x5337cb(0x3d0)]);if(!((_0x56f406=this[_0x5337cb(0x386)])!=null&&_0x56f406[_0x5337cb(0x391)])){const _0x550079=_0x2e1eb9[_0x5337cb(0x26e)](([_0x3cc25e])=>_0x3cc25e===ht);_0x550079!==-0x1&&_0x2e1eb9[_0x5337cb(0x1be)](_0x550079,0x1);}_0x308b38(this['_injector'],_0x2e1eb9);}[_0x3cab7a(0x124)](){var _0x4805b6=_0x3cab7a,_0x50a451,_0x533fa5,_0x2852f9;this['_injector'][_0x4805b6(0x1d6)](_0x14d0e8)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1280b3({'maxParallel':0x6})}),(_0x50a451=this[_0x4805b6(0x386)])!=null&&_0x50a451[_0x4805b6(0x3e4)]||(_0x533fa5=this[_0x4805b6(0x242)][_0x4805b6(0x1d6)](J,_0x3f316d[_0x4805b6(0x313)]))==null||_0x533fa5[_0x4805b6(0x19a)](),(_0x2852f9=this[_0x4805b6(0x386)])!=null&&_0x2852f9[_0x4805b6(0x196)]&&_0x229bf9(this[_0x4805b6(0x242)],[[rt]]),_0x229bf9(this[_0x4805b6(0x242)],[[at],[nt],[ot]]);}};fr(Nt,_0x3cab7a(0x31e),vr),Nt=dr([_0xb770f7(_0x4522d4,_0xfc0f0c),mt(0x1,_0x199cf3),mt(0x2,_0x55b2f7(_0x759029)),mt(0x3,_0x3254a5)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|