@univerjs-pro/collaboration-client 0.15.0 → 0.15.1

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 (53) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +11 -11
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x59b5b4=_0x2245;(function(_0x444958,_0x3f0d22){var _0x586f5f=_0x2245,_0x6ae195=_0x444958();while(!![]){try{var _0x56cd19=parseInt(_0x586f5f(0x1b7))/0x1*(parseInt(_0x586f5f(0x2ab))/0x2)+-parseInt(_0x586f5f(0x3fc))/0x3*(-parseInt(_0x586f5f(0x380))/0x4)+parseInt(_0x586f5f(0x2a5))/0x5*(-parseInt(_0x586f5f(0x2a3))/0x6)+-parseInt(_0x586f5f(0x34e))/0x7*(parseInt(_0x586f5f(0x1f4))/0x8)+parseInt(_0x586f5f(0x24e))/0x9*(parseInt(_0x586f5f(0x1a9))/0xa)+-parseInt(_0x586f5f(0x34b))/0xb+-parseInt(_0x586f5f(0x356))/0xc;if(_0x56cd19===_0x3f0d22)break;else _0x6ae195['push'](_0x6ae195['shift']());}catch(_0x4514ef){_0x6ae195['push'](_0x6ae195['shift']());}}}(_0x1a33,0xbc3b0));var Di=Object[_0x59b5b4(0x139)],yi=(_0x108f93,_0x18cd12,_0x526141)=>_0x18cd12 in _0x108f93?Di(_0x108f93,_0x18cd12,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x526141}):_0x108f93[_0x18cd12]=_0x526141,D=(_0x48bd72,_0x5be3d8,_0x578ed2)=>yi(_0x48bd72,typeof _0x5be3d8!=_0x59b5b4(0x1d4)?_0x5be3d8+'':_0x5be3d8,_0x578ed2);import{CollaborationEvent as _0x8199d6,ITransformService as _0x39ca4e,isTransformMutationsWithChangesetSuccess as _0x108311,mapDocumentTypeToUniverType as _0x135600,RevisionService as _0x2aa1c4,isTransformChangesetsSuccess as _0x810ab5,EmptyMutationInfo as _0x48bad8,CompressMutationService as _0x80ee6,parseProtocolChangeset as _0x482035,uuidv4 as _0x64d0d4,ISnapshotServerService as _0x153314,parseChangesetToProtocol as _0x127fce,SnapshotService as _0x21c76d,textEncoder as _0x224381,b64DecodeUnicode as _0x204879,isTransformMutationsWithChangesetFailure as _0x2667a2,UniverCollaborationPlugin as _0x1d5c63}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x33b121,Inject as _0x1a58da,UserManagerService as _0x25107c,Disposable as _0xc67a27,UniverInstanceType as _0x5160b0,ILogService as _0x41f1d3,IConfigService as _0x4cf79c,Optional as _0x24a4ee,RxDisposable as _0x5385ac,createIdentifier as _0x4580bc,Injector as _0x304bd2,Tools as _0x2582c5,Rectangle as _0x48a3cf,ICommandService as _0x48e048,JSONX as _0x28463c,IUndoRedoService as _0x4c7a7f,IPermissionService as _0x6680b3,LocaleService as _0x37628b,sequenceExecute as _0x4cf03a,toDisposable as _0x3b1318,CommandType as _0x92706f,DisposableCollection as _0x4dd381,Workbook as _0x3bc15c,generateRandomId as _0x2e2876,MentionType as _0x25ba16,isInternalEditorID as _0x1b558c,LocalUndoRedoService as _0x176556,IContextService as _0x1abaab,DependentOn as _0x12fa2d,Plugin as _0x4fc85d,merge as _0x51372b,mergeOverrideWithDependencies as _0x55d6ff,IAuthzIoService as _0x48291a,IMentionIOService as _0x42f742,registerDependencies as _0x3ad911,Quantity as _0x537754,touchDependencies as _0x5dd37a}from'@univerjs/core';import{RichTextEditingMutation as _0x27e980}from'@univerjs/docs';import{SheetsSelectionsService as _0xf9d02,SetSelectionsOperation as _0x294701,InsertSheetMutation as _0x4a567d,WorkbookEditablePermission as _0x1c73ad,SheetPermissionInitController as _0x4fd551}from'@univerjs/sheets';import{Subject as _0x392b17,merge as _0x58a98c,of as _0x27446f,BehaviorSubject as _0xfba9c5,takeUntil as _0x4620b1,ReplaySubject as _0x4e32ce,take as _0x505bf8,map as _0x36eed8,shareReplay as _0x9c6fcc,firstValueFrom as _0x21f454,concatMap as _0x2c5b73}from'rxjs';import{ITelemetryService as _0x37d1b0}from'@univerjs/telemetry';import{map as _0x3f2333,take as _0x305e89,filter as _0x2264c4,delay as _0xc7b00c,takeUntil as _0x37c0c2}from'rxjs/operators';import{HTTPService as _0x28317b,ISocketService as _0x28aa13,MergeInterceptorFactory as _0x3a07d1,HTTPRequest as _0x469672,UniverNetworkPlugin as _0x211efc,ThresholdInterceptorFactory as _0x17daf5}from'@univerjs/network';import{ImageSourceType as _0x11f743,ImageUploadStatusType as _0x35d6c9,IImageIoService as _0xacadaa}from'@univerjs/drawing';import{getGlobalObject as _0x1070d8}from'@univerjs-pro/license';const vs=_0x59b5b4(0x28c),Es='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x59b5b4(0xed),Tr=_0x59b5b4(0x122),Is=_0x59b5b4(0x349),Ss=0x7530,di=_0x59b5b4(0x109),fi=0x4e20,gs=0x4e20,Ts=_0x59b5b4(0x26e),Os=0x3,Or=_0x59b5b4(0x1a8),Rr=0x3e8,Rs='/universer-api/comb',Ns=_0x59b5b4(0x150),Nr=_0x59b5b4(0x10f),Cr=_0x59b5b4(0x3d6);var vi=(_0x2c133d=>(_0x2c133d[_0x2c133d[_0x59b5b4(0x3b4)]=0x0]=_0x59b5b4(0x3b4),_0x2c133d[_0x2c133d['OK']=0x1]='OK',_0x2c133d[_0x2c133d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x2c133d[_0x2c133d['PERMISSION_DENIED']=0x3]=_0x59b5b4(0x191),_0x2c133d[_0x2c133d[_0x59b5b4(0x2d2)]=0x4]=_0x59b5b4(0x2d2),_0x2c133d[_0x2c133d['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2c133d[_0x2c133d[_0x59b5b4(0x2d5)]=0x6]=_0x59b5b4(0x2d5),_0x2c133d[_0x2c133d[_0x59b5b4(0x3c3)]=0x7]=_0x59b5b4(0x3c3),_0x2c133d[_0x2c133d[_0x59b5b4(0x247)]=0x8]=_0x59b5b4(0x247),_0x2c133d[_0x2c133d[_0x59b5b4(0x225)]=0x9]=_0x59b5b4(0x225),_0x2c133d[_0x2c133d[_0x59b5b4(0x146)]=0xa]=_0x59b5b4(0x146),_0x2c133d[_0x2c133d['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x59b5b4(0x16b),_0x2c133d[_0x2c133d['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x59b5b4(0x17c),_0x2c133d[_0x2c133d[_0x59b5b4(0x348)]=0xd]=_0x59b5b4(0x348),_0x2c133d[_0x2c133d[_0x59b5b4(0x11c)]=0xe]=_0x59b5b4(0x11c),_0x2c133d[_0x2c133d[_0x59b5b4(0x24a)]=0xf]=_0x59b5b4(0x24a),_0x2c133d[_0x2c133d['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x59b5b4(0x2ce),_0x2c133d[_0x2c133d[_0x59b5b4(0x164)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2c133d[_0x2c133d[_0x59b5b4(0x34f)]=0x65]=_0x59b5b4(0x34f),_0x2c133d[_0x2c133d['USER_NOT_FOUND']=0xc9]=_0x59b5b4(0x27a),_0x2c133d[_0x2c133d[_0x59b5b4(0x3ac)]=0xca]=_0x59b5b4(0x3ac),_0x2c133d[_0x2c133d[_0x59b5b4(0x381)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2c133d[_0x2c133d[_0x59b5b4(0x405)]=0x1771]=_0x59b5b4(0x405),_0x2c133d[_0x2c133d[_0x59b5b4(0x132)]=0x1772]=_0x59b5b4(0x132),_0x2c133d[_0x2c133d[_0x59b5b4(0x293)]=0x1773]=_0x59b5b4(0x293),_0x2c133d[_0x2c133d[_0x59b5b4(0x3cf)]=0x1b59]=_0x59b5b4(0x3cf),_0x2c133d[_0x2c133d[_0x59b5b4(0x319)]=0x1b5a]=_0x59b5b4(0x319),_0x2c133d[_0x2c133d[_0x59b5b4(0x295)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2c133d[_0x2c133d[_0x59b5b4(0x17d)]=0x1b5c]=_0x59b5b4(0x17d),_0x2c133d[_0x2c133d[_0x59b5b4(0xe0)]=0x1b5d]=_0x59b5b4(0xe0),_0x2c133d[_0x2c133d[_0x59b5b4(0x339)]=0x1f41]=_0x59b5b4(0x339),_0x2c133d[_0x2c133d[_0x59b5b4(0x3cb)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2c133d[_0x2c133d[_0x59b5b4(0x399)]=0x232a]=_0x59b5b4(0x399),_0x2c133d[_0x2c133d[_0x59b5b4(0x3f1)]=0x232b]=_0x59b5b4(0x3f1),_0x2c133d[_0x2c133d[_0x59b5b4(0x3e8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2c133d[_0x2c133d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x59b5b4(0x3cc),_0x2c133d[_0x2c133d[_0x59b5b4(0x209)]=0x2711]=_0x59b5b4(0x209),_0x2c133d[_0x2c133d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x59b5b4(0x279),_0x2c133d[_0x2c133d[_0x59b5b4(0x318)]=0x2713]=_0x59b5b4(0x318),_0x2c133d[_0x2c133d[_0x59b5b4(0x2cc)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2c133d[_0x2c133d[_0x59b5b4(0x23f)]=0x271a]=_0x59b5b4(0x23f),_0x2c133d[_0x2c133d[_0x59b5b4(0xeb)]=0x271b]=_0x59b5b4(0xeb),_0x2c133d[_0x2c133d[_0x59b5b4(0x37b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2c133d[_0x2c133d[_0x59b5b4(0x2c7)]=0x271d]=_0x59b5b4(0x2c7),_0x2c133d[_0x2c133d[_0x59b5b4(0x10b)]=0x271e]=_0x59b5b4(0x10b),_0x2c133d[_0x2c133d[_0x59b5b4(0x112)]=0x271f]=_0x59b5b4(0x112),_0x2c133d[_0x2c133d[_0x59b5b4(0x140)]=0x2720]=_0x59b5b4(0x140),_0x2c133d[_0x2c133d[_0x59b5b4(0xf5)]=0x2af9]=_0x59b5b4(0xf5),_0x2c133d[_0x2c133d[_0x59b5b4(0x129)]=0x2ee1]=_0x59b5b4(0x129),_0x2c133d[_0x2c133d['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x2c133d[_0x2c133d[_0x59b5b4(0x27d)]=0x2ee3]=_0x59b5b4(0x27d),_0x2c133d[_0x2c133d[_0x59b5b4(0x351)]=0x2ee4]=_0x59b5b4(0x351),_0x2c133d[_0x2c133d[_0x59b5b4(0x320)]=0x2ee5]=_0x59b5b4(0x320),_0x2c133d[_0x2c133d[_0x59b5b4(0x3ec)]=0x32c9]=_0x59b5b4(0x3ec),_0x2c133d[_0x2c133d[_0x59b5b4(0x143)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2c133d[_0x2c133d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x59b5b4(0x3a3),_0x2c133d[_0x2c133d[_0x59b5b4(0x400)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2c133d[_0x2c133d[_0x59b5b4(0x1b6)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x2c133d[_0x2c133d['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x59b5b4(0x354),_0x2c133d[_0x2c133d[_0x59b5b4(0x30b)]=0x36b4]=_0x59b5b4(0x30b),_0x2c133d[_0x2c133d[_0x59b5b4(0x174)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2c133d[_0x2c133d[_0x59b5b4(0x237)]=0x36b6]=_0x59b5b4(0x237),_0x2c133d[_0x2c133d[_0x59b5b4(0x27c)]=0x36b7]=_0x59b5b4(0x27c),_0x2c133d[_0x2c133d[_0x59b5b4(0x36a)]=0x36b8]=_0x59b5b4(0x36a),_0x2c133d[_0x2c133d[_0x59b5b4(0xe8)]=0x3715]=_0x59b5b4(0xe8),_0x2c133d[_0x2c133d[_0x59b5b4(0x1e0)]=0x3716]=_0x59b5b4(0x1e0),_0x2c133d[_0x2c133d['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x59b5b4(0x13f),_0x2c133d[_0x2c133d[_0x59b5b4(0x21b)]=0x37dd]=_0x59b5b4(0x21b),_0x2c133d[_0x2c133d['REDEMPTION_INVALID_CODE']=0x3a99]=_0x59b5b4(0x3fa),_0x2c133d[_0x2c133d[_0x59b5b4(0x149)]=0x3a9a]=_0x59b5b4(0x149),_0x2c133d[_0x2c133d[_0x59b5b4(0x1a7)]=0x3a9b]=_0x59b5b4(0x1a7),_0x2c133d[_0x2c133d[_0x59b5b4(0x17b)]=0x3a9c]=_0x59b5b4(0x17b),_0x2c133d[_0x2c133d[_0x59b5b4(0x360)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2c133d[_0x2c133d[_0x59b5b4(0x14c)]=0x3a9e]=_0x59b5b4(0x14c),_0x2c133d[_0x2c133d['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2c133d[_0x2c133d[_0x59b5b4(0x3e2)]=0x3e81]=_0x59b5b4(0x3e2),_0x2c133d[_0x2c133d[_0x59b5b4(0x221)]=-0x1]='UNRECOGNIZED',_0x2c133d))(vi||{}),Q=(_0x189a78=>(_0x189a78[_0x189a78['UNIVER_UNKNOWN']=0x0]=_0x59b5b4(0x38f),_0x189a78[_0x189a78[_0x59b5b4(0x33f)]=0x1]=_0x59b5b4(0x33f),_0x189a78[_0x189a78[_0x59b5b4(0x21e)]=0x2]=_0x59b5b4(0x21e),_0x189a78[_0x189a78[_0x59b5b4(0x11d)]=0x3]=_0x59b5b4(0x11d),_0x189a78[_0x189a78[_0x59b5b4(0x24f)]=0x4]=_0x59b5b4(0x24f),_0x189a78[_0x189a78[_0x59b5b4(0x221)]=-0x1]=_0x59b5b4(0x221),_0x189a78))(Q||{}),j=(_0x5b75ee=>(_0x5b75ee[_0x5b75ee[_0x59b5b4(0x29c)]=0x0]='UNKNOWN_CMD',_0x5b75ee[_0x5b75ee[_0x59b5b4(0x361)]=0x1]='HELLO',_0x5b75ee[_0x5b75ee['JOIN']=0x2]=_0x59b5b4(0x245),_0x5b75ee[_0x5b75ee[_0x59b5b4(0x34a)]=0x3]=_0x59b5b4(0x34a),_0x5b75ee[_0x5b75ee[_0x59b5b4(0xf2)]=0x4]=_0x59b5b4(0xf2),_0x5b75ee[_0x5b75ee[_0x59b5b4(0x211)]=0x5]=_0x59b5b4(0x211),_0x5b75ee[_0x5b75ee[_0x59b5b4(0x2f0)]=0x6]='RECV',_0x5b75ee[_0x5b75ee[_0x59b5b4(0x221)]=-0x1]=_0x59b5b4(0x221),_0x5b75ee))(j||{}),Ee=(_0x2d7737=>(_0x2d7737[_0x2d7737[_0x59b5b4(0x104)]=0x0]=_0x59b5b4(0x104),_0x2d7737[_0x2d7737['OK']=0x1]='OK',_0x2d7737[_0x2d7737[_0x59b5b4(0x1c2)]=0x2]='FAIL',_0x2d7737[_0x2d7737[_0x59b5b4(0x407)]=0x3e9]=_0x59b5b4(0x407),_0x2d7737[_0x2d7737[_0x59b5b4(0x20c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x2d7737[_0x2d7737[_0x59b5b4(0x29f)]=0x3eb]=_0x59b5b4(0x29f),_0x2d7737[_0x2d7737[_0x59b5b4(0x265)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2d7737[_0x2d7737['UNRECOGNIZED']=-0x1]=_0x59b5b4(0x221),_0x2d7737))(Ee||{}),Ei=(_0x3f33b5=>(_0x3f33b5[_0x3f33b5[_0x59b5b4(0x3c2)]=0x0]=_0x59b5b4(0x3c2),_0x3f33b5[_0x3f33b5['HttpImport']=0x1]='HttpImport',_0x3f33b5[_0x3f33b5[_0x59b5b4(0x10c)]=0x2]=_0x59b5b4(0x10c),_0x3f33b5[_0x3f33b5[_0x59b5b4(0x378)]=0x3]=_0x59b5b4(0x378),_0x3f33b5[_0x3f33b5[_0x59b5b4(0x1b2)]=0x4]=_0x59b5b4(0x1b2),_0x3f33b5[_0x3f33b5[_0x59b5b4(0x2fa)]=0x5]=_0x59b5b4(0x2fa),_0x3f33b5[_0x3f33b5['ClipsheetFragments']=0x6]=_0x59b5b4(0x26f),_0x3f33b5[_0x3f33b5[_0x59b5b4(0x221)]=-0x1]=_0x59b5b4(0x221),_0x3f33b5))(Ei||{});const Cs=_0x59b5b4(0x3b9);function bs(_0x242ca9){var _0x4e8d3a=_0x59b5b4;return JSON['stringify'](_0x242ca9)[_0x4e8d3a(0x1c0)];}var re=(_0x33c445=>(_0x33c445[_0x59b5b4(0xf4)]=_0x59b5b4(0xf4),_0x33c445[_0x59b5b4(0x191)]='PERMISSION_DENIED',_0x33c445[_0x59b5b4(0x2b5)]=_0x59b5b4(0x2b5),_0x33c445[_0x59b5b4(0x2c0)]=_0x59b5b4(0x2c0),_0x33c445[_0x59b5b4(0x2da)]=_0x59b5b4(0x2da),_0x33c445[_0x59b5b4(0xe4)]='SOCKET_FAILED_RETRY',_0x33c445[_0x59b5b4(0x340)]=_0x59b5b4(0x340),_0x33c445[_0x59b5b4(0x281)]=_0x59b5b4(0x281),_0x33c445))(re||{});class ve{constructor(){var _0x189669=_0x59b5b4;D(this,_0x189669(0x382),new _0x392b17()),D(this,_0x189669(0xf7),this[_0x189669(0x382)]['asObservable']());}['emitEvent'](_0x15ce50){var _0x4bf748=_0x59b5b4;this['_event$'][_0x4bf748(0x283)](_0x15ce50);}}class pi{constructor(){var _0x4c687d=_0x59b5b4;D(this,'_commentUpdate$',new _0x392b17()),D(this,_0x4c687d(0x20f),this[_0x4c687d(0x1b1)][_0x4c687d(0x15a)]());}['onCommentUpdate'](_0x5ee08e){var _0x1b0594=_0x59b5b4;this[_0x1b0594(0x1b1)][_0x1b0594(0x283)](_0x5ee08e);}}var Ds=Object[_0x59b5b4(0x298)],ys=(_0xd69151,_0x3c5dd5,_0x3ffd2f,_0x28bb39)=>{var _0x5a3560=_0x59b5b4;for(var _0x48c918=_0x28bb39>0x1?void 0x0:_0x28bb39?Ds(_0x3c5dd5,_0x3ffd2f):_0x3c5dd5,_0x3bad8d=_0xd69151[_0x5a3560(0x1c0)]-0x1,_0x3733c3;_0x3bad8d>=0x0;_0x3bad8d--)(_0x3733c3=_0xd69151[_0x3bad8d])&&(_0x48c918=_0x3733c3(_0x48c918)||_0x48c918);return _0x48c918;},Ft=(_0x28cec8,_0x13b0fb)=>(_0x53d9a9,_0xc88da5)=>_0x13b0fb(_0x53d9a9,_0xc88da5,_0x28cec8);let Pe=class extends _0xc67a27{constructor(_0x56daf2,_0x88aa6e){var _0x5cf00c=_0x59b5b4;super(),D(this,_0x5cf00c(0x242),new Map()),D(this,_0x5cf00c(0x3ef),new _0x392b17()),(this[_0x5cf00c(0xfa)]=_0x56daf2,this['_userManagerService']=_0x88aa6e,this[_0x5cf00c(0x2d9)](_0x58a98c(this[_0x5cf00c(0xfa)][_0x5cf00c(0x3de)](_0x5160b0[_0x5cf00c(0x21e)])[_0x5cf00c(0x3fe)](_0x3f2333(_0x2e0518=>_0x2e0518[_0x5cf00c(0x115)]())),this[_0x5cf00c(0xfa)][_0x5cf00c(0x3de)](_0x5160b0['UNIVER_DOC'])['pipe'](_0x3f2333(_0x20e0f5=>_0x20e0f5[_0x5cf00c(0x115)]())),this[_0x5cf00c(0xfa)][_0x5cf00c(0x3de)](_0x5160b0[_0x5cf00c(0x11d)])[_0x5cf00c(0x3fe)](_0x3f2333(_0x50c5bf=>_0x50c5bf[_0x5cf00c(0x115)]())))[_0x5cf00c(0x326)](_0x405326=>this[_0x5cf00c(0x33b)](_0x405326))));}[_0x59b5b4(0x3d3)](_0x37b11f){var _0x15c54e=_0x59b5b4;return this[_0x15c54e(0x242)][_0x15c54e(0x227)](_0x37b11f)?_0x27446f(this[_0x15c54e(0x242)][_0x15c54e(0x21f)](_0x37b11f)):this[_0x15c54e(0x3ef)][_0x15c54e(0x3fe)](_0x3f2333(_0x48b29f=>{var _0x2ec047=_0x15c54e;if(_0x48b29f===_0x37b11f)return this[_0x2ec047(0x242)][_0x2ec047(0x21f)](_0x48b29f);}));}[_0x59b5b4(0x18a)](_0x8495d4){var _0x46273f=_0x59b5b4;this[_0x46273f(0x3a1)][_0x46273f(0x18a)](_0x8495d4);}[_0x59b5b4(0x137)](){var _0x25c6d4=_0x59b5b4;return this[_0x25c6d4(0x3a1)][_0x25c6d4(0x137)]();}[_0x59b5b4(0x2f3)](_0x4c8629,_0x40c5c4){var _0x4bc6f0=_0x59b5b4;let _0x54103d=this[_0x4bc6f0(0x242)][_0x4bc6f0(0x21f)](_0x4c8629);_0x54103d||(_0x54103d=new Us(),this[_0x4bc6f0(0x242)]['set'](_0x4c8629,_0x54103d),this[_0x4bc6f0(0x3ef)][_0x4bc6f0(0x283)](_0x4c8629)),_0x54103d['updateMember'](_0x40c5c4);}[_0x59b5b4(0x20e)](_0x54f0b3,_0x540135){var _0x520892=_0x59b5b4;const _0x531fa3=this[_0x520892(0x242)][_0x520892(0x21f)](_0x54f0b3);_0x531fa3&&_0x531fa3[_0x520892(0x20e)](_0x540135);}['getRoom'](_0x19277d){var _0x31e0bf=_0x59b5b4;return this['_roomMembers'][_0x31e0bf(0x21f)](_0x19277d);}[_0x59b5b4(0x3c7)](_0x3cb471,_0x433bd1){var _0x46b38=_0x59b5b4;const _0x5e1b79=this[_0x46b38(0x242)]['get'](_0x3cb471);if(_0x5e1b79)return _0x5e1b79['getMember'](_0x433bd1);}[_0x59b5b4(0x33b)](_0x4095cb){var _0x1784d1=_0x59b5b4;const _0x3e343a=this[_0x1784d1(0x242)][_0x1784d1(0x21f)](_0x4095cb);_0x3e343a&&(_0x3e343a['dispose'](),this[_0x1784d1(0x242)][_0x1784d1(0x192)](_0x4095cb));}[_0x59b5b4(0x2b2)](){var _0x23fa55=_0x59b5b4;this['_roomMembers'][_0x23fa55(0x22f)](_0x1d0d48=>_0x1d0d48[_0x23fa55(0x2b2)]()),this[_0x23fa55(0x242)][_0x23fa55(0x2fc)](),this['_roomCreated$'][_0x23fa55(0x3eb)]();}};Pe=ys([Ft(0x0,_0x33b121),Ft(0x1,_0x1a58da(_0x25107c))],Pe);class Us extends _0xc67a27{constructor(){var _0x3e6a26=_0x59b5b4;super(...arguments),D(this,'_members',new Map()),D(this,_0x3e6a26(0x3e9),new _0xfba9c5(this[_0x3e6a26(0x108)])),D(this,'members$',this[_0x3e6a26(0x3e9)][_0x3e6a26(0x15a)]());}[_0x59b5b4(0x2b2)](){var _0x507cf4=_0x59b5b4;this['_members'][_0x507cf4(0x2fc)]();}['updateMember'](_0x2e1a48){var _0x42f25e=_0x59b5b4;this[_0x42f25e(0x108)]['set'](_0x2e1a48[_0x42f25e(0x1c4)],_0x2e1a48),this[_0x42f25e(0x300)]();}[_0x59b5b4(0x20e)](_0x1b7847){var _0x1d0c0b=_0x59b5b4;this[_0x1d0c0b(0x108)][_0x1d0c0b(0x192)](_0x1b7847);}[_0x59b5b4(0x3c7)](_0x5a3d79){var _0x268633=_0x59b5b4;return this[_0x268633(0x108)][_0x268633(0x21f)](_0x5a3d79);}[_0x59b5b4(0x233)](){var _0x3f89cf=_0x59b5b4;return Array[_0x3f89cf(0x267)](this[_0x3f89cf(0x108)][_0x3f89cf(0x2eb)]());}[_0x59b5b4(0x300)](){var _0x4df0cf=_0x59b5b4;this[_0x4df0cf(0x3e9)]['next'](this[_0x4df0cf(0x108)]);}}var As=Object[_0x59b5b4(0x298)],Ps=(_0x5353ac,_0x559b0d,_0x1c29bb,_0x1cd57c)=>{var _0x3f30e7=_0x59b5b4;for(var _0x3125ab=_0x1cd57c>0x1?void 0x0:_0x1cd57c?As(_0x559b0d,_0x1c29bb):_0x559b0d,_0xa3f2e2=_0x5353ac[_0x3f30e7(0x1c0)]-0x1,_0x27ebf9;_0xa3f2e2>=0x0;_0xa3f2e2--)(_0x27ebf9=_0x5353ac[_0xa3f2e2])&&(_0x3125ab=_0x27ebf9(_0x3125ab)||_0x3125ab);return _0x3125ab;},Oe=(_0x1a5174,_0x235c29)=>(_0x3f5030,_0x37ce85)=>_0x235c29(_0x3f5030,_0x37ce85,_0x1a5174),me=(_0x369cc4=>(_0x369cc4[_0x369cc4[_0x59b5b4(0x2ef)]=0x0]='IDLE',_0x369cc4[_0x369cc4[_0x59b5b4(0x25e)]=0x1]=_0x59b5b4(0x25e),_0x369cc4[_0x369cc4[_0x59b5b4(0x1d3)]=0x2]=_0x59b5b4(0x1d3),_0x369cc4[_0x369cc4['ONLINE']=0x3]=_0x59b5b4(0x110),_0x369cc4))(me||{});const jt={[Ee[_0x59b5b4(0x1c2)]]:_0x59b5b4(0x142),[Ee['JOIN_ROOM_FULL']]:_0x59b5b4(0x1da),[Ee[_0x59b5b4(0x20c)]]:_0x59b5b4(0x305),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x59b5b4(0x32e),[Ee[_0x59b5b4(0x265)]]:_0x59b5b4(0x1a0)};let mt=class extends _0x5385ac{constructor(_0x2cc75d,_0x4661dd,_0x47e196,_0x133c01,_0x2d9d26,_0x1a62c1,_0x543f60,_0x115574){var _0x3308d0=_0x59b5b4;super(),D(this,'_sessionStatus$',new _0xfba9c5(0x0)),D(this,'sessionStatus$',this[_0x3308d0(0x231)]['asObservable']()),D(this,'_event$',new _0x392b17()),D(this,_0x3308d0(0xf7),this[_0x3308d0(0x382)][_0x3308d0(0x15a)]()),D(this,_0x3308d0(0x15c)),D(this,_0x3308d0(0x1b8)),D(this,_0x3308d0(0x29a)),D(this,_0x3308d0(0x3e7),!0x1),D(this,_0x3308d0(0x185),null),(this[_0x3308d0(0x287)]=_0x2cc75d,this[_0x3308d0(0x12a)]=_0x47e196,this[_0x3308d0(0x3b5)]=_0x133c01,this['_memberService']=_0x2d9d26,this['_commentService']=_0x1a62c1,this[_0x3308d0(0x3d7)]=_0x543f60,this[_0x3308d0(0x241)]=_0x115574,this[_0x3308d0(0x3e7)]=!!this[_0x3308d0(0x241)],_0x4661dd[_0x3308d0(0x3fe)](_0x4620b1(this[_0x3308d0(0x312)]))[_0x3308d0(0x326)](_0xfa994d=>{var _0x14956b=_0x3308d0,_0x15346f;typeof _0xfa994d>'u'||(this[_0x14956b(0x15c)]=_0xfa994d,_0xfa994d?(this[_0x14956b(0x3c0)](_0xfa994d),this[_0x14956b(0x1b8)]=_0xfa994d[_0x14956b(0x19d)]['subscribe'](_0x3a6006=>{var _0x58e311=_0x14956b;_0x3a6006['routeKey']===this[_0x58e311(0x287)]&&this[_0x58e311(0x234)](_0x3a6006);})):(this[_0x14956b(0x2db)](),this[_0x14956b(0x231)][_0x14956b(0x283)](0x2),(_0x15346f=this[_0x14956b(0x1b8)])==null||_0x15346f['unsubscribe'](),this[_0x14956b(0x1b8)]=null));}));}get[_0x59b5b4(0x337)](){var _0x2fdc8d=_0x59b5b4;return this[_0x2fdc8d(0x231)]['getValue']();}[_0x59b5b4(0x276)](){var _0x202b57,_0x2996c3;return(_0x2996c3=(_0x202b57=this['_socket'])==null?void 0x0:_0x202b57['memberID'])!=null?_0x2996c3:null;}[_0x59b5b4(0x2b2)](){var _0x1ca33c=_0x59b5b4;super[_0x1ca33c(0x2b2)](),this['dispose$']['next'](),this['dispose$'][_0x1ca33c(0x3eb)]();}[_0x59b5b4(0x145)](){var _0x9b2d60=_0x59b5b4,_0x51c120,_0x359b2;this[_0x9b2d60(0x2db)](),(_0x51c120=this[_0x9b2d60(0x15c)])==null||_0x51c120[_0x9b2d60(0x1d9)]({'cmd':j[_0x9b2d60(0x34a)],'data':{'roomID':this[_0x9b2d60(0x287)]}}),(_0x359b2=this[_0x9b2d60(0x15c)])==null||_0x359b2[_0x9b2d60(0x145)](),this[_0x9b2d60(0x382)][_0x9b2d60(0x3eb)](),this[_0x9b2d60(0x231)]['complete'](),this[_0x9b2d60(0x2b2)]();}[_0x59b5b4(0x234)](_0x354ce6){var _0x5dc5fd=_0x59b5b4;_0x354ce6[_0x5dc5fd(0x3f5)]===j[_0x5dc5fd(0x245)]?this[_0x5dc5fd(0x29b)](_0x354ce6):_0x354ce6['cmd']===j[_0x5dc5fd(0x2f0)]&&this[_0x5dc5fd(0x32f)](_0x354ce6);}[_0x59b5b4(0x3c0)](_0x43171a){var _0x4e1c47=_0x59b5b4;this['_sessionStatus$'][_0x4e1c47(0x283)](0x1),_0x43171a[_0x4e1c47(0x1d9)]({'cmd':j[_0x4e1c47(0x245)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4e1c47(0x287)]}]}});}[_0x59b5b4(0x29b)](_0x5cc307){var _0x310481=_0x59b5b4,_0x181310;if(_0x5cc307[_0x310481(0x2dd)]in jt){this['_collaborationUIEventService'][_0x310481(0xf1)]({'id':re[_0x310481(0x2da)],'data':jt[_0x5cc307[_0x310481(0x2dd)]]}),this[_0x310481(0x231)][_0x310481(0x283)](0x2);return;}this[_0x310481(0x231)][_0x310481(0x283)](0x3);const _0x1a513c=(_0x181310=_0x5cc307[_0x310481(0x14b)][_0x310481(0x323)][this[_0x310481(0x287)]])==null?void 0x0:_0x181310[_0x310481(0x37d)];_0x1a513c&&_0x1a513c['forEach'](_0x4957fb=>this[_0x310481(0x240)][_0x310481(0x2f3)](this[_0x310481(0x287)],_0x4957fb));}[_0x59b5b4(0x32f)](_0x5621b5){var _0x22762c=_0x59b5b4;try{const _0xd77850=_0x5621b5['data'];switch(_0xd77850[_0x22762c(0x1a4)]){case _0x8199d6[_0x22762c(0x2e0)]:this[_0x22762c(0x113)](_0xd77850),this['_event$'][_0x22762c(0x283)](_0xd77850);break;case _0x8199d6[_0x22762c(0x2d7)]:this[_0x22762c(0x175)](_0xd77850),this[_0x22762c(0x382)][_0x22762c(0x283)](_0xd77850);break;case _0x8199d6[_0x22762c(0x3ee)]:case _0x8199d6[_0x22762c(0x3d8)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x22762c(0x2ae)](),this[_0x22762c(0x382)][_0x22762c(0x283)](_0xd77850);break;case _0x8199d6['MSG_FOR_ERROR']:this[_0x22762c(0x12a)][_0x22762c(0x31e)](_0x22762c(0x3dd)+JSON['stringify'](_0xd77850)),this[_0x22762c(0x382)][_0x22762c(0x283)](_0xd77850);break;case _0x8199d6[_0x22762c(0x16d)]:this[_0x22762c(0x1b3)][_0x22762c(0x35f)](_0xd77850['data']),this[_0x22762c(0x382)][_0x22762c(0x283)](_0xd77850);break;default:this['_event$'][_0x22762c(0x283)](_0xd77850);}}catch(_0x435e7e){this['_logService'][_0x22762c(0x31e)](_0x435e7e,_0x5621b5);}}[_0x59b5b4(0x113)](_0x2da29f){var _0x526899=_0x59b5b4;this[_0x526899(0x240)][_0x526899(0x2f3)](this['_unitID'],_0x2da29f[_0x526899(0x14b)]);}[_0x59b5b4(0x175)](_0x23a9ba){var _0x155185=_0x59b5b4;this[_0x155185(0x240)][_0x155185(0x20e)](this[_0x155185(0x287)],_0x23a9ba[_0x155185(0x14b)]['memberID']);}async[_0x59b5b4(0x1d9)](_0x20a02e,_0x415c9f){var _0x47cf85=_0x59b5b4;if(this[_0x47cf85(0x337)]!==0x3||!this[_0x47cf85(0x15c)])throw new Error(_0x47cf85(0x3f6));try{_0x20a02e[_0x47cf85(0x1a4)]===_0x8199d6[_0x47cf85(0x376)]&&(this[_0x47cf85(0x36b)](),this[_0x47cf85(0x393)](_0x20a02e)),this[_0x47cf85(0x15c)][_0x47cf85(0x1d9)]({'cmd':j[_0x47cf85(0xf2)],'routeKey':_0x415c9f,'routeType':'','data':_0x20a02e});}catch(_0x3dfa64){this[_0x47cf85(0x12a)][_0x47cf85(0x31e)](_0x3dfa64);}}[_0x59b5b4(0x36b)](){var _0x13d17c=_0x59b5b4,_0x3b0a16;this[_0x13d17c(0x29a)]=setTimeout(()=>{var _0x167fc3=_0x13d17c;this[_0x167fc3(0x29a)]=null,this[_0x167fc3(0x3d7)][_0x167fc3(0xf1)]({'id':re[_0x167fc3(0x281)]});},(_0x3b0a16=this[_0x13d17c(0x3b5)]['getConfig'](di))!=null?_0x3b0a16:fi);}[_0x59b5b4(0x2ae)](){var _0x38ffe3=_0x59b5b4;this[_0x38ffe3(0x29a)]&&(clearTimeout(this[_0x38ffe3(0x29a)]),this['_collaborationTimeoutTimer']=null);}[_0x59b5b4(0x393)](_0xe41c4){var _0x3af10a=_0x59b5b4;if(!this[_0x3af10a(0x3e7)])return;const {data:_0x2b2bc4}=_0xe41c4,{unitID:_0x150cbe,changeset:_0x47e2e6}=_0x2b2bc4,{mutations:_0x4adbda,type:_0x44d081}=_0x47e2e6;this[_0x3af10a(0x185)]={'unitId':_0x150cbe,'type':_0x44d081,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':bs(_0x4adbda)};}[_0x59b5b4(0xef)](){var _0x200e5b=_0x59b5b4;if(this[_0x200e5b(0x3e7)]){if(!this[_0x200e5b(0x185)]){this[_0x200e5b(0x12a)][_0x200e5b(0x31e)](_0x200e5b(0xfe),_0x200e5b(0xf8));return;}this[_0x200e5b(0x185)]['stopTime']=performance[_0x200e5b(0x2f5)](),this[_0x200e5b(0x185)][_0x200e5b(0x193)]=this['_telemetryInfo'][_0x200e5b(0x370)]-this[_0x200e5b(0x185)][_0x200e5b(0x367)],this[_0x200e5b(0x241)][_0x200e5b(0x3c1)](Cs,this[_0x200e5b(0x185)]),this['_telemetryInfo']=null;}}[_0x59b5b4(0x2db)](){var _0x296313=_0x59b5b4;this[_0x296313(0x185)]=null;}};mt=Ps([Oe(0x2,_0x41f1d3),Oe(0x3,_0x4cf79c),Oe(0x4,_0x1a58da(Pe)),Oe(0x5,_0x1a58da(pi)),Oe(0x6,_0x1a58da(ve)),Oe(0x7,_0x24a4ee(_0x37d1b0))],mt);const X=_0x4580bc(_0x59b5b4(0x1d1));function br(_0x1a19e1){var _0xc6423=_0x59b5b4;return _0xc6423(0x244)+_0x1a19e1;}var Ls=Object[_0x59b5b4(0x298)],Ms=(_0x2a802e,_0x3581a0,_0x12c34c,_0x317047)=>{for(var _0x7f1e77=_0x317047>0x1?void 0x0:_0x317047?Ls(_0x3581a0,_0x12c34c):_0x3581a0,_0x304450=_0x2a802e['length']-0x1,_0x21fa19;_0x304450>=0x0;_0x304450--)(_0x21fa19=_0x2a802e[_0x304450])&&(_0x7f1e77=_0x21fa19(_0x7f1e77)||_0x7f1e77);return _0x7f1e77;},ut=(_0xdda24f,_0x11e754)=>(_0x338359,_0x15bd7b)=>_0x11e754(_0x338359,_0x15bd7b,_0xdda24f);function ws(_0x31ed9b){var _0x17addb=_0x59b5b4;const {unitID:_0x333855,mutations:_0x47b7c0}=_0x31ed9b;return{'unitId':_0x333855,'subUnitId':_0x47b7c0[_0x17addb(0x1c0)]>0x0?_0x47b7c0[0x0][_0x17addb(0x346)][_0x17addb(0x1f8)]:null};}let it=class{constructor(_0x365bca,_0x59efcf,_0x5cfdcc){var _0x592a10=_0x59b5b4;this[_0x592a10(0x160)]=_0x365bca,this[_0x592a10(0x39f)]=_0x59efcf,this[_0x592a10(0x2e2)]=_0x5cfdcc;}[_0x59b5b4(0x2b7)](_0x1f1483){var _0x382e2a=_0x59b5b4,_0xcd7444,_0x426835,_0x5bba72,_0x917be0;const _0x89ed55=this[_0x382e2a(0x160)]['get'](_0xf9d02),{unitId:_0x1d37f5,subUnitId:_0x36bcd0}=ws(_0x1f1483),_0x4c9815=_0x89ed55==null?void 0x0:_0x89ed55[_0x382e2a(0x218)](_0x1d37f5)[_0x382e2a(0x1c8)](),_0x1878df=(_0x426835=(_0xcd7444=this[_0x382e2a(0x2e2)][_0x382e2a(0x328)](_0x1d37f5))==null?void 0x0:_0xcd7444['getActiveSheet']())==null?void 0x0:_0x426835[_0x382e2a(0x397)]();if(_0x4c9815[_0x382e2a(0x1c0)]===0x0||!_0x1d37f5||!_0x36bcd0)return;const _0x207fed=[{'id':_0x294701['id'],'params':{'unitId':_0x1d37f5,'subUnitId':_0x1878df,'selections':_0x2582c5[_0x382e2a(0x121)](_0x4c9815)}}],_0x2df2f0=this[_0x382e2a(0x39f)][_0x382e2a(0x38e)](_0x1f1483,_0x207fed);if(!_0x108311(_0x2df2f0))throw _0x2df2f0[_0x382e2a(0x31e)];const _0xdae656=(_0x917be0=(_0x5bba72=_0x2df2f0[_0x382e2a(0x274)][0x0])==null?void 0x0:_0x5bba72[_0x382e2a(0x346)])==null?void 0x0:_0x917be0[_0x382e2a(0x29e)];if(Array[_0x382e2a(0x226)](_0xdae656)&&_0xdae656['length']){if(_0xdae656['length']===_0x207fed[0x0][_0x382e2a(0x346)]['selections'][_0x382e2a(0x1c0)]&&_0xdae656[_0x382e2a(0x181)]((_0x138db3,_0x408319)=>_0x48a3cf['equals'](_0x138db3[_0x382e2a(0x31a)],_0x207fed[0x0][_0x382e2a(0x346)][_0x382e2a(0x29e)][_0x408319]['range'])))return;this['_injector'][_0x382e2a(0x21f)](_0x48e048)[_0x382e2a(0x3a5)](_0x294701['id'],{'unitId':_0x1d37f5,'subUnitId':_0x1878df,'selections':_0xdae656});}}};it=Ms([ut(0x0,_0x1a58da(_0x304bd2)),ut(0x1,_0x39ca4e),ut(0x2,_0x33b121)],it);const _t=_0x4580bc(_0x59b5b4(0x172));var mi=(_0x97b893=>(_0x97b893[_0x97b893[_0x59b5b4(0x111)]=0x0]=_0x59b5b4(0x111),_0x97b893[_0x97b893[_0x59b5b4(0x374)]=0x1]='OTHER_CLIENTS_EDITING',_0x97b893))(mi||{});const K=_0x59b5b4(0x24d),xs={};function ks(_0x52c6dd){var _0x336a50=_0x59b5b4,_0xf608f5;return!!((_0xf608f5=_0x52c6dd[_0x336a50(0x346)])!=null&&_0xf608f5[_0x336a50(0x26b)]);}const $s=new Set([_0x4a567d['id']]);function Vt(_0x348e22,_0x4631ed,_0x564bd6,_0x4bda45,_0x7bc15){var _0x10f196=_0x59b5b4,_0x113364,_0x52641a,_0x5d69a7,_0x276640;const _0x3bdc4e=[];for(const _0x9ee691 of _0x348e22){if($s[_0x10f196(0x227)](_0x9ee691['id'])){if(_0x3bdc4e[_0x10f196(0x1c0)]>0x0)break;_0x3bdc4e[_0x10f196(0x2c8)](_0x9ee691);break;}if(ks(_0x9ee691)){if(_0x3bdc4e[_0x10f196(0x1c0)]>0x0)break;_0x3bdc4e[_0x10f196(0x2c8)](_0x9ee691);break;}_0x3bdc4e[_0x10f196(0x2c8)](_0x9ee691);}const _0x18a193=(_0x52641a=(_0x113364=_0x7bc15[_0x10f196(0x137)]())==null?void 0x0:_0x113364[_0x10f196(0x182)])!=null?_0x52641a:_0x10f196(0x243),_0x87ba9f=(_0x276640=(_0x5d69a7=_0x7bc15[_0x10f196(0x137)]())==null?void 0x0:_0x5d69a7[_0x10f196(0x1c4)])!=null?_0x276640:'unknown';return{'changeset':{'unitID':_0x4631ed,'type':_0x135600(_0x564bd6['getUnitType'](_0x4631ed)),'baseRev':_0x4bda45[_0x10f196(0x26c)](_0x4631ed),'revision':0x0,'userID':_0x18a193,'memberID':_0x87ba9f,'mutations':_0x3bdc4e},'pendingMutations':_0x348e22['slice'](_0x3bdc4e[_0x10f196(0x1c0)])};}function Hs(_0x528a66,_0x322fb1,_0x15bec0,_0x2ba439,_0x95026){var _0x26a4b7=_0x59b5b4,_0x2b8ca3,_0xb0c5da,_0x3215bc,_0x8b9e33;const _0x207a40=[_0x528a66[_0x26a4b7(0x194)]((_0x227de4,_0x1be26b)=>{var _0x35335d=_0x26a4b7,_0x3f66ca;const {id:_0xc6d1d5}=_0x227de4,{id:_0x21733d,type:_0x56839c}=_0x1be26b,_0x438cb2=(_0x3f66ca=_0x227de4[_0x35335d(0x346)])!=null?_0x3f66ca:{'actions':null},_0x5ffd63=_0x1be26b[_0x35335d(0x346)];if(_0xc6d1d5&&_0xc6d1d5!==_0x21733d)throw new Error(_0x35335d(0x332)+_0xc6d1d5+_0x35335d(0x3a0)+_0x21733d+'.');return{..._0x227de4,'id':_0x21733d,'type':_0x56839c,'params':{'unitId':_0x5ffd63['unitId'],'textRanges':_0x5ffd63[_0x35335d(0x246)],'actions':_0x28463c['compose'](_0x438cb2[_0x35335d(0x278)],_0x5ffd63['actions'])}};},{})],_0x4a10de=(_0xb0c5da=(_0x2b8ca3=_0x95026[_0x26a4b7(0x137)]())==null?void 0x0:_0x2b8ca3[_0x26a4b7(0x182)])!=null?_0xb0c5da:_0x26a4b7(0x243),_0x2a07ed=(_0x8b9e33=(_0x3215bc=_0x95026[_0x26a4b7(0x137)]())==null?void 0x0:_0x3215bc[_0x26a4b7(0x1c4)])!=null?_0x8b9e33:_0x26a4b7(0x243);return{'changeset':{'unitID':_0x322fb1,'type':_0x135600(_0x15bec0[_0x26a4b7(0x31f)](_0x322fb1)),'baseRev':_0x2ba439[_0x26a4b7(0x26c)](_0x322fb1),'revision':0x0,'userID':_0x4a10de,'memberID':_0x2a07ed,'mutations':_0x207a40},'pendingMutations':[]};}function Ii(_0x2ea6de,_0x15cb34){var _0x3f942f=_0x59b5b4;const _0x4a6569=new _0x4e32ce(0x1);return setTimeout(()=>_0x4a6569[_0x3f942f(0x283)](_0x15cb34),_0x2ea6de),_0x4a6569[_0x3f942f(0x15a)]()[_0x3f942f(0x3fe)](_0x505bf8(0x1));}var Bs=Object[_0x59b5b4(0x298)],Se=(_0x2b0757,_0x50f963,_0x2fadda,_0x470e35)=>{var _0x3f1c42=_0x59b5b4;for(var _0x411966=_0x470e35>0x1?void 0x0:_0x470e35?Bs(_0x50f963,_0x2fadda):_0x50f963,_0x17b8a7=_0x2b0757[_0x3f1c42(0x1c0)]-0x1,_0x2086d7;_0x17b8a7>=0x0;_0x17b8a7--)(_0x2086d7=_0x2b0757[_0x17b8a7])&&(_0x411966=_0x2086d7(_0x411966)||_0x411966);return _0x411966;},L=(_0x31c188,_0x272e37)=>(_0x4ed7ad,_0x48e6d4)=>_0x272e37(_0x4ed7ad,_0x48e6d4,_0x31c188),Si=(_0x42f36f=>(_0x42f36f[_0x59b5b4(0x330)]=_0x59b5b4(0x224),_0x42f36f[_0x59b5b4(0x16e)]=_0x59b5b4(0x28d),_0x42f36f[_0x59b5b4(0x36d)]=_0x59b5b4(0x303),_0x42f36f['AWAITING']=_0x59b5b4(0x362),_0x42f36f['AWAITING_WITH_PENDING']=_0x59b5b4(0x22d),_0x42f36f[_0x59b5b4(0x1d2)]=_0x59b5b4(0x365),_0x42f36f['CONFLICT']=_0x59b5b4(0x1b0),_0x42f36f[_0x59b5b4(0x1d3)]=_0x59b5b4(0x3e3),_0x42f36f))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0xd11822,_0x336c62,_0x5544fe,_0x59725a,_0x1c237b,_0x1d1170,_0x345945,_0x35d63b,_0x185556){var _0x52e679=_0x59b5b4;D(this,_0x52e679(0x13d),null),D(this,'_pendingMutations',[]),(this[_0x52e679(0x266)]=_0xd11822,this[_0x52e679(0x331)]=_0x336c62,this['_handler']=_0x1c237b,this['_commandService']=_0x1d1170,this['_undoRedoService']=_0x345945,this[_0x52e679(0x364)]=_0x35d63b,this[_0x52e679(0x22e)]=_0x185556,this[_0x52e679(0x13d)]=_0x5544fe,this[_0x52e679(0x275)]=_0x59725a);}[_0x59b5b4(0x200)](_0x32bb6f){var _0x38537c=_0x59b5b4;const _0x59e691=this[_0x38537c(0x364)][_0x38537c(0x26c)](this[_0x38537c(0x266)]);return _0x32bb6f[_0x38537c(0x190)]>_0x59e691+0x1?(this[_0x38537c(0x383)][_0x38537c(0x123)]({'from':_0x59e691,'to':_0x32bb6f[_0x38537c(0x190)]-0x1}),!0x0):!0x1;}[_0x59b5b4(0x306)](_0x599d58){var _0x482d79=_0x59b5b4;this[_0x482d79(0x304)][_0x482d79(0x210)](this[_0x482d79(0x266)],_0x599d58);}[_0x59b5b4(0x219)](_0x1aaa6c){var _0x5cfa06=_0x59b5b4,_0xdda65f,_0x12bcf1;(_0x12bcf1=(_0xdda65f=this['_handler'])['onTransformSelections'])==null||_0x12bcf1[_0x5cfa06(0x1e1)](_0xdda65f,_0x1aaa6c);}[_0x59b5b4(0x3ff)](_0x32282e){var _0x5a4dd6=_0x59b5b4,_0x152401,_0x7abb88;return(_0x7abb88=(_0x152401=this[_0x5a4dd6(0x383)])[_0x5a4dd6(0x207)])==null?void 0x0:_0x7abb88[_0x5a4dd6(0x1e1)](_0x152401,_0x32282e);}[_0x59b5b4(0x254)](_0x5705b6){var _0x40dcbc=_0x59b5b4,_0x4ebdf0,_0x4c5c8f;return(_0x4c5c8f=(_0x4ebdf0=this[_0x40dcbc(0x383)])[_0x40dcbc(0x1ab)])==null?void 0x0:_0x4c5c8f[_0x40dcbc(0x1e1)](_0x4ebdf0,_0x5705b6);}[_0x59b5b4(0x188)](_0x1ef0bf){var _0xfbc56c=_0x59b5b4,_0xd64dfb,_0x1ee6a6,_0x6ba94f;return(_0x6ba94f=(_0x1ee6a6=(_0xd64dfb=this[_0xfbc56c(0x383)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1ee6a6[_0xfbc56c(0x1e1)](_0xd64dfb,_0x1ef0bf))!=null?_0x6ba94f:_0x1ef0bf;}[_0x59b5b4(0x1d7)](_0x4f7102){var _0x1ba1dc=_0x59b5b4,_0x57b06f,_0x30efcf,_0x46808f;return(_0x46808f=(_0x30efcf=(_0x57b06f=this[_0x1ba1dc(0x383)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x30efcf[_0x1ba1dc(0x1e1)](_0x57b06f,_0x4f7102))!=null?_0x46808f:_0x4f7102;}[_0x59b5b4(0x355)](_0x3a4be5){var _0x507cdd=_0x59b5b4,_0x1607d6,_0x4e21f3;if(this['type']===Q[_0x507cdd(0x33f)]){const {unitID:_0x54ef3a,mutations:_0x14039b,memberID:_0x55f3ec}=_0x3a4be5,_0x175890=_0x14039b[_0x507cdd(0x1c0)]>0x0?_0x14039b[0x0]['params']['textRanges']:[];Array['isArray'](_0x175890)&&_0x175890[_0x507cdd(0x1c0)]>0x0&&((_0x4e21f3=(_0x1607d6=this[_0x507cdd(0x383)])[_0x507cdd(0x1bb)])==null||_0x4e21f3['call'](_0x1607d6,{'unitID':_0x54ef3a,'memberID':_0x55f3ec,'textRanges':_0x175890}));}}[_0x59b5b4(0x1f7)](){var _0x42246a=_0x59b5b4,_0x17f69e;(_0x17f69e=this[_0x42246a(0x22e)])==null||_0x17f69e[_0x42246a(0x350)](this[_0x42246a(0x266)],this[_0x42246a(0x331)],this[_0x42246a(0x13d)],this['_pendingMutations']);}[_0x59b5b4(0x35a)](){var _0x43da80=_0x59b5b4;return this[_0x43da80(0x364)][_0x43da80(0x26c)](this[_0x43da80(0x266)]);}[_0x59b5b4(0x307)](){var _0x2803e3=_0x59b5b4;this[_0x2803e3(0x364)]['incrementRevOfUnit'](this[_0x2803e3(0x266)]);}[_0x59b5b4(0x183)](_0x26bdf8){var _0x46d36a=_0x59b5b4,_0x3b1a20;let _0x791ea4=this['_transformRemoteChangesetByIMECache'](_0x26bdf8);_0x791ea4=this['_transformRemoteChangesetByStateCache'](_0x791ea4);const _0x2726dd=_0x4cf03a(_0x791ea4[_0x46d36a(0x30e)],this[_0x46d36a(0x36f)],{'fromCollab':!0x0});if(!_0x2726dd[_0x46d36a(0x1ef)])throw _0x2726dd['error']instanceof Error?_0x2726dd[_0x46d36a(0x31e)]:new Error((_0x3b1a20=_0x2726dd[_0x46d36a(0x31e)])!=null?_0x3b1a20:_0x46d36a(0x2ad));this[_0x46d36a(0x3ff)](_0x791ea4),this[_0x46d36a(0x254)](_0x791ea4),this[_0x46d36a(0x306)](_0x26bdf8),this[_0x46d36a(0x219)](_0x791ea4),this[_0x46d36a(0x355)](_0x791ea4),this[_0x46d36a(0x307)]();}}let be=class extends ge{constructor(_0x511b55,_0x4c4b35,_0x214c66,_0x52c559,_0xb52aa0,_0x31bd45,_0x1f3d6f,_0x813f0d,_0x4b92b9,_0x2a9ed4){var _0x5d85a3=_0x59b5b4;super(_0x511b55,_0x4c4b35,null,[],_0x214c66,_0x1f3d6f,_0x31bd45,_0x52c559,_0x2a9ed4),D(this,_0x5d85a3(0x389),_0x5d85a3(0x28d)),(this['_injector']=_0xb52aa0,this[_0x5d85a3(0x12a)]=_0x813f0d,this[_0x5d85a3(0x39f)]=_0x4b92b9,this['localCacheService']=_0x2a9ed4);}[_0x59b5b4(0x3ba)](_0x284e44){var _0x6a823c=_0x59b5b4;const _0x2da257=this['_injector']['createInstance'](ae,this['unitID'],this['type'],[_0x284e44],this[_0x6a823c(0x383)]);return _0x2da257['_schedule'](),_0x2da257[_0x6a823c(0x1f7)](),_0x2da257;}[_0x59b5b4(0x135)](_0x59d5d2){var _0x54c193=_0x59b5b4;if(this['_checkMissing'](_0x59d5d2))return this[_0x54c193(0x160)][_0x54c193(0x28a)](ee,this['unitID'],this[_0x54c193(0x331)],null,[],null,[_0x59d5d2],this[_0x54c193(0x383)]);try{const _0x588fc8=this['_transformService'][_0x54c193(0x38e)](_0x59d5d2,[_0x48bad8]);if(_0x108311(_0x588fc8)){const {c1Prime:_0x399bbb}=_0x588fc8;return this[_0x54c193(0x183)](_0x399bbb),this;}throw _0x588fc8[_0x54c193(0x31e)];}catch(_0x51c709){return this[_0x54c193(0x12a)]['error'](_0x51c709),this[_0x54c193(0x23b)](!0x1);}}[_0x59b5b4(0x23b)](_0x53b36a){var _0x560e16=_0x59b5b4;return this['_injector']['createInstance'](ue,this[_0x560e16(0x266)],this['type'],null,[],this[_0x560e16(0x383)],_0x53b36a);}[_0x59b5b4(0x178)](){var _0x264ae4=_0x59b5b4;throw new Error(_0x264ae4(0x2e7));}[_0x59b5b4(0x13a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x59b5b4(0x366)](){return this;}[_0x59b5b4(0x322)](){var _0x44682f=_0x59b5b4;return this[_0x44682f(0x160)]['createInstance'](de,this[_0x44682f(0x266)],this[_0x44682f(0x331)],null,[],this[_0x44682f(0x383)]);}['toggleOnline'](){return this;}[_0x59b5b4(0x30d)](){var _0x5a2e73=_0x59b5b4;throw new Error(_0x5a2e73(0xe5));}['fetchMiss'](){var _0x4768c5=_0x59b5b4;const _0x317ba2=this[_0x4768c5(0x364)][_0x4768c5(0x26c)](this[_0x4768c5(0x266)]);return this[_0x4768c5(0x383)][_0x4768c5(0x123)]({'from':_0x317ba2,'to':0x0}),this[_0x4768c5(0x160)][_0x4768c5(0x28a)](ee,this[_0x4768c5(0x266)],this['type'],null,[],null,[],this[_0x4768c5(0x383)]);}};be=Se([L(0x3,_0x1a58da(_0x2aa1c4)),L(0x4,_0x1a58da(_0x304bd2)),L(0x5,_0x4c7a7f),L(0x6,_0x48e048),L(0x7,_0x41f1d3),L(0x8,_0x39ca4e),L(0x9,_0x24a4ee(X))],be);let ae=class extends ge{constructor(_0x4374ed,_0x5f224b,_0x36c1ef,_0x33e8aa,_0x589e7c,_0x5c0103,_0x1b76da,_0x209e11,_0x4e02b5,_0x2c5a32,_0x472594,_0x303b5d,_0x467f4b,_0x422120){var _0x370166=_0x59b5b4;super(_0x4374ed,_0x5f224b,null,_0x36c1ef,_0x33e8aa,_0x4e02b5,_0x467f4b,_0x5c0103,_0x422120),D(this,_0x370166(0x389),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this[_0x370166(0x160)]=_0x589e7c,this[_0x370166(0x240)]=_0x1b76da,this['_logService']=_0x209e11,this[_0x370166(0x3b5)]=_0x2c5a32,this[_0x370166(0x39f)]=_0x472594,this[_0x370166(0xfa)]=_0x303b5d);}[_0x59b5b4(0x3ba)](_0x1eab50){var _0x29da98=_0x59b5b4;return this['_pendingMutations'][_0x29da98(0x2c8)](_0x1eab50),this[_0x29da98(0x1f7)](),this;}[_0x59b5b4(0x135)](_0x734dc9){var _0x3c339b=_0x59b5b4;if(this[_0x3c339b(0x200)](_0x734dc9))return this[_0x3c339b(0x2ca)](),this['_injector'][_0x3c339b(0x28a)](ee,this[_0x3c339b(0x266)],this['type'],null,this['_pendingMutations'],null,[_0x734dc9],this[_0x3c339b(0x383)]);try{const _0xa88f62=this[_0x3c339b(0x39f)]['transformMutationsWithChangeset'](_0x734dc9,this[_0x3c339b(0x275)]);if(_0x108311(_0xa88f62)){const {c1Prime:_0x1ba723,m2Prime:_0x453e0c}=_0xa88f62;this[_0x3c339b(0x183)](_0x1ba723);const _0x83a699=this[_0x3c339b(0x160)][_0x3c339b(0x28a)](ae,this[_0x3c339b(0x266)],this[_0x3c339b(0x331)],_0x453e0c,this[_0x3c339b(0x383)]);this['_clearScheduledTask']();const _0x263d55=new Date()['getTime'](),_0x234daa=this[_0x3c339b(0x1ae)]?Math['max'](this[_0x3c339b(0x1ae)]-_0x263d55,0x0):this[_0x3c339b(0x1f9)]();return _0x83a699['_schedule'](_0x234daa),_0x83a699;}throw _0xa88f62[_0x3c339b(0x31e)];}catch(_0x15aa08){return this[_0x3c339b(0x12a)][_0x3c339b(0x31e)](_0x15aa08),this[_0x3c339b(0x23b)](!0x1);}}[_0x59b5b4(0x178)](){var _0x11b365=_0x59b5b4;throw new Error(_0x11b365(0x1e8));}['onRemoteRej'](){var _0x465e98=_0x59b5b4;throw new Error(_0x465e98(0x2ac));}[_0x59b5b4(0x366)](){return this;}['toggleOffline'](){var _0xfbae80=_0x59b5b4;return this[_0xfbae80(0x2ca)](),this['_injector']['createInstance'](de,this[_0xfbae80(0x266)],this['type'],null,this[_0xfbae80(0x275)],this['_handler']);}[_0x59b5b4(0x33a)](){return this;}[_0x59b5b4(0x3b7)](_0x3c9276){var _0x1927e8=_0x59b5b4;const _0x5c8931=_0x3c9276!=null?_0x3c9276:this['_getSendChangesetTimeout']();this[_0x1927e8(0x1ae)]=new Date()[_0x1927e8(0x106)]()+_0x5c8931,this[_0x1927e8(0x201)]=setTimeout(()=>{var _0x5ed27d=_0x1927e8;this[_0x5ed27d(0x2ca)]();let _0x2f0766=null;switch(this[_0x5ed27d(0x331)]){case Q['UNIVER_SHEET']:{_0x2f0766=Vt(this[_0x5ed27d(0x275)],this[_0x5ed27d(0x266)],this[_0x5ed27d(0xfa)],this[_0x5ed27d(0x364)],this[_0x5ed27d(0x240)]);break;}case Q[_0x5ed27d(0x33f)]:{this[_0x5ed27d(0x275)]['every'](_0x3fc505=>_0x3fc505['id']===_0x27e980['id'])?_0x2f0766=Hs(this[_0x5ed27d(0x275)],this[_0x5ed27d(0x266)],this[_0x5ed27d(0xfa)],this[_0x5ed27d(0x364)],this[_0x5ed27d(0x240)]):_0x2f0766=Vt(this[_0x5ed27d(0x275)],this[_0x5ed27d(0x266)],this['_univerInstanceService'],this[_0x5ed27d(0x364)],this[_0x5ed27d(0x240)]);break;}default:throw new Error(_0x5ed27d(0xf3)+this[_0x5ed27d(0x331)]+'\x20in\x20_schedule.');}const {changeset:_0x10de0d,pendingMutations:_0x215c8a}=_0x2f0766;this[_0x5ed27d(0x383)][_0x5ed27d(0x250)](_0x10de0d);const _0x54a12f=_0x215c8a[_0x5ed27d(0x1c0)]?this[_0x5ed27d(0x160)][_0x5ed27d(0x28a)](oe,this['unitID'],this['type'],_0x10de0d,_0x215c8a,this[_0x5ed27d(0x383)],void 0x0):this[_0x5ed27d(0x160)][_0x5ed27d(0x28a)](le,this[_0x5ed27d(0x266)],this[_0x5ed27d(0x331)],_0x10de0d,this[_0x5ed27d(0x383)]);_0x54a12f[_0x5ed27d(0x1f7)](),this['_handler'][_0x5ed27d(0x216)](this,_0x54a12f);},_0x5c8931);}[_0x59b5b4(0x1f9)](){var _0x53a5a9=_0x59b5b4,_0x1b6f9a;const _0xf77b51=this[_0x53a5a9(0x3b5)]['getConfig'](K);return(_0x1b6f9a=_0xf77b51==null?void 0x0:_0xf77b51[_0x53a5a9(0x3b8)])!=null?_0x1b6f9a:ps;}[_0x59b5b4(0x30d)](){var _0x27f8ec=_0x59b5b4;throw new Error(_0x27f8ec(0x2d4));}[_0x59b5b4(0x2ca)](){var _0x36a23b=_0x59b5b4;this[_0x36a23b(0x201)]!=null&&(clearTimeout(this[_0x36a23b(0x201)]),this[_0x36a23b(0x201)]=null);}[_0x59b5b4(0x23b)](_0x1ea3eb){var _0x258017=_0x59b5b4;return this[_0x258017(0x2ca)](),this[_0x258017(0x160)][_0x258017(0x28a)](ue,this[_0x258017(0x266)],this['type'],null,this[_0x258017(0x275)],this[_0x258017(0x383)],_0x1ea3eb);}};ae=Se([L(0x4,_0x1a58da(_0x304bd2)),L(0x5,_0x1a58da(_0x2aa1c4)),L(0x6,_0x1a58da(Pe)),L(0x7,_0x41f1d3),L(0x8,_0x48e048),L(0x9,_0x4cf79c),L(0xa,_0x39ca4e),L(0xb,_0x33b121),L(0xc,_0x4c7a7f),L(0xd,_0x24a4ee(X))],ae);let le=class extends ge{constructor(_0x41b20d,_0x54860f,_0x4b27d4,_0x3af661,_0x274449,_0x4deb0f,_0x47c288,_0xf067fa,_0x364cea,_0xc9be71,_0x4d9c8d){var _0x529495=_0x59b5b4;super(_0x41b20d,_0x54860f,_0x4b27d4,[],_0x3af661,_0x47c288,_0xc9be71,_0x4deb0f,_0x4d9c8d),D(this,_0x529495(0x389),'awaiting'),D(this,_0x529495(0x317),0x0),D(this,'_maxTotalRetryTimeout',0x0),D(this,'_resendTimer'),D(this,'_sender'),(this[_0x529495(0x160)]=_0x274449,this['_logService']=_0xf067fa,this[_0x529495(0x39f)]=_0x364cea);}['appendMutation'](_0x29e009){var _0x4449f1=_0x59b5b4;this['_clearScheduledTask']();const _0x25ccbe=this[_0x4449f1(0x160)][_0x4449f1(0x28a)](oe,this[_0x4449f1(0x266)],this[_0x4449f1(0x331)],this[_0x4449f1(0x13d)],[_0x29e009],this[_0x4449f1(0x383)],this['_resendTimer']);return _0x25ccbe['_updateLocalCache'](),_0x25ccbe;}['onRemoteChangeset'](_0x7cc482){var _0x44bc42=_0x59b5b4;if(this[_0x44bc42(0x200)](_0x7cc482))return this[_0x44bc42(0x2ca)](),this[_0x44bc42(0x160)][_0x44bc42(0x28a)](ee,this[_0x44bc42(0x266)],this[_0x44bc42(0x331)],this['_awaitingChangeset'],[],null,[_0x7cc482],this[_0x44bc42(0x383)]);try{const _0x552c67=this[_0x44bc42(0x39f)][_0x44bc42(0x2b9)]([_0x7cc482],[this['_awaitingChangeset']],!0x1);if(_0x810ab5(_0x552c67)){const {c1Prime:_0x5be639,c2Prime:_0x5850f6}=_0x552c67;this[_0x44bc42(0x183)](_0x5be639[0x0]),_0x5850f6[0x0][_0x44bc42(0x2dc)]=this[_0x44bc42(0x35a)](),this[_0x44bc42(0x2ca)]();const _0x171000=this[_0x44bc42(0x160)]['createInstance'](le,this[_0x44bc42(0x266)],this['type'],_0x5850f6[0x0],this['_handler']);return _0x171000[_0x44bc42(0x1f7)](),_0x171000;}return this[_0x44bc42(0x23b)](!0x1);}catch(_0x5b9b01){return this[_0x44bc42(0x12a)][_0x44bc42(0x31e)](_0x5b9b01),this[_0x44bc42(0x23b)](!0x1);}}[_0x59b5b4(0x178)](_0x29b8dc){var _0x1f32f3=_0x59b5b4;this['_clearScheduledTask']();const _0x357b35=this[_0x1f32f3(0x364)][_0x1f32f3(0x26c)](this[_0x1f32f3(0x266)]);if(_0x29b8dc[_0x1f32f3(0x190)]<_0x357b35-0x1)return this;if(this[_0x1f32f3(0x200)](_0x29b8dc))return this[_0x1f32f3(0x160)][_0x1f32f3(0x28a)](ee,this['unitID'],this['type'],null,[],this[_0x1f32f3(0x13d)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x33a135=this[_0x1f32f3(0x160)]['createInstance'](be,this[_0x1f32f3(0x266)],this['type'],this[_0x1f32f3(0x383)]);return _0x33a135[_0x1f32f3(0x1f7)](),_0x33a135;}[_0x59b5b4(0x13a)](_0x1eb561){var _0x566ca6=_0x59b5b4;return this[_0x566ca6(0x23b)](!!(_0x1eb561!=null&&_0x1eb561[_0x566ca6(0x325)]));}['onRemoteRetry'](_0x530ebc){var _0x4bb5c3=_0x59b5b4;return this[_0x4bb5c3(0x1dd)]>Ti?this[_0x4bb5c3(0x322)]():(this['_resendTimer']=Ii(this[_0x4bb5c3(0x317)],{'timeout':this[_0x4bb5c3(0x317)],'reqId':_0x530ebc['reqId']}),this[_0x4bb5c3(0x1fa)]=this['_resendTimer'][_0x4bb5c3(0x326)](({reqId:_0x19a9f0,timeout:_0x522be3})=>{var _0x68aff=_0x4bb5c3;this[_0x68aff(0x215)](_0x19a9f0,_0x522be3);}),this);}[_0x59b5b4(0x322)](){var _0x326c97=_0x59b5b4;return this[_0x326c97(0x2ca)](),this[_0x326c97(0x160)][_0x326c97(0x28a)](de,this[_0x326c97(0x266)],this[_0x326c97(0x331)],this['_awaitingChangeset'],[],this['_handler']);}[_0x59b5b4(0x33a)](){return this;}[_0x59b5b4(0x30d)](){var _0x4da345=_0x59b5b4;this[_0x4da345(0x383)]['onSendChangeset'](this[_0x4da345(0x13d)]);}[_0x59b5b4(0x23b)](_0x5ec34b){var _0x5608e3=_0x59b5b4;return this[_0x5608e3(0x2ca)](),this[_0x5608e3(0x160)][_0x5608e3(0x28a)](ue,this[_0x5608e3(0x266)],this[_0x5608e3(0x331)],this['_awaitingChangeset'],[],this[_0x5608e3(0x383)],_0x5ec34b);}[_0x59b5b4(0x215)](_0x3c4090,_0x4c8bd0){var _0x1c7c77=_0x59b5b4,_0x4a8214;_0x3c4090===((_0x4a8214=this[_0x1c7c77(0x13d)])==null?void 0x0:_0x4a8214[_0x1c7c77(0x12f)])&&(this[_0x1c7c77(0x30d)](),this[_0x1c7c77(0x317)]=_0x4c8bd0===0x0?0x3e8:Math['min'](_0x4c8bd0*0x2,gi),this[_0x1c7c77(0x1dd)]+=this[_0x1c7c77(0x317)]);}['_clearScheduledTask'](){var _0x1f30a8=_0x59b5b4,_0x43d38b;(_0x43d38b=this[_0x1f30a8(0x1fa)])==null||_0x43d38b['unsubscribe'](),this[_0x1f30a8(0x317)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};le=Se([L(0x4,_0x1a58da(_0x304bd2)),L(0x5,_0x1a58da(_0x2aa1c4)),L(0x6,_0x48e048),L(0x7,_0x41f1d3),L(0x8,_0x39ca4e),L(0x9,_0x4c7a7f),L(0xa,_0x24a4ee(X))],le);let oe=class extends ge{constructor(_0xc07ef4,_0x2fc964,_0x173c1a,_0x6695a5,_0x43c12f,_0x9727f7,_0x4b4c12,_0x3895ef,_0x3b0791,_0x3e8d41,_0x28cca8,_0x336933,_0x20bf16){var _0x24f7f5=_0x59b5b4;super(_0xc07ef4,_0x2fc964,_0x173c1a,_0x6695a5,_0x43c12f,_0x3b0791,_0x336933,_0x3895ef,_0x20bf16),D(this,_0x24f7f5(0x389),_0x24f7f5(0x22d)),D(this,'_resendTimeout',0x0),D(this,_0x24f7f5(0x1dd),0x0),D(this,_0x24f7f5(0x10e)),D(this,_0x24f7f5(0x1fa)),(this[_0x24f7f5(0x160)]=_0x4b4c12,this[_0x24f7f5(0x12a)]=_0x3e8d41,this[_0x24f7f5(0x39f)]=_0x28cca8,this[_0x24f7f5(0x2e9)]=_0x20bf16,_0x9727f7&&(this[_0x24f7f5(0x10e)]=_0x9727f7,this[_0x24f7f5(0x1fa)]=this[_0x24f7f5(0x10e)][_0x24f7f5(0x326)](({reqId:_0x3d7e98,timeout:_0x3d85c0})=>{var _0x5c5ea2=_0x24f7f5;this[_0x5c5ea2(0x215)](_0x3d7e98,_0x3d85c0);})));}[_0x59b5b4(0x3ba)](_0x25df99){var _0x11eef6=_0x59b5b4;return this[_0x11eef6(0x275)][_0x11eef6(0x2c8)](_0x25df99),this;}[_0x59b5b4(0x135)](_0x482edd){var _0x1f03d6=_0x59b5b4;if(this[_0x1f03d6(0x200)](_0x482edd))return this[_0x1f03d6(0x2ca)](),this[_0x1f03d6(0x160)]['createInstance'](ee,this[_0x1f03d6(0x266)],this[_0x1f03d6(0x331)],this[_0x1f03d6(0x13d)],this[_0x1f03d6(0x275)],null,[_0x482edd],this[_0x1f03d6(0x383)]);try{const _0x518837=this['_transformService'][_0x1f03d6(0x2b9)]([_0x482edd],[this[_0x1f03d6(0x13d)]],!0x1);if(_0x810ab5(_0x518837)){const {c1Prime:_0xd35059,c2Prime:_0x40b4c9}=_0x518837,_0x24de9a=this[_0x1f03d6(0x39f)][_0x1f03d6(0x38e)](_0xd35059[0x0],this[_0x1f03d6(0x275)]);if(_0x108311(_0x24de9a)){const {c1Prime:_0x17713d,m2Prime:_0x1e0e7e}=_0x24de9a;return this['_executeRemoteChangeset'](_0x17713d),_0x40b4c9[0x0]['baseRev']=this[_0x1f03d6(0x35a)](),this[_0x1f03d6(0x2ca)](),this[_0x1f03d6(0x160)][_0x1f03d6(0x28a)](oe,this['unitID'],this[_0x1f03d6(0x331)],_0x40b4c9[0x0],_0x1e0e7e,this['_handler'],void 0x0);}throw _0x24de9a[_0x1f03d6(0x31e)];}throw _0x518837[_0x1f03d6(0x31e)];}catch(_0xcec0d){return this['_logService'][_0x1f03d6(0x31e)](_0xcec0d),this[_0x1f03d6(0x23b)](!0x1);}}[_0x59b5b4(0x178)](_0x1ad056){var _0x5d39da=_0x59b5b4;if(this[_0x5d39da(0x2ca)](),this[_0x5d39da(0x200)](_0x1ad056))return this['_injector'][_0x5d39da(0x28a)](ee,this[_0x5d39da(0x266)],this[_0x5d39da(0x331)],null,this[_0x5d39da(0x275)],this[_0x5d39da(0x13d)],[],this[_0x5d39da(0x383)]);this[_0x5d39da(0x307)]();const _0x4c42c5=this[_0x5d39da(0x160)]['createInstance'](ae,this['unitID'],this[_0x5d39da(0x331)],this[_0x5d39da(0x275)],this[_0x5d39da(0x383)]);return _0x4c42c5[_0x5d39da(0x3b7)](),_0x4c42c5[_0x5d39da(0x1f7)](),_0x4c42c5;}[_0x59b5b4(0x13a)](_0x1eed72){var _0x3ae007=_0x59b5b4;return this['_onConflict'](!!(_0x1eed72!=null&&_0x1eed72[_0x3ae007(0x325)]));}[_0x59b5b4(0x366)](_0x515afe){var _0x4a21c8=_0x59b5b4;return this[_0x4a21c8(0x1dd)]>Ti?this[_0x4a21c8(0x322)]():(this[_0x4a21c8(0x10e)]=Ii(this[_0x4a21c8(0x317)],{'timeout':this[_0x4a21c8(0x317)],'reqId':_0x515afe[_0x4a21c8(0x12f)]}),this[_0x4a21c8(0x1fa)]=this[_0x4a21c8(0x10e)][_0x4a21c8(0x326)](({reqId:_0x1c93a0,timeout:_0xcc757e})=>{var _0xcfb21f=_0x4a21c8;this[_0xcfb21f(0x215)](_0x1c93a0,_0xcc757e);}),this);}[_0x59b5b4(0x322)](){var _0x1e1e6b=_0x59b5b4;return this[_0x1e1e6b(0x2ca)](),this['_injector'][_0x1e1e6b(0x28a)](de,this[_0x1e1e6b(0x266)],this[_0x1e1e6b(0x331)],this['_awaitingChangeset'],this[_0x1e1e6b(0x275)],this[_0x1e1e6b(0x383)]);}['toggleOnline'](){return this;}[_0x59b5b4(0x30d)](){var _0x24ae3f=_0x59b5b4;this['_handler'][_0x24ae3f(0x250)](this[_0x24ae3f(0x13d)]);}[_0x59b5b4(0x23b)](_0xb90526){var _0x2c3e24=_0x59b5b4;return this[_0x2c3e24(0x2ca)](),this[_0x2c3e24(0x160)][_0x2c3e24(0x28a)](ue,this[_0x2c3e24(0x266)],this['type'],null,this[_0x2c3e24(0x275)],this['_handler'],_0xb90526);}['_resendWithTimeout'](_0x478e84,_0x41c75a){var _0x41783d=_0x59b5b4,_0x35ce06;_0x478e84===((_0x35ce06=this[_0x41783d(0x13d)])==null?void 0x0:_0x35ce06[_0x41783d(0x12f)])&&(this[_0x41783d(0x30d)](),this[_0x41783d(0x317)]=_0x41c75a===0x0?0x3e8:Math[_0x41783d(0x158)](_0x41c75a*0x2,gi),this['_maxTotalRetryTimeout']+=this['_resendTimeout']);}['_clearScheduledTask'](){var _0x5bba78=_0x59b5b4,_0x1714c2;(_0x1714c2=this[_0x5bba78(0x1fa)])==null||_0x1714c2[_0x5bba78(0x34d)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};oe=Se([L(0x6,_0x1a58da(_0x304bd2)),L(0x7,_0x1a58da(_0x2aa1c4)),L(0x8,_0x48e048),L(0x9,_0x41f1d3),L(0xa,_0x39ca4e),L(0xb,_0x4c7a7f),L(0xc,_0x24a4ee(X))],oe);let ue=class extends ge{constructor(_0x442b36,_0x106530,_0x395747,_0xb648bd,_0x42db0b,_0x466163=!0x1,_0x13a006,_0x554772,_0x37d4f7,_0x1d5be5,_0x1bc478,_0x3df5eb,_0x39b9fb){var _0x195555=_0x59b5b4;super(_0x442b36,_0x106530,_0x395747,_0xb648bd,_0x42db0b,_0x554772,_0x37d4f7,_0x1d5be5,_0x39b9fb),D(this,_0x195555(0x389),'conflict'),(this[_0x195555(0x20b)]=_0x466163,this[_0x195555(0x33c)]=_0x13a006,this[_0x195555(0x3fb)]=_0x1bc478,this[_0x195555(0x3d7)]=_0x3df5eb,this['localCacheService']=_0x39b9fb,this[_0x195555(0x2aa)](),this[_0x195555(0x302)](),this[_0x195555(0x28e)]());}[_0x59b5b4(0x3ba)](){return this;}[_0x59b5b4(0x135)](){return this;}[_0x59b5b4(0x178)](){return this;}['onRemoteRej'](){return this;}[_0x59b5b4(0x366)](){return this;}[_0x59b5b4(0x322)](){return this;}[_0x59b5b4(0x33a)](){return this;}['resend'](){var _0x217c9b=_0x59b5b4;throw new Error(_0x217c9b(0x107));}[_0x59b5b4(0x302)](){var _0x42bcb9=_0x59b5b4,_0x30d04e;(_0x30d04e=this[_0x42bcb9(0x22e)])==null||_0x30d04e[_0x42bcb9(0x350)](this[_0x42bcb9(0x266)],this[_0x42bcb9(0x331)],null,[]);}[_0x59b5b4(0x2aa)](){var _0xce65f7=_0x59b5b4;this[_0xce65f7(0x20b)]?this[_0xce65f7(0x3d7)][_0xce65f7(0xf1)]({'id':re[_0xce65f7(0x191)]}):this[_0xce65f7(0x3d7)]['emitEvent']({'id':re[_0xce65f7(0x2b5)]});}[_0x59b5b4(0x28e)](){var _0x111f85=_0x59b5b4;this[_0x111f85(0x33c)][_0x111f85(0x1af)](new _0x1c73ad(this['unitID'])['id'],!0x1);}};ue=Se([L(0x6,_0x1a58da(_0x6680b3)),L(0x7,_0x48e048),L(0x8,_0x4c7a7f),L(0x9,_0x1a58da(_0x2aa1c4)),L(0xa,_0x1a58da(_0x37628b)),L(0xb,_0x1a58da(ve)),L(0xc,_0x24a4ee(X))],ue);let de=class extends ge{constructor(_0x4eab60,_0x399ed5,_0x391a49,_0x13abf2,_0x26c8f2,_0x98cd19,_0x214bf7,_0x4883ee,_0x192a06,_0xc08387){var _0x1bee62=_0x59b5b4;super(_0x4eab60,_0x399ed5,_0x391a49,_0x13abf2,_0x26c8f2,_0x4883ee,_0x192a06,_0x214bf7,_0xc08387),D(this,_0x1bee62(0x389),'offline'),this[_0x1bee62(0x160)]=_0x98cd19;}[_0x59b5b4(0x3ba)](_0xd83cbf){var _0x426455=_0x59b5b4;return this['_pendingMutations']['push'](_0xd83cbf),this[_0x426455(0x1f7)](),this;}[_0x59b5b4(0x135)](_0x4e599b){var _0x1a489c=_0x59b5b4;throw new Error(_0x1a489c(0x16c));}[_0x59b5b4(0x178)](){var _0x4d7142=_0x59b5b4;throw new Error(_0x4d7142(0x390));}[_0x59b5b4(0x13a)](){var _0x3bde65=_0x59b5b4;throw new Error(_0x3bde65(0x3ce));}[_0x59b5b4(0x366)](){return this;}[_0x59b5b4(0x322)](){return this;}['toggleOnline'](){const {_injector:_0x1c0788,_pendingMutations:_0x12d612,_awaitingChangeset:_0x3b8454,unitID:_0x57e7c4,_handler:_0x45baf4,type:_0x8a4e74}=this,_0x2320ff=Oi(_0x1c0788,_0x57e7c4,_0x8a4e74,_0x3b8454,_0x12d612,_0x45baf4);return _0x2320ff instanceof ae?_0x2320ff['_schedule']():(_0x2320ff instanceof oe||_0x2320ff instanceof le)&&_0x2320ff['resend'](),_0x2320ff;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([L(0x5,_0x1a58da(_0x304bd2)),L(0x6,_0x1a58da(_0x2aa1c4)),L(0x7,_0x48e048),L(0x8,_0x4c7a7f),L(0x9,_0x24a4ee(X))],de);function _0x2245(_0x3a4740,_0x1b208c){_0x3a4740=_0x3a4740-0xdd;var _0x1a33a0=_0x1a33();var _0x22456c=_0x1a33a0[_0x3a4740];return _0x22456c;}let ee=class extends ge{constructor(_0x287b8f,_0x11e882,_0xbbfd,_0x49f5e3,_0x39e750,_0x5daa24,_0x4d83e3,_0x2d155e,_0x55142d,_0x244314,_0x2deee3,_0x1900f3,_0x5f5447,_0x2815f5){var _0x1d6911=_0x59b5b4;super(_0x287b8f,_0x11e882,_0xbbfd,_0x49f5e3,_0x4d83e3,_0x2deee3,_0x1900f3,_0x55142d,_0x2815f5),D(this,_0x1d6911(0x389),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x39e750,this['_queuedRemoteChangesets']=_0x5daa24,this[_0x1d6911(0x160)]=_0x2d155e,this[_0x1d6911(0x12a)]=_0x244314,this[_0x1d6911(0x39f)]=_0x5f5447,this[_0x1d6911(0x2e9)]=_0x2815f5);}[_0x59b5b4(0x388)](_0x4ef01c){var _0x48abd9=_0x59b5b4;try{const _0x18c8a0=[..._0x4ef01c,...this[_0x48abd9(0x151)]],_0x2ff0a7=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x1ead82=>!!_0x1ead82);let _0x104b12,_0x59c60e;if(_0x2ff0a7['length']){const _0x5ebc5d=this[_0x48abd9(0x39f)][_0x48abd9(0x2b9)](_0x18c8a0,_0x2ff0a7,!0x1);if(!_0x810ab5(_0x5ebc5d))throw _0x5ebc5d[_0x48abd9(0x31e)];_0x104b12=_0x5ebc5d[_0x48abd9(0x1eb)],_0x59c60e=_0x5ebc5d[_0x48abd9(0x2d1)];}else _0x104b12=_0x18c8a0,_0x59c60e=[];let _0x596aa1=this[_0x48abd9(0x275)];_0x104b12[_0x48abd9(0x22f)](_0xc12b19=>{var _0x36ec76=_0x48abd9;let _0x27e16f;if(_0x596aa1[_0x36ec76(0x1c0)]){const _0x11f26d=this[_0x36ec76(0x39f)][_0x36ec76(0x38e)](_0xc12b19,_0x596aa1);if(!_0x108311(_0x11f26d))throw _0x11f26d[_0x36ec76(0x31e)];_0x27e16f=_0x11f26d[_0x36ec76(0x1eb)],_0x596aa1=_0x11f26d['m2Prime'];}else _0x27e16f=_0xc12b19;this[_0x36ec76(0x183)](_0x27e16f);}),this[_0x48abd9(0x165)]&&this[_0x48abd9(0x307)](),this[_0x48abd9(0x13d)]&&_0x59c60e[_0x48abd9(0x1c0)]&&(_0x59c60e[0x0][_0x48abd9(0x2dc)]=this[_0x48abd9(0x35a)]());let _0x1952fc;if(this['_awaitingChangeset']&&_0x596aa1[_0x48abd9(0x1c0)]!==0x0)_0x1952fc=this['_injector'][_0x48abd9(0x28a)](oe,this[_0x48abd9(0x266)],this[_0x48abd9(0x331)],_0x59c60e[0x0],_0x596aa1,this[_0x48abd9(0x383)],void 0x0);else{if(this[_0x48abd9(0x13d)]&&_0x596aa1[_0x48abd9(0x1c0)]===0x0)_0x59c60e[0x0][_0x48abd9(0x2dc)]=this[_0x48abd9(0x35a)](),_0x1952fc=this['_injector'][_0x48abd9(0x28a)](le,this[_0x48abd9(0x266)],this[_0x48abd9(0x331)],_0x59c60e[0x0],this[_0x48abd9(0x383)]);else{if(_0x596aa1[_0x48abd9(0x1c0)]!==0x0){const _0x410c95=this[_0x48abd9(0x160)]['createInstance'](ae,this[_0x48abd9(0x266)],this['type'],_0x596aa1,this['_handler']);_0x410c95[_0x48abd9(0x3b7)](),_0x1952fc=_0x410c95;}else _0x1952fc=this['_injector'][_0x48abd9(0x28a)](be,this[_0x48abd9(0x266)],this['type'],this[_0x48abd9(0x383)]);}}return _0x1952fc[_0x48abd9(0x1f7)](),_0x1952fc;}catch(_0x1465bf){return this[_0x48abd9(0x12a)][_0x48abd9(0x31e)](_0x48abd9(0xee),'failed\x20to\x20apply\x20missed\x20changesets!',_0x1465bf),this['_injector'][_0x48abd9(0x28a)](ue,this[_0x48abd9(0x266)],this[_0x48abd9(0x331)],this[_0x48abd9(0x13d)],this[_0x48abd9(0x275)],this[_0x48abd9(0x383)],!0x1);}}[_0x59b5b4(0x30d)](){var _0x2c9bd9=_0x59b5b4;throw new Error(_0x2c9bd9(0x3fd));}['appendMutation'](_0xaa9bf9){var _0x45e616=_0x59b5b4;return this['_pendingMutations'][_0x45e616(0x2c8)](_0xaa9bf9),this;}[_0x59b5b4(0x135)](_0x3317a8){var _0x117dd9=_0x59b5b4;return this[_0x117dd9(0x151)][_0x117dd9(0x2c8)](_0x3317a8),this;}[_0x59b5b4(0x178)](_0x237d8a){var _0x16837e=_0x59b5b4;if(this[_0x16837e(0x13d)])return this[_0x16837e(0x165)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x16837e(0x2b4));}['onRemoteRej'](_0x20ea59){var _0x4859ca=_0x59b5b4;return this[_0x4859ca(0x23b)](!!(_0x20ea59!=null&&_0x20ea59[_0x4859ca(0x325)]));}[_0x59b5b4(0x366)](){return this;}['toggleOffline'](){var _0xbe256=_0x59b5b4;return this[_0xbe256(0x160)][_0xbe256(0x28a)](de,this['unitID'],this[_0xbe256(0x331)],this[_0xbe256(0x13d)],this['_pendingMutations'],this[_0xbe256(0x383)]);}[_0x59b5b4(0x33a)](){return this;}['_onConflict'](_0x5d3361){var _0x5f4f1b=_0x59b5b4;return this[_0x5f4f1b(0x160)][_0x5f4f1b(0x28a)](ue,this[_0x5f4f1b(0x266)],this[_0x5f4f1b(0x331)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x5f4f1b(0x383)],_0x5d3361);}};ee=Se([L(0x7,_0x1a58da(_0x304bd2)),L(0x8,_0x1a58da(_0x2aa1c4)),L(0x9,_0x41f1d3),L(0xa,_0x48e048),L(0xb,_0x4c7a7f),L(0xc,_0x39ca4e),L(0xd,_0x24a4ee(X))],ee);function Oi(_0x1caee0,_0x2b855f,_0x257683,_0x2e3522,_0x393b27,_0x1b822c){var _0x2868a0=_0x59b5b4;return _0x2e3522&&_0x393b27[_0x2868a0(0x1c0)]?_0x1caee0[_0x2868a0(0x28a)](oe,_0x2b855f,_0x257683,_0x2e3522,_0x393b27,_0x1b822c,void 0x0):_0x2e3522?_0x1caee0[_0x2868a0(0x28a)](le,_0x2b855f,_0x257683,_0x2e3522,_0x1b822c):_0x393b27[_0x2868a0(0x1c0)]?_0x1caee0[_0x2868a0(0x28a)](ae,_0x2b855f,_0x257683,_0x393b27,_0x1b822c):_0x1caee0['createInstance'](be,_0x2b855f,_0x257683,_0x1b822c);}var Fs=Object[_0x59b5b4(0x298)],At=(_0x379a0b,_0x3eb3cd,_0x3d361f,_0x2f5f27)=>{var _0x4f224f=_0x59b5b4;for(var _0x5a6093=_0x2f5f27>0x1?void 0x0:_0x2f5f27?Fs(_0x3eb3cd,_0x3d361f):_0x3eb3cd,_0x5a8989=_0x379a0b[_0x4f224f(0x1c0)]-0x1,_0x1ec251;_0x5a8989>=0x0;_0x5a8989--)(_0x1ec251=_0x379a0b[_0x5a8989])&&(_0x5a6093=_0x1ec251(_0x5a6093)||_0x5a6093);return _0x5a6093;},$=(_0x57411c,_0x2c59f5)=>(_0x2176f0,_0x1a3dfc)=>_0x2c59f5(_0x2176f0,_0x1a3dfc,_0x57411c);let st=class extends _0x5385ac{constructor(_0x2ef815,_0x3474e2,_0x262466,_0x6f0a2b,_0x2a61d1,_0x164524,_0x55b237,_0x2db053,_0x49ef05,_0x11a264,_0xb01c3c,_0x3d6e50,_0x544440,_0x39be8){var _0x45c343=_0x59b5b4;super(),D(this,_0x45c343(0x284),new _0xfba9c5(null)),D(this,_0x45c343(0x3c5),this['_state$'][_0x45c343(0x15a)]()),D(this,'_state'),D(this,_0x45c343(0x292),!0x1),D(this,_0x45c343(0x32b),''),D(this,_0x45c343(0x23e),0x0),D(this,'status$',this['state$']['pipe'](_0x36eed8(_0x39e3a2=>_0x39e3a2?_0x39e3a2[_0x45c343(0x389)]:Si[_0x45c343(0x1d3)]),_0x9c6fcc(0x1))),D(this,_0x45c343(0x3d9),!0x1),D(this,_0x45c343(0x3e5),[]),(this[_0x45c343(0x266)]=_0x2ef815,this[_0x45c343(0x203)]=_0x3474e2,this[_0x45c343(0x341)]=_0x262466,this[_0x45c343(0x160)]=_0x6f0a2b,this[_0x45c343(0x334)]=_0x2a61d1,this[_0x45c343(0x3fb)]=_0x164524,this[_0x45c343(0x364)]=_0x55b237,this['_eventService']=_0x2db053,this[_0x45c343(0xfa)]=_0x49ef05,this['_logService']=_0x11a264,this[_0x45c343(0x36f)]=_0xb01c3c,this[_0x45c343(0x33c)]=_0x3d6e50,this[_0x45c343(0x3b0)]=_0x544440,this[_0x45c343(0x22e)]=_0x39be8);}get[_0x59b5b4(0x2e5)](){var _0x414794=_0x59b5b4;return this[_0x414794(0x402)];}async[_0x59b5b4(0x138)](){var _0x15747a=_0x59b5b4;if(this[_0x15747a(0x2e5)])throw new Error(_0x15747a(0x352));await this['_init']();}[_0x59b5b4(0x314)](){var _0x3e3533=_0x59b5b4;return this[_0x3e3533(0x292)]=!0x0,_0x3b1318(()=>{var _0x1b6dc7=_0x3e3533;this[_0x1b6dc7(0x292)]=!0x1,this[_0x1b6dc7(0x3db)]();});}[_0x59b5b4(0x336)](_0x2bbd74){var _0x2d071f=_0x59b5b4;this[_0x2d071f(0x2e6)](_0x2bbd74);}[_0x59b5b4(0x392)](_0x281f57){var _0x2351c6=_0x59b5b4;this['_state']=_0x281f57,this[_0x2351c6(0x284)][_0x2351c6(0x283)](_0x281f57);}async[_0x59b5b4(0x28b)](){var _0x1017a2=_0x59b5b4,_0x5a2627;this['_updateState'](await this[_0x1017a2(0x32a)]()),this[_0x1017a2(0x3b0)]&&((_0x5a2627=this[_0x1017a2(0x3b0)])==null||_0x5a2627[_0x1017a2(0x38d)](this[_0x1017a2(0x266)]),this[_0x1017a2(0x2d9)](this[_0x1017a2(0x3b0)]['getUnitStatus$'](this[_0x1017a2(0x266)])[_0x1017a2(0x326)](_0x24f1ec=>{var _0x1ff88f=_0x1017a2;this[_0x1ff88f(0x12a)][_0x1ff88f(0x166)](_0x1ff88f(0x30f),'editing\x20status\x20changed\x20to',_0x24f1ec),_0x24f1ec===mi[_0x1ff88f(0x374)]?(this[_0x1ff88f(0x39c)][_0x1ff88f(0xf1)]({'id':re[_0x1ff88f(0xf4)]}),this[_0x1ff88f(0x33c)][_0x1ff88f(0x1af)](new _0x1c73ad(this[_0x1ff88f(0x266)])['id'],!0x1),this['_permissionService'][_0x1ff88f(0x2b1)](!0x1)):(this[_0x1ff88f(0x33c)][_0x1ff88f(0x1af)](new _0x1c73ad(this[_0x1ff88f(0x266)])['id'],!0x0),this[_0x1ff88f(0x33c)][_0x1ff88f(0x2b1)](!0x0));})));let _0x3cac99=!0x1;return this[_0x1017a2(0x2d9)](this[_0x1017a2(0x203)][_0x1017a2(0x131)]['subscribe'](_0x247a20=>{var _0x406a96=_0x1017a2;_0x247a20===me['ONLINE']?this['_toggleOnline'](_0x3cac99):_0x247a20===me[_0x406a96(0x1d3)]&&(_0x3cac99=!0x0,this[_0x406a96(0x3da)]());})),this[_0x1017a2(0x2d9)](this[_0x1017a2(0x203)]['event$'][_0x1017a2(0x326)](_0x1ea8c4=>{var _0x417146=_0x1017a2;try{switch(_0x1ea8c4[_0x417146(0x1a4)]){case _0x8199d6[_0x417146(0x127)]:{this[_0x417146(0xfd)](_0x482035(_0x1ea8c4[_0x417146(0x14b)]));break;}case _0x8199d6[_0x417146(0x3ee)]:{this[_0x417146(0x1ce)](_0x1ea8c4[_0x417146(0x14b)]);break;}case _0x8199d6['CHANGESET_REJ']:{this[_0x417146(0x1f2)]();break;}case _0x8199d6[_0x417146(0x3d8)]:{this['_onRemoteRetry'](_0x1ea8c4['data']);break;}case _0x8199d6[_0x417146(0x2a1)]:{this['_onFetchMissResult'](_0x1ea8c4[_0x417146(0x14b)]['changesets'][_0x417146(0x1a3)](_0x49c0be=>_0x482035(_0x49c0be)));break;}case _0x8199d6[_0x417146(0x198)]:{this[_0x417146(0x1f2)]({'isPermissionRej':!0x0});break;}case _0x8199d6[_0x417146(0x1c9)]:break;}}catch(_0x27b0c8){throw console[_0x417146(0x31e)]('Error\x20on\x20receiving\x20event',_0x27b0c8),_0x27b0c8;}})),this['_state'];}[_0x59b5b4(0x2bb)](){var _0x8bd071=_0x59b5b4;this[_0x8bd071(0x3d9)]=!0x1;}[_0x59b5b4(0x157)](){var _0x1ff61e=_0x59b5b4;if(this['_transitionLocked'])throw new Error(_0x1ff61e(0x290));this[_0x1ff61e(0x3d9)]=!0x0;}[_0x59b5b4(0x2e6)](_0x46096a){var _0x23a263=_0x59b5b4;this['_lockTransition'](),this[_0x23a263(0x392)](this['_state']['appendMutation'](_0x46096a)),this[_0x23a263(0x2bb)]();}[_0x59b5b4(0xfd)](_0x40a0fe){var _0x3102ea=_0x59b5b4;if(!(_0x40a0fe['revision']<=this['_revisionService'][_0x3102ea(0x26c)](this[_0x3102ea(0x266)]))){if(this[_0x3102ea(0x292)]){this['_remoteChangesetQueue']['push'](_0x40a0fe);return;}this[_0x3102ea(0x153)](_0x40a0fe);}}[_0x59b5b4(0x3db)](){var _0x34a141=_0x59b5b4;this[_0x34a141(0x3e5)][_0x34a141(0x22f)](_0x22d4d9=>this['_applyRemoteChangeset'](_0x22d4d9)),this['_remoteChangesetQueue']=[];}[_0x59b5b4(0x153)](_0x202c24){var _0x5b3f95=_0x59b5b4;const _0x4a0611=this[_0x5b3f95(0x334)][_0x5b3f95(0x387)][_0x5b3f95(0x3a9)](this[_0x5b3f95(0x334)][_0x5b3f95(0x387)]['getInterceptPoints']()[_0x5b3f95(0x327)])(_0x202c24[_0x5b3f95(0x30e)],null)||_0x202c24[_0x5b3f95(0x30e)],_0x168596={..._0x202c24,'mutations':_0x4a0611};this[_0x5b3f95(0x157)](),this[_0x5b3f95(0x392)](this['_state']['onRemoteChangeset'](_0x168596)),this['_unlockTransition']();}[_0x59b5b4(0x1ce)](_0x40a314){var _0x296d55=_0x59b5b4;this['_lockTransition'](),this[_0x296d55(0x392)](this[_0x296d55(0x402)]['onRemoteAck'](_0x40a314)),this['_unlockTransition']();}[_0x59b5b4(0x1f2)](_0x5525b2){var _0x12aa59=_0x59b5b4;this[_0x12aa59(0x157)](),this['_updateState'](this[_0x12aa59(0x402)][_0x12aa59(0x13a)](_0x5525b2)),this[_0x12aa59(0x2bb)]();}[_0x59b5b4(0x3e0)](_0x358f50){var _0x3f232b=_0x59b5b4;this[_0x3f232b(0x157)](),this[_0x3f232b(0x392)](this['_state'][_0x3f232b(0x366)](_0x358f50)),this[_0x3f232b(0x2bb)]();}[_0x59b5b4(0x170)](_0x14377e){var _0x58ac58=_0x59b5b4;if(!(this[_0x58ac58(0x402)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x25cbdd=_0x14377e['map'](_0xd0502=>{var _0x10ee4f=_0x58ac58;const _0x41663b=this['_compressMutationService'][_0x10ee4f(0x387)][_0x10ee4f(0x3a9)](this[_0x10ee4f(0x334)][_0x10ee4f(0x387)][_0x10ee4f(0x1e2)]()[_0x10ee4f(0x327)])(_0xd0502[_0x10ee4f(0x30e)],null)||_0xd0502[_0x10ee4f(0x30e)];return{..._0xd0502,'mutations':_0x41663b};});this[_0x58ac58(0x157)](),this[_0x58ac58(0x392)](this['_state'][_0x58ac58(0x388)](_0x25cbdd)),this[_0x58ac58(0x2bb)]();}['_toggleOffline'](){var _0x4899c8=_0x59b5b4;this[_0x4899c8(0x157)](),this[_0x4899c8(0x392)](this['_state']['toggleOffline']()),this[_0x4899c8(0x2bb)]();}[_0x59b5b4(0x154)](_0x532e8a=!0x1){var _0x21b05b=_0x59b5b4;this[_0x21b05b(0x157)](),this['_updateState'](this[_0x21b05b(0x402)][_0x21b05b(0x33a)]()),this[_0x21b05b(0x2bb)]();const _0xf40bda=this[_0x21b05b(0x402)];_0x532e8a&&_0xf40bda instanceof be&&(this[_0x21b05b(0x157)](),this[_0x21b05b(0x392)](_0xf40bda[_0x21b05b(0x2a8)]()),this[_0x21b05b(0x2bb)]());}async[_0x59b5b4(0x32a)](){return new Promise(_0x372923=>{var _0x46a2a1=_0x2245;this[_0x46a2a1(0x203)]['sessionStatus$'][_0x46a2a1(0x3fe)](_0x505bf8(0x1))[_0x46a2a1(0x326)](async _0x651624=>{var _0x4dc8d1=_0x46a2a1;_0x372923(await this['_createInitialStateImpl'](_0x651624===me[_0x4dc8d1(0x110)]));});});}[_0x59b5b4(0x173)](){var _0xab2a22=_0x59b5b4;const _0x1a8a17=this[_0xab2a22(0x266)];return{'onStateChange':(_0x3b07b4,_0xd3b521)=>{var _0x17f64a=_0xab2a22;if(_0x3b07b4!==this[_0x17f64a(0x402)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3b07b4[_0x17f64a(0x389)]+_0x17f64a(0x148)+_0xd3b521['status']+_0x17f64a(0x406)+this[_0x17f64a(0x402)][_0x17f64a(0x389)]);this[_0x17f64a(0x392)](_0xd3b521);},'onSendChangeset':_0x584674=>{var _0x5de1f2=_0xab2a22;_0x584674[_0x5de1f2(0x32c)]||(_0x584674[_0x5de1f2(0x32c)]=this[_0x5de1f2(0x32b)],_0x584674[_0x5de1f2(0x12f)]=++this['_changesetReqId']);const _0x345b42={'eventID':_0x8199d6[_0x5de1f2(0x376)],'data':{'unitID':_0x584674['unitID'],'unitType':this['_type'],'changeset':_0x584674,'memberID':this['session'][_0x5de1f2(0x276)]()}};this['session']['send'](_0x345b42,this[_0x5de1f2(0x266)]);},'onMissingChangesets':({from:_0xd4421d,to:_0x4806bf})=>{var _0x5942fc=_0xab2a22;this[_0x5942fc(0x12a)][_0x5942fc(0x166)](_0x5942fc(0x30f),_0x5942fc(0x2ee)+_0xd4421d+_0x5942fc(0x130)+_0x4806bf);const _0x37dbc1={'eventID':_0x8199d6['FETCH_MISSING'],'data':{'unitID':_0x1a8a17,'unitType':this[_0x5942fc(0x341)],'from':_0xd4421d,'to':_0x4806bf}};this[_0x5942fc(0x203)]['send'](_0x37dbc1,this['unitID']);}};}async['_createInitialStateImpl'](_0x23d2dd){var _0x3f4101=_0x59b5b4,_0x3e82df,_0x2655ef,_0x3aaf17;const _0x5ea69f=await((_0x3e82df=this[_0x3f4101(0x22e)])==null?void 0x0:_0x3e82df[_0x3f4101(0x37e)](this[_0x3f4101(0x266)])),_0x29fda5=(_0x2655ef=_0x5ea69f==null?void 0x0:_0x5ea69f['mutations'])!=null?_0x2655ef:[],_0x2cff8b=(_0x3aaf17=_0x5ea69f==null?void 0x0:_0x5ea69f[_0x3f4101(0x335)])!=null?_0x3aaf17:null,_0x56d73a=!!(_0x2cff8b!=null&&_0x2cff8b[_0x3f4101(0x32c)])&&!!(_0x2cff8b!=null&&_0x2cff8b[_0x3f4101(0x12f)]);this[_0x3f4101(0x32b)]=_0x56d73a?_0x2cff8b[_0x3f4101(0x32c)]:_0x64d0d4(),this[_0x3f4101(0x23e)]=_0x56d73a?_0x2cff8b['reqId']:0x0;const _0x579f97=this[_0x3f4101(0x266)];try{this[_0x3f4101(0x26a)](_0x2cff8b,_0x29fda5);}catch(_0x30829e){this[_0x3f4101(0x12a)][_0x3f4101(0x31e)](_0x30829e);}const _0x54758e=this[_0x3f4101(0x173)]();if(_0x23d2dd){const _0x4dbf31=Oi(this['_injector'],_0x579f97,this[_0x3f4101(0x341)],_0x2cff8b,_0x29fda5,_0x54758e);return _0x4dbf31 instanceof ae?_0x4dbf31['_schedule']():(_0x4dbf31 instanceof oe||_0x4dbf31 instanceof le)&&_0x4dbf31[_0x3f4101(0x30d)](),_0x4dbf31;}return this[_0x3f4101(0x160)][_0x3f4101(0x28a)](de,_0x579f97,this[_0x3f4101(0x341)],_0x2cff8b,_0x29fda5,_0x54758e);}[_0x59b5b4(0x26a)](_0x39f330,_0x19f103){var _0x1da968=_0x59b5b4,_0x2d4493,_0x51f44d;const _0x3aa909=this[_0x1da968(0x334)][_0x1da968(0x387)][_0x1da968(0x3a9)](this[_0x1da968(0x334)][_0x1da968(0x387)][_0x1da968(0x1e2)]()['COMPRESS_MUTATION_APPLY']);(_0x2d4493=_0x3aa909((_0x39f330==null?void 0x0:_0x39f330[_0x1da968(0x30e)])||[],null))==null||_0x2d4493[_0x1da968(0x22f)](_0x5715e1=>this['_commandService'][_0x1da968(0x3a5)](_0x5715e1['id'],_0x5715e1[_0x1da968(0x346)])),(_0x51f44d=_0x3aa909(_0x19f103||[],null))==null||_0x51f44d[_0x1da968(0x22f)](_0x190de9=>this[_0x1da968(0x36f)][_0x1da968(0x3a5)](_0x190de9['id'],_0x190de9['params']));}};st=At([$(0x3,_0x1a58da(_0x304bd2)),$(0x4,_0x1a58da(_0x80ee6)),$(0x5,_0x1a58da(_0x37628b)),$(0x6,_0x1a58da(_0x2aa1c4)),$(0x7,_0x1a58da(ve)),$(0x8,_0x33b121),$(0x9,_0x41f1d3),$(0xa,_0x48e048),$(0xb,_0x6680b3),$(0xc,_0x24a4ee(_t)),$(0xd,_0x24a4ee(X))],st);let It=class extends st{constructor(_0x5e93ee,_0xa2a9e3,_0x20ca5f,_0x4c8e47,_0x11ae3c,_0x52606b,_0x30a674,_0x3066ab,_0x1a2c13,_0x163250,_0x36da65,_0x5f31d6,_0x102eab,_0x36476f){var _0x27df81=_0x59b5b4;super(_0x5e93ee,_0x20ca5f,_0xa2a9e3,_0x4c8e47,_0x11ae3c,_0x52606b,_0x30a674,_0x3066ab,_0x1a2c13,_0x163250,_0x36da65,_0x5f31d6,_0x102eab,_0x36476f),D(this,_0x27df81(0x156),null),(this[_0x27df81(0x266)]=_0x5e93ee,this[_0x27df81(0x331)]=_0xa2a9e3);}[_0x59b5b4(0x134)](_0x4f1415){var _0x1aa957=_0x59b5b4;this[_0x1aa957(0x156)]=_0x4f1415;}[_0x59b5b4(0x2b2)](){var _0x1cf613=_0x59b5b4;this[_0x1cf613(0x156)]=null,super[_0x1cf613(0x2b2)]();}[_0x59b5b4(0x173)](){var _0x599b43=_0x59b5b4;const _0x2c029c=super[_0x599b43(0x173)]();return _0x2c029c[_0x599b43(0x207)]=_0xb82f1f=>{var _0x46232e=_0x599b43,_0x1b0d7e,_0x4c2037;return(_0x4c2037=(_0x1b0d7e=this['_handlerCallback'])==null?void 0x0:_0x1b0d7e[_0x46232e(0x207)])==null?void 0x0:_0x4c2037[_0x46232e(0x1e1)](_0x1b0d7e,_0xb82f1f);},_0x2c029c[_0x599b43(0x1ab)]=_0x192e47=>{var _0x2fa5dd=_0x599b43,_0x4cc7bd,_0x98bb15;return(_0x98bb15=(_0x4cc7bd=this[_0x2fa5dd(0x156)])==null?void 0x0:_0x4cc7bd[_0x2fa5dd(0x1ab)])==null?void 0x0:_0x98bb15[_0x2fa5dd(0x1e1)](_0x4cc7bd,_0x192e47);},_0x2c029c['onTransformSelections']=_0x1b9d2e=>{var _0x3b761d=_0x599b43,_0x5cf559,_0x2aa998;return(_0x2aa998=(_0x5cf559=this[_0x3b761d(0x156)])==null?void 0x0:_0x5cf559[_0x3b761d(0x1df)])==null?void 0x0:_0x2aa998['call'](_0x5cf559,_0x1b9d2e);},_0x2c029c[_0x599b43(0x1bb)]=_0x3d438e=>{var _0x10c603=_0x599b43,_0x43fab5,_0x45c7c0;return(_0x45c7c0=(_0x43fab5=this[_0x10c603(0x156)])==null?void 0x0:_0x43fab5[_0x10c603(0x1bb)])==null?void 0x0:_0x45c7c0['call'](_0x43fab5,_0x3d438e);},_0x2c029c[_0x599b43(0x31d)]=_0x5afedb=>{var _0x3647dc=_0x599b43,_0x279ba1,_0x2f1fd9,_0x46c44a;if(!((_0x279ba1=this[_0x3647dc(0x156)])!=null&&_0x279ba1['onTransformRemoteChangesetByIMECache']))throw new Error(_0x3647dc(0x163));return(_0x46c44a=(_0x2f1fd9=this[_0x3647dc(0x156)])==null?void 0x0:_0x2f1fd9[_0x3647dc(0x31d)])==null?void 0x0:_0x46c44a[_0x3647dc(0x1e1)](_0x2f1fd9,_0x5afedb);},_0x2c029c[_0x599b43(0x377)]=_0xb73125=>{var _0x152e6e=_0x599b43,_0x590188,_0x496d61,_0x42c0ec;if(!((_0x590188=this[_0x152e6e(0x156)])!=null&&_0x590188[_0x152e6e(0x377)]))throw new Error(_0x152e6e(0x299));return(_0x42c0ec=(_0x496d61=this[_0x152e6e(0x156)])==null?void 0x0:_0x496d61['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x42c0ec[_0x152e6e(0x1e1)](_0x496d61,_0xb73125);},_0x2c029c;}async['_init'](){var _0xc9ec0f=_0x59b5b4;const _0x1e017b=await super[_0xc9ec0f(0x28b)]();return this[_0xc9ec0f(0x2d9)](this['_commandService'][_0xc9ec0f(0x344)]((_0x156bba,_0x7e33c2)=>{var _0x389872=_0xc9ec0f;if(_0x156bba[_0x389872(0x331)]!==_0x92706f[_0x389872(0x1fb)]||_0x7e33c2!=null&&_0x7e33c2[_0x389872(0xf9)]||_0x7e33c2!=null&&_0x7e33c2[_0x389872(0x214)]||_0x156bba['id']===_0x27e980['id'])return;const _0x54f264=_0x156bba[_0x389872(0x346)];if((_0x54f264==null?void 0x0:_0x54f264['unitId'])!==this['unitID'])return;const _0x161705=_0x156bba,_0x262858=this['_compressMutationService'][_0x389872(0x387)][_0x389872(0x3a9)](this[_0x389872(0x334)][_0x389872(0x387)][_0x389872(0x1e2)]()[_0x389872(0x11b)])([_0x161705],this[_0x389872(0xfa)])||[_0x161705];this[_0x389872(0x2e6)](_0x262858[0x0]);})),_0x1e017b;}};It=At([$(0x3,_0x1a58da(_0x304bd2)),$(0x4,_0x1a58da(_0x80ee6)),$(0x5,_0x1a58da(_0x37628b)),$(0x6,_0x1a58da(_0x2aa1c4)),$(0x7,_0x1a58da(ve)),$(0x8,_0x33b121),$(0x9,_0x41f1d3),$(0xa,_0x48e048),$(0xb,_0x6680b3),$(0xc,_0x24a4ee(_t)),$(0xd,_0x24a4ee(X))],It);let St=class extends st{constructor(_0x231b20,_0x185544,_0xc65193,_0x228df7,_0x24d2e6,_0x289bed,_0x2455a8,_0x4f897b,_0x289ad1,_0x3486c8,_0x37b655,_0x7aedaf,_0x58b0df,_0x20c2db,_0x1e881b){var _0x563f40=_0x59b5b4;super(_0x231b20,_0xc65193,_0x185544,_0x228df7,_0x24d2e6,_0x289bed,_0x2455a8,_0x289ad1,_0x3486c8,_0x37b655,_0x7aedaf,_0x58b0df,_0x20c2db,_0x1e881b),this['unitID']=_0x231b20,this[_0x563f40(0x331)]=_0x185544,this[_0x563f40(0x18c)]=_0x4f897b;}[_0x59b5b4(0x173)](){var _0x53c8e1=_0x59b5b4;const _0x50103f=super[_0x53c8e1(0x173)]();return _0x50103f['onTransformSelections']=_0xff69af=>this[_0x53c8e1(0x18c)][_0x53c8e1(0x2b7)](_0xff69af),_0x50103f;}async[_0x59b5b4(0x28b)](){var _0x10a1dc=_0x59b5b4;const _0x42c8ad=await super['_init']();return this[_0x10a1dc(0x2d9)](this[_0x10a1dc(0x36f)][_0x10a1dc(0x344)]((_0x2d62c3,_0x197211)=>{var _0xef8b5=_0x10a1dc;if(_0x2d62c3[_0xef8b5(0x331)]!==_0x92706f['MUTATION']||_0x197211!=null&&_0x197211[_0xef8b5(0xf9)]||_0x197211!=null&&_0x197211[_0xef8b5(0x214)])return;const _0x125ad8=_0x2d62c3[_0xef8b5(0x346)];if((_0x125ad8==null?void 0x0:_0x125ad8['unitId'])!==this['unitID'])return;const _0x4086d9=_0x2d62c3,_0x39997a=this[_0xef8b5(0x334)]['interceptor'][_0xef8b5(0x3a9)](this['_compressMutationService'][_0xef8b5(0x387)][_0xef8b5(0x1e2)]()[_0xef8b5(0x11b)])([_0x4086d9],this['_univerInstanceService'])||[_0x4086d9];this['_onLocalMutation'](_0x39997a[0x0]);})),_0x42c8ad;}};St=At([$(0x3,_0x1a58da(_0x304bd2)),$(0x4,_0x1a58da(_0x80ee6)),$(0x5,_0x1a58da(_0x37628b)),$(0x6,_0x1a58da(_0x2aa1c4)),$(0x7,_0x1a58da(it)),$(0x8,_0x1a58da(ve)),$(0x9,_0x33b121),$(0xa,_0x41f1d3),$(0xb,_0x48e048),$(0xc,_0x6680b3),$(0xd,_0x24a4ee(_t)),$(0xe,_0x24a4ee(X))],St);const js=_0x4580bc('univer-pro.collaboration-client.network-condition.service');function Vs(_0x1c1c4e){var _0x51db56=_0x59b5b4,_0x56b70a,_0x5ecc3a,_0x46b477,_0x25223a,_0x5d5f1f;const _0x36c2a5=_0x1c1c4e[_0x51db56(0x14b)],_0x55484b=JSON[_0x51db56(0x213)](_0x36c2a5);switch(_0x55484b[_0x51db56(0x3f5)]){case j[_0x51db56(0x211)]:case j[_0x51db56(0x361)]:{const _0x2088bf=_0x55484b[_0x51db56(0x229)];return{..._0x55484b,'data':_0x2088bf,'cmd':_0x55484b[_0x51db56(0x3f5)]};}case j[_0x51db56(0x245)]:{const _0x5023d4=_0x55484b[_0x51db56(0x329)];return{..._0x55484b,'data':_0x5023d4,'cmd':_0x55484b[_0x51db56(0x3f5)]};}case j['RECV']:{const _0x1e124b=_0x55484b[_0x51db56(0x259)];switch(_0x1e124b['eventID']){case _0x8199d6['PERMISSION_REJ']:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x56b70a=_0x1e124b[_0x51db56(0x19a)])==null?void 0x0:_0x56b70a['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x3ee)]:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x5ecc3a=_0x1e124b[_0x51db56(0x136)])==null?void 0x0:_0x5ecc3a['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6['NEW_CHANGESETS']:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x46b477=_0x1e124b[_0x51db56(0x205)])==null?void 0x0:_0x46b477['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6['CHANGESET_REJ']:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x25223a=_0x1e124b['csRejEvent'])==null?void 0x0:_0x25223a['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6['CHANGESET_SHOULD_RETRY']:return{..._0x55484b,'data':{..._0x1e124b,'data':(_0x5d5f1f=_0x1e124b[_0x51db56(0x17a)])==null?void 0x0:_0x5d5f1f['cs']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x220)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b['updateCursorEvent']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x2e0)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x1e6)]},'cmd':_0x55484b['cmd']};case _0x8199d6['USERS_LEAVE']:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b['leaveEvent']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x310)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x2c3)]},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x25b)]:case _0x8199d6[_0x51db56(0x1ba)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x25f)]},'cmd':_0x55484b['cmd']};case _0x8199d6[_0x51db56(0x289)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b['liveShareNewHost']},'cmd':_0x55484b['cmd']};case _0x8199d6['MSG_FOR_ERROR']:return{..._0x55484b,'data':_0x1e124b,'cmd':_0x55484b['cmd']};case _0x8199d6[_0x51db56(0x16d)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b['commentUpdateEvent']},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6['UPDATE_PERMISSION_OBJ']:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x1d5)]},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x18e)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x162)]},'cmd':_0x55484b[_0x51db56(0x3f5)]};case _0x8199d6[_0x51db56(0x1c9)]:return{..._0x55484b,'data':{..._0x1e124b,'data':_0x1e124b[_0x51db56(0x176)]},'cmd':_0x55484b[_0x51db56(0x3f5)]};default:return _0x55484b;}}default:return _0x55484b;}}function Gs(_0x46fed4){var _0x50a053=_0x59b5b4;switch(_0x46fed4[_0x50a053(0x3f5)]){case j['HEARTBEAT']:case j[_0x50a053(0x361)]:return JSON['stringify']({'cmd':_0x46fed4[_0x50a053(0x3f5)],'routeKey':_0x46fed4[_0x50a053(0x208)]});case j[_0x50a053(0xf2)]:{let _0x4cb80c;switch(_0x46fed4['data'][_0x50a053(0x1a4)]){case _0x8199d6[_0x50a053(0x220)]:{_0x4cb80c={'eventID':_0x8199d6['UPDATE_CURSOR'],'updateCursorEvent':_0x46fed4['data'][_0x50a053(0x14b)]};break;}case _0x8199d6['USERS_LEAVE']:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x2d7)],'leaveEvent':_0x46fed4['data']['data']};break;}case _0x8199d6[_0x50a053(0x2e0)]:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x2e0)],'joinEvent':_0x46fed4['data']['data']};break;}case _0x8199d6['LIVESHARE_NEW_HOST']:{_0x4cb80c={'eventID':_0x8199d6['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x46fed4[_0x50a053(0x14b)][_0x50a053(0x14b)]};break;}case _0x8199d6[_0x50a053(0x1ba)]:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x1ba)],'liveShareOperation':_0x46fed4[_0x50a053(0x14b)][_0x50a053(0x14b)]};break;}case _0x8199d6[_0x50a053(0x289)]:{_0x4cb80c={'eventID':_0x8199d6['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x46fed4[_0x50a053(0x14b)]['data']};break;}case _0x8199d6[_0x50a053(0x1e9)]:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x1e9)],'liveShareRequestHost':_0x46fed4[_0x50a053(0x14b)][_0x50a053(0x14b)]};break;}case _0x8199d6['LIVESHARE_FETCH_OPERATIONS']:{_0x4cb80c={'eventID':_0x8199d6[_0x50a053(0x25b)]};break;}default:_0x4cb80c={'eventID':_0x46fed4[_0x50a053(0x14b)][_0x50a053(0x1a4)]};}return JSON[_0x50a053(0x273)]({'cmd':_0x46fed4[_0x50a053(0x3f5)],'routeKey':_0x46fed4[_0x50a053(0x208)],'collaMsg':_0x4cb80c});}case j[_0x50a053(0x245)]:return JSON[_0x50a053(0x273)]({'cmd':_0x46fed4[_0x50a053(0x3f5)],'routeKey':_0x46fed4[_0x50a053(0x208)],'joinReq':_0x46fed4[_0x50a053(0x14b)]});case j[_0x50a053(0x34a)]:return JSON[_0x50a053(0x273)]({'cmd':_0x46fed4[_0x50a053(0x3f5)],'routeKey':_0x46fed4[_0x50a053(0x208)],'leaveReq':_0x46fed4['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x1f3b8a,_0x5a3d80,_0x2947bb,_0x230ba5)=>{var _0xf133f7=_0x59b5b4;for(var _0x4a2c44=_0x230ba5>0x1?void 0x0:_0x230ba5?Ws(_0x5a3d80,_0x2947bb):_0x5a3d80,_0x79356b=_0x1f3b8a[_0xf133f7(0x1c0)]-0x1,_0x3f818a;_0x79356b>=0x0;_0x79356b--)(_0x3f818a=_0x1f3b8a[_0x79356b])&&(_0x4a2c44=_0x3f818a(_0x4a2c44)||_0x4a2c44);return _0x4a2c44;},ye=(_0x50ba66,_0x140b26)=>(_0x5b0ed2,_0x5b66d0)=>_0x140b26(_0x5b0ed2,_0x5b66d0,_0x50ba66);const Ri=_0x4580bc(_0x59b5b4(0x1ee));function Ks(_0x40803e,_0x2f98dd,_0xf829b1){var _0x4b6761=_0x59b5b4;return _0x40803e+'/'+_0x2f98dd+'/unit/'+_0xf829b1+_0x4b6761(0xec);}let Gt=class extends _0xc67a27{constructor(_0x3f35d0,_0x27de80,_0x49f203,_0x3aaa71,_0x2c0078){var _0x1cc2a6=_0x59b5b4;super(),this[_0x1cc2a6(0x160)]=_0x3f35d0,this[_0x1cc2a6(0x152)]=_0x27de80,this[_0x1cc2a6(0x3b5)]=_0x49f203,this[_0x1cc2a6(0x12a)]=_0x3aaa71,this['_snapshotServerService']=_0x2c0078;}[_0x59b5b4(0x269)](_0x31c142){var _0x4a1b5b=_0x59b5b4;const _0x5d2c96=this[_0x4a1b5b(0x160)]['get'](_0x28aa13);if(!_0x5d2c96)throw new Error(_0x4a1b5b(0x345));const _0x31afa4=_0x5d2c96[_0x4a1b5b(0x2e1)](_0x31c142);if(!_0x31afa4)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x3fe849=new _0x4dd381(),_0x48cf0c=new _0x392b17();_0x3fe849[_0x4a1b5b(0x2a9)](_0x31afa4[_0x4a1b5b(0x1ec)][_0x4a1b5b(0x326)](_0x200459=>_0x48cf0c[_0x4a1b5b(0x283)](_0x200459))),_0x3fe849[_0x4a1b5b(0x2a9)](_0x3b1318(()=>_0x48cf0c['complete']()));const _0x1dbf5a=new _0x392b17();_0x3fe849['add'](_0x31afa4[_0x4a1b5b(0x11f)][_0x4a1b5b(0x326)](_0x3dea7c=>_0x1dbf5a[_0x4a1b5b(0x283)](_0x3dea7c))),_0x3fe849['add'](_0x3b1318(()=>_0x1dbf5a[_0x4a1b5b(0x3eb)]()));const _0x10f702=new _0x392b17();_0x3fe849[_0x4a1b5b(0x2a9)](_0x31afa4[_0x4a1b5b(0x19d)]['subscribe'](_0x5ebb05=>{var _0x53b6cb=_0x4a1b5b;const _0x334c1a=Vs(_0x5ebb05);_0x10f702[_0x53b6cb(0x283)](_0x334c1a);})),_0x3fe849[_0x4a1b5b(0x2a9)](_0x3b1318(()=>_0x10f702[_0x4a1b5b(0x3eb)]()));let _0x3cb85a;const _0x413ef8=()=>{var _0x14a191=_0x4a1b5b;_0x1dbf5a[_0x14a191(0x283)](new Event(_0x14a191(0x3c6))),_0x48cf0c['next'](new Event(_0x14a191(0x3c6))),_0x3cb85a['close']();};return _0x3cb85a={'memberID':'','close$':_0x48cf0c[_0x4a1b5b(0x15a)](),'error$':_0x1dbf5a['asObservable'](),'open$':_0x31afa4[_0x4a1b5b(0x14f)],'message$':_0x10f702[_0x4a1b5b(0x15a)](),'send':_0x2009f8=>{var _0x119c97=_0x4a1b5b;if(_0x2009f8['cmd']===j[_0x119c97(0xf2)]){if(_0x2009f8[_0x119c97(0x14b)][_0x119c97(0x1a4)]===_0x8199d6[_0x119c97(0x376)]){this[_0x119c97(0x25d)](_0x3cb85a,_0x2009f8[_0x119c97(0x14b)])['catch'](_0x50e80f=>{var _0x346a6d=_0x119c97;this[_0x346a6d(0x12a)][_0x346a6d(0x31e)](_0x50e80f),_0x413ef8();});return;}if(_0x2009f8['data'][_0x119c97(0x1a4)]===_0x8199d6['FETCH_MISSING']){const _0x50f9b3=_0x2009f8[_0x119c97(0x14b)];this['_fetchMissChangesets'](_0x50f9b3)['then'](_0x35dc00=>{var _0x2acdad=_0x119c97;_0x10f702['next']({'cmd':j['RECV'],'code':Ee['OK'],'routeKey':_0x50f9b3['data']['unitID'],'routeType':'','data':{'eventID':_0x8199d6[_0x2acdad(0x2a1)],'data':{'changesets':_0x35dc00}}});})['catch'](_0x3182b8=>{var _0x1581b2=_0x119c97;this['_logService'][_0x1581b2(0x31e)](_0x3182b8),_0x413ef8();});return;}}_0x31afa4['send'](Gs(_0x2009f8));},'close':()=>{var _0x3db7f5=_0x4a1b5b;_0x31afa4[_0x3db7f5(0x145)](),_0x3fe849[_0x3db7f5(0x2b2)]();}},_0x3cb85a;}async[_0x59b5b4(0x25d)](_0x39fb7c,_0x166c4d){var _0x3dccb3=_0x59b5b4,_0x32bc11;const {unitType:_0x1941b8,unitID:_0x2fb13d,changeset:_0x587c4c}=_0x166c4d['data'],_0x4b4f91={'unitID':_0x2fb13d,'memberID':_0x39fb7c[_0x3dccb3(0x1c4)],'type':_0x1941b8,'changeset':_0x127fce(_0x587c4c)},_0x58b10b=this[_0x3dccb3(0x3b5)][_0x3dccb3(0x1c1)](K),_0x94049a=Ks((_0x32bc11=_0x58b10b==null?void 0x0:_0x58b10b[_0x3dccb3(0x251)])!=null?_0x32bc11:Rs,_0x1941b8,_0x2fb13d);try{await this[_0x3dccb3(0x152)][_0x3dccb3(0x1e4)](_0x94049a,{'body':_0x4b4f91});}catch(_0x497b44){throw this['_logService'][_0x3dccb3(0x31e)]('[CollaborationSession]',_0x3dccb3(0x24c)),_0x497b44;}}async[_0x59b5b4(0x404)](_0x5b0705){var _0x3b0dd4=_0x59b5b4;const {unitID:_0x5ea35e,from:_0x3a8e5c,to:_0x43f9f6,unitType:_0x572f27}=_0x5b0705['data'];return(await this[_0x3b0dd4(0x24b)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5ea35e,'type':_0x572f27,'from':_0x3a8e5c,'to':_0x43f9f6}))[_0x3b0dd4(0x35c)]['map'](_0x4dfae1=>((_0x4dfae1[_0x3b0dd4(0x30e)]===null||_0x4dfae1[_0x3b0dd4(0x30e)]===void 0x0)&&(_0x4dfae1[_0x3b0dd4(0x30e)]=[]),_0x4dfae1));}};Gt=Ys([ye(0x0,_0x1a58da(_0x304bd2)),ye(0x1,_0x1a58da(_0x28317b)),ye(0x2,_0x4cf79c),ye(0x3,_0x41f1d3),ye(0x4,_0x153314)],Gt);var qs=Object['getOwnPropertyDescriptor'],zs=(_0x4b75a3,_0x512ef9,_0x3774c7,_0x2933c0)=>{var _0x15e470=_0x59b5b4;for(var _0x4244de=_0x2933c0>0x1?void 0x0:_0x2933c0?qs(_0x512ef9,_0x3774c7):_0x512ef9,_0xf7ae01=_0x4b75a3[_0x15e470(0x1c0)]-0x1,_0x3350dc;_0xf7ae01>=0x0;_0xf7ae01--)(_0x3350dc=_0x4b75a3[_0xf7ae01])&&(_0x4244de=_0x3350dc(_0x4244de)||_0x4244de);return _0x4244de;},Re=(_0x2d6fce,_0x4cbbd8)=>(_0x2e4d5b,_0x4c2e6a)=>_0x4cbbd8(_0x2e4d5b,_0x4c2e6a,_0x2d6fce);let Le=class extends _0xc67a27{constructor(_0x52741b,_0x48d5d5,_0x224540,_0x357aa8,_0x4f8335,_0x41c888){var _0x408e8e=_0x59b5b4;super(),D(this,_0x408e8e(0x10d),new _0xfba9c5(void 0x0)),D(this,_0x408e8e(0x249),this[_0x408e8e(0x10d)][_0x408e8e(0x15a)]()),D(this,'_candidateSocket',null),D(this,_0x408e8e(0x120),new Map()),D(this,_0x408e8e(0x1a1),new _0xfba9c5(me['IDLE'])),D(this,_0x408e8e(0x19b),this[_0x408e8e(0x1a1)][_0x408e8e(0x15a)]()),D(this,'_socketReady',!0x1),D(this,_0x408e8e(0x23d)),D(this,'_retryCount',0x0),D(this,_0x408e8e(0x3d5)),D(this,_0x408e8e(0x204)),(this['_injector']=_0x52741b,this[_0x408e8e(0x12a)]=_0x48d5d5,this[_0x408e8e(0x3b5)]=_0x224540,this[_0x408e8e(0x3e1)]=_0x357aa8,this['_collaborationUIEventService']=_0x4f8335,this[_0x408e8e(0x222)]=_0x41c888,this['_listenToNetworkCondition']());}get[_0x59b5b4(0x15c)](){var _0x23b0d6=_0x59b5b4;return this[_0x23b0d6(0x10d)]['getValue']();}[_0x59b5b4(0x3d1)](){var _0x53416f=_0x59b5b4;this[_0x53416f(0x222)]&&this['disposeWithMe'](this[_0x53416f(0x222)][_0x53416f(0x353)][_0x53416f(0x326)](_0x11a73a=>{var _0x2c673d=_0x53416f;_0x11a73a&&!this[_0x2c673d(0x15c)]&&this[_0x2c673d(0x3f9)](),_0x11a73a||this['_onOffline']();}));}[_0x59b5b4(0x2b2)](){var _0x1c71ff=_0x59b5b4;super['dispose'](),this[_0x1c71ff(0x1bd)](),this[_0x1c71ff(0x286)](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0xe3bcec=>_0xe3bcec[_0x1c71ff(0x2b2)]()),this['_sessions'][_0x1c71ff(0x2fc)](),this[_0x1c71ff(0x1a1)]['complete']();}async[_0x59b5b4(0xff)](_0x30f068){var _0x3ce9d5=_0x59b5b4;if(this[_0x3ce9d5(0x120)]['has'](_0x30f068))return this[_0x3ce9d5(0x120)]['get'](_0x30f068);this[_0x3ce9d5(0x30a)]();const _0x4a0c12=this[_0x3ce9d5(0x160)]['createInstance'](mt,_0x30f068,this[_0x3ce9d5(0x10d)]['asObservable']());return this['_sessions'][_0x3ce9d5(0x321)](_0x30f068,_0x4a0c12),_0x4a0c12;}[_0x59b5b4(0x100)](_0x3d003e){var _0x52cfa1=_0x59b5b4,_0x3733cc;const _0x3d6196=this[_0x52cfa1(0x120)][_0x52cfa1(0x21f)](_0x3d003e);_0x3d6196&&(this['_sessions'][_0x52cfa1(0x192)](_0x3d003e),_0x3d6196[_0x52cfa1(0x145)]()),this[_0x52cfa1(0x120)][_0x52cfa1(0x1ad)]||(_0x3733cc=this[_0x52cfa1(0x15c)])==null||_0x3733cc[_0x52cfa1(0x145)]();}[_0x59b5b4(0x3f9)](){var _0x2b81b3=_0x59b5b4;this[_0x2b81b3(0x1a6)]=0x0,this[_0x2b81b3(0x1bd)](),this['_tryReconnect']();}[_0x59b5b4(0x1bd)](){var _0x58e029=_0x59b5b4;this[_0x58e029(0x23d)]!=null&&(clearTimeout(this[_0x58e029(0x23d)]),this[_0x58e029(0x23d)]=null);}async[_0x59b5b4(0x196)](){var _0x379fb7=_0x59b5b4,_0x29eec4;const _0x2430d3=this['_configService']['getConfig'](K),_0x4b7d43=(_0x29eec4=_0x2430d3==null?void 0x0:_0x2430d3[_0x379fb7(0x21d)])!=null?_0x29eec4:ms,_0x18fb7b=await this[_0x379fb7(0x3e1)][_0x379fb7(0x2e1)](_0x4b7d43);return this[_0x379fb7(0x103)]=_0x18fb7b,_0x18fb7b;}async[_0x59b5b4(0x30a)](){var _0x3e8153=_0x59b5b4,_0x5a3e77,_0x5bc639;try{const _0x5defb3=(_0x5bc639=(_0x5a3e77=this['_socket'])!=null?_0x5a3e77:this[_0x3e8153(0x103)])!=null?_0x5bc639:await this['_createSocket']();if(_0x5defb3){const _0x304f46=_0x5defb3[_0x3e8153(0x1d9)];_0x5defb3[_0x3e8153(0x1d9)]=_0x47031e=>(this[_0x3e8153(0xfc)](),_0x304f46['apply'](_0x5defb3,[_0x47031e])),_0x5defb3['message$']['subscribe'](_0x7a365=>this[_0x3e8153(0x114)](_0x5defb3,_0x7a365)),_0x5defb3['error$'][_0x3e8153(0x3fe)](_0x305e89(0x1))[_0x3e8153(0x326)](_0x1eabc3=>this[_0x3e8153(0x12a)][_0x3e8153(0x31e)](_0x3e8153(0x15b),_0x1eabc3)),_0x5defb3[_0x3e8153(0x14f)][_0x3e8153(0x3fe)](_0x305e89(0x1))[_0x3e8153(0x326)](()=>{var _0x582a99=_0x3e8153;this[_0x582a99(0xf6)](_0x5defb3);}),_0x5defb3[_0x3e8153(0x1ec)][_0x3e8153(0x3fe)](_0x305e89(0x1))['subscribe'](_0x20aa46=>{var _0x472a2f=_0x3e8153;this[_0x472a2f(0x12a)][_0x472a2f(0x166)](_0x472a2f(0x3bc),_0x472a2f(0x141),_0x20aa46),this['_onConnectionFailed']();});}}catch(_0x39d9df){this[_0x3e8153(0x12a)][_0x3e8153(0x31e)](_0x39d9df),this[_0x3e8153(0x18b)]();}}['_onConnectionOpen'](_0x3a82f3){var _0x343fcc=_0x59b5b4;this[_0x343fcc(0x12a)][_0x343fcc(0x166)](_0x343fcc(0x3bc),_0x343fcc(0x105)),_0x3a82f3[_0x343fcc(0x1d9)]({'cmd':j['HELLO']}),this[_0x343fcc(0xfc)]();}[_0x59b5b4(0x2fd)](){var _0x29ca49=_0x59b5b4;this[_0x29ca49(0x375)]=!0x1,this[_0x29ca49(0x103)]=null,this[_0x29ca49(0x1a1)]['next'](me[_0x29ca49(0x1d3)]),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x59b5b4(0x18b)](){var _0x253931=_0x59b5b4,_0x541cd4;this[_0x253931(0x2fd)](),this[_0x253931(0x1a6)]<((_0x541cd4=this['_configService'][_0x253931(0x1c1)](Ts))!=null?_0x541cd4:Os)?(this[_0x253931(0x3d7)][_0x253931(0xf1)]({'id':re[_0x253931(0xe4)]}),this[_0x253931(0x202)]()):this[_0x253931(0x3d7)][_0x253931(0xf1)]({'id':re[_0x253931(0x340)]});}[_0x59b5b4(0x202)](){var _0x1d4816=_0x59b5b4,_0x2ef5a8;const _0x4a203c=this[_0x1d4816(0x1a6)],_0x47ec56=this['_configService'][_0x1d4816(0x1c1)](K),_0x582b2e=_0x4a203c===0x0?0x0:((_0x2ef5a8=_0x47ec56==null?void 0x0:_0x47ec56[_0x1d4816(0x1f6)])!=null?_0x2ef5a8:gs)*0x2**_0x4a203c;this[_0x1d4816(0x23d)]=setTimeout(()=>{var _0x1d2195=_0x1d4816;clearTimeout(this['_retryConnectingTimer']),this[_0x1d2195(0x23d)]=null,this[_0x1d2195(0x30a)]();},_0x582b2e),this[_0x1d4816(0x1a6)]+=0x1;}[_0x59b5b4(0x114)](_0x172e72,_0x503364){var _0x3cdb15=_0x59b5b4;const {cmd:_0x4787e6}=_0x503364;_0x4787e6===j['HELLO']&&!this['_socketReady']&&(_0x172e72[_0x3cdb15(0x1c4)]=_0x503364['data'][_0x3cdb15(0x1c4)],this[_0x3cdb15(0x10d)]['next'](_0x172e72),this[_0x3cdb15(0x1a1)][_0x3cdb15(0x283)](me['ONLINE']),this[_0x3cdb15(0x375)]=!0x0,this[_0x3cdb15(0x103)]=null),_0x4787e6===j[_0x3cdb15(0x211)]&&this[_0x3cdb15(0x286)](),this['_rescheduleHeartbeat']();}[_0x59b5b4(0xfc)](){var _0x49a896=_0x59b5b4,_0x323727;this['_clearHeartbeatTimer'](),this[_0x49a896(0x3d5)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x323727=this[_0x49a896(0x3b5)][_0x49a896(0x1c1)](Is))!=null?_0x323727:Ss);}[_0x59b5b4(0x3e4)](){var _0xbf0913=_0x59b5b4;this[_0xbf0913(0x15c)][_0xbf0913(0x1d9)]({'cmd':j[_0xbf0913(0x211)]}),this[_0xbf0913(0x1f0)]();}[_0x59b5b4(0x1f0)](){var _0x18b06f=_0x59b5b4,_0x40d222;this[_0x18b06f(0x204)]=setTimeout(()=>this[_0x18b06f(0x18b)](),(_0x40d222=this[_0x18b06f(0x3b5)][_0x18b06f(0x1c1)](di))!=null?_0x40d222:fi);}['_clearHeartbeatTimer'](){var _0x57204c=_0x59b5b4;this[_0x57204c(0x3d5)]!=null&&(clearTimeout(this[_0x57204c(0x3d5)]),this[_0x57204c(0x3d5)]=null);}[_0x59b5b4(0x286)](){var _0x312614=_0x59b5b4;this[_0x312614(0x204)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x312614(0x204)]=null);}};Le=zs([Re(0x0,_0x1a58da(_0x304bd2)),Re(0x1,_0x41f1d3),Re(0x2,_0x4cf79c),Re(0x3,Ri),Re(0x4,_0x1a58da(ve)),Re(0x5,_0x24a4ee(js))],Le);var Xs=Object[_0x59b5b4(0x298)],Js=(_0x2bf6b7,_0x26212c,_0x4e99ff,_0x314708)=>{var _0x436f47=_0x59b5b4;for(var _0x1e56aa=_0x314708>0x1?void 0x0:_0x314708?Xs(_0x26212c,_0x4e99ff):_0x26212c,_0x514d5c=_0x2bf6b7[_0x436f47(0x1c0)]-0x1,_0x52f248;_0x514d5c>=0x0;_0x514d5c--)(_0x52f248=_0x2bf6b7[_0x514d5c])&&(_0x1e56aa=_0x52f248(_0x1e56aa)||_0x1e56aa);return _0x1e56aa;},Be=(_0x5f3452,_0x3afb23)=>(_0x10be96,_0x109ca4)=>_0x3afb23(_0x10be96,_0x109ca4,_0x5f3452);let nt=class extends _0x5385ac{constructor(_0x207eeb,_0x53cf79,_0x4df73b,_0x1cd7bc){var _0x504598=_0x59b5b4,_0x3ca970;super(),D(this,'_entities',new Map()),D(this,'_entityInit$',new _0x392b17()),D(this,_0x504598(0x124),this[_0x504598(0x235)][_0x504598(0x15a)]()),(this[_0x504598(0x160)]=_0x207eeb,this[_0x504598(0x39d)]=_0x53cf79,this[_0x504598(0x3b5)]=_0x4df73b,this[_0x504598(0xfa)]=_0x1cd7bc,((_0x3ca970=this[_0x504598(0x3b5)][_0x504598(0x1c1)](K))==null?void 0x0:_0x3ca970[_0x504598(0x2a0)])!==!0x1&&this[_0x504598(0x28b)]());}['dispose'](){var _0x45dff6=_0x59b5b4;super[_0x45dff6(0x2b2)](),this[_0x45dff6(0x35d)][_0x45dff6(0x22f)](_0x1c9d44=>_0x1c9d44['dispose']()),this[_0x45dff6(0x35d)][_0x45dff6(0x2fc)]();}[_0x59b5b4(0x32d)](_0x5dd1bf){var _0x15a733=_0x59b5b4,_0x3fc5e4;return(_0x3fc5e4=this[_0x15a733(0x35d)][_0x15a733(0x21f)](_0x5dd1bf))!=null?_0x3fc5e4:null;}[_0x59b5b4(0x159)](_0x314324){var _0xaf42da=_0x59b5b4;const _0x447335=this[_0xaf42da(0x32d)](_0x314324);return _0x447335?_0x27446f(_0x447335):this['_entityInit$'][_0xaf42da(0x3fe)](_0x2264c4(_0x5de21a=>_0x5de21a[_0xaf42da(0x266)]===_0x314324));}[_0x59b5b4(0x1fc)](_0x1d236f){return _0x21f454(this['getCollabEntity$'](_0x1d236f)['pipe'](_0x3f2333(()=>{})));}[_0x59b5b4(0x28b)](){var _0x491074=_0x59b5b4;this[_0x491074(0xfa)][_0x491074(0x184)](_0x5160b0[_0x491074(0x21e)])[_0x491074(0x3fe)](_0x4620b1(this['dispose$']),_0xc7b00c(0x10))[_0x491074(0x326)](async _0x129d4e=>{var _0x3cf258=_0x491074;const _0x2b3ede=_0x129d4e[_0x3cf258(0x115)](),_0xeaa0bd=await this[_0x3cf258(0x2ec)](_0x2b3ede,Q[_0x3cf258(0x21e)]);this[_0x3cf258(0x35d)][_0x3cf258(0x321)](_0x2b3ede,_0xeaa0bd);}),this[_0x491074(0xfa)]['getTypeOfUnitAdded$'](_0x5160b0[_0x491074(0x33f)])[_0x491074(0x3fe)](_0x4620b1(this[_0x491074(0x312)]),_0xc7b00c(0x10))[_0x491074(0x3fe)](_0x2264c4(_0x1d6a4f=>!_0x1d6a4f[_0x491074(0x115)]()[_0x491074(0x3df)]('__')))[_0x491074(0x326)](async _0x27502b=>{var _0x3583f7=_0x491074;const _0x1030d9=_0x27502b[_0x3583f7(0x115)](),_0x45974c=await this[_0x3583f7(0x2ec)](_0x1030d9,Q[_0x3583f7(0x33f)]);this[_0x3583f7(0x35d)][_0x3583f7(0x321)](_0x1030d9,_0x45974c);}),_0x58a98c(this[_0x491074(0xfa)][_0x491074(0x3de)](_0x5160b0[_0x491074(0x21e)]),this[_0x491074(0xfa)][_0x491074(0x3de)](_0x5160b0['UNIVER_DOC']))['pipe'](_0x4620b1(this[_0x491074(0x312)]))['subscribe'](_0x59d513=>{var _0x3cd0a2=_0x491074;const _0x1217f9=_0x59d513[_0x3cd0a2(0x115)](),_0x40f8d6=this[_0x3cd0a2(0x35d)][_0x3cd0a2(0x21f)](_0x1217f9);_0x40f8d6&&(_0x40f8d6['dispose'](),this[_0x3cd0a2(0x35d)]['delete'](_0x1217f9));});}async[_0x59b5b4(0x2ec)](_0x136ddc,_0x280174){var _0x50ffce=_0x59b5b4;const _0x21a2ab=await this[_0x50ffce(0x39d)]['requireSession'](_0x136ddc),_0x1bc626=this[_0x50ffce(0x160)]['createInstance'](this[_0x50ffce(0x297)](_0x280174),_0x136ddc,_0x280174,_0x21a2ab);return await _0x1bc626[_0x50ffce(0x138)](),this[_0x50ffce(0x235)][_0x50ffce(0x283)](_0x1bc626),_0x1bc626;}[_0x59b5b4(0x297)](_0x4a483c){var _0x27a95a=_0x59b5b4;switch(_0x4a483c){case Q[_0x27a95a(0x33f)]:return It;case Q[_0x27a95a(0x21e)]:return St;default:throw new Error(_0x27a95a(0x2cb)+_0x4a483c);}}};nt=Js([Be(0x0,_0x1a58da(_0x304bd2)),Be(0x1,_0x1a58da(Le)),Be(0x2,_0x4cf79c),Be(0x3,_0x33b121)],nt);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x1c44ce,_0x1e753a,_0x16d3d0,_0x59768f)=>{var _0x455e78=_0x59b5b4;for(var _0x53d84b=_0x59768f>0x1?void 0x0:_0x59768f?Zs(_0x1e753a,_0x16d3d0):_0x1e753a,_0x3cb49d=_0x1c44ce[_0x455e78(0x1c0)]-0x1,_0x558861;_0x3cb49d>=0x0;_0x3cb49d--)(_0x558861=_0x1c44ce[_0x3cb49d])&&(_0x53d84b=_0x558861(_0x53d84b)||_0x53d84b);return _0x53d84b;},Wt=(_0x5ad898,_0x540b50)=>(_0x20b7fe,_0x5d00f9)=>_0x540b50(_0x20b7fe,_0x5d00f9,_0x5ad898);const en=_0x59b5b4(0x168),tn='Univer';let gt=class extends _0xc67a27{constructor(_0x2363f7,_0x1b7b4e){var _0x5d80dc=_0x59b5b4;super(),this[_0x5d80dc(0xfa)]=_0x2363f7,this[_0x5d80dc(0x3b5)]=_0x1b7b4e,this[_0x5d80dc(0x28b)]();}[_0x59b5b4(0x28b)](){var _0x17fc24=_0x59b5b4;this['disposeWithMe'](this[_0x17fc24(0xfa)][_0x17fc24(0x1d0)][_0x17fc24(0x326)](()=>{var _0x1421be=_0x17fc24,_0x18b2fc;const _0x589735=this[_0x1421be(0xfa)]['getFocusedUnit']();let _0x534a7c=(_0x18b2fc=this[_0x1421be(0x3b5)]['getConfig'](en))!=null?_0x18b2fc:tn;_0x589735 instanceof _0x3bc15c&&(_0x534a7c=_0x589735['name']),document['title']=_0x534a7c;}));}};gt=Qs([Wt(0x0,_0x33b121),Wt(0x1,_0x4cf79c)],gt);var sn=Object[_0x59b5b4(0x298)],nn=(_0x8f9e69,_0x13befe,_0x5e9913,_0x268343)=>{var _0x205f97=_0x59b5b4;for(var _0x1cabbf=_0x268343>0x1?void 0x0:_0x268343?sn(_0x13befe,_0x5e9913):_0x13befe,_0x2fdc17=_0x8f9e69[_0x205f97(0x1c0)]-0x1,_0x3b05af;_0x2fdc17>=0x0;_0x2fdc17--)(_0x3b05af=_0x8f9e69[_0x2fdc17])&&(_0x1cabbf=_0x3b05af(_0x1cabbf)||_0x1cabbf);return _0x1cabbf;},dt=(_0x15b44e,_0x4a295d)=>(_0x191e11,_0x279fdd)=>_0x4a295d(_0x191e11,_0x279fdd,_0x15b44e);let rt=class{constructor(_0x4bc46a,_0x2dd4a5,_0x45413b){var _0x3f8f16=_0x59b5b4;this['_configService']=_0x4bc46a,this['_httpService']=_0x2dd4a5,this[_0x3f8f16(0x270)]=_0x45413b,this[_0x3f8f16(0x138)]();}['init'](){var _0x2bce34=_0x59b5b4;this['_httpService'][_0x2bce34(0x261)]({'priority':0x1,'interceptor':(_0x36e73a,_0x59d7c7)=>_0x59d7c7(_0x36e73a)['pipe'](_0x2c5b73(async _0x2bb1d6=>{var _0x5f3dfd=_0x2bce34;const _0x274a14=_0x2bb1d6;if(_0x274a14['status']===0x191){if(typeof window>'u')throw new Error(_0x5f3dfd(0x2f6));if(window[_0x5f3dfd(0x1bf)](this[_0x5f3dfd(0x270)]['t']('auth.needGotoLoginAlert'))){const _0x31d07c=window[_0x5f3dfd(0x27e)](window[_0x5f3dfd(0x2c6)][_0x5f3dfd(0x119)]);window[_0x5f3dfd(0x2c6)][_0x5f3dfd(0x119)]=this['_getLoginPath']()+_0x5f3dfd(0x2fe)+_0x31d07c;}}return _0x274a14;}))});}[_0x59b5b4(0x3f2)](){var _0x378a21=_0x59b5b4,_0x2a566b;const _0x25af78=this['_configService'][_0x378a21(0x1c1)](K);return(_0x2a566b=_0x25af78==null?void 0x0:_0x25af78[_0x378a21(0x17f)])!=null?_0x2a566b:Ns;}};rt=nn([dt(0x0,_0x4cf79c),dt(0x1,_0x1a58da(_0x28317b)),dt(0x2,_0x1a58da(_0x37628b))],rt);var rn=Object[_0x59b5b4(0x298)],an=(_0x30022f,_0x28b8cb,_0x10fd7e,_0x1c2ba8)=>{var _0x1c2c91=_0x59b5b4;for(var _0x30bd83=_0x1c2ba8>0x1?void 0x0:_0x1c2ba8?rn(_0x28b8cb,_0x10fd7e):_0x28b8cb,_0x406dfe=_0x30022f[_0x1c2c91(0x1c0)]-0x1,_0x2ed785;_0x406dfe>=0x0;_0x406dfe--)(_0x2ed785=_0x30022f[_0x406dfe])&&(_0x30bd83=_0x2ed785(_0x30bd83)||_0x30bd83);return _0x30bd83;},Yt=(_0x4cfc9a,_0x12f583)=>(_0x5efd4a,_0x16f6f0)=>_0x12f583(_0x5efd4a,_0x16f6f0,_0x4cfc9a);const on='/universer-api/authz';let Tt=class extends _0xc67a27{constructor(_0x4eda26,_0x32b51e){var _0x23f6a6=_0x59b5b4;super(),this[_0x23f6a6(0x268)]=_0x4eda26,this[_0x23f6a6(0x3b5)]=_0x32b51e,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x206182=_0x59b5b4;const _0x3f6bc0=this;this[_0x206182(0x2d9)](this[_0x206182(0x268)][_0x206182(0x261)]({'priority':0x3e7,'interceptor':_0x3a07d1({'isMatch'(_0x5b80dd){var _0x2c15d9=_0x206182,_0x5be514;if(_0x5b80dd[_0x2c15d9(0x15f)]===_0x2c15d9(0x2ed)&&((_0x5be514=_0x5b80dd[_0x2c15d9(0x180)])!=null&&_0x5be514[_0x2c15d9(0x1aa)])){const {objectID:_0x47c45a,objectType:_0x4db5f4}=_0x5b80dd[_0x2c15d9(0x180)][_0x2c15d9(0x1aa)]||{};if(!_0x47c45a||_0x4db5f4===void 0x0)return!0x1;const _0xc89388=_0x3f6bc0[_0x2c15d9(0x2f8)]()+'/'+_0x4db5f4+_0x2c15d9(0x1ea)+_0x47c45a+_0x2c15d9(0x2f4);if(_0x5b80dd['url']===_0xc89388)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x56220f){var _0x4f4cc9=_0x206182,_0x520e5d;return(_0x520e5d=_0x56220f[_0x4f4cc9(0x180)])==null?void 0x0:_0x520e5d[_0x4f4cc9(0x1aa)];},'mergeParamsToRequest'(_0xafd1a8,_0x55d8e4){var _0x8778a6=_0x206182;const _0xa5697=_0x3f6bc0['_getAPIPrefixPath']()+_0x8778a6(0x13b),_0x4795ee=_0xafd1a8[_0x8778a6(0x194)]((_0x169f2b,_0x20b995)=>{var _0x116cde=_0x8778a6;const {unitID:_0x3e69c6,objectID:_0xda13d2,objectType:_0x51de3d,actions:_0xc0dd18}=_0x20b995;return _0x169f2b[_0x3e69c6]||(_0x169f2b[_0x3e69c6]={}),_0x169f2b[_0x3e69c6][_0xda13d2]||(_0x169f2b[_0x3e69c6][_0xda13d2]={'objectID':_0xda13d2,'objectType':_0x51de3d,'actions':[]}),_0x169f2b[_0x3e69c6][_0xda13d2][_0x116cde(0x278)]['push'](..._0xc0dd18),_0x169f2b;},{}),_0x4e1659=[];for(const _0x1f3a74 in _0x4795ee)for(const _0x357403 in _0x4795ee[_0x1f3a74]){const {actions:_0x112cd9,objectType:_0x790160}=_0x4795ee[_0x1f3a74][_0x357403],_0x385ea6=[...new Set(_0x112cd9)];_0x4e1659[_0x8778a6(0x2c8)]({'unitID':_0x1f3a74,'objectID':_0x357403,'objectType':_0x790160,'actions':_0x385ea6});}return new _0x469672(_0x8778a6(0x2ed),_0xa5697,{'headers':_0x55d8e4['headers'],'withCredentials':_0x55d8e4[_0x8778a6(0x22b)],'responseType':_0x55d8e4[_0x8778a6(0x1ed)],'body':{'requests':_0x4e1659}});}},{'distributeResult'(_0x49794,_0x33c932){var _0x219e8a=_0x206182;const {objectActions:_0x5c4066}=_0x49794;return _0x33c932[_0x219e8a(0x1a3)](_0x5c583b=>{var _0x4d6a30=_0x219e8a;const {unitID:_0x3da7c4,objectID:_0x33b2eb,actions:_0x2809e4}=_0x5c583b,_0x4323eb=_0x5c4066['find'](_0x209f85=>_0x209f85[_0x4d6a30(0x266)]===_0x3da7c4&&_0x209f85['objectID']===_0x33b2eb),_0x2c6cbe=_0x2809e4[_0x4d6a30(0x1a3)](_0x5a2b3c=>_0x4323eb==null?void 0x0:_0x4323eb[_0x4d6a30(0x278)][_0x4d6a30(0x38c)](_0x35b4b7=>_0x35b4b7[_0x4d6a30(0x1c3)]===_0x5a2b3c))[_0x4d6a30(0x403)](_0x224611=>!!_0x224611);return{'config':_0x5c583b,'result':{'actions':_0x2c6cbe,'error':_0x49794[_0x4d6a30(0x31e)]}};});}})}));}[_0x59b5b4(0x2f8)](){var _0x5d6f1c=_0x59b5b4,_0x47f4c2;const _0x2cd782=this[_0x5d6f1c(0x3b5)][_0x5d6f1c(0x1c1)](K);return(_0x47f4c2=_0x2cd782==null?void 0x0:_0x2cd782['authzUrl'])!=null?_0x47f4c2:on;}async['create'](_0x5d614f){var _0x180f7f=_0x59b5b4;const _0xd5b161=this['_getAPIPrefixPath']()+'/'+_0x5d614f['objectType']+_0x180f7f(0x358);return(await this[_0x180f7f(0x268)][_0x180f7f(0x1e4)](_0xd5b161,{'body':_0x5d614f}))['body'][_0x180f7f(0x384)]||'';}async[_0x59b5b4(0x1f1)](_0x37fe27){var _0x55bdf4=_0x59b5b4;const _0x372105=this[_0x55bdf4(0x2f8)]()+_0x55bdf4(0x3f8);return(await this[_0x55bdf4(0x268)][_0x55bdf4(0x1e4)](_0x372105,{'body':_0x37fe27}))[_0x55bdf4(0x1aa)][_0x55bdf4(0x36e)];}async['update'](_0x4d6799){var _0x3d4494=_0x59b5b4,_0x9489ea,_0x4b8318;const _0x18ece6=this[_0x3d4494(0x2f8)]()+'/'+_0x4d6799[_0x3d4494(0x19c)]+'/object/'+_0x4d6799[_0x3d4494(0x384)],_0x3ec4a7=await this[_0x3d4494(0x268)][_0x3d4494(0x12b)](_0x18ece6,{'body':_0x4d6799});if(((_0x4b8318=(_0x9489ea=_0x3ec4a7==null?void 0x0:_0x3ec4a7[_0x3d4494(0x1aa)])==null?void 0x0:_0x9489ea[_0x3d4494(0x31e)])==null?void 0x0:_0x4b8318[_0x3d4494(0x2dd)])!==0x1)throw new Error(_0x3d4494(0x23a));}async[_0x59b5b4(0x18d)](_0x2e6f65){var _0x528196=_0x59b5b4;const _0x47828d=this[_0x528196(0x2f8)]()+'/'+_0x2e6f65[_0x528196(0x19c)]+_0x528196(0x1ea)+_0x2e6f65[_0x528196(0x384)]+_0x528196(0x2f4);return(await this[_0x528196(0x268)][_0x528196(0x1e4)](_0x47828d,{'body':_0x2e6f65}))['body'][_0x528196(0x278)];}async[_0x59b5b4(0x2bc)](_0x16e2d4){var _0x4268f9=_0x59b5b4;const _0x2f6582=this[_0x4268f9(0x2f8)]()+_0x4268f9(0x13b);return(await this[_0x4268f9(0x268)][_0x4268f9(0x1e4)](_0x2f6582,{'body':{'requests':_0x16e2d4}}))[_0x4268f9(0x1aa)][_0x4268f9(0x263)];}async[_0x59b5b4(0x1e3)](_0x4eda71){var _0x28f928=_0x59b5b4;const _0x26ea72=this[_0x28f928(0x2f8)]()+'/'+_0x4eda71[_0x28f928(0x19c)]+'/role',_0x408c43=await this['_HTTPService'][_0x28f928(0x1e4)](_0x26ea72,{'body':_0x4eda71});return{'roles':_0x408c43[_0x28f928(0x1aa)][_0x28f928(0x27f)],'actions':_0x408c43[_0x28f928(0x1aa)][_0x28f928(0x278)]};}async['deleteCollaborator'](_0x315f65){var _0x35639d=_0x59b5b4;const _0x30ecab=this['_getAPIPrefixPath']()+_0x35639d(0x2a2);await this['_HTTPService'][_0x35639d(0x192)](_0x30ecab,{'params':{'collaboratorID':_0x315f65[_0x35639d(0x282)],'objectID':_0x315f65[_0x35639d(0x384)],'unitID':_0x315f65[_0x35639d(0x266)]}});}async[_0x59b5b4(0x3b3)](_0x488d10){var _0x341421=_0x59b5b4;const _0x31f0f4=this[_0x341421(0x2f8)]()+_0x341421(0x2a2);await this[_0x341421(0x268)][_0x341421(0x308)](_0x31f0f4,{'body':_0x488d10});}async[_0x59b5b4(0x2d3)](_0x4fa667){var _0x33875b=_0x59b5b4;const _0xcc714b=this[_0x33875b(0x2f8)]()+_0x33875b(0x2a2);await this[_0x33875b(0x268)][_0x33875b(0x1e4)](_0xcc714b,{'body':_0x4fa667});}async['listCollaborators'](_0x2d67b1){var _0x180d91=_0x59b5b4;const _0xd4a828=this[_0x180d91(0x2f8)]()+_0x180d91(0x2a2);return(await this[_0x180d91(0x268)][_0x180d91(0x21f)](_0xd4a828,{'params':{'objectID':_0x2d67b1[_0x180d91(0x384)],'unitID':_0x2d67b1[_0x180d91(0x266)]}}))[_0x180d91(0x1aa)][_0x180d91(0x187)];}async['putCollaborators'](_0x2a61cc){var _0x42e04b=_0x59b5b4;const _0x27ccd4=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x42e04b(0x12b)](_0x27ccd4,{'body':_0x2a61cc});}};Tt=an([Yt(0x0,_0x1a58da(_0x28317b)),Yt(0x1,_0x1a58da(_0x4cf79c))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1b9e39){var _0x321b45=_0x59b5b4;return _0x1b9e39&&_0x1b9e39['__esModule']&&Object[_0x321b45(0x347)][_0x321b45(0x391)][_0x321b45(0x1e1)](_0x1b9e39,_0x321b45(0x1c7))?_0x1b9e39[_0x321b45(0x1c7)]:_0x1b9e39;}var Ve={'exports':{}};function cn(_0x246727){var _0x1bfe1d=_0x59b5b4;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x246727+_0x1bfe1d(0x3c9));}var Ge={'exports':{}},_n=Ge[_0x59b5b4(0xe3)],Kt;function ie(){return Kt||(Kt=0x1,function(_0x5ea224,_0x4a1285){(function(_0x548ffa,_0x50564f){_0x5ea224['exports']=_0x50564f();}(_n,function(){var _0x10244e=_0x10244e||function(_0x2290ed,_0x573a06){var _0x411df4=_0x2245,_0x3c437c;if(typeof window<'u'&&window[_0x411df4(0x1e5)]&&(_0x3c437c=window[_0x411df4(0x1e5)]),typeof self<'u'&&self[_0x411df4(0x1e5)]&&(_0x3c437c=self[_0x411df4(0x1e5)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3c437c=globalThis['crypto']),!_0x3c437c&&typeof window<'u'&&window[_0x411df4(0x11e)]&&(_0x3c437c=window[_0x411df4(0x11e)]),!_0x3c437c&&typeof ft<'u'&&ft[_0x411df4(0x1e5)]&&(_0x3c437c=ft[_0x411df4(0x1e5)]),!_0x3c437c&&typeof cn=='function')try{_0x3c437c=require('crypto');}catch{}var _0x15ea68=function(){var _0x1c2e13=_0x411df4;if(_0x3c437c){if(typeof _0x3c437c['getRandomValues']==_0x1c2e13(0x1e7))try{return _0x3c437c[_0x1c2e13(0x144)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3c437c[_0x1c2e13(0x37a)]=='function')try{return _0x3c437c[_0x1c2e13(0x37a)](0x4)[_0x1c2e13(0x2a4)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1f7587=Object['create']||(function(){function _0x49fc36(){}return function(_0x363062){var _0x295db9=_0x2245,_0x3b2c0c;return _0x49fc36[_0x295db9(0x347)]=_0x363062,_0x3b2c0c=new _0x49fc36(),_0x49fc36['prototype']=null,_0x3b2c0c;};}()),_0x34dd87={},_0x3b3c2b=_0x34dd87[_0x411df4(0x260)]={},_0x5f2f98=_0x3b3c2b[_0x411df4(0x3f4)]=(function(){return{'extend':function(_0x3a3cd8){var _0x1a370c=_0x2245,_0x421b60=_0x1f7587(this);return _0x3a3cd8&&_0x421b60[_0x1a370c(0x398)](_0x3a3cd8),(!_0x421b60[_0x1a370c(0x391)](_0x1a370c(0x138))||this[_0x1a370c(0x138)]===_0x421b60[_0x1a370c(0x138)])&&(_0x421b60[_0x1a370c(0x138)]=function(){var _0x18faf3=_0x1a370c;_0x421b60['$super']['init'][_0x18faf3(0x1c6)](this,arguments);}),_0x421b60['init'][_0x1a370c(0x347)]=_0x421b60,_0x421b60[_0x1a370c(0x27b)]=this,_0x421b60;},'create':function(){var _0x2ef326=_0x2245,_0x37dbba=this[_0x2ef326(0x12e)]();return _0x37dbba['init'][_0x2ef326(0x1c6)](_0x37dbba,arguments),_0x37dbba;},'init':function(){},'mixIn':function(_0x2e46c8){var _0x30dc32=_0x2245;for(var _0x28841f in _0x2e46c8)_0x2e46c8[_0x30dc32(0x391)](_0x28841f)&&(this[_0x28841f]=_0x2e46c8[_0x28841f]);_0x2e46c8[_0x30dc32(0x391)](_0x30dc32(0x14d))&&(this['toString']=_0x2e46c8[_0x30dc32(0x14d)]);},'clone':function(){var _0x29d494=_0x2245;return this[_0x29d494(0x138)][_0x29d494(0x347)][_0x29d494(0x12e)](this);}};}()),_0x343eaf=_0x3b3c2b[_0x411df4(0x30c)]=_0x5f2f98[_0x411df4(0x12e)]({'init':function(_0xa3ded3,_0x159623){var _0x291fc7=_0x411df4;_0xa3ded3=this[_0x291fc7(0x147)]=_0xa3ded3||[],_0x159623!=_0x573a06?this['sigBytes']=_0x159623:this[_0x291fc7(0x385)]=_0xa3ded3[_0x291fc7(0x1c0)]*0x4;},'toString':function(_0x387e30){var _0x34c2a8=_0x411df4;return(_0x387e30||_0x3e24f3)[_0x34c2a8(0x273)](this);},'concat':function(_0x2c10cc){var _0x2d775f=_0x411df4,_0x3494fd=this[_0x2d775f(0x147)],_0x41922d=_0x2c10cc[_0x2d775f(0x147)],_0x172291=this[_0x2d775f(0x385)],_0x549964=_0x2c10cc[_0x2d775f(0x385)];if(this[_0x2d775f(0x2f9)](),_0x172291%0x4)for(var _0x3ed334=0x0;_0x3ed334<_0x549964;_0x3ed334++){var _0x478fdf=_0x41922d[_0x3ed334>>>0x2]>>>0x18-_0x3ed334%0x4*0x8&0xff;_0x3494fd[_0x172291+_0x3ed334>>>0x2]|=_0x478fdf<<0x18-(_0x172291+_0x3ed334)%0x4*0x8;}else{for(var _0x4de9e0=0x0;_0x4de9e0<_0x549964;_0x4de9e0+=0x4)_0x3494fd[_0x172291+_0x4de9e0>>>0x2]=_0x41922d[_0x4de9e0>>>0x2];}return this['sigBytes']+=_0x549964,this;},'clamp':function(){var _0x47a7ec=_0x411df4,_0xb170e4=this['words'],_0x3df12d=this[_0x47a7ec(0x385)];_0xb170e4[_0x3df12d>>>0x2]&=0xffffffff<<0x20-_0x3df12d%0x4*0x8,_0xb170e4['length']=_0x2290ed['ceil'](_0x3df12d/0x4);},'clone':function(){var _0x4464ad=_0x411df4,_0x4223bc=_0x5f2f98['clone'][_0x4464ad(0x1e1)](this);return _0x4223bc[_0x4464ad(0x147)]=this[_0x4464ad(0x147)]['slice'](0x0),_0x4223bc;},'random':function(_0x3bd50e){var _0x58951f=_0x411df4;for(var _0x293225=[],_0x2ed2bf=0x0;_0x2ed2bf<_0x3bd50e;_0x2ed2bf+=0x4)_0x293225['push'](_0x15ea68());return new _0x343eaf[(_0x58951f(0x138))](_0x293225,_0x3bd50e);}}),_0x5e4b93=_0x34dd87[_0x411df4(0x1dc)]={},_0x3e24f3=_0x5e4b93['Hex']={'stringify':function(_0x1128a8){var _0x73a32b=_0x411df4;for(var _0x282023=_0x1128a8['words'],_0x5c9a75=_0x1128a8['sigBytes'],_0xbfb0ff=[],_0x3f430f=0x0;_0x3f430f<_0x5c9a75;_0x3f430f++){var _0x253e91=_0x282023[_0x3f430f>>>0x2]>>>0x18-_0x3f430f%0x4*0x8&0xff;_0xbfb0ff['push']((_0x253e91>>>0x4)[_0x73a32b(0x14d)](0x10)),_0xbfb0ff[_0x73a32b(0x2c8)]((_0x253e91&0xf)['toString'](0x10));}return _0xbfb0ff[_0x73a32b(0x256)]('');},'parse':function(_0x1d7a64){var _0x5a7309=_0x411df4;for(var _0x1916a1=_0x1d7a64['length'],_0x105653=[],_0x121077=0x0;_0x121077<_0x1916a1;_0x121077+=0x2)_0x105653[_0x121077>>>0x3]|=parseInt(_0x1d7a64[_0x5a7309(0x3d0)](_0x121077,0x2),0x10)<<0x18-_0x121077%0x8*0x4;return new _0x343eaf[(_0x5a7309(0x138))](_0x105653,_0x1916a1/0x2);}},_0x4ca1cd=_0x5e4b93[_0x411df4(0x264)]={'stringify':function(_0x220769){var _0x18ef79=_0x411df4;for(var _0x3c4198=_0x220769['words'],_0x46317f=_0x220769[_0x18ef79(0x385)],_0x59278f=[],_0x3ec632=0x0;_0x3ec632<_0x46317f;_0x3ec632++){var _0x45e64e=_0x3c4198[_0x3ec632>>>0x2]>>>0x18-_0x3ec632%0x4*0x8&0xff;_0x59278f[_0x18ef79(0x2c8)](String[_0x18ef79(0x16f)](_0x45e64e));}return _0x59278f[_0x18ef79(0x256)]('');},'parse':function(_0x2760a4){var _0x2604db=_0x411df4;for(var _0x473594=_0x2760a4[_0x2604db(0x1c0)],_0x80f393=[],_0x341a59=0x0;_0x341a59<_0x473594;_0x341a59++)_0x80f393[_0x341a59>>>0x2]|=(_0x2760a4[_0x2604db(0x2bd)](_0x341a59)&0xff)<<0x18-_0x341a59%0x4*0x8;return new _0x343eaf['init'](_0x80f393,_0x473594);}},_0x4488c3=_0x5e4b93[_0x411df4(0x1cf)]={'stringify':function(_0x21eadf){var _0x322fb5=_0x411df4;try{return decodeURIComponent(escape(_0x4ca1cd[_0x322fb5(0x273)](_0x21eadf)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x39e447){return _0x4ca1cd['parse'](unescape(encodeURIComponent(_0x39e447)));}},_0x4d7e08=_0x3b3c2b['BufferedBlockAlgorithm']=_0x5f2f98['extend']({'reset':function(){var _0x29f45e=_0x411df4;this[_0x29f45e(0x2c1)]=new _0x343eaf[(_0x29f45e(0x138))](),this['_nDataBytes']=0x0;},'_append':function(_0x468a2a){var _0x4aa111=_0x411df4;typeof _0x468a2a==_0x4aa111(0x21c)&&(_0x468a2a=_0x4488c3['parse'](_0x468a2a)),this[_0x4aa111(0x2c1)]['concat'](_0x468a2a),this[_0x4aa111(0x3a8)]+=_0x468a2a[_0x4aa111(0x385)];},'_process':function(_0x1b97a1){var _0xe6d799=_0x411df4,_0x2168ae,_0x57a641=this[_0xe6d799(0x2c1)],_0x5063c2=_0x57a641[_0xe6d799(0x147)],_0xc37a4=_0x57a641[_0xe6d799(0x385)],_0x466c5a=this[_0xe6d799(0x2b0)],_0x33cd85=_0x466c5a*0x4,_0x2eb975=_0xc37a4/_0x33cd85;_0x1b97a1?_0x2eb975=_0x2290ed[_0xe6d799(0x19f)](_0x2eb975):_0x2eb975=_0x2290ed['max']((_0x2eb975|0x0)-this[_0xe6d799(0x2c2)],0x0);var _0x2e05d3=_0x2eb975*_0x466c5a,_0x36f616=_0x2290ed[_0xe6d799(0x158)](_0x2e05d3*0x4,_0xc37a4);if(_0x2e05d3){for(var _0x102ba2=0x0;_0x102ba2<_0x2e05d3;_0x102ba2+=_0x466c5a)this[_0xe6d799(0x2cd)](_0x5063c2,_0x102ba2);_0x2168ae=_0x5063c2['splice'](0x0,_0x2e05d3),_0x57a641[_0xe6d799(0x385)]-=_0x36f616;}return new _0x343eaf['init'](_0x2168ae,_0x36f616);},'clone':function(){var _0x44bdc7=_0x411df4,_0x578d7b=_0x5f2f98[_0x44bdc7(0x28f)][_0x44bdc7(0x1e1)](this);return _0x578d7b[_0x44bdc7(0x2c1)]=this[_0x44bdc7(0x2c1)][_0x44bdc7(0x28f)](),_0x578d7b;},'_minBufferSize':0x0});_0x3b3c2b[_0x411df4(0x3b2)]=_0x4d7e08['extend']({'cfg':_0x5f2f98['extend'](),'init':function(_0x4323ee){var _0x274207=_0x411df4;this[_0x274207(0x236)]=this[_0x274207(0x236)]['extend'](_0x4323ee),this[_0x274207(0x379)]();},'reset':function(){var _0x1e11d5=_0x411df4;_0x4d7e08['reset'][_0x1e11d5(0x1e1)](this),this['_doReset']();},'update':function(_0x3f7b0b){var _0x2f0655=_0x411df4;return this['_append'](_0x3f7b0b),this[_0x2f0655(0x2f7)](),this;},'finalize':function(_0x1a0cac){_0x1a0cac&&this['_append'](_0x1a0cac);var _0x232f48=this['_doFinalize']();return _0x232f48;},'blockSize':0x10,'_createHelper':function(_0x383091){return function(_0x20f29d,_0x429799){return new _0x383091['init'](_0x429799)['finalize'](_0x20f29d);};},'_createHmacHelper':function(_0x4c5ffb){return function(_0x2459ec,_0x15f76c){return new _0x5b447c['HMAC']['init'](_0x4c5ffb,_0x15f76c)['finalize'](_0x2459ec);};}});var _0x5b447c=_0x34dd87[_0x411df4(0x189)]={};return _0x34dd87;}(Math);return _0x10244e;}));}(Ge)),Ge['exports'];}var We={'exports':{}},hn=We['exports'],qt;function Ni(){var _0x54a9cd=_0x59b5b4;return qt||(qt=0x1,function(_0x1a21cf,_0x5f5aa9){(function(_0x3b4cdd,_0x2e22d5){var _0x4bb668=_0x2245;_0x1a21cf[_0x4bb668(0xe3)]=_0x2e22d5(ie());}(hn,function(_0x12c47b){return(function(){var _0x218df9=_0x2245,_0x4f8e44=_0x12c47b,_0x41485a=_0x4f8e44[_0x218df9(0x260)],_0x5adb35=_0x41485a[_0x218df9(0x30c)],_0x41c0e7=_0x4f8e44[_0x218df9(0x1dc)];_0x41c0e7[_0x218df9(0x3a7)]={'stringify':function(_0x13f069){var _0x2663dc=_0x218df9,_0x2376b3=_0x13f069[_0x2663dc(0x147)],_0x24baf1=_0x13f069[_0x2663dc(0x385)],_0x122190=this[_0x2663dc(0x206)];_0x13f069[_0x2663dc(0x2f9)]();for(var _0x273349=[],_0xd1d608=0x0;_0xd1d608<_0x24baf1;_0xd1d608+=0x3)for(var _0x1911a7=_0x2376b3[_0xd1d608>>>0x2]>>>0x18-_0xd1d608%0x4*0x8&0xff,_0x57b6ac=_0x2376b3[_0xd1d608+0x1>>>0x2]>>>0x18-(_0xd1d608+0x1)%0x4*0x8&0xff,_0x196d23=_0x2376b3[_0xd1d608+0x2>>>0x2]>>>0x18-(_0xd1d608+0x2)%0x4*0x8&0xff,_0x3a1411=_0x1911a7<<0x10|_0x57b6ac<<0x8|_0x196d23,_0x4f42e9=0x0;_0x4f42e9<0x4&&_0xd1d608+_0x4f42e9*0.75<_0x24baf1;_0x4f42e9++)_0x273349[_0x2663dc(0x2c8)](_0x122190[_0x2663dc(0x3ca)](_0x3a1411>>>0x6*(0x3-_0x4f42e9)&0x3f));var _0xad7b63=_0x122190['charAt'](0x40);if(_0xad7b63){for(;_0x273349['length']%0x4;)_0x273349['push'](_0xad7b63);}return _0x273349[_0x2663dc(0x256)]('');},'parse':function(_0x4eeb91){var _0x358153=_0x218df9,_0x4670ae=_0x4eeb91[_0x358153(0x1c0)],_0xca00ad=this['_map'],_0x1c4ed4=this['_reverseMap'];if(!_0x1c4ed4){_0x1c4ed4=this[_0x358153(0x1be)]=[];for(var _0x285f48=0x0;_0x285f48<_0xca00ad[_0x358153(0x1c0)];_0x285f48++)_0x1c4ed4[_0xca00ad['charCodeAt'](_0x285f48)]=_0x285f48;}var _0x4f3294=_0xca00ad[_0x358153(0x3ca)](0x40);if(_0x4f3294){var _0x2d4372=_0x4eeb91[_0x358153(0x169)](_0x4f3294);_0x2d4372!==-0x1&&(_0x4670ae=_0x2d4372);}return _0x2fe3a5(_0x4eeb91,_0x4670ae,_0x1c4ed4);},'_map':_0x218df9(0x197)};function _0x2fe3a5(_0x4fed71,_0x5298e7,_0x297593){var _0x2b814f=_0x218df9;for(var _0x1c257e=[],_0x435b1c=0x0,_0x432ae6=0x0;_0x432ae6<_0x5298e7;_0x432ae6++)if(_0x432ae6%0x4){var _0xecd909=_0x297593[_0x4fed71[_0x2b814f(0x2bd)](_0x432ae6-0x1)]<<_0x432ae6%0x4*0x2,_0x5b32dc=_0x297593[_0x4fed71[_0x2b814f(0x2bd)](_0x432ae6)]>>>0x6-_0x432ae6%0x4*0x2,_0x13c585=_0xecd909|_0x5b32dc;_0x1c257e[_0x435b1c>>>0x2]|=_0x13c585<<0x18-_0x435b1c%0x4*0x8,_0x435b1c++;}return _0x5adb35[_0x2b814f(0x167)](_0x1c257e,_0x435b1c);}}()),_0x12c47b['enc']['Base64'];}));}(We)),We[_0x54a9cd(0xe3)];}var Ye={'exports':{}},ln=Ye[_0x59b5b4(0xe3)],zt;function un(){return zt||(zt=0x1,function(_0x408bd8,_0xc1c40f){(function(_0x430b46,_0x355726){_0x408bd8['exports']=_0x355726(ie());}(ln,function(_0x15aff7){var _0x49cbde=_0x2245;return function(_0x59c486){var _0x51efdc=_0x2245,_0x4d9630=_0x15aff7,_0x2be6a3=_0x4d9630[_0x51efdc(0x260)],_0x2af777=_0x2be6a3[_0x51efdc(0x30c)],_0x2dcad5=_0x2be6a3[_0x51efdc(0x3b2)],_0x1fe710=_0x4d9630[_0x51efdc(0x189)],_0x2f5d3f=[];(function(){var _0x5e60d6=_0x51efdc;for(var _0x196060=0x0;_0x196060<0x40;_0x196060++)_0x2f5d3f[_0x196060]=_0x59c486[_0x5e60d6(0xe9)](_0x59c486[_0x5e60d6(0x22a)](_0x196060+0x1))*0x100000000|0x0;}());var _0x4d3f46=_0x1fe710[_0x51efdc(0x13c)]=_0x2dcad5[_0x51efdc(0x12e)]({'_doReset':function(){var _0x11c69f=_0x51efdc;this[_0x11c69f(0x37f)]=new _0x2af777[(_0x11c69f(0x138))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x376225,_0x17f188){var _0x5cec14=_0x51efdc;for(var _0x55f8e2=0x0;_0x55f8e2<0x10;_0x55f8e2++){var _0x333c76=_0x17f188+_0x55f8e2,_0x16b00a=_0x376225[_0x333c76];_0x376225[_0x333c76]=(_0x16b00a<<0x8|_0x16b00a>>>0x18)&0xff00ff|(_0x16b00a<<0x18|_0x16b00a>>>0x8)&0xff00ff00;}var _0x1cb3f9=this[_0x5cec14(0x37f)]['words'],_0x136582=_0x376225[_0x17f188+0x0],_0x296854=_0x376225[_0x17f188+0x1],_0x2f3bff=_0x376225[_0x17f188+0x2],_0x3c7ee3=_0x376225[_0x17f188+0x3],_0x5671d5=_0x376225[_0x17f188+0x4],_0x2ae630=_0x376225[_0x17f188+0x5],_0x233d83=_0x376225[_0x17f188+0x6],_0x12f23d=_0x376225[_0x17f188+0x7],_0x335927=_0x376225[_0x17f188+0x8],_0x381191=_0x376225[_0x17f188+0x9],_0x21c54c=_0x376225[_0x17f188+0xa],_0x35778c=_0x376225[_0x17f188+0xb],_0x1598c1=_0x376225[_0x17f188+0xc],_0x16ecd8=_0x376225[_0x17f188+0xd],_0x2ec1d6=_0x376225[_0x17f188+0xe],_0x16a29d=_0x376225[_0x17f188+0xf],_0x42453e=_0x1cb3f9[0x0],_0x2e4555=_0x1cb3f9[0x1],_0x4b11a0=_0x1cb3f9[0x2],_0x5f262f=_0x1cb3f9[0x3];_0x42453e=_0x3bdef3(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x136582,0x7,_0x2f5d3f[0x0]),_0x5f262f=_0x3bdef3(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x296854,0xc,_0x2f5d3f[0x1]),_0x4b11a0=_0x3bdef3(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x2f3bff,0x11,_0x2f5d3f[0x2]),_0x2e4555=_0x3bdef3(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x3c7ee3,0x16,_0x2f5d3f[0x3]),_0x42453e=_0x3bdef3(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x5671d5,0x7,_0x2f5d3f[0x4]),_0x5f262f=_0x3bdef3(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x2ae630,0xc,_0x2f5d3f[0x5]),_0x4b11a0=_0x3bdef3(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x233d83,0x11,_0x2f5d3f[0x6]),_0x2e4555=_0x3bdef3(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x12f23d,0x16,_0x2f5d3f[0x7]),_0x42453e=_0x3bdef3(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x335927,0x7,_0x2f5d3f[0x8]),_0x5f262f=_0x3bdef3(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x381191,0xc,_0x2f5d3f[0x9]),_0x4b11a0=_0x3bdef3(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x21c54c,0x11,_0x2f5d3f[0xa]),_0x2e4555=_0x3bdef3(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x35778c,0x16,_0x2f5d3f[0xb]),_0x42453e=_0x3bdef3(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x1598c1,0x7,_0x2f5d3f[0xc]),_0x5f262f=_0x3bdef3(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x16ecd8,0xc,_0x2f5d3f[0xd]),_0x4b11a0=_0x3bdef3(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x2ec1d6,0x11,_0x2f5d3f[0xe]),_0x2e4555=_0x3bdef3(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x16a29d,0x16,_0x2f5d3f[0xf]),_0x42453e=_0x49140c(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x296854,0x5,_0x2f5d3f[0x10]),_0x5f262f=_0x49140c(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x233d83,0x9,_0x2f5d3f[0x11]),_0x4b11a0=_0x49140c(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x35778c,0xe,_0x2f5d3f[0x12]),_0x2e4555=_0x49140c(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x136582,0x14,_0x2f5d3f[0x13]),_0x42453e=_0x49140c(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x2ae630,0x5,_0x2f5d3f[0x14]),_0x5f262f=_0x49140c(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x21c54c,0x9,_0x2f5d3f[0x15]),_0x4b11a0=_0x49140c(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x16a29d,0xe,_0x2f5d3f[0x16]),_0x2e4555=_0x49140c(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x5671d5,0x14,_0x2f5d3f[0x17]),_0x42453e=_0x49140c(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x381191,0x5,_0x2f5d3f[0x18]),_0x5f262f=_0x49140c(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x2ec1d6,0x9,_0x2f5d3f[0x19]),_0x4b11a0=_0x49140c(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x3c7ee3,0xe,_0x2f5d3f[0x1a]),_0x2e4555=_0x49140c(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x335927,0x14,_0x2f5d3f[0x1b]),_0x42453e=_0x49140c(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x16ecd8,0x5,_0x2f5d3f[0x1c]),_0x5f262f=_0x49140c(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x2f3bff,0x9,_0x2f5d3f[0x1d]),_0x4b11a0=_0x49140c(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x12f23d,0xe,_0x2f5d3f[0x1e]),_0x2e4555=_0x49140c(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x1598c1,0x14,_0x2f5d3f[0x1f]),_0x42453e=_0xfc40b2(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x2ae630,0x4,_0x2f5d3f[0x20]),_0x5f262f=_0xfc40b2(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x335927,0xb,_0x2f5d3f[0x21]),_0x4b11a0=_0xfc40b2(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x35778c,0x10,_0x2f5d3f[0x22]),_0x2e4555=_0xfc40b2(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x2ec1d6,0x17,_0x2f5d3f[0x23]),_0x42453e=_0xfc40b2(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x296854,0x4,_0x2f5d3f[0x24]),_0x5f262f=_0xfc40b2(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x5671d5,0xb,_0x2f5d3f[0x25]),_0x4b11a0=_0xfc40b2(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x12f23d,0x10,_0x2f5d3f[0x26]),_0x2e4555=_0xfc40b2(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x21c54c,0x17,_0x2f5d3f[0x27]),_0x42453e=_0xfc40b2(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x16ecd8,0x4,_0x2f5d3f[0x28]),_0x5f262f=_0xfc40b2(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x136582,0xb,_0x2f5d3f[0x29]),_0x4b11a0=_0xfc40b2(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x3c7ee3,0x10,_0x2f5d3f[0x2a]),_0x2e4555=_0xfc40b2(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x233d83,0x17,_0x2f5d3f[0x2b]),_0x42453e=_0xfc40b2(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x381191,0x4,_0x2f5d3f[0x2c]),_0x5f262f=_0xfc40b2(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x1598c1,0xb,_0x2f5d3f[0x2d]),_0x4b11a0=_0xfc40b2(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x16a29d,0x10,_0x2f5d3f[0x2e]),_0x2e4555=_0xfc40b2(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x2f3bff,0x17,_0x2f5d3f[0x2f]),_0x42453e=_0x44cb91(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x136582,0x6,_0x2f5d3f[0x30]),_0x5f262f=_0x44cb91(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x12f23d,0xa,_0x2f5d3f[0x31]),_0x4b11a0=_0x44cb91(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x2ec1d6,0xf,_0x2f5d3f[0x32]),_0x2e4555=_0x44cb91(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x2ae630,0x15,_0x2f5d3f[0x33]),_0x42453e=_0x44cb91(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x1598c1,0x6,_0x2f5d3f[0x34]),_0x5f262f=_0x44cb91(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x3c7ee3,0xa,_0x2f5d3f[0x35]),_0x4b11a0=_0x44cb91(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x21c54c,0xf,_0x2f5d3f[0x36]),_0x2e4555=_0x44cb91(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x296854,0x15,_0x2f5d3f[0x37]),_0x42453e=_0x44cb91(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x335927,0x6,_0x2f5d3f[0x38]),_0x5f262f=_0x44cb91(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x16a29d,0xa,_0x2f5d3f[0x39]),_0x4b11a0=_0x44cb91(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x233d83,0xf,_0x2f5d3f[0x3a]),_0x2e4555=_0x44cb91(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x16ecd8,0x15,_0x2f5d3f[0x3b]),_0x42453e=_0x44cb91(_0x42453e,_0x2e4555,_0x4b11a0,_0x5f262f,_0x5671d5,0x6,_0x2f5d3f[0x3c]),_0x5f262f=_0x44cb91(_0x5f262f,_0x42453e,_0x2e4555,_0x4b11a0,_0x35778c,0xa,_0x2f5d3f[0x3d]),_0x4b11a0=_0x44cb91(_0x4b11a0,_0x5f262f,_0x42453e,_0x2e4555,_0x2f3bff,0xf,_0x2f5d3f[0x3e]),_0x2e4555=_0x44cb91(_0x2e4555,_0x4b11a0,_0x5f262f,_0x42453e,_0x381191,0x15,_0x2f5d3f[0x3f]),_0x1cb3f9[0x0]=_0x1cb3f9[0x0]+_0x42453e|0x0,_0x1cb3f9[0x1]=_0x1cb3f9[0x1]+_0x2e4555|0x0,_0x1cb3f9[0x2]=_0x1cb3f9[0x2]+_0x4b11a0|0x0,_0x1cb3f9[0x3]=_0x1cb3f9[0x3]+_0x5f262f|0x0;},'_doFinalize':function(){var _0x4e57e6=_0x51efdc,_0xf954a0=this[_0x4e57e6(0x2c1)],_0x48e055=_0xf954a0[_0x4e57e6(0x147)],_0x1e1354=this[_0x4e57e6(0x3a8)]*0x8,_0x3b969e=_0xf954a0[_0x4e57e6(0x385)]*0x8;_0x48e055[_0x3b969e>>>0x5]|=0x80<<0x18-_0x3b969e%0x20;var _0x15ac8b=_0x59c486[_0x4e57e6(0x39a)](_0x1e1354/0x100000000),_0x103c5a=_0x1e1354;_0x48e055[(_0x3b969e+0x40>>>0x9<<0x4)+0xf]=(_0x15ac8b<<0x8|_0x15ac8b>>>0x18)&0xff00ff|(_0x15ac8b<<0x18|_0x15ac8b>>>0x8)&0xff00ff00,_0x48e055[(_0x3b969e+0x40>>>0x9<<0x4)+0xe]=(_0x103c5a<<0x8|_0x103c5a>>>0x18)&0xff00ff|(_0x103c5a<<0x18|_0x103c5a>>>0x8)&0xff00ff00,_0xf954a0[_0x4e57e6(0x385)]=(_0x48e055[_0x4e57e6(0x1c0)]+0x1)*0x4,this[_0x4e57e6(0x2f7)]();for(var _0x1d841d=this[_0x4e57e6(0x37f)],_0x250d94=_0x1d841d[_0x4e57e6(0x147)],_0x1d77f6=0x0;_0x1d77f6<0x4;_0x1d77f6++){var _0x3d42f8=_0x250d94[_0x1d77f6];_0x250d94[_0x1d77f6]=(_0x3d42f8<<0x8|_0x3d42f8>>>0x18)&0xff00ff|(_0x3d42f8<<0x18|_0x3d42f8>>>0x8)&0xff00ff00;}return _0x1d841d;},'clone':function(){var _0x20c987=_0x51efdc,_0x206b02=_0x2dcad5[_0x20c987(0x28f)][_0x20c987(0x1e1)](this);return _0x206b02['_hash']=this[_0x20c987(0x37f)]['clone'](),_0x206b02;}});function _0x3bdef3(_0x56c5ef,_0x38c8bd,_0x2a088b,_0x5bc3c0,_0xe7655a,_0x2d42b6,_0xbc0752){var _0x36c5fc=_0x56c5ef+(_0x38c8bd&_0x2a088b|~_0x38c8bd&_0x5bc3c0)+_0xe7655a+_0xbc0752;return(_0x36c5fc<<_0x2d42b6|_0x36c5fc>>>0x20-_0x2d42b6)+_0x38c8bd;}function _0x49140c(_0x204ab7,_0x1f7ada,_0x2c3ca6,_0x2e3d98,_0x3a6fe8,_0x286143,_0x5f2a6f){var _0x1e93f7=_0x204ab7+(_0x1f7ada&_0x2e3d98|_0x2c3ca6&~_0x2e3d98)+_0x3a6fe8+_0x5f2a6f;return(_0x1e93f7<<_0x286143|_0x1e93f7>>>0x20-_0x286143)+_0x1f7ada;}function _0xfc40b2(_0x370041,_0x2f88ad,_0x57fd62,_0xd6182a,_0x18fb65,_0x5dc063,_0x528449){var _0xc0e6c2=_0x370041+(_0x2f88ad^_0x57fd62^_0xd6182a)+_0x18fb65+_0x528449;return(_0xc0e6c2<<_0x5dc063|_0xc0e6c2>>>0x20-_0x5dc063)+_0x2f88ad;}function _0x44cb91(_0x2af08c,_0x2bceb4,_0x95f2ff,_0x35ab9d,_0x2c4b9f,_0x2b86e3,_0x45c570){var _0x28b39b=_0x2af08c+(_0x95f2ff^(_0x2bceb4|~_0x35ab9d))+_0x2c4b9f+_0x45c570;return(_0x28b39b<<_0x2b86e3|_0x28b39b>>>0x20-_0x2b86e3)+_0x2bceb4;}_0x4d9630[_0x51efdc(0x13c)]=_0x2dcad5[_0x51efdc(0x373)](_0x4d3f46),_0x4d9630['HmacMD5']=_0x2dcad5[_0x51efdc(0x2cf)](_0x4d3f46);}(Math),_0x15aff7[_0x49cbde(0x13c)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},dn=qe[_0x59b5b4(0xe3)],Xt;function fn(){return Xt||(Xt=0x1,function(_0x237577,_0x1fd9e9){(function(_0x501a3f,_0x2151ea){var _0x17d1ff=_0x2245;_0x237577[_0x17d1ff(0xe3)]=_0x2151ea(ie());}(dn,function(_0x162394){var _0x3587c9=_0x2245;return(function(){var _0x3b50d7=_0x2245,_0xf34924=_0x162394,_0x54d0d1=_0xf34924[_0x3b50d7(0x260)],_0x453efa=_0x54d0d1[_0x3b50d7(0x30c)],_0x4a88e9=_0x54d0d1['Hasher'],_0x271f13=_0xf34924['algo'],_0x4e0073=[],_0x31c722=_0x271f13[_0x3b50d7(0x3dc)]=_0x4a88e9[_0x3b50d7(0x12e)]({'_doReset':function(){this['_hash']=new _0x453efa['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1d4999,_0xa50158){var _0x2b72fd=_0x3b50d7;for(var _0x5c0bc8=this[_0x2b72fd(0x37f)][_0x2b72fd(0x147)],_0x77bb47=_0x5c0bc8[0x0],_0x4110d1=_0x5c0bc8[0x1],_0x548a7e=_0x5c0bc8[0x2],_0x464a34=_0x5c0bc8[0x3],_0x2bc393=_0x5c0bc8[0x4],_0x35e744=0x0;_0x35e744<0x50;_0x35e744++){if(_0x35e744<0x10)_0x4e0073[_0x35e744]=_0x1d4999[_0xa50158+_0x35e744]|0x0;else{var _0x11f0ab=_0x4e0073[_0x35e744-0x3]^_0x4e0073[_0x35e744-0x8]^_0x4e0073[_0x35e744-0xe]^_0x4e0073[_0x35e744-0x10];_0x4e0073[_0x35e744]=_0x11f0ab<<0x1|_0x11f0ab>>>0x1f;}var _0x17737f=(_0x77bb47<<0x5|_0x77bb47>>>0x1b)+_0x2bc393+_0x4e0073[_0x35e744];_0x35e744<0x14?_0x17737f+=(_0x4110d1&_0x548a7e|~_0x4110d1&_0x464a34)+0x5a827999:_0x35e744<0x28?_0x17737f+=(_0x4110d1^_0x548a7e^_0x464a34)+0x6ed9eba1:_0x35e744<0x3c?_0x17737f+=(_0x4110d1&_0x548a7e|_0x4110d1&_0x464a34|_0x548a7e&_0x464a34)-0x70e44324:_0x17737f+=(_0x4110d1^_0x548a7e^_0x464a34)-0x359d3e2a,_0x2bc393=_0x464a34,_0x464a34=_0x548a7e,_0x548a7e=_0x4110d1<<0x1e|_0x4110d1>>>0x2,_0x4110d1=_0x77bb47,_0x77bb47=_0x17737f;}_0x5c0bc8[0x0]=_0x5c0bc8[0x0]+_0x77bb47|0x0,_0x5c0bc8[0x1]=_0x5c0bc8[0x1]+_0x4110d1|0x0,_0x5c0bc8[0x2]=_0x5c0bc8[0x2]+_0x548a7e|0x0,_0x5c0bc8[0x3]=_0x5c0bc8[0x3]+_0x464a34|0x0,_0x5c0bc8[0x4]=_0x5c0bc8[0x4]+_0x2bc393|0x0;},'_doFinalize':function(){var _0x1835bf=_0x3b50d7,_0xe80bee=this['_data'],_0x2b89ee=_0xe80bee[_0x1835bf(0x147)],_0x1e4c2a=this[_0x1835bf(0x3a8)]*0x8,_0x3a0782=_0xe80bee[_0x1835bf(0x385)]*0x8;return _0x2b89ee[_0x3a0782>>>0x5]|=0x80<<0x18-_0x3a0782%0x20,_0x2b89ee[(_0x3a0782+0x40>>>0x9<<0x4)+0xe]=Math[_0x1835bf(0x39a)](_0x1e4c2a/0x100000000),_0x2b89ee[(_0x3a0782+0x40>>>0x9<<0x4)+0xf]=_0x1e4c2a,_0xe80bee[_0x1835bf(0x385)]=_0x2b89ee[_0x1835bf(0x1c0)]*0x4,this[_0x1835bf(0x2f7)](),this['_hash'];},'clone':function(){var _0x331588=_0x3b50d7,_0x56c771=_0x4a88e9[_0x331588(0x28f)][_0x331588(0x1e1)](this);return _0x56c771[_0x331588(0x37f)]=this[_0x331588(0x37f)][_0x331588(0x28f)](),_0x56c771;}});_0xf34924[_0x3b50d7(0x3dc)]=_0x4a88e9[_0x3b50d7(0x373)](_0x31c722),_0xf34924[_0x3b50d7(0x1f3)]=_0x4a88e9[_0x3b50d7(0x2cf)](_0x31c722);}()),_0x162394[_0x3587c9(0x3dc)];}));}(qe)),qe['exports'];}var ze={'exports':{}},vn=ze[_0x59b5b4(0xe3)],Jt;function En(){return Jt||(Jt=0x1,function(_0x2611dd,_0x4a419a){(function(_0x4be14e,_0x2a6ee0){var _0x14cea3=_0x2245;_0x2611dd[_0x14cea3(0xe3)]=_0x2a6ee0(ie());}(vn,function(_0x3d8d30){(function(){var _0x4d0374=_0x2245,_0x167db4=_0x3d8d30,_0x3eab64=_0x167db4['lib'],_0x166185=_0x3eab64[_0x4d0374(0x3f4)],_0x3799c3=_0x167db4[_0x4d0374(0x1dc)],_0x42198f=_0x3799c3[_0x4d0374(0x1cf)],_0x2ef558=_0x167db4[_0x4d0374(0x189)];_0x2ef558[_0x4d0374(0x2a6)]=_0x166185[_0x4d0374(0x12e)]({'init':function(_0x3e2600,_0x5008d9){var _0x452e3b=_0x4d0374;_0x3e2600=this['_hasher']=new _0x3e2600[(_0x452e3b(0x138))](),typeof _0x5008d9==_0x452e3b(0x21c)&&(_0x5008d9=_0x42198f[_0x452e3b(0x213)](_0x5008d9));var _0x3a317a=_0x3e2600[_0x452e3b(0x2b0)],_0x43caac=_0x3a317a*0x4;_0x5008d9[_0x452e3b(0x385)]>_0x43caac&&(_0x5008d9=_0x3e2600[_0x452e3b(0x179)](_0x5008d9)),_0x5008d9[_0x452e3b(0x2f9)]();for(var _0x3dfc21=this[_0x452e3b(0x311)]=_0x5008d9[_0x452e3b(0x28f)](),_0x178cb6=this[_0x452e3b(0x18f)]=_0x5008d9[_0x452e3b(0x28f)](),_0x28b0a5=_0x3dfc21[_0x452e3b(0x147)],_0x1573da=_0x178cb6[_0x452e3b(0x147)],_0x2f48ea=0x0;_0x2f48ea<_0x3a317a;_0x2f48ea++)_0x28b0a5[_0x2f48ea]^=0x5c5c5c5c,_0x1573da[_0x2f48ea]^=0x36363636;_0x3dfc21[_0x452e3b(0x385)]=_0x178cb6[_0x452e3b(0x385)]=_0x43caac,this['reset']();},'reset':function(){var _0x524908=_0x4d0374,_0x5a55d4=this[_0x524908(0x1cb)];_0x5a55d4['reset'](),_0x5a55d4['update'](this['_iKey']);},'update':function(_0x244f9d){var _0x4ea463=_0x4d0374;return this['_hasher'][_0x4ea463(0x31b)](_0x244f9d),this;},'finalize':function(_0x420da0){var _0x51e375=_0x4d0374,_0x4a5a94=this[_0x51e375(0x1cb)],_0x343a63=_0x4a5a94[_0x51e375(0x179)](_0x420da0);_0x4a5a94['reset']();var _0x525558=_0x4a5a94[_0x51e375(0x179)](this[_0x51e375(0x311)]['clone']()[_0x51e375(0x3bb)](_0x343a63));return _0x525558;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x59b5b4(0xe3)],Zt;function Ci(){var _0x175b6=_0x59b5b4;return Zt||(Zt=0x1,function(_0x28870a,_0x12eed0){(function(_0x5b793f,_0x491386,_0x4fd7b8){_0x28870a['exports']=_0x491386(ie(),fn(),En());}(pn,function(_0xa97ff4){return(function(){var _0x591f46=_0x2245,_0xdbef83=_0xa97ff4,_0x4890cd=_0xdbef83[_0x591f46(0x260)],_0x595360=_0x4890cd[_0x591f46(0x3f4)],_0x43576b=_0x4890cd[_0x591f46(0x30c)],_0x4daff8=_0xdbef83[_0x591f46(0x189)],_0x59ab13=_0x4daff8[_0x591f46(0x13c)],_0x5e94f4=_0x4daff8[_0x591f46(0xe1)]=_0x595360['extend']({'cfg':_0x595360[_0x591f46(0x12e)]({'keySize':0x80/0x20,'hasher':_0x59ab13,'iterations':0x1}),'init':function(_0x343067){var _0x41bae0=_0x591f46;this[_0x41bae0(0x236)]=this[_0x41bae0(0x236)][_0x41bae0(0x12e)](_0x343067);},'compute':function(_0x5b57a2,_0x4661dc){var _0x4dda30=_0x591f46;for(var _0x5e3334,_0x253384=this[_0x4dda30(0x236)],_0xb70d5a=_0x253384[_0x4dda30(0x343)][_0x4dda30(0x167)](),_0x369c03=_0x43576b['create'](),_0x1ed26c=_0x369c03['words'],_0x2fccbe=_0x253384[_0x4dda30(0x177)],_0x2b9af9=_0x253384[_0x4dda30(0x14e)];_0x1ed26c[_0x4dda30(0x1c0)]<_0x2fccbe;){_0x5e3334&&_0xb70d5a[_0x4dda30(0x31b)](_0x5e3334),_0x5e3334=_0xb70d5a[_0x4dda30(0x31b)](_0x5b57a2)[_0x4dda30(0x179)](_0x4661dc),_0xb70d5a[_0x4dda30(0x379)]();for(var _0x402899=0x1;_0x402899<_0x2b9af9;_0x402899++)_0x5e3334=_0xb70d5a[_0x4dda30(0x179)](_0x5e3334),_0xb70d5a[_0x4dda30(0x379)]();_0x369c03['concat'](_0x5e3334);}return _0x369c03[_0x4dda30(0x385)]=_0x2fccbe*0x4,_0x369c03;}});_0xdbef83[_0x591f46(0xe1)]=function(_0x2dd96b,_0x3cdff5,_0x1f3c48){var _0x996842=_0x591f46;return _0x5e94f4[_0x996842(0x167)](_0x1f3c48)[_0x996842(0x35e)](_0x2dd96b,_0x3cdff5);};}()),_0xa97ff4['EvpKDF'];}));}(Ke)),Ke[_0x175b6(0xe3)];}var Xe={'exports':{}},mn=Xe[_0x59b5b4(0xe3)],Qt;function bi(){var _0x206053=_0x59b5b4;return Qt||(Qt=0x1,function(_0x306157,_0x857452){(function(_0x2c1368,_0x361bf9,_0x242593){_0x306157['exports']=_0x361bf9(ie(),Ci());}(mn,function(_0x553b55){var _0x1596a3=_0x2245;_0x553b55['lib'][_0x1596a3(0x1b4)]||function(_0xa9983c){var _0x391532=_0x1596a3,_0x1d7195=_0x553b55,_0x310812=_0x1d7195['lib'],_0x38e5df=_0x310812[_0x391532(0x3f4)],_0x21c7bc=_0x310812['WordArray'],_0x5de043=_0x310812[_0x391532(0x232)],_0x4c4239=_0x1d7195[_0x391532(0x1dc)];_0x4c4239[_0x391532(0x1cf)];var _0x4a33ed=_0x4c4239[_0x391532(0x3a7)],_0x10919f=_0x1d7195[_0x391532(0x189)],_0x5bd594=_0x10919f['EvpKDF'],_0x9b8cf8=_0x310812['Cipher']=_0x5de043[_0x391532(0x12e)]({'cfg':_0x38e5df['extend'](),'createEncryptor':function(_0x9057dd,_0x1e0770){var _0x559418=_0x391532;return this[_0x559418(0x167)](this[_0x559418(0x301)],_0x9057dd,_0x1e0770);},'createDecryptor':function(_0x3ebadd,_0x152790){var _0x385074=_0x391532;return this[_0x385074(0x167)](this[_0x385074(0x3a6)],_0x3ebadd,_0x152790);},'init':function(_0x1726dc,_0x30073d,_0x4d1f27){var _0x24604c=_0x391532;this[_0x24604c(0x236)]=this[_0x24604c(0x236)][_0x24604c(0x12e)](_0x4d1f27),this[_0x24604c(0x116)]=_0x1726dc,this[_0x24604c(0x1a5)]=_0x30073d,this[_0x24604c(0x379)]();},'reset':function(){var _0x2eb0d4=_0x391532;_0x5de043[_0x2eb0d4(0x379)]['call'](this),this[_0x2eb0d4(0x255)]();},'process':function(_0x54b779){return this['_append'](_0x54b779),this['_process']();},'finalize':function(_0x376c8b){var _0x180f0b=_0x391532;_0x376c8b&&this[_0x180f0b(0x2fb)](_0x376c8b);var _0x5f25f4=this[_0x180f0b(0x13e)]();return _0x5f25f4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x261e3d(_0x275b27){var _0x2b7e05=_0x2245;return typeof _0x275b27==_0x2b7e05(0x21c)?_0x76624b:_0x1321d1;}return function(_0xee370){return{'encrypt':function(_0x202c4f,_0x20dc7a,_0x1cc488){var _0x332515=_0x2245;return _0x261e3d(_0x20dc7a)[_0x332515(0x2d0)](_0xee370,_0x202c4f,_0x20dc7a,_0x1cc488);},'decrypt':function(_0xb19ff9,_0x1ed298,_0x420db5){var _0x10c2b5=_0x2245;return _0x261e3d(_0x1ed298)[_0x10c2b5(0x15e)](_0xee370,_0xb19ff9,_0x1ed298,_0x420db5);}};};}())});_0x310812[_0x391532(0x257)]=_0x9b8cf8[_0x391532(0x12e)]({'_doFinalize':function(){var _0x1bc0c0=this['_process'](!0x0);return _0x1bc0c0;},'blockSize':0x1});var _0x26a506=_0x1d7195[_0x391532(0x128)]={},_0x523508=_0x310812[_0x391532(0x316)]=_0x38e5df[_0x391532(0x12e)]({'createEncryptor':function(_0x4c91de,_0x12fc68){var _0x4ef057=_0x391532;return this[_0x4ef057(0x2bf)][_0x4ef057(0x167)](_0x4c91de,_0x12fc68);},'createDecryptor':function(_0x5e57ef,_0x52dabf){var _0x5a6d06=_0x391532;return this['Decryptor'][_0x5a6d06(0x167)](_0x5e57ef,_0x52dabf);},'init':function(_0xee76c6,_0x122251){var _0x124f15=_0x391532;this['_cipher']=_0xee76c6,this[_0x124f15(0x38b)]=_0x122251;}}),_0x58cbaf=_0x26a506['CBC']=(function(){var _0x162dff=_0x391532,_0x54dcc4=_0x523508['extend']();_0x54dcc4[_0x162dff(0x2bf)]=_0x54dcc4['extend']({'processBlock':function(_0x598d47,_0xa6b38){var _0x5a6c3a=_0x162dff,_0x5a1208=this[_0x5a6c3a(0xea)],_0x5f579a=_0x5a1208[_0x5a6c3a(0x2b0)];_0x22b587[_0x5a6c3a(0x1e1)](this,_0x598d47,_0xa6b38,_0x5f579a),_0x5a1208[_0x5a6c3a(0x239)](_0x598d47,_0xa6b38),this[_0x5a6c3a(0x363)]=_0x598d47[_0x5a6c3a(0x248)](_0xa6b38,_0xa6b38+_0x5f579a);}}),_0x54dcc4['Decryptor']=_0x54dcc4[_0x162dff(0x12e)]({'processBlock':function(_0x4b2dca,_0x5999d6){var _0x58b598=_0x162dff,_0x23c71c=this[_0x58b598(0xea)],_0xc167d5=_0x23c71c[_0x58b598(0x2b0)],_0x1af723=_0x4b2dca[_0x58b598(0x248)](_0x5999d6,_0x5999d6+_0xc167d5);_0x23c71c[_0x58b598(0x33e)](_0x4b2dca,_0x5999d6),_0x22b587[_0x58b598(0x1e1)](this,_0x4b2dca,_0x5999d6,_0xc167d5),this['_prevBlock']=_0x1af723;}});function _0x22b587(_0x517398,_0xd71fbc,_0x3747b0){var _0x428fd9=_0x162dff,_0x281ba0,_0x3a23da=this['_iv'];_0x3a23da?(_0x281ba0=_0x3a23da,this[_0x428fd9(0x38b)]=_0xa9983c):_0x281ba0=this[_0x428fd9(0x363)];for(var _0x450982=0x0;_0x450982<_0x3747b0;_0x450982++)_0x517398[_0xd71fbc+_0x450982]^=_0x281ba0[_0x450982];}return _0x54dcc4;}()),_0x569ce0=_0x1d7195[_0x391532(0x272)]={},_0x1d89f5=_0x569ce0[_0x391532(0x195)]={'pad':function(_0x492210,_0x16c190){var _0x300f10=_0x391532;for(var _0x51a0bd=_0x16c190*0x4,_0x5d54ec=_0x51a0bd-_0x492210[_0x300f10(0x385)]%_0x51a0bd,_0x2a152a=_0x5d54ec<<0x18|_0x5d54ec<<0x10|_0x5d54ec<<0x8|_0x5d54ec,_0x2bebcd=[],_0x39663a=0x0;_0x39663a<_0x5d54ec;_0x39663a+=0x4)_0x2bebcd[_0x300f10(0x2c8)](_0x2a152a);var _0x27bc81=_0x21c7bc[_0x300f10(0x167)](_0x2bebcd,_0x5d54ec);_0x492210['concat'](_0x27bc81);},'unpad':function(_0x45aa72){var _0x154812=_0x391532,_0x37be1b=_0x45aa72[_0x154812(0x147)][_0x45aa72[_0x154812(0x385)]-0x1>>>0x2]&0xff;_0x45aa72[_0x154812(0x385)]-=_0x37be1b;}};_0x310812['BlockCipher']=_0x9b8cf8[_0x391532(0x12e)]({'cfg':_0x9b8cf8[_0x391532(0x236)][_0x391532(0x12e)]({'mode':_0x58cbaf,'padding':_0x1d89f5}),'reset':function(){var _0x372a06=_0x391532,_0x3c3e4b;_0x9b8cf8['reset'][_0x372a06(0x1e1)](this);var _0x519d91=this[_0x372a06(0x236)],_0xb36a35=_0x519d91['iv'],_0x1fd3b5=_0x519d91[_0x372a06(0x128)];this['_xformMode']==this[_0x372a06(0x301)]?_0x3c3e4b=_0x1fd3b5['createEncryptor']:(_0x3c3e4b=_0x1fd3b5['createDecryptor'],this[_0x372a06(0x2c2)]=0x1),this[_0x372a06(0x186)]&&this[_0x372a06(0x186)][_0x372a06(0x2c5)]==_0x3c3e4b?this[_0x372a06(0x186)][_0x372a06(0x138)](this,_0xb36a35&&_0xb36a35[_0x372a06(0x147)]):(this[_0x372a06(0x186)]=_0x3c3e4b[_0x372a06(0x1e1)](_0x1fd3b5,this,_0xb36a35&&_0xb36a35[_0x372a06(0x147)]),this[_0x372a06(0x186)][_0x372a06(0x2c5)]=_0x3c3e4b);},'_doProcessBlock':function(_0x4b22ac,_0x1360ab){var _0x1493ca=_0x391532;this[_0x1493ca(0x186)]['processBlock'](_0x4b22ac,_0x1360ab);},'_doFinalize':function(){var _0x44d7f1=_0x391532,_0x45cecc,_0x1cd85f=this[_0x44d7f1(0x236)][_0x44d7f1(0x34c)];return this[_0x44d7f1(0x116)]==this[_0x44d7f1(0x301)]?(_0x1cd85f[_0x44d7f1(0x272)](this['_data'],this[_0x44d7f1(0x2b0)]),_0x45cecc=this[_0x44d7f1(0x2f7)](!0x0)):(_0x45cecc=this[_0x44d7f1(0x2f7)](!0x0),_0x1cd85f['unpad'](_0x45cecc)),_0x45cecc;},'blockSize':0x80/0x20});var _0x1f3dfd=_0x310812[_0x391532(0x3be)]=_0x38e5df['extend']({'init':function(_0x37a440){var _0x4a6c1d=_0x391532;this[_0x4a6c1d(0x398)](_0x37a440);},'toString':function(_0x177aa9){var _0x3c91ce=_0x391532;return(_0x177aa9||this[_0x3c91ce(0x1ac)])[_0x3c91ce(0x273)](this);}}),_0x58fe7b=_0x1d7195[_0x391532(0x21a)]={},_0x34085d=_0x58fe7b[_0x391532(0x2f2)]={'stringify':function(_0x1c6955){var _0x379c52=_0x391532,_0x1d09b6,_0x167f18=_0x1c6955[_0x379c52(0x3aa)],_0x528877=_0x1c6955['salt'];return _0x528877?_0x1d09b6=_0x21c7bc[_0x379c52(0x167)]([0x53616c74,0x65645f5f])[_0x379c52(0x3bb)](_0x528877)['concat'](_0x167f18):_0x1d09b6=_0x167f18,_0x1d09b6[_0x379c52(0x14d)](_0x4a33ed);},'parse':function(_0x4bce53){var _0x515299=_0x391532,_0x505c30,_0xf764fa=_0x4a33ed['parse'](_0x4bce53),_0x2cd5d8=_0xf764fa[_0x515299(0x147)];return _0x2cd5d8[0x0]==0x53616c74&&_0x2cd5d8[0x1]==0x65645f5f&&(_0x505c30=_0x21c7bc[_0x515299(0x167)](_0x2cd5d8[_0x515299(0x248)](0x2,0x4)),_0x2cd5d8[_0x515299(0x23c)](0x0,0x4),_0xf764fa[_0x515299(0x385)]-=0x10),_0x1f3dfd[_0x515299(0x167)]({'ciphertext':_0xf764fa,'salt':_0x505c30});}},_0x1321d1=_0x310812[_0x391532(0x125)]=_0x38e5df[_0x391532(0x12e)]({'cfg':_0x38e5df['extend']({'format':_0x34085d}),'encrypt':function(_0x283a34,_0x4d8979,_0x115ad6,_0x2d7776){var _0x48db0a=_0x391532;_0x2d7776=this['cfg']['extend'](_0x2d7776);var _0x816611=_0x283a34[_0x48db0a(0x309)](_0x115ad6,_0x2d7776),_0x30b661=_0x816611[_0x48db0a(0x179)](_0x4d8979),_0x43d038=_0x816611[_0x48db0a(0x236)];return _0x1f3dfd['create']({'ciphertext':_0x30b661,'key':_0x115ad6,'iv':_0x43d038['iv'],'algorithm':_0x283a34,'mode':_0x43d038['mode'],'padding':_0x43d038['padding'],'blockSize':_0x283a34[_0x48db0a(0x2b0)],'formatter':_0x2d7776[_0x48db0a(0x21a)]});},'decrypt':function(_0x3726ec,_0x401954,_0x4af3e7,_0x1e99c6){var _0x5b7bbc=_0x391532;_0x1e99c6=this[_0x5b7bbc(0x236)]['extend'](_0x1e99c6),_0x401954=this['_parse'](_0x401954,_0x1e99c6[_0x5b7bbc(0x21a)]);var _0x2dd2bb=_0x3726ec['createDecryptor'](_0x4af3e7,_0x1e99c6)[_0x5b7bbc(0x179)](_0x401954['ciphertext']);return _0x2dd2bb;},'_parse':function(_0x370a95,_0x18265e){var _0x325374=_0x391532;return typeof _0x370a95=='string'?_0x18265e[_0x325374(0x213)](_0x370a95,this):_0x370a95;}}),_0x214d05=_0x1d7195['kdf']={},_0x28ce66=_0x214d05[_0x391532(0x2f2)]={'execute':function(_0x94de6,_0x4b150e,_0x1337d5,_0x1235ae,_0x3ed1d2){var _0x342961=_0x391532;if(_0x1235ae||(_0x1235ae=_0x21c7bc[_0x342961(0x2b3)](0x40/0x8)),_0x3ed1d2)var _0x924f7a=_0x5bd594[_0x342961(0x167)]({'keySize':_0x4b150e+_0x1337d5,'hasher':_0x3ed1d2})[_0x342961(0x35e)](_0x94de6,_0x1235ae);else var _0x924f7a=_0x5bd594['create']({'keySize':_0x4b150e+_0x1337d5})[_0x342961(0x35e)](_0x94de6,_0x1235ae);var _0x31cad2=_0x21c7bc[_0x342961(0x167)](_0x924f7a['words']['slice'](_0x4b150e),_0x1337d5*0x4);return _0x924f7a[_0x342961(0x385)]=_0x4b150e*0x4,_0x1f3dfd['create']({'key':_0x924f7a,'iv':_0x31cad2,'salt':_0x1235ae});}},_0x76624b=_0x310812[_0x391532(0xe7)]=_0x1321d1['extend']({'cfg':_0x1321d1[_0x391532(0x236)][_0x391532(0x12e)]({'kdf':_0x28ce66}),'encrypt':function(_0x30daab,_0x17b89b,_0x5cc0a9,_0x1f3be9){var _0x5ae404=_0x391532;_0x1f3be9=this['cfg']['extend'](_0x1f3be9);var _0x430768=_0x1f3be9[_0x5ae404(0x37c)]['execute'](_0x5cc0a9,_0x30daab[_0x5ae404(0x177)],_0x30daab[_0x5ae404(0x2ba)],_0x1f3be9[_0x5ae404(0x3a2)],_0x1f3be9[_0x5ae404(0x343)]);_0x1f3be9['iv']=_0x430768['iv'];var _0x3350bb=_0x1321d1[_0x5ae404(0x2d0)][_0x5ae404(0x1e1)](this,_0x30daab,_0x17b89b,_0x430768[_0x5ae404(0x2e3)],_0x1f3be9);return _0x3350bb[_0x5ae404(0x398)](_0x430768),_0x3350bb;},'decrypt':function(_0x2b2ebe,_0x184ecb,_0x4ec4b5,_0x453bc8){var _0x9b48a9=_0x391532;_0x453bc8=this['cfg'][_0x9b48a9(0x12e)](_0x453bc8),_0x184ecb=this[_0x9b48a9(0x19e)](_0x184ecb,_0x453bc8[_0x9b48a9(0x21a)]);var _0x2bfd40=_0x453bc8[_0x9b48a9(0x37c)][_0x9b48a9(0x2ff)](_0x4ec4b5,_0x2b2ebe['keySize'],_0x2b2ebe['ivSize'],_0x184ecb[_0x9b48a9(0x3a2)],_0x453bc8[_0x9b48a9(0x343)]);_0x453bc8['iv']=_0x2bfd40['iv'];var _0x3362da=_0x1321d1[_0x9b48a9(0x15e)][_0x9b48a9(0x1e1)](this,_0x2b2ebe,_0x184ecb,_0x2bfd40[_0x9b48a9(0x2e3)],_0x453bc8);return _0x3362da;}});}();}));}(Xe)),Xe[_0x206053(0xe3)];}var In=Ve[_0x59b5b4(0xe3)],ei;function Sn(){return ei||(ei=0x1,function(_0x4adba1,_0x5406bc){(function(_0x74808a,_0x54b683,_0x3f4222){var _0x376902=_0x2245;_0x4adba1[_0x376902(0xe3)]=_0x54b683(ie(),Ni(),un(),Ci(),bi());}(In,function(_0x213a00){var _0x5e617c=_0x2245;return(function(){var _0x23e298=_0x2245,_0x585f55=_0x213a00,_0x427d64=_0x585f55['lib'],_0x5ae2cf=_0x427d64[_0x23e298(0x25a)],_0xb3bb4b=_0x585f55[_0x23e298(0x189)],_0x2c4c11=[],_0x582344=[],_0x5ebb5a=[],_0x4a5a20=[],_0xa185ba=[],_0x48bf8f=[],_0x5cb6e3=[],_0x25aa97=[],_0x10b50a=[],_0x2d98a9=[];(function(){for(var _0x3d234b=[],_0x52a2f1=0x0;_0x52a2f1<0x100;_0x52a2f1++)_0x52a2f1<0x80?_0x3d234b[_0x52a2f1]=_0x52a2f1<<0x1:_0x3d234b[_0x52a2f1]=_0x52a2f1<<0x1^0x11b;for(var _0xd42b3b=0x0,_0x410deb=0x0,_0x52a2f1=0x0;_0x52a2f1<0x100;_0x52a2f1++){var _0x48749f=_0x410deb^_0x410deb<<0x1^_0x410deb<<0x2^_0x410deb<<0x3^_0x410deb<<0x4;_0x48749f=_0x48749f>>>0x8^_0x48749f&0xff^0x63,_0x2c4c11[_0xd42b3b]=_0x48749f,_0x582344[_0x48749f]=_0xd42b3b;var _0x5633a7=_0x3d234b[_0xd42b3b],_0x259cf0=_0x3d234b[_0x5633a7],_0x59ef74=_0x3d234b[_0x259cf0],_0x368c86=_0x3d234b[_0x48749f]*0x101^_0x48749f*0x1010100;_0x5ebb5a[_0xd42b3b]=_0x368c86<<0x18|_0x368c86>>>0x8,_0x4a5a20[_0xd42b3b]=_0x368c86<<0x10|_0x368c86>>>0x10,_0xa185ba[_0xd42b3b]=_0x368c86<<0x8|_0x368c86>>>0x18,_0x48bf8f[_0xd42b3b]=_0x368c86;var _0x368c86=_0x59ef74*0x1010101^_0x259cf0*0x10001^_0x5633a7*0x101^_0xd42b3b*0x1010100;_0x5cb6e3[_0x48749f]=_0x368c86<<0x18|_0x368c86>>>0x8,_0x25aa97[_0x48749f]=_0x368c86<<0x10|_0x368c86>>>0x10,_0x10b50a[_0x48749f]=_0x368c86<<0x8|_0x368c86>>>0x18,_0x2d98a9[_0x48749f]=_0x368c86,_0xd42b3b?(_0xd42b3b=_0x5633a7^_0x3d234b[_0x3d234b[_0x3d234b[_0x59ef74^_0x5633a7]]],_0x410deb^=_0x3d234b[_0x3d234b[_0x410deb]]):_0xd42b3b=_0x410deb=0x1;}}());var _0x519c23=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1f1498=_0xb3bb4b['AES']=_0x5ae2cf[_0x23e298(0x12e)]({'_doReset':function(){var _0x38e70d=_0x23e298,_0x510944;if(!(this[_0x38e70d(0x38a)]&&this[_0x38e70d(0x262)]===this[_0x38e70d(0x1a5)])){for(var _0x357248=this[_0x38e70d(0x262)]=this['_key'],_0x3959b8=_0x357248['words'],_0x44cc6c=_0x357248[_0x38e70d(0x385)]/0x4,_0xdbd083=this[_0x38e70d(0x38a)]=_0x44cc6c+0x6,_0x4ba1c6=(_0xdbd083+0x1)*0x4,_0x3cc9c4=this[_0x38e70d(0x31c)]=[],_0x4125d2=0x0;_0x4125d2<_0x4ba1c6;_0x4125d2++)_0x4125d2<_0x44cc6c?_0x3cc9c4[_0x4125d2]=_0x3959b8[_0x4125d2]:(_0x510944=_0x3cc9c4[_0x4125d2-0x1],_0x4125d2%_0x44cc6c?_0x44cc6c>0x6&&_0x4125d2%_0x44cc6c==0x4&&(_0x510944=_0x2c4c11[_0x510944>>>0x18]<<0x18|_0x2c4c11[_0x510944>>>0x10&0xff]<<0x10|_0x2c4c11[_0x510944>>>0x8&0xff]<<0x8|_0x2c4c11[_0x510944&0xff]):(_0x510944=_0x510944<<0x8|_0x510944>>>0x18,_0x510944=_0x2c4c11[_0x510944>>>0x18]<<0x18|_0x2c4c11[_0x510944>>>0x10&0xff]<<0x10|_0x2c4c11[_0x510944>>>0x8&0xff]<<0x8|_0x2c4c11[_0x510944&0xff],_0x510944^=_0x519c23[_0x4125d2/_0x44cc6c|0x0]<<0x18),_0x3cc9c4[_0x4125d2]=_0x3cc9c4[_0x4125d2-_0x44cc6c]^_0x510944);for(var _0x1558d8=this['_invKeySchedule']=[],_0x45a717=0x0;_0x45a717<_0x4ba1c6;_0x45a717++){var _0x4125d2=_0x4ba1c6-_0x45a717;if(_0x45a717%0x4)var _0x510944=_0x3cc9c4[_0x4125d2];else var _0x510944=_0x3cc9c4[_0x4125d2-0x4];_0x45a717<0x4||_0x4125d2<=0x4?_0x1558d8[_0x45a717]=_0x510944:_0x1558d8[_0x45a717]=_0x5cb6e3[_0x2c4c11[_0x510944>>>0x18]]^_0x25aa97[_0x2c4c11[_0x510944>>>0x10&0xff]]^_0x10b50a[_0x2c4c11[_0x510944>>>0x8&0xff]]^_0x2d98a9[_0x2c4c11[_0x510944&0xff]];}}},'encryptBlock':function(_0x16f03d,_0x389230){var _0x82e336=_0x23e298;this['_doCryptBlock'](_0x16f03d,_0x389230,this[_0x82e336(0x31c)],_0x5ebb5a,_0x4a5a20,_0xa185ba,_0x48bf8f,_0x2c4c11);},'decryptBlock':function(_0x4ab834,_0x2bc801){var _0x508d75=_0x23e298,_0x30b498=_0x4ab834[_0x2bc801+0x1];_0x4ab834[_0x2bc801+0x1]=_0x4ab834[_0x2bc801+0x3],_0x4ab834[_0x2bc801+0x3]=_0x30b498,this[_0x508d75(0x2be)](_0x4ab834,_0x2bc801,this['_invKeySchedule'],_0x5cb6e3,_0x25aa97,_0x10b50a,_0x2d98a9,_0x582344);var _0x30b498=_0x4ab834[_0x2bc801+0x1];_0x4ab834[_0x2bc801+0x1]=_0x4ab834[_0x2bc801+0x3],_0x4ab834[_0x2bc801+0x3]=_0x30b498;},'_doCryptBlock':function(_0x8cc9cd,_0x4f4e48,_0x1a3f2c,_0x20ef37,_0x19dbd6,_0x128803,_0x21f14e,_0x650219){var _0x487215=_0x23e298;for(var _0x5cbfbd=this[_0x487215(0x38a)],_0x2f1726=_0x8cc9cd[_0x4f4e48]^_0x1a3f2c[0x0],_0xefe8fc=_0x8cc9cd[_0x4f4e48+0x1]^_0x1a3f2c[0x1],_0x33897f=_0x8cc9cd[_0x4f4e48+0x2]^_0x1a3f2c[0x2],_0xcf38db=_0x8cc9cd[_0x4f4e48+0x3]^_0x1a3f2c[0x3],_0x4dca0a=0x4,_0x4e18e6=0x1;_0x4e18e6<_0x5cbfbd;_0x4e18e6++){var _0x193f08=_0x20ef37[_0x2f1726>>>0x18]^_0x19dbd6[_0xefe8fc>>>0x10&0xff]^_0x128803[_0x33897f>>>0x8&0xff]^_0x21f14e[_0xcf38db&0xff]^_0x1a3f2c[_0x4dca0a++],_0x48cca7=_0x20ef37[_0xefe8fc>>>0x18]^_0x19dbd6[_0x33897f>>>0x10&0xff]^_0x128803[_0xcf38db>>>0x8&0xff]^_0x21f14e[_0x2f1726&0xff]^_0x1a3f2c[_0x4dca0a++],_0x234f1d=_0x20ef37[_0x33897f>>>0x18]^_0x19dbd6[_0xcf38db>>>0x10&0xff]^_0x128803[_0x2f1726>>>0x8&0xff]^_0x21f14e[_0xefe8fc&0xff]^_0x1a3f2c[_0x4dca0a++],_0x3fde70=_0x20ef37[_0xcf38db>>>0x18]^_0x19dbd6[_0x2f1726>>>0x10&0xff]^_0x128803[_0xefe8fc>>>0x8&0xff]^_0x21f14e[_0x33897f&0xff]^_0x1a3f2c[_0x4dca0a++];_0x2f1726=_0x193f08,_0xefe8fc=_0x48cca7,_0x33897f=_0x234f1d,_0xcf38db=_0x3fde70;}var _0x193f08=(_0x650219[_0x2f1726>>>0x18]<<0x18|_0x650219[_0xefe8fc>>>0x10&0xff]<<0x10|_0x650219[_0x33897f>>>0x8&0xff]<<0x8|_0x650219[_0xcf38db&0xff])^_0x1a3f2c[_0x4dca0a++],_0x48cca7=(_0x650219[_0xefe8fc>>>0x18]<<0x18|_0x650219[_0x33897f>>>0x10&0xff]<<0x10|_0x650219[_0xcf38db>>>0x8&0xff]<<0x8|_0x650219[_0x2f1726&0xff])^_0x1a3f2c[_0x4dca0a++],_0x234f1d=(_0x650219[_0x33897f>>>0x18]<<0x18|_0x650219[_0xcf38db>>>0x10&0xff]<<0x10|_0x650219[_0x2f1726>>>0x8&0xff]<<0x8|_0x650219[_0xefe8fc&0xff])^_0x1a3f2c[_0x4dca0a++],_0x3fde70=(_0x650219[_0xcf38db>>>0x18]<<0x18|_0x650219[_0x2f1726>>>0x10&0xff]<<0x10|_0x650219[_0xefe8fc>>>0x8&0xff]<<0x8|_0x650219[_0x33897f&0xff])^_0x1a3f2c[_0x4dca0a++];_0x8cc9cd[_0x4f4e48]=_0x193f08,_0x8cc9cd[_0x4f4e48+0x1]=_0x48cca7,_0x8cc9cd[_0x4f4e48+0x2]=_0x234f1d,_0x8cc9cd[_0x4f4e48+0x3]=_0x3fde70;},'keySize':0x100/0x20});_0x585f55[_0x23e298(0x1cc)]=_0x5ae2cf[_0x23e298(0x373)](_0x1f1498);}()),_0x213a00[_0x5e617c(0x1cc)];}));}(Ve)),Ve['exports'];}var gn=Sn();const Tn=$e(gn);var On=Ni();const ti=$e(On);var Je={'exports':{}},Rn=Je['exports'],ii;function Nn(){var _0x34aad7=_0x59b5b4;return ii||(ii=0x1,function(_0x5bda19,_0x1d126d){(function(_0x1fcd9a,_0x2e7ce0){var _0x4a6be3=_0x2245;_0x5bda19[_0x4a6be3(0xe3)]=_0x2e7ce0(ie());}(Rn,function(_0x5b4c1e){var _0x2868d9=_0x2245;return _0x5b4c1e[_0x2868d9(0x1dc)]['Utf8'];}));}(Je)),Je[_0x34aad7(0xe3)];}var Cn=Nn();const bn=$e(Cn);var Ze={'exports':{}},Dn=Ze[_0x59b5b4(0xe3)],si;function yn(){return si||(si=0x1,function(_0x54c510,_0x3ac8a4){(function(_0x11b0e6,_0x28ca19){var _0x49f239=_0x2245;_0x54c510[_0x49f239(0xe3)]=_0x28ca19(ie());}(Dn,function(_0x503764){var _0x59049d=_0x2245;return(function(){var _0x236f12=_0x2245;if(typeof ArrayBuffer==_0x236f12(0x1e7)){var _0x5530e8=_0x503764,_0x3b3eda=_0x5530e8[_0x236f12(0x260)],_0xe80448=_0x3b3eda[_0x236f12(0x30c)],_0x271a24=_0xe80448[_0x236f12(0x138)],_0x22e42b=_0xe80448[_0x236f12(0x138)]=function(_0x2380fe){var _0xf1e50b=_0x236f12;if(_0x2380fe instanceof ArrayBuffer&&(_0x2380fe=new Uint8Array(_0x2380fe)),(_0x2380fe instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2380fe instanceof Uint8ClampedArray||_0x2380fe instanceof Int16Array||_0x2380fe instanceof Uint16Array||_0x2380fe instanceof Int32Array||_0x2380fe instanceof Uint32Array||_0x2380fe instanceof Float32Array||_0x2380fe instanceof Float64Array)&&(_0x2380fe=new Uint8Array(_0x2380fe['buffer'],_0x2380fe['byteOffset'],_0x2380fe[_0xf1e50b(0x252)])),_0x2380fe instanceof Uint8Array){for(var _0x42fa38=_0x2380fe[_0xf1e50b(0x252)],_0xaca5f0=[],_0x41b8bf=0x0;_0x41b8bf<_0x42fa38;_0x41b8bf++)_0xaca5f0[_0x41b8bf>>>0x2]|=_0x2380fe[_0x41b8bf]<<0x18-_0x41b8bf%0x4*0x8;_0x271a24['call'](this,_0xaca5f0,_0x42fa38);}else _0x271a24[_0xf1e50b(0x1c6)](this,arguments);};_0x22e42b['prototype']=_0xe80448;}}()),_0x503764['lib'][_0x59049d(0x30c)];}));}(Ze)),Ze['exports'];}var Un=yn();const An=$e(Un);var Qe={'exports':{}},Pn=Qe[_0x59b5b4(0xe3)],ni;function Ln(){return ni||(ni=0x1,function(_0x5f2908,_0x236f6e){(function(_0x1a72ac,_0x3081bc,_0x2e3d71){var _0x4de5bf=_0x2245;_0x5f2908[_0x4de5bf(0xe3)]=_0x3081bc(ie(),bi());}(Pn,function(_0x1ce675){var _0xe926da=_0x2245;return _0x1ce675[_0xe926da(0x272)][_0xe926da(0x2b8)]={'pad':function(){},'unpad':function(){}},_0x1ce675[_0xe926da(0x272)][_0xe926da(0x2b8)];}));}(Qe)),Qe['exports'];}var Mn=Ln();const wn=$e(Mn);function xn(_0x259a00,_0x33a8b2){var _0x57f488=_0x59b5b4;const _0x9ad70e=_0x33a8b2-_0x259a00[_0x57f488(0x1c0)]%_0x33a8b2,_0x375424=String['fromCharCode'](_0x9ad70e)[_0x57f488(0xdf)](_0x9ad70e);return _0x259a00+_0x375424;}function kn(_0x40cc6f,_0x268201){var _0x1ee3fc=_0x59b5b4;const _0xed6680=An[_0x1ee3fc(0x2b3)](0x10),_0x47e08b=xn(_0x40cc6f,0x10),_0x428cc0=Tn[_0x1ee3fc(0x2d0)](bn[_0x1ee3fc(0x213)](_0x47e08b),ti[_0x1ee3fc(0x213)](_0x268201),{'iv':_0xed6680,'padding':wn});return _0xed6680['concat'](_0x428cc0[_0x1ee3fc(0x3aa)])[_0x1ee3fc(0x14d)](ti);}function $n(){var _0x29d0a4=_0x59b5b4;const _0x57ad13=_0x1070d8()[_0x29d0a4(0x1a2)];if(_0x57ad13){const _0x4a6793={'time':Math[_0x29d0a4(0x39a)](Date[_0x29d0a4(0x2f5)]()/0x3e8),'domain':location['hostname']};return kn(JSON['stringify'](_0x4a6793),_0x57ad13);}}var Hn=Object[_0x59b5b4(0x298)],Bn=(_0xd9c684,_0xef3e89,_0x3d098a,_0x10c61d)=>{var _0x2964e0=_0x59b5b4;for(var _0x318988=_0x10c61d>0x1?void 0x0:_0x10c61d?Hn(_0xef3e89,_0x3d098a):_0xef3e89,_0x16622c=_0xd9c684[_0x2964e0(0x1c0)]-0x1,_0x191a8b;_0x16622c>=0x0;_0x16622c--)(_0x191a8b=_0xd9c684[_0x16622c])&&(_0x318988=_0x191a8b(_0x318988)||_0x318988);return _0x318988;},Fn=(_0x534444,_0x3da154)=>(_0x444d63,_0x5ac40d)=>_0x3da154(_0x444d63,_0x5ac40d,_0x534444);let at=class{constructor(_0x3a62fd){var _0x5bff9f=_0x59b5b4;this[_0x5bff9f(0x152)]=_0x3a62fd,this[_0x5bff9f(0xde)]();}['_initRequestHeader'](){var _0x59c02a=_0x59b5b4;this[_0x59c02a(0x152)][_0x59c02a(0x261)]({'interceptor':(_0x27a411,_0x1bf0c2)=>{var _0x2563b1=_0x59c02a;const _0x4dc825=_0x27a411[_0x2563b1(0x25c)],_0x1eeff4=$n();return _0x1eeff4&&_0x4dc825[_0x2563b1(0x321)](_0x2563b1(0x1d6),_0x1eeff4),_0x1bf0c2(_0x27a411);}});}};at=Bn([Fn(0x0,_0x1a58da(_0x28317b))],at);var jn=Object['getOwnPropertyDescriptor'],Vn=(_0x3c0185,_0x3381a6,_0x22c57e,_0x104585)=>{for(var _0x59391e=_0x104585>0x1?void 0x0:_0x104585?jn(_0x3381a6,_0x22c57e):_0x3381a6,_0x3da739=_0x3c0185['length']-0x1,_0x573857;_0x3da739>=0x0;_0x3da739--)(_0x573857=_0x3c0185[_0x3da739])&&(_0x59391e=_0x573857(_0x59391e)||_0x59391e);return _0x59391e;},vt=(_0xd600a0,_0x485a00)=>(_0x158953,_0x4addab)=>_0x485a00(_0x158953,_0x4addab,_0xd600a0);let Ot=class extends _0x5385ac{constructor(_0x5f5831,_0x42e242,_0x56ef43){var _0x5275bc=_0x59b5b4;super(),D(this,_0x5275bc(0x3ea),new _0xfba9c5(null)),D(this,_0x5275bc(0x3f0),this[_0x5275bc(0x3ea)]['asObservable']()),(this[_0x5275bc(0x12a)]=_0x5f5831,this[_0x5275bc(0x3ab)]=_0x42e242,this['_localCacheService']=_0x56ef43);}async[_0x59b5b4(0x2f1)](_0x2198ad,_0x122e86,_0x9f54fc){var _0x66b7cd=_0x59b5b4;this[_0x66b7cd(0x3ea)][_0x66b7cd(0x283)]({'unitId':_0x2198ad,'type':_0x122e86});let _0x4f7e62=null;switch(_0x122e86){case Q[_0x66b7cd(0x21e)]:{_0x4f7e62=await this[_0x66b7cd(0x3ab)][_0x66b7cd(0x102)](_0x2198ad,_0x9f54fc);break;}case Q['UNIVER_DOC']:{_0x4f7e62=await this[_0x66b7cd(0x3ab)][_0x66b7cd(0x2d6)](_0x2198ad,_0x9f54fc);break;}default:{this[_0x66b7cd(0x12a)][_0x66b7cd(0x31e)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4f7e62;}async['loadUnit'](_0x186ebd,_0x2957be,_0x44e56c){var _0x6e899d=_0x59b5b4,_0x1b5e36;this[_0x6e899d(0x3ea)][_0x6e899d(0x283)]({'unitId':_0x186ebd,'type':_0x2957be,'subUnitId':_0x44e56c});let _0x2d0098=0x0;const _0x12f89a=await((_0x1b5e36=this[_0x6e899d(0x22e)])==null?void 0x0:_0x1b5e36[_0x6e899d(0x37e)](_0x186ebd));return _0x12f89a&&(_0x12f89a[_0x6e899d(0x335)]||_0x12f89a[_0x6e899d(0x30e)][_0x6e899d(0x1c0)]!==0x0)&&(_0x2d0098=_0x12f89a[_0x6e899d(0x118)]),_0x2d0098===0x0&&this[_0x6e899d(0x12a)]['debug'](_0x6e899d(0x368),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x6e899d(0x2f1)](_0x186ebd,_0x2957be,_0x2d0098);}};Ot=Vn([vt(0x0,_0x41f1d3),vt(0x1,_0x1a58da(_0x21c76d)),vt(0x2,_0x24a4ee(X))],Ot);var Gn=Object[_0x59b5b4(0x298)],Wn=(_0x1d50a7,_0xad96f7,_0x257550,_0x8aaf7d)=>{for(var _0x1a4788=_0x8aaf7d>0x1?void 0x0:_0x8aaf7d?Gn(_0xad96f7,_0x257550):_0xad96f7,_0x5e34dd=_0x1d50a7['length']-0x1,_0x2ead2;_0x5e34dd>=0x0;_0x5e34dd--)(_0x2ead2=_0x1d50a7[_0x5e34dd])&&(_0x1a4788=_0x2ead2(_0x1a4788)||_0x1a4788);return _0x1a4788;},Et=(_0x4998b8,_0x5bb410)=>(_0x4b903e,_0x44c618)=>_0x5bb410(_0x4b903e,_0x44c618,_0x4998b8);const Yn=[_0x59b5b4(0x20a),'image/jpeg',_0x59b5b4(0x217),'image/gif',_0x59b5b4(0x3f7)],Kn=0x5*0x400*0x400,qn=_0x59b5b4(0x1ca),zn=_0x59b5b4(0x2b6);let Rt=class{constructor(_0x28ae96,_0x3db934,_0x4fb98e){var _0x562269=_0x59b5b4;D(this,'_waitCount',0x0),D(this,_0x562269(0xf0),new _0x392b17()),D(this,_0x562269(0x171),this['_change$']),D(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x28ae96,this['_configService']=_0x3db934,this[_0x562269(0xfa)]=_0x4fb98e);}[_0x59b5b4(0x1b9)](_0x3d5d5a){var _0x11ad2c=_0x59b5b4;this[_0x11ad2c(0x313)]=_0x3d5d5a,this[_0x11ad2c(0xf0)][_0x11ad2c(0x283)](_0x3d5d5a);}['getImageSourceCache'](_0x4ba91f,_0x28b7a9){var _0x226a2d=_0x59b5b4;if(_0x28b7a9===_0x11f743[_0x226a2d(0x39b)]){const _0x1db764=new Image();return _0x1db764[_0x226a2d(0x35b)]=_0x4ba91f,_0x1db764;}return this[_0x226a2d(0x1ff)][_0x226a2d(0x21f)](_0x4ba91f);}[_0x59b5b4(0x12d)](_0x127b7d,_0x205265,_0x424150){var _0x2bf341=_0x59b5b4;_0x205265===_0x11f743[_0x2bf341(0x39b)]||_0x424150==null||this[_0x2bf341(0x1ff)][_0x2bf341(0x321)](_0x127b7d,_0x424150);}async[_0x59b5b4(0x22c)](_0x5964fa){var _0x9f7b3a=_0x59b5b4;try{const _0x5e8b72=this[_0x9f7b3a(0x36c)](this[_0x9f7b3a(0x117)](),''+_0x5964fa),_0x3c2b46=(await this['_httpService'][_0x9f7b3a(0x21f)](_0x5e8b72))[_0x9f7b3a(0x1aa)];if(_0x3c2b46[_0x9f7b3a(0x31e)]&&_0x3c2b46[_0x9f7b3a(0x31e)][_0x9f7b3a(0x2dd)]===vi['OK']){const _0x399708=new URL(_0x3c2b46[_0x9f7b3a(0x1db)],this['_getDownloadEndpointURL']())[_0x9f7b3a(0x14d)]();return Promise[_0x9f7b3a(0x288)](_0x399708);}return Promise[_0x9f7b3a(0x285)](_0x3c2b46[_0x9f7b3a(0x31e)]);}catch(_0x7e661c){return Promise[_0x9f7b3a(0x285)](_0x7e661c);}}async[_0x59b5b4(0x3ad)](_0x27e1a5){var _0xe17225=_0x59b5b4;let _0x38608a='';if(!Yn['includes'](_0x27e1a5['type']))return this[_0xe17225(0x1bc)](),Promise[_0xe17225(0x285)](new Error(_0x35d6c9['ERROR_IMAGE_TYPE']));if(_0x27e1a5['size']>Kn)return this[_0xe17225(0x1bc)](),Promise[_0xe17225(0x285)](new Error(_0x35d6c9[_0xe17225(0x1fe)]));try{const _0x44d9a7=new FormData();_0x44d9a7[_0xe17225(0x1fd)](_0xe17225(0x2c4),_0x27e1a5);const _0x387f53=this[_0xe17225(0xfa)][_0xe17225(0x33d)](),_0x458e7c=_0x387f53==null?void 0x0:_0x387f53[_0xe17225(0x115)]();if(!_0x458e7c)throw new Error(_0xe17225(0x1cd));const _0xc3a4e=this[_0xe17225(0x3bf)]()+_0xe17225(0x3e6)+_0x27e1a5[_0xe17225(0x1ad)][_0xe17225(0x14d)]()+'&source='+Ei[_0xe17225(0x378)]+_0xe17225(0x395)+encodeURIComponent(_0x458e7c),_0x241304={'body':_0x44d9a7},_0x53ae88=(await this[_0xe17225(0x152)][_0xe17225(0x1e4)](_0xc3a4e,_0x241304))[_0xe17225(0x1aa)];if(typeof _0x53ae88[_0xe17225(0x271)]!=_0xe17225(0x21c))return this[_0xe17225(0x1bc)](),Promise['reject'](new Error(_0x35d6c9[_0xe17225(0x359)]));_0x38608a=_0x53ae88[_0xe17225(0x271)];}catch{return this[_0xe17225(0x1bc)](),Promise[_0xe17225(0x285)](new Error(_0x35d6c9['ERROR_IMAGE']));}return new Promise((_0x5d826d,_0x1d3f31)=>{var _0x2f2013=_0xe17225;const _0x41876f=new FileReader();_0x41876f[_0x2f2013(0x3ed)](_0x27e1a5),_0x41876f[_0x2f2013(0x1f5)]=_0x2bf0bd=>{var _0x36e19b=_0x2f2013,_0xc84227;const _0x39176a=(_0xc84227=_0x2bf0bd[_0x36e19b(0x1b5)])==null?void 0x0:_0xc84227['result'];if(_0x39176a==null){this[_0x36e19b(0x1bc)](),_0x1d3f31(new Error(_0x35d6c9[_0x36e19b(0x359)]));return;}const _0x26be0c=_0x2e2876(0x6);_0x5d826d({'imageId':_0x26be0c,'imageSourceType':_0x11f743['UUID'],'source':_0x38608a,'base64Cache':_0x39176a,'status':_0x35d6c9[_0x36e19b(0x258)]}),this[_0x36e19b(0x1bc)]();};});}['_getUploadFileURL'](){var _0x401110=_0x59b5b4,_0x525b52;const _0x305ba4=this[_0x401110(0x3b5)]['getConfig'](K);return(_0x525b52=_0x305ba4==null?void 0x0:_0x305ba4[_0x401110(0x17e)])!=null?_0x525b52:qn;}[_0x59b5b4(0x117)](){var _0x31a207=_0x59b5b4,_0x3ef4ee;const _0x41ed3b=this[_0x31a207(0x3b5)][_0x31a207(0x1c1)](K);return(_0x3ef4ee=_0x41ed3b==null?void 0x0:_0x41ed3b[_0x31a207(0x338)])!=null?_0x3ef4ee:zn;}['_getDownloadEndpointURL'](){var _0x1156ca=_0x59b5b4,_0x3d471c;const _0x16ffbc=this[_0x1156ca(0x3b5)][_0x1156ca(0x1c1)](K);return(_0x3d471c=_0x16ffbc==null?void 0x0:_0x16ffbc['downloadEndpointUrl'])!=null?_0x3d471c:location['origin'];}['_replaceFileID'](_0x3161ae,_0x4160c3){var _0x1decae=_0x59b5b4;return _0x3161ae[_0x1decae(0x371)]('{fileID}',_0x4160c3);}['_decreaseWaiting'](){var _0x41aeb7=_0x59b5b4;this[_0x41aeb7(0x313)]-=0x1,this['_change$'][_0x41aeb7(0x283)](this['_waitCount']);}};Rt=Wn([Et(0x0,_0x1a58da(_0x28317b)),Et(0x1,_0x4cf79c),Et(0x2,_0x1a58da(_0x33b121))],Rt);var Xn=Object['getOwnPropertyDescriptor'],Jn=(_0x3b666d,_0xedd915,_0x1bde42,_0x27e926)=>{var _0x465dd3=_0x59b5b4;for(var _0x5dfc13=_0x27e926>0x1?void 0x0:_0x27e926?Xn(_0xedd915,_0x1bde42):_0xedd915,_0xbe3327=_0x3b666d[_0x465dd3(0x1c0)]-0x1,_0x27f27b;_0xbe3327>=0x0;_0xbe3327--)(_0x27f27b=_0x3b666d[_0xbe3327])&&(_0x5dfc13=_0x27f27b(_0x5dfc13)||_0x5dfc13);return _0x5dfc13;},ri=(_0x1bdce8,_0x20fbe5)=>(_0x46cc0f,_0x22789f)=>_0x20fbe5(_0x46cc0f,_0x22789f,_0x1bdce8);const Zn=_0x59b5b4(0x20d);let Nt=class{constructor(_0x4c24d9,_0x1723b6){this['_configService']=_0x4c24d9,this['_HTTPService']=_0x1723b6;}[_0x59b5b4(0x2f8)](){var _0x3ffcb5=_0x59b5b4,_0xfc8a71;const _0x1f162c=this[_0x3ffcb5(0x3b5)][_0x3ffcb5(0x1c1)](K);return(_0xfc8a71=_0x1f162c==null?void 0x0:_0x1f162c[_0x3ffcb5(0x2ea)])!=null?_0xfc8a71:Zn;}async[_0x59b5b4(0x1f1)](_0x4b6aac){var _0x25e6c5=_0x59b5b4;const _0x34b50e=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x25e6c5(0x230),'mentions':(await this[_0x25e6c5(0x268)][_0x25e6c5(0x21f)](_0x34b50e,{'params':{'objectID':_0x4b6aac[_0x25e6c5(0x3f3)],'unitID':_0x4b6aac[_0x25e6c5(0x3f3)]}}))[_0x25e6c5(0x1aa)][_0x25e6c5(0x187)][_0x25e6c5(0x1a3)](_0x3137f8=>({'objectId':_0x3137f8['id'],'name':_0x3137f8[_0x25e6c5(0x324)][_0x25e6c5(0x333)],'metadata':{'icon':_0x3137f8['subject'][_0x25e6c5(0x12c)]},'label':_0x3137f8[_0x25e6c5(0x324)][_0x25e6c5(0x333)],'objectType':_0x25ba16[_0x25e6c5(0x39e)]})),'metadata':{},'type':_0x25ba16[_0x25e6c5(0x39e)]}]};}};function _0x1a33(){var _0x32d409=['UnitEmbedded','reset','randomBytes','YUUMI_TABLE_NOT_FOUND_IN_UNIT','kdf','members','loadOfflineData','_hash','5806004lhLtWf','CHANGESET_REVISION_CONFILICT','_event$','_handler','objectID','sigBytes','getLatestCsReqIdBySid','interceptor','onMissedChangesetFetched','status','_nRounds','_iv','find','editingUnit','transformMutationsWithChangeset','UNIVER_UNKNOWN','[OfflineState]:\x20received\x20acknowledgement.','hasOwnProperty','_updateState','_startTelemetryCollaborationNewChangeset','enableAuthServer','&assign=','_substituteRedoStack','getSheetId','mixIn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','floor','BASE64','_eventService','_collabSessionService','PERSON','_transformService','\x20-\x20','_userManagerService','salt','EMAIL_HAS_BEEN_BOUND','_undoStacks','executeCommand','_DEC_XFORM_MODE','Base64','_nDataBytes','fetchThroughInterceptors','ciphertext','_snapshotService','USER_IS_ANONYMOUS','saveImage','entries','[UniverCollaborationClientPlugin]','_singleActiveUnitService','/resources','Hasher','updateCollaborator','UNDEFINED','_configService','refreshPermission','_schedule','sendChangesetTimeout','collaboration_new_changeset','appendMutation','concat','[CollaborationSessionService]','_getAPIPrefix','CipherParams','_getUploadFileURL','_joinRoom','capture','Undefined','INVALID_ARGUMENT','saveSnapshot','state$','connection\x20error','getMember','enableSingleActiveInstanceLock','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','charAt','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_DISTRO_REJECTED','snapshot','[OfflineState]:\x20received\x20rejection.','APPLY_REJECT','substr','_listenToNetworkCondition','disableLocalCache','waitForRoom$','copyFileMeta','_sendHeartbeatTimer','/universer-api/uniscript','_collaborationUIEventService','CHANGESET_SHOULD_RETRY','_transitionLocked','_toggleOffline','_exhaustRemoteChangesetQueue','SHA1','save\x20fail\x20reason\x20is\x20','getTypeOfUnitDisposed$','startsWith','_onRemoteRetry','_socketService','DATA_SOURCE_TOO_LARGE','offline','_sendHeartbeat','_remoteChangesetQueue','?size=','_shouldReportTelemetry','LICENSE_EXPORT_SIZE_EXCEEDED','_members$','_unitInfo$','complete','WECHAT_HAS_BEEN_BOUND','readAsDataURL','CHANGESET_ACK','_roomCreated$','unitInfo$','LICENSE_IMPORT_SIZE_EXCEEDED','_getLoginPath','unitId','Base','cmd','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','image/bmp','/-/object/list','reconnect','REDEMPTION_INVALID_CODE','_localeService','3NxEgdz','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','pipe','_transformIMECache','ENTITLE_CAN_NOT_BUY_LOWER_OTP','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_state','filter','_fetchMissChangesets','SNAPSHOT_INVALID_SNAPSHOT','\x0aCurrent:\x20','JOIN_ROOM_FULL','snapshotServerUrl','_initRequestHeader','repeat','APPLY_DUPLICATED','EvpKDF','onStarting','exports','SOCKET_FAILED_RETRY','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getResourcesRequest','PasswordBasedCipher','ENTITLE_CHAT_LIMIT_EXCEED','abs','_cipher','YUUMI_ASYNCIO_CANCELLED','/new_changes','ws://127.0.0.1:8000/universer-api/comb/connect','[FetchMissState]','_stopTelemetryCollaborationNewChangeset','_change$','emitEvent','INGEST','[PendingState]:\x20unhandled\x20univer\x20type:\x20','OTHER_CLIENT_EDITING','PY_RUNTIME_SCRIPT_ERROR','_onConnectionOpen','event$','telemetry\x20info\x20is\x20not\x20initialized','fromCollab','_univerInstanceService','reverse','_rescheduleHeartbeat','_onRemoteChangeset','[CollaborationSession]','requireSession','closeSession','socketService','loadSheet','_candidateSocket','UNKNOWN_CODE','socket\x20open.','getTime','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_members','HEARTBEAT_TIMEOUT','UNIVER_COLLABORATION_CLIENT_PLUGIN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','HttpExport','_socket$','_resendTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ONLINE','NO_OTHER_CLIENTS_EDITING','YUUMI_AI_RUN_FAILED','_onUserJoin','_onMessage','getUnitId','_xformMode','_getSignURL','rev','href','_initDependencies','COMPRESS_MUTATION_SEND','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_SLIDE','msCrypto','error$','_sessions','deepClone','/universer-api/user/session-ticket','onMissingChangesets','entityInit$','SerializableCipher','[CollaborationUndoRedoService]','NEW_CHANGESETS','mode','INVITE_CODE_HAS_BEEN_UES','_logService','put','avatar','addImageSourceCache','extend','reqId','\x20to\x20','sessionStatus$','SNAPSHOT_HAS_BEEN_REMOVED','_initCloseConn','addHandlerCallback','onRemoteChangeset','csAckEvent','getCurrentUser','init','defineProperty','onRemoteRej','/-/object/-/batch_allowed','MD5','_awaitingChangeset','_doFinalize','ENTITLE_INSUFFICIENT_QUOTA','YUUMI_CONNECTOR_URL_NOT_FOUND','socket\x20close','session.join-failed','MOBILE_HAS_BEEN_BOUND','getRandomValues','close','LOGIN_FAILED','words','\x0aAfter:\x20','REDEMPTION_CODE_INACTIVE','_registerDependencies','data','REDEMPTION_USER_REDEEM_TIMES_EXCEED','toString','iterations','open$','/universer-api/oidc/authpage','_queuedRemoteChangesets','_httpService','_applyRemoteChangeset','_toggleOnline','_clearRedo','_handlerCallback','_lockTransition','min','getCollabEntity$','asObservable','[CollaborationSessionService]:\x20socket\x20error','_socket','originalMeta','decrypt','method','_injector','encode','shouldCloseConn','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','CURRENT_STATUS_CANNOT_OPERATE','_acknowledgedAwaitingChangeset','debug','create','DEFAULT_FILE_NAME','indexOf','_getUndoStack','MOBILE_VERIFY_CODE_MISMATCH','[OfflineState]:\x20received\x20changeset.','COMMENT_UPDATE','SYNCED','fromCharCode','_onFetchMissResult','change$','univer-pro.collaboration-client.single-active-unit-service','_createHandler','ENTITLE_INVALID_COUPON_CODE','_onUserLeave','uniscriptRunEvent','keySize','onRemoteAck','finalize','csShouldRetryEvent','REDEMPTION_CODE_NOT_STARTED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_PERMISSION_DENIED','uploadFileServerUrl','loginUrlKey','requestParams','every','userID','_executeRemoteChangeset','getTypeOfUnitAdded$','_telemetryInfo','_mode','collaborators','_transformRemoteChangesetByIMECache','algo','setCurrentUser','_onConnectionFailed','_sheetTransformSelectionsService','allowed','SHOULD_CLOSE_CONN','_iKey','revision','PERMISSION_DENIED','delete','duration','reduce','Pkcs7','_createSocket','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','PERMISSION_REJ','transformStack\x20failed!','permissionRejEvent','status$','objectType','message$','_parse','ceil','session.room-cnt-exceeds','_status$','__Key__','map','eventID','_key','_retryCount','REDEMPTION_CODE_FULLY_REDEEMED','LOCAL_CACHE_INTERVAL','11440190BijoYH','body','onTransformState','formatter','size','_scheduleCompleteTimestamp','updatePermissionPoint','conflict','_commentUpdate$','UnitSnapshot','_commentService','Cipher','target','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','743ODQNis','_socketMessageSubscription','setWaitCount','LIVESHARE_OPERATION','onSyncEditingCollabCursor','_decreaseWaiting','_clearRetryConnectingTimer','_reverseMap','confirm','length','getConfig','FAIL','action','memberID','/fetchmissing?from=','apply','default','getCurrentSelections','UNISCRIPT_RUN','/universer-api/stream/file/upload','_hasher','AES','unitId\x20is\x20not\x20found','_onRemoteACK','Utf8','focused$','collaboration-client.local-cache-service','FETCH_MISS','OFFLINE','symbol','updatePermissionObjEvent','x-univer-host','_transformRemoteChangesetByStateCache','/unit/','send','session.room-full','url','enc','_maxTotalRetryTimeout','_transformStack','onTransformSelections','ENTITLE_REPORT_LIMIT_EXCEED','call','getInterceptPoints','listRoles','post','crypto','joinEvent','function','[PendingState]:\x20received\x20acknowledgement.','LIVESHARE_REQUEST_HOST','/object/','c1Prime','close$','responseType','univer-pro.collaboration-client-socket-service','result','_waitForHeartbeatResponse','list','_onRemoteRejected','HmacSHA1','60776wnAWog','onload','retryConnectingInterval','_updateLocalCache','subUnitId','_getSendChangesetTimeout','_sender','MUTATION','readyForCollab','append','ERROR_EXCEED_SIZE','_imageSourceCache','_checkMissing','_sendingTimer','_tryReconnect','session','_timeoutTimer','newCsEvent','_map','onTransformIME','routeKey','YUUMI_UNABLE_LOAD_URL','image/png','_isPermissionRej','JOIN_ROOM_NOT_EXISTS','/universer-api/authz','removeMember','commentUpdate$','transformUndoRedo','HEARTBEAT','enableOfflineEditing','parse','onlyLocal','_resendWithTimeout','onStateChange','image/jpg','getWorkbookSelections','_transformSelections','format','ENTITLE_NEED_BILLING_ADDRESS','string','collabWebSocketUrl','UNIVER_SHEET','get','UPDATE_CURSOR','UNRECOGNIZED','_networkConditionService','_getRedoStack','not_collab','COMPLETION_FINISHED','isArray','has','_config','infoRsp','sin','withCredentials','getImage','awaiting_with_pending','_localCacheService','forEach','People','_sessionStatus$','BufferedBlockAlgorithm','getAllMembers','_onCombEvent','_entityInit$','cfg','ENTITLE_COUPON_EXPIRED','override','encryptBlock','Failed\x20to\x20update\x20permission\x20point','_onConflict','splice','_retryConnectingTimer','_changesetReqId','YUUMI_NO_CUBOID_FOR_QUESTION','_memberService','_telemetryService','_roomMembers','unknown','unit-cache-','JOIN','textRanges','TOO_MANY_REQUESTS','slice','socket$','AUTHORIZE_CODE_ILLEGAL','_snapshotServerService','submit\x20changeset\x20error!','collaboration-client.config','9zvjClR','UNIVER_PROJECT','onSendChangeset','collabSubmitChangesetUrl','byteLength','_substituteUndoStack','_transformStateCache','_doReset','join','StreamCipher','SUCCUSS','collaMsg','BlockCipher','LIVESHARE_FETCH_OPERATIONS','headers','_submitChangeset','JOINING','liveShareOperation','lib','registerHTTPInterceptor','_keyPriorReset','objectActions','Latin1','GLOBAL_ROOMS_CNT_EXCEEDS','unitID','from','_HTTPService','_doCreateSocket','_replayCachedMutations','__splitChunk__','getCurrentRevOfUnit','pluginName','RETRY_CONNECTING_MAX_COUNT','ClipsheetFragments','localeService','FileId','pad','stringify','m2Prime','_pendingMutations','getMemberID','&to=','actions','YUUMI_URL_COL_OUT_OF_RANGE','USER_NOT_FOUND','$super','ENTITLE_COUPON_USED_UP','INVITE_CODE_REQUIRED','encodeURIComponent','roles','sheets','SUBMIT_CHANGESET_TIMEOUT','collaboratorID','next','_state$','reject','_clearTimeoutTimer','_unitID','resolve','LIVESHARE_TERMINATE','createInstance','_init','/universer-api/snapshot','synced','_disableEditing','clone','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_updateStatus','_collaborationPaused','ENSURE_SNAPSHOT_EXECUTION','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','APPLY_REVISION_CONFILICT','getSnapshotAPIPath','_getCtorByUniverType','getOwnPropertyDescriptor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_collaborationTimeoutTimer','_onJoinRoomEvent','UNKNOWN_CMD','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','selections','JOIN_ROOM_PERMISSION_DENIED','enableCollaboration','PSEUDO_FETCH_MISSING_RESULT','/collaborator','2066040nvaoGD','readInt32LE','5ihCOGX','HMAC','UPDATE_PERMISSION_OBJ','fetchMiss','add','_showConflictNotification','3844GEuUnd','[PendingState]:\x20received\x20rejection.','[CollaborationState]:\x20apply\x20error!','_clearCollaborationTimeoutTimer','/block/','blockSize','setShowComponents','dispose','random','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CONFLICT','/universer-api/file/{fileID}/sign-url','transformSelections','NoPadding','transformChangesets','ivSize','_unlockTransition','batchAllowed','charCodeAt','_doCryptBlock','Encryptor','CLOSE_ROOM','_data','_minBufferSize','liveShareNewHost','file','__creator','location','YUUMI_ALL_TABLES_IS_INVALID','push','_clearUndo','_clearScheduledTask','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','YUUMI_SUBSCRIPTION_NOT_FOUND','_doProcessBlock','LOGIN_TOKEN_PROCESSING_FAILED','_createHmacHelper','encrypt','c2Prime','NOT_FOUND','createCollaborator','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ALREADY_EXISTS','loadDoc','USERS_LEAVE','setConfig','disposeWithMe','JOIN_ROOM_FAILED','_throwTelemetryCollaborationNewChangeset','baseRev','code','getUnitOnRev','resourceIDs','USERS_ENTER','createSocket','_instanceService','key','_collaborationSessionService','state','_onLocalMutation','[SyncedState]:\x20received\x20acknowledgement.','/rev/','localCacheService','authzUrl','values','_startCollaboration','POST','fetching\x20missing\x20changesets\x20from\x20','IDLE','RECV','loadUnitOfRevision','OpenSSL','updateMember','/allowed','now','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_process','_getAPIPrefixPath','clamp','UserProfileImg','_append','clear','_onOffline','?url=','execute','_emitMembers','_ENC_XFORM_MODE','_clearLocalCache','pending','_undoRedoService','session.room-not-exists','_transformUndoredo','_incrementRevisionNumber','patch','createEncryptor','_tryEnsureSocket','PAYMENT_CHANNEL_NOT_SUPPORT','WordArray','resend','mutations','[CollaborationEntity]','LIVESHARE_NEW_HOST','_oKey','dispose$','_waitCount','pauseCollaboration','_redoStacks','BlockCipherMode','_resendTimeout','YUUMI_RATE_OVER_LIMIT','APPLY_NON_SEQUENTIAL_REVISION','range','update','_keySchedule','onTransformRemoteChangesetByIMECache','error','getUnitType','INVITE_CODE_ALREADY_BOUND','set','toggleOffline','roomInfos','subject','isPermissionRej','subscribe','COMPRESS_MUTATION_APPLY','getUnit','joinRsp','_createInitialState','_changesetSessionId','sid','getCollabEntity','session.room-permission-denied','_onRecvEvent','NOT_COLLAB','type','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','name','_compressMutationService','awaitingChangeset','onLocalMutation','sessionStatus','signUrlServerUrl','CONNECTOR_DATA_TOO_LARGE','toggleOnline','_removeRoom','_permissionService','getFocusedUnit','decryptBlock','UNIVER_DOC','SOCKET_FAILED','_type','OPTIONAL','hasher','onMutationExecutedForCollab','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','params','prototype','EMAIL_VERIFY_CODE_MISMATCH','HEARTBEAT_INTERVAL','LEAVE','704517zSXuLh','padding','unsubscribe','21zyGAue','ERROR_AGAIN','updateOfflineData','USER_NOT_INVITED_CODE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','online$','ENTITLE_DUP_SUBSCRIPTION','_syncEditingCollabCursor','33856752RsyMsA','getSheetBlock','/object','ERROR_IMAGE','_getCurrentRevision','src','changesets','_entities','compute','onCommentUpdate','REDEMPTION_USER_NOT_ELIGIBLE','HELLO','awaiting','_prevBlock','_revisionService','fetch_missing','onRemoteRetry','startTime','[DataLoaderService]','saveChangeset','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_scheduleCollaborationTimeoutTimer','_replaceFileID','PENDING','objects','_commandService','stopTime','replace','getDeserializedSheetBlock','_createHelper','OTHER_CLIENTS_EDITING','_socketReady','SUBMIT_CHANGESET','onTransformRemoteChangesetByStateCache'];_0x1a33=function(){return _0x32d409;};return _0x1a33();}Nt=Jn([ri(0x0,_0x1a58da(_0x4cf79c)),ri(0x1,_0x1a58da(_0x28317b))],Nt);var Qn=Object['getOwnPropertyDescriptor'],er=(_0x380ad3,_0xf75003,_0x353d2d,_0x5a56c9)=>{var _0xf516ae=_0x59b5b4;for(var _0xa61941=_0x5a56c9>0x1?void 0x0:_0x5a56c9?Qn(_0xf75003,_0x353d2d):_0xf75003,_0x256b49=_0x380ad3[_0xf516ae(0x1c0)]-0x1,_0x15d723;_0x256b49>=0x0;_0x256b49--)(_0x15d723=_0x380ad3[_0x256b49])&&(_0xa61941=_0x15d723(_0xa61941)||_0xa61941);return _0xa61941;},Ue=(_0x382d89,_0x120c1d)=>(_0x100ae7,_0x2baa8e)=>_0x120c1d(_0x100ae7,_0x2baa8e,_0x382d89);let ot=class extends _0x5385ac{constructor(_0xf771ec,_0x41b5ec,_0x572e8e,_0x1a0183,_0x4dcb5b){var _0x2d80a8=_0x59b5b4;super(),this[_0x2d80a8(0x160)]=_0xf771ec,this['_univerInstanceService']=_0x41b5ec,this['_permissionService']=_0x572e8e,this[_0x2d80a8(0x2e4)]=_0x1a0183,this['_collaborationUIEventService']=_0x4dcb5b,this['_initUnitPermissionChange'](),this[_0x2d80a8(0x133)]();}[_0x59b5b4(0x133)](){var _0x3d91af=_0x59b5b4;const _0x5e1545=async _0xd220ab=>{var _0x3995d5=_0x2245;(await this[_0x3995d5(0x2e4)][_0x3995d5(0xff)](_0xd220ab))[_0x3995d5(0xf7)][_0x3995d5(0x3fe)](_0x2264c4(_0x4f92f3=>_0x4f92f3['eventID']===_0x8199d6['SHOULD_CLOSE_CONN']),_0x37c0c2(this[_0x3995d5(0x312)]))[_0x3995d5(0x326)](_0x521a4a=>{var _0x587b6e=_0x3995d5;const _0x78d12=_0x521a4a,{reason:_0x535b3f}=_0x78d12[_0x587b6e(0x14b)];this['_collaborationUIEventService']['emitEvent']({'id':re[_0x587b6e(0x2c0)],'data':_0x535b3f}),this[_0x587b6e(0x33c)][_0x587b6e(0x1af)](new _0x1c73ad(_0xd220ab)['id'],!0x1),this[_0x587b6e(0x2e4)][_0x587b6e(0x100)](_0xd220ab);});};_0x58a98c(this[_0x3d91af(0xfa)][_0x3d91af(0x184)](_0x5160b0['UNIVER_SHEET']),this['_univerInstanceService'][_0x3d91af(0x184)](_0x5160b0[_0x3d91af(0x33f)]))['pipe'](_0x3f2333(_0x17107b=>_0x17107b['getUnitId']()),_0x2264c4(_0x464bfa=>!_0x1b558c(_0x464bfa)),_0x37c0c2(this[_0x3d91af(0x312)]))[_0x3d91af(0x326)](_0x2a341d=>{_0x5e1545(_0x2a341d);});}['_initUnitPermissionChange'](){var _0x28ea57=_0x59b5b4;const _0x40df58=async _0x2ec130=>{var _0x5e4e1b=_0x2245;const _0x2d147e=await this[_0x5e4e1b(0x2e4)][_0x5e4e1b(0xff)](_0x2ec130),_0x549f36=this[_0x5e4e1b(0x160)][_0x5e4e1b(0x21f)](_0x4fd551);_0x2d147e[_0x5e4e1b(0xf7)][_0x5e4e1b(0x3fe)](_0x2264c4(_0x1c3776=>_0x1c3776[_0x5e4e1b(0x1a4)]===_0x8199d6[_0x5e4e1b(0x2a7)]),_0x37c0c2(this[_0x5e4e1b(0x312)]))['subscribe'](_0x50a644=>{var _0x282de4=_0x5e4e1b;const _0x3121d9=_0x50a644,{objectId:_0x5cde41}=_0x3121d9[_0x282de4(0x14b)];_0x5cde41===_0x2ec130?_0x549f36['initWorkbookPermissionChange'](_0x2ec130):_0x549f36[_0x282de4(0x3b6)](_0x2ec130,_0x5cde41);});};_0x58a98c(this[_0x28ea57(0xfa)][_0x28ea57(0x184)](_0x5160b0[_0x28ea57(0x21e)]))['pipe'](_0x3f2333(_0x290c55=>_0x290c55[_0x28ea57(0x115)]()),_0x2264c4(_0x2cb612=>!_0x1b558c(_0x2cb612)),_0x37c0c2(this[_0x28ea57(0x312)]))[_0x28ea57(0x326)](_0x6eb80b=>{_0x40df58(_0x6eb80b);});}};ot=er([Ue(0x0,_0x1a58da(_0x304bd2)),Ue(0x1,_0x33b121),Ue(0x2,_0x6680b3),Ue(0x3,_0x1a58da(Le)),Ue(0x4,_0x1a58da(ve))],ot);var tr=Object[_0x59b5b4(0x298)],ir=(_0x26158c,_0x236438,_0x62f124,_0x452276)=>{var _0xe1a994=_0x59b5b4;for(var _0x435663=_0x452276>0x1?void 0x0:_0x452276?tr(_0x236438,_0x62f124):_0x236438,_0x4457ba=_0x26158c[_0xe1a994(0x1c0)]-0x1,_0x4b32c4;_0x4457ba>=0x0;_0x4457ba--)(_0x4b32c4=_0x26158c[_0x4457ba])&&(_0x435663=_0x4b32c4(_0x435663)||_0x435663);return _0x435663;},ai=(_0x2791f1,_0x46ac0c)=>(_0x2af280,_0x284a2e)=>_0x46ac0c(_0x2af280,_0x284a2e,_0x2791f1);let Ct=class{constructor(_0x54ce3e,_0x18f82b){this['_configService']=_0x54ce3e,this['_httpService']=_0x18f82b;}async[_0x59b5b4(0x2de)](_0xdc4947,_0x776704){var _0x8a91d3=_0x59b5b4,_0x4bc260;const {unitID:_0x5c7182,type:_0x257b2a,revision:_0x1adfa8=0x0}=_0x776704,_0x3df234=this[_0x8a91d3(0x296)]()+'/'+_0x257b2a+_0x8a91d3(0x1d8)+_0x5c7182+_0x8a91d3(0x2e8)+_0x1adfa8,_0x3d6272=(await this[_0x8a91d3(0x152)]['get'](_0x3df234))[_0x8a91d3(0x1aa)],_0x17a75a=(_0x4bc260=_0x3d6272[_0x8a91d3(0x3cd)])==null?void 0x0:_0x4bc260['workbook'];if(_0x17a75a){const _0x1c73c7=_0x17a75a==null?void 0x0:_0x17a75a[_0x8a91d3(0x15d)],_0x22f377=_0x224381[_0x8a91d3(0x161)](_0x204879(_0x1c73c7));_0x17a75a[_0x8a91d3(0x15d)]=_0x22f377,Object[_0x8a91d3(0x3ae)](_0x17a75a[_0x8a91d3(0x280)])['forEach'](([,_0x258e37])=>{var _0x3f8fbd=_0x8a91d3;const _0x2672fe=_0x258e37[_0x3f8fbd(0x15d)],_0x964e0b=_0x224381[_0x3f8fbd(0x161)](_0x204879(_0x2672fe));_0x258e37[_0x3f8fbd(0x15d)]=_0x964e0b;});}return _0x3d6272;}async[_0x59b5b4(0x357)](_0x498933,_0x4a7e64){var _0x15855f=_0x59b5b4;const {unitID:_0x418992,type:_0x51f120,blockID:_0x288ee4}=_0x4a7e64,_0x133a58=this['_getAPIPrefix']()+'/'+_0x51f120+_0x15855f(0x1d8)+_0x418992+_0x15855f(0x2af)+_0x288ee4;return(await this[_0x15855f(0x152)][_0x15855f(0x21f)](_0x133a58))['body'];}async[_0x59b5b4(0x372)](_0x559ff6,_0x220475){var _0x15d473=_0x59b5b4;const {unitID:_0x1a8bfb,type:_0x5ec0b9,blockID:_0x109f04}=_0x220475,_0x553b7e=this[_0x15d473(0x3bd)]()+'/block/'+_0x5ec0b9+_0x15d473(0x1d8)+_0x1a8bfb+'/block/'+_0x109f04;return(await this['_httpService'][_0x15d473(0x21f)](_0x553b7e))[_0x15d473(0x1aa)];}async['fetchMissingChangesets'](_0x17ab74,_0x1d736c){var _0x207514=_0x59b5b4;const {unitID:_0x107686,type:_0x49c269,from:_0x391d41,to:_0x1a1366}=_0x1d736c,_0xb9b096=this[_0x207514(0x3bd)]()+'/'+_0x49c269+_0x207514(0x1d8)+_0x107686+_0x207514(0x1c5)+_0x391d41+_0x207514(0x277)+_0x1a1366;return(await this[_0x207514(0x152)][_0x207514(0x21f)](_0xb9b096))[_0x207514(0x1aa)];}[_0x59b5b4(0x296)](){var _0x414ee7=_0x59b5b4,_0x2430d4;return(_0x2430d4=this[_0x414ee7(0x3b5)]['getConfig'](Es))!=null?_0x2430d4:this[_0x414ee7(0x3bd)]();}[_0x59b5b4(0x3bd)](){var _0x1d9d14=_0x59b5b4,_0x50dd0e;const _0x2d1be8=this[_0x1d9d14(0x3b5)][_0x1d9d14(0x1c1)](K);return(_0x50dd0e=_0x2d1be8==null?void 0x0:_0x2d1be8[_0x1d9d14(0xdd)])!=null?_0x50dd0e:vs;}async[_0x59b5b4(0xe6)](_0x59b190,_0x2cf679){var _0x414c67=_0x59b5b4;const _0x55cc28='/universer-api/snapshot/'+_0x2cf679['type']+'/unit/'+_0x2cf679[_0x414c67(0x266)]+_0x414c67(0x3b1);return(await this[_0x414c67(0x152)][_0x414c67(0x21f)](_0x55cc28,{'params':{'resourceId':JSON[_0x414c67(0x273)](_0x2cf679[_0x414c67(0x2df)])}}))[_0x414c67(0x1aa)];}[_0x59b5b4(0x3c4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x1dfa59=_0x59b5b4;throw new Error(_0x1dfa59(0x401));}[_0x59b5b4(0x369)](){var _0x5da3e1=_0x59b5b4;throw new Error(_0x5da3e1(0x401));}[_0x59b5b4(0x3d4)](){var _0x112c6e=_0x59b5b4;throw new Error(_0x112c6e(0x401));}[_0x59b5b4(0x386)](){var _0x160f10=_0x59b5b4;throw new Error(_0x160f10(0x401));}};Ct=ir([ai(0x0,_0x4cf79c),ai(0x1,_0x1a58da(_0x28317b))],Ct);var sr=Object[_0x59b5b4(0x298)],nr=(_0x455747,_0x3a4f9d,_0x4a1cc3,_0x131a1b)=>{var _0x56cb17=_0x59b5b4;for(var _0x445693=_0x131a1b>0x1?void 0x0:_0x131a1b?sr(_0x3a4f9d,_0x4a1cc3):_0x3a4f9d,_0x3cc35f=_0x455747[_0x56cb17(0x1c0)]-0x1,_0x146d61;_0x3cc35f>=0x0;_0x3cc35f--)(_0x146d61=_0x455747[_0x3cc35f])&&(_0x445693=_0x146d61(_0x445693)||_0x445693);return _0x445693;},Ae=(_0x415eca,_0x543e1e)=>(_0x26bf62,_0x486de3)=>_0x543e1e(_0x26bf62,_0x486de3,_0x415eca);let bt=class extends _0x176556{constructor(_0x4d46fb,_0x43bbf9,_0x45ade6,_0x3892d6,_0x323453){var _0x15792c=_0x59b5b4;super(_0x4d46fb,_0x43bbf9,_0x45ade6),this[_0x15792c(0x39f)]=_0x3892d6,this['_logService']=_0x323453;}[_0x59b5b4(0x210)](_0x219c99,_0x3e1272){var _0x5ced01=_0x59b5b4;const _0x26a4d9=this[_0x5ced01(0x16a)](_0x219c99);if(_0x26a4d9)try{const _0x50ddc4=this[_0x5ced01(0x1de)](_0x26a4d9,_0x3e1272);this['_substituteUndoStack'](_0x219c99,_0x50ddc4);}catch(_0x354a0d){this[_0x5ced01(0x12a)][_0x5ced01(0x31e)]('[CollaborationUndoRedoService]',_0x354a0d),this[_0x5ced01(0x2c9)](_0x219c99);}const _0x476779=this[_0x5ced01(0x223)](_0x219c99);if(_0x476779)try{const _0x20ed6f=this[_0x5ced01(0x1de)](_0x476779,_0x3e1272);this[_0x5ced01(0x396)](_0x219c99,_0x20ed6f);}catch(_0x518520){this[_0x5ced01(0x12a)][_0x5ced01(0x31e)](_0x518520),this[_0x5ced01(0x155)](_0x219c99);}}[_0x59b5b4(0x2c9)](_0x1dfa3a){var _0xc886f6=_0x59b5b4;const _0x5cba75=this[_0xc886f6(0x16a)](_0x1dfa3a);_0x5cba75&&(_0x5cba75[_0xc886f6(0x1c0)]=0x0,this[_0xc886f6(0x291)]());}[_0x59b5b4(0x155)](_0x20e3ca){var _0x33cdfc=_0x59b5b4;const _0x500f08=this[_0x33cdfc(0x223)](_0x20e3ca);_0x500f08&&(_0x500f08['length']=0x0,this['_updateStatus']());}[_0x59b5b4(0x253)](_0x144f29,_0x1e235e){var _0x321fb5=_0x59b5b4;this[_0x321fb5(0x3a4)]['set'](_0x144f29,_0x1e235e),this[_0x321fb5(0x291)]();}['_substituteRedoStack'](_0x1c26fa,_0x2d69b1){var _0x5e87c3=_0x59b5b4;this[_0x5e87c3(0x315)][_0x5e87c3(0x321)](_0x1c26fa,_0x2d69b1),this[_0x5e87c3(0x291)]();}[_0x59b5b4(0x1de)](_0x17aa01,_0x6e6c72){var _0x4ee3fe=_0x59b5b4;const _0x578b3f=[];let _0x4c0fc5=_0x6e6c72,_0x35dc8e=_0x6e6c72;for(let _0x3f7d5d=_0x17aa01[_0x4ee3fe(0x1c0)]-0x1;_0x3f7d5d>=0x0;_0x3f7d5d--){const {unitID:_0x514aa6,undoMutations:_0x2de621,redoMutations:_0x387033}=_0x17aa01[_0x3f7d5d],_0x253116=this[_0x4ee3fe(0x39f)][_0x4ee3fe(0x38e)](_0x4c0fc5,_0x2de621),_0x29ed6f=this[_0x4ee3fe(0x39f)][_0x4ee3fe(0x38e)](_0x35dc8e,_0x387033);if(_0x2667a2(_0x253116)||_0x2667a2(_0x29ed6f)){this[_0x4ee3fe(0x12a)][_0x4ee3fe(0x31e)](_0x4ee3fe(0x126),_0x4ee3fe(0x199),_0x253116,_0x29ed6f);break;}_0x4c0fc5=_0x253116[_0x4ee3fe(0x1eb)],_0x35dc8e=_0x29ed6f[_0x4ee3fe(0x1eb)],_0x578b3f['push']({'unitID':_0x514aa6,'undoMutations':_0x253116[_0x4ee3fe(0x274)],'redoMutations':_0x29ed6f[_0x4ee3fe(0x274)]});}return _0x578b3f[_0x4ee3fe(0xfb)]();}};bt=nr([Ae(0x0,_0x33b121),Ae(0x1,_0x48e048),Ae(0x2,_0x1abaab),Ae(0x3,_0x39ca4e),Ae(0x4,_0x41f1d3)],bt);var rr=Object[_0x59b5b4(0x139)],ar=Object[_0x59b5b4(0x298)],or=(_0x515583,_0x1d91c5,_0xceb620)=>_0x1d91c5 in _0x515583?rr(_0x515583,_0x1d91c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xceb620}):_0x515583[_0x1d91c5]=_0xceb620,cr=(_0x455b37,_0x4dd411,_0x55dcd5,_0x2cb30e)=>{for(var _0x15dcf9=_0x2cb30e>0x1?void 0x0:_0x2cb30e?ar(_0x4dd411,_0x55dcd5):_0x4dd411,_0x227f8f=_0x455b37['length']-0x1,_0x430e2e;_0x227f8f>=0x0;_0x227f8f--)(_0x430e2e=_0x455b37[_0x227f8f])&&(_0x15dcf9=_0x430e2e(_0x15dcf9)||_0x15dcf9);return _0x15dcf9;},pt=(_0x599e69,_0x64b032)=>(_0x949e67,_0x4f545a)=>_0x64b032(_0x949e67,_0x4f545a,_0x599e69),_r=(_0x3d2796,_0x3c3cec,_0xc85220)=>or(_0x3d2796,_0x3c3cec+'',_0xc85220);const hr=_0x59b5b4(0x10a);let Dt=class extends _0x4fc85d{constructor(_0x2bafa1,_0x58e2bd,_0x5e0e02,_0x3ab42d){var _0x1d3d8d=_0x59b5b4;super(),D(this,_0x1d3d8d(0x228)),(this[_0x1d3d8d(0x12a)]=_0x58e2bd,this[_0x1d3d8d(0x160)]=_0x5e0e02,this[_0x1d3d8d(0x3b5)]=_0x3ab42d);const {..._0x47032e}=_0x51372b({},xs,_0x2bafa1);if(!_0x47032e[_0x1d3d8d(0x101)])throw new Error(_0x1d3d8d(0x294));this[_0x1d3d8d(0x228)]=_0x47032e,this[_0x1d3d8d(0x3b5)][_0x1d3d8d(0x2d8)](K,_0x47032e);}[_0x59b5b4(0xe2)](){var _0x20ed2f=_0x59b5b4;this['_registerDependencies'](),this[_0x20ed2f(0x11a)]();}[_0x59b5b4(0x14a)](){var _0xfd4e7c=_0x59b5b4,_0xc120b4,_0x5da310;this['_injector'][_0xfd4e7c(0x227)](_0x4c7a7f)&&this[_0xfd4e7c(0x12a)][_0xfd4e7c(0x31e)](_0xfd4e7c(0x3af),_0xfd4e7c(0x29d));const _0x430b91=_0x55d6ff([[_0x4c7a7f,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0xfd4e7c(0x228)][_0xfd4e7c(0x101)]}],[_0x153314,{'useClass':Ct}],[_0x48291a,{'useClass':Tt}],[_0xacadaa,{'useClass':Rt}],[_0x42f742,{'useClass':Nt}],[nt],[gt]],(_0xc120b4=this[_0xfd4e7c(0x228)])==null?void 0x0:_0xc120b4[_0xfd4e7c(0x238)]);if(!((_0x5da310=this[_0xfd4e7c(0x228)])!=null&&_0x5da310[_0xfd4e7c(0x3c8)])){const _0x5d22fc=_0x430b91['findIndex'](([_0x579bff])=>_0x579bff===_t);_0x5d22fc!==-0x1&&_0x430b91[_0xfd4e7c(0x23c)](_0x5d22fc,0x1);}_0x3ad911(this[_0xfd4e7c(0x160)],_0x430b91);}[_0x59b5b4(0x11a)](){var _0x4fb542=_0x59b5b4,_0xbb114b,_0x2bd2be,_0x1965dd;this[_0x4fb542(0x160)][_0x4fb542(0x21f)](_0x28317b)[_0x4fb542(0x261)]({'priority':0x14,'interceptor':_0x17daf5({'maxParallel':0x6})}),(_0xbb114b=this[_0x4fb542(0x228)])!=null&&_0xbb114b[_0x4fb542(0x212)]||(_0x2bd2be=this[_0x4fb542(0x160)]['get'](X,_0x537754[_0x4fb542(0x342)]))==null||_0x2bd2be[_0x4fb542(0x3d2)](),(_0x1965dd=this[_0x4fb542(0x228)])!=null&&_0x1965dd[_0x4fb542(0x394)]&&_0x5dd37a(this['_injector'],[[rt]]),_0x5dd37a(this[_0x4fb542(0x160)],[[at],[nt],[ot]]);}};_r(Dt,_0x59b5b4(0x26d),hr),Dt=cr([_0x12fa2d(_0x1d5c63,_0x211efc),pt(0x1,_0x41f1d3),pt(0x2,_0x1a58da(_0x304bd2)),pt(0x3,_0x4cf79c)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Tr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Is as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Rr as LOCAL_CACHE_INTERVAL,Or as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Nr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Ts as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Vs as deserializeToCombResponse,br as getLocalCacheKey,Gs as serializeCombRequest};
1
+ var _0x23ae93=_0x97e6;(function(_0x753a02,_0x470f13){var _0x14e17a=_0x97e6,_0x1c0ed3=_0x753a02();while(!![]){try{var _0x6ec27e=parseInt(_0x14e17a(0x1cf))/0x1+parseInt(_0x14e17a(0x30d))/0x2+parseInt(_0x14e17a(0x128))/0x3+-parseInt(_0x14e17a(0x156))/0x4*(parseInt(_0x14e17a(0x205))/0x5)+-parseInt(_0x14e17a(0x40e))/0x6+-parseInt(_0x14e17a(0x409))/0x7+parseInt(_0x14e17a(0x34a))/0x8;if(_0x6ec27e===_0x470f13)break;else _0x1c0ed3['push'](_0x1c0ed3['shift']());}catch(_0xa63edd){_0x1c0ed3['push'](_0x1c0ed3['shift']());}}}(_0x6016,0x339e9));var Di=Object[_0x23ae93(0x3ad)],yi=(_0x409bfe,_0x4192e1,_0x252d94)=>_0x4192e1 in _0x409bfe?Di(_0x409bfe,_0x4192e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x252d94}):_0x409bfe[_0x4192e1]=_0x252d94,D=(_0x4c8340,_0x58d170,_0x1a0089)=>yi(_0x4c8340,typeof _0x58d170!='symbol'?_0x58d170+'':_0x58d170,_0x1a0089);import{CollaborationEvent as _0x2ea533,ITransformService as _0x3b1162,isTransformMutationsWithChangesetSuccess as _0x1277a2,mapDocumentTypeToUniverType as _0x3c7f2c,RevisionService as _0x5ea32b,isTransformChangesetsSuccess as _0x3432f4,EmptyMutationInfo as _0x5a441b,CompressMutationService as _0xfd7941,parseProtocolChangeset as _0x24ec53,uuidv4 as _0x36214e,ISnapshotServerService as _0xc11dd0,parseChangesetToProtocol as _0x596cce,SnapshotService as _0x2baed4,textEncoder as _0xfcc702,b64DecodeUnicode as _0x1b8e9e,isTransformMutationsWithChangesetFailure as _0x581472,UniverCollaborationPlugin as _0x3c5d3c}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1437e0,Inject as _0x35e039,UserManagerService as _0x367c2e,Disposable as _0x2d9cd3,UniverInstanceType as _0x22b478,ILogService as _0x1e4e23,IConfigService as _0x31c935,Optional as _0x3a44cd,RxDisposable as _0x2d880a,createIdentifier as _0x4dcc81,Injector as _0xefc734,Tools as _0x4f0f8,Rectangle as _0xbc580b,ICommandService as _0x146785,JSONX as _0x91ed35,IUndoRedoService as _0x3d8dad,IPermissionService as _0x556f22,LocaleService as _0xaff562,sequenceExecute as _0x8d89f7,toDisposable as _0x294255,CommandType as _0xc8076,DisposableCollection as _0x588de7,Workbook as _0xbe02e3,resolveWithBasePath as _0x588563,generateRandomId as _0x306cc7,MentionType as _0x5adf46,isInternalEditorID as _0x21dbff,LocalUndoRedoService as _0x33ad4f,IContextService as _0x2c2426,DependentOn as _0xdd19be,Plugin as _0x439d09,merge as _0x1bc8ae,mergeOverrideWithDependencies as _0x40d90d,IAuthzIoService as _0x33e92e,IMentionIOService as _0x4deb8d,registerDependencies as _0xd201db,Quantity as _0x4457a7,touchDependencies as _0x19992a}from'@univerjs/core';import{RichTextEditingMutation as _0x39db7e}from'@univerjs/docs';import{SheetsSelectionsService as _0x15fc3c,SetSelectionsOperation as _0x4dd6c2,InsertSheetMutation as _0x482dee,WorkbookEditablePermission as _0x33890d,SheetPermissionInitController as _0x5f2e8a}from'@univerjs/sheets';import{Subject as _0x4b6979,merge as _0x1ec902,of as _0x44cf90,BehaviorSubject as _0x2d0dd9,takeUntil as _0x21b075,ReplaySubject as _0x3af47,take as _0x4fb047,map as _0xe7c4cc,shareReplay as _0xcf6c00,firstValueFrom as _0x17e89b,concatMap as _0x3e729d}from'rxjs';import{ITelemetryService as _0x1110bb}from'@univerjs/telemetry';import{map as _0x1fc977,take as _0x1608f1,filter as _0x6c24f,delay as _0x2f0844,takeUntil as _0x2439ea}from'rxjs/operators';import{HTTPService as _0x2cd902,ISocketService as _0x146fce,MergeInterceptorFactory as _0x4de83e,HTTPRequest as _0x44edf0,UniverNetworkPlugin as _0x55fa50,ThresholdInterceptorFactory as _0x51a95e}from'@univerjs/network';import{ImageSourceType as _0x1ec5d6,ImageUploadStatusType as _0x411100,IImageIoService as _0x3d890d}from'@univerjs/drawing';import{getGlobalObject as _0x27cee3}from'@univerjs-pro/license';const Es=_0x23ae93(0x389),ps=_0x23ae93(0x3ca),ms=0x7d0,Is='ws://127.0.0.1:8000/universer-api/comb/connect',Or=_0x23ae93(0x1e1),Ss=_0x23ae93(0x1ce),gs=0x7530,di=_0x23ae93(0x15f),fi=0x4e20,Ts=0x4e20,Os='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Rr='LOCAL_CACHE_INTERVAL',Nr=0x3e8,Ns=_0x23ae93(0x27e),Cs=_0x23ae93(0x216),Cr=_0x23ae93(0x135),br='/universer-api/uniscript';var vi=(_0x1a08c8=>(_0x1a08c8[_0x1a08c8[_0x23ae93(0x130)]=0x0]=_0x23ae93(0x130),_0x1a08c8[_0x1a08c8['OK']=0x1]='OK',_0x1a08c8[_0x1a08c8[_0x23ae93(0x13d)]=0x2]=_0x23ae93(0x13d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x195)]=0x3]=_0x23ae93(0x195),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2ba)]=0x4]=_0x23ae93(0x2ba),_0x1a08c8[_0x1a08c8['UNAUTHENTICATED']=0x5]=_0x23ae93(0x3e8),_0x1a08c8[_0x1a08c8[_0x23ae93(0x315)]=0x6]=_0x23ae93(0x315),_0x1a08c8[_0x1a08c8[_0x23ae93(0x27a)]=0x7]=_0x23ae93(0x27a),_0x1a08c8[_0x1a08c8[_0x23ae93(0x11c)]=0x8]=_0x23ae93(0x11c),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2a8)]=0x9]=_0x23ae93(0x2a8),_0x1a08c8[_0x1a08c8[_0x23ae93(0x22a)]=0xa]=_0x23ae93(0x22a),_0x1a08c8[_0x1a08c8[_0x23ae93(0x19d)]=0xb]=_0x23ae93(0x19d),_0x1a08c8[_0x1a08c8['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x23ae93(0x189),_0x1a08c8[_0x1a08c8['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x23ae93(0x3d3),_0x1a08c8[_0x1a08c8[_0x23ae93(0x3eb)]=0xe]=_0x23ae93(0x3eb),_0x1a08c8[_0x1a08c8[_0x23ae93(0x20c)]=0xf]=_0x23ae93(0x20c),_0x1a08c8[_0x1a08c8[_0x23ae93(0x31f)]=0x10]=_0x23ae93(0x31f),_0x1a08c8[_0x1a08c8['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x23ae93(0x422),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2f2)]=0x65]=_0x23ae93(0x2f2),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2e7)]=0xc9]='USER_NOT_FOUND',_0x1a08c8[_0x1a08c8[_0x23ae93(0x3f4)]=0xca]=_0x23ae93(0x3f4),_0x1a08c8[_0x1a08c8[_0x23ae93(0x40f)]=0x1389]=_0x23ae93(0x40f),_0x1a08c8[_0x1a08c8[_0x23ae93(0x268)]=0x1771]=_0x23ae93(0x268),_0x1a08c8[_0x1a08c8[_0x23ae93(0x304)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x1dd)]=0x1773]=_0x23ae93(0x1dd),_0x1a08c8[_0x1a08c8['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1a08c8[_0x1a08c8[_0x23ae93(0x26d)]=0x1b5a]=_0x23ae93(0x26d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x286)]=0x1b5b]=_0x23ae93(0x286),_0x1a08c8[_0x1a08c8[_0x23ae93(0x327)]=0x1b5c]=_0x23ae93(0x327),_0x1a08c8[_0x1a08c8['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x3be)]=0x1f41]=_0x23ae93(0x3be),_0x1a08c8[_0x1a08c8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x23ae93(0x168),_0x1a08c8[_0x1a08c8[_0x23ae93(0x408)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1a08c8[_0x1a08c8['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x23ae93(0x160),_0x1a08c8[_0x1a08c8[_0x23ae93(0x363)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x3d2)]=0x232d]=_0x23ae93(0x3d2),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2b6)]=0x2711]=_0x23ae93(0x2b6),_0x1a08c8[_0x1a08c8[_0x23ae93(0x18e)]=0x2712]=_0x23ae93(0x18e),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2d2)]=0x2713]=_0x23ae93(0x2d2),_0x1a08c8[_0x1a08c8[_0x23ae93(0x1c9)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1a08c8[_0x1a08c8[_0x23ae93(0x325)]=0x271a]=_0x23ae93(0x325),_0x1a08c8[_0x1a08c8[_0x23ae93(0x364)]=0x271b]=_0x23ae93(0x364),_0x1a08c8[_0x1a08c8[_0x23ae93(0x251)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1a08c8[_0x1a08c8[_0x23ae93(0x357)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1a08c8[_0x1a08c8[_0x23ae93(0x340)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x1bc)]=0x271f]=_0x23ae93(0x1bc),_0x1a08c8[_0x1a08c8[_0x23ae93(0x371)]=0x2720]=_0x23ae93(0x371),_0x1a08c8[_0x1a08c8[_0x23ae93(0x1ba)]=0x2af9]=_0x23ae93(0x1ba),_0x1a08c8[_0x1a08c8[_0x23ae93(0x23f)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1a08c8[_0x1a08c8[_0x23ae93(0x141)]=0x2ee2]=_0x23ae93(0x141),_0x1a08c8[_0x1a08c8[_0x23ae93(0x337)]=0x2ee3]=_0x23ae93(0x337),_0x1a08c8[_0x1a08c8[_0x23ae93(0x15b)]=0x2ee4]=_0x23ae93(0x15b),_0x1a08c8[_0x1a08c8[_0x23ae93(0x243)]=0x2ee5]=_0x23ae93(0x243),_0x1a08c8[_0x1a08c8['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x23ae93(0x23d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x420)]=0x32ca]=_0x23ae93(0x420),_0x1a08c8[_0x1a08c8['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1a08c8[_0x1a08c8['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x23ae93(0x2b3),_0x1a08c8[_0x1a08c8[_0x23ae93(0x39e)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x1a08c8[_0x1a08c8[_0x23ae93(0x29f)]=0x36b3]=_0x23ae93(0x29f),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2ee)]=0x36b4]=_0x23ae93(0x2ee),_0x1a08c8[_0x1a08c8[_0x23ae93(0x23a)]=0x36b5]=_0x23ae93(0x23a),_0x1a08c8[_0x1a08c8[_0x23ae93(0x19e)]=0x36b6]=_0x23ae93(0x19e),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2fe)]=0x36b7]=_0x23ae93(0x2fe),_0x1a08c8[_0x1a08c8[_0x23ae93(0x355)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x1a08c8[_0x1a08c8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1a08c8[_0x1a08c8['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x23ae93(0x138),_0x1a08c8[_0x1a08c8[_0x23ae93(0x262)]=0x3717]=_0x23ae93(0x262),_0x1a08c8[_0x1a08c8[_0x23ae93(0x3bb)]=0x37dd]=_0x23ae93(0x3bb),_0x1a08c8[_0x1a08c8['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x1a08c8[_0x1a08c8[_0x23ae93(0x1b2)]=0x3a9a]=_0x23ae93(0x1b2),_0x1a08c8[_0x1a08c8[_0x23ae93(0x370)]=0x3a9b]=_0x23ae93(0x370),_0x1a08c8[_0x1a08c8['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x23ae93(0x302),_0x1a08c8[_0x1a08c8[_0x23ae93(0x11d)]=0x3a9d]=_0x23ae93(0x11d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x283)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x2eb)]=0x3a9f]=_0x23ae93(0x2eb),_0x1a08c8[_0x1a08c8[_0x23ae93(0x37d)]=0x3e81]=_0x23ae93(0x37d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x3ef)]=-0x1]=_0x23ae93(0x3ef),_0x1a08c8))(vi||{}),Q=(_0x49e384=>(_0x49e384[_0x49e384[_0x23ae93(0x395)]=0x0]=_0x23ae93(0x395),_0x49e384[_0x49e384['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x49e384[_0x49e384[_0x23ae93(0x182)]=0x2]='UNIVER_SHEET',_0x49e384[_0x49e384[_0x23ae93(0x288)]=0x3]=_0x23ae93(0x288),_0x49e384[_0x49e384[_0x23ae93(0x1f3)]=0x4]=_0x23ae93(0x1f3),_0x49e384[_0x49e384[_0x23ae93(0x3ef)]=-0x1]='UNRECOGNIZED',_0x49e384))(Q||{}),j=(_0x57f19f=>(_0x57f19f[_0x57f19f[_0x23ae93(0x29e)]=0x0]=_0x23ae93(0x29e),_0x57f19f[_0x57f19f[_0x23ae93(0x282)]=0x1]=_0x23ae93(0x282),_0x57f19f[_0x57f19f[_0x23ae93(0x398)]=0x2]='JOIN',_0x57f19f[_0x57f19f[_0x23ae93(0x31c)]=0x3]=_0x23ae93(0x31c),_0x57f19f[_0x57f19f[_0x23ae93(0x1e6)]=0x4]='INGEST',_0x57f19f[_0x57f19f[_0x23ae93(0x307)]=0x5]=_0x23ae93(0x307),_0x57f19f[_0x57f19f[_0x23ae93(0x1e3)]=0x6]=_0x23ae93(0x1e3),_0x57f19f[_0x57f19f['UNRECOGNIZED']=-0x1]=_0x23ae93(0x3ef),_0x57f19f))(j||{}),Ee=(_0x427107=>(_0x427107[_0x427107['UNKNOWN_CODE']=0x0]=_0x23ae93(0x349),_0x427107[_0x427107['OK']=0x1]='OK',_0x427107[_0x427107[_0x23ae93(0x38c)]=0x2]='FAIL',_0x427107[_0x427107['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x427107[_0x427107[_0x23ae93(0x148)]=0x3ea]=_0x23ae93(0x148),_0x427107[_0x427107[_0x23ae93(0x239)]=0x3eb]=_0x23ae93(0x239),_0x427107[_0x427107[_0x23ae93(0x1e7)]=0x3ec]=_0x23ae93(0x1e7),_0x427107[_0x427107['UNRECOGNIZED']=-0x1]=_0x23ae93(0x3ef),_0x427107))(Ee||{}),Ei=(_0x264913=>(_0x264913[_0x264913[_0x23ae93(0x347)]=0x0]='Undefined',_0x264913[_0x264913['HttpImport']=0x1]=_0x23ae93(0x2df),_0x264913[_0x264913[_0x23ae93(0x425)]=0x2]=_0x23ae93(0x425),_0x264913[_0x264913[_0x23ae93(0x3d5)]=0x3]=_0x23ae93(0x3d5),_0x264913[_0x264913['UnitSnapshot']=0x4]='UnitSnapshot',_0x264913[_0x264913[_0x23ae93(0x3c3)]=0x5]='UserProfileImg',_0x264913[_0x264913['ClipsheetFragments']=0x6]=_0x23ae93(0x1f8),_0x264913[_0x264913['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x264913))(Ei||{});const bs=_0x23ae93(0x2f6);function _0x6016(){var _0x53bba9=['CLOSE_ROOM','pauseCollaboration','_getDownloadEndpointURL','readAsDataURL','onMissingChangesets','slice','AES','_localeService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','action','YUUMI_ALL_TABLES_IS_INVALID','_onUserLeave','Decryptor','_entities','code','getCurrentRevOfUnit','_registerDependencies','sessionStatus$','joinEvent','catch','Base64','_getCurrentRevision','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','_singleActiveUnitService','SerializableCipher','close','_candidateSocket','BufferedBlockAlgorithm','WordArray','_clearRedo','updateMember','_prevBlock','listCollaborators','_incrementRevisionNumber','REDEMPTION_CODE_FULLY_REDEEMED','YUUMI_CONNECTOR_URL_NOT_FOUND','_socketReady','_keySchedule','collaboratorID','encrypt','getImage','emitEvent','_socket$','_scheduleCompleteTimestamp','set','_onFetchMissResult','/block/','DATA_SOURCE_TOO_LARGE','_onUserJoin','/resources','getConfig','reqId','_state','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','subject','_submitChangeset','startTime','_maxTotalRetryTimeout','cfg','/universer-api/snapshot','getCollabEntity$','UPDATE_PERMISSION_OBJ','FAIL','?size=','_awaitingChangeset','clear','_replayCachedMutations','transformUndoRedo','ERROR_IMAGE','uniscriptRunEvent','StreamCipher','UNIVER_UNKNOWN','_remoteChangesetQueue','unsubscribe','JOIN','enableAuthServer','waitForRoom$','_getUndoStack','offline','univer-pro.collaboration-client.network-condition.service','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','PENDING','joinRsp','stopTime','getResourcesRequest','_univerInstanceService','reconnect','IDLE','[CollaborationUndoRedoService]','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','OTHER_CLIENTS_EDITING','NEW_CHANGESETS','_getAPIPrefix','_onMessage','univer-pro.collaboration-client-socket-service','defineProperty','blockSize','onRemoteChangeset','state$','LIVESHARE_NEW_HOST','getTypeOfUnitDisposed$','LIVESHARE_REQUEST_HOST','reverse','/universer-api/authz','Failed\x20to\x20update\x20permission\x20point','/fetchmissing?from=','createSocket','_sheetTransformSelectionsService','loadOfflineData','ENTITLE_NEED_BILLING_ADDRESS','_clearTimeoutTimer','delete','CONNECTOR_DATA_TOO_LARGE','onRemoteRej','name','Latin1','_compressMutationService','UserProfileImg','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','toggleOffline','_undoRedoService','updatePermissionPoint','headers','collaborators','SNAPSHOT_URL_KEY','[PendingState]:\x20unhandled\x20univer\x20type:\x20','\x20to\x20','_doReset','ONLINE','connection\x20error','format','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_DISTRO_REJECTED','EMAIL_VERIFY_CODE_MISMATCH','AWAITING','UnitEmbedded','_roomMembers','AWAITING_WITH_PENDING','commentUpdate$','OpenSSL','_init','_getRedoStack','onRemoteAck','Base','onTransformRemoteChangesetByStateCache','/universer-api/snapshot/','_scheduleCollaborationTimeoutTimer','_minBufferSize','startsWith','onStateChange','loginUrlKey','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRecvEvent','__creator','UNAUTHENTICATED','_userManagerService','textRanges','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sessionStatus$','onLocalMutation','retryConnectingInterval','UNRECOGNIZED','charAt','_resendTimeout','_exhaustRemoteChangesetQueue','patch','USER_IS_ANONYMOUS','_telemetryService','_throwTelemetryCollaborationNewChangeset','synced','kdf','BlockCipher','update','_initMergeInterceptor','editingUnit','repeat','getSnapshotAPIPath','_updateLocalCache','onlyLocal','event$','_retryConnectingTimer','_lockTransition','EvpKDF','pad','awaitingChangeset','_change$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','2921009qvbiFk','getMember','_initDependencies','registerHTTPInterceptor','add','1000884wpNXGc','CHANGESET_REVISION_CONFILICT','CipherParams','JOINING','encodeURIComponent','_logService','crypto','univer-pro.collaboration-client.single-active-unit-service','appendMutation','_transformRemoteChangesetByIMECache','next','_onLocalMutation','/unit/','_invKeySchedule','transformMutationsWithChangeset','updateSnapshot','stringify','_append','MOBILE_HAS_BEEN_BOUND','_onRemoteACK','CURRENT_STATUS_CANNOT_OPERATE','__splitChunk__','_tryReconnect','HttpExport','closeSession','userID','forEach','unitID','PasswordBasedCipher','socketService','data','_unlockTransition','_collaborationSessionService','newCsEvent','create','_unitInfo$','_waitForHeartbeatResponse','SHOULD_CLOSE_CONN','reset','\x20-\x20','awaiting','hostname','_startTelemetryCollaborationNewChangeset','TOO_MANY_REQUESTS','REDEMPTION_USER_NOT_ELIGIBLE','_joinRoom','image/jpg','[CollaborationSessionService]','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onStarting','_onConnectionFailed','entityInit$','_localCacheService','m2Prime','getUnitType','1197372ozPITc','_instanceService','People','_transformIMECache','addHandlerCallback','Error\x20on\x20receiving\x20event','selections','confirm','UNDEFINED','/allowed','FileId','_hash','indexOf','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onTransformRemoteChangesetByIMECache','saveSheetBlock','ENTITLE_REPORT_LIMIT_EXCEED','params','_onOffline','_handlerCallback','localCacheService','INTERNAL_ERROR','unitId\x20is\x20not\x20found','snapshotServerUrl','message$','INVALID_INVITE_CODE','_isPermissionRej','execute','_socketService','enableSingleActiveInstanceLock','setConfig','iterations','JOIN_ROOM_NOT_EXISTS','SUBMIT_CHANGESET','roles','from','dispose$','_undoStacks','keySize','error','getUnitId','Encryptor','getMemberID','_revisionService','saveChangeset','snapshot','4ispLIm','target','onCommentUpdate','HmacSHA1','map','USER_NOT_INVITED_CODE','liveShareNewHost','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','setWaitCount','HEARTBEAT_TIMEOUT','LICENSE_IMPORT_SIZE_EXCEEDED','requireSession','listRoles','words','_shouldReportTelemetry','_eventService','_process','cmd','LICENSE_MAX_UNITS_EXCEEDED','sessionStatus','collaboration-client.config','executeCommand','FETCH_MISS','_HTTPService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[PendingState]:\x20received\x20rejection.','status','every','encryptBlock','_sender','_commentService','function','JOIN_ROOM_FAILED','_transformService','getValue','call','NO_OTHER_CLIENTS_EDITING','toggleOnline','_sendHeartbeatTimer','subUnitId','_collaborationTimeoutTimer','leaveEvent','image/jpeg','_iKey','UNIVER_SHEET','_permissionService','[OfflineState]:\x20received\x20changeset.','FETCH_MISSING','authzUrl','_snapshotService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getLatestCsReqIdBySid','pending','_initRequestHeader','error$','YUUMI_URL_COL_OUT_OF_RANGE','_entityInit$','originalMeta','OFFLINE','_rescheduleHeartbeat','&source=','onTransformSelections','PERMISSION_DENIED','eventID','exports','_stopTelemetryCollaborationNewChangeset','_transformStateCache','PERMISSION_REJ','objectID','MD5','MOBILE_VERIFY_CODE_MISMATCH','ENTITLE_COUPON_EXPIRED','CBC','extend','_transformSelections','_changesetSessionId','_status$','onRemoteRetry','[DataLoaderService]','changesets','save\x20fail\x20reason\x20is\x20','_createInitialStateImpl','type','_nRounds','USERS_ENTER','socket\x20close','_mode','isArray','routeKey','_initUnitPermissionChange','_onRemoteChangeset','REDEMPTION_CODE_INACTIVE','sigBytes','_memberService','splice','conflict','\x20in\x20_schedule.','push','result','PY_RUNTIME_SCRIPT_ERROR','list','YUUMI_AI_RUN_FAILED','_removeRoom','_key','SOCKET_FAILED_RETRY','fetch_missing','fromCollab','onTransformIME','session.room-full','getSheetBlock','[PendingState]:\x20received\x20acknowledgement.','auth.needGotoLoginAlert','objectActions','[CollaborationState]:\x20apply\x20error!','YUUMI_SUBSCRIPTION_NOT_FOUND','onload','_transitionLocked','focused$','_clearUndo','HEARTBEAT_INTERVAL','357817fsPhxi','_decreaseWaiting','_getSignURL','fetchThroughInterceptors','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_doProcessBlock','LIVESHARE_FETCH_OPERATIONS','objectType','COMPRESS_MUTATION_APPLY','onTransformState','_getCtorByUniverType','BlockCipherMode','deepClone','_doCryptBlock','ENSURE_SNAPSHOT_EXECUTION','/collaborator','uploadFileServerUrl','setCurrentUser','/universer-api/user/session-ticket','_checkMissing','RECV','random','removeMember','INGEST','GLOBAL_ROOMS_CNT_EXCEEDS','withCredentials','failed\x20to\x20apply\x20missed\x20changesets!','toString','_startCollaboration','_iv','members','MUTATION','PSEUDO_FETCH_MISSING_RESULT','min','Utf8','_DEC_XFORM_MODE','UNIVER_PROJECT','_roomCreated$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','now','subscribe','ClipsheetFragments','setShowComponents','_collabSessionService','_onRemoteRetry','avatar','mixIn','method','_clearScheduledTask','change$','LIVESHARE_OPERATION','onMutationExecutedForCollab','loadSheet','transformSelections','1727515dXXReZ','getAllMembers','image/gif','CHANGESET_SHOULD_RETRY','&assign=','pipe','resourceIDs','AUTHORIZE_CODE_ILLEGAL','getRandomValues','_commentUpdate$','max','updateOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','liveShareOperation','_onCombEvent','SUBMIT_CHANGESET_TIMEOUT','UPDATE_CURSOR','/universer-api/oidc/authpage','_resendTimer','_createHmacHelper','duration','memberID','_sendingTimer','_createSocket','_xformMode','msCrypto','c1Prime','socket\x20open.','reject','Pkcs7','processBlock','find','\x0aAfter:\x20','_waitCount','LIVESHARE_TERMINATE','_applyRemoteChangeset','_oKey','LOGIN_FAILED','_changesetReqId','_imageSourceCache','createDecryptor','ivSize','_configService','UUID','mode','createInstance','image/png','_clearRetryConnectingTimer','body','loadUnitOfRevision','shouldCloseConn','salt','JOIN_ROOM_PERMISSION_DENIED','ENTITLE_INVALID_COUPON_CODE','_getSendChangesetTimeout','DEFAULT_FILE_NAME','WECHAT_HAS_BEEN_BOUND','NOT_COLLAB','INVITE_CODE_HAS_BEEN_UES','asObservable','string','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','INVITE_CODE_ALREADY_BOUND','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','members$','_executeRemoteChangeset','_clearCollaborationTimeoutTimer','x-univer-host','close$','workbook','session','_collaborationPaused','entries','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','HmacMD5','_getAPIPrefixPath','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_toggleOnline','/role','createEncryptor','{fileID}','POST','_substituteUndoStack','_cipher','_showConflictNotification','baseRev','CHANGESET_ACK','_ENC_XFORM_MODE','resend','dispose','BASE64','clone','UNIVER_DOC','ENTITLE_INSUFFICIENT_QUOTA','unknown','_pendingMutations','hasOwnProperty','padding','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SNAPSHOT_INVALID_SNAPSHOT','csShouldRetryEvent','session.room-permission-denied','_transformRemoteChangesetByStateCache','title','APPLY_NON_SEQUENTIAL_REVISION','revision','NoPadding','HMAC','allowed','enableOfflineEditing','_getLoginPath','compose','file','_resendWithTimeout','_collaborationUIEventService','_telemetryInfo','objects','INVALID_ARGUMENT','_data','enableCollaboration','SOCKET_FAILED','/universer-api/comb','_createHandler','_unitID','status$','HELLO','REDEMPTION_USER_REDEEM_TIMES_EXCEED','size','enc','APPLY_REVISION_CONFILICT','onSendChangeset','UNIVER_SLIDE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CHANGESET_REJ','requestParams','collaMsg','_substituteRedoStack','UNISCRIPT_RUN','interceptor','ceil','join','getDeserializedSheetBlock','apply','_handler','decryptBlock','algo','SHA1','USERS_LEAVE','append','_commandService','getUnit','src','_reverseMap','UNKNOWN_CMD','ENTITLE_DUP_SUBSCRIPTION','clamp','_event$','fromCharCode','transformChangesets','_clearHeartbeatTimer','collabWebSocketUrl','get','_acknowledgedAwaitingChangeset','COMPLETION_FINISHED','substr','compute','_onJoinRoomEvent','finalize','_onConflict','localeService','has','_transformUndoredo','_sendHeartbeat','open$','ENTITLE_CAN_NOT_BUY_LOWER_OTP','MSG_FOR_ERROR','_socketMessageSubscription','YUUMI_UNABLE_LOAD_URL','url','image/bmp','concat','NOT_FOUND','transformStack\x20failed!','/-/object/-/batch_allowed','getInterceptPoints','send','unitInfo$','incrementRevOfUnit','init','includes','getRoom','state','[CollaborationEntity]','_sessions','__Key__','getTypeOfUnitAdded$','/-/object/list','length','getCurrentUser','_snapshotServerService','$super','isPermissionRej','fetchMiss','post','_doCreateSocket','YUUMI_RATE_OVER_LIMIT','floor','sheets','Malformed\x20UTF-8\x20data','_schedule','debug','_members$','__esModule','not_collab','copyFileMeta','_httpService','complete','_transformStack','HttpImport','reduce','_members','Cipher','charCodeAt','unitId','put','online$','USER_NOT_FOUND','Hex','disposeWithMe','_timeoutTimer','REDEMPTION_CODE_HAS_BEEN_CREATED','_state$','loadDoc','PAYMENT_CHANNEL_NOT_SUPPORT','_clearLocalCache','getOwnPropertyDescriptor','_networkConditionService','ERROR_AGAIN','prototype','_onConnectionOpen','_hasher','collaboration_new_changeset','onMissedChangesetFetched','awaiting_with_pending','PERSON','lib','sid','_onRemoteRejected','_queuedRemoteChangesets','ENTITLE_COUPON_USED_UP','&to=','replace','updateCursorEvent','REDEMPTION_CODE_NOT_STARTED','readyForCollab','SNAPSHOT_HAS_BEEN_REMOVED','csAckEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','HEARTBEAT','getTime','?url=','_updateStatus','/universer-api/stream/file/upload','_toggleOffline','549910HuoBIg','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','session.join-failed','_tryEnsureSocket','getFocusedUnit','COMPRESS_MUTATION_SEND','_socket','filter','ALREADY_EXISTS','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_doFinalize','_listenToNetworkCondition','OTHER_CLIENT_EDITING','_getUploadFileURL','[CollaborationSessionService]:\x20socket\x20error','LEAVE','encode','_keyPriorReset','LOGIN_TOKEN_PROCESSING_FAILED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_retryCount','CONFLICT','_replaceFileID','deleteCollaborator','YUUMI_NO_CUBOID_FOR_QUESTION','parse','APPLY_PERMISSION_DENIED','href','getCollabEntity','location','hasher','onSyncEditingCollabCursor','/object/','_type','ERROR_EXCEED_SIZE','_parse','mutations','Hasher','sendChangesetTimeout','byteLength','Could\x20not\x20dynamically\x20require\x20\x22','actions','INVITE_CODE_REQUIRED','\x0aCurrent:\x20','range','_initCloseConn','[CollaborationSession]','refreshPermission','socket$','COMMENT_UPDATE','_disableEditing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','infoRsp','_syncEditingCollabCursor','_updateState','_createHelper','_injector','_nDataBytes','Undefined','[OfflineState]:\x20received\x20rejection.','UNKNOWN_CODE','873128IPkPGz','_redoStacks','_config'];_0x6016=function(){return _0x53bba9;};return _0x6016();}function Ds(_0x7551ef){return JSON['stringify'](_0x7551ef)['length'];}var re=(_0x3e9372=>(_0x3e9372[_0x23ae93(0x319)]='OTHER_CLIENT_EDITING',_0x3e9372[_0x23ae93(0x195)]=_0x23ae93(0x195),_0x3e9372[_0x23ae93(0x322)]='CONFLICT',_0x3e9372['CLOSE_ROOM']='CLOSE_ROOM',_0x3e9372[_0x23ae93(0x176)]=_0x23ae93(0x176),_0x3e9372['SOCKET_FAILED_RETRY']=_0x23ae93(0x1bf),_0x3e9372[_0x23ae93(0x27d)]=_0x23ae93(0x27d),_0x3e9372['SUBMIT_CHANGESET_TIMEOUT']=_0x23ae93(0x214),_0x3e9372))(re||{});class ve{constructor(){var _0x227802=_0x23ae93;D(this,_0x227802(0x2a1),new _0x4b6979()),D(this,_0x227802(0x401),this[_0x227802(0x2a1)][_0x227802(0x240)]());}[_0x23ae93(0x377)](_0xe2ba3b){var _0x461b08=_0x23ae93;this[_0x461b08(0x2a1)]['next'](_0xe2ba3b);}}class pi{constructor(){var _0x73fd60=_0x23ae93;D(this,'_commentUpdate$',new _0x4b6979()),D(this,_0x73fd60(0x3d8),this[_0x73fd60(0x20e)]['asObservable']());}[_0x23ae93(0x158)](_0x6659dc){var _0x442e7a=_0x23ae93;this[_0x442e7a(0x20e)][_0x442e7a(0x418)](_0x6659dc);}}var ys=Object[_0x23ae93(0x2f0)],Us=(_0x4428cb,_0x47462a,_0x270068,_0x4b22d5)=>{var _0x3dc71a=_0x23ae93;for(var _0x16e833=_0x4b22d5>0x1?void 0x0:_0x4b22d5?ys(_0x47462a,_0x270068):_0x47462a,_0x53d5ea=_0x4428cb[_0x3dc71a(0x2ca)]-0x1,_0x472a8b;_0x53d5ea>=0x0;_0x53d5ea--)(_0x472a8b=_0x4428cb[_0x53d5ea])&&(_0x16e833=_0x472a8b(_0x16e833)||_0x16e833);return _0x16e833;},Ft=(_0x512b48,_0x56965c)=>(_0x4c9579,_0xe6d808)=>_0x56965c(_0x4c9579,_0xe6d808,_0x512b48);let Pe=class extends _0x2d9cd3{constructor(_0x18d8a4,_0x7b552f){var _0x23d6d6=_0x23ae93;super(),D(this,'_roomMembers',new Map()),D(this,'_roomCreated$',new _0x4b6979()),(this[_0x23d6d6(0x3a3)]=_0x18d8a4,this['_userManagerService']=_0x7b552f,this[_0x23d6d6(0x2e9)](_0x1ec902(this[_0x23d6d6(0x3a3)][_0x23d6d6(0x3b2)](_0x22b478[_0x23d6d6(0x182)])[_0x23d6d6(0x20a)](_0x1fc977(_0x9615df=>_0x9615df['getUnitId']())),this[_0x23d6d6(0x3a3)][_0x23d6d6(0x3b2)](_0x22b478[_0x23d6d6(0x261)])[_0x23d6d6(0x20a)](_0x1fc977(_0x4bd32c=>_0x4bd32c['getUnitId']())),this[_0x23d6d6(0x3a3)][_0x23d6d6(0x3b2)](_0x22b478['UNIVER_SLIDE'])['pipe'](_0x1fc977(_0x204ae3=>_0x204ae3[_0x23d6d6(0x150)]())))[_0x23d6d6(0x1f7)](_0x1eaac7=>this['_removeRoom'](_0x1eaac7))));}[_0x23ae93(0x39a)](_0x3d29b1){var _0xc089ac=_0x23ae93;return this['_roomMembers'][_0xc089ac(0x2af)](_0x3d29b1)?_0x44cf90(this[_0xc089ac(0x3d6)][_0xc089ac(0x2a6)](_0x3d29b1)):this[_0xc089ac(0x1f4)][_0xc089ac(0x20a)](_0x1fc977(_0x16a737=>{var _0x282c8f=_0xc089ac;if(_0x16a737===_0x3d29b1)return this['_roomMembers'][_0x282c8f(0x2a6)](_0x16a737);}));}[_0x23ae93(0x1e0)](_0x20cfed){this['_userManagerService']['setCurrentUser'](_0x20cfed);}[_0x23ae93(0x2cb)](){var _0x3dfade=_0x23ae93;return this[_0x3dfade(0x3e9)]['getCurrentUser']();}[_0x23ae93(0x36c)](_0x449f92,_0x1b0bdb){var _0x17df33=_0x23ae93;let _0x54d27f=this['_roomMembers']['get'](_0x449f92);_0x54d27f||(_0x54d27f=new As(),this[_0x17df33(0x3d6)][_0x17df33(0x37a)](_0x449f92,_0x54d27f),this[_0x17df33(0x1f4)][_0x17df33(0x418)](_0x449f92)),_0x54d27f[_0x17df33(0x36c)](_0x1b0bdb);}[_0x23ae93(0x1e5)](_0x13b2fb,_0x34803f){var _0x18cc95=_0x23ae93;const _0x5dcaf9=this['_roomMembers']['get'](_0x13b2fb);_0x5dcaf9&&_0x5dcaf9[_0x18cc95(0x1e5)](_0x34803f);}[_0x23ae93(0x2c3)](_0x2889ac){var _0x33f4c4=_0x23ae93;return this[_0x33f4c4(0x3d6)][_0x33f4c4(0x2a6)](_0x2889ac);}[_0x23ae93(0x40a)](_0x497c2d,_0x42ceef){var _0x1bc98c=_0x23ae93;const _0x5465a1=this[_0x1bc98c(0x3d6)]['get'](_0x497c2d);if(_0x5465a1)return _0x5465a1[_0x1bc98c(0x40a)](_0x42ceef);}[_0x23ae93(0x1bd)](_0x1ea1ed){var _0x37857b=_0x23ae93;const _0x4bd346=this[_0x37857b(0x3d6)][_0x37857b(0x2a6)](_0x1ea1ed);_0x4bd346&&(_0x4bd346[_0x37857b(0x25e)](),this[_0x37857b(0x3d6)]['delete'](_0x1ea1ed));}[_0x23ae93(0x25e)](){var _0x3e1a9a=_0x23ae93;this[_0x3e1a9a(0x3d6)][_0x3e1a9a(0x10b)](_0x7044e3=>_0x7044e3[_0x3e1a9a(0x25e)]()),this['_roomMembers'][_0x3e1a9a(0x38f)](),this[_0x3e1a9a(0x1f4)][_0x3e1a9a(0x2dd)]();}};Pe=Us([Ft(0x0,_0x1437e0),Ft(0x1,_0x35e039(_0x367c2e))],Pe);class As extends _0x2d9cd3{constructor(){var _0x2149c3=_0x23ae93;super(...arguments),D(this,_0x2149c3(0x2e1),new Map()),D(this,_0x2149c3(0x2d8),new _0x2d0dd9(this[_0x2149c3(0x2e1)])),D(this,_0x2149c3(0x245),this[_0x2149c3(0x2d8)][_0x2149c3(0x240)]());}[_0x23ae93(0x25e)](){var _0x36cd80=_0x23ae93;this[_0x36cd80(0x2e1)]['clear']();}['updateMember'](_0x12a40c){var _0x408586=_0x23ae93;this['_members']['set'](_0x12a40c[_0x408586(0x21a)],_0x12a40c),this['_emitMembers']();}[_0x23ae93(0x1e5)](_0xd2a8ac){var _0xc7965e=_0x23ae93;this[_0xc7965e(0x2e1)][_0xc7965e(0x3bd)](_0xd2a8ac);}[_0x23ae93(0x40a)](_0xe149db){var _0x390880=_0x23ae93;return this[_0x390880(0x2e1)][_0x390880(0x2a6)](_0xe149db);}[_0x23ae93(0x206)](){var _0x4246a5=_0x23ae93;return Array[_0x4246a5(0x14b)](this[_0x4246a5(0x2e1)]['values']());}['_emitMembers'](){var _0x5611fe=_0x23ae93;this[_0x5611fe(0x2d8)]['next'](this[_0x5611fe(0x2e1)]);}}var Ps=Object[_0x23ae93(0x2f0)],Ls=(_0x406986,_0x317c9b,_0x5a3d3f,_0x34561a)=>{var _0x2909e0=_0x23ae93;for(var _0x3d7516=_0x34561a>0x1?void 0x0:_0x34561a?Ps(_0x317c9b,_0x5a3d3f):_0x317c9b,_0x319f98=_0x406986[_0x2909e0(0x2ca)]-0x1,_0x51f535;_0x319f98>=0x0;_0x319f98--)(_0x51f535=_0x406986[_0x319f98])&&(_0x3d7516=_0x51f535(_0x3d7516)||_0x3d7516);return _0x3d7516;},Oe=(_0x5a8bc4,_0xcadaf)=>(_0x2ed9b4,_0x5bb2db)=>_0xcadaf(_0x2ed9b4,_0x5bb2db,_0x5a8bc4),me=(_0x2cfe55=>(_0x2cfe55[_0x2cfe55[_0x23ae93(0x3a5)]=0x0]=_0x23ae93(0x3a5),_0x2cfe55[_0x2cfe55[_0x23ae93(0x411)]=0x1]='JOINING',_0x2cfe55[_0x2cfe55[_0x23ae93(0x191)]=0x2]='OFFLINE',_0x2cfe55[_0x2cfe55[_0x23ae93(0x3ce)]=0x3]=_0x23ae93(0x3ce),_0x2cfe55))(me||{});const jt={[Ee['FAIL']]:_0x23ae93(0x30f),[Ee['JOIN_ROOM_FULL']]:_0x23ae93(0x1c3),[Ee[_0x23ae93(0x148)]]:'session.room-not-exists',[Ee[_0x23ae93(0x239)]]:_0x23ae93(0x26a),[Ee[_0x23ae93(0x1e7)]]:'session.room-cnt-exceeds'};let mt=class extends _0x2d880a{constructor(_0x2b2c4e,_0x479445,_0x80ca6b,_0x2ba1ca,_0x3fc16b,_0x498935,_0x51fe83,_0xf39824){var _0x133f33=_0x23ae93;super(),D(this,_0x133f33(0x3ec),new _0x2d0dd9(0x0)),D(this,_0x133f33(0x35e),this['_sessionStatus$'][_0x133f33(0x240)]()),D(this,'_event$',new _0x4b6979()),D(this,_0x133f33(0x401),this['_event$']['asObservable']()),D(this,_0x133f33(0x313)),D(this,_0x133f33(0x2b5)),D(this,'_collaborationTimeoutTimer'),D(this,_0x133f33(0x164),!0x1),D(this,'_telemetryInfo',null),(this[_0x133f33(0x280)]=_0x2b2c4e,this[_0x133f33(0x413)]=_0x80ca6b,this[_0x133f33(0x22f)]=_0x2ba1ca,this['_memberService']=_0x3fc16b,this[_0x133f33(0x174)]=_0x498935,this[_0x133f33(0x277)]=_0x51fe83,this[_0x133f33(0x3f5)]=_0xf39824,this['_shouldReportTelemetry']=!!this[_0x133f33(0x3f5)],_0x479445[_0x133f33(0x20a)](_0x21b075(this[_0x133f33(0x14c)]))[_0x133f33(0x1f7)](_0x2930a9=>{var _0x2d153b=_0x133f33,_0x5b19a2;typeof _0x2930a9>'u'||(this['_socket']=_0x2930a9,_0x2930a9?(this[_0x2d153b(0x11e)](_0x2930a9),this[_0x2d153b(0x2b5)]=_0x2930a9[_0x2d153b(0x140)][_0x2d153b(0x1f7)](_0x56efdb=>{var _0x35d915=_0x2d153b;_0x56efdb[_0x35d915(0x1af)]===this[_0x35d915(0x280)]&&this[_0x35d915(0x213)](_0x56efdb);})):(this[_0x2d153b(0x3f6)](),this[_0x2d153b(0x3ec)][_0x2d153b(0x418)](0x2),(_0x5b19a2=this[_0x2d153b(0x2b5)])==null||_0x5b19a2[_0x2d153b(0x397)](),this[_0x2d153b(0x2b5)]=null));}));}get['sessionStatus'](){var _0x1c1dc3=_0x23ae93;return this[_0x1c1dc3(0x3ec)]['getValue']();}['getMemberID'](){var _0x229324=_0x23ae93,_0x3de81e,_0x27841a;return(_0x27841a=(_0x3de81e=this['_socket'])==null?void 0x0:_0x3de81e[_0x229324(0x21a)])!=null?_0x27841a:null;}[_0x23ae93(0x25e)](){var _0x4de45c=_0x23ae93;super[_0x4de45c(0x25e)](),this[_0x4de45c(0x14c)]['next'](),this[_0x4de45c(0x14c)]['complete']();}['close'](){var _0x5802fa=_0x23ae93,_0x386935,_0x112921;this['_throwTelemetryCollaborationNewChangeset'](),(_0x386935=this[_0x5802fa(0x313)])==null||_0x386935[_0x5802fa(0x2be)]({'cmd':j[_0x5802fa(0x31c)],'data':{'roomID':this[_0x5802fa(0x280)]}}),(_0x112921=this[_0x5802fa(0x313)])==null||_0x112921[_0x5802fa(0x367)](),this['_event$']['complete'](),this[_0x5802fa(0x3ec)][_0x5802fa(0x2dd)](),this['dispose']();}[_0x23ae93(0x213)](_0x1da7b0){var _0x2808b7=_0x23ae93;_0x1da7b0['cmd']===j['JOIN']?this[_0x2808b7(0x2ab)](_0x1da7b0):_0x1da7b0['cmd']===j['RECV']&&this[_0x2808b7(0x3e6)](_0x1da7b0);}[_0x23ae93(0x11e)](_0x217a48){var _0x313bec=_0x23ae93;this[_0x313bec(0x3ec)][_0x313bec(0x418)](0x1),_0x217a48[_0x313bec(0x2be)]({'cmd':j[_0x313bec(0x398)],'routeKey':this[_0x313bec(0x280)],'routeType':'','data':{'rooms':[{'roomID':this[_0x313bec(0x280)]}]}});}[_0x23ae93(0x2ab)](_0x6f8c70){var _0x264241=_0x23ae93,_0x251ce3;if(_0x6f8c70[_0x264241(0x35b)]in jt){this[_0x264241(0x277)][_0x264241(0x377)]({'id':re[_0x264241(0x176)],'data':jt[_0x6f8c70[_0x264241(0x35b)]]}),this['_sessionStatus$'][_0x264241(0x418)](0x2);return;}this[_0x264241(0x3ec)][_0x264241(0x418)](0x3);const _0x1e67cd=(_0x251ce3=_0x6f8c70[_0x264241(0x10f)]['roomInfos'][this[_0x264241(0x280)]])==null?void 0x0:_0x251ce3[_0x264241(0x1ed)];_0x1e67cd&&_0x1e67cd[_0x264241(0x10b)](_0x3e1b26=>this[_0x264241(0x1b4)]['updateMember'](this[_0x264241(0x280)],_0x3e1b26));}[_0x23ae93(0x3e6)](_0x5db5fa){var _0x2148fd=_0x23ae93;try{const _0x551416=_0x5db5fa[_0x2148fd(0x10f)];switch(_0x551416[_0x2148fd(0x196)]){case _0x2ea533['USERS_ENTER']:this[_0x2148fd(0x37e)](_0x551416),this[_0x2148fd(0x2a1)][_0x2148fd(0x418)](_0x551416);break;case _0x2ea533[_0x2148fd(0x298)]:this['_onUserLeave'](_0x551416),this[_0x2148fd(0x2a1)][_0x2148fd(0x418)](_0x551416);break;case _0x2ea533[_0x2148fd(0x25b)]:case _0x2ea533['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2148fd(0x247)](),this['_event$']['next'](_0x551416);break;case _0x2ea533[_0x2148fd(0x2b4)]:this[_0x2148fd(0x413)][_0x2148fd(0x14f)](_0x2148fd(0x1a7)+JSON[_0x2148fd(0x41e)](_0x551416)),this['_event$']['next'](_0x551416);break;case _0x2ea533[_0x2148fd(0x33e)]:this[_0x2148fd(0x174)]['onCommentUpdate'](_0x551416[_0x2148fd(0x10f)]),this[_0x2148fd(0x2a1)][_0x2148fd(0x418)](_0x551416);break;default:this[_0x2148fd(0x2a1)][_0x2148fd(0x418)](_0x551416);}}catch(_0x105c58){this[_0x2148fd(0x413)][_0x2148fd(0x14f)](_0x105c58,_0x5db5fa);}}[_0x23ae93(0x37e)](_0x17677e){var _0x57ac95=_0x23ae93;this[_0x57ac95(0x1b4)][_0x57ac95(0x36c)](this[_0x57ac95(0x280)],_0x17677e['data']);}[_0x23ae93(0x358)](_0x3a27a0){var _0x5f3ff6=_0x23ae93;this['_memberService']['removeMember'](this[_0x5f3ff6(0x280)],_0x3a27a0[_0x5f3ff6(0x10f)][_0x5f3ff6(0x21a)]);}async['send'](_0x3195e3,_0x430f8c){var _0x534855=_0x23ae93;if(this[_0x534855(0x169)]!==0x3||!this[_0x534855(0x313)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3195e3[_0x534855(0x196)]===_0x2ea533[_0x534855(0x149)]&&(this[_0x534855(0x3e0)](),this[_0x534855(0x11b)](_0x3195e3)),this[_0x534855(0x313)][_0x534855(0x2be)]({'cmd':j['INGEST'],'routeKey':_0x430f8c,'routeType':'','data':_0x3195e3});}catch(_0x4b5cf2){this[_0x534855(0x413)][_0x534855(0x14f)](_0x4b5cf2);}}[_0x23ae93(0x3e0)](){var _0x4d897d=_0x23ae93,_0x3df52c;this[_0x4d897d(0x17e)]=setTimeout(()=>{var _0x29f690=_0x4d897d;this[_0x29f690(0x17e)]=null,this[_0x29f690(0x277)]['emitEvent']({'id':re[_0x29f690(0x214)]});},(_0x3df52c=this[_0x4d897d(0x22f)][_0x4d897d(0x380)](di))!=null?_0x3df52c:fi);}[_0x23ae93(0x247)](){var _0xb2bcba=_0x23ae93;this[_0xb2bcba(0x17e)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xb2bcba(0x17e)]=null);}[_0x23ae93(0x11b)](_0x25438e){var _0x5949ad=_0x23ae93;if(!this[_0x5949ad(0x164)])return;const {data:_0x5370ef}=_0x25438e,{unitID:_0x3d8651,changeset:_0x590c32}=_0x5370ef,{mutations:_0x20f86a,type:_0x1ddcff}=_0x590c32;this[_0x5949ad(0x278)]={'unitId':_0x3d8651,'type':_0x1ddcff,'startTime':performance[_0x5949ad(0x1f6)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x20f86a)};}[_0x23ae93(0x198)](){var _0xe29629=_0x23ae93;if(this[_0xe29629(0x164)]){if(!this[_0xe29629(0x278)]){this['_logService']['error'](_0xe29629(0x33b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xe29629(0x278)]['stopTime']=performance[_0xe29629(0x1f6)](),this['_telemetryInfo'][_0xe29629(0x219)]=this[_0xe29629(0x278)][_0xe29629(0x3a1)]-this['_telemetryInfo'][_0xe29629(0x386)],this['_telemetryService']['capture'](bs,this[_0xe29629(0x278)]),this[_0xe29629(0x278)]=null;}}[_0x23ae93(0x3f6)](){this['_telemetryInfo']=null;}};mt=Ls([Oe(0x2,_0x1e4e23),Oe(0x3,_0x31c935),Oe(0x4,_0x35e039(Pe)),Oe(0x5,_0x35e039(pi)),Oe(0x6,_0x35e039(ve)),Oe(0x7,_0x3a44cd(_0x1110bb))],mt);const X=_0x4dcc81('collaboration-client.local-cache-service');function Dr(_0x4d9f01){return'unit-cache-'+_0x4d9f01;}var Ms=Object['getOwnPropertyDescriptor'],ws=(_0x56f724,_0x4c96bd,_0x523a1f,_0x2c1c72)=>{for(var _0x157e2=_0x2c1c72>0x1?void 0x0:_0x2c1c72?Ms(_0x4c96bd,_0x523a1f):_0x4c96bd,_0x53dc10=_0x56f724['length']-0x1,_0x156724;_0x53dc10>=0x0;_0x53dc10--)(_0x156724=_0x56f724[_0x53dc10])&&(_0x157e2=_0x156724(_0x157e2)||_0x157e2);return _0x157e2;},ut=(_0x4780b6,_0x4d5830)=>(_0x5cceca,_0x3c50e1)=>_0x4d5830(_0x5cceca,_0x3c50e1,_0x4780b6);function xs(_0x2737e7){var _0x2d39e1=_0x23ae93;const {unitID:_0x1ce74b,mutations:_0x5510c2}=_0x2737e7;return{'unitId':_0x1ce74b,'subUnitId':_0x5510c2[_0x2d39e1(0x2ca)]>0x0?_0x5510c2[0x0][_0x2d39e1(0x139)][_0x2d39e1(0x17d)]:null};}let it=class{constructor(_0x338f5d,_0x1b5f3e,_0x175434){var _0x4d4188=_0x23ae93;this[_0x4d4188(0x345)]=_0x338f5d,this[_0x4d4188(0x177)]=_0x1b5f3e,this[_0x4d4188(0x129)]=_0x175434;}[_0x23ae93(0x204)](_0x729cb1){var _0xfcd39d=_0x23ae93,_0x45e1df,_0x5aa1bc,_0x5cfc09,_0x25075d;const _0x46e6cb=this['_injector'][_0xfcd39d(0x2a6)](_0x15fc3c),{unitId:_0x53e369,subUnitId:_0x2a73ed}=xs(_0x729cb1),_0x27533c=_0x46e6cb==null?void 0x0:_0x46e6cb['getWorkbookSelections'](_0x53e369)['getCurrentSelections'](),_0x20c8b4=(_0x5aa1bc=(_0x45e1df=this[_0xfcd39d(0x129)][_0xfcd39d(0x29b)](_0x53e369))==null?void 0x0:_0x45e1df['getActiveSheet']())==null?void 0x0:_0x5aa1bc['getSheetId']();if(_0x27533c[_0xfcd39d(0x2ca)]===0x0||!_0x53e369||!_0x2a73ed)return;const _0x2d92c8=[{'id':_0x4dd6c2['id'],'params':{'unitId':_0x53e369,'subUnitId':_0x20c8b4,'selections':_0x4f0f8[_0xfcd39d(0x1db)](_0x27533c)}}],_0x3891c8=this[_0xfcd39d(0x177)][_0xfcd39d(0x41c)](_0x729cb1,_0x2d92c8);if(!_0x1277a2(_0x3891c8))throw _0x3891c8[_0xfcd39d(0x14f)];const _0x3f839b=(_0x25075d=(_0x5cfc09=_0x3891c8[_0xfcd39d(0x126)][0x0])==null?void 0x0:_0x5cfc09['params'])==null?void 0x0:_0x25075d[_0xfcd39d(0x12e)];if(Array[_0xfcd39d(0x1ae)](_0x3f839b)&&_0x3f839b[_0xfcd39d(0x2ca)]){if(_0x3f839b[_0xfcd39d(0x2ca)]===_0x2d92c8[0x0]['params'][_0xfcd39d(0x12e)][_0xfcd39d(0x2ca)]&&_0x3f839b[_0xfcd39d(0x171)]((_0x5dd3c9,_0x213189)=>_0xbc580b['equals'](_0x5dd3c9['range'],_0x2d92c8[0x0][_0xfcd39d(0x139)][_0xfcd39d(0x12e)][_0x213189][_0xfcd39d(0x339)])))return;this[_0xfcd39d(0x345)][_0xfcd39d(0x2a6)](_0x146785)[_0xfcd39d(0x16b)](_0x4dd6c2['id'],{'unitId':_0x53e369,'subUnitId':_0x20c8b4,'selections':_0x3f839b});}}};it=ws([ut(0x0,_0x35e039(_0xefc734)),ut(0x1,_0x3b1162),ut(0x2,_0x1437e0)],it);const _t=_0x4dcc81(_0x23ae93(0x415));var mi=(_0x291f2d=>(_0x291f2d[_0x291f2d['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x23ae93(0x17a),_0x291f2d[_0x291f2d[_0x23ae93(0x3a8)]=0x1]='OTHER_CLIENTS_EDITING',_0x291f2d))(mi||{});const K=_0x23ae93(0x16a),ks={};function $s(_0x4ba1f6){var _0x413cdd=_0x23ae93,_0x43412b;return!!((_0x43412b=_0x4ba1f6['params'])!=null&&_0x43412b[_0x413cdd(0x423)]);}const Hs=new Set([_0x482dee['id']]);function Vt(_0x28ff0d,_0xc79144,_0x534974,_0x34dd27,_0xae4cd5){var _0x222e98=_0x23ae93,_0x2f2c84,_0x2603c1,_0x413c1d,_0x2e7279;const _0x3b77cc=[];for(const _0x35f3ee of _0x28ff0d){if(Hs[_0x222e98(0x2af)](_0x35f3ee['id'])){if(_0x3b77cc['length']>0x0)break;_0x3b77cc[_0x222e98(0x1b8)](_0x35f3ee);break;}if($s(_0x35f3ee)){if(_0x3b77cc['length']>0x0)break;_0x3b77cc[_0x222e98(0x1b8)](_0x35f3ee);break;}_0x3b77cc[_0x222e98(0x1b8)](_0x35f3ee);}const _0x4c804d=(_0x2603c1=(_0x2f2c84=_0xae4cd5[_0x222e98(0x2cb)]())==null?void 0x0:_0x2f2c84[_0x222e98(0x10a)])!=null?_0x2603c1:_0x222e98(0x263),_0xad4370=(_0x2e7279=(_0x413c1d=_0xae4cd5[_0x222e98(0x2cb)]())==null?void 0x0:_0x413c1d[_0x222e98(0x21a)])!=null?_0x2e7279:_0x222e98(0x263);return{'changeset':{'unitID':_0xc79144,'type':_0x3c7f2c(_0x534974[_0x222e98(0x127)](_0xc79144)),'baseRev':_0x34dd27['getCurrentRevOfUnit'](_0xc79144),'revision':0x0,'userID':_0x4c804d,'memberID':_0xad4370,'mutations':_0x3b77cc},'pendingMutations':_0x28ff0d['slice'](_0x3b77cc[_0x222e98(0x2ca)])};}function Bs(_0x4b3606,_0x48bb67,_0x2ed1c2,_0x80cf6e,_0x38a37a){var _0xeca917=_0x23ae93,_0x281e05,_0x371907,_0x933396,_0x581395;const _0x3c95ed=[_0x4b3606[_0xeca917(0x2e0)]((_0x274d87,_0x46641e)=>{var _0x18dbe4=_0xeca917,_0xda2139;const {id:_0x3a8b16}=_0x274d87,{id:_0x2691b0,type:_0x1b27e2}=_0x46641e,_0x1c5a4d=(_0xda2139=_0x274d87['params'])!=null?_0xda2139:{'actions':null},_0x2a31a2=_0x46641e['params'];if(_0x3a8b16&&_0x3a8b16!==_0x2691b0)throw new Error(_0x18dbe4(0x383)+_0x3a8b16+_0x18dbe4(0x118)+_0x2691b0+'.');return{..._0x274d87,'id':_0x2691b0,'type':_0x1b27e2,'params':{'unitId':_0x2a31a2['unitId'],'textRanges':_0x2a31a2[_0x18dbe4(0x3ea)],'actions':_0x91ed35[_0x18dbe4(0x274)](_0x1c5a4d[_0x18dbe4(0x336)],_0x2a31a2[_0x18dbe4(0x336)])}};},{})],_0x479337=(_0x371907=(_0x281e05=_0x38a37a[_0xeca917(0x2cb)]())==null?void 0x0:_0x281e05['userID'])!=null?_0x371907:'unknown',_0x2481d1=(_0x581395=(_0x933396=_0x38a37a[_0xeca917(0x2cb)]())==null?void 0x0:_0x933396[_0xeca917(0x21a)])!=null?_0x581395:_0xeca917(0x263);return{'changeset':{'unitID':_0x48bb67,'type':_0x3c7f2c(_0x2ed1c2[_0xeca917(0x127)](_0x48bb67)),'baseRev':_0x80cf6e[_0xeca917(0x35c)](_0x48bb67),'revision':0x0,'userID':_0x479337,'memberID':_0x2481d1,'mutations':_0x3c95ed},'pendingMutations':[]};}function Ii(_0x12588e,_0x3c517e){var _0x306124=_0x23ae93;const _0x295f99=new _0x3af47(0x1);return setTimeout(()=>_0x295f99['next'](_0x3c517e),_0x12588e),_0x295f99[_0x306124(0x240)]()[_0x306124(0x20a)](_0x4fb047(0x1));}var Fs=Object[_0x23ae93(0x2f0)],Se=(_0x6c9614,_0x414eba,_0x3c073d,_0x4ee4e8)=>{var _0x4158df=_0x23ae93;for(var _0x3f3061=_0x4ee4e8>0x1?void 0x0:_0x4ee4e8?Fs(_0x414eba,_0x3c073d):_0x414eba,_0x3e5c3f=_0x6c9614[_0x4158df(0x2ca)]-0x1,_0x357890;_0x3e5c3f>=0x0;_0x3e5c3f--)(_0x357890=_0x6c9614[_0x3e5c3f])&&(_0x3f3061=_0x357890(_0x3f3061)||_0x3f3061);return _0x3f3061;},L=(_0x208508,_0x1d7095)=>(_0x11a02a,_0x1d3a1c)=>_0x1d7095(_0x11a02a,_0x1d3a1c,_0x208508),Si=(_0x5245a5=>(_0x5245a5[_0x23ae93(0x23e)]=_0x23ae93(0x2da),_0x5245a5['SYNCED']=_0x23ae93(0x3f7),_0x5245a5[_0x23ae93(0x39f)]=_0x23ae93(0x18b),_0x5245a5[_0x23ae93(0x3d4)]=_0x23ae93(0x119),_0x5245a5[_0x23ae93(0x3d7)]=_0x23ae93(0x2f8),_0x5245a5[_0x23ae93(0x16c)]=_0x23ae93(0x1c0),_0x5245a5[_0x23ae93(0x322)]=_0x23ae93(0x1b6),_0x5245a5[_0x23ae93(0x191)]=_0x23ae93(0x39c),_0x5245a5))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x26184f,_0x2e2efd,_0x2c5d45,_0xa29bc1,_0x1ceba3,_0x157ecf,_0x21c1dc,_0x393c96,_0x2cbac0){var _0x17b5ad=_0x23ae93;D(this,_0x17b5ad(0x38e),null),D(this,_0x17b5ad(0x264),[]),(this['unitID']=_0x26184f,this[_0x17b5ad(0x1a9)]=_0x2e2efd,this[_0x17b5ad(0x294)]=_0x1ceba3,this[_0x17b5ad(0x29a)]=_0x157ecf,this['_undoRedoService']=_0x21c1dc,this['_revisionService']=_0x393c96,this[_0x17b5ad(0x125)]=_0x2cbac0,this['_awaitingChangeset']=_0x2c5d45,this[_0x17b5ad(0x264)]=_0xa29bc1);}[_0x23ae93(0x1e2)](_0x22d52c){var _0x1f0217=_0x23ae93;const _0x220337=this[_0x1f0217(0x153)]['getCurrentRevOfUnit'](this['unitID']);return _0x22d52c[_0x1f0217(0x26e)]>_0x220337+0x1?(this['_handler'][_0x1f0217(0x351)]({'from':_0x220337,'to':_0x22d52c[_0x1f0217(0x26e)]-0x1}),!0x0):!0x1;}[_0x23ae93(0x2b0)](_0x51c70a){var _0x4a3ee3=_0x23ae93;this[_0x4a3ee3(0x3c6)][_0x4a3ee3(0x391)](this['unitID'],_0x51c70a);}[_0x23ae93(0x1a1)](_0x49f1b8){var _0x1b7c99=_0x23ae93,_0x57d80c,_0x2b18ee;(_0x2b18ee=(_0x57d80c=this['_handler'])[_0x1b7c99(0x194)])==null||_0x2b18ee[_0x1b7c99(0x179)](_0x57d80c,_0x49f1b8);}[_0x23ae93(0x12b)](_0x1fdc93){var _0x3209b7=_0x23ae93,_0x40f37d,_0x59c917;return(_0x59c917=(_0x40f37d=this[_0x3209b7(0x294)])[_0x3209b7(0x1c2)])==null?void 0x0:_0x59c917['call'](_0x40f37d,_0x1fdc93);}[_0x23ae93(0x199)](_0x4703c8){var _0x36cc58=_0x23ae93,_0x26805d,_0x216211;return(_0x216211=(_0x26805d=this[_0x36cc58(0x294)])[_0x36cc58(0x1d8)])==null?void 0x0:_0x216211['call'](_0x26805d,_0x4703c8);}[_0x23ae93(0x417)](_0x61138f){var _0x50d2a4=_0x23ae93,_0x51f1b3,_0xdef0c3,_0xc3611d;return(_0xc3611d=(_0xdef0c3=(_0x51f1b3=this[_0x50d2a4(0x294)])[_0x50d2a4(0x136)])==null?void 0x0:_0xdef0c3[_0x50d2a4(0x179)](_0x51f1b3,_0x61138f))!=null?_0xc3611d:_0x61138f;}['_transformRemoteChangesetByStateCache'](_0x20119a){var _0x313643=_0x23ae93,_0x296433,_0x445088,_0x46eeb0;return(_0x46eeb0=(_0x445088=(_0x296433=this[_0x313643(0x294)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x445088['call'](_0x296433,_0x20119a))!=null?_0x46eeb0:_0x20119a;}[_0x23ae93(0x342)](_0x1cc059){var _0x2bbd67=_0x23ae93,_0x176624,_0x50bab8;if(this[_0x2bbd67(0x1a9)]===Q['UNIVER_DOC']){const {unitID:_0x12cfd6,mutations:_0x3edf4b,memberID:_0x1b9bc1}=_0x1cc059,_0x40e706=_0x3edf4b[_0x2bbd67(0x2ca)]>0x0?_0x3edf4b[0x0]['params'][_0x2bbd67(0x3ea)]:[];Array[_0x2bbd67(0x1ae)](_0x40e706)&&_0x40e706[_0x2bbd67(0x2ca)]>0x0&&((_0x50bab8=(_0x176624=this[_0x2bbd67(0x294)])['onSyncEditingCollabCursor'])==null||_0x50bab8['call'](_0x176624,{'unitID':_0x12cfd6,'memberID':_0x1b9bc1,'textRanges':_0x40e706}));}}[_0x23ae93(0x3ff)](){var _0x5ad35d=_0x23ae93,_0x17a536;(_0x17a536=this['_localCacheService'])==null||_0x17a536['updateOfflineData'](this[_0x5ad35d(0x10c)],this['type'],this[_0x5ad35d(0x38e)],this[_0x5ad35d(0x264)]);}['_getCurrentRevision'](){var _0x2235d6=_0x23ae93;return this[_0x2235d6(0x153)][_0x2235d6(0x35c)](this['unitID']);}[_0x23ae93(0x36f)](){var _0x3b8856=_0x23ae93;this[_0x3b8856(0x153)][_0x3b8856(0x2c0)](this[_0x3b8856(0x10c)]);}[_0x23ae93(0x246)](_0x3a156c){var _0x18a6cd=_0x23ae93,_0xc3f140;let _0x574c87=this[_0x18a6cd(0x417)](_0x3a156c);_0x574c87=this[_0x18a6cd(0x26b)](_0x574c87);const _0x4423e8=_0x8d89f7(_0x574c87['mutations'],this[_0x18a6cd(0x29a)],{'fromCollab':!0x0});if(!_0x4423e8[_0x18a6cd(0x1b9)])throw _0x4423e8['error']instanceof Error?_0x4423e8['error']:new Error((_0xc3f140=_0x4423e8[_0x18a6cd(0x14f)])!=null?_0xc3f140:_0x18a6cd(0x1c8));this[_0x18a6cd(0x12b)](_0x574c87),this[_0x18a6cd(0x199)](_0x574c87),this[_0x18a6cd(0x2b0)](_0x3a156c),this[_0x18a6cd(0x1a1)](_0x574c87),this[_0x18a6cd(0x342)](_0x574c87),this[_0x18a6cd(0x36f)]();}}let be=class extends ge{constructor(_0x3d175f,_0x225c8d,_0x13f82b,_0x5340b5,_0x49b187,_0x1f306e,_0x5d97ea,_0x49925b,_0x5c26e4,_0x13d278){var _0x418c02=_0x23ae93;super(_0x3d175f,_0x225c8d,null,[],_0x13f82b,_0x5d97ea,_0x1f306e,_0x5340b5,_0x13d278),D(this,'status',_0x418c02(0x3f7)),(this[_0x418c02(0x345)]=_0x49b187,this['_logService']=_0x49925b,this[_0x418c02(0x177)]=_0x5c26e4,this[_0x418c02(0x13c)]=_0x13d278);}[_0x23ae93(0x416)](_0x1170c3){var _0x2f54e4=_0x23ae93;const _0xd492f4=this[_0x2f54e4(0x345)][_0x2f54e4(0x232)](ae,this[_0x2f54e4(0x10c)],this[_0x2f54e4(0x1a9)],[_0x1170c3],this[_0x2f54e4(0x294)]);return _0xd492f4['_schedule'](),_0xd492f4['_updateLocalCache'](),_0xd492f4;}[_0x23ae93(0x3af)](_0x539c99){var _0xa9f851=_0x23ae93;if(this[_0xa9f851(0x1e2)](_0x539c99))return this['_injector'][_0xa9f851(0x232)](ee,this[_0xa9f851(0x10c)],this[_0xa9f851(0x1a9)],null,[],null,[_0x539c99],this['_handler']);try{const _0x3069c1=this[_0xa9f851(0x177)][_0xa9f851(0x41c)](_0x539c99,[_0x5a441b]);if(_0x1277a2(_0x3069c1)){const {c1Prime:_0x21da8d}=_0x3069c1;return this[_0xa9f851(0x246)](_0x21da8d),this;}throw _0x3069c1[_0xa9f851(0x14f)];}catch(_0x2b44e8){return this[_0xa9f851(0x413)]['error'](_0x2b44e8),this[_0xa9f851(0x2ad)](!0x1);}}[_0x23ae93(0x2ad)](_0x32478a){var _0x3c3468=_0x23ae93;return this['_injector'][_0x3c3468(0x232)](ue,this[_0x3c3468(0x10c)],this[_0x3c3468(0x1a9)],null,[],this[_0x3c3468(0x294)],_0x32478a);}[_0x23ae93(0x3dc)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x23ae93(0x3bf)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x223355=_0x23ae93;return this[_0x223355(0x345)][_0x223355(0x232)](de,this[_0x223355(0x10c)],this[_0x223355(0x1a9)],null,[],this[_0x223355(0x294)]);}['toggleOnline'](){return this;}[_0x23ae93(0x25d)](){var _0x570dd4=_0x23ae93;throw new Error(_0x570dd4(0x188));}[_0x23ae93(0x2cf)](){var _0x59944b=_0x23ae93;const _0xfbf9f9=this[_0x59944b(0x153)][_0x59944b(0x35c)](this[_0x59944b(0x10c)]);return this[_0x59944b(0x294)][_0x59944b(0x351)]({'from':_0xfbf9f9,'to':0x0}),this[_0x59944b(0x345)][_0x59944b(0x232)](ee,this['unitID'],this['type'],null,[],null,[],this[_0x59944b(0x294)]);}};be=Se([L(0x3,_0x35e039(_0x5ea32b)),L(0x4,_0x35e039(_0xefc734)),L(0x5,_0x3d8dad),L(0x6,_0x146785),L(0x7,_0x1e4e23),L(0x8,_0x3b1162),L(0x9,_0x3a44cd(X))],be);let ae=class extends ge{constructor(_0x4efaad,_0x8d80c9,_0x2fe94c,_0x1a28e6,_0x227edb,_0x135175,_0x317ec6,_0x20d271,_0x1654c0,_0x268b07,_0x5cc95b,_0x180391,_0x34f548,_0x308478){var _0x2b6e64=_0x23ae93;super(_0x4efaad,_0x8d80c9,null,_0x2fe94c,_0x1a28e6,_0x1654c0,_0x34f548,_0x135175,_0x308478),D(this,'status',_0x2b6e64(0x18b)),D(this,_0x2b6e64(0x379),null),D(this,_0x2b6e64(0x21b),null),(this[_0x2b6e64(0x345)]=_0x227edb,this[_0x2b6e64(0x1b4)]=_0x317ec6,this[_0x2b6e64(0x413)]=_0x20d271,this[_0x2b6e64(0x22f)]=_0x268b07,this[_0x2b6e64(0x177)]=_0x5cc95b,this[_0x2b6e64(0x3a3)]=_0x180391);}[_0x23ae93(0x416)](_0x5662e8){var _0x24b988=_0x23ae93;return this[_0x24b988(0x264)]['push'](_0x5662e8),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2e96c0){var _0x946f5f=_0x23ae93;if(this[_0x946f5f(0x1e2)](_0x2e96c0))return this[_0x946f5f(0x1ff)](),this[_0x946f5f(0x345)][_0x946f5f(0x232)](ee,this[_0x946f5f(0x10c)],this[_0x946f5f(0x1a9)],null,this[_0x946f5f(0x264)],null,[_0x2e96c0],this['_handler']);try{const _0x49f3ce=this[_0x946f5f(0x177)][_0x946f5f(0x41c)](_0x2e96c0,this[_0x946f5f(0x264)]);if(_0x1277a2(_0x49f3ce)){const {c1Prime:_0xb2afb3,m2Prime:_0x39f053}=_0x49f3ce;this['_executeRemoteChangeset'](_0xb2afb3);const _0x538d0d=this['_injector']['createInstance'](ae,this[_0x946f5f(0x10c)],this[_0x946f5f(0x1a9)],_0x39f053,this[_0x946f5f(0x294)]);this[_0x946f5f(0x1ff)]();const _0x32a1b8=new Date()[_0x946f5f(0x308)](),_0x14c200=this[_0x946f5f(0x379)]?Math['max'](this[_0x946f5f(0x379)]-_0x32a1b8,0x0):this['_getSendChangesetTimeout']();return _0x538d0d[_0x946f5f(0x2d6)](_0x14c200),_0x538d0d;}throw _0x49f3ce[_0x946f5f(0x14f)];}catch(_0x3bdb3b){return this['_logService']['error'](_0x3bdb3b),this['_onConflict'](!0x1);}}[_0x23ae93(0x3dc)](){var _0x42fcae=_0x23ae93;throw new Error(_0x42fcae(0x1c5));}[_0x23ae93(0x3bf)](){var _0x5193c4=_0x23ae93;throw new Error(_0x5193c4(0x16f));}[_0x23ae93(0x1a4)](){return this;}[_0x23ae93(0x3c5)](){var _0x423d2c=_0x23ae93;return this[_0x423d2c(0x1ff)](),this[_0x423d2c(0x345)][_0x423d2c(0x232)](de,this[_0x423d2c(0x10c)],this['type'],null,this[_0x423d2c(0x264)],this[_0x423d2c(0x294)]);}[_0x23ae93(0x17b)](){return this;}[_0x23ae93(0x2d6)](_0x13221c){var _0x413353=_0x23ae93;const _0x5090b0=_0x13221c!=null?_0x13221c:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x413353(0x308)]()+_0x5090b0,this[_0x413353(0x21b)]=setTimeout(()=>{var _0x3f90f6=_0x413353;this[_0x3f90f6(0x1ff)]();let _0x1dd7ca=null;switch(this[_0x3f90f6(0x1a9)]){case Q[_0x3f90f6(0x182)]:{_0x1dd7ca=Vt(this[_0x3f90f6(0x264)],this[_0x3f90f6(0x10c)],this[_0x3f90f6(0x3a3)],this[_0x3f90f6(0x153)],this[_0x3f90f6(0x1b4)]);break;}case Q[_0x3f90f6(0x261)]:{this[_0x3f90f6(0x264)][_0x3f90f6(0x171)](_0xa78979=>_0xa78979['id']===_0x39db7e['id'])?_0x1dd7ca=Bs(this[_0x3f90f6(0x264)],this[_0x3f90f6(0x10c)],this[_0x3f90f6(0x3a3)],this[_0x3f90f6(0x153)],this[_0x3f90f6(0x1b4)]):_0x1dd7ca=Vt(this[_0x3f90f6(0x264)],this[_0x3f90f6(0x10c)],this[_0x3f90f6(0x3a3)],this[_0x3f90f6(0x153)],this[_0x3f90f6(0x1b4)]);break;}default:throw new Error(_0x3f90f6(0x3cb)+this['type']+_0x3f90f6(0x1b7));}const {changeset:_0x1421ce,pendingMutations:_0x18c95d}=_0x1dd7ca;this[_0x3f90f6(0x294)][_0x3f90f6(0x287)](_0x1421ce);const _0x98b22d=_0x18c95d['length']?this['_injector'][_0x3f90f6(0x232)](oe,this['unitID'],this[_0x3f90f6(0x1a9)],_0x1421ce,_0x18c95d,this[_0x3f90f6(0x294)],void 0x0):this[_0x3f90f6(0x345)][_0x3f90f6(0x232)](le,this[_0x3f90f6(0x10c)],this['type'],_0x1421ce,this[_0x3f90f6(0x294)]);_0x98b22d[_0x3f90f6(0x3ff)](),this[_0x3f90f6(0x294)][_0x3f90f6(0x3e3)](this,_0x98b22d);},_0x5090b0);}[_0x23ae93(0x23b)](){var _0x4727ef=_0x23ae93,_0x2c1298;const _0x301e99=this[_0x4727ef(0x22f)][_0x4727ef(0x380)](K);return(_0x2c1298=_0x301e99==null?void 0x0:_0x301e99[_0x4727ef(0x333)])!=null?_0x2c1298:ms;}[_0x23ae93(0x25d)](){var _0x27ef08=_0x23ae93;throw new Error(_0x27ef08(0x3c4));}[_0x23ae93(0x1ff)](){var _0x11506d=_0x23ae93;this[_0x11506d(0x21b)]!=null&&(clearTimeout(this[_0x11506d(0x21b)]),this['_sendingTimer']=null);}[_0x23ae93(0x2ad)](_0x43ff1d){var _0x5283d5=_0x23ae93;return this[_0x5283d5(0x1ff)](),this[_0x5283d5(0x345)][_0x5283d5(0x232)](ue,this[_0x5283d5(0x10c)],this[_0x5283d5(0x1a9)],null,this[_0x5283d5(0x264)],this[_0x5283d5(0x294)],_0x43ff1d);}};ae=Se([L(0x4,_0x35e039(_0xefc734)),L(0x5,_0x35e039(_0x5ea32b)),L(0x6,_0x35e039(Pe)),L(0x7,_0x1e4e23),L(0x8,_0x146785),L(0x9,_0x31c935),L(0xa,_0x3b1162),L(0xb,_0x1437e0),L(0xc,_0x3d8dad),L(0xd,_0x3a44cd(X))],ae);let le=class extends ge{constructor(_0x34979d,_0x4e9ed2,_0x1fad09,_0x4e3380,_0x224ef3,_0x36eaf5,_0x5a5a14,_0x5affdf,_0x1c0bea,_0x5d98a,_0x1d3060){var _0xf4d541=_0x23ae93;super(_0x34979d,_0x4e9ed2,_0x1fad09,[],_0x4e3380,_0x5a5a14,_0x5d98a,_0x36eaf5,_0x1d3060),D(this,_0xf4d541(0x170),_0xf4d541(0x119)),D(this,_0xf4d541(0x3f1),0x0),D(this,_0xf4d541(0x387),0x0),D(this,'_resendTimer'),D(this,_0xf4d541(0x173)),(this[_0xf4d541(0x345)]=_0x224ef3,this['_logService']=_0x5affdf,this['_transformService']=_0x1c0bea);}[_0x23ae93(0x416)](_0x3a6ef8){var _0x463354=_0x23ae93;this[_0x463354(0x1ff)]();const _0x5c33d5=this[_0x463354(0x345)]['createInstance'](oe,this[_0x463354(0x10c)],this[_0x463354(0x1a9)],this[_0x463354(0x38e)],[_0x3a6ef8],this[_0x463354(0x294)],this['_resendTimer']);return _0x5c33d5['_updateLocalCache'](),_0x5c33d5;}['onRemoteChangeset'](_0x3cd02f){var _0x45d375=_0x23ae93;if(this[_0x45d375(0x1e2)](_0x3cd02f))return this['_clearScheduledTask'](),this[_0x45d375(0x345)][_0x45d375(0x232)](ee,this[_0x45d375(0x10c)],this[_0x45d375(0x1a9)],this['_awaitingChangeset'],[],null,[_0x3cd02f],this[_0x45d375(0x294)]);try{const _0x390bcf=this[_0x45d375(0x177)][_0x45d375(0x2a3)]([_0x3cd02f],[this['_awaitingChangeset']],!0x1);if(_0x3432f4(_0x390bcf)){const {c1Prime:_0x149382,c2Prime:_0x1254cf}=_0x390bcf;this[_0x45d375(0x246)](_0x149382[0x0]),_0x1254cf[0x0][_0x45d375(0x25a)]=this['_getCurrentRevision'](),this[_0x45d375(0x1ff)]();const _0x10a88f=this['_injector'][_0x45d375(0x232)](le,this[_0x45d375(0x10c)],this[_0x45d375(0x1a9)],_0x1254cf[0x0],this[_0x45d375(0x294)]);return _0x10a88f[_0x45d375(0x3ff)](),_0x10a88f;}return this[_0x45d375(0x2ad)](!0x1);}catch(_0x3ee35d){return this[_0x45d375(0x413)][_0x45d375(0x14f)](_0x3ee35d),this['_onConflict'](!0x1);}}[_0x23ae93(0x3dc)](_0x4f9170){var _0x3e7a16=_0x23ae93;this[_0x3e7a16(0x1ff)]();const _0x2e7f6b=this[_0x3e7a16(0x153)][_0x3e7a16(0x35c)](this[_0x3e7a16(0x10c)]);if(_0x4f9170['revision']<_0x2e7f6b-0x1)return this;if(this['_checkMissing'](_0x4f9170))return this[_0x3e7a16(0x345)][_0x3e7a16(0x232)](ee,this[_0x3e7a16(0x10c)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x38a70b=this[_0x3e7a16(0x345)]['createInstance'](be,this[_0x3e7a16(0x10c)],this['type'],this[_0x3e7a16(0x294)]);return _0x38a70b[_0x3e7a16(0x3ff)](),_0x38a70b;}['onRemoteRej'](_0x56be66){var _0x256b7a=_0x23ae93;return this['_onConflict'](!!(_0x56be66!=null&&_0x56be66[_0x256b7a(0x2ce)]));}[_0x23ae93(0x1a4)](_0x27ee9d){var _0x20450d=_0x23ae93;return this[_0x20450d(0x387)]>Ti?this[_0x20450d(0x3c5)]():(this[_0x20450d(0x217)]=Ii(this['_resendTimeout'],{'timeout':this[_0x20450d(0x3f1)],'reqId':_0x27ee9d[_0x20450d(0x381)]}),this[_0x20450d(0x173)]=this[_0x20450d(0x217)][_0x20450d(0x1f7)](({reqId:_0x12fb22,timeout:_0x571f0d})=>{this['_resendWithTimeout'](_0x12fb22,_0x571f0d);}),this);}[_0x23ae93(0x3c5)](){var _0x1b76e1=_0x23ae93;return this['_clearScheduledTask'](),this[_0x1b76e1(0x345)][_0x1b76e1(0x232)](de,this[_0x1b76e1(0x10c)],this[_0x1b76e1(0x1a9)],this[_0x1b76e1(0x38e)],[],this[_0x1b76e1(0x294)]);}[_0x23ae93(0x17b)](){return this;}[_0x23ae93(0x25d)](){var _0x1cb2c2=_0x23ae93;this[_0x1cb2c2(0x294)][_0x1cb2c2(0x287)](this[_0x1cb2c2(0x38e)]);}[_0x23ae93(0x2ad)](_0x28a82a){var _0x4a4f4f=_0x23ae93;return this[_0x4a4f4f(0x1ff)](),this[_0x4a4f4f(0x345)][_0x4a4f4f(0x232)](ue,this[_0x4a4f4f(0x10c)],this[_0x4a4f4f(0x1a9)],this[_0x4a4f4f(0x38e)],[],this[_0x4a4f4f(0x294)],_0x28a82a);}[_0x23ae93(0x276)](_0x4bb09c,_0x668744){var _0x686513=_0x23ae93,_0x246881;_0x4bb09c===((_0x246881=this[_0x686513(0x38e)])==null?void 0x0:_0x246881['reqId'])&&(this[_0x686513(0x25d)](),this[_0x686513(0x3f1)]=_0x668744===0x0?0x3e8:Math['min'](_0x668744*0x2,gi),this[_0x686513(0x387)]+=this[_0x686513(0x3f1)]);}[_0x23ae93(0x1ff)](){var _0x25cea8=_0x23ae93,_0x175fe2;(_0x175fe2=this[_0x25cea8(0x173)])==null||_0x175fe2[_0x25cea8(0x397)](),this[_0x25cea8(0x3f1)]=0x0,this[_0x25cea8(0x387)]=0x0;}};le=Se([L(0x4,_0x35e039(_0xefc734)),L(0x5,_0x35e039(_0x5ea32b)),L(0x6,_0x146785),L(0x7,_0x1e4e23),L(0x8,_0x3b1162),L(0x9,_0x3d8dad),L(0xa,_0x3a44cd(X))],le);let oe=class extends ge{constructor(_0x410e81,_0x4cabb2,_0x4f9b9c,_0x1eaedc,_0x13ef8f,_0x2aacfb,_0x3f0de4,_0x5ebdc3,_0x7ca4ba,_0x31add1,_0x3bf87d,_0x547397,_0x125e6a){var _0x2bdb21=_0x23ae93;super(_0x410e81,_0x4cabb2,_0x4f9b9c,_0x1eaedc,_0x13ef8f,_0x7ca4ba,_0x547397,_0x5ebdc3,_0x125e6a),D(this,'status',_0x2bdb21(0x2f8)),D(this,_0x2bdb21(0x3f1),0x0),D(this,_0x2bdb21(0x387),0x0),D(this,'_resendTimer'),D(this,_0x2bdb21(0x173)),(this[_0x2bdb21(0x345)]=_0x3f0de4,this[_0x2bdb21(0x413)]=_0x31add1,this[_0x2bdb21(0x177)]=_0x3bf87d,this[_0x2bdb21(0x13c)]=_0x125e6a,_0x2aacfb&&(this[_0x2bdb21(0x217)]=_0x2aacfb,this[_0x2bdb21(0x173)]=this['_resendTimer'][_0x2bdb21(0x1f7)](({reqId:_0x1ae6ed,timeout:_0x443250})=>{this['_resendWithTimeout'](_0x1ae6ed,_0x443250);})));}[_0x23ae93(0x416)](_0x1bd096){var _0x5a019d=_0x23ae93;return this[_0x5a019d(0x264)]['push'](_0x1bd096),this;}[_0x23ae93(0x3af)](_0x150837){var _0x38da5b=_0x23ae93;if(this[_0x38da5b(0x1e2)](_0x150837))return this[_0x38da5b(0x1ff)](),this['_injector']['createInstance'](ee,this[_0x38da5b(0x10c)],this[_0x38da5b(0x1a9)],this['_awaitingChangeset'],this[_0x38da5b(0x264)],null,[_0x150837],this[_0x38da5b(0x294)]);try{const _0x23f928=this['_transformService'][_0x38da5b(0x2a3)]([_0x150837],[this['_awaitingChangeset']],!0x1);if(_0x3432f4(_0x23f928)){const {c1Prime:_0x501b76,c2Prime:_0x29efca}=_0x23f928,_0x5e5b7b=this['_transformService'][_0x38da5b(0x41c)](_0x501b76[0x0],this['_pendingMutations']);if(_0x1277a2(_0x5e5b7b)){const {c1Prime:_0x4abab2,m2Prime:_0x280552}=_0x5e5b7b;return this[_0x38da5b(0x246)](_0x4abab2),_0x29efca[0x0][_0x38da5b(0x25a)]=this[_0x38da5b(0x362)](),this[_0x38da5b(0x1ff)](),this[_0x38da5b(0x345)][_0x38da5b(0x232)](oe,this[_0x38da5b(0x10c)],this[_0x38da5b(0x1a9)],_0x29efca[0x0],_0x280552,this[_0x38da5b(0x294)],void 0x0);}throw _0x5e5b7b[_0x38da5b(0x14f)];}throw _0x23f928[_0x38da5b(0x14f)];}catch(_0x54af4b){return this['_logService']['error'](_0x54af4b),this['_onConflict'](!0x1);}}[_0x23ae93(0x3dc)](_0x1affb4){var _0x4167d5=_0x23ae93;if(this[_0x4167d5(0x1ff)](),this[_0x4167d5(0x1e2)](_0x1affb4))return this['_injector'][_0x4167d5(0x232)](ee,this['unitID'],this[_0x4167d5(0x1a9)],null,this[_0x4167d5(0x264)],this[_0x4167d5(0x38e)],[],this[_0x4167d5(0x294)]);this[_0x4167d5(0x36f)]();const _0x3c95fd=this[_0x4167d5(0x345)][_0x4167d5(0x232)](ae,this[_0x4167d5(0x10c)],this[_0x4167d5(0x1a9)],this[_0x4167d5(0x264)],this[_0x4167d5(0x294)]);return _0x3c95fd['_schedule'](),_0x3c95fd[_0x4167d5(0x3ff)](),_0x3c95fd;}['onRemoteRej'](_0x2ca7ba){var _0x3340a7=_0x23ae93;return this[_0x3340a7(0x2ad)](!!(_0x2ca7ba!=null&&_0x2ca7ba[_0x3340a7(0x2ce)]));}[_0x23ae93(0x1a4)](_0x2a4270){var _0x59ce34=_0x23ae93;return this['_maxTotalRetryTimeout']>Ti?this[_0x59ce34(0x3c5)]():(this[_0x59ce34(0x217)]=Ii(this[_0x59ce34(0x3f1)],{'timeout':this[_0x59ce34(0x3f1)],'reqId':_0x2a4270['reqId']}),this[_0x59ce34(0x173)]=this['_resendTimer'][_0x59ce34(0x1f7)](({reqId:_0x17ed79,timeout:_0x5ea27e})=>{var _0x273d6d=_0x59ce34;this[_0x273d6d(0x276)](_0x17ed79,_0x5ea27e);}),this);}[_0x23ae93(0x3c5)](){var _0xb8469c=_0x23ae93;return this[_0xb8469c(0x1ff)](),this['_injector'][_0xb8469c(0x232)](de,this[_0xb8469c(0x10c)],this[_0xb8469c(0x1a9)],this[_0xb8469c(0x38e)],this[_0xb8469c(0x264)],this[_0xb8469c(0x294)]);}[_0x23ae93(0x17b)](){return this;}[_0x23ae93(0x25d)](){var _0x3cd47e=_0x23ae93;this[_0x3cd47e(0x294)]['onSendChangeset'](this[_0x3cd47e(0x38e)]);}[_0x23ae93(0x2ad)](_0x35831f){var _0x5a3b0b=_0x23ae93;return this[_0x5a3b0b(0x1ff)](),this[_0x5a3b0b(0x345)][_0x5a3b0b(0x232)](ue,this[_0x5a3b0b(0x10c)],this[_0x5a3b0b(0x1a9)],null,this[_0x5a3b0b(0x264)],this[_0x5a3b0b(0x294)],_0x35831f);}[_0x23ae93(0x276)](_0x1de8d9,_0xbe4675){var _0x355386=_0x23ae93,_0x3a0ad6;_0x1de8d9===((_0x3a0ad6=this[_0x355386(0x38e)])==null?void 0x0:_0x3a0ad6['reqId'])&&(this[_0x355386(0x25d)](),this['_resendTimeout']=_0xbe4675===0x0?0x3e8:Math[_0x355386(0x1f0)](_0xbe4675*0x2,gi),this[_0x355386(0x387)]+=this[_0x355386(0x3f1)]);}[_0x23ae93(0x1ff)](){var _0x3a2d22=_0x23ae93,_0x198194;(_0x198194=this[_0x3a2d22(0x173)])==null||_0x198194['unsubscribe'](),this[_0x3a2d22(0x3f1)]=0x0,this[_0x3a2d22(0x387)]=0x0;}};oe=Se([L(0x6,_0x35e039(_0xefc734)),L(0x7,_0x35e039(_0x5ea32b)),L(0x8,_0x146785),L(0x9,_0x1e4e23),L(0xa,_0x3b1162),L(0xb,_0x3d8dad),L(0xc,_0x3a44cd(X))],oe);let ue=class extends ge{constructor(_0xc79aa7,_0x2d73cd,_0x498c1,_0x40fd2e,_0xbbda2b,_0x3adf88=!0x1,_0x2861df,_0x126ffa,_0x2fc10b,_0x5d19ce,_0x56392a,_0x284c0d,_0x383ea4){var _0x1c0ae4=_0x23ae93;super(_0xc79aa7,_0x2d73cd,_0x498c1,_0x40fd2e,_0xbbda2b,_0x126ffa,_0x2fc10b,_0x5d19ce,_0x383ea4),D(this,_0x1c0ae4(0x170),'conflict'),(this[_0x1c0ae4(0x142)]=_0x3adf88,this[_0x1c0ae4(0x183)]=_0x2861df,this[_0x1c0ae4(0x354)]=_0x56392a,this[_0x1c0ae4(0x277)]=_0x284c0d,this['localCacheService']=_0x383ea4,this[_0x1c0ae4(0x259)](),this[_0x1c0ae4(0x2ef)](),this[_0x1c0ae4(0x33f)]());}['appendMutation'](){return this;}[_0x23ae93(0x3af)](){return this;}[_0x23ae93(0x3dc)](){return this;}['onRemoteRej'](){return this;}[_0x23ae93(0x1a4)](){return this;}['toggleOffline'](){return this;}[_0x23ae93(0x17b)](){return this;}[_0x23ae93(0x25d)](){var _0x181a60=_0x23ae93;throw new Error(_0x181a60(0x1d3));}['_clearLocalCache'](){var _0x33a691=_0x23ae93,_0x3e9964;(_0x3e9964=this[_0x33a691(0x125)])==null||_0x3e9964[_0x33a691(0x210)](this[_0x33a691(0x10c)],this[_0x33a691(0x1a9)],null,[]);}['_showConflictNotification'](){var _0x50f617=_0x23ae93;this[_0x50f617(0x142)]?this['_collaborationUIEventService']['emitEvent']({'id':re[_0x50f617(0x195)]}):this[_0x50f617(0x277)][_0x50f617(0x377)]({'id':re[_0x50f617(0x322)]});}['_disableEditing'](){var _0x39d868=_0x23ae93;this[_0x39d868(0x183)][_0x39d868(0x3c7)](new _0x33890d(this[_0x39d868(0x10c)])['id'],!0x1);}};ue=Se([L(0x6,_0x35e039(_0x556f22)),L(0x7,_0x146785),L(0x8,_0x3d8dad),L(0x9,_0x35e039(_0x5ea32b)),L(0xa,_0x35e039(_0xaff562)),L(0xb,_0x35e039(ve)),L(0xc,_0x3a44cd(X))],ue);let de=class extends ge{constructor(_0x5a57c8,_0x2d8cf6,_0x110852,_0x5b3894,_0x56189a,_0x1e3b3f,_0x129e39,_0x4a618a,_0x559e1d,_0x3148c2){var _0x368451=_0x23ae93;super(_0x5a57c8,_0x2d8cf6,_0x110852,_0x5b3894,_0x56189a,_0x4a618a,_0x559e1d,_0x129e39,_0x3148c2),D(this,_0x368451(0x170),_0x368451(0x39c)),this[_0x368451(0x345)]=_0x1e3b3f;}[_0x23ae93(0x416)](_0x2bcd34){var _0x369835=_0x23ae93;return this[_0x369835(0x264)]['push'](_0x2bcd34),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x357e7d){var _0x42d49e=_0x23ae93;throw new Error(_0x42d49e(0x184));}[_0x23ae93(0x3dc)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x23ae93(0x3bf)](){var _0x21812f=_0x23ae93;throw new Error(_0x21812f(0x348));}[_0x23ae93(0x1a4)](){return this;}[_0x23ae93(0x3c5)](){return this;}['toggleOnline'](){var _0x186c76=_0x23ae93;const {_injector:_0x51e01a,_pendingMutations:_0x245e4e,_awaitingChangeset:_0x45753a,unitID:_0x271edf,_handler:_0xf795a5,type:_0x516bd6}=this,_0x2c07ca=Oi(_0x51e01a,_0x271edf,_0x516bd6,_0x45753a,_0x245e4e,_0xf795a5);return _0x2c07ca instanceof ae?_0x2c07ca[_0x186c76(0x2d6)]():(_0x2c07ca instanceof oe||_0x2c07ca instanceof le)&&_0x2c07ca[_0x186c76(0x25d)](),_0x2c07ca;}[_0x23ae93(0x25d)](){var _0x2a7596=_0x23ae93;throw new Error(_0x2a7596(0x3a7));}};de=Se([L(0x5,_0x35e039(_0xefc734)),L(0x6,_0x35e039(_0x5ea32b)),L(0x7,_0x146785),L(0x8,_0x3d8dad),L(0x9,_0x3a44cd(X))],de);let ee=class extends ge{constructor(_0x18cb02,_0x455395,_0x3abb64,_0x52b680,_0x455736,_0x16034e,_0x521a45,_0x1a09f0,_0x4aaf3e,_0xf7fc8c,_0x5f1891,_0x115dd9,_0x49da7a,_0x3e902d){var _0x1c49b8=_0x23ae93;super(_0x18cb02,_0x455395,_0x3abb64,_0x52b680,_0x521a45,_0x5f1891,_0x115dd9,_0x4aaf3e,_0x3e902d),D(this,'status',_0x1c49b8(0x1c0)),(this[_0x1c49b8(0x2a7)]=_0x455736,this[_0x1c49b8(0x2fd)]=_0x16034e,this['_injector']=_0x1a09f0,this['_logService']=_0xf7fc8c,this[_0x1c49b8(0x177)]=_0x49da7a,this[_0x1c49b8(0x13c)]=_0x3e902d);}[_0x23ae93(0x2f7)](_0x5ebaab){var _0x117ade=_0x23ae93;try{const _0x15b2dc=[..._0x5ebaab,...this[_0x117ade(0x2fd)]],_0x187c2a=[this['_awaitingChangeset']||this[_0x117ade(0x2a7)]]['filter'](_0x4170dc=>!!_0x4170dc);let _0x2be6f4,_0x1f2a7e;if(_0x187c2a[_0x117ade(0x2ca)]){const _0xba984d=this[_0x117ade(0x177)]['transformChangesets'](_0x15b2dc,_0x187c2a,!0x1);if(!_0x3432f4(_0xba984d))throw _0xba984d[_0x117ade(0x14f)];_0x2be6f4=_0xba984d[_0x117ade(0x21f)],_0x1f2a7e=_0xba984d['c2Prime'];}else _0x2be6f4=_0x15b2dc,_0x1f2a7e=[];let _0x369f65=this[_0x117ade(0x264)];_0x2be6f4['forEach'](_0x52ec5b=>{var _0x7cfd06=_0x117ade;let _0x22b65b;if(_0x369f65['length']){const _0x5d16fa=this[_0x7cfd06(0x177)]['transformMutationsWithChangeset'](_0x52ec5b,_0x369f65);if(!_0x1277a2(_0x5d16fa))throw _0x5d16fa[_0x7cfd06(0x14f)];_0x22b65b=_0x5d16fa[_0x7cfd06(0x21f)],_0x369f65=_0x5d16fa['m2Prime'];}else _0x22b65b=_0x52ec5b;this['_executeRemoteChangeset'](_0x22b65b);}),this[_0x117ade(0x2a7)]&&this[_0x117ade(0x36f)](),this['_awaitingChangeset']&&_0x1f2a7e['length']&&(_0x1f2a7e[0x0][_0x117ade(0x25a)]=this['_getCurrentRevision']());let _0x4028e4;if(this[_0x117ade(0x38e)]&&_0x369f65['length']!==0x0)_0x4028e4=this[_0x117ade(0x345)][_0x117ade(0x232)](oe,this['unitID'],this[_0x117ade(0x1a9)],_0x1f2a7e[0x0],_0x369f65,this[_0x117ade(0x294)],void 0x0);else{if(this[_0x117ade(0x38e)]&&_0x369f65[_0x117ade(0x2ca)]===0x0)_0x1f2a7e[0x0][_0x117ade(0x25a)]=this[_0x117ade(0x362)](),_0x4028e4=this[_0x117ade(0x345)][_0x117ade(0x232)](le,this[_0x117ade(0x10c)],this[_0x117ade(0x1a9)],_0x1f2a7e[0x0],this['_handler']);else{if(_0x369f65[_0x117ade(0x2ca)]!==0x0){const _0x371c03=this[_0x117ade(0x345)][_0x117ade(0x232)](ae,this[_0x117ade(0x10c)],this[_0x117ade(0x1a9)],_0x369f65,this['_handler']);_0x371c03[_0x117ade(0x2d6)](),_0x4028e4=_0x371c03;}else _0x4028e4=this[_0x117ade(0x345)][_0x117ade(0x232)](be,this['unitID'],this[_0x117ade(0x1a9)],this[_0x117ade(0x294)]);}}return _0x4028e4[_0x117ade(0x3ff)](),_0x4028e4;}catch(_0x3af014){return this[_0x117ade(0x413)][_0x117ade(0x14f)]('[FetchMissState]',_0x117ade(0x1e9),_0x3af014),this[_0x117ade(0x345)][_0x117ade(0x232)](ue,this[_0x117ade(0x10c)],this['type'],this[_0x117ade(0x38e)],this['_pendingMutations'],this[_0x117ade(0x294)],!0x1);}}[_0x23ae93(0x25d)](){var _0x5ee606=_0x23ae93;throw new Error(_0x5ee606(0x3e5));}[_0x23ae93(0x416)](_0x6084c2){var _0x42c84d=_0x23ae93;return this[_0x42c84d(0x264)][_0x42c84d(0x1b8)](_0x6084c2),this;}[_0x23ae93(0x3af)](_0x4f5a05){var _0xacf8b8=_0x23ae93;return this['_queuedRemoteChangesets'][_0xacf8b8(0x1b8)](_0x4f5a05),this;}[_0x23ae93(0x3dc)](_0x2c8fc1){var _0x2862d4=_0x23ae93;if(this['_awaitingChangeset'])return this[_0x2862d4(0x2a7)]=this[_0x2862d4(0x38e)],this[_0x2862d4(0x38e)]=null,this;throw new Error(_0x2862d4(0x267));}['onRemoteRej'](_0x54e777){var _0x51ac65=_0x23ae93;return this[_0x51ac65(0x2ad)](!!(_0x54e777!=null&&_0x54e777['isPermissionRej']));}[_0x23ae93(0x1a4)](){return this;}['toggleOffline'](){var _0x6a8189=_0x23ae93;return this[_0x6a8189(0x345)]['createInstance'](de,this[_0x6a8189(0x10c)],this['type'],this[_0x6a8189(0x38e)],this[_0x6a8189(0x264)],this[_0x6a8189(0x294)]);}[_0x23ae93(0x17b)](){return this;}['_onConflict'](_0x40617f){var _0x395326=_0x23ae93;return this[_0x395326(0x345)][_0x395326(0x232)](ue,this[_0x395326(0x10c)],this['type'],this[_0x395326(0x38e)],this[_0x395326(0x264)],this[_0x395326(0x294)],_0x40617f);}};ee=Se([L(0x7,_0x35e039(_0xefc734)),L(0x8,_0x35e039(_0x5ea32b)),L(0x9,_0x1e4e23),L(0xa,_0x146785),L(0xb,_0x3d8dad),L(0xc,_0x3b1162),L(0xd,_0x3a44cd(X))],ee);function Oi(_0x4e8f0f,_0x8373a3,_0x5c6987,_0x34be0b,_0x2cd4e5,_0x2703b4){var _0x3db03b=_0x23ae93;return _0x34be0b&&_0x2cd4e5['length']?_0x4e8f0f[_0x3db03b(0x232)](oe,_0x8373a3,_0x5c6987,_0x34be0b,_0x2cd4e5,_0x2703b4,void 0x0):_0x34be0b?_0x4e8f0f['createInstance'](le,_0x8373a3,_0x5c6987,_0x34be0b,_0x2703b4):_0x2cd4e5[_0x3db03b(0x2ca)]?_0x4e8f0f[_0x3db03b(0x232)](ae,_0x8373a3,_0x5c6987,_0x2cd4e5,_0x2703b4):_0x4e8f0f[_0x3db03b(0x232)](be,_0x8373a3,_0x5c6987,_0x2703b4);}var js=Object[_0x23ae93(0x2f0)],At=(_0x21edcf,_0x3d78cb,_0x4a81c8,_0x31f507)=>{for(var _0x1bd409=_0x31f507>0x1?void 0x0:_0x31f507?js(_0x3d78cb,_0x4a81c8):_0x3d78cb,_0x1ad859=_0x21edcf['length']-0x1,_0x2209eb;_0x1ad859>=0x0;_0x1ad859--)(_0x2209eb=_0x21edcf[_0x1ad859])&&(_0x1bd409=_0x2209eb(_0x1bd409)||_0x1bd409);return _0x1bd409;},$=(_0x2b627a,_0x25efcd)=>(_0x5806b7,_0x12158d)=>_0x25efcd(_0x5806b7,_0x12158d,_0x2b627a);let st=class extends _0x2d880a{constructor(_0x1c1e1f,_0x4cebb2,_0x1f6d9b,_0x2ba8cc,_0x52b84f,_0x322527,_0x5ebb29,_0x31633a,_0x33f52b,_0x15d9fd,_0x53a478,_0x185696,_0x510cd0,_0x5bc5bd){var _0x3acf33=_0x23ae93;super(),D(this,_0x3acf33(0x2ec),new _0x2d0dd9(null)),D(this,_0x3acf33(0x3b0),this[_0x3acf33(0x2ec)][_0x3acf33(0x240)]()),D(this,_0x3acf33(0x382)),D(this,'_collaborationPaused',!0x1),D(this,_0x3acf33(0x1a2),''),D(this,'_changesetReqId',0x0),D(this,_0x3acf33(0x281),this[_0x3acf33(0x3b0)][_0x3acf33(0x20a)](_0xe7c4cc(_0x8b545b=>_0x8b545b?_0x8b545b[_0x3acf33(0x170)]:Si[_0x3acf33(0x191)]),_0xcf6c00(0x1))),D(this,_0x3acf33(0x1cb),!0x1),D(this,_0x3acf33(0x396),[]),(this[_0x3acf33(0x10c)]=_0x1c1e1f,this['session']=_0x4cebb2,this[_0x3acf33(0x32e)]=_0x1f6d9b,this[_0x3acf33(0x345)]=_0x2ba8cc,this[_0x3acf33(0x3c2)]=_0x52b84f,this[_0x3acf33(0x354)]=_0x322527,this[_0x3acf33(0x153)]=_0x5ebb29,this['_eventService']=_0x31633a,this[_0x3acf33(0x3a3)]=_0x33f52b,this[_0x3acf33(0x413)]=_0x15d9fd,this['_commandService']=_0x53a478,this[_0x3acf33(0x183)]=_0x185696,this['_singleActiveUnitService']=_0x510cd0,this[_0x3acf33(0x125)]=_0x5bc5bd);}get[_0x23ae93(0x2c4)](){return this['_state'];}async[_0x23ae93(0x2c1)](){var _0x3959fa=_0x23ae93;if(this[_0x3959fa(0x2c4)])throw new Error(_0x3959fa(0x244));await this[_0x3959fa(0x3da)]();}[_0x23ae93(0x34e)](){return this['_collaborationPaused']=!0x0,_0x294255(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x23ae93(0x3ed)](_0x2ff073){var _0x42f12b=_0x23ae93;this[_0x42f12b(0x419)](_0x2ff073);}['_updateState'](_0x51d959){var _0x10b00e=_0x23ae93;this['_state']=_0x51d959,this[_0x10b00e(0x2ec)][_0x10b00e(0x418)](_0x51d959);}async[_0x23ae93(0x3da)](){var _0x200373=_0x23ae93,_0x37121a;this[_0x200373(0x343)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x37121a=this[_0x200373(0x365)])==null||_0x37121a[_0x200373(0x3fc)](this['unitID']),this[_0x200373(0x2e9)](this[_0x200373(0x365)]['getUnitStatus$'](this['unitID'])[_0x200373(0x1f7)](_0x3ffff4=>{var _0x448957=_0x200373;this[_0x448957(0x413)]['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x3ffff4),_0x3ffff4===mi[_0x448957(0x3a8)]?(this[_0x448957(0x165)][_0x448957(0x377)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x448957(0x183)]['updatePermissionPoint'](new _0x33890d(this[_0x448957(0x10c)])['id'],!0x1),this['_permissionService'][_0x448957(0x1f9)](!0x1)):(this['_permissionService'][_0x448957(0x3c7)](new _0x33890d(this[_0x448957(0x10c)])['id'],!0x0),this[_0x448957(0x183)][_0x448957(0x1f9)](!0x0));})));let _0x2f0058=!0x1;return this[_0x200373(0x2e9)](this[_0x200373(0x24b)][_0x200373(0x35e)][_0x200373(0x1f7)](_0x3ec16d=>{var _0x57f8d9=_0x200373;_0x3ec16d===me[_0x57f8d9(0x3ce)]?this[_0x57f8d9(0x252)](_0x2f0058):_0x3ec16d===me[_0x57f8d9(0x191)]&&(_0x2f0058=!0x0,this[_0x57f8d9(0x30c)]());})),this[_0x200373(0x2e9)](this['session']['event$']['subscribe'](_0x18574d=>{var _0x290551=_0x200373;try{switch(_0x18574d[_0x290551(0x196)]){case _0x2ea533[_0x290551(0x3a9)]:{this[_0x290551(0x1b1)](_0x24ec53(_0x18574d[_0x290551(0x10f)]));break;}case _0x2ea533[_0x290551(0x25b)]:{this['_onRemoteACK'](_0x18574d['data']);break;}case _0x2ea533[_0x290551(0x28a)]:{this['_onRemoteRejected']();break;}case _0x2ea533[_0x290551(0x208)]:{this[_0x290551(0x1fb)](_0x18574d[_0x290551(0x10f)]);break;}case _0x2ea533['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x18574d[_0x290551(0x10f)]['changesets'][_0x290551(0x15a)](_0xb73c90=>_0x24ec53(_0xb73c90)));break;}case _0x2ea533[_0x290551(0x19a)]:{this[_0x290551(0x2fc)]({'isPermissionRej':!0x0});break;}case _0x2ea533['UNISCRIPT_RUN']:break;}}catch(_0x226e5d){throw console[_0x290551(0x14f)](_0x290551(0x12d),_0x226e5d),_0x226e5d;}})),this[_0x200373(0x382)];}['_unlockTransition'](){var _0xab2f7f=_0x23ae93;this[_0xab2f7f(0x1cb)]=!0x1;}[_0x23ae93(0x403)](){var _0x1aace9=_0x23ae93;if(this[_0x1aace9(0x1cb)])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['_transitionLocked']=!0x0;}[_0x23ae93(0x419)](_0x14cc96){var _0x1d7e65=_0x23ae93;this[_0x1d7e65(0x403)](),this[_0x1d7e65(0x343)](this[_0x1d7e65(0x382)]['appendMutation'](_0x14cc96)),this[_0x1d7e65(0x110)]();}['_onRemoteChangeset'](_0x5cdb48){var _0x55a65d=_0x23ae93;if(!(_0x5cdb48[_0x55a65d(0x26e)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x55a65d(0x10c)]))){if(this[_0x55a65d(0x24c)]){this[_0x55a65d(0x396)][_0x55a65d(0x1b8)](_0x5cdb48);return;}this[_0x55a65d(0x228)](_0x5cdb48);}}[_0x23ae93(0x3f2)](){var _0x409367=_0x23ae93;this[_0x409367(0x396)][_0x409367(0x10b)](_0x5838fb=>this['_applyRemoteChangeset'](_0x5838fb)),this[_0x409367(0x396)]=[];}[_0x23ae93(0x228)](_0x39e187){var _0x25d21b=_0x23ae93;const _0x305764=this[_0x25d21b(0x3c2)][_0x25d21b(0x28f)][_0x25d21b(0x1d2)](this['_compressMutationService'][_0x25d21b(0x28f)][_0x25d21b(0x2bd)]()[_0x25d21b(0x1d7)])(_0x39e187[_0x25d21b(0x331)],null)||_0x39e187[_0x25d21b(0x331)],_0x4cdcde={..._0x39e187,'mutations':_0x305764};this['_lockTransition'](),this[_0x25d21b(0x343)](this['_state'][_0x25d21b(0x3af)](_0x4cdcde)),this['_unlockTransition']();}[_0x23ae93(0x421)](_0x5abebc){var _0x3a56d9=_0x23ae93;this['_lockTransition'](),this[_0x3a56d9(0x343)](this[_0x3a56d9(0x382)]['onRemoteAck'](_0x5abebc)),this[_0x3a56d9(0x110)]();}['_onRemoteRejected'](_0x4291b8){var _0x124480=_0x23ae93;this[_0x124480(0x403)](),this[_0x124480(0x343)](this[_0x124480(0x382)][_0x124480(0x3bf)](_0x4291b8)),this[_0x124480(0x110)]();}[_0x23ae93(0x1fb)](_0x1f722e){var _0x3d8748=_0x23ae93;this[_0x3d8748(0x403)](),this[_0x3d8748(0x343)](this[_0x3d8748(0x382)][_0x3d8748(0x1a4)](_0x1f722e)),this[_0x3d8748(0x110)]();}[_0x23ae93(0x37b)](_0x453273){var _0x190971=_0x23ae93;if(!(this['_state']instanceof ee))throw new TypeError(_0x190971(0x121));const _0x4cf156=_0x453273['map'](_0xf12f6d=>{var _0x499ddb=_0x190971;const _0x3c3e03=this[_0x499ddb(0x3c2)]['interceptor']['fetchThroughInterceptors'](this[_0x499ddb(0x3c2)][_0x499ddb(0x28f)][_0x499ddb(0x2bd)]()[_0x499ddb(0x1d7)])(_0xf12f6d['mutations'],null)||_0xf12f6d[_0x499ddb(0x331)];return{..._0xf12f6d,'mutations':_0x3c3e03};});this[_0x190971(0x403)](),this[_0x190971(0x343)](this[_0x190971(0x382)][_0x190971(0x2f7)](_0x4cf156)),this[_0x190971(0x110)]();}[_0x23ae93(0x30c)](){var _0x5b1b54=_0x23ae93;this['_lockTransition'](),this[_0x5b1b54(0x343)](this[_0x5b1b54(0x382)][_0x5b1b54(0x3c5)]()),this[_0x5b1b54(0x110)]();}['_toggleOnline'](_0x52dbce=!0x1){var _0x11b8ac=_0x23ae93;this[_0x11b8ac(0x403)](),this[_0x11b8ac(0x343)](this['_state'][_0x11b8ac(0x17b)]()),this[_0x11b8ac(0x110)]();const _0x1f3a11=this[_0x11b8ac(0x382)];_0x52dbce&&_0x1f3a11 instanceof be&&(this[_0x11b8ac(0x403)](),this[_0x11b8ac(0x343)](_0x1f3a11[_0x11b8ac(0x2cf)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0xddb35d=>{var _0x4af2b9=_0x97e6;this[_0x4af2b9(0x24b)][_0x4af2b9(0x35e)][_0x4af2b9(0x20a)](_0x4fb047(0x1))[_0x4af2b9(0x1f7)](async _0x29600a=>{var _0x2e11cc=_0x4af2b9;_0xddb35d(await this['_createInitialStateImpl'](_0x29600a===me[_0x2e11cc(0x3ce)]));});});}['_createHandler'](){var _0x575118=_0x23ae93;const _0x70ba8d=this[_0x575118(0x10c)];return{'onStateChange':(_0x6436a9,_0x3a9f35)=>{var _0x26b0f6=_0x575118;if(_0x6436a9!==this[_0x26b0f6(0x382)])throw new Error(_0x26b0f6(0x3d1)+_0x6436a9[_0x26b0f6(0x170)]+_0x26b0f6(0x225)+_0x3a9f35[_0x26b0f6(0x170)]+_0x26b0f6(0x338)+this['_state'][_0x26b0f6(0x170)]);this['_updateState'](_0x3a9f35);},'onSendChangeset':_0x4f3dd0=>{var _0x17fa88=_0x575118;_0x4f3dd0[_0x17fa88(0x2fb)]||(_0x4f3dd0[_0x17fa88(0x2fb)]=this[_0x17fa88(0x1a2)],_0x4f3dd0['reqId']=++this['_changesetReqId']);const _0xefa2e5={'eventID':_0x2ea533[_0x17fa88(0x149)],'data':{'unitID':_0x4f3dd0['unitID'],'unitType':this[_0x17fa88(0x32e)],'changeset':_0x4f3dd0,'memberID':this[_0x17fa88(0x24b)][_0x17fa88(0x152)]()}};this[_0x17fa88(0x24b)][_0x17fa88(0x2be)](_0xefa2e5,this[_0x17fa88(0x10c)]);},'onMissingChangesets':({from:_0x9e0f6f,to:_0x435264})=>{var _0x31c5ee=_0x575118;this[_0x31c5ee(0x413)][_0x31c5ee(0x2d7)](_0x31c5ee(0x2c5),'fetching\x20missing\x20changesets\x20from\x20'+_0x9e0f6f+_0x31c5ee(0x3cc)+_0x435264);const _0x4f152a={'eventID':_0x2ea533[_0x31c5ee(0x185)],'data':{'unitID':_0x70ba8d,'unitType':this['_type'],'from':_0x9e0f6f,'to':_0x435264}};this[_0x31c5ee(0x24b)][_0x31c5ee(0x2be)](_0x4f152a,this['unitID']);}};}async[_0x23ae93(0x1a8)](_0x33d48f){var _0x5244c7=_0x23ae93,_0x4f87f1,_0x394eb3,_0x5e056d;const _0x32bc85=await((_0x4f87f1=this[_0x5244c7(0x125)])==null?void 0x0:_0x4f87f1[_0x5244c7(0x3ba)](this[_0x5244c7(0x10c)])),_0x550f61=(_0x394eb3=_0x32bc85==null?void 0x0:_0x32bc85[_0x5244c7(0x331)])!=null?_0x394eb3:[],_0x47eb12=(_0x5e056d=_0x32bc85==null?void 0x0:_0x32bc85[_0x5244c7(0x406)])!=null?_0x5e056d:null,_0x52c016=!!(_0x47eb12!=null&&_0x47eb12[_0x5244c7(0x2fb)])&&!!(_0x47eb12!=null&&_0x47eb12[_0x5244c7(0x381)]);this[_0x5244c7(0x1a2)]=_0x52c016?_0x47eb12[_0x5244c7(0x2fb)]:_0x36214e(),this[_0x5244c7(0x22b)]=_0x52c016?_0x47eb12[_0x5244c7(0x381)]:0x0;const _0x1089b9=this[_0x5244c7(0x10c)];try{this[_0x5244c7(0x390)](_0x47eb12,_0x550f61);}catch(_0x11176f){this[_0x5244c7(0x413)][_0x5244c7(0x14f)](_0x11176f);}const _0x2be096=this[_0x5244c7(0x27f)]();if(_0x33d48f){const _0x5c1623=Oi(this[_0x5244c7(0x345)],_0x1089b9,this[_0x5244c7(0x32e)],_0x47eb12,_0x550f61,_0x2be096);return _0x5c1623 instanceof ae?_0x5c1623[_0x5244c7(0x2d6)]():(_0x5c1623 instanceof oe||_0x5c1623 instanceof le)&&_0x5c1623[_0x5244c7(0x25d)](),_0x5c1623;}return this[_0x5244c7(0x345)][_0x5244c7(0x232)](de,_0x1089b9,this['_type'],_0x47eb12,_0x550f61,_0x2be096);}[_0x23ae93(0x390)](_0x2dc2f8,_0x5cf0df){var _0xc06e4e=_0x23ae93,_0x142cc1,_0x3e84bd;const _0x2d43ff=this['_compressMutationService']['interceptor'][_0xc06e4e(0x1d2)](this[_0xc06e4e(0x3c2)][_0xc06e4e(0x28f)]['getInterceptPoints']()[_0xc06e4e(0x1d7)]);(_0x142cc1=_0x2d43ff((_0x2dc2f8==null?void 0x0:_0x2dc2f8[_0xc06e4e(0x331)])||[],null))==null||_0x142cc1[_0xc06e4e(0x10b)](_0x3cf3da=>this[_0xc06e4e(0x29a)][_0xc06e4e(0x16b)](_0x3cf3da['id'],_0x3cf3da[_0xc06e4e(0x139)])),(_0x3e84bd=_0x2d43ff(_0x5cf0df||[],null))==null||_0x3e84bd[_0xc06e4e(0x10b)](_0x558345=>this['_commandService'][_0xc06e4e(0x16b)](_0x558345['id'],_0x558345[_0xc06e4e(0x139)]));}};st=At([$(0x3,_0x35e039(_0xefc734)),$(0x4,_0x35e039(_0xfd7941)),$(0x5,_0x35e039(_0xaff562)),$(0x6,_0x35e039(_0x5ea32b)),$(0x7,_0x35e039(ve)),$(0x8,_0x1437e0),$(0x9,_0x1e4e23),$(0xa,_0x146785),$(0xb,_0x556f22),$(0xc,_0x3a44cd(_t)),$(0xd,_0x3a44cd(X))],st);let It=class extends st{constructor(_0x5cad2b,_0x1b7a9f,_0x396cd1,_0x2b222f,_0x2e8878,_0x344b2b,_0x1315f0,_0x2072ed,_0x1b18a0,_0x22fd11,_0x3b06be,_0x8c3ea8,_0x1df700,_0xa9cbe9){var _0x356649=_0x23ae93;super(_0x5cad2b,_0x396cd1,_0x1b7a9f,_0x2b222f,_0x2e8878,_0x344b2b,_0x1315f0,_0x2072ed,_0x1b18a0,_0x22fd11,_0x3b06be,_0x8c3ea8,_0x1df700,_0xa9cbe9),D(this,_0x356649(0x13b),null),(this[_0x356649(0x10c)]=_0x5cad2b,this[_0x356649(0x1a9)]=_0x1b7a9f);}[_0x23ae93(0x12c)](_0x5fd56f){var _0xf3e391=_0x23ae93;this[_0xf3e391(0x13b)]=_0x5fd56f;}[_0x23ae93(0x25e)](){var _0x3766ff=_0x23ae93;this[_0x3766ff(0x13b)]=null,super[_0x3766ff(0x25e)]();}[_0x23ae93(0x27f)](){var _0x4721c0=_0x23ae93;const _0x11ca9e=super[_0x4721c0(0x27f)]();return _0x11ca9e[_0x4721c0(0x1c2)]=_0x2efc6c=>{var _0x15e09d=_0x4721c0,_0x864a0,_0x475883;return(_0x475883=(_0x864a0=this[_0x15e09d(0x13b)])==null?void 0x0:_0x864a0[_0x15e09d(0x1c2)])==null?void 0x0:_0x475883[_0x15e09d(0x179)](_0x864a0,_0x2efc6c);},_0x11ca9e[_0x4721c0(0x1d8)]=_0xfcd520=>{var _0x3c15f9=_0x4721c0,_0x5ba702,_0x31f2f8;return(_0x31f2f8=(_0x5ba702=this[_0x3c15f9(0x13b)])==null?void 0x0:_0x5ba702['onTransformState'])==null?void 0x0:_0x31f2f8[_0x3c15f9(0x179)](_0x5ba702,_0xfcd520);},_0x11ca9e[_0x4721c0(0x194)]=_0x1c41b8=>{var _0x5a3b34=_0x4721c0,_0xd15156,_0xda13be;return(_0xda13be=(_0xd15156=this[_0x5a3b34(0x13b)])==null?void 0x0:_0xd15156[_0x5a3b34(0x194)])==null?void 0x0:_0xda13be[_0x5a3b34(0x179)](_0xd15156,_0x1c41b8);},_0x11ca9e['onSyncEditingCollabCursor']=_0x4f40e3=>{var _0xd07847=_0x4721c0,_0x1947b6,_0x28af5b;return(_0x28af5b=(_0x1947b6=this[_0xd07847(0x13b)])==null?void 0x0:_0x1947b6[_0xd07847(0x32c)])==null?void 0x0:_0x28af5b['call'](_0x1947b6,_0x4f40e3);},_0x11ca9e[_0x4721c0(0x136)]=_0x21d59c=>{var _0x14c49b=_0x4721c0,_0x553309,_0x1149ca,_0xe3a7dd;if(!((_0x553309=this['_handlerCallback'])!=null&&_0x553309[_0x14c49b(0x136)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xe3a7dd=(_0x1149ca=this['_handlerCallback'])==null?void 0x0:_0x1149ca['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xe3a7dd[_0x14c49b(0x179)](_0x1149ca,_0x21d59c);},_0x11ca9e[_0x4721c0(0x3de)]=_0x44a3c5=>{var _0x115d6d=_0x4721c0,_0x4166b9,_0x17b0e3,_0x580463;if(!((_0x4166b9=this['_handlerCallback'])!=null&&_0x4166b9['onTransformRemoteChangesetByStateCache']))throw new Error(_0x115d6d(0x316));return(_0x580463=(_0x17b0e3=this['_handlerCallback'])==null?void 0x0:_0x17b0e3['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x580463[_0x115d6d(0x179)](_0x17b0e3,_0x44a3c5);},_0x11ca9e;}async[_0x23ae93(0x3da)](){var _0x16e986=_0x23ae93;const _0x371454=await super[_0x16e986(0x3da)]();return this[_0x16e986(0x2e9)](this[_0x16e986(0x29a)][_0x16e986(0x202)]((_0x2bc4a0,_0x1bb087)=>{var _0x5e7306=_0x16e986;if(_0x2bc4a0[_0x5e7306(0x1a9)]!==_0xc8076[_0x5e7306(0x1ee)]||_0x1bb087!=null&&_0x1bb087[_0x5e7306(0x1c1)]||_0x1bb087!=null&&_0x1bb087[_0x5e7306(0x400)]||_0x2bc4a0['id']===_0x39db7e['id'])return;const _0x571807=_0x2bc4a0['params'];if((_0x571807==null?void 0x0:_0x571807['unitId'])!==this[_0x5e7306(0x10c)])return;const _0x480d35=_0x2bc4a0,_0x414803=this['_compressMutationService'][_0x5e7306(0x28f)][_0x5e7306(0x1d2)](this[_0x5e7306(0x3c2)][_0x5e7306(0x28f)][_0x5e7306(0x2bd)]()[_0x5e7306(0x312)])([_0x480d35],this[_0x5e7306(0x3a3)])||[_0x480d35];this['_onLocalMutation'](_0x414803[0x0]);})),_0x371454;}};It=At([$(0x3,_0x35e039(_0xefc734)),$(0x4,_0x35e039(_0xfd7941)),$(0x5,_0x35e039(_0xaff562)),$(0x6,_0x35e039(_0x5ea32b)),$(0x7,_0x35e039(ve)),$(0x8,_0x1437e0),$(0x9,_0x1e4e23),$(0xa,_0x146785),$(0xb,_0x556f22),$(0xc,_0x3a44cd(_t)),$(0xd,_0x3a44cd(X))],It);let St=class extends st{constructor(_0x276420,_0x3b8aeb,_0x348b7d,_0x31d7a3,_0x535257,_0x5a8d48,_0x37a7e2,_0x1bde06,_0x56961a,_0xcfa98f,_0x18f00d,_0x43a556,_0x2eb08a,_0x2055d0,_0x134d9a){var _0x171bd4=_0x23ae93;super(_0x276420,_0x348b7d,_0x3b8aeb,_0x31d7a3,_0x535257,_0x5a8d48,_0x37a7e2,_0x56961a,_0xcfa98f,_0x18f00d,_0x43a556,_0x2eb08a,_0x2055d0,_0x134d9a),this['unitID']=_0x276420,this[_0x171bd4(0x1a9)]=_0x3b8aeb,this[_0x171bd4(0x3b9)]=_0x1bde06;}[_0x23ae93(0x27f)](){var _0x1b7a56=_0x23ae93;const _0xa9b7eb=super['_createHandler']();return _0xa9b7eb[_0x1b7a56(0x194)]=_0x59de22=>this[_0x1b7a56(0x3b9)]['transformSelections'](_0x59de22),_0xa9b7eb;}async[_0x23ae93(0x3da)](){var _0x13e6fe=_0x23ae93;const _0x15cfd1=await super[_0x13e6fe(0x3da)]();return this[_0x13e6fe(0x2e9)](this[_0x13e6fe(0x29a)][_0x13e6fe(0x202)]((_0x282042,_0x4f1ea3)=>{var _0x369293=_0x13e6fe;if(_0x282042[_0x369293(0x1a9)]!==_0xc8076['MUTATION']||_0x4f1ea3!=null&&_0x4f1ea3['fromCollab']||_0x4f1ea3!=null&&_0x4f1ea3[_0x369293(0x400)])return;const _0x2d8ad3=_0x282042[_0x369293(0x139)];if((_0x2d8ad3==null?void 0x0:_0x2d8ad3[_0x369293(0x2e4)])!==this[_0x369293(0x10c)])return;const _0x2b3d6a=_0x282042,_0x45303b=this[_0x369293(0x3c2)][_0x369293(0x28f)][_0x369293(0x1d2)](this['_compressMutationService'][_0x369293(0x28f)][_0x369293(0x2bd)]()[_0x369293(0x312)])([_0x2b3d6a],this[_0x369293(0x3a3)])||[_0x2b3d6a];this[_0x369293(0x419)](_0x45303b[0x0]);})),_0x15cfd1;}};St=At([$(0x3,_0x35e039(_0xefc734)),$(0x4,_0x35e039(_0xfd7941)),$(0x5,_0x35e039(_0xaff562)),$(0x6,_0x35e039(_0x5ea32b)),$(0x7,_0x35e039(it)),$(0x8,_0x35e039(ve)),$(0x9,_0x1437e0),$(0xa,_0x1e4e23),$(0xb,_0x146785),$(0xc,_0x556f22),$(0xd,_0x3a44cd(_t)),$(0xe,_0x3a44cd(X))],St);const Vs=_0x4dcc81(_0x23ae93(0x39d));function Gs(_0x18f471){var _0x517300=_0x23ae93,_0x2e28ff,_0x346ba6,_0x51e144,_0x58d3ab,_0x4bf8b9;const _0x23ff9d=_0x18f471[_0x517300(0x10f)],_0x1c9175=JSON[_0x517300(0x326)](_0x23ff9d);switch(_0x1c9175[_0x517300(0x167)]){case j['HEARTBEAT']:case j[_0x517300(0x282)]:{const _0x58d2f9=_0x1c9175[_0x517300(0x341)];return{..._0x1c9175,'data':_0x58d2f9,'cmd':_0x1c9175[_0x517300(0x167)]};}case j[_0x517300(0x398)]:{const _0x4196f8=_0x1c9175[_0x517300(0x3a0)];return{..._0x1c9175,'data':_0x4196f8,'cmd':_0x1c9175[_0x517300(0x167)]};}case j[_0x517300(0x1e3)]:{const _0x3ececa=_0x1c9175[_0x517300(0x28c)];switch(_0x3ececa[_0x517300(0x196)]){case _0x2ea533['PERMISSION_REJ']:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x2e28ff=_0x3ececa['permissionRejEvent'])==null?void 0x0:_0x2e28ff['cs']},'cmd':_0x1c9175['cmd']};case _0x2ea533['CHANGESET_ACK']:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x346ba6=_0x3ececa[_0x517300(0x305)])==null?void 0x0:_0x346ba6['cs']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x3a9)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x51e144=_0x3ececa[_0x517300(0x112)])==null?void 0x0:_0x51e144['cs']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533['CHANGESET_REJ']:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x58d3ab=_0x3ececa['csRejEvent'])==null?void 0x0:_0x58d3ab['cs']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x208)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x4bf8b9=_0x3ececa[_0x517300(0x269)])==null?void 0x0:_0x4bf8b9['cs']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x215)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x301)]},'cmd':_0x1c9175['cmd']};case _0x2ea533['USERS_ENTER']:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x35f)]},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x298)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x17f)]},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x3b1)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x15c)]},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x1d5)]:case _0x2ea533['LIVESHARE_OPERATION']:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x212)]},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x227)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa['liveShareNewHost']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533['MSG_FOR_ERROR']:return{..._0x1c9175,'data':_0x3ececa,'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533['COMMENT_UPDATE']:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa['commentUpdateEvent']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x38b)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa['updatePermissionObjEvent']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x116)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x237)]},'cmd':_0x1c9175['cmd']};case _0x2ea533[_0x517300(0x28e)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x393)]},'cmd':_0x1c9175[_0x517300(0x167)]};default:return _0x1c9175;}}default:return _0x1c9175;}}function _0x97e6(_0x17616a,_0x363bd0){_0x17616a=_0x17616a-0x109;var _0x601630=_0x6016();var _0x97e69e=_0x601630[_0x17616a];return _0x97e69e;}function Ws(_0x5875a3){var _0xf7e05d=_0x23ae93;switch(_0x5875a3[_0xf7e05d(0x167)]){case j['HEARTBEAT']:case j[_0xf7e05d(0x282)]:return JSON[_0xf7e05d(0x41e)]({'cmd':_0x5875a3[_0xf7e05d(0x167)],'routeKey':_0x5875a3[_0xf7e05d(0x1af)]});case j[_0xf7e05d(0x1e6)]:{let _0x2a477e;switch(_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x196)]){case _0x2ea533[_0xf7e05d(0x215)]:{_0x2a477e={'eventID':_0x2ea533['UPDATE_CURSOR'],'updateCursorEvent':_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x10f)]};break;}case _0x2ea533[_0xf7e05d(0x298)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x298)],'leaveEvent':_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x10f)]};break;}case _0x2ea533[_0xf7e05d(0x1ab)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x1ab)],'joinEvent':_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x10f)]};break;}case _0x2ea533[_0xf7e05d(0x3b1)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x3b1)],'liveShareNewHost':_0x5875a3[_0xf7e05d(0x10f)]['data']};break;}case _0x2ea533['LIVESHARE_OPERATION']:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x201)],'liveShareOperation':_0x5875a3[_0xf7e05d(0x10f)]['data']};break;}case _0x2ea533[_0xf7e05d(0x227)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x227)],'liveShareTerminate':_0x5875a3['data'][_0xf7e05d(0x10f)]};break;}case _0x2ea533[_0xf7e05d(0x3b3)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x3b3)],'liveShareRequestHost':_0x5875a3['data'][_0xf7e05d(0x10f)]};break;}case _0x2ea533['LIVESHARE_FETCH_OPERATIONS']:{_0x2a477e={'eventID':_0x2ea533['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2a477e={'eventID':_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x196)]};}return JSON[_0xf7e05d(0x41e)]({'cmd':_0x5875a3['cmd'],'routeKey':_0x5875a3['routeKey'],'collaMsg':_0x2a477e});}case j[_0xf7e05d(0x398)]:return JSON[_0xf7e05d(0x41e)]({'cmd':_0x5875a3[_0xf7e05d(0x167)],'routeKey':_0x5875a3[_0xf7e05d(0x1af)],'joinReq':_0x5875a3[_0xf7e05d(0x10f)]});case j[_0xf7e05d(0x31c)]:return JSON['stringify']({'cmd':_0x5875a3['cmd'],'routeKey':_0x5875a3['routeKey'],'leaveReq':_0x5875a3[_0xf7e05d(0x10f)]});default:throw new Error(_0xf7e05d(0x1f5));}}var Ys=Object[_0x23ae93(0x2f0)],Ks=(_0xc787ee,_0x1940d2,_0x5ec7c6,_0x3eb378)=>{for(var _0x2449dd=_0x3eb378>0x1?void 0x0:_0x3eb378?Ys(_0x1940d2,_0x5ec7c6):_0x1940d2,_0x45d03d=_0xc787ee['length']-0x1,_0x21a084;_0x45d03d>=0x0;_0x45d03d--)(_0x21a084=_0xc787ee[_0x45d03d])&&(_0x2449dd=_0x21a084(_0x2449dd)||_0x2449dd);return _0x2449dd;},ye=(_0xace13b,_0x447dca)=>(_0x500085,_0x31294a)=>_0x447dca(_0x500085,_0x31294a,_0xace13b);const Ri=_0x4dcc81(_0x23ae93(0x3ac));function qs(_0x5630bb,_0x591676,_0x369a0b){var _0x26f9c0=_0x23ae93;return _0x5630bb+'/'+_0x591676+_0x26f9c0(0x41a)+_0x369a0b+'/new_changes';}let Gt=class extends _0x2d9cd3{constructor(_0x547980,_0x33dbc2,_0x3dcbdb,_0x4625b7,_0x2d6355){var _0x302471=_0x23ae93;super(),this[_0x302471(0x345)]=_0x547980,this['_httpService']=_0x33dbc2,this['_configService']=_0x3dcbdb,this[_0x302471(0x413)]=_0x4625b7,this['_snapshotServerService']=_0x2d6355;}[_0x23ae93(0x2d1)](_0x5ea4ea){var _0x40d142=_0x23ae93;const _0x41d3a0=this[_0x40d142(0x345)][_0x40d142(0x2a6)](_0x146fce);if(!_0x41d3a0)throw new Error(_0x40d142(0x211));const _0xa3daf6=_0x41d3a0[_0x40d142(0x3b8)](_0x5ea4ea);if(!_0xa3daf6)throw new Error(_0x40d142(0x16e));const _0x2fbf8=new _0x588de7(),_0x5f4c93=new _0x4b6979();_0x2fbf8['add'](_0xa3daf6[_0x40d142(0x249)][_0x40d142(0x1f7)](_0x3ea3ea=>_0x5f4c93['next'](_0x3ea3ea))),_0x2fbf8[_0x40d142(0x40d)](_0x294255(()=>_0x5f4c93[_0x40d142(0x2dd)]()));const _0xbe5661=new _0x4b6979();_0x2fbf8['add'](_0xa3daf6[_0x40d142(0x18d)][_0x40d142(0x1f7)](_0x2012c8=>_0xbe5661[_0x40d142(0x418)](_0x2012c8))),_0x2fbf8[_0x40d142(0x40d)](_0x294255(()=>_0xbe5661[_0x40d142(0x2dd)]()));const _0x59809e=new _0x4b6979();_0x2fbf8[_0x40d142(0x40d)](_0xa3daf6[_0x40d142(0x140)][_0x40d142(0x1f7)](_0x136434=>{var _0x5b6b93=_0x40d142;const _0x48773d=Gs(_0x136434);_0x59809e[_0x5b6b93(0x418)](_0x48773d);})),_0x2fbf8['add'](_0x294255(()=>_0x59809e['complete']()));let _0x146c2c;const _0x4fb80a=()=>{var _0x3d205a=_0x40d142;_0xbe5661[_0x3d205a(0x418)](new Event(_0x3d205a(0x3cf))),_0x5f4c93[_0x3d205a(0x418)](new Event('connection\x20error')),_0x146c2c[_0x3d205a(0x367)]();};return _0x146c2c={'memberID':'','close$':_0x5f4c93[_0x40d142(0x240)](),'error$':_0xbe5661[_0x40d142(0x240)](),'open$':_0xa3daf6[_0x40d142(0x2b2)],'message$':_0x59809e['asObservable'](),'send':_0x4745d1=>{var _0x39fffa=_0x40d142;if(_0x4745d1[_0x39fffa(0x167)]===j['INGEST']){if(_0x4745d1[_0x39fffa(0x10f)]['eventID']===_0x2ea533[_0x39fffa(0x149)]){this[_0x39fffa(0x385)](_0x146c2c,_0x4745d1[_0x39fffa(0x10f)])[_0x39fffa(0x360)](_0x3716a6=>{var _0x7da0a9=_0x39fffa;this[_0x7da0a9(0x413)]['error'](_0x3716a6),_0x4fb80a();});return;}if(_0x4745d1[_0x39fffa(0x10f)][_0x39fffa(0x196)]===_0x2ea533['FETCH_MISSING']){const _0x549e49=_0x4745d1['data'];this['_fetchMissChangesets'](_0x549e49)['then'](_0x412f3e=>{var _0x3828fe=_0x39fffa;_0x59809e[_0x3828fe(0x418)]({'cmd':j[_0x3828fe(0x1e3)],'code':Ee['OK'],'routeKey':_0x549e49[_0x3828fe(0x10f)][_0x3828fe(0x10c)],'routeType':'','data':{'eventID':_0x2ea533[_0x3828fe(0x1ef)],'data':{'changesets':_0x412f3e}}});})['catch'](_0x8b0b07=>{var _0x2e0336=_0x39fffa;this['_logService'][_0x2e0336(0x14f)](_0x8b0b07),_0x4fb80a();});return;}}_0xa3daf6[_0x39fffa(0x2be)](Ws(_0x4745d1));},'close':()=>{var _0x21905b=_0x40d142;_0xa3daf6[_0x21905b(0x367)](),_0x2fbf8[_0x21905b(0x25e)]();}},_0x146c2c;}async['_submitChangeset'](_0x4c9d22,_0x1b82f4){var _0x38358a=_0x23ae93,_0x27964f;const {unitType:_0x3499d6,unitID:_0x354011,changeset:_0x5d04c2}=_0x1b82f4[_0x38358a(0x10f)],_0x3a099c={'unitID':_0x354011,'memberID':_0x4c9d22[_0x38358a(0x21a)],'type':_0x3499d6,'changeset':_0x596cce(_0x5d04c2)},_0x561693=this[_0x38358a(0x22f)][_0x38358a(0x380)](K),_0x54cd1c=qs((_0x27964f=_0x561693==null?void 0x0:_0x561693['collabSubmitChangesetUrl'])!=null?_0x27964f:Ns,_0x3499d6,_0x354011);try{await this[_0x38358a(0x2dc)]['post'](_0x54cd1c,{'body':_0x3a099c});}catch(_0x2610a1){throw this['_logService'][_0x38358a(0x14f)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x2610a1;}}async['_fetchMissChangesets'](_0x130ee2){var _0x2ca91d=_0x23ae93;const {unitID:_0x6e7d48,from:_0x32585f,to:_0x48b457,unitType:_0x23c73f}=_0x130ee2[_0x2ca91d(0x10f)];return(await this[_0x2ca91d(0x2cc)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x6e7d48,'type':_0x23c73f,'from':_0x32585f,'to':_0x48b457}))[_0x2ca91d(0x1a6)][_0x2ca91d(0x15a)](_0x448c6f=>((_0x448c6f[_0x2ca91d(0x331)]===null||_0x448c6f[_0x2ca91d(0x331)]===void 0x0)&&(_0x448c6f['mutations']=[]),_0x448c6f));}};Gt=Ks([ye(0x0,_0x35e039(_0xefc734)),ye(0x1,_0x35e039(_0x2cd902)),ye(0x2,_0x31c935),ye(0x3,_0x1e4e23),ye(0x4,_0xc11dd0)],Gt);var zs=Object[_0x23ae93(0x2f0)],Xs=(_0x14768d,_0x42b151,_0xfbc04c,_0x189ee8)=>{var _0xb5393e=_0x23ae93;for(var _0x3f650f=_0x189ee8>0x1?void 0x0:_0x189ee8?zs(_0x42b151,_0xfbc04c):_0x42b151,_0x394471=_0x14768d[_0xb5393e(0x2ca)]-0x1,_0x14c4a6;_0x394471>=0x0;_0x394471--)(_0x14c4a6=_0x14768d[_0x394471])&&(_0x3f650f=_0x14c4a6(_0x3f650f)||_0x3f650f);return _0x3f650f;},Re=(_0x519a99,_0x5c8e3d)=>(_0x3c5356,_0x44eb1b)=>_0x5c8e3d(_0x3c5356,_0x44eb1b,_0x519a99);let Le=class extends _0x2d9cd3{constructor(_0x43e8fe,_0x175c19,_0x12d708,_0x26bcd4,_0x16f4c3,_0x5ac9c1){var _0x3619b7=_0x23ae93;super(),D(this,_0x3619b7(0x378),new _0x2d0dd9(void 0x0)),D(this,_0x3619b7(0x33d),this['_socket$']['asObservable']()),D(this,_0x3619b7(0x368),null),D(this,_0x3619b7(0x2c6),new Map()),D(this,'_status$',new _0x2d0dd9(me[_0x3619b7(0x3a5)])),D(this,_0x3619b7(0x281),this['_status$']['asObservable']()),D(this,_0x3619b7(0x372),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x3619b7(0x321),0x0),D(this,_0x3619b7(0x17c)),D(this,_0x3619b7(0x2ea)),(this['_injector']=_0x43e8fe,this['_logService']=_0x175c19,this[_0x3619b7(0x22f)]=_0x12d708,this[_0x3619b7(0x144)]=_0x26bcd4,this[_0x3619b7(0x277)]=_0x16f4c3,this[_0x3619b7(0x2f1)]=_0x5ac9c1,this['_listenToNetworkCondition']());}get['_socket'](){var _0x406201=_0x23ae93;return this[_0x406201(0x378)][_0x406201(0x178)]();}[_0x23ae93(0x318)](){var _0x2c8273=_0x23ae93;this[_0x2c8273(0x2f1)]&&this[_0x2c8273(0x2e9)](this['_networkConditionService'][_0x2c8273(0x2e6)][_0x2c8273(0x1f7)](_0x1c50ca=>{var _0x382112=_0x2c8273;_0x1c50ca&&!this[_0x382112(0x313)]&&this[_0x382112(0x3a4)](),_0x1c50ca||this['_onOffline']();}));}[_0x23ae93(0x25e)](){var _0x3e7b8c=_0x23ae93;super[_0x3e7b8c(0x25e)](),this[_0x3e7b8c(0x234)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x3e7b8c(0x2c6)][_0x3e7b8c(0x10b)](_0x45a3fb=>_0x45a3fb[_0x3e7b8c(0x25e)]()),this[_0x3e7b8c(0x2c6)][_0x3e7b8c(0x38f)](),this['_status$'][_0x3e7b8c(0x2dd)]();}async[_0x23ae93(0x161)](_0x1ecf97){var _0x43fc6e=_0x23ae93;if(this[_0x43fc6e(0x2c6)][_0x43fc6e(0x2af)](_0x1ecf97))return this[_0x43fc6e(0x2c6)][_0x43fc6e(0x2a6)](_0x1ecf97);this['_tryEnsureSocket']();const _0x50434e=this[_0x43fc6e(0x345)][_0x43fc6e(0x232)](mt,_0x1ecf97,this[_0x43fc6e(0x378)]['asObservable']());return this['_sessions'][_0x43fc6e(0x37a)](_0x1ecf97,_0x50434e),_0x50434e;}[_0x23ae93(0x109)](_0x170803){var _0x34dee5=_0x23ae93,_0xf1928a;const _0xa35d6=this[_0x34dee5(0x2c6)][_0x34dee5(0x2a6)](_0x170803);_0xa35d6&&(this['_sessions']['delete'](_0x170803),_0xa35d6[_0x34dee5(0x367)]()),this[_0x34dee5(0x2c6)][_0x34dee5(0x284)]||(_0xf1928a=this['_socket'])==null||_0xf1928a[_0x34dee5(0x367)]();}[_0x23ae93(0x3a4)](){var _0x77d8c=_0x23ae93;this['_retryCount']=0x0,this[_0x77d8c(0x234)](),this[_0x77d8c(0x424)]();}['_clearRetryConnectingTimer'](){var _0x500502=_0x23ae93;this[_0x500502(0x402)]!=null&&(clearTimeout(this[_0x500502(0x402)]),this['_retryConnectingTimer']=null);}async[_0x23ae93(0x21c)](){var _0x184869=_0x23ae93,_0x1ec244;const _0x4e4827=this[_0x184869(0x22f)][_0x184869(0x380)](K),_0x19c96c=(_0x1ec244=_0x4e4827==null?void 0x0:_0x4e4827[_0x184869(0x2a5)])!=null?_0x1ec244:Is,_0x3c10f0=await this[_0x184869(0x144)][_0x184869(0x3b8)](_0x19c96c);return this[_0x184869(0x368)]=_0x3c10f0,_0x3c10f0;}async[_0x23ae93(0x310)](){var _0x1eb8a2=_0x23ae93,_0x49a43f,_0x27fd1c;try{const _0x47e69c=(_0x27fd1c=(_0x49a43f=this[_0x1eb8a2(0x313)])!=null?_0x49a43f:this[_0x1eb8a2(0x368)])!=null?_0x27fd1c:await this[_0x1eb8a2(0x21c)]();if(_0x47e69c){const _0x27f619=_0x47e69c[_0x1eb8a2(0x2be)];_0x47e69c['send']=_0x311d78=>(this[_0x1eb8a2(0x192)](),_0x27f619[_0x1eb8a2(0x293)](_0x47e69c,[_0x311d78])),_0x47e69c[_0x1eb8a2(0x140)]['subscribe'](_0x43c7da=>this[_0x1eb8a2(0x3ab)](_0x47e69c,_0x43c7da)),_0x47e69c[_0x1eb8a2(0x18d)]['pipe'](_0x1608f1(0x1))[_0x1eb8a2(0x1f7)](_0x5cbb3c=>this[_0x1eb8a2(0x413)][_0x1eb8a2(0x14f)](_0x1eb8a2(0x31b),_0x5cbb3c)),_0x47e69c[_0x1eb8a2(0x2b2)][_0x1eb8a2(0x20a)](_0x1608f1(0x1))[_0x1eb8a2(0x1f7)](()=>{var _0x46d445=_0x1eb8a2;this[_0x46d445(0x2f4)](_0x47e69c);}),_0x47e69c[_0x1eb8a2(0x249)][_0x1eb8a2(0x20a)](_0x1608f1(0x1))[_0x1eb8a2(0x1f7)](_0x4e8d98=>{var _0x284a93=_0x1eb8a2;this['_logService'][_0x284a93(0x2d7)](_0x284a93(0x120),_0x284a93(0x1ac),_0x4e8d98),this[_0x284a93(0x123)]();});}}catch(_0x504c4b){this[_0x1eb8a2(0x413)][_0x1eb8a2(0x14f)](_0x504c4b),this[_0x1eb8a2(0x123)]();}}[_0x23ae93(0x2f4)](_0x5a5810){var _0x125a38=_0x23ae93;this[_0x125a38(0x413)][_0x125a38(0x2d7)](_0x125a38(0x120),_0x125a38(0x220)),_0x5a5810[_0x125a38(0x2be)]({'cmd':j[_0x125a38(0x282)]}),this['_rescheduleHeartbeat']();}[_0x23ae93(0x13a)](){var _0x35cbfb=_0x23ae93;this['_socketReady']=!0x1,this[_0x35cbfb(0x368)]=null,this[_0x35cbfb(0x1a3)][_0x35cbfb(0x418)](me[_0x35cbfb(0x191)]),this['_socket$']['next'](null),this[_0x35cbfb(0x3bc)](),this[_0x35cbfb(0x2a4)]();}[_0x23ae93(0x123)](){var _0x556e03=_0x23ae93,_0x40ac8d;this['_onOffline'](),this[_0x556e03(0x321)]<((_0x40ac8d=this[_0x556e03(0x22f)]['getConfig'](Os))!=null?_0x40ac8d:Rs)?(this['_collaborationUIEventService'][_0x556e03(0x377)]({'id':re[_0x556e03(0x1bf)]}),this[_0x556e03(0x424)]()):this[_0x556e03(0x277)]['emitEvent']({'id':re[_0x556e03(0x27d)]});}[_0x23ae93(0x424)](){var _0x8a353b=_0x23ae93,_0x47ff8d;const _0x29573a=this[_0x8a353b(0x321)],_0x3adad2=this[_0x8a353b(0x22f)]['getConfig'](K),_0x3f4f86=_0x29573a===0x0?0x0:((_0x47ff8d=_0x3adad2==null?void 0x0:_0x3adad2[_0x8a353b(0x3ee)])!=null?_0x47ff8d:Ts)*0x2**_0x29573a;this[_0x8a353b(0x402)]=setTimeout(()=>{var _0x5abaae=_0x8a353b;clearTimeout(this[_0x5abaae(0x402)]),this[_0x5abaae(0x402)]=null,this[_0x5abaae(0x310)]();},_0x3f4f86),this[_0x8a353b(0x321)]+=0x1;}[_0x23ae93(0x3ab)](_0x4c2950,_0x56a2b3){var _0x203029=_0x23ae93;const {cmd:_0xb235a1}=_0x56a2b3;_0xb235a1===j[_0x203029(0x282)]&&!this[_0x203029(0x372)]&&(_0x4c2950['memberID']=_0x56a2b3[_0x203029(0x10f)]['memberID'],this[_0x203029(0x378)][_0x203029(0x418)](_0x4c2950),this[_0x203029(0x1a3)][_0x203029(0x418)](me[_0x203029(0x3ce)]),this['_socketReady']=!0x0,this[_0x203029(0x368)]=null),_0xb235a1===j[_0x203029(0x307)]&&this['_clearTimeoutTimer'](),this[_0x203029(0x192)]();}[_0x23ae93(0x192)](){var _0x335cab=_0x23ae93,_0x44dc0c;this[_0x335cab(0x2a4)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x335cab(0x2b1)](),(_0x44dc0c=this[_0x335cab(0x22f)][_0x335cab(0x380)](Ss))!=null?_0x44dc0c:gs);}[_0x23ae93(0x2b1)](){var _0x17bc26=_0x23ae93;this[_0x17bc26(0x313)]['send']({'cmd':j[_0x17bc26(0x307)]}),this['_waitForHeartbeatResponse']();}[_0x23ae93(0x115)](){var _0x16f2c9=_0x23ae93,_0x520805;this[_0x16f2c9(0x2ea)]=setTimeout(()=>this[_0x16f2c9(0x123)](),(_0x520805=this[_0x16f2c9(0x22f)][_0x16f2c9(0x380)](di))!=null?_0x520805:fi);}['_clearHeartbeatTimer'](){var _0x3757d3=_0x23ae93;this[_0x3757d3(0x17c)]!=null&&(clearTimeout(this[_0x3757d3(0x17c)]),this[_0x3757d3(0x17c)]=null);}['_clearTimeoutTimer'](){var _0x1e0908=_0x23ae93;this[_0x1e0908(0x2ea)]!=null&&(clearTimeout(this[_0x1e0908(0x2ea)]),this[_0x1e0908(0x2ea)]=null);}};Le=Xs([Re(0x0,_0x35e039(_0xefc734)),Re(0x1,_0x1e4e23),Re(0x2,_0x31c935),Re(0x3,Ri),Re(0x4,_0x35e039(ve)),Re(0x5,_0x3a44cd(Vs))],Le);var Js=Object[_0x23ae93(0x2f0)],Zs=(_0x24ad67,_0x2c5299,_0x587ba0,_0x4a010f)=>{var _0x4b1e9c=_0x23ae93;for(var _0x230bd8=_0x4a010f>0x1?void 0x0:_0x4a010f?Js(_0x2c5299,_0x587ba0):_0x2c5299,_0x919083=_0x24ad67[_0x4b1e9c(0x2ca)]-0x1,_0x4caf68;_0x919083>=0x0;_0x919083--)(_0x4caf68=_0x24ad67[_0x919083])&&(_0x230bd8=_0x4caf68(_0x230bd8)||_0x230bd8);return _0x230bd8;},Be=(_0x2ead8b,_0x5d30da)=>(_0x5b95de,_0x54b221)=>_0x5d30da(_0x5b95de,_0x54b221,_0x2ead8b);let nt=class extends _0x2d880a{constructor(_0x2e62bb,_0x154910,_0x5dadad,_0x232961){var _0x60a9d3=_0x23ae93,_0x2dc695;super(),D(this,_0x60a9d3(0x35a),new Map()),D(this,_0x60a9d3(0x18f),new _0x4b6979()),D(this,_0x60a9d3(0x124),this['_entityInit$'][_0x60a9d3(0x240)]()),(this[_0x60a9d3(0x345)]=_0x2e62bb,this[_0x60a9d3(0x1fa)]=_0x154910,this[_0x60a9d3(0x22f)]=_0x5dadad,this[_0x60a9d3(0x3a3)]=_0x232961,((_0x2dc695=this[_0x60a9d3(0x22f)][_0x60a9d3(0x380)](K))==null?void 0x0:_0x2dc695[_0x60a9d3(0x27c)])!==!0x1&&this[_0x60a9d3(0x3da)]());}[_0x23ae93(0x25e)](){var _0xa5afc7=_0x23ae93;super['dispose'](),this['_entities'][_0xa5afc7(0x10b)](_0x39fafd=>_0x39fafd['dispose']()),this[_0xa5afc7(0x35a)][_0xa5afc7(0x38f)]();}[_0x23ae93(0x329)](_0x4cc3e1){var _0x452439=_0x23ae93,_0x24e04e;return(_0x24e04e=this['_entities'][_0x452439(0x2a6)](_0x4cc3e1))!=null?_0x24e04e:null;}[_0x23ae93(0x38a)](_0x4b0887){var _0x289187=_0x23ae93;const _0x46e744=this[_0x289187(0x329)](_0x4b0887);return _0x46e744?_0x44cf90(_0x46e744):this['_entityInit$'][_0x289187(0x20a)](_0x6c24f(_0x1c822b=>_0x1c822b[_0x289187(0x10c)]===_0x4b0887));}[_0x23ae93(0x303)](_0x1c0006){var _0x41b8a7=_0x23ae93;return _0x17e89b(this[_0x41b8a7(0x38a)](_0x1c0006)[_0x41b8a7(0x20a)](_0x1fc977(()=>{})));}[_0x23ae93(0x3da)](){var _0x2a63ec=_0x23ae93;this['_univerInstanceService'][_0x2a63ec(0x2c8)](_0x22b478[_0x2a63ec(0x182)])['pipe'](_0x21b075(this['dispose$']),_0x2f0844(0x10))['subscribe'](async _0x427459=>{var _0x40fa97=_0x2a63ec;const _0x4ee0ba=_0x427459[_0x40fa97(0x150)](),_0x58aa9f=await this[_0x40fa97(0x1eb)](_0x4ee0ba,Q[_0x40fa97(0x182)]);this[_0x40fa97(0x35a)][_0x40fa97(0x37a)](_0x4ee0ba,_0x58aa9f);}),this[_0x2a63ec(0x3a3)]['getTypeOfUnitAdded$'](_0x22b478['UNIVER_DOC'])['pipe'](_0x21b075(this[_0x2a63ec(0x14c)]),_0x2f0844(0x10))[_0x2a63ec(0x20a)](_0x6c24f(_0x426cc4=>!_0x426cc4[_0x2a63ec(0x150)]()[_0x2a63ec(0x3e2)]('__')))[_0x2a63ec(0x1f7)](async _0x3f9497=>{var _0x29c00d=_0x2a63ec;const _0x7605ca=_0x3f9497[_0x29c00d(0x150)](),_0x152776=await this[_0x29c00d(0x1eb)](_0x7605ca,Q[_0x29c00d(0x261)]);this[_0x29c00d(0x35a)][_0x29c00d(0x37a)](_0x7605ca,_0x152776);}),_0x1ec902(this[_0x2a63ec(0x3a3)][_0x2a63ec(0x3b2)](_0x22b478[_0x2a63ec(0x182)]),this[_0x2a63ec(0x3a3)][_0x2a63ec(0x3b2)](_0x22b478[_0x2a63ec(0x261)]))[_0x2a63ec(0x20a)](_0x21b075(this['dispose$']))[_0x2a63ec(0x1f7)](_0x2decf0=>{var _0x56b8ec=_0x2a63ec;const _0x2230f5=_0x2decf0[_0x56b8ec(0x150)](),_0xeeb2e6=this[_0x56b8ec(0x35a)][_0x56b8ec(0x2a6)](_0x2230f5);_0xeeb2e6&&(_0xeeb2e6[_0x56b8ec(0x25e)](),this[_0x56b8ec(0x35a)][_0x56b8ec(0x3bd)](_0x2230f5));});}async[_0x23ae93(0x1eb)](_0x4570d0,_0x4a66ac){var _0x7bfbd5=_0x23ae93;const _0x400ea3=await this[_0x7bfbd5(0x1fa)]['requireSession'](_0x4570d0),_0x4b1047=this[_0x7bfbd5(0x345)][_0x7bfbd5(0x232)](this[_0x7bfbd5(0x1d9)](_0x4a66ac),_0x4570d0,_0x4a66ac,_0x400ea3);return await _0x4b1047['init'](),this[_0x7bfbd5(0x18f)][_0x7bfbd5(0x418)](_0x4b1047),_0x4b1047;}[_0x23ae93(0x1d9)](_0xe6243c){var _0x52d50b=_0x23ae93;switch(_0xe6243c){case Q[_0x52d50b(0x261)]:return It;case Q[_0x52d50b(0x182)]:return St;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xe6243c);}}};nt=Zs([Be(0x0,_0x35e039(_0xefc734)),Be(0x1,_0x35e039(Le)),Be(0x2,_0x31c935),Be(0x3,_0x1437e0)],nt);var Qs=Object['getOwnPropertyDescriptor'],en=(_0x21a85d,_0xee414c,_0x67dd6f,_0x40513a)=>{var _0x4a64cc=_0x23ae93;for(var _0x16da74=_0x40513a>0x1?void 0x0:_0x40513a?Qs(_0xee414c,_0x67dd6f):_0xee414c,_0x29ca9a=_0x21a85d[_0x4a64cc(0x2ca)]-0x1,_0x21799e;_0x29ca9a>=0x0;_0x29ca9a--)(_0x21799e=_0x21a85d[_0x29ca9a])&&(_0x16da74=_0x21799e(_0x16da74)||_0x16da74);return _0x16da74;},Wt=(_0x26eb9a,_0x23deda)=>(_0x365fed,_0x4375f2)=>_0x23deda(_0x365fed,_0x4375f2,_0x26eb9a);const tn=_0x23ae93(0x23c),sn='Univer';let gt=class extends _0x2d9cd3{constructor(_0x1ea1a4,_0x512b98){var _0x468720=_0x23ae93;super(),this[_0x468720(0x3a3)]=_0x1ea1a4,this[_0x468720(0x22f)]=_0x512b98,this[_0x468720(0x3da)]();}['_init'](){var _0x459342=_0x23ae93;this[_0x459342(0x2e9)](this[_0x459342(0x3a3)][_0x459342(0x1cc)]['subscribe'](()=>{var _0x2efab4=_0x459342,_0x123378;const _0x246a82=this[_0x2efab4(0x3a3)][_0x2efab4(0x311)]();let _0x18a374=(_0x123378=this['_configService'][_0x2efab4(0x380)](tn))!=null?_0x123378:sn;_0x246a82 instanceof _0xbe02e3&&(_0x18a374=_0x246a82[_0x2efab4(0x3c0)]),document[_0x2efab4(0x26c)]=_0x18a374;}));}};gt=en([Wt(0x0,_0x1437e0),Wt(0x1,_0x31c935)],gt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x8de4fa,_0x24f220,_0x573953,_0x1f8050)=>{var _0x20a3e4=_0x23ae93;for(var _0x5885b7=_0x1f8050>0x1?void 0x0:_0x1f8050?nn(_0x24f220,_0x573953):_0x24f220,_0x59c401=_0x8de4fa[_0x20a3e4(0x2ca)]-0x1,_0x51c981;_0x59c401>=0x0;_0x59c401--)(_0x51c981=_0x8de4fa[_0x59c401])&&(_0x5885b7=_0x51c981(_0x5885b7)||_0x5885b7);return _0x5885b7;},dt=(_0x6a3d99,_0x53bcc5)=>(_0x1daa78,_0x287c42)=>_0x53bcc5(_0x1daa78,_0x287c42,_0x6a3d99);let rt=class{constructor(_0x1aad90,_0x187f13,_0x3e7c43){var _0x21a248=_0x23ae93;this[_0x21a248(0x22f)]=_0x1aad90,this[_0x21a248(0x2dc)]=_0x187f13,this[_0x21a248(0x2ae)]=_0x3e7c43,this[_0x21a248(0x2c1)]();}[_0x23ae93(0x2c1)](){var _0x12b024=_0x23ae93;this[_0x12b024(0x2dc)][_0x12b024(0x40c)]({'priority':0x1,'interceptor':(_0x847764,_0x24bfc9)=>_0x24bfc9(_0x847764)[_0x12b024(0x20a)](_0x3e729d(async _0x56ed25=>{var _0x55b50e=_0x12b024;const _0x4b1a4c=_0x56ed25;if(_0x4b1a4c[_0x55b50e(0x170)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x55b50e(0x12f)](this[_0x55b50e(0x2ae)]['t'](_0x55b50e(0x1c6)))){const _0x230475=window[_0x55b50e(0x412)](window[_0x55b50e(0x32a)][_0x55b50e(0x328)]);window[_0x55b50e(0x32a)]['href']=this['_getLoginPath']()+_0x55b50e(0x309)+_0x230475;}}return _0x4b1a4c;}))});}[_0x23ae93(0x273)](){var _0x4079b4=_0x23ae93,_0x535132;const _0x465028=this[_0x4079b4(0x22f)]['getConfig'](K);return(_0x535132=_0x465028==null?void 0x0:_0x465028[_0x4079b4(0x3e4)])!=null?_0x535132:Cs;}};rt=rn([dt(0x0,_0x31c935),dt(0x1,_0x35e039(_0x2cd902)),dt(0x2,_0x35e039(_0xaff562))],rt);var an=Object['getOwnPropertyDescriptor'],on=(_0x35d726,_0x41621f,_0x4d3ba0,_0x1f4121)=>{var _0x194794=_0x23ae93;for(var _0x4c9bf0=_0x1f4121>0x1?void 0x0:_0x1f4121?an(_0x41621f,_0x4d3ba0):_0x41621f,_0x20a9f9=_0x35d726[_0x194794(0x2ca)]-0x1,_0x309dc5;_0x20a9f9>=0x0;_0x20a9f9--)(_0x309dc5=_0x35d726[_0x20a9f9])&&(_0x4c9bf0=_0x309dc5(_0x4c9bf0)||_0x4c9bf0);return _0x4c9bf0;},Yt=(_0x31bc96,_0xdabaad)=>(_0x14b0d0,_0x5b9fbd)=>_0xdabaad(_0x14b0d0,_0x5b9fbd,_0x31bc96);const cn=_0x23ae93(0x3b5);let Tt=class extends _0x2d9cd3{constructor(_0x289128,_0x5742b3){var _0x3e2f08=_0x23ae93;super(),this[_0x3e2f08(0x16d)]=_0x289128,this[_0x3e2f08(0x22f)]=_0x5742b3,this[_0x3e2f08(0x3fb)]();}[_0x23ae93(0x3fb)](){var _0x30b1d2=_0x23ae93;const _0x5435c4=this;this[_0x30b1d2(0x2e9)](this[_0x30b1d2(0x16d)][_0x30b1d2(0x40c)]({'priority':0x3e7,'interceptor':_0x4de83e({'isMatch'(_0xe78bf7){var _0x144895=_0x30b1d2,_0x3618ce;if(_0xe78bf7[_0x144895(0x1fe)]===_0x144895(0x256)&&((_0x3618ce=_0xe78bf7['requestParams'])!=null&&_0x3618ce[_0x144895(0x235)])){const {objectID:_0x1167f9,objectType:_0x1a9e4a}=_0xe78bf7[_0x144895(0x28b)][_0x144895(0x235)]||{};if(!_0x1167f9||_0x1a9e4a===void 0x0)return!0x1;const _0x3fd0cd=_0x5435c4[_0x144895(0x250)]()+'/'+_0x1a9e4a+_0x144895(0x32d)+_0x1167f9+_0x144895(0x131);if(_0xe78bf7['url']===_0x3fd0cd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x509c27){var _0x570904=_0x30b1d2,_0x480b98;return(_0x480b98=_0x509c27[_0x570904(0x28b)])==null?void 0x0:_0x480b98[_0x570904(0x235)];},'mergeParamsToRequest'(_0x47b690,_0x30cd1b){var _0xfa186c=_0x30b1d2;const _0x2944ea=_0x5435c4['_getAPIPrefixPath']()+_0xfa186c(0x2bc),_0x216c76=_0x47b690[_0xfa186c(0x2e0)]((_0x343983,_0x41433c)=>{var _0x368155=_0xfa186c;const {unitID:_0x22e5c6,objectID:_0x2e72de,objectType:_0x3bd6df,actions:_0x1b60f6}=_0x41433c;return _0x343983[_0x22e5c6]||(_0x343983[_0x22e5c6]={}),_0x343983[_0x22e5c6][_0x2e72de]||(_0x343983[_0x22e5c6][_0x2e72de]={'objectID':_0x2e72de,'objectType':_0x3bd6df,'actions':[]}),_0x343983[_0x22e5c6][_0x2e72de]['actions'][_0x368155(0x1b8)](..._0x1b60f6),_0x343983;},{}),_0x317340=[];for(const _0xcbe440 in _0x216c76)for(const _0x3e2347 in _0x216c76[_0xcbe440]){const {actions:_0x25f9ec,objectType:_0x52cccd}=_0x216c76[_0xcbe440][_0x3e2347],_0x1f430f=[...new Set(_0x25f9ec)];_0x317340[_0xfa186c(0x1b8)]({'unitID':_0xcbe440,'objectID':_0x3e2347,'objectType':_0x52cccd,'actions':_0x1f430f});}return new _0x44edf0(_0xfa186c(0x256),_0x2944ea,{'headers':_0x30cd1b['headers'],'withCredentials':_0x30cd1b[_0xfa186c(0x1e8)],'responseType':_0x30cd1b['responseType'],'body':{'requests':_0x317340}});}},{'distributeResult'(_0x27dde4,_0xa6e8d3){var _0x3638d3=_0x30b1d2;const {objectActions:_0xa8ffa5}=_0x27dde4;return _0xa6e8d3[_0x3638d3(0x15a)](_0x5258b0=>{var _0x5bc55f=_0x3638d3;const {unitID:_0x158157,objectID:_0x4c44c9,actions:_0x56d703}=_0x5258b0,_0x26dbe4=_0xa8ffa5[_0x5bc55f(0x224)](_0x595327=>_0x595327[_0x5bc55f(0x10c)]===_0x158157&&_0x595327[_0x5bc55f(0x19b)]===_0x4c44c9),_0x54f294=_0x56d703['map'](_0x45939a=>_0x26dbe4==null?void 0x0:_0x26dbe4[_0x5bc55f(0x336)][_0x5bc55f(0x224)](_0x19f29b=>_0x19f29b[_0x5bc55f(0x356)]===_0x45939a))[_0x5bc55f(0x314)](_0x3fde8f=>!!_0x3fde8f);return{'config':_0x5258b0,'result':{'actions':_0x54f294,'error':_0x27dde4['error']}};});}})}));}[_0x23ae93(0x250)](){var _0x20427e=_0x23ae93,_0x449691;const _0x560df6=this[_0x20427e(0x22f)][_0x20427e(0x380)](K);return(_0x449691=_0x560df6==null?void 0x0:_0x560df6[_0x20427e(0x186)])!=null?_0x449691:cn;}async[_0x23ae93(0x113)](_0x244ead){var _0x55c2ea=_0x23ae93;const _0x5b6ee0=this['_getAPIPrefixPath']()+'/'+_0x244ead[_0x55c2ea(0x1d6)]+'/object';return(await this[_0x55c2ea(0x16d)]['post'](_0x5b6ee0,{'body':_0x244ead}))['body'][_0x55c2ea(0x19b)]||'';}async[_0x23ae93(0x1bb)](_0x14a3dd){var _0x57c8f8=_0x23ae93;const _0x25441e=this[_0x57c8f8(0x250)]()+_0x57c8f8(0x2c9);return(await this[_0x57c8f8(0x16d)]['post'](_0x25441e,{'body':_0x14a3dd}))[_0x57c8f8(0x235)][_0x57c8f8(0x279)];}async[_0x23ae93(0x3fa)](_0x42d0ce){var _0x55af51=_0x23ae93,_0x19f7aa,_0x355d3d;const _0x370efa=this[_0x55af51(0x250)]()+'/'+_0x42d0ce[_0x55af51(0x1d6)]+_0x55af51(0x32d)+_0x42d0ce[_0x55af51(0x19b)],_0x5bbb3b=await this[_0x55af51(0x16d)][_0x55af51(0x2e5)](_0x370efa,{'body':_0x42d0ce});if(((_0x355d3d=(_0x19f7aa=_0x5bbb3b==null?void 0x0:_0x5bbb3b['body'])==null?void 0x0:_0x19f7aa[_0x55af51(0x14f)])==null?void 0x0:_0x355d3d[_0x55af51(0x35b)])!==0x1)throw new Error(_0x55af51(0x3b6));}async[_0x23ae93(0x271)](_0x457ce1){var _0xf8c849=_0x23ae93;const _0x227c96=this['_getAPIPrefixPath']()+'/'+_0x457ce1[_0xf8c849(0x1d6)]+_0xf8c849(0x32d)+_0x457ce1[_0xf8c849(0x19b)]+'/allowed';return(await this[_0xf8c849(0x16d)][_0xf8c849(0x2d0)](_0x227c96,{'body':_0x457ce1}))[_0xf8c849(0x235)][_0xf8c849(0x336)];}async['batchAllowed'](_0x45a205){var _0x6f9843=_0x23ae93;const _0x251ee4=this[_0x6f9843(0x250)]()+_0x6f9843(0x2bc);return(await this[_0x6f9843(0x16d)]['post'](_0x251ee4,{'body':{'requests':_0x45a205}}))[_0x6f9843(0x235)][_0x6f9843(0x1c7)];}async[_0x23ae93(0x162)](_0x31b250){var _0x27120d=_0x23ae93;const _0x112cca=this[_0x27120d(0x250)]()+'/'+_0x31b250[_0x27120d(0x1d6)]+_0x27120d(0x253),_0x2992b7=await this[_0x27120d(0x16d)]['post'](_0x112cca,{'body':_0x31b250});return{'roles':_0x2992b7['body'][_0x27120d(0x14a)],'actions':_0x2992b7[_0x27120d(0x235)][_0x27120d(0x336)]};}async[_0x23ae93(0x324)](_0x2e7fa9){var _0x3db8c6=_0x23ae93;const _0x1085ef=this[_0x3db8c6(0x250)]()+_0x3db8c6(0x1de);await this[_0x3db8c6(0x16d)][_0x3db8c6(0x3bd)](_0x1085ef,{'params':{'collaboratorID':_0x2e7fa9[_0x3db8c6(0x374)],'objectID':_0x2e7fa9[_0x3db8c6(0x19b)],'unitID':_0x2e7fa9[_0x3db8c6(0x10c)]}});}async['updateCollaborator'](_0x243043){var _0x54da31=_0x23ae93;const _0xc32937=this['_getAPIPrefixPath']()+_0x54da31(0x1de);await this[_0x54da31(0x16d)][_0x54da31(0x3f3)](_0xc32937,{'body':_0x243043});}async['createCollaborator'](_0x4a6f12){var _0x4c7e35=_0x23ae93;const _0x39b25f=this[_0x4c7e35(0x250)]()+_0x4c7e35(0x1de);await this[_0x4c7e35(0x16d)][_0x4c7e35(0x2d0)](_0x39b25f,{'body':_0x4a6f12});}async[_0x23ae93(0x36e)](_0x69ea63){var _0x43c0ff=_0x23ae93;const _0x317b3d=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x43c0ff(0x2a6)](_0x317b3d,{'params':{'objectID':_0x69ea63[_0x43c0ff(0x19b)],'unitID':_0x69ea63[_0x43c0ff(0x10c)]}}))['body'][_0x43c0ff(0x3c9)];}async['putCollaborators'](_0x5e97dd){var _0x940eb1=_0x23ae93;const _0x21be25=this[_0x940eb1(0x250)]()+_0x940eb1(0x1de);await this[_0x940eb1(0x16d)]['put'](_0x21be25,{'body':_0x5e97dd});}};Tt=on([Yt(0x0,_0x35e039(_0x2cd902)),Yt(0x1,_0x35e039(_0x31c935))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x348336){var _0x2cae98=_0x23ae93;return _0x348336&&_0x348336[_0x2cae98(0x2d9)]&&Object[_0x2cae98(0x2f3)][_0x2cae98(0x265)]['call'](_0x348336,'default')?_0x348336['default']:_0x348336;}var Ve={'exports':{}};function _n(_0x13d0ad){var _0x5bc9c8=_0x23ae93;throw new Error(_0x5bc9c8(0x335)+_0x13d0ad+_0x5bc9c8(0x24e));}var Ge={'exports':{}},hn=Ge[_0x23ae93(0x197)],Kt;function ie(){var _0x2b7c7d=_0x23ae93;return Kt||(Kt=0x1,function(_0x475de5,_0xa08cdf){(function(_0x447c2f,_0x59038b){var _0x18e127=_0x97e6;_0x475de5[_0x18e127(0x197)]=_0x59038b();}(hn,function(){var _0x2dc860=_0x2dc860||function(_0x3a135f,_0x3ed140){var _0xce3703=_0x97e6,_0x48bcc3;if(typeof window<'u'&&window['crypto']&&(_0x48bcc3=window[_0xce3703(0x414)]),typeof self<'u'&&self[_0xce3703(0x414)]&&(_0x48bcc3=self[_0xce3703(0x414)]),typeof globalThis<'u'&&globalThis[_0xce3703(0x414)]&&(_0x48bcc3=globalThis[_0xce3703(0x414)]),!_0x48bcc3&&typeof window<'u'&&window[_0xce3703(0x21e)]&&(_0x48bcc3=window['msCrypto']),!_0x48bcc3&&typeof ft<'u'&&ft[_0xce3703(0x414)]&&(_0x48bcc3=ft[_0xce3703(0x414)]),!_0x48bcc3&&typeof _n=='function')try{_0x48bcc3=require('crypto');}catch{}var _0xe75fe9=function(){var _0x1598bc=_0xce3703;if(_0x48bcc3){if(typeof _0x48bcc3[_0x1598bc(0x20d)]==_0x1598bc(0x175))try{return _0x48bcc3[_0x1598bc(0x20d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x48bcc3['randomBytes']==_0x1598bc(0x175))try{return _0x48bcc3['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1598bc(0x289));},_0x1fd166=Object[_0xce3703(0x113)]||(function(){function _0x573984(){}return function(_0x3ebb9c){var _0x1ab54c=_0x97e6,_0x3bbe9e;return _0x573984[_0x1ab54c(0x2f3)]=_0x3ebb9c,_0x3bbe9e=new _0x573984(),_0x573984[_0x1ab54c(0x2f3)]=null,_0x3bbe9e;};}()),_0x4dd9b6={},_0x16374b=_0x4dd9b6[_0xce3703(0x2fa)]={},_0x1c98be=_0x16374b[_0xce3703(0x3dd)]=(function(){return{'extend':function(_0x358d55){var _0x3afcf8=_0x97e6,_0x4ff79b=_0x1fd166(this);return _0x358d55&&_0x4ff79b['mixIn'](_0x358d55),(!_0x4ff79b['hasOwnProperty']('init')||this[_0x3afcf8(0x2c1)]===_0x4ff79b[_0x3afcf8(0x2c1)])&&(_0x4ff79b[_0x3afcf8(0x2c1)]=function(){var _0x39bcac=_0x3afcf8;_0x4ff79b[_0x39bcac(0x2cd)][_0x39bcac(0x2c1)][_0x39bcac(0x293)](this,arguments);}),_0x4ff79b['init']['prototype']=_0x4ff79b,_0x4ff79b[_0x3afcf8(0x2cd)]=this,_0x4ff79b;},'create':function(){var _0x568a9d=_0x97e6,_0x39c02d=this[_0x568a9d(0x1a0)]();return _0x39c02d['init']['apply'](_0x39c02d,arguments),_0x39c02d;},'init':function(){},'mixIn':function(_0x5e9371){var _0x31a94b=_0x97e6;for(var _0x2099cb in _0x5e9371)_0x5e9371[_0x31a94b(0x265)](_0x2099cb)&&(this[_0x2099cb]=_0x5e9371[_0x2099cb]);_0x5e9371[_0x31a94b(0x265)](_0x31a94b(0x1ea))&&(this['toString']=_0x5e9371['toString']);},'clone':function(){var _0x2339c3=_0x97e6;return this[_0x2339c3(0x2c1)]['prototype']['extend'](this);}};}()),_0x5e9471=_0x16374b['WordArray']=_0x1c98be[_0xce3703(0x1a0)]({'init':function(_0x14033e,_0x1690ba){var _0xb33d13=_0xce3703;_0x14033e=this[_0xb33d13(0x163)]=_0x14033e||[],_0x1690ba!=_0x3ed140?this[_0xb33d13(0x1b3)]=_0x1690ba:this[_0xb33d13(0x1b3)]=_0x14033e['length']*0x4;},'toString':function(_0x550f32){return(_0x550f32||_0x523c23)['stringify'](this);},'concat':function(_0x3b0d6b){var _0x4e6e23=_0xce3703,_0x24d60f=this[_0x4e6e23(0x163)],_0x2119a5=_0x3b0d6b['words'],_0x2d101e=this[_0x4e6e23(0x1b3)],_0x54c516=_0x3b0d6b[_0x4e6e23(0x1b3)];if(this[_0x4e6e23(0x2a0)](),_0x2d101e%0x4)for(var _0x190b00=0x0;_0x190b00<_0x54c516;_0x190b00++){var _0x150c2d=_0x2119a5[_0x190b00>>>0x2]>>>0x18-_0x190b00%0x4*0x8&0xff;_0x24d60f[_0x2d101e+_0x190b00>>>0x2]|=_0x150c2d<<0x18-(_0x2d101e+_0x190b00)%0x4*0x8;}else{for(var _0x1e6c5f=0x0;_0x1e6c5f<_0x54c516;_0x1e6c5f+=0x4)_0x24d60f[_0x2d101e+_0x1e6c5f>>>0x2]=_0x2119a5[_0x1e6c5f>>>0x2];}return this[_0x4e6e23(0x1b3)]+=_0x54c516,this;},'clamp':function(){var _0x56a23f=_0xce3703,_0x4d6226=this[_0x56a23f(0x163)],_0x11f0e6=this[_0x56a23f(0x1b3)];_0x4d6226[_0x11f0e6>>>0x2]&=0xffffffff<<0x20-_0x11f0e6%0x4*0x8,_0x4d6226[_0x56a23f(0x2ca)]=_0x3a135f[_0x56a23f(0x290)](_0x11f0e6/0x4);},'clone':function(){var _0x41e1a2=_0xce3703,_0x3fb0a6=_0x1c98be[_0x41e1a2(0x260)][_0x41e1a2(0x179)](this);return _0x3fb0a6[_0x41e1a2(0x163)]=this[_0x41e1a2(0x163)][_0x41e1a2(0x352)](0x0),_0x3fb0a6;},'random':function(_0x42f0ed){var _0x4f60a6=_0xce3703;for(var _0x5082f8=[],_0x1c67a9=0x0;_0x1c67a9<_0x42f0ed;_0x1c67a9+=0x4)_0x5082f8['push'](_0xe75fe9());return new _0x5e9471[(_0x4f60a6(0x2c1))](_0x5082f8,_0x42f0ed);}}),_0x4d1b8e=_0x4dd9b6[_0xce3703(0x285)]={},_0x523c23=_0x4d1b8e[_0xce3703(0x2e8)]={'stringify':function(_0x2c17f0){var _0x3d0a1c=_0xce3703;for(var _0x32b210=_0x2c17f0[_0x3d0a1c(0x163)],_0x480765=_0x2c17f0[_0x3d0a1c(0x1b3)],_0x21d91b=[],_0x4b34f3=0x0;_0x4b34f3<_0x480765;_0x4b34f3++){var _0x98ad5e=_0x32b210[_0x4b34f3>>>0x2]>>>0x18-_0x4b34f3%0x4*0x8&0xff;_0x21d91b[_0x3d0a1c(0x1b8)]((_0x98ad5e>>>0x4)[_0x3d0a1c(0x1ea)](0x10)),_0x21d91b[_0x3d0a1c(0x1b8)]((_0x98ad5e&0xf)[_0x3d0a1c(0x1ea)](0x10));}return _0x21d91b['join']('');},'parse':function(_0x203256){var _0x82830=_0xce3703;for(var _0x4df4c4=_0x203256[_0x82830(0x2ca)],_0x44f8e2=[],_0x166052=0x0;_0x166052<_0x4df4c4;_0x166052+=0x2)_0x44f8e2[_0x166052>>>0x3]|=parseInt(_0x203256[_0x82830(0x2a9)](_0x166052,0x2),0x10)<<0x18-_0x166052%0x8*0x4;return new _0x5e9471[(_0x82830(0x2c1))](_0x44f8e2,_0x4df4c4/0x2);}},_0xc6a029=_0x4d1b8e[_0xce3703(0x3c1)]={'stringify':function(_0x1b5bb5){var _0x4c95f2=_0xce3703;for(var _0x32b8fd=_0x1b5bb5[_0x4c95f2(0x163)],_0x5422e6=_0x1b5bb5['sigBytes'],_0x5c1da6=[],_0x35849d=0x0;_0x35849d<_0x5422e6;_0x35849d++){var _0x264511=_0x32b8fd[_0x35849d>>>0x2]>>>0x18-_0x35849d%0x4*0x8&0xff;_0x5c1da6[_0x4c95f2(0x1b8)](String[_0x4c95f2(0x2a2)](_0x264511));}return _0x5c1da6[_0x4c95f2(0x291)]('');},'parse':function(_0x5a8579){var _0x2fe6fe=_0xce3703;for(var _0x221620=_0x5a8579['length'],_0x397974=[],_0x3cd59b=0x0;_0x3cd59b<_0x221620;_0x3cd59b++)_0x397974[_0x3cd59b>>>0x2]|=(_0x5a8579[_0x2fe6fe(0x2e3)](_0x3cd59b)&0xff)<<0x18-_0x3cd59b%0x4*0x8;return new _0x5e9471[(_0x2fe6fe(0x2c1))](_0x397974,_0x221620);}},_0x25c3b9=_0x4d1b8e['Utf8']={'stringify':function(_0x2b3aaf){var _0x56cda2=_0xce3703;try{return decodeURIComponent(escape(_0xc6a029['stringify'](_0x2b3aaf)));}catch{throw new Error(_0x56cda2(0x2d5));}},'parse':function(_0x4caf7c){return _0xc6a029['parse'](unescape(encodeURIComponent(_0x4caf7c)));}},_0x426fac=_0x16374b['BufferedBlockAlgorithm']=_0x1c98be[_0xce3703(0x1a0)]({'reset':function(){var _0x5ac9b9=_0xce3703;this['_data']=new _0x5e9471[(_0x5ac9b9(0x2c1))](),this['_nDataBytes']=0x0;},'_append':function(_0x3f6c35){var _0x526a64=_0xce3703;typeof _0x3f6c35==_0x526a64(0x241)&&(_0x3f6c35=_0x25c3b9[_0x526a64(0x326)](_0x3f6c35)),this['_data'][_0x526a64(0x2b9)](_0x3f6c35),this[_0x526a64(0x346)]+=_0x3f6c35[_0x526a64(0x1b3)];},'_process':function(_0x4ab033){var _0x16308d=_0xce3703,_0x3bd196,_0x5c2a80=this['_data'],_0x2c7114=_0x5c2a80[_0x16308d(0x163)],_0x7f8599=_0x5c2a80['sigBytes'],_0x5d55e1=this[_0x16308d(0x3ae)],_0x5e5b90=_0x5d55e1*0x4,_0x587660=_0x7f8599/_0x5e5b90;_0x4ab033?_0x587660=_0x3a135f[_0x16308d(0x290)](_0x587660):_0x587660=_0x3a135f[_0x16308d(0x20f)]((_0x587660|0x0)-this[_0x16308d(0x3e1)],0x0);var _0x21f994=_0x587660*_0x5d55e1,_0x5edab7=_0x3a135f[_0x16308d(0x1f0)](_0x21f994*0x4,_0x7f8599);if(_0x21f994){for(var _0xfc0549=0x0;_0xfc0549<_0x21f994;_0xfc0549+=_0x5d55e1)this[_0x16308d(0x1d4)](_0x2c7114,_0xfc0549);_0x3bd196=_0x2c7114['splice'](0x0,_0x21f994),_0x5c2a80[_0x16308d(0x1b3)]-=_0x5edab7;}return new _0x5e9471[(_0x16308d(0x2c1))](_0x3bd196,_0x5edab7);},'clone':function(){var _0x531094=_0xce3703,_0x2f9270=_0x1c98be['clone']['call'](this);return _0x2f9270['_data']=this[_0x531094(0x27b)][_0x531094(0x260)](),_0x2f9270;},'_minBufferSize':0x0});_0x16374b[_0xce3703(0x332)]=_0x426fac[_0xce3703(0x1a0)]({'cfg':_0x1c98be['extend'](),'init':function(_0x316311){var _0x1ee222=_0xce3703;this[_0x1ee222(0x388)]=this[_0x1ee222(0x388)][_0x1ee222(0x1a0)](_0x316311),this[_0x1ee222(0x117)]();},'reset':function(){var _0x25907f=_0xce3703;_0x426fac[_0x25907f(0x117)][_0x25907f(0x179)](this),this[_0x25907f(0x3cd)]();},'update':function(_0x2e99b7){var _0x32caca=_0xce3703;return this[_0x32caca(0x41f)](_0x2e99b7),this['_process'](),this;},'finalize':function(_0x3870d2){var _0x209385=_0xce3703;_0x3870d2&&this[_0x209385(0x41f)](_0x3870d2);var _0x5899f5=this[_0x209385(0x317)]();return _0x5899f5;},'blockSize':0x10,'_createHelper':function(_0x6cf0e2){return function(_0xc8ac1e,_0x264ba2){var _0x392939=_0x97e6;return new _0x6cf0e2[(_0x392939(0x2c1))](_0x264ba2)[_0x392939(0x2ac)](_0xc8ac1e);};},'_createHmacHelper':function(_0x5d8a83){return function(_0xaa83d8,_0x1b1710){var _0x41a1e9=_0x97e6;return new _0x11075e[(_0x41a1e9(0x270))][(_0x41a1e9(0x2c1))](_0x5d8a83,_0x1b1710)[_0x41a1e9(0x2ac)](_0xaa83d8);};}});var _0x11075e=_0x4dd9b6[_0xce3703(0x296)]={};return _0x4dd9b6;}(Math);return _0x2dc860;}));}(Ge)),Ge[_0x2b7c7d(0x197)];}var We={'exports':{}},ln=We[_0x23ae93(0x197)],qt;function Ni(){var _0x579878=_0x23ae93;return qt||(qt=0x1,function(_0x60856f,_0x264c8a){(function(_0x525e9b,_0x342a9c){var _0x55c078=_0x97e6;_0x60856f[_0x55c078(0x197)]=_0x342a9c(ie());}(ln,function(_0x300146){var _0x5718a1=_0x97e6;return(function(){var _0x504558=_0x97e6,_0x5cbcee=_0x300146,_0x106092=_0x5cbcee[_0x504558(0x2fa)],_0x4b6fd5=_0x106092[_0x504558(0x36a)],_0xb908cb=_0x5cbcee['enc'];_0xb908cb[_0x504558(0x361)]={'stringify':function(_0x31902d){var _0x5d2339=_0x504558,_0x4ac9a8=_0x31902d[_0x5d2339(0x163)],_0x17add1=_0x31902d[_0x5d2339(0x1b3)],_0x32c6bb=this['_map'];_0x31902d[_0x5d2339(0x2a0)]();for(var _0x1a6479=[],_0x3ae5ab=0x0;_0x3ae5ab<_0x17add1;_0x3ae5ab+=0x3)for(var _0x3d6865=_0x4ac9a8[_0x3ae5ab>>>0x2]>>>0x18-_0x3ae5ab%0x4*0x8&0xff,_0x3f1083=_0x4ac9a8[_0x3ae5ab+0x1>>>0x2]>>>0x18-(_0x3ae5ab+0x1)%0x4*0x8&0xff,_0x4e7fba=_0x4ac9a8[_0x3ae5ab+0x2>>>0x2]>>>0x18-(_0x3ae5ab+0x2)%0x4*0x8&0xff,_0x5b75a6=_0x3d6865<<0x10|_0x3f1083<<0x8|_0x4e7fba,_0x11ce89=0x0;_0x11ce89<0x4&&_0x3ae5ab+_0x11ce89*0.75<_0x17add1;_0x11ce89++)_0x1a6479['push'](_0x32c6bb['charAt'](_0x5b75a6>>>0x6*(0x3-_0x11ce89)&0x3f));var _0x4e4a59=_0x32c6bb['charAt'](0x40);if(_0x4e4a59){for(;_0x1a6479['length']%0x4;)_0x1a6479['push'](_0x4e4a59);}return _0x1a6479[_0x5d2339(0x291)]('');},'parse':function(_0x528ee9){var _0x32449e=_0x504558,_0x47f8c6=_0x528ee9['length'],_0x2a172b=this['_map'],_0x3260cb=this[_0x32449e(0x29d)];if(!_0x3260cb){_0x3260cb=this[_0x32449e(0x29d)]=[];for(var _0x5c1b31=0x0;_0x5c1b31<_0x2a172b[_0x32449e(0x2ca)];_0x5c1b31++)_0x3260cb[_0x2a172b[_0x32449e(0x2e3)](_0x5c1b31)]=_0x5c1b31;}var _0x37d697=_0x2a172b[_0x32449e(0x3f0)](0x40);if(_0x37d697){var _0x5ab1f6=_0x528ee9[_0x32449e(0x134)](_0x37d697);_0x5ab1f6!==-0x1&&(_0x47f8c6=_0x5ab1f6);}return _0x368b1f(_0x528ee9,_0x47f8c6,_0x3260cb);},'_map':_0x504558(0x320)};function _0x368b1f(_0x1bd8a3,_0x175a57,_0x57df14){var _0x2c773d=_0x504558;for(var _0x3e66e3=[],_0x49bb72=0x0,_0x78bbac=0x0;_0x78bbac<_0x175a57;_0x78bbac++)if(_0x78bbac%0x4){var _0x49d5f4=_0x57df14[_0x1bd8a3['charCodeAt'](_0x78bbac-0x1)]<<_0x78bbac%0x4*0x2,_0x4cacb9=_0x57df14[_0x1bd8a3[_0x2c773d(0x2e3)](_0x78bbac)]>>>0x6-_0x78bbac%0x4*0x2,_0x468852=_0x49d5f4|_0x4cacb9;_0x3e66e3[_0x49bb72>>>0x2]|=_0x468852<<0x18-_0x49bb72%0x4*0x8,_0x49bb72++;}return _0x4b6fd5[_0x2c773d(0x113)](_0x3e66e3,_0x49bb72);}}()),_0x300146[_0x5718a1(0x285)]['Base64'];}));}(We)),We[_0x579878(0x197)];}var Ye={'exports':{}},un=Ye[_0x23ae93(0x197)],zt;function dn(){var _0x42fe80=_0x23ae93;return zt||(zt=0x1,function(_0x4ef691,_0x1bb1f6){(function(_0x21947e,_0x37e9ae){var _0x55766a=_0x97e6;_0x4ef691[_0x55766a(0x197)]=_0x37e9ae(ie());}(un,function(_0x533953){var _0x1cfb8d=_0x97e6;return function(_0x1c7ff2){var _0x3cfb1e=_0x97e6,_0x5debf0=_0x533953,_0xdecfff=_0x5debf0[_0x3cfb1e(0x2fa)],_0x3aad64=_0xdecfff[_0x3cfb1e(0x36a)],_0x3ed792=_0xdecfff[_0x3cfb1e(0x332)],_0x28ecd4=_0x5debf0[_0x3cfb1e(0x296)],_0x260f89=[];(function(){for(var _0x589c94=0x0;_0x589c94<0x40;_0x589c94++)_0x260f89[_0x589c94]=_0x1c7ff2['abs'](_0x1c7ff2['sin'](_0x589c94+0x1))*0x100000000|0x0;}());var _0x31dc6e=_0x28ecd4[_0x3cfb1e(0x19c)]=_0x3ed792[_0x3cfb1e(0x1a0)]({'_doReset':function(){var _0x15edf1=_0x3cfb1e;this[_0x15edf1(0x133)]=new _0x3aad64['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x175a97,_0x57b0a7){var _0x23936f=_0x3cfb1e;for(var _0x4a5c7b=0x0;_0x4a5c7b<0x10;_0x4a5c7b++){var _0x44a8ec=_0x57b0a7+_0x4a5c7b,_0x58c20b=_0x175a97[_0x44a8ec];_0x175a97[_0x44a8ec]=(_0x58c20b<<0x8|_0x58c20b>>>0x18)&0xff00ff|(_0x58c20b<<0x18|_0x58c20b>>>0x8)&0xff00ff00;}var _0x4ea1a3=this['_hash'][_0x23936f(0x163)],_0x58ba82=_0x175a97[_0x57b0a7+0x0],_0x3d7b46=_0x175a97[_0x57b0a7+0x1],_0xa12a08=_0x175a97[_0x57b0a7+0x2],_0xc27c99=_0x175a97[_0x57b0a7+0x3],_0x3f5347=_0x175a97[_0x57b0a7+0x4],_0x3404e8=_0x175a97[_0x57b0a7+0x5],_0x880057=_0x175a97[_0x57b0a7+0x6],_0x382eeb=_0x175a97[_0x57b0a7+0x7],_0x565106=_0x175a97[_0x57b0a7+0x8],_0x5d1372=_0x175a97[_0x57b0a7+0x9],_0x525d78=_0x175a97[_0x57b0a7+0xa],_0xf7ea4f=_0x175a97[_0x57b0a7+0xb],_0x300d0d=_0x175a97[_0x57b0a7+0xc],_0x358a1d=_0x175a97[_0x57b0a7+0xd],_0x389837=_0x175a97[_0x57b0a7+0xe],_0x51c772=_0x175a97[_0x57b0a7+0xf],_0x32798d=_0x4ea1a3[0x0],_0x1f8816=_0x4ea1a3[0x1],_0x2f1c2a=_0x4ea1a3[0x2],_0x478016=_0x4ea1a3[0x3];_0x32798d=_0x478ffa(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x58ba82,0x7,_0x260f89[0x0]),_0x478016=_0x478ffa(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x3d7b46,0xc,_0x260f89[0x1]),_0x2f1c2a=_0x478ffa(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xa12a08,0x11,_0x260f89[0x2]),_0x1f8816=_0x478ffa(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0xc27c99,0x16,_0x260f89[0x3]),_0x32798d=_0x478ffa(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3f5347,0x7,_0x260f89[0x4]),_0x478016=_0x478ffa(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x3404e8,0xc,_0x260f89[0x5]),_0x2f1c2a=_0x478ffa(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x880057,0x11,_0x260f89[0x6]),_0x1f8816=_0x478ffa(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x382eeb,0x16,_0x260f89[0x7]),_0x32798d=_0x478ffa(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x565106,0x7,_0x260f89[0x8]),_0x478016=_0x478ffa(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x5d1372,0xc,_0x260f89[0x9]),_0x2f1c2a=_0x478ffa(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x525d78,0x11,_0x260f89[0xa]),_0x1f8816=_0x478ffa(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0xf7ea4f,0x16,_0x260f89[0xb]),_0x32798d=_0x478ffa(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x300d0d,0x7,_0x260f89[0xc]),_0x478016=_0x478ffa(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x358a1d,0xc,_0x260f89[0xd]),_0x2f1c2a=_0x478ffa(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x389837,0x11,_0x260f89[0xe]),_0x1f8816=_0x478ffa(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x51c772,0x16,_0x260f89[0xf]),_0x32798d=_0x5b136d(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3d7b46,0x5,_0x260f89[0x10]),_0x478016=_0x5b136d(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x880057,0x9,_0x260f89[0x11]),_0x2f1c2a=_0x5b136d(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xf7ea4f,0xe,_0x260f89[0x12]),_0x1f8816=_0x5b136d(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x58ba82,0x14,_0x260f89[0x13]),_0x32798d=_0x5b136d(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3404e8,0x5,_0x260f89[0x14]),_0x478016=_0x5b136d(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x525d78,0x9,_0x260f89[0x15]),_0x2f1c2a=_0x5b136d(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x51c772,0xe,_0x260f89[0x16]),_0x1f8816=_0x5b136d(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x3f5347,0x14,_0x260f89[0x17]),_0x32798d=_0x5b136d(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x5d1372,0x5,_0x260f89[0x18]),_0x478016=_0x5b136d(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x389837,0x9,_0x260f89[0x19]),_0x2f1c2a=_0x5b136d(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xc27c99,0xe,_0x260f89[0x1a]),_0x1f8816=_0x5b136d(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x565106,0x14,_0x260f89[0x1b]),_0x32798d=_0x5b136d(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x358a1d,0x5,_0x260f89[0x1c]),_0x478016=_0x5b136d(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0xa12a08,0x9,_0x260f89[0x1d]),_0x2f1c2a=_0x5b136d(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x382eeb,0xe,_0x260f89[0x1e]),_0x1f8816=_0x5b136d(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x300d0d,0x14,_0x260f89[0x1f]),_0x32798d=_0x44d3ea(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3404e8,0x4,_0x260f89[0x20]),_0x478016=_0x44d3ea(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x565106,0xb,_0x260f89[0x21]),_0x2f1c2a=_0x44d3ea(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xf7ea4f,0x10,_0x260f89[0x22]),_0x1f8816=_0x44d3ea(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x389837,0x17,_0x260f89[0x23]),_0x32798d=_0x44d3ea(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3d7b46,0x4,_0x260f89[0x24]),_0x478016=_0x44d3ea(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x3f5347,0xb,_0x260f89[0x25]),_0x2f1c2a=_0x44d3ea(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x382eeb,0x10,_0x260f89[0x26]),_0x1f8816=_0x44d3ea(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x525d78,0x17,_0x260f89[0x27]),_0x32798d=_0x44d3ea(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x358a1d,0x4,_0x260f89[0x28]),_0x478016=_0x44d3ea(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x58ba82,0xb,_0x260f89[0x29]),_0x2f1c2a=_0x44d3ea(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xc27c99,0x10,_0x260f89[0x2a]),_0x1f8816=_0x44d3ea(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x880057,0x17,_0x260f89[0x2b]),_0x32798d=_0x44d3ea(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x5d1372,0x4,_0x260f89[0x2c]),_0x478016=_0x44d3ea(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x300d0d,0xb,_0x260f89[0x2d]),_0x2f1c2a=_0x44d3ea(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x51c772,0x10,_0x260f89[0x2e]),_0x1f8816=_0x44d3ea(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0xa12a08,0x17,_0x260f89[0x2f]),_0x32798d=_0x4808ae(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x58ba82,0x6,_0x260f89[0x30]),_0x478016=_0x4808ae(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x382eeb,0xa,_0x260f89[0x31]),_0x2f1c2a=_0x4808ae(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x389837,0xf,_0x260f89[0x32]),_0x1f8816=_0x4808ae(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x3404e8,0x15,_0x260f89[0x33]),_0x32798d=_0x4808ae(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x300d0d,0x6,_0x260f89[0x34]),_0x478016=_0x4808ae(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0xc27c99,0xa,_0x260f89[0x35]),_0x2f1c2a=_0x4808ae(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x525d78,0xf,_0x260f89[0x36]),_0x1f8816=_0x4808ae(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x3d7b46,0x15,_0x260f89[0x37]),_0x32798d=_0x4808ae(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x565106,0x6,_0x260f89[0x38]),_0x478016=_0x4808ae(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x51c772,0xa,_0x260f89[0x39]),_0x2f1c2a=_0x4808ae(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x880057,0xf,_0x260f89[0x3a]),_0x1f8816=_0x4808ae(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x358a1d,0x15,_0x260f89[0x3b]),_0x32798d=_0x4808ae(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3f5347,0x6,_0x260f89[0x3c]),_0x478016=_0x4808ae(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0xf7ea4f,0xa,_0x260f89[0x3d]),_0x2f1c2a=_0x4808ae(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xa12a08,0xf,_0x260f89[0x3e]),_0x1f8816=_0x4808ae(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x5d1372,0x15,_0x260f89[0x3f]),_0x4ea1a3[0x0]=_0x4ea1a3[0x0]+_0x32798d|0x0,_0x4ea1a3[0x1]=_0x4ea1a3[0x1]+_0x1f8816|0x0,_0x4ea1a3[0x2]=_0x4ea1a3[0x2]+_0x2f1c2a|0x0,_0x4ea1a3[0x3]=_0x4ea1a3[0x3]+_0x478016|0x0;},'_doFinalize':function(){var _0x5f4a1f=_0x3cfb1e,_0xa23ca=this[_0x5f4a1f(0x27b)],_0x3b5133=_0xa23ca['words'],_0xa237d8=this[_0x5f4a1f(0x346)]*0x8,_0x27c428=_0xa23ca['sigBytes']*0x8;_0x3b5133[_0x27c428>>>0x5]|=0x80<<0x18-_0x27c428%0x20;var _0x867f4e=_0x1c7ff2['floor'](_0xa237d8/0x100000000),_0xa6e1e1=_0xa237d8;_0x3b5133[(_0x27c428+0x40>>>0x9<<0x4)+0xf]=(_0x867f4e<<0x8|_0x867f4e>>>0x18)&0xff00ff|(_0x867f4e<<0x18|_0x867f4e>>>0x8)&0xff00ff00,_0x3b5133[(_0x27c428+0x40>>>0x9<<0x4)+0xe]=(_0xa6e1e1<<0x8|_0xa6e1e1>>>0x18)&0xff00ff|(_0xa6e1e1<<0x18|_0xa6e1e1>>>0x8)&0xff00ff00,_0xa23ca[_0x5f4a1f(0x1b3)]=(_0x3b5133[_0x5f4a1f(0x2ca)]+0x1)*0x4,this[_0x5f4a1f(0x166)]();for(var _0x2fbce0=this[_0x5f4a1f(0x133)],_0x2bbea5=_0x2fbce0[_0x5f4a1f(0x163)],_0x3488e5=0x0;_0x3488e5<0x4;_0x3488e5++){var _0xa2b731=_0x2bbea5[_0x3488e5];_0x2bbea5[_0x3488e5]=(_0xa2b731<<0x8|_0xa2b731>>>0x18)&0xff00ff|(_0xa2b731<<0x18|_0xa2b731>>>0x8)&0xff00ff00;}return _0x2fbce0;},'clone':function(){var _0x1736e9=_0x3cfb1e,_0x19979a=_0x3ed792[_0x1736e9(0x260)][_0x1736e9(0x179)](this);return _0x19979a[_0x1736e9(0x133)]=this[_0x1736e9(0x133)]['clone'](),_0x19979a;}});function _0x478ffa(_0x4f0e56,_0x204968,_0x187094,_0x3b91e3,_0x40cc98,_0x371669,_0x5c889e){var _0x15a18b=_0x4f0e56+(_0x204968&_0x187094|~_0x204968&_0x3b91e3)+_0x40cc98+_0x5c889e;return(_0x15a18b<<_0x371669|_0x15a18b>>>0x20-_0x371669)+_0x204968;}function _0x5b136d(_0x414325,_0xc8739c,_0x3a1f89,_0x485e29,_0x30f4fe,_0x238156,_0x2f1c15){var _0x1a3424=_0x414325+(_0xc8739c&_0x485e29|_0x3a1f89&~_0x485e29)+_0x30f4fe+_0x2f1c15;return(_0x1a3424<<_0x238156|_0x1a3424>>>0x20-_0x238156)+_0xc8739c;}function _0x44d3ea(_0x7b484e,_0x4ebc13,_0x185d8,_0x47900c,_0x4da0af,_0x4946bc,_0x4eccf9){var _0x49b4ca=_0x7b484e+(_0x4ebc13^_0x185d8^_0x47900c)+_0x4da0af+_0x4eccf9;return(_0x49b4ca<<_0x4946bc|_0x49b4ca>>>0x20-_0x4946bc)+_0x4ebc13;}function _0x4808ae(_0x43a29a,_0x475837,_0x565cb7,_0x2277f9,_0x4518de,_0x37efdf,_0x26d0e3){var _0x19aea2=_0x43a29a+(_0x565cb7^(_0x475837|~_0x2277f9))+_0x4518de+_0x26d0e3;return(_0x19aea2<<_0x37efdf|_0x19aea2>>>0x20-_0x37efdf)+_0x475837;}_0x5debf0[_0x3cfb1e(0x19c)]=_0x3ed792[_0x3cfb1e(0x344)](_0x31dc6e),_0x5debf0[_0x3cfb1e(0x24f)]=_0x3ed792['_createHmacHelper'](_0x31dc6e);}(Math),_0x533953[_0x1cfb8d(0x19c)];}));}(Ye)),Ye[_0x42fe80(0x197)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0x23ae93(0x197)],Xt;function vn(){var _0x44f5ac=_0x23ae93;return Xt||(Xt=0x1,function(_0x5467ca,_0x1b5598){(function(_0x100193,_0xd8af39){var _0x3df5ab=_0x97e6;_0x5467ca[_0x3df5ab(0x197)]=_0xd8af39(ie());}(fn,function(_0x46652f){var _0x4fee2a=_0x97e6;return(function(){var _0x1aa184=_0x97e6,_0x12cc80=_0x46652f,_0x32789e=_0x12cc80[_0x1aa184(0x2fa)],_0x3066b9=_0x32789e[_0x1aa184(0x36a)],_0x485d67=_0x32789e[_0x1aa184(0x332)],_0x19293a=_0x12cc80[_0x1aa184(0x296)],_0x165b3f=[],_0xf0d255=_0x19293a['SHA1']=_0x485d67[_0x1aa184(0x1a0)]({'_doReset':function(){var _0x1ea0ce=_0x1aa184;this[_0x1ea0ce(0x133)]=new _0x3066b9[(_0x1ea0ce(0x2c1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf90f3c,_0x18555f){var _0x399e43=_0x1aa184;for(var _0x511117=this[_0x399e43(0x133)]['words'],_0x5ed9ff=_0x511117[0x0],_0x2deaa0=_0x511117[0x1],_0x3c5aa9=_0x511117[0x2],_0x193a20=_0x511117[0x3],_0x51eba3=_0x511117[0x4],_0x193d8=0x0;_0x193d8<0x50;_0x193d8++){if(_0x193d8<0x10)_0x165b3f[_0x193d8]=_0xf90f3c[_0x18555f+_0x193d8]|0x0;else{var _0x1079c1=_0x165b3f[_0x193d8-0x3]^_0x165b3f[_0x193d8-0x8]^_0x165b3f[_0x193d8-0xe]^_0x165b3f[_0x193d8-0x10];_0x165b3f[_0x193d8]=_0x1079c1<<0x1|_0x1079c1>>>0x1f;}var _0x385d09=(_0x5ed9ff<<0x5|_0x5ed9ff>>>0x1b)+_0x51eba3+_0x165b3f[_0x193d8];_0x193d8<0x14?_0x385d09+=(_0x2deaa0&_0x3c5aa9|~_0x2deaa0&_0x193a20)+0x5a827999:_0x193d8<0x28?_0x385d09+=(_0x2deaa0^_0x3c5aa9^_0x193a20)+0x6ed9eba1:_0x193d8<0x3c?_0x385d09+=(_0x2deaa0&_0x3c5aa9|_0x2deaa0&_0x193a20|_0x3c5aa9&_0x193a20)-0x70e44324:_0x385d09+=(_0x2deaa0^_0x3c5aa9^_0x193a20)-0x359d3e2a,_0x51eba3=_0x193a20,_0x193a20=_0x3c5aa9,_0x3c5aa9=_0x2deaa0<<0x1e|_0x2deaa0>>>0x2,_0x2deaa0=_0x5ed9ff,_0x5ed9ff=_0x385d09;}_0x511117[0x0]=_0x511117[0x0]+_0x5ed9ff|0x0,_0x511117[0x1]=_0x511117[0x1]+_0x2deaa0|0x0,_0x511117[0x2]=_0x511117[0x2]+_0x3c5aa9|0x0,_0x511117[0x3]=_0x511117[0x3]+_0x193a20|0x0,_0x511117[0x4]=_0x511117[0x4]+_0x51eba3|0x0;},'_doFinalize':function(){var _0xd66464=_0x1aa184,_0x18415d=this[_0xd66464(0x27b)],_0x156f33=_0x18415d[_0xd66464(0x163)],_0x5cf45d=this[_0xd66464(0x346)]*0x8,_0x3b5842=_0x18415d[_0xd66464(0x1b3)]*0x8;return _0x156f33[_0x3b5842>>>0x5]|=0x80<<0x18-_0x3b5842%0x20,_0x156f33[(_0x3b5842+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5cf45d/0x100000000),_0x156f33[(_0x3b5842+0x40>>>0x9<<0x4)+0xf]=_0x5cf45d,_0x18415d[_0xd66464(0x1b3)]=_0x156f33['length']*0x4,this[_0xd66464(0x166)](),this['_hash'];},'clone':function(){var _0x584806=_0x1aa184,_0x775c22=_0x485d67[_0x584806(0x260)][_0x584806(0x179)](this);return _0x775c22['_hash']=this['_hash'][_0x584806(0x260)](),_0x775c22;}});_0x12cc80[_0x1aa184(0x297)]=_0x485d67[_0x1aa184(0x344)](_0xf0d255),_0x12cc80[_0x1aa184(0x159)]=_0x485d67[_0x1aa184(0x218)](_0xf0d255);}()),_0x46652f[_0x4fee2a(0x297)];}));}(qe)),qe[_0x44f5ac(0x197)];}var ze={'exports':{}},En=ze[_0x23ae93(0x197)],Jt;function pn(){var _0x3ce652=_0x23ae93;return Jt||(Jt=0x1,function(_0x2a2b0e,_0x397ed7){(function(_0x51c85f,_0x12eb4b){var _0x5c698d=_0x97e6;_0x2a2b0e[_0x5c698d(0x197)]=_0x12eb4b(ie());}(En,function(_0x3c8506){(function(){var _0x327358=_0x97e6,_0x4b5ee3=_0x3c8506,_0x2bdf88=_0x4b5ee3['lib'],_0x43728b=_0x2bdf88['Base'],_0x8a91fa=_0x4b5ee3[_0x327358(0x285)],_0x5db0a2=_0x8a91fa[_0x327358(0x1f1)],_0x3298c2=_0x4b5ee3[_0x327358(0x296)];_0x3298c2[_0x327358(0x270)]=_0x43728b[_0x327358(0x1a0)]({'init':function(_0x5ce14e,_0x2080ae){var _0x1cc1a1=_0x327358;_0x5ce14e=this[_0x1cc1a1(0x2f5)]=new _0x5ce14e[(_0x1cc1a1(0x2c1))](),typeof _0x2080ae=='string'&&(_0x2080ae=_0x5db0a2[_0x1cc1a1(0x326)](_0x2080ae));var _0x300b96=_0x5ce14e[_0x1cc1a1(0x3ae)],_0x279bee=_0x300b96*0x4;_0x2080ae[_0x1cc1a1(0x1b3)]>_0x279bee&&(_0x2080ae=_0x5ce14e['finalize'](_0x2080ae)),_0x2080ae[_0x1cc1a1(0x2a0)]();for(var _0xe503da=this['_oKey']=_0x2080ae[_0x1cc1a1(0x260)](),_0x2720e9=this[_0x1cc1a1(0x181)]=_0x2080ae[_0x1cc1a1(0x260)](),_0x2afbcd=_0xe503da[_0x1cc1a1(0x163)],_0x31bcfa=_0x2720e9[_0x1cc1a1(0x163)],_0x17721a=0x0;_0x17721a<_0x300b96;_0x17721a++)_0x2afbcd[_0x17721a]^=0x5c5c5c5c,_0x31bcfa[_0x17721a]^=0x36363636;_0xe503da[_0x1cc1a1(0x1b3)]=_0x2720e9[_0x1cc1a1(0x1b3)]=_0x279bee,this[_0x1cc1a1(0x117)]();},'reset':function(){var _0x401d82=_0x327358,_0x4da46c=this[_0x401d82(0x2f5)];_0x4da46c[_0x401d82(0x117)](),_0x4da46c[_0x401d82(0x3fa)](this[_0x401d82(0x181)]);},'update':function(_0x410415){return this['_hasher']['update'](_0x410415),this;},'finalize':function(_0x334a69){var _0x32aa38=_0x327358,_0x3a2db0=this['_hasher'],_0x495540=_0x3a2db0[_0x32aa38(0x2ac)](_0x334a69);_0x3a2db0[_0x32aa38(0x117)]();var _0x30b5fc=_0x3a2db0[_0x32aa38(0x2ac)](this[_0x32aa38(0x229)][_0x32aa38(0x260)]()[_0x32aa38(0x2b9)](_0x495540));return _0x30b5fc;}});}());}));}(ze)),ze[_0x3ce652(0x197)];}var mn=Ke[_0x23ae93(0x197)],Zt;function Ci(){var _0x32089a=_0x23ae93;return Zt||(Zt=0x1,function(_0x208cdb,_0x1cf57e){(function(_0x4b7f16,_0x34c9c9,_0x242750){var _0x5288f2=_0x97e6;_0x208cdb[_0x5288f2(0x197)]=_0x34c9c9(ie(),vn(),pn());}(mn,function(_0x14aa4f){return(function(){var _0xe34444=_0x97e6,_0x492fdd=_0x14aa4f,_0x317c23=_0x492fdd[_0xe34444(0x2fa)],_0x4a9989=_0x317c23[_0xe34444(0x3dd)],_0x161cb2=_0x317c23[_0xe34444(0x36a)],_0x59452d=_0x492fdd[_0xe34444(0x296)],_0x27d1d0=_0x59452d['MD5'],_0x4af86b=_0x59452d[_0xe34444(0x404)]=_0x4a9989[_0xe34444(0x1a0)]({'cfg':_0x4a9989[_0xe34444(0x1a0)]({'keySize':0x80/0x20,'hasher':_0x27d1d0,'iterations':0x1}),'init':function(_0x3fbad5){var _0x32351a=_0xe34444;this[_0x32351a(0x388)]=this[_0x32351a(0x388)]['extend'](_0x3fbad5);},'compute':function(_0xf883d8,_0x42b582){var _0x33d041=_0xe34444;for(var _0x26d000,_0xc053c7=this[_0x33d041(0x388)],_0x24cda6=_0xc053c7[_0x33d041(0x32b)][_0x33d041(0x113)](),_0x57564d=_0x161cb2[_0x33d041(0x113)](),_0x1c8a33=_0x57564d[_0x33d041(0x163)],_0x2acfcf=_0xc053c7[_0x33d041(0x14e)],_0x2536d9=_0xc053c7[_0x33d041(0x147)];_0x1c8a33[_0x33d041(0x2ca)]<_0x2acfcf;){_0x26d000&&_0x24cda6['update'](_0x26d000),_0x26d000=_0x24cda6[_0x33d041(0x3fa)](_0xf883d8)['finalize'](_0x42b582),_0x24cda6['reset']();for(var _0x502fe8=0x1;_0x502fe8<_0x2536d9;_0x502fe8++)_0x26d000=_0x24cda6[_0x33d041(0x2ac)](_0x26d000),_0x24cda6[_0x33d041(0x117)]();_0x57564d['concat'](_0x26d000);}return _0x57564d[_0x33d041(0x1b3)]=_0x2acfcf*0x4,_0x57564d;}});_0x492fdd['EvpKDF']=function(_0x24c365,_0xb4fd6a,_0x656e0f){var _0x29c2ed=_0xe34444;return _0x4af86b[_0x29c2ed(0x113)](_0x656e0f)['compute'](_0x24c365,_0xb4fd6a);};}()),_0x14aa4f['EvpKDF'];}));}(Ke)),Ke[_0x32089a(0x197)];}var Xe={'exports':{}},In=Xe['exports'],Qt;function bi(){var _0x3db047=_0x23ae93;return Qt||(Qt=0x1,function(_0x181ff4,_0x4b7889){(function(_0x391cfe,_0x2e74b2,_0x5c2bce){var _0x2df12c=_0x97e6;_0x181ff4[_0x2df12c(0x197)]=_0x2e74b2(ie(),Ci());}(In,function(_0x468ecd){var _0x34aba7=_0x97e6;_0x468ecd[_0x34aba7(0x2fa)]['Cipher']||function(_0x51bb04){var _0x215159=_0x34aba7,_0x3e33e2=_0x468ecd,_0x583e8b=_0x3e33e2[_0x215159(0x2fa)],_0x280624=_0x583e8b[_0x215159(0x3dd)],_0x300d5f=_0x583e8b[_0x215159(0x36a)],_0x3e761=_0x583e8b[_0x215159(0x369)],_0x5a0adb=_0x3e33e2[_0x215159(0x285)];_0x5a0adb[_0x215159(0x1f1)];var _0xc42ede=_0x5a0adb[_0x215159(0x361)],_0x231c6a=_0x3e33e2[_0x215159(0x296)],_0x472b26=_0x231c6a[_0x215159(0x404)],_0x5821ec=_0x583e8b[_0x215159(0x2e2)]=_0x3e761[_0x215159(0x1a0)]({'cfg':_0x280624[_0x215159(0x1a0)](),'createEncryptor':function(_0xf2ef3e,_0x5333ae){return this['create'](this['_ENC_XFORM_MODE'],_0xf2ef3e,_0x5333ae);},'createDecryptor':function(_0x401035,_0x4c3569){var _0x3570d5=_0x215159;return this['create'](this[_0x3570d5(0x1f2)],_0x401035,_0x4c3569);},'init':function(_0x382fed,_0x33de32,_0x318ba0){var _0x1c1708=_0x215159;this[_0x1c1708(0x388)]=this[_0x1c1708(0x388)][_0x1c1708(0x1a0)](_0x318ba0),this['_xformMode']=_0x382fed,this[_0x1c1708(0x1be)]=_0x33de32,this[_0x1c1708(0x117)]();},'reset':function(){var _0x41a7a0=_0x215159;_0x3e761[_0x41a7a0(0x117)][_0x41a7a0(0x179)](this),this[_0x41a7a0(0x3cd)]();},'process':function(_0x3a1a70){var _0x58569c=_0x215159;return this[_0x58569c(0x41f)](_0x3a1a70),this['_process']();},'finalize':function(_0x506693){var _0x3963cf=_0x215159;_0x506693&&this[_0x3963cf(0x41f)](_0x506693);var _0x35472e=this['_doFinalize']();return _0x35472e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x593a12(_0x330325){var _0xb30209=_0x97e6;return typeof _0x330325==_0xb30209(0x241)?_0x499a89:_0x409f16;}return function(_0x376d81){return{'encrypt':function(_0x5a43db,_0x1111ec,_0x1656cb){var _0x3b7b85=_0x97e6;return _0x593a12(_0x1111ec)[_0x3b7b85(0x375)](_0x376d81,_0x5a43db,_0x1111ec,_0x1656cb);},'decrypt':function(_0x5c4ea9,_0x5f48f9,_0xc6e542){return _0x593a12(_0x5f48f9)['decrypt'](_0x376d81,_0x5c4ea9,_0x5f48f9,_0xc6e542);}};};}())});_0x583e8b[_0x215159(0x394)]=_0x5821ec['extend']({'_doFinalize':function(){var _0xb041f8=this['_process'](!0x0);return _0xb041f8;},'blockSize':0x1});var _0x34506b=_0x3e33e2[_0x215159(0x231)]={},_0x3846b3=_0x583e8b[_0x215159(0x1da)]=_0x280624[_0x215159(0x1a0)]({'createEncryptor':function(_0x38cf5b,_0x3c1b5f){var _0x2f58fe=_0x215159;return this[_0x2f58fe(0x151)][_0x2f58fe(0x113)](_0x38cf5b,_0x3c1b5f);},'createDecryptor':function(_0x1da837,_0x38676a){var _0x4ec443=_0x215159;return this['Decryptor'][_0x4ec443(0x113)](_0x1da837,_0x38676a);},'init':function(_0x17d3c8,_0x2bf743){var _0xa253ad=_0x215159;this[_0xa253ad(0x258)]=_0x17d3c8,this[_0xa253ad(0x1ec)]=_0x2bf743;}}),_0x56af51=_0x34506b[_0x215159(0x19f)]=(function(){var _0x41e057=_0x215159,_0x1f13d4=_0x3846b3[_0x41e057(0x1a0)]();_0x1f13d4[_0x41e057(0x151)]=_0x1f13d4[_0x41e057(0x1a0)]({'processBlock':function(_0x3d2538,_0x15fa05){var _0x350fc8=_0x41e057,_0x5f25e3=this[_0x350fc8(0x258)],_0x1ee36=_0x5f25e3[_0x350fc8(0x3ae)];_0x19883c[_0x350fc8(0x179)](this,_0x3d2538,_0x15fa05,_0x1ee36),_0x5f25e3[_0x350fc8(0x172)](_0x3d2538,_0x15fa05),this[_0x350fc8(0x36d)]=_0x3d2538[_0x350fc8(0x352)](_0x15fa05,_0x15fa05+_0x1ee36);}}),_0x1f13d4[_0x41e057(0x359)]=_0x1f13d4[_0x41e057(0x1a0)]({'processBlock':function(_0x78b282,_0x2a792c){var _0x1099b5=_0x41e057,_0x5250b5=this[_0x1099b5(0x258)],_0x5f10d2=_0x5250b5[_0x1099b5(0x3ae)],_0x33a08d=_0x78b282['slice'](_0x2a792c,_0x2a792c+_0x5f10d2);_0x5250b5[_0x1099b5(0x295)](_0x78b282,_0x2a792c),_0x19883c[_0x1099b5(0x179)](this,_0x78b282,_0x2a792c,_0x5f10d2),this[_0x1099b5(0x36d)]=_0x33a08d;}});function _0x19883c(_0x1bad03,_0x1fdb50,_0x4d96ac){var _0x2e9e58=_0x41e057,_0x15b353,_0x56e9ba=this[_0x2e9e58(0x1ec)];_0x56e9ba?(_0x15b353=_0x56e9ba,this[_0x2e9e58(0x1ec)]=_0x51bb04):_0x15b353=this[_0x2e9e58(0x36d)];for(var _0x33b24d=0x0;_0x33b24d<_0x4d96ac;_0x33b24d++)_0x1bad03[_0x1fdb50+_0x33b24d]^=_0x15b353[_0x33b24d];}return _0x1f13d4;}()),_0x1bc4a2=_0x3e33e2[_0x215159(0x405)]={},_0x37f047=_0x1bc4a2[_0x215159(0x222)]={'pad':function(_0x7737e9,_0x6caede){var _0x323bb6=_0x215159;for(var _0x381bdc=_0x6caede*0x4,_0x4adbe6=_0x381bdc-_0x7737e9[_0x323bb6(0x1b3)]%_0x381bdc,_0x302933=_0x4adbe6<<0x18|_0x4adbe6<<0x10|_0x4adbe6<<0x8|_0x4adbe6,_0x5deb2e=[],_0x47fd3c=0x0;_0x47fd3c<_0x4adbe6;_0x47fd3c+=0x4)_0x5deb2e[_0x323bb6(0x1b8)](_0x302933);var _0x2b7be7=_0x300d5f[_0x323bb6(0x113)](_0x5deb2e,_0x4adbe6);_0x7737e9['concat'](_0x2b7be7);},'unpad':function(_0x1de0f2){var _0x42a46f=_0x215159,_0x3ab094=_0x1de0f2[_0x42a46f(0x163)][_0x1de0f2['sigBytes']-0x1>>>0x2]&0xff;_0x1de0f2[_0x42a46f(0x1b3)]-=_0x3ab094;}};_0x583e8b[_0x215159(0x3f9)]=_0x5821ec[_0x215159(0x1a0)]({'cfg':_0x5821ec['cfg']['extend']({'mode':_0x56af51,'padding':_0x37f047}),'reset':function(){var _0x5e8b46=_0x215159,_0x537f53;_0x5821ec[_0x5e8b46(0x117)][_0x5e8b46(0x179)](this);var _0x56b574=this['cfg'],_0x4ea45b=_0x56b574['iv'],_0x9ff440=_0x56b574[_0x5e8b46(0x231)];this[_0x5e8b46(0x21d)]==this[_0x5e8b46(0x25c)]?_0x537f53=_0x9ff440[_0x5e8b46(0x254)]:(_0x537f53=_0x9ff440[_0x5e8b46(0x22d)],this[_0x5e8b46(0x3e1)]=0x1),this[_0x5e8b46(0x1ad)]&&this[_0x5e8b46(0x1ad)][_0x5e8b46(0x3e7)]==_0x537f53?this[_0x5e8b46(0x1ad)][_0x5e8b46(0x2c1)](this,_0x4ea45b&&_0x4ea45b[_0x5e8b46(0x163)]):(this['_mode']=_0x537f53[_0x5e8b46(0x179)](_0x9ff440,this,_0x4ea45b&&_0x4ea45b[_0x5e8b46(0x163)]),this[_0x5e8b46(0x1ad)]['__creator']=_0x537f53);},'_doProcessBlock':function(_0x25e0f2,_0xf230cc){var _0x3e8497=_0x215159;this['_mode'][_0x3e8497(0x223)](_0x25e0f2,_0xf230cc);},'_doFinalize':function(){var _0x5d15f0=_0x215159,_0xea599e,_0x44ede6=this[_0x5d15f0(0x388)][_0x5d15f0(0x266)];return this['_xformMode']==this[_0x5d15f0(0x25c)]?(_0x44ede6[_0x5d15f0(0x405)](this[_0x5d15f0(0x27b)],this[_0x5d15f0(0x3ae)]),_0xea599e=this[_0x5d15f0(0x166)](!0x0)):(_0xea599e=this[_0x5d15f0(0x166)](!0x0),_0x44ede6['unpad'](_0xea599e)),_0xea599e;},'blockSize':0x80/0x20});var _0x55f873=_0x583e8b[_0x215159(0x410)]=_0x280624[_0x215159(0x1a0)]({'init':function(_0x8126){var _0x14280b=_0x215159;this[_0x14280b(0x1fd)](_0x8126);},'toString':function(_0x3a0fc8){var _0x24b3c1=_0x215159;return(_0x3a0fc8||this['formatter'])[_0x24b3c1(0x41e)](this);}}),_0x28cdf4=_0x3e33e2['format']={},_0x36e44f=_0x28cdf4[_0x215159(0x3d9)]={'stringify':function(_0x3c8bf5){var _0x1fd6a1=_0x215159,_0x59f2a5,_0x59bbd0=_0x3c8bf5['ciphertext'],_0xa92f8a=_0x3c8bf5[_0x1fd6a1(0x238)];return _0xa92f8a?_0x59f2a5=_0x300d5f[_0x1fd6a1(0x113)]([0x53616c74,0x65645f5f])[_0x1fd6a1(0x2b9)](_0xa92f8a)[_0x1fd6a1(0x2b9)](_0x59bbd0):_0x59f2a5=_0x59bbd0,_0x59f2a5[_0x1fd6a1(0x1ea)](_0xc42ede);},'parse':function(_0x34f93f){var _0x231d55=_0x215159,_0x5b105f,_0x1146a6=_0xc42ede['parse'](_0x34f93f),_0x153344=_0x1146a6[_0x231d55(0x163)];return _0x153344[0x0]==0x53616c74&&_0x153344[0x1]==0x65645f5f&&(_0x5b105f=_0x300d5f[_0x231d55(0x113)](_0x153344[_0x231d55(0x352)](0x2,0x4)),_0x153344[_0x231d55(0x1b5)](0x0,0x4),_0x1146a6[_0x231d55(0x1b3)]-=0x10),_0x55f873[_0x231d55(0x113)]({'ciphertext':_0x1146a6,'salt':_0x5b105f});}},_0x409f16=_0x583e8b[_0x215159(0x366)]=_0x280624[_0x215159(0x1a0)]({'cfg':_0x280624['extend']({'format':_0x36e44f}),'encrypt':function(_0x28604b,_0x426281,_0x5df7f2,_0x452be7){var _0x2a028d=_0x215159;_0x452be7=this[_0x2a028d(0x388)][_0x2a028d(0x1a0)](_0x452be7);var _0x1692c3=_0x28604b[_0x2a028d(0x254)](_0x5df7f2,_0x452be7),_0x115df7=_0x1692c3['finalize'](_0x426281),_0x4db406=_0x1692c3[_0x2a028d(0x388)];return _0x55f873[_0x2a028d(0x113)]({'ciphertext':_0x115df7,'key':_0x5df7f2,'iv':_0x4db406['iv'],'algorithm':_0x28604b,'mode':_0x4db406['mode'],'padding':_0x4db406[_0x2a028d(0x266)],'blockSize':_0x28604b['blockSize'],'formatter':_0x452be7[_0x2a028d(0x3d0)]});},'decrypt':function(_0x4e9b12,_0x5e92ba,_0x23642b,_0x255657){var _0x1fb50d=_0x215159;_0x255657=this[_0x1fb50d(0x388)][_0x1fb50d(0x1a0)](_0x255657),_0x5e92ba=this[_0x1fb50d(0x330)](_0x5e92ba,_0x255657[_0x1fb50d(0x3d0)]);var _0x3f168a=_0x4e9b12[_0x1fb50d(0x22d)](_0x23642b,_0x255657)[_0x1fb50d(0x2ac)](_0x5e92ba['ciphertext']);return _0x3f168a;},'_parse':function(_0x23675a,_0x2eed97){var _0x1fa1f6=_0x215159;return typeof _0x23675a==_0x1fa1f6(0x241)?_0x2eed97[_0x1fa1f6(0x326)](_0x23675a,this):_0x23675a;}}),_0x50c2da=_0x3e33e2['kdf']={},_0x35bbde=_0x50c2da[_0x215159(0x3d9)]={'execute':function(_0x126e4b,_0x23d1dd,_0x2ca02a,_0x4257db,_0x37f1b7){var _0x4029ad=_0x215159;if(_0x4257db||(_0x4257db=_0x300d5f[_0x4029ad(0x1e4)](0x40/0x8)),_0x37f1b7)var _0x509321=_0x472b26[_0x4029ad(0x113)]({'keySize':_0x23d1dd+_0x2ca02a,'hasher':_0x37f1b7})[_0x4029ad(0x2aa)](_0x126e4b,_0x4257db);else var _0x509321=_0x472b26[_0x4029ad(0x113)]({'keySize':_0x23d1dd+_0x2ca02a})[_0x4029ad(0x2aa)](_0x126e4b,_0x4257db);var _0x2e2fae=_0x300d5f[_0x4029ad(0x113)](_0x509321['words'][_0x4029ad(0x352)](_0x23d1dd),_0x2ca02a*0x4);return _0x509321[_0x4029ad(0x1b3)]=_0x23d1dd*0x4,_0x55f873['create']({'key':_0x509321,'iv':_0x2e2fae,'salt':_0x4257db});}},_0x499a89=_0x583e8b[_0x215159(0x10d)]=_0x409f16[_0x215159(0x1a0)]({'cfg':_0x409f16['cfg'][_0x215159(0x1a0)]({'kdf':_0x35bbde}),'encrypt':function(_0x30bdde,_0xb08aa7,_0x31c65a,_0x24f01a){var _0x5d2e57=_0x215159;_0x24f01a=this[_0x5d2e57(0x388)][_0x5d2e57(0x1a0)](_0x24f01a);var _0x183f55=_0x24f01a[_0x5d2e57(0x3f8)][_0x5d2e57(0x143)](_0x31c65a,_0x30bdde[_0x5d2e57(0x14e)],_0x30bdde[_0x5d2e57(0x22e)],_0x24f01a[_0x5d2e57(0x238)],_0x24f01a[_0x5d2e57(0x32b)]);_0x24f01a['iv']=_0x183f55['iv'];var _0x1a0422=_0x409f16['encrypt'][_0x5d2e57(0x179)](this,_0x30bdde,_0xb08aa7,_0x183f55['key'],_0x24f01a);return _0x1a0422[_0x5d2e57(0x1fd)](_0x183f55),_0x1a0422;},'decrypt':function(_0x142219,_0x499a7c,_0x1ec7cf,_0x2fa8bb){var _0x4bbde2=_0x215159;_0x2fa8bb=this[_0x4bbde2(0x388)][_0x4bbde2(0x1a0)](_0x2fa8bb),_0x499a7c=this['_parse'](_0x499a7c,_0x2fa8bb['format']);var _0x15e739=_0x2fa8bb[_0x4bbde2(0x3f8)]['execute'](_0x1ec7cf,_0x142219[_0x4bbde2(0x14e)],_0x142219['ivSize'],_0x499a7c[_0x4bbde2(0x238)],_0x2fa8bb[_0x4bbde2(0x32b)]);_0x2fa8bb['iv']=_0x15e739['iv'];var _0x86e32c=_0x409f16['decrypt'][_0x4bbde2(0x179)](this,_0x142219,_0x499a7c,_0x15e739['key'],_0x2fa8bb);return _0x86e32c;}});}();}));}(Xe)),Xe[_0x3db047(0x197)];}var Sn=Ve['exports'],ei;function gn(){var _0x3a29b7=_0x23ae93;return ei||(ei=0x1,function(_0x1d1297,_0x480f66){(function(_0x1797e9,_0x2fcf00,_0x44b289){var _0x138c28=_0x97e6;_0x1d1297[_0x138c28(0x197)]=_0x2fcf00(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x2284d4){return(function(){var _0x21c538=_0x97e6,_0x43db7f=_0x2284d4,_0x3e37cf=_0x43db7f[_0x21c538(0x2fa)],_0xc654fa=_0x3e37cf[_0x21c538(0x3f9)],_0x140a8e=_0x43db7f[_0x21c538(0x296)],_0x21dc94=[],_0x326e1b=[],_0x20e3d2=[],_0x484c9b=[],_0x371a46=[],_0x4a193d=[],_0x206f78=[],_0x1582c6=[],_0x191428=[],_0x2abadb=[];(function(){for(var _0x279643=[],_0x3fc5da=0x0;_0x3fc5da<0x100;_0x3fc5da++)_0x3fc5da<0x80?_0x279643[_0x3fc5da]=_0x3fc5da<<0x1:_0x279643[_0x3fc5da]=_0x3fc5da<<0x1^0x11b;for(var _0x48e995=0x0,_0x44d30d=0x0,_0x3fc5da=0x0;_0x3fc5da<0x100;_0x3fc5da++){var _0x592cb7=_0x44d30d^_0x44d30d<<0x1^_0x44d30d<<0x2^_0x44d30d<<0x3^_0x44d30d<<0x4;_0x592cb7=_0x592cb7>>>0x8^_0x592cb7&0xff^0x63,_0x21dc94[_0x48e995]=_0x592cb7,_0x326e1b[_0x592cb7]=_0x48e995;var _0xd7fb45=_0x279643[_0x48e995],_0x58b810=_0x279643[_0xd7fb45],_0x40a037=_0x279643[_0x58b810],_0x2526fb=_0x279643[_0x592cb7]*0x101^_0x592cb7*0x1010100;_0x20e3d2[_0x48e995]=_0x2526fb<<0x18|_0x2526fb>>>0x8,_0x484c9b[_0x48e995]=_0x2526fb<<0x10|_0x2526fb>>>0x10,_0x371a46[_0x48e995]=_0x2526fb<<0x8|_0x2526fb>>>0x18,_0x4a193d[_0x48e995]=_0x2526fb;var _0x2526fb=_0x40a037*0x1010101^_0x58b810*0x10001^_0xd7fb45*0x101^_0x48e995*0x1010100;_0x206f78[_0x592cb7]=_0x2526fb<<0x18|_0x2526fb>>>0x8,_0x1582c6[_0x592cb7]=_0x2526fb<<0x10|_0x2526fb>>>0x10,_0x191428[_0x592cb7]=_0x2526fb<<0x8|_0x2526fb>>>0x18,_0x2abadb[_0x592cb7]=_0x2526fb,_0x48e995?(_0x48e995=_0xd7fb45^_0x279643[_0x279643[_0x279643[_0x40a037^_0xd7fb45]]],_0x44d30d^=_0x279643[_0x279643[_0x44d30d]]):_0x48e995=_0x44d30d=0x1;}}());var _0x478e1d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5f5646=_0x140a8e[_0x21c538(0x353)]=_0xc654fa['extend']({'_doReset':function(){var _0x4c77ca=_0x21c538,_0x5cf2da;if(!(this[_0x4c77ca(0x1aa)]&&this[_0x4c77ca(0x31e)]===this[_0x4c77ca(0x1be)])){for(var _0x1cddaf=this['_keyPriorReset']=this['_key'],_0x2f642b=_0x1cddaf[_0x4c77ca(0x163)],_0x514481=_0x1cddaf[_0x4c77ca(0x1b3)]/0x4,_0x212a93=this['_nRounds']=_0x514481+0x6,_0x3c52b6=(_0x212a93+0x1)*0x4,_0x10cc86=this[_0x4c77ca(0x373)]=[],_0x3830d0=0x0;_0x3830d0<_0x3c52b6;_0x3830d0++)_0x3830d0<_0x514481?_0x10cc86[_0x3830d0]=_0x2f642b[_0x3830d0]:(_0x5cf2da=_0x10cc86[_0x3830d0-0x1],_0x3830d0%_0x514481?_0x514481>0x6&&_0x3830d0%_0x514481==0x4&&(_0x5cf2da=_0x21dc94[_0x5cf2da>>>0x18]<<0x18|_0x21dc94[_0x5cf2da>>>0x10&0xff]<<0x10|_0x21dc94[_0x5cf2da>>>0x8&0xff]<<0x8|_0x21dc94[_0x5cf2da&0xff]):(_0x5cf2da=_0x5cf2da<<0x8|_0x5cf2da>>>0x18,_0x5cf2da=_0x21dc94[_0x5cf2da>>>0x18]<<0x18|_0x21dc94[_0x5cf2da>>>0x10&0xff]<<0x10|_0x21dc94[_0x5cf2da>>>0x8&0xff]<<0x8|_0x21dc94[_0x5cf2da&0xff],_0x5cf2da^=_0x478e1d[_0x3830d0/_0x514481|0x0]<<0x18),_0x10cc86[_0x3830d0]=_0x10cc86[_0x3830d0-_0x514481]^_0x5cf2da);for(var _0x3e1885=this[_0x4c77ca(0x41b)]=[],_0xb4ada=0x0;_0xb4ada<_0x3c52b6;_0xb4ada++){var _0x3830d0=_0x3c52b6-_0xb4ada;if(_0xb4ada%0x4)var _0x5cf2da=_0x10cc86[_0x3830d0];else var _0x5cf2da=_0x10cc86[_0x3830d0-0x4];_0xb4ada<0x4||_0x3830d0<=0x4?_0x3e1885[_0xb4ada]=_0x5cf2da:_0x3e1885[_0xb4ada]=_0x206f78[_0x21dc94[_0x5cf2da>>>0x18]]^_0x1582c6[_0x21dc94[_0x5cf2da>>>0x10&0xff]]^_0x191428[_0x21dc94[_0x5cf2da>>>0x8&0xff]]^_0x2abadb[_0x21dc94[_0x5cf2da&0xff]];}}},'encryptBlock':function(_0x29fd4a,_0x36c670){var _0x34d0a3=_0x21c538;this['_doCryptBlock'](_0x29fd4a,_0x36c670,this[_0x34d0a3(0x373)],_0x20e3d2,_0x484c9b,_0x371a46,_0x4a193d,_0x21dc94);},'decryptBlock':function(_0x42ddb1,_0x4b14d8){var _0x419438=_0x21c538,_0x4b88b8=_0x42ddb1[_0x4b14d8+0x1];_0x42ddb1[_0x4b14d8+0x1]=_0x42ddb1[_0x4b14d8+0x3],_0x42ddb1[_0x4b14d8+0x3]=_0x4b88b8,this[_0x419438(0x1dc)](_0x42ddb1,_0x4b14d8,this[_0x419438(0x41b)],_0x206f78,_0x1582c6,_0x191428,_0x2abadb,_0x326e1b);var _0x4b88b8=_0x42ddb1[_0x4b14d8+0x1];_0x42ddb1[_0x4b14d8+0x1]=_0x42ddb1[_0x4b14d8+0x3],_0x42ddb1[_0x4b14d8+0x3]=_0x4b88b8;},'_doCryptBlock':function(_0xfba743,_0x48dfa9,_0x10ab72,_0x59ba71,_0x457ea8,_0xd8c350,_0x4849fe,_0x40618c){var _0x4f3443=_0x21c538;for(var _0x27fd73=this[_0x4f3443(0x1aa)],_0x2bd21f=_0xfba743[_0x48dfa9]^_0x10ab72[0x0],_0x12c5a3=_0xfba743[_0x48dfa9+0x1]^_0x10ab72[0x1],_0x49aca3=_0xfba743[_0x48dfa9+0x2]^_0x10ab72[0x2],_0x468fbd=_0xfba743[_0x48dfa9+0x3]^_0x10ab72[0x3],_0x10b70c=0x4,_0x4d6ca7=0x1;_0x4d6ca7<_0x27fd73;_0x4d6ca7++){var _0xdfc650=_0x59ba71[_0x2bd21f>>>0x18]^_0x457ea8[_0x12c5a3>>>0x10&0xff]^_0xd8c350[_0x49aca3>>>0x8&0xff]^_0x4849fe[_0x468fbd&0xff]^_0x10ab72[_0x10b70c++],_0x52da80=_0x59ba71[_0x12c5a3>>>0x18]^_0x457ea8[_0x49aca3>>>0x10&0xff]^_0xd8c350[_0x468fbd>>>0x8&0xff]^_0x4849fe[_0x2bd21f&0xff]^_0x10ab72[_0x10b70c++],_0x44c13f=_0x59ba71[_0x49aca3>>>0x18]^_0x457ea8[_0x468fbd>>>0x10&0xff]^_0xd8c350[_0x2bd21f>>>0x8&0xff]^_0x4849fe[_0x12c5a3&0xff]^_0x10ab72[_0x10b70c++],_0x2a39be=_0x59ba71[_0x468fbd>>>0x18]^_0x457ea8[_0x2bd21f>>>0x10&0xff]^_0xd8c350[_0x12c5a3>>>0x8&0xff]^_0x4849fe[_0x49aca3&0xff]^_0x10ab72[_0x10b70c++];_0x2bd21f=_0xdfc650,_0x12c5a3=_0x52da80,_0x49aca3=_0x44c13f,_0x468fbd=_0x2a39be;}var _0xdfc650=(_0x40618c[_0x2bd21f>>>0x18]<<0x18|_0x40618c[_0x12c5a3>>>0x10&0xff]<<0x10|_0x40618c[_0x49aca3>>>0x8&0xff]<<0x8|_0x40618c[_0x468fbd&0xff])^_0x10ab72[_0x10b70c++],_0x52da80=(_0x40618c[_0x12c5a3>>>0x18]<<0x18|_0x40618c[_0x49aca3>>>0x10&0xff]<<0x10|_0x40618c[_0x468fbd>>>0x8&0xff]<<0x8|_0x40618c[_0x2bd21f&0xff])^_0x10ab72[_0x10b70c++],_0x44c13f=(_0x40618c[_0x49aca3>>>0x18]<<0x18|_0x40618c[_0x468fbd>>>0x10&0xff]<<0x10|_0x40618c[_0x2bd21f>>>0x8&0xff]<<0x8|_0x40618c[_0x12c5a3&0xff])^_0x10ab72[_0x10b70c++],_0x2a39be=(_0x40618c[_0x468fbd>>>0x18]<<0x18|_0x40618c[_0x2bd21f>>>0x10&0xff]<<0x10|_0x40618c[_0x12c5a3>>>0x8&0xff]<<0x8|_0x40618c[_0x49aca3&0xff])^_0x10ab72[_0x10b70c++];_0xfba743[_0x48dfa9]=_0xdfc650,_0xfba743[_0x48dfa9+0x1]=_0x52da80,_0xfba743[_0x48dfa9+0x2]=_0x44c13f,_0xfba743[_0x48dfa9+0x3]=_0x2a39be;},'keySize':0x100/0x20});_0x43db7f[_0x21c538(0x353)]=_0xc654fa[_0x21c538(0x344)](_0x5f5646);}()),_0x2284d4['AES'];}));}(Ve)),Ve[_0x3a29b7(0x197)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0x23ae93(0x197)],ii;function Cn(){var _0x457246=_0x23ae93;return ii||(ii=0x1,function(_0x3ed747,_0x2dd813){(function(_0x1a7210,_0x26fdb4){_0x3ed747['exports']=_0x26fdb4(ie());}(Nn,function(_0x10fd56){var _0x32873d=_0x97e6;return _0x10fd56[_0x32873d(0x285)]['Utf8'];}));}(Je)),Je[_0x457246(0x197)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0x23ae93(0x197)],si;function Un(){return si||(si=0x1,function(_0x1f17e5,_0x4d324b){(function(_0x36b20a,_0x25df65){var _0xd1799e=_0x97e6;_0x1f17e5[_0xd1799e(0x197)]=_0x25df65(ie());}(yn,function(_0x966fa7){var _0x4a9f84=_0x97e6;return(function(){var _0x3e0982=_0x97e6;if(typeof ArrayBuffer=='function'){var _0x1316a9=_0x966fa7,_0x5c0cfb=_0x1316a9[_0x3e0982(0x2fa)],_0x5668cf=_0x5c0cfb[_0x3e0982(0x36a)],_0x472f2c=_0x5668cf[_0x3e0982(0x2c1)],_0x5c237f=_0x5668cf[_0x3e0982(0x2c1)]=function(_0x17c726){var _0x18953b=_0x3e0982;if(_0x17c726 instanceof ArrayBuffer&&(_0x17c726=new Uint8Array(_0x17c726)),(_0x17c726 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x17c726 instanceof Uint8ClampedArray||_0x17c726 instanceof Int16Array||_0x17c726 instanceof Uint16Array||_0x17c726 instanceof Int32Array||_0x17c726 instanceof Uint32Array||_0x17c726 instanceof Float32Array||_0x17c726 instanceof Float64Array)&&(_0x17c726=new Uint8Array(_0x17c726['buffer'],_0x17c726['byteOffset'],_0x17c726[_0x18953b(0x334)])),_0x17c726 instanceof Uint8Array){for(var _0x59b2c8=_0x17c726[_0x18953b(0x334)],_0x991297=[],_0x9e9d62=0x0;_0x9e9d62<_0x59b2c8;_0x9e9d62++)_0x991297[_0x9e9d62>>>0x2]|=_0x17c726[_0x9e9d62]<<0x18-_0x9e9d62%0x4*0x8;_0x472f2c[_0x18953b(0x179)](this,_0x991297,_0x59b2c8);}else _0x472f2c[_0x18953b(0x293)](this,arguments);};_0x5c237f[_0x3e0982(0x2f3)]=_0x5668cf;}}()),_0x966fa7[_0x4a9f84(0x2fa)][_0x4a9f84(0x36a)];}));}(Ze)),Ze['exports'];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},Ln=Qe[_0x23ae93(0x197)],ni;function Mn(){var _0x127fb3=_0x23ae93;return ni||(ni=0x1,function(_0x33c683,_0x1f3169){(function(_0x331e8b,_0x5abe68,_0x2080af){var _0x2a1900=_0x97e6;_0x33c683[_0x2a1900(0x197)]=_0x5abe68(ie(),bi());}(Ln,function(_0x56d8bd){var _0x44ac1f=_0x97e6;return _0x56d8bd['pad'][_0x44ac1f(0x26f)]={'pad':function(){},'unpad':function(){}},_0x56d8bd[_0x44ac1f(0x405)][_0x44ac1f(0x26f)];}));}(Qe)),Qe[_0x127fb3(0x197)];}var wn=Mn();const xn=$e(wn);function kn(_0x497309,_0xf61953){var _0x15f566=_0x23ae93;const _0x2fab08=_0xf61953-_0x497309['length']%_0xf61953,_0x415cf7=String[_0x15f566(0x2a2)](_0x2fab08)[_0x15f566(0x3fd)](_0x2fab08);return _0x497309+_0x415cf7;}function $n(_0x5af326,_0x4a1bdb){var _0x123fce=_0x23ae93;const _0x59e11a=Pn[_0x123fce(0x1e4)](0x10),_0x1d9a10=kn(_0x5af326,0x10),_0x5ed210=On[_0x123fce(0x375)](Dn['parse'](_0x1d9a10),ti[_0x123fce(0x326)](_0x4a1bdb),{'iv':_0x59e11a,'padding':xn});return _0x59e11a[_0x123fce(0x2b9)](_0x5ed210['ciphertext'])['toString'](ti);}function Hn(){var _0x25454c=_0x23ae93;const _0x18931c=_0x27cee3()[_0x25454c(0x2c7)];if(_0x18931c){const _0x391144={'time':Math[_0x25454c(0x2d3)](Date['now']()/0x3e8),'domain':location[_0x25454c(0x11a)]};return $n(JSON[_0x25454c(0x41e)](_0x391144),_0x18931c);}}var Bn=Object[_0x23ae93(0x2f0)],Fn=(_0x194ba8,_0x599f4f,_0xfb46ff,_0x5a00e)=>{var _0x3961c1=_0x23ae93;for(var _0x5298f2=_0x5a00e>0x1?void 0x0:_0x5a00e?Bn(_0x599f4f,_0xfb46ff):_0x599f4f,_0x25a6de=_0x194ba8[_0x3961c1(0x2ca)]-0x1,_0x3d5a1d;_0x25a6de>=0x0;_0x25a6de--)(_0x3d5a1d=_0x194ba8[_0x25a6de])&&(_0x5298f2=_0x3d5a1d(_0x5298f2)||_0x5298f2);return _0x5298f2;},jn=(_0x28b0fc,_0x493b01)=>(_0xccf766,_0x2150f7)=>_0x493b01(_0xccf766,_0x2150f7,_0x28b0fc);let at=class{constructor(_0x281f86){var _0x48d23d=_0x23ae93;this['_httpService']=_0x281f86,this[_0x48d23d(0x18c)]();}[_0x23ae93(0x18c)](){var _0x3ac9b7=_0x23ae93;this['_httpService'][_0x3ac9b7(0x40c)]({'interceptor':(_0x2ba1b6,_0x291fc3)=>{var _0x207526=_0x3ac9b7;const _0x504644=_0x2ba1b6[_0x207526(0x3c8)],_0x55a94e=Hn();return _0x55a94e&&_0x504644[_0x207526(0x37a)](_0x207526(0x248),_0x55a94e),_0x291fc3(_0x2ba1b6);}});}};at=Fn([jn(0x0,_0x35e039(_0x2cd902))],at);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x395aac,_0x4cc443,_0x27a523,_0x391a44)=>{var _0x20b971=_0x23ae93;for(var _0x91259f=_0x391a44>0x1?void 0x0:_0x391a44?Vn(_0x4cc443,_0x27a523):_0x4cc443,_0x2a7ed8=_0x395aac[_0x20b971(0x2ca)]-0x1,_0x299509;_0x2a7ed8>=0x0;_0x2a7ed8--)(_0x299509=_0x395aac[_0x2a7ed8])&&(_0x91259f=_0x299509(_0x91259f)||_0x91259f);return _0x91259f;},vt=(_0x40e839,_0x31d1a0)=>(_0xb2c042,_0x255ee9)=>_0x31d1a0(_0xb2c042,_0x255ee9,_0x40e839);let Ot=class extends _0x2d880a{constructor(_0x1f1823,_0x12da20,_0x503c8b){var _0x1d3019=_0x23ae93;super(),D(this,_0x1d3019(0x114),new _0x2d0dd9(null)),D(this,_0x1d3019(0x2bf),this[_0x1d3019(0x114)]['asObservable']()),(this['_logService']=_0x1f1823,this[_0x1d3019(0x187)]=_0x12da20,this['_localCacheService']=_0x503c8b);}async[_0x23ae93(0x236)](_0x438ad7,_0x346e20,_0x4d4314){var _0x32ec0e=_0x23ae93;this['_unitInfo$'][_0x32ec0e(0x418)]({'unitId':_0x438ad7,'type':_0x346e20});let _0x2090f7=null;switch(_0x346e20){case Q[_0x32ec0e(0x182)]:{_0x2090f7=await this['_snapshotService'][_0x32ec0e(0x203)](_0x438ad7,_0x4d4314);break;}case Q['UNIVER_DOC']:{_0x2090f7=await this[_0x32ec0e(0x187)][_0x32ec0e(0x2ed)](_0x438ad7,_0x4d4314);break;}default:{this[_0x32ec0e(0x413)][_0x32ec0e(0x14f)](_0x32ec0e(0x1a5),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2090f7;}async['loadUnit'](_0x543c4e,_0x1cf573,_0x5f40c3){var _0x248d04=_0x23ae93,_0x546af3;this[_0x248d04(0x114)][_0x248d04(0x418)]({'unitId':_0x543c4e,'type':_0x1cf573,'subUnitId':_0x5f40c3});let _0x43636e=0x0;const _0x59516e=await((_0x546af3=this['_localCacheService'])==null?void 0x0:_0x546af3['loadOfflineData'](_0x543c4e));return _0x59516e&&(_0x59516e[_0x248d04(0x406)]||_0x59516e[_0x248d04(0x331)][_0x248d04(0x2ca)]!==0x0)&&(_0x43636e=_0x59516e['rev']),_0x43636e===0x0&&this[_0x248d04(0x413)][_0x248d04(0x2d7)](_0x248d04(0x1a5),_0x248d04(0x306)),this[_0x248d04(0x236)](_0x543c4e,_0x1cf573,_0x43636e);}};Ot=Gn([vt(0x0,_0x1e4e23),vt(0x1,_0x35e039(_0x2baed4)),vt(0x2,_0x3a44cd(X))],Ot);var Wn=Object[_0x23ae93(0x2f0)],Yn=(_0x973cfe,_0x4dc889,_0x439f0b,_0x1f8613)=>{var _0x51226e=_0x23ae93;for(var _0x7e6db8=_0x1f8613>0x1?void 0x0:_0x1f8613?Wn(_0x4dc889,_0x439f0b):_0x4dc889,_0x2ffe3a=_0x973cfe[_0x51226e(0x2ca)]-0x1,_0x12cdeb;_0x2ffe3a>=0x0;_0x2ffe3a--)(_0x12cdeb=_0x973cfe[_0x2ffe3a])&&(_0x7e6db8=_0x12cdeb(_0x7e6db8)||_0x7e6db8);return _0x7e6db8;},Et=(_0x2afa7e,_0xf84ec2)=>(_0x45dc7e,_0x471ac3)=>_0xf84ec2(_0x45dc7e,_0x471ac3,_0x2afa7e);const Kn=[_0x23ae93(0x233),_0x23ae93(0x180),_0x23ae93(0x11f),_0x23ae93(0x207),_0x23ae93(0x2b8)],qn=0x5*0x400*0x400,zn=_0x23ae93(0x30b),Xn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x12fc99,_0x875bf9,_0xd87ee0){var _0x155176=_0x23ae93;D(this,'_waitCount',0x0),D(this,_0x155176(0x407),new _0x4b6979()),D(this,_0x155176(0x200),this[_0x155176(0x407)]),D(this,_0x155176(0x22c),new Map()),(this[_0x155176(0x2dc)]=_0x12fc99,this['_configService']=_0x875bf9,this[_0x155176(0x3a3)]=_0xd87ee0);}[_0x23ae93(0x15e)](_0x3ef33e){var _0x34779b=_0x23ae93;this[_0x34779b(0x226)]=_0x3ef33e,this['_change$'][_0x34779b(0x418)](_0x3ef33e);}['getImageSourceCache'](_0x194f81,_0x312130){var _0x4512bf=_0x23ae93;if(_0x312130===_0x1ec5d6['BASE64']){const _0x373651=new Image();return _0x373651[_0x4512bf(0x29c)]=_0x194f81,_0x373651;}return this[_0x4512bf(0x22c)][_0x4512bf(0x2a6)](_0x194f81);}['addImageSourceCache'](_0x5a3278,_0x121fa8,_0x255b8b){var _0x35c3ff=_0x23ae93;_0x121fa8===_0x1ec5d6[_0x35c3ff(0x25f)]||_0x255b8b==null||this[_0x35c3ff(0x22c)]['set'](_0x5a3278,_0x255b8b);}async[_0x23ae93(0x376)](_0x296b0b){var _0xfcb03d=_0x23ae93;try{const _0x2ddb2c=this[_0xfcb03d(0x323)](this['_getSignURL'](),''+_0x296b0b),_0x7891a4=(await this['_httpService'][_0xfcb03d(0x2a6)](_0x2ddb2c))[_0xfcb03d(0x235)];if(_0x7891a4[_0xfcb03d(0x14f)]&&_0x7891a4[_0xfcb03d(0x14f)][_0xfcb03d(0x35b)]===vi['OK']){const _0x158972=_0x588563(_0x7891a4[_0xfcb03d(0x2b7)],this['_getDownloadEndpointURL']());return Promise['resolve'](_0x158972);}return Promise[_0xfcb03d(0x221)](_0x7891a4[_0xfcb03d(0x14f)]);}catch(_0x3072eb){return Promise['reject'](_0x3072eb);}}async['saveImage'](_0xc3144){var _0x28da6b=_0x23ae93;let _0x150387='';if(!Kn[_0x28da6b(0x2c2)](_0xc3144['type']))return this[_0x28da6b(0x1d0)](),Promise[_0x28da6b(0x221)](new Error(_0x411100['ERROR_IMAGE_TYPE']));if(_0xc3144[_0x28da6b(0x284)]>qn)return this[_0x28da6b(0x1d0)](),Promise[_0x28da6b(0x221)](new Error(_0x411100[_0x28da6b(0x32f)]));try{const _0x1b64f0=new FormData();_0x1b64f0[_0x28da6b(0x299)](_0x28da6b(0x275),_0xc3144);const _0x519c65=this[_0x28da6b(0x3a3)]['getFocusedUnit'](),_0x2a594e=_0x519c65==null?void 0x0:_0x519c65[_0x28da6b(0x150)]();if(!_0x2a594e)throw new Error(_0x28da6b(0x13e));const _0x3c315b=this[_0x28da6b(0x31a)]()+_0x28da6b(0x38d)+_0xc3144[_0x28da6b(0x284)][_0x28da6b(0x1ea)]()+_0x28da6b(0x193)+Ei['UnitEmbedded']+_0x28da6b(0x209)+encodeURIComponent(_0x2a594e),_0x5262ee={'body':_0x1b64f0},_0x4d9703=(await this[_0x28da6b(0x2dc)]['post'](_0x3c315b,_0x5262ee))['body'];if(typeof _0x4d9703[_0x28da6b(0x132)]!=_0x28da6b(0x241))return this[_0x28da6b(0x1d0)](),Promise[_0x28da6b(0x221)](new Error(_0x411100['ERROR_IMAGE']));_0x150387=_0x4d9703[_0x28da6b(0x132)];}catch{return this[_0x28da6b(0x1d0)](),Promise['reject'](new Error(_0x411100[_0x28da6b(0x392)]));}return new Promise((_0x42b216,_0xe7e9a4)=>{var _0x4d1ea8=_0x28da6b;const _0x22e290=new FileReader();_0x22e290[_0x4d1ea8(0x350)](_0xc3144),_0x22e290[_0x4d1ea8(0x1ca)]=_0x2e5578=>{var _0x4e175f=_0x4d1ea8,_0x1eed8b;const _0x4102aa=(_0x1eed8b=_0x2e5578[_0x4e175f(0x157)])==null?void 0x0:_0x1eed8b[_0x4e175f(0x1b9)];if(_0x4102aa==null){this[_0x4e175f(0x1d0)](),_0xe7e9a4(new Error(_0x411100[_0x4e175f(0x392)]));return;}const _0x319dc5=_0x306cc7(0x6);_0x42b216({'imageId':_0x319dc5,'imageSourceType':_0x1ec5d6[_0x4e175f(0x230)],'source':_0x150387,'base64Cache':_0x4102aa,'status':_0x411100['SUCCUSS']}),this[_0x4e175f(0x1d0)]();};});}[_0x23ae93(0x31a)](){var _0x440f50=_0x23ae93,_0x18807d;const _0x4a3be4=this[_0x440f50(0x22f)][_0x440f50(0x380)](K);return(_0x18807d=_0x4a3be4==null?void 0x0:_0x4a3be4[_0x440f50(0x1df)])!=null?_0x18807d:zn;}[_0x23ae93(0x1d1)](){var _0x4b6b00;const _0x160d45=this['_configService']['getConfig'](K);return(_0x4b6b00=_0x160d45==null?void 0x0:_0x160d45['signUrlServerUrl'])!=null?_0x4b6b00:Xn;}[_0x23ae93(0x34f)](){var _0x2a880c=_0x23ae93,_0x45d832;const _0x66db12=this[_0x2a880c(0x22f)][_0x2a880c(0x380)](K);return(_0x45d832=_0x66db12==null?void 0x0:_0x66db12['downloadEndpointUrl'])!=null?_0x45d832:location['origin'];}[_0x23ae93(0x323)](_0x4767a5,_0x23bb90){var _0x536b91=_0x23ae93;return _0x4767a5[_0x536b91(0x300)](_0x536b91(0x255),_0x23bb90);}[_0x23ae93(0x1d0)](){var _0x509fa5=_0x23ae93;this[_0x509fa5(0x226)]-=0x1,this[_0x509fa5(0x407)][_0x509fa5(0x418)](this['_waitCount']);}};Rt=Yn([Et(0x0,_0x35e039(_0x2cd902)),Et(0x1,_0x31c935),Et(0x2,_0x35e039(_0x1437e0))],Rt);var Jn=Object[_0x23ae93(0x2f0)],Zn=(_0x26c166,_0x2f77bd,_0x440287,_0x1b0a21)=>{var _0x493e26=_0x23ae93;for(var _0x4f8709=_0x1b0a21>0x1?void 0x0:_0x1b0a21?Jn(_0x2f77bd,_0x440287):_0x2f77bd,_0x2e7593=_0x26c166[_0x493e26(0x2ca)]-0x1,_0x5286b4;_0x2e7593>=0x0;_0x2e7593--)(_0x5286b4=_0x26c166[_0x2e7593])&&(_0x4f8709=_0x5286b4(_0x4f8709)||_0x4f8709);return _0x4f8709;},ri=(_0x27486e,_0x26210e)=>(_0x266098,_0x30173b)=>_0x26210e(_0x266098,_0x30173b,_0x27486e);const Qn=_0x23ae93(0x3b5);let Nt=class{constructor(_0x26e598,_0x223226){var _0x11d689=_0x23ae93;this[_0x11d689(0x22f)]=_0x26e598,this[_0x11d689(0x16d)]=_0x223226;}[_0x23ae93(0x250)](){var _0x448ce9=_0x23ae93,_0x34e035;const _0x2a6147=this[_0x448ce9(0x22f)][_0x448ce9(0x380)](K);return(_0x34e035=_0x2a6147==null?void 0x0:_0x2a6147[_0x448ce9(0x186)])!=null?_0x34e035:Qn;}async['list'](_0x49b472){var _0x2b2128=_0x23ae93;const _0x550831=this['_getAPIPrefixPath']()+_0x2b2128(0x1de);return{'list':[{'title':_0x2b2128(0x12a),'mentions':(await this[_0x2b2128(0x16d)]['get'](_0x550831,{'params':{'objectID':_0x49b472[_0x2b2128(0x2e4)],'unitID':_0x49b472[_0x2b2128(0x2e4)]}}))['body'][_0x2b2128(0x3c9)][_0x2b2128(0x15a)](_0x13bc0f=>({'objectId':_0x13bc0f['id'],'name':_0x13bc0f['subject'][_0x2b2128(0x3c0)],'metadata':{'icon':_0x13bc0f[_0x2b2128(0x384)][_0x2b2128(0x1fc)]},'label':_0x13bc0f[_0x2b2128(0x384)]['name'],'objectType':_0x5adf46[_0x2b2128(0x2f9)]})),'metadata':{},'type':_0x5adf46[_0x2b2128(0x2f9)]}]};}};Nt=Zn([ri(0x0,_0x35e039(_0x31c935)),ri(0x1,_0x35e039(_0x2cd902))],Nt);var er=Object[_0x23ae93(0x2f0)],tr=(_0x5b42f8,_0x481e2b,_0x3d7e59,_0x4da00d)=>{var _0x2da1c1=_0x23ae93;for(var _0x3e7534=_0x4da00d>0x1?void 0x0:_0x4da00d?er(_0x481e2b,_0x3d7e59):_0x481e2b,_0x105d17=_0x5b42f8[_0x2da1c1(0x2ca)]-0x1,_0x3a9ca8;_0x105d17>=0x0;_0x105d17--)(_0x3a9ca8=_0x5b42f8[_0x105d17])&&(_0x3e7534=_0x3a9ca8(_0x3e7534)||_0x3e7534);return _0x3e7534;},Ue=(_0x1db6da,_0x4f2406)=>(_0x2deaaf,_0x4408dc)=>_0x4f2406(_0x2deaaf,_0x4408dc,_0x1db6da);let ot=class extends _0x2d880a{constructor(_0x37796b,_0x403e43,_0x36e8d7,_0x4568e2,_0x1b086b){var _0xa9e21d=_0x23ae93;super(),this['_injector']=_0x37796b,this[_0xa9e21d(0x3a3)]=_0x403e43,this[_0xa9e21d(0x183)]=_0x36e8d7,this[_0xa9e21d(0x111)]=_0x4568e2,this['_collaborationUIEventService']=_0x1b086b,this[_0xa9e21d(0x1b0)](),this[_0xa9e21d(0x33a)]();}[_0x23ae93(0x33a)](){var _0x3a7f9b=_0x23ae93;const _0x3f340e=async _0x2b5542=>{var _0x2fc52b=_0x97e6;(await this[_0x2fc52b(0x111)][_0x2fc52b(0x161)](_0x2b5542))[_0x2fc52b(0x401)][_0x2fc52b(0x20a)](_0x6c24f(_0x364d91=>_0x364d91[_0x2fc52b(0x196)]===_0x2ea533[_0x2fc52b(0x116)]),_0x2439ea(this[_0x2fc52b(0x14c)]))['subscribe'](_0x32a719=>{var _0x4c8c44=_0x2fc52b;const _0x5d15a2=_0x32a719,{reason:_0x3e7b87}=_0x5d15a2[_0x4c8c44(0x10f)];this[_0x4c8c44(0x277)][_0x4c8c44(0x377)]({'id':re[_0x4c8c44(0x34d)],'data':_0x3e7b87}),this[_0x4c8c44(0x183)][_0x4c8c44(0x3c7)](new _0x33890d(_0x2b5542)['id'],!0x1),this[_0x4c8c44(0x111)][_0x4c8c44(0x109)](_0x2b5542);});};_0x1ec902(this['_univerInstanceService'][_0x3a7f9b(0x2c8)](_0x22b478[_0x3a7f9b(0x182)]),this['_univerInstanceService'][_0x3a7f9b(0x2c8)](_0x22b478[_0x3a7f9b(0x261)]))['pipe'](_0x1fc977(_0x26dcd3=>_0x26dcd3[_0x3a7f9b(0x150)]()),_0x6c24f(_0x5eb931=>!_0x21dbff(_0x5eb931)),_0x2439ea(this[_0x3a7f9b(0x14c)]))[_0x3a7f9b(0x1f7)](_0x37f9e9=>{_0x3f340e(_0x37f9e9);});}[_0x23ae93(0x1b0)](){var _0x444e15=_0x23ae93;const _0x396036=async _0x5116dd=>{var _0x28715b=_0x97e6;const _0x30517d=await this[_0x28715b(0x111)]['requireSession'](_0x5116dd),_0x3d194e=this[_0x28715b(0x345)][_0x28715b(0x2a6)](_0x5f2e8a);_0x30517d[_0x28715b(0x401)][_0x28715b(0x20a)](_0x6c24f(_0x3e1599=>_0x3e1599[_0x28715b(0x196)]===_0x2ea533[_0x28715b(0x38b)]),_0x2439ea(this[_0x28715b(0x14c)]))[_0x28715b(0x1f7)](_0x87d7a9=>{var _0x704f89=_0x28715b;const _0x2434ea=_0x87d7a9,{objectId:_0x5747f4}=_0x2434ea[_0x704f89(0x10f)];_0x5747f4===_0x5116dd?_0x3d194e['initWorkbookPermissionChange'](_0x5116dd):_0x3d194e[_0x704f89(0x33c)](_0x5116dd,_0x5747f4);});};_0x1ec902(this[_0x444e15(0x3a3)][_0x444e15(0x2c8)](_0x22b478[_0x444e15(0x182)]))['pipe'](_0x1fc977(_0x151ac8=>_0x151ac8[_0x444e15(0x150)]()),_0x6c24f(_0x3d0c75=>!_0x21dbff(_0x3d0c75)),_0x2439ea(this[_0x444e15(0x14c)]))['subscribe'](_0x3c7ec4=>{_0x396036(_0x3c7ec4);});}};ot=tr([Ue(0x0,_0x35e039(_0xefc734)),Ue(0x1,_0x1437e0),Ue(0x2,_0x556f22),Ue(0x3,_0x35e039(Le)),Ue(0x4,_0x35e039(ve))],ot);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x194b22,_0x3a8a49,_0x25a94d,_0x1f4088)=>{var _0x1af23c=_0x23ae93;for(var _0x2aba31=_0x1f4088>0x1?void 0x0:_0x1f4088?ir(_0x3a8a49,_0x25a94d):_0x3a8a49,_0x46dde2=_0x194b22[_0x1af23c(0x2ca)]-0x1,_0x2410d3;_0x46dde2>=0x0;_0x46dde2--)(_0x2410d3=_0x194b22[_0x46dde2])&&(_0x2aba31=_0x2410d3(_0x2aba31)||_0x2aba31);return _0x2aba31;},ai=(_0x231fe8,_0x36dffd)=>(_0x2550ac,_0x5cff1d)=>_0x36dffd(_0x2550ac,_0x5cff1d,_0x231fe8);let Ct=class{constructor(_0x2496ee,_0x563ac1){this['_configService']=_0x2496ee,this['_httpService']=_0x563ac1;}async['getUnitOnRev'](_0x8d4490,_0x1caa7f){var _0x1ce860=_0x23ae93,_0x39d2eb;const {unitID:_0x283d2f,type:_0x508c69,revision:_0x3e397b=0x0}=_0x1caa7f,_0x3ab667=this[_0x1ce860(0x3fe)]()+'/'+_0x508c69+'/unit/'+_0x283d2f+'/rev/'+_0x3e397b,_0xa367ba=(await this[_0x1ce860(0x2dc)][_0x1ce860(0x2a6)](_0x3ab667))[_0x1ce860(0x235)],_0x257402=(_0x39d2eb=_0xa367ba[_0x1ce860(0x155)])==null?void 0x0:_0x39d2eb[_0x1ce860(0x24a)];if(_0x257402){const _0x4e8bdd=_0x257402==null?void 0x0:_0x257402[_0x1ce860(0x190)],_0xe666ed=_0xfcc702['encode'](_0x1b8e9e(_0x4e8bdd));_0x257402[_0x1ce860(0x190)]=_0xe666ed,Object[_0x1ce860(0x24d)](_0x257402[_0x1ce860(0x2d4)])[_0x1ce860(0x10b)](([,_0x2a075f])=>{var _0x188698=_0x1ce860;const _0x3570cb=_0x2a075f[_0x188698(0x190)],_0x426560=_0xfcc702[_0x188698(0x31d)](_0x1b8e9e(_0x3570cb));_0x2a075f[_0x188698(0x190)]=_0x426560;});}return _0xa367ba;}async[_0x23ae93(0x1c4)](_0x126b11,_0x512701){var _0x1ea273=_0x23ae93;const {unitID:_0x36f3fe,type:_0x4e5757,blockID:_0x138da1}=_0x512701,_0x20a13d=this[_0x1ea273(0x3aa)]()+'/'+_0x4e5757+_0x1ea273(0x41a)+_0x36f3fe+_0x1ea273(0x37c)+_0x138da1;return(await this[_0x1ea273(0x2dc)][_0x1ea273(0x2a6)](_0x20a13d))[_0x1ea273(0x235)];}async[_0x23ae93(0x292)](_0x4a8c36,_0x2e5754){var _0x3d5239=_0x23ae93;const {unitID:_0x86c148,type:_0x1f4bdf,blockID:_0x1d4744}=_0x2e5754,_0x4e78c9=this['_getAPIPrefix']()+_0x3d5239(0x37c)+_0x1f4bdf+_0x3d5239(0x41a)+_0x86c148+'/block/'+_0x1d4744;return(await this['_httpService'][_0x3d5239(0x2a6)](_0x4e78c9))[_0x3d5239(0x235)];}async['fetchMissingChangesets'](_0x4c4a79,_0x3a2600){var _0x3a22d3=_0x23ae93;const {unitID:_0x1a35a0,type:_0xf92333,from:_0x34c6b3,to:_0x4db2d9}=_0x3a2600,_0x304086=this[_0x3a22d3(0x3aa)]()+'/'+_0xf92333+'/unit/'+_0x1a35a0+_0x3a22d3(0x3b7)+_0x34c6b3+_0x3a22d3(0x2ff)+_0x4db2d9;return(await this['_httpService'][_0x3a22d3(0x2a6)](_0x304086))[_0x3a22d3(0x235)];}[_0x23ae93(0x3fe)](){var _0x52a7d1=_0x23ae93,_0x4844cf;return(_0x4844cf=this[_0x52a7d1(0x22f)][_0x52a7d1(0x380)](ps))!=null?_0x4844cf:this[_0x52a7d1(0x3aa)]();}[_0x23ae93(0x3aa)](){var _0x5e267b=_0x23ae93,_0x1de6f8;const _0x2e5dbe=this[_0x5e267b(0x22f)][_0x5e267b(0x380)](K);return(_0x1de6f8=_0x2e5dbe==null?void 0x0:_0x2e5dbe[_0x5e267b(0x13f)])!=null?_0x1de6f8:Es;}async[_0x23ae93(0x3a2)](_0x55581f,_0x369455){var _0x15afdb=_0x23ae93;const _0x74eecc=_0x15afdb(0x3df)+_0x369455[_0x15afdb(0x1a9)]+'/unit/'+_0x369455[_0x15afdb(0x10c)]+_0x15afdb(0x37f);return(await this[_0x15afdb(0x2dc)][_0x15afdb(0x2a6)](_0x74eecc,{'params':{'resourceId':JSON['stringify'](_0x369455[_0x15afdb(0x20b)])}}))['body'];}['saveSnapshot'](){var _0x121b02=_0x23ae93;throw new Error(_0x121b02(0x15d));}[_0x23ae93(0x41d)](){var _0x32afe4=_0x23ae93;throw new Error(_0x32afe4(0x15d));}[_0x23ae93(0x137)](){var _0x359586=_0x23ae93;throw new Error(_0x359586(0x15d));}[_0x23ae93(0x154)](){var _0x1fcaa6=_0x23ae93;throw new Error(_0x1fcaa6(0x15d));}[_0x23ae93(0x2db)](){var _0x2d8cec=_0x23ae93;throw new Error(_0x2d8cec(0x15d));}[_0x23ae93(0x18a)](){var _0x3fa296=_0x23ae93;throw new Error(_0x3fa296(0x15d));}};Ct=sr([ai(0x0,_0x31c935),ai(0x1,_0x35e039(_0x2cd902))],Ct);var nr=Object[_0x23ae93(0x2f0)],rr=(_0x1a0edd,_0x173456,_0x56f793,_0x56a961)=>{for(var _0x2699a3=_0x56a961>0x1?void 0x0:_0x56a961?nr(_0x173456,_0x56f793):_0x173456,_0x3636ab=_0x1a0edd['length']-0x1,_0x371fba;_0x3636ab>=0x0;_0x3636ab--)(_0x371fba=_0x1a0edd[_0x3636ab])&&(_0x2699a3=_0x371fba(_0x2699a3)||_0x2699a3);return _0x2699a3;},Ae=(_0x31635f,_0x478c17)=>(_0x115373,_0x577dc2)=>_0x478c17(_0x115373,_0x577dc2,_0x31635f);let bt=class extends _0x33ad4f{constructor(_0x6b0f5e,_0x53294b,_0x49d62a,_0x35d1a2,_0x2af436){super(_0x6b0f5e,_0x53294b,_0x49d62a),this['_transformService']=_0x35d1a2,this['_logService']=_0x2af436;}[_0x23ae93(0x391)](_0x526896,_0x3cb4b2){var _0xcf4368=_0x23ae93;const _0x4b5b07=this[_0xcf4368(0x39b)](_0x526896);if(_0x4b5b07)try{const _0x3c9e7b=this[_0xcf4368(0x2de)](_0x4b5b07,_0x3cb4b2);this[_0xcf4368(0x257)](_0x526896,_0x3c9e7b);}catch(_0x5a6738){this[_0xcf4368(0x413)][_0xcf4368(0x14f)]('[CollaborationUndoRedoService]',_0x5a6738),this[_0xcf4368(0x1cd)](_0x526896);}const _0x45458e=this[_0xcf4368(0x3db)](_0x526896);if(_0x45458e)try{const _0x4c21c3=this[_0xcf4368(0x2de)](_0x45458e,_0x3cb4b2);this[_0xcf4368(0x28d)](_0x526896,_0x4c21c3);}catch(_0x413f1d){this['_logService'][_0xcf4368(0x14f)](_0x413f1d),this[_0xcf4368(0x36b)](_0x526896);}}[_0x23ae93(0x1cd)](_0x2dc541){var _0xe6804c=_0x23ae93;const _0x29450f=this[_0xe6804c(0x39b)](_0x2dc541);_0x29450f&&(_0x29450f['length']=0x0,this[_0xe6804c(0x30a)]());}[_0x23ae93(0x36b)](_0x252bd1){var _0x399d0f=_0x23ae93;const _0x8a3174=this[_0x399d0f(0x3db)](_0x252bd1);_0x8a3174&&(_0x8a3174['length']=0x0,this[_0x399d0f(0x30a)]());}[_0x23ae93(0x257)](_0x4a7d97,_0x5a3361){var _0x12582d=_0x23ae93;this[_0x12582d(0x14d)]['set'](_0x4a7d97,_0x5a3361),this[_0x12582d(0x30a)]();}[_0x23ae93(0x28d)](_0xfc6743,_0x1b9431){var _0x289253=_0x23ae93;this[_0x289253(0x34b)][_0x289253(0x37a)](_0xfc6743,_0x1b9431),this[_0x289253(0x30a)]();}[_0x23ae93(0x2de)](_0x12e7dc,_0x26b9ba){var _0x5af797=_0x23ae93;const _0xccb9f0=[];let _0x1afa63=_0x26b9ba,_0xce4d0d=_0x26b9ba;for(let _0x217b69=_0x12e7dc[_0x5af797(0x2ca)]-0x1;_0x217b69>=0x0;_0x217b69--){const {unitID:_0x4627ce,undoMutations:_0x1bc533,redoMutations:_0x32e98e}=_0x12e7dc[_0x217b69],_0x4ca493=this[_0x5af797(0x177)][_0x5af797(0x41c)](_0x1afa63,_0x1bc533),_0x503525=this[_0x5af797(0x177)]['transformMutationsWithChangeset'](_0xce4d0d,_0x32e98e);if(_0x581472(_0x4ca493)||_0x581472(_0x503525)){this[_0x5af797(0x413)][_0x5af797(0x14f)](_0x5af797(0x3a6),_0x5af797(0x2bb),_0x4ca493,_0x503525);break;}_0x1afa63=_0x4ca493[_0x5af797(0x21f)],_0xce4d0d=_0x503525[_0x5af797(0x21f)],_0xccb9f0['push']({'unitID':_0x4627ce,'undoMutations':_0x4ca493['m2Prime'],'redoMutations':_0x503525['m2Prime']});}return _0xccb9f0[_0x5af797(0x3b4)]();}};bt=rr([Ae(0x0,_0x1437e0),Ae(0x1,_0x146785),Ae(0x2,_0x2c2426),Ae(0x3,_0x3b1162),Ae(0x4,_0x1e4e23)],bt);var ar=Object['defineProperty'],or=Object[_0x23ae93(0x2f0)],cr=(_0x4fe3d7,_0xef1390,_0x18a724)=>_0xef1390 in _0x4fe3d7?ar(_0x4fe3d7,_0xef1390,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18a724}):_0x4fe3d7[_0xef1390]=_0x18a724,_r=(_0x27de63,_0x2f12ed,_0x50243c,_0xefda7b)=>{var _0x2e39b6=_0x23ae93;for(var _0xce4a3f=_0xefda7b>0x1?void 0x0:_0xefda7b?or(_0x2f12ed,_0x50243c):_0x2f12ed,_0x547ccc=_0x27de63[_0x2e39b6(0x2ca)]-0x1,_0x2de90e;_0x547ccc>=0x0;_0x547ccc--)(_0x2de90e=_0x27de63[_0x547ccc])&&(_0xce4a3f=_0x2de90e(_0xce4a3f)||_0xce4a3f);return _0xce4a3f;},pt=(_0x2d055e,_0x481edc)=>(_0x57db14,_0xc6328f)=>_0x481edc(_0x57db14,_0xc6328f,_0x2d055e),hr=(_0x168712,_0x6648ef,_0x502631)=>cr(_0x168712,_0x6648ef+'',_0x502631);const lr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x439d09{constructor(_0x2f8090,_0x6679c3,_0x1ba23b,_0x2752a7){var _0x311348=_0x23ae93;super(),D(this,_0x311348(0x34c)),(this[_0x311348(0x413)]=_0x6679c3,this[_0x311348(0x345)]=_0x1ba23b,this[_0x311348(0x22f)]=_0x2752a7);const {..._0x5f3e43}=_0x1bc8ae({},ks,_0x2f8090);if(!_0x5f3e43[_0x311348(0x10e)])throw new Error(_0x311348(0x30e));this[_0x311348(0x34c)]=_0x5f3e43,this['_configService'][_0x311348(0x146)](K,_0x5f3e43);}[_0x23ae93(0x122)](){var _0x242495=_0x23ae93;this['_registerDependencies'](),this[_0x242495(0x40b)]();}[_0x23ae93(0x35d)](){var _0x1093c1=_0x23ae93,_0x1c8a2,_0x51bb39;this[_0x1093c1(0x345)][_0x1093c1(0x2af)](_0x3d8dad)&&this[_0x1093c1(0x413)][_0x1093c1(0x14f)]('[UniverCollaborationClientPlugin]',_0x1093c1(0x242));const _0x3cc5ba=_0x40d90d([[_0x3d8dad,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x1093c1(0x34c)]['socketService']}],[_0xc11dd0,{'useClass':Ct}],[_0x33e92e,{'useClass':Tt}],[_0x3d890d,{'useClass':Rt}],[_0x4deb8d,{'useClass':Nt}],[nt],[gt]],(_0x1c8a2=this['_config'])==null?void 0x0:_0x1c8a2['override']);if(!((_0x51bb39=this[_0x1093c1(0x34c)])!=null&&_0x51bb39[_0x1093c1(0x145)])){const _0x176b5b=_0x3cc5ba['findIndex'](([_0x32213c])=>_0x32213c===_t);_0x176b5b!==-0x1&&_0x3cc5ba[_0x1093c1(0x1b5)](_0x176b5b,0x1);}_0xd201db(this['_injector'],_0x3cc5ba);}['_initDependencies'](){var _0x3f9ff9=_0x23ae93,_0x35d36c,_0x3bd296,_0x21a114;this[_0x3f9ff9(0x345)][_0x3f9ff9(0x2a6)](_0x2cd902)[_0x3f9ff9(0x40c)]({'priority':0x14,'interceptor':_0x51a95e({'maxParallel':0x6})}),(_0x35d36c=this[_0x3f9ff9(0x34c)])!=null&&_0x35d36c[_0x3f9ff9(0x272)]||(_0x3bd296=this['_injector'][_0x3f9ff9(0x2a6)](X,_0x4457a7['OPTIONAL']))==null||_0x3bd296['disableLocalCache'](),(_0x21a114=this[_0x3f9ff9(0x34c)])!=null&&_0x21a114[_0x3f9ff9(0x399)]&&_0x19992a(this[_0x3f9ff9(0x345)],[[rt]]),_0x19992a(this[_0x3f9ff9(0x345)],[[at],[nt],[ot]]);}};hr(Dt,'pluginName',lr),Dt=_r([_0xdd19be(_0x3c5d3c,_0x55fa50),pt(0x1,_0x1e4e23),pt(0x2,_0x35e039(_0xefc734)),pt(0x3,_0x31c935)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};