@univerjs-pro/collaboration-client 0.12.2-experimental.20251201-5b27b55 → 0.12.2-experimental.20251202-7f1a98f

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 +9 -9
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x2a1005=_0x44d6;(function(_0x43fef0,_0x2d55f7){var _0x2aa81d=_0x44d6,_0x3b02b6=_0x43fef0();while(!![]){try{var _0x1c95c0=parseInt(_0x2aa81d(0x3f8))/0x1+parseInt(_0x2aa81d(0x1d0))/0x2+parseInt(_0x2aa81d(0x2ed))/0x3*(-parseInt(_0x2aa81d(0x459))/0x4)+parseInt(_0x2aa81d(0x3a5))/0x5*(parseInt(_0x2aa81d(0x2eb))/0x6)+-parseInt(_0x2aa81d(0x24d))/0x7*(-parseInt(_0x2aa81d(0x44b))/0x8)+-parseInt(_0x2aa81d(0x3ae))/0x9+parseInt(_0x2aa81d(0x40c))/0xa*(parseInt(_0x2aa81d(0x21a))/0xb);if(_0x1c95c0===_0x2d55f7)break;else _0x3b02b6['push'](_0x3b02b6['shift']());}catch(_0x1f1f7f){_0x3b02b6['push'](_0x3b02b6['shift']());}}}(_0x31db,0x1fc3f));var bi=Object['defineProperty'],Di=(_0x5a3d31,_0x1ea0a4,_0x1e1f06)=>_0x1ea0a4 in _0x5a3d31?bi(_0x5a3d31,_0x1ea0a4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e1f06}):_0x5a3d31[_0x1ea0a4]=_0x1e1f06,D=(_0x2da950,_0x43be3b,_0x472b93)=>Di(_0x2da950,typeof _0x43be3b!=_0x2a1005(0x173)?_0x43be3b+'':_0x43be3b,_0x472b93);import{CollaborationEvent as _0x562005,ITransformService as _0x32b219,isTransformMutationsWithChangesetSuccess as _0x5b4126,mapDocumentTypeToUniverType as _0x405baf,RevisionService as _0x5ed83b,isTransformChangesetsSuccess as _0xbfa6d7,EmptyMutationInfo as _0x1bd8a5,CompressMutationService as _0x4f5830,parseProtocolChangeset as _0x2cb9eb,uuidv4 as _0x3cedbe,ISnapshotServerService as _0x3b2e01,parseChangesetToProtocol as _0x437722,SnapshotService as _0x5e41dd,textEncoder as _0xb2d770,b64DecodeUnicode as _0x3da0bd,isTransformMutationsWithChangesetFailure as _0x4e20cb,UniverCollaborationPlugin as _0x27883c}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x226b33,Inject as _0x941461,UserManagerService as _0x109b4c,Disposable as _0x4f60b7,UniverInstanceType as _0x5a5755,ILogService as _0x59ee6a,IConfigService as _0xf25e91,Optional as _0x475d23,RxDisposable as _0x23e95c,createIdentifier as _0x59652a,Injector as _0x197f37,Tools as _0x53c569,Rectangle as _0x5ae757,ICommandService as _0x5761a5,JSONX as _0x20f01f,IUndoRedoService as _0x100842,IPermissionService as _0x2e3c89,LocaleService as _0x139ca,sequenceExecute as _0x5f5548,toDisposable as _0x56841c,CommandType as _0x275b65,DisposableCollection as _0x1139e1,Workbook as _0x435e6f,generateRandomId as _0x4421e1,MentionType as _0x50afd5,isInternalEditorID as _0x29aee6,LocalUndoRedoService as _0x3c4f45,IContextService as _0x18cbc6,DependentOn as _0x23506d,Plugin as _0x5874ae,merge as _0x4fbb99,mergeOverrideWithDependencies as _0x14a46a,IAuthzIoService as _0x3ce982,IMentionIOService as _0x5db34e,registerDependencies as _0x37813c,Quantity as _0x54979a,touchDependencies as _0x54a1c}from'@univerjs/core';import{RichTextEditingMutation as _0x4255d0}from'@univerjs/docs';import{SheetsSelectionsService as _0x12d8a9,SetSelectionsOperation as _0x22ca47,InsertSheetMutation as _0x402bee,WorkbookEditablePermission as _0x4686f,SheetPermissionInitController as _0x332961}from'@univerjs/sheets';import{Subject as _0x3cfa67,merge as _0x2073ce,of as _0x4c6e5a,BehaviorSubject as _0x23d601,takeUntil as _0x1ba289,ReplaySubject as _0x524207,take as _0x824240,map as _0x329a31,shareReplay as _0x4fe8b6,firstValueFrom as _0x536566,concatMap as _0xf3e201}from'rxjs';import{ITelemetryService as _0xce0b}from'@univerjs/telemetry';import{map as _0x147ad4,take as _0x15ff55,filter as _0x47aea4,delay as _0x2e948d,takeUntil as _0x5bab8d}from'rxjs/operators';import{HTTPService as _0x2ff5b1,ISocketService as _0x31c9d3,MergeInterceptorFactory as _0xc6c2dd,HTTPRequest as _0x5bed9a,UniverNetworkPlugin as _0x5d5e7e,ThresholdInterceptorFactory as _0x45934a}from'@univerjs/network';import{ImageSourceType as _0x172a75,ImageUploadStatusType as _0x3d9f1,IImageIoService as _0x16fffd}from'@univerjs/drawing';import{getGlobalObject as _0x257f7b}from'@univerjs-pro/license';const fs=_0x2a1005(0x230),vs=_0x2a1005(0x1b1),ps=0x7d0,Es=_0x2a1005(0x34c),Sr=_0x2a1005(0x16d),ms=_0x2a1005(0x2d4),Is=0x7530,di=_0x2a1005(0x283),fi=0x4e20,Ss=0x4e20,gs='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,gr=_0x2a1005(0x394),Tr=0x3e8,Os=_0x2a1005(0x2ae),Rs=_0x2a1005(0x3f1),Or=_0x2a1005(0x2b9),Rr='/universer-api/uniscript';var vi=(_0x5d263c=>(_0x5d263c[_0x5d263c[_0x2a1005(0x29a)]=0x0]=_0x2a1005(0x29a),_0x5d263c[_0x5d263c['OK']=0x1]='OK',_0x5d263c[_0x5d263c[_0x2a1005(0x1cd)]=0x2]=_0x2a1005(0x1cd),_0x5d263c[_0x5d263c[_0x2a1005(0x313)]=0x3]=_0x2a1005(0x313),_0x5d263c[_0x5d263c['NOT_FOUND']=0x4]=_0x2a1005(0x441),_0x5d263c[_0x5d263c[_0x2a1005(0x2a9)]=0x5]=_0x2a1005(0x2a9),_0x5d263c[_0x5d263c['ALREADY_EXISTS']=0x6]=_0x2a1005(0x202),_0x5d263c[_0x5d263c['INVALID_ARGUMENT']=0x7]=_0x2a1005(0x26b),_0x5d263c[_0x5d263c[_0x2a1005(0x183)]=0x8]=_0x2a1005(0x183),_0x5d263c[_0x5d263c[_0x2a1005(0x22c)]=0x9]=_0x2a1005(0x22c),_0x5d263c[_0x5d263c['LOGIN_FAILED']=0xa]=_0x2a1005(0x3f0),_0x5d263c[_0x5d263c[_0x2a1005(0x423)]=0xb]=_0x2a1005(0x423),_0x5d263c[_0x5d263c[_0x2a1005(0x3ec)]=0xc]=_0x2a1005(0x3ec),_0x5d263c[_0x5d263c[_0x2a1005(0x218)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5d263c[_0x5d263c['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x2a1005(0x308),_0x5d263c[_0x5d263c[_0x2a1005(0x303)]=0xf]=_0x2a1005(0x303),_0x5d263c[_0x5d263c[_0x2a1005(0x1ed)]=0x10]=_0x2a1005(0x1ed),_0x5d263c[_0x5d263c[_0x2a1005(0x162)]=0x64]=_0x2a1005(0x162),_0x5d263c[_0x5d263c['ERROR_AGAIN']=0x65]=_0x2a1005(0x270),_0x5d263c[_0x5d263c[_0x2a1005(0x433)]=0xc9]='USER_NOT_FOUND',_0x5d263c[_0x5d263c[_0x2a1005(0x472)]=0xca]=_0x2a1005(0x472),_0x5d263c[_0x5d263c[_0x2a1005(0x227)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5d263c[_0x5d263c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5d263c[_0x5d263c[_0x2a1005(0x2a5)]=0x1772]=_0x2a1005(0x2a5),_0x5d263c[_0x5d263c[_0x2a1005(0x34b)]=0x1773]=_0x2a1005(0x34b),_0x5d263c[_0x5d263c['APPLY_REJECT']=0x1b59]=_0x2a1005(0x3e8),_0x5d263c[_0x5d263c[_0x2a1005(0x15c)]=0x1b5a]=_0x2a1005(0x15c),_0x5d263c[_0x5d263c[_0x2a1005(0x2c9)]=0x1b5b]=_0x2a1005(0x2c9),_0x5d263c[_0x5d263c[_0x2a1005(0x40b)]=0x1b5c]=_0x2a1005(0x40b),_0x5d263c[_0x5d263c['APPLY_DUPLICATED']=0x1b5d]=_0x2a1005(0x400),_0x5d263c[_0x5d263c[_0x2a1005(0x15d)]=0x1f41]=_0x2a1005(0x15d),_0x5d263c[_0x5d263c[_0x2a1005(0x3cb)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5d263c[_0x5d263c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2a1005(0x279),_0x5d263c[_0x5d263c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2a1005(0x338),_0x5d263c[_0x5d263c[_0x2a1005(0x1c2)]=0x232c]=_0x2a1005(0x1c2),_0x5d263c[_0x5d263c[_0x2a1005(0x281)]=0x232d]=_0x2a1005(0x281),_0x5d263c[_0x5d263c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2a1005(0x43a),_0x5d263c[_0x5d263c[_0x2a1005(0x204)]=0x2712]=_0x2a1005(0x204),_0x5d263c[_0x5d263c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5d263c[_0x5d263c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2a1005(0x1b0),_0x5d263c[_0x5d263c[_0x2a1005(0x29b)]=0x271a]=_0x2a1005(0x29b),_0x5d263c[_0x5d263c[_0x2a1005(0x25f)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5d263c[_0x5d263c[_0x2a1005(0x1a1)]=0x271c]=_0x2a1005(0x1a1),_0x5d263c[_0x5d263c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5d263c[_0x5d263c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2a1005(0x382),_0x5d263c[_0x5d263c['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5d263c[_0x5d263c[_0x2a1005(0x34f)]=0x2720]=_0x2a1005(0x34f),_0x5d263c[_0x5d263c[_0x2a1005(0x160)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5d263c[_0x5d263c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2a1005(0x310),_0x5d263c[_0x5d263c['INVALID_INVITE_CODE']=0x2ee2]=_0x2a1005(0x33c),_0x5d263c[_0x5d263c[_0x2a1005(0x327)]=0x2ee3]=_0x2a1005(0x327),_0x5d263c[_0x5d263c[_0x2a1005(0x325)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5d263c[_0x5d263c[_0x2a1005(0x312)]=0x2ee5]=_0x2a1005(0x312),_0x5d263c[_0x5d263c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2a1005(0x291),_0x5d263c[_0x5d263c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2a1005(0x38b),_0x5d263c[_0x5d263c[_0x2a1005(0x427)]=0x32cb]=_0x2a1005(0x427),_0x5d263c[_0x5d263c['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5d263c[_0x5d263c[_0x2a1005(0x3e4)]=0x36b2]=_0x2a1005(0x3e4),_0x5d263c[_0x5d263c[_0x2a1005(0x1f8)]=0x36b3]=_0x2a1005(0x1f8),_0x5d263c[_0x5d263c[_0x2a1005(0x334)]=0x36b4]=_0x2a1005(0x334),_0x5d263c[_0x5d263c['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x2a1005(0x30a),_0x5d263c[_0x5d263c[_0x2a1005(0x3bf)]=0x3716]=_0x2a1005(0x3bf),_0x5d263c[_0x5d263c[_0x2a1005(0x3a0)]=0x3717]=_0x2a1005(0x3a0),_0x5d263c[_0x5d263c[_0x2a1005(0x277)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5d263c[_0x5d263c[_0x2a1005(0x26a)]=0x3a99]=_0x2a1005(0x26a),_0x5d263c[_0x5d263c[_0x2a1005(0x211)]=0x3a9a]=_0x2a1005(0x211),_0x5d263c[_0x5d263c[_0x2a1005(0x355)]=0x3a9b]=_0x2a1005(0x355),_0x5d263c[_0x5d263c[_0x2a1005(0x3ad)]=0x3a9c]=_0x2a1005(0x3ad),_0x5d263c[_0x5d263c[_0x2a1005(0x37a)]=0x3a9d]=_0x2a1005(0x37a),_0x5d263c[_0x5d263c[_0x2a1005(0x41d)]=0x3a9e]=_0x2a1005(0x41d),_0x5d263c[_0x5d263c[_0x2a1005(0x475)]=0x3a9f]=_0x2a1005(0x475),_0x5d263c[_0x5d263c[_0x2a1005(0x209)]=0x3e81]=_0x2a1005(0x209),_0x5d263c[_0x5d263c['UNRECOGNIZED']=-0x1]=_0x2a1005(0x2db),_0x5d263c))(vi||{}),Q=(_0x521ee7=>(_0x521ee7[_0x521ee7['UNIVER_UNKNOWN']=0x0]=_0x2a1005(0x336),_0x521ee7[_0x521ee7[_0x2a1005(0x17b)]=0x1]='UNIVER_DOC',_0x521ee7[_0x521ee7[_0x2a1005(0x228)]=0x2]=_0x2a1005(0x228),_0x521ee7[_0x521ee7['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x521ee7[_0x521ee7[_0x2a1005(0x3f4)]=0x4]='UNIVER_PROJECT',_0x521ee7[_0x521ee7[_0x2a1005(0x2db)]=-0x1]=_0x2a1005(0x2db),_0x521ee7))(Q||{}),j=(_0x7bcac=>(_0x7bcac[_0x7bcac['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x7bcac[_0x7bcac[_0x2a1005(0x39d)]=0x1]=_0x2a1005(0x39d),_0x7bcac[_0x7bcac[_0x2a1005(0x357)]=0x2]=_0x2a1005(0x357),_0x7bcac[_0x7bcac['LEAVE']=0x3]=_0x2a1005(0x194),_0x7bcac[_0x7bcac[_0x2a1005(0x36a)]=0x4]=_0x2a1005(0x36a),_0x7bcac[_0x7bcac['HEARTBEAT']=0x5]=_0x2a1005(0x1c3),_0x7bcac[_0x7bcac['RECV']=0x6]=_0x2a1005(0x243),_0x7bcac[_0x7bcac[_0x2a1005(0x2db)]=-0x1]=_0x2a1005(0x2db),_0x7bcac))(j||{}),pe=(_0x2923ce=>(_0x2923ce[_0x2923ce[_0x2a1005(0x309)]=0x0]=_0x2a1005(0x309),_0x2923ce[_0x2923ce['OK']=0x1]='OK',_0x2923ce[_0x2923ce['FAIL']=0x2]=_0x2a1005(0x2f3),_0x2923ce[_0x2923ce[_0x2a1005(0x3d7)]=0x3e9]=_0x2a1005(0x3d7),_0x2923ce[_0x2923ce[_0x2a1005(0x234)]=0x3ea]=_0x2a1005(0x234),_0x2923ce[_0x2923ce[_0x2a1005(0x378)]=0x3eb]=_0x2a1005(0x378),_0x2923ce[_0x2923ce[_0x2a1005(0x174)]=0x3ec]=_0x2a1005(0x174),_0x2923ce[_0x2923ce[_0x2a1005(0x2db)]=-0x1]='UNRECOGNIZED',_0x2923ce))(pe||{}),pi=(_0x18dbf6=>(_0x18dbf6[_0x18dbf6[_0x2a1005(0x385)]=0x0]=_0x2a1005(0x385),_0x18dbf6[_0x18dbf6[_0x2a1005(0x25d)]=0x1]='HttpImport',_0x18dbf6[_0x18dbf6[_0x2a1005(0x1f2)]=0x2]=_0x2a1005(0x1f2),_0x18dbf6[_0x18dbf6[_0x2a1005(0x27f)]=0x3]=_0x2a1005(0x27f),_0x18dbf6[_0x18dbf6[_0x2a1005(0x3b6)]=0x4]='UnitSnapshot',_0x18dbf6[_0x18dbf6[_0x2a1005(0x42c)]=0x5]='UserProfileImg',_0x18dbf6[_0x18dbf6[_0x2a1005(0x3dd)]=0x6]=_0x2a1005(0x3dd),_0x18dbf6[_0x18dbf6[_0x2a1005(0x2db)]=-0x1]=_0x2a1005(0x2db),_0x18dbf6))(pi||{});const Cs='collaboration_new_changeset';function Ns(_0x36c8ca){var _0x2812ce=_0x2a1005;return JSON['stringify'](_0x36c8ca)[_0x2812ce(0x2c6)];}var re=(_0x20c9c5=>(_0x20c9c5[_0x2a1005(0x454)]=_0x2a1005(0x454),_0x20c9c5['PERMISSION_DENIED']=_0x2a1005(0x313),_0x20c9c5[_0x2a1005(0x24a)]=_0x2a1005(0x24a),_0x20c9c5['CLOSE_ROOM']='CLOSE_ROOM',_0x20c9c5[_0x2a1005(0x1f5)]=_0x2a1005(0x1f5),_0x20c9c5['SOCKET_FAILED_RETRY']=_0x2a1005(0x17c),_0x20c9c5['SOCKET_FAILED']=_0x2a1005(0x31a),_0x20c9c5[_0x2a1005(0x25a)]=_0x2a1005(0x25a),_0x20c9c5))(re||{});class ve{constructor(){var _0x354798=_0x2a1005;D(this,_0x354798(0x1fc),new _0x3cfa67()),D(this,_0x354798(0x1c6),this[_0x354798(0x1fc)]['asObservable']());}[_0x2a1005(0x212)](_0x4bb9ea){var _0x448e9b=_0x2a1005;this[_0x448e9b(0x1fc)][_0x448e9b(0x1cf)](_0x4bb9ea);}}class Ei{constructor(){var _0x2e1452=_0x2a1005;D(this,_0x2e1452(0x1e8),new _0x3cfa67()),D(this,_0x2e1452(0x2a3),this[_0x2e1452(0x1e8)][_0x2e1452(0x195)]());}['onCommentUpdate'](_0x3dc69e){var _0x587e00=_0x2a1005;this[_0x587e00(0x1e8)][_0x587e00(0x1cf)](_0x3dc69e);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x1b0690,_0x4521d9,_0x3e49e3,_0x343f5a)=>{var _0x3bb9d7=_0x2a1005;for(var _0x2d6913=_0x343f5a>0x1?void 0x0:_0x343f5a?bs(_0x4521d9,_0x3e49e3):_0x4521d9,_0x59bb35=_0x1b0690[_0x3bb9d7(0x2c6)]-0x1,_0x1c08ad;_0x59bb35>=0x0;_0x59bb35--)(_0x1c08ad=_0x1b0690[_0x59bb35])&&(_0x2d6913=_0x1c08ad(_0x2d6913)||_0x2d6913);return _0x2d6913;},Ft=(_0x421443,_0x2d0f25)=>(_0x226ee9,_0x6779ec)=>_0x2d0f25(_0x226ee9,_0x6779ec,_0x421443);let Pe=class extends _0x4f60b7{constructor(_0x24cf5e,_0x195bc1){var _0x56789a=_0x2a1005;super(),D(this,'_roomMembers',new Map()),D(this,_0x56789a(0x398),new _0x3cfa67()),(this['_univerInstanceService']=_0x24cf5e,this[_0x56789a(0x321)]=_0x195bc1,this[_0x56789a(0x2e7)](_0x2073ce(this[_0x56789a(0x373)]['getTypeOfUnitDisposed$'](_0x5a5755[_0x56789a(0x228)])[_0x56789a(0x368)](_0x147ad4(_0x5847a2=>_0x5847a2[_0x56789a(0x2bd)]())),this[_0x56789a(0x373)]['getTypeOfUnitDisposed$'](_0x5a5755['UNIVER_DOC'])[_0x56789a(0x368)](_0x147ad4(_0x58a1b4=>_0x58a1b4[_0x56789a(0x2bd)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5a5755[_0x56789a(0x3f9)])[_0x56789a(0x368)](_0x147ad4(_0x367a25=>_0x367a25['getUnitId']())))[_0x56789a(0x1dc)](_0x526af6=>this[_0x56789a(0x26d)](_0x526af6))));}[_0x2a1005(0x392)](_0x2033ea){var _0x476b18=_0x2a1005;return this[_0x476b18(0x44f)][_0x476b18(0x2aa)](_0x2033ea)?_0x4c6e5a(this[_0x476b18(0x44f)]['get'](_0x2033ea)):this['_roomCreated$'][_0x476b18(0x368)](_0x147ad4(_0x93f2a9=>{var _0x172e97=_0x476b18;if(_0x93f2a9===_0x2033ea)return this[_0x172e97(0x44f)][_0x172e97(0x20f)](_0x93f2a9);}));}['setCurrentUser'](_0x4ad1d0){var _0x5ae24b=_0x2a1005;this[_0x5ae24b(0x321)]['setCurrentUser'](_0x4ad1d0);}[_0x2a1005(0x17f)](){var _0x6dd076=_0x2a1005;return this[_0x6dd076(0x321)][_0x6dd076(0x17f)]();}[_0x2a1005(0x379)](_0x5ed5c4,_0x318011){var _0x46d0b4=_0x2a1005;let _0x11d622=this[_0x46d0b4(0x44f)][_0x46d0b4(0x20f)](_0x5ed5c4);_0x11d622||(_0x11d622=new ys(),this[_0x46d0b4(0x44f)][_0x46d0b4(0x2f9)](_0x5ed5c4,_0x11d622),this[_0x46d0b4(0x398)][_0x46d0b4(0x1cf)](_0x5ed5c4)),_0x11d622[_0x46d0b4(0x379)](_0x318011);}[_0x2a1005(0x318)](_0x17fc40,_0x30c9d1){var _0x17e9f7=_0x2a1005;const _0x38339f=this[_0x17e9f7(0x44f)][_0x17e9f7(0x20f)](_0x17fc40);_0x38339f&&_0x38339f[_0x17e9f7(0x318)](_0x30c9d1);}[_0x2a1005(0x3a7)](_0x1039f6){var _0x5d0b74=_0x2a1005;return this[_0x5d0b74(0x44f)]['get'](_0x1039f6);}['getMember'](_0x1465d6,_0x430aef){var _0x3c8cc9=_0x2a1005;const _0x124f6a=this[_0x3c8cc9(0x44f)][_0x3c8cc9(0x20f)](_0x1465d6);if(_0x124f6a)return _0x124f6a[_0x3c8cc9(0x43f)](_0x430aef);}[_0x2a1005(0x26d)](_0x3eb003){var _0x23fc06=_0x2a1005;const _0x2adf78=this[_0x23fc06(0x44f)][_0x23fc06(0x20f)](_0x3eb003);_0x2adf78&&(_0x2adf78[_0x23fc06(0x40a)](),this[_0x23fc06(0x44f)][_0x23fc06(0x352)](_0x3eb003));}[_0x2a1005(0x40a)](){var _0x1b8dcf=_0x2a1005;this[_0x1b8dcf(0x44f)][_0x1b8dcf(0x34a)](_0x43d998=>_0x43d998[_0x1b8dcf(0x40a)]()),this[_0x1b8dcf(0x44f)][_0x1b8dcf(0x3b7)](),this[_0x1b8dcf(0x398)][_0x1b8dcf(0x3d6)]();}};Pe=Ds([Ft(0x0,_0x226b33),Ft(0x1,_0x941461(_0x109b4c))],Pe);class ys extends _0x4f60b7{constructor(){var _0x2f52a4=_0x2a1005;super(...arguments),D(this,_0x2f52a4(0x3ee),new Map()),D(this,_0x2f52a4(0x36f),new _0x23d601(this[_0x2f52a4(0x3ee)])),D(this,_0x2f52a4(0x335),this['_members$']['asObservable']());}['dispose'](){var _0x1f9dea=_0x2a1005;this[_0x1f9dea(0x3ee)][_0x1f9dea(0x3b7)]();}[_0x2a1005(0x379)](_0x49cc80){var _0x4b0303=_0x2a1005;this[_0x4b0303(0x3ee)][_0x4b0303(0x2f9)](_0x49cc80['memberID'],_0x49cc80),this['_emitMembers']();}[_0x2a1005(0x318)](_0x316a59){var _0x275493=_0x2a1005;this[_0x275493(0x3ee)][_0x275493(0x352)](_0x316a59);}['getMember'](_0x172da5){var _0x329ebb=_0x2a1005;return this[_0x329ebb(0x3ee)][_0x329ebb(0x20f)](_0x172da5);}['getAllMembers'](){var _0x7ab5dc=_0x2a1005;return Array[_0x7ab5dc(0x3b9)](this[_0x7ab5dc(0x3ee)][_0x7ab5dc(0x41e)]());}['_emitMembers'](){var _0x58d1a2=_0x2a1005;this[_0x58d1a2(0x36f)][_0x58d1a2(0x1cf)](this['_members']);}}var Us=Object[_0x2a1005(0x163)],As=(_0x14f5f2,_0x3d0ce7,_0x3fe53a,_0x8163f0)=>{for(var _0x2ce94f=_0x8163f0>0x1?void 0x0:_0x8163f0?Us(_0x3d0ce7,_0x3fe53a):_0x3d0ce7,_0x7df205=_0x14f5f2['length']-0x1,_0x6f06e3;_0x7df205>=0x0;_0x7df205--)(_0x6f06e3=_0x14f5f2[_0x7df205])&&(_0x2ce94f=_0x6f06e3(_0x2ce94f)||_0x2ce94f);return _0x2ce94f;},Oe=(_0x1b3a12,_0x1dc170)=>(_0x546417,_0x2258b1)=>_0x1dc170(_0x546417,_0x2258b1,_0x1b3a12),me=(_0x5637c0=>(_0x5637c0[_0x5637c0[_0x2a1005(0x30b)]=0x0]=_0x2a1005(0x30b),_0x5637c0[_0x5637c0[_0x2a1005(0x344)]=0x1]=_0x2a1005(0x344),_0x5637c0[_0x5637c0['OFFLINE']=0x2]=_0x2a1005(0x40d),_0x5637c0[_0x5637c0[_0x2a1005(0x18d)]=0x3]=_0x2a1005(0x18d),_0x5637c0))(me||{});const jt={[pe[_0x2a1005(0x2f3)]]:_0x2a1005(0x407),[pe[_0x2a1005(0x3d7)]]:_0x2a1005(0x409),[pe[_0x2a1005(0x234)]]:_0x2a1005(0x1f0),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x2a1005(0x302),[pe[_0x2a1005(0x174)]]:_0x2a1005(0x298)};let mt=class extends _0x23e95c{constructor(_0x44ad9c,_0x163387,_0x136f9b,_0x288e14,_0x1c53f5,_0x5ccb65,_0x2a4407,_0x26741f){var _0x278479=_0x2a1005;super(),D(this,_0x278479(0x27a),new _0x23d601(0x0)),D(this,_0x278479(0x24b),this[_0x278479(0x27a)][_0x278479(0x195)]()),D(this,_0x278479(0x1fc),new _0x3cfa67()),D(this,_0x278479(0x1c6),this[_0x278479(0x1fc)][_0x278479(0x195)]()),D(this,_0x278479(0x45d)),D(this,_0x278479(0x177)),D(this,_0x278479(0x267)),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this[_0x278479(0x260)]=_0x44ad9c,this[_0x278479(0x32a)]=_0x136f9b,this[_0x278479(0x206)]=_0x288e14,this['_memberService']=_0x1c53f5,this['_commentService']=_0x5ccb65,this[_0x278479(0x331)]=_0x2a4407,this['_telemetryService']=_0x26741f,this['_shouldReportTelemetry']=!!this[_0x278479(0x26c)],_0x163387['pipe'](_0x1ba289(this[_0x278479(0x2ee)]))[_0x278479(0x1dc)](_0x4740b2=>{var _0x33972e=_0x278479,_0xa333a8;typeof _0x4740b2>'u'||(this[_0x33972e(0x45d)]=_0x4740b2,_0x4740b2?(this[_0x33972e(0x2e5)](_0x4740b2),this[_0x33972e(0x177)]=_0x4740b2[_0x33972e(0x477)][_0x33972e(0x1dc)](_0x15c592=>{var _0x4994ce=_0x33972e;_0x15c592[_0x4994ce(0x3ed)]===this[_0x4994ce(0x260)]&&this[_0x4994ce(0x402)](_0x15c592);})):(this[_0x33972e(0x3ac)](),this['_sessionStatus$']['next'](0x2),(_0xa333a8=this['_socketMessageSubscription'])==null||_0xa333a8[_0x33972e(0x1b7)](),this[_0x33972e(0x177)]=null));}));}get[_0x2a1005(0x1ff)](){var _0xbb3203=_0x2a1005;return this[_0xbb3203(0x27a)][_0xbb3203(0x1ad)]();}[_0x2a1005(0x1a9)](){var _0x8c4772=_0x2a1005,_0x3aadc1,_0x236a73;return(_0x236a73=(_0x3aadc1=this[_0x8c4772(0x45d)])==null?void 0x0:_0x3aadc1[_0x8c4772(0x2f6)])!=null?_0x236a73:null;}[_0x2a1005(0x40a)](){var _0x12108e=_0x2a1005;super['dispose'](),this[_0x12108e(0x2ee)][_0x12108e(0x1cf)](),this[_0x12108e(0x2ee)]['complete']();}[_0x2a1005(0x466)](){var _0x3760a0=_0x2a1005,_0x4d9149,_0x17699b;this[_0x3760a0(0x3ac)](),(_0x4d9149=this[_0x3760a0(0x45d)])==null||_0x4d9149[_0x3760a0(0x2e2)]({'cmd':j['LEAVE'],'data':{'roomID':this[_0x3760a0(0x260)]}}),(_0x17699b=this[_0x3760a0(0x45d)])==null||_0x17699b['close'](),this[_0x3760a0(0x1fc)][_0x3760a0(0x3d6)](),this[_0x3760a0(0x27a)][_0x3760a0(0x3d6)](),this[_0x3760a0(0x40a)]();}['_onCombEvent'](_0x10e47c){var _0x519d34=_0x2a1005;_0x10e47c['cmd']===j[_0x519d34(0x357)]?this[_0x519d34(0x205)](_0x10e47c):_0x10e47c[_0x519d34(0x2fa)]===j[_0x519d34(0x243)]&&this[_0x519d34(0x1a8)](_0x10e47c);}[_0x2a1005(0x2e5)](_0x5da42c){var _0x5654f5=_0x2a1005;this['_sessionStatus$']['next'](0x1),_0x5da42c[_0x5654f5(0x2e2)]({'cmd':j['JOIN'],'routeKey':this[_0x5654f5(0x260)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5654f5(0x260)]}]}});}[_0x2a1005(0x205)](_0x1314ed){var _0xbf0756=_0x2a1005,_0x5eaea6;if(_0x1314ed[_0xbf0756(0x444)]in jt){this[_0xbf0756(0x331)][_0xbf0756(0x212)]({'id':re[_0xbf0756(0x1f5)],'data':jt[_0x1314ed[_0xbf0756(0x444)]]}),this[_0xbf0756(0x27a)][_0xbf0756(0x1cf)](0x2);return;}this[_0xbf0756(0x27a)][_0xbf0756(0x1cf)](0x3);const _0x3b3506=(_0x5eaea6=_0x1314ed[_0xbf0756(0x2f0)][_0xbf0756(0x1dd)][this['_unitID']])==null?void 0x0:_0x5eaea6[_0xbf0756(0x468)];_0x3b3506&&_0x3b3506[_0xbf0756(0x34a)](_0x58f3d7=>this[_0xbf0756(0x2a1)]['updateMember'](this[_0xbf0756(0x260)],_0x58f3d7));}[_0x2a1005(0x1a8)](_0x2de9ad){var _0x4a3dfc=_0x2a1005;try{const _0x26d8ab=_0x2de9ad['data'];switch(_0x26d8ab[_0x4a3dfc(0x2ff)]){case _0x562005[_0x4a3dfc(0x1eb)]:this[_0x4a3dfc(0x46f)](_0x26d8ab),this[_0x4a3dfc(0x1fc)][_0x4a3dfc(0x1cf)](_0x26d8ab);break;case _0x562005[_0x4a3dfc(0x219)]:this[_0x4a3dfc(0x288)](_0x26d8ab),this[_0x4a3dfc(0x1fc)]['next'](_0x26d8ab);break;case _0x562005[_0x4a3dfc(0x342)]:case _0x562005[_0x4a3dfc(0x269)]:this[_0x4a3dfc(0x1bb)](),this[_0x4a3dfc(0x361)](),this['_event$'][_0x4a3dfc(0x1cf)](_0x26d8ab);break;case _0x562005[_0x4a3dfc(0x442)]:this[_0x4a3dfc(0x32a)][_0x4a3dfc(0x38d)](_0x4a3dfc(0x20c)+JSON['stringify'](_0x26d8ab)),this[_0x4a3dfc(0x1fc)]['next'](_0x26d8ab);break;case _0x562005[_0x4a3dfc(0x3f5)]:this[_0x4a3dfc(0x3e2)][_0x4a3dfc(0x161)](_0x26d8ab[_0x4a3dfc(0x2f0)]),this['_event$'][_0x4a3dfc(0x1cf)](_0x26d8ab);break;default:this['_event$'][_0x4a3dfc(0x1cf)](_0x26d8ab);}}catch(_0x2cbc46){this[_0x4a3dfc(0x32a)][_0x4a3dfc(0x38d)](_0x2cbc46,_0x2de9ad);}}['_onUserJoin'](_0x5a1974){var _0x23e94f=_0x2a1005;this[_0x23e94f(0x2a1)][_0x23e94f(0x379)](this[_0x23e94f(0x260)],_0x5a1974[_0x23e94f(0x2f0)]);}['_onUserLeave'](_0x5969ea){var _0xb3797b=_0x2a1005;this[_0xb3797b(0x2a1)][_0xb3797b(0x318)](this[_0xb3797b(0x260)],_0x5969ea[_0xb3797b(0x2f0)][_0xb3797b(0x2f6)]);}async['send'](_0x393cc9,_0x38cfe6){var _0xb33f29=_0x2a1005;if(this[_0xb33f29(0x1ff)]!==0x3||!this[_0xb33f29(0x45d)])throw new Error(_0xb33f29(0x23f));try{_0x393cc9['eventID']===_0x562005['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xb33f29(0x232)](_0x393cc9)),this[_0xb33f29(0x45d)][_0xb33f29(0x2e2)]({'cmd':j[_0xb33f29(0x36a)],'routeKey':_0x38cfe6,'routeType':'','data':_0x393cc9});}catch(_0x49f563){this[_0xb33f29(0x32a)][_0xb33f29(0x38d)](_0x49f563);}}[_0x2a1005(0x43b)](){var _0x19d38c=_0x2a1005,_0x4f9425;this[_0x19d38c(0x267)]=setTimeout(()=>{var _0x4cfc9d=_0x19d38c;this[_0x4cfc9d(0x267)]=null,this[_0x4cfc9d(0x331)][_0x4cfc9d(0x212)]({'id':re[_0x4cfc9d(0x25a)]});},(_0x4f9425=this[_0x19d38c(0x206)][_0x19d38c(0x250)](di))!=null?_0x4f9425:fi);}[_0x2a1005(0x361)](){var _0x53ccc9=_0x2a1005;this[_0x53ccc9(0x267)]&&(clearTimeout(this[_0x53ccc9(0x267)]),this['_collaborationTimeoutTimer']=null);}[_0x2a1005(0x232)](_0x298f98){var _0x51b906=_0x2a1005;if(!this[_0x51b906(0x28c)])return;const {data:_0x473bbd}=_0x298f98,{unitID:_0x4e7148,changeset:_0x30c5ac}=_0x473bbd,{mutations:_0x4eac87,type:_0x245967}=_0x30c5ac;this[_0x51b906(0x38e)]={'unitId':_0x4e7148,'type':_0x245967,'startTime':performance[_0x51b906(0x387)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x4eac87)};}[_0x2a1005(0x1bb)](){var _0x3b756d=_0x2a1005;if(this['_shouldReportTelemetry']){if(!this[_0x3b756d(0x38e)]){this[_0x3b756d(0x32a)][_0x3b756d(0x38d)](_0x3b756d(0x220),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3b756d(0x38e)][_0x3b756d(0x367)]=performance['now'](),this['_telemetryInfo'][_0x3b756d(0x1e4)]=this[_0x3b756d(0x38e)][_0x3b756d(0x367)]-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x3b756d(0x377)](Cs,this[_0x3b756d(0x38e)]),this[_0x3b756d(0x38e)]=null;}}[_0x2a1005(0x3ac)](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x59ee6a),Oe(0x3,_0xf25e91),Oe(0x4,_0x941461(Pe)),Oe(0x5,_0x941461(Ei)),Oe(0x6,_0x941461(ve)),Oe(0x7,_0x475d23(_0xce0b))],mt);const J=_0x59652a(_0x2a1005(0x3f7));function Cr(_0x2f735f){var _0x70ad78=_0x2a1005;return _0x70ad78(0x246)+_0x2f735f;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x416f65,_0x3e486a,_0xe83052,_0x4960dd)=>{var _0x5de182=_0x2a1005;for(var _0x28b7d0=_0x4960dd>0x1?void 0x0:_0x4960dd?Ps(_0x3e486a,_0xe83052):_0x3e486a,_0x3f2935=_0x416f65[_0x5de182(0x2c6)]-0x1,_0x194a5c;_0x3f2935>=0x0;_0x3f2935--)(_0x194a5c=_0x416f65[_0x3f2935])&&(_0x28b7d0=_0x194a5c(_0x28b7d0)||_0x28b7d0);return _0x28b7d0;},ut=(_0xb33d42,_0x5336f4)=>(_0x55e017,_0x580dd7)=>_0x5336f4(_0x55e017,_0x580dd7,_0xb33d42);function Ms(_0x238372){var _0x5703b0=_0x2a1005;const {unitID:_0x22b4ca,mutations:_0x1b969c}=_0x238372;return{'unitId':_0x22b4ca,'subUnitId':_0x1b969c[_0x5703b0(0x2c6)]>0x0?_0x1b969c[0x0][_0x5703b0(0x2bb)][_0x5703b0(0x168)]:null};}let it=class{constructor(_0x24fa31,_0x21d048,_0x3c75d7){var _0x35dff1=_0x2a1005;this['_injector']=_0x24fa31,this[_0x35dff1(0x20e)]=_0x21d048,this[_0x35dff1(0x443)]=_0x3c75d7;}['transformSelections'](_0x4e8dbb){var _0x4ed161=_0x2a1005,_0x124077,_0x2b01fe,_0x272f6c,_0x5a6245;const _0x347e21=this[_0x4ed161(0x1d3)]['get'](_0x12d8a9),{unitId:_0xd14ed,subUnitId:_0x4cc2b3}=Ms(_0x4e8dbb),_0x511ceb=_0x347e21==null?void 0x0:_0x347e21['getWorkbookSelections'](_0xd14ed)[_0x4ed161(0x1e9)](),_0x31d9a9=(_0x2b01fe=(_0x124077=this[_0x4ed161(0x443)][_0x4ed161(0x23d)](_0xd14ed))==null?void 0x0:_0x124077[_0x4ed161(0x434)]())==null?void 0x0:_0x2b01fe[_0x4ed161(0x328)]();if(_0x511ceb[_0x4ed161(0x2c6)]===0x0||!_0xd14ed||!_0x4cc2b3)return;const _0x370bb1=[{'id':_0x22ca47['id'],'params':{'unitId':_0xd14ed,'subUnitId':_0x31d9a9,'selections':_0x53c569[_0x4ed161(0x32d)](_0x511ceb)}}],_0x58a197=this[_0x4ed161(0x20e)]['transformMutationsWithChangeset'](_0x4e8dbb,_0x370bb1);if(!_0x5b4126(_0x58a197))throw _0x58a197['error'];const _0x352126=(_0x5a6245=(_0x272f6c=_0x58a197[_0x4ed161(0x271)][0x0])==null?void 0x0:_0x272f6c['params'])==null?void 0x0:_0x5a6245[_0x4ed161(0x17e)];if(Array[_0x4ed161(0x314)](_0x352126)&&_0x352126[_0x4ed161(0x2c6)]){if(_0x352126[_0x4ed161(0x2c6)]===_0x370bb1[0x0]['params']['selections']['length']&&_0x352126[_0x4ed161(0x1e1)]((_0x1461f8,_0x340a8c)=>_0x5ae757['equals'](_0x1461f8[_0x4ed161(0x347)],_0x370bb1[0x0][_0x4ed161(0x2bb)][_0x4ed161(0x17e)][_0x340a8c][_0x4ed161(0x347)])))return;this[_0x4ed161(0x1d3)][_0x4ed161(0x20f)](_0x5761a5)[_0x4ed161(0x384)](_0x22ca47['id'],{'unitId':_0xd14ed,'subUnitId':_0x31d9a9,'selections':_0x352126});}}};it=ws([ut(0x0,_0x941461(_0x197f37)),ut(0x1,_0x32b219),ut(0x2,_0x226b33)],it);const _t=_0x59652a(_0x2a1005(0x2cf));var mi=(_0x2367d2=>(_0x2367d2[_0x2367d2['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2a1005(0x371),_0x2367d2[_0x2367d2[_0x2a1005(0x1db)]=0x1]=_0x2a1005(0x1db),_0x2367d2))(mi||{});const K=_0x2a1005(0x349),Ls={},xs=new Set([_0x402bee['id']]);function Vt(_0x2b9ea2,_0x4e01f6,_0x2a545b,_0x39ce33,_0x56e1df){var _0x14d1b8=_0x2a1005,_0x20e266,_0x2331c9,_0x7b5ef6,_0x495f48;const _0x5e83c4=[];for(const _0x38cfd0 of _0x2b9ea2)if(xs[_0x14d1b8(0x2aa)](_0x38cfd0['id'])){if(_0x5e83c4[_0x14d1b8(0x2c6)]>0x0)break;_0x5e83c4['push'](_0x38cfd0);break;}else _0x5e83c4[_0x14d1b8(0x2c4)](_0x38cfd0);const _0x363536=(_0x2331c9=(_0x20e266=_0x56e1df['getCurrentUser']())==null?void 0x0:_0x20e266['userID'])!=null?_0x2331c9:_0x14d1b8(0x1e2),_0x19d68a=(_0x495f48=(_0x7b5ef6=_0x56e1df[_0x14d1b8(0x17f)]())==null?void 0x0:_0x7b5ef6[_0x14d1b8(0x2f6)])!=null?_0x495f48:_0x14d1b8(0x1e2);return{'changeset':{'unitID':_0x4e01f6,'type':_0x405baf(_0x2a545b[_0x14d1b8(0x45f)](_0x4e01f6)),'baseRev':_0x39ce33[_0x14d1b8(0x187)](_0x4e01f6),'revision':0x0,'userID':_0x363536,'memberID':_0x19d68a,'mutations':_0x5e83c4},'pendingMutations':_0x2b9ea2[_0x14d1b8(0x3d0)](_0x5e83c4[_0x14d1b8(0x2c6)])};}function $s(_0x563878,_0x27cc2c,_0x1ec494,_0x1d606e,_0x26b79a){var _0x2625f5=_0x2a1005,_0x1e3b2b,_0x137d0b,_0x2990ad,_0x289bce;const _0x56a857=[_0x563878['reduce']((_0xe89615,_0x22c1cb)=>{var _0x3b63a2=_0x44d6,_0x5c0ca4;const {id:_0x2bf519}=_0xe89615,{id:_0x3b91c7,type:_0x2b1a6c}=_0x22c1cb,_0x39d596=(_0x5c0ca4=_0xe89615['params'])!=null?_0x5c0ca4:{'actions':null},_0x3f2052=_0x22c1cb['params'];if(_0x2bf519&&_0x2bf519!==_0x3b91c7)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2bf519+_0x3b63a2(0x282)+_0x3b91c7+'.');return{..._0xe89615,'id':_0x3b91c7,'type':_0x2b1a6c,'params':{'unitId':_0x3f2052['unitId'],'textRanges':_0x3f2052[_0x3b63a2(0x439)],'actions':_0x20f01f[_0x3b63a2(0x3c8)](_0x39d596[_0x3b63a2(0x3bd)],_0x3f2052['actions'])}};},{})],_0x33e158=(_0x137d0b=(_0x1e3b2b=_0x26b79a[_0x2625f5(0x17f)]())==null?void 0x0:_0x1e3b2b[_0x2625f5(0x399)])!=null?_0x137d0b:_0x2625f5(0x1e2),_0xa0e624=(_0x289bce=(_0x2990ad=_0x26b79a[_0x2625f5(0x17f)]())==null?void 0x0:_0x2990ad['memberID'])!=null?_0x289bce:'unknown';return{'changeset':{'unitID':_0x27cc2c,'type':_0x405baf(_0x1ec494['getUnitType'](_0x27cc2c)),'baseRev':_0x1d606e[_0x2625f5(0x187)](_0x27cc2c),'revision':0x0,'userID':_0x33e158,'memberID':_0xa0e624,'mutations':_0x56a857},'pendingMutations':[]};}function Ii(_0x4b4b98,_0x4a90a3){var _0x4b57b4=_0x2a1005;const _0x52f108=new _0x524207(0x1);return setTimeout(()=>_0x52f108[_0x4b57b4(0x1cf)](_0x4a90a3),_0x4b4b98),_0x52f108[_0x4b57b4(0x195)]()['pipe'](_0x824240(0x1));}var ks=Object[_0x2a1005(0x163)],Se=(_0x35e5a4,_0x2cbaba,_0xc9c662,_0x3afd12)=>{for(var _0x1086c4=_0x3afd12>0x1?void 0x0:_0x3afd12?ks(_0x2cbaba,_0xc9c662):_0x2cbaba,_0x120a35=_0x35e5a4['length']-0x1,_0x3122b8;_0x120a35>=0x0;_0x120a35--)(_0x3122b8=_0x35e5a4[_0x120a35])&&(_0x1086c4=_0x3122b8(_0x1086c4)||_0x1086c4);return _0x1086c4;},w=(_0x5b349b,_0x44044f)=>(_0x162d13,_0x21b19a)=>_0x44044f(_0x162d13,_0x21b19a,_0x5b349b),Si=(_0x1bee5f=>(_0x1bee5f[_0x2a1005(0x22a)]=_0x2a1005(0x255),_0x1bee5f[_0x2a1005(0x333)]=_0x2a1005(0x2e0),_0x1bee5f[_0x2a1005(0x415)]='pending',_0x1bee5f[_0x2a1005(0x3a3)]=_0x2a1005(0x1f9),_0x1bee5f[_0x2a1005(0x452)]=_0x2a1005(0x19c),_0x1bee5f[_0x2a1005(0x332)]=_0x2a1005(0x1e0),_0x1bee5f[_0x2a1005(0x24a)]=_0x2a1005(0x44c),_0x1bee5f['OFFLINE']=_0x2a1005(0x1c5),_0x1bee5f))(Si||{});const gi=0xea60;class ge{constructor(_0x1556ee,_0x5c83f1,_0x47c93d,_0x10cff1,_0x2bb34a,_0x418e20,_0x34ca20,_0x532047,_0x2b2967){var _0x435337=_0x2a1005;D(this,_0x435337(0x2a2),null),D(this,'_pendingMutations',[]),(this[_0x435337(0x43c)]=_0x1556ee,this[_0x435337(0x1f1)]=_0x5c83f1,this['_handler']=_0x2bb34a,this['_commandService']=_0x418e20,this[_0x435337(0x478)]=_0x34ca20,this['_revisionService']=_0x532047,this['_localCacheService']=_0x2b2967,this[_0x435337(0x2a2)]=_0x47c93d,this[_0x435337(0x391)]=_0x10cff1);}['_checkMissing'](_0x1fddbd){var _0x5b1ef1=_0x2a1005;const _0x4a0396=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5b1ef1(0x43c)]);return _0x1fddbd[_0x5b1ef1(0x462)]>_0x4a0396+0x1?(this['_handler'][_0x5b1ef1(0x3d9)]({'from':_0x4a0396,'to':_0x1fddbd[_0x5b1ef1(0x462)]-0x1}),!0x0):!0x1;}[_0x2a1005(0x3ea)](_0x1d9747){var _0x2d273b=_0x2a1005;this[_0x2d273b(0x478)][_0x2d273b(0x323)](this[_0x2d273b(0x43c)],_0x1d9747);}[_0x2a1005(0x36c)](_0x18da9a){var _0x585810=_0x2a1005,_0x357667,_0x2fd5bf;(_0x2fd5bf=(_0x357667=this[_0x585810(0x16f)])[_0x585810(0x263)])==null||_0x2fd5bf[_0x585810(0x341)](_0x357667,_0x18da9a);}['_transformIMECache'](_0x387b73){var _0x5b3bf9=_0x2a1005,_0x107d58,_0x1a6c90;return(_0x1a6c90=(_0x107d58=this['_handler'])[_0x5b3bf9(0x1aa)])==null?void 0x0:_0x1a6c90[_0x5b3bf9(0x341)](_0x107d58,_0x387b73);}[_0x2a1005(0x170)](_0x3779ed){var _0x505c0a=_0x2a1005,_0x5f55c9,_0x3f6cab;return(_0x3f6cab=(_0x5f55c9=this[_0x505c0a(0x16f)])[_0x505c0a(0x16a)])==null?void 0x0:_0x3f6cab[_0x505c0a(0x341)](_0x5f55c9,_0x3779ed);}[_0x2a1005(0x3df)](_0x22a8b2){var _0x4a59ea=_0x2a1005,_0x421537,_0x49dacc,_0x7ce2b6;return(_0x7ce2b6=(_0x49dacc=(_0x421537=this[_0x4a59ea(0x16f)])[_0x4a59ea(0x34e)])==null?void 0x0:_0x49dacc[_0x4a59ea(0x341)](_0x421537,_0x22a8b2))!=null?_0x7ce2b6:_0x22a8b2;}['_transformRemoteChangesetByStateCache'](_0x1f9da3){var _0x40ad04=_0x2a1005,_0x525d7c,_0x3ce778,_0x36861d;return(_0x36861d=(_0x3ce778=(_0x525d7c=this[_0x40ad04(0x16f)])[_0x40ad04(0x1bf)])==null?void 0x0:_0x3ce778['call'](_0x525d7c,_0x1f9da3))!=null?_0x36861d:_0x1f9da3;}['_syncEditingCollabCursor'](_0x2f35c2){var _0xf6d8b7=_0x2a1005,_0x1085a1,_0x2ec67f;if(this[_0xf6d8b7(0x1f1)]===Q['UNIVER_DOC']){const {unitID:_0x19f90f,mutations:_0x1b17c5,memberID:_0x4cc351}=_0x2f35c2,_0x198808=_0x1b17c5[_0xf6d8b7(0x2c6)]>0x0?_0x1b17c5[0x0][_0xf6d8b7(0x2bb)][_0xf6d8b7(0x439)]:[];Array[_0xf6d8b7(0x314)](_0x198808)&&_0x198808[_0xf6d8b7(0x2c6)]>0x0&&((_0x2ec67f=(_0x1085a1=this[_0xf6d8b7(0x16f)])[_0xf6d8b7(0x3fd)])==null||_0x2ec67f[_0xf6d8b7(0x341)](_0x1085a1,{'unitID':_0x19f90f,'memberID':_0x4cc351,'textRanges':_0x198808}));}}[_0x2a1005(0x167)](){var _0x282f40=_0x2a1005,_0x1b3d04;(_0x1b3d04=this[_0x282f40(0x445)])==null||_0x1b3d04['updateOfflineData'](this[_0x282f40(0x43c)],this['type'],this[_0x282f40(0x2a2)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x308989=_0x2a1005;return this['_revisionService'][_0x308989(0x187)](this['unitID']);}['_incrementRevisionNumber'](){var _0x2f4dda=_0x2a1005;this[_0x2f4dda(0x421)][_0x2f4dda(0x30d)](this[_0x2f4dda(0x43c)]);}[_0x2a1005(0x16c)](_0x3c665b){var _0x263c8c=_0x2a1005,_0x46ba74;let _0x3ea24f=this[_0x263c8c(0x3df)](_0x3c665b);_0x3ea24f=this[_0x263c8c(0x214)](_0x3ea24f);const _0x452569=_0x5f5548(_0x3ea24f[_0x263c8c(0x474)],this['_commandService'],{'fromCollab':!0x0});if(!_0x452569['result'])throw _0x452569[_0x263c8c(0x38d)]instanceof Error?_0x452569['error']:new Error((_0x46ba74=_0x452569[_0x263c8c(0x38d)])!=null?_0x46ba74:_0x263c8c(0x301));this[_0x263c8c(0x3ff)](_0x3ea24f),this[_0x263c8c(0x170)](_0x3ea24f),this['_transformUndoredo'](_0x3c665b),this[_0x263c8c(0x36c)](_0x3ea24f),this[_0x263c8c(0x25c)](_0x3ea24f),this[_0x263c8c(0x2b8)]();}}let be=class extends ge{constructor(_0x1db5a7,_0x3b9fa6,_0x41680e,_0x194df5,_0x19c99a,_0x1868ec,_0x23b60c,_0x3d19a3,_0xd8bfa2,_0x3fe445){var _0x45d01a=_0x2a1005;super(_0x1db5a7,_0x3b9fa6,null,[],_0x41680e,_0x23b60c,_0x1868ec,_0x194df5,_0x3fe445),D(this,_0x45d01a(0x2fc),_0x45d01a(0x2e0)),(this[_0x45d01a(0x1d3)]=_0x19c99a,this[_0x45d01a(0x32a)]=_0x3d19a3,this[_0x45d01a(0x20e)]=_0xd8bfa2,this['localCacheService']=_0x3fe445);}[_0x2a1005(0x453)](_0x439a85){var _0x36aec9=_0x2a1005;const _0x35e315=this[_0x36aec9(0x1d3)]['createInstance'](ae,this[_0x36aec9(0x43c)],this['type'],[_0x439a85],this[_0x36aec9(0x16f)]);return _0x35e315[_0x36aec9(0x24f)](),_0x35e315[_0x36aec9(0x167)](),_0x35e315;}[_0x2a1005(0x3b5)](_0x24bdee){var _0xd71277=_0x2a1005;if(this[_0xd71277(0x31e)](_0x24bdee))return this[_0xd71277(0x1d3)]['createInstance'](ee,this[_0xd71277(0x43c)],this[_0xd71277(0x1f1)],null,[],null,[_0x24bdee],this['_handler']);try{const _0x307b21=this[_0xd71277(0x20e)]['transformMutationsWithChangeset'](_0x24bdee,[_0x1bd8a5]);if(_0x5b4126(_0x307b21)){const {c1Prime:_0x23ec12}=_0x307b21;return this[_0xd71277(0x16c)](_0x23ec12),this;}throw _0x307b21['error'];}catch(_0xae7d61){return this[_0xd71277(0x32a)][_0xd71277(0x38d)](_0xae7d61),this[_0xd71277(0x2cb)](!0x1);}}['_onConflict'](_0x495be7){var _0x19e321=_0x2a1005;return this[_0x19e321(0x1d3)][_0x19e321(0x171)](ue,this[_0x19e321(0x43c)],this[_0x19e321(0x1f1)],null,[],this[_0x19e321(0x16f)],_0x495be7);}[_0x2a1005(0x3eb)](){var _0x1cbd67=_0x2a1005;throw new Error(_0x1cbd67(0x404));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2a1005(0x28d)](){return this;}[_0x2a1005(0x1c9)](){var _0x5adf7e=_0x2a1005;return this['_injector'][_0x5adf7e(0x171)](de,this[_0x5adf7e(0x43c)],this[_0x5adf7e(0x1f1)],null,[],this[_0x5adf7e(0x16f)]);}[_0x2a1005(0x430)](){return this;}[_0x2a1005(0x166)](){var _0x38c625=_0x2a1005;throw new Error(_0x38c625(0x1ac));}['fetchMiss'](){var _0x950bee=_0x2a1005;const _0x34740d=this[_0x950bee(0x421)][_0x950bee(0x187)](this[_0x950bee(0x43c)]);return this[_0x950bee(0x16f)]['onMissingChangesets']({'from':_0x34740d,'to':0x0}),this['_injector'][_0x950bee(0x171)](ee,this[_0x950bee(0x43c)],this[_0x950bee(0x1f1)],null,[],null,[],this[_0x950bee(0x16f)]);}};be=Se([w(0x3,_0x941461(_0x5ed83b)),w(0x4,_0x941461(_0x197f37)),w(0x5,_0x100842),w(0x6,_0x5761a5),w(0x7,_0x59ee6a),w(0x8,_0x32b219),w(0x9,_0x475d23(J))],be);let ae=class extends ge{constructor(_0xef79b4,_0x23df4f,_0x58a76d,_0x483702,_0x3ecac3,_0x3debad,_0x428a8a,_0xa6ab8e,_0x29f21f,_0x6c546,_0x480715,_0x113944,_0x475f6f,_0x4ff48f){var _0x3e305f=_0x2a1005;super(_0xef79b4,_0x23df4f,null,_0x58a76d,_0x483702,_0x29f21f,_0x475f6f,_0x3debad,_0x4ff48f),D(this,_0x3e305f(0x2fc),_0x3e305f(0x2b0)),D(this,_0x3e305f(0x285),null),D(this,_0x3e305f(0x189),null),(this[_0x3e305f(0x1d3)]=_0x3ecac3,this['_memberService']=_0x428a8a,this['_logService']=_0xa6ab8e,this[_0x3e305f(0x206)]=_0x6c546,this[_0x3e305f(0x20e)]=_0x480715,this['_univerInstanceService']=_0x113944);}[_0x2a1005(0x453)](_0x27300d){var _0x41a274=_0x2a1005;return this[_0x41a274(0x391)][_0x41a274(0x2c4)](_0x27300d),this[_0x41a274(0x167)](),this;}[_0x2a1005(0x3b5)](_0x56b39d){var _0x30147f=_0x2a1005;if(this[_0x30147f(0x31e)](_0x56b39d))return this[_0x30147f(0x2c5)](),this[_0x30147f(0x1d3)][_0x30147f(0x171)](ee,this[_0x30147f(0x43c)],this[_0x30147f(0x1f1)],null,this[_0x30147f(0x391)],null,[_0x56b39d],this[_0x30147f(0x16f)]);try{const _0x3a40c2=this[_0x30147f(0x20e)][_0x30147f(0x348)](_0x56b39d,this[_0x30147f(0x391)]);if(_0x5b4126(_0x3a40c2)){const {c1Prime:_0x4387f8,m2Prime:_0x5c8f29}=_0x3a40c2;this[_0x30147f(0x16c)](_0x4387f8);const _0x5284ac=this[_0x30147f(0x1d3)][_0x30147f(0x171)](ae,this[_0x30147f(0x43c)],this['type'],_0x5c8f29,this[_0x30147f(0x16f)]);this[_0x30147f(0x2c5)]();const _0x4c8f59=new Date()[_0x30147f(0x3db)](),_0x3930d9=this[_0x30147f(0x285)]?Math[_0x30147f(0x18a)](this['_scheduleCompleteTimestamp']-_0x4c8f59,0x0):this[_0x30147f(0x37e)]();return _0x5284ac['_schedule'](_0x3930d9),_0x5284ac;}throw _0x3a40c2[_0x30147f(0x38d)];}catch(_0x348587){return this[_0x30147f(0x32a)]['error'](_0x348587),this[_0x30147f(0x2cb)](!0x1);}}[_0x2a1005(0x3eb)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2a1005(0x1f7)](){var _0x5c6ac8=_0x2a1005;throw new Error(_0x5c6ac8(0x2ad));}[_0x2a1005(0x28d)](){return this;}[_0x2a1005(0x1c9)](){var _0x2bd393=_0x2a1005;return this[_0x2bd393(0x2c5)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x2bd393(0x1f1)],null,this[_0x2bd393(0x391)],this['_handler']);}['toggleOnline'](){return this;}[_0x2a1005(0x24f)](_0x1228cf){var _0x39b471=_0x2a1005;const _0x9b17a8=_0x1228cf!=null?_0x1228cf:this[_0x39b471(0x37e)]();this[_0x39b471(0x285)]=new Date()[_0x39b471(0x3db)]()+_0x9b17a8,this[_0x39b471(0x189)]=setTimeout(()=>{var _0x1aeb48=_0x39b471;this['_clearScheduledTask']();let _0x3454ae=null;switch(this[_0x1aeb48(0x1f1)]){case Q[_0x1aeb48(0x228)]:{_0x3454ae=Vt(this[_0x1aeb48(0x391)],this[_0x1aeb48(0x43c)],this[_0x1aeb48(0x373)],this[_0x1aeb48(0x421)],this[_0x1aeb48(0x2a1)]);break;}case Q[_0x1aeb48(0x17b)]:{this['_pendingMutations'][_0x1aeb48(0x1e1)](_0x5878fd=>_0x5878fd['id']===_0x4255d0['id'])?_0x3454ae=$s(this[_0x1aeb48(0x391)],this['unitID'],this[_0x1aeb48(0x373)],this[_0x1aeb48(0x421)],this[_0x1aeb48(0x2a1)]):_0x3454ae=Vt(this[_0x1aeb48(0x391)],this['unitID'],this[_0x1aeb48(0x373)],this['_revisionService'],this[_0x1aeb48(0x2a1)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x1aeb48(0x2c2));}const {changeset:_0x378d2b,pendingMutations:_0xe6550d}=_0x3454ae;this[_0x1aeb48(0x16f)][_0x1aeb48(0x2fd)](_0x378d2b);const _0x6bb6b1=_0xe6550d[_0x1aeb48(0x2c6)]?this[_0x1aeb48(0x1d3)][_0x1aeb48(0x171)](oe,this['unitID'],this[_0x1aeb48(0x1f1)],_0x378d2b,_0xe6550d,this[_0x1aeb48(0x16f)],void 0x0):this[_0x1aeb48(0x1d3)][_0x1aeb48(0x171)](le,this[_0x1aeb48(0x43c)],this[_0x1aeb48(0x1f1)],_0x378d2b,this['_handler']);_0x6bb6b1[_0x1aeb48(0x167)](),this['_handler'][_0x1aeb48(0x237)](this,_0x6bb6b1);},_0x9b17a8);}[_0x2a1005(0x37e)](){var _0x1d7a51=_0x2a1005,_0x4b723e;const _0x3d9074=this['_configService'][_0x1d7a51(0x250)](K);return(_0x4b723e=_0x3d9074==null?void 0x0:_0x3d9074[_0x1d7a51(0x164)])!=null?_0x4b723e:ps;}['resend'](){var _0x36dbf0=_0x2a1005;throw new Error(_0x36dbf0(0x1fe));}[_0x2a1005(0x2c5)](){var _0x58262e=_0x2a1005;this[_0x58262e(0x189)]!=null&&(clearTimeout(this[_0x58262e(0x189)]),this[_0x58262e(0x189)]=null);}[_0x2a1005(0x2cb)](_0x1f21a9){var _0xe12a7d=_0x2a1005;return this[_0xe12a7d(0x2c5)](),this[_0xe12a7d(0x1d3)][_0xe12a7d(0x171)](ue,this[_0xe12a7d(0x43c)],this[_0xe12a7d(0x1f1)],null,this[_0xe12a7d(0x391)],this[_0xe12a7d(0x16f)],_0x1f21a9);}};ae=Se([w(0x4,_0x941461(_0x197f37)),w(0x5,_0x941461(_0x5ed83b)),w(0x6,_0x941461(Pe)),w(0x7,_0x59ee6a),w(0x8,_0x5761a5),w(0x9,_0xf25e91),w(0xa,_0x32b219),w(0xb,_0x226b33),w(0xc,_0x100842),w(0xd,_0x475d23(J))],ae);let le=class extends ge{constructor(_0xac6282,_0x88aabb,_0x5c0a75,_0x33c5c3,_0x11f4d9,_0x328c93,_0x329e14,_0x4c539e,_0x4b695d,_0x192070,_0x413a6a){var _0x34f6e8=_0x2a1005;super(_0xac6282,_0x88aabb,_0x5c0a75,[],_0x33c5c3,_0x329e14,_0x192070,_0x328c93,_0x413a6a),D(this,_0x34f6e8(0x2fc),_0x34f6e8(0x1f9)),D(this,'_resendTimeout',0x0),D(this,_0x34f6e8(0x438)),D(this,'_sender'),(this[_0x34f6e8(0x1d3)]=_0x11f4d9,this[_0x34f6e8(0x32a)]=_0x4c539e,this[_0x34f6e8(0x20e)]=_0x4b695d);}[_0x2a1005(0x453)](_0x378977){var _0x569092=_0x2a1005;this[_0x569092(0x2c5)]();const _0x24efea=this['_injector'][_0x569092(0x171)](oe,this[_0x569092(0x43c)],this[_0x569092(0x1f1)],this[_0x569092(0x2a2)],[_0x378977],this[_0x569092(0x16f)],this['_resendTimer']);return _0x24efea['_updateLocalCache'](),_0x24efea;}[_0x2a1005(0x3b5)](_0x3bab24){var _0x2acde1=_0x2a1005;if(this[_0x2acde1(0x31e)](_0x3bab24))return this[_0x2acde1(0x2c5)](),this[_0x2acde1(0x1d3)]['createInstance'](ee,this[_0x2acde1(0x43c)],this[_0x2acde1(0x1f1)],this[_0x2acde1(0x2a2)],[],null,[_0x3bab24],this[_0x2acde1(0x16f)]);try{const _0x142e3b=this[_0x2acde1(0x20e)][_0x2acde1(0x1d9)]([_0x3bab24],[this[_0x2acde1(0x2a2)]],!0x1);if(_0xbfa6d7(_0x142e3b)){const {c1Prime:_0x7bfb92,c2Prime:_0x31ecce}=_0x142e3b;this[_0x2acde1(0x16c)](_0x7bfb92[0x0]),_0x31ecce[0x0][_0x2acde1(0x32f)]=this[_0x2acde1(0x284)](),this[_0x2acde1(0x2c5)]();const _0x3e6489=this['_injector']['createInstance'](le,this[_0x2acde1(0x43c)],this['type'],_0x31ecce[0x0],this[_0x2acde1(0x16f)]);return _0x3e6489[_0x2acde1(0x167)](),_0x3e6489;}return this[_0x2acde1(0x2cb)](!0x1);}catch(_0x7f3412){return this[_0x2acde1(0x32a)][_0x2acde1(0x38d)](_0x7f3412),this[_0x2acde1(0x2cb)](!0x1);}}[_0x2a1005(0x3eb)](_0x461d3e){var _0x3ff33b=_0x2a1005;this['_clearScheduledTask']();const _0x2a87cc=this[_0x3ff33b(0x421)][_0x3ff33b(0x187)](this['unitID']);if(_0x461d3e[_0x3ff33b(0x462)]<_0x2a87cc-0x1)return this;if(this['_checkMissing'](_0x461d3e))return this['_injector']['createInstance'](ee,this[_0x3ff33b(0x43c)],this[_0x3ff33b(0x1f1)],null,[],this['_awaitingChangeset'],[],this[_0x3ff33b(0x16f)]);this[_0x3ff33b(0x2b8)]();const _0x3b8f10=this[_0x3ff33b(0x1d3)][_0x3ff33b(0x171)](be,this[_0x3ff33b(0x43c)],this[_0x3ff33b(0x1f1)],this[_0x3ff33b(0x16f)]);return _0x3b8f10[_0x3ff33b(0x167)](),_0x3b8f10;}[_0x2a1005(0x1f7)](_0x3ef923){var _0x401938=_0x2a1005;return this[_0x401938(0x2cb)](!!(_0x3ef923!=null&&_0x3ef923[_0x401938(0x2da)]));}[_0x2a1005(0x28d)](_0x1863b6){var _0x6807b5=_0x2a1005;return this['_resendTimeout']>gi?this[_0x6807b5(0x1c9)]():(this[_0x6807b5(0x438)]=Ii(this[_0x6807b5(0x41a)],{'timeout':this[_0x6807b5(0x41a)],'reqId':_0x1863b6['reqId']}),this[_0x6807b5(0x1f4)]=this[_0x6807b5(0x438)]['subscribe'](({reqId:_0x1a0bbe,timeout:_0x584935})=>{this['_resendWithTimeout'](_0x1a0bbe,_0x584935);}),this);}[_0x2a1005(0x1c9)](){var _0x181fc6=_0x2a1005;return this[_0x181fc6(0x2c5)](),this[_0x181fc6(0x1d3)][_0x181fc6(0x171)](de,this[_0x181fc6(0x43c)],this[_0x181fc6(0x1f1)],this[_0x181fc6(0x2a2)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x2a1005(0x166)](){var _0x1a68bc=_0x2a1005;this[_0x1a68bc(0x16f)][_0x1a68bc(0x2fd)](this['_awaitingChangeset']);}['_onConflict'](_0x222e93){var _0x34e4c5=_0x2a1005;return this[_0x34e4c5(0x2c5)](),this['_injector'][_0x34e4c5(0x171)](ue,this[_0x34e4c5(0x43c)],this[_0x34e4c5(0x1f1)],this[_0x34e4c5(0x2a2)],[],this[_0x34e4c5(0x16f)],_0x222e93);}[_0x2a1005(0x34d)](_0x56749b,_0x466676){var _0x5b2994=_0x2a1005,_0x44c27b;_0x56749b===((_0x44c27b=this[_0x5b2994(0x2a2)])==null?void 0x0:_0x44c27b[_0x5b2994(0x203)])&&(this[_0x5b2994(0x166)](),this[_0x5b2994(0x41a)]=_0x466676===0x0?0x3e8:_0x466676*0x2);}['_clearScheduledTask'](){var _0x50cb41=_0x2a1005,_0x484021;(_0x484021=this[_0x50cb41(0x1f4)])==null||_0x484021[_0x50cb41(0x1b7)](),this[_0x50cb41(0x41a)]=0x0;}};le=Se([w(0x4,_0x941461(_0x197f37)),w(0x5,_0x941461(_0x5ed83b)),w(0x6,_0x5761a5),w(0x7,_0x59ee6a),w(0x8,_0x32b219),w(0x9,_0x100842),w(0xa,_0x475d23(J))],le);let oe=class extends ge{constructor(_0x24ade0,_0x33be7f,_0x129baf,_0x6bb7dc,_0x48b701,_0x158d1f,_0x47239a,_0x5961a9,_0x1b64cb,_0x19a23d,_0x1efb34,_0x29df53,_0x4cd8c9){var _0x4c5e56=_0x2a1005;super(_0x24ade0,_0x33be7f,_0x129baf,_0x6bb7dc,_0x48b701,_0x1b64cb,_0x29df53,_0x5961a9,_0x4cd8c9),D(this,_0x4c5e56(0x2fc),_0x4c5e56(0x19c)),D(this,_0x4c5e56(0x41a),0x0),D(this,_0x4c5e56(0x438)),D(this,'_sender'),(this['_injector']=_0x47239a,this[_0x4c5e56(0x32a)]=_0x19a23d,this[_0x4c5e56(0x20e)]=_0x1efb34,this['localCacheService']=_0x4cd8c9,_0x158d1f&&(this[_0x4c5e56(0x438)]=_0x158d1f,this[_0x4c5e56(0x1f4)]=this[_0x4c5e56(0x438)][_0x4c5e56(0x1dc)](({reqId:_0x2b3797,timeout:_0x4cf80f})=>{var _0x4db4fd=_0x4c5e56;this[_0x4db4fd(0x34d)](_0x2b3797,_0x4cf80f);})));}[_0x2a1005(0x453)](_0x276a14){var _0x1285fc=_0x2a1005;return this['_pendingMutations'][_0x1285fc(0x2c4)](_0x276a14),this;}[_0x2a1005(0x3b5)](_0x5701a5){var _0x178892=_0x2a1005;if(this[_0x178892(0x31e)](_0x5701a5))return this[_0x178892(0x2c5)](),this[_0x178892(0x1d3)][_0x178892(0x171)](ee,this[_0x178892(0x43c)],this[_0x178892(0x1f1)],this[_0x178892(0x2a2)],this[_0x178892(0x391)],null,[_0x5701a5],this[_0x178892(0x16f)]);try{const _0x2ee64a=this[_0x178892(0x20e)]['transformChangesets']([_0x5701a5],[this[_0x178892(0x2a2)]],!0x1);if(_0xbfa6d7(_0x2ee64a)){const {c1Prime:_0x5d0132,c2Prime:_0x4fea5d}=_0x2ee64a,_0x5613ef=this['_transformService'][_0x178892(0x348)](_0x5d0132[0x0],this[_0x178892(0x391)]);if(_0x5b4126(_0x5613ef)){const {c1Prime:_0x4bb00d,m2Prime:_0x5983ec}=_0x5613ef;return this['_executeRemoteChangeset'](_0x4bb00d),_0x4fea5d[0x0][_0x178892(0x32f)]=this['_getCurrentRevision'](),this[_0x178892(0x2c5)](),this[_0x178892(0x1d3)][_0x178892(0x171)](oe,this[_0x178892(0x43c)],this[_0x178892(0x1f1)],_0x4fea5d[0x0],_0x5983ec,this['_handler'],void 0x0);}throw _0x5613ef[_0x178892(0x38d)];}throw _0x2ee64a[_0x178892(0x38d)];}catch(_0x579730){return this[_0x178892(0x32a)][_0x178892(0x38d)](_0x579730),this[_0x178892(0x2cb)](!0x1);}}['onRemoteAck'](_0x15fa03){var _0x362cb6=_0x2a1005;if(this[_0x362cb6(0x2c5)](),this['_checkMissing'](_0x15fa03))return this[_0x362cb6(0x1d3)]['createInstance'](ee,this['unitID'],this['type'],null,this[_0x362cb6(0x391)],this[_0x362cb6(0x2a2)],[],this[_0x362cb6(0x16f)]);this[_0x362cb6(0x2b8)]();const _0x59ce16=this['_injector'][_0x362cb6(0x171)](ae,this[_0x362cb6(0x43c)],this[_0x362cb6(0x1f1)],this['_pendingMutations'],this[_0x362cb6(0x16f)]);return _0x59ce16[_0x362cb6(0x24f)](),_0x59ce16[_0x362cb6(0x167)](),_0x59ce16;}[_0x2a1005(0x1f7)](_0x3d702a){var _0x2a487d=_0x2a1005;return this[_0x2a487d(0x2cb)](!!(_0x3d702a!=null&&_0x3d702a[_0x2a487d(0x2da)]));}['onRemoteRetry'](_0x4007da){var _0x10c978=_0x2a1005;return this[_0x10c978(0x41a)]>gi?this[_0x10c978(0x1c9)]():(this[_0x10c978(0x438)]=Ii(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4007da[_0x10c978(0x203)]}),this[_0x10c978(0x1f4)]=this[_0x10c978(0x438)][_0x10c978(0x1dc)](({reqId:_0x2ff69f,timeout:_0x2afbbd})=>{var _0x40d181=_0x10c978;this[_0x40d181(0x34d)](_0x2ff69f,_0x2afbbd);}),this);}[_0x2a1005(0x1c9)](){var _0xe3c16e=_0x2a1005;return this[_0xe3c16e(0x2c5)](),this[_0xe3c16e(0x1d3)][_0xe3c16e(0x171)](de,this[_0xe3c16e(0x43c)],this[_0xe3c16e(0x1f1)],this[_0xe3c16e(0x2a2)],this[_0xe3c16e(0x391)],this[_0xe3c16e(0x16f)]);}[_0x2a1005(0x430)](){return this;}['resend'](){var _0x2537f7=_0x2a1005;this[_0x2537f7(0x16f)][_0x2537f7(0x2fd)](this[_0x2537f7(0x2a2)]);}['_onConflict'](_0x4669e4){var _0x46de1f=_0x2a1005;return this[_0x46de1f(0x2c5)](),this[_0x46de1f(0x1d3)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x46de1f(0x391)],this[_0x46de1f(0x16f)],_0x4669e4);}[_0x2a1005(0x34d)](_0x419388,_0x3f2e8c){var _0x3471c9=_0x2a1005,_0x233541;_0x419388===((_0x233541=this[_0x3471c9(0x2a2)])==null?void 0x0:_0x233541[_0x3471c9(0x203)])&&(this['resend'](),this[_0x3471c9(0x41a)]=_0x3f2e8c===0x0?0x3e8:_0x3f2e8c*0x2);}['_clearScheduledTask'](){var _0x3b490c=_0x2a1005,_0xc3b249;(_0xc3b249=this[_0x3b490c(0x1f4)])==null||_0xc3b249[_0x3b490c(0x1b7)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x941461(_0x197f37)),w(0x7,_0x941461(_0x5ed83b)),w(0x8,_0x5761a5),w(0x9,_0x59ee6a),w(0xa,_0x32b219),w(0xb,_0x100842),w(0xc,_0x475d23(J))],oe);let ue=class extends ge{constructor(_0x57a389,_0x8a8c41,_0x4d193a,_0x137ec3,_0x49d270,_0x30e05e=!0x1,_0x2f0c3e,_0x744cc6,_0x505e31,_0x122ad4,_0x207239,_0x2ee714,_0x254de7){var _0x510285=_0x2a1005;super(_0x57a389,_0x8a8c41,_0x4d193a,_0x137ec3,_0x49d270,_0x744cc6,_0x505e31,_0x122ad4,_0x254de7),D(this,_0x510285(0x2fc),_0x510285(0x44c)),(this[_0x510285(0x2ef)]=_0x30e05e,this[_0x510285(0x2ab)]=_0x2f0c3e,this[_0x510285(0x2d6)]=_0x207239,this[_0x510285(0x331)]=_0x2ee714,this[_0x510285(0x390)]=_0x254de7,this['_showConflictNotification'](),this[_0x510285(0x380)](),this[_0x510285(0x43e)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x2a1005(0x3eb)](){return this;}[_0x2a1005(0x1f7)](){return this;}['onRemoteRetry'](){return this;}[_0x2a1005(0x1c9)](){return this;}[_0x2a1005(0x430)](){return this;}[_0x2a1005(0x166)](){var _0x325d12=_0x2a1005;throw new Error(_0x325d12(0x3b0));}[_0x2a1005(0x380)](){var _0x41f313=_0x2a1005,_0x3a0281;(_0x3a0281=this[_0x41f313(0x445)])==null||_0x3a0281['updateOfflineData'](this[_0x41f313(0x43c)],this[_0x41f313(0x1f1)],null,[]);}['_showConflictNotification'](){var _0xfc9ba9=_0x2a1005;this[_0xfc9ba9(0x2ef)]?this['_collaborationUIEventService']['emitEvent']({'id':re[_0xfc9ba9(0x313)]}):this[_0xfc9ba9(0x331)]['emitEvent']({'id':re[_0xfc9ba9(0x24a)]});}[_0x2a1005(0x43e)](){var _0x20722b=_0x2a1005;this[_0x20722b(0x2ab)][_0x20722b(0x424)](new _0x4686f(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x941461(_0x2e3c89)),w(0x7,_0x5761a5),w(0x8,_0x100842),w(0x9,_0x941461(_0x5ed83b)),w(0xa,_0x941461(_0x139ca)),w(0xb,_0x941461(ve)),w(0xc,_0x475d23(J))],ue);let de=class extends ge{constructor(_0x54ba73,_0x53e118,_0x5d761e,_0x43ce20,_0x34ee80,_0x455340,_0x111145,_0x27c3c4,_0x3db169,_0x978bd2){var _0x5f5768=_0x2a1005;super(_0x54ba73,_0x53e118,_0x5d761e,_0x43ce20,_0x34ee80,_0x27c3c4,_0x3db169,_0x111145,_0x978bd2),D(this,_0x5f5768(0x2fc),_0x5f5768(0x1c5)),this[_0x5f5768(0x1d3)]=_0x455340;}[_0x2a1005(0x453)](_0xe1d7fd){var _0x3b8386=_0x2a1005;return this[_0x3b8386(0x391)][_0x3b8386(0x2c4)](_0xe1d7fd),this['_updateLocalCache'](),this;}[_0x2a1005(0x3b5)](_0x20b95a){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2a1005(0x3eb)](){var _0x37c9a9=_0x2a1005;throw new Error(_0x37c9a9(0x460));}[_0x2a1005(0x1f7)](){var _0x3e3b27=_0x2a1005;throw new Error(_0x3e3b27(0x245));}[_0x2a1005(0x28d)](){return this;}[_0x2a1005(0x1c9)](){return this;}[_0x2a1005(0x430)](){var _0x58b077=_0x2a1005;const {_injector:_0x1b2ddf,_pendingMutations:_0xff1627,_awaitingChangeset:_0x6bddaa,unitID:_0x437610,_handler:_0xb98266,type:_0x1eeff0}=this,_0xfd99e9=Ti(_0x1b2ddf,_0x437610,_0x1eeff0,_0x6bddaa,_0xff1627,_0xb98266);return _0xfd99e9 instanceof ae?_0xfd99e9[_0x58b077(0x24f)]():(_0xfd99e9 instanceof oe||_0xfd99e9 instanceof le)&&_0xfd99e9[_0x58b077(0x166)](),_0xfd99e9;}[_0x2a1005(0x166)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x941461(_0x197f37)),w(0x6,_0x941461(_0x5ed83b)),w(0x7,_0x5761a5),w(0x8,_0x100842),w(0x9,_0x475d23(J))],de);let ee=class extends ge{constructor(_0xa56a2,_0x9e3ea7,_0x39d4f5,_0x5e1787,_0x5c3d73,_0xa3e9b1,_0x4cd2f0,_0x46b002,_0x299c3a,_0x385ce6,_0x468698,_0x54197d,_0x159c8d,_0x14ca45){var _0x389d4f=_0x2a1005;super(_0xa56a2,_0x9e3ea7,_0x39d4f5,_0x5e1787,_0x4cd2f0,_0x468698,_0x54197d,_0x299c3a,_0x14ca45),D(this,_0x389d4f(0x2fc),'fetch_missing'),(this[_0x389d4f(0x46a)]=_0x5c3d73,this['_queuedRemoteChangesets']=_0xa3e9b1,this[_0x389d4f(0x1d3)]=_0x46b002,this[_0x389d4f(0x32a)]=_0x385ce6,this['_transformService']=_0x159c8d,this[_0x389d4f(0x390)]=_0x14ca45);}[_0x2a1005(0x2f8)](_0x3e03ea){var _0x3ff836=_0x2a1005;try{const _0x1f9191=[..._0x3e03ea,...this[_0x3ff836(0x287)]],_0x2b194a=[this['_awaitingChangeset']||this[_0x3ff836(0x46a)]]['filter'](_0x3903f4=>!!_0x3903f4);let _0x5e8d1c,_0x5d0e46;if(_0x2b194a[_0x3ff836(0x2c6)]){const _0x299b8c=this['_transformService']['transformChangesets'](_0x1f9191,_0x2b194a,!0x1);if(!_0xbfa6d7(_0x299b8c))throw _0x299b8c['error'];_0x5e8d1c=_0x299b8c[_0x3ff836(0x21f)],_0x5d0e46=_0x299b8c[_0x3ff836(0x280)];}else _0x5e8d1c=_0x1f9191,_0x5d0e46=[];let _0x45c724=this[_0x3ff836(0x391)];_0x5e8d1c[_0x3ff836(0x34a)](_0xdbc781=>{var _0x302dde=_0x3ff836;let _0x743633;if(_0x45c724['length']){const _0x4cb016=this[_0x302dde(0x20e)]['transformMutationsWithChangeset'](_0xdbc781,_0x45c724);if(!_0x5b4126(_0x4cb016))throw _0x4cb016[_0x302dde(0x38d)];_0x743633=_0x4cb016['c1Prime'],_0x45c724=_0x4cb016[_0x302dde(0x271)];}else _0x743633=_0xdbc781;this['_executeRemoteChangeset'](_0x743633);}),this[_0x3ff836(0x46a)]&&this[_0x3ff836(0x2b8)](),this['_awaitingChangeset']&&_0x5d0e46[_0x3ff836(0x2c6)]&&(_0x5d0e46[0x0]['baseRev']=this[_0x3ff836(0x284)]());let _0x437299;if(this['_awaitingChangeset']&&_0x45c724[_0x3ff836(0x2c6)]!==0x0)_0x437299=this[_0x3ff836(0x1d3)][_0x3ff836(0x171)](oe,this[_0x3ff836(0x43c)],this[_0x3ff836(0x1f1)],_0x5d0e46[0x0],_0x45c724,this[_0x3ff836(0x16f)],void 0x0);else{if(this[_0x3ff836(0x2a2)]&&_0x45c724['length']===0x0)_0x5d0e46[0x0]['baseRev']=this['_getCurrentRevision'](),_0x437299=this['_injector'][_0x3ff836(0x171)](le,this[_0x3ff836(0x43c)],this[_0x3ff836(0x1f1)],_0x5d0e46[0x0],this[_0x3ff836(0x16f)]);else{if(_0x45c724[_0x3ff836(0x2c6)]!==0x0){const _0x1f0635=this[_0x3ff836(0x1d3)][_0x3ff836(0x171)](ae,this[_0x3ff836(0x43c)],this[_0x3ff836(0x1f1)],_0x45c724,this['_handler']);_0x1f0635[_0x3ff836(0x24f)](),_0x437299=_0x1f0635;}else _0x437299=this['_injector'][_0x3ff836(0x171)](be,this[_0x3ff836(0x43c)],this['type'],this[_0x3ff836(0x16f)]);}}return _0x437299[_0x3ff836(0x167)](),_0x437299;}catch(_0x1e18c7){return this[_0x3ff836(0x32a)][_0x3ff836(0x38d)](_0x3ff836(0x1ef),_0x3ff836(0x28b),_0x1e18c7),this['_injector'][_0x3ff836(0x171)](ue,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3ff836(0x391)],this[_0x3ff836(0x16f)],!0x1);}}['resend'](){var _0x587b3b=_0x2a1005;throw new Error(_0x587b3b(0x2be));}[_0x2a1005(0x453)](_0x426489){var _0x365e4e=_0x2a1005;return this[_0x365e4e(0x391)][_0x365e4e(0x2c4)](_0x426489),this;}[_0x2a1005(0x3b5)](_0x566e60){var _0x1be561=_0x2a1005;return this[_0x1be561(0x287)]['push'](_0x566e60),this;}[_0x2a1005(0x3eb)](_0x923d4e){var _0x3558b7=_0x2a1005;if(this[_0x3558b7(0x2a2)])return this[_0x3558b7(0x46a)]=this[_0x3558b7(0x2a2)],this[_0x3558b7(0x2a2)]=null,this;throw new Error(_0x3558b7(0x358));}[_0x2a1005(0x1f7)](_0x22d7ce){var _0x492bac=_0x2a1005;return this['_onConflict'](!!(_0x22d7ce!=null&&_0x22d7ce[_0x492bac(0x2da)]));}[_0x2a1005(0x28d)](){return this;}['toggleOffline'](){var _0x3d2178=_0x2a1005;return this[_0x3d2178(0x1d3)][_0x3d2178(0x171)](de,this[_0x3d2178(0x43c)],this[_0x3d2178(0x1f1)],this['_awaitingChangeset'],this[_0x3d2178(0x391)],this[_0x3d2178(0x16f)]);}['toggleOnline'](){return this;}['_onConflict'](_0x593231){var _0x5888d5=_0x2a1005;return this['_injector']['createInstance'](ue,this[_0x5888d5(0x43c)],this['type'],this[_0x5888d5(0x2a2)],this[_0x5888d5(0x391)],this[_0x5888d5(0x16f)],_0x593231);}};ee=Se([w(0x7,_0x941461(_0x197f37)),w(0x8,_0x941461(_0x5ed83b)),w(0x9,_0x59ee6a),w(0xa,_0x5761a5),w(0xb,_0x100842),w(0xc,_0x32b219),w(0xd,_0x475d23(J))],ee);function Ti(_0x4084d4,_0x2dfdf7,_0x41b05a,_0x22362b,_0x2637e5,_0x625cfe){var _0x33f925=_0x2a1005;return _0x22362b&&_0x2637e5['length']?_0x4084d4[_0x33f925(0x171)](oe,_0x2dfdf7,_0x41b05a,_0x22362b,_0x2637e5,_0x625cfe,void 0x0):_0x22362b?_0x4084d4[_0x33f925(0x171)](le,_0x2dfdf7,_0x41b05a,_0x22362b,_0x625cfe):_0x2637e5[_0x33f925(0x2c6)]?_0x4084d4['createInstance'](ae,_0x2dfdf7,_0x41b05a,_0x2637e5,_0x625cfe):_0x4084d4[_0x33f925(0x171)](be,_0x2dfdf7,_0x41b05a,_0x625cfe);}var Hs=Object[_0x2a1005(0x163)],At=(_0x31abcd,_0x3a684f,_0x404dbd,_0x28ff92)=>{for(var _0x24a046=_0x28ff92>0x1?void 0x0:_0x28ff92?Hs(_0x3a684f,_0x404dbd):_0x3a684f,_0x558e9c=_0x31abcd['length']-0x1,_0x2386a0;_0x558e9c>=0x0;_0x558e9c--)(_0x2386a0=_0x31abcd[_0x558e9c])&&(_0x24a046=_0x2386a0(_0x24a046)||_0x24a046);return _0x24a046;},k=(_0x1f1b96,_0x563067)=>(_0x49eecc,_0x56790e)=>_0x563067(_0x49eecc,_0x56790e,_0x1f1b96);let st=class extends _0x23e95c{constructor(_0x2fe0e8,_0x1ec743,_0x400cfe,_0x23fecf,_0x485e74,_0x3da2bf,_0x565e96,_0x22df01,_0x335eb3,_0x36fd36,_0x3eb2cf,_0xd21bb8,_0x11421b,_0x37dfa7){var _0x9df7a4=_0x2a1005;super(),D(this,_0x9df7a4(0x1e7),new _0x23d601(null)),D(this,_0x9df7a4(0x2f4),this['_state$'][_0x9df7a4(0x195)]()),D(this,_0x9df7a4(0x3a4)),D(this,_0x9df7a4(0x464),!0x1),D(this,'_changesetSessionId',''),D(this,_0x9df7a4(0x1d2),0x0),D(this,'status$',this[_0x9df7a4(0x2f4)][_0x9df7a4(0x368)](_0x329a31(_0x1a865f=>_0x1a865f?_0x1a865f['status']:Si['OFFLINE']),_0x4fe8b6(0x1))),D(this,'_transitionLocked',!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x9df7a4(0x43c)]=_0x2fe0e8,this['session']=_0x1ec743,this['_type']=_0x400cfe,this[_0x9df7a4(0x1d3)]=_0x23fecf,this[_0x9df7a4(0x3e7)]=_0x485e74,this['_localeService']=_0x3da2bf,this['_revisionService']=_0x565e96,this[_0x9df7a4(0x1a0)]=_0x22df01,this[_0x9df7a4(0x373)]=_0x335eb3,this[_0x9df7a4(0x32a)]=_0x36fd36,this[_0x9df7a4(0x1ec)]=_0x3eb2cf,this[_0x9df7a4(0x2ab)]=_0xd21bb8,this[_0x9df7a4(0x364)]=_0x11421b,this['_localCacheService']=_0x37dfa7);}get[_0x2a1005(0x362)](){return this['_state'];}async['init'](){var _0x3a3605=_0x2a1005;if(this[_0x3a3605(0x362)])throw new Error(_0x3a3605(0x414));await this[_0x3a3605(0x256)]();}[_0x2a1005(0x293)](){return this['_collaborationPaused']=!0x0,_0x56841c(()=>{var _0x1c013b=_0x44d6;this[_0x1c013b(0x464)]=!0x1,this[_0x1c013b(0x21d)]();});}[_0x2a1005(0x266)](_0x47ab59){var _0x522506=_0x2a1005;this[_0x522506(0x1d1)](_0x47ab59);}[_0x2a1005(0x455)](_0x3092e7){var _0x59ac03=_0x2a1005;this[_0x59ac03(0x3a4)]=_0x3092e7,this['_state$'][_0x59ac03(0x1cf)](_0x3092e7);}async[_0x2a1005(0x256)](){var _0x43f8b1=_0x2a1005,_0x57d16e;this[_0x43f8b1(0x455)](await this[_0x43f8b1(0x1c4)]()),this[_0x43f8b1(0x364)]&&((_0x57d16e=this[_0x43f8b1(0x364)])==null||_0x57d16e['editingUnit'](this['unitID']),this[_0x43f8b1(0x2e7)](this[_0x43f8b1(0x364)]['getUnitStatus$'](this['unitID'])[_0x43f8b1(0x1dc)](_0x8b336e=>{var _0x2204df=_0x43f8b1;this[_0x2204df(0x32a)][_0x2204df(0x261)](_0x2204df(0x29d),'editing\x20status\x20changed\x20to',_0x8b336e),_0x8b336e===mi[_0x2204df(0x1db)]?(this[_0x2204df(0x1a0)][_0x2204df(0x212)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x2204df(0x2ab)][_0x2204df(0x424)](new _0x4686f(this[_0x2204df(0x43c)])['id'],!0x1),this[_0x2204df(0x2ab)][_0x2204df(0x1c0)](!0x1)):(this['_permissionService'][_0x2204df(0x424)](new _0x4686f(this['unitID'])['id'],!0x0),this[_0x2204df(0x2ab)][_0x2204df(0x1c0)](!0x0));})));let _0x2d5ae1=!0x1;return this[_0x43f8b1(0x2e7)](this[_0x43f8b1(0x1be)][_0x43f8b1(0x24b)][_0x43f8b1(0x1dc)](_0x5d2127=>{var _0x32261b=_0x43f8b1;_0x5d2127===me[_0x32261b(0x18d)]?this[_0x32261b(0x2d7)](_0x2d5ae1):_0x5d2127===me[_0x32261b(0x40d)]&&(_0x2d5ae1=!0x0,this[_0x32261b(0x185)]());})),this[_0x43f8b1(0x2e7)](this['session']['event$'][_0x43f8b1(0x1dc)](_0x232e68=>{var _0xb830c=_0x43f8b1;try{switch(_0x232e68[_0xb830c(0x2ff)]){case _0x562005['NEW_CHANGESETS']:{this[_0xb830c(0x31d)](_0x2cb9eb(_0x232e68[_0xb830c(0x2f0)]));break;}case _0x562005[_0xb830c(0x342)]:{this[_0xb830c(0x238)](_0x232e68['data']);break;}case _0x562005[_0xb830c(0x27b)]:{this[_0xb830c(0x1fd)]();break;}case _0x562005[_0xb830c(0x269)]:{this[_0xb830c(0x221)](_0x232e68[_0xb830c(0x2f0)]);break;}case _0x562005[_0xb830c(0x2bf)]:{this[_0xb830c(0x3da)](_0x232e68['data'][_0xb830c(0x35f)][_0xb830c(0x363)](_0x4b026c=>_0x2cb9eb(_0x4b026c)));break;}case _0x562005[_0xb830c(0x3bb)]:{this[_0xb830c(0x1fd)]({'isPermissionRej':!0x0});break;}case _0x562005['UNISCRIPT_RUN']:break;}}catch(_0xf05ace){throw console[_0xb830c(0x38d)](_0xb830c(0x286),_0xf05ace),_0xf05ace;}})),this[_0x43f8b1(0x3a4)];}[_0x2a1005(0x35d)](){this['_transitionLocked']=!0x1;}[_0x2a1005(0x1ce)](){var _0x3fe88c=_0x2a1005;if(this['_transitionLocked'])throw new Error(_0x3fe88c(0x2ec));this[_0x3fe88c(0x1ab)]=!0x0;}[_0x2a1005(0x1d1)](_0x2f2072){var _0x3cbc7a=_0x2a1005;this[_0x3cbc7a(0x1ce)](),this['_updateState'](this[_0x3cbc7a(0x3a4)][_0x3cbc7a(0x453)](_0x2f2072)),this[_0x3cbc7a(0x35d)]();}['_onRemoteChangeset'](_0x7973e3){var _0x5a4449=_0x2a1005;if(!(_0x7973e3['revision']<=this[_0x5a4449(0x421)][_0x5a4449(0x187)](this[_0x5a4449(0x43c)]))){if(this[_0x5a4449(0x464)]){this['_remoteChangesetQueue'][_0x5a4449(0x2c4)](_0x7973e3);return;}this[_0x5a4449(0x199)](_0x7973e3);}}[_0x2a1005(0x21d)](){var _0x4888fc=_0x2a1005;this[_0x4888fc(0x2e4)][_0x4888fc(0x34a)](_0x97fa10=>this[_0x4888fc(0x199)](_0x97fa10)),this[_0x4888fc(0x2e4)]=[];}[_0x2a1005(0x199)](_0x2ca859){var _0x17345c=_0x2a1005;const _0x5f1dfe=this[_0x17345c(0x3e7)][_0x17345c(0x175)][_0x17345c(0x3c3)](this[_0x17345c(0x3e7)][_0x17345c(0x175)][_0x17345c(0x406)]()[_0x17345c(0x192)])(_0x2ca859['mutations'],null)||_0x2ca859['mutations'],_0x1695f9={..._0x2ca859,'mutations':_0x5f1dfe};this['_lockTransition'](),this[_0x17345c(0x455)](this[_0x17345c(0x3a4)][_0x17345c(0x3b5)](_0x1695f9)),this[_0x17345c(0x35d)]();}[_0x2a1005(0x238)](_0x58027f){var _0x41e859=_0x2a1005;this[_0x41e859(0x1ce)](),this[_0x41e859(0x455)](this['_state'][_0x41e859(0x3eb)](_0x58027f)),this[_0x41e859(0x35d)]();}[_0x2a1005(0x1fd)](_0x8667ce){var _0xdf1cdf=_0x2a1005;this['_lockTransition'](),this['_updateState'](this[_0xdf1cdf(0x3a4)][_0xdf1cdf(0x1f7)](_0x8667ce)),this[_0xdf1cdf(0x35d)]();}['_onRemoteRetry'](_0x3b4d4b){var _0x38e8fe=_0x2a1005;this[_0x38e8fe(0x1ce)](),this[_0x38e8fe(0x455)](this[_0x38e8fe(0x3a4)]['onRemoteRetry'](_0x3b4d4b)),this[_0x38e8fe(0x35d)]();}[_0x2a1005(0x3da)](_0x86b083){var _0x1f7557=_0x2a1005;if(!(this[_0x1f7557(0x3a4)]instanceof ee))throw new TypeError(_0x1f7557(0x428));const _0x5b0169=_0x86b083[_0x1f7557(0x363)](_0x54c310=>{var _0x84d7a2=_0x1f7557;const _0x341329=this[_0x84d7a2(0x3e7)][_0x84d7a2(0x175)]['fetchThroughInterceptors'](this[_0x84d7a2(0x3e7)][_0x84d7a2(0x175)][_0x84d7a2(0x406)]()[_0x84d7a2(0x192)])(_0x54c310['mutations'],null)||_0x54c310[_0x84d7a2(0x474)];return{..._0x54c310,'mutations':_0x341329};});this[_0x1f7557(0x1ce)](),this['_updateState'](this[_0x1f7557(0x3a4)][_0x1f7557(0x2f8)](_0x5b0169)),this[_0x1f7557(0x35d)]();}[_0x2a1005(0x185)](){var _0x5194e6=_0x2a1005;this[_0x5194e6(0x1ce)](),this[_0x5194e6(0x455)](this[_0x5194e6(0x3a4)][_0x5194e6(0x1c9)]()),this[_0x5194e6(0x35d)]();}[_0x2a1005(0x2d7)](_0x2c764d=!0x1){var _0x1aa948=_0x2a1005;this[_0x1aa948(0x1ce)](),this[_0x1aa948(0x455)](this[_0x1aa948(0x3a4)][_0x1aa948(0x430)]()),this[_0x1aa948(0x35d)]();const _0x2f4e5d=this['_state'];_0x2c764d&&_0x2f4e5d instanceof be&&(this[_0x1aa948(0x1ce)](),this[_0x1aa948(0x455)](_0x2f4e5d[_0x1aa948(0x16e)]()),this[_0x1aa948(0x35d)]());}async[_0x2a1005(0x1c4)](){return new Promise(_0x32d425=>{var _0x30bb76=_0x44d6;this[_0x30bb76(0x1be)][_0x30bb76(0x24b)][_0x30bb76(0x368)](_0x824240(0x1))['subscribe'](async _0x2a99b1=>{var _0x996bac=_0x30bb76;_0x32d425(await this[_0x996bac(0x2c0)](_0x2a99b1===me['ONLINE']));});});}[_0x2a1005(0x469)](){const _0x48ed85=this['unitID'];return{'onStateChange':(_0x1777a8,_0x17e891)=>{var _0x22eabb=_0x44d6;if(_0x1777a8!==this[_0x22eabb(0x3a4)])throw new Error(_0x22eabb(0x1bc)+_0x1777a8['status']+_0x22eabb(0x35e)+_0x17e891[_0x22eabb(0x2fc)]+_0x22eabb(0x39f)+this[_0x22eabb(0x3a4)]['status']);this[_0x22eabb(0x455)](_0x17e891);},'onSendChangeset':_0x14469e=>{var _0x300ead=_0x44d6;_0x14469e[_0x300ead(0x36b)]||(_0x14469e['sid']=this['_changesetSessionId'],_0x14469e[_0x300ead(0x203)]=++this[_0x300ead(0x1d2)]);const _0x410efb={'eventID':_0x562005[_0x300ead(0x2ac)],'data':{'unitID':_0x14469e[_0x300ead(0x43c)],'unitType':this['_type'],'changeset':_0x14469e,'memberID':this[_0x300ead(0x1be)][_0x300ead(0x1a9)]()}};this['session'][_0x300ead(0x2e2)](_0x410efb,this['unitID']);},'onMissingChangesets':({from:_0x256c84,to:_0x2f7d35})=>{var _0x1c0bf5=_0x44d6;this[_0x1c0bf5(0x32a)][_0x1c0bf5(0x261)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x256c84+_0x1c0bf5(0x292)+_0x2f7d35);const _0x289453={'eventID':_0x562005[_0x1c0bf5(0x25b)],'data':{'unitID':_0x48ed85,'unitType':this[_0x1c0bf5(0x431)],'from':_0x256c84,'to':_0x2f7d35}};this['session'][_0x1c0bf5(0x2e2)](_0x289453,this['unitID']);}};}async[_0x2a1005(0x2c0)](_0x49507f){var _0x157c51=_0x2a1005,_0x43a04a,_0x8e88c6,_0x59d129;const _0x589f3e=await((_0x43a04a=this[_0x157c51(0x445)])==null?void 0x0:_0x43a04a[_0x157c51(0x42b)](this['unitID'])),_0x1cb99a=(_0x8e88c6=_0x589f3e==null?void 0x0:_0x589f3e[_0x157c51(0x474)])!=null?_0x8e88c6:[],_0x289ecd=(_0x59d129=_0x589f3e==null?void 0x0:_0x589f3e['awaitingChangeset'])!=null?_0x59d129:null,_0x5225b6=!!(_0x289ecd!=null&&_0x289ecd[_0x157c51(0x36b)])&&!!(_0x289ecd!=null&&_0x289ecd['reqId']);this[_0x157c51(0x37d)]=_0x5225b6?_0x289ecd['sid']:_0x3cedbe(),this[_0x157c51(0x1d2)]=_0x5225b6?_0x289ecd[_0x157c51(0x203)]:0x0;const _0x4a1a75=this[_0x157c51(0x43c)];try{this[_0x157c51(0x276)](_0x289ecd,_0x1cb99a);}catch(_0x57cb08){this[_0x157c51(0x32a)][_0x157c51(0x38d)](_0x57cb08);}const _0x24ea72=this[_0x157c51(0x469)]();if(_0x49507f){const _0x41b352=Ti(this['_injector'],_0x4a1a75,this[_0x157c51(0x431)],_0x289ecd,_0x1cb99a,_0x24ea72);return _0x41b352 instanceof ae?_0x41b352[_0x157c51(0x24f)]():(_0x41b352 instanceof oe||_0x41b352 instanceof le)&&_0x41b352[_0x157c51(0x166)](),_0x41b352;}return this['_injector']['createInstance'](de,_0x4a1a75,this['_type'],_0x289ecd,_0x1cb99a,_0x24ea72);}['_replayCachedMutations'](_0x4e2879,_0x11bc22){var _0x3727c4=_0x2a1005,_0x3dfd4c,_0x10472e;const _0x4da1f7=this[_0x3727c4(0x3e7)]['interceptor'][_0x3727c4(0x3c3)](this['_compressMutationService'][_0x3727c4(0x175)][_0x3727c4(0x406)]()['COMPRESS_MUTATION_APPLY']);(_0x3dfd4c=_0x4da1f7((_0x4e2879==null?void 0x0:_0x4e2879[_0x3727c4(0x474)])||[],null))==null||_0x3dfd4c['forEach'](_0x309dea=>this[_0x3727c4(0x1ec)][_0x3727c4(0x384)](_0x309dea['id'],_0x309dea[_0x3727c4(0x2bb)])),(_0x10472e=_0x4da1f7(_0x11bc22||[],null))==null||_0x10472e[_0x3727c4(0x34a)](_0x4eb113=>this['_commandService'][_0x3727c4(0x384)](_0x4eb113['id'],_0x4eb113[_0x3727c4(0x2bb)]));}};st=At([k(0x3,_0x941461(_0x197f37)),k(0x4,_0x941461(_0x4f5830)),k(0x5,_0x941461(_0x139ca)),k(0x6,_0x941461(_0x5ed83b)),k(0x7,_0x941461(ve)),k(0x8,_0x226b33),k(0x9,_0x59ee6a),k(0xa,_0x5761a5),k(0xb,_0x2e3c89),k(0xc,_0x475d23(_t)),k(0xd,_0x475d23(J))],st);let It=class extends st{constructor(_0x1f9293,_0x30b368,_0x574196,_0x2fcf01,_0x41e7bc,_0x18d62a,_0x5878bf,_0x5a865b,_0x445a05,_0x4b6197,_0x1619ea,_0x232062,_0x25fbcb,_0x11a562){var _0xffb168=_0x2a1005;super(_0x1f9293,_0x574196,_0x30b368,_0x2fcf01,_0x41e7bc,_0x18d62a,_0x5878bf,_0x5a865b,_0x445a05,_0x4b6197,_0x1619ea,_0x232062,_0x25fbcb,_0x11a562),D(this,_0xffb168(0x359),null),(this[_0xffb168(0x43c)]=_0x1f9293,this[_0xffb168(0x1f1)]=_0x30b368);}[_0x2a1005(0x2a7)](_0x26c23d){var _0x133e9f=_0x2a1005;this[_0x133e9f(0x359)]=_0x26c23d;}[_0x2a1005(0x40a)](){var _0x1b0588=_0x2a1005;this[_0x1b0588(0x359)]=null,super[_0x1b0588(0x40a)]();}[_0x2a1005(0x469)](){var _0xd19a98=_0x2a1005;const _0x4575f2=super[_0xd19a98(0x469)]();return _0x4575f2[_0xd19a98(0x1aa)]=_0x27ba10=>{var _0x1ab289=_0xd19a98,_0x3a7020,_0x5a18d9;return(_0x5a18d9=(_0x3a7020=this[_0x1ab289(0x359)])==null?void 0x0:_0x3a7020[_0x1ab289(0x1aa)])==null?void 0x0:_0x5a18d9[_0x1ab289(0x341)](_0x3a7020,_0x27ba10);},_0x4575f2['onTransformState']=_0x1b6c27=>{var _0x529f85=_0xd19a98,_0x2688d2,_0x4f7e09;return(_0x4f7e09=(_0x2688d2=this[_0x529f85(0x359)])==null?void 0x0:_0x2688d2[_0x529f85(0x16a)])==null?void 0x0:_0x4f7e09['call'](_0x2688d2,_0x1b6c27);},_0x4575f2[_0xd19a98(0x263)]=_0x8ee208=>{var _0x339bd6=_0xd19a98,_0x5d0432,_0x4e6760;return(_0x4e6760=(_0x5d0432=this[_0x339bd6(0x359)])==null?void 0x0:_0x5d0432['onTransformSelections'])==null?void 0x0:_0x4e6760['call'](_0x5d0432,_0x8ee208);},_0x4575f2['onSyncEditingCollabCursor']=_0xd55ce3=>{var _0xbedcae=_0xd19a98,_0x1ca0f8,_0x544cd9;return(_0x544cd9=(_0x1ca0f8=this[_0xbedcae(0x359)])==null?void 0x0:_0x1ca0f8[_0xbedcae(0x3fd)])==null?void 0x0:_0x544cd9['call'](_0x1ca0f8,_0xd55ce3);},_0x4575f2[_0xd19a98(0x34e)]=_0x2a8fff=>{var _0x12d954=_0xd19a98,_0x17c79b,_0x268eb1,_0x10397c;if(!((_0x17c79b=this[_0x12d954(0x359)])!=null&&_0x17c79b['onTransformRemoteChangesetByIMECache']))throw new Error(_0x12d954(0x370));return(_0x10397c=(_0x268eb1=this[_0x12d954(0x359)])==null?void 0x0:_0x268eb1[_0x12d954(0x34e)])==null?void 0x0:_0x10397c[_0x12d954(0x341)](_0x268eb1,_0x2a8fff);},_0x4575f2['onTransformRemoteChangesetByStateCache']=_0x40e0a6=>{var _0x191bd5=_0xd19a98,_0x344e15,_0x47cc8c,_0x40429c;if(!((_0x344e15=this[_0x191bd5(0x359)])!=null&&_0x344e15[_0x191bd5(0x1bf)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x40429c=(_0x47cc8c=this[_0x191bd5(0x359)])==null?void 0x0:_0x47cc8c[_0x191bd5(0x1bf)])==null?void 0x0:_0x40429c[_0x191bd5(0x341)](_0x47cc8c,_0x40e0a6);},_0x4575f2;}async[_0x2a1005(0x256)](){var _0x1d63f9=_0x2a1005;const _0x4e2a19=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x1d63f9(0x22f)]((_0x1aa592,_0x36f360)=>{var _0x1559a5=_0x1d63f9;if(_0x1aa592[_0x1559a5(0x1f1)]!==_0x275b65[_0x1559a5(0x184)]||_0x36f360!=null&&_0x36f360[_0x1559a5(0x3cd)]||_0x36f360!=null&&_0x36f360[_0x1559a5(0x33e)]||_0x1aa592['id']===_0x4255d0['id'])return;const _0x376b2f=_0x1aa592['params'];if((_0x376b2f==null?void 0x0:_0x376b2f[_0x1559a5(0x1ee)])!==this[_0x1559a5(0x43c)])return;const _0x44b7b4=_0x1aa592,_0x575605=this[_0x1559a5(0x3e7)][_0x1559a5(0x175)]['fetchThroughInterceptors'](this[_0x1559a5(0x3e7)][_0x1559a5(0x175)][_0x1559a5(0x406)]()[_0x1559a5(0x2ba)])([_0x44b7b4],this[_0x1559a5(0x373)])||[_0x44b7b4];this[_0x1559a5(0x1d1)](_0x575605[0x0]);})),_0x4e2a19;}};It=At([k(0x3,_0x941461(_0x197f37)),k(0x4,_0x941461(_0x4f5830)),k(0x5,_0x941461(_0x139ca)),k(0x6,_0x941461(_0x5ed83b)),k(0x7,_0x941461(ve)),k(0x8,_0x226b33),k(0x9,_0x59ee6a),k(0xa,_0x5761a5),k(0xb,_0x2e3c89),k(0xc,_0x475d23(_t)),k(0xd,_0x475d23(J))],It);let St=class extends st{constructor(_0x275ded,_0x3217d6,_0x54830e,_0x12771d,_0x51c38e,_0x5bf9f8,_0xde4879,_0xa8e893,_0x50cf8e,_0x2b44a7,_0x3cecd7,_0x3983b6,_0x260980,_0x3669f6,_0x17b368){var _0x81e792=_0x2a1005;super(_0x275ded,_0x54830e,_0x3217d6,_0x12771d,_0x51c38e,_0x5bf9f8,_0xde4879,_0x50cf8e,_0x2b44a7,_0x3cecd7,_0x3983b6,_0x260980,_0x3669f6,_0x17b368),this[_0x81e792(0x43c)]=_0x275ded,this['type']=_0x3217d6,this['_sheetTransformSelectionsService']=_0xa8e893;}[_0x2a1005(0x469)](){var _0x5a5cc0=_0x2a1005;const _0x28f81c=super[_0x5a5cc0(0x469)]();return _0x28f81c[_0x5a5cc0(0x263)]=_0xa08879=>this[_0x5a5cc0(0x1b4)]['transformSelections'](_0xa08879),_0x28f81c;}async[_0x2a1005(0x256)](){var _0x52b561=_0x2a1005;const _0xe490ab=await super[_0x52b561(0x256)]();return this[_0x52b561(0x2e7)](this[_0x52b561(0x1ec)][_0x52b561(0x22f)]((_0x128b0f,_0x471f31)=>{var _0x5f26b1=_0x52b561;if(_0x128b0f[_0x5f26b1(0x1f1)]!==_0x275b65[_0x5f26b1(0x184)]||_0x471f31!=null&&_0x471f31[_0x5f26b1(0x3cd)]||_0x471f31!=null&&_0x471f31[_0x5f26b1(0x33e)])return;const _0x55ee57=_0x128b0f[_0x5f26b1(0x2bb)];if((_0x55ee57==null?void 0x0:_0x55ee57[_0x5f26b1(0x1ee)])!==this[_0x5f26b1(0x43c)])return;const _0x4d4d04=_0x128b0f,_0xdf86f2=this[_0x5f26b1(0x3e7)][_0x5f26b1(0x175)][_0x5f26b1(0x3c3)](this[_0x5f26b1(0x3e7)][_0x5f26b1(0x175)][_0x5f26b1(0x406)]()[_0x5f26b1(0x2ba)])([_0x4d4d04],this[_0x5f26b1(0x373)])||[_0x4d4d04];this[_0x5f26b1(0x1d1)](_0xdf86f2[0x0]);})),_0xe490ab;}};St=At([k(0x3,_0x941461(_0x197f37)),k(0x4,_0x941461(_0x4f5830)),k(0x5,_0x941461(_0x139ca)),k(0x6,_0x941461(_0x5ed83b)),k(0x7,_0x941461(it)),k(0x8,_0x941461(ve)),k(0x9,_0x226b33),k(0xa,_0x59ee6a),k(0xb,_0x5761a5),k(0xc,_0x2e3c89),k(0xd,_0x475d23(_t)),k(0xe,_0x475d23(J))],St);const Bs=_0x59652a('univer-pro.collaboration-client.network-condition.service');function Fs(_0x255a8d){var _0x238ae4=_0x2a1005,_0x47bec0,_0x414f51,_0x464dce,_0x3f7973,_0x5edbdd;const _0x2e95d9=_0x255a8d[_0x238ae4(0x2f0)],_0x5aee85=JSON[_0x238ae4(0x3d4)](_0x2e95d9);switch(_0x5aee85[_0x238ae4(0x2fa)]){case j['HEARTBEAT']:case j[_0x238ae4(0x39d)]:{const _0x5a0f5d=_0x5aee85[_0x238ae4(0x473)];return{..._0x5aee85,'data':_0x5a0f5d,'cmd':_0x5aee85[_0x238ae4(0x2fa)]};}case j['JOIN']:{const _0x33221e=_0x5aee85[_0x238ae4(0x2b4)];return{..._0x5aee85,'data':_0x33221e,'cmd':_0x5aee85['cmd']};}case j[_0x238ae4(0x243)]:{const _0x35ef7b=_0x5aee85[_0x238ae4(0x17d)];switch(_0x35ef7b[_0x238ae4(0x2ff)]){case _0x562005[_0x238ae4(0x3bb)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x47bec0=_0x35ef7b[_0x238ae4(0x22b)])==null?void 0x0:_0x47bec0['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x342)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x414f51=_0x35ef7b[_0x238ae4(0x3f6)])==null?void 0x0:_0x414f51['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x18f)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x464dce=_0x35ef7b[_0x238ae4(0x386)])==null?void 0x0:_0x464dce['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['CHANGESET_REJ']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x3f7973=_0x35ef7b[_0x238ae4(0x2dd)])==null?void 0x0:_0x3f7973['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['CHANGESET_SHOULD_RETRY']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x5edbdd=_0x35ef7b['csShouldRetryEvent'])==null?void 0x0:_0x5edbdd['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['UPDATE_CURSOR']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b['updateCursorEvent']},'cmd':_0x5aee85['cmd']};case _0x562005[_0x238ae4(0x1eb)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x181)]},'cmd':_0x5aee85['cmd']};case _0x562005[_0x238ae4(0x219)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x19f)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x213)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x360)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['LIVESHARE_FETCH_OPERATIONS']:case _0x562005[_0x238ae4(0x3e3)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x3af)]},'cmd':_0x5aee85['cmd']};case _0x562005[_0x238ae4(0x1de)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x360)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x442)]:return{..._0x5aee85,'data':_0x35ef7b,'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['COMMENT_UPDATE']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x3e1)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x178)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x2b5)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x2de)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x295)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['UNISCRIPT_RUN']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x19e)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};default:return _0x5aee85;}}default:return _0x5aee85;}}function js(_0x2b3923){var _0x40e506=_0x2a1005;switch(_0x2b3923['cmd']){case j['HEARTBEAT']:case j[_0x40e506(0x39d)]:return JSON[_0x40e506(0x17a)]({'cmd':_0x2b3923['cmd'],'routeKey':_0x2b3923[_0x40e506(0x3ed)]});case j[_0x40e506(0x36a)]:{let _0x48fc4c;switch(_0x2b3923['data']['eventID']){case _0x562005[_0x40e506(0x470)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x470)],'updateCursorEvent':_0x2b3923['data'][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x219)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x219)],'leaveEvent':_0x2b3923[_0x40e506(0x2f0)][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x1eb)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x1eb)],'joinEvent':_0x2b3923[_0x40e506(0x2f0)][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x213)]:{_0x48fc4c={'eventID':_0x562005['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2b3923['data'][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x3e3)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x3e3)],'liveShareOperation':_0x2b3923['data'][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x1de)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x1de)],'liveShareTerminate':_0x2b3923[_0x40e506(0x2f0)][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x374)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x374)],'liveShareRequestHost':_0x2b3923['data'][_0x40e506(0x2f0)]};break;}case _0x562005['LIVESHARE_FETCH_OPERATIONS']:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x1cb)]};break;}default:_0x48fc4c={'eventID':_0x2b3923[_0x40e506(0x2f0)][_0x40e506(0x2ff)]};}return JSON[_0x40e506(0x17a)]({'cmd':_0x2b3923[_0x40e506(0x2fa)],'routeKey':_0x2b3923[_0x40e506(0x3ed)],'collaMsg':_0x48fc4c});}case j[_0x40e506(0x357)]:return JSON[_0x40e506(0x17a)]({'cmd':_0x2b3923[_0x40e506(0x2fa)],'routeKey':_0x2b3923[_0x40e506(0x3ed)],'joinReq':_0x2b3923[_0x40e506(0x2f0)]});case j[_0x40e506(0x194)]:return JSON[_0x40e506(0x17a)]({'cmd':_0x2b3923[_0x40e506(0x2fa)],'routeKey':_0x2b3923[_0x40e506(0x3ed)],'leaveReq':_0x2b3923[_0x40e506(0x2f0)]});default:throw new Error(_0x40e506(0x3c7));}}var Vs=Object[_0x2a1005(0x163)],Gs=(_0x588103,_0x10dd07,_0x4ecdcf,_0x340830)=>{var _0x1045ba=_0x2a1005;for(var _0x4949a8=_0x340830>0x1?void 0x0:_0x340830?Vs(_0x10dd07,_0x4ecdcf):_0x10dd07,_0x5b86c9=_0x588103[_0x1045ba(0x2c6)]-0x1,_0x1774d2;_0x5b86c9>=0x0;_0x5b86c9--)(_0x1774d2=_0x588103[_0x5b86c9])&&(_0x4949a8=_0x1774d2(_0x4949a8)||_0x4949a8);return _0x4949a8;},ye=(_0x53825d,_0x18a288)=>(_0x43ce43,_0x850665)=>_0x18a288(_0x43ce43,_0x850665,_0x53825d);const Oi=_0x59652a(_0x2a1005(0x476));function Ws(_0x425ca0,_0x9c08f7,_0x31c3fa){var _0x329f32=_0x2a1005;return _0x425ca0+'/'+_0x9c08f7+_0x329f32(0x216)+_0x31c3fa+_0x329f32(0x2d2);}let Gt=class extends _0x4f60b7{constructor(_0x458a5c,_0x17a75d,_0x279d80,_0x2ea1d7,_0x4eb37a){var _0x35e850=_0x2a1005;super(),this[_0x35e850(0x1d3)]=_0x458a5c,this[_0x35e850(0x326)]=_0x17a75d,this[_0x35e850(0x206)]=_0x279d80,this[_0x35e850(0x32a)]=_0x2ea1d7,this[_0x35e850(0x1af)]=_0x4eb37a;}['_doCreateSocket'](_0x2b8fed){var _0x12fb6d=_0x2a1005;const _0x488fe4=this[_0x12fb6d(0x1d3)]['get'](_0x31c9d3);if(!_0x488fe4)throw new Error(_0x12fb6d(0x252));const _0x571b26=_0x488fe4[_0x12fb6d(0x27e)](_0x2b8fed);if(!_0x571b26)throw new Error(_0x12fb6d(0x3cf));const _0x44837f=new _0x1139e1(),_0x196799=new _0x3cfa67();_0x44837f[_0x12fb6d(0x215)](_0x571b26['close$'][_0x12fb6d(0x1dc)](_0x2e0240=>_0x196799[_0x12fb6d(0x1cf)](_0x2e0240))),_0x44837f[_0x12fb6d(0x215)](_0x56841c(()=>_0x196799[_0x12fb6d(0x3d6)]()));const _0x1d19ac=new _0x3cfa67();_0x44837f[_0x12fb6d(0x215)](_0x571b26[_0x12fb6d(0x19a)]['subscribe'](_0x5570c0=>_0x1d19ac[_0x12fb6d(0x1cf)](_0x5570c0))),_0x44837f['add'](_0x56841c(()=>_0x1d19ac[_0x12fb6d(0x3d6)]()));const _0x40409e=new _0x3cfa67();_0x44837f['add'](_0x571b26['message$'][_0x12fb6d(0x1dc)](_0x90b0e5=>{var _0x142d40=_0x12fb6d;const _0x4b49f5=Fs(_0x90b0e5);_0x40409e[_0x142d40(0x1cf)](_0x4b49f5);})),_0x44837f[_0x12fb6d(0x215)](_0x56841c(()=>_0x40409e[_0x12fb6d(0x3d6)]()));let _0x243d80;const _0x147800=()=>{var _0x3dc95a=_0x12fb6d;_0x1d19ac[_0x3dc95a(0x1cf)](new Event('connection\x20error')),_0x196799[_0x3dc95a(0x1cf)](new Event(_0x3dc95a(0x2c1))),_0x243d80[_0x3dc95a(0x466)]();};return _0x243d80={'memberID':'','close$':_0x196799[_0x12fb6d(0x195)](),'error$':_0x1d19ac['asObservable'](),'open$':_0x571b26[_0x12fb6d(0x3ab)],'message$':_0x40409e['asObservable'](),'send':_0x40e223=>{var _0x2a2a19=_0x12fb6d;if(_0x40e223[_0x2a2a19(0x2fa)]===j[_0x2a2a19(0x36a)]){if(_0x40e223[_0x2a2a19(0x2f0)]['eventID']===_0x562005['SUBMIT_CHANGESET']){this[_0x2a2a19(0x19d)](_0x243d80,_0x40e223[_0x2a2a19(0x2f0)])[_0x2a2a19(0x39a)](_0x29ea1b=>{var _0x517ef0=_0x2a2a19;this['_logService'][_0x517ef0(0x38d)](_0x29ea1b),_0x147800();});return;}if(_0x40e223[_0x2a2a19(0x2f0)][_0x2a2a19(0x2ff)]===_0x562005['FETCH_MISSING']){const _0x5acf48=_0x40e223[_0x2a2a19(0x2f0)];this[_0x2a2a19(0x296)](_0x5acf48)[_0x2a2a19(0x1a6)](_0x2ae5cc=>{var _0x18201e=_0x2a2a19;_0x40409e[_0x18201e(0x1cf)]({'cmd':j[_0x18201e(0x243)],'code':pe['OK'],'routeKey':_0x5acf48[_0x18201e(0x2f0)]['unitID'],'routeType':'','data':{'eventID':_0x562005[_0x18201e(0x2bf)],'data':{'changesets':_0x2ae5cc}}});})['catch'](_0x4f4a05=>{var _0x5b9a36=_0x2a2a19;this[_0x5b9a36(0x32a)]['error'](_0x4f4a05),_0x147800();});return;}}_0x571b26[_0x2a2a19(0x2e2)](js(_0x40e223));},'close':()=>{var _0x263efa=_0x12fb6d;_0x571b26['close'](),_0x44837f[_0x263efa(0x40a)]();}},_0x243d80;}async[_0x2a1005(0x19d)](_0x415f34,_0x19607a){var _0x95b3a7=_0x2a1005,_0x2d4808;const {unitType:_0x2b437f,unitID:_0xa72fbd,changeset:_0x54e529}=_0x19607a['data'],_0x4545dd={'unitID':_0xa72fbd,'memberID':_0x415f34[_0x95b3a7(0x2f6)],'type':_0x2b437f,'changeset':_0x437722(_0x54e529)},_0x4d186b=this['_configService'][_0x95b3a7(0x250)](K),_0x32f783=Ws((_0x2d4808=_0x4d186b==null?void 0x0:_0x4d186b['collabSubmitChangesetUrl'])!=null?_0x2d4808:Os,_0x2b437f,_0xa72fbd);try{await this[_0x95b3a7(0x326)]['post'](_0x32f783,{'body':_0x4545dd});}catch(_0x1286fc){throw this['_logService']['error'](_0x95b3a7(0x220),'submit\x20changeset\x20error!'),_0x1286fc;}}async[_0x2a1005(0x296)](_0xd6b8cd){var _0x66ae9d=_0x2a1005;const {unitID:_0x52c24f,from:_0xa8cc76,to:_0x5ee270,unitType:_0x4d71fb}=_0xd6b8cd[_0x66ae9d(0x2f0)];return(await this[_0x66ae9d(0x1af)][_0x66ae9d(0x3d2)]({'metadata':void 0x0},{'unitID':_0x52c24f,'type':_0x4d71fb,'from':_0xa8cc76,'to':_0x5ee270}))[_0x66ae9d(0x35f)][_0x66ae9d(0x363)](_0x4265f1=>((_0x4265f1['mutations']===null||_0x4265f1['mutations']===void 0x0)&&(_0x4265f1['mutations']=[]),_0x4265f1));}};Gt=Gs([ye(0x0,_0x941461(_0x197f37)),ye(0x1,_0x941461(_0x2ff5b1)),ye(0x2,_0xf25e91),ye(0x3,_0x59ee6a),ye(0x4,_0x3b2e01)],Gt);var Ys=Object[_0x2a1005(0x163)],Ks=(_0x376b28,_0x1d26d3,_0x5f033a,_0x57a261)=>{var _0x4cba15=_0x2a1005;for(var _0x3bd15c=_0x57a261>0x1?void 0x0:_0x57a261?Ys(_0x1d26d3,_0x5f033a):_0x1d26d3,_0x4e137f=_0x376b28[_0x4cba15(0x2c6)]-0x1,_0x7f63a8;_0x4e137f>=0x0;_0x4e137f--)(_0x7f63a8=_0x376b28[_0x4e137f])&&(_0x3bd15c=_0x7f63a8(_0x3bd15c)||_0x3bd15c);return _0x3bd15c;},Re=(_0x459580,_0x29c06b)=>(_0x302902,_0xa5a260)=>_0x29c06b(_0x302902,_0xa5a260,_0x459580);let we=class extends _0x4f60b7{constructor(_0x4b5d0a,_0x3c1334,_0x3f1a58,_0x45c38a,_0x1888aa,_0x4b5174){var _0x542144=_0x2a1005;super(),D(this,'_socket$',new _0x23d601(void 0x0)),D(this,_0x542144(0x2cd),this[_0x542144(0x3f3)]['asObservable']()),D(this,_0x542144(0x239),null),D(this,_0x542144(0x26f),new Map()),D(this,_0x542144(0x242),new _0x23d601(me[_0x542144(0x30b)])),D(this,_0x542144(0x248),this[_0x542144(0x242)][_0x542144(0x195)]()),D(this,_0x542144(0x397),!0x1),D(this,_0x542144(0x306)),D(this,_0x542144(0x2f2),0x0),D(this,_0x542144(0x1fb)),D(this,_0x542144(0x1da)),(this[_0x542144(0x1d3)]=_0x4b5d0a,this[_0x542144(0x32a)]=_0x3c1334,this[_0x542144(0x206)]=_0x3f1a58,this[_0x542144(0x3d8)]=_0x45c38a,this['_collaborationUIEventService']=_0x1888aa,this[_0x542144(0x3c5)]=_0x4b5174,this[_0x542144(0x39e)]());}get['_socket'](){var _0x41b38b=_0x2a1005;return this[_0x41b38b(0x3f3)][_0x41b38b(0x1ad)]();}[_0x2a1005(0x39e)](){var _0x19f378=_0x2a1005;this[_0x19f378(0x3c5)]&&this['disposeWithMe'](this[_0x19f378(0x3c5)][_0x19f378(0x1d6)][_0x19f378(0x1dc)](_0x8402c6=>{var _0x44fe36=_0x19f378;_0x8402c6&&!this[_0x44fe36(0x45d)]&&this[_0x44fe36(0x223)](),_0x8402c6||this[_0x44fe36(0x274)]();}));}[_0x2a1005(0x40a)](){var _0x1db2b8=_0x2a1005;super[_0x1db2b8(0x40a)](),this['_clearRetryConnectingTimer'](),this[_0x1db2b8(0x1a7)](),this[_0x1db2b8(0x1ae)](),this[_0x1db2b8(0x26f)][_0x1db2b8(0x34a)](_0x497abe=>_0x497abe[_0x1db2b8(0x40a)]()),this['_sessions'][_0x1db2b8(0x3b7)](),this[_0x1db2b8(0x242)][_0x1db2b8(0x3d6)]();}async[_0x2a1005(0x426)](_0x5e90e6){var _0x109c04=_0x2a1005;if(this[_0x109c04(0x26f)]['has'](_0x5e90e6))return this[_0x109c04(0x26f)][_0x109c04(0x20f)](_0x5e90e6);this['_tryEnsureSocket']();const _0x39d0b3=this[_0x109c04(0x1d3)]['createInstance'](mt,_0x5e90e6,this[_0x109c04(0x3f3)]['asObservable']());return this[_0x109c04(0x26f)][_0x109c04(0x2f9)](_0x5e90e6,_0x39d0b3),_0x39d0b3;}['closeSession'](_0x3147d4){var _0x54a150=_0x2a1005,_0x55232d;const _0x355658=this[_0x54a150(0x26f)]['get'](_0x3147d4);_0x355658&&(this[_0x54a150(0x26f)][_0x54a150(0x352)](_0x3147d4),_0x355658[_0x54a150(0x466)]()),this[_0x54a150(0x26f)][_0x54a150(0x422)]||(_0x55232d=this[_0x54a150(0x45d)])==null||_0x55232d[_0x54a150(0x466)]();}['reconnect'](){var _0x498125=_0x2a1005;this[_0x498125(0x2f2)]=0x0,this[_0x498125(0x304)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x55be66=_0x2a1005;this[_0x55be66(0x306)]!=null&&(clearTimeout(this[_0x55be66(0x306)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x2b3a3c=_0x2a1005,_0x3a73c9;const _0xc03e3f=this[_0x2b3a3c(0x206)]['getConfig'](K),_0x2de0f7=(_0x3a73c9=_0xc03e3f==null?void 0x0:_0xc03e3f[_0x2b3a3c(0x2d9)])!=null?_0x3a73c9:Es,_0xcf3340=await this[_0x2b3a3c(0x3d8)][_0x2b3a3c(0x27e)](_0x2de0f7);return this[_0x2b3a3c(0x239)]=_0xcf3340,_0xcf3340;}async[_0x2a1005(0x24c)](){var _0x38533d=_0x2a1005,_0x4f1ff2,_0x3158ea;try{const _0x2f6a6e=(_0x3158ea=(_0x4f1ff2=this[_0x38533d(0x45d)])!=null?_0x4f1ff2:this[_0x38533d(0x239)])!=null?_0x3158ea:await this['_createSocket']();if(_0x2f6a6e){const _0x4e9af3=_0x2f6a6e['send'];_0x2f6a6e[_0x38533d(0x2e2)]=_0x33dc9c=>(this['_rescheduleHeartbeat'](),_0x4e9af3['apply'](_0x2f6a6e,[_0x33dc9c])),_0x2f6a6e[_0x38533d(0x477)][_0x38533d(0x1dc)](_0x32411d=>this['_onMessage'](_0x2f6a6e,_0x32411d)),_0x2f6a6e[_0x38533d(0x19a)][_0x38533d(0x368)](_0x15ff55(0x1))[_0x38533d(0x1dc)](_0x275d8e=>this[_0x38533d(0x32a)][_0x38533d(0x38d)](_0x38533d(0x1e3),_0x275d8e)),_0x2f6a6e[_0x38533d(0x3ab)][_0x38533d(0x368)](_0x15ff55(0x1))[_0x38533d(0x1dc)](()=>{var _0x31c427=_0x38533d;this[_0x31c427(0x1c1)](_0x2f6a6e);}),_0x2f6a6e[_0x38533d(0x43d)]['pipe'](_0x15ff55(0x1))[_0x38533d(0x1dc)](_0x5cc137=>{var _0x500e8f=_0x38533d;this[_0x500e8f(0x32a)]['debug'](_0x500e8f(0x42d),_0x500e8f(0x435),_0x5cc137),this[_0x500e8f(0x41c)]();});}}catch(_0x4c8ed4){this[_0x38533d(0x32a)][_0x38533d(0x38d)](_0x4c8ed4),this[_0x38533d(0x41c)]();}}[_0x2a1005(0x1c1)](_0x4e6741){var _0x4b8ab1=_0x2a1005;this[_0x4b8ab1(0x32a)]['debug'](_0x4b8ab1(0x42d),_0x4b8ab1(0x25e)),_0x4e6741[_0x4b8ab1(0x2e2)]({'cmd':j[_0x4b8ab1(0x39d)]}),this['_rescheduleHeartbeat']();}[_0x2a1005(0x274)](){var _0x5eeeb2=_0x2a1005;this[_0x5eeeb2(0x397)]=!0x1,this[_0x5eeeb2(0x239)]=null,this[_0x5eeeb2(0x242)][_0x5eeeb2(0x1cf)](me[_0x5eeeb2(0x40d)]),this[_0x5eeeb2(0x3f3)][_0x5eeeb2(0x1cf)](null),this[_0x5eeeb2(0x1a7)](),this[_0x5eeeb2(0x1ae)]();}[_0x2a1005(0x41c)](){var _0x28a03f=_0x2a1005,_0x45338a;this[_0x28a03f(0x274)](),this['_retryCount']<((_0x45338a=this[_0x28a03f(0x206)][_0x28a03f(0x250)](gs))!=null?_0x45338a:Ts)?(this['_collaborationUIEventService'][_0x28a03f(0x212)]({'id':re[_0x28a03f(0x17c)]}),this[_0x28a03f(0x311)]()):this[_0x28a03f(0x331)][_0x28a03f(0x212)]({'id':re[_0x28a03f(0x31a)]});}[_0x2a1005(0x311)](){var _0x55a1fa=_0x2a1005,_0xe578d3;const _0x26b209=this[_0x55a1fa(0x2f2)],_0x518228=this['_configService']['getConfig'](K),_0x2e8531=_0x26b209===0x0?0x0:((_0xe578d3=_0x518228==null?void 0x0:_0x518228[_0x55a1fa(0x23b)])!=null?_0xe578d3:Ss)*0x2**_0x26b209;this[_0x55a1fa(0x306)]=setTimeout(()=>{var _0x8a784=_0x55a1fa;clearTimeout(this['_retryConnectingTimer']),this[_0x8a784(0x306)]=null,this[_0x8a784(0x24c)]();},_0x2e8531),this[_0x55a1fa(0x2f2)]+=0x1;}['_onMessage'](_0x399097,_0x90e35f){var _0x403b20=_0x2a1005;const {cmd:_0x39450f}=_0x90e35f;_0x39450f===j[_0x403b20(0x39d)]&&!this[_0x403b20(0x397)]&&(_0x399097[_0x403b20(0x2f6)]=_0x90e35f['data']['memberID'],this[_0x403b20(0x3f3)]['next'](_0x399097),this[_0x403b20(0x242)][_0x403b20(0x1cf)](me[_0x403b20(0x18d)]),this[_0x403b20(0x397)]=!0x0,this[_0x403b20(0x239)]=null),_0x39450f===j['HEARTBEAT']&&this[_0x403b20(0x1a7)](),this[_0x403b20(0x2ce)]();}[_0x2a1005(0x2ce)](){var _0x48d6fe=_0x2a1005,_0x3e9b01;this[_0x48d6fe(0x1ae)](),this[_0x48d6fe(0x1fb)]=setTimeout(()=>this[_0x48d6fe(0x42a)](),(_0x3e9b01=this[_0x48d6fe(0x206)][_0x48d6fe(0x250)](ms))!=null?_0x3e9b01:Is);}['_sendHeartbeat'](){var _0xb0c864=_0x2a1005;this[_0xb0c864(0x45d)]['send']({'cmd':j[_0xb0c864(0x1c3)]}),this[_0xb0c864(0x222)]();}['_waitForHeartbeatResponse'](){var _0x4141df=_0x2a1005,_0x696ea8;this[_0x4141df(0x1da)]=setTimeout(()=>this[_0x4141df(0x41c)](),(_0x696ea8=this[_0x4141df(0x206)][_0x4141df(0x250)](di))!=null?_0x696ea8:fi);}[_0x2a1005(0x1ae)](){var _0x194fff=_0x2a1005;this[_0x194fff(0x1fb)]!=null&&(clearTimeout(this[_0x194fff(0x1fb)]),this[_0x194fff(0x1fb)]=null);}[_0x2a1005(0x1a7)](){var _0xa6a9b9=_0x2a1005;this[_0xa6a9b9(0x1da)]!=null&&(clearTimeout(this[_0xa6a9b9(0x1da)]),this[_0xa6a9b9(0x1da)]=null);}};function _0x31db(){var _0x174809=['/new_changes','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','HEARTBEAT_INTERVAL','BlockCipher','_localeService','_toggleOnline','hostname','collabWebSocketUrl','isPermissionRej','UNRECOGNIZED','words','csRejEvent','SHOULD_CLOSE_CONN','post','synced','$super','send','body','_remoteChangesetQueue','_joinRoom','objectID','disposeWithMe','reverse','encryptBlock','Decryptor','18KQRDMx','[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.','256371NrVeUf','dispose$','_isPermissionRej','data','result','_retryCount','FAIL','state$','origin','memberID','_invKeySchedule','onMissedChangesetFetched','set','cmd','loadUnitOfRevision','status','onSendChangeset','?url=','eventID','_getDownloadEndpointURL','[CollaborationState]:\x20apply\x20error!','session.room-permission-denied','AUTHORIZE_CODE_ILLEGAL','_clearRetryConnectingTimer','_undoStacks','_retryConnectingTimer','snapshotServerUrl','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNKNOWN_CODE','ENTITLE_CHAT_LIMIT_EXCEED','IDLE','function','incrementRevOfUnit','hasOwnProperty','prototype','INVITE_CODE_HAS_BEEN_UES','_tryReconnect','INVITE_CODE_ALREADY_BOUND','PERMISSION_DENIED','isArray','getCollabEntity','execute','NoPadding','removeMember','getFocusedUnit','SOCKET_FAILED','_map','_mode','_onRemoteChangeset','_checkMissing','_initRequestHeader','_initCloseConn','_userManagerService','loadDoc','transformUndoRedo','_startCollaboration','USER_NOT_INVITED_CODE','_httpService','INVITE_CODE_REQUIRED','getSheetId','_getUndoStack','_logService','objectType','_doProcessBlock','deepClone','sheets','baseRev','_prevBlock','_collaborationUIEventService','FETCH_MISS','SYNCED','PAYMENT_CHANNEL_NOT_SUPPORT','members$','UNIVER_UNKNOWN','copyFileMeta','LICENSE_IMPORT_SIZE_EXCEEDED','onStarting','ERROR_IMAGE_TYPE','_change$','INVALID_INVITE_CODE','algo','onlyLocal','reject','image/png','call','CHANGESET_ACK','_nRounds','JOINING','Hex','AES','range','transformMutationsWithChangeset','collaboration-client.config','forEach','ENSURE_SNAPSHOT_EXECUTION','ws://127.0.0.1:8000/universer-api/comb/connect','_resendWithTimeout','onTransformRemoteChangesetByIMECache','YUUMI_CONNECTOR_URL_NOT_FOUND','pad','readyForCollab','delete','clamp','/universer-api/stream/file/upload','REDEMPTION_CODE_FULLY_REDEEMED','string','JOIN','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_handlerCallback','_getSignURL','Cipher','decrypt','_unlockTransition','\x0aAfter:\x20','changesets','liveShareNewHost','_clearCollaborationTimeoutTimer','state','map','_singleActiveUnitService','transformStack\x20failed!','random','stopTime','pipe','createEncryptor','INGEST','sid','_transformSelections','saveChangeset','startsWith','_members$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','NO_OTHER_CLIENTS_EDITING','exports','_univerInstanceService','LIVESHARE_REQUEST_HOST','method','{fileID}','capture','JOIN_ROOM_PERMISSION_DENIED','updateMember','REDEMPTION_USER_NOT_ELIGIBLE','__esModule','ceil','_changesetSessionId','_getSendChangesetTimeout','responseType','_clearLocalCache','_append','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_redoStacks','executeCommand','Undefined','newCsEvent','now','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','location','cfg','MOBILE_HAS_BEEN_BOUND','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','error','_telemetryInfo','closeSession','localCacheService','_pendingMutations','waitForRoom$','HMAC','LOCAL_CACHE_INTERVAL','resolve','_substituteUndoStack','_socketReady','_roomCreated$','userID','catch','_doFinalize','includes','HELLO','_listenToNetworkCondition','\x0aCurrent:\x20','ENTITLE_INSUFFICIENT_QUOTA','enableOfflineEditing','_collabSessionService','AWAITING','_state','94865CrTSkC','/block/','getRoom','padding','name','_xformMode','open$','_throwTelemetryCollaborationNewChangeset','REDEMPTION_CODE_NOT_STARTED','1141407zFrETQ','liveShareOperation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','pluginName','apply','charCodeAt','_getCtorByUniverType','onRemoteChangeset','UnitSnapshot','clear','put','from','saveSheetBlock','PERMISSION_REJ','_clearUndo','actions','decryptBlock','ENTITLE_REPORT_LIMIT_EXCEED','OPTIONAL','_parse','deleteCollaborator','fetchThroughInterceptors','Base64','_networkConditionService','append','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','compose','Encryptor','saveImage','LICENSE_MAX_UNITS_EXCEEDED','originalMeta','fromCollab','subject','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','slice','_replaceFileID','fetchMissingChangesets','toString','parse','substr','complete','JOIN_ROOM_FULL','_socketService','onMissingChangesets','_onFetchMissResult','getTime','abs','ClipsheetFragments','Utf8','_transformRemoteChangesetByIMECache','SerializableCipher','commentUpdateEvent','_commentService','LIVESHARE_OPERATION','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_waitCount','_reverseMap','_compressMutationService','APPLY_REJECT','_iv','_transformUndoredo','onRemoteAck','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','routeKey','_members','title','LOGIN_FAILED','/universer-api/oidc/authpage','refreshPermission','_socket$','UNIVER_PROJECT','COMMENT_UPDATE','csAckEvent','collaboration-client.local-cache-service','114265pRFinu','UNIVER_SLIDE','_createHelper','_iKey','resourceIDs','onSyncEditingCollabCursor','collaborators','_transformIMECache','APPLY_DUPLICATED','href','_onCombEvent','formatter','[SyncedState]:\x20received\x20acknowledgement.','image/bmp','getInterceptPoints','session.join-failed','_hasher','session.room-full','dispose','APPLY_PERMISSION_DENIED','8270whXXhP','OFFLINE','EvpKDF','loginUrlKey','BASE64','MD5','_clearRedo','compute','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PENDING','_getUploadFileURL','objects','enableSingleActiveInstanceLock','mode','_resendTimeout','workbook','_onConnectionFailed','REDEMPTION_USER_REDEEM_TIMES_EXCEED','values','registerHTTPInterceptor','Latin1','_revisionService','size','MOBILE_VERIFY_CODE_MISMATCH','updatePermissionPoint','splice','requireSession','EMAIL_HAS_BEEN_BOUND','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_process','_sendHeartbeat','loadOfflineData','UserProfileImg','[CollaborationSessionService]','_entities','WordArray','toggleOnline','_type','getUnitOnRev','USER_NOT_FOUND','getActiveSheet','socket\x20close','Pkcs7','encodeURIComponent','_resendTimer','textRanges','YUUMI_UNABLE_LOAD_URL','_scheduleCollaborationTimeoutTimer','unitID','close$','_disableEditing','getMember','/-/object/-/batch_allowed','NOT_FOUND','MSG_FOR_ERROR','_instanceService','code','_localCacheService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','PERSON','encrypt','_keySchedule','keySize','37056yYqnDi','conflict','PasswordBasedCipher','&to=','_roomMembers','updateSnapshot','uploadFileServerUrl','AWAITING_WITH_PENDING','appendMutation','OTHER_CLIENT_EDITING','_updateState','crypto','_cipher','entityInit$','4VXSfQb','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_initUnitPermissionChange','updateCollaborator','_socket','blockSize','getUnitType','[OfflineState]:\x20received\x20acknowledgement.','image/gif','revision','_HTTPService','_collaborationPaused','_doReset','close','OpenSSL','members','_createHandler','_acknowledgedAwaitingChangeset','CLOSE_ROOM','confirm','sin','getCollabEntity$','_onUserJoin','UPDATE_CURSOR','_keyPriorReset','USER_IS_ANONYMOUS','infoRsp','mutations','REDEMPTION_CODE_HAS_BEEN_CREATED','univer-pro.collaboration-client-socket-service','message$','_undoRedoService','APPLY_NON_SEQUENTIAL_REVISION','CONNECTOR_DATA_TOO_LARGE','init','floor','PY_RUNTIME_SCRIPT_ERROR','onCommentUpdate','CURRENT_STATUS_CANNOT_OPERATE','getOwnPropertyDescriptor','sendChangesetTimeout','key','resend','_updateLocalCache','subUnitId','avatar','onTransformState','setConfig','_executeRemoteChangeset','/universer-api/user/session-ticket','fetchMiss','_handler','_transformStateCache','createInstance','/collaborator','symbol','GLOBAL_ROOMS_CNT_EXCEEDS','interceptor','update','_socketMessageSubscription','UPDATE_PERMISSION_OBJ','DEFAULT_FILE_NAME','stringify','UNIVER_DOC','SOCKET_FAILED_RETRY','collaMsg','selections','getCurrentUser','loadSheet','joinEvent','_nDataBytes','TOO_MANY_REQUESTS','MUTATION','_toggleOffline','socketService','getCurrentRevOfUnit','processBlock','_sendingTimer','max','FileId','snapshot','ONLINE','byteOffset','NEW_CHANGESETS','objectActions','find','COMPRESS_MUTATION_APPLY','reduce','LEAVE','asObservable','BlockCipherMode','&source=','target','_applyRemoteChangeset','error$','localeService','awaiting_with_pending','_submitChangeset','uniscriptRunEvent','leaveEvent','_eventService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_updateStatus','_snapshotService','format','fromCharCode','then','_clearTimeoutTimer','_onRecvEvent','getMemberID','onTransformIME','_transitionLocked','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getValue','_clearHeartbeatTimer','_snapshotServerService','YUUMI_SUBSCRIPTION_NOT_FOUND','SNAPSHOT_URL_KEY','enableAuthServer','[CollaborationUndoRedoService]','_sheetTransformSelectionsService','getDeserializedSheetBlock','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','unsubscribe','join','ivSize','createDecryptor','_stopTelemetryCollaborationNewChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','override','session','onTransformRemoteChangesetByStateCache','setShowComponents','_onConnectionOpen','LICENSE_EXPORT_SIZE_EXCEEDED','HEARTBEAT','_createInitialState','offline','event$','withCredentials','_oKey','toggleOffline','_getAPIPrefix','LIVESHARE_FETCH_OPERATIONS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','INTERNAL_ERROR','_lockTransition','next','244494lvnBnS','_onLocalMutation','_changesetReqId','_injector','repeat','_createHmacHelper','online$','/fetchmissing?from=','__creator','transformChangesets','_timeoutTimer','OTHER_CLIENTS_EDITING','subscribe','roomInfos','LIVESHARE_TERMINATE','_unitInfo$','fetch_missing','every','unknown','[CollaborationSessionService]:\x20socket\x20error','duration','encode','/universer-api/authz','_state$','_commentUpdate$','getCurrentSelections','HmacSHA1','USERS_ENTER','_commandService','LOGIN_TOKEN_PROCESSING_FAILED','unitId','[FetchMissState]','session.room-not-exists','type','HttpExport','onload','_sender','JOIN_ROOM_FAILED','list','onRemoteRej','ENTITLE_DUP_SUBSCRIPTION','awaiting','putCollaborators','_sendHeartbeatTimer','_event$','_onRemoteRejected','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','sessionStatus','addImageSourceCache','_substituteRedoStack','ALREADY_EXISTS','reqId','YUUMI_URL_COL_OUT_OF_RANGE','_onJoinRoomEvent','_configService','randomBytes','min','DATA_SOURCE_TOO_LARGE','url','patch','save\x20fail\x20reason\x20is\x20','unitInfo$','_transformService','get','getSnapshotAPIPath','REDEMPTION_CODE_INACTIVE','emitEvent','LIVESHARE_NEW_HOST','_transformRemoteChangesetByStateCache','add','/unit/','/rev/','EMAIL_VERIFY_CODE_MISMATCH','USERS_LEAVE','528PVzhAq','_getRedoStack','CBC','_exhaustRemoteChangesetQueue','getTypeOfUnitDisposed$','c1Prime','[CollaborationSession]','_onRemoteRetry','_waitForHeartbeatResponse','reconnect','saveSnapshot','Failed\x20to\x20update\x20permission\x20point','ERROR_IMAGE','CHANGESET_REVISION_CONFILICT','UNIVER_SHEET','SUCCUSS','NOT_COLLAB','permissionRejEvent','COMPLETION_FINISHED','byteLength','finalize','onCommandExecuted','/universer-api/snapshot','lib','_startTelemetryCollaborationNewChangeset','Hasher','JOIN_ROOM_NOT_EXISTS','_data','concat','onStateChange','_onRemoteACK','_candidateSocket','reset','retryConnectingInterval','_entityInit$','getUnit','_getAPIPrefixPath','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','awaitingChangeset','msCrypto','_status$','RECV','image/jpg','[OfflineState]:\x20received\x20rejection.','unit-cache-','_hash','status$','x-univer-host','CONFLICT','sessionStatus$','_tryEnsureSocket','14OWYUPP','_doCryptBlock','_schedule','getConfig','getRandomValues','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ciphertext','clone','not_collab','_init','requestParams','BufferedBlockAlgorithm','_getLoginPath','SUBMIT_CHANGESET_TIMEOUT','FETCH_MISSING','_syncEditingCollabCursor','HttpImport','socket\x20open.','YUUMI_ASYNCIO_CANCELLED','_unitID','debug','extend','onTransformSelections','sigBytes','_decreaseWaiting','onLocalMutation','_collaborationTimeoutTimer','create','CHANGESET_SHOULD_RETRY','REDEMPTION_INVALID_CODE','INVALID_ARGUMENT','_telemetryService','_removeRoom','filter','_sessions','ERROR_AGAIN','m2Prime','default','setWaitCount','_onOffline','_initDependencies','_replayCachedMutations','ENTITLE_NEED_BILLING_ADDRESS','disableLocalCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_sessionStatus$','CHANGESET_REJ','/object/','change$','createSocket','UnitEmbedded','c2Prime','LICENSE_DISTRO_REJECTED','\x20-\x20','HEARTBEAT_TIMEOUT','_getCurrentRevision','_scheduleCompleteTimestamp','Error\x20on\x20receiving\x20event','_queuedRemoteChangesets','_onUserLeave','kdf','mixIn','failed\x20to\x20apply\x20missed\x20changesets!','_shouldReportTelemetry','onRemoteRetry','[DataLoaderService]','enableCollaboration','readAsDataURL','WECHAT_HAS_BEEN_BOUND','\x20to\x20','pauseCollaboration','_initMergeInterceptor','shouldCloseConn','_fetchMissChangesets','enc','session.room-cnt-exceeds','Base','UNDEFINED','YUUMI_NO_CUBOID_FOR_QUESTION','_ENC_XFORM_MODE','[CollaborationEntity]','_registerDependencies','salt','_minBufferSize','_memberService','_awaitingChangeset','commentUpdate$','getTypeOfUnitAdded$','SNAPSHOT_HAS_BEEN_REMOVED','_collaborationSessionService','addHandlerCallback','_transformStack','UNAUTHENTICATED','has','_permissionService','SUBMIT_CHANGESET','[PendingState]:\x20received\x20rejection.','/universer-api/comb','initWorkbookPermissionChange','pending','/universer-api/file/{fileID}/sign-url','POST','getImageSourceCache','joinRsp','updatePermissionObjEvent','SHA1','headers','_incrementRevisionNumber','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','COMPRESS_MUTATION_SEND','params','loadUnit','getUnitId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','PSEUDO_FETCH_MISSING_RESULT','_createInitialStateImpl','connection\x20error','\x20in\x20_schedule.','collaboratorID','push','_clearScheduledTask','length','_imageSourceCache','charAt','APPLY_REVISION_CONFILICT','/object','_onConflict','roles','socket$','_rescheduleHeartbeat','univer-pro.collaboration-client.single-active-unit-service','_config','_key'];_0x31db=function(){return _0x174809;};return _0x31db();}we=Ks([Re(0x0,_0x941461(_0x197f37)),Re(0x1,_0x59ee6a),Re(0x2,_0xf25e91),Re(0x3,Oi),Re(0x4,_0x941461(ve)),Re(0x5,_0x475d23(Bs))],we);var qs=Object[_0x2a1005(0x163)],zs=(_0x404c83,_0x549a6f,_0xdf4b52,_0x17800f)=>{var _0x4bae67=_0x2a1005;for(var _0x26fd4c=_0x17800f>0x1?void 0x0:_0x17800f?qs(_0x549a6f,_0xdf4b52):_0x549a6f,_0x2bf3e0=_0x404c83[_0x4bae67(0x2c6)]-0x1,_0x143d05;_0x2bf3e0>=0x0;_0x2bf3e0--)(_0x143d05=_0x404c83[_0x2bf3e0])&&(_0x26fd4c=_0x143d05(_0x26fd4c)||_0x26fd4c);return _0x26fd4c;},Be=(_0x1f98b9,_0x7282e8)=>(_0x3cf243,_0x1a350f)=>_0x7282e8(_0x3cf243,_0x1a350f,_0x1f98b9);let nt=class extends _0x23e95c{constructor(_0x3f9647,_0x50690f,_0x12c365,_0x45cc65){var _0x100f71=_0x2a1005,_0x389be1;super(),D(this,'_entities',new Map()),D(this,_0x100f71(0x23c),new _0x3cfa67()),D(this,_0x100f71(0x458),this['_entityInit$'][_0x100f71(0x195)]()),(this[_0x100f71(0x1d3)]=_0x3f9647,this[_0x100f71(0x3a2)]=_0x50690f,this[_0x100f71(0x206)]=_0x12c365,this[_0x100f71(0x373)]=_0x45cc65,((_0x389be1=this[_0x100f71(0x206)][_0x100f71(0x250)](K))==null?void 0x0:_0x389be1[_0x100f71(0x28f)])!==!0x1&&this[_0x100f71(0x256)]());}[_0x2a1005(0x40a)](){var _0x21f0dd=_0x2a1005;super[_0x21f0dd(0x40a)](),this[_0x21f0dd(0x42e)]['forEach'](_0xd2780b=>_0xd2780b[_0x21f0dd(0x40a)]()),this[_0x21f0dd(0x42e)][_0x21f0dd(0x3b7)]();}[_0x2a1005(0x315)](_0x51ea4b){var _0x32d242;return(_0x32d242=this['_entities']['get'](_0x51ea4b))!=null?_0x32d242:null;}['getCollabEntity$'](_0x71641b){var _0x556fa9=_0x2a1005;const _0x4d4b33=this['getCollabEntity'](_0x71641b);return _0x4d4b33?_0x4c6e5a(_0x4d4b33):this[_0x556fa9(0x23c)]['pipe'](_0x47aea4(_0x5aac11=>_0x5aac11[_0x556fa9(0x43c)]===_0x71641b));}[_0x2a1005(0x351)](_0x5f0d10){var _0x53ac8c=_0x2a1005;return _0x536566(this[_0x53ac8c(0x46e)](_0x5f0d10)[_0x53ac8c(0x368)](_0x147ad4(()=>{})));}[_0x2a1005(0x256)](){var _0xe96b=_0x2a1005;this[_0xe96b(0x373)][_0xe96b(0x2a4)](_0x5a5755[_0xe96b(0x228)])[_0xe96b(0x368)](_0x1ba289(this[_0xe96b(0x2ee)]),_0x2e948d(0x10))['subscribe'](async _0x48bc29=>{var _0xaa41a1=_0xe96b;const _0x2717ce=_0x48bc29[_0xaa41a1(0x2bd)](),_0x2dd436=await this[_0xaa41a1(0x324)](_0x2717ce,Q[_0xaa41a1(0x228)]);this[_0xaa41a1(0x42e)]['set'](_0x2717ce,_0x2dd436);}),this[_0xe96b(0x373)][_0xe96b(0x2a4)](_0x5a5755['UNIVER_DOC'])[_0xe96b(0x368)](_0x1ba289(this[_0xe96b(0x2ee)]),_0x2e948d(0x10))[_0xe96b(0x368)](_0x47aea4(_0x35ddad=>!_0x35ddad[_0xe96b(0x2bd)]()[_0xe96b(0x36e)]('__')))['subscribe'](async _0x185a70=>{var _0x4a9600=_0xe96b;const _0x4935f0=_0x185a70['getUnitId'](),_0x531ca0=await this[_0x4a9600(0x324)](_0x4935f0,Q[_0x4a9600(0x17b)]);this['_entities'][_0x4a9600(0x2f9)](_0x4935f0,_0x531ca0);}),_0x2073ce(this[_0xe96b(0x373)][_0xe96b(0x21e)](_0x5a5755['UNIVER_SHEET']),this[_0xe96b(0x373)][_0xe96b(0x21e)](_0x5a5755[_0xe96b(0x17b)]))['pipe'](_0x1ba289(this['dispose$']))[_0xe96b(0x1dc)](_0x5011ef=>{var _0x127d24=_0xe96b;const _0x1ed65d=_0x5011ef[_0x127d24(0x2bd)](),_0x122a54=this[_0x127d24(0x42e)][_0x127d24(0x20f)](_0x1ed65d);_0x122a54&&(_0x122a54[_0x127d24(0x40a)](),this[_0x127d24(0x42e)]['delete'](_0x1ed65d));});}async[_0x2a1005(0x324)](_0x2e2819,_0x30b5e3){var _0x10f43d=_0x2a1005;const _0x1f0527=await this[_0x10f43d(0x3a2)]['requireSession'](_0x2e2819),_0x59a7b9=this[_0x10f43d(0x1d3)]['createInstance'](this[_0x10f43d(0x3b4)](_0x30b5e3),_0x2e2819,_0x30b5e3,_0x1f0527);return await _0x59a7b9[_0x10f43d(0x15e)](),this['_entityInit$'][_0x10f43d(0x1cf)](_0x59a7b9),_0x59a7b9;}[_0x2a1005(0x3b4)](_0x5ee674){var _0x5cb9b7=_0x2a1005;switch(_0x5ee674){case Q[_0x5cb9b7(0x17b)]:return It;case Q[_0x5cb9b7(0x228)]:return St;default:throw new Error(_0x5cb9b7(0x38c)+_0x5ee674);}}};nt=zs([Be(0x0,_0x941461(_0x197f37)),Be(0x1,_0x941461(we)),Be(0x2,_0xf25e91),Be(0x3,_0x226b33)],nt);var Js=Object['getOwnPropertyDescriptor'],Xs=(_0x470138,_0x516475,_0x4e0326,_0x127f5c)=>{var _0x238ecc=_0x2a1005;for(var _0xa6551=_0x127f5c>0x1?void 0x0:_0x127f5c?Js(_0x516475,_0x4e0326):_0x516475,_0x421ab=_0x470138[_0x238ecc(0x2c6)]-0x1,_0x543057;_0x421ab>=0x0;_0x421ab--)(_0x543057=_0x470138[_0x421ab])&&(_0xa6551=_0x543057(_0xa6551)||_0xa6551);return _0xa6551;},Wt=(_0x55c9dc,_0x2ecd34)=>(_0x277c8f,_0x2170fd)=>_0x2ecd34(_0x277c8f,_0x2170fd,_0x55c9dc);const Zs=_0x2a1005(0x179),Qs='Univer';let gt=class extends _0x4f60b7{constructor(_0x39ceaa,_0x290942){var _0x465fb3=_0x2a1005;super(),this[_0x465fb3(0x373)]=_0x39ceaa,this['_configService']=_0x290942,this[_0x465fb3(0x256)]();}[_0x2a1005(0x256)](){var _0x2a4416=_0x2a1005;this[_0x2a4416(0x2e7)](this['_univerInstanceService']['focused$'][_0x2a4416(0x1dc)](()=>{var _0x5a5953=_0x2a4416,_0x51c0d2;const _0x10a437=this['_univerInstanceService'][_0x5a5953(0x319)]();let _0x222f3a=(_0x51c0d2=this['_configService']['getConfig'](Zs))!=null?_0x51c0d2:Qs;_0x10a437 instanceof _0x435e6f&&(_0x222f3a=_0x10a437[_0x5a5953(0x3a9)]),document[_0x5a5953(0x3ef)]=_0x222f3a;}));}};gt=Xs([Wt(0x0,_0x226b33),Wt(0x1,_0xf25e91)],gt);var en=Object[_0x2a1005(0x163)],tn=(_0x14cfc6,_0x5c2db3,_0x1e3a91,_0x5241)=>{var _0x2f84ed=_0x2a1005;for(var _0x1fbf2b=_0x5241>0x1?void 0x0:_0x5241?en(_0x5c2db3,_0x1e3a91):_0x5c2db3,_0x5c38ca=_0x14cfc6[_0x2f84ed(0x2c6)]-0x1,_0x3624fd;_0x5c38ca>=0x0;_0x5c38ca--)(_0x3624fd=_0x14cfc6[_0x5c38ca])&&(_0x1fbf2b=_0x3624fd(_0x1fbf2b)||_0x1fbf2b);return _0x1fbf2b;},dt=(_0x2bf4f2,_0x3952b9)=>(_0x5b6eab,_0xb67d16)=>_0x3952b9(_0x5b6eab,_0xb67d16,_0x2bf4f2);let rt=class{constructor(_0x5a1782,_0x4f585f,_0x94c301){var _0x286a92=_0x2a1005;this['_configService']=_0x5a1782,this['_httpService']=_0x4f585f,this[_0x286a92(0x19b)]=_0x94c301,this[_0x286a92(0x15e)]();}[_0x2a1005(0x15e)](){var _0x4293dc=_0x2a1005;this['_httpService'][_0x4293dc(0x41f)]({'priority':0x1,'interceptor':(_0x4d49c0,_0x3ed0b0)=>_0x3ed0b0(_0x4d49c0)['pipe'](_0xf3e201(async _0x3a5dfb=>{var _0x2abd04=_0x4293dc;const _0x55b380=_0x3a5dfb;if(_0x55b380[_0x2abd04(0x2fc)]===0x191){if(typeof window>'u')throw new Error(_0x2abd04(0x2d3));if(window[_0x2abd04(0x46c)](this[_0x2abd04(0x19b)]['t']('auth.needGotoLoginAlert'))){const _0x1e64b2=window[_0x2abd04(0x437)](window[_0x2abd04(0x389)]['href']);window[_0x2abd04(0x389)][_0x2abd04(0x401)]=this['_getLoginPath']()+_0x2abd04(0x2fe)+_0x1e64b2;}}return _0x55b380;}))});}[_0x2a1005(0x259)](){var _0x4ee0c0=_0x2a1005,_0x4071d1;const _0x19271d=this[_0x4ee0c0(0x206)][_0x4ee0c0(0x250)](K);return(_0x4071d1=_0x19271d==null?void 0x0:_0x19271d[_0x4ee0c0(0x40f)])!=null?_0x4071d1:Rs;}};rt=tn([dt(0x0,_0xf25e91),dt(0x1,_0x941461(_0x2ff5b1)),dt(0x2,_0x941461(_0x139ca))],rt);var sn=Object[_0x2a1005(0x163)],nn=(_0x459e66,_0x1beb41,_0x2b8a71,_0x524b4d)=>{var _0x221844=_0x2a1005;for(var _0x5c67ae=_0x524b4d>0x1?void 0x0:_0x524b4d?sn(_0x1beb41,_0x2b8a71):_0x1beb41,_0x167b37=_0x459e66[_0x221844(0x2c6)]-0x1,_0x44691c;_0x167b37>=0x0;_0x167b37--)(_0x44691c=_0x459e66[_0x167b37])&&(_0x5c67ae=_0x44691c(_0x5c67ae)||_0x5c67ae);return _0x5c67ae;},Yt=(_0x2b0544,_0x793f23)=>(_0x5b6e8e,_0x48a327)=>_0x793f23(_0x5b6e8e,_0x48a327,_0x2b0544);function _0x44d6(_0x30f5c7,_0x3850d4){var _0x31db64=_0x31db();return _0x44d6=function(_0x44d622,_0x448c25){_0x44d622=_0x44d622-0x15c;var _0x31ebd2=_0x31db64[_0x44d622];return _0x31ebd2;},_0x44d6(_0x30f5c7,_0x3850d4);}const rn=_0x2a1005(0x1e6);let Tt=class extends _0x4f60b7{constructor(_0x2cf677,_0xdb2a0f){var _0x49c20a=_0x2a1005;super(),this['_HTTPService']=_0x2cf677,this[_0x49c20a(0x206)]=_0xdb2a0f,this[_0x49c20a(0x294)]();}['_initMergeInterceptor'](){var _0x50a107=_0x2a1005;const _0x39e64b=this;this['disposeWithMe'](this[_0x50a107(0x463)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xc6c2dd({'isMatch'(_0x5a060e){var _0x18bc8c=_0x50a107,_0x47b768;if(_0x5a060e[_0x18bc8c(0x375)]===_0x18bc8c(0x2b2)&&((_0x47b768=_0x5a060e['requestParams'])!=null&&_0x47b768[_0x18bc8c(0x2e3)])){const {objectID:_0x54f89e,objectType:_0x482bb4}=_0x5a060e[_0x18bc8c(0x257)][_0x18bc8c(0x2e3)]||{};if(!_0x54f89e||_0x482bb4===void 0x0)return!0x1;const _0x1e7501=_0x39e64b[_0x18bc8c(0x23e)]()+'/'+_0x482bb4+_0x18bc8c(0x27c)+_0x54f89e+'/allowed';if(_0x5a060e[_0x18bc8c(0x20a)]===_0x1e7501)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x32b8b8){var _0x442175;return(_0x442175=_0x32b8b8['requestParams'])==null?void 0x0:_0x442175['body'];},'mergeParamsToRequest'(_0x5711ac,_0x4ceaac){var _0x4f9c4e=_0x50a107;const _0x129ddb=_0x39e64b['_getAPIPrefixPath']()+_0x4f9c4e(0x440),_0x30f9db=_0x5711ac[_0x4f9c4e(0x193)]((_0x10d67c,_0x2e55af)=>{var _0xc85036=_0x4f9c4e;const {unitID:_0x9e834d,objectID:_0x492c82,objectType:_0x4a02b7,actions:_0x2306ff}=_0x2e55af;return _0x10d67c[_0x9e834d]||(_0x10d67c[_0x9e834d]={}),_0x10d67c[_0x9e834d][_0x492c82]||(_0x10d67c[_0x9e834d][_0x492c82]={'objectID':_0x492c82,'objectType':_0x4a02b7,'actions':[]}),_0x10d67c[_0x9e834d][_0x492c82][_0xc85036(0x3bd)]['push'](..._0x2306ff),_0x10d67c;},{}),_0x5c8e40=[];for(const _0x1a9291 in _0x30f9db)for(const _0x372579 in _0x30f9db[_0x1a9291]){const {actions:_0x33b471,objectType:_0x46f3b8}=_0x30f9db[_0x1a9291][_0x372579],_0x1c5a29=[...new Set(_0x33b471)];_0x5c8e40[_0x4f9c4e(0x2c4)]({'unitID':_0x1a9291,'objectID':_0x372579,'objectType':_0x46f3b8,'actions':_0x1c5a29});}return new _0x5bed9a(_0x4f9c4e(0x2b2),_0x129ddb,{'headers':_0x4ceaac[_0x4f9c4e(0x2b7)],'withCredentials':_0x4ceaac[_0x4f9c4e(0x1c7)],'responseType':_0x4ceaac[_0x4f9c4e(0x37f)],'body':{'requests':_0x5c8e40}});}},{'distributeResult'(_0x65754d,_0x3c525e){const {objectActions:_0x2db164}=_0x65754d;return _0x3c525e['map'](_0xb0fdef=>{var _0x323ecb=_0x44d6;const {unitID:_0x4999ce,objectID:_0x346985,actions:_0x153dbc}=_0xb0fdef,_0xf31745=_0x2db164[_0x323ecb(0x191)](_0x2674c3=>_0x2674c3[_0x323ecb(0x43c)]===_0x4999ce&&_0x2674c3[_0x323ecb(0x2e6)]===_0x346985),_0x395f4e=_0x153dbc[_0x323ecb(0x363)](_0x175bc6=>_0xf31745==null?void 0x0:_0xf31745['actions']['find'](_0x2b570a=>_0x2b570a['action']===_0x175bc6))[_0x323ecb(0x26e)](_0x3bbd15=>!!_0x3bbd15);return{'config':_0xb0fdef,'result':{'actions':_0x395f4e,'error':_0x65754d['error']}};});}})}));}[_0x2a1005(0x23e)](){var _0x30d2b9;const _0x4015ce=this['_configService']['getConfig'](K);return(_0x30d2b9=_0x4015ce==null?void 0x0:_0x4015ce['authzUrl'])!=null?_0x30d2b9:rn;}async[_0x2a1005(0x268)](_0x5cb084){var _0x36c8f7=_0x2a1005;const _0x55f949=this[_0x36c8f7(0x23e)]()+'/'+_0x5cb084[_0x36c8f7(0x32b)]+_0x36c8f7(0x2ca);return(await this[_0x36c8f7(0x463)][_0x36c8f7(0x2df)](_0x55f949,{'body':_0x5cb084}))['body'][_0x36c8f7(0x2e6)]||'';}async[_0x2a1005(0x1f6)](_0x36e178){var _0x5ad95b=_0x2a1005;const _0x309e9b=this[_0x5ad95b(0x23e)]()+'/-/object/list';return(await this[_0x5ad95b(0x463)]['post'](_0x309e9b,{'body':_0x36e178}))[_0x5ad95b(0x2e3)][_0x5ad95b(0x417)];}async[_0x2a1005(0x176)](_0x149878){var _0x4c09a1=_0x2a1005,_0x208de6,_0x1b99d8;const _0x384c96=this[_0x4c09a1(0x23e)]()+'/'+_0x149878[_0x4c09a1(0x32b)]+'/object/'+_0x149878[_0x4c09a1(0x2e6)],_0x3897c4=await this[_0x4c09a1(0x463)][_0x4c09a1(0x3b8)](_0x384c96,{'body':_0x149878});if(((_0x1b99d8=(_0x208de6=_0x3897c4==null?void 0x0:_0x3897c4['body'])==null?void 0x0:_0x208de6[_0x4c09a1(0x38d)])==null?void 0x0:_0x1b99d8[_0x4c09a1(0x444)])!==0x1)throw new Error(_0x4c09a1(0x225));}async['allowed'](_0x2e7737){var _0x52c59f=_0x2a1005;const _0x2a223e=this[_0x52c59f(0x23e)]()+'/'+_0x2e7737[_0x52c59f(0x32b)]+_0x52c59f(0x27c)+_0x2e7737[_0x52c59f(0x2e6)]+'/allowed';return(await this[_0x52c59f(0x463)][_0x52c59f(0x2df)](_0x2a223e,{'body':_0x2e7737}))[_0x52c59f(0x2e3)][_0x52c59f(0x3bd)];}async['batchAllowed'](_0x4f53f7){var _0x301479=_0x2a1005;const _0x2e5b86=this[_0x301479(0x23e)]()+_0x301479(0x440);return(await this[_0x301479(0x463)][_0x301479(0x2df)](_0x2e5b86,{'body':{'requests':_0x4f53f7}}))['body'][_0x301479(0x190)];}async['listRoles'](_0x4ac7f8){var _0x3e1fc9=_0x2a1005;const _0x53138a=this[_0x3e1fc9(0x23e)]()+'/'+_0x4ac7f8['objectType']+'/role',_0xe08f87=await this[_0x3e1fc9(0x463)][_0x3e1fc9(0x2df)](_0x53138a,{'body':_0x4ac7f8});return{'roles':_0xe08f87[_0x3e1fc9(0x2e3)][_0x3e1fc9(0x2cc)],'actions':_0xe08f87['body']['actions']};}async[_0x2a1005(0x3c2)](_0x2c4fe9){var _0xb475d5=_0x2a1005;const _0x683771=this[_0xb475d5(0x23e)]()+_0xb475d5(0x172);await this[_0xb475d5(0x463)][_0xb475d5(0x352)](_0x683771,{'params':{'collaboratorID':_0x2c4fe9[_0xb475d5(0x2c3)],'objectID':_0x2c4fe9['objectID'],'unitID':_0x2c4fe9[_0xb475d5(0x43c)]}});}async[_0x2a1005(0x45c)](_0x1836fc){var _0x18c8b5=_0x2a1005;const _0x4d45e8=this[_0x18c8b5(0x23e)]()+_0x18c8b5(0x172);await this[_0x18c8b5(0x463)][_0x18c8b5(0x20b)](_0x4d45e8,{'body':_0x1836fc});}async['createCollaborator'](_0x55814f){var _0x3eea38=_0x2a1005;const _0x2c6ebe=this['_getAPIPrefixPath']()+_0x3eea38(0x172);await this[_0x3eea38(0x463)][_0x3eea38(0x2df)](_0x2c6ebe,{'body':_0x55814f});}async['listCollaborators'](_0x2dc46a){var _0xa81011=_0x2a1005;const _0x2cfd3a=this['_getAPIPrefixPath']()+_0xa81011(0x172);return(await this[_0xa81011(0x463)][_0xa81011(0x20f)](_0x2cfd3a,{'params':{'objectID':_0x2dc46a['objectID'],'unitID':_0x2dc46a[_0xa81011(0x43c)]}}))[_0xa81011(0x2e3)][_0xa81011(0x3fe)];}async[_0x2a1005(0x1fa)](_0x523458){var _0x35f515=_0x2a1005;const _0x4f4a22=this[_0x35f515(0x23e)]()+_0x35f515(0x172);await this[_0x35f515(0x463)][_0x35f515(0x3b8)](_0x4f4a22,{'body':_0x523458});}};Tt=nn([Yt(0x0,_0x941461(_0x2ff5b1)),Yt(0x1,_0x941461(_0xf25e91))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4b6432){var _0x1f60c9=_0x2a1005;return _0x4b6432&&_0x4b6432[_0x1f60c9(0x37b)]&&Object[_0x1f60c9(0x30f)][_0x1f60c9(0x30e)]['call'](_0x4b6432,_0x1f60c9(0x272))?_0x4b6432['default']:_0x4b6432;}var Ve={'exports':{}};function an(_0x16ca12){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x16ca12+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},on=Ge[_0x2a1005(0x372)],Kt;function ie(){var _0x58863a=_0x2a1005;return Kt||(Kt=0x1,function(_0x5d94c6,_0x501f51){(function(_0x7e3539,_0xaaa7ff){var _0x35499d=_0x44d6;_0x5d94c6[_0x35499d(0x372)]=_0xaaa7ff();}(on,function(){var _0x2eff7f=_0x2eff7f||function(_0x8edfcf,_0x19bc6f){var _0xd93482=_0x44d6,_0x22bcb4;if(typeof window<'u'&&window[_0xd93482(0x456)]&&(_0x22bcb4=window[_0xd93482(0x456)]),typeof self<'u'&&self[_0xd93482(0x456)]&&(_0x22bcb4=self[_0xd93482(0x456)]),typeof globalThis<'u'&&globalThis[_0xd93482(0x456)]&&(_0x22bcb4=globalThis[_0xd93482(0x456)]),!_0x22bcb4&&typeof window<'u'&&window[_0xd93482(0x241)]&&(_0x22bcb4=window[_0xd93482(0x241)]),!_0x22bcb4&&typeof ft<'u'&&ft['crypto']&&(_0x22bcb4=ft[_0xd93482(0x456)]),!_0x22bcb4&&typeof an==_0xd93482(0x30c))try{_0x22bcb4=require('crypto');}catch{}var _0x3aa614=function(){var _0x4f60ba=_0xd93482;if(_0x22bcb4){if(typeof _0x22bcb4[_0x4f60ba(0x251)]==_0x4f60ba(0x30c))try{return _0x22bcb4['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x22bcb4[_0x4f60ba(0x207)]==_0x4f60ba(0x30c))try{return _0x22bcb4[_0x4f60ba(0x207)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4f60ba(0x446));},_0x453b96=Object['create']||(function(){function _0x4fa6ce(){}return function(_0x1ceb6b){var _0x4bcad3=_0x44d6,_0x523806;return _0x4fa6ce[_0x4bcad3(0x30f)]=_0x1ceb6b,_0x523806=new _0x4fa6ce(),_0x4fa6ce[_0x4bcad3(0x30f)]=null,_0x523806;};}()),_0xe69fbd={},_0x2a2d42=_0xe69fbd[_0xd93482(0x231)]={},_0x3cbd28=_0x2a2d42[_0xd93482(0x299)]=(function(){return{'extend':function(_0x1fbb37){var _0x3a7ebf=_0x44d6,_0x306ec2=_0x453b96(this);return _0x1fbb37&&_0x306ec2[_0x3a7ebf(0x28a)](_0x1fbb37),(!_0x306ec2['hasOwnProperty'](_0x3a7ebf(0x15e))||this[_0x3a7ebf(0x15e)]===_0x306ec2[_0x3a7ebf(0x15e)])&&(_0x306ec2[_0x3a7ebf(0x15e)]=function(){var _0x1644d8=_0x3a7ebf;_0x306ec2[_0x1644d8(0x2e1)][_0x1644d8(0x15e)][_0x1644d8(0x3b2)](this,arguments);}),_0x306ec2[_0x3a7ebf(0x15e)]['prototype']=_0x306ec2,_0x306ec2[_0x3a7ebf(0x2e1)]=this,_0x306ec2;},'create':function(){var _0x446378=_0x44d6,_0x507583=this[_0x446378(0x262)]();return _0x507583['init'][_0x446378(0x3b2)](_0x507583,arguments),_0x507583;},'init':function(){},'mixIn':function(_0x275859){var _0x388077=_0x44d6;for(var _0x45566c in _0x275859)_0x275859[_0x388077(0x30e)](_0x45566c)&&(this[_0x45566c]=_0x275859[_0x45566c]);_0x275859[_0x388077(0x30e)](_0x388077(0x3d3))&&(this['toString']=_0x275859['toString']);},'clone':function(){var _0x3d2be9=_0x44d6;return this[_0x3d2be9(0x15e)]['prototype'][_0x3d2be9(0x262)](this);}};}()),_0xbe56ce=_0x2a2d42[_0xd93482(0x42f)]=_0x3cbd28[_0xd93482(0x262)]({'init':function(_0x6bb1f2,_0x11e508){var _0x4d651d=_0xd93482;_0x6bb1f2=this['words']=_0x6bb1f2||[],_0x11e508!=_0x19bc6f?this[_0x4d651d(0x264)]=_0x11e508:this['sigBytes']=_0x6bb1f2[_0x4d651d(0x2c6)]*0x4;},'toString':function(_0x21fc2d){var _0x105c29=_0xd93482;return(_0x21fc2d||_0x9e413b)[_0x105c29(0x17a)](this);},'concat':function(_0x44d2f1){var _0x4bbc62=_0xd93482,_0x4a90c6=this[_0x4bbc62(0x2dc)],_0x11314e=_0x44d2f1[_0x4bbc62(0x2dc)],_0x2c97a1=this[_0x4bbc62(0x264)],_0x4ae828=_0x44d2f1['sigBytes'];if(this[_0x4bbc62(0x353)](),_0x2c97a1%0x4)for(var _0x967523=0x0;_0x967523<_0x4ae828;_0x967523++){var _0x5a1c7e=_0x11314e[_0x967523>>>0x2]>>>0x18-_0x967523%0x4*0x8&0xff;_0x4a90c6[_0x2c97a1+_0x967523>>>0x2]|=_0x5a1c7e<<0x18-(_0x2c97a1+_0x967523)%0x4*0x8;}else{for(var _0x3802ea=0x0;_0x3802ea<_0x4ae828;_0x3802ea+=0x4)_0x4a90c6[_0x2c97a1+_0x3802ea>>>0x2]=_0x11314e[_0x3802ea>>>0x2];}return this[_0x4bbc62(0x264)]+=_0x4ae828,this;},'clamp':function(){var _0x1c71c3=_0xd93482,_0x4ee089=this[_0x1c71c3(0x2dc)],_0x482048=this[_0x1c71c3(0x264)];_0x4ee089[_0x482048>>>0x2]&=0xffffffff<<0x20-_0x482048%0x4*0x8,_0x4ee089[_0x1c71c3(0x2c6)]=_0x8edfcf['ceil'](_0x482048/0x4);},'clone':function(){var _0x32f7ae=_0xd93482,_0x4c5dc5=_0x3cbd28[_0x32f7ae(0x254)][_0x32f7ae(0x341)](this);return _0x4c5dc5[_0x32f7ae(0x2dc)]=this[_0x32f7ae(0x2dc)][_0x32f7ae(0x3d0)](0x0),_0x4c5dc5;},'random':function(_0x5c5401){for(var _0x4f5e1a=[],_0x2da87a=0x0;_0x2da87a<_0x5c5401;_0x2da87a+=0x4)_0x4f5e1a['push'](_0x3aa614());return new _0xbe56ce['init'](_0x4f5e1a,_0x5c5401);}}),_0x22aaed=_0xe69fbd[_0xd93482(0x297)]={},_0x9e413b=_0x22aaed[_0xd93482(0x345)]={'stringify':function(_0x2eaca5){var _0x1d0e7e=_0xd93482;for(var _0x4936cf=_0x2eaca5[_0x1d0e7e(0x2dc)],_0x4eb865=_0x2eaca5['sigBytes'],_0x536ca6=[],_0x5b325d=0x0;_0x5b325d<_0x4eb865;_0x5b325d++){var _0x1b4920=_0x4936cf[_0x5b325d>>>0x2]>>>0x18-_0x5b325d%0x4*0x8&0xff;_0x536ca6[_0x1d0e7e(0x2c4)]((_0x1b4920>>>0x4)[_0x1d0e7e(0x3d3)](0x10)),_0x536ca6[_0x1d0e7e(0x2c4)]((_0x1b4920&0xf)['toString'](0x10));}return _0x536ca6['join']('');},'parse':function(_0x1dcff6){var _0x492061=_0xd93482;for(var _0x35c01e=_0x1dcff6[_0x492061(0x2c6)],_0x441629=[],_0x3abc49=0x0;_0x3abc49<_0x35c01e;_0x3abc49+=0x2)_0x441629[_0x3abc49>>>0x3]|=parseInt(_0x1dcff6[_0x492061(0x3d5)](_0x3abc49,0x2),0x10)<<0x18-_0x3abc49%0x8*0x4;return new _0xbe56ce[(_0x492061(0x15e))](_0x441629,_0x35c01e/0x2);}},_0x1654e1=_0x22aaed[_0xd93482(0x420)]={'stringify':function(_0x54ae44){var _0x5560ec=_0xd93482;for(var _0xec0cf2=_0x54ae44[_0x5560ec(0x2dc)],_0x5391ae=_0x54ae44[_0x5560ec(0x264)],_0x249a3f=[],_0xf7a4ed=0x0;_0xf7a4ed<_0x5391ae;_0xf7a4ed++){var _0x1ebbff=_0xec0cf2[_0xf7a4ed>>>0x2]>>>0x18-_0xf7a4ed%0x4*0x8&0xff;_0x249a3f[_0x5560ec(0x2c4)](String[_0x5560ec(0x1a5)](_0x1ebbff));}return _0x249a3f[_0x5560ec(0x1b8)]('');},'parse':function(_0x41d182){var _0x446489=_0xd93482;for(var _0x266c09=_0x41d182[_0x446489(0x2c6)],_0x226b7f=[],_0x5dff5c=0x0;_0x5dff5c<_0x266c09;_0x5dff5c++)_0x226b7f[_0x5dff5c>>>0x2]|=(_0x41d182[_0x446489(0x3b3)](_0x5dff5c)&0xff)<<0x18-_0x5dff5c%0x4*0x8;return new _0xbe56ce[(_0x446489(0x15e))](_0x226b7f,_0x266c09);}},_0x56aa76=_0x22aaed[_0xd93482(0x3de)]={'stringify':function(_0x9e3391){try{return decodeURIComponent(escape(_0x1654e1['stringify'](_0x9e3391)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x42bd87){var _0x106472=_0xd93482;return _0x1654e1[_0x106472(0x3d4)](unescape(encodeURIComponent(_0x42bd87)));}},_0x43fb3a=_0x2a2d42[_0xd93482(0x258)]=_0x3cbd28[_0xd93482(0x262)]({'reset':function(){var _0x46d122=_0xd93482;this['_data']=new _0xbe56ce['init'](),this[_0x46d122(0x182)]=0x0;},'_append':function(_0x536624){var _0x3b2dab=_0xd93482;typeof _0x536624==_0x3b2dab(0x356)&&(_0x536624=_0x56aa76['parse'](_0x536624)),this[_0x3b2dab(0x235)][_0x3b2dab(0x236)](_0x536624),this[_0x3b2dab(0x182)]+=_0x536624[_0x3b2dab(0x264)];},'_process':function(_0x196fa2){var _0x287794=_0xd93482,_0x5d6882,_0x2b1d79=this[_0x287794(0x235)],_0x54e4d6=_0x2b1d79[_0x287794(0x2dc)],_0x5d6e4f=_0x2b1d79[_0x287794(0x264)],_0x12d3fc=this[_0x287794(0x45e)],_0x2e759a=_0x12d3fc*0x4,_0x5e6c97=_0x5d6e4f/_0x2e759a;_0x196fa2?_0x5e6c97=_0x8edfcf[_0x287794(0x37c)](_0x5e6c97):_0x5e6c97=_0x8edfcf[_0x287794(0x18a)]((_0x5e6c97|0x0)-this[_0x287794(0x2a0)],0x0);var _0x593629=_0x5e6c97*_0x12d3fc,_0x4d8022=_0x8edfcf[_0x287794(0x208)](_0x593629*0x4,_0x5d6e4f);if(_0x593629){for(var _0x22f932=0x0;_0x22f932<_0x593629;_0x22f932+=_0x12d3fc)this[_0x287794(0x32c)](_0x54e4d6,_0x22f932);_0x5d6882=_0x54e4d6[_0x287794(0x425)](0x0,_0x593629),_0x2b1d79['sigBytes']-=_0x4d8022;}return new _0xbe56ce[(_0x287794(0x15e))](_0x5d6882,_0x4d8022);},'clone':function(){var _0x1c9912=_0xd93482,_0x22d34b=_0x3cbd28[_0x1c9912(0x254)][_0x1c9912(0x341)](this);return _0x22d34b['_data']=this[_0x1c9912(0x235)][_0x1c9912(0x254)](),_0x22d34b;},'_minBufferSize':0x0});_0x2a2d42[_0xd93482(0x233)]=_0x43fb3a[_0xd93482(0x262)]({'cfg':_0x3cbd28[_0xd93482(0x262)](),'init':function(_0x32ccfd){var _0x39c82d=_0xd93482;this['cfg']=this['cfg'][_0x39c82d(0x262)](_0x32ccfd),this[_0x39c82d(0x23a)]();},'reset':function(){var _0xedff5a=_0xd93482;_0x43fb3a[_0xedff5a(0x23a)][_0xedff5a(0x341)](this),this[_0xedff5a(0x465)]();},'update':function(_0x25d3d3){var _0x110412=_0xd93482;return this[_0x110412(0x381)](_0x25d3d3),this[_0x110412(0x429)](),this;},'finalize':function(_0xdea4d8){var _0x3cd841=_0xd93482;_0xdea4d8&&this[_0x3cd841(0x381)](_0xdea4d8);var _0x220209=this[_0x3cd841(0x39b)]();return _0x220209;},'blockSize':0x10,'_createHelper':function(_0x2ba204){return function(_0x59cbf8,_0x5ea296){var _0x2a4840=_0x44d6;return new _0x2ba204[(_0x2a4840(0x15e))](_0x5ea296)['finalize'](_0x59cbf8);};},'_createHmacHelper':function(_0x2290df){return function(_0xafa4f5,_0x597ab9){var _0x368b98=_0x44d6;return new _0x50816a[(_0x368b98(0x393))][(_0x368b98(0x15e))](_0x2290df,_0x597ab9)[_0x368b98(0x22e)](_0xafa4f5);};}});var _0x50816a=_0xe69fbd['algo']={};return _0xe69fbd;}(Math);return _0x2eff7f;}));}(Ge)),Ge[_0x58863a(0x372)];}var We={'exports':{}},cn=We[_0x2a1005(0x372)],qt;function Ri(){var _0x274f1a=_0x2a1005;return qt||(qt=0x1,function(_0x240ca6,_0x6cda80){(function(_0x49b2a8,_0x27374e){_0x240ca6['exports']=_0x27374e(ie());}(cn,function(_0x154813){var _0x785a64=_0x44d6;return(function(){var _0x4bae9c=_0x44d6,_0x214f15=_0x154813,_0x414817=_0x214f15[_0x4bae9c(0x231)],_0x4a6391=_0x414817[_0x4bae9c(0x42f)],_0x5c8e1d=_0x214f15[_0x4bae9c(0x297)];_0x5c8e1d[_0x4bae9c(0x3c4)]={'stringify':function(_0x5c995f){var _0x59c8c9=_0x4bae9c,_0x465e0f=_0x5c995f['words'],_0x327554=_0x5c995f[_0x59c8c9(0x264)],_0xd853c0=this[_0x59c8c9(0x31b)];_0x5c995f[_0x59c8c9(0x353)]();for(var _0x3fab7a=[],_0x10e868=0x0;_0x10e868<_0x327554;_0x10e868+=0x3)for(var _0x243943=_0x465e0f[_0x10e868>>>0x2]>>>0x18-_0x10e868%0x4*0x8&0xff,_0x4e662f=_0x465e0f[_0x10e868+0x1>>>0x2]>>>0x18-(_0x10e868+0x1)%0x4*0x8&0xff,_0x4328b5=_0x465e0f[_0x10e868+0x2>>>0x2]>>>0x18-(_0x10e868+0x2)%0x4*0x8&0xff,_0x497b32=_0x243943<<0x10|_0x4e662f<<0x8|_0x4328b5,_0xf18d22=0x0;_0xf18d22<0x4&&_0x10e868+_0xf18d22*0.75<_0x327554;_0xf18d22++)_0x3fab7a[_0x59c8c9(0x2c4)](_0xd853c0[_0x59c8c9(0x2c8)](_0x497b32>>>0x6*(0x3-_0xf18d22)&0x3f));var _0x10d33d=_0xd853c0[_0x59c8c9(0x2c8)](0x40);if(_0x10d33d){for(;_0x3fab7a[_0x59c8c9(0x2c6)]%0x4;)_0x3fab7a[_0x59c8c9(0x2c4)](_0x10d33d);}return _0x3fab7a[_0x59c8c9(0x1b8)]('');},'parse':function(_0x4f8f53){var _0x261652=_0x4bae9c,_0x4020e2=_0x4f8f53[_0x261652(0x2c6)],_0x3e9c5f=this[_0x261652(0x31b)],_0x510c9d=this['_reverseMap'];if(!_0x510c9d){_0x510c9d=this[_0x261652(0x3e6)]=[];for(var _0x45681d=0x0;_0x45681d<_0x3e9c5f[_0x261652(0x2c6)];_0x45681d++)_0x510c9d[_0x3e9c5f[_0x261652(0x3b3)](_0x45681d)]=_0x45681d;}var _0x49bf67=_0x3e9c5f[_0x261652(0x2c8)](0x40);if(_0x49bf67){var _0x5529ef=_0x4f8f53['indexOf'](_0x49bf67);_0x5529ef!==-0x1&&(_0x4020e2=_0x5529ef);}return _0x2afdb0(_0x4f8f53,_0x4020e2,_0x510c9d);},'_map':_0x4bae9c(0x1b6)};function _0x2afdb0(_0x504a71,_0x38b257,_0x25e58d){var _0x174d86=_0x4bae9c;for(var _0x35ddb8=[],_0x1a5c6a=0x0,_0x4bbcf1=0x0;_0x4bbcf1<_0x38b257;_0x4bbcf1++)if(_0x4bbcf1%0x4){var _0x57321e=_0x25e58d[_0x504a71[_0x174d86(0x3b3)](_0x4bbcf1-0x1)]<<_0x4bbcf1%0x4*0x2,_0x5395ee=_0x25e58d[_0x504a71['charCodeAt'](_0x4bbcf1)]>>>0x6-_0x4bbcf1%0x4*0x2,_0x5e46ac=_0x57321e|_0x5395ee;_0x35ddb8[_0x1a5c6a>>>0x2]|=_0x5e46ac<<0x18-_0x1a5c6a%0x4*0x8,_0x1a5c6a++;}return _0x4a6391[_0x174d86(0x268)](_0x35ddb8,_0x1a5c6a);}}()),_0x154813[_0x785a64(0x297)][_0x785a64(0x3c4)];}));}(We)),We[_0x274f1a(0x372)];}var Ye={'exports':{}},_n=Ye[_0x2a1005(0x372)],zt;function hn(){return zt||(zt=0x1,function(_0x5e72bd,_0x193e4e){(function(_0x12cbbe,_0x15c91d){var _0x48389e=_0x44d6;_0x5e72bd[_0x48389e(0x372)]=_0x15c91d(ie());}(_n,function(_0x3bc021){return function(_0x1578cc){var _0x26f382=_0x44d6,_0x56e8f7=_0x3bc021,_0x3ab6f8=_0x56e8f7[_0x26f382(0x231)],_0x4c0928=_0x3ab6f8['WordArray'],_0xa4d235=_0x3ab6f8[_0x26f382(0x233)],_0x53233f=_0x56e8f7[_0x26f382(0x33d)],_0x402b3e=[];(function(){var _0x31cdd4=_0x26f382;for(var _0x4ea200=0x0;_0x4ea200<0x40;_0x4ea200++)_0x402b3e[_0x4ea200]=_0x1578cc[_0x31cdd4(0x3dc)](_0x1578cc[_0x31cdd4(0x46d)](_0x4ea200+0x1))*0x100000000|0x0;}());var _0x1c554d=_0x53233f[_0x26f382(0x411)]=_0xa4d235[_0x26f382(0x262)]({'_doReset':function(){var _0x6f0d42=_0x26f382;this[_0x6f0d42(0x247)]=new _0x4c0928['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x201b5c,_0x52607c){var _0x1dbc2f=_0x26f382;for(var _0x385309=0x0;_0x385309<0x10;_0x385309++){var _0xf36ead=_0x52607c+_0x385309,_0x5a964a=_0x201b5c[_0xf36ead];_0x201b5c[_0xf36ead]=(_0x5a964a<<0x8|_0x5a964a>>>0x18)&0xff00ff|(_0x5a964a<<0x18|_0x5a964a>>>0x8)&0xff00ff00;}var _0x41f54b=this[_0x1dbc2f(0x247)][_0x1dbc2f(0x2dc)],_0x2f549b=_0x201b5c[_0x52607c+0x0],_0x12108d=_0x201b5c[_0x52607c+0x1],_0x2b13ad=_0x201b5c[_0x52607c+0x2],_0x383ae1=_0x201b5c[_0x52607c+0x3],_0x2a1d4a=_0x201b5c[_0x52607c+0x4],_0x3ab226=_0x201b5c[_0x52607c+0x5],_0xcd50f3=_0x201b5c[_0x52607c+0x6],_0x3ad6a2=_0x201b5c[_0x52607c+0x7],_0xb22823=_0x201b5c[_0x52607c+0x8],_0x29a8a9=_0x201b5c[_0x52607c+0x9],_0x4b105a=_0x201b5c[_0x52607c+0xa],_0x44cd99=_0x201b5c[_0x52607c+0xb],_0x26b2f9=_0x201b5c[_0x52607c+0xc],_0x47ed5b=_0x201b5c[_0x52607c+0xd],_0x3a901f=_0x201b5c[_0x52607c+0xe],_0x43d075=_0x201b5c[_0x52607c+0xf],_0x9ad97c=_0x41f54b[0x0],_0x363df8=_0x41f54b[0x1],_0x4a8849=_0x41f54b[0x2],_0x17b7f6=_0x41f54b[0x3];_0x9ad97c=_0x4c0b9c(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x2f549b,0x7,_0x402b3e[0x0]),_0x17b7f6=_0x4c0b9c(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x12108d,0xc,_0x402b3e[0x1]),_0x4a8849=_0x4c0b9c(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x2b13ad,0x11,_0x402b3e[0x2]),_0x363df8=_0x4c0b9c(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x383ae1,0x16,_0x402b3e[0x3]),_0x9ad97c=_0x4c0b9c(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x2a1d4a,0x7,_0x402b3e[0x4]),_0x17b7f6=_0x4c0b9c(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x3ab226,0xc,_0x402b3e[0x5]),_0x4a8849=_0x4c0b9c(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0xcd50f3,0x11,_0x402b3e[0x6]),_0x363df8=_0x4c0b9c(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x3ad6a2,0x16,_0x402b3e[0x7]),_0x9ad97c=_0x4c0b9c(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0xb22823,0x7,_0x402b3e[0x8]),_0x17b7f6=_0x4c0b9c(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x29a8a9,0xc,_0x402b3e[0x9]),_0x4a8849=_0x4c0b9c(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x4b105a,0x11,_0x402b3e[0xa]),_0x363df8=_0x4c0b9c(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x44cd99,0x16,_0x402b3e[0xb]),_0x9ad97c=_0x4c0b9c(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x26b2f9,0x7,_0x402b3e[0xc]),_0x17b7f6=_0x4c0b9c(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x47ed5b,0xc,_0x402b3e[0xd]),_0x4a8849=_0x4c0b9c(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x3a901f,0x11,_0x402b3e[0xe]),_0x363df8=_0x4c0b9c(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x43d075,0x16,_0x402b3e[0xf]),_0x9ad97c=_0x4e12a2(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x12108d,0x5,_0x402b3e[0x10]),_0x17b7f6=_0x4e12a2(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0xcd50f3,0x9,_0x402b3e[0x11]),_0x4a8849=_0x4e12a2(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x44cd99,0xe,_0x402b3e[0x12]),_0x363df8=_0x4e12a2(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x2f549b,0x14,_0x402b3e[0x13]),_0x9ad97c=_0x4e12a2(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x3ab226,0x5,_0x402b3e[0x14]),_0x17b7f6=_0x4e12a2(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x4b105a,0x9,_0x402b3e[0x15]),_0x4a8849=_0x4e12a2(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x43d075,0xe,_0x402b3e[0x16]),_0x363df8=_0x4e12a2(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x2a1d4a,0x14,_0x402b3e[0x17]),_0x9ad97c=_0x4e12a2(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x29a8a9,0x5,_0x402b3e[0x18]),_0x17b7f6=_0x4e12a2(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x3a901f,0x9,_0x402b3e[0x19]),_0x4a8849=_0x4e12a2(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x383ae1,0xe,_0x402b3e[0x1a]),_0x363df8=_0x4e12a2(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0xb22823,0x14,_0x402b3e[0x1b]),_0x9ad97c=_0x4e12a2(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x47ed5b,0x5,_0x402b3e[0x1c]),_0x17b7f6=_0x4e12a2(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x2b13ad,0x9,_0x402b3e[0x1d]),_0x4a8849=_0x4e12a2(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x3ad6a2,0xe,_0x402b3e[0x1e]),_0x363df8=_0x4e12a2(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x26b2f9,0x14,_0x402b3e[0x1f]),_0x9ad97c=_0x1ffac3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x3ab226,0x4,_0x402b3e[0x20]),_0x17b7f6=_0x1ffac3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0xb22823,0xb,_0x402b3e[0x21]),_0x4a8849=_0x1ffac3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x44cd99,0x10,_0x402b3e[0x22]),_0x363df8=_0x1ffac3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x3a901f,0x17,_0x402b3e[0x23]),_0x9ad97c=_0x1ffac3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x12108d,0x4,_0x402b3e[0x24]),_0x17b7f6=_0x1ffac3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x2a1d4a,0xb,_0x402b3e[0x25]),_0x4a8849=_0x1ffac3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x3ad6a2,0x10,_0x402b3e[0x26]),_0x363df8=_0x1ffac3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x4b105a,0x17,_0x402b3e[0x27]),_0x9ad97c=_0x1ffac3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x47ed5b,0x4,_0x402b3e[0x28]),_0x17b7f6=_0x1ffac3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x2f549b,0xb,_0x402b3e[0x29]),_0x4a8849=_0x1ffac3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x383ae1,0x10,_0x402b3e[0x2a]),_0x363df8=_0x1ffac3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0xcd50f3,0x17,_0x402b3e[0x2b]),_0x9ad97c=_0x1ffac3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x29a8a9,0x4,_0x402b3e[0x2c]),_0x17b7f6=_0x1ffac3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x26b2f9,0xb,_0x402b3e[0x2d]),_0x4a8849=_0x1ffac3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x43d075,0x10,_0x402b3e[0x2e]),_0x363df8=_0x1ffac3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x2b13ad,0x17,_0x402b3e[0x2f]),_0x9ad97c=_0x753f3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x2f549b,0x6,_0x402b3e[0x30]),_0x17b7f6=_0x753f3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x3ad6a2,0xa,_0x402b3e[0x31]),_0x4a8849=_0x753f3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x3a901f,0xf,_0x402b3e[0x32]),_0x363df8=_0x753f3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x3ab226,0x15,_0x402b3e[0x33]),_0x9ad97c=_0x753f3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x26b2f9,0x6,_0x402b3e[0x34]),_0x17b7f6=_0x753f3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x383ae1,0xa,_0x402b3e[0x35]),_0x4a8849=_0x753f3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x4b105a,0xf,_0x402b3e[0x36]),_0x363df8=_0x753f3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x12108d,0x15,_0x402b3e[0x37]),_0x9ad97c=_0x753f3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0xb22823,0x6,_0x402b3e[0x38]),_0x17b7f6=_0x753f3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x43d075,0xa,_0x402b3e[0x39]),_0x4a8849=_0x753f3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0xcd50f3,0xf,_0x402b3e[0x3a]),_0x363df8=_0x753f3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x47ed5b,0x15,_0x402b3e[0x3b]),_0x9ad97c=_0x753f3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x2a1d4a,0x6,_0x402b3e[0x3c]),_0x17b7f6=_0x753f3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x44cd99,0xa,_0x402b3e[0x3d]),_0x4a8849=_0x753f3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x2b13ad,0xf,_0x402b3e[0x3e]),_0x363df8=_0x753f3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x29a8a9,0x15,_0x402b3e[0x3f]),_0x41f54b[0x0]=_0x41f54b[0x0]+_0x9ad97c|0x0,_0x41f54b[0x1]=_0x41f54b[0x1]+_0x363df8|0x0,_0x41f54b[0x2]=_0x41f54b[0x2]+_0x4a8849|0x0,_0x41f54b[0x3]=_0x41f54b[0x3]+_0x17b7f6|0x0;},'_doFinalize':function(){var _0x300eab=_0x26f382,_0x48e355=this[_0x300eab(0x235)],_0x3fc679=_0x48e355[_0x300eab(0x2dc)],_0xd6635d=this['_nDataBytes']*0x8,_0x18b611=_0x48e355[_0x300eab(0x264)]*0x8;_0x3fc679[_0x18b611>>>0x5]|=0x80<<0x18-_0x18b611%0x20;var _0x58a9e9=_0x1578cc[_0x300eab(0x15f)](_0xd6635d/0x100000000),_0xd592bf=_0xd6635d;_0x3fc679[(_0x18b611+0x40>>>0x9<<0x4)+0xf]=(_0x58a9e9<<0x8|_0x58a9e9>>>0x18)&0xff00ff|(_0x58a9e9<<0x18|_0x58a9e9>>>0x8)&0xff00ff00,_0x3fc679[(_0x18b611+0x40>>>0x9<<0x4)+0xe]=(_0xd592bf<<0x8|_0xd592bf>>>0x18)&0xff00ff|(_0xd592bf<<0x18|_0xd592bf>>>0x8)&0xff00ff00,_0x48e355[_0x300eab(0x264)]=(_0x3fc679[_0x300eab(0x2c6)]+0x1)*0x4,this[_0x300eab(0x429)]();for(var _0x270d02=this[_0x300eab(0x247)],_0x536378=_0x270d02['words'],_0x2c563b=0x0;_0x2c563b<0x4;_0x2c563b++){var _0x3c51fd=_0x536378[_0x2c563b];_0x536378[_0x2c563b]=(_0x3c51fd<<0x8|_0x3c51fd>>>0x18)&0xff00ff|(_0x3c51fd<<0x18|_0x3c51fd>>>0x8)&0xff00ff00;}return _0x270d02;},'clone':function(){var _0x43e782=_0x26f382,_0x1fc155=_0xa4d235[_0x43e782(0x254)][_0x43e782(0x341)](this);return _0x1fc155[_0x43e782(0x247)]=this[_0x43e782(0x247)][_0x43e782(0x254)](),_0x1fc155;}});function _0x4c0b9c(_0x1bfcad,_0x68bbad,_0x3bd43d,_0x516066,_0x3fe9ed,_0x4d360f,_0x44c241){var _0x4d67f7=_0x1bfcad+(_0x68bbad&_0x3bd43d|~_0x68bbad&_0x516066)+_0x3fe9ed+_0x44c241;return(_0x4d67f7<<_0x4d360f|_0x4d67f7>>>0x20-_0x4d360f)+_0x68bbad;}function _0x4e12a2(_0x379453,_0x28c95f,_0x1860f1,_0x1e082b,_0x20a187,_0x26bff8,_0x5b7c22){var _0x16905c=_0x379453+(_0x28c95f&_0x1e082b|_0x1860f1&~_0x1e082b)+_0x20a187+_0x5b7c22;return(_0x16905c<<_0x26bff8|_0x16905c>>>0x20-_0x26bff8)+_0x28c95f;}function _0x1ffac3(_0x49ed3f,_0x62d981,_0x2b917b,_0x56d985,_0x2f5b54,_0x5163b8,_0x27fc1f){var _0x44f35a=_0x49ed3f+(_0x62d981^_0x2b917b^_0x56d985)+_0x2f5b54+_0x27fc1f;return(_0x44f35a<<_0x5163b8|_0x44f35a>>>0x20-_0x5163b8)+_0x62d981;}function _0x753f3(_0x979e23,_0x17aafa,_0x3f622e,_0x52c591,_0x31b17f,_0x540ee7,_0x5b5e42){var _0x9317cb=_0x979e23+(_0x3f622e^(_0x17aafa|~_0x52c591))+_0x31b17f+_0x5b5e42;return(_0x9317cb<<_0x540ee7|_0x9317cb>>>0x20-_0x540ee7)+_0x17aafa;}_0x56e8f7['MD5']=_0xa4d235[_0x26f382(0x3fa)](_0x1c554d),_0x56e8f7['HmacMD5']=_0xa4d235[_0x26f382(0x1d5)](_0x1c554d);}(Math),_0x3bc021['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x2a1005(0x372)],Jt;function un(){return Jt||(Jt=0x1,function(_0x14a64b,_0x2df14a){(function(_0x4f458c,_0x2eee53){_0x14a64b['exports']=_0x2eee53(ie());}(ln,function(_0x17c113){var _0x2f8112=_0x44d6;return(function(){var _0x182d8d=_0x44d6,_0x3ec863=_0x17c113,_0x544cce=_0x3ec863[_0x182d8d(0x231)],_0x2a3e9d=_0x544cce[_0x182d8d(0x42f)],_0x117549=_0x544cce[_0x182d8d(0x233)],_0x2db5b0=_0x3ec863['algo'],_0x462e27=[],_0x2cce98=_0x2db5b0['SHA1']=_0x117549[_0x182d8d(0x262)]({'_doReset':function(){var _0x5a2667=_0x182d8d;this[_0x5a2667(0x247)]=new _0x2a3e9d[(_0x5a2667(0x15e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x427541,_0x4cec44){var _0x321034=_0x182d8d;for(var _0x38f38b=this['_hash'][_0x321034(0x2dc)],_0x4cfd74=_0x38f38b[0x0],_0x5f121d=_0x38f38b[0x1],_0x16c178=_0x38f38b[0x2],_0x11ee19=_0x38f38b[0x3],_0x18fe82=_0x38f38b[0x4],_0x5c34d9=0x0;_0x5c34d9<0x50;_0x5c34d9++){if(_0x5c34d9<0x10)_0x462e27[_0x5c34d9]=_0x427541[_0x4cec44+_0x5c34d9]|0x0;else{var _0x3f72b5=_0x462e27[_0x5c34d9-0x3]^_0x462e27[_0x5c34d9-0x8]^_0x462e27[_0x5c34d9-0xe]^_0x462e27[_0x5c34d9-0x10];_0x462e27[_0x5c34d9]=_0x3f72b5<<0x1|_0x3f72b5>>>0x1f;}var _0x1e1380=(_0x4cfd74<<0x5|_0x4cfd74>>>0x1b)+_0x18fe82+_0x462e27[_0x5c34d9];_0x5c34d9<0x14?_0x1e1380+=(_0x5f121d&_0x16c178|~_0x5f121d&_0x11ee19)+0x5a827999:_0x5c34d9<0x28?_0x1e1380+=(_0x5f121d^_0x16c178^_0x11ee19)+0x6ed9eba1:_0x5c34d9<0x3c?_0x1e1380+=(_0x5f121d&_0x16c178|_0x5f121d&_0x11ee19|_0x16c178&_0x11ee19)-0x70e44324:_0x1e1380+=(_0x5f121d^_0x16c178^_0x11ee19)-0x359d3e2a,_0x18fe82=_0x11ee19,_0x11ee19=_0x16c178,_0x16c178=_0x5f121d<<0x1e|_0x5f121d>>>0x2,_0x5f121d=_0x4cfd74,_0x4cfd74=_0x1e1380;}_0x38f38b[0x0]=_0x38f38b[0x0]+_0x4cfd74|0x0,_0x38f38b[0x1]=_0x38f38b[0x1]+_0x5f121d|0x0,_0x38f38b[0x2]=_0x38f38b[0x2]+_0x16c178|0x0,_0x38f38b[0x3]=_0x38f38b[0x3]+_0x11ee19|0x0,_0x38f38b[0x4]=_0x38f38b[0x4]+_0x18fe82|0x0;},'_doFinalize':function(){var _0x12bd44=_0x182d8d,_0x12aff8=this['_data'],_0x4ea3c8=_0x12aff8[_0x12bd44(0x2dc)],_0x39c0d9=this[_0x12bd44(0x182)]*0x8,_0x337a5e=_0x12aff8[_0x12bd44(0x264)]*0x8;return _0x4ea3c8[_0x337a5e>>>0x5]|=0x80<<0x18-_0x337a5e%0x20,_0x4ea3c8[(_0x337a5e+0x40>>>0x9<<0x4)+0xe]=Math[_0x12bd44(0x15f)](_0x39c0d9/0x100000000),_0x4ea3c8[(_0x337a5e+0x40>>>0x9<<0x4)+0xf]=_0x39c0d9,_0x12aff8[_0x12bd44(0x264)]=_0x4ea3c8['length']*0x4,this[_0x12bd44(0x429)](),this[_0x12bd44(0x247)];},'clone':function(){var _0x109ac5=_0x182d8d,_0x1f0de2=_0x117549[_0x109ac5(0x254)]['call'](this);return _0x1f0de2[_0x109ac5(0x247)]=this[_0x109ac5(0x247)]['clone'](),_0x1f0de2;}});_0x3ec863[_0x182d8d(0x2b6)]=_0x117549[_0x182d8d(0x3fa)](_0x2cce98),_0x3ec863[_0x182d8d(0x1ea)]=_0x117549['_createHmacHelper'](_0x2cce98);}()),_0x17c113[_0x2f8112(0x2b6)];}));}(qe)),qe['exports'];}var ze={'exports':{}},dn=ze[_0x2a1005(0x372)],Xt;function fn(){var _0x343d3d=_0x2a1005;return Xt||(Xt=0x1,function(_0x270e16,_0x4f6aa2){(function(_0x22c03d,_0x135d25){var _0xd7b3c7=_0x44d6;_0x270e16[_0xd7b3c7(0x372)]=_0x135d25(ie());}(dn,function(_0x23cdb4){(function(){var _0x11aa59=_0x44d6,_0x34c225=_0x23cdb4,_0x41cc88=_0x34c225[_0x11aa59(0x231)],_0x1f1823=_0x41cc88[_0x11aa59(0x299)],_0x35e495=_0x34c225[_0x11aa59(0x297)],_0x3dcb6c=_0x35e495[_0x11aa59(0x3de)],_0x30ff65=_0x34c225[_0x11aa59(0x33d)];_0x30ff65[_0x11aa59(0x393)]=_0x1f1823['extend']({'init':function(_0x5df189,_0x1d3577){var _0x584d1e=_0x11aa59;_0x5df189=this[_0x584d1e(0x408)]=new _0x5df189[(_0x584d1e(0x15e))](),typeof _0x1d3577==_0x584d1e(0x356)&&(_0x1d3577=_0x3dcb6c[_0x584d1e(0x3d4)](_0x1d3577));var _0x5a59a7=_0x5df189[_0x584d1e(0x45e)],_0x59e72c=_0x5a59a7*0x4;_0x1d3577[_0x584d1e(0x264)]>_0x59e72c&&(_0x1d3577=_0x5df189[_0x584d1e(0x22e)](_0x1d3577)),_0x1d3577[_0x584d1e(0x353)]();for(var _0x2439da=this[_0x584d1e(0x1c8)]=_0x1d3577[_0x584d1e(0x254)](),_0x39d0ea=this[_0x584d1e(0x3fb)]=_0x1d3577[_0x584d1e(0x254)](),_0x4787c6=_0x2439da[_0x584d1e(0x2dc)],_0x8f5e07=_0x39d0ea[_0x584d1e(0x2dc)],_0x37a7c4=0x0;_0x37a7c4<_0x5a59a7;_0x37a7c4++)_0x4787c6[_0x37a7c4]^=0x5c5c5c5c,_0x8f5e07[_0x37a7c4]^=0x36363636;_0x2439da[_0x584d1e(0x264)]=_0x39d0ea['sigBytes']=_0x59e72c,this[_0x584d1e(0x23a)]();},'reset':function(){var _0x28d903=_0x11aa59,_0x3ab894=this[_0x28d903(0x408)];_0x3ab894['reset'](),_0x3ab894[_0x28d903(0x176)](this[_0x28d903(0x3fb)]);},'update':function(_0x3f0b8c){var _0x5744bc=_0x11aa59;return this[_0x5744bc(0x408)][_0x5744bc(0x176)](_0x3f0b8c),this;},'finalize':function(_0x29d284){var _0x473885=_0x11aa59,_0x40d220=this['_hasher'],_0x1feb17=_0x40d220[_0x473885(0x22e)](_0x29d284);_0x40d220[_0x473885(0x23a)]();var _0x4a5685=_0x40d220['finalize'](this[_0x473885(0x1c8)][_0x473885(0x254)]()[_0x473885(0x236)](_0x1feb17));return _0x4a5685;}});}());}));}(ze)),ze[_0x343d3d(0x372)];}var vn=Ke[_0x2a1005(0x372)],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x2dc048,_0x1d0f07){(function(_0x420613,_0x4251f4,_0x35063a){_0x2dc048['exports']=_0x4251f4(ie(),un(),fn());}(vn,function(_0x3571d9){return(function(){var _0x203130=_0x44d6,_0x2261f7=_0x3571d9,_0x497d3a=_0x2261f7['lib'],_0x371e68=_0x497d3a[_0x203130(0x299)],_0x38366e=_0x497d3a['WordArray'],_0xf63946=_0x2261f7['algo'],_0x327b3b=_0xf63946[_0x203130(0x411)],_0x2a1e5c=_0xf63946[_0x203130(0x40e)]=_0x371e68[_0x203130(0x262)]({'cfg':_0x371e68[_0x203130(0x262)]({'keySize':0x80/0x20,'hasher':_0x327b3b,'iterations':0x1}),'init':function(_0x5474e2){var _0x45ccfa=_0x203130;this[_0x45ccfa(0x38a)]=this['cfg']['extend'](_0x5474e2);},'compute':function(_0x5b3e50,_0x2efe3c){var _0x2142d9=_0x203130;for(var _0x24acd3,_0xada666=this[_0x2142d9(0x38a)],_0x31d4a7=_0xada666['hasher'][_0x2142d9(0x268)](),_0x13135f=_0x38366e[_0x2142d9(0x268)](),_0x578a46=_0x13135f[_0x2142d9(0x2dc)],_0xfe7a28=_0xada666[_0x2142d9(0x44a)],_0x44a7bd=_0xada666['iterations'];_0x578a46[_0x2142d9(0x2c6)]<_0xfe7a28;){_0x24acd3&&_0x31d4a7['update'](_0x24acd3),_0x24acd3=_0x31d4a7[_0x2142d9(0x176)](_0x5b3e50)[_0x2142d9(0x22e)](_0x2efe3c),_0x31d4a7[_0x2142d9(0x23a)]();for(var _0xf4e017=0x1;_0xf4e017<_0x44a7bd;_0xf4e017++)_0x24acd3=_0x31d4a7[_0x2142d9(0x22e)](_0x24acd3),_0x31d4a7[_0x2142d9(0x23a)]();_0x13135f[_0x2142d9(0x236)](_0x24acd3);}return _0x13135f[_0x2142d9(0x264)]=_0xfe7a28*0x4,_0x13135f;}});_0x2261f7[_0x203130(0x40e)]=function(_0x5de924,_0x36d749,_0x1c5074){var _0x2ce6cc=_0x203130;return _0x2a1e5c['create'](_0x1c5074)[_0x2ce6cc(0x413)](_0x5de924,_0x36d749);};}()),_0x3571d9['EvpKDF'];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},pn=Je['exports'],Qt;function Ni(){return Qt||(Qt=0x1,function(_0x1a904b,_0x26b35e){(function(_0x21d67c,_0x5cce67,_0x263481){var _0x267f7a=_0x44d6;_0x1a904b[_0x267f7a(0x372)]=_0x5cce67(ie(),Ci());}(pn,function(_0x46da98){var _0x4fef1f=_0x44d6;_0x46da98[_0x4fef1f(0x231)][_0x4fef1f(0x35b)]||function(_0x27667a){var _0x2cb3cc=_0x4fef1f,_0x59e1b7=_0x46da98,_0x90106d=_0x59e1b7[_0x2cb3cc(0x231)],_0x778671=_0x90106d[_0x2cb3cc(0x299)],_0x1cd03a=_0x90106d['WordArray'],_0xbf6ad=_0x90106d[_0x2cb3cc(0x258)],_0x34946d=_0x59e1b7[_0x2cb3cc(0x297)];_0x34946d[_0x2cb3cc(0x3de)];var _0x4ed434=_0x34946d[_0x2cb3cc(0x3c4)],_0x4f1ce6=_0x59e1b7[_0x2cb3cc(0x33d)],_0x4e158=_0x4f1ce6['EvpKDF'],_0x3becff=_0x90106d[_0x2cb3cc(0x35b)]=_0xbf6ad[_0x2cb3cc(0x262)]({'cfg':_0x778671[_0x2cb3cc(0x262)](),'createEncryptor':function(_0x1d389c,_0x414d88){var _0x38f100=_0x2cb3cc;return this[_0x38f100(0x268)](this[_0x38f100(0x29c)],_0x1d389c,_0x414d88);},'createDecryptor':function(_0x4281a6,_0x19d5ba){var _0x4ce031=_0x2cb3cc;return this[_0x4ce031(0x268)](this['_DEC_XFORM_MODE'],_0x4281a6,_0x19d5ba);},'init':function(_0x4d5287,_0x594e5f,_0x2f7dbb){var _0x406c33=_0x2cb3cc;this['cfg']=this[_0x406c33(0x38a)][_0x406c33(0x262)](_0x2f7dbb),this[_0x406c33(0x3aa)]=_0x4d5287,this[_0x406c33(0x2d1)]=_0x594e5f,this['reset']();},'reset':function(){var _0x51b889=_0x2cb3cc;_0xbf6ad[_0x51b889(0x23a)][_0x51b889(0x341)](this),this[_0x51b889(0x465)]();},'process':function(_0x4f16e4){var _0x4fce92=_0x2cb3cc;return this[_0x4fce92(0x381)](_0x4f16e4),this[_0x4fce92(0x429)]();},'finalize':function(_0x11f6ee){_0x11f6ee&&this['_append'](_0x11f6ee);var _0x191c1f=this['_doFinalize']();return _0x191c1f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e8b08(_0x3839aa){return typeof _0x3839aa=='string'?_0x1cc4ce:_0x1ff13b;}return function(_0x4a7fef){return{'encrypt':function(_0x1babca,_0x50e5f0,_0x3f7e59){var _0x33ead7=_0x44d6;return _0x2e8b08(_0x50e5f0)[_0x33ead7(0x448)](_0x4a7fef,_0x1babca,_0x50e5f0,_0x3f7e59);},'decrypt':function(_0xccfe03,_0x49a0a9,_0x12a774){return _0x2e8b08(_0x49a0a9)['decrypt'](_0x4a7fef,_0xccfe03,_0x49a0a9,_0x12a774);}};};}())});_0x90106d['StreamCipher']=_0x3becff[_0x2cb3cc(0x262)]({'_doFinalize':function(){var _0x241446=this['_process'](!0x0);return _0x241446;},'blockSize':0x1});var _0x41a2f1=_0x59e1b7['mode']={},_0x1d00e0=_0x90106d[_0x2cb3cc(0x196)]=_0x778671['extend']({'createEncryptor':function(_0x370d14,_0x855b99){var _0x674d36=_0x2cb3cc;return this[_0x674d36(0x3c9)][_0x674d36(0x268)](_0x370d14,_0x855b99);},'createDecryptor':function(_0x3688af,_0x1b7294){var _0x4fd182=_0x2cb3cc;return this[_0x4fd182(0x2ea)][_0x4fd182(0x268)](_0x3688af,_0x1b7294);},'init':function(_0x15466c,_0x1657f0){var _0x48232f=_0x2cb3cc;this['_cipher']=_0x15466c,this[_0x48232f(0x3e9)]=_0x1657f0;}}),_0x31e295=_0x41a2f1[_0x2cb3cc(0x21c)]=(function(){var _0x29ee33=_0x2cb3cc,_0x272d59=_0x1d00e0['extend']();_0x272d59['Encryptor']=_0x272d59[_0x29ee33(0x262)]({'processBlock':function(_0x31445d,_0x155ea2){var _0x3a070b=_0x29ee33,_0x1091df=this[_0x3a070b(0x457)],_0x254076=_0x1091df['blockSize'];_0x57f653[_0x3a070b(0x341)](this,_0x31445d,_0x155ea2,_0x254076),_0x1091df[_0x3a070b(0x2e9)](_0x31445d,_0x155ea2),this[_0x3a070b(0x330)]=_0x31445d[_0x3a070b(0x3d0)](_0x155ea2,_0x155ea2+_0x254076);}}),_0x272d59[_0x29ee33(0x2ea)]=_0x272d59[_0x29ee33(0x262)]({'processBlock':function(_0x84b447,_0x288845){var _0x3a526f=_0x29ee33,_0x48e4d0=this[_0x3a526f(0x457)],_0x133654=_0x48e4d0[_0x3a526f(0x45e)],_0x196ca1=_0x84b447['slice'](_0x288845,_0x288845+_0x133654);_0x48e4d0[_0x3a526f(0x3be)](_0x84b447,_0x288845),_0x57f653[_0x3a526f(0x341)](this,_0x84b447,_0x288845,_0x133654),this[_0x3a526f(0x330)]=_0x196ca1;}});function _0x57f653(_0x2ab57f,_0x57d511,_0x20571b){var _0x403fd1=_0x29ee33,_0xe22432,_0x110dba=this['_iv'];_0x110dba?(_0xe22432=_0x110dba,this[_0x403fd1(0x3e9)]=_0x27667a):_0xe22432=this['_prevBlock'];for(var _0x196900=0x0;_0x196900<_0x20571b;_0x196900++)_0x2ab57f[_0x57d511+_0x196900]^=_0xe22432[_0x196900];}return _0x272d59;}()),_0x3abac2=_0x59e1b7[_0x2cb3cc(0x350)]={},_0x63433=_0x3abac2[_0x2cb3cc(0x436)]={'pad':function(_0x18debd,_0x2a3126){var _0x4fc89b=_0x2cb3cc;for(var _0x38a221=_0x2a3126*0x4,_0x133640=_0x38a221-_0x18debd[_0x4fc89b(0x264)]%_0x38a221,_0x10c9cf=_0x133640<<0x18|_0x133640<<0x10|_0x133640<<0x8|_0x133640,_0xca88b4=[],_0x4ab4d9=0x0;_0x4ab4d9<_0x133640;_0x4ab4d9+=0x4)_0xca88b4[_0x4fc89b(0x2c4)](_0x10c9cf);var _0x5d151b=_0x1cd03a[_0x4fc89b(0x268)](_0xca88b4,_0x133640);_0x18debd[_0x4fc89b(0x236)](_0x5d151b);},'unpad':function(_0x46bc32){var _0x30e4dd=_0x2cb3cc,_0x49767d=_0x46bc32[_0x30e4dd(0x2dc)][_0x46bc32['sigBytes']-0x1>>>0x2]&0xff;_0x46bc32[_0x30e4dd(0x264)]-=_0x49767d;}};_0x90106d[_0x2cb3cc(0x2d5)]=_0x3becff['extend']({'cfg':_0x3becff['cfg'][_0x2cb3cc(0x262)]({'mode':_0x31e295,'padding':_0x63433}),'reset':function(){var _0x275ee3=_0x2cb3cc,_0x3c4728;_0x3becff[_0x275ee3(0x23a)]['call'](this);var _0x35b58c=this[_0x275ee3(0x38a)],_0x519508=_0x35b58c['iv'],_0x346fd9=_0x35b58c['mode'];this[_0x275ee3(0x3aa)]==this[_0x275ee3(0x29c)]?_0x3c4728=_0x346fd9[_0x275ee3(0x369)]:(_0x3c4728=_0x346fd9[_0x275ee3(0x1ba)],this[_0x275ee3(0x2a0)]=0x1),this[_0x275ee3(0x31c)]&&this[_0x275ee3(0x31c)][_0x275ee3(0x1d8)]==_0x3c4728?this[_0x275ee3(0x31c)][_0x275ee3(0x15e)](this,_0x519508&&_0x519508[_0x275ee3(0x2dc)]):(this[_0x275ee3(0x31c)]=_0x3c4728[_0x275ee3(0x341)](_0x346fd9,this,_0x519508&&_0x519508[_0x275ee3(0x2dc)]),this[_0x275ee3(0x31c)]['__creator']=_0x3c4728);},'_doProcessBlock':function(_0x442afb,_0x24bd19){var _0x2c356a=_0x2cb3cc;this['_mode'][_0x2c356a(0x188)](_0x442afb,_0x24bd19);},'_doFinalize':function(){var _0x113f1e=_0x2cb3cc,_0x1168b9,_0x27ff9c=this[_0x113f1e(0x38a)][_0x113f1e(0x3a8)];return this[_0x113f1e(0x3aa)]==this[_0x113f1e(0x29c)]?(_0x27ff9c[_0x113f1e(0x350)](this[_0x113f1e(0x235)],this[_0x113f1e(0x45e)]),_0x1168b9=this[_0x113f1e(0x429)](!0x0)):(_0x1168b9=this[_0x113f1e(0x429)](!0x0),_0x27ff9c['unpad'](_0x1168b9)),_0x1168b9;},'blockSize':0x80/0x20});var _0x317609=_0x90106d['CipherParams']=_0x778671['extend']({'init':function(_0x23751f){var _0x3c2a05=_0x2cb3cc;this[_0x3c2a05(0x28a)](_0x23751f);},'toString':function(_0x3e1375){var _0x222255=_0x2cb3cc;return(_0x3e1375||this[_0x222255(0x403)])[_0x222255(0x17a)](this);}}),_0x4b9fa8=_0x59e1b7[_0x2cb3cc(0x1a4)]={},_0x249b45=_0x4b9fa8[_0x2cb3cc(0x467)]={'stringify':function(_0x2c928d){var _0x57ec2b=_0x2cb3cc,_0x35bda2,_0x481aa8=_0x2c928d[_0x57ec2b(0x253)],_0x28a99a=_0x2c928d['salt'];return _0x28a99a?_0x35bda2=_0x1cd03a[_0x57ec2b(0x268)]([0x53616c74,0x65645f5f])[_0x57ec2b(0x236)](_0x28a99a)[_0x57ec2b(0x236)](_0x481aa8):_0x35bda2=_0x481aa8,_0x35bda2['toString'](_0x4ed434);},'parse':function(_0x32447e){var _0x260223=_0x2cb3cc,_0x1a8932,_0x368e3d=_0x4ed434[_0x260223(0x3d4)](_0x32447e),_0x191af3=_0x368e3d[_0x260223(0x2dc)];return _0x191af3[0x0]==0x53616c74&&_0x191af3[0x1]==0x65645f5f&&(_0x1a8932=_0x1cd03a[_0x260223(0x268)](_0x191af3[_0x260223(0x3d0)](0x2,0x4)),_0x191af3[_0x260223(0x425)](0x0,0x4),_0x368e3d[_0x260223(0x264)]-=0x10),_0x317609[_0x260223(0x268)]({'ciphertext':_0x368e3d,'salt':_0x1a8932});}},_0x1ff13b=_0x90106d[_0x2cb3cc(0x3e0)]=_0x778671[_0x2cb3cc(0x262)]({'cfg':_0x778671['extend']({'format':_0x249b45}),'encrypt':function(_0x140044,_0x2ef457,_0x390ad2,_0x2d2992){var _0x443075=_0x2cb3cc;_0x2d2992=this[_0x443075(0x38a)][_0x443075(0x262)](_0x2d2992);var _0x516685=_0x140044[_0x443075(0x369)](_0x390ad2,_0x2d2992),_0x213d7d=_0x516685[_0x443075(0x22e)](_0x2ef457),_0x28a6a6=_0x516685[_0x443075(0x38a)];return _0x317609[_0x443075(0x268)]({'ciphertext':_0x213d7d,'key':_0x390ad2,'iv':_0x28a6a6['iv'],'algorithm':_0x140044,'mode':_0x28a6a6[_0x443075(0x419)],'padding':_0x28a6a6[_0x443075(0x3a8)],'blockSize':_0x140044['blockSize'],'formatter':_0x2d2992['format']});},'decrypt':function(_0x3ba6ac,_0x1fc635,_0x40b749,_0x570465){var _0x4691b9=_0x2cb3cc;_0x570465=this[_0x4691b9(0x38a)][_0x4691b9(0x262)](_0x570465),_0x1fc635=this[_0x4691b9(0x3c1)](_0x1fc635,_0x570465['format']);var _0xc3f583=_0x3ba6ac['createDecryptor'](_0x40b749,_0x570465)['finalize'](_0x1fc635['ciphertext']);return _0xc3f583;},'_parse':function(_0x1dea22,_0x16da75){var _0x9147f4=_0x2cb3cc;return typeof _0x1dea22=='string'?_0x16da75[_0x9147f4(0x3d4)](_0x1dea22,this):_0x1dea22;}}),_0x19b4da=_0x59e1b7[_0x2cb3cc(0x289)]={},_0x27c787=_0x19b4da[_0x2cb3cc(0x467)]={'execute':function(_0x5e3840,_0x125304,_0x113a11,_0x196184,_0x4cc903){var _0x527b6b=_0x2cb3cc;if(_0x196184||(_0x196184=_0x1cd03a[_0x527b6b(0x366)](0x40/0x8)),_0x4cc903)var _0x5986e2=_0x4e158['create']({'keySize':_0x125304+_0x113a11,'hasher':_0x4cc903})[_0x527b6b(0x413)](_0x5e3840,_0x196184);else var _0x5986e2=_0x4e158[_0x527b6b(0x268)]({'keySize':_0x125304+_0x113a11})[_0x527b6b(0x413)](_0x5e3840,_0x196184);var _0x243f7e=_0x1cd03a[_0x527b6b(0x268)](_0x5986e2[_0x527b6b(0x2dc)][_0x527b6b(0x3d0)](_0x125304),_0x113a11*0x4);return _0x5986e2[_0x527b6b(0x264)]=_0x125304*0x4,_0x317609[_0x527b6b(0x268)]({'key':_0x5986e2,'iv':_0x243f7e,'salt':_0x196184});}},_0x1cc4ce=_0x90106d[_0x2cb3cc(0x44d)]=_0x1ff13b['extend']({'cfg':_0x1ff13b[_0x2cb3cc(0x38a)]['extend']({'kdf':_0x27c787}),'encrypt':function(_0x375db4,_0x517bf2,_0x46f5b0,_0x4654d2){var _0x2eb0c0=_0x2cb3cc;_0x4654d2=this[_0x2eb0c0(0x38a)][_0x2eb0c0(0x262)](_0x4654d2);var _0x353a57=_0x4654d2['kdf']['execute'](_0x46f5b0,_0x375db4['keySize'],_0x375db4['ivSize'],_0x4654d2[_0x2eb0c0(0x29f)],_0x4654d2['hasher']);_0x4654d2['iv']=_0x353a57['iv'];var _0x4fc7dc=_0x1ff13b[_0x2eb0c0(0x448)][_0x2eb0c0(0x341)](this,_0x375db4,_0x517bf2,_0x353a57[_0x2eb0c0(0x165)],_0x4654d2);return _0x4fc7dc[_0x2eb0c0(0x28a)](_0x353a57),_0x4fc7dc;},'decrypt':function(_0x22abe1,_0x2a9a72,_0x51e552,_0x559d59){var _0x504d09=_0x2cb3cc;_0x559d59=this[_0x504d09(0x38a)]['extend'](_0x559d59),_0x2a9a72=this['_parse'](_0x2a9a72,_0x559d59['format']);var _0x14c962=_0x559d59[_0x504d09(0x289)][_0x504d09(0x316)](_0x51e552,_0x22abe1[_0x504d09(0x44a)],_0x22abe1[_0x504d09(0x1b9)],_0x2a9a72[_0x504d09(0x29f)],_0x559d59['hasher']);_0x559d59['iv']=_0x14c962['iv'];var _0x400817=_0x1ff13b[_0x504d09(0x35c)][_0x504d09(0x341)](this,_0x22abe1,_0x2a9a72,_0x14c962['key'],_0x559d59);return _0x400817;}});}();}));}(Je)),Je['exports'];}var En=Ve['exports'],ei;function mn(){var _0x305043=_0x2a1005;return ei||(ei=0x1,function(_0x5a5cc2,_0x3493bb){(function(_0x35e43c,_0x1b9650,_0x202935){_0x5a5cc2['exports']=_0x1b9650(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x15d051){var _0x305687=_0x44d6;return(function(){var _0xd6daab=_0x44d6,_0xc81428=_0x15d051,_0x329907=_0xc81428[_0xd6daab(0x231)],_0x5c0f2f=_0x329907[_0xd6daab(0x2d5)],_0x412ed5=_0xc81428['algo'],_0x1952ee=[],_0x2cd07c=[],_0x364036=[],_0x11dacf=[],_0x37a2ed=[],_0x4831c8=[],_0x485797=[],_0x5613f2=[],_0x206e85=[],_0x3467d1=[];(function(){for(var _0x10492a=[],_0x44d0be=0x0;_0x44d0be<0x100;_0x44d0be++)_0x44d0be<0x80?_0x10492a[_0x44d0be]=_0x44d0be<<0x1:_0x10492a[_0x44d0be]=_0x44d0be<<0x1^0x11b;for(var _0x3333c1=0x0,_0x26eead=0x0,_0x44d0be=0x0;_0x44d0be<0x100;_0x44d0be++){var _0x1a2ccb=_0x26eead^_0x26eead<<0x1^_0x26eead<<0x2^_0x26eead<<0x3^_0x26eead<<0x4;_0x1a2ccb=_0x1a2ccb>>>0x8^_0x1a2ccb&0xff^0x63,_0x1952ee[_0x3333c1]=_0x1a2ccb,_0x2cd07c[_0x1a2ccb]=_0x3333c1;var _0x16ffb9=_0x10492a[_0x3333c1],_0x566fb2=_0x10492a[_0x16ffb9],_0x548ad7=_0x10492a[_0x566fb2],_0x14d8be=_0x10492a[_0x1a2ccb]*0x101^_0x1a2ccb*0x1010100;_0x364036[_0x3333c1]=_0x14d8be<<0x18|_0x14d8be>>>0x8,_0x11dacf[_0x3333c1]=_0x14d8be<<0x10|_0x14d8be>>>0x10,_0x37a2ed[_0x3333c1]=_0x14d8be<<0x8|_0x14d8be>>>0x18,_0x4831c8[_0x3333c1]=_0x14d8be;var _0x14d8be=_0x548ad7*0x1010101^_0x566fb2*0x10001^_0x16ffb9*0x101^_0x3333c1*0x1010100;_0x485797[_0x1a2ccb]=_0x14d8be<<0x18|_0x14d8be>>>0x8,_0x5613f2[_0x1a2ccb]=_0x14d8be<<0x10|_0x14d8be>>>0x10,_0x206e85[_0x1a2ccb]=_0x14d8be<<0x8|_0x14d8be>>>0x18,_0x3467d1[_0x1a2ccb]=_0x14d8be,_0x3333c1?(_0x3333c1=_0x16ffb9^_0x10492a[_0x10492a[_0x10492a[_0x548ad7^_0x16ffb9]]],_0x26eead^=_0x10492a[_0x10492a[_0x26eead]]):_0x3333c1=_0x26eead=0x1;}}());var _0x17c3c4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x241c15=_0x412ed5[_0xd6daab(0x346)]=_0x5c0f2f[_0xd6daab(0x262)]({'_doReset':function(){var _0x276fe3=_0xd6daab,_0x5715d6;if(!(this[_0x276fe3(0x343)]&&this['_keyPriorReset']===this['_key'])){for(var _0x4f99b1=this[_0x276fe3(0x471)]=this['_key'],_0x1c17c2=_0x4f99b1[_0x276fe3(0x2dc)],_0x336a7f=_0x4f99b1[_0x276fe3(0x264)]/0x4,_0xed8435=this['_nRounds']=_0x336a7f+0x6,_0x5d3e14=(_0xed8435+0x1)*0x4,_0x50b789=this[_0x276fe3(0x449)]=[],_0x50118b=0x0;_0x50118b<_0x5d3e14;_0x50118b++)_0x50118b<_0x336a7f?_0x50b789[_0x50118b]=_0x1c17c2[_0x50118b]:(_0x5715d6=_0x50b789[_0x50118b-0x1],_0x50118b%_0x336a7f?_0x336a7f>0x6&&_0x50118b%_0x336a7f==0x4&&(_0x5715d6=_0x1952ee[_0x5715d6>>>0x18]<<0x18|_0x1952ee[_0x5715d6>>>0x10&0xff]<<0x10|_0x1952ee[_0x5715d6>>>0x8&0xff]<<0x8|_0x1952ee[_0x5715d6&0xff]):(_0x5715d6=_0x5715d6<<0x8|_0x5715d6>>>0x18,_0x5715d6=_0x1952ee[_0x5715d6>>>0x18]<<0x18|_0x1952ee[_0x5715d6>>>0x10&0xff]<<0x10|_0x1952ee[_0x5715d6>>>0x8&0xff]<<0x8|_0x1952ee[_0x5715d6&0xff],_0x5715d6^=_0x17c3c4[_0x50118b/_0x336a7f|0x0]<<0x18),_0x50b789[_0x50118b]=_0x50b789[_0x50118b-_0x336a7f]^_0x5715d6);for(var _0x45d6d7=this[_0x276fe3(0x2f7)]=[],_0x4026d1=0x0;_0x4026d1<_0x5d3e14;_0x4026d1++){var _0x50118b=_0x5d3e14-_0x4026d1;if(_0x4026d1%0x4)var _0x5715d6=_0x50b789[_0x50118b];else var _0x5715d6=_0x50b789[_0x50118b-0x4];_0x4026d1<0x4||_0x50118b<=0x4?_0x45d6d7[_0x4026d1]=_0x5715d6:_0x45d6d7[_0x4026d1]=_0x485797[_0x1952ee[_0x5715d6>>>0x18]]^_0x5613f2[_0x1952ee[_0x5715d6>>>0x10&0xff]]^_0x206e85[_0x1952ee[_0x5715d6>>>0x8&0xff]]^_0x3467d1[_0x1952ee[_0x5715d6&0xff]];}}},'encryptBlock':function(_0x563b81,_0x138497){var _0x348c4e=_0xd6daab;this[_0x348c4e(0x24e)](_0x563b81,_0x138497,this[_0x348c4e(0x449)],_0x364036,_0x11dacf,_0x37a2ed,_0x4831c8,_0x1952ee);},'decryptBlock':function(_0xc97eec,_0x5d596a){var _0x5299a9=_0xd6daab,_0x56f454=_0xc97eec[_0x5d596a+0x1];_0xc97eec[_0x5d596a+0x1]=_0xc97eec[_0x5d596a+0x3],_0xc97eec[_0x5d596a+0x3]=_0x56f454,this['_doCryptBlock'](_0xc97eec,_0x5d596a,this[_0x5299a9(0x2f7)],_0x485797,_0x5613f2,_0x206e85,_0x3467d1,_0x2cd07c);var _0x56f454=_0xc97eec[_0x5d596a+0x1];_0xc97eec[_0x5d596a+0x1]=_0xc97eec[_0x5d596a+0x3],_0xc97eec[_0x5d596a+0x3]=_0x56f454;},'_doCryptBlock':function(_0x562fe4,_0x58e313,_0x30ea2a,_0x238d84,_0x12d125,_0x1721b4,_0x58a33d,_0x46389a){var _0x174c25=_0xd6daab;for(var _0x158fbe=this[_0x174c25(0x343)],_0x431ac4=_0x562fe4[_0x58e313]^_0x30ea2a[0x0],_0x5ca08d=_0x562fe4[_0x58e313+0x1]^_0x30ea2a[0x1],_0x3eb97c=_0x562fe4[_0x58e313+0x2]^_0x30ea2a[0x2],_0x5ea750=_0x562fe4[_0x58e313+0x3]^_0x30ea2a[0x3],_0x4fe121=0x4,_0x8db663=0x1;_0x8db663<_0x158fbe;_0x8db663++){var _0x1c01a1=_0x238d84[_0x431ac4>>>0x18]^_0x12d125[_0x5ca08d>>>0x10&0xff]^_0x1721b4[_0x3eb97c>>>0x8&0xff]^_0x58a33d[_0x5ea750&0xff]^_0x30ea2a[_0x4fe121++],_0x41ebd7=_0x238d84[_0x5ca08d>>>0x18]^_0x12d125[_0x3eb97c>>>0x10&0xff]^_0x1721b4[_0x5ea750>>>0x8&0xff]^_0x58a33d[_0x431ac4&0xff]^_0x30ea2a[_0x4fe121++],_0x5deb8e=_0x238d84[_0x3eb97c>>>0x18]^_0x12d125[_0x5ea750>>>0x10&0xff]^_0x1721b4[_0x431ac4>>>0x8&0xff]^_0x58a33d[_0x5ca08d&0xff]^_0x30ea2a[_0x4fe121++],_0x55c028=_0x238d84[_0x5ea750>>>0x18]^_0x12d125[_0x431ac4>>>0x10&0xff]^_0x1721b4[_0x5ca08d>>>0x8&0xff]^_0x58a33d[_0x3eb97c&0xff]^_0x30ea2a[_0x4fe121++];_0x431ac4=_0x1c01a1,_0x5ca08d=_0x41ebd7,_0x3eb97c=_0x5deb8e,_0x5ea750=_0x55c028;}var _0x1c01a1=(_0x46389a[_0x431ac4>>>0x18]<<0x18|_0x46389a[_0x5ca08d>>>0x10&0xff]<<0x10|_0x46389a[_0x3eb97c>>>0x8&0xff]<<0x8|_0x46389a[_0x5ea750&0xff])^_0x30ea2a[_0x4fe121++],_0x41ebd7=(_0x46389a[_0x5ca08d>>>0x18]<<0x18|_0x46389a[_0x3eb97c>>>0x10&0xff]<<0x10|_0x46389a[_0x5ea750>>>0x8&0xff]<<0x8|_0x46389a[_0x431ac4&0xff])^_0x30ea2a[_0x4fe121++],_0x5deb8e=(_0x46389a[_0x3eb97c>>>0x18]<<0x18|_0x46389a[_0x5ea750>>>0x10&0xff]<<0x10|_0x46389a[_0x431ac4>>>0x8&0xff]<<0x8|_0x46389a[_0x5ca08d&0xff])^_0x30ea2a[_0x4fe121++],_0x55c028=(_0x46389a[_0x5ea750>>>0x18]<<0x18|_0x46389a[_0x431ac4>>>0x10&0xff]<<0x10|_0x46389a[_0x5ca08d>>>0x8&0xff]<<0x8|_0x46389a[_0x3eb97c&0xff])^_0x30ea2a[_0x4fe121++];_0x562fe4[_0x58e313]=_0x1c01a1,_0x562fe4[_0x58e313+0x1]=_0x41ebd7,_0x562fe4[_0x58e313+0x2]=_0x5deb8e,_0x562fe4[_0x58e313+0x3]=_0x55c028;},'keySize':0x100/0x20});_0xc81428[_0xd6daab(0x346)]=_0x5c0f2f[_0xd6daab(0x3fa)](_0x241c15);}()),_0x15d051[_0x305687(0x346)];}));}(Ve)),Ve[_0x305043(0x372)];}var In=mn();const Sn=ke(In);var gn=Ri();const ti=ke(gn);var Xe={'exports':{}},Tn=Xe[_0x2a1005(0x372)],ii;function On(){var _0x29a465=_0x2a1005;return ii||(ii=0x1,function(_0x4d3739,_0x551308){(function(_0x4aeeef,_0x36dd41){var _0x1c4fdf=_0x44d6;_0x4d3739[_0x1c4fdf(0x372)]=_0x36dd41(ie());}(Tn,function(_0x4a8312){var _0x147339=_0x44d6;return _0x4a8312[_0x147339(0x297)][_0x147339(0x3de)];}));}(Xe)),Xe[_0x29a465(0x372)];}var Rn=On();const Cn=ke(Rn);var Ze={'exports':{}},Nn=Ze[_0x2a1005(0x372)],si;function bn(){var _0x5b1349=_0x2a1005;return si||(si=0x1,function(_0x12b394,_0x523f3e){(function(_0x3851c8,_0x358fcb){var _0x32051e=_0x44d6;_0x12b394[_0x32051e(0x372)]=_0x358fcb(ie());}(Nn,function(_0x1a81c9){var _0x2d50fe=_0x44d6;return(function(){var _0x258e3b=_0x44d6;if(typeof ArrayBuffer=='function'){var _0x549f0f=_0x1a81c9,_0x4d9bec=_0x549f0f[_0x258e3b(0x231)],_0x5b1c86=_0x4d9bec['WordArray'],_0x251c37=_0x5b1c86[_0x258e3b(0x15e)],_0x46adcd=_0x5b1c86[_0x258e3b(0x15e)]=function(_0x3e6883){var _0x307860=_0x258e3b;if(_0x3e6883 instanceof ArrayBuffer&&(_0x3e6883=new Uint8Array(_0x3e6883)),(_0x3e6883 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e6883 instanceof Uint8ClampedArray||_0x3e6883 instanceof Int16Array||_0x3e6883 instanceof Uint16Array||_0x3e6883 instanceof Int32Array||_0x3e6883 instanceof Uint32Array||_0x3e6883 instanceof Float32Array||_0x3e6883 instanceof Float64Array)&&(_0x3e6883=new Uint8Array(_0x3e6883['buffer'],_0x3e6883[_0x307860(0x18e)],_0x3e6883[_0x307860(0x22d)])),_0x3e6883 instanceof Uint8Array){for(var _0x28d40e=_0x3e6883['byteLength'],_0x481e11=[],_0x42dbb8=0x0;_0x42dbb8<_0x28d40e;_0x42dbb8++)_0x481e11[_0x42dbb8>>>0x2]|=_0x3e6883[_0x42dbb8]<<0x18-_0x42dbb8%0x4*0x8;_0x251c37[_0x307860(0x341)](this,_0x481e11,_0x28d40e);}else _0x251c37[_0x307860(0x3b2)](this,arguments);};_0x46adcd[_0x258e3b(0x30f)]=_0x5b1c86;}}()),_0x1a81c9[_0x2d50fe(0x231)][_0x2d50fe(0x42f)];}));}(Ze)),Ze[_0x5b1349(0x372)];}var Dn=bn();const yn=ke(Dn);var Qe={'exports':{}},Un=Qe[_0x2a1005(0x372)],ni;function An(){return ni||(ni=0x1,function(_0x2321be,_0x52b4ee){(function(_0x2e501a,_0x421780,_0x2ad383){_0x2321be['exports']=_0x421780(ie(),Ni());}(Un,function(_0x3f986f){var _0x181cb1=_0x44d6;return _0x3f986f[_0x181cb1(0x350)][_0x181cb1(0x317)]={'pad':function(){},'unpad':function(){}},_0x3f986f[_0x181cb1(0x350)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=An();const wn=ke(Pn);function Mn(_0x5c0f14,_0x4fcce0){var _0x24501e=_0x2a1005;const _0x45d18b=_0x4fcce0-_0x5c0f14['length']%_0x4fcce0,_0x5b275f=String['fromCharCode'](_0x45d18b)[_0x24501e(0x1d4)](_0x45d18b);return _0x5c0f14+_0x5b275f;}function Ln(_0x3cfdaf,_0x2cac8d){var _0x49c8f2=_0x2a1005;const _0x1532c0=yn[_0x49c8f2(0x366)](0x10),_0x218475=Mn(_0x3cfdaf,0x10),_0x2b8b0c=Sn[_0x49c8f2(0x448)](Cn['parse'](_0x218475),ti[_0x49c8f2(0x3d4)](_0x2cac8d),{'iv':_0x1532c0,'padding':wn});return _0x1532c0['concat'](_0x2b8b0c[_0x49c8f2(0x253)])[_0x49c8f2(0x3d3)](ti);}function xn(){var _0x5d012f=_0x2a1005;const _0x1c9259=_0x257f7b()['__Key__'];if(_0x1c9259){const _0x19373d={'time':Math['floor'](Date[_0x5d012f(0x387)]()/0x3e8),'domain':location[_0x5d012f(0x2d8)]};return Ln(JSON[_0x5d012f(0x17a)](_0x19373d),_0x1c9259);}}var $n=Object[_0x2a1005(0x163)],kn=(_0x2af161,_0x4b6877,_0x3adb2c,_0x55a77a)=>{var _0x211bf9=_0x2a1005;for(var _0x15fb23=_0x55a77a>0x1?void 0x0:_0x55a77a?$n(_0x4b6877,_0x3adb2c):_0x4b6877,_0x43d31a=_0x2af161[_0x211bf9(0x2c6)]-0x1,_0xe5d5a6;_0x43d31a>=0x0;_0x43d31a--)(_0xe5d5a6=_0x2af161[_0x43d31a])&&(_0x15fb23=_0xe5d5a6(_0x15fb23)||_0x15fb23);return _0x15fb23;},Hn=(_0x3d5ac2,_0x19aaff)=>(_0xadbb1d,_0x248860)=>_0x19aaff(_0xadbb1d,_0x248860,_0x3d5ac2);let at=class{constructor(_0x3e1f88){var _0x2bd387=_0x2a1005;this[_0x2bd387(0x326)]=_0x3e1f88,this[_0x2bd387(0x31f)]();}[_0x2a1005(0x31f)](){var _0x5e6a24=_0x2a1005;this[_0x5e6a24(0x326)]['registerHTTPInterceptor']({'interceptor':(_0x3e715e,_0x6f7132)=>{var _0x21bb62=_0x5e6a24;const _0x67e48b=_0x3e715e[_0x21bb62(0x2b7)],_0xe882db=xn();return _0xe882db&&_0x67e48b[_0x21bb62(0x2f9)](_0x21bb62(0x249),_0xe882db),_0x6f7132(_0x3e715e);}});}};at=kn([Hn(0x0,_0x941461(_0x2ff5b1))],at);var Bn=Object[_0x2a1005(0x163)],Fn=(_0x328255,_0x1977e1,_0x8c6bd5,_0x2e8a98)=>{var _0x4b5dee=_0x2a1005;for(var _0x5b1ccd=_0x2e8a98>0x1?void 0x0:_0x2e8a98?Bn(_0x1977e1,_0x8c6bd5):_0x1977e1,_0x54f2fc=_0x328255[_0x4b5dee(0x2c6)]-0x1,_0x5687c1;_0x54f2fc>=0x0;_0x54f2fc--)(_0x5687c1=_0x328255[_0x54f2fc])&&(_0x5b1ccd=_0x5687c1(_0x5b1ccd)||_0x5b1ccd);return _0x5b1ccd;},vt=(_0x4e4918,_0x25d27d)=>(_0x289036,_0x4a0cb4)=>_0x25d27d(_0x289036,_0x4a0cb4,_0x4e4918);let Ot=class extends _0x23e95c{constructor(_0xe45b0,_0x3b94b2,_0x32f687){var _0x4352b2=_0x2a1005;super(),D(this,'_unitInfo$',new _0x23d601(null)),D(this,_0x4352b2(0x20d),this['_unitInfo$'][_0x4352b2(0x195)]()),(this[_0x4352b2(0x32a)]=_0xe45b0,this[_0x4352b2(0x1a3)]=_0x3b94b2,this[_0x4352b2(0x445)]=_0x32f687);}async[_0x2a1005(0x2fb)](_0x32531c,_0x58f480,_0x4695cd){var _0x5ac3f7=_0x2a1005;this['_unitInfo$'][_0x5ac3f7(0x1cf)]({'unitId':_0x32531c,'type':_0x58f480});let _0x3930db=null;switch(_0x58f480){case Q[_0x5ac3f7(0x228)]:{_0x3930db=await this[_0x5ac3f7(0x1a3)][_0x5ac3f7(0x180)](_0x32531c,_0x4695cd);break;}case Q[_0x5ac3f7(0x17b)]:{_0x3930db=await this[_0x5ac3f7(0x1a3)][_0x5ac3f7(0x322)](_0x32531c,_0x4695cd);break;}default:{this['_logService'][_0x5ac3f7(0x38d)](_0x5ac3f7(0x28e),_0x5ac3f7(0x388));break;}}return _0x3930db;}async[_0x2a1005(0x2bc)](_0xc2c5ee,_0x52277c,_0x38ac0a){var _0x426574=_0x2a1005,_0x4018ad;this[_0x426574(0x1df)]['next']({'unitId':_0xc2c5ee,'type':_0x52277c,'subUnitId':_0x38ac0a});let _0x5c2003=0x0;const _0x1460c0=await((_0x4018ad=this[_0x426574(0x445)])==null?void 0x0:_0x4018ad[_0x426574(0x42b)](_0xc2c5ee));return _0x1460c0&&(_0x1460c0[_0x426574(0x240)]||_0x1460c0[_0x426574(0x474)]['length']!==0x0)&&(_0x5c2003=_0x1460c0['rev']),_0x5c2003===0x0&&this['_logService'][_0x426574(0x261)](_0x426574(0x28e),_0x426574(0x45a)),this[_0x426574(0x2fb)](_0xc2c5ee,_0x52277c,_0x5c2003);}};Ot=Fn([vt(0x0,_0x59ee6a),vt(0x1,_0x941461(_0x5e41dd)),vt(0x2,_0x475d23(J))],Ot);var jn=Object['getOwnPropertyDescriptor'],Vn=(_0x3c7074,_0x5ab51f,_0x3c7eca,_0x5e309b)=>{var _0x1b87ed=_0x2a1005;for(var _0x44c6ad=_0x5e309b>0x1?void 0x0:_0x5e309b?jn(_0x5ab51f,_0x3c7eca):_0x5ab51f,_0x5a4c7c=_0x3c7074[_0x1b87ed(0x2c6)]-0x1,_0x26a0e0;_0x5a4c7c>=0x0;_0x5a4c7c--)(_0x26a0e0=_0x3c7074[_0x5a4c7c])&&(_0x44c6ad=_0x26a0e0(_0x44c6ad)||_0x44c6ad);return _0x44c6ad;},pt=(_0x1f2101,_0x4d5b8b)=>(_0x10351c,_0x56e197)=>_0x4d5b8b(_0x10351c,_0x56e197,_0x1f2101);const Gn=[_0x2a1005(0x340),'image/jpeg',_0x2a1005(0x244),_0x2a1005(0x461),_0x2a1005(0x405)],Wn=0x5*0x400*0x400,Yn=_0x2a1005(0x354),Kn=_0x2a1005(0x2b1);let Rt=class{constructor(_0x5ad112,_0x12e31e,_0x405863){var _0x38cd5b=_0x2a1005;D(this,_0x38cd5b(0x3e5),0x0),D(this,'_change$',new _0x3cfa67()),D(this,_0x38cd5b(0x27d),this[_0x38cd5b(0x33b)]),D(this,_0x38cd5b(0x2c7),new Map()),(this['_httpService']=_0x5ad112,this[_0x38cd5b(0x206)]=_0x12e31e,this[_0x38cd5b(0x373)]=_0x405863);}[_0x2a1005(0x273)](_0x12d7f7){var _0x27162d=_0x2a1005;this[_0x27162d(0x3e5)]=_0x12d7f7,this[_0x27162d(0x33b)][_0x27162d(0x1cf)](_0x12d7f7);}[_0x2a1005(0x2b3)](_0x4ebadb,_0x50fa48){var _0x518d41=_0x2a1005;if(_0x50fa48===_0x172a75[_0x518d41(0x410)]){const _0x4459ea=new Image();return _0x4459ea['src']=_0x4ebadb,_0x4459ea;}return this['_imageSourceCache']['get'](_0x4ebadb);}[_0x2a1005(0x200)](_0x174367,_0x36eade,_0x5f5deb){var _0x28d028=_0x2a1005;_0x36eade===_0x172a75[_0x28d028(0x410)]||_0x5f5deb==null||this[_0x28d028(0x2c7)][_0x28d028(0x2f9)](_0x174367,_0x5f5deb);}async['getImage'](_0x48b922){var _0x46d2dd=_0x2a1005;try{const _0x150cc4=this[_0x46d2dd(0x3d1)](this[_0x46d2dd(0x35a)](),''+_0x48b922),_0x37ea4f=(await this[_0x46d2dd(0x326)][_0x46d2dd(0x20f)](_0x150cc4))['body'];if(_0x37ea4f[_0x46d2dd(0x38d)]&&_0x37ea4f[_0x46d2dd(0x38d)]['code']===vi['OK']){const _0x5671f1=new URL(_0x37ea4f['url'],this[_0x46d2dd(0x300)]())[_0x46d2dd(0x3d3)]();return Promise[_0x46d2dd(0x395)](_0x5671f1);}return Promise[_0x46d2dd(0x33f)](_0x37ea4f['error']);}catch(_0x5703f1){return Promise['reject'](_0x5703f1);}}async[_0x2a1005(0x3ca)](_0x4c46a7){var _0x13ccbd=_0x2a1005;let _0x2fde17='';if(!Gn[_0x13ccbd(0x39c)](_0x4c46a7[_0x13ccbd(0x1f1)]))return this[_0x13ccbd(0x265)](),Promise[_0x13ccbd(0x33f)](new Error(_0x3d9f1[_0x13ccbd(0x33a)]));if(_0x4c46a7[_0x13ccbd(0x422)]>Wn)return this[_0x13ccbd(0x265)](),Promise[_0x13ccbd(0x33f)](new Error(_0x3d9f1['ERROR_EXCEED_SIZE']));try{const _0xada112=new FormData();_0xada112[_0x13ccbd(0x3c6)]('file',_0x4c46a7);const _0x2ea704=this['_univerInstanceService'][_0x13ccbd(0x319)](),_0x542f2b=_0x2ea704==null?void 0x0:_0x2ea704['getUnitId']();if(!_0x542f2b)throw new Error('unitId\x20is\x20not\x20found');const _0x279671=this[_0x13ccbd(0x416)]()+'?size='+_0x4c46a7['size'][_0x13ccbd(0x3d3)]()+_0x13ccbd(0x197)+pi[_0x13ccbd(0x27f)]+'&assign='+encodeURIComponent(_0x542f2b),_0x5ce371={'body':_0xada112},_0x1e36a6=(await this[_0x13ccbd(0x326)]['post'](_0x279671,_0x5ce371))[_0x13ccbd(0x2e3)];if(typeof _0x1e36a6[_0x13ccbd(0x18b)]!=_0x13ccbd(0x356))return this[_0x13ccbd(0x265)](),Promise[_0x13ccbd(0x33f)](new Error(_0x3d9f1[_0x13ccbd(0x226)]));_0x2fde17=_0x1e36a6['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x13ccbd(0x33f)](new Error(_0x3d9f1['ERROR_IMAGE']));}return new Promise((_0x493cf2,_0x7cab0e)=>{var _0x181999=_0x13ccbd;const _0x15e33d=new FileReader();_0x15e33d[_0x181999(0x290)](_0x4c46a7),_0x15e33d[_0x181999(0x1f3)]=_0x416831=>{var _0x178450=_0x181999,_0x11a5f;const _0x4f8abe=(_0x11a5f=_0x416831[_0x178450(0x198)])==null?void 0x0:_0x11a5f[_0x178450(0x2f1)];if(_0x4f8abe==null){this[_0x178450(0x265)](),_0x7cab0e(new Error(_0x3d9f1[_0x178450(0x226)]));return;}const _0x39ebf9=_0x4421e1(0x6);_0x493cf2({'imageId':_0x39ebf9,'imageSourceType':_0x172a75['UUID'],'source':_0x2fde17,'base64Cache':_0x4f8abe,'status':_0x3d9f1[_0x178450(0x229)]}),this[_0x178450(0x265)]();};});}[_0x2a1005(0x416)](){var _0x12e1ae=_0x2a1005,_0x428c25;const _0xc7e7a7=this['_configService'][_0x12e1ae(0x250)](K);return(_0x428c25=_0xc7e7a7==null?void 0x0:_0xc7e7a7[_0x12e1ae(0x451)])!=null?_0x428c25:Yn;}[_0x2a1005(0x35a)](){var _0x50a277=_0x2a1005,_0x18adbf;const _0x15e97f=this[_0x50a277(0x206)][_0x50a277(0x250)](K);return(_0x18adbf=_0x15e97f==null?void 0x0:_0x15e97f['signUrlServerUrl'])!=null?_0x18adbf:Kn;}[_0x2a1005(0x300)](){var _0x266ccf=_0x2a1005,_0xfdfe5c;const _0x284412=this[_0x266ccf(0x206)]['getConfig'](K);return(_0xfdfe5c=_0x284412==null?void 0x0:_0x284412['downloadEndpointUrl'])!=null?_0xfdfe5c:location[_0x266ccf(0x2f5)];}[_0x2a1005(0x3d1)](_0x4ff01f,_0x5ce73d){var _0x43b834=_0x2a1005;return _0x4ff01f['replace'](_0x43b834(0x376),_0x5ce73d);}[_0x2a1005(0x265)](){var _0x3cb34a=_0x2a1005;this[_0x3cb34a(0x3e5)]-=0x1,this[_0x3cb34a(0x33b)]['next'](this['_waitCount']);}};Rt=Vn([pt(0x0,_0x941461(_0x2ff5b1)),pt(0x1,_0xf25e91),pt(0x2,_0x941461(_0x226b33))],Rt);var qn=Object[_0x2a1005(0x163)],zn=(_0x523b3c,_0x5f169e,_0x3fa2da,_0x1d7174)=>{var _0xf7e389=_0x2a1005;for(var _0x4a3e02=_0x1d7174>0x1?void 0x0:_0x1d7174?qn(_0x5f169e,_0x3fa2da):_0x5f169e,_0x1ef28b=_0x523b3c[_0xf7e389(0x2c6)]-0x1,_0x2ac0c9;_0x1ef28b>=0x0;_0x1ef28b--)(_0x2ac0c9=_0x523b3c[_0x1ef28b])&&(_0x4a3e02=_0x2ac0c9(_0x4a3e02)||_0x4a3e02);return _0x4a3e02;},ri=(_0x95b3ea,_0x2d223a)=>(_0x530792,_0xe0ee10)=>_0x2d223a(_0x530792,_0xe0ee10,_0x95b3ea);const Jn='/universer-api/authz';let Ct=class{constructor(_0x1af2e,_0x501b1c){var _0x1220de=_0x2a1005;this['_configService']=_0x1af2e,this[_0x1220de(0x463)]=_0x501b1c;}[_0x2a1005(0x23e)](){var _0x845e87=_0x2a1005,_0x3b2b4e;const _0x518039=this[_0x845e87(0x206)]['getConfig'](K);return(_0x3b2b4e=_0x518039==null?void 0x0:_0x518039['authzUrl'])!=null?_0x3b2b4e:Jn;}async[_0x2a1005(0x1f6)](_0x1fca98){var _0x2debd2=_0x2a1005;const _0x4cf79c=this['_getAPIPrefixPath']()+_0x2debd2(0x172);return{'list':[{'title':'People','mentions':(await this[_0x2debd2(0x463)][_0x2debd2(0x20f)](_0x4cf79c,{'params':{'objectID':_0x1fca98['unitId'],'unitID':_0x1fca98[_0x2debd2(0x1ee)]}}))[_0x2debd2(0x2e3)][_0x2debd2(0x3fe)][_0x2debd2(0x363)](_0x129ce3=>({'objectId':_0x129ce3['id'],'name':_0x129ce3[_0x2debd2(0x3ce)][_0x2debd2(0x3a9)],'metadata':{'icon':_0x129ce3['subject'][_0x2debd2(0x169)]},'label':_0x129ce3['subject'][_0x2debd2(0x3a9)],'objectType':_0x50afd5['PERSON']})),'metadata':{},'type':_0x50afd5[_0x2debd2(0x447)]}]};}};Ct=zn([ri(0x0,_0x941461(_0xf25e91)),ri(0x1,_0x941461(_0x2ff5b1))],Ct);var Xn=Object[_0x2a1005(0x163)],Zn=(_0x469653,_0xf980ff,_0x507408,_0x40809c)=>{for(var _0x1828d0=_0x40809c>0x1?void 0x0:_0x40809c?Xn(_0xf980ff,_0x507408):_0xf980ff,_0xd49d55=_0x469653['length']-0x1,_0x80db97;_0xd49d55>=0x0;_0xd49d55--)(_0x80db97=_0x469653[_0xd49d55])&&(_0x1828d0=_0x80db97(_0x1828d0)||_0x1828d0);return _0x1828d0;},Ue=(_0x39c1c9,_0x2a1905)=>(_0x442970,_0x4c8db7)=>_0x2a1905(_0x442970,_0x4c8db7,_0x39c1c9);let ot=class extends _0x23e95c{constructor(_0x893060,_0x5def05,_0x98ab,_0xcf92c0,_0x538abc){var _0x220a71=_0x2a1005;super(),this[_0x220a71(0x1d3)]=_0x893060,this[_0x220a71(0x373)]=_0x5def05,this[_0x220a71(0x2ab)]=_0x98ab,this['_collaborationSessionService']=_0xcf92c0,this['_collaborationUIEventService']=_0x538abc,this[_0x220a71(0x45b)](),this['_initCloseConn']();}[_0x2a1005(0x320)](){var _0x23b05f=_0x2a1005;const _0x57357b=async _0x827337=>{var _0x2a2f1d=_0x44d6;(await this[_0x2a2f1d(0x2a6)][_0x2a2f1d(0x426)](_0x827337))['event$'][_0x2a2f1d(0x368)](_0x47aea4(_0x1e7739=>_0x1e7739[_0x2a2f1d(0x2ff)]===_0x562005[_0x2a2f1d(0x2de)]),_0x5bab8d(this[_0x2a2f1d(0x2ee)]))[_0x2a2f1d(0x1dc)](_0x28bce4=>{var _0x384119=_0x2a2f1d;const _0x3bd9d2=_0x28bce4,{reason:_0x56d952}=_0x3bd9d2[_0x384119(0x2f0)];this[_0x384119(0x331)][_0x384119(0x212)]({'id':re[_0x384119(0x46b)],'data':_0x56d952}),this[_0x384119(0x2ab)][_0x384119(0x424)](new _0x4686f(_0x827337)['id'],!0x1),this[_0x384119(0x2a6)][_0x384119(0x38f)](_0x827337);});};_0x2073ce(this[_0x23b05f(0x373)]['getTypeOfUnitAdded$'](_0x5a5755['UNIVER_SHEET']),this[_0x23b05f(0x373)][_0x23b05f(0x2a4)](_0x5a5755[_0x23b05f(0x17b)]))[_0x23b05f(0x368)](_0x147ad4(_0x470a8a=>_0x470a8a[_0x23b05f(0x2bd)]()),_0x47aea4(_0x58827a=>!_0x29aee6(_0x58827a)),_0x5bab8d(this['dispose$']))[_0x23b05f(0x1dc)](_0x5a9cf3=>{_0x57357b(_0x5a9cf3);});}[_0x2a1005(0x45b)](){var _0x1e8977=_0x2a1005;const _0x54e1b1=async _0x4fb113=>{var _0x3c7879=_0x44d6;const _0x2dcfc0=await this[_0x3c7879(0x2a6)][_0x3c7879(0x426)](_0x4fb113),_0x2935cc=this['_injector']['get'](_0x332961);_0x2dcfc0[_0x3c7879(0x1c6)][_0x3c7879(0x368)](_0x47aea4(_0x219592=>_0x219592[_0x3c7879(0x2ff)]===_0x562005['UPDATE_PERMISSION_OBJ']),_0x5bab8d(this[_0x3c7879(0x2ee)]))['subscribe'](_0x30a3a2=>{var _0x4f07e8=_0x3c7879;const _0x4e3304=_0x30a3a2,{objectId:_0x5191f5}=_0x4e3304[_0x4f07e8(0x2f0)];_0x5191f5===_0x4fb113?_0x2935cc[_0x4f07e8(0x2af)](_0x4fb113):_0x2935cc[_0x4f07e8(0x3f2)](_0x4fb113,_0x5191f5);});};_0x2073ce(this['_univerInstanceService'][_0x1e8977(0x2a4)](_0x5a5755[_0x1e8977(0x228)]))[_0x1e8977(0x368)](_0x147ad4(_0x2f48a2=>_0x2f48a2[_0x1e8977(0x2bd)]()),_0x47aea4(_0x535c8d=>!_0x29aee6(_0x535c8d)),_0x5bab8d(this['dispose$']))[_0x1e8977(0x1dc)](_0x465b53=>{_0x54e1b1(_0x465b53);});}};ot=Zn([Ue(0x0,_0x941461(_0x197f37)),Ue(0x1,_0x226b33),Ue(0x2,_0x2e3c89),Ue(0x3,_0x941461(we)),Ue(0x4,_0x941461(ve))],ot);var Qn=Object[_0x2a1005(0x163)],er=(_0x282795,_0x48fb39,_0x41d135,_0x45da56)=>{var _0x29a42c=_0x2a1005;for(var _0x493276=_0x45da56>0x1?void 0x0:_0x45da56?Qn(_0x48fb39,_0x41d135):_0x48fb39,_0x34f0fb=_0x282795[_0x29a42c(0x2c6)]-0x1,_0x28b431;_0x34f0fb>=0x0;_0x34f0fb--)(_0x28b431=_0x282795[_0x34f0fb])&&(_0x493276=_0x28b431(_0x493276)||_0x493276);return _0x493276;},ai=(_0x382edf,_0x5db76a)=>(_0x57b9ff,_0x4f99b9)=>_0x5db76a(_0x57b9ff,_0x4f99b9,_0x382edf);let Nt=class{constructor(_0x4a13c9,_0x3b9eb1){var _0x344d4f=_0x2a1005;this[_0x344d4f(0x206)]=_0x4a13c9,this[_0x344d4f(0x326)]=_0x3b9eb1;}async[_0x2a1005(0x432)](_0x153bdc,_0x5a173a){var _0x5d639e=_0x2a1005,_0x18aabc;const {unitID:_0x3b6c27,type:_0x27b347,revision:_0x4ab087=0x0}=_0x5a173a,_0x34d91c=this[_0x5d639e(0x210)]()+'/'+_0x27b347+_0x5d639e(0x216)+_0x3b6c27+_0x5d639e(0x217)+_0x4ab087,_0x14208b=(await this[_0x5d639e(0x326)][_0x5d639e(0x20f)](_0x34d91c))[_0x5d639e(0x2e3)],_0x2abdbe=(_0x18aabc=_0x14208b[_0x5d639e(0x18c)])==null?void 0x0:_0x18aabc[_0x5d639e(0x41b)];if(_0x2abdbe){const _0x44385a=_0x2abdbe==null?void 0x0:_0x2abdbe[_0x5d639e(0x3cc)],_0x6e134d=_0xb2d770[_0x5d639e(0x1e5)](_0x3da0bd(_0x44385a));_0x2abdbe[_0x5d639e(0x3cc)]=_0x6e134d,Object['entries'](_0x2abdbe[_0x5d639e(0x32e)])[_0x5d639e(0x34a)](([,_0x858ce])=>{var _0x2738ed=_0x5d639e;const _0x5ebd81=_0x858ce[_0x2738ed(0x3cc)],_0x27fd49=_0xb2d770[_0x2738ed(0x1e5)](_0x3da0bd(_0x5ebd81));_0x858ce['originalMeta']=_0x27fd49;});}return _0x14208b;}async['getSheetBlock'](_0x4e22ba,_0x3a5d0c){var _0x56c21c=_0x2a1005;const {unitID:_0x530fdc,type:_0xdd4dbb,blockID:_0x6d96d5}=_0x3a5d0c,_0x2ca959=this[_0x56c21c(0x1ca)]()+'/'+_0xdd4dbb+'/unit/'+_0x530fdc+_0x56c21c(0x3a6)+_0x6d96d5;return(await this[_0x56c21c(0x326)]['get'](_0x2ca959))[_0x56c21c(0x2e3)];}async[_0x2a1005(0x1b5)](_0xa8ddc8,_0x5b135d){var _0x243d46=_0x2a1005;const {unitID:_0x4df992,type:_0x101bd7,blockID:_0x25f3fb}=_0x5b135d,_0x43d78e=this[_0x243d46(0x1ca)]()+_0x243d46(0x3a6)+_0x101bd7+_0x243d46(0x216)+_0x4df992+_0x243d46(0x3a6)+_0x25f3fb;return(await this[_0x243d46(0x326)][_0x243d46(0x20f)](_0x43d78e))['body'];}async[_0x2a1005(0x3d2)](_0x30dcb7,_0x54fe6b){var _0x32520e=_0x2a1005;const {unitID:_0x5a2cf7,type:_0x38c039,from:_0x4e6bf7,to:_0x2c8f35}=_0x54fe6b,_0x43c789=this[_0x32520e(0x1ca)]()+'/'+_0x38c039+_0x32520e(0x216)+_0x5a2cf7+_0x32520e(0x1d7)+_0x4e6bf7+_0x32520e(0x44e)+_0x2c8f35;return(await this['_httpService'][_0x32520e(0x20f)](_0x43c789))[_0x32520e(0x2e3)];}[_0x2a1005(0x210)](){var _0x559d4d=_0x2a1005,_0x265836;return(_0x265836=this[_0x559d4d(0x206)][_0x559d4d(0x250)](vs))!=null?_0x265836:this['_getAPIPrefix']();}[_0x2a1005(0x1ca)](){var _0x4d648d=_0x2a1005,_0xac5cda;const _0x451a29=this[_0x4d648d(0x206)][_0x4d648d(0x250)](K);return(_0xac5cda=_0x451a29==null?void 0x0:_0x451a29[_0x4d648d(0x307)])!=null?_0xac5cda:fs;}async['getResourcesRequest'](_0x5cea98,_0x569433){var _0x23e96=_0x2a1005;const _0x1a7fb7='/universer-api/snapshot/'+_0x569433[_0x23e96(0x1f1)]+'/unit/'+_0x569433[_0x23e96(0x43c)]+'/resources';return(await this[_0x23e96(0x326)]['get'](_0x1a7fb7,{'params':{'resourceId':JSON['stringify'](_0x569433[_0x23e96(0x3fc)])}}))[_0x23e96(0x2e3)];}[_0x2a1005(0x224)](){var _0x45a48c=_0x2a1005;throw new Error(_0x45a48c(0x1cc));}[_0x2a1005(0x450)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2a1005(0x3ba)](){var _0x54a8b6=_0x2a1005;throw new Error(_0x54a8b6(0x1cc));}[_0x2a1005(0x36d)](){var _0x58b883=_0x2a1005;throw new Error(_0x58b883(0x1cc));}[_0x2a1005(0x337)](){var _0x190845=_0x2a1005;throw new Error(_0x190845(0x1cc));}['getLatestCsReqIdBySid'](){var _0x1535a9=_0x2a1005;throw new Error(_0x1535a9(0x1cc));}};Nt=er([ai(0x0,_0xf25e91),ai(0x1,_0x941461(_0x2ff5b1))],Nt);var tr=Object[_0x2a1005(0x163)],ir=(_0x497b6b,_0x55ae19,_0x25671c,_0x5ccad5)=>{var _0x2306b3=_0x2a1005;for(var _0x24e2c6=_0x5ccad5>0x1?void 0x0:_0x5ccad5?tr(_0x55ae19,_0x25671c):_0x55ae19,_0x214916=_0x497b6b[_0x2306b3(0x2c6)]-0x1,_0x2f119d;_0x214916>=0x0;_0x214916--)(_0x2f119d=_0x497b6b[_0x214916])&&(_0x24e2c6=_0x2f119d(_0x24e2c6)||_0x24e2c6);return _0x24e2c6;},Ae=(_0x28f327,_0x589c0f)=>(_0x3532ad,_0xdfd085)=>_0x589c0f(_0x3532ad,_0xdfd085,_0x28f327);let bt=class extends _0x3c4f45{constructor(_0x47e1a3,_0x2cdadf,_0x515c86,_0x185b83,_0x2fab80){var _0x56eecb=_0x2a1005;super(_0x47e1a3,_0x2cdadf,_0x515c86),this['_transformService']=_0x185b83,this[_0x56eecb(0x32a)]=_0x2fab80;}[_0x2a1005(0x323)](_0x2c801e,_0x4a656c){var _0x1daea5=_0x2a1005;const _0xc27d93=this['_getUndoStack'](_0x2c801e);if(_0xc27d93)try{const _0x19cb7f=this[_0x1daea5(0x2a8)](_0xc27d93,_0x4a656c);this[_0x1daea5(0x396)](_0x2c801e,_0x19cb7f);}catch(_0x32e0c4){this[_0x1daea5(0x32a)][_0x1daea5(0x38d)]('[CollaborationUndoRedoService]',_0x32e0c4),this[_0x1daea5(0x3bc)](_0x2c801e);}const _0x317799=this[_0x1daea5(0x21b)](_0x2c801e);if(_0x317799)try{const _0x1d7791=this['_transformStack'](_0x317799,_0x4a656c);this['_substituteRedoStack'](_0x2c801e,_0x1d7791);}catch(_0xed6a42){this[_0x1daea5(0x32a)][_0x1daea5(0x38d)](_0xed6a42),this[_0x1daea5(0x412)](_0x2c801e);}}['_clearUndo'](_0xe575b){var _0x6dddac=_0x2a1005;const _0x361acb=this[_0x6dddac(0x329)](_0xe575b);_0x361acb&&(_0x361acb[_0x6dddac(0x2c6)]=0x0,this[_0x6dddac(0x1a2)]());}[_0x2a1005(0x412)](_0x2a5af9){var _0x230cf3=_0x2a1005;const _0x30797c=this[_0x230cf3(0x21b)](_0x2a5af9);_0x30797c&&(_0x30797c[_0x230cf3(0x2c6)]=0x0,this[_0x230cf3(0x1a2)]());}[_0x2a1005(0x396)](_0x37dcbb,_0x57b5cf){var _0x50c0a2=_0x2a1005;this[_0x50c0a2(0x305)][_0x50c0a2(0x2f9)](_0x37dcbb,_0x57b5cf),this[_0x50c0a2(0x1a2)]();}[_0x2a1005(0x201)](_0x5a3d48,_0x2a2faf){var _0x34c4af=_0x2a1005;this[_0x34c4af(0x383)]['set'](_0x5a3d48,_0x2a2faf),this[_0x34c4af(0x1a2)]();}[_0x2a1005(0x2a8)](_0x19a48c,_0xe53056){var _0x49bb45=_0x2a1005;const _0x1e9eb5=[];let _0x393bd8=_0xe53056,_0x4cf5d6=_0xe53056;for(let _0x9859e1=_0x19a48c[_0x49bb45(0x2c6)]-0x1;_0x9859e1>=0x0;_0x9859e1--){const {unitID:_0x1fcc1d,undoMutations:_0x3e839f,redoMutations:_0x4d8af1}=_0x19a48c[_0x9859e1],_0x2b33b5=this[_0x49bb45(0x20e)][_0x49bb45(0x348)](_0x393bd8,_0x3e839f),_0x378113=this[_0x49bb45(0x20e)][_0x49bb45(0x348)](_0x4cf5d6,_0x4d8af1);if(_0x4e20cb(_0x2b33b5)||_0x4e20cb(_0x378113)){this[_0x49bb45(0x32a)][_0x49bb45(0x38d)](_0x49bb45(0x1b3),_0x49bb45(0x365),_0x2b33b5,_0x378113);break;}_0x393bd8=_0x2b33b5[_0x49bb45(0x21f)],_0x4cf5d6=_0x378113[_0x49bb45(0x21f)],_0x1e9eb5[_0x49bb45(0x2c4)]({'unitID':_0x1fcc1d,'undoMutations':_0x2b33b5['m2Prime'],'redoMutations':_0x378113['m2Prime']});}return _0x1e9eb5[_0x49bb45(0x2e8)]();}};bt=ir([Ae(0x0,_0x226b33),Ae(0x1,_0x5761a5),Ae(0x2,_0x18cbc6),Ae(0x3,_0x32b219),Ae(0x4,_0x59ee6a)],bt);var sr=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],rr=(_0x2a13ad,_0x57dcea,_0x3a0db9)=>_0x57dcea in _0x2a13ad?sr(_0x2a13ad,_0x57dcea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a0db9}):_0x2a13ad[_0x57dcea]=_0x3a0db9,ar=(_0x53c86e,_0x20cf0c,_0x2ba009,_0x4a1dc7)=>{var _0x3c6df2=_0x2a1005;for(var _0x1b9c78=_0x4a1dc7>0x1?void 0x0:_0x4a1dc7?nr(_0x20cf0c,_0x2ba009):_0x20cf0c,_0x1057a1=_0x53c86e[_0x3c6df2(0x2c6)]-0x1,_0x44c717;_0x1057a1>=0x0;_0x1057a1--)(_0x44c717=_0x53c86e[_0x1057a1])&&(_0x1b9c78=_0x44c717(_0x1b9c78)||_0x1b9c78);return _0x1b9c78;},Et=(_0x562e48,_0xaaec5e)=>(_0xc374f2,_0x30c057)=>_0xaaec5e(_0xc374f2,_0x30c057,_0x562e48),or=(_0xe38801,_0x5d4dbe,_0x24c054)=>rr(_0xe38801,_0x5d4dbe+'',_0x24c054);const cr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x5874ae{constructor(_0x18ea7d,_0x1610e1,_0x3b6e47,_0x4b4279){var _0x5b2889=_0x2a1005;super(),D(this,_0x5b2889(0x2d0)),(this['_logService']=_0x1610e1,this['_injector']=_0x3b6e47,this[_0x5b2889(0x206)]=_0x4b4279);const {..._0x36037f}=_0x4fbb99({},Ls,_0x18ea7d);if(!_0x36037f[_0x5b2889(0x186)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x5b2889(0x2d0)]=_0x36037f,this[_0x5b2889(0x206)][_0x5b2889(0x16b)](K,_0x36037f);}[_0x2a1005(0x339)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2a1005(0x29e)](){var _0x2b571b=_0x2a1005,_0x576146,_0x2db451;this[_0x2b571b(0x1d3)][_0x2b571b(0x2aa)](_0x100842)&&this[_0x2b571b(0x32a)][_0x2b571b(0x38d)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x208d3a=_0x14a46a([[_0x100842,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x2b571b(0x2d0)]['socketService']}],[_0x3b2e01,{'useClass':Nt}],[_0x3ce982,{'useClass':Tt}],[_0x16fffd,{'useClass':Rt}],[_0x5db34e,{'useClass':Ct}],[nt],[gt]],(_0x576146=this[_0x2b571b(0x2d0)])==null?void 0x0:_0x576146[_0x2b571b(0x1bd)]);if(!((_0x2db451=this[_0x2b571b(0x2d0)])!=null&&_0x2db451[_0x2b571b(0x418)])){const _0x563625=_0x208d3a['findIndex'](([_0x41c95c])=>_0x41c95c===_t);_0x563625!==-0x1&&_0x208d3a[_0x2b571b(0x425)](_0x563625,0x1);}_0x37813c(this['_injector'],_0x208d3a);}[_0x2a1005(0x275)](){var _0xbcb273=_0x2a1005,_0x5cf6c7,_0x176c74,_0x262dbd;this[_0xbcb273(0x1d3)][_0xbcb273(0x20f)](_0x2ff5b1)[_0xbcb273(0x41f)]({'priority':0x14,'interceptor':_0x45934a({'maxParallel':0x6})}),(_0x5cf6c7=this[_0xbcb273(0x2d0)])!=null&&_0x5cf6c7[_0xbcb273(0x3a1)]||(_0x176c74=this['_injector'][_0xbcb273(0x20f)](J,_0x54979a[_0xbcb273(0x3c0)]))==null||_0x176c74[_0xbcb273(0x278)](),(_0x262dbd=this[_0xbcb273(0x2d0)])!=null&&_0x262dbd[_0xbcb273(0x1b2)]&&_0x54a1c(this[_0xbcb273(0x1d3)],[[rt]]),_0x54a1c(this[_0xbcb273(0x1d3)],[[at],[nt],[ot]]);}};or(Dt,_0x2a1005(0x3b1),cr),Dt=ar([_0x23506d(_0x27883c,_0x5d5e7e),Et(0x1,_0x59ee6a),Et(0x2,_0x941461(_0x197f37)),Et(0x3,_0xf25e91)],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,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
1
+ var _0x3bcbc5=_0x1928;(function(_0x91b807,_0x106e70){var _0x56e5b8=_0x1928,_0x386b76=_0x91b807();while(!![]){try{var _0xdc5794=-parseInt(_0x56e5b8(0x27f))/0x1*(-parseInt(_0x56e5b8(0x1d5))/0x2)+-parseInt(_0x56e5b8(0x3d4))/0x3+-parseInt(_0x56e5b8(0x210))/0x4*(-parseInt(_0x56e5b8(0x287))/0x5)+parseInt(_0x56e5b8(0x231))/0x6+parseInt(_0x56e5b8(0x341))/0x7*(-parseInt(_0x56e5b8(0x334))/0x8)+-parseInt(_0x56e5b8(0x3ec))/0x9*(-parseInt(_0x56e5b8(0x368))/0xa)+-parseInt(_0x56e5b8(0x38e))/0xb*(-parseInt(_0x56e5b8(0x2e8))/0xc);if(_0xdc5794===_0x106e70)break;else _0x386b76['push'](_0x386b76['shift']());}catch(_0x2b3cd1){_0x386b76['push'](_0x386b76['shift']());}}}(_0x536b,0x346b1));var bi=Object['defineProperty'],Di=(_0x21f71d,_0x1c2bd2,_0x32b744)=>_0x1c2bd2 in _0x21f71d?bi(_0x21f71d,_0x1c2bd2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32b744}):_0x21f71d[_0x1c2bd2]=_0x32b744,D=(_0xc29b89,_0x33101a,_0x55e6c5)=>Di(_0xc29b89,typeof _0x33101a!=_0x3bcbc5(0x1d1)?_0x33101a+'':_0x33101a,_0x55e6c5);import{CollaborationEvent as _0x4c3e36,ITransformService as _0x247322,isTransformMutationsWithChangesetSuccess as _0x1f0a15,mapDocumentTypeToUniverType as _0x568dba,RevisionService as _0x322fd6,isTransformChangesetsSuccess as _0x1b5867,EmptyMutationInfo as _0xceda4,CompressMutationService as _0x539649,parseProtocolChangeset as _0x854375,uuidv4 as _0x5e068a,ISnapshotServerService as _0x51a19b,parseChangesetToProtocol as _0x5135de,SnapshotService as _0x1e673c,textEncoder as _0x4074a6,b64DecodeUnicode as _0x3578ee,isTransformMutationsWithChangesetFailure as _0x1fa8d4,UniverCollaborationPlugin as _0x40c541}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x29bce8,Inject as _0x1b5fe1,UserManagerService as _0x227fd6,Disposable as _0x589fe2,UniverInstanceType as _0xf6e3e1,ILogService as _0xbe786,IConfigService as _0x12469b,Optional as _0x426e18,RxDisposable as _0x2e3b72,createIdentifier as _0x361e5b,Injector as _0x3f0769,Tools as _0x50a26f,Rectangle as _0x17dfa8,ICommandService as _0x246ef8,JSONX as _0x38e0f8,IUndoRedoService as _0x3b359c,IPermissionService as _0x14e6d6,LocaleService as _0x3f3943,sequenceExecute as _0x3f9105,toDisposable as _0x5e9dde,CommandType as _0x21f1b6,DisposableCollection as _0x454352,Workbook as _0xcfd46d,generateRandomId as _0x20bbd5,MentionType as _0x56314d,isInternalEditorID as _0x4ed9e1,LocalUndoRedoService as _0x471c19,IContextService as _0x14b3c6,DependentOn as _0x36679f,Plugin as _0x538c4f,merge as _0xf449ca,mergeOverrideWithDependencies as _0x1fb0b6,IAuthzIoService as _0x5bb3fa,IMentionIOService as _0x243b7c,registerDependencies as _0x332554,Quantity as _0x494835,touchDependencies as _0x4064de}from'@univerjs/core';import{RichTextEditingMutation as _0xc2da57}from'@univerjs/docs';import{SheetsSelectionsService as _0x395a86,SetSelectionsOperation as _0x153bd6,InsertSheetMutation as _0x4ea4d4,WorkbookEditablePermission as _0x119f04,SheetPermissionInitController as _0x418697}from'@univerjs/sheets';import{Subject as _0x3a544d,merge as _0x59837f,of as _0x399dff,BehaviorSubject as _0x3dcdfa,takeUntil as _0x4671d8,ReplaySubject as _0x5042ba,take as _0x59ec57,map as _0xe270b0,shareReplay as _0x3a5b49,firstValueFrom as _0x483196,concatMap as _0x42b602}from'rxjs';import{ITelemetryService as _0x4290d9}from'@univerjs/telemetry';import{map as _0x2c81e7,take as _0x8ec347,filter as _0x977423,delay as _0x2fb8d8,takeUntil as _0x66664e}from'rxjs/operators';import{HTTPService as _0x4ba195,ISocketService as _0x29daef,MergeInterceptorFactory as _0x4e5346,HTTPRequest as _0x47562d,UniverNetworkPlugin as _0x21b429,ThresholdInterceptorFactory as _0xf7f34e}from'@univerjs/network';import{ImageSourceType as _0x2f6ceb,ImageUploadStatusType as _0x3d7dd9,IImageIoService as _0x5a959d}from'@univerjs/drawing';import{getGlobalObject as _0x597c27}from'@univerjs-pro/license';const fs=_0x3bcbc5(0x44d),vs=_0x3bcbc5(0x3ba),ps=0x7d0,Es='ws://127.0.0.1:8000/universer-api/comb/connect',Sr='/universer-api/user/session-ticket',ms='HEARTBEAT_INTERVAL',Is=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Ss=0x4e20,gs=_0x3bcbc5(0x44f),Ts=0x3,gr=_0x3bcbc5(0x301),Tr=0x3e8,Os=_0x3bcbc5(0x437),Rs=_0x3bcbc5(0x335),Or=_0x3bcbc5(0x378),Rr=_0x3bcbc5(0x3ab);var vi=(_0x3b0159=>(_0x3b0159[_0x3b0159['UNDEFINED']=0x0]=_0x3bcbc5(0x240),_0x3b0159[_0x3b0159['OK']=0x1]='OK',_0x3b0159[_0x3b0159[_0x3bcbc5(0x34b)]=0x2]='INTERNAL_ERROR',_0x3b0159[_0x3b0159[_0x3bcbc5(0x467)]=0x3]=_0x3bcbc5(0x467),_0x3b0159[_0x3b0159['NOT_FOUND']=0x4]=_0x3bcbc5(0x2fa),_0x3b0159[_0x3b0159[_0x3bcbc5(0x2cb)]=0x5]=_0x3bcbc5(0x2cb),_0x3b0159[_0x3b0159[_0x3bcbc5(0x336)]=0x6]=_0x3bcbc5(0x336),_0x3b0159[_0x3b0159[_0x3bcbc5(0x25f)]=0x7]=_0x3bcbc5(0x25f),_0x3b0159[_0x3b0159['TOO_MANY_REQUESTS']=0x8]=_0x3bcbc5(0x3c2),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3ce)]=0x9]=_0x3bcbc5(0x3ce),_0x3b0159[_0x3b0159[_0x3bcbc5(0x348)]=0xa]='LOGIN_FAILED',_0x3b0159[_0x3b0159['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3b0159[_0x3b0159[_0x3bcbc5(0x2e0)]=0xc]=_0x3bcbc5(0x2e0),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1c6)]=0xd]=_0x3bcbc5(0x1c6),_0x3b0159[_0x3b0159[_0x3bcbc5(0x237)]=0xe]=_0x3bcbc5(0x237),_0x3b0159[_0x3b0159[_0x3bcbc5(0x279)]=0xf]=_0x3bcbc5(0x279),_0x3b0159[_0x3b0159[_0x3bcbc5(0x329)]=0x10]=_0x3bcbc5(0x329),_0x3b0159[_0x3b0159[_0x3bcbc5(0x239)]=0x64]=_0x3bcbc5(0x239),_0x3b0159[_0x3b0159['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x3b0159[_0x3b0159[_0x3bcbc5(0x4aa)]=0xc9]=_0x3bcbc5(0x4aa),_0x3b0159[_0x3b0159['USER_IS_ANONYMOUS']=0xca]=_0x3bcbc5(0x369),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1cd)]=0x1389]=_0x3bcbc5(0x1cd),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3ed)]=0x1771]=_0x3bcbc5(0x3ed),_0x3b0159[_0x3b0159[_0x3bcbc5(0x275)]=0x1772]=_0x3bcbc5(0x275),_0x3b0159[_0x3b0159[_0x3bcbc5(0x216)]=0x1773]=_0x3bcbc5(0x216),_0x3b0159[_0x3b0159[_0x3bcbc5(0x376)]=0x1b59]=_0x3bcbc5(0x376),_0x3b0159[_0x3b0159[_0x3bcbc5(0x2cf)]=0x1b5a]=_0x3bcbc5(0x2cf),_0x3b0159[_0x3b0159[_0x3bcbc5(0x26e)]=0x1b5b]=_0x3bcbc5(0x26e),_0x3b0159[_0x3b0159['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3bcbc5(0x354),_0x3b0159[_0x3b0159[_0x3bcbc5(0x417)]=0x1b5d]=_0x3bcbc5(0x417),_0x3b0159[_0x3b0159[_0x3bcbc5(0x243)]=0x1f41]=_0x3bcbc5(0x243),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1dd)]=0x2329]=_0x3bcbc5(0x1dd),_0x3b0159[_0x3b0159[_0x3bcbc5(0x35c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3b0159[_0x3b0159['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3bcbc5(0x2c3),_0x3b0159[_0x3b0159[_0x3bcbc5(0x4a9)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3b0159[_0x3b0159[_0x3bcbc5(0x2ba)]=0x232d]=_0x3bcbc5(0x2ba),_0x3b0159[_0x3b0159[_0x3bcbc5(0x21a)]=0x2711]=_0x3bcbc5(0x21a),_0x3b0159[_0x3b0159['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3bcbc5(0x3c3),_0x3b0159[_0x3b0159['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3bcbc5(0x471),_0x3b0159[_0x3b0159[_0x3bcbc5(0x28c)]=0x2714]=_0x3bcbc5(0x28c),_0x3b0159[_0x3b0159[_0x3bcbc5(0x328)]=0x271a]=_0x3bcbc5(0x328),_0x3b0159[_0x3b0159[_0x3bcbc5(0x26a)]=0x271b]=_0x3bcbc5(0x26a),_0x3b0159[_0x3b0159['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3bcbc5(0x25b),_0x3b0159[_0x3b0159[_0x3bcbc5(0x229)]=0x271d]=_0x3bcbc5(0x229),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3f1)]=0x271e]=_0x3bcbc5(0x3f1),_0x3b0159[_0x3b0159[_0x3bcbc5(0x38a)]=0x271f]=_0x3bcbc5(0x38a),_0x3b0159[_0x3b0159[_0x3bcbc5(0x491)]=0x2720]=_0x3bcbc5(0x491),_0x3b0159[_0x3b0159[_0x3bcbc5(0x298)]=0x2af9]=_0x3bcbc5(0x298),_0x3b0159[_0x3b0159[_0x3bcbc5(0x2a1)]=0x2ee1]=_0x3bcbc5(0x2a1),_0x3b0159[_0x3b0159[_0x3bcbc5(0x456)]=0x2ee2]=_0x3bcbc5(0x456),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3db)]=0x2ee3]=_0x3bcbc5(0x3db),_0x3b0159[_0x3b0159['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3bcbc5(0x35b),_0x3b0159[_0x3b0159[_0x3bcbc5(0x29e)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3b0159[_0x3b0159[_0x3bcbc5(0x41f)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3b0159[_0x3b0159[_0x3bcbc5(0x28a)]=0x32ca]=_0x3bcbc5(0x28a),_0x3b0159[_0x3b0159[_0x3bcbc5(0x343)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3b0159[_0x3b0159['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x3b0159[_0x3b0159[_0x3bcbc5(0x2eb)]=0x36b2]=_0x3bcbc5(0x2eb),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1bb)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3b0159[_0x3b0159[_0x3bcbc5(0x3f5)]=0x36b4]=_0x3bcbc5(0x3f5),_0x3b0159[_0x3b0159[_0x3bcbc5(0x419)]=0x3715]=_0x3bcbc5(0x419),_0x3b0159[_0x3b0159[_0x3bcbc5(0x453)]=0x3716]=_0x3bcbc5(0x453),_0x3b0159[_0x3b0159['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3bcbc5(0x2aa),_0x3b0159[_0x3b0159['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x3bcbc5(0x217),_0x3b0159[_0x3b0159[_0x3bcbc5(0x371)]=0x3a99]=_0x3bcbc5(0x371),_0x3b0159[_0x3b0159[_0x3bcbc5(0x303)]=0x3a9a]=_0x3bcbc5(0x303),_0x3b0159[_0x3b0159[_0x3bcbc5(0x48c)]=0x3a9b]=_0x3bcbc5(0x48c),_0x3b0159[_0x3b0159[_0x3bcbc5(0x332)]=0x3a9c]=_0x3bcbc5(0x332),_0x3b0159[_0x3b0159[_0x3bcbc5(0x2c5)]=0x3a9d]=_0x3bcbc5(0x2c5),_0x3b0159[_0x3b0159['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x3bcbc5(0x428),_0x3b0159[_0x3b0159[_0x3bcbc5(0x433)]=0x3a9f]=_0x3bcbc5(0x433),_0x3b0159[_0x3b0159[_0x3bcbc5(0x1e5)]=0x3e81]=_0x3bcbc5(0x1e5),_0x3b0159[_0x3b0159[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0x3b0159))(vi||{}),Q=(_0x4bb27a=>(_0x4bb27a[_0x4bb27a['UNIVER_UNKNOWN']=0x0]=_0x3bcbc5(0x347),_0x4bb27a[_0x4bb27a[_0x3bcbc5(0x30a)]=0x1]=_0x3bcbc5(0x30a),_0x4bb27a[_0x4bb27a[_0x3bcbc5(0x1e2)]=0x2]=_0x3bcbc5(0x1e2),_0x4bb27a[_0x4bb27a['UNIVER_SLIDE']=0x3]=_0x3bcbc5(0x24b),_0x4bb27a[_0x4bb27a[_0x3bcbc5(0x406)]=0x4]=_0x3bcbc5(0x406),_0x4bb27a[_0x4bb27a[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0x4bb27a))(Q||{}),j=(_0xb4589e=>(_0xb4589e[_0xb4589e['UNKNOWN_CMD']=0x0]=_0x3bcbc5(0x47b),_0xb4589e[_0xb4589e['HELLO']=0x1]=_0x3bcbc5(0x2d7),_0xb4589e[_0xb4589e[_0x3bcbc5(0x29f)]=0x2]=_0x3bcbc5(0x29f),_0xb4589e[_0xb4589e[_0x3bcbc5(0x304)]=0x3]='LEAVE',_0xb4589e[_0xb4589e[_0x3bcbc5(0x22a)]=0x4]=_0x3bcbc5(0x22a),_0xb4589e[_0xb4589e[_0x3bcbc5(0x292)]=0x5]=_0x3bcbc5(0x292),_0xb4589e[_0xb4589e[_0x3bcbc5(0x3ff)]=0x6]=_0x3bcbc5(0x3ff),_0xb4589e[_0xb4589e[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0xb4589e))(j||{}),pe=(_0x347d0d=>(_0x347d0d[_0x347d0d['UNKNOWN_CODE']=0x0]=_0x3bcbc5(0x42f),_0x347d0d[_0x347d0d['OK']=0x1]='OK',_0x347d0d[_0x347d0d[_0x3bcbc5(0x1bf)]=0x2]=_0x3bcbc5(0x1bf),_0x347d0d[_0x347d0d[_0x3bcbc5(0x4b1)]=0x3e9]='JOIN_ROOM_FULL',_0x347d0d[_0x347d0d[_0x3bcbc5(0x1eb)]=0x3ea]=_0x3bcbc5(0x1eb),_0x347d0d[_0x347d0d[_0x3bcbc5(0x44c)]=0x3eb]=_0x3bcbc5(0x44c),_0x347d0d[_0x347d0d[_0x3bcbc5(0x2bc)]=0x3ec]=_0x3bcbc5(0x2bc),_0x347d0d[_0x347d0d[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0x347d0d))(pe||{}),pi=(_0xe7a330=>(_0xe7a330[_0xe7a330[_0x3bcbc5(0x2e9)]=0x0]=_0x3bcbc5(0x2e9),_0xe7a330[_0xe7a330[_0x3bcbc5(0x246)]=0x1]=_0x3bcbc5(0x246),_0xe7a330[_0xe7a330[_0x3bcbc5(0x4a4)]=0x2]=_0x3bcbc5(0x4a4),_0xe7a330[_0xe7a330[_0x3bcbc5(0x2a3)]=0x3]='UnitEmbedded',_0xe7a330[_0xe7a330[_0x3bcbc5(0x1d7)]=0x4]=_0x3bcbc5(0x1d7),_0xe7a330[_0xe7a330[_0x3bcbc5(0x259)]=0x5]='UserProfileImg',_0xe7a330[_0xe7a330[_0x3bcbc5(0x422)]=0x6]='ClipsheetFragments',_0xe7a330[_0xe7a330[_0x3bcbc5(0x3a3)]=-0x1]=_0x3bcbc5(0x3a3),_0xe7a330))(pi||{});const Cs=_0x3bcbc5(0x43e);function Ns(_0x8cd342){var _0x2b05b9=_0x3bcbc5;return JSON[_0x2b05b9(0x2ce)](_0x8cd342)[_0x2b05b9(0x2be)];}var re=(_0x5af22d=>(_0x5af22d[_0x3bcbc5(0x222)]=_0x3bcbc5(0x222),_0x5af22d['PERMISSION_DENIED']=_0x3bcbc5(0x467),_0x5af22d[_0x3bcbc5(0x234)]=_0x3bcbc5(0x234),_0x5af22d[_0x3bcbc5(0x1ed)]=_0x3bcbc5(0x1ed),_0x5af22d['JOIN_ROOM_FAILED']=_0x3bcbc5(0x1bd),_0x5af22d['SOCKET_FAILED_RETRY']=_0x3bcbc5(0x444),_0x5af22d[_0x3bcbc5(0x403)]=_0x3bcbc5(0x403),_0x5af22d[_0x3bcbc5(0x413)]=_0x3bcbc5(0x413),_0x5af22d))(re||{});class ve{constructor(){var _0x195063=_0x3bcbc5;D(this,_0x195063(0x2f0),new _0x3a544d()),D(this,_0x195063(0x2b4),this[_0x195063(0x2f0)][_0x195063(0x405)]());}[_0x3bcbc5(0x1f9)](_0x88dc72){var _0x5aca58=_0x3bcbc5;this['_event$'][_0x5aca58(0x497)](_0x88dc72);}}class Ei{constructor(){var _0x2c078c=_0x3bcbc5;D(this,_0x2c078c(0x2d4),new _0x3a544d()),D(this,_0x2c078c(0x400),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0x576345){var _0x28cb28=_0x3bcbc5;this[_0x28cb28(0x2d4)][_0x28cb28(0x497)](_0x576345);}}var bs=Object[_0x3bcbc5(0x2f1)],Ds=(_0xef9969,_0xe38aa6,_0x76fdf1,_0x42c78c)=>{var _0x31abca=_0x3bcbc5;for(var _0x53d9d3=_0x42c78c>0x1?void 0x0:_0x42c78c?bs(_0xe38aa6,_0x76fdf1):_0xe38aa6,_0x523066=_0xef9969[_0x31abca(0x2be)]-0x1,_0x2623ee;_0x523066>=0x0;_0x523066--)(_0x2623ee=_0xef9969[_0x523066])&&(_0x53d9d3=_0x2623ee(_0x53d9d3)||_0x53d9d3);return _0x53d9d3;},Ft=(_0x349970,_0x4f5c4d)=>(_0x1a55d5,_0x57f437)=>_0x4f5c4d(_0x1a55d5,_0x57f437,_0x349970);let Pe=class extends _0x589fe2{constructor(_0x303146,_0x15fed9){var _0x335fa9=_0x3bcbc5;super(),D(this,_0x335fa9(0x2f3),new Map()),D(this,'_roomCreated$',new _0x3a544d()),(this['_univerInstanceService']=_0x303146,this[_0x335fa9(0x324)]=_0x15fed9,this['disposeWithMe'](_0x59837f(this[_0x335fa9(0x31f)][_0x335fa9(0x248)](_0xf6e3e1[_0x335fa9(0x1e2)])[_0x335fa9(0x29c)](_0x2c81e7(_0x53bf3a=>_0x53bf3a[_0x335fa9(0x1b3)]())),this['_univerInstanceService'][_0x335fa9(0x248)](_0xf6e3e1[_0x335fa9(0x30a)])[_0x335fa9(0x29c)](_0x2c81e7(_0x2371d9=>_0x2371d9[_0x335fa9(0x1b3)]())),this['_univerInstanceService'][_0x335fa9(0x248)](_0xf6e3e1['UNIVER_SLIDE'])['pipe'](_0x2c81e7(_0x9d3671=>_0x9d3671[_0x335fa9(0x1b3)]())))[_0x335fa9(0x2ff)](_0x40a89c=>this[_0x335fa9(0x2ee)](_0x40a89c))));}[_0x3bcbc5(0x2cc)](_0x4262f5){var _0x24b54c=_0x3bcbc5;return this[_0x24b54c(0x2f3)]['has'](_0x4262f5)?_0x399dff(this[_0x24b54c(0x2f3)]['get'](_0x4262f5)):this['_roomCreated$'][_0x24b54c(0x29c)](_0x2c81e7(_0x3be585=>{var _0x480166=_0x24b54c;if(_0x3be585===_0x4262f5)return this[_0x480166(0x2f3)][_0x480166(0x448)](_0x3be585);}));}['setCurrentUser'](_0xf7c77c){var _0x7c0b59=_0x3bcbc5;this[_0x7c0b59(0x324)][_0x7c0b59(0x45f)](_0xf7c77c);}[_0x3bcbc5(0x33b)](){var _0x2b986a=_0x3bcbc5;return this['_userManagerService'][_0x2b986a(0x33b)]();}[_0x3bcbc5(0x2cd)](_0x4b5da9,_0x3121b0){var _0x4bba34=_0x3bcbc5;let _0x33b7bd=this[_0x4bba34(0x2f3)]['get'](_0x4b5da9);_0x33b7bd||(_0x33b7bd=new ys(),this[_0x4bba34(0x2f3)][_0x4bba34(0x3cd)](_0x4b5da9,_0x33b7bd),this[_0x4bba34(0x306)][_0x4bba34(0x497)](_0x4b5da9)),_0x33b7bd[_0x4bba34(0x2cd)](_0x3121b0);}[_0x3bcbc5(0x314)](_0x36dbf3,_0x57dee5){var _0x4cd9f1=_0x3bcbc5;const _0x1ce183=this[_0x4cd9f1(0x2f3)][_0x4cd9f1(0x448)](_0x36dbf3);_0x1ce183&&_0x1ce183['removeMember'](_0x57dee5);}[_0x3bcbc5(0x3e7)](_0x274819){var _0x7c3014=_0x3bcbc5;return this[_0x7c3014(0x2f3)][_0x7c3014(0x448)](_0x274819);}[_0x3bcbc5(0x33c)](_0x3d8c24,_0x1a6cf6){var _0x12474a=_0x3bcbc5;const _0x418a50=this[_0x12474a(0x2f3)][_0x12474a(0x448)](_0x3d8c24);if(_0x418a50)return _0x418a50[_0x12474a(0x33c)](_0x1a6cf6);}[_0x3bcbc5(0x2ee)](_0x3b4342){var _0x2e4f67=_0x3bcbc5;const _0x537da0=this['_roomMembers'][_0x2e4f67(0x448)](_0x3b4342);_0x537da0&&(_0x537da0[_0x2e4f67(0x23d)](),this[_0x2e4f67(0x2f3)][_0x2e4f67(0x38b)](_0x3b4342));}['dispose'](){var _0x420610=_0x3bcbc5;this[_0x420610(0x2f3)]['forEach'](_0x1fbe3f=>_0x1fbe3f[_0x420610(0x23d)]()),this[_0x420610(0x2f3)][_0x420610(0x221)](),this[_0x420610(0x306)][_0x420610(0x30c)]();}};Pe=Ds([Ft(0x0,_0x29bce8),Ft(0x1,_0x1b5fe1(_0x227fd6))],Pe);class ys extends _0x589fe2{constructor(){var _0x2cfc1f=_0x3bcbc5;super(...arguments),D(this,_0x2cfc1f(0x3bb),new Map()),D(this,_0x2cfc1f(0x454),new _0x3dcdfa(this[_0x2cfc1f(0x3bb)])),D(this,_0x2cfc1f(0x295),this[_0x2cfc1f(0x454)][_0x2cfc1f(0x405)]());}[_0x3bcbc5(0x23d)](){var _0x14dae0=_0x3bcbc5;this[_0x14dae0(0x3bb)][_0x14dae0(0x221)]();}[_0x3bcbc5(0x2cd)](_0x474ade){var _0x243013=_0x3bcbc5;this['_members'][_0x243013(0x3cd)](_0x474ade[_0x243013(0x367)],_0x474ade),this[_0x243013(0x39a)]();}[_0x3bcbc5(0x314)](_0x228e2c){var _0x3bcd52=_0x3bcbc5;this[_0x3bcd52(0x3bb)][_0x3bcd52(0x38b)](_0x228e2c);}[_0x3bcbc5(0x33c)](_0x35d953){var _0x592c02=_0x3bcbc5;return this[_0x592c02(0x3bb)][_0x592c02(0x448)](_0x35d953);}['getAllMembers'](){var _0x536552=_0x3bcbc5;return Array[_0x536552(0x230)](this['_members'][_0x536552(0x385)]());}[_0x3bcbc5(0x39a)](){var _0x21a65e=_0x3bcbc5;this['_members$']['next'](this[_0x21a65e(0x3bb)]);}}var Us=Object[_0x3bcbc5(0x2f1)],As=(_0x4e3145,_0x2d90d7,_0x53d9a4,_0x233606)=>{var _0x276cbc=_0x3bcbc5;for(var _0x1c7f8c=_0x233606>0x1?void 0x0:_0x233606?Us(_0x2d90d7,_0x53d9a4):_0x2d90d7,_0x4ea145=_0x4e3145[_0x276cbc(0x2be)]-0x1,_0x4afaee;_0x4ea145>=0x0;_0x4ea145--)(_0x4afaee=_0x4e3145[_0x4ea145])&&(_0x1c7f8c=_0x4afaee(_0x1c7f8c)||_0x1c7f8c);return _0x1c7f8c;},Oe=(_0x25b079,_0x120ba2)=>(_0x78cd64,_0x16a015)=>_0x120ba2(_0x78cd64,_0x16a015,_0x25b079),me=(_0x471ecb=>(_0x471ecb[_0x471ecb['IDLE']=0x0]=_0x3bcbc5(0x46b),_0x471ecb[_0x471ecb[_0x3bcbc5(0x1cc)]=0x1]=_0x3bcbc5(0x1cc),_0x471ecb[_0x471ecb[_0x3bcbc5(0x1c5)]=0x2]=_0x3bcbc5(0x1c5),_0x471ecb[_0x471ecb['ONLINE']=0x3]=_0x3bcbc5(0x45e),_0x471ecb))(me||{});const jt={[pe[_0x3bcbc5(0x1bf)]]:_0x3bcbc5(0x458),[pe[_0x3bcbc5(0x4b1)]]:'session.room-full',[pe[_0x3bcbc5(0x1eb)]]:_0x3bcbc5(0x2e1),[pe[_0x3bcbc5(0x44c)]]:_0x3bcbc5(0x42d),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3bcbc5(0x4a2)};let mt=class extends _0x2e3b72{constructor(_0x3c46e8,_0x3d8d72,_0x41acf9,_0x22cb93,_0x4802af,_0x36b90d,_0x3e74f0,_0x2049c9){var _0x51914e=_0x3bcbc5;super(),D(this,_0x51914e(0x485),new _0x3dcdfa(0x0)),D(this,'sessionStatus$',this['_sessionStatus$'][_0x51914e(0x405)]()),D(this,'_event$',new _0x3a544d()),D(this,_0x51914e(0x2b4),this[_0x51914e(0x2f0)][_0x51914e(0x405)]()),D(this,'_socket'),D(this,_0x51914e(0x3fb)),D(this,'_collaborationTimeoutTimer'),D(this,_0x51914e(0x251),!0x1),D(this,'_telemetryInfo',null),(this[_0x51914e(0x209)]=_0x3c46e8,this[_0x51914e(0x3dc)]=_0x41acf9,this[_0x51914e(0x346)]=_0x22cb93,this[_0x51914e(0x490)]=_0x4802af,this['_commentService']=_0x36b90d,this['_collaborationUIEventService']=_0x3e74f0,this[_0x51914e(0x282)]=_0x2049c9,this[_0x51914e(0x251)]=!!this[_0x51914e(0x282)],_0x3d8d72[_0x51914e(0x29c)](_0x4671d8(this[_0x51914e(0x443)]))['subscribe'](_0x3cf911=>{var _0x14ef0e=_0x51914e,_0xd8d332;typeof _0x3cf911>'u'||(this[_0x14ef0e(0x3f9)]=_0x3cf911,_0x3cf911?(this[_0x14ef0e(0x22e)](_0x3cf911),this[_0x14ef0e(0x3fb)]=_0x3cf911[_0x14ef0e(0x24a)][_0x14ef0e(0x2ff)](_0x1a769b=>{var _0x426633=_0x14ef0e;_0x1a769b[_0x426633(0x299)]===this[_0x426633(0x209)]&&this[_0x426633(0x315)](_0x1a769b);})):(this[_0x14ef0e(0x25c)](),this[_0x14ef0e(0x485)][_0x14ef0e(0x497)](0x2),(_0xd8d332=this[_0x14ef0e(0x3fb)])==null||_0xd8d332['unsubscribe'](),this[_0x14ef0e(0x3fb)]=null));}));}get['sessionStatus'](){var _0x27dd11=_0x3bcbc5;return this[_0x27dd11(0x485)][_0x27dd11(0x495)]();}['getMemberID'](){var _0x38ef5a=_0x3bcbc5,_0x26596f,_0x41261f;return(_0x41261f=(_0x26596f=this[_0x38ef5a(0x3f9)])==null?void 0x0:_0x26596f['memberID'])!=null?_0x41261f:null;}[_0x3bcbc5(0x23d)](){var _0x21dd01=_0x3bcbc5;super['dispose'](),this['dispose$'][_0x21dd01(0x497)](),this[_0x21dd01(0x443)][_0x21dd01(0x30c)]();}[_0x3bcbc5(0x266)](){var _0x619a58=_0x3bcbc5,_0x477c1b,_0x2e8b27;this[_0x619a58(0x25c)](),(_0x477c1b=this[_0x619a58(0x3f9)])==null||_0x477c1b[_0x619a58(0x325)]({'cmd':j[_0x619a58(0x304)],'data':{'roomID':this[_0x619a58(0x209)]}}),(_0x2e8b27=this[_0x619a58(0x3f9)])==null||_0x2e8b27[_0x619a58(0x266)](),this[_0x619a58(0x2f0)][_0x619a58(0x30c)](),this[_0x619a58(0x485)]['complete'](),this[_0x619a58(0x23d)]();}[_0x3bcbc5(0x315)](_0xecf17d){var _0x1fd040=_0x3bcbc5;_0xecf17d['cmd']===j[_0x1fd040(0x29f)]?this[_0x1fd040(0x3f4)](_0xecf17d):_0xecf17d[_0x1fd040(0x225)]===j[_0x1fd040(0x3ff)]&&this[_0x1fd040(0x4b2)](_0xecf17d);}[_0x3bcbc5(0x22e)](_0x99570f){var _0x1f6eb2=_0x3bcbc5;this[_0x1f6eb2(0x485)][_0x1f6eb2(0x497)](0x1),_0x99570f[_0x1f6eb2(0x325)]({'cmd':j['JOIN'],'routeKey':this[_0x1f6eb2(0x209)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x3bcbc5(0x3f4)](_0x5ecc5a){var _0x144caf=_0x3bcbc5,_0x252fe2;if(_0x5ecc5a[_0x144caf(0x398)]in jt){this[_0x144caf(0x4ad)]['emitEvent']({'id':re['JOIN_ROOM_FAILED'],'data':jt[_0x5ecc5a[_0x144caf(0x398)]]}),this['_sessionStatus$'][_0x144caf(0x497)](0x2);return;}this['_sessionStatus$'][_0x144caf(0x497)](0x3);const _0x5f045d=(_0x252fe2=_0x5ecc5a[_0x144caf(0x31c)]['roomInfos'][this[_0x144caf(0x209)]])==null?void 0x0:_0x252fe2[_0x144caf(0x462)];_0x5f045d&&_0x5f045d[_0x144caf(0x4a0)](_0x257d9b=>this[_0x144caf(0x490)]['updateMember'](this['_unitID'],_0x257d9b));}['_onRecvEvent'](_0x398299){var _0x160b09=_0x3bcbc5;try{const _0x56c5ad=_0x398299[_0x160b09(0x31c)];switch(_0x56c5ad[_0x160b09(0x255)]){case _0x4c3e36[_0x160b09(0x39f)]:this[_0x160b09(0x436)](_0x56c5ad),this[_0x160b09(0x2f0)][_0x160b09(0x497)](_0x56c5ad);break;case _0x4c3e36['USERS_LEAVE']:this[_0x160b09(0x39e)](_0x56c5ad),this[_0x160b09(0x2f0)][_0x160b09(0x497)](_0x56c5ad);break;case _0x4c3e36[_0x160b09(0x1d4)]:case _0x4c3e36[_0x160b09(0x359)]:this[_0x160b09(0x2b0)](),this[_0x160b09(0x43b)](),this[_0x160b09(0x2f0)][_0x160b09(0x497)](_0x56c5ad);break;case _0x4c3e36[_0x160b09(0x25e)]:this[_0x160b09(0x3dc)][_0x160b09(0x2dd)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x160b09(0x2ce)](_0x56c5ad)),this['_event$'][_0x160b09(0x497)](_0x56c5ad);break;case _0x4c3e36[_0x160b09(0x204)]:this[_0x160b09(0x2e3)][_0x160b09(0x3ef)](_0x56c5ad[_0x160b09(0x31c)]),this['_event$'][_0x160b09(0x497)](_0x56c5ad);break;default:this[_0x160b09(0x2f0)][_0x160b09(0x497)](_0x56c5ad);}}catch(_0x56973b){this[_0x160b09(0x3dc)][_0x160b09(0x2dd)](_0x56973b,_0x398299);}}['_onUserJoin'](_0x20eaed){var _0x3a6d22=_0x3bcbc5;this[_0x3a6d22(0x490)][_0x3a6d22(0x2cd)](this['_unitID'],_0x20eaed[_0x3a6d22(0x31c)]);}[_0x3bcbc5(0x39e)](_0x1e169d){var _0x3e4cd9=_0x3bcbc5;this[_0x3e4cd9(0x490)]['removeMember'](this['_unitID'],_0x1e169d[_0x3e4cd9(0x31c)]['memberID']);}async['send'](_0x1417c7,_0x5e7bde){var _0x3dcd3d=_0x3bcbc5;if(this[_0x3dcd3d(0x36c)]!==0x3||!this[_0x3dcd3d(0x3f9)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1417c7[_0x3dcd3d(0x255)]===_0x4c3e36[_0x3dcd3d(0x1d6)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x3dcd3d(0x244)](_0x1417c7)),this[_0x3dcd3d(0x3f9)][_0x3dcd3d(0x325)]({'cmd':j[_0x3dcd3d(0x22a)],'routeKey':_0x5e7bde,'routeType':'','data':_0x1417c7});}catch(_0x4da525){this['_logService']['error'](_0x4da525);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3dd3b8=_0x3bcbc5,_0x4d3515;this[_0x3dd3b8(0x242)]=setTimeout(()=>{var _0x16b4a0=_0x3dd3b8;this[_0x16b4a0(0x242)]=null,this[_0x16b4a0(0x4ad)][_0x16b4a0(0x1f9)]({'id':re[_0x16b4a0(0x413)]});},(_0x4d3515=this['_configService'][_0x3dd3b8(0x2f6)](di))!=null?_0x4d3515:fi);}[_0x3bcbc5(0x43b)](){var _0xb38d7e=_0x3bcbc5;this[_0xb38d7e(0x242)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xb38d7e(0x242)]=null);}[_0x3bcbc5(0x244)](_0x2c2c4c){var _0x41ff32=_0x3bcbc5;if(!this[_0x41ff32(0x251)])return;const {data:_0x248a1d}=_0x2c2c4c,{unitID:_0x4b1f3a,changeset:_0x13447e}=_0x248a1d,{mutations:_0x1df5a7,type:_0x3a13e6}=_0x13447e;this[_0x41ff32(0x313)]={'unitId':_0x4b1f3a,'type':_0x3a13e6,'startTime':performance[_0x41ff32(0x3ae)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x1df5a7)};}[_0x3bcbc5(0x2b0)](){var _0x4051c1=_0x3bcbc5;if(this[_0x4051c1(0x251)]){if(!this[_0x4051c1(0x313)]){this['_logService'][_0x4051c1(0x2dd)](_0x4051c1(0x388),_0x4051c1(0x4a5));return;}this['_telemetryInfo'][_0x4051c1(0x319)]=performance['now'](),this['_telemetryInfo'][_0x4051c1(0x468)]=this[_0x4051c1(0x313)][_0x4051c1(0x319)]-this[_0x4051c1(0x313)][_0x4051c1(0x31d)],this[_0x4051c1(0x282)][_0x4051c1(0x492)](Cs,this[_0x4051c1(0x313)]),this['_telemetryInfo']=null;}}[_0x3bcbc5(0x25c)](){var _0xb93c81=_0x3bcbc5;this[_0xb93c81(0x313)]=null;}};mt=As([Oe(0x2,_0xbe786),Oe(0x3,_0x12469b),Oe(0x4,_0x1b5fe1(Pe)),Oe(0x5,_0x1b5fe1(Ei)),Oe(0x6,_0x1b5fe1(ve)),Oe(0x7,_0x426e18(_0x4290d9))],mt);const J=_0x361e5b(_0x3bcbc5(0x48d));function Cr(_0x59ba48){return'unit-cache-'+_0x59ba48;}var Ps=Object[_0x3bcbc5(0x2f1)],ws=(_0x286826,_0x48759a,_0x4d0245,_0x56f002)=>{var _0x3af562=_0x3bcbc5;for(var _0x5c165c=_0x56f002>0x1?void 0x0:_0x56f002?Ps(_0x48759a,_0x4d0245):_0x48759a,_0x5adb94=_0x286826[_0x3af562(0x2be)]-0x1,_0x4fdfb6;_0x5adb94>=0x0;_0x5adb94--)(_0x4fdfb6=_0x286826[_0x5adb94])&&(_0x5c165c=_0x4fdfb6(_0x5c165c)||_0x5c165c);return _0x5c165c;},ut=(_0x3a6a7e,_0x59fe66)=>(_0x1c18d4,_0x528c5b)=>_0x59fe66(_0x1c18d4,_0x528c5b,_0x3a6a7e);function Ms(_0x35bc07){var _0x30c937=_0x3bcbc5;const {unitID:_0x3dcc23,mutations:_0xa3b6ea}=_0x35bc07;return{'unitId':_0x3dcc23,'subUnitId':_0xa3b6ea[_0x30c937(0x2be)]>0x0?_0xa3b6ea[0x0][_0x30c937(0x2f4)][_0x30c937(0x357)]:null};}let it=class{constructor(_0xc22534,_0x30a3b5,_0x19107c){var _0xf7c601=_0x3bcbc5;this[_0xf7c601(0x463)]=_0xc22534,this[_0xf7c601(0x220)]=_0x30a3b5,this['_instanceService']=_0x19107c;}['transformSelections'](_0x317d79){var _0x4b83c6=_0x3bcbc5,_0xd045ee,_0x59c43b,_0x3a21e3,_0x10e0eb;const _0x2f5cd7=this[_0x4b83c6(0x463)][_0x4b83c6(0x448)](_0x395a86),{unitId:_0x5a7b89,subUnitId:_0x4fbfae}=Ms(_0x317d79),_0x4d5d97=_0x2f5cd7==null?void 0x0:_0x2f5cd7[_0x4b83c6(0x285)](_0x5a7b89)[_0x4b83c6(0x414)](),_0x1ce44c=(_0x59c43b=(_0xd045ee=this['_instanceService'][_0x4b83c6(0x4af)](_0x5a7b89))==null?void 0x0:_0xd045ee[_0x4b83c6(0x476)]())==null?void 0x0:_0x59c43b[_0x4b83c6(0x2c1)]();if(_0x4d5d97[_0x4b83c6(0x2be)]===0x0||!_0x5a7b89||!_0x4fbfae)return;const _0x2e1ab8=[{'id':_0x153bd6['id'],'params':{'unitId':_0x5a7b89,'subUnitId':_0x1ce44c,'selections':_0x50a26f[_0x4b83c6(0x1b6)](_0x4d5d97)}}],_0x1548f2=this[_0x4b83c6(0x220)][_0x4b83c6(0x3b7)](_0x317d79,_0x2e1ab8);if(!_0x1f0a15(_0x1548f2))throw _0x1548f2[_0x4b83c6(0x2dd)];const _0xb2baea=(_0x10e0eb=(_0x3a21e3=_0x1548f2[_0x4b83c6(0x1d3)][0x0])==null?void 0x0:_0x3a21e3[_0x4b83c6(0x2f4)])==null?void 0x0:_0x10e0eb['selections'];if(Array[_0x4b83c6(0x2d1)](_0xb2baea)&&_0xb2baea[_0x4b83c6(0x2be)]){if(_0xb2baea['length']===_0x2e1ab8[0x0]['params']['selections'][_0x4b83c6(0x2be)]&&_0xb2baea[_0x4b83c6(0x2ec)]((_0x45868e,_0x3832dc)=>_0x17dfa8[_0x4b83c6(0x49f)](_0x45868e[_0x4b83c6(0x46c)],_0x2e1ab8[0x0][_0x4b83c6(0x2f4)][_0x4b83c6(0x208)][_0x3832dc][_0x4b83c6(0x46c)])))return;this['_injector'][_0x4b83c6(0x448)](_0x246ef8)[_0x4b83c6(0x21c)](_0x153bd6['id'],{'unitId':_0x5a7b89,'subUnitId':_0x1ce44c,'selections':_0xb2baea});}}};it=ws([ut(0x0,_0x1b5fe1(_0x3f0769)),ut(0x1,_0x247322),ut(0x2,_0x29bce8)],it);const _t=_0x361e5b('univer-pro.collaboration-client.single-active-unit-service');var mi=(_0x2b93d2=>(_0x2b93d2[_0x2b93d2[_0x3bcbc5(0x389)]=0x0]=_0x3bcbc5(0x389),_0x2b93d2[_0x2b93d2[_0x3bcbc5(0x1c9)]=0x1]='OTHER_CLIENTS_EDITING',_0x2b93d2))(mi||{});const K=_0x3bcbc5(0x307),Ls={},xs=new Set([_0x4ea4d4['id']]);function Vt(_0x21c7b0,_0x379470,_0x4a43dc,_0x56f067,_0x4836ee){var _0x438c2a=_0x3bcbc5,_0x46e447,_0x87db69,_0x455c00,_0x5683ee;const _0x20031a=[];for(const _0x3e8724 of _0x21c7b0)if(xs[_0x438c2a(0x48a)](_0x3e8724['id'])){if(_0x20031a[_0x438c2a(0x2be)]>0x0)break;_0x20031a[_0x438c2a(0x35e)](_0x3e8724);break;}else _0x20031a[_0x438c2a(0x35e)](_0x3e8724);const _0x212a6e=(_0x87db69=(_0x46e447=_0x4836ee[_0x438c2a(0x33b)]())==null?void 0x0:_0x46e447[_0x438c2a(0x2af)])!=null?_0x87db69:_0x438c2a(0x1c1),_0x3b5b00=(_0x5683ee=(_0x455c00=_0x4836ee['getCurrentUser']())==null?void 0x0:_0x455c00['memberID'])!=null?_0x5683ee:'unknown';return{'changeset':{'unitID':_0x379470,'type':_0x568dba(_0x4a43dc[_0x438c2a(0x47d)](_0x379470)),'baseRev':_0x56f067[_0x438c2a(0x386)](_0x379470),'revision':0x0,'userID':_0x212a6e,'memberID':_0x3b5b00,'mutations':_0x20031a},'pendingMutations':_0x21c7b0[_0x438c2a(0x1e9)](_0x20031a[_0x438c2a(0x2be)])};}function $s(_0x493353,_0x973827,_0x3f009c,_0x94dd9e,_0x23d87c){var _0x4d331b=_0x3bcbc5,_0x130a9c,_0x10a4ea,_0x538c61,_0x5ac756;const _0x545657=[_0x493353[_0x4d331b(0x1b4)]((_0x587814,_0x2bcab1)=>{var _0xbf2e37=_0x4d331b,_0x282170;const {id:_0x1687f1}=_0x587814,{id:_0x34a638,type:_0x275d15}=_0x2bcab1,_0x5455be=(_0x282170=_0x587814['params'])!=null?_0x282170:{'actions':null},_0x2341aa=_0x2bcab1[_0xbf2e37(0x2f4)];if(_0x1687f1&&_0x1687f1!==_0x34a638)throw new Error(_0xbf2e37(0x227)+_0x1687f1+_0xbf2e37(0x481)+_0x34a638+'.');return{..._0x587814,'id':_0x34a638,'type':_0x275d15,'params':{'unitId':_0x2341aa[_0xbf2e37(0x267)],'textRanges':_0x2341aa['textRanges'],'actions':_0x38e0f8[_0xbf2e37(0x21e)](_0x5455be['actions'],_0x2341aa['actions'])}};},{})],_0x16fb95=(_0x10a4ea=(_0x130a9c=_0x23d87c[_0x4d331b(0x33b)]())==null?void 0x0:_0x130a9c[_0x4d331b(0x2af)])!=null?_0x10a4ea:'unknown',_0x372860=(_0x5ac756=(_0x538c61=_0x23d87c[_0x4d331b(0x33b)]())==null?void 0x0:_0x538c61[_0x4d331b(0x367)])!=null?_0x5ac756:'unknown';return{'changeset':{'unitID':_0x973827,'type':_0x568dba(_0x3f009c[_0x4d331b(0x47d)](_0x973827)),'baseRev':_0x94dd9e[_0x4d331b(0x386)](_0x973827),'revision':0x0,'userID':_0x16fb95,'memberID':_0x372860,'mutations':_0x545657},'pendingMutations':[]};}function Ii(_0x2472ff,_0x37486b){var _0x61a68f=_0x3bcbc5;const _0x49860f=new _0x5042ba(0x1);return setTimeout(()=>_0x49860f[_0x61a68f(0x497)](_0x37486b),_0x2472ff),_0x49860f['asObservable']()[_0x61a68f(0x29c)](_0x59ec57(0x1));}var ks=Object['getOwnPropertyDescriptor'],Se=(_0x579c5d,_0x5260d2,_0x2a137f,_0x5cd5c2)=>{var _0x1e47f1=_0x3bcbc5;for(var _0x577c90=_0x5cd5c2>0x1?void 0x0:_0x5cd5c2?ks(_0x5260d2,_0x2a137f):_0x5260d2,_0x4629fa=_0x579c5d[_0x1e47f1(0x2be)]-0x1,_0x4af8ea;_0x4629fa>=0x0;_0x4629fa--)(_0x4af8ea=_0x579c5d[_0x4629fa])&&(_0x577c90=_0x4af8ea(_0x577c90)||_0x577c90);return _0x577c90;},w=(_0x57eefd,_0xa54884)=>(_0x34d5e4,_0x28db80)=>_0xa54884(_0x34d5e4,_0x28db80,_0x57eefd),Si=(_0x25058e=>(_0x25058e[_0x3bcbc5(0x1f7)]=_0x3bcbc5(0x365),_0x25058e[_0x3bcbc5(0x349)]=_0x3bcbc5(0x3e3),_0x25058e[_0x3bcbc5(0x309)]='pending',_0x25058e[_0x3bcbc5(0x2ae)]=_0x3bcbc5(0x46a),_0x25058e[_0x3bcbc5(0x33a)]=_0x3bcbc5(0x478),_0x25058e[_0x3bcbc5(0x24d)]=_0x3bcbc5(0x441),_0x25058e[_0x3bcbc5(0x234)]=_0x3bcbc5(0x442),_0x25058e['OFFLINE']=_0x3bcbc5(0x241),_0x25058e))(Si||{});const gi=0xea60;function _0x536b(){var _0x56164c=['PERMISSION_REJ','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','setShowComponents','enableSingleActiveInstanceLock','_handler','REDEMPTION_CODE_NOT_STARTED','newCsEvent','875024KfDFMJ','/universer-api/oidc/authpage','ALREADY_EXISTS','_createHmacHelper','msCrypto','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','AWAITING_WITH_PENDING','getCurrentUser','getMember','_getSignURL','[FetchMissState]','_remoteChangesetQueue','transformChangesets','7XPQvXr','_showConflictNotification','EMAIL_HAS_BEEN_BOUND','joinRsp','cfg','_configService','UNIVER_UNKNOWN','LOGIN_FAILED','SYNCED','session','INTERNAL_ERROR','requireSession','c1Prime','_toggleOffline','hasher','allowed','[OfflineState]:\x20received\x20changeset.','DEFAULT_FILE_NAME','revision','APPLY_PERMISSION_DENIED','onRemoteRej','min','subUnitId','_clearHeartbeatTimer','CHANGESET_SHOULD_RETRY','_key','USER_NOT_INVITED_CODE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setWaitCount','push','_updateStatus','ivSize','file','_map','getInterceptPoints','fetching\x20missing\x20changesets\x20from\x20','not_collab','_doProcessBlock','memberID','647120OUXaqF','USER_IS_ANONYMOUS','_HTTPService','onSendChangeset','sessionStatus','Base','/universer-api/file/{fileID}/sign-url','fromCollab','_schedule','REDEMPTION_INVALID_CODE','createDecryptor','_socket$','__esModule','extend','APPLY_REJECT','_unlockTransition','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','indexOf','_revisionService','editing\x20status\x20changed\x20to','concat','floor','Latin1','_getUploadFileURL','/allowed','_onMessage','put','sid','unsubscribe','values','getCurrentRevOfUnit','byteLength','[CollaborationSession]','NO_OTHER_CLIENTS_EDITING','YUUMI_AI_RUN_FAILED','delete','init','processBlock','191675bTdapS','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getImage','_init','HmacMD5','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveImage','_createInitialStateImpl','_clearRedo','connection\x20error','code','compute','_emitMembers','_applyRemoteChangeset','_decreaseWaiting','_onRemoteRetry','_onUserLeave','USERS_ENTER','result','UPDATE_CURSOR','CHANGESET_REJ','UNRECOGNIZED','_submitChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/object','entityInit$','COMPRESS_MUTATION_SEND','toggleOnline','sessionStatus$','/universer-api/uniscript','pad','changesets','now','_replayCachedMutations','_sendHeartbeatTimer','apply','[CollaborationUndoRedoService]','_networkConditionService','FETCH_MISSING','_initMergeInterceptor','readyForCollab','transformMutationsWithChangeset','origin','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SNAPSHOT_URL_KEY','_members','isPermissionRej','_nRounds','updatePermissionObjEvent','substr','onTransformRemoteChangesetByStateCache','_clearRetryConnectingTimer','TOO_MANY_REQUESTS','YUUMI_URL_COL_OUT_OF_RANGE','_syncEditingCollabCursor','submit\x20changeset\x20error!','_localCacheService','socketService','__creator','[OfflineState]:\x20received\x20acknowledgement.','_httpService','_incrementRevisionNumber','charCodeAt','set','COMPLETION_FINISHED','hostname','updatePermissionPoint','image/png','_substituteRedoStack','/universer-api/authz','780204tnvBuL','COMPRESS_MUTATION_APPLY','href','buffer','_singleActiveUnitService','state$','/universer-api/snapshot/','INVITE_CODE_REQUIRED','_logService','transformUndoRedo','onSyncEditingCollabCursor','_replaceFileID','collaboratorID','closeSession','WordArray','synced','_updateState','[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.','LIVESHARE_FETCH_OPERATIONS','getRoom','_socketReady','_createHandler','_waitForHeartbeatResponse','onLocalMutation','9CJQRQK','SNAPSHOT_INVALID_SNAPSHOT','_resendWithTimeout','onCommentUpdate','_sendHeartbeat','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_doCreateSocket','loginUrlKey','_onJoinRoomEvent','PAYMENT_CHANNEL_NOT_SUPPORT','_retryConnectingTimer','_commandService','_process','_socket','enableOfflineEditing','_socketMessageSubscription','csRejEvent','_clearTimeoutTimer','reject','RECV','commentUpdate$','loadOfflineData','deleteCollaborator','SOCKET_FAILED','subject','asObservable','UNIVER_PROJECT','fetchMiss','uploadFileServerUrl','_lockTransition','charAt','POST','_initUnitPermissionChange','setConfig','_collaborationSessionService','open$','_localeService','_sender','listCollaborators','SUBMIT_CHANGESET_TIMEOUT','getCurrentSelections','ciphertext','refreshPermission','APPLY_DUPLICATED','encode','ENTITLE_CHAT_LIMIT_EXCEED','commentUpdateEvent','onMissedChangesetFetched','UPDATE_PERMISSION_OBJ','call','_change$','WECHAT_HAS_BEEN_BOUND','\x20in\x20_schedule.','_handlerCallback','ClipsheetFragments','shouldCloseConn','Utf8','SHA1','append','_redoStacks','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_getDownloadEndpointURL','BASE64','createInstance','/new_changes','session.room-permission-denied','Malformed\x20UTF-8\x20data','UNKNOWN_CODE','\x20to\x20','_clearLocalCache','_clearUndo','REDEMPTION_CODE_HAS_BEEN_CREATED','getCollabEntity','_keyPriorReset','_onUserJoin','/universer-api/comb','HMAC','name','__Key__','_clearCollaborationTimeoutTimer','getSnapshotAPIPath','[CollaborationSessionService]:\x20socket\x20error','collaboration_new_changeset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','addHandlerCallback','fetch_missing','conflict','dispose$','SOCKET_FAILED_RETRY','_prevBlock','appendMutation','resend','get','_pendingMutations','_checkMissing','interceptor','JOIN_ROOM_PERMISSION_DENIED','/universer-api/snapshot','_snapshotServerService','RETRY_CONNECTING_MAX_COUNT','error$','_hash','disableLocalCache','ENTITLE_REPORT_LIMIT_EXCEED','_members$','status$','INVALID_INVITE_CODE','body','session.join-failed','reverse','words','_initRequestHeader','decrypt','_scheduleCompleteTimestamp','ONLINE','setCurrentUser','includes','univer-pro.collaboration-client-socket-service','members','_injector','MUTATION','NoPadding','iterations','PERMISSION_DENIED','duration','_doReset','awaiting','IDLE','range','signUrlServerUrl','_sessions','reset','_permissionService','YUUMI_RATE_OVER_LIMIT','encodeURIComponent','updateCollaborator','getUnitStatus$','finalize','getActiveSheet','/object/','awaiting_with_pending','_onRemoteACK','_iv','UNKNOWN_CMD','_tryReconnect','getUnitType','_transformStack','_imageSourceCache','authzUrl','\x20-\x20','_acknowledgedAwaitingChangeset','_DEC_XFORM_MODE','_eventService','_sessionStatus$','_updateLocalCache','_socketService','focused$','_sendingTimer','has','_compressMutationService','REDEMPTION_CODE_FULLY_REDEEMED','collaboration-client.local-cache-service','workbook','add','_memberService','YUUMI_CONNECTOR_URL_NOT_FOUND','capture','_disableEditing','_onRemoteChangeset','getValue','catch','next','/resources','_nDataBytes','_retryCount','createCollaborator','_onFetchMissResult','_timeoutTimer','_initCloseConn','equals','forEach','status','session.room-cnt-exceeds','_awaitingChangeset','HttpExport','telemetry\x20info\x20is\x20not\x20initialized','_invKeySchedule','_onLocalMutation','collabSubmitChangesetUrl','LICENSE_EXPORT_SIZE_EXCEEDED','USER_NOT_FOUND','socket\x20close','_sheetTransformSelectionsService','_collaborationUIEventService','objectType','getUnit','_onConnectionOpen','JOIN_ROOM_FULL','_onRecvEvent','random','toggleOffline','_changesetSessionId','confirm','_registerDependencies','onTransformRemoteChangesetByIMECache','localeService','[CollaborationState]:\x20apply\x20error!','/rev/','_transitionLocked','getUnitId','reduce','_state','deepClone','function','onlyLocal','objectID','getUnitOnRev','ENTITLE_DUP_SUBSCRIPTION','getMemberID','JOIN_ROOM_FAILED','BufferedBlockAlgorithm','FAIL','_parse','unknown','originalMeta','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SHOULD_CLOSE_CONN','OFFLINE','EMAIL_VERIFY_CODE_MISMATCH','size','getResourcesRequest','OTHER_CLIENTS_EDITING','decryptBlock','replace','JOINING','CHANGESET_REVISION_CONFILICT','onRemoteChangeset','socket\x20open.','OPTIONAL','symbol','LIVESHARE_NEW_HOST','m2Prime','CHANGESET_ACK','16922vyzlmT','SUBMIT_CHANGESET','UnitSnapshot','_doFinalize','_transformRemoteChangesetByStateCache','LIVESHARE_OPERATION','then','_type','LICENSE_MAX_UNITS_EXCEEDED','_executeRemoteChangeset','USERS_LEAVE','_undoRedoService','addImageSourceCache','UNIVER_SHEET','saveSnapshot','_fetchMissChangesets','DATA_SOURCE_TOO_LARGE','initWorkbookPermissionChange','_ENC_XFORM_MODE','_createInitialState','slice','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','JOIN_ROOM_NOT_EXISTS','reqId','CLOSE_ROOM','/unit/','_getAPIPrefix','encrypt','unitInfo$','AES','_getUndoStack','getTypeOfUnitAdded$','getSheetBlock','/universer-api/stream/file/upload','NOT_COLLAB','splice','emitEvent','_resendTimeout','loadUnitOfRevision','parse','_getCurrentRevision','LIVESHARE_REQUEST_HOST','_createHelper','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','UNISCRIPT_RUN','_mode','resourceIDs','COMMENT_UPDATE','?size=','onRemoteRetry','\x0aCurrent:\x20','selections','_unitID','_substituteUndoStack','kdf','online$','algo','enc','putCollaborators','4PpNxvP','Error\x20on\x20receiving\x20event','mode','_getSendChangesetTimeout','_getAPIPrefixPath','debug','ENSURE_SNAPSHOT_EXECUTION','ENTITLE_NEED_BILLING_ADDRESS','post','avatar','YUUMI_UNABLE_LOAD_URL','createEncryptor','executeCommand','list','compose','$super','_transformService','clear','OTHER_CLIENT_EDITING','repeat','_tryEnsureSocket','cmd','mutations','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','updateSnapshot','YUUMI_ALL_TABLES_IS_INVALID','INGEST','_append','lib','_getCtorByUniverType','_joinRoom','CipherParams','from','440274GIzitq','prototype','_entityInit$','CONFLICT','copyFileMeta','clone','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PSEUDO_FETCH_MISSING_RESULT','CURRENT_STATUS_CANNOT_OPERATE','url','getTime','CBC','dispose','Hasher','failed\x20to\x20apply\x20missed\x20changesets!','UNDEFINED','offline','_collaborationTimeoutTimer','CONNECTOR_DATA_TOO_LARGE','_startTelemetryCollaborationNewChangeset','/block/','HttpImport','_collaborationPaused','getTypeOfUnitDisposed$','readInt32LE','message$','UNIVER_SLIDE','ceil','FETCH_MISS','reconnect','_collabSessionService','mixIn','_shouldReportTelemetry','localCacheService','/role','fromCharCode','eventID','sigBytes','listRoles','enableCollaboration','UserProfileImg','exports','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_throwTelemetryCollaborationNewChangeset','_status$','MSG_FOR_ERROR','INVALID_ARGUMENT','[SyncedState]:\x20received\x20acknowledgement.','collaborators','_hasher','_onConflict','_onConnectionFailed','_snapshotService','close','unitId','requestParams','fetchThroughInterceptors','YUUMI_ASYNCIO_CANCELLED','_queuedRemoteChangesets','liveShareNewHost','csShouldRetryEvent','APPLY_REVISION_CONFILICT','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_cipher','location','ERROR_IMAGE_TYPE','liveShareOperation','_oKey','SNAPSHOT_HAS_BEEN_REMOVED','&source=','create','sheets','AUTHORIZE_CODE_ILLEGAL','Failed\x20to\x20update\x20permission\x20point','_iKey','editingUnit','Base64','_data','23ESxZqD','permissionRejEvent','onRemoteAck','_telemetryService','People','_resendTimer','getWorkbookSelections','onMissingChangesets','647410qUyISN','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','map','MOBILE_HAS_BEEN_BOUND','toString','YUUMI_SUBSCRIPTION_NOT_FOUND','awaitingChangeset','_waitCount','_onOffline','[UniverCollaborationClientPlugin]','_xformMode','HEARTBEAT','actions','byteOffset','members$','UUID','{fileID}','PY_RUNTIME_SCRIPT_ERROR','routeKey','loadDoc','leaveEvent','pipe','target','INVITE_CODE_ALREADY_BOUND','JOIN','update','INVITE_CODE_HAS_BEEN_UES','_changesetReqId','UnitEmbedded','incrementRevOfUnit','_rescheduleHeartbeat','HmacSHA1','MD5','execute','format','ENTITLE_INSUFFICIENT_QUOTA','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','fetchMissingChangesets','state','AWAITING','userID','_stopTelemetryCollaborationNewChangeset','image/jpg','formatter','updateOfflineData','event$','_transformSelections','_transformStateCache','/collaborator','PERSON','salt','LICENSE_DISTRO_REJECTED','SUCCUSS','GLOBAL_ROOMS_CNT_EXCEEDS','string','length','_minBufferSize','_onRemoteRejected','getSheetId','pauseCollaboration','LICENSE_IMPORT_SIZE_EXCEEDED','FileId','REDEMPTION_USER_NOT_ELIGIBLE','_reverseMap','onTransformSelections','StreamCipher','LIVESHARE_TERMINATE','ERROR_IMAGE','UNAUTHENTICATED','waitForRoom$','updateMember','stringify','APPLY_NON_SEQUENTIAL_REVISION','getFocusedUnit','isArray','blockSize','createSocket','_commentUpdate$','_transformRemoteChangesetByIMECache','[CollaborationSessionService]','HELLO','snapshot','_entities','joinEvent','padding','keySize','error','_clearScheduledTask','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','session.room-not-exists','type','_commentService','roles','EvpKDF','_candidateSocket','saveChangeset','84MxQjME','Undefined','registerHTTPInterceptor','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','every','_isPermissionRej','_removeRoom','crypto','_event$','getOwnPropertyDescriptor','unitID','_roomMembers','params','abs','getConfig','_undoStacks','join','[CollaborationEntity]','NOT_FOUND','close$','_config','[DataLoaderService]','onTransformIME','subscribe','disposeWithMe','LOCAL_CACHE_INTERVAL','objectActions','REDEMPTION_CODE_INACTIVE','LEAVE','/fetchmissing?from=','_roomCreated$','collaboration-client.config','encryptBlock','PENDING','UNIVER_DOC','baseRev','complete','_unitInfo$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','infoRsp','_toggleOnline','NEW_CHANGESETS','BlockCipherMode','_telemetryInfo','removeMember','_onCombEvent','clamp','_startCollaboration','find','stopTime','hasOwnProperty','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','data','startTime','_getRedoStack','_univerInstanceService','_state$','_createSocket','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity$','_userManagerService','send','_transformUndoredo','_listenToNetworkCondition','YUUMI_NO_CUBOID_FOR_QUESTION','LOGIN_TOKEN_PROCESSING_FAILED','collabWebSocketUrl','_doCryptBlock','onload'];_0x536b=function(){return _0x56164c;};return _0x536b();}class ge{constructor(_0x5b8de1,_0x5bb994,_0x2431dc,_0x177e1d,_0x57aa44,_0xde0f51,_0x1b5223,_0x3d6058,_0x4f4e72){var _0x3c427a=_0x3bcbc5;D(this,'_awaitingChangeset',null),D(this,_0x3c427a(0x449),[]),(this[_0x3c427a(0x2f2)]=_0x5b8de1,this[_0x3c427a(0x2e2)]=_0x5bb994,this[_0x3c427a(0x331)]=_0x57aa44,this[_0x3c427a(0x3f7)]=_0xde0f51,this['_undoRedoService']=_0x1b5223,this[_0x3c427a(0x37a)]=_0x3d6058,this['_localCacheService']=_0x4f4e72,this['_awaitingChangeset']=_0x2431dc,this[_0x3c427a(0x449)]=_0x177e1d);}[_0x3bcbc5(0x44a)](_0x3225b1){var _0x4750b9=_0x3bcbc5;const _0x16c7c5=this[_0x4750b9(0x37a)][_0x4750b9(0x386)](this[_0x4750b9(0x2f2)]);return _0x3225b1[_0x4750b9(0x353)]>_0x16c7c5+0x1?(this['_handler'][_0x4750b9(0x286)]({'from':_0x16c7c5,'to':_0x3225b1[_0x4750b9(0x353)]-0x1}),!0x0):!0x1;}[_0x3bcbc5(0x326)](_0x42e8bf){var _0x4fd07d=_0x3bcbc5;this[_0x4fd07d(0x1e0)][_0x4fd07d(0x3dd)](this['unitID'],_0x42e8bf);}[_0x3bcbc5(0x2b5)](_0x1f286e){var _0x5cabdf=_0x3bcbc5,_0x4f30ac,_0x47b056;(_0x47b056=(_0x4f30ac=this[_0x5cabdf(0x331)])[_0x5cabdf(0x2c7)])==null||_0x47b056[_0x5cabdf(0x41d)](_0x4f30ac,_0x1f286e);}['_transformIMECache'](_0x593d8b){var _0x4f36cb=_0x3bcbc5,_0x1e1214,_0xc260f7;return(_0xc260f7=(_0x1e1214=this[_0x4f36cb(0x331)])[_0x4f36cb(0x2fe)])==null?void 0x0:_0xc260f7[_0x4f36cb(0x41d)](_0x1e1214,_0x593d8b);}[_0x3bcbc5(0x2b6)](_0x24b23a){var _0x4287c8=_0x3bcbc5,_0x5bb939,_0x12b9e8;return(_0x12b9e8=(_0x5bb939=this[_0x4287c8(0x331)])['onTransformState'])==null?void 0x0:_0x12b9e8[_0x4287c8(0x41d)](_0x5bb939,_0x24b23a);}[_0x3bcbc5(0x2d5)](_0x6ae5d){var _0x4147ca=_0x3bcbc5,_0x2f9b88,_0x486718,_0x5234b3;return(_0x5234b3=(_0x486718=(_0x2f9b88=this[_0x4147ca(0x331)])[_0x4147ca(0x4b8)])==null?void 0x0:_0x486718[_0x4147ca(0x41d)](_0x2f9b88,_0x6ae5d))!=null?_0x5234b3:_0x6ae5d;}[_0x3bcbc5(0x1d9)](_0x39c9a0){var _0x2531bb=_0x3bcbc5,_0x53f761,_0x35ae21,_0x59fa83;return(_0x59fa83=(_0x35ae21=(_0x53f761=this[_0x2531bb(0x331)])[_0x2531bb(0x3c0)])==null?void 0x0:_0x35ae21[_0x2531bb(0x41d)](_0x53f761,_0x39c9a0))!=null?_0x59fa83:_0x39c9a0;}[_0x3bcbc5(0x3c4)](_0x5bbf22){var _0x301427=_0x3bcbc5,_0x34a485,_0x5162e8;if(this[_0x301427(0x2e2)]===Q[_0x301427(0x30a)]){const {unitID:_0x586c53,mutations:_0x478c4b,memberID:_0x8f7a4}=_0x5bbf22,_0x3ed89b=_0x478c4b[_0x301427(0x2be)]>0x0?_0x478c4b[0x0]['params']['textRanges']:[];Array[_0x301427(0x2d1)](_0x3ed89b)&&_0x3ed89b['length']>0x0&&((_0x5162e8=(_0x34a485=this[_0x301427(0x331)])[_0x301427(0x3de)])==null||_0x5162e8[_0x301427(0x41d)](_0x34a485,{'unitID':_0x586c53,'memberID':_0x8f7a4,'textRanges':_0x3ed89b}));}}[_0x3bcbc5(0x486)](){var _0x3ed305=_0x3bcbc5,_0x5ee71e;(_0x5ee71e=this[_0x3ed305(0x3c6)])==null||_0x5ee71e[_0x3ed305(0x2b3)](this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x2e5af1=_0x3bcbc5;return this[_0x2e5af1(0x37a)][_0x2e5af1(0x386)](this['unitID']);}[_0x3bcbc5(0x3cb)](){var _0x214f77=_0x3bcbc5;this['_revisionService'][_0x214f77(0x2a4)](this['unitID']);}['_executeRemoteChangeset'](_0x2b0d3e){var _0x542d66=_0x3bcbc5,_0x536c78;let _0x56ea31=this[_0x542d66(0x2d5)](_0x2b0d3e);_0x56ea31=this['_transformRemoteChangesetByStateCache'](_0x56ea31);const _0x4087de=_0x3f9105(_0x56ea31['mutations'],this[_0x542d66(0x3f7)],{'fromCollab':!0x0});if(!_0x4087de['result'])throw _0x4087de[_0x542d66(0x2dd)]instanceof Error?_0x4087de[_0x542d66(0x2dd)]:new Error((_0x536c78=_0x4087de[_0x542d66(0x2dd)])!=null?_0x536c78:_0x542d66(0x1b0));this['_transformIMECache'](_0x56ea31),this[_0x542d66(0x2b6)](_0x56ea31),this[_0x542d66(0x326)](_0x2b0d3e),this[_0x542d66(0x2b5)](_0x56ea31),this[_0x542d66(0x3c4)](_0x56ea31),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x1825c5,_0x40c0b5,_0x48f8bf,_0x4b4ea5,_0x19fd65,_0xf550c3,_0x588133,_0x423351,_0xd2d1e9,_0x5cc266){var _0x7494f2=_0x3bcbc5;super(_0x1825c5,_0x40c0b5,null,[],_0x48f8bf,_0x588133,_0xf550c3,_0x4b4ea5,_0x5cc266),D(this,'status',_0x7494f2(0x3e3)),(this[_0x7494f2(0x463)]=_0x19fd65,this[_0x7494f2(0x3dc)]=_0x423351,this[_0x7494f2(0x220)]=_0xd2d1e9,this[_0x7494f2(0x252)]=_0x5cc266);}['appendMutation'](_0x23a0a4){var _0xca2bf7=_0x3bcbc5;const _0x4c27f5=this[_0xca2bf7(0x463)][_0xca2bf7(0x42b)](ae,this[_0xca2bf7(0x2f2)],this[_0xca2bf7(0x2e2)],[_0x23a0a4],this[_0xca2bf7(0x331)]);return _0x4c27f5[_0xca2bf7(0x370)](),_0x4c27f5[_0xca2bf7(0x486)](),_0x4c27f5;}['onRemoteChangeset'](_0x2be59d){var _0x3fbf6a=_0x3bcbc5;if(this[_0x3fbf6a(0x44a)](_0x2be59d))return this[_0x3fbf6a(0x463)][_0x3fbf6a(0x42b)](ee,this[_0x3fbf6a(0x2f2)],this[_0x3fbf6a(0x2e2)],null,[],null,[_0x2be59d],this[_0x3fbf6a(0x331)]);try{const _0x38f5d3=this[_0x3fbf6a(0x220)][_0x3fbf6a(0x3b7)](_0x2be59d,[_0xceda4]);if(_0x1f0a15(_0x38f5d3)){const {c1Prime:_0x4b279e}=_0x38f5d3;return this[_0x3fbf6a(0x1de)](_0x4b279e),this;}throw _0x38f5d3[_0x3fbf6a(0x2dd)];}catch(_0x16360b){return this[_0x3fbf6a(0x3dc)][_0x3fbf6a(0x2dd)](_0x16360b),this[_0x3fbf6a(0x263)](!0x1);}}[_0x3bcbc5(0x263)](_0x2efe97){var _0x11159a=_0x3bcbc5;return this[_0x11159a(0x463)]['createInstance'](ue,this[_0x11159a(0x2f2)],this[_0x11159a(0x2e2)],null,[],this[_0x11159a(0x331)],_0x2efe97);}[_0x3bcbc5(0x281)](){var _0x45571b=_0x3bcbc5;throw new Error(_0x45571b(0x260));}[_0x3bcbc5(0x355)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x3bcbc5(0x4b4)](){var _0x567ea6=_0x3bcbc5;return this[_0x567ea6(0x463)][_0x567ea6(0x42b)](de,this[_0x567ea6(0x2f2)],this['type'],null,[],this[_0x567ea6(0x331)]);}['toggleOnline'](){return this;}[_0x3bcbc5(0x447)](){var _0x1226b9=_0x3bcbc5;throw new Error(_0x1226b9(0x322));}['fetchMiss'](){var _0x101f0e=_0x3bcbc5;const _0x1d8d5d=this[_0x101f0e(0x37a)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x101f0e(0x331)]['onMissingChangesets']({'from':_0x1d8d5d,'to':0x0}),this[_0x101f0e(0x463)][_0x101f0e(0x42b)](ee,this[_0x101f0e(0x2f2)],this['type'],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x1b5fe1(_0x322fd6)),w(0x4,_0x1b5fe1(_0x3f0769)),w(0x5,_0x3b359c),w(0x6,_0x246ef8),w(0x7,_0xbe786),w(0x8,_0x247322),w(0x9,_0x426e18(J))],be);let ae=class extends ge{constructor(_0x22d019,_0x160067,_0x35fccb,_0x5f548a,_0xde534c,_0x3d318f,_0x2835db,_0x946fc7,_0x19b997,_0x157a19,_0x591eb1,_0x38d1dc,_0x40b757,_0x16c049){var _0x4107ff=_0x3bcbc5;super(_0x22d019,_0x160067,null,_0x35fccb,_0x5f548a,_0x19b997,_0x40b757,_0x3d318f,_0x16c049),D(this,'status','pending'),D(this,_0x4107ff(0x45d),null),D(this,'_sendingTimer',null),(this[_0x4107ff(0x463)]=_0xde534c,this[_0x4107ff(0x490)]=_0x2835db,this[_0x4107ff(0x3dc)]=_0x946fc7,this[_0x4107ff(0x346)]=_0x157a19,this[_0x4107ff(0x220)]=_0x591eb1,this['_univerInstanceService']=_0x38d1dc);}[_0x3bcbc5(0x446)](_0x55205f){var _0x9171f7=_0x3bcbc5;return this[_0x9171f7(0x449)]['push'](_0x55205f),this['_updateLocalCache'](),this;}[_0x3bcbc5(0x1ce)](_0x1c6441){var _0x27c136=_0x3bcbc5;if(this[_0x27c136(0x44a)](_0x1c6441))return this[_0x27c136(0x2de)](),this[_0x27c136(0x463)][_0x27c136(0x42b)](ee,this[_0x27c136(0x2f2)],this[_0x27c136(0x2e2)],null,this[_0x27c136(0x449)],null,[_0x1c6441],this[_0x27c136(0x331)]);try{const _0xb89c53=this[_0x27c136(0x220)][_0x27c136(0x3b7)](_0x1c6441,this[_0x27c136(0x449)]);if(_0x1f0a15(_0xb89c53)){const {c1Prime:_0x599362,m2Prime:_0x1888c2}=_0xb89c53;this['_executeRemoteChangeset'](_0x599362);const _0x49c45d=this['_injector'][_0x27c136(0x42b)](ae,this[_0x27c136(0x2f2)],this[_0x27c136(0x2e2)],_0x1888c2,this[_0x27c136(0x331)]);this[_0x27c136(0x2de)]();const _0x4998d7=new Date()['getTime'](),_0x4a44aa=this[_0x27c136(0x45d)]?Math['max'](this[_0x27c136(0x45d)]-_0x4998d7,0x0):this[_0x27c136(0x213)]();return _0x49c45d[_0x27c136(0x370)](_0x4a44aa),_0x49c45d;}throw _0xb89c53[_0x27c136(0x2dd)];}catch(_0x3301eb){return this[_0x27c136(0x3dc)][_0x27c136(0x2dd)](_0x3301eb),this[_0x27c136(0x263)](!0x1);}}[_0x3bcbc5(0x281)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3bcbc5(0x355)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3bcbc5(0x206)](){return this;}[_0x3bcbc5(0x4b4)](){var _0x59a783=_0x3bcbc5;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x59a783(0x2f2)],this[_0x59a783(0x2e2)],null,this['_pendingMutations'],this[_0x59a783(0x331)]);}[_0x3bcbc5(0x3a9)](){return this;}[_0x3bcbc5(0x370)](_0x3b3573){var _0x31bc25=_0x3bcbc5;const _0x3db41f=_0x3b3573!=null?_0x3b3573:this['_getSendChangesetTimeout']();this[_0x31bc25(0x45d)]=new Date()[_0x31bc25(0x23b)]()+_0x3db41f,this[_0x31bc25(0x489)]=setTimeout(()=>{var _0x4ce177=_0x31bc25;this[_0x4ce177(0x2de)]();let _0x176f16=null;switch(this['type']){case Q[_0x4ce177(0x1e2)]:{_0x176f16=Vt(this[_0x4ce177(0x449)],this[_0x4ce177(0x2f2)],this[_0x4ce177(0x31f)],this[_0x4ce177(0x37a)],this[_0x4ce177(0x490)]);break;}case Q[_0x4ce177(0x30a)]:{this[_0x4ce177(0x449)][_0x4ce177(0x2ec)](_0x503b2f=>_0x503b2f['id']===_0xc2da57['id'])?_0x176f16=$s(this[_0x4ce177(0x449)],this['unitID'],this[_0x4ce177(0x31f)],this['_revisionService'],this[_0x4ce177(0x490)]):_0x176f16=Vt(this['_pendingMutations'],this[_0x4ce177(0x2f2)],this['_univerInstanceService'],this[_0x4ce177(0x37a)],this[_0x4ce177(0x490)]);break;}default:throw new Error(_0x4ce177(0x3b9)+this[_0x4ce177(0x2e2)]+_0x4ce177(0x420));}const {changeset:_0x5538c4,pendingMutations:_0x216cfb}=_0x176f16;this[_0x4ce177(0x331)]['onSendChangeset'](_0x5538c4);const _0x55419d=_0x216cfb['length']?this['_injector'][_0x4ce177(0x42b)](oe,this[_0x4ce177(0x2f2)],this[_0x4ce177(0x2e2)],_0x5538c4,_0x216cfb,this[_0x4ce177(0x331)],void 0x0):this[_0x4ce177(0x463)][_0x4ce177(0x42b)](le,this[_0x4ce177(0x2f2)],this[_0x4ce177(0x2e2)],_0x5538c4,this[_0x4ce177(0x331)]);_0x55419d[_0x4ce177(0x486)](),this[_0x4ce177(0x331)]['onStateChange'](this,_0x55419d);},_0x3db41f);}[_0x3bcbc5(0x213)](){var _0xecac41;const _0x533b2d=this['_configService']['getConfig'](K);return(_0xecac41=_0x533b2d==null?void 0x0:_0x533b2d['sendChangesetTimeout'])!=null?_0xecac41:ps;}[_0x3bcbc5(0x447)](){var _0x25325a=_0x3bcbc5;throw new Error(_0x25325a(0x288));}[_0x3bcbc5(0x2de)](){var _0x1c277c=_0x3bcbc5;this[_0x1c277c(0x489)]!=null&&(clearTimeout(this[_0x1c277c(0x489)]),this['_sendingTimer']=null);}['_onConflict'](_0x51d38a){var _0x3e997f=_0x3bcbc5;return this[_0x3e997f(0x2de)](),this[_0x3e997f(0x463)][_0x3e997f(0x42b)](ue,this[_0x3e997f(0x2f2)],this[_0x3e997f(0x2e2)],null,this[_0x3e997f(0x449)],this[_0x3e997f(0x331)],_0x51d38a);}};ae=Se([w(0x4,_0x1b5fe1(_0x3f0769)),w(0x5,_0x1b5fe1(_0x322fd6)),w(0x6,_0x1b5fe1(Pe)),w(0x7,_0xbe786),w(0x8,_0x246ef8),w(0x9,_0x12469b),w(0xa,_0x247322),w(0xb,_0x29bce8),w(0xc,_0x3b359c),w(0xd,_0x426e18(J))],ae);let le=class extends ge{constructor(_0x5555b6,_0x3386c2,_0x2c1045,_0x51f9c8,_0x3374b6,_0xba648f,_0x27be2c,_0x34ad49,_0x142924,_0x4b5650,_0x2dc702){var _0x123b51=_0x3bcbc5;super(_0x5555b6,_0x3386c2,_0x2c1045,[],_0x51f9c8,_0x27be2c,_0x4b5650,_0xba648f,_0x2dc702),D(this,_0x123b51(0x4a1),'awaiting'),D(this,_0x123b51(0x1fa),0x0),D(this,_0x123b51(0x284)),D(this,_0x123b51(0x411)),(this[_0x123b51(0x463)]=_0x3374b6,this[_0x123b51(0x3dc)]=_0x34ad49,this['_transformService']=_0x142924);}[_0x3bcbc5(0x446)](_0x494458){var _0x4278b8=_0x3bcbc5;this['_clearScheduledTask']();const _0x572c8e=this[_0x4278b8(0x463)][_0x4278b8(0x42b)](oe,this['unitID'],this[_0x4278b8(0x2e2)],this[_0x4278b8(0x4a3)],[_0x494458],this[_0x4278b8(0x331)],this[_0x4278b8(0x284)]);return _0x572c8e[_0x4278b8(0x486)](),_0x572c8e;}[_0x3bcbc5(0x1ce)](_0x33d966){var _0x5c0aa5=_0x3bcbc5;if(this[_0x5c0aa5(0x44a)](_0x33d966))return this[_0x5c0aa5(0x2de)](),this[_0x5c0aa5(0x463)][_0x5c0aa5(0x42b)](ee,this['unitID'],this[_0x5c0aa5(0x2e2)],this['_awaitingChangeset'],[],null,[_0x33d966],this[_0x5c0aa5(0x331)]);try{const _0x1dc053=this[_0x5c0aa5(0x220)]['transformChangesets']([_0x33d966],[this[_0x5c0aa5(0x4a3)]],!0x1);if(_0x1b5867(_0x1dc053)){const {c1Prime:_0x3efd60,c2Prime:_0x32e57a}=_0x1dc053;this['_executeRemoteChangeset'](_0x3efd60[0x0]),_0x32e57a[0x0][_0x5c0aa5(0x30b)]=this[_0x5c0aa5(0x1fd)](),this[_0x5c0aa5(0x2de)]();const _0x567c73=this[_0x5c0aa5(0x463)]['createInstance'](le,this[_0x5c0aa5(0x2f2)],this[_0x5c0aa5(0x2e2)],_0x32e57a[0x0],this[_0x5c0aa5(0x331)]);return _0x567c73['_updateLocalCache'](),_0x567c73;}return this[_0x5c0aa5(0x263)](!0x1);}catch(_0xcf336b){return this[_0x5c0aa5(0x3dc)][_0x5c0aa5(0x2dd)](_0xcf336b),this['_onConflict'](!0x1);}}[_0x3bcbc5(0x281)](_0x30c865){var _0x38fb1b=_0x3bcbc5;this['_clearScheduledTask']();const _0x52f224=this[_0x38fb1b(0x37a)]['getCurrentRevOfUnit'](this[_0x38fb1b(0x2f2)]);if(_0x30c865[_0x38fb1b(0x353)]<_0x52f224-0x1)return this;if(this[_0x38fb1b(0x44a)](_0x30c865))return this[_0x38fb1b(0x463)][_0x38fb1b(0x42b)](ee,this[_0x38fb1b(0x2f2)],this[_0x38fb1b(0x2e2)],null,[],this['_awaitingChangeset'],[],this[_0x38fb1b(0x331)]);this[_0x38fb1b(0x3cb)]();const _0x50f135=this['_injector']['createInstance'](be,this[_0x38fb1b(0x2f2)],this[_0x38fb1b(0x2e2)],this['_handler']);return _0x50f135['_updateLocalCache'](),_0x50f135;}[_0x3bcbc5(0x355)](_0x35cc3e){var _0x4f04a9=_0x3bcbc5;return this[_0x4f04a9(0x263)](!!(_0x35cc3e!=null&&_0x35cc3e['isPermissionRej']));}[_0x3bcbc5(0x206)](_0x5f15e2){var _0x61a283=_0x3bcbc5;return this[_0x61a283(0x1fa)]>gi?this[_0x61a283(0x4b4)]():(this[_0x61a283(0x284)]=Ii(this[_0x61a283(0x1fa)],{'timeout':this[_0x61a283(0x1fa)],'reqId':_0x5f15e2['reqId']}),this[_0x61a283(0x411)]=this[_0x61a283(0x284)][_0x61a283(0x2ff)](({reqId:_0x236c61,timeout:_0x4deb9d})=>{var _0x416c20=_0x61a283;this[_0x416c20(0x3ee)](_0x236c61,_0x4deb9d);}),this);}[_0x3bcbc5(0x4b4)](){var _0x1b9b87=_0x3bcbc5;return this[_0x1b9b87(0x2de)](),this[_0x1b9b87(0x463)][_0x1b9b87(0x42b)](de,this[_0x1b9b87(0x2f2)],this['type'],this[_0x1b9b87(0x4a3)],[],this[_0x1b9b87(0x331)]);}[_0x3bcbc5(0x3a9)](){return this;}['resend'](){var _0x13f47e=_0x3bcbc5;this['_handler'][_0x13f47e(0x36b)](this[_0x13f47e(0x4a3)]);}[_0x3bcbc5(0x263)](_0x4679a8){var _0x5d2554=_0x3bcbc5;return this[_0x5d2554(0x2de)](),this[_0x5d2554(0x463)][_0x5d2554(0x42b)](ue,this[_0x5d2554(0x2f2)],this[_0x5d2554(0x2e2)],this[_0x5d2554(0x4a3)],[],this[_0x5d2554(0x331)],_0x4679a8);}[_0x3bcbc5(0x3ee)](_0x22539a,_0x5844bf){var _0x16a8db=_0x3bcbc5,_0x5e6a10;_0x22539a===((_0x5e6a10=this[_0x16a8db(0x4a3)])==null?void 0x0:_0x5e6a10[_0x16a8db(0x1ec)])&&(this[_0x16a8db(0x447)](),this['_resendTimeout']=_0x5844bf===0x0?0x3e8:_0x5844bf*0x2);}['_clearScheduledTask'](){var _0x2ebd5b=_0x3bcbc5,_0x43abc3;(_0x43abc3=this[_0x2ebd5b(0x411)])==null||_0x43abc3[_0x2ebd5b(0x384)](),this[_0x2ebd5b(0x1fa)]=0x0;}};le=Se([w(0x4,_0x1b5fe1(_0x3f0769)),w(0x5,_0x1b5fe1(_0x322fd6)),w(0x6,_0x246ef8),w(0x7,_0xbe786),w(0x8,_0x247322),w(0x9,_0x3b359c),w(0xa,_0x426e18(J))],le);let oe=class extends ge{constructor(_0x5b5ef6,_0x5cbbd6,_0x1df8af,_0x2eaeb9,_0x12c47e,_0x347ea1,_0x1b9eea,_0x384679,_0x1eae5f,_0x5a9bf8,_0x4d39c7,_0x49b87e,_0x4ae3c4){var _0x195d9b=_0x3bcbc5;super(_0x5b5ef6,_0x5cbbd6,_0x1df8af,_0x2eaeb9,_0x12c47e,_0x1eae5f,_0x49b87e,_0x384679,_0x4ae3c4),D(this,_0x195d9b(0x4a1),_0x195d9b(0x478)),D(this,_0x195d9b(0x1fa),0x0),D(this,_0x195d9b(0x284)),D(this,_0x195d9b(0x411)),(this[_0x195d9b(0x463)]=_0x1b9eea,this[_0x195d9b(0x3dc)]=_0x5a9bf8,this[_0x195d9b(0x220)]=_0x4d39c7,this[_0x195d9b(0x252)]=_0x4ae3c4,_0x347ea1&&(this[_0x195d9b(0x284)]=_0x347ea1,this[_0x195d9b(0x411)]=this[_0x195d9b(0x284)][_0x195d9b(0x2ff)](({reqId:_0x91de55,timeout:_0x133b41})=>{var _0x196dbe=_0x195d9b;this[_0x196dbe(0x3ee)](_0x91de55,_0x133b41);})));}['appendMutation'](_0x3b7f7e){var _0x1c4917=_0x3bcbc5;return this[_0x1c4917(0x449)]['push'](_0x3b7f7e),this;}[_0x3bcbc5(0x1ce)](_0xd834aa){var _0x12b434=_0x3bcbc5;if(this[_0x12b434(0x44a)](_0xd834aa))return this[_0x12b434(0x2de)](),this['_injector'][_0x12b434(0x42b)](ee,this[_0x12b434(0x2f2)],this[_0x12b434(0x2e2)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0xd834aa],this[_0x12b434(0x331)]);try{const _0x163f9b=this['_transformService'][_0x12b434(0x340)]([_0xd834aa],[this[_0x12b434(0x4a3)]],!0x1);if(_0x1b5867(_0x163f9b)){const {c1Prime:_0x5a26c0,c2Prime:_0x5bc673}=_0x163f9b,_0x29f324=this[_0x12b434(0x220)][_0x12b434(0x3b7)](_0x5a26c0[0x0],this[_0x12b434(0x449)]);if(_0x1f0a15(_0x29f324)){const {c1Prime:_0xec7bef,m2Prime:_0x1d21b7}=_0x29f324;return this[_0x12b434(0x1de)](_0xec7bef),_0x5bc673[0x0]['baseRev']=this[_0x12b434(0x1fd)](),this[_0x12b434(0x2de)](),this['_injector']['createInstance'](oe,this[_0x12b434(0x2f2)],this[_0x12b434(0x2e2)],_0x5bc673[0x0],_0x1d21b7,this[_0x12b434(0x331)],void 0x0);}throw _0x29f324[_0x12b434(0x2dd)];}throw _0x163f9b[_0x12b434(0x2dd)];}catch(_0x38079a){return this['_logService']['error'](_0x38079a),this[_0x12b434(0x263)](!0x1);}}['onRemoteAck'](_0x924b6a){var _0x4c0c77=_0x3bcbc5;if(this[_0x4c0c77(0x2de)](),this[_0x4c0c77(0x44a)](_0x924b6a))return this['_injector'][_0x4c0c77(0x42b)](ee,this[_0x4c0c77(0x2f2)],this[_0x4c0c77(0x2e2)],null,this['_pendingMutations'],this[_0x4c0c77(0x4a3)],[],this[_0x4c0c77(0x331)]);this[_0x4c0c77(0x3cb)]();const _0x7502b6=this['_injector']['createInstance'](ae,this[_0x4c0c77(0x2f2)],this[_0x4c0c77(0x2e2)],this[_0x4c0c77(0x449)],this[_0x4c0c77(0x331)]);return _0x7502b6[_0x4c0c77(0x370)](),_0x7502b6[_0x4c0c77(0x486)](),_0x7502b6;}[_0x3bcbc5(0x355)](_0x45d78a){var _0x4530df=_0x3bcbc5;return this[_0x4530df(0x263)](!!(_0x45d78a!=null&&_0x45d78a[_0x4530df(0x3bc)]));}[_0x3bcbc5(0x206)](_0x1f4b6b){var _0x5ce4a9=_0x3bcbc5;return this[_0x5ce4a9(0x1fa)]>gi?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x5ce4a9(0x1fa)],{'timeout':this[_0x5ce4a9(0x1fa)],'reqId':_0x1f4b6b[_0x5ce4a9(0x1ec)]}),this[_0x5ce4a9(0x411)]=this[_0x5ce4a9(0x284)]['subscribe'](({reqId:_0x249505,timeout:_0x59e41e})=>{var _0x2bb854=_0x5ce4a9;this[_0x2bb854(0x3ee)](_0x249505,_0x59e41e);}),this);}[_0x3bcbc5(0x4b4)](){var _0x2c3858=_0x3bcbc5;return this[_0x2c3858(0x2de)](),this[_0x2c3858(0x463)][_0x2c3858(0x42b)](de,this[_0x2c3858(0x2f2)],this[_0x2c3858(0x2e2)],this['_awaitingChangeset'],this[_0x2c3858(0x449)],this[_0x2c3858(0x331)]);}[_0x3bcbc5(0x3a9)](){return this;}['resend'](){var _0xac4185=_0x3bcbc5;this[_0xac4185(0x331)][_0xac4185(0x36b)](this[_0xac4185(0x4a3)]);}[_0x3bcbc5(0x263)](_0x12e994){var _0x19caf8=_0x3bcbc5;return this['_clearScheduledTask'](),this[_0x19caf8(0x463)]['createInstance'](ue,this[_0x19caf8(0x2f2)],this[_0x19caf8(0x2e2)],null,this[_0x19caf8(0x449)],this[_0x19caf8(0x331)],_0x12e994);}[_0x3bcbc5(0x3ee)](_0x365cf9,_0x35ab69){var _0x5356d3=_0x3bcbc5,_0x2977d1;_0x365cf9===((_0x2977d1=this[_0x5356d3(0x4a3)])==null?void 0x0:_0x2977d1[_0x5356d3(0x1ec)])&&(this[_0x5356d3(0x447)](),this[_0x5356d3(0x1fa)]=_0x35ab69===0x0?0x3e8:_0x35ab69*0x2);}[_0x3bcbc5(0x2de)](){var _0x443ce8=_0x3bcbc5,_0x112cff;(_0x112cff=this['_sender'])==null||_0x112cff[_0x443ce8(0x384)](),this[_0x443ce8(0x1fa)]=0x0;}};oe=Se([w(0x6,_0x1b5fe1(_0x3f0769)),w(0x7,_0x1b5fe1(_0x322fd6)),w(0x8,_0x246ef8),w(0x9,_0xbe786),w(0xa,_0x247322),w(0xb,_0x3b359c),w(0xc,_0x426e18(J))],oe);let ue=class extends ge{constructor(_0x17a52a,_0x5aaa50,_0x21dcb8,_0x1e44c0,_0x6326bb,_0x521580=!0x1,_0x56d0f0,_0x528d87,_0x1ee689,_0x31745f,_0x11ea71,_0x3f8be0,_0x1cd558){var _0x3657d0=_0x3bcbc5;super(_0x17a52a,_0x5aaa50,_0x21dcb8,_0x1e44c0,_0x6326bb,_0x528d87,_0x1ee689,_0x31745f,_0x1cd558),D(this,_0x3657d0(0x4a1),_0x3657d0(0x442)),(this[_0x3657d0(0x2ed)]=_0x521580,this[_0x3657d0(0x470)]=_0x56d0f0,this[_0x3657d0(0x410)]=_0x11ea71,this[_0x3657d0(0x4ad)]=_0x3f8be0,this[_0x3657d0(0x252)]=_0x1cd558,this['_showConflictNotification'](),this[_0x3657d0(0x431)](),this[_0x3657d0(0x493)]());}[_0x3bcbc5(0x446)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x3bcbc5(0x206)](){return this;}['toggleOffline'](){return this;}[_0x3bcbc5(0x3a9)](){return this;}[_0x3bcbc5(0x447)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3bcbc5(0x431)](){var _0x3f2317=_0x3bcbc5,_0x236ec0;(_0x236ec0=this['_localCacheService'])==null||_0x236ec0['updateOfflineData'](this[_0x3f2317(0x2f2)],this[_0x3f2317(0x2e2)],null,[]);}[_0x3bcbc5(0x342)](){var _0x1d4506=_0x3bcbc5;this[_0x1d4506(0x2ed)]?this['_collaborationUIEventService'][_0x1d4506(0x1f9)]({'id':re[_0x1d4506(0x467)]}):this[_0x1d4506(0x4ad)][_0x1d4506(0x1f9)]({'id':re[_0x1d4506(0x234)]});}['_disableEditing'](){var _0x5b8169=_0x3bcbc5;this[_0x5b8169(0x470)][_0x5b8169(0x3d0)](new _0x119f04(this[_0x5b8169(0x2f2)])['id'],!0x1);}};ue=Se([w(0x6,_0x1b5fe1(_0x14e6d6)),w(0x7,_0x246ef8),w(0x8,_0x3b359c),w(0x9,_0x1b5fe1(_0x322fd6)),w(0xa,_0x1b5fe1(_0x3f3943)),w(0xb,_0x1b5fe1(ve)),w(0xc,_0x426e18(J))],ue);let de=class extends ge{constructor(_0x37fa4a,_0x1d4d96,_0x392f92,_0x37a7,_0x5d0f14,_0x35d09,_0x1ef58e,_0x3c6445,_0x8ce5c3,_0x16349d){var _0x29540d=_0x3bcbc5;super(_0x37fa4a,_0x1d4d96,_0x392f92,_0x37a7,_0x5d0f14,_0x3c6445,_0x8ce5c3,_0x1ef58e,_0x16349d),D(this,_0x29540d(0x4a1),_0x29540d(0x241)),this[_0x29540d(0x463)]=_0x35d09;}[_0x3bcbc5(0x446)](_0x1b41d6){var _0x331708=_0x3bcbc5;return this[_0x331708(0x449)]['push'](_0x1b41d6),this[_0x331708(0x486)](),this;}['onRemoteChangeset'](_0x5c5955){var _0xab79d8=_0x3bcbc5;throw new Error(_0xab79d8(0x351));}[_0x3bcbc5(0x281)](){var _0x418acc=_0x3bcbc5;throw new Error(_0x418acc(0x3c9));}[_0x3bcbc5(0x355)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3bcbc5(0x206)](){return this;}[_0x3bcbc5(0x4b4)](){return this;}['toggleOnline'](){var _0x4ecdf0=_0x3bcbc5;const {_injector:_0x379cb9,_pendingMutations:_0xdfc44f,_awaitingChangeset:_0x532989,unitID:_0x5f2b6c,_handler:_0x36ac51,type:_0x4dc9ab}=this,_0x54f627=Ti(_0x379cb9,_0x5f2b6c,_0x4dc9ab,_0x532989,_0xdfc44f,_0x36ac51);return _0x54f627 instanceof ae?_0x54f627[_0x4ecdf0(0x370)]():(_0x54f627 instanceof oe||_0x54f627 instanceof le)&&_0x54f627[_0x4ecdf0(0x447)](),_0x54f627;}[_0x3bcbc5(0x447)](){var _0x505f70=_0x3bcbc5;throw new Error(_0x505f70(0x43f));}};de=Se([w(0x5,_0x1b5fe1(_0x3f0769)),w(0x6,_0x1b5fe1(_0x322fd6)),w(0x7,_0x246ef8),w(0x8,_0x3b359c),w(0x9,_0x426e18(J))],de);let ee=class extends ge{constructor(_0x3b6a86,_0x35f058,_0x1b8945,_0xc09a41,_0x51b50e,_0x15eaf5,_0x5dee95,_0x3d2fc2,_0x44c2eb,_0xe7d6d0,_0x454923,_0x3b435a,_0x190f5e,_0x26e87e){var _0x400f3c=_0x3bcbc5;super(_0x3b6a86,_0x35f058,_0x1b8945,_0xc09a41,_0x5dee95,_0x454923,_0x3b435a,_0x44c2eb,_0x26e87e),D(this,'status',_0x400f3c(0x441)),(this[_0x400f3c(0x482)]=_0x51b50e,this[_0x400f3c(0x26b)]=_0x15eaf5,this['_injector']=_0x3d2fc2,this[_0x400f3c(0x3dc)]=_0xe7d6d0,this[_0x400f3c(0x220)]=_0x190f5e,this[_0x400f3c(0x252)]=_0x26e87e);}[_0x3bcbc5(0x41b)](_0x2bfed5){var _0x37278f=_0x3bcbc5;try{const _0x488290=[..._0x2bfed5,...this[_0x37278f(0x26b)]],_0x49cfff=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x45b4f3=>!!_0x45b4f3);let _0x30c4ad,_0x22483a;if(_0x49cfff[_0x37278f(0x2be)]){const _0x1430b9=this[_0x37278f(0x220)]['transformChangesets'](_0x488290,_0x49cfff,!0x1);if(!_0x1b5867(_0x1430b9))throw _0x1430b9['error'];_0x30c4ad=_0x1430b9[_0x37278f(0x34d)],_0x22483a=_0x1430b9['c2Prime'];}else _0x30c4ad=_0x488290,_0x22483a=[];let _0x498fb=this['_pendingMutations'];_0x30c4ad[_0x37278f(0x4a0)](_0x2ce175=>{var _0x474cb5=_0x37278f;let _0x3ec685;if(_0x498fb['length']){const _0x1ebf46=this[_0x474cb5(0x220)]['transformMutationsWithChangeset'](_0x2ce175,_0x498fb);if(!_0x1f0a15(_0x1ebf46))throw _0x1ebf46[_0x474cb5(0x2dd)];_0x3ec685=_0x1ebf46[_0x474cb5(0x34d)],_0x498fb=_0x1ebf46[_0x474cb5(0x1d3)];}else _0x3ec685=_0x2ce175;this[_0x474cb5(0x1de)](_0x3ec685);}),this[_0x37278f(0x482)]&&this['_incrementRevisionNumber'](),this[_0x37278f(0x4a3)]&&_0x22483a['length']&&(_0x22483a[0x0]['baseRev']=this[_0x37278f(0x1fd)]());let _0x134aa0;if(this[_0x37278f(0x4a3)]&&_0x498fb[_0x37278f(0x2be)]!==0x0)_0x134aa0=this['_injector'][_0x37278f(0x42b)](oe,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],_0x22483a[0x0],_0x498fb,this[_0x37278f(0x331)],void 0x0);else{if(this['_awaitingChangeset']&&_0x498fb[_0x37278f(0x2be)]===0x0)_0x22483a[0x0][_0x37278f(0x30b)]=this[_0x37278f(0x1fd)](),_0x134aa0=this[_0x37278f(0x463)][_0x37278f(0x42b)](le,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],_0x22483a[0x0],this[_0x37278f(0x331)]);else{if(_0x498fb[_0x37278f(0x2be)]!==0x0){const _0x26c614=this[_0x37278f(0x463)][_0x37278f(0x42b)](ae,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],_0x498fb,this[_0x37278f(0x331)]);_0x26c614[_0x37278f(0x370)](),_0x134aa0=_0x26c614;}else _0x134aa0=this[_0x37278f(0x463)][_0x37278f(0x42b)](be,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],this['_handler']);}}return _0x134aa0['_updateLocalCache'](),_0x134aa0;}catch(_0x3c8866){return this[_0x37278f(0x3dc)][_0x37278f(0x2dd)](_0x37278f(0x33e),_0x37278f(0x23f),_0x3c8866),this['_injector'][_0x37278f(0x42b)](ue,this[_0x37278f(0x2f2)],this[_0x37278f(0x2e2)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x37278f(0x331)],!0x1);}}[_0x3bcbc5(0x447)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3bcbc5(0x446)](_0xfbc221){var _0x44ac31=_0x3bcbc5;return this[_0x44ac31(0x449)][_0x44ac31(0x35e)](_0xfbc221),this;}[_0x3bcbc5(0x1ce)](_0x180d1e){var _0x5d1c6a=_0x3bcbc5;return this[_0x5d1c6a(0x26b)]['push'](_0x180d1e),this;}[_0x3bcbc5(0x281)](_0x52db4d){var _0x41abdc=_0x3bcbc5;if(this[_0x41abdc(0x4a3)])return this['_acknowledgedAwaitingChangeset']=this[_0x41abdc(0x4a3)],this[_0x41abdc(0x4a3)]=null,this;throw new Error(_0x41abdc(0x32e));}[_0x3bcbc5(0x355)](_0x870b51){var _0x35663f=_0x3bcbc5;return this[_0x35663f(0x263)](!!(_0x870b51!=null&&_0x870b51[_0x35663f(0x3bc)]));}[_0x3bcbc5(0x206)](){return this;}['toggleOffline'](){var _0xb2cc97=_0x3bcbc5;return this[_0xb2cc97(0x463)][_0xb2cc97(0x42b)](de,this[_0xb2cc97(0x2f2)],this['type'],this[_0xb2cc97(0x4a3)],this['_pendingMutations'],this[_0xb2cc97(0x331)]);}[_0x3bcbc5(0x3a9)](){return this;}[_0x3bcbc5(0x263)](_0x2f492f){var _0x1a1516=_0x3bcbc5;return this['_injector'][_0x1a1516(0x42b)](ue,this[_0x1a1516(0x2f2)],this['type'],this['_awaitingChangeset'],this[_0x1a1516(0x449)],this[_0x1a1516(0x331)],_0x2f492f);}};ee=Se([w(0x7,_0x1b5fe1(_0x3f0769)),w(0x8,_0x1b5fe1(_0x322fd6)),w(0x9,_0xbe786),w(0xa,_0x246ef8),w(0xb,_0x3b359c),w(0xc,_0x247322),w(0xd,_0x426e18(J))],ee);function Ti(_0x5e08b9,_0x42b775,_0x3a9d4c,_0x189ef6,_0x6423ab,_0x2d714f){var _0x1517ac=_0x3bcbc5;return _0x189ef6&&_0x6423ab[_0x1517ac(0x2be)]?_0x5e08b9[_0x1517ac(0x42b)](oe,_0x42b775,_0x3a9d4c,_0x189ef6,_0x6423ab,_0x2d714f,void 0x0):_0x189ef6?_0x5e08b9['createInstance'](le,_0x42b775,_0x3a9d4c,_0x189ef6,_0x2d714f):_0x6423ab[_0x1517ac(0x2be)]?_0x5e08b9[_0x1517ac(0x42b)](ae,_0x42b775,_0x3a9d4c,_0x6423ab,_0x2d714f):_0x5e08b9['createInstance'](be,_0x42b775,_0x3a9d4c,_0x2d714f);}var Hs=Object[_0x3bcbc5(0x2f1)],At=(_0x128b0b,_0x2e02de,_0x5e5f4a,_0x5e1570)=>{var _0x4a54b3=_0x3bcbc5;for(var _0x57d2c4=_0x5e1570>0x1?void 0x0:_0x5e1570?Hs(_0x2e02de,_0x5e5f4a):_0x2e02de,_0x2111ff=_0x128b0b[_0x4a54b3(0x2be)]-0x1,_0x507672;_0x2111ff>=0x0;_0x2111ff--)(_0x507672=_0x128b0b[_0x2111ff])&&(_0x57d2c4=_0x507672(_0x57d2c4)||_0x57d2c4);return _0x57d2c4;},k=(_0x40b037,_0x5944b1)=>(_0x2ed19e,_0x4ee18b)=>_0x5944b1(_0x2ed19e,_0x4ee18b,_0x40b037);let st=class extends _0x2e3b72{constructor(_0x14d33d,_0x33f95a,_0x46b38d,_0xfba84c,_0x3202f8,_0x2f6b44,_0x3687c6,_0x5e3817,_0x4f8c1f,_0xb1481a,_0x2ad7b4,_0x5cc88c,_0x42e619,_0x1c7a97){var _0x3734f5=_0x3bcbc5;super(),D(this,_0x3734f5(0x320),new _0x3dcdfa(null)),D(this,'state$',this[_0x3734f5(0x320)][_0x3734f5(0x405)]()),D(this,_0x3734f5(0x1b5)),D(this,'_collaborationPaused',!0x1),D(this,_0x3734f5(0x4b5),''),D(this,_0x3734f5(0x2a2),0x0),D(this,_0x3734f5(0x455),this[_0x3734f5(0x3d9)][_0x3734f5(0x29c)](_0xe270b0(_0x4c1ac3=>_0x4c1ac3?_0x4c1ac3[_0x3734f5(0x4a1)]:Si[_0x3734f5(0x1c5)]),_0x3a5b49(0x1))),D(this,_0x3734f5(0x1b2),!0x1),D(this,_0x3734f5(0x33f),[]),(this[_0x3734f5(0x2f2)]=_0x14d33d,this[_0x3734f5(0x34a)]=_0x33f95a,this['_type']=_0x46b38d,this[_0x3734f5(0x463)]=_0xfba84c,this[_0x3734f5(0x48b)]=_0x3202f8,this[_0x3734f5(0x410)]=_0x2f6b44,this[_0x3734f5(0x37a)]=_0x3687c6,this['_eventService']=_0x5e3817,this[_0x3734f5(0x31f)]=_0x4f8c1f,this[_0x3734f5(0x3dc)]=_0xb1481a,this[_0x3734f5(0x3f7)]=_0x2ad7b4,this[_0x3734f5(0x470)]=_0x5cc88c,this['_singleActiveUnitService']=_0x42e619,this[_0x3734f5(0x3c6)]=_0x1c7a97);}get[_0x3bcbc5(0x2ad)](){var _0x3fc1ff=_0x3bcbc5;return this[_0x3fc1ff(0x1b5)];}async[_0x3bcbc5(0x38c)](){var _0x5649f4=_0x3bcbc5;if(this[_0x5649f4(0x2ad)])throw new Error(_0x5649f4(0x2ab));await this['_init']();}[_0x3bcbc5(0x2c2)](){var _0x5b98ee=_0x3bcbc5;return this[_0x5b98ee(0x247)]=!0x0,_0x5e9dde(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3bcbc5(0x3eb)](_0x58eb25){this['_onLocalMutation'](_0x58eb25);}[_0x3bcbc5(0x3e4)](_0x5a8857){var _0x3a25fb=_0x3bcbc5;this[_0x3a25fb(0x1b5)]=_0x5a8857,this[_0x3a25fb(0x320)][_0x3a25fb(0x497)](_0x5a8857);}async[_0x3bcbc5(0x391)](){var _0x4529af=_0x3bcbc5,_0x1b5352;this['_updateState'](await this[_0x4529af(0x1e8)]()),this[_0x4529af(0x3d8)]&&((_0x1b5352=this[_0x4529af(0x3d8)])==null||_0x1b5352[_0x4529af(0x27c)](this[_0x4529af(0x2f2)]),this[_0x4529af(0x300)](this[_0x4529af(0x3d8)][_0x4529af(0x474)](this[_0x4529af(0x2f2)])[_0x4529af(0x2ff)](_0xa4ed1c=>{var _0x24cf2a=_0x4529af;this[_0x24cf2a(0x3dc)][_0x24cf2a(0x215)](_0x24cf2a(0x2f9),_0x24cf2a(0x37b),_0xa4ed1c),_0xa4ed1c===mi[_0x24cf2a(0x1c9)]?(this[_0x24cf2a(0x484)][_0x24cf2a(0x1f9)]({'id':re[_0x24cf2a(0x222)]}),this[_0x24cf2a(0x470)][_0x24cf2a(0x3d0)](new _0x119f04(this[_0x24cf2a(0x2f2)])['id'],!0x1),this[_0x24cf2a(0x470)][_0x24cf2a(0x32f)](!0x1)):(this[_0x24cf2a(0x470)][_0x24cf2a(0x3d0)](new _0x119f04(this['unitID'])['id'],!0x0),this['_permissionService'][_0x24cf2a(0x32f)](!0x0));})));let _0x2970f9=!0x1;return this['disposeWithMe'](this[_0x4529af(0x34a)]['sessionStatus$'][_0x4529af(0x2ff)](_0x4ee0e7=>{var _0x50f2b1=_0x4529af;_0x4ee0e7===me['ONLINE']?this['_toggleOnline'](_0x2970f9):_0x4ee0e7===me[_0x50f2b1(0x1c5)]&&(_0x2970f9=!0x0,this[_0x50f2b1(0x34e)]());})),this[_0x4529af(0x300)](this[_0x4529af(0x34a)][_0x4529af(0x2b4)][_0x4529af(0x2ff)](_0x5719dd=>{var _0x5efeda=_0x4529af;try{switch(_0x5719dd[_0x5efeda(0x255)]){case _0x4c3e36['NEW_CHANGESETS']:{this[_0x5efeda(0x494)](_0x854375(_0x5719dd['data']));break;}case _0x4c3e36[_0x5efeda(0x1d4)]:{this[_0x5efeda(0x479)](_0x5719dd[_0x5efeda(0x31c)]);break;}case _0x4c3e36[_0x5efeda(0x3a2)]:{this[_0x5efeda(0x2c0)]();break;}case _0x4c3e36['CHANGESET_SHOULD_RETRY']:{this[_0x5efeda(0x39d)](_0x5719dd[_0x5efeda(0x31c)]);break;}case _0x4c3e36[_0x5efeda(0x238)]:{this['_onFetchMissResult'](_0x5719dd[_0x5efeda(0x31c)][_0x5efeda(0x3ad)]['map'](_0x508858=>_0x854375(_0x508858)));break;}case _0x4c3e36[_0x5efeda(0x32d)]:{this[_0x5efeda(0x2c0)]({'isPermissionRej':!0x0});break;}case _0x4c3e36[_0x5efeda(0x201)]:break;}}catch(_0x1b0506){throw console[_0x5efeda(0x2dd)](_0x5efeda(0x211),_0x1b0506),_0x1b0506;}})),this[_0x4529af(0x1b5)];}[_0x3bcbc5(0x377)](){var _0x3ea335=_0x3bcbc5;this[_0x3ea335(0x1b2)]=!0x1;}[_0x3bcbc5(0x409)](){var _0x387e45=_0x3bcbc5;if(this['_transitionLocked'])throw new Error(_0x387e45(0x3e5));this[_0x387e45(0x1b2)]=!0x0;}[_0x3bcbc5(0x4a7)](_0x5400cd){var _0x3a480f=_0x3bcbc5;this[_0x3a480f(0x409)](),this['_updateState'](this['_state']['appendMutation'](_0x5400cd)),this[_0x3a480f(0x377)]();}[_0x3bcbc5(0x494)](_0xcd9753){var _0x3ff55b=_0x3bcbc5;if(!(_0xcd9753['revision']<=this[_0x3ff55b(0x37a)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x3ff55b(0x247)]){this['_remoteChangesetQueue'][_0x3ff55b(0x35e)](_0xcd9753);return;}this[_0x3ff55b(0x39b)](_0xcd9753);}}['_exhaustRemoteChangesetQueue'](){var _0x39aba9=_0x3bcbc5;this[_0x39aba9(0x33f)][_0x39aba9(0x4a0)](_0x49532d=>this['_applyRemoteChangeset'](_0x49532d)),this[_0x39aba9(0x33f)]=[];}[_0x3bcbc5(0x39b)](_0x5078b3){var _0x32f4f6=_0x3bcbc5;const _0x5a074e=this[_0x32f4f6(0x48b)][_0x32f4f6(0x44b)][_0x32f4f6(0x269)](this[_0x32f4f6(0x48b)][_0x32f4f6(0x44b)]['getInterceptPoints']()[_0x32f4f6(0x3d5)])(_0x5078b3[_0x32f4f6(0x226)],null)||_0x5078b3[_0x32f4f6(0x226)],_0x1c0839={..._0x5078b3,'mutations':_0x5a074e};this['_lockTransition'](),this['_updateState'](this[_0x32f4f6(0x1b5)]['onRemoteChangeset'](_0x1c0839)),this['_unlockTransition']();}[_0x3bcbc5(0x479)](_0x52cd65){var _0x5209fd=_0x3bcbc5;this[_0x5209fd(0x409)](),this[_0x5209fd(0x3e4)](this[_0x5209fd(0x1b5)][_0x5209fd(0x281)](_0x52cd65)),this[_0x5209fd(0x377)]();}[_0x3bcbc5(0x2c0)](_0x3d5d5c){var _0x21959c=_0x3bcbc5;this[_0x21959c(0x409)](),this[_0x21959c(0x3e4)](this[_0x21959c(0x1b5)][_0x21959c(0x355)](_0x3d5d5c)),this[_0x21959c(0x377)]();}[_0x3bcbc5(0x39d)](_0x4629c1){var _0x6781f0=_0x3bcbc5;this[_0x6781f0(0x409)](),this[_0x6781f0(0x3e4)](this[_0x6781f0(0x1b5)][_0x6781f0(0x206)](_0x4629c1)),this[_0x6781f0(0x377)]();}[_0x3bcbc5(0x49c)](_0xe1534b){var _0x249494=_0x3bcbc5;if(!(this[_0x249494(0x1b5)]instanceof ee))throw new TypeError(_0x249494(0x30e));const _0x15249c=_0xe1534b[_0x249494(0x289)](_0x5716c6=>{var _0x3c6e7e=_0x249494;const _0x4942d2=this['_compressMutationService'][_0x3c6e7e(0x44b)][_0x3c6e7e(0x269)](this['_compressMutationService'][_0x3c6e7e(0x44b)]['getInterceptPoints']()[_0x3c6e7e(0x3d5)])(_0x5716c6['mutations'],null)||_0x5716c6['mutations'];return{..._0x5716c6,'mutations':_0x4942d2};});this[_0x249494(0x409)](),this['_updateState'](this[_0x249494(0x1b5)][_0x249494(0x41b)](_0x15249c)),this[_0x249494(0x377)]();}[_0x3bcbc5(0x34e)](){var _0x2c3b33=_0x3bcbc5;this[_0x2c3b33(0x409)](),this['_updateState'](this[_0x2c3b33(0x1b5)][_0x2c3b33(0x4b4)]()),this[_0x2c3b33(0x377)]();}[_0x3bcbc5(0x310)](_0x12e427=!0x1){var _0x4a6e7b=_0x3bcbc5;this[_0x4a6e7b(0x409)](),this[_0x4a6e7b(0x3e4)](this[_0x4a6e7b(0x1b5)]['toggleOnline']()),this['_unlockTransition']();const _0xb7ad65=this[_0x4a6e7b(0x1b5)];_0x12e427&&_0xb7ad65 instanceof be&&(this[_0x4a6e7b(0x409)](),this[_0x4a6e7b(0x3e4)](_0xb7ad65[_0x4a6e7b(0x407)]()),this[_0x4a6e7b(0x377)]());}async[_0x3bcbc5(0x1e8)](){return new Promise(_0x1d98b2=>{var _0xab6569=_0x1928;this[_0xab6569(0x34a)][_0xab6569(0x3aa)][_0xab6569(0x29c)](_0x59ec57(0x1))[_0xab6569(0x2ff)](async _0x142fd5=>{var _0x284971=_0xab6569;_0x1d98b2(await this['_createInitialStateImpl'](_0x142fd5===me[_0x284971(0x45e)]));});});}['_createHandler'](){const _0x15b9e4=this['unitID'];return{'onStateChange':(_0x1c0878,_0x5e219e)=>{var _0x3dea32=_0x1928;if(_0x1c0878!==this[_0x3dea32(0x1b5)])throw new Error(_0x3dea32(0x31b)+_0x1c0878[_0x3dea32(0x4a1)]+'\x0aAfter:\x20'+_0x5e219e[_0x3dea32(0x4a1)]+_0x3dea32(0x207)+this['_state'][_0x3dea32(0x4a1)]);this[_0x3dea32(0x3e4)](_0x5e219e);},'onSendChangeset':_0x5bb38c=>{var _0x4cf9d1=_0x1928;_0x5bb38c['sid']||(_0x5bb38c[_0x4cf9d1(0x383)]=this[_0x4cf9d1(0x4b5)],_0x5bb38c['reqId']=++this[_0x4cf9d1(0x2a2)]);const _0x2467fe={'eventID':_0x4c3e36[_0x4cf9d1(0x1d6)],'data':{'unitID':_0x5bb38c[_0x4cf9d1(0x2f2)],'unitType':this[_0x4cf9d1(0x1dc)],'changeset':_0x5bb38c,'memberID':this[_0x4cf9d1(0x34a)][_0x4cf9d1(0x1bc)]()}};this[_0x4cf9d1(0x34a)]['send'](_0x2467fe,this['unitID']);},'onMissingChangesets':({from:_0x24f633,to:_0x237e5e})=>{var _0x2507a0=_0x1928;this[_0x2507a0(0x3dc)][_0x2507a0(0x215)](_0x2507a0(0x2f9),_0x2507a0(0x364)+_0x24f633+_0x2507a0(0x430)+_0x237e5e);const _0x354168={'eventID':_0x4c3e36['FETCH_MISSING'],'data':{'unitID':_0x15b9e4,'unitType':this[_0x2507a0(0x1dc)],'from':_0x24f633,'to':_0x237e5e}};this[_0x2507a0(0x34a)][_0x2507a0(0x325)](_0x354168,this[_0x2507a0(0x2f2)]);}};}async[_0x3bcbc5(0x395)](_0x256c53){var _0x22fc53=_0x3bcbc5,_0x150cb5,_0x185e18,_0x5c0703;const _0x35e7bd=await((_0x150cb5=this[_0x22fc53(0x3c6)])==null?void 0x0:_0x150cb5[_0x22fc53(0x401)](this[_0x22fc53(0x2f2)])),_0x459254=(_0x185e18=_0x35e7bd==null?void 0x0:_0x35e7bd[_0x22fc53(0x226)])!=null?_0x185e18:[],_0x458ca6=(_0x5c0703=_0x35e7bd==null?void 0x0:_0x35e7bd[_0x22fc53(0x28d)])!=null?_0x5c0703:null,_0x535b1b=!!(_0x458ca6!=null&&_0x458ca6[_0x22fc53(0x383)])&&!!(_0x458ca6!=null&&_0x458ca6['reqId']);this[_0x22fc53(0x4b5)]=_0x535b1b?_0x458ca6['sid']:_0x5e068a(),this[_0x22fc53(0x2a2)]=_0x535b1b?_0x458ca6[_0x22fc53(0x1ec)]:0x0;const _0x12d2bf=this['unitID'];try{this['_replayCachedMutations'](_0x458ca6,_0x459254);}catch(_0x3060fa){this['_logService'][_0x22fc53(0x2dd)](_0x3060fa);}const _0x4d8557=this[_0x22fc53(0x3e9)]();if(_0x256c53){const _0x3f4596=Ti(this[_0x22fc53(0x463)],_0x12d2bf,this['_type'],_0x458ca6,_0x459254,_0x4d8557);return _0x3f4596 instanceof ae?_0x3f4596[_0x22fc53(0x370)]():(_0x3f4596 instanceof oe||_0x3f4596 instanceof le)&&_0x3f4596[_0x22fc53(0x447)](),_0x3f4596;}return this[_0x22fc53(0x463)][_0x22fc53(0x42b)](de,_0x12d2bf,this[_0x22fc53(0x1dc)],_0x458ca6,_0x459254,_0x4d8557);}[_0x3bcbc5(0x3af)](_0xb2336d,_0xc27c63){var _0xfc6d03=_0x3bcbc5,_0x455c8b,_0xf686de;const _0x1eac56=this[_0xfc6d03(0x48b)][_0xfc6d03(0x44b)][_0xfc6d03(0x269)](this[_0xfc6d03(0x48b)][_0xfc6d03(0x44b)][_0xfc6d03(0x363)]()[_0xfc6d03(0x3d5)]);(_0x455c8b=_0x1eac56((_0xb2336d==null?void 0x0:_0xb2336d[_0xfc6d03(0x226)])||[],null))==null||_0x455c8b[_0xfc6d03(0x4a0)](_0x47b4b6=>this[_0xfc6d03(0x3f7)]['executeCommand'](_0x47b4b6['id'],_0x47b4b6[_0xfc6d03(0x2f4)])),(_0xf686de=_0x1eac56(_0xc27c63||[],null))==null||_0xf686de[_0xfc6d03(0x4a0)](_0x2fbd7a=>this[_0xfc6d03(0x3f7)][_0xfc6d03(0x21c)](_0x2fbd7a['id'],_0x2fbd7a[_0xfc6d03(0x2f4)]));}};st=At([k(0x3,_0x1b5fe1(_0x3f0769)),k(0x4,_0x1b5fe1(_0x539649)),k(0x5,_0x1b5fe1(_0x3f3943)),k(0x6,_0x1b5fe1(_0x322fd6)),k(0x7,_0x1b5fe1(ve)),k(0x8,_0x29bce8),k(0x9,_0xbe786),k(0xa,_0x246ef8),k(0xb,_0x14e6d6),k(0xc,_0x426e18(_t)),k(0xd,_0x426e18(J))],st);let It=class extends st{constructor(_0x635da0,_0x5cda81,_0x47125b,_0x73eed2,_0x1f6cdd,_0x419ef1,_0x4733f1,_0x38528a,_0x37195d,_0x460bed,_0x28d708,_0x24e60d,_0x1d4f7c,_0x36c8cc){var _0x2661a8=_0x3bcbc5;super(_0x635da0,_0x47125b,_0x5cda81,_0x73eed2,_0x1f6cdd,_0x419ef1,_0x4733f1,_0x38528a,_0x37195d,_0x460bed,_0x28d708,_0x24e60d,_0x1d4f7c,_0x36c8cc),D(this,_0x2661a8(0x421),null),(this['unitID']=_0x635da0,this[_0x2661a8(0x2e2)]=_0x5cda81);}[_0x3bcbc5(0x440)](_0x587741){var _0x3ebff6=_0x3bcbc5;this[_0x3ebff6(0x421)]=_0x587741;}[_0x3bcbc5(0x23d)](){var _0x4e41f8=_0x3bcbc5;this[_0x4e41f8(0x421)]=null,super[_0x4e41f8(0x23d)]();}[_0x3bcbc5(0x3e9)](){var _0x3ea89e=_0x3bcbc5;const _0x1b0fda=super[_0x3ea89e(0x3e9)]();return _0x1b0fda['onTransformIME']=_0x51b378=>{var _0x2c7112=_0x3ea89e,_0x193dc9,_0x243715;return(_0x243715=(_0x193dc9=this[_0x2c7112(0x421)])==null?void 0x0:_0x193dc9[_0x2c7112(0x2fe)])==null?void 0x0:_0x243715[_0x2c7112(0x41d)](_0x193dc9,_0x51b378);},_0x1b0fda['onTransformState']=_0x462698=>{var _0xd6f843=_0x3ea89e,_0x2b261f,_0xff4671;return(_0xff4671=(_0x2b261f=this[_0xd6f843(0x421)])==null?void 0x0:_0x2b261f['onTransformState'])==null?void 0x0:_0xff4671[_0xd6f843(0x41d)](_0x2b261f,_0x462698);},_0x1b0fda[_0x3ea89e(0x2c7)]=_0x30233a=>{var _0x154c28=_0x3ea89e,_0x3f3122,_0x3c3efa;return(_0x3c3efa=(_0x3f3122=this[_0x154c28(0x421)])==null?void 0x0:_0x3f3122[_0x154c28(0x2c7)])==null?void 0x0:_0x3c3efa[_0x154c28(0x41d)](_0x3f3122,_0x30233a);},_0x1b0fda[_0x3ea89e(0x3de)]=_0x47450b=>{var _0x2cf8d2=_0x3ea89e,_0x58f8e3,_0x34c741;return(_0x34c741=(_0x58f8e3=this[_0x2cf8d2(0x421)])==null?void 0x0:_0x58f8e3[_0x2cf8d2(0x3de)])==null?void 0x0:_0x34c741[_0x2cf8d2(0x41d)](_0x58f8e3,_0x47450b);},_0x1b0fda[_0x3ea89e(0x4b8)]=_0x650725=>{var _0xf667d4=_0x3ea89e,_0x15d744,_0x508262,_0x37ac19;if(!((_0x15d744=this['_handlerCallback'])!=null&&_0x15d744[_0xf667d4(0x4b8)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x37ac19=(_0x508262=this[_0xf667d4(0x421)])==null?void 0x0:_0x508262[_0xf667d4(0x4b8)])==null?void 0x0:_0x37ac19[_0xf667d4(0x41d)](_0x508262,_0x650725);},_0x1b0fda['onTransformRemoteChangesetByStateCache']=_0x11bd3d=>{var _0x364e41=_0x3ea89e,_0x2403dd,_0x37e640,_0x58b824;if(!((_0x2403dd=this[_0x364e41(0x421)])!=null&&_0x2403dd[_0x364e41(0x3c0)]))throw new Error(_0x364e41(0x339));return(_0x58b824=(_0x37e640=this['_handlerCallback'])==null?void 0x0:_0x37e640['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x58b824[_0x364e41(0x41d)](_0x37e640,_0x11bd3d);},_0x1b0fda;}async['_init'](){var _0x5386b2=_0x3bcbc5;const _0x48414b=await super[_0x5386b2(0x391)]();return this[_0x5386b2(0x300)](this[_0x5386b2(0x3f7)]['onCommandExecuted']((_0x33cd67,_0x5f0eae)=>{var _0x358289=_0x5386b2;if(_0x33cd67[_0x358289(0x2e2)]!==_0x21f1b6[_0x358289(0x464)]||_0x5f0eae!=null&&_0x5f0eae[_0x358289(0x36f)]||_0x5f0eae!=null&&_0x5f0eae[_0x358289(0x1b8)]||_0x33cd67['id']===_0xc2da57['id'])return;const _0x4d7a4e=_0x33cd67['params'];if((_0x4d7a4e==null?void 0x0:_0x4d7a4e[_0x358289(0x267)])!==this[_0x358289(0x2f2)])return;const _0x551b33=_0x33cd67,_0x37d049=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x358289(0x48b)]['interceptor'][_0x358289(0x363)]()[_0x358289(0x3a8)])([_0x551b33],this['_univerInstanceService'])||[_0x551b33];this[_0x358289(0x4a7)](_0x37d049[0x0]);})),_0x48414b;}};It=At([k(0x3,_0x1b5fe1(_0x3f0769)),k(0x4,_0x1b5fe1(_0x539649)),k(0x5,_0x1b5fe1(_0x3f3943)),k(0x6,_0x1b5fe1(_0x322fd6)),k(0x7,_0x1b5fe1(ve)),k(0x8,_0x29bce8),k(0x9,_0xbe786),k(0xa,_0x246ef8),k(0xb,_0x14e6d6),k(0xc,_0x426e18(_t)),k(0xd,_0x426e18(J))],It);let St=class extends st{constructor(_0x480510,_0x403050,_0x9fa7b0,_0x41b2b8,_0x52146f,_0xad436b,_0x39dc11,_0xd52c9c,_0x21c29a,_0x1d8efe,_0x1caa29,_0x178edf,_0x27448a,_0x3ded5c,_0x3282c9){var _0x6e060f=_0x3bcbc5;super(_0x480510,_0x9fa7b0,_0x403050,_0x41b2b8,_0x52146f,_0xad436b,_0x39dc11,_0x21c29a,_0x1d8efe,_0x1caa29,_0x178edf,_0x27448a,_0x3ded5c,_0x3282c9),this[_0x6e060f(0x2f2)]=_0x480510,this[_0x6e060f(0x2e2)]=_0x403050,this[_0x6e060f(0x4ac)]=_0xd52c9c;}[_0x3bcbc5(0x3e9)](){var _0xde8ca0=_0x3bcbc5;const _0xeffe52=super[_0xde8ca0(0x3e9)]();return _0xeffe52['onTransformSelections']=_0x5074e1=>this[_0xde8ca0(0x4ac)]['transformSelections'](_0x5074e1),_0xeffe52;}async[_0x3bcbc5(0x391)](){var _0xf1146f=_0x3bcbc5;const _0x57f8c1=await super[_0xf1146f(0x391)]();return this[_0xf1146f(0x300)](this[_0xf1146f(0x3f7)]['onCommandExecuted']((_0x4d4a96,_0x5a7120)=>{var _0x235cdd=_0xf1146f;if(_0x4d4a96[_0x235cdd(0x2e2)]!==_0x21f1b6[_0x235cdd(0x464)]||_0x5a7120!=null&&_0x5a7120['fromCollab']||_0x5a7120!=null&&_0x5a7120[_0x235cdd(0x1b8)])return;const _0x5402fd=_0x4d4a96[_0x235cdd(0x2f4)];if((_0x5402fd==null?void 0x0:_0x5402fd['unitId'])!==this[_0x235cdd(0x2f2)])return;const _0x61f10c=_0x4d4a96,_0x46445d=this[_0x235cdd(0x48b)]['interceptor'][_0x235cdd(0x269)](this['_compressMutationService'][_0x235cdd(0x44b)][_0x235cdd(0x363)]()[_0x235cdd(0x3a8)])([_0x61f10c],this[_0x235cdd(0x31f)])||[_0x61f10c];this['_onLocalMutation'](_0x46445d[0x0]);})),_0x57f8c1;}};St=At([k(0x3,_0x1b5fe1(_0x3f0769)),k(0x4,_0x1b5fe1(_0x539649)),k(0x5,_0x1b5fe1(_0x3f3943)),k(0x6,_0x1b5fe1(_0x322fd6)),k(0x7,_0x1b5fe1(it)),k(0x8,_0x1b5fe1(ve)),k(0x9,_0x29bce8),k(0xa,_0xbe786),k(0xb,_0x246ef8),k(0xc,_0x14e6d6),k(0xd,_0x426e18(_t)),k(0xe,_0x426e18(J))],St);const Bs=_0x361e5b('univer-pro.collaboration-client.network-condition.service');function Fs(_0x20e096){var _0x275965=_0x3bcbc5,_0x57eb70,_0x5900c2,_0x342768,_0x4c9b68,_0x1f65c5;const _0x268a35=_0x20e096[_0x275965(0x31c)],_0x3be6ce=JSON[_0x275965(0x1fc)](_0x268a35);switch(_0x3be6ce[_0x275965(0x225)]){case j['HEARTBEAT']:case j['HELLO']:{const _0x158d33=_0x3be6ce[_0x275965(0x30f)];return{..._0x3be6ce,'data':_0x158d33,'cmd':_0x3be6ce[_0x275965(0x225)]};}case j['JOIN']:{const _0x8cc2=_0x3be6ce[_0x275965(0x344)];return{..._0x3be6ce,'data':_0x8cc2,'cmd':_0x3be6ce[_0x275965(0x225)]};}case j[_0x275965(0x3ff)]:{const _0x185435=_0x3be6ce['collaMsg'];switch(_0x185435[_0x275965(0x255)]){case _0x4c3e36[_0x275965(0x32d)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x57eb70=_0x185435[_0x275965(0x280)])==null?void 0x0:_0x57eb70['cs']},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x1d4)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x5900c2=_0x185435['csAckEvent'])==null?void 0x0:_0x5900c2['cs']},'cmd':_0x3be6ce['cmd']};case _0x4c3e36[_0x275965(0x311)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x342768=_0x185435[_0x275965(0x333)])==null?void 0x0:_0x342768['cs']},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x3a2)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x4c9b68=_0x185435[_0x275965(0x3fc)])==null?void 0x0:_0x4c9b68['cs']},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x359)]:return{..._0x3be6ce,'data':{..._0x185435,'data':(_0x1f65c5=_0x185435[_0x275965(0x26d)])==null?void 0x0:_0x1f65c5['cs']},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x3a1)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435['updateCursorEvent']},'cmd':_0x3be6ce['cmd']};case _0x4c3e36[_0x275965(0x39f)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x2da)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x1df)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x29b)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x1d2)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x26c)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36['LIVESHARE_FETCH_OPERATIONS']:case _0x4c3e36[_0x275965(0x1da)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x273)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x2c9)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x26c)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36['MSG_FOR_ERROR']:return{..._0x3be6ce,'data':_0x185435,'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x204)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x41a)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36['UPDATE_PERMISSION_OBJ']:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x3be)]},'cmd':_0x3be6ce[_0x275965(0x225)]};case _0x4c3e36[_0x275965(0x1c4)]:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435[_0x275965(0x423)]},'cmd':_0x3be6ce['cmd']};case _0x4c3e36['UNISCRIPT_RUN']:return{..._0x3be6ce,'data':{..._0x185435,'data':_0x185435['uniscriptRunEvent']},'cmd':_0x3be6ce[_0x275965(0x225)]};default:return _0x3be6ce;}}default:return _0x3be6ce;}}function js(_0x120092){var _0x4b148e=_0x3bcbc5;switch(_0x120092[_0x4b148e(0x225)]){case j[_0x4b148e(0x292)]:case j[_0x4b148e(0x2d7)]:return JSON['stringify']({'cmd':_0x120092['cmd'],'routeKey':_0x120092[_0x4b148e(0x299)]});case j['INGEST']:{let _0x548ab6;switch(_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x255)]){case _0x4c3e36[_0x4b148e(0x3a1)]:{_0x548ab6={'eventID':_0x4c3e36['UPDATE_CURSOR'],'updateCursorEvent':_0x120092[_0x4b148e(0x31c)]['data']};break;}case _0x4c3e36[_0x4b148e(0x1df)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x1df)],'leaveEvent':_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x31c)]};break;}case _0x4c3e36[_0x4b148e(0x39f)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x39f)],'joinEvent':_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x31c)]};break;}case _0x4c3e36[_0x4b148e(0x1d2)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x1d2)],'liveShareNewHost':_0x120092['data'][_0x4b148e(0x31c)]};break;}case _0x4c3e36['LIVESHARE_OPERATION']:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x1da)],'liveShareOperation':_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x31c)]};break;}case _0x4c3e36[_0x4b148e(0x2c9)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x2c9)],'liveShareTerminate':_0x120092['data']['data']};break;}case _0x4c3e36[_0x4b148e(0x1fe)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x1fe)],'liveShareRequestHost':_0x120092[_0x4b148e(0x31c)][_0x4b148e(0x31c)]};break;}case _0x4c3e36[_0x4b148e(0x3e6)]:{_0x548ab6={'eventID':_0x4c3e36[_0x4b148e(0x3e6)]};break;}default:_0x548ab6={'eventID':_0x120092['data'][_0x4b148e(0x255)]};}return JSON['stringify']({'cmd':_0x120092[_0x4b148e(0x225)],'routeKey':_0x120092[_0x4b148e(0x299)],'collaMsg':_0x548ab6});}case j['JOIN']:return JSON['stringify']({'cmd':_0x120092[_0x4b148e(0x225)],'routeKey':_0x120092[_0x4b148e(0x299)],'joinReq':_0x120092[_0x4b148e(0x31c)]});case j[_0x4b148e(0x304)]:return JSON['stringify']({'cmd':_0x120092['cmd'],'routeKey':_0x120092[_0x4b148e(0x299)],'leaveReq':_0x120092['data']});default:throw new Error(_0x4b148e(0x200));}}var Vs=Object[_0x3bcbc5(0x2f1)],Gs=(_0x1dd507,_0x434c32,_0x3e5223,_0xa6c884)=>{for(var _0xee1d19=_0xa6c884>0x1?void 0x0:_0xa6c884?Vs(_0x434c32,_0x3e5223):_0x434c32,_0x9b2c1f=_0x1dd507['length']-0x1,_0xc1fc8f;_0x9b2c1f>=0x0;_0x9b2c1f--)(_0xc1fc8f=_0x1dd507[_0x9b2c1f])&&(_0xee1d19=_0xc1fc8f(_0xee1d19)||_0xee1d19);return _0xee1d19;},ye=(_0x47a1a0,_0x42cb13)=>(_0x27d5d9,_0x56b07d)=>_0x42cb13(_0x27d5d9,_0x56b07d,_0x47a1a0);const Oi=_0x361e5b(_0x3bcbc5(0x461));function Ws(_0x2f8ced,_0x42ddf7,_0x5a27b6){var _0x2b0033=_0x3bcbc5;return _0x2f8ced+'/'+_0x42ddf7+_0x2b0033(0x1ee)+_0x5a27b6+_0x2b0033(0x42c);}let Gt=class extends _0x589fe2{constructor(_0x4abb9a,_0x345d49,_0x523146,_0x4ab151,_0x424f2c){var _0x1bd691=_0x3bcbc5;super(),this[_0x1bd691(0x463)]=_0x4abb9a,this[_0x1bd691(0x3ca)]=_0x345d49,this[_0x1bd691(0x346)]=_0x523146,this[_0x1bd691(0x3dc)]=_0x4ab151,this[_0x1bd691(0x44e)]=_0x424f2c;}[_0x3bcbc5(0x3f2)](_0x390b92){var _0x286330=_0x3bcbc5;const _0x50d127=this[_0x286330(0x463)][_0x286330(0x448)](_0x29daef);if(!_0x50d127)throw new Error(_0x286330(0x38f));const _0x492bbd=_0x50d127[_0x286330(0x2d3)](_0x390b92);if(!_0x492bbd)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xf308d=new _0x454352(),_0x2a40b2=new _0x3a544d();_0xf308d['add'](_0x492bbd[_0x286330(0x2fb)][_0x286330(0x2ff)](_0x414fe3=>_0x2a40b2[_0x286330(0x497)](_0x414fe3))),_0xf308d['add'](_0x5e9dde(()=>_0x2a40b2['complete']()));const _0x331038=new _0x3a544d();_0xf308d[_0x286330(0x48f)](_0x492bbd[_0x286330(0x450)]['subscribe'](_0x96a811=>_0x331038['next'](_0x96a811))),_0xf308d[_0x286330(0x48f)](_0x5e9dde(()=>_0x331038['complete']()));const _0x3ff807=new _0x3a544d();_0xf308d[_0x286330(0x48f)](_0x492bbd[_0x286330(0x24a)][_0x286330(0x2ff)](_0x5c3902=>{var _0x1dc3b9=_0x286330;const _0x41925d=Fs(_0x5c3902);_0x3ff807[_0x1dc3b9(0x497)](_0x41925d);})),_0xf308d[_0x286330(0x48f)](_0x5e9dde(()=>_0x3ff807[_0x286330(0x30c)]()));let _0x33540e;const _0x26ed97=()=>{var _0x1eab75=_0x286330;_0x331038['next'](new Event('connection\x20error')),_0x2a40b2[_0x1eab75(0x497)](new Event(_0x1eab75(0x397))),_0x33540e[_0x1eab75(0x266)]();};return _0x33540e={'memberID':'','close$':_0x2a40b2[_0x286330(0x405)](),'error$':_0x331038['asObservable'](),'open$':_0x492bbd[_0x286330(0x40f)],'message$':_0x3ff807[_0x286330(0x405)](),'send':_0xa5f7d2=>{var _0x42d37c=_0x286330;if(_0xa5f7d2['cmd']===j[_0x42d37c(0x22a)]){if(_0xa5f7d2[_0x42d37c(0x31c)][_0x42d37c(0x255)]===_0x4c3e36['SUBMIT_CHANGESET']){this[_0x42d37c(0x3a4)](_0x33540e,_0xa5f7d2[_0x42d37c(0x31c)])['catch'](_0x2844d3=>{var _0x31fc42=_0x42d37c;this[_0x31fc42(0x3dc)][_0x31fc42(0x2dd)](_0x2844d3),_0x26ed97();});return;}if(_0xa5f7d2[_0x42d37c(0x31c)]['eventID']===_0x4c3e36[_0x42d37c(0x3b4)]){const _0x504a9c=_0xa5f7d2[_0x42d37c(0x31c)];this[_0x42d37c(0x1e4)](_0x504a9c)[_0x42d37c(0x1db)](_0x477a68=>{var _0xefead8=_0x42d37c;_0x3ff807[_0xefead8(0x497)]({'cmd':j[_0xefead8(0x3ff)],'code':pe['OK'],'routeKey':_0x504a9c[_0xefead8(0x31c)][_0xefead8(0x2f2)],'routeType':'','data':{'eventID':_0x4c3e36[_0xefead8(0x238)],'data':{'changesets':_0x477a68}}});})[_0x42d37c(0x496)](_0x991b52=>{this['_logService']['error'](_0x991b52),_0x26ed97();});return;}}_0x492bbd['send'](js(_0xa5f7d2));},'close':()=>{var _0x48e06c=_0x286330;_0x492bbd[_0x48e06c(0x266)](),_0xf308d[_0x48e06c(0x23d)]();}},_0x33540e;}async['_submitChangeset'](_0x2b48de,_0x3fe081){var _0x549bbe=_0x3bcbc5,_0x500a44;const {unitType:_0xb91eac,unitID:_0x47049c,changeset:_0x4614e2}=_0x3fe081[_0x549bbe(0x31c)],_0x3b61e0={'unitID':_0x47049c,'memberID':_0x2b48de[_0x549bbe(0x367)],'type':_0xb91eac,'changeset':_0x5135de(_0x4614e2)},_0x562205=this['_configService'][_0x549bbe(0x2f6)](K),_0x3359af=Ws((_0x500a44=_0x562205==null?void 0x0:_0x562205[_0x549bbe(0x4a8)])!=null?_0x500a44:Os,_0xb91eac,_0x47049c);try{await this['_httpService'][_0x549bbe(0x218)](_0x3359af,{'body':_0x3b61e0});}catch(_0x2c04f5){throw this[_0x549bbe(0x3dc)][_0x549bbe(0x2dd)](_0x549bbe(0x388),_0x549bbe(0x3c5)),_0x2c04f5;}}async[_0x3bcbc5(0x1e4)](_0x280327){var _0x2c7578=_0x3bcbc5;const {unitID:_0x411626,from:_0x3a39f6,to:_0x58a602,unitType:_0x5b4bb3}=_0x280327['data'];return(await this[_0x2c7578(0x44e)][_0x2c7578(0x2ac)]({'metadata':void 0x0},{'unitID':_0x411626,'type':_0x5b4bb3,'from':_0x3a39f6,'to':_0x58a602}))[_0x2c7578(0x3ad)][_0x2c7578(0x289)](_0x13c85d=>((_0x13c85d[_0x2c7578(0x226)]===null||_0x13c85d[_0x2c7578(0x226)]===void 0x0)&&(_0x13c85d[_0x2c7578(0x226)]=[]),_0x13c85d));}};Gt=Gs([ye(0x0,_0x1b5fe1(_0x3f0769)),ye(0x1,_0x1b5fe1(_0x4ba195)),ye(0x2,_0x12469b),ye(0x3,_0xbe786),ye(0x4,_0x51a19b)],Gt);var Ys=Object[_0x3bcbc5(0x2f1)],Ks=(_0x4ed628,_0x106881,_0x3fe938,_0x2295d5)=>{var _0x45962e=_0x3bcbc5;for(var _0x3a893e=_0x2295d5>0x1?void 0x0:_0x2295d5?Ys(_0x106881,_0x3fe938):_0x106881,_0x8143f0=_0x4ed628[_0x45962e(0x2be)]-0x1,_0x436fac;_0x8143f0>=0x0;_0x8143f0--)(_0x436fac=_0x4ed628[_0x8143f0])&&(_0x3a893e=_0x436fac(_0x3a893e)||_0x3a893e);return _0x3a893e;},Re=(_0x98573d,_0x773350)=>(_0x2b9d8a,_0x58f7a4)=>_0x773350(_0x2b9d8a,_0x58f7a4,_0x98573d);let we=class extends _0x589fe2{constructor(_0x4a5290,_0x2e7815,_0x53d6fa,_0x3df2b8,_0x526bbd,_0x2761da){var _0x37136f=_0x3bcbc5;super(),D(this,_0x37136f(0x373),new _0x3dcdfa(void 0x0)),D(this,'socket$',this['_socket$']['asObservable']()),D(this,'_candidateSocket',null),D(this,_0x37136f(0x46e),new Map()),D(this,_0x37136f(0x25d),new _0x3dcdfa(me[_0x37136f(0x46b)])),D(this,_0x37136f(0x455),this[_0x37136f(0x25d)]['asObservable']()),D(this,_0x37136f(0x3e8),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x37136f(0x49a),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x37136f(0x49d)),(this[_0x37136f(0x463)]=_0x4a5290,this[_0x37136f(0x3dc)]=_0x2e7815,this[_0x37136f(0x346)]=_0x53d6fa,this['_socketService']=_0x3df2b8,this['_collaborationUIEventService']=_0x526bbd,this[_0x37136f(0x3b3)]=_0x2761da,this[_0x37136f(0x327)]());}get['_socket'](){var _0x308f0b=_0x3bcbc5;return this[_0x308f0b(0x373)][_0x308f0b(0x495)]();}[_0x3bcbc5(0x327)](){var _0x1b1311=_0x3bcbc5;this['_networkConditionService']&&this['disposeWithMe'](this[_0x1b1311(0x3b3)][_0x1b1311(0x20c)]['subscribe'](_0x317f78=>{var _0x31b3f0=_0x1b1311;_0x317f78&&!this[_0x31b3f0(0x3f9)]&&this[_0x31b3f0(0x24e)](),_0x317f78||this[_0x31b3f0(0x28f)]();}));}[_0x3bcbc5(0x23d)](){var _0x137ccf=_0x3bcbc5;super[_0x137ccf(0x23d)](),this[_0x137ccf(0x3c1)](),this[_0x137ccf(0x3fd)](),this[_0x137ccf(0x358)](),this['_sessions'][_0x137ccf(0x4a0)](_0xd8f3db=>_0xd8f3db[_0x137ccf(0x23d)]()),this['_sessions'][_0x137ccf(0x221)](),this[_0x137ccf(0x25d)][_0x137ccf(0x30c)]();}async[_0x3bcbc5(0x34c)](_0x107267){var _0x3c8a53=_0x3bcbc5;if(this['_sessions'][_0x3c8a53(0x48a)](_0x107267))return this[_0x3c8a53(0x46e)][_0x3c8a53(0x448)](_0x107267);this['_tryEnsureSocket']();const _0x3a3e47=this[_0x3c8a53(0x463)][_0x3c8a53(0x42b)](mt,_0x107267,this[_0x3c8a53(0x373)]['asObservable']());return this[_0x3c8a53(0x46e)][_0x3c8a53(0x3cd)](_0x107267,_0x3a3e47),_0x3a3e47;}[_0x3bcbc5(0x3e1)](_0x5eb4f2){var _0x13429a=_0x3bcbc5,_0x186e48;const _0x4d47be=this['_sessions']['get'](_0x5eb4f2);_0x4d47be&&(this[_0x13429a(0x46e)][_0x13429a(0x38b)](_0x5eb4f2),_0x4d47be[_0x13429a(0x266)]()),this[_0x13429a(0x46e)]['size']||(_0x186e48=this[_0x13429a(0x3f9)])==null||_0x186e48[_0x13429a(0x266)]();}[_0x3bcbc5(0x24e)](){var _0x290635=_0x3bcbc5;this[_0x290635(0x49a)]=0x0,this[_0x290635(0x3c1)](),this[_0x290635(0x47c)]();}['_clearRetryConnectingTimer'](){var _0x33e6cb=_0x3bcbc5;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x33e6cb(0x3f6)]),this[_0x33e6cb(0x3f6)]=null);}async[_0x3bcbc5(0x321)](){var _0x3b1ccc=_0x3bcbc5,_0x1432ee;const _0x859abd=this[_0x3b1ccc(0x346)][_0x3b1ccc(0x2f6)](K),_0x3145c4=(_0x1432ee=_0x859abd==null?void 0x0:_0x859abd[_0x3b1ccc(0x32a)])!=null?_0x1432ee:Es,_0x4ecec7=await this[_0x3b1ccc(0x487)][_0x3b1ccc(0x2d3)](_0x3145c4);return this['_candidateSocket']=_0x4ecec7,_0x4ecec7;}async[_0x3bcbc5(0x224)](){var _0x9be926=_0x3bcbc5,_0x5b6cb8,_0x129252;try{const _0x4dea35=(_0x129252=(_0x5b6cb8=this[_0x9be926(0x3f9)])!=null?_0x5b6cb8:this['_candidateSocket'])!=null?_0x129252:await this[_0x9be926(0x321)]();if(_0x4dea35){const _0x129f46=_0x4dea35[_0x9be926(0x325)];_0x4dea35[_0x9be926(0x325)]=_0x137c67=>(this[_0x9be926(0x2a5)](),_0x129f46['apply'](_0x4dea35,[_0x137c67])),_0x4dea35[_0x9be926(0x24a)][_0x9be926(0x2ff)](_0x14515c=>this[_0x9be926(0x381)](_0x4dea35,_0x14515c)),_0x4dea35[_0x9be926(0x450)]['pipe'](_0x8ec347(0x1))[_0x9be926(0x2ff)](_0x400e0e=>this[_0x9be926(0x3dc)]['error'](_0x9be926(0x43d),_0x400e0e)),_0x4dea35[_0x9be926(0x40f)][_0x9be926(0x29c)](_0x8ec347(0x1))[_0x9be926(0x2ff)](()=>{var _0x2de1cd=_0x9be926;this[_0x2de1cd(0x4b0)](_0x4dea35);}),_0x4dea35['close$']['pipe'](_0x8ec347(0x1))[_0x9be926(0x2ff)](_0xeb7e33=>{var _0x4ce180=_0x9be926;this['_logService']['debug'](_0x4ce180(0x2d6),_0x4ce180(0x4ab),_0xeb7e33),this['_onConnectionFailed']();});}}catch(_0x5a66b1){this['_logService']['error'](_0x5a66b1),this[_0x9be926(0x264)]();}}[_0x3bcbc5(0x4b0)](_0x443c3b){var _0x2e9f8c=_0x3bcbc5;this[_0x2e9f8c(0x3dc)][_0x2e9f8c(0x215)](_0x2e9f8c(0x2d6),_0x2e9f8c(0x1cf)),_0x443c3b['send']({'cmd':j[_0x2e9f8c(0x2d7)]}),this[_0x2e9f8c(0x2a5)]();}[_0x3bcbc5(0x28f)](){var _0x4c7c9d=_0x3bcbc5;this[_0x4c7c9d(0x3e8)]=!0x1,this[_0x4c7c9d(0x2e6)]=null,this['_status$'][_0x4c7c9d(0x497)](me[_0x4c7c9d(0x1c5)]),this[_0x4c7c9d(0x373)][_0x4c7c9d(0x497)](null),this['_clearTimeoutTimer'](),this[_0x4c7c9d(0x358)]();}[_0x3bcbc5(0x264)](){var _0x5dc9bd=_0x3bcbc5,_0x7145b3;this['_onOffline'](),this[_0x5dc9bd(0x49a)]<((_0x7145b3=this[_0x5dc9bd(0x346)]['getConfig'](gs))!=null?_0x7145b3:Ts)?(this['_collaborationUIEventService'][_0x5dc9bd(0x1f9)]({'id':re[_0x5dc9bd(0x444)]}),this[_0x5dc9bd(0x47c)]()):this[_0x5dc9bd(0x4ad)][_0x5dc9bd(0x1f9)]({'id':re[_0x5dc9bd(0x403)]});}[_0x3bcbc5(0x47c)](){var _0xb86d5f=_0x3bcbc5,_0xd978d6;const _0x31de62=this[_0xb86d5f(0x49a)],_0x36193b=this['_configService']['getConfig'](K),_0x4032b1=_0x31de62===0x0?0x0:((_0xd978d6=_0x36193b==null?void 0x0:_0x36193b['retryConnectingInterval'])!=null?_0xd978d6:Ss)*0x2**_0x31de62;this[_0xb86d5f(0x3f6)]=setTimeout(()=>{var _0x1b2e40=_0xb86d5f;clearTimeout(this[_0x1b2e40(0x3f6)]),this[_0x1b2e40(0x3f6)]=null,this[_0x1b2e40(0x224)]();},_0x4032b1),this[_0xb86d5f(0x49a)]+=0x1;}['_onMessage'](_0x4a8c2c,_0xbe01d9){var _0x1c57f3=_0x3bcbc5;const {cmd:_0x133ecc}=_0xbe01d9;_0x133ecc===j[_0x1c57f3(0x2d7)]&&!this[_0x1c57f3(0x3e8)]&&(_0x4a8c2c[_0x1c57f3(0x367)]=_0xbe01d9['data'][_0x1c57f3(0x367)],this['_socket$'][_0x1c57f3(0x497)](_0x4a8c2c),this[_0x1c57f3(0x25d)]['next'](me[_0x1c57f3(0x45e)]),this[_0x1c57f3(0x3e8)]=!0x0,this[_0x1c57f3(0x2e6)]=null),_0x133ecc===j[_0x1c57f3(0x292)]&&this[_0x1c57f3(0x3fd)](),this['_rescheduleHeartbeat']();}[_0x3bcbc5(0x2a5)](){var _0x18d916=_0x3bcbc5,_0x519f32;this[_0x18d916(0x358)](),this[_0x18d916(0x3b0)]=setTimeout(()=>this[_0x18d916(0x3f0)](),(_0x519f32=this[_0x18d916(0x346)]['getConfig'](ms))!=null?_0x519f32:Is);}['_sendHeartbeat'](){var _0xa855e5=_0x3bcbc5;this[_0xa855e5(0x3f9)][_0xa855e5(0x325)]({'cmd':j[_0xa855e5(0x292)]}),this[_0xa855e5(0x3ea)]();}['_waitForHeartbeatResponse'](){var _0x8bb6a9=_0x3bcbc5,_0x2b700a;this[_0x8bb6a9(0x49d)]=setTimeout(()=>this[_0x8bb6a9(0x264)](),(_0x2b700a=this[_0x8bb6a9(0x346)][_0x8bb6a9(0x2f6)](di))!=null?_0x2b700a:fi);}[_0x3bcbc5(0x358)](){var _0x394f08=_0x3bcbc5;this[_0x394f08(0x3b0)]!=null&&(clearTimeout(this[_0x394f08(0x3b0)]),this['_sendHeartbeatTimer']=null);}[_0x3bcbc5(0x3fd)](){var _0x135ee5=_0x3bcbc5;this[_0x135ee5(0x49d)]!=null&&(clearTimeout(this[_0x135ee5(0x49d)]),this[_0x135ee5(0x49d)]=null);}};we=Ks([Re(0x0,_0x1b5fe1(_0x3f0769)),Re(0x1,_0xbe786),Re(0x2,_0x12469b),Re(0x3,Oi),Re(0x4,_0x1b5fe1(ve)),Re(0x5,_0x426e18(Bs))],we);var qs=Object[_0x3bcbc5(0x2f1)],zs=(_0x5bfe02,_0x938f85,_0x417f52,_0x118d94)=>{var _0x41f3fd=_0x3bcbc5;for(var _0xa103db=_0x118d94>0x1?void 0x0:_0x118d94?qs(_0x938f85,_0x417f52):_0x938f85,_0x58731f=_0x5bfe02[_0x41f3fd(0x2be)]-0x1,_0x3a6840;_0x58731f>=0x0;_0x58731f--)(_0x3a6840=_0x5bfe02[_0x58731f])&&(_0xa103db=_0x3a6840(_0xa103db)||_0xa103db);return _0xa103db;},Be=(_0x3a099c,_0xeeabed)=>(_0x3e7762,_0x4f90f0)=>_0xeeabed(_0x3e7762,_0x4f90f0,_0x3a099c);let nt=class extends _0x2e3b72{constructor(_0x415c5d,_0x17de3b,_0xa01a50,_0x19a14e){var _0x79b01d=_0x3bcbc5,_0x43c240;super(),D(this,'_entities',new Map()),D(this,_0x79b01d(0x233),new _0x3a544d()),D(this,_0x79b01d(0x3a7),this[_0x79b01d(0x233)][_0x79b01d(0x405)]()),(this[_0x79b01d(0x463)]=_0x415c5d,this[_0x79b01d(0x24f)]=_0x17de3b,this[_0x79b01d(0x346)]=_0xa01a50,this[_0x79b01d(0x31f)]=_0x19a14e,((_0x43c240=this[_0x79b01d(0x346)][_0x79b01d(0x2f6)](K))==null?void 0x0:_0x43c240[_0x79b01d(0x258)])!==!0x1&&this['_init']());}[_0x3bcbc5(0x23d)](){var _0x14b8e6=_0x3bcbc5;super['dispose'](),this[_0x14b8e6(0x2d9)][_0x14b8e6(0x4a0)](_0x35b7d9=>_0x35b7d9[_0x14b8e6(0x23d)]()),this[_0x14b8e6(0x2d9)][_0x14b8e6(0x221)]();}[_0x3bcbc5(0x434)](_0x462596){var _0x4c8e77=_0x3bcbc5,_0x28d38d;return(_0x28d38d=this[_0x4c8e77(0x2d9)]['get'](_0x462596))!=null?_0x28d38d:null;}[_0x3bcbc5(0x323)](_0x5af7da){var _0x5acfce=_0x3bcbc5;const _0x4adafc=this[_0x5acfce(0x434)](_0x5af7da);return _0x4adafc?_0x399dff(_0x4adafc):this[_0x5acfce(0x233)][_0x5acfce(0x29c)](_0x977423(_0x3ba1e5=>_0x3ba1e5[_0x5acfce(0x2f2)]===_0x5af7da));}[_0x3bcbc5(0x3b6)](_0x3141d8){var _0xb3d987=_0x3bcbc5;return _0x483196(this[_0xb3d987(0x323)](_0x3141d8)[_0xb3d987(0x29c)](_0x2c81e7(()=>{})));}[_0x3bcbc5(0x391)](){var _0x47d302=_0x3bcbc5;this['_univerInstanceService'][_0x47d302(0x1f4)](_0xf6e3e1[_0x47d302(0x1e2)])[_0x47d302(0x29c)](_0x4671d8(this['dispose$']),_0x2fb8d8(0x10))[_0x47d302(0x2ff)](async _0x2ff788=>{var _0x471929=_0x47d302;const _0x345600=_0x2ff788[_0x471929(0x1b3)](),_0x22f791=await this[_0x471929(0x317)](_0x345600,Q[_0x471929(0x1e2)]);this[_0x471929(0x2d9)]['set'](_0x345600,_0x22f791);}),this['_univerInstanceService'][_0x47d302(0x1f4)](_0xf6e3e1[_0x47d302(0x30a)])['pipe'](_0x4671d8(this[_0x47d302(0x443)]),_0x2fb8d8(0x10))[_0x47d302(0x29c)](_0x977423(_0x59e4c3=>!_0x59e4c3[_0x47d302(0x1b3)]()['startsWith']('__')))['subscribe'](async _0x1a00ff=>{var _0x298c07=_0x47d302;const _0x1dce2b=_0x1a00ff[_0x298c07(0x1b3)](),_0xc78a00=await this['_startCollaboration'](_0x1dce2b,Q['UNIVER_DOC']);this['_entities'][_0x298c07(0x3cd)](_0x1dce2b,_0xc78a00);}),_0x59837f(this[_0x47d302(0x31f)]['getTypeOfUnitDisposed$'](_0xf6e3e1[_0x47d302(0x1e2)]),this[_0x47d302(0x31f)][_0x47d302(0x248)](_0xf6e3e1[_0x47d302(0x30a)]))['pipe'](_0x4671d8(this[_0x47d302(0x443)]))[_0x47d302(0x2ff)](_0x7eb19b=>{var _0x42bff1=_0x47d302;const _0x412d67=_0x7eb19b['getUnitId'](),_0x26bc1f=this[_0x42bff1(0x2d9)][_0x42bff1(0x448)](_0x412d67);_0x26bc1f&&(_0x26bc1f[_0x42bff1(0x23d)](),this['_entities']['delete'](_0x412d67));});}async[_0x3bcbc5(0x317)](_0xc3a92,_0x380404){var _0x3e679d=_0x3bcbc5;const _0x524027=await this[_0x3e679d(0x24f)][_0x3e679d(0x34c)](_0xc3a92),_0x37c756=this[_0x3e679d(0x463)][_0x3e679d(0x42b)](this[_0x3e679d(0x22d)](_0x380404),_0xc3a92,_0x380404,_0x524027);return await _0x37c756[_0x3e679d(0x38c)](),this[_0x3e679d(0x233)]['next'](_0x37c756),_0x37c756;}['_getCtorByUniverType'](_0x11b09c){var _0x571f82=_0x3bcbc5;switch(_0x11b09c){case Q[_0x571f82(0x30a)]:return It;case Q[_0x571f82(0x1e2)]:return St;default:throw new Error(_0x571f82(0x1c3)+_0x11b09c);}}};nt=zs([Be(0x0,_0x1b5fe1(_0x3f0769)),Be(0x1,_0x1b5fe1(we)),Be(0x2,_0x12469b),Be(0x3,_0x29bce8)],nt);var Js=Object[_0x3bcbc5(0x2f1)],Xs=(_0x35ef32,_0x426257,_0x3c1cf6,_0x186119)=>{var _0x4ab8f5=_0x3bcbc5;for(var _0x460d46=_0x186119>0x1?void 0x0:_0x186119?Js(_0x426257,_0x3c1cf6):_0x426257,_0x3bf2d2=_0x35ef32[_0x4ab8f5(0x2be)]-0x1,_0x40eb6e;_0x3bf2d2>=0x0;_0x3bf2d2--)(_0x40eb6e=_0x35ef32[_0x3bf2d2])&&(_0x460d46=_0x40eb6e(_0x460d46)||_0x460d46);return _0x460d46;},Wt=(_0x278e6a,_0x1664c5)=>(_0x493682,_0x56e388)=>_0x1664c5(_0x493682,_0x56e388,_0x278e6a);const Zs=_0x3bcbc5(0x352),Qs='Univer';let gt=class extends _0x589fe2{constructor(_0x3ec737,_0x15eafd){var _0x3cd6c5=_0x3bcbc5;super(),this[_0x3cd6c5(0x31f)]=_0x3ec737,this[_0x3cd6c5(0x346)]=_0x15eafd,this[_0x3cd6c5(0x391)]();}[_0x3bcbc5(0x391)](){var _0x18af81=_0x3bcbc5;this[_0x18af81(0x300)](this[_0x18af81(0x31f)][_0x18af81(0x488)][_0x18af81(0x2ff)](()=>{var _0x45ba14=_0x18af81,_0x2715a2;const _0x2a4945=this['_univerInstanceService'][_0x45ba14(0x2d0)]();let _0x51df0a=(_0x2715a2=this[_0x45ba14(0x346)][_0x45ba14(0x2f6)](Zs))!=null?_0x2715a2:Qs;_0x2a4945 instanceof _0xcfd46d&&(_0x51df0a=_0x2a4945[_0x45ba14(0x439)]),document['title']=_0x51df0a;}));}};gt=Xs([Wt(0x0,_0x29bce8),Wt(0x1,_0x12469b)],gt);var en=Object[_0x3bcbc5(0x2f1)],tn=(_0x46bc9a,_0x1dac6e,_0x328969,_0x3d4ff6)=>{var _0x468367=_0x3bcbc5;for(var _0x37e701=_0x3d4ff6>0x1?void 0x0:_0x3d4ff6?en(_0x1dac6e,_0x328969):_0x1dac6e,_0x3e270e=_0x46bc9a[_0x468367(0x2be)]-0x1,_0x43d0ce;_0x3e270e>=0x0;_0x3e270e--)(_0x43d0ce=_0x46bc9a[_0x3e270e])&&(_0x37e701=_0x43d0ce(_0x37e701)||_0x37e701);return _0x37e701;},dt=(_0x2baa37,_0x1276ef)=>(_0x16a438,_0xfa9478)=>_0x1276ef(_0x16a438,_0xfa9478,_0x2baa37);let rt=class{constructor(_0x494eb3,_0x1838a8,_0x344da2){var _0x745f81=_0x3bcbc5;this['_configService']=_0x494eb3,this['_httpService']=_0x1838a8,this[_0x745f81(0x1af)]=_0x344da2,this[_0x745f81(0x38c)]();}[_0x3bcbc5(0x38c)](){var _0x29ac0a=_0x3bcbc5;this[_0x29ac0a(0x3ca)][_0x29ac0a(0x2ea)]({'priority':0x1,'interceptor':(_0x43b4be,_0x211478)=>_0x211478(_0x43b4be)[_0x29ac0a(0x29c)](_0x42b602(async _0x3911d6=>{var _0x41bb83=_0x29ac0a;const _0x5662db=_0x3911d6;if(_0x5662db[_0x41bb83(0x4a1)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x41bb83(0x4b6)](this[_0x41bb83(0x1af)]['t']('auth.needGotoLoginAlert'))){const _0x5920b7=window[_0x41bb83(0x472)](window['location'][_0x41bb83(0x3d6)]);window[_0x41bb83(0x271)][_0x41bb83(0x3d6)]=this['_getLoginPath']()+'?url='+_0x5920b7;}}return _0x5662db;}))});}['_getLoginPath'](){var _0x25d593=_0x3bcbc5,_0x128742;const _0x4bfb1d=this['_configService']['getConfig'](K);return(_0x128742=_0x4bfb1d==null?void 0x0:_0x4bfb1d[_0x25d593(0x3f3)])!=null?_0x128742:Rs;}};rt=tn([dt(0x0,_0x12469b),dt(0x1,_0x1b5fe1(_0x4ba195)),dt(0x2,_0x1b5fe1(_0x3f3943))],rt);var sn=Object[_0x3bcbc5(0x2f1)],nn=(_0x5832f1,_0x2f6e3b,_0x11639a,_0x164287)=>{var _0x100308=_0x3bcbc5;for(var _0x7464ac=_0x164287>0x1?void 0x0:_0x164287?sn(_0x2f6e3b,_0x11639a):_0x2f6e3b,_0x2f0eb1=_0x5832f1[_0x100308(0x2be)]-0x1,_0x34eaca;_0x2f0eb1>=0x0;_0x2f0eb1--)(_0x34eaca=_0x5832f1[_0x2f0eb1])&&(_0x7464ac=_0x34eaca(_0x7464ac)||_0x7464ac);return _0x7464ac;},Yt=(_0x49a969,_0x1cad0a)=>(_0x4d750c,_0x436665)=>_0x1cad0a(_0x4d750c,_0x436665,_0x49a969);const rn='/universer-api/authz';let Tt=class extends _0x589fe2{constructor(_0x4c4ba7,_0x43ad85){var _0x537336=_0x3bcbc5;super(),this[_0x537336(0x36a)]=_0x4c4ba7,this[_0x537336(0x346)]=_0x43ad85,this[_0x537336(0x3b5)]();}[_0x3bcbc5(0x3b5)](){var _0xfec4bf=_0x3bcbc5;const _0x2aeaf6=this;this['disposeWithMe'](this[_0xfec4bf(0x36a)][_0xfec4bf(0x2ea)]({'priority':0x3e7,'interceptor':_0x4e5346({'isMatch'(_0x4b761f){var _0x543835=_0xfec4bf,_0x16f1ac;if(_0x4b761f['method']===_0x543835(0x40b)&&((_0x16f1ac=_0x4b761f[_0x543835(0x268)])!=null&&_0x16f1ac[_0x543835(0x457)])){const {objectID:_0x5e055c,objectType:_0x32250b}=_0x4b761f['requestParams'][_0x543835(0x457)]||{};if(!_0x5e055c||_0x32250b===void 0x0)return!0x1;const _0x256dcd=_0x2aeaf6[_0x543835(0x214)]()+'/'+_0x32250b+_0x543835(0x477)+_0x5e055c+_0x543835(0x380);if(_0x4b761f[_0x543835(0x23a)]===_0x256dcd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f693e){var _0x30a53a=_0xfec4bf,_0x48ed8b;return(_0x48ed8b=_0x2f693e[_0x30a53a(0x268)])==null?void 0x0:_0x48ed8b[_0x30a53a(0x457)];},'mergeParamsToRequest'(_0x573901,_0xa45745){var _0x91d8ae=_0xfec4bf;const _0x1524a2=_0x2aeaf6['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x51c0bf=_0x573901['reduce']((_0x57d6ea,_0x422726)=>{var _0x5ea4e1=_0x1928;const {unitID:_0xe46527,objectID:_0x1bf10d,objectType:_0x5726ba,actions:_0x33dadc}=_0x422726;return _0x57d6ea[_0xe46527]||(_0x57d6ea[_0xe46527]={}),_0x57d6ea[_0xe46527][_0x1bf10d]||(_0x57d6ea[_0xe46527][_0x1bf10d]={'objectID':_0x1bf10d,'objectType':_0x5726ba,'actions':[]}),_0x57d6ea[_0xe46527][_0x1bf10d][_0x5ea4e1(0x293)][_0x5ea4e1(0x35e)](..._0x33dadc),_0x57d6ea;},{}),_0x32370d=[];for(const _0x1b5436 in _0x51c0bf)for(const _0xc02567 in _0x51c0bf[_0x1b5436]){const {actions:_0x39bacd,objectType:_0xce9dee}=_0x51c0bf[_0x1b5436][_0xc02567],_0x4ffe0c=[...new Set(_0x39bacd)];_0x32370d['push']({'unitID':_0x1b5436,'objectID':_0xc02567,'objectType':_0xce9dee,'actions':_0x4ffe0c});}return new _0x47562d(_0x91d8ae(0x40b),_0x1524a2,{'headers':_0xa45745['headers'],'withCredentials':_0xa45745['withCredentials'],'responseType':_0xa45745['responseType'],'body':{'requests':_0x32370d}});}},{'distributeResult'(_0x487e15,_0x232ae6){var _0x3dec08=_0xfec4bf;const {objectActions:_0x1c3564}=_0x487e15;return _0x232ae6[_0x3dec08(0x289)](_0x12f115=>{var _0x364fc9=_0x3dec08;const {unitID:_0x3d2104,objectID:_0x2d6c68,actions:_0x4fe5ef}=_0x12f115,_0x3aeac4=_0x1c3564['find'](_0x15093a=>_0x15093a['unitID']===_0x3d2104&&_0x15093a['objectID']===_0x2d6c68),_0x165426=_0x4fe5ef['map'](_0x2ff8fb=>_0x3aeac4==null?void 0x0:_0x3aeac4[_0x364fc9(0x293)][_0x364fc9(0x318)](_0x19d24a=>_0x19d24a['action']===_0x2ff8fb))['filter'](_0xe9781f=>!!_0xe9781f);return{'config':_0x12f115,'result':{'actions':_0x165426,'error':_0x487e15[_0x364fc9(0x2dd)]}};});}})}));}[_0x3bcbc5(0x214)](){var _0x5ab691=_0x3bcbc5,_0x5830b1;const _0x1e4d7d=this['_configService'][_0x5ab691(0x2f6)](K);return(_0x5830b1=_0x1e4d7d==null?void 0x0:_0x1e4d7d['authzUrl'])!=null?_0x5830b1:rn;}async['create'](_0x31770a){var _0x577a0e=_0x3bcbc5;const _0x5315d7=this[_0x577a0e(0x214)]()+'/'+_0x31770a[_0x577a0e(0x4ae)]+_0x577a0e(0x3a6);return(await this[_0x577a0e(0x36a)][_0x577a0e(0x218)](_0x5315d7,{'body':_0x31770a}))['body']['objectID']||'';}async[_0x3bcbc5(0x21d)](_0x135815){var _0x3e197e=_0x3bcbc5;const _0x5b5e2d=this[_0x3e197e(0x214)]()+'/-/object/list';return(await this[_0x3e197e(0x36a)][_0x3e197e(0x218)](_0x5b5e2d,{'body':_0x135815}))[_0x3e197e(0x457)]['objects'];}async['update'](_0x5183f9){var _0x5d1fc9=_0x3bcbc5,_0xefb79c,_0x3f685c;const _0x2b5889=this[_0x5d1fc9(0x214)]()+'/'+_0x5183f9[_0x5d1fc9(0x4ae)]+_0x5d1fc9(0x477)+_0x5183f9['objectID'],_0x3cc530=await this[_0x5d1fc9(0x36a)][_0x5d1fc9(0x382)](_0x2b5889,{'body':_0x5183f9});if(((_0x3f685c=(_0xefb79c=_0x3cc530==null?void 0x0:_0x3cc530[_0x5d1fc9(0x457)])==null?void 0x0:_0xefb79c[_0x5d1fc9(0x2dd)])==null?void 0x0:_0x3f685c['code'])!==0x1)throw new Error(_0x5d1fc9(0x27a));}async[_0x3bcbc5(0x350)](_0x22dca3){var _0x39cab0=_0x3bcbc5;const _0x1ecd17=this['_getAPIPrefixPath']()+'/'+_0x22dca3['objectType']+_0x39cab0(0x477)+_0x22dca3[_0x39cab0(0x1b9)]+_0x39cab0(0x380);return(await this[_0x39cab0(0x36a)][_0x39cab0(0x218)](_0x1ecd17,{'body':_0x22dca3}))['body'][_0x39cab0(0x293)];}async['batchAllowed'](_0x5a4308){var _0x5d8151=_0x3bcbc5;const _0x35fa54=this[_0x5d8151(0x214)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x5d8151(0x218)](_0x35fa54,{'body':{'requests':_0x5a4308}}))[_0x5d8151(0x457)][_0x5d8151(0x302)];}async[_0x3bcbc5(0x257)](_0x3e59b2){var _0x6e982c=_0x3bcbc5;const _0x3886ba=this['_getAPIPrefixPath']()+'/'+_0x3e59b2[_0x6e982c(0x4ae)]+_0x6e982c(0x253),_0x3f4be6=await this[_0x6e982c(0x36a)][_0x6e982c(0x218)](_0x3886ba,{'body':_0x3e59b2});return{'roles':_0x3f4be6['body'][_0x6e982c(0x2e4)],'actions':_0x3f4be6['body'][_0x6e982c(0x293)]};}async[_0x3bcbc5(0x402)](_0x3474c7){var _0x262ed6=_0x3bcbc5;const _0x73d53=this[_0x262ed6(0x214)]()+_0x262ed6(0x2b7);await this[_0x262ed6(0x36a)][_0x262ed6(0x38b)](_0x73d53,{'params':{'collaboratorID':_0x3474c7[_0x262ed6(0x3e0)],'objectID':_0x3474c7[_0x262ed6(0x1b9)],'unitID':_0x3474c7[_0x262ed6(0x2f2)]}});}async[_0x3bcbc5(0x473)](_0x3a51cf){var _0x5c39d1=_0x3bcbc5;const _0x4243ee=this['_getAPIPrefixPath']()+_0x5c39d1(0x2b7);await this[_0x5c39d1(0x36a)]['patch'](_0x4243ee,{'body':_0x3a51cf});}async[_0x3bcbc5(0x49b)](_0x525598){var _0x1dcc16=_0x3bcbc5;const _0x2b599=this[_0x1dcc16(0x214)]()+_0x1dcc16(0x2b7);await this['_HTTPService']['post'](_0x2b599,{'body':_0x525598});}async[_0x3bcbc5(0x412)](_0x55d281){var _0x407b9e=_0x3bcbc5;const _0xb6206b=this[_0x407b9e(0x214)]()+'/collaborator';return(await this[_0x407b9e(0x36a)][_0x407b9e(0x448)](_0xb6206b,{'params':{'objectID':_0x55d281[_0x407b9e(0x1b9)],'unitID':_0x55d281[_0x407b9e(0x2f2)]}}))[_0x407b9e(0x457)][_0x407b9e(0x261)];}async[_0x3bcbc5(0x20f)](_0x5c6c9e){var _0x3fd34f=_0x3bcbc5;const _0x38272c=this[_0x3fd34f(0x214)]()+'/collaborator';await this[_0x3fd34f(0x36a)][_0x3fd34f(0x382)](_0x38272c,{'body':_0x5c6c9e});}};Tt=nn([Yt(0x0,_0x1b5fe1(_0x4ba195)),Yt(0x1,_0x1b5fe1(_0x12469b))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x357907){var _0x4b53da=_0x3bcbc5;return _0x357907&&_0x357907[_0x4b53da(0x374)]&&Object[_0x4b53da(0x232)][_0x4b53da(0x31a)][_0x4b53da(0x41d)](_0x357907,'default')?_0x357907['default']:_0x357907;}var Ve={'exports':{}};function an(_0x5d0276){var _0x4b711b=_0x3bcbc5;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5d0276+_0x4b711b(0x1ea));}var Ge={'exports':{}},on=Ge[_0x3bcbc5(0x25a)],Kt;function ie(){var _0x56c4ab=_0x3bcbc5;return Kt||(Kt=0x1,function(_0x3a8b9b,_0x302826){(function(_0x2e01b7,_0x5c334d){var _0x10d03e=_0x1928;_0x3a8b9b[_0x10d03e(0x25a)]=_0x5c334d();}(on,function(){var _0x3cfde1=_0x3cfde1||function(_0x4bb53b,_0x4ce89c){var _0x124bcf=_0x1928,_0x2b93b2;if(typeof window<'u'&&window[_0x124bcf(0x2ef)]&&(_0x2b93b2=window[_0x124bcf(0x2ef)]),typeof self<'u'&&self[_0x124bcf(0x2ef)]&&(_0x2b93b2=self[_0x124bcf(0x2ef)]),typeof globalThis<'u'&&globalThis[_0x124bcf(0x2ef)]&&(_0x2b93b2=globalThis[_0x124bcf(0x2ef)]),!_0x2b93b2&&typeof window<'u'&&window['msCrypto']&&(_0x2b93b2=window[_0x124bcf(0x338)]),!_0x2b93b2&&typeof ft<'u'&&ft[_0x124bcf(0x2ef)]&&(_0x2b93b2=ft[_0x124bcf(0x2ef)]),!_0x2b93b2&&typeof an==_0x124bcf(0x1b7))try{_0x2b93b2=require('crypto');}catch{}var _0x1f4886=function(){var _0x353d27=_0x124bcf;if(_0x2b93b2){if(typeof _0x2b93b2['getRandomValues']=='function')try{return _0x2b93b2['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b93b2['randomBytes']==_0x353d27(0x1b7))try{return _0x2b93b2['randomBytes'](0x4)[_0x353d27(0x249)]();}catch{}}throw new Error(_0x353d27(0x26f));},_0x201c3f=Object[_0x124bcf(0x277)]||(function(){function _0x4fdce6(){}return function(_0x26139a){var _0x5803e2=_0x1928,_0x2dd464;return _0x4fdce6[_0x5803e2(0x232)]=_0x26139a,_0x2dd464=new _0x4fdce6(),_0x4fdce6[_0x5803e2(0x232)]=null,_0x2dd464;};}()),_0xa8ecc6={},_0x4e41a7=_0xa8ecc6[_0x124bcf(0x22c)]={},_0x468a86=_0x4e41a7[_0x124bcf(0x36d)]=(function(){return{'extend':function(_0x26be98){var _0x524735=_0x1928,_0x212991=_0x201c3f(this);return _0x26be98&&_0x212991[_0x524735(0x250)](_0x26be98),(!_0x212991['hasOwnProperty'](_0x524735(0x38c))||this[_0x524735(0x38c)]===_0x212991[_0x524735(0x38c)])&&(_0x212991[_0x524735(0x38c)]=function(){var _0x3b5598=_0x524735;_0x212991[_0x3b5598(0x21f)][_0x3b5598(0x38c)][_0x3b5598(0x3b1)](this,arguments);}),_0x212991['init']['prototype']=_0x212991,_0x212991[_0x524735(0x21f)]=this,_0x212991;},'create':function(){var _0x1c832f=_0x1928,_0x1df13f=this[_0x1c832f(0x375)]();return _0x1df13f['init']['apply'](_0x1df13f,arguments),_0x1df13f;},'init':function(){},'mixIn':function(_0x46c47d){var _0x159948=_0x1928;for(var _0x2ebb06 in _0x46c47d)_0x46c47d['hasOwnProperty'](_0x2ebb06)&&(this[_0x2ebb06]=_0x46c47d[_0x2ebb06]);_0x46c47d['hasOwnProperty'](_0x159948(0x28b))&&(this[_0x159948(0x28b)]=_0x46c47d[_0x159948(0x28b)]);},'clone':function(){var _0x360252=_0x1928;return this['init'][_0x360252(0x232)][_0x360252(0x375)](this);}};}()),_0x20e93e=_0x4e41a7[_0x124bcf(0x3e2)]=_0x468a86[_0x124bcf(0x375)]({'init':function(_0xd3258a,_0x331aa0){var _0x1190d3=_0x124bcf;_0xd3258a=this[_0x1190d3(0x45a)]=_0xd3258a||[],_0x331aa0!=_0x4ce89c?this[_0x1190d3(0x256)]=_0x331aa0:this[_0x1190d3(0x256)]=_0xd3258a['length']*0x4;},'toString':function(_0x2e0bd4){var _0x324500=_0x124bcf;return(_0x2e0bd4||_0x444b66)[_0x324500(0x2ce)](this);},'concat':function(_0x4d8d1b){var _0x1f3059=_0x124bcf,_0x42820e=this[_0x1f3059(0x45a)],_0x4832d5=_0x4d8d1b[_0x1f3059(0x45a)],_0x5e617b=this[_0x1f3059(0x256)],_0x5c8385=_0x4d8d1b[_0x1f3059(0x256)];if(this['clamp'](),_0x5e617b%0x4)for(var _0x2fc706=0x0;_0x2fc706<_0x5c8385;_0x2fc706++){var _0x5ac0c3=_0x4832d5[_0x2fc706>>>0x2]>>>0x18-_0x2fc706%0x4*0x8&0xff;_0x42820e[_0x5e617b+_0x2fc706>>>0x2]|=_0x5ac0c3<<0x18-(_0x5e617b+_0x2fc706)%0x4*0x8;}else{for(var _0x4446df=0x0;_0x4446df<_0x5c8385;_0x4446df+=0x4)_0x42820e[_0x5e617b+_0x4446df>>>0x2]=_0x4832d5[_0x4446df>>>0x2];}return this[_0x1f3059(0x256)]+=_0x5c8385,this;},'clamp':function(){var _0x5a8c0e=_0x124bcf,_0x1685ec=this[_0x5a8c0e(0x45a)],_0x3144c0=this[_0x5a8c0e(0x256)];_0x1685ec[_0x3144c0>>>0x2]&=0xffffffff<<0x20-_0x3144c0%0x4*0x8,_0x1685ec[_0x5a8c0e(0x2be)]=_0x4bb53b[_0x5a8c0e(0x24c)](_0x3144c0/0x4);},'clone':function(){var _0x115e05=_0x124bcf,_0x13deeb=_0x468a86[_0x115e05(0x236)][_0x115e05(0x41d)](this);return _0x13deeb['words']=this[_0x115e05(0x45a)][_0x115e05(0x1e9)](0x0),_0x13deeb;},'random':function(_0x24d9d0){var _0x58f19f=_0x124bcf;for(var _0x2b80ec=[],_0x262e80=0x0;_0x262e80<_0x24d9d0;_0x262e80+=0x4)_0x2b80ec[_0x58f19f(0x35e)](_0x1f4886());return new _0x20e93e['init'](_0x2b80ec,_0x24d9d0);}}),_0x10e9f9=_0xa8ecc6[_0x124bcf(0x20e)]={},_0x444b66=_0x10e9f9['Hex']={'stringify':function(_0x5c5c14){var _0x1d77d6=_0x124bcf;for(var _0x41911d=_0x5c5c14[_0x1d77d6(0x45a)],_0x38a492=_0x5c5c14[_0x1d77d6(0x256)],_0x1ca9e5=[],_0x51b81b=0x0;_0x51b81b<_0x38a492;_0x51b81b++){var _0x26b921=_0x41911d[_0x51b81b>>>0x2]>>>0x18-_0x51b81b%0x4*0x8&0xff;_0x1ca9e5[_0x1d77d6(0x35e)]((_0x26b921>>>0x4)[_0x1d77d6(0x28b)](0x10)),_0x1ca9e5[_0x1d77d6(0x35e)]((_0x26b921&0xf)[_0x1d77d6(0x28b)](0x10));}return _0x1ca9e5[_0x1d77d6(0x2f8)]('');},'parse':function(_0x15e87a){var _0xda80db=_0x124bcf;for(var _0x48ef36=_0x15e87a['length'],_0x2014b3=[],_0x1eb84f=0x0;_0x1eb84f<_0x48ef36;_0x1eb84f+=0x2)_0x2014b3[_0x1eb84f>>>0x3]|=parseInt(_0x15e87a[_0xda80db(0x3bf)](_0x1eb84f,0x2),0x10)<<0x18-_0x1eb84f%0x8*0x4;return new _0x20e93e[(_0xda80db(0x38c))](_0x2014b3,_0x48ef36/0x2);}},_0x290a0f=_0x10e9f9[_0x124bcf(0x37e)]={'stringify':function(_0x18827c){var _0x5e3bba=_0x124bcf;for(var _0x45f683=_0x18827c[_0x5e3bba(0x45a)],_0x59357b=_0x18827c[_0x5e3bba(0x256)],_0xf741e6=[],_0x342403=0x0;_0x342403<_0x59357b;_0x342403++){var _0x2a6bdd=_0x45f683[_0x342403>>>0x2]>>>0x18-_0x342403%0x4*0x8&0xff;_0xf741e6[_0x5e3bba(0x35e)](String[_0x5e3bba(0x254)](_0x2a6bdd));}return _0xf741e6[_0x5e3bba(0x2f8)]('');},'parse':function(_0x1b8d17){var _0x13ce90=_0x124bcf;for(var _0x5926f9=_0x1b8d17[_0x13ce90(0x2be)],_0x710fa0=[],_0x12941f=0x0;_0x12941f<_0x5926f9;_0x12941f++)_0x710fa0[_0x12941f>>>0x2]|=(_0x1b8d17['charCodeAt'](_0x12941f)&0xff)<<0x18-_0x12941f%0x4*0x8;return new _0x20e93e[(_0x13ce90(0x38c))](_0x710fa0,_0x5926f9);}},_0x5f1b0d=_0x10e9f9[_0x124bcf(0x424)]={'stringify':function(_0xdcbe5a){var _0x2fb959=_0x124bcf;try{return decodeURIComponent(escape(_0x290a0f[_0x2fb959(0x2ce)](_0xdcbe5a)));}catch{throw new Error(_0x2fb959(0x42e));}},'parse':function(_0x3d50e5){return _0x290a0f['parse'](unescape(encodeURIComponent(_0x3d50e5)));}},_0xe2724b=_0x4e41a7['BufferedBlockAlgorithm']=_0x468a86[_0x124bcf(0x375)]({'reset':function(){var _0x145ff9=_0x124bcf;this[_0x145ff9(0x27e)]=new _0x20e93e[(_0x145ff9(0x38c))](),this['_nDataBytes']=0x0;},'_append':function(_0x3076c2){var _0x696cac=_0x124bcf;typeof _0x3076c2==_0x696cac(0x2bd)&&(_0x3076c2=_0x5f1b0d[_0x696cac(0x1fc)](_0x3076c2)),this[_0x696cac(0x27e)]['concat'](_0x3076c2),this[_0x696cac(0x499)]+=_0x3076c2[_0x696cac(0x256)];},'_process':function(_0x599187){var _0x14583e=_0x124bcf,_0x2dee4c,_0x3a5acb=this['_data'],_0x5ec50d=_0x3a5acb[_0x14583e(0x45a)],_0x5b3efd=_0x3a5acb[_0x14583e(0x256)],_0xcdb1fb=this[_0x14583e(0x2d2)],_0x16b877=_0xcdb1fb*0x4,_0x10ffcd=_0x5b3efd/_0x16b877;_0x599187?_0x10ffcd=_0x4bb53b[_0x14583e(0x24c)](_0x10ffcd):_0x10ffcd=_0x4bb53b['max']((_0x10ffcd|0x0)-this[_0x14583e(0x2bf)],0x0);var _0x714755=_0x10ffcd*_0xcdb1fb,_0x16d586=_0x4bb53b[_0x14583e(0x356)](_0x714755*0x4,_0x5b3efd);if(_0x714755){for(var _0x27ab7f=0x0;_0x27ab7f<_0x714755;_0x27ab7f+=_0xcdb1fb)this[_0x14583e(0x366)](_0x5ec50d,_0x27ab7f);_0x2dee4c=_0x5ec50d[_0x14583e(0x1f8)](0x0,_0x714755),_0x3a5acb[_0x14583e(0x256)]-=_0x16d586;}return new _0x20e93e[(_0x14583e(0x38c))](_0x2dee4c,_0x16d586);},'clone':function(){var _0x19917e=_0x124bcf,_0x527b8c=_0x468a86[_0x19917e(0x236)][_0x19917e(0x41d)](this);return _0x527b8c[_0x19917e(0x27e)]=this[_0x19917e(0x27e)][_0x19917e(0x236)](),_0x527b8c;},'_minBufferSize':0x0});_0x4e41a7[_0x124bcf(0x23e)]=_0xe2724b['extend']({'cfg':_0x468a86[_0x124bcf(0x375)](),'init':function(_0x5d2541){var _0x4d622a=_0x124bcf;this[_0x4d622a(0x345)]=this['cfg']['extend'](_0x5d2541),this[_0x4d622a(0x46f)]();},'reset':function(){var _0x5ccfd9=_0x124bcf;_0xe2724b[_0x5ccfd9(0x46f)][_0x5ccfd9(0x41d)](this),this[_0x5ccfd9(0x469)]();},'update':function(_0x3ce9c2){var _0x9c20a3=_0x124bcf;return this[_0x9c20a3(0x22b)](_0x3ce9c2),this[_0x9c20a3(0x3f8)](),this;},'finalize':function(_0x24af27){var _0x3dd1bc=_0x124bcf;_0x24af27&&this[_0x3dd1bc(0x22b)](_0x24af27);var _0x270d7b=this[_0x3dd1bc(0x1d8)]();return _0x270d7b;},'blockSize':0x10,'_createHelper':function(_0xfd1bab){return function(_0x1aaa06,_0x3c4d41){var _0x1b6b28=_0x1928;return new _0xfd1bab[(_0x1b6b28(0x38c))](_0x3c4d41)[_0x1b6b28(0x475)](_0x1aaa06);};},'_createHmacHelper':function(_0x16145a){return function(_0x263185,_0x61dbb8){var _0x138939=_0x1928;return new _0x4684d9[(_0x138939(0x438))]['init'](_0x16145a,_0x61dbb8)[_0x138939(0x475)](_0x263185);};}});var _0x4684d9=_0xa8ecc6[_0x124bcf(0x20d)]={};return _0xa8ecc6;}(Math);return _0x3cfde1;}));}(Ge)),Ge[_0x56c4ab(0x25a)];}var We={'exports':{}},cn=We[_0x3bcbc5(0x25a)],qt;function Ri(){var _0x482335=_0x3bcbc5;return qt||(qt=0x1,function(_0x4550e0,_0x52ed64){(function(_0xa11e35,_0x336c52){var _0x564c46=_0x1928;_0x4550e0[_0x564c46(0x25a)]=_0x336c52(ie());}(cn,function(_0x529110){var _0x54dbe6=_0x1928;return(function(){var _0x541ae1=_0x1928,_0x1e6b98=_0x529110,_0x116724=_0x1e6b98['lib'],_0x45bdec=_0x116724[_0x541ae1(0x3e2)],_0x37ef15=_0x1e6b98['enc'];_0x37ef15[_0x541ae1(0x27d)]={'stringify':function(_0x4eb494){var _0x42b330=_0x541ae1,_0x75a0c9=_0x4eb494[_0x42b330(0x45a)],_0x3b0786=_0x4eb494['sigBytes'],_0x5baf86=this[_0x42b330(0x362)];_0x4eb494[_0x42b330(0x316)]();for(var _0x44e6d6=[],_0x467969=0x0;_0x467969<_0x3b0786;_0x467969+=0x3)for(var _0x333eaf=_0x75a0c9[_0x467969>>>0x2]>>>0x18-_0x467969%0x4*0x8&0xff,_0x2f49f0=_0x75a0c9[_0x467969+0x1>>>0x2]>>>0x18-(_0x467969+0x1)%0x4*0x8&0xff,_0x21bfd9=_0x75a0c9[_0x467969+0x2>>>0x2]>>>0x18-(_0x467969+0x2)%0x4*0x8&0xff,_0x6bc1fc=_0x333eaf<<0x10|_0x2f49f0<<0x8|_0x21bfd9,_0x51abdc=0x0;_0x51abdc<0x4&&_0x467969+_0x51abdc*0.75<_0x3b0786;_0x51abdc++)_0x44e6d6[_0x42b330(0x35e)](_0x5baf86[_0x42b330(0x40a)](_0x6bc1fc>>>0x6*(0x3-_0x51abdc)&0x3f));var _0x7bd9ac=_0x5baf86[_0x42b330(0x40a)](0x40);if(_0x7bd9ac){for(;_0x44e6d6['length']%0x4;)_0x44e6d6['push'](_0x7bd9ac);}return _0x44e6d6[_0x42b330(0x2f8)]('');},'parse':function(_0x3066b7){var _0x1c3f6f=_0x541ae1,_0x367033=_0x3066b7[_0x1c3f6f(0x2be)],_0x4ccd0c=this['_map'],_0x17714a=this[_0x1c3f6f(0x2c6)];if(!_0x17714a){_0x17714a=this[_0x1c3f6f(0x2c6)]=[];for(var _0x48f297=0x0;_0x48f297<_0x4ccd0c[_0x1c3f6f(0x2be)];_0x48f297++)_0x17714a[_0x4ccd0c[_0x1c3f6f(0x3cc)](_0x48f297)]=_0x48f297;}var _0x1dd812=_0x4ccd0c[_0x1c3f6f(0x40a)](0x40);if(_0x1dd812){var _0x2b45b1=_0x3066b7[_0x1c3f6f(0x379)](_0x1dd812);_0x2b45b1!==-0x1&&(_0x367033=_0x2b45b1);}return _0x8197ee(_0x3066b7,_0x367033,_0x17714a);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x8197ee(_0xf5c8ea,_0x15bc3e,_0x10cec7){var _0x439e26=_0x541ae1;for(var _0x105b98=[],_0x5ccf2=0x0,_0x1f5b06=0x0;_0x1f5b06<_0x15bc3e;_0x1f5b06++)if(_0x1f5b06%0x4){var _0x21d0fd=_0x10cec7[_0xf5c8ea[_0x439e26(0x3cc)](_0x1f5b06-0x1)]<<_0x1f5b06%0x4*0x2,_0x2959cd=_0x10cec7[_0xf5c8ea[_0x439e26(0x3cc)](_0x1f5b06)]>>>0x6-_0x1f5b06%0x4*0x2,_0x2e6cc=_0x21d0fd|_0x2959cd;_0x105b98[_0x5ccf2>>>0x2]|=_0x2e6cc<<0x18-_0x5ccf2%0x4*0x8,_0x5ccf2++;}return _0x45bdec[_0x439e26(0x277)](_0x105b98,_0x5ccf2);}}()),_0x529110[_0x54dbe6(0x20e)][_0x54dbe6(0x27d)];}));}(We)),We[_0x482335(0x25a)];}var Ye={'exports':{}},_n=Ye[_0x3bcbc5(0x25a)],zt;function hn(){return zt||(zt=0x1,function(_0x58344f,_0x4d62f3){(function(_0x29fc7d,_0xbe9a49){_0x58344f['exports']=_0xbe9a49(ie());}(_n,function(_0x1a12c3){var _0x1d3769=_0x1928;return function(_0x2024d4){var _0x5b31ff=_0x1928,_0x218f00=_0x1a12c3,_0x45e625=_0x218f00['lib'],_0x55675c=_0x45e625[_0x5b31ff(0x3e2)],_0x1b06df=_0x45e625[_0x5b31ff(0x23e)],_0x38d898=_0x218f00[_0x5b31ff(0x20d)],_0x10c65b=[];(function(){var _0x949195=_0x5b31ff;for(var _0x46835f=0x0;_0x46835f<0x40;_0x46835f++)_0x10c65b[_0x46835f]=_0x2024d4[_0x949195(0x2f5)](_0x2024d4['sin'](_0x46835f+0x1))*0x100000000|0x0;}());var _0x17a1eb=_0x38d898['MD5']=_0x1b06df[_0x5b31ff(0x375)]({'_doReset':function(){var _0x1c3aae=_0x5b31ff;this[_0x1c3aae(0x451)]=new _0x55675c[(_0x1c3aae(0x38c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x50bf84,_0x1ce3a2){var _0x4a3ac2=_0x5b31ff;for(var _0x279bf8=0x0;_0x279bf8<0x10;_0x279bf8++){var _0x56ff50=_0x1ce3a2+_0x279bf8,_0x419cb5=_0x50bf84[_0x56ff50];_0x50bf84[_0x56ff50]=(_0x419cb5<<0x8|_0x419cb5>>>0x18)&0xff00ff|(_0x419cb5<<0x18|_0x419cb5>>>0x8)&0xff00ff00;}var _0x2f2e2d=this[_0x4a3ac2(0x451)][_0x4a3ac2(0x45a)],_0xdfd9f1=_0x50bf84[_0x1ce3a2+0x0],_0x13076c=_0x50bf84[_0x1ce3a2+0x1],_0x5c50d0=_0x50bf84[_0x1ce3a2+0x2],_0x1ae744=_0x50bf84[_0x1ce3a2+0x3],_0x17954c=_0x50bf84[_0x1ce3a2+0x4],_0x4b7097=_0x50bf84[_0x1ce3a2+0x5],_0x101f2d=_0x50bf84[_0x1ce3a2+0x6],_0x153912=_0x50bf84[_0x1ce3a2+0x7],_0x33e54d=_0x50bf84[_0x1ce3a2+0x8],_0x19259a=_0x50bf84[_0x1ce3a2+0x9],_0x30dd73=_0x50bf84[_0x1ce3a2+0xa],_0x59346d=_0x50bf84[_0x1ce3a2+0xb],_0x3871c1=_0x50bf84[_0x1ce3a2+0xc],_0x569902=_0x50bf84[_0x1ce3a2+0xd],_0x5be3f9=_0x50bf84[_0x1ce3a2+0xe],_0x5f3de4=_0x50bf84[_0x1ce3a2+0xf],_0x22d3e2=_0x2f2e2d[0x0],_0x49529f=_0x2f2e2d[0x1],_0x468aa2=_0x2f2e2d[0x2],_0x123571=_0x2f2e2d[0x3];_0x22d3e2=_0x326b6f(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0xdfd9f1,0x7,_0x10c65b[0x0]),_0x123571=_0x326b6f(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x13076c,0xc,_0x10c65b[0x1]),_0x468aa2=_0x326b6f(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5c50d0,0x11,_0x10c65b[0x2]),_0x49529f=_0x326b6f(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x1ae744,0x16,_0x10c65b[0x3]),_0x22d3e2=_0x326b6f(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x17954c,0x7,_0x10c65b[0x4]),_0x123571=_0x326b6f(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x4b7097,0xc,_0x10c65b[0x5]),_0x468aa2=_0x326b6f(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x101f2d,0x11,_0x10c65b[0x6]),_0x49529f=_0x326b6f(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x153912,0x16,_0x10c65b[0x7]),_0x22d3e2=_0x326b6f(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x33e54d,0x7,_0x10c65b[0x8]),_0x123571=_0x326b6f(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x19259a,0xc,_0x10c65b[0x9]),_0x468aa2=_0x326b6f(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x30dd73,0x11,_0x10c65b[0xa]),_0x49529f=_0x326b6f(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x59346d,0x16,_0x10c65b[0xb]),_0x22d3e2=_0x326b6f(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x3871c1,0x7,_0x10c65b[0xc]),_0x123571=_0x326b6f(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x569902,0xc,_0x10c65b[0xd]),_0x468aa2=_0x326b6f(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5be3f9,0x11,_0x10c65b[0xe]),_0x49529f=_0x326b6f(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x5f3de4,0x16,_0x10c65b[0xf]),_0x22d3e2=_0x4ef564(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x13076c,0x5,_0x10c65b[0x10]),_0x123571=_0x4ef564(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x101f2d,0x9,_0x10c65b[0x11]),_0x468aa2=_0x4ef564(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x59346d,0xe,_0x10c65b[0x12]),_0x49529f=_0x4ef564(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0xdfd9f1,0x14,_0x10c65b[0x13]),_0x22d3e2=_0x4ef564(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x4b7097,0x5,_0x10c65b[0x14]),_0x123571=_0x4ef564(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x30dd73,0x9,_0x10c65b[0x15]),_0x468aa2=_0x4ef564(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5f3de4,0xe,_0x10c65b[0x16]),_0x49529f=_0x4ef564(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x17954c,0x14,_0x10c65b[0x17]),_0x22d3e2=_0x4ef564(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x19259a,0x5,_0x10c65b[0x18]),_0x123571=_0x4ef564(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x5be3f9,0x9,_0x10c65b[0x19]),_0x468aa2=_0x4ef564(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x1ae744,0xe,_0x10c65b[0x1a]),_0x49529f=_0x4ef564(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x33e54d,0x14,_0x10c65b[0x1b]),_0x22d3e2=_0x4ef564(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x569902,0x5,_0x10c65b[0x1c]),_0x123571=_0x4ef564(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x5c50d0,0x9,_0x10c65b[0x1d]),_0x468aa2=_0x4ef564(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x153912,0xe,_0x10c65b[0x1e]),_0x49529f=_0x4ef564(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x3871c1,0x14,_0x10c65b[0x1f]),_0x22d3e2=_0x511d67(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x4b7097,0x4,_0x10c65b[0x20]),_0x123571=_0x511d67(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x33e54d,0xb,_0x10c65b[0x21]),_0x468aa2=_0x511d67(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x59346d,0x10,_0x10c65b[0x22]),_0x49529f=_0x511d67(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x5be3f9,0x17,_0x10c65b[0x23]),_0x22d3e2=_0x511d67(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x13076c,0x4,_0x10c65b[0x24]),_0x123571=_0x511d67(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x17954c,0xb,_0x10c65b[0x25]),_0x468aa2=_0x511d67(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x153912,0x10,_0x10c65b[0x26]),_0x49529f=_0x511d67(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x30dd73,0x17,_0x10c65b[0x27]),_0x22d3e2=_0x511d67(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x569902,0x4,_0x10c65b[0x28]),_0x123571=_0x511d67(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0xdfd9f1,0xb,_0x10c65b[0x29]),_0x468aa2=_0x511d67(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x1ae744,0x10,_0x10c65b[0x2a]),_0x49529f=_0x511d67(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x101f2d,0x17,_0x10c65b[0x2b]),_0x22d3e2=_0x511d67(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x19259a,0x4,_0x10c65b[0x2c]),_0x123571=_0x511d67(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x3871c1,0xb,_0x10c65b[0x2d]),_0x468aa2=_0x511d67(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5f3de4,0x10,_0x10c65b[0x2e]),_0x49529f=_0x511d67(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x5c50d0,0x17,_0x10c65b[0x2f]),_0x22d3e2=_0x4a7b8d(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0xdfd9f1,0x6,_0x10c65b[0x30]),_0x123571=_0x4a7b8d(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x153912,0xa,_0x10c65b[0x31]),_0x468aa2=_0x4a7b8d(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5be3f9,0xf,_0x10c65b[0x32]),_0x49529f=_0x4a7b8d(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x4b7097,0x15,_0x10c65b[0x33]),_0x22d3e2=_0x4a7b8d(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x3871c1,0x6,_0x10c65b[0x34]),_0x123571=_0x4a7b8d(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x1ae744,0xa,_0x10c65b[0x35]),_0x468aa2=_0x4a7b8d(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x30dd73,0xf,_0x10c65b[0x36]),_0x49529f=_0x4a7b8d(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x13076c,0x15,_0x10c65b[0x37]),_0x22d3e2=_0x4a7b8d(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x33e54d,0x6,_0x10c65b[0x38]),_0x123571=_0x4a7b8d(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x5f3de4,0xa,_0x10c65b[0x39]),_0x468aa2=_0x4a7b8d(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x101f2d,0xf,_0x10c65b[0x3a]),_0x49529f=_0x4a7b8d(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x569902,0x15,_0x10c65b[0x3b]),_0x22d3e2=_0x4a7b8d(_0x22d3e2,_0x49529f,_0x468aa2,_0x123571,_0x17954c,0x6,_0x10c65b[0x3c]),_0x123571=_0x4a7b8d(_0x123571,_0x22d3e2,_0x49529f,_0x468aa2,_0x59346d,0xa,_0x10c65b[0x3d]),_0x468aa2=_0x4a7b8d(_0x468aa2,_0x123571,_0x22d3e2,_0x49529f,_0x5c50d0,0xf,_0x10c65b[0x3e]),_0x49529f=_0x4a7b8d(_0x49529f,_0x468aa2,_0x123571,_0x22d3e2,_0x19259a,0x15,_0x10c65b[0x3f]),_0x2f2e2d[0x0]=_0x2f2e2d[0x0]+_0x22d3e2|0x0,_0x2f2e2d[0x1]=_0x2f2e2d[0x1]+_0x49529f|0x0,_0x2f2e2d[0x2]=_0x2f2e2d[0x2]+_0x468aa2|0x0,_0x2f2e2d[0x3]=_0x2f2e2d[0x3]+_0x123571|0x0;},'_doFinalize':function(){var _0x3b0c04=_0x5b31ff,_0x49fd78=this['_data'],_0x333da7=_0x49fd78[_0x3b0c04(0x45a)],_0x236bfd=this[_0x3b0c04(0x499)]*0x8,_0x418e5d=_0x49fd78[_0x3b0c04(0x256)]*0x8;_0x333da7[_0x418e5d>>>0x5]|=0x80<<0x18-_0x418e5d%0x20;var _0x5c680b=_0x2024d4[_0x3b0c04(0x37d)](_0x236bfd/0x100000000),_0x4e651c=_0x236bfd;_0x333da7[(_0x418e5d+0x40>>>0x9<<0x4)+0xf]=(_0x5c680b<<0x8|_0x5c680b>>>0x18)&0xff00ff|(_0x5c680b<<0x18|_0x5c680b>>>0x8)&0xff00ff00,_0x333da7[(_0x418e5d+0x40>>>0x9<<0x4)+0xe]=(_0x4e651c<<0x8|_0x4e651c>>>0x18)&0xff00ff|(_0x4e651c<<0x18|_0x4e651c>>>0x8)&0xff00ff00,_0x49fd78[_0x3b0c04(0x256)]=(_0x333da7[_0x3b0c04(0x2be)]+0x1)*0x4,this[_0x3b0c04(0x3f8)]();for(var _0xb39f3=this[_0x3b0c04(0x451)],_0x141d8=_0xb39f3[_0x3b0c04(0x45a)],_0x53c49a=0x0;_0x53c49a<0x4;_0x53c49a++){var _0x3d71c6=_0x141d8[_0x53c49a];_0x141d8[_0x53c49a]=(_0x3d71c6<<0x8|_0x3d71c6>>>0x18)&0xff00ff|(_0x3d71c6<<0x18|_0x3d71c6>>>0x8)&0xff00ff00;}return _0xb39f3;},'clone':function(){var _0x5038f8=_0x5b31ff,_0x55c9d7=_0x1b06df[_0x5038f8(0x236)]['call'](this);return _0x55c9d7[_0x5038f8(0x451)]=this[_0x5038f8(0x451)]['clone'](),_0x55c9d7;}});function _0x326b6f(_0x1fffeb,_0x49909d,_0x1fa6f6,_0x3b906c,_0x3ebe17,_0x45d955,_0x3adabd){var _0x432962=_0x1fffeb+(_0x49909d&_0x1fa6f6|~_0x49909d&_0x3b906c)+_0x3ebe17+_0x3adabd;return(_0x432962<<_0x45d955|_0x432962>>>0x20-_0x45d955)+_0x49909d;}function _0x4ef564(_0x4b74bb,_0x9def25,_0x22de7c,_0x3313f9,_0x36eac1,_0x462653,_0x4688cc){var _0x50fb08=_0x4b74bb+(_0x9def25&_0x3313f9|_0x22de7c&~_0x3313f9)+_0x36eac1+_0x4688cc;return(_0x50fb08<<_0x462653|_0x50fb08>>>0x20-_0x462653)+_0x9def25;}function _0x511d67(_0x2d6512,_0x480113,_0x198974,_0x7d13f5,_0x27aecf,_0x56aae5,_0x516850){var _0x238cff=_0x2d6512+(_0x480113^_0x198974^_0x7d13f5)+_0x27aecf+_0x516850;return(_0x238cff<<_0x56aae5|_0x238cff>>>0x20-_0x56aae5)+_0x480113;}function _0x4a7b8d(_0x534b79,_0x1ee7ae,_0x3971a1,_0x381755,_0x3b929b,_0x3999e2,_0x4a663a){var _0x543020=_0x534b79+(_0x3971a1^(_0x1ee7ae|~_0x381755))+_0x3b929b+_0x4a663a;return(_0x543020<<_0x3999e2|_0x543020>>>0x20-_0x3999e2)+_0x1ee7ae;}_0x218f00[_0x5b31ff(0x2a7)]=_0x1b06df[_0x5b31ff(0x1ff)](_0x17a1eb),_0x218f00[_0x5b31ff(0x392)]=_0x1b06df[_0x5b31ff(0x337)](_0x17a1eb);}(Math),_0x1a12c3[_0x1d3769(0x2a7)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x3bcbc5(0x25a)],Jt;function un(){var _0x5efd54=_0x3bcbc5;return Jt||(Jt=0x1,function(_0x36f85a,_0x5ebf94){(function(_0xb658d3,_0x14f9c7){_0x36f85a['exports']=_0x14f9c7(ie());}(ln,function(_0x3f7ba5){return(function(){var _0x177409=_0x1928,_0x5f04f8=_0x3f7ba5,_0x30198d=_0x5f04f8[_0x177409(0x22c)],_0x5df251=_0x30198d['WordArray'],_0x5bb8cb=_0x30198d[_0x177409(0x23e)],_0x32fbac=_0x5f04f8[_0x177409(0x20d)],_0x2d3f7e=[],_0x2da769=_0x32fbac[_0x177409(0x425)]=_0x5bb8cb[_0x177409(0x375)]({'_doReset':function(){var _0x1e2068=_0x177409;this['_hash']=new _0x5df251[(_0x1e2068(0x38c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5e3f25,_0x2bae79){var _0x1354e6=_0x177409;for(var _0x4e7cec=this[_0x1354e6(0x451)][_0x1354e6(0x45a)],_0x4868c9=_0x4e7cec[0x0],_0x2d5cde=_0x4e7cec[0x1],_0x4e1a63=_0x4e7cec[0x2],_0x331936=_0x4e7cec[0x3],_0x12c51c=_0x4e7cec[0x4],_0x59b7ac=0x0;_0x59b7ac<0x50;_0x59b7ac++){if(_0x59b7ac<0x10)_0x2d3f7e[_0x59b7ac]=_0x5e3f25[_0x2bae79+_0x59b7ac]|0x0;else{var _0x5ce6fa=_0x2d3f7e[_0x59b7ac-0x3]^_0x2d3f7e[_0x59b7ac-0x8]^_0x2d3f7e[_0x59b7ac-0xe]^_0x2d3f7e[_0x59b7ac-0x10];_0x2d3f7e[_0x59b7ac]=_0x5ce6fa<<0x1|_0x5ce6fa>>>0x1f;}var _0x1f6ecb=(_0x4868c9<<0x5|_0x4868c9>>>0x1b)+_0x12c51c+_0x2d3f7e[_0x59b7ac];_0x59b7ac<0x14?_0x1f6ecb+=(_0x2d5cde&_0x4e1a63|~_0x2d5cde&_0x331936)+0x5a827999:_0x59b7ac<0x28?_0x1f6ecb+=(_0x2d5cde^_0x4e1a63^_0x331936)+0x6ed9eba1:_0x59b7ac<0x3c?_0x1f6ecb+=(_0x2d5cde&_0x4e1a63|_0x2d5cde&_0x331936|_0x4e1a63&_0x331936)-0x70e44324:_0x1f6ecb+=(_0x2d5cde^_0x4e1a63^_0x331936)-0x359d3e2a,_0x12c51c=_0x331936,_0x331936=_0x4e1a63,_0x4e1a63=_0x2d5cde<<0x1e|_0x2d5cde>>>0x2,_0x2d5cde=_0x4868c9,_0x4868c9=_0x1f6ecb;}_0x4e7cec[0x0]=_0x4e7cec[0x0]+_0x4868c9|0x0,_0x4e7cec[0x1]=_0x4e7cec[0x1]+_0x2d5cde|0x0,_0x4e7cec[0x2]=_0x4e7cec[0x2]+_0x4e1a63|0x0,_0x4e7cec[0x3]=_0x4e7cec[0x3]+_0x331936|0x0,_0x4e7cec[0x4]=_0x4e7cec[0x4]+_0x12c51c|0x0;},'_doFinalize':function(){var _0xff24f4=_0x177409,_0xcfe8e4=this[_0xff24f4(0x27e)],_0x5352a7=_0xcfe8e4['words'],_0x43f0ad=this['_nDataBytes']*0x8,_0x4ff77f=_0xcfe8e4[_0xff24f4(0x256)]*0x8;return _0x5352a7[_0x4ff77f>>>0x5]|=0x80<<0x18-_0x4ff77f%0x20,_0x5352a7[(_0x4ff77f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x43f0ad/0x100000000),_0x5352a7[(_0x4ff77f+0x40>>>0x9<<0x4)+0xf]=_0x43f0ad,_0xcfe8e4['sigBytes']=_0x5352a7['length']*0x4,this[_0xff24f4(0x3f8)](),this['_hash'];},'clone':function(){var _0x27a394=_0x177409,_0x4d785a=_0x5bb8cb[_0x27a394(0x236)][_0x27a394(0x41d)](this);return _0x4d785a[_0x27a394(0x451)]=this[_0x27a394(0x451)][_0x27a394(0x236)](),_0x4d785a;}});_0x5f04f8[_0x177409(0x425)]=_0x5bb8cb[_0x177409(0x1ff)](_0x2da769),_0x5f04f8[_0x177409(0x2a6)]=_0x5bb8cb[_0x177409(0x337)](_0x2da769);}()),_0x3f7ba5['SHA1'];}));}(qe)),qe[_0x5efd54(0x25a)];}var ze={'exports':{}},dn=ze[_0x3bcbc5(0x25a)],Xt;function fn(){var _0x46e30b=_0x3bcbc5;return Xt||(Xt=0x1,function(_0xfc3322,_0x52458a){(function(_0x5ec180,_0x309f87){_0xfc3322['exports']=_0x309f87(ie());}(dn,function(_0x311a9b){(function(){var _0x33d71f=_0x1928,_0x346093=_0x311a9b,_0x3b1402=_0x346093[_0x33d71f(0x22c)],_0x4173b2=_0x3b1402['Base'],_0x404fae=_0x346093['enc'],_0x5cdb7c=_0x404fae[_0x33d71f(0x424)],_0x20a5c1=_0x346093[_0x33d71f(0x20d)];_0x20a5c1[_0x33d71f(0x438)]=_0x4173b2['extend']({'init':function(_0x221926,_0x3b99b2){var _0x13b700=_0x33d71f;_0x221926=this[_0x13b700(0x262)]=new _0x221926[(_0x13b700(0x38c))](),typeof _0x3b99b2==_0x13b700(0x2bd)&&(_0x3b99b2=_0x5cdb7c['parse'](_0x3b99b2));var _0x12a620=_0x221926[_0x13b700(0x2d2)],_0x4d461d=_0x12a620*0x4;_0x3b99b2['sigBytes']>_0x4d461d&&(_0x3b99b2=_0x221926[_0x13b700(0x475)](_0x3b99b2)),_0x3b99b2[_0x13b700(0x316)]();for(var _0x1f7d1b=this[_0x13b700(0x274)]=_0x3b99b2[_0x13b700(0x236)](),_0x87501e=this[_0x13b700(0x27b)]=_0x3b99b2[_0x13b700(0x236)](),_0x591110=_0x1f7d1b[_0x13b700(0x45a)],_0x1a683f=_0x87501e[_0x13b700(0x45a)],_0x50c335=0x0;_0x50c335<_0x12a620;_0x50c335++)_0x591110[_0x50c335]^=0x5c5c5c5c,_0x1a683f[_0x50c335]^=0x36363636;_0x1f7d1b[_0x13b700(0x256)]=_0x87501e['sigBytes']=_0x4d461d,this[_0x13b700(0x46f)]();},'reset':function(){var _0x5825db=_0x33d71f,_0x1a6d1a=this[_0x5825db(0x262)];_0x1a6d1a[_0x5825db(0x46f)](),_0x1a6d1a[_0x5825db(0x2a0)](this[_0x5825db(0x27b)]);},'update':function(_0x36a9ab){var _0x5c8670=_0x33d71f;return this['_hasher'][_0x5c8670(0x2a0)](_0x36a9ab),this;},'finalize':function(_0x59c3b1){var _0x3d9dd5=_0x33d71f,_0x5d7565=this['_hasher'],_0x53aef2=_0x5d7565['finalize'](_0x59c3b1);_0x5d7565[_0x3d9dd5(0x46f)]();var _0x14f8da=_0x5d7565[_0x3d9dd5(0x475)](this[_0x3d9dd5(0x274)][_0x3d9dd5(0x236)]()[_0x3d9dd5(0x37c)](_0x53aef2));return _0x14f8da;}});}());}));}(ze)),ze[_0x46e30b(0x25a)];}var vn=Ke[_0x3bcbc5(0x25a)],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x4dcfef,_0x511c0e){(function(_0x28f742,_0x54cacb,_0x5367c8){var _0xce8a83=_0x1928;_0x4dcfef[_0xce8a83(0x25a)]=_0x54cacb(ie(),un(),fn());}(vn,function(_0x3440ee){var _0x4fa422=_0x1928;return(function(){var _0x5842c3=_0x1928,_0x335a88=_0x3440ee,_0x83c375=_0x335a88[_0x5842c3(0x22c)],_0x2c32ef=_0x83c375[_0x5842c3(0x36d)],_0x2cfc88=_0x83c375[_0x5842c3(0x3e2)],_0x108f23=_0x335a88[_0x5842c3(0x20d)],_0x27c43b=_0x108f23[_0x5842c3(0x2a7)],_0x300b75=_0x108f23[_0x5842c3(0x2e5)]=_0x2c32ef['extend']({'cfg':_0x2c32ef[_0x5842c3(0x375)]({'keySize':0x80/0x20,'hasher':_0x27c43b,'iterations':0x1}),'init':function(_0x3bdf8f){var _0x323b5a=_0x5842c3;this[_0x323b5a(0x345)]=this[_0x323b5a(0x345)][_0x323b5a(0x375)](_0x3bdf8f);},'compute':function(_0xacf47b,_0x41bcdd){var _0x20d48a=_0x5842c3;for(var _0x150614,_0x33d534=this[_0x20d48a(0x345)],_0x22be42=_0x33d534[_0x20d48a(0x34f)][_0x20d48a(0x277)](),_0x52a02d=_0x2cfc88[_0x20d48a(0x277)](),_0x5e3e72=_0x52a02d[_0x20d48a(0x45a)],_0x18a13a=_0x33d534[_0x20d48a(0x2dc)],_0x4cb43a=_0x33d534[_0x20d48a(0x466)];_0x5e3e72[_0x20d48a(0x2be)]<_0x18a13a;){_0x150614&&_0x22be42[_0x20d48a(0x2a0)](_0x150614),_0x150614=_0x22be42[_0x20d48a(0x2a0)](_0xacf47b)[_0x20d48a(0x475)](_0x41bcdd),_0x22be42['reset']();for(var _0x59863c=0x1;_0x59863c<_0x4cb43a;_0x59863c++)_0x150614=_0x22be42[_0x20d48a(0x475)](_0x150614),_0x22be42[_0x20d48a(0x46f)]();_0x52a02d[_0x20d48a(0x37c)](_0x150614);}return _0x52a02d[_0x20d48a(0x256)]=_0x18a13a*0x4,_0x52a02d;}});_0x335a88[_0x5842c3(0x2e5)]=function(_0x459eea,_0xc672f5,_0xf9b85d){var _0x48230c=_0x5842c3;return _0x300b75[_0x48230c(0x277)](_0xf9b85d)['compute'](_0x459eea,_0xc672f5);};}()),_0x3440ee[_0x4fa422(0x2e5)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},pn=Je[_0x3bcbc5(0x25a)],Qt;function Ni(){var _0x1c91b5=_0x3bcbc5;return Qt||(Qt=0x1,function(_0x2c839e,_0x49bd74){(function(_0x28762f,_0x10a56e,_0x5bba2f){var _0x37b3f9=_0x1928;_0x2c839e[_0x37b3f9(0x25a)]=_0x10a56e(ie(),Ci());}(pn,function(_0x35c9e4){var _0x4761d5=_0x1928;_0x35c9e4[_0x4761d5(0x22c)]['Cipher']||function(_0x108ddd){var _0x4fcc1c=_0x4761d5,_0x1340f3=_0x35c9e4,_0x3bcc53=_0x1340f3[_0x4fcc1c(0x22c)],_0x3174a3=_0x3bcc53[_0x4fcc1c(0x36d)],_0x372c00=_0x3bcc53[_0x4fcc1c(0x3e2)],_0x5004b1=_0x3bcc53[_0x4fcc1c(0x1be)],_0x18e136=_0x1340f3[_0x4fcc1c(0x20e)];_0x18e136[_0x4fcc1c(0x424)];var _0x5757be=_0x18e136[_0x4fcc1c(0x27d)],_0x25860e=_0x1340f3[_0x4fcc1c(0x20d)],_0x35c7c9=_0x25860e[_0x4fcc1c(0x2e5)],_0x3caf2d=_0x3bcc53['Cipher']=_0x5004b1[_0x4fcc1c(0x375)]({'cfg':_0x3174a3[_0x4fcc1c(0x375)](),'createEncryptor':function(_0x250be2,_0x419df4){var _0x46bc8d=_0x4fcc1c;return this[_0x46bc8d(0x277)](this[_0x46bc8d(0x1e7)],_0x250be2,_0x419df4);},'createDecryptor':function(_0x217bb8,_0x447c58){var _0x8301b7=_0x4fcc1c;return this[_0x8301b7(0x277)](this[_0x8301b7(0x483)],_0x217bb8,_0x447c58);},'init':function(_0x47ef94,_0x56d628,_0x41ae0a){var _0x1335d9=_0x4fcc1c;this[_0x1335d9(0x345)]=this[_0x1335d9(0x345)][_0x1335d9(0x375)](_0x41ae0a),this[_0x1335d9(0x291)]=_0x47ef94,this[_0x1335d9(0x35a)]=_0x56d628,this[_0x1335d9(0x46f)]();},'reset':function(){var _0x3c9a14=_0x4fcc1c;_0x5004b1[_0x3c9a14(0x46f)]['call'](this),this[_0x3c9a14(0x469)]();},'process':function(_0x1e865f){var _0x313fd8=_0x4fcc1c;return this['_append'](_0x1e865f),this[_0x313fd8(0x3f8)]();},'finalize':function(_0x1aaf34){var _0x30fe1a=_0x4fcc1c;_0x1aaf34&&this[_0x30fe1a(0x22b)](_0x1aaf34);var _0x32967e=this[_0x30fe1a(0x1d8)]();return _0x32967e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x17ecfe(_0x384173){var _0x27fd32=_0x1928;return typeof _0x384173==_0x27fd32(0x2bd)?_0x38783c:_0x17376b;}return function(_0x3a9e77){return{'encrypt':function(_0x2569ed,_0x3b0260,_0x55836f){var _0x2d1004=_0x1928;return _0x17ecfe(_0x3b0260)[_0x2d1004(0x1f0)](_0x3a9e77,_0x2569ed,_0x3b0260,_0x55836f);},'decrypt':function(_0x45f45a,_0xb4b0e3,_0x52e93e){return _0x17ecfe(_0xb4b0e3)['decrypt'](_0x3a9e77,_0x45f45a,_0xb4b0e3,_0x52e93e);}};};}())});_0x3bcc53[_0x4fcc1c(0x2c8)]=_0x3caf2d['extend']({'_doFinalize':function(){var _0x346fa5=_0x4fcc1c,_0x3c1f6b=this[_0x346fa5(0x3f8)](!0x0);return _0x3c1f6b;},'blockSize':0x1});var _0x3e3ab7=_0x1340f3[_0x4fcc1c(0x212)]={},_0x1b3f17=_0x3bcc53[_0x4fcc1c(0x312)]=_0x3174a3[_0x4fcc1c(0x375)]({'createEncryptor':function(_0x288dd0,_0x28b36c){var _0x4c308d=_0x4fcc1c;return this['Encryptor'][_0x4c308d(0x277)](_0x288dd0,_0x28b36c);},'createDecryptor':function(_0x57061a,_0x4304a4){var _0x4146c9=_0x4fcc1c;return this['Decryptor'][_0x4146c9(0x277)](_0x57061a,_0x4304a4);},'init':function(_0x129a2d,_0x55ce68){var _0x1bbb7b=_0x4fcc1c;this[_0x1bbb7b(0x270)]=_0x129a2d,this['_iv']=_0x55ce68;}}),_0x1f983e=_0x3e3ab7[_0x4fcc1c(0x23c)]=(function(){var _0x2a195e=_0x4fcc1c,_0x263cc2=_0x1b3f17['extend']();_0x263cc2['Encryptor']=_0x263cc2['extend']({'processBlock':function(_0x34dcad,_0x58f4c9){var _0x448c61=_0x1928,_0x3602a0=this[_0x448c61(0x270)],_0x46ebe9=_0x3602a0['blockSize'];_0x486af6['call'](this,_0x34dcad,_0x58f4c9,_0x46ebe9),_0x3602a0[_0x448c61(0x308)](_0x34dcad,_0x58f4c9),this[_0x448c61(0x445)]=_0x34dcad[_0x448c61(0x1e9)](_0x58f4c9,_0x58f4c9+_0x46ebe9);}}),_0x263cc2['Decryptor']=_0x263cc2[_0x2a195e(0x375)]({'processBlock':function(_0x380a08,_0x4eda7e){var _0x342892=_0x2a195e,_0x3be0fc=this[_0x342892(0x270)],_0x16e56a=_0x3be0fc[_0x342892(0x2d2)],_0x5aa351=_0x380a08[_0x342892(0x1e9)](_0x4eda7e,_0x4eda7e+_0x16e56a);_0x3be0fc[_0x342892(0x1ca)](_0x380a08,_0x4eda7e),_0x486af6[_0x342892(0x41d)](this,_0x380a08,_0x4eda7e,_0x16e56a),this[_0x342892(0x445)]=_0x5aa351;}});function _0x486af6(_0x1e2d52,_0x273911,_0x4e2904){var _0x35cef4=_0x2a195e,_0x56a28f,_0x43492f=this[_0x35cef4(0x47a)];_0x43492f?(_0x56a28f=_0x43492f,this[_0x35cef4(0x47a)]=_0x108ddd):_0x56a28f=this[_0x35cef4(0x445)];for(var _0x55c5a2=0x0;_0x55c5a2<_0x4e2904;_0x55c5a2++)_0x1e2d52[_0x273911+_0x55c5a2]^=_0x56a28f[_0x55c5a2];}return _0x263cc2;}()),_0x4eeca0=_0x1340f3[_0x4fcc1c(0x3ac)]={},_0xd90324=_0x4eeca0['Pkcs7']={'pad':function(_0x19f264,_0x348394){var _0x4c9372=_0x4fcc1c;for(var _0x236b08=_0x348394*0x4,_0x493159=_0x236b08-_0x19f264[_0x4c9372(0x256)]%_0x236b08,_0x32b776=_0x493159<<0x18|_0x493159<<0x10|_0x493159<<0x8|_0x493159,_0x6508d0=[],_0x4cbc1f=0x0;_0x4cbc1f<_0x493159;_0x4cbc1f+=0x4)_0x6508d0['push'](_0x32b776);var _0x38ec97=_0x372c00[_0x4c9372(0x277)](_0x6508d0,_0x493159);_0x19f264[_0x4c9372(0x37c)](_0x38ec97);},'unpad':function(_0x404476){var _0x45e03d=_0x4fcc1c,_0x3a3f13=_0x404476[_0x45e03d(0x45a)][_0x404476[_0x45e03d(0x256)]-0x1>>>0x2]&0xff;_0x404476[_0x45e03d(0x256)]-=_0x3a3f13;}};_0x3bcc53['BlockCipher']=_0x3caf2d['extend']({'cfg':_0x3caf2d[_0x4fcc1c(0x345)][_0x4fcc1c(0x375)]({'mode':_0x1f983e,'padding':_0xd90324}),'reset':function(){var _0x57e4d7=_0x4fcc1c,_0x57b970;_0x3caf2d[_0x57e4d7(0x46f)][_0x57e4d7(0x41d)](this);var _0x1e3b50=this[_0x57e4d7(0x345)],_0x101f04=_0x1e3b50['iv'],_0x4e8692=_0x1e3b50[_0x57e4d7(0x212)];this['_xformMode']==this[_0x57e4d7(0x1e7)]?_0x57b970=_0x4e8692[_0x57e4d7(0x21b)]:(_0x57b970=_0x4e8692[_0x57e4d7(0x372)],this[_0x57e4d7(0x2bf)]=0x1),this[_0x57e4d7(0x202)]&&this[_0x57e4d7(0x202)][_0x57e4d7(0x3c8)]==_0x57b970?this[_0x57e4d7(0x202)][_0x57e4d7(0x38c)](this,_0x101f04&&_0x101f04[_0x57e4d7(0x45a)]):(this[_0x57e4d7(0x202)]=_0x57b970['call'](_0x4e8692,this,_0x101f04&&_0x101f04[_0x57e4d7(0x45a)]),this[_0x57e4d7(0x202)][_0x57e4d7(0x3c8)]=_0x57b970);},'_doProcessBlock':function(_0x8cba56,_0x169133){var _0x310857=_0x4fcc1c;this[_0x310857(0x202)][_0x310857(0x38d)](_0x8cba56,_0x169133);},'_doFinalize':function(){var _0x5c9fbd=_0x4fcc1c,_0x44fa91,_0x5c1fee=this[_0x5c9fbd(0x345)][_0x5c9fbd(0x2db)];return this[_0x5c9fbd(0x291)]==this[_0x5c9fbd(0x1e7)]?(_0x5c1fee[_0x5c9fbd(0x3ac)](this[_0x5c9fbd(0x27e)],this['blockSize']),_0x44fa91=this[_0x5c9fbd(0x3f8)](!0x0)):(_0x44fa91=this[_0x5c9fbd(0x3f8)](!0x0),_0x5c1fee['unpad'](_0x44fa91)),_0x44fa91;},'blockSize':0x80/0x20});var _0x11478a=_0x3bcc53[_0x4fcc1c(0x22f)]=_0x3174a3[_0x4fcc1c(0x375)]({'init':function(_0x385279){var _0xf497d0=_0x4fcc1c;this[_0xf497d0(0x250)](_0x385279);},'toString':function(_0x355f98){var _0x32f3cf=_0x4fcc1c;return(_0x355f98||this[_0x32f3cf(0x2b2)])['stringify'](this);}}),_0x410ec5=_0x1340f3[_0x4fcc1c(0x2a9)]={},_0x29c31f=_0x410ec5['OpenSSL']={'stringify':function(_0x53fa53){var _0x37b0ab=_0x4fcc1c,_0x4e5a4c,_0x391b6a=_0x53fa53[_0x37b0ab(0x415)],_0x3a3c0d=_0x53fa53[_0x37b0ab(0x2b9)];return _0x3a3c0d?_0x4e5a4c=_0x372c00[_0x37b0ab(0x277)]([0x53616c74,0x65645f5f])['concat'](_0x3a3c0d)[_0x37b0ab(0x37c)](_0x391b6a):_0x4e5a4c=_0x391b6a,_0x4e5a4c[_0x37b0ab(0x28b)](_0x5757be);},'parse':function(_0x2a9893){var _0x1b9cf8=_0x4fcc1c,_0x4f9743,_0x554a80=_0x5757be[_0x1b9cf8(0x1fc)](_0x2a9893),_0x221936=_0x554a80[_0x1b9cf8(0x45a)];return _0x221936[0x0]==0x53616c74&&_0x221936[0x1]==0x65645f5f&&(_0x4f9743=_0x372c00[_0x1b9cf8(0x277)](_0x221936[_0x1b9cf8(0x1e9)](0x2,0x4)),_0x221936[_0x1b9cf8(0x1f8)](0x0,0x4),_0x554a80[_0x1b9cf8(0x256)]-=0x10),_0x11478a[_0x1b9cf8(0x277)]({'ciphertext':_0x554a80,'salt':_0x4f9743});}},_0x17376b=_0x3bcc53['SerializableCipher']=_0x3174a3[_0x4fcc1c(0x375)]({'cfg':_0x3174a3[_0x4fcc1c(0x375)]({'format':_0x29c31f}),'encrypt':function(_0x2229d5,_0x26f6a4,_0x5de45a,_0x1ca5e1){var _0x576e0a=_0x4fcc1c;_0x1ca5e1=this['cfg'][_0x576e0a(0x375)](_0x1ca5e1);var _0x1c8d5f=_0x2229d5[_0x576e0a(0x21b)](_0x5de45a,_0x1ca5e1),_0x4891f0=_0x1c8d5f[_0x576e0a(0x475)](_0x26f6a4),_0x15aebe=_0x1c8d5f[_0x576e0a(0x345)];return _0x11478a[_0x576e0a(0x277)]({'ciphertext':_0x4891f0,'key':_0x5de45a,'iv':_0x15aebe['iv'],'algorithm':_0x2229d5,'mode':_0x15aebe[_0x576e0a(0x212)],'padding':_0x15aebe[_0x576e0a(0x2db)],'blockSize':_0x2229d5[_0x576e0a(0x2d2)],'formatter':_0x1ca5e1[_0x576e0a(0x2a9)]});},'decrypt':function(_0x1cb9f6,_0x4cc9fe,_0x35eb2e,_0x3cb990){var _0x4ffdcd=_0x4fcc1c;_0x3cb990=this[_0x4ffdcd(0x345)][_0x4ffdcd(0x375)](_0x3cb990),_0x4cc9fe=this['_parse'](_0x4cc9fe,_0x3cb990[_0x4ffdcd(0x2a9)]);var _0x211d24=_0x1cb9f6['createDecryptor'](_0x35eb2e,_0x3cb990)[_0x4ffdcd(0x475)](_0x4cc9fe[_0x4ffdcd(0x415)]);return _0x211d24;},'_parse':function(_0xa9fbfe,_0x4e9b01){var _0x3fb653=_0x4fcc1c;return typeof _0xa9fbfe==_0x3fb653(0x2bd)?_0x4e9b01['parse'](_0xa9fbfe,this):_0xa9fbfe;}}),_0x9225b=_0x1340f3[_0x4fcc1c(0x20b)]={},_0x1ae936=_0x9225b['OpenSSL']={'execute':function(_0xc11838,_0xb550ca,_0x3d6893,_0x58aded,_0xf400c7){var _0xff190=_0x4fcc1c;if(_0x58aded||(_0x58aded=_0x372c00[_0xff190(0x4b3)](0x40/0x8)),_0xf400c7)var _0x6f8d3=_0x35c7c9['create']({'keySize':_0xb550ca+_0x3d6893,'hasher':_0xf400c7})['compute'](_0xc11838,_0x58aded);else var _0x6f8d3=_0x35c7c9['create']({'keySize':_0xb550ca+_0x3d6893})[_0xff190(0x399)](_0xc11838,_0x58aded);var _0x25efde=_0x372c00[_0xff190(0x277)](_0x6f8d3[_0xff190(0x45a)][_0xff190(0x1e9)](_0xb550ca),_0x3d6893*0x4);return _0x6f8d3['sigBytes']=_0xb550ca*0x4,_0x11478a[_0xff190(0x277)]({'key':_0x6f8d3,'iv':_0x25efde,'salt':_0x58aded});}},_0x38783c=_0x3bcc53['PasswordBasedCipher']=_0x17376b[_0x4fcc1c(0x375)]({'cfg':_0x17376b[_0x4fcc1c(0x345)]['extend']({'kdf':_0x1ae936}),'encrypt':function(_0x557840,_0x3d6e65,_0x448332,_0x1e5bea){var _0x2dd05c=_0x4fcc1c;_0x1e5bea=this[_0x2dd05c(0x345)][_0x2dd05c(0x375)](_0x1e5bea);var _0x1daee1=_0x1e5bea['kdf'][_0x2dd05c(0x2a8)](_0x448332,_0x557840[_0x2dd05c(0x2dc)],_0x557840[_0x2dd05c(0x360)],_0x1e5bea[_0x2dd05c(0x2b9)],_0x1e5bea[_0x2dd05c(0x34f)]);_0x1e5bea['iv']=_0x1daee1['iv'];var _0x126c8f=_0x17376b[_0x2dd05c(0x1f0)][_0x2dd05c(0x41d)](this,_0x557840,_0x3d6e65,_0x1daee1['key'],_0x1e5bea);return _0x126c8f[_0x2dd05c(0x250)](_0x1daee1),_0x126c8f;},'decrypt':function(_0x5d0476,_0x2d2f3b,_0x11d744,_0x1d268c){var _0x192afa=_0x4fcc1c;_0x1d268c=this[_0x192afa(0x345)][_0x192afa(0x375)](_0x1d268c),_0x2d2f3b=this[_0x192afa(0x1c0)](_0x2d2f3b,_0x1d268c[_0x192afa(0x2a9)]);var _0x43289e=_0x1d268c['kdf']['execute'](_0x11d744,_0x5d0476['keySize'],_0x5d0476['ivSize'],_0x2d2f3b['salt'],_0x1d268c[_0x192afa(0x34f)]);_0x1d268c['iv']=_0x43289e['iv'];var _0x30b7bf=_0x17376b[_0x192afa(0x45c)][_0x192afa(0x41d)](this,_0x5d0476,_0x2d2f3b,_0x43289e['key'],_0x1d268c);return _0x30b7bf;}});}();}));}(Je)),Je[_0x1c91b5(0x25a)];}var En=Ve[_0x3bcbc5(0x25a)],ei;function mn(){var _0xba9b57=_0x3bcbc5;return ei||(ei=0x1,function(_0x3f3773,_0xf3b127){(function(_0x5f2cd0,_0x48581b,_0x3ec90e){var _0x402673=_0x1928;_0x3f3773[_0x402673(0x25a)]=_0x48581b(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x9f51c0){var _0x6518ab=_0x1928;return(function(){var _0x51de77=_0x1928,_0x2c0706=_0x9f51c0,_0x3c56ae=_0x2c0706[_0x51de77(0x22c)],_0x20bba7=_0x3c56ae['BlockCipher'],_0x142a4a=_0x2c0706[_0x51de77(0x20d)],_0x2b7e96=[],_0x1f366d=[],_0x231929=[],_0x6a9123=[],_0x9cddeb=[],_0x338ff0=[],_0x3405ce=[],_0xadc6d5=[],_0x28e5b2=[],_0x1a8e1f=[];(function(){for(var _0x413766=[],_0x48ff33=0x0;_0x48ff33<0x100;_0x48ff33++)_0x48ff33<0x80?_0x413766[_0x48ff33]=_0x48ff33<<0x1:_0x413766[_0x48ff33]=_0x48ff33<<0x1^0x11b;for(var _0x4d53b2=0x0,_0x5a2945=0x0,_0x48ff33=0x0;_0x48ff33<0x100;_0x48ff33++){var _0x917ba7=_0x5a2945^_0x5a2945<<0x1^_0x5a2945<<0x2^_0x5a2945<<0x3^_0x5a2945<<0x4;_0x917ba7=_0x917ba7>>>0x8^_0x917ba7&0xff^0x63,_0x2b7e96[_0x4d53b2]=_0x917ba7,_0x1f366d[_0x917ba7]=_0x4d53b2;var _0x133d91=_0x413766[_0x4d53b2],_0x145651=_0x413766[_0x133d91],_0x55c3fa=_0x413766[_0x145651],_0x37efc8=_0x413766[_0x917ba7]*0x101^_0x917ba7*0x1010100;_0x231929[_0x4d53b2]=_0x37efc8<<0x18|_0x37efc8>>>0x8,_0x6a9123[_0x4d53b2]=_0x37efc8<<0x10|_0x37efc8>>>0x10,_0x9cddeb[_0x4d53b2]=_0x37efc8<<0x8|_0x37efc8>>>0x18,_0x338ff0[_0x4d53b2]=_0x37efc8;var _0x37efc8=_0x55c3fa*0x1010101^_0x145651*0x10001^_0x133d91*0x101^_0x4d53b2*0x1010100;_0x3405ce[_0x917ba7]=_0x37efc8<<0x18|_0x37efc8>>>0x8,_0xadc6d5[_0x917ba7]=_0x37efc8<<0x10|_0x37efc8>>>0x10,_0x28e5b2[_0x917ba7]=_0x37efc8<<0x8|_0x37efc8>>>0x18,_0x1a8e1f[_0x917ba7]=_0x37efc8,_0x4d53b2?(_0x4d53b2=_0x133d91^_0x413766[_0x413766[_0x413766[_0x55c3fa^_0x133d91]]],_0x5a2945^=_0x413766[_0x413766[_0x5a2945]]):_0x4d53b2=_0x5a2945=0x1;}}());var _0x247906=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4137eb=_0x142a4a['AES']=_0x20bba7[_0x51de77(0x375)]({'_doReset':function(){var _0x158790=_0x51de77,_0x7a6c80;if(!(this[_0x158790(0x3bd)]&&this[_0x158790(0x435)]===this[_0x158790(0x35a)])){for(var _0x13c5c5=this[_0x158790(0x435)]=this[_0x158790(0x35a)],_0x27c5fe=_0x13c5c5[_0x158790(0x45a)],_0x1f7754=_0x13c5c5[_0x158790(0x256)]/0x4,_0x51733c=this['_nRounds']=_0x1f7754+0x6,_0x524de3=(_0x51733c+0x1)*0x4,_0x5c5400=this['_keySchedule']=[],_0x3125f6=0x0;_0x3125f6<_0x524de3;_0x3125f6++)_0x3125f6<_0x1f7754?_0x5c5400[_0x3125f6]=_0x27c5fe[_0x3125f6]:(_0x7a6c80=_0x5c5400[_0x3125f6-0x1],_0x3125f6%_0x1f7754?_0x1f7754>0x6&&_0x3125f6%_0x1f7754==0x4&&(_0x7a6c80=_0x2b7e96[_0x7a6c80>>>0x18]<<0x18|_0x2b7e96[_0x7a6c80>>>0x10&0xff]<<0x10|_0x2b7e96[_0x7a6c80>>>0x8&0xff]<<0x8|_0x2b7e96[_0x7a6c80&0xff]):(_0x7a6c80=_0x7a6c80<<0x8|_0x7a6c80>>>0x18,_0x7a6c80=_0x2b7e96[_0x7a6c80>>>0x18]<<0x18|_0x2b7e96[_0x7a6c80>>>0x10&0xff]<<0x10|_0x2b7e96[_0x7a6c80>>>0x8&0xff]<<0x8|_0x2b7e96[_0x7a6c80&0xff],_0x7a6c80^=_0x247906[_0x3125f6/_0x1f7754|0x0]<<0x18),_0x5c5400[_0x3125f6]=_0x5c5400[_0x3125f6-_0x1f7754]^_0x7a6c80);for(var _0x4b8265=this[_0x158790(0x4a6)]=[],_0x1922f7=0x0;_0x1922f7<_0x524de3;_0x1922f7++){var _0x3125f6=_0x524de3-_0x1922f7;if(_0x1922f7%0x4)var _0x7a6c80=_0x5c5400[_0x3125f6];else var _0x7a6c80=_0x5c5400[_0x3125f6-0x4];_0x1922f7<0x4||_0x3125f6<=0x4?_0x4b8265[_0x1922f7]=_0x7a6c80:_0x4b8265[_0x1922f7]=_0x3405ce[_0x2b7e96[_0x7a6c80>>>0x18]]^_0xadc6d5[_0x2b7e96[_0x7a6c80>>>0x10&0xff]]^_0x28e5b2[_0x2b7e96[_0x7a6c80>>>0x8&0xff]]^_0x1a8e1f[_0x2b7e96[_0x7a6c80&0xff]];}}},'encryptBlock':function(_0x2907ac,_0xbb5b26){var _0x5eb286=_0x51de77;this[_0x5eb286(0x32b)](_0x2907ac,_0xbb5b26,this['_keySchedule'],_0x231929,_0x6a9123,_0x9cddeb,_0x338ff0,_0x2b7e96);},'decryptBlock':function(_0x402fbf,_0x262318){var _0x112934=_0x51de77,_0x1a2325=_0x402fbf[_0x262318+0x1];_0x402fbf[_0x262318+0x1]=_0x402fbf[_0x262318+0x3],_0x402fbf[_0x262318+0x3]=_0x1a2325,this[_0x112934(0x32b)](_0x402fbf,_0x262318,this[_0x112934(0x4a6)],_0x3405ce,_0xadc6d5,_0x28e5b2,_0x1a8e1f,_0x1f366d);var _0x1a2325=_0x402fbf[_0x262318+0x1];_0x402fbf[_0x262318+0x1]=_0x402fbf[_0x262318+0x3],_0x402fbf[_0x262318+0x3]=_0x1a2325;},'_doCryptBlock':function(_0x4122be,_0x5066b0,_0x3805a2,_0x97688e,_0x4dfffd,_0x2e6544,_0x1061c7,_0x434d51){for(var _0x3b9484=this['_nRounds'],_0x484ea8=_0x4122be[_0x5066b0]^_0x3805a2[0x0],_0x28f4ab=_0x4122be[_0x5066b0+0x1]^_0x3805a2[0x1],_0x45e4a9=_0x4122be[_0x5066b0+0x2]^_0x3805a2[0x2],_0x32ad59=_0x4122be[_0x5066b0+0x3]^_0x3805a2[0x3],_0x32639f=0x4,_0x255e8c=0x1;_0x255e8c<_0x3b9484;_0x255e8c++){var _0x559f78=_0x97688e[_0x484ea8>>>0x18]^_0x4dfffd[_0x28f4ab>>>0x10&0xff]^_0x2e6544[_0x45e4a9>>>0x8&0xff]^_0x1061c7[_0x32ad59&0xff]^_0x3805a2[_0x32639f++],_0x5be56d=_0x97688e[_0x28f4ab>>>0x18]^_0x4dfffd[_0x45e4a9>>>0x10&0xff]^_0x2e6544[_0x32ad59>>>0x8&0xff]^_0x1061c7[_0x484ea8&0xff]^_0x3805a2[_0x32639f++],_0x1988b2=_0x97688e[_0x45e4a9>>>0x18]^_0x4dfffd[_0x32ad59>>>0x10&0xff]^_0x2e6544[_0x484ea8>>>0x8&0xff]^_0x1061c7[_0x28f4ab&0xff]^_0x3805a2[_0x32639f++],_0x58c45e=_0x97688e[_0x32ad59>>>0x18]^_0x4dfffd[_0x484ea8>>>0x10&0xff]^_0x2e6544[_0x28f4ab>>>0x8&0xff]^_0x1061c7[_0x45e4a9&0xff]^_0x3805a2[_0x32639f++];_0x484ea8=_0x559f78,_0x28f4ab=_0x5be56d,_0x45e4a9=_0x1988b2,_0x32ad59=_0x58c45e;}var _0x559f78=(_0x434d51[_0x484ea8>>>0x18]<<0x18|_0x434d51[_0x28f4ab>>>0x10&0xff]<<0x10|_0x434d51[_0x45e4a9>>>0x8&0xff]<<0x8|_0x434d51[_0x32ad59&0xff])^_0x3805a2[_0x32639f++],_0x5be56d=(_0x434d51[_0x28f4ab>>>0x18]<<0x18|_0x434d51[_0x45e4a9>>>0x10&0xff]<<0x10|_0x434d51[_0x32ad59>>>0x8&0xff]<<0x8|_0x434d51[_0x484ea8&0xff])^_0x3805a2[_0x32639f++],_0x1988b2=(_0x434d51[_0x45e4a9>>>0x18]<<0x18|_0x434d51[_0x32ad59>>>0x10&0xff]<<0x10|_0x434d51[_0x484ea8>>>0x8&0xff]<<0x8|_0x434d51[_0x28f4ab&0xff])^_0x3805a2[_0x32639f++],_0x58c45e=(_0x434d51[_0x32ad59>>>0x18]<<0x18|_0x434d51[_0x484ea8>>>0x10&0xff]<<0x10|_0x434d51[_0x28f4ab>>>0x8&0xff]<<0x8|_0x434d51[_0x45e4a9&0xff])^_0x3805a2[_0x32639f++];_0x4122be[_0x5066b0]=_0x559f78,_0x4122be[_0x5066b0+0x1]=_0x5be56d,_0x4122be[_0x5066b0+0x2]=_0x1988b2,_0x4122be[_0x5066b0+0x3]=_0x58c45e;},'keySize':0x100/0x20});_0x2c0706['AES']=_0x20bba7[_0x51de77(0x1ff)](_0x4137eb);}()),_0x9f51c0[_0x6518ab(0x1f2)];}));}(Ve)),Ve[_0xba9b57(0x25a)];}var In=mn();const Sn=ke(In);var gn=Ri();const ti=ke(gn);var Xe={'exports':{}},Tn=Xe[_0x3bcbc5(0x25a)],ii;function On(){return ii||(ii=0x1,function(_0x30f839,_0x42664b){(function(_0x3949ad,_0x31932c){var _0x5ca385=_0x1928;_0x30f839[_0x5ca385(0x25a)]=_0x31932c(ie());}(Tn,function(_0x26ee29){var _0x4ff1ac=_0x1928;return _0x26ee29[_0x4ff1ac(0x20e)][_0x4ff1ac(0x424)];}));}(Xe)),Xe['exports'];}var Rn=On();const Cn=ke(Rn);var Ze={'exports':{}},Nn=Ze['exports'],si;function bn(){var _0x53fb0a=_0x3bcbc5;return si||(si=0x1,function(_0x2a8c6f,_0x879e0e){(function(_0x4842ea,_0x33c409){var _0x471cdd=_0x1928;_0x2a8c6f[_0x471cdd(0x25a)]=_0x33c409(ie());}(Nn,function(_0x121359){var _0x5159ff=_0x1928;return(function(){var _0x4e8f1=_0x1928;if(typeof ArrayBuffer=='function'){var _0x2469fc=_0x121359,_0x34e634=_0x2469fc['lib'],_0x16aaf7=_0x34e634[_0x4e8f1(0x3e2)],_0x4d875c=_0x16aaf7[_0x4e8f1(0x38c)],_0x46a21a=_0x16aaf7[_0x4e8f1(0x38c)]=function(_0x51bc9d){var _0x77b1ce=_0x4e8f1;if(_0x51bc9d instanceof ArrayBuffer&&(_0x51bc9d=new Uint8Array(_0x51bc9d)),(_0x51bc9d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x51bc9d instanceof Uint8ClampedArray||_0x51bc9d instanceof Int16Array||_0x51bc9d instanceof Uint16Array||_0x51bc9d instanceof Int32Array||_0x51bc9d instanceof Uint32Array||_0x51bc9d instanceof Float32Array||_0x51bc9d instanceof Float64Array)&&(_0x51bc9d=new Uint8Array(_0x51bc9d[_0x77b1ce(0x3d7)],_0x51bc9d[_0x77b1ce(0x294)],_0x51bc9d[_0x77b1ce(0x387)])),_0x51bc9d instanceof Uint8Array){for(var _0x13ff0a=_0x51bc9d[_0x77b1ce(0x387)],_0x236705=[],_0x53512b=0x0;_0x53512b<_0x13ff0a;_0x53512b++)_0x236705[_0x53512b>>>0x2]|=_0x51bc9d[_0x53512b]<<0x18-_0x53512b%0x4*0x8;_0x4d875c[_0x77b1ce(0x41d)](this,_0x236705,_0x13ff0a);}else _0x4d875c[_0x77b1ce(0x3b1)](this,arguments);};_0x46a21a[_0x4e8f1(0x232)]=_0x16aaf7;}}()),_0x121359[_0x5159ff(0x22c)][_0x5159ff(0x3e2)];}));}(Ze)),Ze[_0x53fb0a(0x25a)];}var Dn=bn();function _0x1928(_0x4994ae,_0x93e65f){var _0x536ba1=_0x536b();return _0x1928=function(_0x192823,_0x4fde51){_0x192823=_0x192823-0x1af;var _0x4d7d87=_0x536ba1[_0x192823];return _0x4d7d87;},_0x1928(_0x4994ae,_0x93e65f);}const yn=ke(Dn);var Qe={'exports':{}},Un=Qe['exports'],ni;function An(){return ni||(ni=0x1,function(_0x4bcd9d,_0x5bcfbd){(function(_0x5ea0dd,_0x393db8,_0x4dc0ab){var _0x362da1=_0x1928;_0x4bcd9d[_0x362da1(0x25a)]=_0x393db8(ie(),Ni());}(Un,function(_0x13965a){var _0x4205cf=_0x1928;return _0x13965a[_0x4205cf(0x3ac)][_0x4205cf(0x465)]={'pad':function(){},'unpad':function(){}},_0x13965a[_0x4205cf(0x3ac)][_0x4205cf(0x465)];}));}(Qe)),Qe['exports'];}var Pn=An();const wn=ke(Pn);function Mn(_0x389a8c,_0x3d7640){var _0x4ccc21=_0x3bcbc5;const _0x2d4eba=_0x3d7640-_0x389a8c['length']%_0x3d7640,_0x24506b=String[_0x4ccc21(0x254)](_0x2d4eba)[_0x4ccc21(0x223)](_0x2d4eba);return _0x389a8c+_0x24506b;}function Ln(_0x5d6dfa,_0x1609ee){var _0x3a21c5=_0x3bcbc5;const _0x3c8d39=yn[_0x3a21c5(0x4b3)](0x10),_0x3ee26c=Mn(_0x5d6dfa,0x10),_0x5cd714=Sn[_0x3a21c5(0x1f0)](Cn[_0x3a21c5(0x1fc)](_0x3ee26c),ti[_0x3a21c5(0x1fc)](_0x1609ee),{'iv':_0x3c8d39,'padding':wn});return _0x3c8d39[_0x3a21c5(0x37c)](_0x5cd714['ciphertext'])[_0x3a21c5(0x28b)](ti);}function xn(){var _0x1954ee=_0x3bcbc5;const _0x3cb9f1=_0x597c27()[_0x1954ee(0x43a)];if(_0x3cb9f1){const _0x37a204={'time':Math[_0x1954ee(0x37d)](Date[_0x1954ee(0x3ae)]()/0x3e8),'domain':location[_0x1954ee(0x3cf)]};return Ln(JSON[_0x1954ee(0x2ce)](_0x37a204),_0x3cb9f1);}}var $n=Object[_0x3bcbc5(0x2f1)],kn=(_0x569b41,_0x38314b,_0x30f673,_0x320fad)=>{var _0x336938=_0x3bcbc5;for(var _0x57678a=_0x320fad>0x1?void 0x0:_0x320fad?$n(_0x38314b,_0x30f673):_0x38314b,_0x12bd78=_0x569b41[_0x336938(0x2be)]-0x1,_0x41c5c2;_0x12bd78>=0x0;_0x12bd78--)(_0x41c5c2=_0x569b41[_0x12bd78])&&(_0x57678a=_0x41c5c2(_0x57678a)||_0x57678a);return _0x57678a;},Hn=(_0x33c34a,_0x433542)=>(_0x34e56d,_0x51412d)=>_0x433542(_0x34e56d,_0x51412d,_0x33c34a);let at=class{constructor(_0x30ee51){var _0x27d9f5=_0x3bcbc5;this[_0x27d9f5(0x3ca)]=_0x30ee51,this[_0x27d9f5(0x45b)]();}[_0x3bcbc5(0x45b)](){var _0x2e3682=_0x3bcbc5;this[_0x2e3682(0x3ca)][_0x2e3682(0x2ea)]({'interceptor':(_0x1835ae,_0x352cfc)=>{var _0x1a3fae=_0x2e3682;const _0x4b04ff=_0x1835ae['headers'],_0x2111d8=xn();return _0x2111d8&&_0x4b04ff[_0x1a3fae(0x3cd)]('x-univer-host',_0x2111d8),_0x352cfc(_0x1835ae);}});}};at=kn([Hn(0x0,_0x1b5fe1(_0x4ba195))],at);var Bn=Object[_0x3bcbc5(0x2f1)],Fn=(_0x39a033,_0x2b643f,_0x38330f,_0x3986fd)=>{var _0x37ad6e=_0x3bcbc5;for(var _0x332613=_0x3986fd>0x1?void 0x0:_0x3986fd?Bn(_0x2b643f,_0x38330f):_0x2b643f,_0x204a2d=_0x39a033[_0x37ad6e(0x2be)]-0x1,_0x22fe8e;_0x204a2d>=0x0;_0x204a2d--)(_0x22fe8e=_0x39a033[_0x204a2d])&&(_0x332613=_0x22fe8e(_0x332613)||_0x332613);return _0x332613;},vt=(_0x8c11eb,_0x3811d5)=>(_0x51242d,_0x89a770)=>_0x3811d5(_0x51242d,_0x89a770,_0x8c11eb);let Ot=class extends _0x2e3b72{constructor(_0x221d78,_0x420743,_0x21d300){var _0x228546=_0x3bcbc5;super(),D(this,_0x228546(0x30d),new _0x3dcdfa(null)),D(this,_0x228546(0x1f1),this[_0x228546(0x30d)]['asObservable']()),(this[_0x228546(0x3dc)]=_0x221d78,this[_0x228546(0x265)]=_0x420743,this[_0x228546(0x3c6)]=_0x21d300);}async[_0x3bcbc5(0x1fb)](_0x4769a5,_0x30b47f,_0x283aa3){var _0xedee3e=_0x3bcbc5;this[_0xedee3e(0x30d)][_0xedee3e(0x497)]({'unitId':_0x4769a5,'type':_0x30b47f});let _0x129eb8=null;switch(_0x30b47f){case Q['UNIVER_SHEET']:{_0x129eb8=await this['_snapshotService']['loadSheet'](_0x4769a5,_0x283aa3);break;}case Q[_0xedee3e(0x30a)]:{_0x129eb8=await this[_0xedee3e(0x265)][_0xedee3e(0x29a)](_0x4769a5,_0x283aa3);break;}default:{this[_0xedee3e(0x3dc)]['error']('[DataLoaderService]',_0xedee3e(0x393));break;}}return _0x129eb8;}async['loadUnit'](_0x568fa4,_0x337da4,_0x3050fb){var _0x29b7d6=_0x3bcbc5,_0x1f15eb;this['_unitInfo$']['next']({'unitId':_0x568fa4,'type':_0x337da4,'subUnitId':_0x3050fb});let _0x48117e=0x0;const _0x5a0f04=await((_0x1f15eb=this['_localCacheService'])==null?void 0x0:_0x1f15eb[_0x29b7d6(0x401)](_0x568fa4));return _0x5a0f04&&(_0x5a0f04[_0x29b7d6(0x28d)]||_0x5a0f04[_0x29b7d6(0x226)][_0x29b7d6(0x2be)]!==0x0)&&(_0x48117e=_0x5a0f04['rev']),_0x48117e===0x0&&this[_0x29b7d6(0x3dc)]['debug'](_0x29b7d6(0x2fd),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x29b7d6(0x1fb)](_0x568fa4,_0x337da4,_0x48117e);}};Ot=Fn([vt(0x0,_0xbe786),vt(0x1,_0x1b5fe1(_0x1e673c)),vt(0x2,_0x426e18(J))],Ot);var jn=Object['getOwnPropertyDescriptor'],Vn=(_0x1649be,_0x159e3d,_0x37d15c,_0x4b4208)=>{var _0x38c69b=_0x3bcbc5;for(var _0x1894bd=_0x4b4208>0x1?void 0x0:_0x4b4208?jn(_0x159e3d,_0x37d15c):_0x159e3d,_0x25282c=_0x1649be[_0x38c69b(0x2be)]-0x1,_0x2e9d79;_0x25282c>=0x0;_0x25282c--)(_0x2e9d79=_0x1649be[_0x25282c])&&(_0x1894bd=_0x2e9d79(_0x1894bd)||_0x1894bd);return _0x1894bd;},pt=(_0xd871ac,_0x43a5f5)=>(_0x11f891,_0x5120d8)=>_0x43a5f5(_0x11f891,_0x5120d8,_0xd871ac);const Gn=[_0x3bcbc5(0x3d1),'image/jpeg',_0x3bcbc5(0x2b1),'image/gif','image/bmp'],Wn=0x5*0x400*0x400,Yn=_0x3bcbc5(0x1f6),Kn=_0x3bcbc5(0x36e);let Rt=class{constructor(_0x4d2531,_0x2c0a47,_0x2587b7){var _0x20d988=_0x3bcbc5;D(this,_0x20d988(0x28e),0x0),D(this,_0x20d988(0x41e),new _0x3a544d()),D(this,'change$',this[_0x20d988(0x41e)]),D(this,_0x20d988(0x47f),new Map()),(this[_0x20d988(0x3ca)]=_0x4d2531,this[_0x20d988(0x346)]=_0x2c0a47,this['_univerInstanceService']=_0x2587b7);}[_0x3bcbc5(0x35d)](_0x28ad1f){var _0x20f84b=_0x3bcbc5;this[_0x20f84b(0x28e)]=_0x28ad1f,this[_0x20f84b(0x41e)][_0x20f84b(0x497)](_0x28ad1f);}['getImageSourceCache'](_0x397b67,_0x4dd2d1){var _0x303d76=_0x3bcbc5;if(_0x4dd2d1===_0x2f6ceb[_0x303d76(0x42a)]){const _0x79af8=new Image();return _0x79af8['src']=_0x397b67,_0x79af8;}return this['_imageSourceCache'][_0x303d76(0x448)](_0x397b67);}[_0x3bcbc5(0x1e1)](_0x35d38c,_0x1f4088,_0x13c0b1){var _0x40f46b=_0x3bcbc5;_0x1f4088===_0x2f6ceb['BASE64']||_0x13c0b1==null||this['_imageSourceCache'][_0x40f46b(0x3cd)](_0x35d38c,_0x13c0b1);}async[_0x3bcbc5(0x390)](_0x571ebb){var _0x5ee694=_0x3bcbc5;try{const _0xce28bb=this[_0x5ee694(0x3df)](this[_0x5ee694(0x33d)](),''+_0x571ebb),_0x95bb6c=(await this[_0x5ee694(0x3ca)][_0x5ee694(0x448)](_0xce28bb))[_0x5ee694(0x457)];if(_0x95bb6c[_0x5ee694(0x2dd)]&&_0x95bb6c[_0x5ee694(0x2dd)]['code']===vi['OK']){const _0x3ed8ea=new URL(_0x95bb6c[_0x5ee694(0x23a)],this[_0x5ee694(0x429)]())['toString']();return Promise['resolve'](_0x3ed8ea);}return Promise[_0x5ee694(0x3fe)](_0x95bb6c[_0x5ee694(0x2dd)]);}catch(_0x18f4ad){return Promise[_0x5ee694(0x3fe)](_0x18f4ad);}}async[_0x3bcbc5(0x394)](_0xea4c74){var _0x5c45cd=_0x3bcbc5;let _0x49d4dd='';if(!Gn[_0x5c45cd(0x460)](_0xea4c74[_0x5c45cd(0x2e2)]))return this[_0x5c45cd(0x39c)](),Promise[_0x5c45cd(0x3fe)](new Error(_0x3d7dd9[_0x5c45cd(0x272)]));if(_0xea4c74[_0x5c45cd(0x1c7)]>Wn)return this[_0x5c45cd(0x39c)](),Promise[_0x5c45cd(0x3fe)](new Error(_0x3d7dd9['ERROR_EXCEED_SIZE']));try{const _0x2b2016=new FormData();_0x2b2016[_0x5c45cd(0x426)](_0x5c45cd(0x361),_0xea4c74);const _0x502176=this['_univerInstanceService'][_0x5c45cd(0x2d0)](),_0x314dde=_0x502176==null?void 0x0:_0x502176['getUnitId']();if(!_0x314dde)throw new Error('unitId\x20is\x20not\x20found');const _0x5ef256=this[_0x5c45cd(0x37f)]()+_0x5c45cd(0x205)+_0xea4c74[_0x5c45cd(0x1c7)][_0x5c45cd(0x28b)]()+_0x5c45cd(0x276)+pi[_0x5c45cd(0x2a3)]+'&assign='+encodeURIComponent(_0x314dde),_0x3f75b5={'body':_0x2b2016},_0x40a23b=(await this[_0x5c45cd(0x3ca)][_0x5c45cd(0x218)](_0x5ef256,_0x3f75b5))[_0x5c45cd(0x457)];if(typeof _0x40a23b['FileId']!='string')return this[_0x5c45cd(0x39c)](),Promise[_0x5c45cd(0x3fe)](new Error(_0x3d7dd9[_0x5c45cd(0x2ca)]));_0x49d4dd=_0x40a23b[_0x5c45cd(0x2c4)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3d7dd9[_0x5c45cd(0x2ca)]));}return new Promise((_0x19a268,_0x29297d)=>{var _0x126775=_0x5c45cd;const _0x3e1bae=new FileReader();_0x3e1bae['readAsDataURL'](_0xea4c74),_0x3e1bae[_0x126775(0x32c)]=_0x5abfb7=>{var _0x25055e=_0x126775,_0x5ea451;const _0x220baa=(_0x5ea451=_0x5abfb7[_0x25055e(0x29d)])==null?void 0x0:_0x5ea451[_0x25055e(0x3a0)];if(_0x220baa==null){this[_0x25055e(0x39c)](),_0x29297d(new Error(_0x3d7dd9[_0x25055e(0x2ca)]));return;}const _0x5e47b5=_0x20bbd5(0x6);_0x19a268({'imageId':_0x5e47b5,'imageSourceType':_0x2f6ceb[_0x25055e(0x296)],'source':_0x49d4dd,'base64Cache':_0x220baa,'status':_0x3d7dd9[_0x25055e(0x2bb)]}),this['_decreaseWaiting']();};});}[_0x3bcbc5(0x37f)](){var _0x2bd980=_0x3bcbc5,_0x20c8b2;const _0x3bb37e=this[_0x2bd980(0x346)][_0x2bd980(0x2f6)](K);return(_0x20c8b2=_0x3bb37e==null?void 0x0:_0x3bb37e[_0x2bd980(0x408)])!=null?_0x20c8b2:Yn;}['_getSignURL'](){var _0x42eff5=_0x3bcbc5,_0x1b92f1;const _0x19dde1=this[_0x42eff5(0x346)][_0x42eff5(0x2f6)](K);return(_0x1b92f1=_0x19dde1==null?void 0x0:_0x19dde1[_0x42eff5(0x46d)])!=null?_0x1b92f1:Kn;}[_0x3bcbc5(0x429)](){var _0x486fc8=_0x3bcbc5,_0x5df9b8;const _0x1364ba=this[_0x486fc8(0x346)][_0x486fc8(0x2f6)](K);return(_0x5df9b8=_0x1364ba==null?void 0x0:_0x1364ba['downloadEndpointUrl'])!=null?_0x5df9b8:location[_0x486fc8(0x3b8)];}['_replaceFileID'](_0x532603,_0x4272e8){var _0x62eeb2=_0x3bcbc5;return _0x532603[_0x62eeb2(0x1cb)](_0x62eeb2(0x297),_0x4272e8);}[_0x3bcbc5(0x39c)](){var _0xdd755a=_0x3bcbc5;this[_0xdd755a(0x28e)]-=0x1,this['_change$'][_0xdd755a(0x497)](this[_0xdd755a(0x28e)]);}};Rt=Vn([pt(0x0,_0x1b5fe1(_0x4ba195)),pt(0x1,_0x12469b),pt(0x2,_0x1b5fe1(_0x29bce8))],Rt);var qn=Object[_0x3bcbc5(0x2f1)],zn=(_0x4f5cd8,_0x133bb4,_0x251784,_0x1a5a41)=>{var _0x5274ff=_0x3bcbc5;for(var _0x36a576=_0x1a5a41>0x1?void 0x0:_0x1a5a41?qn(_0x133bb4,_0x251784):_0x133bb4,_0x418d42=_0x4f5cd8[_0x5274ff(0x2be)]-0x1,_0x5a8016;_0x418d42>=0x0;_0x418d42--)(_0x5a8016=_0x4f5cd8[_0x418d42])&&(_0x36a576=_0x5a8016(_0x36a576)||_0x36a576);return _0x36a576;},ri=(_0x4e6b0f,_0x661da2)=>(_0x672095,_0x53b78b)=>_0x661da2(_0x672095,_0x53b78b,_0x4e6b0f);const Jn=_0x3bcbc5(0x3d3);let Ct=class{constructor(_0x276aa4,_0x2f8392){var _0x50cc4e=_0x3bcbc5;this[_0x50cc4e(0x346)]=_0x276aa4,this[_0x50cc4e(0x36a)]=_0x2f8392;}[_0x3bcbc5(0x214)](){var _0x58869d=_0x3bcbc5,_0x35ce91;const _0x9f61d8=this[_0x58869d(0x346)][_0x58869d(0x2f6)](K);return(_0x35ce91=_0x9f61d8==null?void 0x0:_0x9f61d8[_0x58869d(0x480)])!=null?_0x35ce91:Jn;}async['list'](_0x58dba3){var _0x3e417f=_0x3bcbc5;const _0x1de184=this[_0x3e417f(0x214)]()+_0x3e417f(0x2b7);return{'list':[{'title':_0x3e417f(0x283),'mentions':(await this[_0x3e417f(0x36a)][_0x3e417f(0x448)](_0x1de184,{'params':{'objectID':_0x58dba3['unitId'],'unitID':_0x58dba3['unitId']}}))[_0x3e417f(0x457)][_0x3e417f(0x261)]['map'](_0x12816e=>({'objectId':_0x12816e['id'],'name':_0x12816e[_0x3e417f(0x404)][_0x3e417f(0x439)],'metadata':{'icon':_0x12816e[_0x3e417f(0x404)][_0x3e417f(0x219)]},'label':_0x12816e[_0x3e417f(0x404)][_0x3e417f(0x439)],'objectType':_0x56314d[_0x3e417f(0x2b8)]})),'metadata':{},'type':_0x56314d['PERSON']}]};}};Ct=zn([ri(0x0,_0x1b5fe1(_0x12469b)),ri(0x1,_0x1b5fe1(_0x4ba195))],Ct);var Xn=Object[_0x3bcbc5(0x2f1)],Zn=(_0x25be37,_0x29e29c,_0x31a4fd,_0x234066)=>{var _0x56d923=_0x3bcbc5;for(var _0x45ddc3=_0x234066>0x1?void 0x0:_0x234066?Xn(_0x29e29c,_0x31a4fd):_0x29e29c,_0x4f7ab4=_0x25be37[_0x56d923(0x2be)]-0x1,_0x5b81cf;_0x4f7ab4>=0x0;_0x4f7ab4--)(_0x5b81cf=_0x25be37[_0x4f7ab4])&&(_0x45ddc3=_0x5b81cf(_0x45ddc3)||_0x45ddc3);return _0x45ddc3;},Ue=(_0x3841f1,_0x57f212)=>(_0x5238df,_0x7a9d34)=>_0x57f212(_0x5238df,_0x7a9d34,_0x3841f1);let ot=class extends _0x2e3b72{constructor(_0x599cce,_0x4e9b5a,_0x1c7341,_0x3aaf1b,_0x1ebddf){var _0x1ec4da=_0x3bcbc5;super(),this['_injector']=_0x599cce,this[_0x1ec4da(0x31f)]=_0x4e9b5a,this['_permissionService']=_0x1c7341,this[_0x1ec4da(0x40e)]=_0x3aaf1b,this['_collaborationUIEventService']=_0x1ebddf,this[_0x1ec4da(0x40c)](),this[_0x1ec4da(0x49e)]();}[_0x3bcbc5(0x49e)](){var _0x5d674e=_0x3bcbc5;const _0x32795a=async _0x1e3009=>{var _0x5ec27f=_0x1928;(await this['_collaborationSessionService'][_0x5ec27f(0x34c)](_0x1e3009))[_0x5ec27f(0x2b4)][_0x5ec27f(0x29c)](_0x977423(_0x5e78ea=>_0x5e78ea[_0x5ec27f(0x255)]===_0x4c3e36[_0x5ec27f(0x1c4)]),_0x66664e(this[_0x5ec27f(0x443)]))[_0x5ec27f(0x2ff)](_0x3b14a1=>{var _0x499796=_0x5ec27f;const _0x6fe3f5=_0x3b14a1,{reason:_0x1d2845}=_0x6fe3f5[_0x499796(0x31c)];this[_0x499796(0x4ad)]['emitEvent']({'id':re['CLOSE_ROOM'],'data':_0x1d2845}),this[_0x499796(0x470)][_0x499796(0x3d0)](new _0x119f04(_0x1e3009)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x1e3009);});};_0x59837f(this['_univerInstanceService'][_0x5d674e(0x1f4)](_0xf6e3e1[_0x5d674e(0x1e2)]),this[_0x5d674e(0x31f)][_0x5d674e(0x1f4)](_0xf6e3e1[_0x5d674e(0x30a)]))[_0x5d674e(0x29c)](_0x2c81e7(_0x264a97=>_0x264a97[_0x5d674e(0x1b3)]()),_0x977423(_0x33ae7f=>!_0x4ed9e1(_0x33ae7f)),_0x66664e(this[_0x5d674e(0x443)]))[_0x5d674e(0x2ff)](_0x516eee=>{_0x32795a(_0x516eee);});}[_0x3bcbc5(0x40c)](){var _0x2c4d92=_0x3bcbc5;const _0xa14c34=async _0x4ef4d6=>{var _0x4ef267=_0x1928;const _0x3a92fe=await this[_0x4ef267(0x40e)]['requireSession'](_0x4ef4d6),_0x3f5d3c=this[_0x4ef267(0x463)][_0x4ef267(0x448)](_0x418697);_0x3a92fe[_0x4ef267(0x2b4)][_0x4ef267(0x29c)](_0x977423(_0x591a87=>_0x591a87[_0x4ef267(0x255)]===_0x4c3e36[_0x4ef267(0x41c)]),_0x66664e(this[_0x4ef267(0x443)]))[_0x4ef267(0x2ff)](_0x298879=>{var _0x397c6b=_0x4ef267;const _0x5e9c5b=_0x298879,{objectId:_0x4a30cb}=_0x5e9c5b[_0x397c6b(0x31c)];_0x4a30cb===_0x4ef4d6?_0x3f5d3c[_0x397c6b(0x1e6)](_0x4ef4d6):_0x3f5d3c[_0x397c6b(0x416)](_0x4ef4d6,_0x4a30cb);});};_0x59837f(this[_0x2c4d92(0x31f)][_0x2c4d92(0x1f4)](_0xf6e3e1['UNIVER_SHEET']))[_0x2c4d92(0x29c)](_0x2c81e7(_0x20b7e8=>_0x20b7e8[_0x2c4d92(0x1b3)]()),_0x977423(_0x349696=>!_0x4ed9e1(_0x349696)),_0x66664e(this[_0x2c4d92(0x443)]))[_0x2c4d92(0x2ff)](_0x551410=>{_0xa14c34(_0x551410);});}};ot=Zn([Ue(0x0,_0x1b5fe1(_0x3f0769)),Ue(0x1,_0x29bce8),Ue(0x2,_0x14e6d6),Ue(0x3,_0x1b5fe1(we)),Ue(0x4,_0x1b5fe1(ve))],ot);var Qn=Object[_0x3bcbc5(0x2f1)],er=(_0x1046a7,_0x11e9ce,_0x426d6f,_0x210fc3)=>{for(var _0x653453=_0x210fc3>0x1?void 0x0:_0x210fc3?Qn(_0x11e9ce,_0x426d6f):_0x11e9ce,_0xbd20a2=_0x1046a7['length']-0x1,_0x581e88;_0xbd20a2>=0x0;_0xbd20a2--)(_0x581e88=_0x1046a7[_0xbd20a2])&&(_0x653453=_0x581e88(_0x653453)||_0x653453);return _0x653453;},ai=(_0x28f370,_0x13302a)=>(_0x405409,_0x1477d5)=>_0x13302a(_0x405409,_0x1477d5,_0x28f370);let Nt=class{constructor(_0x1c2e93,_0x3d15be){var _0x5e1e70=_0x3bcbc5;this[_0x5e1e70(0x346)]=_0x1c2e93,this[_0x5e1e70(0x3ca)]=_0x3d15be;}async[_0x3bcbc5(0x1ba)](_0x2d22fe,_0x4b9f26){var _0x2b19a=_0x3bcbc5,_0x264ad2;const {unitID:_0xccc3f2,type:_0x58ee50,revision:_0x363043=0x0}=_0x4b9f26,_0x50df6a=this[_0x2b19a(0x43c)]()+'/'+_0x58ee50+_0x2b19a(0x1ee)+_0xccc3f2+_0x2b19a(0x1b1)+_0x363043,_0x2da9a5=(await this[_0x2b19a(0x3ca)][_0x2b19a(0x448)](_0x50df6a))[_0x2b19a(0x457)],_0x55f7e7=(_0x264ad2=_0x2da9a5[_0x2b19a(0x2d8)])==null?void 0x0:_0x264ad2[_0x2b19a(0x48e)];if(_0x55f7e7){const _0x1ba10e=_0x55f7e7==null?void 0x0:_0x55f7e7[_0x2b19a(0x1c2)],_0x597a23=_0x4074a6[_0x2b19a(0x418)](_0x3578ee(_0x1ba10e));_0x55f7e7[_0x2b19a(0x1c2)]=_0x597a23,Object['entries'](_0x55f7e7[_0x2b19a(0x278)])[_0x2b19a(0x4a0)](([,_0x1e9f25])=>{var _0x246945=_0x2b19a;const _0x5eeef3=_0x1e9f25[_0x246945(0x1c2)],_0x492a46=_0x4074a6[_0x246945(0x418)](_0x3578ee(_0x5eeef3));_0x1e9f25['originalMeta']=_0x492a46;});}return _0x2da9a5;}async[_0x3bcbc5(0x1f5)](_0xf2f8e7,_0x18416e){var _0x14f87d=_0x3bcbc5;const {unitID:_0x3d0534,type:_0x441352,blockID:_0x6f3454}=_0x18416e,_0x2a3436=this['_getAPIPrefix']()+'/'+_0x441352+_0x14f87d(0x1ee)+_0x3d0534+_0x14f87d(0x245)+_0x6f3454;return(await this[_0x14f87d(0x3ca)][_0x14f87d(0x448)](_0x2a3436))[_0x14f87d(0x457)];}async['getDeserializedSheetBlock'](_0x53f59e,_0x26035a){var _0x2a8dd8=_0x3bcbc5;const {unitID:_0xa0842e,type:_0x3f6066,blockID:_0xf6e520}=_0x26035a,_0x816da8=this[_0x2a8dd8(0x1ef)]()+_0x2a8dd8(0x245)+_0x3f6066+_0x2a8dd8(0x1ee)+_0xa0842e+'/block/'+_0xf6e520;return(await this[_0x2a8dd8(0x3ca)]['get'](_0x816da8))['body'];}async[_0x3bcbc5(0x2ac)](_0x2e649a,_0x192cd4){var _0x5db5e1=_0x3bcbc5;const {unitID:_0x13f184,type:_0x265e11,from:_0x4ba34c,to:_0xe2035d}=_0x192cd4,_0x2f2882=this[_0x5db5e1(0x1ef)]()+'/'+_0x265e11+_0x5db5e1(0x1ee)+_0x13f184+_0x5db5e1(0x305)+_0x4ba34c+'&to='+_0xe2035d;return(await this['_httpService']['get'](_0x2f2882))['body'];}[_0x3bcbc5(0x43c)](){var _0x27820c=_0x3bcbc5,_0x5c5e09;return(_0x5c5e09=this['_configService']['getConfig'](vs))!=null?_0x5c5e09:this[_0x27820c(0x1ef)]();}[_0x3bcbc5(0x1ef)](){var _0x35d943=_0x3bcbc5,_0x38baa7;const _0x453710=this[_0x35d943(0x346)]['getConfig'](K);return(_0x38baa7=_0x453710==null?void 0x0:_0x453710['snapshotServerUrl'])!=null?_0x38baa7:fs;}async[_0x3bcbc5(0x1c8)](_0x3f7cad,_0x286b4c){var _0x3c3dde=_0x3bcbc5;const _0x36b343=_0x3c3dde(0x3da)+_0x286b4c['type']+_0x3c3dde(0x1ee)+_0x286b4c[_0x3c3dde(0x2f2)]+_0x3c3dde(0x498);return(await this['_httpService'][_0x3c3dde(0x448)](_0x36b343,{'params':{'resourceId':JSON['stringify'](_0x286b4c[_0x3c3dde(0x203)])}}))['body'];}[_0x3bcbc5(0x1e3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3bcbc5(0x228)](){var _0x472908=_0x3bcbc5;throw new Error(_0x472908(0x2df));}['saveSheetBlock'](){var _0x5d4601=_0x3bcbc5;throw new Error(_0x5d4601(0x2df));}[_0x3bcbc5(0x2e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3bcbc5(0x235)](){var _0x10bc30=_0x3bcbc5;throw new Error(_0x10bc30(0x2df));}['getLatestCsReqIdBySid'](){var _0x164f46=_0x3bcbc5;throw new Error(_0x164f46(0x2df));}};Nt=er([ai(0x0,_0x12469b),ai(0x1,_0x1b5fe1(_0x4ba195))],Nt);var tr=Object[_0x3bcbc5(0x2f1)],ir=(_0x626dd2,_0x24fe85,_0x4a57db,_0x2e7447)=>{var _0x55ccfc=_0x3bcbc5;for(var _0x46f110=_0x2e7447>0x1?void 0x0:_0x2e7447?tr(_0x24fe85,_0x4a57db):_0x24fe85,_0x4e6d02=_0x626dd2[_0x55ccfc(0x2be)]-0x1,_0x34233b;_0x4e6d02>=0x0;_0x4e6d02--)(_0x34233b=_0x626dd2[_0x4e6d02])&&(_0x46f110=_0x34233b(_0x46f110)||_0x46f110);return _0x46f110;},Ae=(_0x3a7cbc,_0x480929)=>(_0x35f207,_0x118ddc)=>_0x480929(_0x35f207,_0x118ddc,_0x3a7cbc);let bt=class extends _0x471c19{constructor(_0x147b7b,_0x2aa95e,_0x4e5bc1,_0x1cef6c,_0x5b243f){var _0x2857b5=_0x3bcbc5;super(_0x147b7b,_0x2aa95e,_0x4e5bc1),this[_0x2857b5(0x220)]=_0x1cef6c,this[_0x2857b5(0x3dc)]=_0x5b243f;}[_0x3bcbc5(0x3dd)](_0x811a17,_0x91d300){var _0x4a800a=_0x3bcbc5;const _0xd2e332=this[_0x4a800a(0x1f3)](_0x811a17);if(_0xd2e332)try{const _0x174bc1=this[_0x4a800a(0x47e)](_0xd2e332,_0x91d300);this[_0x4a800a(0x20a)](_0x811a17,_0x174bc1);}catch(_0x277070){this[_0x4a800a(0x3dc)]['error'](_0x4a800a(0x3b2),_0x277070),this[_0x4a800a(0x432)](_0x811a17);}const _0x506fff=this[_0x4a800a(0x31e)](_0x811a17);if(_0x506fff)try{const _0x4cade6=this[_0x4a800a(0x47e)](_0x506fff,_0x91d300);this[_0x4a800a(0x3d2)](_0x811a17,_0x4cade6);}catch(_0x5b3ca8){this[_0x4a800a(0x3dc)][_0x4a800a(0x2dd)](_0x5b3ca8),this[_0x4a800a(0x396)](_0x811a17);}}[_0x3bcbc5(0x432)](_0x1058ce){var _0x184f53=_0x3bcbc5;const _0x573db9=this['_getUndoStack'](_0x1058ce);_0x573db9&&(_0x573db9[_0x184f53(0x2be)]=0x0,this[_0x184f53(0x35f)]());}[_0x3bcbc5(0x396)](_0x1b0790){var _0x362553=_0x3bcbc5;const _0x4db284=this[_0x362553(0x31e)](_0x1b0790);_0x4db284&&(_0x4db284[_0x362553(0x2be)]=0x0,this['_updateStatus']());}[_0x3bcbc5(0x20a)](_0x2d24ad,_0x4f3482){var _0x1f394f=_0x3bcbc5;this[_0x1f394f(0x2f7)]['set'](_0x2d24ad,_0x4f3482),this['_updateStatus']();}[_0x3bcbc5(0x3d2)](_0x3c3f69,_0x45696f){var _0x132ece=_0x3bcbc5;this[_0x132ece(0x427)][_0x132ece(0x3cd)](_0x3c3f69,_0x45696f),this[_0x132ece(0x35f)]();}[_0x3bcbc5(0x47e)](_0x1a6168,_0x575abc){var _0x1e6977=_0x3bcbc5;const _0x158b8e=[];let _0x9c804b=_0x575abc,_0x35e883=_0x575abc;for(let _0x5cb00e=_0x1a6168[_0x1e6977(0x2be)]-0x1;_0x5cb00e>=0x0;_0x5cb00e--){const {unitID:_0x340c88,undoMutations:_0x59ae16,redoMutations:_0x1b10e1}=_0x1a6168[_0x5cb00e],_0x3af421=this[_0x1e6977(0x220)][_0x1e6977(0x3b7)](_0x9c804b,_0x59ae16),_0x2f9e70=this['_transformService'][_0x1e6977(0x3b7)](_0x35e883,_0x1b10e1);if(_0x1fa8d4(_0x3af421)||_0x1fa8d4(_0x2f9e70)){this[_0x1e6977(0x3dc)][_0x1e6977(0x2dd)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x3af421,_0x2f9e70);break;}_0x9c804b=_0x3af421[_0x1e6977(0x34d)],_0x35e883=_0x2f9e70[_0x1e6977(0x34d)],_0x158b8e['push']({'unitID':_0x340c88,'undoMutations':_0x3af421[_0x1e6977(0x1d3)],'redoMutations':_0x2f9e70['m2Prime']});}return _0x158b8e[_0x1e6977(0x459)]();}};bt=ir([Ae(0x0,_0x29bce8),Ae(0x1,_0x246ef8),Ae(0x2,_0x14b3c6),Ae(0x3,_0x247322),Ae(0x4,_0xbe786)],bt);var sr=Object['defineProperty'],nr=Object[_0x3bcbc5(0x2f1)],rr=(_0x1b1814,_0x5035a0,_0xf3f475)=>_0x5035a0 in _0x1b1814?sr(_0x1b1814,_0x5035a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf3f475}):_0x1b1814[_0x5035a0]=_0xf3f475,ar=(_0x5d5fc1,_0x385487,_0x900b46,_0x30c9b9)=>{var _0x52450c=_0x3bcbc5;for(var _0x4fd6dd=_0x30c9b9>0x1?void 0x0:_0x30c9b9?nr(_0x385487,_0x900b46):_0x385487,_0x54cf24=_0x5d5fc1[_0x52450c(0x2be)]-0x1,_0x1f710f;_0x54cf24>=0x0;_0x54cf24--)(_0x1f710f=_0x5d5fc1[_0x54cf24])&&(_0x4fd6dd=_0x1f710f(_0x4fd6dd)||_0x4fd6dd);return _0x4fd6dd;},Et=(_0x40d523,_0x3d7689)=>(_0x519d6c,_0x320840)=>_0x3d7689(_0x519d6c,_0x320840,_0x40d523),or=(_0x2f6749,_0x97b31f,_0x406792)=>rr(_0x2f6749,_0x97b31f+'',_0x406792);const cr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x538c4f{constructor(_0x3ba033,_0xe05540,_0x33b6f9,_0x4d8767){var _0x44ead6=_0x3bcbc5;super(),D(this,_0x44ead6(0x2fc)),(this[_0x44ead6(0x3dc)]=_0xe05540,this[_0x44ead6(0x463)]=_0x33b6f9,this[_0x44ead6(0x346)]=_0x4d8767);const {..._0x4586f7}=_0xf449ca({},Ls,_0x3ba033);if(!_0x4586f7[_0x44ead6(0x3c7)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x4586f7,this['_configService'][_0x44ead6(0x40d)](K,_0x4586f7);}['onStarting'](){var _0x5bb352=_0x3bcbc5;this[_0x5bb352(0x4b7)](),this['_initDependencies']();}[_0x3bcbc5(0x4b7)](){var _0x2cbedc=_0x3bcbc5,_0x40d27e,_0x1aa66f;this['_injector']['has'](_0x3b359c)&&this[_0x2cbedc(0x3dc)][_0x2cbedc(0x2dd)](_0x2cbedc(0x290),_0x2cbedc(0x3a5));const _0x2fef01=_0x1fb0b6([[_0x3b359c,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x2cbedc(0x2fc)][_0x2cbedc(0x3c7)]}],[_0x51a19b,{'useClass':Nt}],[_0x5bb3fa,{'useClass':Tt}],[_0x5a959d,{'useClass':Rt}],[_0x243b7c,{'useClass':Ct}],[nt],[gt]],(_0x40d27e=this[_0x2cbedc(0x2fc)])==null?void 0x0:_0x40d27e['override']);if(!((_0x1aa66f=this[_0x2cbedc(0x2fc)])!=null&&_0x1aa66f[_0x2cbedc(0x330)])){const _0x1222ef=_0x2fef01['findIndex'](([_0x2df529])=>_0x2df529===_t);_0x1222ef!==-0x1&&_0x2fef01[_0x2cbedc(0x1f8)](_0x1222ef,0x1);}_0x332554(this[_0x2cbedc(0x463)],_0x2fef01);}['_initDependencies'](){var _0x59b2ea=_0x3bcbc5,_0x3e26c4,_0x38f8d3,_0x48e5cf;this[_0x59b2ea(0x463)][_0x59b2ea(0x448)](_0x4ba195)[_0x59b2ea(0x2ea)]({'priority':0x14,'interceptor':_0xf7f34e({'maxParallel':0x6})}),(_0x3e26c4=this[_0x59b2ea(0x2fc)])!=null&&_0x3e26c4[_0x59b2ea(0x3fa)]||(_0x38f8d3=this[_0x59b2ea(0x463)][_0x59b2ea(0x448)](J,_0x494835[_0x59b2ea(0x1d0)]))==null||_0x38f8d3[_0x59b2ea(0x452)](),(_0x48e5cf=this[_0x59b2ea(0x2fc)])!=null&&_0x48e5cf['enableAuthServer']&&_0x4064de(this[_0x59b2ea(0x463)],[[rt]]),_0x4064de(this[_0x59b2ea(0x463)],[[at],[nt],[ot]]);}};or(Dt,'pluginName',cr),Dt=ar([_0x36679f(_0x40c541,_0x21b429),Et(0x1,_0xbe786),Et(0x2,_0x1b5fe1(_0x3f0769)),Et(0x3,_0x12469b)],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,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};