@univerjs-pro/collaboration-client 0.10.1-nightly.202508020912 → 0.10.2

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x5c5167=_0xb5db;(function(_0xff6362,_0x1add27){var _0x44b72e=_0xb5db,_0x3f0e6b=_0xff6362();while(!![]){try{var _0x541c99=-parseInt(_0x44b72e(0x27c))/0x1*(-parseInt(_0x44b72e(0x249))/0x2)+parseInt(_0x44b72e(0x243))/0x3*(parseInt(_0x44b72e(0x1d1))/0x4)+-parseInt(_0x44b72e(0x463))/0x5+-parseInt(_0x44b72e(0x41a))/0x6*(parseInt(_0x44b72e(0x346))/0x7)+-parseInt(_0x44b72e(0x2fe))/0x8*(parseInt(_0x44b72e(0x3d5))/0x9)+parseInt(_0x44b72e(0x337))/0xa*(-parseInt(_0x44b72e(0x3b7))/0xb)+parseInt(_0x44b72e(0x2c4))/0xc*(-parseInt(_0x44b72e(0x1c6))/0xd);if(_0x541c99===_0x1add27)break;else _0x3f0e6b['push'](_0x3f0e6b['shift']());}catch(_0x5607e7){_0x3f0e6b['push'](_0x3f0e6b['shift']());}}}(_0x1b1a,0xceef4));var yi=Object[_0x5c5167(0x3a7)],Ni=(_0x161f50,_0x3fdd0f,_0x4c607e)=>_0x3fdd0f in _0x161f50?yi(_0x161f50,_0x3fdd0f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c607e}):_0x161f50[_0x3fdd0f]=_0x4c607e,N=(_0x2545d1,_0x2555e5,_0x581a63)=>Ni(_0x2545d1,typeof _0x2555e5!=_0x5c5167(0x394)?_0x2555e5+'':_0x2555e5,_0x581a63);import{createIdentifier as _0x561e1a,Inject as _0x307146,Injector as _0x4b4f54,IConfigService as _0x4d0e1d,ILogService as _0x3eb14a,Disposable as _0x3bee79,DisposableCollection as _0xf860a,toDisposable as _0x56b292,IUniverInstanceService as _0x4e8bc9,UserManagerService as _0xd2f4a2,UniverInstanceType as _0x33d220,Optional as _0x4fe35e,RxDisposable as _0x2049da,Tools as _0x2af291,Rectangle as _0x25b521,ICommandService as _0x326877,JSONX as _0x1349a4,CommandType as _0x4cdb45,IUndoRedoService as _0x202bc0,IPermissionService as _0xeeb0ba,LocaleService as _0x398834,sequenceExecute as _0x301a64,Workbook as _0x1eb668,generateRandomId as _0x2d971a,MentionType as _0x336a24,isInternalEditorID as _0x850165,LocalUndoRedoService as _0x500ac5,IContextService as _0x4a1dd4,DependentOn as _0x22b3c8,Plugin as _0x10914a,merge as _0x143d2f,mergeOverrideWithDependencies as _0x5df389,IAuthzIoService as _0x35e7f9,IMentionIOService as _0x2bf655,registerDependencies as _0x5bdf6c,Quantity as _0x3cd0a0,touchDependencies as _0x260f3b}from'@univerjs/core';import{Subject as _0x431a14,merge as _0x3eede2,of as _0xe3ff1f,BehaviorSubject as _0x582d2e,takeUntil as _0x51a064,ReplaySubject as _0x433b08,take as _0x2113af,map as _0x91e2e7,shareReplay as _0x492df6,firstValueFrom as _0x2108e1,concatMap as _0x469838}from'rxjs';import{map as _0x4aa1f9,take as _0x112619,filter as _0x10a3bd,delay as _0xb4b242,takeUntil as _0x4a63bb}from'rxjs/operators';import{CollaborationEvent as _0x49bb1d,ISnapshotServerService as _0x6f2ce2,parseChangesetToProtocol as _0x46f964,ITransformService as _0x5d37ab,isTransformMutationsWithChangesetSuccess as _0x297f9b,mapDocumentTypeToUniverType as _0x4267ab,RevisionService as _0x4b9485,isTransformChangesetsSuccess as _0x2be158,CompressMutationService as _0x16b727,parseProtocolChangeset as _0x5cfbfd,uuidv4 as _0x394e74,SnapshotService as _0x6a9957,textEncoder as _0x36d89b,b64DecodeUnicode as _0x38e176,isTransformMutationsWithChangesetFailure as _0x1cfc54,UniverCollaborationPlugin as _0x3739e9}from'@univerjs-pro/collaboration';import{HTTPService as _0x4f1e64,ISocketService as _0x420ca8,MergeInterceptorFactory as _0x1c56f5,HTTPRequest as _0x346018,UniverNetworkPlugin as _0xa0e625,ThresholdInterceptorFactory as _0x399e94}from'@univerjs/network';import{ITelemetryService as _0x17a61e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x381cca}from'@univerjs/docs';import{SheetsSelectionsService as _0x8b834b,SetSelectionsOperation as _0x40d1b7,InsertSheetMutation as _0x1e465c,EmptyMutation as _0x1b4146,WorkbookEditablePermission as _0x5996a1,SheetPermissionInitController as _0x37ee35}from'@univerjs/sheets';import{ImageSourceType as _0x225419,ImageUploadStatusType as _0x2f1563,IImageIoService as _0xa1ae90}from'@univerjs/drawing';import{getGlobalObject as _0xf395b0}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x5c5167(0x485),ps=0x7d0,ms=_0x5c5167(0x31e),Ir=_0x5c5167(0x433),gs='HEARTBEAT_INTERVAL',Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x5c5167(0x1f8),Cr=0x3e8,Cs=_0x5c5167(0x1ab),Rs=_0x5c5167(0x1c1),Rr=_0x5c5167(0x3ad),Or='/universer-api/uniscript';var vi=(_0x147b66=>(_0x147b66[_0x147b66[_0x5c5167(0x3e8)]=0x0]='UNDEFINED',_0x147b66[_0x147b66['OK']=0x1]='OK',_0x147b66[_0x147b66[_0x5c5167(0x201)]=0x2]=_0x5c5167(0x201),_0x147b66[_0x147b66[_0x5c5167(0x19f)]=0x3]=_0x5c5167(0x19f),_0x147b66[_0x147b66[_0x5c5167(0x263)]=0x4]=_0x5c5167(0x263),_0x147b66[_0x147b66[_0x5c5167(0x204)]=0x5]=_0x5c5167(0x204),_0x147b66[_0x147b66[_0x5c5167(0x32d)]=0x6]='ALREADY_EXISTS',_0x147b66[_0x147b66['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x147b66[_0x147b66[_0x5c5167(0x24f)]=0x8]=_0x5c5167(0x24f),_0x147b66[_0x147b66[_0x5c5167(0x1d8)]=0x9]=_0x5c5167(0x1d8),_0x147b66[_0x147b66[_0x5c5167(0x23e)]=0xa]=_0x5c5167(0x23e),_0x147b66[_0x147b66[_0x5c5167(0x2ca)]=0xb]=_0x5c5167(0x2ca),_0x147b66[_0x147b66['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x5c5167(0x3dd),_0x147b66[_0x147b66[_0x5c5167(0x39d)]=0xd]=_0x5c5167(0x39d),_0x147b66[_0x147b66[_0x5c5167(0x306)]=0xe]=_0x5c5167(0x306),_0x147b66[_0x147b66[_0x5c5167(0x284)]=0x1389]=_0x5c5167(0x284),_0x147b66[_0x147b66[_0x5c5167(0x1d7)]=0x1771]=_0x5c5167(0x1d7),_0x147b66[_0x147b66[_0x5c5167(0x1b8)]=0x1772]=_0x5c5167(0x1b8),_0x147b66[_0x147b66[_0x5c5167(0x491)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x147b66[_0x147b66['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x147b66[_0x147b66[_0x5c5167(0x2af)]=0x1b5a]=_0x5c5167(0x2af),_0x147b66[_0x147b66[_0x5c5167(0x3f5)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x147b66[_0x147b66[_0x5c5167(0x2f7)]=0x1b5c]=_0x5c5167(0x2f7),_0x147b66[_0x147b66[_0x5c5167(0x2df)]=0x1b5d]=_0x5c5167(0x2df),_0x147b66[_0x147b66[_0x5c5167(0x366)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x147b66[_0x147b66[_0x5c5167(0x2a8)]=0x2329]=_0x5c5167(0x2a8),_0x147b66[_0x147b66['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5c5167(0x264),_0x147b66[_0x147b66['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5c5167(0x409),_0x147b66[_0x147b66[_0x5c5167(0x2db)]=0x232c]=_0x5c5167(0x2db),_0x147b66[_0x147b66[_0x5c5167(0x2da)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x147b66[_0x147b66[_0x5c5167(0x44a)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x147b66[_0x147b66[_0x5c5167(0x41e)]=0x2712]=_0x5c5167(0x41e),_0x147b66[_0x147b66[_0x5c5167(0x448)]=0x2713]=_0x5c5167(0x448),_0x147b66[_0x147b66[_0x5c5167(0x372)]=0x2714]=_0x5c5167(0x372),_0x147b66[_0x147b66[_0x5c5167(0x22e)]=0x271a]=_0x5c5167(0x22e),_0x147b66[_0x147b66[_0x5c5167(0x453)]=0x271b]=_0x5c5167(0x453),_0x147b66[_0x147b66['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x147b66[_0x147b66[_0x5c5167(0x29f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x147b66[_0x147b66['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x5c5167(0x39b),_0x147b66[_0x147b66[_0x5c5167(0x28c)]=0x271f]=_0x5c5167(0x28c),_0x147b66[_0x147b66[_0x5c5167(0x27a)]=0x2720]=_0x5c5167(0x27a),_0x147b66[_0x147b66[_0x5c5167(0x30a)]=0x2af9]=_0x5c5167(0x30a),_0x147b66[_0x147b66[_0x5c5167(0x1df)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x147b66[_0x147b66['INVALID_INVITE_CODE']=0x2ee2]=_0x5c5167(0x2ef),_0x147b66[_0x147b66['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5c5167(0x474),_0x147b66[_0x147b66['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5c5167(0x374),_0x147b66[_0x147b66[_0x5c5167(0x46c)]=0x2ee5]=_0x5c5167(0x46c),_0x147b66[_0x147b66[_0x5c5167(0x2e5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x147b66[_0x147b66[_0x5c5167(0x250)]=0x32ca]=_0x5c5167(0x250),_0x147b66[_0x147b66[_0x5c5167(0x1ce)]=0x32cb]=_0x5c5167(0x1ce),_0x147b66[_0x147b66[_0x5c5167(0x3f8)]=-0x1]=_0x5c5167(0x3f8),_0x147b66))(vi||{}),Z=(_0x306a3f=>(_0x306a3f[_0x306a3f[_0x5c5167(0x2a7)]=0x0]='UNIVER_UNKNOWN',_0x306a3f[_0x306a3f[_0x5c5167(0x22f)]=0x1]=_0x5c5167(0x22f),_0x306a3f[_0x306a3f[_0x5c5167(0x232)]=0x2]='UNIVER_SHEET',_0x306a3f[_0x306a3f[_0x5c5167(0x3cd)]=0x3]='UNIVER_SLIDE',_0x306a3f[_0x306a3f[_0x5c5167(0x274)]=0x4]='UNIVER_PROJECT',_0x306a3f[_0x306a3f[_0x5c5167(0x3f8)]=-0x1]=_0x5c5167(0x3f8),_0x306a3f))(Z||{}),F=(_0x272ca9=>(_0x272ca9[_0x272ca9['UNKNOWN_CMD']=0x0]=_0x5c5167(0x236),_0x272ca9[_0x272ca9[_0x5c5167(0x3d2)]=0x1]=_0x5c5167(0x3d2),_0x272ca9[_0x272ca9['JOIN']=0x2]=_0x5c5167(0x3d1),_0x272ca9[_0x272ca9[_0x5c5167(0x1b2)]=0x3]=_0x5c5167(0x1b2),_0x272ca9[_0x272ca9['INGEST']=0x4]='INGEST',_0x272ca9[_0x272ca9[_0x5c5167(0x1ed)]=0x5]='HEARTBEAT',_0x272ca9[_0x272ca9['RECV']=0x6]=_0x5c5167(0x32a),_0x272ca9[_0x272ca9[_0x5c5167(0x3f8)]=-0x1]=_0x5c5167(0x3f8),_0x272ca9))(F||{}),pe=(_0x2c05b6=>(_0x2c05b6[_0x2c05b6[_0x5c5167(0x401)]=0x0]=_0x5c5167(0x401),_0x2c05b6[_0x2c05b6['OK']=0x1]='OK',_0x2c05b6[_0x2c05b6[_0x5c5167(0x2b4)]=0x2]='FAIL',_0x2c05b6[_0x2c05b6[_0x5c5167(0x3d3)]=0x3e9]=_0x5c5167(0x3d3),_0x2c05b6[_0x2c05b6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5c5167(0x447),_0x2c05b6[_0x2c05b6[_0x5c5167(0x1b6)]=0x3eb]=_0x5c5167(0x1b6),_0x2c05b6[_0x2c05b6['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x5c5167(0x42b),_0x2c05b6[_0x2c05b6[_0x5c5167(0x3f8)]=-0x1]='UNRECOGNIZED',_0x2c05b6))(pe||{}),pi=(_0xff52e=>(_0xff52e[_0xff52e[_0x5c5167(0x1da)]=0x0]=_0x5c5167(0x1da),_0xff52e[_0xff52e[_0x5c5167(0x1af)]=0x1]=_0x5c5167(0x1af),_0xff52e[_0xff52e[_0x5c5167(0x419)]=0x2]='HttpExport',_0xff52e[_0xff52e[_0x5c5167(0x2ea)]=0x3]=_0x5c5167(0x2ea),_0xff52e[_0xff52e['UnitSnapshot']=0x4]=_0x5c5167(0x3f6),_0xff52e[_0xff52e[_0x5c5167(0x48e)]=0x5]='UserProfileImg',_0xff52e[_0xff52e[_0x5c5167(0x3f8)]=-0x1]=_0x5c5167(0x3f8),_0xff52e))(pi||{});const K=_0x5c5167(0x434),Os={};var ne=(_0x225582=>(_0x225582[_0x5c5167(0x392)]=_0x5c5167(0x392),_0x225582[_0x5c5167(0x19f)]=_0x5c5167(0x19f),_0x225582[_0x5c5167(0x36c)]='CONFLICT',_0x225582[_0x5c5167(0x364)]='CLOSE_ROOM',_0x225582[_0x5c5167(0x28f)]='JOIN_ROOM_FAILED',_0x225582['SOCKET_FAILED_RETRY']=_0x5c5167(0x39f),_0x225582[_0x5c5167(0x29c)]=_0x5c5167(0x29c),_0x225582[_0x5c5167(0x1cc)]=_0x5c5167(0x1cc),_0x225582))(ne||{});class ve{constructor(){var _0x45200c=_0x5c5167;N(this,_0x45200c(0x3b9),new _0x431a14()),N(this,_0x45200c(0x452),this[_0x45200c(0x3b9)][_0x45200c(0x2eb)]());}[_0x5c5167(0x3b4)](_0x555d83){var _0x1e8e7a=_0x5c5167;this[_0x1e8e7a(0x3b9)][_0x1e8e7a(0x291)](_0x555d83);}}const bs=_0x561e1a(_0x5c5167(0x370));function ys(_0x3437e0){var _0x51f7de=_0x5c5167,_0x2c8ebd,_0x2629e5,_0x578b82,_0x27d54d,_0x3ee2ff;const _0x4cb4ee=_0x3437e0['data'],_0x5b333f=JSON[_0x51f7de(0x2a3)](_0x4cb4ee);switch(_0x5b333f['cmd']){case F[_0x51f7de(0x1ed)]:case F[_0x51f7de(0x3d2)]:{const _0x239aac=_0x5b333f[_0x51f7de(0x2a9)];return{..._0x5b333f,'data':_0x239aac,'cmd':_0x5b333f['cmd']};}case F['JOIN']:{const _0x4120a8=_0x5b333f[_0x51f7de(0x38a)];return{..._0x5b333f,'data':_0x4120a8,'cmd':_0x5b333f[_0x51f7de(0x240)]};}case F[_0x51f7de(0x32a)]:{const _0x6b3bd8=_0x5b333f[_0x51f7de(0x43e)];switch(_0x6b3bd8[_0x51f7de(0x245)]){case _0x49bb1d['PERMISSION_REJ']:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x2c8ebd=_0x6b3bd8[_0x51f7de(0x28a)])==null?void 0x0:_0x2c8ebd['cs']},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x40d)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x2629e5=_0x6b3bd8['csAckEvent'])==null?void 0x0:_0x2629e5['cs']},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x3a3)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x578b82=_0x6b3bd8[_0x51f7de(0x488)])==null?void 0x0:_0x578b82['cs']},'cmd':_0x5b333f['cmd']};case _0x49bb1d[_0x51f7de(0x333)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x27d54d=_0x6b3bd8[_0x51f7de(0x31b)])==null?void 0x0:_0x27d54d['cs']},'cmd':_0x5b333f['cmd']};case _0x49bb1d[_0x51f7de(0x2fa)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x3ee2ff=_0x6b3bd8[_0x51f7de(0x1d4)])==null?void 0x0:_0x3ee2ff['cs']},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x24e)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8['updateCursorEvent']},'cmd':_0x5b333f['cmd']};case _0x49bb1d[_0x51f7de(0x3b8)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x42e)]},'cmd':_0x5b333f['cmd']};case _0x49bb1d['USERS_LEAVE']:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x1a5)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x46b)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x314)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d['LIVESHARE_FETCH_OPERATIONS']:case _0x49bb1d[_0x51f7de(0x2a2)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x315)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d['LIVESHARE_TERMINATE']:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x314)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x308)]:return{..._0x5b333f,'data':_0x6b3bd8,'cmd':_0x5b333f['cmd']};case _0x49bb1d[_0x51f7de(0x408)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8['commentUpdateEvent']},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x420)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x37e)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x369)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x1e8)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x461)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8['uniscriptRunEvent']},'cmd':_0x5b333f[_0x51f7de(0x240)]};default:return _0x5b333f;}}default:return _0x5b333f;}}function Ns(_0x54208b){var _0x63df05=_0x5c5167;switch(_0x54208b['cmd']){case F[_0x63df05(0x1ed)]:case F[_0x63df05(0x3d2)]:return JSON[_0x63df05(0x2ad)]({'cmd':_0x54208b[_0x63df05(0x240)],'routeKey':_0x54208b[_0x63df05(0x49d)]});case F[_0x63df05(0x39c)]:{let _0x39cc32;switch(_0x54208b[_0x63df05(0x41c)]['eventID']){case _0x49bb1d[_0x63df05(0x24e)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x24e)],'updateCursorEvent':_0x54208b['data'][_0x63df05(0x41c)]};break;}case _0x49bb1d['USERS_LEAVE']:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x2b1)],'leaveEvent':_0x54208b[_0x63df05(0x41c)]['data']};break;}case _0x49bb1d[_0x63df05(0x3b8)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x3b8)],'joinEvent':_0x54208b['data'][_0x63df05(0x41c)]};break;}case _0x49bb1d[_0x63df05(0x46b)]:{_0x39cc32={'eventID':_0x49bb1d['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x54208b[_0x63df05(0x41c)]['data']};break;}case _0x49bb1d[_0x63df05(0x2a2)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x2a2)],'liveShareOperation':_0x54208b[_0x63df05(0x41c)]['data']};break;}case _0x49bb1d[_0x63df05(0x3a2)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x3a2)],'liveShareTerminate':_0x54208b['data'][_0x63df05(0x41c)]};break;}case _0x49bb1d['LIVESHARE_REQUEST_HOST']:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x398)],'liveShareRequestHost':_0x54208b[_0x63df05(0x41c)][_0x63df05(0x41c)]};break;}case _0x49bb1d[_0x63df05(0x23c)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x23c)]};break;}default:_0x39cc32={'eventID':_0x54208b['data'][_0x63df05(0x245)]};}return JSON[_0x63df05(0x2ad)]({'cmd':_0x54208b[_0x63df05(0x240)],'routeKey':_0x54208b[_0x63df05(0x49d)],'collaMsg':_0x39cc32});}case F[_0x63df05(0x3d1)]:return JSON['stringify']({'cmd':_0x54208b['cmd'],'routeKey':_0x54208b[_0x63df05(0x49d)],'joinReq':_0x54208b[_0x63df05(0x41c)]});case F['LEAVE']:return JSON[_0x63df05(0x2ad)]({'cmd':_0x54208b[_0x63df05(0x240)],'routeKey':_0x54208b['routeKey'],'leaveReq':_0x54208b['data']});default:throw new Error(_0x63df05(0x35e));}}var Ds=Object[_0x5c5167(0x2de)],Us=(_0x4028db,_0x1bff6e,_0x16f3aa,_0x341bcf)=>{var _0xc0504e=_0x5c5167;for(var _0x42f9f2=_0x341bcf>0x1?void 0x0:_0x341bcf?Ds(_0x1bff6e,_0x16f3aa):_0x1bff6e,_0x3a4215=_0x4028db[_0xc0504e(0x418)]-0x1,_0x485b81;_0x3a4215>=0x0;_0x3a4215--)(_0x485b81=_0x4028db[_0x3a4215])&&(_0x42f9f2=_0x485b81(_0x42f9f2)||_0x42f9f2);return _0x42f9f2;},De=(_0x140294,_0x16b0ff)=>(_0x5a1805,_0x310fee)=>_0x16b0ff(_0x5a1805,_0x310fee,_0x140294);const mi=_0x561e1a(_0x5c5167(0x441));function As(_0x257da3,_0x523c2c,_0x1880c2){var _0x5d6a93=_0x5c5167;return _0x257da3+'/'+_0x523c2c+'/unit/'+_0x1880c2+_0x5d6a93(0x41f);}let Ft=class extends _0x3bee79{constructor(_0x2007f6,_0x3432af,_0xfcae8b,_0x2e6a6f,_0x4045cc){var _0x505aa1=_0x5c5167;super(),this[_0x505aa1(0x48d)]=_0x2007f6,this[_0x505aa1(0x231)]=_0x3432af,this[_0x505aa1(0x27e)]=_0xfcae8b,this[_0x505aa1(0x1e0)]=_0x2e6a6f,this[_0x505aa1(0x278)]=_0x4045cc;}['_doCreateSocket'](_0x448135){var _0x71a5e0=_0x5c5167;const _0x491662=this[_0x71a5e0(0x48d)][_0x71a5e0(0x2d3)](_0x420ca8);if(!_0x491662)throw new Error(_0x71a5e0(0x1eb));const _0x4e011f=_0x491662[_0x71a5e0(0x368)](_0x448135);if(!_0x4e011f)throw new Error(_0x71a5e0(0x1a8));const _0x47c733=new _0xf860a(),_0x2bc38b=new _0x431a14();_0x47c733[_0x71a5e0(0x426)](_0x4e011f[_0x71a5e0(0x2d7)]['subscribe'](_0x5a46c9=>_0x2bc38b[_0x71a5e0(0x291)](_0x5a46c9))),_0x47c733[_0x71a5e0(0x426)](_0x56b292(()=>_0x2bc38b[_0x71a5e0(0x260)]()));const _0x1f59c0=new _0x431a14();_0x47c733[_0x71a5e0(0x426)](_0x4e011f[_0x71a5e0(0x341)][_0x71a5e0(0x378)](_0x429c0e=>_0x1f59c0[_0x71a5e0(0x291)](_0x429c0e))),_0x47c733['add'](_0x56b292(()=>_0x1f59c0['complete']()));const _0x48720e=new _0x431a14();_0x47c733[_0x71a5e0(0x426)](_0x4e011f[_0x71a5e0(0x473)][_0x71a5e0(0x378)](_0x138afd=>{var _0x217cfa=_0x71a5e0;const _0x391be1=ys(_0x138afd);_0x48720e[_0x217cfa(0x291)](_0x391be1);})),_0x47c733[_0x71a5e0(0x426)](_0x56b292(()=>_0x48720e[_0x71a5e0(0x260)]()));let _0x56eabb;const _0x9f5903=()=>{var _0x392cec=_0x71a5e0;_0x1f59c0['next'](new Event('connection\x20error')),_0x2bc38b[_0x392cec(0x291)](new Event(_0x392cec(0x2e2))),_0x56eabb[_0x392cec(0x3fb)]();};return _0x56eabb={'memberID':'','close$':_0x2bc38b[_0x71a5e0(0x2eb)](),'error$':_0x1f59c0[_0x71a5e0(0x2eb)](),'open$':_0x4e011f[_0x71a5e0(0x24c)],'message$':_0x48720e[_0x71a5e0(0x2eb)](),'send':_0x35a503=>{var _0x4a37a2=_0x71a5e0;if(_0x35a503[_0x4a37a2(0x240)]===F[_0x4a37a2(0x39c)]){if(_0x35a503[_0x4a37a2(0x41c)][_0x4a37a2(0x245)]===_0x49bb1d[_0x4a37a2(0x1a2)]){this[_0x4a37a2(0x277)](_0x56eabb,_0x35a503[_0x4a37a2(0x41c)])[_0x4a37a2(0x3d4)](_0x2c4d3f=>{this['_logService']['error'](_0x2c4d3f),_0x9f5903();});return;}if(_0x35a503[_0x4a37a2(0x41c)][_0x4a37a2(0x245)]===_0x49bb1d[_0x4a37a2(0x393)]){const _0x2c97d7=_0x35a503['data'];this['_fetchMissChangesets'](_0x2c97d7)[_0x4a37a2(0x421)](_0x4a4eb9=>{var _0x5b7006=_0x4a37a2;_0x48720e[_0x5b7006(0x291)]({'cmd':F[_0x5b7006(0x32a)],'code':pe['OK'],'routeKey':_0x2c97d7['data'][_0x5b7006(0x20e)],'routeType':'','data':{'eventID':_0x49bb1d[_0x5b7006(0x1ae)],'data':{'changesets':_0x4a4eb9}}});})[_0x4a37a2(0x3d4)](_0x3967eb=>{var _0x38818c=_0x4a37a2;this[_0x38818c(0x1e0)][_0x38818c(0x347)](_0x3967eb),_0x9f5903();});return;}}_0x4e011f['send'](Ns(_0x35a503));},'close':()=>{_0x4e011f['close'](),_0x47c733['dispose']();}},_0x56eabb;}async[_0x5c5167(0x277)](_0x3de41a,_0x3fa98e){var _0x2c41b8=_0x5c5167,_0x5b942a;const {unitType:_0x4dd2a0,unitID:_0x167ea2,changeset:_0x5b9f75}=_0x3fa98e['data'],_0x16b6c5={'unitID':_0x167ea2,'memberID':_0x3de41a[_0x2c41b8(0x3b6)],'type':_0x4dd2a0,'changeset':_0x46f964(_0x5b9f75)},_0x1b32cd=this[_0x2c41b8(0x27e)][_0x2c41b8(0x1a4)](K),_0x401aae=As((_0x5b942a=_0x1b32cd==null?void 0x0:_0x1b32cd['collabSubmitChangesetUrl'])!=null?_0x5b942a:Cs,_0x4dd2a0,_0x167ea2);try{await this['_httpService'][_0x2c41b8(0x2c0)](_0x401aae,{'body':_0x16b6c5});}catch(_0x4c5cbb){throw this[_0x2c41b8(0x1e0)]['error'](_0x2c41b8(0x23b),_0x2c41b8(0x2f5)),_0x4c5cbb;}}async[_0x5c5167(0x48f)](_0xe1e2a7){var _0x2dd0da=_0x5c5167;const {unitID:_0x4ddaa0,from:_0x5d0f45,to:_0x176872,unitType:_0x631597}=_0xe1e2a7[_0x2dd0da(0x41c)];return(await this[_0x2dd0da(0x278)][_0x2dd0da(0x25b)]({'metadata':void 0x0},{'unitID':_0x4ddaa0,'type':_0x631597,'from':_0x5d0f45,'to':_0x176872}))[_0x2dd0da(0x3a1)];}};Ft=Us([De(0x0,_0x307146(_0x4b4f54)),De(0x1,_0x307146(_0x4f1e64)),De(0x2,_0x4d0e1d),De(0x3,_0x3eb14a),De(0x4,_0x6f2ce2)],Ft);const ws=_0x5c5167(0x297);function Ps(_0xbf8879){var _0x1a0c22=_0x5c5167;return JSON[_0x1a0c22(0x2ad)](_0xbf8879)[_0x1a0c22(0x418)];}class gi{constructor(){var _0xf431e1=_0x5c5167;N(this,_0xf431e1(0x3c3),new _0x431a14()),N(this,_0xf431e1(0x33f),this['_commentUpdate$'][_0xf431e1(0x2eb)]());}[_0x5c5167(0x40e)](_0x335cbc){var _0x1ef197=_0x5c5167;this[_0x1ef197(0x3c3)][_0x1ef197(0x291)](_0x335cbc);}}var Ms=Object['getOwnPropertyDescriptor'],Ls=(_0x596c76,_0x8540f6,_0x1b9d29,_0x38dc26)=>{var _0x5d1464=_0x5c5167;for(var _0xb8c072=_0x38dc26>0x1?void 0x0:_0x38dc26?Ms(_0x8540f6,_0x1b9d29):_0x8540f6,_0x45d118=_0x596c76[_0x5d1464(0x418)]-0x1,_0x58715a;_0x45d118>=0x0;_0x45d118--)(_0x58715a=_0x596c76[_0x45d118])&&(_0xb8c072=_0x58715a(_0xb8c072)||_0xb8c072);return _0xb8c072;},Vt=(_0x594509,_0x54abd4)=>(_0x3f6db1,_0x56e351)=>_0x54abd4(_0x3f6db1,_0x56e351,_0x594509);let we=class extends _0x3bee79{constructor(_0x4bd10c,_0x39faf5){var _0x2fccaf=_0x5c5167;super(),N(this,_0x2fccaf(0x3bf),new Map()),N(this,_0x2fccaf(0x326),new _0x431a14()),(this[_0x2fccaf(0x472)]=_0x4bd10c,this[_0x2fccaf(0x1cf)]=_0x39faf5,this[_0x2fccaf(0x3dc)](_0x3eede2(this[_0x2fccaf(0x472)][_0x2fccaf(0x19d)](_0x33d220[_0x2fccaf(0x232)])[_0x2fccaf(0x3a6)](_0x4aa1f9(_0x2a2456=>_0x2a2456['getUnitId']())),this[_0x2fccaf(0x472)][_0x2fccaf(0x19d)](_0x33d220[_0x2fccaf(0x22f)])[_0x2fccaf(0x3a6)](_0x4aa1f9(_0x5e8273=>_0x5e8273[_0x2fccaf(0x492)]())),this[_0x2fccaf(0x472)][_0x2fccaf(0x19d)](_0x33d220['UNIVER_SLIDE'])[_0x2fccaf(0x3a6)](_0x4aa1f9(_0x3972a6=>_0x3972a6[_0x2fccaf(0x492)]())))[_0x2fccaf(0x378)](_0x221448=>this[_0x2fccaf(0x416)](_0x221448))));}[_0x5c5167(0x266)](_0x53c98a){var _0x3b76d3=_0x5c5167;return this[_0x3b76d3(0x3bf)][_0x3b76d3(0x1f7)](_0x53c98a)?_0xe3ff1f(this['_roomMembers'][_0x3b76d3(0x2d3)](_0x53c98a)):this[_0x3b76d3(0x326)][_0x3b76d3(0x3a6)](_0x4aa1f9(_0x39aadb=>{var _0x27b691=_0x3b76d3;if(_0x39aadb===_0x53c98a)return this[_0x27b691(0x3bf)][_0x27b691(0x2d3)](_0x39aadb);}));}[_0x5c5167(0x432)](_0x114745){var _0x33a7ef=_0x5c5167;this[_0x33a7ef(0x1cf)]['setCurrentUser'](_0x114745);}['getCurrentUser'](){var _0x126078=_0x5c5167;return this[_0x126078(0x1cf)]['getCurrentUser']();}[_0x5c5167(0x3a5)](_0x2bba9b,_0x2fb828){var _0x422b43=_0x5c5167;let _0x3697e1=this[_0x422b43(0x3bf)][_0x422b43(0x2d3)](_0x2bba9b);_0x3697e1||(_0x3697e1=new xs(),this[_0x422b43(0x3bf)][_0x422b43(0x444)](_0x2bba9b,_0x3697e1),this['_roomCreated$'][_0x422b43(0x291)](_0x2bba9b)),_0x3697e1[_0x422b43(0x3a5)](_0x2fb828);}[_0x5c5167(0x2d4)](_0x1e0f2d,_0x3bc477){var _0x549b0b=_0x5c5167;const _0x25e3db=this['_roomMembers'][_0x549b0b(0x2d3)](_0x1e0f2d);_0x25e3db&&_0x25e3db['removeMember'](_0x3bc477);}['getRoom'](_0x4fc2d5){var _0x2b1898=_0x5c5167;return this[_0x2b1898(0x3bf)][_0x2b1898(0x2d3)](_0x4fc2d5);}[_0x5c5167(0x2bf)](_0x15735d,_0x500e1d){var _0x3f06d6=_0x5c5167;const _0xfa042d=this[_0x3f06d6(0x3bf)][_0x3f06d6(0x2d3)](_0x15735d);if(_0xfa042d)return _0xfa042d['getMember'](_0x500e1d);}[_0x5c5167(0x416)](_0x21f0ef){var _0x27c0c8=_0x5c5167;const _0x18454d=this[_0x27c0c8(0x3bf)]['get'](_0x21f0ef);_0x18454d&&(_0x18454d[_0x27c0c8(0x424)](),this[_0x27c0c8(0x3bf)]['delete'](_0x21f0ef));}[_0x5c5167(0x424)](){var _0x2a0740=_0x5c5167;this[_0x2a0740(0x3bf)]['forEach'](_0x4efb9e=>_0x4efb9e['dispose']()),this[_0x2a0740(0x3bf)][_0x2a0740(0x19e)](),this[_0x2a0740(0x326)][_0x2a0740(0x260)]();}};we=Ls([Vt(0x0,_0x4e8bc9),Vt(0x1,_0x307146(_0xd2f4a2))],we);function _0x1b1a(){var _0x4fb9b5=['PERSON','_exhaustRemoteChangesetQueue','UnitEmbedded','asObservable','onTransformIME','PasswordBasedCipher','awaitingChangeset','INVALID_INVITE_CODE','readyForCollab','updateCollaborator','_entityInit$','session.room-not-exists','ivSize','submit\x20changeset\x20error!','decrypt','APPLY_PERMISSION_DENIED','_checkMissing','apply','CHANGESET_SHOULD_RETRY','key','unitId\x20is\x20not\x20found','resend','18488VzbpBU','_changesetReqId','c2Prime','retryConnectingInterval','_awaitingChangeset','_compressMutationService','actions','[PendingState]:\x20unhandled\x20univer\x20type:\x20','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_doReset','MSG_FOR_ERROR','_config','PY_RUNTIME_SCRIPT_ERROR','prototype','enc','SerializableCipher','image/jpg','_changesetSessionId','clamp','resolve','deepClone','_listenToNetworkCondition','liveShareNewHost','liveShareOperation','floor','\x20-\x20','Encryptor','padding','now','csRejEvent','update','fetchThroughInterceptors','ws://127.0.0.1:8000/universer-api/comb/connect','_localCacheService','JOINING','every','_resendTimer','not_collab','fromCharCode','save\x20fail\x20reason\x20is\x20','_roomCreated$','UNIVER_COLLABORATION_CLIENT_PLUGIN','_applyRemoteChangeset','buffer','RECV','_remoteChangesetQueue','_members$','ALREADY_EXISTS','NoPadding','getWorkbookSelections','CipherParams','_collaborationSessionService','_initMergeInterceptor','CHANGESET_REJ','_process','BlockCipher','NO_OTHER_CLIENTS_EDITING','5050vrOXHL','send','IDLE','subject','encodeURIComponent','_createHmacHelper','sessionStatus$','concat','commentUpdate$','Base64','error$','unpad','copyFileMeta','decryptBlock','__creator','1373449gvSEDR','error','objectID','Hex','ciphertext','range','_transformStack','_mode','indexOf','Could\x20not\x20dynamically\x20require\x20\x22','[FetchMissState]','COMPRESS_MUTATION_SEND','image/gif','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveImage','_getCtorByUniverType','getTime','forEach','snapshotServerUrl','setWaitCount','_sheetTransformSelectionsService','[OfflineState]:\x20received\x20changeset.','location','compute','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_unitID','toggleOffline','getAllMembers','_DEC_XFORM_MODE','_onJoinRoomEvent','CLOSE_ROOM','status','CONNECTOR_DATA_TOO_LARGE','formatter','createSocket','SHOULD_CLOSE_CONN','pending','selections','CONFLICT','ceil','univer-pro.collaboration-client.single-active-unit-service','_nDataBytes','univer-pro.collaboration-client.network-condition.service','_undoStacks','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleCollaborationTimeoutTimer','USER_NOT_INVITED_CODE','localeService','editingUnit','collaboration-client.local-cache-service','subscribe','max','MD5','_isPermissionRej','_getAPIPrefix','BASE64','updatePermissionObjEvent','Utf8','/universer-api/authz','result','Univer','/resources','patch','_socketService','code','msCrypto','transformUndoRedo','toggleOnline','joinRsp','abs','extend','onMissingChangesets','socket\x20open.','onMissedChangesetFetched','encode','roomInfos','OTHER_CLIENT_EDITING','FETCH_MISSING','symbol','[PendingState]:\x20received\x20rejection.','_timeoutTimer','[CollaborationSessionService]','LIVESHARE_REQUEST_HOST','_parse','_onRemoteRetry','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INGEST','EMAIL_VERIFY_CODE_MISMATCH','algo','SOCKET_FAILED_RETRY','onCommandExecuted','changesets','LIVESHARE_TERMINATE','NEW_CHANGESETS','snapshot','updateMember','pipe','defineProperty','$super','reqId','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/snapshot/','_hasher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unitInfo$','_init','string','kdf','_candidateSocket','collabWebSocketUrl','emitEvent','headers','memberID','3201aLFLXX','USERS_ENTER','_event$','_onRemoteRejected','reset','saveSnapshot','_tryEnsureSocket','_unitInfo$','_roomMembers','mixIn','addImageSourceCache','fetch_missing','_commentUpdate$','_createHandler','_updateStatus','_handlerCallback','transformSelections','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','socket$','saveSheetBlock','put','randomBytes','UNIVER_SLIDE','_replaceFileID','_getAPIPrefixPath','Hasher','JOIN','HELLO','JOIN_ROOM_FULL','catch','2421iqEaQT','onTransformRemoteChangesetByStateCache','_hash','transformMutationsWithChangeset','_sendHeartbeatTimer','onSyncEditingCollabCursor','_createInitialStateImpl','disposeWithMe','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','function','_collaborationPaused','HMAC','_initRequestHeader','[CollaborationState]:\x20apply\x20error!','onload','isArray','?url=','pluginName','Decryptor','UNDEFINED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitOnRev','textRanges','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConnectionFailed','[SyncedState]:\x20received\x20acknowledgement.','localCacheService','_iv','_onUserJoin','awaiting','setConfig','APPLY_REVISION_CONFILICT','UnitSnapshot','MUTATION','UNRECOGNIZED','unknown','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','close','from','charAt','_socketMessageSubscription','POST','compose','UNKNOWN_CODE','socketService','includes','sid','hostname','_queuedRemoteChangesets','_transformStateCache','COMMENT_UPDATE','LICENSE_IMPORT_SIZE_EXCEEDED','loadOfflineData','isPermissionRej','params','CHANGESET_ACK','onCommentUpdate','[CollaborationUndoRedoService]','_initUnitPermissionChange','_transformRemoteChangesetByIMECache','_clearRedo','OpenSSL','reconnect','/universer-api/file/{fileID}/sign-url','_removeRoom','dispose$','length','HttpExport','6STxfLQ','executeCommand','data','OTHER_CLIENTS_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','/new_changes','UPDATE_PERMISSION_OBJ','then','_tryReconnect','requireSession','dispose','_sender','add','execute','toString','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_createHelper','GLOBAL_ROOMS_CNT_EXCEEDS','downloadEndpointUrl','_doCryptBlock','joinEvent','onRemoteChangeset','failed\x20to\x20apply\x20missed\x20changesets!','splice','setCurrentUser','/universer-api/user/session-ticket','collaboration-client.config','_getUndoStack','_transformRemoteChangesetByStateCache','objectType','_HTTPService','focused$','_syncEditingCollabCursor','_type','_onRemoteChangeset','initWorkbookPermissionChange','collaMsg','_reverseMap','HmacSHA1','univer-pro.collaboration-client-socket-service','exports','auth.needGotoLoginAlert','set','awaiting_with_pending','enableAuthServer','JOIN_ROOM_NOT_EXISTS','YUUMI_RATE_OVER_LIMIT','_permissionService','YUUMI_UNABLE_LOAD_URL','_socketReady','createEncryptor','_clearUndo','_retryCount','FileId','min','_updateLocalCache','event$','YUUMI_ASYNCIO_CANCELLED','_prevBlock','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSignURL','Failed\x20to\x20update\x20permission\x20point','_cipher','duration','getImageSourceCache','appendMutation','getMemberID','_doFinalize','\x0aCurrent:\x20','reject','_waitForHeartbeatResponse','UNISCRIPT_RUN','_startCollaboration','3358505UOdbiD','uploadFileServerUrl','type','sigBytes','&assign=','onTransformRemoteChangesetByIMECache','_startTelemetryCollaborationNewChangeset','_nRounds','LIVESHARE_NEW_HOST','INVITE_CODE_ALREADY_BOUND','_revisionService','COMPRESS_MUTATION_APPLY','originalMeta','withCredentials','registerHTTPInterceptor','_univerInstanceService','message$','INVITE_CODE_REQUIRED','method','_onMessage','[CollaborationEntity]','getActiveSheet','body','_commentService','_collaborationUIEventService','authzUrl','baseRev','_emitMembers','__Key__','ERROR_EXCEED_SIZE','_clearHeartbeatTimer','session.room-permission-denied','_data','_onCombEvent','SNAPSHOT_URL_KEY','ERROR_IMAGE_TYPE','_append','newCsEvent','clone','userID','onTransformSelections','_stopTelemetryCollaborationNewChangeset','_injector','UserProfileImg','_fetchMissChangesets','_imageSourceCache','ENSURE_SNAPSHOT_EXECUTION','getUnitId','session','_onConflict','[DataLoaderService]','crypto','avatar','filter','/collaborator','change$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','reverse','routeKey','join','_key','_getUploadFileURL','entityInit$','sin','__esModule','_map','_shouldReportTelemetry','BufferedBlockAlgorithm','AES','sessionStatus','_invKeySchedule','_acknowledgedAwaitingChangeset','editing\x20status\x20changed\x20to','getTypeOfUnitDisposed$','clear','PERMISSION_DENIED','transformChangesets','unitId','SUBMIT_CHANGESET','AWAITING_WITH_PENDING','getConfig','leaveEvent','_doProcessBlock','enableCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','\x20in\x20_schedule.','ERROR_IMAGE','/universer-api/comb','_sendHeartbeat','onlyLocal','PSEUDO_FETCH_MISSING_RESULT','HttpImport','image/jpeg','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LEAVE','_eventService','_showConflictNotification','_rescheduleHeartbeat','JOIN_ROOM_PERMISSION_DENIED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SNAPSHOT_HAS_BEEN_REMOVED','refreshPermission','sendChangesetTimeout','href','onSendChangeset','size','encrypt','_telemetryService','updateOfflineData','/universer-api/oidc/authpage','append','call','_collaborationTimeoutTimer','collaborators','13GUsfNW','_iKey','_disableEditing','unit-cache-','addHandlerCallback','saveChangeset','SUBMIT_CHANGESET_TIMEOUT','src','EMAIL_HAS_BEEN_BOUND','_userManagerService','StreamCipher','44nvxKdZ','listCollaborators','_clearTimeoutTimer','csShouldRetryEvent','/allowed','_substituteRedoStack','SNAPSHOT_INVALID_SNAPSHOT','COMPLETION_FINISHED','session.room-full','Undefined','getInterceptPoints','/-/object/-/batch_allowed','_collabSessionService','signUrlServerUrl','INVITE_CODE_HAS_BEEN_UES','_logService','push','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_localeService','_change$','image/bmp','interceptor','_createInitialState','shouldCloseConn','_oKey','transformStack\x20failed!','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','OFFLINE','HEARTBEAT','format','createInstance','_snapshotService','_incrementRevisionNumber','_clearCollaborationTimeoutTimer','conflict','onRemoteAck','_transformSelections','/fetchmissing?from=','has','LOCAL_CACHE_INTERVAL','_members','_throwTelemetryCollaborationNewChangeset','_socket','random','hasOwnProperty','_onConnectionOpen','create','[OfflineState]:\x20received\x20acknowledgement.','INTERNAL_ERROR','getValue','_clearScheduledTask','UNAUTHENTICATED','_joinRoom','createCollaborator','_resendTimeout','processBlock','loadUnitOfRevision','_lockTransition','_handler','[CollaborationSessionService]:\x20socket\x20error','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','unitID','updatePermissionPoint','allowed','_sessions','pad','finalize','default','_replayCachedMutations','state','delete','slice','_commandService','Error\x20on\x20receiving\x20event','byteLength','fromCollab','_singleActiveUnitService','_state$','disableLocalCache','url','FETCH_MISS','getResourcesRequest','reduce','keySize','enableSingleActiveInstanceLock','_pendingMutations','session.join-failed','objects','getCurrentUser','init','_executeRemoteChangeset','[UniverCollaborationClientPlugin]','_state','YUUMI_NO_CUBOID_FOR_QUESTION','UNIVER_DOC','_onRemoteACK','_httpService','UNIVER_SHEET','SUCCUSS','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNKNOWN_CMD','_transitionLocked','loadUnit','createDecryptor','_toggleOffline','[CollaborationSession]','LIVESHARE_FETCH_OPERATIONS','getDeserializedSheetBlock','LOGIN_FAILED','_toggleOnline','cmd','_decreaseWaiting','_onOffline','295599fvAFuE','revision','eventID','name','_minBufferSize','salt','3321778zBoznj','status$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','open$','DEFAULT_FILE_NAME','UPDATE_CURSOR','TOO_MANY_REQUESTS','MOBILE_HAS_BEEN_BOUND','onTransformState','WordArray','unsubscribe','_networkConditionService','cfg','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_retryConnectingTimer','EvpKDF','action','HmacMD5','fetchMissingChangesets','getFocusedUnit','Latin1','blockSize','_keyPriorReset','complete','_xformMode','image/png','NOT_FOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','offline','waitForRoom$','equals','debug','lib','list','onRemoteRetry','c1Prime','iterations','/block/','enableOfflineEditing','closeSession','online$','_instanceService','startTime','UNIVER_PROJECT','/unit/','_socket$','_submitChangeset','_snapshotServerService','getSheetBlock','YUUMI_CONNECTOR_URL_NOT_FOUND','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','1aEmXPs','setShowComponents','_configService','state$','_onRecvEvent','_createSocket','[PendingState]:\x20received\x20acknowledgement.','getCollabEntity','CHANGESET_REVISION_CONFILICT','_memberService','onStarting','m2Prime','_getCurrentRevision','_sendingTimer','permissionRejEvent','ONLINE','YUUMI_AI_RUN_FAILED','roles','_unlockTransition','JOIN_ROOM_FAILED','getSnapshotAPIPath','next','onRemoteRej','updateSnapshot','words','_getDownloadEndpointURL','getUnitType','collaboration_new_changeset','_clearRetryConnectingTimer','_ENC_XFORM_MODE','getTypeOfUnitAdded$','_waitCount','SOCKET_FAILED','_substituteUndoStack','charCodeAt','YUUMI_ALL_TABLES_IS_INVALID','_transformService','Base','LIVESHARE_OPERATION','parse','_keySchedule','stopTime','getUnitStatus$','UNIVER_UNKNOWN','LICENSE_MAX_UNITS_EXCEEDED','infoRsp','_onFetchMissResult','CBC','getImage','stringify','_sessionStatus$','APPLY_NON_SEQUENTIAL_REVISION','find','USERS_LEAVE','_updateState','members','FAIL','capture','pauseCollaboration','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','map','SHA1','_initDependencies','_getSendChangesetTimeout','encryptBlock','_resendWithTimeout','_telemetryInfo','getMember','post','NOT_COLLAB','_registerDependencies','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','3127512hZVbOE','findIndex','origin','rev','_undoRedoService','?size=','MOBILE_VERIFY_CODE_MISMATCH','_schedule','_onLocalMutation','substr','_getLoginPath','mode','getCurrentSelections','requestParams','_status$','get','removeMember','loadSheet','OPTIONAL','close$','/rev/','/object/','LICENSE_DISTRO_REJECTED','LICENSE_EXPORT_SIZE_EXCEEDED','hasher','getUnit','getOwnPropertyDescriptor','APPLY_DUPLICATED','mutations','startsWith','connection\x20error','/-/object/list','getCurrentRevOfUnit','WECHAT_HAS_BEEN_BOUND','values','_entities'];_0x1b1a=function(){return _0x4fb9b5;};return _0x1b1a();}class xs extends _0x3bee79{constructor(){var _0x1d5a93=_0x5c5167;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x582d2e(this[_0x1d5a93(0x1f9)])),N(this,'members$',this[_0x1d5a93(0x32c)][_0x1d5a93(0x2eb)]());}[_0x5c5167(0x424)](){var _0x6dc0eb=_0x5c5167;this[_0x6dc0eb(0x1f9)]['clear']();}[_0x5c5167(0x3a5)](_0x1f50d3){var _0x42d127=_0x5c5167;this['_members'][_0x42d127(0x444)](_0x1f50d3['memberID'],_0x1f50d3),this[_0x42d127(0x47e)]();}[_0x5c5167(0x2d4)](_0x37e8f9){var _0x1b13bf=_0x5c5167;this['_members'][_0x1b13bf(0x217)](_0x37e8f9);}[_0x5c5167(0x2bf)](_0x2593d0){var _0x3d26b1=_0x5c5167;return this[_0x3d26b1(0x1f9)][_0x3d26b1(0x2d3)](_0x2593d0);}[_0x5c5167(0x361)](){var _0x10ba01=_0x5c5167;return Array[_0x10ba01(0x3fc)](this['_members'][_0x10ba01(0x2e6)]());}[_0x5c5167(0x47e)](){var _0x2d2622=_0x5c5167;this['_members$'][_0x2d2622(0x291)](this[_0x2d2622(0x1f9)]);}}var ks=Object[_0x5c5167(0x2de)],$s=(_0x1ec0fd,_0x25cdeb,_0x3bd7e2,_0x40f9d1)=>{var _0x261a8f=_0x5c5167;for(var _0x4381dc=_0x40f9d1>0x1?void 0x0:_0x40f9d1?ks(_0x25cdeb,_0x3bd7e2):_0x25cdeb,_0x53c6e0=_0x1ec0fd[_0x261a8f(0x418)]-0x1,_0x32f1ac;_0x53c6e0>=0x0;_0x53c6e0--)(_0x32f1ac=_0x1ec0fd[_0x53c6e0])&&(_0x4381dc=_0x32f1ac(_0x4381dc)||_0x4381dc);return _0x4381dc;},Ce=(_0x3880bf,_0x5965f4)=>(_0x4f62df,_0x11f28d)=>_0x5965f4(_0x4f62df,_0x11f28d,_0x3880bf),ge=(_0x1020ca=>(_0x1020ca[_0x1020ca[_0x5c5167(0x339)]=0x0]=_0x5c5167(0x339),_0x1020ca[_0x1020ca['JOINING']=0x1]=_0x5c5167(0x320),_0x1020ca[_0x1020ca['OFFLINE']=0x2]='OFFLINE',_0x1020ca[_0x1020ca[_0x5c5167(0x28b)]=0x3]='ONLINE',_0x1020ca))(ge||{});const Wt={[pe[_0x5c5167(0x2b4)]]:_0x5c5167(0x227),[pe[_0x5c5167(0x3d3)]]:_0x5c5167(0x1d9),[pe[_0x5c5167(0x447)]]:_0x5c5167(0x2f3),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x5c5167(0x482),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let gt=class extends _0x2049da{constructor(_0x4b4505,_0x558c0a,_0x23aaca,_0xe8c0ff,_0x389bf6,_0x67deda,_0x2bee,_0x34dc68){var _0x572727=_0x5c5167;super(),N(this,_0x572727(0x2ae),new _0x582d2e(0x0)),N(this,_0x572727(0x33d),this[_0x572727(0x2ae)][_0x572727(0x2eb)]()),N(this,'_event$',new _0x431a14()),N(this,_0x572727(0x452),this[_0x572727(0x3b9)][_0x572727(0x2eb)]()),N(this,_0x572727(0x1fb)),N(this,'_socketMessageSubscription'),N(this,_0x572727(0x1c4)),N(this,_0x572727(0x4a5),!0x1),N(this,_0x572727(0x2be),null),(this['_unitID']=_0x4b4505,this['_logService']=_0x23aaca,this[_0x572727(0x27e)]=_0xe8c0ff,this['_memberService']=_0x389bf6,this['_commentService']=_0x67deda,this['_collaborationUIEventService']=_0x2bee,this['_telemetryService']=_0x34dc68,this[_0x572727(0x4a5)]=!!this['_telemetryService'],_0x558c0a[_0x572727(0x3a6)](_0x51a064(this[_0x572727(0x417)]))['subscribe'](_0x1785cd=>{var _0x11f202=_0x572727,_0x3543fb;typeof _0x1785cd>'u'||(this['_socket']=_0x1785cd,_0x1785cd?(this[_0x11f202(0x205)](_0x1785cd),this[_0x11f202(0x3fe)]=_0x1785cd['message$']['subscribe'](_0x4e53ff=>{var _0x5cb67c=_0x11f202;_0x4e53ff[_0x5cb67c(0x49d)]===this[_0x5cb67c(0x35f)]&&this[_0x5cb67c(0x484)](_0x4e53ff);})):(this[_0x11f202(0x1fa)](),this[_0x11f202(0x2ae)]['next'](0x2),(_0x3543fb=this[_0x11f202(0x3fe)])==null||_0x3543fb['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x5c5167(0x4a8)](){var _0x1b87fc=_0x5c5167;return this[_0x1b87fc(0x2ae)][_0x1b87fc(0x202)]();}[_0x5c5167(0x45c)](){var _0x7a477=_0x5c5167,_0x36227a,_0x4630ec;return(_0x4630ec=(_0x36227a=this[_0x7a477(0x1fb)])==null?void 0x0:_0x36227a['memberID'])!=null?_0x4630ec:null;}[_0x5c5167(0x424)](){var _0x418b82=_0x5c5167;super[_0x418b82(0x424)](),this[_0x418b82(0x417)]['next'](),this[_0x418b82(0x417)][_0x418b82(0x260)]();}[_0x5c5167(0x3fb)](){var _0x13f3c0=_0x5c5167,_0x247514,_0x713511;this['_throwTelemetryCollaborationNewChangeset'](),(_0x247514=this[_0x13f3c0(0x1fb)])==null||_0x247514['send']({'cmd':F[_0x13f3c0(0x1b2)],'data':{'roomID':this[_0x13f3c0(0x35f)]}}),(_0x713511=this[_0x13f3c0(0x1fb)])==null||_0x713511[_0x13f3c0(0x3fb)](),this[_0x13f3c0(0x3b9)]['complete'](),this[_0x13f3c0(0x2ae)][_0x13f3c0(0x260)](),this[_0x13f3c0(0x424)]();}[_0x5c5167(0x484)](_0x25e069){var _0x2b2ca4=_0x5c5167;_0x25e069['cmd']===F['JOIN']?this['_onJoinRoomEvent'](_0x25e069):_0x25e069[_0x2b2ca4(0x240)]===F['RECV']&&this[_0x2b2ca4(0x280)](_0x25e069);}['_joinRoom'](_0xabe9fa){var _0x121e83=_0x5c5167;this['_sessionStatus$'][_0x121e83(0x291)](0x1),_0xabe9fa[_0x121e83(0x338)]({'cmd':F[_0x121e83(0x3d1)],'routeKey':this[_0x121e83(0x35f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x121e83(0x35f)]}]}});}[_0x5c5167(0x363)](_0xa5de95){var _0x2677da=_0x5c5167,_0x494450;if(_0xa5de95[_0x2677da(0x386)]in Wt){this['_collaborationUIEventService'][_0x2677da(0x3b4)]({'id':ne['JOIN_ROOM_FAILED'],'data':Wt[_0xa5de95[_0x2677da(0x386)]]}),this[_0x2677da(0x2ae)][_0x2677da(0x291)](0x2);return;}this['_sessionStatus$'][_0x2677da(0x291)](0x3);const _0xe73da9=(_0x494450=_0xa5de95['data'][_0x2677da(0x391)][this[_0x2677da(0x35f)]])==null?void 0x0:_0x494450[_0x2677da(0x2b3)];_0xe73da9&&_0xe73da9[_0x2677da(0x357)](_0x837890=>this[_0x2677da(0x285)][_0x2677da(0x3a5)](this[_0x2677da(0x35f)],_0x837890));}['_onRecvEvent'](_0x4da168){var _0x45845e=_0x5c5167;try{const _0x3c4d8c=_0x4da168[_0x45845e(0x41c)];switch(_0x3c4d8c['eventID']){case _0x49bb1d['USERS_ENTER']:this[_0x45845e(0x3f2)](_0x3c4d8c),this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);break;case _0x49bb1d[_0x45845e(0x2b1)]:this['_onUserLeave'](_0x3c4d8c),this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);break;case _0x49bb1d[_0x45845e(0x40d)]:case _0x49bb1d['CHANGESET_SHOULD_RETRY']:this[_0x45845e(0x48c)](),this[_0x45845e(0x1f2)](),this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);break;case _0x49bb1d[_0x45845e(0x308)]:this['_logService']['error'](_0x45845e(0x325)+JSON[_0x45845e(0x2ad)](_0x3c4d8c)),this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);break;case _0x49bb1d[_0x45845e(0x408)]:this[_0x45845e(0x47a)][_0x45845e(0x40e)](_0x3c4d8c[_0x45845e(0x41c)]),this['_event$'][_0x45845e(0x291)](_0x3c4d8c);break;default:this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);}}catch(_0x3db853){this[_0x45845e(0x1e0)][_0x45845e(0x347)](_0x3db853,_0x4da168);}}[_0x5c5167(0x3f2)](_0x24f2a5){var _0x3b91ef=_0x5c5167;this['_memberService'][_0x3b91ef(0x3a5)](this[_0x3b91ef(0x35f)],_0x24f2a5['data']);}['_onUserLeave'](_0x5f19ea){var _0x5bd62b=_0x5c5167;this[_0x5bd62b(0x285)][_0x5bd62b(0x2d4)](this[_0x5bd62b(0x35f)],_0x5f19ea[_0x5bd62b(0x41c)][_0x5bd62b(0x3b6)]);}async['send'](_0x5233fe,_0x116b94){var _0x10ceaa=_0x5c5167;if(this['sessionStatus']!==0x3||!this[_0x10ceaa(0x1fb)])throw new Error(_0x10ceaa(0x49b));try{_0x5233fe[_0x10ceaa(0x245)]===_0x49bb1d[_0x10ceaa(0x1a2)]&&(this[_0x10ceaa(0x373)](),this['_startTelemetryCollaborationNewChangeset'](_0x5233fe)),this[_0x10ceaa(0x1fb)]['send']({'cmd':F['INGEST'],'routeKey':_0x116b94,'routeType':'','data':_0x5233fe});}catch(_0x3a3410){this[_0x10ceaa(0x1e0)][_0x10ceaa(0x347)](_0x3a3410);}}[_0x5c5167(0x373)](){var _0x93041=_0x5c5167,_0xb13d72;this[_0x93041(0x1c4)]=setTimeout(()=>{var _0x18b768=_0x93041;this['_collaborationTimeoutTimer']=null,this[_0x18b768(0x47b)][_0x18b768(0x3b4)]({'id':ne[_0x18b768(0x1cc)]});},(_0xb13d72=this[_0x93041(0x27e)][_0x93041(0x1a4)](di))!=null?_0xb13d72:fi);}['_clearCollaborationTimeoutTimer'](){var _0x5902d0=_0x5c5167;this[_0x5902d0(0x1c4)]&&(clearTimeout(this[_0x5902d0(0x1c4)]),this[_0x5902d0(0x1c4)]=null);}[_0x5c5167(0x469)](_0x3f1f4b){var _0x12d850=_0x5c5167;if(!this[_0x12d850(0x4a5)])return;const {data:_0x2f86bb}=_0x3f1f4b,{unitID:_0x2d6362,changeset:_0x3f78f9}=_0x2f86bb,{mutations:_0x2161cd,type:_0x44198e}=_0x3f78f9;this[_0x12d850(0x2be)]={'unitId':_0x2d6362,'type':_0x44198e,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x2161cd)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x9545a0=_0x5c5167;if(this['_shouldReportTelemetry']){if(!this[_0x9545a0(0x2be)]){this[_0x9545a0(0x1e0)][_0x9545a0(0x347)](_0x9545a0(0x23b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x9545a0(0x2be)][_0x9545a0(0x2a5)]=performance[_0x9545a0(0x31a)](),this[_0x9545a0(0x2be)][_0x9545a0(0x459)]=this['_telemetryInfo'][_0x9545a0(0x2a5)]-this['_telemetryInfo'][_0x9545a0(0x273)],this[_0x9545a0(0x1bf)][_0x9545a0(0x2b5)](ws,this[_0x9545a0(0x2be)]),this[_0x9545a0(0x2be)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};gt=$s([Ce(0x2,_0x3eb14a),Ce(0x3,_0x4d0e1d),Ce(0x4,_0x307146(we)),Ce(0x5,_0x307146(gi)),Ce(0x6,_0x307146(ve)),Ce(0x7,_0x4fe35e(_0x17a61e))],gt);var Hs=Object[_0x5c5167(0x2de)],Bs=(_0x36ea83,_0xa9f881,_0x11f842,_0x270c64)=>{for(var _0xecdcf2=_0x270c64>0x1?void 0x0:_0x270c64?Hs(_0xa9f881,_0x11f842):_0xa9f881,_0x53eb40=_0x36ea83['length']-0x1,_0x9cf87c;_0x53eb40>=0x0;_0x53eb40--)(_0x9cf87c=_0x36ea83[_0x53eb40])&&(_0xecdcf2=_0x9cf87c(_0xecdcf2)||_0xecdcf2);return _0xecdcf2;},Re=(_0x339308,_0x160b37)=>(_0x42c9f3,_0x52fbb5)=>_0x160b37(_0x42c9f3,_0x52fbb5,_0x339308);let Pe=class extends _0x3bee79{constructor(_0x3a9eb7,_0xc29966,_0x5124c0,_0x5beade,_0x2d0eb6,_0x11d7d0){var _0x40f633=_0x5c5167;super(),N(this,'_socket$',new _0x582d2e(void 0x0)),N(this,_0x40f633(0x3c9),this[_0x40f633(0x276)][_0x40f633(0x2eb)]()),N(this,_0x40f633(0x3b2),null),N(this,_0x40f633(0x211),new Map()),N(this,_0x40f633(0x2d2),new _0x582d2e(ge[_0x40f633(0x339)])),N(this,'status$',this[_0x40f633(0x2d2)][_0x40f633(0x2eb)]()),N(this,'_socketReady',!0x1),N(this,_0x40f633(0x257)),N(this,_0x40f633(0x44e),0x0),N(this,_0x40f633(0x3d9)),N(this,_0x40f633(0x396)),(this['_injector']=_0x3a9eb7,this[_0x40f633(0x1e0)]=_0xc29966,this[_0x40f633(0x27e)]=_0x5124c0,this[_0x40f633(0x385)]=_0x5beade,this[_0x40f633(0x47b)]=_0x2d0eb6,this[_0x40f633(0x254)]=_0x11d7d0,this[_0x40f633(0x313)]());}get[_0x5c5167(0x1fb)](){var _0x4248ab=_0x5c5167;return this[_0x4248ab(0x276)][_0x4248ab(0x202)]();}[_0x5c5167(0x313)](){var _0x54d6c5=_0x5c5167;this[_0x54d6c5(0x254)]&&this['disposeWithMe'](this[_0x54d6c5(0x254)][_0x54d6c5(0x271)][_0x54d6c5(0x378)](_0x35ec6b=>{var _0x1f7618=_0x54d6c5;_0x35ec6b&&!this[_0x1f7618(0x1fb)]&&this[_0x1f7618(0x414)](),_0x35ec6b||this[_0x1f7618(0x242)]();}));}[_0x5c5167(0x424)](){var _0x167394=_0x5c5167;super[_0x167394(0x424)](),this[_0x167394(0x298)](),this[_0x167394(0x1d3)](),this[_0x167394(0x481)](),this[_0x167394(0x211)]['forEach'](_0x45de42=>_0x45de42[_0x167394(0x424)]()),this[_0x167394(0x211)][_0x167394(0x19e)](),this[_0x167394(0x2d2)]['complete']();}async['requireSession'](_0x48a677){var _0x4e7b6d=_0x5c5167;if(this[_0x4e7b6d(0x211)]['has'](_0x48a677))return this[_0x4e7b6d(0x211)]['get'](_0x48a677);this[_0x4e7b6d(0x3bd)]();const _0x4a1f02=this['_injector'][_0x4e7b6d(0x1ef)](gt,_0x48a677,this[_0x4e7b6d(0x276)][_0x4e7b6d(0x2eb)]());return this['_sessions']['set'](_0x48a677,_0x4a1f02),_0x4a1f02;}[_0x5c5167(0x270)](_0x541a3d){var _0x4b67b0=_0x5c5167,_0x4be5bf;const _0x5aee1d=this[_0x4b67b0(0x211)][_0x4b67b0(0x2d3)](_0x541a3d);_0x5aee1d&&(this[_0x4b67b0(0x211)][_0x4b67b0(0x217)](_0x541a3d),_0x5aee1d[_0x4b67b0(0x3fb)]()),this[_0x4b67b0(0x211)][_0x4b67b0(0x1bd)]||(_0x4be5bf=this[_0x4b67b0(0x1fb)])==null||_0x4be5bf[_0x4b67b0(0x3fb)]();}[_0x5c5167(0x414)](){var _0x1f602c=_0x5c5167;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x1f602c(0x422)]();}[_0x5c5167(0x298)](){var _0x45280f=_0x5c5167;this[_0x45280f(0x257)]!=null&&(clearTimeout(this[_0x45280f(0x257)]),this[_0x45280f(0x257)]=null);}async['_createSocket'](){var _0x52e5ae=_0x5c5167,_0x475a8d;const _0x48f6ab=this[_0x52e5ae(0x27e)][_0x52e5ae(0x1a4)](K),_0x49ea9e=(_0x475a8d=_0x48f6ab==null?void 0x0:_0x48f6ab[_0x52e5ae(0x3b3)])!=null?_0x475a8d:ms,_0x31df7c=await this[_0x52e5ae(0x385)][_0x52e5ae(0x368)](_0x49ea9e);return this[_0x52e5ae(0x3b2)]=_0x31df7c,_0x31df7c;}async[_0x5c5167(0x3bd)](){var _0x3fc1aa=_0x5c5167,_0xba77da,_0x553287;try{const _0x777bf4=(_0x553287=(_0xba77da=this[_0x3fc1aa(0x1fb)])!=null?_0xba77da:this[_0x3fc1aa(0x3b2)])!=null?_0x553287:await this[_0x3fc1aa(0x281)]();if(_0x777bf4){const _0x1963a6=_0x777bf4['send'];_0x777bf4[_0x3fc1aa(0x338)]=_0x6bf5be=>(this['_rescheduleHeartbeat'](),_0x1963a6[_0x3fc1aa(0x2f9)](_0x777bf4,[_0x6bf5be])),_0x777bf4['message$'][_0x3fc1aa(0x378)](_0x1f8445=>this[_0x3fc1aa(0x476)](_0x777bf4,_0x1f8445)),_0x777bf4['error$'][_0x3fc1aa(0x3a6)](_0x112619(0x1))[_0x3fc1aa(0x378)](_0x3ece8a=>this[_0x3fc1aa(0x1e0)][_0x3fc1aa(0x347)](_0x3fc1aa(0x20c),_0x3ece8a)),_0x777bf4['open$']['pipe'](_0x112619(0x1))[_0x3fc1aa(0x378)](()=>{var _0x493fa8=_0x3fc1aa;this[_0x493fa8(0x1fe)](_0x777bf4);}),_0x777bf4['close$'][_0x3fc1aa(0x3a6)](_0x112619(0x1))[_0x3fc1aa(0x378)](_0x5a6b3c=>{var _0x2438e4=_0x3fc1aa;this[_0x2438e4(0x1e0)][_0x2438e4(0x268)]('[CollaborationSessionService]','socket\x20close',_0x5a6b3c),this[_0x2438e4(0x3ee)]();});}}catch(_0x3e71f7){this['_logService'][_0x3fc1aa(0x347)](_0x3e71f7),this[_0x3fc1aa(0x3ee)]();}}[_0x5c5167(0x1fe)](_0x3e45fb){var _0x1a211b=_0x5c5167;this[_0x1a211b(0x1e0)][_0x1a211b(0x268)](_0x1a211b(0x397),_0x1a211b(0x38e)),_0x3e45fb[_0x1a211b(0x338)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x5c5167(0x242)](){var _0x4c7c8e=_0x5c5167;this[_0x4c7c8e(0x44b)]=!0x1,this[_0x4c7c8e(0x3b2)]=null,this['_status$'][_0x4c7c8e(0x291)](ge[_0x4c7c8e(0x1ec)]),this[_0x4c7c8e(0x276)]['next'](null),this[_0x4c7c8e(0x1d3)](),this[_0x4c7c8e(0x481)]();}['_onConnectionFailed'](){var _0x9c05bd=_0x5c5167,_0x799b06;this[_0x9c05bd(0x242)](),this[_0x9c05bd(0x44e)]<((_0x799b06=this[_0x9c05bd(0x27e)]['getConfig'](Is))!=null?_0x799b06:Ts)?(this[_0x9c05bd(0x47b)][_0x9c05bd(0x3b4)]({'id':ne[_0x9c05bd(0x39f)]}),this['_tryReconnect']()):this[_0x9c05bd(0x47b)]['emitEvent']({'id':ne['SOCKET_FAILED']});}[_0x5c5167(0x422)](){var _0x2f9baf=_0x5c5167,_0x1b9d0c;const _0x4438d2=this['_retryCount'],_0x90d408=this[_0x2f9baf(0x27e)][_0x2f9baf(0x1a4)](K),_0x2b5c78=_0x4438d2===0x0?0x0:((_0x1b9d0c=_0x90d408==null?void 0x0:_0x90d408[_0x2f9baf(0x301)])!=null?_0x1b9d0c:Es)*0x2**_0x4438d2;this[_0x2f9baf(0x257)]=setTimeout(()=>{var _0x2d1c56=_0x2f9baf;clearTimeout(this[_0x2d1c56(0x257)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x2b5c78),this['_retryCount']+=0x1;}[_0x5c5167(0x476)](_0xe24b65,_0x17332f){var _0x30feba=_0x5c5167;const {cmd:_0x5d135d}=_0x17332f;_0x5d135d===F['HELLO']&&!this[_0x30feba(0x44b)]&&(_0xe24b65[_0x30feba(0x3b6)]=_0x17332f['data']['memberID'],this[_0x30feba(0x276)]['next'](_0xe24b65),this['_status$']['next'](ge['ONLINE']),this[_0x30feba(0x44b)]=!0x0,this['_candidateSocket']=null),_0x5d135d===F[_0x30feba(0x1ed)]&&this[_0x30feba(0x1d3)](),this[_0x30feba(0x1b5)]();}[_0x5c5167(0x1b5)](){var _0xbf2d1=_0x5c5167,_0x747df9;this[_0xbf2d1(0x481)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0xbf2d1(0x1ac)](),(_0x747df9=this['_configService']['getConfig'](gs))!=null?_0x747df9:Ss);}['_sendHeartbeat'](){var _0x2ea067=_0x5c5167;this[_0x2ea067(0x1fb)][_0x2ea067(0x338)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x5c5167(0x460)](){var _0x5bc22e=_0x5c5167,_0x18ab9e;this[_0x5bc22e(0x396)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x18ab9e=this[_0x5bc22e(0x27e)][_0x5bc22e(0x1a4)](di))!=null?_0x18ab9e:fi);}['_clearHeartbeatTimer'](){var _0x144fae=_0x5c5167;this[_0x144fae(0x3d9)]!=null&&(clearTimeout(this[_0x144fae(0x3d9)]),this[_0x144fae(0x3d9)]=null);}[_0x5c5167(0x1d3)](){var _0x3f4698=_0x5c5167;this[_0x3f4698(0x396)]!=null&&(clearTimeout(this[_0x3f4698(0x396)]),this[_0x3f4698(0x396)]=null);}};Pe=Bs([Re(0x0,_0x307146(_0x4b4f54)),Re(0x1,_0x3eb14a),Re(0x2,_0x4d0e1d),Re(0x3,mi),Re(0x4,_0x307146(ve)),Re(0x5,_0x4fe35e(bs))],Pe);const J=_0x561e1a(_0x5c5167(0x377));function br(_0x16a605){var _0x108e10=_0x5c5167;return _0x108e10(0x1c9)+_0x16a605;}var js=Object[_0x5c5167(0x2de)],Fs=(_0x18ef9b,_0x9775dd,_0x30d13c,_0x3dd2d5)=>{var _0x56986a=_0x5c5167;for(var _0xb14d90=_0x3dd2d5>0x1?void 0x0:_0x3dd2d5?js(_0x9775dd,_0x30d13c):_0x9775dd,_0x2450b6=_0x18ef9b[_0x56986a(0x418)]-0x1,_0x480742;_0x2450b6>=0x0;_0x2450b6--)(_0x480742=_0x18ef9b[_0x2450b6])&&(_0xb14d90=_0x480742(_0xb14d90)||_0xb14d90);return _0xb14d90;},ut=(_0x23c3e7,_0xe6a365)=>(_0x1579ce,_0xc78b19)=>_0xe6a365(_0x1579ce,_0xc78b19,_0x23c3e7);function Vs(_0x3b6088){var _0xe8c0a9=_0x5c5167;const {unitID:_0x2dc5fc,mutations:_0x445f30}=_0x3b6088;return{'unitId':_0x2dc5fc,'subUnitId':_0x445f30[0x0][_0xe8c0a9(0x40c)]['subUnitId']};}let it=class{constructor(_0xce451d,_0x136c3e,_0xa14a5){var _0x52b6f9=_0x5c5167;this[_0x52b6f9(0x48d)]=_0xce451d,this[_0x52b6f9(0x2a0)]=_0x136c3e,this[_0x52b6f9(0x272)]=_0xa14a5;}[_0x5c5167(0x3c7)](_0x5a86a1){var _0x2e76e3=_0x5c5167,_0x3262e4,_0xf6efa1,_0x58a9fb,_0x42be83;const _0x37da59=this['_injector']['get'](_0x8b834b),{unitId:_0x48e848,subUnitId:_0x26d160}=Vs(_0x5a86a1),_0x168076=_0x37da59==null?void 0x0:_0x37da59[_0x2e76e3(0x32f)](_0x48e848)[_0x2e76e3(0x2d0)](),_0x5efebd=(_0xf6efa1=(_0x3262e4=this[_0x2e76e3(0x272)][_0x2e76e3(0x2dd)](_0x48e848))==null?void 0x0:_0x3262e4[_0x2e76e3(0x478)]())==null?void 0x0:_0xf6efa1['getSheetId']();if(_0x168076[_0x2e76e3(0x418)]===0x0||!_0x48e848||!_0x26d160)return;const _0x42db6d=[{'id':_0x40d1b7['id'],'params':{'unitId':_0x48e848,'subUnitId':_0x5efebd,'selections':_0x2af291[_0x2e76e3(0x312)](_0x168076)}}],_0x5c0ef9=this[_0x2e76e3(0x2a0)][_0x2e76e3(0x3d8)](_0x5a86a1,_0x42db6d);if(!_0x297f9b(_0x5c0ef9))throw _0x5c0ef9[_0x2e76e3(0x347)];const _0x54632c=(_0x42be83=(_0x58a9fb=_0x5c0ef9[_0x2e76e3(0x287)][0x0])==null?void 0x0:_0x58a9fb['params'])==null?void 0x0:_0x42be83[_0x2e76e3(0x36b)];if(Array[_0x2e76e3(0x3e4)](_0x54632c)&&_0x54632c[_0x2e76e3(0x418)]){if(_0x54632c[_0x2e76e3(0x418)]===_0x42db6d[0x0][_0x2e76e3(0x40c)][_0x2e76e3(0x36b)][_0x2e76e3(0x418)]&&_0x54632c[_0x2e76e3(0x321)]((_0x49067a,_0x3c8730)=>_0x25b521[_0x2e76e3(0x267)](_0x49067a['range'],_0x42db6d[0x0][_0x2e76e3(0x40c)]['selections'][_0x3c8730][_0x2e76e3(0x34b)])))return;this[_0x2e76e3(0x48d)][_0x2e76e3(0x2d3)](_0x326877)[_0x2e76e3(0x41b)](_0x40d1b7['id'],{'unitId':_0x48e848,'subUnitId':_0x5efebd,'selections':_0x54632c});}}};it=Fs([ut(0x0,_0x307146(_0x4b4f54)),ut(0x1,_0x5d37ab),ut(0x2,_0x4e8bc9)],it);const ht=_0x561e1a(_0x5c5167(0x36e));var Si=(_0x4b4c95=>(_0x4b4c95[_0x4b4c95[_0x5c5167(0x336)]=0x0]=_0x5c5167(0x336),_0x4b4c95[_0x4b4c95[_0x5c5167(0x41d)]=0x1]=_0x5c5167(0x41d),_0x4b4c95))(Si||{});const Ws=new Set([_0x1e465c['id']]);function Gt(_0xeb70e6,_0x1aa7cc,_0x21e324,_0x5e0b0a,_0x224146){var _0x3fea88=_0x5c5167,_0x3098b6,_0x56a006,_0x39890b,_0x135a53;const _0x58b6c6=[];for(const _0x14aa79 of _0xeb70e6)if(Ws[_0x3fea88(0x1f7)](_0x14aa79['id'])){if(_0x58b6c6[_0x3fea88(0x418)]>0x0)break;_0x58b6c6[_0x3fea88(0x1e1)](_0x14aa79);break;}else _0x58b6c6[_0x3fea88(0x1e1)](_0x14aa79);const _0x1474ff=(_0x56a006=(_0x3098b6=_0x224146[_0x3fea88(0x229)]())==null?void 0x0:_0x3098b6[_0x3fea88(0x48a)])!=null?_0x56a006:_0x3fea88(0x3f9),_0x2deb9f=(_0x135a53=(_0x39890b=_0x224146[_0x3fea88(0x229)]())==null?void 0x0:_0x39890b['memberID'])!=null?_0x135a53:_0x3fea88(0x3f9);return{'changeset':{'unitID':_0x1aa7cc,'type':_0x4267ab(_0x21e324[_0x3fea88(0x296)](_0x1aa7cc)),'baseRev':_0x5e0b0a[_0x3fea88(0x2e4)](_0x1aa7cc),'revision':0x0,'userID':_0x1474ff,'memberID':_0x2deb9f,'mutations':_0x58b6c6},'pendingMutations':_0xeb70e6[_0x3fea88(0x218)](_0x58b6c6['length'])};}function Gs(_0x4518c3,_0x24a481,_0x567085,_0x3f813e,_0x1ff876){var _0x16ccbf=_0x5c5167,_0x524626,_0x70e185,_0x3a1031,_0x2707b6;const _0x223f8f=[_0x4518c3[_0x16ccbf(0x223)]((_0x4ec438,_0x18bf1a)=>{var _0x4807e4=_0x16ccbf,_0x15286f;const {id:_0x386bed}=_0x4ec438,{id:_0x3c65ec,type:_0x171e6d}=_0x18bf1a,_0x326da0=(_0x15286f=_0x4ec438[_0x4807e4(0x40c)])!=null?_0x15286f:{'actions':null},_0x2497fd=_0x18bf1a[_0x4807e4(0x40c)];if(_0x386bed&&_0x386bed!==_0x3c65ec)throw new Error(_0x4807e4(0x3c8)+_0x386bed+_0x4807e4(0x317)+_0x3c65ec+'.');return{..._0x4ec438,'id':_0x3c65ec,'type':_0x171e6d,'params':{'unitId':_0x2497fd[_0x4807e4(0x1a1)],'textRanges':_0x2497fd[_0x4807e4(0x3ec)],'actions':_0x1349a4[_0x4807e4(0x400)](_0x326da0[_0x4807e4(0x304)],_0x2497fd[_0x4807e4(0x304)])}};},{})],_0x15d631=(_0x70e185=(_0x524626=_0x1ff876[_0x16ccbf(0x229)]())==null?void 0x0:_0x524626['userID'])!=null?_0x70e185:'unknown',_0x5a8ca7=(_0x2707b6=(_0x3a1031=_0x1ff876[_0x16ccbf(0x229)]())==null?void 0x0:_0x3a1031[_0x16ccbf(0x3b6)])!=null?_0x2707b6:'unknown';return{'changeset':{'unitID':_0x24a481,'type':_0x4267ab(_0x567085[_0x16ccbf(0x296)](_0x24a481)),'baseRev':_0x3f813e['getCurrentRevOfUnit'](_0x24a481),'revision':0x0,'userID':_0x15d631,'memberID':_0x5a8ca7,'mutations':_0x223f8f},'pendingMutations':[]};}function Ei(_0x588d2d,_0x1d1abc){var _0x58ab36=_0x5c5167;const _0x11e510=new _0x433b08(0x1);return setTimeout(()=>_0x11e510[_0x58ab36(0x291)](_0x1d1abc),_0x588d2d),_0x11e510['asObservable']()[_0x58ab36(0x3a6)](_0x2113af(0x1));}const Ys={'id':_0x1b4146['id'],'type':_0x4cdb45[_0x5c5167(0x3f7)],'params':{}};var Ks=Object[_0x5c5167(0x2de)],Ee=(_0xe68a0e,_0xd1197f,_0x5e58b8,_0x8b7d5f)=>{var _0x101c35=_0x5c5167;for(var _0x40b469=_0x8b7d5f>0x1?void 0x0:_0x8b7d5f?Ks(_0xd1197f,_0x5e58b8):_0xd1197f,_0x4d953e=_0xe68a0e[_0x101c35(0x418)]-0x1,_0x1a1e5a;_0x4d953e>=0x0;_0x4d953e--)(_0x1a1e5a=_0xe68a0e[_0x4d953e])&&(_0x40b469=_0x1a1e5a(_0x40b469)||_0x40b469);return _0x40b469;},P=(_0x2d1b77,_0x1ca897)=>(_0x5cede5,_0x265f7a)=>_0x1ca897(_0x5cede5,_0x265f7a,_0x2d1b77),Ii=(_0x52a19d=>(_0x52a19d[_0x5c5167(0x2c1)]=_0x5c5167(0x323),_0x52a19d['SYNCED']='synced',_0x52a19d['PENDING']=_0x5c5167(0x36a),_0x52a19d['AWAITING']='awaiting',_0x52a19d[_0x5c5167(0x1a3)]='awaiting_with_pending',_0x52a19d[_0x5c5167(0x221)]=_0x5c5167(0x3c2),_0x52a19d[_0x5c5167(0x36c)]=_0x5c5167(0x1f3),_0x52a19d[_0x5c5167(0x1ec)]=_0x5c5167(0x265),_0x52a19d))(Ii||{});const Ti=0xea60;class Ie{constructor(_0x57cebd,_0x2a9335,_0x573702,_0x42e74d,_0x50207e,_0x24a359,_0x22115f,_0x2bc703,_0x3149b6){var _0x1cfa9c=_0x5c5167;N(this,'_awaitingChangeset',null),N(this,_0x1cfa9c(0x226),[]),(this[_0x1cfa9c(0x20e)]=_0x57cebd,this[_0x1cfa9c(0x465)]=_0x2a9335,this['_handler']=_0x50207e,this[_0x1cfa9c(0x219)]=_0x24a359,this[_0x1cfa9c(0x2c8)]=_0x22115f,this[_0x1cfa9c(0x46d)]=_0x2bc703,this[_0x1cfa9c(0x31f)]=_0x3149b6,this[_0x1cfa9c(0x302)]=_0x573702,this[_0x1cfa9c(0x226)]=_0x42e74d);}[_0x5c5167(0x2f8)](_0x36109e){var _0xf8c5e0=_0x5c5167;const _0x3ddf5e=this[_0xf8c5e0(0x46d)]['getCurrentRevOfUnit'](this[_0xf8c5e0(0x20e)]);return _0x36109e['revision']>_0x3ddf5e+0x1?(this[_0xf8c5e0(0x20b)][_0xf8c5e0(0x38d)]({'from':_0x3ddf5e,'to':_0x36109e[_0xf8c5e0(0x244)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1ada02){var _0x46097c=_0x5c5167;this[_0x46097c(0x2c8)][_0x46097c(0x388)](this[_0x46097c(0x20e)],_0x1ada02);}['_transformSelections'](_0x1a51fd){var _0x560031=_0x5c5167,_0x14e831,_0x4c38e1;(_0x4c38e1=(_0x14e831=this['_handler'])[_0x560031(0x48b)])==null||_0x4c38e1[_0x560031(0x1c3)](_0x14e831,_0x1a51fd);}['_transformIMECache'](_0x2a6150){var _0x3ee589=_0x5c5167,_0x32a644,_0x1209b2;return(_0x1209b2=(_0x32a644=this[_0x3ee589(0x20b)])[_0x3ee589(0x2ec)])==null?void 0x0:_0x1209b2[_0x3ee589(0x1c3)](_0x32a644,_0x2a6150);}[_0x5c5167(0x407)](_0x137972){var _0x2c3547=_0x5c5167,_0x545401,_0xe1eb9;return(_0xe1eb9=(_0x545401=this[_0x2c3547(0x20b)])[_0x2c3547(0x251)])==null?void 0x0:_0xe1eb9[_0x2c3547(0x1c3)](_0x545401,_0x137972);}[_0x5c5167(0x411)](_0x254189){var _0x15ef92=_0x5c5167,_0x43e6b9,_0x221612,_0x53f3c2;return(_0x53f3c2=(_0x221612=(_0x43e6b9=this['_handler'])[_0x15ef92(0x468)])==null?void 0x0:_0x221612[_0x15ef92(0x1c3)](_0x43e6b9,_0x254189))!=null?_0x53f3c2:_0x254189;}[_0x5c5167(0x436)](_0x391ace){var _0x240e8d=_0x5c5167,_0x5c5f58,_0x4b83b8,_0x551603;return(_0x551603=(_0x4b83b8=(_0x5c5f58=this[_0x240e8d(0x20b)])[_0x240e8d(0x3d6)])==null?void 0x0:_0x4b83b8[_0x240e8d(0x1c3)](_0x5c5f58,_0x391ace))!=null?_0x551603:_0x391ace;}[_0x5c5167(0x43a)](_0x3254c2){var _0x1a33d8=_0x5c5167,_0x459d49,_0x1233eb;if(this['type']===Z[_0x1a33d8(0x22f)]){const {unitID:_0x206947,mutations:_0x3332b1,memberID:_0x243487}=_0x3254c2,_0x3c7369=_0x3332b1[0x0]['params']['textRanges'];Array['isArray'](_0x3c7369)&&_0x3c7369[_0x1a33d8(0x418)]>0x0&&((_0x1233eb=(_0x459d49=this['_handler'])[_0x1a33d8(0x3da)])==null||_0x1233eb[_0x1a33d8(0x1c3)](_0x459d49,{'unitID':_0x206947,'memberID':_0x243487,'textRanges':_0x3c7369}));}}[_0x5c5167(0x451)](){var _0x3ccb80=_0x5c5167,_0x108bc0;(_0x108bc0=this[_0x3ccb80(0x31f)])==null||_0x108bc0[_0x3ccb80(0x1c0)](this[_0x3ccb80(0x20e)],this['type'],this[_0x3ccb80(0x302)],this[_0x3ccb80(0x226)]);}['_getCurrentRevision'](){var _0x4dd53b=_0x5c5167;return this['_revisionService'][_0x4dd53b(0x2e4)](this[_0x4dd53b(0x20e)]);}[_0x5c5167(0x1f1)](){var _0x2394ce=_0x5c5167;this[_0x2394ce(0x46d)]['incrementRevOfUnit'](this['unitID']);}[_0x5c5167(0x22b)](_0x43b521){var _0x3343f8=_0x5c5167,_0x245882;let _0xe22057=this[_0x3343f8(0x411)](_0x43b521);_0xe22057=this[_0x3343f8(0x436)](_0xe22057);const _0x564c30=_0x301a64(_0xe22057['mutations'],this[_0x3343f8(0x219)],{'fromCollab':!0x0});if(!_0x564c30[_0x3343f8(0x381)])throw _0x564c30[_0x3343f8(0x347)]instanceof Error?_0x564c30[_0x3343f8(0x347)]:new Error((_0x245882=_0x564c30[_0x3343f8(0x347)])!=null?_0x245882:_0x3343f8(0x3e2));this['_transformIMECache'](_0xe22057),this[_0x3343f8(0x407)](_0xe22057),this['_transformUndoredo'](_0x43b521),this[_0x3343f8(0x1f5)](_0xe22057),this[_0x3343f8(0x43a)](_0xe22057),this[_0x3343f8(0x1f1)]();}}let ye=class extends Ie{constructor(_0x493a91,_0xfce1b8,_0x523dbd,_0x1ea149,_0x10b117,_0x4251a4,_0x45a532,_0x5dc53e,_0x30657b,_0x153924){var _0x2e653c=_0x5c5167;super(_0x493a91,_0xfce1b8,null,[],_0x523dbd,_0x45a532,_0x4251a4,_0x1ea149,_0x153924),N(this,_0x2e653c(0x365),'synced'),(this[_0x2e653c(0x48d)]=_0x10b117,this['_logService']=_0x5dc53e,this[_0x2e653c(0x2a0)]=_0x30657b,this[_0x2e653c(0x3f0)]=_0x153924);}[_0x5c5167(0x45b)](_0x59a337){var _0x41aebc=_0x5c5167;const _0x19ec1b=this[_0x41aebc(0x48d)][_0x41aebc(0x1ef)](re,this[_0x41aebc(0x20e)],this['type'],[_0x59a337],this['_handler']);return _0x19ec1b['_schedule'](),_0x19ec1b['_updateLocalCache'](),_0x19ec1b;}['onRemoteChangeset'](_0x9ae550){var _0x617a87=_0x5c5167;if(this[_0x617a87(0x2f8)](_0x9ae550))return this[_0x617a87(0x48d)][_0x617a87(0x1ef)](Q,this[_0x617a87(0x20e)],this[_0x617a87(0x465)],null,[],null,[_0x9ae550],this[_0x617a87(0x20b)]);try{const _0x584c90=this[_0x617a87(0x2a0)][_0x617a87(0x3d8)](_0x9ae550,[Ys]);if(_0x297f9b(_0x584c90)){const {c1Prime:_0x1fdcd6}=_0x584c90;return this[_0x617a87(0x22b)](_0x1fdcd6),this;}throw _0x584c90[_0x617a87(0x347)];}catch(_0x55b4f2){return this['_logService'][_0x617a87(0x347)](_0x55b4f2),this[_0x617a87(0x494)](!0x1);}}[_0x5c5167(0x494)](_0xcdac9a){var _0x10fd4e=_0x5c5167;return this[_0x10fd4e(0x48d)][_0x10fd4e(0x1ef)](le,this[_0x10fd4e(0x20e)],this[_0x10fd4e(0x465)],null,[],this[_0x10fd4e(0x20b)],_0xcdac9a);}['onRemoteAck'](){var _0x112ece=_0x5c5167;throw new Error(_0x112ece(0x3ef));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5c5167(0x26b)](){return this;}['toggleOffline'](){var _0x5e0c02=_0x5c5167;return this[_0x5e0c02(0x48d)][_0x5e0c02(0x1ef)](ue,this[_0x5e0c02(0x20e)],this[_0x5e0c02(0x465)],null,[],this['_handler']);}[_0x5c5167(0x389)](){return this;}[_0x5c5167(0x2fd)](){var _0x1a1ba6=_0x5c5167;throw new Error(_0x1a1ba6(0x455));}['fetchMiss'](){var _0x3f114d=_0x5c5167;const _0xfb66ce=this[_0x3f114d(0x46d)][_0x3f114d(0x2e4)](this[_0x3f114d(0x20e)]);return this[_0x3f114d(0x20b)]['onMissingChangesets']({'from':_0xfb66ce,'to':0x0}),this[_0x3f114d(0x48d)][_0x3f114d(0x1ef)](Q,this['unitID'],this[_0x3f114d(0x465)],null,[],null,[],this['_handler']);}};ye=Ee([P(0x3,_0x307146(_0x4b9485)),P(0x4,_0x307146(_0x4b4f54)),P(0x5,_0x202bc0),P(0x6,_0x326877),P(0x7,_0x3eb14a),P(0x8,_0x5d37ab),P(0x9,_0x4fe35e(J))],ye);let re=class extends Ie{constructor(_0x36f9ff,_0x4aa673,_0x1f1067,_0x3659e9,_0x22e074,_0x31a1db,_0xe55070,_0x1063ce,_0x591abe,_0x2ccebd,_0x521a08,_0x2585fe,_0x5d998f,_0x3e4d4c){var _0x18c3e1=_0x5c5167;super(_0x36f9ff,_0x4aa673,null,_0x1f1067,_0x3659e9,_0x591abe,_0x5d998f,_0x31a1db,_0x3e4d4c),N(this,'status',_0x18c3e1(0x36a)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x18c3e1(0x289),null),(this[_0x18c3e1(0x48d)]=_0x22e074,this[_0x18c3e1(0x285)]=_0xe55070,this[_0x18c3e1(0x1e0)]=_0x1063ce,this[_0x18c3e1(0x27e)]=_0x2ccebd,this[_0x18c3e1(0x2a0)]=_0x521a08,this[_0x18c3e1(0x472)]=_0x2585fe);}[_0x5c5167(0x45b)](_0x493614){var _0x20f668=_0x5c5167;return this[_0x20f668(0x226)][_0x20f668(0x1e1)](_0x493614),this[_0x20f668(0x451)](),this;}['onRemoteChangeset'](_0x5beecd){var _0x3377af=_0x5c5167;if(this[_0x3377af(0x2f8)](_0x5beecd))return this[_0x3377af(0x203)](),this['_injector'][_0x3377af(0x1ef)](Q,this[_0x3377af(0x20e)],this[_0x3377af(0x465)],null,this[_0x3377af(0x226)],null,[_0x5beecd],this[_0x3377af(0x20b)]);try{const _0x38de6a=this[_0x3377af(0x2a0)][_0x3377af(0x3d8)](_0x5beecd,this['_pendingMutations']);if(_0x297f9b(_0x38de6a)){const {c1Prime:_0x476af9,m2Prime:_0x5570c2}=_0x38de6a;this[_0x3377af(0x22b)](_0x476af9);const _0x33ee4b=this[_0x3377af(0x48d)]['createInstance'](re,this['unitID'],this[_0x3377af(0x465)],_0x5570c2,this['_handler']);this['_clearScheduledTask']();const _0x5753f7=new Date()[_0x3377af(0x356)](),_0xc6015=this['_scheduleCompleteTimestamp']?Math['max'](this['_scheduleCompleteTimestamp']-_0x5753f7,0x0):this[_0x3377af(0x2bb)]();return _0x33ee4b[_0x3377af(0x2cb)](_0xc6015),_0x33ee4b;}throw _0x38de6a[_0x3377af(0x347)];}catch(_0x4f5de6){return this[_0x3377af(0x1e0)][_0x3377af(0x347)](_0x4f5de6),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x224d40=_0x5c5167;throw new Error(_0x224d40(0x282));}[_0x5c5167(0x292)](){var _0x5f387f=_0x5c5167;throw new Error(_0x5f387f(0x395));}[_0x5c5167(0x26b)](){return this;}[_0x5c5167(0x360)](){var _0x2b803c=_0x5c5167;return this[_0x2b803c(0x203)](),this['_injector'][_0x2b803c(0x1ef)](ue,this[_0x2b803c(0x20e)],this[_0x2b803c(0x465)],null,this[_0x2b803c(0x226)],this[_0x2b803c(0x20b)]);}[_0x5c5167(0x389)](){return this;}[_0x5c5167(0x2cb)](_0x3ab486){var _0x38f2=_0x5c5167;const _0x1e85d2=_0x3ab486!=null?_0x3ab486:this[_0x38f2(0x2bb)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x1e85d2,this['_sendingTimer']=setTimeout(()=>{var _0xf1d8fa=_0x38f2;this[_0xf1d8fa(0x203)]();let _0x4bb404=null;switch(this['type']){case Z['UNIVER_SHEET']:{_0x4bb404=Gt(this[_0xf1d8fa(0x226)],this[_0xf1d8fa(0x20e)],this['_univerInstanceService'],this[_0xf1d8fa(0x46d)],this['_memberService']);break;}case Z[_0xf1d8fa(0x22f)]:{this['_pendingMutations'][_0xf1d8fa(0x321)](_0x211d65=>_0x211d65['id']===_0x381cca['id'])?_0x4bb404=Gs(this[_0xf1d8fa(0x226)],this['unitID'],this[_0xf1d8fa(0x472)],this[_0xf1d8fa(0x46d)],this[_0xf1d8fa(0x285)]):_0x4bb404=Gt(this[_0xf1d8fa(0x226)],this[_0xf1d8fa(0x20e)],this['_univerInstanceService'],this[_0xf1d8fa(0x46d)],this['_memberService']);break;}default:throw new Error(_0xf1d8fa(0x305)+this['type']+_0xf1d8fa(0x1a9));}const {changeset:_0x593786,pendingMutations:_0x53d2f9}=_0x4bb404;this['_handler'][_0xf1d8fa(0x1bc)](_0x593786);const _0x5736dd=_0x53d2f9[_0xf1d8fa(0x418)]?this[_0xf1d8fa(0x48d)][_0xf1d8fa(0x1ef)](ae,this[_0xf1d8fa(0x20e)],this['type'],_0x593786,_0x53d2f9,this[_0xf1d8fa(0x20b)],void 0x0):this['_injector']['createInstance'](_e,this['unitID'],this['type'],_0x593786,this[_0xf1d8fa(0x20b)]);_0x5736dd[_0xf1d8fa(0x451)](),this[_0xf1d8fa(0x20b)]['onStateChange'](this,_0x5736dd);},_0x1e85d2);}[_0x5c5167(0x2bb)](){var _0x38a4ce=_0x5c5167,_0x129c18;const _0x2df449=this[_0x38a4ce(0x27e)]['getConfig'](K);return(_0x129c18=_0x2df449==null?void 0x0:_0x2df449[_0x38a4ce(0x1ba)])!=null?_0x129c18:ps;}[_0x5c5167(0x2fd)](){var _0x4d4efb=_0x5c5167;throw new Error(_0x4d4efb(0x1e2));}['_clearScheduledTask'](){var _0x56e4f9=_0x5c5167;this['_sendingTimer']!=null&&(clearTimeout(this[_0x56e4f9(0x289)]),this[_0x56e4f9(0x289)]=null);}['_onConflict'](_0x146a4f){var _0x101eab=_0x5c5167;return this[_0x101eab(0x203)](),this[_0x101eab(0x48d)][_0x101eab(0x1ef)](le,this[_0x101eab(0x20e)],this['type'],null,this[_0x101eab(0x226)],this[_0x101eab(0x20b)],_0x146a4f);}};re=Ee([P(0x4,_0x307146(_0x4b4f54)),P(0x5,_0x307146(_0x4b9485)),P(0x6,_0x307146(we)),P(0x7,_0x3eb14a),P(0x8,_0x326877),P(0x9,_0x4d0e1d),P(0xa,_0x5d37ab),P(0xb,_0x4e8bc9),P(0xc,_0x202bc0),P(0xd,_0x4fe35e(J))],re);let _e=class extends Ie{constructor(_0x160c65,_0x4c67cb,_0x162745,_0xf481b3,_0x52e680,_0x5c4d9b,_0x236d95,_0x2fecc9,_0x209bfb,_0x4c20ed,_0x3ecc44){var _0xe3547=_0x5c5167;super(_0x160c65,_0x4c67cb,_0x162745,[],_0xf481b3,_0x236d95,_0x4c20ed,_0x5c4d9b,_0x3ecc44),N(this,_0xe3547(0x365),_0xe3547(0x3f3)),N(this,_0xe3547(0x207),0x0),N(this,_0xe3547(0x322)),N(this,'_sender'),(this[_0xe3547(0x48d)]=_0x52e680,this[_0xe3547(0x1e0)]=_0x2fecc9,this[_0xe3547(0x2a0)]=_0x209bfb);}[_0x5c5167(0x45b)](_0x17199a){var _0x8e4e8f=_0x5c5167;this[_0x8e4e8f(0x203)]();const _0x4708b9=this[_0x8e4e8f(0x48d)][_0x8e4e8f(0x1ef)](ae,this[_0x8e4e8f(0x20e)],this['type'],this[_0x8e4e8f(0x302)],[_0x17199a],this[_0x8e4e8f(0x20b)],this[_0x8e4e8f(0x322)]);return _0x4708b9[_0x8e4e8f(0x451)](),_0x4708b9;}[_0x5c5167(0x42f)](_0xbafe7f){var _0x58f8c0=_0x5c5167;if(this[_0x58f8c0(0x2f8)](_0xbafe7f))return this[_0x58f8c0(0x203)](),this[_0x58f8c0(0x48d)][_0x58f8c0(0x1ef)](Q,this[_0x58f8c0(0x20e)],this[_0x58f8c0(0x465)],this[_0x58f8c0(0x302)],[],null,[_0xbafe7f],this['_handler']);try{const _0xa9d9e6=this[_0x58f8c0(0x2a0)][_0x58f8c0(0x1a0)]([_0xbafe7f],[this[_0x58f8c0(0x302)]],!0x1);if(_0x2be158(_0xa9d9e6)){const {c1Prime:_0x263fbf,c2Prime:_0x37a805}=_0xa9d9e6;this['_executeRemoteChangeset'](_0x263fbf[0x0]),_0x37a805[0x0][_0x58f8c0(0x47d)]=this[_0x58f8c0(0x288)](),this[_0x58f8c0(0x203)]();const _0x425d2a=this[_0x58f8c0(0x48d)][_0x58f8c0(0x1ef)](_e,this['unitID'],this[_0x58f8c0(0x465)],_0x37a805[0x0],this[_0x58f8c0(0x20b)]);return _0x425d2a['_updateLocalCache'](),_0x425d2a;}return this[_0x58f8c0(0x494)](!0x1);}catch(_0x2298d0){return this[_0x58f8c0(0x1e0)][_0x58f8c0(0x347)](_0x2298d0),this['_onConflict'](!0x1);}}[_0x5c5167(0x1f4)](_0x2f4bf2){var _0x1fa771=_0x5c5167;this[_0x1fa771(0x203)]();const _0x163ced=this[_0x1fa771(0x46d)]['getCurrentRevOfUnit'](this['unitID']);if(_0x2f4bf2['revision']<_0x163ced-0x1)return this;if(this[_0x1fa771(0x2f8)](_0x2f4bf2))return this[_0x1fa771(0x48d)][_0x1fa771(0x1ef)](Q,this[_0x1fa771(0x20e)],this[_0x1fa771(0x465)],null,[],this[_0x1fa771(0x302)],[],this[_0x1fa771(0x20b)]);this['_incrementRevisionNumber']();const _0x13eb26=this[_0x1fa771(0x48d)][_0x1fa771(0x1ef)](ye,this[_0x1fa771(0x20e)],this[_0x1fa771(0x465)],this['_handler']);return _0x13eb26['_updateLocalCache'](),_0x13eb26;}[_0x5c5167(0x292)](_0x3b009f){var _0x3acc1b=_0x5c5167;return this[_0x3acc1b(0x494)](!!(_0x3b009f!=null&&_0x3b009f[_0x3acc1b(0x40b)]));}[_0x5c5167(0x26b)](_0x4af7f2){var _0x42f9c2=_0x5c5167;return this['_resendTimeout']>Ti?this[_0x42f9c2(0x360)]():(this[_0x42f9c2(0x322)]=Ei(this[_0x42f9c2(0x207)],{'timeout':this['_resendTimeout'],'reqId':_0x4af7f2['reqId']}),this[_0x42f9c2(0x425)]=this[_0x42f9c2(0x322)][_0x42f9c2(0x378)](({reqId:_0x57ba38,timeout:_0x4fd924})=>{var _0x1fe27d=_0x42f9c2;this[_0x1fe27d(0x2bd)](_0x57ba38,_0x4fd924);}),this);}['toggleOffline'](){var _0x462e23=_0x5c5167;return this[_0x462e23(0x203)](),this[_0x462e23(0x48d)][_0x462e23(0x1ef)](ue,this[_0x462e23(0x20e)],this[_0x462e23(0x465)],this['_awaitingChangeset'],[],this[_0x462e23(0x20b)]);}[_0x5c5167(0x389)](){return this;}[_0x5c5167(0x2fd)](){var _0x2b73b0=_0x5c5167;this[_0x2b73b0(0x20b)]['onSendChangeset'](this[_0x2b73b0(0x302)]);}[_0x5c5167(0x494)](_0x453c30){var _0x4cda53=_0x5c5167;return this['_clearScheduledTask'](),this[_0x4cda53(0x48d)][_0x4cda53(0x1ef)](le,this[_0x4cda53(0x20e)],this[_0x4cda53(0x465)],this[_0x4cda53(0x302)],[],this[_0x4cda53(0x20b)],_0x453c30);}[_0x5c5167(0x2bd)](_0x7574b6,_0x56d9cc){var _0x52a7a2=_0x5c5167,_0x4f1e21;_0x7574b6===((_0x4f1e21=this['_awaitingChangeset'])==null?void 0x0:_0x4f1e21[_0x52a7a2(0x3a9)])&&(this[_0x52a7a2(0x2fd)](),this[_0x52a7a2(0x207)]=_0x56d9cc===0x0?0x3e8:_0x56d9cc*0x2);}['_clearScheduledTask'](){var _0x2898fa=_0x5c5167,_0x570f8b;(_0x570f8b=this['_sender'])==null||_0x570f8b[_0x2898fa(0x253)](),this[_0x2898fa(0x207)]=0x0;}};_e=Ee([P(0x4,_0x307146(_0x4b4f54)),P(0x5,_0x307146(_0x4b9485)),P(0x6,_0x326877),P(0x7,_0x3eb14a),P(0x8,_0x5d37ab),P(0x9,_0x202bc0),P(0xa,_0x4fe35e(J))],_e);let ae=class extends Ie{constructor(_0x37043d,_0x5705b0,_0x1b8e59,_0x5c22fd,_0x2f7310,_0x4d20b3,_0x230655,_0x222094,_0x3d0883,_0xb7549d,_0x49f76e,_0x107a2d,_0x384439){var _0x29eb78=_0x5c5167;super(_0x37043d,_0x5705b0,_0x1b8e59,_0x5c22fd,_0x2f7310,_0x3d0883,_0x107a2d,_0x222094,_0x384439),N(this,_0x29eb78(0x365),_0x29eb78(0x445)),N(this,_0x29eb78(0x207),0x0),N(this,_0x29eb78(0x322)),N(this,'_sender'),(this[_0x29eb78(0x48d)]=_0x230655,this[_0x29eb78(0x1e0)]=_0xb7549d,this[_0x29eb78(0x2a0)]=_0x49f76e,this['localCacheService']=_0x384439,_0x4d20b3&&(this[_0x29eb78(0x322)]=_0x4d20b3,this[_0x29eb78(0x425)]=this[_0x29eb78(0x322)]['subscribe'](({reqId:_0x3b9552,timeout:_0x35f52f})=>{var _0x502198=_0x29eb78;this[_0x502198(0x2bd)](_0x3b9552,_0x35f52f);})));}[_0x5c5167(0x45b)](_0x1557b0){var _0x15915c=_0x5c5167;return this[_0x15915c(0x226)][_0x15915c(0x1e1)](_0x1557b0),this;}[_0x5c5167(0x42f)](_0x15ca66){var _0x17421c=_0x5c5167;if(this[_0x17421c(0x2f8)](_0x15ca66))return this[_0x17421c(0x203)](),this[_0x17421c(0x48d)]['createInstance'](Q,this[_0x17421c(0x20e)],this[_0x17421c(0x465)],this[_0x17421c(0x302)],this[_0x17421c(0x226)],null,[_0x15ca66],this[_0x17421c(0x20b)]);try{const _0x530989=this['_transformService'][_0x17421c(0x1a0)]([_0x15ca66],[this[_0x17421c(0x302)]],!0x1);if(_0x2be158(_0x530989)){const {c1Prime:_0x43c2a5,c2Prime:_0x57e2a0}=_0x530989,_0x28e6f5=this[_0x17421c(0x2a0)]['transformMutationsWithChangeset'](_0x43c2a5[0x0],this[_0x17421c(0x226)]);if(_0x297f9b(_0x28e6f5)){const {c1Prime:_0x5584ea,m2Prime:_0x46b3bd}=_0x28e6f5;return this[_0x17421c(0x22b)](_0x5584ea),_0x57e2a0[0x0]['baseRev']=this[_0x17421c(0x288)](),this[_0x17421c(0x203)](),this[_0x17421c(0x48d)][_0x17421c(0x1ef)](ae,this['unitID'],this[_0x17421c(0x465)],_0x57e2a0[0x0],_0x46b3bd,this['_handler'],void 0x0);}throw _0x28e6f5[_0x17421c(0x347)];}throw _0x530989['error'];}catch(_0x442f88){return this[_0x17421c(0x1e0)]['error'](_0x442f88),this[_0x17421c(0x494)](!0x1);}}[_0x5c5167(0x1f4)](_0x2a8eb2){var _0x445a41=_0x5c5167;if(this[_0x445a41(0x203)](),this[_0x445a41(0x2f8)](_0x2a8eb2))return this[_0x445a41(0x48d)][_0x445a41(0x1ef)](Q,this[_0x445a41(0x20e)],this[_0x445a41(0x465)],null,this[_0x445a41(0x226)],this[_0x445a41(0x302)],[],this[_0x445a41(0x20b)]);this[_0x445a41(0x1f1)]();const _0x312024=this['_injector'][_0x445a41(0x1ef)](re,this[_0x445a41(0x20e)],this[_0x445a41(0x465)],this[_0x445a41(0x226)],this['_handler']);return _0x312024[_0x445a41(0x2cb)](),_0x312024[_0x445a41(0x451)](),_0x312024;}[_0x5c5167(0x292)](_0x459612){var _0x101a48=_0x5c5167;return this[_0x101a48(0x494)](!!(_0x459612!=null&&_0x459612[_0x101a48(0x40b)]));}[_0x5c5167(0x26b)](_0x420881){var _0x28ea44=_0x5c5167;return this[_0x28ea44(0x207)]>Ti?this['toggleOffline']():(this['_resendTimer']=Ei(this[_0x28ea44(0x207)],{'timeout':this['_resendTimeout'],'reqId':_0x420881[_0x28ea44(0x3a9)]}),this['_sender']=this[_0x28ea44(0x322)][_0x28ea44(0x378)](({reqId:_0x3cb8e3,timeout:_0x4b089b})=>{this['_resendWithTimeout'](_0x3cb8e3,_0x4b089b);}),this);}[_0x5c5167(0x360)](){var _0x1481b0=_0x5c5167;return this[_0x1481b0(0x203)](),this[_0x1481b0(0x48d)][_0x1481b0(0x1ef)](ue,this['unitID'],this['type'],this[_0x1481b0(0x302)],this[_0x1481b0(0x226)],this[_0x1481b0(0x20b)]);}[_0x5c5167(0x389)](){return this;}['resend'](){var _0x406971=_0x5c5167;this[_0x406971(0x20b)][_0x406971(0x1bc)](this[_0x406971(0x302)]);}['_onConflict'](_0x971cc2){var _0x1d10e9=_0x5c5167;return this['_clearScheduledTask'](),this[_0x1d10e9(0x48d)][_0x1d10e9(0x1ef)](le,this[_0x1d10e9(0x20e)],this['type'],null,this[_0x1d10e9(0x226)],this[_0x1d10e9(0x20b)],_0x971cc2);}[_0x5c5167(0x2bd)](_0x1d5a9d,_0x36f854){var _0x444d9a=_0x5c5167,_0xba6069;_0x1d5a9d===((_0xba6069=this['_awaitingChangeset'])==null?void 0x0:_0xba6069[_0x444d9a(0x3a9)])&&(this['resend'](),this[_0x444d9a(0x207)]=_0x36f854===0x0?0x3e8:_0x36f854*0x2);}[_0x5c5167(0x203)](){var _0x378e95=_0x5c5167,_0x5772ce;(_0x5772ce=this[_0x378e95(0x425)])==null||_0x5772ce[_0x378e95(0x253)](),this[_0x378e95(0x207)]=0x0;}};ae=Ee([P(0x6,_0x307146(_0x4b4f54)),P(0x7,_0x307146(_0x4b9485)),P(0x8,_0x326877),P(0x9,_0x3eb14a),P(0xa,_0x5d37ab),P(0xb,_0x202bc0),P(0xc,_0x4fe35e(J))],ae);let le=class extends Ie{constructor(_0x1ea0a6,_0xfdf9b,_0x56d47e,_0x306f09,_0x38288f,_0x5029cf=!0x1,_0x40e186,_0x46779f,_0xf981dc,_0x15fc9f,_0x58cc71,_0x1c3972,_0x4da6b7){var _0x367e61=_0x5c5167;super(_0x1ea0a6,_0xfdf9b,_0x56d47e,_0x306f09,_0x38288f,_0x46779f,_0xf981dc,_0x15fc9f,_0x4da6b7),N(this,_0x367e61(0x365),_0x367e61(0x1f3)),(this['_isPermissionRej']=_0x5029cf,this['_permissionService']=_0x40e186,this[_0x367e61(0x1e3)]=_0x58cc71,this[_0x367e61(0x47b)]=_0x1c3972,this[_0x367e61(0x3f0)]=_0x4da6b7,this[_0x367e61(0x1b4)](),this['_clearLocalCache'](),this[_0x367e61(0x1c8)]());}[_0x5c5167(0x45b)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x5c5167(0x292)](){return this;}[_0x5c5167(0x26b)](){return this;}[_0x5c5167(0x360)](){return this;}[_0x5c5167(0x389)](){return this;}[_0x5c5167(0x2fd)](){var _0x494bd9=_0x5c5167;throw new Error(_0x494bd9(0x3aa));}['_clearLocalCache'](){var _0x5ac29b=_0x5c5167,_0xd5163;(_0xd5163=this[_0x5ac29b(0x31f)])==null||_0xd5163[_0x5ac29b(0x1c0)](this[_0x5ac29b(0x20e)],this[_0x5ac29b(0x465)],null,[]);}[_0x5c5167(0x1b4)](){var _0x5302c4=_0x5c5167;this[_0x5302c4(0x37b)]?this[_0x5302c4(0x47b)]['emitEvent']({'id':ne[_0x5302c4(0x19f)]}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x5302c4(0x36c)]});}['_disableEditing'](){var _0x31d8df=_0x5c5167;this[_0x31d8df(0x449)][_0x31d8df(0x20f)](new _0x5996a1(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x307146(_0xeeb0ba)),P(0x7,_0x326877),P(0x8,_0x202bc0),P(0x9,_0x307146(_0x4b9485)),P(0xa,_0x307146(_0x398834)),P(0xb,_0x307146(ve)),P(0xc,_0x4fe35e(J))],le);let ue=class extends Ie{constructor(_0x2ef459,_0x315b9f,_0x44b89a,_0x25ac0a,_0xb667a0,_0x242bde,_0xf257b8,_0x467ecc,_0x4691a8,_0x3367e0){var _0x2ef2cc=_0x5c5167;super(_0x2ef459,_0x315b9f,_0x44b89a,_0x25ac0a,_0xb667a0,_0x467ecc,_0x4691a8,_0xf257b8,_0x3367e0),N(this,_0x2ef2cc(0x365),_0x2ef2cc(0x265)),this[_0x2ef2cc(0x48d)]=_0x242bde;}[_0x5c5167(0x45b)](_0x2e8887){var _0x2a5824=_0x5c5167;return this[_0x2a5824(0x226)][_0x2a5824(0x1e1)](_0x2e8887),this[_0x2a5824(0x451)](),this;}[_0x5c5167(0x42f)](_0x3afb67){var _0x23193d=_0x5c5167;throw new Error(_0x23193d(0x35b));}[_0x5c5167(0x1f4)](){var _0x1a2d8f=_0x5c5167;throw new Error(_0x1a2d8f(0x200));}[_0x5c5167(0x292)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5c5167(0x360)](){return this;}[_0x5c5167(0x389)](){var _0x304727=_0x5c5167;const {_injector:_0x1bb54c,_pendingMutations:_0x46b6b0,_awaitingChangeset:_0x402fbe,unitID:_0x25a4b9,_handler:_0x322b58,type:_0x4525d0}=this,_0x571701=Ci(_0x1bb54c,_0x25a4b9,_0x4525d0,_0x402fbe,_0x46b6b0,_0x322b58);return _0x571701 instanceof re?_0x571701[_0x304727(0x2cb)]():(_0x571701 instanceof ae||_0x571701 instanceof _e)&&_0x571701[_0x304727(0x2fd)](),_0x571701;}['resend'](){var _0x379e81=_0x5c5167;throw new Error(_0x379e81(0x3ed));}};ue=Ee([P(0x5,_0x307146(_0x4b4f54)),P(0x6,_0x307146(_0x4b9485)),P(0x7,_0x326877),P(0x8,_0x202bc0),P(0x9,_0x4fe35e(J))],ue);let Q=class extends Ie{constructor(_0x30e31c,_0x29a250,_0x51400d,_0x2ab20d,_0x3728c2,_0x3170bc,_0x19eb9d,_0x4baa90,_0x260118,_0x2dc8c4,_0x27a8e0,_0x5e1f61,_0x58b814,_0x1e46d1){var _0xc8418f=_0x5c5167;super(_0x30e31c,_0x29a250,_0x51400d,_0x2ab20d,_0x19eb9d,_0x27a8e0,_0x5e1f61,_0x260118,_0x1e46d1),N(this,'status',_0xc8418f(0x3c2)),(this[_0xc8418f(0x19b)]=_0x3728c2,this['_queuedRemoteChangesets']=_0x3170bc,this[_0xc8418f(0x48d)]=_0x4baa90,this[_0xc8418f(0x1e0)]=_0x2dc8c4,this['_transformService']=_0x58b814,this[_0xc8418f(0x3f0)]=_0x1e46d1);}['onMissedChangesetFetched'](_0x54579e){var _0x3a95d9=_0x5c5167;try{const _0x46adba=[..._0x54579e,...this[_0x3a95d9(0x406)]],_0x3f7bcd=[this[_0x3a95d9(0x302)]||this[_0x3a95d9(0x19b)]][_0x3a95d9(0x498)](_0xa51724=>!!_0xa51724);let _0x193cbf,_0x104cd6;if(_0x3f7bcd[_0x3a95d9(0x418)]){const _0x243f26=this[_0x3a95d9(0x2a0)][_0x3a95d9(0x1a0)](_0x46adba,_0x3f7bcd,!0x1);if(!_0x2be158(_0x243f26))throw _0x243f26[_0x3a95d9(0x347)];_0x193cbf=_0x243f26['c1Prime'],_0x104cd6=_0x243f26[_0x3a95d9(0x300)];}else _0x193cbf=_0x46adba,_0x104cd6=[];let _0x5a647c=this[_0x3a95d9(0x226)];_0x193cbf['forEach'](_0x3e5a70=>{var _0x5c7600=_0x3a95d9;let _0x400d13;if(_0x5a647c[_0x5c7600(0x418)]){const _0x43fb09=this[_0x5c7600(0x2a0)][_0x5c7600(0x3d8)](_0x3e5a70,_0x5a647c);if(!_0x297f9b(_0x43fb09))throw _0x43fb09['error'];_0x400d13=_0x43fb09['c1Prime'],_0x5a647c=_0x43fb09[_0x5c7600(0x287)];}else _0x400d13=_0x3e5a70;this['_executeRemoteChangeset'](_0x400d13);}),this[_0x3a95d9(0x19b)]&&this[_0x3a95d9(0x1f1)](),this[_0x3a95d9(0x302)]&&_0x104cd6[_0x3a95d9(0x418)]&&(_0x104cd6[0x0][_0x3a95d9(0x47d)]=this['_getCurrentRevision']());let _0x2d6a6f;if(this[_0x3a95d9(0x302)]&&_0x5a647c[_0x3a95d9(0x418)]!==0x0)_0x2d6a6f=this['_injector'][_0x3a95d9(0x1ef)](ae,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],_0x104cd6[0x0],_0x5a647c,this['_handler'],void 0x0);else{if(this[_0x3a95d9(0x302)]&&_0x5a647c[_0x3a95d9(0x418)]===0x0)_0x104cd6[0x0][_0x3a95d9(0x47d)]=this[_0x3a95d9(0x288)](),_0x2d6a6f=this['_injector'][_0x3a95d9(0x1ef)](_e,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],_0x104cd6[0x0],this[_0x3a95d9(0x20b)]);else{if(_0x5a647c['length']!==0x0){const _0x3a3f71=this[_0x3a95d9(0x48d)]['createInstance'](re,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],_0x5a647c,this['_handler']);_0x3a3f71[_0x3a95d9(0x2cb)](),_0x2d6a6f=_0x3a3f71;}else _0x2d6a6f=this['_injector']['createInstance'](ye,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],this[_0x3a95d9(0x20b)]);}}return _0x2d6a6f[_0x3a95d9(0x451)](),_0x2d6a6f;}catch(_0x50f7b2){return this[_0x3a95d9(0x1e0)][_0x3a95d9(0x347)](_0x3a95d9(0x350),_0x3a95d9(0x430),_0x50f7b2),this[_0x3a95d9(0x48d)]['createInstance'](le,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],this[_0x3a95d9(0x302)],this['_pendingMutations'],this[_0x3a95d9(0x20b)],!0x1);}}[_0x5c5167(0x2fd)](){var _0x5a10d1=_0x5c5167;throw new Error(_0x5a10d1(0x3ea));}[_0x5c5167(0x45b)](_0x2c8276){var _0x21f920=_0x5c5167;return this['_pendingMutations'][_0x21f920(0x1e1)](_0x2c8276),this;}[_0x5c5167(0x42f)](_0x4c8f61){var _0x3af20b=_0x5c5167;return this['_queuedRemoteChangesets'][_0x3af20b(0x1e1)](_0x4c8f61),this;}[_0x5c5167(0x1f4)](_0x4dc953){var _0x3fb821=_0x5c5167;if(this[_0x3fb821(0x302)])return this[_0x3fb821(0x19b)]=this[_0x3fb821(0x302)],this['_awaitingChangeset']=null,this;throw new Error(_0x3fb821(0x256));}[_0x5c5167(0x292)](_0x4e68b7){var _0x5e4437=_0x5c5167;return this[_0x5e4437(0x494)](!!(_0x4e68b7!=null&&_0x4e68b7[_0x5e4437(0x40b)]));}[_0x5c5167(0x26b)](){return this;}[_0x5c5167(0x360)](){var _0x27a750=_0x5c5167;return this[_0x27a750(0x48d)][_0x27a750(0x1ef)](ue,this[_0x27a750(0x20e)],this['type'],this[_0x27a750(0x302)],this['_pendingMutations'],this['_handler']);}[_0x5c5167(0x389)](){return this;}['_onConflict'](_0x4480bc){var _0x2dc2d1=_0x5c5167;return this[_0x2dc2d1(0x48d)][_0x2dc2d1(0x1ef)](le,this[_0x2dc2d1(0x20e)],this[_0x2dc2d1(0x465)],this[_0x2dc2d1(0x302)],this['_pendingMutations'],this['_handler'],_0x4480bc);}};Q=Ee([P(0x7,_0x307146(_0x4b4f54)),P(0x8,_0x307146(_0x4b9485)),P(0x9,_0x3eb14a),P(0xa,_0x326877),P(0xb,_0x202bc0),P(0xc,_0x5d37ab),P(0xd,_0x4fe35e(J))],Q);function Ci(_0x2c6e3d,_0x1d43fc,_0x42277e,_0x39e41c,_0x541053,_0x56be6f){var _0x3bfd04=_0x5c5167;return _0x39e41c&&_0x541053[_0x3bfd04(0x418)]?_0x2c6e3d[_0x3bfd04(0x1ef)](ae,_0x1d43fc,_0x42277e,_0x39e41c,_0x541053,_0x56be6f,void 0x0):_0x39e41c?_0x2c6e3d[_0x3bfd04(0x1ef)](_e,_0x1d43fc,_0x42277e,_0x39e41c,_0x56be6f):_0x541053[_0x3bfd04(0x418)]?_0x2c6e3d[_0x3bfd04(0x1ef)](re,_0x1d43fc,_0x42277e,_0x541053,_0x56be6f):_0x2c6e3d[_0x3bfd04(0x1ef)](ye,_0x1d43fc,_0x42277e,_0x56be6f);}var qs=Object[_0x5c5167(0x2de)],wt=(_0x4e0f81,_0x310653,_0x17bff0,_0x2c4adf)=>{var _0x201d2b=_0x5c5167;for(var _0xd4f0eb=_0x2c4adf>0x1?void 0x0:_0x2c4adf?qs(_0x310653,_0x17bff0):_0x310653,_0x14ce09=_0x4e0f81[_0x201d2b(0x418)]-0x1,_0xdfb8f0;_0x14ce09>=0x0;_0x14ce09--)(_0xdfb8f0=_0x4e0f81[_0x14ce09])&&(_0xd4f0eb=_0xdfb8f0(_0xd4f0eb)||_0xd4f0eb);return _0xd4f0eb;},H=(_0x4ff8e7,_0x44579b)=>(_0x4df1bc,_0x3229d3)=>_0x44579b(_0x4df1bc,_0x3229d3,_0x4ff8e7);let st=class extends _0x2049da{constructor(_0x1aa634,_0x5a045a,_0x38e39d,_0x2b5172,_0x430797,_0x264b63,_0x1e4247,_0x537626,_0x2f8efb,_0x594deb,_0x5e1fb8,_0x29e062,_0x44bf1d){var _0x57e2ba=_0x5c5167;super(),N(this,_0x57e2ba(0x21e),new _0x582d2e(null)),N(this,_0x57e2ba(0x27f),this[_0x57e2ba(0x21e)][_0x57e2ba(0x2eb)]()),N(this,'_state'),N(this,_0x57e2ba(0x3df),!0x1),N(this,_0x57e2ba(0x30f),''),N(this,_0x57e2ba(0x2ff),0x0),N(this,_0x57e2ba(0x24a),this[_0x57e2ba(0x27f)]['pipe'](_0x91e2e7(_0x550c85=>_0x550c85?_0x550c85[_0x57e2ba(0x365)]:Ii[_0x57e2ba(0x1ec)]),_0x492df6(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x57e2ba(0x32b),[]),(this[_0x57e2ba(0x20e)]=_0x1aa634,this[_0x57e2ba(0x493)]=_0x5a045a,this[_0x57e2ba(0x43b)]=_0x38e39d,this[_0x57e2ba(0x48d)]=_0x2b5172,this[_0x57e2ba(0x303)]=_0x430797,this[_0x57e2ba(0x1e3)]=_0x264b63,this[_0x57e2ba(0x46d)]=_0x1e4247,this[_0x57e2ba(0x1b3)]=_0x537626,this[_0x57e2ba(0x1e0)]=_0x2f8efb,this[_0x57e2ba(0x219)]=_0x594deb,this['_permissionService']=_0x5e1fb8,this[_0x57e2ba(0x21d)]=_0x29e062,this[_0x57e2ba(0x31f)]=_0x44bf1d);}get[_0x5c5167(0x216)](){var _0x8ea083=_0x5c5167;return this[_0x8ea083(0x22d)];}async[_0x5c5167(0x22a)](){var _0x2fbb33=_0x5c5167;if(this[_0x2fbb33(0x216)])throw new Error(_0x2fbb33(0x3e9));await this[_0x2fbb33(0x3af)]();}[_0x5c5167(0x2b6)](){var _0x12a6b5=_0x5c5167;return this[_0x12a6b5(0x3df)]=!0x0,_0x56b292(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x2fea8e){var _0x4e72ef=_0x5c5167;this[_0x4e72ef(0x2cc)](_0x2fea8e);}[_0x5c5167(0x2b2)](_0x3a8c63){var _0xbf49c3=_0x5c5167;this[_0xbf49c3(0x22d)]=_0x3a8c63,this[_0xbf49c3(0x21e)][_0xbf49c3(0x291)](_0x3a8c63);}async[_0x5c5167(0x3af)](){var _0x285d94=_0x5c5167,_0x20e297;this[_0x285d94(0x2b2)](await this[_0x285d94(0x1e7)]()),this['_singleActiveUnitService']&&((_0x20e297=this['_singleActiveUnitService'])==null||_0x20e297[_0x285d94(0x376)](this['unitID']),this[_0x285d94(0x3dc)](this['_singleActiveUnitService'][_0x285d94(0x2a6)](this[_0x285d94(0x20e)])[_0x285d94(0x378)](_0x1fd034=>{var _0x3b1cbe=_0x285d94;this[_0x3b1cbe(0x1e0)][_0x3b1cbe(0x268)](_0x3b1cbe(0x477),_0x3b1cbe(0x19c),_0x1fd034),_0x1fd034===Si['OTHER_CLIENTS_EDITING']?(this[_0x3b1cbe(0x1b3)]['emitEvent']({'id':ne[_0x3b1cbe(0x392)]}),this['_permissionService']['updatePermissionPoint'](new _0x5996a1(this[_0x3b1cbe(0x20e)])['id'],!0x1),this[_0x3b1cbe(0x449)][_0x3b1cbe(0x27d)](!0x1)):(this[_0x3b1cbe(0x449)][_0x3b1cbe(0x20f)](new _0x5996a1(this['unitID'])['id'],!0x0),this[_0x3b1cbe(0x449)]['setShowComponents'](!0x0));})));let _0x4033b=!0x1;return this['disposeWithMe'](this[_0x285d94(0x493)][_0x285d94(0x33d)][_0x285d94(0x378)](_0x12f645=>{var _0x50cecc=_0x285d94;_0x12f645===ge[_0x50cecc(0x28b)]?this[_0x50cecc(0x23f)](_0x4033b):_0x12f645===ge[_0x50cecc(0x1ec)]&&(_0x4033b=!0x0,this[_0x50cecc(0x23a)]());})),this[_0x285d94(0x3dc)](this[_0x285d94(0x493)][_0x285d94(0x452)][_0x285d94(0x378)](_0xffa78f=>{var _0x53478e=_0x285d94;try{switch(_0xffa78f[_0x53478e(0x245)]){case _0x49bb1d[_0x53478e(0x3a3)]:{this[_0x53478e(0x43c)](_0x5cfbfd(_0xffa78f[_0x53478e(0x41c)]));break;}case _0x49bb1d['CHANGESET_ACK']:{this[_0x53478e(0x230)](_0xffa78f[_0x53478e(0x41c)]);break;}case _0x49bb1d[_0x53478e(0x333)]:{this['_onRemoteRejected']();break;}case _0x49bb1d[_0x53478e(0x2fa)]:{this['_onRemoteRetry'](_0xffa78f['data']);break;}case _0x49bb1d['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x53478e(0x2aa)](_0xffa78f['data'][_0x53478e(0x3a1)][_0x53478e(0x2b8)](_0x1a393f=>_0x5cfbfd(_0x1a393f)));break;}case _0x49bb1d['PERMISSION_REJ']:{this[_0x53478e(0x3ba)]({'isPermissionRej':!0x0});break;}case _0x49bb1d[_0x53478e(0x461)]:break;}}catch(_0x5ab50b){throw console[_0x53478e(0x347)](_0x53478e(0x21a),_0x5ab50b),_0x5ab50b;}})),this[_0x285d94(0x22d)];}['_unlockTransition'](){var _0x715c21=_0x5c5167;this[_0x715c21(0x237)]=!0x1;}['_lockTransition'](){var _0x59f43f=_0x5c5167;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x59f43f(0x237)]=!0x0;}[_0x5c5167(0x2cc)](_0x4dbe61){var _0x320a51=_0x5c5167;this[_0x320a51(0x20a)](),this[_0x320a51(0x2b2)](this[_0x320a51(0x22d)][_0x320a51(0x45b)](_0x4dbe61)),this[_0x320a51(0x28e)]();}[_0x5c5167(0x43c)](_0x9a1e56){var _0xdd796b=_0x5c5167;if(!(_0x9a1e56['revision']<=this[_0xdd796b(0x46d)]['getCurrentRevOfUnit'](this[_0xdd796b(0x20e)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x9a1e56);return;}this[_0xdd796b(0x328)](_0x9a1e56);}}[_0x5c5167(0x2e9)](){var _0x142f1b=_0x5c5167;this[_0x142f1b(0x32b)][_0x142f1b(0x357)](_0x2e21b7=>this[_0x142f1b(0x328)](_0x2e21b7)),this[_0x142f1b(0x32b)]=[];}[_0x5c5167(0x328)](_0x299aa1){var _0x2f2b3f=_0x5c5167;const _0x328ecc=this['_compressMutationService'][_0x2f2b3f(0x1e6)][_0x2f2b3f(0x31d)](this[_0x2f2b3f(0x303)][_0x2f2b3f(0x1e6)]['getInterceptPoints']()[_0x2f2b3f(0x46e)])(_0x299aa1[_0x2f2b3f(0x2e0)],null)||_0x299aa1[_0x2f2b3f(0x2e0)],_0x3467f6={..._0x299aa1,'mutations':_0x328ecc};this['_lockTransition'](),this[_0x2f2b3f(0x2b2)](this[_0x2f2b3f(0x22d)]['onRemoteChangeset'](_0x3467f6)),this['_unlockTransition']();}[_0x5c5167(0x230)](_0x1d14bb){var _0x40319c=_0x5c5167;this[_0x40319c(0x20a)](),this[_0x40319c(0x2b2)](this[_0x40319c(0x22d)][_0x40319c(0x1f4)](_0x1d14bb)),this[_0x40319c(0x28e)]();}[_0x5c5167(0x3ba)](_0x524998){var _0x5b1dc6=_0x5c5167;this[_0x5b1dc6(0x20a)](),this[_0x5b1dc6(0x2b2)](this[_0x5b1dc6(0x22d)][_0x5b1dc6(0x292)](_0x524998)),this['_unlockTransition']();}[_0x5c5167(0x39a)](_0x3779bb){var _0x326258=_0x5c5167;this[_0x326258(0x20a)](),this[_0x326258(0x2b2)](this['_state'][_0x326258(0x26b)](_0x3779bb)),this[_0x326258(0x28e)]();}[_0x5c5167(0x2aa)](_0x29403a){var _0x151edd=_0x5c5167;if(!(this[_0x151edd(0x22d)]instanceof Q))throw new TypeError(_0x151edd(0x1b1));const _0x32e178=_0x29403a[_0x151edd(0x2b8)](_0x43fe41=>{var _0x7486ec=_0x151edd;const _0x10450b=this[_0x7486ec(0x303)][_0x7486ec(0x1e6)][_0x7486ec(0x31d)](this[_0x7486ec(0x303)][_0x7486ec(0x1e6)][_0x7486ec(0x1db)]()[_0x7486ec(0x46e)])(_0x43fe41['mutations'],null)||_0x43fe41[_0x7486ec(0x2e0)];return{..._0x43fe41,'mutations':_0x10450b};});this[_0x151edd(0x20a)](),this[_0x151edd(0x2b2)](this[_0x151edd(0x22d)][_0x151edd(0x38f)](_0x32e178)),this[_0x151edd(0x28e)]();}[_0x5c5167(0x23a)](){var _0x4dc5dc=_0x5c5167;this[_0x4dc5dc(0x20a)](),this['_updateState'](this['_state'][_0x4dc5dc(0x360)]()),this[_0x4dc5dc(0x28e)]();}['_toggleOnline'](_0x573759=!0x1){var _0x1973e1=_0x5c5167;this[_0x1973e1(0x20a)](),this[_0x1973e1(0x2b2)](this[_0x1973e1(0x22d)][_0x1973e1(0x389)]()),this['_unlockTransition']();const _0x178310=this[_0x1973e1(0x22d)];_0x573759&&_0x178310 instanceof ye&&(this[_0x1973e1(0x20a)](),this['_updateState'](_0x178310['fetchMiss']()),this[_0x1973e1(0x28e)]());}async[_0x5c5167(0x1e7)](){return new Promise(_0x1c88df=>{var _0x1a39ff=_0xb5db;this[_0x1a39ff(0x493)][_0x1a39ff(0x33d)]['pipe'](_0x2113af(0x1))[_0x1a39ff(0x378)](async _0x3d551c=>{var _0x14467b=_0x1a39ff;_0x1c88df(await this[_0x14467b(0x3db)](_0x3d551c===ge[_0x14467b(0x28b)]));});});}['_createHandler'](){const _0x3c4f5c=this['unitID'];return{'onStateChange':(_0x5e5b31,_0x166b55)=>{var _0x334be3=_0xb5db;if(_0x5e5b31!==this[_0x334be3(0x22d)])throw new Error(_0x334be3(0x2c3)+_0x5e5b31[_0x334be3(0x365)]+'\x0aAfter:\x20'+_0x166b55[_0x334be3(0x365)]+_0x334be3(0x45e)+this['_state']['status']);this[_0x334be3(0x2b2)](_0x166b55);},'onSendChangeset':_0x31e47d=>{var _0x4a15f2=_0xb5db;_0x31e47d[_0x4a15f2(0x404)]||(_0x31e47d[_0x4a15f2(0x404)]=this[_0x4a15f2(0x30f)],_0x31e47d[_0x4a15f2(0x3a9)]=++this[_0x4a15f2(0x2ff)]);const _0x4cd9c3={'eventID':_0x49bb1d[_0x4a15f2(0x1a2)],'data':{'unitID':_0x31e47d[_0x4a15f2(0x20e)],'unitType':this['_type'],'changeset':_0x31e47d,'memberID':this['session']['getMemberID']()}};this['session'][_0x4a15f2(0x338)](_0x4cd9c3,this[_0x4a15f2(0x20e)]);},'onMissingChangesets':({from:_0x3bac34,to:_0x378f41})=>{var _0x2cdf1e=_0xb5db;this[_0x2cdf1e(0x1e0)][_0x2cdf1e(0x268)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x3bac34+'\x20to\x20'+_0x378f41);const _0x5c61a3={'eventID':_0x49bb1d['FETCH_MISSING'],'data':{'unitID':_0x3c4f5c,'unitType':this[_0x2cdf1e(0x43b)],'from':_0x3bac34,'to':_0x378f41}};this[_0x2cdf1e(0x493)]['send'](_0x5c61a3,this['unitID']);}};}async[_0x5c5167(0x3db)](_0x30e023){var _0x2d1d42=_0x5c5167,_0x201a74,_0x125da,_0x195886;const _0x167430=await((_0x201a74=this[_0x2d1d42(0x31f)])==null?void 0x0:_0x201a74['loadOfflineData'](this[_0x2d1d42(0x20e)])),_0x50ead6=(_0x125da=_0x167430==null?void 0x0:_0x167430[_0x2d1d42(0x2e0)])!=null?_0x125da:[],_0x47284c=(_0x195886=_0x167430==null?void 0x0:_0x167430['awaitingChangeset'])!=null?_0x195886:null,_0x56907b=!!(_0x47284c!=null&&_0x47284c[_0x2d1d42(0x404)])&&!!(_0x47284c!=null&&_0x47284c[_0x2d1d42(0x3a9)]);this['_changesetSessionId']=_0x56907b?_0x47284c['sid']:_0x394e74(),this['_changesetReqId']=_0x56907b?_0x47284c[_0x2d1d42(0x3a9)]:0x0;const _0x31d9f9=this[_0x2d1d42(0x20e)];try{this[_0x2d1d42(0x215)](_0x47284c,_0x50ead6);}catch(_0x1889c1){this[_0x2d1d42(0x1e0)][_0x2d1d42(0x347)](_0x1889c1);}const _0x14ac88=this[_0x2d1d42(0x3c4)]();if(_0x30e023){const _0xfb3650=Ci(this['_injector'],_0x31d9f9,this[_0x2d1d42(0x43b)],_0x47284c,_0x50ead6,_0x14ac88);return _0xfb3650 instanceof re?_0xfb3650[_0x2d1d42(0x2cb)]():(_0xfb3650 instanceof ae||_0xfb3650 instanceof _e)&&_0xfb3650[_0x2d1d42(0x2fd)](),_0xfb3650;}return this[_0x2d1d42(0x48d)]['createInstance'](ue,_0x31d9f9,this[_0x2d1d42(0x43b)],_0x47284c,_0x50ead6,_0x14ac88);}[_0x5c5167(0x215)](_0x40680b,_0x2cb1b1){var _0x3f590a=_0x5c5167,_0x5ab171,_0x4df515;const _0x5ba1fc=this[_0x3f590a(0x303)][_0x3f590a(0x1e6)]['fetchThroughInterceptors'](this[_0x3f590a(0x303)][_0x3f590a(0x1e6)][_0x3f590a(0x1db)]()['COMPRESS_MUTATION_APPLY']);(_0x5ab171=_0x5ba1fc((_0x40680b==null?void 0x0:_0x40680b[_0x3f590a(0x2e0)])||[],null))==null||_0x5ab171[_0x3f590a(0x357)](_0x39ba50=>this[_0x3f590a(0x219)][_0x3f590a(0x41b)](_0x39ba50['id'],_0x39ba50[_0x3f590a(0x40c)])),(_0x4df515=_0x5ba1fc(_0x2cb1b1||[],null))==null||_0x4df515[_0x3f590a(0x357)](_0xc4d9de=>this[_0x3f590a(0x219)][_0x3f590a(0x41b)](_0xc4d9de['id'],_0xc4d9de[_0x3f590a(0x40c)]));}};st=wt([H(0x3,_0x307146(_0x4b4f54)),H(0x4,_0x307146(_0x16b727)),H(0x5,_0x307146(_0x398834)),H(0x6,_0x307146(_0x4b9485)),H(0x7,_0x307146(ve)),H(0x8,_0x3eb14a),H(0x9,_0x326877),H(0xa,_0xeeb0ba),H(0xb,_0x4fe35e(ht)),H(0xc,_0x4fe35e(J))],st);let St=class extends st{constructor(_0x34821a,_0x4287d1,_0x9a428c,_0x4a94bf,_0xe8edaa,_0x106228,_0x5b1e5a,_0x88071f,_0x132456,_0x197fe3,_0x28cfaf,_0x584e8d,_0x4a4b9c){var _0x2032ee=_0x5c5167;super(_0x34821a,_0x9a428c,_0x4287d1,_0x4a94bf,_0xe8edaa,_0x106228,_0x5b1e5a,_0x88071f,_0x132456,_0x197fe3,_0x28cfaf,_0x584e8d,_0x4a4b9c),N(this,_0x2032ee(0x3c6),null),(this[_0x2032ee(0x20e)]=_0x34821a,this[_0x2032ee(0x465)]=_0x4287d1);}[_0x5c5167(0x1ca)](_0x560162){var _0x33d77d=_0x5c5167;this[_0x33d77d(0x3c6)]=_0x560162;}['dispose'](){var _0x68c59b=_0x5c5167;this[_0x68c59b(0x3c6)]=null,super[_0x68c59b(0x424)]();}[_0x5c5167(0x3c4)](){var _0x30d3b6=_0x5c5167;const _0x33b648=super['_createHandler']();return _0x33b648['onTransformIME']=_0x15e8d0=>{var _0x123e08=_0xb5db,_0x1c1840,_0x411ae2;return(_0x411ae2=(_0x1c1840=this['_handlerCallback'])==null?void 0x0:_0x1c1840[_0x123e08(0x2ec)])==null?void 0x0:_0x411ae2[_0x123e08(0x1c3)](_0x1c1840,_0x15e8d0);},_0x33b648['onTransformState']=_0x267010=>{var _0x59752e=_0xb5db,_0xaa0616,_0x3cf8c6;return(_0x3cf8c6=(_0xaa0616=this[_0x59752e(0x3c6)])==null?void 0x0:_0xaa0616['onTransformState'])==null?void 0x0:_0x3cf8c6[_0x59752e(0x1c3)](_0xaa0616,_0x267010);},_0x33b648['onTransformSelections']=_0x3a58e4=>{var _0x191a78=_0xb5db,_0x5e14bc,_0x31c1b9;return(_0x31c1b9=(_0x5e14bc=this[_0x191a78(0x3c6)])==null?void 0x0:_0x5e14bc[_0x191a78(0x48b)])==null?void 0x0:_0x31c1b9[_0x191a78(0x1c3)](_0x5e14bc,_0x3a58e4);},_0x33b648[_0x30d3b6(0x3da)]=_0x1c18b4=>{var _0x26a0cc=_0x30d3b6,_0x3d1057,_0x2a7522;return(_0x2a7522=(_0x3d1057=this[_0x26a0cc(0x3c6)])==null?void 0x0:_0x3d1057[_0x26a0cc(0x3da)])==null?void 0x0:_0x2a7522[_0x26a0cc(0x1c3)](_0x3d1057,_0x1c18b4);},_0x33b648['onTransformRemoteChangesetByIMECache']=_0x42f183=>{var _0x19d223=_0x30d3b6,_0x13a359,_0x16f999,_0x4ce31d;if(!((_0x13a359=this[_0x19d223(0x3c6)])!=null&&_0x13a359['onTransformRemoteChangesetByIMECache']))throw new Error(_0x19d223(0x20d));return(_0x4ce31d=(_0x16f999=this[_0x19d223(0x3c6)])==null?void 0x0:_0x16f999[_0x19d223(0x468)])==null?void 0x0:_0x4ce31d[_0x19d223(0x1c3)](_0x16f999,_0x42f183);},_0x33b648[_0x30d3b6(0x3d6)]=_0x119d1e=>{var _0x5162b2=_0x30d3b6,_0x26dd76,_0x1b419e,_0x5f5696;if(!((_0x26dd76=this[_0x5162b2(0x3c6)])!=null&&_0x26dd76[_0x5162b2(0x3d6)]))throw new Error(_0x5162b2(0x1b7));return(_0x5f5696=(_0x1b419e=this[_0x5162b2(0x3c6)])==null?void 0x0:_0x1b419e[_0x5162b2(0x3d6)])==null?void 0x0:_0x5f5696[_0x5162b2(0x1c3)](_0x1b419e,_0x119d1e);},_0x33b648;}async[_0x5c5167(0x3af)](){var _0x2b48ae=_0x5c5167;const _0x10cbc4=await super[_0x2b48ae(0x3af)]();return this['disposeWithMe'](this[_0x2b48ae(0x219)][_0x2b48ae(0x3a0)]((_0x1fe134,_0x4eaea4)=>{var _0x1b67af=_0x2b48ae;if(_0x1fe134['type']!==_0x4cdb45[_0x1b67af(0x3f7)]||_0x4eaea4!=null&&_0x4eaea4[_0x1b67af(0x21c)]||_0x4eaea4!=null&&_0x4eaea4[_0x1b67af(0x1ad)]||_0x1fe134['id']===_0x381cca['id'])return;const _0x3e1489=_0x1fe134[_0x1b67af(0x40c)];if((_0x3e1489==null?void 0x0:_0x3e1489[_0x1b67af(0x1a1)])!==this['unitID'])return;const _0x233954=_0x1fe134,_0x555056=this[_0x1b67af(0x303)][_0x1b67af(0x1e6)]['fetchThroughInterceptors'](this[_0x1b67af(0x303)][_0x1b67af(0x1e6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x233954],null)||[_0x233954];this[_0x1b67af(0x2cc)](_0x555056[0x0]);})),_0x10cbc4;}};St=wt([H(0x3,_0x307146(_0x4b4f54)),H(0x4,_0x307146(_0x16b727)),H(0x5,_0x307146(_0x398834)),H(0x6,_0x307146(_0x4b9485)),H(0x7,_0x307146(ve)),H(0x8,_0x3eb14a),H(0x9,_0x326877),H(0xa,_0xeeb0ba),H(0xb,_0x4fe35e(ht)),H(0xc,_0x4fe35e(J))],St);let Et=class extends st{constructor(_0x5c8394,_0x1d59e5,_0x36d289,_0xad2002,_0x4d1fb3,_0x1bb29a,_0x56e0c0,_0x21d66d,_0x340d86,_0x1dd2c3,_0x231b11,_0x48d3a6,_0x1dc36a,_0x30c601){var _0x48e8d3=_0x5c5167;super(_0x5c8394,_0x36d289,_0x1d59e5,_0xad2002,_0x4d1fb3,_0x1bb29a,_0x56e0c0,_0x340d86,_0x1dd2c3,_0x231b11,_0x48d3a6,_0x1dc36a,_0x30c601),this[_0x48e8d3(0x20e)]=_0x5c8394,this['type']=_0x1d59e5,this['_sheetTransformSelectionsService']=_0x21d66d;}[_0x5c5167(0x3c4)](){var _0x20292c=_0x5c5167;const _0x2a27bc=super['_createHandler']();return _0x2a27bc[_0x20292c(0x48b)]=_0x96a187=>this[_0x20292c(0x35a)]['transformSelections'](_0x96a187),_0x2a27bc;}async['_init'](){var _0xae3e37=_0x5c5167;const _0x508c82=await super[_0xae3e37(0x3af)]();return this[_0xae3e37(0x3dc)](this['_commandService'][_0xae3e37(0x3a0)]((_0x3eccd5,_0x5092e0)=>{var _0x12ee3f=_0xae3e37;if(_0x3eccd5[_0x12ee3f(0x465)]!==_0x4cdb45[_0x12ee3f(0x3f7)]||_0x5092e0!=null&&_0x5092e0[_0x12ee3f(0x21c)]||_0x5092e0!=null&&_0x5092e0['onlyLocal'])return;const _0x4950cb=_0x3eccd5[_0x12ee3f(0x40c)];if((_0x4950cb==null?void 0x0:_0x4950cb[_0x12ee3f(0x1a1)])!==this[_0x12ee3f(0x20e)])return;const _0xd535d=_0x3eccd5,_0x5dfb01=this[_0x12ee3f(0x303)][_0x12ee3f(0x1e6)]['fetchThroughInterceptors'](this[_0x12ee3f(0x303)][_0x12ee3f(0x1e6)]['getInterceptPoints']()[_0x12ee3f(0x351)])([_0xd535d],null)||[_0xd535d];this[_0x12ee3f(0x2cc)](_0x5dfb01[0x0]);})),_0x508c82;}};Et=wt([H(0x3,_0x307146(_0x4b4f54)),H(0x4,_0x307146(_0x16b727)),H(0x5,_0x307146(_0x398834)),H(0x6,_0x307146(_0x4b9485)),H(0x7,_0x307146(it)),H(0x8,_0x307146(ve)),H(0x9,_0x3eb14a),H(0xa,_0x326877),H(0xb,_0xeeb0ba),H(0xc,_0x4fe35e(ht)),H(0xd,_0x4fe35e(J))],Et);var zs=Object[_0x5c5167(0x2de)],Js=(_0x18be8a,_0x102980,_0x1352de,_0x192dea)=>{for(var _0x4aa154=_0x192dea>0x1?void 0x0:_0x192dea?zs(_0x102980,_0x1352de):_0x102980,_0x48dcd8=_0x18be8a['length']-0x1,_0x240e38;_0x48dcd8>=0x0;_0x48dcd8--)(_0x240e38=_0x18be8a[_0x48dcd8])&&(_0x4aa154=_0x240e38(_0x4aa154)||_0x4aa154);return _0x4aa154;},Be=(_0x5dbb43,_0x576382)=>(_0x3c2caa,_0x5d4c24)=>_0x576382(_0x3c2caa,_0x5d4c24,_0x5dbb43);let nt=class extends _0x2049da{constructor(_0x1ce4c0,_0x4147f2,_0x4b83a5,_0x1e3ab5){var _0x2a0796=_0x5c5167,_0x3a8628;super(),N(this,'_entities',new Map()),N(this,_0x2a0796(0x2f2),new _0x431a14()),N(this,_0x2a0796(0x4a1),this['_entityInit$']['asObservable']()),(this[_0x2a0796(0x48d)]=_0x1ce4c0,this['_collabSessionService']=_0x4147f2,this['_configService']=_0x4b83a5,this['_univerInstanceService']=_0x1e3ab5,((_0x3a8628=this[_0x2a0796(0x27e)][_0x2a0796(0x1a4)](K))==null?void 0x0:_0x3a8628[_0x2a0796(0x1a7)])!==!0x1&&this[_0x2a0796(0x3af)]());}[_0x5c5167(0x424)](){var _0x2f0abf=_0x5c5167;super[_0x2f0abf(0x424)](),this[_0x2f0abf(0x2e7)][_0x2f0abf(0x357)](_0x3a83a5=>_0x3a83a5[_0x2f0abf(0x424)]()),this[_0x2f0abf(0x2e7)]['clear']();}[_0x5c5167(0x283)](_0x56cb2e){var _0x24760a=_0x5c5167,_0x583f6e;return(_0x583f6e=this[_0x24760a(0x2e7)][_0x24760a(0x2d3)](_0x56cb2e))!=null?_0x583f6e:null;}['getCollabEntity$'](_0x593c24){var _0x272b74=_0x5c5167;const _0x7e02f9=this[_0x272b74(0x283)](_0x593c24);return _0x7e02f9?_0xe3ff1f(_0x7e02f9):this[_0x272b74(0x2f2)][_0x272b74(0x3a6)](_0x10a3bd(_0x2386ad=>_0x2386ad[_0x272b74(0x20e)]===_0x593c24));}[_0x5c5167(0x2f0)](_0x51f127){var _0x23ef6b=_0x5c5167;return _0x2108e1(this['getCollabEntity$'](_0x51f127)[_0x23ef6b(0x3a6)](_0x4aa1f9(()=>{})));}[_0x5c5167(0x3af)](){var _0x2e6ee6=_0x5c5167;this[_0x2e6ee6(0x472)][_0x2e6ee6(0x29a)](_0x33d220[_0x2e6ee6(0x232)])[_0x2e6ee6(0x3a6)](_0x51a064(this[_0x2e6ee6(0x417)]),_0xb4b242(0x10))['subscribe'](async _0x3d05df=>{var _0x17d5ee=_0x2e6ee6;const _0x2c7400=_0x3d05df[_0x17d5ee(0x492)](),_0x4237ea=await this[_0x17d5ee(0x462)](_0x2c7400,Z[_0x17d5ee(0x232)]);this[_0x17d5ee(0x2e7)][_0x17d5ee(0x444)](_0x2c7400,_0x4237ea);}),this[_0x2e6ee6(0x472)][_0x2e6ee6(0x29a)](_0x33d220[_0x2e6ee6(0x22f)])[_0x2e6ee6(0x3a6)](_0x51a064(this[_0x2e6ee6(0x417)]),_0xb4b242(0x10))['pipe'](_0x10a3bd(_0x255c60=>!_0x255c60[_0x2e6ee6(0x492)]()[_0x2e6ee6(0x2e1)]('__')))[_0x2e6ee6(0x378)](async _0x11e622=>{var _0x1b4dc2=_0x2e6ee6;const _0x3da541=_0x11e622[_0x1b4dc2(0x492)](),_0x299751=await this['_startCollaboration'](_0x3da541,Z[_0x1b4dc2(0x22f)]);this[_0x1b4dc2(0x2e7)][_0x1b4dc2(0x444)](_0x3da541,_0x299751);}),_0x3eede2(this[_0x2e6ee6(0x472)][_0x2e6ee6(0x19d)](_0x33d220['UNIVER_SHEET']),this[_0x2e6ee6(0x472)][_0x2e6ee6(0x19d)](_0x33d220[_0x2e6ee6(0x22f)]))[_0x2e6ee6(0x3a6)](_0x51a064(this[_0x2e6ee6(0x417)]))['subscribe'](_0x17a952=>{var _0x2663ef=_0x2e6ee6;const _0x2e4785=_0x17a952[_0x2663ef(0x492)](),_0x3e72e3=this[_0x2663ef(0x2e7)][_0x2663ef(0x2d3)](_0x2e4785);_0x3e72e3&&(_0x3e72e3[_0x2663ef(0x424)](),this[_0x2663ef(0x2e7)][_0x2663ef(0x217)](_0x2e4785));});}async[_0x5c5167(0x462)](_0x4ecca3,_0x2cf71c){var _0x48cebb=_0x5c5167;const _0x2990d1=await this[_0x48cebb(0x1dd)][_0x48cebb(0x423)](_0x4ecca3),_0x168ba6=this[_0x48cebb(0x48d)][_0x48cebb(0x1ef)](this['_getCtorByUniverType'](_0x2cf71c),_0x4ecca3,_0x2cf71c,_0x2990d1);return await _0x168ba6[_0x48cebb(0x22a)](),this['_entityInit$'][_0x48cebb(0x291)](_0x168ba6),_0x168ba6;}[_0x5c5167(0x355)](_0x4cce1a){var _0x3f7182=_0x5c5167;switch(_0x4cce1a){case Z[_0x3f7182(0x22f)]:return St;case Z[_0x3f7182(0x232)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4cce1a);}}};nt=Js([Be(0x0,_0x307146(_0x4b4f54)),Be(0x1,_0x307146(Pe)),Be(0x2,_0x4d0e1d),Be(0x3,_0x4e8bc9)],nt);var Xs=Object[_0x5c5167(0x2de)],Zs=(_0x1f6aef,_0x3d5031,_0x2d9e58,_0x41f185)=>{var _0x3b624f=_0x5c5167;for(var _0x4f0619=_0x41f185>0x1?void 0x0:_0x41f185?Xs(_0x3d5031,_0x2d9e58):_0x3d5031,_0x2201ff=_0x1f6aef[_0x3b624f(0x418)]-0x1,_0x3bfd85;_0x2201ff>=0x0;_0x2201ff--)(_0x3bfd85=_0x1f6aef[_0x2201ff])&&(_0x4f0619=_0x3bfd85(_0x4f0619)||_0x4f0619);return _0x4f0619;},Yt=(_0x3fb6d6,_0x3ae8c9)=>(_0x52b3c3,_0x308138)=>_0x3ae8c9(_0x52b3c3,_0x308138,_0x3fb6d6);const Qs=_0x5c5167(0x24d),en=_0x5c5167(0x382);let It=class extends _0x3bee79{constructor(_0x49a62a,_0x5c1c22){var _0x4f851d=_0x5c5167;super(),this[_0x4f851d(0x472)]=_0x49a62a,this[_0x4f851d(0x27e)]=_0x5c1c22,this[_0x4f851d(0x3af)]();}[_0x5c5167(0x3af)](){var _0x3b4511=_0x5c5167;this[_0x3b4511(0x3dc)](this['_univerInstanceService'][_0x3b4511(0x439)]['subscribe'](()=>{var _0x34266e=_0x3b4511,_0xf3b914;const _0x5712ee=this['_univerInstanceService'][_0x34266e(0x25c)]();let _0x13a1d1=(_0xf3b914=this[_0x34266e(0x27e)][_0x34266e(0x1a4)](Qs))!=null?_0xf3b914:en;_0x5712ee instanceof _0x1eb668&&(_0x13a1d1=_0x5712ee[_0x34266e(0x246)]),document['title']=_0x13a1d1;}));}};It=Zs([Yt(0x0,_0x4e8bc9),Yt(0x1,_0x4d0e1d)],It);var tn=Object[_0x5c5167(0x2de)],sn=(_0x3c6dd0,_0x49ff64,_0x34e1ec,_0x353219)=>{var _0x3593f6=_0x5c5167;for(var _0x5e3f58=_0x353219>0x1?void 0x0:_0x353219?tn(_0x49ff64,_0x34e1ec):_0x49ff64,_0x210c24=_0x3c6dd0[_0x3593f6(0x418)]-0x1,_0x5979ad;_0x210c24>=0x0;_0x210c24--)(_0x5979ad=_0x3c6dd0[_0x210c24])&&(_0x5e3f58=_0x5979ad(_0x5e3f58)||_0x5e3f58);return _0x5e3f58;},dt=(_0x3b79ed,_0x2655e3)=>(_0x47d4e1,_0x191cce)=>_0x2655e3(_0x47d4e1,_0x191cce,_0x3b79ed);let rt=class{constructor(_0x3f6f31,_0x227abe,_0x571388){var _0x10eb2c=_0x5c5167;this[_0x10eb2c(0x27e)]=_0x3f6f31,this[_0x10eb2c(0x231)]=_0x227abe,this[_0x10eb2c(0x375)]=_0x571388,this[_0x10eb2c(0x22a)]();}[_0x5c5167(0x22a)](){var _0x3a7767=_0x5c5167;this[_0x3a7767(0x231)][_0x3a7767(0x471)]({'priority':0x1,'interceptor':(_0x214937,_0x2cbac2)=>_0x2cbac2(_0x214937)[_0x3a7767(0x3a6)](_0x469838(async _0x57d2b6=>{var _0x22f91a=_0x3a7767;const _0x181cca=_0x57d2b6;if(_0x181cca[_0x22f91a(0x365)]===0x191){if(typeof window>'u')throw new Error(_0x22f91a(0x234));if(window['confirm'](this['localeService']['t'](_0x22f91a(0x443)))){const _0x33604c=window[_0x22f91a(0x33b)](window[_0x22f91a(0x35c)]['href']);window[_0x22f91a(0x35c)][_0x22f91a(0x1bb)]=this['_getLoginPath']()+_0x22f91a(0x3e5)+_0x33604c;}}return _0x181cca;}))});}[_0x5c5167(0x2ce)](){var _0x5f4822=_0x5c5167,_0x71e2e2;const _0x63265=this[_0x5f4822(0x27e)][_0x5f4822(0x1a4)](K);return(_0x71e2e2=_0x63265==null?void 0x0:_0x63265['loginUrlKey'])!=null?_0x71e2e2:Rs;}};rt=sn([dt(0x0,_0x4d0e1d),dt(0x1,_0x307146(_0x4f1e64)),dt(0x2,_0x307146(_0x398834))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x5a88e2,_0xbcc40e,_0x508336,_0x290cd1)=>{var _0x2f3281=_0x5c5167;for(var _0x4f36cf=_0x290cd1>0x1?void 0x0:_0x290cd1?nn(_0xbcc40e,_0x508336):_0xbcc40e,_0x282055=_0x5a88e2[_0x2f3281(0x418)]-0x1,_0x27f83c;_0x282055>=0x0;_0x282055--)(_0x27f83c=_0x5a88e2[_0x282055])&&(_0x4f36cf=_0x27f83c(_0x4f36cf)||_0x4f36cf);return _0x4f36cf;},Kt=(_0x505ba5,_0x2e685a)=>(_0x4d8140,_0x1d6dfd)=>_0x2e685a(_0x4d8140,_0x1d6dfd,_0x505ba5);const an='/universer-api/authz';let Tt=class extends _0x3bee79{constructor(_0xbc2918,_0x3b338e){var _0x3b6250=_0x5c5167;super(),this[_0x3b6250(0x438)]=_0xbc2918,this[_0x3b6250(0x27e)]=_0x3b338e,this['_initMergeInterceptor']();}[_0x5c5167(0x332)](){var _0x3a83b9=_0x5c5167;const _0x50a1e1=this;this['disposeWithMe'](this[_0x3a83b9(0x438)][_0x3a83b9(0x471)]({'priority':0x3e7,'interceptor':_0x1c56f5({'isMatch'(_0x28478f){var _0x15695e=_0x3a83b9,_0x2092b2;if(_0x28478f[_0x15695e(0x475)]===_0x15695e(0x3ff)&&((_0x2092b2=_0x28478f[_0x15695e(0x2d1)])!=null&&_0x2092b2[_0x15695e(0x479)])){const {objectID:_0x1a876,objectType:_0x7b9cc7}=_0x28478f[_0x15695e(0x2d1)][_0x15695e(0x479)]||{};if(!_0x1a876||_0x7b9cc7===void 0x0)return!0x1;const _0x4d0791=_0x50a1e1['_getAPIPrefixPath']()+'/'+_0x7b9cc7+_0x15695e(0x2d9)+_0x1a876+_0x15695e(0x1d5);if(_0x28478f['url']===_0x4d0791)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4ba5c1){var _0xbb2fdf=_0x3a83b9,_0x284fdf;return(_0x284fdf=_0x4ba5c1[_0xbb2fdf(0x2d1)])==null?void 0x0:_0x284fdf[_0xbb2fdf(0x479)];},'mergeParamsToRequest'(_0x1701bd,_0x21e910){var _0x50e2a2=_0x3a83b9;const _0xa788e9=_0x50a1e1[_0x50e2a2(0x3cf)]()+_0x50e2a2(0x1dc),_0x144851=_0x1701bd[_0x50e2a2(0x223)]((_0x1a7d4a,_0xc21b36)=>{const {unitID:_0x4a9f2e,objectID:_0x19e426,objectType:_0x28d4c2,actions:_0x2e8cbc}=_0xc21b36;return _0x1a7d4a[_0x4a9f2e]||(_0x1a7d4a[_0x4a9f2e]={}),_0x1a7d4a[_0x4a9f2e][_0x19e426]||(_0x1a7d4a[_0x4a9f2e][_0x19e426]={'objectID':_0x19e426,'objectType':_0x28d4c2,'actions':[]}),_0x1a7d4a[_0x4a9f2e][_0x19e426]['actions']['push'](..._0x2e8cbc),_0x1a7d4a;},{}),_0x5a5201=[];for(const _0x422a00 in _0x144851)for(const _0x4ad2a4 in _0x144851[_0x422a00]){const {actions:_0x51bac4,objectType:_0x54d0a5}=_0x144851[_0x422a00][_0x4ad2a4],_0x2d41ae=[...new Set(_0x51bac4)];_0x5a5201['push']({'unitID':_0x422a00,'objectID':_0x4ad2a4,'objectType':_0x54d0a5,'actions':_0x2d41ae});}return new _0x346018(_0x50e2a2(0x3ff),_0xa788e9,{'headers':_0x21e910[_0x50e2a2(0x3b5)],'withCredentials':_0x21e910[_0x50e2a2(0x470)],'responseType':_0x21e910['responseType'],'body':{'requests':_0x5a5201}});}},{'distributeResult'(_0x5b9720,_0x1c0901){const {objectActions:_0x401154}=_0x5b9720;return _0x1c0901['map'](_0x6cfac4=>{var _0x3c7035=_0xb5db;const {unitID:_0x2a54a5,objectID:_0x57820b,actions:_0x3ea360}=_0x6cfac4,_0x17c53a=_0x401154[_0x3c7035(0x2b0)](_0x14f28e=>_0x14f28e['unitID']===_0x2a54a5&&_0x14f28e[_0x3c7035(0x348)]===_0x57820b),_0x30c288=_0x3ea360[_0x3c7035(0x2b8)](_0x4159f4=>_0x17c53a==null?void 0x0:_0x17c53a['actions'][_0x3c7035(0x2b0)](_0xbb48af=>_0xbb48af[_0x3c7035(0x259)]===_0x4159f4))[_0x3c7035(0x498)](_0x3bf804=>!!_0x3bf804);return{'config':_0x6cfac4,'result':{'actions':_0x30c288,'error':_0x5b9720['error']}};});}})}));}[_0x5c5167(0x3cf)](){var _0x1fbae5=_0x5c5167,_0x186046;const _0x9d838d=this[_0x1fbae5(0x27e)]['getConfig'](K);return(_0x186046=_0x9d838d==null?void 0x0:_0x9d838d[_0x1fbae5(0x47c)])!=null?_0x186046:an;}async[_0x5c5167(0x1ff)](_0x3b0932){var _0x2c43f0=_0x5c5167;const _0x3e5214=this[_0x2c43f0(0x3cf)]()+'/'+_0x3b0932[_0x2c43f0(0x437)]+'/object';return(await this['_HTTPService'][_0x2c43f0(0x2c0)](_0x3e5214,{'body':_0x3b0932}))[_0x2c43f0(0x479)][_0x2c43f0(0x348)]||'';}async[_0x5c5167(0x26a)](_0x58e6df){var _0x35c8b7=_0x5c5167;const _0x355c36=this[_0x35c8b7(0x3cf)]()+_0x35c8b7(0x2e3);return(await this[_0x35c8b7(0x438)][_0x35c8b7(0x2c0)](_0x355c36,{'body':_0x58e6df}))[_0x35c8b7(0x479)][_0x35c8b7(0x228)];}async[_0x5c5167(0x31c)](_0x3bcf2f){var _0xa72e1=_0x5c5167,_0x860ed7,_0x3921d7;const _0x25d31f=this[_0xa72e1(0x3cf)]()+'/'+_0x3bcf2f[_0xa72e1(0x437)]+_0xa72e1(0x2d9)+_0x3bcf2f[_0xa72e1(0x348)],_0x33dc9f=await this['_HTTPService'][_0xa72e1(0x3cb)](_0x25d31f,{'body':_0x3bcf2f});if(((_0x3921d7=(_0x860ed7=_0x33dc9f==null?void 0x0:_0x33dc9f[_0xa72e1(0x479)])==null?void 0x0:_0x860ed7[_0xa72e1(0x347)])==null?void 0x0:_0x3921d7['code'])!==0x1)throw new Error(_0xa72e1(0x457));}async[_0x5c5167(0x210)](_0x1cdf1e){var _0xb48c9b=_0x5c5167;const _0x53d838=this[_0xb48c9b(0x3cf)]()+'/'+_0x1cdf1e[_0xb48c9b(0x437)]+_0xb48c9b(0x2d9)+_0x1cdf1e[_0xb48c9b(0x348)]+_0xb48c9b(0x1d5);return(await this[_0xb48c9b(0x438)][_0xb48c9b(0x2c0)](_0x53d838,{'body':_0x1cdf1e}))['body']['actions'];}async['batchAllowed'](_0x473e0c){var _0x56d38d=_0x5c5167;const _0x12738c=this[_0x56d38d(0x3cf)]()+_0x56d38d(0x1dc);return(await this[_0x56d38d(0x438)][_0x56d38d(0x2c0)](_0x12738c,{'body':{'requests':_0x473e0c}}))['body']['objectActions'];}async['listRoles'](_0x17e29d){var _0x48377b=_0x5c5167;const _0x118518=this[_0x48377b(0x3cf)]()+'/'+_0x17e29d['objectType']+'/role',_0x4fa574=await this[_0x48377b(0x438)][_0x48377b(0x2c0)](_0x118518,{'body':_0x17e29d});return{'roles':_0x4fa574['body'][_0x48377b(0x28d)],'actions':_0x4fa574['body'][_0x48377b(0x304)]};}async['deleteCollaborator'](_0x56fc93){var _0x3be892=_0x5c5167;const _0x4c280f=this[_0x3be892(0x3cf)]()+_0x3be892(0x499);await this[_0x3be892(0x438)][_0x3be892(0x217)](_0x4c280f,{'params':{'collaboratorID':_0x56fc93['collaboratorID'],'objectID':_0x56fc93[_0x3be892(0x348)],'unitID':_0x56fc93[_0x3be892(0x20e)]}});}async[_0x5c5167(0x2f1)](_0x3193c4){var _0x239a23=_0x5c5167;const _0x45ea47=this[_0x239a23(0x3cf)]()+_0x239a23(0x499);await this[_0x239a23(0x438)][_0x239a23(0x384)](_0x45ea47,{'body':_0x3193c4});}async[_0x5c5167(0x206)](_0x1cad02){var _0x3ec619=_0x5c5167;const _0x38a2f4=this[_0x3ec619(0x3cf)]()+_0x3ec619(0x499);await this[_0x3ec619(0x438)][_0x3ec619(0x2c0)](_0x38a2f4,{'body':_0x1cad02});}async[_0x5c5167(0x1d2)](_0x838eb2){var _0xd3700d=_0x5c5167;const _0x4b21de=this[_0xd3700d(0x3cf)]()+'/collaborator';return(await this[_0xd3700d(0x438)][_0xd3700d(0x2d3)](_0x4b21de,{'params':{'objectID':_0x838eb2[_0xd3700d(0x348)],'unitID':_0x838eb2[_0xd3700d(0x20e)]}}))[_0xd3700d(0x479)][_0xd3700d(0x1c5)];}async['putCollaborators'](_0x4e0c1a){var _0x4bb466=_0x5c5167;const _0x28f192=this[_0x4bb466(0x3cf)]()+_0x4bb466(0x499);await this['_HTTPService'][_0x4bb466(0x3cb)](_0x28f192,{'body':_0x4e0c1a});}};Tt=rn([Kt(0x0,_0x307146(_0x4f1e64)),Kt(0x1,_0x307146(_0x4d0e1d))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x278f0d){var _0x1fc46a=_0x5c5167;return _0x278f0d&&_0x278f0d[_0x1fc46a(0x4a3)]&&Object[_0x1fc46a(0x30b)][_0x1fc46a(0x1fd)][_0x1fc46a(0x1c3)](_0x278f0d,'default')?_0x278f0d[_0x1fc46a(0x214)]:_0x278f0d;}var Ve={'exports':{}};function on(_0x5402a3){var _0x46eb40=_0x5c5167;throw new Error(_0x46eb40(0x34f)+_0x5402a3+_0x46eb40(0x235));}var We={'exports':{}},cn=We['exports'],qt;function te(){return qt||(qt=0x1,function(_0xa3feb3,_0x504caf){(function(_0x2cc87c,_0x51e46f){var _0x611748=_0xb5db;_0xa3feb3[_0x611748(0x442)]=_0x51e46f();}(cn,function(){var _0x515d3b=_0x515d3b||function(_0x40a960,_0x2e5a87){var _0x4ac384=_0xb5db,_0x45f6c5;if(typeof window<'u'&&window[_0x4ac384(0x496)]&&(_0x45f6c5=window[_0x4ac384(0x496)]),typeof self<'u'&&self['crypto']&&(_0x45f6c5=self[_0x4ac384(0x496)]),typeof globalThis<'u'&&globalThis[_0x4ac384(0x496)]&&(_0x45f6c5=globalThis[_0x4ac384(0x496)]),!_0x45f6c5&&typeof window<'u'&&window[_0x4ac384(0x387)]&&(_0x45f6c5=window['msCrypto']),!_0x45f6c5&&typeof ft<'u'&&ft['crypto']&&(_0x45f6c5=ft[_0x4ac384(0x496)]),!_0x45f6c5&&typeof on==_0x4ac384(0x3de))try{_0x45f6c5=require('crypto');}catch{}var _0x30d339=function(){var _0x3e4bd3=_0x4ac384;if(_0x45f6c5){if(typeof _0x45f6c5['getRandomValues']==_0x3e4bd3(0x3de))try{return _0x45f6c5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x45f6c5['randomBytes']==_0x3e4bd3(0x3de))try{return _0x45f6c5[_0x3e4bd3(0x3cc)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x3e4bd3(0x27b));},_0xa5abe7=Object[_0x4ac384(0x1ff)]||(function(){function _0x560b82(){}return function(_0x2b771a){var _0x44456d=_0xb5db,_0x5893cd;return _0x560b82[_0x44456d(0x30b)]=_0x2b771a,_0x5893cd=new _0x560b82(),_0x560b82[_0x44456d(0x30b)]=null,_0x5893cd;};}()),_0x50cd2d={},_0x5d3feb=_0x50cd2d[_0x4ac384(0x269)]={},_0x2e9a36=_0x5d3feb[_0x4ac384(0x2a1)]=(function(){return{'extend':function(_0x1489e0){var _0x50a11c=_0xb5db,_0x477841=_0xa5abe7(this);return _0x1489e0&&_0x477841[_0x50a11c(0x3c0)](_0x1489e0),(!_0x477841[_0x50a11c(0x1fd)](_0x50a11c(0x22a))||this['init']===_0x477841['init'])&&(_0x477841[_0x50a11c(0x22a)]=function(){var _0x4fe91a=_0x50a11c;_0x477841[_0x4fe91a(0x3a8)][_0x4fe91a(0x22a)][_0x4fe91a(0x2f9)](this,arguments);}),_0x477841[_0x50a11c(0x22a)][_0x50a11c(0x30b)]=_0x477841,_0x477841[_0x50a11c(0x3a8)]=this,_0x477841;},'create':function(){var _0x35eda4=_0xb5db,_0x397b81=this['extend']();return _0x397b81[_0x35eda4(0x22a)]['apply'](_0x397b81,arguments),_0x397b81;},'init':function(){},'mixIn':function(_0x9d9e75){var _0x22083f=_0xb5db;for(var _0xcb243a in _0x9d9e75)_0x9d9e75['hasOwnProperty'](_0xcb243a)&&(this[_0xcb243a]=_0x9d9e75[_0xcb243a]);_0x9d9e75[_0x22083f(0x1fd)]('toString')&&(this[_0x22083f(0x428)]=_0x9d9e75['toString']);},'clone':function(){var _0x15ea04=_0xb5db;return this[_0x15ea04(0x22a)][_0x15ea04(0x30b)][_0x15ea04(0x38c)](this);}};}()),_0x29fd34=_0x5d3feb['WordArray']=_0x2e9a36[_0x4ac384(0x38c)]({'init':function(_0x40ceee,_0x5f5adf){var _0x462dd1=_0x4ac384;_0x40ceee=this[_0x462dd1(0x294)]=_0x40ceee||[],_0x5f5adf!=_0x2e5a87?this[_0x462dd1(0x466)]=_0x5f5adf:this[_0x462dd1(0x466)]=_0x40ceee[_0x462dd1(0x418)]*0x4;},'toString':function(_0x3313dc){var _0x1e9e44=_0x4ac384;return(_0x3313dc||_0x2a9fe2)[_0x1e9e44(0x2ad)](this);},'concat':function(_0x4b94f4){var _0x29a9a7=_0x4ac384,_0x2b2031=this[_0x29a9a7(0x294)],_0x5da6e2=_0x4b94f4[_0x29a9a7(0x294)],_0x9e35ff=this[_0x29a9a7(0x466)],_0x50ad68=_0x4b94f4[_0x29a9a7(0x466)];if(this[_0x29a9a7(0x310)](),_0x9e35ff%0x4)for(var _0x1a5496=0x0;_0x1a5496<_0x50ad68;_0x1a5496++){var _0x20a406=_0x5da6e2[_0x1a5496>>>0x2]>>>0x18-_0x1a5496%0x4*0x8&0xff;_0x2b2031[_0x9e35ff+_0x1a5496>>>0x2]|=_0x20a406<<0x18-(_0x9e35ff+_0x1a5496)%0x4*0x8;}else{for(var _0xf7073b=0x0;_0xf7073b<_0x50ad68;_0xf7073b+=0x4)_0x2b2031[_0x9e35ff+_0xf7073b>>>0x2]=_0x5da6e2[_0xf7073b>>>0x2];}return this[_0x29a9a7(0x466)]+=_0x50ad68,this;},'clamp':function(){var _0xa36154=_0x4ac384,_0xd06634=this[_0xa36154(0x294)],_0x8f2130=this['sigBytes'];_0xd06634[_0x8f2130>>>0x2]&=0xffffffff<<0x20-_0x8f2130%0x4*0x8,_0xd06634[_0xa36154(0x418)]=_0x40a960[_0xa36154(0x36d)](_0x8f2130/0x4);},'clone':function(){var _0x5c97e1=_0x4ac384,_0x34aa20=_0x2e9a36[_0x5c97e1(0x489)][_0x5c97e1(0x1c3)](this);return _0x34aa20[_0x5c97e1(0x294)]=this[_0x5c97e1(0x294)][_0x5c97e1(0x218)](0x0),_0x34aa20;},'random':function(_0x4b69dd){var _0x3254eb=_0x4ac384;for(var _0x51426c=[],_0xe004d=0x0;_0xe004d<_0x4b69dd;_0xe004d+=0x4)_0x51426c[_0x3254eb(0x1e1)](_0x30d339());return new _0x29fd34[(_0x3254eb(0x22a))](_0x51426c,_0x4b69dd);}}),_0x21446c=_0x50cd2d[_0x4ac384(0x30c)]={},_0x2a9fe2=_0x21446c[_0x4ac384(0x349)]={'stringify':function(_0x1ecd5f){var _0x463418=_0x4ac384;for(var _0x43f824=_0x1ecd5f['words'],_0x1fa5cb=_0x1ecd5f[_0x463418(0x466)],_0x452cc2=[],_0x28fb30=0x0;_0x28fb30<_0x1fa5cb;_0x28fb30++){var _0x4e0014=_0x43f824[_0x28fb30>>>0x2]>>>0x18-_0x28fb30%0x4*0x8&0xff;_0x452cc2[_0x463418(0x1e1)]((_0x4e0014>>>0x4)[_0x463418(0x428)](0x10)),_0x452cc2[_0x463418(0x1e1)]((_0x4e0014&0xf)[_0x463418(0x428)](0x10));}return _0x452cc2[_0x463418(0x49e)]('');},'parse':function(_0x4daf3c){var _0xd28756=_0x4ac384;for(var _0x130b6b=_0x4daf3c[_0xd28756(0x418)],_0x31cc59=[],_0x254449=0x0;_0x254449<_0x130b6b;_0x254449+=0x2)_0x31cc59[_0x254449>>>0x3]|=parseInt(_0x4daf3c[_0xd28756(0x2cd)](_0x254449,0x2),0x10)<<0x18-_0x254449%0x8*0x4;return new _0x29fd34[(_0xd28756(0x22a))](_0x31cc59,_0x130b6b/0x2);}},_0x460eec=_0x21446c[_0x4ac384(0x25d)]={'stringify':function(_0x4eb6f9){var _0x4dd1a0=_0x4ac384;for(var _0x16c725=_0x4eb6f9[_0x4dd1a0(0x294)],_0x442101=_0x4eb6f9['sigBytes'],_0x672eaa=[],_0x174091=0x0;_0x174091<_0x442101;_0x174091++){var _0x4d7bec=_0x16c725[_0x174091>>>0x2]>>>0x18-_0x174091%0x4*0x8&0xff;_0x672eaa[_0x4dd1a0(0x1e1)](String[_0x4dd1a0(0x324)](_0x4d7bec));}return _0x672eaa[_0x4dd1a0(0x49e)]('');},'parse':function(_0x5667d8){var _0x277fd5=_0x4ac384;for(var _0x4847d1=_0x5667d8[_0x277fd5(0x418)],_0x5d0ca4=[],_0xd7256=0x0;_0xd7256<_0x4847d1;_0xd7256++)_0x5d0ca4[_0xd7256>>>0x2]|=(_0x5667d8[_0x277fd5(0x29e)](_0xd7256)&0xff)<<0x18-_0xd7256%0x4*0x8;return new _0x29fd34[(_0x277fd5(0x22a))](_0x5d0ca4,_0x4847d1);}},_0xa38817=_0x21446c[_0x4ac384(0x37f)]={'stringify':function(_0x3300fc){var _0x45490d=_0x4ac384;try{return decodeURIComponent(escape(_0x460eec[_0x45490d(0x2ad)](_0x3300fc)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x407950){var _0x54bff2=_0x4ac384;return _0x460eec[_0x54bff2(0x2a3)](unescape(encodeURIComponent(_0x407950)));}},_0x14c1e7=_0x5d3feb[_0x4ac384(0x4a6)]=_0x2e9a36[_0x4ac384(0x38c)]({'reset':function(){var _0x22b3f3=_0x4ac384;this['_data']=new _0x29fd34[(_0x22b3f3(0x22a))](),this['_nDataBytes']=0x0;},'_append':function(_0x15881c){var _0x3ef1d7=_0x4ac384;typeof _0x15881c==_0x3ef1d7(0x3b0)&&(_0x15881c=_0xa38817[_0x3ef1d7(0x2a3)](_0x15881c)),this[_0x3ef1d7(0x483)][_0x3ef1d7(0x33e)](_0x15881c),this[_0x3ef1d7(0x36f)]+=_0x15881c[_0x3ef1d7(0x466)];},'_process':function(_0x3445bb){var _0xf7bd0=_0x4ac384,_0x46aec0,_0x3ea377=this[_0xf7bd0(0x483)],_0x2c0187=_0x3ea377['words'],_0x356936=_0x3ea377[_0xf7bd0(0x466)],_0xf0b918=this['blockSize'],_0x587160=_0xf0b918*0x4,_0x2451cf=_0x356936/_0x587160;_0x3445bb?_0x2451cf=_0x40a960[_0xf7bd0(0x36d)](_0x2451cf):_0x2451cf=_0x40a960[_0xf7bd0(0x379)]((_0x2451cf|0x0)-this[_0xf7bd0(0x247)],0x0);var _0x2122b7=_0x2451cf*_0xf0b918,_0xfa0e42=_0x40a960[_0xf7bd0(0x450)](_0x2122b7*0x4,_0x356936);if(_0x2122b7){for(var _0xf6bffb=0x0;_0xf6bffb<_0x2122b7;_0xf6bffb+=_0xf0b918)this[_0xf7bd0(0x1a6)](_0x2c0187,_0xf6bffb);_0x46aec0=_0x2c0187[_0xf7bd0(0x431)](0x0,_0x2122b7),_0x3ea377[_0xf7bd0(0x466)]-=_0xfa0e42;}return new _0x29fd34[(_0xf7bd0(0x22a))](_0x46aec0,_0xfa0e42);},'clone':function(){var _0x581bd8=_0x4ac384,_0x11643a=_0x2e9a36[_0x581bd8(0x489)][_0x581bd8(0x1c3)](this);return _0x11643a[_0x581bd8(0x483)]=this[_0x581bd8(0x483)][_0x581bd8(0x489)](),_0x11643a;},'_minBufferSize':0x0});_0x5d3feb[_0x4ac384(0x3d0)]=_0x14c1e7[_0x4ac384(0x38c)]({'cfg':_0x2e9a36['extend'](),'init':function(_0x2f5465){var _0x4de7f5=_0x4ac384;this[_0x4de7f5(0x255)]=this[_0x4de7f5(0x255)][_0x4de7f5(0x38c)](_0x2f5465),this[_0x4de7f5(0x3bb)]();},'reset':function(){var _0x1a922a=_0x4ac384;_0x14c1e7[_0x1a922a(0x3bb)]['call'](this),this['_doReset']();},'update':function(_0x434dad){var _0x2b15c0=_0x4ac384;return this['_append'](_0x434dad),this[_0x2b15c0(0x334)](),this;},'finalize':function(_0x361a1a){var _0x19317a=_0x4ac384;_0x361a1a&&this['_append'](_0x361a1a);var _0x5f2458=this[_0x19317a(0x45d)]();return _0x5f2458;},'blockSize':0x10,'_createHelper':function(_0x34d8cd){return function(_0x1f31f5,_0x430628){var _0x49531a=_0xb5db;return new _0x34d8cd[(_0x49531a(0x22a))](_0x430628)[_0x49531a(0x213)](_0x1f31f5);};},'_createHmacHelper':function(_0x373feb){return function(_0x5795c2,_0x48a4b9){var _0x20f824=_0xb5db;return new _0x202d94[(_0x20f824(0x3e0))][(_0x20f824(0x22a))](_0x373feb,_0x48a4b9)[_0x20f824(0x213)](_0x5795c2);};}});var _0x202d94=_0x50cd2d['algo']={};return _0x50cd2d;}(Math);return _0x515d3b;}));}(We)),We['exports'];}var Ge={'exports':{}},hn=Ge[_0x5c5167(0x442)],zt;function Ri(){return zt||(zt=0x1,function(_0x5254d9,_0x379978){(function(_0x4055cc,_0x1fc33e){var _0x338919=_0xb5db;_0x5254d9[_0x338919(0x442)]=_0x1fc33e(te());}(hn,function(_0x543224){var _0x2cca88=_0xb5db;return(function(){var _0x4824e0=_0xb5db,_0x187fbe=_0x543224,_0x404d1c=_0x187fbe[_0x4824e0(0x269)],_0x1b8ba8=_0x404d1c['WordArray'],_0x9828b7=_0x187fbe[_0x4824e0(0x30c)];_0x9828b7[_0x4824e0(0x340)]={'stringify':function(_0x301d7b){var _0x41f37b=_0x4824e0,_0x317fa5=_0x301d7b['words'],_0x428472=_0x301d7b[_0x41f37b(0x466)],_0x6dd413=this['_map'];_0x301d7b[_0x41f37b(0x310)]();for(var _0xe89e22=[],_0x44b526=0x0;_0x44b526<_0x428472;_0x44b526+=0x3)for(var _0x4bfb02=_0x317fa5[_0x44b526>>>0x2]>>>0x18-_0x44b526%0x4*0x8&0xff,_0x4b3c0d=_0x317fa5[_0x44b526+0x1>>>0x2]>>>0x18-(_0x44b526+0x1)%0x4*0x8&0xff,_0x15c36f=_0x317fa5[_0x44b526+0x2>>>0x2]>>>0x18-(_0x44b526+0x2)%0x4*0x8&0xff,_0x5c6d6b=_0x4bfb02<<0x10|_0x4b3c0d<<0x8|_0x15c36f,_0x47d008=0x0;_0x47d008<0x4&&_0x44b526+_0x47d008*0.75<_0x428472;_0x47d008++)_0xe89e22['push'](_0x6dd413[_0x41f37b(0x3fd)](_0x5c6d6b>>>0x6*(0x3-_0x47d008)&0x3f));var _0xecaa24=_0x6dd413[_0x41f37b(0x3fd)](0x40);if(_0xecaa24){for(;_0xe89e22['length']%0x4;)_0xe89e22['push'](_0xecaa24);}return _0xe89e22[_0x41f37b(0x49e)]('');},'parse':function(_0x4bb112){var _0x21df31=_0x4824e0,_0x458a03=_0x4bb112[_0x21df31(0x418)],_0x165b26=this[_0x21df31(0x4a4)],_0xba8599=this['_reverseMap'];if(!_0xba8599){_0xba8599=this[_0x21df31(0x43f)]=[];for(var _0x277215=0x0;_0x277215<_0x165b26[_0x21df31(0x418)];_0x277215++)_0xba8599[_0x165b26['charCodeAt'](_0x277215)]=_0x277215;}var _0x850fd9=_0x165b26[_0x21df31(0x3fd)](0x40);if(_0x850fd9){var _0x1ed941=_0x4bb112[_0x21df31(0x34e)](_0x850fd9);_0x1ed941!==-0x1&&(_0x458a03=_0x1ed941);}return _0x4cd7ea(_0x4bb112,_0x458a03,_0xba8599);},'_map':_0x4824e0(0x3fa)};function _0x4cd7ea(_0x4d8301,_0x46b29e,_0x5a609a){var _0x258809=_0x4824e0;for(var _0x29f0ed=[],_0x262156=0x0,_0x3b1f72=0x0;_0x3b1f72<_0x46b29e;_0x3b1f72++)if(_0x3b1f72%0x4){var _0x4b7dda=_0x5a609a[_0x4d8301['charCodeAt'](_0x3b1f72-0x1)]<<_0x3b1f72%0x4*0x2,_0x5a6385=_0x5a609a[_0x4d8301[_0x258809(0x29e)](_0x3b1f72)]>>>0x6-_0x3b1f72%0x4*0x2,_0x44277d=_0x4b7dda|_0x5a6385;_0x29f0ed[_0x262156>>>0x2]|=_0x44277d<<0x18-_0x262156%0x4*0x8,_0x262156++;}return _0x1b8ba8[_0x258809(0x1ff)](_0x29f0ed,_0x262156);}}()),_0x543224[_0x2cca88(0x30c)][_0x2cca88(0x340)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0x5c5167(0x442)],Jt;function ln(){var _0x2ab3ba=_0x5c5167;return Jt||(Jt=0x1,function(_0x2bba00,_0x55b056){(function(_0x196b71,_0x421962){var _0x2c96f5=_0xb5db;_0x2bba00[_0x2c96f5(0x442)]=_0x421962(te());}(_n,function(_0xc779d){var _0x205a18=_0xb5db;return function(_0x3508ab){var _0x12de43=_0xb5db,_0x5406da=_0xc779d,_0x30cbc0=_0x5406da[_0x12de43(0x269)],_0x13cad9=_0x30cbc0[_0x12de43(0x252)],_0xbd872d=_0x30cbc0[_0x12de43(0x3d0)],_0x2389ad=_0x5406da[_0x12de43(0x39e)],_0x4b2990=[];(function(){var _0x3deb7c=_0x12de43;for(var _0x3a27fc=0x0;_0x3a27fc<0x40;_0x3a27fc++)_0x4b2990[_0x3a27fc]=_0x3508ab[_0x3deb7c(0x38b)](_0x3508ab[_0x3deb7c(0x4a2)](_0x3a27fc+0x1))*0x100000000|0x0;}());var _0x2a42a8=_0x2389ad['MD5']=_0xbd872d[_0x12de43(0x38c)]({'_doReset':function(){var _0x311468=_0x12de43;this[_0x311468(0x3d7)]=new _0x13cad9[(_0x311468(0x22a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x397e6b,_0x4b9921){var _0x5cd037=_0x12de43;for(var _0x415de8=0x0;_0x415de8<0x10;_0x415de8++){var _0x5bf1d8=_0x4b9921+_0x415de8,_0x4664c2=_0x397e6b[_0x5bf1d8];_0x397e6b[_0x5bf1d8]=(_0x4664c2<<0x8|_0x4664c2>>>0x18)&0xff00ff|(_0x4664c2<<0x18|_0x4664c2>>>0x8)&0xff00ff00;}var _0x1fdd0d=this['_hash'][_0x5cd037(0x294)],_0x32fbb8=_0x397e6b[_0x4b9921+0x0],_0x162e54=_0x397e6b[_0x4b9921+0x1],_0x36c60b=_0x397e6b[_0x4b9921+0x2],_0x5d75a1=_0x397e6b[_0x4b9921+0x3],_0x4325ad=_0x397e6b[_0x4b9921+0x4],_0x45f9e8=_0x397e6b[_0x4b9921+0x5],_0x1cc827=_0x397e6b[_0x4b9921+0x6],_0xa7b701=_0x397e6b[_0x4b9921+0x7],_0x3b0bf3=_0x397e6b[_0x4b9921+0x8],_0x338d6d=_0x397e6b[_0x4b9921+0x9],_0x35a86c=_0x397e6b[_0x4b9921+0xa],_0x29a60f=_0x397e6b[_0x4b9921+0xb],_0x1018cf=_0x397e6b[_0x4b9921+0xc],_0xc6b4fc=_0x397e6b[_0x4b9921+0xd],_0x5e1e34=_0x397e6b[_0x4b9921+0xe],_0x4da8b9=_0x397e6b[_0x4b9921+0xf],_0x5d6875=_0x1fdd0d[0x0],_0x3d0190=_0x1fdd0d[0x1],_0x453178=_0x1fdd0d[0x2],_0x56f19e=_0x1fdd0d[0x3];_0x5d6875=_0x2f3f3e(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x32fbb8,0x7,_0x4b2990[0x0]),_0x56f19e=_0x2f3f3e(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x162e54,0xc,_0x4b2990[0x1]),_0x453178=_0x2f3f3e(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x36c60b,0x11,_0x4b2990[0x2]),_0x3d0190=_0x2f3f3e(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x5d75a1,0x16,_0x4b2990[0x3]),_0x5d6875=_0x2f3f3e(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x4325ad,0x7,_0x4b2990[0x4]),_0x56f19e=_0x2f3f3e(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x45f9e8,0xc,_0x4b2990[0x5]),_0x453178=_0x2f3f3e(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x1cc827,0x11,_0x4b2990[0x6]),_0x3d0190=_0x2f3f3e(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0xa7b701,0x16,_0x4b2990[0x7]),_0x5d6875=_0x2f3f3e(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x3b0bf3,0x7,_0x4b2990[0x8]),_0x56f19e=_0x2f3f3e(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x338d6d,0xc,_0x4b2990[0x9]),_0x453178=_0x2f3f3e(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x35a86c,0x11,_0x4b2990[0xa]),_0x3d0190=_0x2f3f3e(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x29a60f,0x16,_0x4b2990[0xb]),_0x5d6875=_0x2f3f3e(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x1018cf,0x7,_0x4b2990[0xc]),_0x56f19e=_0x2f3f3e(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0xc6b4fc,0xc,_0x4b2990[0xd]),_0x453178=_0x2f3f3e(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x5e1e34,0x11,_0x4b2990[0xe]),_0x3d0190=_0x2f3f3e(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x4da8b9,0x16,_0x4b2990[0xf]),_0x5d6875=_0x44fd3c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x162e54,0x5,_0x4b2990[0x10]),_0x56f19e=_0x44fd3c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x1cc827,0x9,_0x4b2990[0x11]),_0x453178=_0x44fd3c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x29a60f,0xe,_0x4b2990[0x12]),_0x3d0190=_0x44fd3c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x32fbb8,0x14,_0x4b2990[0x13]),_0x5d6875=_0x44fd3c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x45f9e8,0x5,_0x4b2990[0x14]),_0x56f19e=_0x44fd3c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x35a86c,0x9,_0x4b2990[0x15]),_0x453178=_0x44fd3c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x4da8b9,0xe,_0x4b2990[0x16]),_0x3d0190=_0x44fd3c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x4325ad,0x14,_0x4b2990[0x17]),_0x5d6875=_0x44fd3c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x338d6d,0x5,_0x4b2990[0x18]),_0x56f19e=_0x44fd3c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x5e1e34,0x9,_0x4b2990[0x19]),_0x453178=_0x44fd3c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x5d75a1,0xe,_0x4b2990[0x1a]),_0x3d0190=_0x44fd3c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x3b0bf3,0x14,_0x4b2990[0x1b]),_0x5d6875=_0x44fd3c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0xc6b4fc,0x5,_0x4b2990[0x1c]),_0x56f19e=_0x44fd3c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x36c60b,0x9,_0x4b2990[0x1d]),_0x453178=_0x44fd3c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0xa7b701,0xe,_0x4b2990[0x1e]),_0x3d0190=_0x44fd3c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x1018cf,0x14,_0x4b2990[0x1f]),_0x5d6875=_0x41adb9(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x45f9e8,0x4,_0x4b2990[0x20]),_0x56f19e=_0x41adb9(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x3b0bf3,0xb,_0x4b2990[0x21]),_0x453178=_0x41adb9(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x29a60f,0x10,_0x4b2990[0x22]),_0x3d0190=_0x41adb9(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x5e1e34,0x17,_0x4b2990[0x23]),_0x5d6875=_0x41adb9(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x162e54,0x4,_0x4b2990[0x24]),_0x56f19e=_0x41adb9(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x4325ad,0xb,_0x4b2990[0x25]),_0x453178=_0x41adb9(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0xa7b701,0x10,_0x4b2990[0x26]),_0x3d0190=_0x41adb9(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x35a86c,0x17,_0x4b2990[0x27]),_0x5d6875=_0x41adb9(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0xc6b4fc,0x4,_0x4b2990[0x28]),_0x56f19e=_0x41adb9(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x32fbb8,0xb,_0x4b2990[0x29]),_0x453178=_0x41adb9(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x5d75a1,0x10,_0x4b2990[0x2a]),_0x3d0190=_0x41adb9(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x1cc827,0x17,_0x4b2990[0x2b]),_0x5d6875=_0x41adb9(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x338d6d,0x4,_0x4b2990[0x2c]),_0x56f19e=_0x41adb9(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x1018cf,0xb,_0x4b2990[0x2d]),_0x453178=_0x41adb9(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x4da8b9,0x10,_0x4b2990[0x2e]),_0x3d0190=_0x41adb9(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x36c60b,0x17,_0x4b2990[0x2f]),_0x5d6875=_0x33250c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x32fbb8,0x6,_0x4b2990[0x30]),_0x56f19e=_0x33250c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0xa7b701,0xa,_0x4b2990[0x31]),_0x453178=_0x33250c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x5e1e34,0xf,_0x4b2990[0x32]),_0x3d0190=_0x33250c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x45f9e8,0x15,_0x4b2990[0x33]),_0x5d6875=_0x33250c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x1018cf,0x6,_0x4b2990[0x34]),_0x56f19e=_0x33250c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x5d75a1,0xa,_0x4b2990[0x35]),_0x453178=_0x33250c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x35a86c,0xf,_0x4b2990[0x36]),_0x3d0190=_0x33250c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x162e54,0x15,_0x4b2990[0x37]),_0x5d6875=_0x33250c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x3b0bf3,0x6,_0x4b2990[0x38]),_0x56f19e=_0x33250c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x4da8b9,0xa,_0x4b2990[0x39]),_0x453178=_0x33250c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x1cc827,0xf,_0x4b2990[0x3a]),_0x3d0190=_0x33250c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0xc6b4fc,0x15,_0x4b2990[0x3b]),_0x5d6875=_0x33250c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x4325ad,0x6,_0x4b2990[0x3c]),_0x56f19e=_0x33250c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x29a60f,0xa,_0x4b2990[0x3d]),_0x453178=_0x33250c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x36c60b,0xf,_0x4b2990[0x3e]),_0x3d0190=_0x33250c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x338d6d,0x15,_0x4b2990[0x3f]),_0x1fdd0d[0x0]=_0x1fdd0d[0x0]+_0x5d6875|0x0,_0x1fdd0d[0x1]=_0x1fdd0d[0x1]+_0x3d0190|0x0,_0x1fdd0d[0x2]=_0x1fdd0d[0x2]+_0x453178|0x0,_0x1fdd0d[0x3]=_0x1fdd0d[0x3]+_0x56f19e|0x0;},'_doFinalize':function(){var _0x17eaef=_0x12de43,_0x5b72c9=this['_data'],_0x4e66d5=_0x5b72c9['words'],_0x3877ad=this[_0x17eaef(0x36f)]*0x8,_0x267469=_0x5b72c9[_0x17eaef(0x466)]*0x8;_0x4e66d5[_0x267469>>>0x5]|=0x80<<0x18-_0x267469%0x20;var _0x2e9557=_0x3508ab['floor'](_0x3877ad/0x100000000),_0x23006e=_0x3877ad;_0x4e66d5[(_0x267469+0x40>>>0x9<<0x4)+0xf]=(_0x2e9557<<0x8|_0x2e9557>>>0x18)&0xff00ff|(_0x2e9557<<0x18|_0x2e9557>>>0x8)&0xff00ff00,_0x4e66d5[(_0x267469+0x40>>>0x9<<0x4)+0xe]=(_0x23006e<<0x8|_0x23006e>>>0x18)&0xff00ff|(_0x23006e<<0x18|_0x23006e>>>0x8)&0xff00ff00,_0x5b72c9[_0x17eaef(0x466)]=(_0x4e66d5['length']+0x1)*0x4,this['_process']();for(var _0x30ee28=this[_0x17eaef(0x3d7)],_0x454bf9=_0x30ee28[_0x17eaef(0x294)],_0x271735=0x0;_0x271735<0x4;_0x271735++){var _0x4f0e26=_0x454bf9[_0x271735];_0x454bf9[_0x271735]=(_0x4f0e26<<0x8|_0x4f0e26>>>0x18)&0xff00ff|(_0x4f0e26<<0x18|_0x4f0e26>>>0x8)&0xff00ff00;}return _0x30ee28;},'clone':function(){var _0x13428a=_0x12de43,_0x5e8ae9=_0xbd872d[_0x13428a(0x489)][_0x13428a(0x1c3)](this);return _0x5e8ae9[_0x13428a(0x3d7)]=this[_0x13428a(0x3d7)][_0x13428a(0x489)](),_0x5e8ae9;}});function _0x2f3f3e(_0x4cacf1,_0x2ec10e,_0x1485c2,_0x58e4a8,_0xbb147f,_0x22bf53,_0x3d33d2){var _0x2ccb39=_0x4cacf1+(_0x2ec10e&_0x1485c2|~_0x2ec10e&_0x58e4a8)+_0xbb147f+_0x3d33d2;return(_0x2ccb39<<_0x22bf53|_0x2ccb39>>>0x20-_0x22bf53)+_0x2ec10e;}function _0x44fd3c(_0x150489,_0x3b1727,_0x3a03db,_0x48c66e,_0x29905b,_0x44fd5a,_0x2028ab){var _0x375a56=_0x150489+(_0x3b1727&_0x48c66e|_0x3a03db&~_0x48c66e)+_0x29905b+_0x2028ab;return(_0x375a56<<_0x44fd5a|_0x375a56>>>0x20-_0x44fd5a)+_0x3b1727;}function _0x41adb9(_0x26c9bb,_0x45ce2f,_0x55afc0,_0x5fdfa9,_0x53a078,_0x6a935b,_0x5a9c95){var _0x1fa7dc=_0x26c9bb+(_0x45ce2f^_0x55afc0^_0x5fdfa9)+_0x53a078+_0x5a9c95;return(_0x1fa7dc<<_0x6a935b|_0x1fa7dc>>>0x20-_0x6a935b)+_0x45ce2f;}function _0x33250c(_0x1d59c9,_0x567676,_0x238d69,_0x445b0e,_0x2ba8b0,_0xb5665b,_0x26e82e){var _0x47d71b=_0x1d59c9+(_0x238d69^(_0x567676|~_0x445b0e))+_0x2ba8b0+_0x26e82e;return(_0x47d71b<<_0xb5665b|_0x47d71b>>>0x20-_0xb5665b)+_0x567676;}_0x5406da['MD5']=_0xbd872d[_0x12de43(0x42a)](_0x2a42a8),_0x5406da[_0x12de43(0x25a)]=_0xbd872d[_0x12de43(0x33c)](_0x2a42a8);}(Math),_0xc779d[_0x205a18(0x37a)];}));}(Ye)),Ye[_0x2ab3ba(0x442)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x5c5167(0x442)],Xt;function dn(){var _0x3b459f=_0x5c5167;return Xt||(Xt=0x1,function(_0x28e799,_0x193bf2){(function(_0x413f9b,_0x27c51){var _0x111f2c=_0xb5db;_0x28e799[_0x111f2c(0x442)]=_0x27c51(te());}(un,function(_0x5d2443){var _0x4b6927=_0xb5db;return(function(){var _0x87cfa3=_0xb5db,_0xec0a9b=_0x5d2443,_0x98a671=_0xec0a9b[_0x87cfa3(0x269)],_0x5ebc8c=_0x98a671[_0x87cfa3(0x252)],_0x80a8bb=_0x98a671[_0x87cfa3(0x3d0)],_0x40b7e6=_0xec0a9b[_0x87cfa3(0x39e)],_0x16b422=[],_0x37958c=_0x40b7e6[_0x87cfa3(0x2b9)]=_0x80a8bb[_0x87cfa3(0x38c)]({'_doReset':function(){var _0x102603=_0x87cfa3;this['_hash']=new _0x5ebc8c[(_0x102603(0x22a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x320c15,_0x41e202){for(var _0x43a734=this['_hash']['words'],_0x3e81d2=_0x43a734[0x0],_0x528ed2=_0x43a734[0x1],_0x473bff=_0x43a734[0x2],_0x4f17ce=_0x43a734[0x3],_0x8d6626=_0x43a734[0x4],_0x4b9344=0x0;_0x4b9344<0x50;_0x4b9344++){if(_0x4b9344<0x10)_0x16b422[_0x4b9344]=_0x320c15[_0x41e202+_0x4b9344]|0x0;else{var _0x3f96a1=_0x16b422[_0x4b9344-0x3]^_0x16b422[_0x4b9344-0x8]^_0x16b422[_0x4b9344-0xe]^_0x16b422[_0x4b9344-0x10];_0x16b422[_0x4b9344]=_0x3f96a1<<0x1|_0x3f96a1>>>0x1f;}var _0x15ba55=(_0x3e81d2<<0x5|_0x3e81d2>>>0x1b)+_0x8d6626+_0x16b422[_0x4b9344];_0x4b9344<0x14?_0x15ba55+=(_0x528ed2&_0x473bff|~_0x528ed2&_0x4f17ce)+0x5a827999:_0x4b9344<0x28?_0x15ba55+=(_0x528ed2^_0x473bff^_0x4f17ce)+0x6ed9eba1:_0x4b9344<0x3c?_0x15ba55+=(_0x528ed2&_0x473bff|_0x528ed2&_0x4f17ce|_0x473bff&_0x4f17ce)-0x70e44324:_0x15ba55+=(_0x528ed2^_0x473bff^_0x4f17ce)-0x359d3e2a,_0x8d6626=_0x4f17ce,_0x4f17ce=_0x473bff,_0x473bff=_0x528ed2<<0x1e|_0x528ed2>>>0x2,_0x528ed2=_0x3e81d2,_0x3e81d2=_0x15ba55;}_0x43a734[0x0]=_0x43a734[0x0]+_0x3e81d2|0x0,_0x43a734[0x1]=_0x43a734[0x1]+_0x528ed2|0x0,_0x43a734[0x2]=_0x43a734[0x2]+_0x473bff|0x0,_0x43a734[0x3]=_0x43a734[0x3]+_0x4f17ce|0x0,_0x43a734[0x4]=_0x43a734[0x4]+_0x8d6626|0x0;},'_doFinalize':function(){var _0x1e37b0=_0x87cfa3,_0x4245e2=this[_0x1e37b0(0x483)],_0x58b6e0=_0x4245e2[_0x1e37b0(0x294)],_0x1dbe36=this[_0x1e37b0(0x36f)]*0x8,_0xcdfea6=_0x4245e2[_0x1e37b0(0x466)]*0x8;return _0x58b6e0[_0xcdfea6>>>0x5]|=0x80<<0x18-_0xcdfea6%0x20,_0x58b6e0[(_0xcdfea6+0x40>>>0x9<<0x4)+0xe]=Math[_0x1e37b0(0x316)](_0x1dbe36/0x100000000),_0x58b6e0[(_0xcdfea6+0x40>>>0x9<<0x4)+0xf]=_0x1dbe36,_0x4245e2['sigBytes']=_0x58b6e0[_0x1e37b0(0x418)]*0x4,this[_0x1e37b0(0x334)](),this[_0x1e37b0(0x3d7)];},'clone':function(){var _0x1af30c=_0x87cfa3,_0x4a8ff9=_0x80a8bb[_0x1af30c(0x489)]['call'](this);return _0x4a8ff9[_0x1af30c(0x3d7)]=this[_0x1af30c(0x3d7)][_0x1af30c(0x489)](),_0x4a8ff9;}});_0xec0a9b[_0x87cfa3(0x2b9)]=_0x80a8bb['_createHelper'](_0x37958c),_0xec0a9b[_0x87cfa3(0x440)]=_0x80a8bb[_0x87cfa3(0x33c)](_0x37958c);}()),_0x5d2443[_0x4b6927(0x2b9)];}));}(qe)),qe[_0x3b459f(0x442)];}var ze={'exports':{}},fn=ze[_0x5c5167(0x442)],Zt;function vn(){var _0x50cd52=_0x5c5167;return Zt||(Zt=0x1,function(_0x312b3f,_0x3e9f95){(function(_0x52853e,_0x37c956){var _0x54990a=_0xb5db;_0x312b3f[_0x54990a(0x442)]=_0x37c956(te());}(fn,function(_0x26da98){(function(){var _0x3594fd=_0xb5db,_0x4dbc38=_0x26da98,_0x41d59e=_0x4dbc38[_0x3594fd(0x269)],_0x4c8a0a=_0x41d59e[_0x3594fd(0x2a1)],_0x4800b6=_0x4dbc38[_0x3594fd(0x30c)],_0x197ac3=_0x4800b6[_0x3594fd(0x37f)],_0x16ecab=_0x4dbc38['algo'];_0x16ecab['HMAC']=_0x4c8a0a[_0x3594fd(0x38c)]({'init':function(_0x347c79,_0x46b4db){var _0x589aae=_0x3594fd;_0x347c79=this[_0x589aae(0x3ac)]=new _0x347c79[(_0x589aae(0x22a))](),typeof _0x46b4db==_0x589aae(0x3b0)&&(_0x46b4db=_0x197ac3[_0x589aae(0x2a3)](_0x46b4db));var _0x46111e=_0x347c79['blockSize'],_0x498915=_0x46111e*0x4;_0x46b4db[_0x589aae(0x466)]>_0x498915&&(_0x46b4db=_0x347c79[_0x589aae(0x213)](_0x46b4db)),_0x46b4db['clamp']();for(var _0x2f68bb=this[_0x589aae(0x1e9)]=_0x46b4db['clone'](),_0x5aacc8=this[_0x589aae(0x1c7)]=_0x46b4db[_0x589aae(0x489)](),_0x43a165=_0x2f68bb[_0x589aae(0x294)],_0xcf06a9=_0x5aacc8[_0x589aae(0x294)],_0x5a805f=0x0;_0x5a805f<_0x46111e;_0x5a805f++)_0x43a165[_0x5a805f]^=0x5c5c5c5c,_0xcf06a9[_0x5a805f]^=0x36363636;_0x2f68bb[_0x589aae(0x466)]=_0x5aacc8[_0x589aae(0x466)]=_0x498915,this[_0x589aae(0x3bb)]();},'reset':function(){var _0x2a6ce9=_0x3594fd,_0x21aa6f=this[_0x2a6ce9(0x3ac)];_0x21aa6f['reset'](),_0x21aa6f[_0x2a6ce9(0x31c)](this[_0x2a6ce9(0x1c7)]);},'update':function(_0xaa82c5){var _0x59c00b=_0x3594fd;return this[_0x59c00b(0x3ac)][_0x59c00b(0x31c)](_0xaa82c5),this;},'finalize':function(_0x1c6318){var _0x478ede=_0x3594fd,_0x1bf902=this['_hasher'],_0x1d764e=_0x1bf902[_0x478ede(0x213)](_0x1c6318);_0x1bf902['reset']();var _0x5edc00=_0x1bf902[_0x478ede(0x213)](this[_0x478ede(0x1e9)]['clone']()[_0x478ede(0x33e)](_0x1d764e));return _0x5edc00;}});}());}));}(ze)),ze[_0x50cd52(0x442)];}var pn=Ke['exports'],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x4e28f2,_0x31af06){(function(_0x4e5206,_0x28ad75,_0x49ea76){var _0x33cfca=_0xb5db;_0x4e28f2[_0x33cfca(0x442)]=_0x28ad75(te(),dn(),vn());}(pn,function(_0x4642d8){var _0xa4f49b=_0xb5db;return(function(){var _0x3e5dfd=_0xb5db,_0xb0f642=_0x4642d8,_0x5069fd=_0xb0f642['lib'],_0x4c5cc2=_0x5069fd[_0x3e5dfd(0x2a1)],_0x69bf47=_0x5069fd[_0x3e5dfd(0x252)],_0x5cdbb4=_0xb0f642['algo'],_0x1785d9=_0x5cdbb4[_0x3e5dfd(0x37a)],_0x4935c5=_0x5cdbb4[_0x3e5dfd(0x258)]=_0x4c5cc2[_0x3e5dfd(0x38c)]({'cfg':_0x4c5cc2[_0x3e5dfd(0x38c)]({'keySize':0x80/0x20,'hasher':_0x1785d9,'iterations':0x1}),'init':function(_0x5a61a5){var _0x50f1b2=_0x3e5dfd;this['cfg']=this[_0x50f1b2(0x255)][_0x50f1b2(0x38c)](_0x5a61a5);},'compute':function(_0x34cdc4,_0x4b73f0){var _0x32a9e6=_0x3e5dfd;for(var _0x1d3e79,_0xe9038c=this[_0x32a9e6(0x255)],_0x5dffa4=_0xe9038c[_0x32a9e6(0x2dc)][_0x32a9e6(0x1ff)](),_0x3324d8=_0x69bf47[_0x32a9e6(0x1ff)](),_0x32fb90=_0x3324d8[_0x32a9e6(0x294)],_0x2bb7a1=_0xe9038c[_0x32a9e6(0x224)],_0x1904e2=_0xe9038c[_0x32a9e6(0x26d)];_0x32fb90['length']<_0x2bb7a1;){_0x1d3e79&&_0x5dffa4[_0x32a9e6(0x31c)](_0x1d3e79),_0x1d3e79=_0x5dffa4['update'](_0x34cdc4)['finalize'](_0x4b73f0),_0x5dffa4[_0x32a9e6(0x3bb)]();for(var _0x427ff8=0x1;_0x427ff8<_0x1904e2;_0x427ff8++)_0x1d3e79=_0x5dffa4[_0x32a9e6(0x213)](_0x1d3e79),_0x5dffa4['reset']();_0x3324d8[_0x32a9e6(0x33e)](_0x1d3e79);}return _0x3324d8[_0x32a9e6(0x466)]=_0x2bb7a1*0x4,_0x3324d8;}});_0xb0f642[_0x3e5dfd(0x258)]=function(_0x5abd4b,_0x5bc033,_0x3bd29e){return _0x4935c5['create'](_0x3bd29e)['compute'](_0x5abd4b,_0x5bc033);};}()),_0x4642d8[_0xa4f49b(0x258)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0x5c5167(0x442)],ei;function bi(){return ei||(ei=0x1,function(_0x1f3493,_0x5373c3){(function(_0x31fa16,_0x1937df,_0x56ea98){var _0x204244=_0xb5db;_0x1f3493[_0x204244(0x442)]=_0x1937df(te(),Oi());}(mn,function(_0x14c2ef){_0x14c2ef['lib']['Cipher']||function(_0x525748){var _0x2a0263=_0xb5db,_0x4a7970=_0x14c2ef,_0x247765=_0x4a7970[_0x2a0263(0x269)],_0x46a6d2=_0x247765[_0x2a0263(0x2a1)],_0x45cbfe=_0x247765['WordArray'],_0x213a77=_0x247765[_0x2a0263(0x4a6)],_0x4afb27=_0x4a7970[_0x2a0263(0x30c)];_0x4afb27[_0x2a0263(0x37f)];var _0x5ef29e=_0x4afb27[_0x2a0263(0x340)],_0x1806ae=_0x4a7970['algo'],_0x2d72a4=_0x1806ae[_0x2a0263(0x258)],_0x58d7e7=_0x247765['Cipher']=_0x213a77[_0x2a0263(0x38c)]({'cfg':_0x46a6d2[_0x2a0263(0x38c)](),'createEncryptor':function(_0x554484,_0x29b0de){var _0x4f8f8c=_0x2a0263;return this[_0x4f8f8c(0x1ff)](this[_0x4f8f8c(0x299)],_0x554484,_0x29b0de);},'createDecryptor':function(_0x385d0f,_0x2938a0){var _0x53442f=_0x2a0263;return this['create'](this[_0x53442f(0x362)],_0x385d0f,_0x2938a0);},'init':function(_0x4b463e,_0x378f0e,_0x966653){var _0x3adb4f=_0x2a0263;this[_0x3adb4f(0x255)]=this[_0x3adb4f(0x255)]['extend'](_0x966653),this['_xformMode']=_0x4b463e,this[_0x3adb4f(0x49f)]=_0x378f0e,this[_0x3adb4f(0x3bb)]();},'reset':function(){var _0x273df3=_0x2a0263;_0x213a77[_0x273df3(0x3bb)][_0x273df3(0x1c3)](this),this[_0x273df3(0x307)]();},'process':function(_0x37c2a7){var _0xbe2643=_0x2a0263;return this[_0xbe2643(0x487)](_0x37c2a7),this[_0xbe2643(0x334)]();},'finalize':function(_0x31fd32){var _0x547b93=_0x2a0263;_0x31fd32&&this[_0x547b93(0x487)](_0x31fd32);var _0x475d2e=this['_doFinalize']();return _0x475d2e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2232f1(_0x2ee9a8){return typeof _0x2ee9a8=='string'?_0x52a1e5:_0x4f7f94;}return function(_0x2bf67f){return{'encrypt':function(_0x2cc709,_0x265b04,_0x3dc3cd){return _0x2232f1(_0x265b04)['encrypt'](_0x2bf67f,_0x2cc709,_0x265b04,_0x3dc3cd);},'decrypt':function(_0x5af03e,_0x3bb1fd,_0x505f65){var _0x3c3bad=_0xb5db;return _0x2232f1(_0x3bb1fd)[_0x3c3bad(0x2f6)](_0x2bf67f,_0x5af03e,_0x3bb1fd,_0x505f65);}};};}())});_0x247765[_0x2a0263(0x1d0)]=_0x58d7e7['extend']({'_doFinalize':function(){var _0x20a1da=_0x2a0263,_0x31201b=this[_0x20a1da(0x334)](!0x0);return _0x31201b;},'blockSize':0x1});var _0xf57a00=_0x4a7970[_0x2a0263(0x2cf)]={},_0x31609c=_0x247765['BlockCipherMode']=_0x46a6d2[_0x2a0263(0x38c)]({'createEncryptor':function(_0x5df3f7,_0x39f1e2){var _0xc18caa=_0x2a0263;return this[_0xc18caa(0x318)][_0xc18caa(0x1ff)](_0x5df3f7,_0x39f1e2);},'createDecryptor':function(_0x455b39,_0x4d8a31){var _0x4fa61b=_0x2a0263;return this['Decryptor'][_0x4fa61b(0x1ff)](_0x455b39,_0x4d8a31);},'init':function(_0x181ada,_0x19f640){var _0x50c52e=_0x2a0263;this[_0x50c52e(0x458)]=_0x181ada,this[_0x50c52e(0x3f1)]=_0x19f640;}}),_0x547948=_0xf57a00[_0x2a0263(0x2ab)]=(function(){var _0x3d150b=_0x2a0263,_0x2b530f=_0x31609c[_0x3d150b(0x38c)]();_0x2b530f['Encryptor']=_0x2b530f['extend']({'processBlock':function(_0xb880c8,_0x4ec04f){var _0x369106=_0x3d150b,_0x3a7e47=this[_0x369106(0x458)],_0x2efedd=_0x3a7e47[_0x369106(0x25e)];_0x273780[_0x369106(0x1c3)](this,_0xb880c8,_0x4ec04f,_0x2efedd),_0x3a7e47[_0x369106(0x2bc)](_0xb880c8,_0x4ec04f),this['_prevBlock']=_0xb880c8['slice'](_0x4ec04f,_0x4ec04f+_0x2efedd);}}),_0x2b530f[_0x3d150b(0x3e7)]=_0x2b530f[_0x3d150b(0x38c)]({'processBlock':function(_0x1c43a9,_0x542d6f){var _0x472ffd=_0x3d150b,_0x485335=this[_0x472ffd(0x458)],_0xfe4928=_0x485335[_0x472ffd(0x25e)],_0x8c80c2=_0x1c43a9[_0x472ffd(0x218)](_0x542d6f,_0x542d6f+_0xfe4928);_0x485335[_0x472ffd(0x344)](_0x1c43a9,_0x542d6f),_0x273780[_0x472ffd(0x1c3)](this,_0x1c43a9,_0x542d6f,_0xfe4928),this[_0x472ffd(0x454)]=_0x8c80c2;}});function _0x273780(_0x532611,_0x342445,_0xea8a0a){var _0x3df753=_0x3d150b,_0x566849,_0x5f2627=this['_iv'];_0x5f2627?(_0x566849=_0x5f2627,this[_0x3df753(0x3f1)]=_0x525748):_0x566849=this['_prevBlock'];for(var _0x40f51a=0x0;_0x40f51a<_0xea8a0a;_0x40f51a++)_0x532611[_0x342445+_0x40f51a]^=_0x566849[_0x40f51a];}return _0x2b530f;}()),_0x21f561=_0x4a7970[_0x2a0263(0x212)]={},_0x57345d=_0x21f561['Pkcs7']={'pad':function(_0x32f211,_0x3d17a2){var _0xe22e79=_0x2a0263;for(var _0x3c9e06=_0x3d17a2*0x4,_0x15733a=_0x3c9e06-_0x32f211['sigBytes']%_0x3c9e06,_0x5163e3=_0x15733a<<0x18|_0x15733a<<0x10|_0x15733a<<0x8|_0x15733a,_0x306acc=[],_0x297fb0=0x0;_0x297fb0<_0x15733a;_0x297fb0+=0x4)_0x306acc[_0xe22e79(0x1e1)](_0x5163e3);var _0x14b267=_0x45cbfe[_0xe22e79(0x1ff)](_0x306acc,_0x15733a);_0x32f211['concat'](_0x14b267);},'unpad':function(_0x48de12){var _0x4148c0=_0x2a0263,_0x354614=_0x48de12[_0x4148c0(0x294)][_0x48de12[_0x4148c0(0x466)]-0x1>>>0x2]&0xff;_0x48de12[_0x4148c0(0x466)]-=_0x354614;}};_0x247765[_0x2a0263(0x335)]=_0x58d7e7['extend']({'cfg':_0x58d7e7[_0x2a0263(0x255)][_0x2a0263(0x38c)]({'mode':_0x547948,'padding':_0x57345d}),'reset':function(){var _0x4f4ccc=_0x2a0263,_0x5b5987;_0x58d7e7[_0x4f4ccc(0x3bb)]['call'](this);var _0x4b51b3=this[_0x4f4ccc(0x255)],_0x2aa68f=_0x4b51b3['iv'],_0x4122c5=_0x4b51b3['mode'];this[_0x4f4ccc(0x261)]==this[_0x4f4ccc(0x299)]?_0x5b5987=_0x4122c5['createEncryptor']:(_0x5b5987=_0x4122c5[_0x4f4ccc(0x239)],this[_0x4f4ccc(0x247)]=0x1),this[_0x4f4ccc(0x34d)]&&this[_0x4f4ccc(0x34d)][_0x4f4ccc(0x345)]==_0x5b5987?this[_0x4f4ccc(0x34d)][_0x4f4ccc(0x22a)](this,_0x2aa68f&&_0x2aa68f[_0x4f4ccc(0x294)]):(this[_0x4f4ccc(0x34d)]=_0x5b5987[_0x4f4ccc(0x1c3)](_0x4122c5,this,_0x2aa68f&&_0x2aa68f['words']),this['_mode'][_0x4f4ccc(0x345)]=_0x5b5987);},'_doProcessBlock':function(_0x3c34e2,_0x4d2935){var _0x279d23=_0x2a0263;this[_0x279d23(0x34d)][_0x279d23(0x208)](_0x3c34e2,_0x4d2935);},'_doFinalize':function(){var _0x2fb795=_0x2a0263,_0x1d4422,_0x56cf64=this[_0x2fb795(0x255)][_0x2fb795(0x319)];return this['_xformMode']==this[_0x2fb795(0x299)]?(_0x56cf64[_0x2fb795(0x212)](this['_data'],this[_0x2fb795(0x25e)]),_0x1d4422=this[_0x2fb795(0x334)](!0x0)):(_0x1d4422=this[_0x2fb795(0x334)](!0x0),_0x56cf64[_0x2fb795(0x342)](_0x1d4422)),_0x1d4422;},'blockSize':0x80/0x20});var _0x496dcc=_0x247765[_0x2a0263(0x330)]=_0x46a6d2[_0x2a0263(0x38c)]({'init':function(_0x3b7e4f){this['mixIn'](_0x3b7e4f);},'toString':function(_0x44ba41){var _0x1629b0=_0x2a0263;return(_0x44ba41||this[_0x1629b0(0x367)])[_0x1629b0(0x2ad)](this);}}),_0x211953=_0x4a7970['format']={},_0x33ab46=_0x211953[_0x2a0263(0x413)]={'stringify':function(_0x501561){var _0x5a11e2=_0x2a0263,_0x33cde1,_0x593326=_0x501561['ciphertext'],_0x4c035e=_0x501561['salt'];return _0x4c035e?_0x33cde1=_0x45cbfe[_0x5a11e2(0x1ff)]([0x53616c74,0x65645f5f])['concat'](_0x4c035e)[_0x5a11e2(0x33e)](_0x593326):_0x33cde1=_0x593326,_0x33cde1[_0x5a11e2(0x428)](_0x5ef29e);},'parse':function(_0x25f341){var _0x30708b=_0x2a0263,_0x176343,_0x25f160=_0x5ef29e['parse'](_0x25f341),_0x366eb4=_0x25f160[_0x30708b(0x294)];return _0x366eb4[0x0]==0x53616c74&&_0x366eb4[0x1]==0x65645f5f&&(_0x176343=_0x45cbfe[_0x30708b(0x1ff)](_0x366eb4[_0x30708b(0x218)](0x2,0x4)),_0x366eb4[_0x30708b(0x431)](0x0,0x4),_0x25f160[_0x30708b(0x466)]-=0x10),_0x496dcc['create']({'ciphertext':_0x25f160,'salt':_0x176343});}},_0x4f7f94=_0x247765[_0x2a0263(0x30d)]=_0x46a6d2['extend']({'cfg':_0x46a6d2['extend']({'format':_0x33ab46}),'encrypt':function(_0x1bbe4e,_0x1f8596,_0x57b6c5,_0x2fe2a7){var _0x4927fe=_0x2a0263;_0x2fe2a7=this[_0x4927fe(0x255)][_0x4927fe(0x38c)](_0x2fe2a7);var _0x274e46=_0x1bbe4e[_0x4927fe(0x44c)](_0x57b6c5,_0x2fe2a7),_0x36b833=_0x274e46[_0x4927fe(0x213)](_0x1f8596),_0x50aae8=_0x274e46[_0x4927fe(0x255)];return _0x496dcc[_0x4927fe(0x1ff)]({'ciphertext':_0x36b833,'key':_0x57b6c5,'iv':_0x50aae8['iv'],'algorithm':_0x1bbe4e,'mode':_0x50aae8[_0x4927fe(0x2cf)],'padding':_0x50aae8[_0x4927fe(0x319)],'blockSize':_0x1bbe4e[_0x4927fe(0x25e)],'formatter':_0x2fe2a7[_0x4927fe(0x1ee)]});},'decrypt':function(_0x38f4a2,_0x25774e,_0x4c7606,_0x4038e6){var _0x29a045=_0x2a0263;_0x4038e6=this[_0x29a045(0x255)][_0x29a045(0x38c)](_0x4038e6),_0x25774e=this['_parse'](_0x25774e,_0x4038e6['format']);var _0x2cbbd9=_0x38f4a2['createDecryptor'](_0x4c7606,_0x4038e6)['finalize'](_0x25774e['ciphertext']);return _0x2cbbd9;},'_parse':function(_0x30d9bb,_0x1dc4f1){var _0x288f13=_0x2a0263;return typeof _0x30d9bb==_0x288f13(0x3b0)?_0x1dc4f1[_0x288f13(0x2a3)](_0x30d9bb,this):_0x30d9bb;}}),_0x480319=_0x4a7970[_0x2a0263(0x3b1)]={},_0x27bd0c=_0x480319[_0x2a0263(0x413)]={'execute':function(_0x228dbd,_0x168473,_0x11901a,_0x2dcf84,_0x1a2850){var _0x45d315=_0x2a0263;if(_0x2dcf84||(_0x2dcf84=_0x45cbfe[_0x45d315(0x1fc)](0x40/0x8)),_0x1a2850)var _0x21763a=_0x2d72a4[_0x45d315(0x1ff)]({'keySize':_0x168473+_0x11901a,'hasher':_0x1a2850})[_0x45d315(0x35d)](_0x228dbd,_0x2dcf84);else var _0x21763a=_0x2d72a4[_0x45d315(0x1ff)]({'keySize':_0x168473+_0x11901a})[_0x45d315(0x35d)](_0x228dbd,_0x2dcf84);var _0x3e94f3=_0x45cbfe[_0x45d315(0x1ff)](_0x21763a[_0x45d315(0x294)]['slice'](_0x168473),_0x11901a*0x4);return _0x21763a['sigBytes']=_0x168473*0x4,_0x496dcc[_0x45d315(0x1ff)]({'key':_0x21763a,'iv':_0x3e94f3,'salt':_0x2dcf84});}},_0x52a1e5=_0x247765[_0x2a0263(0x2ed)]=_0x4f7f94[_0x2a0263(0x38c)]({'cfg':_0x4f7f94[_0x2a0263(0x255)][_0x2a0263(0x38c)]({'kdf':_0x27bd0c}),'encrypt':function(_0x71132a,_0x501585,_0x4d0479,_0x2444d5){var _0x213087=_0x2a0263;_0x2444d5=this['cfg'][_0x213087(0x38c)](_0x2444d5);var _0x487c14=_0x2444d5[_0x213087(0x3b1)][_0x213087(0x427)](_0x4d0479,_0x71132a[_0x213087(0x224)],_0x71132a['ivSize'],_0x2444d5[_0x213087(0x248)],_0x2444d5[_0x213087(0x2dc)]);_0x2444d5['iv']=_0x487c14['iv'];var _0x4f3017=_0x4f7f94['encrypt'][_0x213087(0x1c3)](this,_0x71132a,_0x501585,_0x487c14[_0x213087(0x2fb)],_0x2444d5);return _0x4f3017[_0x213087(0x3c0)](_0x487c14),_0x4f3017;},'decrypt':function(_0x4a247,_0x49ff2f,_0x13e999,_0x43fcad){var _0x438c99=_0x2a0263;_0x43fcad=this[_0x438c99(0x255)][_0x438c99(0x38c)](_0x43fcad),_0x49ff2f=this[_0x438c99(0x399)](_0x49ff2f,_0x43fcad['format']);var _0x4c63c2=_0x43fcad[_0x438c99(0x3b1)][_0x438c99(0x427)](_0x13e999,_0x4a247[_0x438c99(0x224)],_0x4a247[_0x438c99(0x2f4)],_0x49ff2f[_0x438c99(0x248)],_0x43fcad['hasher']);_0x43fcad['iv']=_0x4c63c2['iv'];var _0x22b5fb=_0x4f7f94[_0x438c99(0x2f6)][_0x438c99(0x1c3)](this,_0x4a247,_0x49ff2f,_0x4c63c2[_0x438c99(0x2fb)],_0x43fcad);return _0x22b5fb;}});}();}));}(Je)),Je['exports'];}var gn=Ve[_0x5c5167(0x442)],ti;function Sn(){var _0x27751a=_0x5c5167;return ti||(ti=0x1,function(_0x3ea3fc,_0x38effd){(function(_0x13e431,_0x246a99,_0x45219d){var _0xfbce0a=_0xb5db;_0x3ea3fc[_0xfbce0a(0x442)]=_0x246a99(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x7b8e7c){var _0x30eb72=_0xb5db;return(function(){var _0xffa769=_0xb5db,_0x3b7d6c=_0x7b8e7c,_0x2ff26e=_0x3b7d6c[_0xffa769(0x269)],_0x48e73f=_0x2ff26e['BlockCipher'],_0x93e5e6=_0x3b7d6c[_0xffa769(0x39e)],_0x391c15=[],_0x3a2512=[],_0x65e909=[],_0x4ba7d5=[],_0x5c564b=[],_0x2030b6=[],_0x1faaa0=[],_0x11323a=[],_0x59ec9f=[],_0xe6eafa=[];(function(){for(var _0x24c9de=[],_0x389737=0x0;_0x389737<0x100;_0x389737++)_0x389737<0x80?_0x24c9de[_0x389737]=_0x389737<<0x1:_0x24c9de[_0x389737]=_0x389737<<0x1^0x11b;for(var _0x14c918=0x0,_0x1226d2=0x0,_0x389737=0x0;_0x389737<0x100;_0x389737++){var _0x13ce0f=_0x1226d2^_0x1226d2<<0x1^_0x1226d2<<0x2^_0x1226d2<<0x3^_0x1226d2<<0x4;_0x13ce0f=_0x13ce0f>>>0x8^_0x13ce0f&0xff^0x63,_0x391c15[_0x14c918]=_0x13ce0f,_0x3a2512[_0x13ce0f]=_0x14c918;var _0x8eee7c=_0x24c9de[_0x14c918],_0x29aa10=_0x24c9de[_0x8eee7c],_0x43e453=_0x24c9de[_0x29aa10],_0x50f289=_0x24c9de[_0x13ce0f]*0x101^_0x13ce0f*0x1010100;_0x65e909[_0x14c918]=_0x50f289<<0x18|_0x50f289>>>0x8,_0x4ba7d5[_0x14c918]=_0x50f289<<0x10|_0x50f289>>>0x10,_0x5c564b[_0x14c918]=_0x50f289<<0x8|_0x50f289>>>0x18,_0x2030b6[_0x14c918]=_0x50f289;var _0x50f289=_0x43e453*0x1010101^_0x29aa10*0x10001^_0x8eee7c*0x101^_0x14c918*0x1010100;_0x1faaa0[_0x13ce0f]=_0x50f289<<0x18|_0x50f289>>>0x8,_0x11323a[_0x13ce0f]=_0x50f289<<0x10|_0x50f289>>>0x10,_0x59ec9f[_0x13ce0f]=_0x50f289<<0x8|_0x50f289>>>0x18,_0xe6eafa[_0x13ce0f]=_0x50f289,_0x14c918?(_0x14c918=_0x8eee7c^_0x24c9de[_0x24c9de[_0x24c9de[_0x43e453^_0x8eee7c]]],_0x1226d2^=_0x24c9de[_0x24c9de[_0x1226d2]]):_0x14c918=_0x1226d2=0x1;}}());var _0x15c3fe=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x321ab8=_0x93e5e6[_0xffa769(0x4a7)]=_0x48e73f['extend']({'_doReset':function(){var _0x20e4af=_0xffa769,_0xe37d86;if(!(this['_nRounds']&&this[_0x20e4af(0x25f)]===this['_key'])){for(var _0xb7660=this[_0x20e4af(0x25f)]=this['_key'],_0x2eb48a=_0xb7660[_0x20e4af(0x294)],_0x390bdb=_0xb7660[_0x20e4af(0x466)]/0x4,_0x452c57=this[_0x20e4af(0x46a)]=_0x390bdb+0x6,_0x452400=(_0x452c57+0x1)*0x4,_0x1e4646=this['_keySchedule']=[],_0x54455f=0x0;_0x54455f<_0x452400;_0x54455f++)_0x54455f<_0x390bdb?_0x1e4646[_0x54455f]=_0x2eb48a[_0x54455f]:(_0xe37d86=_0x1e4646[_0x54455f-0x1],_0x54455f%_0x390bdb?_0x390bdb>0x6&&_0x54455f%_0x390bdb==0x4&&(_0xe37d86=_0x391c15[_0xe37d86>>>0x18]<<0x18|_0x391c15[_0xe37d86>>>0x10&0xff]<<0x10|_0x391c15[_0xe37d86>>>0x8&0xff]<<0x8|_0x391c15[_0xe37d86&0xff]):(_0xe37d86=_0xe37d86<<0x8|_0xe37d86>>>0x18,_0xe37d86=_0x391c15[_0xe37d86>>>0x18]<<0x18|_0x391c15[_0xe37d86>>>0x10&0xff]<<0x10|_0x391c15[_0xe37d86>>>0x8&0xff]<<0x8|_0x391c15[_0xe37d86&0xff],_0xe37d86^=_0x15c3fe[_0x54455f/_0x390bdb|0x0]<<0x18),_0x1e4646[_0x54455f]=_0x1e4646[_0x54455f-_0x390bdb]^_0xe37d86);for(var _0x12bf23=this['_invKeySchedule']=[],_0x3adf55=0x0;_0x3adf55<_0x452400;_0x3adf55++){var _0x54455f=_0x452400-_0x3adf55;if(_0x3adf55%0x4)var _0xe37d86=_0x1e4646[_0x54455f];else var _0xe37d86=_0x1e4646[_0x54455f-0x4];_0x3adf55<0x4||_0x54455f<=0x4?_0x12bf23[_0x3adf55]=_0xe37d86:_0x12bf23[_0x3adf55]=_0x1faaa0[_0x391c15[_0xe37d86>>>0x18]]^_0x11323a[_0x391c15[_0xe37d86>>>0x10&0xff]]^_0x59ec9f[_0x391c15[_0xe37d86>>>0x8&0xff]]^_0xe6eafa[_0x391c15[_0xe37d86&0xff]];}}},'encryptBlock':function(_0x147105,_0x4cea30){var _0x1b7324=_0xffa769;this['_doCryptBlock'](_0x147105,_0x4cea30,this[_0x1b7324(0x2a4)],_0x65e909,_0x4ba7d5,_0x5c564b,_0x2030b6,_0x391c15);},'decryptBlock':function(_0x117af2,_0x2c3c1e){var _0x76bcc4=_0xffa769,_0x17115f=_0x117af2[_0x2c3c1e+0x1];_0x117af2[_0x2c3c1e+0x1]=_0x117af2[_0x2c3c1e+0x3],_0x117af2[_0x2c3c1e+0x3]=_0x17115f,this[_0x76bcc4(0x42d)](_0x117af2,_0x2c3c1e,this[_0x76bcc4(0x4a9)],_0x1faaa0,_0x11323a,_0x59ec9f,_0xe6eafa,_0x3a2512);var _0x17115f=_0x117af2[_0x2c3c1e+0x1];_0x117af2[_0x2c3c1e+0x1]=_0x117af2[_0x2c3c1e+0x3],_0x117af2[_0x2c3c1e+0x3]=_0x17115f;},'_doCryptBlock':function(_0x29446a,_0xf58c83,_0x329a2d,_0x1f8229,_0xbe2704,_0x2f8730,_0xcf3c6d,_0x2359ba){for(var _0x3d9e63=this['_nRounds'],_0x4deb88=_0x29446a[_0xf58c83]^_0x329a2d[0x0],_0x2576e4=_0x29446a[_0xf58c83+0x1]^_0x329a2d[0x1],_0x2bc2b8=_0x29446a[_0xf58c83+0x2]^_0x329a2d[0x2],_0x4e368e=_0x29446a[_0xf58c83+0x3]^_0x329a2d[0x3],_0x6e4af4=0x4,_0x27bc68=0x1;_0x27bc68<_0x3d9e63;_0x27bc68++){var _0x374e8a=_0x1f8229[_0x4deb88>>>0x18]^_0xbe2704[_0x2576e4>>>0x10&0xff]^_0x2f8730[_0x2bc2b8>>>0x8&0xff]^_0xcf3c6d[_0x4e368e&0xff]^_0x329a2d[_0x6e4af4++],_0x529214=_0x1f8229[_0x2576e4>>>0x18]^_0xbe2704[_0x2bc2b8>>>0x10&0xff]^_0x2f8730[_0x4e368e>>>0x8&0xff]^_0xcf3c6d[_0x4deb88&0xff]^_0x329a2d[_0x6e4af4++],_0x5b4b6a=_0x1f8229[_0x2bc2b8>>>0x18]^_0xbe2704[_0x4e368e>>>0x10&0xff]^_0x2f8730[_0x4deb88>>>0x8&0xff]^_0xcf3c6d[_0x2576e4&0xff]^_0x329a2d[_0x6e4af4++],_0x17e917=_0x1f8229[_0x4e368e>>>0x18]^_0xbe2704[_0x4deb88>>>0x10&0xff]^_0x2f8730[_0x2576e4>>>0x8&0xff]^_0xcf3c6d[_0x2bc2b8&0xff]^_0x329a2d[_0x6e4af4++];_0x4deb88=_0x374e8a,_0x2576e4=_0x529214,_0x2bc2b8=_0x5b4b6a,_0x4e368e=_0x17e917;}var _0x374e8a=(_0x2359ba[_0x4deb88>>>0x18]<<0x18|_0x2359ba[_0x2576e4>>>0x10&0xff]<<0x10|_0x2359ba[_0x2bc2b8>>>0x8&0xff]<<0x8|_0x2359ba[_0x4e368e&0xff])^_0x329a2d[_0x6e4af4++],_0x529214=(_0x2359ba[_0x2576e4>>>0x18]<<0x18|_0x2359ba[_0x2bc2b8>>>0x10&0xff]<<0x10|_0x2359ba[_0x4e368e>>>0x8&0xff]<<0x8|_0x2359ba[_0x4deb88&0xff])^_0x329a2d[_0x6e4af4++],_0x5b4b6a=(_0x2359ba[_0x2bc2b8>>>0x18]<<0x18|_0x2359ba[_0x4e368e>>>0x10&0xff]<<0x10|_0x2359ba[_0x4deb88>>>0x8&0xff]<<0x8|_0x2359ba[_0x2576e4&0xff])^_0x329a2d[_0x6e4af4++],_0x17e917=(_0x2359ba[_0x4e368e>>>0x18]<<0x18|_0x2359ba[_0x4deb88>>>0x10&0xff]<<0x10|_0x2359ba[_0x2576e4>>>0x8&0xff]<<0x8|_0x2359ba[_0x2bc2b8&0xff])^_0x329a2d[_0x6e4af4++];_0x29446a[_0xf58c83]=_0x374e8a,_0x29446a[_0xf58c83+0x1]=_0x529214,_0x29446a[_0xf58c83+0x2]=_0x5b4b6a,_0x29446a[_0xf58c83+0x3]=_0x17e917;},'keySize':0x100/0x20});_0x3b7d6c[_0xffa769(0x4a7)]=_0x48e73f[_0xffa769(0x42a)](_0x321ab8);}()),_0x7b8e7c[_0x30eb72(0x4a7)];}));}(Ve)),Ve[_0x27751a(0x442)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x5c5167(0x442)],si;function Rn(){var _0xe3dbf2=_0x5c5167;return si||(si=0x1,function(_0x10cca4,_0x9bfe12){(function(_0x572fc4,_0x27f124){_0x10cca4['exports']=_0x27f124(te());}(Cn,function(_0x2cb792){var _0x1855b1=_0xb5db;return _0x2cb792[_0x1855b1(0x30c)]['Utf8'];}));}(Xe)),Xe[_0xe3dbf2(0x442)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x5c5167(0x442)],ni;function Nn(){var _0x3d7de3=_0x5c5167;return ni||(ni=0x1,function(_0x3efa37,_0x3f7b3e){(function(_0x156409,_0x28b9e4){var _0x4527de=_0xb5db;_0x3efa37[_0x4527de(0x442)]=_0x28b9e4(te());}(yn,function(_0x1d75d6){var _0x38be29=_0xb5db;return(function(){var _0x372b07=_0xb5db;if(typeof ArrayBuffer=='function'){var _0x3b92e6=_0x1d75d6,_0x19b394=_0x3b92e6['lib'],_0x16e870=_0x19b394['WordArray'],_0x31fd7d=_0x16e870[_0x372b07(0x22a)],_0x70e595=_0x16e870[_0x372b07(0x22a)]=function(_0xaa639e){var _0x2d8155=_0x372b07;if(_0xaa639e instanceof ArrayBuffer&&(_0xaa639e=new Uint8Array(_0xaa639e)),(_0xaa639e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xaa639e instanceof Uint8ClampedArray||_0xaa639e instanceof Int16Array||_0xaa639e instanceof Uint16Array||_0xaa639e instanceof Int32Array||_0xaa639e instanceof Uint32Array||_0xaa639e instanceof Float32Array||_0xaa639e instanceof Float64Array)&&(_0xaa639e=new Uint8Array(_0xaa639e[_0x2d8155(0x329)],_0xaa639e['byteOffset'],_0xaa639e[_0x2d8155(0x21b)])),_0xaa639e instanceof Uint8Array){for(var _0x50a2f7=_0xaa639e[_0x2d8155(0x21b)],_0x5a10be=[],_0x198f1c=0x0;_0x198f1c<_0x50a2f7;_0x198f1c++)_0x5a10be[_0x198f1c>>>0x2]|=_0xaa639e[_0x198f1c]<<0x18-_0x198f1c%0x4*0x8;_0x31fd7d[_0x2d8155(0x1c3)](this,_0x5a10be,_0x50a2f7);}else _0x31fd7d[_0x2d8155(0x2f9)](this,arguments);};_0x70e595[_0x372b07(0x30b)]=_0x16e870;}}()),_0x1d75d6[_0x38be29(0x269)][_0x38be29(0x252)];}));}(Ze)),Ze[_0x3d7de3(0x442)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x5c5167(0x442)],ri;function wn(){return ri||(ri=0x1,function(_0x45fdaf,_0x3026fd){(function(_0x31d895,_0x49538a,_0x2aeb26){var _0x55eff0=_0xb5db;_0x45fdaf[_0x55eff0(0x442)]=_0x49538a(te(),bi());}(An,function(_0x4cceb6){var _0x55c569=_0xb5db;return _0x4cceb6[_0x55c569(0x212)][_0x55c569(0x32e)]={'pad':function(){},'unpad':function(){}},_0x4cceb6[_0x55c569(0x212)][_0x55c569(0x32e)];}));}(Qe)),Qe['exports'];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x27316d,_0x5ecbbb){var _0x3a7dec=_0x5c5167;const _0x1d8b3f=_0x5ecbbb-_0x27316d[_0x3a7dec(0x418)]%_0x5ecbbb,_0x4b67e9=String[_0x3a7dec(0x324)](_0x1d8b3f)['repeat'](_0x1d8b3f);return _0x27316d+_0x4b67e9;}function xn(_0x5d54c0,_0x510201){var _0xe88fb4=_0x5c5167;const _0x12e0a1=Un[_0xe88fb4(0x1fc)](0x10),_0x50b5e8=Ln(_0x5d54c0,0x10),_0x3787a2=In[_0xe88fb4(0x1be)](bn[_0xe88fb4(0x2a3)](_0x50b5e8),ii[_0xe88fb4(0x2a3)](_0x510201),{'iv':_0x12e0a1,'padding':Mn});return _0x12e0a1[_0xe88fb4(0x33e)](_0x3787a2[_0xe88fb4(0x34a)])[_0xe88fb4(0x428)](ii);}function kn(){var _0x2d42c9=_0x5c5167;const _0x39f0dd=_0xf395b0()[_0x2d42c9(0x47f)];if(_0x39f0dd){const _0x4b729d={'time':Math['floor'](Date[_0x2d42c9(0x31a)]()/0x3e8),'domain':location[_0x2d42c9(0x405)]};return xn(JSON[_0x2d42c9(0x2ad)](_0x4b729d),_0x39f0dd);}}var $n=Object[_0x5c5167(0x2de)],Hn=(_0x4bff68,_0x28f95c,_0x230652,_0x59be03)=>{var _0x54a229=_0x5c5167;for(var _0x33620c=_0x59be03>0x1?void 0x0:_0x59be03?$n(_0x28f95c,_0x230652):_0x28f95c,_0x4699cb=_0x4bff68[_0x54a229(0x418)]-0x1,_0x4bdfbd;_0x4699cb>=0x0;_0x4699cb--)(_0x4bdfbd=_0x4bff68[_0x4699cb])&&(_0x33620c=_0x4bdfbd(_0x33620c)||_0x33620c);return _0x33620c;},Bn=(_0x582900,_0x1a1709)=>(_0x127cba,_0x53ea0b)=>_0x1a1709(_0x127cba,_0x53ea0b,_0x582900);let at=class{constructor(_0x186816){var _0x37351a=_0x5c5167;this[_0x37351a(0x231)]=_0x186816,this[_0x37351a(0x3e1)]();}['_initRequestHeader'](){var _0xa8c65f=_0x5c5167;this['_httpService'][_0xa8c65f(0x471)]({'interceptor':(_0x540e45,_0x533e70)=>{const _0x645018=_0x540e45['headers'],_0x57c3e1=kn();return _0x57c3e1&&_0x645018['set']('x-univer-host',_0x57c3e1),_0x533e70(_0x540e45);}});}};at=Hn([Bn(0x0,_0x307146(_0x4f1e64))],at);var jn=Object[_0x5c5167(0x2de)],Fn=(_0x52fe37,_0x3313c1,_0x4dde0f,_0x224bf3)=>{var _0x13eea8=_0x5c5167;for(var _0x535bda=_0x224bf3>0x1?void 0x0:_0x224bf3?jn(_0x3313c1,_0x4dde0f):_0x3313c1,_0x3c9d2f=_0x52fe37[_0x13eea8(0x418)]-0x1,_0x467ff8;_0x3c9d2f>=0x0;_0x3c9d2f--)(_0x467ff8=_0x52fe37[_0x3c9d2f])&&(_0x535bda=_0x467ff8(_0x535bda)||_0x535bda);return _0x535bda;},vt=(_0x3758c4,_0x57735c)=>(_0x43ed8c,_0x2dc2a6)=>_0x57735c(_0x43ed8c,_0x2dc2a6,_0x3758c4);let Ct=class extends _0x2049da{constructor(_0x3224b9,_0x34c05b,_0x44b5b5){var _0x342f53=_0x5c5167;super(),N(this,_0x342f53(0x3be),new _0x582d2e(null)),N(this,_0x342f53(0x3ae),this[_0x342f53(0x3be)][_0x342f53(0x2eb)]()),(this[_0x342f53(0x1e0)]=_0x3224b9,this[_0x342f53(0x1f0)]=_0x34c05b,this['_localCacheService']=_0x44b5b5);}async[_0x5c5167(0x209)](_0x3509fa,_0x68cc5d,_0x1f12e3){var _0x5e2549=_0x5c5167;this[_0x5e2549(0x3be)][_0x5e2549(0x291)]({'unitId':_0x3509fa,'type':_0x68cc5d});let _0x483a7c=null;switch(_0x68cc5d){case Z['UNIVER_SHEET']:{_0x483a7c=await this[_0x5e2549(0x1f0)][_0x5e2549(0x2d5)](_0x3509fa,_0x1f12e3);break;}case Z['UNIVER_DOC']:{_0x483a7c=await this[_0x5e2549(0x1f0)]['loadDoc'](_0x3509fa,_0x1f12e3);break;}default:{this[_0x5e2549(0x1e0)][_0x5e2549(0x347)](_0x5e2549(0x495),_0x5e2549(0x2b7));break;}}return _0x483a7c;}async[_0x5c5167(0x238)](_0x4ff5b0,_0x58a753,_0x246ebd){var _0x546082=_0x5c5167,_0x116b08;this[_0x546082(0x3be)][_0x546082(0x291)]({'unitId':_0x4ff5b0,'type':_0x58a753,'subUnitId':_0x246ebd});let _0x59d63b=0x0;const _0x129156=await((_0x116b08=this[_0x546082(0x31f)])==null?void 0x0:_0x116b08[_0x546082(0x40a)](_0x4ff5b0));return _0x129156&&(_0x129156[_0x546082(0x2ee)]||_0x129156[_0x546082(0x2e0)][_0x546082(0x418)]!==0x0)&&(_0x59d63b=_0x129156[_0x546082(0x2c7)]),_0x59d63b===0x0&&this['_logService']['debug'](_0x546082(0x495),_0x546082(0x24b)),this[_0x546082(0x209)](_0x4ff5b0,_0x58a753,_0x59d63b);}};Ct=Fn([vt(0x0,_0x3eb14a),vt(0x1,_0x307146(_0x6a9957)),vt(0x2,_0x4fe35e(J))],Ct);var Vn=Object[_0x5c5167(0x2de)],Wn=(_0x25ed20,_0x135979,_0x58f8ed,_0x34b85a)=>{var _0x23b4af=_0x5c5167;for(var _0xbdb8bf=_0x34b85a>0x1?void 0x0:_0x34b85a?Vn(_0x135979,_0x58f8ed):_0x135979,_0x4350d2=_0x25ed20[_0x23b4af(0x418)]-0x1,_0x5be5aa;_0x4350d2>=0x0;_0x4350d2--)(_0x5be5aa=_0x25ed20[_0x4350d2])&&(_0xbdb8bf=_0x5be5aa(_0xbdb8bf)||_0xbdb8bf);return _0xbdb8bf;},pt=(_0x6e0050,_0x339a20)=>(_0x4c3978,_0x5ba755)=>_0x339a20(_0x4c3978,_0x5ba755,_0x6e0050);const Gn=[_0x5c5167(0x262),_0x5c5167(0x1b0),_0x5c5167(0x30e),_0x5c5167(0x352),_0x5c5167(0x1e5)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x5c5167(0x415);let Rt=class{constructor(_0xa6f7ed,_0x3ad282,_0x6067d5){var _0x4e9e42=_0x5c5167;N(this,_0x4e9e42(0x29b),0x0),N(this,_0x4e9e42(0x1e4),new _0x431a14()),N(this,_0x4e9e42(0x49a),this[_0x4e9e42(0x1e4)]),N(this,_0x4e9e42(0x490),new Map()),(this[_0x4e9e42(0x231)]=_0xa6f7ed,this['_configService']=_0x3ad282,this[_0x4e9e42(0x472)]=_0x6067d5);}[_0x5c5167(0x359)](_0xa92b85){var _0x2b97d1=_0x5c5167;this[_0x2b97d1(0x29b)]=_0xa92b85,this[_0x2b97d1(0x1e4)][_0x2b97d1(0x291)](_0xa92b85);}[_0x5c5167(0x45a)](_0x48aa0e,_0x5e7935){var _0x5328e7=_0x5c5167;if(_0x5e7935===_0x225419[_0x5328e7(0x37d)]){const _0x289643=new Image();return _0x289643[_0x5328e7(0x1cd)]=_0x48aa0e,_0x289643;}return this[_0x5328e7(0x490)][_0x5328e7(0x2d3)](_0x48aa0e);}[_0x5c5167(0x3c1)](_0x32c11b,_0x53bed9,_0x1cbd24){var _0x5425de=_0x5c5167;_0x53bed9===_0x225419[_0x5425de(0x37d)]||_0x1cbd24==null||this['_imageSourceCache'][_0x5425de(0x444)](_0x32c11b,_0x1cbd24);}async[_0x5c5167(0x2ac)](_0x58fea7){var _0x5e9da7=_0x5c5167;try{const _0x39ee1c=this['_replaceFileID'](this['_getSignURL'](),''+_0x58fea7),_0x45b883=(await this[_0x5e9da7(0x231)][_0x5e9da7(0x2d3)](_0x39ee1c))[_0x5e9da7(0x479)];if(_0x45b883[_0x5e9da7(0x347)]&&_0x45b883['error'][_0x5e9da7(0x386)]===vi['OK']){const _0x25e849=new URL(_0x45b883[_0x5e9da7(0x220)],this[_0x5e9da7(0x295)]())[_0x5e9da7(0x428)]();return Promise[_0x5e9da7(0x311)](_0x25e849);}return Promise[_0x5e9da7(0x45f)](_0x45b883[_0x5e9da7(0x347)]);}catch(_0x3c0123){return Promise[_0x5e9da7(0x45f)](_0x3c0123);}}async[_0x5c5167(0x354)](_0x542c37){var _0x3493dc=_0x5c5167;let _0x534ba1='';if(!Gn[_0x3493dc(0x403)](_0x542c37[_0x3493dc(0x465)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x2f1563[_0x3493dc(0x486)]));if(_0x542c37[_0x3493dc(0x1bd)]>Yn)return this[_0x3493dc(0x241)](),Promise[_0x3493dc(0x45f)](new Error(_0x2f1563[_0x3493dc(0x480)]));try{const _0x1ee164=new FormData();_0x1ee164[_0x3493dc(0x1c2)]('file',_0x542c37);const _0x353d3c=this[_0x3493dc(0x472)][_0x3493dc(0x25c)](),_0x36596c=_0x353d3c==null?void 0x0:_0x353d3c[_0x3493dc(0x492)]();if(!_0x36596c)throw new Error(_0x3493dc(0x2fc));const _0x3f0e90=this[_0x3493dc(0x4a0)]()+_0x3493dc(0x2c9)+_0x542c37[_0x3493dc(0x1bd)][_0x3493dc(0x428)]()+'&source='+pi['UnitEmbedded']+_0x3493dc(0x467)+encodeURIComponent(_0x36596c),_0x4864c8={'body':_0x1ee164},_0x34ed7f=(await this[_0x3493dc(0x231)][_0x3493dc(0x2c0)](_0x3f0e90,_0x4864c8))[_0x3493dc(0x479)];if(typeof _0x34ed7f['FileId']!=_0x3493dc(0x3b0))return this[_0x3493dc(0x241)](),Promise[_0x3493dc(0x45f)](new Error(_0x2f1563[_0x3493dc(0x1aa)]));_0x534ba1=_0x34ed7f[_0x3493dc(0x44f)];}catch{return this[_0x3493dc(0x241)](),Promise[_0x3493dc(0x45f)](new Error(_0x2f1563[_0x3493dc(0x1aa)]));}return new Promise((_0x9fee7b,_0x46d475)=>{var _0x15ae64=_0x3493dc;const _0x4f9e2f=new FileReader();_0x4f9e2f['readAsDataURL'](_0x542c37),_0x4f9e2f[_0x15ae64(0x3e3)]=_0x13b068=>{var _0x1c8bd0=_0x15ae64,_0xff36b5;const _0x1f3b78=(_0xff36b5=_0x13b068['target'])==null?void 0x0:_0xff36b5[_0x1c8bd0(0x381)];if(_0x1f3b78==null){this[_0x1c8bd0(0x241)](),_0x46d475(new Error(_0x2f1563[_0x1c8bd0(0x1aa)]));return;}const _0x3be957=_0x2d971a(0x6);_0x9fee7b({'imageId':_0x3be957,'imageSourceType':_0x225419['UUID'],'source':_0x534ba1,'base64Cache':_0x1f3b78,'status':_0x2f1563[_0x1c8bd0(0x233)]}),this[_0x1c8bd0(0x241)]();};});}[_0x5c5167(0x4a0)](){var _0x4c4af3=_0x5c5167,_0x595c6e;const _0x272806=this[_0x4c4af3(0x27e)][_0x4c4af3(0x1a4)](K);return(_0x595c6e=_0x272806==null?void 0x0:_0x272806[_0x4c4af3(0x464)])!=null?_0x595c6e:Kn;}[_0x5c5167(0x456)](){var _0x437b5d=_0x5c5167,_0x4b67ae;const _0x41bb58=this[_0x437b5d(0x27e)][_0x437b5d(0x1a4)](K);return(_0x4b67ae=_0x41bb58==null?void 0x0:_0x41bb58[_0x437b5d(0x1de)])!=null?_0x4b67ae:qn;}[_0x5c5167(0x295)](){var _0x1f3008=_0x5c5167,_0x55bead;const _0x2425f8=this['_configService']['getConfig'](K);return(_0x55bead=_0x2425f8==null?void 0x0:_0x2425f8[_0x1f3008(0x42c)])!=null?_0x55bead:location[_0x1f3008(0x2c6)];}[_0x5c5167(0x3ce)](_0x55dcaa,_0x21cdb8){return _0x55dcaa['replace']('{fileID}',_0x21cdb8);}[_0x5c5167(0x241)](){var _0x4d8aa4=_0x5c5167;this[_0x4d8aa4(0x29b)]-=0x1,this[_0x4d8aa4(0x1e4)][_0x4d8aa4(0x291)](this[_0x4d8aa4(0x29b)]);}};Rt=Wn([pt(0x0,_0x307146(_0x4f1e64)),pt(0x1,_0x4d0e1d),pt(0x2,_0x307146(_0x4e8bc9))],Rt);var zn=Object[_0x5c5167(0x2de)],Jn=(_0x34f928,_0x26ade9,_0x4bf63d,_0x3457c7)=>{var _0x3e8683=_0x5c5167;for(var _0x12989b=_0x3457c7>0x1?void 0x0:_0x3457c7?zn(_0x26ade9,_0x4bf63d):_0x26ade9,_0x20d6b8=_0x34f928[_0x3e8683(0x418)]-0x1,_0x2b260b;_0x20d6b8>=0x0;_0x20d6b8--)(_0x2b260b=_0x34f928[_0x20d6b8])&&(_0x12989b=_0x2b260b(_0x12989b)||_0x12989b);return _0x12989b;},ai=(_0x39b332,_0x310ab1)=>(_0x3602d6,_0x44e528)=>_0x310ab1(_0x3602d6,_0x44e528,_0x39b332);const Xn=_0x5c5167(0x380);let Ot=class{constructor(_0x406515,_0x902334){var _0x174ef7=_0x5c5167;this['_configService']=_0x406515,this[_0x174ef7(0x438)]=_0x902334;}['_getAPIPrefixPath'](){var _0x47cfea=_0x5c5167,_0x133f70;const _0x1e5505=this[_0x47cfea(0x27e)][_0x47cfea(0x1a4)](K);return(_0x133f70=_0x1e5505==null?void 0x0:_0x1e5505[_0x47cfea(0x47c)])!=null?_0x133f70:Xn;}async[_0x5c5167(0x26a)](_0x301be9){var _0x2f314d=_0x5c5167;const _0xf4948=this[_0x2f314d(0x3cf)]()+_0x2f314d(0x499);return{'list':[{'title':'People','mentions':(await this[_0x2f314d(0x438)][_0x2f314d(0x2d3)](_0xf4948,{'params':{'objectID':_0x301be9['unitId'],'unitID':_0x301be9['unitId']}}))[_0x2f314d(0x479)][_0x2f314d(0x1c5)]['map'](_0x17f88b=>({'objectId':_0x17f88b['id'],'name':_0x17f88b[_0x2f314d(0x33a)][_0x2f314d(0x246)],'metadata':{'icon':_0x17f88b['subject'][_0x2f314d(0x497)]},'label':_0x17f88b['subject']['name'],'objectType':_0x336a24[_0x2f314d(0x2e8)]})),'metadata':{},'type':_0x336a24[_0x2f314d(0x2e8)]}]};}};Ot=Jn([ai(0x0,_0x307146(_0x4d0e1d)),ai(0x1,_0x307146(_0x4f1e64))],Ot);var Zn=Object[_0x5c5167(0x2de)],Qn=(_0x3b16e1,_0x4c493f,_0x4fdab7,_0x2a6229)=>{var _0x50f0ad=_0x5c5167;for(var _0x547e61=_0x2a6229>0x1?void 0x0:_0x2a6229?Zn(_0x4c493f,_0x4fdab7):_0x4c493f,_0x7a2fe=_0x3b16e1[_0x50f0ad(0x418)]-0x1,_0xf138b;_0x7a2fe>=0x0;_0x7a2fe--)(_0xf138b=_0x3b16e1[_0x7a2fe])&&(_0x547e61=_0xf138b(_0x547e61)||_0x547e61);return _0x547e61;},Ue=(_0x438ea0,_0x4a0843)=>(_0x4846f1,_0x3da2b9)=>_0x4a0843(_0x4846f1,_0x3da2b9,_0x438ea0);let ot=class extends _0x2049da{constructor(_0x3228ed,_0x5f5b98,_0x30bcaf,_0x2336c6,_0x100557){var _0x4416a1=_0x5c5167;super(),this[_0x4416a1(0x48d)]=_0x3228ed,this[_0x4416a1(0x472)]=_0x5f5b98,this[_0x4416a1(0x449)]=_0x30bcaf,this['_collaborationSessionService']=_0x2336c6,this[_0x4416a1(0x47b)]=_0x100557,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x31224e=_0x5c5167;const _0x4bcd33=async _0x95d6ad=>{var _0x2fc277=_0xb5db;(await this[_0x2fc277(0x331)]['requireSession'](_0x95d6ad))['event$'][_0x2fc277(0x3a6)](_0x10a3bd(_0x260113=>_0x260113['eventID']===_0x49bb1d[_0x2fc277(0x369)]),_0x4a63bb(this[_0x2fc277(0x417)]))[_0x2fc277(0x378)](_0x24001a=>{var _0xf213ed=_0x2fc277;const _0x2e1e99=_0x24001a,{reason:_0x1cf43e}=_0x2e1e99[_0xf213ed(0x41c)];this[_0xf213ed(0x47b)][_0xf213ed(0x3b4)]({'id':ne[_0xf213ed(0x364)],'data':_0x1cf43e}),this[_0xf213ed(0x449)]['updatePermissionPoint'](new _0x5996a1(_0x95d6ad)['id'],!0x1),this[_0xf213ed(0x331)][_0xf213ed(0x270)](_0x95d6ad);});};_0x3eede2(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x33d220['UNIVER_SHEET']),this[_0x31224e(0x472)][_0x31224e(0x29a)](_0x33d220['UNIVER_DOC']))[_0x31224e(0x3a6)](_0x4aa1f9(_0x1ba70b=>_0x1ba70b['getUnitId']()),_0x10a3bd(_0x37cfda=>!_0x850165(_0x37cfda)),_0x4a63bb(this[_0x31224e(0x417)]))['subscribe'](_0x1d2ab4=>{_0x4bcd33(_0x1d2ab4);});}[_0x5c5167(0x410)](){var _0xc87738=_0x5c5167;const _0x1005d9=async _0x5791a0=>{var _0x1feda7=_0xb5db;const _0x5c6b28=await this[_0x1feda7(0x331)][_0x1feda7(0x423)](_0x5791a0),_0x277faa=this[_0x1feda7(0x48d)][_0x1feda7(0x2d3)](_0x37ee35);_0x5c6b28[_0x1feda7(0x452)][_0x1feda7(0x3a6)](_0x10a3bd(_0x350e9c=>_0x350e9c[_0x1feda7(0x245)]===_0x49bb1d['UPDATE_PERMISSION_OBJ']),_0x4a63bb(this[_0x1feda7(0x417)]))['subscribe'](_0x3bd0b5=>{var _0x59b910=_0x1feda7;const _0x446cd8=_0x3bd0b5,{objectId:_0x327a72}=_0x446cd8['data'];_0x327a72===_0x5791a0?_0x277faa[_0x59b910(0x43d)](_0x5791a0):_0x277faa[_0x59b910(0x1b9)](_0x5791a0,_0x327a72);});};_0x3eede2(this[_0xc87738(0x472)][_0xc87738(0x29a)](_0x33d220[_0xc87738(0x232)]))[_0xc87738(0x3a6)](_0x4aa1f9(_0x158e73=>_0x158e73['getUnitId']()),_0x10a3bd(_0x2dec9d=>!_0x850165(_0x2dec9d)),_0x4a63bb(this[_0xc87738(0x417)]))[_0xc87738(0x378)](_0x12851f=>{_0x1005d9(_0x12851f);});}};ot=Qn([Ue(0x0,_0x307146(_0x4b4f54)),Ue(0x1,_0x4e8bc9),Ue(0x2,_0xeeb0ba),Ue(0x3,_0x307146(Pe)),Ue(0x4,_0x307146(ve))],ot);var er=Object[_0x5c5167(0x2de)],tr=(_0xbb5c7d,_0x33b263,_0x3649f5,_0x57f7b1)=>{var _0x17b07d=_0x5c5167;for(var _0x561f21=_0x57f7b1>0x1?void 0x0:_0x57f7b1?er(_0x33b263,_0x3649f5):_0x33b263,_0x3b0fd2=_0xbb5c7d[_0x17b07d(0x418)]-0x1,_0x29b28a;_0x3b0fd2>=0x0;_0x3b0fd2--)(_0x29b28a=_0xbb5c7d[_0x3b0fd2])&&(_0x561f21=_0x29b28a(_0x561f21)||_0x561f21);return _0x561f21;},oi=(_0x2bcc90,_0x15bc5d)=>(_0x4b1c1e,_0x464fb2)=>_0x15bc5d(_0x4b1c1e,_0x464fb2,_0x2bcc90);let bt=class{constructor(_0x48b755,_0xaddcb8){var _0x13e9bc=_0x5c5167;this[_0x13e9bc(0x27e)]=_0x48b755,this[_0x13e9bc(0x231)]=_0xaddcb8;}async[_0x5c5167(0x3eb)](_0x5b6f23,_0x1d2b48){var _0x41265e=_0x5c5167,_0x235a6e;const {unitID:_0x3757b4,type:_0x3fdae7,revision:_0x493077=0x0}=_0x1d2b48,_0x2f43e3=this[_0x41265e(0x290)]()+'/'+_0x3fdae7+_0x41265e(0x275)+_0x3757b4+_0x41265e(0x2d8)+_0x493077,_0x41aa86=(await this['_httpService'][_0x41265e(0x2d3)](_0x2f43e3))['body'],_0x4a1ac4=(_0x235a6e=_0x41aa86[_0x41265e(0x3a4)])==null?void 0x0:_0x235a6e['workbook'];if(_0x4a1ac4){const _0x2ca869=_0x4a1ac4==null?void 0x0:_0x4a1ac4[_0x41265e(0x46f)],_0x5c02ba=_0x36d89b[_0x41265e(0x390)](_0x38e176(_0x2ca869));_0x4a1ac4['originalMeta']=_0x5c02ba,Object['entries'](_0x4a1ac4['sheets'])[_0x41265e(0x357)](([,_0x1fef87])=>{var _0x42c0d1=_0x41265e;const _0x95aa93=_0x1fef87[_0x42c0d1(0x46f)],_0x3852f7=_0x36d89b['encode'](_0x38e176(_0x95aa93));_0x1fef87[_0x42c0d1(0x46f)]=_0x3852f7;});}return _0x41aa86;}async[_0x5c5167(0x279)](_0x18ac0e,_0xeefeb1){var _0x502d00=_0x5c5167;const {unitID:_0x5e3961,type:_0x3b4b80,blockID:_0x49fb27}=_0xeefeb1,_0x378b7b=this[_0x502d00(0x37c)]()+'/'+_0x3b4b80+'/unit/'+_0x5e3961+_0x502d00(0x26e)+_0x49fb27;return(await this[_0x502d00(0x231)][_0x502d00(0x2d3)](_0x378b7b))[_0x502d00(0x479)];}async[_0x5c5167(0x23d)](_0x3da891,_0x3418c0){var _0x3cd2a4=_0x5c5167;const {unitID:_0x3c6991,type:_0x278846,blockID:_0x3b4474}=_0x3418c0,_0x5ecdcc=this[_0x3cd2a4(0x37c)]()+_0x3cd2a4(0x26e)+_0x278846+_0x3cd2a4(0x275)+_0x3c6991+_0x3cd2a4(0x26e)+_0x3b4474;return(await this[_0x3cd2a4(0x231)][_0x3cd2a4(0x2d3)](_0x5ecdcc))[_0x3cd2a4(0x479)];}async['fetchMissingChangesets'](_0x1ae440,_0xc96815){var _0x1c9cef=_0x5c5167;const {unitID:_0x5dc2ee,type:_0x21551a,from:_0x14b20a,to:_0x435ea2}=_0xc96815,_0x20ff4a=this[_0x1c9cef(0x37c)]()+'/'+_0x21551a+'/unit/'+_0x5dc2ee+_0x1c9cef(0x1f6)+_0x14b20a+'&to='+_0x435ea2;return(await this[_0x1c9cef(0x231)][_0x1c9cef(0x2d3)](_0x20ff4a))[_0x1c9cef(0x479)];}[_0x5c5167(0x290)](){var _0x5cb402=_0x5c5167,_0x1ed46e;return(_0x1ed46e=this[_0x5cb402(0x27e)][_0x5cb402(0x1a4)](vs))!=null?_0x1ed46e:this[_0x5cb402(0x37c)]();}[_0x5c5167(0x37c)](){var _0x4dd9ea=_0x5c5167,_0x1b57ea;const _0x5d4a35=this[_0x4dd9ea(0x27e)][_0x4dd9ea(0x1a4)](K);return(_0x1b57ea=_0x5d4a35==null?void 0x0:_0x5d4a35[_0x4dd9ea(0x358)])!=null?_0x1b57ea:fs;}async[_0x5c5167(0x222)](_0x1a901e,_0x4c2742){var _0x46d99c=_0x5c5167;const _0x135d97=_0x46d99c(0x3ab)+_0x4c2742[_0x46d99c(0x465)]+_0x46d99c(0x275)+_0x4c2742[_0x46d99c(0x20e)]+_0x46d99c(0x383);return(await this[_0x46d99c(0x231)][_0x46d99c(0x2d3)](_0x135d97,{'params':{'resourceId':JSON[_0x46d99c(0x2ad)](_0x4c2742['resourceIDs'])}}))[_0x46d99c(0x479)];}[_0x5c5167(0x3bc)](){var _0x5a3708=_0x5c5167;throw new Error(_0x5a3708(0x353));}[_0x5c5167(0x293)](){var _0x1bf572=_0x5c5167;throw new Error(_0x1bf572(0x353));}[_0x5c5167(0x3ca)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c5167(0x1cb)](){var _0x2422ed=_0x5c5167;throw new Error(_0x2422ed(0x353));}[_0x5c5167(0x343)](){var _0x3f0925=_0x5c5167;throw new Error(_0x3f0925(0x353));}['getLatestCsReqIdBySid'](){var _0x48e787=_0x5c5167;throw new Error(_0x48e787(0x353));}};bt=tr([oi(0x0,_0x4d0e1d),oi(0x1,_0x307146(_0x4f1e64))],bt);var ir=Object[_0x5c5167(0x2de)],sr=(_0x47ad09,_0x1737f3,_0x42ddaf,_0xbf2851)=>{var _0x43dac5=_0x5c5167;for(var _0x414d96=_0xbf2851>0x1?void 0x0:_0xbf2851?ir(_0x1737f3,_0x42ddaf):_0x1737f3,_0x313d86=_0x47ad09[_0x43dac5(0x418)]-0x1,_0x2f1e65;_0x313d86>=0x0;_0x313d86--)(_0x2f1e65=_0x47ad09[_0x313d86])&&(_0x414d96=_0x2f1e65(_0x414d96)||_0x414d96);return _0x414d96;},Ae=(_0x1c9d67,_0x1a163f)=>(_0x1453bf,_0x380073)=>_0x1a163f(_0x1453bf,_0x380073,_0x1c9d67);function _0xb5db(_0x2bcf76,_0x4e36e3){var _0x1b1a99=_0x1b1a();return _0xb5db=function(_0xb5db9a,_0x3842af){_0xb5db9a=_0xb5db9a-0x19b;var _0x54cac8=_0x1b1a99[_0xb5db9a];return _0x54cac8;},_0xb5db(_0x2bcf76,_0x4e36e3);}let yt=class extends _0x500ac5{constructor(_0x186406,_0xe95090,_0xae676c,_0x4e0bd0,_0x46b501){var _0x244efd=_0x5c5167;super(_0x186406,_0xe95090,_0xae676c),this['_transformService']=_0x4e0bd0,this[_0x244efd(0x1e0)]=_0x46b501;}[_0x5c5167(0x388)](_0x26ae67,_0x27628a){var _0x5aff63=_0x5c5167;const _0xd08e04=this[_0x5aff63(0x435)](_0x26ae67);if(_0xd08e04)try{const _0x13c182=this[_0x5aff63(0x34c)](_0xd08e04,_0x27628a);this[_0x5aff63(0x29d)](_0x26ae67,_0x13c182);}catch(_0x2acd2f){this[_0x5aff63(0x1e0)]['error'](_0x5aff63(0x40f),_0x2acd2f),this[_0x5aff63(0x44d)](_0x26ae67);}const _0x3d64a9=this['_getRedoStack'](_0x26ae67);if(_0x3d64a9)try{const _0x233a5e=this[_0x5aff63(0x34c)](_0x3d64a9,_0x27628a);this[_0x5aff63(0x1d6)](_0x26ae67,_0x233a5e);}catch(_0x5a9dd2){this['_logService']['error'](_0x5a9dd2),this['_clearRedo'](_0x26ae67);}}[_0x5c5167(0x44d)](_0x222072){var _0x43bd67=_0x5c5167;const _0x4a0456=this[_0x43bd67(0x435)](_0x222072);_0x4a0456&&(_0x4a0456[_0x43bd67(0x418)]=0x0,this[_0x43bd67(0x3c5)]());}[_0x5c5167(0x412)](_0x5321f2){var _0x4a38f4=_0x5c5167;const _0x2c8937=this['_getRedoStack'](_0x5321f2);_0x2c8937&&(_0x2c8937[_0x4a38f4(0x418)]=0x0,this[_0x4a38f4(0x3c5)]());}[_0x5c5167(0x29d)](_0x523b69,_0x2d73cc){var _0x395934=_0x5c5167;this[_0x395934(0x371)]['set'](_0x523b69,_0x2d73cc),this[_0x395934(0x3c5)]();}[_0x5c5167(0x1d6)](_0x4636a4,_0x4c65c0){var _0x45c303=_0x5c5167;this['_redoStacks'][_0x45c303(0x444)](_0x4636a4,_0x4c65c0),this[_0x45c303(0x3c5)]();}[_0x5c5167(0x34c)](_0x3540a5,_0x5e2e74){var _0x8d2429=_0x5c5167;const _0x5e9b99=[];let _0xdc6f88=_0x5e2e74,_0x1162cc=_0x5e2e74;for(let _0x4c7e08=_0x3540a5['length']-0x1;_0x4c7e08>=0x0;_0x4c7e08--){const {unitID:_0x1a9b3f,undoMutations:_0x371768,redoMutations:_0x20841e}=_0x3540a5[_0x4c7e08],_0x4e260f=this[_0x8d2429(0x2a0)]['transformMutationsWithChangeset'](_0xdc6f88,_0x371768),_0x468b5e=this[_0x8d2429(0x2a0)][_0x8d2429(0x3d8)](_0x1162cc,_0x20841e);if(_0x1cfc54(_0x4e260f)||_0x1cfc54(_0x468b5e)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x8d2429(0x1ea),_0x4e260f,_0x468b5e);break;}_0xdc6f88=_0x4e260f[_0x8d2429(0x26c)],_0x1162cc=_0x468b5e['c1Prime'],_0x5e9b99[_0x8d2429(0x1e1)]({'unitID':_0x1a9b3f,'undoMutations':_0x4e260f[_0x8d2429(0x287)],'redoMutations':_0x468b5e['m2Prime']});}return _0x5e9b99[_0x8d2429(0x49c)]();}};yt=sr([Ae(0x0,_0x4e8bc9),Ae(0x1,_0x326877),Ae(0x2,_0x4a1dd4),Ae(0x3,_0x5d37ab),Ae(0x4,_0x3eb14a)],yt);var nr=Object[_0x5c5167(0x3a7)],rr=Object[_0x5c5167(0x2de)],ar=(_0x2a4821,_0x11541a,_0xa34303)=>_0x11541a in _0x2a4821?nr(_0x2a4821,_0x11541a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa34303}):_0x2a4821[_0x11541a]=_0xa34303,or=(_0xbcae94,_0x4949a1,_0x1d7423,_0x6d1563)=>{var _0x4de6f0=_0x5c5167;for(var _0x3c98a6=_0x6d1563>0x1?void 0x0:_0x6d1563?rr(_0x4949a1,_0x1d7423):_0x4949a1,_0x91bb3a=_0xbcae94[_0x4de6f0(0x418)]-0x1,_0x17036b;_0x91bb3a>=0x0;_0x91bb3a--)(_0x17036b=_0xbcae94[_0x91bb3a])&&(_0x3c98a6=_0x17036b(_0x3c98a6)||_0x3c98a6);return _0x3c98a6;},mt=(_0x55820d,_0x266d44)=>(_0x2a98ce,_0x401249)=>_0x266d44(_0x2a98ce,_0x401249,_0x55820d),cr=(_0x3a8c3f,_0x56462b,_0x234ace)=>ar(_0x3a8c3f,_0x56462b+'',_0x234ace);const hr=_0x5c5167(0x327);let Nt=class extends _0x10914a{constructor(_0x1dbbd7,_0x3ba6a8,_0x33fb8d,_0x432761){var _0x499394=_0x5c5167;super(),N(this,_0x499394(0x309)),(this['_logService']=_0x3ba6a8,this[_0x499394(0x48d)]=_0x33fb8d,this['_configService']=_0x432761);const {..._0x44d6f0}=_0x143d2f({},Os,_0x1dbbd7);if(!_0x44d6f0[_0x499394(0x402)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x44d6f0,this[_0x499394(0x27e)][_0x499394(0x3f4)](K,_0x44d6f0);}[_0x5c5167(0x286)](){var _0x8e99ce=_0x5c5167;this[_0x8e99ce(0x2c2)](),this['_initDependencies']();}[_0x5c5167(0x2c2)](){var _0x9ba224=_0x5c5167,_0x1fe8f1,_0x57a0c3;this[_0x9ba224(0x48d)][_0x9ba224(0x1f7)](_0x202bc0)&&this[_0x9ba224(0x1e0)]['error'](_0x9ba224(0x22c),_0x9ba224(0x429));const _0x286c49=_0x5df389([[_0x202bc0,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x9ba224(0x309)][_0x9ba224(0x402)]}],[_0x6f2ce2,{'useClass':bt}],[_0x35e7f9,{'useClass':Tt}],[_0xa1ae90,{'useClass':Rt}],[_0x2bf655,{'useClass':Ot}],[nt],[It]],(_0x1fe8f1=this[_0x9ba224(0x309)])==null?void 0x0:_0x1fe8f1['override']);if(!((_0x57a0c3=this['_config'])!=null&&_0x57a0c3[_0x9ba224(0x225)])){const _0x29203c=_0x286c49[_0x9ba224(0x2c5)](([_0x5a23d0])=>_0x5a23d0===ht);_0x29203c!==-0x1&&_0x286c49[_0x9ba224(0x431)](_0x29203c,0x1);}_0x5bdf6c(this[_0x9ba224(0x48d)],_0x286c49);}[_0x5c5167(0x2ba)](){var _0x5a05d5=_0x5c5167,_0x4f344b,_0x3ae4a4,_0x3dc28a;this['_injector'][_0x5a05d5(0x2d3)](_0x4f1e64)[_0x5a05d5(0x471)]({'priority':0x14,'interceptor':_0x399e94({'maxParallel':0x6})}),(_0x4f344b=this['_config'])!=null&&_0x4f344b[_0x5a05d5(0x26f)]||(_0x3ae4a4=this[_0x5a05d5(0x48d)][_0x5a05d5(0x2d3)](J,_0x3cd0a0[_0x5a05d5(0x2d6)]))==null||_0x3ae4a4[_0x5a05d5(0x21f)](),(_0x3dc28a=this[_0x5a05d5(0x309)])!=null&&_0x3dc28a[_0x5a05d5(0x446)]&&_0x260f3b(this['_injector'],[[rt]]),_0x260f3b(this[_0x5a05d5(0x48d)],[[at],[nt],[ot]]);}};cr(Nt,_0x5c5167(0x3e6),hr),Nt=or([_0x22b3c8(_0x3739e9,_0xa0e625),mt(0x1,_0x3eb14a),mt(0x2,_0x307146(_0x4b4f54)),mt(0x3,_0x4d0e1d)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};
1
+ var _0xce59e2=_0x2a1f;(function(_0x3ba664,_0xb5dac9){var _0x30cbc5=_0x2a1f,_0xcfea3a=_0x3ba664();while(!![]){try{var _0x5f236a=parseInt(_0x30cbc5(0x223))/0x1+parseInt(_0x30cbc5(0x269))/0x2*(parseInt(_0x30cbc5(0x338))/0x3)+parseInt(_0x30cbc5(0x2bc))/0x4*(-parseInt(_0x30cbc5(0x21f))/0x5)+-parseInt(_0x30cbc5(0xe0))/0x6*(parseInt(_0x30cbc5(0x353))/0x7)+-parseInt(_0x30cbc5(0x2d0))/0x8+parseInt(_0x30cbc5(0x12f))/0x9*(-parseInt(_0x30cbc5(0x254))/0xa)+parseInt(_0x30cbc5(0x327))/0xb;if(_0x5f236a===_0xb5dac9)break;else _0xcfea3a['push'](_0xcfea3a['shift']());}catch(_0x990cf4){_0xcfea3a['push'](_0xcfea3a['shift']());}}}(_0x5d54,0x30619));var yi=Object[_0xce59e2(0x2f7)],Ni=(_0x129d83,_0x461a21,_0x29db9f)=>_0x461a21 in _0x129d83?yi(_0x129d83,_0x461a21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29db9f}):_0x129d83[_0x461a21]=_0x29db9f,N=(_0x5ee366,_0x98a92d,_0x40b655)=>Ni(_0x5ee366,typeof _0x98a92d!=_0xce59e2(0x28f)?_0x98a92d+'':_0x98a92d,_0x40b655);import{createIdentifier as _0x121bdc,Inject as _0xd3ba16,Injector as _0x347f26,IConfigService as _0x453892,ILogService as _0x5342d8,Disposable as _0x14b399,DisposableCollection as _0x54ef99,toDisposable as _0x35caa1,IUniverInstanceService as _0x26d41e,UserManagerService as _0x276a73,UniverInstanceType as _0x125792,Optional as _0x320aa9,RxDisposable as _0x4ea9ab,Tools as _0x3b93cf,Rectangle as _0xee37ed,ICommandService as _0x5d8f68,JSONX as _0x10f5e2,CommandType as _0x2c69e2,IUndoRedoService as _0x262b06,IPermissionService as _0x683183,LocaleService as _0x2575cc,sequenceExecute as _0x3335fa,Workbook as _0x2910f4,generateRandomId as _0x3abf27,MentionType as _0x25af66,isInternalEditorID as _0x96843d,LocalUndoRedoService as _0x3d3c25,IContextService as _0x355c00,DependentOn as _0x509cd1,Plugin as _0x128181,merge as _0x46a1fc,mergeOverrideWithDependencies as _0x3d4beb,IAuthzIoService as _0x3ea3af,IMentionIOService as _0x31e613,registerDependencies as _0x4083e3,Quantity as _0x4485c3,touchDependencies as _0x3ceb0d}from'@univerjs/core';import{Subject as _0x5802a1,merge as _0x20d0a4,of as _0x23d607,BehaviorSubject as _0x45fe1b,takeUntil as _0x483afb,ReplaySubject as _0x58fba1,take as _0x519828,map as _0x4017d8,shareReplay as _0x297766,firstValueFrom as _0x27491b,concatMap as _0x17545b}from'rxjs';import{map as _0x161964,take as _0x1c361a,filter as _0x355989,delay as _0x2a9890,takeUntil as _0x248e15}from'rxjs/operators';import{CollaborationEvent as _0x4333e6,ISnapshotServerService as _0x59aa30,parseChangesetToProtocol as _0x506792,ITransformService as _0x223ac4,isTransformMutationsWithChangesetSuccess as _0x3e8c0b,mapDocumentTypeToUniverType as _0x2eea6e,RevisionService as _0x4dff44,isTransformChangesetsSuccess as _0x227f49,CompressMutationService as _0x40b7f5,parseProtocolChangeset as _0x25d327,uuidv4 as _0x4ede0e,SnapshotService as _0x3cafbb,textEncoder as _0x2107a1,b64DecodeUnicode as _0x3ac12a,isTransformMutationsWithChangesetFailure as _0x420d0e,UniverCollaborationPlugin as _0x32389d}from'@univerjs-pro/collaboration';import{HTTPService as _0x313c9a,ISocketService as _0x4c4476,MergeInterceptorFactory as _0x38f652,HTTPRequest as _0x24e74d,UniverNetworkPlugin as _0x5a6d63,ThresholdInterceptorFactory as _0x2bd87e}from'@univerjs/network';import{ITelemetryService as _0x5ef6be}from'@univerjs/telemetry';import{RichTextEditingMutation as _0xc38ab2}from'@univerjs/docs';import{SheetsSelectionsService as _0xbf2f8b,SetSelectionsOperation as _0x4e2996,InsertSheetMutation as _0x470f0c,EmptyMutation as _0x3064fe,WorkbookEditablePermission as _0x3f8def,SheetPermissionInitController as _0x3e7c10}from'@univerjs/sheets';import{ImageSourceType as _0x5cf1e1,ImageUploadStatusType as _0x593807,IImageIoService as _0xc9ded7}from'@univerjs/drawing';function _0x5d54(){var _0x5a69ff=['Utf8','UPDATE_PERMISSION_OBJ','_onOffline','_transformUndoredo','_showConflictNotification','1731700YWBTGb','setCurrentUser','floor','/universer-api/oidc/authpage','title','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_PROJECT','rev','_change$','_reverseMap','_applyRemoteChangeset','size','eventID','format','[CollaborationUndoRedoService]','HEARTBEAT_INTERVAL','actions','connection\x20error','_waitCount','_isPermissionRej','LICENSE_IMPORT_SIZE_EXCEEDED','18792QoGwwA','_telemetryService','image/gif','localeService','CHANGESET_SHOULD_RETRY','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_undoRedoService','_checkMissing','YUUMI_AI_RUN_FAILED','now','Univer','getSheetId','onTransformIME','findIndex','_tryReconnect','mixIn','repeat','getCollabEntity$','_changesetReqId','LIVESHARE_REQUEST_HOST','_timeoutTimer','interceptor','OPTIONAL','_init','setConfig','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getUnitOnRev','getResourcesRequest','_pendingMutations','create','_fetchMissChangesets','entityInit$','setWaitCount','csShouldRetryEvent','CLOSE_ROOM','list','_handlerCallback','_localeService','symbol','shouldCloseConn','_state$','fetchThroughInterceptors','state$','updatePermissionPoint','_eventService','getSheetBlock','Cipher','SerializableCipher','/block/','loadSheet','_configService','_getSignURL','univer-pro.collaboration-client-socket-service','dispose','emitEvent','infoRsp','_shouldReportTelemetry','_queuedRemoteChangesets','HEARTBEAT_TIMEOUT','_acknowledgedAwaitingChangeset','_toggleOnline','map','allowed','addHandlerCallback','YUUMI_RATE_OVER_LIMIT','/collaborator','indexOf','_iv','kdf','univer-pro.collaboration-client.network-condition.service','_clearRedo','unitID','copyFileMeta','[FetchMissState]','_unlockTransition','_snapshotService','USER_NOT_INVITED_CODE','replace','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','mutations','POST','originalMeta','?url=','82312UYuXkp','setShowComponents','OpenSSL','_transformSelections','random','$super','_nRounds','transformStack\x20failed!','_userManagerService','INVALID_ARGUMENT','/rev/','onRemoteAck','session.join-failed','RETRY_CONNECTING_MAX_COUNT','_telemetryInfo','enableCollaboration','onRemoteRej','socket\x20open.','UNIVER_SHEET','getUnitStatus$','2419064SiZKuO','onRemoteRetry','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','uploadFileServerUrl','_decreaseWaiting','has','USERS_LEAVE','blockSize','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','every','catch','DEFAULT_FILE_NAME','selections','_socketMessageSubscription','asObservable','charCodeAt','_commandService','offline','ws://127.0.0.1:8000/universer-api/comb/connect','sid','_createHelper','isArray','retryConnectingInterval','[PendingState]:\x20received\x20acknowledgement.','_transitionLocked','Failed\x20to\x20update\x20permission\x20point','UUID','/unit/','PERMISSION_REJ','byteOffset','onRemoteChangeset','[CollaborationSessionService]','YUUMI_SUBSCRIPTION_NOT_FOUND','_onUserLeave','_transformRemoteChangesetByStateCache','type','onMissedChangesetFetched','SUCCUSS','open$','defineProperty','debug','close$','StreamCipher','data','getDeserializedSheetBlock','_networkConditionService','_throwTelemetryCollaborationNewChangeset','set','getTypeOfUnitAdded$','INVITE_CODE_HAS_BEEN_UES','algo','_univerInstanceService','finalize','slice','sin','_getUploadFileURL','_replayCachedMutations','PY_RUNTIME_SCRIPT_ERROR','delete','_onConnectionFailed','_exhaustRemoteChangesetQueue','_clearUndo','getValue','m2Prime','_permissionService','includes','_type','error','_imageSourceCache','SUBMIT_CHANGESET_TIMEOUT','string','action','CipherParams','patch','SHOULD_CLOSE_CONN','loadDoc','processBlock','_injector','_substituteRedoStack','_onConnectionOpen','_scheduleCompleteTimestamp','[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.','CHANGESET_REJ','reqId','words','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','updatePermissionObjEvent','6717073Jxevxh','subUnitId','_revisionService','fromCharCode','LICENSE_DISTRO_REJECTED','[SyncedState]:\x20received\x20rejection.','body','LICENSE_EXPORT_SIZE_EXCEEDED','_getDownloadEndpointURL','UNAUTHENTICATED','toString','onCommentUpdate','forEach','UNIVER_UNKNOWN','_commentUpdate$','SNAPSHOT_HAS_BEEN_REMOVED','init','114CXtCjd','_updateLocalCache','awaitingChangeset','resend','cfg','createEncryptor','_socketService','_doReset','batchAllowed','fromCollab','UNISCRIPT_RUN','UPDATE_CURSOR','_onUserJoin','_initUnitPermissionChange','[SyncedState]:\x20received\x20acknowledgement.','href','routeKey','_HTTPService','NoPadding','_retryCount','/-/object/-/batch_allowed','onStarting','FETCH_MISSING','send','_prevBlock','_tryEnsureSocket','deepClone','14BjiClO','concat','resolve','executeCommand','toggleOnline','INGEST','collaboration-client.local-cache-service','INVITE_CODE_ALREADY_BOUND','sessionStatus','unitInfo$','_lockTransition','PERSON','_onRemoteRetry','_createHmacHelper','appendMutation','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_process','NOT_FOUND','HttpExport','ciphertext','_sendHeartbeat','closeSession','lib','RECV','charAt','_event$','src','_listenToNetworkCondition','_transformRemoteChangesetByIMECache','_entities','code','ONLINE','_httpService','getCurrentUser','_startCollaboration','_unitID','_syncEditingCollabCursor','csAckEvent','transformMutationsWithChangeset','SNAPSHOT_URL_KEY','_xformMode','_members$','saveChangeset','getWorkbookSelections','pluginName','location','prototype','onTransformSelections','_getAPIPrefix','/allowed','MD5','confirm','failed\x20to\x20apply\x20missed\x20changesets!','pipe','_onJoinRoomEvent','_localCacheService','_socketReady','joinRsp','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','decryptBlock','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getCtorByUniverType','&to=','_initCloseConn','__Key__','_status$','[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','OTHER_CLIENTS_EDITING','getImageSourceCache','from','ERROR_IMAGE','_emitMembers','_resendTimer','revision','file','_transformService','parse','hasOwnProperty','JOIN_ROOM_FAILED','reject','MUTATION','createDecryptor','_collaborationUIEventService','socket\x20close','_createSocket','_onRemoteChangeset','focused$','YUUMI_ASYNCIO_CANCELLED','range','AWAITING_WITH_PENDING','fetch_missing','_substituteUndoStack','JOINING','buffer','LIVESHARE_FETCH_OPERATIONS','JOIN_ROOM_NOT_EXISTS','/role','HmacSHA1','fetching\x20missing\x20changesets\x20from\x20','error$','randomBytes','UNIVER_COLLABORATION_CLIENT_PLUGIN','AWAITING','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onRemoteACK','COMPRESS_MUTATION_APPLY','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','univer-pro.collaboration-client.single-active-unit-service','/universer-api/stream/file/upload','c2Prime','editingUnit','_compressMutationService','_scheduleCollaborationTimeoutTimer','registerHTTPInterceptor','getOwnPropertyDescriptor','pad','authzUrl','saveSnapshot','result','_entityInit$','memberID','_doFinalize','_createInitialState','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','image/bmp','updateMember','TOO_MANY_REQUESTS','subject','submit\x20changeset\x20error!','getMember','APPLY_PERMISSION_DENIED','COMMENT_UPDATE','getCurrentSelections','values','put','requestParams','userID','LICENSE_MAX_UNITS_EXCEEDED','append','loadUnitOfRevision','_clearTimeoutTimer','ivSize','getRandomValues','createCollaborator','_retryConnectingTimer','Malformed\x20UTF-8\x20data','_doCryptBlock','YUUMI_ALL_TABLES_IS_INVALID','UnitEmbedded','onlyLocal','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','{fileID}','_changesetSessionId','getCollabEntity','getAllMembers','getLatestCsReqIdBySid','change$','join','close','727980wMiUJi','ceil','_clearLocalCache','_schedule','GLOBAL_ROOMS_CNT_EXCEEDS','APPLY_DUPLICATED','ENSURE_SNAPSHOT_EXECUTION','stringify','_rescheduleHeartbeat','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_UNABLE_LOAD_URL','editing\x20status\x20changed\x20to','CHANGESET_ACK','initWorkbookPermissionChange','_clearHeartbeatTimer','loadOfflineData','clone','UserProfileImg','WordArray','APPLY_REVISION_CONFILICT','post','_awaitingChangeset','_onFetchMissResult','LOCAL_CACHE_INTERVAL','complete','_updateStatus','_createHandler','createInstance','cmd','/universer-api/user/session-ticket','SNAPSHOT_INVALID_SNAPSHOT','_sender','transformUndoRedo','_sendingTimer','unpad','waitForRoom$','execute','members','exports','_sessions','params','/universer-api/snapshot/','EMAIL_HAS_BEEN_BOUND','People','UNDEFINED','_replaceFileID','SOCKET_FAILED_RETRY','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_getRedoStack','[OfflineState]:\x20received\x20acknowledgement.','collaborators','[CollaborationSession]','status$','_toggleOffline','getUnit','_snapshotServerService','BASE64','commentUpdate$','csRejEvent','PERMISSION_DENIED','Base64','avatar','_invKeySchedule','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Undefined','_socket','OTHER_CLIENT_EDITING','state','PSEUDO_FETCH_MISSING_RESULT','\x20-\x20','_getSendChangesetTimeout','_append','_onRemoteRejected','subscribe','_instanceService','onSyncEditingCollabCursor','_remoteChangesetQueue','UNIVER_SLIDE','image/png','18vHwnmr','readAsDataURL','ALREADY_EXISTS','get','EvpKDF','updateOfflineData','origin','enc','clear','NO_OTHER_CLIENTS_EDITING','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_transformStack','[DataLoaderService]','reconnect','_onCombEvent','_candidateSocket','getConfig','filter','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[OfflineState]:\x20received\x20rejection.','_collaborationTimeoutTimer','reset','HEARTBEAT','_onConflict','next','key','_joinRoom','UNKNOWN_CMD','AES','_submitChangeset','_clearScheduledTask','_sessionStatus$','onTransformRemoteChangesetByStateCache','__creator','_config','decrypt','COMPRESS_MUTATION_SEND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','find','sigBytes','UnitSnapshot','YUUMI_CONNECTOR_URL_NOT_FOUND','_resendWithTimeout','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/authz','BufferedBlockAlgorithm','_socket$','putCollaborators','_clearRetryConnectingTimer','enableAuthServer','_updateState','JOIN','textRanges','JOIN_ROOM_PERMISSION_DENIED','_resendTimeout','onMissingChangesets','message$','localCacheService','/universer-api/uniscript','startTime','formatter','liveShareOperation','headers','_oKey','responseType','getTime','addImageSourceCache','onCommandExecuted','url','PENDING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','min','_members','UNRECOGNIZED','CONFLICT','resourceIDs','_hash','socketService','Base','msCrypto','/fetchmissing?from=','iterations','MSG_FOR_ERROR','/universer-api/file/{fileID}/sign-url','getUnitType','joinEvent','name','_memberService','event$','getSnapshotAPIPath','getTypeOfUnitDisposed$','UNIVER_DOC','ERROR_IMAGE_TYPE','_mode','_transformIMECache','_clearCollaborationTimeoutTimer','_key','_DEC_XFORM_MODE','transformSelections','snapshotServerUrl','_minBufferSize','permissionRejEvent','_initDependencies','compose','_commentService','?size=','override','leaveEvent','MOBILE_VERIFY_CODE_MISMATCH','_stopTelemetryCollaborationNewChangeset','_getUndoStack','[CollaborationSessionService]:\x20socket\x20error','Hasher','splice','_collaborationSessionService','hasher','Encryptor','clamp','toggleOffline','IDLE','[CollaborationEntity]','push','snapshot','objectType','update','\x20in\x20_schedule.','sessionStatus$','OFFLINE','extend','_handler','_doProcessBlock','crypto','_redoStacks','CHANGESET_REVISION_CONFILICT','padding','roomInfos','/resources','_incrementRevisionNumber','reverse','collaboration_new_changeset','_transformStateCache','objectID','_sheetTransformSelectionsService','_doCreateSocket','_initRequestHeader','entries','Pkcs7','_onLocalMutation','JOIN_ROOM_FULL','salt','encrypt','LIVESHARE_TERMINATE','HmacMD5','YUUMI_NO_CUBOID_FOR_QUESTION','removeMember','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','changesets','status','length','fetchMissingChangesets','requireSession','/object/','downloadEndpointUrl','pending','session','_ENC_XFORM_MODE','SHA1','INVITE_CODE_REQUIRED','onStateChange','MOBILE_HAS_BEEN_BOUND','COMPLETION_FINISHED','_onMessage','fetchMiss','&source=','keySize','_getCurrentRevision','session.room-full','awaiting','_getLoginPath','\x0aAfter:\x20','_data','compute','encryptBlock','workbook','objectActions','LIVESHARE_OPERATION','onSendChangeset','_registerDependencies','dispose$','stopTime','collaMsg','image/jpg','/-/object/list','unitId\x20is\x20not\x20found','FETCH_MISS','deleteCollaborator','uniscriptRunEvent','_roomCreated$','FAIL','_unitInfo$','_createInitialStateImpl','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','target','call','onLocalMutation','NOT_COLLAB','_hasher','/universer-api/snapshot','listCollaborators','sheets','_state','_executeRemoteChangeset','_singleActiveUnitService','FileId','getUnitId','encodeURIComponent','_removeRoom','_keyPriorReset','WECHAT_HAS_BEEN_BOUND','_initMergeInterceptor','LOGIN_FAILED','c1Prime','_disableEditing','_getAPIPrefixPath','apply','CONNECTOR_DATA_TOO_LARGE','INTERNAL_ERROR','function','_keySchedule','INVALID_INVITE_CODE','session.room-not-exists','LIVESHARE_NEW_HOST','/object','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','max','_waitForHeartbeatResponse','SOCKET_FAILED','_cipher','getRoom','60mQMOlh','loadUnit','_map','HttpImport','368797zRfNLN','add','Decryptor','USERS_ENTER','HMAC','refreshPermission','_collabSessionService','_nDataBytes','_roomMembers','enableOfflineEditing','disposeWithMe','getFocusedUnit','createSocket','PasswordBasedCipher','NEW_CHANGESETS','isPermissionRej','HELLO','baseRev','conflict','unknown','YUUMI_TABLE_NOT_FOUND_IN_UNIT','\x0aCurrent:\x20','reduce','byteLength','_collaborationPaused','LEAVE','onTransformState','not_collab','onTransformRemoteChangesetByIMECache','SUBMIT_CHANGESET','_logService','save\x20fail\x20reason\x20is\x20','getCurrentRevOfUnit','getMemberID','APPLY_NON_SEQUENTIAL_REVISION','getInterceptPoints','CBC','BlockCipher','unitId','unsubscribe','BlockCipherMode','image/jpeg','unit-cache-','_sendHeartbeatTimer'];_0x5d54=function(){return _0x5a69ff;};return _0x5d54();}import{getGlobalObject as _0x38345b}from'@univerjs-pro/license';const fs=_0xce59e2(0x1ff),vs=_0xce59e2(0x37a),ps=0x7d0,ms=_0xce59e2(0x2e2),Ir=_0xce59e2(0xfd),gs=_0xce59e2(0x263),Ss=0x7530,di=_0xce59e2(0x2a3),fi=0x4e20,Es=0x4e20,Is=_0xce59e2(0x2c9),Ts=0x3,Tr=_0xce59e2(0xf7),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0xce59e2(0x257),Rr=_0xce59e2(0x7a),Or=_0xce59e2(0x16a);var vi=(_0xf9828a=>(_0xf9828a[_0xf9828a[_0xce59e2(0x10c)]=0x0]=_0xce59e2(0x10c),_0xf9828a[_0xf9828a['OK']=0x1]='OK',_0xf9828a[_0xf9828a['INTERNAL_ERROR']=0x2]=_0xce59e2(0x212),_0xf9828a[_0xf9828a[_0xce59e2(0x11b)]=0x3]='PERMISSION_DENIED',_0xf9828a[_0xf9828a[_0xce59e2(0x364)]=0x4]=_0xce59e2(0x364),_0xf9828a[_0xf9828a[_0xce59e2(0x330)]=0x5]=_0xce59e2(0x330),_0xf9828a[_0xf9828a[_0xce59e2(0x131)]=0x6]=_0xce59e2(0x131),_0xf9828a[_0xf9828a[_0xce59e2(0x2c5)]=0x7]=_0xce59e2(0x2c5),_0xf9828a[_0xf9828a['TOO_MANY_REQUESTS']=0x8]=_0xce59e2(0xbf),_0xf9828a[_0xf9828a[_0xce59e2(0x1da)]=0x9]=_0xce59e2(0x1da),_0xf9828a[_0xf9828a[_0xce59e2(0x20c)]=0xa]=_0xce59e2(0x20c),_0xf9828a[_0xf9828a[_0xce59e2(0x19c)]=0xb]=_0xce59e2(0x19c),_0xf9828a[_0xf9828a[_0xce59e2(0x176)]=0xc]=_0xce59e2(0x176),_0xf9828a[_0xf9828a[_0xce59e2(0xe9)]=0xd]=_0xce59e2(0xe9),_0xf9828a[_0xf9828a['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xce59e2(0x259),_0xf9828a[_0xf9828a[_0xce59e2(0x1b5)]=0x1389]=_0xce59e2(0x1b5),_0xf9828a[_0xf9828a[_0xce59e2(0xfe)]=0x1771]=_0xce59e2(0xfe),_0xf9828a[_0xf9828a[_0xce59e2(0x336)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xf9828a[_0xf9828a[_0xce59e2(0xe6)]=0x1773]=_0xce59e2(0xe6),_0xf9828a[_0xf9828a['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0xf9828a[_0xf9828a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xce59e2(0x245),_0xf9828a[_0xf9828a['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xce59e2(0xf3),_0xf9828a[_0xf9828a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xce59e2(0xc3),_0xf9828a[_0xf9828a[_0xce59e2(0xe5)]=0x1b5d]=_0xce59e2(0xe5),_0xf9828a[_0xf9828a[_0xce59e2(0x211)]=0x1f41]=_0xce59e2(0x211),_0xf9828a[_0xf9828a[_0xce59e2(0xca)]=0x2329]=_0xce59e2(0xca),_0xf9828a[_0xf9828a[_0xce59e2(0xd7)]=0x232a]=_0xce59e2(0xd7),_0xf9828a[_0xf9828a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xce59e2(0x268),_0xf9828a[_0xf9828a[_0xce59e2(0x32e)]=0x232c]=_0xce59e2(0x32e),_0xf9828a[_0xf9828a[_0xce59e2(0x32b)]=0x232d]=_0xce59e2(0x32b),_0xf9828a[_0xf9828a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xce59e2(0xea),_0xf9828a[_0xf9828a[_0xce59e2(0x155)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xf9828a[_0xf9828a[_0xce59e2(0x2a9)]=0x2713]=_0xce59e2(0x2a9),_0xf9828a[_0xf9828a[_0xce59e2(0x2f0)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xf9828a[_0xf9828a[_0xce59e2(0x1c9)]=0x271a]=_0xce59e2(0x1c9),_0xf9828a[_0xf9828a[_0xce59e2(0x98)]=0x271b]=_0xce59e2(0x98),_0xf9828a[_0xf9828a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xce59e2(0x237),_0xf9828a[_0xf9828a[_0xce59e2(0xd4)]=0x271d]=_0xce59e2(0xd4),_0xf9828a[_0xf9828a['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xce59e2(0x154),_0xf9828a[_0xf9828a[_0xce59e2(0x271)]=0x271f]=_0xce59e2(0x271),_0xf9828a[_0xf9828a['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0xce59e2(0x159),_0xf9828a[_0xf9828a[_0xce59e2(0x309)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xf9828a[_0xf9828a[_0xce59e2(0x301)]=0x2ee1]=_0xce59e2(0x301),_0xf9828a[_0xf9828a[_0xce59e2(0x215)]=0x2ee2]=_0xce59e2(0x215),_0xf9828a[_0xf9828a[_0xce59e2(0x1d7)]=0x2ee3]=_0xce59e2(0x1d7),_0xf9828a[_0xf9828a['USER_NOT_INVITED_CODE']=0x2ee4]=_0xce59e2(0x2b5),_0xf9828a[_0xf9828a[_0xce59e2(0x35a)]=0x2ee5]=_0xce59e2(0x35a),_0xf9828a[_0xf9828a[_0xce59e2(0x20a)]=0x32c9]=_0xce59e2(0x20a),_0xf9828a[_0xf9828a[_0xce59e2(0x1d9)]=0x32ca]=_0xce59e2(0x1d9),_0xf9828a[_0xf9828a[_0xce59e2(0x10a)]=0x32cb]=_0xce59e2(0x10a),_0xf9828a[_0xf9828a[_0xce59e2(0x179)]=-0x1]='UNRECOGNIZED',_0xf9828a))(vi||{}),Z=(_0x54a915=>(_0x54a915[_0x54a915[_0xce59e2(0x334)]=0x0]=_0xce59e2(0x334),_0x54a915[_0x54a915['UNIVER_DOC']=0x1]=_0xce59e2(0x18b),_0x54a915[_0x54a915[_0xce59e2(0x2ce)]=0x2]=_0xce59e2(0x2ce),_0x54a915[_0x54a915[_0xce59e2(0x12d)]=0x3]=_0xce59e2(0x12d),_0x54a915[_0x54a915[_0xce59e2(0x25a)]=0x4]=_0xce59e2(0x25a),_0x54a915[_0x54a915[_0xce59e2(0x179)]=-0x1]=_0xce59e2(0x179),_0x54a915))(Z||{}),F=(_0x4b573a=>(_0x4b573a[_0x4b573a[_0xce59e2(0x14a)]=0x0]=_0xce59e2(0x14a),_0x4b573a[_0x4b573a[_0xce59e2(0x233)]=0x1]='HELLO',_0x4b573a[_0x4b573a[_0xce59e2(0x163)]=0x2]=_0xce59e2(0x163),_0x4b573a[_0x4b573a['LEAVE']=0x3]=_0xce59e2(0x23c),_0x4b573a[_0x4b573a[_0xce59e2(0x358)]=0x4]=_0xce59e2(0x358),_0x4b573a[_0x4b573a['HEARTBEAT']=0x5]='HEARTBEAT',_0x4b573a[_0x4b573a['RECV']=0x6]=_0xce59e2(0x36a),_0x4b573a[_0x4b573a['UNRECOGNIZED']=-0x1]=_0xce59e2(0x179),_0x4b573a))(F||{}),pe=(_0x471a8a=>(_0x471a8a[_0x471a8a['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x471a8a[_0x471a8a['OK']=0x1]='OK',_0x471a8a[_0x471a8a[_0xce59e2(0x1f6)]=0x2]='FAIL',_0x471a8a[_0x471a8a[_0xce59e2(0x1c4)]=0x3e9]='JOIN_ROOM_FULL',_0x471a8a[_0x471a8a['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0xce59e2(0xa0),_0x471a8a[_0x471a8a[_0xce59e2(0x165)]=0x3eb]=_0xce59e2(0x165),_0x471a8a[_0x471a8a[_0xce59e2(0xe4)]=0x3ec]=_0xce59e2(0xe4),_0x471a8a[_0x471a8a[_0xce59e2(0x179)]=-0x1]=_0xce59e2(0x179),_0x471a8a))(pe||{}),pi=(_0xa5e0fa=>(_0xa5e0fa[_0xa5e0fa[_0xce59e2(0x120)]=0x0]='Undefined',_0xa5e0fa[_0xa5e0fa[_0xce59e2(0x222)]=0x1]=_0xce59e2(0x222),_0xa5e0fa[_0xa5e0fa[_0xce59e2(0x365)]=0x2]='HttpExport',_0xa5e0fa[_0xa5e0fa[_0xce59e2(0xd5)]=0x3]=_0xce59e2(0xd5),_0xa5e0fa[_0xa5e0fa[_0xce59e2(0x158)]=0x4]=_0xce59e2(0x158),_0xa5e0fa[_0xa5e0fa[_0xce59e2(0xf1)]=0x5]=_0xce59e2(0xf1),_0xa5e0fa[_0xa5e0fa[_0xce59e2(0x179)]=-0x1]=_0xce59e2(0x179),_0xa5e0fa))(pi||{});const K='collaboration-client.config',Os={};var ne=(_0x194593=>(_0x194593[_0xce59e2(0x122)]=_0xce59e2(0x122),_0x194593['PERMISSION_DENIED']=_0xce59e2(0x11b),_0x194593['CONFLICT']=_0xce59e2(0x17a),_0x194593['CLOSE_ROOM']='CLOSE_ROOM',_0x194593['JOIN_ROOM_FAILED']=_0xce59e2(0x8f),_0x194593[_0xce59e2(0x10e)]=_0xce59e2(0x10e),_0x194593[_0xce59e2(0x21c)]='SOCKET_FAILED',_0x194593[_0xce59e2(0x315)]=_0xce59e2(0x315),_0x194593))(ne||{});class ve{constructor(){var _0x3a8a43=_0xce59e2;N(this,'_event$',new _0x5802a1()),N(this,'event$',this[_0x3a8a43(0x36c)][_0x3a8a43(0x2de)]());}[_0xce59e2(0x29f)](_0x311f9e){var _0x5425a4=_0xce59e2;this[_0x5425a4(0x36c)][_0x5425a4(0x147)](_0x311f9e);}}const bs=_0x121bdc(_0xce59e2(0x2ae));function ys(_0x20e674){var _0x42b124=_0xce59e2,_0x297cb4,_0x16c23f,_0x2a3153,_0x2e30a3,_0x205f58;const _0x5149b6=_0x20e674[_0x42b124(0x2fb)],_0x235722=JSON['parse'](_0x5149b6);switch(_0x235722[_0x42b124(0xfc)]){case F[_0x42b124(0x145)]:case F['HELLO']:{const _0x2394e4=_0x235722[_0x42b124(0x2a0)];return{..._0x235722,'data':_0x2394e4,'cmd':_0x235722['cmd']};}case F[_0x42b124(0x163)]:{const _0x2b6afa=_0x235722[_0x42b124(0x79)];return{..._0x235722,'data':_0x2b6afa,'cmd':_0x235722['cmd']};}case F[_0x42b124(0x36a)]:{const _0x55a90a=_0x235722[_0x42b124(0x1ee)];switch(_0x55a90a[_0x42b124(0x260)]){case _0x4333e6[_0x42b124(0x2ec)]:return{..._0x235722,'data':{..._0x55a90a,'data':(_0x297cb4=_0x55a90a[_0x42b124(0x195)])==null?void 0x0:_0x297cb4['cs']},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0xec)]:return{..._0x235722,'data':{..._0x55a90a,'data':(_0x16c23f=_0x55a90a[_0x42b124(0x378)])==null?void 0x0:_0x16c23f['cs']},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0x231)]:return{..._0x235722,'data':{..._0x55a90a,'data':(_0x2a3153=_0x55a90a['newCsEvent'])==null?void 0x0:_0x2a3153['cs']},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6['CHANGESET_REJ']:return{..._0x235722,'data':{..._0x55a90a,'data':(_0x2e30a3=_0x55a90a[_0x42b124(0x11a)])==null?void 0x0:_0x2e30a3['cs']},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6['CHANGESET_SHOULD_RETRY']:return{..._0x235722,'data':{..._0x55a90a,'data':(_0x205f58=_0x55a90a[_0x42b124(0x28a)])==null?void 0x0:_0x205f58['cs']},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0x343)]:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a['updateCursorEvent']},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0x226)]:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a[_0x42b124(0x185)]},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0x2d6)]:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a[_0x42b124(0x19b)]},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0x217)]:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a['liveShareNewHost']},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0x9f)]:case _0x4333e6[_0x42b124(0x1e9)]:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a[_0x42b124(0x16d)]},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6['LIVESHARE_TERMINATE']:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a['liveShareNewHost']},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0x182)]:return{..._0x235722,'data':_0x55a90a,'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6['COMMENT_UPDATE']:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a['commentUpdateEvent']},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0x250)]:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a[_0x42b124(0x326)]},'cmd':_0x235722['cmd']};case _0x4333e6[_0x42b124(0x31a)]:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a[_0x42b124(0x290)]},'cmd':_0x235722[_0x42b124(0xfc)]};case _0x4333e6[_0x42b124(0x342)]:return{..._0x235722,'data':{..._0x55a90a,'data':_0x55a90a[_0x42b124(0x1f4)]},'cmd':_0x235722[_0x42b124(0xfc)]};default:return _0x235722;}}default:return _0x235722;}}function Ns(_0x3c667d){var _0x1cc7d6=_0xce59e2;switch(_0x3c667d[_0x1cc7d6(0xfc)]){case F[_0x1cc7d6(0x145)]:case F['HELLO']:return JSON[_0x1cc7d6(0xe7)]({'cmd':_0x3c667d['cmd'],'routeKey':_0x3c667d['routeKey']});case F[_0x1cc7d6(0x358)]:{let _0x5c2607;switch(_0x3c667d[_0x1cc7d6(0x2fb)][_0x1cc7d6(0x260)]){case _0x4333e6[_0x1cc7d6(0x343)]:{_0x5c2607={'eventID':_0x4333e6[_0x1cc7d6(0x343)],'updateCursorEvent':_0x3c667d['data'][_0x1cc7d6(0x2fb)]};break;}case _0x4333e6[_0x1cc7d6(0x2d6)]:{_0x5c2607={'eventID':_0x4333e6['USERS_LEAVE'],'leaveEvent':_0x3c667d[_0x1cc7d6(0x2fb)][_0x1cc7d6(0x2fb)]};break;}case _0x4333e6[_0x1cc7d6(0x226)]:{_0x5c2607={'eventID':_0x4333e6[_0x1cc7d6(0x226)],'joinEvent':_0x3c667d[_0x1cc7d6(0x2fb)][_0x1cc7d6(0x2fb)]};break;}case _0x4333e6[_0x1cc7d6(0x217)]:{_0x5c2607={'eventID':_0x4333e6[_0x1cc7d6(0x217)],'liveShareNewHost':_0x3c667d['data']['data']};break;}case _0x4333e6[_0x1cc7d6(0x1e9)]:{_0x5c2607={'eventID':_0x4333e6[_0x1cc7d6(0x1e9)],'liveShareOperation':_0x3c667d['data'][_0x1cc7d6(0x2fb)]};break;}case _0x4333e6['LIVESHARE_TERMINATE']:{_0x5c2607={'eventID':_0x4333e6[_0x1cc7d6(0x1c7)],'liveShareTerminate':_0x3c667d[_0x1cc7d6(0x2fb)][_0x1cc7d6(0x2fb)]};break;}case _0x4333e6[_0x1cc7d6(0x27c)]:{_0x5c2607={'eventID':_0x4333e6[_0x1cc7d6(0x27c)],'liveShareRequestHost':_0x3c667d['data']['data']};break;}case _0x4333e6['LIVESHARE_FETCH_OPERATIONS']:{_0x5c2607={'eventID':_0x4333e6[_0x1cc7d6(0x9f)]};break;}default:_0x5c2607={'eventID':_0x3c667d[_0x1cc7d6(0x2fb)]['eventID']};}return JSON[_0x1cc7d6(0xe7)]({'cmd':_0x3c667d[_0x1cc7d6(0xfc)],'routeKey':_0x3c667d['routeKey'],'collaMsg':_0x5c2607});}case F[_0x1cc7d6(0x163)]:return JSON[_0x1cc7d6(0xe7)]({'cmd':_0x3c667d[_0x1cc7d6(0xfc)],'routeKey':_0x3c667d[_0x1cc7d6(0x348)],'joinReq':_0x3c667d[_0x1cc7d6(0x2fb)]});case F['LEAVE']:return JSON[_0x1cc7d6(0xe7)]({'cmd':_0x3c667d[_0x1cc7d6(0xfc)],'routeKey':_0x3c667d[_0x1cc7d6(0x348)],'leaveReq':_0x3c667d[_0x1cc7d6(0x2fb)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ds=Object[_0xce59e2(0xb3)],Us=(_0x3aee5e,_0x5aeda8,_0x4b64a0,_0x4f6f97)=>{for(var _0x4c77dc=_0x4f6f97>0x1?void 0x0:_0x4f6f97?Ds(_0x5aeda8,_0x4b64a0):_0x5aeda8,_0x4f1117=_0x3aee5e['length']-0x1,_0x443ff2;_0x4f1117>=0x0;_0x4f1117--)(_0x443ff2=_0x3aee5e[_0x4f1117])&&(_0x4c77dc=_0x443ff2(_0x4c77dc)||_0x4c77dc);return _0x4c77dc;},De=(_0x28fa56,_0x4ab221)=>(_0x391b6e,_0x35596f)=>_0x4ab221(_0x391b6e,_0x35596f,_0x28fa56);const mi=_0x121bdc(_0xce59e2(0x29d));function As(_0x37435f,_0x344315,_0x40bee4){var _0x289177=_0xce59e2;return _0x37435f+'/'+_0x344315+_0x289177(0x2eb)+_0x40bee4+'/new_changes';}let Ft=class extends _0x14b399{constructor(_0x364187,_0x3b3585,_0x470558,_0x156961,_0x3db8c4){var _0x21f539=_0xce59e2;super(),this[_0x21f539(0x31d)]=_0x364187,this[_0x21f539(0x373)]=_0x3b3585,this[_0x21f539(0x29b)]=_0x470558,this[_0x21f539(0x241)]=_0x156961,this[_0x21f539(0x117)]=_0x3db8c4;}[_0xce59e2(0x1bf)](_0x2eb89b){var _0x41e6e8=_0xce59e2;const _0x4235f3=this[_0x41e6e8(0x31d)]['get'](_0x4c4476);if(!_0x4235f3)throw new Error(_0x41e6e8(0x141));const _0x32795b=_0x4235f3[_0x41e6e8(0x22f)](_0x2eb89b);if(!_0x32795b)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x43d91a=new _0x54ef99(),_0x19b762=new _0x5802a1();_0x43d91a[_0x41e6e8(0x224)](_0x32795b[_0x41e6e8(0x2f9)][_0x41e6e8(0x129)](_0x2784c6=>_0x19b762[_0x41e6e8(0x147)](_0x2784c6))),_0x43d91a['add'](_0x35caa1(()=>_0x19b762[_0x41e6e8(0xf8)]()));const _0x4d0f3b=new _0x5802a1();_0x43d91a[_0x41e6e8(0x224)](_0x32795b['error$'][_0x41e6e8(0x129)](_0x374927=>_0x4d0f3b[_0x41e6e8(0x147)](_0x374927))),_0x43d91a[_0x41e6e8(0x224)](_0x35caa1(()=>_0x4d0f3b[_0x41e6e8(0xf8)]()));const _0x5d0aa8=new _0x5802a1();_0x43d91a[_0x41e6e8(0x224)](_0x32795b[_0x41e6e8(0x168)]['subscribe'](_0x51972e=>{var _0x139d42=_0x41e6e8;const _0x39d2c6=ys(_0x51972e);_0x5d0aa8[_0x139d42(0x147)](_0x39d2c6);})),_0x43d91a[_0x41e6e8(0x224)](_0x35caa1(()=>_0x5d0aa8['complete']()));let _0x3df43a;const _0x296c0d=()=>{var _0x34c2c3=_0x41e6e8;_0x4d0f3b[_0x34c2c3(0x147)](new Event('connection\x20error')),_0x19b762[_0x34c2c3(0x147)](new Event(_0x34c2c3(0x265))),_0x3df43a[_0x34c2c3(0xdf)]();};return _0x3df43a={'memberID':'','close$':_0x19b762['asObservable'](),'error$':_0x4d0f3b[_0x41e6e8(0x2de)](),'open$':_0x32795b[_0x41e6e8(0x2f6)],'message$':_0x5d0aa8[_0x41e6e8(0x2de)](),'send':_0x3d4610=>{var _0x4a99c7=_0x41e6e8;if(_0x3d4610[_0x4a99c7(0xfc)]===F[_0x4a99c7(0x358)]){if(_0x3d4610['data'][_0x4a99c7(0x260)]===_0x4333e6[_0x4a99c7(0x240)]){this['_submitChangeset'](_0x3df43a,_0x3d4610[_0x4a99c7(0x2fb)])[_0x4a99c7(0x2da)](_0x58e5ad=>{var _0x4a4067=_0x4a99c7;this[_0x4a4067(0x241)][_0x4a4067(0x313)](_0x58e5ad),_0x296c0d();});return;}if(_0x3d4610['data'][_0x4a99c7(0x260)]===_0x4333e6['FETCH_MISSING']){const _0x5d8a8b=_0x3d4610[_0x4a99c7(0x2fb)];this['_fetchMissChangesets'](_0x5d8a8b)['then'](_0x31bc44=>{var _0x529a5e=_0x4a99c7;_0x5d0aa8[_0x529a5e(0x147)]({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0x5d8a8b[_0x529a5e(0x2fb)]['unitID'],'routeType':'','data':{'eventID':_0x4333e6[_0x529a5e(0x124)],'data':{'changesets':_0x31bc44}}});})[_0x4a99c7(0x2da)](_0x4cdc99=>{var _0xeaae23=_0x4a99c7;this[_0xeaae23(0x241)]['error'](_0x4cdc99),_0x296c0d();});return;}}_0x32795b[_0x4a99c7(0x34f)](Ns(_0x3d4610));},'close':()=>{var _0x5c10f0=_0x41e6e8;_0x32795b[_0x5c10f0(0xdf)](),_0x43d91a[_0x5c10f0(0x29e)]();}},_0x3df43a;}async[_0xce59e2(0x14c)](_0x21fa59,_0x461831){var _0x19d237=_0xce59e2,_0x483f53;const {unitType:_0x4222f3,unitID:_0x13e884,changeset:_0x45a263}=_0x461831[_0x19d237(0x2fb)],_0x153654={'unitID':_0x13e884,'memberID':_0x21fa59[_0x19d237(0xb9)],'type':_0x4222f3,'changeset':_0x506792(_0x45a263)},_0x358079=this[_0x19d237(0x29b)][_0x19d237(0x13f)](K),_0x35fa51=As((_0x483f53=_0x358079==null?void 0x0:_0x358079['collabSubmitChangesetUrl'])!=null?_0x483f53:Cs,_0x4222f3,_0x13e884);try{await this[_0x19d237(0x373)][_0x19d237(0xf4)](_0x35fa51,{'body':_0x153654});}catch(_0x1e19ab){throw this[_0x19d237(0x241)][_0x19d237(0x313)]('[CollaborationSession]',_0x19d237(0xc1)),_0x1e19ab;}}async[_0xce59e2(0x287)](_0x1d09b6){var _0x5eef87=_0xce59e2;const {unitID:_0x5a73b9,from:_0x2a9f3b,to:_0x38e2a7,unitType:_0x24e4bd}=_0x1d09b6[_0x5eef87(0x2fb)];return(await this[_0x5eef87(0x117)][_0x5eef87(0x1cf)]({'metadata':void 0x0},{'unitID':_0x5a73b9,'type':_0x24e4bd,'from':_0x2a9f3b,'to':_0x38e2a7}))[_0x5eef87(0x1cc)];}};Ft=Us([De(0x0,_0xd3ba16(_0x347f26)),De(0x1,_0xd3ba16(_0x313c9a)),De(0x2,_0x453892),De(0x3,_0x5342d8),De(0x4,_0x59aa30)],Ft);const ws=_0xce59e2(0x1bb);function Ps(_0x2feab4){var _0x2d6147=_0xce59e2;return JSON[_0x2d6147(0xe7)](_0x2feab4)[_0x2d6147(0x1ce)];}class gi{constructor(){var _0x403614=_0xce59e2;N(this,_0x403614(0x335),new _0x5802a1()),N(this,_0x403614(0x119),this['_commentUpdate$'][_0x403614(0x2de)]());}[_0xce59e2(0x332)](_0x381bc4){var _0x584e83=_0xce59e2;this['_commentUpdate$'][_0x584e83(0x147)](_0x381bc4);}}var Ms=Object[_0xce59e2(0xb3)],Ls=(_0x2d12c8,_0x168305,_0x3ad70e,_0x5e9fd8)=>{var _0x100882=_0xce59e2;for(var _0x4acb09=_0x5e9fd8>0x1?void 0x0:_0x5e9fd8?Ms(_0x168305,_0x3ad70e):_0x168305,_0x1e4037=_0x2d12c8[_0x100882(0x1ce)]-0x1,_0x5001bf;_0x1e4037>=0x0;_0x1e4037--)(_0x5001bf=_0x2d12c8[_0x1e4037])&&(_0x4acb09=_0x5001bf(_0x4acb09)||_0x4acb09);return _0x4acb09;},Vt=(_0x4277cb,_0x22f26e)=>(_0x54d444,_0x1fafc4)=>_0x22f26e(_0x54d444,_0x1fafc4,_0x4277cb);let we=class extends _0x14b399{constructor(_0x595e7d,_0x5dbb45){var _0x53c4c6=_0xce59e2;super(),N(this,_0x53c4c6(0x22b),new Map()),N(this,_0x53c4c6(0x1f5),new _0x5802a1()),(this[_0x53c4c6(0x303)]=_0x595e7d,this['_userManagerService']=_0x5dbb45,this[_0x53c4c6(0x22d)](_0x20d0a4(this[_0x53c4c6(0x303)]['getTypeOfUnitDisposed$'](_0x125792['UNIVER_SHEET'])['pipe'](_0x161964(_0x3cf6ac=>_0x3cf6ac[_0x53c4c6(0x206)]())),this[_0x53c4c6(0x303)][_0x53c4c6(0x18a)](_0x125792[_0x53c4c6(0x18b)])[_0x53c4c6(0x388)](_0x161964(_0x1b3f5a=>_0x1b3f5a[_0x53c4c6(0x206)]())),this[_0x53c4c6(0x303)][_0x53c4c6(0x18a)](_0x125792[_0x53c4c6(0x12d)])[_0x53c4c6(0x388)](_0x161964(_0x3bc278=>_0x3bc278[_0x53c4c6(0x206)]())))[_0x53c4c6(0x129)](_0x1da2a1=>this[_0x53c4c6(0x208)](_0x1da2a1))));}[_0xce59e2(0x103)](_0x3baa21){var _0x47126a=_0xce59e2;return this[_0x47126a(0x22b)]['has'](_0x3baa21)?_0x23d607(this[_0x47126a(0x22b)][_0x47126a(0x132)](_0x3baa21)):this[_0x47126a(0x1f5)][_0x47126a(0x388)](_0x161964(_0x5894e8=>{var _0x1c7036=_0x47126a;if(_0x5894e8===_0x3baa21)return this['_roomMembers'][_0x1c7036(0x132)](_0x5894e8);}));}[_0xce59e2(0x255)](_0x1c72f8){var _0x2de621=_0xce59e2;this[_0x2de621(0x2c4)]['setCurrentUser'](_0x1c72f8);}[_0xce59e2(0x374)](){var _0x505345=_0xce59e2;return this[_0x505345(0x2c4)][_0x505345(0x374)]();}[_0xce59e2(0xbe)](_0x3bae9e,_0x559a90){var _0x3e86d9=_0xce59e2;let _0x490a6b=this[_0x3e86d9(0x22b)][_0x3e86d9(0x132)](_0x3bae9e);_0x490a6b||(_0x490a6b=new xs(),this['_roomMembers']['set'](_0x3bae9e,_0x490a6b),this['_roomCreated$'][_0x3e86d9(0x147)](_0x3bae9e)),_0x490a6b['updateMember'](_0x559a90);}[_0xce59e2(0x1ca)](_0x1d5ba8,_0x8ab4f){var _0x215f2e=_0xce59e2;const _0x4365c9=this[_0x215f2e(0x22b)]['get'](_0x1d5ba8);_0x4365c9&&_0x4365c9['removeMember'](_0x8ab4f);}[_0xce59e2(0x21e)](_0x44d8f1){var _0x21154c=_0xce59e2;return this['_roomMembers'][_0x21154c(0x132)](_0x44d8f1);}[_0xce59e2(0xc2)](_0x1e2105,_0x456fb1){var _0xf40b1=_0xce59e2;const _0x3b1b24=this['_roomMembers'][_0xf40b1(0x132)](_0x1e2105);if(_0x3b1b24)return _0x3b1b24[_0xf40b1(0xc2)](_0x456fb1);}[_0xce59e2(0x208)](_0x3cd8b0){var _0x18de62=_0xce59e2;const _0x478606=this['_roomMembers'][_0x18de62(0x132)](_0x3cd8b0);_0x478606&&(_0x478606[_0x18de62(0x29e)](),this['_roomMembers'][_0x18de62(0x30a)](_0x3cd8b0));}[_0xce59e2(0x29e)](){var _0x23248a=_0xce59e2;this['_roomMembers'][_0x23248a(0x333)](_0x51a8d4=>_0x51a8d4['dispose']()),this[_0x23248a(0x22b)][_0x23248a(0x137)](),this[_0x23248a(0x1f5)]['complete']();}};we=Ls([Vt(0x0,_0x26d41e),Vt(0x1,_0xd3ba16(_0x276a73))],we);class xs extends _0x14b399{constructor(){var _0x17f460=_0xce59e2;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x45fe1b(this[_0x17f460(0x178)])),N(this,'members$',this[_0x17f460(0x37c)][_0x17f460(0x2de)]());}[_0xce59e2(0x29e)](){var _0x572937=_0xce59e2;this[_0x572937(0x178)]['clear']();}['updateMember'](_0x9d423a){var _0x21f7cd=_0xce59e2;this[_0x21f7cd(0x178)]['set'](_0x9d423a[_0x21f7cd(0xb9)],_0x9d423a),this['_emitMembers']();}['removeMember'](_0x5af7f3){var _0x3aa1ef=_0xce59e2;this[_0x3aa1ef(0x178)][_0x3aa1ef(0x30a)](_0x5af7f3);}[_0xce59e2(0xc2)](_0x49e527){return this['_members']['get'](_0x49e527);}[_0xce59e2(0xdb)](){var _0x35279d=_0xce59e2;return Array[_0x35279d(0x86)](this[_0x35279d(0x178)][_0x35279d(0xc6)]());}[_0xce59e2(0x88)](){var _0x3d086d=_0xce59e2;this['_members$'][_0x3d086d(0x147)](this[_0x3d086d(0x178)]);}}var ks=Object[_0xce59e2(0xb3)],$s=(_0x29ddf1,_0x394be7,_0x18610b,_0x2f3d0f)=>{var _0x284bcd=_0xce59e2;for(var _0x4ffe7d=_0x2f3d0f>0x1?void 0x0:_0x2f3d0f?ks(_0x394be7,_0x18610b):_0x394be7,_0x51f652=_0x29ddf1[_0x284bcd(0x1ce)]-0x1,_0xf73d15;_0x51f652>=0x0;_0x51f652--)(_0xf73d15=_0x29ddf1[_0x51f652])&&(_0x4ffe7d=_0xf73d15(_0x4ffe7d)||_0x4ffe7d);return _0x4ffe7d;},Ce=(_0x510fde,_0x1dc6c1)=>(_0xfcb89d,_0x3014b7)=>_0x1dc6c1(_0xfcb89d,_0x3014b7,_0x510fde),ge=(_0x2473b3=>(_0x2473b3[_0x2473b3['IDLE']=0x0]='IDLE',_0x2473b3[_0x2473b3[_0xce59e2(0x9d)]=0x1]=_0xce59e2(0x9d),_0x2473b3[_0x2473b3[_0xce59e2(0x1af)]=0x2]=_0xce59e2(0x1af),_0x2473b3[_0x2473b3[_0xce59e2(0x372)]=0x3]=_0xce59e2(0x372),_0x2473b3))(ge||{});const Wt={[pe[_0xce59e2(0x1f6)]]:_0xce59e2(0x2c8),[pe[_0xce59e2(0x1c4)]]:_0xce59e2(0x1e0),[pe[_0xce59e2(0xa0)]]:_0xce59e2(0x216),[pe[_0xce59e2(0x165)]]:'session.room-permission-denied',[pe[_0xce59e2(0xe4)]]:'session.room-cnt-exceeds'};let gt=class extends _0x4ea9ab{constructor(_0x8f0d4b,_0x1f8191,_0x4177da,_0x165eec,_0x5ccc69,_0x5cab9e,_0xf283ec,_0xc702fd){var _0x446c81=_0xce59e2;super(),N(this,_0x446c81(0x14e),new _0x45fe1b(0x0)),N(this,_0x446c81(0x1ae),this['_sessionStatus$']['asObservable']()),N(this,_0x446c81(0x36c),new _0x5802a1()),N(this,'event$',this['_event$'][_0x446c81(0x2de)]()),N(this,_0x446c81(0x121)),N(this,_0x446c81(0x2dd)),N(this,'_collaborationTimeoutTimer'),N(this,_0x446c81(0x2a1),!0x1),N(this,_0x446c81(0x2ca),null),(this[_0x446c81(0x376)]=_0x8f0d4b,this[_0x446c81(0x241)]=_0x4177da,this[_0x446c81(0x29b)]=_0x165eec,this[_0x446c81(0x187)]=_0x5ccc69,this[_0x446c81(0x198)]=_0x5cab9e,this[_0x446c81(0x93)]=_0xf283ec,this[_0x446c81(0x26a)]=_0xc702fd,this[_0x446c81(0x2a1)]=!!this[_0x446c81(0x26a)],_0x1f8191[_0x446c81(0x388)](_0x483afb(this[_0x446c81(0x1ec)]))[_0x446c81(0x129)](_0x16e469=>{var _0x1383a6=_0x446c81,_0x52b65a;typeof _0x16e469>'u'||(this[_0x1383a6(0x121)]=_0x16e469,_0x16e469?(this[_0x1383a6(0x149)](_0x16e469),this[_0x1383a6(0x2dd)]=_0x16e469['message$']['subscribe'](_0x118432=>{var _0x1dd4bb=_0x1383a6;_0x118432['routeKey']===this[_0x1dd4bb(0x376)]&&this['_onCombEvent'](_0x118432);})):(this[_0x1383a6(0x2fe)](),this['_sessionStatus$'][_0x1383a6(0x147)](0x2),(_0x52b65a=this[_0x1383a6(0x2dd)])==null||_0x52b65a[_0x1383a6(0x24a)](),this[_0x1383a6(0x2dd)]=null));}));}get[_0xce59e2(0x35b)](){var _0x18564a=_0xce59e2;return this['_sessionStatus$'][_0x18564a(0x30e)]();}[_0xce59e2(0x244)](){var _0x39c2e9=_0xce59e2,_0x2eedc2,_0x1d09c7;return(_0x1d09c7=(_0x2eedc2=this['_socket'])==null?void 0x0:_0x2eedc2[_0x39c2e9(0xb9)])!=null?_0x1d09c7:null;}['dispose'](){var _0x175df7=_0xce59e2;super[_0x175df7(0x29e)](),this[_0x175df7(0x1ec)][_0x175df7(0x147)](),this[_0x175df7(0x1ec)]['complete']();}[_0xce59e2(0xdf)](){var _0x55fea2=_0xce59e2,_0x5a42a0,_0x29e449;this[_0x55fea2(0x2fe)](),(_0x5a42a0=this[_0x55fea2(0x121)])==null||_0x5a42a0[_0x55fea2(0x34f)]({'cmd':F[_0x55fea2(0x23c)],'data':{'roomID':this['_unitID']}}),(_0x29e449=this['_socket'])==null||_0x29e449[_0x55fea2(0xdf)](),this[_0x55fea2(0x36c)]['complete'](),this[_0x55fea2(0x14e)]['complete'](),this[_0x55fea2(0x29e)]();}[_0xce59e2(0x13d)](_0x5174fd){var _0x1e972d=_0xce59e2;_0x5174fd[_0x1e972d(0xfc)]===F[_0x1e972d(0x163)]?this[_0x1e972d(0x76)](_0x5174fd):_0x5174fd[_0x1e972d(0xfc)]===F[_0x1e972d(0x36a)]&&this['_onRecvEvent'](_0x5174fd);}['_joinRoom'](_0x93f7b5){var _0x455a2f=_0xce59e2;this[_0x455a2f(0x14e)][_0x455a2f(0x147)](0x1),_0x93f7b5[_0x455a2f(0x34f)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xce59e2(0x76)](_0x361930){var _0x384642=_0xce59e2,_0x811d6c;if(_0x361930[_0x384642(0x371)]in Wt){this[_0x384642(0x93)][_0x384642(0x29f)]({'id':ne[_0x384642(0x8f)],'data':Wt[_0x361930[_0x384642(0x371)]]}),this[_0x384642(0x14e)]['next'](0x2);return;}this[_0x384642(0x14e)][_0x384642(0x147)](0x3);const _0x327ae4=(_0x811d6c=_0x361930[_0x384642(0x2fb)][_0x384642(0x1b7)][this[_0x384642(0x376)]])==null?void 0x0:_0x811d6c[_0x384642(0x105)];_0x327ae4&&_0x327ae4[_0x384642(0x333)](_0x206587=>this['_memberService']['updateMember'](this[_0x384642(0x376)],_0x206587));}['_onRecvEvent'](_0x50bc7e){var _0x3beb90=_0xce59e2;try{const _0xe22318=_0x50bc7e['data'];switch(_0xe22318['eventID']){case _0x4333e6['USERS_ENTER']:this[_0x3beb90(0x344)](_0xe22318),this[_0x3beb90(0x36c)][_0x3beb90(0x147)](_0xe22318);break;case _0x4333e6[_0x3beb90(0x2d6)]:this['_onUserLeave'](_0xe22318),this[_0x3beb90(0x36c)]['next'](_0xe22318);break;case _0x4333e6[_0x3beb90(0xec)]:case _0x4333e6['CHANGESET_SHOULD_RETRY']:this[_0x3beb90(0x19d)](),this[_0x3beb90(0x18f)](),this[_0x3beb90(0x36c)][_0x3beb90(0x147)](_0xe22318);break;case _0x4333e6[_0x3beb90(0x182)]:this['_logService'][_0x3beb90(0x313)](_0x3beb90(0x242)+JSON[_0x3beb90(0xe7)](_0xe22318)),this[_0x3beb90(0x36c)]['next'](_0xe22318);break;case _0x4333e6[_0x3beb90(0xc4)]:this['_commentService'][_0x3beb90(0x332)](_0xe22318[_0x3beb90(0x2fb)]),this[_0x3beb90(0x36c)]['next'](_0xe22318);break;default:this[_0x3beb90(0x36c)][_0x3beb90(0x147)](_0xe22318);}}catch(_0x1d410a){this['_logService'][_0x3beb90(0x313)](_0x1d410a,_0x50bc7e);}}['_onUserJoin'](_0x184906){var _0x1596d4=_0xce59e2;this['_memberService'][_0x1596d4(0xbe)](this['_unitID'],_0x184906[_0x1596d4(0x2fb)]);}[_0xce59e2(0x2f1)](_0xe83f5d){var _0x54ac92=_0xce59e2;this[_0x54ac92(0x187)][_0x54ac92(0x1ca)](this[_0x54ac92(0x376)],_0xe83f5d['data'][_0x54ac92(0xb9)]);}async['send'](_0x2b3426,_0x1825a1){var _0x74fcbb=_0xce59e2;if(this['sessionStatus']!==0x3||!this[_0x74fcbb(0x121)])throw new Error(_0x74fcbb(0xa8));try{_0x2b3426['eventID']===_0x4333e6[_0x74fcbb(0x240)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x2b3426)),this[_0x74fcbb(0x121)][_0x74fcbb(0x34f)]({'cmd':F[_0x74fcbb(0x358)],'routeKey':_0x1825a1,'routeType':'','data':_0x2b3426});}catch(_0x1d603c){this[_0x74fcbb(0x241)][_0x74fcbb(0x313)](_0x1d603c);}}[_0xce59e2(0xb1)](){var _0x454662=_0xce59e2,_0x501c3c;this[_0x454662(0x143)]=setTimeout(()=>{var _0x477371=_0x454662;this[_0x477371(0x143)]=null,this[_0x477371(0x93)][_0x477371(0x29f)]({'id':ne[_0x477371(0x315)]});},(_0x501c3c=this[_0x454662(0x29b)][_0x454662(0x13f)](di))!=null?_0x501c3c:fi);}[_0xce59e2(0x18f)](){var _0x27ffd3=_0xce59e2;this[_0x27ffd3(0x143)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x27ffd3(0x143)]=null);}['_startTelemetryCollaborationNewChangeset'](_0xecfb7c){var _0x4dbf4b=_0xce59e2;if(!this['_shouldReportTelemetry'])return;const {data:_0x49d6fd}=_0xecfb7c,{unitID:_0x4d2630,changeset:_0x4fb170}=_0x49d6fd,{mutations:_0x497dec,type:_0x45807b}=_0x4fb170;this['_telemetryInfo']={'unitId':_0x4d2630,'type':_0x45807b,'startTime':performance[_0x4dbf4b(0x272)](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x497dec)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4d669c=_0xce59e2;if(this[_0x4d669c(0x2a1)]){if(!this[_0x4d669c(0x2ca)]){this[_0x4d669c(0x241)]['error'](_0x4d669c(0x113),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4d669c(0x2ca)][_0x4d669c(0x1ed)]=performance[_0x4d669c(0x272)](),this[_0x4d669c(0x2ca)]['duration']=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x4d669c(0x16b)],this[_0x4d669c(0x26a)]['capture'](ws,this[_0x4d669c(0x2ca)]),this[_0x4d669c(0x2ca)]=null;}}[_0xce59e2(0x2fe)](){var _0x19f76c=_0xce59e2;this[_0x19f76c(0x2ca)]=null;}};gt=$s([Ce(0x2,_0x5342d8),Ce(0x3,_0x453892),Ce(0x4,_0xd3ba16(we)),Ce(0x5,_0xd3ba16(gi)),Ce(0x6,_0xd3ba16(ve)),Ce(0x7,_0x320aa9(_0x5ef6be))],gt);var Hs=Object[_0xce59e2(0xb3)],Bs=(_0x3a9c14,_0x4ca363,_0x5074cd,_0x5eb3d0)=>{var _0x1a3a15=_0xce59e2;for(var _0xbedddd=_0x5eb3d0>0x1?void 0x0:_0x5eb3d0?Hs(_0x4ca363,_0x5074cd):_0x4ca363,_0x2b9788=_0x3a9c14[_0x1a3a15(0x1ce)]-0x1,_0x3bfb94;_0x2b9788>=0x0;_0x2b9788--)(_0x3bfb94=_0x3a9c14[_0x2b9788])&&(_0xbedddd=_0x3bfb94(_0xbedddd)||_0xbedddd);return _0xbedddd;},Re=(_0x44d730,_0x475e9c)=>(_0x295480,_0x4bc259)=>_0x475e9c(_0x295480,_0x4bc259,_0x44d730);let Pe=class extends _0x14b399{constructor(_0x40c9d6,_0xf9d2ac,_0x2e7108,_0x30894d,_0x3d3ce0,_0x2d4d76){var _0x5c87c2=_0xce59e2;super(),N(this,_0x5c87c2(0x15e),new _0x45fe1b(void 0x0)),N(this,'socket$',this['_socket$'][_0x5c87c2(0x2de)]()),N(this,_0x5c87c2(0x13e),null),N(this,_0x5c87c2(0x107),new Map()),N(this,_0x5c87c2(0x81),new _0x45fe1b(ge[_0x5c87c2(0x1a7)])),N(this,_0x5c87c2(0x114),this[_0x5c87c2(0x81)][_0x5c87c2(0x2de)]()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x5c87c2(0x34b),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x5c87c2(0x27d)),(this[_0x5c87c2(0x31d)]=_0x40c9d6,this[_0x5c87c2(0x241)]=_0xf9d2ac,this[_0x5c87c2(0x29b)]=_0x2e7108,this[_0x5c87c2(0x33e)]=_0x30894d,this[_0x5c87c2(0x93)]=_0x3d3ce0,this[_0x5c87c2(0x2fd)]=_0x2d4d76,this[_0x5c87c2(0x36e)]());}get[_0xce59e2(0x121)](){var _0xa50cdc=_0xce59e2;return this[_0xa50cdc(0x15e)][_0xa50cdc(0x30e)]();}['_listenToNetworkCondition'](){var _0x1d9f39=_0xce59e2;this['_networkConditionService']&&this[_0x1d9f39(0x22d)](this[_0x1d9f39(0x2fd)]['online$'][_0x1d9f39(0x129)](_0x51d9c6=>{var _0x3e017a=_0x1d9f39;_0x51d9c6&&!this['_socket']&&this[_0x3e017a(0x13c)](),_0x51d9c6||this[_0x3e017a(0x251)]();}));}['dispose'](){var _0x4fa626=_0xce59e2;super[_0x4fa626(0x29e)](),this[_0x4fa626(0x160)](),this['_clearTimeoutTimer'](),this[_0x4fa626(0xee)](),this[_0x4fa626(0x107)]['forEach'](_0x2c4444=>_0x2c4444[_0x4fa626(0x29e)]()),this['_sessions'][_0x4fa626(0x137)](),this[_0x4fa626(0x81)]['complete']();}async[_0xce59e2(0x1d0)](_0x2e4609){var _0x90ead9=_0xce59e2;if(this[_0x90ead9(0x107)]['has'](_0x2e4609))return this[_0x90ead9(0x107)][_0x90ead9(0x132)](_0x2e4609);this[_0x90ead9(0x351)]();const _0x522206=this[_0x90ead9(0x31d)]['createInstance'](gt,_0x2e4609,this[_0x90ead9(0x15e)]['asObservable']());return this[_0x90ead9(0x107)][_0x90ead9(0x2ff)](_0x2e4609,_0x522206),_0x522206;}[_0xce59e2(0x368)](_0x3cd162){var _0x242ca7=_0xce59e2,_0x128ddc;const _0x2c92dd=this['_sessions'][_0x242ca7(0x132)](_0x3cd162);_0x2c92dd&&(this[_0x242ca7(0x107)]['delete'](_0x3cd162),_0x2c92dd[_0x242ca7(0xdf)]()),this[_0x242ca7(0x107)][_0x242ca7(0x25f)]||(_0x128ddc=this[_0x242ca7(0x121)])==null||_0x128ddc['close']();}[_0xce59e2(0x13c)](){var _0x117d93=_0xce59e2;this[_0x117d93(0x34b)]=0x0,this[_0x117d93(0x160)](),this[_0x117d93(0x277)]();}[_0xce59e2(0x160)](){var _0x252d5e=_0xce59e2;this[_0x252d5e(0xd1)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x252d5e(0xd1)]=null);}async[_0xce59e2(0x95)](){var _0x2c9c2d=_0xce59e2,_0x3d1b4f;const _0x102b94=this[_0x2c9c2d(0x29b)][_0x2c9c2d(0x13f)](K),_0x4a8740=(_0x3d1b4f=_0x102b94==null?void 0x0:_0x102b94['collabWebSocketUrl'])!=null?_0x3d1b4f:ms,_0x2d07a1=await this[_0x2c9c2d(0x33e)][_0x2c9c2d(0x22f)](_0x4a8740);return this[_0x2c9c2d(0x13e)]=_0x2d07a1,_0x2d07a1;}async[_0xce59e2(0x351)](){var _0x420af2=_0xce59e2,_0xe5ce41,_0x1ca723;try{const _0x30463c=(_0x1ca723=(_0xe5ce41=this[_0x420af2(0x121)])!=null?_0xe5ce41:this[_0x420af2(0x13e)])!=null?_0x1ca723:await this['_createSocket']();if(_0x30463c){const _0x3bfbbc=_0x30463c['send'];_0x30463c[_0x420af2(0x34f)]=_0x59cb96=>(this['_rescheduleHeartbeat'](),_0x3bfbbc[_0x420af2(0x210)](_0x30463c,[_0x59cb96])),_0x30463c[_0x420af2(0x168)][_0x420af2(0x129)](_0x2a89c1=>this[_0x420af2(0x1db)](_0x30463c,_0x2a89c1)),_0x30463c[_0x420af2(0xa4)][_0x420af2(0x388)](_0x1c361a(0x1))[_0x420af2(0x129)](_0x45bb6a=>this[_0x420af2(0x241)][_0x420af2(0x313)](_0x420af2(0x19f),_0x45bb6a)),_0x30463c[_0x420af2(0x2f6)]['pipe'](_0x1c361a(0x1))[_0x420af2(0x129)](()=>{var _0x188a4c=_0x420af2;this[_0x188a4c(0x31f)](_0x30463c);}),_0x30463c[_0x420af2(0x2f9)][_0x420af2(0x388)](_0x1c361a(0x1))['subscribe'](_0x45e625=>{var _0x25cbde=_0x420af2;this['_logService']['debug']('[CollaborationSessionService]',_0x25cbde(0x94),_0x45e625),this[_0x25cbde(0x30b)]();});}}catch(_0x33702d){this[_0x420af2(0x241)]['error'](_0x33702d),this[_0x420af2(0x30b)]();}}[_0xce59e2(0x31f)](_0x287ee1){var _0x1d3ac1=_0xce59e2;this[_0x1d3ac1(0x241)][_0x1d3ac1(0x2f8)](_0x1d3ac1(0x2ef),_0x1d3ac1(0x2cd)),_0x287ee1[_0x1d3ac1(0x34f)]({'cmd':F[_0x1d3ac1(0x233)]}),this[_0x1d3ac1(0xe8)]();}[_0xce59e2(0x251)](){var _0xf7dc5b=_0xce59e2;this[_0xf7dc5b(0x78)]=!0x1,this[_0xf7dc5b(0x13e)]=null,this[_0xf7dc5b(0x81)][_0xf7dc5b(0x147)](ge[_0xf7dc5b(0x1af)]),this[_0xf7dc5b(0x15e)][_0xf7dc5b(0x147)](null),this[_0xf7dc5b(0xcd)](),this[_0xf7dc5b(0xee)]();}[_0xce59e2(0x30b)](){var _0x50a39e=_0xce59e2,_0x3865c0;this[_0x50a39e(0x251)](),this['_retryCount']<((_0x3865c0=this[_0x50a39e(0x29b)]['getConfig'](Is))!=null?_0x3865c0:Ts)?(this[_0x50a39e(0x93)][_0x50a39e(0x29f)]({'id':ne[_0x50a39e(0x10e)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x50a39e(0x29f)]({'id':ne[_0x50a39e(0x21c)]});}[_0xce59e2(0x277)](){var _0x3b05fb=_0xce59e2,_0x4c8236;const _0x24b3dc=this[_0x3b05fb(0x34b)],_0x39e3ba=this[_0x3b05fb(0x29b)][_0x3b05fb(0x13f)](K),_0x348866=_0x24b3dc===0x0?0x0:((_0x4c8236=_0x39e3ba==null?void 0x0:_0x39e3ba[_0x3b05fb(0x2e6)])!=null?_0x4c8236:Es)*0x2**_0x24b3dc;this[_0x3b05fb(0xd1)]=setTimeout(()=>{var _0x457971=_0x3b05fb;clearTimeout(this[_0x457971(0xd1)]),this[_0x457971(0xd1)]=null,this[_0x457971(0x351)]();},_0x348866),this[_0x3b05fb(0x34b)]+=0x1;}[_0xce59e2(0x1db)](_0x24db5a,_0x19d47a){var _0x3bc838=_0xce59e2;const {cmd:_0x50b3c3}=_0x19d47a;_0x50b3c3===F[_0x3bc838(0x233)]&&!this[_0x3bc838(0x78)]&&(_0x24db5a[_0x3bc838(0xb9)]=_0x19d47a[_0x3bc838(0x2fb)][_0x3bc838(0xb9)],this[_0x3bc838(0x15e)][_0x3bc838(0x147)](_0x24db5a),this[_0x3bc838(0x81)]['next'](ge[_0x3bc838(0x372)]),this['_socketReady']=!0x0,this[_0x3bc838(0x13e)]=null),_0x50b3c3===F[_0x3bc838(0x145)]&&this[_0x3bc838(0xcd)](),this[_0x3bc838(0xe8)]();}[_0xce59e2(0xe8)](){var _0x22657b=_0xce59e2,_0x573826;this[_0x22657b(0xee)](),this[_0x22657b(0x24e)]=setTimeout(()=>this[_0x22657b(0x367)](),(_0x573826=this['_configService'][_0x22657b(0x13f)](gs))!=null?_0x573826:Ss);}[_0xce59e2(0x367)](){var _0x3d26f9=_0xce59e2;this[_0x3d26f9(0x121)][_0x3d26f9(0x34f)]({'cmd':F[_0x3d26f9(0x145)]}),this[_0x3d26f9(0x21b)]();}[_0xce59e2(0x21b)](){var _0x39f4f4=_0xce59e2,_0x5a81c9;this['_timeoutTimer']=setTimeout(()=>this[_0x39f4f4(0x30b)](),(_0x5a81c9=this[_0x39f4f4(0x29b)][_0x39f4f4(0x13f)](di))!=null?_0x5a81c9:fi);}[_0xce59e2(0xee)](){var _0x4aa629=_0xce59e2;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4aa629(0x24e)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x19f3c4=_0xce59e2;this[_0x19f3c4(0x27d)]!=null&&(clearTimeout(this[_0x19f3c4(0x27d)]),this[_0x19f3c4(0x27d)]=null);}};Pe=Bs([Re(0x0,_0xd3ba16(_0x347f26)),Re(0x1,_0x5342d8),Re(0x2,_0x453892),Re(0x3,mi),Re(0x4,_0xd3ba16(ve)),Re(0x5,_0x320aa9(bs))],Pe);const J=_0x121bdc(_0xce59e2(0x359));function br(_0x217be5){var _0x402718=_0xce59e2;return _0x402718(0x24d)+_0x217be5;}var js=Object[_0xce59e2(0xb3)],Fs=(_0x2163d2,_0x5e0c35,_0x3a9694,_0x21fc10)=>{for(var _0x5a50a5=_0x21fc10>0x1?void 0x0:_0x21fc10?js(_0x5e0c35,_0x3a9694):_0x5e0c35,_0x3f7c2b=_0x2163d2['length']-0x1,_0x51e589;_0x3f7c2b>=0x0;_0x3f7c2b--)(_0x51e589=_0x2163d2[_0x3f7c2b])&&(_0x5a50a5=_0x51e589(_0x5a50a5)||_0x5a50a5);return _0x5a50a5;},ut=(_0x3f4dbf,_0x3ef833)=>(_0x3d32d7,_0x119838)=>_0x3ef833(_0x3d32d7,_0x119838,_0x3f4dbf);function Vs(_0xabc708){var _0x444b65=_0xce59e2;const {unitID:_0x4b118a,mutations:_0x4ff605}=_0xabc708;return{'unitId':_0x4b118a,'subUnitId':_0x4ff605[0x0][_0x444b65(0x108)][_0x444b65(0x328)]};}let it=class{constructor(_0x500d78,_0x401153,_0x47a3cb){var _0x4429eb=_0xce59e2;this[_0x4429eb(0x31d)]=_0x500d78,this['_transformService']=_0x401153,this[_0x4429eb(0x12a)]=_0x47a3cb;}[_0xce59e2(0x192)](_0x98613d){var _0x7aa5a9=_0xce59e2,_0xc2296e,_0x2da8a2,_0x5e35fa,_0x1678b1;const _0x54c094=this[_0x7aa5a9(0x31d)]['get'](_0xbf2f8b),{unitId:_0x29608f,subUnitId:_0x349e69}=Vs(_0x98613d),_0x3212b0=_0x54c094==null?void 0x0:_0x54c094[_0x7aa5a9(0x37e)](_0x29608f)[_0x7aa5a9(0xc5)](),_0x7a49dc=(_0x2da8a2=(_0xc2296e=this['_instanceService'][_0x7aa5a9(0x116)](_0x29608f))==null?void 0x0:_0xc2296e['getActiveSheet']())==null?void 0x0:_0x2da8a2[_0x7aa5a9(0x274)]();if(_0x3212b0[_0x7aa5a9(0x1ce)]===0x0||!_0x29608f||!_0x349e69)return;const _0x5a8bcf=[{'id':_0x4e2996['id'],'params':{'unitId':_0x29608f,'subUnitId':_0x7a49dc,'selections':_0x3b93cf[_0x7aa5a9(0x352)](_0x3212b0)}}],_0x32edea=this[_0x7aa5a9(0x8c)][_0x7aa5a9(0x379)](_0x98613d,_0x5a8bcf);if(!_0x3e8c0b(_0x32edea))throw _0x32edea[_0x7aa5a9(0x313)];const _0x314fe5=(_0x1678b1=(_0x5e35fa=_0x32edea[_0x7aa5a9(0x30f)][0x0])==null?void 0x0:_0x5e35fa[_0x7aa5a9(0x108)])==null?void 0x0:_0x1678b1[_0x7aa5a9(0x2dc)];if(Array[_0x7aa5a9(0x2e5)](_0x314fe5)&&_0x314fe5[_0x7aa5a9(0x1ce)]){if(_0x314fe5[_0x7aa5a9(0x1ce)]===_0x5a8bcf[0x0][_0x7aa5a9(0x108)][_0x7aa5a9(0x2dc)]['length']&&_0x314fe5[_0x7aa5a9(0x2d9)]((_0xdbdff2,_0x1693fe)=>_0xee37ed['equals'](_0xdbdff2[_0x7aa5a9(0x99)],_0x5a8bcf[0x0]['params'][_0x7aa5a9(0x2dc)][_0x1693fe]['range'])))return;this['_injector'][_0x7aa5a9(0x132)](_0x5d8f68)['executeCommand'](_0x4e2996['id'],{'unitId':_0x29608f,'subUnitId':_0x7a49dc,'selections':_0x314fe5});}}};it=Fs([ut(0x0,_0xd3ba16(_0x347f26)),ut(0x1,_0x223ac4),ut(0x2,_0x26d41e)],it);const ht=_0x121bdc(_0xce59e2(0xac));var Si=(_0x2bbbd1=>(_0x2bbbd1[_0x2bbbd1[_0xce59e2(0x138)]=0x0]=_0xce59e2(0x138),_0x2bbbd1[_0x2bbbd1[_0xce59e2(0x84)]=0x1]=_0xce59e2(0x84),_0x2bbbd1))(Si||{});const Ws=new Set([_0x470f0c['id']]);function Gt(_0x1cd489,_0x27ce71,_0x5cf41a,_0x18d857,_0x32bc38){var _0x4667d4=_0xce59e2,_0x24d71e,_0x454ce1,_0x4d8050,_0x5b65ed;const _0x1608ab=[];for(const _0x22e40c of _0x1cd489)if(Ws[_0x4667d4(0x2d5)](_0x22e40c['id'])){if(_0x1608ab['length']>0x0)break;_0x1608ab['push'](_0x22e40c);break;}else _0x1608ab[_0x4667d4(0x1a9)](_0x22e40c);const _0x2804a1=(_0x454ce1=(_0x24d71e=_0x32bc38['getCurrentUser']())==null?void 0x0:_0x24d71e[_0x4667d4(0xc9)])!=null?_0x454ce1:'unknown',_0x201400=(_0x5b65ed=(_0x4d8050=_0x32bc38[_0x4667d4(0x374)]())==null?void 0x0:_0x4d8050[_0x4667d4(0xb9)])!=null?_0x5b65ed:'unknown';return{'changeset':{'unitID':_0x27ce71,'type':_0x2eea6e(_0x5cf41a[_0x4667d4(0x184)](_0x27ce71)),'baseRev':_0x18d857['getCurrentRevOfUnit'](_0x27ce71),'revision':0x0,'userID':_0x2804a1,'memberID':_0x201400,'mutations':_0x1608ab},'pendingMutations':_0x1cd489[_0x4667d4(0x305)](_0x1608ab[_0x4667d4(0x1ce)])};}function Gs(_0x406c29,_0x2b125e,_0x40a48e,_0x317e66,_0x4006af){var _0x2531cf=_0xce59e2,_0xbd0173,_0x148d2b,_0x118c3a,_0xb060ea;const _0x34512c=[_0x406c29['reduce']((_0x366287,_0x44673f)=>{var _0x1ad327=_0x2a1f,_0x26c0d5;const {id:_0x9545f9}=_0x366287,{id:_0x119e0a,type:_0x29f158}=_0x44673f,_0x31fe7b=(_0x26c0d5=_0x366287[_0x1ad327(0x108)])!=null?_0x26c0d5:{'actions':null},_0x30cb0f=_0x44673f[_0x1ad327(0x108)];if(_0x9545f9&&_0x9545f9!==_0x119e0a)throw new Error(_0x1ad327(0x139)+_0x9545f9+_0x1ad327(0x125)+_0x119e0a+'.');return{..._0x366287,'id':_0x119e0a,'type':_0x29f158,'params':{'unitId':_0x30cb0f['unitId'],'textRanges':_0x30cb0f[_0x1ad327(0x164)],'actions':_0x10f5e2[_0x1ad327(0x197)](_0x31fe7b[_0x1ad327(0x264)],_0x30cb0f[_0x1ad327(0x264)])}};},{})],_0x5966e8=(_0x148d2b=(_0xbd0173=_0x4006af[_0x2531cf(0x374)]())==null?void 0x0:_0xbd0173[_0x2531cf(0xc9)])!=null?_0x148d2b:_0x2531cf(0x236),_0x3ece97=(_0xb060ea=(_0x118c3a=_0x4006af[_0x2531cf(0x374)]())==null?void 0x0:_0x118c3a[_0x2531cf(0xb9)])!=null?_0xb060ea:'unknown';return{'changeset':{'unitID':_0x2b125e,'type':_0x2eea6e(_0x40a48e[_0x2531cf(0x184)](_0x2b125e)),'baseRev':_0x317e66[_0x2531cf(0x243)](_0x2b125e),'revision':0x0,'userID':_0x5966e8,'memberID':_0x3ece97,'mutations':_0x34512c},'pendingMutations':[]};}function Ei(_0x14aa91,_0x59b527){var _0x4217bb=_0xce59e2;const _0x5a2407=new _0x58fba1(0x1);return setTimeout(()=>_0x5a2407[_0x4217bb(0x147)](_0x59b527),_0x14aa91),_0x5a2407[_0x4217bb(0x2de)]()[_0x4217bb(0x388)](_0x519828(0x1));}const Ys={'id':_0x3064fe['id'],'type':_0x2c69e2['MUTATION'],'params':{}};var Ks=Object[_0xce59e2(0xb3)],Ee=(_0x20c7cf,_0x30017f,_0x42d6ad,_0x3bf9d3)=>{var _0x2175c0=_0xce59e2;for(var _0x303674=_0x3bf9d3>0x1?void 0x0:_0x3bf9d3?Ks(_0x30017f,_0x42d6ad):_0x30017f,_0x58ec72=_0x20c7cf[_0x2175c0(0x1ce)]-0x1,_0x35d670;_0x58ec72>=0x0;_0x58ec72--)(_0x35d670=_0x20c7cf[_0x58ec72])&&(_0x303674=_0x35d670(_0x303674)||_0x303674);return _0x303674;},P=(_0x43a1c1,_0x41ebf5)=>(_0x5ccd85,_0x2bad15)=>_0x41ebf5(_0x5ccd85,_0x2bad15,_0x43a1c1),Ii=(_0xa6202=>(_0xa6202[_0xce59e2(0x1fd)]=_0xce59e2(0x23e),_0xa6202['SYNCED']='synced',_0xa6202[_0xce59e2(0x175)]='pending',_0xa6202[_0xce59e2(0xa7)]=_0xce59e2(0x1e1),_0xa6202[_0xce59e2(0x9a)]='awaiting_with_pending',_0xa6202[_0xce59e2(0x1f2)]=_0xce59e2(0x9b),_0xa6202[_0xce59e2(0x17a)]=_0xce59e2(0x235),_0xa6202['OFFLINE']=_0xce59e2(0x2e1),_0xa6202))(Ii||{});const Ti=0xea60;class Ie{constructor(_0x381793,_0x4cb5b9,_0x175d74,_0x3fcc0e,_0x4821b1,_0x10e085,_0x11d3a5,_0x26a543,_0x2b0f9a){var _0x15aa8c=_0xce59e2;N(this,_0x15aa8c(0xf5),null),N(this,'_pendingMutations',[]),(this[_0x15aa8c(0x2b0)]=_0x381793,this['type']=_0x4cb5b9,this[_0x15aa8c(0x1b1)]=_0x4821b1,this[_0x15aa8c(0x2e0)]=_0x10e085,this['_undoRedoService']=_0x11d3a5,this[_0x15aa8c(0x329)]=_0x26a543,this[_0x15aa8c(0x77)]=_0x2b0f9a,this[_0x15aa8c(0xf5)]=_0x175d74,this['_pendingMutations']=_0x3fcc0e);}['_checkMissing'](_0x47e520){var _0x4198b6=_0xce59e2;const _0xb787df=this[_0x4198b6(0x329)][_0x4198b6(0x243)](this[_0x4198b6(0x2b0)]);return _0x47e520['revision']>_0xb787df+0x1?(this[_0x4198b6(0x1b1)][_0x4198b6(0x167)]({'from':_0xb787df,'to':_0x47e520[_0x4198b6(0x8a)]-0x1}),!0x0):!0x1;}[_0xce59e2(0x252)](_0x24d034){var _0x47c3dc=_0xce59e2;this[_0x47c3dc(0x26f)][_0x47c3dc(0x100)](this['unitID'],_0x24d034);}[_0xce59e2(0x2bf)](_0x3596b9){var _0x55204f=_0xce59e2,_0x28ce60,_0x4cb46a;(_0x4cb46a=(_0x28ce60=this[_0x55204f(0x1b1)])[_0x55204f(0x382)])==null||_0x4cb46a[_0x55204f(0x1fb)](_0x28ce60,_0x3596b9);}[_0xce59e2(0x18e)](_0x383ba5){var _0x21b149=_0xce59e2,_0x5d0e44,_0x24b38e;return(_0x24b38e=(_0x5d0e44=this['_handler'])['onTransformIME'])==null?void 0x0:_0x24b38e[_0x21b149(0x1fb)](_0x5d0e44,_0x383ba5);}[_0xce59e2(0x1bc)](_0x5eaa64){var _0x3dd5aa=_0xce59e2,_0x5b110b,_0x57c573;return(_0x57c573=(_0x5b110b=this[_0x3dd5aa(0x1b1)])[_0x3dd5aa(0x23d)])==null?void 0x0:_0x57c573[_0x3dd5aa(0x1fb)](_0x5b110b,_0x5eaa64);}[_0xce59e2(0x36f)](_0x3318a8){var _0x526e30=_0xce59e2,_0x6f340b,_0x6399a4,_0x1d26d2;return(_0x1d26d2=(_0x6399a4=(_0x6f340b=this[_0x526e30(0x1b1)])[_0x526e30(0x23f)])==null?void 0x0:_0x6399a4[_0x526e30(0x1fb)](_0x6f340b,_0x3318a8))!=null?_0x1d26d2:_0x3318a8;}[_0xce59e2(0x2f2)](_0x339055){var _0x3cbab2=_0xce59e2,_0x3a8091,_0x3c0e28,_0x4e27d2;return(_0x4e27d2=(_0x3c0e28=(_0x3a8091=this['_handler'])[_0x3cbab2(0x14f)])==null?void 0x0:_0x3c0e28['call'](_0x3a8091,_0x339055))!=null?_0x4e27d2:_0x339055;}['_syncEditingCollabCursor'](_0x1609ab){var _0x1fb8e1=_0xce59e2,_0x2bc852,_0x4fed7d;if(this[_0x1fb8e1(0x2f3)]===Z[_0x1fb8e1(0x18b)]){const {unitID:_0x107fe8,mutations:_0x11e58c,memberID:_0x307995}=_0x1609ab,_0x236ddf=_0x11e58c[0x0][_0x1fb8e1(0x108)][_0x1fb8e1(0x164)];Array[_0x1fb8e1(0x2e5)](_0x236ddf)&&_0x236ddf['length']>0x0&&((_0x4fed7d=(_0x2bc852=this[_0x1fb8e1(0x1b1)])[_0x1fb8e1(0x12b)])==null||_0x4fed7d['call'](_0x2bc852,{'unitID':_0x107fe8,'memberID':_0x307995,'textRanges':_0x236ddf}));}}[_0xce59e2(0x339)](){var _0x229b8d=_0xce59e2,_0x9e9f8e;(_0x9e9f8e=this[_0x229b8d(0x77)])==null||_0x9e9f8e['updateOfflineData'](this[_0x229b8d(0x2b0)],this[_0x229b8d(0x2f3)],this[_0x229b8d(0xf5)],this['_pendingMutations']);}[_0xce59e2(0x1df)](){var _0x1debac=_0xce59e2;return this['_revisionService'][_0x1debac(0x243)](this[_0x1debac(0x2b0)]);}['_incrementRevisionNumber'](){var _0x2fd9db=_0xce59e2;this[_0x2fd9db(0x329)]['incrementRevOfUnit'](this['unitID']);}[_0xce59e2(0x203)](_0x555642){var _0x2195bb=_0xce59e2,_0x46f9f2;let _0x52299c=this[_0x2195bb(0x36f)](_0x555642);_0x52299c=this[_0x2195bb(0x2f2)](_0x52299c);const _0x1c12b4=_0x3335fa(_0x52299c[_0x2195bb(0x2b8)],this[_0x2195bb(0x2e0)],{'fromCollab':!0x0});if(!_0x1c12b4['result'])throw _0x1c12b4[_0x2195bb(0x313)]instanceof Error?_0x1c12b4['error']:new Error((_0x46f9f2=_0x1c12b4['error'])!=null?_0x46f9f2:'[CollaborationState]:\x20apply\x20error!');this[_0x2195bb(0x18e)](_0x52299c),this[_0x2195bb(0x1bc)](_0x52299c),this[_0x2195bb(0x252)](_0x555642),this['_transformSelections'](_0x52299c),this[_0x2195bb(0x377)](_0x52299c),this[_0x2195bb(0x1b9)]();}}let ye=class extends Ie{constructor(_0x14566d,_0x4aae36,_0x38f580,_0x4939b4,_0x19048b,_0x5d9392,_0x2a1b79,_0x1484a5,_0x1e1cc6,_0x4b8755){var _0xa07aab=_0xce59e2;super(_0x14566d,_0x4aae36,null,[],_0x38f580,_0x2a1b79,_0x5d9392,_0x4939b4,_0x4b8755),N(this,_0xa07aab(0x1cd),'synced'),(this[_0xa07aab(0x31d)]=_0x19048b,this['_logService']=_0x1484a5,this[_0xa07aab(0x8c)]=_0x1e1cc6,this[_0xa07aab(0x169)]=_0x4b8755);}['appendMutation'](_0x5d8994){var _0x5310e3=_0xce59e2;const _0xc03817=this[_0x5310e3(0x31d)][_0x5310e3(0xfb)](re,this['unitID'],this[_0x5310e3(0x2f3)],[_0x5d8994],this[_0x5310e3(0x1b1)]);return _0xc03817[_0x5310e3(0xe3)](),_0xc03817[_0x5310e3(0x339)](),_0xc03817;}[_0xce59e2(0x2ee)](_0x1412ec){var _0x13b377=_0xce59e2;if(this[_0x13b377(0x270)](_0x1412ec))return this[_0x13b377(0x31d)][_0x13b377(0xfb)](Q,this[_0x13b377(0x2b0)],this[_0x13b377(0x2f3)],null,[],null,[_0x1412ec],this[_0x13b377(0x1b1)]);try{const _0x566cc3=this[_0x13b377(0x8c)][_0x13b377(0x379)](_0x1412ec,[Ys]);if(_0x3e8c0b(_0x566cc3)){const {c1Prime:_0x4964bc}=_0x566cc3;return this[_0x13b377(0x203)](_0x4964bc),this;}throw _0x566cc3[_0x13b377(0x313)];}catch(_0x37d40c){return this[_0x13b377(0x241)]['error'](_0x37d40c),this['_onConflict'](!0x1);}}[_0xce59e2(0x146)](_0x300740){var _0x1ea3c5=_0xce59e2;return this[_0x1ea3c5(0x31d)][_0x1ea3c5(0xfb)](le,this['unitID'],this['type'],null,[],this[_0x1ea3c5(0x1b1)],_0x300740);}[_0xce59e2(0x2c7)](){var _0xdacc7=_0xce59e2;throw new Error(_0xdacc7(0x346));}[_0xce59e2(0x2cc)](){var _0x2ebcb0=_0xce59e2;throw new Error(_0x2ebcb0(0x32c));}['onRemoteRetry'](){return this;}[_0xce59e2(0x1a6)](){var _0x428c42=_0xce59e2;return this[_0x428c42(0x31d)][_0x428c42(0xfb)](ue,this['unitID'],this[_0x428c42(0x2f3)],null,[],this[_0x428c42(0x1b1)]);}['toggleOnline'](){return this;}['resend'](){var _0x387bec=_0xce59e2;throw new Error(_0x387bec(0x7c));}[_0xce59e2(0x1dc)](){var _0x312557=_0xce59e2;const _0x4ce743=this[_0x312557(0x329)][_0x312557(0x243)](this[_0x312557(0x2b0)]);return this[_0x312557(0x1b1)][_0x312557(0x167)]({'from':_0x4ce743,'to':0x0}),this[_0x312557(0x31d)][_0x312557(0xfb)](Q,this[_0x312557(0x2b0)],this[_0x312557(0x2f3)],null,[],null,[],this[_0x312557(0x1b1)]);}};ye=Ee([P(0x3,_0xd3ba16(_0x4dff44)),P(0x4,_0xd3ba16(_0x347f26)),P(0x5,_0x262b06),P(0x6,_0x5d8f68),P(0x7,_0x5342d8),P(0x8,_0x223ac4),P(0x9,_0x320aa9(J))],ye);let re=class extends Ie{constructor(_0x185b70,_0xd2cfef,_0x34957c,_0x19ef40,_0x4151bf,_0x7813b7,_0x33dbd2,_0x4581c0,_0x3eb56c,_0x48d558,_0x34faa5,_0x4c2d2e,_0x630f70,_0x23ebbe){var _0x21c1d0=_0xce59e2;super(_0x185b70,_0xd2cfef,null,_0x34957c,_0x19ef40,_0x3eb56c,_0x630f70,_0x7813b7,_0x23ebbe),N(this,_0x21c1d0(0x1cd),_0x21c1d0(0x1d3)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x21c1d0(0x101),null),(this[_0x21c1d0(0x31d)]=_0x4151bf,this[_0x21c1d0(0x187)]=_0x33dbd2,this[_0x21c1d0(0x241)]=_0x4581c0,this[_0x21c1d0(0x29b)]=_0x48d558,this[_0x21c1d0(0x8c)]=_0x34faa5,this[_0x21c1d0(0x303)]=_0x4c2d2e);}[_0xce59e2(0x361)](_0x39449d){var _0x206790=_0xce59e2;return this['_pendingMutations'][_0x206790(0x1a9)](_0x39449d),this[_0x206790(0x339)](),this;}['onRemoteChangeset'](_0x35b867){var _0x330a08=_0xce59e2;if(this[_0x330a08(0x270)](_0x35b867))return this[_0x330a08(0x14d)](),this[_0x330a08(0x31d)]['createInstance'](Q,this[_0x330a08(0x2b0)],this[_0x330a08(0x2f3)],null,this[_0x330a08(0x285)],null,[_0x35b867],this[_0x330a08(0x1b1)]);try{const _0x2a7a95=this[_0x330a08(0x8c)][_0x330a08(0x379)](_0x35b867,this[_0x330a08(0x285)]);if(_0x3e8c0b(_0x2a7a95)){const {c1Prime:_0x39caea,m2Prime:_0x26e4c6}=_0x2a7a95;this['_executeRemoteChangeset'](_0x39caea);const _0x33aca0=this['_injector']['createInstance'](re,this[_0x330a08(0x2b0)],this[_0x330a08(0x2f3)],_0x26e4c6,this['_handler']);this[_0x330a08(0x14d)]();const _0x562b83=new Date()[_0x330a08(0x171)](),_0x4813c1=this['_scheduleCompleteTimestamp']?Math[_0x330a08(0x21a)](this[_0x330a08(0x320)]-_0x562b83,0x0):this['_getSendChangesetTimeout']();return _0x33aca0['_schedule'](_0x4813c1),_0x33aca0;}throw _0x2a7a95[_0x330a08(0x313)];}catch(_0x3cf0f7){return this[_0x330a08(0x241)]['error'](_0x3cf0f7),this[_0x330a08(0x146)](!0x1);}}[_0xce59e2(0x2c7)](){var _0x4c9fc8=_0xce59e2;throw new Error(_0x4c9fc8(0x2e7));}[_0xce59e2(0x2cc)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x46c35f=_0xce59e2;return this[_0x46c35f(0x14d)](),this['_injector'][_0x46c35f(0xfb)](ue,this[_0x46c35f(0x2b0)],this[_0x46c35f(0x2f3)],null,this[_0x46c35f(0x285)],this[_0x46c35f(0x1b1)]);}[_0xce59e2(0x357)](){return this;}[_0xce59e2(0xe3)](_0x2be923){var _0x16e8f9=_0xce59e2;const _0x3fc240=_0x2be923!=null?_0x2be923:this[_0x16e8f9(0x126)]();this[_0x16e8f9(0x320)]=new Date()[_0x16e8f9(0x171)]()+_0x3fc240,this['_sendingTimer']=setTimeout(()=>{var _0x3c36e9=_0x16e8f9;this[_0x3c36e9(0x14d)]();let _0x22830c=null;switch(this[_0x3c36e9(0x2f3)]){case Z['UNIVER_SHEET']:{_0x22830c=Gt(this[_0x3c36e9(0x285)],this[_0x3c36e9(0x2b0)],this['_univerInstanceService'],this[_0x3c36e9(0x329)],this[_0x3c36e9(0x187)]);break;}case Z[_0x3c36e9(0x18b)]:{this['_pendingMutations'][_0x3c36e9(0x2d9)](_0x3b06ff=>_0x3b06ff['id']===_0xc38ab2['id'])?_0x22830c=Gs(this[_0x3c36e9(0x285)],this[_0x3c36e9(0x2b0)],this[_0x3c36e9(0x303)],this['_revisionService'],this[_0x3c36e9(0x187)]):_0x22830c=Gt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x3c36e9(0x187)]);break;}default:throw new Error(_0x3c36e9(0x282)+this[_0x3c36e9(0x2f3)]+_0x3c36e9(0x1ad));}const {changeset:_0x25bc8d,pendingMutations:_0x374043}=_0x22830c;this[_0x3c36e9(0x1b1)][_0x3c36e9(0x1ea)](_0x25bc8d);const _0xe94afd=_0x374043[_0x3c36e9(0x1ce)]?this[_0x3c36e9(0x31d)][_0x3c36e9(0xfb)](ae,this[_0x3c36e9(0x2b0)],this['type'],_0x25bc8d,_0x374043,this[_0x3c36e9(0x1b1)],void 0x0):this['_injector'][_0x3c36e9(0xfb)](_e,this[_0x3c36e9(0x2b0)],this[_0x3c36e9(0x2f3)],_0x25bc8d,this[_0x3c36e9(0x1b1)]);_0xe94afd['_updateLocalCache'](),this[_0x3c36e9(0x1b1)][_0x3c36e9(0x1d8)](this,_0xe94afd);},_0x3fc240);}[_0xce59e2(0x126)](){var _0x13615f=_0xce59e2,_0x25670b;const _0x2b9cfa=this[_0x13615f(0x29b)][_0x13615f(0x13f)](K);return(_0x25670b=_0x2b9cfa==null?void 0x0:_0x2b9cfa['sendChangesetTimeout'])!=null?_0x25670b:ps;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xce59e2(0x14d)](){var _0x45701c=_0xce59e2;this['_sendingTimer']!=null&&(clearTimeout(this[_0x45701c(0x101)]),this[_0x45701c(0x101)]=null);}[_0xce59e2(0x146)](_0x2fead7){var _0x19924d=_0xce59e2;return this[_0x19924d(0x14d)](),this[_0x19924d(0x31d)]['createInstance'](le,this[_0x19924d(0x2b0)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x2fead7);}};re=Ee([P(0x4,_0xd3ba16(_0x347f26)),P(0x5,_0xd3ba16(_0x4dff44)),P(0x6,_0xd3ba16(we)),P(0x7,_0x5342d8),P(0x8,_0x5d8f68),P(0x9,_0x453892),P(0xa,_0x223ac4),P(0xb,_0x26d41e),P(0xc,_0x262b06),P(0xd,_0x320aa9(J))],re);let _e=class extends Ie{constructor(_0x35e4d4,_0x447fb6,_0x29472e,_0x577162,_0x43750b,_0x45c9cb,_0x1ab2b8,_0x5c8c5f,_0x27449b,_0x30bce6,_0x201c09){var _0xf7cf90=_0xce59e2;super(_0x35e4d4,_0x447fb6,_0x29472e,[],_0x577162,_0x1ab2b8,_0x30bce6,_0x45c9cb,_0x201c09),N(this,_0xf7cf90(0x1cd),_0xf7cf90(0x1e1)),N(this,_0xf7cf90(0x166),0x0),N(this,_0xf7cf90(0x89)),N(this,_0xf7cf90(0xff)),(this[_0xf7cf90(0x31d)]=_0x43750b,this[_0xf7cf90(0x241)]=_0x5c8c5f,this[_0xf7cf90(0x8c)]=_0x27449b);}[_0xce59e2(0x361)](_0x4bed22){var _0x49f146=_0xce59e2;this[_0x49f146(0x14d)]();const _0x10c64d=this[_0x49f146(0x31d)][_0x49f146(0xfb)](ae,this[_0x49f146(0x2b0)],this[_0x49f146(0x2f3)],this['_awaitingChangeset'],[_0x4bed22],this[_0x49f146(0x1b1)],this['_resendTimer']);return _0x10c64d['_updateLocalCache'](),_0x10c64d;}[_0xce59e2(0x2ee)](_0x3b2b7e){var _0x1aa7c6=_0xce59e2;if(this['_checkMissing'](_0x3b2b7e))return this['_clearScheduledTask'](),this[_0x1aa7c6(0x31d)][_0x1aa7c6(0xfb)](Q,this[_0x1aa7c6(0x2b0)],this[_0x1aa7c6(0x2f3)],this[_0x1aa7c6(0xf5)],[],null,[_0x3b2b7e],this[_0x1aa7c6(0x1b1)]);try{const _0x3b096c=this[_0x1aa7c6(0x8c)]['transformChangesets']([_0x3b2b7e],[this[_0x1aa7c6(0xf5)]],!0x1);if(_0x227f49(_0x3b096c)){const {c1Prime:_0x124481,c2Prime:_0x4423da}=_0x3b096c;this['_executeRemoteChangeset'](_0x124481[0x0]),_0x4423da[0x0][_0x1aa7c6(0x234)]=this[_0x1aa7c6(0x1df)](),this[_0x1aa7c6(0x14d)]();const _0x561ca8=this[_0x1aa7c6(0x31d)]['createInstance'](_e,this[_0x1aa7c6(0x2b0)],this['type'],_0x4423da[0x0],this[_0x1aa7c6(0x1b1)]);return _0x561ca8[_0x1aa7c6(0x339)](),_0x561ca8;}return this[_0x1aa7c6(0x146)](!0x1);}catch(_0x3b348f){return this['_logService'][_0x1aa7c6(0x313)](_0x3b348f),this[_0x1aa7c6(0x146)](!0x1);}}[_0xce59e2(0x2c7)](_0x5ccc95){var _0x458f13=_0xce59e2;this[_0x458f13(0x14d)]();const _0xdcb123=this['_revisionService'][_0x458f13(0x243)](this[_0x458f13(0x2b0)]);if(_0x5ccc95['revision']<_0xdcb123-0x1)return this;if(this[_0x458f13(0x270)](_0x5ccc95))return this[_0x458f13(0x31d)][_0x458f13(0xfb)](Q,this[_0x458f13(0x2b0)],this[_0x458f13(0x2f3)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x458f13(0x1b9)]();const _0x402cbb=this[_0x458f13(0x31d)][_0x458f13(0xfb)](ye,this['unitID'],this[_0x458f13(0x2f3)],this[_0x458f13(0x1b1)]);return _0x402cbb['_updateLocalCache'](),_0x402cbb;}[_0xce59e2(0x2cc)](_0xcf2ec){var _0x37d118=_0xce59e2;return this[_0x37d118(0x146)](!!(_0xcf2ec!=null&&_0xcf2ec[_0x37d118(0x232)]));}[_0xce59e2(0x2d1)](_0x54d7c7){var _0x5b2c5e=_0xce59e2;return this[_0x5b2c5e(0x166)]>Ti?this[_0x5b2c5e(0x1a6)]():(this[_0x5b2c5e(0x89)]=Ei(this[_0x5b2c5e(0x166)],{'timeout':this[_0x5b2c5e(0x166)],'reqId':_0x54d7c7[_0x5b2c5e(0x323)]}),this[_0x5b2c5e(0xff)]=this[_0x5b2c5e(0x89)][_0x5b2c5e(0x129)](({reqId:_0x5cbdd9,timeout:_0x4ada13})=>{var _0x6ccfbd=_0x5b2c5e;this[_0x6ccfbd(0x15a)](_0x5cbdd9,_0x4ada13);}),this);}[_0xce59e2(0x1a6)](){var _0x34075c=_0xce59e2;return this[_0x34075c(0x14d)](),this[_0x34075c(0x31d)][_0x34075c(0xfb)](ue,this['unitID'],this[_0x34075c(0x2f3)],this[_0x34075c(0xf5)],[],this[_0x34075c(0x1b1)]);}[_0xce59e2(0x357)](){return this;}[_0xce59e2(0x33b)](){var _0x40ffe3=_0xce59e2;this[_0x40ffe3(0x1b1)][_0x40ffe3(0x1ea)](this[_0x40ffe3(0xf5)]);}[_0xce59e2(0x146)](_0x3572c2){var _0x415363=_0xce59e2;return this[_0x415363(0x14d)](),this['_injector'][_0x415363(0xfb)](le,this['unitID'],this[_0x415363(0x2f3)],this[_0x415363(0xf5)],[],this['_handler'],_0x3572c2);}[_0xce59e2(0x15a)](_0xcacc56,_0x554b83){var _0x57eccb=_0xce59e2,_0x184956;_0xcacc56===((_0x184956=this['_awaitingChangeset'])==null?void 0x0:_0x184956['reqId'])&&(this[_0x57eccb(0x33b)](),this[_0x57eccb(0x166)]=_0x554b83===0x0?0x3e8:_0x554b83*0x2);}['_clearScheduledTask'](){var _0x43bf95=_0xce59e2,_0x117595;(_0x117595=this[_0x43bf95(0xff)])==null||_0x117595[_0x43bf95(0x24a)](),this['_resendTimeout']=0x0;}};_e=Ee([P(0x4,_0xd3ba16(_0x347f26)),P(0x5,_0xd3ba16(_0x4dff44)),P(0x6,_0x5d8f68),P(0x7,_0x5342d8),P(0x8,_0x223ac4),P(0x9,_0x262b06),P(0xa,_0x320aa9(J))],_e);let ae=class extends Ie{constructor(_0x1cce51,_0x141f60,_0x1d0591,_0x460dd8,_0xfa0a8a,_0x1eede4,_0x59271a,_0x21e322,_0x26f152,_0x3a6a95,_0x5c0086,_0x48e3be,_0x309be6){var _0x255e20=_0xce59e2;super(_0x1cce51,_0x141f60,_0x1d0591,_0x460dd8,_0xfa0a8a,_0x26f152,_0x48e3be,_0x21e322,_0x309be6),N(this,_0x255e20(0x1cd),'awaiting_with_pending'),N(this,_0x255e20(0x166),0x0),N(this,_0x255e20(0x89)),N(this,'_sender'),(this[_0x255e20(0x31d)]=_0x59271a,this[_0x255e20(0x241)]=_0x3a6a95,this[_0x255e20(0x8c)]=_0x5c0086,this['localCacheService']=_0x309be6,_0x1eede4&&(this[_0x255e20(0x89)]=_0x1eede4,this[_0x255e20(0xff)]=this[_0x255e20(0x89)][_0x255e20(0x129)](({reqId:_0x2e15cb,timeout:_0x55da88})=>{var _0x347259=_0x255e20;this[_0x347259(0x15a)](_0x2e15cb,_0x55da88);})));}[_0xce59e2(0x361)](_0x3d6070){var _0x18b9d0=_0xce59e2;return this[_0x18b9d0(0x285)]['push'](_0x3d6070),this;}[_0xce59e2(0x2ee)](_0xdd9593){var _0x364594=_0xce59e2;if(this['_checkMissing'](_0xdd9593))return this[_0x364594(0x14d)](),this[_0x364594(0x31d)][_0x364594(0xfb)](Q,this[_0x364594(0x2b0)],this[_0x364594(0x2f3)],this[_0x364594(0xf5)],this[_0x364594(0x285)],null,[_0xdd9593],this['_handler']);try{const _0x39bd6f=this[_0x364594(0x8c)]['transformChangesets']([_0xdd9593],[this[_0x364594(0xf5)]],!0x1);if(_0x227f49(_0x39bd6f)){const {c1Prime:_0x3a1e73,c2Prime:_0x6b1feb}=_0x39bd6f,_0x36ead6=this[_0x364594(0x8c)][_0x364594(0x379)](_0x3a1e73[0x0],this[_0x364594(0x285)]);if(_0x3e8c0b(_0x36ead6)){const {c1Prime:_0x3889f2,m2Prime:_0x48fa97}=_0x36ead6;return this['_executeRemoteChangeset'](_0x3889f2),_0x6b1feb[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x364594(0x31d)]['createInstance'](ae,this[_0x364594(0x2b0)],this[_0x364594(0x2f3)],_0x6b1feb[0x0],_0x48fa97,this['_handler'],void 0x0);}throw _0x36ead6[_0x364594(0x313)];}throw _0x39bd6f[_0x364594(0x313)];}catch(_0x45c254){return this[_0x364594(0x241)][_0x364594(0x313)](_0x45c254),this[_0x364594(0x146)](!0x1);}}[_0xce59e2(0x2c7)](_0x3e45b6){var _0x3bd015=_0xce59e2;if(this[_0x3bd015(0x14d)](),this[_0x3bd015(0x270)](_0x3e45b6))return this[_0x3bd015(0x31d)][_0x3bd015(0xfb)](Q,this[_0x3bd015(0x2b0)],this[_0x3bd015(0x2f3)],null,this[_0x3bd015(0x285)],this[_0x3bd015(0xf5)],[],this['_handler']);this[_0x3bd015(0x1b9)]();const _0x506c1e=this['_injector'][_0x3bd015(0xfb)](re,this[_0x3bd015(0x2b0)],this['type'],this[_0x3bd015(0x285)],this['_handler']);return _0x506c1e[_0x3bd015(0xe3)](),_0x506c1e['_updateLocalCache'](),_0x506c1e;}['onRemoteRej'](_0x3f1252){var _0x1ef032=_0xce59e2;return this[_0x1ef032(0x146)](!!(_0x3f1252!=null&&_0x3f1252[_0x1ef032(0x232)]));}[_0xce59e2(0x2d1)](_0x4617b8){var _0x177015=_0xce59e2;return this[_0x177015(0x166)]>Ti?this[_0x177015(0x1a6)]():(this[_0x177015(0x89)]=Ei(this['_resendTimeout'],{'timeout':this[_0x177015(0x166)],'reqId':_0x4617b8[_0x177015(0x323)]}),this[_0x177015(0xff)]=this[_0x177015(0x89)][_0x177015(0x129)](({reqId:_0x201ac1,timeout:_0x535d8c})=>{var _0x3a176f=_0x177015;this[_0x3a176f(0x15a)](_0x201ac1,_0x535d8c);}),this);}[_0xce59e2(0x1a6)](){var _0x1219b2=_0xce59e2;return this[_0x1219b2(0x14d)](),this[_0x1219b2(0x31d)]['createInstance'](ue,this[_0x1219b2(0x2b0)],this[_0x1219b2(0x2f3)],this[_0x1219b2(0xf5)],this[_0x1219b2(0x285)],this[_0x1219b2(0x1b1)]);}['toggleOnline'](){return this;}[_0xce59e2(0x33b)](){var _0xeaa320=_0xce59e2;this[_0xeaa320(0x1b1)][_0xeaa320(0x1ea)](this['_awaitingChangeset']);}['_onConflict'](_0x1bc44b){var _0x1caf34=_0xce59e2;return this[_0x1caf34(0x14d)](),this[_0x1caf34(0x31d)][_0x1caf34(0xfb)](le,this['unitID'],this[_0x1caf34(0x2f3)],null,this['_pendingMutations'],this[_0x1caf34(0x1b1)],_0x1bc44b);}[_0xce59e2(0x15a)](_0x1f113d,_0x555d69){var _0x4fb457=_0xce59e2,_0x44da1c;_0x1f113d===((_0x44da1c=this[_0x4fb457(0xf5)])==null?void 0x0:_0x44da1c[_0x4fb457(0x323)])&&(this[_0x4fb457(0x33b)](),this[_0x4fb457(0x166)]=_0x555d69===0x0?0x3e8:_0x555d69*0x2);}['_clearScheduledTask'](){var _0x2df25d=_0xce59e2,_0x40977f;(_0x40977f=this[_0x2df25d(0xff)])==null||_0x40977f[_0x2df25d(0x24a)](),this[_0x2df25d(0x166)]=0x0;}};ae=Ee([P(0x6,_0xd3ba16(_0x347f26)),P(0x7,_0xd3ba16(_0x4dff44)),P(0x8,_0x5d8f68),P(0x9,_0x5342d8),P(0xa,_0x223ac4),P(0xb,_0x262b06),P(0xc,_0x320aa9(J))],ae);let le=class extends Ie{constructor(_0x2f228a,_0x1e5bca,_0x38c997,_0x43febe,_0x3cd9f3,_0x2765f3=!0x1,_0x5a7fde,_0x34ac45,_0x45e0f9,_0x517e12,_0x161663,_0x166648,_0x588676){var _0x3c19ac=_0xce59e2;super(_0x2f228a,_0x1e5bca,_0x38c997,_0x43febe,_0x3cd9f3,_0x34ac45,_0x45e0f9,_0x517e12,_0x588676),N(this,_0x3c19ac(0x1cd),_0x3c19ac(0x235)),(this[_0x3c19ac(0x267)]=_0x2765f3,this['_permissionService']=_0x5a7fde,this[_0x3c19ac(0x28e)]=_0x161663,this[_0x3c19ac(0x93)]=_0x166648,this[_0x3c19ac(0x169)]=_0x588676,this[_0x3c19ac(0x253)](),this[_0x3c19ac(0xe2)](),this[_0x3c19ac(0x20e)]());}['appendMutation'](){return this;}[_0xce59e2(0x2ee)](){return this;}[_0xce59e2(0x2c7)](){return this;}['onRemoteRej'](){return this;}[_0xce59e2(0x2d1)](){return this;}['toggleOffline'](){return this;}[_0xce59e2(0x357)](){return this;}[_0xce59e2(0x33b)](){var _0x2eede7=_0xce59e2;throw new Error(_0x2eede7(0x1f9));}[_0xce59e2(0xe2)](){var _0x1d9a0f=_0xce59e2,_0x2f22ed;(_0x2f22ed=this[_0x1d9a0f(0x77)])==null||_0x2f22ed[_0x1d9a0f(0x134)](this[_0x1d9a0f(0x2b0)],this[_0x1d9a0f(0x2f3)],null,[]);}[_0xce59e2(0x253)](){var _0x37f608=_0xce59e2;this[_0x37f608(0x267)]?this[_0x37f608(0x93)][_0x37f608(0x29f)]({'id':ne[_0x37f608(0x11b)]}):this[_0x37f608(0x93)][_0x37f608(0x29f)]({'id':ne[_0x37f608(0x17a)]});}['_disableEditing'](){var _0x14bd2e=_0xce59e2;this[_0x14bd2e(0x310)][_0x14bd2e(0x294)](new _0x3f8def(this[_0x14bd2e(0x2b0)])['id'],!0x1);}};le=Ee([P(0x6,_0xd3ba16(_0x683183)),P(0x7,_0x5d8f68),P(0x8,_0x262b06),P(0x9,_0xd3ba16(_0x4dff44)),P(0xa,_0xd3ba16(_0x2575cc)),P(0xb,_0xd3ba16(ve)),P(0xc,_0x320aa9(J))],le);let ue=class extends Ie{constructor(_0x2e19ab,_0x4510a5,_0x21d502,_0x9092c9,_0x116f33,_0x2e6028,_0x4bb767,_0x3f0848,_0x27fb8a,_0x482644){var _0x2efd09=_0xce59e2;super(_0x2e19ab,_0x4510a5,_0x21d502,_0x9092c9,_0x116f33,_0x3f0848,_0x27fb8a,_0x4bb767,_0x482644),N(this,_0x2efd09(0x1cd),_0x2efd09(0x2e1)),this[_0x2efd09(0x31d)]=_0x2e6028;}['appendMutation'](_0x9ee1b4){var _0x1010d5=_0xce59e2;return this[_0x1010d5(0x285)][_0x1010d5(0x1a9)](_0x9ee1b4),this[_0x1010d5(0x339)](),this;}[_0xce59e2(0x2ee)](_0x19b6a3){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xce59e2(0x2c7)](){var _0x5bb923=_0xce59e2;throw new Error(_0x5bb923(0x111));}[_0xce59e2(0x2cc)](){var _0x1d5d9f=_0xce59e2;throw new Error(_0x1d5d9f(0x142));}[_0xce59e2(0x2d1)](){return this;}[_0xce59e2(0x1a6)](){return this;}['toggleOnline'](){var _0x59a1f4=_0xce59e2;const {_injector:_0x1270f5,_pendingMutations:_0x2eb246,_awaitingChangeset:_0x4b4dd8,unitID:_0x39e7f1,_handler:_0x23ba0b,type:_0x5ba56c}=this,_0x1f536a=Ci(_0x1270f5,_0x39e7f1,_0x5ba56c,_0x4b4dd8,_0x2eb246,_0x23ba0b);return _0x1f536a instanceof re?_0x1f536a[_0x59a1f4(0xe3)]():(_0x1f536a instanceof ae||_0x1f536a instanceof _e)&&_0x1f536a[_0x59a1f4(0x33b)](),_0x1f536a;}[_0xce59e2(0x33b)](){var _0x36c07c=_0xce59e2;throw new Error(_0x36c07c(0x2b7));}};ue=Ee([P(0x5,_0xd3ba16(_0x347f26)),P(0x6,_0xd3ba16(_0x4dff44)),P(0x7,_0x5d8f68),P(0x8,_0x262b06),P(0x9,_0x320aa9(J))],ue);let Q=class extends Ie{constructor(_0x20914b,_0x33e269,_0x37b6c6,_0x3a2ef4,_0x348177,_0x3986f5,_0x4128a0,_0x259ffd,_0x355105,_0x5341f5,_0x3c2fa9,_0x13429e,_0x24e512,_0x2944fb){var _0x66d34a=_0xce59e2;super(_0x20914b,_0x33e269,_0x37b6c6,_0x3a2ef4,_0x4128a0,_0x3c2fa9,_0x13429e,_0x355105,_0x2944fb),N(this,'status',_0x66d34a(0x9b)),(this['_acknowledgedAwaitingChangeset']=_0x348177,this[_0x66d34a(0x2a2)]=_0x3986f5,this[_0x66d34a(0x31d)]=_0x259ffd,this[_0x66d34a(0x241)]=_0x5341f5,this[_0x66d34a(0x8c)]=_0x24e512,this[_0x66d34a(0x169)]=_0x2944fb);}[_0xce59e2(0x2f4)](_0x266262){var _0x336513=_0xce59e2;try{const _0x1b4f73=[..._0x266262,...this[_0x336513(0x2a2)]],_0x579984=[this[_0x336513(0xf5)]||this['_acknowledgedAwaitingChangeset']][_0x336513(0x140)](_0x5212c7=>!!_0x5212c7);let _0x4603b5,_0xbfe9d8;if(_0x579984[_0x336513(0x1ce)]){const _0x29c089=this[_0x336513(0x8c)]['transformChangesets'](_0x1b4f73,_0x579984,!0x1);if(!_0x227f49(_0x29c089))throw _0x29c089['error'];_0x4603b5=_0x29c089[_0x336513(0x20d)],_0xbfe9d8=_0x29c089[_0x336513(0xae)];}else _0x4603b5=_0x1b4f73,_0xbfe9d8=[];let _0x14949b=this[_0x336513(0x285)];_0x4603b5[_0x336513(0x333)](_0x482e8e=>{var _0x224abf=_0x336513;let _0x3552e7;if(_0x14949b[_0x224abf(0x1ce)]){const _0x29d903=this[_0x224abf(0x8c)]['transformMutationsWithChangeset'](_0x482e8e,_0x14949b);if(!_0x3e8c0b(_0x29d903))throw _0x29d903[_0x224abf(0x313)];_0x3552e7=_0x29d903[_0x224abf(0x20d)],_0x14949b=_0x29d903['m2Prime'];}else _0x3552e7=_0x482e8e;this[_0x224abf(0x203)](_0x3552e7);}),this[_0x336513(0x2a4)]&&this['_incrementRevisionNumber'](),this[_0x336513(0xf5)]&&_0xbfe9d8[_0x336513(0x1ce)]&&(_0xbfe9d8[0x0][_0x336513(0x234)]=this[_0x336513(0x1df)]());let _0x2d9a28;if(this[_0x336513(0xf5)]&&_0x14949b[_0x336513(0x1ce)]!==0x0)_0x2d9a28=this['_injector'][_0x336513(0xfb)](ae,this[_0x336513(0x2b0)],this[_0x336513(0x2f3)],_0xbfe9d8[0x0],_0x14949b,this[_0x336513(0x1b1)],void 0x0);else{if(this[_0x336513(0xf5)]&&_0x14949b[_0x336513(0x1ce)]===0x0)_0xbfe9d8[0x0][_0x336513(0x234)]=this[_0x336513(0x1df)](),_0x2d9a28=this[_0x336513(0x31d)][_0x336513(0xfb)](_e,this[_0x336513(0x2b0)],this['type'],_0xbfe9d8[0x0],this[_0x336513(0x1b1)]);else{if(_0x14949b[_0x336513(0x1ce)]!==0x0){const _0x2c56ee=this[_0x336513(0x31d)]['createInstance'](re,this['unitID'],this[_0x336513(0x2f3)],_0x14949b,this['_handler']);_0x2c56ee[_0x336513(0xe3)](),_0x2d9a28=_0x2c56ee;}else _0x2d9a28=this[_0x336513(0x31d)]['createInstance'](ye,this[_0x336513(0x2b0)],this['type'],this['_handler']);}}return _0x2d9a28['_updateLocalCache'](),_0x2d9a28;}catch(_0x1251bf){return this[_0x336513(0x241)][_0x336513(0x313)](_0x336513(0x2b2),_0x336513(0x387),_0x1251bf),this[_0x336513(0x31d)]['createInstance'](le,this[_0x336513(0x2b0)],this[_0x336513(0x2f3)],this[_0x336513(0xf5)],this['_pendingMutations'],this[_0x336513(0x1b1)],!0x1);}}[_0xce59e2(0x33b)](){var _0xa68af2=_0xce59e2;throw new Error(_0xa68af2(0x10f));}[_0xce59e2(0x361)](_0x188790){var _0x48a1d3=_0xce59e2;return this['_pendingMutations'][_0x48a1d3(0x1a9)](_0x188790),this;}[_0xce59e2(0x2ee)](_0x259020){var _0x283784=_0xce59e2;return this[_0x283784(0x2a2)][_0x283784(0x1a9)](_0x259020),this;}[_0xce59e2(0x2c7)](_0xd49e32){var _0x3b7998=_0xce59e2;if(this[_0x3b7998(0xf5)])return this[_0x3b7998(0x2a4)]=this[_0x3b7998(0xf5)],this['_awaitingChangeset']=null,this;throw new Error(_0x3b7998(0x26e));}[_0xce59e2(0x2cc)](_0x2e1c3b){var _0x1013b8=_0xce59e2;return this[_0x1013b8(0x146)](!!(_0x2e1c3b!=null&&_0x2e1c3b[_0x1013b8(0x232)]));}[_0xce59e2(0x2d1)](){return this;}['toggleOffline'](){var _0x10c86a=_0xce59e2;return this['_injector'][_0x10c86a(0xfb)](ue,this[_0x10c86a(0x2b0)],this[_0x10c86a(0x2f3)],this[_0x10c86a(0xf5)],this[_0x10c86a(0x285)],this[_0x10c86a(0x1b1)]);}[_0xce59e2(0x357)](){return this;}[_0xce59e2(0x146)](_0xe79db9){var _0x54b632=_0xce59e2;return this[_0x54b632(0x31d)]['createInstance'](le,this['unitID'],this[_0x54b632(0x2f3)],this['_awaitingChangeset'],this[_0x54b632(0x285)],this[_0x54b632(0x1b1)],_0xe79db9);}};Q=Ee([P(0x7,_0xd3ba16(_0x347f26)),P(0x8,_0xd3ba16(_0x4dff44)),P(0x9,_0x5342d8),P(0xa,_0x5d8f68),P(0xb,_0x262b06),P(0xc,_0x223ac4),P(0xd,_0x320aa9(J))],Q);function Ci(_0x4fcead,_0x15723f,_0x50d957,_0x5cbeb3,_0x4e0522,_0x19bee7){var _0x5b05d6=_0xce59e2;return _0x5cbeb3&&_0x4e0522[_0x5b05d6(0x1ce)]?_0x4fcead['createInstance'](ae,_0x15723f,_0x50d957,_0x5cbeb3,_0x4e0522,_0x19bee7,void 0x0):_0x5cbeb3?_0x4fcead[_0x5b05d6(0xfb)](_e,_0x15723f,_0x50d957,_0x5cbeb3,_0x19bee7):_0x4e0522[_0x5b05d6(0x1ce)]?_0x4fcead[_0x5b05d6(0xfb)](re,_0x15723f,_0x50d957,_0x4e0522,_0x19bee7):_0x4fcead[_0x5b05d6(0xfb)](ye,_0x15723f,_0x50d957,_0x19bee7);}var qs=Object[_0xce59e2(0xb3)],wt=(_0x4449ff,_0x442896,_0x45ddac,_0x46b5f4)=>{for(var _0x5c228d=_0x46b5f4>0x1?void 0x0:_0x46b5f4?qs(_0x442896,_0x45ddac):_0x442896,_0x2af046=_0x4449ff['length']-0x1,_0x8a70d2;_0x2af046>=0x0;_0x2af046--)(_0x8a70d2=_0x4449ff[_0x2af046])&&(_0x5c228d=_0x8a70d2(_0x5c228d)||_0x5c228d);return _0x5c228d;},H=(_0x1a4b21,_0x518a58)=>(_0x14286e,_0x36c051)=>_0x518a58(_0x14286e,_0x36c051,_0x1a4b21);let st=class extends _0x4ea9ab{constructor(_0x13c319,_0x434c3e,_0x397c60,_0x54954a,_0x3feaaa,_0x99a141,_0x5cb920,_0xb5535b,_0x14f760,_0x17d1b2,_0x588080,_0xe5f623,_0x4c6fbf){var _0x389be3=_0xce59e2;super(),N(this,_0x389be3(0x291),new _0x45fe1b(null)),N(this,'state$',this[_0x389be3(0x291)][_0x389be3(0x2de)]()),N(this,_0x389be3(0x202)),N(this,_0x389be3(0x23b),!0x1),N(this,_0x389be3(0xd9),''),N(this,'_changesetReqId',0x0),N(this,_0x389be3(0x114),this[_0x389be3(0x293)][_0x389be3(0x388)](_0x4017d8(_0x4afebc=>_0x4afebc?_0x4afebc['status']:Ii[_0x389be3(0x1af)]),_0x297766(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x13c319,this[_0x389be3(0x1d4)]=_0x434c3e,this[_0x389be3(0x312)]=_0x397c60,this[_0x389be3(0x31d)]=_0x54954a,this[_0x389be3(0xb0)]=_0x3feaaa,this['_localeService']=_0x99a141,this['_revisionService']=_0x5cb920,this[_0x389be3(0x295)]=_0xb5535b,this[_0x389be3(0x241)]=_0x14f760,this[_0x389be3(0x2e0)]=_0x17d1b2,this[_0x389be3(0x310)]=_0x588080,this[_0x389be3(0x204)]=_0xe5f623,this[_0x389be3(0x77)]=_0x4c6fbf);}get[_0xce59e2(0x123)](){var _0x37e6f9=_0xce59e2;return this[_0x37e6f9(0x202)];}async[_0xce59e2(0x337)](){var _0x433538=_0xce59e2;if(this[_0x433538(0x123)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x433538(0x280)]();}['pauseCollaboration'](){var _0x3f5244=_0xce59e2;return this[_0x3f5244(0x23b)]=!0x0,_0x35caa1(()=>{var _0x2a99e5=_0x3f5244;this[_0x2a99e5(0x23b)]=!0x1,this[_0x2a99e5(0x30c)]();});}[_0xce59e2(0x1fc)](_0x39a928){var _0x44936f=_0xce59e2;this[_0x44936f(0x1c3)](_0x39a928);}[_0xce59e2(0x162)](_0x401096){this['_state']=_0x401096,this['_state$']['next'](_0x401096);}async[_0xce59e2(0x280)](){var _0x4b01e8=_0xce59e2,_0x2ec874;this[_0x4b01e8(0x162)](await this[_0x4b01e8(0xbb)]()),this[_0x4b01e8(0x204)]&&((_0x2ec874=this[_0x4b01e8(0x204)])==null||_0x2ec874[_0x4b01e8(0xaf)](this['unitID']),this[_0x4b01e8(0x22d)](this[_0x4b01e8(0x204)][_0x4b01e8(0x2cf)](this['unitID'])[_0x4b01e8(0x129)](_0x419197=>{var _0x319b51=_0x4b01e8;this[_0x319b51(0x241)]['debug']('[CollaborationEntity]',_0x319b51(0xeb),_0x419197),_0x419197===Si[_0x319b51(0x84)]?(this[_0x319b51(0x295)][_0x319b51(0x29f)]({'id':ne[_0x319b51(0x122)]}),this[_0x319b51(0x310)][_0x319b51(0x294)](new _0x3f8def(this[_0x319b51(0x2b0)])['id'],!0x1),this['_permissionService'][_0x319b51(0x2bd)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x3f8def(this['unitID'])['id'],!0x0),this['_permissionService'][_0x319b51(0x2bd)](!0x0));})));let _0x209d74=!0x1;return this[_0x4b01e8(0x22d)](this[_0x4b01e8(0x1d4)][_0x4b01e8(0x1ae)]['subscribe'](_0x5eb08a=>{var _0x1dfcb5=_0x4b01e8;_0x5eb08a===ge[_0x1dfcb5(0x372)]?this['_toggleOnline'](_0x209d74):_0x5eb08a===ge[_0x1dfcb5(0x1af)]&&(_0x209d74=!0x0,this['_toggleOffline']());})),this[_0x4b01e8(0x22d)](this[_0x4b01e8(0x1d4)]['event$']['subscribe'](_0x3bd0ce=>{var _0x2b7e89=_0x4b01e8;try{switch(_0x3bd0ce[_0x2b7e89(0x260)]){case _0x4333e6[_0x2b7e89(0x231)]:{this[_0x2b7e89(0x96)](_0x25d327(_0x3bd0ce[_0x2b7e89(0x2fb)]));break;}case _0x4333e6['CHANGESET_ACK']:{this[_0x2b7e89(0xa9)](_0x3bd0ce['data']);break;}case _0x4333e6[_0x2b7e89(0x322)]:{this[_0x2b7e89(0x128)]();break;}case _0x4333e6[_0x2b7e89(0x26d)]:{this[_0x2b7e89(0x35f)](_0x3bd0ce[_0x2b7e89(0x2fb)]);break;}case _0x4333e6['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2b7e89(0xf6)](_0x3bd0ce[_0x2b7e89(0x2fb)]['changesets'][_0x2b7e89(0x2a6)](_0x3f75c5=>_0x25d327(_0x3f75c5)));break;}case _0x4333e6['PERMISSION_REJ']:{this[_0x2b7e89(0x128)]({'isPermissionRej':!0x0});break;}case _0x4333e6['UNISCRIPT_RUN']:break;}}catch(_0x12fdc1){throw console[_0x2b7e89(0x313)]('Error\x20on\x20receiving\x20event',_0x12fdc1),_0x12fdc1;}})),this[_0x4b01e8(0x202)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x34a113=_0xce59e2;if(this[_0x34a113(0x2e8)])throw new Error(_0x34a113(0x321));this[_0x34a113(0x2e8)]=!0x0;}[_0xce59e2(0x1c3)](_0x3b3f62){var _0x57899e=_0xce59e2;this[_0x57899e(0x35d)](),this[_0x57899e(0x162)](this[_0x57899e(0x202)][_0x57899e(0x361)](_0x3b3f62)),this['_unlockTransition']();}[_0xce59e2(0x96)](_0x465208){var _0x423077=_0xce59e2;if(!(_0x465208[_0x423077(0x8a)]<=this[_0x423077(0x329)][_0x423077(0x243)](this['unitID']))){if(this[_0x423077(0x23b)]){this[_0x423077(0x12c)]['push'](_0x465208);return;}this['_applyRemoteChangeset'](_0x465208);}}[_0xce59e2(0x30c)](){var _0x124969=_0xce59e2;this[_0x124969(0x12c)]['forEach'](_0x42f86d=>this[_0x124969(0x25e)](_0x42f86d)),this[_0x124969(0x12c)]=[];}['_applyRemoteChangeset'](_0x503b24){var _0x510472=_0xce59e2;const _0x470b9a=this[_0x510472(0xb0)][_0x510472(0x27e)][_0x510472(0x292)](this[_0x510472(0xb0)]['interceptor'][_0x510472(0x246)]()[_0x510472(0xaa)])(_0x503b24[_0x510472(0x2b8)],null)||_0x503b24[_0x510472(0x2b8)],_0x478210={..._0x503b24,'mutations':_0x470b9a};this[_0x510472(0x35d)](),this[_0x510472(0x162)](this[_0x510472(0x202)][_0x510472(0x2ee)](_0x478210)),this[_0x510472(0x2b3)]();}['_onRemoteACK'](_0x1b1bdf){var _0x3fbc3c=_0xce59e2;this[_0x3fbc3c(0x35d)](),this[_0x3fbc3c(0x162)](this[_0x3fbc3c(0x202)][_0x3fbc3c(0x2c7)](_0x1b1bdf)),this[_0x3fbc3c(0x2b3)]();}['_onRemoteRejected'](_0x52f813){var _0x377e74=_0xce59e2;this[_0x377e74(0x35d)](),this['_updateState'](this[_0x377e74(0x202)][_0x377e74(0x2cc)](_0x52f813)),this[_0x377e74(0x2b3)]();}[_0xce59e2(0x35f)](_0x5b0078){var _0x40e4e0=_0xce59e2;this[_0x40e4e0(0x35d)](),this[_0x40e4e0(0x162)](this[_0x40e4e0(0x202)][_0x40e4e0(0x2d1)](_0x5b0078)),this[_0x40e4e0(0x2b3)]();}[_0xce59e2(0xf6)](_0x1a711d){var _0x5b6b04=_0xce59e2;if(!(this[_0x5b6b04(0x202)]instanceof Q))throw new TypeError(_0x5b6b04(0x325));const _0x2e9d59=_0x1a711d[_0x5b6b04(0x2a6)](_0x5dbdf7=>{var _0x30ceab=_0x5b6b04;const _0x1ee684=this[_0x30ceab(0xb0)]['interceptor']['fetchThroughInterceptors'](this[_0x30ceab(0xb0)][_0x30ceab(0x27e)][_0x30ceab(0x246)]()[_0x30ceab(0xaa)])(_0x5dbdf7[_0x30ceab(0x2b8)],null)||_0x5dbdf7[_0x30ceab(0x2b8)];return{..._0x5dbdf7,'mutations':_0x1ee684};});this[_0x5b6b04(0x35d)](),this[_0x5b6b04(0x162)](this[_0x5b6b04(0x202)]['onMissedChangesetFetched'](_0x2e9d59)),this[_0x5b6b04(0x2b3)]();}[_0xce59e2(0x115)](){var _0x3b2cd3=_0xce59e2;this['_lockTransition'](),this[_0x3b2cd3(0x162)](this['_state'][_0x3b2cd3(0x1a6)]()),this[_0x3b2cd3(0x2b3)]();}[_0xce59e2(0x2a5)](_0x1b897f=!0x1){var _0xfdaf9d=_0xce59e2;this[_0xfdaf9d(0x35d)](),this['_updateState'](this[_0xfdaf9d(0x202)]['toggleOnline']()),this[_0xfdaf9d(0x2b3)]();const _0x312cf1=this[_0xfdaf9d(0x202)];_0x1b897f&&_0x312cf1 instanceof ye&&(this[_0xfdaf9d(0x35d)](),this['_updateState'](_0x312cf1[_0xfdaf9d(0x1dc)]()),this[_0xfdaf9d(0x2b3)]());}async['_createInitialState'](){return new Promise(_0x5a3960=>{var _0x30f702=_0x2a1f;this[_0x30f702(0x1d4)][_0x30f702(0x1ae)][_0x30f702(0x388)](_0x519828(0x1))[_0x30f702(0x129)](async _0x3e876e=>{var _0x349f40=_0x30f702;_0x5a3960(await this[_0x349f40(0x1f8)](_0x3e876e===ge[_0x349f40(0x372)]));});});}[_0xce59e2(0xfa)](){var _0x372cbd=_0xce59e2;const _0x16d8df=this[_0x372cbd(0x2b0)];return{'onStateChange':(_0x2d3910,_0x5ed04f)=>{var _0x18e4f0=_0x372cbd;if(_0x2d3910!==this[_0x18e4f0(0x202)])throw new Error(_0x18e4f0(0x11f)+_0x2d3910[_0x18e4f0(0x1cd)]+_0x18e4f0(0x1e3)+_0x5ed04f[_0x18e4f0(0x1cd)]+_0x18e4f0(0x238)+this['_state'][_0x18e4f0(0x1cd)]);this[_0x18e4f0(0x162)](_0x5ed04f);},'onSendChangeset':_0x25dd03=>{var _0x157b57=_0x372cbd;_0x25dd03['sid']||(_0x25dd03[_0x157b57(0x2e3)]=this[_0x157b57(0xd9)],_0x25dd03[_0x157b57(0x323)]=++this[_0x157b57(0x27b)]);const _0x3e32a7={'eventID':_0x4333e6['SUBMIT_CHANGESET'],'data':{'unitID':_0x25dd03[_0x157b57(0x2b0)],'unitType':this[_0x157b57(0x312)],'changeset':_0x25dd03,'memberID':this[_0x157b57(0x1d4)][_0x157b57(0x244)]()}};this[_0x157b57(0x1d4)][_0x157b57(0x34f)](_0x3e32a7,this['unitID']);},'onMissingChangesets':({from:_0x3b5dc3,to:_0x4b9248})=>{var _0x19215e=_0x372cbd;this['_logService']['debug'](_0x19215e(0x1a8),_0x19215e(0xa3)+_0x3b5dc3+'\x20to\x20'+_0x4b9248);const _0x89ab68={'eventID':_0x4333e6[_0x19215e(0x34e)],'data':{'unitID':_0x16d8df,'unitType':this[_0x19215e(0x312)],'from':_0x3b5dc3,'to':_0x4b9248}};this['session'][_0x19215e(0x34f)](_0x89ab68,this[_0x19215e(0x2b0)]);}};}async['_createInitialStateImpl'](_0x188601){var _0x45aff5=_0xce59e2,_0x17be0d,_0x5fb520,_0x2142cc;const _0x4390e4=await((_0x17be0d=this[_0x45aff5(0x77)])==null?void 0x0:_0x17be0d[_0x45aff5(0xef)](this[_0x45aff5(0x2b0)])),_0x25a22b=(_0x5fb520=_0x4390e4==null?void 0x0:_0x4390e4['mutations'])!=null?_0x5fb520:[],_0x200361=(_0x2142cc=_0x4390e4==null?void 0x0:_0x4390e4['awaitingChangeset'])!=null?_0x2142cc:null,_0x5cd4f4=!!(_0x200361!=null&&_0x200361['sid'])&&!!(_0x200361!=null&&_0x200361[_0x45aff5(0x323)]);this[_0x45aff5(0xd9)]=_0x5cd4f4?_0x200361[_0x45aff5(0x2e3)]:_0x4ede0e(),this['_changesetReqId']=_0x5cd4f4?_0x200361[_0x45aff5(0x323)]:0x0;const _0x2b9b17=this['unitID'];try{this[_0x45aff5(0x308)](_0x200361,_0x25a22b);}catch(_0x287998){this[_0x45aff5(0x241)][_0x45aff5(0x313)](_0x287998);}const _0x2eccd1=this[_0x45aff5(0xfa)]();if(_0x188601){const _0x29d5a6=Ci(this[_0x45aff5(0x31d)],_0x2b9b17,this[_0x45aff5(0x312)],_0x200361,_0x25a22b,_0x2eccd1);return _0x29d5a6 instanceof re?_0x29d5a6['_schedule']():(_0x29d5a6 instanceof ae||_0x29d5a6 instanceof _e)&&_0x29d5a6[_0x45aff5(0x33b)](),_0x29d5a6;}return this[_0x45aff5(0x31d)]['createInstance'](ue,_0x2b9b17,this[_0x45aff5(0x312)],_0x200361,_0x25a22b,_0x2eccd1);}['_replayCachedMutations'](_0xec5497,_0x5ceded){var _0x192545=_0xce59e2,_0x4c06bb,_0x1b7f9f;const _0x1e2376=this['_compressMutationService'][_0x192545(0x27e)][_0x192545(0x292)](this[_0x192545(0xb0)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x4c06bb=_0x1e2376((_0xec5497==null?void 0x0:_0xec5497['mutations'])||[],null))==null||_0x4c06bb[_0x192545(0x333)](_0xe5ac50=>this[_0x192545(0x2e0)][_0x192545(0x356)](_0xe5ac50['id'],_0xe5ac50[_0x192545(0x108)])),(_0x1b7f9f=_0x1e2376(_0x5ceded||[],null))==null||_0x1b7f9f[_0x192545(0x333)](_0xd0b441=>this['_commandService'][_0x192545(0x356)](_0xd0b441['id'],_0xd0b441[_0x192545(0x108)]));}};st=wt([H(0x3,_0xd3ba16(_0x347f26)),H(0x4,_0xd3ba16(_0x40b7f5)),H(0x5,_0xd3ba16(_0x2575cc)),H(0x6,_0xd3ba16(_0x4dff44)),H(0x7,_0xd3ba16(ve)),H(0x8,_0x5342d8),H(0x9,_0x5d8f68),H(0xa,_0x683183),H(0xb,_0x320aa9(ht)),H(0xc,_0x320aa9(J))],st);let St=class extends st{constructor(_0x2121a7,_0x3f2a9d,_0x42bbbd,_0x37db82,_0x51531f,_0x19373c,_0x51f46f,_0x48a5ef,_0x504db4,_0x3d5db2,_0x5bf817,_0x4664a2,_0x49e7fe){var _0x29ec33=_0xce59e2;super(_0x2121a7,_0x42bbbd,_0x3f2a9d,_0x37db82,_0x51531f,_0x19373c,_0x51f46f,_0x48a5ef,_0x504db4,_0x3d5db2,_0x5bf817,_0x4664a2,_0x49e7fe),N(this,_0x29ec33(0x28d),null),(this[_0x29ec33(0x2b0)]=_0x2121a7,this[_0x29ec33(0x2f3)]=_0x3f2a9d);}[_0xce59e2(0x2a8)](_0x3a18ac){var _0x325a91=_0xce59e2;this[_0x325a91(0x28d)]=_0x3a18ac;}[_0xce59e2(0x29e)](){var _0x28bdfe=_0xce59e2;this[_0x28bdfe(0x28d)]=null,super[_0x28bdfe(0x29e)]();}[_0xce59e2(0xfa)](){var _0xc86490=_0xce59e2;const _0x4481d1=super[_0xc86490(0xfa)]();return _0x4481d1[_0xc86490(0x275)]=_0x1268bc=>{var _0x548938=_0xc86490,_0xab3a0d,_0x48cb5d;return(_0x48cb5d=(_0xab3a0d=this[_0x548938(0x28d)])==null?void 0x0:_0xab3a0d[_0x548938(0x275)])==null?void 0x0:_0x48cb5d[_0x548938(0x1fb)](_0xab3a0d,_0x1268bc);},_0x4481d1[_0xc86490(0x23d)]=_0x4f10e4=>{var _0x444af7=_0xc86490,_0x162a73,_0x1b5f1a;return(_0x1b5f1a=(_0x162a73=this['_handlerCallback'])==null?void 0x0:_0x162a73[_0x444af7(0x23d)])==null?void 0x0:_0x1b5f1a[_0x444af7(0x1fb)](_0x162a73,_0x4f10e4);},_0x4481d1[_0xc86490(0x382)]=_0x36dc23=>{var _0x3cda05=_0xc86490,_0x258707,_0x5859f4;return(_0x5859f4=(_0x258707=this[_0x3cda05(0x28d)])==null?void 0x0:_0x258707[_0x3cda05(0x382)])==null?void 0x0:_0x5859f4[_0x3cda05(0x1fb)](_0x258707,_0x36dc23);},_0x4481d1[_0xc86490(0x12b)]=_0x3e3bb7=>{var _0x65a7f=_0xc86490,_0x11efa5,_0x32be67;return(_0x32be67=(_0x11efa5=this[_0x65a7f(0x28d)])==null?void 0x0:_0x11efa5[_0x65a7f(0x12b)])==null?void 0x0:_0x32be67[_0x65a7f(0x1fb)](_0x11efa5,_0x3e3bb7);},_0x4481d1[_0xc86490(0x23f)]=_0x23b17f=>{var _0x5aedb6=_0xc86490,_0x237710,_0x4ae562,_0x4eb1cd;if(!((_0x237710=this[_0x5aedb6(0x28d)])!=null&&_0x237710[_0x5aedb6(0x23f)]))throw new Error(_0x5aedb6(0x15b));return(_0x4eb1cd=(_0x4ae562=this[_0x5aedb6(0x28d)])==null?void 0x0:_0x4ae562['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4eb1cd[_0x5aedb6(0x1fb)](_0x4ae562,_0x23b17f);},_0x4481d1[_0xc86490(0x14f)]=_0x577643=>{var _0x3bec3d=_0xc86490,_0x2a137a,_0x3ebfda,_0x227b9c;if(!((_0x2a137a=this['_handlerCallback'])!=null&&_0x2a137a[_0x3bec3d(0x14f)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x227b9c=(_0x3ebfda=this[_0x3bec3d(0x28d)])==null?void 0x0:_0x3ebfda[_0x3bec3d(0x14f)])==null?void 0x0:_0x227b9c[_0x3bec3d(0x1fb)](_0x3ebfda,_0x577643);},_0x4481d1;}async[_0xce59e2(0x280)](){var _0x311636=_0xce59e2;const _0xd4bb33=await super[_0x311636(0x280)]();return this[_0x311636(0x22d)](this[_0x311636(0x2e0)][_0x311636(0x173)]((_0x3bf2ab,_0x4f271e)=>{var _0x52095c=_0x311636;if(_0x3bf2ab[_0x52095c(0x2f3)]!==_0x2c69e2['MUTATION']||_0x4f271e!=null&&_0x4f271e[_0x52095c(0x341)]||_0x4f271e!=null&&_0x4f271e[_0x52095c(0xd6)]||_0x3bf2ab['id']===_0xc38ab2['id'])return;const _0x20acca=_0x3bf2ab[_0x52095c(0x108)];if((_0x20acca==null?void 0x0:_0x20acca[_0x52095c(0x249)])!==this['unitID'])return;const _0x3a1223=_0x3bf2ab,_0x21e1b2=this['_compressMutationService'][_0x52095c(0x27e)][_0x52095c(0x292)](this[_0x52095c(0xb0)][_0x52095c(0x27e)][_0x52095c(0x246)]()['COMPRESS_MUTATION_SEND'])([_0x3a1223],null)||[_0x3a1223];this[_0x52095c(0x1c3)](_0x21e1b2[0x0]);})),_0xd4bb33;}};St=wt([H(0x3,_0xd3ba16(_0x347f26)),H(0x4,_0xd3ba16(_0x40b7f5)),H(0x5,_0xd3ba16(_0x2575cc)),H(0x6,_0xd3ba16(_0x4dff44)),H(0x7,_0xd3ba16(ve)),H(0x8,_0x5342d8),H(0x9,_0x5d8f68),H(0xa,_0x683183),H(0xb,_0x320aa9(ht)),H(0xc,_0x320aa9(J))],St);let Et=class extends st{constructor(_0x28e048,_0x5a2576,_0x164582,_0x5aa640,_0x4810b5,_0x274f27,_0x50dc4a,_0x390888,_0x412f72,_0x5ae6df,_0x46527c,_0xc1deeb,_0x4213b4,_0xfec453){var _0x122ab3=_0xce59e2;super(_0x28e048,_0x164582,_0x5a2576,_0x5aa640,_0x4810b5,_0x274f27,_0x50dc4a,_0x412f72,_0x5ae6df,_0x46527c,_0xc1deeb,_0x4213b4,_0xfec453),this[_0x122ab3(0x2b0)]=_0x28e048,this[_0x122ab3(0x2f3)]=_0x5a2576,this[_0x122ab3(0x1be)]=_0x390888;}[_0xce59e2(0xfa)](){var _0x36f5b3=_0xce59e2;const _0x1bc2e0=super[_0x36f5b3(0xfa)]();return _0x1bc2e0['onTransformSelections']=_0x2104ef=>this[_0x36f5b3(0x1be)][_0x36f5b3(0x192)](_0x2104ef),_0x1bc2e0;}async[_0xce59e2(0x280)](){var _0x7290f9=_0xce59e2;const _0xb93bb6=await super['_init']();return this[_0x7290f9(0x22d)](this[_0x7290f9(0x2e0)][_0x7290f9(0x173)]((_0x2f48c1,_0x11e17e)=>{var _0x3cc45c=_0x7290f9;if(_0x2f48c1[_0x3cc45c(0x2f3)]!==_0x2c69e2[_0x3cc45c(0x91)]||_0x11e17e!=null&&_0x11e17e[_0x3cc45c(0x341)]||_0x11e17e!=null&&_0x11e17e[_0x3cc45c(0xd6)])return;const _0x3cd344=_0x2f48c1[_0x3cc45c(0x108)];if((_0x3cd344==null?void 0x0:_0x3cd344['unitId'])!==this[_0x3cc45c(0x2b0)])return;const _0x409b54=_0x2f48c1,_0x5c6156=this[_0x3cc45c(0xb0)][_0x3cc45c(0x27e)]['fetchThroughInterceptors'](this[_0x3cc45c(0xb0)][_0x3cc45c(0x27e)]['getInterceptPoints']()[_0x3cc45c(0x153)])([_0x409b54],null)||[_0x409b54];this[_0x3cc45c(0x1c3)](_0x5c6156[0x0]);})),_0xb93bb6;}};Et=wt([H(0x3,_0xd3ba16(_0x347f26)),H(0x4,_0xd3ba16(_0x40b7f5)),H(0x5,_0xd3ba16(_0x2575cc)),H(0x6,_0xd3ba16(_0x4dff44)),H(0x7,_0xd3ba16(it)),H(0x8,_0xd3ba16(ve)),H(0x9,_0x5342d8),H(0xa,_0x5d8f68),H(0xb,_0x683183),H(0xc,_0x320aa9(ht)),H(0xd,_0x320aa9(J))],Et);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x28e853,_0x16df7c,_0x3fbcb9,_0x4e47fe)=>{for(var _0x363bf6=_0x4e47fe>0x1?void 0x0:_0x4e47fe?zs(_0x16df7c,_0x3fbcb9):_0x16df7c,_0xbac217=_0x28e853['length']-0x1,_0x4016c4;_0xbac217>=0x0;_0xbac217--)(_0x4016c4=_0x28e853[_0xbac217])&&(_0x363bf6=_0x4016c4(_0x363bf6)||_0x363bf6);return _0x363bf6;},Be=(_0xf122d4,_0x5ebd3b)=>(_0x1bb547,_0x4fb806)=>_0x5ebd3b(_0x1bb547,_0x4fb806,_0xf122d4);let nt=class extends _0x4ea9ab{constructor(_0x57b184,_0x211079,_0x2c8d34,_0xb0dc9e){var _0x5353a6=_0xce59e2,_0x3831ef;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x5802a1()),N(this,_0x5353a6(0x288),this[_0x5353a6(0xb8)][_0x5353a6(0x2de)]()),(this[_0x5353a6(0x31d)]=_0x57b184,this['_collabSessionService']=_0x211079,this[_0x5353a6(0x29b)]=_0x2c8d34,this['_univerInstanceService']=_0xb0dc9e,((_0x3831ef=this[_0x5353a6(0x29b)]['getConfig'](K))==null?void 0x0:_0x3831ef[_0x5353a6(0x2cb)])!==!0x1&&this[_0x5353a6(0x280)]());}[_0xce59e2(0x29e)](){var _0x358a7b=_0xce59e2;super[_0x358a7b(0x29e)](),this[_0x358a7b(0x370)][_0x358a7b(0x333)](_0x33d304=>_0x33d304[_0x358a7b(0x29e)]()),this['_entities'][_0x358a7b(0x137)]();}[_0xce59e2(0xda)](_0x58c9ee){var _0x3b079f=_0xce59e2,_0x4aa12b;return(_0x4aa12b=this[_0x3b079f(0x370)][_0x3b079f(0x132)](_0x58c9ee))!=null?_0x4aa12b:null;}[_0xce59e2(0x27a)](_0x195b2f){var _0x1936fc=_0xce59e2;const _0x4ca4a8=this[_0x1936fc(0xda)](_0x195b2f);return _0x4ca4a8?_0x23d607(_0x4ca4a8):this['_entityInit$'][_0x1936fc(0x388)](_0x355989(_0x2b7eed=>_0x2b7eed[_0x1936fc(0x2b0)]===_0x195b2f));}['readyForCollab'](_0x2418b7){var _0xc8bbfa=_0xce59e2;return _0x27491b(this[_0xc8bbfa(0x27a)](_0x2418b7)[_0xc8bbfa(0x388)](_0x161964(()=>{})));}[_0xce59e2(0x280)](){var _0x55dc02=_0xce59e2;this[_0x55dc02(0x303)][_0x55dc02(0x300)](_0x125792[_0x55dc02(0x2ce)])[_0x55dc02(0x388)](_0x483afb(this['dispose$']),_0x2a9890(0x10))[_0x55dc02(0x129)](async _0xbcebea=>{var _0x364aa7=_0x55dc02;const _0x3ae2b8=_0xbcebea[_0x364aa7(0x206)](),_0x143afa=await this['_startCollaboration'](_0x3ae2b8,Z[_0x364aa7(0x2ce)]);this[_0x364aa7(0x370)][_0x364aa7(0x2ff)](_0x3ae2b8,_0x143afa);}),this[_0x55dc02(0x303)][_0x55dc02(0x300)](_0x125792[_0x55dc02(0x18b)])[_0x55dc02(0x388)](_0x483afb(this[_0x55dc02(0x1ec)]),_0x2a9890(0x10))[_0x55dc02(0x388)](_0x355989(_0x551cac=>!_0x551cac[_0x55dc02(0x206)]()['startsWith']('__')))['subscribe'](async _0xb02b44=>{var _0x151210=_0x55dc02;const _0x9fccec=_0xb02b44[_0x151210(0x206)](),_0x3ed6cc=await this[_0x151210(0x375)](_0x9fccec,Z[_0x151210(0x18b)]);this[_0x151210(0x370)][_0x151210(0x2ff)](_0x9fccec,_0x3ed6cc);}),_0x20d0a4(this[_0x55dc02(0x303)]['getTypeOfUnitDisposed$'](_0x125792['UNIVER_SHEET']),this[_0x55dc02(0x303)]['getTypeOfUnitDisposed$'](_0x125792[_0x55dc02(0x18b)]))['pipe'](_0x483afb(this[_0x55dc02(0x1ec)]))[_0x55dc02(0x129)](_0x16995d=>{var _0x10b7c2=_0x55dc02;const _0x281b7b=_0x16995d[_0x10b7c2(0x206)](),_0x54ed06=this[_0x10b7c2(0x370)]['get'](_0x281b7b);_0x54ed06&&(_0x54ed06['dispose'](),this[_0x10b7c2(0x370)][_0x10b7c2(0x30a)](_0x281b7b));});}async[_0xce59e2(0x375)](_0x151ec7,_0x1472e6){var _0x27c021=_0xce59e2;const _0xc1fa69=await this[_0x27c021(0x229)]['requireSession'](_0x151ec7),_0x4ed070=this[_0x27c021(0x31d)][_0x27c021(0xfb)](this[_0x27c021(0x7d)](_0x1472e6),_0x151ec7,_0x1472e6,_0xc1fa69);return await _0x4ed070[_0x27c021(0x337)](),this[_0x27c021(0xb8)][_0x27c021(0x147)](_0x4ed070),_0x4ed070;}[_0xce59e2(0x7d)](_0x3da650){var _0x516ecb=_0xce59e2;switch(_0x3da650){case Z[_0x516ecb(0x18b)]:return St;case Z[_0x516ecb(0x2ce)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3da650);}}};nt=Js([Be(0x0,_0xd3ba16(_0x347f26)),Be(0x1,_0xd3ba16(Pe)),Be(0x2,_0x453892),Be(0x3,_0x26d41e)],nt);var Xs=Object[_0xce59e2(0xb3)],Zs=(_0x2d39c8,_0x55a147,_0x51da0a,_0x8fc94c)=>{for(var _0x3f9061=_0x8fc94c>0x1?void 0x0:_0x8fc94c?Xs(_0x55a147,_0x51da0a):_0x55a147,_0x38371c=_0x2d39c8['length']-0x1,_0x3266e4;_0x38371c>=0x0;_0x38371c--)(_0x3266e4=_0x2d39c8[_0x38371c])&&(_0x3f9061=_0x3266e4(_0x3f9061)||_0x3f9061);return _0x3f9061;},Yt=(_0x127637,_0x29cf35)=>(_0x1b81d9,_0x2b167f)=>_0x29cf35(_0x1b81d9,_0x2b167f,_0x127637);const Qs=_0xce59e2(0x2db),en=_0xce59e2(0x273);let It=class extends _0x14b399{constructor(_0x57dc5c,_0x26dfb4){var _0x1164f2=_0xce59e2;super(),this[_0x1164f2(0x303)]=_0x57dc5c,this['_configService']=_0x26dfb4,this[_0x1164f2(0x280)]();}['_init'](){var _0x5dac9e=_0xce59e2;this[_0x5dac9e(0x22d)](this[_0x5dac9e(0x303)][_0x5dac9e(0x97)][_0x5dac9e(0x129)](()=>{var _0x1711ce=_0x5dac9e,_0x1e7b9c;const _0x12e29e=this[_0x1711ce(0x303)][_0x1711ce(0x22e)]();let _0x5da156=(_0x1e7b9c=this[_0x1711ce(0x29b)]['getConfig'](Qs))!=null?_0x1e7b9c:en;_0x12e29e instanceof _0x2910f4&&(_0x5da156=_0x12e29e[_0x1711ce(0x186)]),document[_0x1711ce(0x258)]=_0x5da156;}));}};It=Zs([Yt(0x0,_0x26d41e),Yt(0x1,_0x453892)],It);var tn=Object[_0xce59e2(0xb3)],sn=(_0x72936f,_0x282711,_0x1bdb9e,_0x33fdab)=>{var _0x118b97=_0xce59e2;for(var _0xd956ea=_0x33fdab>0x1?void 0x0:_0x33fdab?tn(_0x282711,_0x1bdb9e):_0x282711,_0x194b4c=_0x72936f[_0x118b97(0x1ce)]-0x1,_0x5d5e18;_0x194b4c>=0x0;_0x194b4c--)(_0x5d5e18=_0x72936f[_0x194b4c])&&(_0xd956ea=_0x5d5e18(_0xd956ea)||_0xd956ea);return _0xd956ea;},dt=(_0x1808b0,_0x1a6776)=>(_0x9ad319,_0x1e2291)=>_0x1a6776(_0x9ad319,_0x1e2291,_0x1808b0);let rt=class{constructor(_0x26505a,_0x43c65b,_0x53c5c8){var _0x20554f=_0xce59e2;this['_configService']=_0x26505a,this[_0x20554f(0x373)]=_0x43c65b,this[_0x20554f(0x26c)]=_0x53c5c8,this[_0x20554f(0x337)]();}[_0xce59e2(0x337)](){var _0x26eab0=_0xce59e2;this['_httpService'][_0x26eab0(0xb2)]({'priority':0x1,'interceptor':(_0x127366,_0x486ca8)=>_0x486ca8(_0x127366)[_0x26eab0(0x388)](_0x17545b(async _0x26bbe6=>{var _0x58006b=_0x26eab0;const _0x1ad83f=_0x26bbe6;if(_0x1ad83f[_0x58006b(0x1cd)]===0x191){if(typeof window>'u')throw new Error(_0x58006b(0x219));if(window[_0x58006b(0x386)](this[_0x58006b(0x26c)]['t']('auth.needGotoLoginAlert'))){const _0x203af3=window[_0x58006b(0x207)](window[_0x58006b(0x380)][_0x58006b(0x347)]);window[_0x58006b(0x380)][_0x58006b(0x347)]=this[_0x58006b(0x1e2)]()+_0x58006b(0x2bb)+_0x203af3;}}return _0x1ad83f;}))});}[_0xce59e2(0x1e2)](){var _0x10fdd1=_0xce59e2,_0x423c2b;const _0x339a55=this[_0x10fdd1(0x29b)][_0x10fdd1(0x13f)](K);return(_0x423c2b=_0x339a55==null?void 0x0:_0x339a55['loginUrlKey'])!=null?_0x423c2b:Rs;}};rt=sn([dt(0x0,_0x453892),dt(0x1,_0xd3ba16(_0x313c9a)),dt(0x2,_0xd3ba16(_0x2575cc))],rt);var nn=Object[_0xce59e2(0xb3)],rn=(_0x317e2c,_0x1ed0b0,_0x35f954,_0x5201b8)=>{for(var _0x58763b=_0x5201b8>0x1?void 0x0:_0x5201b8?nn(_0x1ed0b0,_0x35f954):_0x1ed0b0,_0x294aaf=_0x317e2c['length']-0x1,_0x1472a5;_0x294aaf>=0x0;_0x294aaf--)(_0x1472a5=_0x317e2c[_0x294aaf])&&(_0x58763b=_0x1472a5(_0x58763b)||_0x58763b);return _0x58763b;},Kt=(_0x1cc522,_0x41e16c)=>(_0x13291c,_0x9b3101)=>_0x41e16c(_0x13291c,_0x9b3101,_0x1cc522);const an='/universer-api/authz';let Tt=class extends _0x14b399{constructor(_0x108ab5,_0x5419b5){var _0x477453=_0xce59e2;super(),this[_0x477453(0x349)]=_0x108ab5,this['_configService']=_0x5419b5,this[_0x477453(0x20b)]();}['_initMergeInterceptor'](){var _0x12fe2c=_0xce59e2;const _0x59da2d=this;this['disposeWithMe'](this[_0x12fe2c(0x349)][_0x12fe2c(0xb2)]({'priority':0x3e7,'interceptor':_0x38f652({'isMatch'(_0x2f1250){var _0x30d0ce=_0x12fe2c,_0x1a4f93;if(_0x2f1250['method']===_0x30d0ce(0x2b9)&&((_0x1a4f93=_0x2f1250[_0x30d0ce(0xc8)])!=null&&_0x1a4f93[_0x30d0ce(0x32d)])){const {objectID:_0x3ac916,objectType:_0x5d3a68}=_0x2f1250[_0x30d0ce(0xc8)][_0x30d0ce(0x32d)]||{};if(!_0x3ac916||_0x5d3a68===void 0x0)return!0x1;const _0x6ac47c=_0x59da2d[_0x30d0ce(0x20f)]()+'/'+_0x5d3a68+_0x30d0ce(0x1d1)+_0x3ac916+_0x30d0ce(0x384);if(_0x2f1250[_0x30d0ce(0x174)]===_0x6ac47c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xed46b6){var _0x129c78=_0x12fe2c,_0x2811af;return(_0x2811af=_0xed46b6[_0x129c78(0xc8)])==null?void 0x0:_0x2811af[_0x129c78(0x32d)];},'mergeParamsToRequest'(_0x14a193,_0x4cd6d7){var _0x1351d4=_0x12fe2c;const _0x182612=_0x59da2d[_0x1351d4(0x20f)]()+_0x1351d4(0x34c),_0x1ccc57=_0x14a193[_0x1351d4(0x239)]((_0x10e280,_0x4cd74c)=>{var _0x21c93e=_0x1351d4;const {unitID:_0x45cd6e,objectID:_0x25e996,objectType:_0x3e9767,actions:_0x165688}=_0x4cd74c;return _0x10e280[_0x45cd6e]||(_0x10e280[_0x45cd6e]={}),_0x10e280[_0x45cd6e][_0x25e996]||(_0x10e280[_0x45cd6e][_0x25e996]={'objectID':_0x25e996,'objectType':_0x3e9767,'actions':[]}),_0x10e280[_0x45cd6e][_0x25e996]['actions'][_0x21c93e(0x1a9)](..._0x165688),_0x10e280;},{}),_0x4818ba=[];for(const _0x16e4a5 in _0x1ccc57)for(const _0x51cf97 in _0x1ccc57[_0x16e4a5]){const {actions:_0x77b8be,objectType:_0x28857d}=_0x1ccc57[_0x16e4a5][_0x51cf97],_0x5b8def=[...new Set(_0x77b8be)];_0x4818ba[_0x1351d4(0x1a9)]({'unitID':_0x16e4a5,'objectID':_0x51cf97,'objectType':_0x28857d,'actions':_0x5b8def});}return new _0x24e74d(_0x1351d4(0x2b9),_0x182612,{'headers':_0x4cd6d7['headers'],'withCredentials':_0x4cd6d7['withCredentials'],'responseType':_0x4cd6d7[_0x1351d4(0x170)],'body':{'requests':_0x4818ba}});}},{'distributeResult'(_0x74bbbc,_0x22d9b5){var _0x3941db=_0x12fe2c;const {objectActions:_0x234e22}=_0x74bbbc;return _0x22d9b5[_0x3941db(0x2a6)](_0x44b663=>{var _0x18e6e5=_0x3941db;const {unitID:_0x1121b0,objectID:_0x5a81c6,actions:_0x27064d}=_0x44b663,_0x469cc5=_0x234e22[_0x18e6e5(0x156)](_0x22a6fc=>_0x22a6fc['unitID']===_0x1121b0&&_0x22a6fc['objectID']===_0x5a81c6),_0x1e4892=_0x27064d[_0x18e6e5(0x2a6)](_0x5f2fc5=>_0x469cc5==null?void 0x0:_0x469cc5['actions'][_0x18e6e5(0x156)](_0x35071d=>_0x35071d[_0x18e6e5(0x317)]===_0x5f2fc5))[_0x18e6e5(0x140)](_0x590e31=>!!_0x590e31);return{'config':_0x44b663,'result':{'actions':_0x1e4892,'error':_0x74bbbc[_0x18e6e5(0x313)]}};});}})}));}[_0xce59e2(0x20f)](){var _0x56dbfc=_0xce59e2,_0x18010e;const _0x36a389=this[_0x56dbfc(0x29b)][_0x56dbfc(0x13f)](K);return(_0x18010e=_0x36a389==null?void 0x0:_0x36a389[_0x56dbfc(0xb5)])!=null?_0x18010e:an;}async[_0xce59e2(0x286)](_0x1d85d5){var _0x1bb236=_0xce59e2;const _0x14b3ac=this[_0x1bb236(0x20f)]()+'/'+_0x1d85d5[_0x1bb236(0x1ab)]+_0x1bb236(0x218);return(await this['_HTTPService'][_0x1bb236(0xf4)](_0x14b3ac,{'body':_0x1d85d5}))['body'][_0x1bb236(0x1bd)]||'';}async[_0xce59e2(0x28c)](_0x4a75d6){var _0x3b4418=_0xce59e2;const _0x7acbd2=this[_0x3b4418(0x20f)]()+_0x3b4418(0x1f0);return(await this[_0x3b4418(0x349)][_0x3b4418(0xf4)](_0x7acbd2,{'body':_0x4a75d6}))[_0x3b4418(0x32d)]['objects'];}async[_0xce59e2(0x1ac)](_0x2470e9){var _0x528170=_0xce59e2,_0x2907d2,_0x56d14a;const _0x323a75=this[_0x528170(0x20f)]()+'/'+_0x2470e9['objectType']+_0x528170(0x1d1)+_0x2470e9[_0x528170(0x1bd)],_0x549c02=await this[_0x528170(0x349)]['put'](_0x323a75,{'body':_0x2470e9});if(((_0x56d14a=(_0x2907d2=_0x549c02==null?void 0x0:_0x549c02[_0x528170(0x32d)])==null?void 0x0:_0x2907d2[_0x528170(0x313)])==null?void 0x0:_0x56d14a[_0x528170(0x371)])!==0x1)throw new Error(_0x528170(0x2e9));}async[_0xce59e2(0x2a7)](_0x57b0e2){var _0x35e700=_0xce59e2;const _0x4bab09=this['_getAPIPrefixPath']()+'/'+_0x57b0e2[_0x35e700(0x1ab)]+_0x35e700(0x1d1)+_0x57b0e2[_0x35e700(0x1bd)]+'/allowed';return(await this[_0x35e700(0x349)][_0x35e700(0xf4)](_0x4bab09,{'body':_0x57b0e2}))[_0x35e700(0x32d)][_0x35e700(0x264)];}async[_0xce59e2(0x340)](_0x4b89a3){var _0x36ae5d=_0xce59e2;const _0x323dc3=this[_0x36ae5d(0x20f)]()+'/-/object/-/batch_allowed';return(await this[_0x36ae5d(0x349)][_0x36ae5d(0xf4)](_0x323dc3,{'body':{'requests':_0x4b89a3}}))[_0x36ae5d(0x32d)][_0x36ae5d(0x1e8)];}async['listRoles'](_0x497ab4){var _0x32add9=_0xce59e2;const _0x44eb93=this[_0x32add9(0x20f)]()+'/'+_0x497ab4[_0x32add9(0x1ab)]+_0x32add9(0xa1),_0x2fb3f6=await this[_0x32add9(0x349)][_0x32add9(0xf4)](_0x44eb93,{'body':_0x497ab4});return{'roles':_0x2fb3f6['body']['roles'],'actions':_0x2fb3f6[_0x32add9(0x32d)][_0x32add9(0x264)]};}async[_0xce59e2(0x1f3)](_0x408159){var _0x591efe=_0xce59e2;const _0x6ac35d=this[_0x591efe(0x20f)]()+'/collaborator';await this[_0x591efe(0x349)][_0x591efe(0x30a)](_0x6ac35d,{'params':{'collaboratorID':_0x408159['collaboratorID'],'objectID':_0x408159['objectID'],'unitID':_0x408159[_0x591efe(0x2b0)]}});}async['updateCollaborator'](_0x5777ce){var _0x13419f=_0xce59e2;const _0x1291b8=this[_0x13419f(0x20f)]()+'/collaborator';await this['_HTTPService'][_0x13419f(0x319)](_0x1291b8,{'body':_0x5777ce});}async[_0xce59e2(0xd0)](_0x1ee8de){var _0x59b4ec=_0xce59e2;const _0x32b384=this[_0x59b4ec(0x20f)]()+_0x59b4ec(0x2aa);await this[_0x59b4ec(0x349)][_0x59b4ec(0xf4)](_0x32b384,{'body':_0x1ee8de});}async[_0xce59e2(0x200)](_0x318769){var _0x4b10c2=_0xce59e2;const _0x23b469=this[_0x4b10c2(0x20f)]()+_0x4b10c2(0x2aa);return(await this[_0x4b10c2(0x349)][_0x4b10c2(0x132)](_0x23b469,{'params':{'objectID':_0x318769[_0x4b10c2(0x1bd)],'unitID':_0x318769[_0x4b10c2(0x2b0)]}}))[_0x4b10c2(0x32d)][_0x4b10c2(0x112)];}async[_0xce59e2(0x15f)](_0x50720f){var _0x312e5d=_0xce59e2;const _0xf2440e=this[_0x312e5d(0x20f)]()+_0x312e5d(0x2aa);await this[_0x312e5d(0x349)][_0x312e5d(0xc7)](_0xf2440e,{'body':_0x50720f});}};Tt=rn([Kt(0x0,_0xd3ba16(_0x313c9a)),Kt(0x1,_0xd3ba16(_0x453892))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x137d65){var _0x2cfa13=_0xce59e2;return _0x137d65&&_0x137d65['__esModule']&&Object[_0x2cfa13(0x381)]['hasOwnProperty']['call'](_0x137d65,'default')?_0x137d65['default']:_0x137d65;}var Ve={'exports':{}};function on(_0x359737){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x359737+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We[_0xce59e2(0x106)],qt;function te(){return qt||(qt=0x1,function(_0x168931,_0xf5fd4c){(function(_0x45083f,_0x37e010){var _0x3927eb=_0x2a1f;_0x168931[_0x3927eb(0x106)]=_0x37e010();}(cn,function(){var _0xc434be=_0xc434be||function(_0x55bebf,_0x27ebca){var _0x263981=_0x2a1f,_0x3b4e7b;if(typeof window<'u'&&window[_0x263981(0x1b3)]&&(_0x3b4e7b=window[_0x263981(0x1b3)]),typeof self<'u'&&self[_0x263981(0x1b3)]&&(_0x3b4e7b=self[_0x263981(0x1b3)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3b4e7b=globalThis[_0x263981(0x1b3)]),!_0x3b4e7b&&typeof window<'u'&&window[_0x263981(0x17f)]&&(_0x3b4e7b=window[_0x263981(0x17f)]),!_0x3b4e7b&&typeof ft<'u'&&ft[_0x263981(0x1b3)]&&(_0x3b4e7b=ft['crypto']),!_0x3b4e7b&&typeof on==_0x263981(0x213))try{_0x3b4e7b=require('crypto');}catch{}var _0x4e8019=function(){var _0x26faa2=_0x263981;if(_0x3b4e7b){if(typeof _0x3b4e7b[_0x26faa2(0xcf)]==_0x26faa2(0x213))try{return _0x3b4e7b[_0x26faa2(0xcf)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3b4e7b[_0x26faa2(0xa5)]==_0x26faa2(0x213))try{return _0x3b4e7b[_0x26faa2(0xa5)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x26faa2(0xbc));},_0x24f3ba=Object[_0x263981(0x286)]||(function(){function _0x1378b7(){}return function(_0x492cf2){var _0x393982=_0x2a1f,_0x4ed77f;return _0x1378b7[_0x393982(0x381)]=_0x492cf2,_0x4ed77f=new _0x1378b7(),_0x1378b7['prototype']=null,_0x4ed77f;};}()),_0x44ac4e={},_0x56c5c7=_0x44ac4e[_0x263981(0x369)]={},_0x170f5c=_0x56c5c7[_0x263981(0x17e)]=(function(){return{'extend':function(_0x26643e){var _0x118fe9=_0x2a1f,_0x2af2c7=_0x24f3ba(this);return _0x26643e&&_0x2af2c7['mixIn'](_0x26643e),(!_0x2af2c7['hasOwnProperty'](_0x118fe9(0x337))||this[_0x118fe9(0x337)]===_0x2af2c7[_0x118fe9(0x337)])&&(_0x2af2c7[_0x118fe9(0x337)]=function(){var _0x4a6609=_0x118fe9;_0x2af2c7[_0x4a6609(0x2c1)]['init'][_0x4a6609(0x210)](this,arguments);}),_0x2af2c7[_0x118fe9(0x337)]['prototype']=_0x2af2c7,_0x2af2c7['$super']=this,_0x2af2c7;},'create':function(){var _0x1211b2=_0x2a1f,_0x18f4c4=this[_0x1211b2(0x1b0)]();return _0x18f4c4[_0x1211b2(0x337)][_0x1211b2(0x210)](_0x18f4c4,arguments),_0x18f4c4;},'init':function(){},'mixIn':function(_0x5f0e29){var _0x475112=_0x2a1f;for(var _0x12f68e in _0x5f0e29)_0x5f0e29['hasOwnProperty'](_0x12f68e)&&(this[_0x12f68e]=_0x5f0e29[_0x12f68e]);_0x5f0e29[_0x475112(0x8e)](_0x475112(0x331))&&(this[_0x475112(0x331)]=_0x5f0e29[_0x475112(0x331)]);},'clone':function(){var _0xb663ae=_0x2a1f;return this[_0xb663ae(0x337)]['prototype'][_0xb663ae(0x1b0)](this);}};}()),_0x3a2bdf=_0x56c5c7['WordArray']=_0x170f5c[_0x263981(0x1b0)]({'init':function(_0x129167,_0x45a714){var _0x5e3640=_0x263981;_0x129167=this[_0x5e3640(0x324)]=_0x129167||[],_0x45a714!=_0x27ebca?this['sigBytes']=_0x45a714:this[_0x5e3640(0x157)]=_0x129167[_0x5e3640(0x1ce)]*0x4;},'toString':function(_0x1eb3d2){return(_0x1eb3d2||_0x401d9c)['stringify'](this);},'concat':function(_0xe6f1b7){var _0x438bda=_0x263981,_0xdfeb3e=this[_0x438bda(0x324)],_0x3079d3=_0xe6f1b7[_0x438bda(0x324)],_0x140daa=this[_0x438bda(0x157)],_0x58a8fe=_0xe6f1b7['sigBytes'];if(this['clamp'](),_0x140daa%0x4)for(var _0x5ae039=0x0;_0x5ae039<_0x58a8fe;_0x5ae039++){var _0x38319e=_0x3079d3[_0x5ae039>>>0x2]>>>0x18-_0x5ae039%0x4*0x8&0xff;_0xdfeb3e[_0x140daa+_0x5ae039>>>0x2]|=_0x38319e<<0x18-(_0x140daa+_0x5ae039)%0x4*0x8;}else{for(var _0x56a7d1=0x0;_0x56a7d1<_0x58a8fe;_0x56a7d1+=0x4)_0xdfeb3e[_0x140daa+_0x56a7d1>>>0x2]=_0x3079d3[_0x56a7d1>>>0x2];}return this[_0x438bda(0x157)]+=_0x58a8fe,this;},'clamp':function(){var _0x58ce42=_0x263981,_0x4f2eaf=this[_0x58ce42(0x324)],_0x1d3c96=this['sigBytes'];_0x4f2eaf[_0x1d3c96>>>0x2]&=0xffffffff<<0x20-_0x1d3c96%0x4*0x8,_0x4f2eaf[_0x58ce42(0x1ce)]=_0x55bebf[_0x58ce42(0xe1)](_0x1d3c96/0x4);},'clone':function(){var _0x7da414=_0x263981,_0x3d34ed=_0x170f5c[_0x7da414(0xf0)]['call'](this);return _0x3d34ed['words']=this[_0x7da414(0x324)][_0x7da414(0x305)](0x0),_0x3d34ed;},'random':function(_0x45fabb){var _0x8f17a4=_0x263981;for(var _0x1c2a37=[],_0x48bffa=0x0;_0x48bffa<_0x45fabb;_0x48bffa+=0x4)_0x1c2a37['push'](_0x4e8019());return new _0x3a2bdf[(_0x8f17a4(0x337))](_0x1c2a37,_0x45fabb);}}),_0x184ae1=_0x44ac4e[_0x263981(0x136)]={},_0x401d9c=_0x184ae1['Hex']={'stringify':function(_0x487f01){var _0x151141=_0x263981;for(var _0x59e456=_0x487f01[_0x151141(0x324)],_0x57e806=_0x487f01[_0x151141(0x157)],_0x3e48a3=[],_0xd9e4b=0x0;_0xd9e4b<_0x57e806;_0xd9e4b++){var _0x3d0ef8=_0x59e456[_0xd9e4b>>>0x2]>>>0x18-_0xd9e4b%0x4*0x8&0xff;_0x3e48a3[_0x151141(0x1a9)]((_0x3d0ef8>>>0x4)[_0x151141(0x331)](0x10)),_0x3e48a3[_0x151141(0x1a9)]((_0x3d0ef8&0xf)[_0x151141(0x331)](0x10));}return _0x3e48a3['join']('');},'parse':function(_0x3f1a89){var _0xde2620=_0x263981;for(var _0x8f03e9=_0x3f1a89[_0xde2620(0x1ce)],_0x509344=[],_0x2a3be5=0x0;_0x2a3be5<_0x8f03e9;_0x2a3be5+=0x2)_0x509344[_0x2a3be5>>>0x3]|=parseInt(_0x3f1a89['substr'](_0x2a3be5,0x2),0x10)<<0x18-_0x2a3be5%0x8*0x4;return new _0x3a2bdf['init'](_0x509344,_0x8f03e9/0x2);}},_0x1044ce=_0x184ae1['Latin1']={'stringify':function(_0x47696f){var _0x5d4e06=_0x263981;for(var _0x4971cb=_0x47696f[_0x5d4e06(0x324)],_0x3b7bb4=_0x47696f[_0x5d4e06(0x157)],_0x2613cf=[],_0x59505b=0x0;_0x59505b<_0x3b7bb4;_0x59505b++){var _0x261afe=_0x4971cb[_0x59505b>>>0x2]>>>0x18-_0x59505b%0x4*0x8&0xff;_0x2613cf[_0x5d4e06(0x1a9)](String[_0x5d4e06(0x32a)](_0x261afe));}return _0x2613cf['join']('');},'parse':function(_0x26144c){var _0x5a8ba3=_0x263981;for(var _0x24d5f3=_0x26144c[_0x5a8ba3(0x1ce)],_0x114dda=[],_0x30251e=0x0;_0x30251e<_0x24d5f3;_0x30251e++)_0x114dda[_0x30251e>>>0x2]|=(_0x26144c['charCodeAt'](_0x30251e)&0xff)<<0x18-_0x30251e%0x4*0x8;return new _0x3a2bdf[(_0x5a8ba3(0x337))](_0x114dda,_0x24d5f3);}},_0x559d6a=_0x184ae1[_0x263981(0x24f)]={'stringify':function(_0x1ae4d9){var _0x3650b8=_0x263981;try{return decodeURIComponent(escape(_0x1044ce[_0x3650b8(0xe7)](_0x1ae4d9)));}catch{throw new Error(_0x3650b8(0xd2));}},'parse':function(_0x5da05){var _0xc28cc3=_0x263981;return _0x1044ce[_0xc28cc3(0x8d)](unescape(encodeURIComponent(_0x5da05)));}},_0x2c624d=_0x56c5c7[_0x263981(0x15d)]=_0x170f5c['extend']({'reset':function(){var _0x1c6cc1=_0x263981;this[_0x1c6cc1(0x1e4)]=new _0x3a2bdf['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x2c3cac){var _0x432da2=_0x263981;typeof _0x2c3cac==_0x432da2(0x316)&&(_0x2c3cac=_0x559d6a[_0x432da2(0x8d)](_0x2c3cac)),this[_0x432da2(0x1e4)]['concat'](_0x2c3cac),this[_0x432da2(0x22a)]+=_0x2c3cac[_0x432da2(0x157)];},'_process':function(_0x2510f3){var _0x388ecf=_0x263981,_0x46478d,_0xf23773=this['_data'],_0x1775b5=_0xf23773[_0x388ecf(0x324)],_0x284c50=_0xf23773[_0x388ecf(0x157)],_0x4a82c6=this[_0x388ecf(0x2d7)],_0x146bd5=_0x4a82c6*0x4,_0x1c7598=_0x284c50/_0x146bd5;_0x2510f3?_0x1c7598=_0x55bebf[_0x388ecf(0xe1)](_0x1c7598):_0x1c7598=_0x55bebf[_0x388ecf(0x21a)]((_0x1c7598|0x0)-this['_minBufferSize'],0x0);var _0x2581c8=_0x1c7598*_0x4a82c6,_0x1cc3c9=_0x55bebf[_0x388ecf(0x177)](_0x2581c8*0x4,_0x284c50);if(_0x2581c8){for(var _0x21d41e=0x0;_0x21d41e<_0x2581c8;_0x21d41e+=_0x4a82c6)this[_0x388ecf(0x1b2)](_0x1775b5,_0x21d41e);_0x46478d=_0x1775b5[_0x388ecf(0x1a1)](0x0,_0x2581c8),_0xf23773[_0x388ecf(0x157)]-=_0x1cc3c9;}return new _0x3a2bdf[(_0x388ecf(0x337))](_0x46478d,_0x1cc3c9);},'clone':function(){var _0x1eca36=_0x263981,_0x2f8f78=_0x170f5c[_0x1eca36(0xf0)][_0x1eca36(0x1fb)](this);return _0x2f8f78['_data']=this[_0x1eca36(0x1e4)][_0x1eca36(0xf0)](),_0x2f8f78;},'_minBufferSize':0x0});_0x56c5c7[_0x263981(0x1a0)]=_0x2c624d[_0x263981(0x1b0)]({'cfg':_0x170f5c[_0x263981(0x1b0)](),'init':function(_0x1aac13){var _0x5c18f1=_0x263981;this[_0x5c18f1(0x33c)]=this[_0x5c18f1(0x33c)][_0x5c18f1(0x1b0)](_0x1aac13),this[_0x5c18f1(0x144)]();},'reset':function(){var _0x2cfc86=_0x263981;_0x2c624d['reset'][_0x2cfc86(0x1fb)](this),this['_doReset']();},'update':function(_0x319cc5){var _0x1a9bb1=_0x263981;return this[_0x1a9bb1(0x127)](_0x319cc5),this[_0x1a9bb1(0x363)](),this;},'finalize':function(_0x5745fd){var _0x815e2a=_0x263981;_0x5745fd&&this[_0x815e2a(0x127)](_0x5745fd);var _0x16eb92=this[_0x815e2a(0xba)]();return _0x16eb92;},'blockSize':0x10,'_createHelper':function(_0x5c5663){return function(_0x2bf494,_0x2058ae){var _0x1e36d0=_0x2a1f;return new _0x5c5663[(_0x1e36d0(0x337))](_0x2058ae)['finalize'](_0x2bf494);};},'_createHmacHelper':function(_0xbc2a14){return function(_0x440253,_0x2a1da0){var _0x448c06=_0x2a1f;return new _0x290165[(_0x448c06(0x227))][(_0x448c06(0x337))](_0xbc2a14,_0x2a1da0)[_0x448c06(0x304)](_0x440253);};}});var _0x290165=_0x44ac4e['algo']={};return _0x44ac4e;}(Math);return _0xc434be;}));}(We)),We['exports'];}var Ge={'exports':{}},hn=Ge[_0xce59e2(0x106)],zt;function Ri(){var _0x44140f=_0xce59e2;return zt||(zt=0x1,function(_0x3b23e4,_0x5f17f2){(function(_0x2c2abe,_0x19bfc7){var _0x1f60f3=_0x2a1f;_0x3b23e4[_0x1f60f3(0x106)]=_0x19bfc7(te());}(hn,function(_0x3846a7){var _0x5c68d5=_0x2a1f;return(function(){var _0xf1d80=_0x2a1f,_0x21e8fd=_0x3846a7,_0x5a4a37=_0x21e8fd[_0xf1d80(0x369)],_0x230703=_0x5a4a37[_0xf1d80(0xf2)],_0x14197f=_0x21e8fd[_0xf1d80(0x136)];_0x14197f[_0xf1d80(0x11c)]={'stringify':function(_0x3c0a09){var _0x3b1845=_0xf1d80,_0x113f50=_0x3c0a09[_0x3b1845(0x324)],_0x150416=_0x3c0a09[_0x3b1845(0x157)],_0x59da73=this[_0x3b1845(0x221)];_0x3c0a09[_0x3b1845(0x1a5)]();for(var _0x40dd29=[],_0x1f5094=0x0;_0x1f5094<_0x150416;_0x1f5094+=0x3)for(var _0x176fdf=_0x113f50[_0x1f5094>>>0x2]>>>0x18-_0x1f5094%0x4*0x8&0xff,_0x3c8ca9=_0x113f50[_0x1f5094+0x1>>>0x2]>>>0x18-(_0x1f5094+0x1)%0x4*0x8&0xff,_0x19841d=_0x113f50[_0x1f5094+0x2>>>0x2]>>>0x18-(_0x1f5094+0x2)%0x4*0x8&0xff,_0x81a888=_0x176fdf<<0x10|_0x3c8ca9<<0x8|_0x19841d,_0x52603c=0x0;_0x52603c<0x4&&_0x1f5094+_0x52603c*0.75<_0x150416;_0x52603c++)_0x40dd29['push'](_0x59da73[_0x3b1845(0x36b)](_0x81a888>>>0x6*(0x3-_0x52603c)&0x3f));var _0x9fbb4b=_0x59da73[_0x3b1845(0x36b)](0x40);if(_0x9fbb4b){for(;_0x40dd29[_0x3b1845(0x1ce)]%0x4;)_0x40dd29[_0x3b1845(0x1a9)](_0x9fbb4b);}return _0x40dd29[_0x3b1845(0xde)]('');},'parse':function(_0x43426f){var _0x3b650d=_0xf1d80,_0x3ca6fb=_0x43426f[_0x3b650d(0x1ce)],_0x51c86c=this[_0x3b650d(0x221)],_0x24b113=this[_0x3b650d(0x25d)];if(!_0x24b113){_0x24b113=this[_0x3b650d(0x25d)]=[];for(var _0x1d7cf1=0x0;_0x1d7cf1<_0x51c86c[_0x3b650d(0x1ce)];_0x1d7cf1++)_0x24b113[_0x51c86c[_0x3b650d(0x2df)](_0x1d7cf1)]=_0x1d7cf1;}var _0x24fc92=_0x51c86c[_0x3b650d(0x36b)](0x40);if(_0x24fc92){var _0x374caf=_0x43426f[_0x3b650d(0x2ab)](_0x24fc92);_0x374caf!==-0x1&&(_0x3ca6fb=_0x374caf);}return _0x21913f(_0x43426f,_0x3ca6fb,_0x24b113);},'_map':_0xf1d80(0xab)};function _0x21913f(_0x99e950,_0x4e9bf9,_0x6ca630){var _0x22b509=_0xf1d80;for(var _0x2f0666=[],_0x19bcfb=0x0,_0x312192=0x0;_0x312192<_0x4e9bf9;_0x312192++)if(_0x312192%0x4){var _0x5d79a6=_0x6ca630[_0x99e950[_0x22b509(0x2df)](_0x312192-0x1)]<<_0x312192%0x4*0x2,_0x12e545=_0x6ca630[_0x99e950['charCodeAt'](_0x312192)]>>>0x6-_0x312192%0x4*0x2,_0x3ec0a4=_0x5d79a6|_0x12e545;_0x2f0666[_0x19bcfb>>>0x2]|=_0x3ec0a4<<0x18-_0x19bcfb%0x4*0x8,_0x19bcfb++;}return _0x230703[_0x22b509(0x286)](_0x2f0666,_0x19bcfb);}}()),_0x3846a7[_0x5c68d5(0x136)][_0x5c68d5(0x11c)];}));}(Ge)),Ge[_0x44140f(0x106)];}var Ye={'exports':{}},_n=Ye[_0xce59e2(0x106)],Jt;function ln(){var _0x4c0dcc=_0xce59e2;return Jt||(Jt=0x1,function(_0x2bfdb5,_0x5c3f96){(function(_0x1d17bf,_0x1844e8){var _0x1041fe=_0x2a1f;_0x2bfdb5[_0x1041fe(0x106)]=_0x1844e8(te());}(_n,function(_0x2e6f10){return function(_0x457c32){var _0x4a4102=_0x2a1f,_0x1aa7aa=_0x2e6f10,_0x11f726=_0x1aa7aa[_0x4a4102(0x369)],_0x36c23d=_0x11f726[_0x4a4102(0xf2)],_0x355b28=_0x11f726[_0x4a4102(0x1a0)],_0x319215=_0x1aa7aa[_0x4a4102(0x302)],_0x33416f=[];(function(){var _0x509f5c=_0x4a4102;for(var _0x45e6c1=0x0;_0x45e6c1<0x40;_0x45e6c1++)_0x33416f[_0x45e6c1]=_0x457c32['abs'](_0x457c32[_0x509f5c(0x306)](_0x45e6c1+0x1))*0x100000000|0x0;}());var _0x49c94d=_0x319215[_0x4a4102(0x385)]=_0x355b28[_0x4a4102(0x1b0)]({'_doReset':function(){var _0x1e0785=_0x4a4102;this[_0x1e0785(0x17c)]=new _0x36c23d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x15064d,_0x3930d1){var _0x32d4fb=_0x4a4102;for(var _0xd337c8=0x0;_0xd337c8<0x10;_0xd337c8++){var _0xd502ef=_0x3930d1+_0xd337c8,_0x29929a=_0x15064d[_0xd502ef];_0x15064d[_0xd502ef]=(_0x29929a<<0x8|_0x29929a>>>0x18)&0xff00ff|(_0x29929a<<0x18|_0x29929a>>>0x8)&0xff00ff00;}var _0x3bba12=this[_0x32d4fb(0x17c)][_0x32d4fb(0x324)],_0x813dff=_0x15064d[_0x3930d1+0x0],_0x3f12ed=_0x15064d[_0x3930d1+0x1],_0x142631=_0x15064d[_0x3930d1+0x2],_0x4b1fba=_0x15064d[_0x3930d1+0x3],_0x480d2c=_0x15064d[_0x3930d1+0x4],_0x4eb059=_0x15064d[_0x3930d1+0x5],_0x23f4e6=_0x15064d[_0x3930d1+0x6],_0x4919e9=_0x15064d[_0x3930d1+0x7],_0x44b340=_0x15064d[_0x3930d1+0x8],_0x32a1dd=_0x15064d[_0x3930d1+0x9],_0x31b0f8=_0x15064d[_0x3930d1+0xa],_0x11460c=_0x15064d[_0x3930d1+0xb],_0x38fcd6=_0x15064d[_0x3930d1+0xc],_0x5e1920=_0x15064d[_0x3930d1+0xd],_0x1438b2=_0x15064d[_0x3930d1+0xe],_0x44da7a=_0x15064d[_0x3930d1+0xf],_0x3a34b3=_0x3bba12[0x0],_0xe8a341=_0x3bba12[0x1],_0x362d69=_0x3bba12[0x2],_0x2b5bc=_0x3bba12[0x3];_0x3a34b3=_0x1d2510(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x813dff,0x7,_0x33416f[0x0]),_0x2b5bc=_0x1d2510(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x3f12ed,0xc,_0x33416f[0x1]),_0x362d69=_0x1d2510(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x142631,0x11,_0x33416f[0x2]),_0xe8a341=_0x1d2510(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x4b1fba,0x16,_0x33416f[0x3]),_0x3a34b3=_0x1d2510(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x480d2c,0x7,_0x33416f[0x4]),_0x2b5bc=_0x1d2510(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x4eb059,0xc,_0x33416f[0x5]),_0x362d69=_0x1d2510(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x23f4e6,0x11,_0x33416f[0x6]),_0xe8a341=_0x1d2510(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x4919e9,0x16,_0x33416f[0x7]),_0x3a34b3=_0x1d2510(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x44b340,0x7,_0x33416f[0x8]),_0x2b5bc=_0x1d2510(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x32a1dd,0xc,_0x33416f[0x9]),_0x362d69=_0x1d2510(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x31b0f8,0x11,_0x33416f[0xa]),_0xe8a341=_0x1d2510(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x11460c,0x16,_0x33416f[0xb]),_0x3a34b3=_0x1d2510(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x38fcd6,0x7,_0x33416f[0xc]),_0x2b5bc=_0x1d2510(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x5e1920,0xc,_0x33416f[0xd]),_0x362d69=_0x1d2510(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x1438b2,0x11,_0x33416f[0xe]),_0xe8a341=_0x1d2510(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x44da7a,0x16,_0x33416f[0xf]),_0x3a34b3=_0x1d5327(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x3f12ed,0x5,_0x33416f[0x10]),_0x2b5bc=_0x1d5327(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x23f4e6,0x9,_0x33416f[0x11]),_0x362d69=_0x1d5327(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x11460c,0xe,_0x33416f[0x12]),_0xe8a341=_0x1d5327(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x813dff,0x14,_0x33416f[0x13]),_0x3a34b3=_0x1d5327(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x4eb059,0x5,_0x33416f[0x14]),_0x2b5bc=_0x1d5327(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x31b0f8,0x9,_0x33416f[0x15]),_0x362d69=_0x1d5327(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x44da7a,0xe,_0x33416f[0x16]),_0xe8a341=_0x1d5327(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x480d2c,0x14,_0x33416f[0x17]),_0x3a34b3=_0x1d5327(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x32a1dd,0x5,_0x33416f[0x18]),_0x2b5bc=_0x1d5327(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x1438b2,0x9,_0x33416f[0x19]),_0x362d69=_0x1d5327(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x4b1fba,0xe,_0x33416f[0x1a]),_0xe8a341=_0x1d5327(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x44b340,0x14,_0x33416f[0x1b]),_0x3a34b3=_0x1d5327(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x5e1920,0x5,_0x33416f[0x1c]),_0x2b5bc=_0x1d5327(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x142631,0x9,_0x33416f[0x1d]),_0x362d69=_0x1d5327(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x4919e9,0xe,_0x33416f[0x1e]),_0xe8a341=_0x1d5327(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x38fcd6,0x14,_0x33416f[0x1f]),_0x3a34b3=_0x38ed3d(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x4eb059,0x4,_0x33416f[0x20]),_0x2b5bc=_0x38ed3d(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x44b340,0xb,_0x33416f[0x21]),_0x362d69=_0x38ed3d(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x11460c,0x10,_0x33416f[0x22]),_0xe8a341=_0x38ed3d(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x1438b2,0x17,_0x33416f[0x23]),_0x3a34b3=_0x38ed3d(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x3f12ed,0x4,_0x33416f[0x24]),_0x2b5bc=_0x38ed3d(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x480d2c,0xb,_0x33416f[0x25]),_0x362d69=_0x38ed3d(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x4919e9,0x10,_0x33416f[0x26]),_0xe8a341=_0x38ed3d(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x31b0f8,0x17,_0x33416f[0x27]),_0x3a34b3=_0x38ed3d(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x5e1920,0x4,_0x33416f[0x28]),_0x2b5bc=_0x38ed3d(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x813dff,0xb,_0x33416f[0x29]),_0x362d69=_0x38ed3d(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x4b1fba,0x10,_0x33416f[0x2a]),_0xe8a341=_0x38ed3d(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x23f4e6,0x17,_0x33416f[0x2b]),_0x3a34b3=_0x38ed3d(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x32a1dd,0x4,_0x33416f[0x2c]),_0x2b5bc=_0x38ed3d(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x38fcd6,0xb,_0x33416f[0x2d]),_0x362d69=_0x38ed3d(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x44da7a,0x10,_0x33416f[0x2e]),_0xe8a341=_0x38ed3d(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x142631,0x17,_0x33416f[0x2f]),_0x3a34b3=_0x37fd69(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x813dff,0x6,_0x33416f[0x30]),_0x2b5bc=_0x37fd69(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x4919e9,0xa,_0x33416f[0x31]),_0x362d69=_0x37fd69(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x1438b2,0xf,_0x33416f[0x32]),_0xe8a341=_0x37fd69(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x4eb059,0x15,_0x33416f[0x33]),_0x3a34b3=_0x37fd69(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x38fcd6,0x6,_0x33416f[0x34]),_0x2b5bc=_0x37fd69(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x4b1fba,0xa,_0x33416f[0x35]),_0x362d69=_0x37fd69(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x31b0f8,0xf,_0x33416f[0x36]),_0xe8a341=_0x37fd69(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x3f12ed,0x15,_0x33416f[0x37]),_0x3a34b3=_0x37fd69(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x44b340,0x6,_0x33416f[0x38]),_0x2b5bc=_0x37fd69(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x44da7a,0xa,_0x33416f[0x39]),_0x362d69=_0x37fd69(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x23f4e6,0xf,_0x33416f[0x3a]),_0xe8a341=_0x37fd69(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x5e1920,0x15,_0x33416f[0x3b]),_0x3a34b3=_0x37fd69(_0x3a34b3,_0xe8a341,_0x362d69,_0x2b5bc,_0x480d2c,0x6,_0x33416f[0x3c]),_0x2b5bc=_0x37fd69(_0x2b5bc,_0x3a34b3,_0xe8a341,_0x362d69,_0x11460c,0xa,_0x33416f[0x3d]),_0x362d69=_0x37fd69(_0x362d69,_0x2b5bc,_0x3a34b3,_0xe8a341,_0x142631,0xf,_0x33416f[0x3e]),_0xe8a341=_0x37fd69(_0xe8a341,_0x362d69,_0x2b5bc,_0x3a34b3,_0x32a1dd,0x15,_0x33416f[0x3f]),_0x3bba12[0x0]=_0x3bba12[0x0]+_0x3a34b3|0x0,_0x3bba12[0x1]=_0x3bba12[0x1]+_0xe8a341|0x0,_0x3bba12[0x2]=_0x3bba12[0x2]+_0x362d69|0x0,_0x3bba12[0x3]=_0x3bba12[0x3]+_0x2b5bc|0x0;},'_doFinalize':function(){var _0x595936=_0x4a4102,_0x2e57c3=this['_data'],_0x44128d=_0x2e57c3[_0x595936(0x324)],_0xb72839=this[_0x595936(0x22a)]*0x8,_0x550551=_0x2e57c3[_0x595936(0x157)]*0x8;_0x44128d[_0x550551>>>0x5]|=0x80<<0x18-_0x550551%0x20;var _0x23c582=_0x457c32['floor'](_0xb72839/0x100000000),_0x5e6d2b=_0xb72839;_0x44128d[(_0x550551+0x40>>>0x9<<0x4)+0xf]=(_0x23c582<<0x8|_0x23c582>>>0x18)&0xff00ff|(_0x23c582<<0x18|_0x23c582>>>0x8)&0xff00ff00,_0x44128d[(_0x550551+0x40>>>0x9<<0x4)+0xe]=(_0x5e6d2b<<0x8|_0x5e6d2b>>>0x18)&0xff00ff|(_0x5e6d2b<<0x18|_0x5e6d2b>>>0x8)&0xff00ff00,_0x2e57c3['sigBytes']=(_0x44128d[_0x595936(0x1ce)]+0x1)*0x4,this[_0x595936(0x363)]();for(var _0x5babd0=this[_0x595936(0x17c)],_0x381cca=_0x5babd0[_0x595936(0x324)],_0x7b29f7=0x0;_0x7b29f7<0x4;_0x7b29f7++){var _0x235d50=_0x381cca[_0x7b29f7];_0x381cca[_0x7b29f7]=(_0x235d50<<0x8|_0x235d50>>>0x18)&0xff00ff|(_0x235d50<<0x18|_0x235d50>>>0x8)&0xff00ff00;}return _0x5babd0;},'clone':function(){var _0x424731=_0x4a4102,_0x4a7ea4=_0x355b28[_0x424731(0xf0)][_0x424731(0x1fb)](this);return _0x4a7ea4['_hash']=this[_0x424731(0x17c)]['clone'](),_0x4a7ea4;}});function _0x1d2510(_0x5f17c7,_0x2cc884,_0x1a1319,_0x359f37,_0x2cf3be,_0x386244,_0x14d1ba){var _0x1ee71c=_0x5f17c7+(_0x2cc884&_0x1a1319|~_0x2cc884&_0x359f37)+_0x2cf3be+_0x14d1ba;return(_0x1ee71c<<_0x386244|_0x1ee71c>>>0x20-_0x386244)+_0x2cc884;}function _0x1d5327(_0x2a7d34,_0x40cf21,_0x22257b,_0x331b37,_0x402ea5,_0x240dd3,_0x4c2c57){var _0x119382=_0x2a7d34+(_0x40cf21&_0x331b37|_0x22257b&~_0x331b37)+_0x402ea5+_0x4c2c57;return(_0x119382<<_0x240dd3|_0x119382>>>0x20-_0x240dd3)+_0x40cf21;}function _0x38ed3d(_0x4aa65f,_0x166c8f,_0xfad50f,_0x5e3b5e,_0x40839b,_0x1f29e1,_0x477fbb){var _0x2ae818=_0x4aa65f+(_0x166c8f^_0xfad50f^_0x5e3b5e)+_0x40839b+_0x477fbb;return(_0x2ae818<<_0x1f29e1|_0x2ae818>>>0x20-_0x1f29e1)+_0x166c8f;}function _0x37fd69(_0xdf132b,_0x439bc3,_0x15d60b,_0x1695c3,_0x1d8bb8,_0x16bd67,_0xbbee59){var _0x2b3f56=_0xdf132b+(_0x15d60b^(_0x439bc3|~_0x1695c3))+_0x1d8bb8+_0xbbee59;return(_0x2b3f56<<_0x16bd67|_0x2b3f56>>>0x20-_0x16bd67)+_0x439bc3;}_0x1aa7aa[_0x4a4102(0x385)]=_0x355b28[_0x4a4102(0x2e4)](_0x49c94d),_0x1aa7aa[_0x4a4102(0x1c8)]=_0x355b28[_0x4a4102(0x360)](_0x49c94d);}(Math),_0x2e6f10['MD5'];}));}(Ye)),Ye[_0x4c0dcc(0x106)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0xce59e2(0x106)],Xt;function dn(){var _0x11df63=_0xce59e2;return Xt||(Xt=0x1,function(_0x2a6534,_0x383f5e){(function(_0x48d279,_0x4e0ec8){var _0x3df36a=_0x2a1f;_0x2a6534[_0x3df36a(0x106)]=_0x4e0ec8(te());}(un,function(_0x4d3165){var _0x5ec9ec=_0x2a1f;return(function(){var _0xcb3c2=_0x2a1f,_0x581bd2=_0x4d3165,_0x181236=_0x581bd2['lib'],_0x579064=_0x181236[_0xcb3c2(0xf2)],_0x4857ce=_0x181236[_0xcb3c2(0x1a0)],_0x29c8dc=_0x581bd2['algo'],_0x1780eb=[],_0xdaaec3=_0x29c8dc[_0xcb3c2(0x1d6)]=_0x4857ce[_0xcb3c2(0x1b0)]({'_doReset':function(){var _0x55507d=_0xcb3c2;this[_0x55507d(0x17c)]=new _0x579064[(_0x55507d(0x337))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x12ad29,_0x1aaf8a){var _0x12b331=_0xcb3c2;for(var _0x48d24a=this[_0x12b331(0x17c)][_0x12b331(0x324)],_0x43544a=_0x48d24a[0x0],_0x124fee=_0x48d24a[0x1],_0x1a7a69=_0x48d24a[0x2],_0xc531f1=_0x48d24a[0x3],_0x5768da=_0x48d24a[0x4],_0x207cfb=0x0;_0x207cfb<0x50;_0x207cfb++){if(_0x207cfb<0x10)_0x1780eb[_0x207cfb]=_0x12ad29[_0x1aaf8a+_0x207cfb]|0x0;else{var _0xa8dc50=_0x1780eb[_0x207cfb-0x3]^_0x1780eb[_0x207cfb-0x8]^_0x1780eb[_0x207cfb-0xe]^_0x1780eb[_0x207cfb-0x10];_0x1780eb[_0x207cfb]=_0xa8dc50<<0x1|_0xa8dc50>>>0x1f;}var _0x314381=(_0x43544a<<0x5|_0x43544a>>>0x1b)+_0x5768da+_0x1780eb[_0x207cfb];_0x207cfb<0x14?_0x314381+=(_0x124fee&_0x1a7a69|~_0x124fee&_0xc531f1)+0x5a827999:_0x207cfb<0x28?_0x314381+=(_0x124fee^_0x1a7a69^_0xc531f1)+0x6ed9eba1:_0x207cfb<0x3c?_0x314381+=(_0x124fee&_0x1a7a69|_0x124fee&_0xc531f1|_0x1a7a69&_0xc531f1)-0x70e44324:_0x314381+=(_0x124fee^_0x1a7a69^_0xc531f1)-0x359d3e2a,_0x5768da=_0xc531f1,_0xc531f1=_0x1a7a69,_0x1a7a69=_0x124fee<<0x1e|_0x124fee>>>0x2,_0x124fee=_0x43544a,_0x43544a=_0x314381;}_0x48d24a[0x0]=_0x48d24a[0x0]+_0x43544a|0x0,_0x48d24a[0x1]=_0x48d24a[0x1]+_0x124fee|0x0,_0x48d24a[0x2]=_0x48d24a[0x2]+_0x1a7a69|0x0,_0x48d24a[0x3]=_0x48d24a[0x3]+_0xc531f1|0x0,_0x48d24a[0x4]=_0x48d24a[0x4]+_0x5768da|0x0;},'_doFinalize':function(){var _0x3432af=_0xcb3c2,_0x42a8cc=this['_data'],_0x2fdfa6=_0x42a8cc[_0x3432af(0x324)],_0x25c6a3=this[_0x3432af(0x22a)]*0x8,_0x32f00c=_0x42a8cc[_0x3432af(0x157)]*0x8;return _0x2fdfa6[_0x32f00c>>>0x5]|=0x80<<0x18-_0x32f00c%0x20,_0x2fdfa6[(_0x32f00c+0x40>>>0x9<<0x4)+0xe]=Math[_0x3432af(0x256)](_0x25c6a3/0x100000000),_0x2fdfa6[(_0x32f00c+0x40>>>0x9<<0x4)+0xf]=_0x25c6a3,_0x42a8cc[_0x3432af(0x157)]=_0x2fdfa6[_0x3432af(0x1ce)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x2ac77b=_0xcb3c2,_0x1e855f=_0x4857ce['clone'][_0x2ac77b(0x1fb)](this);return _0x1e855f['_hash']=this[_0x2ac77b(0x17c)]['clone'](),_0x1e855f;}});_0x581bd2[_0xcb3c2(0x1d6)]=_0x4857ce['_createHelper'](_0xdaaec3),_0x581bd2[_0xcb3c2(0xa2)]=_0x4857ce[_0xcb3c2(0x360)](_0xdaaec3);}()),_0x4d3165[_0x5ec9ec(0x1d6)];}));}(qe)),qe[_0x11df63(0x106)];}var ze={'exports':{}},fn=ze[_0xce59e2(0x106)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x11b177,_0x4753a6){(function(_0x327466,_0xbbaeaa){_0x11b177['exports']=_0xbbaeaa(te());}(fn,function(_0x2c48ec){(function(){var _0x27cac0=_0x2a1f,_0x3b08dd=_0x2c48ec,_0x2ae877=_0x3b08dd[_0x27cac0(0x369)],_0x4c9619=_0x2ae877['Base'],_0x3f1587=_0x3b08dd['enc'],_0x3179f3=_0x3f1587['Utf8'],_0x4d800c=_0x3b08dd['algo'];_0x4d800c[_0x27cac0(0x227)]=_0x4c9619[_0x27cac0(0x1b0)]({'init':function(_0x1a4de3,_0x474204){var _0x16426e=_0x27cac0;_0x1a4de3=this[_0x16426e(0x1fe)]=new _0x1a4de3[(_0x16426e(0x337))](),typeof _0x474204==_0x16426e(0x316)&&(_0x474204=_0x3179f3[_0x16426e(0x8d)](_0x474204));var _0x5613f8=_0x1a4de3[_0x16426e(0x2d7)],_0x8b3319=_0x5613f8*0x4;_0x474204[_0x16426e(0x157)]>_0x8b3319&&(_0x474204=_0x1a4de3[_0x16426e(0x304)](_0x474204)),_0x474204['clamp']();for(var _0x18985b=this[_0x16426e(0x16f)]=_0x474204[_0x16426e(0xf0)](),_0x86c9c=this['_iKey']=_0x474204[_0x16426e(0xf0)](),_0x4faa7b=_0x18985b[_0x16426e(0x324)],_0x2dcb2b=_0x86c9c['words'],_0x2e2460=0x0;_0x2e2460<_0x5613f8;_0x2e2460++)_0x4faa7b[_0x2e2460]^=0x5c5c5c5c,_0x2dcb2b[_0x2e2460]^=0x36363636;_0x18985b[_0x16426e(0x157)]=_0x86c9c[_0x16426e(0x157)]=_0x8b3319,this[_0x16426e(0x144)]();},'reset':function(){var _0x628d6c=_0x27cac0,_0x2ed3e8=this[_0x628d6c(0x1fe)];_0x2ed3e8[_0x628d6c(0x144)](),_0x2ed3e8[_0x628d6c(0x1ac)](this['_iKey']);},'update':function(_0x3cb637){var _0x9c69fc=_0x27cac0;return this[_0x9c69fc(0x1fe)]['update'](_0x3cb637),this;},'finalize':function(_0x1e1ec3){var _0x33f0fb=_0x27cac0,_0x249c87=this['_hasher'],_0x47db57=_0x249c87[_0x33f0fb(0x304)](_0x1e1ec3);_0x249c87['reset']();var _0x743f7f=_0x249c87[_0x33f0fb(0x304)](this['_oKey'][_0x33f0fb(0xf0)]()[_0x33f0fb(0x354)](_0x47db57));return _0x743f7f;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0xce59e2(0x106)],Qt;function Oi(){var _0x563848=_0xce59e2;return Qt||(Qt=0x1,function(_0x2a0163,_0x5165c7){(function(_0xd7592a,_0x22c837,_0x11a673){_0x2a0163['exports']=_0x22c837(te(),dn(),vn());}(pn,function(_0x2253b2){var _0x185113=_0x2a1f;return(function(){var _0xed34a7=_0x2a1f,_0x1de315=_0x2253b2,_0x4c4b66=_0x1de315['lib'],_0x1a909c=_0x4c4b66['Base'],_0xcc3f9c=_0x4c4b66[_0xed34a7(0xf2)],_0x1fe184=_0x1de315['algo'],_0x552282=_0x1fe184[_0xed34a7(0x385)],_0x2b0123=_0x1fe184['EvpKDF']=_0x1a909c[_0xed34a7(0x1b0)]({'cfg':_0x1a909c[_0xed34a7(0x1b0)]({'keySize':0x80/0x20,'hasher':_0x552282,'iterations':0x1}),'init':function(_0x192ced){var _0x2da939=_0xed34a7;this['cfg']=this[_0x2da939(0x33c)][_0x2da939(0x1b0)](_0x192ced);},'compute':function(_0x3c5637,_0x3e83c1){var _0xd13a4=_0xed34a7;for(var _0x30ff8e,_0xcd57d7=this[_0xd13a4(0x33c)],_0xa4fd=_0xcd57d7['hasher'][_0xd13a4(0x286)](),_0x3c452e=_0xcc3f9c[_0xd13a4(0x286)](),_0x5c2866=_0x3c452e[_0xd13a4(0x324)],_0x131929=_0xcd57d7['keySize'],_0x4b2b3d=_0xcd57d7[_0xd13a4(0x181)];_0x5c2866['length']<_0x131929;){_0x30ff8e&&_0xa4fd[_0xd13a4(0x1ac)](_0x30ff8e),_0x30ff8e=_0xa4fd[_0xd13a4(0x1ac)](_0x3c5637)['finalize'](_0x3e83c1),_0xa4fd[_0xd13a4(0x144)]();for(var _0x3c812c=0x1;_0x3c812c<_0x4b2b3d;_0x3c812c++)_0x30ff8e=_0xa4fd[_0xd13a4(0x304)](_0x30ff8e),_0xa4fd['reset']();_0x3c452e[_0xd13a4(0x354)](_0x30ff8e);}return _0x3c452e[_0xd13a4(0x157)]=_0x131929*0x4,_0x3c452e;}});_0x1de315['EvpKDF']=function(_0x182ea9,_0xb9d069,_0x3c3a06){return _0x2b0123['create'](_0x3c3a06)['compute'](_0x182ea9,_0xb9d069);};}()),_0x2253b2[_0x185113(0x133)];}));}(Ke)),Ke[_0x563848(0x106)];}var Je={'exports':{}},mn=Je[_0xce59e2(0x106)],ei;function bi(){return ei||(ei=0x1,function(_0x2e102d,_0x28e8ca){(function(_0x39a0b6,_0x4cef63,_0x47bcee){var _0xfd802f=_0x2a1f;_0x2e102d[_0xfd802f(0x106)]=_0x4cef63(te(),Oi());}(mn,function(_0x9e38f){var _0x39c2f5=_0x2a1f;_0x9e38f[_0x39c2f5(0x369)][_0x39c2f5(0x297)]||function(_0xb205ee){var _0x3bceb9=_0x39c2f5,_0x348241=_0x9e38f,_0x358db8=_0x348241['lib'],_0x47fa39=_0x358db8['Base'],_0x4bfd8a=_0x358db8[_0x3bceb9(0xf2)],_0x4daa1f=_0x358db8[_0x3bceb9(0x15d)],_0x28aca9=_0x348241[_0x3bceb9(0x136)];_0x28aca9[_0x3bceb9(0x24f)];var _0x314c58=_0x28aca9['Base64'],_0x404250=_0x348241['algo'],_0x2197ca=_0x404250['EvpKDF'],_0x31245b=_0x358db8[_0x3bceb9(0x297)]=_0x4daa1f[_0x3bceb9(0x1b0)]({'cfg':_0x47fa39[_0x3bceb9(0x1b0)](),'createEncryptor':function(_0x31e276,_0x308c3f){var _0x28dd96=_0x3bceb9;return this[_0x28dd96(0x286)](this['_ENC_XFORM_MODE'],_0x31e276,_0x308c3f);},'createDecryptor':function(_0x2c43ad,_0x3d57d4){var _0x5142fc=_0x3bceb9;return this[_0x5142fc(0x286)](this[_0x5142fc(0x191)],_0x2c43ad,_0x3d57d4);},'init':function(_0x73a1d,_0x10104b,_0x195aeb){var _0x2b655b=_0x3bceb9;this[_0x2b655b(0x33c)]=this[_0x2b655b(0x33c)][_0x2b655b(0x1b0)](_0x195aeb),this[_0x2b655b(0x37b)]=_0x73a1d,this[_0x2b655b(0x190)]=_0x10104b,this[_0x2b655b(0x144)]();},'reset':function(){var _0x439c2f=_0x3bceb9;_0x4daa1f[_0x439c2f(0x144)]['call'](this),this[_0x439c2f(0x33f)]();},'process':function(_0x4dd103){return this['_append'](_0x4dd103),this['_process']();},'finalize':function(_0x344bcf){var _0x340c21=_0x3bceb9;_0x344bcf&&this[_0x340c21(0x127)](_0x344bcf);var _0x16ebaf=this[_0x340c21(0xba)]();return _0x16ebaf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3ad98f(_0x306b31){var _0x83e3b4=_0x2a1f;return typeof _0x306b31==_0x83e3b4(0x316)?_0x305d9b:_0x1703de;}return function(_0x16676d){return{'encrypt':function(_0x3b7984,_0x169a94,_0x13b1eb){var _0x3465cd=_0x2a1f;return _0x3ad98f(_0x169a94)[_0x3465cd(0x1c6)](_0x16676d,_0x3b7984,_0x169a94,_0x13b1eb);},'decrypt':function(_0x28b31d,_0xce8244,_0x2abab5){var _0x4c491b=_0x2a1f;return _0x3ad98f(_0xce8244)[_0x4c491b(0x152)](_0x16676d,_0x28b31d,_0xce8244,_0x2abab5);}};};}())});_0x358db8[_0x3bceb9(0x2fa)]=_0x31245b[_0x3bceb9(0x1b0)]({'_doFinalize':function(){var _0x1b799c=_0x3bceb9,_0xef6510=this[_0x1b799c(0x363)](!0x0);return _0xef6510;},'blockSize':0x1});var _0x2632ec=_0x348241['mode']={},_0x2fa450=_0x358db8[_0x3bceb9(0x24b)]=_0x47fa39['extend']({'createEncryptor':function(_0x28c878,_0x285f2c){var _0x4385b1=_0x3bceb9;return this[_0x4385b1(0x1a4)]['create'](_0x28c878,_0x285f2c);},'createDecryptor':function(_0x44cdd3,_0x498e81){var _0xda2c9a=_0x3bceb9;return this[_0xda2c9a(0x225)][_0xda2c9a(0x286)](_0x44cdd3,_0x498e81);},'init':function(_0x3f567d,_0x47dd65){var _0x45531f=_0x3bceb9;this['_cipher']=_0x3f567d,this[_0x45531f(0x2ac)]=_0x47dd65;}}),_0x1f9887=_0x2632ec[_0x3bceb9(0x247)]=(function(){var _0x26aab5=_0x3bceb9,_0x59408d=_0x2fa450[_0x26aab5(0x1b0)]();_0x59408d[_0x26aab5(0x1a4)]=_0x59408d[_0x26aab5(0x1b0)]({'processBlock':function(_0x4177af,_0x74a1c6){var _0x15f696=_0x26aab5,_0x166559=this[_0x15f696(0x21d)],_0x36a7be=_0x166559[_0x15f696(0x2d7)];_0x2958b2[_0x15f696(0x1fb)](this,_0x4177af,_0x74a1c6,_0x36a7be),_0x166559[_0x15f696(0x1e6)](_0x4177af,_0x74a1c6),this[_0x15f696(0x350)]=_0x4177af[_0x15f696(0x305)](_0x74a1c6,_0x74a1c6+_0x36a7be);}}),_0x59408d[_0x26aab5(0x225)]=_0x59408d['extend']({'processBlock':function(_0x242572,_0x56d710){var _0x374b9e=_0x26aab5,_0x1f06fe=this[_0x374b9e(0x21d)],_0x1e2223=_0x1f06fe[_0x374b9e(0x2d7)],_0xddfe4=_0x242572['slice'](_0x56d710,_0x56d710+_0x1e2223);_0x1f06fe[_0x374b9e(0x7b)](_0x242572,_0x56d710),_0x2958b2[_0x374b9e(0x1fb)](this,_0x242572,_0x56d710,_0x1e2223),this[_0x374b9e(0x350)]=_0xddfe4;}});function _0x2958b2(_0x43df67,_0x38eba3,_0xa131ab){var _0x5bc9c1=_0x26aab5,_0x40eea0,_0x1e3595=this['_iv'];_0x1e3595?(_0x40eea0=_0x1e3595,this[_0x5bc9c1(0x2ac)]=_0xb205ee):_0x40eea0=this[_0x5bc9c1(0x350)];for(var _0x111758=0x0;_0x111758<_0xa131ab;_0x111758++)_0x43df67[_0x38eba3+_0x111758]^=_0x40eea0[_0x111758];}return _0x59408d;}()),_0x1db433=_0x348241[_0x3bceb9(0xb4)]={},_0xd6ff14=_0x1db433[_0x3bceb9(0x1c2)]={'pad':function(_0x37820d,_0x35e3f9){var _0x4cc433=_0x3bceb9;for(var _0x3636bf=_0x35e3f9*0x4,_0x56e5b7=_0x3636bf-_0x37820d[_0x4cc433(0x157)]%_0x3636bf,_0xaa81c2=_0x56e5b7<<0x18|_0x56e5b7<<0x10|_0x56e5b7<<0x8|_0x56e5b7,_0x3117ab=[],_0x24ad06=0x0;_0x24ad06<_0x56e5b7;_0x24ad06+=0x4)_0x3117ab[_0x4cc433(0x1a9)](_0xaa81c2);var _0x20612c=_0x4bfd8a['create'](_0x3117ab,_0x56e5b7);_0x37820d[_0x4cc433(0x354)](_0x20612c);},'unpad':function(_0x115cb2){var _0x420c0d=_0x3bceb9,_0x2e99fb=_0x115cb2[_0x420c0d(0x324)][_0x115cb2[_0x420c0d(0x157)]-0x1>>>0x2]&0xff;_0x115cb2[_0x420c0d(0x157)]-=_0x2e99fb;}};_0x358db8[_0x3bceb9(0x248)]=_0x31245b[_0x3bceb9(0x1b0)]({'cfg':_0x31245b[_0x3bceb9(0x33c)][_0x3bceb9(0x1b0)]({'mode':_0x1f9887,'padding':_0xd6ff14}),'reset':function(){var _0x388734=_0x3bceb9,_0x3ff18d;_0x31245b['reset'][_0x388734(0x1fb)](this);var _0x457878=this['cfg'],_0x1bb760=_0x457878['iv'],_0x4288a1=_0x457878['mode'];this[_0x388734(0x37b)]==this[_0x388734(0x1d5)]?_0x3ff18d=_0x4288a1[_0x388734(0x33d)]:(_0x3ff18d=_0x4288a1[_0x388734(0x92)],this[_0x388734(0x194)]=0x1),this['_mode']&&this['_mode'][_0x388734(0x150)]==_0x3ff18d?this[_0x388734(0x18d)][_0x388734(0x337)](this,_0x1bb760&&_0x1bb760['words']):(this[_0x388734(0x18d)]=_0x3ff18d['call'](_0x4288a1,this,_0x1bb760&&_0x1bb760['words']),this[_0x388734(0x18d)][_0x388734(0x150)]=_0x3ff18d);},'_doProcessBlock':function(_0x408d5e,_0x147bdd){var _0x51ba35=_0x3bceb9;this[_0x51ba35(0x18d)][_0x51ba35(0x31c)](_0x408d5e,_0x147bdd);},'_doFinalize':function(){var _0x4a833a=_0x3bceb9,_0x42a935,_0x16051d=this[_0x4a833a(0x33c)][_0x4a833a(0x1b6)];return this['_xformMode']==this[_0x4a833a(0x1d5)]?(_0x16051d[_0x4a833a(0xb4)](this[_0x4a833a(0x1e4)],this[_0x4a833a(0x2d7)]),_0x42a935=this[_0x4a833a(0x363)](!0x0)):(_0x42a935=this[_0x4a833a(0x363)](!0x0),_0x16051d[_0x4a833a(0x102)](_0x42a935)),_0x42a935;},'blockSize':0x80/0x20});var _0x3a3359=_0x358db8[_0x3bceb9(0x318)]=_0x47fa39[_0x3bceb9(0x1b0)]({'init':function(_0x27d547){var _0x28acbc=_0x3bceb9;this[_0x28acbc(0x278)](_0x27d547);},'toString':function(_0x3091b6){var _0x4c9725=_0x3bceb9;return(_0x3091b6||this[_0x4c9725(0x16c)])[_0x4c9725(0xe7)](this);}}),_0x3b0290=_0x348241[_0x3bceb9(0x261)]={},_0x5c9f0f=_0x3b0290['OpenSSL']={'stringify':function(_0x5ea0fd){var _0x402579=_0x3bceb9,_0x2a9998,_0x204d42=_0x5ea0fd[_0x402579(0x366)],_0x1fbb4f=_0x5ea0fd[_0x402579(0x1c5)];return _0x1fbb4f?_0x2a9998=_0x4bfd8a[_0x402579(0x286)]([0x53616c74,0x65645f5f])[_0x402579(0x354)](_0x1fbb4f)[_0x402579(0x354)](_0x204d42):_0x2a9998=_0x204d42,_0x2a9998[_0x402579(0x331)](_0x314c58);},'parse':function(_0xca4c0){var _0x1f7a73=_0x3bceb9,_0x4f0ec3,_0x5695c2=_0x314c58[_0x1f7a73(0x8d)](_0xca4c0),_0x1cd60f=_0x5695c2[_0x1f7a73(0x324)];return _0x1cd60f[0x0]==0x53616c74&&_0x1cd60f[0x1]==0x65645f5f&&(_0x4f0ec3=_0x4bfd8a[_0x1f7a73(0x286)](_0x1cd60f[_0x1f7a73(0x305)](0x2,0x4)),_0x1cd60f[_0x1f7a73(0x1a1)](0x0,0x4),_0x5695c2[_0x1f7a73(0x157)]-=0x10),_0x3a3359[_0x1f7a73(0x286)]({'ciphertext':_0x5695c2,'salt':_0x4f0ec3});}},_0x1703de=_0x358db8[_0x3bceb9(0x298)]=_0x47fa39[_0x3bceb9(0x1b0)]({'cfg':_0x47fa39[_0x3bceb9(0x1b0)]({'format':_0x5c9f0f}),'encrypt':function(_0x2225d8,_0x8f0ea,_0x4d9f28,_0x4449f1){var _0x2b81c1=_0x3bceb9;_0x4449f1=this['cfg'][_0x2b81c1(0x1b0)](_0x4449f1);var _0x38b603=_0x2225d8[_0x2b81c1(0x33d)](_0x4d9f28,_0x4449f1),_0x4b61cb=_0x38b603['finalize'](_0x8f0ea),_0x3d027a=_0x38b603['cfg'];return _0x3a3359[_0x2b81c1(0x286)]({'ciphertext':_0x4b61cb,'key':_0x4d9f28,'iv':_0x3d027a['iv'],'algorithm':_0x2225d8,'mode':_0x3d027a['mode'],'padding':_0x3d027a[_0x2b81c1(0x1b6)],'blockSize':_0x2225d8[_0x2b81c1(0x2d7)],'formatter':_0x4449f1[_0x2b81c1(0x261)]});},'decrypt':function(_0x492ab3,_0xd2a19e,_0x2d3513,_0x4c95b3){var _0x53631b=_0x3bceb9;_0x4c95b3=this[_0x53631b(0x33c)][_0x53631b(0x1b0)](_0x4c95b3),_0xd2a19e=this['_parse'](_0xd2a19e,_0x4c95b3['format']);var _0x4ff92c=_0x492ab3[_0x53631b(0x92)](_0x2d3513,_0x4c95b3)[_0x53631b(0x304)](_0xd2a19e[_0x53631b(0x366)]);return _0x4ff92c;},'_parse':function(_0x4d55d1,_0x447f1f){var _0x24f569=_0x3bceb9;return typeof _0x4d55d1==_0x24f569(0x316)?_0x447f1f['parse'](_0x4d55d1,this):_0x4d55d1;}}),_0x3d15ab=_0x348241[_0x3bceb9(0x2ad)]={},_0x427f0d=_0x3d15ab[_0x3bceb9(0x2be)]={'execute':function(_0x3d34f9,_0x374eba,_0x3d35a6,_0x3868df,_0x4c9a79){var _0x3b6234=_0x3bceb9;if(_0x3868df||(_0x3868df=_0x4bfd8a[_0x3b6234(0x2c0)](0x40/0x8)),_0x4c9a79)var _0x5a0b4e=_0x2197ca[_0x3b6234(0x286)]({'keySize':_0x374eba+_0x3d35a6,'hasher':_0x4c9a79})['compute'](_0x3d34f9,_0x3868df);else var _0x5a0b4e=_0x2197ca['create']({'keySize':_0x374eba+_0x3d35a6})[_0x3b6234(0x1e5)](_0x3d34f9,_0x3868df);var _0x32d663=_0x4bfd8a[_0x3b6234(0x286)](_0x5a0b4e[_0x3b6234(0x324)]['slice'](_0x374eba),_0x3d35a6*0x4);return _0x5a0b4e[_0x3b6234(0x157)]=_0x374eba*0x4,_0x3a3359[_0x3b6234(0x286)]({'key':_0x5a0b4e,'iv':_0x32d663,'salt':_0x3868df});}},_0x305d9b=_0x358db8[_0x3bceb9(0x230)]=_0x1703de['extend']({'cfg':_0x1703de[_0x3bceb9(0x33c)][_0x3bceb9(0x1b0)]({'kdf':_0x427f0d}),'encrypt':function(_0x36bd6b,_0x24630f,_0x5d227f,_0x28f95d){var _0x40d9b0=_0x3bceb9;_0x28f95d=this['cfg'][_0x40d9b0(0x1b0)](_0x28f95d);var _0x53ef95=_0x28f95d[_0x40d9b0(0x2ad)]['execute'](_0x5d227f,_0x36bd6b[_0x40d9b0(0x1de)],_0x36bd6b[_0x40d9b0(0xce)],_0x28f95d[_0x40d9b0(0x1c5)],_0x28f95d[_0x40d9b0(0x1a3)]);_0x28f95d['iv']=_0x53ef95['iv'];var _0x443632=_0x1703de['encrypt'][_0x40d9b0(0x1fb)](this,_0x36bd6b,_0x24630f,_0x53ef95[_0x40d9b0(0x148)],_0x28f95d);return _0x443632['mixIn'](_0x53ef95),_0x443632;},'decrypt':function(_0x388df0,_0x45d251,_0xbdffa2,_0x228706){var _0x10c2e8=_0x3bceb9;_0x228706=this[_0x10c2e8(0x33c)][_0x10c2e8(0x1b0)](_0x228706),_0x45d251=this['_parse'](_0x45d251,_0x228706[_0x10c2e8(0x261)]);var _0x514558=_0x228706[_0x10c2e8(0x2ad)][_0x10c2e8(0x104)](_0xbdffa2,_0x388df0[_0x10c2e8(0x1de)],_0x388df0[_0x10c2e8(0xce)],_0x45d251[_0x10c2e8(0x1c5)],_0x228706[_0x10c2e8(0x1a3)]);_0x228706['iv']=_0x514558['iv'];var _0x3e0070=_0x1703de[_0x10c2e8(0x152)][_0x10c2e8(0x1fb)](this,_0x388df0,_0x45d251,_0x514558[_0x10c2e8(0x148)],_0x228706);return _0x3e0070;}});}();}));}(Je)),Je['exports'];}var gn=Ve['exports'],ti;function Sn(){var _0x4137ee=_0xce59e2;return ti||(ti=0x1,function(_0x383f6b,_0xa9193d){(function(_0x3269ec,_0x16f58d,_0x6f3152){var _0x365997=_0x2a1f;_0x383f6b[_0x365997(0x106)]=_0x16f58d(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x2fddc0){var _0x180dd1=_0x2a1f;return(function(){var _0x37f7a6=_0x2a1f,_0x3df5c5=_0x2fddc0,_0x57d1f2=_0x3df5c5[_0x37f7a6(0x369)],_0x40b300=_0x57d1f2[_0x37f7a6(0x248)],_0xa5c7a6=_0x3df5c5[_0x37f7a6(0x302)],_0xccff11=[],_0x5aee91=[],_0x47074c=[],_0x246f23=[],_0x47aa88=[],_0x3a0c2e=[],_0x42bac0=[],_0x3f0efe=[],_0x47f573=[],_0x3a1605=[];(function(){for(var _0x4301b0=[],_0x368f19=0x0;_0x368f19<0x100;_0x368f19++)_0x368f19<0x80?_0x4301b0[_0x368f19]=_0x368f19<<0x1:_0x4301b0[_0x368f19]=_0x368f19<<0x1^0x11b;for(var _0x1eb157=0x0,_0x417217=0x0,_0x368f19=0x0;_0x368f19<0x100;_0x368f19++){var _0x16634f=_0x417217^_0x417217<<0x1^_0x417217<<0x2^_0x417217<<0x3^_0x417217<<0x4;_0x16634f=_0x16634f>>>0x8^_0x16634f&0xff^0x63,_0xccff11[_0x1eb157]=_0x16634f,_0x5aee91[_0x16634f]=_0x1eb157;var _0x418642=_0x4301b0[_0x1eb157],_0x3d5c9e=_0x4301b0[_0x418642],_0x3ccf16=_0x4301b0[_0x3d5c9e],_0x2c2919=_0x4301b0[_0x16634f]*0x101^_0x16634f*0x1010100;_0x47074c[_0x1eb157]=_0x2c2919<<0x18|_0x2c2919>>>0x8,_0x246f23[_0x1eb157]=_0x2c2919<<0x10|_0x2c2919>>>0x10,_0x47aa88[_0x1eb157]=_0x2c2919<<0x8|_0x2c2919>>>0x18,_0x3a0c2e[_0x1eb157]=_0x2c2919;var _0x2c2919=_0x3ccf16*0x1010101^_0x3d5c9e*0x10001^_0x418642*0x101^_0x1eb157*0x1010100;_0x42bac0[_0x16634f]=_0x2c2919<<0x18|_0x2c2919>>>0x8,_0x3f0efe[_0x16634f]=_0x2c2919<<0x10|_0x2c2919>>>0x10,_0x47f573[_0x16634f]=_0x2c2919<<0x8|_0x2c2919>>>0x18,_0x3a1605[_0x16634f]=_0x2c2919,_0x1eb157?(_0x1eb157=_0x418642^_0x4301b0[_0x4301b0[_0x4301b0[_0x3ccf16^_0x418642]]],_0x417217^=_0x4301b0[_0x4301b0[_0x417217]]):_0x1eb157=_0x417217=0x1;}}());var _0xa51099=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1ac122=_0xa5c7a6[_0x37f7a6(0x14b)]=_0x40b300[_0x37f7a6(0x1b0)]({'_doReset':function(){var _0x18d132=_0x37f7a6,_0x1f4532;if(!(this['_nRounds']&&this[_0x18d132(0x209)]===this['_key'])){for(var _0x455d8a=this['_keyPriorReset']=this['_key'],_0x96da78=_0x455d8a[_0x18d132(0x324)],_0x28ea8b=_0x455d8a['sigBytes']/0x4,_0x4e767=this[_0x18d132(0x2c2)]=_0x28ea8b+0x6,_0x19f4a7=(_0x4e767+0x1)*0x4,_0x39dc39=this[_0x18d132(0x214)]=[],_0x5a784d=0x0;_0x5a784d<_0x19f4a7;_0x5a784d++)_0x5a784d<_0x28ea8b?_0x39dc39[_0x5a784d]=_0x96da78[_0x5a784d]:(_0x1f4532=_0x39dc39[_0x5a784d-0x1],_0x5a784d%_0x28ea8b?_0x28ea8b>0x6&&_0x5a784d%_0x28ea8b==0x4&&(_0x1f4532=_0xccff11[_0x1f4532>>>0x18]<<0x18|_0xccff11[_0x1f4532>>>0x10&0xff]<<0x10|_0xccff11[_0x1f4532>>>0x8&0xff]<<0x8|_0xccff11[_0x1f4532&0xff]):(_0x1f4532=_0x1f4532<<0x8|_0x1f4532>>>0x18,_0x1f4532=_0xccff11[_0x1f4532>>>0x18]<<0x18|_0xccff11[_0x1f4532>>>0x10&0xff]<<0x10|_0xccff11[_0x1f4532>>>0x8&0xff]<<0x8|_0xccff11[_0x1f4532&0xff],_0x1f4532^=_0xa51099[_0x5a784d/_0x28ea8b|0x0]<<0x18),_0x39dc39[_0x5a784d]=_0x39dc39[_0x5a784d-_0x28ea8b]^_0x1f4532);for(var _0x44db32=this[_0x18d132(0x11e)]=[],_0x448adc=0x0;_0x448adc<_0x19f4a7;_0x448adc++){var _0x5a784d=_0x19f4a7-_0x448adc;if(_0x448adc%0x4)var _0x1f4532=_0x39dc39[_0x5a784d];else var _0x1f4532=_0x39dc39[_0x5a784d-0x4];_0x448adc<0x4||_0x5a784d<=0x4?_0x44db32[_0x448adc]=_0x1f4532:_0x44db32[_0x448adc]=_0x42bac0[_0xccff11[_0x1f4532>>>0x18]]^_0x3f0efe[_0xccff11[_0x1f4532>>>0x10&0xff]]^_0x47f573[_0xccff11[_0x1f4532>>>0x8&0xff]]^_0x3a1605[_0xccff11[_0x1f4532&0xff]];}}},'encryptBlock':function(_0xbf1a07,_0x51f1b5){var _0x14cdb8=_0x37f7a6;this[_0x14cdb8(0xd3)](_0xbf1a07,_0x51f1b5,this['_keySchedule'],_0x47074c,_0x246f23,_0x47aa88,_0x3a0c2e,_0xccff11);},'decryptBlock':function(_0x4adb61,_0x320172){var _0x4d60f0=_0x37f7a6,_0x54ffc9=_0x4adb61[_0x320172+0x1];_0x4adb61[_0x320172+0x1]=_0x4adb61[_0x320172+0x3],_0x4adb61[_0x320172+0x3]=_0x54ffc9,this['_doCryptBlock'](_0x4adb61,_0x320172,this[_0x4d60f0(0x11e)],_0x42bac0,_0x3f0efe,_0x47f573,_0x3a1605,_0x5aee91);var _0x54ffc9=_0x4adb61[_0x320172+0x1];_0x4adb61[_0x320172+0x1]=_0x4adb61[_0x320172+0x3],_0x4adb61[_0x320172+0x3]=_0x54ffc9;},'_doCryptBlock':function(_0x62807a,_0xa0d045,_0xc780e3,_0x1f829c,_0x311a47,_0x338c59,_0x576644,_0xc33267){var _0x109764=_0x37f7a6;for(var _0x4ee7aa=this[_0x109764(0x2c2)],_0x444b22=_0x62807a[_0xa0d045]^_0xc780e3[0x0],_0x37f1b3=_0x62807a[_0xa0d045+0x1]^_0xc780e3[0x1],_0x4de6d7=_0x62807a[_0xa0d045+0x2]^_0xc780e3[0x2],_0x1d7ec1=_0x62807a[_0xa0d045+0x3]^_0xc780e3[0x3],_0x15510a=0x4,_0x3f6891=0x1;_0x3f6891<_0x4ee7aa;_0x3f6891++){var _0xcb9505=_0x1f829c[_0x444b22>>>0x18]^_0x311a47[_0x37f1b3>>>0x10&0xff]^_0x338c59[_0x4de6d7>>>0x8&0xff]^_0x576644[_0x1d7ec1&0xff]^_0xc780e3[_0x15510a++],_0x139995=_0x1f829c[_0x37f1b3>>>0x18]^_0x311a47[_0x4de6d7>>>0x10&0xff]^_0x338c59[_0x1d7ec1>>>0x8&0xff]^_0x576644[_0x444b22&0xff]^_0xc780e3[_0x15510a++],_0x2e7def=_0x1f829c[_0x4de6d7>>>0x18]^_0x311a47[_0x1d7ec1>>>0x10&0xff]^_0x338c59[_0x444b22>>>0x8&0xff]^_0x576644[_0x37f1b3&0xff]^_0xc780e3[_0x15510a++],_0x232963=_0x1f829c[_0x1d7ec1>>>0x18]^_0x311a47[_0x444b22>>>0x10&0xff]^_0x338c59[_0x37f1b3>>>0x8&0xff]^_0x576644[_0x4de6d7&0xff]^_0xc780e3[_0x15510a++];_0x444b22=_0xcb9505,_0x37f1b3=_0x139995,_0x4de6d7=_0x2e7def,_0x1d7ec1=_0x232963;}var _0xcb9505=(_0xc33267[_0x444b22>>>0x18]<<0x18|_0xc33267[_0x37f1b3>>>0x10&0xff]<<0x10|_0xc33267[_0x4de6d7>>>0x8&0xff]<<0x8|_0xc33267[_0x1d7ec1&0xff])^_0xc780e3[_0x15510a++],_0x139995=(_0xc33267[_0x37f1b3>>>0x18]<<0x18|_0xc33267[_0x4de6d7>>>0x10&0xff]<<0x10|_0xc33267[_0x1d7ec1>>>0x8&0xff]<<0x8|_0xc33267[_0x444b22&0xff])^_0xc780e3[_0x15510a++],_0x2e7def=(_0xc33267[_0x4de6d7>>>0x18]<<0x18|_0xc33267[_0x1d7ec1>>>0x10&0xff]<<0x10|_0xc33267[_0x444b22>>>0x8&0xff]<<0x8|_0xc33267[_0x37f1b3&0xff])^_0xc780e3[_0x15510a++],_0x232963=(_0xc33267[_0x1d7ec1>>>0x18]<<0x18|_0xc33267[_0x444b22>>>0x10&0xff]<<0x10|_0xc33267[_0x37f1b3>>>0x8&0xff]<<0x8|_0xc33267[_0x4de6d7&0xff])^_0xc780e3[_0x15510a++];_0x62807a[_0xa0d045]=_0xcb9505,_0x62807a[_0xa0d045+0x1]=_0x139995,_0x62807a[_0xa0d045+0x2]=_0x2e7def,_0x62807a[_0xa0d045+0x3]=_0x232963;},'keySize':0x100/0x20});_0x3df5c5[_0x37f7a6(0x14b)]=_0x40b300[_0x37f7a6(0x2e4)](_0x1ac122);}()),_0x2fddc0[_0x180dd1(0x14b)];}));}(Ve)),Ve[_0x4137ee(0x106)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0xce59e2(0x106)],si;function Rn(){var _0x500de2=_0xce59e2;return si||(si=0x1,function(_0x3eb0fc,_0x226dc7){(function(_0x368bd6,_0x5a1933){var _0x5995b4=_0x2a1f;_0x3eb0fc[_0x5995b4(0x106)]=_0x5a1933(te());}(Cn,function(_0x58d404){var _0x4d16f9=_0x2a1f;return _0x58d404[_0x4d16f9(0x136)]['Utf8'];}));}(Xe)),Xe[_0x500de2(0x106)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){var _0x50f0d8=_0xce59e2;return ni||(ni=0x1,function(_0x102b8e,_0x18c2f3){(function(_0x5af8d7,_0xee22b5){_0x102b8e['exports']=_0xee22b5(te());}(yn,function(_0x2699d6){var _0x3e93fc=_0x2a1f;return(function(){var _0x37bd3e=_0x2a1f;if(typeof ArrayBuffer=='function'){var _0x12df66=_0x2699d6,_0x1d0580=_0x12df66['lib'],_0x55b164=_0x1d0580[_0x37bd3e(0xf2)],_0x138556=_0x55b164[_0x37bd3e(0x337)],_0x57be77=_0x55b164['init']=function(_0x3548d6){var _0x4f7260=_0x37bd3e;if(_0x3548d6 instanceof ArrayBuffer&&(_0x3548d6=new Uint8Array(_0x3548d6)),(_0x3548d6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3548d6 instanceof Uint8ClampedArray||_0x3548d6 instanceof Int16Array||_0x3548d6 instanceof Uint16Array||_0x3548d6 instanceof Int32Array||_0x3548d6 instanceof Uint32Array||_0x3548d6 instanceof Float32Array||_0x3548d6 instanceof Float64Array)&&(_0x3548d6=new Uint8Array(_0x3548d6[_0x4f7260(0x9e)],_0x3548d6[_0x4f7260(0x2ed)],_0x3548d6[_0x4f7260(0x23a)])),_0x3548d6 instanceof Uint8Array){for(var _0x19a0ec=_0x3548d6[_0x4f7260(0x23a)],_0x108d9a=[],_0x23b077=0x0;_0x23b077<_0x19a0ec;_0x23b077++)_0x108d9a[_0x23b077>>>0x2]|=_0x3548d6[_0x23b077]<<0x18-_0x23b077%0x4*0x8;_0x138556[_0x4f7260(0x1fb)](this,_0x108d9a,_0x19a0ec);}else _0x138556[_0x4f7260(0x210)](this,arguments);};_0x57be77['prototype']=_0x55b164;}}()),_0x2699d6[_0x3e93fc(0x369)][_0x3e93fc(0xf2)];}));}(Ze)),Ze[_0x50f0d8(0x106)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0xce59e2(0x106)],ri;function wn(){var _0x3471bf=_0xce59e2;return ri||(ri=0x1,function(_0x5e06f5,_0x577a08){(function(_0x57c6fc,_0x5b6675,_0x5aae2c){var _0x1be589=_0x2a1f;_0x5e06f5[_0x1be589(0x106)]=_0x5b6675(te(),bi());}(An,function(_0x32114a){var _0x3a0a79=_0x2a1f;return _0x32114a['pad'][_0x3a0a79(0x34a)]={'pad':function(){},'unpad':function(){}},_0x32114a[_0x3a0a79(0xb4)][_0x3a0a79(0x34a)];}));}(Qe)),Qe[_0x3471bf(0x106)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x15202f,_0x523eac){var _0x182e58=_0xce59e2;const _0xe9b3ff=_0x523eac-_0x15202f[_0x182e58(0x1ce)]%_0x523eac,_0x3e555f=String['fromCharCode'](_0xe9b3ff)[_0x182e58(0x279)](_0xe9b3ff);return _0x15202f+_0x3e555f;}function xn(_0x3d06b6,_0x55709e){var _0x1d2528=_0xce59e2;const _0x19283a=Un['random'](0x10),_0x55a324=Ln(_0x3d06b6,0x10),_0x4d5c27=In['encrypt'](bn[_0x1d2528(0x8d)](_0x55a324),ii[_0x1d2528(0x8d)](_0x55709e),{'iv':_0x19283a,'padding':Mn});return _0x19283a[_0x1d2528(0x354)](_0x4d5c27['ciphertext'])[_0x1d2528(0x331)](ii);}function kn(){var _0x142de3=_0xce59e2;const _0x269cda=_0x38345b()[_0x142de3(0x80)];if(_0x269cda){const _0x1b210b={'time':Math[_0x142de3(0x256)](Date[_0x142de3(0x272)]()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x142de3(0xe7)](_0x1b210b),_0x269cda);}}var $n=Object[_0xce59e2(0xb3)],Hn=(_0x9459da,_0x3f5a11,_0x16d9cf,_0x1d36fe)=>{var _0x32f47d=_0xce59e2;for(var _0x2a56b1=_0x1d36fe>0x1?void 0x0:_0x1d36fe?$n(_0x3f5a11,_0x16d9cf):_0x3f5a11,_0x1a2eb6=_0x9459da[_0x32f47d(0x1ce)]-0x1,_0xec7e72;_0x1a2eb6>=0x0;_0x1a2eb6--)(_0xec7e72=_0x9459da[_0x1a2eb6])&&(_0x2a56b1=_0xec7e72(_0x2a56b1)||_0x2a56b1);return _0x2a56b1;},Bn=(_0xec760,_0xa2281b)=>(_0x487102,_0x21e891)=>_0xa2281b(_0x487102,_0x21e891,_0xec760);let at=class{constructor(_0x48290b){var _0x3f6e24=_0xce59e2;this['_httpService']=_0x48290b,this[_0x3f6e24(0x1c0)]();}['_initRequestHeader'](){var _0x3e5e9f=_0xce59e2;this[_0x3e5e9f(0x373)][_0x3e5e9f(0xb2)]({'interceptor':(_0x5573b5,_0x3ddc38)=>{var _0x1604f8=_0x3e5e9f;const _0x4452b2=_0x5573b5[_0x1604f8(0x16e)],_0x43261d=kn();return _0x43261d&&_0x4452b2[_0x1604f8(0x2ff)]('x-univer-host',_0x43261d),_0x3ddc38(_0x5573b5);}});}};at=Hn([Bn(0x0,_0xd3ba16(_0x313c9a))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x1e9cbb,_0xb33fa3,_0x26683c,_0x300073)=>{for(var _0x22d59d=_0x300073>0x1?void 0x0:_0x300073?jn(_0xb33fa3,_0x26683c):_0xb33fa3,_0x1823ae=_0x1e9cbb['length']-0x1,_0x4eacbc;_0x1823ae>=0x0;_0x1823ae--)(_0x4eacbc=_0x1e9cbb[_0x1823ae])&&(_0x22d59d=_0x4eacbc(_0x22d59d)||_0x22d59d);return _0x22d59d;},vt=(_0x5ab58f,_0x3149f6)=>(_0x3e85b9,_0x5c76c1)=>_0x3149f6(_0x3e85b9,_0x5c76c1,_0x5ab58f);function _0x2a1f(_0x16f79d,_0x41478e){var _0x5d54fc=_0x5d54();return _0x2a1f=function(_0x2a1fac,_0x585786){_0x2a1fac=_0x2a1fac-0x76;var _0x25a827=_0x5d54fc[_0x2a1fac];return _0x25a827;},_0x2a1f(_0x16f79d,_0x41478e);}let Ct=class extends _0x4ea9ab{constructor(_0x1c4fa7,_0x2d177f,_0x5bcfcf){var _0x228f98=_0xce59e2;super(),N(this,_0x228f98(0x1f7),new _0x45fe1b(null)),N(this,_0x228f98(0x35c),this[_0x228f98(0x1f7)][_0x228f98(0x2de)]()),(this[_0x228f98(0x241)]=_0x1c4fa7,this[_0x228f98(0x2b4)]=_0x2d177f,this[_0x228f98(0x77)]=_0x5bcfcf);}async['loadUnitOfRevision'](_0x87437e,_0x42af2a,_0x3699e8){var _0x1562ba=_0xce59e2;this[_0x1562ba(0x1f7)][_0x1562ba(0x147)]({'unitId':_0x87437e,'type':_0x42af2a});let _0x5a018a=null;switch(_0x42af2a){case Z[_0x1562ba(0x2ce)]:{_0x5a018a=await this[_0x1562ba(0x2b4)][_0x1562ba(0x29a)](_0x87437e,_0x3699e8);break;}case Z[_0x1562ba(0x18b)]:{_0x5a018a=await this[_0x1562ba(0x2b4)][_0x1562ba(0x31b)](_0x87437e,_0x3699e8);break;}default:{this[_0x1562ba(0x241)]['error'](_0x1562ba(0x13b),_0x1562ba(0x362));break;}}return _0x5a018a;}async[_0xce59e2(0x220)](_0x3dd28f,_0x416cc3,_0x38c45e){var _0x2e33ec=_0xce59e2,_0x2162bf;this['_unitInfo$'][_0x2e33ec(0x147)]({'unitId':_0x3dd28f,'type':_0x416cc3,'subUnitId':_0x38c45e});let _0x1040b8=0x0;const _0x10e248=await((_0x2162bf=this[_0x2e33ec(0x77)])==null?void 0x0:_0x2162bf[_0x2e33ec(0xef)](_0x3dd28f));return _0x10e248&&(_0x10e248[_0x2e33ec(0x33a)]||_0x10e248[_0x2e33ec(0x2b8)][_0x2e33ec(0x1ce)]!==0x0)&&(_0x1040b8=_0x10e248[_0x2e33ec(0x25b)]),_0x1040b8===0x0&&this[_0x2e33ec(0x241)][_0x2e33ec(0x2f8)](_0x2e33ec(0x13b),_0x2e33ec(0x2d8)),this[_0x2e33ec(0xcc)](_0x3dd28f,_0x416cc3,_0x1040b8);}};Ct=Fn([vt(0x0,_0x5342d8),vt(0x1,_0xd3ba16(_0x3cafbb)),vt(0x2,_0x320aa9(J))],Ct);var Vn=Object[_0xce59e2(0xb3)],Wn=(_0x1ee9b5,_0x2ae4b1,_0x2a46b8,_0x3d5eed)=>{var _0x36b1aa=_0xce59e2;for(var _0x4dafe8=_0x3d5eed>0x1?void 0x0:_0x3d5eed?Vn(_0x2ae4b1,_0x2a46b8):_0x2ae4b1,_0x14eb69=_0x1ee9b5[_0x36b1aa(0x1ce)]-0x1,_0x2a486a;_0x14eb69>=0x0;_0x14eb69--)(_0x2a486a=_0x1ee9b5[_0x14eb69])&&(_0x4dafe8=_0x2a486a(_0x4dafe8)||_0x4dafe8);return _0x4dafe8;},pt=(_0x4e4397,_0x5cd93)=>(_0x1230f6,_0x3c6b10)=>_0x5cd93(_0x1230f6,_0x3c6b10,_0x4e4397);const Gn=[_0xce59e2(0x12e),_0xce59e2(0x24c),_0xce59e2(0x1ef),_0xce59e2(0x26b),_0xce59e2(0xbd)],Yn=0x5*0x400*0x400,Kn=_0xce59e2(0xad),qn=_0xce59e2(0x183);let Rt=class{constructor(_0x3785c5,_0x1ccb71,_0x1e23ed){var _0x45a978=_0xce59e2;N(this,_0x45a978(0x266),0x0),N(this,_0x45a978(0x25c),new _0x5802a1()),N(this,_0x45a978(0xdd),this[_0x45a978(0x25c)]),N(this,_0x45a978(0x314),new Map()),(this[_0x45a978(0x373)]=_0x3785c5,this[_0x45a978(0x29b)]=_0x1ccb71,this[_0x45a978(0x303)]=_0x1e23ed);}[_0xce59e2(0x289)](_0x1ea2eb){var _0x3a3867=_0xce59e2;this[_0x3a3867(0x266)]=_0x1ea2eb,this[_0x3a3867(0x25c)]['next'](_0x1ea2eb);}[_0xce59e2(0x85)](_0x571fcf,_0x932815){var _0x441196=_0xce59e2;if(_0x932815===_0x5cf1e1[_0x441196(0x118)]){const _0x3d8e45=new Image();return _0x3d8e45[_0x441196(0x36d)]=_0x571fcf,_0x3d8e45;}return this[_0x441196(0x314)][_0x441196(0x132)](_0x571fcf);}[_0xce59e2(0x172)](_0x365254,_0x4a2738,_0x475a7d){var _0x49d22f=_0xce59e2;_0x4a2738===_0x5cf1e1[_0x49d22f(0x118)]||_0x475a7d==null||this['_imageSourceCache'][_0x49d22f(0x2ff)](_0x365254,_0x475a7d);}async['getImage'](_0x596465){var _0x505d60=_0xce59e2;try{const _0x5da4e4=this[_0x505d60(0x10d)](this[_0x505d60(0x29c)](),''+_0x596465),_0x506bde=(await this[_0x505d60(0x373)]['get'](_0x5da4e4))[_0x505d60(0x32d)];if(_0x506bde[_0x505d60(0x313)]&&_0x506bde['error'][_0x505d60(0x371)]===vi['OK']){const _0x93e767=new URL(_0x506bde[_0x505d60(0x174)],this[_0x505d60(0x32f)]())[_0x505d60(0x331)]();return Promise[_0x505d60(0x355)](_0x93e767);}return Promise['reject'](_0x506bde[_0x505d60(0x313)]);}catch(_0xd89354){return Promise[_0x505d60(0x90)](_0xd89354);}}async['saveImage'](_0x55fc4d){var _0x3f70e2=_0xce59e2;let _0x1058dc='';if(!Gn[_0x3f70e2(0x311)](_0x55fc4d[_0x3f70e2(0x2f3)]))return this[_0x3f70e2(0x2d4)](),Promise[_0x3f70e2(0x90)](new Error(_0x593807[_0x3f70e2(0x18c)]));if(_0x55fc4d['size']>Yn)return this[_0x3f70e2(0x2d4)](),Promise['reject'](new Error(_0x593807['ERROR_EXCEED_SIZE']));try{const _0x2799f1=new FormData();_0x2799f1[_0x3f70e2(0xcb)](_0x3f70e2(0x8b),_0x55fc4d);const _0x49d445=this[_0x3f70e2(0x303)]['getFocusedUnit'](),_0x198d5f=_0x49d445==null?void 0x0:_0x49d445[_0x3f70e2(0x206)]();if(!_0x198d5f)throw new Error(_0x3f70e2(0x1f1));const _0x46ffae=this[_0x3f70e2(0x307)]()+_0x3f70e2(0x199)+_0x55fc4d[_0x3f70e2(0x25f)]['toString']()+_0x3f70e2(0x1dd)+pi[_0x3f70e2(0xd5)]+'&assign='+encodeURIComponent(_0x198d5f),_0x3b24ed={'body':_0x2799f1},_0x5331eb=(await this[_0x3f70e2(0x373)][_0x3f70e2(0xf4)](_0x46ffae,_0x3b24ed))[_0x3f70e2(0x32d)];if(typeof _0x5331eb['FileId']!='string')return this[_0x3f70e2(0x2d4)](),Promise[_0x3f70e2(0x90)](new Error(_0x593807[_0x3f70e2(0x87)]));_0x1058dc=_0x5331eb[_0x3f70e2(0x205)];}catch{return this[_0x3f70e2(0x2d4)](),Promise[_0x3f70e2(0x90)](new Error(_0x593807[_0x3f70e2(0x87)]));}return new Promise((_0x5da273,_0x4a44fb)=>{var _0x4ff225=_0x3f70e2;const _0x3f6e9f=new FileReader();_0x3f6e9f[_0x4ff225(0x130)](_0x55fc4d),_0x3f6e9f['onload']=_0x135c7a=>{var _0x16a866=_0x4ff225,_0x4b700c;const _0x3f39b9=(_0x4b700c=_0x135c7a[_0x16a866(0x1fa)])==null?void 0x0:_0x4b700c[_0x16a866(0xb7)];if(_0x3f39b9==null){this[_0x16a866(0x2d4)](),_0x4a44fb(new Error(_0x593807[_0x16a866(0x87)]));return;}const _0xaa690=_0x3abf27(0x6);_0x5da273({'imageId':_0xaa690,'imageSourceType':_0x5cf1e1[_0x16a866(0x2ea)],'source':_0x1058dc,'base64Cache':_0x3f39b9,'status':_0x593807[_0x16a866(0x2f5)]}),this['_decreaseWaiting']();};});}[_0xce59e2(0x307)](){var _0x279b63=_0xce59e2,_0x125174;const _0x1e69e8=this[_0x279b63(0x29b)]['getConfig'](K);return(_0x125174=_0x1e69e8==null?void 0x0:_0x1e69e8[_0x279b63(0x2d3)])!=null?_0x125174:Kn;}['_getSignURL'](){var _0x3ba33e=_0xce59e2,_0x1445f3;const _0x254559=this['_configService'][_0x3ba33e(0x13f)](K);return(_0x1445f3=_0x254559==null?void 0x0:_0x254559['signUrlServerUrl'])!=null?_0x1445f3:qn;}[_0xce59e2(0x32f)](){var _0x8a9ef3=_0xce59e2,_0x5bbbe2;const _0x5bc0e1=this[_0x8a9ef3(0x29b)][_0x8a9ef3(0x13f)](K);return(_0x5bbbe2=_0x5bc0e1==null?void 0x0:_0x5bc0e1[_0x8a9ef3(0x1d2)])!=null?_0x5bbbe2:location[_0x8a9ef3(0x135)];}[_0xce59e2(0x10d)](_0x5b2304,_0x24f9ef){var _0x3eeafc=_0xce59e2;return _0x5b2304[_0x3eeafc(0x2b6)](_0x3eeafc(0xd8),_0x24f9ef);}['_decreaseWaiting'](){var _0x6cef8c=_0xce59e2;this[_0x6cef8c(0x266)]-=0x1,this[_0x6cef8c(0x25c)][_0x6cef8c(0x147)](this['_waitCount']);}};Rt=Wn([pt(0x0,_0xd3ba16(_0x313c9a)),pt(0x1,_0x453892),pt(0x2,_0xd3ba16(_0x26d41e))],Rt);var zn=Object[_0xce59e2(0xb3)],Jn=(_0x2ba3bf,_0x17c07c,_0xd86ac0,_0x24b2d2)=>{var _0x490925=_0xce59e2;for(var _0x21e1ac=_0x24b2d2>0x1?void 0x0:_0x24b2d2?zn(_0x17c07c,_0xd86ac0):_0x17c07c,_0x4744f2=_0x2ba3bf[_0x490925(0x1ce)]-0x1,_0x50d416;_0x4744f2>=0x0;_0x4744f2--)(_0x50d416=_0x2ba3bf[_0x4744f2])&&(_0x21e1ac=_0x50d416(_0x21e1ac)||_0x21e1ac);return _0x21e1ac;},ai=(_0x53cd4a,_0x52760c)=>(_0xa9b518,_0x301945)=>_0x52760c(_0xa9b518,_0x301945,_0x53cd4a);const Xn=_0xce59e2(0x15c);let Ot=class{constructor(_0x4018d4,_0x4b0fca){var _0x660767=_0xce59e2;this[_0x660767(0x29b)]=_0x4018d4,this['_HTTPService']=_0x4b0fca;}[_0xce59e2(0x20f)](){var _0x1e7891=_0xce59e2,_0xa8193e;const _0x1efdfd=this[_0x1e7891(0x29b)]['getConfig'](K);return(_0xa8193e=_0x1efdfd==null?void 0x0:_0x1efdfd[_0x1e7891(0xb5)])!=null?_0xa8193e:Xn;}async[_0xce59e2(0x28c)](_0x10a9d2){var _0x5bbb30=_0xce59e2;const _0x48e8c6=this['_getAPIPrefixPath']()+_0x5bbb30(0x2aa);return{'list':[{'title':_0x5bbb30(0x10b),'mentions':(await this[_0x5bbb30(0x349)][_0x5bbb30(0x132)](_0x48e8c6,{'params':{'objectID':_0x10a9d2[_0x5bbb30(0x249)],'unitID':_0x10a9d2[_0x5bbb30(0x249)]}}))['body']['collaborators'][_0x5bbb30(0x2a6)](_0x332e9c=>({'objectId':_0x332e9c['id'],'name':_0x332e9c[_0x5bbb30(0xc0)][_0x5bbb30(0x186)],'metadata':{'icon':_0x332e9c[_0x5bbb30(0xc0)][_0x5bbb30(0x11d)]},'label':_0x332e9c['subject']['name'],'objectType':_0x25af66[_0x5bbb30(0x35e)]})),'metadata':{},'type':_0x25af66[_0x5bbb30(0x35e)]}]};}};Ot=Jn([ai(0x0,_0xd3ba16(_0x453892)),ai(0x1,_0xd3ba16(_0x313c9a))],Ot);var Zn=Object[_0xce59e2(0xb3)],Qn=(_0x216b28,_0x4e7856,_0x23c773,_0x3fe075)=>{var _0x1efff2=_0xce59e2;for(var _0x2c8277=_0x3fe075>0x1?void 0x0:_0x3fe075?Zn(_0x4e7856,_0x23c773):_0x4e7856,_0x8f8868=_0x216b28[_0x1efff2(0x1ce)]-0x1,_0x1899ba;_0x8f8868>=0x0;_0x8f8868--)(_0x1899ba=_0x216b28[_0x8f8868])&&(_0x2c8277=_0x1899ba(_0x2c8277)||_0x2c8277);return _0x2c8277;},Ue=(_0x509be0,_0x48932c)=>(_0x403c42,_0xec7ffc)=>_0x48932c(_0x403c42,_0xec7ffc,_0x509be0);let ot=class extends _0x4ea9ab{constructor(_0xdcf5d6,_0x5247a6,_0x542b30,_0x1efe26,_0x144c93){var _0x126b76=_0xce59e2;super(),this['_injector']=_0xdcf5d6,this[_0x126b76(0x303)]=_0x5247a6,this[_0x126b76(0x310)]=_0x542b30,this[_0x126b76(0x1a2)]=_0x1efe26,this[_0x126b76(0x93)]=_0x144c93,this[_0x126b76(0x345)](),this[_0x126b76(0x7f)]();}[_0xce59e2(0x7f)](){var _0x3d74e0=_0xce59e2;const _0x5a9cab=async _0x1f2077=>{var _0x52d7ec=_0x2a1f;(await this[_0x52d7ec(0x1a2)][_0x52d7ec(0x1d0)](_0x1f2077))[_0x52d7ec(0x188)]['pipe'](_0x355989(_0x5a2331=>_0x5a2331[_0x52d7ec(0x260)]===_0x4333e6[_0x52d7ec(0x31a)]),_0x248e15(this[_0x52d7ec(0x1ec)]))[_0x52d7ec(0x129)](_0x9b0ea3=>{var _0x4f537e=_0x52d7ec;const _0x274e63=_0x9b0ea3,{reason:_0x51a96b}=_0x274e63[_0x4f537e(0x2fb)];this[_0x4f537e(0x93)][_0x4f537e(0x29f)]({'id':ne[_0x4f537e(0x28b)],'data':_0x51a96b}),this[_0x4f537e(0x310)][_0x4f537e(0x294)](new _0x3f8def(_0x1f2077)['id'],!0x1),this[_0x4f537e(0x1a2)][_0x4f537e(0x368)](_0x1f2077);});};_0x20d0a4(this['_univerInstanceService'][_0x3d74e0(0x300)](_0x125792['UNIVER_SHEET']),this[_0x3d74e0(0x303)][_0x3d74e0(0x300)](_0x125792[_0x3d74e0(0x18b)]))['pipe'](_0x161964(_0x1db707=>_0x1db707[_0x3d74e0(0x206)]()),_0x355989(_0x19c06c=>!_0x96843d(_0x19c06c)),_0x248e15(this[_0x3d74e0(0x1ec)]))[_0x3d74e0(0x129)](_0x3f89cc=>{_0x5a9cab(_0x3f89cc);});}['_initUnitPermissionChange'](){var _0x46c9a1=_0xce59e2;const _0x14ce78=async _0x1a6e74=>{var _0x2f04db=_0x2a1f;const _0x32e0e2=await this[_0x2f04db(0x1a2)][_0x2f04db(0x1d0)](_0x1a6e74),_0x215def=this['_injector']['get'](_0x3e7c10);_0x32e0e2['event$'][_0x2f04db(0x388)](_0x355989(_0x5d05bd=>_0x5d05bd['eventID']===_0x4333e6[_0x2f04db(0x250)]),_0x248e15(this[_0x2f04db(0x1ec)]))[_0x2f04db(0x129)](_0x1c6165=>{var _0x172994=_0x2f04db;const _0x248bf7=_0x1c6165,{objectId:_0x4f54b9}=_0x248bf7[_0x172994(0x2fb)];_0x4f54b9===_0x1a6e74?_0x215def[_0x172994(0xed)](_0x1a6e74):_0x215def[_0x172994(0x228)](_0x1a6e74,_0x4f54b9);});};_0x20d0a4(this[_0x46c9a1(0x303)][_0x46c9a1(0x300)](_0x125792['UNIVER_SHEET']))[_0x46c9a1(0x388)](_0x161964(_0x349f15=>_0x349f15[_0x46c9a1(0x206)]()),_0x355989(_0x486d9a=>!_0x96843d(_0x486d9a)),_0x248e15(this['dispose$']))[_0x46c9a1(0x129)](_0x37e692=>{_0x14ce78(_0x37e692);});}};ot=Qn([Ue(0x0,_0xd3ba16(_0x347f26)),Ue(0x1,_0x26d41e),Ue(0x2,_0x683183),Ue(0x3,_0xd3ba16(Pe)),Ue(0x4,_0xd3ba16(ve))],ot);var er=Object[_0xce59e2(0xb3)],tr=(_0x184f59,_0x343eed,_0x126eaf,_0x3b3e7a)=>{var _0x6f04a5=_0xce59e2;for(var _0x49f7eb=_0x3b3e7a>0x1?void 0x0:_0x3b3e7a?er(_0x343eed,_0x126eaf):_0x343eed,_0xd37e04=_0x184f59[_0x6f04a5(0x1ce)]-0x1,_0x1c87af;_0xd37e04>=0x0;_0xd37e04--)(_0x1c87af=_0x184f59[_0xd37e04])&&(_0x49f7eb=_0x1c87af(_0x49f7eb)||_0x49f7eb);return _0x49f7eb;},oi=(_0x329ec6,_0x51570f)=>(_0x23a730,_0x22ff5b)=>_0x51570f(_0x23a730,_0x22ff5b,_0x329ec6);let bt=class{constructor(_0x334690,_0x128630){var _0x33071f=_0xce59e2;this[_0x33071f(0x29b)]=_0x334690,this[_0x33071f(0x373)]=_0x128630;}async[_0xce59e2(0x283)](_0x75a05b,_0x429400){var _0x15c83b=_0xce59e2,_0x27692d;const {unitID:_0x55e2bf,type:_0x5bc435,revision:_0x103efe=0x0}=_0x429400,_0xf9323e=this[_0x15c83b(0x189)]()+'/'+_0x5bc435+'/unit/'+_0x55e2bf+_0x15c83b(0x2c6)+_0x103efe,_0x5d634f=(await this[_0x15c83b(0x373)][_0x15c83b(0x132)](_0xf9323e))[_0x15c83b(0x32d)],_0x307223=(_0x27692d=_0x5d634f[_0x15c83b(0x1aa)])==null?void 0x0:_0x27692d[_0x15c83b(0x1e7)];if(_0x307223){const _0x31ffc5=_0x307223==null?void 0x0:_0x307223[_0x15c83b(0x2ba)],_0x448a57=_0x2107a1['encode'](_0x3ac12a(_0x31ffc5));_0x307223['originalMeta']=_0x448a57,Object[_0x15c83b(0x1c1)](_0x307223[_0x15c83b(0x201)])[_0x15c83b(0x333)](([,_0x5a42aa])=>{var _0x566137=_0x15c83b;const _0x20bc05=_0x5a42aa[_0x566137(0x2ba)],_0x25f100=_0x2107a1['encode'](_0x3ac12a(_0x20bc05));_0x5a42aa['originalMeta']=_0x25f100;});}return _0x5d634f;}async[_0xce59e2(0x296)](_0x2dc5bc,_0x426a8e){var _0x1bf139=_0xce59e2;const {unitID:_0x2d8dde,type:_0x146bec,blockID:_0x8fdacd}=_0x426a8e,_0x90192e=this['_getAPIPrefix']()+'/'+_0x146bec+_0x1bf139(0x2eb)+_0x2d8dde+_0x1bf139(0x299)+_0x8fdacd;return(await this[_0x1bf139(0x373)]['get'](_0x90192e))['body'];}async[_0xce59e2(0x2fc)](_0x11c509,_0x407ba0){var _0x4d1ee5=_0xce59e2;const {unitID:_0xedbffd,type:_0x1e10d6,blockID:_0x2c2bb3}=_0x407ba0,_0x14977a=this[_0x4d1ee5(0x383)]()+_0x4d1ee5(0x299)+_0x1e10d6+'/unit/'+_0xedbffd+_0x4d1ee5(0x299)+_0x2c2bb3;return(await this[_0x4d1ee5(0x373)][_0x4d1ee5(0x132)](_0x14977a))['body'];}async[_0xce59e2(0x1cf)](_0x145f94,_0x11b74c){var _0x57f7ad=_0xce59e2;const {unitID:_0x80e1d4,type:_0x18163d,from:_0x40eb37,to:_0x1f3ddf}=_0x11b74c,_0x5942b1=this['_getAPIPrefix']()+'/'+_0x18163d+_0x57f7ad(0x2eb)+_0x80e1d4+_0x57f7ad(0x180)+_0x40eb37+_0x57f7ad(0x7e)+_0x1f3ddf;return(await this['_httpService'][_0x57f7ad(0x132)](_0x5942b1))[_0x57f7ad(0x32d)];}[_0xce59e2(0x189)](){var _0x3a274c=_0xce59e2,_0xc8d7b;return(_0xc8d7b=this['_configService'][_0x3a274c(0x13f)](vs))!=null?_0xc8d7b:this[_0x3a274c(0x383)]();}[_0xce59e2(0x383)](){var _0x38f6fb=_0xce59e2,_0x56803b;const _0x366516=this['_configService'][_0x38f6fb(0x13f)](K);return(_0x56803b=_0x366516==null?void 0x0:_0x366516[_0x38f6fb(0x193)])!=null?_0x56803b:fs;}async[_0xce59e2(0x284)](_0x13fe11,_0x2b0923){var _0x26724d=_0xce59e2;const _0x2c6349=_0x26724d(0x109)+_0x2b0923[_0x26724d(0x2f3)]+'/unit/'+_0x2b0923[_0x26724d(0x2b0)]+_0x26724d(0x1b8);return(await this[_0x26724d(0x373)][_0x26724d(0x132)](_0x2c6349,{'params':{'resourceId':JSON[_0x26724d(0xe7)](_0x2b0923[_0x26724d(0x17b)])}}))[_0x26724d(0x32d)];}[_0xce59e2(0xb6)](){var _0x260287=_0xce59e2;throw new Error(_0x260287(0x1cb));}['updateSnapshot'](){var _0x17f2ca=_0xce59e2;throw new Error(_0x17f2ca(0x1cb));}['saveSheetBlock'](){var _0x94cfcd=_0xce59e2;throw new Error(_0x94cfcd(0x1cb));}[_0xce59e2(0x37d)](){var _0x35a063=_0xce59e2;throw new Error(_0x35a063(0x1cb));}[_0xce59e2(0x2b1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xce59e2(0xdc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=tr([oi(0x0,_0x453892),oi(0x1,_0xd3ba16(_0x313c9a))],bt);var ir=Object[_0xce59e2(0xb3)],sr=(_0x58c987,_0x2df13e,_0x32a62c,_0xf744fd)=>{var _0x230f5e=_0xce59e2;for(var _0x38bd84=_0xf744fd>0x1?void 0x0:_0xf744fd?ir(_0x2df13e,_0x32a62c):_0x2df13e,_0x30e585=_0x58c987[_0x230f5e(0x1ce)]-0x1,_0x5daa2c;_0x30e585>=0x0;_0x30e585--)(_0x5daa2c=_0x58c987[_0x30e585])&&(_0x38bd84=_0x5daa2c(_0x38bd84)||_0x38bd84);return _0x38bd84;},Ae=(_0x3dfaf9,_0x33364e)=>(_0x1f7f50,_0x3b1c32)=>_0x33364e(_0x1f7f50,_0x3b1c32,_0x3dfaf9);let yt=class extends _0x3d3c25{constructor(_0xeacf19,_0x41f3e0,_0x6e6594,_0x4f78c4,_0x1baeee){var _0x2bc37b=_0xce59e2;super(_0xeacf19,_0x41f3e0,_0x6e6594),this[_0x2bc37b(0x8c)]=_0x4f78c4,this[_0x2bc37b(0x241)]=_0x1baeee;}[_0xce59e2(0x100)](_0x559214,_0x5194c5){var _0xf485f2=_0xce59e2;const _0xd2638a=this[_0xf485f2(0x19e)](_0x559214);if(_0xd2638a)try{const _0x583fac=this[_0xf485f2(0x13a)](_0xd2638a,_0x5194c5);this[_0xf485f2(0x9c)](_0x559214,_0x583fac);}catch(_0x2052d8){this[_0xf485f2(0x241)][_0xf485f2(0x313)]('[CollaborationUndoRedoService]',_0x2052d8),this[_0xf485f2(0x30d)](_0x559214);}const _0x196b8b=this['_getRedoStack'](_0x559214);if(_0x196b8b)try{const _0x2ad45c=this[_0xf485f2(0x13a)](_0x196b8b,_0x5194c5);this['_substituteRedoStack'](_0x559214,_0x2ad45c);}catch(_0x4bdc86){this[_0xf485f2(0x241)][_0xf485f2(0x313)](_0x4bdc86),this[_0xf485f2(0x2af)](_0x559214);}}[_0xce59e2(0x30d)](_0x2a5f9c){var _0x4ae8d=_0xce59e2;const _0x3cd752=this['_getUndoStack'](_0x2a5f9c);_0x3cd752&&(_0x3cd752[_0x4ae8d(0x1ce)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x541457){var _0x9db5b7=_0xce59e2;const _0x160e77=this[_0x9db5b7(0x110)](_0x541457);_0x160e77&&(_0x160e77[_0x9db5b7(0x1ce)]=0x0,this['_updateStatus']());}[_0xce59e2(0x9c)](_0x2fe20a,_0x417c2f){var _0x49f2ea=_0xce59e2;this['_undoStacks']['set'](_0x2fe20a,_0x417c2f),this[_0x49f2ea(0xf9)]();}[_0xce59e2(0x31e)](_0x4c5e38,_0x42e240){var _0x4c0bc7=_0xce59e2;this[_0x4c0bc7(0x1b4)][_0x4c0bc7(0x2ff)](_0x4c5e38,_0x42e240),this['_updateStatus']();}[_0xce59e2(0x13a)](_0x31f540,_0x277776){var _0x226cca=_0xce59e2;const _0x6859bd=[];let _0xad8cf3=_0x277776,_0x1ca418=_0x277776;for(let _0x5b2a29=_0x31f540['length']-0x1;_0x5b2a29>=0x0;_0x5b2a29--){const {unitID:_0x3c9e07,undoMutations:_0x5a07a6,redoMutations:_0x102365}=_0x31f540[_0x5b2a29],_0x3602af=this['_transformService']['transformMutationsWithChangeset'](_0xad8cf3,_0x5a07a6),_0x3f936b=this[_0x226cca(0x8c)]['transformMutationsWithChangeset'](_0x1ca418,_0x102365);if(_0x420d0e(_0x3602af)||_0x420d0e(_0x3f936b)){this[_0x226cca(0x241)]['error'](_0x226cca(0x262),_0x226cca(0x2c3),_0x3602af,_0x3f936b);break;}_0xad8cf3=_0x3602af[_0x226cca(0x20d)],_0x1ca418=_0x3f936b[_0x226cca(0x20d)],_0x6859bd[_0x226cca(0x1a9)]({'unitID':_0x3c9e07,'undoMutations':_0x3602af[_0x226cca(0x30f)],'redoMutations':_0x3f936b['m2Prime']});}return _0x6859bd[_0x226cca(0x1ba)]();}};yt=sr([Ae(0x0,_0x26d41e),Ae(0x1,_0x5d8f68),Ae(0x2,_0x355c00),Ae(0x3,_0x223ac4),Ae(0x4,_0x5342d8)],yt);var nr=Object['defineProperty'],rr=Object[_0xce59e2(0xb3)],ar=(_0x466c95,_0x4e94b8,_0x4ca832)=>_0x4e94b8 in _0x466c95?nr(_0x466c95,_0x4e94b8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ca832}):_0x466c95[_0x4e94b8]=_0x4ca832,or=(_0x6c0a6a,_0x3197fb,_0x140ce2,_0x30b6c3)=>{var _0x1f323=_0xce59e2;for(var _0x2d8f2c=_0x30b6c3>0x1?void 0x0:_0x30b6c3?rr(_0x3197fb,_0x140ce2):_0x3197fb,_0x559dce=_0x6c0a6a[_0x1f323(0x1ce)]-0x1,_0x406a89;_0x559dce>=0x0;_0x559dce--)(_0x406a89=_0x6c0a6a[_0x559dce])&&(_0x2d8f2c=_0x406a89(_0x2d8f2c)||_0x2d8f2c);return _0x2d8f2c;},mt=(_0x590e77,_0x1a78a8)=>(_0x4ae2c3,_0x2d372c)=>_0x1a78a8(_0x4ae2c3,_0x2d372c,_0x590e77),cr=(_0x4cd46f,_0x5e14f1,_0x4f8a22)=>ar(_0x4cd46f,_0x5e14f1+'',_0x4f8a22);const hr=_0xce59e2(0xa6);let Nt=class extends _0x128181{constructor(_0x8f9377,_0x46fbd7,_0x5d9007,_0x3d3720){var _0xb523d7=_0xce59e2;super(),N(this,_0xb523d7(0x151)),(this[_0xb523d7(0x241)]=_0x46fbd7,this[_0xb523d7(0x31d)]=_0x5d9007,this[_0xb523d7(0x29b)]=_0x3d3720);const {..._0x2a8641}=_0x46a1fc({},Os,_0x8f9377);if(!_0x2a8641[_0xb523d7(0x17d)])throw new Error(_0xb523d7(0x2d2));this[_0xb523d7(0x151)]=_0x2a8641,this[_0xb523d7(0x29b)][_0xb523d7(0x281)](K,_0x2a8641);}[_0xce59e2(0x34d)](){var _0xc46c3d=_0xce59e2;this[_0xc46c3d(0x1eb)](),this['_initDependencies']();}[_0xce59e2(0x1eb)](){var _0x4665e4=_0xce59e2,_0x571672,_0x52a30a;this[_0x4665e4(0x31d)][_0x4665e4(0x2d5)](_0x262b06)&&this[_0x4665e4(0x241)]['error'](_0x4665e4(0x82),_0x4665e4(0x83));const _0x53f395=_0x3d4beb([[_0x262b06,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this['_config'][_0x4665e4(0x17d)]}],[_0x59aa30,{'useClass':bt}],[_0x3ea3af,{'useClass':Tt}],[_0xc9ded7,{'useClass':Rt}],[_0x31e613,{'useClass':Ot}],[nt],[It]],(_0x571672=this[_0x4665e4(0x151)])==null?void 0x0:_0x571672[_0x4665e4(0x19a)]);if(!((_0x52a30a=this[_0x4665e4(0x151)])!=null&&_0x52a30a['enableSingleActiveInstanceLock'])){const _0x36f224=_0x53f395[_0x4665e4(0x276)](([_0x306ef3])=>_0x306ef3===ht);_0x36f224!==-0x1&&_0x53f395[_0x4665e4(0x1a1)](_0x36f224,0x1);}_0x4083e3(this[_0x4665e4(0x31d)],_0x53f395);}[_0xce59e2(0x196)](){var _0x1be4d4=_0xce59e2,_0x3000cd,_0x4ced60,_0x389e0c;this[_0x1be4d4(0x31d)][_0x1be4d4(0x132)](_0x313c9a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2bd87e({'maxParallel':0x6})}),(_0x3000cd=this[_0x1be4d4(0x151)])!=null&&_0x3000cd[_0x1be4d4(0x22c)]||(_0x4ced60=this[_0x1be4d4(0x31d)][_0x1be4d4(0x132)](J,_0x4485c3[_0x1be4d4(0x27f)]))==null||_0x4ced60['disableLocalCache'](),(_0x389e0c=this[_0x1be4d4(0x151)])!=null&&_0x389e0c[_0x1be4d4(0x161)]&&_0x3ceb0d(this[_0x1be4d4(0x31d)],[[rt]]),_0x3ceb0d(this['_injector'],[[at],[nt],[ot]]);}};cr(Nt,_0xce59e2(0x37f),hr),Nt=or([_0x509cd1(_0x32389d,_0x5a6d63),mt(0x1,_0x5342d8),mt(0x2,_0xd3ba16(_0x347f26)),mt(0x3,_0x453892)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};