@univerjs-pro/collaboration-client 0.10.13-nightly.202510290902 → 0.10.14-nightly.202511031023

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1e67f1=_0x51b2;(function(_0x1dd020,_0x305351){var _0x3a2c03=_0x51b2,_0x2ead19=_0x1dd020();while(!![]){try{var _0x5306df=-parseInt(_0x3a2c03(0x23a))/0x1*(parseInt(_0x3a2c03(0x1ef))/0x2)+-parseInt(_0x3a2c03(0x2cf))/0x3+-parseInt(_0x3a2c03(0x3ff))/0x4+-parseInt(_0x3a2c03(0x1c9))/0x5*(-parseInt(_0x3a2c03(0x33e))/0x6)+-parseInt(_0x3a2c03(0x463))/0x7*(parseInt(_0x3a2c03(0x2ff))/0x8)+-parseInt(_0x3a2c03(0x3f4))/0x9*(parseInt(_0x3a2c03(0x2a7))/0xa)+parseInt(_0x3a2c03(0x24e))/0xb;if(_0x5306df===_0x305351)break;else _0x2ead19['push'](_0x2ead19['shift']());}catch(_0x30a0a3){_0x2ead19['push'](_0x2ead19['shift']());}}}(_0x2daf,0xd744f));var bi=Object[_0x1e67f1(0x425)],Di=(_0x294d80,_0xcb2431,_0x2188ba)=>_0xcb2431 in _0x294d80?bi(_0x294d80,_0xcb2431,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2188ba}):_0x294d80[_0xcb2431]=_0x2188ba,D=(_0x473db0,_0x360201,_0x40e64e)=>Di(_0x473db0,typeof _0x360201!=_0x1e67f1(0x178)?_0x360201+'':_0x360201,_0x40e64e);import{CollaborationEvent as _0x2764d9,ITransformService as _0x311a8a,isTransformMutationsWithChangesetSuccess as _0x3b9868,mapDocumentTypeToUniverType as _0x2554c7,RevisionService as _0x6c1f9a,isTransformChangesetsSuccess as _0x4e6bf4,CompressMutationService as _0x47d6c2,parseProtocolChangeset as _0xbd534,uuidv4 as _0x3c5aa4,ISnapshotServerService as _0x5e7452,parseChangesetToProtocol as _0x3ca442,SnapshotService as _0x5b0eb9,textEncoder as _0x4b419d,b64DecodeUnicode as _0x5587f6,isTransformMutationsWithChangesetFailure as _0x402dff,UniverCollaborationPlugin as _0x36cc47}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x524058,Inject as _0x132dee,UserManagerService as _0x7f40cd,Disposable as _0x262184,UniverInstanceType as _0x34e32d,ILogService as _0x34eeab,IConfigService as _0x3ba963,Optional as _0x12e690,RxDisposable as _0xe931df,createIdentifier as _0x46cda0,Injector as _0xe963d,Tools as _0x28aa01,Rectangle as _0x5a9536,ICommandService as _0x31fd08,JSONX as _0x6cf46a,CommandType as _0x4c8355,IUndoRedoService as _0x442fbd,IPermissionService as _0x247d04,LocaleService as _0x259b7b,sequenceExecute as _0xcbb0de,toDisposable as _0x313e94,DisposableCollection as _0x127bb0,Workbook as _0x3bd9c3,generateRandomId as _0x2d653e,MentionType as _0x254eab,isInternalEditorID as _0x5e00a6,LocalUndoRedoService as _0x2e9704,IContextService as _0x44015a,DependentOn as _0x4a6512,Plugin as _0x5b5eed,merge as _0x3eb153,mergeOverrideWithDependencies as _0x124570,IAuthzIoService as _0x361318,IMentionIOService as _0x475b3c,registerDependencies as _0x3be976,Quantity as _0x455909,touchDependencies as _0x46e684}from'@univerjs/core';import{RichTextEditingMutation as _0x433601}from'@univerjs/docs';import{SheetsSelectionsService as _0x52fd9d,SetSelectionsOperation as _0x387b7e,InsertSheetMutation as _0x5f5851,EmptyMutation as _0x3628b2,WorkbookEditablePermission as _0x2cd5ad,SheetPermissionInitController as _0x40a89b}from'@univerjs/sheets';import{Subject as _0x3e44be,merge as _0x5c5362,of as _0x2dc7ce,BehaviorSubject as _0x232913,takeUntil as _0xc7ae25,ReplaySubject as _0xd3d506,take as _0x93de05,map as _0x716d2f,shareReplay as _0x142de6,firstValueFrom as _0x520e99,concatMap as _0x23b158}from'rxjs';import{ITelemetryService as _0x1aadf9}from'@univerjs/telemetry';import{map as _0x1b66cb,take as _0x2d8a7f,filter as _0xab1ec3,delay as _0x45e955,takeUntil as _0x30d3cd}from'rxjs/operators';import{HTTPService as _0x179170,ISocketService as _0x283d6c,MergeInterceptorFactory as _0x494866,HTTPRequest as _0x3b13f8,UniverNetworkPlugin as _0x55fb6c,ThresholdInterceptorFactory as _0x7cea90}from'@univerjs/network';import{ImageSourceType as _0x4ae16b,ImageUploadStatusType as _0x5ec618,IImageIoService as _0x53d073}from'@univerjs/drawing';import{getGlobalObject as _0x4d676f}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x1e67f1(0x2f5),ps=0x7d0,Es=_0x1e67f1(0x3dc),gr=_0x1e67f1(0x280),ms=_0x1e67f1(0x42b),Is=0x7530,di=_0x1e67f1(0x3b1),fi=0x4e20,Ss=0x4e20,gs=_0x1e67f1(0x470),Ts=0x3,Tr=_0x1e67f1(0x1d4),Or=0x3e8,Os='/universer-api/comb',Rs=_0x1e67f1(0x2d9),Rr=_0x1e67f1(0x3d0),Cr=_0x1e67f1(0x375);var vi=(_0x9001a7=>(_0x9001a7[_0x9001a7['UNDEFINED']=0x0]=_0x1e67f1(0x39f),_0x9001a7[_0x9001a7['OK']=0x1]='OK',_0x9001a7[_0x9001a7[_0x1e67f1(0x1d5)]=0x2]=_0x1e67f1(0x1d5),_0x9001a7[_0x9001a7['PERMISSION_DENIED']=0x3]=_0x1e67f1(0x30e),_0x9001a7[_0x9001a7[_0x1e67f1(0x3aa)]=0x4]=_0x1e67f1(0x3aa),_0x9001a7[_0x9001a7[_0x1e67f1(0x407)]=0x5]=_0x1e67f1(0x407),_0x9001a7[_0x9001a7[_0x1e67f1(0x1b7)]=0x6]=_0x1e67f1(0x1b7),_0x9001a7[_0x9001a7[_0x1e67f1(0x286)]=0x7]='INVALID_ARGUMENT',_0x9001a7[_0x9001a7['TOO_MANY_REQUESTS']=0x8]=_0x1e67f1(0x35a),_0x9001a7[_0x9001a7['COMPLETION_FINISHED']=0x9]=_0x1e67f1(0x1e5),_0x9001a7[_0x9001a7[_0x1e67f1(0x2c6)]=0xa]=_0x1e67f1(0x2c6),_0x9001a7[_0x9001a7[_0x1e67f1(0x1fa)]=0xb]=_0x1e67f1(0x1fa),_0x9001a7[_0x9001a7[_0x1e67f1(0x48c)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x9001a7[_0x9001a7[_0x1e67f1(0x2e9)]=0xd]=_0x1e67f1(0x2e9),_0x9001a7[_0x9001a7[_0x1e67f1(0x1b0)]=0xe]=_0x1e67f1(0x1b0),_0x9001a7[_0x9001a7[_0x1e67f1(0x19a)]=0xf]=_0x1e67f1(0x19a),_0x9001a7[_0x9001a7[_0x1e67f1(0x43f)]=0x10]=_0x1e67f1(0x43f),_0x9001a7[_0x9001a7[_0x1e67f1(0x458)]=0x64]=_0x1e67f1(0x458),_0x9001a7[_0x9001a7[_0x1e67f1(0x206)]=0x65]=_0x1e67f1(0x206),_0x9001a7[_0x9001a7[_0x1e67f1(0x21b)]=0xc9]=_0x1e67f1(0x21b),_0x9001a7[_0x9001a7[_0x1e67f1(0x465)]=0xca]=_0x1e67f1(0x465),_0x9001a7[_0x9001a7[_0x1e67f1(0x447)]=0x1389]=_0x1e67f1(0x447),_0x9001a7[_0x9001a7['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x9001a7[_0x9001a7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x9001a7[_0x9001a7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1e67f1(0x391),_0x9001a7[_0x9001a7[_0x1e67f1(0x3cf)]=0x1b59]=_0x1e67f1(0x3cf),_0x9001a7[_0x9001a7[_0x1e67f1(0x198)]=0x1b5a]=_0x1e67f1(0x198),_0x9001a7[_0x9001a7['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1e67f1(0x2f3),_0x9001a7[_0x9001a7[_0x1e67f1(0x3b2)]=0x1b5c]=_0x1e67f1(0x3b2),_0x9001a7[_0x9001a7[_0x1e67f1(0x25b)]=0x1b5d]=_0x1e67f1(0x25b),_0x9001a7[_0x9001a7[_0x1e67f1(0x36d)]=0x1f41]=_0x1e67f1(0x36d),_0x9001a7[_0x9001a7[_0x1e67f1(0x3bf)]=0x2329]=_0x1e67f1(0x3bf),_0x9001a7[_0x9001a7[_0x1e67f1(0x2be)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x9001a7[_0x9001a7[_0x1e67f1(0x483)]=0x232b]=_0x1e67f1(0x483),_0x9001a7[_0x9001a7[_0x1e67f1(0x23d)]=0x232c]=_0x1e67f1(0x23d),_0x9001a7[_0x9001a7['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1e67f1(0x3e4),_0x9001a7[_0x9001a7[_0x1e67f1(0x432)]=0x2711]=_0x1e67f1(0x432),_0x9001a7[_0x9001a7[_0x1e67f1(0x408)]=0x2712]=_0x1e67f1(0x408),_0x9001a7[_0x9001a7['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1e67f1(0x272),_0x9001a7[_0x9001a7[_0x1e67f1(0x44f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x9001a7[_0x9001a7[_0x1e67f1(0x333)]=0x271a]=_0x1e67f1(0x333),_0x9001a7[_0x9001a7[_0x1e67f1(0x209)]=0x271b]=_0x1e67f1(0x209),_0x9001a7[_0x9001a7[_0x1e67f1(0x23c)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x9001a7[_0x9001a7['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x9001a7[_0x9001a7['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1e67f1(0x259),_0x9001a7[_0x9001a7[_0x1e67f1(0x203)]=0x271f]=_0x1e67f1(0x203),_0x9001a7[_0x9001a7[_0x1e67f1(0x3df)]=0x2720]=_0x1e67f1(0x3df),_0x9001a7[_0x9001a7[_0x1e67f1(0x2d6)]=0x2af9]=_0x1e67f1(0x2d6),_0x9001a7[_0x9001a7[_0x1e67f1(0x296)]=0x2ee1]=_0x1e67f1(0x296),_0x9001a7[_0x9001a7[_0x1e67f1(0x3d6)]=0x2ee2]='INVALID_INVITE_CODE',_0x9001a7[_0x9001a7[_0x1e67f1(0x181)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x9001a7[_0x9001a7[_0x1e67f1(0x284)]=0x2ee4]=_0x1e67f1(0x284),_0x9001a7[_0x9001a7[_0x1e67f1(0x1a4)]=0x2ee5]=_0x1e67f1(0x1a4),_0x9001a7[_0x9001a7[_0x1e67f1(0x2f4)]=0x32c9]=_0x1e67f1(0x2f4),_0x9001a7[_0x9001a7[_0x1e67f1(0x2f2)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x9001a7[_0x9001a7['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x9001a7[_0x9001a7[_0x1e67f1(0x194)]=0x36b1]=_0x1e67f1(0x194),_0x9001a7[_0x9001a7['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x1e67f1(0x43d),_0x9001a7[_0x9001a7[_0x1e67f1(0x413)]=0x36b3]=_0x1e67f1(0x413),_0x9001a7[_0x9001a7[_0x1e67f1(0x218)]=0x36b4]=_0x1e67f1(0x218),_0x9001a7[_0x9001a7[_0x1e67f1(0x2e2)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x9001a7[_0x9001a7[_0x1e67f1(0x1e0)]=0x3716]=_0x1e67f1(0x1e0),_0x9001a7[_0x9001a7['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1e67f1(0x283),_0x9001a7[_0x9001a7[_0x1e67f1(0x2f9)]=0x3a99]=_0x1e67f1(0x2f9),_0x9001a7[_0x9001a7[_0x1e67f1(0x3ed)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x9001a7[_0x9001a7[_0x1e67f1(0x3ce)]=0x3a9b]=_0x1e67f1(0x3ce),_0x9001a7[_0x9001a7['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1e67f1(0x464),_0x9001a7[_0x9001a7['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x9001a7[_0x9001a7[_0x1e67f1(0x189)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x9001a7[_0x9001a7[_0x1e67f1(0x257)]=0x3a9f]=_0x1e67f1(0x257),_0x9001a7[_0x9001a7['UNRECOGNIZED']=-0x1]=_0x1e67f1(0x419),_0x9001a7))(vi||{}),Q=(_0x4614cf=>(_0x4614cf[_0x4614cf[_0x1e67f1(0x3af)]=0x0]=_0x1e67f1(0x3af),_0x4614cf[_0x4614cf[_0x1e67f1(0x274)]=0x1]=_0x1e67f1(0x274),_0x4614cf[_0x4614cf[_0x1e67f1(0x3bc)]=0x2]='UNIVER_SHEET',_0x4614cf[_0x4614cf[_0x1e67f1(0x3ec)]=0x3]=_0x1e67f1(0x3ec),_0x4614cf[_0x4614cf[_0x1e67f1(0x3cc)]=0x4]=_0x1e67f1(0x3cc),_0x4614cf[_0x4614cf[_0x1e67f1(0x419)]=-0x1]='UNRECOGNIZED',_0x4614cf))(Q||{}),F=(_0x19aaa3=>(_0x19aaa3[_0x19aaa3[_0x1e67f1(0x207)]=0x0]='UNKNOWN_CMD',_0x19aaa3[_0x19aaa3[_0x1e67f1(0x33a)]=0x1]=_0x1e67f1(0x33a),_0x19aaa3[_0x19aaa3['JOIN']=0x2]='JOIN',_0x19aaa3[_0x19aaa3['LEAVE']=0x3]=_0x1e67f1(0x310),_0x19aaa3[_0x19aaa3[_0x1e67f1(0x48d)]=0x4]=_0x1e67f1(0x48d),_0x19aaa3[_0x19aaa3[_0x1e67f1(0x43b)]=0x5]=_0x1e67f1(0x43b),_0x19aaa3[_0x19aaa3[_0x1e67f1(0x205)]=0x6]=_0x1e67f1(0x205),_0x19aaa3[_0x19aaa3[_0x1e67f1(0x419)]=-0x1]=_0x1e67f1(0x419),_0x19aaa3))(F||{}),pe=(_0x43275b=>(_0x43275b[_0x43275b['UNKNOWN_CODE']=0x0]=_0x1e67f1(0x1b2),_0x43275b[_0x43275b['OK']=0x1]='OK',_0x43275b[_0x43275b[_0x1e67f1(0x2d0)]=0x2]='FAIL',_0x43275b[_0x43275b['JOIN_ROOM_FULL']=0x3e9]=_0x1e67f1(0x41e),_0x43275b[_0x43275b[_0x1e67f1(0x1c2)]=0x3ea]=_0x1e67f1(0x1c2),_0x43275b[_0x43275b[_0x1e67f1(0x1dc)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x43275b[_0x43275b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x43275b[_0x43275b[_0x1e67f1(0x419)]=-0x1]='UNRECOGNIZED',_0x43275b))(pe||{}),pi=(_0xdecd16=>(_0xdecd16[_0xdecd16[_0x1e67f1(0x418)]=0x0]='Undefined',_0xdecd16[_0xdecd16[_0x1e67f1(0x311)]=0x1]=_0x1e67f1(0x311),_0xdecd16[_0xdecd16[_0x1e67f1(0x186)]=0x2]=_0x1e67f1(0x186),_0xdecd16[_0xdecd16[_0x1e67f1(0x19b)]=0x3]='UnitEmbedded',_0xdecd16[_0xdecd16[_0x1e67f1(0x2c0)]=0x4]=_0x1e67f1(0x2c0),_0xdecd16[_0xdecd16[_0x1e67f1(0x398)]=0x5]='UserProfileImg',_0xdecd16[_0xdecd16[_0x1e67f1(0x20d)]=0x6]='ClipsheetFragments',_0xdecd16[_0xdecd16[_0x1e67f1(0x419)]=-0x1]=_0x1e67f1(0x419),_0xdecd16))(pi||{});const Cs=_0x1e67f1(0x1de);function Ns(_0x567458){var _0x1146d4=_0x1e67f1;return JSON[_0x1146d4(0x2ae)](_0x567458)[_0x1146d4(0x19d)];}var re=(_0x273047=>(_0x273047[_0x1e67f1(0x34f)]=_0x1e67f1(0x34f),_0x273047[_0x1e67f1(0x30e)]='PERMISSION_DENIED',_0x273047[_0x1e67f1(0x3f2)]=_0x1e67f1(0x3f2),_0x273047[_0x1e67f1(0x442)]=_0x1e67f1(0x442),_0x273047[_0x1e67f1(0x339)]='JOIN_ROOM_FAILED',_0x273047['SOCKET_FAILED_RETRY']=_0x1e67f1(0x2eb),_0x273047[_0x1e67f1(0x45b)]=_0x1e67f1(0x45b),_0x273047[_0x1e67f1(0x481)]=_0x1e67f1(0x481),_0x273047))(re||{});class ve{constructor(){var _0x1a9843=_0x1e67f1;D(this,_0x1a9843(0x2ca),new _0x3e44be()),D(this,'event$',this[_0x1a9843(0x2ca)][_0x1a9843(0x1a7)]());}['emitEvent'](_0x4a3641){var _0x2f3539=_0x1e67f1;this['_event$'][_0x2f3539(0x3c1)](_0x4a3641);}}class Ei{constructor(){var _0x46b4ba=_0x1e67f1;D(this,'_commentUpdate$',new _0x3e44be()),D(this,_0x46b4ba(0x403),this[_0x46b4ba(0x396)][_0x46b4ba(0x1a7)]());}['onCommentUpdate'](_0xc2c713){var _0x3f4199=_0x1e67f1;this[_0x3f4199(0x396)][_0x3f4199(0x3c1)](_0xc2c713);}}var bs=Object[_0x1e67f1(0x35d)],Ds=(_0x4dc740,_0x26844c,_0x1e587d,_0x4447a3)=>{var _0x5e2cd6=_0x1e67f1;for(var _0x34b4d8=_0x4447a3>0x1?void 0x0:_0x4447a3?bs(_0x26844c,_0x1e587d):_0x26844c,_0x3ee0dd=_0x4dc740[_0x5e2cd6(0x19d)]-0x1,_0x44799a;_0x3ee0dd>=0x0;_0x3ee0dd--)(_0x44799a=_0x4dc740[_0x3ee0dd])&&(_0x34b4d8=_0x44799a(_0x34b4d8)||_0x34b4d8);return _0x34b4d8;},Ft=(_0x353b17,_0xf1a275)=>(_0x51a717,_0x2bd59b)=>_0xf1a275(_0x51a717,_0x2bd59b,_0x353b17);let Pe=class extends _0x262184{constructor(_0x5b9c2e,_0xb38684){var _0x35a75e=_0x1e67f1;super(),D(this,_0x35a75e(0x360),new Map()),D(this,'_roomCreated$',new _0x3e44be()),(this[_0x35a75e(0x239)]=_0x5b9c2e,this[_0x35a75e(0x1f0)]=_0xb38684,this[_0x35a75e(0x20f)](_0x5c5362(this['_univerInstanceService'][_0x35a75e(0x313)](_0x34e32d[_0x35a75e(0x3bc)])[_0x35a75e(0x34b)](_0x1b66cb(_0x2f53ce=>_0x2f53ce[_0x35a75e(0x29c)]())),this[_0x35a75e(0x239)][_0x35a75e(0x313)](_0x34e32d[_0x35a75e(0x274)])[_0x35a75e(0x34b)](_0x1b66cb(_0x41a23c=>_0x41a23c[_0x35a75e(0x29c)]())),this[_0x35a75e(0x239)][_0x35a75e(0x313)](_0x34e32d['UNIVER_SLIDE'])[_0x35a75e(0x34b)](_0x1b66cb(_0xd43a35=>_0xd43a35[_0x35a75e(0x29c)]())))[_0x35a75e(0x3cb)](_0x438a62=>this[_0x35a75e(0x2a0)](_0x438a62))));}['waitForRoom$'](_0xefefa4){var _0x56aaa6=_0x1e67f1;return this[_0x56aaa6(0x360)][_0x56aaa6(0x37c)](_0xefefa4)?_0x2dc7ce(this[_0x56aaa6(0x360)]['get'](_0xefefa4)):this['_roomCreated$'][_0x56aaa6(0x34b)](_0x1b66cb(_0x3d0006=>{var _0x1ac714=_0x56aaa6;if(_0x3d0006===_0xefefa4)return this['_roomMembers'][_0x1ac714(0x30c)](_0x3d0006);}));}[_0x1e67f1(0x320)](_0x1d8f10){var _0x5f48de=_0x1e67f1;this[_0x5f48de(0x1f0)][_0x5f48de(0x320)](_0x1d8f10);}['getCurrentUser'](){var _0x1ffcfb=_0x1e67f1;return this[_0x1ffcfb(0x1f0)]['getCurrentUser']();}[_0x1e67f1(0x325)](_0x365543,_0x2915c8){var _0x418140=_0x1e67f1;let _0x1c2031=this[_0x418140(0x360)][_0x418140(0x30c)](_0x365543);_0x1c2031||(_0x1c2031=new ys(),this['_roomMembers'][_0x418140(0x260)](_0x365543,_0x1c2031),this[_0x418140(0x373)][_0x418140(0x3c1)](_0x365543)),_0x1c2031[_0x418140(0x325)](_0x2915c8);}['removeMember'](_0x8d7a79,_0x4bdba3){var _0x40b2a4=_0x1e67f1;const _0x33fcb2=this[_0x40b2a4(0x360)][_0x40b2a4(0x30c)](_0x8d7a79);_0x33fcb2&&_0x33fcb2['removeMember'](_0x4bdba3);}[_0x1e67f1(0x277)](_0x196e48){var _0x5159c0=_0x1e67f1;return this['_roomMembers'][_0x5159c0(0x30c)](_0x196e48);}[_0x1e67f1(0x2cd)](_0x22fa90,_0x23994a){var _0x3f084b=_0x1e67f1;const _0x23084c=this['_roomMembers']['get'](_0x22fa90);if(_0x23084c)return _0x23084c[_0x3f084b(0x2cd)](_0x23994a);}[_0x1e67f1(0x2a0)](_0x266d11){var _0x2c7ad7=_0x1e67f1;const _0x41cf00=this['_roomMembers'][_0x2c7ad7(0x30c)](_0x266d11);_0x41cf00&&(_0x41cf00[_0x2c7ad7(0x1cd)](),this[_0x2c7ad7(0x360)][_0x2c7ad7(0x2b0)](_0x266d11));}[_0x1e67f1(0x1cd)](){var _0x2687b3=_0x1e67f1;this[_0x2687b3(0x360)]['forEach'](_0x279a10=>_0x279a10[_0x2687b3(0x1cd)]()),this['_roomMembers']['clear'](),this[_0x2687b3(0x373)][_0x2687b3(0x3d5)]();}};Pe=Ds([Ft(0x0,_0x524058),Ft(0x1,_0x132dee(_0x7f40cd))],Pe);class ys extends _0x262184{constructor(){var _0x1e9d83=_0x1e67f1;super(...arguments),D(this,'_members',new Map()),D(this,_0x1e9d83(0x379),new _0x232913(this[_0x1e9d83(0x303)])),D(this,_0x1e9d83(0x33b),this[_0x1e9d83(0x379)][_0x1e9d83(0x1a7)]());}[_0x1e67f1(0x1cd)](){var _0x2f9e09=_0x1e67f1;this[_0x2f9e09(0x303)][_0x2f9e09(0x3be)]();}['updateMember'](_0x1ba0f2){var _0x1a048a=_0x1e67f1;this['_members'][_0x1a048a(0x260)](_0x1ba0f2[_0x1a048a(0x2d8)],_0x1ba0f2),this[_0x1a048a(0x20e)]();}[_0x1e67f1(0x37f)](_0x442644){var _0x519f91=_0x1e67f1;this[_0x519f91(0x303)]['delete'](_0x442644);}[_0x1e67f1(0x2cd)](_0x12aa65){var _0x4d7614=_0x1e67f1;return this['_members'][_0x4d7614(0x30c)](_0x12aa65);}['getAllMembers'](){var _0x5e3310=_0x1e67f1;return Array[_0x5e3310(0x1f4)](this['_members'][_0x5e3310(0x1a5)]());}[_0x1e67f1(0x20e)](){var _0x3a302e=_0x1e67f1;this[_0x3a302e(0x379)]['next'](this[_0x3a302e(0x303)]);}}var Us=Object[_0x1e67f1(0x35d)],As=(_0x1ee13b,_0x28427c,_0x54af83,_0x43938e)=>{var _0x165ca1=_0x1e67f1;for(var _0x3328db=_0x43938e>0x1?void 0x0:_0x43938e?Us(_0x28427c,_0x54af83):_0x28427c,_0x2c684e=_0x1ee13b[_0x165ca1(0x19d)]-0x1,_0x5485c9;_0x2c684e>=0x0;_0x2c684e--)(_0x5485c9=_0x1ee13b[_0x2c684e])&&(_0x3328db=_0x5485c9(_0x3328db)||_0x3328db);return _0x3328db;},Oe=(_0x323bc7,_0x16ca54)=>(_0x28fd45,_0x42b122)=>_0x16ca54(_0x28fd45,_0x42b122,_0x323bc7),me=(_0x4c5d34=>(_0x4c5d34[_0x4c5d34[_0x1e67f1(0x406)]=0x0]=_0x1e67f1(0x406),_0x4c5d34[_0x4c5d34[_0x1e67f1(0x400)]=0x1]='JOINING',_0x4c5d34[_0x4c5d34[_0x1e67f1(0x1e7)]=0x2]=_0x1e67f1(0x1e7),_0x4c5d34[_0x4c5d34['ONLINE']=0x3]=_0x1e67f1(0x469),_0x4c5d34))(me||{});const Vt={[pe[_0x1e67f1(0x2d0)]]:_0x1e67f1(0x3b5),[pe[_0x1e67f1(0x41e)]]:_0x1e67f1(0x38b),[pe[_0x1e67f1(0x1c2)]]:_0x1e67f1(0x45f),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x1e67f1(0x251),[pe[_0x1e67f1(0x3a7)]]:_0x1e67f1(0x3c6)};let mt=class extends _0xe931df{constructor(_0x4609cc,_0x1b8720,_0x487d39,_0x190241,_0x3f89e2,_0x39f684,_0x2356c0,_0x68ad40){var _0x2285c5=_0x1e67f1;super(),D(this,_0x2285c5(0x40e),new _0x232913(0x0)),D(this,_0x2285c5(0x344),this[_0x2285c5(0x40e)][_0x2285c5(0x1a7)]()),D(this,_0x2285c5(0x2ca),new _0x3e44be()),D(this,_0x2285c5(0x322),this[_0x2285c5(0x2ca)]['asObservable']()),D(this,_0x2285c5(0x32e)),D(this,_0x2285c5(0x394)),D(this,_0x2285c5(0x422)),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this[_0x2285c5(0x1ca)]=_0x4609cc,this[_0x2285c5(0x22e)]=_0x487d39,this['_configService']=_0x190241,this[_0x2285c5(0x3bb)]=_0x3f89e2,this['_commentService']=_0x39f684,this['_collaborationUIEventService']=_0x2356c0,this[_0x2285c5(0x357)]=_0x68ad40,this[_0x2285c5(0x22f)]=!!this[_0x2285c5(0x357)],_0x1b8720[_0x2285c5(0x34b)](_0xc7ae25(this['dispose$']))['subscribe'](_0x3ad806=>{var _0x316a43=_0x2285c5,_0x49946f;typeof _0x3ad806>'u'||(this[_0x316a43(0x32e)]=_0x3ad806,_0x3ad806?(this['_joinRoom'](_0x3ad806),this[_0x316a43(0x394)]=_0x3ad806['message$']['subscribe'](_0x39a0d0=>{var _0x57c9b7=_0x316a43;_0x39a0d0[_0x57c9b7(0x350)]===this[_0x57c9b7(0x1ca)]&&this[_0x57c9b7(0x371)](_0x39a0d0);})):(this[_0x316a43(0x294)](),this[_0x316a43(0x40e)]['next'](0x2),(_0x49946f=this[_0x316a43(0x394)])==null||_0x49946f[_0x316a43(0x457)](),this[_0x316a43(0x394)]=null));}));}get['sessionStatus'](){var _0x69de5b=_0x1e67f1;return this[_0x69de5b(0x40e)][_0x69de5b(0x2e6)]();}[_0x1e67f1(0x3c3)](){var _0x3b101a=_0x1e67f1,_0x48d648,_0x1e8179;return(_0x1e8179=(_0x48d648=this[_0x3b101a(0x32e)])==null?void 0x0:_0x48d648['memberID'])!=null?_0x1e8179:null;}['dispose'](){var _0x133656=_0x1e67f1;super['dispose'](),this[_0x133656(0x270)]['next'](),this[_0x133656(0x270)][_0x133656(0x3d5)]();}[_0x1e67f1(0x327)](){var _0x20c434=_0x1e67f1,_0x33a77c,_0x37258b;this[_0x20c434(0x294)](),(_0x33a77c=this[_0x20c434(0x32e)])==null||_0x33a77c[_0x20c434(0x20b)]({'cmd':F[_0x20c434(0x310)],'data':{'roomID':this[_0x20c434(0x1ca)]}}),(_0x37258b=this[_0x20c434(0x32e)])==null||_0x37258b[_0x20c434(0x327)](),this['_event$'][_0x20c434(0x3d5)](),this[_0x20c434(0x40e)]['complete'](),this[_0x20c434(0x1cd)]();}[_0x1e67f1(0x371)](_0x2745ca){var _0x5c1a9a=_0x1e67f1;_0x2745ca[_0x5c1a9a(0x2c3)]===F[_0x5c1a9a(0x2e7)]?this[_0x5c1a9a(0x2f7)](_0x2745ca):_0x2745ca[_0x5c1a9a(0x2c3)]===F['RECV']&&this[_0x5c1a9a(0x30a)](_0x2745ca);}['_joinRoom'](_0x3c2681){var _0x234f74=_0x1e67f1;this[_0x234f74(0x40e)]['next'](0x1),_0x3c2681[_0x234f74(0x20b)]({'cmd':F[_0x234f74(0x2e7)],'routeKey':this[_0x234f74(0x1ca)],'routeType':'','data':{'rooms':[{'roomID':this[_0x234f74(0x1ca)]}]}});}[_0x1e67f1(0x2f7)](_0x45ba68){var _0x47f9a0=_0x1e67f1,_0x5c28bd;if(_0x45ba68[_0x47f9a0(0x2bd)]in Vt){this[_0x47f9a0(0x2e8)][_0x47f9a0(0x242)]({'id':re[_0x47f9a0(0x339)],'data':Vt[_0x45ba68[_0x47f9a0(0x2bd)]]}),this[_0x47f9a0(0x40e)][_0x47f9a0(0x3c1)](0x2);return;}this[_0x47f9a0(0x40e)][_0x47f9a0(0x3c1)](0x3);const _0x167ae2=(_0x5c28bd=_0x45ba68['data'][_0x47f9a0(0x2dd)][this['_unitID']])==null?void 0x0:_0x5c28bd[_0x47f9a0(0x3f9)];_0x167ae2&&_0x167ae2[_0x47f9a0(0x341)](_0x217d94=>this[_0x47f9a0(0x3bb)][_0x47f9a0(0x325)](this[_0x47f9a0(0x1ca)],_0x217d94));}[_0x1e67f1(0x30a)](_0x3e30ba){var _0x156e0b=_0x1e67f1;try{const _0x570f6f=_0x3e30ba[_0x156e0b(0x486)];switch(_0x570f6f[_0x156e0b(0x295)]){case _0x2764d9[_0x156e0b(0x332)]:this[_0x156e0b(0x456)](_0x570f6f),this['_event$'][_0x156e0b(0x3c1)](_0x570f6f);break;case _0x2764d9[_0x156e0b(0x2fb)]:this[_0x156e0b(0x225)](_0x570f6f),this[_0x156e0b(0x2ca)]['next'](_0x570f6f);break;case _0x2764d9[_0x156e0b(0x22a)]:case _0x2764d9[_0x156e0b(0x1f7)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x156e0b(0x2ca)]['next'](_0x570f6f);break;case _0x2764d9[_0x156e0b(0x1e6)]:this[_0x156e0b(0x22e)][_0x156e0b(0x223)](_0x156e0b(0x2b2)+JSON['stringify'](_0x570f6f)),this[_0x156e0b(0x2ca)][_0x156e0b(0x3c1)](_0x570f6f);break;case _0x2764d9[_0x156e0b(0x3fe)]:this[_0x156e0b(0x355)][_0x156e0b(0x2d3)](_0x570f6f['data']),this[_0x156e0b(0x2ca)][_0x156e0b(0x3c1)](_0x570f6f);break;default:this['_event$'][_0x156e0b(0x3c1)](_0x570f6f);}}catch(_0x158076){this[_0x156e0b(0x22e)][_0x156e0b(0x223)](_0x158076,_0x3e30ba);}}[_0x1e67f1(0x456)](_0x2ffd61){var _0x4b6d19=_0x1e67f1;this[_0x4b6d19(0x3bb)][_0x4b6d19(0x325)](this[_0x4b6d19(0x1ca)],_0x2ffd61[_0x4b6d19(0x486)]);}['_onUserLeave'](_0x280d70){var _0x19581d=_0x1e67f1;this['_memberService'][_0x19581d(0x37f)](this[_0x19581d(0x1ca)],_0x280d70[_0x19581d(0x486)][_0x19581d(0x2d8)]);}async['send'](_0x9a084c,_0x476f7a){var _0x3c379f=_0x1e67f1;if(this[_0x3c379f(0x36e)]!==0x3||!this[_0x3c379f(0x32e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x9a084c['eventID']===_0x2764d9[_0x3c379f(0x31e)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x9a084c)),this[_0x3c379f(0x32e)][_0x3c379f(0x20b)]({'cmd':F[_0x3c379f(0x48d)],'routeKey':_0x476f7a,'routeType':'','data':_0x9a084c});}catch(_0x52b0c2){this[_0x3c379f(0x22e)]['error'](_0x52b0c2);}}[_0x1e67f1(0x230)](){var _0x32140e=_0x1e67f1,_0xc7a721;this[_0x32140e(0x422)]=setTimeout(()=>{var _0x50a268=_0x32140e;this[_0x50a268(0x422)]=null,this[_0x50a268(0x2e8)][_0x50a268(0x242)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0xc7a721=this[_0x32140e(0x3a4)]['getConfig'](di))!=null?_0xc7a721:fi);}[_0x1e67f1(0x210)](){var _0x408a8a=_0x1e67f1;this[_0x408a8a(0x422)]&&(clearTimeout(this[_0x408a8a(0x422)]),this[_0x408a8a(0x422)]=null);}[_0x1e67f1(0x402)](_0x43cf4c){var _0x201d9d=_0x1e67f1;if(!this[_0x201d9d(0x22f)])return;const {data:_0x3c99b9}=_0x43cf4c,{unitID:_0x491633,changeset:_0x5eace8}=_0x3c99b9,{mutations:_0x4d92e5,type:_0x5e73d2}=_0x5eace8;this[_0x201d9d(0x42e)]={'unitId':_0x491633,'type':_0x5e73d2,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x4d92e5)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2b8f4e=_0x1e67f1;if(this[_0x2b8f4e(0x22f)]){if(!this['_telemetryInfo']){this[_0x2b8f4e(0x22e)][_0x2b8f4e(0x223)]('[CollaborationSession]',_0x2b8f4e(0x3ca));return;}this[_0x2b8f4e(0x42e)][_0x2b8f4e(0x2c4)]=performance[_0x2b8f4e(0x3f0)](),this[_0x2b8f4e(0x42e)][_0x2b8f4e(0x37b)]=this['_telemetryInfo'][_0x2b8f4e(0x2c4)]-this[_0x2b8f4e(0x42e)][_0x2b8f4e(0x1d1)],this[_0x2b8f4e(0x357)][_0x2b8f4e(0x188)](Cs,this[_0x2b8f4e(0x42e)]),this[_0x2b8f4e(0x42e)]=null;}}[_0x1e67f1(0x294)](){var _0x23e012=_0x1e67f1;this[_0x23e012(0x42e)]=null;}};mt=As([Oe(0x2,_0x34eeab),Oe(0x3,_0x3ba963),Oe(0x4,_0x132dee(Pe)),Oe(0x5,_0x132dee(Ei)),Oe(0x6,_0x132dee(ve)),Oe(0x7,_0x12e690(_0x1aadf9))],mt);const J=_0x46cda0(_0x1e67f1(0x3ae));function Nr(_0x124c0b){var _0x423b56=_0x1e67f1;return _0x423b56(0x17f)+_0x124c0b;}var Ps=Object[_0x1e67f1(0x35d)],ws=(_0x1ee691,_0x36d0ab,_0x278726,_0x20bf1e)=>{var _0x3675e1=_0x1e67f1;for(var _0x162ac9=_0x20bf1e>0x1?void 0x0:_0x20bf1e?Ps(_0x36d0ab,_0x278726):_0x36d0ab,_0x9d02e2=_0x1ee691[_0x3675e1(0x19d)]-0x1,_0xeb2795;_0x9d02e2>=0x0;_0x9d02e2--)(_0xeb2795=_0x1ee691[_0x9d02e2])&&(_0x162ac9=_0xeb2795(_0x162ac9)||_0x162ac9);return _0x162ac9;},ut=(_0x58fdcd,_0x477bfa)=>(_0xd524f1,_0x58c084)=>_0x477bfa(_0xd524f1,_0x58c084,_0x58fdcd);function Ms(_0x10d15c){var _0x136ced=_0x1e67f1;const {unitID:_0x921aea,mutations:_0x201c10}=_0x10d15c;return{'unitId':_0x921aea,'subUnitId':_0x201c10[_0x136ced(0x19d)]>0x0?_0x201c10[0x0][_0x136ced(0x265)][_0x136ced(0x261)]:null};}let it=class{constructor(_0x3c925e,_0x2cdcb8,_0x2a41fc){var _0x28a1a4=_0x1e67f1;this[_0x28a1a4(0x2a8)]=_0x3c925e,this[_0x28a1a4(0x247)]=_0x2cdcb8,this[_0x28a1a4(0x353)]=_0x2a41fc;}[_0x1e67f1(0x411)](_0x97cdfa){var _0xaf4ba0=_0x1e67f1,_0x435a93,_0x98ba23,_0x4028bf,_0x35817d;const _0x283a1e=this[_0xaf4ba0(0x2a8)][_0xaf4ba0(0x30c)](_0x52fd9d),{unitId:_0x43ef9a,subUnitId:_0x181c93}=Ms(_0x97cdfa),_0x472602=_0x283a1e==null?void 0x0:_0x283a1e[_0xaf4ba0(0x18b)](_0x43ef9a)[_0xaf4ba0(0x24c)](),_0x3ac324=(_0x98ba23=(_0x435a93=this[_0xaf4ba0(0x353)][_0xaf4ba0(0x17a)](_0x43ef9a))==null?void 0x0:_0x435a93[_0xaf4ba0(0x37a)]())==null?void 0x0:_0x98ba23[_0xaf4ba0(0x1bd)]();if(_0x472602[_0xaf4ba0(0x19d)]===0x0||!_0x43ef9a||!_0x181c93)return;const _0x4ef279=[{'id':_0x387b7e['id'],'params':{'unitId':_0x43ef9a,'subUnitId':_0x3ac324,'selections':_0x28aa01[_0xaf4ba0(0x388)](_0x472602)}}],_0x52639d=this['_transformService']['transformMutationsWithChangeset'](_0x97cdfa,_0x4ef279);if(!_0x3b9868(_0x52639d))throw _0x52639d['error'];const _0xdfbec0=(_0x35817d=(_0x4028bf=_0x52639d['m2Prime'][0x0])==null?void 0x0:_0x4028bf[_0xaf4ba0(0x265)])==null?void 0x0:_0x35817d[_0xaf4ba0(0x44d)];if(Array[_0xaf4ba0(0x345)](_0xdfbec0)&&_0xdfbec0[_0xaf4ba0(0x19d)]){if(_0xdfbec0[_0xaf4ba0(0x19d)]===_0x4ef279[0x0]['params'][_0xaf4ba0(0x44d)][_0xaf4ba0(0x19d)]&&_0xdfbec0[_0xaf4ba0(0x273)]((_0x5ec077,_0x432f49)=>_0x5a9536[_0xaf4ba0(0x47e)](_0x5ec077[_0xaf4ba0(0x352)],_0x4ef279[0x0]['params'][_0xaf4ba0(0x44d)][_0x432f49]['range'])))return;this[_0xaf4ba0(0x2a8)][_0xaf4ba0(0x30c)](_0x31fd08)[_0xaf4ba0(0x3d4)](_0x387b7e['id'],{'unitId':_0x43ef9a,'subUnitId':_0x3ac324,'selections':_0xdfbec0});}}};it=ws([ut(0x0,_0x132dee(_0xe963d)),ut(0x1,_0x311a8a),ut(0x2,_0x524058)],it);const _t=_0x46cda0(_0x1e67f1(0x1ce));var mi=(_0x324f14=>(_0x324f14[_0x324f14[_0x1e67f1(0x1db)]=0x0]=_0x1e67f1(0x1db),_0x324f14[_0x324f14['OTHER_CLIENTS_EDITING']=0x1]=_0x1e67f1(0x211),_0x324f14))(mi||{});const K=_0x1e67f1(0x364),Ls={},xs=new Set([_0x5f5851['id']]);function Gt(_0x25794c,_0x9ea81f,_0x14e3a8,_0x3665ca,_0x486308){var _0x16006a=_0x1e67f1,_0x804f0,_0x56fbd8,_0x418b40,_0x31dda2;const _0x3518fb=[];for(const _0x5731ff of _0x25794c)if(xs[_0x16006a(0x37c)](_0x5731ff['id'])){if(_0x3518fb[_0x16006a(0x19d)]>0x0)break;_0x3518fb[_0x16006a(0x417)](_0x5731ff);break;}else _0x3518fb[_0x16006a(0x417)](_0x5731ff);const _0x5f18ff=(_0x56fbd8=(_0x804f0=_0x486308[_0x16006a(0x36c)]())==null?void 0x0:_0x804f0['userID'])!=null?_0x56fbd8:_0x16006a(0x241),_0x484f2a=(_0x31dda2=(_0x418b40=_0x486308[_0x16006a(0x36c)]())==null?void 0x0:_0x418b40[_0x16006a(0x2d8)])!=null?_0x31dda2:_0x16006a(0x241);return{'changeset':{'unitID':_0x9ea81f,'type':_0x2554c7(_0x14e3a8[_0x16006a(0x177)](_0x9ea81f)),'baseRev':_0x3665ca[_0x16006a(0x376)](_0x9ea81f),'revision':0x0,'userID':_0x5f18ff,'memberID':_0x484f2a,'mutations':_0x3518fb},'pendingMutations':_0x25794c['slice'](_0x3518fb[_0x16006a(0x19d)])};}function ks(_0x3c0210,_0x5b68bd,_0x1ff390,_0x2f48fd,_0x3a2487){var _0x27fffd=_0x1e67f1,_0x3a918d,_0x15a69b,_0x5a15a3,_0x1500a4;const _0x465ee2=[_0x3c0210[_0x27fffd(0x292)]((_0x2b2bac,_0x52eaf6)=>{var _0xda6ec3=_0x27fffd,_0xeec2de;const {id:_0x4470ad}=_0x2b2bac,{id:_0x531e01,type:_0x313962}=_0x52eaf6,_0x40ce4f=(_0xeec2de=_0x2b2bac[_0xda6ec3(0x265)])!=null?_0xeec2de:{'actions':null},_0x36dfe4=_0x52eaf6[_0xda6ec3(0x265)];if(_0x4470ad&&_0x4470ad!==_0x531e01)throw new Error(_0xda6ec3(0x2df)+_0x4470ad+_0xda6ec3(0x35b)+_0x531e01+'.');return{..._0x2b2bac,'id':_0x531e01,'type':_0x313962,'params':{'unitId':_0x36dfe4[_0xda6ec3(0x1f6)],'textRanges':_0x36dfe4[_0xda6ec3(0x434)],'actions':_0x6cf46a[_0xda6ec3(0x2fc)](_0x40ce4f[_0xda6ec3(0x2aa)],_0x36dfe4['actions'])}};},{})],_0x1c7c27=(_0x15a69b=(_0x3a918d=_0x3a2487[_0x27fffd(0x36c)]())==null?void 0x0:_0x3a918d[_0x27fffd(0x395)])!=null?_0x15a69b:_0x27fffd(0x241),_0x248abd=(_0x1500a4=(_0x5a15a3=_0x3a2487[_0x27fffd(0x36c)]())==null?void 0x0:_0x5a15a3[_0x27fffd(0x2d8)])!=null?_0x1500a4:'unknown';return{'changeset':{'unitID':_0x5b68bd,'type':_0x2554c7(_0x1ff390[_0x27fffd(0x177)](_0x5b68bd)),'baseRev':_0x2f48fd[_0x27fffd(0x376)](_0x5b68bd),'revision':0x0,'userID':_0x1c7c27,'memberID':_0x248abd,'mutations':_0x465ee2},'pendingMutations':[]};}function Ii(_0x5d4de9,_0x4d2477){var _0x2b686c=_0x1e67f1;const _0x548a48=new _0xd3d506(0x1);return setTimeout(()=>_0x548a48[_0x2b686c(0x3c1)](_0x4d2477),_0x5d4de9),_0x548a48[_0x2b686c(0x1a7)]()['pipe'](_0x93de05(0x1));}const $s={'id':_0x3628b2['id'],'type':_0x4c8355[_0x1e67f1(0x255)],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Se=(_0x429efb,_0x3bc4cd,_0x4e7a77,_0x167a28)=>{var _0x5a756e=_0x1e67f1;for(var _0x4fed9e=_0x167a28>0x1?void 0x0:_0x167a28?Hs(_0x3bc4cd,_0x4e7a77):_0x3bc4cd,_0xa8c49e=_0x429efb[_0x5a756e(0x19d)]-0x1,_0xe5c7fe;_0xa8c49e>=0x0;_0xa8c49e--)(_0xe5c7fe=_0x429efb[_0xa8c49e])&&(_0x4fed9e=_0xe5c7fe(_0x4fed9e)||_0x4fed9e);return _0x4fed9e;},w=(_0x234c39,_0x29c79)=>(_0x57cd0c,_0xae5b0c)=>_0x29c79(_0x57cd0c,_0xae5b0c,_0x234c39),Si=(_0x3335bf=>(_0x3335bf[_0x1e67f1(0x1f5)]=_0x1e67f1(0x42f),_0x3335bf[_0x1e67f1(0x3f8)]=_0x1e67f1(0x2e4),_0x3335bf['PENDING']=_0x1e67f1(0x2b1),_0x3335bf[_0x1e67f1(0x2fa)]=_0x1e67f1(0x3f1),_0x3335bf[_0x1e67f1(0x478)]=_0x1e67f1(0x349),_0x3335bf[_0x1e67f1(0x3c8)]='fetch_missing',_0x3335bf['CONFLICT']=_0x1e67f1(0x3e9),_0x3335bf[_0x1e67f1(0x1e7)]='offline',_0x3335bf))(Si||{});const gi=0xea60;class ge{constructor(_0x3bb347,_0x41e642,_0xc3ecac,_0xe92c47,_0x3fe215,_0x496df5,_0x36fc9,_0x5b3965,_0x3370c3){var _0x53f9ac=_0x1e67f1;D(this,_0x53f9ac(0x299),null),D(this,'_pendingMutations',[]),(this['unitID']=_0x3bb347,this[_0x53f9ac(0x30f)]=_0x41e642,this['_handler']=_0x3fe215,this[_0x53f9ac(0x46e)]=_0x496df5,this[_0x53f9ac(0x487)]=_0x36fc9,this['_revisionService']=_0x5b3965,this[_0x53f9ac(0x3ea)]=_0x3370c3,this['_awaitingChangeset']=_0xc3ecac,this[_0x53f9ac(0x416)]=_0xe92c47);}[_0x1e67f1(0x39e)](_0x316e84){var _0x4e7f64=_0x1e67f1;const _0x51b12b=this[_0x4e7f64(0x204)][_0x4e7f64(0x376)](this[_0x4e7f64(0x234)]);return _0x316e84['revision']>_0x51b12b+0x1?(this['_handler'][_0x4e7f64(0x1b5)]({'from':_0x51b12b,'to':_0x316e84[_0x4e7f64(0x2a1)]-0x1}),!0x0):!0x1;}[_0x1e67f1(0x399)](_0x265a58){var _0x5a3887=_0x1e67f1;this[_0x5a3887(0x487)][_0x5a3887(0x3a9)](this['unitID'],_0x265a58);}[_0x1e67f1(0x196)](_0x6bff78){var _0x2d9a1f=_0x1e67f1,_0x4c0dbe,_0x3b1422;(_0x3b1422=(_0x4c0dbe=this[_0x2d9a1f(0x1da)])['onTransformSelections'])==null||_0x3b1422[_0x2d9a1f(0x1bf)](_0x4c0dbe,_0x6bff78);}[_0x1e67f1(0x47a)](_0x5764de){var _0x19bdf6=_0x1e67f1,_0x20bd47,_0x449745;return(_0x449745=(_0x20bd47=this[_0x19bdf6(0x1da)])[_0x19bdf6(0x1ee)])==null?void 0x0:_0x449745['call'](_0x20bd47,_0x5764de);}[_0x1e67f1(0x47c)](_0x51dc88){var _0x219955=_0x1e67f1,_0x3831b5,_0x523e0b;return(_0x523e0b=(_0x3831b5=this[_0x219955(0x1da)])[_0x219955(0x1a0)])==null?void 0x0:_0x523e0b['call'](_0x3831b5,_0x51dc88);}[_0x1e67f1(0x1c3)](_0x4d2d1f){var _0xad9e3c=_0x1e67f1,_0x3468ad,_0x14a38d,_0x5b501d;return(_0x5b501d=(_0x14a38d=(_0x3468ad=this[_0xad9e3c(0x1da)])[_0xad9e3c(0x2ec)])==null?void 0x0:_0x14a38d[_0xad9e3c(0x1bf)](_0x3468ad,_0x4d2d1f))!=null?_0x5b501d:_0x4d2d1f;}[_0x1e67f1(0x18c)](_0x5e19a4){var _0xa7a712=_0x1e67f1,_0x4f7272,_0x2d4bae,_0x15e4eb;return(_0x15e4eb=(_0x2d4bae=(_0x4f7272=this[_0xa7a712(0x1da)])[_0xa7a712(0x3f7)])==null?void 0x0:_0x2d4bae['call'](_0x4f7272,_0x5e19a4))!=null?_0x15e4eb:_0x5e19a4;}[_0x1e67f1(0x1fe)](_0xd2dfa8){var _0x2740f2=_0x1e67f1,_0x3f6857,_0x103fe8;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x49aaef,mutations:_0x6d3e24,memberID:_0x37a08b}=_0xd2dfa8,_0x4d8098=_0x6d3e24[_0x2740f2(0x19d)]>0x0?_0x6d3e24[0x0][_0x2740f2(0x265)]['textRanges']:[];Array[_0x2740f2(0x345)](_0x4d8098)&&_0x4d8098[_0x2740f2(0x19d)]>0x0&&((_0x103fe8=(_0x3f6857=this[_0x2740f2(0x1da)])[_0x2740f2(0x1d6)])==null||_0x103fe8[_0x2740f2(0x1bf)](_0x3f6857,{'unitID':_0x49aaef,'memberID':_0x37a08b,'textRanges':_0x4d8098}));}}[_0x1e67f1(0x409)](){var _0x4d1874=_0x1e67f1,_0x526949;(_0x526949=this[_0x4d1874(0x3ea)])==null||_0x526949[_0x4d1874(0x2f1)](this[_0x4d1874(0x234)],this[_0x4d1874(0x30f)],this[_0x4d1874(0x299)],this[_0x4d1874(0x416)]);}['_getCurrentRevision'](){var _0x57da2e=_0x1e67f1;return this[_0x57da2e(0x204)][_0x57da2e(0x376)](this[_0x57da2e(0x234)]);}[_0x1e67f1(0x34e)](){var _0x370485=_0x1e67f1;this[_0x370485(0x204)][_0x370485(0x293)](this[_0x370485(0x234)]);}['_executeRemoteChangeset'](_0x317893){var _0x34ba4b=_0x1e67f1,_0x41f1cd;let _0x28a748=this[_0x34ba4b(0x1c3)](_0x317893);_0x28a748=this['_transformRemoteChangesetByStateCache'](_0x28a748);const _0x24d914=_0xcbb0de(_0x28a748[_0x34ba4b(0x3e2)],this['_commandService'],{'fromCollab':!0x0});if(!_0x24d914[_0x34ba4b(0x1c8)])throw _0x24d914[_0x34ba4b(0x223)]instanceof Error?_0x24d914[_0x34ba4b(0x223)]:new Error((_0x41f1cd=_0x24d914[_0x34ba4b(0x223)])!=null?_0x41f1cd:_0x34ba4b(0x475));this[_0x34ba4b(0x47a)](_0x28a748),this[_0x34ba4b(0x47c)](_0x28a748),this[_0x34ba4b(0x399)](_0x317893),this[_0x34ba4b(0x196)](_0x28a748),this['_syncEditingCollabCursor'](_0x28a748),this[_0x34ba4b(0x34e)]();}}let be=class extends ge{constructor(_0x142e7a,_0xfe8c5f,_0x558410,_0x45af7d,_0x4a4a86,_0x242caa,_0x25cf97,_0x4f7606,_0x8b34fb,_0x383373){var _0x1b5d17=_0x1e67f1;super(_0x142e7a,_0xfe8c5f,null,[],_0x558410,_0x25cf97,_0x242caa,_0x45af7d,_0x383373),D(this,'status','synced'),(this[_0x1b5d17(0x2a8)]=_0x4a4a86,this[_0x1b5d17(0x22e)]=_0x4f7606,this['_transformService']=_0x8b34fb,this[_0x1b5d17(0x436)]=_0x383373);}[_0x1e67f1(0x193)](_0x35ae7f){var _0x167ae5=_0x1e67f1;const _0x2603ce=this['_injector'][_0x167ae5(0x3c7)](ae,this[_0x167ae5(0x234)],this[_0x167ae5(0x30f)],[_0x35ae7f],this[_0x167ae5(0x1da)]);return _0x2603ce[_0x167ae5(0x1cb)](),_0x2603ce['_updateLocalCache'](),_0x2603ce;}[_0x1e67f1(0x328)](_0x2cdc31){var _0x4d27c5=_0x1e67f1;if(this['_checkMissing'](_0x2cdc31))return this[_0x4d27c5(0x2a8)][_0x4d27c5(0x3c7)](ee,this[_0x4d27c5(0x234)],this['type'],null,[],null,[_0x2cdc31],this['_handler']);try{const _0x4df2dc=this[_0x4d27c5(0x247)][_0x4d27c5(0x2ce)](_0x2cdc31,[$s]);if(_0x3b9868(_0x4df2dc)){const {c1Prime:_0x58204b}=_0x4df2dc;return this[_0x4d27c5(0x1e4)](_0x58204b),this;}throw _0x4df2dc[_0x4d27c5(0x223)];}catch(_0x58bcee){return this['_logService'][_0x4d27c5(0x223)](_0x58bcee),this[_0x4d27c5(0x3a5)](!0x1);}}[_0x1e67f1(0x3a5)](_0x40d9a9){var _0x24f1b5=_0x1e67f1;return this[_0x24f1b5(0x2a8)][_0x24f1b5(0x3c7)](ue,this[_0x24f1b5(0x234)],this[_0x24f1b5(0x30f)],null,[],this['_handler'],_0x40d9a9);}[_0x1e67f1(0x312)](){var _0x7920ab=_0x1e67f1;throw new Error(_0x7920ab(0x43a));}[_0x1e67f1(0x1c1)](){var _0x4e8616=_0x1e67f1;throw new Error(_0x4e8616(0x240));}[_0x1e67f1(0x27a)](){return this;}[_0x1e67f1(0x338)](){var _0x44dbdd=_0x1e67f1;return this[_0x44dbdd(0x2a8)][_0x44dbdd(0x3c7)](de,this[_0x44dbdd(0x234)],this[_0x44dbdd(0x30f)],null,[],this[_0x44dbdd(0x1da)]);}[_0x1e67f1(0x2c5)](){return this;}[_0x1e67f1(0x42c)](){var _0x27a76e=_0x1e67f1;throw new Error(_0x27a76e(0x318));}[_0x1e67f1(0x291)](){var _0x131f35=_0x1e67f1;const _0x25ff2b=this['_revisionService'][_0x131f35(0x376)](this[_0x131f35(0x234)]);return this[_0x131f35(0x1da)][_0x131f35(0x1b5)]({'from':_0x25ff2b,'to':0x0}),this[_0x131f35(0x2a8)][_0x131f35(0x3c7)](ee,this['unitID'],this[_0x131f35(0x30f)],null,[],null,[],this[_0x131f35(0x1da)]);}};be=Se([w(0x3,_0x132dee(_0x6c1f9a)),w(0x4,_0x132dee(_0xe963d)),w(0x5,_0x442fbd),w(0x6,_0x31fd08),w(0x7,_0x34eeab),w(0x8,_0x311a8a),w(0x9,_0x12e690(J))],be);let ae=class extends ge{constructor(_0x4db830,_0x242b01,_0x39cb93,_0x4551b2,_0x4d38c0,_0x13e10b,_0x11780f,_0x2f4708,_0x2ca656,_0x3490bd,_0x13fea2,_0x51c1b8,_0x354224,_0x3b6fa1){var _0x29d9ac=_0x1e67f1;super(_0x4db830,_0x242b01,null,_0x39cb93,_0x4551b2,_0x2ca656,_0x354224,_0x13e10b,_0x3b6fa1),D(this,_0x29d9ac(0x29d),'pending'),D(this,_0x29d9ac(0x1fc),null),D(this,'_sendingTimer',null),(this[_0x29d9ac(0x2a8)]=_0x4d38c0,this['_memberService']=_0x11780f,this[_0x29d9ac(0x22e)]=_0x2f4708,this[_0x29d9ac(0x3a4)]=_0x3490bd,this[_0x29d9ac(0x247)]=_0x13fea2,this['_univerInstanceService']=_0x51c1b8);}[_0x1e67f1(0x193)](_0x3a0388){var _0x1cc689=_0x1e67f1;return this[_0x1cc689(0x416)][_0x1cc689(0x417)](_0x3a0388),this[_0x1cc689(0x409)](),this;}[_0x1e67f1(0x328)](_0x398ebe){var _0x4dd226=_0x1e67f1;if(this[_0x4dd226(0x39e)](_0x398ebe))return this[_0x4dd226(0x3bd)](),this['_injector']['createInstance'](ee,this[_0x4dd226(0x234)],this[_0x4dd226(0x30f)],null,this['_pendingMutations'],null,[_0x398ebe],this[_0x4dd226(0x1da)]);try{const _0x4674d7=this['_transformService'][_0x4dd226(0x2ce)](_0x398ebe,this['_pendingMutations']);if(_0x3b9868(_0x4674d7)){const {c1Prime:_0x23e594,m2Prime:_0x1d181a}=_0x4674d7;this['_executeRemoteChangeset'](_0x23e594);const _0x314234=this[_0x4dd226(0x2a8)][_0x4dd226(0x3c7)](ae,this['unitID'],this[_0x4dd226(0x30f)],_0x1d181a,this['_handler']);this['_clearScheduledTask']();const _0x3c4a09=new Date()['getTime'](),_0xf4b082=this[_0x4dd226(0x1fc)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x3c4a09,0x0):this['_getSendChangesetTimeout']();return _0x314234['_schedule'](_0xf4b082),_0x314234;}throw _0x4674d7[_0x4dd226(0x223)];}catch(_0x21975c){return this[_0x4dd226(0x22e)]['error'](_0x21975c),this[_0x4dd226(0x3a5)](!0x1);}}[_0x1e67f1(0x312)](){var _0x13c242=_0x1e67f1;throw new Error(_0x13c242(0x30b));}[_0x1e67f1(0x1c1)](){var _0x1ef1cc=_0x1e67f1;throw new Error(_0x1ef1cc(0x253));}[_0x1e67f1(0x27a)](){return this;}[_0x1e67f1(0x338)](){var _0x360a55=_0x1e67f1;return this[_0x360a55(0x3bd)](),this[_0x360a55(0x2a8)][_0x360a55(0x3c7)](de,this[_0x360a55(0x234)],this['type'],null,this[_0x360a55(0x416)],this[_0x360a55(0x1da)]);}[_0x1e67f1(0x2c5)](){return this;}['_schedule'](_0x4a3ccd){var _0x5ed2d6=_0x1e67f1;const _0x22f94c=_0x4a3ccd!=null?_0x4a3ccd:this[_0x5ed2d6(0x435)]();this[_0x5ed2d6(0x1fc)]=new Date()['getTime']()+_0x22f94c,this['_sendingTimer']=setTimeout(()=>{var _0xb2e408=_0x5ed2d6;this[_0xb2e408(0x3bd)]();let _0x23e4bd=null;switch(this['type']){case Q[_0xb2e408(0x3bc)]:{_0x23e4bd=Gt(this[_0xb2e408(0x416)],this[_0xb2e408(0x234)],this['_univerInstanceService'],this[_0xb2e408(0x204)],this[_0xb2e408(0x3bb)]);break;}case Q[_0xb2e408(0x274)]:{this[_0xb2e408(0x416)][_0xb2e408(0x273)](_0x503d27=>_0x503d27['id']===_0x433601['id'])?_0x23e4bd=ks(this[_0xb2e408(0x416)],this[_0xb2e408(0x234)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x23e4bd=Gt(this[_0xb2e408(0x416)],this[_0xb2e408(0x234)],this[_0xb2e408(0x239)],this[_0xb2e408(0x204)],this[_0xb2e408(0x3bb)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0xb2e408(0x30f)]+_0xb2e408(0x324));}const {changeset:_0x4e43d0,pendingMutations:_0x3e8e3d}=_0x23e4bd;this[_0xb2e408(0x1da)][_0xb2e408(0x319)](_0x4e43d0);const _0x1ce190=_0x3e8e3d[_0xb2e408(0x19d)]?this[_0xb2e408(0x2a8)]['createInstance'](oe,this[_0xb2e408(0x234)],this['type'],_0x4e43d0,_0x3e8e3d,this['_handler'],void 0x0):this[_0xb2e408(0x2a8)][_0xb2e408(0x3c7)](le,this[_0xb2e408(0x234)],this[_0xb2e408(0x30f)],_0x4e43d0,this[_0xb2e408(0x1da)]);_0x1ce190[_0xb2e408(0x409)](),this[_0xb2e408(0x1da)]['onStateChange'](this,_0x1ce190);},_0x22f94c);}[_0x1e67f1(0x435)](){var _0x1f78b3=_0x1e67f1,_0x165a76;const _0x1834c9=this[_0x1f78b3(0x3a4)][_0x1f78b3(0x3c4)](K);return(_0x165a76=_0x1834c9==null?void 0x0:_0x1834c9[_0x1f78b3(0x298)])!=null?_0x165a76:ps;}[_0x1e67f1(0x42c)](){var _0x2701c2=_0x1e67f1;throw new Error(_0x2701c2(0x21e));}['_clearScheduledTask'](){var _0x49c24c=_0x1e67f1;this[_0x49c24c(0x38f)]!=null&&(clearTimeout(this[_0x49c24c(0x38f)]),this['_sendingTimer']=null);}[_0x1e67f1(0x3a5)](_0x4fc074){var _0x319983=_0x1e67f1;return this[_0x319983(0x3bd)](),this[_0x319983(0x2a8)][_0x319983(0x3c7)](ue,this[_0x319983(0x234)],this['type'],null,this[_0x319983(0x416)],this['_handler'],_0x4fc074);}};ae=Se([w(0x4,_0x132dee(_0xe963d)),w(0x5,_0x132dee(_0x6c1f9a)),w(0x6,_0x132dee(Pe)),w(0x7,_0x34eeab),w(0x8,_0x31fd08),w(0x9,_0x3ba963),w(0xa,_0x311a8a),w(0xb,_0x524058),w(0xc,_0x442fbd),w(0xd,_0x12e690(J))],ae);let le=class extends ge{constructor(_0x290386,_0x210931,_0x3bfb35,_0x3b797d,_0x454928,_0x5f0d7d,_0x4bc48d,_0x2d69da,_0x708032,_0x118cfd,_0xab2c3f){var _0x2d7165=_0x1e67f1;super(_0x290386,_0x210931,_0x3bfb35,[],_0x3b797d,_0x4bc48d,_0x118cfd,_0x5f0d7d,_0xab2c3f),D(this,_0x2d7165(0x29d),_0x2d7165(0x3f1)),D(this,'_resendTimeout',0x0),D(this,'_resendTimer'),D(this,_0x2d7165(0x476)),(this[_0x2d7165(0x2a8)]=_0x454928,this[_0x2d7165(0x22e)]=_0x2d69da,this[_0x2d7165(0x247)]=_0x708032);}[_0x1e67f1(0x193)](_0x177164){var _0x392be0=_0x1e67f1;this[_0x392be0(0x3bd)]();const _0x17750b=this['_injector'][_0x392be0(0x3c7)](oe,this[_0x392be0(0x234)],this[_0x392be0(0x30f)],this['_awaitingChangeset'],[_0x177164],this['_handler'],this[_0x392be0(0x297)]);return _0x17750b[_0x392be0(0x409)](),_0x17750b;}[_0x1e67f1(0x328)](_0x327e34){var _0x46088d=_0x1e67f1;if(this[_0x46088d(0x39e)](_0x327e34))return this[_0x46088d(0x3bd)](),this['_injector'][_0x46088d(0x3c7)](ee,this['unitID'],this[_0x46088d(0x30f)],this[_0x46088d(0x299)],[],null,[_0x327e34],this[_0x46088d(0x1da)]);try{const _0x577c29=this[_0x46088d(0x247)][_0x46088d(0x275)]([_0x327e34],[this[_0x46088d(0x299)]],!0x1);if(_0x4e6bf4(_0x577c29)){const {c1Prime:_0x15dc24,c2Prime:_0x276c36}=_0x577c29;this[_0x46088d(0x1e4)](_0x15dc24[0x0]),_0x276c36[0x0][_0x46088d(0x412)]=this[_0x46088d(0x18f)](),this['_clearScheduledTask']();const _0x3691b0=this['_injector'][_0x46088d(0x3c7)](le,this['unitID'],this[_0x46088d(0x30f)],_0x276c36[0x0],this[_0x46088d(0x1da)]);return _0x3691b0[_0x46088d(0x409)](),_0x3691b0;}return this['_onConflict'](!0x1);}catch(_0x3b8497){return this[_0x46088d(0x22e)]['error'](_0x3b8497),this[_0x46088d(0x3a5)](!0x1);}}[_0x1e67f1(0x312)](_0x5d5215){var _0x40d008=_0x1e67f1;this['_clearScheduledTask']();const _0x31e697=this[_0x40d008(0x204)]['getCurrentRevOfUnit'](this[_0x40d008(0x234)]);if(_0x5d5215[_0x40d008(0x2a1)]<_0x31e697-0x1)return this;if(this[_0x40d008(0x39e)](_0x5d5215))return this[_0x40d008(0x2a8)][_0x40d008(0x3c7)](ee,this['unitID'],this[_0x40d008(0x30f)],null,[],this[_0x40d008(0x299)],[],this[_0x40d008(0x1da)]);this[_0x40d008(0x34e)]();const _0x382667=this[_0x40d008(0x2a8)][_0x40d008(0x3c7)](be,this[_0x40d008(0x234)],this['type'],this[_0x40d008(0x1da)]);return _0x382667[_0x40d008(0x409)](),_0x382667;}[_0x1e67f1(0x1c1)](_0x570ee9){var _0x105c95=_0x1e67f1;return this[_0x105c95(0x3a5)](!!(_0x570ee9!=null&&_0x570ee9['isPermissionRej']));}[_0x1e67f1(0x27a)](_0x2aaa6c){var _0x182090=_0x1e67f1;return this[_0x182090(0x485)]>gi?this[_0x182090(0x338)]():(this['_resendTimer']=Ii(this[_0x182090(0x485)],{'timeout':this['_resendTimeout'],'reqId':_0x2aaa6c[_0x182090(0x224)]}),this['_sender']=this[_0x182090(0x297)][_0x182090(0x3cb)](({reqId:_0x2ad69c,timeout:_0x21ee7b})=>{var _0x24a9b2=_0x182090;this[_0x24a9b2(0x24b)](_0x2ad69c,_0x21ee7b);}),this);}['toggleOffline'](){var _0x24f76f=_0x1e67f1;return this[_0x24f76f(0x3bd)](),this[_0x24f76f(0x2a8)][_0x24f76f(0x3c7)](de,this['unitID'],this[_0x24f76f(0x30f)],this[_0x24f76f(0x299)],[],this[_0x24f76f(0x1da)]);}[_0x1e67f1(0x2c5)](){return this;}[_0x1e67f1(0x42c)](){var _0x7f286a=_0x1e67f1;this[_0x7f286a(0x1da)][_0x7f286a(0x319)](this['_awaitingChangeset']);}[_0x1e67f1(0x3a5)](_0x59a3a6){var _0x29df17=_0x1e67f1;return this[_0x29df17(0x3bd)](),this[_0x29df17(0x2a8)][_0x29df17(0x3c7)](ue,this[_0x29df17(0x234)],this[_0x29df17(0x30f)],this[_0x29df17(0x299)],[],this['_handler'],_0x59a3a6);}['_resendWithTimeout'](_0x177162,_0x36f41e){var _0x34acd0=_0x1e67f1,_0x45702d;_0x177162===((_0x45702d=this[_0x34acd0(0x299)])==null?void 0x0:_0x45702d['reqId'])&&(this[_0x34acd0(0x42c)](),this[_0x34acd0(0x485)]=_0x36f41e===0x0?0x3e8:_0x36f41e*0x2);}[_0x1e67f1(0x3bd)](){var _0x564aca=_0x1e67f1,_0xfbfa9a;(_0xfbfa9a=this[_0x564aca(0x476)])==null||_0xfbfa9a[_0x564aca(0x457)](),this[_0x564aca(0x485)]=0x0;}};le=Se([w(0x4,_0x132dee(_0xe963d)),w(0x5,_0x132dee(_0x6c1f9a)),w(0x6,_0x31fd08),w(0x7,_0x34eeab),w(0x8,_0x311a8a),w(0x9,_0x442fbd),w(0xa,_0x12e690(J))],le);function _0x2daf(){var _0x17eae7=['range','_instanceService','loadUnitOfRevision','_commentService','init','_telemetryService','_entities','origin','TOO_MANY_REQUESTS','\x20-\x20','closeSession','getOwnPropertyDescriptor','getTypeOfUnitAdded$','/universer-api/stream/file/upload','_roomMembers','_keySchedule','_clearRedo','includes','collaboration-client.config','onMissedChangesetFetched','resourceIDs','refreshPermission','clone','EvpKDF','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getUndoStack','getCurrentUser','CONNECTOR_DATA_TOO_LARGE','sessionStatus','_changesetReqId','debug','_onCombEvent','_map','_roomCreated$','updateCollaborator','/universer-api/uniscript','getCurrentRevOfUnit','findIndex','format','_members$','getActiveSheet','duration','has','loadOfflineData','string','removeMember','HmacSHA1','_clearHeartbeatTimer','processBlock','_append','[OfflineState]:\x20received\x20acknowledgement.','_sessions','offline','_exhaustRemoteChangesetQueue','deepClone','/block/','collaboratorID','session.room-full','objectID','collaborators','x-univer-host','_sendingTimer','add','ENSURE_SNAPSHOT_EXECUTION','downloadEndpointUrl','_doCryptBlock','_socketMessageSubscription','userID','_commentUpdate$','slice','UserProfileImg','_transformUndoredo','status$','fromCollab','open$','_keyPriorReset','_checkMissing','UNDEFINED','BlockCipherMode','compute','_change$','url','_configService','_onConflict','encode','GLOBAL_ROOMS_CNT_EXCEEDS','listRoles','transformUndoRedo','NOT_FOUND','charCodeAt','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','leaveEvent','collaboration-client.local-cache-service','UNIVER_UNKNOWN','_compressMutationService','HEARTBEAT_TIMEOUT','APPLY_PERMISSION_DENIED','_status$','_initUnitPermissionChange','session.join-failed','\x20to\x20','loadSheet','snapshot','addHandlerCallback','_candidateSocket','_memberService','UNIVER_SHEET','_clearScheduledTask','clear','LICENSE_MAX_UNITS_EXCEEDED','getRandomValues','next','/resources','getMemberID','getConfig','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','session.room-cnt-exceeds','createInstance','FETCH_MISS','padding','telemetry\x20info\x20is\x20not\x20initialized','subscribe','UNIVER_PROJECT','createCollaborator','REDEMPTION_CODE_FULLY_REDEEMED','APPLY_REJECT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','initWorkbookPermissionChange','getCollabEntity','find','executeCommand','complete','INVALID_INVITE_CODE','pad','newCsEvent','error$','setShowComponents','_updateStatus','ws://127.0.0.1:8000/universer-api/comb/connect','[DataLoaderService]','COMPRESS_MUTATION_APPLY','YUUMI_CONNECTOR_URL_NOT_FOUND','_type','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','mutations','enableSingleActiveInstanceLock','LICENSE_DISTRO_REJECTED','_nDataBytes','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','AES','_substituteUndoStack','conflict','_localCacheService','iterations','UNIVER_SLIDE','REDEMPTION_CODE_INACTIVE','map','onlyLocal','now','awaiting','CONFLICT','_waitCount','10039302PelnZD','mode','image/jpeg','onTransformRemoteChangesetByStateCache','SYNCED','members','hasOwnProperty','Utf8','encrypt','UNIVER_COLLABORATION_CLIENT_PLUGIN','COMMENT_UPDATE','2913380ZsRUFb','JOINING','_retryCount','_startTelemetryCollaborationNewChangeset','commentUpdate$','objects','apply','IDLE','UNAUTHENTICATED','YUUMI_URL_COL_OUT_OF_RANGE','_updateLocalCache','/universer-api/file/{fileID}/sign-url','liveShareNewHost','_collaborationPaused','_process','_sessionStatus$','objectType','connection\x20error','transformSelections','baseRev','ENTITLE_DUP_SUBSCRIPTION','_invKeySchedule','collabSubmitChangesetUrl','_pendingMutations','push','Undefined','UNRECOGNIZED','_toggleOnline','byteOffset','/rev/','charAt','JOIN_ROOM_FULL','execute','fetchMissingChangesets','CHANGESET_REJ','_collaborationTimeoutTimer','catch','_clearTimeoutTimer','defineProperty','deleteCollaborator','requireSession','file','_networkConditionService','[OfflineState]:\x20received\x20rejection.','HEARTBEAT_INTERVAL','resend','body','_telemetryInfo','not_collab','_queuedRemoteChangesets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','YUUMI_UNABLE_LOAD_URL','encryptBlock','textRanges','_getSendChangesetTimeout','localCacheService','/-/object/list','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','NEW_CHANGESETS','[SyncedState]:\x20received\x20acknowledgement.','HEARTBEAT','_getDownloadEndpointURL','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','onTransformSelections','LOGIN_TOKEN_PROCESSING_FAILED','_remoteChangesetQueue','_waitForHeartbeatResponse','CLOSE_ROOM','univer-pro.collaboration-client-socket-service','post','msCrypto','exports','CHANGESET_REVISION_CONFILICT','image/gif','_socketService','subject','_initRequestHeader','_replaceFileID','selections','_clearUndo','YUUMI_SUBSCRIPTION_NOT_FOUND','override','/object','registerHTTPInterceptor','finalize','_onFetchMissResult','UPDATE_CURSOR','_onUserJoin','unsubscribe','CURRENT_STATUS_CANNOT_OPERATE','formatter','loginUrlKey','SOCKET_FAILED','BufferedBlockAlgorithm','_iKey','_oKey','session.room-not-exists','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','FileId','create','1458268aWsQvJ','REDEMPTION_CODE_NOT_STARTED','USER_IS_ANONYMOUS','_transformStack','algo','onCommandExecuted','ONLINE','_collabSessionService','LIVESHARE_OPERATION','_onRemoteChangeset','onStarting','_commandService','editing\x20status\x20changed\x20to','RETRY_CONNECTING_MAX_COUNT','SHA1','&to=','Hex','enableAuthServer','[CollaborationState]:\x20apply\x20error!','_sender','{fileID}','AWAITING_WITH_PENDING','createEncryptor','_transformIMECache','_socketReady','_transformStateCache','_reverseMap','equals','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_sendHeartbeatTimer','SUBMIT_CHANGESET_TIMEOUT','_getLoginPath','LICENSE_IMPORT_SIZE_EXCEEDED','image/png','_resendTimeout','data','_undoRedoService','_rescheduleHeartbeat','_doProcessBlock','originalMeta','key','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','INGEST','decrypt','_mode','splice','saveSnapshot','HMAC','_substituteRedoStack','[OfflineState]:\x20received\x20changeset.','_disableEditing','getUnitType','symbol','byteLength','getUnit','_unitInfo$','reconnect','listCollaborators','keySize','unit-cache-','_createInitialStateImpl','INVITE_CODE_REQUIRED','blockSize','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','entityInit$','sid','HttpExport','clamp','capture','REDEMPTION_USER_REDEEM_TIMES_EXCEED','/new_changes','getWorkbookSelections','_transformRemoteChangesetByStateCache','_HTTPService','Univer','_getCurrentRevision','PasswordBasedCipher','words','randomBytes','appendMutation','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_timeoutTimer','_transformSelections','onLocalMutation','APPLY_NON_SEQUENTIAL_REVISION','objectActions','AUTHORIZE_CODE_ILLEGAL','UnitEmbedded','__esModule','length','getDeserializedSheetBlock','fromCharCode','onTransformState','/collaborator','__creator','_onMessage','INVITE_CODE_ALREADY_BOUND','values','_onConnectionOpen','asObservable','entries','[FetchMissState]','hasher','prototype','_replayCachedMutations','readAsDataURL','_unlockTransition','concat','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_submitChangeset','UNKNOWN_CODE','getUnitStatus$','replace','onMissingChangesets','message$','ALREADY_EXISTS','responseType','/fetchmissing?from=','unpad','rev','_acknowledgedAwaitingChangeset','getSheetId','FETCH_MISSING','call','_redoStacks','onRemoteRej','JOIN_ROOM_NOT_EXISTS','_transformRemoteChangesetByIMECache','ceil','_initMergeInterceptor','_data','failed\x20to\x20apply\x20missed\x20changesets!','result','5PvQTEz','_unitID','_schedule','repeat','dispose','univer-pro.collaboration-client.single-active-unit-service','loadDoc','_onConnectionFailed','startTime','reverse','StreamCipher','LOCAL_CACHE_INTERVAL','INTERNAL_ERROR','onSyncEditingCollabCursor','_minBufferSize','_createSocket','_onRemoteRejected','_handler','NO_OTHER_CLIENTS_EDITING','JOIN_ROOM_PERMISSION_DENIED','mixIn','collaboration_new_changeset','_hash','ENTITLE_REPORT_LIMIT_EXCEED','_clearLocalCache','POST','_tryReconnect','_executeRemoteChangeset','COMPLETION_FINISHED','MSG_FOR_ERROR','OFFLINE','action','SUCCUSS','name','/unit/','[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.','_getCtorByUniverType','onTransformIME','2uJhosq','_userManagerService','_tryEnsureSocket','localeService','list','from','NOT_COLLAB','unitId','CHANGESET_SHOULD_RETRY','getCollabEntity$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','MOBILE_VERIFY_CODE_MISMATCH','startsWith','_scheduleCompleteTimestamp','uploadFileServerUrl','_syncEditingCollabCursor','min','unitId\x20is\x20not\x20found','resolve','confirm','YUUMI_AI_RUN_FAILED','_revisionService','RECV','ERROR_AGAIN','UNKNOWN_CMD','enc','YUUMI_ASYNCIO_CANCELLED','SHOULD_CLOSE_CONN','send','_decreaseWaiting','ClipsheetFragments','_emitMembers','disposeWithMe','_clearCollaborationTimeoutTimer','OTHER_CLIENTS_EDITING','WordArray','collabWebSocketUrl','_entityInit$','src','floor','_listenToNetworkCondition','PAYMENT_CHANNEL_NOT_SUPPORT','setConfig','_doCreateSocket','USER_NOT_FOUND','_collaborationSessionService','[CollaborationSessionService]','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','copyFileMeta','_createHelper','sin','error','reqId','_onUserLeave','/allowed','_DEC_XFORM_MODE','_sheetTransformSelectionsService','_doFinalize','CHANGESET_ACK','Decryptor','_startCollaboration','updatePermissionPoint','_logService','_shouldReportTelemetry','_scheduleCollaborationTimeoutTimer','buffer','_lockTransition','updateCursorEvent','unitID','_singleActiveUnitService','_xformMode','OpenSSL','Base','_univerInstanceService','1248931RDjCPD','auth.needGotoLoginAlert','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LICENSE_EXPORT_SIZE_EXCEEDED','\x0aCurrent:\x20','_createHmacHelper','[SyncedState]:\x20received\x20rejection.','unknown','emitEvent','Error\x20on\x20receiving\x20event','headers','/object/','_onOffline','_transformService','interceptor','size','random','_resendWithTimeout','getCurrentSelections','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','63033520uadgpr','getSnapshotAPIPath','_eventService','session.room-permission-denied','_config','[PendingState]:\x20received\x20rejection.','fetchThroughInterceptors','MUTATION','readInt32LE','REDEMPTION_CODE_HAS_BEEN_CREATED','crypto','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','put','APPLY_DUPLICATED','permissionRejEvent','snapshotServerUrl','title','COMPRESS_MUTATION_SEND','set','subUnitId','_transitionLocked','createDecryptor','close$','params','BASE64','batchAllowed','_prevBlock','_createInitialState','getImageSourceCache','csShouldRetryEvent','/universer-api/authz','addImageSourceCache','submit\x20changeset\x20error!','pluginName','dispose$','lib','YUUMI_RATE_OVER_LIMIT','every','UNIVER_DOC','transformChangesets','cfg','getRoom','/-/object/-/batch_allowed','unitInfo$','onRemoteRetry','loadUnit','_onRemoteACK','_ENC_XFORM_MODE','PERMISSION_REJ','requestParams','/universer-api/user/session-ticket','m2Prime','_clearRetryConnectingTimer','ENTITLE_NEED_BILLING_ADDRESS','USER_NOT_INVITED_CODE','getResourcesRequest','INVALID_ARGUMENT','PERSON','_nRounds','Malformed\x20UTF-8\x20data','function','substr','change$','\x0aAfter:\x20','_isPermissionRej','_changesetSessionId','_iv','fetchMiss','reduce','incrementRevOfUnit','_throwTelemetryCollaborationNewChangeset','eventID','INVITE_CODE_HAS_BEEN_UES','_resendTimer','sendChangesetTimeout','_awaitingChangeset','max','getUnitOnRev','getUnitId','status','_getRedoStack','csAckEvent','_removeRoom','revision','state$','disableLocalCache','updateSnapshot','_applyRemoteChangeset','_httpService','10dpgWMO','_injector','Hasher','actions','_retryConnectingTimer','toString','Encryptor','stringify','reset','delete','pending','save\x20fail\x20reason\x20is\x20','isPermissionRej','_snapshotService','parse','filter','OPTIONAL','PSEUDO_FETCH_MISSING_RESULT','ivSize','ERROR_IMAGE','Pkcs7','[CollaborationSession]','code','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getFocusedUnit','UnitSnapshot','location','_fetchMissChangesets','cmd','stopTime','toggleOnline','LOGIN_FAILED','_state$','/role','collaMsg','_event$','_init','encodeURIComponent','getMember','transformMutationsWithChangeset','3538146AlrWVb','FAIL','extend','_localeService','onCommentUpdate','update','_showConflictNotification','PY_RUNTIME_SCRIPT_ERROR','_getAPIPrefixPath','memberID','/universer-api/oidc/authpage','_doReset','LIVESHARE_TERMINATE','__Key__','roomInfos','session','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','infoRsp','UPDATE_PERMISSION_OBJ','ENTITLE_CHAT_LIMIT_EXCEED','_permissionService','synced','LIVESHARE_REQUEST_HOST','getValue','JOIN','_collaborationUIEventService','EMAIL_VERIFY_CODE_MISMATCH','getLatestCsReqIdBySid','SOCKET_FAILED_RETRY','onTransformRemoteChangesetByIMECache','join','_undoStacks','_key','_state','updateOfflineData','MOBILE_HAS_BEEN_BOUND','APPLY_REVISION_CONFILICT','WECHAT_HAS_BEEN_BOUND','SNAPSHOT_URL_KEY','[CollaborationUndoRedoService]','_onJoinRoomEvent','_getSignURL','REDEMPTION_INVALID_CODE','AWAITING','USERS_LEAVE','compose','_cipher','_getAPIPrefix','64DcNQxQ','authzUrl','shouldCloseConn','signUrlServerUrl','_members','_onLocalMutation','Base64','avatar','salt','_imageSourceCache','&assign=','_onRecvEvent','[PendingState]:\x20received\x20acknowledgement.','get','$super','PERMISSION_DENIED','type','LEAVE','HttpImport','onRemoteAck','getTypeOfUnitDisposed$','_onRemoteRetry','awaitingChangeset','changesets','_toggleOffline','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onSendChangeset','_initCloseConn','ERROR_IMAGE_TYPE','_socket$','_getUploadFileURL','SUBMIT_CHANGESET','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','setCurrentUser','_sendHeartbeat','event$','default','\x20in\x20_schedule.','updateMember','Failed\x20to\x20update\x20permission\x20point','close','onRemoteChangeset','[CollaborationSessionService]:\x20socket\x20error','_initDependencies','MD5','_handlerCallback','_updateState','_socket','socket\x20open.','reject','UNISCRIPT_RUN','USERS_ENTER','YUUMI_NO_CUBOID_FOR_QUESTION','hostname','LIVESHARE_FETCH_OPERATIONS','indexOf','LIVESHARE_NEW_HOST','toggleOffline','JOIN_ROOM_FAILED','HELLO','members$','_createHandler','c2Prime','6540906NQBPEW','setWaitCount','Cipher','forEach','uniscriptRunEvent','?url=','sessionStatus$','isArray','univer-pro.collaboration-client.network-condition.service','c1Prime','sigBytes','awaiting_with_pending','BlockCipher','pipe','image/bmp','NoPadding','_incrementRevisionNumber','OTHER_CLIENT_EDITING','routeKey','getInterceptPoints'];_0x2daf=function(){return _0x17eae7;};return _0x2daf();}let oe=class extends ge{constructor(_0x517b3d,_0xcbd8a1,_0x5714ef,_0x131ff3,_0x14976a,_0x15d816,_0xaf36e3,_0x5216dc,_0x17123c,_0x52b81a,_0x55bab5,_0x38b4e3,_0x497f85){var _0x3c251f=_0x1e67f1;super(_0x517b3d,_0xcbd8a1,_0x5714ef,_0x131ff3,_0x14976a,_0x17123c,_0x38b4e3,_0x5216dc,_0x497f85),D(this,_0x3c251f(0x29d),_0x3c251f(0x349)),D(this,_0x3c251f(0x485),0x0),D(this,'_resendTimer'),D(this,_0x3c251f(0x476)),(this[_0x3c251f(0x2a8)]=_0xaf36e3,this[_0x3c251f(0x22e)]=_0x52b81a,this[_0x3c251f(0x247)]=_0x55bab5,this['localCacheService']=_0x497f85,_0x15d816&&(this[_0x3c251f(0x297)]=_0x15d816,this[_0x3c251f(0x476)]=this['_resendTimer'][_0x3c251f(0x3cb)](({reqId:_0x2614f5,timeout:_0x3100ae})=>{var _0x4930cd=_0x3c251f;this[_0x4930cd(0x24b)](_0x2614f5,_0x3100ae);})));}[_0x1e67f1(0x193)](_0xbd04d2){var _0x4be950=_0x1e67f1;return this[_0x4be950(0x416)][_0x4be950(0x417)](_0xbd04d2),this;}[_0x1e67f1(0x328)](_0x144795){var _0x2c8691=_0x1e67f1;if(this[_0x2c8691(0x39e)](_0x144795))return this['_clearScheduledTask'](),this[_0x2c8691(0x2a8)][_0x2c8691(0x3c7)](ee,this[_0x2c8691(0x234)],this['type'],this[_0x2c8691(0x299)],this[_0x2c8691(0x416)],null,[_0x144795],this[_0x2c8691(0x1da)]);try{const _0x104ef3=this[_0x2c8691(0x247)][_0x2c8691(0x275)]([_0x144795],[this[_0x2c8691(0x299)]],!0x1);if(_0x4e6bf4(_0x104ef3)){const {c1Prime:_0x29d0e2,c2Prime:_0xa66d11}=_0x104ef3,_0x2d4889=this[_0x2c8691(0x247)][_0x2c8691(0x2ce)](_0x29d0e2[0x0],this[_0x2c8691(0x416)]);if(_0x3b9868(_0x2d4889)){const {c1Prime:_0x4c53b7,m2Prime:_0x3c1722}=_0x2d4889;return this[_0x2c8691(0x1e4)](_0x4c53b7),_0xa66d11[0x0][_0x2c8691(0x412)]=this['_getCurrentRevision'](),this[_0x2c8691(0x3bd)](),this[_0x2c8691(0x2a8)][_0x2c8691(0x3c7)](oe,this[_0x2c8691(0x234)],this[_0x2c8691(0x30f)],_0xa66d11[0x0],_0x3c1722,this[_0x2c8691(0x1da)],void 0x0);}throw _0x2d4889[_0x2c8691(0x223)];}throw _0x104ef3[_0x2c8691(0x223)];}catch(_0x289c74){return this[_0x2c8691(0x22e)][_0x2c8691(0x223)](_0x289c74),this[_0x2c8691(0x3a5)](!0x1);}}['onRemoteAck'](_0x7a3e28){var _0x199edb=_0x1e67f1;if(this[_0x199edb(0x3bd)](),this[_0x199edb(0x39e)](_0x7a3e28))return this['_injector'][_0x199edb(0x3c7)](ee,this['unitID'],this[_0x199edb(0x30f)],null,this[_0x199edb(0x416)],this[_0x199edb(0x299)],[],this[_0x199edb(0x1da)]);this['_incrementRevisionNumber']();const _0x1eb1bb=this[_0x199edb(0x2a8)][_0x199edb(0x3c7)](ae,this[_0x199edb(0x234)],this[_0x199edb(0x30f)],this['_pendingMutations'],this[_0x199edb(0x1da)]);return _0x1eb1bb[_0x199edb(0x1cb)](),_0x1eb1bb[_0x199edb(0x409)](),_0x1eb1bb;}[_0x1e67f1(0x1c1)](_0x40f9fb){var _0x3e2649=_0x1e67f1;return this[_0x3e2649(0x3a5)](!!(_0x40f9fb!=null&&_0x40f9fb['isPermissionRej']));}[_0x1e67f1(0x27a)](_0x126d60){var _0x46f47a=_0x1e67f1;return this[_0x46f47a(0x485)]>gi?this[_0x46f47a(0x338)]():(this['_resendTimer']=Ii(this[_0x46f47a(0x485)],{'timeout':this[_0x46f47a(0x485)],'reqId':_0x126d60[_0x46f47a(0x224)]}),this[_0x46f47a(0x476)]=this['_resendTimer'][_0x46f47a(0x3cb)](({reqId:_0x55ed14,timeout:_0x1c3223})=>{var _0x1c4636=_0x46f47a;this[_0x1c4636(0x24b)](_0x55ed14,_0x1c3223);}),this);}[_0x1e67f1(0x338)](){var _0x296ab9=_0x1e67f1;return this[_0x296ab9(0x3bd)](),this['_injector'][_0x296ab9(0x3c7)](de,this[_0x296ab9(0x234)],this[_0x296ab9(0x30f)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x296ab9(0x1da)]);}['toggleOnline'](){return this;}['resend'](){var _0x2b1012=_0x1e67f1;this[_0x2b1012(0x1da)]['onSendChangeset'](this[_0x2b1012(0x299)]);}[_0x1e67f1(0x3a5)](_0x10c198){var _0x20fadd=_0x1e67f1;return this[_0x20fadd(0x3bd)](),this['_injector'][_0x20fadd(0x3c7)](ue,this['unitID'],this[_0x20fadd(0x30f)],null,this[_0x20fadd(0x416)],this[_0x20fadd(0x1da)],_0x10c198);}[_0x1e67f1(0x24b)](_0x4394b1,_0x411ff6){var _0x348728=_0x1e67f1,_0x36c68e;_0x4394b1===((_0x36c68e=this[_0x348728(0x299)])==null?void 0x0:_0x36c68e[_0x348728(0x224)])&&(this[_0x348728(0x42c)](),this[_0x348728(0x485)]=_0x411ff6===0x0?0x3e8:_0x411ff6*0x2);}[_0x1e67f1(0x3bd)](){var _0x1b5863=_0x1e67f1,_0x17ea16;(_0x17ea16=this[_0x1b5863(0x476)])==null||_0x17ea16['unsubscribe'](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x132dee(_0xe963d)),w(0x7,_0x132dee(_0x6c1f9a)),w(0x8,_0x31fd08),w(0x9,_0x34eeab),w(0xa,_0x311a8a),w(0xb,_0x442fbd),w(0xc,_0x12e690(J))],oe);let ue=class extends ge{constructor(_0x44ee98,_0x2e21c8,_0x104421,_0x1ffc2d,_0x455f9f,_0x3edd56=!0x1,_0x31dadb,_0x30ab1b,_0x236dd7,_0x18f329,_0xc6158f,_0x49d208,_0x4aee4a){var _0x2293d5=_0x1e67f1;super(_0x44ee98,_0x2e21c8,_0x104421,_0x1ffc2d,_0x455f9f,_0x30ab1b,_0x236dd7,_0x18f329,_0x4aee4a),D(this,_0x2293d5(0x29d),'conflict'),(this[_0x2293d5(0x28e)]=_0x3edd56,this['_permissionService']=_0x31dadb,this[_0x2293d5(0x2d2)]=_0xc6158f,this[_0x2293d5(0x2e8)]=_0x49d208,this['localCacheService']=_0x4aee4a,this[_0x2293d5(0x2d5)](),this[_0x2293d5(0x1e1)](),this[_0x2293d5(0x176)]());}['appendMutation'](){return this;}[_0x1e67f1(0x328)](){return this;}['onRemoteAck'](){return this;}[_0x1e67f1(0x1c1)](){return this;}[_0x1e67f1(0x27a)](){return this;}[_0x1e67f1(0x338)](){return this;}[_0x1e67f1(0x2c5)](){return this;}[_0x1e67f1(0x42c)](){var _0x2eed4c=_0x1e67f1;throw new Error(_0x2eed4c(0x36a));}[_0x1e67f1(0x1e1)](){var _0x2a635b=_0x1e67f1,_0x5043b1;(_0x5043b1=this['_localCacheService'])==null||_0x5043b1[_0x2a635b(0x2f1)](this['unitID'],this[_0x2a635b(0x30f)],null,[]);}[_0x1e67f1(0x2d5)](){var _0x3a0d05=_0x1e67f1;this[_0x3a0d05(0x28e)]?this['_collaborationUIEventService'][_0x3a0d05(0x242)]({'id':re[_0x3a0d05(0x30e)]}):this['_collaborationUIEventService'][_0x3a0d05(0x242)]({'id':re[_0x3a0d05(0x3f2)]});}[_0x1e67f1(0x176)](){var _0x4365e6=_0x1e67f1;this[_0x4365e6(0x2e3)][_0x4365e6(0x22d)](new _0x2cd5ad(this[_0x4365e6(0x234)])['id'],!0x1);}};ue=Se([w(0x6,_0x132dee(_0x247d04)),w(0x7,_0x31fd08),w(0x8,_0x442fbd),w(0x9,_0x132dee(_0x6c1f9a)),w(0xa,_0x132dee(_0x259b7b)),w(0xb,_0x132dee(ve)),w(0xc,_0x12e690(J))],ue);let de=class extends ge{constructor(_0x3bdb86,_0x27b09f,_0x5938cd,_0x1d6c44,_0x4fccdd,_0x1636ed,_0x228349,_0x4778a1,_0x426c8c,_0x3bddd6){var _0x195ece=_0x1e67f1;super(_0x3bdb86,_0x27b09f,_0x5938cd,_0x1d6c44,_0x4fccdd,_0x4778a1,_0x426c8c,_0x228349,_0x3bddd6),D(this,_0x195ece(0x29d),_0x195ece(0x386)),this[_0x195ece(0x2a8)]=_0x1636ed;}[_0x1e67f1(0x193)](_0x50a938){var _0x46864d=_0x1e67f1;return this[_0x46864d(0x416)]['push'](_0x50a938),this[_0x46864d(0x409)](),this;}[_0x1e67f1(0x328)](_0x22f3ca){var _0x3e3e79=_0x1e67f1;throw new Error(_0x3e3e79(0x175));}[_0x1e67f1(0x312)](){var _0x45b878=_0x1e67f1;throw new Error(_0x45b878(0x384));}[_0x1e67f1(0x1c1)](){var _0x44eda0=_0x1e67f1;throw new Error(_0x44eda0(0x42a));}[_0x1e67f1(0x27a)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x203121=_0x1e67f1;const {_injector:_0x450525,_pendingMutations:_0x49754e,_awaitingChangeset:_0x1e5c3b,unitID:_0x3acec0,_handler:_0x1f0930,type:_0x5d5e55}=this,_0x39c3fb=Ti(_0x450525,_0x3acec0,_0x5d5e55,_0x1e5c3b,_0x49754e,_0x1f0930);return _0x39c3fb instanceof ae?_0x39c3fb['_schedule']():(_0x39c3fb instanceof oe||_0x39c3fb instanceof le)&&_0x39c3fb[_0x203121(0x42c)](),_0x39c3fb;}['resend'](){var _0x24da8a=_0x1e67f1;throw new Error(_0x24da8a(0x3e1));}};de=Se([w(0x5,_0x132dee(_0xe963d)),w(0x6,_0x132dee(_0x6c1f9a)),w(0x7,_0x31fd08),w(0x8,_0x442fbd),w(0x9,_0x12e690(J))],de);let ee=class extends ge{constructor(_0x26581b,_0x55bd19,_0x36905f,_0x2ddc56,_0x15fe98,_0x331d14,_0x36f21e,_0x54f8ad,_0x33fae3,_0x100d10,_0x8c119a,_0x3faf1d,_0x5b0b6d,_0x2b00fb){var _0x537ecd=_0x1e67f1;super(_0x26581b,_0x55bd19,_0x36905f,_0x2ddc56,_0x36f21e,_0x8c119a,_0x3faf1d,_0x33fae3,_0x2b00fb),D(this,_0x537ecd(0x29d),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x15fe98,this[_0x537ecd(0x430)]=_0x331d14,this['_injector']=_0x54f8ad,this['_logService']=_0x100d10,this[_0x537ecd(0x247)]=_0x5b0b6d,this[_0x537ecd(0x436)]=_0x2b00fb);}['onMissedChangesetFetched'](_0x1e2b5f){var _0xcf387f=_0x1e67f1;try{const _0x197dc8=[..._0x1e2b5f,...this[_0xcf387f(0x430)]],_0x1a088e=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x3fedc7=>!!_0x3fedc7);let _0x4433eb,_0x48a0a1;if(_0x1a088e[_0xcf387f(0x19d)]){const _0x6b4278=this['_transformService'][_0xcf387f(0x275)](_0x197dc8,_0x1a088e,!0x1);if(!_0x4e6bf4(_0x6b4278))throw _0x6b4278[_0xcf387f(0x223)];_0x4433eb=_0x6b4278['c1Prime'],_0x48a0a1=_0x6b4278[_0xcf387f(0x33d)];}else _0x4433eb=_0x197dc8,_0x48a0a1=[];let _0x32e9f3=this[_0xcf387f(0x416)];_0x4433eb['forEach'](_0x217fb5=>{var _0x253dfa=_0xcf387f;let _0x3c9b5e;if(_0x32e9f3['length']){const _0x3845b0=this[_0x253dfa(0x247)][_0x253dfa(0x2ce)](_0x217fb5,_0x32e9f3);if(!_0x3b9868(_0x3845b0))throw _0x3845b0['error'];_0x3c9b5e=_0x3845b0[_0x253dfa(0x347)],_0x32e9f3=_0x3845b0['m2Prime'];}else _0x3c9b5e=_0x217fb5;this['_executeRemoteChangeset'](_0x3c9b5e);}),this[_0xcf387f(0x1bc)]&&this['_incrementRevisionNumber'](),this[_0xcf387f(0x299)]&&_0x48a0a1[_0xcf387f(0x19d)]&&(_0x48a0a1[0x0][_0xcf387f(0x412)]=this[_0xcf387f(0x18f)]());let _0x19f01d;if(this['_awaitingChangeset']&&_0x32e9f3[_0xcf387f(0x19d)]!==0x0)_0x19f01d=this['_injector'][_0xcf387f(0x3c7)](oe,this[_0xcf387f(0x234)],this[_0xcf387f(0x30f)],_0x48a0a1[0x0],_0x32e9f3,this[_0xcf387f(0x1da)],void 0x0);else{if(this[_0xcf387f(0x299)]&&_0x32e9f3[_0xcf387f(0x19d)]===0x0)_0x48a0a1[0x0]['baseRev']=this[_0xcf387f(0x18f)](),_0x19f01d=this[_0xcf387f(0x2a8)]['createInstance'](le,this['unitID'],this[_0xcf387f(0x30f)],_0x48a0a1[0x0],this['_handler']);else{if(_0x32e9f3['length']!==0x0){const _0xbd6641=this[_0xcf387f(0x2a8)][_0xcf387f(0x3c7)](ae,this[_0xcf387f(0x234)],this[_0xcf387f(0x30f)],_0x32e9f3,this[_0xcf387f(0x1da)]);_0xbd6641[_0xcf387f(0x1cb)](),_0x19f01d=_0xbd6641;}else _0x19f01d=this[_0xcf387f(0x2a8)][_0xcf387f(0x3c7)](be,this[_0xcf387f(0x234)],this[_0xcf387f(0x30f)],this['_handler']);}}return _0x19f01d[_0xcf387f(0x409)](),_0x19f01d;}catch(_0x2659d0){return this[_0xcf387f(0x22e)][_0xcf387f(0x223)](_0xcf387f(0x1a9),_0xcf387f(0x1c7),_0x2659d0),this[_0xcf387f(0x2a8)]['createInstance'](ue,this[_0xcf387f(0x234)],this[_0xcf387f(0x30f)],this[_0xcf387f(0x299)],this[_0xcf387f(0x416)],this['_handler'],!0x1);}}[_0x1e67f1(0x42c)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1e67f1(0x193)](_0xcac380){var _0xe6f1cf=_0x1e67f1;return this[_0xe6f1cf(0x416)][_0xe6f1cf(0x417)](_0xcac380),this;}['onRemoteChangeset'](_0x655709){var _0x289c43=_0x1e67f1;return this[_0x289c43(0x430)]['push'](_0x655709),this;}[_0x1e67f1(0x312)](_0x22b79e){var _0x5c9c7d=_0x1e67f1;if(this[_0x5c9c7d(0x299)])return this[_0x5c9c7d(0x1bc)]=this[_0x5c9c7d(0x299)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1e67f1(0x1c1)](_0xb59490){var _0x57b175=_0x1e67f1;return this[_0x57b175(0x3a5)](!!(_0xb59490!=null&&_0xb59490[_0x57b175(0x2b3)]));}[_0x1e67f1(0x27a)](){return this;}['toggleOffline'](){var _0x3a0173=_0x1e67f1;return this['_injector'][_0x3a0173(0x3c7)](de,this[_0x3a0173(0x234)],this[_0x3a0173(0x30f)],this[_0x3a0173(0x299)],this[_0x3a0173(0x416)],this[_0x3a0173(0x1da)]);}[_0x1e67f1(0x2c5)](){return this;}[_0x1e67f1(0x3a5)](_0x4860f9){var _0x33ec6c=_0x1e67f1;return this[_0x33ec6c(0x2a8)][_0x33ec6c(0x3c7)](ue,this[_0x33ec6c(0x234)],this['type'],this[_0x33ec6c(0x299)],this[_0x33ec6c(0x416)],this['_handler'],_0x4860f9);}};ee=Se([w(0x7,_0x132dee(_0xe963d)),w(0x8,_0x132dee(_0x6c1f9a)),w(0x9,_0x34eeab),w(0xa,_0x31fd08),w(0xb,_0x442fbd),w(0xc,_0x311a8a),w(0xd,_0x12e690(J))],ee);function Ti(_0x23ffc6,_0x3a0c49,_0x9b7619,_0x215998,_0x1a4cff,_0x5d877c){var _0x5eadc9=_0x1e67f1;return _0x215998&&_0x1a4cff['length']?_0x23ffc6[_0x5eadc9(0x3c7)](oe,_0x3a0c49,_0x9b7619,_0x215998,_0x1a4cff,_0x5d877c,void 0x0):_0x215998?_0x23ffc6[_0x5eadc9(0x3c7)](le,_0x3a0c49,_0x9b7619,_0x215998,_0x5d877c):_0x1a4cff[_0x5eadc9(0x19d)]?_0x23ffc6[_0x5eadc9(0x3c7)](ae,_0x3a0c49,_0x9b7619,_0x1a4cff,_0x5d877c):_0x23ffc6[_0x5eadc9(0x3c7)](be,_0x3a0c49,_0x9b7619,_0x5d877c);}var Bs=Object[_0x1e67f1(0x35d)],Pt=(_0x237d33,_0x1ea5f1,_0x45b1c1,_0x58b164)=>{for(var _0x4cb18e=_0x58b164>0x1?void 0x0:_0x58b164?Bs(_0x1ea5f1,_0x45b1c1):_0x1ea5f1,_0x47460e=_0x237d33['length']-0x1,_0x483be8;_0x47460e>=0x0;_0x47460e--)(_0x483be8=_0x237d33[_0x47460e])&&(_0x4cb18e=_0x483be8(_0x4cb18e)||_0x4cb18e);return _0x4cb18e;},$=(_0x2ff339,_0xf92797)=>(_0x45dad0,_0x1db1c8)=>_0xf92797(_0x45dad0,_0x1db1c8,_0x2ff339);let st=class extends _0xe931df{constructor(_0x41e2a5,_0x212922,_0xd5a2fc,_0x4e2d9a,_0x51c053,_0x34a023,_0x2716e3,_0x693bf7,_0x47a82c,_0x382a21,_0x487ce9,_0x5eb123,_0x5555dd,_0x26ba42){var _0x21eb16=_0x1e67f1;super(),D(this,_0x21eb16(0x2c7),new _0x232913(null)),D(this,_0x21eb16(0x2a2),this['_state$'][_0x21eb16(0x1a7)]()),D(this,_0x21eb16(0x2f0)),D(this,_0x21eb16(0x40c),!0x1),D(this,'_changesetSessionId',''),D(this,'_changesetReqId',0x0),D(this,_0x21eb16(0x39a),this[_0x21eb16(0x2a2)][_0x21eb16(0x34b)](_0x716d2f(_0x2ff04d=>_0x2ff04d?_0x2ff04d[_0x21eb16(0x29d)]:Si['OFFLINE']),_0x142de6(0x1))),D(this,_0x21eb16(0x262),!0x1),D(this,_0x21eb16(0x440),[]),(this[_0x21eb16(0x234)]=_0x41e2a5,this[_0x21eb16(0x2de)]=_0x212922,this[_0x21eb16(0x3e0)]=_0xd5a2fc,this[_0x21eb16(0x2a8)]=_0x4e2d9a,this[_0x21eb16(0x3b0)]=_0x51c053,this[_0x21eb16(0x2d2)]=_0x34a023,this[_0x21eb16(0x204)]=_0x2716e3,this[_0x21eb16(0x250)]=_0x693bf7,this['_univerInstanceService']=_0x47a82c,this[_0x21eb16(0x22e)]=_0x382a21,this[_0x21eb16(0x46e)]=_0x487ce9,this[_0x21eb16(0x2e3)]=_0x5eb123,this['_singleActiveUnitService']=_0x5555dd,this[_0x21eb16(0x3ea)]=_0x26ba42);}get['state'](){var _0x2c4da5=_0x1e67f1;return this[_0x2c4da5(0x2f0)];}async[_0x1e67f1(0x356)](){var _0x2c8f19=_0x1e67f1;if(this['state'])throw new Error(_0x2c8f19(0x431));await this[_0x2c8f19(0x2cb)]();}['pauseCollaboration'](){var _0x3ebd74=_0x1e67f1;return this[_0x3ebd74(0x40c)]=!0x0,_0x313e94(()=>{var _0x46cac0=_0x3ebd74;this[_0x46cac0(0x40c)]=!0x1,this[_0x46cac0(0x387)]();});}[_0x1e67f1(0x197)](_0x46da7b){this['_onLocalMutation'](_0x46da7b);}['_updateState'](_0x21d607){var _0x2f6c39=_0x1e67f1;this[_0x2f6c39(0x2f0)]=_0x21d607,this['_state$']['next'](_0x21d607);}async[_0x1e67f1(0x2cb)](){var _0x477f47=_0x1e67f1,_0x552ae5;this[_0x477f47(0x32d)](await this[_0x477f47(0x269)]()),this[_0x477f47(0x235)]&&((_0x552ae5=this[_0x477f47(0x235)])==null||_0x552ae5['editingUnit'](this[_0x477f47(0x234)]),this[_0x477f47(0x20f)](this[_0x477f47(0x235)][_0x477f47(0x1b3)](this['unitID'])[_0x477f47(0x3cb)](_0x321cea=>{var _0xac6dea=_0x477f47;this[_0xac6dea(0x22e)][_0xac6dea(0x370)]('[CollaborationEntity]',_0xac6dea(0x46f),_0x321cea),_0x321cea===mi[_0xac6dea(0x211)]?(this['_eventService'][_0xac6dea(0x242)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0xac6dea(0x2e3)][_0xac6dea(0x22d)](new _0x2cd5ad(this[_0xac6dea(0x234)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0xac6dea(0x2e3)]['updatePermissionPoint'](new _0x2cd5ad(this[_0xac6dea(0x234)])['id'],!0x0),this['_permissionService'][_0xac6dea(0x3da)](!0x0));})));let _0xa050be=!0x1;return this[_0x477f47(0x20f)](this[_0x477f47(0x2de)]['sessionStatus$'][_0x477f47(0x3cb)](_0x378126=>{var _0x2b6462=_0x477f47;_0x378126===me[_0x2b6462(0x469)]?this[_0x2b6462(0x41a)](_0xa050be):_0x378126===me[_0x2b6462(0x1e7)]&&(_0xa050be=!0x0,this[_0x2b6462(0x317)]());})),this[_0x477f47(0x20f)](this[_0x477f47(0x2de)]['event$'][_0x477f47(0x3cb)](_0x25f2bf=>{var _0x254b27=_0x477f47;try{switch(_0x25f2bf[_0x254b27(0x295)]){case _0x2764d9[_0x254b27(0x439)]:{this[_0x254b27(0x46c)](_0xbd534(_0x25f2bf[_0x254b27(0x486)]));break;}case _0x2764d9['CHANGESET_ACK']:{this[_0x254b27(0x27c)](_0x25f2bf[_0x254b27(0x486)]);break;}case _0x2764d9[_0x254b27(0x421)]:{this[_0x254b27(0x1d9)]();break;}case _0x2764d9['CHANGESET_SHOULD_RETRY']:{this[_0x254b27(0x314)](_0x25f2bf['data']);break;}case _0x2764d9[_0x254b27(0x2b8)]:{this[_0x254b27(0x454)](_0x25f2bf[_0x254b27(0x486)][_0x254b27(0x316)][_0x254b27(0x3ee)](_0x572a00=>_0xbd534(_0x572a00)));break;}case _0x2764d9[_0x254b27(0x27e)]:{this[_0x254b27(0x1d9)]({'isPermissionRej':!0x0});break;}case _0x2764d9[_0x254b27(0x331)]:break;}}catch(_0x110977){throw console[_0x254b27(0x223)](_0x254b27(0x243),_0x110977),_0x110977;}})),this[_0x477f47(0x2f0)];}[_0x1e67f1(0x1ae)](){var _0x271c7e=_0x1e67f1;this[_0x271c7e(0x262)]=!0x1;}[_0x1e67f1(0x232)](){var _0x372031=_0x1e67f1;if(this[_0x372031(0x262)])throw new Error(_0x372031(0x1ec));this['_transitionLocked']=!0x0;}[_0x1e67f1(0x304)](_0x348e68){var _0x5bc001=_0x1e67f1;this[_0x5bc001(0x232)](),this['_updateState'](this[_0x5bc001(0x2f0)][_0x5bc001(0x193)](_0x348e68)),this[_0x5bc001(0x1ae)]();}[_0x1e67f1(0x46c)](_0x111786){var _0x91c5b6=_0x1e67f1;if(!(_0x111786[_0x91c5b6(0x2a1)]<=this[_0x91c5b6(0x204)][_0x91c5b6(0x376)](this[_0x91c5b6(0x234)]))){if(this[_0x91c5b6(0x40c)]){this[_0x91c5b6(0x440)][_0x91c5b6(0x417)](_0x111786);return;}this[_0x91c5b6(0x2a5)](_0x111786);}}[_0x1e67f1(0x387)](){var _0x10c384=_0x1e67f1;this['_remoteChangesetQueue']['forEach'](_0x2c63a4=>this[_0x10c384(0x2a5)](_0x2c63a4)),this['_remoteChangesetQueue']=[];}[_0x1e67f1(0x2a5)](_0x47e340){var _0x449a62=_0x1e67f1;const _0x2b339a=this[_0x449a62(0x3b0)][_0x449a62(0x248)][_0x449a62(0x254)](this['_compressMutationService'][_0x449a62(0x248)][_0x449a62(0x351)]()[_0x449a62(0x3de)])(_0x47e340['mutations'],null)||_0x47e340[_0x449a62(0x3e2)],_0x5af558={..._0x47e340,'mutations':_0x2b339a};this[_0x449a62(0x232)](),this[_0x449a62(0x32d)](this[_0x449a62(0x2f0)][_0x449a62(0x328)](_0x5af558)),this[_0x449a62(0x1ae)]();}[_0x1e67f1(0x27c)](_0x255fc9){var _0xa36f59=_0x1e67f1;this[_0xa36f59(0x232)](),this['_updateState'](this[_0xa36f59(0x2f0)][_0xa36f59(0x312)](_0x255fc9)),this['_unlockTransition']();}[_0x1e67f1(0x1d9)](_0x431c74){var _0x236cc7=_0x1e67f1;this[_0x236cc7(0x232)](),this[_0x236cc7(0x32d)](this[_0x236cc7(0x2f0)]['onRemoteRej'](_0x431c74)),this[_0x236cc7(0x1ae)]();}['_onRemoteRetry'](_0x35a53f){var _0x454788=_0x1e67f1;this['_lockTransition'](),this['_updateState'](this[_0x454788(0x2f0)][_0x454788(0x27a)](_0x35a53f)),this[_0x454788(0x1ae)]();}[_0x1e67f1(0x454)](_0x19ec80){var _0x4a082c=_0x1e67f1;if(!(this[_0x4a082c(0x2f0)]instanceof ee))throw new TypeError(_0x4a082c(0x460));const _0x461832=_0x19ec80[_0x4a082c(0x3ee)](_0x2d69b6=>{var _0x5c9716=_0x4a082c;const _0x5ad407=this[_0x5c9716(0x3b0)][_0x5c9716(0x248)]['fetchThroughInterceptors'](this[_0x5c9716(0x3b0)][_0x5c9716(0x248)][_0x5c9716(0x351)]()[_0x5c9716(0x3de)])(_0x2d69b6[_0x5c9716(0x3e2)],null)||_0x2d69b6[_0x5c9716(0x3e2)];return{..._0x2d69b6,'mutations':_0x5ad407};});this[_0x4a082c(0x232)](),this[_0x4a082c(0x32d)](this['_state'][_0x4a082c(0x365)](_0x461832)),this['_unlockTransition']();}[_0x1e67f1(0x317)](){var _0xab413f=_0x1e67f1;this[_0xab413f(0x232)](),this[_0xab413f(0x32d)](this[_0xab413f(0x2f0)][_0xab413f(0x338)]()),this[_0xab413f(0x1ae)]();}[_0x1e67f1(0x41a)](_0x5d6500=!0x1){var _0x4a630c=_0x1e67f1;this[_0x4a630c(0x232)](),this[_0x4a630c(0x32d)](this['_state'][_0x4a630c(0x2c5)]()),this[_0x4a630c(0x1ae)]();const _0x376e9b=this[_0x4a630c(0x2f0)];_0x5d6500&&_0x376e9b instanceof be&&(this[_0x4a630c(0x232)](),this[_0x4a630c(0x32d)](_0x376e9b[_0x4a630c(0x291)]()),this['_unlockTransition']());}async[_0x1e67f1(0x269)](){return new Promise(_0x28fca0=>{var _0x2536fd=_0x51b2;this[_0x2536fd(0x2de)]['sessionStatus$'][_0x2536fd(0x34b)](_0x93de05(0x1))[_0x2536fd(0x3cb)](async _0x35312e=>{var _0x50ec54=_0x2536fd;_0x28fca0(await this[_0x50ec54(0x180)](_0x35312e===me['ONLINE']));});});}[_0x1e67f1(0x33c)](){var _0x4917fe=_0x1e67f1;const _0x35a429=this[_0x4917fe(0x234)];return{'onStateChange':(_0x436e7b,_0x3d6d79)=>{var _0x1368d9=_0x4917fe;if(_0x436e7b!==this[_0x1368d9(0x2f0)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x436e7b[_0x1368d9(0x29d)]+_0x1368d9(0x28d)+_0x3d6d79[_0x1368d9(0x29d)]+_0x1368d9(0x23e)+this[_0x1368d9(0x2f0)][_0x1368d9(0x29d)]);this['_updateState'](_0x3d6d79);},'onSendChangeset':_0x2e2bda=>{var _0x5782ad=_0x4917fe;_0x2e2bda[_0x5782ad(0x185)]||(_0x2e2bda['sid']=this[_0x5782ad(0x28f)],_0x2e2bda[_0x5782ad(0x224)]=++this[_0x5782ad(0x36f)]);const _0x53f553={'eventID':_0x2764d9[_0x5782ad(0x31e)],'data':{'unitID':_0x2e2bda[_0x5782ad(0x234)],'unitType':this[_0x5782ad(0x3e0)],'changeset':_0x2e2bda,'memberID':this['session'][_0x5782ad(0x3c3)]()}};this[_0x5782ad(0x2de)][_0x5782ad(0x20b)](_0x53f553,this['unitID']);},'onMissingChangesets':({from:_0x12145a,to:_0x219729})=>{var _0x50e669=_0x4917fe;this[_0x50e669(0x22e)]['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x12145a+_0x50e669(0x3b6)+_0x219729);const _0x3446f1={'eventID':_0x2764d9[_0x50e669(0x1be)],'data':{'unitID':_0x35a429,'unitType':this[_0x50e669(0x3e0)],'from':_0x12145a,'to':_0x219729}};this['session'][_0x50e669(0x20b)](_0x3446f1,this[_0x50e669(0x234)]);}};}async[_0x1e67f1(0x180)](_0x2ff4b3){var _0xbc7841=_0x1e67f1,_0x2c8865,_0x531818,_0x29c5af;const _0x3cdf63=await((_0x2c8865=this[_0xbc7841(0x3ea)])==null?void 0x0:_0x2c8865['loadOfflineData'](this[_0xbc7841(0x234)])),_0x2600be=(_0x531818=_0x3cdf63==null?void 0x0:_0x3cdf63['mutations'])!=null?_0x531818:[],_0x36a303=(_0x29c5af=_0x3cdf63==null?void 0x0:_0x3cdf63[_0xbc7841(0x315)])!=null?_0x29c5af:null,_0x46e013=!!(_0x36a303!=null&&_0x36a303[_0xbc7841(0x185)])&&!!(_0x36a303!=null&&_0x36a303[_0xbc7841(0x224)]);this[_0xbc7841(0x28f)]=_0x46e013?_0x36a303[_0xbc7841(0x185)]:_0x3c5aa4(),this[_0xbc7841(0x36f)]=_0x46e013?_0x36a303[_0xbc7841(0x224)]:0x0;const _0x4ebc45=this[_0xbc7841(0x234)];try{this['_replayCachedMutations'](_0x36a303,_0x2600be);}catch(_0x3dced5){this[_0xbc7841(0x22e)]['error'](_0x3dced5);}const _0xc43684=this[_0xbc7841(0x33c)]();if(_0x2ff4b3){const _0xa5332d=Ti(this[_0xbc7841(0x2a8)],_0x4ebc45,this['_type'],_0x36a303,_0x2600be,_0xc43684);return _0xa5332d instanceof ae?_0xa5332d[_0xbc7841(0x1cb)]():(_0xa5332d instanceof oe||_0xa5332d instanceof le)&&_0xa5332d[_0xbc7841(0x42c)](),_0xa5332d;}return this['_injector'][_0xbc7841(0x3c7)](de,_0x4ebc45,this['_type'],_0x36a303,_0x2600be,_0xc43684);}[_0x1e67f1(0x1ac)](_0x2fafce,_0x484446){var _0x390f81=_0x1e67f1,_0x124689,_0x441a12;const _0x34aba0=this[_0x390f81(0x3b0)][_0x390f81(0x248)][_0x390f81(0x254)](this['_compressMutationService'][_0x390f81(0x248)][_0x390f81(0x351)]()[_0x390f81(0x3de)]);(_0x124689=_0x34aba0((_0x2fafce==null?void 0x0:_0x2fafce[_0x390f81(0x3e2)])||[],null))==null||_0x124689[_0x390f81(0x341)](_0x27d789=>this[_0x390f81(0x46e)][_0x390f81(0x3d4)](_0x27d789['id'],_0x27d789[_0x390f81(0x265)])),(_0x441a12=_0x34aba0(_0x484446||[],null))==null||_0x441a12[_0x390f81(0x341)](_0xd79f36=>this[_0x390f81(0x46e)]['executeCommand'](_0xd79f36['id'],_0xd79f36[_0x390f81(0x265)]));}};st=Pt([$(0x3,_0x132dee(_0xe963d)),$(0x4,_0x132dee(_0x47d6c2)),$(0x5,_0x132dee(_0x259b7b)),$(0x6,_0x132dee(_0x6c1f9a)),$(0x7,_0x132dee(ve)),$(0x8,_0x524058),$(0x9,_0x34eeab),$(0xa,_0x31fd08),$(0xb,_0x247d04),$(0xc,_0x12e690(_t)),$(0xd,_0x12e690(J))],st);let It=class extends st{constructor(_0x299dde,_0x53d6cd,_0x39d484,_0x7c69b0,_0x215a31,_0x21c07c,_0x27fad8,_0x50927c,_0x38a13c,_0x4383f9,_0x29ea51,_0x56e69a,_0x747d54,_0x46c3f7){var _0x1e39eb=_0x1e67f1;super(_0x299dde,_0x39d484,_0x53d6cd,_0x7c69b0,_0x215a31,_0x21c07c,_0x27fad8,_0x50927c,_0x38a13c,_0x4383f9,_0x29ea51,_0x56e69a,_0x747d54,_0x46c3f7),D(this,_0x1e39eb(0x32c),null),(this[_0x1e39eb(0x234)]=_0x299dde,this['type']=_0x53d6cd);}[_0x1e67f1(0x3b9)](_0x512380){this['_handlerCallback']=_0x512380;}[_0x1e67f1(0x1cd)](){var _0xeb7bcb=_0x1e67f1;this['_handlerCallback']=null,super[_0xeb7bcb(0x1cd)]();}[_0x1e67f1(0x33c)](){var _0x48592=_0x1e67f1;const _0x3bb26a=super['_createHandler']();return _0x3bb26a[_0x48592(0x1ee)]=_0x14ab55=>{var _0x2bcc68=_0x48592,_0x534351,_0xfd9982;return(_0xfd9982=(_0x534351=this[_0x2bcc68(0x32c)])==null?void 0x0:_0x534351[_0x2bcc68(0x1ee)])==null?void 0x0:_0xfd9982[_0x2bcc68(0x1bf)](_0x534351,_0x14ab55);},_0x3bb26a[_0x48592(0x1a0)]=_0x2bb9cb=>{var _0x229376=_0x48592,_0xd1cfd,_0x80a422;return(_0x80a422=(_0xd1cfd=this['_handlerCallback'])==null?void 0x0:_0xd1cfd[_0x229376(0x1a0)])==null?void 0x0:_0x80a422[_0x229376(0x1bf)](_0xd1cfd,_0x2bb9cb);},_0x3bb26a[_0x48592(0x43e)]=_0x3eb5ac=>{var _0x414940=_0x48592,_0x373ec2,_0x52a5c4;return(_0x52a5c4=(_0x373ec2=this[_0x414940(0x32c)])==null?void 0x0:_0x373ec2[_0x414940(0x43e)])==null?void 0x0:_0x52a5c4[_0x414940(0x1bf)](_0x373ec2,_0x3eb5ac);},_0x3bb26a[_0x48592(0x1d6)]=_0x1702ab=>{var _0x23c33a=_0x48592,_0x1f3868,_0x4d2141;return(_0x4d2141=(_0x1f3868=this[_0x23c33a(0x32c)])==null?void 0x0:_0x1f3868[_0x23c33a(0x1d6)])==null?void 0x0:_0x4d2141['call'](_0x1f3868,_0x1702ab);},_0x3bb26a['onTransformRemoteChangesetByIMECache']=_0x467f72=>{var _0x201057=_0x48592,_0x181a0f,_0x6b773e,_0x55f67c;if(!((_0x181a0f=this[_0x201057(0x32c)])!=null&&_0x181a0f[_0x201057(0x2ec)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x55f67c=(_0x6b773e=this['_handlerCallback'])==null?void 0x0:_0x6b773e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x55f67c[_0x201057(0x1bf)](_0x6b773e,_0x467f72);},_0x3bb26a[_0x48592(0x3f7)]=_0x1c6fb2=>{var _0x338a2e=_0x48592,_0x359ad6,_0x6df475,_0x1717b2;if(!((_0x359ad6=this[_0x338a2e(0x32c)])!=null&&_0x359ad6['onTransformRemoteChangesetByStateCache']))throw new Error(_0x338a2e(0x3c5));return(_0x1717b2=(_0x6df475=this[_0x338a2e(0x32c)])==null?void 0x0:_0x6df475[_0x338a2e(0x3f7)])==null?void 0x0:_0x1717b2[_0x338a2e(0x1bf)](_0x6df475,_0x1c6fb2);},_0x3bb26a;}async[_0x1e67f1(0x2cb)](){var _0x3a6f1d=_0x1e67f1;const _0x4e0205=await super[_0x3a6f1d(0x2cb)]();return this[_0x3a6f1d(0x20f)](this['_commandService'][_0x3a6f1d(0x468)]((_0x155867,_0x56805f)=>{var _0x53d4bb=_0x3a6f1d;if(_0x155867[_0x53d4bb(0x30f)]!==_0x4c8355[_0x53d4bb(0x255)]||_0x56805f!=null&&_0x56805f[_0x53d4bb(0x39b)]||_0x56805f!=null&&_0x56805f[_0x53d4bb(0x3ef)]||_0x155867['id']===_0x433601['id'])return;const _0x247e3b=_0x155867['params'];if((_0x247e3b==null?void 0x0:_0x247e3b[_0x53d4bb(0x1f6)])!==this[_0x53d4bb(0x234)])return;const _0x2df9dc=_0x155867,_0x23b495=this['_compressMutationService'][_0x53d4bb(0x248)][_0x53d4bb(0x254)](this[_0x53d4bb(0x3b0)][_0x53d4bb(0x248)][_0x53d4bb(0x351)]()['COMPRESS_MUTATION_SEND'])([_0x2df9dc],this[_0x53d4bb(0x239)])||[_0x2df9dc];this[_0x53d4bb(0x304)](_0x23b495[0x0]);})),_0x4e0205;}};It=Pt([$(0x3,_0x132dee(_0xe963d)),$(0x4,_0x132dee(_0x47d6c2)),$(0x5,_0x132dee(_0x259b7b)),$(0x6,_0x132dee(_0x6c1f9a)),$(0x7,_0x132dee(ve)),$(0x8,_0x524058),$(0x9,_0x34eeab),$(0xa,_0x31fd08),$(0xb,_0x247d04),$(0xc,_0x12e690(_t)),$(0xd,_0x12e690(J))],It);let St=class extends st{constructor(_0x5813f0,_0x374f7b,_0x2570ac,_0x194176,_0x2f66db,_0x26876c,_0x3a7a6e,_0xfe7dd0,_0x3515af,_0x12fe6e,_0x1cc11f,_0x304eeb,_0x4af552,_0xf8d9a6,_0x27670b){var _0x339a0f=_0x1e67f1;super(_0x5813f0,_0x2570ac,_0x374f7b,_0x194176,_0x2f66db,_0x26876c,_0x3a7a6e,_0x3515af,_0x12fe6e,_0x1cc11f,_0x304eeb,_0x4af552,_0xf8d9a6,_0x27670b),this[_0x339a0f(0x234)]=_0x5813f0,this['type']=_0x374f7b,this[_0x339a0f(0x228)]=_0xfe7dd0;}[_0x1e67f1(0x33c)](){var _0x349439=_0x1e67f1;const _0x3d6573=super[_0x349439(0x33c)]();return _0x3d6573['onTransformSelections']=_0x547c54=>this[_0x349439(0x228)]['transformSelections'](_0x547c54),_0x3d6573;}async['_init'](){var _0x47ccb4=_0x1e67f1;const _0x21c5e1=await super[_0x47ccb4(0x2cb)]();return this[_0x47ccb4(0x20f)](this[_0x47ccb4(0x46e)][_0x47ccb4(0x468)]((_0x429c62,_0x17c182)=>{var _0x5e6f33=_0x47ccb4;if(_0x429c62[_0x5e6f33(0x30f)]!==_0x4c8355['MUTATION']||_0x17c182!=null&&_0x17c182[_0x5e6f33(0x39b)]||_0x17c182!=null&&_0x17c182[_0x5e6f33(0x3ef)])return;const _0x4e5146=_0x429c62['params'];if((_0x4e5146==null?void 0x0:_0x4e5146[_0x5e6f33(0x1f6)])!==this[_0x5e6f33(0x234)])return;const _0x331c48=_0x429c62,_0x39ba97=this[_0x5e6f33(0x3b0)][_0x5e6f33(0x248)][_0x5e6f33(0x254)](this['_compressMutationService'][_0x5e6f33(0x248)]['getInterceptPoints']()[_0x5e6f33(0x25f)])([_0x331c48],this['_univerInstanceService'])||[_0x331c48];this[_0x5e6f33(0x304)](_0x39ba97[0x0]);})),_0x21c5e1;}};St=Pt([$(0x3,_0x132dee(_0xe963d)),$(0x4,_0x132dee(_0x47d6c2)),$(0x5,_0x132dee(_0x259b7b)),$(0x6,_0x132dee(_0x6c1f9a)),$(0x7,_0x132dee(it)),$(0x8,_0x132dee(ve)),$(0x9,_0x524058),$(0xa,_0x34eeab),$(0xb,_0x31fd08),$(0xc,_0x247d04),$(0xd,_0x12e690(_t)),$(0xe,_0x12e690(J))],St);const js=_0x46cda0(_0x1e67f1(0x346));function Fs(_0x16b192){var _0x4c0628=_0x1e67f1,_0x2760f7,_0x11bcb0,_0x81e231,_0x3e965a,_0x33f576;const _0x13dd28=_0x16b192['data'],_0x179c93=JSON['parse'](_0x13dd28);switch(_0x179c93[_0x4c0628(0x2c3)]){case F['HEARTBEAT']:case F['HELLO']:{const _0xf4ed53=_0x179c93[_0x4c0628(0x2e0)];return{..._0x179c93,'data':_0xf4ed53,'cmd':_0x179c93[_0x4c0628(0x2c3)]};}case F[_0x4c0628(0x2e7)]:{const _0xb733e5=_0x179c93['joinRsp'];return{..._0x179c93,'data':_0xb733e5,'cmd':_0x179c93[_0x4c0628(0x2c3)]};}case F[_0x4c0628(0x205)]:{const _0x375c74=_0x179c93[_0x4c0628(0x2c9)];switch(_0x375c74[_0x4c0628(0x295)]){case _0x2764d9[_0x4c0628(0x27e)]:return{..._0x179c93,'data':{..._0x375c74,'data':(_0x2760f7=_0x375c74[_0x4c0628(0x25c)])==null?void 0x0:_0x2760f7['cs']},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9[_0x4c0628(0x22a)]:return{..._0x179c93,'data':{..._0x375c74,'data':(_0x11bcb0=_0x375c74[_0x4c0628(0x29f)])==null?void 0x0:_0x11bcb0['cs']},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9['NEW_CHANGESETS']:return{..._0x179c93,'data':{..._0x375c74,'data':(_0x81e231=_0x375c74[_0x4c0628(0x3d8)])==null?void 0x0:_0x81e231['cs']},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9[_0x4c0628(0x421)]:return{..._0x179c93,'data':{..._0x375c74,'data':(_0x3e965a=_0x375c74['csRejEvent'])==null?void 0x0:_0x3e965a['cs']},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9[_0x4c0628(0x1f7)]:return{..._0x179c93,'data':{..._0x375c74,'data':(_0x33f576=_0x375c74[_0x4c0628(0x26b)])==null?void 0x0:_0x33f576['cs']},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9[_0x4c0628(0x455)]:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74[_0x4c0628(0x233)]},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9[_0x4c0628(0x332)]:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74['joinEvent']},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9[_0x4c0628(0x2fb)]:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74[_0x4c0628(0x3ad)]},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9[_0x4c0628(0x337)]:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74[_0x4c0628(0x40b)]},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9[_0x4c0628(0x335)]:case _0x2764d9[_0x4c0628(0x46b)]:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74['liveShareOperation']},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9['LIVESHARE_TERMINATE']:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74[_0x4c0628(0x40b)]},'cmd':_0x179c93['cmd']};case _0x2764d9[_0x4c0628(0x1e6)]:return{..._0x179c93,'data':_0x375c74,'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9['COMMENT_UPDATE']:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74['commentUpdateEvent']},'cmd':_0x179c93['cmd']};case _0x2764d9[_0x4c0628(0x2e1)]:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74['updatePermissionObjEvent']},'cmd':_0x179c93[_0x4c0628(0x2c3)]};case _0x2764d9[_0x4c0628(0x20a)]:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74[_0x4c0628(0x301)]},'cmd':_0x179c93['cmd']};case _0x2764d9[_0x4c0628(0x331)]:return{..._0x179c93,'data':{..._0x375c74,'data':_0x375c74[_0x4c0628(0x342)]},'cmd':_0x179c93[_0x4c0628(0x2c3)]};default:return _0x179c93;}}default:return _0x179c93;}}function Vs(_0x4115be){var _0xd261f=_0x1e67f1;switch(_0x4115be[_0xd261f(0x2c3)]){case F[_0xd261f(0x43b)]:case F[_0xd261f(0x33a)]:return JSON['stringify']({'cmd':_0x4115be['cmd'],'routeKey':_0x4115be[_0xd261f(0x350)]});case F[_0xd261f(0x48d)]:{let _0x924b05;switch(_0x4115be[_0xd261f(0x486)][_0xd261f(0x295)]){case _0x2764d9['UPDATE_CURSOR']:{_0x924b05={'eventID':_0x2764d9[_0xd261f(0x455)],'updateCursorEvent':_0x4115be[_0xd261f(0x486)][_0xd261f(0x486)]};break;}case _0x2764d9[_0xd261f(0x2fb)]:{_0x924b05={'eventID':_0x2764d9[_0xd261f(0x2fb)],'leaveEvent':_0x4115be['data'][_0xd261f(0x486)]};break;}case _0x2764d9[_0xd261f(0x332)]:{_0x924b05={'eventID':_0x2764d9[_0xd261f(0x332)],'joinEvent':_0x4115be[_0xd261f(0x486)][_0xd261f(0x486)]};break;}case _0x2764d9[_0xd261f(0x337)]:{_0x924b05={'eventID':_0x2764d9['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x4115be['data'][_0xd261f(0x486)]};break;}case _0x2764d9[_0xd261f(0x46b)]:{_0x924b05={'eventID':_0x2764d9[_0xd261f(0x46b)],'liveShareOperation':_0x4115be[_0xd261f(0x486)][_0xd261f(0x486)]};break;}case _0x2764d9['LIVESHARE_TERMINATE']:{_0x924b05={'eventID':_0x2764d9[_0xd261f(0x2db)],'liveShareTerminate':_0x4115be[_0xd261f(0x486)][_0xd261f(0x486)]};break;}case _0x2764d9[_0xd261f(0x2e5)]:{_0x924b05={'eventID':_0x2764d9[_0xd261f(0x2e5)],'liveShareRequestHost':_0x4115be[_0xd261f(0x486)][_0xd261f(0x486)]};break;}case _0x2764d9[_0xd261f(0x335)]:{_0x924b05={'eventID':_0x2764d9[_0xd261f(0x335)]};break;}default:_0x924b05={'eventID':_0x4115be[_0xd261f(0x486)][_0xd261f(0x295)]};}return JSON[_0xd261f(0x2ae)]({'cmd':_0x4115be[_0xd261f(0x2c3)],'routeKey':_0x4115be['routeKey'],'collaMsg':_0x924b05});}case F[_0xd261f(0x2e7)]:return JSON['stringify']({'cmd':_0x4115be[_0xd261f(0x2c3)],'routeKey':_0x4115be[_0xd261f(0x350)],'joinReq':_0x4115be[_0xd261f(0x486)]});case F[_0xd261f(0x310)]:return JSON['stringify']({'cmd':_0x4115be[_0xd261f(0x2c3)],'routeKey':_0x4115be[_0xd261f(0x350)],'leaveReq':_0x4115be['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Gs=Object[_0x1e67f1(0x35d)],Ws=(_0x903345,_0x12ce65,_0x3a4aba,_0x58e955)=>{var _0x585d03=_0x1e67f1;for(var _0x5f2ecf=_0x58e955>0x1?void 0x0:_0x58e955?Gs(_0x12ce65,_0x3a4aba):_0x12ce65,_0x5d313f=_0x903345[_0x585d03(0x19d)]-0x1,_0x495866;_0x5d313f>=0x0;_0x5d313f--)(_0x495866=_0x903345[_0x5d313f])&&(_0x5f2ecf=_0x495866(_0x5f2ecf)||_0x5f2ecf);return _0x5f2ecf;},ye=(_0xbaee61,_0x16760d)=>(_0xcce3b4,_0x2a5d3e)=>_0x16760d(_0xcce3b4,_0x2a5d3e,_0xbaee61);const Oi=_0x46cda0(_0x1e67f1(0x443));function Ys(_0x1683bf,_0x1606cf,_0x527f8c){var _0x4e0a62=_0x1e67f1;return _0x1683bf+'/'+_0x1606cf+_0x4e0a62(0x1eb)+_0x527f8c+_0x4e0a62(0x18a);}let Wt=class extends _0x262184{constructor(_0x33b439,_0x12793b,_0xbedaf3,_0x200bbf,_0x54744d){var _0x194e30=_0x1e67f1;super(),this[_0x194e30(0x2a8)]=_0x33b439,this['_httpService']=_0x12793b,this['_configService']=_0xbedaf3,this['_logService']=_0x200bbf,this['_snapshotServerService']=_0x54744d;}[_0x1e67f1(0x21a)](_0x47e0d0){var _0x16ed56=_0x1e67f1;const _0x3fed18=this['_injector'][_0x16ed56(0x30c)](_0x283d6c);if(!_0x3fed18)throw new Error(_0x16ed56(0x3e6));const _0x244c97=_0x3fed18['createSocket'](_0x47e0d0);if(!_0x244c97)throw new Error(_0x16ed56(0x21f));const _0x553329=new _0x127bb0(),_0x371652=new _0x3e44be();_0x553329['add'](_0x244c97[_0x16ed56(0x264)][_0x16ed56(0x3cb)](_0x156ca6=>_0x371652['next'](_0x156ca6))),_0x553329[_0x16ed56(0x390)](_0x313e94(()=>_0x371652[_0x16ed56(0x3d5)]()));const _0xd218=new _0x3e44be();_0x553329[_0x16ed56(0x390)](_0x244c97[_0x16ed56(0x3d9)][_0x16ed56(0x3cb)](_0x4d7ffa=>_0xd218['next'](_0x4d7ffa))),_0x553329['add'](_0x313e94(()=>_0xd218[_0x16ed56(0x3d5)]()));const _0x5e9ccc=new _0x3e44be();_0x553329[_0x16ed56(0x390)](_0x244c97[_0x16ed56(0x1b6)][_0x16ed56(0x3cb)](_0x263711=>{const _0x2371f5=Fs(_0x263711);_0x5e9ccc['next'](_0x2371f5);})),_0x553329[_0x16ed56(0x390)](_0x313e94(()=>_0x5e9ccc[_0x16ed56(0x3d5)]()));let _0xf90995;const _0x5bffa7=()=>{var _0x92bd67=_0x16ed56;_0xd218[_0x92bd67(0x3c1)](new Event('connection\x20error')),_0x371652[_0x92bd67(0x3c1)](new Event(_0x92bd67(0x410))),_0xf90995[_0x92bd67(0x327)]();};return _0xf90995={'memberID':'','close$':_0x371652[_0x16ed56(0x1a7)](),'error$':_0xd218[_0x16ed56(0x1a7)](),'open$':_0x244c97[_0x16ed56(0x39c)],'message$':_0x5e9ccc[_0x16ed56(0x1a7)](),'send':_0x5ee350=>{var _0x442511=_0x16ed56;if(_0x5ee350[_0x442511(0x2c3)]===F[_0x442511(0x48d)]){if(_0x5ee350['data']['eventID']===_0x2764d9[_0x442511(0x31e)]){this[_0x442511(0x1b1)](_0xf90995,_0x5ee350[_0x442511(0x486)])[_0x442511(0x423)](_0x48521d=>{var _0x2e6864=_0x442511;this['_logService'][_0x2e6864(0x223)](_0x48521d),_0x5bffa7();});return;}if(_0x5ee350[_0x442511(0x486)][_0x442511(0x295)]===_0x2764d9[_0x442511(0x1be)]){const _0x1c3f7e=_0x5ee350[_0x442511(0x486)];this['_fetchMissChangesets'](_0x1c3f7e)['then'](_0x212a8a=>{var _0x3e21b9=_0x442511;_0x5e9ccc[_0x3e21b9(0x3c1)]({'cmd':F[_0x3e21b9(0x205)],'code':pe['OK'],'routeKey':_0x1c3f7e['data'][_0x3e21b9(0x234)],'routeType':'','data':{'eventID':_0x2764d9[_0x3e21b9(0x2b8)],'data':{'changesets':_0x212a8a}}});})[_0x442511(0x423)](_0x564b1f=>{var _0x2810cc=_0x442511;this[_0x2810cc(0x22e)]['error'](_0x564b1f),_0x5bffa7();});return;}}_0x244c97[_0x442511(0x20b)](Vs(_0x5ee350));},'close':()=>{var _0x16f06c=_0x16ed56;_0x244c97[_0x16f06c(0x327)](),_0x553329[_0x16f06c(0x1cd)]();}},_0xf90995;}async[_0x1e67f1(0x1b1)](_0x2dc1ab,_0x1de55b){var _0x5b838e=_0x1e67f1,_0x3f2731;const {unitType:_0x3b8162,unitID:_0x1ef2a3,changeset:_0x17e112}=_0x1de55b[_0x5b838e(0x486)],_0x1fe352={'unitID':_0x1ef2a3,'memberID':_0x2dc1ab['memberID'],'type':_0x3b8162,'changeset':_0x3ca442(_0x17e112)},_0x422fa3=this[_0x5b838e(0x3a4)][_0x5b838e(0x3c4)](K),_0x4dc56c=Ys((_0x3f2731=_0x422fa3==null?void 0x0:_0x422fa3[_0x5b838e(0x415)])!=null?_0x3f2731:Os,_0x3b8162,_0x1ef2a3);try{await this[_0x5b838e(0x2a6)][_0x5b838e(0x444)](_0x4dc56c,{'body':_0x1fe352});}catch(_0x2d8296){throw this['_logService'][_0x5b838e(0x223)](_0x5b838e(0x2bc),_0x5b838e(0x26e)),_0x2d8296;}}async[_0x1e67f1(0x2c2)](_0x9a12d4){var _0x524d6e=_0x1e67f1;const {unitID:_0x1a22c2,from:_0xe96017,to:_0x5c8486,unitType:_0x226d4e}=_0x9a12d4[_0x524d6e(0x486)];return(await this['_snapshotServerService'][_0x524d6e(0x420)]({'metadata':void 0x0},{'unitID':_0x1a22c2,'type':_0x226d4e,'from':_0xe96017,'to':_0x5c8486}))[_0x524d6e(0x316)]['map'](_0x249c01=>((_0x249c01['mutations']===null||_0x249c01[_0x524d6e(0x3e2)]===void 0x0)&&(_0x249c01['mutations']=[]),_0x249c01));}};Wt=Ws([ye(0x0,_0x132dee(_0xe963d)),ye(0x1,_0x132dee(_0x179170)),ye(0x2,_0x3ba963),ye(0x3,_0x34eeab),ye(0x4,_0x5e7452)],Wt);var Ks=Object['getOwnPropertyDescriptor'],qs=(_0xdb5bf5,_0x452f82,_0x167997,_0x4e791f)=>{var _0x11b968=_0x1e67f1;for(var _0x2f76fb=_0x4e791f>0x1?void 0x0:_0x4e791f?Ks(_0x452f82,_0x167997):_0x452f82,_0x410d8a=_0xdb5bf5[_0x11b968(0x19d)]-0x1,_0x2e24f8;_0x410d8a>=0x0;_0x410d8a--)(_0x2e24f8=_0xdb5bf5[_0x410d8a])&&(_0x2f76fb=_0x2e24f8(_0x2f76fb)||_0x2f76fb);return _0x2f76fb;},Re=(_0xdefd86,_0x48c260)=>(_0x25ce82,_0x5c70c5)=>_0x48c260(_0x25ce82,_0x5c70c5,_0xdefd86);function _0x51b2(_0x2c22fe,_0x511fb8){var _0x2dafca=_0x2daf();return _0x51b2=function(_0x51b253,_0x527575){_0x51b253=_0x51b253-0x171;var _0x4fcb6e=_0x2dafca[_0x51b253];return _0x4fcb6e;},_0x51b2(_0x2c22fe,_0x511fb8);}let we=class extends _0x262184{constructor(_0x3d3647,_0x1f7f4a,_0x2f5e24,_0x5cfa42,_0x424d28,_0x88ee2a){var _0x1c8b2a=_0x1e67f1;super(),D(this,_0x1c8b2a(0x31c),new _0x232913(void 0x0)),D(this,'socket$',this['_socket$']['asObservable']()),D(this,_0x1c8b2a(0x3ba),null),D(this,'_sessions',new Map()),D(this,_0x1c8b2a(0x3b3),new _0x232913(me[_0x1c8b2a(0x406)])),D(this,'status$',this[_0x1c8b2a(0x3b3)][_0x1c8b2a(0x1a7)]()),D(this,'_socketReady',!0x1),D(this,_0x1c8b2a(0x2ab)),D(this,'_retryCount',0x0),D(this,_0x1c8b2a(0x480)),D(this,_0x1c8b2a(0x195)),(this[_0x1c8b2a(0x2a8)]=_0x3d3647,this[_0x1c8b2a(0x22e)]=_0x1f7f4a,this[_0x1c8b2a(0x3a4)]=_0x2f5e24,this[_0x1c8b2a(0x449)]=_0x5cfa42,this['_collaborationUIEventService']=_0x424d28,this[_0x1c8b2a(0x429)]=_0x88ee2a,this[_0x1c8b2a(0x217)]());}get['_socket'](){var _0x301012=_0x1e67f1;return this[_0x301012(0x31c)][_0x301012(0x2e6)]();}[_0x1e67f1(0x217)](){var _0x21ac1f=_0x1e67f1;this[_0x21ac1f(0x429)]&&this[_0x21ac1f(0x20f)](this['_networkConditionService']['online$'][_0x21ac1f(0x3cb)](_0x22183b=>{var _0x1d4192=_0x21ac1f;_0x22183b&&!this[_0x1d4192(0x32e)]&&this['reconnect'](),_0x22183b||this[_0x1d4192(0x246)]();}));}[_0x1e67f1(0x1cd)](){var _0xbc7936=_0x1e67f1;super[_0xbc7936(0x1cd)](),this[_0xbc7936(0x282)](),this['_clearTimeoutTimer'](),this[_0xbc7936(0x381)](),this[_0xbc7936(0x385)][_0xbc7936(0x341)](_0x356785=>_0x356785[_0xbc7936(0x1cd)]()),this[_0xbc7936(0x385)][_0xbc7936(0x3be)](),this[_0xbc7936(0x3b3)]['complete']();}async[_0x1e67f1(0x427)](_0xa48ccb){var _0x5e6a8f=_0x1e67f1;if(this[_0x5e6a8f(0x385)][_0x5e6a8f(0x37c)](_0xa48ccb))return this[_0x5e6a8f(0x385)][_0x5e6a8f(0x30c)](_0xa48ccb);this[_0x5e6a8f(0x1f1)]();const _0x68340c=this['_injector'][_0x5e6a8f(0x3c7)](mt,_0xa48ccb,this['_socket$'][_0x5e6a8f(0x1a7)]());return this['_sessions']['set'](_0xa48ccb,_0x68340c),_0x68340c;}['closeSession'](_0x32e2fb){var _0x2b08fa=_0x1e67f1,_0x48fa7b;const _0x572a66=this['_sessions']['get'](_0x32e2fb);_0x572a66&&(this[_0x2b08fa(0x385)]['delete'](_0x32e2fb),_0x572a66[_0x2b08fa(0x327)]()),this['_sessions']['size']||(_0x48fa7b=this[_0x2b08fa(0x32e)])==null||_0x48fa7b[_0x2b08fa(0x327)]();}[_0x1e67f1(0x17c)](){var _0x58a925=_0x1e67f1;this[_0x58a925(0x401)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x2b52e7=_0x1e67f1;this[_0x2b52e7(0x2ab)]!=null&&(clearTimeout(this[_0x2b52e7(0x2ab)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x105b66=_0x1e67f1,_0x5f3044;const _0x5be23d=this[_0x105b66(0x3a4)]['getConfig'](K),_0x343e0d=(_0x5f3044=_0x5be23d==null?void 0x0:_0x5be23d[_0x105b66(0x213)])!=null?_0x5f3044:Es,_0x3d3cfe=await this[_0x105b66(0x449)]['createSocket'](_0x343e0d);return this['_candidateSocket']=_0x3d3cfe,_0x3d3cfe;}async[_0x1e67f1(0x1f1)](){var _0x3e7fe5=_0x1e67f1,_0xc98e5b,_0x6d0503;try{const _0x326a8c=(_0x6d0503=(_0xc98e5b=this[_0x3e7fe5(0x32e)])!=null?_0xc98e5b:this[_0x3e7fe5(0x3ba)])!=null?_0x6d0503:await this[_0x3e7fe5(0x1d8)]();if(_0x326a8c){const _0x555f13=_0x326a8c['send'];_0x326a8c[_0x3e7fe5(0x20b)]=_0x432cd6=>(this[_0x3e7fe5(0x488)](),_0x555f13[_0x3e7fe5(0x405)](_0x326a8c,[_0x432cd6])),_0x326a8c[_0x3e7fe5(0x1b6)][_0x3e7fe5(0x3cb)](_0x557895=>this[_0x3e7fe5(0x1a3)](_0x326a8c,_0x557895)),_0x326a8c[_0x3e7fe5(0x3d9)][_0x3e7fe5(0x34b)](_0x2d8a7f(0x1))['subscribe'](_0x390076=>this[_0x3e7fe5(0x22e)][_0x3e7fe5(0x223)](_0x3e7fe5(0x329),_0x390076)),_0x326a8c[_0x3e7fe5(0x39c)]['pipe'](_0x2d8a7f(0x1))[_0x3e7fe5(0x3cb)](()=>{this['_onConnectionOpen'](_0x326a8c);}),_0x326a8c['close$'][_0x3e7fe5(0x34b)](_0x2d8a7f(0x1))[_0x3e7fe5(0x3cb)](_0x3faafc=>{var _0x3c9e68=_0x3e7fe5;this[_0x3c9e68(0x22e)][_0x3c9e68(0x370)](_0x3c9e68(0x21d),'socket\x20close',_0x3faafc),this[_0x3c9e68(0x1d0)]();});}}catch(_0x3d2975){this['_logService'][_0x3e7fe5(0x223)](_0x3d2975),this[_0x3e7fe5(0x1d0)]();}}[_0x1e67f1(0x1a6)](_0x3e4964){var _0x412bac=_0x1e67f1;this[_0x412bac(0x22e)][_0x412bac(0x370)](_0x412bac(0x21d),_0x412bac(0x32f)),_0x3e4964[_0x412bac(0x20b)]({'cmd':F[_0x412bac(0x33a)]}),this[_0x412bac(0x488)]();}[_0x1e67f1(0x246)](){var _0x1efe7b=_0x1e67f1;this['_socketReady']=!0x1,this[_0x1efe7b(0x3ba)]=null,this['_status$'][_0x1efe7b(0x3c1)](me[_0x1efe7b(0x1e7)]),this[_0x1efe7b(0x31c)]['next'](null),this[_0x1efe7b(0x424)](),this['_clearHeartbeatTimer']();}[_0x1e67f1(0x1d0)](){var _0x5642ff=_0x1e67f1,_0x1da45c;this[_0x5642ff(0x246)](),this['_retryCount']<((_0x1da45c=this['_configService'][_0x5642ff(0x3c4)](gs))!=null?_0x1da45c:Ts)?(this[_0x5642ff(0x2e8)]['emitEvent']({'id':re[_0x5642ff(0x2eb)]}),this[_0x5642ff(0x1e3)]()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x5642ff(0x45b)]});}[_0x1e67f1(0x1e3)](){var _0x20c638=_0x1e67f1,_0x297c01;const _0x48eef5=this['_retryCount'],_0x400793=this['_configService'][_0x20c638(0x3c4)](K),_0x45ed3d=_0x48eef5===0x0?0x0:((_0x297c01=_0x400793==null?void 0x0:_0x400793['retryConnectingInterval'])!=null?_0x297c01:Ss)*0x2**_0x48eef5;this[_0x20c638(0x2ab)]=setTimeout(()=>{var _0x164212=_0x20c638;clearTimeout(this[_0x164212(0x2ab)]),this[_0x164212(0x2ab)]=null,this[_0x164212(0x1f1)]();},_0x45ed3d),this['_retryCount']+=0x1;}[_0x1e67f1(0x1a3)](_0x1fa81b,_0xdfc189){var _0x4fa2e8=_0x1e67f1;const {cmd:_0x56938}=_0xdfc189;_0x56938===F[_0x4fa2e8(0x33a)]&&!this[_0x4fa2e8(0x47b)]&&(_0x1fa81b['memberID']=_0xdfc189[_0x4fa2e8(0x486)][_0x4fa2e8(0x2d8)],this['_socket$'][_0x4fa2e8(0x3c1)](_0x1fa81b),this[_0x4fa2e8(0x3b3)][_0x4fa2e8(0x3c1)](me['ONLINE']),this[_0x4fa2e8(0x47b)]=!0x0,this['_candidateSocket']=null),_0x56938===F[_0x4fa2e8(0x43b)]&&this[_0x4fa2e8(0x424)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x4e5a28=_0x1e67f1,_0x1efa72;this[_0x4e5a28(0x381)](),this[_0x4e5a28(0x480)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1efa72=this['_configService']['getConfig'](ms))!=null?_0x1efa72:Is);}[_0x1e67f1(0x321)](){var _0x16c1ad=_0x1e67f1;this[_0x16c1ad(0x32e)][_0x16c1ad(0x20b)]({'cmd':F[_0x16c1ad(0x43b)]}),this[_0x16c1ad(0x441)]();}[_0x1e67f1(0x441)](){var _0x5386fa=_0x1e67f1,_0x19a758;this[_0x5386fa(0x195)]=setTimeout(()=>this[_0x5386fa(0x1d0)](),(_0x19a758=this[_0x5386fa(0x3a4)][_0x5386fa(0x3c4)](di))!=null?_0x19a758:fi);}[_0x1e67f1(0x381)](){var _0x30bc1a=_0x1e67f1;this[_0x30bc1a(0x480)]!=null&&(clearTimeout(this[_0x30bc1a(0x480)]),this['_sendHeartbeatTimer']=null);}[_0x1e67f1(0x424)](){var _0x5120a9=_0x1e67f1;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5120a9(0x195)]=null);}};we=qs([Re(0x0,_0x132dee(_0xe963d)),Re(0x1,_0x34eeab),Re(0x2,_0x3ba963),Re(0x3,Oi),Re(0x4,_0x132dee(ve)),Re(0x5,_0x12e690(js))],we);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x5bff79,_0x749123,_0x1eee6f,_0xde3c1c)=>{for(var _0x3614d3=_0xde3c1c>0x1?void 0x0:_0xde3c1c?zs(_0x749123,_0x1eee6f):_0x749123,_0x550301=_0x5bff79['length']-0x1,_0x2cd2f3;_0x550301>=0x0;_0x550301--)(_0x2cd2f3=_0x5bff79[_0x550301])&&(_0x3614d3=_0x2cd2f3(_0x3614d3)||_0x3614d3);return _0x3614d3;},Be=(_0x567bf4,_0x1382b8)=>(_0x2ebce0,_0x4f4a77)=>_0x1382b8(_0x2ebce0,_0x4f4a77,_0x567bf4);let nt=class extends _0xe931df{constructor(_0x7933e5,_0x4b4097,_0x2d4388,_0x3d497b){var _0x373df4=_0x1e67f1,_0x5474a3;super(),D(this,_0x373df4(0x358),new Map()),D(this,_0x373df4(0x214),new _0x3e44be()),D(this,_0x373df4(0x184),this[_0x373df4(0x214)]['asObservable']()),(this[_0x373df4(0x2a8)]=_0x7933e5,this[_0x373df4(0x46a)]=_0x4b4097,this[_0x373df4(0x3a4)]=_0x2d4388,this[_0x373df4(0x239)]=_0x3d497b,((_0x5474a3=this[_0x373df4(0x3a4)][_0x373df4(0x3c4)](K))==null?void 0x0:_0x5474a3['enableCollaboration'])!==!0x1&&this['_init']());}[_0x1e67f1(0x1cd)](){var _0xcb3bca=_0x1e67f1;super[_0xcb3bca(0x1cd)](),this[_0xcb3bca(0x358)][_0xcb3bca(0x341)](_0x11300a=>_0x11300a['dispose']()),this[_0xcb3bca(0x358)][_0xcb3bca(0x3be)]();}[_0x1e67f1(0x3d2)](_0x40d7c4){var _0x4a5430=_0x1e67f1,_0x465b6f;return(_0x465b6f=this[_0x4a5430(0x358)][_0x4a5430(0x30c)](_0x40d7c4))!=null?_0x465b6f:null;}[_0x1e67f1(0x1f8)](_0x294ce7){var _0x17bab0=_0x1e67f1;const _0x346967=this[_0x17bab0(0x3d2)](_0x294ce7);return _0x346967?_0x2dc7ce(_0x346967):this[_0x17bab0(0x214)][_0x17bab0(0x34b)](_0xab1ec3(_0x33f057=>_0x33f057[_0x17bab0(0x234)]===_0x294ce7));}['readyForCollab'](_0x21cc9a){var _0x4639f2=_0x1e67f1;return _0x520e99(this[_0x4639f2(0x1f8)](_0x21cc9a)[_0x4639f2(0x34b)](_0x1b66cb(()=>{})));}[_0x1e67f1(0x2cb)](){var _0x1b18ce=_0x1e67f1;this[_0x1b18ce(0x239)][_0x1b18ce(0x35e)](_0x34e32d['UNIVER_SHEET'])['pipe'](_0xc7ae25(this[_0x1b18ce(0x270)]),_0x45e955(0x10))[_0x1b18ce(0x3cb)](async _0x383782=>{var _0x3727ce=_0x1b18ce;const _0x5d2935=_0x383782[_0x3727ce(0x29c)](),_0x3a95d3=await this[_0x3727ce(0x22c)](_0x5d2935,Q['UNIVER_SHEET']);this[_0x3727ce(0x358)][_0x3727ce(0x260)](_0x5d2935,_0x3a95d3);}),this['_univerInstanceService'][_0x1b18ce(0x35e)](_0x34e32d[_0x1b18ce(0x274)])['pipe'](_0xc7ae25(this[_0x1b18ce(0x270)]),_0x45e955(0x10))['pipe'](_0xab1ec3(_0xba4a0b=>!_0xba4a0b[_0x1b18ce(0x29c)]()[_0x1b18ce(0x1fb)]('__')))[_0x1b18ce(0x3cb)](async _0x47819a=>{var _0x3e6b0a=_0x1b18ce;const _0x4e3e4c=_0x47819a[_0x3e6b0a(0x29c)](),_0x8e4dc0=await this[_0x3e6b0a(0x22c)](_0x4e3e4c,Q[_0x3e6b0a(0x274)]);this['_entities'][_0x3e6b0a(0x260)](_0x4e3e4c,_0x8e4dc0);}),_0x5c5362(this[_0x1b18ce(0x239)]['getTypeOfUnitDisposed$'](_0x34e32d[_0x1b18ce(0x3bc)]),this[_0x1b18ce(0x239)][_0x1b18ce(0x313)](_0x34e32d[_0x1b18ce(0x274)]))[_0x1b18ce(0x34b)](_0xc7ae25(this[_0x1b18ce(0x270)]))[_0x1b18ce(0x3cb)](_0x3f82e9=>{var _0x388896=_0x1b18ce;const _0x133888=_0x3f82e9[_0x388896(0x29c)](),_0x25ea20=this['_entities'][_0x388896(0x30c)](_0x133888);_0x25ea20&&(_0x25ea20[_0x388896(0x1cd)](),this['_entities'][_0x388896(0x2b0)](_0x133888));});}async[_0x1e67f1(0x22c)](_0x4f8fa7,_0x12853b){var _0x1ba0dc=_0x1e67f1;const _0x132c49=await this['_collabSessionService'][_0x1ba0dc(0x427)](_0x4f8fa7),_0x45e237=this[_0x1ba0dc(0x2a8)]['createInstance'](this[_0x1ba0dc(0x1ed)](_0x12853b),_0x4f8fa7,_0x12853b,_0x132c49);return await _0x45e237['init'](),this['_entityInit$'][_0x1ba0dc(0x3c1)](_0x45e237),_0x45e237;}['_getCtorByUniverType'](_0x4e9c4d){var _0x1a885d=_0x1e67f1;switch(_0x4e9c4d){case Q['UNIVER_DOC']:return It;case Q[_0x1a885d(0x3bc)]:return St;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4e9c4d);}}};nt=Js([Be(0x0,_0x132dee(_0xe963d)),Be(0x1,_0x132dee(we)),Be(0x2,_0x3ba963),Be(0x3,_0x524058)],nt);var Xs=Object[_0x1e67f1(0x35d)],Zs=(_0x35e383,_0x16ad81,_0x242cb6,_0x2ff67b)=>{var _0x18a715=_0x1e67f1;for(var _0x549267=_0x2ff67b>0x1?void 0x0:_0x2ff67b?Xs(_0x16ad81,_0x242cb6):_0x16ad81,_0x5679b7=_0x35e383[_0x18a715(0x19d)]-0x1,_0x4892e2;_0x5679b7>=0x0;_0x5679b7--)(_0x4892e2=_0x35e383[_0x5679b7])&&(_0x549267=_0x4892e2(_0x549267)||_0x549267);return _0x549267;},Yt=(_0x32e239,_0x43055b)=>(_0x2d97a5,_0x8e8d0e)=>_0x43055b(_0x2d97a5,_0x8e8d0e,_0x32e239);const Qs='DEFAULT_FILE_NAME',en=_0x1e67f1(0x18e);let gt=class extends _0x262184{constructor(_0x2ae63d,_0xbbabc9){var _0x247b7e=_0x1e67f1;super(),this[_0x247b7e(0x239)]=_0x2ae63d,this[_0x247b7e(0x3a4)]=_0xbbabc9,this['_init']();}['_init'](){var _0x466d8a=_0x1e67f1;this[_0x466d8a(0x20f)](this[_0x466d8a(0x239)]['focused$']['subscribe'](()=>{var _0x57c9d7=_0x466d8a,_0x3deb32;const _0x4d881a=this['_univerInstanceService'][_0x57c9d7(0x2bf)]();let _0x25772d=(_0x3deb32=this[_0x57c9d7(0x3a4)][_0x57c9d7(0x3c4)](Qs))!=null?_0x3deb32:en;_0x4d881a instanceof _0x3bd9c3&&(_0x25772d=_0x4d881a['name']),document[_0x57c9d7(0x25e)]=_0x25772d;}));}};gt=Zs([Yt(0x0,_0x524058),Yt(0x1,_0x3ba963)],gt);var tn=Object[_0x1e67f1(0x35d)],sn=(_0x57f376,_0x12f4d7,_0x47c70e,_0x541137)=>{var _0x24e722=_0x1e67f1;for(var _0x125326=_0x541137>0x1?void 0x0:_0x541137?tn(_0x12f4d7,_0x47c70e):_0x12f4d7,_0x115b6a=_0x57f376[_0x24e722(0x19d)]-0x1,_0x3b9cba;_0x115b6a>=0x0;_0x115b6a--)(_0x3b9cba=_0x57f376[_0x115b6a])&&(_0x125326=_0x3b9cba(_0x125326)||_0x125326);return _0x125326;},dt=(_0x59e2c5,_0x3fb0fe)=>(_0x3d030c,_0x40cc01)=>_0x3fb0fe(_0x3d030c,_0x40cc01,_0x59e2c5);let rt=class{constructor(_0xbd57d,_0x43ed70,_0x5d21e7){var _0x22371a=_0x1e67f1;this[_0x22371a(0x3a4)]=_0xbd57d,this[_0x22371a(0x2a6)]=_0x43ed70,this[_0x22371a(0x1f2)]=_0x5d21e7,this[_0x22371a(0x356)]();}[_0x1e67f1(0x356)](){var _0x5ec1b1=_0x1e67f1;this[_0x5ec1b1(0x2a6)][_0x5ec1b1(0x452)]({'priority':0x1,'interceptor':(_0x982d16,_0x3a6c01)=>_0x3a6c01(_0x982d16)[_0x5ec1b1(0x34b)](_0x23b158(async _0x2be9e9=>{var _0x166da0=_0x5ec1b1;const _0x1d9ec7=_0x2be9e9;if(_0x1d9ec7[_0x166da0(0x29d)]===0x191){if(typeof window>'u')throw new Error(_0x166da0(0x31f));if(window[_0x166da0(0x202)](this['localeService']['t'](_0x166da0(0x23b)))){const _0x4bed36=window[_0x166da0(0x2cc)](window[_0x166da0(0x2c1)]['href']);window['location']['href']=this[_0x166da0(0x482)]()+_0x166da0(0x343)+_0x4bed36;}}return _0x1d9ec7;}))});}[_0x1e67f1(0x482)](){var _0x42ab34=_0x1e67f1,_0x46e4ea;const _0x21a492=this[_0x42ab34(0x3a4)][_0x42ab34(0x3c4)](K);return(_0x46e4ea=_0x21a492==null?void 0x0:_0x21a492[_0x42ab34(0x45a)])!=null?_0x46e4ea:Rs;}};rt=sn([dt(0x0,_0x3ba963),dt(0x1,_0x132dee(_0x179170)),dt(0x2,_0x132dee(_0x259b7b))],rt);var nn=Object[_0x1e67f1(0x35d)],rn=(_0x5497ed,_0x2cfdd3,_0x206b01,_0x25e5d7)=>{for(var _0x19458e=_0x25e5d7>0x1?void 0x0:_0x25e5d7?nn(_0x2cfdd3,_0x206b01):_0x2cfdd3,_0x13e0a9=_0x5497ed['length']-0x1,_0x16e5a8;_0x13e0a9>=0x0;_0x13e0a9--)(_0x16e5a8=_0x5497ed[_0x13e0a9])&&(_0x19458e=_0x16e5a8(_0x19458e)||_0x19458e);return _0x19458e;},Kt=(_0x5b341d,_0x42703b)=>(_0x59e2f6,_0x1d009a)=>_0x42703b(_0x59e2f6,_0x1d009a,_0x5b341d);const an=_0x1e67f1(0x26c);let Tt=class extends _0x262184{constructor(_0x288370,_0x4f2833){var _0x390f9c=_0x1e67f1;super(),this[_0x390f9c(0x18d)]=_0x288370,this['_configService']=_0x4f2833,this['_initMergeInterceptor']();}[_0x1e67f1(0x1c5)](){var _0xe0b438=_0x1e67f1;const _0x2dd10f=this;this[_0xe0b438(0x20f)](this[_0xe0b438(0x18d)][_0xe0b438(0x452)]({'priority':0x3e7,'interceptor':_0x494866({'isMatch'(_0x22086c){var _0x160b91=_0xe0b438,_0x30cc1f;if(_0x22086c['method']===_0x160b91(0x1e2)&&((_0x30cc1f=_0x22086c[_0x160b91(0x27f)])!=null&&_0x30cc1f[_0x160b91(0x42d)])){const {objectID:_0x1c4979,objectType:_0x3aa371}=_0x22086c[_0x160b91(0x27f)][_0x160b91(0x42d)]||{};if(!_0x1c4979||_0x3aa371===void 0x0)return!0x1;const _0x2d4bd3=_0x2dd10f['_getAPIPrefixPath']()+'/'+_0x3aa371+_0x160b91(0x245)+_0x1c4979+'/allowed';if(_0x22086c['url']===_0x2d4bd3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3cff93){var _0x1b2f1e=_0xe0b438,_0xc5cc25;return(_0xc5cc25=_0x3cff93[_0x1b2f1e(0x27f)])==null?void 0x0:_0xc5cc25[_0x1b2f1e(0x42d)];},'mergeParamsToRequest'(_0xcaa44,_0x5347ad){var _0x34f36d=_0xe0b438;const _0xa115b6=_0x2dd10f['_getAPIPrefixPath']()+_0x34f36d(0x278),_0x3814ea=_0xcaa44[_0x34f36d(0x292)]((_0x12b46c,_0x9f2daf)=>{var _0x53d06f=_0x34f36d;const {unitID:_0x45f6c1,objectID:_0x1b9f2e,objectType:_0x2fdcf6,actions:_0x2fed2a}=_0x9f2daf;return _0x12b46c[_0x45f6c1]||(_0x12b46c[_0x45f6c1]={}),_0x12b46c[_0x45f6c1][_0x1b9f2e]||(_0x12b46c[_0x45f6c1][_0x1b9f2e]={'objectID':_0x1b9f2e,'objectType':_0x2fdcf6,'actions':[]}),_0x12b46c[_0x45f6c1][_0x1b9f2e][_0x53d06f(0x2aa)]['push'](..._0x2fed2a),_0x12b46c;},{}),_0x4df3bb=[];for(const _0x11c652 in _0x3814ea)for(const _0x56ba25 in _0x3814ea[_0x11c652]){const {actions:_0x25f770,objectType:_0x8f9ab5}=_0x3814ea[_0x11c652][_0x56ba25],_0x41281e=[...new Set(_0x25f770)];_0x4df3bb[_0x34f36d(0x417)]({'unitID':_0x11c652,'objectID':_0x56ba25,'objectType':_0x8f9ab5,'actions':_0x41281e});}return new _0x3b13f8(_0x34f36d(0x1e2),_0xa115b6,{'headers':_0x5347ad['headers'],'withCredentials':_0x5347ad['withCredentials'],'responseType':_0x5347ad[_0x34f36d(0x1b8)],'body':{'requests':_0x4df3bb}});}},{'distributeResult'(_0x5a2958,_0x59da16){var _0x2fdeb4=_0xe0b438;const {objectActions:_0xb5a53c}=_0x5a2958;return _0x59da16[_0x2fdeb4(0x3ee)](_0xc1b2d6=>{var _0x2e1e41=_0x2fdeb4;const {unitID:_0x5d19f7,objectID:_0x4a06c4,actions:_0x3fca47}=_0xc1b2d6,_0x42fc38=_0xb5a53c[_0x2e1e41(0x3d3)](_0x5e863d=>_0x5e863d[_0x2e1e41(0x234)]===_0x5d19f7&&_0x5e863d[_0x2e1e41(0x38c)]===_0x4a06c4),_0x4070b=_0x3fca47[_0x2e1e41(0x3ee)](_0x9bc065=>_0x42fc38==null?void 0x0:_0x42fc38[_0x2e1e41(0x2aa)]['find'](_0x32f910=>_0x32f910[_0x2e1e41(0x1e8)]===_0x9bc065))[_0x2e1e41(0x2b6)](_0x1b0d34=>!!_0x1b0d34);return{'config':_0xc1b2d6,'result':{'actions':_0x4070b,'error':_0x5a2958['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x348cf6=_0x1e67f1,_0xd5f7f5;const _0x2f3384=this[_0x348cf6(0x3a4)][_0x348cf6(0x3c4)](K);return(_0xd5f7f5=_0x2f3384==null?void 0x0:_0x2f3384[_0x348cf6(0x300)])!=null?_0xd5f7f5:an;}async[_0x1e67f1(0x462)](_0x49f40a){var _0x364500=_0x1e67f1;const _0x28da6a=this['_getAPIPrefixPath']()+'/'+_0x49f40a['objectType']+_0x364500(0x451);return(await this['_HTTPService'][_0x364500(0x444)](_0x28da6a,{'body':_0x49f40a}))[_0x364500(0x42d)][_0x364500(0x38c)]||'';}async[_0x1e67f1(0x1f3)](_0x35bf38){var _0x1f2c8f=_0x1e67f1;const _0x186ebb=this['_getAPIPrefixPath']()+_0x1f2c8f(0x437);return(await this[_0x1f2c8f(0x18d)]['post'](_0x186ebb,{'body':_0x35bf38}))[_0x1f2c8f(0x42d)][_0x1f2c8f(0x404)];}async['update'](_0x1e502e){var _0x480028=_0x1e67f1,_0x385337,_0x243d1a;const _0xc142=this[_0x480028(0x2d7)]()+'/'+_0x1e502e[_0x480028(0x40f)]+_0x480028(0x245)+_0x1e502e[_0x480028(0x38c)],_0x58d619=await this[_0x480028(0x18d)][_0x480028(0x25a)](_0xc142,{'body':_0x1e502e});if(((_0x243d1a=(_0x385337=_0x58d619==null?void 0x0:_0x58d619[_0x480028(0x42d)])==null?void 0x0:_0x385337[_0x480028(0x223)])==null?void 0x0:_0x243d1a[_0x480028(0x2bd)])!==0x1)throw new Error(_0x480028(0x326));}async['allowed'](_0x4e2122){var _0x42fd37=_0x1e67f1;const _0x323b92=this[_0x42fd37(0x2d7)]()+'/'+_0x4e2122[_0x42fd37(0x40f)]+'/object/'+_0x4e2122[_0x42fd37(0x38c)]+_0x42fd37(0x226);return(await this[_0x42fd37(0x18d)][_0x42fd37(0x444)](_0x323b92,{'body':_0x4e2122}))[_0x42fd37(0x42d)][_0x42fd37(0x2aa)];}async[_0x1e67f1(0x267)](_0x28ab35){var _0x59f40a=_0x1e67f1;const _0xa44b57=this[_0x59f40a(0x2d7)]()+_0x59f40a(0x278);return(await this[_0x59f40a(0x18d)][_0x59f40a(0x444)](_0xa44b57,{'body':{'requests':_0x28ab35}}))[_0x59f40a(0x42d)][_0x59f40a(0x199)];}async[_0x1e67f1(0x3a8)](_0x34d473){var _0x21a378=_0x1e67f1;const _0x46449e=this[_0x21a378(0x2d7)]()+'/'+_0x34d473[_0x21a378(0x40f)]+_0x21a378(0x2c8),_0x3a127e=await this[_0x21a378(0x18d)][_0x21a378(0x444)](_0x46449e,{'body':_0x34d473});return{'roles':_0x3a127e['body']['roles'],'actions':_0x3a127e['body'][_0x21a378(0x2aa)]};}async[_0x1e67f1(0x426)](_0xeb6d1f){var _0x568747=_0x1e67f1;const _0x2931fe=this[_0x568747(0x2d7)]()+'/collaborator';await this[_0x568747(0x18d)][_0x568747(0x2b0)](_0x2931fe,{'params':{'collaboratorID':_0xeb6d1f[_0x568747(0x38a)],'objectID':_0xeb6d1f[_0x568747(0x38c)],'unitID':_0xeb6d1f[_0x568747(0x234)]}});}async[_0x1e67f1(0x374)](_0x5484ff){var _0x38b9e4=_0x1e67f1;const _0x15890b=this[_0x38b9e4(0x2d7)]()+_0x38b9e4(0x1a1);await this[_0x38b9e4(0x18d)]['patch'](_0x15890b,{'body':_0x5484ff});}async[_0x1e67f1(0x3cd)](_0x2aa4b7){var _0x29ed95=_0x1e67f1;const _0x5e2c89=this[_0x29ed95(0x2d7)]()+_0x29ed95(0x1a1);await this[_0x29ed95(0x18d)][_0x29ed95(0x444)](_0x5e2c89,{'body':_0x2aa4b7});}async[_0x1e67f1(0x17d)](_0x10bb4d){var _0x3c0478=_0x1e67f1;const _0x3d3160=this[_0x3c0478(0x2d7)]()+_0x3c0478(0x1a1);return(await this[_0x3c0478(0x18d)][_0x3c0478(0x30c)](_0x3d3160,{'params':{'objectID':_0x10bb4d[_0x3c0478(0x38c)],'unitID':_0x10bb4d[_0x3c0478(0x234)]}}))[_0x3c0478(0x42d)][_0x3c0478(0x38d)];}async['putCollaborators'](_0x1aa54d){var _0x340b52=_0x1e67f1;const _0x288789=this['_getAPIPrefixPath']()+_0x340b52(0x1a1);await this[_0x340b52(0x18d)][_0x340b52(0x25a)](_0x288789,{'body':_0x1aa54d});}};Tt=rn([Kt(0x0,_0x132dee(_0x179170)),Kt(0x1,_0x132dee(_0x3ba963))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x541731){var _0x48ca8b=_0x1e67f1;return _0x541731&&_0x541731[_0x48ca8b(0x19c)]&&Object['prototype'][_0x48ca8b(0x3fa)]['call'](_0x541731,_0x48ca8b(0x323))?_0x541731[_0x48ca8b(0x323)]:_0x541731;}var Ve={'exports':{}};function on(_0x385f4c){var _0x4eaf3d=_0x1e67f1;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x385f4c+_0x4eaf3d(0x3ac));}var Ge={'exports':{}},cn=Ge[_0x1e67f1(0x446)],qt;function ie(){return qt||(qt=0x1,function(_0x18f3d7,_0x344198){(function(_0xce9759,_0x12f534){var _0x39af0c=_0x51b2;_0x18f3d7[_0x39af0c(0x446)]=_0x12f534();}(cn,function(){var _0x473bb5=_0x473bb5||function(_0x16cc2c,_0x499743){var _0x56cde0=_0x51b2,_0x35448c;if(typeof window<'u'&&window[_0x56cde0(0x258)]&&(_0x35448c=window[_0x56cde0(0x258)]),typeof self<'u'&&self[_0x56cde0(0x258)]&&(_0x35448c=self[_0x56cde0(0x258)]),typeof globalThis<'u'&&globalThis[_0x56cde0(0x258)]&&(_0x35448c=globalThis[_0x56cde0(0x258)]),!_0x35448c&&typeof window<'u'&&window[_0x56cde0(0x445)]&&(_0x35448c=window['msCrypto']),!_0x35448c&&typeof ft<'u'&&ft[_0x56cde0(0x258)]&&(_0x35448c=ft[_0x56cde0(0x258)]),!_0x35448c&&typeof on==_0x56cde0(0x28a))try{_0x35448c=require('crypto');}catch{}var _0x3aaf3f=function(){var _0x2bdd26=_0x56cde0;if(_0x35448c){if(typeof _0x35448c[_0x2bdd26(0x3c0)]=='function')try{return _0x35448c[_0x2bdd26(0x3c0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x35448c[_0x2bdd26(0x192)]=='function')try{return _0x35448c[_0x2bdd26(0x192)](0x4)[_0x2bdd26(0x256)]();}catch{}}throw new Error(_0x2bdd26(0x438));},_0x3f5108=Object[_0x56cde0(0x462)]||(function(){function _0x41b0e2(){}return function(_0x272871){var _0x4548fe=_0x51b2,_0x15b895;return _0x41b0e2[_0x4548fe(0x1ab)]=_0x272871,_0x15b895=new _0x41b0e2(),_0x41b0e2[_0x4548fe(0x1ab)]=null,_0x15b895;};}()),_0xfd1854={},_0x646819=_0xfd1854[_0x56cde0(0x271)]={},_0x2a43f8=_0x646819[_0x56cde0(0x238)]=(function(){return{'extend':function(_0x44b850){var _0x2b2a5d=_0x51b2,_0x1ba312=_0x3f5108(this);return _0x44b850&&_0x1ba312[_0x2b2a5d(0x1dd)](_0x44b850),(!_0x1ba312[_0x2b2a5d(0x3fa)]('init')||this[_0x2b2a5d(0x356)]===_0x1ba312[_0x2b2a5d(0x356)])&&(_0x1ba312['init']=function(){var _0x504e4b=_0x2b2a5d;_0x1ba312[_0x504e4b(0x30d)][_0x504e4b(0x356)]['apply'](this,arguments);}),_0x1ba312[_0x2b2a5d(0x356)]['prototype']=_0x1ba312,_0x1ba312['$super']=this,_0x1ba312;},'create':function(){var _0x2745d8=_0x51b2,_0x51f209=this[_0x2745d8(0x2d1)]();return _0x51f209[_0x2745d8(0x356)]['apply'](_0x51f209,arguments),_0x51f209;},'init':function(){},'mixIn':function(_0x5d3227){var _0x2634c2=_0x51b2;for(var _0x250f42 in _0x5d3227)_0x5d3227[_0x2634c2(0x3fa)](_0x250f42)&&(this[_0x250f42]=_0x5d3227[_0x250f42]);_0x5d3227[_0x2634c2(0x3fa)](_0x2634c2(0x2ac))&&(this[_0x2634c2(0x2ac)]=_0x5d3227[_0x2634c2(0x2ac)]);},'clone':function(){var _0x3294c1=_0x51b2;return this[_0x3294c1(0x356)][_0x3294c1(0x1ab)][_0x3294c1(0x2d1)](this);}};}()),_0x4965f8=_0x646819['WordArray']=_0x2a43f8[_0x56cde0(0x2d1)]({'init':function(_0xfb5222,_0x7c1534){var _0x57119e=_0x56cde0;_0xfb5222=this[_0x57119e(0x191)]=_0xfb5222||[],_0x7c1534!=_0x499743?this['sigBytes']=_0x7c1534:this['sigBytes']=_0xfb5222['length']*0x4;},'toString':function(_0x39d4c8){return(_0x39d4c8||_0x26f2ba)['stringify'](this);},'concat':function(_0x2c8bec){var _0x2159ff=_0x56cde0,_0x44ea25=this[_0x2159ff(0x191)],_0xe49b08=_0x2c8bec['words'],_0x2150f9=this[_0x2159ff(0x348)],_0x39fedd=_0x2c8bec[_0x2159ff(0x348)];if(this['clamp'](),_0x2150f9%0x4)for(var _0x1acfea=0x0;_0x1acfea<_0x39fedd;_0x1acfea++){var _0x163ed6=_0xe49b08[_0x1acfea>>>0x2]>>>0x18-_0x1acfea%0x4*0x8&0xff;_0x44ea25[_0x2150f9+_0x1acfea>>>0x2]|=_0x163ed6<<0x18-(_0x2150f9+_0x1acfea)%0x4*0x8;}else{for(var _0x49efd7=0x0;_0x49efd7<_0x39fedd;_0x49efd7+=0x4)_0x44ea25[_0x2150f9+_0x49efd7>>>0x2]=_0xe49b08[_0x49efd7>>>0x2];}return this[_0x2159ff(0x348)]+=_0x39fedd,this;},'clamp':function(){var _0x3da629=_0x56cde0,_0x574be6=this[_0x3da629(0x191)],_0x54cc32=this[_0x3da629(0x348)];_0x574be6[_0x54cc32>>>0x2]&=0xffffffff<<0x20-_0x54cc32%0x4*0x8,_0x574be6[_0x3da629(0x19d)]=_0x16cc2c['ceil'](_0x54cc32/0x4);},'clone':function(){var _0x5de66a=_0x56cde0,_0x406500=_0x2a43f8[_0x5de66a(0x368)][_0x5de66a(0x1bf)](this);return _0x406500['words']=this[_0x5de66a(0x191)][_0x5de66a(0x397)](0x0),_0x406500;},'random':function(_0x2e2438){var _0x55ec67=_0x56cde0;for(var _0x169bce=[],_0x25bdd2=0x0;_0x25bdd2<_0x2e2438;_0x25bdd2+=0x4)_0x169bce['push'](_0x3aaf3f());return new _0x4965f8[(_0x55ec67(0x356))](_0x169bce,_0x2e2438);}}),_0x42bfcd=_0xfd1854[_0x56cde0(0x208)]={},_0x26f2ba=_0x42bfcd[_0x56cde0(0x473)]={'stringify':function(_0x35fb9b){var _0x22b174=_0x56cde0;for(var _0x116803=_0x35fb9b[_0x22b174(0x191)],_0x56306b=_0x35fb9b[_0x22b174(0x348)],_0x4e7e6f=[],_0x1a7ce6=0x0;_0x1a7ce6<_0x56306b;_0x1a7ce6++){var _0x5c9ad5=_0x116803[_0x1a7ce6>>>0x2]>>>0x18-_0x1a7ce6%0x4*0x8&0xff;_0x4e7e6f[_0x22b174(0x417)]((_0x5c9ad5>>>0x4)[_0x22b174(0x2ac)](0x10)),_0x4e7e6f[_0x22b174(0x417)]((_0x5c9ad5&0xf)[_0x22b174(0x2ac)](0x10));}return _0x4e7e6f[_0x22b174(0x2ed)]('');},'parse':function(_0x40c82f){var _0x5d473d=_0x56cde0;for(var _0x28c685=_0x40c82f[_0x5d473d(0x19d)],_0x6e38f3=[],_0x30c6de=0x0;_0x30c6de<_0x28c685;_0x30c6de+=0x2)_0x6e38f3[_0x30c6de>>>0x3]|=parseInt(_0x40c82f[_0x5d473d(0x28b)](_0x30c6de,0x2),0x10)<<0x18-_0x30c6de%0x8*0x4;return new _0x4965f8[(_0x5d473d(0x356))](_0x6e38f3,_0x28c685/0x2);}},_0x347a90=_0x42bfcd['Latin1']={'stringify':function(_0x2347b9){var _0x29e178=_0x56cde0;for(var _0xbdcbaa=_0x2347b9[_0x29e178(0x191)],_0x20bc50=_0x2347b9[_0x29e178(0x348)],_0x233446=[],_0x7aeae=0x0;_0x7aeae<_0x20bc50;_0x7aeae++){var _0x2fedb1=_0xbdcbaa[_0x7aeae>>>0x2]>>>0x18-_0x7aeae%0x4*0x8&0xff;_0x233446['push'](String[_0x29e178(0x19f)](_0x2fedb1));}return _0x233446['join']('');},'parse':function(_0x32dfc5){var _0x623510=_0x56cde0;for(var _0x35fdf7=_0x32dfc5[_0x623510(0x19d)],_0x2e6a34=[],_0x5cfb55=0x0;_0x5cfb55<_0x35fdf7;_0x5cfb55++)_0x2e6a34[_0x5cfb55>>>0x2]|=(_0x32dfc5[_0x623510(0x3ab)](_0x5cfb55)&0xff)<<0x18-_0x5cfb55%0x4*0x8;return new _0x4965f8[(_0x623510(0x356))](_0x2e6a34,_0x35fdf7);}},_0x18f14f=_0x42bfcd[_0x56cde0(0x3fb)]={'stringify':function(_0x4bf3f5){var _0x70d743=_0x56cde0;try{return decodeURIComponent(escape(_0x347a90['stringify'](_0x4bf3f5)));}catch{throw new Error(_0x70d743(0x289));}},'parse':function(_0x3f6eb6){var _0xa5ecc2=_0x56cde0;return _0x347a90[_0xa5ecc2(0x2b5)](unescape(encodeURIComponent(_0x3f6eb6)));}},_0x359433=_0x646819[_0x56cde0(0x45c)]=_0x2a43f8['extend']({'reset':function(){var _0x5f471f=_0x56cde0;this[_0x5f471f(0x1c6)]=new _0x4965f8[(_0x5f471f(0x356))](),this[_0x5f471f(0x3e5)]=0x0;},'_append':function(_0xec5afa){var _0x4f3c6d=_0x56cde0;typeof _0xec5afa==_0x4f3c6d(0x37e)&&(_0xec5afa=_0x18f14f[_0x4f3c6d(0x2b5)](_0xec5afa)),this[_0x4f3c6d(0x1c6)][_0x4f3c6d(0x1af)](_0xec5afa),this[_0x4f3c6d(0x3e5)]+=_0xec5afa[_0x4f3c6d(0x348)];},'_process':function(_0x1105d2){var _0x1e2d94=_0x56cde0,_0x4ba11f,_0x1ec618=this[_0x1e2d94(0x1c6)],_0xc6f5b2=_0x1ec618['words'],_0x10f5b5=_0x1ec618[_0x1e2d94(0x348)],_0xda77e4=this['blockSize'],_0x5061e8=_0xda77e4*0x4,_0x2016a7=_0x10f5b5/_0x5061e8;_0x1105d2?_0x2016a7=_0x16cc2c[_0x1e2d94(0x1c4)](_0x2016a7):_0x2016a7=_0x16cc2c[_0x1e2d94(0x29a)]((_0x2016a7|0x0)-this['_minBufferSize'],0x0);var _0x4d0dbf=_0x2016a7*_0xda77e4,_0x3e64c4=_0x16cc2c[_0x1e2d94(0x1ff)](_0x4d0dbf*0x4,_0x10f5b5);if(_0x4d0dbf){for(var _0x30f101=0x0;_0x30f101<_0x4d0dbf;_0x30f101+=_0xda77e4)this[_0x1e2d94(0x489)](_0xc6f5b2,_0x30f101);_0x4ba11f=_0xc6f5b2[_0x1e2d94(0x171)](0x0,_0x4d0dbf),_0x1ec618['sigBytes']-=_0x3e64c4;}return new _0x4965f8[(_0x1e2d94(0x356))](_0x4ba11f,_0x3e64c4);},'clone':function(){var _0x51f3d3=_0x56cde0,_0x11c8ff=_0x2a43f8['clone'][_0x51f3d3(0x1bf)](this);return _0x11c8ff[_0x51f3d3(0x1c6)]=this[_0x51f3d3(0x1c6)][_0x51f3d3(0x368)](),_0x11c8ff;},'_minBufferSize':0x0});_0x646819[_0x56cde0(0x2a9)]=_0x359433[_0x56cde0(0x2d1)]({'cfg':_0x2a43f8[_0x56cde0(0x2d1)](),'init':function(_0x1da0ae){var _0x338ffe=_0x56cde0;this[_0x338ffe(0x276)]=this['cfg']['extend'](_0x1da0ae),this[_0x338ffe(0x2af)]();},'reset':function(){var _0x270763=_0x56cde0;_0x359433[_0x270763(0x2af)][_0x270763(0x1bf)](this),this[_0x270763(0x2da)]();},'update':function(_0x562962){var _0x45d405=_0x56cde0;return this['_append'](_0x562962),this[_0x45d405(0x40d)](),this;},'finalize':function(_0x41cc66){var _0x1d5130=_0x56cde0;_0x41cc66&&this[_0x1d5130(0x383)](_0x41cc66);var _0x11df9c=this['_doFinalize']();return _0x11df9c;},'blockSize':0x10,'_createHelper':function(_0x46d144){return function(_0x89d1e2,_0x56a9fa){var _0x100088=_0x51b2;return new _0x46d144[(_0x100088(0x356))](_0x56a9fa)['finalize'](_0x89d1e2);};},'_createHmacHelper':function(_0x48735e){return function(_0x519327,_0xb9b640){var _0x1c2987=_0x51b2;return new _0x2f0f88[(_0x1c2987(0x173))][(_0x1c2987(0x356))](_0x48735e,_0xb9b640)[_0x1c2987(0x453)](_0x519327);};}});var _0x2f0f88=_0xfd1854[_0x56cde0(0x467)]={};return _0xfd1854;}(Math);return _0x473bb5;}));}(Ge)),Ge['exports'];}var We={'exports':{}},_n=We['exports'],zt;function Ri(){var _0x20238e=_0x1e67f1;return zt||(zt=0x1,function(_0x4e362a,_0x115ece){(function(_0x140c5a,_0x224685){var _0x454278=_0x51b2;_0x4e362a[_0x454278(0x446)]=_0x224685(ie());}(_n,function(_0x482cf1){var _0x4b76f2=_0x51b2;return(function(){var _0x313acb=_0x51b2,_0x279677=_0x482cf1,_0x2fd181=_0x279677[_0x313acb(0x271)],_0x5ba524=_0x2fd181[_0x313acb(0x212)],_0x354ed7=_0x279677['enc'];_0x354ed7['Base64']={'stringify':function(_0x35523c){var _0x455ce0=_0x313acb,_0x1c335=_0x35523c[_0x455ce0(0x191)],_0x2ae49b=_0x35523c[_0x455ce0(0x348)],_0x559932=this[_0x455ce0(0x372)];_0x35523c[_0x455ce0(0x187)]();for(var _0x3a7d06=[],_0x517b4f=0x0;_0x517b4f<_0x2ae49b;_0x517b4f+=0x3)for(var _0x46bf1c=_0x1c335[_0x517b4f>>>0x2]>>>0x18-_0x517b4f%0x4*0x8&0xff,_0x241ee1=_0x1c335[_0x517b4f+0x1>>>0x2]>>>0x18-(_0x517b4f+0x1)%0x4*0x8&0xff,_0x3d6ef3=_0x1c335[_0x517b4f+0x2>>>0x2]>>>0x18-(_0x517b4f+0x2)%0x4*0x8&0xff,_0x7fa04f=_0x46bf1c<<0x10|_0x241ee1<<0x8|_0x3d6ef3,_0x34d915=0x0;_0x34d915<0x4&&_0x517b4f+_0x34d915*0.75<_0x2ae49b;_0x34d915++)_0x3a7d06[_0x455ce0(0x417)](_0x559932[_0x455ce0(0x41d)](_0x7fa04f>>>0x6*(0x3-_0x34d915)&0x3f));var _0x2d48d6=_0x559932[_0x455ce0(0x41d)](0x40);if(_0x2d48d6){for(;_0x3a7d06[_0x455ce0(0x19d)]%0x4;)_0x3a7d06['push'](_0x2d48d6);}return _0x3a7d06[_0x455ce0(0x2ed)]('');},'parse':function(_0x4f3485){var _0x21b3b0=_0x313acb,_0x1e29e8=_0x4f3485[_0x21b3b0(0x19d)],_0x5d8ffa=this['_map'],_0x119952=this['_reverseMap'];if(!_0x119952){_0x119952=this[_0x21b3b0(0x47d)]=[];for(var _0x53c0a4=0x0;_0x53c0a4<_0x5d8ffa['length'];_0x53c0a4++)_0x119952[_0x5d8ffa['charCodeAt'](_0x53c0a4)]=_0x53c0a4;}var _0x43f755=_0x5d8ffa['charAt'](0x40);if(_0x43f755){var _0x2ab833=_0x4f3485[_0x21b3b0(0x336)](_0x43f755);_0x2ab833!==-0x1&&(_0x1e29e8=_0x2ab833);}return _0x459964(_0x4f3485,_0x1e29e8,_0x119952);},'_map':_0x313acb(0x1f9)};function _0x459964(_0x7cf220,_0x1abbe9,_0x5cab9d){var _0x1b58a4=_0x313acb;for(var _0x1512c5=[],_0x129412=0x0,_0xe88bee=0x0;_0xe88bee<_0x1abbe9;_0xe88bee++)if(_0xe88bee%0x4){var _0x10e9d4=_0x5cab9d[_0x7cf220[_0x1b58a4(0x3ab)](_0xe88bee-0x1)]<<_0xe88bee%0x4*0x2,_0x124be9=_0x5cab9d[_0x7cf220[_0x1b58a4(0x3ab)](_0xe88bee)]>>>0x6-_0xe88bee%0x4*0x2,_0x20c1d1=_0x10e9d4|_0x124be9;_0x1512c5[_0x129412>>>0x2]|=_0x20c1d1<<0x18-_0x129412%0x4*0x8,_0x129412++;}return _0x5ba524['create'](_0x1512c5,_0x129412);}}()),_0x482cf1[_0x4b76f2(0x208)]['Base64'];}));}(We)),We[_0x20238e(0x446)];}var Ye={'exports':{}},hn=Ye[_0x1e67f1(0x446)],Jt;function ln(){var _0x49dadc=_0x1e67f1;return Jt||(Jt=0x1,function(_0x159e66,_0x4cae01){(function(_0x22d6b6,_0x47a8a2){var _0x501066=_0x51b2;_0x159e66[_0x501066(0x446)]=_0x47a8a2(ie());}(hn,function(_0x4bb211){var _0x483f52=_0x51b2;return function(_0x12e1da){var _0x22b3ca=_0x51b2,_0x39486d=_0x4bb211,_0x428ba6=_0x39486d[_0x22b3ca(0x271)],_0x2875f8=_0x428ba6[_0x22b3ca(0x212)],_0x37f722=_0x428ba6[_0x22b3ca(0x2a9)],_0x60e9ad=_0x39486d[_0x22b3ca(0x467)],_0x2b73d0=[];(function(){var _0x4345ff=_0x22b3ca;for(var _0x1d7176=0x0;_0x1d7176<0x40;_0x1d7176++)_0x2b73d0[_0x1d7176]=_0x12e1da['abs'](_0x12e1da[_0x4345ff(0x222)](_0x1d7176+0x1))*0x100000000|0x0;}());var _0x30b3f8=_0x60e9ad[_0x22b3ca(0x32b)]=_0x37f722[_0x22b3ca(0x2d1)]({'_doReset':function(){var _0x2c4e8d=_0x22b3ca;this[_0x2c4e8d(0x1df)]=new _0x2875f8[(_0x2c4e8d(0x356))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3b07d0,_0x4a847d){var _0x180784=_0x22b3ca;for(var _0x5365c1=0x0;_0x5365c1<0x10;_0x5365c1++){var _0x24cb52=_0x4a847d+_0x5365c1,_0x59baae=_0x3b07d0[_0x24cb52];_0x3b07d0[_0x24cb52]=(_0x59baae<<0x8|_0x59baae>>>0x18)&0xff00ff|(_0x59baae<<0x18|_0x59baae>>>0x8)&0xff00ff00;}var _0x34b128=this['_hash'][_0x180784(0x191)],_0x9035fc=_0x3b07d0[_0x4a847d+0x0],_0x4b47da=_0x3b07d0[_0x4a847d+0x1],_0x7f5e0c=_0x3b07d0[_0x4a847d+0x2],_0x3ec715=_0x3b07d0[_0x4a847d+0x3],_0x2c337c=_0x3b07d0[_0x4a847d+0x4],_0xbc0a02=_0x3b07d0[_0x4a847d+0x5],_0x49bd40=_0x3b07d0[_0x4a847d+0x6],_0x508c43=_0x3b07d0[_0x4a847d+0x7],_0xfd7c61=_0x3b07d0[_0x4a847d+0x8],_0x1b012e=_0x3b07d0[_0x4a847d+0x9],_0x5b18f7=_0x3b07d0[_0x4a847d+0xa],_0x3984a8=_0x3b07d0[_0x4a847d+0xb],_0xe7ca64=_0x3b07d0[_0x4a847d+0xc],_0x15fb0a=_0x3b07d0[_0x4a847d+0xd],_0x3fd19d=_0x3b07d0[_0x4a847d+0xe],_0x99d4f9=_0x3b07d0[_0x4a847d+0xf],_0x125f31=_0x34b128[0x0],_0x529db0=_0x34b128[0x1],_0x4b79e1=_0x34b128[0x2],_0x5ca7f5=_0x34b128[0x3];_0x125f31=_0x9f82d8(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x9035fc,0x7,_0x2b73d0[0x0]),_0x5ca7f5=_0x9f82d8(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x4b47da,0xc,_0x2b73d0[0x1]),_0x4b79e1=_0x9f82d8(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x7f5e0c,0x11,_0x2b73d0[0x2]),_0x529db0=_0x9f82d8(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x3ec715,0x16,_0x2b73d0[0x3]),_0x125f31=_0x9f82d8(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x2c337c,0x7,_0x2b73d0[0x4]),_0x5ca7f5=_0x9f82d8(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0xbc0a02,0xc,_0x2b73d0[0x5]),_0x4b79e1=_0x9f82d8(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x49bd40,0x11,_0x2b73d0[0x6]),_0x529db0=_0x9f82d8(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x508c43,0x16,_0x2b73d0[0x7]),_0x125f31=_0x9f82d8(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0xfd7c61,0x7,_0x2b73d0[0x8]),_0x5ca7f5=_0x9f82d8(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x1b012e,0xc,_0x2b73d0[0x9]),_0x4b79e1=_0x9f82d8(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x5b18f7,0x11,_0x2b73d0[0xa]),_0x529db0=_0x9f82d8(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x3984a8,0x16,_0x2b73d0[0xb]),_0x125f31=_0x9f82d8(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0xe7ca64,0x7,_0x2b73d0[0xc]),_0x5ca7f5=_0x9f82d8(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x15fb0a,0xc,_0x2b73d0[0xd]),_0x4b79e1=_0x9f82d8(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x3fd19d,0x11,_0x2b73d0[0xe]),_0x529db0=_0x9f82d8(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x99d4f9,0x16,_0x2b73d0[0xf]),_0x125f31=_0x4d7ed7(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x4b47da,0x5,_0x2b73d0[0x10]),_0x5ca7f5=_0x4d7ed7(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x49bd40,0x9,_0x2b73d0[0x11]),_0x4b79e1=_0x4d7ed7(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x3984a8,0xe,_0x2b73d0[0x12]),_0x529db0=_0x4d7ed7(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x9035fc,0x14,_0x2b73d0[0x13]),_0x125f31=_0x4d7ed7(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0xbc0a02,0x5,_0x2b73d0[0x14]),_0x5ca7f5=_0x4d7ed7(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x5b18f7,0x9,_0x2b73d0[0x15]),_0x4b79e1=_0x4d7ed7(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x99d4f9,0xe,_0x2b73d0[0x16]),_0x529db0=_0x4d7ed7(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x2c337c,0x14,_0x2b73d0[0x17]),_0x125f31=_0x4d7ed7(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x1b012e,0x5,_0x2b73d0[0x18]),_0x5ca7f5=_0x4d7ed7(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x3fd19d,0x9,_0x2b73d0[0x19]),_0x4b79e1=_0x4d7ed7(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x3ec715,0xe,_0x2b73d0[0x1a]),_0x529db0=_0x4d7ed7(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0xfd7c61,0x14,_0x2b73d0[0x1b]),_0x125f31=_0x4d7ed7(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x15fb0a,0x5,_0x2b73d0[0x1c]),_0x5ca7f5=_0x4d7ed7(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x7f5e0c,0x9,_0x2b73d0[0x1d]),_0x4b79e1=_0x4d7ed7(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x508c43,0xe,_0x2b73d0[0x1e]),_0x529db0=_0x4d7ed7(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0xe7ca64,0x14,_0x2b73d0[0x1f]),_0x125f31=_0x59bb2f(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0xbc0a02,0x4,_0x2b73d0[0x20]),_0x5ca7f5=_0x59bb2f(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0xfd7c61,0xb,_0x2b73d0[0x21]),_0x4b79e1=_0x59bb2f(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x3984a8,0x10,_0x2b73d0[0x22]),_0x529db0=_0x59bb2f(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x3fd19d,0x17,_0x2b73d0[0x23]),_0x125f31=_0x59bb2f(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x4b47da,0x4,_0x2b73d0[0x24]),_0x5ca7f5=_0x59bb2f(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x2c337c,0xb,_0x2b73d0[0x25]),_0x4b79e1=_0x59bb2f(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x508c43,0x10,_0x2b73d0[0x26]),_0x529db0=_0x59bb2f(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x5b18f7,0x17,_0x2b73d0[0x27]),_0x125f31=_0x59bb2f(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x15fb0a,0x4,_0x2b73d0[0x28]),_0x5ca7f5=_0x59bb2f(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x9035fc,0xb,_0x2b73d0[0x29]),_0x4b79e1=_0x59bb2f(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x3ec715,0x10,_0x2b73d0[0x2a]),_0x529db0=_0x59bb2f(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x49bd40,0x17,_0x2b73d0[0x2b]),_0x125f31=_0x59bb2f(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x1b012e,0x4,_0x2b73d0[0x2c]),_0x5ca7f5=_0x59bb2f(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0xe7ca64,0xb,_0x2b73d0[0x2d]),_0x4b79e1=_0x59bb2f(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x99d4f9,0x10,_0x2b73d0[0x2e]),_0x529db0=_0x59bb2f(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x7f5e0c,0x17,_0x2b73d0[0x2f]),_0x125f31=_0x217c53(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x9035fc,0x6,_0x2b73d0[0x30]),_0x5ca7f5=_0x217c53(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x508c43,0xa,_0x2b73d0[0x31]),_0x4b79e1=_0x217c53(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x3fd19d,0xf,_0x2b73d0[0x32]),_0x529db0=_0x217c53(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0xbc0a02,0x15,_0x2b73d0[0x33]),_0x125f31=_0x217c53(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0xe7ca64,0x6,_0x2b73d0[0x34]),_0x5ca7f5=_0x217c53(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x3ec715,0xa,_0x2b73d0[0x35]),_0x4b79e1=_0x217c53(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x5b18f7,0xf,_0x2b73d0[0x36]),_0x529db0=_0x217c53(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x4b47da,0x15,_0x2b73d0[0x37]),_0x125f31=_0x217c53(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0xfd7c61,0x6,_0x2b73d0[0x38]),_0x5ca7f5=_0x217c53(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x99d4f9,0xa,_0x2b73d0[0x39]),_0x4b79e1=_0x217c53(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x49bd40,0xf,_0x2b73d0[0x3a]),_0x529db0=_0x217c53(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x15fb0a,0x15,_0x2b73d0[0x3b]),_0x125f31=_0x217c53(_0x125f31,_0x529db0,_0x4b79e1,_0x5ca7f5,_0x2c337c,0x6,_0x2b73d0[0x3c]),_0x5ca7f5=_0x217c53(_0x5ca7f5,_0x125f31,_0x529db0,_0x4b79e1,_0x3984a8,0xa,_0x2b73d0[0x3d]),_0x4b79e1=_0x217c53(_0x4b79e1,_0x5ca7f5,_0x125f31,_0x529db0,_0x7f5e0c,0xf,_0x2b73d0[0x3e]),_0x529db0=_0x217c53(_0x529db0,_0x4b79e1,_0x5ca7f5,_0x125f31,_0x1b012e,0x15,_0x2b73d0[0x3f]),_0x34b128[0x0]=_0x34b128[0x0]+_0x125f31|0x0,_0x34b128[0x1]=_0x34b128[0x1]+_0x529db0|0x0,_0x34b128[0x2]=_0x34b128[0x2]+_0x4b79e1|0x0,_0x34b128[0x3]=_0x34b128[0x3]+_0x5ca7f5|0x0;},'_doFinalize':function(){var _0x4cddf8=_0x22b3ca,_0x3597ea=this[_0x4cddf8(0x1c6)],_0x5398ab=_0x3597ea[_0x4cddf8(0x191)],_0x41fce5=this[_0x4cddf8(0x3e5)]*0x8,_0xe5ddbf=_0x3597ea[_0x4cddf8(0x348)]*0x8;_0x5398ab[_0xe5ddbf>>>0x5]|=0x80<<0x18-_0xe5ddbf%0x20;var _0x4ad586=_0x12e1da[_0x4cddf8(0x216)](_0x41fce5/0x100000000),_0x38d403=_0x41fce5;_0x5398ab[(_0xe5ddbf+0x40>>>0x9<<0x4)+0xf]=(_0x4ad586<<0x8|_0x4ad586>>>0x18)&0xff00ff|(_0x4ad586<<0x18|_0x4ad586>>>0x8)&0xff00ff00,_0x5398ab[(_0xe5ddbf+0x40>>>0x9<<0x4)+0xe]=(_0x38d403<<0x8|_0x38d403>>>0x18)&0xff00ff|(_0x38d403<<0x18|_0x38d403>>>0x8)&0xff00ff00,_0x3597ea['sigBytes']=(_0x5398ab[_0x4cddf8(0x19d)]+0x1)*0x4,this['_process']();for(var _0x53cb87=this['_hash'],_0x1029c7=_0x53cb87[_0x4cddf8(0x191)],_0x208f0d=0x0;_0x208f0d<0x4;_0x208f0d++){var _0x14c410=_0x1029c7[_0x208f0d];_0x1029c7[_0x208f0d]=(_0x14c410<<0x8|_0x14c410>>>0x18)&0xff00ff|(_0x14c410<<0x18|_0x14c410>>>0x8)&0xff00ff00;}return _0x53cb87;},'clone':function(){var _0x3c6c86=_0x22b3ca,_0x6f2064=_0x37f722[_0x3c6c86(0x368)][_0x3c6c86(0x1bf)](this);return _0x6f2064[_0x3c6c86(0x1df)]=this[_0x3c6c86(0x1df)][_0x3c6c86(0x368)](),_0x6f2064;}});function _0x9f82d8(_0x222502,_0x44a581,_0x2fab03,_0x425a65,_0x103142,_0x3af82f,_0x4790bd){var _0xc8b004=_0x222502+(_0x44a581&_0x2fab03|~_0x44a581&_0x425a65)+_0x103142+_0x4790bd;return(_0xc8b004<<_0x3af82f|_0xc8b004>>>0x20-_0x3af82f)+_0x44a581;}function _0x4d7ed7(_0x419280,_0x2635d8,_0x204bb3,_0x28305d,_0x522f9a,_0x390fc7,_0x11e89c){var _0x370e27=_0x419280+(_0x2635d8&_0x28305d|_0x204bb3&~_0x28305d)+_0x522f9a+_0x11e89c;return(_0x370e27<<_0x390fc7|_0x370e27>>>0x20-_0x390fc7)+_0x2635d8;}function _0x59bb2f(_0x3089cb,_0x15b16e,_0x5acd2a,_0x2e14f3,_0x12c18d,_0x4b9944,_0x23bc2a){var _0x256e16=_0x3089cb+(_0x15b16e^_0x5acd2a^_0x2e14f3)+_0x12c18d+_0x23bc2a;return(_0x256e16<<_0x4b9944|_0x256e16>>>0x20-_0x4b9944)+_0x15b16e;}function _0x217c53(_0x1ce271,_0x429fa8,_0x42410d,_0xd81508,_0x1694e7,_0x52473f,_0x1f2db6){var _0x24be7d=_0x1ce271+(_0x42410d^(_0x429fa8|~_0xd81508))+_0x1694e7+_0x1f2db6;return(_0x24be7d<<_0x52473f|_0x24be7d>>>0x20-_0x52473f)+_0x429fa8;}_0x39486d[_0x22b3ca(0x32b)]=_0x37f722[_0x22b3ca(0x221)](_0x30b3f8),_0x39486d['HmacMD5']=_0x37f722[_0x22b3ca(0x23f)](_0x30b3f8);}(Math),_0x4bb211[_0x483f52(0x32b)];}));}(Ye)),Ye[_0x49dadc(0x446)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x1e67f1(0x446)],Xt;function dn(){var _0x3bf20e=_0x1e67f1;return Xt||(Xt=0x1,function(_0x1d9950,_0x2a2c6e){(function(_0x376829,_0x57df06){_0x1d9950['exports']=_0x57df06(ie());}(un,function(_0x17ebf2){var _0x299b0f=_0x51b2;return(function(){var _0x49aba5=_0x51b2,_0x557211=_0x17ebf2,_0x796c9c=_0x557211[_0x49aba5(0x271)],_0x29fe5c=_0x796c9c[_0x49aba5(0x212)],_0x38bd26=_0x796c9c[_0x49aba5(0x2a9)],_0x125a5e=_0x557211['algo'],_0x238b31=[],_0x5b4d2c=_0x125a5e[_0x49aba5(0x471)]=_0x38bd26['extend']({'_doReset':function(){var _0x1a97b1=_0x49aba5;this['_hash']=new _0x29fe5c[(_0x1a97b1(0x356))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x17aff5,_0x6848d5){for(var _0x54007f=this['_hash']['words'],_0x2f7f27=_0x54007f[0x0],_0x58950b=_0x54007f[0x1],_0x4c8065=_0x54007f[0x2],_0x26f060=_0x54007f[0x3],_0x207b3b=_0x54007f[0x4],_0x13a0c1=0x0;_0x13a0c1<0x50;_0x13a0c1++){if(_0x13a0c1<0x10)_0x238b31[_0x13a0c1]=_0x17aff5[_0x6848d5+_0x13a0c1]|0x0;else{var _0x18f4b8=_0x238b31[_0x13a0c1-0x3]^_0x238b31[_0x13a0c1-0x8]^_0x238b31[_0x13a0c1-0xe]^_0x238b31[_0x13a0c1-0x10];_0x238b31[_0x13a0c1]=_0x18f4b8<<0x1|_0x18f4b8>>>0x1f;}var _0x3ca85d=(_0x2f7f27<<0x5|_0x2f7f27>>>0x1b)+_0x207b3b+_0x238b31[_0x13a0c1];_0x13a0c1<0x14?_0x3ca85d+=(_0x58950b&_0x4c8065|~_0x58950b&_0x26f060)+0x5a827999:_0x13a0c1<0x28?_0x3ca85d+=(_0x58950b^_0x4c8065^_0x26f060)+0x6ed9eba1:_0x13a0c1<0x3c?_0x3ca85d+=(_0x58950b&_0x4c8065|_0x58950b&_0x26f060|_0x4c8065&_0x26f060)-0x70e44324:_0x3ca85d+=(_0x58950b^_0x4c8065^_0x26f060)-0x359d3e2a,_0x207b3b=_0x26f060,_0x26f060=_0x4c8065,_0x4c8065=_0x58950b<<0x1e|_0x58950b>>>0x2,_0x58950b=_0x2f7f27,_0x2f7f27=_0x3ca85d;}_0x54007f[0x0]=_0x54007f[0x0]+_0x2f7f27|0x0,_0x54007f[0x1]=_0x54007f[0x1]+_0x58950b|0x0,_0x54007f[0x2]=_0x54007f[0x2]+_0x4c8065|0x0,_0x54007f[0x3]=_0x54007f[0x3]+_0x26f060|0x0,_0x54007f[0x4]=_0x54007f[0x4]+_0x207b3b|0x0;},'_doFinalize':function(){var _0x19db01=_0x49aba5,_0x55ccea=this['_data'],_0x27763a=_0x55ccea['words'],_0x51f1f6=this['_nDataBytes']*0x8,_0x4c4420=_0x55ccea['sigBytes']*0x8;return _0x27763a[_0x4c4420>>>0x5]|=0x80<<0x18-_0x4c4420%0x20,_0x27763a[(_0x4c4420+0x40>>>0x9<<0x4)+0xe]=Math[_0x19db01(0x216)](_0x51f1f6/0x100000000),_0x27763a[(_0x4c4420+0x40>>>0x9<<0x4)+0xf]=_0x51f1f6,_0x55ccea[_0x19db01(0x348)]=_0x27763a[_0x19db01(0x19d)]*0x4,this[_0x19db01(0x40d)](),this['_hash'];},'clone':function(){var _0x17b17e=_0x49aba5,_0x3a617b=_0x38bd26[_0x17b17e(0x368)][_0x17b17e(0x1bf)](this);return _0x3a617b[_0x17b17e(0x1df)]=this['_hash'][_0x17b17e(0x368)](),_0x3a617b;}});_0x557211[_0x49aba5(0x471)]=_0x38bd26[_0x49aba5(0x221)](_0x5b4d2c),_0x557211[_0x49aba5(0x380)]=_0x38bd26[_0x49aba5(0x23f)](_0x5b4d2c);}()),_0x17ebf2[_0x299b0f(0x471)];}));}(qe)),qe[_0x3bf20e(0x446)];}var ze={'exports':{}},fn=ze[_0x1e67f1(0x446)],Zt;function vn(){var _0x1a9853=_0x1e67f1;return Zt||(Zt=0x1,function(_0xf9caf7,_0x1c4c9f){(function(_0x923672,_0x5a4a1b){var _0x5b0524=_0x51b2;_0xf9caf7[_0x5b0524(0x446)]=_0x5a4a1b(ie());}(fn,function(_0x149037){(function(){var _0x99eb7=_0x51b2,_0x53f85c=_0x149037,_0x2d9df7=_0x53f85c[_0x99eb7(0x271)],_0x4ff17b=_0x2d9df7[_0x99eb7(0x238)],_0x2b0d69=_0x53f85c[_0x99eb7(0x208)],_0x525ba2=_0x2b0d69['Utf8'],_0xf6bbcb=_0x53f85c['algo'];_0xf6bbcb[_0x99eb7(0x173)]=_0x4ff17b[_0x99eb7(0x2d1)]({'init':function(_0x312faa,_0x1e1078){var _0x24e34a=_0x99eb7;_0x312faa=this['_hasher']=new _0x312faa[(_0x24e34a(0x356))](),typeof _0x1e1078==_0x24e34a(0x37e)&&(_0x1e1078=_0x525ba2[_0x24e34a(0x2b5)](_0x1e1078));var _0x491cd1=_0x312faa[_0x24e34a(0x182)],_0x1bff72=_0x491cd1*0x4;_0x1e1078[_0x24e34a(0x348)]>_0x1bff72&&(_0x1e1078=_0x312faa[_0x24e34a(0x453)](_0x1e1078)),_0x1e1078[_0x24e34a(0x187)]();for(var _0x5249f0=this['_oKey']=_0x1e1078['clone'](),_0x25e91d=this['_iKey']=_0x1e1078['clone'](),_0xe2d796=_0x5249f0['words'],_0x5436a9=_0x25e91d[_0x24e34a(0x191)],_0x21f1f6=0x0;_0x21f1f6<_0x491cd1;_0x21f1f6++)_0xe2d796[_0x21f1f6]^=0x5c5c5c5c,_0x5436a9[_0x21f1f6]^=0x36363636;_0x5249f0[_0x24e34a(0x348)]=_0x25e91d[_0x24e34a(0x348)]=_0x1bff72,this[_0x24e34a(0x2af)]();},'reset':function(){var _0x59a96d=_0x99eb7,_0x5d60ce=this['_hasher'];_0x5d60ce[_0x59a96d(0x2af)](),_0x5d60ce[_0x59a96d(0x2d4)](this[_0x59a96d(0x45d)]);},'update':function(_0x53453d){return this['_hasher']['update'](_0x53453d),this;},'finalize':function(_0x2ae6f5){var _0x5cda5b=_0x99eb7,_0x22c8bc=this['_hasher'],_0x4dfb2d=_0x22c8bc[_0x5cda5b(0x453)](_0x2ae6f5);_0x22c8bc[_0x5cda5b(0x2af)]();var _0x392aae=_0x22c8bc[_0x5cda5b(0x453)](this[_0x5cda5b(0x45e)][_0x5cda5b(0x368)]()[_0x5cda5b(0x1af)](_0x4dfb2d));return _0x392aae;}});}());}));}(ze)),ze[_0x1a9853(0x446)];}var pn=Ke['exports'],Qt;function Ci(){return Qt||(Qt=0x1,function(_0x5b4ea9,_0x33488c){(function(_0x442a94,_0x2b5c91,_0x4181a3){var _0x3e557d=_0x51b2;_0x5b4ea9[_0x3e557d(0x446)]=_0x2b5c91(ie(),dn(),vn());}(pn,function(_0x86bd1e){var _0x2f4bba=_0x51b2;return(function(){var _0x5353f8=_0x51b2,_0x4601fa=_0x86bd1e,_0x53c690=_0x4601fa['lib'],_0x42cc7c=_0x53c690['Base'],_0x54d89d=_0x53c690[_0x5353f8(0x212)],_0x8d1c93=_0x4601fa[_0x5353f8(0x467)],_0x674477=_0x8d1c93[_0x5353f8(0x32b)],_0x126e91=_0x8d1c93[_0x5353f8(0x369)]=_0x42cc7c[_0x5353f8(0x2d1)]({'cfg':_0x42cc7c['extend']({'keySize':0x80/0x20,'hasher':_0x674477,'iterations':0x1}),'init':function(_0x30eae3){var _0x5e7722=_0x5353f8;this['cfg']=this[_0x5e7722(0x276)][_0x5e7722(0x2d1)](_0x30eae3);},'compute':function(_0x26af4b,_0x3534d4){var _0x42cc1b=_0x5353f8;for(var _0x102a20,_0x47c3f2=this[_0x42cc1b(0x276)],_0x568044=_0x47c3f2[_0x42cc1b(0x1aa)][_0x42cc1b(0x462)](),_0x46ff49=_0x54d89d[_0x42cc1b(0x462)](),_0x1af0a7=_0x46ff49[_0x42cc1b(0x191)],_0x3ed52b=_0x47c3f2[_0x42cc1b(0x17e)],_0xc1655=_0x47c3f2[_0x42cc1b(0x3eb)];_0x1af0a7[_0x42cc1b(0x19d)]<_0x3ed52b;){_0x102a20&&_0x568044[_0x42cc1b(0x2d4)](_0x102a20),_0x102a20=_0x568044[_0x42cc1b(0x2d4)](_0x26af4b)[_0x42cc1b(0x453)](_0x3534d4),_0x568044[_0x42cc1b(0x2af)]();for(var _0x44e837=0x1;_0x44e837<_0xc1655;_0x44e837++)_0x102a20=_0x568044[_0x42cc1b(0x453)](_0x102a20),_0x568044[_0x42cc1b(0x2af)]();_0x46ff49[_0x42cc1b(0x1af)](_0x102a20);}return _0x46ff49[_0x42cc1b(0x348)]=_0x3ed52b*0x4,_0x46ff49;}});_0x4601fa[_0x5353f8(0x369)]=function(_0x45a9a5,_0x18baef,_0x454445){var _0x1f74ff=_0x5353f8;return _0x126e91[_0x1f74ff(0x462)](_0x454445)[_0x1f74ff(0x3a1)](_0x45a9a5,_0x18baef);};}()),_0x86bd1e[_0x2f4bba(0x369)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},En=Je['exports'],ei;function Ni(){return ei||(ei=0x1,function(_0x21e5e4,_0xe3e0c3){(function(_0x3d8fe7,_0x5ca4c7,_0x1a6bd1){var _0x3e6c33=_0x51b2;_0x21e5e4[_0x3e6c33(0x446)]=_0x5ca4c7(ie(),Ci());}(En,function(_0xdfedea){var _0x2e2e22=_0x51b2;_0xdfedea[_0x2e2e22(0x271)]['Cipher']||function(_0x28b817){var _0x51b1fd=_0x2e2e22,_0x342ea6=_0xdfedea,_0x5f1220=_0x342ea6[_0x51b1fd(0x271)],_0x5ab3ed=_0x5f1220['Base'],_0x5054a0=_0x5f1220['WordArray'],_0x91a344=_0x5f1220[_0x51b1fd(0x45c)],_0x1438fe=_0x342ea6[_0x51b1fd(0x208)];_0x1438fe[_0x51b1fd(0x3fb)];var _0x3ee299=_0x1438fe[_0x51b1fd(0x305)],_0x2a2b13=_0x342ea6[_0x51b1fd(0x467)],_0x2a5420=_0x2a2b13[_0x51b1fd(0x369)],_0x13284d=_0x5f1220[_0x51b1fd(0x340)]=_0x91a344['extend']({'cfg':_0x5ab3ed['extend'](),'createEncryptor':function(_0x788056,_0x858145){var _0x4fbf7d=_0x51b1fd;return this[_0x4fbf7d(0x462)](this['_ENC_XFORM_MODE'],_0x788056,_0x858145);},'createDecryptor':function(_0xa07cdf,_0x26fcaa){var _0x5ac63d=_0x51b1fd;return this['create'](this[_0x5ac63d(0x227)],_0xa07cdf,_0x26fcaa);},'init':function(_0xf99cb6,_0x50d782,_0x19aa1b){var _0x256242=_0x51b1fd;this[_0x256242(0x276)]=this[_0x256242(0x276)][_0x256242(0x2d1)](_0x19aa1b),this[_0x256242(0x236)]=_0xf99cb6,this[_0x256242(0x2ef)]=_0x50d782,this['reset']();},'reset':function(){var _0x42fbc7=_0x51b1fd;_0x91a344['reset'][_0x42fbc7(0x1bf)](this),this[_0x42fbc7(0x2da)]();},'process':function(_0x1845b8){var _0x6e5e7c=_0x51b1fd;return this[_0x6e5e7c(0x383)](_0x1845b8),this[_0x6e5e7c(0x40d)]();},'finalize':function(_0x217cfa){var _0x57b61c=_0x51b1fd;_0x217cfa&&this[_0x57b61c(0x383)](_0x217cfa);var _0x55d124=this[_0x57b61c(0x229)]();return _0x55d124;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x490c08(_0x2aa016){var _0x44962c=_0x51b2;return typeof _0x2aa016==_0x44962c(0x37e)?_0x5e590b:_0x4a34cf;}return function(_0x152159){return{'encrypt':function(_0x1c22b3,_0x389c15,_0x3e8a89){var _0x424e74=_0x51b2;return _0x490c08(_0x389c15)[_0x424e74(0x3fc)](_0x152159,_0x1c22b3,_0x389c15,_0x3e8a89);},'decrypt':function(_0x343f9a,_0x29d0c8,_0x1a43f1){var _0x2e226c=_0x51b2;return _0x490c08(_0x29d0c8)[_0x2e226c(0x48e)](_0x152159,_0x343f9a,_0x29d0c8,_0x1a43f1);}};};}())});_0x5f1220[_0x51b1fd(0x1d3)]=_0x13284d[_0x51b1fd(0x2d1)]({'_doFinalize':function(){var _0x1f2edb=_0x51b1fd,_0x75bf2=this[_0x1f2edb(0x40d)](!0x0);return _0x75bf2;},'blockSize':0x1});var _0x33cfda=_0x342ea6[_0x51b1fd(0x3f5)]={},_0x3cb3c7=_0x5f1220[_0x51b1fd(0x3a0)]=_0x5ab3ed[_0x51b1fd(0x2d1)]({'createEncryptor':function(_0x50e72e,_0x371557){var _0x3453f6=_0x51b1fd;return this[_0x3453f6(0x2ad)][_0x3453f6(0x462)](_0x50e72e,_0x371557);},'createDecryptor':function(_0x45fd38,_0x1210f2){var _0x278be2=_0x51b1fd;return this[_0x278be2(0x22b)]['create'](_0x45fd38,_0x1210f2);},'init':function(_0x5b1493,_0x55332a){var _0x5e1c04=_0x51b1fd;this['_cipher']=_0x5b1493,this[_0x5e1c04(0x290)]=_0x55332a;}}),_0x1784ed=_0x33cfda['CBC']=(function(){var _0x3d205c=_0x51b1fd,_0x573dce=_0x3cb3c7[_0x3d205c(0x2d1)]();_0x573dce[_0x3d205c(0x2ad)]=_0x573dce[_0x3d205c(0x2d1)]({'processBlock':function(_0x38bf2f,_0x5024c9){var _0x73332f=_0x3d205c,_0xcd2c3e=this[_0x73332f(0x2fd)],_0x365c96=_0xcd2c3e[_0x73332f(0x182)];_0x3bd701['call'](this,_0x38bf2f,_0x5024c9,_0x365c96),_0xcd2c3e[_0x73332f(0x433)](_0x38bf2f,_0x5024c9),this[_0x73332f(0x268)]=_0x38bf2f[_0x73332f(0x397)](_0x5024c9,_0x5024c9+_0x365c96);}}),_0x573dce[_0x3d205c(0x22b)]=_0x573dce[_0x3d205c(0x2d1)]({'processBlock':function(_0x4969d8,_0xb5f2e6){var _0x42a057=_0x3d205c,_0x4821f4=this[_0x42a057(0x2fd)],_0x19e17c=_0x4821f4[_0x42a057(0x182)],_0x4d6c92=_0x4969d8['slice'](_0xb5f2e6,_0xb5f2e6+_0x19e17c);_0x4821f4['decryptBlock'](_0x4969d8,_0xb5f2e6),_0x3bd701[_0x42a057(0x1bf)](this,_0x4969d8,_0xb5f2e6,_0x19e17c),this[_0x42a057(0x268)]=_0x4d6c92;}});function _0x3bd701(_0x2cb1de,_0x5f417a,_0xdaf90d){var _0x175655=_0x3d205c,_0x4bf790,_0x57ea3a=this[_0x175655(0x290)];_0x57ea3a?(_0x4bf790=_0x57ea3a,this[_0x175655(0x290)]=_0x28b817):_0x4bf790=this['_prevBlock'];for(var _0x2db747=0x0;_0x2db747<_0xdaf90d;_0x2db747++)_0x2cb1de[_0x5f417a+_0x2db747]^=_0x4bf790[_0x2db747];}return _0x573dce;}()),_0x53afb4=_0x342ea6[_0x51b1fd(0x3d7)]={},_0x5294e6=_0x53afb4[_0x51b1fd(0x2bb)]={'pad':function(_0x29b0d5,_0x453f5c){var _0x389a02=_0x51b1fd;for(var _0x58fe96=_0x453f5c*0x4,_0x221c0b=_0x58fe96-_0x29b0d5[_0x389a02(0x348)]%_0x58fe96,_0x4bda2f=_0x221c0b<<0x18|_0x221c0b<<0x10|_0x221c0b<<0x8|_0x221c0b,_0x3b6efd=[],_0x2a01cb=0x0;_0x2a01cb<_0x221c0b;_0x2a01cb+=0x4)_0x3b6efd[_0x389a02(0x417)](_0x4bda2f);var _0x3e3975=_0x5054a0[_0x389a02(0x462)](_0x3b6efd,_0x221c0b);_0x29b0d5[_0x389a02(0x1af)](_0x3e3975);},'unpad':function(_0x49bd65){var _0x2334e2=_0x51b1fd,_0xca1a9f=_0x49bd65[_0x2334e2(0x191)][_0x49bd65[_0x2334e2(0x348)]-0x1>>>0x2]&0xff;_0x49bd65[_0x2334e2(0x348)]-=_0xca1a9f;}};_0x5f1220[_0x51b1fd(0x34a)]=_0x13284d[_0x51b1fd(0x2d1)]({'cfg':_0x13284d['cfg'][_0x51b1fd(0x2d1)]({'mode':_0x1784ed,'padding':_0x5294e6}),'reset':function(){var _0x41fe27=_0x51b1fd,_0xcf8dd4;_0x13284d[_0x41fe27(0x2af)]['call'](this);var _0xbf570e=this['cfg'],_0x3a74b2=_0xbf570e['iv'],_0x1ba35d=_0xbf570e[_0x41fe27(0x3f5)];this[_0x41fe27(0x236)]==this['_ENC_XFORM_MODE']?_0xcf8dd4=_0x1ba35d['createEncryptor']:(_0xcf8dd4=_0x1ba35d[_0x41fe27(0x263)],this[_0x41fe27(0x1d7)]=0x1),this[_0x41fe27(0x48f)]&&this['_mode'][_0x41fe27(0x1a2)]==_0xcf8dd4?this[_0x41fe27(0x48f)][_0x41fe27(0x356)](this,_0x3a74b2&&_0x3a74b2[_0x41fe27(0x191)]):(this['_mode']=_0xcf8dd4[_0x41fe27(0x1bf)](_0x1ba35d,this,_0x3a74b2&&_0x3a74b2[_0x41fe27(0x191)]),this[_0x41fe27(0x48f)][_0x41fe27(0x1a2)]=_0xcf8dd4);},'_doProcessBlock':function(_0x1629f7,_0x42e214){var _0xd2c0e2=_0x51b1fd;this[_0xd2c0e2(0x48f)][_0xd2c0e2(0x382)](_0x1629f7,_0x42e214);},'_doFinalize':function(){var _0x8bacf3=_0x51b1fd,_0x4aca21,_0x232aa7=this[_0x8bacf3(0x276)][_0x8bacf3(0x3c9)];return this[_0x8bacf3(0x236)]==this[_0x8bacf3(0x27d)]?(_0x232aa7[_0x8bacf3(0x3d7)](this[_0x8bacf3(0x1c6)],this[_0x8bacf3(0x182)]),_0x4aca21=this[_0x8bacf3(0x40d)](!0x0)):(_0x4aca21=this[_0x8bacf3(0x40d)](!0x0),_0x232aa7[_0x8bacf3(0x1ba)](_0x4aca21)),_0x4aca21;},'blockSize':0x80/0x20});var _0x55ace2=_0x5f1220['CipherParams']=_0x5ab3ed[_0x51b1fd(0x2d1)]({'init':function(_0x39a1ad){var _0x59e1eb=_0x51b1fd;this[_0x59e1eb(0x1dd)](_0x39a1ad);},'toString':function(_0x3b7d2c){var _0x144629=_0x51b1fd;return(_0x3b7d2c||this[_0x144629(0x459)])[_0x144629(0x2ae)](this);}}),_0x34d220=_0x342ea6['format']={},_0x499f5f=_0x34d220[_0x51b1fd(0x237)]={'stringify':function(_0x8ffd24){var _0x15a4d1=_0x51b1fd,_0x5bf1d5,_0x171370=_0x8ffd24['ciphertext'],_0x5c9b53=_0x8ffd24['salt'];return _0x5c9b53?_0x5bf1d5=_0x5054a0['create']([0x53616c74,0x65645f5f])[_0x15a4d1(0x1af)](_0x5c9b53)[_0x15a4d1(0x1af)](_0x171370):_0x5bf1d5=_0x171370,_0x5bf1d5[_0x15a4d1(0x2ac)](_0x3ee299);},'parse':function(_0x214c63){var _0x31cdf1=_0x51b1fd,_0x28f348,_0x4705b1=_0x3ee299[_0x31cdf1(0x2b5)](_0x214c63),_0x3e2bb3=_0x4705b1[_0x31cdf1(0x191)];return _0x3e2bb3[0x0]==0x53616c74&&_0x3e2bb3[0x1]==0x65645f5f&&(_0x28f348=_0x5054a0[_0x31cdf1(0x462)](_0x3e2bb3['slice'](0x2,0x4)),_0x3e2bb3['splice'](0x0,0x4),_0x4705b1[_0x31cdf1(0x348)]-=0x10),_0x55ace2['create']({'ciphertext':_0x4705b1,'salt':_0x28f348});}},_0x4a34cf=_0x5f1220['SerializableCipher']=_0x5ab3ed['extend']({'cfg':_0x5ab3ed[_0x51b1fd(0x2d1)]({'format':_0x499f5f}),'encrypt':function(_0x49dc64,_0xcbade5,_0x573f3d,_0x1448c4){var _0x2312f1=_0x51b1fd;_0x1448c4=this[_0x2312f1(0x276)]['extend'](_0x1448c4);var _0x45b35e=_0x49dc64[_0x2312f1(0x479)](_0x573f3d,_0x1448c4),_0x4f9c92=_0x45b35e[_0x2312f1(0x453)](_0xcbade5),_0x168d66=_0x45b35e['cfg'];return _0x55ace2['create']({'ciphertext':_0x4f9c92,'key':_0x573f3d,'iv':_0x168d66['iv'],'algorithm':_0x49dc64,'mode':_0x168d66['mode'],'padding':_0x168d66[_0x2312f1(0x3c9)],'blockSize':_0x49dc64[_0x2312f1(0x182)],'formatter':_0x1448c4['format']});},'decrypt':function(_0x47f3a0,_0x5b88ab,_0x2b2f34,_0x5e8241){var _0x5470b4=_0x51b1fd;_0x5e8241=this['cfg']['extend'](_0x5e8241),_0x5b88ab=this['_parse'](_0x5b88ab,_0x5e8241[_0x5470b4(0x378)]);var _0x3bbb41=_0x47f3a0['createDecryptor'](_0x2b2f34,_0x5e8241)['finalize'](_0x5b88ab['ciphertext']);return _0x3bbb41;},'_parse':function(_0x2f851a,_0x43c710){var _0x11bc60=_0x51b1fd;return typeof _0x2f851a==_0x11bc60(0x37e)?_0x43c710[_0x11bc60(0x2b5)](_0x2f851a,this):_0x2f851a;}}),_0x1fdb89=_0x342ea6['kdf']={},_0x29302f=_0x1fdb89[_0x51b1fd(0x237)]={'execute':function(_0x1cd401,_0x217b0e,_0x57ff56,_0x38f72e,_0x2cdb05){var _0x463089=_0x51b1fd;if(_0x38f72e||(_0x38f72e=_0x5054a0[_0x463089(0x24a)](0x40/0x8)),_0x2cdb05)var _0x5de123=_0x2a5420['create']({'keySize':_0x217b0e+_0x57ff56,'hasher':_0x2cdb05})[_0x463089(0x3a1)](_0x1cd401,_0x38f72e);else var _0x5de123=_0x2a5420[_0x463089(0x462)]({'keySize':_0x217b0e+_0x57ff56})[_0x463089(0x3a1)](_0x1cd401,_0x38f72e);var _0x27e069=_0x5054a0['create'](_0x5de123[_0x463089(0x191)][_0x463089(0x397)](_0x217b0e),_0x57ff56*0x4);return _0x5de123['sigBytes']=_0x217b0e*0x4,_0x55ace2[_0x463089(0x462)]({'key':_0x5de123,'iv':_0x27e069,'salt':_0x38f72e});}},_0x5e590b=_0x5f1220[_0x51b1fd(0x190)]=_0x4a34cf[_0x51b1fd(0x2d1)]({'cfg':_0x4a34cf[_0x51b1fd(0x276)]['extend']({'kdf':_0x29302f}),'encrypt':function(_0x2ee551,_0x4855f7,_0x1991f5,_0x503c2c){var _0x4a4e57=_0x51b1fd;_0x503c2c=this['cfg'][_0x4a4e57(0x2d1)](_0x503c2c);var _0x2a65cd=_0x503c2c['kdf'][_0x4a4e57(0x41f)](_0x1991f5,_0x2ee551[_0x4a4e57(0x17e)],_0x2ee551[_0x4a4e57(0x2b9)],_0x503c2c[_0x4a4e57(0x307)],_0x503c2c[_0x4a4e57(0x1aa)]);_0x503c2c['iv']=_0x2a65cd['iv'];var _0xab0cc6=_0x4a34cf['encrypt']['call'](this,_0x2ee551,_0x4855f7,_0x2a65cd[_0x4a4e57(0x48b)],_0x503c2c);return _0xab0cc6[_0x4a4e57(0x1dd)](_0x2a65cd),_0xab0cc6;},'decrypt':function(_0x21af6d,_0x2c4b7a,_0x485a40,_0x2e8cf0){var _0xca75ff=_0x51b1fd;_0x2e8cf0=this[_0xca75ff(0x276)][_0xca75ff(0x2d1)](_0x2e8cf0),_0x2c4b7a=this['_parse'](_0x2c4b7a,_0x2e8cf0[_0xca75ff(0x378)]);var _0x5dff00=_0x2e8cf0['kdf']['execute'](_0x485a40,_0x21af6d['keySize'],_0x21af6d[_0xca75ff(0x2b9)],_0x2c4b7a[_0xca75ff(0x307)],_0x2e8cf0[_0xca75ff(0x1aa)]);_0x2e8cf0['iv']=_0x5dff00['iv'];var _0x4a6dab=_0x4a34cf[_0xca75ff(0x48e)][_0xca75ff(0x1bf)](this,_0x21af6d,_0x2c4b7a,_0x5dff00[_0xca75ff(0x48b)],_0x2e8cf0);return _0x4a6dab;}});}();}));}(Je)),Je['exports'];}var mn=Ve['exports'],ti;function In(){var _0x4a3436=_0x1e67f1;return ti||(ti=0x1,function(_0x5f4d68,_0x22c11d){(function(_0x31f77a,_0x5a5689,_0x5f09f7){var _0x5323c4=_0x51b2;_0x5f4d68[_0x5323c4(0x446)]=_0x5a5689(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x4cfb80){var _0x7538a1=_0x51b2;return(function(){var _0x48b9a2=_0x51b2,_0x258e11=_0x4cfb80,_0xb72a0a=_0x258e11[_0x48b9a2(0x271)],_0x4ab308=_0xb72a0a[_0x48b9a2(0x34a)],_0x174692=_0x258e11[_0x48b9a2(0x467)],_0x39364d=[],_0x4de640=[],_0x1f4a95=[],_0xbee698=[],_0x6b2a3b=[],_0xf37f32=[],_0x13590c=[],_0x566ac8=[],_0x4779f6=[],_0x6e60c5=[];(function(){for(var _0x194627=[],_0x75ed96=0x0;_0x75ed96<0x100;_0x75ed96++)_0x75ed96<0x80?_0x194627[_0x75ed96]=_0x75ed96<<0x1:_0x194627[_0x75ed96]=_0x75ed96<<0x1^0x11b;for(var _0x179136=0x0,_0x4d7b2f=0x0,_0x75ed96=0x0;_0x75ed96<0x100;_0x75ed96++){var _0x4cfa6e=_0x4d7b2f^_0x4d7b2f<<0x1^_0x4d7b2f<<0x2^_0x4d7b2f<<0x3^_0x4d7b2f<<0x4;_0x4cfa6e=_0x4cfa6e>>>0x8^_0x4cfa6e&0xff^0x63,_0x39364d[_0x179136]=_0x4cfa6e,_0x4de640[_0x4cfa6e]=_0x179136;var _0x240eee=_0x194627[_0x179136],_0xe0a903=_0x194627[_0x240eee],_0x370a5e=_0x194627[_0xe0a903],_0x5d6cfd=_0x194627[_0x4cfa6e]*0x101^_0x4cfa6e*0x1010100;_0x1f4a95[_0x179136]=_0x5d6cfd<<0x18|_0x5d6cfd>>>0x8,_0xbee698[_0x179136]=_0x5d6cfd<<0x10|_0x5d6cfd>>>0x10,_0x6b2a3b[_0x179136]=_0x5d6cfd<<0x8|_0x5d6cfd>>>0x18,_0xf37f32[_0x179136]=_0x5d6cfd;var _0x5d6cfd=_0x370a5e*0x1010101^_0xe0a903*0x10001^_0x240eee*0x101^_0x179136*0x1010100;_0x13590c[_0x4cfa6e]=_0x5d6cfd<<0x18|_0x5d6cfd>>>0x8,_0x566ac8[_0x4cfa6e]=_0x5d6cfd<<0x10|_0x5d6cfd>>>0x10,_0x4779f6[_0x4cfa6e]=_0x5d6cfd<<0x8|_0x5d6cfd>>>0x18,_0x6e60c5[_0x4cfa6e]=_0x5d6cfd,_0x179136?(_0x179136=_0x240eee^_0x194627[_0x194627[_0x194627[_0x370a5e^_0x240eee]]],_0x4d7b2f^=_0x194627[_0x194627[_0x4d7b2f]]):_0x179136=_0x4d7b2f=0x1;}}());var _0x415e52=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xfe7579=_0x174692['AES']=_0x4ab308['extend']({'_doReset':function(){var _0x429f83=_0x48b9a2,_0x522e6c;if(!(this[_0x429f83(0x288)]&&this[_0x429f83(0x39d)]===this[_0x429f83(0x2ef)])){for(var _0x6046a3=this[_0x429f83(0x39d)]=this['_key'],_0x5ebcf2=_0x6046a3[_0x429f83(0x191)],_0x5d5a89=_0x6046a3[_0x429f83(0x348)]/0x4,_0x17862c=this[_0x429f83(0x288)]=_0x5d5a89+0x6,_0x2ff6ff=(_0x17862c+0x1)*0x4,_0x14de51=this[_0x429f83(0x361)]=[],_0xf3dc83=0x0;_0xf3dc83<_0x2ff6ff;_0xf3dc83++)_0xf3dc83<_0x5d5a89?_0x14de51[_0xf3dc83]=_0x5ebcf2[_0xf3dc83]:(_0x522e6c=_0x14de51[_0xf3dc83-0x1],_0xf3dc83%_0x5d5a89?_0x5d5a89>0x6&&_0xf3dc83%_0x5d5a89==0x4&&(_0x522e6c=_0x39364d[_0x522e6c>>>0x18]<<0x18|_0x39364d[_0x522e6c>>>0x10&0xff]<<0x10|_0x39364d[_0x522e6c>>>0x8&0xff]<<0x8|_0x39364d[_0x522e6c&0xff]):(_0x522e6c=_0x522e6c<<0x8|_0x522e6c>>>0x18,_0x522e6c=_0x39364d[_0x522e6c>>>0x18]<<0x18|_0x39364d[_0x522e6c>>>0x10&0xff]<<0x10|_0x39364d[_0x522e6c>>>0x8&0xff]<<0x8|_0x39364d[_0x522e6c&0xff],_0x522e6c^=_0x415e52[_0xf3dc83/_0x5d5a89|0x0]<<0x18),_0x14de51[_0xf3dc83]=_0x14de51[_0xf3dc83-_0x5d5a89]^_0x522e6c);for(var _0xd8a361=this[_0x429f83(0x414)]=[],_0x311bc4=0x0;_0x311bc4<_0x2ff6ff;_0x311bc4++){var _0xf3dc83=_0x2ff6ff-_0x311bc4;if(_0x311bc4%0x4)var _0x522e6c=_0x14de51[_0xf3dc83];else var _0x522e6c=_0x14de51[_0xf3dc83-0x4];_0x311bc4<0x4||_0xf3dc83<=0x4?_0xd8a361[_0x311bc4]=_0x522e6c:_0xd8a361[_0x311bc4]=_0x13590c[_0x39364d[_0x522e6c>>>0x18]]^_0x566ac8[_0x39364d[_0x522e6c>>>0x10&0xff]]^_0x4779f6[_0x39364d[_0x522e6c>>>0x8&0xff]]^_0x6e60c5[_0x39364d[_0x522e6c&0xff]];}}},'encryptBlock':function(_0xb74bd7,_0x331056){var _0x46668f=_0x48b9a2;this['_doCryptBlock'](_0xb74bd7,_0x331056,this[_0x46668f(0x361)],_0x1f4a95,_0xbee698,_0x6b2a3b,_0xf37f32,_0x39364d);},'decryptBlock':function(_0x12f14c,_0x40c4a4){var _0x57ae55=_0x48b9a2,_0x5ca113=_0x12f14c[_0x40c4a4+0x1];_0x12f14c[_0x40c4a4+0x1]=_0x12f14c[_0x40c4a4+0x3],_0x12f14c[_0x40c4a4+0x3]=_0x5ca113,this[_0x57ae55(0x393)](_0x12f14c,_0x40c4a4,this[_0x57ae55(0x414)],_0x13590c,_0x566ac8,_0x4779f6,_0x6e60c5,_0x4de640);var _0x5ca113=_0x12f14c[_0x40c4a4+0x1];_0x12f14c[_0x40c4a4+0x1]=_0x12f14c[_0x40c4a4+0x3],_0x12f14c[_0x40c4a4+0x3]=_0x5ca113;},'_doCryptBlock':function(_0xe01214,_0xd9f3a9,_0x390e70,_0x5336e9,_0x38e1fb,_0x1b59bd,_0x1dd29b,_0x2a6891){var _0xb8c1e=_0x48b9a2;for(var _0x106943=this[_0xb8c1e(0x288)],_0x880c14=_0xe01214[_0xd9f3a9]^_0x390e70[0x0],_0x52d1fd=_0xe01214[_0xd9f3a9+0x1]^_0x390e70[0x1],_0x5e66fb=_0xe01214[_0xd9f3a9+0x2]^_0x390e70[0x2],_0x463c6f=_0xe01214[_0xd9f3a9+0x3]^_0x390e70[0x3],_0x50b602=0x4,_0x5af4a2=0x1;_0x5af4a2<_0x106943;_0x5af4a2++){var _0x5aef4e=_0x5336e9[_0x880c14>>>0x18]^_0x38e1fb[_0x52d1fd>>>0x10&0xff]^_0x1b59bd[_0x5e66fb>>>0x8&0xff]^_0x1dd29b[_0x463c6f&0xff]^_0x390e70[_0x50b602++],_0x152ee3=_0x5336e9[_0x52d1fd>>>0x18]^_0x38e1fb[_0x5e66fb>>>0x10&0xff]^_0x1b59bd[_0x463c6f>>>0x8&0xff]^_0x1dd29b[_0x880c14&0xff]^_0x390e70[_0x50b602++],_0x55c1a5=_0x5336e9[_0x5e66fb>>>0x18]^_0x38e1fb[_0x463c6f>>>0x10&0xff]^_0x1b59bd[_0x880c14>>>0x8&0xff]^_0x1dd29b[_0x52d1fd&0xff]^_0x390e70[_0x50b602++],_0xef3852=_0x5336e9[_0x463c6f>>>0x18]^_0x38e1fb[_0x880c14>>>0x10&0xff]^_0x1b59bd[_0x52d1fd>>>0x8&0xff]^_0x1dd29b[_0x5e66fb&0xff]^_0x390e70[_0x50b602++];_0x880c14=_0x5aef4e,_0x52d1fd=_0x152ee3,_0x5e66fb=_0x55c1a5,_0x463c6f=_0xef3852;}var _0x5aef4e=(_0x2a6891[_0x880c14>>>0x18]<<0x18|_0x2a6891[_0x52d1fd>>>0x10&0xff]<<0x10|_0x2a6891[_0x5e66fb>>>0x8&0xff]<<0x8|_0x2a6891[_0x463c6f&0xff])^_0x390e70[_0x50b602++],_0x152ee3=(_0x2a6891[_0x52d1fd>>>0x18]<<0x18|_0x2a6891[_0x5e66fb>>>0x10&0xff]<<0x10|_0x2a6891[_0x463c6f>>>0x8&0xff]<<0x8|_0x2a6891[_0x880c14&0xff])^_0x390e70[_0x50b602++],_0x55c1a5=(_0x2a6891[_0x5e66fb>>>0x18]<<0x18|_0x2a6891[_0x463c6f>>>0x10&0xff]<<0x10|_0x2a6891[_0x880c14>>>0x8&0xff]<<0x8|_0x2a6891[_0x52d1fd&0xff])^_0x390e70[_0x50b602++],_0xef3852=(_0x2a6891[_0x463c6f>>>0x18]<<0x18|_0x2a6891[_0x880c14>>>0x10&0xff]<<0x10|_0x2a6891[_0x52d1fd>>>0x8&0xff]<<0x8|_0x2a6891[_0x5e66fb&0xff])^_0x390e70[_0x50b602++];_0xe01214[_0xd9f3a9]=_0x5aef4e,_0xe01214[_0xd9f3a9+0x1]=_0x152ee3,_0xe01214[_0xd9f3a9+0x2]=_0x55c1a5,_0xe01214[_0xd9f3a9+0x3]=_0xef3852;},'keySize':0x100/0x20});_0x258e11['AES']=_0x4ab308[_0x48b9a2(0x221)](_0xfe7579);}()),_0x4cfb80[_0x7538a1(0x3e7)];}));}(Ve)),Ve[_0x4a3436(0x446)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe[_0x1e67f1(0x446)],si;function Rn(){var _0x3dfa09=_0x1e67f1;return si||(si=0x1,function(_0x209b6b,_0x1de03e){(function(_0x1e9f87,_0xb87725){var _0x55932b=_0x51b2;_0x209b6b[_0x55932b(0x446)]=_0xb87725(ie());}(On,function(_0x6e773b){var _0x4e7601=_0x51b2;return _0x6e773b[_0x4e7601(0x208)][_0x4e7601(0x3fb)];}));}(Xe)),Xe[_0x3dfa09(0x446)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x1e67f1(0x446)],ni;function Dn(){return ni||(ni=0x1,function(_0x442477,_0x52b4bc){(function(_0x1c65c8,_0xed4055){var _0x34d92f=_0x51b2;_0x442477[_0x34d92f(0x446)]=_0xed4055(ie());}(bn,function(_0x2a2976){var _0x136525=_0x51b2;return(function(){var _0x2b8348=_0x51b2;if(typeof ArrayBuffer==_0x2b8348(0x28a)){var _0x190cff=_0x2a2976,_0x5b5703=_0x190cff[_0x2b8348(0x271)],_0x14dd67=_0x5b5703['WordArray'],_0x7a6277=_0x14dd67[_0x2b8348(0x356)],_0x366023=_0x14dd67['init']=function(_0x1e3227){var _0x592ee1=_0x2b8348;if(_0x1e3227 instanceof ArrayBuffer&&(_0x1e3227=new Uint8Array(_0x1e3227)),(_0x1e3227 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e3227 instanceof Uint8ClampedArray||_0x1e3227 instanceof Int16Array||_0x1e3227 instanceof Uint16Array||_0x1e3227 instanceof Int32Array||_0x1e3227 instanceof Uint32Array||_0x1e3227 instanceof Float32Array||_0x1e3227 instanceof Float64Array)&&(_0x1e3227=new Uint8Array(_0x1e3227[_0x592ee1(0x231)],_0x1e3227[_0x592ee1(0x41b)],_0x1e3227['byteLength'])),_0x1e3227 instanceof Uint8Array){for(var _0x560bb1=_0x1e3227[_0x592ee1(0x179)],_0x326de8=[],_0x1a107c=0x0;_0x1a107c<_0x560bb1;_0x1a107c++)_0x326de8[_0x1a107c>>>0x2]|=_0x1e3227[_0x1a107c]<<0x18-_0x1a107c%0x4*0x8;_0x7a6277[_0x592ee1(0x1bf)](this,_0x326de8,_0x560bb1);}else _0x7a6277[_0x592ee1(0x405)](this,arguments);};_0x366023[_0x2b8348(0x1ab)]=_0x14dd67;}}()),_0x2a2976['lib'][_0x136525(0x212)];}));}(Ze)),Ze['exports'];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x1e67f1(0x446)],ri;function Pn(){return ri||(ri=0x1,function(_0x52981d,_0x472974){(function(_0x247406,_0xb5faed,_0xb390ad){var _0x1873f9=_0x51b2;_0x52981d[_0x1873f9(0x446)]=_0xb5faed(ie(),Ni());}(An,function(_0x2094e5){var _0x5f4ae9=_0x51b2;return _0x2094e5[_0x5f4ae9(0x3d7)][_0x5f4ae9(0x34d)]={'pad':function(){},'unpad':function(){}},_0x2094e5[_0x5f4ae9(0x3d7)][_0x5f4ae9(0x34d)];}));}(Qe)),Qe['exports'];}var wn=Pn();const Mn=$e(wn);function Ln(_0x29dc6d,_0x39e902){var _0x8f81d5=_0x1e67f1;const _0x342df1=_0x39e902-_0x29dc6d['length']%_0x39e902,_0x6fb775=String['fromCharCode'](_0x342df1)[_0x8f81d5(0x1cc)](_0x342df1);return _0x29dc6d+_0x6fb775;}function xn(_0x2ed968,_0x190b81){var _0x2b6681=_0x1e67f1;const _0x21137b=Un[_0x2b6681(0x24a)](0x10),_0x345ee4=Ln(_0x2ed968,0x10),_0x72eb2a=gn['encrypt'](Nn[_0x2b6681(0x2b5)](_0x345ee4),ii[_0x2b6681(0x2b5)](_0x190b81),{'iv':_0x21137b,'padding':Mn});return _0x21137b['concat'](_0x72eb2a['ciphertext'])[_0x2b6681(0x2ac)](ii);}function kn(){var _0x1da207=_0x1e67f1;const _0x21dc5b=_0x4d676f()[_0x1da207(0x2dc)];if(_0x21dc5b){const _0x1a012f={'time':Math[_0x1da207(0x216)](Date['now']()/0x3e8),'domain':location[_0x1da207(0x334)]};return xn(JSON[_0x1da207(0x2ae)](_0x1a012f),_0x21dc5b);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x238da9,_0x1b0e52,_0x318f49,_0x2c446e)=>{for(var _0x2421a3=_0x2c446e>0x1?void 0x0:_0x2c446e?$n(_0x1b0e52,_0x318f49):_0x1b0e52,_0x51d163=_0x238da9['length']-0x1,_0x222841;_0x51d163>=0x0;_0x51d163--)(_0x222841=_0x238da9[_0x51d163])&&(_0x2421a3=_0x222841(_0x2421a3)||_0x2421a3);return _0x2421a3;},Bn=(_0x438689,_0x5d3b2f)=>(_0x171ea9,_0x5f289b)=>_0x5d3b2f(_0x171ea9,_0x5f289b,_0x438689);let at=class{constructor(_0x5639e3){var _0x37f49f=_0x1e67f1;this[_0x37f49f(0x2a6)]=_0x5639e3,this[_0x37f49f(0x44b)]();}['_initRequestHeader'](){var _0xf71e4c=_0x1e67f1;this[_0xf71e4c(0x2a6)][_0xf71e4c(0x452)]({'interceptor':(_0x823f67,_0x51a232)=>{var _0x5d5281=_0xf71e4c;const _0x3b5233=_0x823f67[_0x5d5281(0x244)],_0x2b1d63=kn();return _0x2b1d63&&_0x3b5233['set'](_0x5d5281(0x38e),_0x2b1d63),_0x51a232(_0x823f67);}});}};at=Hn([Bn(0x0,_0x132dee(_0x179170))],at);var jn=Object[_0x1e67f1(0x35d)],Fn=(_0x3faf58,_0x549bf7,_0x18c6ea,_0x5cea05)=>{var _0x38cd48=_0x1e67f1;for(var _0x1eaa49=_0x5cea05>0x1?void 0x0:_0x5cea05?jn(_0x549bf7,_0x18c6ea):_0x549bf7,_0x465fe0=_0x3faf58[_0x38cd48(0x19d)]-0x1,_0xcb48b9;_0x465fe0>=0x0;_0x465fe0--)(_0xcb48b9=_0x3faf58[_0x465fe0])&&(_0x1eaa49=_0xcb48b9(_0x1eaa49)||_0x1eaa49);return _0x1eaa49;},vt=(_0x3c1a7e,_0x441832)=>(_0x4ca70d,_0x10fdca)=>_0x441832(_0x4ca70d,_0x10fdca,_0x3c1a7e);let Ot=class extends _0xe931df{constructor(_0x18afd7,_0x3fd506,_0xc228e5){var _0x5a0718=_0x1e67f1;super(),D(this,_0x5a0718(0x17b),new _0x232913(null)),D(this,_0x5a0718(0x279),this[_0x5a0718(0x17b)][_0x5a0718(0x1a7)]()),(this[_0x5a0718(0x22e)]=_0x18afd7,this[_0x5a0718(0x2b4)]=_0x3fd506,this['_localCacheService']=_0xc228e5);}async[_0x1e67f1(0x354)](_0x3ad33a,_0x30947c,_0x59dc90){var _0x5b61a5=_0x1e67f1;this['_unitInfo$']['next']({'unitId':_0x3ad33a,'type':_0x30947c});let _0x54e587=null;switch(_0x30947c){case Q[_0x5b61a5(0x3bc)]:{_0x54e587=await this[_0x5b61a5(0x2b4)][_0x5b61a5(0x3b7)](_0x3ad33a,_0x59dc90);break;}case Q[_0x5b61a5(0x274)]:{_0x54e587=await this['_snapshotService'][_0x5b61a5(0x1cf)](_0x3ad33a,_0x59dc90);break;}default:{this[_0x5b61a5(0x22e)][_0x5b61a5(0x223)](_0x5b61a5(0x3dd),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x54e587;}async[_0x1e67f1(0x27b)](_0x19116c,_0x1b2296,_0x933092){var _0x3c195f=_0x1e67f1,_0x34ee78;this['_unitInfo$']['next']({'unitId':_0x19116c,'type':_0x1b2296,'subUnitId':_0x933092});let _0x5bfcb4=0x0;const _0x2ec665=await((_0x34ee78=this[_0x3c195f(0x3ea)])==null?void 0x0:_0x34ee78[_0x3c195f(0x37d)](_0x19116c));return _0x2ec665&&(_0x2ec665[_0x3c195f(0x315)]||_0x2ec665[_0x3c195f(0x3e2)][_0x3c195f(0x19d)]!==0x0)&&(_0x5bfcb4=_0x2ec665[_0x3c195f(0x1bb)]),_0x5bfcb4===0x0&&this[_0x3c195f(0x22e)][_0x3c195f(0x370)]('[DataLoaderService]',_0x3c195f(0x47f)),this[_0x3c195f(0x354)](_0x19116c,_0x1b2296,_0x5bfcb4);}};Ot=Fn([vt(0x0,_0x34eeab),vt(0x1,_0x132dee(_0x5b0eb9)),vt(0x2,_0x12e690(J))],Ot);var Vn=Object[_0x1e67f1(0x35d)],Gn=(_0x3fd0a2,_0x3d3ba8,_0x12ee9c,_0x367738)=>{var _0x1c809e=_0x1e67f1;for(var _0x383382=_0x367738>0x1?void 0x0:_0x367738?Vn(_0x3d3ba8,_0x12ee9c):_0x3d3ba8,_0x3f8b60=_0x3fd0a2[_0x1c809e(0x19d)]-0x1,_0x54b474;_0x3f8b60>=0x0;_0x3f8b60--)(_0x54b474=_0x3fd0a2[_0x3f8b60])&&(_0x383382=_0x54b474(_0x383382)||_0x383382);return _0x383382;},pt=(_0x306850,_0x31c2ce)=>(_0x2c7381,_0x5dd851)=>_0x31c2ce(_0x2c7381,_0x5dd851,_0x306850);const Wn=[_0x1e67f1(0x484),_0x1e67f1(0x3f6),'image/jpg',_0x1e67f1(0x448),_0x1e67f1(0x34c)],Yn=0x5*0x400*0x400,Kn=_0x1e67f1(0x35f),qn=_0x1e67f1(0x40a);let Rt=class{constructor(_0x39dccd,_0x4c5b64,_0x3cefaf){var _0x5457b5=_0x1e67f1;D(this,'_waitCount',0x0),D(this,_0x5457b5(0x3a2),new _0x3e44be()),D(this,_0x5457b5(0x28c),this[_0x5457b5(0x3a2)]),D(this,'_imageSourceCache',new Map()),(this[_0x5457b5(0x2a6)]=_0x39dccd,this['_configService']=_0x4c5b64,this[_0x5457b5(0x239)]=_0x3cefaf);}[_0x1e67f1(0x33f)](_0x580534){var _0x46067f=_0x1e67f1;this[_0x46067f(0x3f3)]=_0x580534,this[_0x46067f(0x3a2)][_0x46067f(0x3c1)](_0x580534);}[_0x1e67f1(0x26a)](_0x2cfe8e,_0x386dd4){var _0x2ba5a7=_0x1e67f1;if(_0x386dd4===_0x4ae16b['BASE64']){const _0xdf133f=new Image();return _0xdf133f[_0x2ba5a7(0x215)]=_0x2cfe8e,_0xdf133f;}return this[_0x2ba5a7(0x308)][_0x2ba5a7(0x30c)](_0x2cfe8e);}[_0x1e67f1(0x26d)](_0x222ba5,_0x3eeac6,_0x259312){var _0xe4a411=_0x1e67f1;_0x3eeac6===_0x4ae16b[_0xe4a411(0x266)]||_0x259312==null||this['_imageSourceCache'][_0xe4a411(0x260)](_0x222ba5,_0x259312);}async['getImage'](_0x5ee537){var _0x305733=_0x1e67f1;try{const _0x1e6244=this[_0x305733(0x44c)](this['_getSignURL'](),''+_0x5ee537),_0xb7d504=(await this['_httpService'][_0x305733(0x30c)](_0x1e6244))[_0x305733(0x42d)];if(_0xb7d504[_0x305733(0x223)]&&_0xb7d504[_0x305733(0x223)][_0x305733(0x2bd)]===vi['OK']){const _0x1febdb=new URL(_0xb7d504[_0x305733(0x3a3)],this[_0x305733(0x43c)]())[_0x305733(0x2ac)]();return Promise[_0x305733(0x201)](_0x1febdb);}return Promise[_0x305733(0x330)](_0xb7d504[_0x305733(0x223)]);}catch(_0x56c04b){return Promise[_0x305733(0x330)](_0x56c04b);}}async['saveImage'](_0xc151af){var _0x51f34a=_0x1e67f1;let _0x2004ed='';if(!Wn[_0x51f34a(0x363)](_0xc151af['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x5ec618[_0x51f34a(0x31b)]));if(_0xc151af['size']>Yn)return this[_0x51f34a(0x20c)](),Promise[_0x51f34a(0x330)](new Error(_0x5ec618['ERROR_EXCEED_SIZE']));try{const _0x2eecf5=new FormData();_0x2eecf5['append'](_0x51f34a(0x428),_0xc151af);const _0x59b90d=this['_univerInstanceService'][_0x51f34a(0x2bf)](),_0xf1ce3c=_0x59b90d==null?void 0x0:_0x59b90d['getUnitId']();if(!_0xf1ce3c)throw new Error(_0x51f34a(0x200));const _0x20b8e8=this[_0x51f34a(0x31d)]()+'?size='+_0xc151af[_0x51f34a(0x249)][_0x51f34a(0x2ac)]()+'&source='+pi[_0x51f34a(0x19b)]+_0x51f34a(0x309)+encodeURIComponent(_0xf1ce3c),_0x53c759={'body':_0x2eecf5},_0x11333f=(await this[_0x51f34a(0x2a6)][_0x51f34a(0x444)](_0x20b8e8,_0x53c759))[_0x51f34a(0x42d)];if(typeof _0x11333f[_0x51f34a(0x461)]!=_0x51f34a(0x37e))return this[_0x51f34a(0x20c)](),Promise['reject'](new Error(_0x5ec618[_0x51f34a(0x2ba)]));_0x2004ed=_0x11333f['FileId'];}catch{return this[_0x51f34a(0x20c)](),Promise['reject'](new Error(_0x5ec618[_0x51f34a(0x2ba)]));}return new Promise((_0x845943,_0x19d334)=>{var _0x5408c0=_0x51f34a;const _0x43b757=new FileReader();_0x43b757[_0x5408c0(0x1ad)](_0xc151af),_0x43b757['onload']=_0x207e26=>{var _0x2a41c9=_0x5408c0,_0x424e58;const _0x3df5cf=(_0x424e58=_0x207e26['target'])==null?void 0x0:_0x424e58[_0x2a41c9(0x1c8)];if(_0x3df5cf==null){this[_0x2a41c9(0x20c)](),_0x19d334(new Error(_0x5ec618['ERROR_IMAGE']));return;}const _0x56c643=_0x2d653e(0x6);_0x845943({'imageId':_0x56c643,'imageSourceType':_0x4ae16b['UUID'],'source':_0x2004ed,'base64Cache':_0x3df5cf,'status':_0x5ec618[_0x2a41c9(0x1e9)]}),this['_decreaseWaiting']();};});}[_0x1e67f1(0x31d)](){var _0x584d33=_0x1e67f1,_0x10155d;const _0x4ee83f=this[_0x584d33(0x3a4)]['getConfig'](K);return(_0x10155d=_0x4ee83f==null?void 0x0:_0x4ee83f[_0x584d33(0x1fd)])!=null?_0x10155d:Kn;}[_0x1e67f1(0x2f8)](){var _0x385350=_0x1e67f1,_0x559aed;const _0x33a0b5=this[_0x385350(0x3a4)][_0x385350(0x3c4)](K);return(_0x559aed=_0x33a0b5==null?void 0x0:_0x33a0b5[_0x385350(0x302)])!=null?_0x559aed:qn;}[_0x1e67f1(0x43c)](){var _0x39f88d=_0x1e67f1,_0x510e8e;const _0xfd39f3=this['_configService'][_0x39f88d(0x3c4)](K);return(_0x510e8e=_0xfd39f3==null?void 0x0:_0xfd39f3[_0x39f88d(0x392)])!=null?_0x510e8e:location[_0x39f88d(0x359)];}['_replaceFileID'](_0x37ebea,_0x42e191){var _0x281b65=_0x1e67f1;return _0x37ebea[_0x281b65(0x1b4)](_0x281b65(0x477),_0x42e191);}[_0x1e67f1(0x20c)](){var _0x6b8efd=_0x1e67f1;this[_0x6b8efd(0x3f3)]-=0x1,this[_0x6b8efd(0x3a2)][_0x6b8efd(0x3c1)](this[_0x6b8efd(0x3f3)]);}};Rt=Gn([pt(0x0,_0x132dee(_0x179170)),pt(0x1,_0x3ba963),pt(0x2,_0x132dee(_0x524058))],Rt);var zn=Object[_0x1e67f1(0x35d)],Jn=(_0x36bc8a,_0x4b0424,_0x24506e,_0x12d569)=>{var _0x2bdb13=_0x1e67f1;for(var _0x4a7df4=_0x12d569>0x1?void 0x0:_0x12d569?zn(_0x4b0424,_0x24506e):_0x4b0424,_0x310da6=_0x36bc8a[_0x2bdb13(0x19d)]-0x1,_0x352e57;_0x310da6>=0x0;_0x310da6--)(_0x352e57=_0x36bc8a[_0x310da6])&&(_0x4a7df4=_0x352e57(_0x4a7df4)||_0x4a7df4);return _0x4a7df4;},ai=(_0x40ef50,_0x2a4052)=>(_0x5f0b7c,_0x19f46e)=>_0x2a4052(_0x5f0b7c,_0x19f46e,_0x40ef50);const Xn='/universer-api/authz';let Ct=class{constructor(_0x530e17,_0x4d3fa4){var _0x44bfc6=_0x1e67f1;this[_0x44bfc6(0x3a4)]=_0x530e17,this[_0x44bfc6(0x18d)]=_0x4d3fa4;}['_getAPIPrefixPath'](){var _0x53f13e=_0x1e67f1,_0x4f2741;const _0x41be2e=this[_0x53f13e(0x3a4)]['getConfig'](K);return(_0x4f2741=_0x41be2e==null?void 0x0:_0x41be2e[_0x53f13e(0x300)])!=null?_0x4f2741:Xn;}async['list'](_0x1d0763){var _0x586a1b=_0x1e67f1;const _0x551134=this[_0x586a1b(0x2d7)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x586a1b(0x18d)]['get'](_0x551134,{'params':{'objectID':_0x1d0763[_0x586a1b(0x1f6)],'unitID':_0x1d0763[_0x586a1b(0x1f6)]}}))[_0x586a1b(0x42d)][_0x586a1b(0x38d)][_0x586a1b(0x3ee)](_0x1d9741=>({'objectId':_0x1d9741['id'],'name':_0x1d9741[_0x586a1b(0x44a)][_0x586a1b(0x1ea)],'metadata':{'icon':_0x1d9741['subject'][_0x586a1b(0x306)]},'label':_0x1d9741['subject'][_0x586a1b(0x1ea)],'objectType':_0x254eab[_0x586a1b(0x287)]})),'metadata':{},'type':_0x254eab[_0x586a1b(0x287)]}]};}};Ct=Jn([ai(0x0,_0x132dee(_0x3ba963)),ai(0x1,_0x132dee(_0x179170))],Ct);var Zn=Object[_0x1e67f1(0x35d)],Qn=(_0x34f3f8,_0x290a2a,_0x2d566f,_0x44e583)=>{var _0x375167=_0x1e67f1;for(var _0x581495=_0x44e583>0x1?void 0x0:_0x44e583?Zn(_0x290a2a,_0x2d566f):_0x290a2a,_0x2364f2=_0x34f3f8[_0x375167(0x19d)]-0x1,_0x277c99;_0x2364f2>=0x0;_0x2364f2--)(_0x277c99=_0x34f3f8[_0x2364f2])&&(_0x581495=_0x277c99(_0x581495)||_0x581495);return _0x581495;},Ue=(_0x4491d8,_0x38ddaa)=>(_0x3f6f0a,_0x524c58)=>_0x38ddaa(_0x3f6f0a,_0x524c58,_0x4491d8);let ot=class extends _0xe931df{constructor(_0x185f43,_0x26bf35,_0x8ae7a2,_0x45a62d,_0x370488){var _0x482a38=_0x1e67f1;super(),this[_0x482a38(0x2a8)]=_0x185f43,this[_0x482a38(0x239)]=_0x26bf35,this[_0x482a38(0x2e3)]=_0x8ae7a2,this[_0x482a38(0x21c)]=_0x45a62d,this[_0x482a38(0x2e8)]=_0x370488,this[_0x482a38(0x3b4)](),this[_0x482a38(0x31a)]();}['_initCloseConn'](){var _0x3dfec6=_0x1e67f1;const _0x12eb94=async _0x4c592c=>{var _0x3dbdef=_0x51b2;(await this[_0x3dbdef(0x21c)][_0x3dbdef(0x427)](_0x4c592c))[_0x3dbdef(0x322)]['pipe'](_0xab1ec3(_0x3e5ecf=>_0x3e5ecf['eventID']===_0x2764d9['SHOULD_CLOSE_CONN']),_0x30d3cd(this['dispose$']))['subscribe'](_0x327cb4=>{var _0x4880fc=_0x3dbdef;const _0x40184f=_0x327cb4,{reason:_0x2730f2}=_0x40184f[_0x4880fc(0x486)];this[_0x4880fc(0x2e8)][_0x4880fc(0x242)]({'id':re[_0x4880fc(0x442)],'data':_0x2730f2}),this['_permissionService'][_0x4880fc(0x22d)](new _0x2cd5ad(_0x4c592c)['id'],!0x1),this[_0x4880fc(0x21c)][_0x4880fc(0x35c)](_0x4c592c);});};_0x5c5362(this[_0x3dfec6(0x239)][_0x3dfec6(0x35e)](_0x34e32d[_0x3dfec6(0x3bc)]),this['_univerInstanceService'][_0x3dfec6(0x35e)](_0x34e32d[_0x3dfec6(0x274)]))[_0x3dfec6(0x34b)](_0x1b66cb(_0x34e3a8=>_0x34e3a8[_0x3dfec6(0x29c)]()),_0xab1ec3(_0x5937b1=>!_0x5e00a6(_0x5937b1)),_0x30d3cd(this[_0x3dfec6(0x270)]))['subscribe'](_0x3d9486=>{_0x12eb94(_0x3d9486);});}[_0x1e67f1(0x3b4)](){var _0xa4435f=_0x1e67f1;const _0x1b8abe=async _0x417475=>{var _0x232659=_0x51b2;const _0xc1c10a=await this[_0x232659(0x21c)][_0x232659(0x427)](_0x417475),_0x33e827=this[_0x232659(0x2a8)][_0x232659(0x30c)](_0x40a89b);_0xc1c10a[_0x232659(0x322)]['pipe'](_0xab1ec3(_0x2731ea=>_0x2731ea[_0x232659(0x295)]===_0x2764d9[_0x232659(0x2e1)]),_0x30d3cd(this[_0x232659(0x270)]))[_0x232659(0x3cb)](_0x26b9f3=>{var _0x3fc1eb=_0x232659;const _0x49f785=_0x26b9f3,{objectId:_0x3a7cca}=_0x49f785[_0x3fc1eb(0x486)];_0x3a7cca===_0x417475?_0x33e827[_0x3fc1eb(0x3d1)](_0x417475):_0x33e827[_0x3fc1eb(0x367)](_0x417475,_0x3a7cca);});};_0x5c5362(this[_0xa4435f(0x239)][_0xa4435f(0x35e)](_0x34e32d[_0xa4435f(0x3bc)]))[_0xa4435f(0x34b)](_0x1b66cb(_0x5d0135=>_0x5d0135[_0xa4435f(0x29c)]()),_0xab1ec3(_0x179e85=>!_0x5e00a6(_0x179e85)),_0x30d3cd(this[_0xa4435f(0x270)]))[_0xa4435f(0x3cb)](_0x45533d=>{_0x1b8abe(_0x45533d);});}};ot=Qn([Ue(0x0,_0x132dee(_0xe963d)),Ue(0x1,_0x524058),Ue(0x2,_0x247d04),Ue(0x3,_0x132dee(we)),Ue(0x4,_0x132dee(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x22323c,_0x5a5cdc,_0x4977ad,_0x3a819f)=>{var _0x37d3d3=_0x1e67f1;for(var _0x333fde=_0x3a819f>0x1?void 0x0:_0x3a819f?er(_0x5a5cdc,_0x4977ad):_0x5a5cdc,_0x23c245=_0x22323c[_0x37d3d3(0x19d)]-0x1,_0x54e51f;_0x23c245>=0x0;_0x23c245--)(_0x54e51f=_0x22323c[_0x23c245])&&(_0x333fde=_0x54e51f(_0x333fde)||_0x333fde);return _0x333fde;},oi=(_0xd4bfe,_0x51bb60)=>(_0x3ec4f8,_0x70dc23)=>_0x51bb60(_0x3ec4f8,_0x70dc23,_0xd4bfe);let Nt=class{constructor(_0x47bac1,_0x315c02){var _0x416576=_0x1e67f1;this[_0x416576(0x3a4)]=_0x47bac1,this[_0x416576(0x2a6)]=_0x315c02;}async[_0x1e67f1(0x29b)](_0x456013,_0x91e68){var _0x4ec232=_0x1e67f1,_0x486f6f;const {unitID:_0x1a8c03,type:_0x54f9b6,revision:_0x14c482=0x0}=_0x91e68,_0x42d70a=this[_0x4ec232(0x24f)]()+'/'+_0x54f9b6+_0x4ec232(0x1eb)+_0x1a8c03+_0x4ec232(0x41c)+_0x14c482,_0x2f99e7=(await this[_0x4ec232(0x2a6)][_0x4ec232(0x30c)](_0x42d70a))['body'],_0x4b479d=(_0x486f6f=_0x2f99e7[_0x4ec232(0x3b8)])==null?void 0x0:_0x486f6f['workbook'];if(_0x4b479d){const _0x58f563=_0x4b479d==null?void 0x0:_0x4b479d[_0x4ec232(0x48a)],_0x37d933=_0x4b419d[_0x4ec232(0x3a6)](_0x5587f6(_0x58f563));_0x4b479d[_0x4ec232(0x48a)]=_0x37d933,Object[_0x4ec232(0x1a8)](_0x4b479d['sheets'])[_0x4ec232(0x341)](([,_0xbfc74f])=>{var _0x5e0826=_0x4ec232;const _0x194f87=_0xbfc74f[_0x5e0826(0x48a)],_0x3ca21b=_0x4b419d['encode'](_0x5587f6(_0x194f87));_0xbfc74f['originalMeta']=_0x3ca21b;});}return _0x2f99e7;}async['getSheetBlock'](_0x3c2e87,_0x4ee2fd){var _0x43f175=_0x1e67f1;const {unitID:_0x53b718,type:_0x4ba7b6,blockID:_0x5c1387}=_0x4ee2fd,_0x259787=this[_0x43f175(0x2fe)]()+'/'+_0x4ba7b6+_0x43f175(0x1eb)+_0x53b718+_0x43f175(0x389)+_0x5c1387;return(await this[_0x43f175(0x2a6)][_0x43f175(0x30c)](_0x259787))[_0x43f175(0x42d)];}async[_0x1e67f1(0x19e)](_0x587a94,_0x5b3933){var _0x1e9104=_0x1e67f1;const {unitID:_0x1ee429,type:_0x2067e0,blockID:_0x2e4b9e}=_0x5b3933,_0x527b76=this['_getAPIPrefix']()+_0x1e9104(0x389)+_0x2067e0+_0x1e9104(0x1eb)+_0x1ee429+_0x1e9104(0x389)+_0x2e4b9e;return(await this[_0x1e9104(0x2a6)][_0x1e9104(0x30c)](_0x527b76))[_0x1e9104(0x42d)];}async[_0x1e67f1(0x420)](_0xb62f6b,_0x488415){var _0x57a43c=_0x1e67f1;const {unitID:_0x2cf112,type:_0x38d840,from:_0x349171,to:_0x12d467}=_0x488415,_0x41b8af=this[_0x57a43c(0x2fe)]()+'/'+_0x38d840+_0x57a43c(0x1eb)+_0x2cf112+_0x57a43c(0x1b9)+_0x349171+_0x57a43c(0x472)+_0x12d467;return(await this[_0x57a43c(0x2a6)]['get'](_0x41b8af))[_0x57a43c(0x42d)];}[_0x1e67f1(0x24f)](){var _0x9c86cc=_0x1e67f1,_0x1396f1;return(_0x1396f1=this[_0x9c86cc(0x3a4)]['getConfig'](vs))!=null?_0x1396f1:this[_0x9c86cc(0x2fe)]();}['_getAPIPrefix'](){var _0x494bb9=_0x1e67f1,_0x52afaa;const _0x1efd0e=this['_configService'][_0x494bb9(0x3c4)](K);return(_0x52afaa=_0x1efd0e==null?void 0x0:_0x1efd0e[_0x494bb9(0x25d)])!=null?_0x52afaa:fs;}async[_0x1e67f1(0x285)](_0x1b6464,_0x5b975e){var _0x1a7ec6=_0x1e67f1;const _0x52ba25='/universer-api/snapshot/'+_0x5b975e[_0x1a7ec6(0x30f)]+_0x1a7ec6(0x1eb)+_0x5b975e[_0x1a7ec6(0x234)]+_0x1a7ec6(0x3c2);return(await this['_httpService'][_0x1a7ec6(0x30c)](_0x52ba25,{'params':{'resourceId':JSON[_0x1a7ec6(0x2ae)](_0x5b975e[_0x1a7ec6(0x366)])}}))[_0x1a7ec6(0x42d)];}[_0x1e67f1(0x172)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1e67f1(0x2a4)](){var _0x51255a=_0x1e67f1;throw new Error(_0x51255a(0x24d));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x50e6cf=_0x1e67f1;throw new Error(_0x50e6cf(0x24d));}[_0x1e67f1(0x220)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1e67f1(0x2ea)](){var _0x436e52=_0x1e67f1;throw new Error(_0x436e52(0x24d));}};Nt=tr([oi(0x0,_0x3ba963),oi(0x1,_0x132dee(_0x179170))],Nt);var ir=Object[_0x1e67f1(0x35d)],sr=(_0x52e2de,_0x14f57b,_0x1617fc,_0x329b60)=>{for(var _0x1991ff=_0x329b60>0x1?void 0x0:_0x329b60?ir(_0x14f57b,_0x1617fc):_0x14f57b,_0x5896f8=_0x52e2de['length']-0x1,_0x5bbb94;_0x5896f8>=0x0;_0x5896f8--)(_0x5bbb94=_0x52e2de[_0x5896f8])&&(_0x1991ff=_0x5bbb94(_0x1991ff)||_0x1991ff);return _0x1991ff;},Ae=(_0x58601f,_0x337186)=>(_0x63fa52,_0x394c6d)=>_0x337186(_0x63fa52,_0x394c6d,_0x58601f);let bt=class extends _0x2e9704{constructor(_0x2997ec,_0x8a8c97,_0x4f3880,_0x1313d7,_0xf2c1c1){var _0x34b49c=_0x1e67f1;super(_0x2997ec,_0x8a8c97,_0x4f3880),this[_0x34b49c(0x247)]=_0x1313d7,this[_0x34b49c(0x22e)]=_0xf2c1c1;}[_0x1e67f1(0x3a9)](_0x1d9a6e,_0x20984c){var _0x3e521f=_0x1e67f1;const _0x3d1d88=this[_0x3e521f(0x36b)](_0x1d9a6e);if(_0x3d1d88)try{const _0x286424=this[_0x3e521f(0x466)](_0x3d1d88,_0x20984c);this[_0x3e521f(0x3e8)](_0x1d9a6e,_0x286424);}catch(_0xdd662f){this[_0x3e521f(0x22e)][_0x3e521f(0x223)](_0x3e521f(0x2f6),_0xdd662f),this[_0x3e521f(0x44e)](_0x1d9a6e);}const _0x1c0929=this[_0x3e521f(0x29e)](_0x1d9a6e);if(_0x1c0929)try{const _0x33ea89=this[_0x3e521f(0x466)](_0x1c0929,_0x20984c);this[_0x3e521f(0x174)](_0x1d9a6e,_0x33ea89);}catch(_0x601a48){this[_0x3e521f(0x22e)][_0x3e521f(0x223)](_0x601a48),this['_clearRedo'](_0x1d9a6e);}}[_0x1e67f1(0x44e)](_0x34e6c5){var _0x5787ab=_0x1e67f1;const _0xb99b7c=this[_0x5787ab(0x36b)](_0x34e6c5);_0xb99b7c&&(_0xb99b7c['length']=0x0,this['_updateStatus']());}[_0x1e67f1(0x362)](_0x4dc18f){var _0x3b42a4=_0x1e67f1;const _0x5f343f=this[_0x3b42a4(0x29e)](_0x4dc18f);_0x5f343f&&(_0x5f343f[_0x3b42a4(0x19d)]=0x0,this['_updateStatus']());}[_0x1e67f1(0x3e8)](_0x56aeb7,_0x5b8a5a){var _0x3fad7=_0x1e67f1;this[_0x3fad7(0x2ee)][_0x3fad7(0x260)](_0x56aeb7,_0x5b8a5a),this[_0x3fad7(0x3db)]();}['_substituteRedoStack'](_0x2b505c,_0x382bbb){var _0x2e631a=_0x1e67f1;this[_0x2e631a(0x1c0)]['set'](_0x2b505c,_0x382bbb),this[_0x2e631a(0x3db)]();}[_0x1e67f1(0x466)](_0x8f51f2,_0x801969){var _0x4f35cd=_0x1e67f1;const _0x48a03d=[];let _0xa34a33=_0x801969,_0x5845dc=_0x801969;for(let _0x37d08d=_0x8f51f2[_0x4f35cd(0x19d)]-0x1;_0x37d08d>=0x0;_0x37d08d--){const {unitID:_0x3ea2dd,undoMutations:_0x1b6c96,redoMutations:_0x4ae8fc}=_0x8f51f2[_0x37d08d],_0x15e9c3=this['_transformService'][_0x4f35cd(0x2ce)](_0xa34a33,_0x1b6c96),_0x13701a=this[_0x4f35cd(0x247)][_0x4f35cd(0x2ce)](_0x5845dc,_0x4ae8fc);if(_0x402dff(_0x15e9c3)||_0x402dff(_0x13701a)){this[_0x4f35cd(0x22e)][_0x4f35cd(0x223)](_0x4f35cd(0x2f6),'transformStack\x20failed!',_0x15e9c3,_0x13701a);break;}_0xa34a33=_0x15e9c3[_0x4f35cd(0x347)],_0x5845dc=_0x13701a[_0x4f35cd(0x347)],_0x48a03d[_0x4f35cd(0x417)]({'unitID':_0x3ea2dd,'undoMutations':_0x15e9c3[_0x4f35cd(0x281)],'redoMutations':_0x13701a[_0x4f35cd(0x281)]});}return _0x48a03d[_0x4f35cd(0x1d2)]();}};bt=sr([Ae(0x0,_0x524058),Ae(0x1,_0x31fd08),Ae(0x2,_0x44015a),Ae(0x3,_0x311a8a),Ae(0x4,_0x34eeab)],bt);var nr=Object['defineProperty'],rr=Object[_0x1e67f1(0x35d)],ar=(_0x1d4356,_0xfd5017,_0x37aa17)=>_0xfd5017 in _0x1d4356?nr(_0x1d4356,_0xfd5017,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37aa17}):_0x1d4356[_0xfd5017]=_0x37aa17,or=(_0x5af251,_0x1c54cd,_0x4487d8,_0x1190fe)=>{var _0x6a32dd=_0x1e67f1;for(var _0x586c7c=_0x1190fe>0x1?void 0x0:_0x1190fe?rr(_0x1c54cd,_0x4487d8):_0x1c54cd,_0x3b5bf9=_0x5af251[_0x6a32dd(0x19d)]-0x1,_0x2f7c9b;_0x3b5bf9>=0x0;_0x3b5bf9--)(_0x2f7c9b=_0x5af251[_0x3b5bf9])&&(_0x586c7c=_0x2f7c9b(_0x586c7c)||_0x586c7c);return _0x586c7c;},Et=(_0x11cf6d,_0x3fc508)=>(_0x3d0b4d,_0x97b63)=>_0x3fc508(_0x3d0b4d,_0x97b63,_0x11cf6d),cr=(_0x17a494,_0x12c0b6,_0x62c991)=>ar(_0x17a494,_0x12c0b6+'',_0x62c991);const _r=_0x1e67f1(0x3fd);let Dt=class extends _0x5b5eed{constructor(_0x4e4e01,_0x3a021a,_0x3fc079,_0x4e7db3){var _0x1774a5=_0x1e67f1;super(),D(this,'_config'),(this[_0x1774a5(0x22e)]=_0x3a021a,this[_0x1774a5(0x2a8)]=_0x3fc079,this[_0x1774a5(0x3a4)]=_0x4e7db3);const {..._0x44b388}=_0x3eb153({},Ls,_0x4e4e01);if(!_0x44b388['socketService'])throw new Error(_0x1774a5(0x183));this[_0x1774a5(0x252)]=_0x44b388,this[_0x1774a5(0x3a4)][_0x1774a5(0x219)](K,_0x44b388);}[_0x1e67f1(0x46d)](){var _0x47888f=_0x1e67f1;this['_registerDependencies'](),this[_0x47888f(0x32a)]();}['_registerDependencies'](){var _0x27b554=_0x1e67f1,_0x1116bd,_0x40c18f;this[_0x27b554(0x2a8)][_0x27b554(0x37c)](_0x442fbd)&&this[_0x27b554(0x22e)][_0x27b554(0x223)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x39c958=_0x124570([[_0x442fbd,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this['_config']['socketService']}],[_0x5e7452,{'useClass':Nt}],[_0x361318,{'useClass':Tt}],[_0x53d073,{'useClass':Rt}],[_0x475b3c,{'useClass':Ct}],[nt],[gt]],(_0x1116bd=this[_0x27b554(0x252)])==null?void 0x0:_0x1116bd[_0x27b554(0x450)]);if(!((_0x40c18f=this[_0x27b554(0x252)])!=null&&_0x40c18f[_0x27b554(0x3e3)])){const _0x32c742=_0x39c958[_0x27b554(0x377)](([_0xa61255])=>_0xa61255===_t);_0x32c742!==-0x1&&_0x39c958[_0x27b554(0x171)](_0x32c742,0x1);}_0x3be976(this[_0x27b554(0x2a8)],_0x39c958);}[_0x1e67f1(0x32a)](){var _0x3250dc=_0x1e67f1,_0x5825d9,_0x10c848,_0x1ef179;this['_injector']['get'](_0x179170)[_0x3250dc(0x452)]({'priority':0x14,'interceptor':_0x7cea90({'maxParallel':0x6})}),(_0x5825d9=this[_0x3250dc(0x252)])!=null&&_0x5825d9['enableOfflineEditing']||(_0x10c848=this[_0x3250dc(0x2a8)][_0x3250dc(0x30c)](J,_0x455909[_0x3250dc(0x2b7)]))==null||_0x10c848[_0x3250dc(0x2a3)](),(_0x1ef179=this[_0x3250dc(0x252)])!=null&&_0x1ef179[_0x3250dc(0x474)]&&_0x46e684(this[_0x3250dc(0x2a8)],[[rt]]),_0x46e684(this['_injector'],[[at],[nt],[ot]]);}};cr(Dt,_0x1e67f1(0x26f),_r),Dt=or([_0x4a6512(_0x36cc47,_0x55fb6c),Et(0x1,_0x34eeab),Et(0x2,_0x132dee(_0xe963d)),Et(0x3,_0x3ba963)],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 _0x45e643=_0x464f;(function(_0x45b0d6,_0x244ea4){var _0x2d6062=_0x464f,_0x49f45a=_0x45b0d6();while(!![]){try{var _0x3ed9ea=-parseInt(_0x2d6062(0x1f7))/0x1*(parseInt(_0x2d6062(0x35a))/0x2)+parseInt(_0x2d6062(0x31a))/0x3+-parseInt(_0x2d6062(0x15c))/0x4+-parseInt(_0x2d6062(0x202))/0x5*(-parseInt(_0x2d6062(0x2aa))/0x6)+parseInt(_0x2d6062(0x1c5))/0x7+-parseInt(_0x2d6062(0xf7))/0x8*(-parseInt(_0x2d6062(0x302))/0x9)+-parseInt(_0x2d6062(0x2b5))/0xa;if(_0x3ed9ea===_0x244ea4)break;else _0x49f45a['push'](_0x49f45a['shift']());}catch(_0x1da0bd){_0x49f45a['push'](_0x49f45a['shift']());}}}(_0x32f3,0x22805));var bi=Object[_0x45e643(0x168)],Di=(_0x33ca91,_0x4ff462,_0x2cfabc)=>_0x4ff462 in _0x33ca91?bi(_0x33ca91,_0x4ff462,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cfabc}):_0x33ca91[_0x4ff462]=_0x2cfabc,D=(_0x32587a,_0xc76bef,_0x1da8ce)=>Di(_0x32587a,typeof _0xc76bef!=_0x45e643(0x2fb)?_0xc76bef+'':_0xc76bef,_0x1da8ce);import{CollaborationEvent as _0x2f9ecd,ITransformService as _0x95d3ab,isTransformMutationsWithChangesetSuccess as _0x55fae1,mapDocumentTypeToUniverType as _0xadd4e1,RevisionService as _0x22b84a,isTransformChangesetsSuccess as _0x21e53d,CompressMutationService as _0x3b6693,parseProtocolChangeset as _0x36611c,uuidv4 as _0x2bfa00,ISnapshotServerService as _0x16dda0,parseChangesetToProtocol as _0x390a99,SnapshotService as _0xc52791,textEncoder as _0x84ca4e,b64DecodeUnicode as _0x337a58,isTransformMutationsWithChangesetFailure as _0x29dc98,UniverCollaborationPlugin as _0x47ca8c}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1ae1de,Inject as _0x1de629,UserManagerService as _0x5314a7,Disposable as _0x892758,UniverInstanceType as _0x7a183a,ILogService as _0x5b6bbd,IConfigService as _0xbfff8e,Optional as _0x217f28,RxDisposable as _0x403ba5,createIdentifier as _0xf6be87,Injector as _0x45738c,Tools as _0x57b9dc,Rectangle as _0x258869,ICommandService as _0x4dc804,JSONX as _0x48d391,CommandType as _0x25728b,IUndoRedoService as _0x50fa79,IPermissionService as _0x4f5acc,LocaleService as _0x49066e,sequenceExecute as _0x2cbbda,toDisposable as _0x568c38,DisposableCollection as _0x5e0d9e,Workbook as _0x3090d6,generateRandomId as _0xab3376,MentionType as _0x59c6c0,isInternalEditorID as _0x593cb3,LocalUndoRedoService as _0x48e55a,IContextService as _0x2cb234,DependentOn as _0x3ab96c,Plugin as _0x2e2c13,merge as _0x26fd68,mergeOverrideWithDependencies as _0x4155d6,IAuthzIoService as _0x50ce05,IMentionIOService as _0x1a85c3,registerDependencies as _0x3272b1,Quantity as _0x486da7,touchDependencies as _0x2d515f}from'@univerjs/core';import{RichTextEditingMutation as _0x47e490}from'@univerjs/docs';import{SheetsSelectionsService as _0xcac342,SetSelectionsOperation as _0x536a6e,InsertSheetMutation as _0x1d498d,EmptyMutation as _0x51330b,WorkbookEditablePermission as _0x396f7e,SheetPermissionInitController as _0xf590fe}from'@univerjs/sheets';import{Subject as _0x470ab9,merge as _0x4bc367,of as _0x5db91f,BehaviorSubject as _0x27518c,takeUntil as _0x4a5734,ReplaySubject as _0x404d8b,take as _0x1f12e1,map as _0x5286c2,shareReplay as _0xa0104e,firstValueFrom as _0x3a97be,concatMap as _0x5afad6}from'rxjs';import{ITelemetryService as _0x21ca98}from'@univerjs/telemetry';import{map as _0x22b088,take as _0x254e8f,filter as _0x9f9a43,delay as _0x209795,takeUntil as _0x3b11e3}from'rxjs/operators';import{HTTPService as _0x437952,ISocketService as _0x4209e3,MergeInterceptorFactory as _0x171a7f,HTTPRequest as _0x323404,UniverNetworkPlugin as _0x87b933,ThresholdInterceptorFactory as _0x1a8e9d}from'@univerjs/network';import{ImageSourceType as _0x131833,ImageUploadStatusType as _0x242bd1,IImageIoService as _0xa7d6fd}from'@univerjs/drawing';import{getGlobalObject as _0x55aa63}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs='SNAPSHOT_URL_KEY',ps=0x7d0,Es=_0x45e643(0x3a1),gr=_0x45e643(0x330),ms=_0x45e643(0x1f1),Is=0x7530,di=_0x45e643(0x3ba),fi=0x4e20,Ss=0x4e20,gs=_0x45e643(0x2e0),Ts=0x3,Tr=_0x45e643(0x2d1),Or=0x3e8,Os='/universer-api/comb',Rs=_0x45e643(0xe1),Rr=_0x45e643(0x1aa),Cr=_0x45e643(0x2cc);var vi=(_0x5beac3=>(_0x5beac3[_0x5beac3['UNDEFINED']=0x0]=_0x45e643(0x13e),_0x5beac3[_0x5beac3['OK']=0x1]='OK',_0x5beac3[_0x5beac3[_0x45e643(0x18e)]=0x2]=_0x45e643(0x18e),_0x5beac3[_0x5beac3[_0x45e643(0x257)]=0x3]='PERMISSION_DENIED',_0x5beac3[_0x5beac3['NOT_FOUND']=0x4]=_0x45e643(0x16a),_0x5beac3[_0x5beac3['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x5beac3[_0x5beac3[_0x45e643(0x21c)]=0x6]=_0x45e643(0x21c),_0x5beac3[_0x5beac3[_0x45e643(0x1fd)]=0x7]=_0x45e643(0x1fd),_0x5beac3[_0x5beac3['TOO_MANY_REQUESTS']=0x8]=_0x45e643(0x128),_0x5beac3[_0x5beac3[_0x45e643(0x394)]=0x9]='COMPLETION_FINISHED',_0x5beac3[_0x5beac3['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x5beac3[_0x5beac3[_0x45e643(0x35d)]=0xb]=_0x45e643(0x35d),_0x5beac3[_0x5beac3['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5beac3[_0x5beac3[_0x45e643(0x243)]=0xd]=_0x45e643(0x243),_0x5beac3[_0x5beac3[_0x45e643(0x30f)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5beac3[_0x5beac3[_0x45e643(0x196)]=0xf]=_0x45e643(0x196),_0x5beac3[_0x5beac3['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x45e643(0x17e),_0x5beac3[_0x5beac3[_0x45e643(0x137)]=0x64]=_0x45e643(0x137),_0x5beac3[_0x5beac3['ERROR_AGAIN']=0x65]=_0x45e643(0x258),_0x5beac3[_0x5beac3[_0x45e643(0x282)]=0xc9]='USER_NOT_FOUND',_0x5beac3[_0x5beac3['USER_IS_ANONYMOUS']=0xca]=_0x45e643(0x269),_0x5beac3[_0x5beac3[_0x45e643(0x21e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5beac3[_0x5beac3[_0x45e643(0x203)]=0x1771]=_0x45e643(0x203),_0x5beac3[_0x5beac3[_0x45e643(0x235)]=0x1772]=_0x45e643(0x235),_0x5beac3[_0x5beac3[_0x45e643(0x12d)]=0x1773]=_0x45e643(0x12d),_0x5beac3[_0x5beac3[_0x45e643(0x10f)]=0x1b59]=_0x45e643(0x10f),_0x5beac3[_0x5beac3[_0x45e643(0x2a9)]=0x1b5a]=_0x45e643(0x2a9),_0x5beac3[_0x5beac3[_0x45e643(0xbc)]=0x1b5b]=_0x45e643(0xbc),_0x5beac3[_0x5beac3[_0x45e643(0x29d)]=0x1b5c]=_0x45e643(0x29d),_0x5beac3[_0x5beac3['APPLY_DUPLICATED']=0x1b5d]=_0x45e643(0x1b6),_0x5beac3[_0x5beac3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x45e643(0x251),_0x5beac3[_0x5beac3['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x45e643(0x14b),_0x5beac3[_0x5beac3[_0x45e643(0x104)]=0x232a]=_0x45e643(0x104),_0x5beac3[_0x5beac3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x45e643(0x222),_0x5beac3[_0x5beac3[_0x45e643(0x17f)]=0x232c]=_0x45e643(0x17f),_0x5beac3[_0x5beac3[_0x45e643(0x2d9)]=0x232d]=_0x45e643(0x2d9),_0x5beac3[_0x5beac3[_0x45e643(0x32c)]=0x2711]=_0x45e643(0x32c),_0x5beac3[_0x5beac3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x45e643(0x1a5),_0x5beac3[_0x5beac3[_0x45e643(0x10e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5beac3[_0x5beac3[_0x45e643(0x23e)]=0x2714]=_0x45e643(0x23e),_0x5beac3[_0x5beac3['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x45e643(0x260),_0x5beac3[_0x5beac3[_0x45e643(0x3c0)]=0x271b]=_0x45e643(0x3c0),_0x5beac3[_0x5beac3[_0x45e643(0x1f3)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5beac3[_0x5beac3[_0x45e643(0x372)]=0x271d]=_0x45e643(0x372),_0x5beac3[_0x5beac3[_0x45e643(0x34d)]=0x271e]=_0x45e643(0x34d),_0x5beac3[_0x5beac3[_0x45e643(0x2ee)]=0x271f]=_0x45e643(0x2ee),_0x5beac3[_0x5beac3[_0x45e643(0x27c)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5beac3[_0x5beac3[_0x45e643(0x207)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5beac3[_0x5beac3[_0x45e643(0x29f)]=0x2ee1]=_0x45e643(0x29f),_0x5beac3[_0x5beac3[_0x45e643(0x30b)]=0x2ee2]=_0x45e643(0x30b),_0x5beac3[_0x5beac3[_0x45e643(0x301)]=0x2ee3]=_0x45e643(0x301),_0x5beac3[_0x5beac3[_0x45e643(0x353)]=0x2ee4]=_0x45e643(0x353),_0x5beac3[_0x5beac3[_0x45e643(0xbe)]=0x2ee5]=_0x45e643(0xbe),_0x5beac3[_0x5beac3[_0x45e643(0x349)]=0x32c9]=_0x45e643(0x349),_0x5beac3[_0x5beac3[_0x45e643(0x341)]=0x32ca]=_0x45e643(0x341),_0x5beac3[_0x5beac3['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x45e643(0x229),_0x5beac3[_0x5beac3[_0x45e643(0x1bd)]=0x36b1]=_0x45e643(0x1bd),_0x5beac3[_0x5beac3[_0x45e643(0x34e)]=0x36b2]=_0x45e643(0x34e),_0x5beac3[_0x5beac3['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x45e643(0x1ec),_0x5beac3[_0x5beac3[_0x45e643(0x2bf)]=0x36b4]=_0x45e643(0x2bf),_0x5beac3[_0x5beac3[_0x45e643(0x347)]=0x3715]=_0x45e643(0x347),_0x5beac3[_0x5beac3[_0x45e643(0x199)]=0x3716]=_0x45e643(0x199),_0x5beac3[_0x5beac3[_0x45e643(0x103)]=0x3717]=_0x45e643(0x103),_0x5beac3[_0x5beac3[_0x45e643(0x37d)]=0x37dd]=_0x45e643(0x37d),_0x5beac3[_0x5beac3['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x5beac3[_0x5beac3[_0x45e643(0x16c)]=0x3a9a]=_0x45e643(0x16c),_0x5beac3[_0x5beac3[_0x45e643(0x1bc)]=0x3a9b]=_0x45e643(0x1bc),_0x5beac3[_0x5beac3['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x45e643(0x303),_0x5beac3[_0x5beac3[_0x45e643(0xca)]=0x3a9d]=_0x45e643(0xca),_0x5beac3[_0x5beac3[_0x45e643(0x162)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5beac3[_0x5beac3[_0x45e643(0x250)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5beac3[_0x5beac3['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x45e643(0x1c9),_0x5beac3[_0x5beac3[_0x45e643(0x305)]=-0x1]=_0x45e643(0x305),_0x5beac3))(vi||{}),Q=(_0x550258=>(_0x550258[_0x550258[_0x45e643(0x2d8)]=0x0]=_0x45e643(0x2d8),_0x550258[_0x550258['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x550258[_0x550258[_0x45e643(0x240)]=0x2]=_0x45e643(0x240),_0x550258[_0x550258['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x550258[_0x550258['UNIVER_PROJECT']=0x4]=_0x45e643(0x26d),_0x550258[_0x550258[_0x45e643(0x305)]=-0x1]=_0x45e643(0x305),_0x550258))(Q||{}),j=(_0x3b3d50=>(_0x3b3d50[_0x3b3d50[_0x45e643(0x39a)]=0x0]=_0x45e643(0x39a),_0x3b3d50[_0x3b3d50[_0x45e643(0x192)]=0x1]=_0x45e643(0x192),_0x3b3d50[_0x3b3d50['JOIN']=0x2]=_0x45e643(0x370),_0x3b3d50[_0x3b3d50[_0x45e643(0x1fe)]=0x3]=_0x45e643(0x1fe),_0x3b3d50[_0x3b3d50[_0x45e643(0x18d)]=0x4]='INGEST',_0x3b3d50[_0x3b3d50['HEARTBEAT']=0x5]=_0x45e643(0x2d5),_0x3b3d50[_0x3b3d50[_0x45e643(0x1e9)]=0x6]='RECV',_0x3b3d50[_0x3b3d50[_0x45e643(0x305)]=-0x1]=_0x45e643(0x305),_0x3b3d50))(j||{}),pe=(_0x597e6f=>(_0x597e6f[_0x597e6f[_0x45e643(0x1ac)]=0x0]=_0x45e643(0x1ac),_0x597e6f[_0x597e6f['OK']=0x1]='OK',_0x597e6f[_0x597e6f[_0x45e643(0x1ad)]=0x2]=_0x45e643(0x1ad),_0x597e6f[_0x597e6f[_0x45e643(0x3ae)]=0x3e9]=_0x45e643(0x3ae),_0x597e6f[_0x597e6f[_0x45e643(0x325)]=0x3ea]=_0x45e643(0x325),_0x597e6f[_0x597e6f[_0x45e643(0xd6)]=0x3eb]=_0x45e643(0xd6),_0x597e6f[_0x597e6f[_0x45e643(0x239)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x597e6f[_0x597e6f[_0x45e643(0x305)]=-0x1]=_0x45e643(0x305),_0x597e6f))(pe||{}),pi=(_0x15ae5f=>(_0x15ae5f[_0x15ae5f[_0x45e643(0xba)]=0x0]=_0x45e643(0xba),_0x15ae5f[_0x15ae5f[_0x45e643(0x2ba)]=0x1]='HttpImport',_0x15ae5f[_0x15ae5f[_0x45e643(0x35f)]=0x2]='HttpExport',_0x15ae5f[_0x15ae5f['UnitEmbedded']=0x3]='UnitEmbedded',_0x15ae5f[_0x15ae5f[_0x45e643(0x19e)]=0x4]=_0x45e643(0x19e),_0x15ae5f[_0x15ae5f[_0x45e643(0x2e2)]=0x5]=_0x45e643(0x2e2),_0x15ae5f[_0x15ae5f[_0x45e643(0x2b4)]=0x6]=_0x45e643(0x2b4),_0x15ae5f[_0x15ae5f[_0x45e643(0x305)]=-0x1]=_0x45e643(0x305),_0x15ae5f))(pi||{});const Cs=_0x45e643(0x354);function Ns(_0x4c9d7e){var _0x28d46f=_0x45e643;return JSON[_0x28d46f(0x1e2)](_0x4c9d7e)[_0x28d46f(0x122)];}var re=(_0x4b2e5e=>(_0x4b2e5e['OTHER_CLIENT_EDITING']=_0x45e643(0x121),_0x4b2e5e['PERMISSION_DENIED']=_0x45e643(0x257),_0x4b2e5e['CONFLICT']=_0x45e643(0x1c8),_0x4b2e5e['CLOSE_ROOM']=_0x45e643(0x2d0),_0x4b2e5e[_0x45e643(0x2cd)]=_0x45e643(0x2cd),_0x4b2e5e[_0x45e643(0x1b4)]=_0x45e643(0x1b4),_0x4b2e5e[_0x45e643(0x2bb)]=_0x45e643(0x2bb),_0x4b2e5e[_0x45e643(0xc0)]=_0x45e643(0xc0),_0x4b2e5e))(re||{});class ve{constructor(){var _0x337059=_0x45e643;D(this,_0x337059(0x2d2),new _0x470ab9()),D(this,_0x337059(0x2c9),this[_0x337059(0x2d2)][_0x337059(0x2f8)]());}['emitEvent'](_0x243c26){var _0x182f69=_0x45e643;this[_0x182f69(0x2d2)][_0x182f69(0x14e)](_0x243c26);}}class Ei{constructor(){var _0x4c5c90=_0x45e643;D(this,_0x4c5c90(0x217),new _0x470ab9()),D(this,_0x4c5c90(0x2e3),this[_0x4c5c90(0x217)][_0x4c5c90(0x2f8)]());}[_0x45e643(0x15b)](_0x246ab6){var _0x2c5b43=_0x45e643;this[_0x2c5b43(0x217)][_0x2c5b43(0x14e)](_0x246ab6);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x43b19a,_0x5e4fb4,_0x1de72c,_0x14bfa5)=>{for(var _0x1f1826=_0x14bfa5>0x1?void 0x0:_0x14bfa5?bs(_0x5e4fb4,_0x1de72c):_0x5e4fb4,_0x3181fa=_0x43b19a['length']-0x1,_0x1b5f9b;_0x3181fa>=0x0;_0x3181fa--)(_0x1b5f9b=_0x43b19a[_0x3181fa])&&(_0x1f1826=_0x1b5f9b(_0x1f1826)||_0x1f1826);return _0x1f1826;},jt=(_0x34101f,_0x1963ff)=>(_0x2904c6,_0x59065a)=>_0x1963ff(_0x2904c6,_0x59065a,_0x34101f);let Pe=class extends _0x892758{constructor(_0x1bd7ee,_0x330d67){var _0x2214ec=_0x45e643;super(),D(this,'_roomMembers',new Map()),D(this,_0x2214ec(0x323),new _0x470ab9()),(this[_0x2214ec(0x33b)]=_0x1bd7ee,this[_0x2214ec(0x2a5)]=_0x330d67,this[_0x2214ec(0xf3)](_0x4bc367(this[_0x2214ec(0x33b)][_0x2214ec(0x37c)](_0x7a183a['UNIVER_SHEET'])[_0x2214ec(0x2f0)](_0x22b088(_0x3238e6=>_0x3238e6[_0x2214ec(0x3ca)]())),this[_0x2214ec(0x33b)][_0x2214ec(0x37c)](_0x7a183a[_0x2214ec(0x3a2)])['pipe'](_0x22b088(_0xb1cd9f=>_0xb1cd9f[_0x2214ec(0x3ca)]())),this[_0x2214ec(0x33b)][_0x2214ec(0x37c)](_0x7a183a['UNIVER_SLIDE'])['pipe'](_0x22b088(_0x25dc1e=>_0x25dc1e[_0x2214ec(0x3ca)]())))[_0x2214ec(0x13d)](_0x2781e0=>this[_0x2214ec(0x131)](_0x2781e0))));}['waitForRoom$'](_0x48a238){var _0x3f6984=_0x45e643;return this[_0x3f6984(0xc1)]['has'](_0x48a238)?_0x5db91f(this[_0x3f6984(0xc1)][_0x3f6984(0x1d2)](_0x48a238)):this['_roomCreated$'][_0x3f6984(0x2f0)](_0x22b088(_0x4fea21=>{var _0x425c2c=_0x3f6984;if(_0x4fea21===_0x48a238)return this[_0x425c2c(0xc1)][_0x425c2c(0x1d2)](_0x4fea21);}));}['setCurrentUser'](_0x571f74){var _0x165e11=_0x45e643;this['_userManagerService'][_0x165e11(0x3ad)](_0x571f74);}['getCurrentUser'](){var _0x4a9b6c=_0x45e643;return this['_userManagerService'][_0x4a9b6c(0x215)]();}[_0x45e643(0x189)](_0x5a7697,_0x1e8579){var _0x491c7c=_0x45e643;let _0x491aee=this[_0x491c7c(0xc1)][_0x491c7c(0x1d2)](_0x5a7697);_0x491aee||(_0x491aee=new ys(),this[_0x491c7c(0xc1)][_0x491c7c(0x38b)](_0x5a7697,_0x491aee),this['_roomCreated$'][_0x491c7c(0x14e)](_0x5a7697)),_0x491aee[_0x491c7c(0x189)](_0x1e8579);}[_0x45e643(0x3a4)](_0x485561,_0x1c38ac){var _0x47d19e=_0x45e643;const _0x320c81=this[_0x47d19e(0xc1)][_0x47d19e(0x1d2)](_0x485561);_0x320c81&&_0x320c81[_0x47d19e(0x3a4)](_0x1c38ac);}[_0x45e643(0x317)](_0x4a7fcf){var _0x38d544=_0x45e643;return this[_0x38d544(0xc1)]['get'](_0x4a7fcf);}[_0x45e643(0x11d)](_0x1a0fc8,_0xa4ab97){var _0x4bfe95=_0x45e643;const _0x5d2a48=this['_roomMembers'][_0x4bfe95(0x1d2)](_0x1a0fc8);if(_0x5d2a48)return _0x5d2a48['getMember'](_0xa4ab97);}[_0x45e643(0x131)](_0x348e46){var _0x505c1c=_0x45e643;const _0x33bd0b=this['_roomMembers'][_0x505c1c(0x1d2)](_0x348e46);_0x33bd0b&&(_0x33bd0b[_0x505c1c(0x3aa)](),this[_0x505c1c(0xc1)][_0x505c1c(0x345)](_0x348e46));}[_0x45e643(0x3aa)](){var _0x8cc0b4=_0x45e643;this[_0x8cc0b4(0xc1)][_0x8cc0b4(0xcb)](_0x31a14c=>_0x31a14c[_0x8cc0b4(0x3aa)]()),this[_0x8cc0b4(0xc1)][_0x8cc0b4(0xc5)](),this[_0x8cc0b4(0x323)]['complete']();}};Pe=Ds([jt(0x0,_0x1ae1de),jt(0x1,_0x1de629(_0x5314a7))],Pe);class ys extends _0x892758{constructor(){var _0x184898=_0x45e643;super(...arguments),D(this,_0x184898(0x2fa),new Map()),D(this,_0x184898(0x267),new _0x27518c(this[_0x184898(0x2fa)])),D(this,_0x184898(0x206),this[_0x184898(0x267)][_0x184898(0x2f8)]());}[_0x45e643(0x3aa)](){var _0x22d14c=_0x45e643;this[_0x22d14c(0x2fa)][_0x22d14c(0xc5)]();}[_0x45e643(0x189)](_0x3756b0){var _0xfee7d8=_0x45e643;this[_0xfee7d8(0x2fa)][_0xfee7d8(0x38b)](_0x3756b0[_0xfee7d8(0x253)],_0x3756b0),this[_0xfee7d8(0x158)]();}[_0x45e643(0x3a4)](_0x129054){this['_members']['delete'](_0x129054);}['getMember'](_0x3bd3b0){var _0x449eac=_0x45e643;return this[_0x449eac(0x2fa)]['get'](_0x3bd3b0);}[_0x45e643(0x1eb)](){var _0x1259ac=_0x45e643;return Array['from'](this[_0x1259ac(0x2fa)][_0x1259ac(0x26e)]());}[_0x45e643(0x158)](){var _0x246980=_0x45e643;this[_0x246980(0x267)][_0x246980(0x14e)](this[_0x246980(0x2fa)]);}}var Us=Object[_0x45e643(0x368)],As=(_0x2ecec7,_0x1a8302,_0x4a7bcb,_0x1c78d6)=>{var _0x2a5ff5=_0x45e643;for(var _0x11a78f=_0x1c78d6>0x1?void 0x0:_0x1c78d6?Us(_0x1a8302,_0x4a7bcb):_0x1a8302,_0x34d1e6=_0x2ecec7[_0x2a5ff5(0x122)]-0x1,_0x1545d8;_0x34d1e6>=0x0;_0x34d1e6--)(_0x1545d8=_0x2ecec7[_0x34d1e6])&&(_0x11a78f=_0x1545d8(_0x11a78f)||_0x11a78f);return _0x11a78f;},Oe=(_0x262fce,_0x2f2f64)=>(_0x15312e,_0x54880a)=>_0x2f2f64(_0x15312e,_0x54880a,_0x262fce),me=(_0x916ce7=>(_0x916ce7[_0x916ce7[_0x45e643(0x26c)]=0x0]='IDLE',_0x916ce7[_0x916ce7[_0x45e643(0x2d4)]=0x1]=_0x45e643(0x2d4),_0x916ce7[_0x916ce7['OFFLINE']=0x2]='OFFLINE',_0x916ce7[_0x916ce7[_0x45e643(0x379)]=0x3]=_0x45e643(0x379),_0x916ce7))(me||{});const Vt={[pe[_0x45e643(0x1ad)]]:_0x45e643(0x377),[pe[_0x45e643(0x3ae)]]:'session.room-full',[pe[_0x45e643(0x325)]]:_0x45e643(0x37b),[pe[_0x45e643(0xd6)]]:_0x45e643(0x1ef),[pe[_0x45e643(0x239)]]:_0x45e643(0x28f)};let mt=class extends _0x403ba5{constructor(_0x4dcf12,_0x211be9,_0x419d22,_0x1937fe,_0x2acd53,_0x496110,_0xbef4e6,_0x18d3dc){var _0x40af5c=_0x45e643;super(),D(this,_0x40af5c(0x195),new _0x27518c(0x0)),D(this,_0x40af5c(0xec),this[_0x40af5c(0x195)]['asObservable']()),D(this,_0x40af5c(0x2d2),new _0x470ab9()),D(this,'event$',this[_0x40af5c(0x2d2)][_0x40af5c(0x2f8)]()),D(this,_0x40af5c(0x193)),D(this,_0x40af5c(0x234)),D(this,_0x40af5c(0x15d)),D(this,_0x40af5c(0x276),!0x1),D(this,_0x40af5c(0xd9),null),(this['_unitID']=_0x4dcf12,this['_logService']=_0x419d22,this[_0x40af5c(0x261)]=_0x1937fe,this[_0x40af5c(0x184)]=_0x2acd53,this[_0x40af5c(0x19a)]=_0x496110,this[_0x40af5c(0x334)]=_0xbef4e6,this['_telemetryService']=_0x18d3dc,this[_0x40af5c(0x276)]=!!this['_telemetryService'],_0x211be9[_0x40af5c(0x2f0)](_0x4a5734(this['dispose$']))[_0x40af5c(0x13d)](_0x169f20=>{var _0x3a7e95=_0x40af5c,_0x14aeb4;typeof _0x169f20>'u'||(this[_0x3a7e95(0x193)]=_0x169f20,_0x169f20?(this[_0x3a7e95(0x242)](_0x169f20),this['_socketMessageSubscription']=_0x169f20[_0x3a7e95(0x1a8)][_0x3a7e95(0x13d)](_0xeab0df=>{var _0x42aa24=_0x3a7e95;_0xeab0df[_0x42aa24(0x279)]===this[_0x42aa24(0xcc)]&&this[_0x42aa24(0x13b)](_0xeab0df);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3a7e95(0x195)][_0x3a7e95(0x14e)](0x2),(_0x14aeb4=this[_0x3a7e95(0x234)])==null||_0x14aeb4[_0x3a7e95(0x3bb)](),this[_0x3a7e95(0x234)]=null));}));}get[_0x45e643(0x136)](){var _0x1ef542=_0x45e643;return this[_0x1ef542(0x195)][_0x1ef542(0x3bf)]();}[_0x45e643(0x205)](){var _0x137e7f=_0x45e643,_0x32d042,_0x2a5f7b;return(_0x2a5f7b=(_0x32d042=this[_0x137e7f(0x193)])==null?void 0x0:_0x32d042[_0x137e7f(0x253)])!=null?_0x2a5f7b:null;}[_0x45e643(0x3aa)](){var _0x1df306=_0x45e643;super[_0x1df306(0x3aa)](),this['dispose$'][_0x1df306(0x14e)](),this[_0x1df306(0x392)][_0x1df306(0x356)]();}[_0x45e643(0x10d)](){var _0x5f0b2e=_0x45e643,_0x564759,_0x5f0dfb;this['_throwTelemetryCollaborationNewChangeset'](),(_0x564759=this['_socket'])==null||_0x564759[_0x5f0b2e(0x39b)]({'cmd':j[_0x5f0b2e(0x1fe)],'data':{'roomID':this[_0x5f0b2e(0xcc)]}}),(_0x5f0dfb=this['_socket'])==null||_0x5f0dfb[_0x5f0b2e(0x10d)](),this['_event$'][_0x5f0b2e(0x356)](),this[_0x5f0b2e(0x195)]['complete'](),this[_0x5f0b2e(0x3aa)]();}[_0x45e643(0x13b)](_0xcb7f79){var _0x5330bf=_0x45e643;_0xcb7f79['cmd']===j[_0x5330bf(0x370)]?this['_onJoinRoomEvent'](_0xcb7f79):_0xcb7f79['cmd']===j['RECV']&&this[_0x5330bf(0x221)](_0xcb7f79);}[_0x45e643(0x242)](_0x5daea9){var _0x168356=_0x45e643;this[_0x168356(0x195)][_0x168356(0x14e)](0x1),_0x5daea9['send']({'cmd':j['JOIN'],'routeKey':this[_0x168356(0xcc)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x45e643(0x3b0)](_0x1ba88e){var _0x385943=_0x45e643,_0x333b6e;if(_0x1ba88e[_0x385943(0x12b)]in Vt){this[_0x385943(0x334)][_0x385943(0x2b1)]({'id':re[_0x385943(0x2cd)],'data':Vt[_0x1ba88e[_0x385943(0x12b)]]}),this[_0x385943(0x195)][_0x385943(0x14e)](0x2);return;}this[_0x385943(0x195)][_0x385943(0x14e)](0x3);const _0x1075d8=(_0x333b6e=_0x1ba88e[_0x385943(0x2eb)][_0x385943(0x17c)][this[_0x385943(0xcc)]])==null?void 0x0:_0x333b6e[_0x385943(0x2ab)];_0x1075d8&&_0x1075d8['forEach'](_0x32f9b4=>this[_0x385943(0x184)][_0x385943(0x189)](this[_0x385943(0xcc)],_0x32f9b4));}[_0x45e643(0x221)](_0x4d38b6){var _0x50ef32=_0x45e643;try{const _0x10af57=_0x4d38b6[_0x50ef32(0x2eb)];switch(_0x10af57[_0x50ef32(0x107)]){case _0x2f9ecd[_0x50ef32(0x336)]:this[_0x50ef32(0x241)](_0x10af57),this[_0x50ef32(0x2d2)][_0x50ef32(0x14e)](_0x10af57);break;case _0x2f9ecd[_0x50ef32(0x277)]:this[_0x50ef32(0xd3)](_0x10af57),this[_0x50ef32(0x2d2)][_0x50ef32(0x14e)](_0x10af57);break;case _0x2f9ecd[_0x50ef32(0x190)]:case _0x2f9ecd['CHANGESET_SHOULD_RETRY']:this[_0x50ef32(0x2cf)](),this[_0x50ef32(0xdc)](),this[_0x50ef32(0x2d2)]['next'](_0x10af57);break;case _0x2f9ecd['MSG_FOR_ERROR']:this[_0x50ef32(0x1d4)]['error'](_0x50ef32(0x27d)+JSON[_0x50ef32(0x1e2)](_0x10af57)),this[_0x50ef32(0x2d2)][_0x50ef32(0x14e)](_0x10af57);break;case _0x2f9ecd[_0x50ef32(0x1b0)]:this[_0x50ef32(0x19a)][_0x50ef32(0x15b)](_0x10af57[_0x50ef32(0x2eb)]),this[_0x50ef32(0x2d2)][_0x50ef32(0x14e)](_0x10af57);break;default:this['_event$'][_0x50ef32(0x14e)](_0x10af57);}}catch(_0x57785e){this['_logService'][_0x50ef32(0x28e)](_0x57785e,_0x4d38b6);}}['_onUserJoin'](_0x4ded11){var _0x3f36fc=_0x45e643;this[_0x3f36fc(0x184)][_0x3f36fc(0x189)](this[_0x3f36fc(0xcc)],_0x4ded11[_0x3f36fc(0x2eb)]);}[_0x45e643(0xd3)](_0x3ba38a){var _0x370bb2=_0x45e643;this[_0x370bb2(0x184)][_0x370bb2(0x3a4)](this['_unitID'],_0x3ba38a[_0x370bb2(0x2eb)][_0x370bb2(0x253)]);}async[_0x45e643(0x39b)](_0x3faa8a,_0x278912){var _0x1fae07=_0x45e643;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x1fae07(0x34a));try{_0x3faa8a['eventID']===_0x2f9ecd[_0x1fae07(0x357)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x1fae07(0x2c6)](_0x3faa8a)),this[_0x1fae07(0x193)][_0x1fae07(0x39b)]({'cmd':j['INGEST'],'routeKey':_0x278912,'routeType':'','data':_0x3faa8a});}catch(_0x11495d){this[_0x1fae07(0x1d4)]['error'](_0x11495d);}}[_0x45e643(0x39f)](){var _0x17d043=_0x45e643,_0x85c116;this[_0x17d043(0x15d)]=setTimeout(()=>{var _0x4ba5d3=_0x17d043;this[_0x4ba5d3(0x15d)]=null,this['_collaborationUIEventService'][_0x4ba5d3(0x2b1)]({'id':re[_0x4ba5d3(0xc0)]});},(_0x85c116=this[_0x17d043(0x261)]['getConfig'](di))!=null?_0x85c116:fi);}[_0x45e643(0xdc)](){var _0x5f08ed=_0x45e643;this[_0x5f08ed(0x15d)]&&(clearTimeout(this[_0x5f08ed(0x15d)]),this[_0x5f08ed(0x15d)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x31ae32){if(!this['_shouldReportTelemetry'])return;const {data:_0x34d220}=_0x31ae32,{unitID:_0x2b0491,changeset:_0xcacfca}=_0x34d220,{mutations:_0x1df617,type:_0x40ad66}=_0xcacfca;this['_telemetryInfo']={'unitId':_0x2b0491,'type':_0x40ad66,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x1df617)};}[_0x45e643(0x2cf)](){var _0xc18ea7=_0x45e643;if(this[_0xc18ea7(0x276)]){if(!this[_0xc18ea7(0xd9)]){this[_0xc18ea7(0x1d4)][_0xc18ea7(0x28e)](_0xc18ea7(0x212),_0xc18ea7(0x130));return;}this['_telemetryInfo'][_0xc18ea7(0x233)]=performance[_0xc18ea7(0x348)](),this[_0xc18ea7(0xd9)][_0xc18ea7(0x139)]=this[_0xc18ea7(0xd9)][_0xc18ea7(0x233)]-this[_0xc18ea7(0xd9)][_0xc18ea7(0x14a)],this['_telemetryService'][_0xc18ea7(0x290)](Cs,this['_telemetryInfo']),this[_0xc18ea7(0xd9)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x159431=_0x45e643;this[_0x159431(0xd9)]=null;}};mt=As([Oe(0x2,_0x5b6bbd),Oe(0x3,_0xbfff8e),Oe(0x4,_0x1de629(Pe)),Oe(0x5,_0x1de629(Ei)),Oe(0x6,_0x1de629(ve)),Oe(0x7,_0x217f28(_0x21ca98))],mt);const J=_0xf6be87(_0x45e643(0x12c));function Nr(_0x5872d8){var _0x50b37e=_0x45e643;return _0x50b37e(0x18a)+_0x5872d8;}var Ps=Object[_0x45e643(0x368)],ws=(_0xb4292f,_0x5574f9,_0x371506,_0x54d937)=>{for(var _0x209706=_0x54d937>0x1?void 0x0:_0x54d937?Ps(_0x5574f9,_0x371506):_0x5574f9,_0x367fbe=_0xb4292f['length']-0x1,_0xd3f563;_0x367fbe>=0x0;_0x367fbe--)(_0xd3f563=_0xb4292f[_0x367fbe])&&(_0x209706=_0xd3f563(_0x209706)||_0x209706);return _0x209706;},ut=(_0x152d65,_0xd962fb)=>(_0x490b3d,_0x4fa05d)=>_0xd962fb(_0x490b3d,_0x4fa05d,_0x152d65);function Ms(_0x27c97f){var _0x59d6d7=_0x45e643;const {unitID:_0x57cdd3,mutations:_0x24efc3}=_0x27c97f;return{'unitId':_0x57cdd3,'subUnitId':_0x24efc3[_0x59d6d7(0x122)]>0x0?_0x24efc3[0x0][_0x59d6d7(0x1ca)]['subUnitId']:null};}let it=class{constructor(_0x55ed75,_0x57c814,_0xfda0dc){var _0x102f38=_0x45e643;this[_0x102f38(0x29c)]=_0x55ed75,this['_transformService']=_0x57c814,this[_0x102f38(0x173)]=_0xfda0dc;}[_0x45e643(0x1dc)](_0x4259ae){var _0x2f4349=_0x45e643,_0x1fd901,_0x45dc39,_0x7f6731,_0x2cc2c1;const _0x3bfddc=this[_0x2f4349(0x29c)][_0x2f4349(0x1d2)](_0xcac342),{unitId:_0x5ecbf4,subUnitId:_0x469ec4}=Ms(_0x4259ae),_0x29c939=_0x3bfddc==null?void 0x0:_0x3bfddc['getWorkbookSelections'](_0x5ecbf4)['getCurrentSelections'](),_0x1a0d09=(_0x45dc39=(_0x1fd901=this[_0x2f4349(0x173)]['getUnit'](_0x5ecbf4))==null?void 0x0:_0x1fd901[_0x2f4349(0x2f7)]())==null?void 0x0:_0x45dc39['getSheetId']();if(_0x29c939['length']===0x0||!_0x5ecbf4||!_0x469ec4)return;const _0x6a3426=[{'id':_0x536a6e['id'],'params':{'unitId':_0x5ecbf4,'subUnitId':_0x1a0d09,'selections':_0x57b9dc[_0x2f4349(0x1b8)](_0x29c939)}}],_0x8b9549=this[_0x2f4349(0x1e6)][_0x2f4349(0x171)](_0x4259ae,_0x6a3426);if(!_0x55fae1(_0x8b9549))throw _0x8b9549[_0x2f4349(0x28e)];const _0x58d5db=(_0x2cc2c1=(_0x7f6731=_0x8b9549[_0x2f4349(0x186)][0x0])==null?void 0x0:_0x7f6731['params'])==null?void 0x0:_0x2cc2c1[_0x2f4349(0x309)];if(Array[_0x2f4349(0x35b)](_0x58d5db)&&_0x58d5db['length']){if(_0x58d5db[_0x2f4349(0x122)]===_0x6a3426[0x0][_0x2f4349(0x1ca)][_0x2f4349(0x309)][_0x2f4349(0x122)]&&_0x58d5db[_0x2f4349(0x306)]((_0x50d689,_0x1d010c)=>_0x258869[_0x2f4349(0xe8)](_0x50d689[_0x2f4349(0xe9)],_0x6a3426[0x0][_0x2f4349(0x1ca)][_0x2f4349(0x309)][_0x1d010c][_0x2f4349(0xe9)])))return;this['_injector'][_0x2f4349(0x1d2)](_0x4dc804)[_0x2f4349(0x129)](_0x536a6e['id'],{'unitId':_0x5ecbf4,'subUnitId':_0x1a0d09,'selections':_0x58d5db});}}};it=ws([ut(0x0,_0x1de629(_0x45738c)),ut(0x1,_0x95d3ab),ut(0x2,_0x1ae1de)],it);const _t=_0xf6be87(_0x45e643(0x1cb));var mi=(_0xa84372=>(_0xa84372[_0xa84372[_0x45e643(0x25e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xa84372[_0xa84372[_0x45e643(0x3c1)]=0x1]=_0x45e643(0x3c1),_0xa84372))(mi||{});const K=_0x45e643(0x3b8),Ls={},xs=new Set([_0x1d498d['id']]);function Gt(_0x223d77,_0x9a42a7,_0x2751ba,_0x27523b,_0x18896c){var _0x39ad1c=_0x45e643,_0x551f1f,_0x300b0a,_0x10d94b,_0x5a1450;const _0x626c95=[];for(const _0x103901 of _0x223d77)if(xs[_0x39ad1c(0x120)](_0x103901['id'])){if(_0x626c95[_0x39ad1c(0x122)]>0x0)break;_0x626c95['push'](_0x103901);break;}else _0x626c95[_0x39ad1c(0xf9)](_0x103901);const _0x2b6f4c=(_0x300b0a=(_0x551f1f=_0x18896c[_0x39ad1c(0x215)]())==null?void 0x0:_0x551f1f[_0x39ad1c(0xd5)])!=null?_0x300b0a:'unknown',_0x30d542=(_0x5a1450=(_0x10d94b=_0x18896c[_0x39ad1c(0x215)]())==null?void 0x0:_0x10d94b[_0x39ad1c(0x253)])!=null?_0x5a1450:'unknown';return{'changeset':{'unitID':_0x9a42a7,'type':_0xadd4e1(_0x2751ba[_0x39ad1c(0x2c3)](_0x9a42a7)),'baseRev':_0x27523b[_0x39ad1c(0x30c)](_0x9a42a7),'revision':0x0,'userID':_0x2b6f4c,'memberID':_0x30d542,'mutations':_0x626c95},'pendingMutations':_0x223d77['slice'](_0x626c95[_0x39ad1c(0x122)])};}function ks(_0x5eb512,_0x41d602,_0x41938b,_0x518602,_0x502887){var _0x15bb1b=_0x45e643,_0x3f48a0,_0x65878f,_0x98c3b9,_0x3c48d6;const _0x9770e4=[_0x5eb512[_0x15bb1b(0xdf)]((_0x39fcb4,_0x51f21d)=>{var _0x54721a=_0x15bb1b,_0x3829a6;const {id:_0x1f1d3c}=_0x39fcb4,{id:_0x219b81,type:_0x5ea2d6}=_0x51f21d,_0x5539c1=(_0x3829a6=_0x39fcb4[_0x54721a(0x1ca)])!=null?_0x3829a6:{'actions':null},_0x58b161=_0x51f21d[_0x54721a(0x1ca)];if(_0x1f1d3c&&_0x1f1d3c!==_0x219b81)throw new Error(_0x54721a(0xe5)+_0x1f1d3c+'\x20-\x20'+_0x219b81+'.');return{..._0x39fcb4,'id':_0x219b81,'type':_0x5ea2d6,'params':{'unitId':_0x58b161['unitId'],'textRanges':_0x58b161['textRanges'],'actions':_0x48d391[_0x54721a(0x385)](_0x5539c1[_0x54721a(0x1e0)],_0x58b161[_0x54721a(0x1e0)])}};},{})],_0xa2d5ad=(_0x65878f=(_0x3f48a0=_0x502887['getCurrentUser']())==null?void 0x0:_0x3f48a0[_0x15bb1b(0xd5)])!=null?_0x65878f:_0x15bb1b(0x264),_0x390a7b=(_0x3c48d6=(_0x98c3b9=_0x502887[_0x15bb1b(0x215)]())==null?void 0x0:_0x98c3b9[_0x15bb1b(0x253)])!=null?_0x3c48d6:'unknown';return{'changeset':{'unitID':_0x41d602,'type':_0xadd4e1(_0x41938b['getUnitType'](_0x41d602)),'baseRev':_0x518602[_0x15bb1b(0x30c)](_0x41d602),'revision':0x0,'userID':_0xa2d5ad,'memberID':_0x390a7b,'mutations':_0x9770e4},'pendingMutations':[]};}function Ii(_0x318244,_0x204bfe){var _0x1ffde5=_0x45e643;const _0x1852e5=new _0x404d8b(0x1);return setTimeout(()=>_0x1852e5[_0x1ffde5(0x14e)](_0x204bfe),_0x318244),_0x1852e5[_0x1ffde5(0x2f8)]()['pipe'](_0x1f12e1(0x1));}const $s={'id':_0x51330b['id'],'type':_0x25728b[_0x45e643(0x178)],'params':{}};var Hs=Object[_0x45e643(0x368)],Se=(_0x3e4343,_0x27d98f,_0x160b05,_0x428740)=>{var _0x3d27f0=_0x45e643;for(var _0x514b37=_0x428740>0x1?void 0x0:_0x428740?Hs(_0x27d98f,_0x160b05):_0x27d98f,_0x224ad8=_0x3e4343[_0x3d27f0(0x122)]-0x1,_0x31534c;_0x224ad8>=0x0;_0x224ad8--)(_0x31534c=_0x3e4343[_0x224ad8])&&(_0x514b37=_0x31534c(_0x514b37)||_0x514b37);return _0x514b37;},w=(_0x27af87,_0x311480)=>(_0x4229d8,_0x5ec1dc)=>_0x311480(_0x4229d8,_0x5ec1dc,_0x27af87),Si=(_0x13a58f=>(_0x13a58f[_0x45e643(0x132)]=_0x45e643(0xe0),_0x13a58f[_0x45e643(0x213)]=_0x45e643(0x180),_0x13a58f['PENDING']='pending',_0x13a58f[_0x45e643(0x174)]=_0x45e643(0x3bd),_0x13a58f['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x13a58f[_0x45e643(0x24b)]=_0x45e643(0x254),_0x13a58f[_0x45e643(0x1c8)]=_0x45e643(0x151),_0x13a58f[_0x45e643(0x255)]='offline',_0x13a58f))(Si||{});const gi=0xea60;class ge{constructor(_0x206493,_0x1b1636,_0x5e9ee5,_0x4e172e,_0x4ac747,_0x319ae6,_0xd08270,_0x3155dc,_0x449d80){var _0x3a9276=_0x45e643;D(this,_0x3a9276(0x2a4),null),D(this,_0x3a9276(0x148),[]),(this[_0x3a9276(0x324)]=_0x206493,this[_0x3a9276(0x2a3)]=_0x1b1636,this[_0x3a9276(0x33d)]=_0x4ac747,this[_0x3a9276(0xe4)]=_0x319ae6,this[_0x3a9276(0x1d9)]=_0xd08270,this[_0x3a9276(0x170)]=_0x3155dc,this[_0x3a9276(0x359)]=_0x449d80,this[_0x3a9276(0x2a4)]=_0x5e9ee5,this[_0x3a9276(0x148)]=_0x4e172e);}[_0x45e643(0x1b3)](_0x2d4941){var _0x37fe51=_0x45e643;const _0x59c17e=this[_0x37fe51(0x170)]['getCurrentRevOfUnit'](this[_0x37fe51(0x324)]);return _0x2d4941[_0x37fe51(0x18f)]>_0x59c17e+0x1?(this[_0x37fe51(0x33d)][_0x37fe51(0x138)]({'from':_0x59c17e,'to':_0x2d4941['revision']-0x1}),!0x0):!0x1;}[_0x45e643(0x17b)](_0x3fa435){var _0x2a9ffd=_0x45e643;this[_0x2a9ffd(0x1d9)]['transformUndoRedo'](this[_0x2a9ffd(0x324)],_0x3fa435);}['_transformSelections'](_0xe0f834){var _0x22a388=_0x45e643,_0x209403,_0x4b3f3a;(_0x4b3f3a=(_0x209403=this[_0x22a388(0x33d)])[_0x22a388(0x361)])==null||_0x4b3f3a[_0x22a388(0x25f)](_0x209403,_0xe0f834);}['_transformIMECache'](_0x1f560a){var _0x3e024c=_0x45e643,_0x17aa41,_0x43342f;return(_0x43342f=(_0x17aa41=this[_0x3e024c(0x33d)])['onTransformIME'])==null?void 0x0:_0x43342f[_0x3e024c(0x25f)](_0x17aa41,_0x1f560a);}[_0x45e643(0x16e)](_0x1c7790){var _0x25b4c1=_0x45e643,_0x148bfb,_0x1f3e38;return(_0x1f3e38=(_0x148bfb=this[_0x25b4c1(0x33d)])[_0x25b4c1(0x1b9)])==null?void 0x0:_0x1f3e38[_0x25b4c1(0x25f)](_0x148bfb,_0x1c7790);}[_0x45e643(0x3bc)](_0x33f618){var _0x352514=_0x45e643,_0x4a5426,_0x22f6ed,_0xbdcfaa;return(_0xbdcfaa=(_0x22f6ed=(_0x4a5426=this[_0x352514(0x33d)])[_0x352514(0x31e)])==null?void 0x0:_0x22f6ed[_0x352514(0x25f)](_0x4a5426,_0x33f618))!=null?_0xbdcfaa:_0x33f618;}[_0x45e643(0x1f4)](_0x3648d0){var _0x1c3680=_0x45e643,_0x4020e2,_0x2d1ac2,_0x13f1f5;return(_0x13f1f5=(_0x2d1ac2=(_0x4020e2=this[_0x1c3680(0x33d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2d1ac2['call'](_0x4020e2,_0x3648d0))!=null?_0x13f1f5:_0x3648d0;}['_syncEditingCollabCursor'](_0xf60946){var _0x5156a8=_0x45e643,_0x1d7dd2,_0x3bba23;if(this[_0x5156a8(0x2a3)]===Q[_0x5156a8(0x3a2)]){const {unitID:_0xd0e0b7,mutations:_0x5b3f27,memberID:_0x2093fe}=_0xf60946,_0x6011d8=_0x5b3f27[_0x5156a8(0x122)]>0x0?_0x5b3f27[0x0]['params']['textRanges']:[];Array['isArray'](_0x6011d8)&&_0x6011d8[_0x5156a8(0x122)]>0x0&&((_0x3bba23=(_0x1d7dd2=this[_0x5156a8(0x33d)])['onSyncEditingCollabCursor'])==null||_0x3bba23[_0x5156a8(0x25f)](_0x1d7dd2,{'unitID':_0xd0e0b7,'memberID':_0x2093fe,'textRanges':_0x6011d8}));}}['_updateLocalCache'](){var _0xd48a2d=_0x45e643,_0x1b875b;(_0x1b875b=this[_0xd48a2d(0x359)])==null||_0x1b875b['updateOfflineData'](this[_0xd48a2d(0x324)],this[_0xd48a2d(0x2a3)],this[_0xd48a2d(0x2a4)],this[_0xd48a2d(0x148)]);}[_0x45e643(0x314)](){var _0x57186a=_0x45e643;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x57186a(0x324)]);}[_0x45e643(0x275)](){var _0x4c7e64=_0x45e643;this[_0x4c7e64(0x170)][_0x4c7e64(0x11c)](this[_0x4c7e64(0x324)]);}[_0x45e643(0x286)](_0x7d3add){var _0x4eb843=_0x45e643,_0x264b58;let _0x568159=this[_0x4eb843(0x3bc)](_0x7d3add);_0x568159=this['_transformRemoteChangesetByStateCache'](_0x568159);const _0x3eefe3=_0x2cbbda(_0x568159[_0x4eb843(0x12f)],this[_0x4eb843(0xe4)],{'fromCollab':!0x0});if(!_0x3eefe3[_0x4eb843(0x308)])throw _0x3eefe3[_0x4eb843(0x28e)]instanceof Error?_0x3eefe3[_0x4eb843(0x28e)]:new Error((_0x264b58=_0x3eefe3['error'])!=null?_0x264b58:_0x4eb843(0x2d3));this[_0x4eb843(0x1b7)](_0x568159),this[_0x4eb843(0x16e)](_0x568159),this['_transformUndoredo'](_0x7d3add),this['_transformSelections'](_0x568159),this[_0x4eb843(0x12e)](_0x568159),this[_0x4eb843(0x275)]();}}let be=class extends ge{constructor(_0xb45b7d,_0x4acaf8,_0x35a276,_0x1936c0,_0x474d4c,_0x19cd3f,_0x59b142,_0x332de4,_0x35025e,_0x2789ee){var _0x2d1a1b=_0x45e643;super(_0xb45b7d,_0x4acaf8,null,[],_0x35a276,_0x59b142,_0x19cd3f,_0x1936c0,_0x2789ee),D(this,_0x2d1a1b(0x291),_0x2d1a1b(0x180)),(this[_0x2d1a1b(0x29c)]=_0x474d4c,this['_logService']=_0x332de4,this['_transformService']=_0x35025e,this[_0x2d1a1b(0x259)]=_0x2789ee);}[_0x45e643(0x2fe)](_0x3ad5cf){var _0x460c9d=_0x45e643;const _0x3c9f45=this[_0x460c9d(0x29c)][_0x460c9d(0x149)](ae,this[_0x460c9d(0x324)],this[_0x460c9d(0x2a3)],[_0x3ad5cf],this[_0x460c9d(0x33d)]);return _0x3c9f45[_0x460c9d(0x10a)](),_0x3c9f45[_0x460c9d(0x219)](),_0x3c9f45;}[_0x45e643(0x31c)](_0x374565){var _0x4ad0c6=_0x45e643;if(this['_checkMissing'](_0x374565))return this[_0x4ad0c6(0x29c)][_0x4ad0c6(0x149)](ee,this[_0x4ad0c6(0x324)],this['type'],null,[],null,[_0x374565],this[_0x4ad0c6(0x33d)]);try{const _0x15b13b=this[_0x4ad0c6(0x1e6)][_0x4ad0c6(0x171)](_0x374565,[$s]);if(_0x55fae1(_0x15b13b)){const {c1Prime:_0x28f300}=_0x15b13b;return this[_0x4ad0c6(0x286)](_0x28f300),this;}throw _0x15b13b['error'];}catch(_0x34341a){return this['_logService'][_0x4ad0c6(0x28e)](_0x34341a),this[_0x4ad0c6(0x154)](!0x1);}}['_onConflict'](_0x179e31){var _0x4ab4c5=_0x45e643;return this[_0x4ab4c5(0x29c)][_0x4ab4c5(0x149)](ue,this[_0x4ab4c5(0x324)],this[_0x4ab4c5(0x2a3)],null,[],this[_0x4ab4c5(0x33d)],_0x179e31);}[_0x45e643(0xe6)](){var _0x59b5af=_0x45e643;throw new Error(_0x59b5af(0x367));}[_0x45e643(0x342)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x45e643(0x20a)](){return this;}[_0x45e643(0x39d)](){var _0x382fa0=_0x45e643;return this[_0x382fa0(0x29c)]['createInstance'](de,this[_0x382fa0(0x324)],this[_0x382fa0(0x2a3)],null,[],this[_0x382fa0(0x33d)]);}['toggleOnline'](){return this;}[_0x45e643(0x2b2)](){var _0x142387=_0x45e643;throw new Error(_0x142387(0x2b3));}[_0x45e643(0x2ed)](){var _0x2fd0b6=_0x45e643;const _0x4f5f1f=this[_0x2fd0b6(0x170)][_0x2fd0b6(0x30c)](this[_0x2fd0b6(0x324)]);return this[_0x2fd0b6(0x33d)]['onMissingChangesets']({'from':_0x4f5f1f,'to':0x0}),this[_0x2fd0b6(0x29c)]['createInstance'](ee,this['unitID'],this[_0x2fd0b6(0x2a3)],null,[],null,[],this[_0x2fd0b6(0x33d)]);}};be=Se([w(0x3,_0x1de629(_0x22b84a)),w(0x4,_0x1de629(_0x45738c)),w(0x5,_0x50fa79),w(0x6,_0x4dc804),w(0x7,_0x5b6bbd),w(0x8,_0x95d3ab),w(0x9,_0x217f28(J))],be);let ae=class extends ge{constructor(_0x5dc449,_0x2125af,_0x1fc827,_0x22e0ae,_0xe27732,_0x307efc,_0x186a5b,_0x36ef85,_0x55b4ee,_0x2df8ca,_0x2f9d7c,_0x2fbad5,_0xc5df49,_0x4a4d02){var _0x2cb1d2=_0x45e643;super(_0x5dc449,_0x2125af,null,_0x1fc827,_0x22e0ae,_0x55b4ee,_0xc5df49,_0x307efc,_0x4a4d02),D(this,_0x2cb1d2(0x291),_0x2cb1d2(0x1d3)),D(this,_0x2cb1d2(0x1a4),null),D(this,_0x2cb1d2(0x177),null),(this[_0x2cb1d2(0x29c)]=_0xe27732,this['_memberService']=_0x186a5b,this[_0x2cb1d2(0x1d4)]=_0x36ef85,this[_0x2cb1d2(0x261)]=_0x2df8ca,this[_0x2cb1d2(0x1e6)]=_0x2f9d7c,this[_0x2cb1d2(0x33b)]=_0x2fbad5);}[_0x45e643(0x2fe)](_0x358d8c){var _0x2f319c=_0x45e643;return this[_0x2f319c(0x148)][_0x2f319c(0xf9)](_0x358d8c),this[_0x2f319c(0x219)](),this;}[_0x45e643(0x31c)](_0x2c1750){var _0x20607d=_0x45e643;if(this[_0x20607d(0x1b3)](_0x2c1750))return this[_0x20607d(0x36b)](),this['_injector']['createInstance'](ee,this[_0x20607d(0x324)],this[_0x20607d(0x2a3)],null,this['_pendingMutations'],null,[_0x2c1750],this[_0x20607d(0x33d)]);try{const _0x226979=this[_0x20607d(0x1e6)][_0x20607d(0x171)](_0x2c1750,this['_pendingMutations']);if(_0x55fae1(_0x226979)){const {c1Prime:_0x11d245,m2Prime:_0x344c3a}=_0x226979;this[_0x20607d(0x286)](_0x11d245);const _0x140365=this['_injector']['createInstance'](ae,this[_0x20607d(0x324)],this['type'],_0x344c3a,this[_0x20607d(0x33d)]);this['_clearScheduledTask']();const _0x1d5a99=new Date()[_0x20607d(0x22e)](),_0x1fdf49=this[_0x20607d(0x1a4)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x1d5a99,0x0):this[_0x20607d(0x144)]();return _0x140365[_0x20607d(0x10a)](_0x1fdf49),_0x140365;}throw _0x226979['error'];}catch(_0x4ad0a7){return this['_logService'][_0x20607d(0x28e)](_0x4ad0a7),this[_0x20607d(0x154)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x45e643(0x342)](){var _0x2ec85f=_0x45e643;throw new Error(_0x2ec85f(0x27e));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x255db3=_0x45e643;return this[_0x255db3(0x36b)](),this[_0x255db3(0x29c)][_0x255db3(0x149)](de,this['unitID'],this[_0x255db3(0x2a3)],null,this['_pendingMutations'],this[_0x255db3(0x33d)]);}[_0x45e643(0x191)](){return this;}[_0x45e643(0x10a)](_0x40ec98){var _0x2da5f9=_0x45e643;const _0x26fd03=_0x40ec98!=null?_0x40ec98:this[_0x2da5f9(0x144)]();this[_0x2da5f9(0x1a4)]=new Date()['getTime']()+_0x26fd03,this['_sendingTimer']=setTimeout(()=>{var _0x52f9f6=_0x2da5f9;this[_0x52f9f6(0x36b)]();let _0x157a19=null;switch(this[_0x52f9f6(0x2a3)]){case Q[_0x52f9f6(0x240)]:{_0x157a19=Gt(this[_0x52f9f6(0x148)],this[_0x52f9f6(0x324)],this['_univerInstanceService'],this['_revisionService'],this[_0x52f9f6(0x184)]);break;}case Q[_0x52f9f6(0x3a2)]:{this[_0x52f9f6(0x148)][_0x52f9f6(0x306)](_0x38bd9f=>_0x38bd9f['id']===_0x47e490['id'])?_0x157a19=ks(this[_0x52f9f6(0x148)],this[_0x52f9f6(0x324)],this[_0x52f9f6(0x33b)],this[_0x52f9f6(0x170)],this[_0x52f9f6(0x184)]):_0x157a19=Gt(this[_0x52f9f6(0x148)],this[_0x52f9f6(0x324)],this[_0x52f9f6(0x33b)],this[_0x52f9f6(0x170)],this[_0x52f9f6(0x184)]);break;}default:throw new Error(_0x52f9f6(0x23a)+this[_0x52f9f6(0x2a3)]+'\x20in\x20_schedule.');}const {changeset:_0x2e2aa7,pendingMutations:_0x2e82ea}=_0x157a19;this[_0x52f9f6(0x33d)][_0x52f9f6(0x15e)](_0x2e2aa7);const _0x3a8f99=_0x2e82ea['length']?this['_injector'][_0x52f9f6(0x149)](oe,this[_0x52f9f6(0x324)],this['type'],_0x2e2aa7,_0x2e82ea,this[_0x52f9f6(0x33d)],void 0x0):this[_0x52f9f6(0x29c)][_0x52f9f6(0x149)](le,this[_0x52f9f6(0x324)],this[_0x52f9f6(0x2a3)],_0x2e2aa7,this[_0x52f9f6(0x33d)]);_0x3a8f99[_0x52f9f6(0x219)](),this[_0x52f9f6(0x33d)][_0x52f9f6(0x1f5)](this,_0x3a8f99);},_0x26fd03);}[_0x45e643(0x144)](){var _0x250517=_0x45e643,_0x4f83e5;const _0x48ecef=this[_0x250517(0x261)][_0x250517(0x3be)](K);return(_0x4f83e5=_0x48ecef==null?void 0x0:_0x48ecef[_0x250517(0xd7)])!=null?_0x4f83e5:ps;}[_0x45e643(0x2b2)](){var _0x46f34a=_0x45e643;throw new Error(_0x46f34a(0x167));}[_0x45e643(0x36b)](){var _0x8a5df3=_0x45e643;this['_sendingTimer']!=null&&(clearTimeout(this[_0x8a5df3(0x177)]),this[_0x8a5df3(0x177)]=null);}['_onConflict'](_0x244bf6){var _0x48e0d4=_0x45e643;return this[_0x48e0d4(0x36b)](),this['_injector'][_0x48e0d4(0x149)](ue,this[_0x48e0d4(0x324)],this[_0x48e0d4(0x2a3)],null,this[_0x48e0d4(0x148)],this[_0x48e0d4(0x33d)],_0x244bf6);}};ae=Se([w(0x4,_0x1de629(_0x45738c)),w(0x5,_0x1de629(_0x22b84a)),w(0x6,_0x1de629(Pe)),w(0x7,_0x5b6bbd),w(0x8,_0x4dc804),w(0x9,_0xbfff8e),w(0xa,_0x95d3ab),w(0xb,_0x1ae1de),w(0xc,_0x50fa79),w(0xd,_0x217f28(J))],ae);let le=class extends ge{constructor(_0xcce8a,_0x30d3e0,_0x361250,_0x2c6a35,_0x56bb18,_0x197759,_0x59f1a1,_0x207be6,_0x50b567,_0x11e1e4,_0xae9c49){var _0x268e2f=_0x45e643;super(_0xcce8a,_0x30d3e0,_0x361250,[],_0x2c6a35,_0x59f1a1,_0x11e1e4,_0x197759,_0xae9c49),D(this,_0x268e2f(0x291),_0x268e2f(0x3bd)),D(this,'_resendTimeout',0x0),D(this,_0x268e2f(0x397)),D(this,_0x268e2f(0x270)),(this['_injector']=_0x56bb18,this[_0x268e2f(0x1d4)]=_0x207be6,this[_0x268e2f(0x1e6)]=_0x50b567);}[_0x45e643(0x2fe)](_0x463a65){var _0x5086c2=_0x45e643;this[_0x5086c2(0x36b)]();const _0x1a00d3=this[_0x5086c2(0x29c)][_0x5086c2(0x149)](oe,this['unitID'],this[_0x5086c2(0x2a3)],this[_0x5086c2(0x2a4)],[_0x463a65],this[_0x5086c2(0x33d)],this[_0x5086c2(0x397)]);return _0x1a00d3[_0x5086c2(0x219)](),_0x1a00d3;}[_0x45e643(0x31c)](_0x3f36d3){var _0x1fd0a0=_0x45e643;if(this[_0x1fd0a0(0x1b3)](_0x3f36d3))return this[_0x1fd0a0(0x36b)](),this[_0x1fd0a0(0x29c)][_0x1fd0a0(0x149)](ee,this[_0x1fd0a0(0x324)],this['type'],this[_0x1fd0a0(0x2a4)],[],null,[_0x3f36d3],this[_0x1fd0a0(0x33d)]);try{const _0x501d5c=this[_0x1fd0a0(0x1e6)]['transformChangesets']([_0x3f36d3],[this[_0x1fd0a0(0x2a4)]],!0x1);if(_0x21e53d(_0x501d5c)){const {c1Prime:_0x4946e1,c2Prime:_0x542131}=_0x501d5c;this[_0x1fd0a0(0x286)](_0x4946e1[0x0]),_0x542131[0x0][_0x1fd0a0(0x183)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x2e0570=this[_0x1fd0a0(0x29c)][_0x1fd0a0(0x149)](le,this[_0x1fd0a0(0x324)],this[_0x1fd0a0(0x2a3)],_0x542131[0x0],this[_0x1fd0a0(0x33d)]);return _0x2e0570[_0x1fd0a0(0x219)](),_0x2e0570;}return this[_0x1fd0a0(0x154)](!0x1);}catch(_0x55fabc){return this['_logService'][_0x1fd0a0(0x28e)](_0x55fabc),this[_0x1fd0a0(0x154)](!0x1);}}[_0x45e643(0xe6)](_0x3ab383){var _0x5ada48=_0x45e643;this[_0x5ada48(0x36b)]();const _0x3b6881=this[_0x5ada48(0x170)][_0x5ada48(0x30c)](this['unitID']);if(_0x3ab383['revision']<_0x3b6881-0x1)return this;if(this['_checkMissing'](_0x3ab383))return this[_0x5ada48(0x29c)]['createInstance'](ee,this[_0x5ada48(0x324)],this[_0x5ada48(0x2a3)],null,[],this[_0x5ada48(0x2a4)],[],this[_0x5ada48(0x33d)]);this[_0x5ada48(0x275)]();const _0x11d40a=this[_0x5ada48(0x29c)][_0x5ada48(0x149)](be,this[_0x5ada48(0x324)],this[_0x5ada48(0x2a3)],this['_handler']);return _0x11d40a[_0x5ada48(0x219)](),_0x11d40a;}[_0x45e643(0x342)](_0x3b22f3){var _0x2a1efd=_0x45e643;return this[_0x2a1efd(0x154)](!!(_0x3b22f3!=null&&_0x3b22f3[_0x2a1efd(0x371)]));}['onRemoteRetry'](_0x451726){var _0x5ca34c=_0x45e643;return this[_0x5ca34c(0x383)]>gi?this[_0x5ca34c(0x39d)]():(this['_resendTimer']=Ii(this[_0x5ca34c(0x383)],{'timeout':this[_0x5ca34c(0x383)],'reqId':_0x451726[_0x5ca34c(0x389)]}),this[_0x5ca34c(0x270)]=this[_0x5ca34c(0x397)][_0x5ca34c(0x13d)](({reqId:_0xa19965,timeout:_0xab1536})=>{var _0x301937=_0x5ca34c;this[_0x301937(0x274)](_0xa19965,_0xab1536);}),this);}['toggleOffline'](){var _0x110669=_0x45e643;return this[_0x110669(0x36b)](),this[_0x110669(0x29c)]['createInstance'](de,this[_0x110669(0x324)],this[_0x110669(0x2a3)],this[_0x110669(0x2a4)],[],this[_0x110669(0x33d)]);}['toggleOnline'](){return this;}[_0x45e643(0x2b2)](){var _0x273c60=_0x45e643;this[_0x273c60(0x33d)][_0x273c60(0x15e)](this[_0x273c60(0x2a4)]);}[_0x45e643(0x154)](_0x3fc2db){var _0x106795=_0x45e643;return this[_0x106795(0x36b)](),this['_injector'][_0x106795(0x149)](ue,this[_0x106795(0x324)],this[_0x106795(0x2a3)],this[_0x106795(0x2a4)],[],this[_0x106795(0x33d)],_0x3fc2db);}['_resendWithTimeout'](_0xfc4a3c,_0x397af7){var _0x448516=_0x45e643,_0xc7cc2b;_0xfc4a3c===((_0xc7cc2b=this['_awaitingChangeset'])==null?void 0x0:_0xc7cc2b[_0x448516(0x389)])&&(this['resend'](),this[_0x448516(0x383)]=_0x397af7===0x0?0x3e8:_0x397af7*0x2);}[_0x45e643(0x36b)](){var _0x544be6=_0x45e643,_0x12fa78;(_0x12fa78=this[_0x544be6(0x270)])==null||_0x12fa78['unsubscribe'](),this[_0x544be6(0x383)]=0x0;}};le=Se([w(0x4,_0x1de629(_0x45738c)),w(0x5,_0x1de629(_0x22b84a)),w(0x6,_0x4dc804),w(0x7,_0x5b6bbd),w(0x8,_0x95d3ab),w(0x9,_0x50fa79),w(0xa,_0x217f28(J))],le);let oe=class extends ge{constructor(_0x414e55,_0x3dbb2a,_0x1c9ed5,_0x4a706c,_0x539593,_0x2c4b24,_0x57a14a,_0x3e45a0,_0x2225b1,_0x3e5ad1,_0x2a69d3,_0x3e2dd6,_0x580d14){var _0x26bf24=_0x45e643;super(_0x414e55,_0x3dbb2a,_0x1c9ed5,_0x4a706c,_0x539593,_0x2225b1,_0x3e2dd6,_0x3e45a0,_0x580d14),D(this,_0x26bf24(0x291),_0x26bf24(0x362)),D(this,_0x26bf24(0x383),0x0),D(this,_0x26bf24(0x397)),D(this,_0x26bf24(0x270)),(this[_0x26bf24(0x29c)]=_0x57a14a,this[_0x26bf24(0x1d4)]=_0x3e5ad1,this[_0x26bf24(0x1e6)]=_0x2a69d3,this['localCacheService']=_0x580d14,_0x2c4b24&&(this[_0x26bf24(0x397)]=_0x2c4b24,this[_0x26bf24(0x270)]=this[_0x26bf24(0x397)][_0x26bf24(0x13d)](({reqId:_0x178e8a,timeout:_0x488b00})=>{var _0x337e1e=_0x26bf24;this[_0x337e1e(0x274)](_0x178e8a,_0x488b00);})));}['appendMutation'](_0x2ef208){var _0x2ddb41=_0x45e643;return this['_pendingMutations'][_0x2ddb41(0xf9)](_0x2ef208),this;}[_0x45e643(0x31c)](_0x4a32d5){var _0x1c97c9=_0x45e643;if(this['_checkMissing'](_0x4a32d5))return this['_clearScheduledTask'](),this[_0x1c97c9(0x29c)]['createInstance'](ee,this[_0x1c97c9(0x324)],this['type'],this[_0x1c97c9(0x2a4)],this['_pendingMutations'],null,[_0x4a32d5],this[_0x1c97c9(0x33d)]);try{const _0x55c708=this[_0x1c97c9(0x1e6)][_0x1c97c9(0x1f0)]([_0x4a32d5],[this[_0x1c97c9(0x2a4)]],!0x1);if(_0x21e53d(_0x55c708)){const {c1Prime:_0x1319b6,c2Prime:_0x215ee1}=_0x55c708,_0x1ff5da=this['_transformService']['transformMutationsWithChangeset'](_0x1319b6[0x0],this['_pendingMutations']);if(_0x55fae1(_0x1ff5da)){const {c1Prime:_0x4bea99,m2Prime:_0x3a212b}=_0x1ff5da;return this[_0x1c97c9(0x286)](_0x4bea99),_0x215ee1[0x0][_0x1c97c9(0x183)]=this['_getCurrentRevision'](),this[_0x1c97c9(0x36b)](),this[_0x1c97c9(0x29c)]['createInstance'](oe,this[_0x1c97c9(0x324)],this[_0x1c97c9(0x2a3)],_0x215ee1[0x0],_0x3a212b,this['_handler'],void 0x0);}throw _0x1ff5da[_0x1c97c9(0x28e)];}throw _0x55c708[_0x1c97c9(0x28e)];}catch(_0x273ab8){return this['_logService'][_0x1c97c9(0x28e)](_0x273ab8),this['_onConflict'](!0x1);}}['onRemoteAck'](_0xdfd23e){var _0x53b294=_0x45e643;if(this[_0x53b294(0x36b)](),this[_0x53b294(0x1b3)](_0xdfd23e))return this[_0x53b294(0x29c)][_0x53b294(0x149)](ee,this[_0x53b294(0x324)],this['type'],null,this[_0x53b294(0x148)],this[_0x53b294(0x2a4)],[],this[_0x53b294(0x33d)]);this[_0x53b294(0x275)]();const _0x14bf53=this['_injector']['createInstance'](ae,this[_0x53b294(0x324)],this[_0x53b294(0x2a3)],this['_pendingMutations'],this['_handler']);return _0x14bf53[_0x53b294(0x10a)](),_0x14bf53['_updateLocalCache'](),_0x14bf53;}['onRemoteRej'](_0x4b4430){var _0x4b7d4b=_0x45e643;return this['_onConflict'](!!(_0x4b4430!=null&&_0x4b4430[_0x4b7d4b(0x371)]));}[_0x45e643(0x20a)](_0x427760){var _0x418ec3=_0x45e643;return this[_0x418ec3(0x383)]>gi?this[_0x418ec3(0x39d)]():(this[_0x418ec3(0x397)]=Ii(this[_0x418ec3(0x383)],{'timeout':this[_0x418ec3(0x383)],'reqId':_0x427760['reqId']}),this[_0x418ec3(0x270)]=this[_0x418ec3(0x397)][_0x418ec3(0x13d)](({reqId:_0x503963,timeout:_0x5a706a})=>{var _0x24d343=_0x418ec3;this[_0x24d343(0x274)](_0x503963,_0x5a706a);}),this);}[_0x45e643(0x39d)](){var _0x8c8586=_0x45e643;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x8c8586(0x324)],this['type'],this[_0x8c8586(0x2a4)],this[_0x8c8586(0x148)],this[_0x8c8586(0x33d)]);}['toggleOnline'](){return this;}['resend'](){var _0x23bca0=_0x45e643;this['_handler'][_0x23bca0(0x15e)](this[_0x23bca0(0x2a4)]);}[_0x45e643(0x154)](_0x54a861){var _0x32e86b=_0x45e643;return this[_0x32e86b(0x36b)](),this[_0x32e86b(0x29c)][_0x32e86b(0x149)](ue,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x32e86b(0x33d)],_0x54a861);}[_0x45e643(0x274)](_0x29558c,_0x5ea953){var _0x45e65c=_0x45e643,_0x237b06;_0x29558c===((_0x237b06=this[_0x45e65c(0x2a4)])==null?void 0x0:_0x237b06[_0x45e65c(0x389)])&&(this[_0x45e65c(0x2b2)](),this['_resendTimeout']=_0x5ea953===0x0?0x3e8:_0x5ea953*0x2);}[_0x45e643(0x36b)](){var _0x5d437d=_0x45e643,_0x9d9f80;(_0x9d9f80=this[_0x5d437d(0x270)])==null||_0x9d9f80[_0x5d437d(0x3bb)](),this[_0x5d437d(0x383)]=0x0;}};oe=Se([w(0x6,_0x1de629(_0x45738c)),w(0x7,_0x1de629(_0x22b84a)),w(0x8,_0x4dc804),w(0x9,_0x5b6bbd),w(0xa,_0x95d3ab),w(0xb,_0x50fa79),w(0xc,_0x217f28(J))],oe);let ue=class extends ge{constructor(_0x175f92,_0x4cc28c,_0x40cde8,_0x2edbcc,_0x3f7225,_0xab3281=!0x1,_0x470db4,_0x5a5c8a,_0x868be7,_0x1446e7,_0x178b52,_0xed6a6b,_0xfe715d){var _0x5b71e3=_0x45e643;super(_0x175f92,_0x4cc28c,_0x40cde8,_0x2edbcc,_0x3f7225,_0x5a5c8a,_0x868be7,_0x1446e7,_0xfe715d),D(this,_0x5b71e3(0x291),_0x5b71e3(0x151)),(this[_0x5b71e3(0x100)]=_0xab3281,this[_0x5b71e3(0xc3)]=_0x470db4,this[_0x5b71e3(0x117)]=_0x178b52,this['_collaborationUIEventService']=_0xed6a6b,this['localCacheService']=_0xfe715d,this[_0x5b71e3(0x1d7)](),this[_0x5b71e3(0x390)](),this[_0x5b71e3(0x1e1)]());}[_0x45e643(0x2fe)](){return this;}[_0x45e643(0x31c)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x45e643(0x39d)](){return this;}['toggleOnline'](){return this;}[_0x45e643(0x2b2)](){var _0x13c6be=_0x45e643;throw new Error(_0x13c6be(0x2f1));}[_0x45e643(0x390)](){var _0x588776=_0x45e643,_0x9f4e70;(_0x9f4e70=this[_0x588776(0x359)])==null||_0x9f4e70[_0x588776(0x396)](this['unitID'],this[_0x588776(0x2a3)],null,[]);}[_0x45e643(0x1d7)](){var _0x151b49=_0x45e643;this[_0x151b49(0x100)]?this[_0x151b49(0x334)]['emitEvent']({'id':re[_0x151b49(0x257)]}):this[_0x151b49(0x334)][_0x151b49(0x2b1)]({'id':re[_0x151b49(0x1c8)]});}['_disableEditing'](){var _0x3f76b2=_0x45e643;this[_0x3f76b2(0xc3)][_0x3f76b2(0x228)](new _0x396f7e(this[_0x3f76b2(0x324)])['id'],!0x1);}};ue=Se([w(0x6,_0x1de629(_0x4f5acc)),w(0x7,_0x4dc804),w(0x8,_0x50fa79),w(0x9,_0x1de629(_0x22b84a)),w(0xa,_0x1de629(_0x49066e)),w(0xb,_0x1de629(ve)),w(0xc,_0x217f28(J))],ue);let de=class extends ge{constructor(_0x3c0087,_0x2207dc,_0x45394b,_0x266861,_0x4bf472,_0x54f350,_0x1dd1de,_0x51b6aa,_0x5920fd,_0x51d4c1){var _0x5eaac0=_0x45e643;super(_0x3c0087,_0x2207dc,_0x45394b,_0x266861,_0x4bf472,_0x51b6aa,_0x5920fd,_0x1dd1de,_0x51d4c1),D(this,_0x5eaac0(0x291),_0x5eaac0(0x398)),this['_injector']=_0x54f350;}[_0x45e643(0x2fe)](_0x33dd48){var _0x59b8ab=_0x45e643;return this['_pendingMutations'][_0x59b8ab(0xf9)](_0x33dd48),this[_0x59b8ab(0x219)](),this;}['onRemoteChangeset'](_0x2e023f){var _0xf7e73c=_0x45e643;throw new Error(_0xf7e73c(0x262));}[_0x45e643(0xe6)](){var _0x2a20ac=_0x45e643;throw new Error(_0x2a20ac(0x283));}[_0x45e643(0x342)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x45e643(0x20a)](){return this;}[_0x45e643(0x39d)](){return this;}[_0x45e643(0x191)](){var _0x13b950=_0x45e643;const {_injector:_0x386355,_pendingMutations:_0x148624,_awaitingChangeset:_0x296be6,unitID:_0x549b8f,_handler:_0x451a2c,type:_0x1e2754}=this,_0x47bc3c=Ti(_0x386355,_0x549b8f,_0x1e2754,_0x296be6,_0x148624,_0x451a2c);return _0x47bc3c instanceof ae?_0x47bc3c[_0x13b950(0x10a)]():(_0x47bc3c instanceof oe||_0x47bc3c instanceof le)&&_0x47bc3c[_0x13b950(0x2b2)](),_0x47bc3c;}['resend'](){var _0x34a499=_0x45e643;throw new Error(_0x34a499(0x307));}};de=Se([w(0x5,_0x1de629(_0x45738c)),w(0x6,_0x1de629(_0x22b84a)),w(0x7,_0x4dc804),w(0x8,_0x50fa79),w(0x9,_0x217f28(J))],de);let ee=class extends ge{constructor(_0x2f0845,_0x5e7d97,_0x4a4ea0,_0x1b6897,_0x3630c3,_0x3a722c,_0x4aef8f,_0x352f67,_0x7d3a82,_0x1d18e2,_0x30ad1c,_0x1dea0a,_0x4aa5d7,_0xfdb420){var _0x12020d=_0x45e643;super(_0x2f0845,_0x5e7d97,_0x4a4ea0,_0x1b6897,_0x4aef8f,_0x30ad1c,_0x1dea0a,_0x7d3a82,_0xfdb420),D(this,_0x12020d(0x291),_0x12020d(0x254)),(this['_acknowledgedAwaitingChangeset']=_0x3630c3,this[_0x12020d(0x3b6)]=_0x3a722c,this[_0x12020d(0x29c)]=_0x352f67,this['_logService']=_0x1d18e2,this['_transformService']=_0x4aa5d7,this[_0x12020d(0x259)]=_0xfdb420);}[_0x45e643(0x2b9)](_0x6c8742){var _0x1db053=_0x45e643;try{const _0x3e3166=[..._0x6c8742,...this[_0x1db053(0x3b6)]],_0x2b8a05=[this[_0x1db053(0x2a4)]||this[_0x1db053(0x22d)]][_0x1db053(0x232)](_0x474c5b=>!!_0x474c5b);let _0x217e91,_0x511424;if(_0x2b8a05[_0x1db053(0x122)]){const _0x13ed39=this[_0x1db053(0x1e6)][_0x1db053(0x1f0)](_0x3e3166,_0x2b8a05,!0x1);if(!_0x21e53d(_0x13ed39))throw _0x13ed39[_0x1db053(0x28e)];_0x217e91=_0x13ed39[_0x1db053(0x2a1)],_0x511424=_0x13ed39[_0x1db053(0x22a)];}else _0x217e91=_0x3e3166,_0x511424=[];let _0x3ccf36=this[_0x1db053(0x148)];_0x217e91[_0x1db053(0xcb)](_0x248376=>{var _0x125a37=_0x1db053;let _0x3af4da;if(_0x3ccf36[_0x125a37(0x122)]){const _0x42ee04=this['_transformService'][_0x125a37(0x171)](_0x248376,_0x3ccf36);if(!_0x55fae1(_0x42ee04))throw _0x42ee04['error'];_0x3af4da=_0x42ee04[_0x125a37(0x2a1)],_0x3ccf36=_0x42ee04['m2Prime'];}else _0x3af4da=_0x248376;this['_executeRemoteChangeset'](_0x3af4da);}),this[_0x1db053(0x22d)]&&this[_0x1db053(0x275)](),this[_0x1db053(0x2a4)]&&_0x511424[_0x1db053(0x122)]&&(_0x511424[0x0][_0x1db053(0x183)]=this['_getCurrentRevision']());let _0x2340ef;if(this[_0x1db053(0x2a4)]&&_0x3ccf36[_0x1db053(0x122)]!==0x0)_0x2340ef=this[_0x1db053(0x29c)][_0x1db053(0x149)](oe,this[_0x1db053(0x324)],this[_0x1db053(0x2a3)],_0x511424[0x0],_0x3ccf36,this[_0x1db053(0x33d)],void 0x0);else{if(this[_0x1db053(0x2a4)]&&_0x3ccf36[_0x1db053(0x122)]===0x0)_0x511424[0x0]['baseRev']=this[_0x1db053(0x314)](),_0x2340ef=this['_injector']['createInstance'](le,this[_0x1db053(0x324)],this[_0x1db053(0x2a3)],_0x511424[0x0],this[_0x1db053(0x33d)]);else{if(_0x3ccf36[_0x1db053(0x122)]!==0x0){const _0x49cec5=this['_injector'][_0x1db053(0x149)](ae,this[_0x1db053(0x324)],this[_0x1db053(0x2a3)],_0x3ccf36,this[_0x1db053(0x33d)]);_0x49cec5['_schedule'](),_0x2340ef=_0x49cec5;}else _0x2340ef=this['_injector']['createInstance'](be,this[_0x1db053(0x324)],this[_0x1db053(0x2a3)],this[_0x1db053(0x33d)]);}}return _0x2340ef['_updateLocalCache'](),_0x2340ef;}catch(_0x34ecf1){return this[_0x1db053(0x1d4)][_0x1db053(0x28e)]('[FetchMissState]',_0x1db053(0x34f),_0x34ecf1),this[_0x1db053(0x29c)]['createInstance'](ue,this['unitID'],this['type'],this[_0x1db053(0x2a4)],this[_0x1db053(0x148)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x45e643(0x2fe)](_0x4d57d6){var _0x1b8cf2=_0x45e643;return this[_0x1b8cf2(0x148)][_0x1b8cf2(0xf9)](_0x4d57d6),this;}[_0x45e643(0x31c)](_0x28ccfa){var _0x4d54fb=_0x45e643;return this[_0x4d54fb(0x3b6)][_0x4d54fb(0xf9)](_0x28ccfa),this;}[_0x45e643(0xe6)](_0x4d98aa){var _0x43f1ff=_0x45e643;if(this['_awaitingChangeset'])return this[_0x43f1ff(0x22d)]=this[_0x43f1ff(0x2a4)],this[_0x43f1ff(0x2a4)]=null,this;throw new Error(_0x43f1ff(0x204));}[_0x45e643(0x342)](_0x5c623c){var _0x4a3868=_0x45e643;return this[_0x4a3868(0x154)](!!(_0x5c623c!=null&&_0x5c623c[_0x4a3868(0x371)]));}[_0x45e643(0x20a)](){return this;}[_0x45e643(0x39d)](){var _0x485ec8=_0x45e643;return this[_0x485ec8(0x29c)][_0x485ec8(0x149)](de,this[_0x485ec8(0x324)],this[_0x485ec8(0x2a3)],this[_0x485ec8(0x2a4)],this[_0x485ec8(0x148)],this['_handler']);}[_0x45e643(0x191)](){return this;}[_0x45e643(0x154)](_0x42895d){var _0x1392af=_0x45e643;return this['_injector']['createInstance'](ue,this[_0x1392af(0x324)],this['type'],this[_0x1392af(0x2a4)],this['_pendingMutations'],this[_0x1392af(0x33d)],_0x42895d);}};ee=Se([w(0x7,_0x1de629(_0x45738c)),w(0x8,_0x1de629(_0x22b84a)),w(0x9,_0x5b6bbd),w(0xa,_0x4dc804),w(0xb,_0x50fa79),w(0xc,_0x95d3ab),w(0xd,_0x217f28(J))],ee);function Ti(_0x5f162d,_0x254bf3,_0x1f2050,_0x3a6d36,_0x12cc83,_0x5eefbf){var _0x5e6695=_0x45e643;return _0x3a6d36&&_0x12cc83[_0x5e6695(0x122)]?_0x5f162d[_0x5e6695(0x149)](oe,_0x254bf3,_0x1f2050,_0x3a6d36,_0x12cc83,_0x5eefbf,void 0x0):_0x3a6d36?_0x5f162d[_0x5e6695(0x149)](le,_0x254bf3,_0x1f2050,_0x3a6d36,_0x5eefbf):_0x12cc83['length']?_0x5f162d[_0x5e6695(0x149)](ae,_0x254bf3,_0x1f2050,_0x12cc83,_0x5eefbf):_0x5f162d['createInstance'](be,_0x254bf3,_0x1f2050,_0x5eefbf);}var Bs=Object[_0x45e643(0x368)],Pt=(_0x54c9e6,_0x544629,_0x447f38,_0xe5d07c)=>{var _0x41cfed=_0x45e643;for(var _0x28b5b1=_0xe5d07c>0x1?void 0x0:_0xe5d07c?Bs(_0x544629,_0x447f38):_0x544629,_0x1e82ed=_0x54c9e6[_0x41cfed(0x122)]-0x1,_0x30c761;_0x1e82ed>=0x0;_0x1e82ed--)(_0x30c761=_0x54c9e6[_0x1e82ed])&&(_0x28b5b1=_0x30c761(_0x28b5b1)||_0x28b5b1);return _0x28b5b1;},$=(_0x4e1b22,_0x72e53e)=>(_0x56e60f,_0x28ffa1)=>_0x72e53e(_0x56e60f,_0x28ffa1,_0x4e1b22);let st=class extends _0x403ba5{constructor(_0x4ebdf5,_0x184fdf,_0x5b7ed2,_0x32bffe,_0x277a1f,_0x2b9949,_0x51df93,_0x3af66f,_0x327508,_0x7aef83,_0x379ca8,_0xc2168d,_0x45782f,_0x212f8d){var _0x634177=_0x45e643;super(),D(this,_0x634177(0x31f),new _0x27518c(null)),D(this,_0x634177(0x366),this[_0x634177(0x31f)][_0x634177(0x2f8)]()),D(this,'_state'),D(this,_0x634177(0x1ee),!0x1),D(this,_0x634177(0x21f),''),D(this,_0x634177(0x2bd),0x0),D(this,'status$',this['state$'][_0x634177(0x2f0)](_0x5286c2(_0x5ced23=>_0x5ced23?_0x5ced23[_0x634177(0x291)]:Si['OFFLINE']),_0xa0104e(0x1))),D(this,_0x634177(0x3a7),!0x1),D(this,_0x634177(0xc6),[]),(this[_0x634177(0x324)]=_0x4ebdf5,this[_0x634177(0x293)]=_0x184fdf,this['_type']=_0x5b7ed2,this[_0x634177(0x29c)]=_0x32bffe,this['_compressMutationService']=_0x277a1f,this[_0x634177(0x117)]=_0x2b9949,this[_0x634177(0x170)]=_0x51df93,this[_0x634177(0x338)]=_0x3af66f,this[_0x634177(0x33b)]=_0x327508,this[_0x634177(0x1d4)]=_0x7aef83,this['_commandService']=_0x379ca8,this['_permissionService']=_0xc2168d,this['_singleActiveUnitService']=_0x45782f,this[_0x634177(0x359)]=_0x212f8d);}get[_0x45e643(0x20b)](){var _0x3b0f9c=_0x45e643;return this[_0x3b0f9c(0x36d)];}async['init'](){var _0x5a5b14=_0x45e643;if(this[_0x5a5b14(0x20b)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5a5b14(0x1d1)]();}[_0x45e643(0x223)](){var _0x20c247=_0x45e643;return this[_0x20c247(0x1ee)]=!0x0,_0x568c38(()=>{var _0x476f74=_0x20c247;this['_collaborationPaused']=!0x1,this[_0x476f74(0x2be)]();});}[_0x45e643(0x25b)](_0x5f5721){this['_onLocalMutation'](_0x5f5721);}[_0x45e643(0x268)](_0x1722bc){var _0x2293e3=_0x45e643;this[_0x2293e3(0x36d)]=_0x1722bc,this[_0x2293e3(0x31f)][_0x2293e3(0x14e)](_0x1722bc);}async[_0x45e643(0x1d1)](){var _0x39f3ca=_0x45e643,_0x5c4fef;this[_0x39f3ca(0x268)](await this[_0x39f3ca(0x266)]()),this[_0x39f3ca(0x2b6)]&&((_0x5c4fef=this[_0x39f3ca(0x2b6)])==null||_0x5c4fef[_0x39f3ca(0x1bf)](this['unitID']),this[_0x39f3ca(0xf3)](this[_0x39f3ca(0x2b6)][_0x39f3ca(0x1e5)](this['unitID'])[_0x39f3ca(0x13d)](_0x167f95=>{var _0x52f882=_0x39f3ca;this[_0x52f882(0x1d4)][_0x52f882(0x287)](_0x52f882(0x289),_0x52f882(0x3af),_0x167f95),_0x167f95===mi[_0x52f882(0x3c1)]?(this[_0x52f882(0x338)]['emitEvent']({'id':re[_0x52f882(0x121)]}),this['_permissionService'][_0x52f882(0x228)](new _0x396f7e(this['unitID'])['id'],!0x1),this[_0x52f882(0xc3)][_0x52f882(0x373)](!0x1)):(this[_0x52f882(0xc3)][_0x52f882(0x228)](new _0x396f7e(this['unitID'])['id'],!0x0),this[_0x52f882(0xc3)][_0x52f882(0x373)](!0x0));})));let _0x922962=!0x1;return this[_0x39f3ca(0xf3)](this[_0x39f3ca(0x293)][_0x39f3ca(0xec)][_0x39f3ca(0x13d)](_0x325e42=>{var _0xae7393=_0x39f3ca;_0x325e42===me['ONLINE']?this[_0xae7393(0x2dc)](_0x922962):_0x325e42===me[_0xae7393(0x255)]&&(_0x922962=!0x0,this[_0xae7393(0x224)]());})),this['disposeWithMe'](this[_0x39f3ca(0x293)]['event$'][_0x39f3ca(0x13d)](_0x40045f=>{var _0x4f2f07=_0x39f3ca;try{switch(_0x40045f[_0x4f2f07(0x107)]){case _0x2f9ecd['NEW_CHANGESETS']:{this[_0x4f2f07(0x21b)](_0x36611c(_0x40045f[_0x4f2f07(0x2eb)]));break;}case _0x2f9ecd[_0x4f2f07(0x190)]:{this['_onRemoteACK'](_0x40045f[_0x4f2f07(0x2eb)]);break;}case _0x2f9ecd['CHANGESET_REJ']:{this[_0x4f2f07(0x26a)]();break;}case _0x2f9ecd[_0x4f2f07(0x145)]:{this['_onRemoteRetry'](_0x40045f['data']);break;}case _0x2f9ecd[_0x4f2f07(0x3c3)]:{this[_0x4f2f07(0x36e)](_0x40045f[_0x4f2f07(0x2eb)][_0x4f2f07(0x11b)][_0x4f2f07(0x25a)](_0x5576a0=>_0x36611c(_0x5576a0)));break;}case _0x2f9ecd[_0x4f2f07(0x102)]:{this[_0x4f2f07(0x26a)]({'isPermissionRej':!0x0});break;}case _0x2f9ecd[_0x4f2f07(0x1be)]:break;}}catch(_0x53f4c5){throw console[_0x4f2f07(0x28e)](_0x4f2f07(0x214),_0x53f4c5),_0x53f4c5;}})),this[_0x39f3ca(0x36d)];}['_unlockTransition'](){var _0x2faf3c=_0x45e643;this[_0x2faf3c(0x3a7)]=!0x1;}[_0x45e643(0x360)](){var _0x3d690e=_0x45e643;if(this['_transitionLocked'])throw new Error(_0x3d690e(0x329));this[_0x3d690e(0x3a7)]=!0x0;}[_0x45e643(0x2cb)](_0x5cfaaa){var _0x3b2b01=_0x45e643;this['_lockTransition'](),this[_0x3b2b01(0x268)](this[_0x3b2b01(0x36d)][_0x3b2b01(0x2fe)](_0x5cfaaa)),this['_unlockTransition']();}[_0x45e643(0x21b)](_0x4762dd){var _0x3ad94b=_0x45e643;if(!(_0x4762dd[_0x3ad94b(0x18f)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3ad94b(0x324)]))){if(this[_0x3ad94b(0x1ee)]){this[_0x3ad94b(0xc6)][_0x3ad94b(0xf9)](_0x4762dd);return;}this[_0x3ad94b(0x2c8)](_0x4762dd);}}['_exhaustRemoteChangesetQueue'](){var _0x5bd187=_0x45e643;this[_0x5bd187(0xc6)]['forEach'](_0x1d8172=>this[_0x5bd187(0x2c8)](_0x1d8172)),this['_remoteChangesetQueue']=[];}[_0x45e643(0x2c8)](_0x2ce7c5){var _0x593d34=_0x45e643;const _0x3a6cf5=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x593d34(0x3a5)][_0x593d34(0xe2)][_0x593d34(0x172)]()[_0x593d34(0x231)])(_0x2ce7c5[_0x593d34(0x12f)],null)||_0x2ce7c5['mutations'],_0x506c39={..._0x2ce7c5,'mutations':_0x3a6cf5};this[_0x593d34(0x360)](),this['_updateState'](this[_0x593d34(0x36d)][_0x593d34(0x31c)](_0x506c39)),this[_0x593d34(0x244)]();}[_0x45e643(0x2e4)](_0x3898b3){var _0x5baaaa=_0x45e643;this[_0x5baaaa(0x360)](),this['_updateState'](this[_0x5baaaa(0x36d)][_0x5baaaa(0xe6)](_0x3898b3)),this[_0x5baaaa(0x244)]();}['_onRemoteRejected'](_0x29f6b2){var _0x53db70=_0x45e643;this[_0x53db70(0x360)](),this['_updateState'](this[_0x53db70(0x36d)][_0x53db70(0x342)](_0x29f6b2)),this[_0x53db70(0x244)]();}['_onRemoteRetry'](_0x116317){var _0x54e422=_0x45e643;this[_0x54e422(0x360)](),this[_0x54e422(0x268)](this['_state']['onRemoteRetry'](_0x116317)),this['_unlockTransition']();}[_0x45e643(0x36e)](_0xd73c3a){var _0x18c365=_0x45e643;if(!(this[_0x18c365(0x36d)]instanceof ee))throw new TypeError(_0x18c365(0x1e7));const _0x4b402b=_0xd73c3a[_0x18c365(0x25a)](_0x169564=>{var _0x323da7=_0x18c365;const _0x30005e=this['_compressMutationService'][_0x323da7(0xe2)][_0x323da7(0x2e9)](this[_0x323da7(0x3a5)][_0x323da7(0xe2)][_0x323da7(0x172)]()[_0x323da7(0x231)])(_0x169564[_0x323da7(0x12f)],null)||_0x169564[_0x323da7(0x12f)];return{..._0x169564,'mutations':_0x30005e};});this[_0x18c365(0x360)](),this['_updateState'](this[_0x18c365(0x36d)][_0x18c365(0x2b9)](_0x4b402b)),this[_0x18c365(0x244)]();}[_0x45e643(0x224)](){var _0x32662d=_0x45e643;this['_lockTransition'](),this['_updateState'](this['_state'][_0x32662d(0x39d)]()),this[_0x32662d(0x244)]();}[_0x45e643(0x2dc)](_0x524fd9=!0x1){var _0x446592=_0x45e643;this['_lockTransition'](),this[_0x446592(0x268)](this[_0x446592(0x36d)][_0x446592(0x191)]()),this['_unlockTransition']();const _0x5e3ab7=this[_0x446592(0x36d)];_0x524fd9&&_0x5e3ab7 instanceof be&&(this[_0x446592(0x360)](),this['_updateState'](_0x5e3ab7['fetchMiss']()),this[_0x446592(0x244)]());}async[_0x45e643(0x266)](){return new Promise(_0x161cd1=>{var _0x121477=_0x464f;this['session']['sessionStatus$']['pipe'](_0x1f12e1(0x1))[_0x121477(0x13d)](async _0x4e0507=>{_0x161cd1(await this['_createInitialStateImpl'](_0x4e0507===me['ONLINE']));});});}['_createHandler'](){const _0x4f078f=this['unitID'];return{'onStateChange':(_0x2ef70d,_0x12aefe)=>{var _0x347dec=_0x464f;if(_0x2ef70d!==this[_0x347dec(0x36d)])throw new Error(_0x347dec(0x25d)+_0x2ef70d['status']+_0x347dec(0x1bb)+_0x12aefe[_0x347dec(0x291)]+_0x347dec(0x116)+this[_0x347dec(0x36d)][_0x347dec(0x291)]);this[_0x347dec(0x268)](_0x12aefe);},'onSendChangeset':_0x28095c=>{var _0x43ea3a=_0x464f;_0x28095c[_0x43ea3a(0x17d)]||(_0x28095c[_0x43ea3a(0x17d)]=this[_0x43ea3a(0x21f)],_0x28095c[_0x43ea3a(0x389)]=++this[_0x43ea3a(0x2bd)]);const _0x34c58f={'eventID':_0x2f9ecd[_0x43ea3a(0x357)],'data':{'unitID':_0x28095c[_0x43ea3a(0x324)],'unitType':this[_0x43ea3a(0x273)],'changeset':_0x28095c,'memberID':this[_0x43ea3a(0x293)][_0x43ea3a(0x205)]()}};this[_0x43ea3a(0x293)][_0x43ea3a(0x39b)](_0x34c58f,this[_0x43ea3a(0x324)]);},'onMissingChangesets':({from:_0x382ed8,to:_0x313351})=>{var _0x2673c5=_0x464f;this['_logService']['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x382ed8+_0x2673c5(0x31b)+_0x313351);const _0x30caa2={'eventID':_0x2f9ecd[_0x2673c5(0x35c)],'data':{'unitID':_0x4f078f,'unitType':this[_0x2673c5(0x273)],'from':_0x382ed8,'to':_0x313351}};this[_0x2673c5(0x293)][_0x2673c5(0x39b)](_0x30caa2,this[_0x2673c5(0x324)]);}};}async[_0x45e643(0xdb)](_0x1b1b87){var _0x255e9c=_0x45e643,_0x20eb99,_0x54f3da,_0x2840f7;const _0x5111c5=await((_0x20eb99=this['_localCacheService'])==null?void 0x0:_0x20eb99['loadOfflineData'](this[_0x255e9c(0x324)])),_0x48984d=(_0x54f3da=_0x5111c5==null?void 0x0:_0x5111c5[_0x255e9c(0x12f)])!=null?_0x54f3da:[],_0x580683=(_0x2840f7=_0x5111c5==null?void 0x0:_0x5111c5['awaitingChangeset'])!=null?_0x2840f7:null,_0x1a8be6=!!(_0x580683!=null&&_0x580683[_0x255e9c(0x17d)])&&!!(_0x580683!=null&&_0x580683[_0x255e9c(0x389)]);this[_0x255e9c(0x21f)]=_0x1a8be6?_0x580683[_0x255e9c(0x17d)]:_0x2bfa00(),this[_0x255e9c(0x2bd)]=_0x1a8be6?_0x580683[_0x255e9c(0x389)]:0x0;const _0x5af8cd=this[_0x255e9c(0x324)];try{this[_0x255e9c(0x1c1)](_0x580683,_0x48984d);}catch(_0x2803ad){this['_logService'][_0x255e9c(0x28e)](_0x2803ad);}const _0x25ab9c=this[_0x255e9c(0xb9)]();if(_0x1b1b87){const _0x1f290b=Ti(this[_0x255e9c(0x29c)],_0x5af8cd,this[_0x255e9c(0x273)],_0x580683,_0x48984d,_0x25ab9c);return _0x1f290b instanceof ae?_0x1f290b[_0x255e9c(0x10a)]():(_0x1f290b instanceof oe||_0x1f290b instanceof le)&&_0x1f290b[_0x255e9c(0x2b2)](),_0x1f290b;}return this[_0x255e9c(0x29c)][_0x255e9c(0x149)](de,_0x5af8cd,this[_0x255e9c(0x273)],_0x580683,_0x48984d,_0x25ab9c);}[_0x45e643(0x1c1)](_0x201c3a,_0xe48dbd){var _0x95b2c6=_0x45e643,_0x4f58fd,_0xeb284b;const _0x4c84f3=this['_compressMutationService']['interceptor'][_0x95b2c6(0x2e9)](this[_0x95b2c6(0x3a5)][_0x95b2c6(0xe2)][_0x95b2c6(0x172)]()[_0x95b2c6(0x231)]);(_0x4f58fd=_0x4c84f3((_0x201c3a==null?void 0x0:_0x201c3a[_0x95b2c6(0x12f)])||[],null))==null||_0x4f58fd['forEach'](_0x192cec=>this['_commandService'][_0x95b2c6(0x129)](_0x192cec['id'],_0x192cec[_0x95b2c6(0x1ca)])),(_0xeb284b=_0x4c84f3(_0xe48dbd||[],null))==null||_0xeb284b[_0x95b2c6(0xcb)](_0x362849=>this[_0x95b2c6(0xe4)][_0x95b2c6(0x129)](_0x362849['id'],_0x362849[_0x95b2c6(0x1ca)]));}};st=Pt([$(0x3,_0x1de629(_0x45738c)),$(0x4,_0x1de629(_0x3b6693)),$(0x5,_0x1de629(_0x49066e)),$(0x6,_0x1de629(_0x22b84a)),$(0x7,_0x1de629(ve)),$(0x8,_0x1ae1de),$(0x9,_0x5b6bbd),$(0xa,_0x4dc804),$(0xb,_0x4f5acc),$(0xc,_0x217f28(_t)),$(0xd,_0x217f28(J))],st);let It=class extends st{constructor(_0x4ae2d4,_0x31eab3,_0x5615ed,_0x4e81d5,_0x1e92ca,_0x5a6611,_0x4ed90e,_0x3246fe,_0x29341e,_0x4a644e,_0x266da3,_0x5c4641,_0x13a842,_0x39964d){var _0x7f1e7c=_0x45e643;super(_0x4ae2d4,_0x5615ed,_0x31eab3,_0x4e81d5,_0x1e92ca,_0x5a6611,_0x4ed90e,_0x3246fe,_0x29341e,_0x4a644e,_0x266da3,_0x5c4641,_0x13a842,_0x39964d),D(this,_0x7f1e7c(0x32e),null),(this['unitID']=_0x4ae2d4,this['type']=_0x31eab3);}[_0x45e643(0x2ad)](_0x53a714){var _0x113a34=_0x45e643;this[_0x113a34(0x32e)]=_0x53a714;}['dispose'](){var _0x523f23=_0x45e643;this[_0x523f23(0x32e)]=null,super[_0x523f23(0x3aa)]();}[_0x45e643(0xb9)](){var _0x1bc708=_0x45e643;const _0x3cc66b=super[_0x1bc708(0xb9)]();return _0x3cc66b[_0x1bc708(0x2f5)]=_0xc3d1da=>{var _0x30a6be=_0x1bc708,_0x4a782f,_0x4b9de6;return(_0x4b9de6=(_0x4a782f=this[_0x30a6be(0x32e)])==null?void 0x0:_0x4a782f['onTransformIME'])==null?void 0x0:_0x4b9de6['call'](_0x4a782f,_0xc3d1da);},_0x3cc66b['onTransformState']=_0x5d3384=>{var _0x4df0fb=_0x1bc708,_0xb2afa0,_0x2087dd;return(_0x2087dd=(_0xb2afa0=this[_0x4df0fb(0x32e)])==null?void 0x0:_0xb2afa0[_0x4df0fb(0x1b9)])==null?void 0x0:_0x2087dd[_0x4df0fb(0x25f)](_0xb2afa0,_0x5d3384);},_0x3cc66b['onTransformSelections']=_0x1b2c21=>{var _0x24a08b=_0x1bc708,_0xe41148,_0x1cc012;return(_0x1cc012=(_0xe41148=this['_handlerCallback'])==null?void 0x0:_0xe41148[_0x24a08b(0x361)])==null?void 0x0:_0x1cc012[_0x24a08b(0x25f)](_0xe41148,_0x1b2c21);},_0x3cc66b['onSyncEditingCollabCursor']=_0x116ff2=>{var _0x432ba4=_0x1bc708,_0x38c618,_0x5eb95b;return(_0x5eb95b=(_0x38c618=this['_handlerCallback'])==null?void 0x0:_0x38c618[_0x432ba4(0xbb)])==null?void 0x0:_0x5eb95b[_0x432ba4(0x25f)](_0x38c618,_0x116ff2);},_0x3cc66b[_0x1bc708(0x31e)]=_0x1400df=>{var _0x5a0e33=_0x1bc708,_0xe13af0,_0x50e5e8,_0x33eac5;if(!((_0xe13af0=this['_handlerCallback'])!=null&&_0xe13af0[_0x5a0e33(0x31e)]))throw new Error(_0x5a0e33(0x278));return(_0x33eac5=(_0x50e5e8=this[_0x5a0e33(0x32e)])==null?void 0x0:_0x50e5e8[_0x5a0e33(0x31e)])==null?void 0x0:_0x33eac5[_0x5a0e33(0x25f)](_0x50e5e8,_0x1400df);},_0x3cc66b[_0x1bc708(0x2f3)]=_0x3dd28d=>{var _0x480c0c=_0x1bc708,_0x244946,_0x1d1500,_0x1eae26;if(!((_0x244946=this['_handlerCallback'])!=null&&_0x244946[_0x480c0c(0x2f3)]))throw new Error(_0x480c0c(0x123));return(_0x1eae26=(_0x1d1500=this[_0x480c0c(0x32e)])==null?void 0x0:_0x1d1500[_0x480c0c(0x2f3)])==null?void 0x0:_0x1eae26[_0x480c0c(0x25f)](_0x1d1500,_0x3dd28d);},_0x3cc66b;}async[_0x45e643(0x1d1)](){var _0x470f8b=_0x45e643;const _0x356932=await super['_init']();return this['disposeWithMe'](this[_0x470f8b(0xe4)][_0x470f8b(0x344)]((_0x44e381,_0x2900c0)=>{var _0x549852=_0x470f8b;if(_0x44e381['type']!==_0x25728b[_0x549852(0x178)]||_0x2900c0!=null&&_0x2900c0['fromCollab']||_0x2900c0!=null&&_0x2900c0[_0x549852(0x198)]||_0x44e381['id']===_0x47e490['id'])return;const _0x3ebd81=_0x44e381[_0x549852(0x1ca)];if((_0x3ebd81==null?void 0x0:_0x3ebd81[_0x549852(0x304)])!==this[_0x549852(0x324)])return;const _0x1bafb7=_0x44e381,_0x44abf3=this[_0x549852(0x3a5)][_0x549852(0xe2)][_0x549852(0x2e9)](this['_compressMutationService'][_0x549852(0xe2)][_0x549852(0x172)]()[_0x549852(0x1d8)])([_0x1bafb7],this['_univerInstanceService'])||[_0x1bafb7];this['_onLocalMutation'](_0x44abf3[0x0]);})),_0x356932;}};It=Pt([$(0x3,_0x1de629(_0x45738c)),$(0x4,_0x1de629(_0x3b6693)),$(0x5,_0x1de629(_0x49066e)),$(0x6,_0x1de629(_0x22b84a)),$(0x7,_0x1de629(ve)),$(0x8,_0x1ae1de),$(0x9,_0x5b6bbd),$(0xa,_0x4dc804),$(0xb,_0x4f5acc),$(0xc,_0x217f28(_t)),$(0xd,_0x217f28(J))],It);let St=class extends st{constructor(_0x535a8a,_0x36b0ee,_0x175308,_0x444f98,_0x356c0d,_0x50e368,_0x53bfcf,_0x48ae12,_0x2d4871,_0x3dea30,_0x27035e,_0x206b64,_0x50002b,_0x55caa5,_0x47b9ef){var _0x451156=_0x45e643;super(_0x535a8a,_0x175308,_0x36b0ee,_0x444f98,_0x356c0d,_0x50e368,_0x53bfcf,_0x2d4871,_0x3dea30,_0x27035e,_0x206b64,_0x50002b,_0x55caa5,_0x47b9ef),this['unitID']=_0x535a8a,this[_0x451156(0x2a3)]=_0x36b0ee,this[_0x451156(0x387)]=_0x48ae12;}['_createHandler'](){var _0x2df281=_0x45e643;const _0x22d1bb=super['_createHandler']();return _0x22d1bb['onTransformSelections']=_0x1b5c19=>this[_0x2df281(0x387)][_0x2df281(0x1dc)](_0x1b5c19),_0x22d1bb;}async['_init'](){var _0x249d4a=_0x45e643;const _0xaf5d18=await super[_0x249d4a(0x1d1)]();return this['disposeWithMe'](this[_0x249d4a(0xe4)][_0x249d4a(0x344)]((_0x4b559c,_0x39b152)=>{var _0x13a20b=_0x249d4a;if(_0x4b559c[_0x13a20b(0x2a3)]!==_0x25728b['MUTATION']||_0x39b152!=null&&_0x39b152[_0x13a20b(0x3c2)]||_0x39b152!=null&&_0x39b152[_0x13a20b(0x198)])return;const _0x36f844=_0x4b559c['params'];if((_0x36f844==null?void 0x0:_0x36f844[_0x13a20b(0x304)])!==this[_0x13a20b(0x324)])return;const _0x2c154c=_0x4b559c,_0x55f552=this[_0x13a20b(0x3a5)][_0x13a20b(0xe2)][_0x13a20b(0x2e9)](this[_0x13a20b(0x3a5)][_0x13a20b(0xe2)][_0x13a20b(0x172)]()[_0x13a20b(0x1d8)])([_0x2c154c],this[_0x13a20b(0x33b)])||[_0x2c154c];this[_0x13a20b(0x2cb)](_0x55f552[0x0]);})),_0xaf5d18;}};St=Pt([$(0x3,_0x1de629(_0x45738c)),$(0x4,_0x1de629(_0x3b6693)),$(0x5,_0x1de629(_0x49066e)),$(0x6,_0x1de629(_0x22b84a)),$(0x7,_0x1de629(it)),$(0x8,_0x1de629(ve)),$(0x9,_0x1ae1de),$(0xa,_0x5b6bbd),$(0xb,_0x4dc804),$(0xc,_0x4f5acc),$(0xd,_0x217f28(_t)),$(0xe,_0x217f28(J))],St);const Fs=_0xf6be87('univer-pro.collaboration-client.network-condition.service');function js(_0x5eda93){var _0x44d921=_0x45e643,_0x5af57b,_0x5842d6,_0x1cf51b,_0x1af477,_0x10d939;const _0x29bbae=_0x5eda93[_0x44d921(0x2eb)],_0x3864a1=JSON['parse'](_0x29bbae);switch(_0x3864a1[_0x44d921(0x3c7)]){case j['HEARTBEAT']:case j[_0x44d921(0x192)]:{const _0x18dc8b=_0x3864a1[_0x44d921(0x1a6)];return{..._0x3864a1,'data':_0x18dc8b,'cmd':_0x3864a1[_0x44d921(0x3c7)]};}case j[_0x44d921(0x370)]:{const _0x2c2df2=_0x3864a1[_0x44d921(0x331)];return{..._0x3864a1,'data':_0x2c2df2,'cmd':_0x3864a1[_0x44d921(0x3c7)]};}case j['RECV']:{const _0x58920e=_0x3864a1[_0x44d921(0xf2)];switch(_0x58920e[_0x44d921(0x107)]){case _0x2f9ecd[_0x44d921(0x102)]:return{..._0x3864a1,'data':{..._0x58920e,'data':(_0x5af57b=_0x58920e['permissionRejEvent'])==null?void 0x0:_0x5af57b['cs']},'cmd':_0x3864a1['cmd']};case _0x2f9ecd[_0x44d921(0x190)]:return{..._0x3864a1,'data':{..._0x58920e,'data':(_0x5842d6=_0x58920e['csAckEvent'])==null?void 0x0:_0x5842d6['cs']},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x318)]:return{..._0x3864a1,'data':{..._0x58920e,'data':(_0x1cf51b=_0x58920e[_0x44d921(0x247)])==null?void 0x0:_0x1cf51b['cs']},'cmd':_0x3864a1['cmd']};case _0x2f9ecd[_0x44d921(0x10b)]:return{..._0x3864a1,'data':{..._0x58920e,'data':(_0x1af477=_0x58920e[_0x44d921(0xd4)])==null?void 0x0:_0x1af477['cs']},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd['CHANGESET_SHOULD_RETRY']:return{..._0x3864a1,'data':{..._0x58920e,'data':(_0x10d939=_0x58920e[_0x44d921(0x38d)])==null?void 0x0:_0x10d939['cs']},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x381)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e['updateCursorEvent']},'cmd':_0x3864a1['cmd']};case _0x2f9ecd[_0x44d921(0x336)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e[_0x44d921(0x13f)]},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x277)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e[_0x44d921(0x294)]},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x179)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e['liveShareNewHost']},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x34b)]:case _0x2f9ecd[_0x44d921(0x364)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e[_0x44d921(0x2e8)]},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x169)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e[_0x44d921(0x2b8)]},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x28c)]:return{..._0x3864a1,'data':_0x58920e,'cmd':_0x3864a1['cmd']};case _0x2f9ecd[_0x44d921(0x1b0)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e[_0x44d921(0xeb)]},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x211)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e[_0x44d921(0x2df)]},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x2fc)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e[_0x44d921(0x14f)]},'cmd':_0x3864a1[_0x44d921(0x3c7)]};case _0x2f9ecd[_0x44d921(0x1be)]:return{..._0x3864a1,'data':{..._0x58920e,'data':_0x58920e[_0x44d921(0x226)]},'cmd':_0x3864a1[_0x44d921(0x3c7)]};default:return _0x3864a1;}}default:return _0x3864a1;}}function Vs(_0x2f6ced){var _0x3b9fcc=_0x45e643;switch(_0x2f6ced[_0x3b9fcc(0x3c7)]){case j[_0x3b9fcc(0x2d5)]:case j[_0x3b9fcc(0x192)]:return JSON['stringify']({'cmd':_0x2f6ced[_0x3b9fcc(0x3c7)],'routeKey':_0x2f6ced[_0x3b9fcc(0x279)]});case j[_0x3b9fcc(0x18d)]:{let _0x4d6494;switch(_0x2f6ced[_0x3b9fcc(0x2eb)][_0x3b9fcc(0x107)]){case _0x2f9ecd[_0x3b9fcc(0x381)]:{_0x4d6494={'eventID':_0x2f9ecd[_0x3b9fcc(0x381)],'updateCursorEvent':_0x2f6ced[_0x3b9fcc(0x2eb)][_0x3b9fcc(0x2eb)]};break;}case _0x2f9ecd[_0x3b9fcc(0x277)]:{_0x4d6494={'eventID':_0x2f9ecd[_0x3b9fcc(0x277)],'leaveEvent':_0x2f6ced['data'][_0x3b9fcc(0x2eb)]};break;}case _0x2f9ecd['USERS_ENTER']:{_0x4d6494={'eventID':_0x2f9ecd['USERS_ENTER'],'joinEvent':_0x2f6ced[_0x3b9fcc(0x2eb)]['data']};break;}case _0x2f9ecd['LIVESHARE_NEW_HOST']:{_0x4d6494={'eventID':_0x2f9ecd['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2f6ced[_0x3b9fcc(0x2eb)][_0x3b9fcc(0x2eb)]};break;}case _0x2f9ecd[_0x3b9fcc(0x364)]:{_0x4d6494={'eventID':_0x2f9ecd[_0x3b9fcc(0x364)],'liveShareOperation':_0x2f6ced[_0x3b9fcc(0x2eb)][_0x3b9fcc(0x2eb)]};break;}case _0x2f9ecd[_0x3b9fcc(0x169)]:{_0x4d6494={'eventID':_0x2f9ecd[_0x3b9fcc(0x169)],'liveShareTerminate':_0x2f6ced[_0x3b9fcc(0x2eb)][_0x3b9fcc(0x2eb)]};break;}case _0x2f9ecd[_0x3b9fcc(0x297)]:{_0x4d6494={'eventID':_0x2f9ecd['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2f6ced[_0x3b9fcc(0x2eb)][_0x3b9fcc(0x2eb)]};break;}case _0x2f9ecd['LIVESHARE_FETCH_OPERATIONS']:{_0x4d6494={'eventID':_0x2f9ecd[_0x3b9fcc(0x34b)]};break;}default:_0x4d6494={'eventID':_0x2f6ced[_0x3b9fcc(0x2eb)][_0x3b9fcc(0x107)]};}return JSON['stringify']({'cmd':_0x2f6ced[_0x3b9fcc(0x3c7)],'routeKey':_0x2f6ced[_0x3b9fcc(0x279)],'collaMsg':_0x4d6494});}case j['JOIN']:return JSON[_0x3b9fcc(0x1e2)]({'cmd':_0x2f6ced['cmd'],'routeKey':_0x2f6ced['routeKey'],'joinReq':_0x2f6ced[_0x3b9fcc(0x2eb)]});case j[_0x3b9fcc(0x1fe)]:return JSON[_0x3b9fcc(0x1e2)]({'cmd':_0x2f6ced[_0x3b9fcc(0x3c7)],'routeKey':_0x2f6ced[_0x3b9fcc(0x279)],'leaveReq':_0x2f6ced[_0x3b9fcc(0x2eb)]});default:throw new Error(_0x3b9fcc(0x2e7));}}var Gs=Object[_0x45e643(0x368)],Ws=(_0x5ed7fe,_0x830eb0,_0x24217c,_0x577507)=>{var _0xc3b5ea=_0x45e643;for(var _0x47a232=_0x577507>0x1?void 0x0:_0x577507?Gs(_0x830eb0,_0x24217c):_0x830eb0,_0x133efe=_0x5ed7fe[_0xc3b5ea(0x122)]-0x1,_0x89c1a8;_0x133efe>=0x0;_0x133efe--)(_0x89c1a8=_0x5ed7fe[_0x133efe])&&(_0x47a232=_0x89c1a8(_0x47a232)||_0x47a232);return _0x47a232;},ye=(_0x564407,_0x4811ad)=>(_0x5417cd,_0x588408)=>_0x4811ad(_0x5417cd,_0x588408,_0x564407);const Oi=_0xf6be87(_0x45e643(0xda));function Ys(_0x1739aa,_0x59f186,_0x339f7b){var _0x3d2981=_0x45e643;return _0x1739aa+'/'+_0x59f186+_0x3d2981(0x3b9)+_0x339f7b+'/new_changes';}let Wt=class extends _0x892758{constructor(_0x4a91ad,_0x2bc97b,_0x54549a,_0x1e1726,_0x429257){var _0x29843c=_0x45e643;super(),this[_0x29843c(0x29c)]=_0x4a91ad,this[_0x29843c(0x19c)]=_0x2bc97b,this[_0x29843c(0x261)]=_0x54549a,this[_0x29843c(0x1d4)]=_0x1e1726,this['_snapshotServerService']=_0x429257;}['_doCreateSocket'](_0x1494a5){var _0x59b94a=_0x45e643;const _0x3b0073=this[_0x59b94a(0x29c)]['get'](_0x4209e3);if(!_0x3b0073)throw new Error(_0x59b94a(0x313));const _0x543bfe=_0x3b0073[_0x59b94a(0x34c)](_0x1494a5);if(!_0x543bfe)throw new Error(_0x59b94a(0x36f));const _0x7a922=new _0x5e0d9e(),_0xffe715=new _0x470ab9();_0x7a922[_0x59b94a(0x2c7)](_0x543bfe[_0x59b94a(0xfe)][_0x59b94a(0x13d)](_0x31bd03=>_0xffe715[_0x59b94a(0x14e)](_0x31bd03))),_0x7a922[_0x59b94a(0x2c7)](_0x568c38(()=>_0xffe715[_0x59b94a(0x356)]()));const _0x1c3255=new _0x470ab9();_0x7a922[_0x59b94a(0x2c7)](_0x543bfe[_0x59b94a(0x2c1)][_0x59b94a(0x13d)](_0x499ced=>_0x1c3255['next'](_0x499ced))),_0x7a922[_0x59b94a(0x2c7)](_0x568c38(()=>_0x1c3255[_0x59b94a(0x356)]()));const _0x1d5f5e=new _0x470ab9();_0x7a922[_0x59b94a(0x2c7)](_0x543bfe[_0x59b94a(0x1a8)][_0x59b94a(0x13d)](_0x155b76=>{var _0x584ac0=_0x59b94a;const _0x538c85=js(_0x155b76);_0x1d5f5e[_0x584ac0(0x14e)](_0x538c85);})),_0x7a922[_0x59b94a(0x2c7)](_0x568c38(()=>_0x1d5f5e[_0x59b94a(0x356)]()));let _0x5c30f7;const _0x5ebeaf=()=>{var _0x271768=_0x59b94a;_0x1c3255[_0x271768(0x14e)](new Event(_0x271768(0x216))),_0xffe715['next'](new Event('connection\x20error')),_0x5c30f7['close']();};return _0x5c30f7={'memberID':'','close$':_0xffe715[_0x59b94a(0x2f8)](),'error$':_0x1c3255[_0x59b94a(0x2f8)](),'open$':_0x543bfe[_0x59b94a(0x12a)],'message$':_0x1d5f5e['asObservable'](),'send':_0x4e65ff=>{var _0x45de8c=_0x59b94a;if(_0x4e65ff[_0x45de8c(0x3c7)]===j[_0x45de8c(0x18d)]){if(_0x4e65ff[_0x45de8c(0x2eb)]['eventID']===_0x2f9ecd[_0x45de8c(0x357)]){this[_0x45de8c(0x32b)](_0x5c30f7,_0x4e65ff[_0x45de8c(0x2eb)])[_0x45de8c(0xfb)](_0x42d6ee=>{var _0x32b07a=_0x45de8c;this[_0x32b07a(0x1d4)][_0x32b07a(0x28e)](_0x42d6ee),_0x5ebeaf();});return;}if(_0x4e65ff[_0x45de8c(0x2eb)]['eventID']===_0x2f9ecd[_0x45de8c(0x35c)]){const _0x4935d9=_0x4e65ff[_0x45de8c(0x2eb)];this[_0x45de8c(0x339)](_0x4935d9)['then'](_0x5e5058=>{var _0x30ab6f=_0x45de8c;_0x1d5f5e['next']({'cmd':j[_0x30ab6f(0x1e9)],'code':pe['OK'],'routeKey':_0x4935d9[_0x30ab6f(0x2eb)]['unitID'],'routeType':'','data':{'eventID':_0x2f9ecd[_0x30ab6f(0x3c3)],'data':{'changesets':_0x5e5058}}});})[_0x45de8c(0xfb)](_0x55833a=>{var _0x23d923=_0x45de8c;this[_0x23d923(0x1d4)]['error'](_0x55833a),_0x5ebeaf();});return;}}_0x543bfe[_0x45de8c(0x39b)](Vs(_0x4e65ff));},'close':()=>{var _0x5cbec8=_0x59b94a;_0x543bfe['close'](),_0x7a922[_0x5cbec8(0x3aa)]();}},_0x5c30f7;}async['_submitChangeset'](_0x5775ea,_0x1f6294){var _0x78681=_0x45e643,_0x57a287;const {unitType:_0xcf44fd,unitID:_0x5ec1f8,changeset:_0x5637d8}=_0x1f6294[_0x78681(0x2eb)],_0x27af82={'unitID':_0x5ec1f8,'memberID':_0x5775ea[_0x78681(0x253)],'type':_0xcf44fd,'changeset':_0x390a99(_0x5637d8)},_0x533a82=this['_configService']['getConfig'](K),_0x1b75cf=Ys((_0x57a287=_0x533a82==null?void 0x0:_0x533a82['collabSubmitChangesetUrl'])!=null?_0x57a287:Os,_0xcf44fd,_0x5ec1f8);try{await this[_0x78681(0x19c)][_0x78681(0x27b)](_0x1b75cf,{'body':_0x27af82});}catch(_0x25a1b0){throw this[_0x78681(0x1d4)][_0x78681(0x28e)]('[CollaborationSession]',_0x78681(0x15a)),_0x25a1b0;}}async[_0x45e643(0x339)](_0x392dd0){var _0x244d03=_0x45e643;const {unitID:_0x396e44,from:_0x305eec,to:_0x19fc9f,unitType:_0x1ed45d}=_0x392dd0['data'];return(await this['_snapshotServerService'][_0x244d03(0x2c0)]({'metadata':void 0x0},{'unitID':_0x396e44,'type':_0x1ed45d,'from':_0x305eec,'to':_0x19fc9f}))[_0x244d03(0x11b)]['map'](_0x33f4ba=>((_0x33f4ba[_0x244d03(0x12f)]===null||_0x33f4ba[_0x244d03(0x12f)]===void 0x0)&&(_0x33f4ba['mutations']=[]),_0x33f4ba));}};Wt=Ws([ye(0x0,_0x1de629(_0x45738c)),ye(0x1,_0x1de629(_0x437952)),ye(0x2,_0xbfff8e),ye(0x3,_0x5b6bbd),ye(0x4,_0x16dda0)],Wt);var Ks=Object['getOwnPropertyDescriptor'],qs=(_0x8d6de3,_0x143e8d,_0x2151db,_0x355ba9)=>{var _0x2775ff=_0x45e643;for(var _0x664f08=_0x355ba9>0x1?void 0x0:_0x355ba9?Ks(_0x143e8d,_0x2151db):_0x143e8d,_0xdc7ebe=_0x8d6de3[_0x2775ff(0x122)]-0x1,_0x5abb21;_0xdc7ebe>=0x0;_0xdc7ebe--)(_0x5abb21=_0x8d6de3[_0xdc7ebe])&&(_0x664f08=_0x5abb21(_0x664f08)||_0x664f08);return _0x664f08;},Re=(_0x75962e,_0x1e50f1)=>(_0x16e680,_0xd8f3cf)=>_0x1e50f1(_0x16e680,_0xd8f3cf,_0x75962e);let we=class extends _0x892758{constructor(_0x4e6c6b,_0x51c906,_0x4cf267,_0x434e06,_0x1e2a63,_0x433019){var _0x354e66=_0x45e643;super(),D(this,_0x354e66(0xb8),new _0x27518c(void 0x0)),D(this,_0x354e66(0x127),this['_socket$'][_0x354e66(0x2f8)]()),D(this,_0x354e66(0x38e),null),D(this,'_sessions',new Map()),D(this,_0x354e66(0x36a),new _0x27518c(me[_0x354e66(0x26c)])),D(this,'status$',this['_status$']['asObservable']()),D(this,_0x354e66(0x1af),!0x1),D(this,_0x354e66(0x236)),D(this,'_retryCount',0x0),D(this,_0x354e66(0x3c5)),D(this,_0x354e66(0x182)),(this[_0x354e66(0x29c)]=_0x4e6c6b,this[_0x354e66(0x1d4)]=_0x51c906,this[_0x354e66(0x261)]=_0x4cf267,this[_0x354e66(0xfa)]=_0x434e06,this['_collaborationUIEventService']=_0x1e2a63,this['_networkConditionService']=_0x433019,this['_listenToNetworkCondition']());}get[_0x45e643(0x193)](){var _0x35a33b=_0x45e643;return this[_0x35a33b(0xb8)][_0x35a33b(0x3bf)]();}[_0x45e643(0x146)](){var _0x5bb386=_0x45e643;this[_0x5bb386(0x23b)]&&this['disposeWithMe'](this[_0x5bb386(0x23b)]['online$'][_0x5bb386(0x13d)](_0x8b03f8=>{var _0x2eba63=_0x5bb386;_0x8b03f8&&!this['_socket']&&this[_0x2eba63(0x333)](),_0x8b03f8||this[_0x2eba63(0x23c)]();}));}[_0x45e643(0x3aa)](){var _0x35942e=_0x45e643;super[_0x35942e(0x3aa)](),this[_0x35942e(0xc9)](),this[_0x35942e(0xcf)](),this[_0x35942e(0x328)](),this['_sessions'][_0x35942e(0xcb)](_0x1ecd5a=>_0x1ecd5a[_0x35942e(0x3aa)]()),this['_sessions'][_0x35942e(0xc5)](),this[_0x35942e(0x36a)][_0x35942e(0x356)]();}async[_0x45e643(0x20e)](_0xd9fd66){var _0x4eba12=_0x45e643;if(this[_0x4eba12(0x316)]['has'](_0xd9fd66))return this[_0x4eba12(0x316)]['get'](_0xd9fd66);this[_0x4eba12(0x29b)]();const _0x280ee5=this[_0x4eba12(0x29c)][_0x4eba12(0x149)](mt,_0xd9fd66,this[_0x4eba12(0xb8)][_0x4eba12(0x2f8)]());return this[_0x4eba12(0x316)][_0x4eba12(0x38b)](_0xd9fd66,_0x280ee5),_0x280ee5;}[_0x45e643(0x2c2)](_0xa56598){var _0x47bb15=_0x45e643,_0x1c89b4;const _0x5f1cb2=this['_sessions'][_0x47bb15(0x1d2)](_0xa56598);_0x5f1cb2&&(this['_sessions']['delete'](_0xa56598),_0x5f1cb2[_0x47bb15(0x10d)]()),this[_0x47bb15(0x316)][_0x47bb15(0x185)]||(_0x1c89b4=this[_0x47bb15(0x193)])==null||_0x1c89b4[_0x47bb15(0x10d)]();}[_0x45e643(0x333)](){var _0x173c15=_0x45e643;this[_0x173c15(0x155)]=0x0,this[_0x173c15(0xc9)](),this[_0x173c15(0x343)]();}['_clearRetryConnectingTimer'](){var _0x207ee5=_0x45e643;this[_0x207ee5(0x236)]!=null&&(clearTimeout(this[_0x207ee5(0x236)]),this['_retryConnectingTimer']=null);}async[_0x45e643(0x2db)](){var _0x51f2c7=_0x45e643,_0x1964d1;const _0x52f760=this[_0x51f2c7(0x261)]['getConfig'](K),_0x3f0160=(_0x1964d1=_0x52f760==null?void 0x0:_0x52f760['collabWebSocketUrl'])!=null?_0x1964d1:Es,_0x1342ca=await this[_0x51f2c7(0xfa)]['createSocket'](_0x3f0160);return this[_0x51f2c7(0x38e)]=_0x1342ca,_0x1342ca;}async[_0x45e643(0x29b)](){var _0x201445=_0x45e643,_0x35989e,_0x5ce2cb;try{const _0x234928=(_0x5ce2cb=(_0x35989e=this[_0x201445(0x193)])!=null?_0x35989e:this[_0x201445(0x38e)])!=null?_0x5ce2cb:await this['_createSocket']();if(_0x234928){const _0x155793=_0x234928[_0x201445(0x39b)];_0x234928[_0x201445(0x39b)]=_0x2ddf8f=>(this[_0x201445(0x1cc)](),_0x155793[_0x201445(0x2ac)](_0x234928,[_0x2ddf8f])),_0x234928[_0x201445(0x1a8)][_0x201445(0x13d)](_0x3d02d1=>this[_0x201445(0x3b2)](_0x234928,_0x3d02d1)),_0x234928[_0x201445(0x2c1)]['pipe'](_0x254e8f(0x1))['subscribe'](_0x366909=>this['_logService'][_0x201445(0x28e)](_0x201445(0x1de),_0x366909)),_0x234928[_0x201445(0x12a)][_0x201445(0x2f0)](_0x254e8f(0x1))['subscribe'](()=>{var _0x438b9d=_0x201445;this[_0x438b9d(0x3b3)](_0x234928);}),_0x234928['close$'][_0x201445(0x2f0)](_0x254e8f(0x1))[_0x201445(0x13d)](_0x42226e=>{var _0x165891=_0x201445;this[_0x165891(0x1d4)][_0x165891(0x287)](_0x165891(0x1fa),_0x165891(0xfc),_0x42226e),this[_0x165891(0x285)]();});}}catch(_0x524c13){this[_0x201445(0x1d4)][_0x201445(0x28e)](_0x524c13),this[_0x201445(0x285)]();}}['_onConnectionOpen'](_0x5f3090){var _0xa1b31a=_0x45e643;this[_0xa1b31a(0x1d4)][_0xa1b31a(0x287)](_0xa1b31a(0x1fa),'socket\x20open.'),_0x5f3090[_0xa1b31a(0x39b)]({'cmd':j[_0xa1b31a(0x192)]}),this[_0xa1b31a(0x1cc)]();}[_0x45e643(0x23c)](){var _0x1b633f=_0x45e643;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x1b633f(0x36a)]['next'](me[_0x1b633f(0x255)]),this[_0x1b633f(0xb8)][_0x1b633f(0x14e)](null),this['_clearTimeoutTimer'](),this[_0x1b633f(0x328)]();}[_0x45e643(0x285)](){var _0x36c2de=_0x45e643,_0x4cc009;this[_0x36c2de(0x23c)](),this[_0x36c2de(0x155)]<((_0x4cc009=this[_0x36c2de(0x261)][_0x36c2de(0x3be)](gs))!=null?_0x4cc009:Ts)?(this['_collaborationUIEventService']['emitEvent']({'id':re[_0x36c2de(0x1b4)]}),this[_0x36c2de(0x343)]()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x36c2de(0x2bb)]});}[_0x45e643(0x343)](){var _0x1f8241=_0x45e643,_0x4ca29a;const _0xef85ba=this[_0x1f8241(0x155)],_0xa41771=this[_0x1f8241(0x261)][_0x1f8241(0x3be)](K),_0x70a5cb=_0xef85ba===0x0?0x0:((_0x4ca29a=_0xa41771==null?void 0x0:_0xa41771['retryConnectingInterval'])!=null?_0x4ca29a:Ss)*0x2**_0xef85ba;this['_retryConnectingTimer']=setTimeout(()=>{var _0x1693bc=_0x1f8241;clearTimeout(this[_0x1693bc(0x236)]),this['_retryConnectingTimer']=null,this[_0x1693bc(0x29b)]();},_0x70a5cb),this[_0x1f8241(0x155)]+=0x1;}[_0x45e643(0x3b2)](_0x119182,_0xfb5691){var _0x5352b4=_0x45e643;const {cmd:_0x1ebd05}=_0xfb5691;_0x1ebd05===j[_0x5352b4(0x192)]&&!this[_0x5352b4(0x1af)]&&(_0x119182[_0x5352b4(0x253)]=_0xfb5691[_0x5352b4(0x2eb)]['memberID'],this[_0x5352b4(0xb8)][_0x5352b4(0x14e)](_0x119182),this[_0x5352b4(0x36a)][_0x5352b4(0x14e)](me[_0x5352b4(0x379)]),this[_0x5352b4(0x1af)]=!0x0,this['_candidateSocket']=null),_0x1ebd05===j[_0x5352b4(0x2d5)]&&this[_0x5352b4(0xcf)](),this[_0x5352b4(0x1cc)]();}[_0x45e643(0x1cc)](){var _0x550435=_0x45e643,_0xc2487e;this['_clearHeartbeatTimer'](),this[_0x550435(0x3c5)]=setTimeout(()=>this[_0x550435(0x218)](),(_0xc2487e=this[_0x550435(0x261)][_0x550435(0x3be)](ms))!=null?_0xc2487e:Is);}[_0x45e643(0x218)](){var _0x2d0f0e=_0x45e643;this[_0x2d0f0e(0x193)][_0x2d0f0e(0x39b)]({'cmd':j[_0x2d0f0e(0x2d5)]}),this[_0x2d0f0e(0x1a2)]();}[_0x45e643(0x1a2)](){var _0xb3b28f=_0x45e643,_0x330cf1;this['_timeoutTimer']=setTimeout(()=>this[_0xb3b28f(0x285)](),(_0x330cf1=this['_configService'][_0xb3b28f(0x3be)](di))!=null?_0x330cf1:fi);}[_0x45e643(0x328)](){var _0x500a8d=_0x45e643;this[_0x500a8d(0x3c5)]!=null&&(clearTimeout(this[_0x500a8d(0x3c5)]),this[_0x500a8d(0x3c5)]=null);}[_0x45e643(0xcf)](){var _0x24dd2e=_0x45e643;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x24dd2e(0x182)]),this['_timeoutTimer']=null);}};we=qs([Re(0x0,_0x1de629(_0x45738c)),Re(0x1,_0x5b6bbd),Re(0x2,_0xbfff8e),Re(0x3,Oi),Re(0x4,_0x1de629(ve)),Re(0x5,_0x217f28(Fs))],we);var zs=Object[_0x45e643(0x368)],Js=(_0x208ba0,_0x144c5a,_0x5abd91,_0x1ad8a8)=>{for(var _0x5e1345=_0x1ad8a8>0x1?void 0x0:_0x1ad8a8?zs(_0x144c5a,_0x5abd91):_0x144c5a,_0x4d24be=_0x208ba0['length']-0x1,_0xc3f2fd;_0x4d24be>=0x0;_0x4d24be--)(_0xc3f2fd=_0x208ba0[_0x4d24be])&&(_0x5e1345=_0xc3f2fd(_0x5e1345)||_0x5e1345);return _0x5e1345;},Be=(_0x260e63,_0x158a0a)=>(_0x59656d,_0x2e805e)=>_0x158a0a(_0x59656d,_0x2e805e,_0x260e63);let nt=class extends _0x403ba5{constructor(_0x421b44,_0x83cb33,_0x3b501c,_0x181cc2){var _0x518f33=_0x45e643,_0x38babf;super(),D(this,'_entities',new Map()),D(this,'_entityInit$',new _0x470ab9()),D(this,_0x518f33(0x135),this[_0x518f33(0x201)][_0x518f33(0x2f8)]()),(this[_0x518f33(0x29c)]=_0x421b44,this[_0x518f33(0x16f)]=_0x83cb33,this[_0x518f33(0x261)]=_0x3b501c,this['_univerInstanceService']=_0x181cc2,((_0x38babf=this[_0x518f33(0x261)]['getConfig'](K))==null?void 0x0:_0x38babf['enableCollaboration'])!==!0x1&&this[_0x518f33(0x1d1)]());}[_0x45e643(0x3aa)](){var _0xaf54f6=_0x45e643;super['dispose'](),this['_entities']['forEach'](_0x5c5769=>_0x5c5769[_0xaf54f6(0x3aa)]()),this['_entities'][_0xaf54f6(0xc5)]();}[_0x45e643(0x1fc)](_0x4d8a43){var _0x5d2344=_0x45e643,_0x1f467a;return(_0x1f467a=this['_entities'][_0x5d2344(0x1d2)](_0x4d8a43))!=null?_0x1f467a:null;}['getCollabEntity$'](_0x2b83fe){var _0x4405c4=_0x45e643;const _0x9410b2=this[_0x4405c4(0x1fc)](_0x2b83fe);return _0x9410b2?_0x5db91f(_0x9410b2):this['_entityInit$'][_0x4405c4(0x2f0)](_0x9f9a43(_0x629f1e=>_0x629f1e['unitID']===_0x2b83fe));}[_0x45e643(0x1e4)](_0x3e7c22){var _0x46ddbc=_0x45e643;return _0x3a97be(this[_0x46ddbc(0x20c)](_0x3e7c22)[_0x46ddbc(0x2f0)](_0x22b088(()=>{})));}[_0x45e643(0x1d1)](){var _0xf78e3=_0x45e643;this['_univerInstanceService'][_0xf78e3(0x246)](_0x7a183a['UNIVER_SHEET'])['pipe'](_0x4a5734(this[_0xf78e3(0x392)]),_0x209795(0x10))[_0xf78e3(0x13d)](async _0x5652b9=>{var _0x5eb710=_0xf78e3;const _0x5abe2a=_0x5652b9['getUnitId'](),_0x437c41=await this[_0x5eb710(0x3a8)](_0x5abe2a,Q[_0x5eb710(0x240)]);this[_0x5eb710(0x1df)][_0x5eb710(0x38b)](_0x5abe2a,_0x437c41);}),this[_0xf78e3(0x33b)][_0xf78e3(0x246)](_0x7a183a[_0xf78e3(0x3a2)])['pipe'](_0x4a5734(this[_0xf78e3(0x392)]),_0x209795(0x10))['pipe'](_0x9f9a43(_0x511fc3=>!_0x511fc3[_0xf78e3(0x3ca)]()['startsWith']('__')))['subscribe'](async _0x27e203=>{var _0x961f1b=_0xf78e3;const _0x3426b1=_0x27e203[_0x961f1b(0x3ca)](),_0x335ab8=await this[_0x961f1b(0x3a8)](_0x3426b1,Q[_0x961f1b(0x3a2)]);this[_0x961f1b(0x1df)][_0x961f1b(0x38b)](_0x3426b1,_0x335ab8);}),_0x4bc367(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x7a183a[_0xf78e3(0x240)]),this[_0xf78e3(0x33b)]['getTypeOfUnitDisposed$'](_0x7a183a['UNIVER_DOC']))[_0xf78e3(0x2f0)](_0x4a5734(this[_0xf78e3(0x392)]))[_0xf78e3(0x13d)](_0x37308d=>{var _0x4c01e2=_0xf78e3;const _0x3bfef6=_0x37308d[_0x4c01e2(0x3ca)](),_0x529688=this[_0x4c01e2(0x1df)][_0x4c01e2(0x1d2)](_0x3bfef6);_0x529688&&(_0x529688['dispose'](),this[_0x4c01e2(0x1df)][_0x4c01e2(0x345)](_0x3bfef6));});}async[_0x45e643(0x3a8)](_0x2372f1,_0x47609b){var _0x450799=_0x45e643;const _0x1f2a05=await this[_0x450799(0x16f)][_0x450799(0x20e)](_0x2372f1),_0x57190c=this[_0x450799(0x29c)]['createInstance'](this[_0x450799(0x29e)](_0x47609b),_0x2372f1,_0x47609b,_0x1f2a05);return await _0x57190c[_0x450799(0x110)](),this['_entityInit$'][_0x450799(0x14e)](_0x57190c),_0x57190c;}[_0x45e643(0x29e)](_0x3ce36c){var _0x2acfdc=_0x45e643;switch(_0x3ce36c){case Q[_0x2acfdc(0x3a2)]:return It;case Q[_0x2acfdc(0x240)]:return St;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3ce36c);}}};nt=Js([Be(0x0,_0x1de629(_0x45738c)),Be(0x1,_0x1de629(we)),Be(0x2,_0xbfff8e),Be(0x3,_0x1ae1de)],nt);var Xs=Object[_0x45e643(0x368)],Zs=(_0x1ecb72,_0x50c2b3,_0x4ce4a9,_0x3838b0)=>{var _0x146646=_0x45e643;for(var _0x360256=_0x3838b0>0x1?void 0x0:_0x3838b0?Xs(_0x50c2b3,_0x4ce4a9):_0x50c2b3,_0x1e1d71=_0x1ecb72[_0x146646(0x122)]-0x1,_0x71205f;_0x1e1d71>=0x0;_0x1e1d71--)(_0x71205f=_0x1ecb72[_0x1e1d71])&&(_0x360256=_0x71205f(_0x360256)||_0x360256);return _0x360256;},Yt=(_0x1e0402,_0x31643a)=>(_0x43dad4,_0x1dd22f)=>_0x31643a(_0x43dad4,_0x1dd22f,_0x1e0402);const Qs='DEFAULT_FILE_NAME',en=_0x45e643(0x39c);let gt=class extends _0x892758{constructor(_0x270d4a,_0x4852f3){var _0x19ee71=_0x45e643;super(),this[_0x19ee71(0x33b)]=_0x270d4a,this['_configService']=_0x4852f3,this[_0x19ee71(0x1d1)]();}['_init'](){var _0x34dae2=_0x45e643;this[_0x34dae2(0xf3)](this[_0x34dae2(0x33b)][_0x34dae2(0x2b7)]['subscribe'](()=>{var _0x21bde1=_0x34dae2,_0x49e9c2;const _0x2a7f44=this[_0x21bde1(0x33b)][_0x21bde1(0x1c7)]();let _0x19feae=(_0x49e9c2=this[_0x21bde1(0x261)][_0x21bde1(0x3be)](Qs))!=null?_0x49e9c2:en;_0x2a7f44 instanceof _0x3090d6&&(_0x19feae=_0x2a7f44[_0x21bde1(0x30a)]),document[_0x21bde1(0x374)]=_0x19feae;}));}};gt=Zs([Yt(0x0,_0x1ae1de),Yt(0x1,_0xbfff8e)],gt);var tn=Object[_0x45e643(0x368)],sn=(_0x61a25c,_0x4e0e5c,_0x519fd3,_0x5d33c2)=>{for(var _0x6cb5e=_0x5d33c2>0x1?void 0x0:_0x5d33c2?tn(_0x4e0e5c,_0x519fd3):_0x4e0e5c,_0x2b887d=_0x61a25c['length']-0x1,_0x5397d8;_0x2b887d>=0x0;_0x2b887d--)(_0x5397d8=_0x61a25c[_0x2b887d])&&(_0x6cb5e=_0x5397d8(_0x6cb5e)||_0x6cb5e);return _0x6cb5e;},dt=(_0x261f97,_0x1eb140)=>(_0x333bd4,_0x4e0a33)=>_0x1eb140(_0x333bd4,_0x4e0a33,_0x261f97);let rt=class{constructor(_0x4b3ad6,_0x473dbb,_0x3df97b){var _0x837534=_0x45e643;this['_configService']=_0x4b3ad6,this[_0x837534(0x19c)]=_0x473dbb,this[_0x837534(0x26b)]=_0x3df97b,this[_0x837534(0x110)]();}['init'](){var _0x4ba4f7=_0x45e643;this[_0x4ba4f7(0x19c)][_0x4ba4f7(0x1a3)]({'priority':0x1,'interceptor':(_0x2c977a,_0x4dd128)=>_0x4dd128(_0x2c977a)[_0x4ba4f7(0x2f0)](_0x5afad6(async _0x1fbf36=>{var _0x3178a8=_0x4ba4f7;const _0x2c0005=_0x1fbf36;if(_0x2c0005[_0x3178a8(0x291)]===0x191){if(typeof window>'u')throw new Error(_0x3178a8(0x391));if(window[_0x3178a8(0x265)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0xe67caa=window[_0x3178a8(0x1c0)](window['location'][_0x3178a8(0x2a2)]);window[_0x3178a8(0x249)][_0x3178a8(0x2a2)]=this[_0x3178a8(0x111)]()+'?url='+_0xe67caa;}}return _0x2c0005;}))});}[_0x45e643(0x111)](){var _0x16f00f=_0x45e643,_0x4d5647;const _0x5a6b7d=this[_0x16f00f(0x261)][_0x16f00f(0x3be)](K);return(_0x4d5647=_0x5a6b7d==null?void 0x0:_0x5a6b7d['loginUrlKey'])!=null?_0x4d5647:Rs;}};rt=sn([dt(0x0,_0xbfff8e),dt(0x1,_0x1de629(_0x437952)),dt(0x2,_0x1de629(_0x49066e))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0xa555b0,_0x503a5d,_0x3e22a6,_0xb19cb1)=>{var _0x3e4c85=_0x45e643;for(var _0x3eca3b=_0xb19cb1>0x1?void 0x0:_0xb19cb1?nn(_0x503a5d,_0x3e22a6):_0x503a5d,_0x465948=_0xa555b0[_0x3e4c85(0x122)]-0x1,_0x5f3375;_0x465948>=0x0;_0x465948--)(_0x5f3375=_0xa555b0[_0x465948])&&(_0x3eca3b=_0x5f3375(_0x3eca3b)||_0x3eca3b);return _0x3eca3b;},Kt=(_0xd85a2,_0x4c73cf)=>(_0x1af5cf,_0x5be6cc)=>_0x4c73cf(_0x1af5cf,_0x5be6cc,_0xd85a2);const an=_0x45e643(0x210);let Tt=class extends _0x892758{constructor(_0xf6a501,_0x887c50){var _0x5a2c03=_0x45e643;super(),this[_0x5a2c03(0x38a)]=_0xf6a501,this[_0x5a2c03(0x261)]=_0x887c50,this['_initMergeInterceptor']();}[_0x45e643(0xd0)](){var _0x312da2=_0x45e643;const _0x206d05=this;this['disposeWithMe'](this[_0x312da2(0x38a)][_0x312da2(0x1a3)]({'priority':0x3e7,'interceptor':_0x171a7f({'isMatch'(_0x35a91d){var _0x2a21de=_0x312da2,_0x410ffa;if(_0x35a91d[_0x2a21de(0x25c)]===_0x2a21de(0x14c)&&((_0x410ffa=_0x35a91d[_0x2a21de(0x337)])!=null&&_0x410ffa[_0x2a21de(0xd2)])){const {objectID:_0x30cc25,objectType:_0x4bce15}=_0x35a91d['requestParams'][_0x2a21de(0xd2)]||{};if(!_0x30cc25||_0x4bce15===void 0x0)return!0x1;const _0x30b948=_0x206d05[_0x2a21de(0x3c4)]()+'/'+_0x4bce15+_0x2a21de(0x351)+_0x30cc25+_0x2a21de(0x161);if(_0x35a91d[_0x2a21de(0x2ea)]===_0x30b948)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x28c158){var _0x78e9da=_0x312da2,_0x57558d;return(_0x57558d=_0x28c158[_0x78e9da(0x337)])==null?void 0x0:_0x57558d[_0x78e9da(0xd2)];},'mergeParamsToRequest'(_0x23a5b3,_0x46f1b6){var _0x590532=_0x312da2;const _0x3db1af=_0x206d05['_getAPIPrefixPath']()+_0x590532(0xc2),_0x3c3051=_0x23a5b3[_0x590532(0xdf)]((_0x57cef0,_0x2db925)=>{var _0x5312b9=_0x590532;const {unitID:_0x3822c2,objectID:_0x48868f,objectType:_0xca33ba,actions:_0x4e693f}=_0x2db925;return _0x57cef0[_0x3822c2]||(_0x57cef0[_0x3822c2]={}),_0x57cef0[_0x3822c2][_0x48868f]||(_0x57cef0[_0x3822c2][_0x48868f]={'objectID':_0x48868f,'objectType':_0xca33ba,'actions':[]}),_0x57cef0[_0x3822c2][_0x48868f]['actions'][_0x5312b9(0xf9)](..._0x4e693f),_0x57cef0;},{}),_0x1674b1=[];for(const _0x436326 in _0x3c3051)for(const _0x466623 in _0x3c3051[_0x436326]){const {actions:_0x282e7c,objectType:_0x61cda4}=_0x3c3051[_0x436326][_0x466623],_0x4e003f=[...new Set(_0x282e7c)];_0x1674b1[_0x590532(0xf9)]({'unitID':_0x436326,'objectID':_0x466623,'objectType':_0x61cda4,'actions':_0x4e003f});}return new _0x323404(_0x590532(0x14c),_0x3db1af,{'headers':_0x46f1b6[_0x590532(0x16d)],'withCredentials':_0x46f1b6[_0x590532(0xc7)],'responseType':_0x46f1b6[_0x590532(0x26f)],'body':{'requests':_0x1674b1}});}},{'distributeResult'(_0x1d85ac,_0x1f97b8){var _0x5c2f74=_0x312da2;const {objectActions:_0x3e0bd6}=_0x1d85ac;return _0x1f97b8[_0x5c2f74(0x25a)](_0x18e8fa=>{var _0x418b06=_0x5c2f74;const {unitID:_0x2f1bde,objectID:_0x15cd7b,actions:_0xa0311}=_0x18e8fa,_0x1df415=_0x3e0bd6['find'](_0x4a0853=>_0x4a0853['unitID']===_0x2f1bde&&_0x4a0853['objectID']===_0x15cd7b),_0x802338=_0xa0311[_0x418b06(0x25a)](_0x593358=>_0x1df415==null?void 0x0:_0x1df415[_0x418b06(0x1e0)]['find'](_0x1d169f=>_0x1d169f[_0x418b06(0x350)]===_0x593358))[_0x418b06(0x232)](_0x4466f4=>!!_0x4466f4);return{'config':_0x18e8fa,'result':{'actions':_0x802338,'error':_0x1d85ac[_0x418b06(0x28e)]}};});}})}));}[_0x45e643(0x3c4)](){var _0x4c944c=_0x45e643,_0x9a6cff;const _0x98a8eb=this[_0x4c944c(0x261)][_0x4c944c(0x3be)](K);return(_0x9a6cff=_0x98a8eb==null?void 0x0:_0x98a8eb[_0x4c944c(0x160)])!=null?_0x9a6cff:an;}async[_0x45e643(0x321)](_0x436fbf){var _0x44c8cd=_0x45e643;const _0x5ce03e=this[_0x44c8cd(0x3c4)]()+'/'+_0x436fbf[_0x44c8cd(0x20d)]+_0x44c8cd(0x114);return(await this['_HTTPService'][_0x44c8cd(0x27b)](_0x5ce03e,{'body':_0x436fbf}))[_0x44c8cd(0xd2)][_0x44c8cd(0x39e)]||'';}async['list'](_0x48ee24){var _0x943080=_0x45e643;const _0x4f2151=this[_0x943080(0x3c4)]()+_0x943080(0x1b2);return(await this[_0x943080(0x38a)]['post'](_0x4f2151,{'body':_0x48ee24}))[_0x943080(0xd2)]['objects'];}async[_0x45e643(0xe3)](_0x592bee){var _0x16935f=_0x45e643,_0x103550,_0x9ce861;const _0x27c44a=this[_0x16935f(0x3c4)]()+'/'+_0x592bee[_0x16935f(0x20d)]+_0x16935f(0x351)+_0x592bee[_0x16935f(0x39e)],_0x383836=await this[_0x16935f(0x38a)][_0x16935f(0x13c)](_0x27c44a,{'body':_0x592bee});if(((_0x9ce861=(_0x103550=_0x383836==null?void 0x0:_0x383836[_0x16935f(0xd2)])==null?void 0x0:_0x103550[_0x16935f(0x28e)])==null?void 0x0:_0x9ce861[_0x16935f(0x12b)])!==0x1)throw new Error(_0x16935f(0x126));}async[_0x45e643(0x1ff)](_0x1882b6){var _0x1e13ee=_0x45e643;const _0x4e2988=this['_getAPIPrefixPath']()+'/'+_0x1882b6[_0x1e13ee(0x20d)]+_0x1e13ee(0x351)+_0x1882b6['objectID']+_0x1e13ee(0x161);return(await this['_HTTPService'][_0x1e13ee(0x27b)](_0x4e2988,{'body':_0x1882b6}))[_0x1e13ee(0xd2)]['actions'];}async[_0x45e643(0x1c6)](_0x5f4ba4){var _0x4ef16a=_0x45e643;const _0x4709ec=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x4ef16a(0x38a)]['post'](_0x4709ec,{'body':{'requests':_0x5f4ba4}}))[_0x4ef16a(0xd2)][_0x4ef16a(0x30d)];}async[_0x45e643(0x3ab)](_0x40de72){var _0x167db8=_0x45e643;const _0x4cf1a4=this[_0x167db8(0x3c4)]()+'/'+_0x40de72['objectType']+'/role',_0x1b6dbe=await this[_0x167db8(0x38a)][_0x167db8(0x27b)](_0x4cf1a4,{'body':_0x40de72});return{'roles':_0x1b6dbe[_0x167db8(0xd2)]['roles'],'actions':_0x1b6dbe[_0x167db8(0xd2)][_0x167db8(0x1e0)]};}async['deleteCollaborator'](_0x4415b6){var _0x354015=_0x45e643;const _0x29a311=this[_0x354015(0x3c4)]()+_0x354015(0x1ed);await this[_0x354015(0x38a)][_0x354015(0x345)](_0x29a311,{'params':{'collaboratorID':_0x4415b6['collaboratorID'],'objectID':_0x4415b6[_0x354015(0x39e)],'unitID':_0x4415b6[_0x354015(0x324)]}});}async[_0x45e643(0x369)](_0x151ad7){var _0x39640e=_0x45e643;const _0x501acb=this[_0x39640e(0x3c4)]()+_0x39640e(0x1ed);await this['_HTTPService'][_0x39640e(0x11a)](_0x501acb,{'body':_0x151ad7});}async[_0x45e643(0x327)](_0x134ec0){var _0x5aae18=_0x45e643;const _0x2a445b=this[_0x5aae18(0x3c4)]()+_0x5aae18(0x1ed);await this[_0x5aae18(0x38a)]['post'](_0x2a445b,{'body':_0x134ec0});}async[_0x45e643(0xce)](_0x5994d9){var _0xcb2ad3=_0x45e643;const _0x24bab0=this[_0xcb2ad3(0x3c4)]()+_0xcb2ad3(0x1ed);return(await this[_0xcb2ad3(0x38a)][_0xcb2ad3(0x1d2)](_0x24bab0,{'params':{'objectID':_0x5994d9[_0xcb2ad3(0x39e)],'unitID':_0x5994d9[_0xcb2ad3(0x324)]}}))[_0xcb2ad3(0xd2)]['collaborators'];}async[_0x45e643(0x326)](_0x4c6156){var _0x414647=_0x45e643;const _0x2106fd=this['_getAPIPrefixPath']()+_0x414647(0x1ed);await this[_0x414647(0x38a)]['put'](_0x2106fd,{'body':_0x4c6156});}};Tt=rn([Kt(0x0,_0x1de629(_0x437952)),Kt(0x1,_0x1de629(_0xbfff8e))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2d71e1){var _0x524d43=_0x45e643;return _0x2d71e1&&_0x2d71e1['__esModule']&&Object[_0x524d43(0x1d6)][_0x524d43(0x1ba)][_0x524d43(0x25f)](_0x2d71e1,_0x524d43(0xf4))?_0x2d71e1['default']:_0x2d71e1;}var Ve={'exports':{}};function on(_0x5e7fac){var _0x3f2596=_0x45e643;throw new Error(_0x3f2596(0x19d)+_0x5e7fac+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge[_0x45e643(0x320)],qt;function ie(){var _0x11af6d=_0x45e643;return qt||(qt=0x1,function(_0x37fd6f,_0x50e252){(function(_0x280da9,_0x5b4d6a){var _0x517a6e=_0x464f;_0x37fd6f[_0x517a6e(0x320)]=_0x5b4d6a();}(cn,function(){var _0x2b332f=_0x2b332f||function(_0x518575,_0x5856f9){var _0x37d357=_0x464f,_0x4837fe;if(typeof window<'u'&&window[_0x37d357(0x133)]&&(_0x4837fe=window[_0x37d357(0x133)]),typeof self<'u'&&self['crypto']&&(_0x4837fe=self[_0x37d357(0x133)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4837fe=globalThis[_0x37d357(0x133)]),!_0x4837fe&&typeof window<'u'&&window[_0x37d357(0x2dd)]&&(_0x4837fe=window['msCrypto']),!_0x4837fe&&typeof ft<'u'&&ft[_0x37d357(0x133)]&&(_0x4837fe=ft[_0x37d357(0x133)]),!_0x4837fe&&typeof on==_0x37d357(0xf1))try{_0x4837fe=require('crypto');}catch{}var _0x11736c=function(){var _0x3b37a6=_0x37d357;if(_0x4837fe){if(typeof _0x4837fe['getRandomValues']==_0x3b37a6(0xf1))try{return _0x4837fe['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4837fe[_0x3b37a6(0x105)]==_0x3b37a6(0xf1))try{return _0x4837fe[_0x3b37a6(0x105)](0x4)[_0x3b37a6(0x2c4)]();}catch{}}throw new Error(_0x3b37a6(0x365));},_0x553a72=Object[_0x37d357(0x321)]||(function(){function _0x45c31e(){}return function(_0x38ba80){var _0x589fa7=_0x464f,_0x5e919e;return _0x45c31e[_0x589fa7(0x1d6)]=_0x38ba80,_0x5e919e=new _0x45c31e(),_0x45c31e[_0x589fa7(0x1d6)]=null,_0x5e919e;};}()),_0x379681={},_0x10fb11=_0x379681['lib']={},_0x3e54e5=_0x10fb11[_0x37d357(0x140)]=(function(){return{'extend':function(_0x431dd9){var _0x9f9240=_0x464f,_0xa716c8=_0x553a72(this);return _0x431dd9&&_0xa716c8[_0x9f9240(0x35e)](_0x431dd9),(!_0xa716c8[_0x9f9240(0x1ba)](_0x9f9240(0x110))||this[_0x9f9240(0x110)]===_0xa716c8[_0x9f9240(0x110)])&&(_0xa716c8[_0x9f9240(0x110)]=function(){var _0x1cf1fe=_0x9f9240;_0xa716c8['$super'][_0x1cf1fe(0x110)][_0x1cf1fe(0x2ac)](this,arguments);}),_0xa716c8[_0x9f9240(0x110)][_0x9f9240(0x1d6)]=_0xa716c8,_0xa716c8[_0x9f9240(0x3c8)]=this,_0xa716c8;},'create':function(){var _0x2f03ea=_0x464f,_0x74127e=this[_0x2f03ea(0x1a9)]();return _0x74127e[_0x2f03ea(0x110)][_0x2f03ea(0x2ac)](_0x74127e,arguments),_0x74127e;},'init':function(){},'mixIn':function(_0x64fa1){var _0x5c5c3b=_0x464f;for(var _0x36df0e in _0x64fa1)_0x64fa1[_0x5c5c3b(0x1ba)](_0x36df0e)&&(this[_0x36df0e]=_0x64fa1[_0x36df0e]);_0x64fa1['hasOwnProperty'](_0x5c5c3b(0x332))&&(this[_0x5c5c3b(0x332)]=_0x64fa1['toString']);},'clone':function(){var _0x3b7722=_0x464f;return this[_0x3b7722(0x110)][_0x3b7722(0x1d6)][_0x3b7722(0x1a9)](this);}};}()),_0x2d77b9=_0x10fb11[_0x37d357(0x399)]=_0x3e54e5[_0x37d357(0x1a9)]({'init':function(_0x4f925f,_0x3edbd1){var _0x2345d4=_0x37d357;_0x4f925f=this[_0x2345d4(0x109)]=_0x4f925f||[],_0x3edbd1!=_0x5856f9?this[_0x2345d4(0x176)]=_0x3edbd1:this[_0x2345d4(0x176)]=_0x4f925f[_0x2345d4(0x122)]*0x4;},'toString':function(_0x20cebb){var _0x407279=_0x37d357;return(_0x20cebb||_0x1609f9)[_0x407279(0x1e2)](this);},'concat':function(_0x4eb2d9){var _0x5274c9=_0x37d357,_0xaf4aa5=this[_0x5274c9(0x109)],_0x19ecd4=_0x4eb2d9[_0x5274c9(0x109)],_0x3030b2=this[_0x5274c9(0x176)],_0x58917c=_0x4eb2d9[_0x5274c9(0x176)];if(this[_0x5274c9(0x101)](),_0x3030b2%0x4)for(var _0x500c03=0x0;_0x500c03<_0x58917c;_0x500c03++){var _0x24faf1=_0x19ecd4[_0x500c03>>>0x2]>>>0x18-_0x500c03%0x4*0x8&0xff;_0xaf4aa5[_0x3030b2+_0x500c03>>>0x2]|=_0x24faf1<<0x18-(_0x3030b2+_0x500c03)%0x4*0x8;}else{for(var _0x11c5ba=0x0;_0x11c5ba<_0x58917c;_0x11c5ba+=0x4)_0xaf4aa5[_0x3030b2+_0x11c5ba>>>0x2]=_0x19ecd4[_0x11c5ba>>>0x2];}return this[_0x5274c9(0x176)]+=_0x58917c,this;},'clamp':function(){var _0x1ebe6d=_0x37d357,_0x1a35fb=this[_0x1ebe6d(0x109)],_0x378b95=this[_0x1ebe6d(0x176)];_0x1a35fb[_0x378b95>>>0x2]&=0xffffffff<<0x20-_0x378b95%0x4*0x8,_0x1a35fb[_0x1ebe6d(0x122)]=_0x518575[_0x1ebe6d(0x2f4)](_0x378b95/0x4);},'clone':function(){var _0x1b26f0=_0x37d357,_0x307c65=_0x3e54e5[_0x1b26f0(0x152)][_0x1b26f0(0x25f)](this);return _0x307c65[_0x1b26f0(0x109)]=this[_0x1b26f0(0x109)][_0x1b26f0(0x23d)](0x0),_0x307c65;},'random':function(_0x142bf7){var _0x102571=_0x37d357;for(var _0x72e1fa=[],_0x1d332e=0x0;_0x1d332e<_0x142bf7;_0x1d332e+=0x4)_0x72e1fa[_0x102571(0xf9)](_0x11736c());return new _0x2d77b9[(_0x102571(0x110))](_0x72e1fa,_0x142bf7);}}),_0x1d3595=_0x379681[_0x37d357(0x1d5)]={},_0x1609f9=_0x1d3595[_0x37d357(0x295)]={'stringify':function(_0x51f393){var _0x68f4ad=_0x37d357;for(var _0x440ec1=_0x51f393[_0x68f4ad(0x109)],_0x33d694=_0x51f393[_0x68f4ad(0x176)],_0x2d9725=[],_0x2f6143=0x0;_0x2f6143<_0x33d694;_0x2f6143++){var _0x36880b=_0x440ec1[_0x2f6143>>>0x2]>>>0x18-_0x2f6143%0x4*0x8&0xff;_0x2d9725['push']((_0x36880b>>>0x4)[_0x68f4ad(0x332)](0x10)),_0x2d9725[_0x68f4ad(0xf9)]((_0x36880b&0xf)[_0x68f4ad(0x332)](0x10));}return _0x2d9725[_0x68f4ad(0x33c)]('');},'parse':function(_0x13a30a){var _0x2708d9=_0x37d357;for(var _0x520609=_0x13a30a['length'],_0x3a4671=[],_0x26c768=0x0;_0x26c768<_0x520609;_0x26c768+=0x2)_0x3a4671[_0x26c768>>>0x3]|=parseInt(_0x13a30a['substr'](_0x26c768,0x2),0x10)<<0x18-_0x26c768%0x8*0x4;return new _0x2d77b9[(_0x2708d9(0x110))](_0x3a4671,_0x520609/0x2);}},_0x4ab58b=_0x1d3595['Latin1']={'stringify':function(_0x201385){var _0x17168c=_0x37d357;for(var _0x3da87e=_0x201385[_0x17168c(0x109)],_0xc323b5=_0x201385[_0x17168c(0x176)],_0xe84750=[],_0x4e0fe0=0x0;_0x4e0fe0<_0xc323b5;_0x4e0fe0++){var _0x50f6ff=_0x3da87e[_0x4e0fe0>>>0x2]>>>0x18-_0x4e0fe0%0x4*0x8&0xff;_0xe84750['push'](String['fromCharCode'](_0x50f6ff));}return _0xe84750[_0x17168c(0x33c)]('');},'parse':function(_0x53bdbc){var _0x3f0bcd=_0x37d357;for(var _0x4c747d=_0x53bdbc[_0x3f0bcd(0x122)],_0xfa6dd7=[],_0x21ee9f=0x0;_0x21ee9f<_0x4c747d;_0x21ee9f++)_0xfa6dd7[_0x21ee9f>>>0x2]|=(_0x53bdbc[_0x3f0bcd(0x363)](_0x21ee9f)&0xff)<<0x18-_0x21ee9f%0x4*0x8;return new _0x2d77b9['init'](_0xfa6dd7,_0x4c747d);}},_0x1ee1eb=_0x1d3595['Utf8']={'stringify':function(_0x2dd9fb){var _0x4d3339=_0x37d357;try{return decodeURIComponent(escape(_0x4ab58b[_0x4d3339(0x1e2)](_0x2dd9fb)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x13a06e){return _0x4ab58b['parse'](unescape(encodeURIComponent(_0x13a06e)));}},_0x23f63f=_0x10fb11[_0x37d357(0x2f2)]=_0x3e54e5[_0x37d357(0x1a9)]({'reset':function(){var _0x4705dd=_0x37d357;this['_data']=new _0x2d77b9['init'](),this[_0x4705dd(0xd8)]=0x0;},'_append':function(_0x3eeeac){var _0x2579b0=_0x37d357;typeof _0x3eeeac==_0x2579b0(0x312)&&(_0x3eeeac=_0x1ee1eb[_0x2579b0(0x187)](_0x3eeeac)),this[_0x2579b0(0x3b1)][_0x2579b0(0x2e1)](_0x3eeeac),this['_nDataBytes']+=_0x3eeeac[_0x2579b0(0x176)];},'_process':function(_0x2255c4){var _0x3a6deb=_0x37d357,_0x361b2e,_0x446b84=this[_0x3a6deb(0x3b1)],_0x5a9249=_0x446b84[_0x3a6deb(0x109)],_0x5a44b6=_0x446b84[_0x3a6deb(0x176)],_0x232bef=this[_0x3a6deb(0x37a)],_0x2baf20=_0x232bef*0x4,_0x2771d3=_0x5a44b6/_0x2baf20;_0x2255c4?_0x2771d3=_0x518575['ceil'](_0x2771d3):_0x2771d3=_0x518575[_0x3a6deb(0x3ac)]((_0x2771d3|0x0)-this[_0x3a6deb(0x1ce)],0x0);var _0xefbb4d=_0x2771d3*_0x232bef,_0x5a5386=_0x518575[_0x3a6deb(0x2f6)](_0xefbb4d*0x4,_0x5a44b6);if(_0xefbb4d){for(var _0x3bc32e=0x0;_0x3bc32e<_0xefbb4d;_0x3bc32e+=_0x232bef)this[_0x3a6deb(0x1cf)](_0x5a9249,_0x3bc32e);_0x361b2e=_0x5a9249[_0x3a6deb(0x298)](0x0,_0xefbb4d),_0x446b84['sigBytes']-=_0x5a5386;}return new _0x2d77b9[(_0x3a6deb(0x110))](_0x361b2e,_0x5a5386);},'clone':function(){var _0xf7d8cb=_0x37d357,_0xbf61cf=_0x3e54e5[_0xf7d8cb(0x152)][_0xf7d8cb(0x25f)](this);return _0xbf61cf['_data']=this[_0xf7d8cb(0x3b1)][_0xf7d8cb(0x152)](),_0xbf61cf;},'_minBufferSize':0x0});_0x10fb11['Hasher']=_0x23f63f['extend']({'cfg':_0x3e54e5[_0x37d357(0x1a9)](),'init':function(_0x184ae9){var _0x1868da=_0x37d357;this[_0x1868da(0x2de)]=this['cfg'][_0x1868da(0x1a9)](_0x184ae9),this[_0x1868da(0xf0)]();},'reset':function(){var _0x2aebb7=_0x37d357;_0x23f63f[_0x2aebb7(0xf0)][_0x2aebb7(0x25f)](this),this[_0x2aebb7(0x32f)]();},'update':function(_0x509c5c){var _0x4558ea=_0x37d357;return this[_0x4558ea(0xef)](_0x509c5c),this[_0x4558ea(0x124)](),this;},'finalize':function(_0xecf319){var _0x2eba44=_0x37d357;_0xecf319&&this[_0x2eba44(0xef)](_0xecf319);var _0x4147a6=this['_doFinalize']();return _0x4147a6;},'blockSize':0x10,'_createHelper':function(_0x520eee){return function(_0x581e4a,_0x3f9b49){var _0x43d98a=_0x464f;return new _0x520eee[(_0x43d98a(0x110))](_0x3f9b49)[_0x43d98a(0x375)](_0x581e4a);};},'_createHmacHelper':function(_0x12a74d){return function(_0x1f230b,_0x2f0d07){var _0x4eb355=_0x464f;return new _0x1f5d29[(_0x4eb355(0x27f))]['init'](_0x12a74d,_0x2f0d07)[_0x4eb355(0x375)](_0x1f230b);};}});var _0x1f5d29=_0x379681['algo']={};return _0x379681;}(Math);return _0x2b332f;}));}(Ge)),Ge[_0x11af6d(0x320)];}var We={'exports':{}},_n=We[_0x45e643(0x320)],zt;function Ri(){var _0x1c3479=_0x45e643;return zt||(zt=0x1,function(_0x2a6f15,_0x228fd6){(function(_0x4ca7d4,_0x1d0445){var _0x3d9956=_0x464f;_0x2a6f15[_0x3d9956(0x320)]=_0x1d0445(ie());}(_n,function(_0x389f04){var _0x25085e=_0x464f;return(function(){var _0x542713=_0x464f,_0x4e0a74=_0x389f04,_0x4b1dea=_0x4e0a74[_0x542713(0x141)],_0x28d4e0=_0x4b1dea[_0x542713(0x399)],_0x357f44=_0x4e0a74[_0x542713(0x1d5)];_0x357f44['Base64']={'stringify':function(_0x58738f){var _0x8aca5a=_0x542713,_0x553fb5=_0x58738f['words'],_0x1af0ed=_0x58738f[_0x8aca5a(0x176)],_0x23685a=this[_0x8aca5a(0x346)];_0x58738f[_0x8aca5a(0x101)]();for(var _0x20bd11=[],_0x139e67=0x0;_0x139e67<_0x1af0ed;_0x139e67+=0x3)for(var _0x44e6dc=_0x553fb5[_0x139e67>>>0x2]>>>0x18-_0x139e67%0x4*0x8&0xff,_0x12150c=_0x553fb5[_0x139e67+0x1>>>0x2]>>>0x18-(_0x139e67+0x1)%0x4*0x8&0xff,_0x218d0a=_0x553fb5[_0x139e67+0x2>>>0x2]>>>0x18-(_0x139e67+0x2)%0x4*0x8&0xff,_0x444a9e=_0x44e6dc<<0x10|_0x12150c<<0x8|_0x218d0a,_0x7f285a=0x0;_0x7f285a<0x4&&_0x139e67+_0x7f285a*0.75<_0x1af0ed;_0x7f285a++)_0x20bd11[_0x8aca5a(0xf9)](_0x23685a['charAt'](_0x444a9e>>>0x6*(0x3-_0x7f285a)&0x3f));var _0x21fcb4=_0x23685a[_0x8aca5a(0x388)](0x40);if(_0x21fcb4){for(;_0x20bd11['length']%0x4;)_0x20bd11[_0x8aca5a(0xf9)](_0x21fcb4);}return _0x20bd11[_0x8aca5a(0x33c)]('');},'parse':function(_0x384451){var _0x3160f0=_0x542713,_0x49f054=_0x384451[_0x3160f0(0x122)],_0x1d9a74=this['_map'],_0x1f8d2e=this[_0x3160f0(0x164)];if(!_0x1f8d2e){_0x1f8d2e=this[_0x3160f0(0x164)]=[];for(var _0x3346d3=0x0;_0x3346d3<_0x1d9a74[_0x3160f0(0x122)];_0x3346d3++)_0x1f8d2e[_0x1d9a74[_0x3160f0(0x363)](_0x3346d3)]=_0x3346d3;}var _0x77b9cb=_0x1d9a74[_0x3160f0(0x388)](0x40);if(_0x77b9cb){var _0x1b82c4=_0x384451[_0x3160f0(0x2af)](_0x77b9cb);_0x1b82c4!==-0x1&&(_0x49f054=_0x1b82c4);}return _0x4a6d29(_0x384451,_0x49f054,_0x1f8d2e);},'_map':_0x542713(0x28a)};function _0x4a6d29(_0x12281c,_0x3d373c,_0x398ca6){var _0x1f7ecd=_0x542713;for(var _0x52575d=[],_0x3031eb=0x0,_0x3c97ac=0x0;_0x3c97ac<_0x3d373c;_0x3c97ac++)if(_0x3c97ac%0x4){var _0x31f2bb=_0x398ca6[_0x12281c[_0x1f7ecd(0x363)](_0x3c97ac-0x1)]<<_0x3c97ac%0x4*0x2,_0x19e3bc=_0x398ca6[_0x12281c['charCodeAt'](_0x3c97ac)]>>>0x6-_0x3c97ac%0x4*0x2,_0x4fee4f=_0x31f2bb|_0x19e3bc;_0x52575d[_0x3031eb>>>0x2]|=_0x4fee4f<<0x18-_0x3031eb%0x4*0x8,_0x3031eb++;}return _0x28d4e0['create'](_0x52575d,_0x3031eb);}}()),_0x389f04['enc'][_0x25085e(0x271)];}));}(We)),We[_0x1c3479(0x320)];}var Ye={'exports':{}},hn=Ye[_0x45e643(0x320)],Jt;function ln(){var _0x32020d=_0x45e643;return Jt||(Jt=0x1,function(_0x54b3b9,_0x50f61e){(function(_0x24c9ed,_0x3b8efe){var _0x4170b0=_0x464f;_0x54b3b9[_0x4170b0(0x320)]=_0x3b8efe(ie());}(hn,function(_0x1cbb53){var _0x1f5f44=_0x464f;return function(_0x27f763){var _0x594884=_0x464f,_0x47c4e2=_0x1cbb53,_0x958f0e=_0x47c4e2[_0x594884(0x141)],_0x14cd9f=_0x958f0e['WordArray'],_0x192f09=_0x958f0e['Hasher'],_0x4b1cd7=_0x47c4e2[_0x594884(0xb6)],_0x11acab=[];(function(){var _0x1fa10a=_0x594884;for(var _0x1028fd=0x0;_0x1028fd<0x40;_0x1028fd++)_0x11acab[_0x1028fd]=_0x27f763[_0x1fa10a(0x23f)](_0x27f763['sin'](_0x1028fd+0x1))*0x100000000|0x0;}());var _0x300fe4=_0x4b1cd7['MD5']=_0x192f09['extend']({'_doReset':function(){var _0x45c330=_0x594884;this[_0x45c330(0x37e)]=new _0x14cd9f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x376411,_0x44b3ef){var _0x1671d4=_0x594884;for(var _0x32b42c=0x0;_0x32b42c<0x10;_0x32b42c++){var _0x5d0561=_0x44b3ef+_0x32b42c,_0x17c84b=_0x376411[_0x5d0561];_0x376411[_0x5d0561]=(_0x17c84b<<0x8|_0x17c84b>>>0x18)&0xff00ff|(_0x17c84b<<0x18|_0x17c84b>>>0x8)&0xff00ff00;}var _0x4ff140=this[_0x1671d4(0x37e)][_0x1671d4(0x109)],_0xb42f26=_0x376411[_0x44b3ef+0x0],_0x57fc7f=_0x376411[_0x44b3ef+0x1],_0x5c1240=_0x376411[_0x44b3ef+0x2],_0x5282d2=_0x376411[_0x44b3ef+0x3],_0x39b3b6=_0x376411[_0x44b3ef+0x4],_0x479f4b=_0x376411[_0x44b3ef+0x5],_0x14ace6=_0x376411[_0x44b3ef+0x6],_0xc67ba3=_0x376411[_0x44b3ef+0x7],_0x3e34d0=_0x376411[_0x44b3ef+0x8],_0x46b3f5=_0x376411[_0x44b3ef+0x9],_0x5812f7=_0x376411[_0x44b3ef+0xa],_0x27f1d6=_0x376411[_0x44b3ef+0xb],_0x45fee7=_0x376411[_0x44b3ef+0xc],_0x24d792=_0x376411[_0x44b3ef+0xd],_0x5cffa9=_0x376411[_0x44b3ef+0xe],_0x1ab04a=_0x376411[_0x44b3ef+0xf],_0x1e911d=_0x4ff140[0x0],_0x13b0de=_0x4ff140[0x1],_0x1cdcd5=_0x4ff140[0x2],_0x168707=_0x4ff140[0x3];_0x1e911d=_0xe9fa80(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0xb42f26,0x7,_0x11acab[0x0]),_0x168707=_0xe9fa80(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x57fc7f,0xc,_0x11acab[0x1]),_0x1cdcd5=_0xe9fa80(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x5c1240,0x11,_0x11acab[0x2]),_0x13b0de=_0xe9fa80(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x5282d2,0x16,_0x11acab[0x3]),_0x1e911d=_0xe9fa80(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x39b3b6,0x7,_0x11acab[0x4]),_0x168707=_0xe9fa80(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x479f4b,0xc,_0x11acab[0x5]),_0x1cdcd5=_0xe9fa80(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x14ace6,0x11,_0x11acab[0x6]),_0x13b0de=_0xe9fa80(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0xc67ba3,0x16,_0x11acab[0x7]),_0x1e911d=_0xe9fa80(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x3e34d0,0x7,_0x11acab[0x8]),_0x168707=_0xe9fa80(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x46b3f5,0xc,_0x11acab[0x9]),_0x1cdcd5=_0xe9fa80(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x5812f7,0x11,_0x11acab[0xa]),_0x13b0de=_0xe9fa80(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x27f1d6,0x16,_0x11acab[0xb]),_0x1e911d=_0xe9fa80(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x45fee7,0x7,_0x11acab[0xc]),_0x168707=_0xe9fa80(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x24d792,0xc,_0x11acab[0xd]),_0x1cdcd5=_0xe9fa80(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x5cffa9,0x11,_0x11acab[0xe]),_0x13b0de=_0xe9fa80(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x1ab04a,0x16,_0x11acab[0xf]),_0x1e911d=_0x56d628(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x57fc7f,0x5,_0x11acab[0x10]),_0x168707=_0x56d628(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x14ace6,0x9,_0x11acab[0x11]),_0x1cdcd5=_0x56d628(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x27f1d6,0xe,_0x11acab[0x12]),_0x13b0de=_0x56d628(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0xb42f26,0x14,_0x11acab[0x13]),_0x1e911d=_0x56d628(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x479f4b,0x5,_0x11acab[0x14]),_0x168707=_0x56d628(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x5812f7,0x9,_0x11acab[0x15]),_0x1cdcd5=_0x56d628(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x1ab04a,0xe,_0x11acab[0x16]),_0x13b0de=_0x56d628(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x39b3b6,0x14,_0x11acab[0x17]),_0x1e911d=_0x56d628(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x46b3f5,0x5,_0x11acab[0x18]),_0x168707=_0x56d628(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x5cffa9,0x9,_0x11acab[0x19]),_0x1cdcd5=_0x56d628(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x5282d2,0xe,_0x11acab[0x1a]),_0x13b0de=_0x56d628(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x3e34d0,0x14,_0x11acab[0x1b]),_0x1e911d=_0x56d628(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x24d792,0x5,_0x11acab[0x1c]),_0x168707=_0x56d628(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x5c1240,0x9,_0x11acab[0x1d]),_0x1cdcd5=_0x56d628(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0xc67ba3,0xe,_0x11acab[0x1e]),_0x13b0de=_0x56d628(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x45fee7,0x14,_0x11acab[0x1f]),_0x1e911d=_0x2b4eb3(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x479f4b,0x4,_0x11acab[0x20]),_0x168707=_0x2b4eb3(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x3e34d0,0xb,_0x11acab[0x21]),_0x1cdcd5=_0x2b4eb3(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x27f1d6,0x10,_0x11acab[0x22]),_0x13b0de=_0x2b4eb3(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x5cffa9,0x17,_0x11acab[0x23]),_0x1e911d=_0x2b4eb3(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x57fc7f,0x4,_0x11acab[0x24]),_0x168707=_0x2b4eb3(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x39b3b6,0xb,_0x11acab[0x25]),_0x1cdcd5=_0x2b4eb3(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0xc67ba3,0x10,_0x11acab[0x26]),_0x13b0de=_0x2b4eb3(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x5812f7,0x17,_0x11acab[0x27]),_0x1e911d=_0x2b4eb3(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x24d792,0x4,_0x11acab[0x28]),_0x168707=_0x2b4eb3(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0xb42f26,0xb,_0x11acab[0x29]),_0x1cdcd5=_0x2b4eb3(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x5282d2,0x10,_0x11acab[0x2a]),_0x13b0de=_0x2b4eb3(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x14ace6,0x17,_0x11acab[0x2b]),_0x1e911d=_0x2b4eb3(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x46b3f5,0x4,_0x11acab[0x2c]),_0x168707=_0x2b4eb3(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x45fee7,0xb,_0x11acab[0x2d]),_0x1cdcd5=_0x2b4eb3(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x1ab04a,0x10,_0x11acab[0x2e]),_0x13b0de=_0x2b4eb3(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x5c1240,0x17,_0x11acab[0x2f]),_0x1e911d=_0x479951(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0xb42f26,0x6,_0x11acab[0x30]),_0x168707=_0x479951(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0xc67ba3,0xa,_0x11acab[0x31]),_0x1cdcd5=_0x479951(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x5cffa9,0xf,_0x11acab[0x32]),_0x13b0de=_0x479951(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x479f4b,0x15,_0x11acab[0x33]),_0x1e911d=_0x479951(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x45fee7,0x6,_0x11acab[0x34]),_0x168707=_0x479951(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x5282d2,0xa,_0x11acab[0x35]),_0x1cdcd5=_0x479951(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x5812f7,0xf,_0x11acab[0x36]),_0x13b0de=_0x479951(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x57fc7f,0x15,_0x11acab[0x37]),_0x1e911d=_0x479951(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x3e34d0,0x6,_0x11acab[0x38]),_0x168707=_0x479951(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x1ab04a,0xa,_0x11acab[0x39]),_0x1cdcd5=_0x479951(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x14ace6,0xf,_0x11acab[0x3a]),_0x13b0de=_0x479951(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x24d792,0x15,_0x11acab[0x3b]),_0x1e911d=_0x479951(_0x1e911d,_0x13b0de,_0x1cdcd5,_0x168707,_0x39b3b6,0x6,_0x11acab[0x3c]),_0x168707=_0x479951(_0x168707,_0x1e911d,_0x13b0de,_0x1cdcd5,_0x27f1d6,0xa,_0x11acab[0x3d]),_0x1cdcd5=_0x479951(_0x1cdcd5,_0x168707,_0x1e911d,_0x13b0de,_0x5c1240,0xf,_0x11acab[0x3e]),_0x13b0de=_0x479951(_0x13b0de,_0x1cdcd5,_0x168707,_0x1e911d,_0x46b3f5,0x15,_0x11acab[0x3f]),_0x4ff140[0x0]=_0x4ff140[0x0]+_0x1e911d|0x0,_0x4ff140[0x1]=_0x4ff140[0x1]+_0x13b0de|0x0,_0x4ff140[0x2]=_0x4ff140[0x2]+_0x1cdcd5|0x0,_0x4ff140[0x3]=_0x4ff140[0x3]+_0x168707|0x0;},'_doFinalize':function(){var _0x346a19=_0x594884,_0x35bb06=this[_0x346a19(0x3b1)],_0x46ff0b=_0x35bb06['words'],_0x278734=this[_0x346a19(0xd8)]*0x8,_0x3f7a67=_0x35bb06[_0x346a19(0x176)]*0x8;_0x46ff0b[_0x3f7a67>>>0x5]|=0x80<<0x18-_0x3f7a67%0x20;var _0x28827b=_0x27f763[_0x346a19(0x3a0)](_0x278734/0x100000000),_0x36304b=_0x278734;_0x46ff0b[(_0x3f7a67+0x40>>>0x9<<0x4)+0xf]=(_0x28827b<<0x8|_0x28827b>>>0x18)&0xff00ff|(_0x28827b<<0x18|_0x28827b>>>0x8)&0xff00ff00,_0x46ff0b[(_0x3f7a67+0x40>>>0x9<<0x4)+0xe]=(_0x36304b<<0x8|_0x36304b>>>0x18)&0xff00ff|(_0x36304b<<0x18|_0x36304b>>>0x8)&0xff00ff00,_0x35bb06[_0x346a19(0x176)]=(_0x46ff0b[_0x346a19(0x122)]+0x1)*0x4,this[_0x346a19(0x124)]();for(var _0x3d9533=this['_hash'],_0x469124=_0x3d9533[_0x346a19(0x109)],_0x4f2375=0x0;_0x4f2375<0x4;_0x4f2375++){var _0x3c64ad=_0x469124[_0x4f2375];_0x469124[_0x4f2375]=(_0x3c64ad<<0x8|_0x3c64ad>>>0x18)&0xff00ff|(_0x3c64ad<<0x18|_0x3c64ad>>>0x8)&0xff00ff00;}return _0x3d9533;},'clone':function(){var _0x15df1b=_0x594884,_0x1b7e46=_0x192f09[_0x15df1b(0x152)][_0x15df1b(0x25f)](this);return _0x1b7e46['_hash']=this['_hash']['clone'](),_0x1b7e46;}});function _0xe9fa80(_0x152f5e,_0x2bd46c,_0x50550b,_0x7bd18c,_0x112d80,_0x13e264,_0x112ff0){var _0x818557=_0x152f5e+(_0x2bd46c&_0x50550b|~_0x2bd46c&_0x7bd18c)+_0x112d80+_0x112ff0;return(_0x818557<<_0x13e264|_0x818557>>>0x20-_0x13e264)+_0x2bd46c;}function _0x56d628(_0x1ff387,_0x2061f1,_0x571534,_0x5123c6,_0x189b68,_0x379e51,_0x19d252){var _0xaa18d8=_0x1ff387+(_0x2061f1&_0x5123c6|_0x571534&~_0x5123c6)+_0x189b68+_0x19d252;return(_0xaa18d8<<_0x379e51|_0xaa18d8>>>0x20-_0x379e51)+_0x2061f1;}function _0x2b4eb3(_0x26994c,_0x88d6ee,_0x65493e,_0x2c01b8,_0x51aca7,_0x4f94e2,_0x1ce58b){var _0x5c55c6=_0x26994c+(_0x88d6ee^_0x65493e^_0x2c01b8)+_0x51aca7+_0x1ce58b;return(_0x5c55c6<<_0x4f94e2|_0x5c55c6>>>0x20-_0x4f94e2)+_0x88d6ee;}function _0x479951(_0x34cf2e,_0xd61c0d,_0x194bd4,_0x5c214f,_0x1d4289,_0x3ef7ab,_0x1e3fe8){var _0x24852b=_0x34cf2e+(_0x194bd4^(_0xd61c0d|~_0x5c214f))+_0x1d4289+_0x1e3fe8;return(_0x24852b<<_0x3ef7ab|_0x24852b>>>0x20-_0x3ef7ab)+_0xd61c0d;}_0x47c4e2[_0x594884(0x315)]=_0x192f09[_0x594884(0x300)](_0x300fe4),_0x47c4e2[_0x594884(0x24d)]=_0x192f09['_createHmacHelper'](_0x300fe4);}(Math),_0x1cbb53[_0x1f5f44(0x315)];}));}(Ye)),Ye[_0x32020d(0x320)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x45e643(0x320)],Xt;function dn(){var _0x1373c6=_0x45e643;return Xt||(Xt=0x1,function(_0x234f13,_0x4a8d67){(function(_0x121aa0,_0x2753aa){_0x234f13['exports']=_0x2753aa(ie());}(un,function(_0x83902b){var _0x3fa562=_0x464f;return(function(){var _0x4e0dc2=_0x464f,_0x1ac433=_0x83902b,_0x2c1739=_0x1ac433[_0x4e0dc2(0x141)],_0x434d37=_0x2c1739[_0x4e0dc2(0x399)],_0x1b6421=_0x2c1739[_0x4e0dc2(0x322)],_0x47d0e3=_0x1ac433['algo'],_0x2ae9c5=[],_0x4bd5d7=_0x47d0e3[_0x4e0dc2(0x159)]=_0x1b6421[_0x4e0dc2(0x1a9)]({'_doReset':function(){var _0x2bdd53=_0x4e0dc2;this[_0x2bdd53(0x37e)]=new _0x434d37[(_0x2bdd53(0x110))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2f4e41,_0x356bec){var _0x375b6d=_0x4e0dc2;for(var _0x367f24=this[_0x375b6d(0x37e)][_0x375b6d(0x109)],_0x29ce97=_0x367f24[0x0],_0x5d03e1=_0x367f24[0x1],_0x1c178e=_0x367f24[0x2],_0x3c126c=_0x367f24[0x3],_0x48a004=_0x367f24[0x4],_0x28d730=0x0;_0x28d730<0x50;_0x28d730++){if(_0x28d730<0x10)_0x2ae9c5[_0x28d730]=_0x2f4e41[_0x356bec+_0x28d730]|0x0;else{var _0xea3d95=_0x2ae9c5[_0x28d730-0x3]^_0x2ae9c5[_0x28d730-0x8]^_0x2ae9c5[_0x28d730-0xe]^_0x2ae9c5[_0x28d730-0x10];_0x2ae9c5[_0x28d730]=_0xea3d95<<0x1|_0xea3d95>>>0x1f;}var _0x568100=(_0x29ce97<<0x5|_0x29ce97>>>0x1b)+_0x48a004+_0x2ae9c5[_0x28d730];_0x28d730<0x14?_0x568100+=(_0x5d03e1&_0x1c178e|~_0x5d03e1&_0x3c126c)+0x5a827999:_0x28d730<0x28?_0x568100+=(_0x5d03e1^_0x1c178e^_0x3c126c)+0x6ed9eba1:_0x28d730<0x3c?_0x568100+=(_0x5d03e1&_0x1c178e|_0x5d03e1&_0x3c126c|_0x1c178e&_0x3c126c)-0x70e44324:_0x568100+=(_0x5d03e1^_0x1c178e^_0x3c126c)-0x359d3e2a,_0x48a004=_0x3c126c,_0x3c126c=_0x1c178e,_0x1c178e=_0x5d03e1<<0x1e|_0x5d03e1>>>0x2,_0x5d03e1=_0x29ce97,_0x29ce97=_0x568100;}_0x367f24[0x0]=_0x367f24[0x0]+_0x29ce97|0x0,_0x367f24[0x1]=_0x367f24[0x1]+_0x5d03e1|0x0,_0x367f24[0x2]=_0x367f24[0x2]+_0x1c178e|0x0,_0x367f24[0x3]=_0x367f24[0x3]+_0x3c126c|0x0,_0x367f24[0x4]=_0x367f24[0x4]+_0x48a004|0x0;},'_doFinalize':function(){var _0x5e6d79=_0x4e0dc2,_0x2ab053=this[_0x5e6d79(0x3b1)],_0x371253=_0x2ab053['words'],_0x58bce7=this[_0x5e6d79(0xd8)]*0x8,_0x296b2a=_0x2ab053[_0x5e6d79(0x176)]*0x8;return _0x371253[_0x296b2a>>>0x5]|=0x80<<0x18-_0x296b2a%0x20,_0x371253[(_0x296b2a+0x40>>>0x9<<0x4)+0xe]=Math[_0x5e6d79(0x3a0)](_0x58bce7/0x100000000),_0x371253[(_0x296b2a+0x40>>>0x9<<0x4)+0xf]=_0x58bce7,_0x2ab053['sigBytes']=_0x371253[_0x5e6d79(0x122)]*0x4,this[_0x5e6d79(0x124)](),this[_0x5e6d79(0x37e)];},'clone':function(){var _0x525840=_0x4e0dc2,_0x35730e=_0x1b6421[_0x525840(0x152)]['call'](this);return _0x35730e[_0x525840(0x37e)]=this[_0x525840(0x37e)]['clone'](),_0x35730e;}});_0x1ac433['SHA1']=_0x1b6421[_0x4e0dc2(0x300)](_0x4bd5d7),_0x1ac433[_0x4e0dc2(0x2ae)]=_0x1b6421[_0x4e0dc2(0x112)](_0x4bd5d7);}()),_0x83902b[_0x3fa562(0x159)];}));}(qe)),qe[_0x1373c6(0x320)];}var ze={'exports':{}},fn=ze[_0x45e643(0x320)],Zt;function vn(){var _0x1b66b4=_0x45e643;return Zt||(Zt=0x1,function(_0x2bcbf7,_0x4db507){(function(_0x340225,_0x112f89){_0x2bcbf7['exports']=_0x112f89(ie());}(fn,function(_0x5a5a42){(function(){var _0x76c6a2=_0x464f,_0x19330d=_0x5a5a42,_0x408755=_0x19330d[_0x76c6a2(0x141)],_0x1e8284=_0x408755[_0x76c6a2(0x140)],_0x142140=_0x19330d[_0x76c6a2(0x1d5)],_0xaa02ed=_0x142140[_0x76c6a2(0x24e)],_0x5678aa=_0x19330d['algo'];_0x5678aa['HMAC']=_0x1e8284['extend']({'init':function(_0x530347,_0x4c9609){var _0x25b552=_0x76c6a2;_0x530347=this[_0x25b552(0x153)]=new _0x530347[(_0x25b552(0x110))](),typeof _0x4c9609=='string'&&(_0x4c9609=_0xaa02ed[_0x25b552(0x187)](_0x4c9609));var _0x541dc1=_0x530347['blockSize'],_0x25896b=_0x541dc1*0x4;_0x4c9609[_0x25b552(0x176)]>_0x25896b&&(_0x4c9609=_0x530347['finalize'](_0x4c9609)),_0x4c9609[_0x25b552(0x101)]();for(var _0x2572ef=this[_0x25b552(0x3a3)]=_0x4c9609[_0x25b552(0x152)](),_0xd4527d=this[_0x25b552(0x31d)]=_0x4c9609[_0x25b552(0x152)](),_0x2ea90c=_0x2572ef['words'],_0x44c61e=_0xd4527d['words'],_0x596508=0x0;_0x596508<_0x541dc1;_0x596508++)_0x2ea90c[_0x596508]^=0x5c5c5c5c,_0x44c61e[_0x596508]^=0x36363636;_0x2572ef[_0x25b552(0x176)]=_0xd4527d[_0x25b552(0x176)]=_0x25896b,this[_0x25b552(0xf0)]();},'reset':function(){var _0x1a5890=_0x76c6a2,_0x2ae0d6=this['_hasher'];_0x2ae0d6[_0x1a5890(0xf0)](),_0x2ae0d6['update'](this[_0x1a5890(0x31d)]);},'update':function(_0x2acf33){var _0x49ab28=_0x76c6a2;return this[_0x49ab28(0x153)][_0x49ab28(0xe3)](_0x2acf33),this;},'finalize':function(_0x437d48){var _0xc5be8d=_0x76c6a2,_0xb770f6=this[_0xc5be8d(0x153)],_0x1fabd3=_0xb770f6[_0xc5be8d(0x375)](_0x437d48);_0xb770f6[_0xc5be8d(0xf0)]();var _0x210143=_0xb770f6['finalize'](this[_0xc5be8d(0x3a3)]['clone']()[_0xc5be8d(0x2e1)](_0x1fabd3));return _0x210143;}});}());}));}(ze)),ze[_0x1b66b4(0x320)];}var pn=Ke['exports'],Qt;function Ci(){return Qt||(Qt=0x1,function(_0x2a76f4,_0x3d2525){(function(_0x31b0a9,_0x3fa445,_0x763272){var _0x5e9350=_0x464f;_0x2a76f4[_0x5e9350(0x320)]=_0x3fa445(ie(),dn(),vn());}(pn,function(_0x276870){return(function(){var _0x5cbc22=_0x464f,_0x18762c=_0x276870,_0x2ea89c=_0x18762c[_0x5cbc22(0x141)],_0x1cafaa=_0x2ea89c[_0x5cbc22(0x140)],_0xcdd26f=_0x2ea89c[_0x5cbc22(0x399)],_0x14d980=_0x18762c[_0x5cbc22(0xb6)],_0x35253a=_0x14d980['MD5'],_0x1e6fce=_0x14d980[_0x5cbc22(0x382)]=_0x1cafaa[_0x5cbc22(0x1a9)]({'cfg':_0x1cafaa['extend']({'keySize':0x80/0x20,'hasher':_0x35253a,'iterations':0x1}),'init':function(_0x15d2de){this['cfg']=this['cfg']['extend'](_0x15d2de);},'compute':function(_0x10d02d,_0x2bfbf6){var _0xce1ee4=_0x5cbc22;for(var _0x3da587,_0x3789fe=this['cfg'],_0x882654=_0x3789fe[_0xce1ee4(0x24c)][_0xce1ee4(0x321)](),_0x38c56d=_0xcdd26f[_0xce1ee4(0x321)](),_0x21ea80=_0x38c56d['words'],_0x131b2e=_0x3789fe['keySize'],_0x102c1d=_0x3789fe['iterations'];_0x21ea80[_0xce1ee4(0x122)]<_0x131b2e;){_0x3da587&&_0x882654[_0xce1ee4(0xe3)](_0x3da587),_0x3da587=_0x882654[_0xce1ee4(0xe3)](_0x10d02d)['finalize'](_0x2bfbf6),_0x882654[_0xce1ee4(0xf0)]();for(var _0x56b369=0x1;_0x56b369<_0x102c1d;_0x56b369++)_0x3da587=_0x882654[_0xce1ee4(0x375)](_0x3da587),_0x882654['reset']();_0x38c56d[_0xce1ee4(0x2e1)](_0x3da587);}return _0x38c56d['sigBytes']=_0x131b2e*0x4,_0x38c56d;}});_0x18762c[_0x5cbc22(0x382)]=function(_0x1e9e66,_0x1d0300,_0x5ea660){var _0xfcc8f6=_0x5cbc22;return _0x1e6fce[_0xfcc8f6(0x321)](_0x5ea660)[_0xfcc8f6(0x33a)](_0x1e9e66,_0x1d0300);};}()),_0x276870['EvpKDF'];}));}(Ke)),Ke['exports'];}function _0x32f3(){var _0x34a03b=['537690cjwjOJ','members','apply','addHandlerCallback','HmacSHA1','indexOf','hostname','emitEvent','resend','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ClipsheetFragments','1509110asSazv','_singleActiveUnitService','focused$','liveShareNewHost','onMissedChangesetFetched','HttpImport','SOCKET_FAILED','getUnitOnRev','_changesetReqId','_exhaustRemoteChangesetQueue','PAYMENT_CHANNEL_NOT_SUPPORT','fetchMissingChangesets','error$','closeSession','getUnitType','readInt32LE','ERROR_IMAGE','_startTelemetryCollaborationNewChangeset','add','_applyRemoteChangeset','event$','/rev/','_onLocalMutation','/universer-api/uniscript','JOIN_ROOM_FAILED','[DataLoaderService]','_stopTelemetryCollaborationNewChangeset','CLOSE_ROOM','LOCAL_CACHE_INTERVAL','_event$','[CollaborationState]:\x20apply\x20error!','JOINING','HEARTBEAT','_collaborationSessionService','getLatestCsReqIdBySid','UNIVER_UNKNOWN','LICENSE_DISTRO_REJECTED','StreamCipher','_createSocket','_toggleOnline','msCrypto','cfg','updatePermissionObjEvent','RETRY_CONNECTING_MAX_COUNT','concat','UserProfileImg','commentUpdate$','_onRemoteACK','saveImage','__creator','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','liveShareOperation','fetchThroughInterceptors','url','data','_getAPIPrefix','fetchMiss','YUUMI_AI_RUN_FAILED','/universer-api/file/{fileID}/sign-url','pipe','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','BufferedBlockAlgorithm','onTransformRemoteChangesetByStateCache','ceil','onTransformIME','min','getActiveSheet','asObservable','_nRounds','_members','symbol','SHOULD_CLOSE_CONN','decryptBlock','appendMutation','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createHelper','INVITE_CODE_REQUIRED','9OqKetT','REDEMPTION_CODE_NOT_STARTED','unitId','UNRECOGNIZED','every','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','result','selections','name','INVALID_INVITE_CODE','getCurrentRevOfUnit','objectActions','socketService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ivSize','resolve','string','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_getCurrentRevision','MD5','_sessions','getRoom','NEW_CHANGESETS','_getUploadFileURL','655485LcfWAl','\x20to\x20','onRemoteChangeset','_iKey','onTransformRemoteChangesetByIMECache','_state$','exports','create','Hasher','_roomCreated$','unitID','JOIN_ROOM_NOT_EXISTS','putCollaborators','createCollaborator','_clearHeartbeatTimer','[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.','mode','_submitChangeset','YUUMI_UNABLE_LOAD_URL','_cipher','_handlerCallback','_doReset','/universer-api/user/session-ticket','joinRsp','toString','reconnect','_collaborationUIEventService','_registerDependencies','USERS_ENTER','requestParams','_eventService','_fetchMissChangesets','compute','_univerInstanceService','join','_handler','_iv','_unitInfo$','_decreaseWaiting','MOBILE_HAS_BEEN_BOUND','onRemoteRej','_tryReconnect','onCommandExecuted','delete','_map','ENTITLE_CHAT_LIMIT_EXCEED','now','WECHAT_HAS_BEEN_BOUND','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','LIVESHARE_FETCH_OPERATIONS','createSocket','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','failed\x20to\x20apply\x20missed\x20changesets!','action','/object/','execute','USER_NOT_INVITED_CODE','collaboration_new_changeset','subject','complete','SUBMIT_CHANGESET','_initUnitPermissionChange','_localCacheService','426554QcHAsv','isArray','FETCH_MISSING','MOBILE_VERIFY_CODE_MISMATCH','mixIn','HttpExport','_lockTransition','onTransformSelections','awaiting_with_pending','charCodeAt','LIVESHARE_OPERATION','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','state$','[SyncedState]:\x20received\x20acknowledgement.','getOwnPropertyDescriptor','updateCollaborator','_status$','_clearScheduledTask','setConfig','_state','_onFetchMissResult','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','JOIN','isPermissionRej','YUUMI_ALL_TABLES_IS_INVALID','setShowComponents','title','finalize','key','session.join-failed','PasswordBasedCipher','ONLINE','blockSize','session.room-not-exists','getTypeOfUnitDisposed$','ENTITLE_NEED_BILLING_ADDRESS','_hash','processBlock','loadUnit','UPDATE_CURSOR','EvpKDF','_resendTimeout','PERSON','compose','avatar','_sheetTransformSelectionsService','charAt','reqId','_HTTPService','set','includes','csShouldRetryEvent','_candidateSocket','getResourcesRequest','_clearLocalCache','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','dispose$','_mode','COMPLETION_FINISHED','sheets','updateOfflineData','_resendTimer','offline','WordArray','UNKNOWN_CMD','send','Univer','toggleOffline','objectID','_scheduleCollaborationTimeoutTimer','floor','ws://127.0.0.1:8000/universer-api/comb/connect','UNIVER_DOC','_oKey','removeMember','_compressMutationService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_transitionLocked','_startCollaboration','pluginName','dispose','listRoles','max','setCurrentUser','JOIN_ROOM_FULL','editing\x20status\x20changed\x20to','_onJoinRoomEvent','_data','_onMessage','_onConnectionOpen','loadUnitOfRevision','reject','_queuedRemoteChangesets','salt','collaboration-client.config','/unit/','HEARTBEAT_TIMEOUT','unsubscribe','_transformRemoteChangesetByIMECache','awaiting','getConfig','getValue','YUUMI_ASYNCIO_CANCELLED','OTHER_CLIENTS_EDITING','fromCollab','PSEUDO_FETCH_MISSING_RESULT','_getAPIPrefixPath','_sendHeartbeatTimer','enableAuthServer','cmd','$super','ERROR_EXCEED_SIZE','getUnitId','algo','workbook','_socket$','_createHandler','Undefined','onSyncEditingCollabCursor','APPLY_REVISION_CONFILICT','byteLength','INVITE_CODE_ALREADY_BOUND','resourceIDs','SUBMIT_CHANGESET_TIMEOUT','_roomMembers','/-/object/-/batch_allowed','_permissionService','saveSnapshot','clear','_remoteChangesetQueue','withCredentials','_xformMode','_clearRetryConnectingTimer','REDEMPTION_USER_NOT_ELIGIBLE','forEach','_unitID','uploadFileServerUrl','listCollaborators','_clearTimeoutTimer','_initMergeInterceptor','__Key__','body','_onUserLeave','csRejEvent','userID','JOIN_ROOM_PERMISSION_DENIED','sendChangesetTimeout','_nDataBytes','_telemetryInfo','univer-pro.collaboration-client-socket-service','_createInitialStateImpl','_clearCollaborationTimeoutTimer','[CollaborationUndoRedoService]','repeat','reduce','not_collab','/universer-api/oidc/authpage','interceptor','update','_commandService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onRemoteAck','_replaceFileID','equals','range','encryptBlock','commentUpdateEvent','sessionStatus$','/block/','_transformStack','_append','reset','function','collaMsg','disposeWithMe','default','OPTIONAL','snapshotServerUrl','1161464XvxGOo','_snapshotService','push','_socketService','catch','socket\x20close','enableSingleActiveInstanceLock','close$','BASE64','_isPermissionRej','clamp','PERMISSION_REJ','ENTITLE_INSUFFICIENT_QUOTA','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','randomBytes','saveSheetBlock','eventID','format','words','_schedule','CHANGESET_REJ','updateSnapshot','close','YUUMI_RATE_OVER_LIMIT','APPLY_REJECT','init','_getLoginPath','_createHmacHelper','Cipher','/object','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','\x0aCurrent:\x20','_localeService','_initDependencies','initWorkbookPermissionChange','patch','changesets','incrementRevOfUnit','getMember','People','createDecryptor','has','OTHER_CLIENT_EDITING','length','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_process','_keySchedule','Failed\x20to\x20update\x20permission\x20point','socket$','TOO_MANY_REQUESTS','executeCommand','open$','code','collaboration-client.local-cache-service','ENSURE_SNAPSHOT_EXECUTION','_syncEditingCollabCursor','mutations','telemetry\x20info\x20is\x20not\x20initialized','_removeRoom','NOT_COLLAB','crypto','loadSheet','entityInit$','sessionStatus','CURRENT_STATUS_CANNOT_OPERATE','onMissingChangesets','duration','unitId\x20is\x20not\x20found','_onCombEvent','put','subscribe','UNDEFINED','joinEvent','Base','lib','kdf','getSheetBlock','_getSendChangesetTimeout','CHANGESET_SHOULD_RETRY','_listenToNetworkCondition','_substituteUndoStack','_pendingMutations','createInstance','startTime','LICENSE_MAX_UNITS_EXCEEDED','POST','_getSignURL','next','shouldCloseConn','&to=','conflict','clone','_hasher','_onConflict','_retryCount','getDeserializedSheetBlock','entries','_emitMembers','SHA1','submit\x20changeset\x20error!','onCommentUpdate','272252VTntqP','_collaborationTimeoutTimer','onSendChangeset','loadDoc','authzUrl','/allowed','REDEMPTION_USER_REDEEM_TIMES_EXCEED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_reverseMap','ciphertext','_getRedoStack','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','defineProperty','LIVESHARE_TERMINATE','NOT_FOUND','SUCCUSS','REDEMPTION_CODE_INACTIVE','headers','_transformStateCache','_collabSessionService','_revisionService','transformMutationsWithChangeset','getInterceptPoints','_instanceService','AWAITING','decrypt','sigBytes','_sendingTimer','MUTATION','LIVESHARE_NEW_HOST','padding','_transformUndoredo','roomInfos','sid','LOGIN_TOKEN_PROCESSING_FAILED','LICENSE_EXPORT_SIZE_EXCEEDED','synced','_getDownloadEndpointURL','_timeoutTimer','baseRev','_memberService','size','m2Prime','parse','_prevBlock','updateMember','unit-cache-','/universer-api/stream/file/upload','_imageSourceCache','INGEST','INTERNAL_ERROR','revision','CHANGESET_ACK','toggleOnline','HELLO','_socket','override','_sessionStatus$','AUTHORIZE_CODE_ILLEGAL','change$','onlyLocal','ENTITLE_REPORT_LIMIT_EXCEED','_commentService','reverse','_httpService','Could\x20not\x20dynamically\x20require\x20\x22','UnitSnapshot','BlockCipher','transformUndoRedo','_initCloseConn','_waitForHeartbeatResponse','registerHTTPInterceptor','_scheduleCompleteTimestamp','YUUMI_URL_COL_OUT_OF_RANGE','infoRsp','keySize','message$','extend','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_clearRedo','UNKNOWN_CODE','FAIL','_invKeySchedule','_socketReady','COMMENT_UPDATE','_undoStacks','/-/object/list','_checkMissing','SOCKET_FAILED_RETRY','_change$','APPLY_DUPLICATED','_transformIMECache','deepClone','onTransformState','hasOwnProperty','\x0aAfter:\x20','REDEMPTION_CODE_FULLY_REDEEMED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UNISCRIPT_RUN','editingUnit','encodeURIComponent','_replayCachedMutations','copyFileMeta','_config','_redoStacks','841925RcwaGG','batchAllowed','getFocusedUnit','CONFLICT','DATA_SOURCE_TOO_LARGE','params','univer-pro.collaboration-client.single-active-unit-service','_rescheduleHeartbeat','CBC','_minBufferSize','_doProcessBlock','_ENC_XFORM_MODE','_init','get','pending','_logService','enc','prototype','_showConflictNotification','COMPRESS_MUTATION_SEND','_undoRedoService','&assign=','FileId','transformSelections','image/gif','[CollaborationSessionService]:\x20socket\x20error','_entities','actions','_disableEditing','stringify','transformStack\x20failed!','readyForCollab','getUnitStatus$','_transformService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SerializableCipher','RECV','_waitCount','getAllMembers','ENTITLE_DUP_SUBSCRIPTION','/collaborator','_collaborationPaused','session.room-permission-denied','transformChangesets','HEARTBEAT_INTERVAL','_clearUndo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_transformRemoteChangesetByStateCache','onStateChange','encrypt','1EkbnJE','disableLocalCache','Encryptor','[CollaborationSessionService]','image/jpeg','getCollabEntity','INVALID_ARGUMENT','LEAVE','allowed','signUrlServerUrl','_entityInit$','5eRKHEs','SNAPSHOT_INVALID_SNAPSHOT','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getMemberID','members$','PY_RUNTIME_SCRIPT_ERROR','byteOffset','AES','onRemoteRetry','state','getCollabEntity$','objectType','requireSession','random','/universer-api/authz','UPDATE_PERMISSION_OBJ','[CollaborationSession]','SYNCED','Error\x20on\x20receiving\x20event','getCurrentUser','connection\x20error','_commentUpdate$','_sendHeartbeat','_updateLocalCache','getSnapshotAPIPath','_onRemoteChangeset','ALREADY_EXISTS','_updateStatus','CHANGESET_REVISION_CONFILICT','_changesetSessionId','buffer','_onRecvEvent','LICENSE_IMPORT_SIZE_EXCEEDED','pauseCollaboration','_toggleOffline','image/jpg','uniscriptRunEvent','originalMeta','updatePermissionPoint','EMAIL_HAS_BEEN_BOUND','c2Prime','_getUndoStack','refreshPermission','_acknowledgedAwaitingChangeset','getTime','_substituteRedoStack','fromCharCode','COMPRESS_MUTATION_APPLY','filter','stopTime','_socketMessageSubscription','SNAPSHOT_HAS_BEEN_REMOVED','_retryConnectingTimer','saveChangeset','_initRequestHeader','GLOBAL_ROOMS_CNT_EXCEEDS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_networkConditionService','_onOffline','slice','YUUMI_SUBSCRIPTION_NOT_FOUND','abs','UNIVER_SHEET','_onUserJoin','_joinRoom','EMAIL_VERIFY_CODE_MISMATCH','_unlockTransition','createEncryptor','getTypeOfUnitAdded$','newCsEvent','getImageSourceCache','location','_parse','FETCH_MISS','hasher','HmacMD5','Utf8','UUID','REDEMPTION_CODE_HAS_BEEN_CREATED','CONNECTOR_DATA_TOO_LARGE','origin','memberID','fetch_missing','OFFLINE','?size=','PERMISSION_DENIED','ERROR_AGAIN','localCacheService','map','onLocalMutation','method','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','NO_OTHER_CLIENTS_EDITING','call','YUUMI_NO_CUBOID_FOR_QUESTION','_configService','[OfflineState]:\x20received\x20changeset.','/fetchmissing?from=','unknown','confirm','_createInitialState','_members$','_updateState','USER_IS_ANONYMOUS','_onRemoteRejected','localeService','IDLE','UNIVER_PROJECT','values','responseType','_sender','Base64','image/png','_type','_resendWithTimeout','_incrementRevisionNumber','_shouldReportTelemetry','USERS_LEAVE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','routeKey','_doFinalize','post','YUUMI_CONNECTOR_URL_NOT_FOUND','save\x20fail\x20reason\x20is\x20','[PendingState]:\x20received\x20rejection.','HMAC','_DEC_XFORM_MODE','list','USER_NOT_FOUND','[OfflineState]:\x20received\x20acknowledgement.','OpenSSL','_onConnectionFailed','_executeRemoteChangeset','debug','rev','[CollaborationEntity]','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','setWaitCount','MSG_FOR_ERROR','addImageSourceCache','error','session.room-cnt-exceeds','capture','status','UnitEmbedded','session','leaveEvent','Hex','pad','LIVESHARE_REQUEST_HOST','splice','collaborators','_key','_tryEnsureSocket','_injector','APPLY_PERMISSION_DENIED','_getCtorByUniverType','INVITE_CODE_HAS_BEEN_UES','{fileID}','c1Prime','href','type','_awaitingChangeset','_userManagerService','getImage','_doCryptBlock','_keyPriorReset','APPLY_NON_SEQUENTIAL_REVISION'];_0x32f3=function(){return _0x34a03b;};return _0x32f3();}var Je={'exports':{}},En=Je['exports'],ei;function Ni(){var _0x1be4c7=_0x45e643;return ei||(ei=0x1,function(_0x4c7565,_0x411c43){(function(_0x2f98f7,_0x3816f2,_0x3d1e2a){_0x4c7565['exports']=_0x3816f2(ie(),Ci());}(En,function(_0x4f1f75){var _0x319782=_0x464f;_0x4f1f75[_0x319782(0x141)][_0x319782(0x113)]||function(_0x53b9f4){var _0x2e8f86=_0x319782,_0x1994a7=_0x4f1f75,_0x59e8ed=_0x1994a7['lib'],_0x2d4f8e=_0x59e8ed[_0x2e8f86(0x140)],_0x33bccd=_0x59e8ed[_0x2e8f86(0x399)],_0x4ad9c4=_0x59e8ed[_0x2e8f86(0x2f2)],_0x675bd5=_0x1994a7[_0x2e8f86(0x1d5)];_0x675bd5[_0x2e8f86(0x24e)];var _0x57c7b5=_0x675bd5['Base64'],_0x3f51ad=_0x1994a7[_0x2e8f86(0xb6)],_0x53360d=_0x3f51ad[_0x2e8f86(0x382)],_0x609401=_0x59e8ed[_0x2e8f86(0x113)]=_0x4ad9c4['extend']({'cfg':_0x2d4f8e[_0x2e8f86(0x1a9)](),'createEncryptor':function(_0x3890c9,_0x51fdbf){var _0x4ec963=_0x2e8f86;return this[_0x4ec963(0x321)](this[_0x4ec963(0x1d0)],_0x3890c9,_0x51fdbf);},'createDecryptor':function(_0x128046,_0x47c1fe){var _0x4e18da=_0x2e8f86;return this[_0x4e18da(0x321)](this[_0x4e18da(0x280)],_0x128046,_0x47c1fe);},'init':function(_0x450a05,_0x1207ad,_0x38840b){var _0x37430d=_0x2e8f86;this[_0x37430d(0x2de)]=this[_0x37430d(0x2de)][_0x37430d(0x1a9)](_0x38840b),this[_0x37430d(0xc8)]=_0x450a05,this['_key']=_0x1207ad,this['reset']();},'reset':function(){var _0x2fb310=_0x2e8f86;_0x4ad9c4['reset'][_0x2fb310(0x25f)](this),this[_0x2fb310(0x32f)]();},'process':function(_0x1ad7f1){var _0xe97921=_0x2e8f86;return this['_append'](_0x1ad7f1),this[_0xe97921(0x124)]();},'finalize':function(_0x66fb2){var _0xc115e=_0x2e8f86;_0x66fb2&&this['_append'](_0x66fb2);var _0x5997bc=this[_0xc115e(0x27a)]();return _0x5997bc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x31bdc1(_0x4a19bc){var _0x4e2dfa=_0x464f;return typeof _0x4a19bc==_0x4e2dfa(0x312)?_0x592392:_0x3ace5e;}return function(_0x5a53e5){return{'encrypt':function(_0x275378,_0x19543f,_0x3e17c1){var _0x47cb5d=_0x464f;return _0x31bdc1(_0x19543f)[_0x47cb5d(0x1f6)](_0x5a53e5,_0x275378,_0x19543f,_0x3e17c1);},'decrypt':function(_0x535b0b,_0x23aa4a,_0x2cfa35){var _0x1bd9c5=_0x464f;return _0x31bdc1(_0x23aa4a)[_0x1bd9c5(0x175)](_0x5a53e5,_0x535b0b,_0x23aa4a,_0x2cfa35);}};};}())});_0x59e8ed[_0x2e8f86(0x2da)]=_0x609401[_0x2e8f86(0x1a9)]({'_doFinalize':function(){var _0x16ff9e=_0x2e8f86,_0x9ee7f3=this[_0x16ff9e(0x124)](!0x0);return _0x9ee7f3;},'blockSize':0x1});var _0xbbcb28=_0x1994a7[_0x2e8f86(0x32a)]={},_0xa30448=_0x59e8ed['BlockCipherMode']=_0x2d4f8e[_0x2e8f86(0x1a9)]({'createEncryptor':function(_0x5cf2d5,_0x220f76){var _0x132451=_0x2e8f86;return this[_0x132451(0x1f9)][_0x132451(0x321)](_0x5cf2d5,_0x220f76);},'createDecryptor':function(_0x10b871,_0x3307b6){var _0x396ca8=_0x2e8f86;return this['Decryptor'][_0x396ca8(0x321)](_0x10b871,_0x3307b6);},'init':function(_0x530a0f,_0x1efd58){this['_cipher']=_0x530a0f,this['_iv']=_0x1efd58;}}),_0x53d808=_0xbbcb28[_0x2e8f86(0x1cd)]=(function(){var _0x529e84=_0x2e8f86,_0x42f6fb=_0xa30448['extend']();_0x42f6fb['Encryptor']=_0x42f6fb[_0x529e84(0x1a9)]({'processBlock':function(_0x10b2a6,_0x178e54){var _0x2db7c2=_0x529e84,_0x17db87=this['_cipher'],_0x189d5b=_0x17db87[_0x2db7c2(0x37a)];_0x59d964[_0x2db7c2(0x25f)](this,_0x10b2a6,_0x178e54,_0x189d5b),_0x17db87[_0x2db7c2(0xea)](_0x10b2a6,_0x178e54),this['_prevBlock']=_0x10b2a6[_0x2db7c2(0x23d)](_0x178e54,_0x178e54+_0x189d5b);}}),_0x42f6fb['Decryptor']=_0x42f6fb[_0x529e84(0x1a9)]({'processBlock':function(_0x85c873,_0x242ec7){var _0x57f0dc=_0x529e84,_0x3a4708=this[_0x57f0dc(0x32d)],_0x5b77df=_0x3a4708[_0x57f0dc(0x37a)],_0x1093bd=_0x85c873['slice'](_0x242ec7,_0x242ec7+_0x5b77df);_0x3a4708[_0x57f0dc(0x2fd)](_0x85c873,_0x242ec7),_0x59d964[_0x57f0dc(0x25f)](this,_0x85c873,_0x242ec7,_0x5b77df),this['_prevBlock']=_0x1093bd;}});function _0x59d964(_0x1a75df,_0x1b3b68,_0x22c4f9){var _0x2042e7=_0x529e84,_0x1dec6e,_0xd7cf19=this['_iv'];_0xd7cf19?(_0x1dec6e=_0xd7cf19,this[_0x2042e7(0x33e)]=_0x53b9f4):_0x1dec6e=this[_0x2042e7(0x188)];for(var _0x14e5d9=0x0;_0x14e5d9<_0x22c4f9;_0x14e5d9++)_0x1a75df[_0x1b3b68+_0x14e5d9]^=_0x1dec6e[_0x14e5d9];}return _0x42f6fb;}()),_0x223aec=_0x1994a7['pad']={},_0xf71c6=_0x223aec['Pkcs7']={'pad':function(_0x3e43c6,_0x438e4d){var _0x550ea7=_0x2e8f86;for(var _0x31fb1a=_0x438e4d*0x4,_0x578244=_0x31fb1a-_0x3e43c6[_0x550ea7(0x176)]%_0x31fb1a,_0x8efe59=_0x578244<<0x18|_0x578244<<0x10|_0x578244<<0x8|_0x578244,_0x5709c0=[],_0x486ccc=0x0;_0x486ccc<_0x578244;_0x486ccc+=0x4)_0x5709c0[_0x550ea7(0xf9)](_0x8efe59);var _0x41f28e=_0x33bccd['create'](_0x5709c0,_0x578244);_0x3e43c6['concat'](_0x41f28e);},'unpad':function(_0x207466){var _0x50d3c6=_0x2e8f86,_0x4f1d0a=_0x207466[_0x50d3c6(0x109)][_0x207466[_0x50d3c6(0x176)]-0x1>>>0x2]&0xff;_0x207466['sigBytes']-=_0x4f1d0a;}};_0x59e8ed[_0x2e8f86(0x19f)]=_0x609401[_0x2e8f86(0x1a9)]({'cfg':_0x609401['cfg'][_0x2e8f86(0x1a9)]({'mode':_0x53d808,'padding':_0xf71c6}),'reset':function(){var _0x2e0e86=_0x2e8f86,_0x180eef;_0x609401[_0x2e0e86(0xf0)][_0x2e0e86(0x25f)](this);var _0x7b3304=this[_0x2e0e86(0x2de)],_0x328b64=_0x7b3304['iv'],_0x204770=_0x7b3304[_0x2e0e86(0x32a)];this[_0x2e0e86(0xc8)]==this[_0x2e0e86(0x1d0)]?_0x180eef=_0x204770['createEncryptor']:(_0x180eef=_0x204770[_0x2e0e86(0x11f)],this[_0x2e0e86(0x1ce)]=0x1),this[_0x2e0e86(0x393)]&&this[_0x2e0e86(0x393)][_0x2e0e86(0x2e6)]==_0x180eef?this[_0x2e0e86(0x393)]['init'](this,_0x328b64&&_0x328b64['words']):(this[_0x2e0e86(0x393)]=_0x180eef[_0x2e0e86(0x25f)](_0x204770,this,_0x328b64&&_0x328b64[_0x2e0e86(0x109)]),this['_mode']['__creator']=_0x180eef);},'_doProcessBlock':function(_0x26460b,_0xde43a9){var _0x402c55=_0x2e8f86;this[_0x402c55(0x393)][_0x402c55(0x37f)](_0x26460b,_0xde43a9);},'_doFinalize':function(){var _0xf53a40=_0x2e8f86,_0x71fd35,_0x4ac91d=this[_0xf53a40(0x2de)][_0xf53a40(0x17a)];return this['_xformMode']==this[_0xf53a40(0x1d0)]?(_0x4ac91d[_0xf53a40(0x296)](this[_0xf53a40(0x3b1)],this['blockSize']),_0x71fd35=this[_0xf53a40(0x124)](!0x0)):(_0x71fd35=this[_0xf53a40(0x124)](!0x0),_0x4ac91d['unpad'](_0x71fd35)),_0x71fd35;},'blockSize':0x80/0x20});var _0x3964b3=_0x59e8ed['CipherParams']=_0x2d4f8e[_0x2e8f86(0x1a9)]({'init':function(_0x3a93a5){this['mixIn'](_0x3a93a5);},'toString':function(_0x9ef33d){var _0x55c0d7=_0x2e8f86;return(_0x9ef33d||this['formatter'])[_0x55c0d7(0x1e2)](this);}}),_0x5a1108=_0x1994a7['format']={},_0x4c859a=_0x5a1108[_0x2e8f86(0x284)]={'stringify':function(_0x5c778b){var _0x1f30d9=_0x2e8f86,_0x3b1603,_0x2f8d8e=_0x5c778b[_0x1f30d9(0x165)],_0x93c6f=_0x5c778b[_0x1f30d9(0x3b7)];return _0x93c6f?_0x3b1603=_0x33bccd[_0x1f30d9(0x321)]([0x53616c74,0x65645f5f])[_0x1f30d9(0x2e1)](_0x93c6f)[_0x1f30d9(0x2e1)](_0x2f8d8e):_0x3b1603=_0x2f8d8e,_0x3b1603['toString'](_0x57c7b5);},'parse':function(_0x4a62eb){var _0xb1de51=_0x2e8f86,_0x326371,_0x4152dd=_0x57c7b5[_0xb1de51(0x187)](_0x4a62eb),_0x14b460=_0x4152dd[_0xb1de51(0x109)];return _0x14b460[0x0]==0x53616c74&&_0x14b460[0x1]==0x65645f5f&&(_0x326371=_0x33bccd[_0xb1de51(0x321)](_0x14b460[_0xb1de51(0x23d)](0x2,0x4)),_0x14b460[_0xb1de51(0x298)](0x0,0x4),_0x4152dd['sigBytes']-=0x10),_0x3964b3[_0xb1de51(0x321)]({'ciphertext':_0x4152dd,'salt':_0x326371});}},_0x3ace5e=_0x59e8ed[_0x2e8f86(0x1e8)]=_0x2d4f8e[_0x2e8f86(0x1a9)]({'cfg':_0x2d4f8e[_0x2e8f86(0x1a9)]({'format':_0x4c859a}),'encrypt':function(_0x4197e8,_0x416d2d,_0x1e5dec,_0x98300d){var _0x37f55a=_0x2e8f86;_0x98300d=this[_0x37f55a(0x2de)][_0x37f55a(0x1a9)](_0x98300d);var _0x4c5329=_0x4197e8[_0x37f55a(0x245)](_0x1e5dec,_0x98300d),_0x4f23e8=_0x4c5329[_0x37f55a(0x375)](_0x416d2d),_0x4fea90=_0x4c5329[_0x37f55a(0x2de)];return _0x3964b3[_0x37f55a(0x321)]({'ciphertext':_0x4f23e8,'key':_0x1e5dec,'iv':_0x4fea90['iv'],'algorithm':_0x4197e8,'mode':_0x4fea90[_0x37f55a(0x32a)],'padding':_0x4fea90['padding'],'blockSize':_0x4197e8[_0x37f55a(0x37a)],'formatter':_0x98300d[_0x37f55a(0x108)]});},'decrypt':function(_0x4ff9ca,_0x27cca2,_0x82008f,_0x18c85a){var _0x472cbd=_0x2e8f86;_0x18c85a=this['cfg'][_0x472cbd(0x1a9)](_0x18c85a),_0x27cca2=this[_0x472cbd(0x24a)](_0x27cca2,_0x18c85a[_0x472cbd(0x108)]);var _0x3cf70e=_0x4ff9ca[_0x472cbd(0x11f)](_0x82008f,_0x18c85a)[_0x472cbd(0x375)](_0x27cca2[_0x472cbd(0x165)]);return _0x3cf70e;},'_parse':function(_0x350f75,_0x377c5a){var _0x462d20=_0x2e8f86;return typeof _0x350f75==_0x462d20(0x312)?_0x377c5a[_0x462d20(0x187)](_0x350f75,this):_0x350f75;}}),_0x526342=_0x1994a7[_0x2e8f86(0x142)]={},_0x37606c=_0x526342[_0x2e8f86(0x284)]={'execute':function(_0x412f29,_0xa56da7,_0x3911df,_0x369379,_0x36228e){var _0x218cd1=_0x2e8f86;if(_0x369379||(_0x369379=_0x33bccd[_0x218cd1(0x20f)](0x40/0x8)),_0x36228e)var _0x49968e=_0x53360d[_0x218cd1(0x321)]({'keySize':_0xa56da7+_0x3911df,'hasher':_0x36228e})[_0x218cd1(0x33a)](_0x412f29,_0x369379);else var _0x49968e=_0x53360d['create']({'keySize':_0xa56da7+_0x3911df})[_0x218cd1(0x33a)](_0x412f29,_0x369379);var _0x1db8f4=_0x33bccd[_0x218cd1(0x321)](_0x49968e[_0x218cd1(0x109)][_0x218cd1(0x23d)](_0xa56da7),_0x3911df*0x4);return _0x49968e['sigBytes']=_0xa56da7*0x4,_0x3964b3[_0x218cd1(0x321)]({'key':_0x49968e,'iv':_0x1db8f4,'salt':_0x369379});}},_0x592392=_0x59e8ed[_0x2e8f86(0x378)]=_0x3ace5e['extend']({'cfg':_0x3ace5e[_0x2e8f86(0x2de)][_0x2e8f86(0x1a9)]({'kdf':_0x37606c}),'encrypt':function(_0x415364,_0x54a6d3,_0x166f37,_0x2a831e){var _0x5bc8a9=_0x2e8f86;_0x2a831e=this[_0x5bc8a9(0x2de)][_0x5bc8a9(0x1a9)](_0x2a831e);var _0x395833=_0x2a831e[_0x5bc8a9(0x142)]['execute'](_0x166f37,_0x415364[_0x5bc8a9(0x1a7)],_0x415364['ivSize'],_0x2a831e[_0x5bc8a9(0x3b7)],_0x2a831e[_0x5bc8a9(0x24c)]);_0x2a831e['iv']=_0x395833['iv'];var _0x230138=_0x3ace5e[_0x5bc8a9(0x1f6)][_0x5bc8a9(0x25f)](this,_0x415364,_0x54a6d3,_0x395833['key'],_0x2a831e);return _0x230138[_0x5bc8a9(0x35e)](_0x395833),_0x230138;},'decrypt':function(_0x1f6eea,_0x951290,_0x4be3c5,_0xa35d98){var _0x4e6496=_0x2e8f86;_0xa35d98=this[_0x4e6496(0x2de)][_0x4e6496(0x1a9)](_0xa35d98),_0x951290=this[_0x4e6496(0x24a)](_0x951290,_0xa35d98['format']);var _0x513683=_0xa35d98[_0x4e6496(0x142)][_0x4e6496(0x352)](_0x4be3c5,_0x1f6eea[_0x4e6496(0x1a7)],_0x1f6eea[_0x4e6496(0x310)],_0x951290['salt'],_0xa35d98[_0x4e6496(0x24c)]);_0xa35d98['iv']=_0x513683['iv'];var _0x2f0a43=_0x3ace5e[_0x4e6496(0x175)][_0x4e6496(0x25f)](this,_0x1f6eea,_0x951290,_0x513683[_0x4e6496(0x376)],_0xa35d98);return _0x2f0a43;}});}();}));}(Je)),Je[_0x1be4c7(0x320)];}var mn=Ve[_0x45e643(0x320)],ti;function In(){var _0x1c908e=_0x45e643;return ti||(ti=0x1,function(_0x4e2068,_0x146838){(function(_0x31973d,_0xc5ef57,_0xda8187){var _0x276467=_0x464f;_0x4e2068[_0x276467(0x320)]=_0xc5ef57(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x47623e){var _0x55fd49=_0x464f;return(function(){var _0x4d9b28=_0x464f,_0x227768=_0x47623e,_0x423335=_0x227768[_0x4d9b28(0x141)],_0x33597f=_0x423335[_0x4d9b28(0x19f)],_0xe9fb66=_0x227768['algo'],_0x26d77b=[],_0x507e9f=[],_0x3e6036=[],_0x540dd0=[],_0x384843=[],_0xbe6ff7=[],_0x84edff=[],_0x238036=[],_0x4e61e5=[],_0x16d31d=[];(function(){for(var _0x1191ae=[],_0x449177=0x0;_0x449177<0x100;_0x449177++)_0x449177<0x80?_0x1191ae[_0x449177]=_0x449177<<0x1:_0x1191ae[_0x449177]=_0x449177<<0x1^0x11b;for(var _0x5e102e=0x0,_0x266ff7=0x0,_0x449177=0x0;_0x449177<0x100;_0x449177++){var _0x35f238=_0x266ff7^_0x266ff7<<0x1^_0x266ff7<<0x2^_0x266ff7<<0x3^_0x266ff7<<0x4;_0x35f238=_0x35f238>>>0x8^_0x35f238&0xff^0x63,_0x26d77b[_0x5e102e]=_0x35f238,_0x507e9f[_0x35f238]=_0x5e102e;var _0x379209=_0x1191ae[_0x5e102e],_0x3df18a=_0x1191ae[_0x379209],_0xa5e081=_0x1191ae[_0x3df18a],_0x1b6125=_0x1191ae[_0x35f238]*0x101^_0x35f238*0x1010100;_0x3e6036[_0x5e102e]=_0x1b6125<<0x18|_0x1b6125>>>0x8,_0x540dd0[_0x5e102e]=_0x1b6125<<0x10|_0x1b6125>>>0x10,_0x384843[_0x5e102e]=_0x1b6125<<0x8|_0x1b6125>>>0x18,_0xbe6ff7[_0x5e102e]=_0x1b6125;var _0x1b6125=_0xa5e081*0x1010101^_0x3df18a*0x10001^_0x379209*0x101^_0x5e102e*0x1010100;_0x84edff[_0x35f238]=_0x1b6125<<0x18|_0x1b6125>>>0x8,_0x238036[_0x35f238]=_0x1b6125<<0x10|_0x1b6125>>>0x10,_0x4e61e5[_0x35f238]=_0x1b6125<<0x8|_0x1b6125>>>0x18,_0x16d31d[_0x35f238]=_0x1b6125,_0x5e102e?(_0x5e102e=_0x379209^_0x1191ae[_0x1191ae[_0x1191ae[_0xa5e081^_0x379209]]],_0x266ff7^=_0x1191ae[_0x1191ae[_0x266ff7]]):_0x5e102e=_0x266ff7=0x1;}}());var _0x30023c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x196b2a=_0xe9fb66[_0x4d9b28(0x209)]=_0x33597f['extend']({'_doReset':function(){var _0x37a731=_0x4d9b28,_0x58e7c2;if(!(this[_0x37a731(0x2f9)]&&this[_0x37a731(0x2a8)]===this[_0x37a731(0x29a)])){for(var _0x405d6d=this[_0x37a731(0x2a8)]=this[_0x37a731(0x29a)],_0x250707=_0x405d6d[_0x37a731(0x109)],_0x549456=_0x405d6d[_0x37a731(0x176)]/0x4,_0x55db65=this[_0x37a731(0x2f9)]=_0x549456+0x6,_0x47b3c1=(_0x55db65+0x1)*0x4,_0x2a8472=this[_0x37a731(0x125)]=[],_0x242d5f=0x0;_0x242d5f<_0x47b3c1;_0x242d5f++)_0x242d5f<_0x549456?_0x2a8472[_0x242d5f]=_0x250707[_0x242d5f]:(_0x58e7c2=_0x2a8472[_0x242d5f-0x1],_0x242d5f%_0x549456?_0x549456>0x6&&_0x242d5f%_0x549456==0x4&&(_0x58e7c2=_0x26d77b[_0x58e7c2>>>0x18]<<0x18|_0x26d77b[_0x58e7c2>>>0x10&0xff]<<0x10|_0x26d77b[_0x58e7c2>>>0x8&0xff]<<0x8|_0x26d77b[_0x58e7c2&0xff]):(_0x58e7c2=_0x58e7c2<<0x8|_0x58e7c2>>>0x18,_0x58e7c2=_0x26d77b[_0x58e7c2>>>0x18]<<0x18|_0x26d77b[_0x58e7c2>>>0x10&0xff]<<0x10|_0x26d77b[_0x58e7c2>>>0x8&0xff]<<0x8|_0x26d77b[_0x58e7c2&0xff],_0x58e7c2^=_0x30023c[_0x242d5f/_0x549456|0x0]<<0x18),_0x2a8472[_0x242d5f]=_0x2a8472[_0x242d5f-_0x549456]^_0x58e7c2);for(var _0x16fa34=this[_0x37a731(0x1ae)]=[],_0x51444b=0x0;_0x51444b<_0x47b3c1;_0x51444b++){var _0x242d5f=_0x47b3c1-_0x51444b;if(_0x51444b%0x4)var _0x58e7c2=_0x2a8472[_0x242d5f];else var _0x58e7c2=_0x2a8472[_0x242d5f-0x4];_0x51444b<0x4||_0x242d5f<=0x4?_0x16fa34[_0x51444b]=_0x58e7c2:_0x16fa34[_0x51444b]=_0x84edff[_0x26d77b[_0x58e7c2>>>0x18]]^_0x238036[_0x26d77b[_0x58e7c2>>>0x10&0xff]]^_0x4e61e5[_0x26d77b[_0x58e7c2>>>0x8&0xff]]^_0x16d31d[_0x26d77b[_0x58e7c2&0xff]];}}},'encryptBlock':function(_0x217239,_0x20ce15){var _0x468f7b=_0x4d9b28;this[_0x468f7b(0x2a7)](_0x217239,_0x20ce15,this[_0x468f7b(0x125)],_0x3e6036,_0x540dd0,_0x384843,_0xbe6ff7,_0x26d77b);},'decryptBlock':function(_0x5f3137,_0x4e45b6){var _0x440ca2=_0x4d9b28,_0x14ce05=_0x5f3137[_0x4e45b6+0x1];_0x5f3137[_0x4e45b6+0x1]=_0x5f3137[_0x4e45b6+0x3],_0x5f3137[_0x4e45b6+0x3]=_0x14ce05,this[_0x440ca2(0x2a7)](_0x5f3137,_0x4e45b6,this['_invKeySchedule'],_0x84edff,_0x238036,_0x4e61e5,_0x16d31d,_0x507e9f);var _0x14ce05=_0x5f3137[_0x4e45b6+0x1];_0x5f3137[_0x4e45b6+0x1]=_0x5f3137[_0x4e45b6+0x3],_0x5f3137[_0x4e45b6+0x3]=_0x14ce05;},'_doCryptBlock':function(_0x58d03d,_0x58effd,_0x21b17d,_0x5a1536,_0x227346,_0x19f99f,_0xc036b4,_0x18a567){var _0x2ce3a1=_0x4d9b28;for(var _0x32c7e5=this[_0x2ce3a1(0x2f9)],_0x46bfcc=_0x58d03d[_0x58effd]^_0x21b17d[0x0],_0x4c1f3f=_0x58d03d[_0x58effd+0x1]^_0x21b17d[0x1],_0x22c3c5=_0x58d03d[_0x58effd+0x2]^_0x21b17d[0x2],_0x136f3a=_0x58d03d[_0x58effd+0x3]^_0x21b17d[0x3],_0x98e505=0x4,_0x1f53a4=0x1;_0x1f53a4<_0x32c7e5;_0x1f53a4++){var _0x50b5e8=_0x5a1536[_0x46bfcc>>>0x18]^_0x227346[_0x4c1f3f>>>0x10&0xff]^_0x19f99f[_0x22c3c5>>>0x8&0xff]^_0xc036b4[_0x136f3a&0xff]^_0x21b17d[_0x98e505++],_0x5c4a42=_0x5a1536[_0x4c1f3f>>>0x18]^_0x227346[_0x22c3c5>>>0x10&0xff]^_0x19f99f[_0x136f3a>>>0x8&0xff]^_0xc036b4[_0x46bfcc&0xff]^_0x21b17d[_0x98e505++],_0x4764d9=_0x5a1536[_0x22c3c5>>>0x18]^_0x227346[_0x136f3a>>>0x10&0xff]^_0x19f99f[_0x46bfcc>>>0x8&0xff]^_0xc036b4[_0x4c1f3f&0xff]^_0x21b17d[_0x98e505++],_0x3ac12f=_0x5a1536[_0x136f3a>>>0x18]^_0x227346[_0x46bfcc>>>0x10&0xff]^_0x19f99f[_0x4c1f3f>>>0x8&0xff]^_0xc036b4[_0x22c3c5&0xff]^_0x21b17d[_0x98e505++];_0x46bfcc=_0x50b5e8,_0x4c1f3f=_0x5c4a42,_0x22c3c5=_0x4764d9,_0x136f3a=_0x3ac12f;}var _0x50b5e8=(_0x18a567[_0x46bfcc>>>0x18]<<0x18|_0x18a567[_0x4c1f3f>>>0x10&0xff]<<0x10|_0x18a567[_0x22c3c5>>>0x8&0xff]<<0x8|_0x18a567[_0x136f3a&0xff])^_0x21b17d[_0x98e505++],_0x5c4a42=(_0x18a567[_0x4c1f3f>>>0x18]<<0x18|_0x18a567[_0x22c3c5>>>0x10&0xff]<<0x10|_0x18a567[_0x136f3a>>>0x8&0xff]<<0x8|_0x18a567[_0x46bfcc&0xff])^_0x21b17d[_0x98e505++],_0x4764d9=(_0x18a567[_0x22c3c5>>>0x18]<<0x18|_0x18a567[_0x136f3a>>>0x10&0xff]<<0x10|_0x18a567[_0x46bfcc>>>0x8&0xff]<<0x8|_0x18a567[_0x4c1f3f&0xff])^_0x21b17d[_0x98e505++],_0x3ac12f=(_0x18a567[_0x136f3a>>>0x18]<<0x18|_0x18a567[_0x46bfcc>>>0x10&0xff]<<0x10|_0x18a567[_0x4c1f3f>>>0x8&0xff]<<0x8|_0x18a567[_0x22c3c5&0xff])^_0x21b17d[_0x98e505++];_0x58d03d[_0x58effd]=_0x50b5e8,_0x58d03d[_0x58effd+0x1]=_0x5c4a42,_0x58d03d[_0x58effd+0x2]=_0x4764d9,_0x58d03d[_0x58effd+0x3]=_0x3ac12f;},'keySize':0x100/0x20});_0x227768[_0x4d9b28(0x209)]=_0x33597f[_0x4d9b28(0x300)](_0x196b2a);}()),_0x47623e[_0x55fd49(0x209)];}));}(Ve)),Ve[_0x1c908e(0x320)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe[_0x45e643(0x320)],si;function Rn(){var _0x151279=_0x45e643;return si||(si=0x1,function(_0x3a792f,_0x1586ee){(function(_0x45c943,_0xaa5247){var _0x5acd19=_0x464f;_0x3a792f[_0x5acd19(0x320)]=_0xaa5247(ie());}(On,function(_0x578447){var _0x214324=_0x464f;return _0x578447[_0x214324(0x1d5)][_0x214324(0x24e)];}));}(Xe)),Xe[_0x151279(0x320)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze['exports'],ni;function Dn(){return ni||(ni=0x1,function(_0xddfc3d,_0x51ae47){(function(_0x2a8850,_0x170069){var _0x190e6e=_0x464f;_0xddfc3d[_0x190e6e(0x320)]=_0x170069(ie());}(bn,function(_0x56f4fa){var _0x5526bf=_0x464f;return(function(){var _0x3fb045=_0x464f;if(typeof ArrayBuffer=='function'){var _0x5380d7=_0x56f4fa,_0x1f2490=_0x5380d7[_0x3fb045(0x141)],_0x221a77=_0x1f2490[_0x3fb045(0x399)],_0x13f36c=_0x221a77[_0x3fb045(0x110)],_0x47d5aa=_0x221a77[_0x3fb045(0x110)]=function(_0xf18d10){var _0x57b2d5=_0x3fb045;if(_0xf18d10 instanceof ArrayBuffer&&(_0xf18d10=new Uint8Array(_0xf18d10)),(_0xf18d10 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf18d10 instanceof Uint8ClampedArray||_0xf18d10 instanceof Int16Array||_0xf18d10 instanceof Uint16Array||_0xf18d10 instanceof Int32Array||_0xf18d10 instanceof Uint32Array||_0xf18d10 instanceof Float32Array||_0xf18d10 instanceof Float64Array)&&(_0xf18d10=new Uint8Array(_0xf18d10[_0x57b2d5(0x220)],_0xf18d10[_0x57b2d5(0x208)],_0xf18d10[_0x57b2d5(0xbd)])),_0xf18d10 instanceof Uint8Array){for(var _0x462360=_0xf18d10[_0x57b2d5(0xbd)],_0x65820b=[],_0x371a57=0x0;_0x371a57<_0x462360;_0x371a57++)_0x65820b[_0x371a57>>>0x2]|=_0xf18d10[_0x371a57]<<0x18-_0x371a57%0x4*0x8;_0x13f36c[_0x57b2d5(0x25f)](this,_0x65820b,_0x462360);}else _0x13f36c[_0x57b2d5(0x2ac)](this,arguments);};_0x47d5aa[_0x3fb045(0x1d6)]=_0x221a77;}}()),_0x56f4fa[_0x5526bf(0x141)]['WordArray'];}));}(Ze)),Ze['exports'];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x45e643(0x320)],ri;function Pn(){var _0x3bb5ee=_0x45e643;return ri||(ri=0x1,function(_0x396f15,_0x3372a5){(function(_0x5b476d,_0x2fee3e,_0x2fa6c6){var _0x2b8ef6=_0x464f;_0x396f15[_0x2b8ef6(0x320)]=_0x2fee3e(ie(),Ni());}(An,function(_0x3d5c0d){var _0xf25079=_0x464f;return _0x3d5c0d[_0xf25079(0x296)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3d5c0d[_0xf25079(0x296)]['NoPadding'];}));}(Qe)),Qe[_0x3bb5ee(0x320)];}var wn=Pn();const Mn=$e(wn);function Ln(_0x88b076,_0x397938){var _0x362f0=_0x45e643;const _0x4040ae=_0x397938-_0x88b076[_0x362f0(0x122)]%_0x397938,_0x495f20=String[_0x362f0(0x230)](_0x4040ae)[_0x362f0(0xde)](_0x4040ae);return _0x88b076+_0x495f20;}function xn(_0x1a7872,_0x436e86){var _0x13abde=_0x45e643;const _0x1c96e1=Un[_0x13abde(0x20f)](0x10),_0x4fc86b=Ln(_0x1a7872,0x10),_0x592e2e=gn[_0x13abde(0x1f6)](Nn[_0x13abde(0x187)](_0x4fc86b),ii[_0x13abde(0x187)](_0x436e86),{'iv':_0x1c96e1,'padding':Mn});return _0x1c96e1['concat'](_0x592e2e[_0x13abde(0x165)])[_0x13abde(0x332)](ii);}function kn(){var _0x160663=_0x45e643;const _0x4e057d=_0x55aa63()[_0x160663(0xd1)];if(_0x4e057d){const _0x2ee986={'time':Math[_0x160663(0x3a0)](Date[_0x160663(0x348)]()/0x3e8),'domain':location[_0x160663(0x2b0)]};return xn(JSON[_0x160663(0x1e2)](_0x2ee986),_0x4e057d);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x2b373b,_0x2da5cf,_0x466a73,_0x44e80a)=>{for(var _0x35749a=_0x44e80a>0x1?void 0x0:_0x44e80a?$n(_0x2da5cf,_0x466a73):_0x2da5cf,_0x2fa179=_0x2b373b['length']-0x1,_0x43b630;_0x2fa179>=0x0;_0x2fa179--)(_0x43b630=_0x2b373b[_0x2fa179])&&(_0x35749a=_0x43b630(_0x35749a)||_0x35749a);return _0x35749a;},Bn=(_0x292185,_0x21f32b)=>(_0x3eae2a,_0x2cfb5f)=>_0x21f32b(_0x3eae2a,_0x2cfb5f,_0x292185);let at=class{constructor(_0x4dc1b7){var _0x3ec163=_0x45e643;this[_0x3ec163(0x19c)]=_0x4dc1b7,this[_0x3ec163(0x238)]();}[_0x45e643(0x238)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x5e431c,_0x33c461)=>{var _0x3a7233=_0x464f;const _0x284bea=_0x5e431c['headers'],_0x29fae6=kn();return _0x29fae6&&_0x284bea[_0x3a7233(0x38b)]('x-univer-host',_0x29fae6),_0x33c461(_0x5e431c);}});}};at=Hn([Bn(0x0,_0x1de629(_0x437952))],at);var Fn=Object[_0x45e643(0x368)],jn=(_0x50d6a4,_0x4f83be,_0x47bdc1,_0x1a86fc)=>{for(var _0x4d0868=_0x1a86fc>0x1?void 0x0:_0x1a86fc?Fn(_0x4f83be,_0x47bdc1):_0x4f83be,_0x5d8f4f=_0x50d6a4['length']-0x1,_0x65c9df;_0x5d8f4f>=0x0;_0x5d8f4f--)(_0x65c9df=_0x50d6a4[_0x5d8f4f])&&(_0x4d0868=_0x65c9df(_0x4d0868)||_0x4d0868);return _0x4d0868;},vt=(_0x410868,_0x1b4cc9)=>(_0x449123,_0x2e20a3)=>_0x1b4cc9(_0x449123,_0x2e20a3,_0x410868);let Ot=class extends _0x403ba5{constructor(_0x2448f4,_0x583914,_0x49eaaf){var _0x5cd67f=_0x45e643;super(),D(this,_0x5cd67f(0x33f),new _0x27518c(null)),D(this,'unitInfo$',this['_unitInfo$'][_0x5cd67f(0x2f8)]()),(this[_0x5cd67f(0x1d4)]=_0x2448f4,this['_snapshotService']=_0x583914,this[_0x5cd67f(0x359)]=_0x49eaaf);}async[_0x45e643(0x3b4)](_0x6b3bbb,_0x4f0a0c,_0x6e8cd6){var _0x1e74ca=_0x45e643;this['_unitInfo$']['next']({'unitId':_0x6b3bbb,'type':_0x4f0a0c});let _0xc8a69b=null;switch(_0x4f0a0c){case Q['UNIVER_SHEET']:{_0xc8a69b=await this[_0x1e74ca(0xf8)][_0x1e74ca(0x134)](_0x6b3bbb,_0x6e8cd6);break;}case Q[_0x1e74ca(0x3a2)]:{_0xc8a69b=await this['_snapshotService'][_0x1e74ca(0x15f)](_0x6b3bbb,_0x6e8cd6);break;}default:{this[_0x1e74ca(0x1d4)][_0x1e74ca(0x28e)](_0x1e74ca(0x2ce),_0x1e74ca(0x2ff));break;}}return _0xc8a69b;}async[_0x45e643(0x380)](_0x121603,_0x1cf056,_0x570347){var _0x362704=_0x45e643,_0x392219;this[_0x362704(0x33f)][_0x362704(0x14e)]({'unitId':_0x121603,'type':_0x1cf056,'subUnitId':_0x570347});let _0x1bc320=0x0;const _0x447f76=await((_0x392219=this[_0x362704(0x359)])==null?void 0x0:_0x392219['loadOfflineData'](_0x121603));return _0x447f76&&(_0x447f76['awaitingChangeset']||_0x447f76[_0x362704(0x12f)]['length']!==0x0)&&(_0x1bc320=_0x447f76[_0x362704(0x288)]),_0x1bc320===0x0&&this['_logService']['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x362704(0x3b4)](_0x121603,_0x1cf056,_0x1bc320);}};Ot=jn([vt(0x0,_0x5b6bbd),vt(0x1,_0x1de629(_0xc52791)),vt(0x2,_0x217f28(J))],Ot);var Vn=Object[_0x45e643(0x368)],Gn=(_0xf17e53,_0x2be4fe,_0x199ec5,_0x4ca895)=>{for(var _0x44ed1b=_0x4ca895>0x1?void 0x0:_0x4ca895?Vn(_0x2be4fe,_0x199ec5):_0x2be4fe,_0x115f89=_0xf17e53['length']-0x1,_0x5a1484;_0x115f89>=0x0;_0x115f89--)(_0x5a1484=_0xf17e53[_0x115f89])&&(_0x44ed1b=_0x5a1484(_0x44ed1b)||_0x44ed1b);return _0x44ed1b;},pt=(_0x52e70f,_0x2d9246)=>(_0x54b248,_0x3979e2)=>_0x2d9246(_0x54b248,_0x3979e2,_0x52e70f);const Wn=[_0x45e643(0x272),_0x45e643(0x1fb),_0x45e643(0x225),_0x45e643(0x1dd),'image/bmp'],Yn=0x5*0x400*0x400,Kn=_0x45e643(0x18b),qn=_0x45e643(0x2ef);let Rt=class{constructor(_0x364fcf,_0x19ef97,_0x23e041){var _0x358b4e=_0x45e643;D(this,_0x358b4e(0x1ea),0x0),D(this,_0x358b4e(0x1b5),new _0x470ab9()),D(this,_0x358b4e(0x197),this[_0x358b4e(0x1b5)]),D(this,_0x358b4e(0x18c),new Map()),(this[_0x358b4e(0x19c)]=_0x364fcf,this[_0x358b4e(0x261)]=_0x19ef97,this[_0x358b4e(0x33b)]=_0x23e041);}[_0x45e643(0x28b)](_0x801cc0){var _0x28419f=_0x45e643;this['_waitCount']=_0x801cc0,this[_0x28419f(0x1b5)]['next'](_0x801cc0);}[_0x45e643(0x248)](_0x1f61c3,_0x3802cb){var _0x25d73e=_0x45e643;if(_0x3802cb===_0x131833[_0x25d73e(0xff)]){const _0xdd5e8=new Image();return _0xdd5e8['src']=_0x1f61c3,_0xdd5e8;}return this[_0x25d73e(0x18c)]['get'](_0x1f61c3);}[_0x45e643(0x28d)](_0x4e9364,_0xfbb49f,_0x65230b){var _0x10bdb4=_0x45e643;_0xfbb49f===_0x131833[_0x10bdb4(0xff)]||_0x65230b==null||this[_0x10bdb4(0x18c)][_0x10bdb4(0x38b)](_0x4e9364,_0x65230b);}async[_0x45e643(0x2a6)](_0x3784b3){var _0x447ec8=_0x45e643;try{const _0x5cf3a3=this[_0x447ec8(0xe7)](this[_0x447ec8(0x14d)](),''+_0x3784b3),_0x3c9944=(await this[_0x447ec8(0x19c)][_0x447ec8(0x1d2)](_0x5cf3a3))['body'];if(_0x3c9944['error']&&_0x3c9944[_0x447ec8(0x28e)][_0x447ec8(0x12b)]===vi['OK']){const _0x4c51de=new URL(_0x3c9944[_0x447ec8(0x2ea)],this[_0x447ec8(0x181)]())[_0x447ec8(0x332)]();return Promise[_0x447ec8(0x311)](_0x4c51de);}return Promise['reject'](_0x3c9944[_0x447ec8(0x28e)]);}catch(_0x2e9417){return Promise['reject'](_0x2e9417);}}async[_0x45e643(0x2e5)](_0x1b2657){var _0x4921d4=_0x45e643;let _0x9876d8='';if(!Wn[_0x4921d4(0x38c)](_0x1b2657[_0x4921d4(0x2a3)]))return this[_0x4921d4(0x340)](),Promise[_0x4921d4(0x3b5)](new Error(_0x242bd1['ERROR_IMAGE_TYPE']));if(_0x1b2657[_0x4921d4(0x185)]>Yn)return this[_0x4921d4(0x340)](),Promise[_0x4921d4(0x3b5)](new Error(_0x242bd1[_0x4921d4(0x3c9)]));try{const _0x3bce0f=new FormData();_0x3bce0f['append']('file',_0x1b2657);const _0x2bd68b=this[_0x4921d4(0x33b)][_0x4921d4(0x1c7)](),_0x4a40b0=_0x2bd68b==null?void 0x0:_0x2bd68b['getUnitId']();if(!_0x4a40b0)throw new Error(_0x4921d4(0x13a));const _0x5c121f=this[_0x4921d4(0x319)]()+_0x4921d4(0x256)+_0x1b2657['size'][_0x4921d4(0x332)]()+'&source='+pi[_0x4921d4(0x292)]+_0x4921d4(0x1da)+encodeURIComponent(_0x4a40b0),_0xf63208={'body':_0x3bce0f},_0xe2d1cf=(await this['_httpService'][_0x4921d4(0x27b)](_0x5c121f,_0xf63208))[_0x4921d4(0xd2)];if(typeof _0xe2d1cf[_0x4921d4(0x1db)]!=_0x4921d4(0x312))return this[_0x4921d4(0x340)](),Promise[_0x4921d4(0x3b5)](new Error(_0x242bd1[_0x4921d4(0x2c5)]));_0x9876d8=_0xe2d1cf[_0x4921d4(0x1db)];}catch{return this[_0x4921d4(0x340)](),Promise[_0x4921d4(0x3b5)](new Error(_0x242bd1[_0x4921d4(0x2c5)]));}return new Promise((_0x3b1399,_0x3f542a)=>{const _0x3eae5b=new FileReader();_0x3eae5b['readAsDataURL'](_0x1b2657),_0x3eae5b['onload']=_0x19b015=>{var _0x23e473=_0x464f,_0x17918d;const _0x5b08c1=(_0x17918d=_0x19b015['target'])==null?void 0x0:_0x17918d[_0x23e473(0x308)];if(_0x5b08c1==null){this[_0x23e473(0x340)](),_0x3f542a(new Error(_0x242bd1[_0x23e473(0x2c5)]));return;}const _0x442bc3=_0xab3376(0x6);_0x3b1399({'imageId':_0x442bc3,'imageSourceType':_0x131833[_0x23e473(0x24f)],'source':_0x9876d8,'base64Cache':_0x5b08c1,'status':_0x242bd1[_0x23e473(0x16b)]}),this[_0x23e473(0x340)]();};});}['_getUploadFileURL'](){var _0x1ced20=_0x45e643,_0x235f75;const _0x40599e=this[_0x1ced20(0x261)][_0x1ced20(0x3be)](K);return(_0x235f75=_0x40599e==null?void 0x0:_0x40599e[_0x1ced20(0xcd)])!=null?_0x235f75:Kn;}[_0x45e643(0x14d)](){var _0x4e3032=_0x45e643,_0x46177b;const _0x343273=this[_0x4e3032(0x261)][_0x4e3032(0x3be)](K);return(_0x46177b=_0x343273==null?void 0x0:_0x343273[_0x4e3032(0x200)])!=null?_0x46177b:qn;}[_0x45e643(0x181)](){var _0x494800=_0x45e643,_0x2e1a55;const _0x3f8614=this[_0x494800(0x261)]['getConfig'](K);return(_0x2e1a55=_0x3f8614==null?void 0x0:_0x3f8614['downloadEndpointUrl'])!=null?_0x2e1a55:location[_0x494800(0x252)];}['_replaceFileID'](_0x409615,_0x44c0d7){var _0x45a6fa=_0x45e643;return _0x409615['replace'](_0x45a6fa(0x2a0),_0x44c0d7);}[_0x45e643(0x340)](){var _0x11820e=_0x45e643;this[_0x11820e(0x1ea)]-=0x1,this[_0x11820e(0x1b5)]['next'](this[_0x11820e(0x1ea)]);}};Rt=Gn([pt(0x0,_0x1de629(_0x437952)),pt(0x1,_0xbfff8e),pt(0x2,_0x1de629(_0x1ae1de))],Rt);function _0x464f(_0x210032,_0x29247e){var _0x32f3ae=_0x32f3();return _0x464f=function(_0x464f66,_0x3af07b){_0x464f66=_0x464f66-0xb6;var _0x108da8=_0x32f3ae[_0x464f66];return _0x108da8;},_0x464f(_0x210032,_0x29247e);}var zn=Object[_0x45e643(0x368)],Jn=(_0x45b731,_0x5b1a0a,_0x3c3515,_0x165467)=>{var _0x4aafa4=_0x45e643;for(var _0x3c55b5=_0x165467>0x1?void 0x0:_0x165467?zn(_0x5b1a0a,_0x3c3515):_0x5b1a0a,_0x614dde=_0x45b731[_0x4aafa4(0x122)]-0x1,_0x27ab44;_0x614dde>=0x0;_0x614dde--)(_0x27ab44=_0x45b731[_0x614dde])&&(_0x3c55b5=_0x27ab44(_0x3c55b5)||_0x3c55b5);return _0x3c55b5;},ai=(_0x2e43a4,_0x230158)=>(_0x31b750,_0x20a790)=>_0x230158(_0x31b750,_0x20a790,_0x2e43a4);const Xn=_0x45e643(0x210);let Ct=class{constructor(_0x46d474,_0x159a8c){var _0x1b3a72=_0x45e643;this['_configService']=_0x46d474,this[_0x1b3a72(0x38a)]=_0x159a8c;}['_getAPIPrefixPath'](){var _0x58a344=_0x45e643,_0x41c828;const _0x18b700=this['_configService'][_0x58a344(0x3be)](K);return(_0x41c828=_0x18b700==null?void 0x0:_0x18b700[_0x58a344(0x160)])!=null?_0x41c828:Xn;}async[_0x45e643(0x281)](_0xb0052c){var _0x226d3f=_0x45e643;const _0x485713=this['_getAPIPrefixPath']()+_0x226d3f(0x1ed);return{'list':[{'title':_0x226d3f(0x11e),'mentions':(await this[_0x226d3f(0x38a)][_0x226d3f(0x1d2)](_0x485713,{'params':{'objectID':_0xb0052c[_0x226d3f(0x304)],'unitID':_0xb0052c['unitId']}}))[_0x226d3f(0xd2)][_0x226d3f(0x299)][_0x226d3f(0x25a)](_0x245800=>({'objectId':_0x245800['id'],'name':_0x245800['subject']['name'],'metadata':{'icon':_0x245800['subject'][_0x226d3f(0x386)]},'label':_0x245800[_0x226d3f(0x355)][_0x226d3f(0x30a)],'objectType':_0x59c6c0['PERSON']})),'metadata':{},'type':_0x59c6c0[_0x226d3f(0x384)]}]};}};Ct=Jn([ai(0x0,_0x1de629(_0xbfff8e)),ai(0x1,_0x1de629(_0x437952))],Ct);var Zn=Object[_0x45e643(0x368)],Qn=(_0x4f3b9d,_0x392225,_0x237adc,_0x144daf)=>{for(var _0xf1de6f=_0x144daf>0x1?void 0x0:_0x144daf?Zn(_0x392225,_0x237adc):_0x392225,_0x5cf8c7=_0x4f3b9d['length']-0x1,_0x2612f6;_0x5cf8c7>=0x0;_0x5cf8c7--)(_0x2612f6=_0x4f3b9d[_0x5cf8c7])&&(_0xf1de6f=_0x2612f6(_0xf1de6f)||_0xf1de6f);return _0xf1de6f;},Ue=(_0x1e5dd8,_0x4aa505)=>(_0x6d4860,_0x5c85f2)=>_0x4aa505(_0x6d4860,_0x5c85f2,_0x1e5dd8);let ot=class extends _0x403ba5{constructor(_0x18bf90,_0x40a294,_0x409bd1,_0x251ee4,_0x290b58){var _0x1106db=_0x45e643;super(),this['_injector']=_0x18bf90,this[_0x1106db(0x33b)]=_0x40a294,this['_permissionService']=_0x409bd1,this[_0x1106db(0x2d6)]=_0x251ee4,this['_collaborationUIEventService']=_0x290b58,this[_0x1106db(0x358)](),this['_initCloseConn']();}[_0x45e643(0x1a1)](){var _0x6e056a=_0x45e643;const _0xf533ca=async _0x101231=>{var _0x2ecaec=_0x464f;(await this[_0x2ecaec(0x2d6)]['requireSession'](_0x101231))[_0x2ecaec(0x2c9)][_0x2ecaec(0x2f0)](_0x9f9a43(_0x53bb10=>_0x53bb10[_0x2ecaec(0x107)]===_0x2f9ecd[_0x2ecaec(0x2fc)]),_0x3b11e3(this['dispose$']))[_0x2ecaec(0x13d)](_0x4b1575=>{var _0x467f91=_0x2ecaec;const _0x3f0470=_0x4b1575,{reason:_0x3b1e9f}=_0x3f0470['data'];this[_0x467f91(0x334)][_0x467f91(0x2b1)]({'id':re['CLOSE_ROOM'],'data':_0x3b1e9f}),this[_0x467f91(0xc3)][_0x467f91(0x228)](new _0x396f7e(_0x101231)['id'],!0x1),this['_collaborationSessionService'][_0x467f91(0x2c2)](_0x101231);});};_0x4bc367(this['_univerInstanceService'][_0x6e056a(0x246)](_0x7a183a[_0x6e056a(0x240)]),this[_0x6e056a(0x33b)][_0x6e056a(0x246)](_0x7a183a['UNIVER_DOC']))['pipe'](_0x22b088(_0x53897f=>_0x53897f['getUnitId']()),_0x9f9a43(_0x4e7ef8=>!_0x593cb3(_0x4e7ef8)),_0x3b11e3(this[_0x6e056a(0x392)]))[_0x6e056a(0x13d)](_0x5b2f92=>{_0xf533ca(_0x5b2f92);});}['_initUnitPermissionChange'](){var _0x4292b7=_0x45e643;const _0x472c5f=async _0x12ec4a=>{var _0x32fcbe=_0x464f;const _0x22ae06=await this[_0x32fcbe(0x2d6)][_0x32fcbe(0x20e)](_0x12ec4a),_0x46520b=this[_0x32fcbe(0x29c)][_0x32fcbe(0x1d2)](_0xf590fe);_0x22ae06[_0x32fcbe(0x2c9)]['pipe'](_0x9f9a43(_0x150916=>_0x150916[_0x32fcbe(0x107)]===_0x2f9ecd[_0x32fcbe(0x211)]),_0x3b11e3(this[_0x32fcbe(0x392)]))[_0x32fcbe(0x13d)](_0x14b24b=>{var _0x36ffbc=_0x32fcbe;const _0x295871=_0x14b24b,{objectId:_0x1d04d4}=_0x295871[_0x36ffbc(0x2eb)];_0x1d04d4===_0x12ec4a?_0x46520b[_0x36ffbc(0x119)](_0x12ec4a):_0x46520b[_0x36ffbc(0x22c)](_0x12ec4a,_0x1d04d4);});};_0x4bc367(this[_0x4292b7(0x33b)][_0x4292b7(0x246)](_0x7a183a[_0x4292b7(0x240)]))[_0x4292b7(0x2f0)](_0x22b088(_0x54de9a=>_0x54de9a[_0x4292b7(0x3ca)]()),_0x9f9a43(_0x1e9130=>!_0x593cb3(_0x1e9130)),_0x3b11e3(this[_0x4292b7(0x392)]))[_0x4292b7(0x13d)](_0x15ebd7=>{_0x472c5f(_0x15ebd7);});}};ot=Qn([Ue(0x0,_0x1de629(_0x45738c)),Ue(0x1,_0x1ae1de),Ue(0x2,_0x4f5acc),Ue(0x3,_0x1de629(we)),Ue(0x4,_0x1de629(ve))],ot);var er=Object[_0x45e643(0x368)],tr=(_0x5d97c4,_0x2eb69f,_0x3b83f3,_0x564c06)=>{var _0x2d59cb=_0x45e643;for(var _0x546faa=_0x564c06>0x1?void 0x0:_0x564c06?er(_0x2eb69f,_0x3b83f3):_0x2eb69f,_0x249089=_0x5d97c4[_0x2d59cb(0x122)]-0x1,_0xed9f8;_0x249089>=0x0;_0x249089--)(_0xed9f8=_0x5d97c4[_0x249089])&&(_0x546faa=_0xed9f8(_0x546faa)||_0x546faa);return _0x546faa;},oi=(_0x1439b6,_0x33e443)=>(_0x5562e9,_0x319111)=>_0x33e443(_0x5562e9,_0x319111,_0x1439b6);let Nt=class{constructor(_0x363f56,_0x5410fc){var _0x35b6f4=_0x45e643;this[_0x35b6f4(0x261)]=_0x363f56,this['_httpService']=_0x5410fc;}async[_0x45e643(0x2bc)](_0x26aaac,_0x418158){var _0x6e789e=_0x45e643,_0x39369b;const {unitID:_0x27af3a,type:_0xea22d7,revision:_0x4604d7=0x0}=_0x418158,_0xb79d60=this['getSnapshotAPIPath']()+'/'+_0xea22d7+_0x6e789e(0x3b9)+_0x27af3a+_0x6e789e(0x2ca)+_0x4604d7,_0x48dfcf=(await this[_0x6e789e(0x19c)][_0x6e789e(0x1d2)](_0xb79d60))['body'],_0x14046c=(_0x39369b=_0x48dfcf['snapshot'])==null?void 0x0:_0x39369b[_0x6e789e(0xb7)];if(_0x14046c){const _0x13efd8=_0x14046c==null?void 0x0:_0x14046c[_0x6e789e(0x227)],_0xa79f93=_0x84ca4e['encode'](_0x337a58(_0x13efd8));_0x14046c['originalMeta']=_0xa79f93,Object[_0x6e789e(0x157)](_0x14046c[_0x6e789e(0x395)])[_0x6e789e(0xcb)](([,_0x391c19])=>{var _0x325722=_0x6e789e;const _0xc20012=_0x391c19[_0x325722(0x227)],_0x532030=_0x84ca4e['encode'](_0x337a58(_0xc20012));_0x391c19['originalMeta']=_0x532030;});}return _0x48dfcf;}async[_0x45e643(0x143)](_0x15af7d,_0x374552){var _0x1dc748=_0x45e643;const {unitID:_0xf9998a,type:_0x34fc5a,blockID:_0x22cb06}=_0x374552,_0x594dc3=this[_0x1dc748(0x2ec)]()+'/'+_0x34fc5a+_0x1dc748(0x3b9)+_0xf9998a+'/block/'+_0x22cb06;return(await this[_0x1dc748(0x19c)][_0x1dc748(0x1d2)](_0x594dc3))[_0x1dc748(0xd2)];}async[_0x45e643(0x156)](_0x4e3380,_0x1f7d9f){var _0x4f96e7=_0x45e643;const {unitID:_0x5bda71,type:_0x145f9e,blockID:_0x538da4}=_0x1f7d9f,_0x1200a1=this[_0x4f96e7(0x2ec)]()+_0x4f96e7(0xed)+_0x145f9e+_0x4f96e7(0x3b9)+_0x5bda71+'/block/'+_0x538da4;return(await this[_0x4f96e7(0x19c)][_0x4f96e7(0x1d2)](_0x1200a1))['body'];}async[_0x45e643(0x2c0)](_0xcdb687,_0x191445){var _0x319d1b=_0x45e643;const {unitID:_0x422267,type:_0x313143,from:_0x4e7328,to:_0x1f58f7}=_0x191445,_0x44645d=this[_0x319d1b(0x2ec)]()+'/'+_0x313143+_0x319d1b(0x3b9)+_0x422267+_0x319d1b(0x263)+_0x4e7328+_0x319d1b(0x150)+_0x1f58f7;return(await this[_0x319d1b(0x19c)][_0x319d1b(0x1d2)](_0x44645d))[_0x319d1b(0xd2)];}[_0x45e643(0x21a)](){var _0x57c22d=_0x45e643,_0x40dd42;return(_0x40dd42=this[_0x57c22d(0x261)]['getConfig'](vs))!=null?_0x40dd42:this[_0x57c22d(0x2ec)]();}['_getAPIPrefix'](){var _0x4f39c1=_0x45e643,_0x2e3772;const _0xb5a76c=this['_configService'][_0x4f39c1(0x3be)](K);return(_0x2e3772=_0xb5a76c==null?void 0x0:_0xb5a76c[_0x4f39c1(0xf6)])!=null?_0x2e3772:fs;}async[_0x45e643(0x38f)](_0xd37a61,_0x51bd2c){var _0xe21cc6=_0x45e643;const _0x171133='/universer-api/snapshot/'+_0x51bd2c[_0xe21cc6(0x2a3)]+_0xe21cc6(0x3b9)+_0x51bd2c['unitID']+'/resources';return(await this['_httpService'][_0xe21cc6(0x1d2)](_0x171133,{'params':{'resourceId':JSON[_0xe21cc6(0x1e2)](_0x51bd2c[_0xe21cc6(0xbf)])}}))[_0xe21cc6(0xd2)];}[_0x45e643(0xc4)](){var _0x14a526=_0x45e643;throw new Error(_0x14a526(0x115));}[_0x45e643(0x10c)](){var _0x5499bb=_0x45e643;throw new Error(_0x5499bb(0x115));}[_0x45e643(0x106)](){var _0x9f5d86=_0x45e643;throw new Error(_0x9f5d86(0x115));}[_0x45e643(0x237)](){var _0x1599f8=_0x45e643;throw new Error(_0x1599f8(0x115));}[_0x45e643(0x1c2)](){var _0x5aea02=_0x45e643;throw new Error(_0x5aea02(0x115));}[_0x45e643(0x2d7)](){var _0x4b522f=_0x45e643;throw new Error(_0x4b522f(0x115));}};Nt=tr([oi(0x0,_0xbfff8e),oi(0x1,_0x1de629(_0x437952))],Nt);var ir=Object[_0x45e643(0x368)],sr=(_0xfa2839,_0x4ca70a,_0x157a32,_0x297485)=>{var _0x2136c6=_0x45e643;for(var _0x145d21=_0x297485>0x1?void 0x0:_0x297485?ir(_0x4ca70a,_0x157a32):_0x4ca70a,_0x208b47=_0xfa2839[_0x2136c6(0x122)]-0x1,_0x44bdb3;_0x208b47>=0x0;_0x208b47--)(_0x44bdb3=_0xfa2839[_0x208b47])&&(_0x145d21=_0x44bdb3(_0x145d21)||_0x145d21);return _0x145d21;},Ae=(_0x5ceb1f,_0x17e9dd)=>(_0x4ca663,_0x29782e)=>_0x17e9dd(_0x4ca663,_0x29782e,_0x5ceb1f);let bt=class extends _0x48e55a{constructor(_0x2a9985,_0x2b06c5,_0x2f56e2,_0xd7ed5,_0x3408e9){var _0x458cca=_0x45e643;super(_0x2a9985,_0x2b06c5,_0x2f56e2),this[_0x458cca(0x1e6)]=_0xd7ed5,this[_0x458cca(0x1d4)]=_0x3408e9;}[_0x45e643(0x1a0)](_0x22992c,_0x3f05bd){var _0x14ba6b=_0x45e643;const _0x31fbdc=this[_0x14ba6b(0x22b)](_0x22992c);if(_0x31fbdc)try{const _0x1ef357=this[_0x14ba6b(0xee)](_0x31fbdc,_0x3f05bd);this['_substituteUndoStack'](_0x22992c,_0x1ef357);}catch(_0x207ba6){this['_logService'][_0x14ba6b(0x28e)](_0x14ba6b(0xdd),_0x207ba6),this[_0x14ba6b(0x1f2)](_0x22992c);}const _0x19229a=this[_0x14ba6b(0x166)](_0x22992c);if(_0x19229a)try{const _0x5819ba=this[_0x14ba6b(0xee)](_0x19229a,_0x3f05bd);this[_0x14ba6b(0x22f)](_0x22992c,_0x5819ba);}catch(_0x4a97af){this['_logService'][_0x14ba6b(0x28e)](_0x4a97af),this[_0x14ba6b(0x1ab)](_0x22992c);}}[_0x45e643(0x1f2)](_0x42ae6f){var _0x9b2bae=_0x45e643;const _0x63eae4=this[_0x9b2bae(0x22b)](_0x42ae6f);_0x63eae4&&(_0x63eae4[_0x9b2bae(0x122)]=0x0,this[_0x9b2bae(0x21d)]());}['_clearRedo'](_0x36f7fe){var _0x58d7c8=_0x45e643;const _0x1710f4=this[_0x58d7c8(0x166)](_0x36f7fe);_0x1710f4&&(_0x1710f4[_0x58d7c8(0x122)]=0x0,this['_updateStatus']());}[_0x45e643(0x147)](_0x3849e1,_0x4966ec){var _0x1fbb2f=_0x45e643;this[_0x1fbb2f(0x1b1)][_0x1fbb2f(0x38b)](_0x3849e1,_0x4966ec),this[_0x1fbb2f(0x21d)]();}[_0x45e643(0x22f)](_0x5a47f6,_0x500dd6){var _0x82cdfb=_0x45e643;this[_0x82cdfb(0x1c4)]['set'](_0x5a47f6,_0x500dd6),this[_0x82cdfb(0x21d)]();}['_transformStack'](_0x5cd3b9,_0x259851){var _0x2b54f5=_0x45e643;const _0x27f0b4=[];let _0x43321a=_0x259851,_0x5cfc4c=_0x259851;for(let _0x4c5dab=_0x5cd3b9['length']-0x1;_0x4c5dab>=0x0;_0x4c5dab--){const {unitID:_0x2ddb13,undoMutations:_0x398f10,redoMutations:_0x2c15e0}=_0x5cd3b9[_0x4c5dab],_0x546f98=this[_0x2b54f5(0x1e6)]['transformMutationsWithChangeset'](_0x43321a,_0x398f10),_0xb3347c=this[_0x2b54f5(0x1e6)]['transformMutationsWithChangeset'](_0x5cfc4c,_0x2c15e0);if(_0x29dc98(_0x546f98)||_0x29dc98(_0xb3347c)){this[_0x2b54f5(0x1d4)][_0x2b54f5(0x28e)](_0x2b54f5(0xdd),_0x2b54f5(0x1e3),_0x546f98,_0xb3347c);break;}_0x43321a=_0x546f98[_0x2b54f5(0x2a1)],_0x5cfc4c=_0xb3347c[_0x2b54f5(0x2a1)],_0x27f0b4['push']({'unitID':_0x2ddb13,'undoMutations':_0x546f98[_0x2b54f5(0x186)],'redoMutations':_0xb3347c[_0x2b54f5(0x186)]});}return _0x27f0b4[_0x2b54f5(0x19b)]();}};bt=sr([Ae(0x0,_0x1ae1de),Ae(0x1,_0x4dc804),Ae(0x2,_0x2cb234),Ae(0x3,_0x95d3ab),Ae(0x4,_0x5b6bbd)],bt);var nr=Object[_0x45e643(0x168)],rr=Object[_0x45e643(0x368)],ar=(_0x4d87ed,_0x3cc0bd,_0x1b059a)=>_0x3cc0bd in _0x4d87ed?nr(_0x4d87ed,_0x3cc0bd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b059a}):_0x4d87ed[_0x3cc0bd]=_0x1b059a,or=(_0x5095c0,_0x20aa5b,_0x10e0cd,_0x2ad5d4)=>{var _0x3cd473=_0x45e643;for(var _0x1d1f1b=_0x2ad5d4>0x1?void 0x0:_0x2ad5d4?rr(_0x20aa5b,_0x10e0cd):_0x20aa5b,_0x1ce48a=_0x5095c0[_0x3cd473(0x122)]-0x1,_0x42ae0c;_0x1ce48a>=0x0;_0x1ce48a--)(_0x42ae0c=_0x5095c0[_0x1ce48a])&&(_0x1d1f1b=_0x42ae0c(_0x1d1f1b)||_0x1d1f1b);return _0x1d1f1b;},Et=(_0x4e3777,_0x96c934)=>(_0x5d2707,_0x6b0b26)=>_0x96c934(_0x5d2707,_0x6b0b26,_0x4e3777),cr=(_0x5c9414,_0x140e37,_0x675301)=>ar(_0x5c9414,_0x140e37+'',_0x675301);const _r='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x2e2c13{constructor(_0x41cc9a,_0x10792e,_0x21fe1e,_0x54f2f7){var _0x42224a=_0x45e643;super(),D(this,_0x42224a(0x1c3)),(this[_0x42224a(0x1d4)]=_0x10792e,this[_0x42224a(0x29c)]=_0x21fe1e,this[_0x42224a(0x261)]=_0x54f2f7);const {..._0x1ea49a}=_0x26fd68({},Ls,_0x41cc9a);if(!_0x1ea49a[_0x42224a(0x30e)])throw new Error(_0x42224a(0x3a6));this[_0x42224a(0x1c3)]=_0x1ea49a,this[_0x42224a(0x261)][_0x42224a(0x36c)](K,_0x1ea49a);}['onStarting'](){var _0x48cfdf=_0x45e643;this[_0x48cfdf(0x335)](),this[_0x48cfdf(0x118)]();}[_0x45e643(0x335)](){var _0x5839cf=_0x45e643,_0x450fe4,_0x11f0a4;this[_0x5839cf(0x29c)]['has'](_0x50fa79)&&this[_0x5839cf(0x1d4)][_0x5839cf(0x28e)]('[UniverCollaborationClientPlugin]',_0x5839cf(0x163));const _0x5c95af=_0x4155d6([[_0x50fa79,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this['_config'][_0x5839cf(0x30e)]}],[_0x16dda0,{'useClass':Nt}],[_0x50ce05,{'useClass':Tt}],[_0xa7d6fd,{'useClass':Rt}],[_0x1a85c3,{'useClass':Ct}],[nt],[gt]],(_0x450fe4=this['_config'])==null?void 0x0:_0x450fe4[_0x5839cf(0x194)]);if(!((_0x11f0a4=this[_0x5839cf(0x1c3)])!=null&&_0x11f0a4[_0x5839cf(0xfd)])){const _0x417a01=_0x5c95af['findIndex'](([_0x2b0266])=>_0x2b0266===_t);_0x417a01!==-0x1&&_0x5c95af[_0x5839cf(0x298)](_0x417a01,0x1);}_0x3272b1(this[_0x5839cf(0x29c)],_0x5c95af);}[_0x45e643(0x118)](){var _0x5bf03a=_0x45e643,_0x401ce9,_0x65f3dd,_0x1eb52e;this[_0x5bf03a(0x29c)][_0x5bf03a(0x1d2)](_0x437952)[_0x5bf03a(0x1a3)]({'priority':0x14,'interceptor':_0x1a8e9d({'maxParallel':0x6})}),(_0x401ce9=this[_0x5bf03a(0x1c3)])!=null&&_0x401ce9['enableOfflineEditing']||(_0x65f3dd=this[_0x5bf03a(0x29c)][_0x5bf03a(0x1d2)](J,_0x486da7[_0x5bf03a(0xf5)]))==null||_0x65f3dd[_0x5bf03a(0x1f8)](),(_0x1eb52e=this[_0x5bf03a(0x1c3)])!=null&&_0x1eb52e[_0x5bf03a(0x3c6)]&&_0x2d515f(this[_0x5bf03a(0x29c)],[[rt]]),_0x2d515f(this['_injector'],[[at],[nt],[ot]]);}};cr(Dt,_0x45e643(0x3a9),_r),Dt=or([_0x3ab96c(_0x47ca8c,_0x87b933),Et(0x1,_0x5b6bbd),Et(0x2,_0x1de629(_0x45738c)),Et(0x3,_0xbfff8e)],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,Fs 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,js as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};