@univerjs-pro/collaboration-client 0.10.12-nightly.202510251119 → 0.10.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x259c74=_0x28c4;(function(_0x224a56,_0x17dcf5){var _0x2313a0=_0x28c4,_0x2c82df=_0x224a56();while(!![]){try{var _0xca2765=-parseInt(_0x2313a0(0x33b))/0x1+parseInt(_0x2313a0(0x2df))/0x2+-parseInt(_0x2313a0(0x21e))/0x3+-parseInt(_0x2313a0(0x26f))/0x4*(-parseInt(_0x2313a0(0x3c8))/0x5)+-parseInt(_0x2313a0(0x3d3))/0x6*(parseInt(_0x2313a0(0x40a))/0x7)+-parseInt(_0x2313a0(0x392))/0x8+parseInt(_0x2313a0(0x40e))/0x9*(parseInt(_0x2313a0(0x358))/0xa);if(_0xca2765===_0x17dcf5)break;else _0x2c82df['push'](_0x2c82df['shift']());}catch(_0x20d91e){_0x2c82df['push'](_0x2c82df['shift']());}}}(_0x54f2,0xa7ad9));var bi=Object['defineProperty'],Di=(_0x21dbdf,_0x26c4bf,_0x5e176e)=>_0x26c4bf in _0x21dbdf?bi(_0x21dbdf,_0x26c4bf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e176e}):_0x21dbdf[_0x26c4bf]=_0x5e176e,D=(_0x5d5e48,_0x221ce2,_0x103b24)=>Di(_0x5d5e48,typeof _0x221ce2!=_0x259c74(0x22a)?_0x221ce2+'':_0x221ce2,_0x103b24);import{CollaborationEvent as _0x6aadf0,ITransformService as _0x363f26,isTransformMutationsWithChangesetSuccess as _0x10db53,mapDocumentTypeToUniverType as _0x488e36,RevisionService as _0x4deff2,isTransformChangesetsSuccess as _0x128d8f,CompressMutationService as _0x1ec69a,parseProtocolChangeset as _0x16a6be,uuidv4 as _0x50f63f,ISnapshotServerService as _0x27e841,parseChangesetToProtocol as _0x439747,SnapshotService as _0x251112,textEncoder as _0x4970f8,b64DecodeUnicode as _0x37b5a1,isTransformMutationsWithChangesetFailure as _0x322957,UniverCollaborationPlugin as _0x309ba1}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x2979fe,Inject as _0x479712,UserManagerService as _0x5868d7,Disposable as _0x24b22e,UniverInstanceType as _0x33434f,ILogService as _0x597a05,IConfigService as _0x5dd738,Optional as _0xdd8f64,RxDisposable as _0x271f03,createIdentifier as _0x350255,Injector as _0x27a1da,Tools as _0x474031,Rectangle as _0x3db7f4,ICommandService as _0x50be79,JSONX as _0x242971,CommandType as _0xf41ef6,IUndoRedoService as _0x1bcad4,IPermissionService as _0x25e5b9,LocaleService as _0x38932f,sequenceExecute as _0x3d150d,toDisposable as _0x52a6fa,DisposableCollection as _0x233c34,Workbook as _0x2fdb3b,generateRandomId as _0x1950d2,MentionType as _0x18ebcb,isInternalEditorID as _0x4fb1b7,LocalUndoRedoService as _0xfac7b9,IContextService as _0x30d958,DependentOn as _0x4c2899,Plugin as _0x2b4bcc,merge as _0x36265f,mergeOverrideWithDependencies as _0x58d05a,IAuthzIoService as _0x56f06e,IMentionIOService as _0x23c9c8,registerDependencies as _0x3ce38b,Quantity as _0x29e21a,touchDependencies as _0x1a2234}from'@univerjs/core';import{RichTextEditingMutation as _0x8784db}from'@univerjs/docs';import{SheetsSelectionsService as _0x5b8311,SetSelectionsOperation as _0x2a6888,InsertSheetMutation as _0xb3b1df,EmptyMutation as _0x423c29,WorkbookEditablePermission as _0x2a9243,SheetPermissionInitController as _0x1da1b2}from'@univerjs/sheets';import{Subject as _0x4fab98,merge as _0x3142f5,of as _0x57b435,BehaviorSubject as _0x5ac99c,takeUntil as _0x333488,ReplaySubject as _0x4ad544,take as _0x4aae1e,map as _0x42ebd1,shareReplay as _0x381afc,firstValueFrom as _0x1d959e,concatMap as _0xbab88}from'rxjs';import{ITelemetryService as _0x462d97}from'@univerjs/telemetry';import{map as _0x56a673,take as _0x2d868f,filter as _0x21080c,delay as _0x1308f9,takeUntil as _0x28187}from'rxjs/operators';import{HTTPService as _0x44cd1e,ISocketService as _0x46b1d5,MergeInterceptorFactory as _0x18ee90,HTTPRequest as _0x3b63e4,UniverNetworkPlugin as _0x3371c4,ThresholdInterceptorFactory as _0x13d50a}from'@univerjs/network';import{ImageSourceType as _0x730ce6,ImageUploadStatusType as _0x44aa55,IImageIoService as _0x5c9c0a}from'@univerjs/drawing';import{getGlobalObject as _0x429284}from'@univerjs-pro/license';const fs=_0x259c74(0x38a),vs='SNAPSHOT_URL_KEY',ps=0x7d0,Es=_0x259c74(0x3c2),gr=_0x259c74(0x44a),ms='HEARTBEAT_INTERVAL',Is=0x7530,di=_0x259c74(0x1a9),fi=0x4e20,Ss=0x4e20,gs='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x259c74(0x2a7),Or=0x3e8,Os=_0x259c74(0x355),Rs=_0x259c74(0x2d1),Rr=_0x259c74(0x383),Cr=_0x259c74(0x1f6);var vi=(_0x1019b7=>(_0x1019b7[_0x1019b7['UNDEFINED']=0x0]=_0x259c74(0x447),_0x1019b7[_0x1019b7['OK']=0x1]='OK',_0x1019b7[_0x1019b7[_0x259c74(0x44d)]=0x2]=_0x259c74(0x44d),_0x1019b7[_0x1019b7[_0x259c74(0x1ee)]=0x3]=_0x259c74(0x1ee),_0x1019b7[_0x1019b7[_0x259c74(0x3cf)]=0x4]='NOT_FOUND',_0x1019b7[_0x1019b7['UNAUTHENTICATED']=0x5]=_0x259c74(0x415),_0x1019b7[_0x1019b7[_0x259c74(0x223)]=0x6]='ALREADY_EXISTS',_0x1019b7[_0x1019b7[_0x259c74(0x173)]=0x7]=_0x259c74(0x173),_0x1019b7[_0x1019b7[_0x259c74(0x20a)]=0x8]=_0x259c74(0x20a),_0x1019b7[_0x1019b7[_0x259c74(0x20b)]=0x9]=_0x259c74(0x20b),_0x1019b7[_0x1019b7[_0x259c74(0x332)]=0xa]=_0x259c74(0x332),_0x1019b7[_0x1019b7[_0x259c74(0x171)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1019b7[_0x1019b7[_0x259c74(0x359)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1019b7[_0x1019b7[_0x259c74(0x1cf)]=0xd]=_0x259c74(0x1cf),_0x1019b7[_0x1019b7[_0x259c74(0x411)]=0xe]=_0x259c74(0x411),_0x1019b7[_0x1019b7['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x259c74(0x343),_0x1019b7[_0x1019b7[_0x259c74(0x170)]=0x10]=_0x259c74(0x170),_0x1019b7[_0x1019b7[_0x259c74(0x32e)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1019b7[_0x1019b7[_0x259c74(0x2d4)]=0x65]='ERROR_AGAIN',_0x1019b7[_0x1019b7[_0x259c74(0x167)]=0xc9]=_0x259c74(0x167),_0x1019b7[_0x1019b7[_0x259c74(0x2ff)]=0xca]=_0x259c74(0x2ff),_0x1019b7[_0x1019b7[_0x259c74(0x31f)]=0x1389]=_0x259c74(0x31f),_0x1019b7[_0x1019b7[_0x259c74(0x21b)]=0x1771]=_0x259c74(0x21b),_0x1019b7[_0x1019b7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1019b7[_0x1019b7[_0x259c74(0x394)]=0x1773]=_0x259c74(0x394),_0x1019b7[_0x1019b7['APPLY_REJECT']=0x1b59]=_0x259c74(0x432),_0x1019b7[_0x1019b7['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x259c74(0x239),_0x1019b7[_0x1019b7[_0x259c74(0x20c)]=0x1b5b]=_0x259c74(0x20c),_0x1019b7[_0x1019b7[_0x259c74(0x186)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1019b7[_0x1019b7[_0x259c74(0x3f3)]=0x1b5d]=_0x259c74(0x3f3),_0x1019b7[_0x1019b7[_0x259c74(0x169)]=0x1f41]=_0x259c74(0x169),_0x1019b7[_0x1019b7[_0x259c74(0x45c)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1019b7[_0x1019b7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x259c74(0x1a1),_0x1019b7[_0x1019b7[_0x259c74(0x200)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1019b7[_0x1019b7['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1019b7[_0x1019b7[_0x259c74(0x3d7)]=0x232d]=_0x259c74(0x3d7),_0x1019b7[_0x1019b7[_0x259c74(0x1d8)]=0x2711]=_0x259c74(0x1d8),_0x1019b7[_0x1019b7[_0x259c74(0x218)]=0x2712]=_0x259c74(0x218),_0x1019b7[_0x1019b7[_0x259c74(0x446)]=0x2713]=_0x259c74(0x446),_0x1019b7[_0x1019b7[_0x259c74(0x3a2)]=0x2714]=_0x259c74(0x3a2),_0x1019b7[_0x1019b7[_0x259c74(0x391)]=0x271a]=_0x259c74(0x391),_0x1019b7[_0x1019b7[_0x259c74(0x393)]=0x271b]=_0x259c74(0x393),_0x1019b7[_0x1019b7[_0x259c74(0x1c9)]=0x271c]=_0x259c74(0x1c9),_0x1019b7[_0x1019b7[_0x259c74(0x1c5)]=0x271d]=_0x259c74(0x1c5),_0x1019b7[_0x1019b7['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x259c74(0x3e4),_0x1019b7[_0x1019b7['YUUMI_AI_RUN_FAILED']=0x271f]=_0x259c74(0x25e),_0x1019b7[_0x1019b7[_0x259c74(0x1ff)]=0x2720]=_0x259c74(0x1ff),_0x1019b7[_0x1019b7[_0x259c74(0x41d)]=0x2af9]=_0x259c74(0x41d),_0x1019b7[_0x1019b7[_0x259c74(0x467)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1019b7[_0x1019b7['INVALID_INVITE_CODE']=0x2ee2]=_0x259c74(0x1a3),_0x1019b7[_0x1019b7[_0x259c74(0x1c8)]=0x2ee3]=_0x259c74(0x1c8),_0x1019b7[_0x1019b7[_0x259c74(0x40c)]=0x2ee4]=_0x259c74(0x40c),_0x1019b7[_0x1019b7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x259c74(0x259),_0x1019b7[_0x1019b7[_0x259c74(0x216)]=0x32c9]=_0x259c74(0x216),_0x1019b7[_0x1019b7[_0x259c74(0x2cb)]=0x32ca]=_0x259c74(0x2cb),_0x1019b7[_0x1019b7[_0x259c74(0x31d)]=0x32cb]=_0x259c74(0x31d),_0x1019b7[_0x1019b7[_0x259c74(0x215)]=0x36b1]=_0x259c74(0x215),_0x1019b7[_0x1019b7[_0x259c74(0x3cb)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x1019b7[_0x1019b7[_0x259c74(0x3c7)]=0x36b3]=_0x259c74(0x3c7),_0x1019b7[_0x1019b7[_0x259c74(0x19f)]=0x36b4]=_0x259c74(0x19f),_0x1019b7[_0x1019b7['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x259c74(0x463),_0x1019b7[_0x1019b7[_0x259c74(0x2ea)]=0x3716]=_0x259c74(0x2ea),_0x1019b7[_0x1019b7[_0x259c74(0x184)]=0x37dd]=_0x259c74(0x184),_0x1019b7[_0x1019b7[_0x259c74(0x260)]=0x3a99]=_0x259c74(0x260),_0x1019b7[_0x1019b7[_0x259c74(0x290)]=0x3a9a]=_0x259c74(0x290),_0x1019b7[_0x1019b7['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1019b7[_0x1019b7[_0x259c74(0x458)]=0x3a9c]=_0x259c74(0x458),_0x1019b7[_0x1019b7[_0x259c74(0x3df)]=0x3a9d]=_0x259c74(0x3df),_0x1019b7[_0x1019b7[_0x259c74(0x401)]=0x3a9e]=_0x259c74(0x401),_0x1019b7[_0x1019b7['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1019b7[_0x1019b7[_0x259c74(0x2e9)]=-0x1]=_0x259c74(0x2e9),_0x1019b7))(vi||{}),Q=(_0x2e83e7=>(_0x2e83e7[_0x2e83e7[_0x259c74(0x2e8)]=0x0]=_0x259c74(0x2e8),_0x2e83e7[_0x2e83e7[_0x259c74(0x42f)]=0x1]=_0x259c74(0x42f),_0x2e83e7[_0x2e83e7[_0x259c74(0x19d)]=0x2]=_0x259c74(0x19d),_0x2e83e7[_0x2e83e7[_0x259c74(0x439)]=0x3]=_0x259c74(0x439),_0x2e83e7[_0x2e83e7['UNIVER_PROJECT']=0x4]=_0x259c74(0x19a),_0x2e83e7[_0x2e83e7[_0x259c74(0x2e9)]=-0x1]='UNRECOGNIZED',_0x2e83e7))(Q||{}),F=(_0x623d12=>(_0x623d12[_0x623d12[_0x259c74(0x390)]=0x0]=_0x259c74(0x390),_0x623d12[_0x623d12[_0x259c74(0x2fc)]=0x1]='HELLO',_0x623d12[_0x623d12[_0x259c74(0x213)]=0x2]=_0x259c74(0x213),_0x623d12[_0x623d12[_0x259c74(0x262)]=0x3]='LEAVE',_0x623d12[_0x623d12[_0x259c74(0x466)]=0x4]=_0x259c74(0x466),_0x623d12[_0x623d12['HEARTBEAT']=0x5]='HEARTBEAT',_0x623d12[_0x623d12['RECV']=0x6]=_0x259c74(0x1aa),_0x623d12[_0x623d12['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x623d12))(F||{}),pe=(_0x5a39b2=>(_0x5a39b2[_0x5a39b2[_0x259c74(0x25c)]=0x0]=_0x259c74(0x25c),_0x5a39b2[_0x5a39b2['OK']=0x1]='OK',_0x5a39b2[_0x5a39b2[_0x259c74(0x23b)]=0x2]=_0x259c74(0x23b),_0x5a39b2[_0x5a39b2['JOIN_ROOM_FULL']=0x3e9]=_0x259c74(0x1e5),_0x5a39b2[_0x5a39b2[_0x259c74(0x26b)]=0x3ea]=_0x259c74(0x26b),_0x5a39b2[_0x5a39b2['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x259c74(0x172),_0x5a39b2[_0x5a39b2[_0x259c74(0x35b)]=0x3ec]=_0x259c74(0x35b),_0x5a39b2[_0x5a39b2['UNRECOGNIZED']=-0x1]=_0x259c74(0x2e9),_0x5a39b2))(pe||{}),pi=(_0x378d4e=>(_0x378d4e[_0x378d4e[_0x259c74(0x179)]=0x0]=_0x259c74(0x179),_0x378d4e[_0x378d4e[_0x259c74(0x333)]=0x1]=_0x259c74(0x333),_0x378d4e[_0x378d4e[_0x259c74(0x303)]=0x2]='HttpExport',_0x378d4e[_0x378d4e['UnitEmbedded']=0x3]=_0x259c74(0x3c1),_0x378d4e[_0x378d4e[_0x259c74(0x2c1)]=0x4]=_0x259c74(0x2c1),_0x378d4e[_0x378d4e[_0x259c74(0x3ed)]=0x5]=_0x259c74(0x3ed),_0x378d4e[_0x378d4e[_0x259c74(0x39a)]=0x6]='ClipsheetFragments',_0x378d4e[_0x378d4e[_0x259c74(0x2e9)]=-0x1]=_0x259c74(0x2e9),_0x378d4e))(pi||{});const Cs=_0x259c74(0x2b1);function Ns(_0x3e0710){var _0x187b17=_0x259c74;return JSON[_0x187b17(0x2a5)](_0x3e0710)[_0x187b17(0x418)];}var re=(_0x2b3b33=>(_0x2b3b33[_0x259c74(0x2b5)]=_0x259c74(0x2b5),_0x2b3b33[_0x259c74(0x1ee)]=_0x259c74(0x1ee),_0x2b3b33['CONFLICT']=_0x259c74(0x2bc),_0x2b3b33['CLOSE_ROOM']=_0x259c74(0x232),_0x2b3b33['JOIN_ROOM_FAILED']=_0x259c74(0x16a),_0x2b3b33['SOCKET_FAILED_RETRY']=_0x259c74(0x435),_0x2b3b33[_0x259c74(0x192)]=_0x259c74(0x192),_0x2b3b33[_0x259c74(0x2a0)]=_0x259c74(0x2a0),_0x2b3b33))(re||{});class ve{constructor(){var _0x4739c7=_0x259c74;D(this,'_event$',new _0x4fab98()),D(this,'event$',this[_0x4739c7(0x3aa)][_0x4739c7(0x37d)]());}['emitEvent'](_0x4eb360){var _0x3266c4=_0x259c74;this[_0x3266c4(0x3aa)][_0x3266c4(0x210)](_0x4eb360);}}class Ei{constructor(){var _0x1917a6=_0x259c74;D(this,_0x1917a6(0x261),new _0x4fab98()),D(this,'commentUpdate$',this[_0x1917a6(0x261)][_0x1917a6(0x37d)]());}[_0x259c74(0x315)](_0x446122){var _0x229f7e=_0x259c74;this[_0x229f7e(0x261)]['next'](_0x446122);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x32140d,_0x9afe8a,_0x3833f4,_0x3a3d40)=>{var _0x4d3f97=_0x259c74;for(var _0x367dc7=_0x3a3d40>0x1?void 0x0:_0x3a3d40?bs(_0x9afe8a,_0x3833f4):_0x9afe8a,_0x94ad1=_0x32140d[_0x4d3f97(0x418)]-0x1,_0x14249c;_0x94ad1>=0x0;_0x94ad1--)(_0x14249c=_0x32140d[_0x94ad1])&&(_0x367dc7=_0x14249c(_0x367dc7)||_0x367dc7);return _0x367dc7;},Ft=(_0x352500,_0x81e6f3)=>(_0x14240b,_0x3e1ec8)=>_0x81e6f3(_0x14240b,_0x3e1ec8,_0x352500);let Pe=class extends _0x24b22e{constructor(_0x333aa3,_0x4ad5c){var _0x37025b=_0x259c74;super(),D(this,_0x37025b(0x465),new Map()),D(this,_0x37025b(0x2f5),new _0x4fab98()),(this['_univerInstanceService']=_0x333aa3,this[_0x37025b(0x39e)]=_0x4ad5c,this['disposeWithMe'](_0x3142f5(this[_0x37025b(0x284)]['getTypeOfUnitDisposed$'](_0x33434f[_0x37025b(0x19d)])[_0x37025b(0x28f)](_0x56a673(_0x3ec0ea=>_0x3ec0ea[_0x37025b(0x395)]())),this[_0x37025b(0x284)][_0x37025b(0x26d)](_0x33434f[_0x37025b(0x42f)])[_0x37025b(0x28f)](_0x56a673(_0x1cf6fb=>_0x1cf6fb['getUnitId']())),this[_0x37025b(0x284)][_0x37025b(0x26d)](_0x33434f[_0x37025b(0x439)])[_0x37025b(0x28f)](_0x56a673(_0x3334c2=>_0x3334c2['getUnitId']())))[_0x37025b(0x322)](_0x342cf6=>this['_removeRoom'](_0x342cf6))));}[_0x259c74(0x1c7)](_0x3a245c){var _0x321177=_0x259c74;return this[_0x321177(0x465)][_0x321177(0x2dc)](_0x3a245c)?_0x57b435(this[_0x321177(0x465)][_0x321177(0x30f)](_0x3a245c)):this[_0x321177(0x2f5)][_0x321177(0x28f)](_0x56a673(_0x22f25f=>{var _0x301bdb=_0x321177;if(_0x22f25f===_0x3a245c)return this[_0x301bdb(0x465)][_0x301bdb(0x30f)](_0x22f25f);}));}['setCurrentUser'](_0x33fe52){var _0x45cc55=_0x259c74;this[_0x45cc55(0x39e)]['setCurrentUser'](_0x33fe52);}[_0x259c74(0x30d)](){var _0x436bdb=_0x259c74;return this[_0x436bdb(0x39e)][_0x436bdb(0x30d)]();}[_0x259c74(0x43b)](_0x33cf2a,_0x468086){var _0xffde5f=_0x259c74;let _0xe03ca7=this[_0xffde5f(0x465)][_0xffde5f(0x30f)](_0x33cf2a);_0xe03ca7||(_0xe03ca7=new ys(),this[_0xffde5f(0x465)][_0xffde5f(0x351)](_0x33cf2a,_0xe03ca7),this['_roomCreated$'][_0xffde5f(0x210)](_0x33cf2a)),_0xe03ca7['updateMember'](_0x468086);}[_0x259c74(0x25a)](_0x343506,_0x383d6c){var _0x40205b=_0x259c74;const _0x3696ac=this[_0x40205b(0x465)][_0x40205b(0x30f)](_0x343506);_0x3696ac&&_0x3696ac['removeMember'](_0x383d6c);}['getRoom'](_0x5b8c1a){var _0x4fbdd0=_0x259c74;return this[_0x4fbdd0(0x465)]['get'](_0x5b8c1a);}[_0x259c74(0x1be)](_0x1fb54e,_0x480f68){var _0xd1ab70=_0x259c74;const _0x3a03ea=this['_roomMembers'][_0xd1ab70(0x30f)](_0x1fb54e);if(_0x3a03ea)return _0x3a03ea[_0xd1ab70(0x1be)](_0x480f68);}[_0x259c74(0x37f)](_0x5981e1){var _0x3fa4bb=_0x259c74;const _0x415155=this[_0x3fa4bb(0x465)][_0x3fa4bb(0x30f)](_0x5981e1);_0x415155&&(_0x415155['dispose'](),this[_0x3fa4bb(0x465)][_0x3fa4bb(0x1de)](_0x5981e1));}[_0x259c74(0x34b)](){var _0x5c1118=_0x259c74;this['_roomMembers']['forEach'](_0x27fd99=>_0x27fd99[_0x5c1118(0x34b)]()),this['_roomMembers']['clear'](),this[_0x5c1118(0x2f5)][_0x5c1118(0x2fb)]();}};Pe=Ds([Ft(0x0,_0x2979fe),Ft(0x1,_0x479712(_0x5868d7))],Pe);class ys extends _0x24b22e{constructor(){var _0x2cdb67=_0x259c74;super(...arguments),D(this,'_members',new Map()),D(this,_0x2cdb67(0x281),new _0x5ac99c(this['_members'])),D(this,_0x2cdb67(0x2ad),this[_0x2cdb67(0x281)][_0x2cdb67(0x37d)]());}[_0x259c74(0x34b)](){var _0x406e3b=_0x259c74;this[_0x406e3b(0x1f7)][_0x406e3b(0x189)]();}[_0x259c74(0x43b)](_0x3e0d45){var _0x58347f=_0x259c74;this[_0x58347f(0x1f7)]['set'](_0x3e0d45[_0x58347f(0x39f)],_0x3e0d45),this[_0x58347f(0x2da)]();}['removeMember'](_0x3c8d7f){var _0x25a921=_0x259c74;this[_0x25a921(0x1f7)][_0x25a921(0x1de)](_0x3c8d7f);}[_0x259c74(0x1be)](_0x5b1c31){var _0x5d3c2c=_0x259c74;return this[_0x5d3c2c(0x1f7)][_0x5d3c2c(0x30f)](_0x5b1c31);}[_0x259c74(0x1df)](){var _0x3ddc38=_0x259c74;return Array['from'](this[_0x3ddc38(0x1f7)][_0x3ddc38(0x2a1)]());}[_0x259c74(0x2da)](){var _0x37da7a=_0x259c74;this[_0x37da7a(0x281)][_0x37da7a(0x210)](this[_0x37da7a(0x1f7)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x2b1852,_0xa5e846,_0x3a00d3,_0x105b1b)=>{var _0x152922=_0x259c74;for(var _0x49b91f=_0x105b1b>0x1?void 0x0:_0x105b1b?Us(_0xa5e846,_0x3a00d3):_0xa5e846,_0x4cf762=_0x2b1852[_0x152922(0x418)]-0x1,_0x367be3;_0x4cf762>=0x0;_0x4cf762--)(_0x367be3=_0x2b1852[_0x4cf762])&&(_0x49b91f=_0x367be3(_0x49b91f)||_0x49b91f);return _0x49b91f;},Oe=(_0x2966fd,_0x142fbb)=>(_0x16c45f,_0x2e994b)=>_0x142fbb(_0x16c45f,_0x2e994b,_0x2966fd),me=(_0x4a12f2=>(_0x4a12f2[_0x4a12f2[_0x259c74(0x294)]=0x0]=_0x259c74(0x294),_0x4a12f2[_0x4a12f2[_0x259c74(0x28a)]=0x1]=_0x259c74(0x28a),_0x4a12f2[_0x4a12f2[_0x259c74(0x1a5)]=0x2]=_0x259c74(0x1a5),_0x4a12f2[_0x4a12f2[_0x259c74(0x3ee)]=0x3]=_0x259c74(0x3ee),_0x4a12f2))(me||{});const Vt={[pe[_0x259c74(0x23b)]]:_0x259c74(0x36b),[pe['JOIN_ROOM_FULL']]:_0x259c74(0x1b4),[pe['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[pe[_0x259c74(0x172)]]:_0x259c74(0x3b1),[pe[_0x259c74(0x35b)]]:'session.room-cnt-exceeds'};let mt=class extends _0x271f03{constructor(_0xb2e62a,_0x22fb76,_0x1c50b3,_0x5258e7,_0x4c6b32,_0x13cbea,_0x4926ef,_0x5cec6d){var _0x4070ef=_0x259c74;super(),D(this,_0x4070ef(0x3a1),new _0x5ac99c(0x0)),D(this,_0x4070ef(0x25d),this[_0x4070ef(0x3a1)][_0x4070ef(0x37d)]()),D(this,_0x4070ef(0x3aa),new _0x4fab98()),D(this,_0x4070ef(0x219),this[_0x4070ef(0x3aa)][_0x4070ef(0x37d)]()),D(this,'_socket'),D(this,_0x4070ef(0x1ac)),D(this,'_collaborationTimeoutTimer'),D(this,_0x4070ef(0x243),!0x1),D(this,_0x4070ef(0x3ba),null),(this[_0x4070ef(0x3bb)]=_0xb2e62a,this[_0x4070ef(0x29c)]=_0x1c50b3,this[_0x4070ef(0x2ec)]=_0x5258e7,this['_memberService']=_0x4c6b32,this[_0x4070ef(0x362)]=_0x13cbea,this[_0x4070ef(0x3ca)]=_0x4926ef,this[_0x4070ef(0x254)]=_0x5cec6d,this[_0x4070ef(0x243)]=!!this[_0x4070ef(0x254)],_0x22fb76[_0x4070ef(0x28f)](_0x333488(this[_0x4070ef(0x22b)]))[_0x4070ef(0x322)](_0x332426=>{var _0x536c68=_0x4070ef,_0x3ed61c;typeof _0x332426>'u'||(this[_0x536c68(0x2fd)]=_0x332426,_0x332426?(this['_joinRoom'](_0x332426),this['_socketMessageSubscription']=_0x332426['message$']['subscribe'](_0x2774b9=>{var _0x19388c=_0x536c68;_0x2774b9[_0x19388c(0x3d6)]===this['_unitID']&&this[_0x19388c(0x1c2)](_0x2774b9);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x536c68(0x3a1)][_0x536c68(0x210)](0x2),(_0x3ed61c=this[_0x536c68(0x1ac)])==null||_0x3ed61c['unsubscribe'](),this[_0x536c68(0x1ac)]=null));}));}get[_0x259c74(0x1d9)](){var _0x51e56a=_0x259c74;return this[_0x51e56a(0x3a1)][_0x51e56a(0x38d)]();}[_0x259c74(0x3a4)](){var _0x10db03=_0x259c74,_0x370247,_0x42e48c;return(_0x42e48c=(_0x370247=this[_0x10db03(0x2fd)])==null?void 0x0:_0x370247[_0x10db03(0x39f)])!=null?_0x42e48c:null;}['dispose'](){var _0x21af0d=_0x259c74;super['dispose'](),this['dispose$'][_0x21af0d(0x210)](),this['dispose$']['complete']();}[_0x259c74(0x301)](){var _0x576f01=_0x259c74,_0x2fb536,_0x4371a5;this['_throwTelemetryCollaborationNewChangeset'](),(_0x2fb536=this[_0x576f01(0x2fd)])==null||_0x2fb536[_0x576f01(0x240)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x576f01(0x3bb)]}}),(_0x4371a5=this[_0x576f01(0x2fd)])==null||_0x4371a5[_0x576f01(0x301)](),this[_0x576f01(0x3aa)][_0x576f01(0x2fb)](),this[_0x576f01(0x3a1)][_0x576f01(0x2fb)](),this['dispose']();}[_0x259c74(0x1c2)](_0x3585b5){var _0x56ac37=_0x259c74;_0x3585b5['cmd']===F['JOIN']?this[_0x56ac37(0x29e)](_0x3585b5):_0x3585b5[_0x56ac37(0x1fc)]===F[_0x56ac37(0x1aa)]&&this[_0x56ac37(0x3b5)](_0x3585b5);}[_0x259c74(0x165)](_0x28a57d){var _0x48cdff=_0x259c74;this[_0x48cdff(0x3a1)][_0x48cdff(0x210)](0x1),_0x28a57d[_0x48cdff(0x240)]({'cmd':F[_0x48cdff(0x213)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x48cdff(0x3bb)]}]}});}['_onJoinRoomEvent'](_0x3c3e77){var _0x2aaf1a=_0x259c74,_0x53526f;if(_0x3c3e77['code']in Vt){this[_0x2aaf1a(0x3ca)][_0x2aaf1a(0x29b)]({'id':re[_0x2aaf1a(0x16a)],'data':Vt[_0x3c3e77[_0x2aaf1a(0x224)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x2aaf1a(0x3a1)][_0x2aaf1a(0x210)](0x3);const _0x3c7dc0=(_0x53526f=_0x3c3e77[_0x2aaf1a(0x3e2)][_0x2aaf1a(0x309)][this[_0x2aaf1a(0x3bb)]])==null?void 0x0:_0x53526f[_0x2aaf1a(0x241)];_0x3c7dc0&&_0x3c7dc0['forEach'](_0x44a0be=>this[_0x2aaf1a(0x225)][_0x2aaf1a(0x43b)](this[_0x2aaf1a(0x3bb)],_0x44a0be));}[_0x259c74(0x3b5)](_0x1210f6){var _0x2f160d=_0x259c74;try{const _0x4edd0f=_0x1210f6[_0x2f160d(0x3e2)];switch(_0x4edd0f[_0x2f160d(0x168)]){case _0x6aadf0['USERS_ENTER']:this[_0x2f160d(0x336)](_0x4edd0f),this[_0x2f160d(0x3aa)][_0x2f160d(0x210)](_0x4edd0f);break;case _0x6aadf0[_0x2f160d(0x3c6)]:this[_0x2f160d(0x1c0)](_0x4edd0f),this[_0x2f160d(0x3aa)]['next'](_0x4edd0f);break;case _0x6aadf0[_0x2f160d(0x31e)]:case _0x6aadf0[_0x2f160d(0x44e)]:this[_0x2f160d(0x321)](),this[_0x2f160d(0x265)](),this['_event$'][_0x2f160d(0x210)](_0x4edd0f);break;case _0x6aadf0[_0x2f160d(0x299)]:this[_0x2f160d(0x29c)][_0x2f160d(0x331)](_0x2f160d(0x312)+JSON[_0x2f160d(0x2a5)](_0x4edd0f)),this['_event$'][_0x2f160d(0x210)](_0x4edd0f);break;case _0x6aadf0[_0x2f160d(0x282)]:this[_0x2f160d(0x362)][_0x2f160d(0x315)](_0x4edd0f[_0x2f160d(0x3e2)]),this[_0x2f160d(0x3aa)][_0x2f160d(0x210)](_0x4edd0f);break;default:this[_0x2f160d(0x3aa)][_0x2f160d(0x210)](_0x4edd0f);}}catch(_0x22346c){this[_0x2f160d(0x29c)][_0x2f160d(0x331)](_0x22346c,_0x1210f6);}}['_onUserJoin'](_0x5f24f0){var _0x1046c9=_0x259c74;this[_0x1046c9(0x225)][_0x1046c9(0x43b)](this['_unitID'],_0x5f24f0['data']);}[_0x259c74(0x1c0)](_0xdc99d){var _0x12c3bd=_0x259c74;this[_0x12c3bd(0x225)][_0x12c3bd(0x25a)](this['_unitID'],_0xdc99d[_0x12c3bd(0x3e2)][_0x12c3bd(0x39f)]);}async[_0x259c74(0x240)](_0x2961bc,_0x2757e5){var _0x33544b=_0x259c74;if(this['sessionStatus']!==0x3||!this[_0x33544b(0x2fd)])throw new Error(_0x33544b(0x183));try{_0x2961bc['eventID']===_0x6aadf0['SUBMIT_CHANGESET']&&(this[_0x33544b(0x230)](),this[_0x33544b(0x16b)](_0x2961bc)),this['_socket'][_0x33544b(0x240)]({'cmd':F[_0x33544b(0x466)],'routeKey':_0x2757e5,'routeType':'','data':_0x2961bc});}catch(_0x211ceb){this['_logService'][_0x33544b(0x331)](_0x211ceb);}}[_0x259c74(0x230)](){var _0x8411bd=_0x259c74,_0x499390;this[_0x8411bd(0x42a)]=setTimeout(()=>{var _0x5214db=_0x8411bd;this[_0x5214db(0x42a)]=null,this[_0x5214db(0x3ca)][_0x5214db(0x29b)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x499390=this[_0x8411bd(0x2ec)][_0x8411bd(0x23c)](di))!=null?_0x499390:fi);}['_clearCollaborationTimeoutTimer'](){var _0x53d54a=_0x259c74;this[_0x53d54a(0x42a)]&&(clearTimeout(this[_0x53d54a(0x42a)]),this[_0x53d54a(0x42a)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x50d62e){var _0x48f762=_0x259c74;if(!this[_0x48f762(0x243)])return;const {data:_0x3130ad}=_0x50d62e,{unitID:_0x5157cb,changeset:_0x1645d0}=_0x3130ad,{mutations:_0x36329b,type:_0x1cf28d}=_0x1645d0;this[_0x48f762(0x3ba)]={'unitId':_0x5157cb,'type':_0x1cf28d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x36329b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x3bc162=_0x259c74;if(this[_0x3bc162(0x243)]){if(!this['_telemetryInfo']){this[_0x3bc162(0x29c)][_0x3bc162(0x331)](_0x3bc162(0x373),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3bc162(0x3ba)][_0x3bc162(0x193)]=performance[_0x3bc162(0x43d)](),this[_0x3bc162(0x3ba)]['duration']=this[_0x3bc162(0x3ba)]['stopTime']-this[_0x3bc162(0x3ba)]['startTime'],this[_0x3bc162(0x254)][_0x3bc162(0x46d)](Cs,this[_0x3bc162(0x3ba)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x597a05),Oe(0x3,_0x5dd738),Oe(0x4,_0x479712(Pe)),Oe(0x5,_0x479712(Ei)),Oe(0x6,_0x479712(ve)),Oe(0x7,_0xdd8f64(_0x462d97))],mt);const J=_0x350255('collaboration-client.local-cache-service');function Nr(_0x402106){var _0x3d7f8b=_0x259c74;return _0x3d7f8b(0x2e2)+_0x402106;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x18281e,_0x17e8d5,_0x2d85f8,_0x2bb3cb)=>{var _0x457b70=_0x259c74;for(var _0x577075=_0x2bb3cb>0x1?void 0x0:_0x2bb3cb?Ps(_0x17e8d5,_0x2d85f8):_0x17e8d5,_0x1c59ab=_0x18281e[_0x457b70(0x418)]-0x1,_0x3d783c;_0x1c59ab>=0x0;_0x1c59ab--)(_0x3d783c=_0x18281e[_0x1c59ab])&&(_0x577075=_0x3d783c(_0x577075)||_0x577075);return _0x577075;},ut=(_0x5799dc,_0x105fa6)=>(_0x55f915,_0x14aa67)=>_0x105fa6(_0x55f915,_0x14aa67,_0x5799dc);function Ms(_0x3d79f2){var _0x504f72=_0x259c74;const {unitID:_0x122785,mutations:_0x2666b1}=_0x3d79f2;return{'unitId':_0x122785,'subUnitId':_0x2666b1[0x0]['params'][_0x504f72(0x455)]};}let it=class{constructor(_0x42ec8d,_0x452517,_0x122801){var _0x11e309=_0x259c74;this[_0x11e309(0x450)]=_0x42ec8d,this['_transformService']=_0x452517,this[_0x11e309(0x196)]=_0x122801;}['transformSelections'](_0x16dcff){var _0x1998ef=_0x259c74,_0x3fceef,_0xc67fe4,_0x212961,_0x1a9f95;const _0x34b8f3=this[_0x1998ef(0x450)][_0x1998ef(0x30f)](_0x5b8311),{unitId:_0x4aab06,subUnitId:_0x440993}=Ms(_0x16dcff),_0x4e9510=_0x34b8f3==null?void 0x0:_0x34b8f3[_0x1998ef(0x441)](_0x4aab06)[_0x1998ef(0x1e4)](),_0x459b40=(_0xc67fe4=(_0x3fceef=this[_0x1998ef(0x196)][_0x1998ef(0x27f)](_0x4aab06))==null?void 0x0:_0x3fceef[_0x1998ef(0x2d6)]())==null?void 0x0:_0xc67fe4[_0x1998ef(0x238)]();if(_0x4e9510[_0x1998ef(0x418)]===0x0||!_0x4aab06||!_0x440993)return;const _0x1dfe91=[{'id':_0x2a6888['id'],'params':{'unitId':_0x4aab06,'subUnitId':_0x459b40,'selections':_0x474031['deepClone'](_0x4e9510)}}],_0x1dcacb=this['_transformService'][_0x1998ef(0x195)](_0x16dcff,_0x1dfe91);if(!_0x10db53(_0x1dcacb))throw _0x1dcacb[_0x1998ef(0x331)];const _0x3c6857=(_0x1a9f95=(_0x212961=_0x1dcacb['m2Prime'][0x0])==null?void 0x0:_0x212961['params'])==null?void 0x0:_0x1a9f95['selections'];if(Array[_0x1998ef(0x245)](_0x3c6857)&&_0x3c6857['length']){if(_0x3c6857[_0x1998ef(0x418)]===_0x1dfe91[0x0][_0x1998ef(0x473)][_0x1998ef(0x40b)]['length']&&_0x3c6857[_0x1998ef(0x1e2)]((_0x3ef9f0,_0x267868)=>_0x3db7f4['equals'](_0x3ef9f0[_0x1998ef(0x44c)],_0x1dfe91[0x0]['params']['selections'][_0x267868]['range'])))return;this[_0x1998ef(0x450)]['get'](_0x50be79)[_0x1998ef(0x407)](_0x2a6888['id'],{'unitId':_0x4aab06,'subUnitId':_0x459b40,'selections':_0x3c6857});}}};it=ws([ut(0x0,_0x479712(_0x27a1da)),ut(0x1,_0x363f26),ut(0x2,_0x2979fe)],it);const _t=_0x350255('univer-pro.collaboration-client.single-active-unit-service');var mi=(_0x4e67ba=>(_0x4e67ba[_0x4e67ba[_0x259c74(0x1db)]=0x0]=_0x259c74(0x1db),_0x4e67ba[_0x4e67ba[_0x259c74(0x23a)]=0x1]=_0x259c74(0x23a),_0x4e67ba))(mi||{});const K='collaboration-client.config',Ls={},xs=new Set([_0xb3b1df['id']]);function Gt(_0x169664,_0x1ff4f2,_0x39e803,_0x1ca56c,_0x522a4c){var _0xa6abff=_0x259c74,_0x1ec85e,_0x3a8eed,_0x23f95a,_0x4f4064;const _0x33cea0=[];for(const _0x1b8142 of _0x169664)if(xs[_0xa6abff(0x2dc)](_0x1b8142['id'])){if(_0x33cea0[_0xa6abff(0x418)]>0x0)break;_0x33cea0['push'](_0x1b8142);break;}else _0x33cea0['push'](_0x1b8142);const _0x304b08=(_0x3a8eed=(_0x1ec85e=_0x522a4c[_0xa6abff(0x30d)]())==null?void 0x0:_0x1ec85e[_0xa6abff(0x197)])!=null?_0x3a8eed:_0xa6abff(0x307),_0x38809c=(_0x4f4064=(_0x23f95a=_0x522a4c[_0xa6abff(0x30d)]())==null?void 0x0:_0x23f95a['memberID'])!=null?_0x4f4064:'unknown';return{'changeset':{'unitID':_0x1ff4f2,'type':_0x488e36(_0x39e803[_0xa6abff(0x2f8)](_0x1ff4f2)),'baseRev':_0x1ca56c['getCurrentRevOfUnit'](_0x1ff4f2),'revision':0x0,'userID':_0x304b08,'memberID':_0x38809c,'mutations':_0x33cea0},'pendingMutations':_0x169664[_0xa6abff(0x17d)](_0x33cea0['length'])};}function ks(_0x3a8b6d,_0x335a59,_0x426756,_0x20bdaa,_0x22f711){var _0x5ae6f3=_0x259c74,_0x5b1caf,_0x3cf376,_0x2d5137,_0x241f46;const _0x105c5b=[_0x3a8b6d[_0x5ae6f3(0x2d8)]((_0x21e433,_0x540b50)=>{var _0x294224=_0x5ae6f3,_0xc384;const {id:_0x2ec7f2}=_0x21e433,{id:_0xb8d990,type:_0x88ac49}=_0x540b50,_0x408869=(_0xc384=_0x21e433['params'])!=null?_0xc384:{'actions':null},_0x582eec=_0x540b50[_0x294224(0x473)];if(_0x2ec7f2&&_0x2ec7f2!==_0xb8d990)throw new Error(_0x294224(0x297)+_0x2ec7f2+_0x294224(0x16e)+_0xb8d990+'.');return{..._0x21e433,'id':_0xb8d990,'type':_0x88ac49,'params':{'unitId':_0x582eec['unitId'],'textRanges':_0x582eec[_0x294224(0x190)],'actions':_0x242971['compose'](_0x408869[_0x294224(0x1ab)],_0x582eec[_0x294224(0x1ab)])}};},{})],_0x3f2f63=(_0x3cf376=(_0x5b1caf=_0x22f711['getCurrentUser']())==null?void 0x0:_0x5b1caf[_0x5ae6f3(0x197)])!=null?_0x3cf376:_0x5ae6f3(0x307),_0x373547=(_0x241f46=(_0x2d5137=_0x22f711[_0x5ae6f3(0x30d)]())==null?void 0x0:_0x2d5137[_0x5ae6f3(0x39f)])!=null?_0x241f46:_0x5ae6f3(0x307);return{'changeset':{'unitID':_0x335a59,'type':_0x488e36(_0x426756['getUnitType'](_0x335a59)),'baseRev':_0x20bdaa[_0x5ae6f3(0x423)](_0x335a59),'revision':0x0,'userID':_0x3f2f63,'memberID':_0x373547,'mutations':_0x105c5b},'pendingMutations':[]};}function Ii(_0x5ba166,_0x57c089){var _0x83815a=_0x259c74;const _0x80da9c=new _0x4ad544(0x1);return setTimeout(()=>_0x80da9c['next'](_0x57c089),_0x5ba166),_0x80da9c[_0x83815a(0x37d)]()[_0x83815a(0x28f)](_0x4aae1e(0x1));}const $s={'id':_0x423c29['id'],'type':_0xf41ef6[_0x259c74(0x314)],'params':{}};var Hs=Object[_0x259c74(0x268)],Se=(_0x3a6d2b,_0x41eac9,_0x566848,_0x1b547e)=>{for(var _0x56b634=_0x1b547e>0x1?void 0x0:_0x1b547e?Hs(_0x41eac9,_0x566848):_0x41eac9,_0x14dd39=_0x3a6d2b['length']-0x1,_0x330f2a;_0x14dd39>=0x0;_0x14dd39--)(_0x330f2a=_0x3a6d2b[_0x14dd39])&&(_0x56b634=_0x330f2a(_0x56b634)||_0x56b634);return _0x56b634;},w=(_0x50e976,_0x59d916)=>(_0x305757,_0x4f505a)=>_0x59d916(_0x305757,_0x4f505a,_0x50e976),Si=(_0x5221cd=>(_0x5221cd[_0x259c74(0x378)]=_0x259c74(0x424),_0x5221cd['SYNCED']=_0x259c74(0x2c2),_0x5221cd[_0x259c74(0x3b6)]=_0x259c74(0x247),_0x5221cd[_0x259c74(0x275)]=_0x259c74(0x431),_0x5221cd['AWAITING_WITH_PENDING']=_0x259c74(0x341),_0x5221cd[_0x259c74(0x368)]=_0x259c74(0x1fd),_0x5221cd[_0x259c74(0x2bc)]=_0x259c74(0x17c),_0x5221cd['OFFLINE']='offline',_0x5221cd))(Si||{});const gi=0xea60;class ge{constructor(_0x1c83a2,_0x5a4f5b,_0x393019,_0x4b70de,_0x25d0f9,_0x1df0a0,_0x371321,_0x5dd862,_0x6208fa){var _0x1871e7=_0x259c74;D(this,'_awaitingChangeset',null),D(this,_0x1871e7(0x1a7),[]),(this[_0x1871e7(0x320)]=_0x1c83a2,this['type']=_0x5a4f5b,this['_handler']=_0x25d0f9,this[_0x1871e7(0x40f)]=_0x1df0a0,this[_0x1871e7(0x40d)]=_0x371321,this['_revisionService']=_0x5dd862,this[_0x1871e7(0x2fa)]=_0x6208fa,this[_0x1871e7(0x3a0)]=_0x393019,this[_0x1871e7(0x1a7)]=_0x4b70de);}['_checkMissing'](_0xaba13a){var _0x2aae36=_0x259c74;const _0x12f97d=this[_0x2aae36(0x1b8)][_0x2aae36(0x423)](this[_0x2aae36(0x320)]);return _0xaba13a[_0x2aae36(0x28e)]>_0x12f97d+0x1?(this[_0x2aae36(0x44b)][_0x2aae36(0x242)]({'from':_0x12f97d,'to':_0xaba13a[_0x2aae36(0x28e)]-0x1}),!0x0):!0x1;}[_0x259c74(0x263)](_0x470a19){var _0x1af310=_0x259c74;this['_undoRedoService'][_0x1af310(0x264)](this[_0x1af310(0x320)],_0x470a19);}['_transformSelections'](_0x2952f0){var _0x39a731=_0x259c74,_0x5725c2,_0x1cac06;(_0x1cac06=(_0x5725c2=this[_0x39a731(0x44b)])[_0x39a731(0x3d2)])==null||_0x1cac06[_0x39a731(0x206)](_0x5725c2,_0x2952f0);}[_0x259c74(0x257)](_0x245911){var _0x1793ed=_0x259c74,_0x382f94,_0x465d11;return(_0x465d11=(_0x382f94=this[_0x1793ed(0x44b)])[_0x1793ed(0x3e3)])==null?void 0x0:_0x465d11[_0x1793ed(0x206)](_0x382f94,_0x245911);}[_0x259c74(0x38e)](_0x3da6ab){var _0x40afd6=_0x259c74,_0x52056d,_0x1719f2;return(_0x1719f2=(_0x52056d=this[_0x40afd6(0x44b)])[_0x40afd6(0x41b)])==null?void 0x0:_0x1719f2[_0x40afd6(0x206)](_0x52056d,_0x3da6ab);}['_transformRemoteChangesetByIMECache'](_0x135966){var _0xdff376=_0x259c74,_0x496b2a,_0x396dd8,_0x423e6d;return(_0x423e6d=(_0x396dd8=(_0x496b2a=this[_0xdff376(0x44b)])[_0xdff376(0x3dd)])==null?void 0x0:_0x396dd8[_0xdff376(0x206)](_0x496b2a,_0x135966))!=null?_0x423e6d:_0x135966;}[_0x259c74(0x3f5)](_0x1fbcab){var _0x5b28fb=_0x259c74,_0x4379f4,_0x4a766a,_0x2d5afb;return(_0x2d5afb=(_0x4a766a=(_0x4379f4=this[_0x5b28fb(0x44b)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4a766a[_0x5b28fb(0x206)](_0x4379f4,_0x1fbcab))!=null?_0x2d5afb:_0x1fbcab;}[_0x259c74(0x198)](_0x4a603d){var _0x2c01bd=_0x259c74,_0x49522e,_0x2574ea;if(this['type']===Q[_0x2c01bd(0x42f)]){const {unitID:_0x34aaef,mutations:_0x445103,memberID:_0x2f630c}=_0x4a603d,_0x4c2d33=_0x445103[0x0][_0x2c01bd(0x473)][_0x2c01bd(0x190)];Array[_0x2c01bd(0x245)](_0x4c2d33)&&_0x4c2d33[_0x2c01bd(0x418)]>0x0&&((_0x2574ea=(_0x49522e=this[_0x2c01bd(0x44b)])[_0x2c01bd(0x34d)])==null||_0x2574ea['call'](_0x49522e,{'unitID':_0x34aaef,'memberID':_0x2f630c,'textRanges':_0x4c2d33}));}}[_0x259c74(0x2ac)](){var _0xd63ea2=_0x259c74,_0x3dbe73;(_0x3dbe73=this['_localCacheService'])==null||_0x3dbe73[_0xd63ea2(0x33e)](this['unitID'],this['type'],this[_0xd63ea2(0x3a0)],this[_0xd63ea2(0x1a7)]);}['_getCurrentRevision'](){var _0x20f681=_0x259c74;return this[_0x20f681(0x1b8)][_0x20f681(0x423)](this[_0x20f681(0x320)]);}[_0x259c74(0x2b0)](){var _0x35e6b0=_0x259c74;this[_0x35e6b0(0x1b8)][_0x35e6b0(0x1ef)](this['unitID']);}[_0x259c74(0x236)](_0x4eda1b){var _0x252d43=_0x259c74,_0x40f236;let _0x698dbe=this['_transformRemoteChangesetByIMECache'](_0x4eda1b);_0x698dbe=this[_0x252d43(0x3f5)](_0x698dbe);const _0x5964ae=_0x3d150d(_0x698dbe[_0x252d43(0x3cc)],this[_0x252d43(0x40f)],{'fromCollab':!0x0});if(!_0x5964ae[_0x252d43(0x27d)])throw _0x5964ae[_0x252d43(0x331)]instanceof Error?_0x5964ae[_0x252d43(0x331)]:new Error((_0x40f236=_0x5964ae[_0x252d43(0x331)])!=null?_0x40f236:_0x252d43(0x356));this[_0x252d43(0x257)](_0x698dbe),this[_0x252d43(0x38e)](_0x698dbe),this[_0x252d43(0x263)](_0x4eda1b),this['_transformSelections'](_0x698dbe),this[_0x252d43(0x198)](_0x698dbe),this[_0x252d43(0x2b0)]();}}let be=class extends ge{constructor(_0x22fbe1,_0x6043cf,_0x494dcc,_0x333cc5,_0xe7505d,_0x117753,_0x241553,_0x9d38e,_0x17a10c,_0x563270){var _0x624e06=_0x259c74;super(_0x22fbe1,_0x6043cf,null,[],_0x494dcc,_0x241553,_0x117753,_0x333cc5,_0x563270),D(this,'status',_0x624e06(0x2c2)),(this[_0x624e06(0x450)]=_0xe7505d,this[_0x624e06(0x29c)]=_0x9d38e,this[_0x624e06(0x1d1)]=_0x17a10c,this[_0x624e06(0x1d4)]=_0x563270);}[_0x259c74(0x1f1)](_0x18cfd9){var _0x5976fd=_0x259c74;const _0x4f1bda=this['_injector'][_0x5976fd(0x45f)](ae,this['unitID'],this[_0x5976fd(0x403)],[_0x18cfd9],this[_0x5976fd(0x44b)]);return _0x4f1bda[_0x5976fd(0x2f2)](),_0x4f1bda[_0x5976fd(0x2ac)](),_0x4f1bda;}[_0x259c74(0x34f)](_0x260136){var _0x39970d=_0x259c74;if(this['_checkMissing'](_0x260136))return this[_0x39970d(0x450)][_0x39970d(0x45f)](ee,this[_0x39970d(0x320)],this[_0x39970d(0x403)],null,[],null,[_0x260136],this['_handler']);try{const _0x41729e=this[_0x39970d(0x1d1)][_0x39970d(0x195)](_0x260136,[$s]);if(_0x10db53(_0x41729e)){const {c1Prime:_0x5e3636}=_0x41729e;return this[_0x39970d(0x236)](_0x5e3636),this;}throw _0x41729e[_0x39970d(0x331)];}catch(_0x56beae){return this['_logService'][_0x39970d(0x331)](_0x56beae),this['_onConflict'](!0x1);}}['_onConflict'](_0x4acf8b){var _0x4cdfa7=_0x259c74;return this[_0x4cdfa7(0x450)][_0x4cdfa7(0x45f)](ue,this[_0x4cdfa7(0x320)],this[_0x4cdfa7(0x403)],null,[],this[_0x4cdfa7(0x44b)],_0x4acf8b);}[_0x259c74(0x1f2)](){var _0x509a57=_0x259c74;throw new Error(_0x509a57(0x3f6));}[_0x259c74(0x460)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x259c74(0x324)](){return this;}[_0x259c74(0x440)](){var _0xd8aaaf=_0x259c74;return this[_0xd8aaaf(0x450)][_0xd8aaaf(0x45f)](de,this[_0xd8aaaf(0x320)],this[_0xd8aaaf(0x403)],null,[],this['_handler']);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1af)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x56ee91=_0x259c74;const _0x4fecdd=this[_0x56ee91(0x1b8)][_0x56ee91(0x423)](this[_0x56ee91(0x320)]);return this[_0x56ee91(0x44b)]['onMissingChangesets']({'from':_0x4fecdd,'to':0x0}),this[_0x56ee91(0x450)]['createInstance'](ee,this[_0x56ee91(0x320)],this[_0x56ee91(0x403)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x479712(_0x4deff2)),w(0x4,_0x479712(_0x27a1da)),w(0x5,_0x1bcad4),w(0x6,_0x50be79),w(0x7,_0x597a05),w(0x8,_0x363f26),w(0x9,_0xdd8f64(J))],be);let ae=class extends ge{constructor(_0x82faf5,_0x740597,_0x364dcf,_0x243a0b,_0x526182,_0x1db3d7,_0x1fb3a8,_0x21ead1,_0x5ccc05,_0x50330d,_0x3f9f86,_0x50c422,_0x29c068,_0x412e58){var _0x1ac19b=_0x259c74;super(_0x82faf5,_0x740597,null,_0x364dcf,_0x243a0b,_0x5ccc05,_0x29c068,_0x1db3d7,_0x412e58),D(this,_0x1ac19b(0x222),_0x1ac19b(0x247)),D(this,_0x1ac19b(0x17a),null),D(this,'_sendingTimer',null),(this[_0x1ac19b(0x450)]=_0x526182,this[_0x1ac19b(0x225)]=_0x1fb3a8,this['_logService']=_0x21ead1,this[_0x1ac19b(0x2ec)]=_0x50330d,this[_0x1ac19b(0x1d1)]=_0x3f9f86,this[_0x1ac19b(0x284)]=_0x50c422);}[_0x259c74(0x1f1)](_0x37c064){var _0x5359ec=_0x259c74;return this[_0x5359ec(0x1a7)][_0x5359ec(0x2c3)](_0x37c064),this[_0x5359ec(0x2ac)](),this;}[_0x259c74(0x34f)](_0x35ff81){var _0x2cebd8=_0x259c74;if(this['_checkMissing'](_0x35ff81))return this['_clearScheduledTask'](),this[_0x2cebd8(0x450)][_0x2cebd8(0x45f)](ee,this[_0x2cebd8(0x320)],this[_0x2cebd8(0x403)],null,this[_0x2cebd8(0x1a7)],null,[_0x35ff81],this[_0x2cebd8(0x44b)]);try{const _0x5aae3c=this[_0x2cebd8(0x1d1)][_0x2cebd8(0x195)](_0x35ff81,this[_0x2cebd8(0x1a7)]);if(_0x10db53(_0x5aae3c)){const {c1Prime:_0x15ca95,m2Prime:_0x566207}=_0x5aae3c;this[_0x2cebd8(0x236)](_0x15ca95);const _0x530496=this[_0x2cebd8(0x450)]['createInstance'](ae,this['unitID'],this['type'],_0x566207,this['_handler']);this[_0x2cebd8(0x1fe)]();const _0xfde61f=new Date()[_0x2cebd8(0x3ad)](),_0x43a681=this[_0x2cebd8(0x17a)]?Math[_0x2cebd8(0x31c)](this[_0x2cebd8(0x17a)]-_0xfde61f,0x0):this[_0x2cebd8(0x412)]();return _0x530496[_0x2cebd8(0x2f2)](_0x43a681),_0x530496;}throw _0x5aae3c['error'];}catch(_0x51f15b){return this[_0x2cebd8(0x29c)]['error'](_0x51f15b),this[_0x2cebd8(0x1bc)](!0x1);}}[_0x259c74(0x1f2)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x259c74(0x460)](){var _0x1df5a4=_0x259c74;throw new Error(_0x1df5a4(0x3e9));}[_0x259c74(0x324)](){return this;}['toggleOffline'](){var _0x1377c8=_0x259c74;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this['unitID'],this[_0x1377c8(0x403)],null,this['_pendingMutations'],this[_0x1377c8(0x44b)]);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x2f2)](_0x45f0a1){var _0x94912=_0x259c74;const _0x5cf846=_0x45f0a1!=null?_0x45f0a1:this[_0x94912(0x412)]();this['_scheduleCompleteTimestamp']=new Date()[_0x94912(0x3ad)]()+_0x5cf846,this[_0x94912(0x366)]=setTimeout(()=>{var _0x29fc55=_0x94912;this[_0x29fc55(0x1fe)]();let _0x3b3db6=null;switch(this[_0x29fc55(0x403)]){case Q['UNIVER_SHEET']:{_0x3b3db6=Gt(this[_0x29fc55(0x1a7)],this[_0x29fc55(0x320)],this[_0x29fc55(0x284)],this[_0x29fc55(0x1b8)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x29fc55(0x1e2)](_0x346f7b=>_0x346f7b['id']===_0x8784db['id'])?_0x3b3db6=ks(this[_0x29fc55(0x1a7)],this[_0x29fc55(0x320)],this[_0x29fc55(0x284)],this[_0x29fc55(0x1b8)],this[_0x29fc55(0x225)]):_0x3b3db6=Gt(this[_0x29fc55(0x1a7)],this[_0x29fc55(0x320)],this['_univerInstanceService'],this[_0x29fc55(0x1b8)],this[_0x29fc55(0x225)]);break;}default:throw new Error(_0x29fc55(0x272)+this[_0x29fc55(0x403)]+'\x20in\x20_schedule.');}const {changeset:_0x23461f,pendingMutations:_0x3e5602}=_0x3b3db6;this[_0x29fc55(0x44b)][_0x29fc55(0x3af)](_0x23461f);const _0x569dc4=_0x3e5602[_0x29fc55(0x418)]?this[_0x29fc55(0x450)][_0x29fc55(0x45f)](oe,this['unitID'],this['type'],_0x23461f,_0x3e5602,this[_0x29fc55(0x44b)],void 0x0):this['_injector']['createInstance'](le,this[_0x29fc55(0x320)],this[_0x29fc55(0x403)],_0x23461f,this['_handler']);_0x569dc4[_0x29fc55(0x2ac)](),this[_0x29fc55(0x44b)][_0x29fc55(0x2bf)](this,_0x569dc4);},_0x5cf846);}[_0x259c74(0x412)](){var _0x1617ae=_0x259c74,_0x236e1f;const _0x40482b=this[_0x1617ae(0x2ec)][_0x1617ae(0x23c)](K);return(_0x236e1f=_0x40482b==null?void 0x0:_0x40482b[_0x1617ae(0x26c)])!=null?_0x236e1f:ps;}[_0x259c74(0x1af)](){var _0x167127=_0x259c74;throw new Error(_0x167127(0x21d));}[_0x259c74(0x1fe)](){var _0x250046=_0x259c74;this[_0x250046(0x366)]!=null&&(clearTimeout(this[_0x250046(0x366)]),this[_0x250046(0x366)]=null);}[_0x259c74(0x1bc)](_0x14f0e2){var _0x30d0be=_0x259c74;return this[_0x30d0be(0x1fe)](),this[_0x30d0be(0x450)]['createInstance'](ue,this[_0x30d0be(0x320)],this['type'],null,this[_0x30d0be(0x1a7)],this[_0x30d0be(0x44b)],_0x14f0e2);}};ae=Se([w(0x4,_0x479712(_0x27a1da)),w(0x5,_0x479712(_0x4deff2)),w(0x6,_0x479712(Pe)),w(0x7,_0x597a05),w(0x8,_0x50be79),w(0x9,_0x5dd738),w(0xa,_0x363f26),w(0xb,_0x2979fe),w(0xc,_0x1bcad4),w(0xd,_0xdd8f64(J))],ae);let le=class extends ge{constructor(_0x8bb9c1,_0x311bae,_0x41d18f,_0x50dcd9,_0x52279e,_0x5a9430,_0x1d5a94,_0x599b6b,_0x5ec74f,_0x2f0262,_0x1cac74){var _0x3912f8=_0x259c74;super(_0x8bb9c1,_0x311bae,_0x41d18f,[],_0x50dcd9,_0x1d5a94,_0x2f0262,_0x5a9430,_0x1cac74),D(this,_0x3912f8(0x222),_0x3912f8(0x431)),D(this,_0x3912f8(0x205),0x0),D(this,_0x3912f8(0x29a)),D(this,_0x3912f8(0x1fb)),(this['_injector']=_0x52279e,this[_0x3912f8(0x29c)]=_0x599b6b,this[_0x3912f8(0x1d1)]=_0x5ec74f);}[_0x259c74(0x1f1)](_0x1aed40){var _0x1eecca=_0x259c74;this[_0x1eecca(0x1fe)]();const _0x372770=this['_injector']['createInstance'](oe,this[_0x1eecca(0x320)],this[_0x1eecca(0x403)],this[_0x1eecca(0x3a0)],[_0x1aed40],this[_0x1eecca(0x44b)],this['_resendTimer']);return _0x372770[_0x1eecca(0x2ac)](),_0x372770;}[_0x259c74(0x34f)](_0x10f617){var _0x3540e3=_0x259c74;if(this[_0x3540e3(0x3ec)](_0x10f617))return this[_0x3540e3(0x1fe)](),this[_0x3540e3(0x450)][_0x3540e3(0x45f)](ee,this[_0x3540e3(0x320)],this[_0x3540e3(0x403)],this[_0x3540e3(0x3a0)],[],null,[_0x10f617],this[_0x3540e3(0x44b)]);try{const _0x520a5a=this[_0x3540e3(0x1d1)][_0x3540e3(0x32d)]([_0x10f617],[this[_0x3540e3(0x3a0)]],!0x1);if(_0x128d8f(_0x520a5a)){const {c1Prime:_0x42fe89,c2Prime:_0x4e72b6}=_0x520a5a;this['_executeRemoteChangeset'](_0x42fe89[0x0]),_0x4e72b6[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x3540e3(0x1fe)]();const _0x3b45e7=this[_0x3540e3(0x450)][_0x3540e3(0x45f)](le,this[_0x3540e3(0x320)],this[_0x3540e3(0x403)],_0x4e72b6[0x0],this[_0x3540e3(0x44b)]);return _0x3b45e7[_0x3540e3(0x2ac)](),_0x3b45e7;}return this[_0x3540e3(0x1bc)](!0x1);}catch(_0x17c6f3){return this['_logService']['error'](_0x17c6f3),this['_onConflict'](!0x1);}}[_0x259c74(0x1f2)](_0x3fd3f5){var _0x52e7d3=_0x259c74;this[_0x52e7d3(0x1fe)]();const _0x15aa22=this[_0x52e7d3(0x1b8)][_0x52e7d3(0x423)](this['unitID']);if(_0x3fd3f5[_0x52e7d3(0x28e)]<_0x15aa22-0x1)return this;if(this[_0x52e7d3(0x3ec)](_0x3fd3f5))return this['_injector']['createInstance'](ee,this[_0x52e7d3(0x320)],this['type'],null,[],this[_0x52e7d3(0x3a0)],[],this[_0x52e7d3(0x44b)]);this['_incrementRevisionNumber']();const _0x33534e=this[_0x52e7d3(0x450)]['createInstance'](be,this[_0x52e7d3(0x320)],this[_0x52e7d3(0x403)],this['_handler']);return _0x33534e[_0x52e7d3(0x2ac)](),_0x33534e;}['onRemoteRej'](_0x516841){var _0x30da73=_0x259c74;return this[_0x30da73(0x1bc)](!!(_0x516841!=null&&_0x516841[_0x30da73(0x1b5)]));}[_0x259c74(0x324)](_0x3e3f11){var _0x2547e6=_0x259c74;return this[_0x2547e6(0x205)]>gi?this[_0x2547e6(0x440)]():(this[_0x2547e6(0x29a)]=Ii(this[_0x2547e6(0x205)],{'timeout':this['_resendTimeout'],'reqId':_0x3e3f11['reqId']}),this[_0x2547e6(0x1fb)]=this[_0x2547e6(0x29a)]['subscribe'](({reqId:_0x3845d1,timeout:_0xd12097})=>{var _0x2b4c13=_0x2547e6;this[_0x2b4c13(0x1f8)](_0x3845d1,_0xd12097);}),this);}[_0x259c74(0x440)](){var _0x1dbc33=_0x259c74;return this['_clearScheduledTask'](),this['_injector'][_0x1dbc33(0x45f)](de,this[_0x1dbc33(0x320)],this['type'],this[_0x1dbc33(0x3a0)],[],this['_handler']);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1af)](){var _0x4a67fb=_0x259c74;this['_handler']['onSendChangeset'](this[_0x4a67fb(0x3a0)]);}['_onConflict'](_0x320290){var _0x437ed2=_0x259c74;return this[_0x437ed2(0x1fe)](),this[_0x437ed2(0x450)][_0x437ed2(0x45f)](ue,this[_0x437ed2(0x320)],this[_0x437ed2(0x403)],this[_0x437ed2(0x3a0)],[],this[_0x437ed2(0x44b)],_0x320290);}[_0x259c74(0x1f8)](_0xe9f30e,_0x179a71){var _0x40e6bc=_0x259c74,_0x58310c;_0xe9f30e===((_0x58310c=this[_0x40e6bc(0x3a0)])==null?void 0x0:_0x58310c[_0x40e6bc(0x271)])&&(this['resend'](),this['_resendTimeout']=_0x179a71===0x0?0x3e8:_0x179a71*0x2);}[_0x259c74(0x1fe)](){var _0x1c69c7=_0x259c74,_0x48550e;(_0x48550e=this[_0x1c69c7(0x1fb)])==null||_0x48550e[_0x1c69c7(0x227)](),this['_resendTimeout']=0x0;}};le=Se([w(0x4,_0x479712(_0x27a1da)),w(0x5,_0x479712(_0x4deff2)),w(0x6,_0x50be79),w(0x7,_0x597a05),w(0x8,_0x363f26),w(0x9,_0x1bcad4),w(0xa,_0xdd8f64(J))],le);let oe=class extends ge{constructor(_0x1de1c5,_0x3d3c99,_0x1e1c87,_0xbe15d3,_0x174bfa,_0x38992d,_0x2d1089,_0x55ee74,_0x374ea6,_0x12073d,_0x2d22bc,_0x565453,_0x2d9a8f){var _0x31d505=_0x259c74;super(_0x1de1c5,_0x3d3c99,_0x1e1c87,_0xbe15d3,_0x174bfa,_0x374ea6,_0x565453,_0x55ee74,_0x2d9a8f),D(this,_0x31d505(0x222),_0x31d505(0x341)),D(this,'_resendTimeout',0x0),D(this,_0x31d505(0x29a)),D(this,_0x31d505(0x1fb)),(this[_0x31d505(0x450)]=_0x2d1089,this[_0x31d505(0x29c)]=_0x12073d,this[_0x31d505(0x1d1)]=_0x2d22bc,this['localCacheService']=_0x2d9a8f,_0x38992d&&(this[_0x31d505(0x29a)]=_0x38992d,this[_0x31d505(0x1fb)]=this[_0x31d505(0x29a)][_0x31d505(0x322)](({reqId:_0xa7ef19,timeout:_0x20a912})=>{var _0x271b2f=_0x31d505;this[_0x271b2f(0x1f8)](_0xa7ef19,_0x20a912);})));}[_0x259c74(0x1f1)](_0x4f4b76){var _0x3d6dcb=_0x259c74;return this['_pendingMutations'][_0x3d6dcb(0x2c3)](_0x4f4b76),this;}['onRemoteChangeset'](_0x34c1ef){var _0x499231=_0x259c74;if(this[_0x499231(0x3ec)](_0x34c1ef))return this[_0x499231(0x1fe)](),this[_0x499231(0x450)]['createInstance'](ee,this[_0x499231(0x320)],this['type'],this[_0x499231(0x3a0)],this[_0x499231(0x1a7)],null,[_0x34c1ef],this[_0x499231(0x44b)]);try{const _0x17bbc6=this[_0x499231(0x1d1)][_0x499231(0x32d)]([_0x34c1ef],[this[_0x499231(0x3a0)]],!0x1);if(_0x128d8f(_0x17bbc6)){const {c1Prime:_0xd5454c,c2Prime:_0xbbd724}=_0x17bbc6,_0x4037c2=this[_0x499231(0x1d1)][_0x499231(0x195)](_0xd5454c[0x0],this[_0x499231(0x1a7)]);if(_0x10db53(_0x4037c2)){const {c1Prime:_0x791c90,m2Prime:_0x44d629}=_0x4037c2;return this['_executeRemoteChangeset'](_0x791c90),_0xbbd724[0x0][_0x499231(0x23d)]=this['_getCurrentRevision'](),this[_0x499231(0x1fe)](),this[_0x499231(0x450)][_0x499231(0x45f)](oe,this[_0x499231(0x320)],this[_0x499231(0x403)],_0xbbd724[0x0],_0x44d629,this['_handler'],void 0x0);}throw _0x4037c2[_0x499231(0x331)];}throw _0x17bbc6[_0x499231(0x331)];}catch(_0x44cb11){return this[_0x499231(0x29c)]['error'](_0x44cb11),this['_onConflict'](!0x1);}}[_0x259c74(0x1f2)](_0x12fde4){var _0x44b849=_0x259c74;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x12fde4))return this[_0x44b849(0x450)]['createInstance'](ee,this['unitID'],this[_0x44b849(0x403)],null,this[_0x44b849(0x1a7)],this['_awaitingChangeset'],[],this[_0x44b849(0x44b)]);this['_incrementRevisionNumber']();const _0x570181=this[_0x44b849(0x450)][_0x44b849(0x45f)](ae,this[_0x44b849(0x320)],this[_0x44b849(0x403)],this[_0x44b849(0x1a7)],this[_0x44b849(0x44b)]);return _0x570181['_schedule'](),_0x570181['_updateLocalCache'](),_0x570181;}[_0x259c74(0x460)](_0x20ad39){var _0x1721b5=_0x259c74;return this[_0x1721b5(0x1bc)](!!(_0x20ad39!=null&&_0x20ad39['isPermissionRej']));}[_0x259c74(0x324)](_0x19278c){var _0x482968=_0x259c74;return this[_0x482968(0x205)]>gi?this[_0x482968(0x440)]():(this['_resendTimer']=Ii(this[_0x482968(0x205)],{'timeout':this[_0x482968(0x205)],'reqId':_0x19278c['reqId']}),this[_0x482968(0x1fb)]=this[_0x482968(0x29a)][_0x482968(0x322)](({reqId:_0x702d54,timeout:_0x322741})=>{var _0x2297c3=_0x482968;this[_0x2297c3(0x1f8)](_0x702d54,_0x322741);}),this);}[_0x259c74(0x440)](){var _0x181810=_0x259c74;return this[_0x181810(0x1fe)](),this[_0x181810(0x450)][_0x181810(0x45f)](de,this[_0x181810(0x320)],this[_0x181810(0x403)],this['_awaitingChangeset'],this[_0x181810(0x1a7)],this['_handler']);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1af)](){var _0x315692=_0x259c74;this['_handler'][_0x315692(0x3af)](this[_0x315692(0x3a0)]);}[_0x259c74(0x1bc)](_0xa6ec74){var _0x46c3c8=_0x259c74;return this[_0x46c3c8(0x1fe)](),this[_0x46c3c8(0x450)][_0x46c3c8(0x45f)](ue,this['unitID'],this['type'],null,this[_0x46c3c8(0x1a7)],this['_handler'],_0xa6ec74);}['_resendWithTimeout'](_0xea2c87,_0x2fa84a){var _0x3e5958=_0x259c74,_0xe525ec;_0xea2c87===((_0xe525ec=this[_0x3e5958(0x3a0)])==null?void 0x0:_0xe525ec['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x2fa84a===0x0?0x3e8:_0x2fa84a*0x2);}[_0x259c74(0x1fe)](){var _0x24f767=_0x259c74,_0x470723;(_0x470723=this[_0x24f767(0x1fb)])==null||_0x470723['unsubscribe'](),this[_0x24f767(0x205)]=0x0;}};oe=Se([w(0x6,_0x479712(_0x27a1da)),w(0x7,_0x479712(_0x4deff2)),w(0x8,_0x50be79),w(0x9,_0x597a05),w(0xa,_0x363f26),w(0xb,_0x1bcad4),w(0xc,_0xdd8f64(J))],oe);let ue=class extends ge{constructor(_0xa8c449,_0x54d121,_0x543d21,_0x3729ed,_0x4678de,_0x36540e=!0x1,_0x25304f,_0x375285,_0x21d0f5,_0x396321,_0x18d23d,_0x553b94,_0x1502a1){var _0x558100=_0x259c74;super(_0xa8c449,_0x54d121,_0x543d21,_0x3729ed,_0x4678de,_0x375285,_0x21d0f5,_0x396321,_0x1502a1),D(this,_0x558100(0x222),'conflict'),(this[_0x558100(0x267)]=_0x36540e,this[_0x558100(0x2b8)]=_0x25304f,this[_0x558100(0x287)]=_0x18d23d,this[_0x558100(0x3ca)]=_0x553b94,this[_0x558100(0x1d4)]=_0x1502a1,this['_showConflictNotification'](),this[_0x558100(0x3b4)](),this['_disableEditing']());}[_0x259c74(0x1f1)](){return this;}[_0x259c74(0x34f)](){return this;}[_0x259c74(0x1f2)](){return this;}[_0x259c74(0x460)](){return this;}[_0x259c74(0x324)](){return this;}[_0x259c74(0x440)](){return this;}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1af)](){var _0x1dfb1c=_0x259c74;throw new Error(_0x1dfb1c(0x3db));}['_clearLocalCache'](){var _0x250b49=_0x259c74,_0x56c8ae;(_0x56c8ae=this['_localCacheService'])==null||_0x56c8ae['updateOfflineData'](this[_0x250b49(0x320)],this[_0x250b49(0x403)],null,[]);}[_0x259c74(0x2c8)](){var _0x51a235=_0x259c74;this[_0x51a235(0x267)]?this[_0x51a235(0x3ca)][_0x51a235(0x29b)]({'id':re[_0x51a235(0x1ee)]}):this['_collaborationUIEventService'][_0x51a235(0x29b)]({'id':re[_0x51a235(0x2bc)]});}[_0x259c74(0x39b)](){var _0xbab933=_0x259c74;this[_0xbab933(0x2b8)]['updatePermissionPoint'](new _0x2a9243(this[_0xbab933(0x320)])['id'],!0x1);}};ue=Se([w(0x6,_0x479712(_0x25e5b9)),w(0x7,_0x50be79),w(0x8,_0x1bcad4),w(0x9,_0x479712(_0x4deff2)),w(0xa,_0x479712(_0x38932f)),w(0xb,_0x479712(ve)),w(0xc,_0xdd8f64(J))],ue);let de=class extends ge{constructor(_0x2505ee,_0x11b8da,_0x5ac99d,_0x57e575,_0x35fad2,_0x2412d1,_0x2738e7,_0x457c52,_0x2f2503,_0x451ee1){var _0x59242c=_0x259c74;super(_0x2505ee,_0x11b8da,_0x5ac99d,_0x57e575,_0x35fad2,_0x457c52,_0x2f2503,_0x2738e7,_0x451ee1),D(this,_0x59242c(0x222),_0x59242c(0x34c)),this[_0x59242c(0x450)]=_0x2412d1;}[_0x259c74(0x1f1)](_0x2f48f2){var _0x2ad573=_0x259c74;return this[_0x2ad573(0x1a7)][_0x2ad573(0x2c3)](_0x2f48f2),this['_updateLocalCache'](),this;}[_0x259c74(0x34f)](_0x56aaa1){var _0x5c4a8b=_0x259c74;throw new Error(_0x5c4a8b(0x3f7));}[_0x259c74(0x1f2)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x259c74(0x460)](){var _0x3fe456=_0x259c74;throw new Error(_0x3fe456(0x46a));}[_0x259c74(0x324)](){return this;}[_0x259c74(0x440)](){return this;}[_0x259c74(0x29d)](){var _0x16b4cf=_0x259c74;const {_injector:_0x138c1d,_pendingMutations:_0x1ae99e,_awaitingChangeset:_0x2bb029,unitID:_0x55dc05,_handler:_0xd3c020,type:_0x521f9c}=this,_0x15c5b8=Ti(_0x138c1d,_0x55dc05,_0x521f9c,_0x2bb029,_0x1ae99e,_0xd3c020);return _0x15c5b8 instanceof ae?_0x15c5b8[_0x16b4cf(0x2f2)]():(_0x15c5b8 instanceof oe||_0x15c5b8 instanceof le)&&_0x15c5b8['resend'](),_0x15c5b8;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x479712(_0x27a1da)),w(0x6,_0x479712(_0x4deff2)),w(0x7,_0x50be79),w(0x8,_0x1bcad4),w(0x9,_0xdd8f64(J))],de);let ee=class extends ge{constructor(_0x40bc1b,_0x17c47a,_0x4a4730,_0xef759c,_0x183a78,_0x204858,_0xd3f90e,_0x5d279b,_0x2b5c9c,_0x4ac316,_0x315e82,_0x4e93a9,_0xa6786c,_0x60b2cc){var _0x540c32=_0x259c74;super(_0x40bc1b,_0x17c47a,_0x4a4730,_0xef759c,_0xd3f90e,_0x315e82,_0x4e93a9,_0x2b5c9c,_0x60b2cc),D(this,_0x540c32(0x222),_0x540c32(0x1fd)),(this['_acknowledgedAwaitingChangeset']=_0x183a78,this['_queuedRemoteChangesets']=_0x204858,this['_injector']=_0x5d279b,this[_0x540c32(0x29c)]=_0x4ac316,this['_transformService']=_0xa6786c,this['localCacheService']=_0x60b2cc);}[_0x259c74(0x256)](_0x37c787){var _0x29b3ce=_0x259c74;try{const _0x4efdc6=[..._0x37c787,...this[_0x29b3ce(0x347)]],_0x286fd1=[this[_0x29b3ce(0x3a0)]||this[_0x29b3ce(0x3fb)]][_0x29b3ce(0x1ca)](_0x161bf8=>!!_0x161bf8);let _0x58cc66,_0x5fddb5;if(_0x286fd1[_0x29b3ce(0x418)]){const _0x2c8035=this[_0x29b3ce(0x1d1)]['transformChangesets'](_0x4efdc6,_0x286fd1,!0x1);if(!_0x128d8f(_0x2c8035))throw _0x2c8035['error'];_0x58cc66=_0x2c8035[_0x29b3ce(0x20d)],_0x5fddb5=_0x2c8035[_0x29b3ce(0x16d)];}else _0x58cc66=_0x4efdc6,_0x5fddb5=[];let _0x22b314=this[_0x29b3ce(0x1a7)];_0x58cc66[_0x29b3ce(0x381)](_0xcadec9=>{var _0xb0cb0a=_0x29b3ce;let _0x36993b;if(_0x22b314[_0xb0cb0a(0x418)]){const _0x4b879b=this[_0xb0cb0a(0x1d1)][_0xb0cb0a(0x195)](_0xcadec9,_0x22b314);if(!_0x10db53(_0x4b879b))throw _0x4b879b[_0xb0cb0a(0x331)];_0x36993b=_0x4b879b[_0xb0cb0a(0x20d)],_0x22b314=_0x4b879b['m2Prime'];}else _0x36993b=_0xcadec9;this[_0xb0cb0a(0x236)](_0x36993b);}),this[_0x29b3ce(0x3fb)]&&this[_0x29b3ce(0x2b0)](),this[_0x29b3ce(0x3a0)]&&_0x5fddb5[_0x29b3ce(0x418)]&&(_0x5fddb5[0x0][_0x29b3ce(0x23d)]=this[_0x29b3ce(0x1ad)]());let _0x13ef55;if(this[_0x29b3ce(0x3a0)]&&_0x22b314[_0x29b3ce(0x418)]!==0x0)_0x13ef55=this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](oe,this[_0x29b3ce(0x320)],this[_0x29b3ce(0x403)],_0x5fddb5[0x0],_0x22b314,this[_0x29b3ce(0x44b)],void 0x0);else{if(this[_0x29b3ce(0x3a0)]&&_0x22b314['length']===0x0)_0x5fddb5[0x0][_0x29b3ce(0x23d)]=this['_getCurrentRevision'](),_0x13ef55=this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](le,this[_0x29b3ce(0x320)],this['type'],_0x5fddb5[0x0],this[_0x29b3ce(0x44b)]);else{if(_0x22b314[_0x29b3ce(0x418)]!==0x0){const _0x31fb06=this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](ae,this['unitID'],this[_0x29b3ce(0x403)],_0x22b314,this[_0x29b3ce(0x44b)]);_0x31fb06[_0x29b3ce(0x2f2)](),_0x13ef55=_0x31fb06;}else _0x13ef55=this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](be,this['unitID'],this[_0x29b3ce(0x403)],this[_0x29b3ce(0x44b)]);}}return _0x13ef55['_updateLocalCache'](),_0x13ef55;}catch(_0x152d94){return this[_0x29b3ce(0x29c)][_0x29b3ce(0x331)](_0x29b3ce(0x397),_0x29b3ce(0x349),_0x152d94),this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](ue,this[_0x29b3ce(0x320)],this['type'],this[_0x29b3ce(0x3a0)],this[_0x29b3ce(0x1a7)],this[_0x29b3ce(0x44b)],!0x1);}}[_0x259c74(0x1af)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x259c74(0x1f1)](_0x682518){return this['_pendingMutations']['push'](_0x682518),this;}[_0x259c74(0x34f)](_0x3cd706){var _0x49b87e=_0x259c74;return this[_0x49b87e(0x347)][_0x49b87e(0x2c3)](_0x3cd706),this;}['onRemoteAck'](_0x541408){var _0x38bb45=_0x259c74;if(this[_0x38bb45(0x3a0)])return this[_0x38bb45(0x3fb)]=this[_0x38bb45(0x3a0)],this[_0x38bb45(0x3a0)]=null,this;throw new Error(_0x38bb45(0x38f));}[_0x259c74(0x460)](_0x28be8e){var _0x3966cf=_0x259c74;return this['_onConflict'](!!(_0x28be8e!=null&&_0x28be8e[_0x3966cf(0x1b5)]));}[_0x259c74(0x324)](){return this;}[_0x259c74(0x440)](){var _0x27587b=_0x259c74;return this[_0x27587b(0x450)][_0x27587b(0x45f)](de,this[_0x27587b(0x320)],this['type'],this[_0x27587b(0x3a0)],this[_0x27587b(0x1a7)],this['_handler']);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1bc)](_0x2bb4cd){var _0xba1b40=_0x259c74;return this[_0xba1b40(0x450)][_0xba1b40(0x45f)](ue,this['unitID'],this[_0xba1b40(0x403)],this['_awaitingChangeset'],this[_0xba1b40(0x1a7)],this[_0xba1b40(0x44b)],_0x2bb4cd);}};ee=Se([w(0x7,_0x479712(_0x27a1da)),w(0x8,_0x479712(_0x4deff2)),w(0x9,_0x597a05),w(0xa,_0x50be79),w(0xb,_0x1bcad4),w(0xc,_0x363f26),w(0xd,_0xdd8f64(J))],ee);function Ti(_0x74aa62,_0xbc1f1b,_0x5713cf,_0xf5661d,_0xecb0bc,_0x54b1b9){var _0x52990f=_0x259c74;return _0xf5661d&&_0xecb0bc[_0x52990f(0x418)]?_0x74aa62[_0x52990f(0x45f)](oe,_0xbc1f1b,_0x5713cf,_0xf5661d,_0xecb0bc,_0x54b1b9,void 0x0):_0xf5661d?_0x74aa62[_0x52990f(0x45f)](le,_0xbc1f1b,_0x5713cf,_0xf5661d,_0x54b1b9):_0xecb0bc[_0x52990f(0x418)]?_0x74aa62[_0x52990f(0x45f)](ae,_0xbc1f1b,_0x5713cf,_0xecb0bc,_0x54b1b9):_0x74aa62[_0x52990f(0x45f)](be,_0xbc1f1b,_0x5713cf,_0x54b1b9);}var Bs=Object['getOwnPropertyDescriptor'],Pt=(_0x431a39,_0x3b70ee,_0xa9d6e0,_0x2e7371)=>{var _0x35323c=_0x259c74;for(var _0x40f2e3=_0x2e7371>0x1?void 0x0:_0x2e7371?Bs(_0x3b70ee,_0xa9d6e0):_0x3b70ee,_0x20affe=_0x431a39[_0x35323c(0x418)]-0x1,_0x1ded7d;_0x20affe>=0x0;_0x20affe--)(_0x1ded7d=_0x431a39[_0x20affe])&&(_0x40f2e3=_0x1ded7d(_0x40f2e3)||_0x40f2e3);return _0x40f2e3;},$=(_0x5824a8,_0x3ca2f7)=>(_0x479f37,_0x42d526)=>_0x3ca2f7(_0x479f37,_0x42d526,_0x5824a8);let st=class extends _0x271f03{constructor(_0x547896,_0x57dd52,_0x28b47f,_0x524278,_0x123518,_0x2c193f,_0x129f3d,_0x555764,_0x5c7f90,_0x504915,_0x4f1d35,_0x5c86a8,_0x5008a2,_0x588b5d){var _0x45ace0=_0x259c74;super(),D(this,'_state$',new _0x5ac99c(null)),D(this,'state$',this[_0x45ace0(0x459)][_0x45ace0(0x37d)]()),D(this,_0x45ace0(0x19e)),D(this,_0x45ace0(0x364),!0x1),D(this,'_changesetSessionId',''),D(this,_0x45ace0(0x248),0x0),D(this,_0x45ace0(0x285),this[_0x45ace0(0x24c)][_0x45ace0(0x28f)](_0x42ebd1(_0x4892ce=>_0x4892ce?_0x4892ce['status']:Si[_0x45ace0(0x1a5)]),_0x381afc(0x1))),D(this,'_transitionLocked',!0x1),D(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x547896,this[_0x45ace0(0x433)]=_0x57dd52,this[_0x45ace0(0x24b)]=_0x28b47f,this[_0x45ace0(0x450)]=_0x524278,this['_compressMutationService']=_0x123518,this[_0x45ace0(0x287)]=_0x2c193f,this[_0x45ace0(0x1b8)]=_0x129f3d,this['_eventService']=_0x555764,this[_0x45ace0(0x284)]=_0x5c7f90,this[_0x45ace0(0x29c)]=_0x504915,this['_commandService']=_0x4f1d35,this[_0x45ace0(0x2b8)]=_0x5c86a8,this[_0x45ace0(0x425)]=_0x5008a2,this[_0x45ace0(0x2fa)]=_0x588b5d);}get[_0x259c74(0x445)](){var _0x54a3de=_0x259c74;return this[_0x54a3de(0x19e)];}async[_0x259c74(0x258)](){var _0x58ac12=_0x259c74;if(this[_0x58ac12(0x445)])throw new Error(_0x58ac12(0x32f));await this[_0x58ac12(0x399)]();}[_0x259c74(0x396)](){var _0x20f92a=_0x259c74;return this[_0x20f92a(0x364)]=!0x0,_0x52a6fa(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x259c74(0x3de)](_0x59abe1){var _0x628898=_0x259c74;this[_0x628898(0x295)](_0x59abe1);}[_0x259c74(0x422)](_0x1e5fc2){var _0x7a193=_0x259c74;this['_state']=_0x1e5fc2,this[_0x7a193(0x459)][_0x7a193(0x210)](_0x1e5fc2);}async[_0x259c74(0x399)](){var _0x1928e5=_0x259c74,_0x30d74e;this['_updateState'](await this[_0x1928e5(0x388)]()),this[_0x1928e5(0x425)]&&((_0x30d74e=this[_0x1928e5(0x425)])==null||_0x30d74e[_0x1928e5(0x31b)](this[_0x1928e5(0x320)]),this[_0x1928e5(0x369)](this[_0x1928e5(0x425)][_0x1928e5(0x39c)](this[_0x1928e5(0x320)])[_0x1928e5(0x322)](_0x57d53a=>{var _0x5c3e38=_0x1928e5;this['_logService'][_0x5c3e38(0x448)](_0x5c3e38(0x420),_0x5c3e38(0x255),_0x57d53a),_0x57d53a===mi[_0x5c3e38(0x23a)]?(this['_eventService']['emitEvent']({'id':re[_0x5c3e38(0x2b5)]}),this[_0x5c3e38(0x2b8)]['updatePermissionPoint'](new _0x2a9243(this[_0x5c3e38(0x320)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x5c3e38(0x2b8)][_0x5c3e38(0x1c1)](new _0x2a9243(this['unitID'])['id'],!0x0),this[_0x5c3e38(0x2b8)][_0x5c3e38(0x22c)](!0x0));})));let _0x381838=!0x1;return this['disposeWithMe'](this[_0x1928e5(0x433)]['sessionStatus$'][_0x1928e5(0x322)](_0x4209ab=>{var _0x1e8f93=_0x1928e5;_0x4209ab===me[_0x1e8f93(0x3ee)]?this['_toggleOnline'](_0x381838):_0x4209ab===me[_0x1e8f93(0x1a5)]&&(_0x381838=!0x0,this[_0x1e8f93(0x1ce)]());})),this[_0x1928e5(0x369)](this[_0x1928e5(0x433)][_0x1928e5(0x219)][_0x1928e5(0x322)](_0x3e4fe6=>{var _0x56aa48=_0x1928e5;try{switch(_0x3e4fe6[_0x56aa48(0x168)]){case _0x6aadf0[_0x56aa48(0x442)]:{this[_0x56aa48(0x2c4)](_0x16a6be(_0x3e4fe6[_0x56aa48(0x3e2)]));break;}case _0x6aadf0[_0x56aa48(0x31e)]:{this['_onRemoteACK'](_0x3e4fe6[_0x56aa48(0x3e2)]);break;}case _0x6aadf0[_0x56aa48(0x419)]:{this[_0x56aa48(0x429)]();break;}case _0x6aadf0[_0x56aa48(0x44e)]:{this[_0x56aa48(0x3e6)](_0x3e4fe6[_0x56aa48(0x3e2)]);break;}case _0x6aadf0[_0x56aa48(0x2ab)]:{this[_0x56aa48(0x17e)](_0x3e4fe6[_0x56aa48(0x3e2)][_0x56aa48(0x30c)][_0x56aa48(0x1ae)](_0x3c54f7=>_0x16a6be(_0x3c54f7)));break;}case _0x6aadf0[_0x56aa48(0x45a)]:{this[_0x56aa48(0x429)]({'isPermissionRej':!0x0});break;}case _0x6aadf0[_0x56aa48(0x361)]:break;}}catch(_0x30b2cb){throw console[_0x56aa48(0x331)](_0x56aa48(0x39d),_0x30b2cb),_0x30b2cb;}})),this[_0x1928e5(0x19e)];}[_0x259c74(0x36c)](){var _0x5c02aa=_0x259c74;this[_0x5c02aa(0x367)]=!0x1;}[_0x259c74(0x2ef)](){var _0x5fcdab=_0x259c74;if(this[_0x5fcdab(0x367)])throw new Error(_0x5fcdab(0x24a));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x556bc0){var _0x243bc3=_0x259c74;this[_0x243bc3(0x2ef)](),this[_0x243bc3(0x422)](this[_0x243bc3(0x19e)][_0x243bc3(0x1f1)](_0x556bc0)),this[_0x243bc3(0x36c)]();}[_0x259c74(0x2c4)](_0x31a02f){var _0x102ea1=_0x259c74;if(!(_0x31a02f[_0x102ea1(0x28e)]<=this['_revisionService'][_0x102ea1(0x423)](this[_0x102ea1(0x320)]))){if(this['_collaborationPaused']){this[_0x102ea1(0x46f)][_0x102ea1(0x2c3)](_0x31a02f);return;}this['_applyRemoteChangeset'](_0x31a02f);}}[_0x259c74(0x3d8)](){var _0x109ab3=_0x259c74;this[_0x109ab3(0x46f)][_0x109ab3(0x381)](_0x46c5aa=>this[_0x109ab3(0x214)](_0x46c5aa)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x59f261){var _0xa997ce=_0x259c74;const _0x18b96b=this['_compressMutationService'][_0xa997ce(0x26e)][_0xa997ce(0x286)](this['_compressMutationService']['interceptor'][_0xa997ce(0x1e0)]()[_0xa997ce(0x3be)])(_0x59f261[_0xa997ce(0x3cc)],null)||_0x59f261['mutations'],_0x246817={..._0x59f261,'mutations':_0x18b96b};this[_0xa997ce(0x2ef)](),this[_0xa997ce(0x422)](this[_0xa997ce(0x19e)][_0xa997ce(0x34f)](_0x246817)),this[_0xa997ce(0x36c)]();}['_onRemoteACK'](_0x579e0f){var _0x255a21=_0x259c74;this[_0x255a21(0x2ef)](),this[_0x255a21(0x422)](this[_0x255a21(0x19e)][_0x255a21(0x1f2)](_0x579e0f)),this[_0x255a21(0x36c)]();}['_onRemoteRejected'](_0x581189){var _0x3f8079=_0x259c74;this['_lockTransition'](),this[_0x3f8079(0x422)](this[_0x3f8079(0x19e)]['onRemoteRej'](_0x581189)),this[_0x3f8079(0x36c)]();}[_0x259c74(0x3e6)](_0x1d070b){var _0x2b036e=_0x259c74;this[_0x2b036e(0x2ef)](),this[_0x2b036e(0x422)](this[_0x2b036e(0x19e)]['onRemoteRetry'](_0x1d070b)),this['_unlockTransition']();}[_0x259c74(0x17e)](_0x224bdb){var _0x4f8fbd=_0x259c74;if(!(this['_state']instanceof ee))throw new TypeError(_0x4f8fbd(0x2ed));const _0x2db74d=_0x224bdb[_0x4f8fbd(0x1ae)](_0x5dd6cf=>{var _0x3f73a9=_0x4f8fbd;const _0x3d41e6=this[_0x3f73a9(0x229)][_0x3f73a9(0x26e)]['fetchThroughInterceptors'](this[_0x3f73a9(0x229)][_0x3f73a9(0x26e)][_0x3f73a9(0x1e0)]()[_0x3f73a9(0x3be)])(_0x5dd6cf[_0x3f73a9(0x3cc)],null)||_0x5dd6cf['mutations'];return{..._0x5dd6cf,'mutations':_0x3d41e6};});this[_0x4f8fbd(0x2ef)](),this[_0x4f8fbd(0x422)](this['_state'][_0x4f8fbd(0x256)](_0x2db74d)),this['_unlockTransition']();}['_toggleOffline'](){var _0x1a1298=_0x259c74;this['_lockTransition'](),this['_updateState'](this[_0x1a1298(0x19e)]['toggleOffline']()),this['_unlockTransition']();}[_0x259c74(0x471)](_0x605f5d=!0x1){var _0x4d6e24=_0x259c74;this[_0x4d6e24(0x2ef)](),this[_0x4d6e24(0x422)](this[_0x4d6e24(0x19e)]['toggleOnline']()),this[_0x4d6e24(0x36c)]();const _0xc24ac0=this[_0x4d6e24(0x19e)];_0x605f5d&&_0xc24ac0 instanceof be&&(this[_0x4d6e24(0x2ef)](),this[_0x4d6e24(0x422)](_0xc24ac0[_0x4d6e24(0x209)]()),this[_0x4d6e24(0x36c)]());}async[_0x259c74(0x388)](){return new Promise(_0x12fdff=>{var _0x30add3=_0x28c4;this[_0x30add3(0x433)][_0x30add3(0x25d)]['pipe'](_0x4aae1e(0x1))[_0x30add3(0x322)](async _0x363db1=>{var _0x3875df=_0x30add3;_0x12fdff(await this[_0x3875df(0x279)](_0x363db1===me[_0x3875df(0x3ee)]));});});}['_createHandler'](){var _0x5af190=_0x259c74;const _0x33425e=this[_0x5af190(0x320)];return{'onStateChange':(_0x5b4a23,_0x219373)=>{var _0x1c6998=_0x5af190;if(_0x5b4a23!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5b4a23['status']+_0x1c6998(0x384)+_0x219373['status']+_0x1c6998(0x26a)+this[_0x1c6998(0x19e)][_0x1c6998(0x222)]);this['_updateState'](_0x219373);},'onSendChangeset':_0x35b480=>{var _0x1bcbbd=_0x5af190;_0x35b480['sid']||(_0x35b480[_0x1bcbbd(0x176)]=this[_0x1bcbbd(0x2e0)],_0x35b480[_0x1bcbbd(0x271)]=++this[_0x1bcbbd(0x248)]);const _0x5a8d6a={'eventID':_0x6aadf0[_0x1bcbbd(0x329)],'data':{'unitID':_0x35b480[_0x1bcbbd(0x320)],'unitType':this[_0x1bcbbd(0x24b)],'changeset':_0x35b480,'memberID':this['session'][_0x1bcbbd(0x3a4)]()}};this[_0x1bcbbd(0x433)][_0x1bcbbd(0x240)](_0x5a8d6a,this[_0x1bcbbd(0x320)]);},'onMissingChangesets':({from:_0x25100a,to:_0x48a6c2})=>{var _0x280fe4=_0x5af190;this['_logService'][_0x280fe4(0x448)]('[CollaborationEntity]',_0x280fe4(0x443)+_0x25100a+'\x20to\x20'+_0x48a6c2);const _0x5a5a65={'eventID':_0x6aadf0['FETCH_MISSING'],'data':{'unitID':_0x33425e,'unitType':this['_type'],'from':_0x25100a,'to':_0x48a6c2}};this['session'][_0x280fe4(0x240)](_0x5a5a65,this[_0x280fe4(0x320)]);}};}async['_createInitialStateImpl'](_0x275145){var _0x1c8297=_0x259c74,_0x15fd2e,_0x2625f0,_0x5e2fb9;const _0x190196=await((_0x15fd2e=this[_0x1c8297(0x2fa)])==null?void 0x0:_0x15fd2e[_0x1c8297(0x24d)](this[_0x1c8297(0x320)])),_0x14e671=(_0x2625f0=_0x190196==null?void 0x0:_0x190196['mutations'])!=null?_0x2625f0:[],_0x1aeeaa=(_0x5e2fb9=_0x190196==null?void 0x0:_0x190196[_0x1c8297(0x17b)])!=null?_0x5e2fb9:null,_0x1f0b26=!!(_0x1aeeaa!=null&&_0x1aeeaa[_0x1c8297(0x176)])&&!!(_0x1aeeaa!=null&&_0x1aeeaa[_0x1c8297(0x271)]);this['_changesetSessionId']=_0x1f0b26?_0x1aeeaa[_0x1c8297(0x176)]:_0x50f63f(),this['_changesetReqId']=_0x1f0b26?_0x1aeeaa[_0x1c8297(0x271)]:0x0;const _0x1e4de6=this[_0x1c8297(0x320)];try{this[_0x1c8297(0x211)](_0x1aeeaa,_0x14e671);}catch(_0x5cc432){this['_logService'][_0x1c8297(0x331)](_0x5cc432);}const _0x2d5f91=this[_0x1c8297(0x3c0)]();if(_0x275145){const _0x556ab2=Ti(this[_0x1c8297(0x450)],_0x1e4de6,this[_0x1c8297(0x24b)],_0x1aeeaa,_0x14e671,_0x2d5f91);return _0x556ab2 instanceof ae?_0x556ab2[_0x1c8297(0x2f2)]():(_0x556ab2 instanceof oe||_0x556ab2 instanceof le)&&_0x556ab2[_0x1c8297(0x1af)](),_0x556ab2;}return this['_injector'][_0x1c8297(0x45f)](de,_0x1e4de6,this[_0x1c8297(0x24b)],_0x1aeeaa,_0x14e671,_0x2d5f91);}[_0x259c74(0x211)](_0x513f4a,_0x5b3b47){var _0x415689=_0x259c74,_0x1c3614,_0x6d110d;const _0x1fb789=this[_0x415689(0x229)][_0x415689(0x26e)][_0x415689(0x286)](this['_compressMutationService'][_0x415689(0x26e)][_0x415689(0x1e0)]()[_0x415689(0x3be)]);(_0x1c3614=_0x1fb789((_0x513f4a==null?void 0x0:_0x513f4a[_0x415689(0x3cc)])||[],null))==null||_0x1c3614[_0x415689(0x381)](_0x3b2d09=>this[_0x415689(0x40f)][_0x415689(0x407)](_0x3b2d09['id'],_0x3b2d09[_0x415689(0x473)])),(_0x6d110d=_0x1fb789(_0x5b3b47||[],null))==null||_0x6d110d[_0x415689(0x381)](_0x5e67d1=>this[_0x415689(0x40f)][_0x415689(0x407)](_0x5e67d1['id'],_0x5e67d1['params']));}};st=Pt([$(0x3,_0x479712(_0x27a1da)),$(0x4,_0x479712(_0x1ec69a)),$(0x5,_0x479712(_0x38932f)),$(0x6,_0x479712(_0x4deff2)),$(0x7,_0x479712(ve)),$(0x8,_0x2979fe),$(0x9,_0x597a05),$(0xa,_0x50be79),$(0xb,_0x25e5b9),$(0xc,_0xdd8f64(_t)),$(0xd,_0xdd8f64(J))],st);let It=class extends st{constructor(_0x56711d,_0x342537,_0x336649,_0x5ad0d4,_0x4979ec,_0x51c060,_0x1ac915,_0x31f245,_0x52e866,_0x565e68,_0xa438c0,_0x473bb3,_0x853769,_0x205fb9){var _0x3abc25=_0x259c74;super(_0x56711d,_0x336649,_0x342537,_0x5ad0d4,_0x4979ec,_0x51c060,_0x1ac915,_0x31f245,_0x52e866,_0x565e68,_0xa438c0,_0x473bb3,_0x853769,_0x205fb9),D(this,_0x3abc25(0x1e1),null),(this[_0x3abc25(0x320)]=_0x56711d,this[_0x3abc25(0x403)]=_0x342537);}[_0x259c74(0x178)](_0x5195c9){this['_handlerCallback']=_0x5195c9;}[_0x259c74(0x34b)](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x37efc6=_0x259c74;const _0x4b46d=super[_0x37efc6(0x3c0)]();return _0x4b46d[_0x37efc6(0x3e3)]=_0x3a8c19=>{var _0x30048e=_0x37efc6,_0x24d7cc,_0x4ba243;return(_0x4ba243=(_0x24d7cc=this['_handlerCallback'])==null?void 0x0:_0x24d7cc[_0x30048e(0x3e3)])==null?void 0x0:_0x4ba243[_0x30048e(0x206)](_0x24d7cc,_0x3a8c19);},_0x4b46d[_0x37efc6(0x41b)]=_0x3e6375=>{var _0x27c746=_0x37efc6,_0x5cad3e,_0x5065dc;return(_0x5065dc=(_0x5cad3e=this[_0x27c746(0x1e1)])==null?void 0x0:_0x5cad3e[_0x27c746(0x41b)])==null?void 0x0:_0x5065dc[_0x27c746(0x206)](_0x5cad3e,_0x3e6375);},_0x4b46d[_0x37efc6(0x3d2)]=_0x49bc6e=>{var _0xb6fe3=_0x37efc6,_0x385f31,_0x154db7;return(_0x154db7=(_0x385f31=this[_0xb6fe3(0x1e1)])==null?void 0x0:_0x385f31[_0xb6fe3(0x3d2)])==null?void 0x0:_0x154db7[_0xb6fe3(0x206)](_0x385f31,_0x49bc6e);},_0x4b46d[_0x37efc6(0x34d)]=_0x180f3e=>{var _0x56f6f7=_0x37efc6,_0x1ca5f2,_0x2ce996;return(_0x2ce996=(_0x1ca5f2=this[_0x56f6f7(0x1e1)])==null?void 0x0:_0x1ca5f2[_0x56f6f7(0x34d)])==null?void 0x0:_0x2ce996[_0x56f6f7(0x206)](_0x1ca5f2,_0x180f3e);},_0x4b46d[_0x37efc6(0x3dd)]=_0x296a99=>{var _0x356499=_0x37efc6,_0x4d0ffc,_0x5b8281,_0xfa1dbe;if(!((_0x4d0ffc=this[_0x356499(0x1e1)])!=null&&_0x4d0ffc[_0x356499(0x3dd)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xfa1dbe=(_0x5b8281=this[_0x356499(0x1e1)])==null?void 0x0:_0x5b8281['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xfa1dbe[_0x356499(0x206)](_0x5b8281,_0x296a99);},_0x4b46d[_0x37efc6(0x313)]=_0x2aff3b=>{var _0x4ef524=_0x37efc6,_0x28b17b,_0x375dd3,_0x3bea01;if(!((_0x28b17b=this[_0x4ef524(0x1e1)])!=null&&_0x28b17b['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4ef524(0x21f));return(_0x3bea01=(_0x375dd3=this[_0x4ef524(0x1e1)])==null?void 0x0:_0x375dd3[_0x4ef524(0x313)])==null?void 0x0:_0x3bea01[_0x4ef524(0x206)](_0x375dd3,_0x2aff3b);},_0x4b46d;}async[_0x259c74(0x399)](){var _0x22499a=_0x259c74;const _0x746f75=await super[_0x22499a(0x399)]();return this[_0x22499a(0x369)](this[_0x22499a(0x40f)][_0x22499a(0x3d1)]((_0x4d517f,_0x9de681)=>{var _0x3b92d5=_0x22499a;if(_0x4d517f[_0x3b92d5(0x403)]!==_0xf41ef6[_0x3b92d5(0x314)]||_0x9de681!=null&&_0x9de681[_0x3b92d5(0x357)]||_0x9de681!=null&&_0x9de681['onlyLocal']||_0x4d517f['id']===_0x8784db['id'])return;const _0xc4ac39=_0x4d517f['params'];if((_0xc4ac39==null?void 0x0:_0xc4ac39[_0x3b92d5(0x305)])!==this[_0x3b92d5(0x320)])return;const _0x413c7c=_0x4d517f,_0x49eadb=this[_0x3b92d5(0x229)][_0x3b92d5(0x26e)][_0x3b92d5(0x286)](this[_0x3b92d5(0x229)][_0x3b92d5(0x26e)][_0x3b92d5(0x1e0)]()[_0x3b92d5(0x409)])([_0x413c7c],this[_0x3b92d5(0x284)])||[_0x413c7c];this[_0x3b92d5(0x295)](_0x49eadb[0x0]);})),_0x746f75;}};It=Pt([$(0x3,_0x479712(_0x27a1da)),$(0x4,_0x479712(_0x1ec69a)),$(0x5,_0x479712(_0x38932f)),$(0x6,_0x479712(_0x4deff2)),$(0x7,_0x479712(ve)),$(0x8,_0x2979fe),$(0x9,_0x597a05),$(0xa,_0x50be79),$(0xb,_0x25e5b9),$(0xc,_0xdd8f64(_t)),$(0xd,_0xdd8f64(J))],It);let St=class extends st{constructor(_0x416d6f,_0x1a8090,_0x4a5cd0,_0x1125b2,_0x53e1ba,_0x41ee32,_0xcb156f,_0x3b946a,_0x1d529f,_0x1b3a67,_0x437a13,_0x14882c,_0x51767c,_0x6f8251,_0x28d80f){var _0x448b58=_0x259c74;super(_0x416d6f,_0x4a5cd0,_0x1a8090,_0x1125b2,_0x53e1ba,_0x41ee32,_0xcb156f,_0x1d529f,_0x1b3a67,_0x437a13,_0x14882c,_0x51767c,_0x6f8251,_0x28d80f),this[_0x448b58(0x320)]=_0x416d6f,this[_0x448b58(0x403)]=_0x1a8090,this[_0x448b58(0x16c)]=_0x3b946a;}[_0x259c74(0x3c0)](){var _0x137bc0=_0x259c74;const _0x1d5968=super[_0x137bc0(0x3c0)]();return _0x1d5968[_0x137bc0(0x3d2)]=_0x3a7c75=>this['_sheetTransformSelectionsService'][_0x137bc0(0x18b)](_0x3a7c75),_0x1d5968;}async[_0x259c74(0x399)](){var _0x3d304c=_0x259c74;const _0x1177ca=await super[_0x3d304c(0x399)]();return this[_0x3d304c(0x369)](this[_0x3d304c(0x40f)][_0x3d304c(0x3d1)]((_0x3ab471,_0x1a9601)=>{var _0x99e797=_0x3d304c;if(_0x3ab471[_0x99e797(0x403)]!==_0xf41ef6['MUTATION']||_0x1a9601!=null&&_0x1a9601['fromCollab']||_0x1a9601!=null&&_0x1a9601[_0x99e797(0x201)])return;const _0x26c5ea=_0x3ab471[_0x99e797(0x473)];if((_0x26c5ea==null?void 0x0:_0x26c5ea[_0x99e797(0x305)])!==this[_0x99e797(0x320)])return;const _0x2e43b7=_0x3ab471,_0x3acb59=this[_0x99e797(0x229)][_0x99e797(0x26e)][_0x99e797(0x286)](this['_compressMutationService'][_0x99e797(0x26e)][_0x99e797(0x1e0)]()[_0x99e797(0x409)])([_0x2e43b7],this[_0x99e797(0x284)])||[_0x2e43b7];this[_0x99e797(0x295)](_0x3acb59[0x0]);})),_0x1177ca;}};St=Pt([$(0x3,_0x479712(_0x27a1da)),$(0x4,_0x479712(_0x1ec69a)),$(0x5,_0x479712(_0x38932f)),$(0x6,_0x479712(_0x4deff2)),$(0x7,_0x479712(it)),$(0x8,_0x479712(ve)),$(0x9,_0x2979fe),$(0xa,_0x597a05),$(0xb,_0x50be79),$(0xc,_0x25e5b9),$(0xd,_0xdd8f64(_t)),$(0xe,_0xdd8f64(J))],St);const js=_0x350255(_0x259c74(0x249));function Fs(_0x3033bc){var _0x377be9=_0x259c74,_0x50b5dc,_0x17a435,_0x4f51e8,_0x22380e,_0x15f360;const _0x2a8331=_0x3033bc[_0x377be9(0x3e2)],_0x300b05=JSON['parse'](_0x2a8331);switch(_0x300b05[_0x377be9(0x1fc)]){case F[_0x377be9(0x36d)]:case F[_0x377be9(0x2fc)]:{const _0x1fbc08=_0x300b05['infoRsp'];return{..._0x300b05,'data':_0x1fbc08,'cmd':_0x300b05[_0x377be9(0x1fc)]};}case F[_0x377be9(0x213)]:{const _0x2d2e98=_0x300b05[_0x377be9(0x1b9)];return{..._0x300b05,'data':_0x2d2e98,'cmd':_0x300b05['cmd']};}case F[_0x377be9(0x1aa)]:{const _0x4b6fbe=_0x300b05[_0x377be9(0x199)];switch(_0x4b6fbe[_0x377be9(0x168)]){case _0x6aadf0[_0x377be9(0x45a)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x50b5dc=_0x4b6fbe[_0x377be9(0x233)])==null?void 0x0:_0x50b5dc['cs']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0['CHANGESET_ACK']:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x17a435=_0x4b6fbe['csAckEvent'])==null?void 0x0:_0x17a435['cs']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x442)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x4f51e8=_0x4b6fbe['newCsEvent'])==null?void 0x0:_0x4f51e8['cs']},'cmd':_0x300b05['cmd']};case _0x6aadf0[_0x377be9(0x419)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x22380e=_0x4b6fbe[_0x377be9(0x35f)])==null?void 0x0:_0x22380e['cs']},'cmd':_0x300b05['cmd']};case _0x6aadf0['CHANGESET_SHOULD_RETRY']:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x15f360=_0x4b6fbe['csShouldRetryEvent'])==null?void 0x0:_0x15f360['cs']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x414)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x428)]},'cmd':_0x300b05['cmd']};case _0x6aadf0[_0x377be9(0x3f4)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe['joinEvent']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x3c6)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe['leaveEvent']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x1d5)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x1b2)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x430)]:case _0x6aadf0[_0x377be9(0x464)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x296)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x342)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x1b2)]},'cmd':_0x300b05['cmd']};case _0x6aadf0[_0x377be9(0x299)]:return{..._0x300b05,'data':_0x4b6fbe,'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x282)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x354)]},'cmd':_0x300b05['cmd']};case _0x6aadf0[_0x377be9(0x427)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x221)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0['SHOULD_CLOSE_CONN']:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x292)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x361)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x20f)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};default:return _0x300b05;}}default:return _0x300b05;}}function Vs(_0x26501c){var _0x40e3d0=_0x259c74;switch(_0x26501c[_0x40e3d0(0x1fc)]){case F[_0x40e3d0(0x36d)]:case F[_0x40e3d0(0x2fc)]:return JSON['stringify']({'cmd':_0x26501c[_0x40e3d0(0x1fc)],'routeKey':_0x26501c[_0x40e3d0(0x3d6)]});case F[_0x40e3d0(0x466)]:{let _0x243884;switch(_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x168)]){case _0x6aadf0[_0x40e3d0(0x414)]:{_0x243884={'eventID':_0x6aadf0['UPDATE_CURSOR'],'updateCursorEvent':_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0[_0x40e3d0(0x3c6)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x3c6)],'leaveEvent':_0x26501c['data'][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0[_0x40e3d0(0x3f4)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x3f4)],'joinEvent':_0x26501c[_0x40e3d0(0x3e2)]['data']};break;}case _0x6aadf0[_0x40e3d0(0x1d5)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x1d5)],'liveShareNewHost':_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0[_0x40e3d0(0x464)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x464)],'liveShareOperation':_0x26501c[_0x40e3d0(0x3e2)]['data']};break;}case _0x6aadf0[_0x40e3d0(0x342)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x342)],'liveShareTerminate':_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0[_0x40e3d0(0x43e)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x43e)],'liveShareRequestHost':_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0['LIVESHARE_FETCH_OPERATIONS']:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x430)]};break;}default:_0x243884={'eventID':_0x26501c['data'][_0x40e3d0(0x168)]};}return JSON['stringify']({'cmd':_0x26501c[_0x40e3d0(0x1fc)],'routeKey':_0x26501c[_0x40e3d0(0x3d6)],'collaMsg':_0x243884});}case F[_0x40e3d0(0x213)]:return JSON[_0x40e3d0(0x2a5)]({'cmd':_0x26501c[_0x40e3d0(0x1fc)],'routeKey':_0x26501c[_0x40e3d0(0x3d6)],'joinReq':_0x26501c['data']});case F[_0x40e3d0(0x262)]:return JSON[_0x40e3d0(0x2a5)]({'cmd':_0x26501c[_0x40e3d0(0x1fc)],'routeKey':_0x26501c['routeKey'],'leaveReq':_0x26501c[_0x40e3d0(0x3e2)]});default:throw new Error(_0x40e3d0(0x3e5));}}var Gs=Object['getOwnPropertyDescriptor'],Ws=(_0x81b2d8,_0x3c1bcf,_0x377930,_0x4fcfb5)=>{var _0x1ae5b5=_0x259c74;for(var _0x232540=_0x4fcfb5>0x1?void 0x0:_0x4fcfb5?Gs(_0x3c1bcf,_0x377930):_0x3c1bcf,_0x14ff92=_0x81b2d8[_0x1ae5b5(0x418)]-0x1,_0x26a4fc;_0x14ff92>=0x0;_0x14ff92--)(_0x26a4fc=_0x81b2d8[_0x14ff92])&&(_0x232540=_0x26a4fc(_0x232540)||_0x232540);return _0x232540;},ye=(_0x31cbf5,_0x1d310e)=>(_0x4b7082,_0x324f7a)=>_0x1d310e(_0x4b7082,_0x324f7a,_0x31cbf5);const Oi=_0x350255(_0x259c74(0x1a4));function Ys(_0x2902f8,_0x419a13,_0x52f785){var _0x1c20d0=_0x259c74;return _0x2902f8+'/'+_0x419a13+_0x1c20d0(0x185)+_0x52f785+_0x1c20d0(0x2ba);}let Wt=class extends _0x24b22e{constructor(_0x3a5fd4,_0x4bf14d,_0xcf9694,_0x1653f2,_0x40b7a0){var _0x38d876=_0x259c74;super(),this[_0x38d876(0x450)]=_0x3a5fd4,this['_httpService']=_0x4bf14d,this['_configService']=_0xcf9694,this['_logService']=_0x1653f2,this['_snapshotServerService']=_0x40b7a0;}['_doCreateSocket'](_0x2694ac){var _0x48b728=_0x259c74;const _0x42a482=this[_0x48b728(0x450)][_0x48b728(0x30f)](_0x46b1d5);if(!_0x42a482)throw new Error(_0x48b728(0x335));const _0x19bd78=_0x42a482[_0x48b728(0x277)](_0x2694ac);if(!_0x19bd78)throw new Error(_0x48b728(0x3fc));const _0x70de60=new _0x233c34(),_0xc3b508=new _0x4fab98();_0x70de60[_0x48b728(0x402)](_0x19bd78[_0x48b728(0x350)][_0x48b728(0x322)](_0xe1a7f4=>_0xc3b508[_0x48b728(0x210)](_0xe1a7f4))),_0x70de60['add'](_0x52a6fa(()=>_0xc3b508['complete']()));const _0x35e159=new _0x4fab98();_0x70de60[_0x48b728(0x402)](_0x19bd78[_0x48b728(0x2e4)][_0x48b728(0x322)](_0x38a57b=>_0x35e159[_0x48b728(0x210)](_0x38a57b))),_0x70de60[_0x48b728(0x402)](_0x52a6fa(()=>_0x35e159[_0x48b728(0x2fb)]()));const _0x3d8abf=new _0x4fab98();_0x70de60['add'](_0x19bd78[_0x48b728(0x408)][_0x48b728(0x322)](_0x3aa250=>{var _0x12bf38=_0x48b728;const _0x3b89c2=Fs(_0x3aa250);_0x3d8abf[_0x12bf38(0x210)](_0x3b89c2);})),_0x70de60[_0x48b728(0x402)](_0x52a6fa(()=>_0x3d8abf[_0x48b728(0x2fb)]()));let _0x292644;const _0x1ce2fd=()=>{var _0x41eaf4=_0x48b728;_0x35e159['next'](new Event(_0x41eaf4(0x3c9))),_0xc3b508[_0x41eaf4(0x210)](new Event(_0x41eaf4(0x3c9))),_0x292644[_0x41eaf4(0x301)]();};return _0x292644={'memberID':'','close$':_0xc3b508[_0x48b728(0x37d)](),'error$':_0x35e159[_0x48b728(0x37d)](),'open$':_0x19bd78['open$'],'message$':_0x3d8abf['asObservable'](),'send':_0x531513=>{var _0x4cd3dd=_0x48b728;if(_0x531513['cmd']===F[_0x4cd3dd(0x466)]){if(_0x531513[_0x4cd3dd(0x3e2)]['eventID']===_0x6aadf0[_0x4cd3dd(0x329)]){this['_submitChangeset'](_0x292644,_0x531513[_0x4cd3dd(0x3e2)])[_0x4cd3dd(0x24f)](_0x2d1dbd=>{var _0x338f46=_0x4cd3dd;this['_logService'][_0x338f46(0x331)](_0x2d1dbd),_0x1ce2fd();});return;}if(_0x531513['data']['eventID']===_0x6aadf0[_0x4cd3dd(0x250)]){const _0x3f3377=_0x531513[_0x4cd3dd(0x3e2)];this['_fetchMissChangesets'](_0x3f3377)[_0x4cd3dd(0x387)](_0x36d463=>{var _0x26dece=_0x4cd3dd;_0x3d8abf[_0x26dece(0x210)]({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0x3f3377[_0x26dece(0x3e2)][_0x26dece(0x320)],'routeType':'','data':{'eventID':_0x6aadf0[_0x26dece(0x2ab)],'data':{'changesets':_0x36d463}}});})[_0x4cd3dd(0x24f)](_0x3a2bdb=>{var _0x3cdc13=_0x4cd3dd;this[_0x3cdc13(0x29c)][_0x3cdc13(0x331)](_0x3a2bdb),_0x1ce2fd();});return;}}_0x19bd78[_0x4cd3dd(0x240)](Vs(_0x531513));},'close':()=>{var _0x1d9090=_0x48b728;_0x19bd78['close'](),_0x70de60[_0x1d9090(0x34b)]();}},_0x292644;}async['_submitChangeset'](_0x210108,_0x2240d4){var _0x5d2a80=_0x259c74,_0x3078aa;const {unitType:_0x22c3d7,unitID:_0x234d18,changeset:_0x2ae256}=_0x2240d4['data'],_0x1f4560={'unitID':_0x234d18,'memberID':_0x210108[_0x5d2a80(0x39f)],'type':_0x22c3d7,'changeset':_0x439747(_0x2ae256)},_0x59b71d=this['_configService']['getConfig'](K),_0x7d02cf=Ys((_0x3078aa=_0x59b71d==null?void 0x0:_0x59b71d['collabSubmitChangesetUrl'])!=null?_0x3078aa:Os,_0x22c3d7,_0x234d18);try{await this[_0x5d2a80(0x22f)][_0x5d2a80(0x3c3)](_0x7d02cf,{'body':_0x1f4560});}catch(_0x1e304a){throw this[_0x5d2a80(0x29c)][_0x5d2a80(0x331)]('[CollaborationSession]',_0x5d2a80(0x46c)),_0x1e304a;}}async[_0x259c74(0x1da)](_0x24f6ef){var _0x65d608=_0x259c74;const {unitID:_0x4559a7,from:_0x238d95,to:_0x4207d1,unitType:_0x2d71c8}=_0x24f6ef[_0x65d608(0x3e2)];return(await this[_0x65d608(0x3d4)][_0x65d608(0x28c)]({'metadata':void 0x0},{'unitID':_0x4559a7,'type':_0x2d71c8,'from':_0x238d95,'to':_0x4207d1}))[_0x65d608(0x30c)];}};Wt=Ws([ye(0x0,_0x479712(_0x27a1da)),ye(0x1,_0x479712(_0x44cd1e)),ye(0x2,_0x5dd738),ye(0x3,_0x597a05),ye(0x4,_0x27e841)],Wt);var Ks=Object[_0x259c74(0x268)],qs=(_0x502417,_0x1685b0,_0xb5a88f,_0x40d0db)=>{var _0x400a2e=_0x259c74;for(var _0x1f5898=_0x40d0db>0x1?void 0x0:_0x40d0db?Ks(_0x1685b0,_0xb5a88f):_0x1685b0,_0x5d0291=_0x502417[_0x400a2e(0x418)]-0x1,_0x36538c;_0x5d0291>=0x0;_0x5d0291--)(_0x36538c=_0x502417[_0x5d0291])&&(_0x1f5898=_0x36538c(_0x1f5898)||_0x1f5898);return _0x1f5898;},Re=(_0x5d774c,_0x71ef88)=>(_0x1231db,_0x26051a)=>_0x71ef88(_0x1231db,_0x26051a,_0x5d774c);let we=class extends _0x24b22e{constructor(_0x2a3a91,_0x31f2a6,_0xe234b3,_0x3b5d66,_0x66085c,_0x5c16b1){var _0x5d240b=_0x259c74;super(),D(this,_0x5d240b(0x3b0),new _0x5ac99c(void 0x0)),D(this,'socket$',this['_socket$'][_0x5d240b(0x37d)]()),D(this,'_candidateSocket',null),D(this,_0x5d240b(0x2eb),new Map()),D(this,_0x5d240b(0x36e),new _0x5ac99c(me[_0x5d240b(0x294)])),D(this,'status$',this[_0x5d240b(0x36e)][_0x5d240b(0x37d)]()),D(this,_0x5d240b(0x2af),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x5d240b(0x202),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x5d240b(0x2db)),(this['_injector']=_0x2a3a91,this['_logService']=_0x31f2a6,this['_configService']=_0xe234b3,this['_socketService']=_0x3b5d66,this[_0x5d240b(0x3ca)]=_0x66085c,this[_0x5d240b(0x2cd)]=_0x5c16b1,this[_0x5d240b(0x166)]());}get[_0x259c74(0x2fd)](){var _0x1c238f=_0x259c74;return this['_socket$'][_0x1c238f(0x38d)]();}['_listenToNetworkCondition'](){var _0x32330c=_0x259c74;this[_0x32330c(0x2cd)]&&this[_0x32330c(0x369)](this[_0x32330c(0x2cd)][_0x32330c(0x18e)][_0x32330c(0x322)](_0x2ba756=>{var _0x469b3c=_0x32330c;_0x2ba756&&!this[_0x469b3c(0x2fd)]&&this[_0x469b3c(0x1d0)](),_0x2ba756||this[_0x469b3c(0x253)]();}));}[_0x259c74(0x34b)](){var _0x31d0cf=_0x259c74;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x31d0cf(0x386)](),this[_0x31d0cf(0x308)](),this[_0x31d0cf(0x2eb)]['forEach'](_0x5adfa7=>_0x5adfa7[_0x31d0cf(0x34b)]()),this[_0x31d0cf(0x2eb)][_0x31d0cf(0x189)](),this[_0x31d0cf(0x36e)]['complete']();}async['requireSession'](_0x382cd0){var _0x56cbe2=_0x259c74;if(this[_0x56cbe2(0x2eb)][_0x56cbe2(0x2dc)](_0x382cd0))return this[_0x56cbe2(0x2eb)][_0x56cbe2(0x30f)](_0x382cd0);this[_0x56cbe2(0x3d9)]();const _0x22d6d8=this['_injector']['createInstance'](mt,_0x382cd0,this[_0x56cbe2(0x3b0)][_0x56cbe2(0x37d)]());return this[_0x56cbe2(0x2eb)]['set'](_0x382cd0,_0x22d6d8),_0x22d6d8;}[_0x259c74(0x2dd)](_0x87ed57){var _0x345578=_0x259c74,_0x5e2cea;const _0x36c2c0=this[_0x345578(0x2eb)][_0x345578(0x30f)](_0x87ed57);_0x36c2c0&&(this[_0x345578(0x2eb)][_0x345578(0x1de)](_0x87ed57),_0x36c2c0['close']()),this[_0x345578(0x2eb)][_0x345578(0x212)]||(_0x5e2cea=this[_0x345578(0x2fd)])==null||_0x5e2cea[_0x345578(0x301)]();}[_0x259c74(0x1d0)](){var _0x516f91=_0x259c74;this[_0x516f91(0x202)]=0x0,this[_0x516f91(0x270)](),this[_0x516f91(0x353)]();}[_0x259c74(0x270)](){var _0x5a8ef5=_0x259c74;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5a8ef5(0x2d7)]),this[_0x5a8ef5(0x2d7)]=null);}async[_0x259c74(0x18c)](){var _0x3ccfc7=_0x259c74,_0x241f65;const _0x1fb9ef=this['_configService'][_0x3ccfc7(0x23c)](K),_0x319c5a=(_0x241f65=_0x1fb9ef==null?void 0x0:_0x1fb9ef[_0x3ccfc7(0x1c6)])!=null?_0x241f65:Es,_0x263095=await this['_socketService']['createSocket'](_0x319c5a);return this['_candidateSocket']=_0x263095,_0x263095;}async[_0x259c74(0x3d9)](){var _0x5099d7=_0x259c74,_0x2af0ad,_0x340d12;try{const _0x54dc57=(_0x340d12=(_0x2af0ad=this[_0x5099d7(0x2fd)])!=null?_0x2af0ad:this['_candidateSocket'])!=null?_0x340d12:await this[_0x5099d7(0x18c)]();if(_0x54dc57){const _0x2222df=_0x54dc57['send'];_0x54dc57[_0x5099d7(0x240)]=_0x32ccc0=>(this[_0x5099d7(0x44f)](),_0x2222df[_0x5099d7(0x360)](_0x54dc57,[_0x32ccc0])),_0x54dc57[_0x5099d7(0x408)][_0x5099d7(0x322)](_0x1618a8=>this[_0x5099d7(0x1e3)](_0x54dc57,_0x1618a8)),_0x54dc57[_0x5099d7(0x2e4)]['pipe'](_0x2d868f(0x1))[_0x5099d7(0x322)](_0x5850cc=>this[_0x5099d7(0x29c)][_0x5099d7(0x331)](_0x5099d7(0x18d),_0x5850cc)),_0x54dc57[_0x5099d7(0x3d0)]['pipe'](_0x2d868f(0x1))[_0x5099d7(0x322)](()=>{var _0x2c6e2c=_0x5099d7;this[_0x2c6e2c(0x1eb)](_0x54dc57);}),_0x54dc57[_0x5099d7(0x350)][_0x5099d7(0x28f)](_0x2d868f(0x1))['subscribe'](_0x1046c0=>{var _0x5c7947=_0x5099d7;this[_0x5c7947(0x29c)][_0x5c7947(0x448)](_0x5c7947(0x2f4),_0x5c7947(0x3ef),_0x1046c0),this[_0x5c7947(0x1c4)]();});}}catch(_0x3742d9){this[_0x5099d7(0x29c)][_0x5099d7(0x331)](_0x3742d9),this[_0x5099d7(0x1c4)]();}}[_0x259c74(0x1eb)](_0x19956f){var _0x19b656=_0x259c74;this[_0x19b656(0x29c)][_0x19b656(0x448)]('[CollaborationSessionService]','socket\x20open.'),_0x19956f[_0x19b656(0x240)]({'cmd':F[_0x19b656(0x2fc)]}),this[_0x19b656(0x44f)]();}[_0x259c74(0x253)](){var _0x3144f8=_0x259c74;this['_socketReady']=!0x1,this[_0x3144f8(0x454)]=null,this['_status$'][_0x3144f8(0x210)](me[_0x3144f8(0x1a5)]),this[_0x3144f8(0x3b0)][_0x3144f8(0x210)](null),this['_clearTimeoutTimer'](),this[_0x3144f8(0x308)]();}[_0x259c74(0x1c4)](){var _0x339437=_0x259c74,_0x513626;this['_onOffline'](),this[_0x339437(0x202)]<((_0x513626=this[_0x339437(0x2ec)][_0x339437(0x23c)](gs))!=null?_0x513626:Ts)?(this['_collaborationUIEventService']['emitEvent']({'id':re[_0x339437(0x435)]}),this[_0x339437(0x353)]()):this[_0x339437(0x3ca)][_0x339437(0x29b)]({'id':re['SOCKET_FAILED']});}[_0x259c74(0x353)](){var _0x44874e=_0x259c74,_0x48ae1e;const _0x4f820c=this[_0x44874e(0x202)],_0x1ecd84=this[_0x44874e(0x2ec)]['getConfig'](K),_0x5bbb2b=_0x4f820c===0x0?0x0:((_0x48ae1e=_0x1ecd84==null?void 0x0:_0x1ecd84['retryConnectingInterval'])!=null?_0x48ae1e:Ss)*0x2**_0x4f820c;this[_0x44874e(0x2d7)]=setTimeout(()=>{var _0x38c08b=_0x44874e;clearTimeout(this['_retryConnectingTimer']),this[_0x38c08b(0x2d7)]=null,this[_0x38c08b(0x3d9)]();},_0x5bbb2b),this[_0x44874e(0x202)]+=0x1;}[_0x259c74(0x1e3)](_0xf8e536,_0xe9602d){var _0x571eff=_0x259c74;const {cmd:_0x584178}=_0xe9602d;_0x584178===F[_0x571eff(0x2fc)]&&!this[_0x571eff(0x2af)]&&(_0xf8e536[_0x571eff(0x39f)]=_0xe9602d['data']['memberID'],this[_0x571eff(0x3b0)][_0x571eff(0x210)](_0xf8e536),this[_0x571eff(0x36e)][_0x571eff(0x210)](me[_0x571eff(0x3ee)]),this[_0x571eff(0x2af)]=!0x0,this[_0x571eff(0x454)]=null),_0x584178===F[_0x571eff(0x36d)]&&this[_0x571eff(0x386)](),this[_0x571eff(0x44f)]();}[_0x259c74(0x44f)](){var _0x2ade96=_0x259c74,_0x3c7eb8;this[_0x2ade96(0x308)](),this[_0x2ade96(0x32c)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x3c7eb8=this[_0x2ade96(0x2ec)][_0x2ade96(0x23c)](ms))!=null?_0x3c7eb8:Is);}[_0x259c74(0x3ce)](){var _0x42ab87=_0x259c74;this[_0x42ab87(0x2fd)][_0x42ab87(0x240)]({'cmd':F['HEARTBEAT']}),this[_0x42ab87(0x276)]();}[_0x259c74(0x276)](){var _0xf844da=_0x259c74,_0xc41ac;this['_timeoutTimer']=setTimeout(()=>this[_0xf844da(0x1c4)](),(_0xc41ac=this['_configService']['getConfig'](di))!=null?_0xc41ac:fi);}[_0x259c74(0x308)](){var _0x2553b0=_0x259c74;this[_0x2553b0(0x32c)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2553b0(0x32c)]=null);}[_0x259c74(0x386)](){var _0x4e98dc=_0x259c74;this[_0x4e98dc(0x2db)]!=null&&(clearTimeout(this[_0x4e98dc(0x2db)]),this['_timeoutTimer']=null);}};we=qs([Re(0x0,_0x479712(_0x27a1da)),Re(0x1,_0x597a05),Re(0x2,_0x5dd738),Re(0x3,Oi),Re(0x4,_0x479712(ve)),Re(0x5,_0xdd8f64(js))],we);var zs=Object[_0x259c74(0x268)],Js=(_0x1156ca,_0x3b79ea,_0x4893fb,_0x1fe95f)=>{for(var _0x58145f=_0x1fe95f>0x1?void 0x0:_0x1fe95f?zs(_0x3b79ea,_0x4893fb):_0x3b79ea,_0x35b5e3=_0x1156ca['length']-0x1,_0x377395;_0x35b5e3>=0x0;_0x35b5e3--)(_0x377395=_0x1156ca[_0x35b5e3])&&(_0x58145f=_0x377395(_0x58145f)||_0x58145f);return _0x58145f;},Be=(_0x32d699,_0x5b6484)=>(_0x388856,_0x2fb2e4)=>_0x5b6484(_0x388856,_0x2fb2e4,_0x32d699);let nt=class extends _0x271f03{constructor(_0x51a29c,_0x278fe6,_0x550d38,_0x56c9f9){var _0x4bde29=_0x259c74,_0x192183;super(),D(this,_0x4bde29(0x298),new Map()),D(this,_0x4bde29(0x45d),new _0x4fab98()),D(this,_0x4bde29(0x1e6),this['_entityInit$']['asObservable']()),(this[_0x4bde29(0x450)]=_0x51a29c,this[_0x4bde29(0x451)]=_0x278fe6,this['_configService']=_0x550d38,this[_0x4bde29(0x284)]=_0x56c9f9,((_0x192183=this['_configService'][_0x4bde29(0x23c)](K))==null?void 0x0:_0x192183[_0x4bde29(0x438)])!==!0x1&&this[_0x4bde29(0x399)]());}['dispose'](){var _0x34637d=_0x259c74;super[_0x34637d(0x34b)](),this[_0x34637d(0x298)]['forEach'](_0x5062f4=>_0x5062f4[_0x34637d(0x34b)]()),this[_0x34637d(0x298)][_0x34637d(0x189)]();}[_0x259c74(0x413)](_0x294ea0){var _0x4a6022=_0x259c74,_0x567a39;return(_0x567a39=this[_0x4a6022(0x298)]['get'](_0x294ea0))!=null?_0x567a39:null;}['getCollabEntity$'](_0x5d54d3){var _0x360d47=_0x259c74;const _0x1172de=this[_0x360d47(0x413)](_0x5d54d3);return _0x1172de?_0x57b435(_0x1172de):this['_entityInit$'][_0x360d47(0x28f)](_0x21080c(_0x18cce0=>_0x18cce0['unitID']===_0x5d54d3));}[_0x259c74(0x3c4)](_0x57da87){var _0x1b32d6=_0x259c74;return _0x1d959e(this[_0x1b32d6(0x280)](_0x57da87)[_0x1b32d6(0x28f)](_0x56a673(()=>{})));}[_0x259c74(0x399)](){var _0x43899e=_0x259c74;this[_0x43899e(0x284)][_0x43899e(0x1ba)](_0x33434f['UNIVER_SHEET'])[_0x43899e(0x28f)](_0x333488(this[_0x43899e(0x22b)]),_0x1308f9(0x10))[_0x43899e(0x322)](async _0x52c05a=>{var _0x3c3c4f=_0x43899e;const _0xa16e10=_0x52c05a['getUnitId'](),_0xb8344a=await this[_0x3c3c4f(0x3fd)](_0xa16e10,Q['UNIVER_SHEET']);this[_0x3c3c4f(0x298)][_0x3c3c4f(0x351)](_0xa16e10,_0xb8344a);}),this['_univerInstanceService'][_0x43899e(0x1ba)](_0x33434f[_0x43899e(0x42f)])[_0x43899e(0x28f)](_0x333488(this[_0x43899e(0x22b)]),_0x1308f9(0x10))['pipe'](_0x21080c(_0x248395=>!_0x248395[_0x43899e(0x395)]()[_0x43899e(0x3a3)]('__')))[_0x43899e(0x322)](async _0x48aee1=>{var _0x309153=_0x43899e;const _0x599e31=_0x48aee1[_0x309153(0x395)](),_0x5c948a=await this[_0x309153(0x3fd)](_0x599e31,Q['UNIVER_DOC']);this['_entities'][_0x309153(0x351)](_0x599e31,_0x5c948a);}),_0x3142f5(this['_univerInstanceService'][_0x43899e(0x26d)](_0x33434f[_0x43899e(0x19d)]),this[_0x43899e(0x284)]['getTypeOfUnitDisposed$'](_0x33434f[_0x43899e(0x42f)]))['pipe'](_0x333488(this[_0x43899e(0x22b)]))[_0x43899e(0x322)](_0x4044b6=>{var _0x1cdbc7=_0x43899e;const _0x3c1b2d=_0x4044b6[_0x1cdbc7(0x395)](),_0x1cc3a8=this[_0x1cdbc7(0x298)][_0x1cdbc7(0x30f)](_0x3c1b2d);_0x1cc3a8&&(_0x1cc3a8['dispose'](),this[_0x1cdbc7(0x298)][_0x1cdbc7(0x1de)](_0x3c1b2d));});}async[_0x259c74(0x3fd)](_0x408f35,_0x5297a9){var _0x1720cb=_0x259c74;const _0x3763fe=await this[_0x1720cb(0x451)][_0x1720cb(0x2c5)](_0x408f35),_0x4267e7=this[_0x1720cb(0x450)][_0x1720cb(0x45f)](this['_getCtorByUniverType'](_0x5297a9),_0x408f35,_0x5297a9,_0x3763fe);return await _0x4267e7[_0x1720cb(0x258)](),this[_0x1720cb(0x45d)][_0x1720cb(0x210)](_0x4267e7),_0x4267e7;}['_getCtorByUniverType'](_0x17ed3e){var _0x1e0a35=_0x259c74;switch(_0x17ed3e){case Q['UNIVER_DOC']:return It;case Q[_0x1e0a35(0x19d)]:return St;default:throw new Error(_0x1e0a35(0x17f)+_0x17ed3e);}}};nt=Js([Be(0x0,_0x479712(_0x27a1da)),Be(0x1,_0x479712(we)),Be(0x2,_0x5dd738),Be(0x3,_0x2979fe)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x200c2b,_0x17aa1d,_0x48d88f,_0x3e4918)=>{var _0x390f29=_0x259c74;for(var _0x4cf0a3=_0x3e4918>0x1?void 0x0:_0x3e4918?Xs(_0x17aa1d,_0x48d88f):_0x17aa1d,_0x399065=_0x200c2b[_0x390f29(0x418)]-0x1,_0x38365d;_0x399065>=0x0;_0x399065--)(_0x38365d=_0x200c2b[_0x399065])&&(_0x4cf0a3=_0x38365d(_0x4cf0a3)||_0x4cf0a3);return _0x4cf0a3;},Yt=(_0x30d8b6,_0x53cb88)=>(_0x35ee0d,_0x4d8160)=>_0x53cb88(_0x35ee0d,_0x4d8160,_0x30d8b6);const Qs='DEFAULT_FILE_NAME',en=_0x259c74(0x2ce);let gt=class extends _0x24b22e{constructor(_0x2c9052,_0x436f58){var _0x5be476=_0x259c74;super(),this['_univerInstanceService']=_0x2c9052,this[_0x5be476(0x2ec)]=_0x436f58,this['_init']();}['_init'](){var _0x39163b=_0x259c74;this[_0x39163b(0x369)](this[_0x39163b(0x284)]['focused$'][_0x39163b(0x322)](()=>{var _0x358ce9=_0x39163b,_0x256684;const _0x29b761=this[_0x358ce9(0x284)][_0x358ce9(0x318)]();let _0xd35543=(_0x256684=this[_0x358ce9(0x2ec)][_0x358ce9(0x23c)](Qs))!=null?_0x256684:en;_0x29b761 instanceof _0x2fdb3b&&(_0xd35543=_0x29b761[_0x358ce9(0x330)]),document[_0x358ce9(0x436)]=_0xd35543;}));}};gt=Zs([Yt(0x0,_0x2979fe),Yt(0x1,_0x5dd738)],gt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x24a0ce,_0x2644ca,_0x1a4023,_0x48f0da)=>{for(var _0x517430=_0x48f0da>0x1?void 0x0:_0x48f0da?tn(_0x2644ca,_0x1a4023):_0x2644ca,_0xd7a879=_0x24a0ce['length']-0x1,_0x3e0cea;_0xd7a879>=0x0;_0xd7a879--)(_0x3e0cea=_0x24a0ce[_0xd7a879])&&(_0x517430=_0x3e0cea(_0x517430)||_0x517430);return _0x517430;},dt=(_0x4e25ad,_0x3e0135)=>(_0x42dc46,_0x3112bb)=>_0x3e0135(_0x42dc46,_0x3112bb,_0x4e25ad);let rt=class{constructor(_0x3385dc,_0x13a11e,_0xbcd0d4){var _0x3877b8=_0x259c74;this[_0x3877b8(0x2ec)]=_0x3385dc,this[_0x3877b8(0x22f)]=_0x13a11e,this['localeService']=_0xbcd0d4,this[_0x3877b8(0x258)]();}[_0x259c74(0x258)](){var _0x503955=_0x259c74;this[_0x503955(0x22f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5294c0,_0x281372)=>_0x281372(_0x5294c0)['pipe'](_0xbab88(async _0x29264f=>{var _0xa047e1=_0x503955;const _0x1224ac=_0x29264f;if(_0x1224ac[_0xa047e1(0x222)]===0x191){if(typeof window>'u')throw new Error(_0xa047e1(0x346));if(window[_0xa047e1(0x2bb)](this[_0xa047e1(0x382)]['t'](_0xa047e1(0x1b0)))){const _0x12ae32=window[_0xa047e1(0x2d2)](window[_0xa047e1(0x43c)][_0xa047e1(0x1a8)]);window['location'][_0xa047e1(0x1a8)]=this[_0xa047e1(0x370)]()+_0xa047e1(0x2d0)+_0x12ae32;}}return _0x1224ac;}))});}['_getLoginPath'](){var _0x3d536f=_0x259c74,_0x225733;const _0x887262=this[_0x3d536f(0x2ec)][_0x3d536f(0x23c)](K);return(_0x225733=_0x887262==null?void 0x0:_0x887262['loginUrlKey'])!=null?_0x225733:Rs;}};rt=sn([dt(0x0,_0x5dd738),dt(0x1,_0x479712(_0x44cd1e)),dt(0x2,_0x479712(_0x38932f))],rt);var nn=Object[_0x259c74(0x268)],rn=(_0xc60c39,_0x1b1ed0,_0x143474,_0x28f87a)=>{for(var _0x318ebb=_0x28f87a>0x1?void 0x0:_0x28f87a?nn(_0x1b1ed0,_0x143474):_0x1b1ed0,_0x2cdc85=_0xc60c39['length']-0x1,_0x434c5e;_0x2cdc85>=0x0;_0x2cdc85--)(_0x434c5e=_0xc60c39[_0x2cdc85])&&(_0x318ebb=_0x434c5e(_0x318ebb)||_0x318ebb);return _0x318ebb;},Kt=(_0x293753,_0x439953)=>(_0x5d4917,_0x52d0f4)=>_0x439953(_0x5d4917,_0x52d0f4,_0x293753);const an='/universer-api/authz';let Tt=class extends _0x24b22e{constructor(_0x18fc27,_0xde4daf){var _0x40670a=_0x259c74;super(),this[_0x40670a(0x339)]=_0x18fc27,this[_0x40670a(0x2ec)]=_0xde4daf,this[_0x40670a(0x316)]();}['_initMergeInterceptor'](){var _0x392b25=_0x259c74;const _0x3e83f5=this;this[_0x392b25(0x369)](this[_0x392b25(0x339)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x18ee90({'isMatch'(_0xb0bc23){var _0x585cbe=_0x392b25,_0x12930f;if(_0xb0bc23['method']===_0x585cbe(0x42e)&&((_0x12930f=_0xb0bc23[_0x585cbe(0x2be)])!=null&&_0x12930f[_0x585cbe(0x3b3)])){const {objectID:_0x146645,objectType:_0xdac2df}=_0xb0bc23[_0x585cbe(0x2be)]['body']||{};if(!_0x146645||_0xdac2df===void 0x0)return!0x1;const _0x4c1c40=_0x3e83f5[_0x585cbe(0x2ae)]()+'/'+_0xdac2df+'/object/'+_0x146645+_0x585cbe(0x19b);if(_0xb0bc23[_0x585cbe(0x293)]===_0x4c1c40)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x206e17){var _0x385653;return(_0x385653=_0x206e17['requestParams'])==null?void 0x0:_0x385653['body'];},'mergeParamsToRequest'(_0x48911d,_0x582169){var _0x2f8d4f=_0x392b25;const _0x28f3eb=_0x3e83f5['_getAPIPrefixPath']()+_0x2f8d4f(0x181),_0x46d51c=_0x48911d[_0x2f8d4f(0x2d8)]((_0x33cf5c,_0x3d8ca6)=>{var _0x2f87f4=_0x2f8d4f;const {unitID:_0xa9e337,objectID:_0x30a18e,objectType:_0x297570,actions:_0x108085}=_0x3d8ca6;return _0x33cf5c[_0xa9e337]||(_0x33cf5c[_0xa9e337]={}),_0x33cf5c[_0xa9e337][_0x30a18e]||(_0x33cf5c[_0xa9e337][_0x30a18e]={'objectID':_0x30a18e,'objectType':_0x297570,'actions':[]}),_0x33cf5c[_0xa9e337][_0x30a18e][_0x2f87f4(0x1ab)][_0x2f87f4(0x2c3)](..._0x108085),_0x33cf5c;},{}),_0x1371a9=[];for(const _0x360df8 in _0x46d51c)for(const _0x5f55d7 in _0x46d51c[_0x360df8]){const {actions:_0xa5fe68,objectType:_0x5839b6}=_0x46d51c[_0x360df8][_0x5f55d7],_0x340c45=[...new Set(_0xa5fe68)];_0x1371a9['push']({'unitID':_0x360df8,'objectID':_0x5f55d7,'objectType':_0x5839b6,'actions':_0x340c45});}return new _0x3b63e4(_0x2f8d4f(0x42e),_0x28f3eb,{'headers':_0x582169[_0x2f8d4f(0x1d7)],'withCredentials':_0x582169[_0x2f8d4f(0x288)],'responseType':_0x582169[_0x2f8d4f(0x42b)],'body':{'requests':_0x1371a9}});}},{'distributeResult'(_0x4548ac,_0x3d9576){var _0x3e49e0=_0x392b25;const {objectActions:_0x32cf8b}=_0x4548ac;return _0x3d9576[_0x3e49e0(0x1ae)](_0x2d583b=>{var _0x332100=_0x3e49e0;const {unitID:_0x2c5b6f,objectID:_0x31e1ca,actions:_0x3541bb}=_0x2d583b,_0x26c432=_0x32cf8b[_0x332100(0x19c)](_0x302fe9=>_0x302fe9['unitID']===_0x2c5b6f&&_0x302fe9['objectID']===_0x31e1ca),_0x2c73a4=_0x3541bb[_0x332100(0x1ae)](_0x45d3d0=>_0x26c432==null?void 0x0:_0x26c432[_0x332100(0x1ab)]['find'](_0x572903=>_0x572903[_0x332100(0x234)]===_0x45d3d0))[_0x332100(0x1ca)](_0x9e2289=>!!_0x9e2289);return{'config':_0x2d583b,'result':{'actions':_0x2c73a4,'error':_0x4548ac['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x57b9fe=_0x259c74,_0x5bc443;const _0x2ca1bf=this[_0x57b9fe(0x2ec)][_0x57b9fe(0x23c)](K);return(_0x5bc443=_0x2ca1bf==null?void 0x0:_0x2ca1bf['authzUrl'])!=null?_0x5bc443:an;}async[_0x259c74(0x41c)](_0x30fcdc){var _0x36849a=_0x259c74;const _0x24703b=this[_0x36849a(0x2ae)]()+'/'+_0x30fcdc[_0x36849a(0x3dc)]+_0x36849a(0x42d);return(await this[_0x36849a(0x339)][_0x36849a(0x3c3)](_0x24703b,{'body':_0x30fcdc}))[_0x36849a(0x3b3)][_0x36849a(0x16f)]||'';}async[_0x259c74(0x43f)](_0x16e39d){var _0x547e4e=_0x259c74;const _0x55483c=this[_0x547e4e(0x2ae)]()+_0x547e4e(0x468);return(await this[_0x547e4e(0x339)][_0x547e4e(0x3c3)](_0x55483c,{'body':_0x16e39d}))[_0x547e4e(0x3b3)][_0x547e4e(0x371)];}async[_0x259c74(0x33d)](_0x29300b){var _0x161b80=_0x259c74,_0x3745e6,_0x12d485;const _0x1d40ea=this[_0x161b80(0x2ae)]()+'/'+_0x29300b[_0x161b80(0x3dc)]+'/object/'+_0x29300b[_0x161b80(0x16f)],_0x312d19=await this[_0x161b80(0x339)][_0x161b80(0x220)](_0x1d40ea,{'body':_0x29300b});if(((_0x12d485=(_0x3745e6=_0x312d19==null?void 0x0:_0x312d19[_0x161b80(0x3b3)])==null?void 0x0:_0x3745e6[_0x161b80(0x331)])==null?void 0x0:_0x12d485[_0x161b80(0x224)])!==0x1)throw new Error(_0x161b80(0x33a));}async[_0x259c74(0x3f2)](_0x2f1631){var _0x566bee=_0x259c74;const _0x57fd21=this[_0x566bee(0x2ae)]()+'/'+_0x2f1631[_0x566bee(0x3dc)]+_0x566bee(0x226)+_0x2f1631[_0x566bee(0x16f)]+'/allowed';return(await this['_HTTPService'][_0x566bee(0x3c3)](_0x57fd21,{'body':_0x2f1631}))[_0x566bee(0x3b3)][_0x566bee(0x1ab)];}async[_0x259c74(0x45b)](_0x336e25){var _0x2671ad=_0x259c74;const _0x26120e=this[_0x2671ad(0x2ae)]()+_0x2671ad(0x181);return(await this[_0x2671ad(0x339)][_0x2671ad(0x3c3)](_0x26120e,{'body':{'requests':_0x336e25}}))[_0x2671ad(0x3b3)][_0x2671ad(0x462)];}async['listRoles'](_0x368989){var _0x3929ff=_0x259c74;const _0x1c8376=this['_getAPIPrefixPath']()+'/'+_0x368989['objectType']+_0x3929ff(0x300),_0x4c25e4=await this[_0x3929ff(0x339)][_0x3929ff(0x3c3)](_0x1c8376,{'body':_0x368989});return{'roles':_0x4c25e4[_0x3929ff(0x3b3)][_0x3929ff(0x204)],'actions':_0x4c25e4[_0x3929ff(0x3b3)][_0x3929ff(0x1ab)]};}async[_0x259c74(0x352)](_0x392201){var _0x2f13db=_0x259c74;const _0xe70a73=this[_0x2f13db(0x2ae)]()+_0x2f13db(0x1a0);await this['_HTTPService'][_0x2f13db(0x1de)](_0xe70a73,{'params':{'collaboratorID':_0x392201['collaboratorID'],'objectID':_0x392201[_0x2f13db(0x16f)],'unitID':_0x392201[_0x2f13db(0x320)]}});}async[_0x259c74(0x2d5)](_0x292538){var _0x2bb568=_0x259c74;const _0x3031bc=this['_getAPIPrefixPath']()+_0x2bb568(0x1a0);await this[_0x2bb568(0x339)][_0x2bb568(0x31a)](_0x3031bc,{'body':_0x292538});}async['createCollaborator'](_0x2bf5e9){var _0x5c8c68=_0x259c74;const _0x172292=this[_0x5c8c68(0x2ae)]()+_0x5c8c68(0x1a0);await this[_0x5c8c68(0x339)][_0x5c8c68(0x3c3)](_0x172292,{'body':_0x2bf5e9});}async[_0x259c74(0x2e5)](_0x1eca62){var _0x380eeb=_0x259c74;const _0x21058f=this['_getAPIPrefixPath']()+_0x380eeb(0x1a0);return(await this[_0x380eeb(0x339)][_0x380eeb(0x30f)](_0x21058f,{'params':{'objectID':_0x1eca62[_0x380eeb(0x16f)],'unitID':_0x1eca62[_0x380eeb(0x320)]}}))[_0x380eeb(0x3b3)][_0x380eeb(0x2a2)];}async['putCollaborators'](_0x18ea0d){var _0x52697f=_0x259c74;const _0x59551c=this[_0x52697f(0x2ae)]()+_0x52697f(0x1a0);await this[_0x52697f(0x339)]['put'](_0x59551c,{'body':_0x18ea0d});}};Tt=rn([Kt(0x0,_0x479712(_0x44cd1e)),Kt(0x1,_0x479712(_0x5dd738))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x380927){var _0x4652cb=_0x259c74;return _0x380927&&_0x380927['__esModule']&&Object[_0x4652cb(0x3f8)][_0x4652cb(0x30a)][_0x4652cb(0x206)](_0x380927,_0x4652cb(0x302))?_0x380927[_0x4652cb(0x302)]:_0x380927;}var Ve={'exports':{}};function _0x28c4(_0x58ccc2,_0x2570f7){var _0x54f241=_0x54f2();return _0x28c4=function(_0x28c428,_0x501db5){_0x28c428=_0x28c428-0x165;var _0x5845a9=_0x54f241[_0x28c428];return _0x5845a9;},_0x28c4(_0x58ccc2,_0x2570f7);}function on(_0xd0ea9a){var _0x2203a2=_0x259c74;throw new Error(_0x2203a2(0x2c7)+_0xd0ea9a+_0x2203a2(0x1ed));}var Ge={'exports':{}},cn=Ge[_0x259c74(0x2c0)],qt;function ie(){var _0x17e771=_0x259c74;return qt||(qt=0x1,function(_0x492ee1,_0x51a478){(function(_0x4debd0,_0x13a5d5){_0x492ee1['exports']=_0x13a5d5();}(cn,function(){var _0x133517=_0x133517||function(_0x25acf8,_0x4e082f){var _0x5564af=_0x28c4,_0x25a8c9;if(typeof window<'u'&&window[_0x5564af(0x2b6)]&&(_0x25a8c9=window[_0x5564af(0x2b6)]),typeof self<'u'&&self[_0x5564af(0x2b6)]&&(_0x25a8c9=self[_0x5564af(0x2b6)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x25a8c9=globalThis['crypto']),!_0x25a8c9&&typeof window<'u'&&window[_0x5564af(0x35d)]&&(_0x25a8c9=window[_0x5564af(0x35d)]),!_0x25a8c9&&typeof ft<'u'&&ft[_0x5564af(0x2b6)]&&(_0x25a8c9=ft['crypto']),!_0x25a8c9&&typeof on==_0x5564af(0x3e8))try{_0x25a8c9=require('crypto');}catch{}var _0x560824=function(){var _0x3fe563=_0x5564af;if(_0x25a8c9){if(typeof _0x25a8c9['getRandomValues']=='function')try{return _0x25a8c9[_0x3fe563(0x348)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x25a8c9[_0x3fe563(0x3a9)]==_0x3fe563(0x3e8))try{return _0x25a8c9[_0x3fe563(0x3a9)](0x4)[_0x3fe563(0x278)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2a0f16=Object[_0x5564af(0x41c)]||(function(){function _0x17d2ca(){}return function(_0x30b8c6){var _0x5885a9=_0x28c4,_0x69fa98;return _0x17d2ca[_0x5885a9(0x3f8)]=_0x30b8c6,_0x69fa98=new _0x17d2ca(),_0x17d2ca[_0x5885a9(0x3f8)]=null,_0x69fa98;};}()),_0x5ead82={},_0x40bc36=_0x5ead82[_0x5564af(0x2b3)]={},_0x278754=_0x40bc36['Base']=(function(){return{'extend':function(_0x23e6cb){var _0x42c734=_0x28c4,_0x16f2a4=_0x2a0f16(this);return _0x23e6cb&&_0x16f2a4['mixIn'](_0x23e6cb),(!_0x16f2a4['hasOwnProperty'](_0x42c734(0x258))||this[_0x42c734(0x258)]===_0x16f2a4[_0x42c734(0x258)])&&(_0x16f2a4[_0x42c734(0x258)]=function(){var _0x1b712b=_0x42c734;_0x16f2a4[_0x1b712b(0x3bd)]['init'][_0x1b712b(0x360)](this,arguments);}),_0x16f2a4[_0x42c734(0x258)][_0x42c734(0x3f8)]=_0x16f2a4,_0x16f2a4[_0x42c734(0x3bd)]=this,_0x16f2a4;},'create':function(){var _0x26aa07=_0x28c4,_0x3cb6e2=this['extend']();return _0x3cb6e2['init'][_0x26aa07(0x360)](_0x3cb6e2,arguments),_0x3cb6e2;},'init':function(){},'mixIn':function(_0x4a40be){var _0x55b942=_0x28c4;for(var _0x462f59 in _0x4a40be)_0x4a40be[_0x55b942(0x30a)](_0x462f59)&&(this[_0x462f59]=_0x4a40be[_0x462f59]);_0x4a40be[_0x55b942(0x30a)](_0x55b942(0x174))&&(this[_0x55b942(0x174)]=_0x4a40be['toString']);},'clone':function(){var _0x3fc674=_0x28c4;return this['init'][_0x3fc674(0x3f8)][_0x3fc674(0x37e)](this);}};}()),_0x2876ca=_0x40bc36['WordArray']=_0x278754['extend']({'init':function(_0x4668a6,_0x234e23){var _0x3a867d=_0x5564af;_0x4668a6=this[_0x3a867d(0x41e)]=_0x4668a6||[],_0x234e23!=_0x4e082f?this[_0x3a867d(0x3f9)]=_0x234e23:this[_0x3a867d(0x3f9)]=_0x4668a6[_0x3a867d(0x418)]*0x4;},'toString':function(_0xdc1261){var _0x39e333=_0x5564af;return(_0xdc1261||_0x19b2f0)[_0x39e333(0x2a5)](this);},'concat':function(_0x4640df){var _0xaae5bd=_0x5564af,_0x498b6e=this[_0xaae5bd(0x41e)],_0x546803=_0x4640df['words'],_0x36fdbc=this['sigBytes'],_0x421ed0=_0x4640df[_0xaae5bd(0x3f9)];if(this[_0xaae5bd(0x1b7)](),_0x36fdbc%0x4)for(var _0x3bae09=0x0;_0x3bae09<_0x421ed0;_0x3bae09++){var _0x3615a2=_0x546803[_0x3bae09>>>0x2]>>>0x18-_0x3bae09%0x4*0x8&0xff;_0x498b6e[_0x36fdbc+_0x3bae09>>>0x2]|=_0x3615a2<<0x18-(_0x36fdbc+_0x3bae09)%0x4*0x8;}else{for(var _0xf70f9d=0x0;_0xf70f9d<_0x421ed0;_0xf70f9d+=0x4)_0x498b6e[_0x36fdbc+_0xf70f9d>>>0x2]=_0x546803[_0xf70f9d>>>0x2];}return this[_0xaae5bd(0x3f9)]+=_0x421ed0,this;},'clamp':function(){var _0x51659a=_0x5564af,_0x371653=this['words'],_0x5e638a=this[_0x51659a(0x3f9)];_0x371653[_0x5e638a>>>0x2]&=0xffffffff<<0x20-_0x5e638a%0x4*0x8,_0x371653[_0x51659a(0x418)]=_0x25acf8[_0x51659a(0x377)](_0x5e638a/0x4);},'clone':function(){var _0x185b6f=_0x5564af,_0x511bfd=_0x278754[_0x185b6f(0x3a5)]['call'](this);return _0x511bfd['words']=this['words'][_0x185b6f(0x17d)](0x0),_0x511bfd;},'random':function(_0x4d6312){var _0x37e02f=_0x5564af;for(var _0x58260d=[],_0x12e59d=0x0;_0x12e59d<_0x4d6312;_0x12e59d+=0x4)_0x58260d[_0x37e02f(0x2c3)](_0x560824());return new _0x2876ca[(_0x37e02f(0x258))](_0x58260d,_0x4d6312);}}),_0x4253d8=_0x5ead82[_0x5564af(0x3b8)]={},_0x19b2f0=_0x4253d8[_0x5564af(0x273)]={'stringify':function(_0x468d92){var _0x204549=_0x5564af;for(var _0x49288a=_0x468d92['words'],_0x208fb3=_0x468d92[_0x204549(0x3f9)],_0x403c3b=[],_0x5c0f6e=0x0;_0x5c0f6e<_0x208fb3;_0x5c0f6e++){var _0x3b89a7=_0x49288a[_0x5c0f6e>>>0x2]>>>0x18-_0x5c0f6e%0x4*0x8&0xff;_0x403c3b[_0x204549(0x2c3)]((_0x3b89a7>>>0x4)[_0x204549(0x174)](0x10)),_0x403c3b[_0x204549(0x2c3)]((_0x3b89a7&0xf)[_0x204549(0x174)](0x10));}return _0x403c3b['join']('');},'parse':function(_0x35a682){var _0x3bd070=_0x5564af;for(var _0x398069=_0x35a682[_0x3bd070(0x418)],_0x434c2f=[],_0x5ab211=0x0;_0x5ab211<_0x398069;_0x5ab211+=0x2)_0x434c2f[_0x5ab211>>>0x3]|=parseInt(_0x35a682[_0x3bd070(0x34a)](_0x5ab211,0x2),0x10)<<0x18-_0x5ab211%0x8*0x4;return new _0x2876ca[(_0x3bd070(0x258))](_0x434c2f,_0x398069/0x2);}},_0x513923=_0x4253d8[_0x5564af(0x246)]={'stringify':function(_0x267690){var _0x133dc0=_0x5564af;for(var _0x39b3b9=_0x267690[_0x133dc0(0x41e)],_0x3a1f5e=_0x267690[_0x133dc0(0x3f9)],_0x4b2a2b=[],_0x5b4317=0x0;_0x5b4317<_0x3a1f5e;_0x5b4317++){var _0x24bf64=_0x39b3b9[_0x5b4317>>>0x2]>>>0x18-_0x5b4317%0x4*0x8&0xff;_0x4b2a2b[_0x133dc0(0x2c3)](String['fromCharCode'](_0x24bf64));}return _0x4b2a2b[_0x133dc0(0x207)]('');},'parse':function(_0x37c250){var _0x337ce7=_0x5564af;for(var _0x9582e9=_0x37c250['length'],_0x165878=[],_0x41503c=0x0;_0x41503c<_0x9582e9;_0x41503c++)_0x165878[_0x41503c>>>0x2]|=(_0x37c250[_0x337ce7(0x1d6)](_0x41503c)&0xff)<<0x18-_0x41503c%0x4*0x8;return new _0x2876ca[(_0x337ce7(0x258))](_0x165878,_0x9582e9);}},_0x126e3d=_0x4253d8[_0x5564af(0x27e)]={'stringify':function(_0x544fec){var _0x14023c=_0x5564af;try{return decodeURIComponent(escape(_0x513923[_0x14023c(0x2a5)](_0x544fec)));}catch{throw new Error(_0x14023c(0x410));}},'parse':function(_0x1bc6b9){var _0x4fe023=_0x5564af;return _0x513923[_0x4fe023(0x1e8)](unescape(encodeURIComponent(_0x1bc6b9)));}},_0xac4bd6=_0x40bc36[_0x5564af(0x203)]=_0x278754[_0x5564af(0x37e)]({'reset':function(){var _0x26af3f=_0x5564af;this[_0x26af3f(0x22e)]=new _0x2876ca[(_0x26af3f(0x258))](),this['_nDataBytes']=0x0;},'_append':function(_0x254a44){var _0x4b8a85=_0x5564af;typeof _0x254a44==_0x4b8a85(0x380)&&(_0x254a44=_0x126e3d[_0x4b8a85(0x1e8)](_0x254a44)),this['_data'][_0x4b8a85(0x2f1)](_0x254a44),this['_nDataBytes']+=_0x254a44[_0x4b8a85(0x3f9)];},'_process':function(_0x1e517f){var _0xa9963f=_0x5564af,_0x1a745d,_0x42e2ec=this[_0xa9963f(0x22e)],_0x524cdc=_0x42e2ec['words'],_0x3ce3d3=_0x42e2ec['sigBytes'],_0x4f393f=this[_0xa9963f(0x3fe)],_0x2335bb=_0x4f393f*0x4,_0x11de96=_0x3ce3d3/_0x2335bb;_0x1e517f?_0x11de96=_0x25acf8[_0xa9963f(0x377)](_0x11de96):_0x11de96=_0x25acf8[_0xa9963f(0x31c)]((_0x11de96|0x0)-this[_0xa9963f(0x1ec)],0x0);var _0x21511c=_0x11de96*_0x4f393f,_0xb5fb86=_0x25acf8[_0xa9963f(0x319)](_0x21511c*0x4,_0x3ce3d3);if(_0x21511c){for(var _0xc9075=0x0;_0xc9075<_0x21511c;_0xc9075+=_0x4f393f)this[_0xa9963f(0x25f)](_0x524cdc,_0xc9075);_0x1a745d=_0x524cdc[_0xa9963f(0x231)](0x0,_0x21511c),_0x42e2ec[_0xa9963f(0x3f9)]-=_0xb5fb86;}return new _0x2876ca[(_0xa9963f(0x258))](_0x1a745d,_0xb5fb86);},'clone':function(){var _0x37a4c7=_0x5564af,_0x1eeb09=_0x278754[_0x37a4c7(0x3a5)][_0x37a4c7(0x206)](this);return _0x1eeb09['_data']=this[_0x37a4c7(0x22e)]['clone'](),_0x1eeb09;},'_minBufferSize':0x0});_0x40bc36[_0x5564af(0x405)]=_0xac4bd6['extend']({'cfg':_0x278754[_0x5564af(0x37e)](),'init':function(_0x4a8613){var _0x27a534=_0x5564af;this[_0x27a534(0x406)]=this['cfg'][_0x27a534(0x37e)](_0x4a8613),this[_0x27a534(0x1ea)]();},'reset':function(){var _0x14c8c5=_0x5564af;_0xac4bd6[_0x14c8c5(0x1ea)]['call'](this),this[_0x14c8c5(0x291)]();},'update':function(_0x3e33b0){return this['_append'](_0x3e33b0),this['_process'](),this;},'finalize':function(_0x4cd0b8){var _0x315cde=_0x5564af;_0x4cd0b8&&this[_0x315cde(0x2b4)](_0x4cd0b8);var _0x5adef1=this[_0x315cde(0x2f9)]();return _0x5adef1;},'blockSize':0x10,'_createHelper':function(_0x7e506f){return function(_0x50ba99,_0x3ee3ad){var _0x53c457=_0x28c4;return new _0x7e506f[(_0x53c457(0x258))](_0x3ee3ad)[_0x53c457(0x417)](_0x50ba99);};},'_createHmacHelper':function(_0x3ffe57){return function(_0x12dcbd,_0x4c51fe){var _0x376d24=_0x28c4;return new _0x2f3080['HMAC'][(_0x376d24(0x258))](_0x3ffe57,_0x4c51fe)[_0x376d24(0x417)](_0x12dcbd);};}});var _0x2f3080=_0x5ead82['algo']={};return _0x5ead82;}(Math);return _0x133517;}));}(Ge)),Ge[_0x17e771(0x2c0)];}var We={'exports':{}},_n=We[_0x259c74(0x2c0)],zt;function Ri(){return zt||(zt=0x1,function(_0x546749,_0x554adb){(function(_0x447167,_0x3b6ad0){var _0x1f84e6=_0x28c4;_0x546749[_0x1f84e6(0x2c0)]=_0x3b6ad0(ie());}(_n,function(_0x1d90e1){var _0x465e79=_0x28c4;return(function(){var _0x221030=_0x28c4,_0x293411=_0x1d90e1,_0x466d77=_0x293411[_0x221030(0x2b3)],_0x4b98c6=_0x466d77[_0x221030(0x3b2)],_0xab57a7=_0x293411[_0x221030(0x3b8)];_0xab57a7[_0x221030(0x252)]={'stringify':function(_0x2c6993){var _0x4576ac=_0x221030,_0xd3c4f9=_0x2c6993[_0x4576ac(0x41e)],_0x207105=_0x2c6993[_0x4576ac(0x3f9)],_0x30ed5c=this[_0x4576ac(0x400)];_0x2c6993[_0x4576ac(0x1b7)]();for(var _0x578eba=[],_0x28d8fa=0x0;_0x28d8fa<_0x207105;_0x28d8fa+=0x3)for(var _0x4fa90a=_0xd3c4f9[_0x28d8fa>>>0x2]>>>0x18-_0x28d8fa%0x4*0x8&0xff,_0x59b74f=_0xd3c4f9[_0x28d8fa+0x1>>>0x2]>>>0x18-(_0x28d8fa+0x1)%0x4*0x8&0xff,_0x322924=_0xd3c4f9[_0x28d8fa+0x2>>>0x2]>>>0x18-(_0x28d8fa+0x2)%0x4*0x8&0xff,_0x3f3ade=_0x4fa90a<<0x10|_0x59b74f<<0x8|_0x322924,_0x49f107=0x0;_0x49f107<0x4&&_0x28d8fa+_0x49f107*0.75<_0x207105;_0x49f107++)_0x578eba[_0x4576ac(0x2c3)](_0x30ed5c[_0x4576ac(0x311)](_0x3f3ade>>>0x6*(0x3-_0x49f107)&0x3f));var _0x1be966=_0x30ed5c['charAt'](0x40);if(_0x1be966){for(;_0x578eba[_0x4576ac(0x418)]%0x4;)_0x578eba[_0x4576ac(0x2c3)](_0x1be966);}return _0x578eba['join']('');},'parse':function(_0x45a152){var _0x2e0c27=_0x221030,_0x3d9076=_0x45a152['length'],_0xfeb58a=this[_0x2e0c27(0x400)],_0x92fbd0=this[_0x2e0c27(0x437)];if(!_0x92fbd0){_0x92fbd0=this['_reverseMap']=[];for(var _0x452b67=0x0;_0x452b67<_0xfeb58a[_0x2e0c27(0x418)];_0x452b67++)_0x92fbd0[_0xfeb58a['charCodeAt'](_0x452b67)]=_0x452b67;}var _0x47b628=_0xfeb58a[_0x2e0c27(0x311)](0x40);if(_0x47b628){var _0x15066d=_0x45a152['indexOf'](_0x47b628);_0x15066d!==-0x1&&(_0x3d9076=_0x15066d);}return _0x41fb82(_0x45a152,_0x3d9076,_0x92fbd0);},'_map':_0x221030(0x379)};function _0x41fb82(_0x30b190,_0x364298,_0x333e39){var _0x1fbcfa=_0x221030;for(var _0x54a306=[],_0x24bf56=0x0,_0x1756d4=0x0;_0x1756d4<_0x364298;_0x1756d4++)if(_0x1756d4%0x4){var _0x3ca3d1=_0x333e39[_0x30b190[_0x1fbcfa(0x1d6)](_0x1756d4-0x1)]<<_0x1756d4%0x4*0x2,_0x3ba8cc=_0x333e39[_0x30b190[_0x1fbcfa(0x1d6)](_0x1756d4)]>>>0x6-_0x1756d4%0x4*0x2,_0x161107=_0x3ca3d1|_0x3ba8cc;_0x54a306[_0x24bf56>>>0x2]|=_0x161107<<0x18-_0x24bf56%0x4*0x8,_0x24bf56++;}return _0x4b98c6[_0x1fbcfa(0x41c)](_0x54a306,_0x24bf56);}}()),_0x1d90e1[_0x465e79(0x3b8)]['Base64'];}));}(We)),We['exports'];}var Ye={'exports':{}},hn=Ye[_0x259c74(0x2c0)],Jt;function ln(){var _0x56b50c=_0x259c74;return Jt||(Jt=0x1,function(_0x3aec70,_0x5558f2){(function(_0x50c65d,_0x5146ca){var _0x404254=_0x28c4;_0x3aec70[_0x404254(0x2c0)]=_0x5146ca(ie());}(hn,function(_0x3d6fef){var _0x24a2b5=_0x28c4;return function(_0x5b21aa){var _0x54cec4=_0x28c4,_0x50641a=_0x3d6fef,_0x40ea06=_0x50641a['lib'],_0x4c9c88=_0x40ea06[_0x54cec4(0x3b2)],_0x1995ae=_0x40ea06[_0x54cec4(0x405)],_0x2f7166=_0x50641a[_0x54cec4(0x3f1)],_0x5525d3=[];(function(){var _0x32e0ef=_0x54cec4;for(var _0x3b99d3=0x0;_0x3b99d3<0x40;_0x3b99d3++)_0x5525d3[_0x3b99d3]=_0x5b21aa[_0x32e0ef(0x2b7)](_0x5b21aa[_0x32e0ef(0x274)](_0x3b99d3+0x1))*0x100000000|0x0;}());var _0x141690=_0x2f7166['MD5']=_0x1995ae[_0x54cec4(0x37e)]({'_doReset':function(){var _0x358f03=_0x54cec4;this['_hash']=new _0x4c9c88[(_0x358f03(0x258))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3a4d59,_0x788299){var _0xdd61fe=_0x54cec4;for(var _0x2ce5be=0x0;_0x2ce5be<0x10;_0x2ce5be++){var _0x46b94a=_0x788299+_0x2ce5be,_0x35507d=_0x3a4d59[_0x46b94a];_0x3a4d59[_0x46b94a]=(_0x35507d<<0x8|_0x35507d>>>0x18)&0xff00ff|(_0x35507d<<0x18|_0x35507d>>>0x8)&0xff00ff00;}var _0x252e73=this[_0xdd61fe(0x45e)][_0xdd61fe(0x41e)],_0x250f3e=_0x3a4d59[_0x788299+0x0],_0x275414=_0x3a4d59[_0x788299+0x1],_0x10b6a0=_0x3a4d59[_0x788299+0x2],_0x33963a=_0x3a4d59[_0x788299+0x3],_0x1a264b=_0x3a4d59[_0x788299+0x4],_0x1f408a=_0x3a4d59[_0x788299+0x5],_0x4a68fe=_0x3a4d59[_0x788299+0x6],_0x9552e2=_0x3a4d59[_0x788299+0x7],_0x53a606=_0x3a4d59[_0x788299+0x8],_0x816909=_0x3a4d59[_0x788299+0x9],_0x417af0=_0x3a4d59[_0x788299+0xa],_0x2f086f=_0x3a4d59[_0x788299+0xb],_0x2a99fb=_0x3a4d59[_0x788299+0xc],_0x8f55a9=_0x3a4d59[_0x788299+0xd],_0x632c65=_0x3a4d59[_0x788299+0xe],_0x59dd30=_0x3a4d59[_0x788299+0xf],_0x456e2d=_0x252e73[0x0],_0x1a4582=_0x252e73[0x1],_0x4ae558=_0x252e73[0x2],_0x222350=_0x252e73[0x3];_0x456e2d=_0x1a1628(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x250f3e,0x7,_0x5525d3[0x0]),_0x222350=_0x1a1628(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x275414,0xc,_0x5525d3[0x1]),_0x4ae558=_0x1a1628(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x10b6a0,0x11,_0x5525d3[0x2]),_0x1a4582=_0x1a1628(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x33963a,0x16,_0x5525d3[0x3]),_0x456e2d=_0x1a1628(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x1a264b,0x7,_0x5525d3[0x4]),_0x222350=_0x1a1628(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x1f408a,0xc,_0x5525d3[0x5]),_0x4ae558=_0x1a1628(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x4a68fe,0x11,_0x5525d3[0x6]),_0x1a4582=_0x1a1628(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x9552e2,0x16,_0x5525d3[0x7]),_0x456e2d=_0x1a1628(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x53a606,0x7,_0x5525d3[0x8]),_0x222350=_0x1a1628(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x816909,0xc,_0x5525d3[0x9]),_0x4ae558=_0x1a1628(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x417af0,0x11,_0x5525d3[0xa]),_0x1a4582=_0x1a1628(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x2f086f,0x16,_0x5525d3[0xb]),_0x456e2d=_0x1a1628(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x2a99fb,0x7,_0x5525d3[0xc]),_0x222350=_0x1a1628(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x8f55a9,0xc,_0x5525d3[0xd]),_0x4ae558=_0x1a1628(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x632c65,0x11,_0x5525d3[0xe]),_0x1a4582=_0x1a1628(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x59dd30,0x16,_0x5525d3[0xf]),_0x456e2d=_0x3a9085(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x275414,0x5,_0x5525d3[0x10]),_0x222350=_0x3a9085(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x4a68fe,0x9,_0x5525d3[0x11]),_0x4ae558=_0x3a9085(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x2f086f,0xe,_0x5525d3[0x12]),_0x1a4582=_0x3a9085(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x250f3e,0x14,_0x5525d3[0x13]),_0x456e2d=_0x3a9085(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x1f408a,0x5,_0x5525d3[0x14]),_0x222350=_0x3a9085(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x417af0,0x9,_0x5525d3[0x15]),_0x4ae558=_0x3a9085(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x59dd30,0xe,_0x5525d3[0x16]),_0x1a4582=_0x3a9085(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x1a264b,0x14,_0x5525d3[0x17]),_0x456e2d=_0x3a9085(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x816909,0x5,_0x5525d3[0x18]),_0x222350=_0x3a9085(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x632c65,0x9,_0x5525d3[0x19]),_0x4ae558=_0x3a9085(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x33963a,0xe,_0x5525d3[0x1a]),_0x1a4582=_0x3a9085(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x53a606,0x14,_0x5525d3[0x1b]),_0x456e2d=_0x3a9085(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x8f55a9,0x5,_0x5525d3[0x1c]),_0x222350=_0x3a9085(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x10b6a0,0x9,_0x5525d3[0x1d]),_0x4ae558=_0x3a9085(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x9552e2,0xe,_0x5525d3[0x1e]),_0x1a4582=_0x3a9085(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x2a99fb,0x14,_0x5525d3[0x1f]),_0x456e2d=_0x3c4871(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x1f408a,0x4,_0x5525d3[0x20]),_0x222350=_0x3c4871(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x53a606,0xb,_0x5525d3[0x21]),_0x4ae558=_0x3c4871(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x2f086f,0x10,_0x5525d3[0x22]),_0x1a4582=_0x3c4871(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x632c65,0x17,_0x5525d3[0x23]),_0x456e2d=_0x3c4871(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x275414,0x4,_0x5525d3[0x24]),_0x222350=_0x3c4871(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x1a264b,0xb,_0x5525d3[0x25]),_0x4ae558=_0x3c4871(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x9552e2,0x10,_0x5525d3[0x26]),_0x1a4582=_0x3c4871(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x417af0,0x17,_0x5525d3[0x27]),_0x456e2d=_0x3c4871(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x8f55a9,0x4,_0x5525d3[0x28]),_0x222350=_0x3c4871(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x250f3e,0xb,_0x5525d3[0x29]),_0x4ae558=_0x3c4871(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x33963a,0x10,_0x5525d3[0x2a]),_0x1a4582=_0x3c4871(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x4a68fe,0x17,_0x5525d3[0x2b]),_0x456e2d=_0x3c4871(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x816909,0x4,_0x5525d3[0x2c]),_0x222350=_0x3c4871(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x2a99fb,0xb,_0x5525d3[0x2d]),_0x4ae558=_0x3c4871(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x59dd30,0x10,_0x5525d3[0x2e]),_0x1a4582=_0x3c4871(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x10b6a0,0x17,_0x5525d3[0x2f]),_0x456e2d=_0xeace27(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x250f3e,0x6,_0x5525d3[0x30]),_0x222350=_0xeace27(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x9552e2,0xa,_0x5525d3[0x31]),_0x4ae558=_0xeace27(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x632c65,0xf,_0x5525d3[0x32]),_0x1a4582=_0xeace27(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x1f408a,0x15,_0x5525d3[0x33]),_0x456e2d=_0xeace27(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x2a99fb,0x6,_0x5525d3[0x34]),_0x222350=_0xeace27(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x33963a,0xa,_0x5525d3[0x35]),_0x4ae558=_0xeace27(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x417af0,0xf,_0x5525d3[0x36]),_0x1a4582=_0xeace27(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x275414,0x15,_0x5525d3[0x37]),_0x456e2d=_0xeace27(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x53a606,0x6,_0x5525d3[0x38]),_0x222350=_0xeace27(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x59dd30,0xa,_0x5525d3[0x39]),_0x4ae558=_0xeace27(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x4a68fe,0xf,_0x5525d3[0x3a]),_0x1a4582=_0xeace27(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x8f55a9,0x15,_0x5525d3[0x3b]),_0x456e2d=_0xeace27(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x1a264b,0x6,_0x5525d3[0x3c]),_0x222350=_0xeace27(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x2f086f,0xa,_0x5525d3[0x3d]),_0x4ae558=_0xeace27(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x10b6a0,0xf,_0x5525d3[0x3e]),_0x1a4582=_0xeace27(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x816909,0x15,_0x5525d3[0x3f]),_0x252e73[0x0]=_0x252e73[0x0]+_0x456e2d|0x0,_0x252e73[0x1]=_0x252e73[0x1]+_0x1a4582|0x0,_0x252e73[0x2]=_0x252e73[0x2]+_0x4ae558|0x0,_0x252e73[0x3]=_0x252e73[0x3]+_0x222350|0x0;},'_doFinalize':function(){var _0x286940=_0x54cec4,_0x7e9e9=this['_data'],_0x4c1232=_0x7e9e9[_0x286940(0x41e)],_0x41da46=this['_nDataBytes']*0x8,_0x1af083=_0x7e9e9['sigBytes']*0x8;_0x4c1232[_0x1af083>>>0x5]|=0x80<<0x18-_0x1af083%0x20;var _0x4abc3a=_0x5b21aa[_0x286940(0x1cc)](_0x41da46/0x100000000),_0x16c4ab=_0x41da46;_0x4c1232[(_0x1af083+0x40>>>0x9<<0x4)+0xf]=(_0x4abc3a<<0x8|_0x4abc3a>>>0x18)&0xff00ff|(_0x4abc3a<<0x18|_0x4abc3a>>>0x8)&0xff00ff00,_0x4c1232[(_0x1af083+0x40>>>0x9<<0x4)+0xe]=(_0x16c4ab<<0x8|_0x16c4ab>>>0x18)&0xff00ff|(_0x16c4ab<<0x18|_0x16c4ab>>>0x8)&0xff00ff00,_0x7e9e9[_0x286940(0x3f9)]=(_0x4c1232['length']+0x1)*0x4,this[_0x286940(0x1bb)]();for(var _0x30734f=this[_0x286940(0x45e)],_0x5976ea=_0x30734f[_0x286940(0x41e)],_0x201caf=0x0;_0x201caf<0x4;_0x201caf++){var _0x28011d=_0x5976ea[_0x201caf];_0x5976ea[_0x201caf]=(_0x28011d<<0x8|_0x28011d>>>0x18)&0xff00ff|(_0x28011d<<0x18|_0x28011d>>>0x8)&0xff00ff00;}return _0x30734f;},'clone':function(){var _0x2c5036=_0x54cec4,_0x15b2dc=_0x1995ae[_0x2c5036(0x3a5)]['call'](this);return _0x15b2dc['_hash']=this[_0x2c5036(0x45e)]['clone'](),_0x15b2dc;}});function _0x1a1628(_0x2ddc4c,_0x10e692,_0x504bf1,_0x38dad8,_0x35e16f,_0x21368b,_0x529c8a){var _0x273749=_0x2ddc4c+(_0x10e692&_0x504bf1|~_0x10e692&_0x38dad8)+_0x35e16f+_0x529c8a;return(_0x273749<<_0x21368b|_0x273749>>>0x20-_0x21368b)+_0x10e692;}function _0x3a9085(_0x327c74,_0x593562,_0x4edae1,_0x183bda,_0x18a450,_0x4daaa1,_0x5a8e73){var _0x1c6e95=_0x327c74+(_0x593562&_0x183bda|_0x4edae1&~_0x183bda)+_0x18a450+_0x5a8e73;return(_0x1c6e95<<_0x4daaa1|_0x1c6e95>>>0x20-_0x4daaa1)+_0x593562;}function _0x3c4871(_0xb9a018,_0x58be17,_0x2174e6,_0x592e51,_0x47b4b6,_0x73c546,_0x3ff601){var _0x5079e4=_0xb9a018+(_0x58be17^_0x2174e6^_0x592e51)+_0x47b4b6+_0x3ff601;return(_0x5079e4<<_0x73c546|_0x5079e4>>>0x20-_0x73c546)+_0x58be17;}function _0xeace27(_0x8ebc05,_0x36144a,_0xc17654,_0x3a38cc,_0x1b9cc1,_0x478370,_0x42e69c){var _0x59c9c6=_0x8ebc05+(_0xc17654^(_0x36144a|~_0x3a38cc))+_0x1b9cc1+_0x42e69c;return(_0x59c9c6<<_0x478370|_0x59c9c6>>>0x20-_0x478370)+_0x36144a;}_0x50641a[_0x54cec4(0x1f5)]=_0x1995ae[_0x54cec4(0x187)](_0x141690),_0x50641a[_0x54cec4(0x30e)]=_0x1995ae[_0x54cec4(0x338)](_0x141690);}(Math),_0x3d6fef[_0x24a2b5(0x1f5)];}));}(Ye)),Ye[_0x56b50c(0x2c0)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x259c74(0x2c0)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x122c1a,_0x1e31db){(function(_0x3948fb,_0x3c0209){var _0x412764=_0x28c4;_0x122c1a[_0x412764(0x2c0)]=_0x3c0209(ie());}(un,function(_0x581f6f){var _0x1091a1=_0x28c4;return(function(){var _0x1faaea=_0x28c4,_0x27bf7b=_0x581f6f,_0x416003=_0x27bf7b[_0x1faaea(0x2b3)],_0x2e2221=_0x416003[_0x1faaea(0x3b2)],_0x12faf3=_0x416003['Hasher'],_0x3f02ed=_0x27bf7b[_0x1faaea(0x3f1)],_0x20166c=[],_0x1e50fa=_0x3f02ed[_0x1faaea(0x1cd)]=_0x12faf3[_0x1faaea(0x37e)]({'_doReset':function(){var _0x2ea31b=_0x1faaea;this[_0x2ea31b(0x45e)]=new _0x2e2221[(_0x2ea31b(0x258))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x42d3f8,_0x242328){var _0x35f940=_0x1faaea;for(var _0x286d54=this[_0x35f940(0x45e)]['words'],_0x4d1826=_0x286d54[0x0],_0x445120=_0x286d54[0x1],_0x29abdc=_0x286d54[0x2],_0x4db413=_0x286d54[0x3],_0x2470fe=_0x286d54[0x4],_0x392bc2=0x0;_0x392bc2<0x50;_0x392bc2++){if(_0x392bc2<0x10)_0x20166c[_0x392bc2]=_0x42d3f8[_0x242328+_0x392bc2]|0x0;else{var _0x1a9973=_0x20166c[_0x392bc2-0x3]^_0x20166c[_0x392bc2-0x8]^_0x20166c[_0x392bc2-0xe]^_0x20166c[_0x392bc2-0x10];_0x20166c[_0x392bc2]=_0x1a9973<<0x1|_0x1a9973>>>0x1f;}var _0x169502=(_0x4d1826<<0x5|_0x4d1826>>>0x1b)+_0x2470fe+_0x20166c[_0x392bc2];_0x392bc2<0x14?_0x169502+=(_0x445120&_0x29abdc|~_0x445120&_0x4db413)+0x5a827999:_0x392bc2<0x28?_0x169502+=(_0x445120^_0x29abdc^_0x4db413)+0x6ed9eba1:_0x392bc2<0x3c?_0x169502+=(_0x445120&_0x29abdc|_0x445120&_0x4db413|_0x29abdc&_0x4db413)-0x70e44324:_0x169502+=(_0x445120^_0x29abdc^_0x4db413)-0x359d3e2a,_0x2470fe=_0x4db413,_0x4db413=_0x29abdc,_0x29abdc=_0x445120<<0x1e|_0x445120>>>0x2,_0x445120=_0x4d1826,_0x4d1826=_0x169502;}_0x286d54[0x0]=_0x286d54[0x0]+_0x4d1826|0x0,_0x286d54[0x1]=_0x286d54[0x1]+_0x445120|0x0,_0x286d54[0x2]=_0x286d54[0x2]+_0x29abdc|0x0,_0x286d54[0x3]=_0x286d54[0x3]+_0x4db413|0x0,_0x286d54[0x4]=_0x286d54[0x4]+_0x2470fe|0x0;},'_doFinalize':function(){var _0xdc7111=_0x1faaea,_0x5058e3=this[_0xdc7111(0x22e)],_0x1c9e86=_0x5058e3[_0xdc7111(0x41e)],_0x319fc7=this[_0xdc7111(0x326)]*0x8,_0x24d05e=_0x5058e3[_0xdc7111(0x3f9)]*0x8;return _0x1c9e86[_0x24d05e>>>0x5]|=0x80<<0x18-_0x24d05e%0x20,_0x1c9e86[(_0x24d05e+0x40>>>0x9<<0x4)+0xe]=Math[_0xdc7111(0x1cc)](_0x319fc7/0x100000000),_0x1c9e86[(_0x24d05e+0x40>>>0x9<<0x4)+0xf]=_0x319fc7,_0x5058e3['sigBytes']=_0x1c9e86[_0xdc7111(0x418)]*0x4,this[_0xdc7111(0x1bb)](),this[_0xdc7111(0x45e)];},'clone':function(){var _0x1b432e=_0x1faaea,_0x3e1c6a=_0x12faf3[_0x1b432e(0x3a5)]['call'](this);return _0x3e1c6a[_0x1b432e(0x45e)]=this['_hash'][_0x1b432e(0x3a5)](),_0x3e1c6a;}});_0x27bf7b[_0x1faaea(0x1cd)]=_0x12faf3[_0x1faaea(0x187)](_0x1e50fa),_0x27bf7b['HmacSHA1']=_0x12faf3[_0x1faaea(0x338)](_0x1e50fa);}()),_0x581f6f[_0x1091a1(0x1cd)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){var _0x2358b4=_0x259c74;return Zt||(Zt=0x1,function(_0x3f28e9,_0x2f8d1c){(function(_0x29f422,_0x24170f){var _0x23e43e=_0x28c4;_0x3f28e9[_0x23e43e(0x2c0)]=_0x24170f(ie());}(fn,function(_0x461a37){(function(){var _0x340c21=_0x28c4,_0x509cc0=_0x461a37,_0xe45cac=_0x509cc0[_0x340c21(0x2b3)],_0x77411=_0xe45cac[_0x340c21(0x2a4)],_0x21d4e5=_0x509cc0['enc'],_0x352066=_0x21d4e5['Utf8'],_0x113343=_0x509cc0[_0x340c21(0x3f1)];_0x113343[_0x340c21(0x2f0)]=_0x77411[_0x340c21(0x37e)]({'init':function(_0x5bd91a,_0x417a96){var _0x5cf35c=_0x340c21;_0x5bd91a=this[_0x5cf35c(0x244)]=new _0x5bd91a[(_0x5cf35c(0x258))](),typeof _0x417a96==_0x5cf35c(0x380)&&(_0x417a96=_0x352066[_0x5cf35c(0x1e8)](_0x417a96));var _0x45309f=_0x5bd91a[_0x5cf35c(0x3fe)],_0x1f4b05=_0x45309f*0x4;_0x417a96['sigBytes']>_0x1f4b05&&(_0x417a96=_0x5bd91a[_0x5cf35c(0x417)](_0x417a96)),_0x417a96['clamp']();for(var _0x590348=this[_0x5cf35c(0x2e3)]=_0x417a96[_0x5cf35c(0x3a5)](),_0x11378c=this['_iKey']=_0x417a96[_0x5cf35c(0x3a5)](),_0x58d90c=_0x590348[_0x5cf35c(0x41e)],_0x459774=_0x11378c['words'],_0x476e73=0x0;_0x476e73<_0x45309f;_0x476e73++)_0x58d90c[_0x476e73]^=0x5c5c5c5c,_0x459774[_0x476e73]^=0x36363636;_0x590348['sigBytes']=_0x11378c[_0x5cf35c(0x3f9)]=_0x1f4b05,this[_0x5cf35c(0x1ea)]();},'reset':function(){var _0x2e8e1c=_0x340c21,_0xefb63d=this[_0x2e8e1c(0x244)];_0xefb63d[_0x2e8e1c(0x1ea)](),_0xefb63d[_0x2e8e1c(0x33d)](this['_iKey']);},'update':function(_0x9b1ef9){var _0x15ada2=_0x340c21;return this[_0x15ada2(0x244)]['update'](_0x9b1ef9),this;},'finalize':function(_0x2922d0){var _0x1a1369=_0x340c21,_0x39fb55=this['_hasher'],_0x2e5ad5=_0x39fb55[_0x1a1369(0x417)](_0x2922d0);_0x39fb55[_0x1a1369(0x1ea)]();var _0x566cb6=_0x39fb55['finalize'](this[_0x1a1369(0x2e3)][_0x1a1369(0x3a5)]()[_0x1a1369(0x2f1)](_0x2e5ad5));return _0x566cb6;}});}());}));}(ze)),ze[_0x2358b4(0x2c0)];}var pn=Ke[_0x259c74(0x2c0)],Qt;function Ci(){return Qt||(Qt=0x1,function(_0x47c0f2,_0x53659d){(function(_0x26bfb4,_0x17eb30,_0x5240fa){var _0x48d6aa=_0x28c4;_0x47c0f2[_0x48d6aa(0x2c0)]=_0x17eb30(ie(),dn(),vn());}(pn,function(_0x11c7c2){var _0x42a7ff=_0x28c4;return(function(){var _0x803651=_0x28c4,_0x3e1818=_0x11c7c2,_0x5eb952=_0x3e1818['lib'],_0x23fec5=_0x5eb952['Base'],_0x23a6c1=_0x5eb952[_0x803651(0x3b2)],_0x5cdb46=_0x3e1818[_0x803651(0x3f1)],_0x430f21=_0x5cdb46[_0x803651(0x1f5)],_0x28ed07=_0x5cdb46[_0x803651(0x228)]=_0x23fec5[_0x803651(0x37e)]({'cfg':_0x23fec5['extend']({'keySize':0x80/0x20,'hasher':_0x430f21,'iterations':0x1}),'init':function(_0x548e84){var _0x3066bc=_0x803651;this['cfg']=this['cfg'][_0x3066bc(0x37e)](_0x548e84);},'compute':function(_0x398d5d,_0x430c7b){var _0x43ef42=_0x803651;for(var _0x498bc1,_0x56d9be=this[_0x43ef42(0x406)],_0x1cebe5=_0x56d9be[_0x43ef42(0x21a)]['create'](),_0x289cb4=_0x23a6c1[_0x43ef42(0x41c)](),_0x591181=_0x289cb4[_0x43ef42(0x41e)],_0x2f2928=_0x56d9be[_0x43ef42(0x306)],_0x5783a6=_0x56d9be[_0x43ef42(0x2fe)];_0x591181[_0x43ef42(0x418)]<_0x2f2928;){_0x498bc1&&_0x1cebe5[_0x43ef42(0x33d)](_0x498bc1),_0x498bc1=_0x1cebe5[_0x43ef42(0x33d)](_0x398d5d)['finalize'](_0x430c7b),_0x1cebe5['reset']();for(var _0x153b10=0x1;_0x153b10<_0x5783a6;_0x153b10++)_0x498bc1=_0x1cebe5[_0x43ef42(0x417)](_0x498bc1),_0x1cebe5[_0x43ef42(0x1ea)]();_0x289cb4[_0x43ef42(0x2f1)](_0x498bc1);}return _0x289cb4[_0x43ef42(0x3f9)]=_0x2f2928*0x4,_0x289cb4;}});_0x3e1818[_0x803651(0x228)]=function(_0x2842d8,_0x5cac9a,_0x11b6c4){var _0x3fb993=_0x803651;return _0x28ed07[_0x3fb993(0x41c)](_0x11b6c4)[_0x3fb993(0x340)](_0x2842d8,_0x5cac9a);};}()),_0x11c7c2[_0x42a7ff(0x228)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},En=Je[_0x259c74(0x2c0)],ei;function Ni(){return ei||(ei=0x1,function(_0xf665da,_0x5aedf1){(function(_0x493d52,_0x1bb7d9,_0x128f5d){var _0x366a0c=_0x28c4;_0xf665da[_0x366a0c(0x2c0)]=_0x1bb7d9(ie(),Ci());}(En,function(_0x1b82ac){var _0x1f0969=_0x28c4;_0x1b82ac[_0x1f0969(0x2b3)]['Cipher']||function(_0x24c7b3){var _0x3f9516=_0x1f0969,_0x2ad463=_0x1b82ac,_0x55a09b=_0x2ad463[_0x3f9516(0x2b3)],_0x13b15f=_0x55a09b[_0x3f9516(0x2a4)],_0x5b025d=_0x55a09b[_0x3f9516(0x3b2)],_0x4e34bf=_0x55a09b[_0x3f9516(0x203)],_0x265b56=_0x2ad463['enc'];_0x265b56['Utf8'];var _0x5d46b6=_0x265b56['Base64'],_0x2d93a3=_0x2ad463['algo'],_0x56ed3b=_0x2d93a3['EvpKDF'],_0x5032cc=_0x55a09b[_0x3f9516(0x3eb)]=_0x4e34bf[_0x3f9516(0x37e)]({'cfg':_0x13b15f[_0x3f9516(0x37e)](),'createEncryptor':function(_0x3e7e4a,_0x54e552){var _0x597209=_0x3f9516;return this[_0x597209(0x41c)](this[_0x597209(0x191)],_0x3e7e4a,_0x54e552);},'createDecryptor':function(_0x1b0129,_0x282408){var _0x38f51c=_0x3f9516;return this[_0x38f51c(0x41c)](this['_DEC_XFORM_MODE'],_0x1b0129,_0x282408);},'init':function(_0x5f4350,_0x329a70,_0x51f947){var _0x3ad3fd=_0x3f9516;this['cfg']=this[_0x3ad3fd(0x406)]['extend'](_0x51f947),this[_0x3ad3fd(0x416)]=_0x5f4350,this[_0x3ad3fd(0x1e9)]=_0x329a70,this[_0x3ad3fd(0x1ea)]();},'reset':function(){var _0xd6989=_0x3f9516;_0x4e34bf[_0xd6989(0x1ea)]['call'](this),this[_0xd6989(0x291)]();},'process':function(_0x40db61){var _0x516d0a=_0x3f9516;return this[_0x516d0a(0x2b4)](_0x40db61),this[_0x516d0a(0x1bb)]();},'finalize':function(_0x78f76b){var _0x3ea63b=_0x3f9516;_0x78f76b&&this[_0x3ea63b(0x2b4)](_0x78f76b);var _0x199fa8=this['_doFinalize']();return _0x199fa8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xfe655c(_0x80f716){var _0x341847=_0x28c4;return typeof _0x80f716==_0x341847(0x380)?_0x59f695:_0x57252a;}return function(_0x3998cd){return{'encrypt':function(_0x57378e,_0x148080,_0x232ee8){return _0xfe655c(_0x148080)['encrypt'](_0x3998cd,_0x57378e,_0x148080,_0x232ee8);},'decrypt':function(_0xb379a6,_0x3f1176,_0x266a12){return _0xfe655c(_0x3f1176)['decrypt'](_0x3998cd,_0xb379a6,_0x3f1176,_0x266a12);}};};}())});_0x55a09b[_0x3f9516(0x283)]=_0x5032cc['extend']({'_doFinalize':function(){var _0x139b21=this['_process'](!0x0);return _0x139b21;},'blockSize':0x1});var _0x792a83=_0x2ad463[_0x3f9516(0x2a6)]={},_0x5ef953=_0x55a09b[_0x3f9516(0x2d9)]=_0x13b15f[_0x3f9516(0x37e)]({'createEncryptor':function(_0x3f2072,_0x50782e){var _0x2eb630=_0x3f9516;return this[_0x2eb630(0x21c)][_0x2eb630(0x41c)](_0x3f2072,_0x50782e);},'createDecryptor':function(_0xfb658f,_0x45c73b){var _0x5b5047=_0x3f9516;return this[_0x5b5047(0x27c)][_0x5b5047(0x41c)](_0xfb658f,_0x45c73b);},'init':function(_0x10c191,_0xdc0491){this['_cipher']=_0x10c191,this['_iv']=_0xdc0491;}}),_0x263866=_0x792a83[_0x3f9516(0x2cc)]=(function(){var _0x222d75=_0x3f9516,_0x16d1ca=_0x5ef953['extend']();_0x16d1ca[_0x222d75(0x21c)]=_0x16d1ca['extend']({'processBlock':function(_0x752a16,_0x5aac0d){var _0x4ce692=_0x222d75,_0x5ac5dc=this['_cipher'],_0x509a28=_0x5ac5dc['blockSize'];_0xe83cf1[_0x4ce692(0x206)](this,_0x752a16,_0x5aac0d,_0x509a28),_0x5ac5dc[_0x4ce692(0x38c)](_0x752a16,_0x5aac0d),this['_prevBlock']=_0x752a16[_0x4ce692(0x17d)](_0x5aac0d,_0x5aac0d+_0x509a28);}}),_0x16d1ca[_0x222d75(0x27c)]=_0x16d1ca['extend']({'processBlock':function(_0x27cd20,_0x1fa7d9){var _0xcdafce=_0x222d75,_0x1d1289=this[_0xcdafce(0x1dc)],_0x248f3f=_0x1d1289[_0xcdafce(0x3fe)],_0x47ab58=_0x27cd20[_0xcdafce(0x17d)](_0x1fa7d9,_0x1fa7d9+_0x248f3f);_0x1d1289[_0xcdafce(0x2f6)](_0x27cd20,_0x1fa7d9),_0xe83cf1[_0xcdafce(0x206)](this,_0x27cd20,_0x1fa7d9,_0x248f3f),this['_prevBlock']=_0x47ab58;}});function _0xe83cf1(_0x45c6ab,_0x5237a1,_0x2f4c02){var _0x243921=_0x222d75,_0xa84e41,_0x5bae73=this[_0x243921(0x42c)];_0x5bae73?(_0xa84e41=_0x5bae73,this[_0x243921(0x42c)]=_0x24c7b3):_0xa84e41=this[_0x243921(0x461)];for(var _0x22a128=0x0;_0x22a128<_0x2f4c02;_0x22a128++)_0x45c6ab[_0x5237a1+_0x22a128]^=_0xa84e41[_0x22a128];}return _0x16d1ca;}()),_0xb701ad=_0x2ad463[_0x3f9516(0x43a)]={},_0x47c379=_0xb701ad[_0x3f9516(0x3d5)]={'pad':function(_0x22d0e0,_0x32260e){var _0x1dc000=_0x3f9516;for(var _0x20c001=_0x32260e*0x4,_0x5f39ec=_0x20c001-_0x22d0e0[_0x1dc000(0x3f9)]%_0x20c001,_0x378c3f=_0x5f39ec<<0x18|_0x5f39ec<<0x10|_0x5f39ec<<0x8|_0x5f39ec,_0x5eb7ac=[],_0x1015e2=0x0;_0x1015e2<_0x5f39ec;_0x1015e2+=0x4)_0x5eb7ac[_0x1dc000(0x2c3)](_0x378c3f);var _0x4fdae5=_0x5b025d[_0x1dc000(0x41c)](_0x5eb7ac,_0x5f39ec);_0x22d0e0[_0x1dc000(0x2f1)](_0x4fdae5);},'unpad':function(_0x1c3eb5){var _0x47a1ac=_0x3f9516,_0x310315=_0x1c3eb5[_0x47a1ac(0x41e)][_0x1c3eb5[_0x47a1ac(0x3f9)]-0x1>>>0x2]&0xff;_0x1c3eb5[_0x47a1ac(0x3f9)]-=_0x310315;}};_0x55a09b['BlockCipher']=_0x5032cc[_0x3f9516(0x37e)]({'cfg':_0x5032cc[_0x3f9516(0x406)][_0x3f9516(0x37e)]({'mode':_0x263866,'padding':_0x47c379}),'reset':function(){var _0x289738=_0x3f9516,_0x3e9b6c;_0x5032cc[_0x289738(0x1ea)][_0x289738(0x206)](this);var _0x4d9e14=this[_0x289738(0x406)],_0xb73cf4=_0x4d9e14['iv'],_0x48ec72=_0x4d9e14['mode'];this[_0x289738(0x416)]==this[_0x289738(0x191)]?_0x3e9b6c=_0x48ec72[_0x289738(0x2ee)]:(_0x3e9b6c=_0x48ec72['createDecryptor'],this[_0x289738(0x1ec)]=0x1),this['_mode']&&this[_0x289738(0x1f4)][_0x289738(0x337)]==_0x3e9b6c?this[_0x289738(0x1f4)][_0x289738(0x258)](this,_0xb73cf4&&_0xb73cf4['words']):(this[_0x289738(0x1f4)]=_0x3e9b6c[_0x289738(0x206)](_0x48ec72,this,_0xb73cf4&&_0xb73cf4[_0x289738(0x41e)]),this['_mode']['__creator']=_0x3e9b6c);},'_doProcessBlock':function(_0x5745ea,_0x4fa0cc){var _0xe5bd9c=_0x3f9516;this[_0xe5bd9c(0x1f4)][_0xe5bd9c(0x2e6)](_0x5745ea,_0x4fa0cc);},'_doFinalize':function(){var _0xaa0a4e=_0x3f9516,_0x368bcc,_0x3c7df1=this['cfg'][_0xaa0a4e(0x3ff)];return this['_xformMode']==this[_0xaa0a4e(0x191)]?(_0x3c7df1['pad'](this['_data'],this['blockSize']),_0x368bcc=this[_0xaa0a4e(0x1bb)](!0x0)):(_0x368bcc=this[_0xaa0a4e(0x1bb)](!0x0),_0x3c7df1['unpad'](_0x368bcc)),_0x368bcc;},'blockSize':0x80/0x20});var _0x42f322=_0x55a09b['CipherParams']=_0x13b15f[_0x3f9516(0x37e)]({'init':function(_0x5cc5c6){this['mixIn'](_0x5cc5c6);},'toString':function(_0x19b0e4){var _0xcb47fe=_0x3f9516;return(_0x19b0e4||this[_0xcb47fe(0x325)])[_0xcb47fe(0x2a5)](this);}}),_0x43069a=_0x2ad463[_0x3f9516(0x3ae)]={},_0x528035=_0x43069a['OpenSSL']={'stringify':function(_0xb3b8fb){var _0x475428=_0x3f9516,_0x35044c,_0x303f6e=_0xb3b8fb['ciphertext'],_0x4fc48b=_0xb3b8fb['salt'];return _0x4fc48b?_0x35044c=_0x5b025d[_0x475428(0x41c)]([0x53616c74,0x65645f5f])[_0x475428(0x2f1)](_0x4fc48b)[_0x475428(0x2f1)](_0x303f6e):_0x35044c=_0x303f6e,_0x35044c[_0x475428(0x174)](_0x5d46b6);},'parse':function(_0x545c42){var _0x253972=_0x3f9516,_0x19d562,_0x4a4815=_0x5d46b6[_0x253972(0x1e8)](_0x545c42),_0x50d40f=_0x4a4815['words'];return _0x50d40f[0x0]==0x53616c74&&_0x50d40f[0x1]==0x65645f5f&&(_0x19d562=_0x5b025d[_0x253972(0x41c)](_0x50d40f['slice'](0x2,0x4)),_0x50d40f['splice'](0x0,0x4),_0x4a4815['sigBytes']-=0x10),_0x42f322[_0x253972(0x41c)]({'ciphertext':_0x4a4815,'salt':_0x19d562});}},_0x57252a=_0x55a09b['SerializableCipher']=_0x13b15f[_0x3f9516(0x37e)]({'cfg':_0x13b15f[_0x3f9516(0x37e)]({'format':_0x528035}),'encrypt':function(_0x2187da,_0x304610,_0x4bcf3b,_0x102135){var _0x427e59=_0x3f9516;_0x102135=this[_0x427e59(0x406)][_0x427e59(0x37e)](_0x102135);var _0xec5028=_0x2187da['createEncryptor'](_0x4bcf3b,_0x102135),_0x769029=_0xec5028[_0x427e59(0x417)](_0x304610),_0x231dde=_0xec5028['cfg'];return _0x42f322[_0x427e59(0x41c)]({'ciphertext':_0x769029,'key':_0x4bcf3b,'iv':_0x231dde['iv'],'algorithm':_0x2187da,'mode':_0x231dde['mode'],'padding':_0x231dde[_0x427e59(0x3ff)],'blockSize':_0x2187da[_0x427e59(0x3fe)],'formatter':_0x102135[_0x427e59(0x3ae)]});},'decrypt':function(_0x5f023c,_0x3dd517,_0x212c2d,_0x1da1b6){var _0x8420af=_0x3f9516;_0x1da1b6=this['cfg'][_0x8420af(0x37e)](_0x1da1b6),_0x3dd517=this[_0x8420af(0x472)](_0x3dd517,_0x1da1b6[_0x8420af(0x3ae)]);var _0x34feb6=_0x5f023c['createDecryptor'](_0x212c2d,_0x1da1b6)['finalize'](_0x3dd517[_0x8420af(0x452)]);return _0x34feb6;},'_parse':function(_0xe068a,_0x33cc28){var _0x2fbd10=_0x3f9516;return typeof _0xe068a==_0x2fbd10(0x380)?_0x33cc28[_0x2fbd10(0x1e8)](_0xe068a,this):_0xe068a;}}),_0x254e34=_0x2ad463['kdf']={},_0x3d37c3=_0x254e34['OpenSSL']={'execute':function(_0x3d0ff0,_0x29c4ac,_0x10e39d,_0x2d4b7c,_0x1a8aba){var _0x238ac8=_0x3f9516;if(_0x2d4b7c||(_0x2d4b7c=_0x5b025d['random'](0x40/0x8)),_0x1a8aba)var _0x19d069=_0x56ed3b[_0x238ac8(0x41c)]({'keySize':_0x29c4ac+_0x10e39d,'hasher':_0x1a8aba})[_0x238ac8(0x340)](_0x3d0ff0,_0x2d4b7c);else var _0x19d069=_0x56ed3b[_0x238ac8(0x41c)]({'keySize':_0x29c4ac+_0x10e39d})[_0x238ac8(0x340)](_0x3d0ff0,_0x2d4b7c);var _0x1d81f3=_0x5b025d['create'](_0x19d069['words'][_0x238ac8(0x17d)](_0x29c4ac),_0x10e39d*0x4);return _0x19d069[_0x238ac8(0x3f9)]=_0x29c4ac*0x4,_0x42f322['create']({'key':_0x19d069,'iv':_0x1d81f3,'salt':_0x2d4b7c});}},_0x59f695=_0x55a09b['PasswordBasedCipher']=_0x57252a['extend']({'cfg':_0x57252a['cfg'][_0x3f9516(0x37e)]({'kdf':_0x3d37c3}),'encrypt':function(_0x52a4cc,_0x40638d,_0xab55f4,_0xc8ca62){var _0xec6af5=_0x3f9516;_0xc8ca62=this[_0xec6af5(0x406)][_0xec6af5(0x37e)](_0xc8ca62);var _0x21cd80=_0xc8ca62['kdf'][_0xec6af5(0x29f)](_0xab55f4,_0x52a4cc[_0xec6af5(0x306)],_0x52a4cc[_0xec6af5(0x20e)],_0xc8ca62[_0xec6af5(0x27a)],_0xc8ca62[_0xec6af5(0x21a)]);_0xc8ca62['iv']=_0x21cd80['iv'];var _0x53b8b7=_0x57252a['encrypt']['call'](this,_0x52a4cc,_0x40638d,_0x21cd80[_0xec6af5(0x35a)],_0xc8ca62);return _0x53b8b7['mixIn'](_0x21cd80),_0x53b8b7;},'decrypt':function(_0x8f687f,_0x4b6229,_0x25f141,_0x31eee1){var _0x1f957b=_0x3f9516;_0x31eee1=this['cfg'][_0x1f957b(0x37e)](_0x31eee1),_0x4b6229=this['_parse'](_0x4b6229,_0x31eee1[_0x1f957b(0x3ae)]);var _0x5f4ea7=_0x31eee1[_0x1f957b(0x2f7)][_0x1f957b(0x29f)](_0x25f141,_0x8f687f[_0x1f957b(0x306)],_0x8f687f[_0x1f957b(0x20e)],_0x4b6229[_0x1f957b(0x27a)],_0x31eee1[_0x1f957b(0x21a)]);_0x31eee1['iv']=_0x5f4ea7['iv'];var _0x486cf6=_0x57252a[_0x1f957b(0x22d)][_0x1f957b(0x206)](this,_0x8f687f,_0x4b6229,_0x5f4ea7[_0x1f957b(0x35a)],_0x31eee1);return _0x486cf6;}});}();}));}(Je)),Je['exports'];}var mn=Ve['exports'],ti;function In(){var _0x24144a=_0x259c74;return ti||(ti=0x1,function(_0x309e9c,_0x58bf05){(function(_0x1449c0,_0x39102a,_0x2e0f2a){var _0x33c17b=_0x28c4;_0x309e9c[_0x33c17b(0x2c0)]=_0x39102a(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x3905d1){var _0x25dc15=_0x28c4;return(function(){var _0x30cd60=_0x28c4,_0x5c58ee=_0x3905d1,_0xfd2153=_0x5c58ee['lib'],_0x41a209=_0xfd2153['BlockCipher'],_0x374cb0=_0x5c58ee[_0x30cd60(0x3f1)],_0x265899=[],_0x1135b8=[],_0x9f24c7=[],_0x3cde4a=[],_0xb7bde5=[],_0x5cb2c4=[],_0x42ce4c=[],_0x2e7a65=[],_0x535b64=[],_0x2be4f4=[];(function(){for(var _0x19deac=[],_0x1ff80c=0x0;_0x1ff80c<0x100;_0x1ff80c++)_0x1ff80c<0x80?_0x19deac[_0x1ff80c]=_0x1ff80c<<0x1:_0x19deac[_0x1ff80c]=_0x1ff80c<<0x1^0x11b;for(var _0x5a59ca=0x0,_0x33fad1=0x0,_0x1ff80c=0x0;_0x1ff80c<0x100;_0x1ff80c++){var _0x3b4c7f=_0x33fad1^_0x33fad1<<0x1^_0x33fad1<<0x2^_0x33fad1<<0x3^_0x33fad1<<0x4;_0x3b4c7f=_0x3b4c7f>>>0x8^_0x3b4c7f&0xff^0x63,_0x265899[_0x5a59ca]=_0x3b4c7f,_0x1135b8[_0x3b4c7f]=_0x5a59ca;var _0x1f5bff=_0x19deac[_0x5a59ca],_0x21f52d=_0x19deac[_0x1f5bff],_0x4535c=_0x19deac[_0x21f52d],_0x282fbf=_0x19deac[_0x3b4c7f]*0x101^_0x3b4c7f*0x1010100;_0x9f24c7[_0x5a59ca]=_0x282fbf<<0x18|_0x282fbf>>>0x8,_0x3cde4a[_0x5a59ca]=_0x282fbf<<0x10|_0x282fbf>>>0x10,_0xb7bde5[_0x5a59ca]=_0x282fbf<<0x8|_0x282fbf>>>0x18,_0x5cb2c4[_0x5a59ca]=_0x282fbf;var _0x282fbf=_0x4535c*0x1010101^_0x21f52d*0x10001^_0x1f5bff*0x101^_0x5a59ca*0x1010100;_0x42ce4c[_0x3b4c7f]=_0x282fbf<<0x18|_0x282fbf>>>0x8,_0x2e7a65[_0x3b4c7f]=_0x282fbf<<0x10|_0x282fbf>>>0x10,_0x535b64[_0x3b4c7f]=_0x282fbf<<0x8|_0x282fbf>>>0x18,_0x2be4f4[_0x3b4c7f]=_0x282fbf,_0x5a59ca?(_0x5a59ca=_0x1f5bff^_0x19deac[_0x19deac[_0x19deac[_0x4535c^_0x1f5bff]]],_0x33fad1^=_0x19deac[_0x19deac[_0x33fad1]]):_0x5a59ca=_0x33fad1=0x1;}}());var _0x139ad4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xe83d41=_0x374cb0[_0x30cd60(0x1d3)]=_0x41a209[_0x30cd60(0x37e)]({'_doReset':function(){var _0x1d5e77=_0x30cd60,_0x13992e;if(!(this[_0x1d5e77(0x32b)]&&this[_0x1d5e77(0x37c)]===this[_0x1d5e77(0x1e9)])){for(var _0x4f6e28=this['_keyPriorReset']=this[_0x1d5e77(0x1e9)],_0x409938=_0x4f6e28['words'],_0x20335c=_0x4f6e28[_0x1d5e77(0x3f9)]/0x4,_0x3b868c=this[_0x1d5e77(0x32b)]=_0x20335c+0x6,_0x44cba2=(_0x3b868c+0x1)*0x4,_0x1f0e14=this[_0x1d5e77(0x444)]=[],_0x15d6ee=0x0;_0x15d6ee<_0x44cba2;_0x15d6ee++)_0x15d6ee<_0x20335c?_0x1f0e14[_0x15d6ee]=_0x409938[_0x15d6ee]:(_0x13992e=_0x1f0e14[_0x15d6ee-0x1],_0x15d6ee%_0x20335c?_0x20335c>0x6&&_0x15d6ee%_0x20335c==0x4&&(_0x13992e=_0x265899[_0x13992e>>>0x18]<<0x18|_0x265899[_0x13992e>>>0x10&0xff]<<0x10|_0x265899[_0x13992e>>>0x8&0xff]<<0x8|_0x265899[_0x13992e&0xff]):(_0x13992e=_0x13992e<<0x8|_0x13992e>>>0x18,_0x13992e=_0x265899[_0x13992e>>>0x18]<<0x18|_0x265899[_0x13992e>>>0x10&0xff]<<0x10|_0x265899[_0x13992e>>>0x8&0xff]<<0x8|_0x265899[_0x13992e&0xff],_0x13992e^=_0x139ad4[_0x15d6ee/_0x20335c|0x0]<<0x18),_0x1f0e14[_0x15d6ee]=_0x1f0e14[_0x15d6ee-_0x20335c]^_0x13992e);for(var _0x55f086=this[_0x1d5e77(0x453)]=[],_0x4ee363=0x0;_0x4ee363<_0x44cba2;_0x4ee363++){var _0x15d6ee=_0x44cba2-_0x4ee363;if(_0x4ee363%0x4)var _0x13992e=_0x1f0e14[_0x15d6ee];else var _0x13992e=_0x1f0e14[_0x15d6ee-0x4];_0x4ee363<0x4||_0x15d6ee<=0x4?_0x55f086[_0x4ee363]=_0x13992e:_0x55f086[_0x4ee363]=_0x42ce4c[_0x265899[_0x13992e>>>0x18]]^_0x2e7a65[_0x265899[_0x13992e>>>0x10&0xff]]^_0x535b64[_0x265899[_0x13992e>>>0x8&0xff]]^_0x2be4f4[_0x265899[_0x13992e&0xff]];}}},'encryptBlock':function(_0x52ca12,_0xf08f37){var _0x5e7575=_0x30cd60;this[_0x5e7575(0x456)](_0x52ca12,_0xf08f37,this['_keySchedule'],_0x9f24c7,_0x3cde4a,_0xb7bde5,_0x5cb2c4,_0x265899);},'decryptBlock':function(_0x2f5c90,_0x200d00){var _0x485420=_0x30cd60,_0x3043f3=_0x2f5c90[_0x200d00+0x1];_0x2f5c90[_0x200d00+0x1]=_0x2f5c90[_0x200d00+0x3],_0x2f5c90[_0x200d00+0x3]=_0x3043f3,this[_0x485420(0x456)](_0x2f5c90,_0x200d00,this[_0x485420(0x453)],_0x42ce4c,_0x2e7a65,_0x535b64,_0x2be4f4,_0x1135b8);var _0x3043f3=_0x2f5c90[_0x200d00+0x1];_0x2f5c90[_0x200d00+0x1]=_0x2f5c90[_0x200d00+0x3],_0x2f5c90[_0x200d00+0x3]=_0x3043f3;},'_doCryptBlock':function(_0x26d5ce,_0xb7316b,_0x191f21,_0x4ff4e1,_0x3be058,_0x5b0796,_0x2d954a,_0x2aeda7){for(var _0x33121e=this['_nRounds'],_0x59b606=_0x26d5ce[_0xb7316b]^_0x191f21[0x0],_0x141697=_0x26d5ce[_0xb7316b+0x1]^_0x191f21[0x1],_0x12bde3=_0x26d5ce[_0xb7316b+0x2]^_0x191f21[0x2],_0x196cd6=_0x26d5ce[_0xb7316b+0x3]^_0x191f21[0x3],_0x160dc3=0x4,_0x817021=0x1;_0x817021<_0x33121e;_0x817021++){var _0x2d30fd=_0x4ff4e1[_0x59b606>>>0x18]^_0x3be058[_0x141697>>>0x10&0xff]^_0x5b0796[_0x12bde3>>>0x8&0xff]^_0x2d954a[_0x196cd6&0xff]^_0x191f21[_0x160dc3++],_0x2f39fc=_0x4ff4e1[_0x141697>>>0x18]^_0x3be058[_0x12bde3>>>0x10&0xff]^_0x5b0796[_0x196cd6>>>0x8&0xff]^_0x2d954a[_0x59b606&0xff]^_0x191f21[_0x160dc3++],_0x27e19a=_0x4ff4e1[_0x12bde3>>>0x18]^_0x3be058[_0x196cd6>>>0x10&0xff]^_0x5b0796[_0x59b606>>>0x8&0xff]^_0x2d954a[_0x141697&0xff]^_0x191f21[_0x160dc3++],_0x2f1c12=_0x4ff4e1[_0x196cd6>>>0x18]^_0x3be058[_0x59b606>>>0x10&0xff]^_0x5b0796[_0x141697>>>0x8&0xff]^_0x2d954a[_0x12bde3&0xff]^_0x191f21[_0x160dc3++];_0x59b606=_0x2d30fd,_0x141697=_0x2f39fc,_0x12bde3=_0x27e19a,_0x196cd6=_0x2f1c12;}var _0x2d30fd=(_0x2aeda7[_0x59b606>>>0x18]<<0x18|_0x2aeda7[_0x141697>>>0x10&0xff]<<0x10|_0x2aeda7[_0x12bde3>>>0x8&0xff]<<0x8|_0x2aeda7[_0x196cd6&0xff])^_0x191f21[_0x160dc3++],_0x2f39fc=(_0x2aeda7[_0x141697>>>0x18]<<0x18|_0x2aeda7[_0x12bde3>>>0x10&0xff]<<0x10|_0x2aeda7[_0x196cd6>>>0x8&0xff]<<0x8|_0x2aeda7[_0x59b606&0xff])^_0x191f21[_0x160dc3++],_0x27e19a=(_0x2aeda7[_0x12bde3>>>0x18]<<0x18|_0x2aeda7[_0x196cd6>>>0x10&0xff]<<0x10|_0x2aeda7[_0x59b606>>>0x8&0xff]<<0x8|_0x2aeda7[_0x141697&0xff])^_0x191f21[_0x160dc3++],_0x2f1c12=(_0x2aeda7[_0x196cd6>>>0x18]<<0x18|_0x2aeda7[_0x59b606>>>0x10&0xff]<<0x10|_0x2aeda7[_0x141697>>>0x8&0xff]<<0x8|_0x2aeda7[_0x12bde3&0xff])^_0x191f21[_0x160dc3++];_0x26d5ce[_0xb7316b]=_0x2d30fd,_0x26d5ce[_0xb7316b+0x1]=_0x2f39fc,_0x26d5ce[_0xb7316b+0x2]=_0x27e19a,_0x26d5ce[_0xb7316b+0x3]=_0x2f1c12;},'keySize':0x100/0x20});_0x5c58ee[_0x30cd60(0x1d3)]=_0x41a209[_0x30cd60(0x187)](_0xe83d41);}()),_0x3905d1[_0x25dc15(0x1d3)];}));}(Ve)),Ve[_0x24144a(0x2c0)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);function _0x54f2(){var _0x329459=['close','default','HttpExport','setConfig','unitId','keySize','unknown','_clearHeartbeatTimer','roomInfos','hasOwnProperty','UNIVER_COLLABORATION_CLIENT_PLUGIN','changesets','getCurrentUser','HmacMD5','get','image/jpg','charAt','save\x20fail\x20reason\x20is\x20','onTransformRemoteChangesetByStateCache','MUTATION','onCommentUpdate','_initMergeInterceptor','/resources','getFocusedUnit','min','patch','editingUnit','max','EMAIL_HAS_BEEN_BOUND','CHANGESET_ACK','CHANGESET_REVISION_CONFILICT','unitID','_stopTelemetryCollaborationNewChangeset','subscribe','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onRemoteRetry','formatter','_nDataBytes','saveSnapshot','_snapshotService','SUBMIT_CHANGESET','byteOffset','_nRounds','_sendHeartbeatTimer','transformChangesets','CURRENT_STATUS_CANNOT_OPERATE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','name','error','LOGIN_FAILED','HttpImport','getResourcesRequest','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_onUserJoin','__creator','_createHmacHelper','_HTTPService','Failed\x20to\x20update\x20permission\x20point','1354422kuMSXL','_transformStack','update','updateOfflineData','authzUrl','compute','awaiting_with_pending','LIVESHARE_TERMINATE','AUTHORIZE_CODE_ILLEGAL','origin','reverse','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_queuedRemoteChangesets','getRandomValues','failed\x20to\x20apply\x20missed\x20changesets!','substr','dispose','offline','onSyncEditingCollabCursor','_updateStatus','onRemoteChangeset','close$','set','deleteCollaborator','_tryReconnect','commentUpdateEvent','/universer-api/comb','[CollaborationState]:\x20apply\x20error!','fromCollab','35180CuJABD','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','key','GLOBAL_ROOMS_CNT_EXCEEDS','enableSingleActiveInstanceLock','msCrypto','getLatestCsReqIdBySid','csRejEvent','apply','UNISCRIPT_RUN','_commentService','_clearUndo','_collaborationPaused','findIndex','_sendingTimer','_transitionLocked','FETCH_MISS','disposeWithMe','entries','session.join-failed','_unlockTransition','HEARTBEAT','_status$','ERROR_EXCEED_SIZE','_getLoginPath','objects','_config','[CollaborationSession]','OPTIONAL','_initUnitPermissionChange','/block/','ceil','NOT_COLLAB','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_initDependencies','[CollaborationUndoRedoService]','_keyPriorReset','asObservable','extend','_removeRoom','string','forEach','localeService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','\x0aAfter:\x20','subject','_clearTimeoutTimer','then','_createInitialState','SUCCUSS','/universer-api/snapshot','_replaceFileID','encryptBlock','getValue','_transformStateCache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNKNOWN_CMD','YUUMI_NO_CUBOID_FOR_QUESTION','8236544aosXCQ','YUUMI_ASYNCIO_CANCELLED','ENSURE_SNAPSHOT_EXECUTION','getUnitId','pauseCollaboration','[FetchMissState]','random','_init','ClipsheetFragments','_disableEditing','getUnitStatus$','Error\x20on\x20receiving\x20event','_userManagerService','memberID','_awaitingChangeset','_sessionStatus$','YUUMI_SUBSCRIPTION_NOT_FOUND','startsWith','getMemberID','clone','_registerDependencies','_unitInfo$','&to=','randomBytes','_event$','NoPadding','_getUndoStack','getTime','format','onSendChangeset','_socket$','session.room-permission-denied','WordArray','body','_clearLocalCache','_onRecvEvent','PENDING','loadDoc','enc','&assign=','_telemetryInfo','_unitID','/universer-api/snapshot/','$super','COMPRESS_MUTATION_APPLY','signUrlServerUrl','_createHandler','UnitEmbedded','ws://127.0.0.1:8000/universer-api/comb/connect','post','readyForCollab','[UniverCollaborationClientPlugin]','USERS_LEAVE','ENTITLE_DUP_SUBSCRIPTION','75UckEQf','connection\x20error','_collaborationUIEventService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','mutations','encrypt','_sendHeartbeat','NOT_FOUND','open$','onCommandExecuted','onTransformSelections','996ASVYGM','_snapshotServerService','Pkcs7','routeKey','LICENSE_DISTRO_REJECTED','_exhaustRemoteChangesetQueue','_tryEnsureSocket','byteLength','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','objectType','onTransformRemoteChangesetByIMECache','onLocalMutation','REDEMPTION_USER_NOT_ELIGIBLE','setWaitCount','append','data','onTransformIME','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onRemoteRetry','resolve','function','[PendingState]:\x20received\x20rejection.','loadUnitOfRevision','Cipher','_checkMissing','UserProfileImg','ONLINE','socket\x20close','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','algo','allowed','APPLY_DUPLICATED','USERS_ENTER','_transformRemoteChangesetByStateCache','[SyncedState]:\x20received\x20acknowledgement.','[OfflineState]:\x20received\x20changeset.','prototype','sigBytes','addImageSourceCache','_acknowledgedAwaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_startCollaboration','blockSize','padding','_map','REDEMPTION_USER_REDEEM_TIMES_EXCEED','add','type','_getUploadFileURL','Hasher','cfg','executeCommand','message$','COMPRESS_MUTATION_SEND','22561stXsuZ','selections','USER_NOT_INVITED_CODE','_undoRedoService','6093UzaNFy','_commandService','Malformed\x20UTF-8\x20data','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getSendChangesetTimeout','getCollabEntity','UPDATE_CURSOR','UNAUTHENTICATED','_xformMode','finalize','length','CHANGESET_REJ','SHOULD_CLOSE_CONN','onTransformState','create','PY_RUNTIME_SCRIPT_ERROR','words','m2Prime','[CollaborationEntity]','file','_updateState','getCurrentRevOfUnit','not_collab','_singleActiveUnitService','_collaborationSessionService','UPDATE_PERMISSION_OBJ','updateCursorEvent','_onRemoteRejected','_collaborationTimeoutTimer','responseType','_iv','/object','POST','UNIVER_DOC','LIVESHARE_FETCH_OPERATIONS','awaiting','APPLY_REJECT','session','{fileID}','SOCKET_FAILED_RETRY','title','_reverseMap','enableCollaboration','UNIVER_SLIDE','pad','updateMember','location','now','LIVESHARE_REQUEST_HOST','list','toggleOffline','getWorkbookSelections','NEW_CHANGESETS','fetching\x20missing\x20changesets\x20from\x20','_keySchedule','state','YUUMI_RATE_OVER_LIMIT','UNDEFINED','debug','getSnapshotAPIPath','/universer-api/user/session-ticket','_handler','range','INTERNAL_ERROR','CHANGESET_SHOULD_RETRY','_rescheduleHeartbeat','_injector','_collabSessionService','ciphertext','_invKeySchedule','_candidateSocket','subUnitId','_doCryptBlock','getImage','REDEMPTION_CODE_NOT_STARTED','_state$','PERMISSION_REJ','batchAllowed','LICENSE_MAX_UNITS_EXCEEDED','_entityInit$','_hash','createInstance','onRemoteRej','_prevBlock','objectActions','ENTITLE_CHAT_LIMIT_EXCEED','LIVESHARE_OPERATION','_roomMembers','INGEST','INVITE_CODE_HAS_BEEN_UES','/-/object/list','enableAuthServer','[OfflineState]:\x20received\x20rejection.','[DataLoaderService]','submit\x20changeset\x20error!','capture','x-univer-host','_remoteChangesetQueue','avatar','_toggleOnline','_parse','params','_joinRoom','_listenToNetworkCondition','USER_NOT_FOUND','eventID','CONNECTOR_DATA_TOO_LARGE','JOIN_ROOM_FAILED','_startTelemetryCollaborationNewChangeset','_sheetTransformSelectionsService','c2Prime','\x20-\x20','objectID','LOGIN_TOKEN_PROCESSING_FAILED','MOBILE_VERIFY_CODE_MISMATCH','JOIN_ROOM_PERMISSION_DENIED','INVALID_ARGUMENT','toString','ERROR_IMAGE','sid','_clearRedo','addHandlerCallback','Undefined','_scheduleCompleteTimestamp','awaitingChangeset','conflict','slice','_onFetchMissResult','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','refreshPermission','/-/object/-/batch_allowed','fromCharCode','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ENTITLE_NEED_BILLING_ADDRESS','/unit/','APPLY_PERMISSION_DENIED','_createHelper','resourceIDs','clear','hostname','transformSelections','_createSocket','[CollaborationSessionService]:\x20socket\x20error','online$','updateSnapshot','textRanges','_ENC_XFORM_MODE','SOCKET_FAILED','stopTime','_initRequestHeader','transformMutationsWithChangeset','_instanceService','userID','_syncEditingCollabCursor','collaMsg','UNIVER_PROJECT','/allowed','find','UNIVER_SHEET','_state','PAYMENT_CHANNEL_NOT_SUPPORT','/collaborator','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','PERSON','INVALID_INVITE_CODE','univer-pro.collaboration-client-socket-service','OFFLINE','loadUnit','_pendingMutations','href','HEARTBEAT_TIMEOUT','RECV','actions','_socketMessageSubscription','_getCurrentRevision','map','resend','auth.needGotoLoginAlert','enableOfflineEditing','liveShareNewHost','override','session.room-full','isPermissionRej','_substituteUndoStack','clamp','_revisionService','joinRsp','getTypeOfUnitAdded$','_process','_onConflict','snapshot','getMember','getDeserializedSheetBlock','_onUserLeave','updatePermissionPoint','_onCombEvent','_getAPIPrefix','_onConnectionFailed','YUUMI_ALL_TABLES_IS_INVALID','collabWebSocketUrl','waitForRoom$','INVITE_CODE_REQUIRED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','filter','_getSignURL','floor','SHA1','_toggleOffline','EMAIL_VERIFY_CODE_MISMATCH','reconnect','_transformService','encode','AES','localCacheService','LIVESHARE_NEW_HOST','charCodeAt','headers','YUUMI_UNABLE_LOAD_URL','sessionStatus','_fetchMissChangesets','NO_OTHER_CLIENTS_EDITING','_cipher','snapshotServerUrl','delete','getAllMembers','getInterceptPoints','_handlerCallback','every','_onMessage','getCurrentSelections','JOIN_ROOM_FULL','entityInit$','_redoStacks','parse','_key','reset','_onConnectionOpen','_minBufferSize','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','PERMISSION_DENIED','incrementRevOfUnit','UUID','appendMutation','onRemoteAck','FileId','_mode','MD5','/universer-api/uniscript','_members','_resendWithTimeout','_getDownloadEndpointURL','rev','_sender','cmd','fetch_missing','_clearScheduledTask','YUUMI_CONNECTOR_URL_NOT_FOUND','LICENSE_IMPORT_SIZE_EXCEEDED','onlyLocal','_retryCount','BufferedBlockAlgorithm','roles','_resendTimeout','call','join','saveSheetBlock','fetchMiss','TOO_MANY_REQUESTS','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','c1Prime','ivSize','uniscriptRunEvent','next','_replayCachedMutations','size','JOIN','_applyRemoteChangeset','ENTITLE_CAN_NOT_BUY_LOWER_OTP','WECHAT_HAS_BEEN_BOUND','image/gif','YUUMI_URL_COL_OUT_OF_RANGE','event$','hasher','SNAPSHOT_INVALID_SNAPSHOT','Encryptor','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','1783149NsIZaE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','put','updatePermissionObjEvent','status','ALREADY_EXISTS','code','_memberService','/object/','unsubscribe','EvpKDF','_compressMutationService','symbol','dispose$','setShowComponents','decrypt','_data','_httpService','_scheduleCollaborationTimeoutTimer','splice','CLOSE_ROOM','permissionRejEvent','action','_initCloseConn','_executeRemoteChangeset','repeat','getSheetId','APPLY_NON_SEQUENTIAL_REVISION','OTHER_CLIENTS_EDITING','FAIL','getConfig','baseRev','buffer','_change$','send','members','onMissingChangesets','_shouldReportTelemetry','_hasher','isArray','Latin1','pending','_changesetReqId','univer-pro.collaboration-client.network-condition.service','[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.','_type','state$','loadOfflineData','src','catch','FETCH_MISSING','readAsDataURL','Base64','_onOffline','_telemetryService','editing\x20status\x20changed\x20to','onMissedChangesetFetched','_transformIMECache','init','INVITE_CODE_ALREADY_BOUND','removeMember','_substituteRedoStack','UNKNOWN_CODE','sessionStatus$','YUUMI_AI_RUN_FAILED','_doProcessBlock','REDEMPTION_INVALID_CODE','_commentUpdate$','LEAVE','_transformUndoredo','transformUndoRedo','_clearCollaborationTimeoutTimer','originalMeta','_isPermissionRej','getOwnPropertyDescriptor','/rev/','\x0aCurrent:\x20','JOIN_ROOM_NOT_EXISTS','sendChangesetTimeout','getTypeOfUnitDisposed$','interceptor','265964EZZuYc','_clearRetryConnectingTimer','reqId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Hex','sin','AWAITING','_waitForHeartbeatResponse','createSocket','readInt32LE','_createInitialStateImpl','salt','_imageSourceCache','Decryptor','result','Utf8','getUnit','getCollabEntity$','_members$','COMMENT_UPDATE','StreamCipher','_univerInstanceService','status$','fetchThroughInterceptors','_localeService','withCredentials','_undoStacks','JOINING','saveChangeset','fetchMissingChangesets','/universer-api/file/{fileID}/sign-url','revision','pipe','REDEMPTION_CODE_INACTIVE','_doReset','shouldCloseConn','url','IDLE','_onLocalMutation','liveShareOperation','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_entities','MSG_FOR_ERROR','_resendTimer','emitEvent','_logService','toggleOnline','_onJoinRoomEvent','execute','SUBMIT_CHANGESET_TIMEOUT','values','collaborators','_waitCount','Base','stringify','mode','LOCAL_CACHE_INTERVAL','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','People','copyFileMeta','PSEUDO_FETCH_MISSING_RESULT','_updateLocalCache','members$','_getAPIPrefixPath','_socketReady','_incrementRevisionNumber','collaboration_new_changeset','transformStack\x20failed!','lib','_append','OTHER_CLIENT_EDITING','crypto','abs','_permissionService','_decreaseWaiting','/new_changes','confirm','CONFLICT','reject','requestParams','onStateChange','exports','UnitSnapshot','synced','push','_onRemoteChangeset','requireSession','/fetchmissing?from=','Could\x20not\x20dynamically\x20require\x20\x22','_showConflictNotification','replace','image/jpeg','MOBILE_HAS_BEEN_BOUND','CBC','_networkConditionService','Univer','unitId\x20is\x20not\x20found','?url=','/universer-api/oidc/authpage','encodeURIComponent','getUnitOnRev','ERROR_AGAIN','updateCollaborator','getActiveSheet','_retryConnectingTimer','reduce','BlockCipherMode','_emitMembers','_timeoutTimer','has','closeSession','_getRedoStack','1642298jEhDBJ','_changesetSessionId','getSheetBlock','unit-cache-','_oKey','error$','listCollaborators','processBlock','BASE64','UNIVER_UNKNOWN','UNRECOGNIZED','ENTITLE_REPORT_LIMIT_EXCEED','_sessions','_configService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','createEncryptor','_lockTransition','HMAC','concat','_schedule','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSessionService]','_roomCreated$','decryptBlock','kdf','getUnitType','_doFinalize','_localCacheService','complete','HELLO','_socket','iterations','USER_IS_ANONYMOUS','/role'];_0x54f2=function(){return _0x329459;};return _0x54f2();}var Xe={'exports':{}},On=Xe[_0x259c74(0x2c0)],si;function Rn(){var _0x340c8e=_0x259c74;return si||(si=0x1,function(_0x2c5bb3,_0x12e910){(function(_0x45096e,_0x511035){_0x2c5bb3['exports']=_0x511035(ie());}(On,function(_0x2a04c2){var _0x6369f=_0x28c4;return _0x2a04c2[_0x6369f(0x3b8)]['Utf8'];}));}(Xe)),Xe[_0x340c8e(0x2c0)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x259c74(0x2c0)],ni;function Dn(){return ni||(ni=0x1,function(_0x325211,_0x3524be){(function(_0x313a29,_0x4caf91){var _0x1460ea=_0x28c4;_0x325211[_0x1460ea(0x2c0)]=_0x4caf91(ie());}(bn,function(_0x370be7){var _0x535b29=_0x28c4;return(function(){var _0x1ddb08=_0x28c4;if(typeof ArrayBuffer==_0x1ddb08(0x3e8)){var _0x30a70a=_0x370be7,_0x256387=_0x30a70a[_0x1ddb08(0x2b3)],_0x83e3d8=_0x256387[_0x1ddb08(0x3b2)],_0x311ca5=_0x83e3d8[_0x1ddb08(0x258)],_0x138ecf=_0x83e3d8[_0x1ddb08(0x258)]=function(_0x5a60a7){var _0x245761=_0x1ddb08;if(_0x5a60a7 instanceof ArrayBuffer&&(_0x5a60a7=new Uint8Array(_0x5a60a7)),(_0x5a60a7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5a60a7 instanceof Uint8ClampedArray||_0x5a60a7 instanceof Int16Array||_0x5a60a7 instanceof Uint16Array||_0x5a60a7 instanceof Int32Array||_0x5a60a7 instanceof Uint32Array||_0x5a60a7 instanceof Float32Array||_0x5a60a7 instanceof Float64Array)&&(_0x5a60a7=new Uint8Array(_0x5a60a7[_0x245761(0x23e)],_0x5a60a7[_0x245761(0x32a)],_0x5a60a7[_0x245761(0x3da)])),_0x5a60a7 instanceof Uint8Array){for(var _0x1adc45=_0x5a60a7[_0x245761(0x3da)],_0x150ecb=[],_0x3eaecc=0x0;_0x3eaecc<_0x1adc45;_0x3eaecc++)_0x150ecb[_0x3eaecc>>>0x2]|=_0x5a60a7[_0x3eaecc]<<0x18-_0x3eaecc%0x4*0x8;_0x311ca5[_0x245761(0x206)](this,_0x150ecb,_0x1adc45);}else _0x311ca5[_0x245761(0x360)](this,arguments);};_0x138ecf[_0x1ddb08(0x3f8)]=_0x83e3d8;}}()),_0x370be7[_0x535b29(0x2b3)][_0x535b29(0x3b2)];}));}(Ze)),Ze['exports'];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x259c74(0x2c0)],ri;function Pn(){return ri||(ri=0x1,function(_0x39bb15,_0x315529){(function(_0x113c05,_0x3ef85d,_0x35e3c8){var _0x45f28c=_0x28c4;_0x39bb15[_0x45f28c(0x2c0)]=_0x3ef85d(ie(),Ni());}(An,function(_0x9b0a41){var _0x166a79=_0x28c4;return _0x9b0a41[_0x166a79(0x43a)][_0x166a79(0x3ab)]={'pad':function(){},'unpad':function(){}},_0x9b0a41[_0x166a79(0x43a)][_0x166a79(0x3ab)];}));}(Qe)),Qe['exports'];}var wn=Pn();const Mn=$e(wn);function Ln(_0x2bb4b6,_0x4b359b){var _0x736e1b=_0x259c74;const _0x2365f6=_0x4b359b-_0x2bb4b6[_0x736e1b(0x418)]%_0x4b359b,_0x37a7fd=String[_0x736e1b(0x182)](_0x2365f6)[_0x736e1b(0x237)](_0x2365f6);return _0x2bb4b6+_0x37a7fd;}function xn(_0x13eb37,_0x2d3767){var _0x418cdf=_0x259c74;const _0x2d30db=Un[_0x418cdf(0x398)](0x10),_0x21586e=Ln(_0x13eb37,0x10),_0x5ba265=gn[_0x418cdf(0x3cd)](Nn[_0x418cdf(0x1e8)](_0x21586e),ii[_0x418cdf(0x1e8)](_0x2d3767),{'iv':_0x2d30db,'padding':Mn});return _0x2d30db[_0x418cdf(0x2f1)](_0x5ba265[_0x418cdf(0x452)])['toString'](ii);}function kn(){var _0x2e967b=_0x259c74;const _0x3b51b9=_0x429284()['__Key__'];if(_0x3b51b9){const _0x338dd0={'time':Math['floor'](Date[_0x2e967b(0x43d)]()/0x3e8),'domain':location[_0x2e967b(0x18a)]};return xn(JSON[_0x2e967b(0x2a5)](_0x338dd0),_0x3b51b9);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0xcd1ec9,_0x65150d,_0x190148,_0x492cad)=>{var _0x3bf35f=_0x259c74;for(var _0x237ee8=_0x492cad>0x1?void 0x0:_0x492cad?$n(_0x65150d,_0x190148):_0x65150d,_0x211ac7=_0xcd1ec9[_0x3bf35f(0x418)]-0x1,_0x414c89;_0x211ac7>=0x0;_0x211ac7--)(_0x414c89=_0xcd1ec9[_0x211ac7])&&(_0x237ee8=_0x414c89(_0x237ee8)||_0x237ee8);return _0x237ee8;},Bn=(_0x3ea29f,_0x54194f)=>(_0x21d305,_0x145e30)=>_0x54194f(_0x21d305,_0x145e30,_0x3ea29f);let at=class{constructor(_0x4ed8f7){var _0x43a53f=_0x259c74;this[_0x43a53f(0x22f)]=_0x4ed8f7,this[_0x43a53f(0x194)]();}['_initRequestHeader'](){var _0x485656=_0x259c74;this[_0x485656(0x22f)]['registerHTTPInterceptor']({'interceptor':(_0x5e9e5e,_0x239e6a)=>{var _0x2e30f1=_0x485656;const _0x6d9328=_0x5e9e5e[_0x2e30f1(0x1d7)],_0x293932=kn();return _0x293932&&_0x6d9328[_0x2e30f1(0x351)](_0x2e30f1(0x46e),_0x293932),_0x239e6a(_0x5e9e5e);}});}};at=Hn([Bn(0x0,_0x479712(_0x44cd1e))],at);var jn=Object[_0x259c74(0x268)],Fn=(_0x154d59,_0x1bb04d,_0x36c9b7,_0x381b44)=>{var _0x3e6baa=_0x259c74;for(var _0x823e0a=_0x381b44>0x1?void 0x0:_0x381b44?jn(_0x1bb04d,_0x36c9b7):_0x1bb04d,_0x4922e9=_0x154d59[_0x3e6baa(0x418)]-0x1,_0x389c23;_0x4922e9>=0x0;_0x4922e9--)(_0x389c23=_0x154d59[_0x4922e9])&&(_0x823e0a=_0x389c23(_0x823e0a)||_0x823e0a);return _0x823e0a;},vt=(_0x40c547,_0x95b5f8)=>(_0x42faa2,_0x3d7234)=>_0x95b5f8(_0x42faa2,_0x3d7234,_0x40c547);let Ot=class extends _0x271f03{constructor(_0x27d4a9,_0x179f4e,_0x57575d){var _0x4b984d=_0x259c74;super(),D(this,'_unitInfo$',new _0x5ac99c(null)),D(this,'unitInfo$',this[_0x4b984d(0x3a7)][_0x4b984d(0x37d)]()),(this[_0x4b984d(0x29c)]=_0x27d4a9,this[_0x4b984d(0x328)]=_0x179f4e,this['_localCacheService']=_0x57575d);}async[_0x259c74(0x3ea)](_0x3e4ad2,_0x570879,_0x3754db){var _0x5cf6ff=_0x259c74;this[_0x5cf6ff(0x3a7)][_0x5cf6ff(0x210)]({'unitId':_0x3e4ad2,'type':_0x570879});let _0x4845cd=null;switch(_0x570879){case Q[_0x5cf6ff(0x19d)]:{_0x4845cd=await this['_snapshotService']['loadSheet'](_0x3e4ad2,_0x3754db);break;}case Q[_0x5cf6ff(0x42f)]:{_0x4845cd=await this[_0x5cf6ff(0x328)][_0x5cf6ff(0x3b7)](_0x3e4ad2,_0x3754db);break;}default:{this[_0x5cf6ff(0x29c)][_0x5cf6ff(0x331)](_0x5cf6ff(0x46b),_0x5cf6ff(0x2f3));break;}}return _0x4845cd;}async[_0x259c74(0x1a6)](_0x32dd2f,_0x2557f7,_0x46fbdc){var _0x5dbf12=_0x259c74,_0x247c0f;this['_unitInfo$']['next']({'unitId':_0x32dd2f,'type':_0x2557f7,'subUnitId':_0x46fbdc});let _0x2bafbc=0x0;const _0xb3c5ef=await((_0x247c0f=this[_0x5dbf12(0x2fa)])==null?void 0x0:_0x247c0f[_0x5dbf12(0x24d)](_0x32dd2f));return _0xb3c5ef&&(_0xb3c5ef[_0x5dbf12(0x17b)]||_0xb3c5ef[_0x5dbf12(0x3cc)][_0x5dbf12(0x418)]!==0x0)&&(_0x2bafbc=_0xb3c5ef[_0x5dbf12(0x1fa)]),_0x2bafbc===0x0&&this[_0x5dbf12(0x29c)][_0x5dbf12(0x448)]('[DataLoaderService]',_0x5dbf12(0x2a8)),this[_0x5dbf12(0x3ea)](_0x32dd2f,_0x2557f7,_0x2bafbc);}};Ot=Fn([vt(0x0,_0x597a05),vt(0x1,_0x479712(_0x251112)),vt(0x2,_0xdd8f64(J))],Ot);var Vn=Object[_0x259c74(0x268)],Gn=(_0x4887fc,_0x33dbc7,_0x3de269,_0x1b9edb)=>{var _0x4e0bdb=_0x259c74;for(var _0x404879=_0x1b9edb>0x1?void 0x0:_0x1b9edb?Vn(_0x33dbc7,_0x3de269):_0x33dbc7,_0x48d280=_0x4887fc[_0x4e0bdb(0x418)]-0x1,_0x1371c1;_0x48d280>=0x0;_0x48d280--)(_0x1371c1=_0x4887fc[_0x48d280])&&(_0x404879=_0x1371c1(_0x404879)||_0x404879);return _0x404879;},pt=(_0xfb809d,_0x56bdda)=>(_0x47ac3e,_0x29f690)=>_0x56bdda(_0x47ac3e,_0x29f690,_0xfb809d);const Wn=['image/png',_0x259c74(0x2ca),_0x259c74(0x310),_0x259c74(0x217),'image/bmp'],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x259c74(0x28d);let Rt=class{constructor(_0x35bbc4,_0x206cfc,_0x3a742d){var _0x483bf1=_0x259c74;D(this,'_waitCount',0x0),D(this,_0x483bf1(0x23f),new _0x4fab98()),D(this,'change$',this[_0x483bf1(0x23f)]),D(this,_0x483bf1(0x27b),new Map()),(this[_0x483bf1(0x22f)]=_0x35bbc4,this['_configService']=_0x206cfc,this['_univerInstanceService']=_0x3a742d);}[_0x259c74(0x3e0)](_0x5c7fd1){var _0x244dd7=_0x259c74;this[_0x244dd7(0x2a3)]=_0x5c7fd1,this['_change$'][_0x244dd7(0x210)](_0x5c7fd1);}['getImageSourceCache'](_0x1de4dc,_0x450c29){var _0xc06dd1=_0x259c74;if(_0x450c29===_0x730ce6['BASE64']){const _0x5bea65=new Image();return _0x5bea65[_0xc06dd1(0x24e)]=_0x1de4dc,_0x5bea65;}return this[_0xc06dd1(0x27b)]['get'](_0x1de4dc);}[_0x259c74(0x3fa)](_0x10ec24,_0x4b452a,_0x5ce545){var _0x16c9bf=_0x259c74;_0x4b452a===_0x730ce6[_0x16c9bf(0x2e7)]||_0x5ce545==null||this[_0x16c9bf(0x27b)]['set'](_0x10ec24,_0x5ce545);}async[_0x259c74(0x457)](_0x2ffcb8){var _0x198a65=_0x259c74;try{const _0x53d44e=this[_0x198a65(0x38b)](this[_0x198a65(0x1cb)](),''+_0x2ffcb8),_0x3c45c0=(await this[_0x198a65(0x22f)][_0x198a65(0x30f)](_0x53d44e))[_0x198a65(0x3b3)];if(_0x3c45c0['error']&&_0x3c45c0[_0x198a65(0x331)][_0x198a65(0x224)]===vi['OK']){const _0x500edb=new URL(_0x3c45c0[_0x198a65(0x293)],this[_0x198a65(0x1f9)]())[_0x198a65(0x174)]();return Promise[_0x198a65(0x3e7)](_0x500edb);}return Promise['reject'](_0x3c45c0[_0x198a65(0x331)]);}catch(_0x51351e){return Promise[_0x198a65(0x2bd)](_0x51351e);}}async['saveImage'](_0x468324){var _0x9b23aa=_0x259c74;let _0x8ca0ae='';if(!Wn['includes'](_0x468324[_0x9b23aa(0x403)]))return this[_0x9b23aa(0x2b9)](),Promise[_0x9b23aa(0x2bd)](new Error(_0x44aa55['ERROR_IMAGE_TYPE']));if(_0x468324['size']>Yn)return this['_decreaseWaiting'](),Promise[_0x9b23aa(0x2bd)](new Error(_0x44aa55[_0x9b23aa(0x36f)]));try{const _0x2c3c4d=new FormData();_0x2c3c4d[_0x9b23aa(0x3e1)](_0x9b23aa(0x421),_0x468324);const _0x58c9d3=this['_univerInstanceService']['getFocusedUnit'](),_0x4a0701=_0x58c9d3==null?void 0x0:_0x58c9d3['getUnitId']();if(!_0x4a0701)throw new Error(_0x9b23aa(0x2cf));const _0x2f9939=this[_0x9b23aa(0x404)]()+'?size='+_0x468324['size'][_0x9b23aa(0x174)]()+'&source='+pi[_0x9b23aa(0x3c1)]+_0x9b23aa(0x3b9)+encodeURIComponent(_0x4a0701),_0x5c0aa8={'body':_0x2c3c4d},_0xed2f89=(await this[_0x9b23aa(0x22f)][_0x9b23aa(0x3c3)](_0x2f9939,_0x5c0aa8))['body'];if(typeof _0xed2f89['FileId']!=_0x9b23aa(0x380))return this[_0x9b23aa(0x2b9)](),Promise[_0x9b23aa(0x2bd)](new Error(_0x44aa55[_0x9b23aa(0x175)]));_0x8ca0ae=_0xed2f89[_0x9b23aa(0x1f3)];}catch{return this[_0x9b23aa(0x2b9)](),Promise[_0x9b23aa(0x2bd)](new Error(_0x44aa55['ERROR_IMAGE']));}return new Promise((_0x4941d2,_0x1b06dc)=>{var _0x16e5dc=_0x9b23aa;const _0x3883b2=new FileReader();_0x3883b2[_0x16e5dc(0x251)](_0x468324),_0x3883b2['onload']=_0x4440c8=>{var _0xfbe9fb=_0x16e5dc,_0x2afaf2;const _0x46f504=(_0x2afaf2=_0x4440c8['target'])==null?void 0x0:_0x2afaf2['result'];if(_0x46f504==null){this[_0xfbe9fb(0x2b9)](),_0x1b06dc(new Error(_0x44aa55[_0xfbe9fb(0x175)]));return;}const _0x5cf9a8=_0x1950d2(0x6);_0x4941d2({'imageId':_0x5cf9a8,'imageSourceType':_0x730ce6[_0xfbe9fb(0x1f0)],'source':_0x8ca0ae,'base64Cache':_0x46f504,'status':_0x44aa55[_0xfbe9fb(0x389)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x46c4fd=_0x259c74,_0x53d42f;const _0xee4bc6=this['_configService'][_0x46c4fd(0x23c)](K);return(_0x53d42f=_0xee4bc6==null?void 0x0:_0xee4bc6['uploadFileServerUrl'])!=null?_0x53d42f:Kn;}[_0x259c74(0x1cb)](){var _0x3cc94a=_0x259c74,_0x2e3498;const _0x198529=this['_configService'][_0x3cc94a(0x23c)](K);return(_0x2e3498=_0x198529==null?void 0x0:_0x198529[_0x3cc94a(0x3bf)])!=null?_0x2e3498:qn;}['_getDownloadEndpointURL'](){var _0x260376=_0x259c74,_0x208f81;const _0xcc5f91=this[_0x260376(0x2ec)][_0x260376(0x23c)](K);return(_0x208f81=_0xcc5f91==null?void 0x0:_0xcc5f91['downloadEndpointUrl'])!=null?_0x208f81:location[_0x260376(0x344)];}[_0x259c74(0x38b)](_0x46a54c,_0x4a9248){var _0x1f250d=_0x259c74;return _0x46a54c[_0x1f250d(0x2c9)](_0x1f250d(0x434),_0x4a9248);}['_decreaseWaiting'](){var _0x52b0b3=_0x259c74;this[_0x52b0b3(0x2a3)]-=0x1,this[_0x52b0b3(0x23f)][_0x52b0b3(0x210)](this['_waitCount']);}};Rt=Gn([pt(0x0,_0x479712(_0x44cd1e)),pt(0x1,_0x5dd738),pt(0x2,_0x479712(_0x2979fe))],Rt);var zn=Object[_0x259c74(0x268)],Jn=(_0x5d8b5c,_0x132f52,_0x438b68,_0x1edfe4)=>{var _0x5e3c17=_0x259c74;for(var _0x2478b8=_0x1edfe4>0x1?void 0x0:_0x1edfe4?zn(_0x132f52,_0x438b68):_0x132f52,_0x15525a=_0x5d8b5c[_0x5e3c17(0x418)]-0x1,_0x2e630b;_0x15525a>=0x0;_0x15525a--)(_0x2e630b=_0x5d8b5c[_0x15525a])&&(_0x2478b8=_0x2e630b(_0x2478b8)||_0x2478b8);return _0x2478b8;},ai=(_0x7a91f8,_0x1cc512)=>(_0xe0fc40,_0x241615)=>_0x1cc512(_0xe0fc40,_0x241615,_0x7a91f8);const Xn='/universer-api/authz';let Ct=class{constructor(_0x462763,_0x23b55f){var _0x3bf811=_0x259c74;this[_0x3bf811(0x2ec)]=_0x462763,this['_HTTPService']=_0x23b55f;}['_getAPIPrefixPath'](){var _0xb26ce7=_0x259c74,_0x141d3a;const _0x5fae2b=this[_0xb26ce7(0x2ec)][_0xb26ce7(0x23c)](K);return(_0x141d3a=_0x5fae2b==null?void 0x0:_0x5fae2b[_0xb26ce7(0x33f)])!=null?_0x141d3a:Xn;}async[_0x259c74(0x43f)](_0x45c8d6){var _0x3a7693=_0x259c74;const _0x3e02fb=this[_0x3a7693(0x2ae)]()+'/collaborator';return{'list':[{'title':_0x3a7693(0x2a9),'mentions':(await this['_HTTPService'][_0x3a7693(0x30f)](_0x3e02fb,{'params':{'objectID':_0x45c8d6[_0x3a7693(0x305)],'unitID':_0x45c8d6[_0x3a7693(0x305)]}}))[_0x3a7693(0x3b3)][_0x3a7693(0x2a2)][_0x3a7693(0x1ae)](_0x2bb254=>({'objectId':_0x2bb254['id'],'name':_0x2bb254[_0x3a7693(0x385)]['name'],'metadata':{'icon':_0x2bb254[_0x3a7693(0x385)][_0x3a7693(0x470)]},'label':_0x2bb254[_0x3a7693(0x385)]['name'],'objectType':_0x18ebcb[_0x3a7693(0x1a2)]})),'metadata':{},'type':_0x18ebcb[_0x3a7693(0x1a2)]}]};}};Ct=Jn([ai(0x0,_0x479712(_0x5dd738)),ai(0x1,_0x479712(_0x44cd1e))],Ct);var Zn=Object[_0x259c74(0x268)],Qn=(_0x257c2c,_0x50166a,_0x492ac9,_0x35b74e)=>{var _0x1cf271=_0x259c74;for(var _0x33909d=_0x35b74e>0x1?void 0x0:_0x35b74e?Zn(_0x50166a,_0x492ac9):_0x50166a,_0x22ea1a=_0x257c2c[_0x1cf271(0x418)]-0x1,_0x3e2616;_0x22ea1a>=0x0;_0x22ea1a--)(_0x3e2616=_0x257c2c[_0x22ea1a])&&(_0x33909d=_0x3e2616(_0x33909d)||_0x33909d);return _0x33909d;},Ue=(_0x42c93e,_0x1031cf)=>(_0x5041d1,_0x2d92be)=>_0x1031cf(_0x5041d1,_0x2d92be,_0x42c93e);let ot=class extends _0x271f03{constructor(_0x52a3d1,_0x8d94aa,_0x5105f4,_0x3a191b,_0x25e388){var _0x228f4f=_0x259c74;super(),this['_injector']=_0x52a3d1,this['_univerInstanceService']=_0x8d94aa,this[_0x228f4f(0x2b8)]=_0x5105f4,this['_collaborationSessionService']=_0x3a191b,this[_0x228f4f(0x3ca)]=_0x25e388,this[_0x228f4f(0x375)](),this[_0x228f4f(0x235)]();}['_initCloseConn'](){var _0xc1f783=_0x259c74;const _0xb6d458=async _0x4a3564=>{var _0x5a18f0=_0x28c4;(await this[_0x5a18f0(0x426)]['requireSession'](_0x4a3564))[_0x5a18f0(0x219)][_0x5a18f0(0x28f)](_0x21080c(_0x3b017d=>_0x3b017d[_0x5a18f0(0x168)]===_0x6aadf0[_0x5a18f0(0x41a)]),_0x28187(this[_0x5a18f0(0x22b)]))[_0x5a18f0(0x322)](_0x5e5844=>{var _0x1a4884=_0x5a18f0;const _0x5ab92e=_0x5e5844,{reason:_0x1de0f9}=_0x5ab92e[_0x1a4884(0x3e2)];this[_0x1a4884(0x3ca)]['emitEvent']({'id':re['CLOSE_ROOM'],'data':_0x1de0f9}),this[_0x1a4884(0x2b8)]['updatePermissionPoint'](new _0x2a9243(_0x4a3564)['id'],!0x1),this[_0x1a4884(0x426)][_0x1a4884(0x2dd)](_0x4a3564);});};_0x3142f5(this[_0xc1f783(0x284)][_0xc1f783(0x1ba)](_0x33434f['UNIVER_SHEET']),this['_univerInstanceService'][_0xc1f783(0x1ba)](_0x33434f[_0xc1f783(0x42f)]))[_0xc1f783(0x28f)](_0x56a673(_0x436696=>_0x436696[_0xc1f783(0x395)]()),_0x21080c(_0x1f8a50=>!_0x4fb1b7(_0x1f8a50)),_0x28187(this[_0xc1f783(0x22b)]))[_0xc1f783(0x322)](_0x233fc6=>{_0xb6d458(_0x233fc6);});}[_0x259c74(0x375)](){var _0x12ecd9=_0x259c74;const _0x2daf29=async _0x26260d=>{var _0x550645=_0x28c4;const _0x138237=await this[_0x550645(0x426)][_0x550645(0x2c5)](_0x26260d),_0x28d6f5=this[_0x550645(0x450)][_0x550645(0x30f)](_0x1da1b2);_0x138237[_0x550645(0x219)][_0x550645(0x28f)](_0x21080c(_0x252a52=>_0x252a52['eventID']===_0x6aadf0[_0x550645(0x427)]),_0x28187(this[_0x550645(0x22b)]))[_0x550645(0x322)](_0x2a253c=>{var _0x41a111=_0x550645;const _0x37638a=_0x2a253c,{objectId:_0x2c299a}=_0x37638a[_0x41a111(0x3e2)];_0x2c299a===_0x26260d?_0x28d6f5['initWorkbookPermissionChange'](_0x26260d):_0x28d6f5[_0x41a111(0x180)](_0x26260d,_0x2c299a);});};_0x3142f5(this['_univerInstanceService'][_0x12ecd9(0x1ba)](_0x33434f[_0x12ecd9(0x19d)]))[_0x12ecd9(0x28f)](_0x56a673(_0x46d322=>_0x46d322[_0x12ecd9(0x395)]()),_0x21080c(_0x4a4aac=>!_0x4fb1b7(_0x4a4aac)),_0x28187(this['dispose$']))[_0x12ecd9(0x322)](_0x4963c5=>{_0x2daf29(_0x4963c5);});}};ot=Qn([Ue(0x0,_0x479712(_0x27a1da)),Ue(0x1,_0x2979fe),Ue(0x2,_0x25e5b9),Ue(0x3,_0x479712(we)),Ue(0x4,_0x479712(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x3dabd7,_0x175bee,_0x378e07,_0x7a2804)=>{var _0xf459d0=_0x259c74;for(var _0x187991=_0x7a2804>0x1?void 0x0:_0x7a2804?er(_0x175bee,_0x378e07):_0x175bee,_0x1ebbbd=_0x3dabd7[_0xf459d0(0x418)]-0x1,_0x4d9187;_0x1ebbbd>=0x0;_0x1ebbbd--)(_0x4d9187=_0x3dabd7[_0x1ebbbd])&&(_0x187991=_0x4d9187(_0x187991)||_0x187991);return _0x187991;},oi=(_0x395f6b,_0x39e55a)=>(_0x1075b4,_0x4b23b3)=>_0x39e55a(_0x1075b4,_0x4b23b3,_0x395f6b);let Nt=class{constructor(_0x33d701,_0x36c720){var _0x193f74=_0x259c74;this[_0x193f74(0x2ec)]=_0x33d701,this['_httpService']=_0x36c720;}async[_0x259c74(0x2d3)](_0x36b2a2,_0x49b895){var _0xebe7e5=_0x259c74,_0x499ba7;const {unitID:_0x3529f4,type:_0x4e662d,revision:_0x22efcd=0x0}=_0x49b895,_0x260ce3=this['getSnapshotAPIPath']()+'/'+_0x4e662d+_0xebe7e5(0x185)+_0x3529f4+_0xebe7e5(0x269)+_0x22efcd,_0x3fceb9=(await this['_httpService'][_0xebe7e5(0x30f)](_0x260ce3))['body'],_0x55b2dd=(_0x499ba7=_0x3fceb9[_0xebe7e5(0x1bd)])==null?void 0x0:_0x499ba7['workbook'];if(_0x55b2dd){const _0x2c6bf0=_0x55b2dd==null?void 0x0:_0x55b2dd[_0xebe7e5(0x266)],_0x528870=_0x4970f8[_0xebe7e5(0x1d2)](_0x37b5a1(_0x2c6bf0));_0x55b2dd[_0xebe7e5(0x266)]=_0x528870,Object[_0xebe7e5(0x36a)](_0x55b2dd['sheets'])['forEach'](([,_0x4a75ca])=>{var _0x488fa0=_0xebe7e5;const _0x503d48=_0x4a75ca['originalMeta'],_0x5ca38f=_0x4970f8[_0x488fa0(0x1d2)](_0x37b5a1(_0x503d48));_0x4a75ca[_0x488fa0(0x266)]=_0x5ca38f;});}return _0x3fceb9;}async[_0x259c74(0x2e1)](_0x3c28ee,_0x2024c5){var _0x1a465f=_0x259c74;const {unitID:_0x1bdcd5,type:_0xfc4fc4,blockID:_0x37ba18}=_0x2024c5,_0x2d3344=this[_0x1a465f(0x1c3)]()+'/'+_0xfc4fc4+_0x1a465f(0x185)+_0x1bdcd5+_0x1a465f(0x376)+_0x37ba18;return(await this[_0x1a465f(0x22f)]['get'](_0x2d3344))['body'];}async[_0x259c74(0x1bf)](_0x34c537,_0x3f2775){var _0x581344=_0x259c74;const {unitID:_0x5adcd3,type:_0x51cd7c,blockID:_0x32ed85}=_0x3f2775,_0x4ff71d=this[_0x581344(0x1c3)]()+_0x581344(0x376)+_0x51cd7c+_0x581344(0x185)+_0x5adcd3+'/block/'+_0x32ed85;return(await this[_0x581344(0x22f)][_0x581344(0x30f)](_0x4ff71d))['body'];}async[_0x259c74(0x28c)](_0x2f2bb6,_0xa00640){var _0x5efcfe=_0x259c74;const {unitID:_0x5ebaaf,type:_0x11be7a,from:_0x23be58,to:_0x4a2414}=_0xa00640,_0x325752=this[_0x5efcfe(0x1c3)]()+'/'+_0x11be7a+'/unit/'+_0x5ebaaf+_0x5efcfe(0x2c6)+_0x23be58+_0x5efcfe(0x3a8)+_0x4a2414;return(await this[_0x5efcfe(0x22f)]['get'](_0x325752))['body'];}[_0x259c74(0x449)](){var _0x1bcdf6=_0x259c74,_0xd77814;return(_0xd77814=this[_0x1bcdf6(0x2ec)][_0x1bcdf6(0x23c)](vs))!=null?_0xd77814:this['_getAPIPrefix']();}[_0x259c74(0x1c3)](){var _0x4aa228=_0x259c74,_0xfbe61;const _0x55a8ec=this[_0x4aa228(0x2ec)]['getConfig'](K);return(_0xfbe61=_0x55a8ec==null?void 0x0:_0x55a8ec[_0x4aa228(0x1dd)])!=null?_0xfbe61:fs;}async[_0x259c74(0x334)](_0x389091,_0x4e2769){var _0x36bc24=_0x259c74;const _0x40c92a=_0x36bc24(0x3bc)+_0x4e2769[_0x36bc24(0x403)]+_0x36bc24(0x185)+_0x4e2769[_0x36bc24(0x320)]+_0x36bc24(0x317);return(await this[_0x36bc24(0x22f)][_0x36bc24(0x30f)](_0x40c92a,{'params':{'resourceId':JSON[_0x36bc24(0x2a5)](_0x4e2769[_0x36bc24(0x188)])}}))[_0x36bc24(0x3b3)];}[_0x259c74(0x327)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x259c74(0x18f)](){var _0x57d9fe=_0x259c74;throw new Error(_0x57d9fe(0x3f0));}[_0x259c74(0x208)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x259c74(0x28b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x259c74(0x2aa)](){var _0x215beb=_0x259c74;throw new Error(_0x215beb(0x3f0));}[_0x259c74(0x35e)](){var _0x3dc515=_0x259c74;throw new Error(_0x3dc515(0x3f0));}};Nt=tr([oi(0x0,_0x5dd738),oi(0x1,_0x479712(_0x44cd1e))],Nt);var ir=Object[_0x259c74(0x268)],sr=(_0x374a7a,_0x1b0109,_0xf332be,_0x2752d8)=>{for(var _0x5c5080=_0x2752d8>0x1?void 0x0:_0x2752d8?ir(_0x1b0109,_0xf332be):_0x1b0109,_0x32f7b6=_0x374a7a['length']-0x1,_0x185260;_0x32f7b6>=0x0;_0x32f7b6--)(_0x185260=_0x374a7a[_0x32f7b6])&&(_0x5c5080=_0x185260(_0x5c5080)||_0x5c5080);return _0x5c5080;},Ae=(_0x59bbbf,_0x7ef0c5)=>(_0x2417fe,_0x13593e)=>_0x7ef0c5(_0x2417fe,_0x13593e,_0x59bbbf);let bt=class extends _0xfac7b9{constructor(_0x28ed5b,_0xc116f3,_0x280d07,_0x57be95,_0x595eaa){var _0x5d4833=_0x259c74;super(_0x28ed5b,_0xc116f3,_0x280d07),this[_0x5d4833(0x1d1)]=_0x57be95,this[_0x5d4833(0x29c)]=_0x595eaa;}['transformUndoRedo'](_0x3c8e94,_0x359a20){var _0x29df7a=_0x259c74;const _0x1f857e=this[_0x29df7a(0x3ac)](_0x3c8e94);if(_0x1f857e)try{const _0x47b7ad=this[_0x29df7a(0x33c)](_0x1f857e,_0x359a20);this['_substituteUndoStack'](_0x3c8e94,_0x47b7ad);}catch(_0x46e8c1){this[_0x29df7a(0x29c)][_0x29df7a(0x331)](_0x29df7a(0x37b),_0x46e8c1),this[_0x29df7a(0x363)](_0x3c8e94);}const _0x173483=this['_getRedoStack'](_0x3c8e94);if(_0x173483)try{const _0xaa791a=this['_transformStack'](_0x173483,_0x359a20);this['_substituteRedoStack'](_0x3c8e94,_0xaa791a);}catch(_0x2f213b){this['_logService'][_0x29df7a(0x331)](_0x2f213b),this['_clearRedo'](_0x3c8e94);}}[_0x259c74(0x363)](_0x2034e4){var _0x18bb6e=_0x259c74;const _0x2f4560=this[_0x18bb6e(0x3ac)](_0x2034e4);_0x2f4560&&(_0x2f4560[_0x18bb6e(0x418)]=0x0,this['_updateStatus']());}[_0x259c74(0x177)](_0x45b745){var _0x214cc0=_0x259c74;const _0x33e7c0=this[_0x214cc0(0x2de)](_0x45b745);_0x33e7c0&&(_0x33e7c0['length']=0x0,this[_0x214cc0(0x34e)]());}[_0x259c74(0x1b6)](_0x326340,_0xa6318d){var _0x2322d2=_0x259c74;this[_0x2322d2(0x289)]['set'](_0x326340,_0xa6318d),this[_0x2322d2(0x34e)]();}[_0x259c74(0x25b)](_0xd3f125,_0x5ceb26){var _0x2ae873=_0x259c74;this[_0x2ae873(0x1e7)][_0x2ae873(0x351)](_0xd3f125,_0x5ceb26),this[_0x2ae873(0x34e)]();}['_transformStack'](_0x112718,_0x42d421){var _0x476029=_0x259c74;const _0x404baf=[];let _0x5137cb=_0x42d421,_0x1440e1=_0x42d421;for(let _0x5a02a3=_0x112718[_0x476029(0x418)]-0x1;_0x5a02a3>=0x0;_0x5a02a3--){const {unitID:_0xafbc14,undoMutations:_0x22e6cb,redoMutations:_0x48903a}=_0x112718[_0x5a02a3],_0x37d53e=this['_transformService']['transformMutationsWithChangeset'](_0x5137cb,_0x22e6cb),_0x20d4ae=this['_transformService']['transformMutationsWithChangeset'](_0x1440e1,_0x48903a);if(_0x322957(_0x37d53e)||_0x322957(_0x20d4ae)){this[_0x476029(0x29c)]['error'](_0x476029(0x37b),_0x476029(0x2b2),_0x37d53e,_0x20d4ae);break;}_0x5137cb=_0x37d53e[_0x476029(0x20d)],_0x1440e1=_0x20d4ae[_0x476029(0x20d)],_0x404baf[_0x476029(0x2c3)]({'unitID':_0xafbc14,'undoMutations':_0x37d53e[_0x476029(0x41f)],'redoMutations':_0x20d4ae['m2Prime']});}return _0x404baf[_0x476029(0x345)]();}};bt=sr([Ae(0x0,_0x2979fe),Ae(0x1,_0x50be79),Ae(0x2,_0x30d958),Ae(0x3,_0x363f26),Ae(0x4,_0x597a05)],bt);var nr=Object['defineProperty'],rr=Object[_0x259c74(0x268)],ar=(_0xa6e3e1,_0x4ab4e9,_0x8e5a06)=>_0x4ab4e9 in _0xa6e3e1?nr(_0xa6e3e1,_0x4ab4e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8e5a06}):_0xa6e3e1[_0x4ab4e9]=_0x8e5a06,or=(_0x596577,_0x48894f,_0xfd9072,_0x2ad662)=>{var _0x2b7429=_0x259c74;for(var _0x4fe1eb=_0x2ad662>0x1?void 0x0:_0x2ad662?rr(_0x48894f,_0xfd9072):_0x48894f,_0x2f4217=_0x596577[_0x2b7429(0x418)]-0x1,_0x1216f8;_0x2f4217>=0x0;_0x2f4217--)(_0x1216f8=_0x596577[_0x2f4217])&&(_0x4fe1eb=_0x1216f8(_0x4fe1eb)||_0x4fe1eb);return _0x4fe1eb;},Et=(_0x5b4199,_0x519545)=>(_0x1d8296,_0x41e439)=>_0x519545(_0x1d8296,_0x41e439,_0x5b4199),cr=(_0xb8fa6f,_0x5d53d0,_0x34d765)=>ar(_0xb8fa6f,_0x5d53d0+'',_0x34d765);const _r=_0x259c74(0x30b);let Dt=class extends _0x2b4bcc{constructor(_0x2784a8,_0x566f0c,_0x3ecb1a,_0x562192){var _0x4f71f2=_0x259c74;super(),D(this,_0x4f71f2(0x372)),(this['_logService']=_0x566f0c,this['_injector']=_0x3ecb1a,this['_configService']=_0x562192);const {..._0x2d94d5}=_0x36265f({},Ls,_0x2784a8);if(!_0x2d94d5['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x4f71f2(0x372)]=_0x2d94d5,this[_0x4f71f2(0x2ec)][_0x4f71f2(0x304)](K,_0x2d94d5);}['onStarting'](){var _0x486d73=_0x259c74;this[_0x486d73(0x3a6)](),this['_initDependencies']();}[_0x259c74(0x3a6)](){var _0x29d998=_0x259c74,_0x11d2be,_0x110403;this[_0x29d998(0x450)][_0x29d998(0x2dc)](_0x1bcad4)&&this[_0x29d998(0x29c)][_0x29d998(0x331)](_0x29d998(0x3c5),_0x29d998(0x323));const _0xff0cb0=_0x58d05a([[_0x1bcad4,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x29d998(0x372)]['socketService']}],[_0x27e841,{'useClass':Nt}],[_0x56f06e,{'useClass':Tt}],[_0x5c9c0a,{'useClass':Rt}],[_0x23c9c8,{'useClass':Ct}],[nt],[gt]],(_0x11d2be=this[_0x29d998(0x372)])==null?void 0x0:_0x11d2be[_0x29d998(0x1b3)]);if(!((_0x110403=this['_config'])!=null&&_0x110403[_0x29d998(0x35c)])){const _0x260d11=_0xff0cb0[_0x29d998(0x365)](([_0x59614d])=>_0x59614d===_t);_0x260d11!==-0x1&&_0xff0cb0['splice'](_0x260d11,0x1);}_0x3ce38b(this['_injector'],_0xff0cb0);}[_0x259c74(0x37a)](){var _0x571db9=_0x259c74,_0xe9dbe2,_0xc644c,_0x468313;this['_injector'][_0x571db9(0x30f)](_0x44cd1e)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x13d50a({'maxParallel':0x6})}),(_0xe9dbe2=this['_config'])!=null&&_0xe9dbe2[_0x571db9(0x1b1)]||(_0xc644c=this[_0x571db9(0x450)][_0x571db9(0x30f)](J,_0x29e21a[_0x571db9(0x374)]))==null||_0xc644c['disableLocalCache'](),(_0x468313=this['_config'])!=null&&_0x468313[_0x571db9(0x469)]&&_0x1a2234(this[_0x571db9(0x450)],[[rt]]),_0x1a2234(this[_0x571db9(0x450)],[[at],[nt],[ot]]);}};cr(Dt,'pluginName',_r),Dt=or([_0x4c2899(_0x309ba1,_0x3371c4),Et(0x1,_0x597a05),Et(0x2,_0x479712(_0x27a1da)),Et(0x3,_0x5dd738)],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,Wt 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,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr 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,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr 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,Nr as getLocalCacheKey,Vs as serializeCombRequest};
1
+ var _0x252583=_0xfa06;(function(_0x4fca89,_0x5a75d0){var _0x35e4c1=_0xfa06,_0x47ba5c=_0x4fca89();while(!![]){try{var _0x13e016=parseInt(_0x35e4c1(0x22f))/0x1*(-parseInt(_0x35e4c1(0x2b1))/0x2)+parseInt(_0x35e4c1(0x1e7))/0x3+-parseInt(_0x35e4c1(0x2c9))/0x4*(parseInt(_0x35e4c1(0x380))/0x5)+parseInt(_0x35e4c1(0x2a4))/0x6*(parseInt(_0x35e4c1(0x100))/0x7)+-parseInt(_0x35e4c1(0x1a6))/0x8+-parseInt(_0x35e4c1(0xeb))/0x9+-parseInt(_0x35e4c1(0xae))/0xa*(-parseInt(_0x35e4c1(0xfb))/0xb);if(_0x13e016===_0x5a75d0)break;else _0x47ba5c['push'](_0x47ba5c['shift']());}catch(_0x5211bf){_0x47ba5c['push'](_0x47ba5c['shift']());}}}(_0x1227,0xdf3e9));var bi=Object[_0x252583(0x31e)],Di=(_0x29b2ba,_0x37ecdf,_0x31b492)=>_0x37ecdf in _0x29b2ba?bi(_0x29b2ba,_0x37ecdf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31b492}):_0x29b2ba[_0x37ecdf]=_0x31b492,D=(_0x42b40b,_0x283e23,_0x405736)=>Di(_0x42b40b,typeof _0x283e23!=_0x252583(0xd8)?_0x283e23+'':_0x283e23,_0x405736);import{CollaborationEvent as _0x103a4d,ITransformService as _0xeb3de5,isTransformMutationsWithChangesetSuccess as _0x28f176,mapDocumentTypeToUniverType as _0x5cb971,RevisionService as _0x5ca6a2,isTransformChangesetsSuccess as _0xaa2d16,CompressMutationService as _0x446ed3,parseProtocolChangeset as _0xa777a,uuidv4 as _0x4165e4,ISnapshotServerService as _0x3dc050,parseChangesetToProtocol as _0x4b904d,SnapshotService as _0x42ea7b,textEncoder as _0x14730c,b64DecodeUnicode as _0x342fe8,isTransformMutationsWithChangesetFailure as _0x3d0281,UniverCollaborationPlugin as _0x378077}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x2b2ac3,Inject as _0x37e364,UserManagerService as _0x5d0643,Disposable as _0x3e6eca,UniverInstanceType as _0x11f8c5,ILogService as _0x4e6565,IConfigService as _0x1e7d16,Optional as _0x27904f,RxDisposable as _0x4669db,createIdentifier as _0x1f2506,Injector as _0x36e3d8,Tools as _0xb20f29,Rectangle as _0x107cc9,ICommandService as _0x1eb17c,JSONX as _0x61b8a,CommandType as _0x26a266,IUndoRedoService as _0x32e3a9,IPermissionService as _0x7e9663,LocaleService as _0x257fb5,sequenceExecute as _0x99f1e9,toDisposable as _0x2b31b1,DisposableCollection as _0x55cc6e,Workbook as _0x49532c,generateRandomId as _0x3e9ad7,MentionType as _0x5cc25d,isInternalEditorID as _0x27d915,LocalUndoRedoService as _0x19516f,IContextService as _0x515069,DependentOn as _0x1c42c0,Plugin as _0x5382b7,merge as _0x1663db,mergeOverrideWithDependencies as _0x5cca2a,IAuthzIoService as _0x651ea6,IMentionIOService as _0x24644a,registerDependencies as _0x18faf7,Quantity as _0x45eab8,touchDependencies as _0x230ed0}from'@univerjs/core';import{RichTextEditingMutation as _0x2cf632}from'@univerjs/docs';import{SheetsSelectionsService as _0x26da47,SetSelectionsOperation as _0x35c073,InsertSheetMutation as _0x5de8a5,EmptyMutation as _0x4af222,WorkbookEditablePermission as _0x266058,SheetPermissionInitController as _0xb50de4}from'@univerjs/sheets';import{Subject as _0x3275c1,merge as _0x4732bc,of as _0x559b8e,BehaviorSubject as _0x24a605,takeUntil as _0x50786d,ReplaySubject as _0x1be92e,take as _0x38e75e,map as _0x1611a5,shareReplay as _0x16b024,firstValueFrom as _0x2283c7,concatMap as _0x15b45b}from'rxjs';import{ITelemetryService as _0x2f5630}from'@univerjs/telemetry';import{map as _0x484c82,take as _0x34dd15,filter as _0x49c8af,delay as _0x4edbc1,takeUntil as _0x56ce3b}from'rxjs/operators';import{HTTPService as _0x136a2e,ISocketService as _0xf412d4,MergeInterceptorFactory as _0x484186,HTTPRequest as _0x3a152b,UniverNetworkPlugin as _0x292878,ThresholdInterceptorFactory as _0x156178}from'@univerjs/network';import{ImageSourceType as _0x99d61e,ImageUploadStatusType as _0x68f60e,IImageIoService as _0x465a77}from'@univerjs/drawing';import{getGlobalObject as _0x260407}from'@univerjs-pro/license';const fs=_0x252583(0x90),vs=_0x252583(0x2aa),ps=0x7d0,Es=_0x252583(0x2f0),gr=_0x252583(0x277),ms='HEARTBEAT_INTERVAL',Is=0x7530,di=_0x252583(0xc6),fi=0x4e20,Ss=0x4e20,gs=_0x252583(0x1c9),Ts=0x3,Tr=_0x252583(0x10c),Or=0x3e8,Os=_0x252583(0x17c),Rs=_0x252583(0x1f7),Rr=_0x252583(0x1b8),Cr=_0x252583(0x28e);var vi=(_0x217058=>(_0x217058[_0x217058['UNDEFINED']=0x0]=_0x252583(0x24e),_0x217058[_0x217058['OK']=0x1]='OK',_0x217058[_0x217058[_0x252583(0x31b)]=0x2]=_0x252583(0x31b),_0x217058[_0x217058[_0x252583(0x237)]=0x3]='PERMISSION_DENIED',_0x217058[_0x217058[_0x252583(0x2ad)]=0x4]=_0x252583(0x2ad),_0x217058[_0x217058[_0x252583(0x143)]=0x5]=_0x252583(0x143),_0x217058[_0x217058[_0x252583(0x1a4)]=0x6]=_0x252583(0x1a4),_0x217058[_0x217058['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x217058[_0x217058[_0x252583(0x14b)]=0x8]=_0x252583(0x14b),_0x217058[_0x217058[_0x252583(0xb9)]=0x9]='COMPLETION_FINISHED',_0x217058[_0x217058[_0x252583(0x2c3)]=0xa]=_0x252583(0x2c3),_0x217058[_0x217058[_0x252583(0x26a)]=0xb]=_0x252583(0x26a),_0x217058[_0x217058[_0x252583(0x20e)]=0xc]=_0x252583(0x20e),_0x217058[_0x217058[_0x252583(0x28a)]=0xd]=_0x252583(0x28a),_0x217058[_0x217058[_0x252583(0x93)]=0xe]=_0x252583(0x93),_0x217058[_0x217058[_0x252583(0x1ec)]=0xf]=_0x252583(0x1ec),_0x217058[_0x217058['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x252583(0x1d4),_0x217058[_0x217058['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x252583(0x236),_0x217058[_0x217058[_0x252583(0x2fa)]=0x65]=_0x252583(0x2fa),_0x217058[_0x217058[_0x252583(0x191)]=0xc9]=_0x252583(0x191),_0x217058[_0x217058[_0x252583(0xd9)]=0xca]=_0x252583(0xd9),_0x217058[_0x217058[_0x252583(0x22b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x217058[_0x217058[_0x252583(0x174)]=0x1771]=_0x252583(0x174),_0x217058[_0x217058[_0x252583(0x1f9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x217058[_0x217058[_0x252583(0x14c)]=0x1773]=_0x252583(0x14c),_0x217058[_0x217058['APPLY_REJECT']=0x1b59]=_0x252583(0x325),_0x217058[_0x217058['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x252583(0x38c),_0x217058[_0x217058[_0x252583(0x2b4)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x217058[_0x217058['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x252583(0x2de),_0x217058[_0x217058['APPLY_DUPLICATED']=0x1b5d]=_0x252583(0x1ee),_0x217058[_0x217058[_0x252583(0x1ce)]=0x1f41]=_0x252583(0x1ce),_0x217058[_0x217058['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x252583(0x147),_0x217058[_0x217058[_0x252583(0x1c1)]=0x232a]=_0x252583(0x1c1),_0x217058[_0x217058[_0x252583(0x2a1)]=0x232b]=_0x252583(0x2a1),_0x217058[_0x217058['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x252583(0x2db),_0x217058[_0x217058[_0x252583(0x348)]=0x232d]=_0x252583(0x348),_0x217058[_0x217058[_0x252583(0x1e8)]=0x2711]=_0x252583(0x1e8),_0x217058[_0x217058[_0x252583(0x1a9)]=0x2712]=_0x252583(0x1a9),_0x217058[_0x217058[_0x252583(0x313)]=0x2713]=_0x252583(0x313),_0x217058[_0x217058[_0x252583(0x233)]=0x2714]=_0x252583(0x233),_0x217058[_0x217058['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x252583(0x3a0),_0x217058[_0x217058['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x217058[_0x217058['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x252583(0x1cd),_0x217058[_0x217058['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x252583(0x2c0),_0x217058[_0x217058['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x217058[_0x217058[_0x252583(0x1dd)]=0x271f]=_0x252583(0x1dd),_0x217058[_0x217058['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x252583(0x23e),_0x217058[_0x217058['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x252583(0xa8),_0x217058[_0x217058[_0x252583(0x31d)]=0x2ee1]=_0x252583(0x31d),_0x217058[_0x217058[_0x252583(0x1a0)]=0x2ee2]='INVALID_INVITE_CODE',_0x217058[_0x217058[_0x252583(0x276)]=0x2ee3]=_0x252583(0x276),_0x217058[_0x217058[_0x252583(0x157)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x217058[_0x217058[_0x252583(0x28b)]=0x2ee5]=_0x252583(0x28b),_0x217058[_0x217058[_0x252583(0x1ad)]=0x32c9]=_0x252583(0x1ad),_0x217058[_0x217058[_0x252583(0x195)]=0x32ca]=_0x252583(0x195),_0x217058[_0x217058[_0x252583(0xf3)]=0x32cb]=_0x252583(0xf3),_0x217058[_0x217058[_0x252583(0x299)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x217058[_0x217058[_0x252583(0x2da)]=0x36b2]=_0x252583(0x2da),_0x217058[_0x217058['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x252583(0x39b),_0x217058[_0x217058[_0x252583(0x122)]=0x36b4]=_0x252583(0x122),_0x217058[_0x217058[_0x252583(0x112)]=0x3715]=_0x252583(0x112),_0x217058[_0x217058[_0x252583(0x2b8)]=0x3716]=_0x252583(0x2b8),_0x217058[_0x217058['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x217058[_0x217058[_0x252583(0x39a)]=0x3a99]=_0x252583(0x39a),_0x217058[_0x217058[_0x252583(0x130)]=0x3a9a]=_0x252583(0x130),_0x217058[_0x217058[_0x252583(0x308)]=0x3a9b]=_0x252583(0x308),_0x217058[_0x217058[_0x252583(0x255)]=0x3a9c]=_0x252583(0x255),_0x217058[_0x217058[_0x252583(0x271)]=0x3a9d]=_0x252583(0x271),_0x217058[_0x217058[_0x252583(0x256)]=0x3a9e]=_0x252583(0x256),_0x217058[_0x217058[_0x252583(0x279)]=0x3a9f]=_0x252583(0x279),_0x217058[_0x217058[_0x252583(0x392)]=-0x1]=_0x252583(0x392),_0x217058))(vi||{}),Q=(_0x3edb0b=>(_0x3edb0b[_0x3edb0b[_0x252583(0x183)]=0x0]=_0x252583(0x183),_0x3edb0b[_0x3edb0b[_0x252583(0x2e1)]=0x1]=_0x252583(0x2e1),_0x3edb0b[_0x3edb0b[_0x252583(0xd2)]=0x2]=_0x252583(0xd2),_0x3edb0b[_0x3edb0b['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3edb0b[_0x3edb0b[_0x252583(0x1d5)]=0x4]=_0x252583(0x1d5),_0x3edb0b[_0x3edb0b[_0x252583(0x392)]=-0x1]='UNRECOGNIZED',_0x3edb0b))(Q||{}),F=(_0x500bb6=>(_0x500bb6[_0x500bb6[_0x252583(0x275)]=0x0]=_0x252583(0x275),_0x500bb6[_0x500bb6[_0x252583(0x38a)]=0x1]=_0x252583(0x38a),_0x500bb6[_0x500bb6[_0x252583(0x25b)]=0x2]=_0x252583(0x25b),_0x500bb6[_0x500bb6[_0x252583(0x2ff)]=0x3]=_0x252583(0x2ff),_0x500bb6[_0x500bb6[_0x252583(0x187)]=0x4]='INGEST',_0x500bb6[_0x500bb6[_0x252583(0xe6)]=0x5]=_0x252583(0xe6),_0x500bb6[_0x500bb6[_0x252583(0xa1)]=0x6]=_0x252583(0xa1),_0x500bb6[_0x500bb6[_0x252583(0x392)]=-0x1]='UNRECOGNIZED',_0x500bb6))(F||{}),pe=(_0x4eb5cc=>(_0x4eb5cc[_0x4eb5cc['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x4eb5cc[_0x4eb5cc['OK']=0x1]='OK',_0x4eb5cc[_0x4eb5cc['FAIL']=0x2]=_0x252583(0xb2),_0x4eb5cc[_0x4eb5cc[_0x252583(0x17f)]=0x3e9]=_0x252583(0x17f),_0x4eb5cc[_0x4eb5cc[_0x252583(0x155)]=0x3ea]=_0x252583(0x155),_0x4eb5cc[_0x4eb5cc[_0x252583(0x16f)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4eb5cc[_0x4eb5cc[_0x252583(0x267)]=0x3ec]=_0x252583(0x267),_0x4eb5cc[_0x4eb5cc[_0x252583(0x392)]=-0x1]='UNRECOGNIZED',_0x4eb5cc))(pe||{}),pi=(_0x2370c2=>(_0x2370c2[_0x2370c2['Undefined']=0x0]='Undefined',_0x2370c2[_0x2370c2['HttpImport']=0x1]=_0x252583(0x11c),_0x2370c2[_0x2370c2[_0x252583(0x131)]=0x2]=_0x252583(0x131),_0x2370c2[_0x2370c2[_0x252583(0x129)]=0x3]=_0x252583(0x129),_0x2370c2[_0x2370c2['UnitSnapshot']=0x4]=_0x252583(0x28f),_0x2370c2[_0x2370c2['UserProfileImg']=0x5]=_0x252583(0x9a),_0x2370c2[_0x2370c2[_0x252583(0x224)]=0x6]=_0x252583(0x224),_0x2370c2[_0x2370c2['UNRECOGNIZED']=-0x1]=_0x252583(0x392),_0x2370c2))(pi||{});const Cs=_0x252583(0x11e);function Ns(_0x8f96f2){var _0x147693=_0x252583;return JSON[_0x147693(0x297)](_0x8f96f2)[_0x147693(0x286)];}var re=(_0x5b9704=>(_0x5b9704[_0x252583(0x16b)]='OTHER_CLIENT_EDITING',_0x5b9704[_0x252583(0x237)]='PERMISSION_DENIED',_0x5b9704[_0x252583(0x117)]=_0x252583(0x117),_0x5b9704['CLOSE_ROOM']='CLOSE_ROOM',_0x5b9704[_0x252583(0x216)]=_0x252583(0x216),_0x5b9704[_0x252583(0x21f)]='SOCKET_FAILED_RETRY',_0x5b9704[_0x252583(0x24d)]='SOCKET_FAILED',_0x5b9704[_0x252583(0x169)]=_0x252583(0x169),_0x5b9704))(re||{});class ve{constructor(){var _0x3650ef=_0x252583;D(this,_0x3650ef(0x144),new _0x3275c1()),D(this,_0x3650ef(0x2b3),this[_0x3650ef(0x144)][_0x3650ef(0x263)]());}['emitEvent'](_0x135c31){var _0x17c6ef=_0x252583;this[_0x17c6ef(0x144)][_0x17c6ef(0x390)](_0x135c31);}}class Ei{constructor(){var _0x59b9ad=_0x252583;D(this,'_commentUpdate$',new _0x3275c1()),D(this,_0x59b9ad(0x317),this[_0x59b9ad(0x266)][_0x59b9ad(0x263)]());}['onCommentUpdate'](_0x3a3ad6){var _0x4e6b3d=_0x252583;this[_0x4e6b3d(0x266)][_0x4e6b3d(0x390)](_0x3a3ad6);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x3e9355,_0x54db7d,_0x363840,_0x21bf57)=>{for(var _0x311142=_0x21bf57>0x1?void 0x0:_0x21bf57?bs(_0x54db7d,_0x363840):_0x54db7d,_0xdfe3df=_0x3e9355['length']-0x1,_0x458e8d;_0xdfe3df>=0x0;_0xdfe3df--)(_0x458e8d=_0x3e9355[_0xdfe3df])&&(_0x311142=_0x458e8d(_0x311142)||_0x311142);return _0x311142;},Ft=(_0x1ab35d,_0x431e00)=>(_0x340cf7,_0x42e776)=>_0x431e00(_0x340cf7,_0x42e776,_0x1ab35d);let Pe=class extends _0x3e6eca{constructor(_0x276b06,_0x336874){var _0x73cda2=_0x252583;super(),D(this,_0x73cda2(0xfc),new Map()),D(this,'_roomCreated$',new _0x3275c1()),(this[_0x73cda2(0xef)]=_0x276b06,this[_0x73cda2(0x366)]=_0x336874,this[_0x73cda2(0x21b)](_0x4732bc(this[_0x73cda2(0xef)][_0x73cda2(0x16c)](_0x11f8c5['UNIVER_SHEET'])[_0x73cda2(0x33e)](_0x484c82(_0x22d15b=>_0x22d15b[_0x73cda2(0x399)]())),this[_0x73cda2(0xef)]['getTypeOfUnitDisposed$'](_0x11f8c5[_0x73cda2(0x2e1)])[_0x73cda2(0x33e)](_0x484c82(_0x31e3d4=>_0x31e3d4[_0x73cda2(0x399)]())),this['_univerInstanceService'][_0x73cda2(0x16c)](_0x11f8c5[_0x73cda2(0x330)])['pipe'](_0x484c82(_0x1ce551=>_0x1ce551[_0x73cda2(0x399)]())))[_0x73cda2(0x13e)](_0x13db0e=>this[_0x73cda2(0x238)](_0x13db0e))));}[_0x252583(0xb3)](_0x3b825a){var _0x1d8bf2=_0x252583;return this[_0x1d8bf2(0xfc)]['has'](_0x3b825a)?_0x559b8e(this[_0x1d8bf2(0xfc)][_0x1d8bf2(0x1b4)](_0x3b825a)):this[_0x1d8bf2(0x1de)][_0x1d8bf2(0x33e)](_0x484c82(_0x22f283=>{var _0x93e6c0=_0x1d8bf2;if(_0x22f283===_0x3b825a)return this[_0x93e6c0(0xfc)][_0x93e6c0(0x1b4)](_0x22f283);}));}[_0x252583(0x1c4)](_0x5c6b22){var _0x48acc6=_0x252583;this[_0x48acc6(0x366)]['setCurrentUser'](_0x5c6b22);}[_0x252583(0x94)](){var _0x22b2dd=_0x252583;return this[_0x22b2dd(0x366)]['getCurrentUser']();}[_0x252583(0x21e)](_0x1aa925,_0x556879){var _0x1b0355=_0x252583;let _0x5791d5=this[_0x1b0355(0xfc)][_0x1b0355(0x1b4)](_0x1aa925);_0x5791d5||(_0x5791d5=new ys(),this['_roomMembers'][_0x1b0355(0x1d9)](_0x1aa925,_0x5791d5),this['_roomCreated$']['next'](_0x1aa925)),_0x5791d5[_0x1b0355(0x21e)](_0x556879);}[_0x252583(0x389)](_0x3b1bdd,_0x175ced){var _0xf8585=_0x252583;const _0x212fc6=this[_0xf8585(0xfc)][_0xf8585(0x1b4)](_0x3b1bdd);_0x212fc6&&_0x212fc6['removeMember'](_0x175ced);}['getRoom'](_0x15769e){var _0x3960ac=_0x252583;return this[_0x3960ac(0xfc)][_0x3960ac(0x1b4)](_0x15769e);}[_0x252583(0x202)](_0x1a50c7,_0x361171){var _0x5b954f=_0x252583;const _0x134573=this['_roomMembers'][_0x5b954f(0x1b4)](_0x1a50c7);if(_0x134573)return _0x134573[_0x5b954f(0x202)](_0x361171);}['_removeRoom'](_0x199b12){var _0x582b38=_0x252583;const _0x1fba2a=this[_0x582b38(0xfc)][_0x582b38(0x1b4)](_0x199b12);_0x1fba2a&&(_0x1fba2a[_0x582b38(0xba)](),this[_0x582b38(0xfc)][_0x582b38(0x229)](_0x199b12));}['dispose'](){var _0x2b1744=_0x252583;this[_0x2b1744(0xfc)][_0x2b1744(0x104)](_0x315de2=>_0x315de2[_0x2b1744(0xba)]()),this[_0x2b1744(0xfc)][_0x2b1744(0x242)](),this['_roomCreated$'][_0x2b1744(0x19c)]();}};Pe=Ds([Ft(0x0,_0x2b2ac3),Ft(0x1,_0x37e364(_0x5d0643))],Pe);class ys extends _0x3e6eca{constructor(){var _0x3dbfa8=_0x252583;super(...arguments),D(this,_0x3dbfa8(0xc4),new Map()),D(this,_0x3dbfa8(0x2d9),new _0x24a605(this[_0x3dbfa8(0xc4)])),D(this,_0x3dbfa8(0x145),this['_members$'][_0x3dbfa8(0x263)]());}[_0x252583(0xba)](){var _0x4b640e=_0x252583;this[_0x4b640e(0xc4)]['clear']();}['updateMember'](_0x4acf04){var _0x4fa446=_0x252583;this[_0x4fa446(0xc4)][_0x4fa446(0x1d9)](_0x4acf04[_0x4fa446(0x32e)],_0x4acf04),this[_0x4fa446(0x289)]();}[_0x252583(0x389)](_0x19f706){var _0xa1d6fe=_0x252583;this[_0xa1d6fe(0xc4)]['delete'](_0x19f706);}[_0x252583(0x202)](_0xc5195b){var _0x4bcde8=_0x252583;return this['_members'][_0x4bcde8(0x1b4)](_0xc5195b);}[_0x252583(0x30d)](){var _0x4c4e8d=_0x252583;return Array[_0x4c4e8d(0x354)](this[_0x4c4e8d(0xc4)]['values']());}['_emitMembers'](){var _0x58c94c=_0x252583;this[_0x58c94c(0x2d9)][_0x58c94c(0x390)](this[_0x58c94c(0xc4)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x1dcc7f,_0x860db1,_0x263369,_0x32d7ac)=>{var _0x5117d5=_0x252583;for(var _0x34e42f=_0x32d7ac>0x1?void 0x0:_0x32d7ac?Us(_0x860db1,_0x263369):_0x860db1,_0xb95868=_0x1dcc7f[_0x5117d5(0x286)]-0x1,_0xb8e817;_0xb95868>=0x0;_0xb95868--)(_0xb8e817=_0x1dcc7f[_0xb95868])&&(_0x34e42f=_0xb8e817(_0x34e42f)||_0x34e42f);return _0x34e42f;},Oe=(_0x4356e8,_0x7697ef)=>(_0x2992f5,_0x49a45d)=>_0x7697ef(_0x2992f5,_0x49a45d,_0x4356e8),me=(_0x5e4673=>(_0x5e4673[_0x5e4673['IDLE']=0x0]=_0x252583(0x376),_0x5e4673[_0x5e4673[_0x252583(0x1cc)]=0x1]=_0x252583(0x1cc),_0x5e4673[_0x5e4673['OFFLINE']=0x2]=_0x252583(0x106),_0x5e4673[_0x5e4673[_0x252583(0x215)]=0x3]=_0x252583(0x215),_0x5e4673))(me||{});const Vt={[pe[_0x252583(0xb2)]]:_0x252583(0x160),[pe[_0x252583(0x17f)]]:_0x252583(0x239),[pe['JOIN_ROOM_NOT_EXISTS']]:_0x252583(0x318),[pe[_0x252583(0x16f)]]:_0x252583(0x371),[pe[_0x252583(0x267)]]:'session.room-cnt-exceeds'};let mt=class extends _0x4669db{constructor(_0x3b2f29,_0x1e7eb5,_0x5d4aa2,_0x4a12c7,_0x3a219a,_0x280174,_0x58b65d,_0xada416){var _0x4af2e0=_0x252583;super(),D(this,_0x4af2e0(0x33c),new _0x24a605(0x0)),D(this,'sessionStatus$',this['_sessionStatus$'][_0x4af2e0(0x263)]()),D(this,'_event$',new _0x3275c1()),D(this,_0x4af2e0(0x2b3),this[_0x4af2e0(0x144)][_0x4af2e0(0x263)]()),D(this,_0x4af2e0(0x30f)),D(this,'_socketMessageSubscription'),D(this,'_collaborationTimeoutTimer'),D(this,_0x4af2e0(0x39f),!0x1),D(this,'_telemetryInfo',null),(this[_0x4af2e0(0x2d2)]=_0x3b2f29,this['_logService']=_0x5d4aa2,this[_0x4af2e0(0xca)]=_0x4a12c7,this['_memberService']=_0x3a219a,this[_0x4af2e0(0x11a)]=_0x280174,this[_0x4af2e0(0x25a)]=_0x58b65d,this[_0x4af2e0(0x36b)]=_0xada416,this[_0x4af2e0(0x39f)]=!!this[_0x4af2e0(0x36b)],_0x1e7eb5[_0x4af2e0(0x33e)](_0x50786d(this[_0x4af2e0(0x310)]))[_0x4af2e0(0x13e)](_0x9ebc37=>{var _0x5eda8f=_0x4af2e0,_0x4f5357;typeof _0x9ebc37>'u'||(this['_socket']=_0x9ebc37,_0x9ebc37?(this[_0x5eda8f(0x2ef)](_0x9ebc37),this['_socketMessageSubscription']=_0x9ebc37[_0x5eda8f(0x151)][_0x5eda8f(0x13e)](_0x27e6d9=>{var _0xc936a3=_0x5eda8f;_0x27e6d9[_0xc936a3(0x35b)]===this[_0xc936a3(0x2d2)]&&this['_onCombEvent'](_0x27e6d9);})):(this[_0x5eda8f(0xa6)](),this['_sessionStatus$'][_0x5eda8f(0x390)](0x2),(_0x4f5357=this['_socketMessageSubscription'])==null||_0x4f5357[_0x5eda8f(0x217)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x14f3f7=_0x252583;return this[_0x14f3f7(0x33c)][_0x14f3f7(0x118)]();}[_0x252583(0x333)](){var _0x347b57=_0x252583,_0x1787aa,_0x5bdbd4;return(_0x5bdbd4=(_0x1787aa=this[_0x347b57(0x30f)])==null?void 0x0:_0x1787aa[_0x347b57(0x32e)])!=null?_0x5bdbd4:null;}['dispose'](){var _0x23f9d5=_0x252583;super[_0x23f9d5(0xba)](),this[_0x23f9d5(0x310)][_0x23f9d5(0x390)](),this[_0x23f9d5(0x310)]['complete']();}[_0x252583(0x1a7)](){var _0x4d919e=_0x252583,_0x950775,_0xa1e6f;this[_0x4d919e(0xa6)](),(_0x950775=this[_0x4d919e(0x30f)])==null||_0x950775[_0x4d919e(0x21d)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x4d919e(0x2d2)]}}),(_0xa1e6f=this[_0x4d919e(0x30f)])==null||_0xa1e6f['close'](),this['_event$'][_0x4d919e(0x19c)](),this['_sessionStatus$']['complete'](),this[_0x4d919e(0xba)]();}['_onCombEvent'](_0x319d70){var _0x43c03e=_0x252583;_0x319d70[_0x43c03e(0x1dc)]===F[_0x43c03e(0x25b)]?this[_0x43c03e(0x1c0)](_0x319d70):_0x319d70[_0x43c03e(0x1dc)]===F[_0x43c03e(0xa1)]&&this['_onRecvEvent'](_0x319d70);}[_0x252583(0x2ef)](_0x12f5f2){var _0x4ffdf8=_0x252583;this[_0x4ffdf8(0x33c)][_0x4ffdf8(0x390)](0x1),_0x12f5f2['send']({'cmd':F[_0x4ffdf8(0x25b)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4ffdf8(0x2d2)]}]}});}[_0x252583(0x1c0)](_0x5e67b1){var _0x1f5ae7=_0x252583,_0x21e8bc;if(_0x5e67b1[_0x1f5ae7(0x293)]in Vt){this[_0x1f5ae7(0x25a)][_0x1f5ae7(0x16a)]({'id':re['JOIN_ROOM_FAILED'],'data':Vt[_0x5e67b1[_0x1f5ae7(0x293)]]}),this[_0x1f5ae7(0x33c)][_0x1f5ae7(0x390)](0x2);return;}this[_0x1f5ae7(0x33c)][_0x1f5ae7(0x390)](0x3);const _0x371a5a=(_0x21e8bc=_0x5e67b1['data']['roomInfos'][this[_0x1f5ae7(0x2d2)]])==null?void 0x0:_0x21e8bc[_0x1f5ae7(0xa3)];_0x371a5a&&_0x371a5a[_0x1f5ae7(0x104)](_0x3d00f6=>this['_memberService'][_0x1f5ae7(0x21e)](this[_0x1f5ae7(0x2d2)],_0x3d00f6));}[_0x252583(0x1bd)](_0x2b5776){var _0x1cf0a6=_0x252583;try{const _0x3360c4=_0x2b5776['data'];switch(_0x3360c4[_0x1cf0a6(0x146)]){case _0x103a4d['USERS_ENTER']:this[_0x1cf0a6(0x1f6)](_0x3360c4),this['_event$'][_0x1cf0a6(0x390)](_0x3360c4);break;case _0x103a4d[_0x1cf0a6(0x99)]:this[_0x1cf0a6(0x1f2)](_0x3360c4),this['_event$']['next'](_0x3360c4);break;case _0x103a4d[_0x1cf0a6(0x1d1)]:case _0x103a4d[_0x1cf0a6(0x1d0)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x1cf0a6(0x144)][_0x1cf0a6(0x390)](_0x3360c4);break;case _0x103a4d[_0x1cf0a6(0xf4)]:this['_logService'][_0x1cf0a6(0x203)](_0x1cf0a6(0x2a7)+JSON['stringify'](_0x3360c4)),this[_0x1cf0a6(0x144)][_0x1cf0a6(0x390)](_0x3360c4);break;case _0x103a4d[_0x1cf0a6(0xe2)]:this[_0x1cf0a6(0x11a)][_0x1cf0a6(0x27b)](_0x3360c4[_0x1cf0a6(0x368)]),this[_0x1cf0a6(0x144)][_0x1cf0a6(0x390)](_0x3360c4);break;default:this[_0x1cf0a6(0x144)]['next'](_0x3360c4);}}catch(_0x45fc77){this['_logService'][_0x1cf0a6(0x203)](_0x45fc77,_0x2b5776);}}[_0x252583(0x1f6)](_0x40b30b){var _0x2d0359=_0x252583;this['_memberService'][_0x2d0359(0x21e)](this['_unitID'],_0x40b30b[_0x2d0359(0x368)]);}[_0x252583(0x1f2)](_0x310f58){var _0x5e292a=_0x252583;this[_0x5e292a(0x1ca)][_0x5e292a(0x389)](this[_0x5e292a(0x2d2)],_0x310f58[_0x5e292a(0x368)][_0x5e292a(0x32e)]);}async['send'](_0x241021,_0x4ae5c4){var _0x52627b=_0x252583;if(this[_0x52627b(0x32b)]!==0x3||!this[_0x52627b(0x30f)])throw new Error(_0x52627b(0x171));try{_0x241021[_0x52627b(0x146)]===_0x103a4d['SUBMIT_CHANGESET']&&(this[_0x52627b(0x167)](),this[_0x52627b(0x111)](_0x241021)),this['_socket'][_0x52627b(0x21d)]({'cmd':F['INGEST'],'routeKey':_0x4ae5c4,'routeType':'','data':_0x241021});}catch(_0x492e44){this[_0x52627b(0x249)][_0x52627b(0x203)](_0x492e44);}}[_0x252583(0x167)](){var _0x4528e8=_0x252583,_0x537c12;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x11047e=_0xfa06;this[_0x11047e(0x1c3)]=null,this[_0x11047e(0x25a)][_0x11047e(0x16a)]({'id':re[_0x11047e(0x169)]});},(_0x537c12=this[_0x4528e8(0xca)][_0x4528e8(0x2e4)](di))!=null?_0x537c12:fi);}[_0x252583(0x34d)](){var _0x3b9fc2=_0x252583;this[_0x3b9fc2(0x1c3)]&&(clearTimeout(this[_0x3b9fc2(0x1c3)]),this[_0x3b9fc2(0x1c3)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5a52e1){var _0x190e6a=_0x252583;if(!this[_0x190e6a(0x39f)])return;const {data:_0x18e30e}=_0x5a52e1,{unitID:_0x39309a,changeset:_0x5c3c14}=_0x18e30e,{mutations:_0x4593d7,type:_0x15b0ba}=_0x5c3c14;this[_0x190e6a(0x30b)]={'unitId':_0x39309a,'type':_0x15b0ba,'startTime':performance[_0x190e6a(0x149)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x4593d7)};}[_0x252583(0x304)](){var _0x46c925=_0x252583;if(this[_0x46c925(0x39f)]){if(!this[_0x46c925(0x30b)]){this[_0x46c925(0x249)]['error'](_0x46c925(0x29a),_0x46c925(0xfa));return;}this[_0x46c925(0x30b)][_0x46c925(0x262)]=performance['now'](),this[_0x46c925(0x30b)][_0x46c925(0xbb)]=this[_0x46c925(0x30b)][_0x46c925(0x262)]-this[_0x46c925(0x30b)][_0x46c925(0x36d)],this[_0x46c925(0x36b)]['capture'](Cs,this[_0x46c925(0x30b)]),this[_0x46c925(0x30b)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x5af2b4=_0x252583;this[_0x5af2b4(0x30b)]=null;}};mt=As([Oe(0x2,_0x4e6565),Oe(0x3,_0x1e7d16),Oe(0x4,_0x37e364(Pe)),Oe(0x5,_0x37e364(Ei)),Oe(0x6,_0x37e364(ve)),Oe(0x7,_0x27904f(_0x2f5630))],mt);const J=_0x1f2506('collaboration-client.local-cache-service');function Nr(_0x1aeb54){var _0x57bca1=_0x252583;return _0x57bca1(0x323)+_0x1aeb54;}var Ps=Object[_0x252583(0x2b2)],ws=(_0x6c238e,_0x270992,_0x15aae0,_0x294e7b)=>{for(var _0x3a647e=_0x294e7b>0x1?void 0x0:_0x294e7b?Ps(_0x270992,_0x15aae0):_0x270992,_0x4c4733=_0x6c238e['length']-0x1,_0x3cd87a;_0x4c4733>=0x0;_0x4c4733--)(_0x3cd87a=_0x6c238e[_0x4c4733])&&(_0x3a647e=_0x3cd87a(_0x3a647e)||_0x3a647e);return _0x3a647e;},ut=(_0x5688f6,_0x313512)=>(_0x51fd8c,_0x2d4b17)=>_0x313512(_0x51fd8c,_0x2d4b17,_0x5688f6);function Ms(_0x3ee62b){var _0x2440ea=_0x252583;const {unitID:_0x104c26,mutations:_0x18510c}=_0x3ee62b;return{'unitId':_0x104c26,'subUnitId':_0x18510c[0x0]['params'][_0x2440ea(0x204)]};}let it=class{constructor(_0x23fdff,_0x492c3f,_0x3c24cc){var _0x2cdecf=_0x252583;this[_0x2cdecf(0x231)]=_0x23fdff,this[_0x2cdecf(0x2b7)]=_0x492c3f,this[_0x2cdecf(0x210)]=_0x3c24cc;}[_0x252583(0x2eb)](_0x2d4ed6){var _0x4dcc42=_0x252583,_0x1a010f,_0x1ace2c,_0x4c7105,_0x49b106;const _0x2bda59=this[_0x4dcc42(0x231)]['get'](_0x26da47),{unitId:_0x5ef611,subUnitId:_0x25f55f}=Ms(_0x2d4ed6),_0x4cb3f6=_0x2bda59==null?void 0x0:_0x2bda59[_0x4dcc42(0x388)](_0x5ef611)['getCurrentSelections'](),_0xb9469=(_0x1ace2c=(_0x1a010f=this['_instanceService'][_0x4dcc42(0x358)](_0x5ef611))==null?void 0x0:_0x1a010f[_0x4dcc42(0x314)]())==null?void 0x0:_0x1ace2c['getSheetId']();if(_0x4cb3f6[_0x4dcc42(0x286)]===0x0||!_0x5ef611||!_0x25f55f)return;const _0x53d594=[{'id':_0x35c073['id'],'params':{'unitId':_0x5ef611,'subUnitId':_0xb9469,'selections':_0xb20f29[_0x4dcc42(0x2bc)](_0x4cb3f6)}}],_0x150302=this[_0x4dcc42(0x2b7)][_0x4dcc42(0x285)](_0x2d4ed6,_0x53d594);if(!_0x28f176(_0x150302))throw _0x150302[_0x4dcc42(0x203)];const _0x1488fa=(_0x49b106=(_0x4c7105=_0x150302[_0x4dcc42(0x307)][0x0])==null?void 0x0:_0x4c7105[_0x4dcc42(0x23f)])==null?void 0x0:_0x49b106[_0x4dcc42(0xb8)];if(Array['isArray'](_0x1488fa)&&_0x1488fa[_0x4dcc42(0x286)]){if(_0x1488fa[_0x4dcc42(0x286)]===_0x53d594[0x0][_0x4dcc42(0x23f)]['selections'][_0x4dcc42(0x286)]&&_0x1488fa['every']((_0x20c889,_0x2b945e)=>_0x107cc9[_0x4dcc42(0x197)](_0x20c889[_0x4dcc42(0x163)],_0x53d594[0x0]['params'][_0x4dcc42(0xb8)][_0x2b945e]['range'])))return;this[_0x4dcc42(0x231)]['get'](_0x1eb17c)[_0x4dcc42(0xc0)](_0x35c073['id'],{'unitId':_0x5ef611,'subUnitId':_0xb9469,'selections':_0x1488fa});}}};it=ws([ut(0x0,_0x37e364(_0x36e3d8)),ut(0x1,_0xeb3de5),ut(0x2,_0x2b2ac3)],it);const _t=_0x1f2506('univer-pro.collaboration-client.single-active-unit-service');var mi=(_0x3f4915=>(_0x3f4915[_0x3f4915[_0x252583(0x2f5)]=0x0]=_0x252583(0x2f5),_0x3f4915[_0x3f4915[_0x252583(0x20b)]=0x1]=_0x252583(0x20b),_0x3f4915))(mi||{});const K=_0x252583(0x352),Ls={},xs=new Set([_0x5de8a5['id']]);function Gt(_0x4dddc5,_0x434859,_0x5713d7,_0x1e6d52,_0x264281){var _0x5ccfed=_0x252583,_0x20d9ec,_0x39d864,_0x14a271,_0x5d0061;const _0x35d3eb=[];for(const _0xdc2811 of _0x4dddc5)if(xs[_0x5ccfed(0x1b5)](_0xdc2811['id'])){if(_0x35d3eb['length']>0x0)break;_0x35d3eb[_0x5ccfed(0x36e)](_0xdc2811);break;}else _0x35d3eb[_0x5ccfed(0x36e)](_0xdc2811);const _0x4631e3=(_0x39d864=(_0x20d9ec=_0x264281['getCurrentUser']())==null?void 0x0:_0x20d9ec['userID'])!=null?_0x39d864:_0x5ccfed(0x23a),_0x6be6c3=(_0x5d0061=(_0x14a271=_0x264281[_0x5ccfed(0x94)]())==null?void 0x0:_0x14a271[_0x5ccfed(0x32e)])!=null?_0x5d0061:_0x5ccfed(0x23a);return{'changeset':{'unitID':_0x434859,'type':_0x5cb971(_0x5713d7[_0x5ccfed(0x2ed)](_0x434859)),'baseRev':_0x1e6d52['getCurrentRevOfUnit'](_0x434859),'revision':0x0,'userID':_0x4631e3,'memberID':_0x6be6c3,'mutations':_0x35d3eb},'pendingMutations':_0x4dddc5[_0x5ccfed(0x2e8)](_0x35d3eb[_0x5ccfed(0x286)])};}function ks(_0xe8bafc,_0x506e35,_0x1c41ec,_0x1db08c,_0x276b38){var _0x304eaf=_0x252583,_0x5778e6,_0x1967cc,_0x3bef5b,_0x37c1ec;const _0x5e09d2=[_0xe8bafc[_0x304eaf(0x33d)]((_0x2d601e,_0x5bf66c)=>{var _0x1f9029=_0x304eaf,_0x4531af;const {id:_0x3825d8}=_0x2d601e,{id:_0x154cb6,type:_0x1ce38c}=_0x5bf66c,_0x354818=(_0x4531af=_0x2d601e[_0x1f9029(0x23f)])!=null?_0x4531af:{'actions':null},_0x57df51=_0x5bf66c[_0x1f9029(0x23f)];if(_0x3825d8&&_0x3825d8!==_0x154cb6)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3825d8+_0x1f9029(0x29f)+_0x154cb6+'.');return{..._0x2d601e,'id':_0x154cb6,'type':_0x1ce38c,'params':{'unitId':_0x57df51[_0x1f9029(0x228)],'textRanges':_0x57df51[_0x1f9029(0x2fc)],'actions':_0x61b8a['compose'](_0x354818[_0x1f9029(0xf7)],_0x57df51[_0x1f9029(0xf7)])}};},{})],_0x432238=(_0x1967cc=(_0x5778e6=_0x276b38[_0x304eaf(0x94)]())==null?void 0x0:_0x5778e6[_0x304eaf(0x312)])!=null?_0x1967cc:_0x304eaf(0x23a),_0x436600=(_0x37c1ec=(_0x3bef5b=_0x276b38[_0x304eaf(0x94)]())==null?void 0x0:_0x3bef5b['memberID'])!=null?_0x37c1ec:_0x304eaf(0x23a);return{'changeset':{'unitID':_0x506e35,'type':_0x5cb971(_0x1c41ec[_0x304eaf(0x2ed)](_0x506e35)),'baseRev':_0x1db08c[_0x304eaf(0x1a3)](_0x506e35),'revision':0x0,'userID':_0x432238,'memberID':_0x436600,'mutations':_0x5e09d2},'pendingMutations':[]};}function Ii(_0x2d7ade,_0x2097cd){var _0x78c34c=_0x252583;const _0x28bb6d=new _0x1be92e(0x1);return setTimeout(()=>_0x28bb6d[_0x78c34c(0x390)](_0x2097cd),_0x2d7ade),_0x28bb6d[_0x78c34c(0x263)]()[_0x78c34c(0x33e)](_0x38e75e(0x1));}const $s={'id':_0x4af222['id'],'type':_0x26a266[_0x252583(0x39e)],'params':{}};var Hs=Object[_0x252583(0x2b2)],Se=(_0x28b70b,_0x8a782f,_0x21c667,_0x294c35)=>{for(var _0x202450=_0x294c35>0x1?void 0x0:_0x294c35?Hs(_0x8a782f,_0x21c667):_0x8a782f,_0x98fa79=_0x28b70b['length']-0x1,_0xf04fb2;_0x98fa79>=0x0;_0x98fa79--)(_0xf04fb2=_0x28b70b[_0x98fa79])&&(_0x202450=_0xf04fb2(_0x202450)||_0x202450);return _0x202450;},w=(_0x10db1c,_0x1782e0)=>(_0x9b1549,_0xcae3f3)=>_0x1782e0(_0x9b1549,_0xcae3f3,_0x10db1c),Si=(_0x25890f=>(_0x25890f[_0x252583(0x1c2)]=_0x252583(0x34f),_0x25890f['SYNCED']='synced',_0x25890f['PENDING']='pending',_0x25890f[_0x252583(0x29b)]='awaiting',_0x25890f[_0x252583(0x295)]=_0x252583(0x2f3),_0x25890f[_0x252583(0x1ae)]=_0x252583(0x341),_0x25890f[_0x252583(0x117)]='conflict',_0x25890f['OFFLINE']=_0x252583(0x39c),_0x25890f))(Si||{});const gi=0xea60;class ge{constructor(_0x1db8f2,_0x3387fe,_0xa7ccb6,_0x13e7b2,_0x4feb0f,_0x3ca080,_0xbb94d9,_0x187f12,_0x341234){var _0x36eb1e=_0x252583;D(this,_0x36eb1e(0x1e4),null),D(this,_0x36eb1e(0xf8),[]),(this[_0x36eb1e(0x1f1)]=_0x1db8f2,this[_0x36eb1e(0x2e0)]=_0x3387fe,this[_0x36eb1e(0x153)]=_0x4feb0f,this[_0x36eb1e(0x150)]=_0x3ca080,this[_0x36eb1e(0x15f)]=_0xbb94d9,this[_0x36eb1e(0x232)]=_0x187f12,this[_0x36eb1e(0x2b6)]=_0x341234,this[_0x36eb1e(0x1e4)]=_0xa7ccb6,this[_0x36eb1e(0xf8)]=_0x13e7b2);}['_checkMissing'](_0x2a35a7){var _0x56fd5d=_0x252583;const _0x1671db=this[_0x56fd5d(0x232)]['getCurrentRevOfUnit'](this[_0x56fd5d(0x1f1)]);return _0x2a35a7[_0x56fd5d(0x173)]>_0x1671db+0x1?(this[_0x56fd5d(0x153)][_0x56fd5d(0x1ff)]({'from':_0x1671db,'to':_0x2a35a7[_0x56fd5d(0x173)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x399308){var _0x1dd187=_0x252583;this['_undoRedoService']['transformUndoRedo'](this[_0x1dd187(0x1f1)],_0x399308);}['_transformSelections'](_0x7cd26e){var _0xb57025=_0x252583,_0x13172c,_0x2af315;(_0x2af315=(_0x13172c=this[_0xb57025(0x153)])[_0xb57025(0x326)])==null||_0x2af315[_0xb57025(0x12a)](_0x13172c,_0x7cd26e);}[_0x252583(0x198)](_0xfe5456){var _0x35f308=_0x252583,_0x303997,_0x36fa50;return(_0x36fa50=(_0x303997=this[_0x35f308(0x153)])[_0x35f308(0x2c1)])==null?void 0x0:_0x36fa50['call'](_0x303997,_0xfe5456);}[_0x252583(0x260)](_0x371487){var _0x2e2e71=_0x252583,_0x483475,_0xfadbe1;return(_0xfadbe1=(_0x483475=this[_0x2e2e71(0x153)])['onTransformState'])==null?void 0x0:_0xfadbe1['call'](_0x483475,_0x371487);}[_0x252583(0x282)](_0x128bc5){var _0x5bfdaa=_0x252583,_0xc8168e,_0x60b86,_0x1596d0;return(_0x1596d0=(_0x60b86=(_0xc8168e=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x60b86[_0x5bfdaa(0x12a)](_0xc8168e,_0x128bc5))!=null?_0x1596d0:_0x128bc5;}[_0x252583(0x136)](_0x3dc789){var _0x3156c7=_0x252583,_0x101041,_0x3f16af,_0x3d19dd;return(_0x3d19dd=(_0x3f16af=(_0x101041=this['_handler'])[_0x3156c7(0x22c)])==null?void 0x0:_0x3f16af[_0x3156c7(0x12a)](_0x101041,_0x3dc789))!=null?_0x3d19dd:_0x3dc789;}[_0x252583(0x369)](_0x569fff){var _0x16aff9=_0x252583,_0x4124be,_0x420af5;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x38458b,mutations:_0x49fa70,memberID:_0x507a5d}=_0x569fff,_0x26a38f=_0x49fa70[0x0][_0x16aff9(0x23f)][_0x16aff9(0x2fc)];Array[_0x16aff9(0x12c)](_0x26a38f)&&_0x26a38f[_0x16aff9(0x286)]>0x0&&((_0x420af5=(_0x4124be=this[_0x16aff9(0x153)])['onSyncEditingCollabCursor'])==null||_0x420af5['call'](_0x4124be,{'unitID':_0x38458b,'memberID':_0x507a5d,'textRanges':_0x26a38f}));}}['_updateLocalCache'](){var _0x62dc41=_0x252583,_0x42c833;(_0x42c833=this['_localCacheService'])==null||_0x42c833[_0x62dc41(0x200)](this['unitID'],this[_0x62dc41(0x2e0)],this[_0x62dc41(0x1e4)],this[_0x62dc41(0xf8)]);}[_0x252583(0x22a)](){var _0x6346bd=_0x252583;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x6346bd(0x1f1)]);}[_0x252583(0xcc)](){var _0x5b9250=_0x252583;this[_0x5b9250(0x232)]['incrementRevOfUnit'](this[_0x5b9250(0x1f1)]);}[_0x252583(0x234)](_0xb2ae2){var _0x23fbf7=_0x252583,_0x25ee2c;let _0x18e931=this['_transformRemoteChangesetByIMECache'](_0xb2ae2);_0x18e931=this['_transformRemoteChangesetByStateCache'](_0x18e931);const _0x1dd643=_0x99f1e9(_0x18e931[_0x23fbf7(0xf6)],this[_0x23fbf7(0x150)],{'fromCollab':!0x0});if(!_0x1dd643[_0x23fbf7(0x15d)])throw _0x1dd643[_0x23fbf7(0x203)]instanceof Error?_0x1dd643[_0x23fbf7(0x203)]:new Error((_0x25ee2c=_0x1dd643[_0x23fbf7(0x203)])!=null?_0x25ee2c:_0x23fbf7(0xb6));this[_0x23fbf7(0x198)](_0x18e931),this[_0x23fbf7(0x260)](_0x18e931),this[_0x23fbf7(0x15c)](_0xb2ae2),this[_0x23fbf7(0x272)](_0x18e931),this[_0x23fbf7(0x369)](_0x18e931),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x35692a,_0x1e199f,_0x54c10c,_0x43a1cd,_0x238354,_0x1b24f5,_0x210774,_0x2a03d6,_0x245962,_0x5cb155){var _0x5b0977=_0x252583;super(_0x35692a,_0x1e199f,null,[],_0x54c10c,_0x210774,_0x1b24f5,_0x43a1cd,_0x5cb155),D(this,_0x5b0977(0x156),'synced'),(this[_0x5b0977(0x231)]=_0x238354,this['_logService']=_0x2a03d6,this[_0x5b0977(0x2b7)]=_0x245962,this[_0x5b0977(0xcf)]=_0x5cb155);}['appendMutation'](_0x26dc3a){var _0x57ca42=_0x252583;const _0x6f7924=this[_0x57ca42(0x231)][_0x57ca42(0x12d)](ae,this[_0x57ca42(0x1f1)],this[_0x57ca42(0x2e0)],[_0x26dc3a],this[_0x57ca42(0x153)]);return _0x6f7924[_0x57ca42(0x21c)](),_0x6f7924[_0x57ca42(0xc3)](),_0x6f7924;}[_0x252583(0x2e3)](_0x2441eb){var _0xa58347=_0x252583;if(this[_0xa58347(0x34c)](_0x2441eb))return this[_0xa58347(0x231)][_0xa58347(0x12d)](ee,this['unitID'],this[_0xa58347(0x2e0)],null,[],null,[_0x2441eb],this[_0xa58347(0x153)]);try{const _0x3d8328=this[_0xa58347(0x2b7)]['transformMutationsWithChangeset'](_0x2441eb,[$s]);if(_0x28f176(_0x3d8328)){const {c1Prime:_0x3278fc}=_0x3d8328;return this[_0xa58347(0x234)](_0x3278fc),this;}throw _0x3d8328['error'];}catch(_0x36eeb3){return this[_0xa58347(0x249)][_0xa58347(0x203)](_0x36eeb3),this['_onConflict'](!0x1);}}[_0x252583(0x316)](_0x46122f){var _0x2cc41c=_0x252583;return this[_0x2cc41c(0x231)]['createInstance'](ue,this[_0x2cc41c(0x1f1)],this[_0x2cc41c(0x2e0)],null,[],this[_0x2cc41c(0x153)],_0x46122f);}[_0x252583(0x19e)](){var _0x1706d9=_0x252583;throw new Error(_0x1706d9(0x35c));}[_0x252583(0x137)](){var _0x2b02a1=_0x252583;throw new Error(_0x2b02a1(0x201));}['onRemoteRetry'](){return this;}[_0x252583(0x9f)](){var _0x20f71d=_0x252583;return this['_injector'][_0x20f71d(0x12d)](de,this['unitID'],this[_0x20f71d(0x2e0)],null,[],this[_0x20f71d(0x153)]);}[_0x252583(0x1c8)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x252583(0x12e)](){var _0x1ee80e=_0x252583;const _0x2dbb3a=this['_revisionService'][_0x1ee80e(0x1a3)](this[_0x1ee80e(0x1f1)]);return this[_0x1ee80e(0x153)][_0x1ee80e(0x1ff)]({'from':_0x2dbb3a,'to':0x0}),this[_0x1ee80e(0x231)][_0x1ee80e(0x12d)](ee,this[_0x1ee80e(0x1f1)],this['type'],null,[],null,[],this[_0x1ee80e(0x153)]);}};be=Se([w(0x3,_0x37e364(_0x5ca6a2)),w(0x4,_0x37e364(_0x36e3d8)),w(0x5,_0x32e3a9),w(0x6,_0x1eb17c),w(0x7,_0x4e6565),w(0x8,_0xeb3de5),w(0x9,_0x27904f(J))],be);let ae=class extends ge{constructor(_0x4ae0c8,_0xf39f31,_0x585d9b,_0x9daf80,_0x3d1c5c,_0x2df2f5,_0x210f39,_0x5d2f15,_0x4dc2a8,_0x52f5c1,_0x659fe7,_0x2405ee,_0x5106fa,_0x2f90d7){var _0x37a8bc=_0x252583;super(_0x4ae0c8,_0xf39f31,null,_0x585d9b,_0x9daf80,_0x4dc2a8,_0x5106fa,_0x2df2f5,_0x2f90d7),D(this,_0x37a8bc(0x156),'pending'),D(this,_0x37a8bc(0x353),null),D(this,_0x37a8bc(0x170),null),(this[_0x37a8bc(0x231)]=_0x3d1c5c,this['_memberService']=_0x210f39,this[_0x37a8bc(0x249)]=_0x5d2f15,this[_0x37a8bc(0xca)]=_0x52f5c1,this['_transformService']=_0x659fe7,this[_0x37a8bc(0xef)]=_0x2405ee);}['appendMutation'](_0x29ede7){var _0x5d84d7=_0x252583;return this[_0x5d84d7(0xf8)][_0x5d84d7(0x36e)](_0x29ede7),this[_0x5d84d7(0xc3)](),this;}[_0x252583(0x2e3)](_0xb6d7b6){var _0xda53f2=_0x252583;if(this['_checkMissing'](_0xb6d7b6))return this[_0xda53f2(0x250)](),this[_0xda53f2(0x231)]['createInstance'](ee,this[_0xda53f2(0x1f1)],this[_0xda53f2(0x2e0)],null,this[_0xda53f2(0xf8)],null,[_0xb6d7b6],this['_handler']);try{const _0x6387bb=this['_transformService'][_0xda53f2(0x285)](_0xb6d7b6,this[_0xda53f2(0xf8)]);if(_0x28f176(_0x6387bb)){const {c1Prime:_0x5edae9,m2Prime:_0x256135}=_0x6387bb;this[_0xda53f2(0x234)](_0x5edae9);const _0x4139e4=this[_0xda53f2(0x231)][_0xda53f2(0x12d)](ae,this[_0xda53f2(0x1f1)],this['type'],_0x256135,this['_handler']);this[_0xda53f2(0x250)]();const _0x1530b8=new Date()[_0xda53f2(0x1df)](),_0x23ccc7=this[_0xda53f2(0x353)]?Math[_0xda53f2(0x36a)](this['_scheduleCompleteTimestamp']-_0x1530b8,0x0):this[_0xda53f2(0x206)]();return _0x4139e4[_0xda53f2(0x21c)](_0x23ccc7),_0x4139e4;}throw _0x6387bb[_0xda53f2(0x203)];}catch(_0x3847c0){return this['_logService'][_0xda53f2(0x203)](_0x3847c0),this[_0xda53f2(0x316)](!0x1);}}[_0x252583(0x19e)](){var _0x223bac=_0x252583;throw new Error(_0x223bac(0xbc));}[_0x252583(0x137)](){var _0xcb0fa8=_0x252583;throw new Error(_0xcb0fa8(0x397));}[_0x252583(0x2a3)](){return this;}['toggleOffline'](){var _0x29b136=_0x252583;return this[_0x29b136(0x250)](),this[_0x29b136(0x231)][_0x29b136(0x12d)](de,this[_0x29b136(0x1f1)],this[_0x29b136(0x2e0)],null,this['_pendingMutations'],this[_0x29b136(0x153)]);}[_0x252583(0x1c8)](){return this;}[_0x252583(0x21c)](_0x9c61a2){var _0x422426=_0x252583;const _0x3428cf=_0x9c61a2!=null?_0x9c61a2:this[_0x422426(0x206)]();this[_0x422426(0x353)]=new Date()[_0x422426(0x1df)]()+_0x3428cf,this[_0x422426(0x170)]=setTimeout(()=>{var _0x5822f9=_0x422426;this[_0x5822f9(0x250)]();let _0x2cfe73=null;switch(this[_0x5822f9(0x2e0)]){case Q[_0x5822f9(0xd2)]:{_0x2cfe73=Gt(this['_pendingMutations'],this['unitID'],this[_0x5822f9(0xef)],this[_0x5822f9(0x232)],this[_0x5822f9(0x1ca)]);break;}case Q[_0x5822f9(0x2e1)]:{this[_0x5822f9(0xf8)][_0x5822f9(0x102)](_0x31367c=>_0x31367c['id']===_0x2cf632['id'])?_0x2cfe73=ks(this[_0x5822f9(0xf8)],this[_0x5822f9(0x1f1)],this['_univerInstanceService'],this[_0x5822f9(0x232)],this[_0x5822f9(0x1ca)]):_0x2cfe73=Gt(this[_0x5822f9(0xf8)],this['unitID'],this[_0x5822f9(0xef)],this['_revisionService'],this[_0x5822f9(0x1ca)]);break;}default:throw new Error(_0x5822f9(0x2dd)+this[_0x5822f9(0x2e0)]+_0x5822f9(0x9e));}const {changeset:_0xb61f13,pendingMutations:_0x87f512}=_0x2cfe73;this[_0x5822f9(0x153)][_0x5822f9(0x95)](_0xb61f13);const _0x4c7483=_0x87f512[_0x5822f9(0x286)]?this[_0x5822f9(0x231)][_0x5822f9(0x12d)](oe,this[_0x5822f9(0x1f1)],this[_0x5822f9(0x2e0)],_0xb61f13,_0x87f512,this[_0x5822f9(0x153)],void 0x0):this[_0x5822f9(0x231)][_0x5822f9(0x12d)](le,this['unitID'],this['type'],_0xb61f13,this[_0x5822f9(0x153)]);_0x4c7483[_0x5822f9(0xc3)](),this[_0x5822f9(0x153)]['onStateChange'](this,_0x4c7483);},_0x3428cf);}[_0x252583(0x206)](){var _0x374e5f=_0x252583,_0x516225;const _0x48fac0=this[_0x374e5f(0xca)][_0x374e5f(0x2e4)](K);return(_0x516225=_0x48fac0==null?void 0x0:_0x48fac0[_0x374e5f(0x2d1)])!=null?_0x516225:ps;}[_0x252583(0x1af)](){var _0x483d2e=_0x252583;throw new Error(_0x483d2e(0x134));}[_0x252583(0x250)](){var _0x37e8f9=_0x252583;this['_sendingTimer']!=null&&(clearTimeout(this[_0x37e8f9(0x170)]),this[_0x37e8f9(0x170)]=null);}[_0x252583(0x316)](_0x2cb13b){var _0x19352c=_0x252583;return this['_clearScheduledTask'](),this[_0x19352c(0x231)][_0x19352c(0x12d)](ue,this[_0x19352c(0x1f1)],this[_0x19352c(0x2e0)],null,this['_pendingMutations'],this[_0x19352c(0x153)],_0x2cb13b);}};ae=Se([w(0x4,_0x37e364(_0x36e3d8)),w(0x5,_0x37e364(_0x5ca6a2)),w(0x6,_0x37e364(Pe)),w(0x7,_0x4e6565),w(0x8,_0x1eb17c),w(0x9,_0x1e7d16),w(0xa,_0xeb3de5),w(0xb,_0x2b2ac3),w(0xc,_0x32e3a9),w(0xd,_0x27904f(J))],ae);let le=class extends ge{constructor(_0x4c9752,_0xbcac2c,_0xc44ef0,_0x2226ae,_0x72f083,_0x3e9485,_0xa563e5,_0x1d4e0d,_0x2d0dcf,_0x52cdb8,_0x5638f0){var _0x4faa25=_0x252583;super(_0x4c9752,_0xbcac2c,_0xc44ef0,[],_0x2226ae,_0xa563e5,_0x52cdb8,_0x3e9485,_0x5638f0),D(this,_0x4faa25(0x156),_0x4faa25(0x138)),D(this,_0x4faa25(0x1ef),0x0),D(this,_0x4faa25(0x1e2)),D(this,'_sender'),(this['_injector']=_0x72f083,this[_0x4faa25(0x249)]=_0x1d4e0d,this[_0x4faa25(0x2b7)]=_0x2d0dcf);}[_0x252583(0x2f9)](_0x2957f0){var _0x3caebb=_0x252583;this[_0x3caebb(0x250)]();const _0x4b8a04=this[_0x3caebb(0x231)][_0x3caebb(0x12d)](oe,this[_0x3caebb(0x1f1)],this[_0x3caebb(0x2e0)],this[_0x3caebb(0x1e4)],[_0x2957f0],this[_0x3caebb(0x153)],this['_resendTimer']);return _0x4b8a04[_0x3caebb(0xc3)](),_0x4b8a04;}[_0x252583(0x2e3)](_0x5b84f2){var _0x15260f=_0x252583;if(this[_0x15260f(0x34c)](_0x5b84f2))return this[_0x15260f(0x250)](),this[_0x15260f(0x231)][_0x15260f(0x12d)](ee,this[_0x15260f(0x1f1)],this['type'],this[_0x15260f(0x1e4)],[],null,[_0x5b84f2],this[_0x15260f(0x153)]);try{const _0x56276f=this['_transformService'][_0x15260f(0x192)]([_0x5b84f2],[this[_0x15260f(0x1e4)]],!0x1);if(_0xaa2d16(_0x56276f)){const {c1Prime:_0x2568ad,c2Prime:_0x35bed1}=_0x56276f;this[_0x15260f(0x234)](_0x2568ad[0x0]),_0x35bed1[0x0][_0x15260f(0x10e)]=this[_0x15260f(0x22a)](),this[_0x15260f(0x250)]();const _0x223e5d=this[_0x15260f(0x231)]['createInstance'](le,this['unitID'],this[_0x15260f(0x2e0)],_0x35bed1[0x0],this['_handler']);return _0x223e5d['_updateLocalCache'](),_0x223e5d;}return this[_0x15260f(0x316)](!0x1);}catch(_0x611ac0){return this[_0x15260f(0x249)]['error'](_0x611ac0),this['_onConflict'](!0x1);}}[_0x252583(0x19e)](_0x4fcdf7){var _0x282c43=_0x252583;this['_clearScheduledTask']();const _0x587aea=this[_0x282c43(0x232)][_0x282c43(0x1a3)](this['unitID']);if(_0x4fcdf7['revision']<_0x587aea-0x1)return this;if(this[_0x282c43(0x34c)](_0x4fcdf7))return this['_injector']['createInstance'](ee,this['unitID'],this[_0x282c43(0x2e0)],null,[],this['_awaitingChangeset'],[],this[_0x282c43(0x153)]);this['_incrementRevisionNumber']();const _0x4ca6d0=this['_injector'][_0x282c43(0x12d)](be,this[_0x282c43(0x1f1)],this[_0x282c43(0x2e0)],this[_0x282c43(0x153)]);return _0x4ca6d0['_updateLocalCache'](),_0x4ca6d0;}[_0x252583(0x137)](_0x57a38a){var _0xaf3dae=_0x252583;return this['_onConflict'](!!(_0x57a38a!=null&&_0x57a38a[_0xaf3dae(0x269)]));}[_0x252583(0x2a3)](_0x1d796c){var _0x45df91=_0x252583;return this[_0x45df91(0x1ef)]>gi?this[_0x45df91(0x9f)]():(this['_resendTimer']=Ii(this[_0x45df91(0x1ef)],{'timeout':this[_0x45df91(0x1ef)],'reqId':_0x1d796c['reqId']}),this[_0x45df91(0x274)]=this[_0x45df91(0x1e2)][_0x45df91(0x13e)](({reqId:_0x3c89af,timeout:_0x3f7863})=>{var _0x1e7dba=_0x45df91;this[_0x1e7dba(0x2cc)](_0x3c89af,_0x3f7863);}),this);}['toggleOffline'](){var _0x1e8b6a=_0x252583;return this[_0x1e8b6a(0x250)](),this['_injector'][_0x1e8b6a(0x12d)](de,this[_0x1e8b6a(0x1f1)],this['type'],this[_0x1e8b6a(0x1e4)],[],this[_0x1e8b6a(0x153)]);}[_0x252583(0x1c8)](){return this;}[_0x252583(0x1af)](){var _0x1c768a=_0x252583;this[_0x1c768a(0x153)][_0x1c768a(0x95)](this[_0x1c768a(0x1e4)]);}[_0x252583(0x316)](_0x23ed3c){var _0x218dde=_0x252583;return this['_clearScheduledTask'](),this[_0x218dde(0x231)][_0x218dde(0x12d)](ue,this[_0x218dde(0x1f1)],this[_0x218dde(0x2e0)],this[_0x218dde(0x1e4)],[],this[_0x218dde(0x153)],_0x23ed3c);}[_0x252583(0x2cc)](_0x575174,_0x3e0624){var _0x1eebb3=_0x252583,_0x462aff;_0x575174===((_0x462aff=this[_0x1eebb3(0x1e4)])==null?void 0x0:_0x462aff[_0x1eebb3(0x2ba)])&&(this[_0x1eebb3(0x1af)](),this[_0x1eebb3(0x1ef)]=_0x3e0624===0x0?0x3e8:_0x3e0624*0x2);}[_0x252583(0x250)](){var _0x185dee=_0x252583,_0x4f909c;(_0x4f909c=this[_0x185dee(0x274)])==null||_0x4f909c[_0x185dee(0x217)](),this['_resendTimeout']=0x0;}};le=Se([w(0x4,_0x37e364(_0x36e3d8)),w(0x5,_0x37e364(_0x5ca6a2)),w(0x6,_0x1eb17c),w(0x7,_0x4e6565),w(0x8,_0xeb3de5),w(0x9,_0x32e3a9),w(0xa,_0x27904f(J))],le);let oe=class extends ge{constructor(_0x1e51bb,_0x262dbe,_0x254c56,_0x127e3a,_0x3e62f3,_0x48c4d1,_0x301317,_0x1d9f61,_0x20b291,_0x20d227,_0x2151be,_0x197c0e,_0x389563){var _0x2255d3=_0x252583;super(_0x1e51bb,_0x262dbe,_0x254c56,_0x127e3a,_0x3e62f3,_0x20b291,_0x197c0e,_0x1d9f61,_0x389563),D(this,'status',_0x2255d3(0x2f3)),D(this,'_resendTimeout',0x0),D(this,_0x2255d3(0x1e2)),D(this,'_sender'),(this[_0x2255d3(0x231)]=_0x301317,this[_0x2255d3(0x249)]=_0x20d227,this[_0x2255d3(0x2b7)]=_0x2151be,this['localCacheService']=_0x389563,_0x48c4d1&&(this[_0x2255d3(0x1e2)]=_0x48c4d1,this[_0x2255d3(0x274)]=this[_0x2255d3(0x1e2)][_0x2255d3(0x13e)](({reqId:_0x238b50,timeout:_0x1d1821})=>{this['_resendWithTimeout'](_0x238b50,_0x1d1821);})));}[_0x252583(0x2f9)](_0x9a67ae){var _0x205355=_0x252583;return this['_pendingMutations'][_0x205355(0x36e)](_0x9a67ae),this;}[_0x252583(0x2e3)](_0xfb6921){var _0x14571e=_0x252583;if(this[_0x14571e(0x34c)](_0xfb6921))return this['_clearScheduledTask'](),this[_0x14571e(0x231)]['createInstance'](ee,this[_0x14571e(0x1f1)],this['type'],this[_0x14571e(0x1e4)],this[_0x14571e(0xf8)],null,[_0xfb6921],this[_0x14571e(0x153)]);try{const _0x40f979=this[_0x14571e(0x2b7)][_0x14571e(0x192)]([_0xfb6921],[this[_0x14571e(0x1e4)]],!0x1);if(_0xaa2d16(_0x40f979)){const {c1Prime:_0x997c75,c2Prime:_0xb189b8}=_0x40f979,_0x390a10=this['_transformService']['transformMutationsWithChangeset'](_0x997c75[0x0],this[_0x14571e(0xf8)]);if(_0x28f176(_0x390a10)){const {c1Prime:_0x580f1d,m2Prime:_0x1d163d}=_0x390a10;return this['_executeRemoteChangeset'](_0x580f1d),_0xb189b8[0x0][_0x14571e(0x10e)]=this[_0x14571e(0x22a)](),this[_0x14571e(0x250)](),this[_0x14571e(0x231)][_0x14571e(0x12d)](oe,this[_0x14571e(0x1f1)],this['type'],_0xb189b8[0x0],_0x1d163d,this[_0x14571e(0x153)],void 0x0);}throw _0x390a10['error'];}throw _0x40f979[_0x14571e(0x203)];}catch(_0x4e00e8){return this['_logService'][_0x14571e(0x203)](_0x4e00e8),this[_0x14571e(0x316)](!0x1);}}[_0x252583(0x19e)](_0x21e58d){var _0xc64c38=_0x252583;if(this[_0xc64c38(0x250)](),this[_0xc64c38(0x34c)](_0x21e58d))return this[_0xc64c38(0x231)][_0xc64c38(0x12d)](ee,this['unitID'],this[_0xc64c38(0x2e0)],null,this['_pendingMutations'],this[_0xc64c38(0x1e4)],[],this['_handler']);this[_0xc64c38(0xcc)]();const _0x19af71=this[_0xc64c38(0x231)]['createInstance'](ae,this[_0xc64c38(0x1f1)],this[_0xc64c38(0x2e0)],this[_0xc64c38(0xf8)],this[_0xc64c38(0x153)]);return _0x19af71[_0xc64c38(0x21c)](),_0x19af71['_updateLocalCache'](),_0x19af71;}['onRemoteRej'](_0x10973e){var _0x446eb1=_0x252583;return this[_0x446eb1(0x316)](!!(_0x10973e!=null&&_0x10973e[_0x446eb1(0x269)]));}['onRemoteRetry'](_0x24053b){var _0x28307f=_0x252583;return this[_0x28307f(0x1ef)]>gi?this[_0x28307f(0x9f)]():(this[_0x28307f(0x1e2)]=Ii(this[_0x28307f(0x1ef)],{'timeout':this['_resendTimeout'],'reqId':_0x24053b[_0x28307f(0x2ba)]}),this[_0x28307f(0x274)]=this[_0x28307f(0x1e2)][_0x28307f(0x13e)](({reqId:_0x32e9a5,timeout:_0xfb34ef})=>{var _0x12801d=_0x28307f;this[_0x12801d(0x2cc)](_0x32e9a5,_0xfb34ef);}),this);}[_0x252583(0x9f)](){var _0x37bf1b=_0x252583;return this[_0x37bf1b(0x250)](),this[_0x37bf1b(0x231)][_0x37bf1b(0x12d)](de,this[_0x37bf1b(0x1f1)],this['type'],this['_awaitingChangeset'],this[_0x37bf1b(0xf8)],this[_0x37bf1b(0x153)]);}[_0x252583(0x1c8)](){return this;}[_0x252583(0x1af)](){var _0x415bba=_0x252583;this[_0x415bba(0x153)][_0x415bba(0x95)](this[_0x415bba(0x1e4)]);}['_onConflict'](_0x208feb){var _0x352d66=_0x252583;return this[_0x352d66(0x250)](),this[_0x352d66(0x231)][_0x352d66(0x12d)](ue,this['unitID'],this[_0x352d66(0x2e0)],null,this['_pendingMutations'],this['_handler'],_0x208feb);}[_0x252583(0x2cc)](_0x4370ef,_0x57b89a){var _0x17c1fe=_0x252583,_0x32cdb7;_0x4370ef===((_0x32cdb7=this[_0x17c1fe(0x1e4)])==null?void 0x0:_0x32cdb7[_0x17c1fe(0x2ba)])&&(this['resend'](),this[_0x17c1fe(0x1ef)]=_0x57b89a===0x0?0x3e8:_0x57b89a*0x2);}[_0x252583(0x250)](){var _0x480ee4=_0x252583,_0x42bb64;(_0x42bb64=this[_0x480ee4(0x274)])==null||_0x42bb64[_0x480ee4(0x217)](),this[_0x480ee4(0x1ef)]=0x0;}};oe=Se([w(0x6,_0x37e364(_0x36e3d8)),w(0x7,_0x37e364(_0x5ca6a2)),w(0x8,_0x1eb17c),w(0x9,_0x4e6565),w(0xa,_0xeb3de5),w(0xb,_0x32e3a9),w(0xc,_0x27904f(J))],oe);let ue=class extends ge{constructor(_0x55bb97,_0x5c1831,_0x14a008,_0x1f7bd9,_0x1622ab,_0x58381f=!0x1,_0x39e3ea,_0x3f5b8a,_0x4fa18f,_0x291031,_0x1cd6cf,_0x4cd76a,_0x16fd27){var _0x3177e7=_0x252583;super(_0x55bb97,_0x5c1831,_0x14a008,_0x1f7bd9,_0x1622ab,_0x3f5b8a,_0x4fa18f,_0x291031,_0x16fd27),D(this,_0x3177e7(0x156),_0x3177e7(0x311)),(this[_0x3177e7(0x2c5)]=_0x58381f,this[_0x3177e7(0x391)]=_0x39e3ea,this[_0x3177e7(0xd3)]=_0x1cd6cf,this[_0x3177e7(0x25a)]=_0x4cd76a,this['localCacheService']=_0x16fd27,this['_showConflictNotification'](),this[_0x3177e7(0x342)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x252583(0x2e3)](){return this;}[_0x252583(0x19e)](){return this;}['onRemoteRej'](){return this;}[_0x252583(0x2a3)](){return this;}[_0x252583(0x9f)](){return this;}[_0x252583(0x1c8)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x252583(0x342)](){var _0x1fa2dd=_0x252583,_0x552d69;(_0x552d69=this[_0x1fa2dd(0x2b6)])==null||_0x552d69['updateOfflineData'](this['unitID'],this[_0x1fa2dd(0x2e0)],null,[]);}['_showConflictNotification'](){var _0x4e6826=_0x252583;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x4e6826(0x16a)]({'id':re['PERMISSION_DENIED']}):this[_0x4e6826(0x25a)]['emitEvent']({'id':re['CONFLICT']});}['_disableEditing'](){var _0x85db82=_0x252583;this[_0x85db82(0x391)]['updatePermissionPoint'](new _0x266058(this[_0x85db82(0x1f1)])['id'],!0x1);}};ue=Se([w(0x6,_0x37e364(_0x7e9663)),w(0x7,_0x1eb17c),w(0x8,_0x32e3a9),w(0x9,_0x37e364(_0x5ca6a2)),w(0xa,_0x37e364(_0x257fb5)),w(0xb,_0x37e364(ve)),w(0xc,_0x27904f(J))],ue);let de=class extends ge{constructor(_0x580e1c,_0x31db01,_0x32152a,_0x51ee18,_0x361019,_0x253178,_0x3f30af,_0x199a41,_0x5cd325,_0x5656f8){var _0x419248=_0x252583;super(_0x580e1c,_0x31db01,_0x32152a,_0x51ee18,_0x361019,_0x199a41,_0x5cd325,_0x3f30af,_0x5656f8),D(this,_0x419248(0x156),_0x419248(0x39c)),this['_injector']=_0x253178;}['appendMutation'](_0x2ccff3){var _0x5fb9a1=_0x252583;return this[_0x5fb9a1(0xf8)][_0x5fb9a1(0x36e)](_0x2ccff3),this[_0x5fb9a1(0xc3)](),this;}[_0x252583(0x2e3)](_0x18bba5){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x1be847=_0x252583;throw new Error(_0x1be847(0x257));}[_0x252583(0x137)](){var _0x4c2694=_0x252583;throw new Error(_0x4c2694(0x120));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x252583(0x1c8)](){const {_injector:_0x182d6d,_pendingMutations:_0x59c145,_awaitingChangeset:_0xe4d9f8,unitID:_0x190faa,_handler:_0x33b375,type:_0x1145f6}=this,_0x2b0c6a=Ti(_0x182d6d,_0x190faa,_0x1145f6,_0xe4d9f8,_0x59c145,_0x33b375);return _0x2b0c6a instanceof ae?_0x2b0c6a['_schedule']():(_0x2b0c6a instanceof oe||_0x2b0c6a instanceof le)&&_0x2b0c6a['resend'](),_0x2b0c6a;}[_0x252583(0x1af)](){var _0x4a0c9b=_0x252583;throw new Error(_0x4a0c9b(0x32c));}};de=Se([w(0x5,_0x37e364(_0x36e3d8)),w(0x6,_0x37e364(_0x5ca6a2)),w(0x7,_0x1eb17c),w(0x8,_0x32e3a9),w(0x9,_0x27904f(J))],de);let ee=class extends ge{constructor(_0x3c5a75,_0x13988c,_0x51d25a,_0x541ce6,_0x3b513a,_0x16b88e,_0x302c17,_0x54b225,_0x1f9107,_0x30bd3f,_0x357e31,_0x11a7ad,_0x3e299f,_0x3920ea){var _0x2704bd=_0x252583;super(_0x3c5a75,_0x13988c,_0x51d25a,_0x541ce6,_0x302c17,_0x357e31,_0x11a7ad,_0x1f9107,_0x3920ea),D(this,'status',_0x2704bd(0x341)),(this['_acknowledgedAwaitingChangeset']=_0x3b513a,this['_queuedRemoteChangesets']=_0x16b88e,this[_0x2704bd(0x231)]=_0x54b225,this['_logService']=_0x30bd3f,this[_0x2704bd(0x2b7)]=_0x3e299f,this[_0x2704bd(0xcf)]=_0x3920ea);}['onMissedChangesetFetched'](_0x62b54a){var _0x5bb9c5=_0x252583;try{const _0x5a4974=[..._0x62b54a,...this[_0x5bb9c5(0x303)]],_0x3fac9b=[this[_0x5bb9c5(0x1e4)]||this['_acknowledgedAwaitingChangeset']][_0x5bb9c5(0x26f)](_0x4b0f33=>!!_0x4b0f33);let _0x1a0f0e,_0xe47773;if(_0x3fac9b[_0x5bb9c5(0x286)]){const _0x532ce7=this[_0x5bb9c5(0x2b7)][_0x5bb9c5(0x192)](_0x5a4974,_0x3fac9b,!0x1);if(!_0xaa2d16(_0x532ce7))throw _0x532ce7[_0x5bb9c5(0x203)];_0x1a0f0e=_0x532ce7[_0x5bb9c5(0x1b7)],_0xe47773=_0x532ce7[_0x5bb9c5(0x178)];}else _0x1a0f0e=_0x5a4974,_0xe47773=[];let _0x506f9f=this[_0x5bb9c5(0xf8)];_0x1a0f0e[_0x5bb9c5(0x104)](_0x29df5e=>{var _0x38e6b1=_0x5bb9c5;let _0x48ba2c;if(_0x506f9f[_0x38e6b1(0x286)]){const _0x1860c8=this['_transformService'][_0x38e6b1(0x285)](_0x29df5e,_0x506f9f);if(!_0x28f176(_0x1860c8))throw _0x1860c8[_0x38e6b1(0x203)];_0x48ba2c=_0x1860c8[_0x38e6b1(0x1b7)],_0x506f9f=_0x1860c8[_0x38e6b1(0x307)];}else _0x48ba2c=_0x29df5e;this[_0x38e6b1(0x234)](_0x48ba2c);}),this[_0x5bb9c5(0xee)]&&this[_0x5bb9c5(0xcc)](),this[_0x5bb9c5(0x1e4)]&&_0xe47773[_0x5bb9c5(0x286)]&&(_0xe47773[0x0][_0x5bb9c5(0x10e)]=this[_0x5bb9c5(0x22a)]());let _0x4ffbc3;if(this[_0x5bb9c5(0x1e4)]&&_0x506f9f[_0x5bb9c5(0x286)]!==0x0)_0x4ffbc3=this[_0x5bb9c5(0x231)][_0x5bb9c5(0x12d)](oe,this[_0x5bb9c5(0x1f1)],this[_0x5bb9c5(0x2e0)],_0xe47773[0x0],_0x506f9f,this[_0x5bb9c5(0x153)],void 0x0);else{if(this['_awaitingChangeset']&&_0x506f9f[_0x5bb9c5(0x286)]===0x0)_0xe47773[0x0][_0x5bb9c5(0x10e)]=this[_0x5bb9c5(0x22a)](),_0x4ffbc3=this[_0x5bb9c5(0x231)]['createInstance'](le,this[_0x5bb9c5(0x1f1)],this[_0x5bb9c5(0x2e0)],_0xe47773[0x0],this['_handler']);else{if(_0x506f9f[_0x5bb9c5(0x286)]!==0x0){const _0x522383=this[_0x5bb9c5(0x231)][_0x5bb9c5(0x12d)](ae,this['unitID'],this[_0x5bb9c5(0x2e0)],_0x506f9f,this['_handler']);_0x522383['_schedule'](),_0x4ffbc3=_0x522383;}else _0x4ffbc3=this[_0x5bb9c5(0x231)][_0x5bb9c5(0x12d)](be,this[_0x5bb9c5(0x1f1)],this[_0x5bb9c5(0x2e0)],this['_handler']);}}return _0x4ffbc3[_0x5bb9c5(0xc3)](),_0x4ffbc3;}catch(_0x10a466){return this[_0x5bb9c5(0x249)]['error'](_0x5bb9c5(0x230),_0x5bb9c5(0x259),_0x10a466),this[_0x5bb9c5(0x231)][_0x5bb9c5(0x12d)](ue,this[_0x5bb9c5(0x1f1)],this['type'],this[_0x5bb9c5(0x1e4)],this[_0x5bb9c5(0xf8)],this[_0x5bb9c5(0x153)],!0x1);}}[_0x252583(0x1af)](){var _0x38eba8=_0x252583;throw new Error(_0x38eba8(0x2f2));}[_0x252583(0x2f9)](_0x313187){var _0x183262=_0x252583;return this[_0x183262(0xf8)][_0x183262(0x36e)](_0x313187),this;}[_0x252583(0x2e3)](_0x24a2ad){var _0x5826d2=_0x252583;return this[_0x5826d2(0x303)]['push'](_0x24a2ad),this;}[_0x252583(0x19e)](_0x29486f){var _0x127c0d=_0x252583;if(this['_awaitingChangeset'])return this[_0x127c0d(0xee)]=this[_0x127c0d(0x1e4)],this[_0x127c0d(0x1e4)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x252583(0x137)](_0x28ded8){var _0x379d55=_0x252583;return this[_0x379d55(0x316)](!!(_0x28ded8!=null&&_0x28ded8[_0x379d55(0x269)]));}['onRemoteRetry'](){return this;}[_0x252583(0x9f)](){var _0x12a933=_0x252583;return this['_injector']['createInstance'](de,this[_0x12a933(0x1f1)],this[_0x12a933(0x2e0)],this[_0x12a933(0x1e4)],this[_0x12a933(0xf8)],this[_0x12a933(0x153)]);}['toggleOnline'](){return this;}['_onConflict'](_0x37fee3){var _0x396424=_0x252583;return this[_0x396424(0x231)][_0x396424(0x12d)](ue,this['unitID'],this[_0x396424(0x2e0)],this[_0x396424(0x1e4)],this[_0x396424(0xf8)],this[_0x396424(0x153)],_0x37fee3);}};ee=Se([w(0x7,_0x37e364(_0x36e3d8)),w(0x8,_0x37e364(_0x5ca6a2)),w(0x9,_0x4e6565),w(0xa,_0x1eb17c),w(0xb,_0x32e3a9),w(0xc,_0xeb3de5),w(0xd,_0x27904f(J))],ee);function Ti(_0x370fa4,_0x149548,_0x5eae52,_0x29ceef,_0x1e4a4b,_0x2e8383){var _0x177582=_0x252583;return _0x29ceef&&_0x1e4a4b[_0x177582(0x286)]?_0x370fa4['createInstance'](oe,_0x149548,_0x5eae52,_0x29ceef,_0x1e4a4b,_0x2e8383,void 0x0):_0x29ceef?_0x370fa4[_0x177582(0x12d)](le,_0x149548,_0x5eae52,_0x29ceef,_0x2e8383):_0x1e4a4b[_0x177582(0x286)]?_0x370fa4[_0x177582(0x12d)](ae,_0x149548,_0x5eae52,_0x1e4a4b,_0x2e8383):_0x370fa4['createInstance'](be,_0x149548,_0x5eae52,_0x2e8383);}var Bs=Object['getOwnPropertyDescriptor'],Pt=(_0x127590,_0x1d467a,_0x503aa3,_0x36496e)=>{var _0x38e9d0=_0x252583;for(var _0x164434=_0x36496e>0x1?void 0x0:_0x36496e?Bs(_0x1d467a,_0x503aa3):_0x1d467a,_0x4b673b=_0x127590[_0x38e9d0(0x286)]-0x1,_0x41ea4c;_0x4b673b>=0x0;_0x4b673b--)(_0x41ea4c=_0x127590[_0x4b673b])&&(_0x164434=_0x41ea4c(_0x164434)||_0x164434);return _0x164434;},$=(_0x37365d,_0x514b25)=>(_0x29c06d,_0x3e850d)=>_0x514b25(_0x29c06d,_0x3e850d,_0x37365d);let st=class extends _0x4669db{constructor(_0x58b3f4,_0x2601d2,_0x358f09,_0x358858,_0x269870,_0xc0977f,_0x2474fe,_0x5ee991,_0x1229a6,_0x564006,_0x31413f,_0x349990,_0x46651e,_0x43f88c){var _0x47f739=_0x252583;super(),D(this,'_state$',new _0x24a605(null)),D(this,'state$',this[_0x47f739(0xfe)]['asObservable']()),D(this,'_state'),D(this,_0x47f739(0x159),!0x1),D(this,_0x47f739(0x199),''),D(this,_0x47f739(0x383),0x0),D(this,_0x47f739(0x209),this[_0x47f739(0x24f)][_0x47f739(0x33e)](_0x1611a5(_0xe85781=>_0xe85781?_0xe85781[_0x47f739(0x156)]:Si[_0x47f739(0x106)]),_0x16b024(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x47f739(0x365),[]),(this[_0x47f739(0x1f1)]=_0x58b3f4,this[_0x47f739(0x2dc)]=_0x2601d2,this[_0x47f739(0x340)]=_0x358f09,this[_0x47f739(0x231)]=_0x358858,this[_0x47f739(0x10d)]=_0x269870,this[_0x47f739(0xd3)]=_0xc0977f,this['_revisionService']=_0x2474fe,this['_eventService']=_0x5ee991,this[_0x47f739(0xef)]=_0x1229a6,this['_logService']=_0x564006,this[_0x47f739(0x150)]=_0x31413f,this[_0x47f739(0x391)]=_0x349990,this[_0x47f739(0x2fd)]=_0x46651e,this[_0x47f739(0x2b6)]=_0x43f88c);}get['state'](){return this['_state'];}async[_0x252583(0xac)](){var _0x36ee54=_0x252583;if(this[_0x36ee54(0x2fb)])throw new Error(_0x36ee54(0x9c));await this['_init']();}[_0x252583(0x394)](){var _0x338a9e=_0x252583;return this[_0x338a9e(0x159)]=!0x0,_0x2b31b1(()=>{var _0x33e17b=_0x338a9e;this[_0x33e17b(0x159)]=!0x1,this[_0x33e17b(0xf2)]();});}['onLocalMutation'](_0x22b9d7){var _0x4f2f5b=_0x252583;this[_0x4f2f5b(0x35a)](_0x22b9d7);}[_0x252583(0x214)](_0x59ce2b){var _0x3361be=_0x252583;this[_0x3361be(0x114)]=_0x59ce2b,this[_0x3361be(0xfe)]['next'](_0x59ce2b);}async[_0x252583(0x177)](){var _0x4231fc=_0x252583,_0x207ce8;this[_0x4231fc(0x214)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x207ce8=this[_0x4231fc(0x2fd)])==null||_0x207ce8[_0x4231fc(0x18e)](this[_0x4231fc(0x1f1)]),this[_0x4231fc(0x21b)](this[_0x4231fc(0x2fd)][_0x4231fc(0x258)](this['unitID'])[_0x4231fc(0x13e)](_0x78800=>{var _0x23cc7b=_0x4231fc;this[_0x23cc7b(0x249)]['debug'](_0x23cc7b(0x133),_0x23cc7b(0x243),_0x78800),_0x78800===mi['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x23cc7b(0x16a)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x23cc7b(0x391)]['updatePermissionPoint'](new _0x266058(this[_0x23cc7b(0x1f1)])['id'],!0x1),this['_permissionService'][_0x23cc7b(0x235)](!0x1)):(this[_0x23cc7b(0x391)][_0x23cc7b(0x253)](new _0x266058(this[_0x23cc7b(0x1f1)])['id'],!0x0),this[_0x23cc7b(0x391)][_0x23cc7b(0x235)](!0x0));})));let _0x10b922=!0x1;return this[_0x4231fc(0x21b)](this[_0x4231fc(0x2dc)][_0x4231fc(0x213)][_0x4231fc(0x13e)](_0x40d592=>{var _0x2d2c74=_0x4231fc;_0x40d592===me[_0x2d2c74(0x215)]?this[_0x2d2c74(0x2c4)](_0x10b922):_0x40d592===me[_0x2d2c74(0x106)]&&(_0x10b922=!0x0,this[_0x2d2c74(0x2ea)]());})),this[_0x4231fc(0x21b)](this[_0x4231fc(0x2dc)][_0x4231fc(0x2b3)][_0x4231fc(0x13e)](_0x20aba9=>{var _0x84cba6=_0x4231fc;try{switch(_0x20aba9[_0x84cba6(0x146)]){case _0x103a4d['NEW_CHANGESETS']:{this[_0x84cba6(0x164)](_0xa777a(_0x20aba9[_0x84cba6(0x368)]));break;}case _0x103a4d[_0x84cba6(0x1d1)]:{this[_0x84cba6(0xed)](_0x20aba9[_0x84cba6(0x368)]);break;}case _0x103a4d[_0x84cba6(0xe8)]:{this['_onRemoteRejected']();break;}case _0x103a4d[_0x84cba6(0x1d0)]:{this[_0x84cba6(0x9d)](_0x20aba9[_0x84cba6(0x368)]);break;}case _0x103a4d['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x84cba6(0x302)](_0x20aba9[_0x84cba6(0x368)]['changesets'][_0x84cba6(0x1fa)](_0x227353=>_0xa777a(_0x227353)));break;}case _0x103a4d['PERMISSION_REJ']:{this[_0x84cba6(0x37f)]({'isPermissionRej':!0x0});break;}case _0x103a4d[_0x84cba6(0x1c5)]:break;}}catch(_0x3cde97){throw console[_0x84cba6(0x203)](_0x84cba6(0x39d),_0x3cde97),_0x3cde97;}})),this['_state'];}[_0x252583(0xe3)](){var _0x3a081e=_0x252583;this[_0x3a081e(0x108)]=!0x1;}[_0x252583(0x347)](){var _0x13594d=_0x252583;if(this['_transitionLocked'])throw new Error(_0x13594d(0x221));this['_transitionLocked']=!0x0;}[_0x252583(0x35a)](_0xc933da){var _0x3382de=_0x252583;this[_0x3382de(0x347)](),this['_updateState'](this[_0x3382de(0x114)]['appendMutation'](_0xc933da)),this[_0x3382de(0xe3)]();}[_0x252583(0x164)](_0x157ab7){var _0x2b7203=_0x252583;if(!(_0x157ab7['revision']<=this[_0x2b7203(0x232)][_0x2b7203(0x1a3)](this[_0x2b7203(0x1f1)]))){if(this[_0x2b7203(0x159)]){this['_remoteChangesetQueue'][_0x2b7203(0x36e)](_0x157ab7);return;}this['_applyRemoteChangeset'](_0x157ab7);}}[_0x252583(0xf2)](){var _0x29cb94=_0x252583;this[_0x29cb94(0x365)][_0x29cb94(0x104)](_0x163ed9=>this[_0x29cb94(0x15a)](_0x163ed9)),this[_0x29cb94(0x365)]=[];}[_0x252583(0x15a)](_0x1ac5d9){var _0x4035de=_0x252583;const _0xf6d7ca=this['_compressMutationService'][_0x4035de(0x290)]['fetchThroughInterceptors'](this[_0x4035de(0x10d)][_0x4035de(0x290)][_0x4035de(0x2b5)]()[_0x4035de(0x2b9)])(_0x1ac5d9[_0x4035de(0xf6)],null)||_0x1ac5d9['mutations'],_0x51a855={..._0x1ac5d9,'mutations':_0xf6d7ca};this[_0x4035de(0x347)](),this[_0x4035de(0x214)](this[_0x4035de(0x114)][_0x4035de(0x2e3)](_0x51a855)),this[_0x4035de(0xe3)]();}['_onRemoteACK'](_0x4dea60){var _0x13bce8=_0x252583;this['_lockTransition'](),this[_0x13bce8(0x214)](this[_0x13bce8(0x114)][_0x13bce8(0x19e)](_0x4dea60)),this[_0x13bce8(0xe3)]();}[_0x252583(0x37f)](_0x4e3cd2){var _0x3d7b37=_0x252583;this[_0x3d7b37(0x347)](),this[_0x3d7b37(0x214)](this['_state'][_0x3d7b37(0x137)](_0x4e3cd2)),this[_0x3d7b37(0xe3)]();}[_0x252583(0x9d)](_0x4c86a8){var _0x4dbf3f=_0x252583;this[_0x4dbf3f(0x347)](),this[_0x4dbf3f(0x214)](this[_0x4dbf3f(0x114)]['onRemoteRetry'](_0x4c86a8)),this[_0x4dbf3f(0xe3)]();}[_0x252583(0x302)](_0x1de041){var _0x17d60e=_0x252583;if(!(this[_0x17d60e(0x114)]instanceof ee))throw new TypeError(_0x17d60e(0x240));const _0x121f20=_0x1de041[_0x17d60e(0x1fa)](_0xee5ccc=>{var _0x32f404=_0x17d60e;const _0x308f11=this[_0x32f404(0x10d)]['interceptor']['fetchThroughInterceptors'](this[_0x32f404(0x10d)][_0x32f404(0x290)]['getInterceptPoints']()[_0x32f404(0x2b9)])(_0xee5ccc[_0x32f404(0xf6)],null)||_0xee5ccc[_0x32f404(0xf6)];return{..._0xee5ccc,'mutations':_0x308f11};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x17d60e(0x2cf)](_0x121f20)),this[_0x17d60e(0xe3)]();}[_0x252583(0x2ea)](){var _0x734f5f=_0x252583;this[_0x734f5f(0x347)](),this[_0x734f5f(0x214)](this[_0x734f5f(0x114)][_0x734f5f(0x9f)]()),this[_0x734f5f(0xe3)]();}['_toggleOnline'](_0x48cb29=!0x1){var _0x3aefdd=_0x252583;this[_0x3aefdd(0x347)](),this[_0x3aefdd(0x214)](this[_0x3aefdd(0x114)]['toggleOnline']()),this['_unlockTransition']();const _0x28c725=this[_0x3aefdd(0x114)];_0x48cb29&&_0x28c725 instanceof be&&(this[_0x3aefdd(0x347)](),this[_0x3aefdd(0x214)](_0x28c725['fetchMiss']()),this['_unlockTransition']());}async[_0x252583(0x38d)](){return new Promise(_0x36190f=>{var _0xad85f3=_0xfa06;this['session'][_0xad85f3(0x213)][_0xad85f3(0x33e)](_0x38e75e(0x1))[_0xad85f3(0x13e)](async _0x1994f2=>{var _0x541620=_0xad85f3;_0x36190f(await this[_0x541620(0xcb)](_0x1994f2===me[_0x541620(0x215)]));});});}[_0x252583(0x339)](){var _0x3104a8=_0x252583;const _0x1a3453=this[_0x3104a8(0x1f1)];return{'onStateChange':(_0x5e7383,_0x257201)=>{var _0x600c29=_0x3104a8;if(_0x5e7383!==this[_0x600c29(0x114)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5e7383[_0x600c29(0x156)]+_0x600c29(0x283)+_0x257201[_0x600c29(0x156)]+_0x600c29(0x372)+this[_0x600c29(0x114)][_0x600c29(0x156)]);this[_0x600c29(0x214)](_0x257201);},'onSendChangeset':_0x5de5fb=>{var _0x4165a8=_0x3104a8;_0x5de5fb[_0x4165a8(0x29d)]||(_0x5de5fb[_0x4165a8(0x29d)]=this[_0x4165a8(0x199)],_0x5de5fb[_0x4165a8(0x2ba)]=++this[_0x4165a8(0x383)]);const _0x1b4326={'eventID':_0x103a4d[_0x4165a8(0x184)],'data':{'unitID':_0x5de5fb[_0x4165a8(0x1f1)],'unitType':this[_0x4165a8(0x340)],'changeset':_0x5de5fb,'memberID':this[_0x4165a8(0x2dc)]['getMemberID']()}};this[_0x4165a8(0x2dc)][_0x4165a8(0x21d)](_0x1b4326,this[_0x4165a8(0x1f1)]);},'onMissingChangesets':({from:_0x4445f8,to:_0x28ab85})=>{var _0x58612f=_0x3104a8;this[_0x58612f(0x249)][_0x58612f(0x357)](_0x58612f(0x133),_0x58612f(0x142)+_0x4445f8+_0x58612f(0xc9)+_0x28ab85);const _0x24368f={'eventID':_0x103a4d[_0x58612f(0x2ca)],'data':{'unitID':_0x1a3453,'unitType':this[_0x58612f(0x340)],'from':_0x4445f8,'to':_0x28ab85}};this['session'][_0x58612f(0x21d)](_0x24368f,this[_0x58612f(0x1f1)]);}};}async[_0x252583(0xcb)](_0x440ac2){var _0x54ef04=_0x252583,_0x6ad911,_0x24c354,_0x4eeb03;const _0x3a5f81=await((_0x6ad911=this['_localCacheService'])==null?void 0x0:_0x6ad911[_0x54ef04(0x360)](this[_0x54ef04(0x1f1)])),_0x256f5b=(_0x24c354=_0x3a5f81==null?void 0x0:_0x3a5f81[_0x54ef04(0xf6)])!=null?_0x24c354:[],_0x5c6ffc=(_0x4eeb03=_0x3a5f81==null?void 0x0:_0x3a5f81[_0x54ef04(0x1a2)])!=null?_0x4eeb03:null,_0x1e7baa=!!(_0x5c6ffc!=null&&_0x5c6ffc['sid'])&&!!(_0x5c6ffc!=null&&_0x5c6ffc[_0x54ef04(0x2ba)]);this[_0x54ef04(0x199)]=_0x1e7baa?_0x5c6ffc[_0x54ef04(0x29d)]:_0x4165e4(),this[_0x54ef04(0x383)]=_0x1e7baa?_0x5c6ffc[_0x54ef04(0x2ba)]:0x0;const _0x3a09e2=this['unitID'];try{this['_replayCachedMutations'](_0x5c6ffc,_0x256f5b);}catch(_0x27fbc1){this['_logService'][_0x54ef04(0x203)](_0x27fbc1);}const _0x2fe61e=this['_createHandler']();if(_0x440ac2){const _0x410c65=Ti(this[_0x54ef04(0x231)],_0x3a09e2,this[_0x54ef04(0x340)],_0x5c6ffc,_0x256f5b,_0x2fe61e);return _0x410c65 instanceof ae?_0x410c65[_0x54ef04(0x21c)]():(_0x410c65 instanceof oe||_0x410c65 instanceof le)&&_0x410c65[_0x54ef04(0x1af)](),_0x410c65;}return this[_0x54ef04(0x231)][_0x54ef04(0x12d)](de,_0x3a09e2,this[_0x54ef04(0x340)],_0x5c6ffc,_0x256f5b,_0x2fe61e);}[_0x252583(0x1d7)](_0x6cefe7,_0x20082c){var _0x5e9a03=_0x252583,_0x57e072,_0x48b55a;const _0x28f521=this['_compressMutationService'][_0x5e9a03(0x290)][_0x5e9a03(0x113)](this[_0x5e9a03(0x10d)][_0x5e9a03(0x290)]['getInterceptPoints']()[_0x5e9a03(0x2b9)]);(_0x57e072=_0x28f521((_0x6cefe7==null?void 0x0:_0x6cefe7[_0x5e9a03(0xf6)])||[],null))==null||_0x57e072['forEach'](_0x57a98d=>this[_0x5e9a03(0x150)][_0x5e9a03(0xc0)](_0x57a98d['id'],_0x57a98d['params'])),(_0x48b55a=_0x28f521(_0x20082c||[],null))==null||_0x48b55a[_0x5e9a03(0x104)](_0x171861=>this[_0x5e9a03(0x150)][_0x5e9a03(0xc0)](_0x171861['id'],_0x171861[_0x5e9a03(0x23f)]));}};st=Pt([$(0x3,_0x37e364(_0x36e3d8)),$(0x4,_0x37e364(_0x446ed3)),$(0x5,_0x37e364(_0x257fb5)),$(0x6,_0x37e364(_0x5ca6a2)),$(0x7,_0x37e364(ve)),$(0x8,_0x2b2ac3),$(0x9,_0x4e6565),$(0xa,_0x1eb17c),$(0xb,_0x7e9663),$(0xc,_0x27904f(_t)),$(0xd,_0x27904f(J))],st);let It=class extends st{constructor(_0x5891f6,_0x597a3f,_0x2ab9ab,_0x4f6c2e,_0x27fe63,_0x31e282,_0x1deebe,_0x472cea,_0x2479e6,_0x5b030d,_0x27b0b0,_0x425a7f,_0x5d4df9,_0x2b7dff){var _0x47bf1b=_0x252583;super(_0x5891f6,_0x2ab9ab,_0x597a3f,_0x4f6c2e,_0x27fe63,_0x31e282,_0x1deebe,_0x472cea,_0x2479e6,_0x5b030d,_0x27b0b0,_0x425a7f,_0x5d4df9,_0x2b7dff),D(this,'_handlerCallback',null),(this[_0x47bf1b(0x1f1)]=_0x5891f6,this[_0x47bf1b(0x2e0)]=_0x597a3f);}[_0x252583(0x148)](_0x463c0a){var _0x2631a0=_0x252583;this[_0x2631a0(0x284)]=_0x463c0a;}['dispose'](){var _0x43a1c4=_0x252583;this['_handlerCallback']=null,super[_0x43a1c4(0xba)]();}['_createHandler'](){var _0x447170=_0x252583;const _0x1f6c45=super[_0x447170(0x339)]();return _0x1f6c45[_0x447170(0x2c1)]=_0x5ed70a=>{var _0x3c4733=_0x447170,_0x437c69,_0x15c677;return(_0x15c677=(_0x437c69=this['_handlerCallback'])==null?void 0x0:_0x437c69[_0x3c4733(0x2c1)])==null?void 0x0:_0x15c677[_0x3c4733(0x12a)](_0x437c69,_0x5ed70a);},_0x1f6c45[_0x447170(0x103)]=_0x20c2bc=>{var _0x36736b=_0x447170,_0x53c9e0,_0x3f9c09;return(_0x3f9c09=(_0x53c9e0=this[_0x36736b(0x284)])==null?void 0x0:_0x53c9e0[_0x36736b(0x103)])==null?void 0x0:_0x3f9c09[_0x36736b(0x12a)](_0x53c9e0,_0x20c2bc);},_0x1f6c45[_0x447170(0x326)]=_0x40518c=>{var _0x3d54c4=_0x447170,_0x5db39a,_0x3688f3;return(_0x3688f3=(_0x5db39a=this[_0x3d54c4(0x284)])==null?void 0x0:_0x5db39a[_0x3d54c4(0x326)])==null?void 0x0:_0x3688f3[_0x3d54c4(0x12a)](_0x5db39a,_0x40518c);},_0x1f6c45[_0x447170(0x327)]=_0xa5b3ff=>{var _0x4f6813=_0x447170,_0x9d782f,_0x113bd5;return(_0x113bd5=(_0x9d782f=this[_0x4f6813(0x284)])==null?void 0x0:_0x9d782f[_0x4f6813(0x327)])==null?void 0x0:_0x113bd5[_0x4f6813(0x12a)](_0x9d782f,_0xa5b3ff);},_0x1f6c45[_0x447170(0x296)]=_0x24f4f4=>{var _0x4f8a38=_0x447170,_0x4c97d7,_0xb4ec72,_0x3849c6;if(!((_0x4c97d7=this[_0x4f8a38(0x284)])!=null&&_0x4c97d7[_0x4f8a38(0x296)]))throw new Error(_0x4f8a38(0x386));return(_0x3849c6=(_0xb4ec72=this[_0x4f8a38(0x284)])==null?void 0x0:_0xb4ec72[_0x4f8a38(0x296)])==null?void 0x0:_0x3849c6[_0x4f8a38(0x12a)](_0xb4ec72,_0x24f4f4);},_0x1f6c45['onTransformRemoteChangesetByStateCache']=_0xcb5762=>{var _0x3dc3dc=_0x447170,_0xb8ec88,_0x1d0cfd,_0x516b4a;if(!((_0xb8ec88=this[_0x3dc3dc(0x284)])!=null&&_0xb8ec88[_0x3dc3dc(0x22c)]))throw new Error(_0x3dc3dc(0x2c2));return(_0x516b4a=(_0x1d0cfd=this[_0x3dc3dc(0x284)])==null?void 0x0:_0x1d0cfd[_0x3dc3dc(0x22c)])==null?void 0x0:_0x516b4a[_0x3dc3dc(0x12a)](_0x1d0cfd,_0xcb5762);},_0x1f6c45;}async['_init'](){var _0x34d835=_0x252583;const _0x46ad44=await super[_0x34d835(0x177)]();return this[_0x34d835(0x21b)](this[_0x34d835(0x150)][_0x34d835(0x24c)]((_0x2e47ab,_0x1edb5c)=>{var _0x479247=_0x34d835;if(_0x2e47ab[_0x479247(0x2e0)]!==_0x26a266[_0x479247(0x39e)]||_0x1edb5c!=null&&_0x1edb5c[_0x479247(0x37d)]||_0x1edb5c!=null&&_0x1edb5c[_0x479247(0x268)]||_0x2e47ab['id']===_0x2cf632['id'])return;const _0x4354f5=_0x2e47ab[_0x479247(0x23f)];if((_0x4354f5==null?void 0x0:_0x4354f5['unitId'])!==this[_0x479247(0x1f1)])return;const _0x3a5747=_0x2e47ab,_0x317b67=this[_0x479247(0x10d)][_0x479247(0x290)][_0x479247(0x113)](this[_0x479247(0x10d)][_0x479247(0x290)]['getInterceptPoints']()[_0x479247(0x161)])([_0x3a5747],this[_0x479247(0xef)])||[_0x3a5747];this[_0x479247(0x35a)](_0x317b67[0x0]);})),_0x46ad44;}};It=Pt([$(0x3,_0x37e364(_0x36e3d8)),$(0x4,_0x37e364(_0x446ed3)),$(0x5,_0x37e364(_0x257fb5)),$(0x6,_0x37e364(_0x5ca6a2)),$(0x7,_0x37e364(ve)),$(0x8,_0x2b2ac3),$(0x9,_0x4e6565),$(0xa,_0x1eb17c),$(0xb,_0x7e9663),$(0xc,_0x27904f(_t)),$(0xd,_0x27904f(J))],It);let St=class extends st{constructor(_0x4e19d0,_0x2cf8d0,_0x527633,_0x56af7c,_0x1196c3,_0x29adb6,_0x59e656,_0x4f180d,_0x1b9395,_0x4dd9aa,_0x402674,_0x26cba3,_0x286fab,_0x19731a,_0x1450f9){var _0x428588=_0x252583;super(_0x4e19d0,_0x527633,_0x2cf8d0,_0x56af7c,_0x1196c3,_0x29adb6,_0x59e656,_0x1b9395,_0x4dd9aa,_0x402674,_0x26cba3,_0x286fab,_0x19731a,_0x1450f9),this['unitID']=_0x4e19d0,this[_0x428588(0x2e0)]=_0x2cf8d0,this[_0x428588(0x18a)]=_0x4f180d;}[_0x252583(0x339)](){var _0x13fce9=_0x252583;const _0x22abd9=super['_createHandler']();return _0x22abd9[_0x13fce9(0x326)]=_0x243fdb=>this['_sheetTransformSelectionsService'][_0x13fce9(0x2eb)](_0x243fdb),_0x22abd9;}async['_init'](){var _0x1a81f5=_0x252583;const _0x5e652e=await super['_init']();return this[_0x1a81f5(0x21b)](this[_0x1a81f5(0x150)]['onCommandExecuted']((_0x19c888,_0x46cb65)=>{var _0x5e5401=_0x1a81f5;if(_0x19c888[_0x5e5401(0x2e0)]!==_0x26a266[_0x5e5401(0x39e)]||_0x46cb65!=null&&_0x46cb65[_0x5e5401(0x37d)]||_0x46cb65!=null&&_0x46cb65['onlyLocal'])return;const _0x4ada11=_0x19c888[_0x5e5401(0x23f)];if((_0x4ada11==null?void 0x0:_0x4ada11[_0x5e5401(0x228)])!==this['unitID'])return;const _0x41e18c=_0x19c888,_0x7a44fb=this[_0x5e5401(0x10d)]['interceptor'][_0x5e5401(0x113)](this[_0x5e5401(0x10d)][_0x5e5401(0x290)]['getInterceptPoints']()[_0x5e5401(0x161)])([_0x41e18c],this[_0x5e5401(0xef)])||[_0x41e18c];this['_onLocalMutation'](_0x7a44fb[0x0]);})),_0x5e652e;}};St=Pt([$(0x3,_0x37e364(_0x36e3d8)),$(0x4,_0x37e364(_0x446ed3)),$(0x5,_0x37e364(_0x257fb5)),$(0x6,_0x37e364(_0x5ca6a2)),$(0x7,_0x37e364(it)),$(0x8,_0x37e364(ve)),$(0x9,_0x2b2ac3),$(0xa,_0x4e6565),$(0xb,_0x1eb17c),$(0xc,_0x7e9663),$(0xd,_0x27904f(_t)),$(0xe,_0x27904f(J))],St);const js=_0x1f2506(_0x252583(0x189));function Fs(_0x4e6b24){var _0xa85800=_0x252583,_0x4a9987,_0x32e09f,_0x32a10d,_0x2612a1,_0x3f2688;const _0x2b82a4=_0x4e6b24['data'],_0xc26165=JSON[_0xa85800(0x92)](_0x2b82a4);switch(_0xc26165[_0xa85800(0x1dc)]){case F[_0xa85800(0xe6)]:case F['HELLO']:{const _0x2bcc4b=_0xc26165['infoRsp'];return{..._0xc26165,'data':_0x2bcc4b,'cmd':_0xc26165[_0xa85800(0x1dc)]};}case F[_0xa85800(0x25b)]:{const _0x350018=_0xc26165[_0xa85800(0x105)];return{..._0xc26165,'data':_0x350018,'cmd':_0xc26165[_0xa85800(0x1dc)]};}case F[_0xa85800(0xa1)]:{const _0x16c0fd=_0xc26165['collaMsg'];switch(_0x16c0fd[_0xa85800(0x146)]){case _0x103a4d[_0xa85800(0x346)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':(_0x4a9987=_0x16c0fd[_0xa85800(0x1ed)])==null?void 0x0:_0x4a9987['cs']},'cmd':_0xc26165['cmd']};case _0x103a4d['CHANGESET_ACK']:return{..._0xc26165,'data':{..._0x16c0fd,'data':(_0x32e09f=_0x16c0fd[_0xa85800(0x154)])==null?void 0x0:_0x32e09f['cs']},'cmd':_0xc26165['cmd']};case _0x103a4d[_0xa85800(0xa2)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':(_0x32a10d=_0x16c0fd['newCsEvent'])==null?void 0x0:_0x32a10d['cs']},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d[_0xa85800(0xe8)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':(_0x2612a1=_0x16c0fd[_0xa85800(0x320)])==null?void 0x0:_0x2612a1['cs']},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d[_0xa85800(0x1d0)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':(_0x3f2688=_0x16c0fd[_0xa85800(0x18b)])==null?void 0x0:_0x3f2688['cs']},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d[_0xa85800(0x20a)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd['updateCursorEvent']},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d[_0xa85800(0x245)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd['joinEvent']},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d[_0xa85800(0x99)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd[_0xa85800(0x36f)]},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d['LIVESHARE_NEW_HOST']:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd[_0xa85800(0x223)]},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d[_0xa85800(0x19b)]:case _0x103a4d[_0xa85800(0x2c8)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd[_0xa85800(0x2d5)]},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d[_0xa85800(0x2f1)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd[_0xa85800(0x223)]},'cmd':_0xc26165['cmd']};case _0x103a4d[_0xa85800(0xf4)]:return{..._0xc26165,'data':_0x16c0fd,'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d[_0xa85800(0xe2)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd[_0xa85800(0x126)]},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d['UPDATE_PERMISSION_OBJ']:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd['updatePermissionObjEvent']},'cmd':_0xc26165[_0xa85800(0x1dc)]};case _0x103a4d['SHOULD_CLOSE_CONN']:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd[_0xa85800(0x393)]},'cmd':_0xc26165['cmd']};case _0x103a4d[_0xa85800(0x1c5)]:return{..._0xc26165,'data':{..._0x16c0fd,'data':_0x16c0fd['uniscriptRunEvent']},'cmd':_0xc26165['cmd']};default:return _0xc26165;}}default:return _0xc26165;}}function Vs(_0x1e572b){var _0x27c031=_0x252583;switch(_0x1e572b[_0x27c031(0x1dc)]){case F[_0x27c031(0xe6)]:case F[_0x27c031(0x38a)]:return JSON['stringify']({'cmd':_0x1e572b[_0x27c031(0x1dc)],'routeKey':_0x1e572b['routeKey']});case F[_0x27c031(0x187)]:{let _0x1d7fa2;switch(_0x1e572b[_0x27c031(0x368)][_0x27c031(0x146)]){case _0x103a4d[_0x27c031(0x20a)]:{_0x1d7fa2={'eventID':_0x103a4d['UPDATE_CURSOR'],'updateCursorEvent':_0x1e572b[_0x27c031(0x368)][_0x27c031(0x368)]};break;}case _0x103a4d[_0x27c031(0x99)]:{_0x1d7fa2={'eventID':_0x103a4d[_0x27c031(0x99)],'leaveEvent':_0x1e572b[_0x27c031(0x368)]['data']};break;}case _0x103a4d['USERS_ENTER']:{_0x1d7fa2={'eventID':_0x103a4d[_0x27c031(0x245)],'joinEvent':_0x1e572b['data']['data']};break;}case _0x103a4d['LIVESHARE_NEW_HOST']:{_0x1d7fa2={'eventID':_0x103a4d['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1e572b[_0x27c031(0x368)]['data']};break;}case _0x103a4d[_0x27c031(0x2c8)]:{_0x1d7fa2={'eventID':_0x103a4d[_0x27c031(0x2c8)],'liveShareOperation':_0x1e572b[_0x27c031(0x368)]['data']};break;}case _0x103a4d[_0x27c031(0x2f1)]:{_0x1d7fa2={'eventID':_0x103a4d['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1e572b[_0x27c031(0x368)][_0x27c031(0x368)]};break;}case _0x103a4d[_0x27c031(0x1ea)]:{_0x1d7fa2={'eventID':_0x103a4d[_0x27c031(0x1ea)],'liveShareRequestHost':_0x1e572b[_0x27c031(0x368)][_0x27c031(0x368)]};break;}case _0x103a4d[_0x27c031(0x19b)]:{_0x1d7fa2={'eventID':_0x103a4d[_0x27c031(0x19b)]};break;}default:_0x1d7fa2={'eventID':_0x1e572b[_0x27c031(0x368)]['eventID']};}return JSON[_0x27c031(0x297)]({'cmd':_0x1e572b[_0x27c031(0x1dc)],'routeKey':_0x1e572b[_0x27c031(0x35b)],'collaMsg':_0x1d7fa2});}case F[_0x27c031(0x25b)]:return JSON['stringify']({'cmd':_0x1e572b[_0x27c031(0x1dc)],'routeKey':_0x1e572b[_0x27c031(0x35b)],'joinReq':_0x1e572b[_0x27c031(0x368)]});case F[_0x27c031(0x2ff)]:return JSON[_0x27c031(0x297)]({'cmd':_0x1e572b['cmd'],'routeKey':_0x1e572b[_0x27c031(0x35b)],'leaveReq':_0x1e572b['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Gs=Object[_0x252583(0x2b2)],Ws=(_0x3bf560,_0x447ec9,_0x2df353,_0xd7538a)=>{for(var _0x21dec9=_0xd7538a>0x1?void 0x0:_0xd7538a?Gs(_0x447ec9,_0x2df353):_0x447ec9,_0x4f3b8f=_0x3bf560['length']-0x1,_0x245eaa;_0x4f3b8f>=0x0;_0x4f3b8f--)(_0x245eaa=_0x3bf560[_0x4f3b8f])&&(_0x21dec9=_0x245eaa(_0x21dec9)||_0x21dec9);return _0x21dec9;},ye=(_0x36d33f,_0x13f09b)=>(_0x30c103,_0x3ec59c)=>_0x13f09b(_0x30c103,_0x3ec59c,_0x36d33f);const Oi=_0x1f2506('univer-pro.collaboration-client-socket-service');function Ys(_0x2a4c23,_0x182716,_0x476454){var _0x59f35b=_0x252583;return _0x2a4c23+'/'+_0x182716+_0x59f35b(0x1ab)+_0x476454+_0x59f35b(0x31c);}function _0x1227(){var _0x11c5a3=['_keySchedule','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_updateStatus','_instanceService','crypto','responseType','sessionStatus$','_updateState','ONLINE','JOIN_ROOM_FAILED','unsubscribe','[CollaborationUndoRedoService]','allowed','SerializableCipher','disposeWithMe','_schedule','send','updateMember','SOCKET_FAILED_RETRY','saveImage','[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.','method','liveShareNewHost','ClipsheetFragments','_createHmacHelper','updateSnapshot','connection\x20error','unitId','delete','_getCurrentRevision','CHANGESET_REVISION_CONFILICT','onTransformRemoteChangesetByStateCache','random','_initDependencies','500oeVOzq','[FetchMissState]','_injector','_revisionService','YUUMI_SUBSCRIPTION_NOT_FOUND','_executeRemoteChangeset','setShowComponents','CURRENT_STATUS_CANNOT_OPERATE','PERMISSION_DENIED','_removeRoom','session.room-full','unknown','_sendHeartbeatTimer','error$','Malformed\x20UTF-8\x20data','YUUMI_CONNECTOR_URL_NOT_FOUND','params','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getCollabEntity','clear','editing\x20status\x20changed\x20to','ERROR_IMAGE_TYPE','USERS_ENTER','iterations','_decreaseWaiting','body','_logService','algo','_startCollaboration','onCommandExecuted','SOCKET_FAILED','UNDEFINED','state$','_clearScheduledTask','blockSize','_DEC_XFORM_MODE','updatePermissionPoint','&source=','REDEMPTION_CODE_NOT_STARTED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','[OfflineState]:\x20received\x20acknowledgement.','getUnitStatus$','failed\x20to\x20apply\x20missed\x20changesets!','_collaborationUIEventService','JOIN','/resources','Pkcs7','_candidateSocket','_sendHeartbeat','_transformStateCache','loadSheet','stopTime','asObservable','OPTIONAL','socketService','_commentUpdate$','GLOBAL_ROOMS_CNT_EXCEEDS','onlyLocal','isPermissionRej','MOBILE_VERIFY_CODE_MISMATCH','_hash','location','Failed\x20to\x20update\x20permission\x20point','closeSession','filter','BASE64','REDEMPTION_USER_NOT_ELIGIBLE','_transformSelections','reset','_sender','UNKNOWN_CMD','INVITE_CODE_REQUIRED','/universer-api/user/session-ticket','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','REDEMPTION_CODE_HAS_BEEN_CREATED','_createSocket','onCommentUpdate','kdf','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_prevBlock','_networkConditionService','encryptBlock','/role','_transformRemoteChangesetByIMECache','\x0aAfter:\x20','_handlerCallback','transformMutationsWithChangeset','length','Cipher','decryptBlock','_emitMembers','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_ALREADY_BOUND','substr','changesets','/universer-api/uniscript','UnitSnapshot','interceptor','getUnitOnRev','fetchMissingChangesets','code','byteOffset','AWAITING_WITH_PENDING','onTransformRemoteChangesetByIMECache','stringify','_append','ENTITLE_CAN_NOT_BUY_LOWER_OTP','[CollaborationSession]','AWAITING','enc','sid','exports','\x20-\x20','createDecryptor','LICENSE_IMPORT_SIZE_EXCEEDED','floor','onRemoteRetry','6FXbOuU','append','_cipher','save\x20fail\x20reason\x20is\x20','_iv','Univer','SNAPSHOT_URL_KEY','_retryCount','_doReset','NOT_FOUND','reject','socket\x20open.','url','7096ISqGYT','getOwnPropertyDescriptor','event$','APPLY_REVISION_CONFILICT','getInterceptPoints','_localCacheService','_transformService','ENTITLE_REPORT_LIMIT_EXCEED','COMPRESS_MUTATION_APPLY','reqId','_getLoginPath','deepClone','Could\x20not\x20dynamically\x20require\x20\x22','DEFAULT_FILE_NAME','downloadEndpointUrl','YUUMI_ALL_TABLES_IS_INVALID','onTransformIME','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LOGIN_FAILED','_toggleOnline','_isPermissionRej','encrypt','HMAC','LIVESHARE_OPERATION','4tiXVFe','FETCH_MISSING','lib','_resendWithTimeout','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','CipherParams','onMissedChangesetFetched','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','sendChangesetTimeout','_unitID','_socketService','clone','liveShareOperation','Decryptor','saveSnapshot','_key','_members$','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','LICENSE_EXPORT_SIZE_EXCEEDED','session','[PendingState]:\x20unhandled\x20univer\x20type:\x20','APPLY_PERMISSION_DENIED','charCodeAt','type','UNIVER_DOC','decrypt','onRemoteChangeset','getConfig','_iKey','_oKey','find','slice','getImage','_toggleOffline','transformSelections','_clearHeartbeatTimer','getUnitType','_rescheduleHeartbeat','_joinRoom','ws://127.0.0.1:8000/universer-api/comb/connect','LIVESHARE_TERMINATE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','awaiting_with_pending','submit\x20changeset\x20error!','NO_OTHER_CLIENTS_EDITING','batchAllowed','objectType','catch','appendMutation','ERROR_AGAIN','state','textRanges','_singleActiveUnitService','_invKeySchedule','LEAVE','onStarting','function','_onFetchMissResult','_queuedRemoteChangesets','_stopTelemetryCollaborationNewChangeset','_getUploadFileURL','processBlock','m2Prime','REDEMPTION_CODE_FULLY_REDEEMED','originalMeta','_HTTPService','_telemetryInfo','subject','getAllMembers','transformStack\x20failed!','_socket','dispose$','conflict','userID','YUUMI_RATE_OVER_LIMIT','getActiveSheet','getFocusedUnit','_onConflict','commentUpdate$','session.room-not-exists','/block/','_waitCount','INTERNAL_ERROR','/new_changes','INVITE_CODE_HAS_BEEN_UES','defineProperty','getSnapshotAPIPath','csRejEvent','getDeserializedSheetBlock','_mode','unit-cache-','file','APPLY_REJECT','onTransformSelections','onSyncEditingCollabCursor','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_tryEnsureSocket','/universer-api/file/{fileID}/sign-url','sessionStatus','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSessionService]:\x20socket\x20error','memberID','sheets','UNIVER_SLIDE','SHA1','socket$','getMemberID','_undoStacks','People','_reverseMap','change$','initWorkbookPermissionChange','_createHandler','$super','size','_sessionStatus$','reduce','pipe','{fileID}','_type','fetch_missing','_clearLocalCache','_listenToNetworkCondition','UPDATE_PERMISSION_OBJ','sigBytes','PERMISSION_REJ','_lockTransition','LICENSE_DISTRO_REJECTED','deleteCollaborator','NoPadding','_map','_checkMissing','_clearCollaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','not_collab','_onMessage','pad','collaboration-client.config','_scheduleCompleteTimestamp','from','cfg','FileId','debug','getUnit','?size=','_onLocalMutation','routeKey','[SyncedState]:\x20received\x20acknowledgement.','__Key__','[CollaborationSessionService]','pluginName','loadOfflineData','_getCtorByUniverType','open$','_initRequestHeader','snapshotServerUrl','_remoteChangesetQueue','_userManagerService','name','data','_syncEditingCollabCursor','max','_telemetryService','_getDownloadEndpointURL','startTime','push','leaveEvent','confirm','session.room-permission-denied','\x0aCurrent:\x20','copyFileMeta','_fetchMissChangesets','_getRedoStack','IDLE','online$','signUrlServerUrl','format','EvpKDF','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_entityInit$','fromCollab','__creator','_onRemoteRejected','2530855ryDTWS','reverse','hasher','_changesetReqId','_ENC_XFORM_MODE','abs','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','words','getWorkbookSelections','removeMember','HELLO','replace','APPLY_NON_SEQUENTIAL_REVISION','_createInitialState','setWaitCount','image/jpeg','next','_permissionService','UNRECOGNIZED','shouldCloseConn','pauseCollaboration','ceil','origin','[PendingState]:\x20received\x20rejection.','SUCCUSS','getUnitId','REDEMPTION_INVALID_CODE','ENTITLE_DUP_SUBSCRIPTION','offline','Error\x20on\x20receiving\x20event','MUTATION','_shouldReportTelemetry','YUUMI_NO_CUBOID_FOR_QUESTION','_nRounds','/universer-api/snapshot','sin','parse','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCurrentUser','onSendChangeset','requireSession','getRandomValues','hostname','USERS_LEAVE','UserProfileImg','startsWith','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_onRemoteRetry','\x20in\x20_schedule.','toggleOffline','StreamCipher','RECV','NEW_CHANGESETS','members','headers','_minBufferSize','_throwTelemetryCollaborationNewChangeset','_submitChangeset','PY_RUNTIME_SCRIPT_ERROR','msCrypto','buffer','loadUnitOfRevision','init','encodeURIComponent','60vVvIjF','action','charAt','_onConnectionOpen','FAIL','waitForRoom$','clamp','_snapshotServerService','[CollaborationState]:\x20apply\x20error!','saveChangeset','selections','COMPLETION_FINISHED','dispose','duration','[PendingState]:\x20received\x20acknowledgement.','_socket$','workbook','CLOSE_ROOM','executeCommand','unpad','formatter','_updateLocalCache','_members','concat','HEARTBEAT_TIMEOUT','_getAPIPrefixPath','padding','\x20to\x20','_configService','_createInitialStateImpl','_incrementRevisionNumber','readyForCollab','ciphertext','localCacheService','_timeoutTimer','_waitForHeartbeatResponse','UNIVER_SHEET','_localeService','x-univer-host','_snapshotService','_change$','enableOfflineEditing','symbol','USER_IS_ANONYMOUS','_initCloseConn','__esModule','_sessions','Base','extend','close$','prototype','_doFinalize','COMMENT_UPDATE','_unlockTransition','_entities','getLatestCsReqIdBySid','HEARTBEAT','salt','CHANGESET_REJ','_data','keySize','9790911fGExrR','ivSize','_onRemoteACK','_acknowledgedAwaitingChangeset','_univerInstanceService','_initUnitPermissionChange','getResourcesRequest','_exhaustRemoteChangesetQueue','EMAIL_HAS_BEEN_BOUND','MSG_FOR_ERROR','PERSON','mutations','actions','_pendingMutations','href','telemetry\x20info\x20is\x20not\x20initialized','5338443ziyahV','_roomMembers','rev','_state$','POST','11175269Foapue','ERROR_EXCEED_SIZE','every','onTransformState','forEach','joinRsp','OFFLINE','_status$','_transitionLocked','CBC','retryConnectingInterval','WordArray','LOCAL_CACHE_INTERVAL','_compressMutationService','baseRev','_doCryptBlock','_substituteUndoStack','_startTelemetryCollaborationNewChangeset','ENTITLE_CHAT_LIMIT_EXCEED','fetchThroughInterceptors','_state','_createHelper','HmacSHA1','CONFLICT','getValue','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_commentService','fromCharCode','HttpImport','Encryptor','collaboration_new_changeset','Utf8','[OfflineState]:\x20received\x20rejection.','_tryReconnect','PAYMENT_CHANNEL_NOT_SUPPORT','create','join','/collaborator','commentUpdateEvent','add','_retryConnectingTimer','UnitEmbedded','call','image/jpg','isArray','createInstance','fetchMiss','default','REDEMPTION_CODE_INACTIVE','HttpExport','PSEUDO_FETCH_MISSING_RESULT','[CollaborationEntity]','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/-/object/-/batch_allowed','_transformRemoteChangesetByStateCache','onRemoteRej','awaiting','loadUnit','collabWebSocketUrl','byteLength','SHOULD_CLOSE_CONN','localeService','subscribe','_httpService','_nDataBytes','?url=','fetching\x20missing\x20changesets\x20from\x20','UNAUTHENTICATED','_event$','members$','eventID','LICENSE_MAX_UNITS_EXCEEDED','addHandlerCallback','now','refreshPermission','TOO_MANY_REQUESTS','ENSURE_SNAPSHOT_EXECUTION','listCollaborators','toString','compute','_commandService','message$','requestParams','_handler','csAckEvent','JOIN_ROOM_NOT_EXISTS','status','USER_NOT_INVITED_CODE','_getUndoStack','_collaborationPaused','_applyRemoteChangeset','transformUndoRedo','_transformUndoredo','result','_clearRedo','_undoRedoService','session.join-failed','COMPRESS_MUTATION_SEND','_onConnectionFailed','range','_onRemoteChangeset','AES','&assign=','_scheduleCollaborationTimeoutTimer','withCredentials','SUBMIT_CHANGESET_TIMEOUT','emitEvent','OTHER_CLIENT_EDITING','getTypeOfUnitDisposed$','_xformMode','_doCreateSocket','JOIN_ROOM_PERMISSION_DENIED','_sendingTimer','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','snapshot','revision','SNAPSHOT_INVALID_SNAPSHOT','_collabSessionService','readAsDataURL','_init','c2Prime','update','_replaceFileID','finalize','/universer-api/comb','_process','_hasher','JOIN_ROOM_FULL','mode','unitInfo$','min','UNIVER_UNKNOWN','SUBMIT_CHANGESET','hasOwnProperty','image/bmp','INGEST','image/png','univer-pro.collaboration-client.network-condition.service','_sheetTransformSelectionsService','csShouldRetryEvent','post','_onOffline','editingUnit','createSocket','/object','USER_NOT_FOUND','transformChangesets','list','_parse','MOBILE_HAS_BEEN_BOUND','/universer-api/snapshot/','equals','_transformIMECache','_changesetSessionId','_imageSourceCache','LIVESHARE_FETCH_OPERATIONS','complete','entries','onRemoteAck','_clearTimeoutTimer','INVALID_INVITE_CODE','_unitInfo$','awaitingChangeset','getCurrentRevOfUnit','ALREADY_EXISTS','PasswordBasedCipher','5965960eAkeoK','close','put','YUUMI_URL_COL_OUT_OF_RANGE','MD5','/unit/','authzUrl','WECHAT_HAS_BEEN_BOUND','FETCH_MISS','resend','objectID','/universer-api/authz','/allowed','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','get','has','Hasher','c1Prime','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','readInt32LE','OpenSSL','_collaborationSessionService','randomBytes','_onRecvEvent','_socketReady','_getAPIPrefix','_onJoinRoomEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NOT_COLLAB','_collaborationTimeoutTimer','setCurrentUser','UNISCRIPT_RUN','string','Base64','toggleOnline','RETRY_CONNECTING_MAX_COUNT','_memberService','ERROR_IMAGE','JOINING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CONNECTOR_DATA_TOO_LARGE','_registerDependencies','CHANGESET_SHOULD_RETRY','CHANGESET_ACK','patch','_clearRetryConnectingTimer','LOGIN_TOKEN_PROCESSING_FAILED','UNIVER_PROJECT','collaboratorID','_replayCachedMutations','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','set','UUID','src','cmd','YUUMI_AI_RUN_FAILED','_roomCreated$','getTime','entityInit$','splice','_resendTimer','_keyPriorReset','_awaitingChangeset','addImageSourceCache','mixIn','1559577UoDvQG','YUUMI_UNABLE_LOAD_URL','getTypeOfUnitAdded$','LIVESHARE_REQUEST_HOST','registerHTTPInterceptor','AUTHORIZE_CODE_ILLEGAL','permissionRejEvent','APPLY_DUPLICATED','_resendTimeout','_transformStack','unitID','_onUserLeave','unitId\x20is\x20not\x20found','/-/object/list','apply','_onUserJoin','/universer-api/oidc/authpage','_config','SNAPSHOT_HAS_BEEN_REMOVED','map','getCollabEntity$','_substituteRedoStack','setConfig','_doProcessBlock','onMissingChangesets','updateOfflineData','[SyncedState]:\x20received\x20rejection.','getMember','error','subUnitId','createEncryptor','_getSendChangesetTimeout','/object/','_getSignURL','status$','UPDATE_CURSOR','OTHER_CLIENTS_EDITING','listRoles'];_0x1227=function(){return _0x11c5a3;};return _0x1227();}let Wt=class extends _0x3e6eca{constructor(_0x236619,_0x41e08f,_0xa15c82,_0x1357bc,_0x270e20){var _0x220f3f=_0x252583;super(),this[_0x220f3f(0x231)]=_0x236619,this[_0x220f3f(0x13f)]=_0x41e08f,this['_configService']=_0xa15c82,this[_0x220f3f(0x249)]=_0x1357bc,this[_0x220f3f(0xb5)]=_0x270e20;}[_0x252583(0x16e)](_0x62abbf){var _0x31206b=_0x252583;const _0x28e23c=this[_0x31206b(0x231)]['get'](_0xf412d4);if(!_0x28e23c)throw new Error(_0x31206b(0x34e));const _0xa1e1d1=_0x28e23c['createSocket'](_0x62abbf);if(!_0xa1e1d1)throw new Error(_0x31206b(0x37b));const _0x4dee4d=new _0x55cc6e(),_0x229f56=new _0x3275c1();_0x4dee4d[_0x31206b(0x127)](_0xa1e1d1[_0x31206b(0xdf)]['subscribe'](_0xb3eea=>_0x229f56['next'](_0xb3eea))),_0x4dee4d[_0x31206b(0x127)](_0x2b31b1(()=>_0x229f56[_0x31206b(0x19c)]()));const _0x2095a9=new _0x3275c1();_0x4dee4d['add'](_0xa1e1d1[_0x31206b(0x23c)]['subscribe'](_0x17e757=>_0x2095a9[_0x31206b(0x390)](_0x17e757))),_0x4dee4d[_0x31206b(0x127)](_0x2b31b1(()=>_0x2095a9['complete']()));const _0x36fb9f=new _0x3275c1();_0x4dee4d[_0x31206b(0x127)](_0xa1e1d1[_0x31206b(0x151)][_0x31206b(0x13e)](_0x2f014e=>{const _0x4b824a=Fs(_0x2f014e);_0x36fb9f['next'](_0x4b824a);})),_0x4dee4d[_0x31206b(0x127)](_0x2b31b1(()=>_0x36fb9f['complete']()));let _0x44bafa;const _0x1c9ce1=()=>{var _0x11856f=_0x31206b;_0x2095a9[_0x11856f(0x390)](new Event(_0x11856f(0x227))),_0x229f56[_0x11856f(0x390)](new Event('connection\x20error')),_0x44bafa[_0x11856f(0x1a7)]();};return _0x44bafa={'memberID':'','close$':_0x229f56['asObservable'](),'error$':_0x2095a9[_0x31206b(0x263)](),'open$':_0xa1e1d1[_0x31206b(0x362)],'message$':_0x36fb9f[_0x31206b(0x263)](),'send':_0x5af798=>{var _0x29528=_0x31206b;if(_0x5af798['cmd']===F[_0x29528(0x187)]){if(_0x5af798[_0x29528(0x368)]['eventID']===_0x103a4d[_0x29528(0x184)]){this[_0x29528(0xa7)](_0x44bafa,_0x5af798[_0x29528(0x368)])[_0x29528(0x2f8)](_0x10aece=>{var _0x4f937c=_0x29528;this['_logService'][_0x4f937c(0x203)](_0x10aece),_0x1c9ce1();});return;}if(_0x5af798['data'][_0x29528(0x146)]===_0x103a4d[_0x29528(0x2ca)]){const _0x5b92e1=_0x5af798[_0x29528(0x368)];this['_fetchMissChangesets'](_0x5b92e1)['then'](_0x5c1e90=>{var _0x4c1a5a=_0x29528;_0x36fb9f[_0x4c1a5a(0x390)]({'cmd':F[_0x4c1a5a(0xa1)],'code':pe['OK'],'routeKey':_0x5b92e1[_0x4c1a5a(0x368)][_0x4c1a5a(0x1f1)],'routeType':'','data':{'eventID':_0x103a4d[_0x4c1a5a(0x132)],'data':{'changesets':_0x5c1e90}}});})['catch'](_0xe56f4e=>{var _0x7b6167=_0x29528;this[_0x7b6167(0x249)][_0x7b6167(0x203)](_0xe56f4e),_0x1c9ce1();});return;}}_0xa1e1d1[_0x29528(0x21d)](Vs(_0x5af798));},'close':()=>{var _0xf01cb4=_0x31206b;_0xa1e1d1[_0xf01cb4(0x1a7)](),_0x4dee4d[_0xf01cb4(0xba)]();}},_0x44bafa;}async['_submitChangeset'](_0x15dd0f,_0x16f07f){var _0x4cec51=_0x252583,_0x1c54b2;const {unitType:_0x22015c,unitID:_0x470504,changeset:_0x258277}=_0x16f07f['data'],_0x271eea={'unitID':_0x470504,'memberID':_0x15dd0f[_0x4cec51(0x32e)],'type':_0x22015c,'changeset':_0x4b904d(_0x258277)},_0x100e5b=this['_configService']['getConfig'](K),_0x6301b1=Ys((_0x1c54b2=_0x100e5b==null?void 0x0:_0x100e5b['collabSubmitChangesetUrl'])!=null?_0x1c54b2:Os,_0x22015c,_0x470504);try{await this['_httpService'][_0x4cec51(0x18c)](_0x6301b1,{'body':_0x271eea});}catch(_0x896256){throw this[_0x4cec51(0x249)]['error'](_0x4cec51(0x29a),_0x4cec51(0x2f4)),_0x896256;}}async[_0x252583(0x374)](_0x1c75eb){var _0x1f5600=_0x252583;const {unitID:_0x512b19,from:_0xf9f615,to:_0x506ce5,unitType:_0x547f50}=_0x1c75eb[_0x1f5600(0x368)];return(await this[_0x1f5600(0xb5)][_0x1f5600(0x292)]({'metadata':void 0x0},{'unitID':_0x512b19,'type':_0x547f50,'from':_0xf9f615,'to':_0x506ce5}))[_0x1f5600(0x28d)];}};Wt=Ws([ye(0x0,_0x37e364(_0x36e3d8)),ye(0x1,_0x37e364(_0x136a2e)),ye(0x2,_0x1e7d16),ye(0x3,_0x4e6565),ye(0x4,_0x3dc050)],Wt);var Ks=Object[_0x252583(0x2b2)],qs=(_0x3d567d,_0x3aa8ba,_0x168166,_0x242999)=>{var _0x20cd8c=_0x252583;for(var _0x56199e=_0x242999>0x1?void 0x0:_0x242999?Ks(_0x3aa8ba,_0x168166):_0x3aa8ba,_0x32020f=_0x3d567d[_0x20cd8c(0x286)]-0x1,_0x3c9bcf;_0x32020f>=0x0;_0x32020f--)(_0x3c9bcf=_0x3d567d[_0x32020f])&&(_0x56199e=_0x3c9bcf(_0x56199e)||_0x56199e);return _0x56199e;},Re=(_0x46a45f,_0x4bbd73)=>(_0x265676,_0x2ba4b3)=>_0x4bbd73(_0x265676,_0x2ba4b3,_0x46a45f);let we=class extends _0x3e6eca{constructor(_0x5b87fc,_0x3ca32c,_0x2ead62,_0x5495cd,_0x34c23c,_0x5b26a5){var _0x54a0f3=_0x252583;super(),D(this,_0x54a0f3(0xbd),new _0x24a605(void 0x0)),D(this,_0x54a0f3(0x332),this[_0x54a0f3(0xbd)][_0x54a0f3(0x263)]()),D(this,_0x54a0f3(0x25e),null),D(this,_0x54a0f3(0xdc),new Map()),D(this,_0x54a0f3(0x107),new _0x24a605(me['IDLE'])),D(this,'status$',this[_0x54a0f3(0x107)][_0x54a0f3(0x263)]()),D(this,'_socketReady',!0x1),D(this,_0x54a0f3(0x128)),D(this,_0x54a0f3(0x2ab),0x0),D(this,_0x54a0f3(0x23b)),D(this,_0x54a0f3(0xd0)),(this[_0x54a0f3(0x231)]=_0x5b87fc,this['_logService']=_0x3ca32c,this[_0x54a0f3(0xca)]=_0x2ead62,this[_0x54a0f3(0x2d3)]=_0x5495cd,this[_0x54a0f3(0x25a)]=_0x34c23c,this[_0x54a0f3(0x27f)]=_0x5b26a5,this['_listenToNetworkCondition']());}get[_0x252583(0x30f)](){var _0x1375e2=_0x252583;return this[_0x1375e2(0xbd)]['getValue']();}[_0x252583(0x343)](){var _0x12a01d=_0x252583;this[_0x12a01d(0x27f)]&&this[_0x12a01d(0x21b)](this['_networkConditionService'][_0x12a01d(0x377)][_0x12a01d(0x13e)](_0x3d4428=>{var _0x2cb4e1=_0x12a01d;_0x3d4428&&!this['_socket']&&this['reconnect'](),_0x3d4428||this[_0x2cb4e1(0x18d)]();}));}[_0x252583(0xba)](){var _0x46a4e8=_0x252583;super[_0x46a4e8(0xba)](),this[_0x46a4e8(0x1d3)](),this[_0x46a4e8(0x19f)](),this['_clearHeartbeatTimer'](),this[_0x46a4e8(0xdc)][_0x46a4e8(0x104)](_0x197056=>_0x197056['dispose']()),this[_0x46a4e8(0xdc)]['clear'](),this[_0x46a4e8(0x107)][_0x46a4e8(0x19c)]();}async[_0x252583(0x96)](_0x235ea4){var _0xd1c7ef=_0x252583;if(this[_0xd1c7ef(0xdc)][_0xd1c7ef(0x1b5)](_0x235ea4))return this['_sessions'][_0xd1c7ef(0x1b4)](_0x235ea4);this[_0xd1c7ef(0x329)]();const _0x17b769=this['_injector']['createInstance'](mt,_0x235ea4,this[_0xd1c7ef(0xbd)][_0xd1c7ef(0x263)]());return this[_0xd1c7ef(0xdc)][_0xd1c7ef(0x1d9)](_0x235ea4,_0x17b769),_0x17b769;}['closeSession'](_0xb5757e){var _0x4e4a25=_0x252583,_0x351652;const _0x556570=this['_sessions'][_0x4e4a25(0x1b4)](_0xb5757e);_0x556570&&(this[_0x4e4a25(0xdc)]['delete'](_0xb5757e),_0x556570[_0x4e4a25(0x1a7)]()),this['_sessions']['size']||(_0x351652=this[_0x4e4a25(0x30f)])==null||_0x351652[_0x4e4a25(0x1a7)]();}['reconnect'](){var _0x4162ba=_0x252583;this[_0x4162ba(0x2ab)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x252583(0x1d3)](){var _0x440e4e=_0x252583;this[_0x440e4e(0x128)]!=null&&(clearTimeout(this[_0x440e4e(0x128)]),this[_0x440e4e(0x128)]=null);}async[_0x252583(0x27a)](){var _0x3ea93e=_0x252583,_0x2b1cda;const _0x3b5334=this[_0x3ea93e(0xca)][_0x3ea93e(0x2e4)](K),_0x224b1f=(_0x2b1cda=_0x3b5334==null?void 0x0:_0x3b5334[_0x3ea93e(0x13a)])!=null?_0x2b1cda:Es,_0x5ed202=await this[_0x3ea93e(0x2d3)][_0x3ea93e(0x18f)](_0x224b1f);return this[_0x3ea93e(0x25e)]=_0x5ed202,_0x5ed202;}async[_0x252583(0x329)](){var _0x696303=_0x252583,_0x18b64d,_0x45795b;try{const _0xe8e876=(_0x45795b=(_0x18b64d=this[_0x696303(0x30f)])!=null?_0x18b64d:this['_candidateSocket'])!=null?_0x45795b:await this['_createSocket']();if(_0xe8e876){const _0x1b2ebc=_0xe8e876[_0x696303(0x21d)];_0xe8e876[_0x696303(0x21d)]=_0x4d4860=>(this[_0x696303(0x2ee)](),_0x1b2ebc[_0x696303(0x1f5)](_0xe8e876,[_0x4d4860])),_0xe8e876[_0x696303(0x151)][_0x696303(0x13e)](_0x30debe=>this[_0x696303(0x350)](_0xe8e876,_0x30debe)),_0xe8e876[_0x696303(0x23c)]['pipe'](_0x34dd15(0x1))[_0x696303(0x13e)](_0x3a49b0=>this[_0x696303(0x249)][_0x696303(0x203)](_0x696303(0x32d),_0x3a49b0)),_0xe8e876['open$'][_0x696303(0x33e)](_0x34dd15(0x1))[_0x696303(0x13e)](()=>{this['_onConnectionOpen'](_0xe8e876);}),_0xe8e876[_0x696303(0xdf)][_0x696303(0x33e)](_0x34dd15(0x1))[_0x696303(0x13e)](_0x2ef069=>{var _0x360ec7=_0x696303;this[_0x360ec7(0x249)][_0x360ec7(0x357)](_0x360ec7(0x35e),'socket\x20close',_0x2ef069),this[_0x360ec7(0x162)]();});}}catch(_0xfcb3d5){this[_0x696303(0x249)][_0x696303(0x203)](_0xfcb3d5),this['_onConnectionFailed']();}}[_0x252583(0xb1)](_0x4833d3){var _0xa49a88=_0x252583;this[_0xa49a88(0x249)][_0xa49a88(0x357)](_0xa49a88(0x35e),_0xa49a88(0x2af)),_0x4833d3['send']({'cmd':F[_0xa49a88(0x38a)]}),this[_0xa49a88(0x2ee)]();}[_0x252583(0x18d)](){var _0x479eab=_0x252583;this['_socketReady']=!0x1,this[_0x479eab(0x25e)]=null,this[_0x479eab(0x107)][_0x479eab(0x390)](me[_0x479eab(0x106)]),this[_0x479eab(0xbd)][_0x479eab(0x390)](null),this[_0x479eab(0x19f)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x2e166c=_0x252583,_0x328486;this[_0x2e166c(0x18d)](),this[_0x2e166c(0x2ab)]<((_0x328486=this[_0x2e166c(0xca)]['getConfig'](gs))!=null?_0x328486:Ts)?(this[_0x2e166c(0x25a)][_0x2e166c(0x16a)]({'id':re[_0x2e166c(0x21f)]}),this[_0x2e166c(0x121)]()):this[_0x2e166c(0x25a)][_0x2e166c(0x16a)]({'id':re[_0x2e166c(0x24d)]});}[_0x252583(0x121)](){var _0x1b9ba4=_0x252583,_0x41041c;const _0x30c296=this[_0x1b9ba4(0x2ab)],_0x507131=this[_0x1b9ba4(0xca)][_0x1b9ba4(0x2e4)](K),_0x48d485=_0x30c296===0x0?0x0:((_0x41041c=_0x507131==null?void 0x0:_0x507131[_0x1b9ba4(0x10a)])!=null?_0x41041c:Ss)*0x2**_0x30c296;this['_retryConnectingTimer']=setTimeout(()=>{var _0x52575e=_0x1b9ba4;clearTimeout(this[_0x52575e(0x128)]),this[_0x52575e(0x128)]=null,this[_0x52575e(0x329)]();},_0x48d485),this[_0x1b9ba4(0x2ab)]+=0x1;}[_0x252583(0x350)](_0x3f558e,_0x5aea7f){var _0x3a1a38=_0x252583;const {cmd:_0x543c26}=_0x5aea7f;_0x543c26===F[_0x3a1a38(0x38a)]&&!this[_0x3a1a38(0x1be)]&&(_0x3f558e['memberID']=_0x5aea7f[_0x3a1a38(0x368)][_0x3a1a38(0x32e)],this[_0x3a1a38(0xbd)][_0x3a1a38(0x390)](_0x3f558e),this['_status$']['next'](me[_0x3a1a38(0x215)]),this[_0x3a1a38(0x1be)]=!0x0,this[_0x3a1a38(0x25e)]=null),_0x543c26===F[_0x3a1a38(0xe6)]&&this[_0x3a1a38(0x19f)](),this[_0x3a1a38(0x2ee)]();}[_0x252583(0x2ee)](){var _0x2a31dc=_0x252583,_0x1912ce;this[_0x2a31dc(0x2ec)](),this[_0x2a31dc(0x23b)]=setTimeout(()=>this[_0x2a31dc(0x25f)](),(_0x1912ce=this[_0x2a31dc(0xca)]['getConfig'](ms))!=null?_0x1912ce:Is);}[_0x252583(0x25f)](){var _0x1f2735=_0x252583;this[_0x1f2735(0x30f)][_0x1f2735(0x21d)]({'cmd':F[_0x1f2735(0xe6)]}),this[_0x1f2735(0xd1)]();}[_0x252583(0xd1)](){var _0x5859c1=_0x252583,_0xcde6ef;this[_0x5859c1(0xd0)]=setTimeout(()=>this[_0x5859c1(0x162)](),(_0xcde6ef=this[_0x5859c1(0xca)]['getConfig'](di))!=null?_0xcde6ef:fi);}['_clearHeartbeatTimer'](){var _0x331630=_0x252583;this[_0x331630(0x23b)]!=null&&(clearTimeout(this[_0x331630(0x23b)]),this['_sendHeartbeatTimer']=null);}[_0x252583(0x19f)](){var _0x182e89=_0x252583;this[_0x182e89(0xd0)]!=null&&(clearTimeout(this[_0x182e89(0xd0)]),this[_0x182e89(0xd0)]=null);}};we=qs([Re(0x0,_0x37e364(_0x36e3d8)),Re(0x1,_0x4e6565),Re(0x2,_0x1e7d16),Re(0x3,Oi),Re(0x4,_0x37e364(ve)),Re(0x5,_0x27904f(js))],we);var zs=Object[_0x252583(0x2b2)],Js=(_0x3533a1,_0x165dc6,_0x5d6beb,_0x56270f)=>{var _0x4d2cd7=_0x252583;for(var _0x17eeea=_0x56270f>0x1?void 0x0:_0x56270f?zs(_0x165dc6,_0x5d6beb):_0x165dc6,_0x5a503d=_0x3533a1[_0x4d2cd7(0x286)]-0x1,_0x3a510a;_0x5a503d>=0x0;_0x5a503d--)(_0x3a510a=_0x3533a1[_0x5a503d])&&(_0x17eeea=_0x3a510a(_0x17eeea)||_0x17eeea);return _0x17eeea;},Be=(_0x59e64b,_0x5b0f78)=>(_0x838e20,_0x11fd5a)=>_0x5b0f78(_0x838e20,_0x11fd5a,_0x59e64b);let nt=class extends _0x4669db{constructor(_0x53cec3,_0x2d9aff,_0x2e9999,_0x37692c){var _0x454384=_0x252583,_0xe2923e;super(),D(this,_0x454384(0xe4),new Map()),D(this,'_entityInit$',new _0x3275c1()),D(this,_0x454384(0x1e0),this[_0x454384(0x37c)][_0x454384(0x263)]()),(this[_0x454384(0x231)]=_0x53cec3,this[_0x454384(0x175)]=_0x2d9aff,this['_configService']=_0x2e9999,this[_0x454384(0xef)]=_0x37692c,((_0xe2923e=this[_0x454384(0xca)]['getConfig'](K))==null?void 0x0:_0xe2923e['enableCollaboration'])!==!0x1&&this['_init']());}[_0x252583(0xba)](){var _0x25b477=_0x252583;super[_0x25b477(0xba)](),this[_0x25b477(0xe4)][_0x25b477(0x104)](_0xb2e011=>_0xb2e011[_0x25b477(0xba)]()),this[_0x25b477(0xe4)][_0x25b477(0x242)]();}[_0x252583(0x241)](_0xd5778b){var _0xc6d080=_0x252583,_0x4f231b;return(_0x4f231b=this['_entities'][_0xc6d080(0x1b4)](_0xd5778b))!=null?_0x4f231b:null;}[_0x252583(0x1fb)](_0xe6b0e3){var _0x37a4a7=_0x252583;const _0xb4301e=this[_0x37a4a7(0x241)](_0xe6b0e3);return _0xb4301e?_0x559b8e(_0xb4301e):this['_entityInit$'][_0x37a4a7(0x33e)](_0x49c8af(_0x13441e=>_0x13441e[_0x37a4a7(0x1f1)]===_0xe6b0e3));}[_0x252583(0xcd)](_0x428b7b){var _0x5ea250=_0x252583;return _0x2283c7(this[_0x5ea250(0x1fb)](_0x428b7b)['pipe'](_0x484c82(()=>{})));}[_0x252583(0x177)](){var _0x6b9874=_0x252583;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11f8c5[_0x6b9874(0xd2)])[_0x6b9874(0x33e)](_0x50786d(this[_0x6b9874(0x310)]),_0x4edbc1(0x10))[_0x6b9874(0x13e)](async _0x738992=>{var _0x6c5754=_0x6b9874;const _0x44310f=_0x738992[_0x6c5754(0x399)](),_0x3851c1=await this['_startCollaboration'](_0x44310f,Q['UNIVER_SHEET']);this['_entities'][_0x6c5754(0x1d9)](_0x44310f,_0x3851c1);}),this[_0x6b9874(0xef)]['getTypeOfUnitAdded$'](_0x11f8c5[_0x6b9874(0x2e1)])[_0x6b9874(0x33e)](_0x50786d(this[_0x6b9874(0x310)]),_0x4edbc1(0x10))['pipe'](_0x49c8af(_0x3bbf0d=>!_0x3bbf0d['getUnitId']()[_0x6b9874(0x9b)]('__')))[_0x6b9874(0x13e)](async _0x414dad=>{var _0x15f367=_0x6b9874;const _0x25a347=_0x414dad[_0x15f367(0x399)](),_0x22f27c=await this[_0x15f367(0x24b)](_0x25a347,Q[_0x15f367(0x2e1)]);this[_0x15f367(0xe4)][_0x15f367(0x1d9)](_0x25a347,_0x22f27c);}),_0x4732bc(this['_univerInstanceService'][_0x6b9874(0x16c)](_0x11f8c5[_0x6b9874(0xd2)]),this[_0x6b9874(0xef)][_0x6b9874(0x16c)](_0x11f8c5['UNIVER_DOC']))[_0x6b9874(0x33e)](_0x50786d(this[_0x6b9874(0x310)]))[_0x6b9874(0x13e)](_0x210abc=>{var _0x5e03b3=_0x6b9874;const _0x33d1fa=_0x210abc['getUnitId'](),_0x53ae24=this[_0x5e03b3(0xe4)]['get'](_0x33d1fa);_0x53ae24&&(_0x53ae24[_0x5e03b3(0xba)](),this[_0x5e03b3(0xe4)][_0x5e03b3(0x229)](_0x33d1fa));});}async[_0x252583(0x24b)](_0x360a8c,_0x294555){var _0x395d9b=_0x252583;const _0x52b251=await this[_0x395d9b(0x175)][_0x395d9b(0x96)](_0x360a8c),_0x46c68e=this[_0x395d9b(0x231)]['createInstance'](this[_0x395d9b(0x361)](_0x294555),_0x360a8c,_0x294555,_0x52b251);return await _0x46c68e['init'](),this['_entityInit$']['next'](_0x46c68e),_0x46c68e;}[_0x252583(0x361)](_0x3e8aa3){var _0x1fc514=_0x252583;switch(_0x3e8aa3){case Q[_0x1fc514(0x2e1)]:return It;case Q[_0x1fc514(0xd2)]:return St;default:throw new Error(_0x1fc514(0x2cd)+_0x3e8aa3);}}};nt=Js([Be(0x0,_0x37e364(_0x36e3d8)),Be(0x1,_0x37e364(we)),Be(0x2,_0x1e7d16),Be(0x3,_0x2b2ac3)],nt);var Xs=Object[_0x252583(0x2b2)],Zs=(_0x13eaff,_0x980bc,_0x33150c,_0x52fbd0)=>{var _0x117f23=_0x252583;for(var _0x34ec73=_0x52fbd0>0x1?void 0x0:_0x52fbd0?Xs(_0x980bc,_0x33150c):_0x980bc,_0xe2586c=_0x13eaff[_0x117f23(0x286)]-0x1,_0x4ac7e2;_0xe2586c>=0x0;_0xe2586c--)(_0x4ac7e2=_0x13eaff[_0xe2586c])&&(_0x34ec73=_0x4ac7e2(_0x34ec73)||_0x34ec73);return _0x34ec73;},Yt=(_0x12f987,_0x3ce2e8)=>(_0x1a3718,_0x2072a5)=>_0x3ce2e8(_0x1a3718,_0x2072a5,_0x12f987);const Qs=_0x252583(0x2be),en=_0x252583(0x2a9);let gt=class extends _0x3e6eca{constructor(_0x43debf,_0x4045e3){var _0x3c41a4=_0x252583;super(),this[_0x3c41a4(0xef)]=_0x43debf,this[_0x3c41a4(0xca)]=_0x4045e3,this[_0x3c41a4(0x177)]();}[_0x252583(0x177)](){var _0x5ad11e=_0x252583;this[_0x5ad11e(0x21b)](this[_0x5ad11e(0xef)]['focused$'][_0x5ad11e(0x13e)](()=>{var _0xc41285=_0x5ad11e,_0x5e17c0;const _0x17604c=this[_0xc41285(0xef)][_0xc41285(0x315)]();let _0x423f6a=(_0x5e17c0=this['_configService'][_0xc41285(0x2e4)](Qs))!=null?_0x5e17c0:en;_0x17604c instanceof _0x49532c&&(_0x423f6a=_0x17604c[_0xc41285(0x367)]),document['title']=_0x423f6a;}));}};gt=Zs([Yt(0x0,_0x2b2ac3),Yt(0x1,_0x1e7d16)],gt);var tn=Object[_0x252583(0x2b2)],sn=(_0x2f3842,_0x2ccf62,_0x5724b6,_0x494982)=>{var _0x342ad7=_0x252583;for(var _0x205910=_0x494982>0x1?void 0x0:_0x494982?tn(_0x2ccf62,_0x5724b6):_0x2ccf62,_0x222cf3=_0x2f3842[_0x342ad7(0x286)]-0x1,_0x12b8fb;_0x222cf3>=0x0;_0x222cf3--)(_0x12b8fb=_0x2f3842[_0x222cf3])&&(_0x205910=_0x12b8fb(_0x205910)||_0x205910);return _0x205910;},dt=(_0x3c03bb,_0x2c826a)=>(_0xe63307,_0xed9f8f)=>_0x2c826a(_0xe63307,_0xed9f8f,_0x3c03bb);let rt=class{constructor(_0x1a7ead,_0x1bac26,_0x43c2f6){var _0x418bbe=_0x252583;this[_0x418bbe(0xca)]=_0x1a7ead,this[_0x418bbe(0x13f)]=_0x1bac26,this['localeService']=_0x43c2f6,this['init']();}[_0x252583(0xac)](){var _0x27530a=_0x252583;this[_0x27530a(0x13f)][_0x27530a(0x1eb)]({'priority':0x1,'interceptor':(_0x323d88,_0x180937)=>_0x180937(_0x323d88)[_0x27530a(0x33e)](_0x15b45b(async _0x53f591=>{var _0x117ed7=_0x27530a;const _0x4bb9e8=_0x53f591;if(_0x4bb9e8[_0x117ed7(0x156)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x117ed7(0x370)](this[_0x117ed7(0x13d)]['t']('auth.needGotoLoginAlert'))){const _0x5b396e=window[_0x117ed7(0xad)](window[_0x117ed7(0x26c)][_0x117ed7(0xf9)]);window['location'][_0x117ed7(0xf9)]=this['_getLoginPath']()+_0x117ed7(0x141)+_0x5b396e;}}return _0x4bb9e8;}))});}[_0x252583(0x2bb)](){var _0x37391e=_0x252583,_0x3ea076;const _0x318214=this['_configService'][_0x37391e(0x2e4)](K);return(_0x3ea076=_0x318214==null?void 0x0:_0x318214['loginUrlKey'])!=null?_0x3ea076:Rs;}};rt=sn([dt(0x0,_0x1e7d16),dt(0x1,_0x37e364(_0x136a2e)),dt(0x2,_0x37e364(_0x257fb5))],rt);var nn=Object[_0x252583(0x2b2)],rn=(_0x19408b,_0x2eeade,_0x17a301,_0x7647a8)=>{var _0x3e326e=_0x252583;for(var _0xfb90e1=_0x7647a8>0x1?void 0x0:_0x7647a8?nn(_0x2eeade,_0x17a301):_0x2eeade,_0x456795=_0x19408b[_0x3e326e(0x286)]-0x1,_0x19b732;_0x456795>=0x0;_0x456795--)(_0x19b732=_0x19408b[_0x456795])&&(_0xfb90e1=_0x19b732(_0xfb90e1)||_0xfb90e1);return _0xfb90e1;},Kt=(_0x5850ea,_0x21bfef)=>(_0x3fd0b8,_0x1c3170)=>_0x21bfef(_0x3fd0b8,_0x1c3170,_0x5850ea);const an=_0x252583(0x1b1);let Tt=class extends _0x3e6eca{constructor(_0x148e03,_0x430d23){var _0x1f7b87=_0x252583;super(),this[_0x1f7b87(0x30a)]=_0x148e03,this['_configService']=_0x430d23,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x2bc444=_0x252583;const _0x330167=this;this[_0x2bc444(0x21b)](this['_HTTPService'][_0x2bc444(0x1eb)]({'priority':0x3e7,'interceptor':_0x484186({'isMatch'(_0x937c8d){var _0x2be69a=_0x2bc444,_0x4a59a9;if(_0x937c8d[_0x2be69a(0x222)]==='POST'&&((_0x4a59a9=_0x937c8d[_0x2be69a(0x152)])!=null&&_0x4a59a9[_0x2be69a(0x248)])){const {objectID:_0x3b1774,objectType:_0x1b4861}=_0x937c8d[_0x2be69a(0x152)]['body']||{};if(!_0x3b1774||_0x1b4861===void 0x0)return!0x1;const _0x4b8157=_0x330167['_getAPIPrefixPath']()+'/'+_0x1b4861+_0x2be69a(0x207)+_0x3b1774+_0x2be69a(0x1b2);if(_0x937c8d[_0x2be69a(0x2b0)]===_0x4b8157)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xd2ae34){var _0x3290bb;return(_0x3290bb=_0xd2ae34['requestParams'])==null?void 0x0:_0x3290bb['body'];},'mergeParamsToRequest'(_0x1a419d,_0x18a75d){var _0x30ef60=_0x2bc444;const _0x39c2d6=_0x330167['_getAPIPrefixPath']()+_0x30ef60(0x135),_0x352d11=_0x1a419d['reduce']((_0x12cb27,_0x291f60)=>{var _0x17aa33=_0x30ef60;const {unitID:_0x46a210,objectID:_0x362999,objectType:_0x5bd64d,actions:_0x3853d6}=_0x291f60;return _0x12cb27[_0x46a210]||(_0x12cb27[_0x46a210]={}),_0x12cb27[_0x46a210][_0x362999]||(_0x12cb27[_0x46a210][_0x362999]={'objectID':_0x362999,'objectType':_0x5bd64d,'actions':[]}),_0x12cb27[_0x46a210][_0x362999][_0x17aa33(0xf7)]['push'](..._0x3853d6),_0x12cb27;},{}),_0xd96a45=[];for(const _0x4ea607 in _0x352d11)for(const _0x20961d in _0x352d11[_0x4ea607]){const {actions:_0x309bab,objectType:_0x337032}=_0x352d11[_0x4ea607][_0x20961d],_0x126895=[...new Set(_0x309bab)];_0xd96a45[_0x30ef60(0x36e)]({'unitID':_0x4ea607,'objectID':_0x20961d,'objectType':_0x337032,'actions':_0x126895});}return new _0x3a152b(_0x30ef60(0xff),_0x39c2d6,{'headers':_0x18a75d[_0x30ef60(0xa4)],'withCredentials':_0x18a75d[_0x30ef60(0x168)],'responseType':_0x18a75d[_0x30ef60(0x212)],'body':{'requests':_0xd96a45}});}},{'distributeResult'(_0x493ef5,_0x201cbf){const {objectActions:_0x1dcd12}=_0x493ef5;return _0x201cbf['map'](_0x17804e=>{var _0x488f0e=_0xfa06;const {unitID:_0x3e6f24,objectID:_0x3c9a87,actions:_0x11d894}=_0x17804e,_0x1df1d7=_0x1dcd12[_0x488f0e(0x2e7)](_0x2ffe36=>_0x2ffe36[_0x488f0e(0x1f1)]===_0x3e6f24&&_0x2ffe36[_0x488f0e(0x1b0)]===_0x3c9a87),_0x27e03c=_0x11d894[_0x488f0e(0x1fa)](_0x3a0a8b=>_0x1df1d7==null?void 0x0:_0x1df1d7[_0x488f0e(0xf7)][_0x488f0e(0x2e7)](_0x59c673=>_0x59c673[_0x488f0e(0xaf)]===_0x3a0a8b))['filter'](_0x3c30c4=>!!_0x3c30c4);return{'config':_0x17804e,'result':{'actions':_0x27e03c,'error':_0x493ef5['error']}};});}})}));}[_0x252583(0xc7)](){var _0x311962=_0x252583,_0x4a3da1;const _0x2f0167=this[_0x311962(0xca)][_0x311962(0x2e4)](K);return(_0x4a3da1=_0x2f0167==null?void 0x0:_0x2f0167[_0x311962(0x1ac)])!=null?_0x4a3da1:an;}async[_0x252583(0x123)](_0x40dcd7){var _0x403753=_0x252583;const _0x1d0a3a=this['_getAPIPrefixPath']()+'/'+_0x40dcd7[_0x403753(0x2f7)]+_0x403753(0x190);return(await this[_0x403753(0x30a)][_0x403753(0x18c)](_0x1d0a3a,{'body':_0x40dcd7}))[_0x403753(0x248)][_0x403753(0x1b0)]||'';}async['list'](_0x9f21ad){var _0x4fb83b=_0x252583;const _0x55b44e=this[_0x4fb83b(0xc7)]()+_0x4fb83b(0x1f4);return(await this[_0x4fb83b(0x30a)][_0x4fb83b(0x18c)](_0x55b44e,{'body':_0x9f21ad}))['body']['objects'];}async[_0x252583(0x179)](_0xc8526c){var _0x3c0061=_0x252583,_0x60fbba,_0x3f635e;const _0x580769=this[_0x3c0061(0xc7)]()+'/'+_0xc8526c['objectType']+_0x3c0061(0x207)+_0xc8526c[_0x3c0061(0x1b0)],_0x2081b9=await this[_0x3c0061(0x30a)]['put'](_0x580769,{'body':_0xc8526c});if(((_0x3f635e=(_0x60fbba=_0x2081b9==null?void 0x0:_0x2081b9['body'])==null?void 0x0:_0x60fbba['error'])==null?void 0x0:_0x3f635e[_0x3c0061(0x293)])!==0x1)throw new Error(_0x3c0061(0x26d));}async[_0x252583(0x219)](_0x5039aa){var _0x35eff7=_0x252583;const _0x5ca621=this[_0x35eff7(0xc7)]()+'/'+_0x5039aa['objectType']+_0x35eff7(0x207)+_0x5039aa['objectID']+_0x35eff7(0x1b2);return(await this[_0x35eff7(0x30a)][_0x35eff7(0x18c)](_0x5ca621,{'body':_0x5039aa}))['body'][_0x35eff7(0xf7)];}async[_0x252583(0x2f6)](_0x4c7796){var _0x1bb6c8=_0x252583;const _0x344bfb=this[_0x1bb6c8(0xc7)]()+'/-/object/-/batch_allowed';return(await this[_0x1bb6c8(0x30a)][_0x1bb6c8(0x18c)](_0x344bfb,{'body':{'requests':_0x4c7796}}))[_0x1bb6c8(0x248)]['objectActions'];}async[_0x252583(0x20c)](_0x384442){var _0x3a65ee=_0x252583;const _0x100b90=this[_0x3a65ee(0xc7)]()+'/'+_0x384442[_0x3a65ee(0x2f7)]+_0x3a65ee(0x281),_0x18f070=await this[_0x3a65ee(0x30a)]['post'](_0x100b90,{'body':_0x384442});return{'roles':_0x18f070[_0x3a65ee(0x248)]['roles'],'actions':_0x18f070[_0x3a65ee(0x248)][_0x3a65ee(0xf7)]};}async[_0x252583(0x349)](_0xc7f05){var _0x3ede21=_0x252583;const _0xd8c6d6=this[_0x3ede21(0xc7)]()+'/collaborator';await this['_HTTPService'][_0x3ede21(0x229)](_0xd8c6d6,{'params':{'collaboratorID':_0xc7f05[_0x3ede21(0x1d6)],'objectID':_0xc7f05['objectID'],'unitID':_0xc7f05[_0x3ede21(0x1f1)]}});}async['updateCollaborator'](_0x5dd61a){var _0x5bd9f6=_0x252583;const _0x39e874=this[_0x5bd9f6(0xc7)]()+_0x5bd9f6(0x125);await this[_0x5bd9f6(0x30a)][_0x5bd9f6(0x1d2)](_0x39e874,{'body':_0x5dd61a});}async['createCollaborator'](_0x42d12b){var _0x4e13f9=_0x252583;const _0x394659=this[_0x4e13f9(0xc7)]()+_0x4e13f9(0x125);await this[_0x4e13f9(0x30a)][_0x4e13f9(0x18c)](_0x394659,{'body':_0x42d12b});}async[_0x252583(0x14d)](_0x47aea9){var _0x10dba4=_0x252583;const _0x3ba213=this[_0x10dba4(0xc7)]()+_0x10dba4(0x125);return(await this['_HTTPService'][_0x10dba4(0x1b4)](_0x3ba213,{'params':{'objectID':_0x47aea9[_0x10dba4(0x1b0)],'unitID':_0x47aea9['unitID']}}))[_0x10dba4(0x248)]['collaborators'];}async['putCollaborators'](_0x177b29){var _0x249054=_0x252583;const _0x3c9cfc=this[_0x249054(0xc7)]()+_0x249054(0x125);await this['_HTTPService'][_0x249054(0x1a8)](_0x3c9cfc,{'body':_0x177b29});}};Tt=rn([Kt(0x0,_0x37e364(_0x136a2e)),Kt(0x1,_0x37e364(_0x1e7d16))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x36eaeb){var _0x3ca49b=_0x252583;return _0x36eaeb&&_0x36eaeb[_0x3ca49b(0xdb)]&&Object[_0x3ca49b(0xe0)][_0x3ca49b(0x185)][_0x3ca49b(0x12a)](_0x36eaeb,_0x3ca49b(0x12f))?_0x36eaeb['default']:_0x36eaeb;}var Ve={'exports':{}};function on(_0x7e4f1f){var _0x25ec6c=_0x252583;throw new Error(_0x25ec6c(0x2bd)+_0x7e4f1f+_0x25ec6c(0x1b3));}var Ge={'exports':{}},cn=Ge['exports'],qt;function ie(){var _0x545f44=_0x252583;return qt||(qt=0x1,function(_0x4096a7,_0x146ab4){(function(_0x39df24,_0x418fff){var _0x28639d=_0xfa06;_0x4096a7[_0x28639d(0x29e)]=_0x418fff();}(cn,function(){var _0x1e7c21=_0x1e7c21||function(_0x92a7d0,_0x599250){var _0xa89e5b=_0xfa06,_0x354d50;if(typeof window<'u'&&window[_0xa89e5b(0x211)]&&(_0x354d50=window[_0xa89e5b(0x211)]),typeof self<'u'&&self[_0xa89e5b(0x211)]&&(_0x354d50=self['crypto']),typeof globalThis<'u'&&globalThis[_0xa89e5b(0x211)]&&(_0x354d50=globalThis[_0xa89e5b(0x211)]),!_0x354d50&&typeof window<'u'&&window[_0xa89e5b(0xa9)]&&(_0x354d50=window[_0xa89e5b(0xa9)]),!_0x354d50&&typeof ft<'u'&&ft[_0xa89e5b(0x211)]&&(_0x354d50=ft[_0xa89e5b(0x211)]),!_0x354d50&&typeof on==_0xa89e5b(0x301))try{_0x354d50=require('crypto');}catch{}var _0xad8bbe=function(){var _0xec70da=_0xa89e5b;if(_0x354d50){if(typeof _0x354d50[_0xec70da(0x97)]=='function')try{return _0x354d50['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x354d50['randomBytes']==_0xec70da(0x301))try{return _0x354d50[_0xec70da(0x1bc)](0x4)[_0xec70da(0x1b9)]();}catch{}}throw new Error(_0xec70da(0x328));},_0x4c7c63=Object['create']||(function(){function _0x230cc4(){}return function(_0x410f78){var _0x2a6864=_0xfa06,_0x4661bc;return _0x230cc4[_0x2a6864(0xe0)]=_0x410f78,_0x4661bc=new _0x230cc4(),_0x230cc4[_0x2a6864(0xe0)]=null,_0x4661bc;};}()),_0x30e57e={},_0x4449be=_0x30e57e[_0xa89e5b(0x2cb)]={},_0x598937=_0x4449be['Base']=(function(){return{'extend':function(_0xc17840){var _0x4deec4=_0xfa06,_0x3e55b5=_0x4c7c63(this);return _0xc17840&&_0x3e55b5[_0x4deec4(0x1e6)](_0xc17840),(!_0x3e55b5[_0x4deec4(0x185)](_0x4deec4(0xac))||this[_0x4deec4(0xac)]===_0x3e55b5[_0x4deec4(0xac)])&&(_0x3e55b5[_0x4deec4(0xac)]=function(){var _0x2a9fc3=_0x4deec4;_0x3e55b5[_0x2a9fc3(0x33a)][_0x2a9fc3(0xac)][_0x2a9fc3(0x1f5)](this,arguments);}),_0x3e55b5[_0x4deec4(0xac)][_0x4deec4(0xe0)]=_0x3e55b5,_0x3e55b5['$super']=this,_0x3e55b5;},'create':function(){var _0x3c4cc0=_0xfa06,_0x16e497=this[_0x3c4cc0(0xde)]();return _0x16e497['init']['apply'](_0x16e497,arguments),_0x16e497;},'init':function(){},'mixIn':function(_0x433f6a){var _0x353d8e=_0xfa06;for(var _0x1862c4 in _0x433f6a)_0x433f6a[_0x353d8e(0x185)](_0x1862c4)&&(this[_0x1862c4]=_0x433f6a[_0x1862c4]);_0x433f6a['hasOwnProperty'](_0x353d8e(0x14e))&&(this[_0x353d8e(0x14e)]=_0x433f6a['toString']);},'clone':function(){var _0x588797=_0xfa06;return this[_0x588797(0xac)][_0x588797(0xe0)]['extend'](this);}};}()),_0x32e39c=_0x4449be[_0xa89e5b(0x10b)]=_0x598937[_0xa89e5b(0xde)]({'init':function(_0x153ec3,_0x3f41bf){var _0x47b554=_0xa89e5b;_0x153ec3=this[_0x47b554(0x387)]=_0x153ec3||[],_0x3f41bf!=_0x599250?this[_0x47b554(0x345)]=_0x3f41bf:this[_0x47b554(0x345)]=_0x153ec3[_0x47b554(0x286)]*0x4;},'toString':function(_0x5fd1ec){var _0x123508=_0xa89e5b;return(_0x5fd1ec||_0x175694)[_0x123508(0x297)](this);},'concat':function(_0x1c3efb){var _0xb8e078=_0xa89e5b,_0x18b15e=this[_0xb8e078(0x387)],_0x210d9f=_0x1c3efb[_0xb8e078(0x387)],_0x47f56d=this[_0xb8e078(0x345)],_0x46eed5=_0x1c3efb[_0xb8e078(0x345)];if(this['clamp'](),_0x47f56d%0x4)for(var _0x45ea2d=0x0;_0x45ea2d<_0x46eed5;_0x45ea2d++){var _0x42984e=_0x210d9f[_0x45ea2d>>>0x2]>>>0x18-_0x45ea2d%0x4*0x8&0xff;_0x18b15e[_0x47f56d+_0x45ea2d>>>0x2]|=_0x42984e<<0x18-(_0x47f56d+_0x45ea2d)%0x4*0x8;}else{for(var _0x6bf1ec=0x0;_0x6bf1ec<_0x46eed5;_0x6bf1ec+=0x4)_0x18b15e[_0x47f56d+_0x6bf1ec>>>0x2]=_0x210d9f[_0x6bf1ec>>>0x2];}return this['sigBytes']+=_0x46eed5,this;},'clamp':function(){var _0x499afb=_0xa89e5b,_0x2c34fe=this[_0x499afb(0x387)],_0x595960=this[_0x499afb(0x345)];_0x2c34fe[_0x595960>>>0x2]&=0xffffffff<<0x20-_0x595960%0x4*0x8,_0x2c34fe[_0x499afb(0x286)]=_0x92a7d0['ceil'](_0x595960/0x4);},'clone':function(){var _0x2e2aab=_0xa89e5b,_0x1e212d=_0x598937[_0x2e2aab(0x2d4)][_0x2e2aab(0x12a)](this);return _0x1e212d['words']=this[_0x2e2aab(0x387)]['slice'](0x0),_0x1e212d;},'random':function(_0x42533d){var _0x1e10f7=_0xa89e5b;for(var _0x4c2c69=[],_0xa8da05=0x0;_0xa8da05<_0x42533d;_0xa8da05+=0x4)_0x4c2c69[_0x1e10f7(0x36e)](_0xad8bbe());return new _0x32e39c[(_0x1e10f7(0xac))](_0x4c2c69,_0x42533d);}}),_0x37495d=_0x30e57e['enc']={},_0x175694=_0x37495d['Hex']={'stringify':function(_0x122571){var _0x124db7=_0xa89e5b;for(var _0x3ccd32=_0x122571[_0x124db7(0x387)],_0x2f645f=_0x122571['sigBytes'],_0x34fef8=[],_0x49515b=0x0;_0x49515b<_0x2f645f;_0x49515b++){var _0x310873=_0x3ccd32[_0x49515b>>>0x2]>>>0x18-_0x49515b%0x4*0x8&0xff;_0x34fef8[_0x124db7(0x36e)]((_0x310873>>>0x4)[_0x124db7(0x14e)](0x10)),_0x34fef8[_0x124db7(0x36e)]((_0x310873&0xf)[_0x124db7(0x14e)](0x10));}return _0x34fef8[_0x124db7(0x124)]('');},'parse':function(_0x782bc6){var _0x197cde=_0xa89e5b;for(var _0x1cf5ff=_0x782bc6[_0x197cde(0x286)],_0x4a661c=[],_0x4317eb=0x0;_0x4317eb<_0x1cf5ff;_0x4317eb+=0x2)_0x4a661c[_0x4317eb>>>0x3]|=parseInt(_0x782bc6[_0x197cde(0x28c)](_0x4317eb,0x2),0x10)<<0x18-_0x4317eb%0x8*0x4;return new _0x32e39c['init'](_0x4a661c,_0x1cf5ff/0x2);}},_0x3c69ef=_0x37495d['Latin1']={'stringify':function(_0x2d4d1d){var _0x11b983=_0xa89e5b;for(var _0x34e490=_0x2d4d1d[_0x11b983(0x387)],_0x5f4183=_0x2d4d1d[_0x11b983(0x345)],_0x4fe8d9=[],_0x313aaf=0x0;_0x313aaf<_0x5f4183;_0x313aaf++){var _0x13778c=_0x34e490[_0x313aaf>>>0x2]>>>0x18-_0x313aaf%0x4*0x8&0xff;_0x4fe8d9[_0x11b983(0x36e)](String[_0x11b983(0x11b)](_0x13778c));}return _0x4fe8d9[_0x11b983(0x124)]('');},'parse':function(_0x316858){var _0x32bf24=_0xa89e5b;for(var _0x16cbd0=_0x316858['length'],_0x349c97=[],_0x2401fc=0x0;_0x2401fc<_0x16cbd0;_0x2401fc++)_0x349c97[_0x2401fc>>>0x2]|=(_0x316858[_0x32bf24(0x2df)](_0x2401fc)&0xff)<<0x18-_0x2401fc%0x4*0x8;return new _0x32e39c['init'](_0x349c97,_0x16cbd0);}},_0x4f9309=_0x37495d[_0xa89e5b(0x11f)]={'stringify':function(_0x1c4df7){var _0x11f390=_0xa89e5b;try{return decodeURIComponent(escape(_0x3c69ef['stringify'](_0x1c4df7)));}catch{throw new Error(_0x11f390(0x23d));}},'parse':function(_0x56d48e){var _0x226ec3=_0xa89e5b;return _0x3c69ef[_0x226ec3(0x92)](unescape(encodeURIComponent(_0x56d48e)));}},_0x6a742e=_0x4449be['BufferedBlockAlgorithm']=_0x598937['extend']({'reset':function(){var _0x42a5e4=_0xa89e5b;this[_0x42a5e4(0xe9)]=new _0x32e39c['init'](),this[_0x42a5e4(0x140)]=0x0;},'_append':function(_0x5702bf){var _0x580577=_0xa89e5b;typeof _0x5702bf==_0x580577(0x1c6)&&(_0x5702bf=_0x4f9309['parse'](_0x5702bf)),this[_0x580577(0xe9)][_0x580577(0xc5)](_0x5702bf),this['_nDataBytes']+=_0x5702bf['sigBytes'];},'_process':function(_0x1d4e34){var _0x1565c0=_0xa89e5b,_0x34e715,_0x5f05d7=this[_0x1565c0(0xe9)],_0x3b1d54=_0x5f05d7[_0x1565c0(0x387)],_0x1e0f09=_0x5f05d7['sigBytes'],_0x318dcb=this[_0x1565c0(0x251)],_0x308735=_0x318dcb*0x4,_0x429ae3=_0x1e0f09/_0x308735;_0x1d4e34?_0x429ae3=_0x92a7d0[_0x1565c0(0x395)](_0x429ae3):_0x429ae3=_0x92a7d0[_0x1565c0(0x36a)]((_0x429ae3|0x0)-this[_0x1565c0(0xa5)],0x0);var _0x4aac80=_0x429ae3*_0x318dcb,_0x17fed6=_0x92a7d0[_0x1565c0(0x182)](_0x4aac80*0x4,_0x1e0f09);if(_0x4aac80){for(var _0x53b6de=0x0;_0x53b6de<_0x4aac80;_0x53b6de+=_0x318dcb)this[_0x1565c0(0x1fe)](_0x3b1d54,_0x53b6de);_0x34e715=_0x3b1d54[_0x1565c0(0x1e1)](0x0,_0x4aac80),_0x5f05d7['sigBytes']-=_0x17fed6;}return new _0x32e39c[(_0x1565c0(0xac))](_0x34e715,_0x17fed6);},'clone':function(){var _0x111a0d=_0xa89e5b,_0x4d3092=_0x598937[_0x111a0d(0x2d4)][_0x111a0d(0x12a)](this);return _0x4d3092[_0x111a0d(0xe9)]=this[_0x111a0d(0xe9)][_0x111a0d(0x2d4)](),_0x4d3092;},'_minBufferSize':0x0});_0x4449be[_0xa89e5b(0x1b6)]=_0x6a742e[_0xa89e5b(0xde)]({'cfg':_0x598937[_0xa89e5b(0xde)](),'init':function(_0x539f7a){var _0x20b82a=_0xa89e5b;this[_0x20b82a(0x355)]=this[_0x20b82a(0x355)][_0x20b82a(0xde)](_0x539f7a),this[_0x20b82a(0x273)]();},'reset':function(){var _0x42434d=_0xa89e5b;_0x6a742e[_0x42434d(0x273)][_0x42434d(0x12a)](this),this[_0x42434d(0x2ac)]();},'update':function(_0x2c718e){var _0x3dbd84=_0xa89e5b;return this[_0x3dbd84(0x298)](_0x2c718e),this[_0x3dbd84(0x17d)](),this;},'finalize':function(_0x85901b){var _0x3c52ac=_0xa89e5b;_0x85901b&&this[_0x3c52ac(0x298)](_0x85901b);var _0x6d0da8=this[_0x3c52ac(0xe1)]();return _0x6d0da8;},'blockSize':0x10,'_createHelper':function(_0x2a0fa9){return function(_0x324066,_0x251462){var _0x5663a4=_0xfa06;return new _0x2a0fa9[(_0x5663a4(0xac))](_0x251462)[_0x5663a4(0x17b)](_0x324066);};},'_createHmacHelper':function(_0x431627){return function(_0x54745e,_0x18a5bb){var _0x3c0748=_0xfa06;return new _0x390059[(_0x3c0748(0x2c7))][(_0x3c0748(0xac))](_0x431627,_0x18a5bb)['finalize'](_0x54745e);};}});var _0x390059=_0x30e57e[_0xa89e5b(0x24a)]={};return _0x30e57e;}(Math);return _0x1e7c21;}));}(Ge)),Ge[_0x545f44(0x29e)];}var We={'exports':{}},_n=We[_0x252583(0x29e)],zt;function Ri(){return zt||(zt=0x1,function(_0x233f44,_0x3cf1e2){(function(_0x483f82,_0x5b8d58){var _0x23c92d=_0xfa06;_0x233f44[_0x23c92d(0x29e)]=_0x5b8d58(ie());}(_n,function(_0x1fc338){var _0x183d21=_0xfa06;return(function(){var _0x57c74e=_0xfa06,_0x33aff7=_0x1fc338,_0x159ff3=_0x33aff7[_0x57c74e(0x2cb)],_0x51a1e6=_0x159ff3[_0x57c74e(0x10b)],_0x1baee1=_0x33aff7[_0x57c74e(0x29c)];_0x1baee1['Base64']={'stringify':function(_0x5e0b61){var _0xd2da40=_0x57c74e,_0x1855bd=_0x5e0b61['words'],_0x10324e=_0x5e0b61['sigBytes'],_0x21efa4=this[_0xd2da40(0x34b)];_0x5e0b61[_0xd2da40(0xb4)]();for(var _0x497b7a=[],_0x5b9baf=0x0;_0x5b9baf<_0x10324e;_0x5b9baf+=0x3)for(var _0x153ccd=_0x1855bd[_0x5b9baf>>>0x2]>>>0x18-_0x5b9baf%0x4*0x8&0xff,_0x550814=_0x1855bd[_0x5b9baf+0x1>>>0x2]>>>0x18-(_0x5b9baf+0x1)%0x4*0x8&0xff,_0x12eb4c=_0x1855bd[_0x5b9baf+0x2>>>0x2]>>>0x18-(_0x5b9baf+0x2)%0x4*0x8&0xff,_0x511eb3=_0x153ccd<<0x10|_0x550814<<0x8|_0x12eb4c,_0x57ad92=0x0;_0x57ad92<0x4&&_0x5b9baf+_0x57ad92*0.75<_0x10324e;_0x57ad92++)_0x497b7a[_0xd2da40(0x36e)](_0x21efa4[_0xd2da40(0xb0)](_0x511eb3>>>0x6*(0x3-_0x57ad92)&0x3f));var _0x5399b5=_0x21efa4[_0xd2da40(0xb0)](0x40);if(_0x5399b5){for(;_0x497b7a[_0xd2da40(0x286)]%0x4;)_0x497b7a[_0xd2da40(0x36e)](_0x5399b5);}return _0x497b7a['join']('');},'parse':function(_0x2ea9b4){var _0x30d21b=_0x57c74e,_0x16d2cb=_0x2ea9b4[_0x30d21b(0x286)],_0xabd8d5=this[_0x30d21b(0x34b)],_0x29d1dc=this[_0x30d21b(0x336)];if(!_0x29d1dc){_0x29d1dc=this[_0x30d21b(0x336)]=[];for(var _0x105c0c=0x0;_0x105c0c<_0xabd8d5[_0x30d21b(0x286)];_0x105c0c++)_0x29d1dc[_0xabd8d5[_0x30d21b(0x2df)](_0x105c0c)]=_0x105c0c;}var _0x1785c1=_0xabd8d5[_0x30d21b(0xb0)](0x40);if(_0x1785c1){var _0x1ca009=_0x2ea9b4['indexOf'](_0x1785c1);_0x1ca009!==-0x1&&(_0x16d2cb=_0x1ca009);}return _0x4f8b03(_0x2ea9b4,_0x16d2cb,_0x29d1dc);},'_map':_0x57c74e(0x2d0)};function _0x4f8b03(_0x3e44b1,_0x1e2ec4,_0x18d0cb){var _0x49cf10=_0x57c74e;for(var _0x39af8a=[],_0x5ffdbb=0x0,_0x4c22c4=0x0;_0x4c22c4<_0x1e2ec4;_0x4c22c4++)if(_0x4c22c4%0x4){var _0x2c5a39=_0x18d0cb[_0x3e44b1[_0x49cf10(0x2df)](_0x4c22c4-0x1)]<<_0x4c22c4%0x4*0x2,_0xd1683f=_0x18d0cb[_0x3e44b1[_0x49cf10(0x2df)](_0x4c22c4)]>>>0x6-_0x4c22c4%0x4*0x2,_0x1a7ac7=_0x2c5a39|_0xd1683f;_0x39af8a[_0x5ffdbb>>>0x2]|=_0x1a7ac7<<0x18-_0x5ffdbb%0x4*0x8,_0x5ffdbb++;}return _0x51a1e6[_0x49cf10(0x123)](_0x39af8a,_0x5ffdbb);}}()),_0x1fc338[_0x183d21(0x29c)][_0x183d21(0x1c7)];}));}(We)),We['exports'];}var Ye={'exports':{}},hn=Ye[_0x252583(0x29e)],Jt;function ln(){var _0x1abc51=_0x252583;return Jt||(Jt=0x1,function(_0x736420,_0x1de711){(function(_0x3ad61f,_0x14b35d){var _0x6abcf9=_0xfa06;_0x736420[_0x6abcf9(0x29e)]=_0x14b35d(ie());}(hn,function(_0x4be992){var _0x165992=_0xfa06;return function(_0x331575){var _0x2f52c8=_0xfa06,_0x4cabee=_0x4be992,_0x50702d=_0x4cabee[_0x2f52c8(0x2cb)],_0x5f08df=_0x50702d['WordArray'],_0x36b687=_0x50702d['Hasher'],_0x2a46a1=_0x4cabee['algo'],_0x8004a8=[];(function(){var _0x335fbe=_0x2f52c8;for(var _0x527092=0x0;_0x527092<0x40;_0x527092++)_0x8004a8[_0x527092]=_0x331575[_0x335fbe(0x385)](_0x331575[_0x335fbe(0x91)](_0x527092+0x1))*0x100000000|0x0;}());var _0x1ae9f5=_0x2a46a1[_0x2f52c8(0x1aa)]=_0x36b687['extend']({'_doReset':function(){var _0x4236b9=_0x2f52c8;this[_0x4236b9(0x26b)]=new _0x5f08df[(_0x4236b9(0xac))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x58002e,_0x2dc4c0){var _0x569af7=_0x2f52c8;for(var _0x249f22=0x0;_0x249f22<0x10;_0x249f22++){var _0xc43126=_0x2dc4c0+_0x249f22,_0x1d37b4=_0x58002e[_0xc43126];_0x58002e[_0xc43126]=(_0x1d37b4<<0x8|_0x1d37b4>>>0x18)&0xff00ff|(_0x1d37b4<<0x18|_0x1d37b4>>>0x8)&0xff00ff00;}var _0x200bd6=this[_0x569af7(0x26b)][_0x569af7(0x387)],_0x449e72=_0x58002e[_0x2dc4c0+0x0],_0x38bc28=_0x58002e[_0x2dc4c0+0x1],_0x28dc44=_0x58002e[_0x2dc4c0+0x2],_0x48cda0=_0x58002e[_0x2dc4c0+0x3],_0x2aba9a=_0x58002e[_0x2dc4c0+0x4],_0x241721=_0x58002e[_0x2dc4c0+0x5],_0x35fae2=_0x58002e[_0x2dc4c0+0x6],_0x195503=_0x58002e[_0x2dc4c0+0x7],_0x2cecea=_0x58002e[_0x2dc4c0+0x8],_0x4dc764=_0x58002e[_0x2dc4c0+0x9],_0x155dd2=_0x58002e[_0x2dc4c0+0xa],_0x2f5c93=_0x58002e[_0x2dc4c0+0xb],_0x24aa24=_0x58002e[_0x2dc4c0+0xc],_0x35724d=_0x58002e[_0x2dc4c0+0xd],_0x50c7f6=_0x58002e[_0x2dc4c0+0xe],_0x135ee1=_0x58002e[_0x2dc4c0+0xf],_0x333a3e=_0x200bd6[0x0],_0x58887d=_0x200bd6[0x1],_0x28ba77=_0x200bd6[0x2],_0x42f6fb=_0x200bd6[0x3];_0x333a3e=_0x4f3ecf(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x449e72,0x7,_0x8004a8[0x0]),_0x42f6fb=_0x4f3ecf(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x38bc28,0xc,_0x8004a8[0x1]),_0x28ba77=_0x4f3ecf(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x28dc44,0x11,_0x8004a8[0x2]),_0x58887d=_0x4f3ecf(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x48cda0,0x16,_0x8004a8[0x3]),_0x333a3e=_0x4f3ecf(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x2aba9a,0x7,_0x8004a8[0x4]),_0x42f6fb=_0x4f3ecf(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x241721,0xc,_0x8004a8[0x5]),_0x28ba77=_0x4f3ecf(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x35fae2,0x11,_0x8004a8[0x6]),_0x58887d=_0x4f3ecf(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x195503,0x16,_0x8004a8[0x7]),_0x333a3e=_0x4f3ecf(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x2cecea,0x7,_0x8004a8[0x8]),_0x42f6fb=_0x4f3ecf(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x4dc764,0xc,_0x8004a8[0x9]),_0x28ba77=_0x4f3ecf(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x155dd2,0x11,_0x8004a8[0xa]),_0x58887d=_0x4f3ecf(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x2f5c93,0x16,_0x8004a8[0xb]),_0x333a3e=_0x4f3ecf(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x24aa24,0x7,_0x8004a8[0xc]),_0x42f6fb=_0x4f3ecf(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x35724d,0xc,_0x8004a8[0xd]),_0x28ba77=_0x4f3ecf(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x50c7f6,0x11,_0x8004a8[0xe]),_0x58887d=_0x4f3ecf(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x135ee1,0x16,_0x8004a8[0xf]),_0x333a3e=_0xf19b3a(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x38bc28,0x5,_0x8004a8[0x10]),_0x42f6fb=_0xf19b3a(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x35fae2,0x9,_0x8004a8[0x11]),_0x28ba77=_0xf19b3a(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x2f5c93,0xe,_0x8004a8[0x12]),_0x58887d=_0xf19b3a(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x449e72,0x14,_0x8004a8[0x13]),_0x333a3e=_0xf19b3a(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x241721,0x5,_0x8004a8[0x14]),_0x42f6fb=_0xf19b3a(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x155dd2,0x9,_0x8004a8[0x15]),_0x28ba77=_0xf19b3a(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x135ee1,0xe,_0x8004a8[0x16]),_0x58887d=_0xf19b3a(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x2aba9a,0x14,_0x8004a8[0x17]),_0x333a3e=_0xf19b3a(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x4dc764,0x5,_0x8004a8[0x18]),_0x42f6fb=_0xf19b3a(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x50c7f6,0x9,_0x8004a8[0x19]),_0x28ba77=_0xf19b3a(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x48cda0,0xe,_0x8004a8[0x1a]),_0x58887d=_0xf19b3a(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x2cecea,0x14,_0x8004a8[0x1b]),_0x333a3e=_0xf19b3a(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x35724d,0x5,_0x8004a8[0x1c]),_0x42f6fb=_0xf19b3a(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x28dc44,0x9,_0x8004a8[0x1d]),_0x28ba77=_0xf19b3a(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x195503,0xe,_0x8004a8[0x1e]),_0x58887d=_0xf19b3a(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x24aa24,0x14,_0x8004a8[0x1f]),_0x333a3e=_0x52c4d7(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x241721,0x4,_0x8004a8[0x20]),_0x42f6fb=_0x52c4d7(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x2cecea,0xb,_0x8004a8[0x21]),_0x28ba77=_0x52c4d7(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x2f5c93,0x10,_0x8004a8[0x22]),_0x58887d=_0x52c4d7(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x50c7f6,0x17,_0x8004a8[0x23]),_0x333a3e=_0x52c4d7(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x38bc28,0x4,_0x8004a8[0x24]),_0x42f6fb=_0x52c4d7(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x2aba9a,0xb,_0x8004a8[0x25]),_0x28ba77=_0x52c4d7(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x195503,0x10,_0x8004a8[0x26]),_0x58887d=_0x52c4d7(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x155dd2,0x17,_0x8004a8[0x27]),_0x333a3e=_0x52c4d7(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x35724d,0x4,_0x8004a8[0x28]),_0x42f6fb=_0x52c4d7(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x449e72,0xb,_0x8004a8[0x29]),_0x28ba77=_0x52c4d7(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x48cda0,0x10,_0x8004a8[0x2a]),_0x58887d=_0x52c4d7(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x35fae2,0x17,_0x8004a8[0x2b]),_0x333a3e=_0x52c4d7(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x4dc764,0x4,_0x8004a8[0x2c]),_0x42f6fb=_0x52c4d7(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x24aa24,0xb,_0x8004a8[0x2d]),_0x28ba77=_0x52c4d7(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x135ee1,0x10,_0x8004a8[0x2e]),_0x58887d=_0x52c4d7(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x28dc44,0x17,_0x8004a8[0x2f]),_0x333a3e=_0x27216a(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x449e72,0x6,_0x8004a8[0x30]),_0x42f6fb=_0x27216a(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x195503,0xa,_0x8004a8[0x31]),_0x28ba77=_0x27216a(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x50c7f6,0xf,_0x8004a8[0x32]),_0x58887d=_0x27216a(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x241721,0x15,_0x8004a8[0x33]),_0x333a3e=_0x27216a(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x24aa24,0x6,_0x8004a8[0x34]),_0x42f6fb=_0x27216a(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x48cda0,0xa,_0x8004a8[0x35]),_0x28ba77=_0x27216a(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x155dd2,0xf,_0x8004a8[0x36]),_0x58887d=_0x27216a(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x38bc28,0x15,_0x8004a8[0x37]),_0x333a3e=_0x27216a(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x2cecea,0x6,_0x8004a8[0x38]),_0x42f6fb=_0x27216a(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x135ee1,0xa,_0x8004a8[0x39]),_0x28ba77=_0x27216a(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x35fae2,0xf,_0x8004a8[0x3a]),_0x58887d=_0x27216a(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x35724d,0x15,_0x8004a8[0x3b]),_0x333a3e=_0x27216a(_0x333a3e,_0x58887d,_0x28ba77,_0x42f6fb,_0x2aba9a,0x6,_0x8004a8[0x3c]),_0x42f6fb=_0x27216a(_0x42f6fb,_0x333a3e,_0x58887d,_0x28ba77,_0x2f5c93,0xa,_0x8004a8[0x3d]),_0x28ba77=_0x27216a(_0x28ba77,_0x42f6fb,_0x333a3e,_0x58887d,_0x28dc44,0xf,_0x8004a8[0x3e]),_0x58887d=_0x27216a(_0x58887d,_0x28ba77,_0x42f6fb,_0x333a3e,_0x4dc764,0x15,_0x8004a8[0x3f]),_0x200bd6[0x0]=_0x200bd6[0x0]+_0x333a3e|0x0,_0x200bd6[0x1]=_0x200bd6[0x1]+_0x58887d|0x0,_0x200bd6[0x2]=_0x200bd6[0x2]+_0x28ba77|0x0,_0x200bd6[0x3]=_0x200bd6[0x3]+_0x42f6fb|0x0;},'_doFinalize':function(){var _0x2a444e=_0x2f52c8,_0x522071=this[_0x2a444e(0xe9)],_0x9d5663=_0x522071['words'],_0x2a7f03=this['_nDataBytes']*0x8,_0xcc4df2=_0x522071[_0x2a444e(0x345)]*0x8;_0x9d5663[_0xcc4df2>>>0x5]|=0x80<<0x18-_0xcc4df2%0x20;var _0x520d4c=_0x331575[_0x2a444e(0x2a2)](_0x2a7f03/0x100000000),_0x58a796=_0x2a7f03;_0x9d5663[(_0xcc4df2+0x40>>>0x9<<0x4)+0xf]=(_0x520d4c<<0x8|_0x520d4c>>>0x18)&0xff00ff|(_0x520d4c<<0x18|_0x520d4c>>>0x8)&0xff00ff00,_0x9d5663[(_0xcc4df2+0x40>>>0x9<<0x4)+0xe]=(_0x58a796<<0x8|_0x58a796>>>0x18)&0xff00ff|(_0x58a796<<0x18|_0x58a796>>>0x8)&0xff00ff00,_0x522071['sigBytes']=(_0x9d5663[_0x2a444e(0x286)]+0x1)*0x4,this[_0x2a444e(0x17d)]();for(var _0x500a59=this[_0x2a444e(0x26b)],_0x1dd3c1=_0x500a59[_0x2a444e(0x387)],_0x274bf4=0x0;_0x274bf4<0x4;_0x274bf4++){var _0x5abab9=_0x1dd3c1[_0x274bf4];_0x1dd3c1[_0x274bf4]=(_0x5abab9<<0x8|_0x5abab9>>>0x18)&0xff00ff|(_0x5abab9<<0x18|_0x5abab9>>>0x8)&0xff00ff00;}return _0x500a59;},'clone':function(){var _0x34b158=_0x2f52c8,_0x4ad1ef=_0x36b687[_0x34b158(0x2d4)]['call'](this);return _0x4ad1ef[_0x34b158(0x26b)]=this['_hash'][_0x34b158(0x2d4)](),_0x4ad1ef;}});function _0x4f3ecf(_0x385b3a,_0x5b1ba0,_0xb1cba0,_0x3da7cb,_0x22b122,_0x5344b3,_0x3268ff){var _0x2b0c44=_0x385b3a+(_0x5b1ba0&_0xb1cba0|~_0x5b1ba0&_0x3da7cb)+_0x22b122+_0x3268ff;return(_0x2b0c44<<_0x5344b3|_0x2b0c44>>>0x20-_0x5344b3)+_0x5b1ba0;}function _0xf19b3a(_0x32e639,_0x42aa64,_0x2a8020,_0x2e995b,_0x493edc,_0x475442,_0x591d5a){var _0x597623=_0x32e639+(_0x42aa64&_0x2e995b|_0x2a8020&~_0x2e995b)+_0x493edc+_0x591d5a;return(_0x597623<<_0x475442|_0x597623>>>0x20-_0x475442)+_0x42aa64;}function _0x52c4d7(_0x4f315b,_0x457745,_0x3c61e8,_0x54ce11,_0x46fbff,_0xbb9ac7,_0x3ce5fb){var _0x4827fb=_0x4f315b+(_0x457745^_0x3c61e8^_0x54ce11)+_0x46fbff+_0x3ce5fb;return(_0x4827fb<<_0xbb9ac7|_0x4827fb>>>0x20-_0xbb9ac7)+_0x457745;}function _0x27216a(_0x4cd4ac,_0x134a06,_0x38541c,_0x2bbe62,_0x6bbb2d,_0x3a4249,_0x4a249e){var _0x205391=_0x4cd4ac+(_0x38541c^(_0x134a06|~_0x2bbe62))+_0x6bbb2d+_0x4a249e;return(_0x205391<<_0x3a4249|_0x205391>>>0x20-_0x3a4249)+_0x134a06;}_0x4cabee[_0x2f52c8(0x1aa)]=_0x36b687[_0x2f52c8(0x115)](_0x1ae9f5),_0x4cabee['HmacMD5']=_0x36b687[_0x2f52c8(0x225)](_0x1ae9f5);}(Math),_0x4be992[_0x165992(0x1aa)];}));}(Ye)),Ye[_0x1abc51(0x29e)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x252583(0x29e)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x24bdc2,_0x2c828e){(function(_0x392deb,_0x369237){_0x24bdc2['exports']=_0x369237(ie());}(un,function(_0x2a9674){var _0x3581ee=_0xfa06;return(function(){var _0xdb896f=_0xfa06,_0xaf151c=_0x2a9674,_0x151ae3=_0xaf151c['lib'],_0x1ba552=_0x151ae3['WordArray'],_0x12b60e=_0x151ae3[_0xdb896f(0x1b6)],_0x1e0c7f=_0xaf151c['algo'],_0x3bd19c=[],_0x2da39c=_0x1e0c7f[_0xdb896f(0x331)]=_0x12b60e[_0xdb896f(0xde)]({'_doReset':function(){var _0x40dc7f=_0xdb896f;this[_0x40dc7f(0x26b)]=new _0x1ba552['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x13754a,_0xec51b5){var _0x556b93=_0xdb896f;for(var _0x49a1f3=this['_hash'][_0x556b93(0x387)],_0x1a661e=_0x49a1f3[0x0],_0x22eff0=_0x49a1f3[0x1],_0x2cf032=_0x49a1f3[0x2],_0x4c3a47=_0x49a1f3[0x3],_0xa51b77=_0x49a1f3[0x4],_0x4afb68=0x0;_0x4afb68<0x50;_0x4afb68++){if(_0x4afb68<0x10)_0x3bd19c[_0x4afb68]=_0x13754a[_0xec51b5+_0x4afb68]|0x0;else{var _0x31e21f=_0x3bd19c[_0x4afb68-0x3]^_0x3bd19c[_0x4afb68-0x8]^_0x3bd19c[_0x4afb68-0xe]^_0x3bd19c[_0x4afb68-0x10];_0x3bd19c[_0x4afb68]=_0x31e21f<<0x1|_0x31e21f>>>0x1f;}var _0x4b6170=(_0x1a661e<<0x5|_0x1a661e>>>0x1b)+_0xa51b77+_0x3bd19c[_0x4afb68];_0x4afb68<0x14?_0x4b6170+=(_0x22eff0&_0x2cf032|~_0x22eff0&_0x4c3a47)+0x5a827999:_0x4afb68<0x28?_0x4b6170+=(_0x22eff0^_0x2cf032^_0x4c3a47)+0x6ed9eba1:_0x4afb68<0x3c?_0x4b6170+=(_0x22eff0&_0x2cf032|_0x22eff0&_0x4c3a47|_0x2cf032&_0x4c3a47)-0x70e44324:_0x4b6170+=(_0x22eff0^_0x2cf032^_0x4c3a47)-0x359d3e2a,_0xa51b77=_0x4c3a47,_0x4c3a47=_0x2cf032,_0x2cf032=_0x22eff0<<0x1e|_0x22eff0>>>0x2,_0x22eff0=_0x1a661e,_0x1a661e=_0x4b6170;}_0x49a1f3[0x0]=_0x49a1f3[0x0]+_0x1a661e|0x0,_0x49a1f3[0x1]=_0x49a1f3[0x1]+_0x22eff0|0x0,_0x49a1f3[0x2]=_0x49a1f3[0x2]+_0x2cf032|0x0,_0x49a1f3[0x3]=_0x49a1f3[0x3]+_0x4c3a47|0x0,_0x49a1f3[0x4]=_0x49a1f3[0x4]+_0xa51b77|0x0;},'_doFinalize':function(){var _0x4f1cba=_0xdb896f,_0x302a96=this['_data'],_0x3a47cc=_0x302a96[_0x4f1cba(0x387)],_0x5af1e2=this[_0x4f1cba(0x140)]*0x8,_0x56ff6b=_0x302a96[_0x4f1cba(0x345)]*0x8;return _0x3a47cc[_0x56ff6b>>>0x5]|=0x80<<0x18-_0x56ff6b%0x20,_0x3a47cc[(_0x56ff6b+0x40>>>0x9<<0x4)+0xe]=Math[_0x4f1cba(0x2a2)](_0x5af1e2/0x100000000),_0x3a47cc[(_0x56ff6b+0x40>>>0x9<<0x4)+0xf]=_0x5af1e2,_0x302a96['sigBytes']=_0x3a47cc['length']*0x4,this[_0x4f1cba(0x17d)](),this['_hash'];},'clone':function(){var _0xd74d30=_0xdb896f,_0x431e82=_0x12b60e[_0xd74d30(0x2d4)][_0xd74d30(0x12a)](this);return _0x431e82[_0xd74d30(0x26b)]=this[_0xd74d30(0x26b)][_0xd74d30(0x2d4)](),_0x431e82;}});_0xaf151c[_0xdb896f(0x331)]=_0x12b60e['_createHelper'](_0x2da39c),_0xaf151c[_0xdb896f(0x116)]=_0x12b60e[_0xdb896f(0x225)](_0x2da39c);}()),_0x2a9674[_0x3581ee(0x331)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){var _0x57b1bd=_0x252583;return Zt||(Zt=0x1,function(_0x3b2ff5,_0x2bf216){(function(_0x28136d,_0x16ae00){var _0x94b161=_0xfa06;_0x3b2ff5[_0x94b161(0x29e)]=_0x16ae00(ie());}(fn,function(_0xd5bb12){(function(){var _0x44e540=_0xfa06,_0x344806=_0xd5bb12,_0x10165a=_0x344806['lib'],_0x5a716b=_0x10165a[_0x44e540(0xdd)],_0x3bb79a=_0x344806[_0x44e540(0x29c)],_0x3fc31b=_0x3bb79a[_0x44e540(0x11f)],_0xe457c4=_0x344806[_0x44e540(0x24a)];_0xe457c4[_0x44e540(0x2c7)]=_0x5a716b['extend']({'init':function(_0x3b97af,_0x3ace30){var _0x24b2b7=_0x44e540;_0x3b97af=this[_0x24b2b7(0x17e)]=new _0x3b97af[(_0x24b2b7(0xac))](),typeof _0x3ace30==_0x24b2b7(0x1c6)&&(_0x3ace30=_0x3fc31b[_0x24b2b7(0x92)](_0x3ace30));var _0x428146=_0x3b97af['blockSize'],_0x5291ba=_0x428146*0x4;_0x3ace30['sigBytes']>_0x5291ba&&(_0x3ace30=_0x3b97af['finalize'](_0x3ace30)),_0x3ace30['clamp']();for(var _0x29ea53=this[_0x24b2b7(0x2e6)]=_0x3ace30['clone'](),_0xec50f=this[_0x24b2b7(0x2e5)]=_0x3ace30[_0x24b2b7(0x2d4)](),_0x2dede7=_0x29ea53['words'],_0x9fbd2=_0xec50f[_0x24b2b7(0x387)],_0x524bbf=0x0;_0x524bbf<_0x428146;_0x524bbf++)_0x2dede7[_0x524bbf]^=0x5c5c5c5c,_0x9fbd2[_0x524bbf]^=0x36363636;_0x29ea53[_0x24b2b7(0x345)]=_0xec50f[_0x24b2b7(0x345)]=_0x5291ba,this[_0x24b2b7(0x273)]();},'reset':function(){var _0x218ba7=_0x44e540,_0x255af8=this['_hasher'];_0x255af8['reset'](),_0x255af8[_0x218ba7(0x179)](this['_iKey']);},'update':function(_0x7270fe){var _0x424ab3=_0x44e540;return this[_0x424ab3(0x17e)]['update'](_0x7270fe),this;},'finalize':function(_0x4b5efe){var _0x393ddb=_0x44e540,_0x5b1280=this[_0x393ddb(0x17e)],_0x11a7be=_0x5b1280[_0x393ddb(0x17b)](_0x4b5efe);_0x5b1280['reset']();var _0x3745d3=_0x5b1280['finalize'](this[_0x393ddb(0x2e6)][_0x393ddb(0x2d4)]()[_0x393ddb(0xc5)](_0x11a7be));return _0x3745d3;}});}());}));}(ze)),ze[_0x57b1bd(0x29e)];}var pn=Ke[_0x252583(0x29e)],Qt;function Ci(){var _0x4f201e=_0x252583;return Qt||(Qt=0x1,function(_0x2883ec,_0x578da1){(function(_0x477ab4,_0x23c383,_0xb7c244){var _0x34aad5=_0xfa06;_0x2883ec[_0x34aad5(0x29e)]=_0x23c383(ie(),dn(),vn());}(pn,function(_0x4186f6){var _0x57a589=_0xfa06;return(function(){var _0x2d3384=_0xfa06,_0xffe66d=_0x4186f6,_0x85ee02=_0xffe66d['lib'],_0x5bd93d=_0x85ee02[_0x2d3384(0xdd)],_0x3f0c31=_0x85ee02[_0x2d3384(0x10b)],_0xbf9096=_0xffe66d['algo'],_0x323947=_0xbf9096[_0x2d3384(0x1aa)],_0x56ec7d=_0xbf9096[_0x2d3384(0x37a)]=_0x5bd93d['extend']({'cfg':_0x5bd93d[_0x2d3384(0xde)]({'keySize':0x80/0x20,'hasher':_0x323947,'iterations':0x1}),'init':function(_0x24fe80){var _0x33f750=_0x2d3384;this[_0x33f750(0x355)]=this['cfg'][_0x33f750(0xde)](_0x24fe80);},'compute':function(_0x4ad06f,_0x1b20d1){var _0x4c481e=_0x2d3384;for(var _0xbc3944,_0x30ec8b=this[_0x4c481e(0x355)],_0x5354c8=_0x30ec8b[_0x4c481e(0x382)][_0x4c481e(0x123)](),_0x167fbd=_0x3f0c31[_0x4c481e(0x123)](),_0x168f88=_0x167fbd[_0x4c481e(0x387)],_0x112e3c=_0x30ec8b[_0x4c481e(0xea)],_0x9b50c9=_0x30ec8b[_0x4c481e(0x246)];_0x168f88[_0x4c481e(0x286)]<_0x112e3c;){_0xbc3944&&_0x5354c8[_0x4c481e(0x179)](_0xbc3944),_0xbc3944=_0x5354c8[_0x4c481e(0x179)](_0x4ad06f)[_0x4c481e(0x17b)](_0x1b20d1),_0x5354c8[_0x4c481e(0x273)]();for(var _0x452b14=0x1;_0x452b14<_0x9b50c9;_0x452b14++)_0xbc3944=_0x5354c8[_0x4c481e(0x17b)](_0xbc3944),_0x5354c8[_0x4c481e(0x273)]();_0x167fbd['concat'](_0xbc3944);}return _0x167fbd[_0x4c481e(0x345)]=_0x112e3c*0x4,_0x167fbd;}});_0xffe66d['EvpKDF']=function(_0x2fcdfa,_0x9bd9f3,_0xfc595b){var _0x51a997=_0x2d3384;return _0x56ec7d[_0x51a997(0x123)](_0xfc595b)['compute'](_0x2fcdfa,_0x9bd9f3);};}()),_0x4186f6[_0x57a589(0x37a)];}));}(Ke)),Ke[_0x4f201e(0x29e)];}var Je={'exports':{}},En=Je[_0x252583(0x29e)],ei;function Ni(){var _0x868665=_0x252583;return ei||(ei=0x1,function(_0x16e188,_0x1d932d){(function(_0x50c70a,_0x2021a3,_0xdc8374){_0x16e188['exports']=_0x2021a3(ie(),Ci());}(En,function(_0x146eed){var _0x1d93d6=_0xfa06;_0x146eed[_0x1d93d6(0x2cb)]['Cipher']||function(_0x5e488d){var _0x46c758=_0x1d93d6,_0x183bd3=_0x146eed,_0xce2b98=_0x183bd3[_0x46c758(0x2cb)],_0x5e368c=_0xce2b98[_0x46c758(0xdd)],_0x956b8a=_0xce2b98[_0x46c758(0x10b)],_0x4e7050=_0xce2b98['BufferedBlockAlgorithm'],_0x5f4132=_0x183bd3[_0x46c758(0x29c)];_0x5f4132[_0x46c758(0x11f)];var _0xe35053=_0x5f4132['Base64'],_0x4c1b3a=_0x183bd3[_0x46c758(0x24a)],_0x28e178=_0x4c1b3a[_0x46c758(0x37a)],_0x5e5f9b=_0xce2b98[_0x46c758(0x287)]=_0x4e7050[_0x46c758(0xde)]({'cfg':_0x5e368c[_0x46c758(0xde)](),'createEncryptor':function(_0x579a75,_0x72136f){var _0xdb8f53=_0x46c758;return this[_0xdb8f53(0x123)](this[_0xdb8f53(0x384)],_0x579a75,_0x72136f);},'createDecryptor':function(_0xf79673,_0x10e4cc){var _0x9c7ca1=_0x46c758;return this[_0x9c7ca1(0x123)](this[_0x9c7ca1(0x252)],_0xf79673,_0x10e4cc);},'init':function(_0x3813d8,_0x114e78,_0x2fb29d){var _0x57959d=_0x46c758;this['cfg']=this[_0x57959d(0x355)][_0x57959d(0xde)](_0x2fb29d),this[_0x57959d(0x16d)]=_0x3813d8,this[_0x57959d(0x2d8)]=_0x114e78,this['reset']();},'reset':function(){var _0x160809=_0x46c758;_0x4e7050[_0x160809(0x273)]['call'](this),this['_doReset']();},'process':function(_0x2ddcfb){var _0x56c56b=_0x46c758;return this[_0x56c56b(0x298)](_0x2ddcfb),this[_0x56c56b(0x17d)]();},'finalize':function(_0x1b8eaf){var _0x331c4e=_0x46c758;_0x1b8eaf&&this[_0x331c4e(0x298)](_0x1b8eaf);var _0x4e5883=this[_0x331c4e(0xe1)]();return _0x4e5883;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x263946(_0x5da132){var _0x2e71b2=_0xfa06;return typeof _0x5da132==_0x2e71b2(0x1c6)?_0x15537a:_0x1b8485;}return function(_0x24577d){return{'encrypt':function(_0x1cc5d7,_0x125484,_0x216dfe){return _0x263946(_0x125484)['encrypt'](_0x24577d,_0x1cc5d7,_0x125484,_0x216dfe);},'decrypt':function(_0x229420,_0x194e3b,_0x304351){var _0x2dbe4f=_0xfa06;return _0x263946(_0x194e3b)[_0x2dbe4f(0x2e2)](_0x24577d,_0x229420,_0x194e3b,_0x304351);}};};}())});_0xce2b98[_0x46c758(0xa0)]=_0x5e5f9b[_0x46c758(0xde)]({'_doFinalize':function(){var _0x35982b=_0x46c758,_0x53aaef=this[_0x35982b(0x17d)](!0x0);return _0x53aaef;},'blockSize':0x1});var _0x2fc9ec=_0x183bd3['mode']={},_0xfe6a61=_0xce2b98['BlockCipherMode']=_0x5e368c[_0x46c758(0xde)]({'createEncryptor':function(_0xe1d8d7,_0x35f663){var _0x5c60ec=_0x46c758;return this[_0x5c60ec(0x11d)][_0x5c60ec(0x123)](_0xe1d8d7,_0x35f663);},'createDecryptor':function(_0x4ba7d4,_0x3ea6ba){var _0x149340=_0x46c758;return this[_0x149340(0x2d6)][_0x149340(0x123)](_0x4ba7d4,_0x3ea6ba);},'init':function(_0x2deea4,_0xcfa182){var _0x512fb6=_0x46c758;this['_cipher']=_0x2deea4,this[_0x512fb6(0x2a8)]=_0xcfa182;}}),_0x3a137b=_0x2fc9ec[_0x46c758(0x109)]=(function(){var _0x3003fc=_0x46c758,_0xc6aac7=_0xfe6a61[_0x3003fc(0xde)]();_0xc6aac7['Encryptor']=_0xc6aac7[_0x3003fc(0xde)]({'processBlock':function(_0x1c3702,_0x389e6e){var _0x3b55fa=_0x3003fc,_0x1b174a=this['_cipher'],_0x5e661e=_0x1b174a[_0x3b55fa(0x251)];_0x15696c[_0x3b55fa(0x12a)](this,_0x1c3702,_0x389e6e,_0x5e661e),_0x1b174a[_0x3b55fa(0x280)](_0x1c3702,_0x389e6e),this[_0x3b55fa(0x27e)]=_0x1c3702[_0x3b55fa(0x2e8)](_0x389e6e,_0x389e6e+_0x5e661e);}}),_0xc6aac7['Decryptor']=_0xc6aac7[_0x3003fc(0xde)]({'processBlock':function(_0x51b002,_0x4df8f8){var _0x385700=_0x3003fc,_0x37b6eb=this[_0x385700(0x2a6)],_0x53d678=_0x37b6eb[_0x385700(0x251)],_0x404843=_0x51b002[_0x385700(0x2e8)](_0x4df8f8,_0x4df8f8+_0x53d678);_0x37b6eb[_0x385700(0x288)](_0x51b002,_0x4df8f8),_0x15696c['call'](this,_0x51b002,_0x4df8f8,_0x53d678),this[_0x385700(0x27e)]=_0x404843;}});function _0x15696c(_0x3bafaa,_0xcb720a,_0x482daf){var _0x106dbe=_0x3003fc,_0x272056,_0x534df0=this[_0x106dbe(0x2a8)];_0x534df0?(_0x272056=_0x534df0,this[_0x106dbe(0x2a8)]=_0x5e488d):_0x272056=this[_0x106dbe(0x27e)];for(var _0x5230b1=0x0;_0x5230b1<_0x482daf;_0x5230b1++)_0x3bafaa[_0xcb720a+_0x5230b1]^=_0x272056[_0x5230b1];}return _0xc6aac7;}()),_0x38d02b=_0x183bd3[_0x46c758(0x351)]={},_0x59d6d1=_0x38d02b[_0x46c758(0x25d)]={'pad':function(_0x9bc90f,_0x5ac95a){var _0x55ada7=_0x46c758;for(var _0x52f85b=_0x5ac95a*0x4,_0x17740f=_0x52f85b-_0x9bc90f['sigBytes']%_0x52f85b,_0x5d36e=_0x17740f<<0x18|_0x17740f<<0x10|_0x17740f<<0x8|_0x17740f,_0x51a872=[],_0x2c63a0=0x0;_0x2c63a0<_0x17740f;_0x2c63a0+=0x4)_0x51a872[_0x55ada7(0x36e)](_0x5d36e);var _0x5d8a2f=_0x956b8a[_0x55ada7(0x123)](_0x51a872,_0x17740f);_0x9bc90f[_0x55ada7(0xc5)](_0x5d8a2f);},'unpad':function(_0x559805){var _0x15b6b8=_0x46c758,_0x43dc64=_0x559805[_0x15b6b8(0x387)][_0x559805[_0x15b6b8(0x345)]-0x1>>>0x2]&0xff;_0x559805['sigBytes']-=_0x43dc64;}};_0xce2b98['BlockCipher']=_0x5e5f9b[_0x46c758(0xde)]({'cfg':_0x5e5f9b[_0x46c758(0x355)]['extend']({'mode':_0x3a137b,'padding':_0x59d6d1}),'reset':function(){var _0x2d8479=_0x46c758,_0x12b55d;_0x5e5f9b['reset'][_0x2d8479(0x12a)](this);var _0xaac29d=this['cfg'],_0x39e8d1=_0xaac29d['iv'],_0x10bf04=_0xaac29d[_0x2d8479(0x180)];this[_0x2d8479(0x16d)]==this['_ENC_XFORM_MODE']?_0x12b55d=_0x10bf04[_0x2d8479(0x205)]:(_0x12b55d=_0x10bf04[_0x2d8479(0x2a0)],this['_minBufferSize']=0x1),this[_0x2d8479(0x322)]&&this['_mode'][_0x2d8479(0x37e)]==_0x12b55d?this[_0x2d8479(0x322)][_0x2d8479(0xac)](this,_0x39e8d1&&_0x39e8d1['words']):(this['_mode']=_0x12b55d['call'](_0x10bf04,this,_0x39e8d1&&_0x39e8d1[_0x2d8479(0x387)]),this[_0x2d8479(0x322)][_0x2d8479(0x37e)]=_0x12b55d);},'_doProcessBlock':function(_0x258703,_0x4de035){var _0x33dc8c=_0x46c758;this[_0x33dc8c(0x322)][_0x33dc8c(0x306)](_0x258703,_0x4de035);},'_doFinalize':function(){var _0x4b73a6=_0x46c758,_0x2dd815,_0x5a9da3=this[_0x4b73a6(0x355)]['padding'];return this[_0x4b73a6(0x16d)]==this[_0x4b73a6(0x384)]?(_0x5a9da3[_0x4b73a6(0x351)](this[_0x4b73a6(0xe9)],this[_0x4b73a6(0x251)]),_0x2dd815=this[_0x4b73a6(0x17d)](!0x0)):(_0x2dd815=this[_0x4b73a6(0x17d)](!0x0),_0x5a9da3[_0x4b73a6(0xc1)](_0x2dd815)),_0x2dd815;},'blockSize':0x80/0x20});var _0x38ea5f=_0xce2b98[_0x46c758(0x2ce)]=_0x5e368c['extend']({'init':function(_0x4810c3){var _0xe596e2=_0x46c758;this[_0xe596e2(0x1e6)](_0x4810c3);},'toString':function(_0x5c06c4){var _0x53f9fb=_0x46c758;return(_0x5c06c4||this[_0x53f9fb(0xc2)])['stringify'](this);}}),_0x27b516=_0x183bd3['format']={},_0x3d55bb=_0x27b516[_0x46c758(0x1ba)]={'stringify':function(_0x489b24){var _0x4c5618=_0x46c758,_0x3940be,_0x3ad13d=_0x489b24[_0x4c5618(0xce)],_0xa32e1c=_0x489b24['salt'];return _0xa32e1c?_0x3940be=_0x956b8a[_0x4c5618(0x123)]([0x53616c74,0x65645f5f])[_0x4c5618(0xc5)](_0xa32e1c)[_0x4c5618(0xc5)](_0x3ad13d):_0x3940be=_0x3ad13d,_0x3940be[_0x4c5618(0x14e)](_0xe35053);},'parse':function(_0x7e66de){var _0x2c4be4=_0x46c758,_0x3741df,_0x347896=_0xe35053['parse'](_0x7e66de),_0x200ac0=_0x347896[_0x2c4be4(0x387)];return _0x200ac0[0x0]==0x53616c74&&_0x200ac0[0x1]==0x65645f5f&&(_0x3741df=_0x956b8a[_0x2c4be4(0x123)](_0x200ac0[_0x2c4be4(0x2e8)](0x2,0x4)),_0x200ac0[_0x2c4be4(0x1e1)](0x0,0x4),_0x347896[_0x2c4be4(0x345)]-=0x10),_0x38ea5f[_0x2c4be4(0x123)]({'ciphertext':_0x347896,'salt':_0x3741df});}},_0x1b8485=_0xce2b98[_0x46c758(0x21a)]=_0x5e368c[_0x46c758(0xde)]({'cfg':_0x5e368c[_0x46c758(0xde)]({'format':_0x3d55bb}),'encrypt':function(_0x334c59,_0x47b782,_0x28cebd,_0x23d67c){var _0x138243=_0x46c758;_0x23d67c=this['cfg']['extend'](_0x23d67c);var _0x279339=_0x334c59[_0x138243(0x205)](_0x28cebd,_0x23d67c),_0x34de54=_0x279339['finalize'](_0x47b782),_0x3ee712=_0x279339[_0x138243(0x355)];return _0x38ea5f['create']({'ciphertext':_0x34de54,'key':_0x28cebd,'iv':_0x3ee712['iv'],'algorithm':_0x334c59,'mode':_0x3ee712[_0x138243(0x180)],'padding':_0x3ee712[_0x138243(0xc8)],'blockSize':_0x334c59['blockSize'],'formatter':_0x23d67c['format']});},'decrypt':function(_0x737e2b,_0x516565,_0x526fab,_0x19cea0){var _0x3e2ba1=_0x46c758;_0x19cea0=this[_0x3e2ba1(0x355)][_0x3e2ba1(0xde)](_0x19cea0),_0x516565=this[_0x3e2ba1(0x194)](_0x516565,_0x19cea0['format']);var _0x2d941d=_0x737e2b[_0x3e2ba1(0x2a0)](_0x526fab,_0x19cea0)[_0x3e2ba1(0x17b)](_0x516565[_0x3e2ba1(0xce)]);return _0x2d941d;},'_parse':function(_0x56f289,_0x2aaa6a){var _0x23c705=_0x46c758;return typeof _0x56f289==_0x23c705(0x1c6)?_0x2aaa6a[_0x23c705(0x92)](_0x56f289,this):_0x56f289;}}),_0x5a3c95=_0x183bd3[_0x46c758(0x27c)]={},_0x5ca7cb=_0x5a3c95[_0x46c758(0x1ba)]={'execute':function(_0x16c5c1,_0x40f6e0,_0x1f845b,_0x38b14f,_0x78b13f){var _0x27e6fd=_0x46c758;if(_0x38b14f||(_0x38b14f=_0x956b8a['random'](0x40/0x8)),_0x78b13f)var _0x34f6fc=_0x28e178['create']({'keySize':_0x40f6e0+_0x1f845b,'hasher':_0x78b13f})[_0x27e6fd(0x14f)](_0x16c5c1,_0x38b14f);else var _0x34f6fc=_0x28e178[_0x27e6fd(0x123)]({'keySize':_0x40f6e0+_0x1f845b})[_0x27e6fd(0x14f)](_0x16c5c1,_0x38b14f);var _0x51a447=_0x956b8a['create'](_0x34f6fc[_0x27e6fd(0x387)][_0x27e6fd(0x2e8)](_0x40f6e0),_0x1f845b*0x4);return _0x34f6fc[_0x27e6fd(0x345)]=_0x40f6e0*0x4,_0x38ea5f[_0x27e6fd(0x123)]({'key':_0x34f6fc,'iv':_0x51a447,'salt':_0x38b14f});}},_0x15537a=_0xce2b98[_0x46c758(0x1a5)]=_0x1b8485[_0x46c758(0xde)]({'cfg':_0x1b8485[_0x46c758(0x355)][_0x46c758(0xde)]({'kdf':_0x5ca7cb}),'encrypt':function(_0x36eba6,_0x243398,_0x1fa760,_0x245204){var _0x17620c=_0x46c758;_0x245204=this['cfg'][_0x17620c(0xde)](_0x245204);var _0x4bf5f8=_0x245204[_0x17620c(0x27c)]['execute'](_0x1fa760,_0x36eba6[_0x17620c(0xea)],_0x36eba6['ivSize'],_0x245204[_0x17620c(0xe7)],_0x245204['hasher']);_0x245204['iv']=_0x4bf5f8['iv'];var _0x2e9f83=_0x1b8485[_0x17620c(0x2c6)][_0x17620c(0x12a)](this,_0x36eba6,_0x243398,_0x4bf5f8['key'],_0x245204);return _0x2e9f83['mixIn'](_0x4bf5f8),_0x2e9f83;},'decrypt':function(_0x52469f,_0x2ee44c,_0x6777fc,_0x28e97d){var _0x3181d2=_0x46c758;_0x28e97d=this[_0x3181d2(0x355)][_0x3181d2(0xde)](_0x28e97d),_0x2ee44c=this[_0x3181d2(0x194)](_0x2ee44c,_0x28e97d[_0x3181d2(0x379)]);var _0x27efc8=_0x28e97d[_0x3181d2(0x27c)]['execute'](_0x6777fc,_0x52469f[_0x3181d2(0xea)],_0x52469f[_0x3181d2(0xec)],_0x2ee44c['salt'],_0x28e97d['hasher']);_0x28e97d['iv']=_0x27efc8['iv'];var _0x4d46ae=_0x1b8485[_0x3181d2(0x2e2)]['call'](this,_0x52469f,_0x2ee44c,_0x27efc8['key'],_0x28e97d);return _0x4d46ae;}});}();}));}(Je)),Je[_0x868665(0x29e)];}var mn=Ve['exports'],ti;function In(){var _0x5b5e54=_0x252583;return ti||(ti=0x1,function(_0x158d57,_0x559af7){(function(_0x444420,_0x11c46a,_0xc302a9){var _0x1c1c6b=_0xfa06;_0x158d57[_0x1c1c6b(0x29e)]=_0x11c46a(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x53936b){var _0x5548d7=_0xfa06;return(function(){var _0x3e6408=_0xfa06,_0x3cee4b=_0x53936b,_0x1b282f=_0x3cee4b[_0x3e6408(0x2cb)],_0x41fc52=_0x1b282f['BlockCipher'],_0x1b8b32=_0x3cee4b[_0x3e6408(0x24a)],_0x42418b=[],_0x25a8f8=[],_0x119a7c=[],_0xc7ca7d=[],_0x36c660=[],_0x3cca9d=[],_0x5aa6e1=[],_0x3052ce=[],_0x13715e=[],_0x539f6c=[];(function(){for(var _0x1e65c0=[],_0x51e452=0x0;_0x51e452<0x100;_0x51e452++)_0x51e452<0x80?_0x1e65c0[_0x51e452]=_0x51e452<<0x1:_0x1e65c0[_0x51e452]=_0x51e452<<0x1^0x11b;for(var _0x45ce12=0x0,_0x5f0457=0x0,_0x51e452=0x0;_0x51e452<0x100;_0x51e452++){var _0x1f59da=_0x5f0457^_0x5f0457<<0x1^_0x5f0457<<0x2^_0x5f0457<<0x3^_0x5f0457<<0x4;_0x1f59da=_0x1f59da>>>0x8^_0x1f59da&0xff^0x63,_0x42418b[_0x45ce12]=_0x1f59da,_0x25a8f8[_0x1f59da]=_0x45ce12;var _0x351209=_0x1e65c0[_0x45ce12],_0x5557ae=_0x1e65c0[_0x351209],_0xdc58ff=_0x1e65c0[_0x5557ae],_0x512fb1=_0x1e65c0[_0x1f59da]*0x101^_0x1f59da*0x1010100;_0x119a7c[_0x45ce12]=_0x512fb1<<0x18|_0x512fb1>>>0x8,_0xc7ca7d[_0x45ce12]=_0x512fb1<<0x10|_0x512fb1>>>0x10,_0x36c660[_0x45ce12]=_0x512fb1<<0x8|_0x512fb1>>>0x18,_0x3cca9d[_0x45ce12]=_0x512fb1;var _0x512fb1=_0xdc58ff*0x1010101^_0x5557ae*0x10001^_0x351209*0x101^_0x45ce12*0x1010100;_0x5aa6e1[_0x1f59da]=_0x512fb1<<0x18|_0x512fb1>>>0x8,_0x3052ce[_0x1f59da]=_0x512fb1<<0x10|_0x512fb1>>>0x10,_0x13715e[_0x1f59da]=_0x512fb1<<0x8|_0x512fb1>>>0x18,_0x539f6c[_0x1f59da]=_0x512fb1,_0x45ce12?(_0x45ce12=_0x351209^_0x1e65c0[_0x1e65c0[_0x1e65c0[_0xdc58ff^_0x351209]]],_0x5f0457^=_0x1e65c0[_0x1e65c0[_0x5f0457]]):_0x45ce12=_0x5f0457=0x1;}}());var _0x5634f7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xe10caf=_0x1b8b32[_0x3e6408(0x165)]=_0x41fc52[_0x3e6408(0xde)]({'_doReset':function(){var _0x339be0=_0x3e6408,_0x1b9e28;if(!(this['_nRounds']&&this[_0x339be0(0x1e3)]===this[_0x339be0(0x2d8)])){for(var _0x97c91a=this[_0x339be0(0x1e3)]=this[_0x339be0(0x2d8)],_0x20955a=_0x97c91a[_0x339be0(0x387)],_0x518105=_0x97c91a[_0x339be0(0x345)]/0x4,_0x4eac6d=this['_nRounds']=_0x518105+0x6,_0x5b3952=(_0x4eac6d+0x1)*0x4,_0x2c31ce=this[_0x339be0(0x20d)]=[],_0x3adedf=0x0;_0x3adedf<_0x5b3952;_0x3adedf++)_0x3adedf<_0x518105?_0x2c31ce[_0x3adedf]=_0x20955a[_0x3adedf]:(_0x1b9e28=_0x2c31ce[_0x3adedf-0x1],_0x3adedf%_0x518105?_0x518105>0x6&&_0x3adedf%_0x518105==0x4&&(_0x1b9e28=_0x42418b[_0x1b9e28>>>0x18]<<0x18|_0x42418b[_0x1b9e28>>>0x10&0xff]<<0x10|_0x42418b[_0x1b9e28>>>0x8&0xff]<<0x8|_0x42418b[_0x1b9e28&0xff]):(_0x1b9e28=_0x1b9e28<<0x8|_0x1b9e28>>>0x18,_0x1b9e28=_0x42418b[_0x1b9e28>>>0x18]<<0x18|_0x42418b[_0x1b9e28>>>0x10&0xff]<<0x10|_0x42418b[_0x1b9e28>>>0x8&0xff]<<0x8|_0x42418b[_0x1b9e28&0xff],_0x1b9e28^=_0x5634f7[_0x3adedf/_0x518105|0x0]<<0x18),_0x2c31ce[_0x3adedf]=_0x2c31ce[_0x3adedf-_0x518105]^_0x1b9e28);for(var _0x45287c=this['_invKeySchedule']=[],_0xc875bd=0x0;_0xc875bd<_0x5b3952;_0xc875bd++){var _0x3adedf=_0x5b3952-_0xc875bd;if(_0xc875bd%0x4)var _0x1b9e28=_0x2c31ce[_0x3adedf];else var _0x1b9e28=_0x2c31ce[_0x3adedf-0x4];_0xc875bd<0x4||_0x3adedf<=0x4?_0x45287c[_0xc875bd]=_0x1b9e28:_0x45287c[_0xc875bd]=_0x5aa6e1[_0x42418b[_0x1b9e28>>>0x18]]^_0x3052ce[_0x42418b[_0x1b9e28>>>0x10&0xff]]^_0x13715e[_0x42418b[_0x1b9e28>>>0x8&0xff]]^_0x539f6c[_0x42418b[_0x1b9e28&0xff]];}}},'encryptBlock':function(_0x558472,_0x7283a6){var _0x42aea2=_0x3e6408;this['_doCryptBlock'](_0x558472,_0x7283a6,this[_0x42aea2(0x20d)],_0x119a7c,_0xc7ca7d,_0x36c660,_0x3cca9d,_0x42418b);},'decryptBlock':function(_0x298070,_0x12e5aa){var _0x2a089e=_0x3e6408,_0x4a45f6=_0x298070[_0x12e5aa+0x1];_0x298070[_0x12e5aa+0x1]=_0x298070[_0x12e5aa+0x3],_0x298070[_0x12e5aa+0x3]=_0x4a45f6,this[_0x2a089e(0x10f)](_0x298070,_0x12e5aa,this[_0x2a089e(0x2fe)],_0x5aa6e1,_0x3052ce,_0x13715e,_0x539f6c,_0x25a8f8);var _0x4a45f6=_0x298070[_0x12e5aa+0x1];_0x298070[_0x12e5aa+0x1]=_0x298070[_0x12e5aa+0x3],_0x298070[_0x12e5aa+0x3]=_0x4a45f6;},'_doCryptBlock':function(_0x194563,_0x1a3f32,_0x1d3aee,_0x4e8a09,_0x2f2670,_0x1d6c67,_0x48fc37,_0x5e7313){var _0xe4d6c2=_0x3e6408;for(var _0x3d0a4a=this[_0xe4d6c2(0x8f)],_0x3d131f=_0x194563[_0x1a3f32]^_0x1d3aee[0x0],_0x148c22=_0x194563[_0x1a3f32+0x1]^_0x1d3aee[0x1],_0x4b9b94=_0x194563[_0x1a3f32+0x2]^_0x1d3aee[0x2],_0x9de305=_0x194563[_0x1a3f32+0x3]^_0x1d3aee[0x3],_0x1d6961=0x4,_0x55da2b=0x1;_0x55da2b<_0x3d0a4a;_0x55da2b++){var _0x554257=_0x4e8a09[_0x3d131f>>>0x18]^_0x2f2670[_0x148c22>>>0x10&0xff]^_0x1d6c67[_0x4b9b94>>>0x8&0xff]^_0x48fc37[_0x9de305&0xff]^_0x1d3aee[_0x1d6961++],_0xaaf1bf=_0x4e8a09[_0x148c22>>>0x18]^_0x2f2670[_0x4b9b94>>>0x10&0xff]^_0x1d6c67[_0x9de305>>>0x8&0xff]^_0x48fc37[_0x3d131f&0xff]^_0x1d3aee[_0x1d6961++],_0x48fab7=_0x4e8a09[_0x4b9b94>>>0x18]^_0x2f2670[_0x9de305>>>0x10&0xff]^_0x1d6c67[_0x3d131f>>>0x8&0xff]^_0x48fc37[_0x148c22&0xff]^_0x1d3aee[_0x1d6961++],_0x45b1c7=_0x4e8a09[_0x9de305>>>0x18]^_0x2f2670[_0x3d131f>>>0x10&0xff]^_0x1d6c67[_0x148c22>>>0x8&0xff]^_0x48fc37[_0x4b9b94&0xff]^_0x1d3aee[_0x1d6961++];_0x3d131f=_0x554257,_0x148c22=_0xaaf1bf,_0x4b9b94=_0x48fab7,_0x9de305=_0x45b1c7;}var _0x554257=(_0x5e7313[_0x3d131f>>>0x18]<<0x18|_0x5e7313[_0x148c22>>>0x10&0xff]<<0x10|_0x5e7313[_0x4b9b94>>>0x8&0xff]<<0x8|_0x5e7313[_0x9de305&0xff])^_0x1d3aee[_0x1d6961++],_0xaaf1bf=(_0x5e7313[_0x148c22>>>0x18]<<0x18|_0x5e7313[_0x4b9b94>>>0x10&0xff]<<0x10|_0x5e7313[_0x9de305>>>0x8&0xff]<<0x8|_0x5e7313[_0x3d131f&0xff])^_0x1d3aee[_0x1d6961++],_0x48fab7=(_0x5e7313[_0x4b9b94>>>0x18]<<0x18|_0x5e7313[_0x9de305>>>0x10&0xff]<<0x10|_0x5e7313[_0x3d131f>>>0x8&0xff]<<0x8|_0x5e7313[_0x148c22&0xff])^_0x1d3aee[_0x1d6961++],_0x45b1c7=(_0x5e7313[_0x9de305>>>0x18]<<0x18|_0x5e7313[_0x3d131f>>>0x10&0xff]<<0x10|_0x5e7313[_0x148c22>>>0x8&0xff]<<0x8|_0x5e7313[_0x4b9b94&0xff])^_0x1d3aee[_0x1d6961++];_0x194563[_0x1a3f32]=_0x554257,_0x194563[_0x1a3f32+0x1]=_0xaaf1bf,_0x194563[_0x1a3f32+0x2]=_0x48fab7,_0x194563[_0x1a3f32+0x3]=_0x45b1c7;},'keySize':0x100/0x20});_0x3cee4b[_0x3e6408(0x165)]=_0x41fc52[_0x3e6408(0x115)](_0xe10caf);}()),_0x53936b[_0x5548d7(0x165)];}));}(Ve)),Ve[_0x5b5e54(0x29e)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe['exports'],si;function Rn(){var _0x4bd3dc=_0x252583;return si||(si=0x1,function(_0x361674,_0x243a59){(function(_0xe56cc8,_0x525789){var _0x38e5cf=_0xfa06;_0x361674[_0x38e5cf(0x29e)]=_0x525789(ie());}(On,function(_0x43bd46){var _0x40896d=_0xfa06;return _0x43bd46['enc'][_0x40896d(0x11f)];}));}(Xe)),Xe[_0x4bd3dc(0x29e)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x252583(0x29e)],ni;function Dn(){return ni||(ni=0x1,function(_0x2be88b,_0x33e534){(function(_0x301e4b,_0x597ce5){var _0xf54880=_0xfa06;_0x2be88b[_0xf54880(0x29e)]=_0x597ce5(ie());}(bn,function(_0x3e996a){var _0x5795a9=_0xfa06;return(function(){var _0x34c928=_0xfa06;if(typeof ArrayBuffer==_0x34c928(0x301)){var _0x5e57fc=_0x3e996a,_0x3eb8d9=_0x5e57fc[_0x34c928(0x2cb)],_0xafad9d=_0x3eb8d9[_0x34c928(0x10b)],_0x5b01b3=_0xafad9d[_0x34c928(0xac)],_0x45fb9=_0xafad9d[_0x34c928(0xac)]=function(_0x23cf2d){var _0x8a5c2a=_0x34c928;if(_0x23cf2d instanceof ArrayBuffer&&(_0x23cf2d=new Uint8Array(_0x23cf2d)),(_0x23cf2d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x23cf2d instanceof Uint8ClampedArray||_0x23cf2d instanceof Int16Array||_0x23cf2d instanceof Uint16Array||_0x23cf2d instanceof Int32Array||_0x23cf2d instanceof Uint32Array||_0x23cf2d instanceof Float32Array||_0x23cf2d instanceof Float64Array)&&(_0x23cf2d=new Uint8Array(_0x23cf2d[_0x8a5c2a(0xaa)],_0x23cf2d[_0x8a5c2a(0x294)],_0x23cf2d[_0x8a5c2a(0x13b)])),_0x23cf2d instanceof Uint8Array){for(var _0x2b5ad4=_0x23cf2d['byteLength'],_0x54e96a=[],_0x30e802=0x0;_0x30e802<_0x2b5ad4;_0x30e802++)_0x54e96a[_0x30e802>>>0x2]|=_0x23cf2d[_0x30e802]<<0x18-_0x30e802%0x4*0x8;_0x5b01b3['call'](this,_0x54e96a,_0x2b5ad4);}else _0x5b01b3[_0x8a5c2a(0x1f5)](this,arguments);};_0x45fb9['prototype']=_0xafad9d;}}()),_0x3e996a[_0x5795a9(0x2cb)][_0x5795a9(0x10b)];}));}(Ze)),Ze['exports'];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x252583(0x29e)],ri;function Pn(){var _0x50fa43=_0x252583;return ri||(ri=0x1,function(_0x2427d6,_0x212ca9){(function(_0x17c01e,_0x5e16eb,_0x53d52b){var _0x13b88f=_0xfa06;_0x2427d6[_0x13b88f(0x29e)]=_0x5e16eb(ie(),Ni());}(An,function(_0xae5e3e){var _0x51b6a6=_0xfa06;return _0xae5e3e[_0x51b6a6(0x351)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0xae5e3e[_0x51b6a6(0x351)][_0x51b6a6(0x34a)];}));}(Qe)),Qe[_0x50fa43(0x29e)];}var wn=Pn();const Mn=$e(wn);function Ln(_0x3da528,_0x5d8fa4){const _0x59a1f8=_0x5d8fa4-_0x3da528['length']%_0x5d8fa4,_0xd7ffe8=String['fromCharCode'](_0x59a1f8)['repeat'](_0x59a1f8);return _0x3da528+_0xd7ffe8;}function xn(_0x4d9949,_0x4048a9){var _0x33aea1=_0x252583;const _0x3cd484=Un[_0x33aea1(0x22d)](0x10),_0x340956=Ln(_0x4d9949,0x10),_0x2cabb5=gn[_0x33aea1(0x2c6)](Nn['parse'](_0x340956),ii[_0x33aea1(0x92)](_0x4048a9),{'iv':_0x3cd484,'padding':Mn});return _0x3cd484[_0x33aea1(0xc5)](_0x2cabb5['ciphertext'])['toString'](ii);}function kn(){var _0x288567=_0x252583;const _0xa9af6f=_0x260407()[_0x288567(0x35d)];if(_0xa9af6f){const _0x29dda5={'time':Math[_0x288567(0x2a2)](Date[_0x288567(0x149)]()/0x3e8),'domain':location[_0x288567(0x98)]};return xn(JSON[_0x288567(0x297)](_0x29dda5),_0xa9af6f);}}var $n=Object[_0x252583(0x2b2)],Hn=(_0x1e7125,_0x1f6996,_0x5906d7,_0x53b48b)=>{var _0x4ff77d=_0x252583;for(var _0x45272b=_0x53b48b>0x1?void 0x0:_0x53b48b?$n(_0x1f6996,_0x5906d7):_0x1f6996,_0x477bff=_0x1e7125[_0x4ff77d(0x286)]-0x1,_0x106574;_0x477bff>=0x0;_0x477bff--)(_0x106574=_0x1e7125[_0x477bff])&&(_0x45272b=_0x106574(_0x45272b)||_0x45272b);return _0x45272b;},Bn=(_0x7eb124,_0x2d07fd)=>(_0x292ee6,_0x3ff2e6)=>_0x2d07fd(_0x292ee6,_0x3ff2e6,_0x7eb124);let at=class{constructor(_0x2e2948){var _0x50f98b=_0x252583;this[_0x50f98b(0x13f)]=_0x2e2948,this[_0x50f98b(0x363)]();}['_initRequestHeader'](){var _0x3168f9=_0x252583;this[_0x3168f9(0x13f)][_0x3168f9(0x1eb)]({'interceptor':(_0x42b5c8,_0x5c3630)=>{var _0x7fbff4=_0x3168f9;const _0x3e0c80=_0x42b5c8['headers'],_0x498813=kn();return _0x498813&&_0x3e0c80[_0x7fbff4(0x1d9)](_0x7fbff4(0xd4),_0x498813),_0x5c3630(_0x42b5c8);}});}};at=Hn([Bn(0x0,_0x37e364(_0x136a2e))],at);var jn=Object[_0x252583(0x2b2)],Fn=(_0x3ccce2,_0x91c304,_0x4cd5d4,_0x2705cf)=>{var _0x2c7a89=_0x252583;for(var _0x37c11f=_0x2705cf>0x1?void 0x0:_0x2705cf?jn(_0x91c304,_0x4cd5d4):_0x91c304,_0xf5c55c=_0x3ccce2[_0x2c7a89(0x286)]-0x1,_0x5815f9;_0xf5c55c>=0x0;_0xf5c55c--)(_0x5815f9=_0x3ccce2[_0xf5c55c])&&(_0x37c11f=_0x5815f9(_0x37c11f)||_0x37c11f);return _0x37c11f;},vt=(_0x2e8d8f,_0x2de3e2)=>(_0x3a035a,_0x4e0567)=>_0x2de3e2(_0x3a035a,_0x4e0567,_0x2e8d8f);let Ot=class extends _0x4669db{constructor(_0xd68824,_0x3de8a7,_0x256a0f){var _0x2670b=_0x252583;super(),D(this,_0x2670b(0x1a1),new _0x24a605(null)),D(this,_0x2670b(0x181),this[_0x2670b(0x1a1)][_0x2670b(0x263)]()),(this[_0x2670b(0x249)]=_0xd68824,this[_0x2670b(0xd5)]=_0x3de8a7,this[_0x2670b(0x2b6)]=_0x256a0f);}async[_0x252583(0xab)](_0x862b75,_0x143147,_0x464170){var _0x2e32bb=_0x252583;this[_0x2e32bb(0x1a1)][_0x2e32bb(0x390)]({'unitId':_0x862b75,'type':_0x143147});let _0x1db232=null;switch(_0x143147){case Q[_0x2e32bb(0xd2)]:{_0x1db232=await this[_0x2e32bb(0xd5)][_0x2e32bb(0x261)](_0x862b75,_0x464170);break;}case Q[_0x2e32bb(0x2e1)]:{_0x1db232=await this['_snapshotService']['loadDoc'](_0x862b75,_0x464170);break;}default:{this[_0x2e32bb(0x249)][_0x2e32bb(0x203)]('[DataLoaderService]',_0x2e32bb(0x1d8));break;}}return _0x1db232;}async[_0x252583(0x139)](_0x1e51bc,_0x2bd391,_0xc04c2f){var _0x275e22=_0x252583,_0x5e5fe4;this[_0x275e22(0x1a1)][_0x275e22(0x390)]({'unitId':_0x1e51bc,'type':_0x2bd391,'subUnitId':_0xc04c2f});let _0x5914d9=0x0;const _0x40259e=await((_0x5e5fe4=this['_localCacheService'])==null?void 0x0:_0x5e5fe4['loadOfflineData'](_0x1e51bc));return _0x40259e&&(_0x40259e[_0x275e22(0x1a2)]||_0x40259e[_0x275e22(0xf6)]['length']!==0x0)&&(_0x5914d9=_0x40259e[_0x275e22(0xfd)]),_0x5914d9===0x0&&this[_0x275e22(0x249)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x275e22(0xab)](_0x1e51bc,_0x2bd391,_0x5914d9);}};Ot=Fn([vt(0x0,_0x4e6565),vt(0x1,_0x37e364(_0x42ea7b)),vt(0x2,_0x27904f(J))],Ot);var Vn=Object[_0x252583(0x2b2)],Gn=(_0x3b581c,_0x49d2f4,_0x52a41c,_0xe73802)=>{var _0x303516=_0x252583;for(var _0x2468b2=_0xe73802>0x1?void 0x0:_0xe73802?Vn(_0x49d2f4,_0x52a41c):_0x49d2f4,_0x572032=_0x3b581c[_0x303516(0x286)]-0x1,_0x422c4f;_0x572032>=0x0;_0x572032--)(_0x422c4f=_0x3b581c[_0x572032])&&(_0x2468b2=_0x422c4f(_0x2468b2)||_0x2468b2);return _0x2468b2;},pt=(_0x142b83,_0x45f70e)=>(_0x434912,_0x333617)=>_0x45f70e(_0x434912,_0x333617,_0x142b83);const Wn=[_0x252583(0x188),_0x252583(0x38f),_0x252583(0x12b),'image/gif',_0x252583(0x186)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x252583(0x32a);let Rt=class{constructor(_0xe4d3a0,_0x321a1e,_0x39a796){var _0x306dae=_0x252583;D(this,_0x306dae(0x31a),0x0),D(this,_0x306dae(0xd6),new _0x3275c1()),D(this,_0x306dae(0x337),this[_0x306dae(0xd6)]),D(this,_0x306dae(0x19a),new Map()),(this[_0x306dae(0x13f)]=_0xe4d3a0,this[_0x306dae(0xca)]=_0x321a1e,this[_0x306dae(0xef)]=_0x39a796);}[_0x252583(0x38e)](_0x2e67e8){var _0x2394ef=_0x252583;this[_0x2394ef(0x31a)]=_0x2e67e8,this[_0x2394ef(0xd6)][_0x2394ef(0x390)](_0x2e67e8);}['getImageSourceCache'](_0x57e060,_0x1e5c77){var _0x5a4018=_0x252583;if(_0x1e5c77===_0x99d61e[_0x5a4018(0x270)]){const _0x3843f0=new Image();return _0x3843f0[_0x5a4018(0x1db)]=_0x57e060,_0x3843f0;}return this['_imageSourceCache'][_0x5a4018(0x1b4)](_0x57e060);}[_0x252583(0x1e5)](_0xfe20c7,_0x172aa6,_0x508e02){var _0xf4fe8c=_0x252583;_0x172aa6===_0x99d61e[_0xf4fe8c(0x270)]||_0x508e02==null||this[_0xf4fe8c(0x19a)][_0xf4fe8c(0x1d9)](_0xfe20c7,_0x508e02);}async[_0x252583(0x2e9)](_0x346aa6){var _0x34f3f7=_0x252583;try{const _0x7fa5bb=this[_0x34f3f7(0x17a)](this[_0x34f3f7(0x208)](),''+_0x346aa6),_0x5a17da=(await this['_httpService'][_0x34f3f7(0x1b4)](_0x7fa5bb))['body'];if(_0x5a17da['error']&&_0x5a17da['error'][_0x34f3f7(0x293)]===vi['OK']){const _0x555499=new URL(_0x5a17da[_0x34f3f7(0x2b0)],this[_0x34f3f7(0x36c)]())[_0x34f3f7(0x14e)]();return Promise['resolve'](_0x555499);}return Promise['reject'](_0x5a17da['error']);}catch(_0x5ce436){return Promise[_0x34f3f7(0x2ae)](_0x5ce436);}}async[_0x252583(0x220)](_0x2d8046){var _0x2194f9=_0x252583;let _0x59aeb4='';if(!Wn['includes'](_0x2d8046['type']))return this[_0x2194f9(0x247)](),Promise[_0x2194f9(0x2ae)](new Error(_0x68f60e[_0x2194f9(0x244)]));if(_0x2d8046['size']>Yn)return this[_0x2194f9(0x247)](),Promise[_0x2194f9(0x2ae)](new Error(_0x68f60e[_0x2194f9(0x101)]));try{const _0x4bb3fe=new FormData();_0x4bb3fe[_0x2194f9(0x2a5)](_0x2194f9(0x324),_0x2d8046);const _0x25ed80=this[_0x2194f9(0xef)]['getFocusedUnit'](),_0x2b27d9=_0x25ed80==null?void 0x0:_0x25ed80['getUnitId']();if(!_0x2b27d9)throw new Error(_0x2194f9(0x1f3));const _0x5a082a=this[_0x2194f9(0x305)]()+_0x2194f9(0x359)+_0x2d8046[_0x2194f9(0x33b)][_0x2194f9(0x14e)]()+_0x2194f9(0x254)+pi[_0x2194f9(0x129)]+_0x2194f9(0x166)+encodeURIComponent(_0x2b27d9),_0x371d73={'body':_0x4bb3fe},_0x2677d6=(await this[_0x2194f9(0x13f)][_0x2194f9(0x18c)](_0x5a082a,_0x371d73))[_0x2194f9(0x248)];if(typeof _0x2677d6[_0x2194f9(0x356)]!='string')return this[_0x2194f9(0x247)](),Promise['reject'](new Error(_0x68f60e[_0x2194f9(0x1cb)]));_0x59aeb4=_0x2677d6[_0x2194f9(0x356)];}catch{return this[_0x2194f9(0x247)](),Promise[_0x2194f9(0x2ae)](new Error(_0x68f60e['ERROR_IMAGE']));}return new Promise((_0x3b0291,_0x4ff5be)=>{var _0x3dc67f=_0x2194f9;const _0x173249=new FileReader();_0x173249[_0x3dc67f(0x176)](_0x2d8046),_0x173249['onload']=_0x14182e=>{var _0x19f3bc=_0x3dc67f,_0x31df40;const _0x3f040c=(_0x31df40=_0x14182e['target'])==null?void 0x0:_0x31df40[_0x19f3bc(0x15d)];if(_0x3f040c==null){this[_0x19f3bc(0x247)](),_0x4ff5be(new Error(_0x68f60e['ERROR_IMAGE']));return;}const _0x4ae7e2=_0x3e9ad7(0x6);_0x3b0291({'imageId':_0x4ae7e2,'imageSourceType':_0x99d61e[_0x19f3bc(0x1da)],'source':_0x59aeb4,'base64Cache':_0x3f040c,'status':_0x68f60e[_0x19f3bc(0x398)]}),this[_0x19f3bc(0x247)]();};});}[_0x252583(0x305)](){var _0x40def0=_0x252583,_0x5ecf80;const _0x4bdaeb=this['_configService'][_0x40def0(0x2e4)](K);return(_0x5ecf80=_0x4bdaeb==null?void 0x0:_0x4bdaeb['uploadFileServerUrl'])!=null?_0x5ecf80:Kn;}[_0x252583(0x208)](){var _0x3bd36b=_0x252583,_0x3afe13;const _0xb64c83=this[_0x3bd36b(0xca)][_0x3bd36b(0x2e4)](K);return(_0x3afe13=_0xb64c83==null?void 0x0:_0xb64c83[_0x3bd36b(0x378)])!=null?_0x3afe13:qn;}[_0x252583(0x36c)](){var _0x5a4231=_0x252583,_0x5ded2f;const _0x4e5756=this[_0x5a4231(0xca)][_0x5a4231(0x2e4)](K);return(_0x5ded2f=_0x4e5756==null?void 0x0:_0x4e5756[_0x5a4231(0x2bf)])!=null?_0x5ded2f:location[_0x5a4231(0x396)];}['_replaceFileID'](_0x30ca6b,_0x48c8a1){var _0x1cefd2=_0x252583;return _0x30ca6b[_0x1cefd2(0x38b)](_0x1cefd2(0x33f),_0x48c8a1);}[_0x252583(0x247)](){var _0x29c2ea=_0x252583;this['_waitCount']-=0x1,this[_0x29c2ea(0xd6)]['next'](this[_0x29c2ea(0x31a)]);}};Rt=Gn([pt(0x0,_0x37e364(_0x136a2e)),pt(0x1,_0x1e7d16),pt(0x2,_0x37e364(_0x2b2ac3))],Rt);var zn=Object[_0x252583(0x2b2)],Jn=(_0x5b6477,_0x106621,_0x55fe8b,_0x26d135)=>{var _0x46a528=_0x252583;for(var _0x1d9622=_0x26d135>0x1?void 0x0:_0x26d135?zn(_0x106621,_0x55fe8b):_0x106621,_0x5b1076=_0x5b6477[_0x46a528(0x286)]-0x1,_0x2f7ba9;_0x5b1076>=0x0;_0x5b1076--)(_0x2f7ba9=_0x5b6477[_0x5b1076])&&(_0x1d9622=_0x2f7ba9(_0x1d9622)||_0x1d9622);return _0x1d9622;},ai=(_0x540082,_0x2dba77)=>(_0x52cefa,_0x5916f3)=>_0x2dba77(_0x52cefa,_0x5916f3,_0x540082);const Xn=_0x252583(0x1b1);let Ct=class{constructor(_0xfaeb0f,_0x2b08b2){var _0x2ba7c1=_0x252583;this[_0x2ba7c1(0xca)]=_0xfaeb0f,this[_0x2ba7c1(0x30a)]=_0x2b08b2;}[_0x252583(0xc7)](){var _0x35028e=_0x252583,_0x4f43f1;const _0x599e5c=this[_0x35028e(0xca)][_0x35028e(0x2e4)](K);return(_0x4f43f1=_0x599e5c==null?void 0x0:_0x599e5c[_0x35028e(0x1ac)])!=null?_0x4f43f1:Xn;}async[_0x252583(0x193)](_0x52c5a1){var _0x2741c0=_0x252583;const _0x13bf37=this[_0x2741c0(0xc7)]()+'/collaborator';return{'list':[{'title':_0x2741c0(0x335),'mentions':(await this['_HTTPService'][_0x2741c0(0x1b4)](_0x13bf37,{'params':{'objectID':_0x52c5a1[_0x2741c0(0x228)],'unitID':_0x52c5a1[_0x2741c0(0x228)]}}))['body']['collaborators'][_0x2741c0(0x1fa)](_0x40ce04=>({'objectId':_0x40ce04['id'],'name':_0x40ce04[_0x2741c0(0x30c)]['name'],'metadata':{'icon':_0x40ce04[_0x2741c0(0x30c)]['avatar']},'label':_0x40ce04[_0x2741c0(0x30c)][_0x2741c0(0x367)],'objectType':_0x5cc25d[_0x2741c0(0xf5)]})),'metadata':{},'type':_0x5cc25d[_0x2741c0(0xf5)]}]};}};Ct=Jn([ai(0x0,_0x37e364(_0x1e7d16)),ai(0x1,_0x37e364(_0x136a2e))],Ct);var Zn=Object[_0x252583(0x2b2)],Qn=(_0x47946c,_0x54b2af,_0x52a5ce,_0x43d9f3)=>{for(var _0x27a160=_0x43d9f3>0x1?void 0x0:_0x43d9f3?Zn(_0x54b2af,_0x52a5ce):_0x54b2af,_0x568134=_0x47946c['length']-0x1,_0x456037;_0x568134>=0x0;_0x568134--)(_0x456037=_0x47946c[_0x568134])&&(_0x27a160=_0x456037(_0x27a160)||_0x27a160);return _0x27a160;},Ue=(_0x5dd30d,_0x2000a9)=>(_0x614dc,_0x2ad412)=>_0x2000a9(_0x614dc,_0x2ad412,_0x5dd30d);let ot=class extends _0x4669db{constructor(_0x339ece,_0x105c1b,_0xb22745,_0xe21965,_0x44d7fb){var _0x5f0006=_0x252583;super(),this['_injector']=_0x339ece,this[_0x5f0006(0xef)]=_0x105c1b,this[_0x5f0006(0x391)]=_0xb22745,this[_0x5f0006(0x1bb)]=_0xe21965,this[_0x5f0006(0x25a)]=_0x44d7fb,this[_0x5f0006(0xf0)](),this[_0x5f0006(0xda)]();}['_initCloseConn'](){var _0x51bff6=_0x252583;const _0x195078=async _0x4d1654=>{var _0x5438e3=_0xfa06;(await this['_collaborationSessionService'][_0x5438e3(0x96)](_0x4d1654))[_0x5438e3(0x2b3)][_0x5438e3(0x33e)](_0x49c8af(_0x5b3b4f=>_0x5b3b4f[_0x5438e3(0x146)]===_0x103a4d[_0x5438e3(0x13c)]),_0x56ce3b(this[_0x5438e3(0x310)]))[_0x5438e3(0x13e)](_0x404e9f=>{var _0x24852d=_0x5438e3;const _0x2de94f=_0x404e9f,{reason:_0x40521d}=_0x2de94f['data'];this['_collaborationUIEventService'][_0x24852d(0x16a)]({'id':re[_0x24852d(0xbf)],'data':_0x40521d}),this['_permissionService']['updatePermissionPoint'](new _0x266058(_0x4d1654)['id'],!0x1),this[_0x24852d(0x1bb)][_0x24852d(0x26e)](_0x4d1654);});};_0x4732bc(this[_0x51bff6(0xef)][_0x51bff6(0x1e9)](_0x11f8c5[_0x51bff6(0xd2)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11f8c5[_0x51bff6(0x2e1)]))[_0x51bff6(0x33e)](_0x484c82(_0x15728d=>_0x15728d['getUnitId']()),_0x49c8af(_0x4cbdec=>!_0x27d915(_0x4cbdec)),_0x56ce3b(this[_0x51bff6(0x310)]))[_0x51bff6(0x13e)](_0x237e62=>{_0x195078(_0x237e62);});}[_0x252583(0xf0)](){var _0x4446a6=_0x252583;const _0x59b07d=async _0x256d1e=>{var _0x186f18=_0xfa06;const _0x52863d=await this[_0x186f18(0x1bb)][_0x186f18(0x96)](_0x256d1e),_0x2c2390=this[_0x186f18(0x231)][_0x186f18(0x1b4)](_0xb50de4);_0x52863d[_0x186f18(0x2b3)][_0x186f18(0x33e)](_0x49c8af(_0x1a2b8b=>_0x1a2b8b[_0x186f18(0x146)]===_0x103a4d[_0x186f18(0x344)]),_0x56ce3b(this['dispose$']))['subscribe'](_0x531fa1=>{var _0x489a49=_0x186f18;const _0x2c19a0=_0x531fa1,{objectId:_0x1cff44}=_0x2c19a0[_0x489a49(0x368)];_0x1cff44===_0x256d1e?_0x2c2390[_0x489a49(0x338)](_0x256d1e):_0x2c2390[_0x489a49(0x14a)](_0x256d1e,_0x1cff44);});};_0x4732bc(this[_0x4446a6(0xef)][_0x4446a6(0x1e9)](_0x11f8c5['UNIVER_SHEET']))[_0x4446a6(0x33e)](_0x484c82(_0x37f09e=>_0x37f09e[_0x4446a6(0x399)]()),_0x49c8af(_0x5efeb3=>!_0x27d915(_0x5efeb3)),_0x56ce3b(this['dispose$']))[_0x4446a6(0x13e)](_0x41ccd6=>{_0x59b07d(_0x41ccd6);});}};function _0xfa06(_0x307a9d,_0x5c36ae){var _0x1227ab=_0x1227();return _0xfa06=function(_0xfa0612,_0x46093f){_0xfa0612=_0xfa0612-0x8f;var _0x5ded19=_0x1227ab[_0xfa0612];return _0x5ded19;},_0xfa06(_0x307a9d,_0x5c36ae);}ot=Qn([Ue(0x0,_0x37e364(_0x36e3d8)),Ue(0x1,_0x2b2ac3),Ue(0x2,_0x7e9663),Ue(0x3,_0x37e364(we)),Ue(0x4,_0x37e364(ve))],ot);var er=Object[_0x252583(0x2b2)],tr=(_0x192b95,_0x4558bf,_0x495f14,_0x2154a4)=>{var _0x5e914c=_0x252583;for(var _0x403391=_0x2154a4>0x1?void 0x0:_0x2154a4?er(_0x4558bf,_0x495f14):_0x4558bf,_0x290797=_0x192b95[_0x5e914c(0x286)]-0x1,_0x56f318;_0x290797>=0x0;_0x290797--)(_0x56f318=_0x192b95[_0x290797])&&(_0x403391=_0x56f318(_0x403391)||_0x403391);return _0x403391;},oi=(_0x8185c1,_0x582d33)=>(_0x16fa9,_0x177cd9)=>_0x582d33(_0x16fa9,_0x177cd9,_0x8185c1);let Nt=class{constructor(_0x4ad474,_0x5350ed){var _0x241d97=_0x252583;this[_0x241d97(0xca)]=_0x4ad474,this[_0x241d97(0x13f)]=_0x5350ed;}async[_0x252583(0x291)](_0x56668c,_0x14a82a){var _0x4f2378=_0x252583,_0x3f976f;const {unitID:_0x3d0a7b,type:_0x3033cb,revision:_0xf3594=0x0}=_0x14a82a,_0x55c6ff=this[_0x4f2378(0x31f)]()+'/'+_0x3033cb+'/unit/'+_0x3d0a7b+'/rev/'+_0xf3594,_0x5a4590=(await this[_0x4f2378(0x13f)][_0x4f2378(0x1b4)](_0x55c6ff))[_0x4f2378(0x248)],_0x41a1e0=(_0x3f976f=_0x5a4590[_0x4f2378(0x172)])==null?void 0x0:_0x3f976f[_0x4f2378(0xbe)];if(_0x41a1e0){const _0x4caddd=_0x41a1e0==null?void 0x0:_0x41a1e0[_0x4f2378(0x309)],_0x5697bc=_0x14730c['encode'](_0x342fe8(_0x4caddd));_0x41a1e0[_0x4f2378(0x309)]=_0x5697bc,Object[_0x4f2378(0x19d)](_0x41a1e0[_0x4f2378(0x32f)])[_0x4f2378(0x104)](([,_0x45a572])=>{var _0x534acf=_0x4f2378;const _0x53cbf8=_0x45a572[_0x534acf(0x309)],_0x5673ba=_0x14730c['encode'](_0x342fe8(_0x53cbf8));_0x45a572['originalMeta']=_0x5673ba;});}return _0x5a4590;}async['getSheetBlock'](_0x4f08ec,_0x30bbb9){var _0x3dcef3=_0x252583;const {unitID:_0x44840f,type:_0x5f1a3b,blockID:_0x38a633}=_0x30bbb9,_0x313ce8=this[_0x3dcef3(0x1bf)]()+'/'+_0x5f1a3b+'/unit/'+_0x44840f+_0x3dcef3(0x319)+_0x38a633;return(await this[_0x3dcef3(0x13f)][_0x3dcef3(0x1b4)](_0x313ce8))[_0x3dcef3(0x248)];}async[_0x252583(0x321)](_0x123c97,_0x21afa0){var _0xfd16b9=_0x252583;const {unitID:_0x35fe11,type:_0x308f1d,blockID:_0x459451}=_0x21afa0,_0x2b5c6c=this[_0xfd16b9(0x1bf)]()+'/block/'+_0x308f1d+_0xfd16b9(0x1ab)+_0x35fe11+_0xfd16b9(0x319)+_0x459451;return(await this[_0xfd16b9(0x13f)][_0xfd16b9(0x1b4)](_0x2b5c6c))[_0xfd16b9(0x248)];}async[_0x252583(0x292)](_0x228b89,_0x7de9f3){var _0x4f76a3=_0x252583;const {unitID:_0x14d28c,type:_0x5c4fb5,from:_0x416470,to:_0x2d4d9b}=_0x7de9f3,_0x6a871e=this[_0x4f76a3(0x1bf)]()+'/'+_0x5c4fb5+'/unit/'+_0x14d28c+'/fetchmissing?from='+_0x416470+'&to='+_0x2d4d9b;return(await this['_httpService'][_0x4f76a3(0x1b4)](_0x6a871e))['body'];}['getSnapshotAPIPath'](){var _0x27807f=_0x252583,_0x5adf71;return(_0x5adf71=this[_0x27807f(0xca)][_0x27807f(0x2e4)](vs))!=null?_0x5adf71:this[_0x27807f(0x1bf)]();}[_0x252583(0x1bf)](){var _0xb4f494=_0x252583,_0x446a47;const _0x2ed025=this[_0xb4f494(0xca)][_0xb4f494(0x2e4)](K);return(_0x446a47=_0x2ed025==null?void 0x0:_0x2ed025[_0xb4f494(0x364)])!=null?_0x446a47:fs;}async[_0x252583(0xf1)](_0x38999b,_0x527b02){var _0x26cbae=_0x252583;const _0x62ab1f=_0x26cbae(0x196)+_0x527b02['type']+_0x26cbae(0x1ab)+_0x527b02[_0x26cbae(0x1f1)]+_0x26cbae(0x25c);return(await this[_0x26cbae(0x13f)]['get'](_0x62ab1f,{'params':{'resourceId':JSON['stringify'](_0x527b02['resourceIDs'])}}))['body'];}[_0x252583(0x2d7)](){var _0x4fa6cc=_0x252583;throw new Error(_0x4fa6cc(0x278));}[_0x252583(0x226)](){var _0x50169a=_0x252583;throw new Error(_0x50169a(0x278));}['saveSheetBlock'](){var _0x54b4f1=_0x252583;throw new Error(_0x54b4f1(0x278));}[_0x252583(0xb7)](){var _0x153903=_0x252583;throw new Error(_0x153903(0x278));}[_0x252583(0x373)](){var _0x843813=_0x252583;throw new Error(_0x843813(0x278));}[_0x252583(0xe5)](){var _0x277a21=_0x252583;throw new Error(_0x277a21(0x278));}};Nt=tr([oi(0x0,_0x1e7d16),oi(0x1,_0x37e364(_0x136a2e))],Nt);var ir=Object[_0x252583(0x2b2)],sr=(_0x130a0f,_0x4c1e15,_0x3ef9e1,_0x5bb17c)=>{var _0x40c848=_0x252583;for(var _0x32131f=_0x5bb17c>0x1?void 0x0:_0x5bb17c?ir(_0x4c1e15,_0x3ef9e1):_0x4c1e15,_0x5dd3aa=_0x130a0f[_0x40c848(0x286)]-0x1,_0x53e6e4;_0x5dd3aa>=0x0;_0x5dd3aa--)(_0x53e6e4=_0x130a0f[_0x5dd3aa])&&(_0x32131f=_0x53e6e4(_0x32131f)||_0x32131f);return _0x32131f;},Ae=(_0x6f2dc0,_0x4a665e)=>(_0x43f679,_0x5c434e)=>_0x4a665e(_0x43f679,_0x5c434e,_0x6f2dc0);let bt=class extends _0x19516f{constructor(_0x36b8fc,_0x534cd1,_0x25d926,_0x125509,_0x37d325){var _0x10f06c=_0x252583;super(_0x36b8fc,_0x534cd1,_0x25d926),this[_0x10f06c(0x2b7)]=_0x125509,this['_logService']=_0x37d325;}[_0x252583(0x15b)](_0x5ea524,_0x9a45f){var _0x355d93=_0x252583;const _0xff8621=this[_0x355d93(0x158)](_0x5ea524);if(_0xff8621)try{const _0x6874b=this[_0x355d93(0x1f0)](_0xff8621,_0x9a45f);this[_0x355d93(0x110)](_0x5ea524,_0x6874b);}catch(_0x13fb59){this[_0x355d93(0x249)]['error'](_0x355d93(0x218),_0x13fb59),this['_clearUndo'](_0x5ea524);}const _0x1e5877=this[_0x355d93(0x375)](_0x5ea524);if(_0x1e5877)try{const _0x32729e=this[_0x355d93(0x1f0)](_0x1e5877,_0x9a45f);this[_0x355d93(0x1fc)](_0x5ea524,_0x32729e);}catch(_0x496dd6){this[_0x355d93(0x249)][_0x355d93(0x203)](_0x496dd6),this[_0x355d93(0x15e)](_0x5ea524);}}['_clearUndo'](_0xaa9e50){const _0x3f0566=this['_getUndoStack'](_0xaa9e50);_0x3f0566&&(_0x3f0566['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x5c4d44){var _0x5676d3=_0x252583;const _0x15a538=this[_0x5676d3(0x375)](_0x5c4d44);_0x15a538&&(_0x15a538['length']=0x0,this[_0x5676d3(0x20f)]());}[_0x252583(0x110)](_0x1e4d00,_0x2d75fb){var _0x506d2e=_0x252583;this[_0x506d2e(0x334)]['set'](_0x1e4d00,_0x2d75fb),this[_0x506d2e(0x20f)]();}[_0x252583(0x1fc)](_0x1a378f,_0x12aa53){var _0x5a24b7=_0x252583;this['_redoStacks'][_0x5a24b7(0x1d9)](_0x1a378f,_0x12aa53),this[_0x5a24b7(0x20f)]();}[_0x252583(0x1f0)](_0x462c65,_0x1ccf61){var _0x416b46=_0x252583;const _0x4fd88d=[];let _0x114185=_0x1ccf61,_0x2bcb21=_0x1ccf61;for(let _0xeb6870=_0x462c65['length']-0x1;_0xeb6870>=0x0;_0xeb6870--){const {unitID:_0x276142,undoMutations:_0x357e6f,redoMutations:_0x1ba70a}=_0x462c65[_0xeb6870],_0x3d82b9=this[_0x416b46(0x2b7)][_0x416b46(0x285)](_0x114185,_0x357e6f),_0x14aa48=this[_0x416b46(0x2b7)]['transformMutationsWithChangeset'](_0x2bcb21,_0x1ba70a);if(_0x3d0281(_0x3d82b9)||_0x3d0281(_0x14aa48)){this[_0x416b46(0x249)][_0x416b46(0x203)](_0x416b46(0x218),_0x416b46(0x30e),_0x3d82b9,_0x14aa48);break;}_0x114185=_0x3d82b9[_0x416b46(0x1b7)],_0x2bcb21=_0x14aa48['c1Prime'],_0x4fd88d[_0x416b46(0x36e)]({'unitID':_0x276142,'undoMutations':_0x3d82b9[_0x416b46(0x307)],'redoMutations':_0x14aa48[_0x416b46(0x307)]});}return _0x4fd88d[_0x416b46(0x381)]();}};bt=sr([Ae(0x0,_0x2b2ac3),Ae(0x1,_0x1eb17c),Ae(0x2,_0x515069),Ae(0x3,_0xeb3de5),Ae(0x4,_0x4e6565)],bt);var nr=Object[_0x252583(0x31e)],rr=Object[_0x252583(0x2b2)],ar=(_0x2cc332,_0x2c86a5,_0x4341f5)=>_0x2c86a5 in _0x2cc332?nr(_0x2cc332,_0x2c86a5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4341f5}):_0x2cc332[_0x2c86a5]=_0x4341f5,or=(_0x23d182,_0x153f4f,_0x46b82d,_0x2c5556)=>{var _0x51c47f=_0x252583;for(var _0x238160=_0x2c5556>0x1?void 0x0:_0x2c5556?rr(_0x153f4f,_0x46b82d):_0x153f4f,_0x27106a=_0x23d182[_0x51c47f(0x286)]-0x1,_0x5e9b95;_0x27106a>=0x0;_0x27106a--)(_0x5e9b95=_0x23d182[_0x27106a])&&(_0x238160=_0x5e9b95(_0x238160)||_0x238160);return _0x238160;},Et=(_0xc7ed68,_0x504670)=>(_0x3dd7a4,_0x3ee8e1)=>_0x504670(_0x3dd7a4,_0x3ee8e1,_0xc7ed68),cr=(_0x390e4a,_0x525d40,_0x1e04ec)=>ar(_0x390e4a,_0x525d40+'',_0x1e04ec);const _r='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x5382b7{constructor(_0x50941d,_0x31bb60,_0x4e563e,_0x419172){var _0x1b62bc=_0x252583;super(),D(this,'_config'),(this[_0x1b62bc(0x249)]=_0x31bb60,this[_0x1b62bc(0x231)]=_0x4e563e,this[_0x1b62bc(0xca)]=_0x419172);const {..._0x3670b2}=_0x1663db({},Ls,_0x50941d);if(!_0x3670b2[_0x1b62bc(0x265)])throw new Error(_0x1b62bc(0x27d));this[_0x1b62bc(0x1f8)]=_0x3670b2,this['_configService'][_0x1b62bc(0x1fd)](K,_0x3670b2);}[_0x252583(0x300)](){var _0x31b6b0=_0x252583;this[_0x31b6b0(0x1cf)](),this[_0x31b6b0(0x22e)]();}[_0x252583(0x1cf)](){var _0x3a6b8a=_0x252583,_0x207262,_0x433d0;this[_0x3a6b8a(0x231)][_0x3a6b8a(0x1b5)](_0x32e3a9)&&this[_0x3a6b8a(0x249)][_0x3a6b8a(0x203)]('[UniverCollaborationClientPlugin]',_0x3a6b8a(0x119));const _0x5e1bef=_0x5cca2a([[_0x32e3a9,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x3a6b8a(0x1f8)][_0x3a6b8a(0x265)]}],[_0x3dc050,{'useClass':Nt}],[_0x651ea6,{'useClass':Tt}],[_0x465a77,{'useClass':Rt}],[_0x24644a,{'useClass':Ct}],[nt],[gt]],(_0x207262=this[_0x3a6b8a(0x1f8)])==null?void 0x0:_0x207262['override']);if(!((_0x433d0=this[_0x3a6b8a(0x1f8)])!=null&&_0x433d0['enableSingleActiveInstanceLock'])){const _0x2bcdde=_0x5e1bef['findIndex'](([_0x400c77])=>_0x400c77===_t);_0x2bcdde!==-0x1&&_0x5e1bef['splice'](_0x2bcdde,0x1);}_0x18faf7(this[_0x3a6b8a(0x231)],_0x5e1bef);}['_initDependencies'](){var _0x57a4f2=_0x252583,_0x174907,_0x20f1db,_0x46bc98;this[_0x57a4f2(0x231)][_0x57a4f2(0x1b4)](_0x136a2e)[_0x57a4f2(0x1eb)]({'priority':0x14,'interceptor':_0x156178({'maxParallel':0x6})}),(_0x174907=this[_0x57a4f2(0x1f8)])!=null&&_0x174907[_0x57a4f2(0xd7)]||(_0x20f1db=this[_0x57a4f2(0x231)][_0x57a4f2(0x1b4)](J,_0x45eab8[_0x57a4f2(0x264)]))==null||_0x20f1db['disableLocalCache'](),(_0x46bc98=this[_0x57a4f2(0x1f8)])!=null&&_0x46bc98['enableAuthServer']&&_0x230ed0(this['_injector'],[[rt]]),_0x230ed0(this['_injector'],[[at],[nt],[ot]]);}};cr(Dt,_0x252583(0x35f),_r),Dt=or([_0x1c42c0(_0x378077,_0x292878),Et(0x1,_0x4e6565),Et(0x2,_0x37e364(_0x36e3d8)),Et(0x3,_0x1e7d16)],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,Wt 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,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr 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,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr 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,Nr as getLocalCacheKey,Vs as serializeCombRequest};