@univerjs-pro/collaboration-client 0.15.2-insiders.20260122-b1556b1 → 0.15.2-insiders.20260124-12fc7f0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +9 -9
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x57ebea=_0x5a33;(function(_0x1705f1,_0x492c26){var _0x329125=_0x5a33,_0x5734e5=_0x1705f1();while(!![]){try{var _0x26e87b=parseInt(_0x329125(0x325))/0x1*(parseInt(_0x329125(0x1fe))/0x2)+-parseInt(_0x329125(0x194))/0x3*(-parseInt(_0x329125(0x2aa))/0x4)+-parseInt(_0x329125(0x1e7))/0x5+parseInt(_0x329125(0x27c))/0x6+-parseInt(_0x329125(0x441))/0x7+-parseInt(_0x329125(0x391))/0x8*(parseInt(_0x329125(0x459))/0x9)+-parseInt(_0x329125(0x2a8))/0xa;if(_0x26e87b===_0x492c26)break;else _0x5734e5['push'](_0x5734e5['shift']());}catch(_0x1fc7ef){_0x5734e5['push'](_0x5734e5['shift']());}}}(_0x3257,0xae49a));var Di=Object[_0x57ebea(0x1da)],yi=(_0x3b807d,_0x3bf95c,_0x5230af)=>_0x3bf95c in _0x3b807d?Di(_0x3b807d,_0x3bf95c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5230af}):_0x3b807d[_0x3bf95c]=_0x5230af,D=(_0x1b5691,_0x43ede8,_0x1c39d0)=>yi(_0x1b5691,typeof _0x43ede8!='symbol'?_0x43ede8+'':_0x43ede8,_0x1c39d0);import{CollaborationEvent as _0x427891,ITransformService as _0x411c6c,isTransformMutationsWithChangesetSuccess as _0x506829,mapDocumentTypeToUniverType as _0x2ce901,RevisionService as _0x1a89bb,isTransformChangesetsSuccess as _0x24a204,EmptyMutationInfo as _0xe9608b,CompressMutationService as _0x3ec077,parseProtocolChangeset as _0x4301fa,uuidv4 as _0x440c2a,ISnapshotServerService as _0x4d28e8,parseChangesetToProtocol as _0x24b872,SnapshotService as _0x555d9,textEncoder as _0x5c83c7,b64DecodeUnicode as _0x5a4419,isTransformMutationsWithChangesetFailure as _0x24fa3a,UniverCollaborationPlugin as _0x53d603}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xde0007,Inject as _0xd9eea8,UserManagerService as _0x181324,Disposable as _0x396fad,UniverInstanceType as _0x3d0f32,ILogService as _0x395070,IConfigService as _0x218bfc,Optional as _0x4761ab,RxDisposable as _0xdd442f,createIdentifier as _0x51449a,Injector as _0xa5b871,Tools as _0x18e049,Rectangle as _0xcaff84,ICommandService as _0x146b0f,JSONX as _0x1ae2a2,IUndoRedoService as _0x3d9a42,IPermissionService as _0x54b0d9,LocaleService as _0x28b880,sequenceExecute as _0x4f8491,toDisposable as _0x920f1a,CommandType as _0x7655d0,DisposableCollection as _0x81af46,Workbook as _0x148482,resolveWithBasePath as _0x45cc0e,generateRandomId as _0x36b9dc,MentionType as _0x504adb,isInternalEditorID as _0x30a55c,LocalUndoRedoService as _0x5c6473,IContextService as _0x8c9c87,DependentOn as _0x4bd723,Plugin as _0x24dda5,merge as _0x18d54f,mergeOverrideWithDependencies as _0x32dfe5,IAuthzIoService as _0x2df7f1,IMentionIOService as _0x17c0ae,registerDependencies as _0x2d70a4,Quantity as _0x4e93f3,touchDependencies as _0x3c0e82}from'@univerjs/core';import{RichTextEditingMutation as _0x3de14f}from'@univerjs/docs';import{SheetsSelectionsService as _0x328d66,SetSelectionsOperation as _0x10452a,InsertSheetMutation as _0x5b6dd7,WorkbookEditablePermission as _0x108f1a,SheetPermissionInitController as _0x47e6b5}from'@univerjs/sheets';import{Subject as _0x244912,merge as _0xad8c79,of as _0x1ac9d2,BehaviorSubject as _0x4e139f,takeUntil as _0x1eb31f,ReplaySubject as _0x652f3,take as _0x5cf086,map as _0x464432,shareReplay as _0x54609a,firstValueFrom as _0x274940,concatMap as _0xce9a5e}from'rxjs';import{ITelemetryService as _0x4e0327}from'@univerjs/telemetry';import{map as _0xd5a8e5,take as _0x28466d,filter as _0x39a069,delay as _0x2f97fd,takeUntil as _0x1a3065}from'rxjs/operators';import{HTTPService as _0x3e703e,ISocketService as _0x35aa36,MergeInterceptorFactory as _0x344d51,HTTPRequest as _0x5e21a9,UniverNetworkPlugin as _0x3d3879,ThresholdInterceptorFactory as _0x55867b}from'@univerjs/network';import{ImageSourceType as _0x274230,ImageUploadStatusType as _0x4481fb,IImageIoService as _0x33f95c}from'@univerjs/drawing';import{getGlobalObject as _0xb166fe}from'@univerjs-pro/license';const Es=_0x57ebea(0x25d),ps=_0x57ebea(0x367),ms=0x7d0,Is=_0x57ebea(0x262),Or='/universer-api/user/session-ticket',Ss=_0x57ebea(0x2d7),gs=0x7530,di=_0x57ebea(0x311),fi=0x4e20,Ts=0x4e20,Os=_0x57ebea(0x29b),Rs=0x3,Rr=_0x57ebea(0x41c),Nr=0x3e8,Ns=_0x57ebea(0x3fd),Cs=_0x57ebea(0x21f),Cr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',br=_0x57ebea(0x373);var vi=(_0x2b8996=>(_0x2b8996[_0x2b8996[_0x57ebea(0x3f8)]=0x0]=_0x57ebea(0x3f8),_0x2b8996[_0x2b8996['OK']=0x1]='OK',_0x2b8996[_0x2b8996[_0x57ebea(0x3b9)]=0x2]=_0x57ebea(0x3b9),_0x2b8996[_0x2b8996[_0x57ebea(0x1b9)]=0x3]='PERMISSION_DENIED',_0x2b8996[_0x2b8996[_0x57ebea(0x281)]=0x4]=_0x57ebea(0x281),_0x2b8996[_0x2b8996[_0x57ebea(0x169)]=0x5]=_0x57ebea(0x169),_0x2b8996[_0x2b8996['ALREADY_EXISTS']=0x6]=_0x57ebea(0x2ec),_0x2b8996[_0x2b8996[_0x57ebea(0x425)]=0x7]=_0x57ebea(0x425),_0x2b8996[_0x2b8996['TOO_MANY_REQUESTS']=0x8]=_0x57ebea(0x334),_0x2b8996[_0x2b8996[_0x57ebea(0x1a8)]=0x9]=_0x57ebea(0x1a8),_0x2b8996[_0x2b8996['LOGIN_FAILED']=0xa]=_0x57ebea(0x1d4),_0x2b8996[_0x2b8996[_0x57ebea(0x14c)]=0xb]=_0x57ebea(0x14c),_0x2b8996[_0x2b8996[_0x57ebea(0x38f)]=0xc]=_0x57ebea(0x38f),_0x2b8996[_0x2b8996['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2b8996[_0x2b8996[_0x57ebea(0x376)]=0xe]=_0x57ebea(0x376),_0x2b8996[_0x2b8996[_0x57ebea(0x289)]=0xf]=_0x57ebea(0x289),_0x2b8996[_0x2b8996[_0x57ebea(0x426)]=0x10]=_0x57ebea(0x426),_0x2b8996[_0x2b8996[_0x57ebea(0x328)]=0x64]=_0x57ebea(0x328),_0x2b8996[_0x2b8996['ERROR_AGAIN']=0x65]=_0x57ebea(0x3b6),_0x2b8996[_0x2b8996[_0x57ebea(0x164)]=0xc9]='USER_NOT_FOUND',_0x2b8996[_0x2b8996['USER_IS_ANONYMOUS']=0xca]=_0x57ebea(0x303),_0x2b8996[_0x2b8996['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x57ebea(0x2e5),_0x2b8996[_0x2b8996[_0x57ebea(0x3c9)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2b8996[_0x2b8996['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2b8996[_0x2b8996[_0x57ebea(0x2b4)]=0x1773]=_0x57ebea(0x2b4),_0x2b8996[_0x2b8996[_0x57ebea(0x1de)]=0x1b59]=_0x57ebea(0x1de),_0x2b8996[_0x2b8996[_0x57ebea(0x237)]=0x1b5a]=_0x57ebea(0x237),_0x2b8996[_0x2b8996[_0x57ebea(0x160)]=0x1b5b]=_0x57ebea(0x160),_0x2b8996[_0x2b8996[_0x57ebea(0x316)]=0x1b5c]=_0x57ebea(0x316),_0x2b8996[_0x2b8996[_0x57ebea(0x158)]=0x1b5d]=_0x57ebea(0x158),_0x2b8996[_0x2b8996[_0x57ebea(0x2e7)]=0x1f41]=_0x57ebea(0x2e7),_0x2b8996[_0x2b8996[_0x57ebea(0x353)]=0x2329]=_0x57ebea(0x353),_0x2b8996[_0x2b8996[_0x57ebea(0x1e5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2b8996[_0x2b8996[_0x57ebea(0x269)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2b8996[_0x2b8996['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x57ebea(0x41e),_0x2b8996[_0x2b8996[_0x57ebea(0x2c7)]=0x232d]=_0x57ebea(0x2c7),_0x2b8996[_0x2b8996['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x57ebea(0x456),_0x2b8996[_0x2b8996[_0x57ebea(0x223)]=0x2712]=_0x57ebea(0x223),_0x2b8996[_0x2b8996['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2b8996[_0x2b8996[_0x57ebea(0x306)]=0x2714]=_0x57ebea(0x306),_0x2b8996[_0x2b8996[_0x57ebea(0x26e)]=0x271a]=_0x57ebea(0x26e),_0x2b8996[_0x2b8996[_0x57ebea(0x155)]=0x271b]=_0x57ebea(0x155),_0x2b8996[_0x2b8996[_0x57ebea(0x236)]=0x271c]=_0x57ebea(0x236),_0x2b8996[_0x2b8996[_0x57ebea(0x330)]=0x271d]=_0x57ebea(0x330),_0x2b8996[_0x2b8996[_0x57ebea(0x225)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2b8996[_0x2b8996[_0x57ebea(0x1ae)]=0x271f]=_0x57ebea(0x1ae),_0x2b8996[_0x2b8996[_0x57ebea(0x2a0)]=0x2720]=_0x57ebea(0x2a0),_0x2b8996[_0x2b8996[_0x57ebea(0x1bf)]=0x2af9]=_0x57ebea(0x1bf),_0x2b8996[_0x2b8996[_0x57ebea(0x1c4)]=0x2ee1]=_0x57ebea(0x1c4),_0x2b8996[_0x2b8996['INVALID_INVITE_CODE']=0x2ee2]=_0x57ebea(0x402),_0x2b8996[_0x2b8996[_0x57ebea(0x15b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2b8996[_0x2b8996[_0x57ebea(0x40c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2b8996[_0x2b8996[_0x57ebea(0x228)]=0x2ee5]=_0x57ebea(0x228),_0x2b8996[_0x2b8996[_0x57ebea(0x362)]=0x32c9]=_0x57ebea(0x362),_0x2b8996[_0x2b8996['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x57ebea(0x33e),_0x2b8996[_0x2b8996['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x57ebea(0x1aa),_0x2b8996[_0x2b8996['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x57ebea(0x419),_0x2b8996[_0x2b8996[_0x57ebea(0x2d0)]=0x36b2]=_0x57ebea(0x2d0),_0x2b8996[_0x2b8996[_0x57ebea(0x36e)]=0x36b3]=_0x57ebea(0x36e),_0x2b8996[_0x2b8996[_0x57ebea(0x349)]=0x36b4]=_0x57ebea(0x349),_0x2b8996[_0x2b8996[_0x57ebea(0x3ce)]=0x36b5]=_0x57ebea(0x3ce),_0x2b8996[_0x2b8996['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x57ebea(0x3e6),_0x2b8996[_0x2b8996[_0x57ebea(0x3a3)]=0x36b7]=_0x57ebea(0x3a3),_0x2b8996[_0x2b8996['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x57ebea(0x44a),_0x2b8996[_0x2b8996[_0x57ebea(0x2a4)]=0x3715]=_0x57ebea(0x2a4),_0x2b8996[_0x2b8996['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2b8996[_0x2b8996['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x57ebea(0x30a),_0x2b8996[_0x2b8996[_0x57ebea(0x258)]=0x37dd]=_0x57ebea(0x258),_0x2b8996[_0x2b8996[_0x57ebea(0x1fc)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2b8996[_0x2b8996[_0x57ebea(0x438)]=0x3a9a]=_0x57ebea(0x438),_0x2b8996[_0x2b8996[_0x57ebea(0x16b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x2b8996[_0x2b8996[_0x57ebea(0x407)]=0x3a9c]=_0x57ebea(0x407),_0x2b8996[_0x2b8996['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x57ebea(0x2b3),_0x2b8996[_0x2b8996['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x57ebea(0x15a),_0x2b8996[_0x2b8996[_0x57ebea(0x3f7)]=0x3a9f]=_0x57ebea(0x3f7),_0x2b8996[_0x2b8996['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x57ebea(0x248),_0x2b8996[_0x2b8996[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x2b8996))(vi||{}),Q=(_0x4d73c0=>(_0x4d73c0[_0x4d73c0['UNIVER_UNKNOWN']=0x0]=_0x57ebea(0x2c0),_0x4d73c0[_0x4d73c0[_0x57ebea(0x234)]=0x1]='UNIVER_DOC',_0x4d73c0[_0x4d73c0['UNIVER_SHEET']=0x2]=_0x57ebea(0x382),_0x4d73c0[_0x4d73c0[_0x57ebea(0x1b5)]=0x3]='UNIVER_SLIDE',_0x4d73c0[_0x4d73c0[_0x57ebea(0x25b)]=0x4]=_0x57ebea(0x25b),_0x4d73c0[_0x4d73c0['UNRECOGNIZED']=-0x1]=_0x57ebea(0x34f),_0x4d73c0))(Q||{}),j=(_0x34f736=>(_0x34f736[_0x34f736[_0x57ebea(0x20a)]=0x0]=_0x57ebea(0x20a),_0x34f736[_0x34f736[_0x57ebea(0x321)]=0x1]=_0x57ebea(0x321),_0x34f736[_0x34f736[_0x57ebea(0x212)]=0x2]=_0x57ebea(0x212),_0x34f736[_0x34f736[_0x57ebea(0x432)]=0x3]='LEAVE',_0x34f736[_0x34f736[_0x57ebea(0x3c5)]=0x4]='INGEST',_0x34f736[_0x34f736[_0x57ebea(0x27a)]=0x5]=_0x57ebea(0x27a),_0x34f736[_0x34f736['RECV']=0x6]=_0x57ebea(0x18f),_0x34f736[_0x34f736[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x34f736))(j||{}),Ee=(_0x7c94ea=>(_0x7c94ea[_0x7c94ea[_0x57ebea(0x156)]=0x0]='UNKNOWN_CODE',_0x7c94ea[_0x7c94ea['OK']=0x1]='OK',_0x7c94ea[_0x7c94ea[_0x57ebea(0x2da)]=0x2]=_0x57ebea(0x2da),_0x7c94ea[_0x7c94ea[_0x57ebea(0x339)]=0x3e9]=_0x57ebea(0x339),_0x7c94ea[_0x7c94ea[_0x57ebea(0x3e9)]=0x3ea]=_0x57ebea(0x3e9),_0x7c94ea[_0x7c94ea['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x7c94ea[_0x7c94ea['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x57ebea(0x22d),_0x7c94ea[_0x7c94ea[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x7c94ea))(Ee||{}),Ei=(_0x7149d=>(_0x7149d[_0x7149d[_0x57ebea(0x2fa)]=0x0]=_0x57ebea(0x2fa),_0x7149d[_0x7149d[_0x57ebea(0x36b)]=0x1]=_0x57ebea(0x36b),_0x7149d[_0x7149d['HttpExport']=0x2]=_0x57ebea(0x17b),_0x7149d[_0x7149d[_0x57ebea(0x315)]=0x3]=_0x57ebea(0x315),_0x7149d[_0x7149d['UnitSnapshot']=0x4]='UnitSnapshot',_0x7149d[_0x7149d[_0x57ebea(0x24a)]=0x5]=_0x57ebea(0x24a),_0x7149d[_0x7149d[_0x57ebea(0x38c)]=0x6]=_0x57ebea(0x38c),_0x7149d[_0x7149d[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x7149d))(Ei||{});const bs=_0x57ebea(0x2a9);function Ds(_0x3053ed){var _0x145dc9=_0x57ebea;return JSON[_0x145dc9(0x3fb)](_0x3053ed)['length'];}var re=(_0x4febdc=>(_0x4febdc[_0x57ebea(0x1e1)]=_0x57ebea(0x1e1),_0x4febdc[_0x57ebea(0x1b9)]=_0x57ebea(0x1b9),_0x4febdc['CONFLICT']=_0x57ebea(0x39e),_0x4febdc[_0x57ebea(0x35c)]=_0x57ebea(0x35c),_0x4febdc[_0x57ebea(0x43e)]=_0x57ebea(0x43e),_0x4febdc[_0x57ebea(0x2db)]='SOCKET_FAILED_RETRY',_0x4febdc[_0x57ebea(0x2f1)]=_0x57ebea(0x2f1),_0x4febdc[_0x57ebea(0x153)]='SUBMIT_CHANGESET_TIMEOUT',_0x4febdc))(re||{});class ve{constructor(){var _0x53f781=_0x57ebea;D(this,_0x53f781(0x319),new _0x244912()),D(this,_0x53f781(0x3a4),this[_0x53f781(0x319)]['asObservable']());}[_0x57ebea(0x37b)](_0x23b616){var _0x520787=_0x57ebea;this[_0x520787(0x319)]['next'](_0x23b616);}}class pi{constructor(){var _0x176244=_0x57ebea;D(this,_0x176244(0x3b5),new _0x244912()),D(this,_0x176244(0x2ef),this[_0x176244(0x3b5)][_0x176244(0x2c5)]());}['onCommentUpdate'](_0x18397a){var _0x4f6a96=_0x57ebea;this[_0x4f6a96(0x3b5)][_0x4f6a96(0x372)](_0x18397a);}}var ys=Object[_0x57ebea(0x1a9)],Us=(_0xf5a6c5,_0x1bf9e2,_0x2cae7b,_0x48d5af)=>{for(var _0x1293fa=_0x48d5af>0x1?void 0x0:_0x48d5af?ys(_0x1bf9e2,_0x2cae7b):_0x1bf9e2,_0x171197=_0xf5a6c5['length']-0x1,_0x438270;_0x171197>=0x0;_0x171197--)(_0x438270=_0xf5a6c5[_0x171197])&&(_0x1293fa=_0x438270(_0x1293fa)||_0x1293fa);return _0x1293fa;},Ft=(_0x45bd0d,_0x43e532)=>(_0x2219cf,_0xf9098c)=>_0x43e532(_0x2219cf,_0xf9098c,_0x45bd0d);let Pe=class extends _0x396fad{constructor(_0x58d600,_0x771243){var _0x3d091e=_0x57ebea;super(),D(this,'_roomMembers',new Map()),D(this,_0x3d091e(0x3a6),new _0x244912()),(this['_univerInstanceService']=_0x58d600,this[_0x3d091e(0x3e1)]=_0x771243,this[_0x3d091e(0x24e)](_0xad8c79(this['_univerInstanceService'][_0x3d091e(0x152)](_0x3d0f32[_0x3d091e(0x382)])['pipe'](_0xd5a8e5(_0x562b2e=>_0x562b2e[_0x3d091e(0x1c3)]())),this[_0x3d091e(0x26b)][_0x3d091e(0x152)](_0x3d0f32[_0x3d091e(0x234)])[_0x3d091e(0x165)](_0xd5a8e5(_0x421ae2=>_0x421ae2[_0x3d091e(0x1c3)]())),this[_0x3d091e(0x26b)][_0x3d091e(0x152)](_0x3d0f32[_0x3d091e(0x1b5)])[_0x3d091e(0x165)](_0xd5a8e5(_0x190678=>_0x190678[_0x3d091e(0x1c3)]())))[_0x3d091e(0x3dc)](_0x22e84a=>this[_0x3d091e(0x38b)](_0x22e84a))));}[_0x57ebea(0x17c)](_0x55e7fb){var _0x12ef51=_0x57ebea;return this[_0x12ef51(0x1a0)]['has'](_0x55e7fb)?_0x1ac9d2(this[_0x12ef51(0x1a0)][_0x12ef51(0x19b)](_0x55e7fb)):this[_0x12ef51(0x3a6)][_0x12ef51(0x165)](_0xd5a8e5(_0x9920d1=>{var _0x3ac93e=_0x12ef51;if(_0x9920d1===_0x55e7fb)return this[_0x3ac93e(0x1a0)][_0x3ac93e(0x19b)](_0x9920d1);}));}[_0x57ebea(0x1cd)](_0xcb06ac){var _0x42526d=_0x57ebea;this['_userManagerService'][_0x42526d(0x1cd)](_0xcb06ac);}['getCurrentUser'](){var _0x391405=_0x57ebea;return this[_0x391405(0x3e1)][_0x391405(0x297)]();}[_0x57ebea(0x16e)](_0x4cc734,_0xa19a34){var _0x178e62=_0x57ebea;let _0x2b967f=this[_0x178e62(0x1a0)][_0x178e62(0x19b)](_0x4cc734);_0x2b967f||(_0x2b967f=new As(),this['_roomMembers'][_0x178e62(0x375)](_0x4cc734,_0x2b967f),this[_0x178e62(0x3a6)][_0x178e62(0x372)](_0x4cc734)),_0x2b967f[_0x178e62(0x16e)](_0xa19a34);}['removeMember'](_0xaa831e,_0x1dcb85){var _0x2da5e8=_0x57ebea;const _0x1ceb65=this[_0x2da5e8(0x1a0)][_0x2da5e8(0x19b)](_0xaa831e);_0x1ceb65&&_0x1ceb65['removeMember'](_0x1dcb85);}[_0x57ebea(0x1be)](_0xd1bc14){return this['_roomMembers']['get'](_0xd1bc14);}[_0x57ebea(0x295)](_0x137da3,_0x561568){var _0x254930=_0x57ebea;const _0x1cca4a=this['_roomMembers'][_0x254930(0x19b)](_0x137da3);if(_0x1cca4a)return _0x1cca4a['getMember'](_0x561568);}['_removeRoom'](_0x54acc8){var _0x16d5b6=_0x57ebea;const _0x3dbfcb=this['_roomMembers']['get'](_0x54acc8);_0x3dbfcb&&(_0x3dbfcb['dispose'](),this[_0x16d5b6(0x1a0)][_0x16d5b6(0x22e)](_0x54acc8));}[_0x57ebea(0x181)](){var _0x9689a7=_0x57ebea;this[_0x9689a7(0x1a0)][_0x9689a7(0x352)](_0x9f5f38=>_0x9f5f38[_0x9689a7(0x181)]()),this['_roomMembers'][_0x9689a7(0x2b7)](),this[_0x9689a7(0x3a6)]['complete']();}};Pe=Us([Ft(0x0,_0xde0007),Ft(0x1,_0xd9eea8(_0x181324))],Pe);class As extends _0x396fad{constructor(){var _0x2bcbff=_0x57ebea;super(...arguments),D(this,_0x2bcbff(0x33d),new Map()),D(this,'_members$',new _0x4e139f(this[_0x2bcbff(0x33d)])),D(this,'members$',this[_0x2bcbff(0x356)]['asObservable']());}[_0x57ebea(0x181)](){var _0x37a596=_0x57ebea;this[_0x37a596(0x33d)][_0x37a596(0x2b7)]();}[_0x57ebea(0x16e)](_0x41aad8){var _0x162527=_0x57ebea;this[_0x162527(0x33d)][_0x162527(0x375)](_0x41aad8['memberID'],_0x41aad8),this[_0x162527(0x41d)]();}[_0x57ebea(0x2d2)](_0x1cf52f){this['_members']['delete'](_0x1cf52f);}[_0x57ebea(0x295)](_0x21fb94){var _0x135b14=_0x57ebea;return this[_0x135b14(0x33d)][_0x135b14(0x19b)](_0x21fb94);}[_0x57ebea(0x1f0)](){var _0x443a75=_0x57ebea;return Array['from'](this[_0x443a75(0x33d)][_0x443a75(0x31b)]());}[_0x57ebea(0x41d)](){var _0x29e162=_0x57ebea;this[_0x29e162(0x356)]['next'](this[_0x29e162(0x33d)]);}}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0xed4ad6,_0x5c72c5,_0x9099b,_0x1586ef)=>{var _0x2fcfca=_0x57ebea;for(var _0x558193=_0x1586ef>0x1?void 0x0:_0x1586ef?Ps(_0x5c72c5,_0x9099b):_0x5c72c5,_0x399333=_0xed4ad6[_0x2fcfca(0x291)]-0x1,_0x1b56b2;_0x399333>=0x0;_0x399333--)(_0x1b56b2=_0xed4ad6[_0x399333])&&(_0x558193=_0x1b56b2(_0x558193)||_0x558193);return _0x558193;},Oe=(_0x36f9e1,_0x5a53ce)=>(_0x1bbe32,_0x47ba01)=>_0x5a53ce(_0x1bbe32,_0x47ba01,_0x36f9e1),me=(_0x18aee6=>(_0x18aee6[_0x18aee6[_0x57ebea(0x40a)]=0x0]=_0x57ebea(0x40a),_0x18aee6[_0x18aee6[_0x57ebea(0x31c)]=0x1]='JOINING',_0x18aee6[_0x18aee6[_0x57ebea(0x230)]=0x2]=_0x57ebea(0x230),_0x18aee6[_0x18aee6[_0x57ebea(0x2f7)]=0x3]='ONLINE',_0x18aee6))(me||{});const jt={[Ee['FAIL']]:_0x57ebea(0x3a9),[Ee[_0x57ebea(0x339)]]:_0x57ebea(0x337),[Ee[_0x57ebea(0x3e9)]]:_0x57ebea(0x242),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[Ee[_0x57ebea(0x22d)]]:'session.room-cnt-exceeds'};let mt=class extends _0xdd442f{constructor(_0x52e3ff,_0x1dc226,_0x4b8e80,_0x29a529,_0x1ed06b,_0x1ae81d,_0x5243dd,_0x5ee2aa){var _0x3da7f4=_0x57ebea;super(),D(this,'_sessionStatus$',new _0x4e139f(0x0)),D(this,_0x3da7f4(0x1e4),this[_0x3da7f4(0x2f8)]['asObservable']()),D(this,'_event$',new _0x244912()),D(this,_0x3da7f4(0x3a4),this['_event$']['asObservable']()),D(this,_0x3da7f4(0x235)),D(this,_0x3da7f4(0x430)),D(this,'_collaborationTimeoutTimer'),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x52e3ff,this[_0x3da7f4(0x3cc)]=_0x4b8e80,this['_configService']=_0x29a529,this[_0x3da7f4(0x2e6)]=_0x1ed06b,this['_commentService']=_0x1ae81d,this[_0x3da7f4(0x150)]=_0x5243dd,this[_0x3da7f4(0x226)]=_0x5ee2aa,this[_0x3da7f4(0x22a)]=!!this[_0x3da7f4(0x226)],_0x1dc226['pipe'](_0x1eb31f(this[_0x3da7f4(0x1c5)]))['subscribe'](_0x3dd079=>{var _0x29977a=_0x3da7f4,_0x26a78a;typeof _0x3dd079>'u'||(this[_0x29977a(0x235)]=_0x3dd079,_0x3dd079?(this[_0x29977a(0x19e)](_0x3dd079),this['_socketMessageSubscription']=_0x3dd079['message$'][_0x29977a(0x3dc)](_0x162c67=>{var _0xd331c6=_0x29977a;_0x162c67[_0xd331c6(0x41f)]===this[_0xd331c6(0x178)]&&this[_0xd331c6(0x2e8)](_0x162c67);})):(this[_0x29977a(0x318)](),this[_0x29977a(0x2f8)][_0x29977a(0x372)](0x2),(_0x26a78a=this['_socketMessageSubscription'])==null||_0x26a78a['unsubscribe'](),this[_0x29977a(0x430)]=null));}));}get[_0x57ebea(0x264)](){var _0x54cf26=_0x57ebea;return this[_0x54cf26(0x2f8)][_0x54cf26(0x254)]();}[_0x57ebea(0x387)](){var _0x57e34c=_0x57ebea,_0x485b76,_0x21df98;return(_0x21df98=(_0x485b76=this[_0x57e34c(0x235)])==null?void 0x0:_0x485b76[_0x57e34c(0x329)])!=null?_0x21df98:null;}['dispose'](){var _0x5c2ca9=_0x57ebea;super[_0x5c2ca9(0x181)](),this[_0x5c2ca9(0x1c5)][_0x5c2ca9(0x372)](),this['dispose$'][_0x5c2ca9(0x42a)]();}[_0x57ebea(0x29e)](){var _0x337d65=_0x57ebea,_0x1f746e,_0x12185c;this[_0x337d65(0x318)](),(_0x1f746e=this[_0x337d65(0x235)])==null||_0x1f746e[_0x337d65(0x2f5)]({'cmd':j[_0x337d65(0x432)],'data':{'roomID':this[_0x337d65(0x178)]}}),(_0x12185c=this['_socket'])==null||_0x12185c[_0x337d65(0x29e)](),this['_event$']['complete'](),this[_0x337d65(0x2f8)][_0x337d65(0x42a)](),this[_0x337d65(0x181)]();}[_0x57ebea(0x2e8)](_0x227bfd){var _0x168b42=_0x57ebea;_0x227bfd['cmd']===j['JOIN']?this[_0x168b42(0x243)](_0x227bfd):_0x227bfd['cmd']===j[_0x168b42(0x18f)]&&this[_0x168b42(0x14d)](_0x227bfd);}[_0x57ebea(0x19e)](_0x4cdd2e){var _0x5c22fa=_0x57ebea;this[_0x5c22fa(0x2f8)][_0x5c22fa(0x372)](0x1),_0x4cdd2e[_0x5c22fa(0x2f5)]({'cmd':j['JOIN'],'routeKey':this[_0x5c22fa(0x178)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5c22fa(0x178)]}]}});}['_onJoinRoomEvent'](_0x8276e5){var _0x267763=_0x57ebea,_0x1fe0f0;if(_0x8276e5[_0x267763(0x31a)]in jt){this[_0x267763(0x150)][_0x267763(0x37b)]({'id':re[_0x267763(0x43e)],'data':jt[_0x8276e5['code']]}),this[_0x267763(0x2f8)][_0x267763(0x372)](0x2);return;}this[_0x267763(0x2f8)]['next'](0x3);const _0x523491=(_0x1fe0f0=_0x8276e5[_0x267763(0x455)][_0x267763(0x18d)][this[_0x267763(0x178)]])==null?void 0x0:_0x1fe0f0[_0x267763(0x1eb)];_0x523491&&_0x523491[_0x267763(0x352)](_0x293547=>this['_memberService'][_0x267763(0x16e)](this[_0x267763(0x178)],_0x293547));}[_0x57ebea(0x14d)](_0x13bb9b){var _0x1f49a4=_0x57ebea;try{const _0x3170ff=_0x13bb9b[_0x1f49a4(0x455)];switch(_0x3170ff[_0x1f49a4(0x34b)]){case _0x427891[_0x1f49a4(0x453)]:this[_0x1f49a4(0x34e)](_0x3170ff),this['_event$'][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891[_0x1f49a4(0x208)]:this[_0x1f49a4(0x378)](_0x3170ff),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891[_0x1f49a4(0x16d)]:case _0x427891[_0x1f49a4(0x23e)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x1f49a4(0x3b8)](),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891[_0x1f49a4(0x140)]:this['_logService'][_0x1f49a4(0x379)](_0x1f49a4(0x3fa)+JSON[_0x1f49a4(0x3fb)](_0x3170ff)),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891['COMMENT_UPDATE']:this['_commentService'][_0x1f49a4(0x1e0)](_0x3170ff[_0x1f49a4(0x455)]),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;default:this['_event$'][_0x1f49a4(0x372)](_0x3170ff);}}catch(_0x9031fe){this[_0x1f49a4(0x3cc)]['error'](_0x9031fe,_0x13bb9b);}}['_onUserJoin'](_0x19f7aa){var _0x6ba092=_0x57ebea;this[_0x6ba092(0x2e6)][_0x6ba092(0x16e)](this[_0x6ba092(0x178)],_0x19f7aa['data']);}[_0x57ebea(0x378)](_0x44e104){var _0x35a960=_0x57ebea;this[_0x35a960(0x2e6)]['removeMember'](this[_0x35a960(0x178)],_0x44e104[_0x35a960(0x455)][_0x35a960(0x329)]);}async[_0x57ebea(0x2f5)](_0x5b4239,_0x5b55b7){var _0x37c09c=_0x57ebea;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x37c09c(0x273));try{_0x5b4239['eventID']===_0x427891[_0x37c09c(0x3f9)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x5b4239)),this[_0x37c09c(0x235)][_0x37c09c(0x2f5)]({'cmd':j[_0x37c09c(0x3c5)],'routeKey':_0x5b55b7,'routeType':'','data':_0x5b4239});}catch(_0x34436c){this[_0x37c09c(0x3cc)][_0x37c09c(0x379)](_0x34436c);}}[_0x57ebea(0x420)](){var _0x5ac159=_0x57ebea,_0x201019;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1c8217=_0x5a33;this[_0x1c8217(0x1e6)]=null,this[_0x1c8217(0x150)][_0x1c8217(0x37b)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x201019=this[_0x5ac159(0x25c)][_0x5ac159(0x1f4)](di))!=null?_0x201019:fi);}[_0x57ebea(0x3b8)](){var _0x2f94f7=_0x57ebea;this[_0x2f94f7(0x1e6)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x57ebea(0x2e4)](_0x2774ce){var _0x5bacf4=_0x57ebea;if(!this['_shouldReportTelemetry'])return;const {data:_0x5dc260}=_0x2774ce,{unitID:_0x269940,changeset:_0x3c24cf}=_0x5dc260,{mutations:_0x18f903,type:_0x1ca65f}=_0x3c24cf;this[_0x5bacf4(0x172)]={'unitId':_0x269940,'type':_0x1ca65f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x18f903)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2af9d1=_0x57ebea;if(this[_0x2af9d1(0x22a)]){if(!this[_0x2af9d1(0x172)]){this[_0x2af9d1(0x3cc)][_0x2af9d1(0x379)](_0x2af9d1(0x177),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2af9d1(0x172)][_0x2af9d1(0x322)]=performance['now'](),this[_0x2af9d1(0x172)][_0x2af9d1(0x183)]=this['_telemetryInfo'][_0x2af9d1(0x322)]-this['_telemetryInfo'][_0x2af9d1(0x17f)],this[_0x2af9d1(0x226)][_0x2af9d1(0x163)](bs,this['_telemetryInfo']),this[_0x2af9d1(0x172)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1a68e8=_0x57ebea;this[_0x1a68e8(0x172)]=null;}};mt=ws([Oe(0x2,_0x395070),Oe(0x3,_0x218bfc),Oe(0x4,_0xd9eea8(Pe)),Oe(0x5,_0xd9eea8(pi)),Oe(0x6,_0xd9eea8(ve)),Oe(0x7,_0x4761ab(_0x4e0327))],mt);const X=_0x51449a(_0x57ebea(0x167));function Dr(_0x9f1aff){var _0x2258f8=_0x57ebea;return _0x2258f8(0x18c)+_0x9f1aff;}var Ls=Object[_0x57ebea(0x1a9)],Ms=(_0x2c0fb2,_0x15acd6,_0x33f1da,_0x2e7c6c)=>{var _0x59da4c=_0x57ebea;for(var _0x553eb8=_0x2e7c6c>0x1?void 0x0:_0x2e7c6c?Ls(_0x15acd6,_0x33f1da):_0x15acd6,_0x1ee127=_0x2c0fb2[_0x59da4c(0x291)]-0x1,_0x1faa5d;_0x1ee127>=0x0;_0x1ee127--)(_0x1faa5d=_0x2c0fb2[_0x1ee127])&&(_0x553eb8=_0x1faa5d(_0x553eb8)||_0x553eb8);return _0x553eb8;},ut=(_0xe96710,_0x37fe49)=>(_0x5a4940,_0x4ec0a7)=>_0x37fe49(_0x5a4940,_0x4ec0a7,_0xe96710);function xs(_0xe06b75){var _0x3dd094=_0x57ebea;const {unitID:_0x180675,mutations:_0x310cb5}=_0xe06b75;return{'unitId':_0x180675,'subUnitId':_0x310cb5[_0x3dd094(0x291)]>0x0?_0x310cb5[0x0][_0x3dd094(0x437)]['subUnitId']:null};}let it=class{constructor(_0x20a15b,_0x46ccbf,_0x7d8c7a){var _0xc9c57d=_0x57ebea;this[_0xc9c57d(0x30c)]=_0x20a15b,this[_0xc9c57d(0x13b)]=_0x46ccbf,this[_0xc9c57d(0x305)]=_0x7d8c7a;}['transformSelections'](_0x5e1f16){var _0x1522d3=_0x57ebea,_0x329009,_0x28e0da,_0x34b590,_0x18788f;const _0x5333f3=this[_0x1522d3(0x30c)]['get'](_0x328d66),{unitId:_0x3d421b,subUnitId:_0xf01ad5}=xs(_0x5e1f16),_0x1c2289=_0x5333f3==null?void 0x0:_0x5333f3[_0x1522d3(0x1d6)](_0x3d421b)[_0x1522d3(0x1d8)](),_0x1c46bc=(_0x28e0da=(_0x329009=this[_0x1522d3(0x305)][_0x1522d3(0x1cf)](_0x3d421b))==null?void 0x0:_0x329009[_0x1522d3(0x33a)]())==null?void 0x0:_0x28e0da[_0x1522d3(0x3fe)]();if(_0x1c2289[_0x1522d3(0x291)]===0x0||!_0x3d421b||!_0xf01ad5)return;const _0x5f14a0=[{'id':_0x10452a['id'],'params':{'unitId':_0x3d421b,'subUnitId':_0x1c46bc,'selections':_0x18e049['deepClone'](_0x1c2289)}}],_0x1672f9=this[_0x1522d3(0x13b)]['transformMutationsWithChangeset'](_0x5e1f16,_0x5f14a0);if(!_0x506829(_0x1672f9))throw _0x1672f9[_0x1522d3(0x379)];const _0x529839=(_0x18788f=(_0x34b590=_0x1672f9[_0x1522d3(0x162)][0x0])==null?void 0x0:_0x34b590[_0x1522d3(0x437)])==null?void 0x0:_0x18788f[_0x1522d3(0x2a2)];if(Array[_0x1522d3(0x1c1)](_0x529839)&&_0x529839[_0x1522d3(0x291)]){if(_0x529839[_0x1522d3(0x291)]===_0x5f14a0[0x0][_0x1522d3(0x437)]['selections'][_0x1522d3(0x291)]&&_0x529839[_0x1522d3(0x284)]((_0xccf66f,_0x1b1043)=>_0xcaff84['equals'](_0xccf66f[_0x1522d3(0x3d0)],_0x5f14a0[0x0][_0x1522d3(0x437)][_0x1522d3(0x2a2)][_0x1b1043][_0x1522d3(0x3d0)])))return;this[_0x1522d3(0x30c)][_0x1522d3(0x19b)](_0x146b0f)[_0x1522d3(0x384)](_0x10452a['id'],{'unitId':_0x3d421b,'subUnitId':_0x1c46bc,'selections':_0x529839});}}};it=Ms([ut(0x0,_0xd9eea8(_0xa5b871)),ut(0x1,_0x411c6c),ut(0x2,_0xde0007)],it);const _t=_0x51449a(_0x57ebea(0x21c));var mi=(_0x294dfd=>(_0x294dfd[_0x294dfd['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x57ebea(0x312),_0x294dfd[_0x294dfd[_0x57ebea(0x1f8)]=0x1]=_0x57ebea(0x1f8),_0x294dfd))(mi||{});const K=_0x57ebea(0x3bd),ks={};function $s(_0x1e98fa){var _0x1aafa9=_0x57ebea,_0x5596b2;return!!((_0x5596b2=_0x1e98fa['params'])!=null&&_0x5596b2[_0x1aafa9(0x25e)]);}const Hs=new Set([_0x5b6dd7['id']]);function Vt(_0xc44402,_0x749a44,_0x26ec5e,_0x296cf5,_0x1064e8){var _0x2d64f7=_0x57ebea,_0x51c319,_0x271c19,_0x16a796,_0x3a0443;const _0x2e3293=[];for(const _0x5d28c4 of _0xc44402){if(Hs[_0x2d64f7(0x280)](_0x5d28c4['id'])){if(_0x2e3293[_0x2d64f7(0x291)]>0x0)break;_0x2e3293[_0x2d64f7(0x37e)](_0x5d28c4);break;}if($s(_0x5d28c4)){if(_0x2e3293[_0x2d64f7(0x291)]>0x0)break;_0x2e3293[_0x2d64f7(0x37e)](_0x5d28c4);break;}_0x2e3293['push'](_0x5d28c4);}const _0x5972a5=(_0x271c19=(_0x51c319=_0x1064e8[_0x2d64f7(0x297)]())==null?void 0x0:_0x51c319[_0x2d64f7(0x2a6)])!=null?_0x271c19:'unknown',_0x8bafc3=(_0x3a0443=(_0x16a796=_0x1064e8[_0x2d64f7(0x297)]())==null?void 0x0:_0x16a796[_0x2d64f7(0x329)])!=null?_0x3a0443:_0x2d64f7(0x3b3);return{'changeset':{'unitID':_0x749a44,'type':_0x2ce901(_0x26ec5e[_0x2d64f7(0x2cf)](_0x749a44)),'baseRev':_0x296cf5[_0x2d64f7(0x16a)](_0x749a44),'revision':0x0,'userID':_0x5972a5,'memberID':_0x8bafc3,'mutations':_0x2e3293},'pendingMutations':_0xc44402['slice'](_0x2e3293[_0x2d64f7(0x291)])};}function Bs(_0x3795cd,_0x4d1d54,_0x2a03ce,_0xcf87e7,_0x363176){var _0x1ba01d=_0x57ebea,_0x3c3b1d,_0x4ca21c,_0x5d4377,_0x2ca734;const _0x2426ef=[_0x3795cd[_0x1ba01d(0x365)]((_0x42d038,_0x3920c6)=>{var _0x6b44d=_0x1ba01d,_0x3bb913;const {id:_0x1f9702}=_0x42d038,{id:_0x2af72b,type:_0x393d80}=_0x3920c6,_0x20d31d=(_0x3bb913=_0x42d038[_0x6b44d(0x437)])!=null?_0x3bb913:{'actions':null},_0x331195=_0x3920c6[_0x6b44d(0x437)];if(_0x1f9702&&_0x1f9702!==_0x2af72b)throw new Error(_0x6b44d(0x161)+_0x1f9702+_0x6b44d(0x21e)+_0x2af72b+'.');return{..._0x42d038,'id':_0x2af72b,'type':_0x393d80,'params':{'unitId':_0x331195['unitId'],'textRanges':_0x331195['textRanges'],'actions':_0x1ae2a2[_0x6b44d(0x147)](_0x20d31d[_0x6b44d(0x1d0)],_0x331195[_0x6b44d(0x1d0)])}};},{})],_0x29e991=(_0x4ca21c=(_0x3c3b1d=_0x363176[_0x1ba01d(0x297)]())==null?void 0x0:_0x3c3b1d[_0x1ba01d(0x2a6)])!=null?_0x4ca21c:'unknown',_0x492820=(_0x2ca734=(_0x5d4377=_0x363176[_0x1ba01d(0x297)]())==null?void 0x0:_0x5d4377[_0x1ba01d(0x329)])!=null?_0x2ca734:_0x1ba01d(0x3b3);return{'changeset':{'unitID':_0x4d1d54,'type':_0x2ce901(_0x2a03ce[_0x1ba01d(0x2cf)](_0x4d1d54)),'baseRev':_0xcf87e7[_0x1ba01d(0x16a)](_0x4d1d54),'revision':0x0,'userID':_0x29e991,'memberID':_0x492820,'mutations':_0x2426ef},'pendingMutations':[]};}function Ii(_0x1c065b,_0x646914){var _0x408764=_0x57ebea;const _0x4e60b5=new _0x652f3(0x1);return setTimeout(()=>_0x4e60b5['next'](_0x646914),_0x1c065b),_0x4e60b5[_0x408764(0x2c5)]()[_0x408764(0x165)](_0x5cf086(0x1));}var Fs=Object[_0x57ebea(0x1a9)],Se=(_0x4406a4,_0x3e5c37,_0x5b5655,_0x3be926)=>{var _0x32699d=_0x57ebea;for(var _0x54b77a=_0x3be926>0x1?void 0x0:_0x3be926?Fs(_0x3e5c37,_0x5b5655):_0x3e5c37,_0x256b3=_0x4406a4[_0x32699d(0x291)]-0x1,_0x1b53d4;_0x256b3>=0x0;_0x256b3--)(_0x1b53d4=_0x4406a4[_0x256b3])&&(_0x54b77a=_0x1b53d4(_0x54b77a)||_0x54b77a);return _0x54b77a;},w=(_0x1e2f1b,_0x1a28f2)=>(_0xc34abd,_0x260dba)=>_0x1a28f2(_0xc34abd,_0x260dba,_0x1e2f1b),Si=(_0xfeb109=>(_0xfeb109['NOT_COLLAB']='not_collab',_0xfeb109['SYNCED']=_0x57ebea(0x3c1),_0xfeb109[_0x57ebea(0x170)]='pending',_0xfeb109[_0x57ebea(0x18e)]=_0x57ebea(0x371),_0xfeb109[_0x57ebea(0x3c8)]=_0x57ebea(0x27f),_0xfeb109[_0x57ebea(0x19f)]='fetch_missing',_0xfeb109[_0x57ebea(0x39e)]='conflict',_0xfeb109[_0x57ebea(0x230)]=_0x57ebea(0x244),_0xfeb109))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x552f3c,_0xca3459,_0x1f9f7d,_0x5c9a5c,_0x291b65,_0x30c17d,_0x270bb0,_0x2eb0d5,_0x17de40){var _0x27e4d6=_0x57ebea;D(this,_0x27e4d6(0x277),null),D(this,_0x27e4d6(0x1dd),[]),(this[_0x27e4d6(0x1fb)]=_0x552f3c,this['type']=_0xca3459,this[_0x27e4d6(0x1bc)]=_0x291b65,this['_commandService']=_0x30c17d,this[_0x27e4d6(0x193)]=_0x270bb0,this[_0x27e4d6(0x428)]=_0x2eb0d5,this[_0x27e4d6(0x2d6)]=_0x17de40,this[_0x27e4d6(0x277)]=_0x1f9f7d,this[_0x27e4d6(0x1dd)]=_0x5c9a5c);}[_0x57ebea(0x207)](_0x830482){var _0x9cf156=_0x57ebea;const _0x1edefd=this[_0x9cf156(0x428)][_0x9cf156(0x16a)](this[_0x9cf156(0x1fb)]);return _0x830482['revision']>_0x1edefd+0x1?(this['_handler'][_0x9cf156(0x1e8)]({'from':_0x1edefd,'to':_0x830482[_0x9cf156(0x239)]-0x1}),!0x0):!0x1;}[_0x57ebea(0x24f)](_0x285276){var _0x5a139b=_0x57ebea;this[_0x5a139b(0x193)][_0x5a139b(0x346)](this['unitID'],_0x285276);}[_0x57ebea(0x37a)](_0x264e04){var _0x3fd0fc=_0x57ebea,_0x9b75f,_0x500b14;(_0x500b14=(_0x9b75f=this['_handler'])[_0x3fd0fc(0x3c6)])==null||_0x500b14[_0x3fd0fc(0x2b6)](_0x9b75f,_0x264e04);}[_0x57ebea(0x1ad)](_0x2b5cdc){var _0x41789b=_0x57ebea,_0x378b83,_0x4582bf;return(_0x4582bf=(_0x378b83=this[_0x41789b(0x1bc)])[_0x41789b(0x34c)])==null?void 0x0:_0x4582bf[_0x41789b(0x2b6)](_0x378b83,_0x2b5cdc);}[_0x57ebea(0x340)](_0x2c149a){var _0x3fac23=_0x57ebea,_0x4cc71e,_0x7b0104;return(_0x7b0104=(_0x4cc71e=this[_0x3fac23(0x1bc)])['onTransformState'])==null?void 0x0:_0x7b0104['call'](_0x4cc71e,_0x2c149a);}[_0x57ebea(0x300)](_0x597f13){var _0x545896=_0x57ebea,_0x67692d,_0x361fb2,_0x319dfd;return(_0x319dfd=(_0x361fb2=(_0x67692d=this[_0x545896(0x1bc)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x361fb2['call'](_0x67692d,_0x597f13))!=null?_0x319dfd:_0x597f13;}[_0x57ebea(0x396)](_0x28f1ed){var _0x45ff2b=_0x57ebea,_0x420238,_0x524813,_0x46a7a5;return(_0x46a7a5=(_0x524813=(_0x420238=this[_0x45ff2b(0x1bc)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x524813[_0x45ff2b(0x2b6)](_0x420238,_0x28f1ed))!=null?_0x46a7a5:_0x28f1ed;}['_syncEditingCollabCursor'](_0x2cbd4c){var _0x594519=_0x57ebea,_0x3241d6,_0x4e6a9b;if(this[_0x594519(0x286)]===Q[_0x594519(0x234)]){const {unitID:_0x2c0360,mutations:_0x3d5c8f,memberID:_0x4e5578}=_0x2cbd4c,_0x465c2e=_0x3d5c8f[_0x594519(0x291)]>0x0?_0x3d5c8f[0x0]['params'][_0x594519(0x293)]:[];Array[_0x594519(0x1c1)](_0x465c2e)&&_0x465c2e[_0x594519(0x291)]>0x0&&((_0x4e6a9b=(_0x3241d6=this['_handler'])[_0x594519(0x3d9)])==null||_0x4e6a9b[_0x594519(0x2b6)](_0x3241d6,{'unitID':_0x2c0360,'memberID':_0x4e5578,'textRanges':_0x465c2e}));}}['_updateLocalCache'](){var _0x16b262=_0x57ebea,_0x42c89e;(_0x42c89e=this['_localCacheService'])==null||_0x42c89e[_0x16b262(0x2c9)](this['unitID'],this[_0x16b262(0x286)],this[_0x16b262(0x277)],this[_0x16b262(0x1dd)]);}[_0x57ebea(0x1c2)](){var _0x46a8c1=_0x57ebea;return this[_0x46a8c1(0x428)][_0x46a8c1(0x16a)](this[_0x46a8c1(0x1fb)]);}['_incrementRevisionNumber'](){var _0x4745d9=_0x57ebea;this[_0x4745d9(0x428)]['incrementRevOfUnit'](this['unitID']);}[_0x57ebea(0x278)](_0x4ffb47){var _0x2a8e7c=_0x57ebea,_0x5329d7;let _0x5d0b2e=this[_0x2a8e7c(0x300)](_0x4ffb47);_0x5d0b2e=this[_0x2a8e7c(0x396)](_0x5d0b2e);const _0x48284c=_0x4f8491(_0x5d0b2e['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x48284c[_0x2a8e7c(0x3ac)])throw _0x48284c[_0x2a8e7c(0x379)]instanceof Error?_0x48284c[_0x2a8e7c(0x379)]:new Error((_0x5329d7=_0x48284c['error'])!=null?_0x5329d7:'[CollaborationState]:\x20apply\x20error!');this[_0x2a8e7c(0x1ad)](_0x5d0b2e),this[_0x2a8e7c(0x340)](_0x5d0b2e),this[_0x2a8e7c(0x24f)](_0x4ffb47),this[_0x2a8e7c(0x37a)](_0x5d0b2e),this['_syncEditingCollabCursor'](_0x5d0b2e),this[_0x2a8e7c(0x232)]();}}let be=class extends ge{constructor(_0x580b09,_0x445034,_0x5db96d,_0x3b3ea0,_0x983f52,_0x1bf3ef,_0x58ec67,_0x582abb,_0x6e1523,_0x3131e3){var _0x5c1c3a=_0x57ebea;super(_0x580b09,_0x445034,null,[],_0x5db96d,_0x58ec67,_0x1bf3ef,_0x3b3ea0,_0x3131e3),D(this,'status',_0x5c1c3a(0x3c1)),(this[_0x5c1c3a(0x30c)]=_0x983f52,this[_0x5c1c3a(0x3cc)]=_0x582abb,this['_transformService']=_0x6e1523,this[_0x5c1c3a(0x1ed)]=_0x3131e3);}['appendMutation'](_0x619201){var _0x4e0874=_0x57ebea;const _0x3999f5=this[_0x4e0874(0x30c)][_0x4e0874(0x220)](ae,this[_0x4e0874(0x1fb)],this['type'],[_0x619201],this[_0x4e0874(0x1bc)]);return _0x3999f5[_0x4e0874(0x381)](),_0x3999f5[_0x4e0874(0x3a5)](),_0x3999f5;}['onRemoteChangeset'](_0x29c77b){var _0x55c3ac=_0x57ebea;if(this[_0x55c3ac(0x207)](_0x29c77b))return this[_0x55c3ac(0x30c)]['createInstance'](ee,this[_0x55c3ac(0x1fb)],this['type'],null,[],null,[_0x29c77b],this[_0x55c3ac(0x1bc)]);try{const _0x1bfdd2=this[_0x55c3ac(0x13b)][_0x55c3ac(0x342)](_0x29c77b,[_0xe9608b]);if(_0x506829(_0x1bfdd2)){const {c1Prime:_0x20eeec}=_0x1bfdd2;return this[_0x55c3ac(0x278)](_0x20eeec),this;}throw _0x1bfdd2[_0x55c3ac(0x379)];}catch(_0x220414){return this[_0x55c3ac(0x3cc)][_0x55c3ac(0x379)](_0x220414),this['_onConflict'](!0x1);}}[_0x57ebea(0x279)](_0x576c7e){var _0x27bda2=_0x57ebea;return this[_0x27bda2(0x30c)][_0x27bda2(0x220)](ue,this[_0x27bda2(0x1fb)],this[_0x27bda2(0x286)],null,[],this[_0x27bda2(0x1bc)],_0x576c7e);}[_0x57ebea(0x146)](){var _0x58ae4a=_0x57ebea;throw new Error(_0x58ae4a(0x266));}[_0x57ebea(0x2af)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x901e01=_0x57ebea;return this['_injector'][_0x901e01(0x220)](de,this['unitID'],this[_0x901e01(0x286)],null,[],this[_0x901e01(0x1bc)]);}[_0x57ebea(0x252)](){return this;}[_0x57ebea(0x3b0)](){var _0x148515=_0x57ebea;throw new Error(_0x148515(0x1b2));}['fetchMiss'](){var _0x2c235a=_0x57ebea;const _0x3b15f7=this['_revisionService'][_0x2c235a(0x16a)](this[_0x2c235a(0x1fb)]);return this[_0x2c235a(0x1bc)][_0x2c235a(0x1e8)]({'from':_0x3b15f7,'to':0x0}),this[_0x2c235a(0x30c)][_0x2c235a(0x220)](ee,this[_0x2c235a(0x1fb)],this[_0x2c235a(0x286)],null,[],null,[],this[_0x2c235a(0x1bc)]);}};be=Se([w(0x3,_0xd9eea8(_0x1a89bb)),w(0x4,_0xd9eea8(_0xa5b871)),w(0x5,_0x3d9a42),w(0x6,_0x146b0f),w(0x7,_0x395070),w(0x8,_0x411c6c),w(0x9,_0x4761ab(X))],be);let ae=class extends ge{constructor(_0x1dc27e,_0x28f6c2,_0x2ccd4f,_0x5916ac,_0x51be79,_0x568525,_0x535681,_0x4c1ef3,_0x498996,_0x2b9fb1,_0x2c0bc4,_0x330367,_0x4a1601,_0x40f894){var _0x583edb=_0x57ebea;super(_0x1dc27e,_0x28f6c2,null,_0x2ccd4f,_0x5916ac,_0x498996,_0x4a1601,_0x568525,_0x40f894),D(this,'status',_0x583edb(0x2a1)),D(this,_0x583edb(0x28b),null),D(this,'_sendingTimer',null),(this[_0x583edb(0x30c)]=_0x51be79,this[_0x583edb(0x2e6)]=_0x535681,this[_0x583edb(0x3cc)]=_0x4c1ef3,this[_0x583edb(0x25c)]=_0x2b9fb1,this[_0x583edb(0x13b)]=_0x2c0bc4,this['_univerInstanceService']=_0x330367);}[_0x57ebea(0x2cc)](_0x24c1af){var _0x31c91c=_0x57ebea;return this['_pendingMutations'][_0x31c91c(0x37e)](_0x24c1af),this['_updateLocalCache'](),this;}[_0x57ebea(0x410)](_0x24cbd3){var _0x5aa1e7=_0x57ebea;if(this['_checkMissing'](_0x24cbd3))return this[_0x5aa1e7(0x435)](),this['_injector']['createInstance'](ee,this[_0x5aa1e7(0x1fb)],this[_0x5aa1e7(0x286)],null,this[_0x5aa1e7(0x1dd)],null,[_0x24cbd3],this[_0x5aa1e7(0x1bc)]);try{const _0x176327=this['_transformService'][_0x5aa1e7(0x342)](_0x24cbd3,this['_pendingMutations']);if(_0x506829(_0x176327)){const {c1Prime:_0x5431ee,m2Prime:_0x330c02}=_0x176327;this['_executeRemoteChangeset'](_0x5431ee);const _0x3e52dd=this[_0x5aa1e7(0x30c)]['createInstance'](ae,this[_0x5aa1e7(0x1fb)],this[_0x5aa1e7(0x286)],_0x330c02,this[_0x5aa1e7(0x1bc)]);this[_0x5aa1e7(0x435)]();const _0x2ac3d9=new Date()[_0x5aa1e7(0x21b)](),_0x4ed7f1=this[_0x5aa1e7(0x28b)]?Math[_0x5aa1e7(0x2cb)](this['_scheduleCompleteTimestamp']-_0x2ac3d9,0x0):this[_0x5aa1e7(0x3c0)]();return _0x3e52dd[_0x5aa1e7(0x381)](_0x4ed7f1),_0x3e52dd;}throw _0x176327['error'];}catch(_0x42161a){return this[_0x5aa1e7(0x3cc)][_0x5aa1e7(0x379)](_0x42161a),this[_0x5aa1e7(0x279)](!0x1);}}[_0x57ebea(0x146)](){var _0x22843a=_0x57ebea;throw new Error(_0x22843a(0x41a));}[_0x57ebea(0x2af)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x57ebea(0x423)](){return this;}[_0x57ebea(0x33f)](){var _0x139f32=_0x57ebea;return this[_0x139f32(0x435)](),this[_0x139f32(0x30c)]['createInstance'](de,this['unitID'],this['type'],null,this[_0x139f32(0x1dd)],this[_0x139f32(0x1bc)]);}['toggleOnline'](){return this;}['_schedule'](_0x19cae3){var _0x725c41=_0x57ebea;const _0x257b2e=_0x19cae3!=null?_0x19cae3:this[_0x725c41(0x3c0)]();this[_0x725c41(0x28b)]=new Date()[_0x725c41(0x21b)]()+_0x257b2e,this['_sendingTimer']=setTimeout(()=>{var _0x277703=_0x725c41;this[_0x277703(0x435)]();let _0xa02832=null;switch(this['type']){case Q[_0x277703(0x382)]:{_0xa02832=Vt(this[_0x277703(0x1dd)],this[_0x277703(0x1fb)],this[_0x277703(0x26b)],this[_0x277703(0x428)],this[_0x277703(0x2e6)]);break;}case Q[_0x277703(0x234)]:{this['_pendingMutations'][_0x277703(0x284)](_0x4be861=>_0x4be861['id']===_0x3de14f['id'])?_0xa02832=Bs(this[_0x277703(0x1dd)],this[_0x277703(0x1fb)],this[_0x277703(0x26b)],this[_0x277703(0x428)],this['_memberService']):_0xa02832=Vt(this['_pendingMutations'],this['unitID'],this[_0x277703(0x26b)],this['_revisionService'],this[_0x277703(0x2e6)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x277703(0x286)]+_0x277703(0x185));}const {changeset:_0x494ec6,pendingMutations:_0x4952fb}=_0xa02832;this[_0x277703(0x1bc)][_0x277703(0x187)](_0x494ec6);const _0x45d8a4=_0x4952fb[_0x277703(0x291)]?this[_0x277703(0x30c)][_0x277703(0x220)](oe,this[_0x277703(0x1fb)],this[_0x277703(0x286)],_0x494ec6,_0x4952fb,this[_0x277703(0x1bc)],void 0x0):this[_0x277703(0x30c)]['createInstance'](le,this[_0x277703(0x1fb)],this[_0x277703(0x286)],_0x494ec6,this[_0x277703(0x1bc)]);_0x45d8a4[_0x277703(0x3a5)](),this['_handler'][_0x277703(0x3d4)](this,_0x45d8a4);},_0x257b2e);}[_0x57ebea(0x3c0)](){var _0x33a29e=_0x57ebea,_0x5e80bb;const _0x40de43=this[_0x33a29e(0x25c)][_0x33a29e(0x1f4)](K);return(_0x5e80bb=_0x40de43==null?void 0x0:_0x40de43['sendChangesetTimeout'])!=null?_0x5e80bb:ms;}[_0x57ebea(0x3b0)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x57ebea(0x435)](){var _0x32eef3=_0x57ebea;this[_0x32eef3(0x35d)]!=null&&(clearTimeout(this[_0x32eef3(0x35d)]),this['_sendingTimer']=null);}[_0x57ebea(0x279)](_0x15e037){var _0x30b1ca=_0x57ebea;return this[_0x30b1ca(0x435)](),this[_0x30b1ca(0x30c)][_0x30b1ca(0x220)](ue,this['unitID'],this['type'],null,this[_0x30b1ca(0x1dd)],this['_handler'],_0x15e037);}};ae=Se([w(0x4,_0xd9eea8(_0xa5b871)),w(0x5,_0xd9eea8(_0x1a89bb)),w(0x6,_0xd9eea8(Pe)),w(0x7,_0x395070),w(0x8,_0x146b0f),w(0x9,_0x218bfc),w(0xa,_0x411c6c),w(0xb,_0xde0007),w(0xc,_0x3d9a42),w(0xd,_0x4761ab(X))],ae);function _0x5a33(_0x25f6a8,_0x4a7bc9){_0x25f6a8=_0x25f6a8-0x138;var _0x32571d=_0x3257();var _0x5a337d=_0x32571d[_0x25f6a8];return _0x5a337d;}let le=class extends ge{constructor(_0x3ce5a2,_0xdba675,_0x390c93,_0x17f7ab,_0x32fa1a,_0x155fb1,_0x165e19,_0x4aa4b4,_0x4ab8ea,_0x38dee2,_0x4dd23e){var _0x2cf999=_0x57ebea;super(_0x3ce5a2,_0xdba675,_0x390c93,[],_0x17f7ab,_0x165e19,_0x38dee2,_0x155fb1,_0x4dd23e),D(this,'status',_0x2cf999(0x371)),D(this,_0x2cf999(0x2f0),0x0),D(this,_0x2cf999(0x3aa),0x0),D(this,_0x2cf999(0x405)),D(this,_0x2cf999(0x355)),(this[_0x2cf999(0x30c)]=_0x32fa1a,this['_logService']=_0x4aa4b4,this[_0x2cf999(0x13b)]=_0x4ab8ea);}[_0x57ebea(0x2cc)](_0x2e0999){var _0x4edfce=_0x57ebea;this[_0x4edfce(0x435)]();const _0x4619c2=this[_0x4edfce(0x30c)]['createInstance'](oe,this[_0x4edfce(0x1fb)],this[_0x4edfce(0x286)],this['_awaitingChangeset'],[_0x2e0999],this[_0x4edfce(0x1bc)],this[_0x4edfce(0x405)]);return _0x4619c2['_updateLocalCache'](),_0x4619c2;}[_0x57ebea(0x410)](_0x3becb5){var _0x41f8ef=_0x57ebea;if(this[_0x41f8ef(0x207)](_0x3becb5))return this[_0x41f8ef(0x435)](),this['_injector'][_0x41f8ef(0x220)](ee,this[_0x41f8ef(0x1fb)],this['type'],this[_0x41f8ef(0x277)],[],null,[_0x3becb5],this[_0x41f8ef(0x1bc)]);try{const _0x53441d=this[_0x41f8ef(0x13b)][_0x41f8ef(0x182)]([_0x3becb5],[this[_0x41f8ef(0x277)]],!0x1);if(_0x24a204(_0x53441d)){const {c1Prime:_0x54c5fb,c2Prime:_0x386da5}=_0x53441d;this[_0x41f8ef(0x278)](_0x54c5fb[0x0]),_0x386da5[0x0][_0x41f8ef(0x2ce)]=this[_0x41f8ef(0x1c2)](),this['_clearScheduledTask']();const _0x440f9a=this[_0x41f8ef(0x30c)][_0x41f8ef(0x220)](le,this[_0x41f8ef(0x1fb)],this[_0x41f8ef(0x286)],_0x386da5[0x0],this[_0x41f8ef(0x1bc)]);return _0x440f9a['_updateLocalCache'](),_0x440f9a;}return this[_0x41f8ef(0x279)](!0x1);}catch(_0x9e56f5){return this['_logService']['error'](_0x9e56f5),this[_0x41f8ef(0x279)](!0x1);}}['onRemoteAck'](_0x1ecd50){var _0xc20dff=_0x57ebea;this[_0xc20dff(0x435)]();const _0x4cef9e=this[_0xc20dff(0x428)][_0xc20dff(0x16a)](this[_0xc20dff(0x1fb)]);if(_0x1ecd50[_0xc20dff(0x239)]<_0x4cef9e-0x1)return this;if(this[_0xc20dff(0x207)](_0x1ecd50))return this['_injector'][_0xc20dff(0x220)](ee,this[_0xc20dff(0x1fb)],this['type'],null,[],this[_0xc20dff(0x277)],[],this[_0xc20dff(0x1bc)]);this[_0xc20dff(0x232)]();const _0x46cd89=this[_0xc20dff(0x30c)][_0xc20dff(0x220)](be,this[_0xc20dff(0x1fb)],this[_0xc20dff(0x286)],this[_0xc20dff(0x1bc)]);return _0x46cd89['_updateLocalCache'](),_0x46cd89;}[_0x57ebea(0x2af)](_0x178124){var _0xd3dc4=_0x57ebea;return this[_0xd3dc4(0x279)](!!(_0x178124!=null&&_0x178124['isPermissionRej']));}[_0x57ebea(0x423)](_0x5bcdfa){var _0x5d88fc=_0x57ebea;return this[_0x5d88fc(0x3aa)]>Ti?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x5d88fc(0x2f0)],{'timeout':this[_0x5d88fc(0x2f0)],'reqId':_0x5bcdfa[_0x5d88fc(0x2bf)]}),this['_sender']=this['_resendTimer'][_0x5d88fc(0x3dc)](({reqId:_0x5bec44,timeout:_0x49701f})=>{var _0x42ab2c=_0x5d88fc;this[_0x42ab2c(0x166)](_0x5bec44,_0x49701f);}),this);}['toggleOffline'](){var _0xb3bce2=_0x57ebea;return this[_0xb3bce2(0x435)](),this[_0xb3bce2(0x30c)]['createInstance'](de,this[_0xb3bce2(0x1fb)],this[_0xb3bce2(0x286)],this[_0xb3bce2(0x277)],[],this[_0xb3bce2(0x1bc)]);}['toggleOnline'](){return this;}[_0x57ebea(0x3b0)](){var _0x1c61f4=_0x57ebea;this['_handler'][_0x1c61f4(0x187)](this['_awaitingChangeset']);}[_0x57ebea(0x279)](_0x1bd46c){var _0x158810=_0x57ebea;return this[_0x158810(0x435)](),this[_0x158810(0x30c)][_0x158810(0x220)](ue,this[_0x158810(0x1fb)],this[_0x158810(0x286)],this[_0x158810(0x277)],[],this[_0x158810(0x1bc)],_0x1bd46c);}[_0x57ebea(0x166)](_0x3bad53,_0xa16807){var _0x570047=_0x57ebea,_0x18858c;_0x3bad53===((_0x18858c=this[_0x570047(0x277)])==null?void 0x0:_0x18858c[_0x570047(0x2bf)])&&(this[_0x570047(0x3b0)](),this[_0x570047(0x2f0)]=_0xa16807===0x0?0x3e8:Math[_0x570047(0x3ef)](_0xa16807*0x2,gi),this[_0x570047(0x3aa)]+=this[_0x570047(0x2f0)]);}[_0x57ebea(0x435)](){var _0x4a9dbc=_0x57ebea,_0x173bc4;(_0x173bc4=this['_sender'])==null||_0x173bc4['unsubscribe'](),this['_resendTimeout']=0x0,this[_0x4a9dbc(0x3aa)]=0x0;}};le=Se([w(0x4,_0xd9eea8(_0xa5b871)),w(0x5,_0xd9eea8(_0x1a89bb)),w(0x6,_0x146b0f),w(0x7,_0x395070),w(0x8,_0x411c6c),w(0x9,_0x3d9a42),w(0xa,_0x4761ab(X))],le);let oe=class extends ge{constructor(_0x59ca47,_0x5a658f,_0x188d7f,_0x72335,_0x434cbb,_0x5b6164,_0x16b071,_0x191422,_0x2888d5,_0x5e9c10,_0x1937a9,_0x10bf6b,_0xbc5fb){var _0x813a6e=_0x57ebea;super(_0x59ca47,_0x5a658f,_0x188d7f,_0x72335,_0x434cbb,_0x2888d5,_0x10bf6b,_0x191422,_0xbc5fb),D(this,_0x813a6e(0x2be),'awaiting_with_pending'),D(this,_0x813a6e(0x2f0),0x0),D(this,_0x813a6e(0x3aa),0x0),D(this,_0x813a6e(0x405)),D(this,_0x813a6e(0x355)),(this[_0x813a6e(0x30c)]=_0x16b071,this[_0x813a6e(0x3cc)]=_0x5e9c10,this['_transformService']=_0x1937a9,this['localCacheService']=_0xbc5fb,_0x5b6164&&(this['_resendTimer']=_0x5b6164,this['_sender']=this[_0x813a6e(0x405)][_0x813a6e(0x3dc)](({reqId:_0x32a47d,timeout:_0x134ec4})=>{var _0x6fa1eb=_0x813a6e;this[_0x6fa1eb(0x166)](_0x32a47d,_0x134ec4);})));}['appendMutation'](_0x1536bd){var _0x354b56=_0x57ebea;return this[_0x354b56(0x1dd)][_0x354b56(0x37e)](_0x1536bd),this;}[_0x57ebea(0x410)](_0xfa621b){var _0x490811=_0x57ebea;if(this[_0x490811(0x207)](_0xfa621b))return this[_0x490811(0x435)](),this[_0x490811(0x30c)][_0x490811(0x220)](ee,this[_0x490811(0x1fb)],this[_0x490811(0x286)],this[_0x490811(0x277)],this[_0x490811(0x1dd)],null,[_0xfa621b],this['_handler']);try{const _0x2e1784=this['_transformService']['transformChangesets']([_0xfa621b],[this[_0x490811(0x277)]],!0x1);if(_0x24a204(_0x2e1784)){const {c1Prime:_0x5254a0,c2Prime:_0xa37daa}=_0x2e1784,_0x3d4ef5=this[_0x490811(0x13b)][_0x490811(0x342)](_0x5254a0[0x0],this[_0x490811(0x1dd)]);if(_0x506829(_0x3d4ef5)){const {c1Prime:_0x1d2529,m2Prime:_0x586bb7}=_0x3d4ef5;return this[_0x490811(0x278)](_0x1d2529),_0xa37daa[0x0][_0x490811(0x2ce)]=this[_0x490811(0x1c2)](),this[_0x490811(0x435)](),this[_0x490811(0x30c)][_0x490811(0x220)](oe,this['unitID'],this['type'],_0xa37daa[0x0],_0x586bb7,this[_0x490811(0x1bc)],void 0x0);}throw _0x3d4ef5[_0x490811(0x379)];}throw _0x2e1784[_0x490811(0x379)];}catch(_0x2394d9){return this[_0x490811(0x3cc)][_0x490811(0x379)](_0x2394d9),this[_0x490811(0x279)](!0x1);}}[_0x57ebea(0x146)](_0x1a6105){var _0x2d4bee=_0x57ebea;if(this[_0x2d4bee(0x435)](),this[_0x2d4bee(0x207)](_0x1a6105))return this[_0x2d4bee(0x30c)][_0x2d4bee(0x220)](ee,this[_0x2d4bee(0x1fb)],this['type'],null,this[_0x2d4bee(0x1dd)],this['_awaitingChangeset'],[],this[_0x2d4bee(0x1bc)]);this[_0x2d4bee(0x232)]();const _0xa173b6=this['_injector']['createInstance'](ae,this[_0x2d4bee(0x1fb)],this[_0x2d4bee(0x286)],this[_0x2d4bee(0x1dd)],this[_0x2d4bee(0x1bc)]);return _0xa173b6['_schedule'](),_0xa173b6[_0x2d4bee(0x3a5)](),_0xa173b6;}['onRemoteRej'](_0x1cc484){var _0x622cbc=_0x57ebea;return this[_0x622cbc(0x279)](!!(_0x1cc484!=null&&_0x1cc484[_0x622cbc(0x35a)]));}[_0x57ebea(0x423)](_0x4e8c1a){var _0x4d902c=_0x57ebea;return this[_0x4d902c(0x3aa)]>Ti?this[_0x4d902c(0x33f)]():(this['_resendTimer']=Ii(this[_0x4d902c(0x2f0)],{'timeout':this[_0x4d902c(0x2f0)],'reqId':_0x4e8c1a[_0x4d902c(0x2bf)]}),this[_0x4d902c(0x355)]=this[_0x4d902c(0x405)][_0x4d902c(0x3dc)](({reqId:_0x4a8f9b,timeout:_0x59c3b4})=>{this['_resendWithTimeout'](_0x4a8f9b,_0x59c3b4);}),this);}[_0x57ebea(0x33f)](){var _0x5e152e=_0x57ebea;return this[_0x5e152e(0x435)](),this['_injector'][_0x5e152e(0x220)](de,this[_0x5e152e(0x1fb)],this[_0x5e152e(0x286)],this[_0x5e152e(0x277)],this[_0x5e152e(0x1dd)],this['_handler']);}[_0x57ebea(0x252)](){return this;}['resend'](){var _0x12e5c=_0x57ebea;this[_0x12e5c(0x1bc)]['onSendChangeset'](this[_0x12e5c(0x277)]);}[_0x57ebea(0x279)](_0x4d7e0e){var _0x3cd8e5=_0x57ebea;return this['_clearScheduledTask'](),this[_0x3cd8e5(0x30c)][_0x3cd8e5(0x220)](ue,this[_0x3cd8e5(0x1fb)],this[_0x3cd8e5(0x286)],null,this['_pendingMutations'],this[_0x3cd8e5(0x1bc)],_0x4d7e0e);}[_0x57ebea(0x166)](_0x278b6b,_0x2b8e55){var _0xc72d6f=_0x57ebea,_0x1ac5a6;_0x278b6b===((_0x1ac5a6=this['_awaitingChangeset'])==null?void 0x0:_0x1ac5a6[_0xc72d6f(0x2bf)])&&(this[_0xc72d6f(0x3b0)](),this['_resendTimeout']=_0x2b8e55===0x0?0x3e8:Math[_0xc72d6f(0x3ef)](_0x2b8e55*0x2,gi),this[_0xc72d6f(0x3aa)]+=this[_0xc72d6f(0x2f0)]);}['_clearScheduledTask'](){var _0x254ddf=_0x57ebea,_0x498ae4;(_0x498ae4=this['_sender'])==null||_0x498ae4[_0x254ddf(0x171)](),this[_0x254ddf(0x2f0)]=0x0,this[_0x254ddf(0x3aa)]=0x0;}};oe=Se([w(0x6,_0xd9eea8(_0xa5b871)),w(0x7,_0xd9eea8(_0x1a89bb)),w(0x8,_0x146b0f),w(0x9,_0x395070),w(0xa,_0x411c6c),w(0xb,_0x3d9a42),w(0xc,_0x4761ab(X))],oe);let ue=class extends ge{constructor(_0x26f307,_0x2e847c,_0x5f38c7,_0x1236de,_0x4b791c,_0x2636ee=!0x1,_0x3b9112,_0x5cf177,_0x56ae40,_0xca9b73,_0x1f55fd,_0x10595c,_0x221058){var _0x1c8d4b=_0x57ebea;super(_0x26f307,_0x2e847c,_0x5f38c7,_0x1236de,_0x4b791c,_0x5cf177,_0x56ae40,_0xca9b73,_0x221058),D(this,'status',_0x1c8d4b(0x20e)),(this[_0x1c8d4b(0x3ab)]=_0x2636ee,this[_0x1c8d4b(0x446)]=_0x3b9112,this[_0x1c8d4b(0x145)]=_0x1f55fd,this[_0x1c8d4b(0x150)]=_0x10595c,this[_0x1c8d4b(0x1ed)]=_0x221058,this[_0x1c8d4b(0x314)](),this[_0x1c8d4b(0x271)](),this[_0x1c8d4b(0x452)]());}[_0x57ebea(0x2cc)](){return this;}[_0x57ebea(0x410)](){return this;}[_0x57ebea(0x146)](){return this;}[_0x57ebea(0x2af)](){return this;}[_0x57ebea(0x423)](){return this;}['toggleOffline'](){return this;}[_0x57ebea(0x252)](){return this;}[_0x57ebea(0x3b0)](){var _0xca6909=_0x57ebea;throw new Error(_0xca6909(0x2c8));}['_clearLocalCache'](){var _0x3ac65a=_0x57ebea,_0x16549b;(_0x16549b=this[_0x3ac65a(0x2d6)])==null||_0x16549b['updateOfflineData'](this['unitID'],this[_0x3ac65a(0x286)],null,[]);}[_0x57ebea(0x314)](){var _0x335344=_0x57ebea;this[_0x335344(0x3ab)]?this[_0x335344(0x150)]['emitEvent']({'id':re['PERMISSION_DENIED']}):this[_0x335344(0x150)][_0x335344(0x37b)]({'id':re[_0x335344(0x39e)]});}[_0x57ebea(0x452)](){var _0xf4e194=_0x57ebea;this[_0xf4e194(0x446)]['updatePermissionPoint'](new _0x108f1a(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0xd9eea8(_0x54b0d9)),w(0x7,_0x146b0f),w(0x8,_0x3d9a42),w(0x9,_0xd9eea8(_0x1a89bb)),w(0xa,_0xd9eea8(_0x28b880)),w(0xb,_0xd9eea8(ve)),w(0xc,_0x4761ab(X))],ue);let de=class extends ge{constructor(_0x26bac7,_0x689256,_0x38979a,_0x161393,_0x4211aa,_0xd74c12,_0x51efec,_0x8e4976,_0x3452bd,_0x2e3379){var _0x2c260a=_0x57ebea;super(_0x26bac7,_0x689256,_0x38979a,_0x161393,_0x4211aa,_0x8e4976,_0x3452bd,_0x51efec,_0x2e3379),D(this,_0x2c260a(0x2be),_0x2c260a(0x244)),this[_0x2c260a(0x30c)]=_0xd74c12;}[_0x57ebea(0x2cc)](_0x4ddc54){var _0x2c505c=_0x57ebea;return this[_0x2c505c(0x1dd)][_0x2c505c(0x37e)](_0x4ddc54),this[_0x2c505c(0x3a5)](),this;}[_0x57ebea(0x410)](_0x2e3098){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x57ebea(0x146)](){var _0x5c1754=_0x57ebea;throw new Error(_0x5c1754(0x3e8));}['onRemoteRej'](){var _0x374e4d=_0x57ebea;throw new Error(_0x374e4d(0x20d));}[_0x57ebea(0x423)](){return this;}[_0x57ebea(0x33f)](){return this;}['toggleOnline'](){var _0x1f5b30=_0x57ebea;const {_injector:_0xc0d9d1,_pendingMutations:_0x44c4b7,_awaitingChangeset:_0x43951b,unitID:_0x5d0236,_handler:_0x4f1d8c,type:_0x243e5a}=this,_0x5dd65d=Oi(_0xc0d9d1,_0x5d0236,_0x243e5a,_0x43951b,_0x44c4b7,_0x4f1d8c);return _0x5dd65d instanceof ae?_0x5dd65d[_0x1f5b30(0x381)]():(_0x5dd65d instanceof oe||_0x5dd65d instanceof le)&&_0x5dd65d[_0x1f5b30(0x3b0)](),_0x5dd65d;}[_0x57ebea(0x3b0)](){var _0x28619a=_0x57ebea;throw new Error(_0x28619a(0x408));}};de=Se([w(0x5,_0xd9eea8(_0xa5b871)),w(0x6,_0xd9eea8(_0x1a89bb)),w(0x7,_0x146b0f),w(0x8,_0x3d9a42),w(0x9,_0x4761ab(X))],de);let ee=class extends ge{constructor(_0x280d4f,_0x3c5788,_0xcb02e3,_0x44b9b6,_0x401b51,_0x35b1e1,_0xafe0b7,_0x2e741d,_0x571a1a,_0x52a9d4,_0x3f6023,_0x411a0b,_0xb0b8da,_0x533c50){var _0x34136a=_0x57ebea;super(_0x280d4f,_0x3c5788,_0xcb02e3,_0x44b9b6,_0xafe0b7,_0x3f6023,_0x411a0b,_0x571a1a,_0x533c50),D(this,_0x34136a(0x2be),_0x34136a(0x421)),(this[_0x34136a(0x276)]=_0x401b51,this[_0x34136a(0x24b)]=_0x35b1e1,this[_0x34136a(0x30c)]=_0x2e741d,this[_0x34136a(0x3cc)]=_0x52a9d4,this[_0x34136a(0x13b)]=_0xb0b8da,this[_0x34136a(0x1ed)]=_0x533c50);}[_0x57ebea(0x26c)](_0xc52aa2){var _0xfc997a=_0x57ebea;try{const _0x2817f5=[..._0xc52aa2,...this['_queuedRemoteChangesets']],_0x2b863e=[this[_0xfc997a(0x277)]||this[_0xfc997a(0x276)]][_0xfc997a(0x148)](_0x47c97e=>!!_0x47c97e);let _0x472e44,_0x4a8284;if(_0x2b863e['length']){const _0x42c010=this[_0xfc997a(0x13b)][_0xfc997a(0x182)](_0x2817f5,_0x2b863e,!0x1);if(!_0x24a204(_0x42c010))throw _0x42c010[_0xfc997a(0x379)];_0x472e44=_0x42c010['c1Prime'],_0x4a8284=_0x42c010['c2Prime'];}else _0x472e44=_0x2817f5,_0x4a8284=[];let _0x4f35a2=this['_pendingMutations'];_0x472e44[_0xfc997a(0x352)](_0x37ea01=>{var _0x1da1a6=_0xfc997a;let _0x5b9bcc;if(_0x4f35a2[_0x1da1a6(0x291)]){const _0x3e2425=this[_0x1da1a6(0x13b)][_0x1da1a6(0x342)](_0x37ea01,_0x4f35a2);if(!_0x506829(_0x3e2425))throw _0x3e2425[_0x1da1a6(0x379)];_0x5b9bcc=_0x3e2425[_0x1da1a6(0x32c)],_0x4f35a2=_0x3e2425[_0x1da1a6(0x162)];}else _0x5b9bcc=_0x37ea01;this[_0x1da1a6(0x278)](_0x5b9bcc);}),this[_0xfc997a(0x276)]&&this[_0xfc997a(0x232)](),this[_0xfc997a(0x277)]&&_0x4a8284['length']&&(_0x4a8284[0x0]['baseRev']=this['_getCurrentRevision']());let _0x471da6;if(this[_0xfc997a(0x277)]&&_0x4f35a2[_0xfc997a(0x291)]!==0x0)_0x471da6=this[_0xfc997a(0x30c)][_0xfc997a(0x220)](oe,this['unitID'],this[_0xfc997a(0x286)],_0x4a8284[0x0],_0x4f35a2,this[_0xfc997a(0x1bc)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4f35a2['length']===0x0)_0x4a8284[0x0][_0xfc997a(0x2ce)]=this[_0xfc997a(0x1c2)](),_0x471da6=this[_0xfc997a(0x30c)][_0xfc997a(0x220)](le,this[_0xfc997a(0x1fb)],this[_0xfc997a(0x286)],_0x4a8284[0x0],this[_0xfc997a(0x1bc)]);else{if(_0x4f35a2[_0xfc997a(0x291)]!==0x0){const _0x37b342=this[_0xfc997a(0x30c)][_0xfc997a(0x220)](ae,this[_0xfc997a(0x1fb)],this['type'],_0x4f35a2,this[_0xfc997a(0x1bc)]);_0x37b342[_0xfc997a(0x381)](),_0x471da6=_0x37b342;}else _0x471da6=this[_0xfc997a(0x30c)]['createInstance'](be,this[_0xfc997a(0x1fb)],this[_0xfc997a(0x286)],this[_0xfc997a(0x1bc)]);}}return _0x471da6['_updateLocalCache'](),_0x471da6;}catch(_0x5a8c61){return this[_0xfc997a(0x3cc)][_0xfc997a(0x379)](_0xfc997a(0x2d1),_0xfc997a(0x39c),_0x5a8c61),this[_0xfc997a(0x30c)][_0xfc997a(0x220)](ue,this['unitID'],this[_0xfc997a(0x286)],this['_awaitingChangeset'],this[_0xfc997a(0x1dd)],this[_0xfc997a(0x1bc)],!0x1);}}[_0x57ebea(0x3b0)](){var _0x4dcded=_0x57ebea;throw new Error(_0x4dcded(0x3bb));}['appendMutation'](_0xec1722){var _0xd71feb=_0x57ebea;return this[_0xd71feb(0x1dd)][_0xd71feb(0x37e)](_0xec1722),this;}['onRemoteChangeset'](_0x22b74c){var _0x394f6e=_0x57ebea;return this[_0x394f6e(0x24b)]['push'](_0x22b74c),this;}[_0x57ebea(0x146)](_0x23ecc8){var _0x448c57=_0x57ebea;if(this[_0x448c57(0x277)])return this['_acknowledgedAwaitingChangeset']=this[_0x448c57(0x277)],this[_0x448c57(0x277)]=null,this;throw new Error(_0x448c57(0x1c6));}[_0x57ebea(0x2af)](_0x1da84a){var _0x2a0d8d=_0x57ebea;return this[_0x2a0d8d(0x279)](!!(_0x1da84a!=null&&_0x1da84a[_0x2a0d8d(0x35a)]));}[_0x57ebea(0x423)](){return this;}[_0x57ebea(0x33f)](){var _0x158dcd=_0x57ebea;return this[_0x158dcd(0x30c)]['createInstance'](de,this[_0x158dcd(0x1fb)],this['type'],this[_0x158dcd(0x277)],this['_pendingMutations'],this['_handler']);}[_0x57ebea(0x252)](){return this;}[_0x57ebea(0x279)](_0xab7822){var _0x3ff555=_0x57ebea;return this[_0x3ff555(0x30c)]['createInstance'](ue,this[_0x3ff555(0x1fb)],this[_0x3ff555(0x286)],this[_0x3ff555(0x277)],this[_0x3ff555(0x1dd)],this['_handler'],_0xab7822);}};ee=Se([w(0x7,_0xd9eea8(_0xa5b871)),w(0x8,_0xd9eea8(_0x1a89bb)),w(0x9,_0x395070),w(0xa,_0x146b0f),w(0xb,_0x3d9a42),w(0xc,_0x411c6c),w(0xd,_0x4761ab(X))],ee);function Oi(_0x24a64f,_0x20305c,_0x10a4f9,_0x53d5ff,_0x9e4e27,_0x5cd524){var _0x199b3f=_0x57ebea;return _0x53d5ff&&_0x9e4e27[_0x199b3f(0x291)]?_0x24a64f['createInstance'](oe,_0x20305c,_0x10a4f9,_0x53d5ff,_0x9e4e27,_0x5cd524,void 0x0):_0x53d5ff?_0x24a64f[_0x199b3f(0x220)](le,_0x20305c,_0x10a4f9,_0x53d5ff,_0x5cd524):_0x9e4e27[_0x199b3f(0x291)]?_0x24a64f[_0x199b3f(0x220)](ae,_0x20305c,_0x10a4f9,_0x9e4e27,_0x5cd524):_0x24a64f[_0x199b3f(0x220)](be,_0x20305c,_0x10a4f9,_0x5cd524);}var js=Object[_0x57ebea(0x1a9)],At=(_0x13d4e8,_0x52d150,_0xd6a51e,_0x420671)=>{var _0x406349=_0x57ebea;for(var _0x461e49=_0x420671>0x1?void 0x0:_0x420671?js(_0x52d150,_0xd6a51e):_0x52d150,_0x28b060=_0x13d4e8[_0x406349(0x291)]-0x1,_0x10b242;_0x28b060>=0x0;_0x28b060--)(_0x10b242=_0x13d4e8[_0x28b060])&&(_0x461e49=_0x10b242(_0x461e49)||_0x461e49);return _0x461e49;},$=(_0x56f282,_0x2bf61f)=>(_0x4e3e97,_0x4ade76)=>_0x2bf61f(_0x4e3e97,_0x4ade76,_0x56f282);let st=class extends _0xdd442f{constructor(_0x4b9c4a,_0x53d1b2,_0x155e44,_0x5d2d74,_0xc5aa0e,_0x402593,_0x4de5fe,_0x581141,_0x215a6b,_0x42bafe,_0x2cc486,_0x1b6b6d,_0x5b733b,_0x4aeae6){var _0x3cfa08=_0x57ebea;super(),D(this,_0x3cfa08(0x436),new _0x4e139f(null)),D(this,_0x3cfa08(0x363),this[_0x3cfa08(0x436)][_0x3cfa08(0x2c5)]()),D(this,'_state'),D(this,_0x3cfa08(0x380),!0x1),D(this,'_changesetSessionId',''),D(this,_0x3cfa08(0x1a4),0x0),D(this,_0x3cfa08(0x14f),this[_0x3cfa08(0x363)][_0x3cfa08(0x165)](_0x464432(_0x128452=>_0x128452?_0x128452[_0x3cfa08(0x2be)]:Si[_0x3cfa08(0x230)]),_0x54609a(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x3cfa08(0x42b),[]),(this[_0x3cfa08(0x1fb)]=_0x4b9c4a,this['session']=_0x53d1b2,this[_0x3cfa08(0x216)]=_0x155e44,this[_0x3cfa08(0x30c)]=_0x5d2d74,this['_compressMutationService']=_0xc5aa0e,this['_localeService']=_0x402593,this['_revisionService']=_0x4de5fe,this[_0x3cfa08(0x40d)]=_0x581141,this[_0x3cfa08(0x26b)]=_0x215a6b,this[_0x3cfa08(0x3cc)]=_0x42bafe,this[_0x3cfa08(0x28e)]=_0x2cc486,this['_permissionService']=_0x1b6b6d,this[_0x3cfa08(0x2dc)]=_0x5b733b,this[_0x3cfa08(0x2d6)]=_0x4aeae6);}get[_0x57ebea(0x30d)](){var _0xdcfb4b=_0x57ebea;return this[_0xdcfb4b(0x2f6)];}async['init'](){var _0x20b81f=_0x57ebea;if(this['state'])throw new Error(_0x20b81f(0x361));await this['_init']();}[_0x57ebea(0x38d)](){var _0x180361=_0x57ebea;return this[_0x180361(0x380)]=!0x0,_0x920f1a(()=>{var _0x59daa6=_0x180361;this[_0x59daa6(0x380)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x57ebea(0x2eb)](_0x1aa72b){var _0x35f2a2=_0x57ebea;this[_0x35f2a2(0x444)](_0x1aa72b);}['_updateState'](_0x1f28c6){var _0x4653e7=_0x57ebea;this[_0x4653e7(0x2f6)]=_0x1f28c6,this['_state$'][_0x4653e7(0x372)](_0x1f28c6);}async[_0x57ebea(0x18a)](){var _0x2c2a28=_0x57ebea,_0x15d39c;this[_0x2c2a28(0x1b8)](await this[_0x2c2a28(0x36d)]()),this[_0x2c2a28(0x2dc)]&&((_0x15d39c=this['_singleActiveUnitService'])==null||_0x15d39c[_0x2c2a28(0x299)](this[_0x2c2a28(0x1fb)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x2c2a28(0x1ef)](this[_0x2c2a28(0x1fb)])['subscribe'](_0x4ee0cf=>{var _0x275e41=_0x2c2a28;this[_0x275e41(0x3cc)][_0x275e41(0x3b7)](_0x275e41(0x1b0),_0x275e41(0x397),_0x4ee0cf),_0x4ee0cf===mi[_0x275e41(0x1f8)]?(this[_0x275e41(0x40d)][_0x275e41(0x37b)]({'id':re[_0x275e41(0x1e1)]}),this[_0x275e41(0x446)][_0x275e41(0x19c)](new _0x108f1a(this[_0x275e41(0x1fb)])['id'],!0x1),this[_0x275e41(0x446)][_0x275e41(0x38a)](!0x1)):(this[_0x275e41(0x446)]['updatePermissionPoint'](new _0x108f1a(this['unitID'])['id'],!0x0),this['_permissionService'][_0x275e41(0x38a)](!0x0));})));let _0x42c642=!0x1;return this['disposeWithMe'](this['session'][_0x2c2a28(0x1e4)][_0x2c2a28(0x3dc)](_0x4c703a=>{var _0x1ef925=_0x2c2a28;_0x4c703a===me[_0x1ef925(0x2f7)]?this[_0x1ef925(0x1d9)](_0x42c642):_0x4c703a===me[_0x1ef925(0x230)]&&(_0x42c642=!0x0,this[_0x1ef925(0x246)]());})),this['disposeWithMe'](this[_0x2c2a28(0x3ad)]['event$'][_0x2c2a28(0x3dc)](_0xbaad59=>{var _0x503cb4=_0x2c2a28;try{switch(_0xbaad59['eventID']){case _0x427891[_0x503cb4(0x20b)]:{this[_0x503cb4(0x29c)](_0x4301fa(_0xbaad59['data']));break;}case _0x427891['CHANGESET_ACK']:{this[_0x503cb4(0x358)](_0xbaad59['data']);break;}case _0x427891[_0x503cb4(0x2c4)]:{this[_0x503cb4(0x301)]();break;}case _0x427891[_0x503cb4(0x23e)]:{this[_0x503cb4(0x2ab)](_0xbaad59['data']);break;}case _0x427891[_0x503cb4(0x2f9)]:{this['_onFetchMissResult'](_0xbaad59['data']['changesets'][_0x503cb4(0x32d)](_0xc098c9=>_0x4301fa(_0xc098c9)));break;}case _0x427891[_0x503cb4(0x351)]:{this[_0x503cb4(0x301)]({'isPermissionRej':!0x0});break;}case _0x427891['UNISCRIPT_RUN']:break;}}catch(_0x55b214){throw console[_0x503cb4(0x379)](_0x503cb4(0x176),_0x55b214),_0x55b214;}})),this[_0x2c2a28(0x2f6)];}['_unlockTransition'](){var _0x570563=_0x57ebea;this[_0x570563(0x327)]=!0x1;}[_0x57ebea(0x3d2)](){var _0x14232c=_0x57ebea;if(this[_0x14232c(0x327)])throw new Error(_0x14232c(0x44f));this[_0x14232c(0x327)]=!0x0;}[_0x57ebea(0x444)](_0x567cf7){var _0x411d17=_0x57ebea;this['_lockTransition'](),this[_0x411d17(0x1b8)](this[_0x411d17(0x2f6)]['appendMutation'](_0x567cf7)),this[_0x411d17(0x188)]();}[_0x57ebea(0x29c)](_0xaaeaf2){var _0x507c79=_0x57ebea;if(!(_0xaaeaf2[_0x507c79(0x239)]<=this['_revisionService'][_0x507c79(0x16a)](this[_0x507c79(0x1fb)]))){if(this['_collaborationPaused']){this[_0x507c79(0x42b)][_0x507c79(0x37e)](_0xaaeaf2);return;}this[_0x507c79(0x1d2)](_0xaaeaf2);}}['_exhaustRemoteChangesetQueue'](){var _0xcd4f03=_0x57ebea;this[_0xcd4f03(0x42b)][_0xcd4f03(0x352)](_0x42e8ac=>this['_applyRemoteChangeset'](_0x42e8ac)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x4d4eb0){var _0xce8f94=_0x57ebea;const _0x3e0f5c=this[_0xce8f94(0x424)]['interceptor'][_0xce8f94(0x287)](this['_compressMutationService'][_0xce8f94(0x26d)]['getInterceptPoints']()[_0xce8f94(0x1c7)])(_0x4d4eb0[_0xce8f94(0x15d)],null)||_0x4d4eb0['mutations'],_0x1d80ba={..._0x4d4eb0,'mutations':_0x3e0f5c};this[_0xce8f94(0x3d2)](),this[_0xce8f94(0x1b8)](this[_0xce8f94(0x2f6)][_0xce8f94(0x410)](_0x1d80ba)),this[_0xce8f94(0x188)]();}['_onRemoteACK'](_0x30048b){var _0x1b8c0b=_0x57ebea;this['_lockTransition'](),this['_updateState'](this[_0x1b8c0b(0x2f6)]['onRemoteAck'](_0x30048b)),this['_unlockTransition']();}[_0x57ebea(0x301)](_0xd362a9){var _0x51e595=_0x57ebea;this[_0x51e595(0x3d2)](),this[_0x51e595(0x1b8)](this['_state'][_0x51e595(0x2af)](_0xd362a9)),this[_0x51e595(0x188)]();}['_onRemoteRetry'](_0x2cd1ce){var _0xe64cfa=_0x57ebea;this['_lockTransition'](),this[_0xe64cfa(0x1b8)](this[_0xe64cfa(0x2f6)][_0xe64cfa(0x423)](_0x2cd1ce)),this[_0xe64cfa(0x188)]();}[_0x57ebea(0x457)](_0x331c67){var _0x2042cb=_0x57ebea;if(!(this[_0x2042cb(0x2f6)]instanceof ee))throw new TypeError(_0x2042cb(0x199));const _0x5a9474=_0x331c67[_0x2042cb(0x32d)](_0xf7fc2e=>{var _0x548e25=_0x2042cb;const _0x445748=this[_0x548e25(0x424)][_0x548e25(0x26d)][_0x548e25(0x287)](this[_0x548e25(0x424)][_0x548e25(0x26d)][_0x548e25(0x191)]()['COMPRESS_MUTATION_APPLY'])(_0xf7fc2e[_0x548e25(0x15d)],null)||_0xf7fc2e['mutations'];return{..._0xf7fc2e,'mutations':_0x445748};});this[_0x2042cb(0x3d2)](),this[_0x2042cb(0x1b8)](this[_0x2042cb(0x2f6)][_0x2042cb(0x26c)](_0x5a9474)),this['_unlockTransition']();}[_0x57ebea(0x246)](){var _0x11945f=_0x57ebea;this[_0x11945f(0x3d2)](),this[_0x11945f(0x1b8)](this['_state'][_0x11945f(0x33f)]()),this[_0x11945f(0x188)]();}[_0x57ebea(0x1d9)](_0x210a4b=!0x1){var _0x53d47c=_0x57ebea;this[_0x53d47c(0x3d2)](),this[_0x53d47c(0x1b8)](this['_state'][_0x53d47c(0x252)]()),this['_unlockTransition']();const _0x2b1397=this[_0x53d47c(0x2f6)];_0x210a4b&&_0x2b1397 instanceof be&&(this['_lockTransition'](),this[_0x53d47c(0x1b8)](_0x2b1397[_0x53d47c(0x173)]()),this['_unlockTransition']());}async[_0x57ebea(0x36d)](){return new Promise(_0x44e531=>{var _0x355ac9=_0x5a33;this['session'][_0x355ac9(0x1e4)][_0x355ac9(0x165)](_0x5cf086(0x1))[_0x355ac9(0x3dc)](async _0x3eec7c=>{var _0x5bfbe5=_0x355ac9;_0x44e531(await this['_createInitialStateImpl'](_0x3eec7c===me[_0x5bfbe5(0x2f7)]));});});}[_0x57ebea(0x304)](){const _0x3d448c=this['unitID'];return{'onStateChange':(_0x3c42c3,_0x1664ae)=>{var _0x208e7b=_0x5a33;if(_0x3c42c3!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3c42c3[_0x208e7b(0x2be)]+_0x208e7b(0x282)+_0x1664ae['status']+_0x208e7b(0x39a)+this['_state']['status']);this[_0x208e7b(0x1b8)](_0x1664ae);},'onSendChangeset':_0x1aead4=>{var _0x31dbb0=_0x5a33;_0x1aead4[_0x31dbb0(0x192)]||(_0x1aead4[_0x31dbb0(0x192)]=this[_0x31dbb0(0x2fd)],_0x1aead4[_0x31dbb0(0x2bf)]=++this[_0x31dbb0(0x1a4)]);const _0x8f727c={'eventID':_0x427891[_0x31dbb0(0x3f9)],'data':{'unitID':_0x1aead4[_0x31dbb0(0x1fb)],'unitType':this['_type'],'changeset':_0x1aead4,'memberID':this[_0x31dbb0(0x3ad)][_0x31dbb0(0x387)]()}};this[_0x31dbb0(0x3ad)][_0x31dbb0(0x2f5)](_0x8f727c,this[_0x31dbb0(0x1fb)]);},'onMissingChangesets':({from:_0x2b2875,to:_0x534e91})=>{var _0x43fe79=_0x5a33;this['_logService'][_0x43fe79(0x3b7)](_0x43fe79(0x1b0),_0x43fe79(0x1bb)+_0x2b2875+_0x43fe79(0x33c)+_0x534e91);const _0x1eecd1={'eventID':_0x427891[_0x43fe79(0x1ba)],'data':{'unitID':_0x3d448c,'unitType':this[_0x43fe79(0x216)],'from':_0x2b2875,'to':_0x534e91}};this['session']['send'](_0x1eecd1,this[_0x43fe79(0x1fb)]);}};}async[_0x57ebea(0x151)](_0x2ebd57){var _0x17a3e1=_0x57ebea,_0x314ca6,_0x1f9cb9,_0x19db86;const _0x25dbd0=await((_0x314ca6=this[_0x17a3e1(0x2d6)])==null?void 0x0:_0x314ca6['loadOfflineData'](this[_0x17a3e1(0x1fb)])),_0x1fde58=(_0x1f9cb9=_0x25dbd0==null?void 0x0:_0x25dbd0[_0x17a3e1(0x15d)])!=null?_0x1f9cb9:[],_0x392ba8=(_0x19db86=_0x25dbd0==null?void 0x0:_0x25dbd0[_0x17a3e1(0x324)])!=null?_0x19db86:null,_0x4cc5c6=!!(_0x392ba8!=null&&_0x392ba8[_0x17a3e1(0x192)])&&!!(_0x392ba8!=null&&_0x392ba8[_0x17a3e1(0x2bf)]);this['_changesetSessionId']=_0x4cc5c6?_0x392ba8[_0x17a3e1(0x192)]:_0x440c2a(),this[_0x17a3e1(0x1a4)]=_0x4cc5c6?_0x392ba8[_0x17a3e1(0x2bf)]:0x0;const _0x232dda=this[_0x17a3e1(0x1fb)];try{this['_replayCachedMutations'](_0x392ba8,_0x1fde58);}catch(_0xdaec80){this[_0x17a3e1(0x3cc)][_0x17a3e1(0x379)](_0xdaec80);}const _0x4072a4=this[_0x17a3e1(0x304)]();if(_0x2ebd57){const _0xcbd454=Oi(this[_0x17a3e1(0x30c)],_0x232dda,this[_0x17a3e1(0x216)],_0x392ba8,_0x1fde58,_0x4072a4);return _0xcbd454 instanceof ae?_0xcbd454[_0x17a3e1(0x381)]():(_0xcbd454 instanceof oe||_0xcbd454 instanceof le)&&_0xcbd454[_0x17a3e1(0x3b0)](),_0xcbd454;}return this['_injector'][_0x17a3e1(0x220)](de,_0x232dda,this[_0x17a3e1(0x216)],_0x392ba8,_0x1fde58,_0x4072a4);}[_0x57ebea(0x201)](_0x58ec06,_0x56fb35){var _0x905c18=_0x57ebea,_0x37291f,_0x3586a4;const _0x2e1d1b=this[_0x905c18(0x424)][_0x905c18(0x26d)][_0x905c18(0x287)](this['_compressMutationService'][_0x905c18(0x26d)][_0x905c18(0x191)]()[_0x905c18(0x1c7)]);(_0x37291f=_0x2e1d1b((_0x58ec06==null?void 0x0:_0x58ec06[_0x905c18(0x15d)])||[],null))==null||_0x37291f[_0x905c18(0x352)](_0x135fb7=>this[_0x905c18(0x28e)][_0x905c18(0x384)](_0x135fb7['id'],_0x135fb7[_0x905c18(0x437)])),(_0x3586a4=_0x2e1d1b(_0x56fb35||[],null))==null||_0x3586a4[_0x905c18(0x352)](_0x24cc13=>this[_0x905c18(0x28e)][_0x905c18(0x384)](_0x24cc13['id'],_0x24cc13[_0x905c18(0x437)]));}};st=At([$(0x3,_0xd9eea8(_0xa5b871)),$(0x4,_0xd9eea8(_0x3ec077)),$(0x5,_0xd9eea8(_0x28b880)),$(0x6,_0xd9eea8(_0x1a89bb)),$(0x7,_0xd9eea8(ve)),$(0x8,_0xde0007),$(0x9,_0x395070),$(0xa,_0x146b0f),$(0xb,_0x54b0d9),$(0xc,_0x4761ab(_t)),$(0xd,_0x4761ab(X))],st);let It=class extends st{constructor(_0x36ad86,_0x54f9d7,_0x224f6a,_0x2ec561,_0x167c84,_0x359473,_0x39468d,_0x27079d,_0x357e40,_0x769aa5,_0x2ff255,_0x3aea75,_0x315aab,_0x4fb9c7){var _0x38dfd1=_0x57ebea;super(_0x36ad86,_0x224f6a,_0x54f9d7,_0x2ec561,_0x167c84,_0x359473,_0x39468d,_0x27079d,_0x357e40,_0x769aa5,_0x2ff255,_0x3aea75,_0x315aab,_0x4fb9c7),D(this,_0x38dfd1(0x3c4),null),(this['unitID']=_0x36ad86,this[_0x38dfd1(0x286)]=_0x54f9d7);}[_0x57ebea(0x41b)](_0x54bdd7){this['_handlerCallback']=_0x54bdd7;}[_0x57ebea(0x181)](){this['_handlerCallback']=null,super['dispose']();}[_0x57ebea(0x304)](){var _0x3f55ee=_0x57ebea;const _0x27cbac=super['_createHandler']();return _0x27cbac['onTransformIME']=_0x4f3257=>{var _0x26b560=_0x5a33,_0x180497,_0x37fa32;return(_0x37fa32=(_0x180497=this[_0x26b560(0x3c4)])==null?void 0x0:_0x180497[_0x26b560(0x34c)])==null?void 0x0:_0x37fa32[_0x26b560(0x2b6)](_0x180497,_0x4f3257);},_0x27cbac['onTransformState']=_0x272ee8=>{var _0x47a9f6=_0x5a33,_0x49362b,_0x172dd3;return(_0x172dd3=(_0x49362b=this[_0x47a9f6(0x3c4)])==null?void 0x0:_0x49362b[_0x47a9f6(0x27d)])==null?void 0x0:_0x172dd3[_0x47a9f6(0x2b6)](_0x49362b,_0x272ee8);},_0x27cbac[_0x3f55ee(0x3c6)]=_0x304436=>{var _0x23bdf7=_0x3f55ee,_0x5745d1,_0x3101c0;return(_0x3101c0=(_0x5745d1=this[_0x23bdf7(0x3c4)])==null?void 0x0:_0x5745d1['onTransformSelections'])==null?void 0x0:_0x3101c0[_0x23bdf7(0x2b6)](_0x5745d1,_0x304436);},_0x27cbac[_0x3f55ee(0x3d9)]=_0x1a447b=>{var _0x2a2dda=_0x3f55ee,_0x296385,_0x279b95;return(_0x279b95=(_0x296385=this[_0x2a2dda(0x3c4)])==null?void 0x0:_0x296385[_0x2a2dda(0x3d9)])==null?void 0x0:_0x279b95[_0x2a2dda(0x2b6)](_0x296385,_0x1a447b);},_0x27cbac[_0x3f55ee(0x3db)]=_0xe6b71d=>{var _0xa2d326=_0x3f55ee,_0x4448e1,_0x31539e,_0x3da992;if(!((_0x4448e1=this['_handlerCallback'])!=null&&_0x4448e1[_0xa2d326(0x3db)]))throw new Error(_0xa2d326(0x449));return(_0x3da992=(_0x31539e=this[_0xa2d326(0x3c4)])==null?void 0x0:_0x31539e[_0xa2d326(0x3db)])==null?void 0x0:_0x3da992[_0xa2d326(0x2b6)](_0x31539e,_0xe6b71d);},_0x27cbac[_0x3f55ee(0x2a7)]=_0x1bd640=>{var _0x5c7a90=_0x3f55ee,_0x459f93,_0x303988,_0x8c605f;if(!((_0x459f93=this[_0x5c7a90(0x3c4)])!=null&&_0x459f93[_0x5c7a90(0x2a7)]))throw new Error(_0x5c7a90(0x2ae));return(_0x8c605f=(_0x303988=this['_handlerCallback'])==null?void 0x0:_0x303988['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x8c605f[_0x5c7a90(0x2b6)](_0x303988,_0x1bd640);},_0x27cbac;}async['_init'](){var _0x360ec0=_0x57ebea;const _0x548cc2=await super['_init']();return this[_0x360ec0(0x24e)](this[_0x360ec0(0x28e)][_0x360ec0(0x210)]((_0x2823f3,_0x256dad)=>{var _0x4b84bc=_0x360ec0;if(_0x2823f3[_0x4b84bc(0x286)]!==_0x7655d0[_0x4b84bc(0x450)]||_0x256dad!=null&&_0x256dad['fromCollab']||_0x256dad!=null&&_0x256dad[_0x4b84bc(0x2e3)]||_0x2823f3['id']===_0x3de14f['id'])return;const _0x5e9c88=_0x2823f3[_0x4b84bc(0x437)];if((_0x5e9c88==null?void 0x0:_0x5e9c88[_0x4b84bc(0x1f2)])!==this[_0x4b84bc(0x1fb)])return;const _0x594bb8=_0x2823f3,_0x357dbd=this[_0x4b84bc(0x424)][_0x4b84bc(0x26d)][_0x4b84bc(0x287)](this[_0x4b84bc(0x424)]['interceptor'][_0x4b84bc(0x191)]()[_0x4b84bc(0x265)])([_0x594bb8],this['_univerInstanceService'])||[_0x594bb8];this[_0x4b84bc(0x444)](_0x357dbd[0x0]);})),_0x548cc2;}};It=At([$(0x3,_0xd9eea8(_0xa5b871)),$(0x4,_0xd9eea8(_0x3ec077)),$(0x5,_0xd9eea8(_0x28b880)),$(0x6,_0xd9eea8(_0x1a89bb)),$(0x7,_0xd9eea8(ve)),$(0x8,_0xde0007),$(0x9,_0x395070),$(0xa,_0x146b0f),$(0xb,_0x54b0d9),$(0xc,_0x4761ab(_t)),$(0xd,_0x4761ab(X))],It);let St=class extends st{constructor(_0x20d498,_0x41e337,_0x3cdac1,_0x1aeab0,_0x14dabe,_0x3b8693,_0x2067a2,_0x13dac0,_0x2e8b7f,_0x1ee154,_0x53caf3,_0x2fe3b4,_0x491fed,_0x52f883,_0x12712d){var _0x183966=_0x57ebea;super(_0x20d498,_0x3cdac1,_0x41e337,_0x1aeab0,_0x14dabe,_0x3b8693,_0x2067a2,_0x2e8b7f,_0x1ee154,_0x53caf3,_0x2fe3b4,_0x491fed,_0x52f883,_0x12712d),this['unitID']=_0x20d498,this[_0x183966(0x286)]=_0x41e337,this[_0x183966(0x357)]=_0x13dac0;}[_0x57ebea(0x304)](){var _0x4816c9=_0x57ebea;const _0x166677=super[_0x4816c9(0x304)]();return _0x166677[_0x4816c9(0x3c6)]=_0x3d2fe4=>this[_0x4816c9(0x357)][_0x4816c9(0x13f)](_0x3d2fe4),_0x166677;}async[_0x57ebea(0x18a)](){var _0x5dd386=_0x57ebea;const _0x85e1b9=await super[_0x5dd386(0x18a)]();return this[_0x5dd386(0x24e)](this[_0x5dd386(0x28e)][_0x5dd386(0x210)]((_0x482d29,_0x5471a1)=>{var _0x13d9c0=_0x5dd386;if(_0x482d29['type']!==_0x7655d0[_0x13d9c0(0x450)]||_0x5471a1!=null&&_0x5471a1[_0x13d9c0(0x1e2)]||_0x5471a1!=null&&_0x5471a1[_0x13d9c0(0x2e3)])return;const _0x4db10a=_0x482d29[_0x13d9c0(0x437)];if((_0x4db10a==null?void 0x0:_0x4db10a['unitId'])!==this[_0x13d9c0(0x1fb)])return;const _0x298652=_0x482d29,_0x1f0f88=this[_0x13d9c0(0x424)]['interceptor'][_0x13d9c0(0x287)](this[_0x13d9c0(0x424)]['interceptor'][_0x13d9c0(0x191)]()[_0x13d9c0(0x265)])([_0x298652],this[_0x13d9c0(0x26b)])||[_0x298652];this[_0x13d9c0(0x444)](_0x1f0f88[0x0]);})),_0x85e1b9;}};St=At([$(0x3,_0xd9eea8(_0xa5b871)),$(0x4,_0xd9eea8(_0x3ec077)),$(0x5,_0xd9eea8(_0x28b880)),$(0x6,_0xd9eea8(_0x1a89bb)),$(0x7,_0xd9eea8(it)),$(0x8,_0xd9eea8(ve)),$(0x9,_0xde0007),$(0xa,_0x395070),$(0xb,_0x146b0f),$(0xc,_0x54b0d9),$(0xd,_0x4761ab(_t)),$(0xe,_0x4761ab(X))],St);const Vs=_0x51449a(_0x57ebea(0x3bf));function Gs(_0x3bbe38){var _0x3f9d79=_0x57ebea,_0x5e208b,_0x52f4d5,_0x2b53c4,_0x4766d2,_0x21fd2b;const _0x27ae39=_0x3bbe38['data'],_0x4baacf=JSON[_0x3f9d79(0x251)](_0x27ae39);switch(_0x4baacf[_0x3f9d79(0x3d5)]){case j['HEARTBEAT']:case j[_0x3f9d79(0x321)]:{const _0x5e65cf=_0x4baacf[_0x3f9d79(0x394)];return{..._0x4baacf,'data':_0x5e65cf,'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};}case j[_0x3f9d79(0x212)]:{const _0x2bb550=_0x4baacf['joinRsp'];return{..._0x4baacf,'data':_0x2bb550,'cmd':_0x4baacf['cmd']};}case j[_0x3f9d79(0x18f)]:{const _0x54b73f=_0x4baacf[_0x3f9d79(0x3ed)];switch(_0x54b73f[_0x3f9d79(0x34b)]){case _0x427891[_0x3f9d79(0x351)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x5e208b=_0x54b73f[_0x3f9d79(0x341)])==null?void 0x0:_0x5e208b['cs']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x16d)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x52f4d5=_0x54b73f[_0x3f9d79(0x3e0)])==null?void 0x0:_0x52f4d5['cs']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x20b)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x2b53c4=_0x54b73f[_0x3f9d79(0x189)])==null?void 0x0:_0x2b53c4['cs']},'cmd':_0x4baacf['cmd']};case _0x427891[_0x3f9d79(0x2c4)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x4766d2=_0x54b73f[_0x3f9d79(0x1c0)])==null?void 0x0:_0x4766d2['cs']},'cmd':_0x4baacf['cmd']};case _0x427891[_0x3f9d79(0x23e)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x21fd2b=_0x54b73f[_0x3f9d79(0x142)])==null?void 0x0:_0x21fd2b['cs']},'cmd':_0x4baacf['cmd']};case _0x427891[_0x3f9d79(0x3cf)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x3f5)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891['USERS_ENTER']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x439)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x208)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x2e2)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x1e9)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x3f3)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x348)]:case _0x427891[_0x3f9d79(0x14e)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x2b1)]},'cmd':_0x4baacf['cmd']};case _0x427891['LIVESHARE_TERMINATE']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f['liveShareNewHost']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x140)]:return{..._0x4baacf,'data':_0x54b73f,'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891['COMMENT_UPDATE']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x1b7)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x451)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f['updatePermissionObjEvent']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x36f)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x3ee)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891['UNISCRIPT_RUN']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f['uniscriptRunEvent']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};default:return _0x4baacf;}}default:return _0x4baacf;}}function Ws(_0x777308){var _0x4dbefd=_0x57ebea;switch(_0x777308[_0x4dbefd(0x3d5)]){case j['HEARTBEAT']:case j['HELLO']:return JSON[_0x4dbefd(0x3fb)]({'cmd':_0x777308[_0x4dbefd(0x3d5)],'routeKey':_0x777308[_0x4dbefd(0x41f)]});case j[_0x4dbefd(0x3c5)]:{let _0xd150ae;switch(_0x777308[_0x4dbefd(0x455)]['eventID']){case _0x427891[_0x4dbefd(0x3cf)]:{_0xd150ae={'eventID':_0x427891['UPDATE_CURSOR'],'updateCursorEvent':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x455)]};break;}case _0x427891[_0x4dbefd(0x208)]:{_0xd150ae={'eventID':_0x427891['USERS_LEAVE'],'leaveEvent':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x455)]};break;}case _0x427891[_0x4dbefd(0x453)]:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x453)],'joinEvent':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x455)]};break;}case _0x427891[_0x4dbefd(0x1e9)]:{_0xd150ae={'eventID':_0x427891['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x777308[_0x4dbefd(0x455)]['data']};break;}case _0x427891[_0x4dbefd(0x14e)]:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x14e)],'liveShareOperation':_0x777308['data'][_0x4dbefd(0x455)]};break;}case _0x427891['LIVESHARE_TERMINATE']:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x1b6)],'liveShareTerminate':_0x777308[_0x4dbefd(0x455)]['data']};break;}case _0x427891[_0x4dbefd(0x23a)]:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x23a)],'liveShareRequestHost':_0x777308['data'][_0x4dbefd(0x455)]};break;}case _0x427891['LIVESHARE_FETCH_OPERATIONS']:{_0xd150ae={'eventID':_0x427891['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xd150ae={'eventID':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x34b)]};}return JSON['stringify']({'cmd':_0x777308['cmd'],'routeKey':_0x777308['routeKey'],'collaMsg':_0xd150ae});}case j[_0x4dbefd(0x212)]:return JSON[_0x4dbefd(0x3fb)]({'cmd':_0x777308['cmd'],'routeKey':_0x777308['routeKey'],'joinReq':_0x777308[_0x4dbefd(0x455)]});case j['LEAVE']:return JSON[_0x4dbefd(0x3fb)]({'cmd':_0x777308[_0x4dbefd(0x3d5)],'routeKey':_0x777308[_0x4dbefd(0x41f)],'leaveReq':_0x777308['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ys=Object[_0x57ebea(0x1a9)],Ks=(_0x49434e,_0x3b31e8,_0x23bab6,_0x23a855)=>{var _0x521855=_0x57ebea;for(var _0x593afa=_0x23a855>0x1?void 0x0:_0x23a855?Ys(_0x3b31e8,_0x23bab6):_0x3b31e8,_0x31cc0a=_0x49434e[_0x521855(0x291)]-0x1,_0x25fad0;_0x31cc0a>=0x0;_0x31cc0a--)(_0x25fad0=_0x49434e[_0x31cc0a])&&(_0x593afa=_0x25fad0(_0x593afa)||_0x593afa);return _0x593afa;},ye=(_0x299186,_0x46a1be)=>(_0x12ae6e,_0x179119)=>_0x46a1be(_0x12ae6e,_0x179119,_0x299186);const Ri=_0x51449a(_0x57ebea(0x22b));function qs(_0x5421a7,_0x4f3dcc,_0x17497d){var _0x1f30e3=_0x57ebea;return _0x5421a7+'/'+_0x4f3dcc+_0x1f30e3(0x143)+_0x17497d+_0x1f30e3(0x2d8);}let Gt=class extends _0x396fad{constructor(_0x3e74f1,_0x2d2bc0,_0x32a855,_0x2ae505,_0x243652){var _0x3e6050=_0x57ebea;super(),this['_injector']=_0x3e74f1,this[_0x3e6050(0x320)]=_0x2d2bc0,this[_0x3e6050(0x25c)]=_0x32a855,this[_0x3e6050(0x3cc)]=_0x2ae505,this[_0x3e6050(0x2b9)]=_0x243652;}[_0x57ebea(0x415)](_0xba368d){var _0x38b74d=_0x57ebea;const _0x25f092=this[_0x38b74d(0x30c)][_0x38b74d(0x19b)](_0x35aa36);if(!_0x25f092)throw new Error(_0x38b74d(0x3a2));const _0x60713e=_0x25f092[_0x38b74d(0x190)](_0xba368d);if(!_0x60713e)throw new Error(_0x38b74d(0x186));const _0x31b39a=new _0x81af46(),_0x67e7ca=new _0x244912();_0x31b39a[_0x38b74d(0x43f)](_0x60713e[_0x38b74d(0x1ec)][_0x38b74d(0x3dc)](_0xc66f65=>_0x67e7ca[_0x38b74d(0x372)](_0xc66f65))),_0x31b39a[_0x38b74d(0x43f)](_0x920f1a(()=>_0x67e7ca['complete']()));const _0xad8fe1=new _0x244912();_0x31b39a['add'](_0x60713e['error$'][_0x38b74d(0x3dc)](_0x2e467e=>_0xad8fe1[_0x38b74d(0x372)](_0x2e467e))),_0x31b39a['add'](_0x920f1a(()=>_0xad8fe1[_0x38b74d(0x42a)]()));const _0x3c1ba0=new _0x244912();_0x31b39a['add'](_0x60713e[_0x38b74d(0x2fb)][_0x38b74d(0x3dc)](_0x3c8812=>{var _0x1a778c=_0x38b74d;const _0x44045d=Gs(_0x3c8812);_0x3c1ba0[_0x1a778c(0x372)](_0x44045d);})),_0x31b39a[_0x38b74d(0x43f)](_0x920f1a(()=>_0x3c1ba0[_0x38b74d(0x42a)]()));let _0x4d9406;const _0x5349c5=()=>{var _0x10c338=_0x38b74d;_0xad8fe1[_0x10c338(0x372)](new Event(_0x10c338(0x2bb))),_0x67e7ca[_0x10c338(0x372)](new Event(_0x10c338(0x2bb))),_0x4d9406['close']();};return _0x4d9406={'memberID':'','close$':_0x67e7ca[_0x38b74d(0x2c5)](),'error$':_0xad8fe1[_0x38b74d(0x2c5)](),'open$':_0x60713e[_0x38b74d(0x205)],'message$':_0x3c1ba0[_0x38b74d(0x2c5)](),'send':_0x5ab4c8=>{var _0x570194=_0x38b74d;if(_0x5ab4c8[_0x570194(0x3d5)]===j['INGEST']){if(_0x5ab4c8['data'][_0x570194(0x34b)]===_0x427891[_0x570194(0x3f9)]){this[_0x570194(0x45c)](_0x4d9406,_0x5ab4c8[_0x570194(0x455)])['catch'](_0x529afc=>{var _0x2d4e36=_0x570194;this[_0x2d4e36(0x3cc)][_0x2d4e36(0x379)](_0x529afc),_0x5349c5();});return;}if(_0x5ab4c8[_0x570194(0x455)]['eventID']===_0x427891[_0x570194(0x1ba)]){const _0x1a5506=_0x5ab4c8[_0x570194(0x455)];this[_0x570194(0x399)](_0x1a5506)['then'](_0x1ac3e3=>{var _0x50a93a=_0x570194;_0x3c1ba0[_0x50a93a(0x372)]({'cmd':j[_0x50a93a(0x18f)],'code':Ee['OK'],'routeKey':_0x1a5506[_0x50a93a(0x455)][_0x50a93a(0x1fb)],'routeType':'','data':{'eventID':_0x427891[_0x50a93a(0x2f9)],'data':{'changesets':_0x1ac3e3}}});})[_0x570194(0x310)](_0x37a430=>{var _0x57f0d8=_0x570194;this[_0x57f0d8(0x3cc)]['error'](_0x37a430),_0x5349c5();});return;}}_0x60713e[_0x570194(0x2f5)](Ws(_0x5ab4c8));},'close':()=>{var _0x14256a=_0x38b74d;_0x60713e['close'](),_0x31b39a[_0x14256a(0x181)]();}},_0x4d9406;}async[_0x57ebea(0x45c)](_0x533871,_0x3d912d){var _0x5705da=_0x57ebea,_0x100695;const {unitType:_0x167ff3,unitID:_0x1e144a,changeset:_0x5bf20c}=_0x3d912d[_0x5705da(0x455)],_0x5d77fb={'unitID':_0x1e144a,'memberID':_0x533871['memberID'],'type':_0x167ff3,'changeset':_0x24b872(_0x5bf20c)},_0x215e02=this[_0x5705da(0x25c)][_0x5705da(0x1f4)](K),_0x17669e=qs((_0x100695=_0x215e02==null?void 0x0:_0x215e02[_0x5705da(0x413)])!=null?_0x100695:Ns,_0x167ff3,_0x1e144a);try{await this['_httpService'][_0x5705da(0x214)](_0x17669e,{'body':_0x5d77fb});}catch(_0x2034fe){throw this['_logService'][_0x5705da(0x379)](_0x5705da(0x177),'submit\x20changeset\x20error!'),_0x2034fe;}}async[_0x57ebea(0x399)](_0xf5a311){var _0x4a358e=_0x57ebea;const {unitID:_0x1d6e3a,from:_0x1c45f2,to:_0x1887dd,unitType:_0x2abbe4}=_0xf5a311[_0x4a358e(0x455)];return(await this[_0x4a358e(0x2b9)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1d6e3a,'type':_0x2abbe4,'from':_0x1c45f2,'to':_0x1887dd}))[_0x4a358e(0x179)]['map'](_0x4fec95=>((_0x4fec95['mutations']===null||_0x4fec95[_0x4a358e(0x15d)]===void 0x0)&&(_0x4fec95[_0x4a358e(0x15d)]=[]),_0x4fec95));}};Gt=Ks([ye(0x0,_0xd9eea8(_0xa5b871)),ye(0x1,_0xd9eea8(_0x3e703e)),ye(0x2,_0x218bfc),ye(0x3,_0x395070),ye(0x4,_0x4d28e8)],Gt);var zs=Object['getOwnPropertyDescriptor'],Xs=(_0x7c67a,_0x474ded,_0x262821,_0x25f849)=>{for(var _0x484901=_0x25f849>0x1?void 0x0:_0x25f849?zs(_0x474ded,_0x262821):_0x474ded,_0x56c40f=_0x7c67a['length']-0x1,_0xc03009;_0x56c40f>=0x0;_0x56c40f--)(_0xc03009=_0x7c67a[_0x56c40f])&&(_0x484901=_0xc03009(_0x484901)||_0x484901);return _0x484901;},Re=(_0x51ed03,_0x59edc7)=>(_0x402d18,_0x4accd9)=>_0x59edc7(_0x402d18,_0x4accd9,_0x51ed03);let we=class extends _0x396fad{constructor(_0x14198d,_0x2e999a,_0x3a0dae,_0x2ce513,_0x44d441,_0x45dcdf){var _0x2bae38=_0x57ebea;super(),D(this,_0x2bae38(0x2ee),new _0x4e139f(void 0x0)),D(this,_0x2bae38(0x2de),this[_0x2bae38(0x2ee)][_0x2bae38(0x2c5)]()),D(this,_0x2bae38(0x34a),null),D(this,'_sessions',new Map()),D(this,_0x2bae38(0x29f),new _0x4e139f(me[_0x2bae38(0x40a)])),D(this,_0x2bae38(0x14f),this[_0x2bae38(0x29f)][_0x2bae38(0x2c5)]()),D(this,_0x2bae38(0x1dc),!0x1),D(this,_0x2bae38(0x1d5)),D(this,'_retryCount',0x0),D(this,_0x2bae38(0x323)),D(this,_0x2bae38(0x218)),(this[_0x2bae38(0x30c)]=_0x14198d,this['_logService']=_0x2e999a,this[_0x2bae38(0x25c)]=_0x3a0dae,this['_socketService']=_0x2ce513,this['_collaborationUIEventService']=_0x44d441,this[_0x2bae38(0x139)]=_0x45dcdf,this[_0x2bae38(0x377)]());}get[_0x57ebea(0x235)](){var _0x514977=_0x57ebea;return this[_0x514977(0x2ee)][_0x514977(0x254)]();}['_listenToNetworkCondition'](){var _0x17f28d=_0x57ebea;this[_0x17f28d(0x139)]&&this['disposeWithMe'](this[_0x17f28d(0x139)][_0x17f28d(0x3a8)][_0x17f28d(0x3dc)](_0xf1f791=>{var _0x41ca52=_0x17f28d;_0xf1f791&&!this[_0x41ca52(0x235)]&&this['reconnect'](),_0xf1f791||this[_0x41ca52(0x418)]();}));}['dispose'](){var _0x3f7f5e=_0x57ebea;super['dispose'](),this[_0x3f7f5e(0x213)](),this[_0x3f7f5e(0x1ff)](),this[_0x3f7f5e(0x307)](),this['_sessions'][_0x3f7f5e(0x352)](_0xd9d0ae=>_0xd9d0ae[_0x3f7f5e(0x181)]()),this[_0x3f7f5e(0x309)][_0x3f7f5e(0x2b7)](),this[_0x3f7f5e(0x29f)][_0x3f7f5e(0x42a)]();}async[_0x57ebea(0x3b1)](_0x2a7dab){var _0x5cd30b=_0x57ebea;if(this[_0x5cd30b(0x309)][_0x5cd30b(0x280)](_0x2a7dab))return this[_0x5cd30b(0x309)][_0x5cd30b(0x19b)](_0x2a7dab);this[_0x5cd30b(0x211)]();const _0x48afd9=this[_0x5cd30b(0x30c)]['createInstance'](mt,_0x2a7dab,this[_0x5cd30b(0x2ee)][_0x5cd30b(0x2c5)]());return this[_0x5cd30b(0x309)][_0x5cd30b(0x375)](_0x2a7dab,_0x48afd9),_0x48afd9;}[_0x57ebea(0x35b)](_0x3f7290){var _0x396530=_0x57ebea,_0x239969;const _0x2eda2b=this[_0x396530(0x309)][_0x396530(0x19b)](_0x3f7290);_0x2eda2b&&(this[_0x396530(0x309)][_0x396530(0x22e)](_0x3f7290),_0x2eda2b['close']()),this['_sessions']['size']||(_0x239969=this[_0x396530(0x235)])==null||_0x239969['close']();}['reconnect'](){var _0x3de561=_0x57ebea;this[_0x3de561(0x3e3)]=0x0,this[_0x3de561(0x213)](),this['_tryReconnect']();}[_0x57ebea(0x213)](){var _0x5253a4=_0x57ebea;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5253a4(0x1d5)]),this[_0x5253a4(0x1d5)]=null);}async[_0x57ebea(0x28a)](){var _0x469029=_0x57ebea,_0x2f3113;const _0x15818b=this['_configService'][_0x469029(0x1f4)](K),_0x4b0d83=(_0x2f3113=_0x15818b==null?void 0x0:_0x15818b[_0x469029(0x366)])!=null?_0x2f3113:Is,_0x34a5db=await this['_socketService'][_0x469029(0x190)](_0x4b0d83);return this['_candidateSocket']=_0x34a5db,_0x34a5db;}async[_0x57ebea(0x211)](){var _0x427bd6=_0x57ebea,_0x33f718,_0x8a036b;try{const _0x493f73=(_0x8a036b=(_0x33f718=this[_0x427bd6(0x235)])!=null?_0x33f718:this[_0x427bd6(0x34a)])!=null?_0x8a036b:await this[_0x427bd6(0x28a)]();if(_0x493f73){const _0x1764f8=_0x493f73[_0x427bd6(0x2f5)];_0x493f73[_0x427bd6(0x2f5)]=_0x4a8f58=>(this[_0x427bd6(0x3ff)](),_0x1764f8[_0x427bd6(0x2d4)](_0x493f73,[_0x4a8f58])),_0x493f73[_0x427bd6(0x2fb)][_0x427bd6(0x3dc)](_0x3a046a=>this['_onMessage'](_0x493f73,_0x3a046a)),_0x493f73[_0x427bd6(0x175)][_0x427bd6(0x165)](_0x28466d(0x1))[_0x427bd6(0x3dc)](_0x3755cb=>this[_0x427bd6(0x3cc)]['error'](_0x427bd6(0x274),_0x3755cb)),_0x493f73[_0x427bd6(0x205)][_0x427bd6(0x165)](_0x28466d(0x1))[_0x427bd6(0x3dc)](()=>{var _0x2f194c=_0x427bd6;this[_0x2f194c(0x406)](_0x493f73);}),_0x493f73[_0x427bd6(0x1ec)][_0x427bd6(0x165)](_0x28466d(0x1))[_0x427bd6(0x3dc)](_0x3c9de9=>{var _0x2a017d=_0x427bd6;this[_0x2a017d(0x3cc)][_0x2a017d(0x3b7)](_0x2a017d(0x445),_0x2a017d(0x440),_0x3c9de9),this['_onConnectionFailed']();});}}catch(_0x4a02d4){this['_logService'][_0x427bd6(0x379)](_0x4a02d4),this['_onConnectionFailed']();}}[_0x57ebea(0x406)](_0x1b7696){var _0x34b203=_0x57ebea;this['_logService'][_0x34b203(0x3b7)](_0x34b203(0x445),'socket\x20open.'),_0x1b7696['send']({'cmd':j[_0x34b203(0x321)]}),this['_rescheduleHeartbeat']();}[_0x57ebea(0x418)](){var _0x35b90f=_0x57ebea;this[_0x35b90f(0x1dc)]=!0x1,this[_0x35b90f(0x34a)]=null,this[_0x35b90f(0x29f)][_0x35b90f(0x372)](me[_0x35b90f(0x230)]),this['_socket$'][_0x35b90f(0x372)](null),this[_0x35b90f(0x1ff)](),this[_0x35b90f(0x307)]();}['_onConnectionFailed'](){var _0x219cc6=_0x57ebea,_0x4c1644;this[_0x219cc6(0x418)](),this['_retryCount']<((_0x4c1644=this[_0x219cc6(0x25c)]['getConfig'](Os))!=null?_0x4c1644:Rs)?(this[_0x219cc6(0x150)][_0x219cc6(0x37b)]({'id':re[_0x219cc6(0x2db)]}),this[_0x219cc6(0x257)]()):this[_0x219cc6(0x150)][_0x219cc6(0x37b)]({'id':re[_0x219cc6(0x2f1)]});}[_0x57ebea(0x257)](){var _0x38751b=_0x57ebea,_0x5d52a6;const _0xc4e34b=this['_retryCount'],_0x55c7a9=this[_0x38751b(0x25c)][_0x38751b(0x1f4)](K),_0x1464b5=_0xc4e34b===0x0?0x0:((_0x5d52a6=_0x55c7a9==null?void 0x0:_0x55c7a9[_0x38751b(0x398)])!=null?_0x5d52a6:Ts)*0x2**_0xc4e34b;this[_0x38751b(0x1d5)]=setTimeout(()=>{var _0x18c0b6=_0x38751b;clearTimeout(this[_0x18c0b6(0x1d5)]),this[_0x18c0b6(0x1d5)]=null,this['_tryEnsureSocket']();},_0x1464b5),this[_0x38751b(0x3e3)]+=0x1;}[_0x57ebea(0x247)](_0x302424,_0x58f472){var _0x251aa5=_0x57ebea;const {cmd:_0x27dca8}=_0x58f472;_0x27dca8===j['HELLO']&&!this['_socketReady']&&(_0x302424[_0x251aa5(0x329)]=_0x58f472[_0x251aa5(0x455)]['memberID'],this[_0x251aa5(0x2ee)]['next'](_0x302424),this['_status$'][_0x251aa5(0x372)](me[_0x251aa5(0x2f7)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x27dca8===j['HEARTBEAT']&&this[_0x251aa5(0x1ff)](),this[_0x251aa5(0x3ff)]();}['_rescheduleHeartbeat'](){var _0x1b2972=_0x57ebea,_0x34cb70;this['_clearHeartbeatTimer'](),this[_0x1b2972(0x323)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x34cb70=this['_configService']['getConfig'](Ss))!=null?_0x34cb70:gs);}[_0x57ebea(0x1c8)](){var _0x354aef=_0x57ebea;this[_0x354aef(0x235)][_0x354aef(0x2f5)]({'cmd':j[_0x354aef(0x27a)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x5036fc=_0x57ebea,_0x2e6bc5;this[_0x5036fc(0x218)]=setTimeout(()=>this[_0x5036fc(0x422)](),(_0x2e6bc5=this[_0x5036fc(0x25c)]['getConfig'](di))!=null?_0x2e6bc5:fi);}[_0x57ebea(0x307)](){var _0x3314df=_0x57ebea;this[_0x3314df(0x323)]!=null&&(clearTimeout(this[_0x3314df(0x323)]),this['_sendHeartbeatTimer']=null);}[_0x57ebea(0x1ff)](){var _0x58d353=_0x57ebea;this[_0x58d353(0x218)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};we=Xs([Re(0x0,_0xd9eea8(_0xa5b871)),Re(0x1,_0x395070),Re(0x2,_0x218bfc),Re(0x3,Ri),Re(0x4,_0xd9eea8(ve)),Re(0x5,_0x4761ab(Vs))],we);var Js=Object[_0x57ebea(0x1a9)],Zs=(_0x2044ba,_0x4a0fe4,_0x17f30b,_0x26279c)=>{for(var _0x4c1acc=_0x26279c>0x1?void 0x0:_0x26279c?Js(_0x4a0fe4,_0x17f30b):_0x4a0fe4,_0x4165e6=_0x2044ba['length']-0x1,_0x44d8a7;_0x4165e6>=0x0;_0x4165e6--)(_0x44d8a7=_0x2044ba[_0x4165e6])&&(_0x4c1acc=_0x44d8a7(_0x4c1acc)||_0x4c1acc);return _0x4c1acc;},Be=(_0x35707c,_0x380470)=>(_0x4f2ea2,_0xc3dab)=>_0x380470(_0x4f2ea2,_0xc3dab,_0x35707c);let nt=class extends _0xdd442f{constructor(_0x32af5e,_0x4f5250,_0x3136b3,_0x5d64e4){var _0x1e8873=_0x57ebea,_0x3a79d8;super(),D(this,_0x1e8873(0x442),new Map()),D(this,'_entityInit$',new _0x244912()),D(this,_0x1e8873(0x2ed),this[_0x1e8873(0x209)][_0x1e8873(0x2c5)]()),(this['_injector']=_0x32af5e,this['_collabSessionService']=_0x4f5250,this['_configService']=_0x3136b3,this[_0x1e8873(0x26b)]=_0x5d64e4,((_0x3a79d8=this[_0x1e8873(0x25c)][_0x1e8873(0x1f4)](K))==null?void 0x0:_0x3a79d8[_0x1e8873(0x1d3)])!==!0x1&&this[_0x1e8873(0x18a)]());}['dispose'](){var _0x3f010c=_0x57ebea;super['dispose'](),this[_0x3f010c(0x442)]['forEach'](_0x578d08=>_0x578d08['dispose']()),this[_0x3f010c(0x442)][_0x3f010c(0x2b7)]();}[_0x57ebea(0x25f)](_0x5e37ad){var _0x38b1e9=_0x57ebea,_0x4a0908;return(_0x4a0908=this[_0x38b1e9(0x442)][_0x38b1e9(0x19b)](_0x5e37ad))!=null?_0x4a0908:null;}['getCollabEntity$'](_0x17aa15){var _0x44cc43=_0x57ebea;const _0x12dc68=this[_0x44cc43(0x25f)](_0x17aa15);return _0x12dc68?_0x1ac9d2(_0x12dc68):this['_entityInit$'][_0x44cc43(0x165)](_0x39a069(_0x24804e=>_0x24804e[_0x44cc43(0x1fb)]===_0x17aa15));}['readyForCollab'](_0x48942d){var _0x180cfe=_0x57ebea;return _0x274940(this[_0x180cfe(0x263)](_0x48942d)[_0x180cfe(0x165)](_0xd5a8e5(()=>{})));}[_0x57ebea(0x18a)](){var _0x2cf54e=_0x57ebea;this[_0x2cf54e(0x26b)][_0x2cf54e(0x255)](_0x3d0f32[_0x2cf54e(0x382)])['pipe'](_0x1eb31f(this[_0x2cf54e(0x1c5)]),_0x2f97fd(0x10))[_0x2cf54e(0x3dc)](async _0x4851e7=>{var _0x36c127=_0x2cf54e;const _0xe45b0c=_0x4851e7[_0x36c127(0x1c3)](),_0xe09c49=await this[_0x36c127(0x298)](_0xe45b0c,Q[_0x36c127(0x382)]);this[_0x36c127(0x442)][_0x36c127(0x375)](_0xe45b0c,_0xe09c49);}),this[_0x2cf54e(0x26b)][_0x2cf54e(0x255)](_0x3d0f32[_0x2cf54e(0x234)])[_0x2cf54e(0x165)](_0x1eb31f(this[_0x2cf54e(0x1c5)]),_0x2f97fd(0x10))[_0x2cf54e(0x165)](_0x39a069(_0xfc6e8b=>!_0xfc6e8b['getUnitId']()[_0x2cf54e(0x1f5)]('__')))[_0x2cf54e(0x3dc)](async _0x226780=>{var _0xdb7302=_0x2cf54e;const _0xae2c7f=_0x226780[_0xdb7302(0x1c3)](),_0x275e3b=await this[_0xdb7302(0x298)](_0xae2c7f,Q['UNIVER_DOC']);this[_0xdb7302(0x442)]['set'](_0xae2c7f,_0x275e3b);}),_0xad8c79(this['_univerInstanceService'][_0x2cf54e(0x152)](_0x3d0f32[_0x2cf54e(0x382)]),this[_0x2cf54e(0x26b)][_0x2cf54e(0x152)](_0x3d0f32['UNIVER_DOC']))['pipe'](_0x1eb31f(this[_0x2cf54e(0x1c5)]))[_0x2cf54e(0x3dc)](_0x56a153=>{var _0x3c96d1=_0x2cf54e;const _0x31a062=_0x56a153[_0x3c96d1(0x1c3)](),_0x33629f=this[_0x3c96d1(0x442)][_0x3c96d1(0x19b)](_0x31a062);_0x33629f&&(_0x33629f[_0x3c96d1(0x181)](),this[_0x3c96d1(0x442)]['delete'](_0x31a062));});}async['_startCollaboration'](_0x565195,_0xcdee95){var _0x152ce2=_0x57ebea;const _0x3c4626=await this[_0x152ce2(0x3f4)][_0x152ce2(0x3b1)](_0x565195),_0x412c4f=this[_0x152ce2(0x30c)][_0x152ce2(0x220)](this['_getCtorByUniverType'](_0xcdee95),_0x565195,_0xcdee95,_0x3c4626);return await _0x412c4f[_0x152ce2(0x3a1)](),this[_0x152ce2(0x209)][_0x152ce2(0x372)](_0x412c4f),_0x412c4f;}['_getCtorByUniverType'](_0x1e7429){var _0x459bc1=_0x57ebea;switch(_0x1e7429){case Q[_0x459bc1(0x234)]:return It;case Q[_0x459bc1(0x382)]:return St;default:throw new Error(_0x459bc1(0x344)+_0x1e7429);}}};nt=Zs([Be(0x0,_0xd9eea8(_0xa5b871)),Be(0x1,_0xd9eea8(we)),Be(0x2,_0x218bfc),Be(0x3,_0xde0007)],nt);var Qs=Object[_0x57ebea(0x1a9)],en=(_0x329671,_0x6435cc,_0x423a97,_0x5cbb26)=>{for(var _0x52a1f1=_0x5cbb26>0x1?void 0x0:_0x5cbb26?Qs(_0x6435cc,_0x423a97):_0x6435cc,_0x59e7c6=_0x329671['length']-0x1,_0x16cd7a;_0x59e7c6>=0x0;_0x59e7c6--)(_0x16cd7a=_0x329671[_0x59e7c6])&&(_0x52a1f1=_0x16cd7a(_0x52a1f1)||_0x52a1f1);return _0x52a1f1;},Wt=(_0x4b80ee,_0x2e9f89)=>(_0x76ddc4,_0x19bf59)=>_0x2e9f89(_0x76ddc4,_0x19bf59,_0x4b80ee);const tn='DEFAULT_FILE_NAME',sn='Univer';let gt=class extends _0x396fad{constructor(_0x392506,_0x198db1){var _0x138963=_0x57ebea;super(),this[_0x138963(0x26b)]=_0x392506,this[_0x138963(0x25c)]=_0x198db1,this[_0x138963(0x18a)]();}[_0x57ebea(0x18a)](){var _0x5984dc=_0x57ebea;this['disposeWithMe'](this[_0x5984dc(0x26b)][_0x5984dc(0x39d)]['subscribe'](()=>{var _0x5bac97=_0x5984dc,_0x4ecac2;const _0x343818=this['_univerInstanceService'][_0x5bac97(0x3d7)]();let _0x25fffc=(_0x4ecac2=this[_0x5bac97(0x25c)][_0x5bac97(0x1f4)](tn))!=null?_0x4ecac2:sn;_0x343818 instanceof _0x148482&&(_0x25fffc=_0x343818[_0x5bac97(0x3ea)]),document[_0x5bac97(0x1fa)]=_0x25fffc;}));}};function _0x3257(){var _0x22b044=['ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','clone','csAckEvent','_userManagerService','/allowed','_retryCount','_HTTPService','format','ENTITLE_COUPON_EXPIRED','/resources','[OfflineState]:\x20received\x20acknowledgement.','JOIN_ROOM_NOT_EXISTS','name','/role','_getSignURL','collaMsg','shouldCloseConn','min','NoPadding','/object/','_getUploadFileURL','liveShareNewHost','_collabSessionService','updateCursorEvent','put','REDEMPTION_CODE_HAS_BEEN_CREATED','UNDEFINED','SUBMIT_CHANGESET','save\x20fail\x20reason\x20is\x20','stringify','image/jpg','/universer-api/comb','getSheetId','_rescheduleHeartbeat','/collaborator','repeat','INVALID_INVITE_CODE','encodeURIComponent','EvpKDF','_resendTimer','_onConnectionOpen','REDEMPTION_CODE_NOT_STARTED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Latin1','IDLE','Decryptor','USER_NOT_INVITED_CODE','_eventService','slice','toString','onRemoteChangeset','_prevBlock','src','collabSubmitChangesetUrl','ciphertext','_doCreateSocket','BlockCipherMode','POST','_onOffline','ENTITLE_CAN_NOT_BUY_LOWER_OTP','[PendingState]:\x20received\x20acknowledgement.','addHandlerCallback','LOCAL_CACHE_INTERVAL','_emitMembers','LICENSE_EXPORT_SIZE_EXCEEDED','routeKey','_scheduleCollaborationTimeoutTimer','fetch_missing','_onConnectionFailed','onRemoteRetry','_compressMutationService','INVALID_ARGUMENT','LOGIN_TOKEN_PROCESSING_FAILED','refreshPermission','_revisionService','getResourcesRequest','complete','_remoteChangesetQueue','UUID','requestParams','_reverseMap','listRoles','_socketMessageSubscription','_initUnitPermissionChange','LEAVE','_map','/rev/','_clearScheduledTask','_state$','params','REDEMPTION_CODE_INACTIVE','joinEvent','__creator','downloadEndpointUrl','blockSize','Cipher','JOIN_ROOM_FAILED','add','socket\x20close','325416dbqIww','_entities','random','_onLocalMutation','[CollaborationSessionService]','_permissionService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Hasher','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','ENTITLE_USE_COUPON_NOT_1ST_TRADE','__Key__','function','_updateStatus','Pkcs7','[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.','MUTATION','UPDATE_PERMISSION_OBJ','_disableEditing','USERS_ENTER','_substituteUndoStack','data','YUUMI_UNABLE_LOAD_URL','_onFetchMissResult','replace','5526khxaPm','_process','compute','_submitChangeset','_doProcessBlock','_networkConditionService','BufferedBlockAlgorithm','_transformService','extend','sin','_decreaseWaiting','transformSelections','MSG_FOR_ERROR','_transformStack','csShouldRetryEvent','/unit/','_config','_localeService','onRemoteAck','compose','filter','initWorkbookPermissionChange','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_parse','MOBILE_VERIFY_CODE_MISMATCH','_onRecvEvent','LIVESHARE_OPERATION','status$','_collaborationUIEventService','_createInitialStateImpl','getTypeOfUnitDisposed$','SUBMIT_CHANGESET_TIMEOUT','ERROR_EXCEED_SIZE','YUUMI_ASYNCIO_CANCELLED','UNKNOWN_CODE','[CollaborationUndoRedoService]','APPLY_DUPLICATED','readInt32LE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INVITE_CODE_REQUIRED','ERROR_IMAGE_TYPE','mutations','getSnapshotAPIPath','hostname','APPLY_REVISION_CONFILICT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','m2Prime','capture','USER_NOT_FOUND','pipe','_resendWithTimeout','collaboration-client.local-cache-service','clamp','UNAUTHENTICATED','getCurrentRevOfUnit','REDEMPTION_CODE_FULLY_REDEEMED','_iKey','CHANGESET_ACK','updateMember','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PENDING','unsubscribe','_telemetryInfo','fetchMiss','_doFinalize','error$','Error\x20on\x20receiving\x20event','[CollaborationSession]','_unitID','changesets','auth.needGotoLoginAlert','HttpExport','waitForRoom$','objectID','BlockCipher','startTime','find','dispose','transformChangesets','duration','loadOfflineData','\x20in\x20_schedule.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onSendChangeset','_unlockTransition','newCsEvent','_init','/-/object/list','unit-cache-','roomInfos','AWAITING','RECV','createSocket','getInterceptPoints','sid','_undoRedoService','141891buUcFI','localeService','cfg','finalize','getLatestCsReqIdBySid','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','loadUnit','get','updatePermissionPoint','snapshotServerUrl','_joinRoom','FETCH_MISS','_roomMembers','Utf8','AES','ERROR_IMAGE','_changesetReqId','list','getImage','override','COMPLETION_FINISHED','getOwnPropertyDescriptor','EMAIL_HAS_BEEN_BOUND','_append','ivSize','_transformIMECache','YUUMI_AI_RUN_FAILED','encode','[CollaborationEntity]','{fileID}','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','join','originalMeta','UNIVER_SLIDE','LIVESHARE_TERMINATE','commentUpdateEvent','_updateState','PERMISSION_DENIED','FETCH_MISSING','fetching\x20missing\x20changesets\x20from\x20','_handler','__esModule','getRoom','PY_RUNTIME_SCRIPT_ERROR','csRejEvent','isArray','_getCurrentRevision','getUnitId','INVITE_CODE_HAS_BEEN_UES','dispose$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPRESS_MUTATION_APPLY','_sendHeartbeat','OPTIONAL','key','_xformMode','entries','setCurrentUser','HmacSHA1','getUnit','actions','sigBytes','_applyRemoteChangeset','enableCollaboration','LOGIN_FAILED','_retryConnectingTimer','getWorkbookSelections','enableAuthServer','getCurrentSelections','_toggleOnline','defineProperty','_replaceFileID','_socketReady','_pendingMutations','APPLY_REJECT','formatter','onCommentUpdate','OTHER_CLIENT_EDITING','fromCollab','substr','sessionStatus$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collaborationTimeoutTimer','2761065spXfYN','onMissingChangesets','LIVESHARE_NEW_HOST','People','members','close$','localCacheService','signUrlServerUrl','getUnitStatus$','getAllMembers','reverse','unitId','BASE64','getConfig','startsWith','Base','objectType','OTHER_CLIENTS_EDITING','x-univer-host','title','unitID','REDEMPTION_INVALID_CODE','MD5','1942fuAtqy','_clearTimeoutTimer','charAt','_replayCachedMutations','_registerDependencies','enableSingleActiveInstanceLock','pad','open$','getRandomValues','_checkMissing','USERS_LEAVE','_entityInit$','UNKNOWN_CMD','NEW_CHANGESETS','abs','[OfflineState]:\x20received\x20rejection.','conflict','words','onMutationExecutedForCollab','_tryEnsureSocket','JOIN','_clearRetryConnectingTimer','post','getUnitOnRev','_type','mixIn','_timeoutTimer','mode','/fetchmissing?from=','getTime','univer-pro.collaboration-client.single-active-unit-service','objects','\x20-\x20','/universer-api/oidc/authpage','createInstance','/universer-api/file/{fileID}/sign-url','setConfig','YUUMI_URL_COL_OUT_OF_RANGE','floor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_telemetryService','byteOffset','INVITE_CODE_ALREADY_BOUND','kdf','_shouldReportTelemetry','univer-pro.collaboration-client-socket-service','_minBufferSize','GLOBAL_ROOMS_CNT_EXCEEDS','delete','splice','OFFLINE','salt','_incrementRevisionNumber','_ENC_XFORM_MODE','UNIVER_DOC','_socket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_NON_SEQUENTIAL_REVISION','_waitCount','revision','LIVESHARE_REQUEST_HOST','image/gif','_getAPIPrefix','decryptBlock','CHANGESET_SHOULD_RETRY','?size=','crypto','putCollaborators','session.room-not-exists','_onJoinRoomEvent','offline','resolve','_toggleOffline','_onMessage','DATA_SOURCE_TOO_LARGE','default','UserProfileImg','_queuedRemoteChangesets','WordArray','SerializableCipher','disposeWithMe','_transformUndoredo','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','parse','toggleOnline','_doCryptBlock','getValue','getTypeOfUnitAdded$','_hash','_tryReconnect','ENTITLE_NEED_BILLING_ADDRESS','Failed\x20to\x20update\x20permission\x20point','enc','UNIVER_PROJECT','_configService','/universer-api/snapshot','__splitChunk__','getCollabEntity','CipherParams','fromCharCode','ws://127.0.0.1:8000/universer-api/comb/connect','getCollabEntity$','sessionStatus','COMPRESS_MUTATION_SEND','[SyncedState]:\x20received\x20acknowledgement.','_mode','saveSnapshot','LICENSE_IMPORT_SIZE_EXCEEDED','_substituteRedoStack','_univerInstanceService','onMissedChangesetFetched','interceptor','YUUMI_NO_CUBOID_FOR_QUESTION','_key','string','_clearLocalCache','Hex','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[CollaborationSessionService]:\x20socket\x20error','snapshot','_acknowledgedAwaitingChangeset','_awaitingChangeset','_executeRemoteChangeset','_onConflict','HEARTBEAT','_DEC_XFORM_MODE','1912584mByfhI','onTransformState','reject','awaiting_with_pending','has','NOT_FOUND','\x0aAfter:\x20','ceil','every','location','type','fetchThroughInterceptors','_nRounds','AUTHORIZE_CODE_ILLEGAL','_createSocket','_scheduleCompleteTimestamp','getImageSourceCache','collaborators','_commandService','_doReset','create','length','enableOfflineEditing','textRanges','updateSnapshot','getMember','uploadFileServerUrl','getCurrentUser','_startCollaboration','editingUnit','responseType','RETRY_CONNECTING_MAX_COUNT','_onRemoteChangeset','keySize','close','_status$','YUUMI_CONNECTOR_URL_NOT_FOUND','pending','selections','deleteCollaborator','ENTITLE_CHAT_LIMIT_EXCEED','_snapshotService','userID','onTransformRemoteChangesetByStateCache','8579380eRSpQD','collaboration_new_changeset','64DojRQz','_onRemoteRetry','?url=','loadDoc','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onRemoteRej','addImageSourceCache','liveShareOperation','createEncryptor','REDEMPTION_USER_NOT_ELIGIBLE','ENSURE_SNAPSHOT_EXECUTION','_initRequestHeader','call','clear','algo','_snapshotServerService','size','connection\x20error','&to=','encrypt','status','reqId','UNIVER_UNKNOWN','Encryptor','_getAPIPrefixPath','getDeserializedSheetBlock','CHANGESET_REJ','asObservable','indexOf','LICENSE_DISTRO_REJECTED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','updateOfflineData','workbook','max','appendMutation','_keyPriorReset','baseRev','getUnitType','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','[FetchMissState]','removeMember','_oKey','apply','url','_localCacheService','HEARTBEAT_INTERVAL','/new_changes','includes','FAIL','SOCKET_FAILED_RETRY','_singleActiveUnitService','execute','socket$','_iv','concat','fetchMissingChangesets','leaveEvent','onlyLocal','_startTelemetryCollaborationNewChangeset','CHANGESET_REVISION_CONFILICT','_memberService','CONNECTOR_DATA_TOO_LARGE','_onCombEvent','subject','saveChangeset','onLocalMutation','ALREADY_EXISTS','entityInit$','_socket$','commentUpdate$','_resendTimeout','SOCKET_FAILED','_change$','_collaborationSessionService','_data','send','_state','ONLINE','_sessionStatus$','PSEUDO_FETCH_MISSING_RESULT','Undefined','message$','avatar','_changesetSessionId','saveSheetBlock','_getRedoStack','_transformRemoteChangesetByIMECache','_onRemoteRejected','_unitInfo$','USER_IS_ANONYMOUS','_createHandler','_instanceService','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearHeartbeatTimer','append','_sessions','ENTITLE_INSUFFICIENT_QUOTA','_createHmacHelper','_injector','state','&assign=','padding','catch','HEARTBEAT_TIMEOUT','NO_OTHER_CLIENTS_EDITING','FileId','_showConflictNotification','UnitEmbedded','APPLY_PERMISSION_DENIED','reset','_throwTelemetryCollaborationNewChangeset','_event$','code','values','JOINING','/universer-api/authz','transformStack\x20failed!','[DataLoaderService]','_httpService','HELLO','stopTime','_sendHeartbeatTimer','awaitingChangeset','1239QVUjot','socketService','_transitionLocked','CURRENT_STATUS_CANNOT_OPERATE','memberID','OpenSSL','PERSON','c1Prime','map','[UniverCollaborationClientPlugin]','_nDataBytes','YUUMI_ALL_TABLES_IS_INVALID','HMAC','onStarting','_initDependencies','TOO_MANY_REQUESTS','unitId\x20is\x20not\x20found','prototype','session.room-full','Base64','JOIN_ROOM_FULL','getActiveSheet','sheets','\x20to\x20','_members','MOBILE_HAS_BEEN_BOUND','toggleOffline','_transformStateCache','permissionRejEvent','transformMutationsWithChangeset','loadUnitOfRevision','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Could\x20not\x20dynamically\x20require\x20\x22','transformUndoRedo','_getDownloadEndpointURL','LIVESHARE_FETCH_OPERATIONS','PAYMENT_CHANNEL_NOT_SUPPORT','_candidateSocket','eventID','onTransformIME','allowed','_onUserJoin','UNRECOGNIZED','target','PERMISSION_REJ','forEach','LICENSE_MAX_UNITS_EXCEEDED','collaboratorID','_sender','_members$','_sheetTransformSelectionsService','_onRemoteACK','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','isPermissionRej','closeSession','CLOSE_ROOM','_sendingTimer','onload','/block/','update','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','WECHAT_HAS_BEEN_BOUND','state$','unitInfo$','reduce','collabWebSocketUrl','SNAPSHOT_URL_KEY','_getLoginPath','action','method','HttpImport','randomBytes','_createInitialState','ENTITLE_DUP_SUBSCRIPTION','SHOULD_CLOSE_CONN','registerHTTPInterceptor','awaiting','next','/universer-api/uniscript','setWaitCount','set','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_listenToNetworkCondition','_onUserLeave','error','_transformSelections','emitEvent','processBlock','_imageSourceCache','push','msCrypto','_collaborationPaused','_schedule','UNIVER_SHEET','hasher','executeCommand','/-/object/-/batch_allowed','hasOwnProperty','getMemberID','objectActions','getSheetBlock','setShowComponents','_removeRoom','ClipsheetFragments','pauseCollaboration','copyFileMeta','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','body','1408zApSsh','$super','image/jpeg','infoRsp','SUCCUSS','_transformRemoteChangesetByStateCache','editing\x20status\x20changed\x20to','retryConnectingInterval','_fetchMissChangesets','\x0aCurrent:\x20','origin','failed\x20to\x20apply\x20missed\x20changesets!','focused$','CONFLICT','SHA1','_keySchedule','init','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ENTITLE_COUPON_USED_UP','event$','_updateLocalCache','_roomCreated$','lib','online$','session.join-failed','_maxTotalRetryTimeout','_isPermissionRej','result','session','_invKeySchedule','headers','resend','requireSession','_getUndoStack','unknown','/universer-api/stream/file/upload','_commentUpdate$','ERROR_AGAIN','debug','_clearCollaborationTimeoutTimer','INTERNAL_ERROR','_cipher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','byteLength','collaboration-client.config','href','univer-pro.collaboration-client.network-condition.service','_getSendChangesetTimeout','synced','encryptBlock','exports','_handlerCallback','INGEST','onTransformSelections','_hasher','AWAITING_WITH_PENDING','SNAPSHOT_INVALID_SNAPSHOT','disableLocalCache','charCodeAt','_logService','file','ENTITLE_INVALID_COUPON_CODE','UPDATE_CURSOR','range','updateCollaborator','_lockTransition','createDecryptor','onStateChange','cmd','_initMergeInterceptor','getFocusedUnit','StreamCipher','onSyncEditingCollabCursor','confirm','onTransformRemoteChangesetByIMECache','subscribe','_createHelper'];_0x3257=function(){return _0x22b044;};return _0x3257();}gt=en([Wt(0x0,_0xde0007),Wt(0x1,_0x218bfc)],gt);var nn=Object[_0x57ebea(0x1a9)],rn=(_0x105e95,_0x57fc20,_0x51762b,_0x51135b)=>{var _0x453181=_0x57ebea;for(var _0x126527=_0x51135b>0x1?void 0x0:_0x51135b?nn(_0x57fc20,_0x51762b):_0x57fc20,_0x3bceeb=_0x105e95[_0x453181(0x291)]-0x1,_0x105a09;_0x3bceeb>=0x0;_0x3bceeb--)(_0x105a09=_0x105e95[_0x3bceeb])&&(_0x126527=_0x105a09(_0x126527)||_0x126527);return _0x126527;},dt=(_0x59e48d,_0x3d9af0)=>(_0x4949cd,_0x2d47b6)=>_0x3d9af0(_0x4949cd,_0x2d47b6,_0x59e48d);let rt=class{constructor(_0x4771af,_0x8f80a8,_0x23b470){var _0x2d9bde=_0x57ebea;this[_0x2d9bde(0x25c)]=_0x4771af,this['_httpService']=_0x8f80a8,this[_0x2d9bde(0x195)]=_0x23b470,this[_0x2d9bde(0x3a1)]();}['init'](){var _0x1f4b26=_0x57ebea;this[_0x1f4b26(0x320)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x290340,_0x17cf54)=>_0x17cf54(_0x290340)[_0x1f4b26(0x165)](_0xce9a5e(async _0xaa64aa=>{var _0x102f2d=_0x1f4b26;const _0x356185=_0xaa64aa;if(_0x356185['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x102f2d(0x3da)](this[_0x102f2d(0x195)]['t'](_0x102f2d(0x17a)))){const _0x3c7574=window[_0x102f2d(0x403)](window['location'][_0x102f2d(0x3be)]);window[_0x102f2d(0x285)][_0x102f2d(0x3be)]=this[_0x102f2d(0x368)]()+_0x102f2d(0x2ac)+_0x3c7574;}}return _0x356185;}))});}[_0x57ebea(0x368)](){var _0x3c38fa;const _0x11014a=this['_configService']['getConfig'](K);return(_0x3c38fa=_0x11014a==null?void 0x0:_0x11014a['loginUrlKey'])!=null?_0x3c38fa:Cs;}};rt=rn([dt(0x0,_0x218bfc),dt(0x1,_0xd9eea8(_0x3e703e)),dt(0x2,_0xd9eea8(_0x28b880))],rt);var an=Object[_0x57ebea(0x1a9)],on=(_0x18cda4,_0x1bd542,_0x303ea6,_0x31362f)=>{var _0x2fc8be=_0x57ebea;for(var _0x584448=_0x31362f>0x1?void 0x0:_0x31362f?an(_0x1bd542,_0x303ea6):_0x1bd542,_0x32e1ab=_0x18cda4[_0x2fc8be(0x291)]-0x1,_0x1e3935;_0x32e1ab>=0x0;_0x32e1ab--)(_0x1e3935=_0x18cda4[_0x32e1ab])&&(_0x584448=_0x1e3935(_0x584448)||_0x584448);return _0x584448;},Yt=(_0xa65eb0,_0x4017c1)=>(_0x46ecf1,_0x160110)=>_0x4017c1(_0x46ecf1,_0x160110,_0xa65eb0);const cn=_0x57ebea(0x31d);let Tt=class extends _0x396fad{constructor(_0x1813b2,_0x565cc5){var _0x56b82d=_0x57ebea;super(),this[_0x56b82d(0x3e4)]=_0x1813b2,this[_0x56b82d(0x25c)]=_0x565cc5,this[_0x56b82d(0x3d6)]();}['_initMergeInterceptor'](){var _0xc5a240=_0x57ebea;const _0x2088ef=this;this[_0xc5a240(0x24e)](this['_HTTPService'][_0xc5a240(0x370)]({'priority':0x3e7,'interceptor':_0x344d51({'isMatch'(_0x469921){var _0x3eb53f=_0xc5a240,_0x4b40d0;if(_0x469921[_0x3eb53f(0x36a)]===_0x3eb53f(0x417)&&((_0x4b40d0=_0x469921[_0x3eb53f(0x42d)])!=null&&_0x4b40d0[_0x3eb53f(0x390)])){const {objectID:_0x559f9a,objectType:_0x281ba6}=_0x469921['requestParams'][_0x3eb53f(0x390)]||{};if(!_0x559f9a||_0x281ba6===void 0x0)return!0x1;const _0x2a69e1=_0x2088ef[_0x3eb53f(0x2c2)]()+'/'+_0x281ba6+_0x3eb53f(0x3f1)+_0x559f9a+_0x3eb53f(0x3e2);if(_0x469921[_0x3eb53f(0x2d5)]===_0x2a69e1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x19e28b){var _0x4b1b44=_0xc5a240,_0x58268d;return(_0x58268d=_0x19e28b[_0x4b1b44(0x42d)])==null?void 0x0:_0x58268d['body'];},'mergeParamsToRequest'(_0x28fc94,_0x5bb405){var _0x442c9e=_0xc5a240;const _0xa57f69=_0x2088ef['_getAPIPrefixPath']()+_0x442c9e(0x385),_0x58431b=_0x28fc94[_0x442c9e(0x365)]((_0x7b1502,_0xa01062)=>{var _0x40d89a=_0x442c9e;const {unitID:_0x22508b,objectID:_0x16004d,objectType:_0x14ebbf,actions:_0x3abf55}=_0xa01062;return _0x7b1502[_0x22508b]||(_0x7b1502[_0x22508b]={}),_0x7b1502[_0x22508b][_0x16004d]||(_0x7b1502[_0x22508b][_0x16004d]={'objectID':_0x16004d,'objectType':_0x14ebbf,'actions':[]}),_0x7b1502[_0x22508b][_0x16004d][_0x40d89a(0x1d0)]['push'](..._0x3abf55),_0x7b1502;},{}),_0x82b2c1=[];for(const _0x207cc3 in _0x58431b)for(const _0x106f9f in _0x58431b[_0x207cc3]){const {actions:_0x491dbf,objectType:_0x430dfb}=_0x58431b[_0x207cc3][_0x106f9f],_0x44a281=[...new Set(_0x491dbf)];_0x82b2c1[_0x442c9e(0x37e)]({'unitID':_0x207cc3,'objectID':_0x106f9f,'objectType':_0x430dfb,'actions':_0x44a281});}return new _0x5e21a9('POST',_0xa57f69,{'headers':_0x5bb405[_0x442c9e(0x3af)],'withCredentials':_0x5bb405['withCredentials'],'responseType':_0x5bb405[_0x442c9e(0x29a)],'body':{'requests':_0x82b2c1}});}},{'distributeResult'(_0x5377bc,_0x2e1844){var _0x208d2d=_0xc5a240;const {objectActions:_0x4f5d3a}=_0x5377bc;return _0x2e1844[_0x208d2d(0x32d)](_0xe04840=>{var _0x2479e9=_0x208d2d;const {unitID:_0x3a8e9e,objectID:_0x2699a1,actions:_0xa79afb}=_0xe04840,_0x2667aa=_0x4f5d3a[_0x2479e9(0x180)](_0x1f3c06=>_0x1f3c06[_0x2479e9(0x1fb)]===_0x3a8e9e&&_0x1f3c06[_0x2479e9(0x17d)]===_0x2699a1),_0x2349f8=_0xa79afb[_0x2479e9(0x32d)](_0x467a3c=>_0x2667aa==null?void 0x0:_0x2667aa[_0x2479e9(0x1d0)][_0x2479e9(0x180)](_0x2f1e3f=>_0x2f1e3f[_0x2479e9(0x369)]===_0x467a3c))[_0x2479e9(0x148)](_0x480d63=>!!_0x480d63);return{'config':_0xe04840,'result':{'actions':_0x2349f8,'error':_0x5377bc['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x17fec1=_0x57ebea,_0xfb320;const _0x4cbf31=this[_0x17fec1(0x25c)][_0x17fec1(0x1f4)](K);return(_0xfb320=_0x4cbf31==null?void 0x0:_0x4cbf31['authzUrl'])!=null?_0xfb320:cn;}async['create'](_0x14f123){var _0x5dbf6a=_0x57ebea;const _0x493982=this['_getAPIPrefixPath']()+'/'+_0x14f123[_0x5dbf6a(0x1f7)]+'/object';return(await this['_HTTPService'][_0x5dbf6a(0x214)](_0x493982,{'body':_0x14f123}))[_0x5dbf6a(0x390)][_0x5dbf6a(0x17d)]||'';}async[_0x57ebea(0x1a5)](_0x5908f5){var _0x505740=_0x57ebea;const _0x560488=this[_0x505740(0x2c2)]()+_0x505740(0x18b);return(await this['_HTTPService'][_0x505740(0x214)](_0x560488,{'body':_0x5908f5}))[_0x505740(0x390)][_0x505740(0x21d)];}async[_0x57ebea(0x360)](_0x1e61a3){var _0x4c1a4f=_0x57ebea,_0x50c0ec,_0x589f9e;const _0x5b0ed1=this[_0x4c1a4f(0x2c2)]()+'/'+_0x1e61a3['objectType']+_0x4c1a4f(0x3f1)+_0x1e61a3[_0x4c1a4f(0x17d)],_0x4204d6=await this['_HTTPService'][_0x4c1a4f(0x3f6)](_0x5b0ed1,{'body':_0x1e61a3});if(((_0x589f9e=(_0x50c0ec=_0x4204d6==null?void 0x0:_0x4204d6['body'])==null?void 0x0:_0x50c0ec['error'])==null?void 0x0:_0x589f9e[_0x4c1a4f(0x31a)])!==0x1)throw new Error(_0x4c1a4f(0x259));}async[_0x57ebea(0x34d)](_0x94c4d6){var _0x227d98=_0x57ebea;const _0x231714=this['_getAPIPrefixPath']()+'/'+_0x94c4d6[_0x227d98(0x1f7)]+_0x227d98(0x3f1)+_0x94c4d6[_0x227d98(0x17d)]+_0x227d98(0x3e2);return(await this[_0x227d98(0x3e4)]['post'](_0x231714,{'body':_0x94c4d6}))[_0x227d98(0x390)]['actions'];}async['batchAllowed'](_0x55963f){var _0xb44d9d=_0x57ebea;const _0x115757=this[_0xb44d9d(0x2c2)]()+_0xb44d9d(0x385);return(await this[_0xb44d9d(0x3e4)][_0xb44d9d(0x214)](_0x115757,{'body':{'requests':_0x55963f}}))[_0xb44d9d(0x390)][_0xb44d9d(0x388)];}async[_0x57ebea(0x42f)](_0x3fdc69){var _0x4ceb8b=_0x57ebea;const _0x70aaa=this['_getAPIPrefixPath']()+'/'+_0x3fdc69[_0x4ceb8b(0x1f7)]+_0x4ceb8b(0x3eb),_0x3686f9=await this['_HTTPService'][_0x4ceb8b(0x214)](_0x70aaa,{'body':_0x3fdc69});return{'roles':_0x3686f9[_0x4ceb8b(0x390)]['roles'],'actions':_0x3686f9[_0x4ceb8b(0x390)][_0x4ceb8b(0x1d0)]};}async[_0x57ebea(0x2a3)](_0x1bf8f3){var _0x15bd18=_0x57ebea;const _0x53740a=this[_0x15bd18(0x2c2)]()+_0x15bd18(0x400);await this[_0x15bd18(0x3e4)]['delete'](_0x53740a,{'params':{'collaboratorID':_0x1bf8f3[_0x15bd18(0x354)],'objectID':_0x1bf8f3['objectID'],'unitID':_0x1bf8f3[_0x15bd18(0x1fb)]}});}async[_0x57ebea(0x3d1)](_0x43402e){var _0x475102=_0x57ebea;const _0x31ca7=this[_0x475102(0x2c2)]()+_0x475102(0x400);await this['_HTTPService']['patch'](_0x31ca7,{'body':_0x43402e});}async['createCollaborator'](_0x443aa2){var _0x4efb9d=_0x57ebea;const _0x145c81=this[_0x4efb9d(0x2c2)]()+'/collaborator';await this['_HTTPService'][_0x4efb9d(0x214)](_0x145c81,{'body':_0x443aa2});}async['listCollaborators'](_0x5ac504){var _0x5d9937=_0x57ebea;const _0x23a3c5=this[_0x5d9937(0x2c2)]()+_0x5d9937(0x400);return(await this[_0x5d9937(0x3e4)][_0x5d9937(0x19b)](_0x23a3c5,{'params':{'objectID':_0x5ac504[_0x5d9937(0x17d)],'unitID':_0x5ac504[_0x5d9937(0x1fb)]}}))[_0x5d9937(0x390)][_0x5d9937(0x28d)];}async[_0x57ebea(0x241)](_0x1a4e8d){var _0x266db3=_0x57ebea;const _0xa0ea3=this[_0x266db3(0x2c2)]()+_0x266db3(0x400);await this[_0x266db3(0x3e4)]['put'](_0xa0ea3,{'body':_0x1a4e8d});}};Tt=on([Yt(0x0,_0xd9eea8(_0x3e703e)),Yt(0x1,_0xd9eea8(_0x218bfc))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4e0648){var _0x3dc4ae=_0x57ebea;return _0x4e0648&&_0x4e0648[_0x3dc4ae(0x1bd)]&&Object[_0x3dc4ae(0x336)][_0x3dc4ae(0x386)][_0x3dc4ae(0x2b6)](_0x4e0648,'default')?_0x4e0648[_0x3dc4ae(0x249)]:_0x4e0648;}var Ve={'exports':{}};function _n(_0x2607d3){var _0xb0235f=_0x57ebea;throw new Error(_0xb0235f(0x345)+_0x2607d3+_0xb0235f(0x447));}var Ge={'exports':{}},hn=Ge[_0x57ebea(0x3c3)],Kt;function ie(){var _0x31315d=_0x57ebea;return Kt||(Kt=0x1,function(_0x5f31cb,_0x5ec697){(function(_0x42d0cf,_0x35a34b){var _0x35b142=_0x5a33;_0x5f31cb[_0x35b142(0x3c3)]=_0x35a34b();}(hn,function(){var _0x4eb446=_0x4eb446||function(_0x32dc9e,_0x173f26){var _0x17f365=_0x5a33,_0x3321fa;if(typeof window<'u'&&window[_0x17f365(0x240)]&&(_0x3321fa=window[_0x17f365(0x240)]),typeof self<'u'&&self[_0x17f365(0x240)]&&(_0x3321fa=self[_0x17f365(0x240)]),typeof globalThis<'u'&&globalThis[_0x17f365(0x240)]&&(_0x3321fa=globalThis[_0x17f365(0x240)]),!_0x3321fa&&typeof window<'u'&&window[_0x17f365(0x37f)]&&(_0x3321fa=window[_0x17f365(0x37f)]),!_0x3321fa&&typeof ft<'u'&&ft[_0x17f365(0x240)]&&(_0x3321fa=ft[_0x17f365(0x240)]),!_0x3321fa&&typeof _n==_0x17f365(0x44c))try{_0x3321fa=require('crypto');}catch{}var _0x17c052=function(){var _0x361b62=_0x17f365;if(_0x3321fa){if(typeof _0x3321fa[_0x361b62(0x206)]==_0x361b62(0x44c))try{return _0x3321fa[_0x361b62(0x206)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3321fa[_0x361b62(0x36c)]==_0x361b62(0x44c))try{return _0x3321fa[_0x361b62(0x36c)](0x4)[_0x361b62(0x159)]();}catch{}}throw new Error(_0x361b62(0x250));},_0x12f68f=Object[_0x17f365(0x290)]||(function(){function _0x5b76d0(){}return function(_0x241c5b){var _0x520820=_0x5a33,_0x3e28d1;return _0x5b76d0[_0x520820(0x336)]=_0x241c5b,_0x3e28d1=new _0x5b76d0(),_0x5b76d0[_0x520820(0x336)]=null,_0x3e28d1;};}()),_0x431970={},_0x51ed9f=_0x431970[_0x17f365(0x3a7)]={},_0x3f022e=_0x51ed9f[_0x17f365(0x1f6)]=(function(){return{'extend':function(_0x5cda96){var _0x2284e8=_0x5a33,_0x2fa31b=_0x12f68f(this);return _0x5cda96&&_0x2fa31b[_0x2284e8(0x217)](_0x5cda96),(!_0x2fa31b[_0x2284e8(0x386)](_0x2284e8(0x3a1))||this[_0x2284e8(0x3a1)]===_0x2fa31b['init'])&&(_0x2fa31b[_0x2284e8(0x3a1)]=function(){var _0xdf9ecc=_0x2284e8;_0x2fa31b[_0xdf9ecc(0x392)][_0xdf9ecc(0x3a1)][_0xdf9ecc(0x2d4)](this,arguments);}),_0x2fa31b[_0x2284e8(0x3a1)][_0x2284e8(0x336)]=_0x2fa31b,_0x2fa31b[_0x2284e8(0x392)]=this,_0x2fa31b;},'create':function(){var _0x2d4c63=_0x5a33,_0xb34654=this['extend']();return _0xb34654[_0x2d4c63(0x3a1)][_0x2d4c63(0x2d4)](_0xb34654,arguments),_0xb34654;},'init':function(){},'mixIn':function(_0x4aa842){var _0x4cba73=_0x5a33;for(var _0x1d3626 in _0x4aa842)_0x4aa842[_0x4cba73(0x386)](_0x1d3626)&&(this[_0x1d3626]=_0x4aa842[_0x1d3626]);_0x4aa842[_0x4cba73(0x386)](_0x4cba73(0x40f))&&(this['toString']=_0x4aa842[_0x4cba73(0x40f)]);},'clone':function(){var _0x24d1c1=_0x5a33;return this[_0x24d1c1(0x3a1)][_0x24d1c1(0x336)][_0x24d1c1(0x13c)](this);}};}()),_0xa0be1a=_0x51ed9f[_0x17f365(0x24c)]=_0x3f022e[_0x17f365(0x13c)]({'init':function(_0x375f3b,_0x2d9adc){var _0x275e2b=_0x17f365;_0x375f3b=this['words']=_0x375f3b||[],_0x2d9adc!=_0x173f26?this['sigBytes']=_0x2d9adc:this[_0x275e2b(0x1d1)]=_0x375f3b[_0x275e2b(0x291)]*0x4;},'toString':function(_0x535786){var _0x59f153=_0x17f365;return(_0x535786||_0x4f2b2b)[_0x59f153(0x3fb)](this);},'concat':function(_0x1d0a69){var _0x5480ac=_0x17f365,_0x17c030=this[_0x5480ac(0x20f)],_0x305c17=_0x1d0a69[_0x5480ac(0x20f)],_0x2e9772=this['sigBytes'],_0x15fcd0=_0x1d0a69[_0x5480ac(0x1d1)];if(this[_0x5480ac(0x168)](),_0x2e9772%0x4)for(var _0x17f4e7=0x0;_0x17f4e7<_0x15fcd0;_0x17f4e7++){var _0x4d616e=_0x305c17[_0x17f4e7>>>0x2]>>>0x18-_0x17f4e7%0x4*0x8&0xff;_0x17c030[_0x2e9772+_0x17f4e7>>>0x2]|=_0x4d616e<<0x18-(_0x2e9772+_0x17f4e7)%0x4*0x8;}else{for(var _0x43479c=0x0;_0x43479c<_0x15fcd0;_0x43479c+=0x4)_0x17c030[_0x2e9772+_0x43479c>>>0x2]=_0x305c17[_0x43479c>>>0x2];}return this[_0x5480ac(0x1d1)]+=_0x15fcd0,this;},'clamp':function(){var _0x2d30a6=_0x17f365,_0x5b18f2=this[_0x2d30a6(0x20f)],_0x2de364=this['sigBytes'];_0x5b18f2[_0x2de364>>>0x2]&=0xffffffff<<0x20-_0x2de364%0x4*0x8,_0x5b18f2[_0x2d30a6(0x291)]=_0x32dc9e[_0x2d30a6(0x283)](_0x2de364/0x4);},'clone':function(){var _0x3f05cb=_0x17f365,_0x43dafe=_0x3f022e[_0x3f05cb(0x3df)]['call'](this);return _0x43dafe['words']=this[_0x3f05cb(0x20f)]['slice'](0x0),_0x43dafe;},'random':function(_0x47bf49){var _0x3c83de=_0x17f365;for(var _0x428ddf=[],_0x549ecf=0x0;_0x549ecf<_0x47bf49;_0x549ecf+=0x4)_0x428ddf[_0x3c83de(0x37e)](_0x17c052());return new _0xa0be1a[(_0x3c83de(0x3a1))](_0x428ddf,_0x47bf49);}}),_0x113642=_0x431970['enc']={},_0x4f2b2b=_0x113642[_0x17f365(0x272)]={'stringify':function(_0x977c7d){var _0x4b2f7d=_0x17f365;for(var _0x281890=_0x977c7d[_0x4b2f7d(0x20f)],_0x4a1503=_0x977c7d[_0x4b2f7d(0x1d1)],_0x1ac297=[],_0x57c23a=0x0;_0x57c23a<_0x4a1503;_0x57c23a++){var _0x16a137=_0x281890[_0x57c23a>>>0x2]>>>0x18-_0x57c23a%0x4*0x8&0xff;_0x1ac297[_0x4b2f7d(0x37e)]((_0x16a137>>>0x4)['toString'](0x10)),_0x1ac297[_0x4b2f7d(0x37e)]((_0x16a137&0xf)[_0x4b2f7d(0x40f)](0x10));}return _0x1ac297[_0x4b2f7d(0x1b3)]('');},'parse':function(_0x59a645){var _0x219278=_0x17f365;for(var _0x4a14ae=_0x59a645[_0x219278(0x291)],_0x1c96c9=[],_0x79809d=0x0;_0x79809d<_0x4a14ae;_0x79809d+=0x2)_0x1c96c9[_0x79809d>>>0x3]|=parseInt(_0x59a645[_0x219278(0x1e3)](_0x79809d,0x2),0x10)<<0x18-_0x79809d%0x8*0x4;return new _0xa0be1a['init'](_0x1c96c9,_0x4a14ae/0x2);}},_0x4958c9=_0x113642[_0x17f365(0x409)]={'stringify':function(_0x2106b9){var _0xbce392=_0x17f365;for(var _0x38645f=_0x2106b9[_0xbce392(0x20f)],_0x449d6c=_0x2106b9[_0xbce392(0x1d1)],_0x5801d1=[],_0x44bbea=0x0;_0x44bbea<_0x449d6c;_0x44bbea++){var _0x3e227f=_0x38645f[_0x44bbea>>>0x2]>>>0x18-_0x44bbea%0x4*0x8&0xff;_0x5801d1[_0xbce392(0x37e)](String[_0xbce392(0x261)](_0x3e227f));}return _0x5801d1[_0xbce392(0x1b3)]('');},'parse':function(_0x406e26){var _0x4fe4ec=_0x17f365;for(var _0x221c9c=_0x406e26[_0x4fe4ec(0x291)],_0x5115e9=[],_0x214f83=0x0;_0x214f83<_0x221c9c;_0x214f83++)_0x5115e9[_0x214f83>>>0x2]|=(_0x406e26[_0x4fe4ec(0x3cb)](_0x214f83)&0xff)<<0x18-_0x214f83%0x4*0x8;return new _0xa0be1a[(_0x4fe4ec(0x3a1))](_0x5115e9,_0x221c9c);}},_0x4d8d1c=_0x113642['Utf8']={'stringify':function(_0x4c6b0f){var _0x1415b3=_0x17f365;try{return decodeURIComponent(escape(_0x4958c9[_0x1415b3(0x3fb)](_0x4c6b0f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x398241){var _0x538353=_0x17f365;return _0x4958c9[_0x538353(0x251)](unescape(encodeURIComponent(_0x398241)));}},_0x428e39=_0x51ed9f[_0x17f365(0x13a)]=_0x3f022e[_0x17f365(0x13c)]({'reset':function(){var _0x495331=_0x17f365;this[_0x495331(0x2f4)]=new _0xa0be1a[(_0x495331(0x3a1))](),this[_0x495331(0x32f)]=0x0;},'_append':function(_0x357cef){var _0x1af717=_0x17f365;typeof _0x357cef==_0x1af717(0x270)&&(_0x357cef=_0x4d8d1c[_0x1af717(0x251)](_0x357cef)),this[_0x1af717(0x2f4)][_0x1af717(0x2e0)](_0x357cef),this[_0x1af717(0x32f)]+=_0x357cef['sigBytes'];},'_process':function(_0x3e4ebe){var _0x2c561a=_0x17f365,_0x2541c5,_0x25bae1=this[_0x2c561a(0x2f4)],_0x2ca8f7=_0x25bae1[_0x2c561a(0x20f)],_0x403e6d=_0x25bae1[_0x2c561a(0x1d1)],_0x3ba9a1=this[_0x2c561a(0x43c)],_0x39fb69=_0x3ba9a1*0x4,_0x4734e3=_0x403e6d/_0x39fb69;_0x3e4ebe?_0x4734e3=_0x32dc9e[_0x2c561a(0x283)](_0x4734e3):_0x4734e3=_0x32dc9e['max']((_0x4734e3|0x0)-this[_0x2c561a(0x22c)],0x0);var _0x1c521f=_0x4734e3*_0x3ba9a1,_0x309237=_0x32dc9e[_0x2c561a(0x3ef)](_0x1c521f*0x4,_0x403e6d);if(_0x1c521f){for(var _0x1d22ee=0x0;_0x1d22ee<_0x1c521f;_0x1d22ee+=_0x3ba9a1)this[_0x2c561a(0x138)](_0x2ca8f7,_0x1d22ee);_0x2541c5=_0x2ca8f7[_0x2c561a(0x22f)](0x0,_0x1c521f),_0x25bae1[_0x2c561a(0x1d1)]-=_0x309237;}return new _0xa0be1a[(_0x2c561a(0x3a1))](_0x2541c5,_0x309237);},'clone':function(){var _0x3b63c6=_0x17f365,_0x2cbd29=_0x3f022e[_0x3b63c6(0x3df)]['call'](this);return _0x2cbd29[_0x3b63c6(0x2f4)]=this[_0x3b63c6(0x2f4)][_0x3b63c6(0x3df)](),_0x2cbd29;},'_minBufferSize':0x0});_0x51ed9f['Hasher']=_0x428e39[_0x17f365(0x13c)]({'cfg':_0x3f022e[_0x17f365(0x13c)](),'init':function(_0x31a273){var _0x46dcc8=_0x17f365;this[_0x46dcc8(0x196)]=this[_0x46dcc8(0x196)][_0x46dcc8(0x13c)](_0x31a273),this[_0x46dcc8(0x317)]();},'reset':function(){var _0x5b2497=_0x17f365;_0x428e39[_0x5b2497(0x317)][_0x5b2497(0x2b6)](this),this[_0x5b2497(0x28f)]();},'update':function(_0x3c9cac){var _0x3f088a=_0x17f365;return this[_0x3f088a(0x1ab)](_0x3c9cac),this[_0x3f088a(0x45a)](),this;},'finalize':function(_0x17504e){var _0x3448ac=_0x17f365;_0x17504e&&this[_0x3448ac(0x1ab)](_0x17504e);var _0x5020b2=this['_doFinalize']();return _0x5020b2;},'blockSize':0x10,'_createHelper':function(_0x147b90){return function(_0x229365,_0x18490d){var _0x1245ff=_0x5a33;return new _0x147b90[(_0x1245ff(0x3a1))](_0x18490d)['finalize'](_0x229365);};},'_createHmacHelper':function(_0x57a646){return function(_0x525d11,_0x3fefea){var _0xc0db7=_0x5a33;return new _0x3feee7['HMAC'][(_0xc0db7(0x3a1))](_0x57a646,_0x3fefea)[_0xc0db7(0x197)](_0x525d11);};}});var _0x3feee7=_0x431970[_0x17f365(0x2b8)]={};return _0x431970;}(Math);return _0x4eb446;}));}(Ge)),Ge[_0x31315d(0x3c3)];}var We={'exports':{}},ln=We[_0x57ebea(0x3c3)],qt;function Ni(){return qt||(qt=0x1,function(_0x2d766a,_0x451bf1){(function(_0xcfdf12,_0x205a8d){_0x2d766a['exports']=_0x205a8d(ie());}(ln,function(_0x1fdda6){var _0x229b47=_0x5a33;return(function(){var _0x455d42=_0x5a33,_0x504a33=_0x1fdda6,_0x1ad934=_0x504a33[_0x455d42(0x3a7)],_0x5d5044=_0x1ad934['WordArray'],_0x28c952=_0x504a33['enc'];_0x28c952[_0x455d42(0x338)]={'stringify':function(_0x44af85){var _0x53c4fa=_0x455d42,_0x36cfa4=_0x44af85['words'],_0x565446=_0x44af85[_0x53c4fa(0x1d1)],_0xf095f1=this[_0x53c4fa(0x433)];_0x44af85[_0x53c4fa(0x168)]();for(var _0x2d41ea=[],_0x3d1ba5=0x0;_0x3d1ba5<_0x565446;_0x3d1ba5+=0x3)for(var _0x3813a1=_0x36cfa4[_0x3d1ba5>>>0x2]>>>0x18-_0x3d1ba5%0x4*0x8&0xff,_0x2a213b=_0x36cfa4[_0x3d1ba5+0x1>>>0x2]>>>0x18-(_0x3d1ba5+0x1)%0x4*0x8&0xff,_0x2474f2=_0x36cfa4[_0x3d1ba5+0x2>>>0x2]>>>0x18-(_0x3d1ba5+0x2)%0x4*0x8&0xff,_0x991a22=_0x3813a1<<0x10|_0x2a213b<<0x8|_0x2474f2,_0x5d728b=0x0;_0x5d728b<0x4&&_0x3d1ba5+_0x5d728b*0.75<_0x565446;_0x5d728b++)_0x2d41ea[_0x53c4fa(0x37e)](_0xf095f1[_0x53c4fa(0x200)](_0x991a22>>>0x6*(0x3-_0x5d728b)&0x3f));var _0x571f82=_0xf095f1['charAt'](0x40);if(_0x571f82){for(;_0x2d41ea['length']%0x4;)_0x2d41ea[_0x53c4fa(0x37e)](_0x571f82);}return _0x2d41ea[_0x53c4fa(0x1b3)]('');},'parse':function(_0x4d9c8e){var _0x54c4ce=_0x455d42,_0x50f6cd=_0x4d9c8e[_0x54c4ce(0x291)],_0x33ed03=this[_0x54c4ce(0x433)],_0x2a79cd=this['_reverseMap'];if(!_0x2a79cd){_0x2a79cd=this[_0x54c4ce(0x42e)]=[];for(var _0x1471d1=0x0;_0x1471d1<_0x33ed03[_0x54c4ce(0x291)];_0x1471d1++)_0x2a79cd[_0x33ed03['charCodeAt'](_0x1471d1)]=_0x1471d1;}var _0x40f9cf=_0x33ed03[_0x54c4ce(0x200)](0x40);if(_0x40f9cf){var _0x6d55a1=_0x4d9c8e[_0x54c4ce(0x2c6)](_0x40f9cf);_0x6d55a1!==-0x1&&(_0x50f6cd=_0x6d55a1);}return _0x27c432(_0x4d9c8e,_0x50f6cd,_0x2a79cd);},'_map':_0x455d42(0x3de)};function _0x27c432(_0x5bf125,_0x4c21fc,_0x1346e9){var _0x3f2cf2=_0x455d42;for(var _0xcb64e7=[],_0x55aabd=0x0,_0x484fc7=0x0;_0x484fc7<_0x4c21fc;_0x484fc7++)if(_0x484fc7%0x4){var _0x5bb525=_0x1346e9[_0x5bf125['charCodeAt'](_0x484fc7-0x1)]<<_0x484fc7%0x4*0x2,_0x2e2ff9=_0x1346e9[_0x5bf125[_0x3f2cf2(0x3cb)](_0x484fc7)]>>>0x6-_0x484fc7%0x4*0x2,_0x54ac10=_0x5bb525|_0x2e2ff9;_0xcb64e7[_0x55aabd>>>0x2]|=_0x54ac10<<0x18-_0x55aabd%0x4*0x8,_0x55aabd++;}return _0x5d5044[_0x3f2cf2(0x290)](_0xcb64e7,_0x55aabd);}}()),_0x1fdda6[_0x229b47(0x25a)][_0x229b47(0x338)];}));}(We)),We['exports'];}var Ye={'exports':{}},un=Ye[_0x57ebea(0x3c3)],zt;function dn(){return zt||(zt=0x1,function(_0x1ceb61,_0x5b8259){(function(_0x513beb,_0x45262e){var _0x4372f9=_0x5a33;_0x1ceb61[_0x4372f9(0x3c3)]=_0x45262e(ie());}(un,function(_0x704114){var _0x21ddc8=_0x5a33;return function(_0x16e2cf){var _0x1950f8=_0x5a33,_0x5a5430=_0x704114,_0x3a449c=_0x5a5430[_0x1950f8(0x3a7)],_0x4976c3=_0x3a449c[_0x1950f8(0x24c)],_0x16302a=_0x3a449c[_0x1950f8(0x448)],_0x5a9821=_0x5a5430[_0x1950f8(0x2b8)],_0x1762ef=[];(function(){var _0x52955b=_0x1950f8;for(var _0x374d0c=0x0;_0x374d0c<0x40;_0x374d0c++)_0x1762ef[_0x374d0c]=_0x16e2cf[_0x52955b(0x20c)](_0x16e2cf[_0x52955b(0x13d)](_0x374d0c+0x1))*0x100000000|0x0;}());var _0x5d9cfa=_0x5a9821[_0x1950f8(0x1fd)]=_0x16302a[_0x1950f8(0x13c)]({'_doReset':function(){var _0x34e6d7=_0x1950f8;this[_0x34e6d7(0x256)]=new _0x4976c3[(_0x34e6d7(0x3a1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2fac30,_0x3e81c4){var _0x491634=_0x1950f8;for(var _0x21fff6=0x0;_0x21fff6<0x10;_0x21fff6++){var _0x401d7e=_0x3e81c4+_0x21fff6,_0x2d4bc9=_0x2fac30[_0x401d7e];_0x2fac30[_0x401d7e]=(_0x2d4bc9<<0x8|_0x2d4bc9>>>0x18)&0xff00ff|(_0x2d4bc9<<0x18|_0x2d4bc9>>>0x8)&0xff00ff00;}var _0x4cee49=this[_0x491634(0x256)][_0x491634(0x20f)],_0x181feb=_0x2fac30[_0x3e81c4+0x0],_0x6f06b0=_0x2fac30[_0x3e81c4+0x1],_0x55c02f=_0x2fac30[_0x3e81c4+0x2],_0x5720fd=_0x2fac30[_0x3e81c4+0x3],_0x52beb0=_0x2fac30[_0x3e81c4+0x4],_0x257678=_0x2fac30[_0x3e81c4+0x5],_0x18d680=_0x2fac30[_0x3e81c4+0x6],_0x326e5b=_0x2fac30[_0x3e81c4+0x7],_0x532fe8=_0x2fac30[_0x3e81c4+0x8],_0x1d40d0=_0x2fac30[_0x3e81c4+0x9],_0x15bd13=_0x2fac30[_0x3e81c4+0xa],_0x2337cc=_0x2fac30[_0x3e81c4+0xb],_0x4e930b=_0x2fac30[_0x3e81c4+0xc],_0x4311f4=_0x2fac30[_0x3e81c4+0xd],_0x3690e0=_0x2fac30[_0x3e81c4+0xe],_0x29ab48=_0x2fac30[_0x3e81c4+0xf],_0x3e441f=_0x4cee49[0x0],_0x118d8e=_0x4cee49[0x1],_0x555807=_0x4cee49[0x2],_0x562821=_0x4cee49[0x3];_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x181feb,0x7,_0x1762ef[0x0]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x6f06b0,0xc,_0x1762ef[0x1]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x55c02f,0x11,_0x1762ef[0x2]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x5720fd,0x16,_0x1762ef[0x3]),_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x52beb0,0x7,_0x1762ef[0x4]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x257678,0xc,_0x1762ef[0x5]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x18d680,0x11,_0x1762ef[0x6]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x326e5b,0x16,_0x1762ef[0x7]),_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x532fe8,0x7,_0x1762ef[0x8]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x1d40d0,0xc,_0x1762ef[0x9]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x15bd13,0x11,_0x1762ef[0xa]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x2337cc,0x16,_0x1762ef[0xb]),_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4e930b,0x7,_0x1762ef[0xc]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x4311f4,0xc,_0x1762ef[0xd]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x3690e0,0x11,_0x1762ef[0xe]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x29ab48,0x16,_0x1762ef[0xf]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x6f06b0,0x5,_0x1762ef[0x10]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x18d680,0x9,_0x1762ef[0x11]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x2337cc,0xe,_0x1762ef[0x12]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x181feb,0x14,_0x1762ef[0x13]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x257678,0x5,_0x1762ef[0x14]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x15bd13,0x9,_0x1762ef[0x15]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x29ab48,0xe,_0x1762ef[0x16]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x52beb0,0x14,_0x1762ef[0x17]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x1d40d0,0x5,_0x1762ef[0x18]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x3690e0,0x9,_0x1762ef[0x19]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x5720fd,0xe,_0x1762ef[0x1a]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x532fe8,0x14,_0x1762ef[0x1b]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4311f4,0x5,_0x1762ef[0x1c]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x55c02f,0x9,_0x1762ef[0x1d]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x326e5b,0xe,_0x1762ef[0x1e]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x4e930b,0x14,_0x1762ef[0x1f]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x257678,0x4,_0x1762ef[0x20]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x532fe8,0xb,_0x1762ef[0x21]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x2337cc,0x10,_0x1762ef[0x22]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x3690e0,0x17,_0x1762ef[0x23]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x6f06b0,0x4,_0x1762ef[0x24]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x52beb0,0xb,_0x1762ef[0x25]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x326e5b,0x10,_0x1762ef[0x26]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x15bd13,0x17,_0x1762ef[0x27]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4311f4,0x4,_0x1762ef[0x28]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x181feb,0xb,_0x1762ef[0x29]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x5720fd,0x10,_0x1762ef[0x2a]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x18d680,0x17,_0x1762ef[0x2b]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x1d40d0,0x4,_0x1762ef[0x2c]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x4e930b,0xb,_0x1762ef[0x2d]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x29ab48,0x10,_0x1762ef[0x2e]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x55c02f,0x17,_0x1762ef[0x2f]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x181feb,0x6,_0x1762ef[0x30]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x326e5b,0xa,_0x1762ef[0x31]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x3690e0,0xf,_0x1762ef[0x32]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x257678,0x15,_0x1762ef[0x33]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4e930b,0x6,_0x1762ef[0x34]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x5720fd,0xa,_0x1762ef[0x35]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x15bd13,0xf,_0x1762ef[0x36]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x6f06b0,0x15,_0x1762ef[0x37]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x532fe8,0x6,_0x1762ef[0x38]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x29ab48,0xa,_0x1762ef[0x39]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x18d680,0xf,_0x1762ef[0x3a]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x4311f4,0x15,_0x1762ef[0x3b]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x52beb0,0x6,_0x1762ef[0x3c]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x2337cc,0xa,_0x1762ef[0x3d]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x55c02f,0xf,_0x1762ef[0x3e]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x1d40d0,0x15,_0x1762ef[0x3f]),_0x4cee49[0x0]=_0x4cee49[0x0]+_0x3e441f|0x0,_0x4cee49[0x1]=_0x4cee49[0x1]+_0x118d8e|0x0,_0x4cee49[0x2]=_0x4cee49[0x2]+_0x555807|0x0,_0x4cee49[0x3]=_0x4cee49[0x3]+_0x562821|0x0;},'_doFinalize':function(){var _0x4d9565=_0x1950f8,_0x2a9352=this['_data'],_0x20ad25=_0x2a9352[_0x4d9565(0x20f)],_0x494e09=this[_0x4d9565(0x32f)]*0x8,_0x1dc758=_0x2a9352['sigBytes']*0x8;_0x20ad25[_0x1dc758>>>0x5]|=0x80<<0x18-_0x1dc758%0x20;var _0x5bdf46=_0x16e2cf[_0x4d9565(0x224)](_0x494e09/0x100000000),_0x1ab000=_0x494e09;_0x20ad25[(_0x1dc758+0x40>>>0x9<<0x4)+0xf]=(_0x5bdf46<<0x8|_0x5bdf46>>>0x18)&0xff00ff|(_0x5bdf46<<0x18|_0x5bdf46>>>0x8)&0xff00ff00,_0x20ad25[(_0x1dc758+0x40>>>0x9<<0x4)+0xe]=(_0x1ab000<<0x8|_0x1ab000>>>0x18)&0xff00ff|(_0x1ab000<<0x18|_0x1ab000>>>0x8)&0xff00ff00,_0x2a9352['sigBytes']=(_0x20ad25['length']+0x1)*0x4,this[_0x4d9565(0x45a)]();for(var _0x4110e1=this[_0x4d9565(0x256)],_0x428e47=_0x4110e1[_0x4d9565(0x20f)],_0x4fc1d7=0x0;_0x4fc1d7<0x4;_0x4fc1d7++){var _0x573d01=_0x428e47[_0x4fc1d7];_0x428e47[_0x4fc1d7]=(_0x573d01<<0x8|_0x573d01>>>0x18)&0xff00ff|(_0x573d01<<0x18|_0x573d01>>>0x8)&0xff00ff00;}return _0x4110e1;},'clone':function(){var _0x3d13cb=_0x1950f8,_0x5eed6e=_0x16302a[_0x3d13cb(0x3df)][_0x3d13cb(0x2b6)](this);return _0x5eed6e[_0x3d13cb(0x256)]=this[_0x3d13cb(0x256)][_0x3d13cb(0x3df)](),_0x5eed6e;}});function _0x489de2(_0x49426b,_0xabf306,_0xb26cfe,_0x219c33,_0x480f99,_0x58d5e3,_0x27d4e0){var _0x3d7006=_0x49426b+(_0xabf306&_0xb26cfe|~_0xabf306&_0x219c33)+_0x480f99+_0x27d4e0;return(_0x3d7006<<_0x58d5e3|_0x3d7006>>>0x20-_0x58d5e3)+_0xabf306;}function _0x352b58(_0x418418,_0x5f0d03,_0x5cdb60,_0x50fd06,_0x59fe17,_0x26bc4c,_0x27524f){var _0x4ec055=_0x418418+(_0x5f0d03&_0x50fd06|_0x5cdb60&~_0x50fd06)+_0x59fe17+_0x27524f;return(_0x4ec055<<_0x26bc4c|_0x4ec055>>>0x20-_0x26bc4c)+_0x5f0d03;}function _0x5aa061(_0x1fd96c,_0x5c81c7,_0x77f170,_0x4d261f,_0xe8190a,_0x260296,_0x5b2e16){var _0x3b6a3d=_0x1fd96c+(_0x5c81c7^_0x77f170^_0x4d261f)+_0xe8190a+_0x5b2e16;return(_0x3b6a3d<<_0x260296|_0x3b6a3d>>>0x20-_0x260296)+_0x5c81c7;}function _0xf968f0(_0x213043,_0x2be3d7,_0x32f0c7,_0x30e35b,_0x227ebe,_0x1a0822,_0x46193e){var _0x3da01f=_0x213043+(_0x32f0c7^(_0x2be3d7|~_0x30e35b))+_0x227ebe+_0x46193e;return(_0x3da01f<<_0x1a0822|_0x3da01f>>>0x20-_0x1a0822)+_0x2be3d7;}_0x5a5430[_0x1950f8(0x1fd)]=_0x16302a[_0x1950f8(0x3dd)](_0x5d9cfa),_0x5a5430['HmacMD5']=_0x16302a[_0x1950f8(0x30b)](_0x5d9cfa);}(Math),_0x704114[_0x21ddc8(0x1fd)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},fn=qe['exports'],Xt;function vn(){var _0x4724dd=_0x57ebea;return Xt||(Xt=0x1,function(_0x181142,_0xa8ff8e){(function(_0x3edc43,_0x2fe021){var _0x15bd79=_0x5a33;_0x181142[_0x15bd79(0x3c3)]=_0x2fe021(ie());}(fn,function(_0x2b441e){var _0x455bf6=_0x5a33;return(function(){var _0x57f007=_0x5a33,_0x62afd=_0x2b441e,_0xe15636=_0x62afd[_0x57f007(0x3a7)],_0x5e8c86=_0xe15636[_0x57f007(0x24c)],_0x1ff4b5=_0xe15636[_0x57f007(0x448)],_0x279d4d=_0x62afd[_0x57f007(0x2b8)],_0x170da8=[],_0x3b5369=_0x279d4d[_0x57f007(0x39f)]=_0x1ff4b5['extend']({'_doReset':function(){var _0x1255e1=_0x57f007;this[_0x1255e1(0x256)]=new _0x5e8c86['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x36d9a8,_0x124e2f){var _0x5c9298=_0x57f007;for(var _0x22c88e=this[_0x5c9298(0x256)][_0x5c9298(0x20f)],_0x59d74e=_0x22c88e[0x0],_0x610bbe=_0x22c88e[0x1],_0x4c09a3=_0x22c88e[0x2],_0x17e24b=_0x22c88e[0x3],_0x2c70a8=_0x22c88e[0x4],_0x6c0098=0x0;_0x6c0098<0x50;_0x6c0098++){if(_0x6c0098<0x10)_0x170da8[_0x6c0098]=_0x36d9a8[_0x124e2f+_0x6c0098]|0x0;else{var _0x1ca958=_0x170da8[_0x6c0098-0x3]^_0x170da8[_0x6c0098-0x8]^_0x170da8[_0x6c0098-0xe]^_0x170da8[_0x6c0098-0x10];_0x170da8[_0x6c0098]=_0x1ca958<<0x1|_0x1ca958>>>0x1f;}var _0x376ff4=(_0x59d74e<<0x5|_0x59d74e>>>0x1b)+_0x2c70a8+_0x170da8[_0x6c0098];_0x6c0098<0x14?_0x376ff4+=(_0x610bbe&_0x4c09a3|~_0x610bbe&_0x17e24b)+0x5a827999:_0x6c0098<0x28?_0x376ff4+=(_0x610bbe^_0x4c09a3^_0x17e24b)+0x6ed9eba1:_0x6c0098<0x3c?_0x376ff4+=(_0x610bbe&_0x4c09a3|_0x610bbe&_0x17e24b|_0x4c09a3&_0x17e24b)-0x70e44324:_0x376ff4+=(_0x610bbe^_0x4c09a3^_0x17e24b)-0x359d3e2a,_0x2c70a8=_0x17e24b,_0x17e24b=_0x4c09a3,_0x4c09a3=_0x610bbe<<0x1e|_0x610bbe>>>0x2,_0x610bbe=_0x59d74e,_0x59d74e=_0x376ff4;}_0x22c88e[0x0]=_0x22c88e[0x0]+_0x59d74e|0x0,_0x22c88e[0x1]=_0x22c88e[0x1]+_0x610bbe|0x0,_0x22c88e[0x2]=_0x22c88e[0x2]+_0x4c09a3|0x0,_0x22c88e[0x3]=_0x22c88e[0x3]+_0x17e24b|0x0,_0x22c88e[0x4]=_0x22c88e[0x4]+_0x2c70a8|0x0;},'_doFinalize':function(){var _0x324ce5=_0x57f007,_0x54bb14=this[_0x324ce5(0x2f4)],_0x161870=_0x54bb14[_0x324ce5(0x20f)],_0x4afc31=this[_0x324ce5(0x32f)]*0x8,_0x5810b7=_0x54bb14[_0x324ce5(0x1d1)]*0x8;return _0x161870[_0x5810b7>>>0x5]|=0x80<<0x18-_0x5810b7%0x20,_0x161870[(_0x5810b7+0x40>>>0x9<<0x4)+0xe]=Math[_0x324ce5(0x224)](_0x4afc31/0x100000000),_0x161870[(_0x5810b7+0x40>>>0x9<<0x4)+0xf]=_0x4afc31,_0x54bb14[_0x324ce5(0x1d1)]=_0x161870[_0x324ce5(0x291)]*0x4,this[_0x324ce5(0x45a)](),this['_hash'];},'clone':function(){var _0x16ecea=_0x57f007,_0xae58fd=_0x1ff4b5[_0x16ecea(0x3df)][_0x16ecea(0x2b6)](this);return _0xae58fd[_0x16ecea(0x256)]=this['_hash'][_0x16ecea(0x3df)](),_0xae58fd;}});_0x62afd['SHA1']=_0x1ff4b5[_0x57f007(0x3dd)](_0x3b5369),_0x62afd[_0x57f007(0x1ce)]=_0x1ff4b5['_createHmacHelper'](_0x3b5369);}()),_0x2b441e[_0x455bf6(0x39f)];}));}(qe)),qe[_0x4724dd(0x3c3)];}var ze={'exports':{}},En=ze[_0x57ebea(0x3c3)],Jt;function pn(){return Jt||(Jt=0x1,function(_0x5f397f,_0x251c0b){(function(_0x1920b4,_0x572bf9){var _0x54da21=_0x5a33;_0x5f397f[_0x54da21(0x3c3)]=_0x572bf9(ie());}(En,function(_0x175e8d){(function(){var _0x4aee1e=_0x5a33,_0x9fe075=_0x175e8d,_0x3425af=_0x9fe075[_0x4aee1e(0x3a7)],_0x1f4292=_0x3425af['Base'],_0x4fe72e=_0x9fe075[_0x4aee1e(0x25a)],_0xe25843=_0x4fe72e['Utf8'],_0x48f0f4=_0x9fe075['algo'];_0x48f0f4[_0x4aee1e(0x331)]=_0x1f4292[_0x4aee1e(0x13c)]({'init':function(_0x55319d,_0x5d541c){var _0x7371bc=_0x4aee1e;_0x55319d=this[_0x7371bc(0x3c7)]=new _0x55319d['init'](),typeof _0x5d541c==_0x7371bc(0x270)&&(_0x5d541c=_0xe25843['parse'](_0x5d541c));var _0x43117d=_0x55319d['blockSize'],_0x474c37=_0x43117d*0x4;_0x5d541c['sigBytes']>_0x474c37&&(_0x5d541c=_0x55319d[_0x7371bc(0x197)](_0x5d541c)),_0x5d541c[_0x7371bc(0x168)]();for(var _0x53249b=this[_0x7371bc(0x2d3)]=_0x5d541c['clone'](),_0x2d763a=this[_0x7371bc(0x16c)]=_0x5d541c[_0x7371bc(0x3df)](),_0x26ed8d=_0x53249b['words'],_0x51e5a3=_0x2d763a['words'],_0x5a04ea=0x0;_0x5a04ea<_0x43117d;_0x5a04ea++)_0x26ed8d[_0x5a04ea]^=0x5c5c5c5c,_0x51e5a3[_0x5a04ea]^=0x36363636;_0x53249b[_0x7371bc(0x1d1)]=_0x2d763a['sigBytes']=_0x474c37,this[_0x7371bc(0x317)]();},'reset':function(){var _0x4a0b17=_0x4aee1e,_0x1d5835=this[_0x4a0b17(0x3c7)];_0x1d5835[_0x4a0b17(0x317)](),_0x1d5835[_0x4a0b17(0x360)](this[_0x4a0b17(0x16c)]);},'update':function(_0x20d029){var _0x4c04a0=_0x4aee1e;return this[_0x4c04a0(0x3c7)][_0x4c04a0(0x360)](_0x20d029),this;},'finalize':function(_0x5b4d9b){var _0x56a557=_0x4aee1e,_0x296c36=this[_0x56a557(0x3c7)],_0x3d393e=_0x296c36[_0x56a557(0x197)](_0x5b4d9b);_0x296c36[_0x56a557(0x317)]();var _0x133cba=_0x296c36[_0x56a557(0x197)](this[_0x56a557(0x2d3)]['clone']()['concat'](_0x3d393e));return _0x133cba;}});}());}));}(ze)),ze['exports'];}var mn=Ke[_0x57ebea(0x3c3)],Zt;function Ci(){var _0x57c5a7=_0x57ebea;return Zt||(Zt=0x1,function(_0x45109d,_0x12d330){(function(_0x5c3e6b,_0x452382,_0x1d4515){var _0x4fd5bc=_0x5a33;_0x45109d[_0x4fd5bc(0x3c3)]=_0x452382(ie(),vn(),pn());}(mn,function(_0x135271){var _0x5f1ad9=_0x5a33;return(function(){var _0x309952=_0x5a33,_0x473be1=_0x135271,_0x8825a=_0x473be1['lib'],_0x274087=_0x8825a[_0x309952(0x1f6)],_0x260026=_0x8825a[_0x309952(0x24c)],_0x4b4f68=_0x473be1[_0x309952(0x2b8)],_0x1aac04=_0x4b4f68[_0x309952(0x1fd)],_0x4046fd=_0x4b4f68['EvpKDF']=_0x274087[_0x309952(0x13c)]({'cfg':_0x274087[_0x309952(0x13c)]({'keySize':0x80/0x20,'hasher':_0x1aac04,'iterations':0x1}),'init':function(_0x17b0f4){var _0x2cf79d=_0x309952;this['cfg']=this[_0x2cf79d(0x196)]['extend'](_0x17b0f4);},'compute':function(_0x491d96,_0x4df337){var _0x387c15=_0x309952;for(var _0x355a14,_0x477396=this[_0x387c15(0x196)],_0x1231d7=_0x477396['hasher'][_0x387c15(0x290)](),_0x5ed83c=_0x260026['create'](),_0x3b8c8f=_0x5ed83c[_0x387c15(0x20f)],_0x582695=_0x477396[_0x387c15(0x29d)],_0x9167ea=_0x477396['iterations'];_0x3b8c8f[_0x387c15(0x291)]<_0x582695;){_0x355a14&&_0x1231d7['update'](_0x355a14),_0x355a14=_0x1231d7['update'](_0x491d96)['finalize'](_0x4df337),_0x1231d7['reset']();for(var _0x484a8c=0x1;_0x484a8c<_0x9167ea;_0x484a8c++)_0x355a14=_0x1231d7[_0x387c15(0x197)](_0x355a14),_0x1231d7['reset']();_0x5ed83c[_0x387c15(0x2e0)](_0x355a14);}return _0x5ed83c['sigBytes']=_0x582695*0x4,_0x5ed83c;}});_0x473be1[_0x309952(0x404)]=function(_0x4ed450,_0x2ebe16,_0x5201af){var _0x43bf23=_0x309952;return _0x4046fd[_0x43bf23(0x290)](_0x5201af)[_0x43bf23(0x45b)](_0x4ed450,_0x2ebe16);};}()),_0x135271[_0x5f1ad9(0x404)];}));}(Ke)),Ke[_0x57c5a7(0x3c3)];}var Xe={'exports':{}},In=Xe[_0x57ebea(0x3c3)],Qt;function bi(){var _0x4427b1=_0x57ebea;return Qt||(Qt=0x1,function(_0x7d9bd3,_0x275d89){(function(_0x39d34c,_0x3d0de7,_0x593039){_0x7d9bd3['exports']=_0x3d0de7(ie(),Ci());}(In,function(_0x340180){_0x340180['lib']['Cipher']||function(_0x15d9ae){var _0x3bdf30=_0x5a33,_0x960f19=_0x340180,_0x5d89e5=_0x960f19[_0x3bdf30(0x3a7)],_0x4165cd=_0x5d89e5[_0x3bdf30(0x1f6)],_0x298ea8=_0x5d89e5[_0x3bdf30(0x24c)],_0x56ed02=_0x5d89e5[_0x3bdf30(0x13a)],_0x3c2684=_0x960f19[_0x3bdf30(0x25a)];_0x3c2684[_0x3bdf30(0x1a1)];var _0x1a0b57=_0x3c2684[_0x3bdf30(0x338)],_0x1856fa=_0x960f19[_0x3bdf30(0x2b8)],_0x622884=_0x1856fa[_0x3bdf30(0x404)],_0x1fb095=_0x5d89e5[_0x3bdf30(0x43d)]=_0x56ed02['extend']({'cfg':_0x4165cd[_0x3bdf30(0x13c)](),'createEncryptor':function(_0x344d59,_0x296eea){var _0x53180b=_0x3bdf30;return this['create'](this[_0x53180b(0x233)],_0x344d59,_0x296eea);},'createDecryptor':function(_0x4bb007,_0x5b1e78){var _0x18a8c0=_0x3bdf30;return this['create'](this[_0x18a8c0(0x27b)],_0x4bb007,_0x5b1e78);},'init':function(_0x23221e,_0x1c4e2d,_0x33b3d5){var _0x1cbe65=_0x3bdf30;this[_0x1cbe65(0x196)]=this['cfg'][_0x1cbe65(0x13c)](_0x33b3d5),this[_0x1cbe65(0x1cb)]=_0x23221e,this['_key']=_0x1c4e2d,this[_0x1cbe65(0x317)]();},'reset':function(){var _0x1df84b=_0x3bdf30;_0x56ed02['reset'][_0x1df84b(0x2b6)](this),this['_doReset']();},'process':function(_0x2b6a3b){var _0x5af3e6=_0x3bdf30;return this[_0x5af3e6(0x1ab)](_0x2b6a3b),this[_0x5af3e6(0x45a)]();},'finalize':function(_0x55c2d2){var _0x136eed=_0x3bdf30;_0x55c2d2&&this['_append'](_0x55c2d2);var _0x31301e=this[_0x136eed(0x174)]();return _0x31301e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4378b2(_0x2585ba){var _0x5d795d=_0x5a33;return typeof _0x2585ba==_0x5d795d(0x270)?_0x494281:_0x5e8069;}return function(_0x47b785){return{'encrypt':function(_0x3bcb05,_0x212f2e,_0x2c0783){var _0x11f55b=_0x5a33;return _0x4378b2(_0x212f2e)[_0x11f55b(0x2bd)](_0x47b785,_0x3bcb05,_0x212f2e,_0x2c0783);},'decrypt':function(_0x100b2a,_0xbb806c,_0x135d27){return _0x4378b2(_0xbb806c)['decrypt'](_0x47b785,_0x100b2a,_0xbb806c,_0x135d27);}};};}())});_0x5d89e5[_0x3bdf30(0x3d8)]=_0x1fb095[_0x3bdf30(0x13c)]({'_doFinalize':function(){var _0x5b9237=_0x3bdf30,_0x3f1e22=this[_0x5b9237(0x45a)](!0x0);return _0x3f1e22;},'blockSize':0x1});var _0x480d2e=_0x960f19['mode']={},_0xe3842e=_0x5d89e5[_0x3bdf30(0x416)]=_0x4165cd['extend']({'createEncryptor':function(_0x57a25c,_0x17423e){var _0x391d6c=_0x3bdf30;return this[_0x391d6c(0x2c1)][_0x391d6c(0x290)](_0x57a25c,_0x17423e);},'createDecryptor':function(_0x261110,_0x46d24e){var _0x35ab66=_0x3bdf30;return this[_0x35ab66(0x40b)][_0x35ab66(0x290)](_0x261110,_0x46d24e);},'init':function(_0x3ffa85,_0x432336){var _0x52f1a8=_0x3bdf30;this['_cipher']=_0x3ffa85,this[_0x52f1a8(0x2df)]=_0x432336;}}),_0x169bbc=_0x480d2e['CBC']=(function(){var _0x2dae56=_0x3bdf30,_0x8e3e23=_0xe3842e[_0x2dae56(0x13c)]();_0x8e3e23['Encryptor']=_0x8e3e23[_0x2dae56(0x13c)]({'processBlock':function(_0x4d4a01,_0x19162b){var _0x3637f9=_0x2dae56,_0x42dbfa=this[_0x3637f9(0x3ba)],_0x82bbba=_0x42dbfa['blockSize'];_0x2f1813[_0x3637f9(0x2b6)](this,_0x4d4a01,_0x19162b,_0x82bbba),_0x42dbfa[_0x3637f9(0x3c2)](_0x4d4a01,_0x19162b),this['_prevBlock']=_0x4d4a01['slice'](_0x19162b,_0x19162b+_0x82bbba);}}),_0x8e3e23[_0x2dae56(0x40b)]=_0x8e3e23['extend']({'processBlock':function(_0x10cb9a,_0x2f7d15){var _0x20c5a1=_0x2dae56,_0xf98227=this['_cipher'],_0x5493c7=_0xf98227[_0x20c5a1(0x43c)],_0x659541=_0x10cb9a[_0x20c5a1(0x40e)](_0x2f7d15,_0x2f7d15+_0x5493c7);_0xf98227[_0x20c5a1(0x23d)](_0x10cb9a,_0x2f7d15),_0x2f1813[_0x20c5a1(0x2b6)](this,_0x10cb9a,_0x2f7d15,_0x5493c7),this[_0x20c5a1(0x411)]=_0x659541;}});function _0x2f1813(_0x43c502,_0x584f35,_0x52215e){var _0x50eb5f=_0x2dae56,_0xf8189a,_0x18897c=this[_0x50eb5f(0x2df)];_0x18897c?(_0xf8189a=_0x18897c,this[_0x50eb5f(0x2df)]=_0x15d9ae):_0xf8189a=this[_0x50eb5f(0x411)];for(var _0x5b5351=0x0;_0x5b5351<_0x52215e;_0x5b5351++)_0x43c502[_0x584f35+_0x5b5351]^=_0xf8189a[_0x5b5351];}return _0x8e3e23;}()),_0x55cc47=_0x960f19[_0x3bdf30(0x204)]={},_0x4801b6=_0x55cc47[_0x3bdf30(0x44e)]={'pad':function(_0x2b1db5,_0x4c16df){var _0x253d47=_0x3bdf30;for(var _0x365855=_0x4c16df*0x4,_0x386dd2=_0x365855-_0x2b1db5[_0x253d47(0x1d1)]%_0x365855,_0x4eb97b=_0x386dd2<<0x18|_0x386dd2<<0x10|_0x386dd2<<0x8|_0x386dd2,_0x19231c=[],_0x3b81cf=0x0;_0x3b81cf<_0x386dd2;_0x3b81cf+=0x4)_0x19231c[_0x253d47(0x37e)](_0x4eb97b);var _0x5a7c68=_0x298ea8[_0x253d47(0x290)](_0x19231c,_0x386dd2);_0x2b1db5['concat'](_0x5a7c68);},'unpad':function(_0x1670ed){var _0x16f7ad=_0x3bdf30,_0x28c2fc=_0x1670ed['words'][_0x1670ed[_0x16f7ad(0x1d1)]-0x1>>>0x2]&0xff;_0x1670ed[_0x16f7ad(0x1d1)]-=_0x28c2fc;}};_0x5d89e5[_0x3bdf30(0x17e)]=_0x1fb095[_0x3bdf30(0x13c)]({'cfg':_0x1fb095[_0x3bdf30(0x196)]['extend']({'mode':_0x169bbc,'padding':_0x4801b6}),'reset':function(){var _0x5b20e4=_0x3bdf30,_0x583289;_0x1fb095[_0x5b20e4(0x317)][_0x5b20e4(0x2b6)](this);var _0x3c1e91=this[_0x5b20e4(0x196)],_0x5230f7=_0x3c1e91['iv'],_0x5513ac=_0x3c1e91[_0x5b20e4(0x219)];this['_xformMode']==this[_0x5b20e4(0x233)]?_0x583289=_0x5513ac[_0x5b20e4(0x2b2)]:(_0x583289=_0x5513ac[_0x5b20e4(0x3d3)],this[_0x5b20e4(0x22c)]=0x1),this[_0x5b20e4(0x267)]&&this[_0x5b20e4(0x267)][_0x5b20e4(0x43a)]==_0x583289?this['_mode'][_0x5b20e4(0x3a1)](this,_0x5230f7&&_0x5230f7[_0x5b20e4(0x20f)]):(this[_0x5b20e4(0x267)]=_0x583289[_0x5b20e4(0x2b6)](_0x5513ac,this,_0x5230f7&&_0x5230f7['words']),this['_mode'][_0x5b20e4(0x43a)]=_0x583289);},'_doProcessBlock':function(_0x40f22d,_0x441774){var _0x19481f=_0x3bdf30;this[_0x19481f(0x267)][_0x19481f(0x37c)](_0x40f22d,_0x441774);},'_doFinalize':function(){var _0x3c52b1=_0x3bdf30,_0x506581,_0x140ec6=this[_0x3c52b1(0x196)][_0x3c52b1(0x30f)];return this[_0x3c52b1(0x1cb)]==this[_0x3c52b1(0x233)]?(_0x140ec6['pad'](this[_0x3c52b1(0x2f4)],this[_0x3c52b1(0x43c)]),_0x506581=this[_0x3c52b1(0x45a)](!0x0)):(_0x506581=this[_0x3c52b1(0x45a)](!0x0),_0x140ec6['unpad'](_0x506581)),_0x506581;},'blockSize':0x80/0x20});var _0x23201d=_0x5d89e5[_0x3bdf30(0x260)]=_0x4165cd[_0x3bdf30(0x13c)]({'init':function(_0x4745aa){var _0x377021=_0x3bdf30;this[_0x377021(0x217)](_0x4745aa);},'toString':function(_0x573444){var _0x5ef8de=_0x3bdf30;return(_0x573444||this[_0x5ef8de(0x1df)])['stringify'](this);}}),_0x413ebd=_0x960f19[_0x3bdf30(0x3e5)]={},_0x40aeb4=_0x413ebd['OpenSSL']={'stringify':function(_0xce4965){var _0x2735ba=_0x3bdf30,_0x528ac9,_0x526a84=_0xce4965[_0x2735ba(0x414)],_0x32c16f=_0xce4965[_0x2735ba(0x231)];return _0x32c16f?_0x528ac9=_0x298ea8['create']([0x53616c74,0x65645f5f])[_0x2735ba(0x2e0)](_0x32c16f)[_0x2735ba(0x2e0)](_0x526a84):_0x528ac9=_0x526a84,_0x528ac9[_0x2735ba(0x40f)](_0x1a0b57);},'parse':function(_0x4c6c09){var _0x32f49f=_0x3bdf30,_0x2c75c4,_0x5babff=_0x1a0b57[_0x32f49f(0x251)](_0x4c6c09),_0x58730f=_0x5babff[_0x32f49f(0x20f)];return _0x58730f[0x0]==0x53616c74&&_0x58730f[0x1]==0x65645f5f&&(_0x2c75c4=_0x298ea8[_0x32f49f(0x290)](_0x58730f[_0x32f49f(0x40e)](0x2,0x4)),_0x58730f[_0x32f49f(0x22f)](0x0,0x4),_0x5babff['sigBytes']-=0x10),_0x23201d['create']({'ciphertext':_0x5babff,'salt':_0x2c75c4});}},_0x5e8069=_0x5d89e5[_0x3bdf30(0x24d)]=_0x4165cd[_0x3bdf30(0x13c)]({'cfg':_0x4165cd['extend']({'format':_0x40aeb4}),'encrypt':function(_0x1a5c1d,_0x4cf970,_0xbf498b,_0x2c6ddb){var _0x23dcff=_0x3bdf30;_0x2c6ddb=this['cfg'][_0x23dcff(0x13c)](_0x2c6ddb);var _0x52638d=_0x1a5c1d[_0x23dcff(0x2b2)](_0xbf498b,_0x2c6ddb),_0x466bcc=_0x52638d['finalize'](_0x4cf970),_0x534f0d=_0x52638d[_0x23dcff(0x196)];return _0x23201d[_0x23dcff(0x290)]({'ciphertext':_0x466bcc,'key':_0xbf498b,'iv':_0x534f0d['iv'],'algorithm':_0x1a5c1d,'mode':_0x534f0d['mode'],'padding':_0x534f0d[_0x23dcff(0x30f)],'blockSize':_0x1a5c1d[_0x23dcff(0x43c)],'formatter':_0x2c6ddb[_0x23dcff(0x3e5)]});},'decrypt':function(_0x3c341e,_0x5babd3,_0xc4b01e,_0x48c25c){var _0x3d6f6a=_0x3bdf30;_0x48c25c=this[_0x3d6f6a(0x196)][_0x3d6f6a(0x13c)](_0x48c25c),_0x5babd3=this[_0x3d6f6a(0x14b)](_0x5babd3,_0x48c25c[_0x3d6f6a(0x3e5)]);var _0x351d71=_0x3c341e[_0x3d6f6a(0x3d3)](_0xc4b01e,_0x48c25c)['finalize'](_0x5babd3[_0x3d6f6a(0x414)]);return _0x351d71;},'_parse':function(_0x388611,_0x454be8){var _0x5b7812=_0x3bdf30;return typeof _0x388611==_0x5b7812(0x270)?_0x454be8[_0x5b7812(0x251)](_0x388611,this):_0x388611;}}),_0x60f12=_0x960f19[_0x3bdf30(0x229)]={},_0x458363=_0x60f12[_0x3bdf30(0x32a)]={'execute':function(_0x9871c0,_0x1d0d2c,_0x3c1f40,_0x11f5fc,_0x440248){var _0x157c5f=_0x3bdf30;if(_0x11f5fc||(_0x11f5fc=_0x298ea8[_0x157c5f(0x443)](0x40/0x8)),_0x440248)var _0x1cc331=_0x622884[_0x157c5f(0x290)]({'keySize':_0x1d0d2c+_0x3c1f40,'hasher':_0x440248})[_0x157c5f(0x45b)](_0x9871c0,_0x11f5fc);else var _0x1cc331=_0x622884[_0x157c5f(0x290)]({'keySize':_0x1d0d2c+_0x3c1f40})[_0x157c5f(0x45b)](_0x9871c0,_0x11f5fc);var _0x32ee76=_0x298ea8[_0x157c5f(0x290)](_0x1cc331[_0x157c5f(0x20f)][_0x157c5f(0x40e)](_0x1d0d2c),_0x3c1f40*0x4);return _0x1cc331[_0x157c5f(0x1d1)]=_0x1d0d2c*0x4,_0x23201d[_0x157c5f(0x290)]({'key':_0x1cc331,'iv':_0x32ee76,'salt':_0x11f5fc});}},_0x494281=_0x5d89e5['PasswordBasedCipher']=_0x5e8069['extend']({'cfg':_0x5e8069[_0x3bdf30(0x196)]['extend']({'kdf':_0x458363}),'encrypt':function(_0x66f00c,_0x317fa0,_0x412eb9,_0x24a224){var _0xb96ff2=_0x3bdf30;_0x24a224=this[_0xb96ff2(0x196)][_0xb96ff2(0x13c)](_0x24a224);var _0x1d30c1=_0x24a224[_0xb96ff2(0x229)]['execute'](_0x412eb9,_0x66f00c[_0xb96ff2(0x29d)],_0x66f00c[_0xb96ff2(0x1ac)],_0x24a224[_0xb96ff2(0x231)],_0x24a224[_0xb96ff2(0x383)]);_0x24a224['iv']=_0x1d30c1['iv'];var _0x18db57=_0x5e8069[_0xb96ff2(0x2bd)][_0xb96ff2(0x2b6)](this,_0x66f00c,_0x317fa0,_0x1d30c1[_0xb96ff2(0x1ca)],_0x24a224);return _0x18db57[_0xb96ff2(0x217)](_0x1d30c1),_0x18db57;},'decrypt':function(_0x53273f,_0x5b77b4,_0x3f6e69,_0x3fb76f){var _0x2dd8b2=_0x3bdf30;_0x3fb76f=this[_0x2dd8b2(0x196)][_0x2dd8b2(0x13c)](_0x3fb76f),_0x5b77b4=this[_0x2dd8b2(0x14b)](_0x5b77b4,_0x3fb76f[_0x2dd8b2(0x3e5)]);var _0x38fc52=_0x3fb76f['kdf'][_0x2dd8b2(0x2dd)](_0x3f6e69,_0x53273f['keySize'],_0x53273f[_0x2dd8b2(0x1ac)],_0x5b77b4[_0x2dd8b2(0x231)],_0x3fb76f[_0x2dd8b2(0x383)]);_0x3fb76f['iv']=_0x38fc52['iv'];var _0xaa6be2=_0x5e8069['decrypt'][_0x2dd8b2(0x2b6)](this,_0x53273f,_0x5b77b4,_0x38fc52[_0x2dd8b2(0x1ca)],_0x3fb76f);return _0xaa6be2;}});}();}));}(Xe)),Xe[_0x4427b1(0x3c3)];}var Sn=Ve[_0x57ebea(0x3c3)],ei;function gn(){var _0x2b54de=_0x57ebea;return ei||(ei=0x1,function(_0x41e893,_0x439524){(function(_0x26c1d0,_0x37e9b7,_0x58fa35){var _0x266048=_0x5a33;_0x41e893[_0x266048(0x3c3)]=_0x37e9b7(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x164961){var _0x1ea2ce=_0x5a33;return(function(){var _0x17abd9=_0x5a33,_0x113b06=_0x164961,_0x1b4d6e=_0x113b06[_0x17abd9(0x3a7)],_0x4b7790=_0x1b4d6e[_0x17abd9(0x17e)],_0x514472=_0x113b06['algo'],_0x5267ba=[],_0x1649dc=[],_0x35a202=[],_0x4f240e=[],_0x425fae=[],_0x3a047d=[],_0xa91655=[],_0x216a2e=[],_0x2da9c2=[],_0x120621=[];(function(){for(var _0x337bb7=[],_0x5238d9=0x0;_0x5238d9<0x100;_0x5238d9++)_0x5238d9<0x80?_0x337bb7[_0x5238d9]=_0x5238d9<<0x1:_0x337bb7[_0x5238d9]=_0x5238d9<<0x1^0x11b;for(var _0x5a32a9=0x0,_0x27559e=0x0,_0x5238d9=0x0;_0x5238d9<0x100;_0x5238d9++){var _0x339e8c=_0x27559e^_0x27559e<<0x1^_0x27559e<<0x2^_0x27559e<<0x3^_0x27559e<<0x4;_0x339e8c=_0x339e8c>>>0x8^_0x339e8c&0xff^0x63,_0x5267ba[_0x5a32a9]=_0x339e8c,_0x1649dc[_0x339e8c]=_0x5a32a9;var _0x47f94c=_0x337bb7[_0x5a32a9],_0x562e4e=_0x337bb7[_0x47f94c],_0x8148d2=_0x337bb7[_0x562e4e],_0x12ba00=_0x337bb7[_0x339e8c]*0x101^_0x339e8c*0x1010100;_0x35a202[_0x5a32a9]=_0x12ba00<<0x18|_0x12ba00>>>0x8,_0x4f240e[_0x5a32a9]=_0x12ba00<<0x10|_0x12ba00>>>0x10,_0x425fae[_0x5a32a9]=_0x12ba00<<0x8|_0x12ba00>>>0x18,_0x3a047d[_0x5a32a9]=_0x12ba00;var _0x12ba00=_0x8148d2*0x1010101^_0x562e4e*0x10001^_0x47f94c*0x101^_0x5a32a9*0x1010100;_0xa91655[_0x339e8c]=_0x12ba00<<0x18|_0x12ba00>>>0x8,_0x216a2e[_0x339e8c]=_0x12ba00<<0x10|_0x12ba00>>>0x10,_0x2da9c2[_0x339e8c]=_0x12ba00<<0x8|_0x12ba00>>>0x18,_0x120621[_0x339e8c]=_0x12ba00,_0x5a32a9?(_0x5a32a9=_0x47f94c^_0x337bb7[_0x337bb7[_0x337bb7[_0x8148d2^_0x47f94c]]],_0x27559e^=_0x337bb7[_0x337bb7[_0x27559e]]):_0x5a32a9=_0x27559e=0x1;}}());var _0xc4155e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1ce30f=_0x514472[_0x17abd9(0x1a2)]=_0x4b7790[_0x17abd9(0x13c)]({'_doReset':function(){var _0x4d844e=_0x17abd9,_0x1e6583;if(!(this[_0x4d844e(0x288)]&&this['_keyPriorReset']===this[_0x4d844e(0x26f)])){for(var _0x58dd22=this[_0x4d844e(0x2cd)]=this['_key'],_0x597e13=_0x58dd22[_0x4d844e(0x20f)],_0x54a4ba=_0x58dd22[_0x4d844e(0x1d1)]/0x4,_0x2cb09b=this[_0x4d844e(0x288)]=_0x54a4ba+0x6,_0x3df2b7=(_0x2cb09b+0x1)*0x4,_0x589b9e=this[_0x4d844e(0x3a0)]=[],_0x309f7d=0x0;_0x309f7d<_0x3df2b7;_0x309f7d++)_0x309f7d<_0x54a4ba?_0x589b9e[_0x309f7d]=_0x597e13[_0x309f7d]:(_0x1e6583=_0x589b9e[_0x309f7d-0x1],_0x309f7d%_0x54a4ba?_0x54a4ba>0x6&&_0x309f7d%_0x54a4ba==0x4&&(_0x1e6583=_0x5267ba[_0x1e6583>>>0x18]<<0x18|_0x5267ba[_0x1e6583>>>0x10&0xff]<<0x10|_0x5267ba[_0x1e6583>>>0x8&0xff]<<0x8|_0x5267ba[_0x1e6583&0xff]):(_0x1e6583=_0x1e6583<<0x8|_0x1e6583>>>0x18,_0x1e6583=_0x5267ba[_0x1e6583>>>0x18]<<0x18|_0x5267ba[_0x1e6583>>>0x10&0xff]<<0x10|_0x5267ba[_0x1e6583>>>0x8&0xff]<<0x8|_0x5267ba[_0x1e6583&0xff],_0x1e6583^=_0xc4155e[_0x309f7d/_0x54a4ba|0x0]<<0x18),_0x589b9e[_0x309f7d]=_0x589b9e[_0x309f7d-_0x54a4ba]^_0x1e6583);for(var _0x23a737=this[_0x4d844e(0x3ae)]=[],_0x1d3b1c=0x0;_0x1d3b1c<_0x3df2b7;_0x1d3b1c++){var _0x309f7d=_0x3df2b7-_0x1d3b1c;if(_0x1d3b1c%0x4)var _0x1e6583=_0x589b9e[_0x309f7d];else var _0x1e6583=_0x589b9e[_0x309f7d-0x4];_0x1d3b1c<0x4||_0x309f7d<=0x4?_0x23a737[_0x1d3b1c]=_0x1e6583:_0x23a737[_0x1d3b1c]=_0xa91655[_0x5267ba[_0x1e6583>>>0x18]]^_0x216a2e[_0x5267ba[_0x1e6583>>>0x10&0xff]]^_0x2da9c2[_0x5267ba[_0x1e6583>>>0x8&0xff]]^_0x120621[_0x5267ba[_0x1e6583&0xff]];}}},'encryptBlock':function(_0x193395,_0xa13f89){var _0x42ef5b=_0x17abd9;this[_0x42ef5b(0x253)](_0x193395,_0xa13f89,this[_0x42ef5b(0x3a0)],_0x35a202,_0x4f240e,_0x425fae,_0x3a047d,_0x5267ba);},'decryptBlock':function(_0x4a2d82,_0x48eed4){var _0x3cd469=_0x17abd9,_0x1c608e=_0x4a2d82[_0x48eed4+0x1];_0x4a2d82[_0x48eed4+0x1]=_0x4a2d82[_0x48eed4+0x3],_0x4a2d82[_0x48eed4+0x3]=_0x1c608e,this[_0x3cd469(0x253)](_0x4a2d82,_0x48eed4,this[_0x3cd469(0x3ae)],_0xa91655,_0x216a2e,_0x2da9c2,_0x120621,_0x1649dc);var _0x1c608e=_0x4a2d82[_0x48eed4+0x1];_0x4a2d82[_0x48eed4+0x1]=_0x4a2d82[_0x48eed4+0x3],_0x4a2d82[_0x48eed4+0x3]=_0x1c608e;},'_doCryptBlock':function(_0x3d1451,_0x1258cf,_0x300beb,_0x262a90,_0x3efc0a,_0x4dff23,_0x4e0a66,_0x3e171f){var _0x2e40ca=_0x17abd9;for(var _0x6b1b1f=this[_0x2e40ca(0x288)],_0xf96af2=_0x3d1451[_0x1258cf]^_0x300beb[0x0],_0x2b6b5a=_0x3d1451[_0x1258cf+0x1]^_0x300beb[0x1],_0x184295=_0x3d1451[_0x1258cf+0x2]^_0x300beb[0x2],_0x51b89b=_0x3d1451[_0x1258cf+0x3]^_0x300beb[0x3],_0x309ce5=0x4,_0x3e58d0=0x1;_0x3e58d0<_0x6b1b1f;_0x3e58d0++){var _0x4f8408=_0x262a90[_0xf96af2>>>0x18]^_0x3efc0a[_0x2b6b5a>>>0x10&0xff]^_0x4dff23[_0x184295>>>0x8&0xff]^_0x4e0a66[_0x51b89b&0xff]^_0x300beb[_0x309ce5++],_0xb4105c=_0x262a90[_0x2b6b5a>>>0x18]^_0x3efc0a[_0x184295>>>0x10&0xff]^_0x4dff23[_0x51b89b>>>0x8&0xff]^_0x4e0a66[_0xf96af2&0xff]^_0x300beb[_0x309ce5++],_0x5c209e=_0x262a90[_0x184295>>>0x18]^_0x3efc0a[_0x51b89b>>>0x10&0xff]^_0x4dff23[_0xf96af2>>>0x8&0xff]^_0x4e0a66[_0x2b6b5a&0xff]^_0x300beb[_0x309ce5++],_0x32c6f0=_0x262a90[_0x51b89b>>>0x18]^_0x3efc0a[_0xf96af2>>>0x10&0xff]^_0x4dff23[_0x2b6b5a>>>0x8&0xff]^_0x4e0a66[_0x184295&0xff]^_0x300beb[_0x309ce5++];_0xf96af2=_0x4f8408,_0x2b6b5a=_0xb4105c,_0x184295=_0x5c209e,_0x51b89b=_0x32c6f0;}var _0x4f8408=(_0x3e171f[_0xf96af2>>>0x18]<<0x18|_0x3e171f[_0x2b6b5a>>>0x10&0xff]<<0x10|_0x3e171f[_0x184295>>>0x8&0xff]<<0x8|_0x3e171f[_0x51b89b&0xff])^_0x300beb[_0x309ce5++],_0xb4105c=(_0x3e171f[_0x2b6b5a>>>0x18]<<0x18|_0x3e171f[_0x184295>>>0x10&0xff]<<0x10|_0x3e171f[_0x51b89b>>>0x8&0xff]<<0x8|_0x3e171f[_0xf96af2&0xff])^_0x300beb[_0x309ce5++],_0x5c209e=(_0x3e171f[_0x184295>>>0x18]<<0x18|_0x3e171f[_0x51b89b>>>0x10&0xff]<<0x10|_0x3e171f[_0xf96af2>>>0x8&0xff]<<0x8|_0x3e171f[_0x2b6b5a&0xff])^_0x300beb[_0x309ce5++],_0x32c6f0=(_0x3e171f[_0x51b89b>>>0x18]<<0x18|_0x3e171f[_0xf96af2>>>0x10&0xff]<<0x10|_0x3e171f[_0x2b6b5a>>>0x8&0xff]<<0x8|_0x3e171f[_0x184295&0xff])^_0x300beb[_0x309ce5++];_0x3d1451[_0x1258cf]=_0x4f8408,_0x3d1451[_0x1258cf+0x1]=_0xb4105c,_0x3d1451[_0x1258cf+0x2]=_0x5c209e,_0x3d1451[_0x1258cf+0x3]=_0x32c6f0;},'keySize':0x100/0x20});_0x113b06['AES']=_0x4b7790[_0x17abd9(0x3dd)](_0x1ce30f);}()),_0x164961[_0x1ea2ce(0x1a2)];}));}(Ve)),Ve[_0x2b54de(0x3c3)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0x57ebea(0x3c3)],ii;function Cn(){var _0x7b38b0=_0x57ebea;return ii||(ii=0x1,function(_0x5a33b9,_0x1d8f29){(function(_0xa58d0e,_0x5cff4a){var _0x12c503=_0x5a33;_0x5a33b9[_0x12c503(0x3c3)]=_0x5cff4a(ie());}(Nn,function(_0x361559){var _0x468fda=_0x5a33;return _0x361559[_0x468fda(0x25a)][_0x468fda(0x1a1)];}));}(Je)),Je[_0x7b38b0(0x3c3)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0x57ebea(0x3c3)],si;function Un(){var _0x347075=_0x57ebea;return si||(si=0x1,function(_0x4571fa,_0x29d659){(function(_0x53936c,_0x4e0aa1){var _0x4a2b4b=_0x5a33;_0x4571fa[_0x4a2b4b(0x3c3)]=_0x4e0aa1(ie());}(yn,function(_0x1d673a){var _0xebb0f7=_0x5a33;return(function(){var _0x4af0d4=_0x5a33;if(typeof ArrayBuffer==_0x4af0d4(0x44c)){var _0x457c3d=_0x1d673a,_0x4fa62f=_0x457c3d[_0x4af0d4(0x3a7)],_0x5bc6a6=_0x4fa62f[_0x4af0d4(0x24c)],_0x250b1b=_0x5bc6a6[_0x4af0d4(0x3a1)],_0x3c737d=_0x5bc6a6[_0x4af0d4(0x3a1)]=function(_0x394672){var _0x5af5a4=_0x4af0d4;if(_0x394672 instanceof ArrayBuffer&&(_0x394672=new Uint8Array(_0x394672)),(_0x394672 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x394672 instanceof Uint8ClampedArray||_0x394672 instanceof Int16Array||_0x394672 instanceof Uint16Array||_0x394672 instanceof Int32Array||_0x394672 instanceof Uint32Array||_0x394672 instanceof Float32Array||_0x394672 instanceof Float64Array)&&(_0x394672=new Uint8Array(_0x394672['buffer'],_0x394672[_0x5af5a4(0x227)],_0x394672[_0x5af5a4(0x3bc)])),_0x394672 instanceof Uint8Array){for(var _0x3027aa=_0x394672[_0x5af5a4(0x3bc)],_0x7970a8=[],_0x34e473=0x0;_0x34e473<_0x3027aa;_0x34e473++)_0x7970a8[_0x34e473>>>0x2]|=_0x394672[_0x34e473]<<0x18-_0x34e473%0x4*0x8;_0x250b1b[_0x5af5a4(0x2b6)](this,_0x7970a8,_0x3027aa);}else _0x250b1b[_0x5af5a4(0x2d4)](this,arguments);};_0x3c737d['prototype']=_0x5bc6a6;}}()),_0x1d673a[_0xebb0f7(0x3a7)][_0xebb0f7(0x24c)];}));}(Ze)),Ze[_0x347075(0x3c3)];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},wn=Qe[_0x57ebea(0x3c3)],ni;function Ln(){return ni||(ni=0x1,function(_0x44cb48,_0x4f1917){(function(_0x50c324,_0x59fb53,_0x418ada){var _0x1e53c3=_0x5a33;_0x44cb48[_0x1e53c3(0x3c3)]=_0x59fb53(ie(),bi());}(wn,function(_0x5b6421){var _0x2ddb00=_0x5a33;return _0x5b6421['pad'][_0x2ddb00(0x3f0)]={'pad':function(){},'unpad':function(){}},_0x5b6421[_0x2ddb00(0x204)][_0x2ddb00(0x3f0)];}));}(Qe)),Qe['exports'];}var Mn=Ln();const xn=$e(Mn);function kn(_0xe4ba04,_0x2fda38){var _0x60a8fc=_0x57ebea;const _0x2f6aca=_0x2fda38-_0xe4ba04[_0x60a8fc(0x291)]%_0x2fda38,_0x55930f=String['fromCharCode'](_0x2f6aca)[_0x60a8fc(0x401)](_0x2f6aca);return _0xe4ba04+_0x55930f;}function $n(_0x50dd77,_0x1770e6){var _0x722f39=_0x57ebea;const _0x20aa82=Pn[_0x722f39(0x443)](0x10),_0x2d9ed1=kn(_0x50dd77,0x10),_0x17f042=On['encrypt'](Dn[_0x722f39(0x251)](_0x2d9ed1),ti[_0x722f39(0x251)](_0x1770e6),{'iv':_0x20aa82,'padding':xn});return _0x20aa82['concat'](_0x17f042['ciphertext'])[_0x722f39(0x40f)](ti);}function Hn(){var _0xad1f7e=_0x57ebea;const _0x471fe7=_0xb166fe()[_0xad1f7e(0x44b)];if(typeof window<'u'&&typeof window[_0xad1f7e(0x285)]<'u'&&_0x471fe7){const _0x134be6={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0xad1f7e(0x15f)]};return $n(JSON[_0xad1f7e(0x3fb)](_0x134be6),_0x471fe7);}}var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x3fe5fd,_0x4f157c,_0x55e12f,_0x47b0df)=>{var _0x48ef2a=_0x57ebea;for(var _0x56ff49=_0x47b0df>0x1?void 0x0:_0x47b0df?Bn(_0x4f157c,_0x55e12f):_0x4f157c,_0x505548=_0x3fe5fd[_0x48ef2a(0x291)]-0x1,_0x162841;_0x505548>=0x0;_0x505548--)(_0x162841=_0x3fe5fd[_0x505548])&&(_0x56ff49=_0x162841(_0x56ff49)||_0x56ff49);return _0x56ff49;},jn=(_0x1d9217,_0x23f1c5)=>(_0x56762c,_0x16a4cf)=>_0x23f1c5(_0x56762c,_0x16a4cf,_0x1d9217);let at=class{constructor(_0x15cd82){var _0x3f48a7=_0x57ebea;this['_httpService']=_0x15cd82,this[_0x3f48a7(0x2b5)]();}[_0x57ebea(0x2b5)](){var _0x3ec82d=_0x57ebea;this[_0x3ec82d(0x320)][_0x3ec82d(0x370)]({'interceptor':(_0x1590e4,_0x6ac59c)=>{var _0x2e9ff1=_0x3ec82d;const _0x4b110c=_0x1590e4[_0x2e9ff1(0x3af)],_0xb649ba=Hn();return _0xb649ba&&_0x4b110c[_0x2e9ff1(0x375)](_0x2e9ff1(0x1f9),_0xb649ba),_0x6ac59c(_0x1590e4);}});}};at=Fn([jn(0x0,_0xd9eea8(_0x3e703e))],at);var Vn=Object[_0x57ebea(0x1a9)],Gn=(_0x249c3,_0x1d8584,_0x12e93e,_0x154baf)=>{var _0x540793=_0x57ebea;for(var _0x274d49=_0x154baf>0x1?void 0x0:_0x154baf?Vn(_0x1d8584,_0x12e93e):_0x1d8584,_0x276497=_0x249c3[_0x540793(0x291)]-0x1,_0x560a61;_0x276497>=0x0;_0x276497--)(_0x560a61=_0x249c3[_0x276497])&&(_0x274d49=_0x560a61(_0x274d49)||_0x274d49);return _0x274d49;},vt=(_0x236c20,_0x336a81)=>(_0x59e54e,_0x12c088)=>_0x336a81(_0x59e54e,_0x12c088,_0x236c20);let Ot=class extends _0xdd442f{constructor(_0x118837,_0x4b4e46,_0x19766d){var _0x498cae=_0x57ebea;super(),D(this,_0x498cae(0x302),new _0x4e139f(null)),D(this,_0x498cae(0x364),this[_0x498cae(0x302)][_0x498cae(0x2c5)]()),(this['_logService']=_0x118837,this[_0x498cae(0x2a5)]=_0x4b4e46,this[_0x498cae(0x2d6)]=_0x19766d);}async['loadUnitOfRevision'](_0xac05c7,_0x15e362,_0x1e848d){var _0x3d808b=_0x57ebea;this[_0x3d808b(0x302)][_0x3d808b(0x372)]({'unitId':_0xac05c7,'type':_0x15e362});let _0x1fee93=null;switch(_0x15e362){case Q[_0x3d808b(0x382)]:{_0x1fee93=await this[_0x3d808b(0x2a5)]['loadSheet'](_0xac05c7,_0x1e848d);break;}case Q[_0x3d808b(0x234)]:{_0x1fee93=await this[_0x3d808b(0x2a5)][_0x3d808b(0x2ad)](_0xac05c7,_0x1e848d);break;}default:{this[_0x3d808b(0x3cc)][_0x3d808b(0x379)](_0x3d808b(0x31f),_0x3d808b(0x16f));break;}}return _0x1fee93;}async[_0x57ebea(0x19a)](_0x59f3cf,_0xec4b4f,_0x3ec7c8){var _0x241e9a=_0x57ebea,_0x61bb55;this[_0x241e9a(0x302)]['next']({'unitId':_0x59f3cf,'type':_0xec4b4f,'subUnitId':_0x3ec7c8});let _0x12e832=0x0;const _0x175d88=await((_0x61bb55=this['_localCacheService'])==null?void 0x0:_0x61bb55[_0x241e9a(0x184)](_0x59f3cf));return _0x175d88&&(_0x175d88['awaitingChangeset']||_0x175d88[_0x241e9a(0x15d)][_0x241e9a(0x291)]!==0x0)&&(_0x12e832=_0x175d88['rev']),_0x12e832===0x0&&this[_0x241e9a(0x3cc)][_0x241e9a(0x3b7)](_0x241e9a(0x31f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x241e9a(0x343)](_0x59f3cf,_0xec4b4f,_0x12e832);}};Ot=Gn([vt(0x0,_0x395070),vt(0x1,_0xd9eea8(_0x555d9)),vt(0x2,_0x4761ab(X))],Ot);var Wn=Object[_0x57ebea(0x1a9)],Yn=(_0x22ae43,_0x322983,_0x5499b3,_0x47d732)=>{var _0x2deb75=_0x57ebea;for(var _0x7cbb2b=_0x47d732>0x1?void 0x0:_0x47d732?Wn(_0x322983,_0x5499b3):_0x322983,_0x3f5e8e=_0x22ae43[_0x2deb75(0x291)]-0x1,_0x22f5d9;_0x3f5e8e>=0x0;_0x3f5e8e--)(_0x22f5d9=_0x22ae43[_0x3f5e8e])&&(_0x7cbb2b=_0x22f5d9(_0x7cbb2b)||_0x7cbb2b);return _0x7cbb2b;},Et=(_0x235589,_0x48310c)=>(_0x3e5c1b,_0x566c61)=>_0x48310c(_0x3e5c1b,_0x566c61,_0x235589);const Kn=['image/png',_0x57ebea(0x393),_0x57ebea(0x3fc),_0x57ebea(0x23b),'image/bmp'],qn=0x5*0x400*0x400,zn=_0x57ebea(0x3b4),Xn=_0x57ebea(0x221);let Rt=class{constructor(_0x11649,_0x5144b1,_0x1a5de6){var _0x45ff08=_0x57ebea;D(this,_0x45ff08(0x238),0x0),D(this,_0x45ff08(0x2f2),new _0x244912()),D(this,'change$',this['_change$']),D(this,_0x45ff08(0x37d),new Map()),(this[_0x45ff08(0x320)]=_0x11649,this[_0x45ff08(0x25c)]=_0x5144b1,this[_0x45ff08(0x26b)]=_0x1a5de6);}[_0x57ebea(0x374)](_0x407d20){var _0x2524c2=_0x57ebea;this['_waitCount']=_0x407d20,this[_0x2524c2(0x2f2)][_0x2524c2(0x372)](_0x407d20);}[_0x57ebea(0x28c)](_0x474f3c,_0x4a4812){var _0x327410=_0x57ebea;if(_0x4a4812===_0x274230['BASE64']){const _0x4cce68=new Image();return _0x4cce68[_0x327410(0x412)]=_0x474f3c,_0x4cce68;}return this[_0x327410(0x37d)][_0x327410(0x19b)](_0x474f3c);}[_0x57ebea(0x2b0)](_0x93124a,_0x4b07e8,_0xc7c5ba){var _0x46ad0d=_0x57ebea;_0x4b07e8===_0x274230[_0x46ad0d(0x1f3)]||_0xc7c5ba==null||this[_0x46ad0d(0x37d)]['set'](_0x93124a,_0xc7c5ba);}async[_0x57ebea(0x1a6)](_0x44e8bc){var _0x46e80b=_0x57ebea;try{const _0x2db724=this[_0x46e80b(0x1db)](this[_0x46e80b(0x3ec)](),''+_0x44e8bc),_0x403611=(await this['_httpService'][_0x46e80b(0x19b)](_0x2db724))[_0x46e80b(0x390)];if(_0x403611[_0x46e80b(0x379)]&&_0x403611[_0x46e80b(0x379)]['code']===vi['OK']){const _0x26e04e=_0x45cc0e(_0x403611[_0x46e80b(0x2d5)],this[_0x46e80b(0x347)]());return Promise[_0x46e80b(0x245)](_0x26e04e);}return Promise[_0x46e80b(0x27e)](_0x403611[_0x46e80b(0x379)]);}catch(_0x1f2903){return Promise['reject'](_0x1f2903);}}async['saveImage'](_0x1575a5){var _0x5b8610=_0x57ebea;let _0x2dab81='';if(!Kn[_0x5b8610(0x2d9)](_0x1575a5[_0x5b8610(0x286)]))return this['_decreaseWaiting'](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x15c)]));if(_0x1575a5['size']>qn)return this[_0x5b8610(0x13e)](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x154)]));try{const _0x10d7af=new FormData();_0x10d7af[_0x5b8610(0x308)](_0x5b8610(0x3cd),_0x1575a5);const _0x53343e=this[_0x5b8610(0x26b)][_0x5b8610(0x3d7)](),_0x5a3e51=_0x53343e==null?void 0x0:_0x53343e['getUnitId']();if(!_0x5a3e51)throw new Error(_0x5b8610(0x335));const _0x409b92=this[_0x5b8610(0x3f2)]()+_0x5b8610(0x23f)+_0x1575a5[_0x5b8610(0x2ba)][_0x5b8610(0x40f)]()+'&source='+Ei['UnitEmbedded']+_0x5b8610(0x30e)+encodeURIComponent(_0x5a3e51),_0x397dd0={'body':_0x10d7af},_0x336132=(await this[_0x5b8610(0x320)][_0x5b8610(0x214)](_0x409b92,_0x397dd0))[_0x5b8610(0x390)];if(typeof _0x336132[_0x5b8610(0x313)]!=_0x5b8610(0x270))return this['_decreaseWaiting'](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x1a3)]));_0x2dab81=_0x336132[_0x5b8610(0x313)];}catch{return this[_0x5b8610(0x13e)](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x1a3)]));}return new Promise((_0x251c7e,_0x18df75)=>{var _0x1e0c44=_0x5b8610;const _0x32fbdf=new FileReader();_0x32fbdf['readAsDataURL'](_0x1575a5),_0x32fbdf[_0x1e0c44(0x35e)]=_0x47e2c0=>{var _0x258334=_0x1e0c44,_0x153d35;const _0x25b8ff=(_0x153d35=_0x47e2c0[_0x258334(0x350)])==null?void 0x0:_0x153d35[_0x258334(0x3ac)];if(_0x25b8ff==null){this[_0x258334(0x13e)](),_0x18df75(new Error(_0x4481fb[_0x258334(0x1a3)]));return;}const _0x2776b4=_0x36b9dc(0x6);_0x251c7e({'imageId':_0x2776b4,'imageSourceType':_0x274230[_0x258334(0x42c)],'source':_0x2dab81,'base64Cache':_0x25b8ff,'status':_0x4481fb[_0x258334(0x395)]}),this['_decreaseWaiting']();};});}[_0x57ebea(0x3f2)](){var _0x31c398=_0x57ebea,_0x216deb;const _0x207bf0=this[_0x31c398(0x25c)][_0x31c398(0x1f4)](K);return(_0x216deb=_0x207bf0==null?void 0x0:_0x207bf0[_0x31c398(0x296)])!=null?_0x216deb:zn;}[_0x57ebea(0x3ec)](){var _0x5856be=_0x57ebea,_0x247307;const _0x2c5a5f=this[_0x5856be(0x25c)][_0x5856be(0x1f4)](K);return(_0x247307=_0x2c5a5f==null?void 0x0:_0x2c5a5f[_0x5856be(0x1ee)])!=null?_0x247307:Xn;}[_0x57ebea(0x347)](){var _0x437f2b=_0x57ebea,_0x4e1b1a;const _0x1f8202=this[_0x437f2b(0x25c)][_0x437f2b(0x1f4)](K);return(_0x4e1b1a=_0x1f8202==null?void 0x0:_0x1f8202[_0x437f2b(0x43b)])!=null?_0x4e1b1a:location[_0x437f2b(0x39b)];}[_0x57ebea(0x1db)](_0x4fd06a,_0x1ea389){var _0x5d91da=_0x57ebea;return _0x4fd06a[_0x5d91da(0x458)](_0x5d91da(0x1b1),_0x1ea389);}[_0x57ebea(0x13e)](){var _0xeda6af=_0x57ebea;this[_0xeda6af(0x238)]-=0x1,this[_0xeda6af(0x2f2)][_0xeda6af(0x372)](this['_waitCount']);}};Rt=Yn([Et(0x0,_0xd9eea8(_0x3e703e)),Et(0x1,_0x218bfc),Et(0x2,_0xd9eea8(_0xde0007))],Rt);var Jn=Object[_0x57ebea(0x1a9)],Zn=(_0x583cab,_0x5e8644,_0x1f620b,_0x2d07fe)=>{var _0x5ce691=_0x57ebea;for(var _0xcd4a9a=_0x2d07fe>0x1?void 0x0:_0x2d07fe?Jn(_0x5e8644,_0x1f620b):_0x5e8644,_0x43283e=_0x583cab[_0x5ce691(0x291)]-0x1,_0x56a3cc;_0x43283e>=0x0;_0x43283e--)(_0x56a3cc=_0x583cab[_0x43283e])&&(_0xcd4a9a=_0x56a3cc(_0xcd4a9a)||_0xcd4a9a);return _0xcd4a9a;},ri=(_0x119a51,_0x320b48)=>(_0x5447bb,_0xf7a8da)=>_0x320b48(_0x5447bb,_0xf7a8da,_0x119a51);const Qn=_0x57ebea(0x31d);let Nt=class{constructor(_0x56180b,_0x4974b7){var _0x16d233=_0x57ebea;this['_configService']=_0x56180b,this[_0x16d233(0x3e4)]=_0x4974b7;}[_0x57ebea(0x2c2)](){var _0x259204=_0x57ebea,_0x2d8941;const _0x1a0bac=this[_0x259204(0x25c)]['getConfig'](K);return(_0x2d8941=_0x1a0bac==null?void 0x0:_0x1a0bac['authzUrl'])!=null?_0x2d8941:Qn;}async[_0x57ebea(0x1a5)](_0x164505){var _0x354dba=_0x57ebea;const _0x40bb75=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x354dba(0x1ea),'mentions':(await this[_0x354dba(0x3e4)][_0x354dba(0x19b)](_0x40bb75,{'params':{'objectID':_0x164505[_0x354dba(0x1f2)],'unitID':_0x164505[_0x354dba(0x1f2)]}}))['body'][_0x354dba(0x28d)][_0x354dba(0x32d)](_0x993b1e=>({'objectId':_0x993b1e['id'],'name':_0x993b1e[_0x354dba(0x2e9)]['name'],'metadata':{'icon':_0x993b1e[_0x354dba(0x2e9)][_0x354dba(0x2fc)]},'label':_0x993b1e['subject']['name'],'objectType':_0x504adb[_0x354dba(0x32b)]})),'metadata':{},'type':_0x504adb['PERSON']}]};}};Nt=Zn([ri(0x0,_0xd9eea8(_0x218bfc)),ri(0x1,_0xd9eea8(_0x3e703e))],Nt);var er=Object[_0x57ebea(0x1a9)],tr=(_0x41cdda,_0x48370c,_0x1b90b6,_0x365077)=>{for(var _0x2e3b06=_0x365077>0x1?void 0x0:_0x365077?er(_0x48370c,_0x1b90b6):_0x48370c,_0x40d2c4=_0x41cdda['length']-0x1,_0x472f5f;_0x40d2c4>=0x0;_0x40d2c4--)(_0x472f5f=_0x41cdda[_0x40d2c4])&&(_0x2e3b06=_0x472f5f(_0x2e3b06)||_0x2e3b06);return _0x2e3b06;},Ue=(_0x3170a6,_0x465f9b)=>(_0x161dcc,_0xc1cac3)=>_0x465f9b(_0x161dcc,_0xc1cac3,_0x3170a6);let ot=class extends _0xdd442f{constructor(_0x310919,_0x404cbf,_0x422e71,_0x301c5f,_0xed5fce){var _0x258d6c=_0x57ebea;super(),this[_0x258d6c(0x30c)]=_0x310919,this['_univerInstanceService']=_0x404cbf,this[_0x258d6c(0x446)]=_0x422e71,this[_0x258d6c(0x2f3)]=_0x301c5f,this[_0x258d6c(0x150)]=_0xed5fce,this[_0x258d6c(0x431)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x6d397d=_0x57ebea;const _0x4917ee=async _0x3d91a5=>{var _0x2c13c9=_0x5a33;(await this[_0x2c13c9(0x2f3)][_0x2c13c9(0x3b1)](_0x3d91a5))[_0x2c13c9(0x3a4)][_0x2c13c9(0x165)](_0x39a069(_0x4044d5=>_0x4044d5[_0x2c13c9(0x34b)]===_0x427891['SHOULD_CLOSE_CONN']),_0x1a3065(this[_0x2c13c9(0x1c5)]))[_0x2c13c9(0x3dc)](_0x2f0bd4=>{var _0x52386a=_0x2c13c9;const _0x2f35e4=_0x2f0bd4,{reason:_0x589a30}=_0x2f35e4[_0x52386a(0x455)];this['_collaborationUIEventService'][_0x52386a(0x37b)]({'id':re[_0x52386a(0x35c)],'data':_0x589a30}),this[_0x52386a(0x446)]['updatePermissionPoint'](new _0x108f1a(_0x3d91a5)['id'],!0x1),this[_0x52386a(0x2f3)][_0x52386a(0x35b)](_0x3d91a5);});};_0xad8c79(this[_0x6d397d(0x26b)][_0x6d397d(0x255)](_0x3d0f32['UNIVER_SHEET']),this[_0x6d397d(0x26b)][_0x6d397d(0x255)](_0x3d0f32['UNIVER_DOC']))['pipe'](_0xd5a8e5(_0x12a64d=>_0x12a64d[_0x6d397d(0x1c3)]()),_0x39a069(_0x458fbe=>!_0x30a55c(_0x458fbe)),_0x1a3065(this[_0x6d397d(0x1c5)]))['subscribe'](_0x340ba1=>{_0x4917ee(_0x340ba1);});}[_0x57ebea(0x431)](){var _0x5c994a=_0x57ebea;const _0x178394=async _0x36fbf2=>{var _0x1d046d=_0x5a33;const _0x4cc8d4=await this['_collaborationSessionService'][_0x1d046d(0x3b1)](_0x36fbf2),_0x68dbd0=this[_0x1d046d(0x30c)][_0x1d046d(0x19b)](_0x47e6b5);_0x4cc8d4['event$'][_0x1d046d(0x165)](_0x39a069(_0x19990b=>_0x19990b[_0x1d046d(0x34b)]===_0x427891[_0x1d046d(0x451)]),_0x1a3065(this[_0x1d046d(0x1c5)]))[_0x1d046d(0x3dc)](_0x47fe72=>{var _0x1e9061=_0x1d046d;const _0x17dd9a=_0x47fe72,{objectId:_0x3e9b25}=_0x17dd9a[_0x1e9061(0x455)];_0x3e9b25===_0x36fbf2?_0x68dbd0[_0x1e9061(0x149)](_0x36fbf2):_0x68dbd0[_0x1e9061(0x427)](_0x36fbf2,_0x3e9b25);});};_0xad8c79(this[_0x5c994a(0x26b)][_0x5c994a(0x255)](_0x3d0f32[_0x5c994a(0x382)]))[_0x5c994a(0x165)](_0xd5a8e5(_0x968ecc=>_0x968ecc[_0x5c994a(0x1c3)]()),_0x39a069(_0x23b910=>!_0x30a55c(_0x23b910)),_0x1a3065(this[_0x5c994a(0x1c5)]))['subscribe'](_0x220f3c=>{_0x178394(_0x220f3c);});}};ot=tr([Ue(0x0,_0xd9eea8(_0xa5b871)),Ue(0x1,_0xde0007),Ue(0x2,_0x54b0d9),Ue(0x3,_0xd9eea8(we)),Ue(0x4,_0xd9eea8(ve))],ot);var ir=Object[_0x57ebea(0x1a9)],sr=(_0x461563,_0x434ede,_0x122583,_0x3a9fa4)=>{for(var _0x1b4df6=_0x3a9fa4>0x1?void 0x0:_0x3a9fa4?ir(_0x434ede,_0x122583):_0x434ede,_0xb788c3=_0x461563['length']-0x1,_0x39c85e;_0xb788c3>=0x0;_0xb788c3--)(_0x39c85e=_0x461563[_0xb788c3])&&(_0x1b4df6=_0x39c85e(_0x1b4df6)||_0x1b4df6);return _0x1b4df6;},ai=(_0x7ebee0,_0x335c26)=>(_0x372a36,_0x4e9f88)=>_0x335c26(_0x372a36,_0x4e9f88,_0x7ebee0);let Ct=class{constructor(_0x469946,_0x10cdc6){var _0x4ec319=_0x57ebea;this[_0x4ec319(0x25c)]=_0x469946,this[_0x4ec319(0x320)]=_0x10cdc6;}async[_0x57ebea(0x215)](_0x43e049,_0x3f1457){var _0x3708f5=_0x57ebea,_0x35ef31;const {unitID:_0x1049a7,type:_0x1e232c,revision:_0xde824b=0x0}=_0x3f1457,_0x45a627=this['getSnapshotAPIPath']()+'/'+_0x1e232c+_0x3708f5(0x143)+_0x1049a7+_0x3708f5(0x434)+_0xde824b,_0x510eca=(await this[_0x3708f5(0x320)][_0x3708f5(0x19b)](_0x45a627))['body'],_0x323825=(_0x35ef31=_0x510eca[_0x3708f5(0x275)])==null?void 0x0:_0x35ef31[_0x3708f5(0x2ca)];if(_0x323825){const _0xa9c586=_0x323825==null?void 0x0:_0x323825[_0x3708f5(0x1b4)],_0x54b14a=_0x5c83c7[_0x3708f5(0x1af)](_0x5a4419(_0xa9c586));_0x323825[_0x3708f5(0x1b4)]=_0x54b14a,Object[_0x3708f5(0x1cc)](_0x323825[_0x3708f5(0x33b)])[_0x3708f5(0x352)](([,_0x1bc18c])=>{var _0x3a6beb=_0x3708f5;const _0x399507=_0x1bc18c[_0x3a6beb(0x1b4)],_0xf9a768=_0x5c83c7['encode'](_0x5a4419(_0x399507));_0x1bc18c[_0x3a6beb(0x1b4)]=_0xf9a768;});}return _0x510eca;}async[_0x57ebea(0x389)](_0x4a74ba,_0x2d9c68){var _0x1f0fba=_0x57ebea;const {unitID:_0xac406f,type:_0x1a198b,blockID:_0xfb9c96}=_0x2d9c68,_0x391155=this[_0x1f0fba(0x23c)]()+'/'+_0x1a198b+_0x1f0fba(0x143)+_0xac406f+_0x1f0fba(0x35f)+_0xfb9c96;return(await this[_0x1f0fba(0x320)][_0x1f0fba(0x19b)](_0x391155))[_0x1f0fba(0x390)];}async[_0x57ebea(0x2c3)](_0x25a598,_0x5ad786){var _0xb2b1f6=_0x57ebea;const {unitID:_0x3f9a51,type:_0xf65e23,blockID:_0xa5e71e}=_0x5ad786,_0x3624ac=this[_0xb2b1f6(0x23c)]()+'/block/'+_0xf65e23+_0xb2b1f6(0x143)+_0x3f9a51+_0xb2b1f6(0x35f)+_0xa5e71e;return(await this['_httpService'][_0xb2b1f6(0x19b)](_0x3624ac))[_0xb2b1f6(0x390)];}async[_0x57ebea(0x2e1)](_0x28af6b,_0x402d68){var _0x2ed061=_0x57ebea;const {unitID:_0x4f7dda,type:_0x40f3c0,from:_0xdf88b9,to:_0x323fe0}=_0x402d68,_0x25044c=this[_0x2ed061(0x23c)]()+'/'+_0x40f3c0+_0x2ed061(0x143)+_0x4f7dda+_0x2ed061(0x21a)+_0xdf88b9+_0x2ed061(0x2bc)+_0x323fe0;return(await this[_0x2ed061(0x320)][_0x2ed061(0x19b)](_0x25044c))[_0x2ed061(0x390)];}[_0x57ebea(0x15e)](){var _0x3a7342=_0x57ebea,_0x306457;return(_0x306457=this[_0x3a7342(0x25c)]['getConfig'](ps))!=null?_0x306457:this[_0x3a7342(0x23c)]();}[_0x57ebea(0x23c)](){var _0x11f8d9=_0x57ebea,_0x1b368a;const _0x1afd72=this['_configService'][_0x11f8d9(0x1f4)](K);return(_0x1b368a=_0x1afd72==null?void 0x0:_0x1afd72[_0x11f8d9(0x19d)])!=null?_0x1b368a:Es;}async[_0x57ebea(0x429)](_0x2d6c14,_0x5254e2){var _0x37b424=_0x57ebea;const _0x3f8082='/universer-api/snapshot/'+_0x5254e2[_0x37b424(0x286)]+'/unit/'+_0x5254e2[_0x37b424(0x1fb)]+_0x37b424(0x3e7);return(await this[_0x37b424(0x320)][_0x37b424(0x19b)](_0x3f8082,{'params':{'resourceId':JSON[_0x37b424(0x3fb)](_0x5254e2['resourceIDs'])}}))[_0x37b424(0x390)];}[_0x57ebea(0x268)](){var _0x2253df=_0x57ebea;throw new Error(_0x2253df(0x14a));}[_0x57ebea(0x294)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x57ebea(0x2fe)](){var _0x3726ca=_0x57ebea;throw new Error(_0x3726ca(0x14a));}[_0x57ebea(0x2ea)](){var _0x5a3717=_0x57ebea;throw new Error(_0x5a3717(0x14a));}[_0x57ebea(0x38e)](){var _0x18dab4=_0x57ebea;throw new Error(_0x18dab4(0x14a));}[_0x57ebea(0x198)](){var _0x5018d0=_0x57ebea;throw new Error(_0x5018d0(0x14a));}};Ct=sr([ai(0x0,_0x218bfc),ai(0x1,_0xd9eea8(_0x3e703e))],Ct);var nr=Object[_0x57ebea(0x1a9)],rr=(_0x78e358,_0x793a69,_0x185363,_0x21b1b)=>{var _0x42b22c=_0x57ebea;for(var _0x54f16b=_0x21b1b>0x1?void 0x0:_0x21b1b?nr(_0x793a69,_0x185363):_0x793a69,_0x228f21=_0x78e358[_0x42b22c(0x291)]-0x1,_0x51cf2d;_0x228f21>=0x0;_0x228f21--)(_0x51cf2d=_0x78e358[_0x228f21])&&(_0x54f16b=_0x51cf2d(_0x54f16b)||_0x54f16b);return _0x54f16b;},Ae=(_0x34cb86,_0x417ef2)=>(_0x449789,_0x4ba9c3)=>_0x417ef2(_0x449789,_0x4ba9c3,_0x34cb86);let bt=class extends _0x5c6473{constructor(_0x842fa6,_0x59d244,_0x2cf195,_0x323769,_0xdcb044){var _0x507ed4=_0x57ebea;super(_0x842fa6,_0x59d244,_0x2cf195),this[_0x507ed4(0x13b)]=_0x323769,this[_0x507ed4(0x3cc)]=_0xdcb044;}[_0x57ebea(0x346)](_0x125b37,_0x1bdc3e){var _0x5ce389=_0x57ebea;const _0xda2a85=this[_0x5ce389(0x3b2)](_0x125b37);if(_0xda2a85)try{const _0x4d4904=this[_0x5ce389(0x141)](_0xda2a85,_0x1bdc3e);this['_substituteUndoStack'](_0x125b37,_0x4d4904);}catch(_0x2f3d7a){this[_0x5ce389(0x3cc)][_0x5ce389(0x379)]('[CollaborationUndoRedoService]',_0x2f3d7a),this['_clearUndo'](_0x125b37);}const _0x25e448=this['_getRedoStack'](_0x125b37);if(_0x25e448)try{const _0x288730=this[_0x5ce389(0x141)](_0x25e448,_0x1bdc3e);this[_0x5ce389(0x26a)](_0x125b37,_0x288730);}catch(_0x2bb899){this[_0x5ce389(0x3cc)][_0x5ce389(0x379)](_0x2bb899),this['_clearRedo'](_0x125b37);}}['_clearUndo'](_0x44cbc0){var _0x7d169=_0x57ebea;const _0x39b0f7=this['_getUndoStack'](_0x44cbc0);_0x39b0f7&&(_0x39b0f7[_0x7d169(0x291)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x4f3f09){var _0x4bcc88=_0x57ebea;const _0x45bcb3=this[_0x4bcc88(0x2ff)](_0x4f3f09);_0x45bcb3&&(_0x45bcb3['length']=0x0,this['_updateStatus']());}[_0x57ebea(0x454)](_0x534c2e,_0x1c9ab4){var _0x32e267=_0x57ebea;this['_undoStacks']['set'](_0x534c2e,_0x1c9ab4),this[_0x32e267(0x44d)]();}[_0x57ebea(0x26a)](_0x4f7f07,_0xd39fab){var _0x34c3f2=_0x57ebea;this['_redoStacks'][_0x34c3f2(0x375)](_0x4f7f07,_0xd39fab),this['_updateStatus']();}[_0x57ebea(0x141)](_0x4da367,_0x6940){var _0x586985=_0x57ebea;const _0x4a7fd9=[];let _0x3d3805=_0x6940,_0x2888ae=_0x6940;for(let _0x1308db=_0x4da367[_0x586985(0x291)]-0x1;_0x1308db>=0x0;_0x1308db--){const {unitID:_0xa5dc2c,undoMutations:_0x255084,redoMutations:_0xeabcfd}=_0x4da367[_0x1308db],_0x371c93=this[_0x586985(0x13b)][_0x586985(0x342)](_0x3d3805,_0x255084),_0x307d6d=this[_0x586985(0x13b)]['transformMutationsWithChangeset'](_0x2888ae,_0xeabcfd);if(_0x24fa3a(_0x371c93)||_0x24fa3a(_0x307d6d)){this[_0x586985(0x3cc)][_0x586985(0x379)](_0x586985(0x157),_0x586985(0x31e),_0x371c93,_0x307d6d);break;}_0x3d3805=_0x371c93[_0x586985(0x32c)],_0x2888ae=_0x307d6d[_0x586985(0x32c)],_0x4a7fd9[_0x586985(0x37e)]({'unitID':_0xa5dc2c,'undoMutations':_0x371c93[_0x586985(0x162)],'redoMutations':_0x307d6d[_0x586985(0x162)]});}return _0x4a7fd9[_0x586985(0x1f1)]();}};bt=rr([Ae(0x0,_0xde0007),Ae(0x1,_0x146b0f),Ae(0x2,_0x8c9c87),Ae(0x3,_0x411c6c),Ae(0x4,_0x395070)],bt);var ar=Object[_0x57ebea(0x1da)],or=Object[_0x57ebea(0x1a9)],cr=(_0x212ad1,_0x1edf51,_0x264e90)=>_0x1edf51 in _0x212ad1?ar(_0x212ad1,_0x1edf51,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x264e90}):_0x212ad1[_0x1edf51]=_0x264e90,_r=(_0x5419ce,_0x4071c2,_0x54a48b,_0x3b54b1)=>{var _0x1f4700=_0x57ebea;for(var _0x3f3aa9=_0x3b54b1>0x1?void 0x0:_0x3b54b1?or(_0x4071c2,_0x54a48b):_0x4071c2,_0x364ad7=_0x5419ce[_0x1f4700(0x291)]-0x1,_0x58c02e;_0x364ad7>=0x0;_0x364ad7--)(_0x58c02e=_0x5419ce[_0x364ad7])&&(_0x3f3aa9=_0x58c02e(_0x3f3aa9)||_0x3f3aa9);return _0x3f3aa9;},pt=(_0x30d62b,_0x472e5b)=>(_0x4f8fbd,_0x221c45)=>_0x472e5b(_0x4f8fbd,_0x221c45,_0x30d62b),hr=(_0x517526,_0x2e40bd,_0x32f6fe)=>cr(_0x517526,_0x2e40bd+'',_0x32f6fe);const lr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x24dda5{constructor(_0x1db85a,_0x3ad2c1,_0x3e4446,_0x39018a){var _0x1cdf1d=_0x57ebea;super(),D(this,_0x1cdf1d(0x144)),(this[_0x1cdf1d(0x3cc)]=_0x3ad2c1,this[_0x1cdf1d(0x30c)]=_0x3e4446,this[_0x1cdf1d(0x25c)]=_0x39018a);const {..._0x275661}=_0x18d54f({},ks,_0x1db85a);if(!_0x275661[_0x1cdf1d(0x326)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x1cdf1d(0x144)]=_0x275661,this[_0x1cdf1d(0x25c)][_0x1cdf1d(0x222)](K,_0x275661);}[_0x57ebea(0x332)](){var _0x5ed49c=_0x57ebea;this[_0x5ed49c(0x202)](),this[_0x5ed49c(0x333)]();}[_0x57ebea(0x202)](){var _0x631089=_0x57ebea,_0x4d00cf,_0x291468;this[_0x631089(0x30c)][_0x631089(0x280)](_0x3d9a42)&&this[_0x631089(0x3cc)][_0x631089(0x379)](_0x631089(0x32e),_0x631089(0x359));const _0xb5060d=_0x32dfe5([[_0x3d9a42,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this['_config'][_0x631089(0x326)]}],[_0x4d28e8,{'useClass':Ct}],[_0x2df7f1,{'useClass':Tt}],[_0x33f95c,{'useClass':Rt}],[_0x17c0ae,{'useClass':Nt}],[nt],[gt]],(_0x4d00cf=this[_0x631089(0x144)])==null?void 0x0:_0x4d00cf[_0x631089(0x1a7)]);if(!((_0x291468=this[_0x631089(0x144)])!=null&&_0x291468[_0x631089(0x203)])){const _0x1875a1=_0xb5060d['findIndex'](([_0x39fd1d])=>_0x39fd1d===_t);_0x1875a1!==-0x1&&_0xb5060d[_0x631089(0x22f)](_0x1875a1,0x1);}_0x2d70a4(this[_0x631089(0x30c)],_0xb5060d);}[_0x57ebea(0x333)](){var _0x342df3=_0x57ebea,_0x34612f,_0x2a05f7,_0x38ab8e;this[_0x342df3(0x30c)][_0x342df3(0x19b)](_0x3e703e)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x55867b({'maxParallel':0x6})}),(_0x34612f=this['_config'])!=null&&_0x34612f[_0x342df3(0x292)]||(_0x2a05f7=this[_0x342df3(0x30c)][_0x342df3(0x19b)](X,_0x4e93f3[_0x342df3(0x1c9)]))==null||_0x2a05f7[_0x342df3(0x3ca)](),(_0x38ab8e=this[_0x342df3(0x144)])!=null&&_0x38ab8e[_0x342df3(0x1d7)]&&_0x3c0e82(this[_0x342df3(0x30c)],[[rt]]),_0x3c0e82(this[_0x342df3(0x30c)],[[at],[nt],[ot]]);}};hr(Dt,'pluginName',lr),Dt=_r([_0x4bd723(_0x53d603,_0x3d3879),pt(0x1,_0x395070),pt(0x2,_0xd9eea8(_0xa5b871)),pt(0x3,_0x218bfc)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};
1
+ var _0xff6382=_0x3f92;(function(_0x344033,_0x59598e){var _0xf57bae=_0x3f92,_0x5e18bd=_0x344033();while(!![]){try{var _0x1b3604=parseInt(_0xf57bae(0x1fe))/0x1*(-parseInt(_0xf57bae(0x25f))/0x2)+parseInt(_0xf57bae(0x200))/0x3+-parseInt(_0xf57bae(0x2c8))/0x4+-parseInt(_0xf57bae(0x1b0))/0x5+-parseInt(_0xf57bae(0x350))/0x6+parseInt(_0xf57bae(0x168))/0x7+parseInt(_0xf57bae(0x3e9))/0x8;if(_0x1b3604===_0x59598e)break;else _0x5e18bd['push'](_0x5e18bd['shift']());}catch(_0x2a42d9){_0x5e18bd['push'](_0x5e18bd['shift']());}}}(_0x433b,0xcd0d6));var Di=Object[_0xff6382(0x29c)],yi=(_0x5ee2e1,_0x5b4ea7,_0xf30098)=>_0x5b4ea7 in _0x5ee2e1?Di(_0x5ee2e1,_0x5b4ea7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf30098}):_0x5ee2e1[_0x5b4ea7]=_0xf30098,D=(_0x13e44a,_0x2ce9cd,_0x611377)=>yi(_0x13e44a,typeof _0x2ce9cd!=_0xff6382(0x203)?_0x2ce9cd+'':_0x2ce9cd,_0x611377);import{CollaborationEvent as _0x5561ca,ITransformService as _0x3a8ddb,isTransformMutationsWithChangesetSuccess as _0x2662f6,mapDocumentTypeToUniverType as _0xb7c9ee,RevisionService as _0x2ccc8a,isTransformChangesetsSuccess as _0x195351,EmptyMutationInfo as _0x429250,CompressMutationService as _0x23f8ca,parseProtocolChangeset as _0x4e5b30,uuidv4 as _0xb01c14,ISnapshotServerService as _0x3fcbd6,parseChangesetToProtocol as _0x52f624,SnapshotService as _0x540d25,textEncoder as _0x3ef249,b64DecodeUnicode as _0x4c051e,isTransformMutationsWithChangesetFailure as _0x499a6e,UniverCollaborationPlugin as _0x1308f4}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3c78cc,Inject as _0x26f1c4,UserManagerService as _0x5172db,Disposable as _0x4c3f97,UniverInstanceType as _0x20192f,ILogService as _0x4b39d4,IConfigService as _0x5839d5,Optional as _0x197a74,RxDisposable as _0x1734f1,createIdentifier as _0x5a6278,Injector as _0x479e14,Tools as _0x14105e,Rectangle as _0x18509b,ICommandService as _0x53c0da,JSONX as _0x449fd9,IUndoRedoService as _0x5c3c47,IPermissionService as _0x1ce666,LocaleService as _0x40557f,sequenceExecute as _0x2ac4ab,toDisposable as _0x5d435c,CommandType as _0x4d575a,DisposableCollection as _0x2ef222,Workbook as _0x4e7964,resolveWithBasePath as _0x40c488,generateRandomId as _0x1b1ec4,MentionType as _0x14821a,isInternalEditorID as _0x2e6ffc,LocalUndoRedoService as _0x4a3615,IContextService as _0x448142,DependentOn as _0x26838c,Plugin as _0xb12a35,merge as _0xbdf69,mergeOverrideWithDependencies as _0x4ff346,IAuthzIoService as _0x548229,IMentionIOService as _0x5c14d2,registerDependencies as _0x21d310,Quantity as _0x3512b0,touchDependencies as _0x40b693}from'@univerjs/core';import{RichTextEditingMutation as _0x4b2a2a}from'@univerjs/docs';import{SheetsSelectionsService as _0x41ad8b,SetSelectionsOperation as _0x10c6da,InsertSheetMutation as _0x53773d,WorkbookEditablePermission as _0x1dc0bf,SheetPermissionInitController as _0x3b4d81}from'@univerjs/sheets';import{Subject as _0x14e298,merge as _0x301fbe,of as _0x6da436,BehaviorSubject as _0x409cb3,takeUntil as _0x4f5e1f,ReplaySubject as _0x2cd411,take as _0x5c7bfd,map as _0x47a711,shareReplay as _0x49ca7f,firstValueFrom as _0x2c9db1,concatMap as _0x390195}from'rxjs';import{ITelemetryService as _0x2021c7}from'@univerjs/telemetry';import{map as _0x240bec,take as _0x25913a,filter as _0x5f2611,delay as _0x319d5e,takeUntil as _0x3160cb}from'rxjs/operators';import{HTTPService as _0x3b36ba,ISocketService as _0x450666,MergeInterceptorFactory as _0x259374,HTTPRequest as _0x535316,UniverNetworkPlugin as _0x3574a6,ThresholdInterceptorFactory as _0x3ada3d}from'@univerjs/network';import{ImageSourceType as _0x1fae8f,ImageUploadStatusType as _0x6d76aa,IImageIoService as _0x234c1a}from'@univerjs/drawing';import{getGlobalObject as _0x32e82d}from'@univerjs-pro/license';const Es='/universer-api/snapshot',ps=_0xff6382(0x189),ms=0x7d0,Is=_0xff6382(0x20f),Or=_0xff6382(0x2b3),Ss=_0xff6382(0x191),gs=0x7530,di=_0xff6382(0x351),fi=0x4e20,Ts=0x4e20,Os='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Rr=_0xff6382(0x249),Nr=0x3e8,Ns=_0xff6382(0x164),Cs=_0xff6382(0x3fd),Cr=_0xff6382(0x2c9),br=_0xff6382(0x241);var vi=(_0x3042a0=>(_0x3042a0[_0x3042a0[_0xff6382(0x2ba)]=0x0]=_0xff6382(0x2ba),_0x3042a0[_0x3042a0['OK']=0x1]='OK',_0x3042a0[_0x3042a0[_0xff6382(0xef)]=0x2]='INTERNAL_ERROR',_0x3042a0[_0x3042a0[_0xff6382(0x379)]=0x3]=_0xff6382(0x379),_0x3042a0[_0x3042a0[_0xff6382(0x24e)]=0x4]='NOT_FOUND',_0x3042a0[_0x3042a0['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3042a0[_0x3042a0[_0xff6382(0xfc)]=0x6]='ALREADY_EXISTS',_0x3042a0[_0x3042a0[_0xff6382(0x328)]=0x7]='INVALID_ARGUMENT',_0x3042a0[_0x3042a0[_0xff6382(0x363)]=0x8]='TOO_MANY_REQUESTS',_0x3042a0[_0x3042a0['COMPLETION_FINISHED']=0x9]=_0xff6382(0x23e),_0x3042a0[_0x3042a0[_0xff6382(0xeb)]=0xa]=_0xff6382(0xeb),_0x3042a0[_0x3042a0[_0xff6382(0x2db)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3042a0[_0x3042a0[_0xff6382(0x3c4)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3042a0[_0x3042a0[_0xff6382(0x382)]=0xd]=_0xff6382(0x382),_0x3042a0[_0x3042a0[_0xff6382(0x3c2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3042a0[_0x3042a0[_0xff6382(0x2a7)]=0xf]=_0xff6382(0x2a7),_0x3042a0[_0x3042a0[_0xff6382(0x1b7)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x3042a0[_0x3042a0[_0xff6382(0x236)]=0x64]=_0xff6382(0x236),_0x3042a0[_0x3042a0[_0xff6382(0x2dd)]=0x65]='ERROR_AGAIN',_0x3042a0[_0x3042a0[_0xff6382(0x188)]=0xc9]=_0xff6382(0x188),_0x3042a0[_0x3042a0[_0xff6382(0x282)]=0xca]=_0xff6382(0x282),_0x3042a0[_0x3042a0[_0xff6382(0x35d)]=0x1389]=_0xff6382(0x35d),_0x3042a0[_0x3042a0[_0xff6382(0x326)]=0x1771]=_0xff6382(0x326),_0x3042a0[_0x3042a0[_0xff6382(0x19b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3042a0[_0x3042a0[_0xff6382(0x398)]=0x1773]=_0xff6382(0x398),_0x3042a0[_0x3042a0[_0xff6382(0x1d3)]=0x1b59]=_0xff6382(0x1d3),_0x3042a0[_0x3042a0[_0xff6382(0x181)]=0x1b5a]=_0xff6382(0x181),_0x3042a0[_0x3042a0['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3042a0[_0x3042a0[_0xff6382(0x264)]=0x1b5c]=_0xff6382(0x264),_0x3042a0[_0x3042a0[_0xff6382(0x2fa)]=0x1b5d]=_0xff6382(0x2fa),_0x3042a0[_0x3042a0[_0xff6382(0x37c)]=0x1f41]=_0xff6382(0x37c),_0x3042a0[_0x3042a0[_0xff6382(0x2a9)]=0x2329]=_0xff6382(0x2a9),_0x3042a0[_0x3042a0[_0xff6382(0x2b4)]=0x232a]=_0xff6382(0x2b4),_0x3042a0[_0x3042a0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xff6382(0x21b),_0x3042a0[_0x3042a0[_0xff6382(0x210)]=0x232c]=_0xff6382(0x210),_0x3042a0[_0x3042a0['LICENSE_DISTRO_REJECTED']=0x232d]=_0xff6382(0x131),_0x3042a0[_0x3042a0[_0xff6382(0x258)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3042a0[_0x3042a0[_0xff6382(0x3ab)]=0x2712]=_0xff6382(0x3ab),_0x3042a0[_0x3042a0['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3042a0[_0x3042a0[_0xff6382(0x329)]=0x2714]=_0xff6382(0x329),_0x3042a0[_0x3042a0['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xff6382(0x2b0),_0x3042a0[_0x3042a0[_0xff6382(0x170)]=0x271b]=_0xff6382(0x170),_0x3042a0[_0x3042a0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xff6382(0x25c),_0x3042a0[_0x3042a0[_0xff6382(0x2af)]=0x271d]=_0xff6382(0x2af),_0x3042a0[_0x3042a0[_0xff6382(0x275)]=0x271e]=_0xff6382(0x275),_0x3042a0[_0x3042a0[_0xff6382(0x11d)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3042a0[_0x3042a0[_0xff6382(0x263)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3042a0[_0x3042a0[_0xff6382(0x3e7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3042a0[_0x3042a0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3042a0[_0x3042a0[_0xff6382(0x252)]=0x2ee2]=_0xff6382(0x252),_0x3042a0[_0x3042a0[_0xff6382(0x2d5)]=0x2ee3]=_0xff6382(0x2d5),_0x3042a0[_0x3042a0[_0xff6382(0x105)]=0x2ee4]=_0xff6382(0x105),_0x3042a0[_0x3042a0[_0xff6382(0x3d6)]=0x2ee5]=_0xff6382(0x3d6),_0x3042a0[_0x3042a0[_0xff6382(0x3d0)]=0x32c9]=_0xff6382(0x3d0),_0x3042a0[_0x3042a0[_0xff6382(0x1cc)]=0x32ca]=_0xff6382(0x1cc),_0x3042a0[_0x3042a0[_0xff6382(0x3d2)]=0x32cb]=_0xff6382(0x3d2),_0x3042a0[_0x3042a0[_0xff6382(0x137)]=0x36b1]=_0xff6382(0x137),_0x3042a0[_0x3042a0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xff6382(0x23c),_0x3042a0[_0x3042a0[_0xff6382(0x3d7)]=0x36b3]=_0xff6382(0x3d7),_0x3042a0[_0x3042a0[_0xff6382(0x238)]=0x36b4]=_0xff6382(0x238),_0x3042a0[_0x3042a0[_0xff6382(0x28b)]=0x36b5]=_0xff6382(0x28b),_0x3042a0[_0x3042a0['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0xff6382(0x11a),_0x3042a0[_0x3042a0[_0xff6382(0x24c)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x3042a0[_0x3042a0['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x3042a0[_0x3042a0['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0xff6382(0x309),_0x3042a0[_0x3042a0['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0xff6382(0x202),_0x3042a0[_0x3042a0[_0xff6382(0x17d)]=0x3717]=_0xff6382(0x17d),_0x3042a0[_0x3042a0['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0xff6382(0x285),_0x3042a0[_0x3042a0[_0xff6382(0x262)]=0x3a99]=_0xff6382(0x262),_0x3042a0[_0x3042a0[_0xff6382(0x37a)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x3042a0[_0x3042a0[_0xff6382(0x2ac)]=0x3a9b]=_0xff6382(0x2ac),_0x3042a0[_0x3042a0[_0xff6382(0x1bb)]=0x3a9c]=_0xff6382(0x1bb),_0x3042a0[_0x3042a0[_0xff6382(0x36b)]=0x3a9d]=_0xff6382(0x36b),_0x3042a0[_0x3042a0[_0xff6382(0x33d)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x3042a0[_0x3042a0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0xff6382(0x1b6),_0x3042a0[_0x3042a0['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0xff6382(0x1f0),_0x3042a0[_0x3042a0[_0xff6382(0xec)]=-0x1]=_0xff6382(0xec),_0x3042a0))(vi||{}),Q=(_0x19cce1=>(_0x19cce1[_0x19cce1[_0xff6382(0x2e7)]=0x0]=_0xff6382(0x2e7),_0x19cce1[_0x19cce1['UNIVER_DOC']=0x1]=_0xff6382(0x1c6),_0x19cce1[_0x19cce1['UNIVER_SHEET']=0x2]=_0xff6382(0xf5),_0x19cce1[_0x19cce1[_0xff6382(0x24f)]=0x3]=_0xff6382(0x24f),_0x19cce1[_0x19cce1['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x19cce1[_0x19cce1[_0xff6382(0xec)]=-0x1]='UNRECOGNIZED',_0x19cce1))(Q||{}),j=(_0xee6c27=>(_0xee6c27[_0xee6c27[_0xff6382(0x278)]=0x0]=_0xff6382(0x278),_0xee6c27[_0xee6c27[_0xff6382(0x17c)]=0x1]='HELLO',_0xee6c27[_0xee6c27[_0xff6382(0x20e)]=0x2]=_0xff6382(0x20e),_0xee6c27[_0xee6c27['LEAVE']=0x3]='LEAVE',_0xee6c27[_0xee6c27[_0xff6382(0x2f7)]=0x4]=_0xff6382(0x2f7),_0xee6c27[_0xee6c27['HEARTBEAT']=0x5]=_0xff6382(0x3fe),_0xee6c27[_0xee6c27[_0xff6382(0x3f0)]=0x6]=_0xff6382(0x3f0),_0xee6c27[_0xee6c27[_0xff6382(0xec)]=-0x1]=_0xff6382(0xec),_0xee6c27))(j||{}),Ee=(_0x24cafb=>(_0x24cafb[_0x24cafb[_0xff6382(0x333)]=0x0]=_0xff6382(0x333),_0x24cafb[_0x24cafb['OK']=0x1]='OK',_0x24cafb[_0x24cafb[_0xff6382(0x24b)]=0x2]='FAIL',_0x24cafb[_0x24cafb[_0xff6382(0x377)]=0x3e9]='JOIN_ROOM_FULL',_0x24cafb[_0x24cafb[_0xff6382(0x148)]=0x3ea]=_0xff6382(0x148),_0x24cafb[_0x24cafb[_0xff6382(0x33b)]=0x3eb]=_0xff6382(0x33b),_0x24cafb[_0x24cafb[_0xff6382(0x3c9)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x24cafb[_0x24cafb[_0xff6382(0xec)]=-0x1]=_0xff6382(0xec),_0x24cafb))(Ee||{}),Ei=(_0x37ab68=>(_0x37ab68[_0x37ab68[_0xff6382(0x1ea)]=0x0]=_0xff6382(0x1ea),_0x37ab68[_0x37ab68[_0xff6382(0x196)]=0x1]=_0xff6382(0x196),_0x37ab68[_0x37ab68[_0xff6382(0x320)]=0x2]=_0xff6382(0x320),_0x37ab68[_0x37ab68[_0xff6382(0x32c)]=0x3]='UnitEmbedded',_0x37ab68[_0x37ab68[_0xff6382(0x223)]=0x4]=_0xff6382(0x223),_0x37ab68[_0x37ab68[_0xff6382(0x1c0)]=0x5]='UserProfileImg',_0x37ab68[_0x37ab68[_0xff6382(0x154)]=0x6]='ClipsheetFragments',_0x37ab68[_0x37ab68[_0xff6382(0xec)]=-0x1]=_0xff6382(0xec),_0x37ab68))(Ei||{});function _0x433b(){var _0x4863fb=['put','Failed\x20to\x20update\x20permission\x20point','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','replace','[PendingState]:\x20received\x20rejection.','_transformStateCache','_updateStatus','_unitInfo$','changesets','_init','image/jpg','unpad','1780992HmVFxa','HEARTBEAT_TIMEOUT','offline','_iKey','_replaceFileID','toggleOnline','_exhaustRemoteChangesetQueue','getAllMembers','_handlerCallback','getCollabEntity','socketService','body','_clearHeartbeatTimer','CHANGESET_REVISION_CONFILICT','collaboration-client.local-cache-service','getCollabEntity$','disposeWithMe','_DEC_XFORM_MODE','ERROR_EXCEED_SIZE','TOO_MANY_REQUESTS','COMPRESS_MUTATION_SEND','/fetchmissing?from=','Utf8','getSnapshotAPIPath','&to=','MD5','set','REDEMPTION_USER_NOT_ELIGIBLE','_onUserJoin','_scheduleCollaborationTimeoutTimer','subject','padding','enableOfflineEditing','image/gif','_applyRemoteChangeset','UNIVER_COLLABORATION_CLIENT_PLUGIN','abs','WordArray','ciphertext','JOIN_ROOM_FULL','enableAuthServer','PERMISSION_DENIED','REDEMPTION_CODE_INACTIVE','fromCharCode','CONNECTOR_DATA_TOO_LARGE','encode','BufferedBlockAlgorithm','onRemoteAck','compose','_onRecvEvent','EMAIL_VERIFY_CODE_MISMATCH','getCurrentUser','_onConnectionFailed','_waitCount','unknown','readAsDataURL','NoPadding','SHOULD_CLOSE_CONN','_socket','fromCollab','debug','commentUpdateEvent','requireSession','_sendHeartbeatTimer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','deepClone','CBC','string','UPDATE_CURSOR','refreshPermission','_commentUpdate$','joinEvent','ENSURE_SNAPSHOT_EXECUTION','rev','_tryReconnect','getImage','dispose$','data','/unit/','POST','_getDownloadEndpointURL','c2Prime','charAt','onMissingChangesets','_key','revision','_lockTransition','_getSignURL','objectID','_rescheduleHeartbeat','ONLINE','YUUMI_URL_COL_OUT_OF_RANGE','asObservable','signUrlServerUrl','mutations','getCurrentRevOfUnit','PSEUDO_FETCH_MISSING_RESULT','updateCursorEvent','_nRounds','failed\x20to\x20apply\x20missed\x20changesets!','sessionStatus$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','objectActions','_socketMessageSubscription','closeSession','_collaborationUIEventService','finalize','cmd','_onMessage','forEach','Could\x20not\x20dynamically\x20require\x20\x22','kdf','_singleActiveUnitService','onTransformRemoteChangesetByIMECache','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','algo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','workbook','_data','LIVESHARE_NEW_HOST','_oKey','GLOBAL_ROOMS_CNT_EXCEEDS','list','sheets','HMAC','_HTTPService','getRandomValues','crypto','WECHAT_HAS_BEEN_BOUND','getValue','EMAIL_HAS_BEEN_BOUND','post','salt','close','INVITE_CODE_ALREADY_BOUND','ENTITLE_DUP_SUBSCRIPTION','SHA1','fetchMissingChangesets','/universer-api/file/{fileID}/sign-url','/allowed','_initCloseConn','saveImage','stringify','USERS_ENTER','infoRsp','_mode','_clearRetryConnectingTimer','encodeURIComponent','HmacMD5','_invKeySchedule','&source=','PY_RUNTIME_SCRIPT_ERROR','[SyncedState]:\x20received\x20rejection.','11006704SRxDSA','[PendingState]:\x20received\x20acknowledgement.','getUnitStatus$','has','Error\x20on\x20receiving\x20event','patch','_initDependencies','RECV','_commentService','baseRev','capture','objects','/resources','substr','splice','_registerDependencies','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onCombEvent','NOT_COLLAB','mixIn','/universer-api/oidc/authpage','HEARTBEAT','JOINING','_onConflict','session.room-full','submit\x20changeset\x20error!','objectType','blockSize','_getRedoStack','reqId','reject','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_localCacheService','conflict','LOGIN_FAILED','UNRECOGNIZED','_throwTelemetryCollaborationNewChangeset','__splitChunk__','INTERNAL_ERROR','transformChangesets','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_telemetryService','uniscriptRunEvent','format','UNIVER_SHEET','map','clear','function','file','loadOfflineData','CLOSE_ROOM','ALREADY_EXISTS','_members$','length','FileId','loadDoc','decrypt','PERMISSION_REJ','onMissedChangesetFetched','retryConnectingInterval','USER_NOT_INVITED_CODE','HmacSHA1','_retryConnectingTimer','image/jpeg','getResourcesRequest','liveShareNewHost','getUnitType','target','session','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','onStarting','_substituteUndoStack','_socket$','state$','pad','_initRequestHeader','_isPermissionRej','confirm','getWorkbookSelections','next','_changesetSessionId','ENTITLE_COUPON_EXPIRED','snapshot','_eventService','YUUMI_AI_RUN_FAILED','[CollaborationSession]','reconnect','append','getSheetBlock','reduce','transformMutationsWithChangeset','_sendHeartbeat','AWAITING_WITH_PENDING','telemetry\x20info\x20is\x20not\x20initialized','_submitChangeset','_config','_commandService','updatePermissionPoint','SYNCED','actions','init','collaborators','IDLE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LICENSE_DISTRO_REJECTED','transformSelections','_state$','initWorkbookPermissionChange','executeCommand','\x0aCurrent:\x20','ENTITLE_CAN_NOT_BUY_LOWER_OTP','listRoles','localCacheService','_onJoinRoomEvent','_onUserLeave','univer-pro.collaboration-client.single-active-unit-service','onMutationExecutedForCollab','_reverseMap','session.room-not-exists','encryptBlock','_emitMembers','_socketReady','getUnitId','_onRemoteRejected','roomInfos','_scheduleCompleteTimestamp','_transitionLocked','JOIN_ROOM_NOT_EXISTS','createEncryptor','createCollaborator','m2Prime','_type','uploadFileServerUrl','MSG_FOR_ERROR','c1Prime','saveChangeset','collaboration_new_changeset','editing\x20status\x20changed\x20to','Univer','ClipsheetFragments','loadSheet','commentUpdate$','_sessions','_substituteRedoStack','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_keySchedule','USERS_LEAVE','_clearCollaborationTimeoutTimer','_unitID','onlyLocal','_compressMutationService','key','Malformed\x20UTF-8\x20data','save\x20fail\x20reason\x20is\x20','createDecryptor','/universer-api/comb','getTime','auth.needGotoLoginAlert','status$','10726184kuBrgV','getOwnPropertyDescriptor','online$','[UniverCollaborationClientPlugin]','_transformRemoteChangesetByIMECache','deleteCollaborator','_logService','/universer-api/stream/file/upload','YUUMI_ASYNCIO_CANCELLED','_createInitialStateImpl','keySize','_onOffline','_acknowledgedAwaitingChangeset','_telemetryInfo','_permissionService','_decreaseWaiting','userID','LIVESHARE_FETCH_OPERATIONS','isArray','_onFetchMissResult','HELLO','ENTITLE_INSUFFICIENT_QUOTA','COMMENT_UPDATE','clamp','location','APPLY_NON_SEQUENTIAL_REVISION','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','newCsEvent','csRejEvent','_undoStacks','byteOffset','withCredentials','USER_NOT_FOUND','SNAPSHOT_URL_KEY','/object/','toggleOffline','_tryEnsureSocket','\x0aAfter:\x20','size','_transformSelections','_sendingTimer','HEARTBEAT_INTERVAL','Hasher','ERROR_IMAGE_TYPE','close$','onTransformRemoteChangesetByStateCache','HttpImport','startsWith','clone','code','CHANGESET_SHOULD_RETRY','SNAPSHOT_HAS_BEEN_REMOVED','AWAITING','People','_resendTimer','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_incrementRevisionNumber','complete','_minBufferSize','reverse','default','_snapshotService','onSyncEditingCollabCursor','EvpKDF','_transformRemoteChangesetByStateCache','_sender','csShouldRetryEvent','max','_cipher','_initMergeInterceptor','onTransformSelections','getInterceptPoints','5852375dvhepa','error$','send','avatar','fetchMiss','add','REDEMPTION_CODE_HAS_BEEN_CREATED','LOGIN_TOKEN_PROCESSING_FAILED','responseType','x-univer-host','_clearRedo','REDEMPTION_CODE_NOT_STARTED','[OfflineState]:\x20received\x20changeset.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_append','addHandlerCallback','UserProfileImg','setShowComponents','_waitForHeartbeatResponse','processBlock','appendMutation','url','UNIVER_DOC','_unlockTransition','then','_userManagerService','Encryptor','_socketService','MOBILE_HAS_BEEN_BOUND','Latin1','state','routeKey','waitForRoom$','snapshotServerUrl','CHANGESET_ACK','APPLY_REJECT','indexOf','Base','SUBMIT_CHANGESET','mode','/role','_collaborationPaused','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_transformService','CONFLICT','[DataLoaderService]','delete','sid','words','_process','_configService','_getLoginPath','_localeService','synced','_getSendChangesetTimeout','LEAVE','_onRemoteChangeset','getActiveSheet','Undefined','_shouldReportTelemetry','_snapshotServerService','push','_pendingMutations','saveSnapshot','DATA_SOURCE_TOO_LARGE','_fetchMissChangesets','join','_nDataBytes','_roomMembers','loadUnitOfRevision','csAckEvent','sessionStatus','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_awaitingChangeset','pipe','method','_clearTimeoutTimer','getRoom','4357xRvfSm','message$','3783006dPiqjp','onTransformIME','ENTITLE_REPORT_LIMIT_EXCEED','symbol','concat','UNISCRIPT_RUN','reset','range','_collabSessionService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_event$','_getUploadFileURL','msCrypto','_roomCreated$','JOIN','ws://127.0.0.1:8000/universer-api/comb/connect','LICENSE_EXPORT_SIZE_EXCEEDED','_executeRemoteChangeset','onRemoteChangeset','subUnitId','hasher','COMPRESS_MUTATION_APPLY','awaiting_with_pending','readInt32LE','socket$','allowed','_status$','LICENSE_IMPORT_SIZE_EXCEEDED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_doCryptBlock','[OfflineState]:\x20received\x20rejection.','[CollaborationSessionService]:\x20socket\x20error','error','loginUrlKey','create','UnitSnapshot','_instanceService','onSendChangeset','_httpService','_queuedRemoteChangesets','Cipher','\x20in\x20_schedule.','every','/-/object/-/batch_allowed','_removeRoom','get','status','_transformStack','FETCH_MISS','awaitingChangeset','roles','_undoRedoService','textRanges','collaMsg','CURRENT_STATUS_CANNOT_OPERATE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','PAYMENT_CHANNEL_NOT_SUPPORT','setWaitCount','slice','repeat','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_createSocket','COMPLETION_FINISHED','[OfflineState]:\x20received\x20acknowledgement.','src','/universer-api/uniscript','downloadEndpointUrl','[SyncedState]:\x20received\x20acknowledgement.','_checkMissing','setConfig','_entities','eventID','localeService','LOCAL_CACHE_INTERVAL','SOCKET_FAILED','FAIL','ENTITLE_COUPON_USED_UP','_onLocalMutation','NOT_FOUND','UNIVER_SLIDE','_change$','exports','INVALID_INVITE_CODE','getDeserializedSheetBlock','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_createHmacHelper','CHANGESET_REJ','interceptor','YUUMI_UNABLE_LOAD_URL','iterations','_syncEditingCollabCursor','_candidateSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','originalMeta','_getAPIPrefix','410lAwoHA','change$','name','REDEMPTION_INVALID_CODE','YUUMI_CONNECTOR_URL_NOT_FOUND','APPLY_PERMISSION_DENIED','filter','SUBMIT_CHANGESET_TIMEOUT','getTypeOfUnitAdded$','onRemoteRej','fetching\x20missing\x20changesets\x20from\x20','SUCCUSS','_onRemoteRetry','_onConnectionOpen','[CollaborationEntity]','emitEvent','_updateState','_maxTotalRetryTimeout','_createInitialState','fetch_missing','sigBytes','Hex','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','NO_OTHER_CLIENTS_EDITING','_map','UNKNOWN_CMD','stopTime','updateCollaborator','_getCtorByUniverType','_state','_onRemoteACK','[CollaborationSessionService]','updateMember','byteLength','session.room-permission-denied','USER_IS_ANONYMOUS','_doFinalize','find','ENTITLE_NEED_BILLING_ADDRESS','now','BASE64','charCodeAt','_replayCachedMutations','_getUndoStack','ENTITLE_INVALID_COUPON_CODE','_entityInit$','onRemoteRetry','randomBytes','ERROR_IMAGE','decryptBlock','$super','Base64','putCollaborators','_retryCount','loadUnit','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','startTime','_getAPIPrefixPath','unsubscribe','LIVESHARE_REQUEST_HOST','_revisionService','defineProperty','result','readyForCollab','extend','memberID','SerializableCipher','_createHelper','_changesetReqId','_joinRoom','createInstance','requestParams','AUTHORIZE_CODE_ILLEGAL','_schedule','LICENSE_MAX_UNITS_EXCEEDED','ceil','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','REDEMPTION_CODE_FULLY_REDEEMED','unitId','CipherParams','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_NO_CUBOID_FOR_QUESTION','_sessionStatus$','_collaborationTimeoutTimer','/universer-api/user/session-ticket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hostname','_startCollaboration','_transformIMECache','liveShareOperation','getMember','UNDEFINED','_networkConditionService','pluginName','unitInfo$','event$','OTHER_CLIENT_EDITING','_injector','Decryptor','_memberService','enc','_remoteChangesetQueue','disableLocalCache','type','_resendTimeout','3875064jIzDNJ','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_ENC_XFORM_MODE','connection\x20error','unitID','AES','/universer-api/snapshot/','_doCreateSocket','transformUndoRedo','getConfig','update','headers','collaboration-client.config','INVITE_CODE_REQUIRED','catch','toString','params','authzUrl','_univerInstanceService','MOBILE_VERIFY_CODE_MISMATCH','_listenToNetworkCondition','ERROR_AGAIN','_imageSourceCache','FETCH_MISSING','awaiting','NEW_CHANGESETS','_collaborationSessionService','resourceIDs','image/bmp','_toggleOnline','_stopTelemetryCollaborationNewChangeset','UNIVER_UNKNOWN','getCurrentSelections','setCurrentUser','_keyPriorReset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','editingUnit','_hasher','origin','StreamCipher','parse','_doReset','_xformMode','_getCurrentRevision','LIVESHARE_OPERATION','lib','floor','INGEST','BlockCipher','_sheetTransformSelectionsService','APPLY_DUPLICATED','isPermissionRej','href','unitId\x20is\x20not\x20found','incrementRevOfUnit','/block/','resend','OTHER_CLIENTS_EDITING','_handler','cfg','removeMember','_clearUndo','_members','onCommentUpdate','_updateLocalCache','ENTITLE_CHAT_LIMIT_EXCEED','univer-pro.collaboration-client.network-condition.service','_prevBlock','selections','random','_initUnitPermissionChange','formatter','JOIN_ROOM_FAILED','prototype','onTransformState','updatePermissionObjEvent','updateOfflineData','?size=','compute','?url=','encrypt','getFocusedUnit','getSheetId','OFFLINE','getTypeOfUnitDisposed$','entityInit$','__creator','not_collab','HttpExport','_clearScheduledTask','_hash','pending','_clearLocalCache','_parse','SNAPSHOT_INVALID_SNAPSHOT','registerHTTPInterceptor','INVALID_ARGUMENT','YUUMI_SUBSCRIPTION_NOT_FOUND','_disableEditing','getLatestCsReqIdBySid','UnitEmbedded','_resendWithTimeout','transformStack\x20failed!','apply','SOCKET_FAILED_RETRY','_showConflictNotification','min','UNKNOWN_CODE','hasOwnProperty','call','getMemberID','/universer-api/authz','dispose','[CollaborationUndoRedoService]','_timeoutTimer','JOIN_ROOM_PERMISSION_DENIED','subscribe','REDEMPTION_USER_REDEEM_TIMES_EXCEED','open$','_iv','[FetchMissState]','/collaborator','fetchThroughInterceptors','_createHandler'];_0x433b=function(){return _0x4863fb;};return _0x433b();}const bs=_0xff6382(0x151);function Ds(_0x39d54d){var _0x2ead22=_0xff6382;return JSON[_0x2ead22(0x3de)](_0x39d54d)[_0x2ead22(0xfe)];}var re=(_0x2dd015=>(_0x2dd015[_0xff6382(0x2bf)]=_0xff6382(0x2bf),_0x2dd015['PERMISSION_DENIED']='PERMISSION_DENIED',_0x2dd015[_0xff6382(0x1dc)]='CONFLICT',_0x2dd015[_0xff6382(0xfb)]='CLOSE_ROOM',_0x2dd015[_0xff6382(0x310)]='JOIN_ROOM_FAILED',_0x2dd015[_0xff6382(0x330)]='SOCKET_FAILED_RETRY',_0x2dd015[_0xff6382(0x24a)]=_0xff6382(0x24a),_0x2dd015[_0xff6382(0x266)]='SUBMIT_CHANGESET_TIMEOUT',_0x2dd015))(re||{});class ve{constructor(){var _0x7cf03b=_0xff6382;D(this,_0x7cf03b(0x20a),new _0x14e298()),D(this,'event$',this[_0x7cf03b(0x20a)][_0x7cf03b(0x3ac)]());}[_0xff6382(0x26e)](_0x24a3d0){var _0x3cc7f1=_0xff6382;this['_event$'][_0x3cc7f1(0x118)](_0x24a3d0);}}class pi{constructor(){var _0x22c5c6=_0xff6382;D(this,_0x22c5c6(0x396),new _0x14e298()),D(this,_0x22c5c6(0x156),this[_0x22c5c6(0x396)][_0x22c5c6(0x3ac)]());}[_0xff6382(0x307)](_0x302f02){var _0x1b98cd=_0xff6382;this[_0x1b98cd(0x396)][_0x1b98cd(0x118)](_0x302f02);}}var ys=Object[_0xff6382(0x169)],Us=(_0x6236fd,_0x141599,_0x26f633,_0x5ad1f7)=>{var _0x4fe8b4=_0xff6382;for(var _0x57c84b=_0x5ad1f7>0x1?void 0x0:_0x5ad1f7?ys(_0x141599,_0x26f633):_0x141599,_0x3a74da=_0x6236fd[_0x4fe8b4(0xfe)]-0x1,_0x3a8095;_0x3a74da>=0x0;_0x3a74da--)(_0x3a8095=_0x6236fd[_0x3a74da])&&(_0x57c84b=_0x3a8095(_0x57c84b)||_0x57c84b);return _0x57c84b;},Ft=(_0x44433b,_0x3c8edf)=>(_0x16f167,_0x394a38)=>_0x3c8edf(_0x16f167,_0x394a38,_0x44433b);let Pe=class extends _0x4c3f97{constructor(_0x1c3556,_0x1e3a4d){var _0x1e8337=_0xff6382;super(),D(this,'_roomMembers',new Map()),D(this,'_roomCreated$',new _0x14e298()),(this['_univerInstanceService']=_0x1c3556,this['_userManagerService']=_0x1e3a4d,this[_0x1e8337(0x360)](_0x301fbe(this[_0x1e8337(0x2da)][_0x1e8337(0x31c)](_0x20192f['UNIVER_SHEET'])[_0x1e8337(0x1fa)](_0x240bec(_0x499dbb=>_0x499dbb[_0x1e8337(0x143)]())),this[_0x1e8337(0x2da)][_0x1e8337(0x31c)](_0x20192f[_0x1e8337(0x1c6)])[_0x1e8337(0x1fa)](_0x240bec(_0x3a22bb=>_0x3a22bb[_0x1e8337(0x143)]())),this['_univerInstanceService'][_0x1e8337(0x31c)](_0x20192f[_0x1e8337(0x24f)])['pipe'](_0x240bec(_0x112557=>_0x112557['getUnitId']())))['subscribe'](_0x36cf8e=>this[_0x1e8337(0x22c)](_0x36cf8e))));}[_0xff6382(0x1d0)](_0x6c52a6){var _0x8b1ef5=_0xff6382;return this[_0x8b1ef5(0x1f4)][_0x8b1ef5(0x3ec)](_0x6c52a6)?_0x6da436(this['_roomMembers'][_0x8b1ef5(0x22d)](_0x6c52a6)):this[_0x8b1ef5(0x20d)]['pipe'](_0x240bec(_0x2670d5=>{var _0x5adbe1=_0x8b1ef5;if(_0x2670d5===_0x6c52a6)return this[_0x5adbe1(0x1f4)][_0x5adbe1(0x22d)](_0x2670d5);}));}[_0xff6382(0x2e9)](_0x5cef4f){var _0x522a5a=_0xff6382;this[_0x522a5a(0x1c9)][_0x522a5a(0x2e9)](_0x5cef4f);}[_0xff6382(0x383)](){var _0x360b05=_0xff6382;return this[_0x360b05(0x1c9)][_0x360b05(0x383)]();}['updateMember'](_0x5355de,_0x28a24c){var _0x39b6b4=_0xff6382;let _0x3acfee=this[_0x39b6b4(0x1f4)][_0x39b6b4(0x22d)](_0x5355de);_0x3acfee||(_0x3acfee=new As(),this[_0x39b6b4(0x1f4)][_0x39b6b4(0x36a)](_0x5355de,_0x3acfee),this[_0x39b6b4(0x20d)][_0x39b6b4(0x118)](_0x5355de)),_0x3acfee[_0x39b6b4(0x27f)](_0x28a24c);}[_0xff6382(0x304)](_0x33fd76,_0xfd6d9d){var _0x5f072c=_0xff6382;const _0x5f46ee=this[_0x5f072c(0x1f4)]['get'](_0x33fd76);_0x5f46ee&&_0x5f46ee[_0x5f072c(0x304)](_0xfd6d9d);}[_0xff6382(0x1fd)](_0x36e0aa){var _0xed8eeb=_0xff6382;return this[_0xed8eeb(0x1f4)][_0xed8eeb(0x22d)](_0x36e0aa);}[_0xff6382(0x2b9)](_0x240c1c,_0x420f00){var _0x491bf5=_0xff6382;const _0x1c7160=this[_0x491bf5(0x1f4)][_0x491bf5(0x22d)](_0x240c1c);if(_0x1c7160)return _0x1c7160[_0x491bf5(0x2b9)](_0x420f00);}[_0xff6382(0x22c)](_0x15f0cb){var _0x2e7e16=_0xff6382;const _0x3bdf01=this[_0x2e7e16(0x1f4)][_0x2e7e16(0x22d)](_0x15f0cb);_0x3bdf01&&(_0x3bdf01[_0x2e7e16(0x338)](),this[_0x2e7e16(0x1f4)][_0x2e7e16(0x1de)](_0x15f0cb));}['dispose'](){var _0x817208=_0xff6382;this[_0x817208(0x1f4)]['forEach'](_0x466ded=>_0x466ded[_0x817208(0x338)]()),this[_0x817208(0x1f4)]['clear'](),this[_0x817208(0x20d)][_0x817208(0x1a1)]();}};Pe=Us([Ft(0x0,_0x3c78cc),Ft(0x1,_0x26f1c4(_0x5172db))],Pe);class As extends _0x4c3f97{constructor(){var _0x14c63f=_0xff6382;super(...arguments),D(this,_0x14c63f(0x306),new Map()),D(this,'_members$',new _0x409cb3(this[_0x14c63f(0x306)])),D(this,'members$',this[_0x14c63f(0xfd)][_0x14c63f(0x3ac)]());}[_0xff6382(0x338)](){var _0x1fb00d=_0xff6382;this[_0x1fb00d(0x306)][_0x1fb00d(0xf7)]();}[_0xff6382(0x27f)](_0x39ecf8){var _0x536804=_0xff6382;this[_0x536804(0x306)][_0x536804(0x36a)](_0x39ecf8[_0x536804(0x2a0)],_0x39ecf8),this['_emitMembers']();}['removeMember'](_0x425bae){var _0x594420=_0xff6382;this['_members'][_0x594420(0x1de)](_0x425bae);}[_0xff6382(0x2b9)](_0x467766){var _0x11bc85=_0xff6382;return this[_0x11bc85(0x306)]['get'](_0x467766);}[_0xff6382(0x357)](){var _0x507da5=_0xff6382;return Array['from'](this[_0x507da5(0x306)]['values']());}[_0xff6382(0x141)](){var _0x5e0c35=_0xff6382;this[_0x5e0c35(0xfd)][_0x5e0c35(0x118)](this[_0x5e0c35(0x306)]);}}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x2f08e9,_0x47b198,_0x9aedbf,_0x171376)=>{var _0x390002=_0xff6382;for(var _0x1d664e=_0x171376>0x1?void 0x0:_0x171376?Ps(_0x47b198,_0x9aedbf):_0x47b198,_0x596b79=_0x2f08e9[_0x390002(0xfe)]-0x1,_0x20e285;_0x596b79>=0x0;_0x596b79--)(_0x20e285=_0x2f08e9[_0x596b79])&&(_0x1d664e=_0x20e285(_0x1d664e)||_0x1d664e);return _0x1d664e;},Oe=(_0x4bdd30,_0x2c7e52)=>(_0x581679,_0x47cad4)=>_0x2c7e52(_0x581679,_0x47cad4,_0x4bdd30),me=(_0x5e9960=>(_0x5e9960[_0x5e9960[_0xff6382(0x12f)]=0x0]=_0xff6382(0x12f),_0x5e9960[_0x5e9960[_0xff6382(0x3ff)]=0x1]='JOINING',_0x5e9960[_0x5e9960[_0xff6382(0x31b)]=0x2]=_0xff6382(0x31b),_0x5e9960[_0x5e9960['ONLINE']=0x3]='ONLINE',_0x5e9960))(me||{});const jt={[Ee[_0xff6382(0x24b)]]:'session.join-failed',[Ee[_0xff6382(0x377)]]:_0xff6382(0x401),[Ee[_0xff6382(0x148)]]:_0xff6382(0x13f),[Ee[_0xff6382(0x33b)]]:_0xff6382(0x281),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let mt=class extends _0x1734f1{constructor(_0x248450,_0x393539,_0x6678a5,_0x529b2f,_0x366d3d,_0x2b2f9c,_0x246d5a,_0x4fae62){var _0x170480=_0xff6382;super(),D(this,'_sessionStatus$',new _0x409cb3(0x0)),D(this,_0x170480(0x3b4),this[_0x170480(0x2b1)][_0x170480(0x3ac)]()),D(this,'_event$',new _0x14e298()),D(this,_0x170480(0x2be),this[_0x170480(0x20a)]['asObservable']()),D(this,_0x170480(0x38a)),D(this,_0x170480(0x3b7)),D(this,_0x170480(0x2b2)),D(this,_0x170480(0x1eb),!0x1),D(this,_0x170480(0x175),null),(this[_0x170480(0x15d)]=_0x248450,this[_0x170480(0x16e)]=_0x6678a5,this[_0x170480(0x1e2)]=_0x529b2f,this[_0x170480(0x2c2)]=_0x366d3d,this[_0x170480(0x3f1)]=_0x2b2f9c,this[_0x170480(0x3b9)]=_0x246d5a,this[_0x170480(0xf2)]=_0x4fae62,this['_shouldReportTelemetry']=!!this[_0x170480(0xf2)],_0x393539[_0x170480(0x1fa)](_0x4f5e1f(this[_0x170480(0x39c)]))[_0x170480(0x33c)](_0x7fa085=>{var _0x498832=_0x170480,_0x2b51e6;typeof _0x7fa085>'u'||(this[_0x498832(0x38a)]=_0x7fa085,_0x7fa085?(this['_joinRoom'](_0x7fa085),this[_0x498832(0x3b7)]=_0x7fa085[_0x498832(0x1ff)][_0x498832(0x33c)](_0x13220f=>{var _0x17b23f=_0x498832;_0x13220f[_0x17b23f(0x1cf)]===this[_0x17b23f(0x15d)]&&this[_0x17b23f(0x3fa)](_0x13220f);})):(this[_0x498832(0xed)](),this['_sessionStatus$'][_0x498832(0x118)](0x2),(_0x2b51e6=this[_0x498832(0x3b7)])==null||_0x2b51e6[_0x498832(0x299)](),this['_socketMessageSubscription']=null));}));}get[_0xff6382(0x1f7)](){var _0x3c4c55=_0xff6382;return this[_0x3c4c55(0x2b1)]['getValue']();}['getMemberID'](){var _0x399a63=_0xff6382,_0x411f8d,_0x152316;return(_0x152316=(_0x411f8d=this[_0x399a63(0x38a)])==null?void 0x0:_0x411f8d['memberID'])!=null?_0x152316:null;}[_0xff6382(0x338)](){var _0x37f089=_0xff6382;super[_0x37f089(0x338)](),this[_0x37f089(0x39c)][_0x37f089(0x118)](),this[_0x37f089(0x39c)][_0x37f089(0x1a1)]();}['close'](){var _0x46e3ae=_0xff6382,_0x27902b,_0x3bd866;this[_0x46e3ae(0xed)](),(_0x27902b=this[_0x46e3ae(0x38a)])==null||_0x27902b['send']({'cmd':j[_0x46e3ae(0x1e7)],'data':{'roomID':this['_unitID']}}),(_0x3bd866=this[_0x46e3ae(0x38a)])==null||_0x3bd866[_0x46e3ae(0x3d5)](),this[_0x46e3ae(0x20a)][_0x46e3ae(0x1a1)](),this[_0x46e3ae(0x2b1)]['complete'](),this[_0x46e3ae(0x338)]();}[_0xff6382(0x3fa)](_0x35f464){var _0x49ac33=_0xff6382;_0x35f464[_0x49ac33(0x3bb)]===j['JOIN']?this['_onJoinRoomEvent'](_0x35f464):_0x35f464[_0x49ac33(0x3bb)]===j[_0x49ac33(0x3f0)]&&this[_0x49ac33(0x381)](_0x35f464);}[_0xff6382(0x2a4)](_0x178d3f){var _0x5c1f0a=_0xff6382;this[_0x5c1f0a(0x2b1)][_0x5c1f0a(0x118)](0x1),_0x178d3f[_0x5c1f0a(0x1b2)]({'cmd':j['JOIN'],'routeKey':this[_0x5c1f0a(0x15d)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xff6382(0x13a)](_0x15e96c){var _0x3844d4=_0xff6382,_0x53bb3e;if(_0x15e96c['code']in jt){this[_0x3844d4(0x3b9)][_0x3844d4(0x26e)]({'id':re[_0x3844d4(0x310)],'data':jt[_0x15e96c[_0x3844d4(0x199)]]}),this[_0x3844d4(0x2b1)]['next'](0x2);return;}this[_0x3844d4(0x2b1)][_0x3844d4(0x118)](0x3);const _0x1f0fbb=(_0x53bb3e=_0x15e96c[_0x3844d4(0x39d)][_0x3844d4(0x145)][this[_0x3844d4(0x15d)]])==null?void 0x0:_0x53bb3e['members'];_0x1f0fbb&&_0x1f0fbb[_0x3844d4(0x3bd)](_0x19820b=>this['_memberService']['updateMember'](this[_0x3844d4(0x15d)],_0x19820b));}[_0xff6382(0x381)](_0x1ec26f){var _0x6ac5ba=_0xff6382;try{const _0x24d9a2=_0x1ec26f['data'];switch(_0x24d9a2[_0x6ac5ba(0x247)]){case _0x5561ca[_0x6ac5ba(0x3df)]:this[_0x6ac5ba(0x36c)](_0x24d9a2),this['_event$'][_0x6ac5ba(0x118)](_0x24d9a2);break;case _0x5561ca[_0x6ac5ba(0x15b)]:this['_onUserLeave'](_0x24d9a2),this[_0x6ac5ba(0x20a)][_0x6ac5ba(0x118)](_0x24d9a2);break;case _0x5561ca[_0x6ac5ba(0x1d2)]:case _0x5561ca['CHANGESET_SHOULD_RETRY']:this[_0x6ac5ba(0x2e6)](),this[_0x6ac5ba(0x15c)](),this[_0x6ac5ba(0x20a)]['next'](_0x24d9a2);break;case _0x5561ca[_0x6ac5ba(0x14e)]:this[_0x6ac5ba(0x16e)]['error'](_0x6ac5ba(0x162)+JSON['stringify'](_0x24d9a2)),this[_0x6ac5ba(0x20a)][_0x6ac5ba(0x118)](_0x24d9a2);break;case _0x5561ca[_0x6ac5ba(0x17e)]:this['_commentService']['onCommentUpdate'](_0x24d9a2[_0x6ac5ba(0x39d)]),this[_0x6ac5ba(0x20a)]['next'](_0x24d9a2);break;default:this['_event$']['next'](_0x24d9a2);}}catch(_0x583147){this[_0x6ac5ba(0x16e)][_0x6ac5ba(0x220)](_0x583147,_0x1ec26f);}}[_0xff6382(0x36c)](_0x538697){var _0x112e64=_0xff6382;this['_memberService']['updateMember'](this['_unitID'],_0x538697[_0x112e64(0x39d)]);}[_0xff6382(0x13b)](_0x3f02d0){var _0x3c3d20=_0xff6382;this['_memberService'][_0x3c3d20(0x304)](this[_0x3c3d20(0x15d)],_0x3f02d0['data'][_0x3c3d20(0x2a0)]);}async[_0xff6382(0x1b2)](_0x3a05c4,_0x3e862f){var _0x242346=_0xff6382;if(this[_0x242346(0x1f7)]!==0x3||!this[_0x242346(0x38a)])throw new Error(_0x242346(0x19f));try{_0x3a05c4[_0x242346(0x247)]===_0x5561ca['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x3a05c4)),this[_0x242346(0x38a)][_0x242346(0x1b2)]({'cmd':j[_0x242346(0x2f7)],'routeKey':_0x3e862f,'routeType':'','data':_0x3a05c4});}catch(_0x53d411){this[_0x242346(0x16e)][_0x242346(0x220)](_0x53d411);}}[_0xff6382(0x36d)](){var _0x3da711=_0xff6382,_0x62437f;this[_0x3da711(0x2b2)]=setTimeout(()=>{var _0x1a214b=_0x3da711;this[_0x1a214b(0x2b2)]=null,this[_0x1a214b(0x3b9)]['emitEvent']({'id':re[_0x1a214b(0x266)]});},(_0x62437f=this[_0x3da711(0x1e2)][_0x3da711(0x2d1)](di))!=null?_0x62437f:fi);}[_0xff6382(0x15c)](){var _0x42634a=_0xff6382;this[_0x42634a(0x2b2)]&&(clearTimeout(this[_0x42634a(0x2b2)]),this[_0x42634a(0x2b2)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x32bfe4){var _0x120d55=_0xff6382;if(!this[_0x120d55(0x1eb)])return;const {data:_0x58487b}=_0x32bfe4,{unitID:_0x407867,changeset:_0x34070b}=_0x58487b,{mutations:_0x497902,type:_0x1ed642}=_0x34070b;this[_0x120d55(0x175)]={'unitId':_0x407867,'type':_0x1ed642,'startTime':performance[_0x120d55(0x286)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x497902)};}[_0xff6382(0x2e6)](){var _0x2e3cef=_0xff6382;if(this['_shouldReportTelemetry']){if(!this[_0x2e3cef(0x175)]){this[_0x2e3cef(0x16e)][_0x2e3cef(0x220)](_0x2e3cef(0x11e),_0x2e3cef(0x126));return;}this[_0x2e3cef(0x175)][_0x2e3cef(0x279)]=performance['now'](),this[_0x2e3cef(0x175)]['duration']=this[_0x2e3cef(0x175)][_0x2e3cef(0x279)]-this[_0x2e3cef(0x175)][_0x2e3cef(0x297)],this[_0x2e3cef(0xf2)][_0x2e3cef(0x3f3)](bs,this[_0x2e3cef(0x175)]),this[_0x2e3cef(0x175)]=null;}}[_0xff6382(0xed)](){var _0xc65e70=_0xff6382;this[_0xc65e70(0x175)]=null;}};mt=ws([Oe(0x2,_0x4b39d4),Oe(0x3,_0x5839d5),Oe(0x4,_0x26f1c4(Pe)),Oe(0x5,_0x26f1c4(pi)),Oe(0x6,_0x26f1c4(ve)),Oe(0x7,_0x197a74(_0x2021c7))],mt);const X=_0x5a6278(_0xff6382(0x35e));function Dr(_0x5a667d){return'unit-cache-'+_0x5a667d;}var Ls=Object[_0xff6382(0x169)],Ms=(_0x359e23,_0x5a4ae1,_0xd3804c,_0x40b3d7)=>{var _0x567499=_0xff6382;for(var _0x3a5bee=_0x40b3d7>0x1?void 0x0:_0x40b3d7?Ls(_0x5a4ae1,_0xd3804c):_0x5a4ae1,_0x865292=_0x359e23[_0x567499(0xfe)]-0x1,_0x3e0fed;_0x865292>=0x0;_0x865292--)(_0x3e0fed=_0x359e23[_0x865292])&&(_0x3a5bee=_0x3e0fed(_0x3a5bee)||_0x3a5bee);return _0x3a5bee;},ut=(_0x5deb9e,_0x2a9c85)=>(_0x4377ed,_0x2b0980)=>_0x2a9c85(_0x4377ed,_0x2b0980,_0x5deb9e);function xs(_0x18cac1){var _0x5b7ca1=_0xff6382;const {unitID:_0x113cbf,mutations:_0x31e672}=_0x18cac1;return{'unitId':_0x113cbf,'subUnitId':_0x31e672[_0x5b7ca1(0xfe)]>0x0?_0x31e672[0x0][_0x5b7ca1(0x2d8)][_0x5b7ca1(0x213)]:null};}let it=class{constructor(_0x5e8680,_0x37b5c1,_0x5432d3){var _0x25514c=_0xff6382;this['_injector']=_0x5e8680,this[_0x25514c(0x1db)]=_0x37b5c1,this[_0x25514c(0x224)]=_0x5432d3;}[_0xff6382(0x132)](_0x4eb74f){var _0x4702f2=_0xff6382,_0x11fc8e,_0x514a6f,_0x5eecb3,_0x482ecb;const _0x225936=this[_0x4702f2(0x2c0)][_0x4702f2(0x22d)](_0x41ad8b),{unitId:_0x3ce5a0,subUnitId:_0x2b770c}=xs(_0x4eb74f),_0x599efa=_0x225936==null?void 0x0:_0x225936[_0x4702f2(0x117)](_0x3ce5a0)[_0x4702f2(0x2e8)](),_0x3b9566=(_0x514a6f=(_0x11fc8e=this[_0x4702f2(0x224)]['getUnit'](_0x3ce5a0))==null?void 0x0:_0x11fc8e[_0x4702f2(0x1e9)]())==null?void 0x0:_0x514a6f[_0x4702f2(0x31a)]();if(_0x599efa[_0x4702f2(0xfe)]===0x0||!_0x3ce5a0||!_0x2b770c)return;const _0x23fcf6=[{'id':_0x10c6da['id'],'params':{'unitId':_0x3ce5a0,'subUnitId':_0x3b9566,'selections':_0x14105e[_0x4702f2(0x391)](_0x599efa)}}],_0x470db0=this['_transformService'][_0x4702f2(0x123)](_0x4eb74f,_0x23fcf6);if(!_0x2662f6(_0x470db0))throw _0x470db0['error'];const _0x54710c=(_0x482ecb=(_0x5eecb3=_0x470db0['m2Prime'][0x0])==null?void 0x0:_0x5eecb3[_0x4702f2(0x2d8)])==null?void 0x0:_0x482ecb['selections'];if(Array['isArray'](_0x54710c)&&_0x54710c['length']){if(_0x54710c['length']===_0x23fcf6[0x0][_0x4702f2(0x2d8)][_0x4702f2(0x30c)][_0x4702f2(0xfe)]&&_0x54710c[_0x4702f2(0x22a)]((_0x46a255,_0x478042)=>_0x18509b['equals'](_0x46a255[_0x4702f2(0x207)],_0x23fcf6[0x0]['params'][_0x4702f2(0x30c)][_0x478042][_0x4702f2(0x207)])))return;this['_injector']['get'](_0x53c0da)[_0x4702f2(0x135)](_0x10c6da['id'],{'unitId':_0x3ce5a0,'subUnitId':_0x3b9566,'selections':_0x54710c});}}};it=Ms([ut(0x0,_0x26f1c4(_0x479e14)),ut(0x1,_0x3a8ddb),ut(0x2,_0x3c78cc)],it);const _t=_0x5a6278(_0xff6382(0x13c));var mi=(_0x107837=>(_0x107837[_0x107837[_0xff6382(0x276)]=0x0]=_0xff6382(0x276),_0x107837[_0x107837['OTHER_CLIENTS_EDITING']=0x1]=_0xff6382(0x301),_0x107837))(mi||{});const K=_0xff6382(0x2d4),ks={};function $s(_0x7c1f41){var _0x35b133=_0xff6382,_0x26ac82;return!!((_0x26ac82=_0x7c1f41[_0x35b133(0x2d8)])!=null&&_0x26ac82[_0x35b133(0xee)]);}const Hs=new Set([_0x53773d['id']]);function Vt(_0x19934f,_0x64770f,_0x436343,_0x3c75a0,_0x3e4662){var _0x3d70e0=_0xff6382,_0x25154f,_0x38d27f,_0x442dbe,_0x4c55d6;const _0x5073fe=[];for(const _0x2517fb of _0x19934f){if(Hs[_0x3d70e0(0x3ec)](_0x2517fb['id'])){if(_0x5073fe[_0x3d70e0(0xfe)]>0x0)break;_0x5073fe[_0x3d70e0(0x1ed)](_0x2517fb);break;}if($s(_0x2517fb)){if(_0x5073fe[_0x3d70e0(0xfe)]>0x0)break;_0x5073fe[_0x3d70e0(0x1ed)](_0x2517fb);break;}_0x5073fe[_0x3d70e0(0x1ed)](_0x2517fb);}const _0x3c5fc5=(_0x38d27f=(_0x25154f=_0x3e4662['getCurrentUser']())==null?void 0x0:_0x25154f[_0x3d70e0(0x178)])!=null?_0x38d27f:_0x3d70e0(0x386),_0x34e117=(_0x4c55d6=(_0x442dbe=_0x3e4662[_0x3d70e0(0x383)]())==null?void 0x0:_0x442dbe['memberID'])!=null?_0x4c55d6:_0x3d70e0(0x386);return{'changeset':{'unitID':_0x64770f,'type':_0xb7c9ee(_0x436343['getUnitType'](_0x64770f)),'baseRev':_0x3c75a0[_0x3d70e0(0x3af)](_0x64770f),'revision':0x0,'userID':_0x3c5fc5,'memberID':_0x34e117,'mutations':_0x5073fe},'pendingMutations':_0x19934f[_0x3d70e0(0x23a)](_0x5073fe[_0x3d70e0(0xfe)])};}function Bs(_0x432c50,_0x39c847,_0x37db8a,_0x25e40e,_0xf914ee){var _0x523fa2=_0xff6382,_0x28d0cc,_0x439eeb,_0x253e3d,_0x4e7100;const _0xbeca91=[_0x432c50[_0x523fa2(0x122)]((_0x3db0ea,_0x1fc0ce)=>{var _0x43fb74=_0x523fa2,_0xec98ef;const {id:_0x1fd126}=_0x3db0ea,{id:_0x4f2ba9,type:_0x2d65b3}=_0x1fc0ce,_0x9c47d3=(_0xec98ef=_0x3db0ea[_0x43fb74(0x2d8)])!=null?_0xec98ef:{'actions':null},_0x1ccc82=_0x1fc0ce[_0x43fb74(0x2d8)];if(_0x1fd126&&_0x1fd126!==_0x4f2ba9)throw new Error(_0x43fb74(0x254)+_0x1fd126+'\x20-\x20'+_0x4f2ba9+'.');return{..._0x3db0ea,'id':_0x4f2ba9,'type':_0x2d65b3,'params':{'unitId':_0x1ccc82[_0x43fb74(0x2ad)],'textRanges':_0x1ccc82[_0x43fb74(0x234)],'actions':_0x449fd9[_0x43fb74(0x380)](_0x9c47d3[_0x43fb74(0x12c)],_0x1ccc82[_0x43fb74(0x12c)])}};},{})],_0xa261f2=(_0x439eeb=(_0x28d0cc=_0xf914ee[_0x523fa2(0x383)]())==null?void 0x0:_0x28d0cc['userID'])!=null?_0x439eeb:'unknown',_0x30fd2b=(_0x4e7100=(_0x253e3d=_0xf914ee[_0x523fa2(0x383)]())==null?void 0x0:_0x253e3d[_0x523fa2(0x2a0)])!=null?_0x4e7100:_0x523fa2(0x386);return{'changeset':{'unitID':_0x39c847,'type':_0xb7c9ee(_0x37db8a[_0x523fa2(0x10b)](_0x39c847)),'baseRev':_0x25e40e['getCurrentRevOfUnit'](_0x39c847),'revision':0x0,'userID':_0xa261f2,'memberID':_0x30fd2b,'mutations':_0xbeca91},'pendingMutations':[]};}function Ii(_0x5b4834,_0x40ec1a){var _0x5b71ce=_0xff6382;const _0x9a5f6b=new _0x2cd411(0x1);return setTimeout(()=>_0x9a5f6b['next'](_0x40ec1a),_0x5b4834),_0x9a5f6b[_0x5b71ce(0x3ac)]()[_0x5b71ce(0x1fa)](_0x5c7bfd(0x1));}var Fs=Object[_0xff6382(0x169)],Se=(_0x4b4522,_0x2d2322,_0x470e4c,_0x51e229)=>{var _0x104f8f=_0xff6382;for(var _0x539dbe=_0x51e229>0x1?void 0x0:_0x51e229?Fs(_0x2d2322,_0x470e4c):_0x2d2322,_0x2da26b=_0x4b4522[_0x104f8f(0xfe)]-0x1,_0x1fd88b;_0x2da26b>=0x0;_0x2da26b--)(_0x1fd88b=_0x4b4522[_0x2da26b])&&(_0x539dbe=_0x1fd88b(_0x539dbe)||_0x539dbe);return _0x539dbe;},w=(_0x399404,_0x547e86)=>(_0x16e057,_0x1f2278)=>_0x547e86(_0x16e057,_0x1f2278,_0x399404),Si=(_0x111bf5=>(_0x111bf5[_0xff6382(0x3fb)]=_0xff6382(0x31f),_0x111bf5[_0xff6382(0x12b)]='synced',_0x111bf5['PENDING']=_0xff6382(0x323),_0x111bf5[_0xff6382(0x19c)]='awaiting',_0x111bf5[_0xff6382(0x125)]=_0xff6382(0x216),_0x111bf5[_0xff6382(0x230)]=_0xff6382(0x272),_0x111bf5[_0xff6382(0x1dc)]=_0xff6382(0xea),_0x111bf5['OFFLINE']=_0xff6382(0x352),_0x111bf5))(Si||{});const gi=0x4e20,Ti=0x2bf20;function _0x3f92(_0x43d579,_0x3b8db5){_0x43d579=_0x43d579-0xe4;var _0x433bea=_0x433b();var _0x3f920f=_0x433bea[_0x43d579];return _0x3f920f;}class ge{constructor(_0x5e03e2,_0x4fe64c,_0x4c50b4,_0x39d2a2,_0x3bfeb4,_0x12e76b,_0x105def,_0x116ed7,_0xf5d824){var _0x25c080=_0xff6382;D(this,_0x25c080(0x1f9),null),D(this,_0x25c080(0x1ee),[]),(this['unitID']=_0x5e03e2,this['type']=_0x4fe64c,this[_0x25c080(0x302)]=_0x3bfeb4,this[_0x25c080(0x129)]=_0x12e76b,this['_undoRedoService']=_0x105def,this['_revisionService']=_0x116ed7,this[_0x25c080(0xe9)]=_0xf5d824,this[_0x25c080(0x1f9)]=_0x4c50b4,this[_0x25c080(0x1ee)]=_0x39d2a2);}[_0xff6382(0x244)](_0x476227){var _0x7a5070=_0xff6382;const _0x29fdfa=this[_0x7a5070(0x29b)][_0x7a5070(0x3af)](this[_0x7a5070(0x2cc)]);return _0x476227[_0x7a5070(0x3a5)]>_0x29fdfa+0x1?(this[_0x7a5070(0x302)]['onMissingChangesets']({'from':_0x29fdfa,'to':_0x476227['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x371f37){var _0x555eb8=_0xff6382;this[_0x555eb8(0x233)][_0x555eb8(0x2d0)](this[_0x555eb8(0x2cc)],_0x371f37);}[_0xff6382(0x18f)](_0x21fcc4){var _0x64487d=_0xff6382,_0x587cb3,_0x4a11e3;(_0x4a11e3=(_0x587cb3=this[_0x64487d(0x302)])['onTransformSelections'])==null||_0x4a11e3[_0x64487d(0x335)](_0x587cb3,_0x21fcc4);}['_transformIMECache'](_0x4a65e7){var _0x2718b6=_0xff6382,_0x5c3742,_0x57862b;return(_0x57862b=(_0x5c3742=this['_handler'])[_0x2718b6(0x201)])==null?void 0x0:_0x57862b[_0x2718b6(0x335)](_0x5c3742,_0x4a65e7);}[_0xff6382(0x349)](_0x54c222){var _0x50e197=_0xff6382,_0x512476,_0xce58a5;return(_0xce58a5=(_0x512476=this['_handler'])[_0x50e197(0x312)])==null?void 0x0:_0xce58a5['call'](_0x512476,_0x54c222);}[_0xff6382(0x16c)](_0x309ea1){var _0x5dae08=_0xff6382,_0x49ea70,_0x5ec80e,_0x4b1359;return(_0x4b1359=(_0x5ec80e=(_0x49ea70=this[_0x5dae08(0x302)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5ec80e[_0x5dae08(0x335)](_0x49ea70,_0x309ea1))!=null?_0x4b1359:_0x309ea1;}['_transformRemoteChangesetByStateCache'](_0x40e3aa){var _0x34b226=_0xff6382,_0x12e77d,_0x2c4bc4,_0x49708e;return(_0x49708e=(_0x2c4bc4=(_0x12e77d=this[_0x34b226(0x302)])[_0x34b226(0x195)])==null?void 0x0:_0x2c4bc4['call'](_0x12e77d,_0x40e3aa))!=null?_0x49708e:_0x40e3aa;}[_0xff6382(0x25a)](_0x4c0a03){var _0x276d0a=_0xff6382,_0x584dc0,_0x5c67de;if(this[_0x276d0a(0x2c6)]===Q[_0x276d0a(0x1c6)]){const {unitID:_0x4c17b7,mutations:_0x549dc1,memberID:_0x492208}=_0x4c0a03,_0x586b1e=_0x549dc1[_0x276d0a(0xfe)]>0x0?_0x549dc1[0x0][_0x276d0a(0x2d8)][_0x276d0a(0x234)]:[];Array[_0x276d0a(0x17a)](_0x586b1e)&&_0x586b1e[_0x276d0a(0xfe)]>0x0&&((_0x5c67de=(_0x584dc0=this[_0x276d0a(0x302)])[_0x276d0a(0x1a6)])==null||_0x5c67de[_0x276d0a(0x335)](_0x584dc0,{'unitID':_0x4c17b7,'memberID':_0x492208,'textRanges':_0x586b1e}));}}[_0xff6382(0x308)](){var _0x23d25c=_0xff6382,_0x1990b2;(_0x1990b2=this[_0x23d25c(0xe9)])==null||_0x1990b2[_0x23d25c(0x314)](this[_0x23d25c(0x2cc)],this['type'],this[_0x23d25c(0x1f9)],this[_0x23d25c(0x1ee)]);}[_0xff6382(0x2f3)](){var _0x292e0b=_0xff6382;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x292e0b(0x2cc)]);}[_0xff6382(0x1a0)](){var _0x304607=_0xff6382;this[_0x304607(0x29b)][_0x304607(0x2fe)](this['unitID']);}[_0xff6382(0x211)](_0x49e8e1){var _0x1f1a74=_0xff6382,_0x41e61b;let _0x53357f=this[_0x1f1a74(0x16c)](_0x49e8e1);_0x53357f=this[_0x1f1a74(0x1a8)](_0x53357f);const _0x4cf24d=_0x2ac4ab(_0x53357f[_0x1f1a74(0x3ae)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4cf24d['result'])throw _0x4cf24d[_0x1f1a74(0x220)]instanceof Error?_0x4cf24d['error']:new Error((_0x41e61b=_0x4cf24d[_0x1f1a74(0x220)])!=null?_0x41e61b:'[CollaborationState]:\x20apply\x20error!');this[_0x1f1a74(0x2b7)](_0x53357f),this[_0x1f1a74(0x349)](_0x53357f),this['_transformUndoredo'](_0x49e8e1),this[_0x1f1a74(0x18f)](_0x53357f),this['_syncEditingCollabCursor'](_0x53357f),this[_0x1f1a74(0x1a0)]();}}let be=class extends ge{constructor(_0x10d59d,_0x472dc9,_0x3709d7,_0x487e7f,_0x5ac16b,_0x10c6ac,_0x58553f,_0x5731b0,_0x213cab,_0x36ba1c){var _0x405be0=_0xff6382;super(_0x10d59d,_0x472dc9,null,[],_0x3709d7,_0x58553f,_0x10c6ac,_0x487e7f,_0x36ba1c),D(this,_0x405be0(0x22e),_0x405be0(0x1e5)),(this[_0x405be0(0x2c0)]=_0x5ac16b,this[_0x405be0(0x16e)]=_0x5731b0,this[_0x405be0(0x1db)]=_0x213cab,this[_0x405be0(0x139)]=_0x36ba1c);}[_0xff6382(0x1c4)](_0x270cd1){var _0xc6f143=_0xff6382;const _0x1845d1=this[_0xc6f143(0x2c0)][_0xc6f143(0x2a5)](ae,this[_0xc6f143(0x2cc)],this[_0xc6f143(0x2c6)],[_0x270cd1],this[_0xc6f143(0x302)]);return _0x1845d1[_0xc6f143(0x2a8)](),_0x1845d1[_0xc6f143(0x308)](),_0x1845d1;}['onRemoteChangeset'](_0x11f546){var _0x553348=_0xff6382;if(this[_0x553348(0x244)](_0x11f546))return this[_0x553348(0x2c0)]['createInstance'](ee,this[_0x553348(0x2cc)],this[_0x553348(0x2c6)],null,[],null,[_0x11f546],this[_0x553348(0x302)]);try{const _0x2968df=this[_0x553348(0x1db)]['transformMutationsWithChangeset'](_0x11f546,[_0x429250]);if(_0x2662f6(_0x2968df)){const {c1Prime:_0x301b4d}=_0x2968df;return this[_0x553348(0x211)](_0x301b4d),this;}throw _0x2968df[_0x553348(0x220)];}catch(_0x27692b){return this[_0x553348(0x16e)][_0x553348(0x220)](_0x27692b),this[_0x553348(0x400)](!0x1);}}[_0xff6382(0x400)](_0xbe00a1){var _0x50ec39=_0xff6382;return this[_0x50ec39(0x2c0)][_0x50ec39(0x2a5)](ue,this['unitID'],this['type'],null,[],this[_0x50ec39(0x302)],_0xbe00a1);}['onRemoteAck'](){var _0x24d1d0=_0xff6382;throw new Error(_0x24d1d0(0x243));}[_0xff6382(0x268)](){var _0x5b39a8=_0xff6382;throw new Error(_0x5b39a8(0x3e8));}['onRemoteRetry'](){return this;}[_0xff6382(0x18b)](){var _0x3fa2db=_0xff6382;return this[_0x3fa2db(0x2c0)]['createInstance'](de,this['unitID'],this['type'],null,[],this['_handler']);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x300)](){var _0xf47d6a=_0xff6382;throw new Error(_0xf47d6a(0x390));}[_0xff6382(0x1b4)](){var _0x24bbba=_0xff6382;const _0x93e700=this[_0x24bbba(0x29b)][_0x24bbba(0x3af)](this[_0x24bbba(0x2cc)]);return this[_0x24bbba(0x302)][_0x24bbba(0x3a3)]({'from':_0x93e700,'to':0x0}),this[_0x24bbba(0x2c0)][_0x24bbba(0x2a5)](ee,this[_0x24bbba(0x2cc)],this[_0x24bbba(0x2c6)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x26f1c4(_0x2ccc8a)),w(0x4,_0x26f1c4(_0x479e14)),w(0x5,_0x5c3c47),w(0x6,_0x53c0da),w(0x7,_0x4b39d4),w(0x8,_0x3a8ddb),w(0x9,_0x197a74(X))],be);let ae=class extends ge{constructor(_0x515282,_0x3c2869,_0x41c37f,_0x3a9636,_0x3133e7,_0x24824f,_0x4f4eb2,_0x3e23f4,_0x16ec74,_0x3c0a90,_0x5af1a1,_0x3683c2,_0x393e55,_0x56b4eb){var _0x5ee7a1=_0xff6382;super(_0x515282,_0x3c2869,null,_0x41c37f,_0x3a9636,_0x16ec74,_0x393e55,_0x24824f,_0x56b4eb),D(this,'status',_0x5ee7a1(0x323)),D(this,_0x5ee7a1(0x146),null),D(this,_0x5ee7a1(0x190),null),(this[_0x5ee7a1(0x2c0)]=_0x3133e7,this[_0x5ee7a1(0x2c2)]=_0x4f4eb2,this['_logService']=_0x3e23f4,this['_configService']=_0x3c0a90,this[_0x5ee7a1(0x1db)]=_0x5af1a1,this['_univerInstanceService']=_0x3683c2);}[_0xff6382(0x1c4)](_0x235da9){var _0x28a844=_0xff6382;return this[_0x28a844(0x1ee)]['push'](_0x235da9),this['_updateLocalCache'](),this;}[_0xff6382(0x212)](_0x119d87){var _0xccd555=_0xff6382;if(this[_0xccd555(0x244)](_0x119d87))return this[_0xccd555(0x321)](),this['_injector'][_0xccd555(0x2a5)](ee,this[_0xccd555(0x2cc)],this[_0xccd555(0x2c6)],null,this[_0xccd555(0x1ee)],null,[_0x119d87],this['_handler']);try{const _0x2e345a=this[_0xccd555(0x1db)][_0xccd555(0x123)](_0x119d87,this[_0xccd555(0x1ee)]);if(_0x2662f6(_0x2e345a)){const {c1Prime:_0x3c2307,m2Prime:_0x13a3fb}=_0x2e345a;this[_0xccd555(0x211)](_0x3c2307);const _0x224911=this[_0xccd555(0x2c0)][_0xccd555(0x2a5)](ae,this['unitID'],this[_0xccd555(0x2c6)],_0x13a3fb,this[_0xccd555(0x302)]);this[_0xccd555(0x321)]();const _0x6877ef=new Date()[_0xccd555(0x165)](),_0x197a53=this[_0xccd555(0x146)]?Math[_0xccd555(0x1ab)](this[_0xccd555(0x146)]-_0x6877ef,0x0):this['_getSendChangesetTimeout']();return _0x224911[_0xccd555(0x2a8)](_0x197a53),_0x224911;}throw _0x2e345a[_0xccd555(0x220)];}catch(_0x3052b7){return this[_0xccd555(0x16e)]['error'](_0x3052b7),this[_0xccd555(0x400)](!0x1);}}['onRemoteAck'](){var _0x115c49=_0xff6382;throw new Error(_0x115c49(0x3ea));}[_0xff6382(0x268)](){var _0x5b18c4=_0xff6382;throw new Error(_0x5b18c4(0x348));}[_0xff6382(0x28d)](){return this;}['toggleOffline'](){var _0x285878=_0xff6382;return this[_0x285878(0x321)](),this[_0x285878(0x2c0)][_0x285878(0x2a5)](de,this['unitID'],this[_0x285878(0x2c6)],null,this[_0x285878(0x1ee)],this['_handler']);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x2a8)](_0x3bd20f){var _0x532010=_0xff6382;const _0x2fc8a6=_0x3bd20f!=null?_0x3bd20f:this['_getSendChangesetTimeout']();this[_0x532010(0x146)]=new Date()[_0x532010(0x165)]()+_0x2fc8a6,this[_0x532010(0x190)]=setTimeout(()=>{var _0x313397=_0x532010;this[_0x313397(0x321)]();let _0x4dbe15=null;switch(this[_0x313397(0x2c6)]){case Q['UNIVER_SHEET']:{_0x4dbe15=Vt(this[_0x313397(0x1ee)],this[_0x313397(0x2cc)],this[_0x313397(0x2da)],this[_0x313397(0x29b)],this['_memberService']);break;}case Q[_0x313397(0x1c6)]:{this[_0x313397(0x1ee)][_0x313397(0x22a)](_0x21fd3c=>_0x21fd3c['id']===_0x4b2a2a['id'])?_0x4dbe15=Bs(this[_0x313397(0x1ee)],this[_0x313397(0x2cc)],this['_univerInstanceService'],this[_0x313397(0x29b)],this[_0x313397(0x2c2)]):_0x4dbe15=Vt(this[_0x313397(0x1ee)],this[_0x313397(0x2cc)],this['_univerInstanceService'],this[_0x313397(0x29b)],this[_0x313397(0x2c2)]);break;}default:throw new Error(_0x313397(0x3f9)+this['type']+_0x313397(0x229));}const {changeset:_0x5c8f84,pendingMutations:_0x4d20f8}=_0x4dbe15;this[_0x313397(0x302)][_0x313397(0x225)](_0x5c8f84);const _0x273067=_0x4d20f8[_0x313397(0xfe)]?this['_injector'][_0x313397(0x2a5)](oe,this[_0x313397(0x2cc)],this[_0x313397(0x2c6)],_0x5c8f84,_0x4d20f8,this[_0x313397(0x302)],void 0x0):this[_0x313397(0x2c0)]['createInstance'](le,this[_0x313397(0x2cc)],this[_0x313397(0x2c6)],_0x5c8f84,this[_0x313397(0x302)]);_0x273067[_0x313397(0x308)](),this[_0x313397(0x302)]['onStateChange'](this,_0x273067);},_0x2fc8a6);}[_0xff6382(0x1e6)](){var _0x440ffb=_0xff6382,_0x27d5f6;const _0x4fa790=this[_0x440ffb(0x1e2)]['getConfig'](K);return(_0x27d5f6=_0x4fa790==null?void 0x0:_0x4fa790['sendChangesetTimeout'])!=null?_0x27d5f6:ms;}[_0xff6382(0x300)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0xff6382(0x400)](_0x1d7f7b){var _0x557f7e=_0xff6382;return this[_0x557f7e(0x321)](),this[_0x557f7e(0x2c0)][_0x557f7e(0x2a5)](ue,this[_0x557f7e(0x2cc)],this['type'],null,this[_0x557f7e(0x1ee)],this[_0x557f7e(0x302)],_0x1d7f7b);}};ae=Se([w(0x4,_0x26f1c4(_0x479e14)),w(0x5,_0x26f1c4(_0x2ccc8a)),w(0x6,_0x26f1c4(Pe)),w(0x7,_0x4b39d4),w(0x8,_0x53c0da),w(0x9,_0x5839d5),w(0xa,_0x3a8ddb),w(0xb,_0x3c78cc),w(0xc,_0x5c3c47),w(0xd,_0x197a74(X))],ae);let le=class extends ge{constructor(_0x52e7d9,_0x26dbca,_0xe287b7,_0x5b1892,_0x5eecd5,_0x94d854,_0x480853,_0x4c9f4e,_0x2a3d72,_0x25df31,_0x49c773){var _0x4bf7f2=_0xff6382;super(_0x52e7d9,_0x26dbca,_0xe287b7,[],_0x5b1892,_0x480853,_0x25df31,_0x94d854,_0x49c773),D(this,_0x4bf7f2(0x22e),_0x4bf7f2(0x2e0)),D(this,'_resendTimeout',0x0),D(this,_0x4bf7f2(0x270),0x0),D(this,_0x4bf7f2(0x19e)),D(this,'_sender'),(this[_0x4bf7f2(0x2c0)]=_0x5eecd5,this['_logService']=_0x4c9f4e,this['_transformService']=_0x2a3d72);}[_0xff6382(0x1c4)](_0x1f8126){var _0x3d5deb=_0xff6382;this[_0x3d5deb(0x321)]();const _0x179a36=this['_injector'][_0x3d5deb(0x2a5)](oe,this['unitID'],this['type'],this[_0x3d5deb(0x1f9)],[_0x1f8126],this['_handler'],this[_0x3d5deb(0x19e)]);return _0x179a36[_0x3d5deb(0x308)](),_0x179a36;}[_0xff6382(0x212)](_0x234876){var _0x32f2d1=_0xff6382;if(this['_checkMissing'](_0x234876))return this[_0x32f2d1(0x321)](),this['_injector'][_0x32f2d1(0x2a5)](ee,this[_0x32f2d1(0x2cc)],this[_0x32f2d1(0x2c6)],this[_0x32f2d1(0x1f9)],[],null,[_0x234876],this[_0x32f2d1(0x302)]);try{const _0x50a31f=this['_transformService'][_0x32f2d1(0xf0)]([_0x234876],[this[_0x32f2d1(0x1f9)]],!0x1);if(_0x195351(_0x50a31f)){const {c1Prime:_0x32561b,c2Prime:_0x59d754}=_0x50a31f;this['_executeRemoteChangeset'](_0x32561b[0x0]),_0x59d754[0x0][_0x32f2d1(0x3f2)]=this['_getCurrentRevision'](),this[_0x32f2d1(0x321)]();const _0x2fc2ee=this[_0x32f2d1(0x2c0)][_0x32f2d1(0x2a5)](le,this['unitID'],this[_0x32f2d1(0x2c6)],_0x59d754[0x0],this[_0x32f2d1(0x302)]);return _0x2fc2ee[_0x32f2d1(0x308)](),_0x2fc2ee;}return this[_0x32f2d1(0x400)](!0x1);}catch(_0x20c8cc){return this['_logService'][_0x32f2d1(0x220)](_0x20c8cc),this[_0x32f2d1(0x400)](!0x1);}}[_0xff6382(0x37f)](_0x2dd27d){var _0x5c3f0b=_0xff6382;this[_0x5c3f0b(0x321)]();const _0x2acad3=this['_revisionService'][_0x5c3f0b(0x3af)](this[_0x5c3f0b(0x2cc)]);if(_0x2dd27d[_0x5c3f0b(0x3a5)]<_0x2acad3-0x1)return this;if(this[_0x5c3f0b(0x244)](_0x2dd27d))return this['_injector'][_0x5c3f0b(0x2a5)](ee,this[_0x5c3f0b(0x2cc)],this[_0x5c3f0b(0x2c6)],null,[],this[_0x5c3f0b(0x1f9)],[],this[_0x5c3f0b(0x302)]);this[_0x5c3f0b(0x1a0)]();const _0x31b88d=this['_injector']['createInstance'](be,this[_0x5c3f0b(0x2cc)],this['type'],this['_handler']);return _0x31b88d[_0x5c3f0b(0x308)](),_0x31b88d;}[_0xff6382(0x268)](_0x352955){var _0x5dd2fb=_0xff6382;return this[_0x5dd2fb(0x400)](!!(_0x352955!=null&&_0x352955[_0x5dd2fb(0x2fb)]));}[_0xff6382(0x28d)](_0x16f680){var _0x20efe6=_0xff6382;return this['_maxTotalRetryTimeout']>Ti?this['toggleOffline']():(this[_0x20efe6(0x19e)]=Ii(this[_0x20efe6(0x2c7)],{'timeout':this['_resendTimeout'],'reqId':_0x16f680[_0x20efe6(0xe6)]}),this[_0x20efe6(0x1a9)]=this[_0x20efe6(0x19e)][_0x20efe6(0x33c)](({reqId:_0xf5faa9,timeout:_0x3c71e8})=>{var _0x477a52=_0x20efe6;this[_0x477a52(0x32d)](_0xf5faa9,_0x3c71e8);}),this);}['toggleOffline'](){var _0x4e98a3=_0xff6382;return this['_clearScheduledTask'](),this['_injector'][_0x4e98a3(0x2a5)](de,this[_0x4e98a3(0x2cc)],this[_0x4e98a3(0x2c6)],this[_0x4e98a3(0x1f9)],[],this[_0x4e98a3(0x302)]);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x300)](){var _0x4aaa47=_0xff6382;this[_0x4aaa47(0x302)][_0x4aaa47(0x225)](this['_awaitingChangeset']);}[_0xff6382(0x400)](_0x35fd85){var _0x4d39a8=_0xff6382;return this[_0x4d39a8(0x321)](),this[_0x4d39a8(0x2c0)][_0x4d39a8(0x2a5)](ue,this['unitID'],this['type'],this[_0x4d39a8(0x1f9)],[],this[_0x4d39a8(0x302)],_0x35fd85);}[_0xff6382(0x32d)](_0xce3ff1,_0x1be462){var _0xae0695=_0xff6382,_0x3a9d44;_0xce3ff1===((_0x3a9d44=this[_0xae0695(0x1f9)])==null?void 0x0:_0x3a9d44[_0xae0695(0xe6)])&&(this[_0xae0695(0x300)](),this[_0xae0695(0x2c7)]=_0x1be462===0x0?0x3e8:Math[_0xae0695(0x332)](_0x1be462*0x2,gi),this[_0xae0695(0x270)]+=this[_0xae0695(0x2c7)]);}[_0xff6382(0x321)](){var _0xa9aad1=_0xff6382,_0x13d1f2;(_0x13d1f2=this[_0xa9aad1(0x1a9)])==null||_0x13d1f2[_0xa9aad1(0x299)](),this['_resendTimeout']=0x0,this[_0xa9aad1(0x270)]=0x0;}};le=Se([w(0x4,_0x26f1c4(_0x479e14)),w(0x5,_0x26f1c4(_0x2ccc8a)),w(0x6,_0x53c0da),w(0x7,_0x4b39d4),w(0x8,_0x3a8ddb),w(0x9,_0x5c3c47),w(0xa,_0x197a74(X))],le);let oe=class extends ge{constructor(_0x597514,_0xf5726d,_0x47e1cc,_0x354c32,_0x12af0b,_0x9149ef,_0x2d791c,_0x5493b1,_0x43af38,_0xba6bec,_0x3c447a,_0x33006b,_0x539f03){var _0x170e00=_0xff6382;super(_0x597514,_0xf5726d,_0x47e1cc,_0x354c32,_0x12af0b,_0x43af38,_0x33006b,_0x5493b1,_0x539f03),D(this,'status',_0x170e00(0x216)),D(this,_0x170e00(0x2c7),0x0),D(this,_0x170e00(0x270),0x0),D(this,_0x170e00(0x19e)),D(this,_0x170e00(0x1a9)),(this[_0x170e00(0x2c0)]=_0x2d791c,this[_0x170e00(0x16e)]=_0xba6bec,this[_0x170e00(0x1db)]=_0x3c447a,this[_0x170e00(0x139)]=_0x539f03,_0x9149ef&&(this[_0x170e00(0x19e)]=_0x9149ef,this['_sender']=this['_resendTimer'][_0x170e00(0x33c)](({reqId:_0x5c5569,timeout:_0x5ffcb9})=>{this['_resendWithTimeout'](_0x5c5569,_0x5ffcb9);})));}['appendMutation'](_0x2f433b){var _0x222888=_0xff6382;return this[_0x222888(0x1ee)][_0x222888(0x1ed)](_0x2f433b),this;}['onRemoteChangeset'](_0x106ea9){var _0xb22c14=_0xff6382;if(this[_0xb22c14(0x244)](_0x106ea9))return this['_clearScheduledTask'](),this[_0xb22c14(0x2c0)][_0xb22c14(0x2a5)](ee,this[_0xb22c14(0x2cc)],this['type'],this[_0xb22c14(0x1f9)],this[_0xb22c14(0x1ee)],null,[_0x106ea9],this[_0xb22c14(0x302)]);try{const _0x5b32b0=this[_0xb22c14(0x1db)]['transformChangesets']([_0x106ea9],[this[_0xb22c14(0x1f9)]],!0x1);if(_0x195351(_0x5b32b0)){const {c1Prime:_0xab7acc,c2Prime:_0x426b72}=_0x5b32b0,_0x582fce=this[_0xb22c14(0x1db)]['transformMutationsWithChangeset'](_0xab7acc[0x0],this[_0xb22c14(0x1ee)]);if(_0x2662f6(_0x582fce)){const {c1Prime:_0x5b0ce1,m2Prime:_0x44d099}=_0x582fce;return this['_executeRemoteChangeset'](_0x5b0ce1),_0x426b72[0x0][_0xb22c14(0x3f2)]=this[_0xb22c14(0x2f3)](),this[_0xb22c14(0x321)](),this[_0xb22c14(0x2c0)][_0xb22c14(0x2a5)](oe,this['unitID'],this[_0xb22c14(0x2c6)],_0x426b72[0x0],_0x44d099,this['_handler'],void 0x0);}throw _0x582fce[_0xb22c14(0x220)];}throw _0x5b32b0[_0xb22c14(0x220)];}catch(_0x2f7df7){return this[_0xb22c14(0x16e)][_0xb22c14(0x220)](_0x2f7df7),this[_0xb22c14(0x400)](!0x1);}}[_0xff6382(0x37f)](_0x3a7030){var _0x40d795=_0xff6382;if(this['_clearScheduledTask'](),this[_0x40d795(0x244)](_0x3a7030))return this[_0x40d795(0x2c0)][_0x40d795(0x2a5)](ee,this[_0x40d795(0x2cc)],this[_0x40d795(0x2c6)],null,this[_0x40d795(0x1ee)],this[_0x40d795(0x1f9)],[],this[_0x40d795(0x302)]);this[_0x40d795(0x1a0)]();const _0x4a9c60=this['_injector'][_0x40d795(0x2a5)](ae,this[_0x40d795(0x2cc)],this['type'],this[_0x40d795(0x1ee)],this[_0x40d795(0x302)]);return _0x4a9c60[_0x40d795(0x2a8)](),_0x4a9c60[_0x40d795(0x308)](),_0x4a9c60;}[_0xff6382(0x268)](_0xddff9c){var _0xa3643d=_0xff6382;return this[_0xa3643d(0x400)](!!(_0xddff9c!=null&&_0xddff9c[_0xa3643d(0x2fb)]));}[_0xff6382(0x28d)](_0x534380){var _0x3d58f8=_0xff6382;return this[_0x3d58f8(0x270)]>Ti?this[_0x3d58f8(0x18b)]():(this[_0x3d58f8(0x19e)]=Ii(this[_0x3d58f8(0x2c7)],{'timeout':this[_0x3d58f8(0x2c7)],'reqId':_0x534380['reqId']}),this[_0x3d58f8(0x1a9)]=this[_0x3d58f8(0x19e)][_0x3d58f8(0x33c)](({reqId:_0x5adffc,timeout:_0x459674})=>{var _0xdf938b=_0x3d58f8;this[_0xdf938b(0x32d)](_0x5adffc,_0x459674);}),this);}[_0xff6382(0x18b)](){var _0xab2f4b=_0xff6382;return this[_0xab2f4b(0x321)](),this[_0xab2f4b(0x2c0)][_0xab2f4b(0x2a5)](de,this['unitID'],this[_0xab2f4b(0x2c6)],this[_0xab2f4b(0x1f9)],this[_0xab2f4b(0x1ee)],this['_handler']);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x300)](){var _0x44e105=_0xff6382;this[_0x44e105(0x302)]['onSendChangeset'](this[_0x44e105(0x1f9)]);}[_0xff6382(0x400)](_0x14150a){var _0x284ed7=_0xff6382;return this[_0x284ed7(0x321)](),this[_0x284ed7(0x2c0)][_0x284ed7(0x2a5)](ue,this['unitID'],this[_0x284ed7(0x2c6)],null,this[_0x284ed7(0x1ee)],this['_handler'],_0x14150a);}['_resendWithTimeout'](_0x508dc3,_0xef5028){var _0x4872f3=_0xff6382,_0x3b63d1;_0x508dc3===((_0x3b63d1=this['_awaitingChangeset'])==null?void 0x0:_0x3b63d1[_0x4872f3(0xe6)])&&(this['resend'](),this[_0x4872f3(0x2c7)]=_0xef5028===0x0?0x3e8:Math[_0x4872f3(0x332)](_0xef5028*0x2,gi),this[_0x4872f3(0x270)]+=this[_0x4872f3(0x2c7)]);}[_0xff6382(0x321)](){var _0x18f5b5=_0xff6382,_0x2f3397;(_0x2f3397=this[_0x18f5b5(0x1a9)])==null||_0x2f3397[_0x18f5b5(0x299)](),this[_0x18f5b5(0x2c7)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};oe=Se([w(0x6,_0x26f1c4(_0x479e14)),w(0x7,_0x26f1c4(_0x2ccc8a)),w(0x8,_0x53c0da),w(0x9,_0x4b39d4),w(0xa,_0x3a8ddb),w(0xb,_0x5c3c47),w(0xc,_0x197a74(X))],oe);let ue=class extends ge{constructor(_0xd589b1,_0x4c1fd9,_0x5a5653,_0x35c596,_0x1cd682,_0x355d69=!0x1,_0x4cbdf7,_0x14ce56,_0xdfd5e9,_0x230ce8,_0x468419,_0xcc5c2c,_0x180a6f){var _0x49716a=_0xff6382;super(_0xd589b1,_0x4c1fd9,_0x5a5653,_0x35c596,_0x1cd682,_0x14ce56,_0xdfd5e9,_0x230ce8,_0x180a6f),D(this,_0x49716a(0x22e),'conflict'),(this['_isPermissionRej']=_0x355d69,this['_permissionService']=_0x4cbdf7,this[_0x49716a(0x1e4)]=_0x468419,this[_0x49716a(0x3b9)]=_0xcc5c2c,this[_0x49716a(0x139)]=_0x180a6f,this[_0x49716a(0x331)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0xff6382(0x1c4)](){return this;}[_0xff6382(0x212)](){return this;}[_0xff6382(0x37f)](){return this;}['onRemoteRej'](){return this;}[_0xff6382(0x28d)](){return this;}[_0xff6382(0x18b)](){return this;}[_0xff6382(0x355)](){return this;}[_0xff6382(0x300)](){var _0x21b6fb=_0xff6382;throw new Error(_0x21b6fb(0x3b5));}[_0xff6382(0x324)](){var _0xb857b9=_0xff6382,_0x20293e;(_0x20293e=this[_0xb857b9(0xe9)])==null||_0x20293e[_0xb857b9(0x314)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x19c846=_0xff6382;this[_0x19c846(0x115)]?this[_0x19c846(0x3b9)]['emitEvent']({'id':re[_0x19c846(0x379)]}):this['_collaborationUIEventService'][_0x19c846(0x26e)]({'id':re[_0x19c846(0x1dc)]});}[_0xff6382(0x32a)](){var _0x32d549=_0xff6382;this[_0x32d549(0x176)]['updatePermissionPoint'](new _0x1dc0bf(this[_0x32d549(0x2cc)])['id'],!0x1);}};ue=Se([w(0x6,_0x26f1c4(_0x1ce666)),w(0x7,_0x53c0da),w(0x8,_0x5c3c47),w(0x9,_0x26f1c4(_0x2ccc8a)),w(0xa,_0x26f1c4(_0x40557f)),w(0xb,_0x26f1c4(ve)),w(0xc,_0x197a74(X))],ue);let de=class extends ge{constructor(_0x3e552a,_0x3eab1d,_0xc669ee,_0x38de16,_0x375f00,_0x43aecf,_0xcd52c6,_0x4603b9,_0xc5706c,_0x2abcd0){var _0x3bdeb5=_0xff6382;super(_0x3e552a,_0x3eab1d,_0xc669ee,_0x38de16,_0x375f00,_0x4603b9,_0xc5706c,_0xcd52c6,_0x2abcd0),D(this,'status',_0x3bdeb5(0x352)),this[_0x3bdeb5(0x2c0)]=_0x43aecf;}[_0xff6382(0x1c4)](_0x131332){var _0x52b303=_0xff6382;return this[_0x52b303(0x1ee)][_0x52b303(0x1ed)](_0x131332),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x5f5159){var _0x155b8d=_0xff6382;throw new Error(_0x155b8d(0x1bc));}[_0xff6382(0x37f)](){var _0x1cb37d=_0xff6382;throw new Error(_0x1cb37d(0x23f));}['onRemoteRej'](){var _0x494da5=_0xff6382;throw new Error(_0x494da5(0x21e));}[_0xff6382(0x28d)](){return this;}[_0xff6382(0x18b)](){return this;}[_0xff6382(0x355)](){var _0x479d17=_0xff6382;const {_injector:_0x46c6c8,_pendingMutations:_0x41054f,_awaitingChangeset:_0x2154ff,unitID:_0x4701e7,_handler:_0x33251c,type:_0x3b052c}=this,_0x5cfa32=Oi(_0x46c6c8,_0x4701e7,_0x3b052c,_0x2154ff,_0x41054f,_0x33251c);return _0x5cfa32 instanceof ae?_0x5cfa32[_0x479d17(0x2a8)]():(_0x5cfa32 instanceof oe||_0x5cfa32 instanceof le)&&_0x5cfa32[_0x479d17(0x300)](),_0x5cfa32;}[_0xff6382(0x300)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x26f1c4(_0x479e14)),w(0x6,_0x26f1c4(_0x2ccc8a)),w(0x7,_0x53c0da),w(0x8,_0x5c3c47),w(0x9,_0x197a74(X))],de);let ee=class extends ge{constructor(_0x126d76,_0x267cee,_0x4c3b9a,_0x17a757,_0x1e94bd,_0x2fba85,_0x2969c3,_0x37755f,_0x3b0de4,_0x4ea8d0,_0x2cfd0b,_0x4916bf,_0x39f283,_0x2251e4){var _0x43ab25=_0xff6382;super(_0x126d76,_0x267cee,_0x4c3b9a,_0x17a757,_0x2969c3,_0x2cfd0b,_0x4916bf,_0x3b0de4,_0x2251e4),D(this,_0x43ab25(0x22e),_0x43ab25(0x272)),(this['_acknowledgedAwaitingChangeset']=_0x1e94bd,this[_0x43ab25(0x227)]=_0x2fba85,this[_0x43ab25(0x2c0)]=_0x37755f,this[_0x43ab25(0x16e)]=_0x4ea8d0,this['_transformService']=_0x39f283,this[_0x43ab25(0x139)]=_0x2251e4);}[_0xff6382(0x103)](_0x1b6090){var _0x3051d7=_0xff6382;try{const _0x20aad5=[..._0x1b6090,...this[_0x3051d7(0x227)]],_0x2083d0=[this[_0x3051d7(0x1f9)]||this[_0x3051d7(0x174)]][_0x3051d7(0x265)](_0xacd08b=>!!_0xacd08b);let _0x33fe85,_0x543536;if(_0x2083d0[_0x3051d7(0xfe)]){const _0xb2aab7=this[_0x3051d7(0x1db)]['transformChangesets'](_0x20aad5,_0x2083d0,!0x1);if(!_0x195351(_0xb2aab7))throw _0xb2aab7[_0x3051d7(0x220)];_0x33fe85=_0xb2aab7[_0x3051d7(0x14f)],_0x543536=_0xb2aab7[_0x3051d7(0x3a1)];}else _0x33fe85=_0x20aad5,_0x543536=[];let _0x3cb942=this[_0x3051d7(0x1ee)];_0x33fe85['forEach'](_0x59de67=>{var _0xa8577c=_0x3051d7;let _0xaee471;if(_0x3cb942[_0xa8577c(0xfe)]){const _0x5f5356=this[_0xa8577c(0x1db)][_0xa8577c(0x123)](_0x59de67,_0x3cb942);if(!_0x2662f6(_0x5f5356))throw _0x5f5356[_0xa8577c(0x220)];_0xaee471=_0x5f5356[_0xa8577c(0x14f)],_0x3cb942=_0x5f5356[_0xa8577c(0x14b)];}else _0xaee471=_0x59de67;this[_0xa8577c(0x211)](_0xaee471);}),this[_0x3051d7(0x174)]&&this[_0x3051d7(0x1a0)](),this[_0x3051d7(0x1f9)]&&_0x543536[_0x3051d7(0xfe)]&&(_0x543536[0x0][_0x3051d7(0x3f2)]=this[_0x3051d7(0x2f3)]());let _0x47d910;if(this[_0x3051d7(0x1f9)]&&_0x3cb942[_0x3051d7(0xfe)]!==0x0)_0x47d910=this[_0x3051d7(0x2c0)][_0x3051d7(0x2a5)](oe,this[_0x3051d7(0x2cc)],this[_0x3051d7(0x2c6)],_0x543536[0x0],_0x3cb942,this['_handler'],void 0x0);else{if(this[_0x3051d7(0x1f9)]&&_0x3cb942[_0x3051d7(0xfe)]===0x0)_0x543536[0x0][_0x3051d7(0x3f2)]=this[_0x3051d7(0x2f3)](),_0x47d910=this[_0x3051d7(0x2c0)][_0x3051d7(0x2a5)](le,this[_0x3051d7(0x2cc)],this[_0x3051d7(0x2c6)],_0x543536[0x0],this[_0x3051d7(0x302)]);else{if(_0x3cb942[_0x3051d7(0xfe)]!==0x0){const _0x49eddb=this[_0x3051d7(0x2c0)][_0x3051d7(0x2a5)](ae,this['unitID'],this[_0x3051d7(0x2c6)],_0x3cb942,this[_0x3051d7(0x302)]);_0x49eddb[_0x3051d7(0x2a8)](),_0x47d910=_0x49eddb;}else _0x47d910=this[_0x3051d7(0x2c0)]['createInstance'](be,this[_0x3051d7(0x2cc)],this[_0x3051d7(0x2c6)],this[_0x3051d7(0x302)]);}}return _0x47d910[_0x3051d7(0x308)](),_0x47d910;}catch(_0x4e216e){return this[_0x3051d7(0x16e)][_0x3051d7(0x220)](_0x3051d7(0x340),_0x3051d7(0x3b3),_0x4e216e),this[_0x3051d7(0x2c0)][_0x3051d7(0x2a5)](ue,this[_0x3051d7(0x2cc)],this['type'],this[_0x3051d7(0x1f9)],this[_0x3051d7(0x1ee)],this['_handler'],!0x1);}}['resend'](){var _0x3f27e0=_0xff6382;throw new Error(_0x3f27e0(0x1f8));}[_0xff6382(0x1c4)](_0x5199d6){var _0x606c62=_0xff6382;return this[_0x606c62(0x1ee)][_0x606c62(0x1ed)](_0x5199d6),this;}[_0xff6382(0x212)](_0x140e9e){var _0x35de8d=_0xff6382;return this['_queuedRemoteChangesets'][_0x35de8d(0x1ed)](_0x140e9e),this;}['onRemoteAck'](_0x42384d){var _0x2948f3=_0xff6382;if(this[_0x2948f3(0x1f9)])return this[_0x2948f3(0x174)]=this[_0x2948f3(0x1f9)],this[_0x2948f3(0x1f9)]=null,this;throw new Error(_0x2948f3(0x1bd));}[_0xff6382(0x268)](_0x3c7f24){var _0x6bf081=_0xff6382;return this[_0x6bf081(0x400)](!!(_0x3c7f24!=null&&_0x3c7f24[_0x6bf081(0x2fb)]));}[_0xff6382(0x28d)](){return this;}[_0xff6382(0x18b)](){var _0x3f6a8d=_0xff6382;return this[_0x3f6a8d(0x2c0)][_0x3f6a8d(0x2a5)](de,this[_0x3f6a8d(0x2cc)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3f6a8d(0x302)]);}[_0xff6382(0x355)](){return this;}[_0xff6382(0x400)](_0x323fa1){var _0x57a6e1=_0xff6382;return this[_0x57a6e1(0x2c0)][_0x57a6e1(0x2a5)](ue,this[_0x57a6e1(0x2cc)],this[_0x57a6e1(0x2c6)],this[_0x57a6e1(0x1f9)],this[_0x57a6e1(0x1ee)],this[_0x57a6e1(0x302)],_0x323fa1);}};ee=Se([w(0x7,_0x26f1c4(_0x479e14)),w(0x8,_0x26f1c4(_0x2ccc8a)),w(0x9,_0x4b39d4),w(0xa,_0x53c0da),w(0xb,_0x5c3c47),w(0xc,_0x3a8ddb),w(0xd,_0x197a74(X))],ee);function Oi(_0x353447,_0x4ee691,_0x27fdf7,_0x55e555,_0x1111ac,_0x54cff0){var _0x3f9e76=_0xff6382;return _0x55e555&&_0x1111ac[_0x3f9e76(0xfe)]?_0x353447[_0x3f9e76(0x2a5)](oe,_0x4ee691,_0x27fdf7,_0x55e555,_0x1111ac,_0x54cff0,void 0x0):_0x55e555?_0x353447[_0x3f9e76(0x2a5)](le,_0x4ee691,_0x27fdf7,_0x55e555,_0x54cff0):_0x1111ac[_0x3f9e76(0xfe)]?_0x353447['createInstance'](ae,_0x4ee691,_0x27fdf7,_0x1111ac,_0x54cff0):_0x353447[_0x3f9e76(0x2a5)](be,_0x4ee691,_0x27fdf7,_0x54cff0);}var js=Object['getOwnPropertyDescriptor'],At=(_0x5d7443,_0x391bcb,_0x11372e,_0x5e7d29)=>{var _0x3ec166=_0xff6382;for(var _0x494ab0=_0x5e7d29>0x1?void 0x0:_0x5e7d29?js(_0x391bcb,_0x11372e):_0x391bcb,_0x43e77f=_0x5d7443[_0x3ec166(0xfe)]-0x1,_0x32f69d;_0x43e77f>=0x0;_0x43e77f--)(_0x32f69d=_0x5d7443[_0x43e77f])&&(_0x494ab0=_0x32f69d(_0x494ab0)||_0x494ab0);return _0x494ab0;},$=(_0x5e136b,_0x49908c)=>(_0x46aa41,_0x1146f0)=>_0x49908c(_0x46aa41,_0x1146f0,_0x5e136b);let st=class extends _0x1734f1{constructor(_0xe3855e,_0x31ce16,_0x99ba,_0x2f7ab2,_0x4f63d4,_0x1e0bea,_0x3f103d,_0x2d07a1,_0x1c4959,_0x312151,_0x315bf8,_0x416128,_0x2df1fc,_0x4e2aac){var _0x3a7687=_0xff6382;super(),D(this,_0x3a7687(0x133),new _0x409cb3(null)),D(this,_0x3a7687(0x112),this[_0x3a7687(0x133)][_0x3a7687(0x3ac)]()),D(this,_0x3a7687(0x27c)),D(this,_0x3a7687(0x1d9),!0x1),D(this,_0x3a7687(0x119),''),D(this,_0x3a7687(0x2a3),0x0),D(this,_0x3a7687(0x167),this['state$'][_0x3a7687(0x1fa)](_0x47a711(_0x5d09bc=>_0x5d09bc?_0x5d09bc['status']:Si[_0x3a7687(0x31b)]),_0x49ca7f(0x1))),D(this,_0x3a7687(0x147),!0x1),D(this,_0x3a7687(0x2c4),[]),(this['unitID']=_0xe3855e,this['session']=_0x31ce16,this[_0x3a7687(0x14c)]=_0x99ba,this[_0x3a7687(0x2c0)]=_0x2f7ab2,this[_0x3a7687(0x15f)]=_0x4f63d4,this[_0x3a7687(0x1e4)]=_0x1e0bea,this['_revisionService']=_0x3f103d,this[_0x3a7687(0x11c)]=_0x2d07a1,this[_0x3a7687(0x2da)]=_0x1c4959,this[_0x3a7687(0x16e)]=_0x312151,this[_0x3a7687(0x129)]=_0x315bf8,this[_0x3a7687(0x176)]=_0x416128,this[_0x3a7687(0x3c0)]=_0x2df1fc,this[_0x3a7687(0xe9)]=_0x4e2aac);}get['state'](){return this['_state'];}async[_0xff6382(0x12d)](){var _0x383e91=_0xff6382;if(this[_0x383e91(0x1ce)])throw new Error(_0x383e91(0x209));await this[_0x383e91(0x34d)]();}['pauseCollaboration'](){var _0x5e53d8=_0xff6382;return this[_0x5e53d8(0x1d9)]=!0x0,_0x5d435c(()=>{var _0x37a7be=_0x5e53d8;this[_0x37a7be(0x1d9)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x506f91){var _0x3f35ac=_0xff6382;this[_0x3f35ac(0x24d)](_0x506f91);}[_0xff6382(0x26f)](_0x5180e8){var _0x319e56=_0xff6382;this[_0x319e56(0x27c)]=_0x5180e8,this['_state$'][_0x319e56(0x118)](_0x5180e8);}async['_init'](){var _0xc34671=_0xff6382,_0x2965b1;this[_0xc34671(0x26f)](await this['_createInitialState']()),this[_0xc34671(0x3c0)]&&((_0x2965b1=this[_0xc34671(0x3c0)])==null||_0x2965b1[_0xc34671(0x2ec)](this[_0xc34671(0x2cc)]),this[_0xc34671(0x360)](this['_singleActiveUnitService'][_0xc34671(0x3eb)](this[_0xc34671(0x2cc)])[_0xc34671(0x33c)](_0x364f15=>{var _0x20d61e=_0xc34671;this[_0x20d61e(0x16e)][_0x20d61e(0x38c)](_0x20d61e(0x26d),_0x20d61e(0x152),_0x364f15),_0x364f15===mi['OTHER_CLIENTS_EDITING']?(this[_0x20d61e(0x11c)][_0x20d61e(0x26e)]({'id':re[_0x20d61e(0x2bf)]}),this['_permissionService'][_0x20d61e(0x12a)](new _0x1dc0bf(this['unitID'])['id'],!0x1),this['_permissionService'][_0x20d61e(0x1c1)](!0x1)):(this[_0x20d61e(0x176)][_0x20d61e(0x12a)](new _0x1dc0bf(this['unitID'])['id'],!0x0),this[_0x20d61e(0x176)][_0x20d61e(0x1c1)](!0x0));})));let _0x242241=!0x1;return this[_0xc34671(0x360)](this['session'][_0xc34671(0x3b4)][_0xc34671(0x33c)](_0x5f02ac=>{var _0x45f6b0=_0xc34671;_0x5f02ac===me[_0x45f6b0(0x3aa)]?this[_0x45f6b0(0x2e5)](_0x242241):_0x5f02ac===me[_0x45f6b0(0x31b)]&&(_0x242241=!0x0,this['_toggleOffline']());})),this[_0xc34671(0x360)](this[_0xc34671(0x10d)][_0xc34671(0x2be)][_0xc34671(0x33c)](_0x4ef7a9=>{var _0x20ffa4=_0xc34671;try{switch(_0x4ef7a9[_0x20ffa4(0x247)]){case _0x5561ca[_0x20ffa4(0x2e1)]:{this[_0x20ffa4(0x1e8)](_0x4e5b30(_0x4ef7a9[_0x20ffa4(0x39d)]));break;}case _0x5561ca['CHANGESET_ACK']:{this[_0x20ffa4(0x27d)](_0x4ef7a9[_0x20ffa4(0x39d)]);break;}case _0x5561ca[_0x20ffa4(0x256)]:{this['_onRemoteRejected']();break;}case _0x5561ca[_0x20ffa4(0x19a)]:{this[_0x20ffa4(0x26b)](_0x4ef7a9[_0x20ffa4(0x39d)]);break;}case _0x5561ca[_0x20ffa4(0x3b0)]:{this[_0x20ffa4(0x17b)](_0x4ef7a9[_0x20ffa4(0x39d)][_0x20ffa4(0x34c)][_0x20ffa4(0xf6)](_0x37fc14=>_0x4e5b30(_0x37fc14)));break;}case _0x5561ca[_0x20ffa4(0x102)]:{this[_0x20ffa4(0x144)]({'isPermissionRej':!0x0});break;}case _0x5561ca[_0x20ffa4(0x205)]:break;}}catch(_0x406007){throw console[_0x20ffa4(0x220)](_0x20ffa4(0x3ed),_0x406007),_0x406007;}})),this['_state'];}[_0xff6382(0x1c7)](){var _0x578015=_0xff6382;this[_0x578015(0x147)]=!0x1;}[_0xff6382(0x3a6)](){var _0x37edb9=_0xff6382;if(this[_0x37edb9(0x147)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0xff6382(0x24d)](_0x225c42){var _0x33dd24=_0xff6382;this[_0x33dd24(0x3a6)](),this[_0x33dd24(0x26f)](this[_0x33dd24(0x27c)][_0x33dd24(0x1c4)](_0x225c42)),this[_0x33dd24(0x1c7)]();}[_0xff6382(0x1e8)](_0x53972c){var _0x2afa59=_0xff6382;if(!(_0x53972c[_0x2afa59(0x3a5)]<=this['_revisionService'][_0x2afa59(0x3af)](this['unitID']))){if(this[_0x2afa59(0x1d9)]){this['_remoteChangesetQueue'][_0x2afa59(0x1ed)](_0x53972c);return;}this['_applyRemoteChangeset'](_0x53972c);}}[_0xff6382(0x356)](){var _0x5570c6=_0xff6382;this[_0x5570c6(0x2c4)][_0x5570c6(0x3bd)](_0x258902=>this['_applyRemoteChangeset'](_0x258902)),this['_remoteChangesetQueue']=[];}[_0xff6382(0x372)](_0x325406){var _0x41bb9e=_0xff6382;const _0x411adf=this[_0x41bb9e(0x15f)]['interceptor'][_0x41bb9e(0x342)](this['_compressMutationService'][_0x41bb9e(0x257)]['getInterceptPoints']()[_0x41bb9e(0x215)])(_0x325406[_0x41bb9e(0x3ae)],null)||_0x325406[_0x41bb9e(0x3ae)],_0x2af27d={..._0x325406,'mutations':_0x411adf};this['_lockTransition'](),this[_0x41bb9e(0x26f)](this['_state']['onRemoteChangeset'](_0x2af27d)),this[_0x41bb9e(0x1c7)]();}[_0xff6382(0x27d)](_0x5aece0){var _0x30c55c=_0xff6382;this['_lockTransition'](),this[_0x30c55c(0x26f)](this[_0x30c55c(0x27c)][_0x30c55c(0x37f)](_0x5aece0)),this[_0x30c55c(0x1c7)]();}[_0xff6382(0x144)](_0x3012b3){var _0xd9f8b=_0xff6382;this[_0xd9f8b(0x3a6)](),this[_0xd9f8b(0x26f)](this[_0xd9f8b(0x27c)][_0xd9f8b(0x268)](_0x3012b3)),this[_0xd9f8b(0x1c7)]();}[_0xff6382(0x26b)](_0x59a62f){var _0x20e1dc=_0xff6382;this[_0x20e1dc(0x3a6)](),this[_0x20e1dc(0x26f)](this[_0x20e1dc(0x27c)][_0x20e1dc(0x28d)](_0x59a62f)),this['_unlockTransition']();}[_0xff6382(0x17b)](_0x305916){var _0x475287=_0xff6382;if(!(this[_0x475287(0x27c)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x6aed41=_0x305916['map'](_0x1de35a=>{var _0x4a42db=_0x475287;const _0x473161=this[_0x4a42db(0x15f)][_0x4a42db(0x257)][_0x4a42db(0x342)](this['_compressMutationService']['interceptor'][_0x4a42db(0x1af)]()[_0x4a42db(0x215)])(_0x1de35a['mutations'],null)||_0x1de35a[_0x4a42db(0x3ae)];return{..._0x1de35a,'mutations':_0x473161};});this[_0x475287(0x3a6)](),this['_updateState'](this['_state'][_0x475287(0x103)](_0x6aed41)),this['_unlockTransition']();}['_toggleOffline'](){var _0x2705ed=_0xff6382;this[_0x2705ed(0x3a6)](),this[_0x2705ed(0x26f)](this[_0x2705ed(0x27c)][_0x2705ed(0x18b)]()),this['_unlockTransition']();}['_toggleOnline'](_0x4e5820=!0x1){var _0x30ee4e=_0xff6382;this[_0x30ee4e(0x3a6)](),this[_0x30ee4e(0x26f)](this[_0x30ee4e(0x27c)][_0x30ee4e(0x355)]()),this[_0x30ee4e(0x1c7)]();const _0x13a381=this[_0x30ee4e(0x27c)];_0x4e5820&&_0x13a381 instanceof be&&(this[_0x30ee4e(0x3a6)](),this[_0x30ee4e(0x26f)](_0x13a381[_0x30ee4e(0x1b4)]()),this[_0x30ee4e(0x1c7)]());}async[_0xff6382(0x271)](){return new Promise(_0x3a8ba1=>{var _0x4510ed=_0x3f92;this[_0x4510ed(0x10d)][_0x4510ed(0x3b4)]['pipe'](_0x5c7bfd(0x1))[_0x4510ed(0x33c)](async _0xbe88dd=>{var _0x446309=_0x4510ed;_0x3a8ba1(await this[_0x446309(0x171)](_0xbe88dd===me[_0x446309(0x3aa)]));});});}[_0xff6382(0x343)](){var _0x4b54d1=_0xff6382;const _0x1bbf71=this[_0x4b54d1(0x2cc)];return{'onStateChange':(_0x2025c6,_0xfa0824)=>{var _0x4cf239=_0x4b54d1;if(_0x2025c6!==this[_0x4cf239(0x27c)])throw new Error(_0x4cf239(0xf1)+_0x2025c6[_0x4cf239(0x22e)]+_0x4cf239(0x18d)+_0xfa0824[_0x4cf239(0x22e)]+_0x4cf239(0x136)+this['_state'][_0x4cf239(0x22e)]);this[_0x4cf239(0x26f)](_0xfa0824);},'onSendChangeset':_0x478edf=>{var _0x4c9f1e=_0x4b54d1;_0x478edf[_0x4c9f1e(0x1df)]||(_0x478edf[_0x4c9f1e(0x1df)]=this[_0x4c9f1e(0x119)],_0x478edf[_0x4c9f1e(0xe6)]=++this[_0x4c9f1e(0x2a3)]);const _0x5c1de0={'eventID':_0x5561ca['SUBMIT_CHANGESET'],'data':{'unitID':_0x478edf[_0x4c9f1e(0x2cc)],'unitType':this['_type'],'changeset':_0x478edf,'memberID':this[_0x4c9f1e(0x10d)][_0x4c9f1e(0x336)]()}};this[_0x4c9f1e(0x10d)][_0x4c9f1e(0x1b2)](_0x5c1de0,this[_0x4c9f1e(0x2cc)]);},'onMissingChangesets':({from:_0x5894c7,to:_0x1bdd16})=>{var _0x187015=_0x4b54d1;this[_0x187015(0x16e)]['debug']('[CollaborationEntity]',_0x187015(0x269)+_0x5894c7+'\x20to\x20'+_0x1bdd16);const _0x2eb902={'eventID':_0x5561ca['FETCH_MISSING'],'data':{'unitID':_0x1bbf71,'unitType':this['_type'],'from':_0x5894c7,'to':_0x1bdd16}};this[_0x187015(0x10d)][_0x187015(0x1b2)](_0x2eb902,this[_0x187015(0x2cc)]);}};}async[_0xff6382(0x171)](_0x3001d5){var _0x1912bd=_0xff6382,_0x1540b3,_0x29c01f,_0x57018e;const _0x2b3e0f=await((_0x1540b3=this[_0x1912bd(0xe9)])==null?void 0x0:_0x1540b3[_0x1912bd(0xfa)](this[_0x1912bd(0x2cc)])),_0x387978=(_0x29c01f=_0x2b3e0f==null?void 0x0:_0x2b3e0f[_0x1912bd(0x3ae)])!=null?_0x29c01f:[],_0xd415fb=(_0x57018e=_0x2b3e0f==null?void 0x0:_0x2b3e0f['awaitingChangeset'])!=null?_0x57018e:null,_0x41dc27=!!(_0xd415fb!=null&&_0xd415fb[_0x1912bd(0x1df)])&&!!(_0xd415fb!=null&&_0xd415fb[_0x1912bd(0xe6)]);this[_0x1912bd(0x119)]=_0x41dc27?_0xd415fb[_0x1912bd(0x1df)]:_0xb01c14(),this['_changesetReqId']=_0x41dc27?_0xd415fb[_0x1912bd(0xe6)]:0x0;const _0x863a0c=this['unitID'];try{this['_replayCachedMutations'](_0xd415fb,_0x387978);}catch(_0x2a7cd9){this[_0x1912bd(0x16e)][_0x1912bd(0x220)](_0x2a7cd9);}const _0x50ccce=this[_0x1912bd(0x343)]();if(_0x3001d5){const _0xe7de03=Oi(this[_0x1912bd(0x2c0)],_0x863a0c,this[_0x1912bd(0x14c)],_0xd415fb,_0x387978,_0x50ccce);return _0xe7de03 instanceof ae?_0xe7de03[_0x1912bd(0x2a8)]():(_0xe7de03 instanceof oe||_0xe7de03 instanceof le)&&_0xe7de03[_0x1912bd(0x300)](),_0xe7de03;}return this[_0x1912bd(0x2c0)][_0x1912bd(0x2a5)](de,_0x863a0c,this['_type'],_0xd415fb,_0x387978,_0x50ccce);}[_0xff6382(0x289)](_0x72b000,_0x18d3da){var _0x33e7c9=_0xff6382,_0x18e039,_0xfb302a;const _0x2d6ae4=this[_0x33e7c9(0x15f)][_0x33e7c9(0x257)]['fetchThroughInterceptors'](this[_0x33e7c9(0x15f)][_0x33e7c9(0x257)][_0x33e7c9(0x1af)]()[_0x33e7c9(0x215)]);(_0x18e039=_0x2d6ae4((_0x72b000==null?void 0x0:_0x72b000['mutations'])||[],null))==null||_0x18e039[_0x33e7c9(0x3bd)](_0x40ba20=>this[_0x33e7c9(0x129)]['executeCommand'](_0x40ba20['id'],_0x40ba20[_0x33e7c9(0x2d8)])),(_0xfb302a=_0x2d6ae4(_0x18d3da||[],null))==null||_0xfb302a[_0x33e7c9(0x3bd)](_0x408414=>this[_0x33e7c9(0x129)]['executeCommand'](_0x408414['id'],_0x408414[_0x33e7c9(0x2d8)]));}};st=At([$(0x3,_0x26f1c4(_0x479e14)),$(0x4,_0x26f1c4(_0x23f8ca)),$(0x5,_0x26f1c4(_0x40557f)),$(0x6,_0x26f1c4(_0x2ccc8a)),$(0x7,_0x26f1c4(ve)),$(0x8,_0x3c78cc),$(0x9,_0x4b39d4),$(0xa,_0x53c0da),$(0xb,_0x1ce666),$(0xc,_0x197a74(_t)),$(0xd,_0x197a74(X))],st);let It=class extends st{constructor(_0x41ed71,_0x20511e,_0x16d995,_0x503d92,_0x36d639,_0x56fcd7,_0x1c993f,_0x4ed955,_0x1247ed,_0x1d12b2,_0x388f12,_0x91cf29,_0x5a60e7,_0x2867a9){var _0xc3b833=_0xff6382;super(_0x41ed71,_0x16d995,_0x20511e,_0x503d92,_0x36d639,_0x56fcd7,_0x1c993f,_0x4ed955,_0x1247ed,_0x1d12b2,_0x388f12,_0x91cf29,_0x5a60e7,_0x2867a9),D(this,_0xc3b833(0x358),null),(this[_0xc3b833(0x2cc)]=_0x41ed71,this[_0xc3b833(0x2c6)]=_0x20511e);}[_0xff6382(0x1bf)](_0x235133){var _0x369b4d=_0xff6382;this[_0x369b4d(0x358)]=_0x235133;}[_0xff6382(0x338)](){var _0x976664=_0xff6382;this['_handlerCallback']=null,super[_0x976664(0x338)]();}[_0xff6382(0x343)](){var _0x23d253=_0xff6382;const _0x5e21fb=super[_0x23d253(0x343)]();return _0x5e21fb['onTransformIME']=_0x4a8db1=>{var _0x8d8849=_0x23d253,_0x4bfd88,_0x5c6943;return(_0x5c6943=(_0x4bfd88=this[_0x8d8849(0x358)])==null?void 0x0:_0x4bfd88[_0x8d8849(0x201)])==null?void 0x0:_0x5c6943['call'](_0x4bfd88,_0x4a8db1);},_0x5e21fb[_0x23d253(0x312)]=_0x5bf8c8=>{var _0x21ecde=_0x23d253,_0x357975,_0x26ab71;return(_0x26ab71=(_0x357975=this['_handlerCallback'])==null?void 0x0:_0x357975[_0x21ecde(0x312)])==null?void 0x0:_0x26ab71[_0x21ecde(0x335)](_0x357975,_0x5bf8c8);},_0x5e21fb[_0x23d253(0x1ae)]=_0x1cd116=>{var _0x25344f=_0x23d253,_0x3a2656,_0x52d2a1;return(_0x52d2a1=(_0x3a2656=this[_0x25344f(0x358)])==null?void 0x0:_0x3a2656[_0x25344f(0x1ae)])==null?void 0x0:_0x52d2a1[_0x25344f(0x335)](_0x3a2656,_0x1cd116);},_0x5e21fb['onSyncEditingCollabCursor']=_0x60a748=>{var _0x26e868=_0x23d253,_0x299539,_0x5becbf;return(_0x5becbf=(_0x299539=this['_handlerCallback'])==null?void 0x0:_0x299539['onSyncEditingCollabCursor'])==null?void 0x0:_0x5becbf[_0x26e868(0x335)](_0x299539,_0x60a748);},_0x5e21fb['onTransformRemoteChangesetByIMECache']=_0x4229fe=>{var _0x5a95ef=_0x23d253,_0x3e9e50,_0x1b4d26,_0x8867b7;if(!((_0x3e9e50=this[_0x5a95ef(0x358)])!=null&&_0x3e9e50[_0x5a95ef(0x3c1)]))throw new Error(_0x5a95ef(0x1da));return(_0x8867b7=(_0x1b4d26=this[_0x5a95ef(0x358)])==null?void 0x0:_0x1b4d26[_0x5a95ef(0x3c1)])==null?void 0x0:_0x8867b7['call'](_0x1b4d26,_0x4229fe);},_0x5e21fb[_0x23d253(0x195)]=_0x5b35a9=>{var _0x206706=_0x23d253,_0x28299b,_0x1b9783,_0x3031f5;if(!((_0x28299b=this[_0x206706(0x358)])!=null&&_0x28299b['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3031f5=(_0x1b9783=this[_0x206706(0x358)])==null?void 0x0:_0x1b9783[_0x206706(0x195)])==null?void 0x0:_0x3031f5[_0x206706(0x335)](_0x1b9783,_0x5b35a9);},_0x5e21fb;}async[_0xff6382(0x34d)](){var _0x91970f=_0xff6382;const _0x315b50=await super['_init']();return this['disposeWithMe'](this[_0x91970f(0x129)]['onMutationExecutedForCollab']((_0x5c06b9,_0x197ded)=>{var _0x4a1a7f=_0x91970f;if(_0x5c06b9['type']!==_0x4d575a['MUTATION']||_0x197ded!=null&&_0x197ded[_0x4a1a7f(0x38b)]||_0x197ded!=null&&_0x197ded[_0x4a1a7f(0x15e)]||_0x5c06b9['id']===_0x4b2a2a['id'])return;const _0x57c8f2=_0x5c06b9[_0x4a1a7f(0x2d8)];if((_0x57c8f2==null?void 0x0:_0x57c8f2[_0x4a1a7f(0x2ad)])!==this['unitID'])return;const _0x76e784=_0x5c06b9,_0x31d987=this[_0x4a1a7f(0x15f)]['interceptor'][_0x4a1a7f(0x342)](this[_0x4a1a7f(0x15f)][_0x4a1a7f(0x257)][_0x4a1a7f(0x1af)]()[_0x4a1a7f(0x364)])([_0x76e784],this[_0x4a1a7f(0x2da)])||[_0x76e784];this[_0x4a1a7f(0x24d)](_0x31d987[0x0]);})),_0x315b50;}};It=At([$(0x3,_0x26f1c4(_0x479e14)),$(0x4,_0x26f1c4(_0x23f8ca)),$(0x5,_0x26f1c4(_0x40557f)),$(0x6,_0x26f1c4(_0x2ccc8a)),$(0x7,_0x26f1c4(ve)),$(0x8,_0x3c78cc),$(0x9,_0x4b39d4),$(0xa,_0x53c0da),$(0xb,_0x1ce666),$(0xc,_0x197a74(_t)),$(0xd,_0x197a74(X))],It);let St=class extends st{constructor(_0x1859c7,_0x316652,_0xb288c,_0x5ee293,_0x1553da,_0x2f6e8e,_0x3d06e5,_0x17369d,_0x447b96,_0x355c8b,_0x10a7e1,_0x4d82a6,_0x33ed07,_0x1de2d3,_0x441f21){var _0x48fb0d=_0xff6382;super(_0x1859c7,_0xb288c,_0x316652,_0x5ee293,_0x1553da,_0x2f6e8e,_0x3d06e5,_0x447b96,_0x355c8b,_0x10a7e1,_0x4d82a6,_0x33ed07,_0x1de2d3,_0x441f21),this[_0x48fb0d(0x2cc)]=_0x1859c7,this[_0x48fb0d(0x2c6)]=_0x316652,this[_0x48fb0d(0x2f9)]=_0x17369d;}[_0xff6382(0x343)](){var _0x2b63e5=_0xff6382;const _0x1fa50e=super[_0x2b63e5(0x343)]();return _0x1fa50e['onTransformSelections']=_0x1e954c=>this['_sheetTransformSelectionsService'][_0x2b63e5(0x132)](_0x1e954c),_0x1fa50e;}async[_0xff6382(0x34d)](){var _0x1960d4=_0xff6382;const _0x9b64b1=await super['_init']();return this[_0x1960d4(0x360)](this[_0x1960d4(0x129)][_0x1960d4(0x13d)]((_0x1ba813,_0x22a8dd)=>{var _0x4faf0d=_0x1960d4;if(_0x1ba813[_0x4faf0d(0x2c6)]!==_0x4d575a['MUTATION']||_0x22a8dd!=null&&_0x22a8dd[_0x4faf0d(0x38b)]||_0x22a8dd!=null&&_0x22a8dd[_0x4faf0d(0x15e)])return;const _0x158132=_0x1ba813[_0x4faf0d(0x2d8)];if((_0x158132==null?void 0x0:_0x158132[_0x4faf0d(0x2ad)])!==this[_0x4faf0d(0x2cc)])return;const _0x35e38b=_0x1ba813,_0x414101=this['_compressMutationService']['interceptor'][_0x4faf0d(0x342)](this[_0x4faf0d(0x15f)]['interceptor'][_0x4faf0d(0x1af)]()[_0x4faf0d(0x364)])([_0x35e38b],this[_0x4faf0d(0x2da)])||[_0x35e38b];this[_0x4faf0d(0x24d)](_0x414101[0x0]);})),_0x9b64b1;}};St=At([$(0x3,_0x26f1c4(_0x479e14)),$(0x4,_0x26f1c4(_0x23f8ca)),$(0x5,_0x26f1c4(_0x40557f)),$(0x6,_0x26f1c4(_0x2ccc8a)),$(0x7,_0x26f1c4(it)),$(0x8,_0x26f1c4(ve)),$(0x9,_0x3c78cc),$(0xa,_0x4b39d4),$(0xb,_0x53c0da),$(0xc,_0x1ce666),$(0xd,_0x197a74(_t)),$(0xe,_0x197a74(X))],St);const Vs=_0x5a6278(_0xff6382(0x30a));function Gs(_0x3eb187){var _0x5d63d4=_0xff6382,_0x4b24f5,_0x55924b,_0x2b3832,_0x5bb0b1,_0x42302e;const _0x563ea8=_0x3eb187[_0x5d63d4(0x39d)],_0x4235ba=JSON['parse'](_0x563ea8);switch(_0x4235ba['cmd']){case j['HEARTBEAT']:case j[_0x5d63d4(0x17c)]:{const _0x4ebb1a=_0x4235ba[_0x5d63d4(0x3e0)];return{..._0x4235ba,'data':_0x4ebb1a,'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};}case j[_0x5d63d4(0x20e)]:{const _0x59de61=_0x4235ba['joinRsp'];return{..._0x4235ba,'data':_0x59de61,'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};}case j[_0x5d63d4(0x3f0)]:{const _0x2178bb=_0x4235ba[_0x5d63d4(0x235)];switch(_0x2178bb[_0x5d63d4(0x247)]){case _0x5561ca[_0x5d63d4(0x102)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x4b24f5=_0x2178bb['permissionRejEvent'])==null?void 0x0:_0x4b24f5['cs']},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca['CHANGESET_ACK']:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x55924b=_0x2178bb[_0x5d63d4(0x1f6)])==null?void 0x0:_0x55924b['cs']},'cmd':_0x4235ba['cmd']};case _0x5561ca[_0x5d63d4(0x2e1)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x2b3832=_0x2178bb[_0x5d63d4(0x183)])==null?void 0x0:_0x2b3832['cs']},'cmd':_0x4235ba['cmd']};case _0x5561ca['CHANGESET_REJ']:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x5bb0b1=_0x2178bb[_0x5d63d4(0x184)])==null?void 0x0:_0x5bb0b1['cs']},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x19a)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':(_0x42302e=_0x2178bb[_0x5d63d4(0x1aa)])==null?void 0x0:_0x42302e['cs']},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x394)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x3b1)]},'cmd':_0x4235ba['cmd']};case _0x5561ca[_0x5d63d4(0x3df)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x397)]},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x15b)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb['leaveEvent']},'cmd':_0x4235ba['cmd']};case _0x5561ca[_0x5d63d4(0x3c7)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x10a)]},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca['LIVESHARE_FETCH_OPERATIONS']:case _0x5561ca[_0x5d63d4(0x2f4)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x2b8)]},'cmd':_0x4235ba['cmd']};case _0x5561ca['LIVESHARE_TERMINATE']:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x10a)]},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca['MSG_FOR_ERROR']:return{..._0x4235ba,'data':_0x2178bb,'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x17e)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x38d)]},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca['UPDATE_PERMISSION_OBJ']:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0x313)]},'cmd':_0x4235ba['cmd']};case _0x5561ca[_0x5d63d4(0x389)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb['shouldCloseConn']},'cmd':_0x4235ba[_0x5d63d4(0x3bb)]};case _0x5561ca[_0x5d63d4(0x205)]:return{..._0x4235ba,'data':{..._0x2178bb,'data':_0x2178bb[_0x5d63d4(0xf3)]},'cmd':_0x4235ba['cmd']};default:return _0x4235ba;}}default:return _0x4235ba;}}function Ws(_0x421a7f){var _0x5ef27e=_0xff6382;switch(_0x421a7f[_0x5ef27e(0x3bb)]){case j[_0x5ef27e(0x3fe)]:case j[_0x5ef27e(0x17c)]:return JSON[_0x5ef27e(0x3de)]({'cmd':_0x421a7f[_0x5ef27e(0x3bb)],'routeKey':_0x421a7f[_0x5ef27e(0x1cf)]});case j[_0x5ef27e(0x2f7)]:{let _0x1fb807;switch(_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x247)]){case _0x5561ca['UPDATE_CURSOR']:{_0x1fb807={'eventID':_0x5561ca['UPDATE_CURSOR'],'updateCursorEvent':_0x421a7f['data']['data']};break;}case _0x5561ca[_0x5ef27e(0x15b)]:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x15b)],'leaveEvent':_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x39d)]};break;}case _0x5561ca[_0x5ef27e(0x3df)]:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x3df)],'joinEvent':_0x421a7f['data'][_0x5ef27e(0x39d)]};break;}case _0x5561ca[_0x5ef27e(0x3c7)]:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x3c7)],'liveShareNewHost':_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x39d)]};break;}case _0x5561ca['LIVESHARE_OPERATION']:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x2f4)],'liveShareOperation':_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x39d)]};break;}case _0x5561ca['LIVESHARE_TERMINATE']:{_0x1fb807={'eventID':_0x5561ca['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x421a7f['data'][_0x5ef27e(0x39d)]};break;}case _0x5561ca[_0x5ef27e(0x29a)]:{_0x1fb807={'eventID':_0x5561ca[_0x5ef27e(0x29a)],'liveShareRequestHost':_0x421a7f[_0x5ef27e(0x39d)]['data']};break;}case _0x5561ca[_0x5ef27e(0x179)]:{_0x1fb807={'eventID':_0x5561ca['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1fb807={'eventID':_0x421a7f[_0x5ef27e(0x39d)][_0x5ef27e(0x247)]};}return JSON['stringify']({'cmd':_0x421a7f[_0x5ef27e(0x3bb)],'routeKey':_0x421a7f[_0x5ef27e(0x1cf)],'collaMsg':_0x1fb807});}case j[_0x5ef27e(0x20e)]:return JSON[_0x5ef27e(0x3de)]({'cmd':_0x421a7f[_0x5ef27e(0x3bb)],'routeKey':_0x421a7f[_0x5ef27e(0x1cf)],'joinReq':_0x421a7f[_0x5ef27e(0x39d)]});case j[_0x5ef27e(0x1e7)]:return JSON['stringify']({'cmd':_0x421a7f[_0x5ef27e(0x3bb)],'routeKey':_0x421a7f['routeKey'],'leaveReq':_0x421a7f['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ys=Object[_0xff6382(0x169)],Ks=(_0x56b7a4,_0x395340,_0x581a48,_0x55864a)=>{var _0x450694=_0xff6382;for(var _0x16b6ff=_0x55864a>0x1?void 0x0:_0x55864a?Ys(_0x395340,_0x581a48):_0x395340,_0xc4badf=_0x56b7a4[_0x450694(0xfe)]-0x1,_0xc216b1;_0xc4badf>=0x0;_0xc4badf--)(_0xc216b1=_0x56b7a4[_0xc4badf])&&(_0x16b6ff=_0xc216b1(_0x16b6ff)||_0x16b6ff);return _0x16b6ff;},ye=(_0x2d22dd,_0x3d197b)=>(_0x135ebd,_0x288538)=>_0x3d197b(_0x135ebd,_0x288538,_0x2d22dd);const Ri=_0x5a6278('univer-pro.collaboration-client-socket-service');function qs(_0x296ca3,_0x2c0172,_0x1b1646){var _0x1d7bd8=_0xff6382;return _0x296ca3+'/'+_0x2c0172+_0x1d7bd8(0x39e)+_0x1b1646+'/new_changes';}let Gt=class extends _0x4c3f97{constructor(_0x319b0c,_0x9d5f19,_0x4b0ef0,_0x18eeec,_0x5a96b1){var _0x2fd186=_0xff6382;super(),this[_0x2fd186(0x2c0)]=_0x319b0c,this[_0x2fd186(0x226)]=_0x9d5f19,this[_0x2fd186(0x1e2)]=_0x4b0ef0,this['_logService']=_0x18eeec,this[_0x2fd186(0x1ec)]=_0x5a96b1;}[_0xff6382(0x2cf)](_0x1d30f9){var _0x38b6ed=_0xff6382;const _0x5a7d33=this[_0x38b6ed(0x2c0)][_0x38b6ed(0x22d)](_0x450666);if(!_0x5a7d33)throw new Error(_0x38b6ed(0x2ab));const _0x47c9e9=_0x5a7d33['createSocket'](_0x1d30f9);if(!_0x47c9e9)throw new Error(_0x38b6ed(0x159));const _0x219f22=new _0x2ef222(),_0x45b946=new _0x14e298();_0x219f22[_0x38b6ed(0x1b5)](_0x47c9e9[_0x38b6ed(0x194)][_0x38b6ed(0x33c)](_0x1ba96d=>_0x45b946[_0x38b6ed(0x118)](_0x1ba96d))),_0x219f22[_0x38b6ed(0x1b5)](_0x5d435c(()=>_0x45b946[_0x38b6ed(0x1a1)]()));const _0x33a0eb=new _0x14e298();_0x219f22['add'](_0x47c9e9[_0x38b6ed(0x1b1)][_0x38b6ed(0x33c)](_0x442ad3=>_0x33a0eb[_0x38b6ed(0x118)](_0x442ad3))),_0x219f22[_0x38b6ed(0x1b5)](_0x5d435c(()=>_0x33a0eb[_0x38b6ed(0x1a1)]()));const _0x3d633d=new _0x14e298();_0x219f22[_0x38b6ed(0x1b5)](_0x47c9e9[_0x38b6ed(0x1ff)]['subscribe'](_0xce1d17=>{var _0x39363b=_0x38b6ed;const _0x1b4aae=Gs(_0xce1d17);_0x3d633d[_0x39363b(0x118)](_0x1b4aae);})),_0x219f22[_0x38b6ed(0x1b5)](_0x5d435c(()=>_0x3d633d[_0x38b6ed(0x1a1)]()));let _0x348f1d;const _0x638839=()=>{var _0x2b5708=_0x38b6ed;_0x33a0eb[_0x2b5708(0x118)](new Event(_0x2b5708(0x2cb))),_0x45b946['next'](new Event(_0x2b5708(0x2cb))),_0x348f1d['close']();};return _0x348f1d={'memberID':'','close$':_0x45b946[_0x38b6ed(0x3ac)](),'error$':_0x33a0eb[_0x38b6ed(0x3ac)](),'open$':_0x47c9e9['open$'],'message$':_0x3d633d['asObservable'](),'send':_0x357186=>{var _0x380654=_0x38b6ed;if(_0x357186[_0x380654(0x3bb)]===j[_0x380654(0x2f7)]){if(_0x357186['data'][_0x380654(0x247)]===_0x5561ca[_0x380654(0x1d6)]){this['_submitChangeset'](_0x348f1d,_0x357186['data'])[_0x380654(0x2d6)](_0x41b56f=>{var _0xf6c5e6=_0x380654;this[_0xf6c5e6(0x16e)][_0xf6c5e6(0x220)](_0x41b56f),_0x638839();});return;}if(_0x357186[_0x380654(0x39d)][_0x380654(0x247)]===_0x5561ca[_0x380654(0x2df)]){const _0x33f8de=_0x357186[_0x380654(0x39d)];this[_0x380654(0x1f1)](_0x33f8de)[_0x380654(0x1c8)](_0xa4296e=>{var _0x3e7bb9=_0x380654;_0x3d633d['next']({'cmd':j[_0x3e7bb9(0x3f0)],'code':Ee['OK'],'routeKey':_0x33f8de['data']['unitID'],'routeType':'','data':{'eventID':_0x5561ca['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xa4296e}}});})[_0x380654(0x2d6)](_0x24b28a=>{var _0x1f49d8=_0x380654;this['_logService'][_0x1f49d8(0x220)](_0x24b28a),_0x638839();});return;}}_0x47c9e9[_0x380654(0x1b2)](Ws(_0x357186));},'close':()=>{var _0x99941f=_0x38b6ed;_0x47c9e9['close'](),_0x219f22[_0x99941f(0x338)]();}},_0x348f1d;}async[_0xff6382(0x127)](_0x324b58,_0x54e6b9){var _0x2f26fa=_0xff6382,_0x1e0bda;const {unitType:_0x37be97,unitID:_0x3e1527,changeset:_0x38845d}=_0x54e6b9[_0x2f26fa(0x39d)],_0x365b20={'unitID':_0x3e1527,'memberID':_0x324b58[_0x2f26fa(0x2a0)],'type':_0x37be97,'changeset':_0x52f624(_0x38845d)},_0x5f6be4=this[_0x2f26fa(0x1e2)][_0x2f26fa(0x2d1)](K),_0x1b1c56=qs((_0x1e0bda=_0x5f6be4==null?void 0x0:_0x5f6be4['collabSubmitChangesetUrl'])!=null?_0x1e0bda:Ns,_0x37be97,_0x3e1527);try{await this[_0x2f26fa(0x226)][_0x2f26fa(0x3d3)](_0x1b1c56,{'body':_0x365b20});}catch(_0x4ec67b){throw this[_0x2f26fa(0x16e)][_0x2f26fa(0x220)]('[CollaborationSession]',_0x2f26fa(0x402)),_0x4ec67b;}}async['_fetchMissChangesets'](_0x463ded){var _0x3743af=_0xff6382;const {unitID:_0x2f370f,from:_0x566918,to:_0x3b2bf2,unitType:_0x1b7041}=_0x463ded[_0x3743af(0x39d)];return(await this['_snapshotServerService'][_0x3743af(0x3d9)]({'metadata':void 0x0},{'unitID':_0x2f370f,'type':_0x1b7041,'from':_0x566918,'to':_0x3b2bf2}))['changesets'][_0x3743af(0xf6)](_0xe2caf2=>((_0xe2caf2[_0x3743af(0x3ae)]===null||_0xe2caf2[_0x3743af(0x3ae)]===void 0x0)&&(_0xe2caf2[_0x3743af(0x3ae)]=[]),_0xe2caf2));}};Gt=Ks([ye(0x0,_0x26f1c4(_0x479e14)),ye(0x1,_0x26f1c4(_0x3b36ba)),ye(0x2,_0x5839d5),ye(0x3,_0x4b39d4),ye(0x4,_0x3fcbd6)],Gt);var zs=Object[_0xff6382(0x169)],Xs=(_0x5aeac6,_0x1075bf,_0xaa9f87,_0x1f35b7)=>{var _0xbd316e=_0xff6382;for(var _0x460c10=_0x1f35b7>0x1?void 0x0:_0x1f35b7?zs(_0x1075bf,_0xaa9f87):_0x1075bf,_0xc57103=_0x5aeac6[_0xbd316e(0xfe)]-0x1,_0x5e0dd1;_0xc57103>=0x0;_0xc57103--)(_0x5e0dd1=_0x5aeac6[_0xc57103])&&(_0x460c10=_0x5e0dd1(_0x460c10)||_0x460c10);return _0x460c10;},Re=(_0x5aacbf,_0x3e2121)=>(_0x2bb4fa,_0x41ff32)=>_0x3e2121(_0x2bb4fa,_0x41ff32,_0x5aacbf);let we=class extends _0x4c3f97{constructor(_0x51a44e,_0x32322f,_0x5c6317,_0x11e90c,_0x388618,_0x230de7){var _0x564b81=_0xff6382;super(),D(this,_0x564b81(0x111),new _0x409cb3(void 0x0)),D(this,_0x564b81(0x218),this[_0x564b81(0x111)][_0x564b81(0x3ac)]()),D(this,'_candidateSocket',null),D(this,_0x564b81(0x157),new Map()),D(this,_0x564b81(0x21a),new _0x409cb3(me[_0x564b81(0x12f)])),D(this,_0x564b81(0x167),this[_0x564b81(0x21a)][_0x564b81(0x3ac)]()),D(this,_0x564b81(0x142),!0x1),D(this,_0x564b81(0x107)),D(this,_0x564b81(0x294),0x0),D(this,_0x564b81(0x38f)),D(this,_0x564b81(0x33a)),(this[_0x564b81(0x2c0)]=_0x51a44e,this[_0x564b81(0x16e)]=_0x32322f,this[_0x564b81(0x1e2)]=_0x5c6317,this['_socketService']=_0x11e90c,this[_0x564b81(0x3b9)]=_0x388618,this['_networkConditionService']=_0x230de7,this[_0x564b81(0x2dc)]());}get['_socket'](){var _0x7806b5=_0xff6382;return this[_0x7806b5(0x111)][_0x7806b5(0x3d1)]();}[_0xff6382(0x2dc)](){var _0x582b8d=_0xff6382;this['_networkConditionService']&&this['disposeWithMe'](this[_0x582b8d(0x2bb)][_0x582b8d(0x16a)][_0x582b8d(0x33c)](_0x38f59a=>{var _0x4c24fb=_0x582b8d;_0x38f59a&&!this[_0x4c24fb(0x38a)]&&this['reconnect'](),_0x38f59a||this[_0x4c24fb(0x173)]();}));}['dispose'](){var _0x1db615=_0xff6382;super[_0x1db615(0x338)](),this[_0x1db615(0x3e2)](),this[_0x1db615(0x1fc)](),this[_0x1db615(0x35c)](),this[_0x1db615(0x157)][_0x1db615(0x3bd)](_0xa9d206=>_0xa9d206[_0x1db615(0x338)]()),this[_0x1db615(0x157)][_0x1db615(0xf7)](),this[_0x1db615(0x21a)]['complete']();}async[_0xff6382(0x38e)](_0x427ddf){var _0x5316eb=_0xff6382;if(this['_sessions']['has'](_0x427ddf))return this[_0x5316eb(0x157)][_0x5316eb(0x22d)](_0x427ddf);this[_0x5316eb(0x18c)]();const _0x5bbc2e=this[_0x5316eb(0x2c0)][_0x5316eb(0x2a5)](mt,_0x427ddf,this[_0x5316eb(0x111)][_0x5316eb(0x3ac)]());return this[_0x5316eb(0x157)][_0x5316eb(0x36a)](_0x427ddf,_0x5bbc2e),_0x5bbc2e;}['closeSession'](_0x942aaf){var _0x31611c=_0xff6382,_0x35e324;const _0x368f4f=this[_0x31611c(0x157)][_0x31611c(0x22d)](_0x942aaf);_0x368f4f&&(this[_0x31611c(0x157)][_0x31611c(0x1de)](_0x942aaf),_0x368f4f[_0x31611c(0x3d5)]()),this[_0x31611c(0x157)][_0x31611c(0x18e)]||(_0x35e324=this[_0x31611c(0x38a)])==null||_0x35e324[_0x31611c(0x3d5)]();}[_0xff6382(0x11f)](){var _0x4228ba=_0xff6382;this[_0x4228ba(0x294)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x4228ba(0x39a)]();}[_0xff6382(0x3e2)](){var _0x14760a=_0xff6382;this[_0x14760a(0x107)]!=null&&(clearTimeout(this[_0x14760a(0x107)]),this[_0x14760a(0x107)]=null);}async[_0xff6382(0x23d)](){var _0x6acf75=_0xff6382,_0x1afd6d;const _0x2017ca=this[_0x6acf75(0x1e2)][_0x6acf75(0x2d1)](K),_0x225b0a=(_0x1afd6d=_0x2017ca==null?void 0x0:_0x2017ca['collabWebSocketUrl'])!=null?_0x1afd6d:Is,_0x461fa9=await this[_0x6acf75(0x1cb)]['createSocket'](_0x225b0a);return this['_candidateSocket']=_0x461fa9,_0x461fa9;}async[_0xff6382(0x18c)](){var _0x406b22=_0xff6382,_0x350d5d,_0x4cd33a;try{const _0x491768=(_0x4cd33a=(_0x350d5d=this['_socket'])!=null?_0x350d5d:this[_0x406b22(0x25b)])!=null?_0x4cd33a:await this[_0x406b22(0x23d)]();if(_0x491768){const _0x2e65d0=_0x491768[_0x406b22(0x1b2)];_0x491768[_0x406b22(0x1b2)]=_0x1e96b6=>(this[_0x406b22(0x3a9)](),_0x2e65d0[_0x406b22(0x32f)](_0x491768,[_0x1e96b6])),_0x491768[_0x406b22(0x1ff)][_0x406b22(0x33c)](_0x410f68=>this[_0x406b22(0x3bc)](_0x491768,_0x410f68)),_0x491768[_0x406b22(0x1b1)][_0x406b22(0x1fa)](_0x25913a(0x1))[_0x406b22(0x33c)](_0x275e01=>this[_0x406b22(0x16e)][_0x406b22(0x220)](_0x406b22(0x21f),_0x275e01)),_0x491768[_0x406b22(0x33e)][_0x406b22(0x1fa)](_0x25913a(0x1))[_0x406b22(0x33c)](()=>{var _0x26cc50=_0x406b22;this[_0x26cc50(0x26c)](_0x491768);}),_0x491768['close$']['pipe'](_0x25913a(0x1))[_0x406b22(0x33c)](_0xe93930=>{var _0x35c295=_0x406b22;this[_0x35c295(0x16e)]['debug'](_0x35c295(0x27e),'socket\x20close',_0xe93930),this[_0x35c295(0x384)]();});}}catch(_0x44c394){this[_0x406b22(0x16e)][_0x406b22(0x220)](_0x44c394),this[_0x406b22(0x384)]();}}[_0xff6382(0x26c)](_0x3e9e62){var _0x33cbf0=_0xff6382;this[_0x33cbf0(0x16e)]['debug'](_0x33cbf0(0x27e),'socket\x20open.'),_0x3e9e62['send']({'cmd':j[_0x33cbf0(0x17c)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x420bca=_0xff6382;this[_0x420bca(0x142)]=!0x1,this[_0x420bca(0x25b)]=null,this[_0x420bca(0x21a)][_0x420bca(0x118)](me['OFFLINE']),this['_socket$'][_0x420bca(0x118)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0xff6382(0x384)](){var _0x43a6b5=_0xff6382,_0x50cc17;this[_0x43a6b5(0x173)](),this[_0x43a6b5(0x294)]<((_0x50cc17=this['_configService']['getConfig'](Os))!=null?_0x50cc17:Rs)?(this[_0x43a6b5(0x3b9)][_0x43a6b5(0x26e)]({'id':re['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x43a6b5(0x3b9)][_0x43a6b5(0x26e)]({'id':re[_0x43a6b5(0x24a)]});}['_tryReconnect'](){var _0x54ed01=_0xff6382,_0x4cb52a;const _0x3dff41=this[_0x54ed01(0x294)],_0x17be30=this['_configService'][_0x54ed01(0x2d1)](K),_0x35ef73=_0x3dff41===0x0?0x0:((_0x4cb52a=_0x17be30==null?void 0x0:_0x17be30[_0x54ed01(0x104)])!=null?_0x4cb52a:Ts)*0x2**_0x3dff41;this[_0x54ed01(0x107)]=setTimeout(()=>{var _0x4ffbf3=_0x54ed01;clearTimeout(this[_0x4ffbf3(0x107)]),this['_retryConnectingTimer']=null,this[_0x4ffbf3(0x18c)]();},_0x35ef73),this[_0x54ed01(0x294)]+=0x1;}[_0xff6382(0x3bc)](_0x89f6aa,_0x1b20ef){var _0x4df3e4=_0xff6382;const {cmd:_0x1acb24}=_0x1b20ef;_0x1acb24===j[_0x4df3e4(0x17c)]&&!this[_0x4df3e4(0x142)]&&(_0x89f6aa[_0x4df3e4(0x2a0)]=_0x1b20ef[_0x4df3e4(0x39d)][_0x4df3e4(0x2a0)],this[_0x4df3e4(0x111)][_0x4df3e4(0x118)](_0x89f6aa),this[_0x4df3e4(0x21a)]['next'](me['ONLINE']),this[_0x4df3e4(0x142)]=!0x0,this[_0x4df3e4(0x25b)]=null),_0x1acb24===j[_0x4df3e4(0x3fe)]&&this[_0x4df3e4(0x1fc)](),this[_0x4df3e4(0x3a9)]();}['_rescheduleHeartbeat'](){var _0x32b079=_0xff6382,_0x3e7c20;this['_clearHeartbeatTimer'](),this[_0x32b079(0x38f)]=setTimeout(()=>this[_0x32b079(0x124)](),(_0x3e7c20=this[_0x32b079(0x1e2)][_0x32b079(0x2d1)](Ss))!=null?_0x3e7c20:gs);}[_0xff6382(0x124)](){var _0x23d1c4=_0xff6382;this[_0x23d1c4(0x38a)][_0x23d1c4(0x1b2)]({'cmd':j[_0x23d1c4(0x3fe)]}),this[_0x23d1c4(0x1c2)]();}[_0xff6382(0x1c2)](){var _0x1cede5=_0xff6382,_0x51c123;this[_0x1cede5(0x33a)]=setTimeout(()=>this[_0x1cede5(0x384)](),(_0x51c123=this[_0x1cede5(0x1e2)][_0x1cede5(0x2d1)](di))!=null?_0x51c123:fi);}[_0xff6382(0x35c)](){var _0x3029a2=_0xff6382;this[_0x3029a2(0x38f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0xff6382(0x1fc)](){var _0x4e01d3=_0xff6382;this[_0x4e01d3(0x33a)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4e01d3(0x33a)]=null);}};we=Xs([Re(0x0,_0x26f1c4(_0x479e14)),Re(0x1,_0x4b39d4),Re(0x2,_0x5839d5),Re(0x3,Ri),Re(0x4,_0x26f1c4(ve)),Re(0x5,_0x197a74(Vs))],we);var Js=Object[_0xff6382(0x169)],Zs=(_0x526199,_0x192dd2,_0x14d72b,_0x5b5692)=>{var _0x4afa6f=_0xff6382;for(var _0x51c37d=_0x5b5692>0x1?void 0x0:_0x5b5692?Js(_0x192dd2,_0x14d72b):_0x192dd2,_0x4c4422=_0x526199[_0x4afa6f(0xfe)]-0x1,_0x2482b8;_0x4c4422>=0x0;_0x4c4422--)(_0x2482b8=_0x526199[_0x4c4422])&&(_0x51c37d=_0x2482b8(_0x51c37d)||_0x51c37d);return _0x51c37d;},Be=(_0x4cfa95,_0x423601)=>(_0x244453,_0x50e5de)=>_0x423601(_0x244453,_0x50e5de,_0x4cfa95);let nt=class extends _0x1734f1{constructor(_0x34dda3,_0x72e043,_0x1b72cf,_0x48e93e){var _0x46ac2f=_0xff6382,_0x3f13ab;super(),D(this,_0x46ac2f(0x246),new Map()),D(this,_0x46ac2f(0x28c),new _0x14e298()),D(this,_0x46ac2f(0x31d),this['_entityInit$'][_0x46ac2f(0x3ac)]()),(this[_0x46ac2f(0x2c0)]=_0x34dda3,this[_0x46ac2f(0x208)]=_0x72e043,this[_0x46ac2f(0x1e2)]=_0x1b72cf,this[_0x46ac2f(0x2da)]=_0x48e93e,((_0x3f13ab=this[_0x46ac2f(0x1e2)][_0x46ac2f(0x2d1)](K))==null?void 0x0:_0x3f13ab['enableCollaboration'])!==!0x1&&this[_0x46ac2f(0x34d)]());}[_0xff6382(0x338)](){var _0x52c518=_0xff6382;super[_0x52c518(0x338)](),this[_0x52c518(0x246)]['forEach'](_0x5dbc28=>_0x5dbc28[_0x52c518(0x338)]()),this['_entities'][_0x52c518(0xf7)]();}[_0xff6382(0x359)](_0x2e1866){var _0x468a84;return(_0x468a84=this['_entities']['get'](_0x2e1866))!=null?_0x468a84:null;}[_0xff6382(0x35f)](_0x5e989c){var _0x1dba06=_0xff6382;const _0x16d0a3=this['getCollabEntity'](_0x5e989c);return _0x16d0a3?_0x6da436(_0x16d0a3):this['_entityInit$'][_0x1dba06(0x1fa)](_0x5f2611(_0x58915f=>_0x58915f[_0x1dba06(0x2cc)]===_0x5e989c));}[_0xff6382(0x29e)](_0x3ed378){var _0xe682f4=_0xff6382;return _0x2c9db1(this[_0xe682f4(0x35f)](_0x3ed378)[_0xe682f4(0x1fa)](_0x240bec(()=>{})));}[_0xff6382(0x34d)](){var _0x1107ca=_0xff6382;this[_0x1107ca(0x2da)]['getTypeOfUnitAdded$'](_0x20192f[_0x1107ca(0xf5)])['pipe'](_0x4f5e1f(this[_0x1107ca(0x39c)]),_0x319d5e(0x10))[_0x1107ca(0x33c)](async _0x40f058=>{var _0x8a2afb=_0x1107ca;const _0x3ab8b0=_0x40f058[_0x8a2afb(0x143)](),_0x522d31=await this[_0x8a2afb(0x2b6)](_0x3ab8b0,Q[_0x8a2afb(0xf5)]);this[_0x8a2afb(0x246)][_0x8a2afb(0x36a)](_0x3ab8b0,_0x522d31);}),this[_0x1107ca(0x2da)]['getTypeOfUnitAdded$'](_0x20192f[_0x1107ca(0x1c6)])[_0x1107ca(0x1fa)](_0x4f5e1f(this[_0x1107ca(0x39c)]),_0x319d5e(0x10))['pipe'](_0x5f2611(_0x9e0726=>!_0x9e0726['getUnitId']()[_0x1107ca(0x197)]('__')))[_0x1107ca(0x33c)](async _0x2ca7be=>{var _0x3c9ad4=_0x1107ca;const _0x181b9a=_0x2ca7be[_0x3c9ad4(0x143)](),_0x378638=await this[_0x3c9ad4(0x2b6)](_0x181b9a,Q[_0x3c9ad4(0x1c6)]);this[_0x3c9ad4(0x246)]['set'](_0x181b9a,_0x378638);}),_0x301fbe(this['_univerInstanceService'][_0x1107ca(0x31c)](_0x20192f[_0x1107ca(0xf5)]),this[_0x1107ca(0x2da)][_0x1107ca(0x31c)](_0x20192f[_0x1107ca(0x1c6)]))[_0x1107ca(0x1fa)](_0x4f5e1f(this[_0x1107ca(0x39c)]))[_0x1107ca(0x33c)](_0x1c05b7=>{var _0x81c6b9=_0x1107ca;const _0x33d5b2=_0x1c05b7[_0x81c6b9(0x143)](),_0x42a741=this['_entities'][_0x81c6b9(0x22d)](_0x33d5b2);_0x42a741&&(_0x42a741[_0x81c6b9(0x338)](),this[_0x81c6b9(0x246)][_0x81c6b9(0x1de)](_0x33d5b2));});}async[_0xff6382(0x2b6)](_0x1a4e8a,_0x29bba5){var _0x22c58e=_0xff6382;const _0x2af2f3=await this[_0x22c58e(0x208)][_0x22c58e(0x38e)](_0x1a4e8a),_0x11d595=this[_0x22c58e(0x2c0)]['createInstance'](this[_0x22c58e(0x27b)](_0x29bba5),_0x1a4e8a,_0x29bba5,_0x2af2f3);return await _0x11d595[_0x22c58e(0x12d)](),this[_0x22c58e(0x28c)][_0x22c58e(0x118)](_0x11d595),_0x11d595;}[_0xff6382(0x27b)](_0xf3ea62){var _0xefe309=_0xff6382;switch(_0xf3ea62){case Q['UNIVER_DOC']:return It;case Q[_0xefe309(0xf5)]:return St;default:throw new Error(_0xefe309(0x130)+_0xf3ea62);}}};nt=Zs([Be(0x0,_0x26f1c4(_0x479e14)),Be(0x1,_0x26f1c4(we)),Be(0x2,_0x5839d5),Be(0x3,_0x3c78cc)],nt);var Qs=Object[_0xff6382(0x169)],en=(_0x19b7f4,_0x20c098,_0x57ad60,_0x1bd0c6)=>{for(var _0x45d053=_0x1bd0c6>0x1?void 0x0:_0x1bd0c6?Qs(_0x20c098,_0x57ad60):_0x20c098,_0x121c33=_0x19b7f4['length']-0x1,_0x53c105;_0x121c33>=0x0;_0x121c33--)(_0x53c105=_0x19b7f4[_0x121c33])&&(_0x45d053=_0x53c105(_0x45d053)||_0x45d053);return _0x45d053;},Wt=(_0x170809,_0x35de92)=>(_0x6df7ac,_0x50bc10)=>_0x35de92(_0x6df7ac,_0x50bc10,_0x170809);const tn='DEFAULT_FILE_NAME',sn=_0xff6382(0x153);let gt=class extends _0x4c3f97{constructor(_0x5971fe,_0x404de5){var _0x382955=_0xff6382;super(),this[_0x382955(0x2da)]=_0x5971fe,this[_0x382955(0x1e2)]=_0x404de5,this[_0x382955(0x34d)]();}[_0xff6382(0x34d)](){var _0x1b0538=_0xff6382;this[_0x1b0538(0x360)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x383f92=_0x1b0538,_0x4df593;const _0x5f30c2=this[_0x383f92(0x2da)][_0x383f92(0x319)]();let _0x4ad921=(_0x4df593=this[_0x383f92(0x1e2)][_0x383f92(0x2d1)](tn))!=null?_0x4df593:sn;_0x5f30c2 instanceof _0x4e7964&&(_0x4ad921=_0x5f30c2[_0x383f92(0x261)]),document['title']=_0x4ad921;}));}};gt=en([Wt(0x0,_0x3c78cc),Wt(0x1,_0x5839d5)],gt);var nn=Object[_0xff6382(0x169)],rn=(_0x56f4a0,_0x2f5d26,_0x5f4be6,_0x31634f)=>{for(var _0xd1ec0e=_0x31634f>0x1?void 0x0:_0x31634f?nn(_0x2f5d26,_0x5f4be6):_0x2f5d26,_0x41869e=_0x56f4a0['length']-0x1,_0x3dae76;_0x41869e>=0x0;_0x41869e--)(_0x3dae76=_0x56f4a0[_0x41869e])&&(_0xd1ec0e=_0x3dae76(_0xd1ec0e)||_0xd1ec0e);return _0xd1ec0e;},dt=(_0x3e42f0,_0x2b5cb6)=>(_0x5d7ddb,_0x491810)=>_0x2b5cb6(_0x5d7ddb,_0x491810,_0x3e42f0);let rt=class{constructor(_0x392271,_0x386b54,_0x90748b){var _0x3661d6=_0xff6382;this[_0x3661d6(0x1e2)]=_0x392271,this[_0x3661d6(0x226)]=_0x386b54,this[_0x3661d6(0x248)]=_0x90748b,this[_0x3661d6(0x12d)]();}[_0xff6382(0x12d)](){var _0x3fa863=_0xff6382;this[_0x3fa863(0x226)][_0x3fa863(0x327)]({'priority':0x1,'interceptor':(_0x1e5c0e,_0x37b3a7)=>_0x37b3a7(_0x1e5c0e)['pipe'](_0x390195(async _0x1dabcf=>{var _0x3e8e22=_0x3fa863;const _0x4be59d=_0x1dabcf;if(_0x4be59d[_0x3e8e22(0x22e)]===0x191){if(typeof window>'u')throw new Error(_0x3e8e22(0x346));if(window[_0x3e8e22(0x116)](this[_0x3e8e22(0x248)]['t'](_0x3e8e22(0x166)))){const _0x5cd45f=window[_0x3e8e22(0x3e3)](window[_0x3e8e22(0x180)][_0x3e8e22(0x2fc)]);window[_0x3e8e22(0x180)][_0x3e8e22(0x2fc)]=this[_0x3e8e22(0x1e3)]()+_0x3e8e22(0x317)+_0x5cd45f;}}return _0x4be59d;}))});}[_0xff6382(0x1e3)](){var _0x45043d=_0xff6382,_0x22bcd7;const _0x242682=this[_0x45043d(0x1e2)]['getConfig'](K);return(_0x22bcd7=_0x242682==null?void 0x0:_0x242682[_0x45043d(0x221)])!=null?_0x22bcd7:Cs;}};rt=rn([dt(0x0,_0x5839d5),dt(0x1,_0x26f1c4(_0x3b36ba)),dt(0x2,_0x26f1c4(_0x40557f))],rt);var an=Object[_0xff6382(0x169)],on=(_0x52d2aa,_0x3f16a4,_0x126242,_0x5e2a55)=>{var _0x477813=_0xff6382;for(var _0x30c752=_0x5e2a55>0x1?void 0x0:_0x5e2a55?an(_0x3f16a4,_0x126242):_0x3f16a4,_0x2be7e5=_0x52d2aa[_0x477813(0xfe)]-0x1,_0x4250ab;_0x2be7e5>=0x0;_0x2be7e5--)(_0x4250ab=_0x52d2aa[_0x2be7e5])&&(_0x30c752=_0x4250ab(_0x30c752)||_0x30c752);return _0x30c752;},Yt=(_0x770fdc,_0x1190b9)=>(_0x4efc66,_0x329acf)=>_0x1190b9(_0x4efc66,_0x329acf,_0x770fdc);const cn='/universer-api/authz';let Tt=class extends _0x4c3f97{constructor(_0x5326b1,_0x40f0cc){var _0x361762=_0xff6382;super(),this['_HTTPService']=_0x5326b1,this[_0x361762(0x1e2)]=_0x40f0cc,this[_0x361762(0x1ad)]();}[_0xff6382(0x1ad)](){const _0x7317c1=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x259374({'isMatch'(_0x37513a){var _0x8c7d30=_0x3f92,_0x3f2991;if(_0x37513a[_0x8c7d30(0x1fb)]===_0x8c7d30(0x39f)&&((_0x3f2991=_0x37513a['requestParams'])!=null&&_0x3f2991['body'])){const {objectID:_0x30e941,objectType:_0x3c8881}=_0x37513a[_0x8c7d30(0x2a6)][_0x8c7d30(0x35b)]||{};if(!_0x30e941||_0x3c8881===void 0x0)return!0x1;const _0x7e0e08=_0x7317c1[_0x8c7d30(0x298)]()+'/'+_0x3c8881+_0x8c7d30(0x18a)+_0x30e941+_0x8c7d30(0x3db);if(_0x37513a[_0x8c7d30(0x1c5)]===_0x7e0e08)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3a287b){var _0x2a74d2=_0x3f92,_0x29cb8d;return(_0x29cb8d=_0x3a287b[_0x2a74d2(0x2a6)])==null?void 0x0:_0x29cb8d['body'];},'mergeParamsToRequest'(_0x58ee46,_0x202303){var _0x18a31e=_0x3f92;const _0x828afb=_0x7317c1[_0x18a31e(0x298)]()+_0x18a31e(0x22b),_0x43ab51=_0x58ee46[_0x18a31e(0x122)]((_0xe2bfd2,_0x40cd6b)=>{var _0x4f7ab2=_0x18a31e;const {unitID:_0x26e088,objectID:_0x5e0225,objectType:_0x497e3c,actions:_0x200651}=_0x40cd6b;return _0xe2bfd2[_0x26e088]||(_0xe2bfd2[_0x26e088]={}),_0xe2bfd2[_0x26e088][_0x5e0225]||(_0xe2bfd2[_0x26e088][_0x5e0225]={'objectID':_0x5e0225,'objectType':_0x497e3c,'actions':[]}),_0xe2bfd2[_0x26e088][_0x5e0225][_0x4f7ab2(0x12c)]['push'](..._0x200651),_0xe2bfd2;},{}),_0x41e147=[];for(const _0x11c8b2 in _0x43ab51)for(const _0x3745df in _0x43ab51[_0x11c8b2]){const {actions:_0x24f838,objectType:_0x48ce97}=_0x43ab51[_0x11c8b2][_0x3745df],_0x352d5d=[...new Set(_0x24f838)];_0x41e147[_0x18a31e(0x1ed)]({'unitID':_0x11c8b2,'objectID':_0x3745df,'objectType':_0x48ce97,'actions':_0x352d5d});}return new _0x535316(_0x18a31e(0x39f),_0x828afb,{'headers':_0x202303[_0x18a31e(0x2d3)],'withCredentials':_0x202303[_0x18a31e(0x187)],'responseType':_0x202303[_0x18a31e(0x1b8)],'body':{'requests':_0x41e147}});}},{'distributeResult'(_0xfb6a3f,_0x3f26c2){var _0x4282ac=_0x3f92;const {objectActions:_0x3c5d13}=_0xfb6a3f;return _0x3f26c2[_0x4282ac(0xf6)](_0x44116e=>{var _0x57431f=_0x4282ac;const {unitID:_0x5d56f7,objectID:_0x4f1ce5,actions:_0xaea6fc}=_0x44116e,_0x969523=_0x3c5d13[_0x57431f(0x284)](_0x3088d5=>_0x3088d5['unitID']===_0x5d56f7&&_0x3088d5[_0x57431f(0x3a8)]===_0x4f1ce5),_0x36b2cb=_0xaea6fc[_0x57431f(0xf6)](_0x144588=>_0x969523==null?void 0x0:_0x969523[_0x57431f(0x12c)][_0x57431f(0x284)](_0x4891a8=>_0x4891a8['action']===_0x144588))['filter'](_0x451370=>!!_0x451370);return{'config':_0x44116e,'result':{'actions':_0x36b2cb,'error':_0xfb6a3f[_0x57431f(0x220)]}};});}})}));}[_0xff6382(0x298)](){var _0x54bd8c=_0xff6382,_0x361139;const _0x322c6e=this[_0x54bd8c(0x1e2)][_0x54bd8c(0x2d1)](K);return(_0x361139=_0x322c6e==null?void 0x0:_0x322c6e[_0x54bd8c(0x2d9)])!=null?_0x361139:cn;}async[_0xff6382(0x222)](_0x386921){var _0x141489=_0xff6382;const _0x155fea=this[_0x141489(0x298)]()+'/'+_0x386921[_0x141489(0x403)]+'/object';return(await this[_0x141489(0x3cd)][_0x141489(0x3d3)](_0x155fea,{'body':_0x386921}))[_0x141489(0x35b)]['objectID']||'';}async[_0xff6382(0x3ca)](_0x159616){var _0x146b90=_0xff6382;const _0x4f963c=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x146b90(0x3cd)][_0x146b90(0x3d3)](_0x4f963c,{'body':_0x159616}))['body'][_0x146b90(0x3f4)];}async['update'](_0x3930fe){var _0x3c42c6=_0xff6382,_0x470bc4,_0x28605c;const _0x4b6fd3=this[_0x3c42c6(0x298)]()+'/'+_0x3930fe[_0x3c42c6(0x403)]+_0x3c42c6(0x18a)+_0x3930fe[_0x3c42c6(0x3a8)],_0x161211=await this[_0x3c42c6(0x3cd)][_0x3c42c6(0x344)](_0x4b6fd3,{'body':_0x3930fe});if(((_0x28605c=(_0x470bc4=_0x161211==null?void 0x0:_0x161211['body'])==null?void 0x0:_0x470bc4['error'])==null?void 0x0:_0x28605c[_0x3c42c6(0x199)])!==0x1)throw new Error(_0x3c42c6(0x345));}async[_0xff6382(0x219)](_0x548530){var _0x648bd3=_0xff6382;const _0x12320a=this[_0x648bd3(0x298)]()+'/'+_0x548530['objectType']+'/object/'+_0x548530['objectID']+_0x648bd3(0x3db);return(await this[_0x648bd3(0x3cd)][_0x648bd3(0x3d3)](_0x12320a,{'body':_0x548530}))[_0x648bd3(0x35b)][_0x648bd3(0x12c)];}async['batchAllowed'](_0x34700e){var _0x3b5589=_0xff6382;const _0x3c6653=this['_getAPIPrefixPath']()+_0x3b5589(0x22b);return(await this[_0x3b5589(0x3cd)][_0x3b5589(0x3d3)](_0x3c6653,{'body':{'requests':_0x34700e}}))[_0x3b5589(0x35b)][_0x3b5589(0x3b6)];}async[_0xff6382(0x138)](_0x2df701){var _0x11092a=_0xff6382;const _0x429e36=this[_0x11092a(0x298)]()+'/'+_0x2df701[_0x11092a(0x403)]+_0x11092a(0x1d8),_0x369ee7=await this['_HTTPService'][_0x11092a(0x3d3)](_0x429e36,{'body':_0x2df701});return{'roles':_0x369ee7['body'][_0x11092a(0x232)],'actions':_0x369ee7['body']['actions']};}async[_0xff6382(0x16d)](_0xe4f9cd){var _0x395d0b=_0xff6382;const _0x3a7255=this[_0x395d0b(0x298)]()+'/collaborator';await this[_0x395d0b(0x3cd)][_0x395d0b(0x1de)](_0x3a7255,{'params':{'collaboratorID':_0xe4f9cd['collaboratorID'],'objectID':_0xe4f9cd[_0x395d0b(0x3a8)],'unitID':_0xe4f9cd[_0x395d0b(0x2cc)]}});}async[_0xff6382(0x27a)](_0x14da96){var _0xd65c24=_0xff6382;const _0x14da97=this[_0xd65c24(0x298)]()+'/collaborator';await this['_HTTPService'][_0xd65c24(0x3ee)](_0x14da97,{'body':_0x14da96});}async[_0xff6382(0x14a)](_0x5e2815){var _0x29b984=_0xff6382;const _0x3dde2b=this[_0x29b984(0x298)]()+'/collaborator';await this['_HTTPService'][_0x29b984(0x3d3)](_0x3dde2b,{'body':_0x5e2815});}async['listCollaborators'](_0x5ae3f7){var _0x13d015=_0xff6382;const _0x3dfd5f=this['_getAPIPrefixPath']()+_0x13d015(0x341);return(await this[_0x13d015(0x3cd)][_0x13d015(0x22d)](_0x3dfd5f,{'params':{'objectID':_0x5ae3f7['objectID'],'unitID':_0x5ae3f7[_0x13d015(0x2cc)]}}))[_0x13d015(0x35b)][_0x13d015(0x12e)];}async[_0xff6382(0x293)](_0x43575e){var _0x2552e8=_0xff6382;const _0x43a39b=this[_0x2552e8(0x298)]()+'/collaborator';await this[_0x2552e8(0x3cd)]['put'](_0x43a39b,{'body':_0x43575e});}};Tt=on([Yt(0x0,_0x26f1c4(_0x3b36ba)),Yt(0x1,_0x26f1c4(_0x5839d5))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4e9e24){var _0x37298c=_0xff6382;return _0x4e9e24&&_0x4e9e24['__esModule']&&Object['prototype']['hasOwnProperty'][_0x37298c(0x335)](_0x4e9e24,_0x37298c(0x1a4))?_0x4e9e24[_0x37298c(0x1a4)]:_0x4e9e24;}var Ve={'exports':{}};function _n(_0xf67a69){var _0x5dfaec=_0xff6382;throw new Error(_0x5dfaec(0x3be)+_0xf67a69+_0x5dfaec(0x296));}var Ge={'exports':{}},hn=Ge[_0xff6382(0x251)],Kt;function ie(){var _0x15c47f=_0xff6382;return Kt||(Kt=0x1,function(_0x37395f,_0x3ab62b){(function(_0x20dd5c,_0x88ba0f){var _0x295f1e=_0x3f92;_0x37395f[_0x295f1e(0x251)]=_0x88ba0f();}(hn,function(){var _0x436993=_0x436993||function(_0x29a2e6,_0x3e1453){var _0x2493a0=_0x3f92,_0x511943;if(typeof window<'u'&&window[_0x2493a0(0x3cf)]&&(_0x511943=window[_0x2493a0(0x3cf)]),typeof self<'u'&&self[_0x2493a0(0x3cf)]&&(_0x511943=self[_0x2493a0(0x3cf)]),typeof globalThis<'u'&&globalThis[_0x2493a0(0x3cf)]&&(_0x511943=globalThis[_0x2493a0(0x3cf)]),!_0x511943&&typeof window<'u'&&window[_0x2493a0(0x20c)]&&(_0x511943=window['msCrypto']),!_0x511943&&typeof ft<'u'&&ft[_0x2493a0(0x3cf)]&&(_0x511943=ft[_0x2493a0(0x3cf)]),!_0x511943&&typeof _n==_0x2493a0(0xf8))try{_0x511943=require('crypto');}catch{}var _0x78f66f=function(){var _0x3055f8=_0x2493a0;if(_0x511943){if(typeof _0x511943[_0x3055f8(0x3ce)]==_0x3055f8(0xf8))try{return _0x511943[_0x3055f8(0x3ce)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x511943['randomBytes']=='function')try{return _0x511943[_0x3055f8(0x28e)](0x4)[_0x3055f8(0x217)]();}catch{}}throw new Error(_0x3055f8(0x237));},_0x50f209=Object[_0x2493a0(0x222)]||(function(){function _0x573cc4(){}return function(_0x7380c7){var _0x526fa6=_0x3f92,_0x586d2b;return _0x573cc4[_0x526fa6(0x311)]=_0x7380c7,_0x586d2b=new _0x573cc4(),_0x573cc4['prototype']=null,_0x586d2b;};}()),_0x333dbf={},_0x20cb6e=_0x333dbf['lib']={},_0x2ccbba=_0x20cb6e[_0x2493a0(0x1d5)]=(function(){return{'extend':function(_0x3ea918){var _0x4ea482=_0x3f92,_0x37d817=_0x50f209(this);return _0x3ea918&&_0x37d817[_0x4ea482(0x3fc)](_0x3ea918),(!_0x37d817[_0x4ea482(0x334)]('init')||this[_0x4ea482(0x12d)]===_0x37d817[_0x4ea482(0x12d)])&&(_0x37d817[_0x4ea482(0x12d)]=function(){var _0x2097e3=_0x4ea482;_0x37d817['$super']['init'][_0x2097e3(0x32f)](this,arguments);}),_0x37d817[_0x4ea482(0x12d)]['prototype']=_0x37d817,_0x37d817[_0x4ea482(0x291)]=this,_0x37d817;},'create':function(){var _0x33acf5=_0x3f92,_0x288af3=this[_0x33acf5(0x29f)]();return _0x288af3[_0x33acf5(0x12d)][_0x33acf5(0x32f)](_0x288af3,arguments),_0x288af3;},'init':function(){},'mixIn':function(_0x431657){var _0x23fd26=_0x3f92;for(var _0x1ae683 in _0x431657)_0x431657[_0x23fd26(0x334)](_0x1ae683)&&(this[_0x1ae683]=_0x431657[_0x1ae683]);_0x431657['hasOwnProperty']('toString')&&(this[_0x23fd26(0x2d7)]=_0x431657[_0x23fd26(0x2d7)]);},'clone':function(){var _0x46ad40=_0x3f92;return this[_0x46ad40(0x12d)]['prototype'][_0x46ad40(0x29f)](this);}};}()),_0x117371=_0x20cb6e['WordArray']=_0x2ccbba[_0x2493a0(0x29f)]({'init':function(_0x5d3b9d,_0x2f9158){var _0x589710=_0x2493a0;_0x5d3b9d=this[_0x589710(0x1e0)]=_0x5d3b9d||[],_0x2f9158!=_0x3e1453?this[_0x589710(0x273)]=_0x2f9158:this[_0x589710(0x273)]=_0x5d3b9d[_0x589710(0xfe)]*0x4;},'toString':function(_0x27b6cd){var _0x2d1f12=_0x2493a0;return(_0x27b6cd||_0x37b1d4)[_0x2d1f12(0x3de)](this);},'concat':function(_0x3ccfe0){var _0x484347=_0x2493a0,_0x26f9e4=this[_0x484347(0x1e0)],_0x4ec50c=_0x3ccfe0[_0x484347(0x1e0)],_0x1e9a95=this[_0x484347(0x273)],_0x380363=_0x3ccfe0['sigBytes'];if(this[_0x484347(0x17f)](),_0x1e9a95%0x4)for(var _0x9cf902=0x0;_0x9cf902<_0x380363;_0x9cf902++){var _0x2d7852=_0x4ec50c[_0x9cf902>>>0x2]>>>0x18-_0x9cf902%0x4*0x8&0xff;_0x26f9e4[_0x1e9a95+_0x9cf902>>>0x2]|=_0x2d7852<<0x18-(_0x1e9a95+_0x9cf902)%0x4*0x8;}else{for(var _0x477f38=0x0;_0x477f38<_0x380363;_0x477f38+=0x4)_0x26f9e4[_0x1e9a95+_0x477f38>>>0x2]=_0x4ec50c[_0x477f38>>>0x2];}return this[_0x484347(0x273)]+=_0x380363,this;},'clamp':function(){var _0x14cbd8=_0x2493a0,_0x4cb5ba=this['words'],_0x3fb34c=this[_0x14cbd8(0x273)];_0x4cb5ba[_0x3fb34c>>>0x2]&=0xffffffff<<0x20-_0x3fb34c%0x4*0x8,_0x4cb5ba[_0x14cbd8(0xfe)]=_0x29a2e6[_0x14cbd8(0x2aa)](_0x3fb34c/0x4);},'clone':function(){var _0x35d2ea=_0x2493a0,_0x19b161=_0x2ccbba['clone'][_0x35d2ea(0x335)](this);return _0x19b161['words']=this['words']['slice'](0x0),_0x19b161;},'random':function(_0xd32aa7){var _0x264952=_0x2493a0;for(var _0x2a5bd7=[],_0xbf5c38=0x0;_0xbf5c38<_0xd32aa7;_0xbf5c38+=0x4)_0x2a5bd7['push'](_0x78f66f());return new _0x117371[(_0x264952(0x12d))](_0x2a5bd7,_0xd32aa7);}}),_0x328a6a=_0x333dbf[_0x2493a0(0x2c3)]={},_0x37b1d4=_0x328a6a[_0x2493a0(0x274)]={'stringify':function(_0x414b4e){var _0x70f62e=_0x2493a0;for(var _0x4299d1=_0x414b4e[_0x70f62e(0x1e0)],_0x3486ed=_0x414b4e[_0x70f62e(0x273)],_0x302f3a=[],_0x31fcf5=0x0;_0x31fcf5<_0x3486ed;_0x31fcf5++){var _0xee4b28=_0x4299d1[_0x31fcf5>>>0x2]>>>0x18-_0x31fcf5%0x4*0x8&0xff;_0x302f3a['push']((_0xee4b28>>>0x4)[_0x70f62e(0x2d7)](0x10)),_0x302f3a['push']((_0xee4b28&0xf)[_0x70f62e(0x2d7)](0x10));}return _0x302f3a[_0x70f62e(0x1f2)]('');},'parse':function(_0x110614){var _0x50fcf5=_0x2493a0;for(var _0x3fdc82=_0x110614[_0x50fcf5(0xfe)],_0x55ee77=[],_0x5a3482=0x0;_0x5a3482<_0x3fdc82;_0x5a3482+=0x2)_0x55ee77[_0x5a3482>>>0x3]|=parseInt(_0x110614[_0x50fcf5(0x3f6)](_0x5a3482,0x2),0x10)<<0x18-_0x5a3482%0x8*0x4;return new _0x117371['init'](_0x55ee77,_0x3fdc82/0x2);}},_0x2617b3=_0x328a6a[_0x2493a0(0x1cd)]={'stringify':function(_0x5381f1){var _0x3dbe00=_0x2493a0;for(var _0x32db25=_0x5381f1[_0x3dbe00(0x1e0)],_0x479b6b=_0x5381f1[_0x3dbe00(0x273)],_0x13d9fb=[],_0x5ca82b=0x0;_0x5ca82b<_0x479b6b;_0x5ca82b++){var _0x330ca1=_0x32db25[_0x5ca82b>>>0x2]>>>0x18-_0x5ca82b%0x4*0x8&0xff;_0x13d9fb[_0x3dbe00(0x1ed)](String[_0x3dbe00(0x37b)](_0x330ca1));}return _0x13d9fb[_0x3dbe00(0x1f2)]('');},'parse':function(_0x245f01){var _0xc4c578=_0x2493a0;for(var _0x11a6a8=_0x245f01[_0xc4c578(0xfe)],_0x314323=[],_0x8a4e86=0x0;_0x8a4e86<_0x11a6a8;_0x8a4e86++)_0x314323[_0x8a4e86>>>0x2]|=(_0x245f01[_0xc4c578(0x288)](_0x8a4e86)&0xff)<<0x18-_0x8a4e86%0x4*0x8;return new _0x117371[(_0xc4c578(0x12d))](_0x314323,_0x11a6a8);}},_0x44d5bf=_0x328a6a['Utf8']={'stringify':function(_0x2b9752){var _0x44fed0=_0x2493a0;try{return decodeURIComponent(escape(_0x2617b3[_0x44fed0(0x3de)](_0x2b9752)));}catch{throw new Error(_0x44fed0(0x161));}},'parse':function(_0x202b99){return _0x2617b3['parse'](unescape(encodeURIComponent(_0x202b99)));}},_0x210834=_0x20cb6e[_0x2493a0(0x37e)]=_0x2ccbba[_0x2493a0(0x29f)]({'reset':function(){var _0x1697b0=_0x2493a0;this[_0x1697b0(0x3c6)]=new _0x117371[(_0x1697b0(0x12d))](),this[_0x1697b0(0x1f3)]=0x0;},'_append':function(_0x536c47){var _0x39370b=_0x2493a0;typeof _0x536c47=='string'&&(_0x536c47=_0x44d5bf[_0x39370b(0x2f0)](_0x536c47)),this[_0x39370b(0x3c6)][_0x39370b(0x204)](_0x536c47),this[_0x39370b(0x1f3)]+=_0x536c47[_0x39370b(0x273)];},'_process':function(_0x320cb7){var _0x4e67d2=_0x2493a0,_0x4097e1,_0x4ebb32=this[_0x4e67d2(0x3c6)],_0x1d49f7=_0x4ebb32[_0x4e67d2(0x1e0)],_0x1d1133=_0x4ebb32[_0x4e67d2(0x273)],_0x1d531e=this[_0x4e67d2(0xe4)],_0x215b91=_0x1d531e*0x4,_0x3ab131=_0x1d1133/_0x215b91;_0x320cb7?_0x3ab131=_0x29a2e6[_0x4e67d2(0x2aa)](_0x3ab131):_0x3ab131=_0x29a2e6['max']((_0x3ab131|0x0)-this['_minBufferSize'],0x0);var _0x12423e=_0x3ab131*_0x1d531e,_0x15252c=_0x29a2e6[_0x4e67d2(0x332)](_0x12423e*0x4,_0x1d1133);if(_0x12423e){for(var _0x3c7aec=0x0;_0x3c7aec<_0x12423e;_0x3c7aec+=_0x1d531e)this['_doProcessBlock'](_0x1d49f7,_0x3c7aec);_0x4097e1=_0x1d49f7['splice'](0x0,_0x12423e),_0x4ebb32['sigBytes']-=_0x15252c;}return new _0x117371['init'](_0x4097e1,_0x15252c);},'clone':function(){var _0x4d60e2=_0x2493a0,_0x11d703=_0x2ccbba[_0x4d60e2(0x198)][_0x4d60e2(0x335)](this);return _0x11d703[_0x4d60e2(0x3c6)]=this[_0x4d60e2(0x3c6)][_0x4d60e2(0x198)](),_0x11d703;},'_minBufferSize':0x0});_0x20cb6e['Hasher']=_0x210834[_0x2493a0(0x29f)]({'cfg':_0x2ccbba[_0x2493a0(0x29f)](),'init':function(_0x178501){var _0x90f274=_0x2493a0;this[_0x90f274(0x303)]=this[_0x90f274(0x303)][_0x90f274(0x29f)](_0x178501),this[_0x90f274(0x206)]();},'reset':function(){var _0x2f15c2=_0x2493a0;_0x210834[_0x2f15c2(0x206)][_0x2f15c2(0x335)](this),this['_doReset']();},'update':function(_0x3be90b){var _0x295adc=_0x2493a0;return this['_append'](_0x3be90b),this[_0x295adc(0x1e1)](),this;},'finalize':function(_0x59e439){_0x59e439&&this['_append'](_0x59e439);var _0x5c7aad=this['_doFinalize']();return _0x5c7aad;},'blockSize':0x10,'_createHelper':function(_0x4ce16d){return function(_0x5e7782,_0x3b193d){var _0x392c16=_0x3f92;return new _0x4ce16d[(_0x392c16(0x12d))](_0x3b193d)[_0x392c16(0x3ba)](_0x5e7782);};},'_createHmacHelper':function(_0x168e6a){return function(_0x151433,_0x2a89a7){var _0x4342fb=_0x3f92;return new _0x3ad5ad[(_0x4342fb(0x3cc))]['init'](_0x168e6a,_0x2a89a7)[_0x4342fb(0x3ba)](_0x151433);};}});var _0x3ad5ad=_0x333dbf[_0x2493a0(0x3c3)]={};return _0x333dbf;}(Math);return _0x436993;}));}(Ge)),Ge[_0x15c47f(0x251)];}var We={'exports':{}},ln=We[_0xff6382(0x251)],qt;function Ni(){return qt||(qt=0x1,function(_0x3f39f7,_0x5a8a62){(function(_0x2d03d7,_0x3c4a77){var _0x38108c=_0x3f92;_0x3f39f7[_0x38108c(0x251)]=_0x3c4a77(ie());}(ln,function(_0x47979e){var _0x2841bf=_0x3f92;return(function(){var _0xdc03d8=_0x3f92,_0x29c883=_0x47979e,_0x1ae5f1=_0x29c883[_0xdc03d8(0x2f5)],_0x233f22=_0x1ae5f1[_0xdc03d8(0x375)],_0x546050=_0x29c883[_0xdc03d8(0x2c3)];_0x546050['Base64']={'stringify':function(_0x330cad){var _0x295700=_0xdc03d8,_0x5729c1=_0x330cad[_0x295700(0x1e0)],_0x178c27=_0x330cad['sigBytes'],_0x59319b=this[_0x295700(0x277)];_0x330cad['clamp']();for(var _0xa0152=[],_0x5e2066=0x0;_0x5e2066<_0x178c27;_0x5e2066+=0x3)for(var _0x360062=_0x5729c1[_0x5e2066>>>0x2]>>>0x18-_0x5e2066%0x4*0x8&0xff,_0x5d80c1=_0x5729c1[_0x5e2066+0x1>>>0x2]>>>0x18-(_0x5e2066+0x1)%0x4*0x8&0xff,_0x1ea2ab=_0x5729c1[_0x5e2066+0x2>>>0x2]>>>0x18-(_0x5e2066+0x2)%0x4*0x8&0xff,_0x556ae2=_0x360062<<0x10|_0x5d80c1<<0x8|_0x1ea2ab,_0x5a52bc=0x0;_0x5a52bc<0x4&&_0x5e2066+_0x5a52bc*0.75<_0x178c27;_0x5a52bc++)_0xa0152[_0x295700(0x1ed)](_0x59319b[_0x295700(0x3a2)](_0x556ae2>>>0x6*(0x3-_0x5a52bc)&0x3f));var _0xd915fa=_0x59319b['charAt'](0x40);if(_0xd915fa){for(;_0xa0152[_0x295700(0xfe)]%0x4;)_0xa0152[_0x295700(0x1ed)](_0xd915fa);}return _0xa0152['join']('');},'parse':function(_0x1e6ecf){var _0x4eff03=_0xdc03d8,_0x5569d7=_0x1e6ecf[_0x4eff03(0xfe)],_0x62b0c3=this[_0x4eff03(0x277)],_0x469968=this[_0x4eff03(0x13e)];if(!_0x469968){_0x469968=this[_0x4eff03(0x13e)]=[];for(var _0x18109f=0x0;_0x18109f<_0x62b0c3[_0x4eff03(0xfe)];_0x18109f++)_0x469968[_0x62b0c3['charCodeAt'](_0x18109f)]=_0x18109f;}var _0xf7d640=_0x62b0c3[_0x4eff03(0x3a2)](0x40);if(_0xf7d640){var _0x4f7362=_0x1e6ecf[_0x4eff03(0x1d4)](_0xf7d640);_0x4f7362!==-0x1&&(_0x5569d7=_0x4f7362);}return _0x3e5126(_0x1e6ecf,_0x5569d7,_0x469968);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x3e5126(_0x3d4188,_0x5c3b28,_0x4def83){var _0xb21357=_0xdc03d8;for(var _0x5a8fd8=[],_0x44787c=0x0,_0x2d1d03=0x0;_0x2d1d03<_0x5c3b28;_0x2d1d03++)if(_0x2d1d03%0x4){var _0x5f015c=_0x4def83[_0x3d4188[_0xb21357(0x288)](_0x2d1d03-0x1)]<<_0x2d1d03%0x4*0x2,_0x216d56=_0x4def83[_0x3d4188[_0xb21357(0x288)](_0x2d1d03)]>>>0x6-_0x2d1d03%0x4*0x2,_0x31fe96=_0x5f015c|_0x216d56;_0x5a8fd8[_0x44787c>>>0x2]|=_0x31fe96<<0x18-_0x44787c%0x4*0x8,_0x44787c++;}return _0x233f22[_0xb21357(0x222)](_0x5a8fd8,_0x44787c);}}()),_0x47979e[_0x2841bf(0x2c3)][_0x2841bf(0x292)];}));}(We)),We['exports'];}var Ye={'exports':{}},un=Ye['exports'],zt;function dn(){var _0x14e645=_0xff6382;return zt||(zt=0x1,function(_0x1a3ad7,_0x51ff6b){(function(_0x2ad171,_0x437530){_0x1a3ad7['exports']=_0x437530(ie());}(un,function(_0x4d20d1){var _0x4254c9=_0x3f92;return function(_0x14f881){var _0x12ea88=_0x3f92,_0x3a966d=_0x4d20d1,_0x3ff24c=_0x3a966d[_0x12ea88(0x2f5)],_0x4861e1=_0x3ff24c[_0x12ea88(0x375)],_0x55ef2b=_0x3ff24c[_0x12ea88(0x192)],_0xf0e889=_0x3a966d[_0x12ea88(0x3c3)],_0x47d462=[];(function(){var _0x2a5c19=_0x12ea88;for(var _0x309534=0x0;_0x309534<0x40;_0x309534++)_0x47d462[_0x309534]=_0x14f881[_0x2a5c19(0x374)](_0x14f881['sin'](_0x309534+0x1))*0x100000000|0x0;}());var _0x35d924=_0xf0e889['MD5']=_0x55ef2b[_0x12ea88(0x29f)]({'_doReset':function(){var _0x1af69a=_0x12ea88;this[_0x1af69a(0x322)]=new _0x4861e1[(_0x1af69a(0x12d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2c099d,_0x39b419){var _0x1a7637=_0x12ea88;for(var _0x2b5afc=0x0;_0x2b5afc<0x10;_0x2b5afc++){var _0x43e372=_0x39b419+_0x2b5afc,_0x33bb39=_0x2c099d[_0x43e372];_0x2c099d[_0x43e372]=(_0x33bb39<<0x8|_0x33bb39>>>0x18)&0xff00ff|(_0x33bb39<<0x18|_0x33bb39>>>0x8)&0xff00ff00;}var _0x2d776e=this[_0x1a7637(0x322)][_0x1a7637(0x1e0)],_0x589d9d=_0x2c099d[_0x39b419+0x0],_0x2e325d=_0x2c099d[_0x39b419+0x1],_0x466c6a=_0x2c099d[_0x39b419+0x2],_0xd50154=_0x2c099d[_0x39b419+0x3],_0x30d2cb=_0x2c099d[_0x39b419+0x4],_0x179e6c=_0x2c099d[_0x39b419+0x5],_0x2c499f=_0x2c099d[_0x39b419+0x6],_0x460fc6=_0x2c099d[_0x39b419+0x7],_0x346705=_0x2c099d[_0x39b419+0x8],_0x298ea0=_0x2c099d[_0x39b419+0x9],_0x5e74cd=_0x2c099d[_0x39b419+0xa],_0x961653=_0x2c099d[_0x39b419+0xb],_0x2ef8c1=_0x2c099d[_0x39b419+0xc],_0x330066=_0x2c099d[_0x39b419+0xd],_0x4dd56e=_0x2c099d[_0x39b419+0xe],_0x41cdfd=_0x2c099d[_0x39b419+0xf],_0x59adf6=_0x2d776e[0x0],_0x27a759=_0x2d776e[0x1],_0x4878b7=_0x2d776e[0x2],_0x4c5fee=_0x2d776e[0x3];_0x59adf6=_0x550e79(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x589d9d,0x7,_0x47d462[0x0]),_0x4c5fee=_0x550e79(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x2e325d,0xc,_0x47d462[0x1]),_0x4878b7=_0x550e79(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x466c6a,0x11,_0x47d462[0x2]),_0x27a759=_0x550e79(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0xd50154,0x16,_0x47d462[0x3]),_0x59adf6=_0x550e79(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x30d2cb,0x7,_0x47d462[0x4]),_0x4c5fee=_0x550e79(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x179e6c,0xc,_0x47d462[0x5]),_0x4878b7=_0x550e79(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x2c499f,0x11,_0x47d462[0x6]),_0x27a759=_0x550e79(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x460fc6,0x16,_0x47d462[0x7]),_0x59adf6=_0x550e79(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x346705,0x7,_0x47d462[0x8]),_0x4c5fee=_0x550e79(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x298ea0,0xc,_0x47d462[0x9]),_0x4878b7=_0x550e79(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x5e74cd,0x11,_0x47d462[0xa]),_0x27a759=_0x550e79(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x961653,0x16,_0x47d462[0xb]),_0x59adf6=_0x550e79(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x2ef8c1,0x7,_0x47d462[0xc]),_0x4c5fee=_0x550e79(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x330066,0xc,_0x47d462[0xd]),_0x4878b7=_0x550e79(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x4dd56e,0x11,_0x47d462[0xe]),_0x27a759=_0x550e79(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x41cdfd,0x16,_0x47d462[0xf]),_0x59adf6=_0x347dd1(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x2e325d,0x5,_0x47d462[0x10]),_0x4c5fee=_0x347dd1(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x2c499f,0x9,_0x47d462[0x11]),_0x4878b7=_0x347dd1(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x961653,0xe,_0x47d462[0x12]),_0x27a759=_0x347dd1(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x589d9d,0x14,_0x47d462[0x13]),_0x59adf6=_0x347dd1(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x179e6c,0x5,_0x47d462[0x14]),_0x4c5fee=_0x347dd1(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x5e74cd,0x9,_0x47d462[0x15]),_0x4878b7=_0x347dd1(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x41cdfd,0xe,_0x47d462[0x16]),_0x27a759=_0x347dd1(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x30d2cb,0x14,_0x47d462[0x17]),_0x59adf6=_0x347dd1(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x298ea0,0x5,_0x47d462[0x18]),_0x4c5fee=_0x347dd1(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x4dd56e,0x9,_0x47d462[0x19]),_0x4878b7=_0x347dd1(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0xd50154,0xe,_0x47d462[0x1a]),_0x27a759=_0x347dd1(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x346705,0x14,_0x47d462[0x1b]),_0x59adf6=_0x347dd1(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x330066,0x5,_0x47d462[0x1c]),_0x4c5fee=_0x347dd1(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x466c6a,0x9,_0x47d462[0x1d]),_0x4878b7=_0x347dd1(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x460fc6,0xe,_0x47d462[0x1e]),_0x27a759=_0x347dd1(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x2ef8c1,0x14,_0x47d462[0x1f]),_0x59adf6=_0x1d3e3b(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x179e6c,0x4,_0x47d462[0x20]),_0x4c5fee=_0x1d3e3b(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x346705,0xb,_0x47d462[0x21]),_0x4878b7=_0x1d3e3b(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x961653,0x10,_0x47d462[0x22]),_0x27a759=_0x1d3e3b(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x4dd56e,0x17,_0x47d462[0x23]),_0x59adf6=_0x1d3e3b(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x2e325d,0x4,_0x47d462[0x24]),_0x4c5fee=_0x1d3e3b(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x30d2cb,0xb,_0x47d462[0x25]),_0x4878b7=_0x1d3e3b(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x460fc6,0x10,_0x47d462[0x26]),_0x27a759=_0x1d3e3b(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x5e74cd,0x17,_0x47d462[0x27]),_0x59adf6=_0x1d3e3b(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x330066,0x4,_0x47d462[0x28]),_0x4c5fee=_0x1d3e3b(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x589d9d,0xb,_0x47d462[0x29]),_0x4878b7=_0x1d3e3b(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0xd50154,0x10,_0x47d462[0x2a]),_0x27a759=_0x1d3e3b(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x2c499f,0x17,_0x47d462[0x2b]),_0x59adf6=_0x1d3e3b(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x298ea0,0x4,_0x47d462[0x2c]),_0x4c5fee=_0x1d3e3b(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x2ef8c1,0xb,_0x47d462[0x2d]),_0x4878b7=_0x1d3e3b(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x41cdfd,0x10,_0x47d462[0x2e]),_0x27a759=_0x1d3e3b(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x466c6a,0x17,_0x47d462[0x2f]),_0x59adf6=_0x48d256(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x589d9d,0x6,_0x47d462[0x30]),_0x4c5fee=_0x48d256(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x460fc6,0xa,_0x47d462[0x31]),_0x4878b7=_0x48d256(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x4dd56e,0xf,_0x47d462[0x32]),_0x27a759=_0x48d256(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x179e6c,0x15,_0x47d462[0x33]),_0x59adf6=_0x48d256(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x2ef8c1,0x6,_0x47d462[0x34]),_0x4c5fee=_0x48d256(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0xd50154,0xa,_0x47d462[0x35]),_0x4878b7=_0x48d256(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x5e74cd,0xf,_0x47d462[0x36]),_0x27a759=_0x48d256(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x2e325d,0x15,_0x47d462[0x37]),_0x59adf6=_0x48d256(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x346705,0x6,_0x47d462[0x38]),_0x4c5fee=_0x48d256(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x41cdfd,0xa,_0x47d462[0x39]),_0x4878b7=_0x48d256(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x2c499f,0xf,_0x47d462[0x3a]),_0x27a759=_0x48d256(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x330066,0x15,_0x47d462[0x3b]),_0x59adf6=_0x48d256(_0x59adf6,_0x27a759,_0x4878b7,_0x4c5fee,_0x30d2cb,0x6,_0x47d462[0x3c]),_0x4c5fee=_0x48d256(_0x4c5fee,_0x59adf6,_0x27a759,_0x4878b7,_0x961653,0xa,_0x47d462[0x3d]),_0x4878b7=_0x48d256(_0x4878b7,_0x4c5fee,_0x59adf6,_0x27a759,_0x466c6a,0xf,_0x47d462[0x3e]),_0x27a759=_0x48d256(_0x27a759,_0x4878b7,_0x4c5fee,_0x59adf6,_0x298ea0,0x15,_0x47d462[0x3f]),_0x2d776e[0x0]=_0x2d776e[0x0]+_0x59adf6|0x0,_0x2d776e[0x1]=_0x2d776e[0x1]+_0x27a759|0x0,_0x2d776e[0x2]=_0x2d776e[0x2]+_0x4878b7|0x0,_0x2d776e[0x3]=_0x2d776e[0x3]+_0x4c5fee|0x0;},'_doFinalize':function(){var _0xbbf01c=_0x12ea88,_0x4c7ffe=this[_0xbbf01c(0x3c6)],_0x22e2f7=_0x4c7ffe[_0xbbf01c(0x1e0)],_0x1b30eb=this[_0xbbf01c(0x1f3)]*0x8,_0x375756=_0x4c7ffe[_0xbbf01c(0x273)]*0x8;_0x22e2f7[_0x375756>>>0x5]|=0x80<<0x18-_0x375756%0x20;var _0x5015f1=_0x14f881['floor'](_0x1b30eb/0x100000000),_0x43067e=_0x1b30eb;_0x22e2f7[(_0x375756+0x40>>>0x9<<0x4)+0xf]=(_0x5015f1<<0x8|_0x5015f1>>>0x18)&0xff00ff|(_0x5015f1<<0x18|_0x5015f1>>>0x8)&0xff00ff00,_0x22e2f7[(_0x375756+0x40>>>0x9<<0x4)+0xe]=(_0x43067e<<0x8|_0x43067e>>>0x18)&0xff00ff|(_0x43067e<<0x18|_0x43067e>>>0x8)&0xff00ff00,_0x4c7ffe[_0xbbf01c(0x273)]=(_0x22e2f7[_0xbbf01c(0xfe)]+0x1)*0x4,this['_process']();for(var _0x1cdfbb=this[_0xbbf01c(0x322)],_0x36b345=_0x1cdfbb[_0xbbf01c(0x1e0)],_0x3d57b9=0x0;_0x3d57b9<0x4;_0x3d57b9++){var _0x46a741=_0x36b345[_0x3d57b9];_0x36b345[_0x3d57b9]=(_0x46a741<<0x8|_0x46a741>>>0x18)&0xff00ff|(_0x46a741<<0x18|_0x46a741>>>0x8)&0xff00ff00;}return _0x1cdfbb;},'clone':function(){var _0x52af58=_0x12ea88,_0x2ba3b9=_0x55ef2b[_0x52af58(0x198)][_0x52af58(0x335)](this);return _0x2ba3b9['_hash']=this['_hash'][_0x52af58(0x198)](),_0x2ba3b9;}});function _0x550e79(_0xb70da5,_0xdd38e3,_0x4b9831,_0x1b5571,_0x4edd02,_0x18f5d5,_0x9871f1){var _0x361295=_0xb70da5+(_0xdd38e3&_0x4b9831|~_0xdd38e3&_0x1b5571)+_0x4edd02+_0x9871f1;return(_0x361295<<_0x18f5d5|_0x361295>>>0x20-_0x18f5d5)+_0xdd38e3;}function _0x347dd1(_0x1cc854,_0x39719e,_0x4581e6,_0x46b9a4,_0x1f7f36,_0xefc2e8,_0x273abb){var _0x13cde9=_0x1cc854+(_0x39719e&_0x46b9a4|_0x4581e6&~_0x46b9a4)+_0x1f7f36+_0x273abb;return(_0x13cde9<<_0xefc2e8|_0x13cde9>>>0x20-_0xefc2e8)+_0x39719e;}function _0x1d3e3b(_0x4cf9f1,_0x170f46,_0x13d2a7,_0x3de0fc,_0x17298f,_0x116820,_0x196f49){var _0xd99259=_0x4cf9f1+(_0x170f46^_0x13d2a7^_0x3de0fc)+_0x17298f+_0x196f49;return(_0xd99259<<_0x116820|_0xd99259>>>0x20-_0x116820)+_0x170f46;}function _0x48d256(_0x1dea48,_0x39ff46,_0xeeaa5b,_0x5252be,_0x18ea72,_0x26df3f,_0x17aa2c){var _0x2f9caa=_0x1dea48+(_0xeeaa5b^(_0x39ff46|~_0x5252be))+_0x18ea72+_0x17aa2c;return(_0x2f9caa<<_0x26df3f|_0x2f9caa>>>0x20-_0x26df3f)+_0x39ff46;}_0x3a966d[_0x12ea88(0x369)]=_0x55ef2b[_0x12ea88(0x2a2)](_0x35d924),_0x3a966d[_0x12ea88(0x3e4)]=_0x55ef2b[_0x12ea88(0x255)](_0x35d924);}(Math),_0x4d20d1[_0x4254c9(0x369)];}));}(Ye)),Ye[_0x14e645(0x251)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0xff6382(0x251)],Xt;function vn(){var _0x456752=_0xff6382;return Xt||(Xt=0x1,function(_0x151cf7,_0x4b0ec4){(function(_0x10a6f7,_0x4a3bed){var _0x4a9a31=_0x3f92;_0x151cf7[_0x4a9a31(0x251)]=_0x4a3bed(ie());}(fn,function(_0x6df384){var _0x371fd1=_0x3f92;return(function(){var _0x92308e=_0x3f92,_0x54c7f5=_0x6df384,_0x16872e=_0x54c7f5['lib'],_0x460fa6=_0x16872e[_0x92308e(0x375)],_0x4fd752=_0x16872e['Hasher'],_0x2f1b61=_0x54c7f5[_0x92308e(0x3c3)],_0x210225=[],_0x643d9b=_0x2f1b61[_0x92308e(0x3d8)]=_0x4fd752['extend']({'_doReset':function(){var _0x330e78=_0x92308e;this['_hash']=new _0x460fa6[(_0x330e78(0x12d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x11f80b,_0x46e70f){var _0x1b92a0=_0x92308e;for(var _0x174ce7=this[_0x1b92a0(0x322)]['words'],_0x3d2d2d=_0x174ce7[0x0],_0x580860=_0x174ce7[0x1],_0x1031fe=_0x174ce7[0x2],_0xe6ce05=_0x174ce7[0x3],_0x4e312d=_0x174ce7[0x4],_0x54e801=0x0;_0x54e801<0x50;_0x54e801++){if(_0x54e801<0x10)_0x210225[_0x54e801]=_0x11f80b[_0x46e70f+_0x54e801]|0x0;else{var _0x5a9031=_0x210225[_0x54e801-0x3]^_0x210225[_0x54e801-0x8]^_0x210225[_0x54e801-0xe]^_0x210225[_0x54e801-0x10];_0x210225[_0x54e801]=_0x5a9031<<0x1|_0x5a9031>>>0x1f;}var _0x510dbb=(_0x3d2d2d<<0x5|_0x3d2d2d>>>0x1b)+_0x4e312d+_0x210225[_0x54e801];_0x54e801<0x14?_0x510dbb+=(_0x580860&_0x1031fe|~_0x580860&_0xe6ce05)+0x5a827999:_0x54e801<0x28?_0x510dbb+=(_0x580860^_0x1031fe^_0xe6ce05)+0x6ed9eba1:_0x54e801<0x3c?_0x510dbb+=(_0x580860&_0x1031fe|_0x580860&_0xe6ce05|_0x1031fe&_0xe6ce05)-0x70e44324:_0x510dbb+=(_0x580860^_0x1031fe^_0xe6ce05)-0x359d3e2a,_0x4e312d=_0xe6ce05,_0xe6ce05=_0x1031fe,_0x1031fe=_0x580860<<0x1e|_0x580860>>>0x2,_0x580860=_0x3d2d2d,_0x3d2d2d=_0x510dbb;}_0x174ce7[0x0]=_0x174ce7[0x0]+_0x3d2d2d|0x0,_0x174ce7[0x1]=_0x174ce7[0x1]+_0x580860|0x0,_0x174ce7[0x2]=_0x174ce7[0x2]+_0x1031fe|0x0,_0x174ce7[0x3]=_0x174ce7[0x3]+_0xe6ce05|0x0,_0x174ce7[0x4]=_0x174ce7[0x4]+_0x4e312d|0x0;},'_doFinalize':function(){var _0x45832c=_0x92308e,_0x23caa6=this[_0x45832c(0x3c6)],_0x3a13c0=_0x23caa6[_0x45832c(0x1e0)],_0x30683e=this[_0x45832c(0x1f3)]*0x8,_0x2ab147=_0x23caa6[_0x45832c(0x273)]*0x8;return _0x3a13c0[_0x2ab147>>>0x5]|=0x80<<0x18-_0x2ab147%0x20,_0x3a13c0[(_0x2ab147+0x40>>>0x9<<0x4)+0xe]=Math[_0x45832c(0x2f6)](_0x30683e/0x100000000),_0x3a13c0[(_0x2ab147+0x40>>>0x9<<0x4)+0xf]=_0x30683e,_0x23caa6[_0x45832c(0x273)]=_0x3a13c0['length']*0x4,this[_0x45832c(0x1e1)](),this[_0x45832c(0x322)];},'clone':function(){var _0x2d4c81=_0x92308e,_0x55641a=_0x4fd752[_0x2d4c81(0x198)][_0x2d4c81(0x335)](this);return _0x55641a[_0x2d4c81(0x322)]=this[_0x2d4c81(0x322)]['clone'](),_0x55641a;}});_0x54c7f5[_0x92308e(0x3d8)]=_0x4fd752[_0x92308e(0x2a2)](_0x643d9b),_0x54c7f5[_0x92308e(0x106)]=_0x4fd752[_0x92308e(0x255)](_0x643d9b);}()),_0x6df384[_0x371fd1(0x3d8)];}));}(qe)),qe[_0x456752(0x251)];}var ze={'exports':{}},En=ze[_0xff6382(0x251)],Jt;function pn(){var _0x228fba=_0xff6382;return Jt||(Jt=0x1,function(_0x31735f,_0x1548df){(function(_0x5cbea4,_0x30f39e){_0x31735f['exports']=_0x30f39e(ie());}(En,function(_0x4a32b9){(function(){var _0x1291b8=_0x3f92,_0x3ce983=_0x4a32b9,_0x2a066d=_0x3ce983[_0x1291b8(0x2f5)],_0x2f28b3=_0x2a066d['Base'],_0x452aa6=_0x3ce983[_0x1291b8(0x2c3)],_0x1e4d7b=_0x452aa6[_0x1291b8(0x366)],_0x2ed028=_0x3ce983['algo'];_0x2ed028[_0x1291b8(0x3cc)]=_0x2f28b3[_0x1291b8(0x29f)]({'init':function(_0x4a4c77,_0x4b9e3f){var _0x14b8d1=_0x1291b8;_0x4a4c77=this[_0x14b8d1(0x2ed)]=new _0x4a4c77[(_0x14b8d1(0x12d))](),typeof _0x4b9e3f=='string'&&(_0x4b9e3f=_0x1e4d7b[_0x14b8d1(0x2f0)](_0x4b9e3f));var _0x4f52d6=_0x4a4c77[_0x14b8d1(0xe4)],_0x48c710=_0x4f52d6*0x4;_0x4b9e3f[_0x14b8d1(0x273)]>_0x48c710&&(_0x4b9e3f=_0x4a4c77[_0x14b8d1(0x3ba)](_0x4b9e3f)),_0x4b9e3f[_0x14b8d1(0x17f)]();for(var _0x35ee6e=this['_oKey']=_0x4b9e3f[_0x14b8d1(0x198)](),_0x9dac24=this[_0x14b8d1(0x353)]=_0x4b9e3f[_0x14b8d1(0x198)](),_0x18190e=_0x35ee6e['words'],_0x5d584b=_0x9dac24[_0x14b8d1(0x1e0)],_0x470f7c=0x0;_0x470f7c<_0x4f52d6;_0x470f7c++)_0x18190e[_0x470f7c]^=0x5c5c5c5c,_0x5d584b[_0x470f7c]^=0x36363636;_0x35ee6e[_0x14b8d1(0x273)]=_0x9dac24[_0x14b8d1(0x273)]=_0x48c710,this[_0x14b8d1(0x206)]();},'reset':function(){var _0xe0c08b=_0x1291b8,_0x20a808=this['_hasher'];_0x20a808[_0xe0c08b(0x206)](),_0x20a808[_0xe0c08b(0x2d2)](this[_0xe0c08b(0x353)]);},'update':function(_0x250311){var _0x50861a=_0x1291b8;return this['_hasher'][_0x50861a(0x2d2)](_0x250311),this;},'finalize':function(_0x1a6db5){var _0x126bf8=_0x1291b8,_0xb4637c=this[_0x126bf8(0x2ed)],_0x19acbe=_0xb4637c['finalize'](_0x1a6db5);_0xb4637c[_0x126bf8(0x206)]();var _0x2abad6=_0xb4637c[_0x126bf8(0x3ba)](this[_0x126bf8(0x3c8)][_0x126bf8(0x198)]()[_0x126bf8(0x204)](_0x19acbe));return _0x2abad6;}});}());}));}(ze)),ze[_0x228fba(0x251)];}var mn=Ke['exports'],Zt;function Ci(){var _0x3e0721=_0xff6382;return Zt||(Zt=0x1,function(_0x30a438,_0x2eda72){(function(_0x5a3e71,_0x3a3241,_0x5ba736){var _0x51349f=_0x3f92;_0x30a438[_0x51349f(0x251)]=_0x3a3241(ie(),vn(),pn());}(mn,function(_0x403518){return(function(){var _0x5e46f8=_0x3f92,_0x49edbc=_0x403518,_0x3b5135=_0x49edbc['lib'],_0x1cb4e9=_0x3b5135[_0x5e46f8(0x1d5)],_0x43abb6=_0x3b5135[_0x5e46f8(0x375)],_0x4514cf=_0x49edbc[_0x5e46f8(0x3c3)],_0x40ef18=_0x4514cf[_0x5e46f8(0x369)],_0x2b320b=_0x4514cf[_0x5e46f8(0x1a7)]=_0x1cb4e9[_0x5e46f8(0x29f)]({'cfg':_0x1cb4e9[_0x5e46f8(0x29f)]({'keySize':0x80/0x20,'hasher':_0x40ef18,'iterations':0x1}),'init':function(_0x20b45c){var _0x37b8a4=_0x5e46f8;this['cfg']=this[_0x37b8a4(0x303)][_0x37b8a4(0x29f)](_0x20b45c);},'compute':function(_0x4ac6e3,_0x2d6605){var _0x296608=_0x5e46f8;for(var _0x98bed,_0x347b12=this[_0x296608(0x303)],_0x5c96c6=_0x347b12[_0x296608(0x214)][_0x296608(0x222)](),_0x454347=_0x43abb6[_0x296608(0x222)](),_0x4bddd2=_0x454347[_0x296608(0x1e0)],_0xc7d775=_0x347b12[_0x296608(0x172)],_0x2ed03e=_0x347b12[_0x296608(0x259)];_0x4bddd2['length']<_0xc7d775;){_0x98bed&&_0x5c96c6[_0x296608(0x2d2)](_0x98bed),_0x98bed=_0x5c96c6[_0x296608(0x2d2)](_0x4ac6e3)[_0x296608(0x3ba)](_0x2d6605),_0x5c96c6[_0x296608(0x206)]();for(var _0x331e94=0x1;_0x331e94<_0x2ed03e;_0x331e94++)_0x98bed=_0x5c96c6['finalize'](_0x98bed),_0x5c96c6[_0x296608(0x206)]();_0x454347[_0x296608(0x204)](_0x98bed);}return _0x454347[_0x296608(0x273)]=_0xc7d775*0x4,_0x454347;}});_0x49edbc[_0x5e46f8(0x1a7)]=function(_0x5ef7c1,_0x43c31d,_0x57da92){var _0x266b49=_0x5e46f8;return _0x2b320b[_0x266b49(0x222)](_0x57da92)[_0x266b49(0x316)](_0x5ef7c1,_0x43c31d);};}()),_0x403518['EvpKDF'];}));}(Ke)),Ke[_0x3e0721(0x251)];}var Xe={'exports':{}},In=Xe[_0xff6382(0x251)],Qt;function bi(){var _0x352cf8=_0xff6382;return Qt||(Qt=0x1,function(_0x4a859d,_0x308c9a){(function(_0x1e522c,_0x50c738,_0x57db54){var _0x5c7e32=_0x3f92;_0x4a859d[_0x5c7e32(0x251)]=_0x50c738(ie(),Ci());}(In,function(_0x472524){var _0xed7c1b=_0x3f92;_0x472524['lib'][_0xed7c1b(0x228)]||function(_0x66f724){var _0x22d73b=_0xed7c1b,_0x5203a0=_0x472524,_0x2543c2=_0x5203a0[_0x22d73b(0x2f5)],_0x33a5c8=_0x2543c2['Base'],_0x5ddf3b=_0x2543c2['WordArray'],_0xab961=_0x2543c2[_0x22d73b(0x37e)],_0x2ab262=_0x5203a0[_0x22d73b(0x2c3)];_0x2ab262[_0x22d73b(0x366)];var _0x480ad4=_0x2ab262['Base64'],_0x32c761=_0x5203a0[_0x22d73b(0x3c3)],_0x281d11=_0x32c761['EvpKDF'],_0x4760a6=_0x2543c2[_0x22d73b(0x228)]=_0xab961[_0x22d73b(0x29f)]({'cfg':_0x33a5c8['extend'](),'createEncryptor':function(_0x479ac5,_0x400cbf){var _0xfae73c=_0x22d73b;return this['create'](this[_0xfae73c(0x2ca)],_0x479ac5,_0x400cbf);},'createDecryptor':function(_0x37b0aa,_0x3f0e8){var _0x278c15=_0x22d73b;return this[_0x278c15(0x222)](this[_0x278c15(0x361)],_0x37b0aa,_0x3f0e8);},'init':function(_0x3f2ec6,_0x5f3cc2,_0xca0af3){var _0x3b8166=_0x22d73b;this[_0x3b8166(0x303)]=this[_0x3b8166(0x303)][_0x3b8166(0x29f)](_0xca0af3),this[_0x3b8166(0x2f2)]=_0x3f2ec6,this[_0x3b8166(0x3a4)]=_0x5f3cc2,this[_0x3b8166(0x206)]();},'reset':function(){var _0xb8373c=_0x22d73b;_0xab961[_0xb8373c(0x206)][_0xb8373c(0x335)](this),this[_0xb8373c(0x2f1)]();},'process':function(_0x45600d){return this['_append'](_0x45600d),this['_process']();},'finalize':function(_0x17d42f){var _0x14fc43=_0x22d73b;_0x17d42f&&this[_0x14fc43(0x1be)](_0x17d42f);var _0x5b50cf=this[_0x14fc43(0x283)]();return _0x5b50cf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5054c5(_0x1ff45a){var _0x271215=_0x3f92;return typeof _0x1ff45a==_0x271215(0x393)?_0x36c27a:_0x57e2ca;}return function(_0x4a4b5a){return{'encrypt':function(_0x4292b8,_0x52e480,_0x26bae4){var _0x4aedab=_0x3f92;return _0x5054c5(_0x52e480)[_0x4aedab(0x318)](_0x4a4b5a,_0x4292b8,_0x52e480,_0x26bae4);},'decrypt':function(_0x451526,_0x3dcff9,_0x91b0af){var _0xa76bec=_0x3f92;return _0x5054c5(_0x3dcff9)[_0xa76bec(0x101)](_0x4a4b5a,_0x451526,_0x3dcff9,_0x91b0af);}};};}())});_0x2543c2[_0x22d73b(0x2ef)]=_0x4760a6['extend']({'_doFinalize':function(){var _0x1a6818=_0x22d73b,_0xd8ada=this[_0x1a6818(0x1e1)](!0x0);return _0xd8ada;},'blockSize':0x1});var _0x22f18b=_0x5203a0['mode']={},_0x463cc7=_0x2543c2['BlockCipherMode']=_0x33a5c8[_0x22d73b(0x29f)]({'createEncryptor':function(_0x16b619,_0x508d3a){var _0x37b80f=_0x22d73b;return this[_0x37b80f(0x1ca)]['create'](_0x16b619,_0x508d3a);},'createDecryptor':function(_0x128b27,_0x38b474){var _0x280d74=_0x22d73b;return this[_0x280d74(0x2c1)][_0x280d74(0x222)](_0x128b27,_0x38b474);},'init':function(_0x28d100,_0x5afa0f){var _0x470aa7=_0x22d73b;this[_0x470aa7(0x1ac)]=_0x28d100,this[_0x470aa7(0x33f)]=_0x5afa0f;}}),_0x330468=_0x22f18b[_0x22d73b(0x392)]=(function(){var _0xdc7115=_0x22d73b,_0x1164cb=_0x463cc7['extend']();_0x1164cb['Encryptor']=_0x1164cb[_0xdc7115(0x29f)]({'processBlock':function(_0x147a12,_0x464850){var _0x3454a7=_0xdc7115,_0x26d5d1=this[_0x3454a7(0x1ac)],_0x17242d=_0x26d5d1[_0x3454a7(0xe4)];_0x377105['call'](this,_0x147a12,_0x464850,_0x17242d),_0x26d5d1[_0x3454a7(0x140)](_0x147a12,_0x464850),this[_0x3454a7(0x30b)]=_0x147a12[_0x3454a7(0x23a)](_0x464850,_0x464850+_0x17242d);}}),_0x1164cb[_0xdc7115(0x2c1)]=_0x1164cb[_0xdc7115(0x29f)]({'processBlock':function(_0x3afcbe,_0x403440){var _0xaebd05=_0xdc7115,_0x28714d=this[_0xaebd05(0x1ac)],_0x6f59fb=_0x28714d[_0xaebd05(0xe4)],_0x23d3a7=_0x3afcbe[_0xaebd05(0x23a)](_0x403440,_0x403440+_0x6f59fb);_0x28714d[_0xaebd05(0x290)](_0x3afcbe,_0x403440),_0x377105[_0xaebd05(0x335)](this,_0x3afcbe,_0x403440,_0x6f59fb),this[_0xaebd05(0x30b)]=_0x23d3a7;}});function _0x377105(_0x736b6a,_0x44fd9f,_0x347fa4){var _0x55d9f6=_0xdc7115,_0x24eb55,_0xb0e5f5=this[_0x55d9f6(0x33f)];_0xb0e5f5?(_0x24eb55=_0xb0e5f5,this[_0x55d9f6(0x33f)]=_0x66f724):_0x24eb55=this[_0x55d9f6(0x30b)];for(var _0x5b150b=0x0;_0x5b150b<_0x347fa4;_0x5b150b++)_0x736b6a[_0x44fd9f+_0x5b150b]^=_0x24eb55[_0x5b150b];}return _0x1164cb;}()),_0x4bb87f=_0x5203a0['pad']={},_0x1015e9=_0x4bb87f['Pkcs7']={'pad':function(_0x112a12,_0x379931){var _0x281247=_0x22d73b;for(var _0x450151=_0x379931*0x4,_0x218c11=_0x450151-_0x112a12['sigBytes']%_0x450151,_0x1757ce=_0x218c11<<0x18|_0x218c11<<0x10|_0x218c11<<0x8|_0x218c11,_0x28777f=[],_0x43ec34=0x0;_0x43ec34<_0x218c11;_0x43ec34+=0x4)_0x28777f[_0x281247(0x1ed)](_0x1757ce);var _0x1c6da6=_0x5ddf3b['create'](_0x28777f,_0x218c11);_0x112a12[_0x281247(0x204)](_0x1c6da6);},'unpad':function(_0x15ae54){var _0x5434cd=_0x22d73b,_0x11bee6=_0x15ae54['words'][_0x15ae54[_0x5434cd(0x273)]-0x1>>>0x2]&0xff;_0x15ae54['sigBytes']-=_0x11bee6;}};_0x2543c2[_0x22d73b(0x2f8)]=_0x4760a6[_0x22d73b(0x29f)]({'cfg':_0x4760a6[_0x22d73b(0x303)][_0x22d73b(0x29f)]({'mode':_0x330468,'padding':_0x1015e9}),'reset':function(){var _0x5d03f4=_0x22d73b,_0x2c6cbf;_0x4760a6[_0x5d03f4(0x206)]['call'](this);var _0x45da62=this['cfg'],_0xe229c0=_0x45da62['iv'],_0x4ce303=_0x45da62[_0x5d03f4(0x1d7)];this['_xformMode']==this[_0x5d03f4(0x2ca)]?_0x2c6cbf=_0x4ce303[_0x5d03f4(0x149)]:(_0x2c6cbf=_0x4ce303[_0x5d03f4(0x163)],this[_0x5d03f4(0x1a2)]=0x1),this[_0x5d03f4(0x3e1)]&&this[_0x5d03f4(0x3e1)][_0x5d03f4(0x31e)]==_0x2c6cbf?this[_0x5d03f4(0x3e1)][_0x5d03f4(0x12d)](this,_0xe229c0&&_0xe229c0[_0x5d03f4(0x1e0)]):(this[_0x5d03f4(0x3e1)]=_0x2c6cbf[_0x5d03f4(0x335)](_0x4ce303,this,_0xe229c0&&_0xe229c0['words']),this[_0x5d03f4(0x3e1)]['__creator']=_0x2c6cbf);},'_doProcessBlock':function(_0x18536b,_0x27516d){var _0xbf7613=_0x22d73b;this[_0xbf7613(0x3e1)][_0xbf7613(0x1c3)](_0x18536b,_0x27516d);},'_doFinalize':function(){var _0x16fafe=_0x22d73b,_0x50084f,_0x1c02d7=this[_0x16fafe(0x303)][_0x16fafe(0x36f)];return this['_xformMode']==this[_0x16fafe(0x2ca)]?(_0x1c02d7['pad'](this[_0x16fafe(0x3c6)],this['blockSize']),_0x50084f=this[_0x16fafe(0x1e1)](!0x0)):(_0x50084f=this[_0x16fafe(0x1e1)](!0x0),_0x1c02d7[_0x16fafe(0x34f)](_0x50084f)),_0x50084f;},'blockSize':0x80/0x20});var _0x352536=_0x2543c2[_0x22d73b(0x2ae)]=_0x33a5c8[_0x22d73b(0x29f)]({'init':function(_0x41678e){var _0x1d3b53=_0x22d73b;this[_0x1d3b53(0x3fc)](_0x41678e);},'toString':function(_0x50d590){var _0x546210=_0x22d73b;return(_0x50d590||this[_0x546210(0x30f)])[_0x546210(0x3de)](this);}}),_0x1f9c00=_0x5203a0[_0x22d73b(0xf4)]={},_0x3b11e2=_0x1f9c00['OpenSSL']={'stringify':function(_0xcd1d8e){var _0x4b06fe=_0x22d73b,_0x58f92e,_0x34c8d6=_0xcd1d8e['ciphertext'],_0x14ec58=_0xcd1d8e[_0x4b06fe(0x3d4)];return _0x14ec58?_0x58f92e=_0x5ddf3b['create']([0x53616c74,0x65645f5f])[_0x4b06fe(0x204)](_0x14ec58)[_0x4b06fe(0x204)](_0x34c8d6):_0x58f92e=_0x34c8d6,_0x58f92e[_0x4b06fe(0x2d7)](_0x480ad4);},'parse':function(_0x588e32){var _0x28923e=_0x22d73b,_0xfe86c1,_0x4fdfcc=_0x480ad4[_0x28923e(0x2f0)](_0x588e32),_0x1ceda7=_0x4fdfcc[_0x28923e(0x1e0)];return _0x1ceda7[0x0]==0x53616c74&&_0x1ceda7[0x1]==0x65645f5f&&(_0xfe86c1=_0x5ddf3b[_0x28923e(0x222)](_0x1ceda7[_0x28923e(0x23a)](0x2,0x4)),_0x1ceda7[_0x28923e(0x3f7)](0x0,0x4),_0x4fdfcc[_0x28923e(0x273)]-=0x10),_0x352536[_0x28923e(0x222)]({'ciphertext':_0x4fdfcc,'salt':_0xfe86c1});}},_0x57e2ca=_0x2543c2[_0x22d73b(0x2a1)]=_0x33a5c8['extend']({'cfg':_0x33a5c8['extend']({'format':_0x3b11e2}),'encrypt':function(_0x23c973,_0x3a41b2,_0x5ed0b6,_0x1e6294){var _0x1b291c=_0x22d73b;_0x1e6294=this['cfg'][_0x1b291c(0x29f)](_0x1e6294);var _0x123a3a=_0x23c973[_0x1b291c(0x149)](_0x5ed0b6,_0x1e6294),_0x591e07=_0x123a3a[_0x1b291c(0x3ba)](_0x3a41b2),_0x351a80=_0x123a3a[_0x1b291c(0x303)];return _0x352536[_0x1b291c(0x222)]({'ciphertext':_0x591e07,'key':_0x5ed0b6,'iv':_0x351a80['iv'],'algorithm':_0x23c973,'mode':_0x351a80['mode'],'padding':_0x351a80['padding'],'blockSize':_0x23c973[_0x1b291c(0xe4)],'formatter':_0x1e6294[_0x1b291c(0xf4)]});},'decrypt':function(_0x39e24f,_0x39f97c,_0x23df4f,_0x3decd2){var _0xcfbe11=_0x22d73b;_0x3decd2=this['cfg'][_0xcfbe11(0x29f)](_0x3decd2),_0x39f97c=this[_0xcfbe11(0x325)](_0x39f97c,_0x3decd2[_0xcfbe11(0xf4)]);var _0x231444=_0x39e24f[_0xcfbe11(0x163)](_0x23df4f,_0x3decd2)[_0xcfbe11(0x3ba)](_0x39f97c[_0xcfbe11(0x376)]);return _0x231444;},'_parse':function(_0x36dded,_0x3cca01){var _0x28a62c=_0x22d73b;return typeof _0x36dded==_0x28a62c(0x393)?_0x3cca01[_0x28a62c(0x2f0)](_0x36dded,this):_0x36dded;}}),_0x1df2ae=_0x5203a0[_0x22d73b(0x3bf)]={},_0x413b94=_0x1df2ae['OpenSSL']={'execute':function(_0x308b91,_0x553a23,_0x3b5eec,_0x2f4ed9,_0x15033b){var _0x8e9512=_0x22d73b;if(_0x2f4ed9||(_0x2f4ed9=_0x5ddf3b['random'](0x40/0x8)),_0x15033b)var _0x304adc=_0x281d11[_0x8e9512(0x222)]({'keySize':_0x553a23+_0x3b5eec,'hasher':_0x15033b})[_0x8e9512(0x316)](_0x308b91,_0x2f4ed9);else var _0x304adc=_0x281d11[_0x8e9512(0x222)]({'keySize':_0x553a23+_0x3b5eec})[_0x8e9512(0x316)](_0x308b91,_0x2f4ed9);var _0x32ac2a=_0x5ddf3b[_0x8e9512(0x222)](_0x304adc[_0x8e9512(0x1e0)][_0x8e9512(0x23a)](_0x553a23),_0x3b5eec*0x4);return _0x304adc[_0x8e9512(0x273)]=_0x553a23*0x4,_0x352536['create']({'key':_0x304adc,'iv':_0x32ac2a,'salt':_0x2f4ed9});}},_0x36c27a=_0x2543c2['PasswordBasedCipher']=_0x57e2ca['extend']({'cfg':_0x57e2ca['cfg'][_0x22d73b(0x29f)]({'kdf':_0x413b94}),'encrypt':function(_0x43d7d8,_0x2af429,_0xddf3e0,_0x1c0356){var _0x256fad=_0x22d73b;_0x1c0356=this[_0x256fad(0x303)]['extend'](_0x1c0356);var _0x1d9695=_0x1c0356[_0x256fad(0x3bf)]['execute'](_0xddf3e0,_0x43d7d8[_0x256fad(0x172)],_0x43d7d8['ivSize'],_0x1c0356[_0x256fad(0x3d4)],_0x1c0356[_0x256fad(0x214)]);_0x1c0356['iv']=_0x1d9695['iv'];var _0x6c9cb=_0x57e2ca['encrypt'][_0x256fad(0x335)](this,_0x43d7d8,_0x2af429,_0x1d9695[_0x256fad(0x160)],_0x1c0356);return _0x6c9cb[_0x256fad(0x3fc)](_0x1d9695),_0x6c9cb;},'decrypt':function(_0x521374,_0x693f25,_0x3bf262,_0xf47ec3){var _0x1ec45f=_0x22d73b;_0xf47ec3=this[_0x1ec45f(0x303)][_0x1ec45f(0x29f)](_0xf47ec3),_0x693f25=this[_0x1ec45f(0x325)](_0x693f25,_0xf47ec3[_0x1ec45f(0xf4)]);var _0x2185d6=_0xf47ec3[_0x1ec45f(0x3bf)]['execute'](_0x3bf262,_0x521374[_0x1ec45f(0x172)],_0x521374['ivSize'],_0x693f25[_0x1ec45f(0x3d4)],_0xf47ec3[_0x1ec45f(0x214)]);_0xf47ec3['iv']=_0x2185d6['iv'];var _0xf68d33=_0x57e2ca['decrypt'][_0x1ec45f(0x335)](this,_0x521374,_0x693f25,_0x2185d6[_0x1ec45f(0x160)],_0xf47ec3);return _0xf68d33;}});}();}));}(Xe)),Xe[_0x352cf8(0x251)];}var Sn=Ve[_0xff6382(0x251)],ei;function gn(){var _0x35332f=_0xff6382;return ei||(ei=0x1,function(_0x1e7fed,_0x319432){(function(_0x277ca3,_0x375a56,_0x115623){var _0x1d898f=_0x3f92;_0x1e7fed[_0x1d898f(0x251)]=_0x375a56(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x3a4ded){return(function(){var _0x2f4136=_0x3f92,_0x2d6656=_0x3a4ded,_0x146cc2=_0x2d6656[_0x2f4136(0x2f5)],_0x9572cf=_0x146cc2[_0x2f4136(0x2f8)],_0xbc5183=_0x2d6656['algo'],_0x18962a=[],_0x5b2aca=[],_0xa5e56=[],_0x19b355=[],_0x2384e3=[],_0x2c5a6d=[],_0x2cb5cc=[],_0x524596=[],_0x416255=[],_0x7a3c88=[];(function(){for(var _0x404a51=[],_0xf54a4=0x0;_0xf54a4<0x100;_0xf54a4++)_0xf54a4<0x80?_0x404a51[_0xf54a4]=_0xf54a4<<0x1:_0x404a51[_0xf54a4]=_0xf54a4<<0x1^0x11b;for(var _0x1feac6=0x0,_0x4fcd7b=0x0,_0xf54a4=0x0;_0xf54a4<0x100;_0xf54a4++){var _0x39ca16=_0x4fcd7b^_0x4fcd7b<<0x1^_0x4fcd7b<<0x2^_0x4fcd7b<<0x3^_0x4fcd7b<<0x4;_0x39ca16=_0x39ca16>>>0x8^_0x39ca16&0xff^0x63,_0x18962a[_0x1feac6]=_0x39ca16,_0x5b2aca[_0x39ca16]=_0x1feac6;var _0x4ed5b0=_0x404a51[_0x1feac6],_0x490a88=_0x404a51[_0x4ed5b0],_0x38d3e0=_0x404a51[_0x490a88],_0x4ef43a=_0x404a51[_0x39ca16]*0x101^_0x39ca16*0x1010100;_0xa5e56[_0x1feac6]=_0x4ef43a<<0x18|_0x4ef43a>>>0x8,_0x19b355[_0x1feac6]=_0x4ef43a<<0x10|_0x4ef43a>>>0x10,_0x2384e3[_0x1feac6]=_0x4ef43a<<0x8|_0x4ef43a>>>0x18,_0x2c5a6d[_0x1feac6]=_0x4ef43a;var _0x4ef43a=_0x38d3e0*0x1010101^_0x490a88*0x10001^_0x4ed5b0*0x101^_0x1feac6*0x1010100;_0x2cb5cc[_0x39ca16]=_0x4ef43a<<0x18|_0x4ef43a>>>0x8,_0x524596[_0x39ca16]=_0x4ef43a<<0x10|_0x4ef43a>>>0x10,_0x416255[_0x39ca16]=_0x4ef43a<<0x8|_0x4ef43a>>>0x18,_0x7a3c88[_0x39ca16]=_0x4ef43a,_0x1feac6?(_0x1feac6=_0x4ed5b0^_0x404a51[_0x404a51[_0x404a51[_0x38d3e0^_0x4ed5b0]]],_0x4fcd7b^=_0x404a51[_0x404a51[_0x4fcd7b]]):_0x1feac6=_0x4fcd7b=0x1;}}());var _0x19d194=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x56dcba=_0xbc5183[_0x2f4136(0x2cd)]=_0x9572cf['extend']({'_doReset':function(){var _0x550c36=_0x2f4136,_0x52715f;if(!(this[_0x550c36(0x3b2)]&&this[_0x550c36(0x2ea)]===this[_0x550c36(0x3a4)])){for(var _0x28d7cc=this[_0x550c36(0x2ea)]=this['_key'],_0x4535c5=_0x28d7cc[_0x550c36(0x1e0)],_0x233022=_0x28d7cc[_0x550c36(0x273)]/0x4,_0x354860=this[_0x550c36(0x3b2)]=_0x233022+0x6,_0x1d5e1f=(_0x354860+0x1)*0x4,_0x4a9296=this[_0x550c36(0x15a)]=[],_0x33025c=0x0;_0x33025c<_0x1d5e1f;_0x33025c++)_0x33025c<_0x233022?_0x4a9296[_0x33025c]=_0x4535c5[_0x33025c]:(_0x52715f=_0x4a9296[_0x33025c-0x1],_0x33025c%_0x233022?_0x233022>0x6&&_0x33025c%_0x233022==0x4&&(_0x52715f=_0x18962a[_0x52715f>>>0x18]<<0x18|_0x18962a[_0x52715f>>>0x10&0xff]<<0x10|_0x18962a[_0x52715f>>>0x8&0xff]<<0x8|_0x18962a[_0x52715f&0xff]):(_0x52715f=_0x52715f<<0x8|_0x52715f>>>0x18,_0x52715f=_0x18962a[_0x52715f>>>0x18]<<0x18|_0x18962a[_0x52715f>>>0x10&0xff]<<0x10|_0x18962a[_0x52715f>>>0x8&0xff]<<0x8|_0x18962a[_0x52715f&0xff],_0x52715f^=_0x19d194[_0x33025c/_0x233022|0x0]<<0x18),_0x4a9296[_0x33025c]=_0x4a9296[_0x33025c-_0x233022]^_0x52715f);for(var _0x24c077=this[_0x550c36(0x3e5)]=[],_0x2569a9=0x0;_0x2569a9<_0x1d5e1f;_0x2569a9++){var _0x33025c=_0x1d5e1f-_0x2569a9;if(_0x2569a9%0x4)var _0x52715f=_0x4a9296[_0x33025c];else var _0x52715f=_0x4a9296[_0x33025c-0x4];_0x2569a9<0x4||_0x33025c<=0x4?_0x24c077[_0x2569a9]=_0x52715f:_0x24c077[_0x2569a9]=_0x2cb5cc[_0x18962a[_0x52715f>>>0x18]]^_0x524596[_0x18962a[_0x52715f>>>0x10&0xff]]^_0x416255[_0x18962a[_0x52715f>>>0x8&0xff]]^_0x7a3c88[_0x18962a[_0x52715f&0xff]];}}},'encryptBlock':function(_0x25d72d,_0x2f2562){this['_doCryptBlock'](_0x25d72d,_0x2f2562,this['_keySchedule'],_0xa5e56,_0x19b355,_0x2384e3,_0x2c5a6d,_0x18962a);},'decryptBlock':function(_0x24277e,_0x3a2bd7){var _0x5c4db6=_0x2f4136,_0x3a250f=_0x24277e[_0x3a2bd7+0x1];_0x24277e[_0x3a2bd7+0x1]=_0x24277e[_0x3a2bd7+0x3],_0x24277e[_0x3a2bd7+0x3]=_0x3a250f,this[_0x5c4db6(0x21d)](_0x24277e,_0x3a2bd7,this['_invKeySchedule'],_0x2cb5cc,_0x524596,_0x416255,_0x7a3c88,_0x5b2aca);var _0x3a250f=_0x24277e[_0x3a2bd7+0x1];_0x24277e[_0x3a2bd7+0x1]=_0x24277e[_0x3a2bd7+0x3],_0x24277e[_0x3a2bd7+0x3]=_0x3a250f;},'_doCryptBlock':function(_0x414f9e,_0x3810d7,_0x530235,_0x6294f5,_0x33174f,_0x1a00ea,_0x4e0ced,_0x48b756){for(var _0x3c4fb1=this['_nRounds'],_0x36a3ae=_0x414f9e[_0x3810d7]^_0x530235[0x0],_0x56d15f=_0x414f9e[_0x3810d7+0x1]^_0x530235[0x1],_0x38205a=_0x414f9e[_0x3810d7+0x2]^_0x530235[0x2],_0x84b3b9=_0x414f9e[_0x3810d7+0x3]^_0x530235[0x3],_0x30f870=0x4,_0x1a6e78=0x1;_0x1a6e78<_0x3c4fb1;_0x1a6e78++){var _0xe2d681=_0x6294f5[_0x36a3ae>>>0x18]^_0x33174f[_0x56d15f>>>0x10&0xff]^_0x1a00ea[_0x38205a>>>0x8&0xff]^_0x4e0ced[_0x84b3b9&0xff]^_0x530235[_0x30f870++],_0x219e30=_0x6294f5[_0x56d15f>>>0x18]^_0x33174f[_0x38205a>>>0x10&0xff]^_0x1a00ea[_0x84b3b9>>>0x8&0xff]^_0x4e0ced[_0x36a3ae&0xff]^_0x530235[_0x30f870++],_0x1778d5=_0x6294f5[_0x38205a>>>0x18]^_0x33174f[_0x84b3b9>>>0x10&0xff]^_0x1a00ea[_0x36a3ae>>>0x8&0xff]^_0x4e0ced[_0x56d15f&0xff]^_0x530235[_0x30f870++],_0x3d90e2=_0x6294f5[_0x84b3b9>>>0x18]^_0x33174f[_0x36a3ae>>>0x10&0xff]^_0x1a00ea[_0x56d15f>>>0x8&0xff]^_0x4e0ced[_0x38205a&0xff]^_0x530235[_0x30f870++];_0x36a3ae=_0xe2d681,_0x56d15f=_0x219e30,_0x38205a=_0x1778d5,_0x84b3b9=_0x3d90e2;}var _0xe2d681=(_0x48b756[_0x36a3ae>>>0x18]<<0x18|_0x48b756[_0x56d15f>>>0x10&0xff]<<0x10|_0x48b756[_0x38205a>>>0x8&0xff]<<0x8|_0x48b756[_0x84b3b9&0xff])^_0x530235[_0x30f870++],_0x219e30=(_0x48b756[_0x56d15f>>>0x18]<<0x18|_0x48b756[_0x38205a>>>0x10&0xff]<<0x10|_0x48b756[_0x84b3b9>>>0x8&0xff]<<0x8|_0x48b756[_0x36a3ae&0xff])^_0x530235[_0x30f870++],_0x1778d5=(_0x48b756[_0x38205a>>>0x18]<<0x18|_0x48b756[_0x84b3b9>>>0x10&0xff]<<0x10|_0x48b756[_0x36a3ae>>>0x8&0xff]<<0x8|_0x48b756[_0x56d15f&0xff])^_0x530235[_0x30f870++],_0x3d90e2=(_0x48b756[_0x84b3b9>>>0x18]<<0x18|_0x48b756[_0x36a3ae>>>0x10&0xff]<<0x10|_0x48b756[_0x56d15f>>>0x8&0xff]<<0x8|_0x48b756[_0x38205a&0xff])^_0x530235[_0x30f870++];_0x414f9e[_0x3810d7]=_0xe2d681,_0x414f9e[_0x3810d7+0x1]=_0x219e30,_0x414f9e[_0x3810d7+0x2]=_0x1778d5,_0x414f9e[_0x3810d7+0x3]=_0x3d90e2;},'keySize':0x100/0x20});_0x2d6656[_0x2f4136(0x2cd)]=_0x9572cf['_createHelper'](_0x56dcba);}()),_0x3a4ded['AES'];}));}(Ve)),Ve[_0x35332f(0x251)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0xff6382(0x251)],ii;function Cn(){var _0x3a3f10=_0xff6382;return ii||(ii=0x1,function(_0x3316c0,_0x58187a){(function(_0x3ae050,_0x3550fa){_0x3316c0['exports']=_0x3550fa(ie());}(Nn,function(_0x24d1ed){var _0x4caa86=_0x3f92;return _0x24d1ed[_0x4caa86(0x2c3)][_0x4caa86(0x366)];}));}(Je)),Je[_0x3a3f10(0x251)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0xff6382(0x251)],si;function Un(){var _0x51d2f6=_0xff6382;return si||(si=0x1,function(_0x18fa5e,_0x265a5d){(function(_0x307803,_0x4d6748){var _0x2247b2=_0x3f92;_0x18fa5e[_0x2247b2(0x251)]=_0x4d6748(ie());}(yn,function(_0x9f1f5){var _0x5e57f6=_0x3f92;return(function(){var _0xc00687=_0x3f92;if(typeof ArrayBuffer==_0xc00687(0xf8)){var _0x2c4862=_0x9f1f5,_0x17a43a=_0x2c4862[_0xc00687(0x2f5)],_0x4c8b02=_0x17a43a[_0xc00687(0x375)],_0x512493=_0x4c8b02['init'],_0x50857a=_0x4c8b02[_0xc00687(0x12d)]=function(_0x540661){var _0x403061=_0xc00687;if(_0x540661 instanceof ArrayBuffer&&(_0x540661=new Uint8Array(_0x540661)),(_0x540661 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x540661 instanceof Uint8ClampedArray||_0x540661 instanceof Int16Array||_0x540661 instanceof Uint16Array||_0x540661 instanceof Int32Array||_0x540661 instanceof Uint32Array||_0x540661 instanceof Float32Array||_0x540661 instanceof Float64Array)&&(_0x540661=new Uint8Array(_0x540661['buffer'],_0x540661[_0x403061(0x186)],_0x540661['byteLength'])),_0x540661 instanceof Uint8Array){for(var _0x3072c7=_0x540661[_0x403061(0x280)],_0x11a4a6=[],_0x276328=0x0;_0x276328<_0x3072c7;_0x276328++)_0x11a4a6[_0x276328>>>0x2]|=_0x540661[_0x276328]<<0x18-_0x276328%0x4*0x8;_0x512493[_0x403061(0x335)](this,_0x11a4a6,_0x3072c7);}else _0x512493[_0x403061(0x32f)](this,arguments);};_0x50857a['prototype']=_0x4c8b02;}}()),_0x9f1f5['lib'][_0x5e57f6(0x375)];}));}(Ze)),Ze[_0x51d2f6(0x251)];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},wn=Qe[_0xff6382(0x251)],ni;function Ln(){var _0x3d99fc=_0xff6382;return ni||(ni=0x1,function(_0x211c1e,_0x3ce97a){(function(_0x730285,_0x28a746,_0x11ca37){var _0x123525=_0x3f92;_0x211c1e[_0x123525(0x251)]=_0x28a746(ie(),bi());}(wn,function(_0x39d61a){var _0xfb81e4=_0x3f92;return _0x39d61a[_0xfb81e4(0x113)][_0xfb81e4(0x388)]={'pad':function(){},'unpad':function(){}},_0x39d61a[_0xfb81e4(0x113)][_0xfb81e4(0x388)];}));}(Qe)),Qe[_0x3d99fc(0x251)];}var Mn=Ln();const xn=$e(Mn);function kn(_0x27f90c,_0x4d204c){var _0x2ccc14=_0xff6382;const _0x1281b5=_0x4d204c-_0x27f90c[_0x2ccc14(0xfe)]%_0x4d204c,_0x2dba46=String[_0x2ccc14(0x37b)](_0x1281b5)[_0x2ccc14(0x23b)](_0x1281b5);return _0x27f90c+_0x2dba46;}function $n(_0x3d6048,_0x5a44e6){var _0x230ad4=_0xff6382;const _0x2e23b5=Pn[_0x230ad4(0x30d)](0x10),_0x118b33=kn(_0x3d6048,0x10),_0x5ed1c7=On[_0x230ad4(0x318)](Dn[_0x230ad4(0x2f0)](_0x118b33),ti[_0x230ad4(0x2f0)](_0x5a44e6),{'iv':_0x2e23b5,'padding':xn});return _0x2e23b5[_0x230ad4(0x204)](_0x5ed1c7['ciphertext'])['toString'](ti);}function Hn(){var _0x45abb3=_0xff6382;const _0x23646d=_0x32e82d()['__Key__'];if(typeof window<'u'&&typeof window[_0x45abb3(0x180)]<'u'&&_0x23646d){const _0x3966df={'time':Math[_0x45abb3(0x2f6)](Date[_0x45abb3(0x286)]()/0x3e8),'domain':location[_0x45abb3(0x2b5)]};return $n(JSON[_0x45abb3(0x3de)](_0x3966df),_0x23646d);}}var Bn=Object[_0xff6382(0x169)],Fn=(_0x286dbb,_0x1f154a,_0x2ddda8,_0x59be52)=>{var _0x5e827c=_0xff6382;for(var _0x4dfc5c=_0x59be52>0x1?void 0x0:_0x59be52?Bn(_0x1f154a,_0x2ddda8):_0x1f154a,_0x324d44=_0x286dbb[_0x5e827c(0xfe)]-0x1,_0x2bb15e;_0x324d44>=0x0;_0x324d44--)(_0x2bb15e=_0x286dbb[_0x324d44])&&(_0x4dfc5c=_0x2bb15e(_0x4dfc5c)||_0x4dfc5c);return _0x4dfc5c;},jn=(_0x352ec5,_0x407648)=>(_0x419593,_0x439687)=>_0x407648(_0x419593,_0x439687,_0x352ec5);let at=class{constructor(_0x427174){var _0x3ad98c=_0xff6382;this[_0x3ad98c(0x226)]=_0x427174,this[_0x3ad98c(0x114)]();}[_0xff6382(0x114)](){var _0x4dd838=_0xff6382;this[_0x4dd838(0x226)][_0x4dd838(0x327)]({'interceptor':(_0x1943a0,_0x4128af)=>{var _0x2fb0a0=_0x4dd838;const _0x1897ac=_0x1943a0[_0x2fb0a0(0x2d3)],_0x5a3f73=Hn();return _0x5a3f73&&_0x1897ac[_0x2fb0a0(0x36a)](_0x2fb0a0(0x1b9),_0x5a3f73),_0x4128af(_0x1943a0);}});}};at=Fn([jn(0x0,_0x26f1c4(_0x3b36ba))],at);var Vn=Object[_0xff6382(0x169)],Gn=(_0xfd4970,_0x47ec1e,_0x52b364,_0xf48b2f)=>{for(var _0x5dc736=_0xf48b2f>0x1?void 0x0:_0xf48b2f?Vn(_0x47ec1e,_0x52b364):_0x47ec1e,_0x495baa=_0xfd4970['length']-0x1,_0x167385;_0x495baa>=0x0;_0x495baa--)(_0x167385=_0xfd4970[_0x495baa])&&(_0x5dc736=_0x167385(_0x5dc736)||_0x5dc736);return _0x5dc736;},vt=(_0x41f161,_0x367f8d)=>(_0x4b0d76,_0x44178e)=>_0x367f8d(_0x4b0d76,_0x44178e,_0x41f161);let Ot=class extends _0x1734f1{constructor(_0x13c2e5,_0x34372c,_0x2061fa){var _0x2469ee=_0xff6382;super(),D(this,_0x2469ee(0x34b),new _0x409cb3(null)),D(this,_0x2469ee(0x2bd),this['_unitInfo$'][_0x2469ee(0x3ac)]()),(this['_logService']=_0x13c2e5,this[_0x2469ee(0x1a5)]=_0x34372c,this[_0x2469ee(0xe9)]=_0x2061fa);}async[_0xff6382(0x1f5)](_0x398bc0,_0x1f3753,_0xd55d73){var _0x4d1630=_0xff6382;this[_0x4d1630(0x34b)]['next']({'unitId':_0x398bc0,'type':_0x1f3753});let _0x5bca6f=null;switch(_0x1f3753){case Q[_0x4d1630(0xf5)]:{_0x5bca6f=await this[_0x4d1630(0x1a5)][_0x4d1630(0x155)](_0x398bc0,_0xd55d73);break;}case Q['UNIVER_DOC']:{_0x5bca6f=await this[_0x4d1630(0x1a5)][_0x4d1630(0x100)](_0x398bc0,_0xd55d73);break;}default:{this['_logService'][_0x4d1630(0x220)](_0x4d1630(0x1dd),_0x4d1630(0x21c));break;}}return _0x5bca6f;}async[_0xff6382(0x295)](_0x1dad63,_0x459618,_0x30451d){var _0x806bc7=_0xff6382,_0x49a5ce;this['_unitInfo$']['next']({'unitId':_0x1dad63,'type':_0x459618,'subUnitId':_0x30451d});let _0x39fa98=0x0;const _0x5dfced=await((_0x49a5ce=this[_0x806bc7(0xe9)])==null?void 0x0:_0x49a5ce[_0x806bc7(0xfa)](_0x1dad63));return _0x5dfced&&(_0x5dfced[_0x806bc7(0x231)]||_0x5dfced[_0x806bc7(0x3ae)][_0x806bc7(0xfe)]!==0x0)&&(_0x39fa98=_0x5dfced[_0x806bc7(0x399)]),_0x39fa98===0x0&&this[_0x806bc7(0x16e)][_0x806bc7(0x38c)]('[DataLoaderService]',_0x806bc7(0x182)),this[_0x806bc7(0x1f5)](_0x1dad63,_0x459618,_0x39fa98);}};Ot=Gn([vt(0x0,_0x4b39d4),vt(0x1,_0x26f1c4(_0x540d25)),vt(0x2,_0x197a74(X))],Ot);var Wn=Object['getOwnPropertyDescriptor'],Yn=(_0xfa9dde,_0x2ba6ff,_0x5b6eda,_0x58d1c4)=>{var _0x1fe8da=_0xff6382;for(var _0x4bfb3d=_0x58d1c4>0x1?void 0x0:_0x58d1c4?Wn(_0x2ba6ff,_0x5b6eda):_0x2ba6ff,_0x5c10ed=_0xfa9dde[_0x1fe8da(0xfe)]-0x1,_0x58a28d;_0x5c10ed>=0x0;_0x5c10ed--)(_0x58a28d=_0xfa9dde[_0x5c10ed])&&(_0x4bfb3d=_0x58a28d(_0x4bfb3d)||_0x4bfb3d);return _0x4bfb3d;},Et=(_0x24f331,_0x1bb27a)=>(_0x293b34,_0x5cba5d)=>_0x1bb27a(_0x293b34,_0x5cba5d,_0x24f331);const Kn=['image/png',_0xff6382(0x108),_0xff6382(0x34e),_0xff6382(0x371),_0xff6382(0x2e4)],qn=0x5*0x400*0x400,zn=_0xff6382(0x16f),Xn=_0xff6382(0x3da);let Rt=class{constructor(_0x457f58,_0x464b3f,_0x596ce5){var _0x41b717=_0xff6382;D(this,'_waitCount',0x0),D(this,'_change$',new _0x14e298()),D(this,_0x41b717(0x260),this[_0x41b717(0x250)]),D(this,_0x41b717(0x2de),new Map()),(this[_0x41b717(0x226)]=_0x457f58,this[_0x41b717(0x1e2)]=_0x464b3f,this[_0x41b717(0x2da)]=_0x596ce5);}[_0xff6382(0x239)](_0x12c82b){var _0x4cfaec=_0xff6382;this[_0x4cfaec(0x385)]=_0x12c82b,this[_0x4cfaec(0x250)][_0x4cfaec(0x118)](_0x12c82b);}['getImageSourceCache'](_0x45fba1,_0x354cca){var _0x5705f5=_0xff6382;if(_0x354cca===_0x1fae8f[_0x5705f5(0x287)]){const _0x31b7b9=new Image();return _0x31b7b9[_0x5705f5(0x240)]=_0x45fba1,_0x31b7b9;}return this[_0x5705f5(0x2de)][_0x5705f5(0x22d)](_0x45fba1);}['addImageSourceCache'](_0x549296,_0x2da2a1,_0x227e40){var _0x461368=_0xff6382;_0x2da2a1===_0x1fae8f[_0x461368(0x287)]||_0x227e40==null||this[_0x461368(0x2de)][_0x461368(0x36a)](_0x549296,_0x227e40);}async[_0xff6382(0x39b)](_0x1e9b46){var _0x13e13f=_0xff6382;try{const _0xbae663=this[_0x13e13f(0x354)](this[_0x13e13f(0x3a7)](),''+_0x1e9b46),_0x44ec63=(await this[_0x13e13f(0x226)][_0x13e13f(0x22d)](_0xbae663))[_0x13e13f(0x35b)];if(_0x44ec63[_0x13e13f(0x220)]&&_0x44ec63['error']['code']===vi['OK']){const _0x345297=_0x40c488(_0x44ec63['url'],this[_0x13e13f(0x3a0)]());return Promise['resolve'](_0x345297);}return Promise['reject'](_0x44ec63[_0x13e13f(0x220)]);}catch(_0x18804d){return Promise[_0x13e13f(0xe7)](_0x18804d);}}async[_0xff6382(0x3dd)](_0xf09d6e){var _0x47712d=_0xff6382;let _0x466555='';if(!Kn['includes'](_0xf09d6e[_0x47712d(0x2c6)]))return this[_0x47712d(0x177)](),Promise[_0x47712d(0xe7)](new Error(_0x6d76aa[_0x47712d(0x193)]));if(_0xf09d6e[_0x47712d(0x18e)]>qn)return this['_decreaseWaiting'](),Promise[_0x47712d(0xe7)](new Error(_0x6d76aa[_0x47712d(0x362)]));try{const _0x56b1a2=new FormData();_0x56b1a2[_0x47712d(0x120)](_0x47712d(0xf9),_0xf09d6e);const _0x4e7b4f=this[_0x47712d(0x2da)][_0x47712d(0x319)](),_0x2a9302=_0x4e7b4f==null?void 0x0:_0x4e7b4f[_0x47712d(0x143)]();if(!_0x2a9302)throw new Error(_0x47712d(0x2fd));const _0x4b3849=this[_0x47712d(0x20b)]()+_0x47712d(0x315)+_0xf09d6e[_0x47712d(0x18e)]['toString']()+_0x47712d(0x3e6)+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x2a9302),_0x373182={'body':_0x56b1a2},_0x2e6e20=(await this[_0x47712d(0x226)][_0x47712d(0x3d3)](_0x4b3849,_0x373182))[_0x47712d(0x35b)];if(typeof _0x2e6e20[_0x47712d(0xff)]!=_0x47712d(0x393))return this[_0x47712d(0x177)](),Promise[_0x47712d(0xe7)](new Error(_0x6d76aa[_0x47712d(0x28f)]));_0x466555=_0x2e6e20[_0x47712d(0xff)];}catch{return this[_0x47712d(0x177)](),Promise[_0x47712d(0xe7)](new Error(_0x6d76aa['ERROR_IMAGE']));}return new Promise((_0x49db4d,_0x3a8175)=>{var _0x338298=_0x47712d;const _0x3335d6=new FileReader();_0x3335d6[_0x338298(0x387)](_0xf09d6e),_0x3335d6['onload']=_0x334bb0=>{var _0x28b437=_0x338298,_0x23d0d4;const _0x55cb16=(_0x23d0d4=_0x334bb0[_0x28b437(0x10c)])==null?void 0x0:_0x23d0d4[_0x28b437(0x29d)];if(_0x55cb16==null){this[_0x28b437(0x177)](),_0x3a8175(new Error(_0x6d76aa[_0x28b437(0x28f)]));return;}const _0x3798fc=_0x1b1ec4(0x6);_0x49db4d({'imageId':_0x3798fc,'imageSourceType':_0x1fae8f['UUID'],'source':_0x466555,'base64Cache':_0x55cb16,'status':_0x6d76aa[_0x28b437(0x26a)]}),this['_decreaseWaiting']();};});}[_0xff6382(0x20b)](){var _0x3021af=_0xff6382,_0x250a1f;const _0x729795=this[_0x3021af(0x1e2)][_0x3021af(0x2d1)](K);return(_0x250a1f=_0x729795==null?void 0x0:_0x729795[_0x3021af(0x14d)])!=null?_0x250a1f:zn;}[_0xff6382(0x3a7)](){var _0x410d56=_0xff6382,_0x3bf044;const _0x5bf305=this[_0x410d56(0x1e2)][_0x410d56(0x2d1)](K);return(_0x3bf044=_0x5bf305==null?void 0x0:_0x5bf305[_0x410d56(0x3ad)])!=null?_0x3bf044:Xn;}[_0xff6382(0x3a0)](){var _0xf4e447=_0xff6382,_0x7dc99a;const _0x5f5217=this[_0xf4e447(0x1e2)][_0xf4e447(0x2d1)](K);return(_0x7dc99a=_0x5f5217==null?void 0x0:_0x5f5217[_0xf4e447(0x242)])!=null?_0x7dc99a:location[_0xf4e447(0x2ee)];}[_0xff6382(0x354)](_0x344f4d,_0x4fc91e){var _0x462704=_0xff6382;return _0x344f4d[_0x462704(0x347)]('{fileID}',_0x4fc91e);}['_decreaseWaiting'](){var _0x140e99=_0xff6382;this[_0x140e99(0x385)]-=0x1,this[_0x140e99(0x250)][_0x140e99(0x118)](this[_0x140e99(0x385)]);}};Rt=Yn([Et(0x0,_0x26f1c4(_0x3b36ba)),Et(0x1,_0x5839d5),Et(0x2,_0x26f1c4(_0x3c78cc))],Rt);var Jn=Object[_0xff6382(0x169)],Zn=(_0x591c6d,_0x1b93a2,_0x54eb5c,_0x563cf8)=>{var _0x53f2fd=_0xff6382;for(var _0x14d591=_0x563cf8>0x1?void 0x0:_0x563cf8?Jn(_0x1b93a2,_0x54eb5c):_0x1b93a2,_0x22ca77=_0x591c6d[_0x53f2fd(0xfe)]-0x1,_0x29f31a;_0x22ca77>=0x0;_0x22ca77--)(_0x29f31a=_0x591c6d[_0x22ca77])&&(_0x14d591=_0x29f31a(_0x14d591)||_0x14d591);return _0x14d591;},ri=(_0x44651c,_0x709172)=>(_0x120d59,_0x577b87)=>_0x709172(_0x120d59,_0x577b87,_0x44651c);const Qn=_0xff6382(0x337);let Nt=class{constructor(_0x351d2b,_0x22a4b4){var _0x5b372a=_0xff6382;this[_0x5b372a(0x1e2)]=_0x351d2b,this['_HTTPService']=_0x22a4b4;}['_getAPIPrefixPath'](){var _0x46660e=_0xff6382,_0x1748d1;const _0x26c210=this['_configService']['getConfig'](K);return(_0x1748d1=_0x26c210==null?void 0x0:_0x26c210[_0x46660e(0x2d9)])!=null?_0x1748d1:Qn;}async[_0xff6382(0x3ca)](_0x572c3c){var _0x2de003=_0xff6382;const _0x102eb7=this[_0x2de003(0x298)]()+_0x2de003(0x341);return{'list':[{'title':_0x2de003(0x19d),'mentions':(await this[_0x2de003(0x3cd)][_0x2de003(0x22d)](_0x102eb7,{'params':{'objectID':_0x572c3c[_0x2de003(0x2ad)],'unitID':_0x572c3c[_0x2de003(0x2ad)]}}))[_0x2de003(0x35b)][_0x2de003(0x12e)]['map'](_0x379aa8=>({'objectId':_0x379aa8['id'],'name':_0x379aa8[_0x2de003(0x36e)]['name'],'metadata':{'icon':_0x379aa8[_0x2de003(0x36e)][_0x2de003(0x1b3)]},'label':_0x379aa8[_0x2de003(0x36e)][_0x2de003(0x261)],'objectType':_0x14821a['PERSON']})),'metadata':{},'type':_0x14821a['PERSON']}]};}};Nt=Zn([ri(0x0,_0x26f1c4(_0x5839d5)),ri(0x1,_0x26f1c4(_0x3b36ba))],Nt);var er=Object[_0xff6382(0x169)],tr=(_0x2bd3e0,_0x14a5f5,_0x138e39,_0x1516bb)=>{for(var _0x59f9ce=_0x1516bb>0x1?void 0x0:_0x1516bb?er(_0x14a5f5,_0x138e39):_0x14a5f5,_0x44c660=_0x2bd3e0['length']-0x1,_0x1cefb8;_0x44c660>=0x0;_0x44c660--)(_0x1cefb8=_0x2bd3e0[_0x44c660])&&(_0x59f9ce=_0x1cefb8(_0x59f9ce)||_0x59f9ce);return _0x59f9ce;},Ue=(_0x124e7b,_0x5cf432)=>(_0x42c8c4,_0x2ce4f8)=>_0x5cf432(_0x42c8c4,_0x2ce4f8,_0x124e7b);let ot=class extends _0x1734f1{constructor(_0x9e474f,_0x5f89d6,_0x4a9002,_0x120d3f,_0x4847c2){var _0x358bdf=_0xff6382;super(),this[_0x358bdf(0x2c0)]=_0x9e474f,this[_0x358bdf(0x2da)]=_0x5f89d6,this[_0x358bdf(0x176)]=_0x4a9002,this[_0x358bdf(0x2e2)]=_0x120d3f,this[_0x358bdf(0x3b9)]=_0x4847c2,this[_0x358bdf(0x30e)](),this[_0x358bdf(0x3dc)]();}[_0xff6382(0x3dc)](){var _0x24c8e3=_0xff6382;const _0x223f51=async _0x31fb7b=>{var _0x4ac1df=_0x3f92;(await this[_0x4ac1df(0x2e2)]['requireSession'](_0x31fb7b))['event$'][_0x4ac1df(0x1fa)](_0x5f2611(_0x16f458=>_0x16f458['eventID']===_0x5561ca['SHOULD_CLOSE_CONN']),_0x3160cb(this[_0x4ac1df(0x39c)]))[_0x4ac1df(0x33c)](_0x44aa4f=>{var _0x556008=_0x4ac1df;const _0x1448fd=_0x44aa4f,{reason:_0x2fe4fa}=_0x1448fd[_0x556008(0x39d)];this[_0x556008(0x3b9)]['emitEvent']({'id':re[_0x556008(0xfb)],'data':_0x2fe4fa}),this[_0x556008(0x176)][_0x556008(0x12a)](new _0x1dc0bf(_0x31fb7b)['id'],!0x1),this[_0x556008(0x2e2)][_0x556008(0x3b8)](_0x31fb7b);});};_0x301fbe(this[_0x24c8e3(0x2da)][_0x24c8e3(0x267)](_0x20192f[_0x24c8e3(0xf5)]),this[_0x24c8e3(0x2da)][_0x24c8e3(0x267)](_0x20192f['UNIVER_DOC']))['pipe'](_0x240bec(_0xe84f19=>_0xe84f19[_0x24c8e3(0x143)]()),_0x5f2611(_0x3fb792=>!_0x2e6ffc(_0x3fb792)),_0x3160cb(this[_0x24c8e3(0x39c)]))[_0x24c8e3(0x33c)](_0x598ccf=>{_0x223f51(_0x598ccf);});}['_initUnitPermissionChange'](){var _0x260e9b=_0xff6382;const _0x348c45=async _0x3cd67e=>{var _0x29669b=_0x3f92;const _0x1e2050=await this[_0x29669b(0x2e2)][_0x29669b(0x38e)](_0x3cd67e),_0x56465b=this[_0x29669b(0x2c0)][_0x29669b(0x22d)](_0x3b4d81);_0x1e2050[_0x29669b(0x2be)][_0x29669b(0x1fa)](_0x5f2611(_0x1577ed=>_0x1577ed[_0x29669b(0x247)]===_0x5561ca['UPDATE_PERMISSION_OBJ']),_0x3160cb(this[_0x29669b(0x39c)]))[_0x29669b(0x33c)](_0x17f37b=>{var _0x1ca852=_0x29669b;const _0x5e68f2=_0x17f37b,{objectId:_0x551625}=_0x5e68f2[_0x1ca852(0x39d)];_0x551625===_0x3cd67e?_0x56465b[_0x1ca852(0x134)](_0x3cd67e):_0x56465b[_0x1ca852(0x395)](_0x3cd67e,_0x551625);});};_0x301fbe(this[_0x260e9b(0x2da)][_0x260e9b(0x267)](_0x20192f[_0x260e9b(0xf5)]))[_0x260e9b(0x1fa)](_0x240bec(_0x10dfe2=>_0x10dfe2['getUnitId']()),_0x5f2611(_0x358708=>!_0x2e6ffc(_0x358708)),_0x3160cb(this[_0x260e9b(0x39c)]))[_0x260e9b(0x33c)](_0x86f02b=>{_0x348c45(_0x86f02b);});}};ot=tr([Ue(0x0,_0x26f1c4(_0x479e14)),Ue(0x1,_0x3c78cc),Ue(0x2,_0x1ce666),Ue(0x3,_0x26f1c4(we)),Ue(0x4,_0x26f1c4(ve))],ot);var ir=Object[_0xff6382(0x169)],sr=(_0x2319f6,_0x1a2d22,_0x5445dc,_0x53963c)=>{for(var _0x4f2a0c=_0x53963c>0x1?void 0x0:_0x53963c?ir(_0x1a2d22,_0x5445dc):_0x1a2d22,_0x3ef8ce=_0x2319f6['length']-0x1,_0x17ed22;_0x3ef8ce>=0x0;_0x3ef8ce--)(_0x17ed22=_0x2319f6[_0x3ef8ce])&&(_0x4f2a0c=_0x17ed22(_0x4f2a0c)||_0x4f2a0c);return _0x4f2a0c;},ai=(_0x266010,_0x202978)=>(_0x3bdb55,_0x147a2f)=>_0x202978(_0x3bdb55,_0x147a2f,_0x266010);let Ct=class{constructor(_0x5bdd24,_0x159ccb){this['_configService']=_0x5bdd24,this['_httpService']=_0x159ccb;}async['getUnitOnRev'](_0x486226,_0x9265bb){var _0x454bdd=_0xff6382,_0x4b6973;const {unitID:_0x23c357,type:_0x522196,revision:_0x491102=0x0}=_0x9265bb,_0xf6712d=this[_0x454bdd(0x367)]()+'/'+_0x522196+_0x454bdd(0x39e)+_0x23c357+'/rev/'+_0x491102,_0x1c49c9=(await this[_0x454bdd(0x226)][_0x454bdd(0x22d)](_0xf6712d))[_0x454bdd(0x35b)],_0x15d3e4=(_0x4b6973=_0x1c49c9[_0x454bdd(0x11b)])==null?void 0x0:_0x4b6973[_0x454bdd(0x3c5)];if(_0x15d3e4){const _0x3248cd=_0x15d3e4==null?void 0x0:_0x15d3e4['originalMeta'],_0x13897a=_0x3ef249[_0x454bdd(0x37d)](_0x4c051e(_0x3248cd));_0x15d3e4[_0x454bdd(0x25d)]=_0x13897a,Object['entries'](_0x15d3e4[_0x454bdd(0x3cb)])[_0x454bdd(0x3bd)](([,_0x21aa95])=>{var _0x43c9f8=_0x454bdd;const _0x48ab49=_0x21aa95['originalMeta'],_0x2dc00b=_0x3ef249[_0x43c9f8(0x37d)](_0x4c051e(_0x48ab49));_0x21aa95['originalMeta']=_0x2dc00b;});}return _0x1c49c9;}async[_0xff6382(0x121)](_0x113777,_0x314772){var _0x3a1387=_0xff6382;const {unitID:_0x33f479,type:_0x507a70,blockID:_0x1a8824}=_0x314772,_0x54b563=this['_getAPIPrefix']()+'/'+_0x507a70+'/unit/'+_0x33f479+'/block/'+_0x1a8824;return(await this[_0x3a1387(0x226)][_0x3a1387(0x22d)](_0x54b563))[_0x3a1387(0x35b)];}async[_0xff6382(0x253)](_0x21156d,_0x4913d3){var _0x170de7=_0xff6382;const {unitID:_0x1d6848,type:_0x4bdb43,blockID:_0x219410}=_0x4913d3,_0x528e55=this['_getAPIPrefix']()+_0x170de7(0x2ff)+_0x4bdb43+_0x170de7(0x39e)+_0x1d6848+_0x170de7(0x2ff)+_0x219410;return(await this[_0x170de7(0x226)][_0x170de7(0x22d)](_0x528e55))[_0x170de7(0x35b)];}async['fetchMissingChangesets'](_0x1b6971,_0x3e2732){var _0x2cf0a5=_0xff6382;const {unitID:_0x19799f,type:_0x4b383f,from:_0x50eaf0,to:_0xb1f6d1}=_0x3e2732,_0x2b3064=this[_0x2cf0a5(0x25e)]()+'/'+_0x4b383f+_0x2cf0a5(0x39e)+_0x19799f+_0x2cf0a5(0x365)+_0x50eaf0+_0x2cf0a5(0x368)+_0xb1f6d1;return(await this['_httpService'][_0x2cf0a5(0x22d)](_0x2b3064))[_0x2cf0a5(0x35b)];}[_0xff6382(0x367)](){var _0x519547=_0xff6382,_0x503937;return(_0x503937=this['_configService'][_0x519547(0x2d1)](ps))!=null?_0x503937:this[_0x519547(0x25e)]();}[_0xff6382(0x25e)](){var _0xc3d06d=_0xff6382,_0x34731d;const _0x357c88=this['_configService'][_0xc3d06d(0x2d1)](K);return(_0x34731d=_0x357c88==null?void 0x0:_0x357c88[_0xc3d06d(0x1d1)])!=null?_0x34731d:Es;}async[_0xff6382(0x109)](_0x5f38a9,_0x54325c){var _0x1cff17=_0xff6382;const _0xe3d656=_0x1cff17(0x2ce)+_0x54325c[_0x1cff17(0x2c6)]+_0x1cff17(0x39e)+_0x54325c[_0x1cff17(0x2cc)]+_0x1cff17(0x3f5);return(await this['_httpService']['get'](_0xe3d656,{'params':{'resourceId':JSON['stringify'](_0x54325c[_0x1cff17(0x2e3)])}}))[_0x1cff17(0x35b)];}[_0xff6382(0x1ef)](){var _0x5048fc=_0xff6382;throw new Error(_0x5048fc(0x2eb));}['updateSnapshot'](){var _0x5632dd=_0xff6382;throw new Error(_0x5632dd(0x2eb));}['saveSheetBlock'](){var _0x4ccee9=_0xff6382;throw new Error(_0x4ccee9(0x2eb));}[_0xff6382(0x150)](){var _0x1c4ad0=_0xff6382;throw new Error(_0x1c4ad0(0x2eb));}['copyFileMeta'](){var _0x14ad98=_0xff6382;throw new Error(_0x14ad98(0x2eb));}[_0xff6382(0x32b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ct=sr([ai(0x0,_0x5839d5),ai(0x1,_0x26f1c4(_0x3b36ba))],Ct);var nr=Object[_0xff6382(0x169)],rr=(_0x365b64,_0x1259a3,_0x15042b,_0x31e23f)=>{for(var _0x353388=_0x31e23f>0x1?void 0x0:_0x31e23f?nr(_0x1259a3,_0x15042b):_0x1259a3,_0x5351dc=_0x365b64['length']-0x1,_0x5afbfd;_0x5351dc>=0x0;_0x5351dc--)(_0x5afbfd=_0x365b64[_0x5351dc])&&(_0x353388=_0x5afbfd(_0x353388)||_0x353388);return _0x353388;},Ae=(_0x566949,_0x38faf2)=>(_0xef480d,_0x4bd552)=>_0x38faf2(_0xef480d,_0x4bd552,_0x566949);let bt=class extends _0x4a3615{constructor(_0x516c0f,_0x444713,_0x291749,_0x10734c,_0x5ae851){var _0x304439=_0xff6382;super(_0x516c0f,_0x444713,_0x291749),this[_0x304439(0x1db)]=_0x10734c,this[_0x304439(0x16e)]=_0x5ae851;}[_0xff6382(0x2d0)](_0x9c7ec2,_0x2a94c7){var _0x3e7839=_0xff6382;const _0x26ab3b=this[_0x3e7839(0x28a)](_0x9c7ec2);if(_0x26ab3b)try{const _0x231142=this[_0x3e7839(0x22f)](_0x26ab3b,_0x2a94c7);this['_substituteUndoStack'](_0x9c7ec2,_0x231142);}catch(_0x6be1a0){this[_0x3e7839(0x16e)][_0x3e7839(0x220)]('[CollaborationUndoRedoService]',_0x6be1a0),this['_clearUndo'](_0x9c7ec2);}const _0x2ed502=this[_0x3e7839(0xe5)](_0x9c7ec2);if(_0x2ed502)try{const _0x40a0ee=this[_0x3e7839(0x22f)](_0x2ed502,_0x2a94c7);this[_0x3e7839(0x158)](_0x9c7ec2,_0x40a0ee);}catch(_0x1e1cda){this[_0x3e7839(0x16e)][_0x3e7839(0x220)](_0x1e1cda),this[_0x3e7839(0x1ba)](_0x9c7ec2);}}[_0xff6382(0x305)](_0x2a4989){var _0x28b615=_0xff6382;const _0x553762=this[_0x28b615(0x28a)](_0x2a4989);_0x553762&&(_0x553762[_0x28b615(0xfe)]=0x0,this[_0x28b615(0x34a)]());}['_clearRedo'](_0x4b48){var _0xcfd6bd=_0xff6382;const _0x2f058a=this[_0xcfd6bd(0xe5)](_0x4b48);_0x2f058a&&(_0x2f058a[_0xcfd6bd(0xfe)]=0x0,this['_updateStatus']());}[_0xff6382(0x110)](_0x4e79f9,_0xd175d2){var _0x25bbba=_0xff6382;this[_0x25bbba(0x185)][_0x25bbba(0x36a)](_0x4e79f9,_0xd175d2),this[_0x25bbba(0x34a)]();}['_substituteRedoStack'](_0x111d4a,_0x2c31ca){var _0x4afb18=_0xff6382;this['_redoStacks'][_0x4afb18(0x36a)](_0x111d4a,_0x2c31ca),this['_updateStatus']();}[_0xff6382(0x22f)](_0x4f94c0,_0x3edeef){var _0x3e9028=_0xff6382;const _0x28a0fa=[];let _0x7fce0c=_0x3edeef,_0x46002b=_0x3edeef;for(let _0x977c32=_0x4f94c0[_0x3e9028(0xfe)]-0x1;_0x977c32>=0x0;_0x977c32--){const {unitID:_0x171fd5,undoMutations:_0x12d1e4,redoMutations:_0x3b6f84}=_0x4f94c0[_0x977c32],_0x39d60a=this['_transformService'][_0x3e9028(0x123)](_0x7fce0c,_0x12d1e4),_0x3d5227=this['_transformService'][_0x3e9028(0x123)](_0x46002b,_0x3b6f84);if(_0x499a6e(_0x39d60a)||_0x499a6e(_0x3d5227)){this[_0x3e9028(0x16e)][_0x3e9028(0x220)](_0x3e9028(0x339),_0x3e9028(0x32e),_0x39d60a,_0x3d5227);break;}_0x7fce0c=_0x39d60a['c1Prime'],_0x46002b=_0x3d5227[_0x3e9028(0x14f)],_0x28a0fa[_0x3e9028(0x1ed)]({'unitID':_0x171fd5,'undoMutations':_0x39d60a[_0x3e9028(0x14b)],'redoMutations':_0x3d5227[_0x3e9028(0x14b)]});}return _0x28a0fa[_0x3e9028(0x1a3)]();}};bt=rr([Ae(0x0,_0x3c78cc),Ae(0x1,_0x53c0da),Ae(0x2,_0x448142),Ae(0x3,_0x3a8ddb),Ae(0x4,_0x4b39d4)],bt);var ar=Object['defineProperty'],or=Object[_0xff6382(0x169)],cr=(_0x2910de,_0x371a2f,_0xf06b4)=>_0x371a2f in _0x2910de?ar(_0x2910de,_0x371a2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf06b4}):_0x2910de[_0x371a2f]=_0xf06b4,_r=(_0x385252,_0xde26b,_0x50dc8d,_0x1eacc0)=>{for(var _0x1fcfd6=_0x1eacc0>0x1?void 0x0:_0x1eacc0?or(_0xde26b,_0x50dc8d):_0xde26b,_0x96d1f=_0x385252['length']-0x1,_0x3024cb;_0x96d1f>=0x0;_0x96d1f--)(_0x3024cb=_0x385252[_0x96d1f])&&(_0x1fcfd6=_0x3024cb(_0x1fcfd6)||_0x1fcfd6);return _0x1fcfd6;},pt=(_0x33f977,_0x25e8d2)=>(_0x4f15b7,_0x58d5ca)=>_0x25e8d2(_0x4f15b7,_0x58d5ca,_0x33f977),hr=(_0x253e58,_0x53f4b8,_0x1e761f)=>cr(_0x253e58,_0x53f4b8+'',_0x1e761f);const lr=_0xff6382(0x373);let Dt=class extends _0xb12a35{constructor(_0x282ec3,_0x774957,_0x5ac80e,_0x10d0e8){var _0x2c02f8=_0xff6382;super(),D(this,_0x2c02f8(0x128)),(this[_0x2c02f8(0x16e)]=_0x774957,this['_injector']=_0x5ac80e,this[_0x2c02f8(0x1e2)]=_0x10d0e8);const {..._0x3d7036}=_0xbdf69({},ks,_0x282ec3);if(!_0x3d7036[_0x2c02f8(0x35a)])throw new Error(_0x2c02f8(0x10e));this[_0x2c02f8(0x128)]=_0x3d7036,this[_0x2c02f8(0x1e2)][_0x2c02f8(0x245)](K,_0x3d7036);}[_0xff6382(0x10f)](){var _0x516d5e=_0xff6382;this['_registerDependencies'](),this[_0x516d5e(0x3ef)]();}[_0xff6382(0x3f8)](){var _0x375962=_0xff6382,_0x107402,_0x2538ae;this[_0x375962(0x2c0)][_0x375962(0x3ec)](_0x5c3c47)&&this['_logService'][_0x375962(0x220)](_0x375962(0x16b),_0x375962(0xe8));const _0x4e8164=_0x4ff346([[_0x5c3c47,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x375962(0x128)][_0x375962(0x35a)]}],[_0x3fcbd6,{'useClass':Ct}],[_0x548229,{'useClass':Tt}],[_0x234c1a,{'useClass':Rt}],[_0x5c14d2,{'useClass':Nt}],[nt],[gt]],(_0x107402=this[_0x375962(0x128)])==null?void 0x0:_0x107402['override']);if(!((_0x2538ae=this['_config'])!=null&&_0x2538ae['enableSingleActiveInstanceLock'])){const _0x5123cd=_0x4e8164['findIndex'](([_0x2fcf10])=>_0x2fcf10===_t);_0x5123cd!==-0x1&&_0x4e8164['splice'](_0x5123cd,0x1);}_0x21d310(this['_injector'],_0x4e8164);}[_0xff6382(0x3ef)](){var _0x22a848=_0xff6382,_0x5c9078,_0x131dea,_0x5844ac;this[_0x22a848(0x2c0)][_0x22a848(0x22d)](_0x3b36ba)[_0x22a848(0x327)]({'priority':0x14,'interceptor':_0x3ada3d({'maxParallel':0x6})}),(_0x5c9078=this[_0x22a848(0x128)])!=null&&_0x5c9078[_0x22a848(0x370)]||(_0x131dea=this[_0x22a848(0x2c0)][_0x22a848(0x22d)](X,_0x3512b0['OPTIONAL']))==null||_0x131dea[_0x22a848(0x2c5)](),(_0x5844ac=this[_0x22a848(0x128)])!=null&&_0x5844ac[_0x22a848(0x378)]&&_0x40b693(this['_injector'],[[rt]]),_0x40b693(this['_injector'],[[at],[nt],[ot]]);}};hr(Dt,_0xff6382(0x2bc),lr),Dt=_r([_0x26838c(_0x1308f4,_0x3574a6),pt(0x1,_0x4b39d4),pt(0x2,_0x26f1c4(_0x479e14)),pt(0x3,_0x5839d5)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};