@univerjs-pro/collaboration-client 0.9.3 → 0.9.4-nightly.202507290713

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 (54) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/config/config.d.ts +0 -20
  38. package/lib/types/index.d.ts +1 -13
  39. package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -6
  40. package/lib/types/services/collaboration-session/collaboration-session.d.ts +2 -3
  41. package/lib/types/services/image-remote/image-io.service.d.ts +0 -4
  42. package/lib/umd/facade.js +1 -1
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +11 -11
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x2628af=_0x449a;(function(_0x396301,_0x7031f5){var _0x5be70f=_0x449a,_0x32880c=_0x396301();while(!![]){try{var _0xffbbbb=-parseInt(_0x5be70f(0x1ed))/0x1*(parseInt(_0x5be70f(0x420))/0x2)+parseInt(_0x5be70f(0x3ab))/0x3+parseInt(_0x5be70f(0x2b3))/0x4*(-parseInt(_0x5be70f(0x19c))/0x5)+-parseInt(_0x5be70f(0x18d))/0x6+parseInt(_0x5be70f(0x342))/0x7+parseInt(_0x5be70f(0x1e1))/0x8*(-parseInt(_0x5be70f(0x204))/0x9)+parseInt(_0x5be70f(0x3fd))/0xa*(parseInt(_0x5be70f(0x269))/0xb);if(_0xffbbbb===_0x7031f5)break;else _0x32880c['push'](_0x32880c['shift']());}catch(_0x5a4d85){_0x32880c['push'](_0x32880c['shift']());}}}(_0x5204,0xe392c));var Ni=Object[_0x2628af(0x35a)],Di=(_0x1a928a,_0x483a0e,_0xaca11)=>_0x483a0e in _0x1a928a?Ni(_0x1a928a,_0x483a0e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xaca11}):_0x1a928a[_0x483a0e]=_0xaca11,N=(_0x16396f,_0x4be0a2,_0x1c77e9)=>Di(_0x16396f,typeof _0x4be0a2!='symbol'?_0x4be0a2+'':_0x4be0a2,_0x1c77e9);import{createIdentifier as _0x3e9b7e,Inject as _0x4df4de,Injector as _0x1afd43,IConfigService as _0x58acf0,ILogService as _0x5e8fca,Disposable as _0x3a3655,DisposableCollection as _0x5c1123,toDisposable as _0x4bf02b,IUniverInstanceService as _0x55ab5c,UserManagerService as _0x54cfbf,UniverInstanceType as _0x423cd4,LocaleService as _0x26c096,Optional as _0x3807e3,RxDisposable as _0x99efd0,Tools as _0x55c26a,Rectangle as _0xe99a70,ICommandService as _0x2d4f52,JSONX as _0x5d6a66,CommandType as _0x50f631,IUndoRedoService as _0x1eda14,IPermissionService as _0x1305f2,sequenceExecute as _0xadef7b,Workbook as _0x44b7e7,generateRandomId as _0x27767b,MentionType as _0x15a4c8,isInternalEditorID as _0x18bbb0,LocalUndoRedoService as _0x133629,IContextService as _0x3a9797,DependentOn as _0x24e170,Plugin as _0xb5964b,merge as _0x4d14ae,mergeOverrideWithDependencies as _0x597ac7,IAuthzIoService as _0x117e54,IMentionIOService as _0x149c41,registerDependencies as _0x1d91d9,Quantity as _0x465812,touchDependencies as _0x5e1038}from'@univerjs/core';import{Subject as _0x563997,merge as _0x23d50f,of as _0x29d352,BehaviorSubject as _0x5cf054,takeUntil as _0x198bbe,ReplaySubject as _0x305c11,take as _0x43b524,map as _0xeacfc9,shareReplay as _0x51e9ff,firstValueFrom as _0x356759,concatMap as _0x587ba4}from'rxjs';import{map as _0x5b0392,take as _0x3a7ee9,filter as _0x5f2c59,delay as _0x312361,takeUntil as _0x2c5368}from'rxjs/operators';import{CollaborationEvent as _0x543fc4,ISnapshotServerService as _0x5998ee,parseChangesetToProtocol as _0x15cdcf,ITransformService as _0x1b0331,isTransformMutationsWithChangesetSuccess as _0x3c1f72,mapDocumentTypeToUniverType as _0x549829,RevisionService as _0x29e7be,isTransformChangesetsSuccess as _0x281523,CompressMutationService as _0x3a81f4,parseProtocolChangeset as _0x2cea3f,uuidv4 as _0x43009f,SnapshotService as _0x24c623,textEncoder as _0x375c0d,b64DecodeUnicode as _0x5a2aeb,isTransformMutationsWithChangesetFailure as _0x31834a,UniverCollaborationPlugin as _0x1f4531}from'@univerjs-pro/collaboration';import{HTTPService as _0xfc765a,ISocketService as _0x5d2cdd,MergeInterceptorFactory as _0x4f67fb,HTTPRequest as _0x5ded10,UniverNetworkPlugin as _0xf46791,ThresholdInterceptorFactory as _0x1b38ea}from'@univerjs/network';import{ITelemetryService as _0x16e777}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3a996d}from'@univerjs/docs';import{SheetsSelectionsService as _0x24ad1c,SetSelectionsOperation as _0x58ba7a,InsertSheetMutation as _0x29f5e4,EmptyMutation as _0x41292f,WorkbookEditablePermission as _0x524ab0,SheetPermissionInitController as _0x231dd4}from'@univerjs/sheets';import{ImageSourceType as _0x1ae7bd,ImageUploadStatusType as _0x1dcc32,IImageIoService as _0x26aa0d}from'@univerjs/drawing';import{getGlobalObject as _0x48f501}from'@univerjs-pro/license';const vs='SNAPSHOT_SERVER_URL_KEY',ps=_0x2628af(0x305),ms=_0x2628af(0x28a),Nr=_0x2628af(0x280),gs=0x7d0,Ss='COLLAB_WEB_SOCKET_URL',Es=_0x2628af(0x158),Dr=_0x2628af(0x3b5),Is=_0x2628af(0x175),Ts=0x7530,di=_0x2628af(0x1ad),fi=0x4e20,Cs=0x4e20,Rs='RETRY_CONNECTING_MAX_COUNT',Os=0x3,Ur='LOCAL_CACHE_INTERVAL',Ar=0x3e8,bs=_0x2628af(0x3cd),ys=_0x2628af(0x322),Ns=_0x2628af(0x33c),Ds=_0x2628af(0x194),wr=_0x2628af(0x2d3),Pr=_0x2628af(0x311);var vi=(_0x9862f2=>(_0x9862f2[_0x9862f2[_0x2628af(0x254)]=0x0]=_0x2628af(0x254),_0x9862f2[_0x9862f2['OK']=0x1]='OK',_0x9862f2[_0x9862f2[_0x2628af(0x3f4)]=0x2]=_0x2628af(0x3f4),_0x9862f2[_0x9862f2['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x9862f2[_0x9862f2['NOT_FOUND']=0x4]=_0x2628af(0x363),_0x9862f2[_0x9862f2[_0x2628af(0x28f)]=0x5]='UNAUTHENTICATED',_0x9862f2[_0x9862f2['ALREADY_EXISTS']=0x6]=_0x2628af(0x347),_0x9862f2[_0x9862f2['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x9862f2[_0x9862f2[_0x2628af(0x13d)]=0x8]=_0x2628af(0x13d),_0x9862f2[_0x9862f2['COMPLETION_FINISHED']=0x9]=_0x2628af(0x3a7),_0x9862f2[_0x9862f2['LOGIN_FAILED']=0xa]=_0x2628af(0x1be),_0x9862f2[_0x9862f2[_0x2628af(0x389)]=0xb]=_0x2628af(0x389),_0x9862f2[_0x9862f2[_0x2628af(0x362)]=0xc]=_0x2628af(0x362),_0x9862f2[_0x9862f2[_0x2628af(0x312)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x9862f2[_0x9862f2[_0x2628af(0x1d3)]=0xe]=_0x2628af(0x1d3),_0x9862f2[_0x9862f2[_0x2628af(0x30f)]=0x1389]=_0x2628af(0x30f),_0x9862f2[_0x9862f2[_0x2628af(0x3ee)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x9862f2[_0x9862f2[_0x2628af(0x2e3)]=0x1772]=_0x2628af(0x2e3),_0x9862f2[_0x9862f2[_0x2628af(0x377)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x9862f2[_0x9862f2[_0x2628af(0x210)]=0x1b59]=_0x2628af(0x210),_0x9862f2[_0x9862f2[_0x2628af(0x37d)]=0x1b5a]=_0x2628af(0x37d),_0x9862f2[_0x9862f2[_0x2628af(0x358)]=0x1b5b]=_0x2628af(0x358),_0x9862f2[_0x9862f2['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2628af(0x32d),_0x9862f2[_0x9862f2[_0x2628af(0x382)]=0x1b5d]='APPLY_DUPLICATED',_0x9862f2[_0x9862f2[_0x2628af(0x291)]=0x1f41]=_0x2628af(0x291),_0x9862f2[_0x9862f2[_0x2628af(0x171)]=0x2329]=_0x2628af(0x171),_0x9862f2[_0x9862f2[_0x2628af(0x189)]=0x232a]=_0x2628af(0x189),_0x9862f2[_0x9862f2[_0x2628af(0x297)]=0x232b]=_0x2628af(0x297),_0x9862f2[_0x9862f2[_0x2628af(0x153)]=0x232c]=_0x2628af(0x153),_0x9862f2[_0x9862f2[_0x2628af(0x244)]=0x232d]=_0x2628af(0x244),_0x9862f2[_0x9862f2[_0x2628af(0x3ea)]=0x2711]=_0x2628af(0x3ea),_0x9862f2[_0x9862f2[_0x2628af(0x43a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x9862f2[_0x9862f2[_0x2628af(0x38a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x9862f2[_0x9862f2[_0x2628af(0x437)]=0x2714]=_0x2628af(0x437),_0x9862f2[_0x9862f2[_0x2628af(0x156)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x9862f2[_0x9862f2[_0x2628af(0x3ff)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x9862f2[_0x9862f2[_0x2628af(0x178)]=0x271c]=_0x2628af(0x178),_0x9862f2[_0x9862f2[_0x2628af(0x23a)]=0x271d]=_0x2628af(0x23a),_0x9862f2[_0x9862f2[_0x2628af(0x3cb)]=0x271e]=_0x2628af(0x3cb),_0x9862f2[_0x9862f2[_0x2628af(0x20a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x9862f2[_0x9862f2[_0x2628af(0x1e4)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x9862f2[_0x9862f2['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x9862f2[_0x9862f2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2628af(0x2bf),_0x9862f2[_0x9862f2[_0x2628af(0x2cd)]=0x2ee2]=_0x2628af(0x2cd),_0x9862f2[_0x9862f2['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x9862f2[_0x9862f2[_0x2628af(0x2b5)]=0x2ee4]=_0x2628af(0x2b5),_0x9862f2[_0x9862f2[_0x2628af(0x401)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x9862f2[_0x9862f2[_0x2628af(0x3c7)]=0x32c9]=_0x2628af(0x3c7),_0x9862f2[_0x9862f2[_0x2628af(0x380)]=0x32ca]=_0x2628af(0x380),_0x9862f2[_0x9862f2['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x9862f2[_0x9862f2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x9862f2))(vi||{}),Z=(_0x33f121=>(_0x33f121[_0x33f121[_0x2628af(0x27a)]=0x0]='UNIVER_UNKNOWN',_0x33f121[_0x33f121['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x33f121[_0x33f121['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x33f121[_0x33f121[_0x2628af(0x306)]=0x3]=_0x2628af(0x306),_0x33f121[_0x33f121[_0x2628af(0x3c2)]=0x4]='UNIVER_PROJECT',_0x33f121[_0x33f121['UNRECOGNIZED']=-0x1]=_0x2628af(0x224),_0x33f121))(Z||{}),F=(_0x88ef2b=>(_0x88ef2b[_0x88ef2b[_0x2628af(0x333)]=0x0]=_0x2628af(0x333),_0x88ef2b[_0x88ef2b[_0x2628af(0x412)]=0x1]='HELLO',_0x88ef2b[_0x88ef2b['JOIN']=0x2]='JOIN',_0x88ef2b[_0x88ef2b[_0x2628af(0x408)]=0x3]='LEAVE',_0x88ef2b[_0x88ef2b[_0x2628af(0x32f)]=0x4]='INGEST',_0x88ef2b[_0x88ef2b[_0x2628af(0x285)]=0x5]=_0x2628af(0x285),_0x88ef2b[_0x88ef2b[_0x2628af(0x27b)]=0x6]=_0x2628af(0x27b),_0x88ef2b[_0x88ef2b[_0x2628af(0x224)]=-0x1]=_0x2628af(0x224),_0x88ef2b))(F||{}),me=(_0x4755d2=>(_0x4755d2[_0x4755d2[_0x2628af(0x18e)]=0x0]='UNKNOWN_CODE',_0x4755d2[_0x4755d2['OK']=0x1]='OK',_0x4755d2[_0x4755d2[_0x2628af(0x1bc)]=0x2]=_0x2628af(0x1bc),_0x4755d2[_0x4755d2[_0x2628af(0x2c8)]=0x3e9]=_0x2628af(0x2c8),_0x4755d2[_0x4755d2[_0x2628af(0x276)]=0x3ea]=_0x2628af(0x276),_0x4755d2[_0x4755d2[_0x2628af(0x3ca)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4755d2[_0x4755d2[_0x2628af(0x284)]=0x3ec]=_0x2628af(0x284),_0x4755d2[_0x4755d2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4755d2))(me||{}),pi=(_0x3794e0=>(_0x3794e0[_0x3794e0[_0x2628af(0x40e)]=0x0]=_0x2628af(0x40e),_0x3794e0[_0x3794e0[_0x2628af(0x441)]=0x1]=_0x2628af(0x441),_0x3794e0[_0x3794e0[_0x2628af(0x213)]=0x2]=_0x2628af(0x213),_0x3794e0[_0x3794e0[_0x2628af(0x3bb)]=0x3]=_0x2628af(0x3bb),_0x3794e0[_0x3794e0['UnitSnapshot']=0x4]=_0x2628af(0x159),_0x3794e0[_0x3794e0['UserProfileImg']=0x5]='UserProfileImg',_0x3794e0[_0x3794e0['UNRECOGNIZED']=-0x1]=_0x2628af(0x224),_0x3794e0))(pi||{});const K='collaboration-client.config',Us={};var ne=(_0xba1d52=>(_0xba1d52[_0x2628af(0x228)]='OTHER_CLIENT_EDITING',_0xba1d52[_0x2628af(0x3d7)]=_0x2628af(0x3d7),_0xba1d52[_0x2628af(0x2ed)]=_0x2628af(0x2ed),_0xba1d52[_0x2628af(0x240)]=_0x2628af(0x240),_0xba1d52[_0x2628af(0x3be)]='JOIN_ROOM_FAILED',_0xba1d52[_0x2628af(0x21b)]=_0x2628af(0x21b),_0xba1d52[_0x2628af(0x2f3)]=_0x2628af(0x2f3),_0xba1d52[_0x2628af(0x22b)]=_0x2628af(0x22b),_0xba1d52))(ne||{});class ve{constructor(){var _0x53733b=_0x2628af;N(this,_0x53733b(0x1d8),new _0x563997()),N(this,_0x53733b(0x2fd),this[_0x53733b(0x1d8)][_0x53733b(0x20f)]());}[_0x2628af(0x3e8)](_0x53c300){var _0x27eb52=_0x2628af;this['_event$'][_0x27eb52(0x2c6)](_0x53c300);}}const As=_0x3e9b7e(_0x2628af(0x3a1));function ws(_0x1f1a2a){var _0x1e1e41=_0x2628af,_0x1e534c,_0x1d0548,_0x3acb46,_0x12c32d,_0x170320;const _0x47253d=_0x1f1a2a['data'],_0x5e9a85=JSON[_0x1e1e41(0x2a0)](_0x47253d);switch(_0x5e9a85[_0x1e1e41(0x293)]){case F[_0x1e1e41(0x285)]:case F[_0x1e1e41(0x412)]:{const _0x24ad01=_0x5e9a85[_0x1e1e41(0x3d9)];return{..._0x5e9a85,'data':_0x24ad01,'cmd':_0x5e9a85[_0x1e1e41(0x293)]};}case F[_0x1e1e41(0x271)]:{const _0x127365=_0x5e9a85[_0x1e1e41(0x20e)];return{..._0x5e9a85,'data':_0x127365,'cmd':_0x5e9a85[_0x1e1e41(0x293)]};}case F['RECV']:{const _0x5a33d9=_0x5e9a85[_0x1e1e41(0x3fb)];switch(_0x5a33d9[_0x1e1e41(0x1ce)]){case _0x543fc4[_0x1e1e41(0x3b8)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x1e534c=_0x5a33d9[_0x1e1e41(0x27e)])==null?void 0x0:_0x1e534c['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4['CHANGESET_ACK']:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x1d0548=_0x5a33d9['csAckEvent'])==null?void 0x0:_0x1d0548['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4['NEW_CHANGESETS']:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x3acb46=_0x5a33d9[_0x1e1e41(0x424)])==null?void 0x0:_0x3acb46['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x332)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x12c32d=_0x5a33d9[_0x1e1e41(0x19b)])==null?void 0x0:_0x12c32d['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x3b0)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':(_0x170320=_0x5a33d9[_0x1e1e41(0x35e)])==null?void 0x0:_0x170320['cs']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x192)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x1c0)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x3af)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x310)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4['USERS_LEAVE']:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9['leaveEvent']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x18b)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x1db)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4['LIVESHARE_FETCH_OPERATIONS']:case _0x543fc4[_0x1e1e41(0x385)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9['liveShareOperation']},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x1f4)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x1db)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x3bd)]:return{..._0x5e9a85,'data':_0x5a33d9,'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x3bc)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x3e6)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x393)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x42e)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};case _0x543fc4[_0x1e1e41(0x141)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9['shouldCloseConn']},'cmd':_0x5e9a85['cmd']};case _0x543fc4[_0x1e1e41(0x170)]:return{..._0x5e9a85,'data':{..._0x5a33d9,'data':_0x5a33d9[_0x1e1e41(0x316)]},'cmd':_0x5e9a85[_0x1e1e41(0x293)]};default:return _0x5e9a85;}}default:return _0x5e9a85;}}function Ps(_0x1041b2){var _0x2fb756=_0x2628af;switch(_0x1041b2[_0x2fb756(0x293)]){case F['HEARTBEAT']:case F[_0x2fb756(0x412)]:return JSON[_0x2fb756(0x2b0)]({'cmd':_0x1041b2['cmd'],'routeKey':_0x1041b2[_0x2fb756(0x1bb)]});case F[_0x2fb756(0x32f)]:{let _0x1ab3f;switch(_0x1041b2[_0x2fb756(0x391)]['eventID']){case _0x543fc4[_0x2fb756(0x192)]:{_0x1ab3f={'eventID':_0x543fc4['UPDATE_CURSOR'],'updateCursorEvent':_0x1041b2[_0x2fb756(0x391)]['data']};break;}case _0x543fc4[_0x2fb756(0x145)]:{_0x1ab3f={'eventID':_0x543fc4['USERS_LEAVE'],'leaveEvent':_0x1041b2[_0x2fb756(0x391)][_0x2fb756(0x391)]};break;}case _0x543fc4[_0x2fb756(0x3af)]:{_0x1ab3f={'eventID':_0x543fc4[_0x2fb756(0x3af)],'joinEvent':_0x1041b2[_0x2fb756(0x391)][_0x2fb756(0x391)]};break;}case _0x543fc4[_0x2fb756(0x18b)]:{_0x1ab3f={'eventID':_0x543fc4[_0x2fb756(0x18b)],'liveShareNewHost':_0x1041b2[_0x2fb756(0x391)]['data']};break;}case _0x543fc4[_0x2fb756(0x385)]:{_0x1ab3f={'eventID':_0x543fc4[_0x2fb756(0x385)],'liveShareOperation':_0x1041b2[_0x2fb756(0x391)]['data']};break;}case _0x543fc4[_0x2fb756(0x1f4)]:{_0x1ab3f={'eventID':_0x543fc4['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1041b2[_0x2fb756(0x391)][_0x2fb756(0x391)]};break;}case _0x543fc4[_0x2fb756(0x17f)]:{_0x1ab3f={'eventID':_0x543fc4['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1041b2[_0x2fb756(0x391)][_0x2fb756(0x391)]};break;}case _0x543fc4[_0x2fb756(0x2b1)]:{_0x1ab3f={'eventID':_0x543fc4[_0x2fb756(0x2b1)]};break;}default:_0x1ab3f={'eventID':_0x1041b2[_0x2fb756(0x391)]['eventID']};}return JSON[_0x2fb756(0x2b0)]({'cmd':_0x1041b2[_0x2fb756(0x293)],'routeKey':_0x1041b2[_0x2fb756(0x1bb)],'collaMsg':_0x1ab3f});}case F[_0x2fb756(0x271)]:return JSON[_0x2fb756(0x2b0)]({'cmd':_0x1041b2['cmd'],'routeKey':_0x1041b2[_0x2fb756(0x1bb)],'joinReq':_0x1041b2[_0x2fb756(0x391)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x1041b2[_0x2fb756(0x293)],'routeKey':_0x1041b2[_0x2fb756(0x1bb)],'leaveReq':_0x1041b2[_0x2fb756(0x391)]});default:throw new Error(_0x2fb756(0x38b));}}var Ls=Object[_0x2628af(0x197)],Ms=(_0x4d71db,_0x54231f,_0x3ecf39,_0x3cbb12)=>{var _0xc094d3=_0x2628af;for(var _0x3c9dd6=_0x3cbb12>0x1?void 0x0:_0x3cbb12?Ls(_0x54231f,_0x3ecf39):_0x54231f,_0x1c4f39=_0x4d71db[_0xc094d3(0x2a7)]-0x1,_0x8b013e;_0x1c4f39>=0x0;_0x1c4f39--)(_0x8b013e=_0x4d71db[_0x1c4f39])&&(_0x3c9dd6=_0x8b013e(_0x3c9dd6)||_0x3c9dd6);return _0x3c9dd6;},Ue=(_0x59e9ff,_0x282742)=>(_0x598bb8,_0x1a85b4)=>_0x282742(_0x598bb8,_0x1a85b4,_0x59e9ff);const mi=_0x3e9b7e(_0x2628af(0x3d2));function xs(_0x598760,_0x41cb99,_0x43f724){var _0x2e8459=_0x2628af;return _0x598760+'/'+_0x41cb99+'/unit/'+_0x43f724+_0x2e8459(0x17d);}let Ft=class extends _0x3a3655{constructor(_0x12024f,_0x1fde5f,_0xb5ac8b,_0x3326de,_0x3d8147){var _0x4f86b5=_0x2628af;super(),this[_0x4f86b5(0x252)]=_0x12024f,this[_0x4f86b5(0x1a4)]=_0x1fde5f,this['_configService']=_0xb5ac8b,this[_0x4f86b5(0x187)]=_0x3326de,this['_snapshotServerService']=_0x3d8147;}[_0x2628af(0x135)](_0x1806f4){var _0x4f766f=_0x2628af;const _0x427a88=this[_0x4f766f(0x252)]['get'](_0x5d2cdd);if(!_0x427a88)throw new Error(_0x4f766f(0x2a9));const _0x162788=_0x427a88[_0x4f766f(0x265)](_0x1806f4);if(!_0x162788)throw new Error(_0x4f766f(0x25c));const _0x450934=new _0x5c1123(),_0x5895e2=new _0x563997();_0x450934[_0x4f766f(0x360)](_0x162788[_0x4f766f(0x336)]['subscribe'](_0x1b4c48=>_0x5895e2[_0x4f766f(0x2c6)](_0x1b4c48))),_0x450934[_0x4f766f(0x360)](_0x4bf02b(()=>_0x5895e2[_0x4f766f(0x25b)]()));const _0x1b63e6=new _0x563997();_0x450934['add'](_0x162788['error$']['subscribe'](_0x17dfb5=>_0x1b63e6[_0x4f766f(0x2c6)](_0x17dfb5))),_0x450934['add'](_0x4bf02b(()=>_0x1b63e6[_0x4f766f(0x25b)]()));const _0x388151=new _0x563997();_0x450934[_0x4f766f(0x360)](_0x162788[_0x4f766f(0x1ca)][_0x4f766f(0x1da)](_0x42c7c7=>{var _0x54cfc7=_0x4f766f;const _0x4b998b=ws(_0x42c7c7);_0x388151[_0x54cfc7(0x2c6)](_0x4b998b);})),_0x450934[_0x4f766f(0x360)](_0x4bf02b(()=>_0x388151['complete']()));let _0x174f6e;const _0x4131f1=()=>{var _0x4028bd=_0x4f766f;_0x1b63e6[_0x4028bd(0x2c6)](new Event('connection\x20error')),_0x5895e2[_0x4028bd(0x2c6)](new Event(_0x4028bd(0x20b))),_0x174f6e[_0x4028bd(0x42f)]();};return _0x174f6e={'memberID':'','close$':_0x5895e2[_0x4f766f(0x20f)](),'error$':_0x1b63e6[_0x4f766f(0x20f)](),'open$':_0x162788[_0x4f766f(0x36d)],'message$':_0x388151['asObservable'](),'send':_0x14a903=>{var _0x20a094=_0x4f766f;if(_0x14a903[_0x20a094(0x293)]===F[_0x20a094(0x32f)]){if(_0x14a903['data'][_0x20a094(0x1ce)]===_0x543fc4[_0x20a094(0x22d)]){this[_0x20a094(0x3a4)](_0x174f6e,_0x14a903[_0x20a094(0x391)])[_0x20a094(0x396)](_0x233060=>{var _0x13e8da=_0x20a094;this[_0x13e8da(0x187)][_0x13e8da(0x248)](_0x233060),_0x4131f1();});return;}if(_0x14a903[_0x20a094(0x391)][_0x20a094(0x1ce)]===_0x543fc4[_0x20a094(0x41a)]){const _0xad232d=_0x14a903[_0x20a094(0x391)];this[_0x20a094(0x148)](_0xad232d)[_0x20a094(0x40d)](_0x2d1e24=>{var _0x3468c3=_0x20a094;_0x388151[_0x3468c3(0x2c6)]({'cmd':F[_0x3468c3(0x27b)],'code':me['OK'],'routeKey':_0xad232d[_0x3468c3(0x391)][_0x3468c3(0x418)],'routeType':'','data':{'eventID':_0x543fc4[_0x3468c3(0x287)],'data':{'changesets':_0x2d1e24}}});})[_0x20a094(0x396)](_0x231fa8=>{var _0x13e975=_0x20a094;this[_0x13e975(0x187)][_0x13e975(0x248)](_0x231fa8),_0x4131f1();});return;}}_0x162788[_0x20a094(0x2e9)](Ps(_0x14a903));},'close':()=>{var _0x552511=_0x4f766f;_0x162788[_0x552511(0x42f)](),_0x450934['dispose']();}},_0x174f6e;}async['_submitChangeset'](_0x22177e,_0x3e5838){var _0x384395=_0x2628af,_0x5103ee,_0x20dd18;const {unitType:_0x4f653a,unitID:_0x2d1518,changeset:_0x53cd1e}=_0x3e5838['data'],_0x2a651d={'unitID':_0x2d1518,'memberID':_0x22177e['memberID'],'type':_0x4f653a,'changeset':_0x15cdcf(_0x53cd1e)},_0x143ee7=this[_0x384395(0x1f7)][_0x384395(0x2d2)](bs),_0xc3ca10=this[_0x384395(0x1f7)][_0x384395(0x2d2)](K),_0x3985db=xs((_0x20dd18=(_0x5103ee=_0xc3ca10==null?void 0x0:_0xc3ca10['collabSubmitChangesetUrl'])!=null?_0x5103ee:_0x143ee7)!=null?_0x20dd18:ys,_0x4f653a,_0x2d1518);try{await this[_0x384395(0x1a4)]['post'](_0x3985db,{'body':_0x2a651d});}catch(_0x5db4ad){throw this[_0x384395(0x187)]['error'](_0x384395(0x37e),_0x384395(0x24c)),_0x5db4ad;}}async[_0x2628af(0x148)](_0x4d9e84){var _0x470bfa=_0x2628af;const {unitID:_0x4be781,from:_0x5726af,to:_0x28cf14,unitType:_0x174263}=_0x4d9e84['data'];return(await this[_0x470bfa(0x242)][_0x470bfa(0x343)]({'metadata':void 0x0},{'unitID':_0x4be781,'type':_0x174263,'from':_0x5726af,'to':_0x28cf14}))['changesets'];}};Ft=Ms([Ue(0x0,_0x4df4de(_0x1afd43)),Ue(0x1,_0x4df4de(_0xfc765a)),Ue(0x2,_0x58acf0),Ue(0x3,_0x5e8fca),Ue(0x4,_0x5998ee)],Ft);const ks=_0x2628af(0x193);function $s(_0x367345){var _0x18ca1f=_0x2628af;return JSON['stringify'](_0x367345)[_0x18ca1f(0x2a7)];}class gi{constructor(){var _0x9768cf=_0x2628af;N(this,_0x9768cf(0x236),new _0x563997()),N(this,_0x9768cf(0x2ae),this[_0x9768cf(0x236)][_0x9768cf(0x20f)]());}[_0x2628af(0x400)](_0xae54a7){var _0xb4ca12=_0x2628af;this['_commentUpdate$'][_0xb4ca12(0x2c6)](_0xae54a7);}}var Hs=Object['getOwnPropertyDescriptor'],Bs=(_0x64cd02,_0x2d58b5,_0x2d9887,_0x368b78)=>{for(var _0x5996d7=_0x368b78>0x1?void 0x0:_0x368b78?Hs(_0x2d58b5,_0x2d9887):_0x2d58b5,_0x5cab51=_0x64cd02['length']-0x1,_0x11317c;_0x5cab51>=0x0;_0x5cab51--)(_0x11317c=_0x64cd02[_0x5cab51])&&(_0x5996d7=_0x11317c(_0x5996d7)||_0x5996d7);return _0x5996d7;},Vt=(_0x254b4c,_0x51dc2b)=>(_0x261c0d,_0x345b48)=>_0x51dc2b(_0x261c0d,_0x345b48,_0x254b4c);let Pe=class extends _0x3a3655{constructor(_0x361df8,_0x39d796){var _0x4be8ea=_0x2628af;super(),N(this,_0x4be8ea(0x33a),new Map()),N(this,'_roomCreated$',new _0x563997()),(this[_0x4be8ea(0x433)]=_0x361df8,this[_0x4be8ea(0x19f)]=_0x39d796,this['disposeWithMe'](_0x23d50f(this[_0x4be8ea(0x433)]['getTypeOfUnitDisposed$'](_0x423cd4[_0x4be8ea(0x2bd)])[_0x4be8ea(0x1d9)](_0x5b0392(_0x43e2b3=>_0x43e2b3[_0x4be8ea(0x266)]())),this[_0x4be8ea(0x433)]['getTypeOfUnitDisposed$'](_0x423cd4['UNIVER_DOC'])['pipe'](_0x5b0392(_0x4b7340=>_0x4b7340[_0x4be8ea(0x266)]())),this[_0x4be8ea(0x433)][_0x4be8ea(0x247)](_0x423cd4['UNIVER_SLIDE'])[_0x4be8ea(0x1d9)](_0x5b0392(_0x35f309=>_0x35f309[_0x4be8ea(0x266)]())))['subscribe'](_0x7d8cec=>this[_0x4be8ea(0x350)](_0x7d8cec))));}[_0x2628af(0x15f)](_0x7f4851){var _0x637be9=_0x2628af;return this[_0x637be9(0x33a)][_0x637be9(0x27f)](_0x7f4851)?_0x29d352(this[_0x637be9(0x33a)][_0x637be9(0x239)](_0x7f4851)):this[_0x637be9(0x3d8)][_0x637be9(0x1d9)](_0x5b0392(_0x17e818=>{var _0x501e7b=_0x637be9;if(_0x17e818===_0x7f4851)return this[_0x501e7b(0x33a)][_0x501e7b(0x239)](_0x17e818);}));}[_0x2628af(0x1ef)](_0x4d569c){var _0x478436=_0x2628af;this[_0x478436(0x19f)]['setCurrentUser'](_0x4d569c);}[_0x2628af(0x289)](){var _0x1fae46=_0x2628af;return this[_0x1fae46(0x19f)][_0x1fae46(0x289)]();}[_0x2628af(0x3ec)](_0x4e231b,_0x109f42){var _0x19d552=_0x2628af;let _0x1aa349=this[_0x19d552(0x33a)][_0x19d552(0x239)](_0x4e231b);_0x1aa349||(_0x1aa349=new js(),this['_roomMembers']['set'](_0x4e231b,_0x1aa349),this['_roomCreated$'][_0x19d552(0x2c6)](_0x4e231b)),_0x1aa349[_0x19d552(0x3ec)](_0x109f42);}[_0x2628af(0x217)](_0x22e0c4,_0x5c5e0e){var _0xd8b012=_0x2628af;const _0x1e0dc3=this[_0xd8b012(0x33a)][_0xd8b012(0x239)](_0x22e0c4);_0x1e0dc3&&_0x1e0dc3['removeMember'](_0x5c5e0e);}[_0x2628af(0x436)](_0x40db4e){var _0x190b5c=_0x2628af;return this[_0x190b5c(0x33a)][_0x190b5c(0x239)](_0x40db4e);}['getMember'](_0x25387f,_0x3c3f89){var _0x4ca7c2=_0x2628af;const _0x27207e=this[_0x4ca7c2(0x33a)][_0x4ca7c2(0x239)](_0x25387f);if(_0x27207e)return _0x27207e[_0x4ca7c2(0x1de)](_0x3c3f89);}[_0x2628af(0x350)](_0xd00483){var _0x302daa=_0x2628af;const _0x94f618=this[_0x302daa(0x33a)][_0x302daa(0x239)](_0xd00483);_0x94f618&&(_0x94f618[_0x302daa(0x3ae)](),this['_roomMembers']['delete'](_0xd00483));}[_0x2628af(0x3ae)](){var _0x4cd83f=_0x2628af;this[_0x4cd83f(0x33a)][_0x4cd83f(0x3a2)](_0x54ef16=>_0x54ef16[_0x4cd83f(0x3ae)]()),this[_0x4cd83f(0x33a)][_0x4cd83f(0x41d)](),this[_0x4cd83f(0x3d8)]['complete']();}};Pe=Bs([Vt(0x0,_0x55ab5c),Vt(0x1,_0x4df4de(_0x54cfbf))],Pe);class js extends _0x3a3655{constructor(){var _0xfa30a6=_0x2628af;super(...arguments),N(this,_0xfa30a6(0x2a2),new Map()),N(this,'_members$',new _0x5cf054(this[_0xfa30a6(0x2a2)])),N(this,'members$',this['_members$']['asObservable']());}[_0x2628af(0x3ae)](){var _0x58ec59=_0x2628af;this[_0x58ec59(0x2a2)][_0x58ec59(0x41d)]();}[_0x2628af(0x3ec)](_0x2dc456){var _0x4cd144=_0x2628af;this[_0x4cd144(0x2a2)][_0x4cd144(0x2d8)](_0x2dc456[_0x4cd144(0x1a2)],_0x2dc456),this[_0x4cd144(0x3ba)]();}[_0x2628af(0x217)](_0x17fa4c){var _0x23c843=_0x2628af;this[_0x23c843(0x2a2)][_0x23c843(0x134)](_0x17fa4c);}['getMember'](_0xb3ece){var _0x4c4362=_0x2628af;return this[_0x4c4362(0x2a2)][_0x4c4362(0x239)](_0xb3ece);}[_0x2628af(0x275)](){var _0x3cd4b6=_0x2628af;return Array[_0x3cd4b6(0x16c)](this[_0x3cd4b6(0x2a2)][_0x3cd4b6(0x43d)]());}[_0x2628af(0x3ba)](){var _0x589473=_0x2628af;this[_0x589473(0x2a4)][_0x589473(0x2c6)](this['_members']);}}var Fs=Object[_0x2628af(0x197)],Vs=(_0xe4c6c7,_0x497816,_0x37b092,_0x1ab1f3)=>{var _0x362173=_0x2628af;for(var _0x372d51=_0x1ab1f3>0x1?void 0x0:_0x1ab1f3?Fs(_0x497816,_0x37b092):_0x497816,_0x3e5b70=_0xe4c6c7[_0x362173(0x2a7)]-0x1,_0x3f358e;_0x3e5b70>=0x0;_0x3e5b70--)(_0x3f358e=_0xe4c6c7[_0x3e5b70])&&(_0x372d51=_0x3f358e(_0x372d51)||_0x372d51);return _0x372d51;},pe=(_0x190ea8,_0x54853f)=>(_0xde7a,_0xfe7a76)=>_0x54853f(_0xde7a,_0xfe7a76,_0x190ea8),Se=(_0x555a4b=>(_0x555a4b[_0x555a4b[_0x2628af(0x146)]=0x0]='IDLE',_0x555a4b[_0x555a4b[_0x2628af(0x13f)]=0x1]='JOINING',_0x555a4b[_0x555a4b[_0x2628af(0x3d3)]=0x2]=_0x2628af(0x3d3),_0x555a4b[_0x555a4b[_0x2628af(0x13b)]=0x3]=_0x2628af(0x13b),_0x555a4b))(Se||{});const Gt={[me[_0x2628af(0x1bc)]]:_0x2628af(0x283),[me['JOIN_ROOM_FULL']]:'session.room-full',[me[_0x2628af(0x276)]]:_0x2628af(0x152),[me[_0x2628af(0x3ca)]]:_0x2628af(0x229),[me[_0x2628af(0x284)]]:'session.room-cnt-exceeds'};let gt=class extends _0x99efd0{constructor(_0x558a1b,_0x204621,_0xa6fcc0,_0x5934e6,_0x22f4d9,_0x424c23,_0x5d14ed,_0x2fdc0a,_0x2f5347){var _0x515eae=_0x2628af;super(),N(this,_0x515eae(0x20d),new _0x5cf054(0x0)),N(this,_0x515eae(0x277),this[_0x515eae(0x20d)][_0x515eae(0x20f)]()),N(this,_0x515eae(0x1d8),new _0x563997()),N(this,_0x515eae(0x2fd),this[_0x515eae(0x1d8)][_0x515eae(0x20f)]()),N(this,'_socket'),N(this,_0x515eae(0x1e6)),N(this,_0x515eae(0x2c4)),N(this,_0x515eae(0x1f2),!0x1),N(this,_0x515eae(0x36a),null),(this[_0x515eae(0x292)]=_0x558a1b,this['_logService']=_0xa6fcc0,this[_0x515eae(0x1f7)]=_0x5934e6,this[_0x515eae(0x2f8)]=_0x22f4d9,this[_0x515eae(0x184)]=_0x424c23,this[_0x515eae(0x3b1)]=_0x5d14ed,this[_0x515eae(0x3e5)]=_0x2fdc0a,this['_telemetryService']=_0x2f5347,this[_0x515eae(0x1f2)]=!!this[_0x515eae(0x2c1)],_0x204621[_0x515eae(0x1d9)](_0x198bbe(this[_0x515eae(0x327)]))['subscribe'](_0x26d213=>{var _0x20af2e=_0x515eae,_0x4c0d9b;typeof _0x26d213>'u'||(this[_0x20af2e(0x13a)]=_0x26d213,_0x26d213?(this['_joinRoom'](_0x26d213),this['_socketMessageSubscription']=_0x26d213['message$']['subscribe'](_0x5e2318=>{var _0x9ff9f7=_0x20af2e;_0x5e2318[_0x9ff9f7(0x1bb)]===this[_0x9ff9f7(0x292)]&&this[_0x9ff9f7(0x164)](_0x5e2318);})):(this[_0x20af2e(0x3fe)](),this[_0x20af2e(0x20d)][_0x20af2e(0x2c6)](0x2),(_0x4c0d9b=this[_0x20af2e(0x1e6)])==null||_0x4c0d9b['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x2628af(0x25e)](){var _0xfdf155=_0x2628af;return this[_0xfdf155(0x20d)][_0xfdf155(0x2a8)]();}['getMemberID'](){var _0x228bc2=_0x2628af,_0x537d66,_0x41cf4a;return(_0x41cf4a=(_0x537d66=this[_0x228bc2(0x13a)])==null?void 0x0:_0x537d66[_0x228bc2(0x1a2)])!=null?_0x41cf4a:null;}[_0x2628af(0x3ae)](){var _0x3fa23e=_0x2628af;super[_0x3fa23e(0x3ae)](),this[_0x3fa23e(0x327)]['next'](),this[_0x3fa23e(0x327)][_0x3fa23e(0x25b)]();}[_0x2628af(0x42f)](){var _0x4de145=_0x2628af,_0x221f59,_0x134736;this[_0x4de145(0x3fe)](),(_0x221f59=this['_socket'])==null||_0x221f59[_0x4de145(0x2e9)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x4de145(0x292)]}}),(_0x134736=this[_0x4de145(0x13a)])==null||_0x134736['close'](),this['_event$'][_0x4de145(0x25b)](),this[_0x4de145(0x20d)][_0x4de145(0x25b)](),this[_0x4de145(0x3ae)]();}[_0x2628af(0x164)](_0x3a7f37){var _0x30dbe0=_0x2628af;_0x3a7f37[_0x30dbe0(0x293)]===F['JOIN']?this[_0x30dbe0(0x1c9)](_0x3a7f37):_0x3a7f37[_0x30dbe0(0x293)]===F[_0x30dbe0(0x27b)]&&this['_onRecvEvent'](_0x3a7f37);}['_joinRoom'](_0x1b7c5a){var _0x2d6af6=_0x2628af;this[_0x2d6af6(0x20d)][_0x2d6af6(0x2c6)](0x1),_0x1b7c5a[_0x2d6af6(0x2e9)]({'cmd':F[_0x2d6af6(0x271)],'routeKey':this[_0x2d6af6(0x292)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2d6af6(0x292)]}]}});}['_onJoinRoomEvent'](_0x2db117){var _0x30a069=_0x2628af,_0x27473b;if(_0x2db117[_0x30a069(0x1d7)]in Gt){this[_0x30a069(0x3e5)]['emitEvent']({'id':ne[_0x30a069(0x3be)],'data':Gt[_0x2db117[_0x30a069(0x1d7)]]}),this[_0x30a069(0x20d)][_0x30a069(0x2c6)](0x2);return;}this[_0x30a069(0x20d)][_0x30a069(0x2c6)](0x3);const _0x34a520=(_0x27473b=_0x2db117[_0x30a069(0x391)][_0x30a069(0x2c3)][this[_0x30a069(0x292)]])==null?void 0x0:_0x27473b[_0x30a069(0x1e5)];_0x34a520&&_0x34a520[_0x30a069(0x3a2)](_0x56a900=>this[_0x30a069(0x184)][_0x30a069(0x3ec)](this['_unitID'],_0x56a900));}['_onRecvEvent'](_0x53f2aa){var _0x4b518f=_0x2628af;try{const _0x1bceb8=_0x53f2aa['data'];switch(_0x1bceb8[_0x4b518f(0x1ce)]){case _0x543fc4[_0x4b518f(0x3af)]:this[_0x4b518f(0x2c0)](_0x1bceb8),this[_0x4b518f(0x1d8)][_0x4b518f(0x2c6)](_0x1bceb8);break;case _0x543fc4[_0x4b518f(0x145)]:this['_onUserLeave'](_0x1bceb8),this[_0x4b518f(0x1d8)][_0x4b518f(0x2c6)](_0x1bceb8);break;case _0x543fc4['CHANGESET_ACK']:case _0x543fc4[_0x4b518f(0x3b0)]:this[_0x4b518f(0x40a)](),this['_clearCollaborationTimeoutTimer'](),this[_0x4b518f(0x1d8)]['next'](_0x1bceb8);break;case _0x543fc4['MSG_FOR_ERROR']:this['_logService'][_0x4b518f(0x248)](_0x4b518f(0x2e6)+JSON[_0x4b518f(0x2b0)](_0x1bceb8)),this['_event$'][_0x4b518f(0x2c6)](_0x1bceb8);break;case _0x543fc4['COMMENT_UPDATE']:this[_0x4b518f(0x3b1)][_0x4b518f(0x400)](_0x1bceb8[_0x4b518f(0x391)]),this[_0x4b518f(0x1d8)][_0x4b518f(0x2c6)](_0x1bceb8);break;default:this[_0x4b518f(0x1d8)][_0x4b518f(0x2c6)](_0x1bceb8);}}catch(_0x2f7d14){this[_0x4b518f(0x187)][_0x4b518f(0x248)](_0x2f7d14,_0x53f2aa);}}[_0x2628af(0x2c0)](_0x706141){var _0x335ee0=_0x2628af;this['_memberService']['updateMember'](this[_0x335ee0(0x292)],_0x706141[_0x335ee0(0x391)]);}[_0x2628af(0x2a6)](_0x208dd4){var _0x1b5063=_0x2628af;this['_memberService'][_0x1b5063(0x217)](this[_0x1b5063(0x292)],_0x208dd4['data'][_0x1b5063(0x1a2)]);}async[_0x2628af(0x2e9)](_0x374d4a,_0x233e6b){var _0x16f593=_0x2628af;if(this['sessionStatus']!==0x3||!this[_0x16f593(0x13a)])throw new Error(_0x16f593(0x3c3));try{_0x374d4a[_0x16f593(0x1ce)]===_0x543fc4[_0x16f593(0x22d)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x16f593(0x176)](_0x374d4a)),this['_socket'][_0x16f593(0x2e9)]({'cmd':F[_0x16f593(0x32f)],'routeKey':_0x233e6b,'routeType':'','data':_0x374d4a});}catch(_0x3e6266){this[_0x16f593(0x187)][_0x16f593(0x248)](_0x3e6266);}}[_0x2628af(0x359)](){var _0x2994e=_0x2628af,_0x10d846;this[_0x2994e(0x2c4)]=setTimeout(()=>{var _0x53d2ce=_0x2994e;this['_collaborationTimeoutTimer']=null,this[_0x53d2ce(0x3e5)][_0x53d2ce(0x3e8)]({'id':ne[_0x53d2ce(0x22b)]});},(_0x10d846=this[_0x2994e(0x1f7)][_0x2994e(0x2d2)](di))!=null?_0x10d846:fi);}[_0x2628af(0x2ce)](){var _0x2872b5=_0x2628af;this[_0x2872b5(0x2c4)]&&(clearTimeout(this[_0x2872b5(0x2c4)]),this[_0x2872b5(0x2c4)]=null);}[_0x2628af(0x176)](_0x51ab43){var _0x2d351b=_0x2628af;if(!this[_0x2d351b(0x1f2)])return;const {data:_0xc331e2}=_0x51ab43,{unitID:_0x428474,changeset:_0x1e627d}=_0xc331e2,{mutations:_0x108251,type:_0x4bdda8}=_0x1e627d;this[_0x2d351b(0x36a)]={'unitId':_0x428474,'type':_0x4bdda8,'startTime':performance[_0x2d351b(0x26a)](),'stopTime':0x0,'duration':0x0,'size':$s(_0x108251)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5b3c8d=_0x2628af;if(this[_0x5b3c8d(0x1f2)]){if(!this[_0x5b3c8d(0x36a)]){this[_0x5b3c8d(0x187)][_0x5b3c8d(0x248)](_0x5b3c8d(0x37e),_0x5b3c8d(0x249));return;}this['_telemetryInfo'][_0x5b3c8d(0x2f1)]=performance[_0x5b3c8d(0x26a)](),this[_0x5b3c8d(0x36a)][_0x5b3c8d(0x1e2)]=this[_0x5b3c8d(0x36a)][_0x5b3c8d(0x2f1)]-this[_0x5b3c8d(0x36a)]['startTime'],this[_0x5b3c8d(0x2c1)][_0x5b3c8d(0x3f6)](ks,this[_0x5b3c8d(0x36a)]),this[_0x5b3c8d(0x36a)]=null;}}[_0x2628af(0x3fe)](){var _0x32d1a7=_0x2628af;this[_0x32d1a7(0x36a)]=null;}};gt=Vs([pe(0x2,_0x5e8fca),pe(0x3,_0x58acf0),pe(0x4,_0x4df4de(_0x26c096)),pe(0x5,_0x4df4de(Pe)),pe(0x6,_0x4df4de(gi)),pe(0x7,_0x4df4de(ve)),pe(0x8,_0x3807e3(_0x16e777))],gt);var Gs=Object[_0x2628af(0x197)],Ys=(_0x27ed52,_0xa5232c,_0x213b6b,_0x3235fa)=>{var _0x6058c2=_0x2628af;for(var _0x528616=_0x3235fa>0x1?void 0x0:_0x3235fa?Gs(_0xa5232c,_0x213b6b):_0xa5232c,_0x85319c=_0x27ed52[_0x6058c2(0x2a7)]-0x1,_0x392dcb;_0x85319c>=0x0;_0x85319c--)(_0x392dcb=_0x27ed52[_0x85319c])&&(_0x528616=_0x392dcb(_0x528616)||_0x528616);return _0x528616;},Re=(_0x412a63,_0x564631)=>(_0x17a776,_0x2e9997)=>_0x564631(_0x17a776,_0x2e9997,_0x412a63);let Le=class extends _0x3a3655{constructor(_0x4ea7f8,_0x3522ee,_0x53840d,_0x5c0c96,_0x20db18,_0x5ecd4c){var _0x22d75f=_0x2628af;super(),N(this,'_socket$',new _0x5cf054(void 0x0)),N(this,_0x22d75f(0x2b4),this[_0x22d75f(0x2e5)][_0x22d75f(0x20f)]()),N(this,_0x22d75f(0x24f),null),N(this,_0x22d75f(0x384),new Map()),N(this,_0x22d75f(0x281),new _0x5cf054(Se[_0x22d75f(0x146)])),N(this,_0x22d75f(0x16f),this['_status$'][_0x22d75f(0x20f)]()),N(this,'_socketReady',!0x1),N(this,_0x22d75f(0x32a)),N(this,_0x22d75f(0x38d),0x0),N(this,_0x22d75f(0x35f)),N(this,'_timeoutTimer'),(this[_0x22d75f(0x252)]=_0x4ea7f8,this[_0x22d75f(0x187)]=_0x3522ee,this['_configService']=_0x53840d,this[_0x22d75f(0x315)]=_0x5c0c96,this[_0x22d75f(0x3e5)]=_0x20db18,this[_0x22d75f(0x34b)]=_0x5ecd4c,this[_0x22d75f(0x40b)]());}get[_0x2628af(0x13a)](){var _0x20ecc3=_0x2628af;return this[_0x20ecc3(0x2e5)][_0x20ecc3(0x2a8)]();}['_listenToNetworkCondition'](){var _0x128eda=_0x2628af;this[_0x128eda(0x34b)]&&this[_0x128eda(0x29a)](this[_0x128eda(0x34b)]['online$'][_0x128eda(0x1da)](_0x12b154=>{var _0x1c8945=_0x128eda;_0x12b154&&!this[_0x1c8945(0x13a)]&&this['reconnect'](),_0x12b154||this[_0x1c8945(0x43c)]();}));}[_0x2628af(0x3ae)](){var _0x4098c7=_0x2628af;super[_0x4098c7(0x3ae)](),this[_0x4098c7(0x1d5)](),this[_0x4098c7(0x181)](),this[_0x4098c7(0x32b)](),this['_sessions'][_0x4098c7(0x3a2)](_0x4be8f9=>_0x4be8f9[_0x4098c7(0x3ae)]()),this['_sessions'][_0x4098c7(0x41d)](),this[_0x4098c7(0x281)]['complete']();}async['requireSession'](_0x252835){var _0x3f8440=_0x2628af;if(this[_0x3f8440(0x384)]['has'](_0x252835))return this[_0x3f8440(0x384)]['get'](_0x252835);this['_tryEnsureSocket']();const _0x4baa14=this[_0x3f8440(0x252)][_0x3f8440(0x3d4)](gt,_0x252835,this[_0x3f8440(0x2e5)][_0x3f8440(0x20f)]());return this[_0x3f8440(0x384)][_0x3f8440(0x2d8)](_0x252835,_0x4baa14),_0x4baa14;}['closeSession'](_0x2e4182){var _0x496caa=_0x2628af,_0x4b8718;const _0x4ce1f7=this['_sessions'][_0x496caa(0x239)](_0x2e4182);_0x4ce1f7&&(this['_sessions'][_0x496caa(0x134)](_0x2e4182),_0x4ce1f7['close']()),this[_0x496caa(0x384)][_0x496caa(0x423)]||(_0x4b8718=this[_0x496caa(0x13a)])==null||_0x4b8718[_0x496caa(0x42f)]();}[_0x2628af(0x37f)](){var _0xb5c614=_0x2628af;this[_0xb5c614(0x38d)]=0x0,this[_0xb5c614(0x1d5)](),this['_tryReconnect']();}[_0x2628af(0x1d5)](){var _0x54e9c9=_0x2628af;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x54e9c9(0x32a)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x104147=_0x2628af,_0x33e86f,_0x875bf9;const _0x9bd0a=this[_0x104147(0x1f7)][_0x104147(0x2d2)](Ss),_0x1879a3=this[_0x104147(0x1f7)]['getConfig'](K),_0x520c6a=(_0x875bf9=(_0x33e86f=_0x1879a3==null?void 0x0:_0x1879a3[_0x104147(0x3a6)])!=null?_0x33e86f:_0x9bd0a)!=null?_0x875bf9:Es,_0x21beab=await this[_0x104147(0x315)]['createSocket'](_0x520c6a);return this['_candidateSocket']=_0x21beab,_0x21beab;}async[_0x2628af(0x307)](){var _0x2bfc14=_0x2628af,_0x25d2bd,_0x141c22;try{const _0x323d30=(_0x141c22=(_0x25d2bd=this[_0x2bfc14(0x13a)])!=null?_0x25d2bd:this[_0x2bfc14(0x24f)])!=null?_0x141c22:await this[_0x2bfc14(0x416)]();if(_0x323d30){const _0x21a58a=_0x323d30[_0x2bfc14(0x2e9)];_0x323d30[_0x2bfc14(0x2e9)]=_0x31af32=>(this[_0x2bfc14(0x263)](),_0x21a58a[_0x2bfc14(0x344)](_0x323d30,[_0x31af32])),_0x323d30[_0x2bfc14(0x1ca)][_0x2bfc14(0x1da)](_0x1a891f=>this['_onMessage'](_0x323d30,_0x1a891f)),_0x323d30['error$'][_0x2bfc14(0x1d9)](_0x3a7ee9(0x1))[_0x2bfc14(0x1da)](_0xa445c2=>this[_0x2bfc14(0x187)][_0x2bfc14(0x248)](_0x2bfc14(0x30a),_0xa445c2)),_0x323d30[_0x2bfc14(0x36d)]['pipe'](_0x3a7ee9(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x323d30);}),_0x323d30[_0x2bfc14(0x336)][_0x2bfc14(0x1d9)](_0x3a7ee9(0x1))[_0x2bfc14(0x1da)](_0x140cf4=>{var _0xbce2d0=_0x2bfc14;this[_0xbce2d0(0x187)]['debug'](_0xbce2d0(0x34e),_0xbce2d0(0x361),_0x140cf4),this[_0xbce2d0(0x2f5)]();});}}catch(_0x54b129){this[_0x2bfc14(0x187)][_0x2bfc14(0x248)](_0x54b129),this['_onConnectionFailed']();}}[_0x2628af(0x15c)](_0x1ddb4b){var _0x2dcf2c=_0x2628af;this[_0x2dcf2c(0x187)][_0x2dcf2c(0x428)](_0x2dcf2c(0x34e),_0x2dcf2c(0x196)),_0x1ddb4b[_0x2dcf2c(0x2e9)]({'cmd':F[_0x2dcf2c(0x412)]}),this[_0x2dcf2c(0x263)]();}[_0x2628af(0x43c)](){var _0x2d8d03=_0x2628af;this[_0x2d8d03(0x3c6)]=!0x1,this[_0x2d8d03(0x24f)]=null,this['_status$'][_0x2d8d03(0x2c6)](Se['OFFLINE']),this[_0x2d8d03(0x2e5)]['next'](null),this[_0x2d8d03(0x181)](),this[_0x2d8d03(0x32b)]();}['_onConnectionFailed'](){var _0x21ea15=_0x2628af,_0x1f9fb9;this[_0x21ea15(0x43c)](),this['_retryCount']<((_0x1f9fb9=this[_0x21ea15(0x1f7)][_0x21ea15(0x2d2)](Rs))!=null?_0x1f9fb9:Os)?(this[_0x21ea15(0x3e5)][_0x21ea15(0x3e8)]({'id':ne[_0x21ea15(0x21b)]}),this[_0x21ea15(0x268)]()):this['_collaborationUIEventService'][_0x21ea15(0x3e8)]({'id':ne[_0x21ea15(0x2f3)]});}[_0x2628af(0x268)](){var _0x4a2743=_0x2628af,_0x25a2c7;const _0x27ebbe=this[_0x4a2743(0x38d)],_0x3a71b9=this[_0x4a2743(0x1f7)]['getConfig'](K),_0x5d0296=_0x27ebbe===0x0?0x0:((_0x25a2c7=_0x3a71b9==null?void 0x0:_0x3a71b9[_0x4a2743(0x300)])!=null?_0x25a2c7:Cs)*0x2**_0x27ebbe;this['_retryConnectingTimer']=setTimeout(()=>{var _0x39716c=_0x4a2743;clearTimeout(this['_retryConnectingTimer']),this[_0x39716c(0x32a)]=null,this[_0x39716c(0x307)]();},_0x5d0296),this['_retryCount']+=0x1;}['_onMessage'](_0x33d2d3,_0x5ac4ad){var _0x53ed4c=_0x2628af;const {cmd:_0x9da427}=_0x5ac4ad;_0x9da427===F[_0x53ed4c(0x412)]&&!this[_0x53ed4c(0x3c6)]&&(_0x33d2d3[_0x53ed4c(0x1a2)]=_0x5ac4ad['data']['memberID'],this[_0x53ed4c(0x2e5)][_0x53ed4c(0x2c6)](_0x33d2d3),this[_0x53ed4c(0x281)][_0x53ed4c(0x2c6)](Se[_0x53ed4c(0x13b)]),this['_socketReady']=!0x0,this[_0x53ed4c(0x24f)]=null),_0x9da427===F[_0x53ed4c(0x285)]&&this['_clearTimeoutTimer'](),this[_0x53ed4c(0x263)]();}[_0x2628af(0x263)](){var _0x44483d=_0x2628af,_0x3fe7d3;this[_0x44483d(0x32b)](),this[_0x44483d(0x35f)]=setTimeout(()=>this[_0x44483d(0x15b)](),(_0x3fe7d3=this[_0x44483d(0x1f7)]['getConfig'](Is))!=null?_0x3fe7d3:Ts);}[_0x2628af(0x15b)](){var _0x18f584=_0x2628af;this['_socket']['send']({'cmd':F[_0x18f584(0x285)]}),this[_0x18f584(0x3a8)]();}[_0x2628af(0x3a8)](){var _0x53e86f=_0x2628af,_0x37c9ec;this[_0x53e86f(0x37c)]=setTimeout(()=>this[_0x53e86f(0x2f5)](),(_0x37c9ec=this[_0x53e86f(0x1f7)][_0x53e86f(0x2d2)](di))!=null?_0x37c9ec:fi);}[_0x2628af(0x32b)](){var _0xd34470=_0x2628af;this[_0xd34470(0x35f)]!=null&&(clearTimeout(this[_0xd34470(0x35f)]),this[_0xd34470(0x35f)]=null);}[_0x2628af(0x181)](){var _0x3b54f9=_0x2628af;this[_0x3b54f9(0x37c)]!=null&&(clearTimeout(this[_0x3b54f9(0x37c)]),this[_0x3b54f9(0x37c)]=null);}};Le=Ys([Re(0x0,_0x4df4de(_0x1afd43)),Re(0x1,_0x5e8fca),Re(0x2,_0x58acf0),Re(0x3,mi),Re(0x4,_0x4df4de(ve)),Re(0x5,_0x3807e3(As))],Le);const J=_0x3e9b7e(_0x2628af(0x31c));function Lr(_0x103f93){return'unit-cache-'+_0x103f93;}var Ws=Object[_0x2628af(0x197)],Ks=(_0x160034,_0x3dc88d,_0x477a2c,_0x1b79b4)=>{var _0x2ad350=_0x2628af;for(var _0x44e375=_0x1b79b4>0x1?void 0x0:_0x1b79b4?Ws(_0x3dc88d,_0x477a2c):_0x3dc88d,_0x2f6f3e=_0x160034[_0x2ad350(0x2a7)]-0x1,_0x5ece38;_0x2f6f3e>=0x0;_0x2f6f3e--)(_0x5ece38=_0x160034[_0x2f6f3e])&&(_0x44e375=_0x5ece38(_0x44e375)||_0x44e375);return _0x44e375;},ut=(_0x57206e,_0x3c54bc)=>(_0x215e09,_0x30c0ab)=>_0x3c54bc(_0x215e09,_0x30c0ab,_0x57206e);function qs(_0x1b81de){var _0x1e47ca=_0x2628af;const {unitID:_0x370be6,mutations:_0xc317cd}=_0x1b81de;return{'unitId':_0x370be6,'subUnitId':_0xc317cd[0x0][_0x1e47ca(0x216)][_0x1e47ca(0x1d6)]};}let it=class{constructor(_0x4a8f31,_0xc47e06,_0x465377){var _0x549b53=_0x2628af;this[_0x549b53(0x252)]=_0x4a8f31,this[_0x549b53(0x2ff)]=_0xc47e06,this['_instanceService']=_0x465377;}[_0x2628af(0x288)](_0x226156){var _0x4569ec=_0x2628af,_0x4c11bd,_0x3213c6,_0x34153c,_0x50bba4;const _0x2f5e0c=this['_injector']['get'](_0x24ad1c),{unitId:_0xf9a55a,subUnitId:_0x5d3ab8}=qs(_0x226156),_0x252b6e=_0x2f5e0c==null?void 0x0:_0x2f5e0c['getWorkbookSelections'](_0xf9a55a)[_0x4569ec(0x2e4)](),_0x28ae77=(_0x3213c6=(_0x4c11bd=this['_instanceService'][_0x4569ec(0x1ff)](_0xf9a55a))==null?void 0x0:_0x4c11bd['getActiveSheet']())==null?void 0x0:_0x3213c6[_0x4569ec(0x1f1)]();if(_0x252b6e[_0x4569ec(0x2a7)]===0x0||!_0xf9a55a||!_0x5d3ab8)return;const _0x7e62df=[{'id':_0x58ba7a['id'],'params':{'unitId':_0xf9a55a,'subUnitId':_0x28ae77,'selections':_0x55c26a[_0x4569ec(0x1a9)](_0x252b6e)}}],_0x51914f=this[_0x4569ec(0x2ff)][_0x4569ec(0x190)](_0x226156,_0x7e62df);if(!_0x3c1f72(_0x51914f))throw _0x51914f['error'];const _0x12e329=(_0x50bba4=(_0x34153c=_0x51914f['m2Prime'][0x0])==null?void 0x0:_0x34153c[_0x4569ec(0x216)])==null?void 0x0:_0x50bba4[_0x4569ec(0x2ca)];if(Array[_0x4569ec(0x2d4)](_0x12e329)&&_0x12e329['length']){if(_0x12e329[_0x4569ec(0x2a7)]===_0x7e62df[0x0][_0x4569ec(0x216)][_0x4569ec(0x2ca)]['length']&&_0x12e329[_0x4569ec(0x2e0)]((_0x28ab3b,_0x49bbbe)=>_0xe99a70['equals'](_0x28ab3b[_0x4569ec(0x404)],_0x7e62df[0x0][_0x4569ec(0x216)]['selections'][_0x49bbbe][_0x4569ec(0x404)])))return;this['_injector']['get'](_0x2d4f52)[_0x4569ec(0x1a7)](_0x58ba7a['id'],{'unitId':_0xf9a55a,'subUnitId':_0x28ae77,'selections':_0x12e329});}}};it=Ks([ut(0x0,_0x4df4de(_0x1afd43)),ut(0x1,_0x1b0331),ut(0x2,_0x55ab5c)],it);const ht=_0x3e9b7e(_0x2628af(0x379));var Si=(_0x222fa3=>(_0x222fa3[_0x222fa3[_0x2628af(0x3e3)]=0x0]=_0x2628af(0x3e3),_0x222fa3[_0x222fa3['OTHER_CLIENTS_EDITING']=0x1]=_0x2628af(0x31e),_0x222fa3))(Si||{});const zs=new Set([_0x29f5e4['id']]);function Yt(_0x5bd04b,_0x5456c8,_0x3d0127,_0x5abb6c,_0x4751b6){var _0x15b7a0=_0x2628af,_0x478da5,_0x58d858,_0x287a78,_0x44c346;const _0x17cf02=[];for(const _0x300edd of _0x5bd04b)if(zs[_0x15b7a0(0x27f)](_0x300edd['id'])){if(_0x17cf02[_0x15b7a0(0x2a7)]>0x0)break;_0x17cf02['push'](_0x300edd);break;}else _0x17cf02['push'](_0x300edd);const _0x356704=(_0x58d858=(_0x478da5=_0x4751b6[_0x15b7a0(0x289)]())==null?void 0x0:_0x478da5[_0x15b7a0(0x221)])!=null?_0x58d858:_0x15b7a0(0x326),_0x5e0216=(_0x44c346=(_0x287a78=_0x4751b6[_0x15b7a0(0x289)]())==null?void 0x0:_0x287a78['memberID'])!=null?_0x44c346:_0x15b7a0(0x326);return{'changeset':{'unitID':_0x5456c8,'type':_0x549829(_0x3d0127[_0x15b7a0(0x2ef)](_0x5456c8)),'baseRev':_0x5abb6c[_0x15b7a0(0x23b)](_0x5456c8),'revision':0x0,'userID':_0x356704,'memberID':_0x5e0216,'mutations':_0x17cf02},'pendingMutations':_0x5bd04b[_0x15b7a0(0x223)](_0x17cf02[_0x15b7a0(0x2a7)])};}function Js(_0x1771fe,_0x17cb1e,_0x2e0af7,_0xc719c2,_0xc4304f){var _0x289f7c=_0x2628af,_0x4121df,_0x6c6a87,_0xbf6b23,_0x2dba03;const _0x424eb6=[_0x1771fe['reduce']((_0x314f69,_0x4c1bd9)=>{var _0x34531a=_0x449a,_0xfba843;const {id:_0x256ed9}=_0x314f69,{id:_0x3fc10e,type:_0x534653}=_0x4c1bd9,_0x144bc8=(_0xfba843=_0x314f69[_0x34531a(0x216)])!=null?_0xfba843:{'actions':null},_0x359558=_0x4c1bd9['params'];if(_0x256ed9&&_0x256ed9!==_0x3fc10e)throw new Error(_0x34531a(0x1c4)+_0x256ed9+_0x34531a(0x246)+_0x3fc10e+'.');return{..._0x314f69,'id':_0x3fc10e,'type':_0x534653,'params':{'unitId':_0x359558[_0x34531a(0x26e)],'textRanges':_0x359558[_0x34531a(0x381)],'actions':_0x5d6a66['compose'](_0x144bc8[_0x34531a(0x329)],_0x359558[_0x34531a(0x329)])}};},{})],_0x3de350=(_0x6c6a87=(_0x4121df=_0xc4304f[_0x289f7c(0x289)]())==null?void 0x0:_0x4121df[_0x289f7c(0x221)])!=null?_0x6c6a87:'unknown',_0x260293=(_0x2dba03=(_0xbf6b23=_0xc4304f[_0x289f7c(0x289)]())==null?void 0x0:_0xbf6b23[_0x289f7c(0x1a2)])!=null?_0x2dba03:_0x289f7c(0x326);return{'changeset':{'unitID':_0x17cb1e,'type':_0x549829(_0x2e0af7[_0x289f7c(0x2ef)](_0x17cb1e)),'baseRev':_0xc719c2[_0x289f7c(0x23b)](_0x17cb1e),'revision':0x0,'userID':_0x3de350,'memberID':_0x260293,'mutations':_0x424eb6},'pendingMutations':[]};}function Ei(_0x3f1967,_0x1599ef){var _0x218220=_0x2628af;const _0x35ea15=new _0x305c11(0x1);return setTimeout(()=>_0x35ea15['next'](_0x1599ef),_0x3f1967),_0x35ea15[_0x218220(0x20f)]()[_0x218220(0x1d9)](_0x43b524(0x1));}const Xs={'id':_0x41292f['id'],'type':_0x50f631[_0x2628af(0x137)],'params':{}};var Zs=Object[_0x2628af(0x197)],Ie=(_0x21a09c,_0x59da18,_0x50401a,_0x5a3a3b)=>{var _0x84d28=_0x2628af;for(var _0x56aa5f=_0x5a3a3b>0x1?void 0x0:_0x5a3a3b?Zs(_0x59da18,_0x50401a):_0x59da18,_0x1447ee=_0x21a09c[_0x84d28(0x2a7)]-0x1,_0x515538;_0x1447ee>=0x0;_0x1447ee--)(_0x515538=_0x21a09c[_0x1447ee])&&(_0x56aa5f=_0x515538(_0x56aa5f)||_0x56aa5f);return _0x56aa5f;},P=(_0xc6f135,_0x32e4fe)=>(_0x47ea68,_0x452a6e)=>_0x32e4fe(_0x47ea68,_0x452a6e,_0xc6f135),Ii=(_0x3163c6=>(_0x3163c6[_0x2628af(0x140)]=_0x2628af(0x1a6),_0x3163c6[_0x2628af(0x3f1)]=_0x2628af(0x435),_0x3163c6[_0x2628af(0x3b2)]=_0x2628af(0x2ea),_0x3163c6[_0x2628af(0x2dd)]='awaiting',_0x3163c6[_0x2628af(0x23c)]=_0x2628af(0x3a5),_0x3163c6[_0x2628af(0x403)]=_0x2628af(0x2ab),_0x3163c6['CONFLICT']=_0x2628af(0x3c0),_0x3163c6['OFFLINE']=_0x2628af(0x1e8),_0x3163c6))(Ii||{});const Ti=0xea60;class Te{constructor(_0x19120e,_0xba98e2,_0x21f8d8,_0x544f09,_0x18808f,_0x4f45d7,_0xb7b385,_0x325c2d,_0x495e6d){var _0x6b6513=_0x2628af;N(this,_0x6b6513(0x2f9),null),N(this,_0x6b6513(0x369),[]),(this[_0x6b6513(0x418)]=_0x19120e,this[_0x6b6513(0x282)]=_0xba98e2,this[_0x6b6513(0x431)]=_0x18808f,this[_0x6b6513(0x2d5)]=_0x4f45d7,this[_0x6b6513(0x222)]=_0xb7b385,this[_0x6b6513(0x2ad)]=_0x325c2d,this[_0x6b6513(0x1b9)]=_0x495e6d,this[_0x6b6513(0x2f9)]=_0x21f8d8,this['_pendingMutations']=_0x544f09);}[_0x2628af(0x3a3)](_0x55dce6){var _0x20ad90=_0x2628af;const _0x3548f9=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x55dce6[_0x20ad90(0x250)]>_0x3548f9+0x1?(this[_0x20ad90(0x431)][_0x20ad90(0x3ac)]({'from':_0x3548f9,'to':_0x55dce6[_0x20ad90(0x250)]-0x1}),!0x0):!0x1;}[_0x2628af(0x425)](_0x5aa5a2){var _0x40919f=_0x2628af;this[_0x40919f(0x222)]['transformUndoRedo'](this[_0x40919f(0x418)],_0x5aa5a2);}[_0x2628af(0x302)](_0x11b289){var _0x100e33=_0x2628af,_0x13203b,_0xc3c55f;(_0xc3c55f=(_0x13203b=this[_0x100e33(0x431)])[_0x100e33(0x16e)])==null||_0xc3c55f[_0x100e33(0x3aa)](_0x13203b,_0x11b289);}['_transformIMECache'](_0x20577d){var _0x1c18d3=_0x2628af,_0x454043,_0x5a7ffb;return(_0x5a7ffb=(_0x454043=this['_handler'])[_0x1c18d3(0x3c5)])==null?void 0x0:_0x5a7ffb[_0x1c18d3(0x3aa)](_0x454043,_0x20577d);}[_0x2628af(0x2dc)](_0x3e27a0){var _0x4b22ea=_0x2628af,_0xbda9c1,_0x2d8427;return(_0x2d8427=(_0xbda9c1=this[_0x4b22ea(0x431)])[_0x4b22ea(0x220)])==null?void 0x0:_0x2d8427[_0x4b22ea(0x3aa)](_0xbda9c1,_0x3e27a0);}[_0x2628af(0x34d)](_0x1a3d13){var _0x3b2089=_0x2628af,_0x2fb2ab,_0x1dc442,_0x37d2ea;return(_0x37d2ea=(_0x1dc442=(_0x2fb2ab=this[_0x3b2089(0x431)])[_0x3b2089(0x2ba)])==null?void 0x0:_0x1dc442[_0x3b2089(0x3aa)](_0x2fb2ab,_0x1a3d13))!=null?_0x37d2ea:_0x1a3d13;}[_0x2628af(0x143)](_0xa67eb4){var _0x49fa2c=_0x2628af,_0x107ea6,_0x5569bd,_0x2dd5d6;return(_0x2dd5d6=(_0x5569bd=(_0x107ea6=this[_0x49fa2c(0x431)])[_0x49fa2c(0x439)])==null?void 0x0:_0x5569bd[_0x49fa2c(0x3aa)](_0x107ea6,_0xa67eb4))!=null?_0x2dd5d6:_0xa67eb4;}[_0x2628af(0x3e0)](_0x23865b){var _0x494e70=_0x2628af,_0x26acb6,_0x54c26d;if(this[_0x494e70(0x282)]===Z[_0x494e70(0x41b)]){const {unitID:_0x51e82b,mutations:_0x461ae6,memberID:_0x120d75}=_0x23865b,_0x2d0107=_0x461ae6[0x0]['params'][_0x494e70(0x381)];Array[_0x494e70(0x2d4)](_0x2d0107)&&_0x2d0107[_0x494e70(0x2a7)]>0x0&&((_0x54c26d=(_0x26acb6=this[_0x494e70(0x431)])[_0x494e70(0x3ed)])==null||_0x54c26d[_0x494e70(0x3aa)](_0x26acb6,{'unitID':_0x51e82b,'memberID':_0x120d75,'textRanges':_0x2d0107}));}}[_0x2628af(0x2f2)](){var _0x34e224=_0x2628af,_0x2b4abd;(_0x2b4abd=this[_0x34e224(0x1b9)])==null||_0x2b4abd[_0x34e224(0x258)](this[_0x34e224(0x418)],this['type'],this[_0x34e224(0x2f9)],this['_pendingMutations']);}[_0x2628af(0x2ec)](){var _0x2b3c6d=_0x2628af;return this['_revisionService'][_0x2b3c6d(0x23b)](this['unitID']);}[_0x2628af(0x26c)](){var _0x33e6b3=_0x2628af;this[_0x33e6b3(0x2ad)][_0x33e6b3(0x1ae)](this[_0x33e6b3(0x418)]);}[_0x2628af(0x198)](_0x3925d6){var _0x2652da=_0x2628af,_0x3c707c;let _0x992741=this[_0x2652da(0x34d)](_0x3925d6);_0x992741=this[_0x2652da(0x143)](_0x992741);const _0x492c18=_0xadef7b(_0x992741[_0x2652da(0x290)],this[_0x2652da(0x2d5)],{'fromCollab':!0x0});if(!_0x492c18[_0x2652da(0x3db)])throw _0x492c18[_0x2652da(0x248)]instanceof Error?_0x492c18[_0x2652da(0x248)]:new Error((_0x3c707c=_0x492c18[_0x2652da(0x248)])!=null?_0x3c707c:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x992741),this[_0x2652da(0x2dc)](_0x992741),this[_0x2652da(0x425)](_0x3925d6),this[_0x2652da(0x302)](_0x992741),this['_syncEditingCollabCursor'](_0x992741),this[_0x2652da(0x26c)]();}}let ye=class extends Te{constructor(_0x1be7d2,_0x284da9,_0x4c921d,_0x505559,_0x57fa30,_0xc73d4c,_0x2af8ed,_0x3ae9ac,_0x53a945,_0x19c42e){var _0x105b6e=_0x2628af;super(_0x1be7d2,_0x284da9,null,[],_0x4c921d,_0x2af8ed,_0xc73d4c,_0x505559,_0x19c42e),N(this,_0x105b6e(0x165),_0x105b6e(0x435)),(this[_0x105b6e(0x252)]=_0x57fa30,this[_0x105b6e(0x187)]=_0x3ae9ac,this['_transformService']=_0x53a945,this[_0x105b6e(0x172)]=_0x19c42e);}[_0x2628af(0x376)](_0x531740){var _0x3eabd9=_0x2628af;const _0x2e44c5=this[_0x3eabd9(0x252)][_0x3eabd9(0x3d4)](re,this[_0x3eabd9(0x418)],this[_0x3eabd9(0x282)],[_0x531740],this['_handler']);return _0x2e44c5[_0x3eabd9(0x144)](),_0x2e44c5[_0x3eabd9(0x2f2)](),_0x2e44c5;}[_0x2628af(0x23e)](_0x33eeee){var _0x5e549d=_0x2628af;if(this[_0x5e549d(0x3a3)](_0x33eeee))return this['_injector'][_0x5e549d(0x3d4)](Q,this[_0x5e549d(0x418)],this[_0x5e549d(0x282)],null,[],null,[_0x33eeee],this[_0x5e549d(0x431)]);try{const _0x2ec16f=this[_0x5e549d(0x2ff)][_0x5e549d(0x190)](_0x33eeee,[Xs]);if(_0x3c1f72(_0x2ec16f)){const {c1Prime:_0x50e187}=_0x2ec16f;return this[_0x5e549d(0x198)](_0x50e187),this;}throw _0x2ec16f[_0x5e549d(0x248)];}catch(_0x51c327){return this[_0x5e549d(0x187)][_0x5e549d(0x248)](_0x51c327),this[_0x5e549d(0x402)](!0x1);}}[_0x2628af(0x402)](_0x4601fb){var _0x534af6=_0x2628af;return this['_injector'][_0x534af6(0x3d4)](le,this[_0x534af6(0x418)],this['type'],null,[],this[_0x534af6(0x431)],_0x4601fb);}[_0x2628af(0x1c7)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2628af(0x270)](){var _0xc95a8c=_0x2628af;throw new Error(_0xc95a8c(0x226));}[_0x2628af(0x209)](){return this;}['toggleOffline'](){var _0xbdefde=_0x2628af;return this['_injector'][_0xbdefde(0x3d4)](ue,this[_0xbdefde(0x418)],this[_0xbdefde(0x282)],null,[],this[_0xbdefde(0x431)]);}[_0x2628af(0x22c)](){return this;}[_0x2628af(0x21a)](){var _0x12c98e=_0x2628af;throw new Error(_0x12c98e(0x338));}[_0x2628af(0x2bc)](){var _0x5afbce=_0x2628af;const _0x191159=this[_0x5afbce(0x2ad)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x5afbce(0x431)][_0x5afbce(0x3ac)]({'from':_0x191159,'to':0x0}),this[_0x5afbce(0x252)][_0x5afbce(0x3d4)](Q,this[_0x5afbce(0x418)],this[_0x5afbce(0x282)],null,[],null,[],this[_0x5afbce(0x431)]);}};ye=Ie([P(0x3,_0x4df4de(_0x29e7be)),P(0x4,_0x4df4de(_0x1afd43)),P(0x5,_0x1eda14),P(0x6,_0x2d4f52),P(0x7,_0x5e8fca),P(0x8,_0x1b0331),P(0x9,_0x3807e3(J))],ye);let re=class extends Te{constructor(_0x1016d2,_0x45577b,_0x5e3edd,_0x30cb0d,_0x4c4986,_0x17772d,_0x35fb4d,_0x910669,_0x5d1f92,_0x839380,_0x2e2d99,_0x2c2c01,_0x3f2e2b,_0x199413){var _0x4fc7ee=_0x2628af;super(_0x1016d2,_0x45577b,null,_0x5e3edd,_0x30cb0d,_0x5d1f92,_0x3f2e2b,_0x17772d,_0x199413),N(this,_0x4fc7ee(0x165),_0x4fc7ee(0x2ea)),N(this,_0x4fc7ee(0x1f3),null),N(this,_0x4fc7ee(0x40c),null),(this['_injector']=_0x4c4986,this[_0x4fc7ee(0x184)]=_0x35fb4d,this['_logService']=_0x910669,this[_0x4fc7ee(0x1f7)]=_0x839380,this[_0x4fc7ee(0x2ff)]=_0x2e2d99,this['_univerInstanceService']=_0x2c2c01);}['appendMutation'](_0x3f7be7){var _0xad4523=_0x2628af;return this[_0xad4523(0x369)][_0xad4523(0x3eb)](_0x3f7be7),this[_0xad4523(0x2f2)](),this;}[_0x2628af(0x23e)](_0x194727){var _0x21b574=_0x2628af;if(this[_0x21b574(0x3a3)](_0x194727))return this[_0x21b574(0x29d)](),this[_0x21b574(0x252)]['createInstance'](Q,this['unitID'],this[_0x21b574(0x282)],null,this[_0x21b574(0x369)],null,[_0x194727],this[_0x21b574(0x431)]);try{const _0x5d34aa=this[_0x21b574(0x2ff)]['transformMutationsWithChangeset'](_0x194727,this[_0x21b574(0x369)]);if(_0x3c1f72(_0x5d34aa)){const {c1Prime:_0x4012d2,m2Prime:_0x54286f}=_0x5d34aa;this[_0x21b574(0x198)](_0x4012d2);const _0x33d6f6=this[_0x21b574(0x252)][_0x21b574(0x3d4)](re,this[_0x21b574(0x418)],this[_0x21b574(0x282)],_0x54286f,this[_0x21b574(0x431)]);this['_clearScheduledTask']();const _0x39bdbb=new Date()[_0x21b574(0x1aa)](),_0x242c6b=this[_0x21b574(0x1f3)]?Math[_0x21b574(0x18c)](this[_0x21b574(0x1f3)]-_0x39bdbb,0x0):this[_0x21b574(0x195)]();return _0x33d6f6[_0x21b574(0x144)](_0x242c6b),_0x33d6f6;}throw _0x5d34aa[_0x21b574(0x248)];}catch(_0x1c9bda){return this[_0x21b574(0x187)][_0x21b574(0x248)](_0x1c9bda),this[_0x21b574(0x402)](!0x1);}}[_0x2628af(0x1c7)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2628af(0x270)](){var _0x27499c=_0x2628af;throw new Error(_0x27499c(0x142));}[_0x2628af(0x209)](){return this;}[_0x2628af(0x1b7)](){var _0x449313=_0x2628af;return this[_0x449313(0x29d)](),this[_0x449313(0x252)][_0x449313(0x3d4)](ue,this[_0x449313(0x418)],this[_0x449313(0x282)],null,this[_0x449313(0x369)],this[_0x449313(0x431)]);}[_0x2628af(0x22c)](){return this;}['_schedule'](_0x26f35c){var _0x41bebc=_0x2628af;const _0x410b11=_0x26f35c!=null?_0x26f35c:this[_0x41bebc(0x195)]();this[_0x41bebc(0x1f3)]=new Date()[_0x41bebc(0x1aa)]()+_0x410b11,this[_0x41bebc(0x40c)]=setTimeout(()=>{var _0x5ce23c=_0x41bebc;this[_0x5ce23c(0x29d)]();let _0x3202c3=null;switch(this[_0x5ce23c(0x282)]){case Z[_0x5ce23c(0x2bd)]:{_0x3202c3=Yt(this['_pendingMutations'],this[_0x5ce23c(0x418)],this[_0x5ce23c(0x433)],this[_0x5ce23c(0x2ad)],this['_memberService']);break;}case Z[_0x5ce23c(0x41b)]:{this[_0x5ce23c(0x369)][_0x5ce23c(0x2e0)](_0x43bd10=>_0x43bd10['id']===_0x3a996d['id'])?_0x3202c3=Js(this[_0x5ce23c(0x369)],this[_0x5ce23c(0x418)],this[_0x5ce23c(0x433)],this['_revisionService'],this[_0x5ce23c(0x184)]):_0x3202c3=Yt(this[_0x5ce23c(0x369)],this[_0x5ce23c(0x418)],this[_0x5ce23c(0x433)],this[_0x5ce23c(0x2ad)],this[_0x5ce23c(0x184)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x5ce23c(0x282)]+_0x5ce23c(0x214));}const {changeset:_0x2e051d,pendingMutations:_0xe6760e}=_0x3202c3;this['_handler'][_0x5ce23c(0x30d)](_0x2e051d);const _0x5a9479=_0xe6760e[_0x5ce23c(0x2a7)]?this[_0x5ce23c(0x252)]['createInstance'](ae,this[_0x5ce23c(0x418)],this['type'],_0x2e051d,_0xe6760e,this[_0x5ce23c(0x431)],void 0x0):this[_0x5ce23c(0x252)][_0x5ce23c(0x3d4)](_e,this[_0x5ce23c(0x418)],this[_0x5ce23c(0x282)],_0x2e051d,this[_0x5ce23c(0x431)]);_0x5a9479[_0x5ce23c(0x2f2)](),this[_0x5ce23c(0x431)][_0x5ce23c(0x15a)](this,_0x5a9479);},_0x410b11);}[_0x2628af(0x195)](){var _0x10c4f9=_0x2628af,_0x7d47a6;const _0x53f50c=this[_0x10c4f9(0x1f7)][_0x10c4f9(0x2d2)](K);return(_0x7d47a6=_0x53f50c==null?void 0x0:_0x53f50c[_0x10c4f9(0x188)])!=null?_0x7d47a6:gs;}[_0x2628af(0x21a)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2628af(0x29d)](){var _0x38743f=_0x2628af;this[_0x38743f(0x40c)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x38743f(0x40c)]=null);}['_onConflict'](_0x21a768){var _0x44f486=_0x2628af;return this['_clearScheduledTask'](),this['_injector'][_0x44f486(0x3d4)](le,this['unitID'],this[_0x44f486(0x282)],null,this[_0x44f486(0x369)],this[_0x44f486(0x431)],_0x21a768);}};re=Ie([P(0x4,_0x4df4de(_0x1afd43)),P(0x5,_0x4df4de(_0x29e7be)),P(0x6,_0x4df4de(Pe)),P(0x7,_0x5e8fca),P(0x8,_0x2d4f52),P(0x9,_0x58acf0),P(0xa,_0x1b0331),P(0xb,_0x55ab5c),P(0xc,_0x1eda14),P(0xd,_0x3807e3(J))],re);let _e=class extends Te{constructor(_0x89934a,_0x36893f,_0x23eea5,_0x12eb9e,_0x19f517,_0x2d3299,_0x437aa7,_0x59cdd6,_0x648f30,_0x44ad57,_0xb02172){var _0x563bdb=_0x2628af;super(_0x89934a,_0x36893f,_0x23eea5,[],_0x12eb9e,_0x437aa7,_0x44ad57,_0x2d3299,_0xb02172),N(this,_0x563bdb(0x165),_0x563bdb(0x163)),N(this,_0x563bdb(0x3c8),0x0),N(this,_0x563bdb(0x3ef)),N(this,'_sender'),(this['_injector']=_0x19f517,this['_logService']=_0x59cdd6,this[_0x563bdb(0x2ff)]=_0x648f30);}['appendMutation'](_0x2d667a){var _0x4ca8fb=_0x2628af;this[_0x4ca8fb(0x29d)]();const _0x1a17df=this[_0x4ca8fb(0x252)][_0x4ca8fb(0x3d4)](ae,this['unitID'],this[_0x4ca8fb(0x282)],this['_awaitingChangeset'],[_0x2d667a],this[_0x4ca8fb(0x431)],this[_0x4ca8fb(0x3ef)]);return _0x1a17df['_updateLocalCache'](),_0x1a17df;}[_0x2628af(0x23e)](_0x1dc54b){var _0x5de984=_0x2628af;if(this['_checkMissing'](_0x1dc54b))return this['_clearScheduledTask'](),this[_0x5de984(0x252)][_0x5de984(0x3d4)](Q,this['unitID'],this['type'],this[_0x5de984(0x2f9)],[],null,[_0x1dc54b],this[_0x5de984(0x431)]);try{const _0x4c7fca=this[_0x5de984(0x2ff)][_0x5de984(0x278)]([_0x1dc54b],[this[_0x5de984(0x2f9)]],!0x1);if(_0x281523(_0x4c7fca)){const {c1Prime:_0x117448,c2Prime:_0x5e2040}=_0x4c7fca;this['_executeRemoteChangeset'](_0x117448[0x0]),_0x5e2040[0x0][_0x5de984(0x303)]=this[_0x5de984(0x2ec)](),this[_0x5de984(0x29d)]();const _0x5c6ccf=this[_0x5de984(0x252)][_0x5de984(0x3d4)](_e,this[_0x5de984(0x418)],this[_0x5de984(0x282)],_0x5e2040[0x0],this[_0x5de984(0x431)]);return _0x5c6ccf[_0x5de984(0x2f2)](),_0x5c6ccf;}return this['_onConflict'](!0x1);}catch(_0x57bf2c){return this['_logService']['error'](_0x57bf2c),this[_0x5de984(0x402)](!0x1);}}[_0x2628af(0x1c7)](_0x159dc6){var _0xc5183c=_0x2628af;this['_clearScheduledTask']();const _0x40b60b=this[_0xc5183c(0x2ad)][_0xc5183c(0x23b)](this['unitID']);if(_0x159dc6[_0xc5183c(0x250)]<_0x40b60b-0x1)return this;if(this[_0xc5183c(0x3a3)](_0x159dc6))return this[_0xc5183c(0x252)][_0xc5183c(0x3d4)](Q,this[_0xc5183c(0x418)],this[_0xc5183c(0x282)],null,[],this[_0xc5183c(0x2f9)],[],this[_0xc5183c(0x431)]);this[_0xc5183c(0x26c)]();const _0xe5060f=this[_0xc5183c(0x252)][_0xc5183c(0x3d4)](ye,this['unitID'],this[_0xc5183c(0x282)],this[_0xc5183c(0x431)]);return _0xe5060f[_0xc5183c(0x2f2)](),_0xe5060f;}[_0x2628af(0x270)](_0x35cea8){var _0x509cb8=_0x2628af;return this[_0x509cb8(0x402)](!!(_0x35cea8!=null&&_0x35cea8[_0x509cb8(0x320)]));}[_0x2628af(0x209)](_0x510788){var _0x50abbb=_0x2628af;return this['_resendTimeout']>Ti?this[_0x50abbb(0x1b7)]():(this[_0x50abbb(0x3ef)]=Ei(this[_0x50abbb(0x3c8)],{'timeout':this[_0x50abbb(0x3c8)],'reqId':_0x510788[_0x50abbb(0x434)]}),this[_0x50abbb(0x371)]=this[_0x50abbb(0x3ef)][_0x50abbb(0x1da)](({reqId:_0x90a456,timeout:_0x561fd6})=>{this['_resendWithTimeout'](_0x90a456,_0x561fd6);}),this);}['toggleOffline'](){var _0x10e30b=_0x2628af;return this['_clearScheduledTask'](),this[_0x10e30b(0x252)][_0x10e30b(0x3d4)](ue,this[_0x10e30b(0x418)],this['type'],this['_awaitingChangeset'],[],this[_0x10e30b(0x431)]);}[_0x2628af(0x22c)](){return this;}[_0x2628af(0x21a)](){var _0x1557f1=_0x2628af;this['_handler'][_0x1557f1(0x30d)](this[_0x1557f1(0x2f9)]);}['_onConflict'](_0x2e28f9){var _0x36e9dc=_0x2628af;return this[_0x36e9dc(0x29d)](),this[_0x36e9dc(0x252)][_0x36e9dc(0x3d4)](le,this[_0x36e9dc(0x418)],this['type'],this[_0x36e9dc(0x2f9)],[],this[_0x36e9dc(0x431)],_0x2e28f9);}[_0x2628af(0x17e)](_0x376ee6,_0x15fb3d){var _0x4ad675=_0x2628af,_0x7c9a2c;_0x376ee6===((_0x7c9a2c=this[_0x4ad675(0x2f9)])==null?void 0x0:_0x7c9a2c[_0x4ad675(0x434)])&&(this[_0x4ad675(0x21a)](),this[_0x4ad675(0x3c8)]=_0x15fb3d===0x0?0x3e8:_0x15fb3d*0x2);}[_0x2628af(0x29d)](){var _0x54ea0a=_0x2628af,_0x10d240;(_0x10d240=this['_sender'])==null||_0x10d240[_0x54ea0a(0x2da)](),this[_0x54ea0a(0x3c8)]=0x0;}};_e=Ie([P(0x4,_0x4df4de(_0x1afd43)),P(0x5,_0x4df4de(_0x29e7be)),P(0x6,_0x2d4f52),P(0x7,_0x5e8fca),P(0x8,_0x1b0331),P(0x9,_0x1eda14),P(0xa,_0x3807e3(J))],_e);function _0x449a(_0x59ad00,_0x214d47){var _0x5204ea=_0x5204();return _0x449a=function(_0x449a78,_0x367532){_0x449a78=_0x449a78-0x134;var _0x26552b=_0x5204ea[_0x449a78];return _0x26552b;},_0x449a(_0x59ad00,_0x214d47);}let ae=class extends Te{constructor(_0x493c0c,_0x4eccb8,_0x417a23,_0x793069,_0xeaf8ad,_0x4b8a7e,_0x47459e,_0x5ca28e,_0x56d9da,_0x1af466,_0xfb78f5,_0x55c525,_0x285d99){var _0x3dbf8e=_0x2628af;super(_0x493c0c,_0x4eccb8,_0x417a23,_0x793069,_0xeaf8ad,_0x56d9da,_0x55c525,_0x5ca28e,_0x285d99),N(this,'status',_0x3dbf8e(0x3a5)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x3dbf8e(0x371)),(this['_injector']=_0x47459e,this[_0x3dbf8e(0x187)]=_0x1af466,this[_0x3dbf8e(0x2ff)]=_0xfb78f5,this[_0x3dbf8e(0x172)]=_0x285d99,_0x4b8a7e&&(this['_resendTimer']=_0x4b8a7e,this['_sender']=this[_0x3dbf8e(0x3ef)][_0x3dbf8e(0x1da)](({reqId:_0x4b660e,timeout:_0x4fdafc})=>{var _0x11facf=_0x3dbf8e;this[_0x11facf(0x17e)](_0x4b660e,_0x4fdafc);})));}[_0x2628af(0x376)](_0x4556c0){var _0x406fc9=_0x2628af;return this[_0x406fc9(0x369)][_0x406fc9(0x3eb)](_0x4556c0),this;}[_0x2628af(0x23e)](_0x447981){var _0x73c206=_0x2628af;if(this[_0x73c206(0x3a3)](_0x447981))return this['_clearScheduledTask'](),this[_0x73c206(0x252)][_0x73c206(0x3d4)](Q,this[_0x73c206(0x418)],this[_0x73c206(0x282)],this[_0x73c206(0x2f9)],this[_0x73c206(0x369)],null,[_0x447981],this[_0x73c206(0x431)]);try{const _0x3a46a9=this[_0x73c206(0x2ff)]['transformChangesets']([_0x447981],[this[_0x73c206(0x2f9)]],!0x1);if(_0x281523(_0x3a46a9)){const {c1Prime:_0x255431,c2Prime:_0x2e5835}=_0x3a46a9,_0x2a8f0a=this[_0x73c206(0x2ff)][_0x73c206(0x190)](_0x255431[0x0],this[_0x73c206(0x369)]);if(_0x3c1f72(_0x2a8f0a)){const {c1Prime:_0x5aa6b7,m2Prime:_0x535cf1}=_0x2a8f0a;return this[_0x73c206(0x198)](_0x5aa6b7),_0x2e5835[0x0][_0x73c206(0x303)]=this[_0x73c206(0x2ec)](),this[_0x73c206(0x29d)](),this[_0x73c206(0x252)][_0x73c206(0x3d4)](ae,this['unitID'],this[_0x73c206(0x282)],_0x2e5835[0x0],_0x535cf1,this[_0x73c206(0x431)],void 0x0);}throw _0x2a8f0a[_0x73c206(0x248)];}throw _0x3a46a9[_0x73c206(0x248)];}catch(_0x439d67){return this[_0x73c206(0x187)][_0x73c206(0x248)](_0x439d67),this['_onConflict'](!0x1);}}[_0x2628af(0x1c7)](_0x47c48a){var _0x4c5311=_0x2628af;if(this['_clearScheduledTask'](),this[_0x4c5311(0x3a3)](_0x47c48a))return this['_injector']['createInstance'](Q,this['unitID'],this['type'],null,this[_0x4c5311(0x369)],this[_0x4c5311(0x2f9)],[],this[_0x4c5311(0x431)]);this[_0x4c5311(0x26c)]();const _0x147263=this[_0x4c5311(0x252)][_0x4c5311(0x3d4)](re,this[_0x4c5311(0x418)],this[_0x4c5311(0x282)],this['_pendingMutations'],this[_0x4c5311(0x431)]);return _0x147263[_0x4c5311(0x144)](),_0x147263[_0x4c5311(0x2f2)](),_0x147263;}['onRemoteRej'](_0x4d2c14){var _0x4609a4=_0x2628af;return this[_0x4609a4(0x402)](!!(_0x4d2c14!=null&&_0x4d2c14[_0x4609a4(0x320)]));}['onRemoteRetry'](_0x172f5a){var _0x2e1a6d=_0x2628af;return this[_0x2e1a6d(0x3c8)]>Ti?this[_0x2e1a6d(0x1b7)]():(this[_0x2e1a6d(0x3ef)]=Ei(this[_0x2e1a6d(0x3c8)],{'timeout':this[_0x2e1a6d(0x3c8)],'reqId':_0x172f5a[_0x2e1a6d(0x434)]}),this[_0x2e1a6d(0x371)]=this[_0x2e1a6d(0x3ef)]['subscribe'](({reqId:_0x4a3cba,timeout:_0x46a914})=>{var _0x5648f7=_0x2e1a6d;this[_0x5648f7(0x17e)](_0x4a3cba,_0x46a914);}),this);}[_0x2628af(0x1b7)](){var _0x496991=_0x2628af;return this[_0x496991(0x29d)](),this[_0x496991(0x252)][_0x496991(0x3d4)](ue,this['unitID'],this[_0x496991(0x282)],this[_0x496991(0x2f9)],this[_0x496991(0x369)],this[_0x496991(0x431)]);}['toggleOnline'](){return this;}[_0x2628af(0x21a)](){var _0x3e6c2c=_0x2628af;this[_0x3e6c2c(0x431)][_0x3e6c2c(0x30d)](this[_0x3e6c2c(0x2f9)]);}['_onConflict'](_0x1b43a7){var _0x460357=_0x2628af;return this[_0x460357(0x29d)](),this[_0x460357(0x252)]['createInstance'](le,this[_0x460357(0x418)],this[_0x460357(0x282)],null,this['_pendingMutations'],this[_0x460357(0x431)],_0x1b43a7);}[_0x2628af(0x17e)](_0xad7b21,_0x12bdef){var _0x4c3400=_0x2628af,_0x4be7b3;_0xad7b21===((_0x4be7b3=this[_0x4c3400(0x2f9)])==null?void 0x0:_0x4be7b3['reqId'])&&(this[_0x4c3400(0x21a)](),this[_0x4c3400(0x3c8)]=_0x12bdef===0x0?0x3e8:_0x12bdef*0x2);}[_0x2628af(0x29d)](){var _0x478dde=_0x2628af,_0x4bf90e;(_0x4bf90e=this[_0x478dde(0x371)])==null||_0x4bf90e['unsubscribe'](),this[_0x478dde(0x3c8)]=0x0;}};ae=Ie([P(0x6,_0x4df4de(_0x1afd43)),P(0x7,_0x4df4de(_0x29e7be)),P(0x8,_0x2d4f52),P(0x9,_0x5e8fca),P(0xa,_0x1b0331),P(0xb,_0x1eda14),P(0xc,_0x3807e3(J))],ae);let le=class extends Te{constructor(_0x36f67d,_0x25c0fc,_0x49fd27,_0x2aaccf,_0x51f461,_0x40a1bc=!0x1,_0x2c86ca,_0x33b5d2,_0x1202b4,_0x292910,_0x2844ab,_0x11e3dc,_0x3ee6e2){var _0x4d6334=_0x2628af;super(_0x36f67d,_0x25c0fc,_0x49fd27,_0x2aaccf,_0x51f461,_0x33b5d2,_0x1202b4,_0x292910,_0x3ee6e2),N(this,_0x4d6334(0x165),_0x4d6334(0x3c0)),(this[_0x4d6334(0x3df)]=_0x40a1bc,this[_0x4d6334(0x1b8)]=_0x2c86ca,this[_0x4d6334(0x2f8)]=_0x2844ab,this['_collaborationUIEventService']=_0x11e3dc,this[_0x4d6334(0x172)]=_0x3ee6e2,this[_0x4d6334(0x1d4)](),this[_0x4d6334(0x351)](),this['_disableEditing']());}[_0x2628af(0x376)](){return this;}[_0x2628af(0x23e)](){return this;}[_0x2628af(0x1c7)](){return this;}['onRemoteRej'](){return this;}[_0x2628af(0x209)](){return this;}[_0x2628af(0x1b7)](){return this;}[_0x2628af(0x22c)](){return this;}[_0x2628af(0x21a)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2628af(0x351)](){var _0x5dad68=_0x2628af,_0x434708;(_0x434708=this[_0x5dad68(0x1b9)])==null||_0x434708['updateOfflineData'](this['unitID'],this[_0x5dad68(0x282)],null,[]);}[_0x2628af(0x1d4)](){var _0x199b86=_0x2628af;this['_isPermissionRej']?this[_0x199b86(0x3e5)][_0x199b86(0x3e8)]({'id':ne[_0x199b86(0x3d7)]}):this['_collaborationUIEventService'][_0x199b86(0x3e8)]({'id':ne[_0x199b86(0x2ed)]});}['_disableEditing'](){var _0x1ebe78=_0x2628af;this['_permissionService'][_0x1ebe78(0x2a5)](new _0x524ab0(this[_0x1ebe78(0x418)])['id'],!0x1);}};le=Ie([P(0x6,_0x4df4de(_0x1305f2)),P(0x7,_0x2d4f52),P(0x8,_0x1eda14),P(0x9,_0x4df4de(_0x29e7be)),P(0xa,_0x4df4de(_0x26c096)),P(0xb,_0x4df4de(ve)),P(0xc,_0x3807e3(J))],le);let ue=class extends Te{constructor(_0x37633b,_0x3bc328,_0x596d1b,_0x5b812,_0x5893f5,_0x4de0a6,_0x4e587d,_0x323342,_0x5e9c8b,_0x268d30){var _0x3e2f9c=_0x2628af;super(_0x37633b,_0x3bc328,_0x596d1b,_0x5b812,_0x5893f5,_0x323342,_0x5e9c8b,_0x4e587d,_0x268d30),N(this,_0x3e2f9c(0x165),_0x3e2f9c(0x1e8)),this[_0x3e2f9c(0x252)]=_0x4de0a6;}[_0x2628af(0x376)](_0x520af7){var _0x523dfc=_0x2628af;return this[_0x523dfc(0x369)][_0x523dfc(0x3eb)](_0x520af7),this[_0x523dfc(0x2f2)](),this;}[_0x2628af(0x23e)](_0x4ba70f){var _0x2b3238=_0x2628af;throw new Error(_0x2b3238(0x149));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2628af(0x270)](){var _0x18c69b=_0x2628af;throw new Error(_0x18c69b(0x2de));}[_0x2628af(0x209)](){return this;}[_0x2628af(0x1b7)](){return this;}['toggleOnline'](){var _0x1b7c35=_0x2628af;const {_injector:_0x3693f7,_pendingMutations:_0x2261dc,_awaitingChangeset:_0x120a56,unitID:_0x3f803b,_handler:_0x1a0bc2,type:_0x5bbb8a}=this,_0x265c88=Ci(_0x3693f7,_0x3f803b,_0x5bbb8a,_0x120a56,_0x2261dc,_0x1a0bc2);return _0x265c88 instanceof re?_0x265c88[_0x1b7c35(0x144)]():(_0x265c88 instanceof ae||_0x265c88 instanceof _e)&&_0x265c88[_0x1b7c35(0x21a)](),_0x265c88;}[_0x2628af(0x21a)](){var _0x301d9a=_0x2628af;throw new Error(_0x301d9a(0x1e9));}};ue=Ie([P(0x5,_0x4df4de(_0x1afd43)),P(0x6,_0x4df4de(_0x29e7be)),P(0x7,_0x2d4f52),P(0x8,_0x1eda14),P(0x9,_0x3807e3(J))],ue);let Q=class extends Te{constructor(_0xda976b,_0x39de42,_0x19533e,_0x321079,_0x39cd57,_0x233223,_0x27444d,_0x5e3974,_0x3a304e,_0x3eb992,_0xa21d1f,_0x898fa6,_0x1a16ad,_0x2858b8){var _0x5b9cd2=_0x2628af;super(_0xda976b,_0x39de42,_0x19533e,_0x321079,_0x27444d,_0xa21d1f,_0x898fa6,_0x3a304e,_0x2858b8),N(this,_0x5b9cd2(0x165),_0x5b9cd2(0x2ab)),(this['_acknowledgedAwaitingChangeset']=_0x39cd57,this['_queuedRemoteChangesets']=_0x233223,this[_0x5b9cd2(0x252)]=_0x5e3974,this[_0x5b9cd2(0x187)]=_0x3eb992,this['_transformService']=_0x1a16ad,this[_0x5b9cd2(0x172)]=_0x2858b8);}[_0x2628af(0x1c3)](_0x4b559c){var _0x2d8e62=_0x2628af;try{const _0x3c0b3b=[..._0x4b559c,...this[_0x2d8e62(0x314)]],_0x2efde1=[this[_0x2d8e62(0x2f9)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x198938=>!!_0x198938);let _0x1c8cb3,_0x3b2ab1;if(_0x2efde1[_0x2d8e62(0x2a7)]){const _0x59ba35=this[_0x2d8e62(0x2ff)]['transformChangesets'](_0x3c0b3b,_0x2efde1,!0x1);if(!_0x281523(_0x59ba35))throw _0x59ba35[_0x2d8e62(0x248)];_0x1c8cb3=_0x59ba35['c1Prime'],_0x3b2ab1=_0x59ba35[_0x2d8e62(0x3d5)];}else _0x1c8cb3=_0x3c0b3b,_0x3b2ab1=[];let _0x171107=this['_pendingMutations'];_0x1c8cb3[_0x2d8e62(0x3a2)](_0x49dde5=>{var _0x390899=_0x2d8e62;let _0x4ba21e;if(_0x171107['length']){const _0x38c21c=this[_0x390899(0x2ff)][_0x390899(0x190)](_0x49dde5,_0x171107);if(!_0x3c1f72(_0x38c21c))throw _0x38c21c['error'];_0x4ba21e=_0x38c21c[_0x390899(0x340)],_0x171107=_0x38c21c[_0x390899(0x3f7)];}else _0x4ba21e=_0x49dde5;this[_0x390899(0x198)](_0x4ba21e);}),this[_0x2d8e62(0x421)]&&this[_0x2d8e62(0x26c)](),this[_0x2d8e62(0x2f9)]&&_0x3b2ab1['length']&&(_0x3b2ab1[0x0][_0x2d8e62(0x303)]=this[_0x2d8e62(0x2ec)]());let _0x75bb1a;if(this[_0x2d8e62(0x2f9)]&&_0x171107[_0x2d8e62(0x2a7)]!==0x0)_0x75bb1a=this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](ae,this[_0x2d8e62(0x418)],this['type'],_0x3b2ab1[0x0],_0x171107,this[_0x2d8e62(0x431)],void 0x0);else{if(this['_awaitingChangeset']&&_0x171107['length']===0x0)_0x3b2ab1[0x0][_0x2d8e62(0x303)]=this[_0x2d8e62(0x2ec)](),_0x75bb1a=this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](_e,this[_0x2d8e62(0x418)],this[_0x2d8e62(0x282)],_0x3b2ab1[0x0],this['_handler']);else{if(_0x171107['length']!==0x0){const _0x19fe03=this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](re,this[_0x2d8e62(0x418)],this['type'],_0x171107,this['_handler']);_0x19fe03[_0x2d8e62(0x144)](),_0x75bb1a=_0x19fe03;}else _0x75bb1a=this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](ye,this[_0x2d8e62(0x418)],this[_0x2d8e62(0x282)],this[_0x2d8e62(0x431)]);}}return _0x75bb1a[_0x2d8e62(0x2f2)](),_0x75bb1a;}catch(_0x4a88a7){return this[_0x2d8e62(0x187)][_0x2d8e62(0x248)](_0x2d8e62(0x33e),_0x2d8e62(0x31b),_0x4a88a7),this[_0x2d8e62(0x252)][_0x2d8e62(0x3d4)](le,this['unitID'],this[_0x2d8e62(0x282)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2d8e62(0x431)],!0x1);}}[_0x2628af(0x21a)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2628af(0x376)](_0x150b19){var _0x425838=_0x2628af;return this[_0x425838(0x369)][_0x425838(0x3eb)](_0x150b19),this;}[_0x2628af(0x23e)](_0x2d3997){var _0x6b0a2d=_0x2628af;return this['_queuedRemoteChangesets'][_0x6b0a2d(0x3eb)](_0x2d3997),this;}[_0x2628af(0x1c7)](_0x34e52f){var _0x5ba1d0=_0x2628af;if(this[_0x5ba1d0(0x2f9)])return this[_0x5ba1d0(0x421)]=this[_0x5ba1d0(0x2f9)],this[_0x5ba1d0(0x2f9)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x5daccf){var _0x1fbdd3=_0x2628af;return this[_0x1fbdd3(0x402)](!!(_0x5daccf!=null&&_0x5daccf['isPermissionRej']));}[_0x2628af(0x209)](){return this;}[_0x2628af(0x1b7)](){var _0x553e47=_0x2628af;return this[_0x553e47(0x252)][_0x553e47(0x3d4)](ue,this[_0x553e47(0x418)],this['type'],this[_0x553e47(0x2f9)],this[_0x553e47(0x369)],this[_0x553e47(0x431)]);}[_0x2628af(0x22c)](){return this;}[_0x2628af(0x402)](_0x1dad7f){var _0x4a0035=_0x2628af;return this[_0x4a0035(0x252)][_0x4a0035(0x3d4)](le,this[_0x4a0035(0x418)],this[_0x4a0035(0x282)],this[_0x4a0035(0x2f9)],this[_0x4a0035(0x369)],this[_0x4a0035(0x431)],_0x1dad7f);}};Q=Ie([P(0x7,_0x4df4de(_0x1afd43)),P(0x8,_0x4df4de(_0x29e7be)),P(0x9,_0x5e8fca),P(0xa,_0x2d4f52),P(0xb,_0x1eda14),P(0xc,_0x1b0331),P(0xd,_0x3807e3(J))],Q);function Ci(_0x405cd7,_0x5ce238,_0x3f69cc,_0x59d96a,_0x1e8929,_0x194f75){var _0x3caae7=_0x2628af;return _0x59d96a&&_0x1e8929[_0x3caae7(0x2a7)]?_0x405cd7[_0x3caae7(0x3d4)](ae,_0x5ce238,_0x3f69cc,_0x59d96a,_0x1e8929,_0x194f75,void 0x0):_0x59d96a?_0x405cd7[_0x3caae7(0x3d4)](_e,_0x5ce238,_0x3f69cc,_0x59d96a,_0x194f75):_0x1e8929[_0x3caae7(0x2a7)]?_0x405cd7[_0x3caae7(0x3d4)](re,_0x5ce238,_0x3f69cc,_0x1e8929,_0x194f75):_0x405cd7[_0x3caae7(0x3d4)](ye,_0x5ce238,_0x3f69cc,_0x194f75);}var Qs=Object[_0x2628af(0x197)],wt=(_0x5d4fe2,_0x59b786,_0x1c2f74,_0x6837b1)=>{for(var _0x189bb7=_0x6837b1>0x1?void 0x0:_0x6837b1?Qs(_0x59b786,_0x1c2f74):_0x59b786,_0x1cb848=_0x5d4fe2['length']-0x1,_0x253285;_0x1cb848>=0x0;_0x1cb848--)(_0x253285=_0x5d4fe2[_0x1cb848])&&(_0x189bb7=_0x253285(_0x189bb7)||_0x189bb7);return _0x189bb7;},H=(_0x5bbf85,_0x398101)=>(_0xfb2a42,_0x1a0a5e)=>_0x398101(_0xfb2a42,_0x1a0a5e,_0x5bbf85);let st=class extends _0x99efd0{constructor(_0x2858c5,_0x2a733c,_0x2f6df7,_0x1fab7a,_0x3b0a0b,_0x31b480,_0x16df4f,_0x5d3784,_0x1feaba,_0x21529f,_0x276763,_0x18463f,_0x26e551){var _0x30fa0c=_0x2628af;super(),N(this,_0x30fa0c(0x390),new _0x5cf054(null)),N(this,_0x30fa0c(0x3fc),this[_0x30fa0c(0x390)][_0x30fa0c(0x20f)]()),N(this,_0x30fa0c(0x378)),N(this,'_collaborationPaused',!0x1),N(this,_0x30fa0c(0x205),''),N(this,'_changesetReqId',0x0),N(this,_0x30fa0c(0x16f),this[_0x30fa0c(0x3fc)][_0x30fa0c(0x1d9)](_0xeacfc9(_0x4ddbc9=>_0x4ddbc9?_0x4ddbc9[_0x30fa0c(0x165)]:Ii['OFFLINE']),_0x51e9ff(0x1))),N(this,_0x30fa0c(0x23d),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x30fa0c(0x418)]=_0x2858c5,this[_0x30fa0c(0x35b)]=_0x2a733c,this[_0x30fa0c(0x1e0)]=_0x2f6df7,this[_0x30fa0c(0x252)]=_0x1fab7a,this[_0x30fa0c(0x232)]=_0x3b0a0b,this['_localeService']=_0x31b480,this[_0x30fa0c(0x2ad)]=_0x16df4f,this[_0x30fa0c(0x136)]=_0x5d3784,this['_logService']=_0x1feaba,this['_commandService']=_0x21529f,this['_permissionService']=_0x276763,this[_0x30fa0c(0x2cb)]=_0x18463f,this['_localCacheService']=_0x26e551);}get[_0x2628af(0x2fc)](){return this['_state'];}async['init'](){var _0x5d08d7=_0x2628af;if(this[_0x5d08d7(0x2fc)])throw new Error(_0x5d08d7(0x422));await this[_0x5d08d7(0x37a)]();}[_0x2628af(0x298)](){var _0x59af02=_0x2628af;return this[_0x59af02(0x3b4)]=!0x0,_0x4bf02b(()=>{var _0x368315=_0x59af02;this['_collaborationPaused']=!0x1,this[_0x368315(0x208)]();});}[_0x2628af(0x1d1)](_0x5f49aa){var _0x5f32fc=_0x2628af;this[_0x5f32fc(0x1ac)](_0x5f49aa);}['_updateState'](_0x20ceee){var _0x27f5cf=_0x2628af;this[_0x27f5cf(0x378)]=_0x20ceee,this[_0x27f5cf(0x390)]['next'](_0x20ceee);}async[_0x2628af(0x37a)](){var _0xea4471=_0x2628af,_0x491ab2;this[_0xea4471(0x41f)](await this[_0xea4471(0x19a)]()),this['_singleActiveUnitService']&&((_0x491ab2=this[_0xea4471(0x2cb)])==null||_0x491ab2[_0xea4471(0x1c2)](this[_0xea4471(0x418)]),this[_0xea4471(0x29a)](this['_singleActiveUnitService'][_0xea4471(0x24b)](this[_0xea4471(0x418)])['subscribe'](_0x5b3dfc=>{var _0x5e058c=_0xea4471;this[_0x5e058c(0x187)]['debug'](_0x5e058c(0x207),'editing\x20status\x20changed\x20to',_0x5b3dfc),_0x5b3dfc===Si[_0x5e058c(0x31e)]?(this[_0x5e058c(0x136)][_0x5e058c(0x3e8)]({'id':ne['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x5e058c(0x2a5)](new _0x524ab0(this[_0x5e058c(0x418)])['id'],!0x1),this[_0x5e058c(0x1b8)][_0x5e058c(0x1f0)](!0x1)):(this[_0x5e058c(0x1b8)][_0x5e058c(0x2a5)](new _0x524ab0(this[_0x5e058c(0x418)])['id'],!0x0),this[_0x5e058c(0x1b8)][_0x5e058c(0x1f0)](!0x0));})));let _0x5be4ac=!0x1;return this[_0xea4471(0x29a)](this['session'][_0xea4471(0x277)][_0xea4471(0x1da)](_0x448b68=>{var _0x1a809f=_0xea4471;_0x448b68===Se[_0x1a809f(0x13b)]?this[_0x1a809f(0x2ee)](_0x5be4ac):_0x448b68===Se[_0x1a809f(0x3d3)]&&(_0x5be4ac=!0x0,this[_0x1a809f(0x2e1)]());})),this[_0xea4471(0x29a)](this[_0xea4471(0x35b)][_0xea4471(0x2fd)][_0xea4471(0x1da)](_0x4f8775=>{var _0xdcf34c=_0xea4471;try{switch(_0x4f8775[_0xdcf34c(0x1ce)]){case _0x543fc4[_0xdcf34c(0x16b)]:{this['_onRemoteChangeset'](_0x2cea3f(_0x4f8775[_0xdcf34c(0x391)]));break;}case _0x543fc4['CHANGESET_ACK']:{this['_onRemoteACK'](_0x4f8775[_0xdcf34c(0x391)]);break;}case _0x543fc4[_0xdcf34c(0x332)]:{this[_0xdcf34c(0x256)]();break;}case _0x543fc4['CHANGESET_SHOULD_RETRY']:{this[_0xdcf34c(0x429)](_0x4f8775[_0xdcf34c(0x391)]);break;}case _0x543fc4[_0xdcf34c(0x287)]:{this['_onFetchMissResult'](_0x4f8775[_0xdcf34c(0x391)]['changesets']['map'](_0x383380=>_0x2cea3f(_0x383380)));break;}case _0x543fc4[_0xdcf34c(0x3b8)]:{this[_0xdcf34c(0x256)]({'isPermissionRej':!0x0});break;}case _0x543fc4[_0xdcf34c(0x170)]:break;}}catch(_0x199f2e){throw console[_0xdcf34c(0x248)](_0xdcf34c(0x41e),_0x199f2e),_0x199f2e;}})),this[_0xea4471(0x378)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x2628af(0x274)](){var _0x403f07=_0x2628af;if(this[_0x403f07(0x23d)])throw new Error(_0x403f07(0x2d1));this[_0x403f07(0x23d)]=!0x0;}['_onLocalMutation'](_0xeaa9d4){var _0x1d3ab0=_0x2628af;this[_0x1d3ab0(0x274)](),this['_updateState'](this[_0x1d3ab0(0x378)][_0x1d3ab0(0x376)](_0xeaa9d4)),this[_0x1d3ab0(0x3e1)]();}[_0x2628af(0x2b8)](_0x111c4c){var _0x2e90c6=_0x2628af;if(!(_0x111c4c[_0x2e90c6(0x250)]<=this[_0x2e90c6(0x2ad)][_0x2e90c6(0x23b)](this[_0x2e90c6(0x418)]))){if(this[_0x2e90c6(0x3b4)]){this[_0x2e90c6(0x3ce)]['push'](_0x111c4c);return;}this[_0x2e90c6(0x43e)](_0x111c4c);}}[_0x2628af(0x208)](){var _0x4970d6=_0x2628af;this[_0x4970d6(0x3ce)][_0x4970d6(0x3a2)](_0x4a412d=>this['_applyRemoteChangeset'](_0x4a412d)),this[_0x4970d6(0x3ce)]=[];}[_0x2628af(0x43e)](_0x2d4d98){var _0x8a392e=_0x2628af;const _0x4cc114=this[_0x8a392e(0x232)]['interceptor'][_0x8a392e(0x1e7)](this[_0x8a392e(0x232)]['interceptor'][_0x8a392e(0x3fa)]()['COMPRESS_MUTATION_APPLY'])(_0x2d4d98[_0x8a392e(0x290)],null)||_0x2d4d98['mutations'],_0x5effe7={..._0x2d4d98,'mutations':_0x4cc114};this[_0x8a392e(0x274)](),this['_updateState'](this[_0x8a392e(0x378)]['onRemoteChangeset'](_0x5effe7)),this[_0x8a392e(0x3e1)]();}[_0x2628af(0x1fc)](_0x1f5c38){var _0x5f43f3=_0x2628af;this['_lockTransition'](),this['_updateState'](this[_0x5f43f3(0x378)][_0x5f43f3(0x1c7)](_0x1f5c38)),this[_0x5f43f3(0x3e1)]();}['_onRemoteRejected'](_0x51011a){var _0xa5c6b6=_0x2628af;this[_0xa5c6b6(0x274)](),this['_updateState'](this[_0xa5c6b6(0x378)]['onRemoteRej'](_0x51011a)),this['_unlockTransition']();}[_0x2628af(0x429)](_0xca753){var _0x3eda1c=_0x2628af;this[_0x3eda1c(0x274)](),this[_0x3eda1c(0x41f)](this[_0x3eda1c(0x378)][_0x3eda1c(0x209)](_0xca753)),this['_unlockTransition']();}[_0x2628af(0x279)](_0x264218){var _0x5f3c98=_0x2628af;if(!(this[_0x5f3c98(0x378)]instanceof Q))throw new TypeError(_0x5f3c98(0x3f8));const _0x1c3056=_0x264218[_0x5f3c98(0x2df)](_0x1a3d0a=>{var _0x579f4a=_0x5f3c98;const _0xa859c8=this[_0x579f4a(0x232)][_0x579f4a(0x3d6)][_0x579f4a(0x1e7)](this[_0x579f4a(0x232)][_0x579f4a(0x3d6)][_0x579f4a(0x3fa)]()[_0x579f4a(0x427)])(_0x1a3d0a[_0x579f4a(0x290)],null)||_0x1a3d0a['mutations'];return{..._0x1a3d0a,'mutations':_0xa859c8};});this[_0x5f3c98(0x274)](),this['_updateState'](this[_0x5f3c98(0x378)][_0x5f3c98(0x1c3)](_0x1c3056)),this[_0x5f3c98(0x3e1)]();}[_0x2628af(0x2e1)](){var _0x549617=_0x2628af;this[_0x549617(0x274)](),this[_0x549617(0x41f)](this[_0x549617(0x378)][_0x549617(0x1b7)]()),this[_0x549617(0x3e1)]();}['_toggleOnline'](_0x28b559=!0x1){var _0x3db641=_0x2628af;this[_0x3db641(0x274)](),this[_0x3db641(0x41f)](this[_0x3db641(0x378)][_0x3db641(0x22c)]()),this[_0x3db641(0x3e1)]();const _0x21ffb2=this[_0x3db641(0x378)];_0x28b559&&_0x21ffb2 instanceof ye&&(this[_0x3db641(0x274)](),this[_0x3db641(0x41f)](_0x21ffb2[_0x3db641(0x2bc)]()),this[_0x3db641(0x3e1)]());}async[_0x2628af(0x19a)](){return new Promise(_0x4b0256=>{var _0x577dc0=_0x449a;this[_0x577dc0(0x35b)][_0x577dc0(0x277)][_0x577dc0(0x1d9)](_0x43b524(0x1))[_0x577dc0(0x1da)](async _0x3455b9=>{var _0x10a2e3=_0x577dc0;_0x4b0256(await this[_0x10a2e3(0x225)](_0x3455b9===Se[_0x10a2e3(0x13b)]));});});}['_createHandler'](){var _0x594f50=_0x2628af;const _0x456ec7=this[_0x594f50(0x418)];return{'onStateChange':(_0x3d5c33,_0x422651)=>{var _0x4d07e5=_0x594f50;if(_0x3d5c33!==this[_0x4d07e5(0x378)])throw new Error(_0x4d07e5(0x317)+_0x3d5c33[_0x4d07e5(0x165)]+_0x4d07e5(0x154)+_0x422651[_0x4d07e5(0x165)]+_0x4d07e5(0x243)+this[_0x4d07e5(0x378)][_0x4d07e5(0x165)]);this[_0x4d07e5(0x41f)](_0x422651);},'onSendChangeset':_0x117e87=>{var _0x31e5f3=_0x594f50;_0x117e87[_0x31e5f3(0x17a)]||(_0x117e87[_0x31e5f3(0x17a)]=this[_0x31e5f3(0x205)],_0x117e87[_0x31e5f3(0x434)]=++this[_0x31e5f3(0x1b3)]);const _0x34f91b={'eventID':_0x543fc4['SUBMIT_CHANGESET'],'data':{'unitID':_0x117e87['unitID'],'unitType':this[_0x31e5f3(0x1e0)],'changeset':_0x117e87,'memberID':this[_0x31e5f3(0x35b)][_0x31e5f3(0x2b6)]()}};this[_0x31e5f3(0x35b)][_0x31e5f3(0x2e9)](_0x34f91b,this['unitID']);},'onMissingChangesets':({from:_0x358516,to:_0x1b947e})=>{var _0x29e859=_0x594f50;this[_0x29e859(0x187)][_0x29e859(0x428)](_0x29e859(0x207),'fetching\x20missing\x20changesets\x20from\x20'+_0x358516+_0x29e859(0x16a)+_0x1b947e);const _0x57d62e={'eventID':_0x543fc4['FETCH_MISSING'],'data':{'unitID':_0x456ec7,'unitType':this[_0x29e859(0x1e0)],'from':_0x358516,'to':_0x1b947e}};this[_0x29e859(0x35b)]['send'](_0x57d62e,this[_0x29e859(0x418)]);}};}async[_0x2628af(0x225)](_0x357f43){var _0x46b0ac=_0x2628af,_0xa0ff1e,_0x5bd0d2,_0x4d613d;const _0x5df249=await((_0xa0ff1e=this['_localCacheService'])==null?void 0x0:_0xa0ff1e[_0x46b0ac(0x2fa)](this[_0x46b0ac(0x418)])),_0x33eb7a=(_0x5bd0d2=_0x5df249==null?void 0x0:_0x5df249[_0x46b0ac(0x290)])!=null?_0x5bd0d2:[],_0x3e6d4a=(_0x4d613d=_0x5df249==null?void 0x0:_0x5df249[_0x46b0ac(0x1ea)])!=null?_0x4d613d:null,_0x5dde75=!!(_0x3e6d4a!=null&&_0x3e6d4a['sid'])&&!!(_0x3e6d4a!=null&&_0x3e6d4a['reqId']);this[_0x46b0ac(0x205)]=_0x5dde75?_0x3e6d4a[_0x46b0ac(0x17a)]:_0x43009f(),this[_0x46b0ac(0x1b3)]=_0x5dde75?_0x3e6d4a[_0x46b0ac(0x434)]:0x0;const _0x48c91a=this[_0x46b0ac(0x418)];try{this[_0x46b0ac(0x259)](_0x3e6d4a,_0x33eb7a);}catch(_0xac3eea){this[_0x46b0ac(0x187)][_0x46b0ac(0x248)](_0xac3eea);}const _0x20eebf=this[_0x46b0ac(0x273)]();if(_0x357f43){const _0x123d8c=Ci(this[_0x46b0ac(0x252)],_0x48c91a,this[_0x46b0ac(0x1e0)],_0x3e6d4a,_0x33eb7a,_0x20eebf);return _0x123d8c instanceof re?_0x123d8c[_0x46b0ac(0x144)]():(_0x123d8c instanceof ae||_0x123d8c instanceof _e)&&_0x123d8c[_0x46b0ac(0x21a)](),_0x123d8c;}return this['_injector'][_0x46b0ac(0x3d4)](ue,_0x48c91a,this[_0x46b0ac(0x1e0)],_0x3e6d4a,_0x33eb7a,_0x20eebf);}[_0x2628af(0x259)](_0x19a76f,_0x4e8b37){var _0x465530=_0x2628af,_0x1c7fd1,_0x421c5f;const _0x482e9c=this[_0x465530(0x232)][_0x465530(0x3d6)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x465530(0x3fa)]()['COMPRESS_MUTATION_APPLY']);(_0x1c7fd1=_0x482e9c((_0x19a76f==null?void 0x0:_0x19a76f['mutations'])||[],null))==null||_0x1c7fd1[_0x465530(0x3a2)](_0x598bb3=>this[_0x465530(0x2d5)][_0x465530(0x1a7)](_0x598bb3['id'],_0x598bb3['params'])),(_0x421c5f=_0x482e9c(_0x4e8b37||[],null))==null||_0x421c5f[_0x465530(0x3a2)](_0x27e6a3=>this['_commandService'][_0x465530(0x1a7)](_0x27e6a3['id'],_0x27e6a3['params']));}};st=wt([H(0x3,_0x4df4de(_0x1afd43)),H(0x4,_0x4df4de(_0x3a81f4)),H(0x5,_0x4df4de(_0x26c096)),H(0x6,_0x4df4de(_0x29e7be)),H(0x7,_0x4df4de(ve)),H(0x8,_0x5e8fca),H(0x9,_0x2d4f52),H(0xa,_0x1305f2),H(0xb,_0x3807e3(ht)),H(0xc,_0x3807e3(J))],st);let St=class extends st{constructor(_0x5053bf,_0x535976,_0x5e8ccd,_0x56d5c7,_0x56ed17,_0x5718c1,_0x4a579e,_0x24fced,_0x18a24a,_0x13b9f6,_0x15061a,_0x269dde,_0x29ad5b){var _0x1d2213=_0x2628af;super(_0x5053bf,_0x5e8ccd,_0x535976,_0x56d5c7,_0x56ed17,_0x5718c1,_0x4a579e,_0x24fced,_0x18a24a,_0x13b9f6,_0x15061a,_0x269dde,_0x29ad5b),N(this,_0x1d2213(0x1a8),null),(this[_0x1d2213(0x418)]=_0x5053bf,this['type']=_0x535976);}[_0x2628af(0x22f)](_0x292209){this['_handlerCallback']=_0x292209;}[_0x2628af(0x3ae)](){var _0x525ba3=_0x2628af;this[_0x525ba3(0x1a8)]=null,super[_0x525ba3(0x3ae)]();}['_createHandler'](){var _0x3730ef=_0x2628af;const _0x5c7042=super[_0x3730ef(0x273)]();return _0x5c7042['onTransformIME']=_0x2855f4=>{var _0x50ded6=_0x3730ef,_0xec807c,_0x26a542;return(_0x26a542=(_0xec807c=this['_handlerCallback'])==null?void 0x0:_0xec807c[_0x50ded6(0x3c5)])==null?void 0x0:_0x26a542['call'](_0xec807c,_0x2855f4);},_0x5c7042[_0x3730ef(0x220)]=_0x538775=>{var _0x1fae7d=_0x3730ef,_0x2c12d1,_0xeb721;return(_0xeb721=(_0x2c12d1=this['_handlerCallback'])==null?void 0x0:_0x2c12d1[_0x1fae7d(0x220)])==null?void 0x0:_0xeb721[_0x1fae7d(0x3aa)](_0x2c12d1,_0x538775);},_0x5c7042[_0x3730ef(0x16e)]=_0x9dcf44=>{var _0x157c99=_0x3730ef,_0xbf0ac9,_0x246b4e;return(_0x246b4e=(_0xbf0ac9=this[_0x157c99(0x1a8)])==null?void 0x0:_0xbf0ac9[_0x157c99(0x16e)])==null?void 0x0:_0x246b4e[_0x157c99(0x3aa)](_0xbf0ac9,_0x9dcf44);},_0x5c7042[_0x3730ef(0x3ed)]=_0x387b1a=>{var _0x1e09c4=_0x3730ef,_0x387a09,_0x4f19d8;return(_0x4f19d8=(_0x387a09=this['_handlerCallback'])==null?void 0x0:_0x387a09[_0x1e09c4(0x3ed)])==null?void 0x0:_0x4f19d8[_0x1e09c4(0x3aa)](_0x387a09,_0x387b1a);},_0x5c7042[_0x3730ef(0x2ba)]=_0x36aa1e=>{var _0x2a7a1e=_0x3730ef,_0x319d41,_0x1640ed,_0x5cf0d2;if(!((_0x319d41=this[_0x2a7a1e(0x1a8)])!=null&&_0x319d41[_0x2a7a1e(0x2ba)]))throw new Error(_0x2a7a1e(0x22e));return(_0x5cf0d2=(_0x1640ed=this['_handlerCallback'])==null?void 0x0:_0x1640ed[_0x2a7a1e(0x2ba)])==null?void 0x0:_0x5cf0d2[_0x2a7a1e(0x3aa)](_0x1640ed,_0x36aa1e);},_0x5c7042['onTransformRemoteChangesetByStateCache']=_0x478090=>{var _0x48db8d=_0x3730ef,_0x33d6a9,_0x29fea2,_0x295b0d;if(!((_0x33d6a9=this['_handlerCallback'])!=null&&_0x33d6a9[_0x48db8d(0x439)]))throw new Error(_0x48db8d(0x19d));return(_0x295b0d=(_0x29fea2=this[_0x48db8d(0x1a8)])==null?void 0x0:_0x29fea2[_0x48db8d(0x439)])==null?void 0x0:_0x295b0d['call'](_0x29fea2,_0x478090);},_0x5c7042;}async[_0x2628af(0x37a)](){var _0x5416d7=_0x2628af;const _0x4f9988=await super[_0x5416d7(0x37a)]();return this['disposeWithMe'](this[_0x5416d7(0x2d5)][_0x5416d7(0x34c)]((_0x4eccaf,_0x5492a5)=>{var _0x353148=_0x5416d7;if(_0x4eccaf[_0x353148(0x282)]!==_0x50f631['MUTATION']||_0x5492a5!=null&&_0x5492a5[_0x353148(0x27d)]||_0x5492a5!=null&&_0x5492a5[_0x353148(0x3b9)]||_0x4eccaf['id']===_0x3a996d['id'])return;const _0x465c4c=_0x4eccaf['params'];if((_0x465c4c==null?void 0x0:_0x465c4c[_0x353148(0x26e)])!==this[_0x353148(0x418)])return;const _0x16332f=_0x4eccaf,_0x2b5dc1=this['_compressMutationService'][_0x353148(0x3d6)][_0x353148(0x1e7)](this[_0x353148(0x232)][_0x353148(0x3d6)][_0x353148(0x3fa)]()[_0x353148(0x3c9)])([_0x16332f],null)||[_0x16332f];this[_0x353148(0x1ac)](_0x2b5dc1[0x0]);})),_0x4f9988;}};St=wt([H(0x3,_0x4df4de(_0x1afd43)),H(0x4,_0x4df4de(_0x3a81f4)),H(0x5,_0x4df4de(_0x26c096)),H(0x6,_0x4df4de(_0x29e7be)),H(0x7,_0x4df4de(ve)),H(0x8,_0x5e8fca),H(0x9,_0x2d4f52),H(0xa,_0x1305f2),H(0xb,_0x3807e3(ht)),H(0xc,_0x3807e3(J))],St);let Et=class extends st{constructor(_0x5aee8d,_0x1e9c5e,_0x3ab2cb,_0x1d8b87,_0x54e2d5,_0x2916a5,_0x2d8cfa,_0x1a8be1,_0x1eccf4,_0x2a6b23,_0x50ebf5,_0x1e1c62,_0x39e724,_0x49d3ff){var _0xa99fbb=_0x2628af;super(_0x5aee8d,_0x3ab2cb,_0x1e9c5e,_0x1d8b87,_0x54e2d5,_0x2916a5,_0x2d8cfa,_0x1eccf4,_0x2a6b23,_0x50ebf5,_0x1e1c62,_0x39e724,_0x49d3ff),this[_0xa99fbb(0x418)]=_0x5aee8d,this[_0xa99fbb(0x282)]=_0x1e9c5e,this[_0xa99fbb(0x32e)]=_0x1a8be1;}[_0x2628af(0x273)](){var _0x99cc82=_0x2628af;const _0x22d2d3=super[_0x99cc82(0x273)]();return _0x22d2d3[_0x99cc82(0x16e)]=_0x13365f=>this[_0x99cc82(0x32e)][_0x99cc82(0x288)](_0x13365f),_0x22d2d3;}async['_init'](){var _0x5b6361=_0x2628af;const _0x1933c1=await super[_0x5b6361(0x37a)]();return this[_0x5b6361(0x29a)](this['_commandService']['onCommandExecuted']((_0x1250a9,_0x250af7)=>{var _0x1fc5f8=_0x5b6361;if(_0x1250a9[_0x1fc5f8(0x282)]!==_0x50f631['MUTATION']||_0x250af7!=null&&_0x250af7[_0x1fc5f8(0x27d)]||_0x250af7!=null&&_0x250af7[_0x1fc5f8(0x3b9)])return;const _0x2c9764=_0x1250a9[_0x1fc5f8(0x216)];if((_0x2c9764==null?void 0x0:_0x2c9764['unitId'])!==this['unitID'])return;const _0xf90436=_0x1250a9,_0x23a401=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x1fc5f8(0x3d6)][_0x1fc5f8(0x3fa)]()[_0x1fc5f8(0x3c9)])([_0xf90436],null)||[_0xf90436];this[_0x1fc5f8(0x1ac)](_0x23a401[0x0]);})),_0x1933c1;}};Et=wt([H(0x3,_0x4df4de(_0x1afd43)),H(0x4,_0x4df4de(_0x3a81f4)),H(0x5,_0x4df4de(_0x26c096)),H(0x6,_0x4df4de(_0x29e7be)),H(0x7,_0x4df4de(it)),H(0x8,_0x4df4de(ve)),H(0x9,_0x5e8fca),H(0xa,_0x2d4f52),H(0xb,_0x1305f2),H(0xc,_0x3807e3(ht)),H(0xd,_0x3807e3(J))],Et);var en=Object[_0x2628af(0x197)],tn=(_0x18d218,_0x1a2d66,_0x20e99e,_0x59aad7)=>{var _0x4c5d7b=_0x2628af;for(var _0x1e89bd=_0x59aad7>0x1?void 0x0:_0x59aad7?en(_0x1a2d66,_0x20e99e):_0x1a2d66,_0xe14d4c=_0x18d218[_0x4c5d7b(0x2a7)]-0x1,_0x397c1a;_0xe14d4c>=0x0;_0xe14d4c--)(_0x397c1a=_0x18d218[_0xe14d4c])&&(_0x1e89bd=_0x397c1a(_0x1e89bd)||_0x1e89bd);return _0x1e89bd;},Be=(_0xa0fa65,_0x278ddc)=>(_0x3db3b6,_0x38e763)=>_0x278ddc(_0x3db3b6,_0x38e763,_0xa0fa65);let nt=class extends _0x99efd0{constructor(_0x281ae4,_0x3fafca,_0xe19db8,_0x529d95){var _0x1ab968=_0x2628af,_0x1b6bb1;super(),N(this,'_entities',new Map()),N(this,_0x1ab968(0x325),new _0x563997()),N(this,_0x1ab968(0x398),this[_0x1ab968(0x325)][_0x1ab968(0x20f)]()),(this['_injector']=_0x281ae4,this['_collabSessionService']=_0x3fafca,this['_configService']=_0xe19db8,this[_0x1ab968(0x433)]=_0x529d95,((_0x1b6bb1=this[_0x1ab968(0x1f7)]['getConfig'](K))==null?void 0x0:_0x1b6bb1[_0x1ab968(0x2c7)])!==!0x1&&this[_0x1ab968(0x37a)]());}[_0x2628af(0x3ae)](){var _0x2efc61=_0x2628af;super[_0x2efc61(0x3ae)](),this['_entities']['forEach'](_0x3a3a8b=>_0x3a3a8b[_0x2efc61(0x3ae)]()),this[_0x2efc61(0x432)]['clear']();}[_0x2628af(0x383)](_0x1bf18b){var _0x598d54=_0x2628af,_0x17267e;return(_0x17267e=this['_entities'][_0x598d54(0x239)](_0x1bf18b))!=null?_0x17267e:null;}[_0x2628af(0x200)](_0x19dd75){var _0x5a0269=_0x2628af;const _0x29aeac=this[_0x5a0269(0x383)](_0x19dd75);return _0x29aeac?_0x29d352(_0x29aeac):this[_0x5a0269(0x325)]['pipe'](_0x5f2c59(_0x2dd8d5=>_0x2dd8d5[_0x5a0269(0x418)]===_0x19dd75));}[_0x2628af(0x3cf)](_0x53e2b2){var _0x1b2036=_0x2628af;return _0x356759(this[_0x1b2036(0x200)](_0x53e2b2)['pipe'](_0x5b0392(()=>{})));}['_init'](){var _0x40b6e0=_0x2628af;this[_0x40b6e0(0x433)]['getTypeOfUnitAdded$'](_0x423cd4[_0x40b6e0(0x2bd)])['pipe'](_0x198bbe(this[_0x40b6e0(0x327)]),_0x312361(0x10))['subscribe'](async _0x4d4b64=>{var _0x60ea9e=_0x40b6e0;const _0x7de6c3=_0x4d4b64[_0x60ea9e(0x266)](),_0x37b408=await this['_startCollaboration'](_0x7de6c3,Z[_0x60ea9e(0x2bd)]);this['_entities'][_0x60ea9e(0x2d8)](_0x7de6c3,_0x37b408);}),this[_0x40b6e0(0x433)][_0x40b6e0(0x22a)](_0x423cd4[_0x40b6e0(0x41b)])[_0x40b6e0(0x1d9)](_0x198bbe(this[_0x40b6e0(0x327)]),_0x312361(0x10))[_0x40b6e0(0x1d9)](_0x5f2c59(_0x78344a=>!_0x78344a[_0x40b6e0(0x266)]()['startsWith']('__')))['subscribe'](async _0x19ad73=>{var _0x2907b9=_0x40b6e0;const _0x49565f=_0x19ad73[_0x2907b9(0x266)](),_0x39366c=await this[_0x2907b9(0x35d)](_0x49565f,Z[_0x2907b9(0x41b)]);this[_0x2907b9(0x432)]['set'](_0x49565f,_0x39366c);}),_0x23d50f(this[_0x40b6e0(0x433)][_0x40b6e0(0x247)](_0x423cd4[_0x40b6e0(0x2bd)]),this[_0x40b6e0(0x433)][_0x40b6e0(0x247)](_0x423cd4[_0x40b6e0(0x41b)]))[_0x40b6e0(0x1d9)](_0x198bbe(this[_0x40b6e0(0x327)]))[_0x40b6e0(0x1da)](_0x59e1f9=>{var _0x2823e9=_0x40b6e0;const _0x2bdb14=_0x59e1f9[_0x2823e9(0x266)](),_0x4bbb41=this[_0x2823e9(0x432)][_0x2823e9(0x239)](_0x2bdb14);_0x4bbb41&&(_0x4bbb41[_0x2823e9(0x3ae)](),this[_0x2823e9(0x432)]['delete'](_0x2bdb14));});}async[_0x2628af(0x35d)](_0x3d72f2,_0x46e740){var _0x4dd6e2=_0x2628af;const _0x54586d=await this[_0x4dd6e2(0x394)][_0x4dd6e2(0x38f)](_0x3d72f2),_0xf5c71=this[_0x4dd6e2(0x252)][_0x4dd6e2(0x3d4)](this[_0x4dd6e2(0x138)](_0x46e740),_0x3d72f2,_0x46e740,_0x54586d);return await _0xf5c71[_0x4dd6e2(0x42c)](),this[_0x4dd6e2(0x325)][_0x4dd6e2(0x2c6)](_0xf5c71),_0xf5c71;}[_0x2628af(0x138)](_0x5790b1){var _0xfbc02b=_0x2628af;switch(_0x5790b1){case Z[_0xfbc02b(0x41b)]:return St;case Z[_0xfbc02b(0x2bd)]:return Et;default:throw new Error(_0xfbc02b(0x25a)+_0x5790b1);}}};function _0x5204(){var _0x1f79de=['FileId','[CollaborationSessionService]:\x20socket\x20error','_replaceFileID','withCredentials','onSendChangeset','change$','CHANGESET_REVISION_CONFILICT','joinEvent','/universer-api/uniscript','EMAIL_VERIFY_CODE_MISMATCH','/universer-api/snapshot/','_queuedRemoteChangesets','_socketService','uniscriptRunEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','buffer','/collaborator','_getDownloadEndpointURL','failed\x20to\x20apply\x20missed\x20changesets!','collaboration-client.local-cache-service','indexOf','OTHER_CLIENTS_EDITING','image/jpeg','isPermissionRej','getLatestCsReqIdBySid','/universer-api/comb','findIndex','title','_entityInit$','unknown','dispose$','Decryptor','actions','_retryConnectingTimer','_clearHeartbeatTimer','uploadFileServerUrl','APPLY_PERMISSION_DENIED','_sheetTransformSelectionsService','INGEST','splice','_nDataBytes','CHANGESET_REJ','UNKNOWN_CMD','downloadEndpointUrl','addImageSourceCache','close$','reverse','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','kdf','_roomMembers','_clearRedo','LOGIN_URL_KEY','url','[FetchMissState]','AES','c1Prime','avatar','7024864edwmBF','fetchMissingChangesets','apply','POST','BASE64','ALREADY_EXISTS','saveSnapshot','list','HMAC','_networkConditionService','onCommandExecuted','_transformRemoteChangesetByIMECache','[CollaborationSessionService]','socketService','_removeRoom','_clearLocalCache','includes','getFocusedUnit','_xformMode','repeat','initWorkbookPermissionChange','_transformStack','APPLY_REVISION_CONFILICT','_scheduleCollaborationTimeoutTimer','defineProperty','session','abs','_startCollaboration','csShouldRetryEvent','_sendHeartbeatTimer','add','socket\x20close','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','NOT_FOUND','origin','&source=','disableLocalCache','People','format','_pendingMutations','_telemetryInfo','_updateStatus','_doCryptBlock','open$','setConfig','onload','override','_sender','byteOffset','Pkcs7','Encryptor','default','appendMutation','ENSURE_SNAPSHOT_EXECUTION','_state','univer-pro.collaboration-client.single-active-unit-service','_init','_getRedoStack','_timeoutTimer','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationSession]','reconnect','MOBILE_HAS_BEEN_BOUND','textRanges','APPLY_DUPLICATED','getCollabEntity','_sessions','LIVESHARE_OPERATION','_imageSourceCache','patch','post','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_RATE_OVER_LIMIT','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','file','_retryCount','PasswordBasedCipher','requireSession','_state$','data','_change$','UPDATE_PERMISSION_OBJ','_collabSessionService','_waitCount','catch','byteLength','entityInit$','subject','mixIn','Utf8','refreshPermission','transformUndoRedo','loadUnit','append','Could\x20not\x20dynamically\x20require\x20\x22','univer-pro.collaboration-client.network-condition.service','forEach','_checkMissing','_submitChangeset','awaiting_with_pending','collabWebSocketUrl','COMPLETION_FINISHED','_waitForHeartbeatResponse','saveChangeset','call','4552239VVRycQ','onMissingChangesets','PERSON','dispose','USERS_ENTER','CHANGESET_SHOULD_RETRY','_commentService','PENDING','MD5','_collaborationPaused','/universer-api/user/session-ticket','saveSheetBlock','Hasher','PERMISSION_REJ','onlyLocal','_emitMembers','UnitEmbedded','COMMENT_UPDATE','MSG_FOR_ERROR','JOIN_ROOM_FAILED','CipherParams','conflict','workbook','UNIVER_PROJECT','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getRandomValues','onTransformIME','_socketReady','WECHAT_HAS_BEEN_BOUND','_resendTimeout','COMPRESS_MUTATION_SEND','JOIN_ROOM_PERMISSION_DENIED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','objectID','COLLAB_SUBMIT_CHANGESET_URL','_remoteChangesetQueue','readyForCollab','entries','copyFileMeta','univer-pro.collaboration-client-socket-service','OFFLINE','createInstance','c2Prime','interceptor','PERMISSION_DENIED','_roomCreated$','infoRsp','headers','result','responseType','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_doReset','_isPermissionRej','_syncEditingCollabCursor','_unlockTransition','batchAllowed','NO_OTHER_CLIENTS_EDITING','confirm','_collaborationUIEventService','commentUpdateEvent','authzUrl','emitEvent','HmacMD5','YUUMI_UNABLE_LOAD_URL','push','updateMember','onSyncEditingCollabCursor','SNAPSHOT_INVALID_SNAPSHOT','_resendTimer','listRoles','SYNCED','/object/','SerializableCipher','INTERNAL_ERROR','reject','capture','m2Prime','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_nRounds','getInterceptPoints','collaMsg','state$','25856540WPRipw','_throwTelemetryCollaborationNewChangeset','YUUMI_ASYNCIO_CANCELLED','onCommentUpdate','INVITE_CODE_ALREADY_BOUND','_onConflict','FETCH_MISS','range','_getAPIPrefix','_collaborationSessionService','/allowed','LEAVE','/-/object/-/batch_allowed','_stopTelemetryCollaborationNewChangeset','_listenToNetworkCondition','_sendingTimer','then','Undefined','readInt32LE','getImage','msCrypto','HELLO','[UniverCollaborationClientPlugin]','hasOwnProperty','charCodeAt','_createSocket','BlockCipherMode','unitID','ERROR_IMAGE_TYPE','FETCH_MISSING','UNIVER_DOC','ciphertext','clear','Error\x20on\x20receiving\x20event','_updateState','198lAogkG','_acknowledgedAwaitingChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','size','newCsEvent','_transformUndoredo','__esModule','COMPRESS_MUTATION_APPLY','debug','_onRemoteRetry','filter','_parse','init','resourceIDs','updatePermissionObjEvent','close','join','_handler','_entities','_univerInstanceService','reqId','synced','getRoom','YUUMI_SUBSCRIPTION_NOT_FOUND','{fileID}','onTransformRemoteChangesetByStateCache','YUUMI_URL_COL_OUT_OF_RANGE','loginUrlKey','_onOffline','values','_applyRemoteChangeset','_substituteRedoStack','unpad','HttpImport','SHA1','replace','_snapshotService','delete','_doCreateSocket','_eventService','MUTATION','_getCtorByUniverType','_doFinalize','_socket','ONLINE','encrypt','TOO_MANY_REQUESTS','execute','JOINING','NOT_COLLAB','SHOULD_CLOSE_CONN','[PendingState]:\x20received\x20rejection.','_transformRemoteChangesetByStateCache','_schedule','USERS_LEAVE','IDLE','sigBytes','_fetchMissChangesets','[OfflineState]:\x20received\x20changeset.','unitId\x20is\x20not\x20found','algo','_getUndoStack','Base','_prevBlock','originalMeta','$super','encode','session.room-not-exists','LICENSE_EXPORT_SIZE_EXCEEDED','\x0aAfter:\x20','[CollaborationUndoRedoService]','YUUMI_NO_CUBOID_FOR_QUESTION','signUrlServerUrl','ws://127.0.0.1:8000/universer-api/comb/connect','UnitSnapshot','onStateChange','_sendHeartbeat','_onConnectionOpen','Base64','_key','waitForRoom$','randomBytes','lib','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','awaiting','_onCombEvent','status','_createHmacHelper','_map','put','blockSize','\x20to\x20','NEW_CHANGESETS','from','registerHTTPInterceptor','onTransformSelections','status$','UNISCRIPT_RUN','LICENSE_MAX_UNITS_EXCEEDED','localCacheService','_process','rev','HEARTBEAT_INTERVAL','_startTelemetryCollaborationNewChangeset','OpenSSL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','enableSingleActiveInstanceLock','sid','compute','/universer-api/authz','/new_changes','_resendWithTimeout','LIVESHARE_REQUEST_HOST','getUnitOnRev','_clearTimeoutTimer','transformStack\x20failed!','_keySchedule','_memberService','image/bmp','unitInfo$','_logService','sendChangesetTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SUCCUSS','LIVESHARE_NEW_HOST','max','6470754NDLljV','UNKNOWN_CODE','_initUnitPermissionChange','transformMutationsWithChangeset','/-/object/list','UPDATE_CURSOR','collaboration_new_changeset','/universer-api/oidc/authpage','_getSendChangesetTimeout','socket\x20open.','getOwnPropertyDescriptor','_executeRemoteChangeset','create','_createInitialState','csRejEvent','2647445OeCFHu','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_keyPriorReset','_userManagerService','enableAuthServer','hasher','memberID','UNIVER_COLLABORATION_CLIENT_PLUGIN','_httpService','getSheetBlock','not_collab','executeCommand','_handlerCallback','deepClone','getTime','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onLocalMutation','HEARTBEAT_TIMEOUT','incrementRevOfUnit','_iKey','allowed','_undoStacks','decrypt','_changesetReqId','ERROR_IMAGE','/resources','loadDoc','toggleOffline','_permissionService','_localCacheService','exports','routeKey','FAIL','extend','LOGIN_FAILED','_initCloseConn','updateCursorEvent','_substituteUndoStack','editingUnit','onMissedChangesetFetched','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_oKey','getDeserializedSheetBlock','onRemoteAck','getSnapshotAPIPath','_onJoinRoomEvent','message$','createDecryptor','_unitInfo$','floor','eventID','&to=','finalize','onLocalMutation','_doProcessBlock','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_showConflictNotification','_clearRetryConnectingTimer','subUnitId','code','_event$','pipe','subscribe','liveShareNewHost','getResourcesRequest','_getSignURL','getMember','charAt','_type','440QcmlBv','duration','decryptBlock','YUUMI_CONNECTOR_URL_NOT_FOUND','members','_socketMessageSubscription','fetchThroughInterceptors','offline','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','awaitingChangeset','/unit/','NoPadding','16314BDuvHw','href','setCurrentUser','setShowComponents','getSheetId','_shouldReportTelemetry','_scheduleCompleteTimestamp','LIVESHARE_TERMINATE','keySize','Malformed\x20UTF-8\x20data','_configService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','clone','collaborators','_config','_onRemoteACK','createEncryptor','CBC','getUnit','getCollabEntity$','cfg','encryptBlock','objectType','155691JSrFbp','_changesetSessionId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationEntity]','_exhaustRemoteChangesetQueue','onRemoteRetry','YUUMI_AI_RUN_FAILED','connection\x20error','loadSheet','_sessionStatus$','joinRsp','asObservable','APPLY_REJECT','body','string','HttpExport','\x20in\x20_schedule.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','params','removeMember','auth.needGotoLoginAlert','_minBufferSize','resend','SOCKET_FAILED_RETRY','_DEC_XFORM_MODE','hostname','BlockCipher','Failed\x20to\x20update\x20permission\x20point','onTransformState','userID','_undoRedoService','slice','UNRECOGNIZED','_createInitialStateImpl','[SyncedState]:\x20received\x20rejection.','mode','OTHER_CLIENT_EDITING','session.room-permission-denied','getTypeOfUnitAdded$','SUBMIT_CHANGESET_TIMEOUT','toggleOnline','SUBMIT_CHANGESET','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','addHandlerCallback','enc','onStarting','_compressMutationService','Cipher','_decreaseWaiting','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_commentUpdate$','ERROR_EXCEED_SIZE','/role','get','YUUMI_ALL_TABLES_IS_INVALID','getCurrentRevOfUnit','AWAITING_WITH_PENDING','_transitionLocked','onRemoteChangeset','enableOfflineEditing','CLOSE_ROOM','_hash','_snapshotServerService','\x0aCurrent:\x20','LICENSE_DISTRO_REJECTED','function','\x20-\x20','getTypeOfUnitDisposed$','error','telemetry\x20info\x20is\x20not\x20initialized','_initRequestHeader','getUnitStatus$','submit\x20changeset\x20error!','image/jpg','concat','_candidateSocket','revision','key','_injector','ceil','UNDEFINED','reduce','_onRemoteRejected','_getAPIPrefixPath','updateOfflineData','_replayCachedMutations','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','complete','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','clamp','sessionStatus','&assign=','processBlock','updateSnapshot','updateCollaborator','_rescheduleHeartbeat','sheets','createSocket','getUnitId','/fetchmissing?from=','_tryReconnect','11bBfCta','now','snapshot','_incrementRevisionNumber','padding','unitId','_ENC_XFORM_MODE','onRemoteRej','JOIN','localeService','_createHandler','_lockTransition','getAllMembers','JOIN_ROOM_NOT_EXISTS','sessionStatus$','transformChangesets','_onFetchMissResult','UNIVER_UNKNOWN','RECV','_registerDependencies','fromCollab','permissionRejEvent','has','SEND_CHANGESET_TIMEOUT','_status$','type','session.join-failed','GLOBAL_ROOMS_CNT_EXCEEDS','HEARTBEAT','src','PSEUDO_FETCH_MISSING_RESULT','transformSelections','getCurrentUser','SNAPSHOT_URL_KEY','x-univer-host','_invKeySchedule','name','find','UNAUTHENTICATED','mutations','CONNECTOR_DATA_TOO_LARGE','_unitID','cmd','update','EvpKDF','setWaitCount','LICENSE_IMPORT_SIZE_EXCEEDED','pauseCollaboration','/object','disposeWithMe','salt','deleteCollaborator','_clearScheduledTask','iterations','encodeURIComponent','parse','loadUnitOfRevision','_members','DEFAULT_FILE_NAME','_members$','updatePermissionPoint','_onUserLeave','length','getValue','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_cipher','fetch_missing','_reverseMap','_revisionService','commentUpdate$','reset','stringify','LIVESHARE_FETCH_OPERATIONS','random','4yhYpSM','socket$','USER_NOT_INVITED_CODE','getMemberID','UUID','_onRemoteChangeset','/block/','onTransformRemoteChangesetByIMECache','requestParams','fetchMiss','UNIVER_SHEET','_getLoginPath','INVITE_CODE_HAS_BEEN_UES','_onUserJoin','_telemetryService','crypto','roomInfos','_collaborationTimeoutTimer','?size=','next','enableCollaboration','JOIN_ROOM_FULL','_append','selections','_singleActiveUnitService','_iv','INVALID_INVITE_CODE','_clearCollaborationTimeoutTimer','Univer','_mode','[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.','getConfig','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isArray','_commandService','_getUploadFileURL','__creator','set','method','unsubscribe','_hasher','_transformStateCache','AWAITING','[OfflineState]:\x20received\x20rejection.','map','every','_toggleOffline','_data','SNAPSHOT_HAS_BEEN_REMOVED','getCurrentSelections','_socket$','save\x20fail\x20reason\x20is\x20','prototype','_HTTPService','send','pending','target','_getCurrentRevision','CONFLICT','_toggleOnline','getUnitType','collaboratorID','stopTime','_updateLocalCache','SOCKET_FAILED','StreamCipher','_onConnectionFailed','pad','toString','_localeService','_awaitingChangeset','loadOfflineData','words','state','event$','formatter','_transformService','retryConnectingInterval','WordArray','_transformSelections','baseRev','listCollaborators','/universer-api/snapshot','UNIVER_SLIDE','_tryEnsureSocket','fromCharCode'];_0x5204=function(){return _0x1f79de;};return _0x5204();}nt=tn([Be(0x0,_0x4df4de(_0x1afd43)),Be(0x1,_0x4df4de(Le)),Be(0x2,_0x58acf0),Be(0x3,_0x55ab5c)],nt);var sn=Object[_0x2628af(0x197)],nn=(_0xb3b992,_0x41951d,_0x584f86,_0x55d140)=>{var _0x23ea51=_0x2628af;for(var _0x47cd47=_0x55d140>0x1?void 0x0:_0x55d140?sn(_0x41951d,_0x584f86):_0x41951d,_0x2e1a95=_0xb3b992[_0x23ea51(0x2a7)]-0x1,_0x16f737;_0x2e1a95>=0x0;_0x2e1a95--)(_0x16f737=_0xb3b992[_0x2e1a95])&&(_0x47cd47=_0x16f737(_0x47cd47)||_0x47cd47);return _0x47cd47;},Wt=(_0x477a99,_0x181828)=>(_0x43f58a,_0x1bcbd5)=>_0x181828(_0x43f58a,_0x1bcbd5,_0x477a99);const rn=_0x2628af(0x2a3),an=_0x2628af(0x2cf);let It=class extends _0x3a3655{constructor(_0x125447,_0xecb9c3){var _0x19a456=_0x2628af;super(),this[_0x19a456(0x433)]=_0x125447,this[_0x19a456(0x1f7)]=_0xecb9c3,this[_0x19a456(0x37a)]();}[_0x2628af(0x37a)](){var _0x491022=_0x2628af;this[_0x491022(0x29a)](this[_0x491022(0x433)]['focused$']['subscribe'](()=>{var _0x510c29=_0x491022,_0x2673a2;const _0x3b2e3f=this[_0x510c29(0x433)][_0x510c29(0x353)]();let _0x54b898=(_0x2673a2=this[_0x510c29(0x1f7)][_0x510c29(0x2d2)](rn))!=null?_0x2673a2:an;_0x3b2e3f instanceof _0x44b7e7&&(_0x54b898=_0x3b2e3f['name']),document[_0x510c29(0x324)]=_0x54b898;}));}};It=nn([Wt(0x0,_0x55ab5c),Wt(0x1,_0x58acf0)],It);var on=Object['getOwnPropertyDescriptor'],cn=(_0x2bfda2,_0x38b2c2,_0x391a51,_0xb062d3)=>{var _0x2ecc1d=_0x2628af;for(var _0x101e9e=_0xb062d3>0x1?void 0x0:_0xb062d3?on(_0x38b2c2,_0x391a51):_0x38b2c2,_0x52be6d=_0x2bfda2[_0x2ecc1d(0x2a7)]-0x1,_0x5961a2;_0x52be6d>=0x0;_0x52be6d--)(_0x5961a2=_0x2bfda2[_0x52be6d])&&(_0x101e9e=_0x5961a2(_0x101e9e)||_0x101e9e);return _0x101e9e;},dt=(_0x17cf3a,_0xd59b9d)=>(_0x38c1d5,_0x5727dc)=>_0xd59b9d(_0x38c1d5,_0x5727dc,_0x17cf3a);let rt=class{constructor(_0x2218c7,_0x20f6eb,_0x3e78e5){var _0x388b5c=_0x2628af;this['_configService']=_0x2218c7,this[_0x388b5c(0x1a4)]=_0x20f6eb,this[_0x388b5c(0x272)]=_0x3e78e5,this[_0x388b5c(0x42c)]();}[_0x2628af(0x42c)](){var _0x274c48=_0x2628af;this[_0x274c48(0x1a4)][_0x274c48(0x16d)]({'priority':0x1,'interceptor':(_0x407c48,_0x1489f7)=>_0x1489f7(_0x407c48)[_0x274c48(0x1d9)](_0x587ba4(async _0x4b9cdc=>{var _0x9b8c9c=_0x274c48;const _0x214def=_0x4b9cdc;if(_0x214def[_0x9b8c9c(0x165)]===0x191){if(typeof window>'u')throw new Error(_0x9b8c9c(0x215));if(window[_0x9b8c9c(0x3e4)](this['localeService']['t'](_0x9b8c9c(0x218)))){const _0x1c1856=window[_0x9b8c9c(0x29f)](window['location'][_0x9b8c9c(0x1ee)]);window['location'][_0x9b8c9c(0x1ee)]=this[_0x9b8c9c(0x2be)]()+'?url='+_0x1c1856;}}return _0x214def;}))});}[_0x2628af(0x2be)](){var _0x4238fa=_0x2628af,_0x115274,_0x749237;const _0x27d803=this[_0x4238fa(0x1f7)][_0x4238fa(0x2d2)](Ns),_0x44083b=this[_0x4238fa(0x1f7)]['getConfig'](K);return(_0x749237=(_0x115274=_0x44083b==null?void 0x0:_0x44083b[_0x4238fa(0x43b)])!=null?_0x115274:_0x27d803)!=null?_0x749237:Ds;}};rt=cn([dt(0x0,_0x58acf0),dt(0x1,_0x4df4de(_0xfc765a)),dt(0x2,_0x4df4de(_0x26c096))],rt);var hn=Object[_0x2628af(0x197)],_n=(_0x24aa35,_0x34aeac,_0x42e553,_0x5c160d)=>{var _0x4ab7fa=_0x2628af;for(var _0x41ec7f=_0x5c160d>0x1?void 0x0:_0x5c160d?hn(_0x34aeac,_0x42e553):_0x34aeac,_0x1308df=_0x24aa35[_0x4ab7fa(0x2a7)]-0x1,_0xcd2cb5;_0x1308df>=0x0;_0x1308df--)(_0xcd2cb5=_0x24aa35[_0x1308df])&&(_0x41ec7f=_0xcd2cb5(_0x41ec7f)||_0x41ec7f);return _0x41ec7f;},Kt=(_0xdca058,_0xaa16b3)=>(_0x219a36,_0x4ae9b2)=>_0xaa16b3(_0x219a36,_0x4ae9b2,_0xdca058);const Ri='AUTHZ_URL_KEY',ln='/universer-api/authz';let Tt=class extends _0x3a3655{constructor(_0x4f804d,_0x51124f){var _0x1310f5=_0x2628af;super(),this[_0x1310f5(0x2e8)]=_0x4f804d,this[_0x1310f5(0x1f7)]=_0x51124f,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x439afd=_0x2628af;const _0x1371d8=this;this[_0x439afd(0x29a)](this['_HTTPService'][_0x439afd(0x16d)]({'priority':0x3e7,'interceptor':_0x4f67fb({'isMatch'(_0x102590){var _0x5207db=_0x439afd,_0x3e898a;if(_0x102590[_0x5207db(0x2d9)]===_0x5207db(0x345)&&((_0x3e898a=_0x102590[_0x5207db(0x2bb)])!=null&&_0x3e898a[_0x5207db(0x211)])){const {objectID:_0x3a712e,objectType:_0xf4277b}=_0x102590[_0x5207db(0x2bb)]['body']||{};if(!_0x3a712e||_0xf4277b===void 0x0)return!0x1;const _0x5b3dcb=_0x1371d8[_0x5207db(0x257)]()+'/'+_0xf4277b+_0x5207db(0x3f2)+_0x3a712e+_0x5207db(0x407);if(_0x102590[_0x5207db(0x33d)]===_0x5b3dcb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x17a07e){var _0x582c24=_0x439afd,_0x564eb5;return(_0x564eb5=_0x17a07e[_0x582c24(0x2bb)])==null?void 0x0:_0x564eb5['body'];},'mergeParamsToRequest'(_0x226075,_0x493a57){var _0x3687a0=_0x439afd;const _0x401068=_0x1371d8[_0x3687a0(0x257)]()+_0x3687a0(0x409),_0x1363ed=_0x226075[_0x3687a0(0x255)]((_0x2fa9e5,_0x419e81)=>{var _0x1f0f52=_0x3687a0;const {unitID:_0x26c465,objectID:_0x111309,objectType:_0x32f59f,actions:_0x4d1769}=_0x419e81;return _0x2fa9e5[_0x26c465]||(_0x2fa9e5[_0x26c465]={}),_0x2fa9e5[_0x26c465][_0x111309]||(_0x2fa9e5[_0x26c465][_0x111309]={'objectID':_0x111309,'objectType':_0x32f59f,'actions':[]}),_0x2fa9e5[_0x26c465][_0x111309][_0x1f0f52(0x329)][_0x1f0f52(0x3eb)](..._0x4d1769),_0x2fa9e5;},{}),_0x35858e=[];for(const _0x48a191 in _0x1363ed)for(const _0x428903 in _0x1363ed[_0x48a191]){const {actions:_0x7987f4,objectType:_0x4274fd}=_0x1363ed[_0x48a191][_0x428903],_0x52b57c=[...new Set(_0x7987f4)];_0x35858e['push']({'unitID':_0x48a191,'objectID':_0x428903,'objectType':_0x4274fd,'actions':_0x52b57c});}return new _0x5ded10('POST',_0x401068,{'headers':_0x493a57['headers'],'withCredentials':_0x493a57[_0x3687a0(0x30c)],'responseType':_0x493a57[_0x3687a0(0x3dc)],'body':{'requests':_0x35858e}});}},{'distributeResult'(_0x5d6276,_0x379853){var _0x37b8ef=_0x439afd;const {objectActions:_0xb196a2}=_0x5d6276;return _0x379853[_0x37b8ef(0x2df)](_0x2b82ab=>{var _0x49adc2=_0x37b8ef;const {unitID:_0x3d0b79,objectID:_0x333353,actions:_0x49bf8f}=_0x2b82ab,_0x5e7581=_0xb196a2[_0x49adc2(0x28e)](_0x292703=>_0x292703[_0x49adc2(0x418)]===_0x3d0b79&&_0x292703[_0x49adc2(0x3cc)]===_0x333353),_0x4f880b=_0x49bf8f[_0x49adc2(0x2df)](_0x44f9be=>_0x5e7581==null?void 0x0:_0x5e7581[_0x49adc2(0x329)][_0x49adc2(0x28e)](_0x25d887=>_0x25d887['action']===_0x44f9be))[_0x49adc2(0x42a)](_0xa0b031=>!!_0xa0b031);return{'config':_0x2b82ab,'result':{'actions':_0x4f880b,'error':_0x5d6276['error']}};});}})}));}[_0x2628af(0x257)](){var _0x28d59a=_0x2628af,_0x25d4bc,_0x324774;const _0xa2465e=this[_0x28d59a(0x1f7)][_0x28d59a(0x2d2)](Ri),_0x43f031=this[_0x28d59a(0x1f7)][_0x28d59a(0x2d2)](K);return(_0x324774=(_0x25d4bc=_0x43f031==null?void 0x0:_0x43f031[_0x28d59a(0x3e7)])!=null?_0x25d4bc:_0xa2465e)!=null?_0x324774:ln;}async[_0x2628af(0x199)](_0x4ecbcf){var _0x5e6222=_0x2628af;const _0x15272d=this[_0x5e6222(0x257)]()+'/'+_0x4ecbcf['objectType']+_0x5e6222(0x299);return(await this[_0x5e6222(0x2e8)]['post'](_0x15272d,{'body':_0x4ecbcf}))['body'][_0x5e6222(0x3cc)]||'';}async['list'](_0x1e697a){var _0x10c30b=_0x2628af;const _0x227dce=this[_0x10c30b(0x257)]()+_0x10c30b(0x191);return(await this[_0x10c30b(0x2e8)][_0x10c30b(0x388)](_0x227dce,{'body':_0x1e697a}))[_0x10c30b(0x211)]['objects'];}async[_0x2628af(0x294)](_0x177d54){var _0x1d7ea7=_0x2628af,_0xa8202f,_0x339883;const _0x36e25f=this['_getAPIPrefixPath']()+'/'+_0x177d54[_0x1d7ea7(0x203)]+'/object/'+_0x177d54[_0x1d7ea7(0x3cc)],_0x4362fe=await this['_HTTPService'][_0x1d7ea7(0x168)](_0x36e25f,{'body':_0x177d54});if(((_0x339883=(_0xa8202f=_0x4362fe==null?void 0x0:_0x4362fe[_0x1d7ea7(0x211)])==null?void 0x0:_0xa8202f[_0x1d7ea7(0x248)])==null?void 0x0:_0x339883[_0x1d7ea7(0x1d7)])!==0x1)throw new Error(_0x1d7ea7(0x21f));}async[_0x2628af(0x1b0)](_0x1cf1c6){var _0x4568ce=_0x2628af;const _0xae12b4=this[_0x4568ce(0x257)]()+'/'+_0x1cf1c6[_0x4568ce(0x203)]+'/object/'+_0x1cf1c6[_0x4568ce(0x3cc)]+_0x4568ce(0x407);return(await this[_0x4568ce(0x2e8)][_0x4568ce(0x388)](_0xae12b4,{'body':_0x1cf1c6}))[_0x4568ce(0x211)][_0x4568ce(0x329)];}async[_0x2628af(0x3e2)](_0x5d0a5d){var _0x474c13=_0x2628af;const _0x3f9a13=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x474c13(0x388)](_0x3f9a13,{'body':{'requests':_0x5d0a5d}}))[_0x474c13(0x211)]['objectActions'];}async[_0x2628af(0x3f0)](_0x2d274e){var _0x44975d=_0x2628af;const _0x1378c2=this[_0x44975d(0x257)]()+'/'+_0x2d274e['objectType']+_0x44975d(0x238),_0x48d854=await this[_0x44975d(0x2e8)][_0x44975d(0x388)](_0x1378c2,{'body':_0x2d274e});return{'roles':_0x48d854[_0x44975d(0x211)]['roles'],'actions':_0x48d854[_0x44975d(0x211)][_0x44975d(0x329)]};}async[_0x2628af(0x29c)](_0x5bfee9){var _0x1900d7=_0x2628af;const _0x5c9d6d=this['_getAPIPrefixPath']()+_0x1900d7(0x319);await this['_HTTPService']['delete'](_0x5c9d6d,{'params':{'collaboratorID':_0x5bfee9[_0x1900d7(0x2f0)],'objectID':_0x5bfee9[_0x1900d7(0x3cc)],'unitID':_0x5bfee9[_0x1900d7(0x418)]}});}async[_0x2628af(0x262)](_0xfcf02){var _0x14b854=_0x2628af;const _0x58fc1e=this[_0x14b854(0x257)]()+'/collaborator';await this[_0x14b854(0x2e8)][_0x14b854(0x387)](_0x58fc1e,{'body':_0xfcf02});}async['createCollaborator'](_0x336516){var _0x2dcf0a=_0x2628af;const _0x3ae4a6=this[_0x2dcf0a(0x257)]()+_0x2dcf0a(0x319);await this[_0x2dcf0a(0x2e8)][_0x2dcf0a(0x388)](_0x3ae4a6,{'body':_0x336516});}async[_0x2628af(0x304)](_0x3d90e9){var _0x5186a1=_0x2628af;const _0x5822c4=this[_0x5186a1(0x257)]()+'/collaborator';return(await this[_0x5186a1(0x2e8)][_0x5186a1(0x239)](_0x5822c4,{'params':{'objectID':_0x3d90e9[_0x5186a1(0x3cc)],'unitID':_0x3d90e9[_0x5186a1(0x418)]}}))['body']['collaborators'];}async['putCollaborators'](_0x2aef1f){var _0x220ca1=_0x2628af;const _0x532c34=this[_0x220ca1(0x257)]()+_0x220ca1(0x319);await this[_0x220ca1(0x2e8)][_0x220ca1(0x168)](_0x532c34,{'body':_0x2aef1f});}};Tt=_n([Kt(0x0,_0x4df4de(_0xfc765a)),Kt(0x1,_0x4df4de(_0x58acf0))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2e6a49){var _0x15ca4c=_0x2628af;return _0x2e6a49&&_0x2e6a49[_0x15ca4c(0x426)]&&Object[_0x15ca4c(0x2e7)][_0x15ca4c(0x414)][_0x15ca4c(0x3aa)](_0x2e6a49,_0x15ca4c(0x375))?_0x2e6a49['default']:_0x2e6a49;}var Ve={'exports':{}};function un(_0xd41fee){var _0x1cbf00=_0x2628af;throw new Error(_0x1cbf00(0x3a0)+_0xd41fee+_0x1cbf00(0x235));}var Ge={'exports':{}},dn=Ge[_0x2628af(0x1ba)],qt;function te(){var _0xf18459=_0x2628af;return qt||(qt=0x1,function(_0x3de573,_0x2037e2){(function(_0x1841f8,_0x3c8df0){var _0x2ea9f9=_0x449a;_0x3de573[_0x2ea9f9(0x1ba)]=_0x3c8df0();}(dn,function(){var _0x25e106=_0x25e106||function(_0x308917,_0x42280d){var _0x57ed86=_0x449a,_0x41efa2;if(typeof window<'u'&&window[_0x57ed86(0x2c2)]&&(_0x41efa2=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x41efa2=self[_0x57ed86(0x2c2)]),typeof globalThis<'u'&&globalThis[_0x57ed86(0x2c2)]&&(_0x41efa2=globalThis[_0x57ed86(0x2c2)]),!_0x41efa2&&typeof window<'u'&&window[_0x57ed86(0x411)]&&(_0x41efa2=window[_0x57ed86(0x411)]),!_0x41efa2&&typeof ft<'u'&&ft[_0x57ed86(0x2c2)]&&(_0x41efa2=ft[_0x57ed86(0x2c2)]),!_0x41efa2&&typeof un==_0x57ed86(0x245))try{_0x41efa2=require('crypto');}catch{}var _0x502989=function(){var _0x1aec13=_0x57ed86;if(_0x41efa2){if(typeof _0x41efa2[_0x1aec13(0x3c4)]=='function')try{return _0x41efa2[_0x1aec13(0x3c4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x41efa2[_0x1aec13(0x160)]==_0x1aec13(0x245))try{return _0x41efa2[_0x1aec13(0x160)](0x4)[_0x1aec13(0x40f)]();}catch{}}throw new Error(_0x1aec13(0x1ab));},_0x280639=Object[_0x57ed86(0x199)]||(function(){function _0x3ee227(){}return function(_0x130616){var _0x3d4acc=_0x449a,_0x43a916;return _0x3ee227[_0x3d4acc(0x2e7)]=_0x130616,_0x43a916=new _0x3ee227(),_0x3ee227['prototype']=null,_0x43a916;};}()),_0x4c4ecf={},_0x52c9e6=_0x4c4ecf[_0x57ed86(0x161)]={},_0x363b49=_0x52c9e6[_0x57ed86(0x14d)]=(function(){return{'extend':function(_0x582875){var _0x2ba7d0=_0x449a,_0xf64fb1=_0x280639(this);return _0x582875&&_0xf64fb1[_0x2ba7d0(0x39a)](_0x582875),(!_0xf64fb1['hasOwnProperty'](_0x2ba7d0(0x42c))||this['init']===_0xf64fb1[_0x2ba7d0(0x42c)])&&(_0xf64fb1[_0x2ba7d0(0x42c)]=function(){var _0x11dcf5=_0x2ba7d0;_0xf64fb1['$super'][_0x11dcf5(0x42c)]['apply'](this,arguments);}),_0xf64fb1['init'][_0x2ba7d0(0x2e7)]=_0xf64fb1,_0xf64fb1[_0x2ba7d0(0x150)]=this,_0xf64fb1;},'create':function(){var _0x5ebfde=_0x449a,_0xd3cbb3=this[_0x5ebfde(0x1bd)]();return _0xd3cbb3['init'][_0x5ebfde(0x344)](_0xd3cbb3,arguments),_0xd3cbb3;},'init':function(){},'mixIn':function(_0x293a89){var _0x13fed1=_0x449a;for(var _0x21b31b in _0x293a89)_0x293a89['hasOwnProperty'](_0x21b31b)&&(this[_0x21b31b]=_0x293a89[_0x21b31b]);_0x293a89[_0x13fed1(0x414)]('toString')&&(this[_0x13fed1(0x2f7)]=_0x293a89['toString']);},'clone':function(){var _0x59e48e=_0x449a;return this[_0x59e48e(0x42c)][_0x59e48e(0x2e7)]['extend'](this);}};}()),_0x48385b=_0x52c9e6['WordArray']=_0x363b49[_0x57ed86(0x1bd)]({'init':function(_0x119b86,_0x51417e){var _0x290b63=_0x57ed86;_0x119b86=this[_0x290b63(0x2fb)]=_0x119b86||[],_0x51417e!=_0x42280d?this[_0x290b63(0x147)]=_0x51417e:this[_0x290b63(0x147)]=_0x119b86[_0x290b63(0x2a7)]*0x4;},'toString':function(_0x29b160){var _0x4a5c22=_0x57ed86;return(_0x29b160||_0x196193)[_0x4a5c22(0x2b0)](this);},'concat':function(_0x4f8476){var _0x5ad23a=_0x57ed86,_0x2ea94b=this['words'],_0x1e2747=_0x4f8476[_0x5ad23a(0x2fb)],_0x210c7a=this[_0x5ad23a(0x147)],_0x1bbbbe=_0x4f8476[_0x5ad23a(0x147)];if(this[_0x5ad23a(0x25d)](),_0x210c7a%0x4)for(var _0x429de7=0x0;_0x429de7<_0x1bbbbe;_0x429de7++){var _0x56cedf=_0x1e2747[_0x429de7>>>0x2]>>>0x18-_0x429de7%0x4*0x8&0xff;_0x2ea94b[_0x210c7a+_0x429de7>>>0x2]|=_0x56cedf<<0x18-(_0x210c7a+_0x429de7)%0x4*0x8;}else{for(var _0x9c8179=0x0;_0x9c8179<_0x1bbbbe;_0x9c8179+=0x4)_0x2ea94b[_0x210c7a+_0x9c8179>>>0x2]=_0x1e2747[_0x9c8179>>>0x2];}return this['sigBytes']+=_0x1bbbbe,this;},'clamp':function(){var _0x187c66=_0x57ed86,_0x57dec6=this[_0x187c66(0x2fb)],_0x1694f7=this[_0x187c66(0x147)];_0x57dec6[_0x1694f7>>>0x2]&=0xffffffff<<0x20-_0x1694f7%0x4*0x8,_0x57dec6[_0x187c66(0x2a7)]=_0x308917['ceil'](_0x1694f7/0x4);},'clone':function(){var _0x4846d2=_0x57ed86,_0x57ac3e=_0x363b49[_0x4846d2(0x1f9)]['call'](this);return _0x57ac3e['words']=this['words'][_0x4846d2(0x223)](0x0),_0x57ac3e;},'random':function(_0x3a3296){var _0x36f04a=_0x57ed86;for(var _0x4664fd=[],_0x1994b0=0x0;_0x1994b0<_0x3a3296;_0x1994b0+=0x4)_0x4664fd[_0x36f04a(0x3eb)](_0x502989());return new _0x48385b[(_0x36f04a(0x42c))](_0x4664fd,_0x3a3296);}}),_0x5d3bfe=_0x4c4ecf[_0x57ed86(0x230)]={},_0x196193=_0x5d3bfe['Hex']={'stringify':function(_0x50fed4){var _0x17f226=_0x57ed86;for(var _0x4c901f=_0x50fed4[_0x17f226(0x2fb)],_0x467f9e=_0x50fed4[_0x17f226(0x147)],_0x2d02b4=[],_0x3b002a=0x0;_0x3b002a<_0x467f9e;_0x3b002a++){var _0x3fe62d=_0x4c901f[_0x3b002a>>>0x2]>>>0x18-_0x3b002a%0x4*0x8&0xff;_0x2d02b4[_0x17f226(0x3eb)]((_0x3fe62d>>>0x4)[_0x17f226(0x2f7)](0x10)),_0x2d02b4[_0x17f226(0x3eb)]((_0x3fe62d&0xf)['toString'](0x10));}return _0x2d02b4[_0x17f226(0x430)]('');},'parse':function(_0x5e7093){var _0x4bc118=_0x57ed86;for(var _0x53dd81=_0x5e7093[_0x4bc118(0x2a7)],_0x37b24d=[],_0x308f41=0x0;_0x308f41<_0x53dd81;_0x308f41+=0x2)_0x37b24d[_0x308f41>>>0x3]|=parseInt(_0x5e7093['substr'](_0x308f41,0x2),0x10)<<0x18-_0x308f41%0x8*0x4;return new _0x48385b[(_0x4bc118(0x42c))](_0x37b24d,_0x53dd81/0x2);}},_0x403319=_0x5d3bfe['Latin1']={'stringify':function(_0x310ac1){var _0x12ecfa=_0x57ed86;for(var _0x39b59a=_0x310ac1[_0x12ecfa(0x2fb)],_0x316edc=_0x310ac1['sigBytes'],_0x303469=[],_0x10d3c1=0x0;_0x10d3c1<_0x316edc;_0x10d3c1++){var _0x52e673=_0x39b59a[_0x10d3c1>>>0x2]>>>0x18-_0x10d3c1%0x4*0x8&0xff;_0x303469[_0x12ecfa(0x3eb)](String[_0x12ecfa(0x308)](_0x52e673));}return _0x303469[_0x12ecfa(0x430)]('');},'parse':function(_0x4303b2){var _0x5d2efb=_0x57ed86;for(var _0x447c93=_0x4303b2[_0x5d2efb(0x2a7)],_0x340714=[],_0x5d4203=0x0;_0x5d4203<_0x447c93;_0x5d4203++)_0x340714[_0x5d4203>>>0x2]|=(_0x4303b2[_0x5d2efb(0x415)](_0x5d4203)&0xff)<<0x18-_0x5d4203%0x4*0x8;return new _0x48385b[(_0x5d2efb(0x42c))](_0x340714,_0x447c93);}},_0x27c578=_0x5d3bfe['Utf8']={'stringify':function(_0x5f4dac){var _0x5a24fa=_0x57ed86;try{return decodeURIComponent(escape(_0x403319['stringify'](_0x5f4dac)));}catch{throw new Error(_0x5a24fa(0x1f6));}},'parse':function(_0x172c91){var _0x1fcc3f=_0x57ed86;return _0x403319[_0x1fcc3f(0x2a0)](unescape(encodeURIComponent(_0x172c91)));}},_0x2e64a0=_0x52c9e6['BufferedBlockAlgorithm']=_0x363b49[_0x57ed86(0x1bd)]({'reset':function(){var _0x5b8309=_0x57ed86;this[_0x5b8309(0x2e2)]=new _0x48385b[(_0x5b8309(0x42c))](),this[_0x5b8309(0x331)]=0x0;},'_append':function(_0x109448){var _0x258f3c=_0x57ed86;typeof _0x109448=='string'&&(_0x109448=_0x27c578[_0x258f3c(0x2a0)](_0x109448)),this[_0x258f3c(0x2e2)][_0x258f3c(0x24e)](_0x109448),this[_0x258f3c(0x331)]+=_0x109448[_0x258f3c(0x147)];},'_process':function(_0x1bcbfe){var _0x1750e5=_0x57ed86,_0x13145b,_0x1fca06=this[_0x1750e5(0x2e2)],_0x20e942=_0x1fca06['words'],_0x26e8a2=_0x1fca06['sigBytes'],_0x178384=this[_0x1750e5(0x169)],_0x3dbdf5=_0x178384*0x4,_0x3a0b0b=_0x26e8a2/_0x3dbdf5;_0x1bcbfe?_0x3a0b0b=_0x308917[_0x1750e5(0x253)](_0x3a0b0b):_0x3a0b0b=_0x308917[_0x1750e5(0x18c)]((_0x3a0b0b|0x0)-this[_0x1750e5(0x219)],0x0);var _0x4367b7=_0x3a0b0b*_0x178384,_0x30adf5=_0x308917['min'](_0x4367b7*0x4,_0x26e8a2);if(_0x4367b7){for(var _0x5b0b13=0x0;_0x5b0b13<_0x4367b7;_0x5b0b13+=_0x178384)this[_0x1750e5(0x1d2)](_0x20e942,_0x5b0b13);_0x13145b=_0x20e942[_0x1750e5(0x330)](0x0,_0x4367b7),_0x1fca06['sigBytes']-=_0x30adf5;}return new _0x48385b[(_0x1750e5(0x42c))](_0x13145b,_0x30adf5);},'clone':function(){var _0x1d8884=_0x57ed86,_0x5e209a=_0x363b49[_0x1d8884(0x1f9)][_0x1d8884(0x3aa)](this);return _0x5e209a[_0x1d8884(0x2e2)]=this[_0x1d8884(0x2e2)][_0x1d8884(0x1f9)](),_0x5e209a;},'_minBufferSize':0x0});_0x52c9e6[_0x57ed86(0x3b7)]=_0x2e64a0[_0x57ed86(0x1bd)]({'cfg':_0x363b49[_0x57ed86(0x1bd)](),'init':function(_0x4cb1ad){var _0x210b76=_0x57ed86;this[_0x210b76(0x201)]=this[_0x210b76(0x201)][_0x210b76(0x1bd)](_0x4cb1ad),this[_0x210b76(0x2af)]();},'reset':function(){var _0x1b34e0=_0x57ed86;_0x2e64a0[_0x1b34e0(0x2af)]['call'](this),this['_doReset']();},'update':function(_0x106e8b){var _0x1bda17=_0x57ed86;return this[_0x1bda17(0x2c9)](_0x106e8b),this[_0x1bda17(0x173)](),this;},'finalize':function(_0x587668){var _0x4a188e=_0x57ed86;_0x587668&&this[_0x4a188e(0x2c9)](_0x587668);var _0x4017dd=this['_doFinalize']();return _0x4017dd;},'blockSize':0x10,'_createHelper':function(_0x111513){return function(_0x4cf572,_0x34791a){var _0x51eb0c=_0x449a;return new _0x111513[(_0x51eb0c(0x42c))](_0x34791a)[_0x51eb0c(0x1d0)](_0x4cf572);};},'_createHmacHelper':function(_0x25ce04){return function(_0x13c34f,_0x7f44fd){var _0x58ee95=_0x449a;return new _0x47ba40[(_0x58ee95(0x34a))][(_0x58ee95(0x42c))](_0x25ce04,_0x7f44fd)[_0x58ee95(0x1d0)](_0x13c34f);};}});var _0x47ba40=_0x4c4ecf[_0x57ed86(0x14b)]={};return _0x4c4ecf;}(Math);return _0x25e106;}));}(Ge)),Ge[_0xf18459(0x1ba)];}var Ye={'exports':{}},fn=Ye[_0x2628af(0x1ba)],zt;function Oi(){var _0x50f29b=_0x2628af;return zt||(zt=0x1,function(_0x3de280,_0x3d5a09){(function(_0x5f1a82,_0x3cf0c8){var _0x446653=_0x449a;_0x3de280[_0x446653(0x1ba)]=_0x3cf0c8(te());}(fn,function(_0xd832dc){var _0xab3bb9=_0x449a;return(function(){var _0x2dafed=_0x449a,_0x11133d=_0xd832dc,_0x50dc61=_0x11133d[_0x2dafed(0x161)],_0x53ac28=_0x50dc61[_0x2dafed(0x301)],_0x11f28a=_0x11133d[_0x2dafed(0x230)];_0x11f28a[_0x2dafed(0x15d)]={'stringify':function(_0x540a1d){var _0x4dce6f=_0x2dafed,_0x302e90=_0x540a1d[_0x4dce6f(0x2fb)],_0x5c205e=_0x540a1d[_0x4dce6f(0x147)],_0x221432=this['_map'];_0x540a1d['clamp']();for(var _0x25c863=[],_0xbdb750=0x0;_0xbdb750<_0x5c205e;_0xbdb750+=0x3)for(var _0x4f2050=_0x302e90[_0xbdb750>>>0x2]>>>0x18-_0xbdb750%0x4*0x8&0xff,_0x31a26b=_0x302e90[_0xbdb750+0x1>>>0x2]>>>0x18-(_0xbdb750+0x1)%0x4*0x8&0xff,_0x58c472=_0x302e90[_0xbdb750+0x2>>>0x2]>>>0x18-(_0xbdb750+0x2)%0x4*0x8&0xff,_0x2b1642=_0x4f2050<<0x10|_0x31a26b<<0x8|_0x58c472,_0x7f6979=0x0;_0x7f6979<0x4&&_0xbdb750+_0x7f6979*0.75<_0x5c205e;_0x7f6979++)_0x25c863[_0x4dce6f(0x3eb)](_0x221432[_0x4dce6f(0x1df)](_0x2b1642>>>0x6*(0x3-_0x7f6979)&0x3f));var _0x6cf484=_0x221432[_0x4dce6f(0x1df)](0x40);if(_0x6cf484){for(;_0x25c863[_0x4dce6f(0x2a7)]%0x4;)_0x25c863['push'](_0x6cf484);}return _0x25c863[_0x4dce6f(0x430)]('');},'parse':function(_0x195b83){var _0x14df7d=_0x2dafed,_0x4fefec=_0x195b83[_0x14df7d(0x2a7)],_0x141089=this[_0x14df7d(0x167)],_0x109e01=this[_0x14df7d(0x2ac)];if(!_0x109e01){_0x109e01=this[_0x14df7d(0x2ac)]=[];for(var _0x1f68fe=0x0;_0x1f68fe<_0x141089['length'];_0x1f68fe++)_0x109e01[_0x141089[_0x14df7d(0x415)](_0x1f68fe)]=_0x1f68fe;}var _0x34c80b=_0x141089[_0x14df7d(0x1df)](0x40);if(_0x34c80b){var _0x1485a0=_0x195b83[_0x14df7d(0x31d)](_0x34c80b);_0x1485a0!==-0x1&&(_0x4fefec=_0x1485a0);}return _0x1cfdf0(_0x195b83,_0x4fefec,_0x109e01);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x1cfdf0(_0x53160a,_0x52dfb1,_0x488f79){var _0x5c47c7=_0x2dafed;for(var _0x486d65=[],_0x33c85f=0x0,_0x3cfa83=0x0;_0x3cfa83<_0x52dfb1;_0x3cfa83++)if(_0x3cfa83%0x4){var _0x1074d9=_0x488f79[_0x53160a['charCodeAt'](_0x3cfa83-0x1)]<<_0x3cfa83%0x4*0x2,_0xe4f1a0=_0x488f79[_0x53160a[_0x5c47c7(0x415)](_0x3cfa83)]>>>0x6-_0x3cfa83%0x4*0x2,_0x3a6ab4=_0x1074d9|_0xe4f1a0;_0x486d65[_0x33c85f>>>0x2]|=_0x3a6ab4<<0x18-_0x33c85f%0x4*0x8,_0x33c85f++;}return _0x53ac28[_0x5c47c7(0x199)](_0x486d65,_0x33c85f);}}()),_0xd832dc[_0xab3bb9(0x230)][_0xab3bb9(0x15d)];}));}(Ye)),Ye[_0x50f29b(0x1ba)];}var We={'exports':{}},vn=We['exports'],Jt;function pn(){var _0x3fe131=_0x2628af;return Jt||(Jt=0x1,function(_0x396c0a,_0x19f9d4){(function(_0x1393b2,_0x151c1c){var _0xcae269=_0x449a;_0x396c0a[_0xcae269(0x1ba)]=_0x151c1c(te());}(vn,function(_0x3cd1a6){var _0x526bf2=_0x449a;return function(_0x58773e){var _0x273c2b=_0x449a,_0x454a4b=_0x3cd1a6,_0x12b65a=_0x454a4b['lib'],_0x4e6e49=_0x12b65a[_0x273c2b(0x301)],_0x51d016=_0x12b65a[_0x273c2b(0x3b7)],_0x57bfa3=_0x454a4b[_0x273c2b(0x14b)],_0x1eb870=[];(function(){var _0x268b62=_0x273c2b;for(var _0x1b2a0b=0x0;_0x1b2a0b<0x40;_0x1b2a0b++)_0x1eb870[_0x1b2a0b]=_0x58773e[_0x268b62(0x35c)](_0x58773e['sin'](_0x1b2a0b+0x1))*0x100000000|0x0;}());var _0x582c74=_0x57bfa3['MD5']=_0x51d016[_0x273c2b(0x1bd)]({'_doReset':function(){var _0x18d8cc=_0x273c2b;this[_0x18d8cc(0x241)]=new _0x4e6e49[(_0x18d8cc(0x42c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x54da16,_0x596ba1){var _0x317af9=_0x273c2b;for(var _0x1b908d=0x0;_0x1b908d<0x10;_0x1b908d++){var _0x40bc57=_0x596ba1+_0x1b908d,_0xb9c220=_0x54da16[_0x40bc57];_0x54da16[_0x40bc57]=(_0xb9c220<<0x8|_0xb9c220>>>0x18)&0xff00ff|(_0xb9c220<<0x18|_0xb9c220>>>0x8)&0xff00ff00;}var _0x477c12=this[_0x317af9(0x241)][_0x317af9(0x2fb)],_0x4d0e57=_0x54da16[_0x596ba1+0x0],_0x139684=_0x54da16[_0x596ba1+0x1],_0xcfffce=_0x54da16[_0x596ba1+0x2],_0x49b63a=_0x54da16[_0x596ba1+0x3],_0x41750e=_0x54da16[_0x596ba1+0x4],_0x399585=_0x54da16[_0x596ba1+0x5],_0x29e247=_0x54da16[_0x596ba1+0x6],_0x5dd5bf=_0x54da16[_0x596ba1+0x7],_0x1e351f=_0x54da16[_0x596ba1+0x8],_0x299afb=_0x54da16[_0x596ba1+0x9],_0x42d3d0=_0x54da16[_0x596ba1+0xa],_0x1ba172=_0x54da16[_0x596ba1+0xb],_0x4fbf7f=_0x54da16[_0x596ba1+0xc],_0x143c07=_0x54da16[_0x596ba1+0xd],_0x20d9fd=_0x54da16[_0x596ba1+0xe],_0x230d60=_0x54da16[_0x596ba1+0xf],_0x137d70=_0x477c12[0x0],_0x293162=_0x477c12[0x1],_0x5609c3=_0x477c12[0x2],_0x3bba72=_0x477c12[0x3];_0x137d70=_0xfaedbf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x4d0e57,0x7,_0x1eb870[0x0]),_0x3bba72=_0xfaedbf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x139684,0xc,_0x1eb870[0x1]),_0x5609c3=_0xfaedbf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0xcfffce,0x11,_0x1eb870[0x2]),_0x293162=_0xfaedbf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x49b63a,0x16,_0x1eb870[0x3]),_0x137d70=_0xfaedbf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x41750e,0x7,_0x1eb870[0x4]),_0x3bba72=_0xfaedbf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x399585,0xc,_0x1eb870[0x5]),_0x5609c3=_0xfaedbf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x29e247,0x11,_0x1eb870[0x6]),_0x293162=_0xfaedbf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x5dd5bf,0x16,_0x1eb870[0x7]),_0x137d70=_0xfaedbf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x1e351f,0x7,_0x1eb870[0x8]),_0x3bba72=_0xfaedbf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x299afb,0xc,_0x1eb870[0x9]),_0x5609c3=_0xfaedbf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x42d3d0,0x11,_0x1eb870[0xa]),_0x293162=_0xfaedbf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x1ba172,0x16,_0x1eb870[0xb]),_0x137d70=_0xfaedbf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x4fbf7f,0x7,_0x1eb870[0xc]),_0x3bba72=_0xfaedbf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x143c07,0xc,_0x1eb870[0xd]),_0x5609c3=_0xfaedbf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x20d9fd,0x11,_0x1eb870[0xe]),_0x293162=_0xfaedbf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x230d60,0x16,_0x1eb870[0xf]),_0x137d70=_0x2d339e(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x139684,0x5,_0x1eb870[0x10]),_0x3bba72=_0x2d339e(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x29e247,0x9,_0x1eb870[0x11]),_0x5609c3=_0x2d339e(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x1ba172,0xe,_0x1eb870[0x12]),_0x293162=_0x2d339e(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x4d0e57,0x14,_0x1eb870[0x13]),_0x137d70=_0x2d339e(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x399585,0x5,_0x1eb870[0x14]),_0x3bba72=_0x2d339e(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x42d3d0,0x9,_0x1eb870[0x15]),_0x5609c3=_0x2d339e(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x230d60,0xe,_0x1eb870[0x16]),_0x293162=_0x2d339e(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x41750e,0x14,_0x1eb870[0x17]),_0x137d70=_0x2d339e(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x299afb,0x5,_0x1eb870[0x18]),_0x3bba72=_0x2d339e(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x20d9fd,0x9,_0x1eb870[0x19]),_0x5609c3=_0x2d339e(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x49b63a,0xe,_0x1eb870[0x1a]),_0x293162=_0x2d339e(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x1e351f,0x14,_0x1eb870[0x1b]),_0x137d70=_0x2d339e(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x143c07,0x5,_0x1eb870[0x1c]),_0x3bba72=_0x2d339e(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0xcfffce,0x9,_0x1eb870[0x1d]),_0x5609c3=_0x2d339e(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x5dd5bf,0xe,_0x1eb870[0x1e]),_0x293162=_0x2d339e(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x4fbf7f,0x14,_0x1eb870[0x1f]),_0x137d70=_0x2e61cf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x399585,0x4,_0x1eb870[0x20]),_0x3bba72=_0x2e61cf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x1e351f,0xb,_0x1eb870[0x21]),_0x5609c3=_0x2e61cf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x1ba172,0x10,_0x1eb870[0x22]),_0x293162=_0x2e61cf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x20d9fd,0x17,_0x1eb870[0x23]),_0x137d70=_0x2e61cf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x139684,0x4,_0x1eb870[0x24]),_0x3bba72=_0x2e61cf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x41750e,0xb,_0x1eb870[0x25]),_0x5609c3=_0x2e61cf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x5dd5bf,0x10,_0x1eb870[0x26]),_0x293162=_0x2e61cf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x42d3d0,0x17,_0x1eb870[0x27]),_0x137d70=_0x2e61cf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x143c07,0x4,_0x1eb870[0x28]),_0x3bba72=_0x2e61cf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x4d0e57,0xb,_0x1eb870[0x29]),_0x5609c3=_0x2e61cf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x49b63a,0x10,_0x1eb870[0x2a]),_0x293162=_0x2e61cf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x29e247,0x17,_0x1eb870[0x2b]),_0x137d70=_0x2e61cf(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x299afb,0x4,_0x1eb870[0x2c]),_0x3bba72=_0x2e61cf(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x4fbf7f,0xb,_0x1eb870[0x2d]),_0x5609c3=_0x2e61cf(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x230d60,0x10,_0x1eb870[0x2e]),_0x293162=_0x2e61cf(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0xcfffce,0x17,_0x1eb870[0x2f]),_0x137d70=_0x5615e9(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x4d0e57,0x6,_0x1eb870[0x30]),_0x3bba72=_0x5615e9(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x5dd5bf,0xa,_0x1eb870[0x31]),_0x5609c3=_0x5615e9(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x20d9fd,0xf,_0x1eb870[0x32]),_0x293162=_0x5615e9(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x399585,0x15,_0x1eb870[0x33]),_0x137d70=_0x5615e9(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x4fbf7f,0x6,_0x1eb870[0x34]),_0x3bba72=_0x5615e9(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x49b63a,0xa,_0x1eb870[0x35]),_0x5609c3=_0x5615e9(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x42d3d0,0xf,_0x1eb870[0x36]),_0x293162=_0x5615e9(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x139684,0x15,_0x1eb870[0x37]),_0x137d70=_0x5615e9(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x1e351f,0x6,_0x1eb870[0x38]),_0x3bba72=_0x5615e9(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x230d60,0xa,_0x1eb870[0x39]),_0x5609c3=_0x5615e9(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0x29e247,0xf,_0x1eb870[0x3a]),_0x293162=_0x5615e9(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x143c07,0x15,_0x1eb870[0x3b]),_0x137d70=_0x5615e9(_0x137d70,_0x293162,_0x5609c3,_0x3bba72,_0x41750e,0x6,_0x1eb870[0x3c]),_0x3bba72=_0x5615e9(_0x3bba72,_0x137d70,_0x293162,_0x5609c3,_0x1ba172,0xa,_0x1eb870[0x3d]),_0x5609c3=_0x5615e9(_0x5609c3,_0x3bba72,_0x137d70,_0x293162,_0xcfffce,0xf,_0x1eb870[0x3e]),_0x293162=_0x5615e9(_0x293162,_0x5609c3,_0x3bba72,_0x137d70,_0x299afb,0x15,_0x1eb870[0x3f]),_0x477c12[0x0]=_0x477c12[0x0]+_0x137d70|0x0,_0x477c12[0x1]=_0x477c12[0x1]+_0x293162|0x0,_0x477c12[0x2]=_0x477c12[0x2]+_0x5609c3|0x0,_0x477c12[0x3]=_0x477c12[0x3]+_0x3bba72|0x0;},'_doFinalize':function(){var _0x2f10b5=_0x273c2b,_0x255db0=this[_0x2f10b5(0x2e2)],_0x266f2d=_0x255db0[_0x2f10b5(0x2fb)],_0x54906c=this[_0x2f10b5(0x331)]*0x8,_0x33a365=_0x255db0[_0x2f10b5(0x147)]*0x8;_0x266f2d[_0x33a365>>>0x5]|=0x80<<0x18-_0x33a365%0x20;var _0x2e3c42=_0x58773e[_0x2f10b5(0x1cd)](_0x54906c/0x100000000),_0x53f4f1=_0x54906c;_0x266f2d[(_0x33a365+0x40>>>0x9<<0x4)+0xf]=(_0x2e3c42<<0x8|_0x2e3c42>>>0x18)&0xff00ff|(_0x2e3c42<<0x18|_0x2e3c42>>>0x8)&0xff00ff00,_0x266f2d[(_0x33a365+0x40>>>0x9<<0x4)+0xe]=(_0x53f4f1<<0x8|_0x53f4f1>>>0x18)&0xff00ff|(_0x53f4f1<<0x18|_0x53f4f1>>>0x8)&0xff00ff00,_0x255db0[_0x2f10b5(0x147)]=(_0x266f2d[_0x2f10b5(0x2a7)]+0x1)*0x4,this[_0x2f10b5(0x173)]();for(var _0x464606=this[_0x2f10b5(0x241)],_0x3958a6=_0x464606[_0x2f10b5(0x2fb)],_0x1894b8=0x0;_0x1894b8<0x4;_0x1894b8++){var _0x28aea5=_0x3958a6[_0x1894b8];_0x3958a6[_0x1894b8]=(_0x28aea5<<0x8|_0x28aea5>>>0x18)&0xff00ff|(_0x28aea5<<0x18|_0x28aea5>>>0x8)&0xff00ff00;}return _0x464606;},'clone':function(){var _0x31bbab=_0x273c2b,_0x4ddf00=_0x51d016[_0x31bbab(0x1f9)][_0x31bbab(0x3aa)](this);return _0x4ddf00[_0x31bbab(0x241)]=this[_0x31bbab(0x241)][_0x31bbab(0x1f9)](),_0x4ddf00;}});function _0xfaedbf(_0xa64f50,_0x92cc8e,_0x3a518a,_0x4c0816,_0x3b447f,_0x3b6322,_0x2bdc37){var _0x3dd6ba=_0xa64f50+(_0x92cc8e&_0x3a518a|~_0x92cc8e&_0x4c0816)+_0x3b447f+_0x2bdc37;return(_0x3dd6ba<<_0x3b6322|_0x3dd6ba>>>0x20-_0x3b6322)+_0x92cc8e;}function _0x2d339e(_0x278262,_0x4983c0,_0x52d142,_0x5fc5ca,_0x44abdb,_0x5a795d,_0x6590a){var _0x27ee17=_0x278262+(_0x4983c0&_0x5fc5ca|_0x52d142&~_0x5fc5ca)+_0x44abdb+_0x6590a;return(_0x27ee17<<_0x5a795d|_0x27ee17>>>0x20-_0x5a795d)+_0x4983c0;}function _0x2e61cf(_0x5af3b1,_0x3fdf7b,_0x2b803c,_0x117070,_0x2873ac,_0x3d7e25,_0x5712e1){var _0x1a0349=_0x5af3b1+(_0x3fdf7b^_0x2b803c^_0x117070)+_0x2873ac+_0x5712e1;return(_0x1a0349<<_0x3d7e25|_0x1a0349>>>0x20-_0x3d7e25)+_0x3fdf7b;}function _0x5615e9(_0x351824,_0x11035a,_0x1cefdb,_0xae1982,_0x57bf27,_0x1f4de1,_0x4614bd){var _0x56d5c5=_0x351824+(_0x1cefdb^(_0x11035a|~_0xae1982))+_0x57bf27+_0x4614bd;return(_0x56d5c5<<_0x1f4de1|_0x56d5c5>>>0x20-_0x1f4de1)+_0x11035a;}_0x454a4b[_0x273c2b(0x3b3)]=_0x51d016['_createHelper'](_0x582c74),_0x454a4b[_0x273c2b(0x3e9)]=_0x51d016[_0x273c2b(0x166)](_0x582c74);}(Math),_0x3cd1a6[_0x526bf2(0x3b3)];}));}(We)),We[_0x3fe131(0x1ba)];}var Ke={'exports':{}},qe={'exports':{}},mn=qe[_0x2628af(0x1ba)],Xt;function gn(){var _0x1caa12=_0x2628af;return Xt||(Xt=0x1,function(_0x524280,_0x435bc5){(function(_0x4fe250,_0x1e5e21){var _0x53bd5e=_0x449a;_0x524280[_0x53bd5e(0x1ba)]=_0x1e5e21(te());}(mn,function(_0x3fe67c){return(function(){var _0x41c5a7=_0x449a,_0x1d637b=_0x3fe67c,_0x22b198=_0x1d637b['lib'],_0x3dc0eb=_0x22b198[_0x41c5a7(0x301)],_0x40f58b=_0x22b198[_0x41c5a7(0x3b7)],_0x58a7cd=_0x1d637b[_0x41c5a7(0x14b)],_0x18f998=[],_0x4df76c=_0x58a7cd[_0x41c5a7(0x442)]=_0x40f58b[_0x41c5a7(0x1bd)]({'_doReset':function(){var _0x462bbf=_0x41c5a7;this[_0x462bbf(0x241)]=new _0x3dc0eb[(_0x462bbf(0x42c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xe48ea8,_0x55bb57){for(var _0x19513f=this['_hash']['words'],_0x571ef=_0x19513f[0x0],_0xd47f6=_0x19513f[0x1],_0x123d48=_0x19513f[0x2],_0x22d16f=_0x19513f[0x3],_0x99c141=_0x19513f[0x4],_0x3ed1f1=0x0;_0x3ed1f1<0x50;_0x3ed1f1++){if(_0x3ed1f1<0x10)_0x18f998[_0x3ed1f1]=_0xe48ea8[_0x55bb57+_0x3ed1f1]|0x0;else{var _0x44e391=_0x18f998[_0x3ed1f1-0x3]^_0x18f998[_0x3ed1f1-0x8]^_0x18f998[_0x3ed1f1-0xe]^_0x18f998[_0x3ed1f1-0x10];_0x18f998[_0x3ed1f1]=_0x44e391<<0x1|_0x44e391>>>0x1f;}var _0x316309=(_0x571ef<<0x5|_0x571ef>>>0x1b)+_0x99c141+_0x18f998[_0x3ed1f1];_0x3ed1f1<0x14?_0x316309+=(_0xd47f6&_0x123d48|~_0xd47f6&_0x22d16f)+0x5a827999:_0x3ed1f1<0x28?_0x316309+=(_0xd47f6^_0x123d48^_0x22d16f)+0x6ed9eba1:_0x3ed1f1<0x3c?_0x316309+=(_0xd47f6&_0x123d48|_0xd47f6&_0x22d16f|_0x123d48&_0x22d16f)-0x70e44324:_0x316309+=(_0xd47f6^_0x123d48^_0x22d16f)-0x359d3e2a,_0x99c141=_0x22d16f,_0x22d16f=_0x123d48,_0x123d48=_0xd47f6<<0x1e|_0xd47f6>>>0x2,_0xd47f6=_0x571ef,_0x571ef=_0x316309;}_0x19513f[0x0]=_0x19513f[0x0]+_0x571ef|0x0,_0x19513f[0x1]=_0x19513f[0x1]+_0xd47f6|0x0,_0x19513f[0x2]=_0x19513f[0x2]+_0x123d48|0x0,_0x19513f[0x3]=_0x19513f[0x3]+_0x22d16f|0x0,_0x19513f[0x4]=_0x19513f[0x4]+_0x99c141|0x0;},'_doFinalize':function(){var _0x31e5c2=_0x41c5a7,_0xde66f0=this[_0x31e5c2(0x2e2)],_0x22610f=_0xde66f0[_0x31e5c2(0x2fb)],_0x4b4e86=this[_0x31e5c2(0x331)]*0x8,_0x451e16=_0xde66f0[_0x31e5c2(0x147)]*0x8;return _0x22610f[_0x451e16>>>0x5]|=0x80<<0x18-_0x451e16%0x20,_0x22610f[(_0x451e16+0x40>>>0x9<<0x4)+0xe]=Math[_0x31e5c2(0x1cd)](_0x4b4e86/0x100000000),_0x22610f[(_0x451e16+0x40>>>0x9<<0x4)+0xf]=_0x4b4e86,_0xde66f0[_0x31e5c2(0x147)]=_0x22610f[_0x31e5c2(0x2a7)]*0x4,this[_0x31e5c2(0x173)](),this[_0x31e5c2(0x241)];},'clone':function(){var _0x44c873=_0x41c5a7,_0x3d3352=_0x40f58b['clone'][_0x44c873(0x3aa)](this);return _0x3d3352[_0x44c873(0x241)]=this[_0x44c873(0x241)][_0x44c873(0x1f9)](),_0x3d3352;}});_0x1d637b[_0x41c5a7(0x442)]=_0x40f58b['_createHelper'](_0x4df76c),_0x1d637b['HmacSHA1']=_0x40f58b[_0x41c5a7(0x166)](_0x4df76c);}()),_0x3fe67c['SHA1'];}));}(qe)),qe[_0x1caa12(0x1ba)];}var ze={'exports':{}},Sn=ze[_0x2628af(0x1ba)],Zt;function En(){var _0x20e993=_0x2628af;return Zt||(Zt=0x1,function(_0x40872b,_0x25d668){(function(_0x4a4761,_0x2f4ad2){_0x40872b['exports']=_0x2f4ad2(te());}(Sn,function(_0x1c567c){(function(){var _0x128989=_0x449a,_0x1f5454=_0x1c567c,_0x13c056=_0x1f5454['lib'],_0x1bfce8=_0x13c056[_0x128989(0x14d)],_0x25ef35=_0x1f5454[_0x128989(0x230)],_0x47c98d=_0x25ef35[_0x128989(0x39b)],_0x16a670=_0x1f5454['algo'];_0x16a670[_0x128989(0x34a)]=_0x1bfce8[_0x128989(0x1bd)]({'init':function(_0x5cca28,_0x308283){var _0x3d7f7a=_0x128989;_0x5cca28=this[_0x3d7f7a(0x2db)]=new _0x5cca28[(_0x3d7f7a(0x42c))](),typeof _0x308283==_0x3d7f7a(0x212)&&(_0x308283=_0x47c98d[_0x3d7f7a(0x2a0)](_0x308283));var _0x2878f8=_0x5cca28['blockSize'],_0x49eb6e=_0x2878f8*0x4;_0x308283[_0x3d7f7a(0x147)]>_0x49eb6e&&(_0x308283=_0x5cca28[_0x3d7f7a(0x1d0)](_0x308283)),_0x308283[_0x3d7f7a(0x25d)]();for(var _0x535c12=this[_0x3d7f7a(0x1c5)]=_0x308283['clone'](),_0x351bb5=this[_0x3d7f7a(0x1af)]=_0x308283['clone'](),_0x1b006e=_0x535c12[_0x3d7f7a(0x2fb)],_0x3ae2e3=_0x351bb5[_0x3d7f7a(0x2fb)],_0x51947a=0x0;_0x51947a<_0x2878f8;_0x51947a++)_0x1b006e[_0x51947a]^=0x5c5c5c5c,_0x3ae2e3[_0x51947a]^=0x36363636;_0x535c12[_0x3d7f7a(0x147)]=_0x351bb5[_0x3d7f7a(0x147)]=_0x49eb6e,this[_0x3d7f7a(0x2af)]();},'reset':function(){var _0x353e86=_0x128989,_0x5c0803=this[_0x353e86(0x2db)];_0x5c0803[_0x353e86(0x2af)](),_0x5c0803[_0x353e86(0x294)](this[_0x353e86(0x1af)]);},'update':function(_0x104c90){var _0x4e9f1a=_0x128989;return this['_hasher'][_0x4e9f1a(0x294)](_0x104c90),this;},'finalize':function(_0xd2d656){var _0x103dea=_0x128989,_0x304310=this[_0x103dea(0x2db)],_0x3cebc1=_0x304310[_0x103dea(0x1d0)](_0xd2d656);_0x304310[_0x103dea(0x2af)]();var _0x2d775d=_0x304310[_0x103dea(0x1d0)](this[_0x103dea(0x1c5)][_0x103dea(0x1f9)]()[_0x103dea(0x24e)](_0x3cebc1));return _0x2d775d;}});}());}));}(ze)),ze[_0x20e993(0x1ba)];}var In=Ke[_0x2628af(0x1ba)],Qt;function bi(){var _0x1f5251=_0x2628af;return Qt||(Qt=0x1,function(_0x5b716c,_0x3c6a72){(function(_0xff36e9,_0x2caa95,_0x1d312d){var _0x4866f4=_0x449a;_0x5b716c[_0x4866f4(0x1ba)]=_0x2caa95(te(),gn(),En());}(In,function(_0x23d4ea){var _0x525f88=_0x449a;return(function(){var _0x102b22=_0x449a,_0x42e779=_0x23d4ea,_0x48e714=_0x42e779[_0x102b22(0x161)],_0x44afc0=_0x48e714[_0x102b22(0x14d)],_0x192f68=_0x48e714['WordArray'],_0x15cb94=_0x42e779[_0x102b22(0x14b)],_0x30ce2c=_0x15cb94[_0x102b22(0x3b3)],_0xe3524f=_0x15cb94[_0x102b22(0x295)]=_0x44afc0[_0x102b22(0x1bd)]({'cfg':_0x44afc0[_0x102b22(0x1bd)]({'keySize':0x80/0x20,'hasher':_0x30ce2c,'iterations':0x1}),'init':function(_0x5c6c9b){var _0x4ce62f=_0x102b22;this['cfg']=this[_0x4ce62f(0x201)][_0x4ce62f(0x1bd)](_0x5c6c9b);},'compute':function(_0x2243e9,_0x19557e){var _0x541b6a=_0x102b22;for(var _0xcab575,_0x4c6203=this[_0x541b6a(0x201)],_0x29164b=_0x4c6203[_0x541b6a(0x1a1)][_0x541b6a(0x199)](),_0x538f33=_0x192f68['create'](),_0x1776e1=_0x538f33[_0x541b6a(0x2fb)],_0x10c2d1=_0x4c6203[_0x541b6a(0x1f5)],_0x343336=_0x4c6203[_0x541b6a(0x29e)];_0x1776e1[_0x541b6a(0x2a7)]<_0x10c2d1;){_0xcab575&&_0x29164b['update'](_0xcab575),_0xcab575=_0x29164b[_0x541b6a(0x294)](_0x2243e9)[_0x541b6a(0x1d0)](_0x19557e),_0x29164b[_0x541b6a(0x2af)]();for(var _0x3b7da3=0x1;_0x3b7da3<_0x343336;_0x3b7da3++)_0xcab575=_0x29164b['finalize'](_0xcab575),_0x29164b[_0x541b6a(0x2af)]();_0x538f33[_0x541b6a(0x24e)](_0xcab575);}return _0x538f33['sigBytes']=_0x10c2d1*0x4,_0x538f33;}});_0x42e779['EvpKDF']=function(_0x1aaa7e,_0x3e1e40,_0x5baa65){return _0xe3524f['create'](_0x5baa65)['compute'](_0x1aaa7e,_0x3e1e40);};}()),_0x23d4ea[_0x525f88(0x295)];}));}(Ke)),Ke[_0x1f5251(0x1ba)];}var Je={'exports':{}},Tn=Je[_0x2628af(0x1ba)],ei;function yi(){var _0x2948a8=_0x2628af;return ei||(ei=0x1,function(_0xd35142,_0x4be83b){(function(_0x119a4e,_0x23bbc2,_0x39770a){var _0x3d2a43=_0x449a;_0xd35142[_0x3d2a43(0x1ba)]=_0x23bbc2(te(),bi());}(Tn,function(_0x4ee315){var _0x14f32a=_0x449a;_0x4ee315['lib'][_0x14f32a(0x233)]||function(_0x36a298){var _0x574290=_0x14f32a,_0x55511e=_0x4ee315,_0x2c5bfc=_0x55511e[_0x574290(0x161)],_0x57f6f=_0x2c5bfc['Base'],_0x357b13=_0x2c5bfc[_0x574290(0x301)],_0x5a8d13=_0x2c5bfc['BufferedBlockAlgorithm'],_0x18d8cd=_0x55511e['enc'];_0x18d8cd[_0x574290(0x39b)];var _0x5f57a9=_0x18d8cd[_0x574290(0x15d)],_0x395949=_0x55511e[_0x574290(0x14b)],_0x2e3f0d=_0x395949[_0x574290(0x295)],_0x568126=_0x2c5bfc[_0x574290(0x233)]=_0x5a8d13[_0x574290(0x1bd)]({'cfg':_0x57f6f['extend'](),'createEncryptor':function(_0x359129,_0x5d9e81){var _0x38702f=_0x574290;return this[_0x38702f(0x199)](this['_ENC_XFORM_MODE'],_0x359129,_0x5d9e81);},'createDecryptor':function(_0x236e5b,_0x1f4e92){var _0x28c0b4=_0x574290;return this[_0x28c0b4(0x199)](this[_0x28c0b4(0x21c)],_0x236e5b,_0x1f4e92);},'init':function(_0x1e2a73,_0x48a011,_0x12ecee){var _0x332e5c=_0x574290;this[_0x332e5c(0x201)]=this[_0x332e5c(0x201)][_0x332e5c(0x1bd)](_0x12ecee),this[_0x332e5c(0x354)]=_0x1e2a73,this[_0x332e5c(0x15e)]=_0x48a011,this[_0x332e5c(0x2af)]();},'reset':function(){var _0x143003=_0x574290;_0x5a8d13[_0x143003(0x2af)]['call'](this),this[_0x143003(0x3de)]();},'process':function(_0x13bc64){var _0x3c07b8=_0x574290;return this[_0x3c07b8(0x2c9)](_0x13bc64),this[_0x3c07b8(0x173)]();},'finalize':function(_0xc46710){var _0x5cd396=_0x574290;_0xc46710&&this[_0x5cd396(0x2c9)](_0xc46710);var _0x214212=this[_0x5cd396(0x139)]();return _0x214212;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x377e7a(_0xfc6e24){var _0x45abf5=_0x449a;return typeof _0xfc6e24==_0x45abf5(0x212)?_0x1cc503:_0x18cd0e;}return function(_0x5450de){return{'encrypt':function(_0x4dfc3e,_0x5a86a1,_0x1eebe7){var _0xf22c57=_0x449a;return _0x377e7a(_0x5a86a1)[_0xf22c57(0x13c)](_0x5450de,_0x4dfc3e,_0x5a86a1,_0x1eebe7);},'decrypt':function(_0x13bcee,_0xf6b16c,_0x173c36){var _0x1698ad=_0x449a;return _0x377e7a(_0xf6b16c)[_0x1698ad(0x1b2)](_0x5450de,_0x13bcee,_0xf6b16c,_0x173c36);}};};}())});_0x2c5bfc[_0x574290(0x2f4)]=_0x568126[_0x574290(0x1bd)]({'_doFinalize':function(){var _0x48b9d3=_0x574290,_0x5042d5=this[_0x48b9d3(0x173)](!0x0);return _0x5042d5;},'blockSize':0x1});var _0xf86c90=_0x55511e[_0x574290(0x227)]={},_0x4036c1=_0x2c5bfc[_0x574290(0x417)]=_0x57f6f['extend']({'createEncryptor':function(_0x24b698,_0x58bee1){var _0x34c38f=_0x574290;return this[_0x34c38f(0x374)][_0x34c38f(0x199)](_0x24b698,_0x58bee1);},'createDecryptor':function(_0x315ca1,_0x26ee42){var _0x3c8073=_0x574290;return this[_0x3c8073(0x328)]['create'](_0x315ca1,_0x26ee42);},'init':function(_0x2f3d90,_0x44b149){var _0x4345e4=_0x574290;this[_0x4345e4(0x2aa)]=_0x2f3d90,this[_0x4345e4(0x2cc)]=_0x44b149;}}),_0x2b9154=_0xf86c90[_0x574290(0x1fe)]=(function(){var _0x54e335=_0x574290,_0x1857bb=_0x4036c1[_0x54e335(0x1bd)]();_0x1857bb[_0x54e335(0x374)]=_0x1857bb[_0x54e335(0x1bd)]({'processBlock':function(_0x322f00,_0x3b0dcd){var _0xff41fd=_0x54e335,_0x290001=this['_cipher'],_0x1b550f=_0x290001['blockSize'];_0x3f0e9f['call'](this,_0x322f00,_0x3b0dcd,_0x1b550f),_0x290001[_0xff41fd(0x202)](_0x322f00,_0x3b0dcd),this[_0xff41fd(0x14e)]=_0x322f00[_0xff41fd(0x223)](_0x3b0dcd,_0x3b0dcd+_0x1b550f);}}),_0x1857bb[_0x54e335(0x328)]=_0x1857bb[_0x54e335(0x1bd)]({'processBlock':function(_0x37ba7b,_0x28d0d9){var _0x5b5fee=_0x54e335,_0x4d0d1c=this['_cipher'],_0xa401d=_0x4d0d1c[_0x5b5fee(0x169)],_0x1b8c5c=_0x37ba7b[_0x5b5fee(0x223)](_0x28d0d9,_0x28d0d9+_0xa401d);_0x4d0d1c[_0x5b5fee(0x1e3)](_0x37ba7b,_0x28d0d9),_0x3f0e9f[_0x5b5fee(0x3aa)](this,_0x37ba7b,_0x28d0d9,_0xa401d),this[_0x5b5fee(0x14e)]=_0x1b8c5c;}});function _0x3f0e9f(_0x311cca,_0x3cf0cc,_0x17aa4a){var _0x28294a=_0x54e335,_0x3c11d2,_0x4c6754=this[_0x28294a(0x2cc)];_0x4c6754?(_0x3c11d2=_0x4c6754,this['_iv']=_0x36a298):_0x3c11d2=this[_0x28294a(0x14e)];for(var _0xd77bc4=0x0;_0xd77bc4<_0x17aa4a;_0xd77bc4++)_0x311cca[_0x3cf0cc+_0xd77bc4]^=_0x3c11d2[_0xd77bc4];}return _0x1857bb;}()),_0xb5f1f3=_0x55511e[_0x574290(0x2f6)]={},_0x12de0e=_0xb5f1f3[_0x574290(0x373)]={'pad':function(_0x33ee30,_0x5197aa){var _0x15ca8d=_0x574290;for(var _0x4b4ccb=_0x5197aa*0x4,_0x4ffd4f=_0x4b4ccb-_0x33ee30[_0x15ca8d(0x147)]%_0x4b4ccb,_0x5f35bf=_0x4ffd4f<<0x18|_0x4ffd4f<<0x10|_0x4ffd4f<<0x8|_0x4ffd4f,_0x5183f3=[],_0x52e06f=0x0;_0x52e06f<_0x4ffd4f;_0x52e06f+=0x4)_0x5183f3[_0x15ca8d(0x3eb)](_0x5f35bf);var _0x2f330d=_0x357b13['create'](_0x5183f3,_0x4ffd4f);_0x33ee30[_0x15ca8d(0x24e)](_0x2f330d);},'unpad':function(_0x5d5eda){var _0x1f90c1=_0x574290,_0x3b9f44=_0x5d5eda['words'][_0x5d5eda[_0x1f90c1(0x147)]-0x1>>>0x2]&0xff;_0x5d5eda[_0x1f90c1(0x147)]-=_0x3b9f44;}};_0x2c5bfc['BlockCipher']=_0x568126['extend']({'cfg':_0x568126[_0x574290(0x201)][_0x574290(0x1bd)]({'mode':_0x2b9154,'padding':_0x12de0e}),'reset':function(){var _0x3fc46c=_0x574290,_0x3a0bba;_0x568126[_0x3fc46c(0x2af)][_0x3fc46c(0x3aa)](this);var _0xa9997c=this[_0x3fc46c(0x201)],_0x42224c=_0xa9997c['iv'],_0x5c5154=_0xa9997c[_0x3fc46c(0x227)];this[_0x3fc46c(0x354)]==this[_0x3fc46c(0x26f)]?_0x3a0bba=_0x5c5154[_0x3fc46c(0x1fd)]:(_0x3a0bba=_0x5c5154['createDecryptor'],this[_0x3fc46c(0x219)]=0x1),this['_mode']&&this[_0x3fc46c(0x2d0)][_0x3fc46c(0x2d7)]==_0x3a0bba?this[_0x3fc46c(0x2d0)][_0x3fc46c(0x42c)](this,_0x42224c&&_0x42224c[_0x3fc46c(0x2fb)]):(this[_0x3fc46c(0x2d0)]=_0x3a0bba[_0x3fc46c(0x3aa)](_0x5c5154,this,_0x42224c&&_0x42224c[_0x3fc46c(0x2fb)]),this[_0x3fc46c(0x2d0)]['__creator']=_0x3a0bba);},'_doProcessBlock':function(_0x261ef0,_0x512247){var _0x43c0fa=_0x574290;this[_0x43c0fa(0x2d0)][_0x43c0fa(0x260)](_0x261ef0,_0x512247);},'_doFinalize':function(){var _0x2c8f56=_0x574290,_0x5392ce,_0x30a86d=this[_0x2c8f56(0x201)][_0x2c8f56(0x26d)];return this[_0x2c8f56(0x354)]==this[_0x2c8f56(0x26f)]?(_0x30a86d[_0x2c8f56(0x2f6)](this[_0x2c8f56(0x2e2)],this[_0x2c8f56(0x169)]),_0x5392ce=this[_0x2c8f56(0x173)](!0x0)):(_0x5392ce=this['_process'](!0x0),_0x30a86d[_0x2c8f56(0x440)](_0x5392ce)),_0x5392ce;},'blockSize':0x80/0x20});var _0x295d07=_0x2c5bfc[_0x574290(0x3bf)]=_0x57f6f[_0x574290(0x1bd)]({'init':function(_0x5e1689){var _0x368d6a=_0x574290;this[_0x368d6a(0x39a)](_0x5e1689);},'toString':function(_0x1f676f){var _0x15d0a8=_0x574290;return(_0x1f676f||this[_0x15d0a8(0x2fe)])[_0x15d0a8(0x2b0)](this);}}),_0x4b7619=_0x55511e[_0x574290(0x368)]={},_0x382907=_0x4b7619['OpenSSL']={'stringify':function(_0x22d9d9){var _0x4fce28=_0x574290,_0x46aa8a,_0xf94669=_0x22d9d9[_0x4fce28(0x41c)],_0x404ffd=_0x22d9d9['salt'];return _0x404ffd?_0x46aa8a=_0x357b13[_0x4fce28(0x199)]([0x53616c74,0x65645f5f])[_0x4fce28(0x24e)](_0x404ffd)[_0x4fce28(0x24e)](_0xf94669):_0x46aa8a=_0xf94669,_0x46aa8a[_0x4fce28(0x2f7)](_0x5f57a9);},'parse':function(_0x5effbc){var _0x5df281=_0x574290,_0x52e989,_0x3313a5=_0x5f57a9['parse'](_0x5effbc),_0x78534f=_0x3313a5['words'];return _0x78534f[0x0]==0x53616c74&&_0x78534f[0x1]==0x65645f5f&&(_0x52e989=_0x357b13['create'](_0x78534f[_0x5df281(0x223)](0x2,0x4)),_0x78534f['splice'](0x0,0x4),_0x3313a5[_0x5df281(0x147)]-=0x10),_0x295d07[_0x5df281(0x199)]({'ciphertext':_0x3313a5,'salt':_0x52e989});}},_0x18cd0e=_0x2c5bfc[_0x574290(0x3f3)]=_0x57f6f['extend']({'cfg':_0x57f6f[_0x574290(0x1bd)]({'format':_0x382907}),'encrypt':function(_0x108188,_0x57742f,_0x4a8105,_0x8636ea){var _0x5545b4=_0x574290;_0x8636ea=this['cfg']['extend'](_0x8636ea);var _0x243ebe=_0x108188[_0x5545b4(0x1fd)](_0x4a8105,_0x8636ea),_0x3eabde=_0x243ebe[_0x5545b4(0x1d0)](_0x57742f),_0x17ffb2=_0x243ebe[_0x5545b4(0x201)];return _0x295d07['create']({'ciphertext':_0x3eabde,'key':_0x4a8105,'iv':_0x17ffb2['iv'],'algorithm':_0x108188,'mode':_0x17ffb2[_0x5545b4(0x227)],'padding':_0x17ffb2[_0x5545b4(0x26d)],'blockSize':_0x108188[_0x5545b4(0x169)],'formatter':_0x8636ea['format']});},'decrypt':function(_0x178c46,_0xa81549,_0x34bff7,_0x3cd7a4){var _0x36d85f=_0x574290;_0x3cd7a4=this['cfg']['extend'](_0x3cd7a4),_0xa81549=this[_0x36d85f(0x42b)](_0xa81549,_0x3cd7a4[_0x36d85f(0x368)]);var _0x534729=_0x178c46[_0x36d85f(0x1cb)](_0x34bff7,_0x3cd7a4)[_0x36d85f(0x1d0)](_0xa81549[_0x36d85f(0x41c)]);return _0x534729;},'_parse':function(_0x481aab,_0x4c4e46){var _0x55c950=_0x574290;return typeof _0x481aab==_0x55c950(0x212)?_0x4c4e46[_0x55c950(0x2a0)](_0x481aab,this):_0x481aab;}}),_0x20d1fe=_0x55511e[_0x574290(0x339)]={},_0x37afb7=_0x20d1fe[_0x574290(0x177)]={'execute':function(_0x4ae7e3,_0x27c816,_0x321580,_0x29d8af,_0x1c9263){var _0x31546a=_0x574290;if(_0x29d8af||(_0x29d8af=_0x357b13[_0x31546a(0x2b2)](0x40/0x8)),_0x1c9263)var _0x42fccc=_0x2e3f0d[_0x31546a(0x199)]({'keySize':_0x27c816+_0x321580,'hasher':_0x1c9263})[_0x31546a(0x17b)](_0x4ae7e3,_0x29d8af);else var _0x42fccc=_0x2e3f0d[_0x31546a(0x199)]({'keySize':_0x27c816+_0x321580})['compute'](_0x4ae7e3,_0x29d8af);var _0x2d244c=_0x357b13[_0x31546a(0x199)](_0x42fccc[_0x31546a(0x2fb)][_0x31546a(0x223)](_0x27c816),_0x321580*0x4);return _0x42fccc[_0x31546a(0x147)]=_0x27c816*0x4,_0x295d07[_0x31546a(0x199)]({'key':_0x42fccc,'iv':_0x2d244c,'salt':_0x29d8af});}},_0x1cc503=_0x2c5bfc[_0x574290(0x38e)]=_0x18cd0e[_0x574290(0x1bd)]({'cfg':_0x18cd0e['cfg'][_0x574290(0x1bd)]({'kdf':_0x37afb7}),'encrypt':function(_0x3794b1,_0x46dc66,_0x3019d7,_0xe9296a){var _0x34deb9=_0x574290;_0xe9296a=this[_0x34deb9(0x201)][_0x34deb9(0x1bd)](_0xe9296a);var _0x45d0af=_0xe9296a['kdf'][_0x34deb9(0x13e)](_0x3019d7,_0x3794b1[_0x34deb9(0x1f5)],_0x3794b1['ivSize'],_0xe9296a['salt'],_0xe9296a[_0x34deb9(0x1a1)]);_0xe9296a['iv']=_0x45d0af['iv'];var _0x3367fb=_0x18cd0e[_0x34deb9(0x13c)][_0x34deb9(0x3aa)](this,_0x3794b1,_0x46dc66,_0x45d0af[_0x34deb9(0x251)],_0xe9296a);return _0x3367fb[_0x34deb9(0x39a)](_0x45d0af),_0x3367fb;},'decrypt':function(_0xc015bd,_0x7b2cff,_0x543ae0,_0x201e93){var _0x3a8e41=_0x574290;_0x201e93=this[_0x3a8e41(0x201)][_0x3a8e41(0x1bd)](_0x201e93),_0x7b2cff=this[_0x3a8e41(0x42b)](_0x7b2cff,_0x201e93['format']);var _0x534fc2=_0x201e93[_0x3a8e41(0x339)]['execute'](_0x543ae0,_0xc015bd['keySize'],_0xc015bd['ivSize'],_0x7b2cff[_0x3a8e41(0x29b)],_0x201e93[_0x3a8e41(0x1a1)]);_0x201e93['iv']=_0x534fc2['iv'];var _0x45d0c6=_0x18cd0e['decrypt']['call'](this,_0xc015bd,_0x7b2cff,_0x534fc2[_0x3a8e41(0x251)],_0x201e93);return _0x45d0c6;}});}();}));}(Je)),Je[_0x2948a8(0x1ba)];}var Cn=Ve[_0x2628af(0x1ba)],ti;function Rn(){var _0xe9b9f8=_0x2628af;return ti||(ti=0x1,function(_0x4e7221,_0x3d9001){(function(_0x3c9eed,_0x18f0dc,_0x20fb4f){_0x4e7221['exports']=_0x18f0dc(te(),Oi(),pn(),bi(),yi());}(Cn,function(_0xa15ff1){var _0x67b502=_0x449a;return(function(){var _0x17d439=_0x449a,_0xb12511=_0xa15ff1,_0x7cdfd7=_0xb12511[_0x17d439(0x161)],_0x4e6b48=_0x7cdfd7[_0x17d439(0x21e)],_0x281e75=_0xb12511['algo'],_0x1a2c54=[],_0x3ed075=[],_0x38dcfb=[],_0xc8635a=[],_0x588287=[],_0x41fb32=[],_0x38d758=[],_0x55940f=[],_0x3584ff=[],_0x48da8e=[];(function(){for(var _0x4089b4=[],_0x36ef6f=0x0;_0x36ef6f<0x100;_0x36ef6f++)_0x36ef6f<0x80?_0x4089b4[_0x36ef6f]=_0x36ef6f<<0x1:_0x4089b4[_0x36ef6f]=_0x36ef6f<<0x1^0x11b;for(var _0x5d76ec=0x0,_0x4e42b0=0x0,_0x36ef6f=0x0;_0x36ef6f<0x100;_0x36ef6f++){var _0x563010=_0x4e42b0^_0x4e42b0<<0x1^_0x4e42b0<<0x2^_0x4e42b0<<0x3^_0x4e42b0<<0x4;_0x563010=_0x563010>>>0x8^_0x563010&0xff^0x63,_0x1a2c54[_0x5d76ec]=_0x563010,_0x3ed075[_0x563010]=_0x5d76ec;var _0x24322a=_0x4089b4[_0x5d76ec],_0x3ccbd9=_0x4089b4[_0x24322a],_0x1890cb=_0x4089b4[_0x3ccbd9],_0x558b89=_0x4089b4[_0x563010]*0x101^_0x563010*0x1010100;_0x38dcfb[_0x5d76ec]=_0x558b89<<0x18|_0x558b89>>>0x8,_0xc8635a[_0x5d76ec]=_0x558b89<<0x10|_0x558b89>>>0x10,_0x588287[_0x5d76ec]=_0x558b89<<0x8|_0x558b89>>>0x18,_0x41fb32[_0x5d76ec]=_0x558b89;var _0x558b89=_0x1890cb*0x1010101^_0x3ccbd9*0x10001^_0x24322a*0x101^_0x5d76ec*0x1010100;_0x38d758[_0x563010]=_0x558b89<<0x18|_0x558b89>>>0x8,_0x55940f[_0x563010]=_0x558b89<<0x10|_0x558b89>>>0x10,_0x3584ff[_0x563010]=_0x558b89<<0x8|_0x558b89>>>0x18,_0x48da8e[_0x563010]=_0x558b89,_0x5d76ec?(_0x5d76ec=_0x24322a^_0x4089b4[_0x4089b4[_0x4089b4[_0x1890cb^_0x24322a]]],_0x4e42b0^=_0x4089b4[_0x4089b4[_0x4e42b0]]):_0x5d76ec=_0x4e42b0=0x1;}}());var _0x3c37ec=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x307c7e=_0x281e75['AES']=_0x4e6b48['extend']({'_doReset':function(){var _0x3716e2=_0x17d439,_0x1b4463;if(!(this[_0x3716e2(0x3f9)]&&this[_0x3716e2(0x19e)]===this[_0x3716e2(0x15e)])){for(var _0x4c2015=this['_keyPriorReset']=this[_0x3716e2(0x15e)],_0x4194df=_0x4c2015[_0x3716e2(0x2fb)],_0xe15770=_0x4c2015[_0x3716e2(0x147)]/0x4,_0x3b8500=this['_nRounds']=_0xe15770+0x6,_0x32c4eb=(_0x3b8500+0x1)*0x4,_0x1fe58f=this['_keySchedule']=[],_0x7b02a1=0x0;_0x7b02a1<_0x32c4eb;_0x7b02a1++)_0x7b02a1<_0xe15770?_0x1fe58f[_0x7b02a1]=_0x4194df[_0x7b02a1]:(_0x1b4463=_0x1fe58f[_0x7b02a1-0x1],_0x7b02a1%_0xe15770?_0xe15770>0x6&&_0x7b02a1%_0xe15770==0x4&&(_0x1b4463=_0x1a2c54[_0x1b4463>>>0x18]<<0x18|_0x1a2c54[_0x1b4463>>>0x10&0xff]<<0x10|_0x1a2c54[_0x1b4463>>>0x8&0xff]<<0x8|_0x1a2c54[_0x1b4463&0xff]):(_0x1b4463=_0x1b4463<<0x8|_0x1b4463>>>0x18,_0x1b4463=_0x1a2c54[_0x1b4463>>>0x18]<<0x18|_0x1a2c54[_0x1b4463>>>0x10&0xff]<<0x10|_0x1a2c54[_0x1b4463>>>0x8&0xff]<<0x8|_0x1a2c54[_0x1b4463&0xff],_0x1b4463^=_0x3c37ec[_0x7b02a1/_0xe15770|0x0]<<0x18),_0x1fe58f[_0x7b02a1]=_0x1fe58f[_0x7b02a1-_0xe15770]^_0x1b4463);for(var _0x1c5fc2=this[_0x3716e2(0x28c)]=[],_0x2910f2=0x0;_0x2910f2<_0x32c4eb;_0x2910f2++){var _0x7b02a1=_0x32c4eb-_0x2910f2;if(_0x2910f2%0x4)var _0x1b4463=_0x1fe58f[_0x7b02a1];else var _0x1b4463=_0x1fe58f[_0x7b02a1-0x4];_0x2910f2<0x4||_0x7b02a1<=0x4?_0x1c5fc2[_0x2910f2]=_0x1b4463:_0x1c5fc2[_0x2910f2]=_0x38d758[_0x1a2c54[_0x1b4463>>>0x18]]^_0x55940f[_0x1a2c54[_0x1b4463>>>0x10&0xff]]^_0x3584ff[_0x1a2c54[_0x1b4463>>>0x8&0xff]]^_0x48da8e[_0x1a2c54[_0x1b4463&0xff]];}}},'encryptBlock':function(_0x23144e,_0xfdf483){var _0x1a65d6=_0x17d439;this[_0x1a65d6(0x36c)](_0x23144e,_0xfdf483,this[_0x1a65d6(0x183)],_0x38dcfb,_0xc8635a,_0x588287,_0x41fb32,_0x1a2c54);},'decryptBlock':function(_0x339dd1,_0x4e139f){var _0x3fc7f2=_0x17d439,_0x28e5f7=_0x339dd1[_0x4e139f+0x1];_0x339dd1[_0x4e139f+0x1]=_0x339dd1[_0x4e139f+0x3],_0x339dd1[_0x4e139f+0x3]=_0x28e5f7,this[_0x3fc7f2(0x36c)](_0x339dd1,_0x4e139f,this[_0x3fc7f2(0x28c)],_0x38d758,_0x55940f,_0x3584ff,_0x48da8e,_0x3ed075);var _0x28e5f7=_0x339dd1[_0x4e139f+0x1];_0x339dd1[_0x4e139f+0x1]=_0x339dd1[_0x4e139f+0x3],_0x339dd1[_0x4e139f+0x3]=_0x28e5f7;},'_doCryptBlock':function(_0x4d6776,_0x58b6e8,_0x335489,_0x1147a1,_0x51fe71,_0x3a5ebf,_0x3fb26e,_0x4d7795){var _0x54cfa8=_0x17d439;for(var _0x49b8cb=this[_0x54cfa8(0x3f9)],_0x2f9078=_0x4d6776[_0x58b6e8]^_0x335489[0x0],_0xf8b541=_0x4d6776[_0x58b6e8+0x1]^_0x335489[0x1],_0x211dec=_0x4d6776[_0x58b6e8+0x2]^_0x335489[0x2],_0x37c623=_0x4d6776[_0x58b6e8+0x3]^_0x335489[0x3],_0x1b7e9f=0x4,_0x2288ae=0x1;_0x2288ae<_0x49b8cb;_0x2288ae++){var _0x1de5cd=_0x1147a1[_0x2f9078>>>0x18]^_0x51fe71[_0xf8b541>>>0x10&0xff]^_0x3a5ebf[_0x211dec>>>0x8&0xff]^_0x3fb26e[_0x37c623&0xff]^_0x335489[_0x1b7e9f++],_0x4a6c2c=_0x1147a1[_0xf8b541>>>0x18]^_0x51fe71[_0x211dec>>>0x10&0xff]^_0x3a5ebf[_0x37c623>>>0x8&0xff]^_0x3fb26e[_0x2f9078&0xff]^_0x335489[_0x1b7e9f++],_0x49667b=_0x1147a1[_0x211dec>>>0x18]^_0x51fe71[_0x37c623>>>0x10&0xff]^_0x3a5ebf[_0x2f9078>>>0x8&0xff]^_0x3fb26e[_0xf8b541&0xff]^_0x335489[_0x1b7e9f++],_0x37d832=_0x1147a1[_0x37c623>>>0x18]^_0x51fe71[_0x2f9078>>>0x10&0xff]^_0x3a5ebf[_0xf8b541>>>0x8&0xff]^_0x3fb26e[_0x211dec&0xff]^_0x335489[_0x1b7e9f++];_0x2f9078=_0x1de5cd,_0xf8b541=_0x4a6c2c,_0x211dec=_0x49667b,_0x37c623=_0x37d832;}var _0x1de5cd=(_0x4d7795[_0x2f9078>>>0x18]<<0x18|_0x4d7795[_0xf8b541>>>0x10&0xff]<<0x10|_0x4d7795[_0x211dec>>>0x8&0xff]<<0x8|_0x4d7795[_0x37c623&0xff])^_0x335489[_0x1b7e9f++],_0x4a6c2c=(_0x4d7795[_0xf8b541>>>0x18]<<0x18|_0x4d7795[_0x211dec>>>0x10&0xff]<<0x10|_0x4d7795[_0x37c623>>>0x8&0xff]<<0x8|_0x4d7795[_0x2f9078&0xff])^_0x335489[_0x1b7e9f++],_0x49667b=(_0x4d7795[_0x211dec>>>0x18]<<0x18|_0x4d7795[_0x37c623>>>0x10&0xff]<<0x10|_0x4d7795[_0x2f9078>>>0x8&0xff]<<0x8|_0x4d7795[_0xf8b541&0xff])^_0x335489[_0x1b7e9f++],_0x37d832=(_0x4d7795[_0x37c623>>>0x18]<<0x18|_0x4d7795[_0x2f9078>>>0x10&0xff]<<0x10|_0x4d7795[_0xf8b541>>>0x8&0xff]<<0x8|_0x4d7795[_0x211dec&0xff])^_0x335489[_0x1b7e9f++];_0x4d6776[_0x58b6e8]=_0x1de5cd,_0x4d6776[_0x58b6e8+0x1]=_0x4a6c2c,_0x4d6776[_0x58b6e8+0x2]=_0x49667b,_0x4d6776[_0x58b6e8+0x3]=_0x37d832;},'keySize':0x100/0x20});_0xb12511[_0x17d439(0x33f)]=_0x4e6b48['_createHelper'](_0x307c7e);}()),_0xa15ff1[_0x67b502(0x33f)];}));}(Ve)),Ve[_0xe9b9f8(0x1ba)];}var On=Rn();const bn=$e(On);var yn=Oi();const ii=$e(yn);var Xe={'exports':{}},Nn=Xe[_0x2628af(0x1ba)],si;function Dn(){var _0x5575a9=_0x2628af;return si||(si=0x1,function(_0x2a18d0,_0x14e1be){(function(_0x5f1ad2,_0x300728){var _0x4fde1d=_0x449a;_0x2a18d0[_0x4fde1d(0x1ba)]=_0x300728(te());}(Nn,function(_0x2523b9){var _0x44e26e=_0x449a;return _0x2523b9[_0x44e26e(0x230)][_0x44e26e(0x39b)];}));}(Xe)),Xe[_0x5575a9(0x1ba)];}var Un=Dn();const An=$e(Un);var Ze={'exports':{}},wn=Ze['exports'],ni;function Pn(){var _0x3360f9=_0x2628af;return ni||(ni=0x1,function(_0x24a646,_0x2ab7ea){(function(_0xac4d94,_0x5646b5){_0x24a646['exports']=_0x5646b5(te());}(wn,function(_0x3cf046){var _0x48dca6=_0x449a;return(function(){var _0xe2eac2=_0x449a;if(typeof ArrayBuffer=='function'){var _0x60beb0=_0x3cf046,_0x53bd21=_0x60beb0[_0xe2eac2(0x161)],_0x40071a=_0x53bd21[_0xe2eac2(0x301)],_0x1ac5ea=_0x40071a[_0xe2eac2(0x42c)],_0x2f42a4=_0x40071a[_0xe2eac2(0x42c)]=function(_0x11164c){var _0x35baf9=_0xe2eac2;if(_0x11164c instanceof ArrayBuffer&&(_0x11164c=new Uint8Array(_0x11164c)),(_0x11164c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x11164c instanceof Uint8ClampedArray||_0x11164c instanceof Int16Array||_0x11164c instanceof Uint16Array||_0x11164c instanceof Int32Array||_0x11164c instanceof Uint32Array||_0x11164c instanceof Float32Array||_0x11164c instanceof Float64Array)&&(_0x11164c=new Uint8Array(_0x11164c[_0x35baf9(0x318)],_0x11164c[_0x35baf9(0x372)],_0x11164c[_0x35baf9(0x397)])),_0x11164c instanceof Uint8Array){for(var _0x3413dc=_0x11164c['byteLength'],_0xc9b64c=[],_0xa968d3=0x0;_0xa968d3<_0x3413dc;_0xa968d3++)_0xc9b64c[_0xa968d3>>>0x2]|=_0x11164c[_0xa968d3]<<0x18-_0xa968d3%0x4*0x8;_0x1ac5ea[_0x35baf9(0x3aa)](this,_0xc9b64c,_0x3413dc);}else _0x1ac5ea[_0x35baf9(0x344)](this,arguments);};_0x2f42a4[_0xe2eac2(0x2e7)]=_0x40071a;}}()),_0x3cf046[_0x48dca6(0x161)]['WordArray'];}));}(Ze)),Ze[_0x3360f9(0x1ba)];}var Ln=Pn();const Mn=$e(Ln);var Qe={'exports':{}},xn=Qe[_0x2628af(0x1ba)],ri;function kn(){return ri||(ri=0x1,function(_0x50c7e1,_0xea81eb){(function(_0x912034,_0x3db0fa,_0x16b4b7){var _0x4b9bf0=_0x449a;_0x50c7e1[_0x4b9bf0(0x1ba)]=_0x3db0fa(te(),yi());}(xn,function(_0x2ed87e){var _0x368f0b=_0x449a;return _0x2ed87e['pad'][_0x368f0b(0x1ec)]={'pad':function(){},'unpad':function(){}},_0x2ed87e[_0x368f0b(0x2f6)][_0x368f0b(0x1ec)];}));}(Qe)),Qe['exports'];}var $n=kn();const Hn=$e($n);function Bn(_0x838c25,_0x4e5c3c){var _0x40026b=_0x2628af;const _0x5da15c=_0x4e5c3c-_0x838c25['length']%_0x4e5c3c,_0x17dc71=String[_0x40026b(0x308)](_0x5da15c)[_0x40026b(0x355)](_0x5da15c);return _0x838c25+_0x17dc71;}function jn(_0x13115b,_0x30d6a2){var _0x324be4=_0x2628af;const _0x259211=Mn['random'](0x10),_0x52d26c=Bn(_0x13115b,0x10),_0x3b7842=bn[_0x324be4(0x13c)](An[_0x324be4(0x2a0)](_0x52d26c),ii[_0x324be4(0x2a0)](_0x30d6a2),{'iv':_0x259211,'padding':Hn});return _0x259211['concat'](_0x3b7842[_0x324be4(0x41c)])[_0x324be4(0x2f7)](ii);}function Fn(){var _0x41e080=_0x2628af;const _0x1fc707=_0x48f501()['__Key__'];if(_0x1fc707){const _0x480b97={'time':Math[_0x41e080(0x1cd)](Date['now']()/0x3e8),'domain':location[_0x41e080(0x21d)]};return jn(JSON[_0x41e080(0x2b0)](_0x480b97),_0x1fc707);}}var Vn=Object[_0x2628af(0x197)],Gn=(_0x5787e4,_0x3925da,_0x9498f6,_0x27b1a1)=>{for(var _0x440a00=_0x27b1a1>0x1?void 0x0:_0x27b1a1?Vn(_0x3925da,_0x9498f6):_0x3925da,_0x1db897=_0x5787e4['length']-0x1,_0xd2992a;_0x1db897>=0x0;_0x1db897--)(_0xd2992a=_0x5787e4[_0x1db897])&&(_0x440a00=_0xd2992a(_0x440a00)||_0x440a00);return _0x440a00;},Yn=(_0x259dd4,_0x4dad4d)=>(_0x224431,_0xba9105)=>_0x4dad4d(_0x224431,_0xba9105,_0x259dd4);let at=class{constructor(_0x451636){var _0x35217f=_0x2628af;this[_0x35217f(0x1a4)]=_0x451636,this['_initRequestHeader']();}[_0x2628af(0x24a)](){var _0x177615=_0x2628af;this[_0x177615(0x1a4)][_0x177615(0x16d)]({'interceptor':(_0x2f9eb2,_0x5762b3)=>{var _0x5ef39f=_0x177615;const _0x2bb954=_0x2f9eb2[_0x5ef39f(0x3da)],_0x3e3fd9=Fn();return _0x3e3fd9&&_0x2bb954[_0x5ef39f(0x2d8)](_0x5ef39f(0x28b),_0x3e3fd9),_0x5762b3(_0x2f9eb2);}});}};at=Gn([Yn(0x0,_0x4df4de(_0xfc765a))],at);var Wn=Object[_0x2628af(0x197)],Kn=(_0x2bf94a,_0x3616df,_0x42ef78,_0x298711)=>{var _0x1d2b1a=_0x2628af;for(var _0x3897b8=_0x298711>0x1?void 0x0:_0x298711?Wn(_0x3616df,_0x42ef78):_0x3616df,_0x3ac71e=_0x2bf94a[_0x1d2b1a(0x2a7)]-0x1,_0x4cfac6;_0x3ac71e>=0x0;_0x3ac71e--)(_0x4cfac6=_0x2bf94a[_0x3ac71e])&&(_0x3897b8=_0x4cfac6(_0x3897b8)||_0x3897b8);return _0x3897b8;},vt=(_0x2110eb,_0xbf67ca)=>(_0x3175b1,_0xe19577)=>_0xbf67ca(_0x3175b1,_0xe19577,_0x2110eb);let Ct=class extends _0x99efd0{constructor(_0x36eb45,_0x48b47e,_0xfbeebc){var _0x5075e3=_0x2628af;super(),N(this,'_unitInfo$',new _0x5cf054(null)),N(this,_0x5075e3(0x186),this['_unitInfo$'][_0x5075e3(0x20f)]()),(this[_0x5075e3(0x187)]=_0x36eb45,this[_0x5075e3(0x444)]=_0x48b47e,this[_0x5075e3(0x1b9)]=_0xfbeebc);}async[_0x2628af(0x2a1)](_0x32900a,_0x1cceb5,_0x4934ba){var _0x2c62a4=_0x2628af;this['_unitInfo$']['next']({'unitId':_0x32900a,'type':_0x1cceb5});let _0x220a04=null;switch(_0x1cceb5){case Z[_0x2c62a4(0x2bd)]:{_0x220a04=await this[_0x2c62a4(0x444)][_0x2c62a4(0x20c)](_0x32900a,_0x4934ba);break;}case Z[_0x2c62a4(0x41b)]:{_0x220a04=await this[_0x2c62a4(0x444)][_0x2c62a4(0x1b6)](_0x32900a,_0x4934ba);break;}default:{this[_0x2c62a4(0x187)][_0x2c62a4(0x248)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x220a04;}async[_0x2628af(0x39e)](_0x584e42,_0x3254e3,_0x39349d){var _0x65e9b3=_0x2628af,_0x903d6d;this[_0x65e9b3(0x1cc)][_0x65e9b3(0x2c6)]({'unitId':_0x584e42,'type':_0x3254e3,'subUnitId':_0x39349d});let _0x5402fa=0x0;const _0x28f0d0=await((_0x903d6d=this[_0x65e9b3(0x1b9)])==null?void 0x0:_0x903d6d[_0x65e9b3(0x2fa)](_0x584e42));return _0x28f0d0&&(_0x28f0d0[_0x65e9b3(0x1ea)]||_0x28f0d0[_0x65e9b3(0x290)][_0x65e9b3(0x2a7)]!==0x0)&&(_0x5402fa=_0x28f0d0[_0x65e9b3(0x174)]),_0x5402fa===0x0&&this[_0x65e9b3(0x187)][_0x65e9b3(0x428)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x584e42,_0x3254e3,_0x5402fa);}};Ct=Kn([vt(0x0,_0x5e8fca),vt(0x1,_0x4df4de(_0x24c623)),vt(0x2,_0x3807e3(J))],Ct);var qn=Object[_0x2628af(0x197)],zn=(_0x1ce09c,_0x12c9b2,_0x56f318,_0x353c6d)=>{var _0x14dfe6=_0x2628af;for(var _0x46eb78=_0x353c6d>0x1?void 0x0:_0x353c6d?qn(_0x12c9b2,_0x56f318):_0x12c9b2,_0x3a6e07=_0x1ce09c[_0x14dfe6(0x2a7)]-0x1,_0x2034fb;_0x3a6e07>=0x0;_0x3a6e07--)(_0x2034fb=_0x1ce09c[_0x3a6e07])&&(_0x46eb78=_0x2034fb(_0x46eb78)||_0x46eb78);return _0x46eb78;},pt=(_0x43693a,_0xa239e7)=>(_0x2b4fe0,_0x254255)=>_0xa239e7(_0x2b4fe0,_0x254255,_0x43693a);const Jn=['image/png',_0x2628af(0x31f),_0x2628af(0x24d),'image/gif',_0x2628af(0x185)],Xn=0x5*0x400*0x400,Zn=_0x2628af(0x3dd),Qn='/universer-api/stream/file/upload',er='EXCHANGE_SIGN_URL_SERVER_URL_KEY',tr='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x985830,_0x407328,_0x52e3f3){var _0x261464=_0x2628af;N(this,_0x261464(0x395),0x0),N(this,_0x261464(0x392),new _0x563997()),N(this,_0x261464(0x30e),this[_0x261464(0x392)]),N(this,'_imageSourceCache',new Map()),(this[_0x261464(0x1a4)]=_0x985830,this[_0x261464(0x1f7)]=_0x407328,this[_0x261464(0x433)]=_0x52e3f3);}[_0x2628af(0x296)](_0x177156){var _0x5d3b20=_0x2628af;this['_waitCount']=_0x177156,this[_0x5d3b20(0x392)][_0x5d3b20(0x2c6)](_0x177156);}['getImageSourceCache'](_0x5ea296,_0xace5e3){var _0x1b9961=_0x2628af;if(_0xace5e3===_0x1ae7bd[_0x1b9961(0x346)]){const _0x3c971e=new Image();return _0x3c971e[_0x1b9961(0x286)]=_0x5ea296,_0x3c971e;}return this[_0x1b9961(0x386)][_0x1b9961(0x239)](_0x5ea296);}[_0x2628af(0x335)](_0x117307,_0x36a63d,_0x5c6abe){var _0x51c9e9=_0x2628af;_0x36a63d===_0x1ae7bd[_0x51c9e9(0x346)]||_0x5c6abe==null||this['_imageSourceCache'][_0x51c9e9(0x2d8)](_0x117307,_0x5c6abe);}async[_0x2628af(0x410)](_0xeb7b7a){var _0x1f3501=_0x2628af;try{const _0x2be262=this[_0x1f3501(0x30b)](this['_getSignURL'](),''+_0xeb7b7a),_0x233fb8=(await this['_httpService'][_0x1f3501(0x239)](_0x2be262))[_0x1f3501(0x211)];if(_0x233fb8[_0x1f3501(0x248)]&&_0x233fb8[_0x1f3501(0x248)][_0x1f3501(0x1d7)]===vi['OK']){const _0x4fa4d8=new URL(_0x233fb8['url'],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x4fa4d8);}return Promise[_0x1f3501(0x3f5)](_0x233fb8[_0x1f3501(0x248)]);}catch(_0x3d48fc){return Promise[_0x1f3501(0x3f5)](_0x3d48fc);}}async['saveImage'](_0x3ca43b){var _0x5b43b6=_0x2628af;let _0x4632c3='';if(!Jn[_0x5b43b6(0x352)](_0x3ca43b[_0x5b43b6(0x282)]))return this[_0x5b43b6(0x234)](),Promise[_0x5b43b6(0x3f5)](new Error(_0x1dcc32[_0x5b43b6(0x419)]));if(_0x3ca43b[_0x5b43b6(0x423)]>Xn)return this[_0x5b43b6(0x234)](),Promise[_0x5b43b6(0x3f5)](new Error(_0x1dcc32[_0x5b43b6(0x237)]));try{const _0x5f368d=new FormData();_0x5f368d[_0x5b43b6(0x39f)](_0x5b43b6(0x38c),_0x3ca43b);const _0x595fcf=this[_0x5b43b6(0x433)]['getFocusedUnit'](),_0x46e2e5=_0x595fcf==null?void 0x0:_0x595fcf[_0x5b43b6(0x266)]();if(!_0x46e2e5)throw new Error(_0x5b43b6(0x14a));const _0x2865dd=this[_0x5b43b6(0x2d6)]()+_0x5b43b6(0x2c5)+_0x3ca43b[_0x5b43b6(0x423)]['toString']()+_0x5b43b6(0x365)+pi[_0x5b43b6(0x3bb)]+_0x5b43b6(0x25f)+encodeURIComponent(_0x46e2e5),_0x4f515b={'body':_0x5f368d},_0x24699a=(await this[_0x5b43b6(0x1a4)][_0x5b43b6(0x388)](_0x2865dd,_0x4f515b))[_0x5b43b6(0x211)];if(typeof _0x24699a['FileId']!=_0x5b43b6(0x212))return this[_0x5b43b6(0x234)](),Promise['reject'](new Error(_0x1dcc32[_0x5b43b6(0x1b4)]));_0x4632c3=_0x24699a[_0x5b43b6(0x309)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1dcc32[_0x5b43b6(0x1b4)]));}return new Promise((_0x10d390,_0x39a49d)=>{var _0x5b382b=_0x5b43b6;const _0xda996f=new FileReader();_0xda996f['readAsDataURL'](_0x3ca43b),_0xda996f[_0x5b382b(0x36f)]=_0x9e8107=>{var _0x12c762=_0x5b382b,_0x360d33;const _0x3165f9=(_0x360d33=_0x9e8107[_0x12c762(0x2eb)])==null?void 0x0:_0x360d33[_0x12c762(0x3db)];if(_0x3165f9==null){this[_0x12c762(0x234)](),_0x39a49d(new Error(_0x1dcc32[_0x12c762(0x1b4)]));return;}const _0x1cc527=_0x27767b(0x6);_0x10d390({'imageId':_0x1cc527,'imageSourceType':_0x1ae7bd[_0x12c762(0x2b7)],'source':_0x4632c3,'base64Cache':_0x3165f9,'status':_0x1dcc32[_0x12c762(0x18a)]}),this[_0x12c762(0x234)]();};});}['_getUploadFileURL'](){var _0x83fc18=_0x2628af,_0x21c330,_0x2cfad7;const _0x573b21=this[_0x83fc18(0x1f7)][_0x83fc18(0x2d2)](Zn),_0x2189fe=this[_0x83fc18(0x1f7)]['getConfig'](K);return(_0x2cfad7=(_0x21c330=_0x2189fe==null?void 0x0:_0x2189fe[_0x83fc18(0x32c)])!=null?_0x21c330:_0x573b21)!=null?_0x2cfad7:Qn;}[_0x2628af(0x1dd)](){var _0x1b73b2=_0x2628af,_0x3ec608,_0x61e3f3;const _0x447e66=this['_configService'][_0x1b73b2(0x2d2)](er),_0x21769b=this[_0x1b73b2(0x1f7)][_0x1b73b2(0x2d2)](K);return(_0x61e3f3=(_0x3ec608=_0x21769b==null?void 0x0:_0x21769b[_0x1b73b2(0x157)])!=null?_0x3ec608:_0x447e66)!=null?_0x61e3f3:tr;}[_0x2628af(0x31a)](){var _0x4e8a2e=_0x2628af,_0x10e7d3;const _0x578c39=this[_0x4e8a2e(0x1f7)][_0x4e8a2e(0x2d2)](K);return(_0x10e7d3=_0x578c39==null?void 0x0:_0x578c39[_0x4e8a2e(0x334)])!=null?_0x10e7d3:location[_0x4e8a2e(0x364)];}[_0x2628af(0x30b)](_0x563834,_0x281962){var _0xbbf112=_0x2628af;return _0x563834[_0xbbf112(0x443)](_0xbbf112(0x438),_0x281962);}[_0x2628af(0x234)](){var _0x416466=_0x2628af;this[_0x416466(0x395)]-=0x1,this[_0x416466(0x392)][_0x416466(0x2c6)](this['_waitCount']);}};Rt=zn([pt(0x0,_0x4df4de(_0xfc765a)),pt(0x1,_0x58acf0),pt(0x2,_0x4df4de(_0x55ab5c))],Rt);var ir=Object[_0x2628af(0x197)],sr=(_0x2edab2,_0x2fefe2,_0x16a9a6,_0x31b478)=>{for(var _0x44750f=_0x31b478>0x1?void 0x0:_0x31b478?ir(_0x2fefe2,_0x16a9a6):_0x2fefe2,_0x1d8835=_0x2edab2['length']-0x1,_0x17cc20;_0x1d8835>=0x0;_0x1d8835--)(_0x17cc20=_0x2edab2[_0x1d8835])&&(_0x44750f=_0x17cc20(_0x44750f)||_0x44750f);return _0x44750f;},ai=(_0x5a8481,_0x9769c9)=>(_0x247932,_0x3ba6d7)=>_0x9769c9(_0x247932,_0x3ba6d7,_0x5a8481);const nr=_0x2628af(0x17c);let Ot=class{constructor(_0x59569d,_0x39fb5b){var _0x528f95=_0x2628af;this['_configService']=_0x59569d,this[_0x528f95(0x2e8)]=_0x39fb5b;}[_0x2628af(0x257)](){var _0x23088d=_0x2628af,_0x5c8a3e,_0x1c3853;const _0x26f39=this[_0x23088d(0x1f7)][_0x23088d(0x2d2)](Ri),_0x37345b=this[_0x23088d(0x1f7)][_0x23088d(0x2d2)](K);return(_0x1c3853=(_0x5c8a3e=_0x37345b==null?void 0x0:_0x37345b[_0x23088d(0x3e7)])!=null?_0x5c8a3e:_0x26f39)!=null?_0x1c3853:nr;}async[_0x2628af(0x349)](_0x311ea8){var _0x3275aa=_0x2628af;const _0x135119=this[_0x3275aa(0x257)]()+_0x3275aa(0x319);return{'list':[{'title':_0x3275aa(0x367),'mentions':(await this[_0x3275aa(0x2e8)]['get'](_0x135119,{'params':{'objectID':_0x311ea8['unitId'],'unitID':_0x311ea8[_0x3275aa(0x26e)]}}))[_0x3275aa(0x211)][_0x3275aa(0x1fa)][_0x3275aa(0x2df)](_0x2d4ef6=>({'objectId':_0x2d4ef6['id'],'name':_0x2d4ef6['subject'][_0x3275aa(0x28d)],'metadata':{'icon':_0x2d4ef6[_0x3275aa(0x399)][_0x3275aa(0x341)]},'label':_0x2d4ef6[_0x3275aa(0x399)][_0x3275aa(0x28d)],'objectType':_0x15a4c8[_0x3275aa(0x3ad)]})),'metadata':{},'type':_0x15a4c8[_0x3275aa(0x3ad)]}]};}};Ot=sr([ai(0x0,_0x4df4de(_0x58acf0)),ai(0x1,_0x4df4de(_0xfc765a))],Ot);var rr=Object['getOwnPropertyDescriptor'],ar=(_0x2c9dc7,_0xd34c18,_0x53c1a1,_0x51a798)=>{var _0x34dd9c=_0x2628af;for(var _0x190e75=_0x51a798>0x1?void 0x0:_0x51a798?rr(_0xd34c18,_0x53c1a1):_0xd34c18,_0x309e99=_0x2c9dc7[_0x34dd9c(0x2a7)]-0x1,_0x4f092e;_0x309e99>=0x0;_0x309e99--)(_0x4f092e=_0x2c9dc7[_0x309e99])&&(_0x190e75=_0x4f092e(_0x190e75)||_0x190e75);return _0x190e75;},Ae=(_0x1b5e49,_0x2c1a50)=>(_0x46004f,_0x348f0f)=>_0x2c1a50(_0x46004f,_0x348f0f,_0x1b5e49);let ot=class extends _0x99efd0{constructor(_0x3463f3,_0x32e399,_0x301765,_0x361b1c,_0x29abc4){var _0x5b14e5=_0x2628af;super(),this['_injector']=_0x3463f3,this['_univerInstanceService']=_0x32e399,this[_0x5b14e5(0x1b8)]=_0x301765,this[_0x5b14e5(0x406)]=_0x361b1c,this[_0x5b14e5(0x3e5)]=_0x29abc4,this[_0x5b14e5(0x18f)](),this[_0x5b14e5(0x1bf)]();}[_0x2628af(0x1bf)](){var _0x4e024d=_0x2628af;const _0x3e0f83=async _0x3e620e=>{var _0x7d46cd=_0x449a;(await this['_collaborationSessionService'][_0x7d46cd(0x38f)](_0x3e620e))[_0x7d46cd(0x2fd)][_0x7d46cd(0x1d9)](_0x5f2c59(_0x307df7=>_0x307df7[_0x7d46cd(0x1ce)]===_0x543fc4[_0x7d46cd(0x141)]),_0x2c5368(this[_0x7d46cd(0x327)]))[_0x7d46cd(0x1da)](_0x48c79d=>{var _0x53aef8=_0x7d46cd;const _0x570a90=_0x48c79d,{reason:_0x2b791e}=_0x570a90[_0x53aef8(0x391)];this[_0x53aef8(0x3e5)]['emitEvent']({'id':ne[_0x53aef8(0x240)],'data':_0x2b791e}),this[_0x53aef8(0x1b8)][_0x53aef8(0x2a5)](new _0x524ab0(_0x3e620e)['id'],!0x1),this[_0x53aef8(0x406)]['closeSession'](_0x3e620e);});};_0x23d50f(this[_0x4e024d(0x433)][_0x4e024d(0x22a)](_0x423cd4[_0x4e024d(0x2bd)]),this[_0x4e024d(0x433)][_0x4e024d(0x22a)](_0x423cd4[_0x4e024d(0x41b)]))[_0x4e024d(0x1d9)](_0x5b0392(_0x316c12=>_0x316c12[_0x4e024d(0x266)]()),_0x5f2c59(_0x4f21c6=>!_0x18bbb0(_0x4f21c6)),_0x2c5368(this['dispose$']))[_0x4e024d(0x1da)](_0x3125cb=>{_0x3e0f83(_0x3125cb);});}[_0x2628af(0x18f)](){var _0x406a6e=_0x2628af;const _0x1ad83e=async _0x16383f=>{var _0x4eaf79=_0x449a;const _0x3e93e4=await this[_0x4eaf79(0x406)][_0x4eaf79(0x38f)](_0x16383f),_0x2445aa=this['_injector'][_0x4eaf79(0x239)](_0x231dd4);_0x3e93e4[_0x4eaf79(0x2fd)]['pipe'](_0x5f2c59(_0x4dfe2f=>_0x4dfe2f[_0x4eaf79(0x1ce)]===_0x543fc4[_0x4eaf79(0x393)]),_0x2c5368(this['dispose$']))[_0x4eaf79(0x1da)](_0x1f9150=>{var _0x5552e0=_0x4eaf79;const _0x2c450d=_0x1f9150,{objectId:_0x496fbd}=_0x2c450d[_0x5552e0(0x391)];_0x496fbd===_0x16383f?_0x2445aa[_0x5552e0(0x356)](_0x16383f):_0x2445aa[_0x5552e0(0x39c)](_0x16383f,_0x496fbd);});};_0x23d50f(this[_0x406a6e(0x433)][_0x406a6e(0x22a)](_0x423cd4[_0x406a6e(0x2bd)]))[_0x406a6e(0x1d9)](_0x5b0392(_0x438c70=>_0x438c70[_0x406a6e(0x266)]()),_0x5f2c59(_0x35fc69=>!_0x18bbb0(_0x35fc69)),_0x2c5368(this['dispose$']))[_0x406a6e(0x1da)](_0x1c8b01=>{_0x1ad83e(_0x1c8b01);});}};ot=ar([Ae(0x0,_0x4df4de(_0x1afd43)),Ae(0x1,_0x55ab5c),Ae(0x2,_0x1305f2),Ae(0x3,_0x4df4de(Le)),Ae(0x4,_0x4df4de(ve))],ot);var or=Object[_0x2628af(0x197)],cr=(_0x3d093b,_0x2934fb,_0x4470f7,_0x40fc06)=>{var _0x5b4b3c=_0x2628af;for(var _0x571bd2=_0x40fc06>0x1?void 0x0:_0x40fc06?or(_0x2934fb,_0x4470f7):_0x2934fb,_0x1b50fc=_0x3d093b[_0x5b4b3c(0x2a7)]-0x1,_0x3c36d3;_0x1b50fc>=0x0;_0x1b50fc--)(_0x3c36d3=_0x3d093b[_0x1b50fc])&&(_0x571bd2=_0x3c36d3(_0x571bd2)||_0x571bd2);return _0x571bd2;},oi=(_0x57e7b4,_0x54c77f)=>(_0x58919d,_0x2e2aaf)=>_0x54c77f(_0x58919d,_0x2e2aaf,_0x57e7b4);let bt=class{constructor(_0x142d9d,_0x2e67fb){var _0x2ad942=_0x2628af;this[_0x2ad942(0x1f7)]=_0x142d9d,this[_0x2ad942(0x1a4)]=_0x2e67fb;}async[_0x2628af(0x180)](_0x29d9e6,_0x4b694e){var _0x5a085a=_0x2628af,_0x21f7a0;const {unitID:_0x16326a,type:_0x26dc92,revision:_0x9d9a5f=0x0}=_0x4b694e,_0x4d4b39=this[_0x5a085a(0x1c8)]()+'/'+_0x26dc92+'/unit/'+_0x16326a+'/rev/'+_0x9d9a5f,_0x275d4c=(await this[_0x5a085a(0x1a4)][_0x5a085a(0x239)](_0x4d4b39))[_0x5a085a(0x211)],_0x36b7ca=(_0x21f7a0=_0x275d4c[_0x5a085a(0x26b)])==null?void 0x0:_0x21f7a0[_0x5a085a(0x3c1)];if(_0x36b7ca){const _0xdcf58e=_0x36b7ca==null?void 0x0:_0x36b7ca['originalMeta'],_0x56d542=_0x375c0d[_0x5a085a(0x151)](_0x5a2aeb(_0xdcf58e));_0x36b7ca['originalMeta']=_0x56d542,Object[_0x5a085a(0x3d0)](_0x36b7ca[_0x5a085a(0x264)])['forEach'](([,_0x57211f])=>{var _0x5536f4=_0x5a085a;const _0x39144e=_0x57211f[_0x5536f4(0x14f)],_0x384f00=_0x375c0d[_0x5536f4(0x151)](_0x5a2aeb(_0x39144e));_0x57211f[_0x5536f4(0x14f)]=_0x384f00;});}return _0x275d4c;}async[_0x2628af(0x1a5)](_0x14122d,_0x47c704){var _0x14c47d=_0x2628af;const {unitID:_0xbca8a4,type:_0x208c9a,blockID:_0x104524}=_0x47c704,_0x860e6a=this['_getAPIPrefix']()+'/'+_0x208c9a+_0x14c47d(0x1eb)+_0xbca8a4+_0x14c47d(0x2b9)+_0x104524;return(await this[_0x14c47d(0x1a4)][_0x14c47d(0x239)](_0x860e6a))[_0x14c47d(0x211)];}async[_0x2628af(0x1c6)](_0x5b4518,_0x250e0a){var _0x2ea9db=_0x2628af;const {unitID:_0x15f57c,type:_0x52ac2a,blockID:_0x7326f8}=_0x250e0a,_0x180082=this[_0x2ea9db(0x405)]()+_0x2ea9db(0x2b9)+_0x52ac2a+'/unit/'+_0x15f57c+_0x2ea9db(0x2b9)+_0x7326f8;return(await this[_0x2ea9db(0x1a4)]['get'](_0x180082))[_0x2ea9db(0x211)];}async['fetchMissingChangesets'](_0x1973ec,_0x28a4ef){var _0x31b27f=_0x2628af;const {unitID:_0x588fde,type:_0x5bd8ac,from:_0x338365,to:_0xb33a99}=_0x28a4ef,_0x1ab18c=this[_0x31b27f(0x405)]()+'/'+_0x5bd8ac+_0x31b27f(0x1eb)+_0x588fde+_0x31b27f(0x267)+_0x338365+_0x31b27f(0x1cf)+_0xb33a99;return(await this[_0x31b27f(0x1a4)]['get'](_0x1ab18c))[_0x31b27f(0x211)];}['getSnapshotAPIPath'](){var _0x26b2be=_0x2628af,_0x149b19;return(_0x149b19=this[_0x26b2be(0x1f7)][_0x26b2be(0x2d2)](ms))!=null?_0x149b19:this[_0x26b2be(0x405)]();}[_0x2628af(0x405)](){var _0xaf8997=_0x2628af,_0x2ddf2e,_0x5ad992;const _0x3de377=this[_0xaf8997(0x1f7)][_0xaf8997(0x2d2)](vs),_0x11691a=this[_0xaf8997(0x1f7)][_0xaf8997(0x2d2)](K);return(_0x5ad992=(_0x2ddf2e=_0x11691a==null?void 0x0:_0x11691a['snapshotServerUrl'])!=null?_0x2ddf2e:_0x3de377)!=null?_0x5ad992:ps;}async[_0x2628af(0x1dc)](_0x5d3926,_0x35946b){var _0x38cb63=_0x2628af;const _0x2e0df7=_0x38cb63(0x313)+_0x35946b[_0x38cb63(0x282)]+_0x38cb63(0x1eb)+_0x35946b[_0x38cb63(0x418)]+_0x38cb63(0x1b5);return(await this['_httpService']['get'](_0x2e0df7,{'params':{'resourceId':JSON[_0x38cb63(0x2b0)](_0x35946b[_0x38cb63(0x42d)])}}))[_0x38cb63(0x211)];}[_0x2628af(0x348)](){var _0x16d14a=_0x2628af;throw new Error(_0x16d14a(0x162));}[_0x2628af(0x261)](){var _0x17d377=_0x2628af;throw new Error(_0x17d377(0x162));}[_0x2628af(0x3b6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2628af(0x3a9)](){var _0x3201b4=_0x2628af;throw new Error(_0x3201b4(0x162));}[_0x2628af(0x3d1)](){var _0x1a5928=_0x2628af;throw new Error(_0x1a5928(0x162));}[_0x2628af(0x321)](){var _0x10910a=_0x2628af;throw new Error(_0x10910a(0x162));}};bt=cr([oi(0x0,_0x58acf0),oi(0x1,_0x4df4de(_0xfc765a))],bt);var hr=Object[_0x2628af(0x197)],_r=(_0x34819c,_0x181871,_0x2af961,_0x44272d)=>{var _0x52a6f8=_0x2628af;for(var _0x2c253d=_0x44272d>0x1?void 0x0:_0x44272d?hr(_0x181871,_0x2af961):_0x181871,_0x342d60=_0x34819c[_0x52a6f8(0x2a7)]-0x1,_0x4a1468;_0x342d60>=0x0;_0x342d60--)(_0x4a1468=_0x34819c[_0x342d60])&&(_0x2c253d=_0x4a1468(_0x2c253d)||_0x2c253d);return _0x2c253d;},we=(_0x3b3340,_0x7dbaa5)=>(_0x41e252,_0x141151)=>_0x7dbaa5(_0x41e252,_0x141151,_0x3b3340);let yt=class extends _0x133629{constructor(_0x7e7a80,_0x550a60,_0x507f96,_0xa1a087,_0x1dfe84){var _0x590c8d=_0x2628af;super(_0x7e7a80,_0x550a60,_0x507f96),this[_0x590c8d(0x2ff)]=_0xa1a087,this[_0x590c8d(0x187)]=_0x1dfe84;}[_0x2628af(0x39d)](_0x71d187,_0x1626e2){var _0x3c3160=_0x2628af;const _0x31bccd=this[_0x3c3160(0x14c)](_0x71d187);if(_0x31bccd)try{const _0x8531c0=this[_0x3c3160(0x357)](_0x31bccd,_0x1626e2);this['_substituteUndoStack'](_0x71d187,_0x8531c0);}catch(_0x5a854d){this[_0x3c3160(0x187)]['error'](_0x3c3160(0x155),_0x5a854d),this['_clearUndo'](_0x71d187);}const _0x28afc7=this[_0x3c3160(0x37b)](_0x71d187);if(_0x28afc7)try{const _0x24594c=this['_transformStack'](_0x28afc7,_0x1626e2);this[_0x3c3160(0x43f)](_0x71d187,_0x24594c);}catch(_0x434b33){this[_0x3c3160(0x187)][_0x3c3160(0x248)](_0x434b33),this[_0x3c3160(0x33b)](_0x71d187);}}['_clearUndo'](_0x1b3c38){var _0x9fd340=_0x2628af;const _0x5bcf26=this['_getUndoStack'](_0x1b3c38);_0x5bcf26&&(_0x5bcf26[_0x9fd340(0x2a7)]=0x0,this[_0x9fd340(0x36b)]());}['_clearRedo'](_0x1860d7){var _0x2d15d1=_0x2628af;const _0x3a1eeb=this[_0x2d15d1(0x37b)](_0x1860d7);_0x3a1eeb&&(_0x3a1eeb['length']=0x0,this[_0x2d15d1(0x36b)]());}[_0x2628af(0x1c1)](_0x5eb32d,_0x10ae3a){var _0x530e29=_0x2628af;this[_0x530e29(0x1b1)][_0x530e29(0x2d8)](_0x5eb32d,_0x10ae3a),this[_0x530e29(0x36b)]();}[_0x2628af(0x43f)](_0x2152b6,_0x285501){var _0x440570=_0x2628af;this['_redoStacks']['set'](_0x2152b6,_0x285501),this[_0x440570(0x36b)]();}[_0x2628af(0x357)](_0x1c50aa,_0x3be390){var _0x2b3946=_0x2628af;const _0x41d79e=[];let _0x25a94b=_0x3be390,_0xfa7595=_0x3be390;for(let _0x3bf068=_0x1c50aa[_0x2b3946(0x2a7)]-0x1;_0x3bf068>=0x0;_0x3bf068--){const {unitID:_0x455604,undoMutations:_0x539e06,redoMutations:_0x5684dd}=_0x1c50aa[_0x3bf068],_0x4159bb=this[_0x2b3946(0x2ff)]['transformMutationsWithChangeset'](_0x25a94b,_0x539e06),_0x34c592=this[_0x2b3946(0x2ff)]['transformMutationsWithChangeset'](_0xfa7595,_0x5684dd);if(_0x31834a(_0x4159bb)||_0x31834a(_0x34c592)){this[_0x2b3946(0x187)][_0x2b3946(0x248)]('[CollaborationUndoRedoService]',_0x2b3946(0x182),_0x4159bb,_0x34c592);break;}_0x25a94b=_0x4159bb['c1Prime'],_0xfa7595=_0x34c592[_0x2b3946(0x340)],_0x41d79e[_0x2b3946(0x3eb)]({'unitID':_0x455604,'undoMutations':_0x4159bb[_0x2b3946(0x3f7)],'redoMutations':_0x34c592[_0x2b3946(0x3f7)]});}return _0x41d79e[_0x2b3946(0x337)]();}};yt=_r([we(0x0,_0x55ab5c),we(0x1,_0x2d4f52),we(0x2,_0x3a9797),we(0x3,_0x1b0331),we(0x4,_0x5e8fca)],yt);var lr=Object['defineProperty'],ur=Object['getOwnPropertyDescriptor'],dr=(_0x1a7e25,_0x20e471,_0x25aeae)=>_0x20e471 in _0x1a7e25?lr(_0x1a7e25,_0x20e471,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25aeae}):_0x1a7e25[_0x20e471]=_0x25aeae,fr=(_0x4ebd28,_0x16b75d,_0x353a74,_0x24e382)=>{for(var _0x5192d9=_0x24e382>0x1?void 0x0:_0x24e382?ur(_0x16b75d,_0x353a74):_0x16b75d,_0x19f81b=_0x4ebd28['length']-0x1,_0x4e67d6;_0x19f81b>=0x0;_0x19f81b--)(_0x4e67d6=_0x4ebd28[_0x19f81b])&&(_0x5192d9=_0x4e67d6(_0x5192d9)||_0x5192d9);return _0x5192d9;},mt=(_0x24d86e,_0x4a38b4)=>(_0x1b5027,_0x19aacb)=>_0x4a38b4(_0x1b5027,_0x19aacb,_0x24d86e),vr=(_0x4cdb71,_0x3212bc,_0x402801)=>dr(_0x4cdb71,_0x3212bc+'',_0x402801);const pr=_0x2628af(0x1a3);let Nt=class extends _0xb5964b{constructor(_0x1c4a87,_0x3d8fd2,_0xfb9364,_0x43fee3){var _0x569526=_0x2628af;super(),N(this,_0x569526(0x1fb)),(this[_0x569526(0x187)]=_0x3d8fd2,this[_0x569526(0x252)]=_0xfb9364,this[_0x569526(0x1f7)]=_0x43fee3);const {..._0x4d8cbb}=_0x4d14ae({},Us,_0x1c4a87);if(!_0x4d8cbb[_0x569526(0x34f)])throw new Error(_0x569526(0x1f8));this[_0x569526(0x1fb)]=_0x4d8cbb,this[_0x569526(0x1f7)][_0x569526(0x36e)](K,_0x4d8cbb);}[_0x2628af(0x231)](){var _0x329f52=_0x2628af;this[_0x329f52(0x27c)](),this['_initDependencies']();}['_registerDependencies'](){var _0x1e960e=_0x2628af,_0x52e279,_0x228452;this[_0x1e960e(0x252)][_0x1e960e(0x27f)](_0x1eda14)&&this[_0x1e960e(0x187)]['error'](_0x1e960e(0x413),_0x1e960e(0x206));const _0x2354c4=_0x597ac7([[_0x1eda14,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x1e960e(0x1fb)][_0x1e960e(0x34f)]}],[_0x5998ee,{'useClass':bt}],[_0x117e54,{'useClass':Tt}],[_0x26aa0d,{'useClass':Rt}],[_0x149c41,{'useClass':Ot}],[nt],[It]],(_0x52e279=this[_0x1e960e(0x1fb)])==null?void 0x0:_0x52e279[_0x1e960e(0x370)]);if(!((_0x228452=this[_0x1e960e(0x1fb)])!=null&&_0x228452[_0x1e960e(0x179)])){const _0x256ab9=_0x2354c4[_0x1e960e(0x323)](([_0x297837])=>_0x297837===ht);_0x256ab9!==-0x1&&_0x2354c4[_0x1e960e(0x330)](_0x256ab9,0x1);}_0x1d91d9(this[_0x1e960e(0x252)],_0x2354c4);}['_initDependencies'](){var _0x1dab32=_0x2628af,_0x51c391,_0xe5bfc0,_0x111229;this['_injector'][_0x1dab32(0x239)](_0xfc765a)[_0x1dab32(0x16d)]({'priority':0x14,'interceptor':_0x1b38ea({'maxParallel':0x6})}),(_0x51c391=this[_0x1dab32(0x1fb)])!=null&&_0x51c391[_0x1dab32(0x23f)]||(_0xe5bfc0=this['_injector'][_0x1dab32(0x239)](J,_0x465812['OPTIONAL']))==null||_0xe5bfc0[_0x1dab32(0x366)](),(_0x111229=this[_0x1dab32(0x1fb)])!=null&&_0x111229[_0x1dab32(0x1a0)]&&_0x5e1038(this[_0x1dab32(0x252)],[[rt]]),_0x5e1038(this[_0x1dab32(0x252)],[[at],[nt],[ot]]);}};vr(Nt,'pluginName',pr),Nt=fr([_0x24e170(_0x1f4531,_0xf46791),mt(0x1,_0x5e8fca),mt(0x2,_0x4df4de(_0x1afd43)),mt(0x3,_0x58acf0)],Nt);export{Ri as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,Ss as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Pr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Dr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Is as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,As as INetworkConditionService,ht as ISingleActiveUnitService,Ar as LOCAL_CACHE_INTERVAL,Ur as LOCAL_CACHE_INTERVAL_KEY,Ns as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,wr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Rs as RETRY_CONNECTING_MAX_COUNT_KEY,Nr as SEND_CHANGESET_TIMEOUT_KEY,vs as SNAPSHOT_SERVER_URL_KEY,ms as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ws as deserializeToCombResponse,Lr as getLocalCacheKey,Ps as serializeCombRequest};
1
+ var _0x4c21f1=_0x4a57;(function(_0x46aee7,_0x4c58df){var _0x18e417=_0x4a57,_0x4a7cab=_0x46aee7();while(!![]){try{var _0x2c9bf5=-parseInt(_0x18e417(0x21b))/0x1*(-parseInt(_0x18e417(0x409))/0x2)+parseInt(_0x18e417(0x1d9))/0x3*(-parseInt(_0x18e417(0x31f))/0x4)+-parseInt(_0x18e417(0x1d8))/0x5+parseInt(_0x18e417(0x3a3))/0x6+parseInt(_0x18e417(0x2e1))/0x7*(parseInt(_0x18e417(0x3d3))/0x8)+parseInt(_0x18e417(0x3c5))/0x9*(-parseInt(_0x18e417(0x39f))/0xa)+parseInt(_0x18e417(0x3be))/0xb*(parseInt(_0x18e417(0x2e4))/0xc);if(_0x2c9bf5===_0x4c58df)break;else _0x4a7cab['push'](_0x4a7cab['shift']());}catch(_0x18f637){_0x4a7cab['push'](_0x4a7cab['shift']());}}}(_0x3757,0xe8ab4));var yi=Object[_0x4c21f1(0x459)],Ni=(_0x585145,_0xf0da62,_0x3537c2)=>_0xf0da62 in _0x585145?yi(_0x585145,_0xf0da62,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3537c2}):_0x585145[_0xf0da62]=_0x3537c2,N=(_0x2487c6,_0x121b44,_0x336b58)=>Ni(_0x2487c6,typeof _0x121b44!=_0x4c21f1(0x372)?_0x121b44+'':_0x121b44,_0x336b58);import{createIdentifier as _0x5e0479,Inject as _0x2c0a3d,Injector as _0x7fec80,IConfigService as _0x59b36e,ILogService as _0x5be82e,Disposable as _0x248507,DisposableCollection as _0x42907f,toDisposable as _0x43bc7c,IUniverInstanceService as _0xc6320,UserManagerService as _0xb5efb6,UniverInstanceType as _0x3824d6,Optional as _0x38da26,RxDisposable as _0x62afe4,Tools as _0x4d4011,Rectangle as _0xf13a0c,ICommandService as _0x1d7330,JSONX as _0x43c98d,CommandType as _0x412b2b,IUndoRedoService as _0xe9e933,IPermissionService as _0xf06b7d,LocaleService as _0xad738b,sequenceExecute as _0x42456a,Workbook as _0x139e77,generateRandomId as _0x3e0066,MentionType as _0x47fa5c,isInternalEditorID as _0x7a9bb1,LocalUndoRedoService as _0x13ebbe,IContextService as _0x3eb528,DependentOn as _0x4d8eed,Plugin as _0x4fe44d,merge as _0x1fd338,mergeOverrideWithDependencies as _0x44f33c,IAuthzIoService as _0x15be07,IMentionIOService as _0x56989e,registerDependencies as _0x532beb,Quantity as _0x341491,touchDependencies as _0x59f84a}from'@univerjs/core';import{Subject as _0x55110d,merge as _0x459593,of as _0x5c13fc,BehaviorSubject as _0x1beb74,takeUntil as _0x354b4b,ReplaySubject as _0x126bc5,take as _0x3a1840,map as _0x5d85ad,shareReplay as _0x576002,firstValueFrom as _0x43329a,concatMap as _0x50c916}from'rxjs';import{map as _0x29b017,take as _0x586fb3,filter as _0x29f54f,delay as _0xf1e479,takeUntil as _0x45ec2c}from'rxjs/operators';import{CollaborationEvent as _0x58eca8,ISnapshotServerService as _0x2caf9b,parseChangesetToProtocol as _0x1d90ca,ITransformService as _0x3072c1,isTransformMutationsWithChangesetSuccess as _0x7fd926,mapDocumentTypeToUniverType as _0x4ddb7a,RevisionService as _0x463973,isTransformChangesetsSuccess as _0x8475ed,CompressMutationService as _0x1175cb,parseProtocolChangeset as _0xbf67ec,uuidv4 as _0x1c8798,SnapshotService as _0x3555e0,textEncoder as _0xa1cd0b,b64DecodeUnicode as _0x7a0da7,isTransformMutationsWithChangesetFailure as _0x5a8716,UniverCollaborationPlugin as _0x49dbde}from'@univerjs-pro/collaboration';import{HTTPService as _0x7b7143,ISocketService as _0x283c9d,MergeInterceptorFactory as _0x5456f7,HTTPRequest as _0x18a2f3,UniverNetworkPlugin as _0x33d75,ThresholdInterceptorFactory as _0x4b3367}from'@univerjs/network';import{ITelemetryService as _0x20e1ea}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3d4928}from'@univerjs/docs';import{SheetsSelectionsService as _0x29fdcd,SetSelectionsOperation as _0x49be9d,InsertSheetMutation as _0x3d3649,EmptyMutation as _0x4b6042,WorkbookEditablePermission as _0x57efec,SheetPermissionInitController as _0x3d94e1}from'@univerjs/sheets';import{ImageSourceType as _0x422706,ImageUploadStatusType as _0x3c5bb1,IImageIoService as _0x4ebcc5}from'@univerjs/drawing';import{getGlobalObject as _0x325629}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x4c21f1(0x2b0),Ir=_0x4c21f1(0x355),gs=_0x4c21f1(0x38c),Ss=0x7530,di=_0x4c21f1(0x35d),fi=0x4e20,Es=0x4e20,Is=_0x4c21f1(0x374),Ts=0x3,Tr=_0x4c21f1(0x265),Cr=0x3e8,Cs='/universer-api/comb',Rs=_0x4c21f1(0x480),Rr=_0x4c21f1(0x3a2),Or=_0x4c21f1(0x24f);var vi=(_0x69a631=>(_0x69a631[_0x69a631[_0x4c21f1(0x33c)]=0x0]=_0x4c21f1(0x33c),_0x69a631[_0x69a631['OK']=0x1]='OK',_0x69a631[_0x69a631[_0x4c21f1(0x39b)]=0x2]=_0x4c21f1(0x39b),_0x69a631[_0x69a631[_0x4c21f1(0x1ca)]=0x3]=_0x4c21f1(0x1ca),_0x69a631[_0x69a631[_0x4c21f1(0x47d)]=0x4]='NOT_FOUND',_0x69a631[_0x69a631[_0x4c21f1(0x400)]=0x5]=_0x4c21f1(0x400),_0x69a631[_0x69a631[_0x4c21f1(0x214)]=0x6]='ALREADY_EXISTS',_0x69a631[_0x69a631[_0x4c21f1(0x283)]=0x7]=_0x4c21f1(0x283),_0x69a631[_0x69a631[_0x4c21f1(0x2a3)]=0x8]=_0x4c21f1(0x2a3),_0x69a631[_0x69a631['COMPLETION_FINISHED']=0x9]=_0x4c21f1(0x3f1),_0x69a631[_0x69a631[_0x4c21f1(0x22c)]=0xa]=_0x4c21f1(0x22c),_0x69a631[_0x69a631[_0x4c21f1(0x246)]=0xb]=_0x4c21f1(0x246),_0x69a631[_0x69a631[_0x4c21f1(0x1c7)]=0xc]=_0x4c21f1(0x1c7),_0x69a631[_0x69a631[_0x4c21f1(0x269)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x69a631[_0x69a631[_0x4c21f1(0x1e8)]=0xe]=_0x4c21f1(0x1e8),_0x69a631[_0x69a631[_0x4c21f1(0x308)]=0x1389]=_0x4c21f1(0x308),_0x69a631[_0x69a631[_0x4c21f1(0x305)]=0x1771]=_0x4c21f1(0x305),_0x69a631[_0x69a631[_0x4c21f1(0x362)]=0x1772]=_0x4c21f1(0x362),_0x69a631[_0x69a631[_0x4c21f1(0x1b9)]=0x1773]=_0x4c21f1(0x1b9),_0x69a631[_0x69a631[_0x4c21f1(0x2db)]=0x1b59]=_0x4c21f1(0x2db),_0x69a631[_0x69a631[_0x4c21f1(0x4bd)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x69a631[_0x69a631['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4c21f1(0x2ce),_0x69a631[_0x69a631['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4c21f1(0x327),_0x69a631[_0x69a631[_0x4c21f1(0x3cd)]=0x1b5d]='APPLY_DUPLICATED',_0x69a631[_0x69a631['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4c21f1(0x317),_0x69a631[_0x69a631[_0x4c21f1(0x3ae)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x69a631[_0x69a631[_0x4c21f1(0x333)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x69a631[_0x69a631['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x69a631[_0x69a631[_0x4c21f1(0x369)]=0x232c]=_0x4c21f1(0x369),_0x69a631[_0x69a631['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4c21f1(0x270),_0x69a631[_0x69a631['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4c21f1(0x41d),_0x69a631[_0x69a631['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4c21f1(0x22d),_0x69a631[_0x69a631['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4c21f1(0x2f2),_0x69a631[_0x69a631['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c21f1(0x358),_0x69a631[_0x69a631[_0x4c21f1(0x27c)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x69a631[_0x69a631[_0x4c21f1(0x361)]=0x271b]=_0x4c21f1(0x361),_0x69a631[_0x69a631['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4c21f1(0x258),_0x69a631[_0x69a631[_0x4c21f1(0x25f)]=0x271d]=_0x4c21f1(0x25f),_0x69a631[_0x69a631[_0x4c21f1(0x1da)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x69a631[_0x69a631[_0x4c21f1(0x34e)]=0x271f]=_0x4c21f1(0x34e),_0x69a631[_0x69a631[_0x4c21f1(0x320)]=0x2720]=_0x4c21f1(0x320),_0x69a631[_0x69a631['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x69a631[_0x69a631['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c21f1(0x425),_0x69a631[_0x69a631[_0x4c21f1(0x26a)]=0x2ee2]=_0x4c21f1(0x26a),_0x69a631[_0x69a631['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4c21f1(0x419),_0x69a631[_0x69a631[_0x4c21f1(0x22f)]=0x2ee4]=_0x4c21f1(0x22f),_0x69a631[_0x69a631[_0x4c21f1(0x2eb)]=0x2ee5]=_0x4c21f1(0x2eb),_0x69a631[_0x69a631[_0x4c21f1(0x478)]=0x32c9]=_0x4c21f1(0x478),_0x69a631[_0x69a631[_0x4c21f1(0x4b2)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x69a631[_0x69a631[_0x4c21f1(0x3eb)]=0x32cb]=_0x4c21f1(0x3eb),_0x69a631[_0x69a631[_0x4c21f1(0x2aa)]=-0x1]=_0x4c21f1(0x2aa),_0x69a631))(vi||{}),Z=(_0x524c9d=>(_0x524c9d[_0x524c9d['UNIVER_UNKNOWN']=0x0]=_0x4c21f1(0x414),_0x524c9d[_0x524c9d['UNIVER_DOC']=0x1]=_0x4c21f1(0x1de),_0x524c9d[_0x524c9d[_0x4c21f1(0x2d2)]=0x2]='UNIVER_SHEET',_0x524c9d[_0x524c9d[_0x4c21f1(0x378)]=0x3]=_0x4c21f1(0x378),_0x524c9d[_0x524c9d['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x524c9d[_0x524c9d[_0x4c21f1(0x2aa)]=-0x1]=_0x4c21f1(0x2aa),_0x524c9d))(Z||{}),F=(_0x283573=>(_0x283573[_0x283573['UNKNOWN_CMD']=0x0]=_0x4c21f1(0x4b8),_0x283573[_0x283573[_0x4c21f1(0x1cb)]=0x1]=_0x4c21f1(0x1cb),_0x283573[_0x283573['JOIN']=0x2]=_0x4c21f1(0x334),_0x283573[_0x283573[_0x4c21f1(0x3e1)]=0x3]=_0x4c21f1(0x3e1),_0x283573[_0x283573[_0x4c21f1(0x1fe)]=0x4]='INGEST',_0x283573[_0x283573[_0x4c21f1(0x360)]=0x5]=_0x4c21f1(0x360),_0x283573[_0x283573[_0x4c21f1(0x3ff)]=0x6]=_0x4c21f1(0x3ff),_0x283573[_0x283573[_0x4c21f1(0x2aa)]=-0x1]=_0x4c21f1(0x2aa),_0x283573))(F||{}),pe=(_0x4266cd=>(_0x4266cd[_0x4266cd['UNKNOWN_CODE']=0x0]=_0x4c21f1(0x2dc),_0x4266cd[_0x4266cd['OK']=0x1]='OK',_0x4266cd[_0x4266cd[_0x4c21f1(0x403)]=0x2]=_0x4c21f1(0x403),_0x4266cd[_0x4266cd[_0x4c21f1(0x337)]=0x3e9]=_0x4c21f1(0x337),_0x4266cd[_0x4266cd[_0x4c21f1(0x3cc)]=0x3ea]=_0x4c21f1(0x3cc),_0x4266cd[_0x4266cd[_0x4c21f1(0x48f)]=0x3eb]=_0x4c21f1(0x48f),_0x4266cd[_0x4266cd['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4c21f1(0x386),_0x4266cd[_0x4266cd['UNRECOGNIZED']=-0x1]=_0x4c21f1(0x2aa),_0x4266cd))(pe||{}),pi=(_0x2872a6=>(_0x2872a6[_0x2872a6[_0x4c21f1(0x2bb)]=0x0]='Undefined',_0x2872a6[_0x2872a6[_0x4c21f1(0x455)]=0x1]=_0x4c21f1(0x455),_0x2872a6[_0x2872a6[_0x4c21f1(0x42f)]=0x2]=_0x4c21f1(0x42f),_0x2872a6[_0x2872a6[_0x4c21f1(0x34c)]=0x3]=_0x4c21f1(0x34c),_0x2872a6[_0x2872a6[_0x4c21f1(0x331)]=0x4]=_0x4c21f1(0x331),_0x2872a6[_0x2872a6[_0x4c21f1(0x46f)]=0x5]=_0x4c21f1(0x46f),_0x2872a6[_0x2872a6[_0x4c21f1(0x2aa)]=-0x1]=_0x4c21f1(0x2aa),_0x2872a6))(pi||{});const K='collaboration-client.config',Os={};var ne=(_0x39ac8c=>(_0x39ac8c[_0x4c21f1(0x2b4)]=_0x4c21f1(0x2b4),_0x39ac8c[_0x4c21f1(0x1ca)]=_0x4c21f1(0x1ca),_0x39ac8c[_0x4c21f1(0x285)]=_0x4c21f1(0x285),_0x39ac8c[_0x4c21f1(0x32c)]=_0x4c21f1(0x32c),_0x39ac8c[_0x4c21f1(0x489)]='JOIN_ROOM_FAILED',_0x39ac8c[_0x4c21f1(0x457)]='SOCKET_FAILED_RETRY',_0x39ac8c['SOCKET_FAILED']=_0x4c21f1(0x1ea),_0x39ac8c[_0x4c21f1(0x284)]='SUBMIT_CHANGESET_TIMEOUT',_0x39ac8c))(ne||{});class ve{constructor(){var _0xdb6757=_0x4c21f1;N(this,'_event$',new _0x55110d()),N(this,_0xdb6757(0x314),this[_0xdb6757(0x21f)][_0xdb6757(0x2fc)]());}[_0x4c21f1(0x398)](_0x227727){var _0x1eeb8c=_0x4c21f1;this[_0x1eeb8c(0x21f)]['next'](_0x227727);}}const bs=_0x5e0479('univer-pro.collaboration-client.network-condition.service');function ys(_0x1835c8){var _0x47b263=_0x4c21f1,_0x1092d4,_0x3ae729,_0x57b54b,_0x23d3c0,_0x4cdcd4;const _0x1c0716=_0x1835c8[_0x47b263(0x466)],_0x2b0250=JSON['parse'](_0x1c0716);switch(_0x2b0250[_0x47b263(0x1d7)]){case F[_0x47b263(0x360)]:case F[_0x47b263(0x1cb)]:{const _0x4a34b7=_0x2b0250[_0x47b263(0x3ed)];return{..._0x2b0250,'data':_0x4a34b7,'cmd':_0x2b0250[_0x47b263(0x1d7)]};}case F[_0x47b263(0x334)]:{const _0x3e40bf=_0x2b0250[_0x47b263(0x472)];return{..._0x2b0250,'data':_0x3e40bf,'cmd':_0x2b0250[_0x47b263(0x1d7)]};}case F[_0x47b263(0x3ff)]:{const _0x4a2b65=_0x2b0250[_0x47b263(0x1c5)];switch(_0x4a2b65[_0x47b263(0x39c)]){case _0x58eca8[_0x47b263(0x271)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':(_0x1092d4=_0x4a2b65[_0x47b263(0x32d)])==null?void 0x0:_0x1092d4['cs']},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x343)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':(_0x3ae729=_0x4a2b65[_0x47b263(0x2b2)])==null?void 0x0:_0x3ae729['cs']},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x241)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':(_0x57b54b=_0x4a2b65['newCsEvent'])==null?void 0x0:_0x57b54b['cs']},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x1c1)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':(_0x23d3c0=_0x4a2b65['csRejEvent'])==null?void 0x0:_0x23d3c0['cs']},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x4ab)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':(_0x4cdcd4=_0x4a2b65[_0x47b263(0x4a1)])==null?void 0x0:_0x4cdcd4['cs']},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x2c4)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65[_0x47b263(0x21a)]},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x230)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65[_0x47b263(0x47e)]},'cmd':_0x2b0250['cmd']};case _0x58eca8[_0x47b263(0x33a)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65[_0x47b263(0x470)]},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x486)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65[_0x47b263(0x1e1)]},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x22b)]:case _0x58eca8[_0x47b263(0x2be)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65['liveShareOperation']},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x25e)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65[_0x47b263(0x1e1)]},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8['MSG_FOR_ERROR']:return{..._0x2b0250,'data':_0x4a2b65,'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x200)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65[_0x47b263(0x235)]},'cmd':_0x2b0250[_0x47b263(0x1d7)]};case _0x58eca8[_0x47b263(0x21d)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65[_0x47b263(0x45a)]},'cmd':_0x2b0250['cmd']};case _0x58eca8[_0x47b263(0x342)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65['shouldCloseConn']},'cmd':_0x2b0250['cmd']};case _0x58eca8[_0x47b263(0x27b)]:return{..._0x2b0250,'data':{..._0x4a2b65,'data':_0x4a2b65[_0x47b263(0x487)]},'cmd':_0x2b0250[_0x47b263(0x1d7)]};default:return _0x2b0250;}}default:return _0x2b0250;}}function Ns(_0x290462){var _0x4612f1=_0x4c21f1;switch(_0x290462[_0x4612f1(0x1d7)]){case F['HEARTBEAT']:case F[_0x4612f1(0x1cb)]:return JSON[_0x4612f1(0x303)]({'cmd':_0x290462[_0x4612f1(0x1d7)],'routeKey':_0x290462['routeKey']});case F[_0x4612f1(0x1fe)]:{let _0x17942f;switch(_0x290462[_0x4612f1(0x466)][_0x4612f1(0x39c)]){case _0x58eca8[_0x4612f1(0x2c4)]:{_0x17942f={'eventID':_0x58eca8[_0x4612f1(0x2c4)],'updateCursorEvent':_0x290462[_0x4612f1(0x466)][_0x4612f1(0x466)]};break;}case _0x58eca8[_0x4612f1(0x33a)]:{_0x17942f={'eventID':_0x58eca8[_0x4612f1(0x33a)],'leaveEvent':_0x290462['data'][_0x4612f1(0x466)]};break;}case _0x58eca8[_0x4612f1(0x230)]:{_0x17942f={'eventID':_0x58eca8[_0x4612f1(0x230)],'joinEvent':_0x290462[_0x4612f1(0x466)]['data']};break;}case _0x58eca8[_0x4612f1(0x486)]:{_0x17942f={'eventID':_0x58eca8[_0x4612f1(0x486)],'liveShareNewHost':_0x290462[_0x4612f1(0x466)][_0x4612f1(0x466)]};break;}case _0x58eca8[_0x4612f1(0x2be)]:{_0x17942f={'eventID':_0x58eca8['LIVESHARE_OPERATION'],'liveShareOperation':_0x290462[_0x4612f1(0x466)][_0x4612f1(0x466)]};break;}case _0x58eca8[_0x4612f1(0x25e)]:{_0x17942f={'eventID':_0x58eca8[_0x4612f1(0x25e)],'liveShareTerminate':_0x290462['data'][_0x4612f1(0x466)]};break;}case _0x58eca8['LIVESHARE_REQUEST_HOST']:{_0x17942f={'eventID':_0x58eca8[_0x4612f1(0x381)],'liveShareRequestHost':_0x290462[_0x4612f1(0x466)]['data']};break;}case _0x58eca8['LIVESHARE_FETCH_OPERATIONS']:{_0x17942f={'eventID':_0x58eca8[_0x4612f1(0x22b)]};break;}default:_0x17942f={'eventID':_0x290462['data'][_0x4612f1(0x39c)]};}return JSON[_0x4612f1(0x303)]({'cmd':_0x290462[_0x4612f1(0x1d7)],'routeKey':_0x290462[_0x4612f1(0x36b)],'collaMsg':_0x17942f});}case F[_0x4612f1(0x334)]:return JSON[_0x4612f1(0x303)]({'cmd':_0x290462[_0x4612f1(0x1d7)],'routeKey':_0x290462[_0x4612f1(0x36b)],'joinReq':_0x290462['data']});case F['LEAVE']:return JSON[_0x4612f1(0x303)]({'cmd':_0x290462[_0x4612f1(0x1d7)],'routeKey':_0x290462[_0x4612f1(0x36b)],'leaveReq':_0x290462[_0x4612f1(0x466)]});default:throw new Error(_0x4612f1(0x2e9));}}var Ds=Object['getOwnPropertyDescriptor'],Us=(_0x14f1c6,_0x5bfda4,_0x5e4278,_0x5ccb4b)=>{var _0x5159d7=_0x4c21f1;for(var _0x210fcd=_0x5ccb4b>0x1?void 0x0:_0x5ccb4b?Ds(_0x5bfda4,_0x5e4278):_0x5bfda4,_0x3b391c=_0x14f1c6[_0x5159d7(0x1d3)]-0x1,_0x4e2543;_0x3b391c>=0x0;_0x3b391c--)(_0x4e2543=_0x14f1c6[_0x3b391c])&&(_0x210fcd=_0x4e2543(_0x210fcd)||_0x210fcd);return _0x210fcd;},De=(_0x3252e7,_0x44f557)=>(_0x474502,_0x1bff6b)=>_0x44f557(_0x474502,_0x1bff6b,_0x3252e7);const mi=_0x5e0479('univer-pro.collaboration-client-socket-service');function As(_0x42fa48,_0x3e7d91,_0x16a694){var _0x3a49a8=_0x4c21f1;return _0x42fa48+'/'+_0x3e7d91+'/unit/'+_0x16a694+_0x3a49a8(0x336);}let Ft=class extends _0x248507{constructor(_0x9512a5,_0x41d977,_0x4603e3,_0x240111,_0x158488){var _0x534c3a=_0x4c21f1;super(),this['_injector']=_0x9512a5,this[_0x534c3a(0x41e)]=_0x41d977,this[_0x534c3a(0x4be)]=_0x4603e3,this[_0x534c3a(0x2ca)]=_0x240111,this['_snapshotServerService']=_0x158488;}[_0x4c21f1(0x29f)](_0x237d4a){var _0x552dc3=_0x4c21f1;const _0x10bc69=this[_0x552dc3(0x1f6)][_0x552dc3(0x377)](_0x283c9d);if(!_0x10bc69)throw new Error(_0x552dc3(0x34a));const _0x186986=_0x10bc69[_0x552dc3(0x322)](_0x237d4a);if(!_0x186986)throw new Error(_0x552dc3(0x38e));const _0xc39599=new _0x42907f(),_0x183f36=new _0x55110d();_0xc39599[_0x552dc3(0x1c4)](_0x186986['close$'][_0x552dc3(0x233)](_0x4c7cea=>_0x183f36['next'](_0x4c7cea))),_0xc39599[_0x552dc3(0x1c4)](_0x43bc7c(()=>_0x183f36[_0x552dc3(0x215)]()));const _0x2206d1=new _0x55110d();_0xc39599[_0x552dc3(0x1c4)](_0x186986[_0x552dc3(0x376)][_0x552dc3(0x233)](_0x4039ec=>_0x2206d1['next'](_0x4039ec))),_0xc39599[_0x552dc3(0x1c4)](_0x43bc7c(()=>_0x2206d1[_0x552dc3(0x215)]()));const _0x117470=new _0x55110d();_0xc39599[_0x552dc3(0x1c4)](_0x186986[_0x552dc3(0x37f)][_0x552dc3(0x233)](_0x46e493=>{var _0x4c7196=_0x552dc3;const _0x1388ff=ys(_0x46e493);_0x117470[_0x4c7196(0x363)](_0x1388ff);})),_0xc39599[_0x552dc3(0x1c4)](_0x43bc7c(()=>_0x117470[_0x552dc3(0x215)]()));let _0x5a254c;const _0x37cf01=()=>{var _0x3fb11c=_0x552dc3;_0x2206d1[_0x3fb11c(0x363)](new Event(_0x3fb11c(0x2b9))),_0x183f36[_0x3fb11c(0x363)](new Event(_0x3fb11c(0x2b9))),_0x5a254c[_0x3fb11c(0x44a)]();};return _0x5a254c={'memberID':'','close$':_0x183f36[_0x552dc3(0x2fc)](),'error$':_0x2206d1[_0x552dc3(0x2fc)](),'open$':_0x186986[_0x552dc3(0x268)],'message$':_0x117470['asObservable'](),'send':_0x42d449=>{var _0x568aed=_0x552dc3;if(_0x42d449[_0x568aed(0x1d7)]===F[_0x568aed(0x1fe)]){if(_0x42d449[_0x568aed(0x466)][_0x568aed(0x39c)]===_0x58eca8[_0x568aed(0x306)]){this['_submitChangeset'](_0x5a254c,_0x42d449[_0x568aed(0x466)])[_0x568aed(0x37a)](_0x1af977=>{var _0x3d0bbf=_0x568aed;this[_0x3d0bbf(0x2ca)][_0x3d0bbf(0x3f4)](_0x1af977),_0x37cf01();});return;}if(_0x42d449[_0x568aed(0x466)][_0x568aed(0x39c)]===_0x58eca8[_0x568aed(0x1f3)]){const _0xaeaa14=_0x42d449[_0x568aed(0x466)];this['_fetchMissChangesets'](_0xaeaa14)[_0x568aed(0x213)](_0x1158d6=>{var _0x4f2a76=_0x568aed;_0x117470[_0x4f2a76(0x363)]({'cmd':F[_0x4f2a76(0x3ff)],'code':pe['OK'],'routeKey':_0xaeaa14[_0x4f2a76(0x466)][_0x4f2a76(0x338)],'routeType':'','data':{'eventID':_0x58eca8[_0x4f2a76(0x2f6)],'data':{'changesets':_0x1158d6}}});})[_0x568aed(0x37a)](_0x2e7af0=>{var _0x58836d=_0x568aed;this[_0x58836d(0x2ca)][_0x58836d(0x3f4)](_0x2e7af0),_0x37cf01();});return;}}_0x186986['send'](Ns(_0x42d449));},'close':()=>{var _0x424bd7=_0x552dc3;_0x186986[_0x424bd7(0x44a)](),_0xc39599[_0x424bd7(0x38f)]();}},_0x5a254c;}async[_0x4c21f1(0x2d3)](_0x408b6f,_0x290738){var _0x25e588=_0x4c21f1,_0x320904;const {unitType:_0x5d191f,unitID:_0x353207,changeset:_0x5d62cd}=_0x290738['data'],_0x419b14={'unitID':_0x353207,'memberID':_0x408b6f['memberID'],'type':_0x5d191f,'changeset':_0x1d90ca(_0x5d62cd)},_0x506d65=this[_0x25e588(0x4be)][_0x25e588(0x49f)](K),_0x4b3594=As((_0x320904=_0x506d65==null?void 0x0:_0x506d65['collabSubmitChangesetUrl'])!=null?_0x320904:Cs,_0x5d191f,_0x353207);try{await this['_httpService']['post'](_0x4b3594,{'body':_0x419b14});}catch(_0x27b77e){throw this[_0x25e588(0x2ca)]['error']('[CollaborationSession]',_0x25e588(0x263)),_0x27b77e;}}async[_0x4c21f1(0x2d7)](_0x1d24c2){var _0x56f1b4=_0x4c21f1;const {unitID:_0x3091d2,from:_0x46e3eb,to:_0x519607,unitType:_0x2a4182}=_0x1d24c2[_0x56f1b4(0x466)];return(await this[_0x56f1b4(0x388)][_0x56f1b4(0x266)]({'metadata':void 0x0},{'unitID':_0x3091d2,'type':_0x2a4182,'from':_0x46e3eb,'to':_0x519607}))['changesets'];}};Ft=Us([De(0x0,_0x2c0a3d(_0x7fec80)),De(0x1,_0x2c0a3d(_0x7b7143)),De(0x2,_0x59b36e),De(0x3,_0x5be82e),De(0x4,_0x2caf9b)],Ft);const ws=_0x4c21f1(0x408);function Ps(_0x22f9b2){var _0x7776f8=_0x4c21f1;return JSON[_0x7776f8(0x303)](_0x22f9b2)[_0x7776f8(0x1d3)];}class gi{constructor(){var _0x85daf2=_0x4c21f1;N(this,'_commentUpdate$',new _0x55110d()),N(this,_0x85daf2(0x353),this[_0x85daf2(0x1cc)]['asObservable']());}[_0x4c21f1(0x29d)](_0x5dda6e){var _0x382be2=_0x4c21f1;this[_0x382be2(0x1cc)][_0x382be2(0x363)](_0x5dda6e);}}var Ms=Object[_0x4c21f1(0x23a)],Ls=(_0x3b3025,_0x40607c,_0x493b2e,_0xff0f4f)=>{var _0x26c6da=_0x4c21f1;for(var _0x3b6c14=_0xff0f4f>0x1?void 0x0:_0xff0f4f?Ms(_0x40607c,_0x493b2e):_0x40607c,_0x1a302f=_0x3b3025[_0x26c6da(0x1d3)]-0x1,_0x2cfb02;_0x1a302f>=0x0;_0x1a302f--)(_0x2cfb02=_0x3b3025[_0x1a302f])&&(_0x3b6c14=_0x2cfb02(_0x3b6c14)||_0x3b6c14);return _0x3b6c14;},Vt=(_0xdc15ae,_0x1db2f3)=>(_0x36799f,_0xf7d4b9)=>_0x1db2f3(_0x36799f,_0xf7d4b9,_0xdc15ae);let we=class extends _0x248507{constructor(_0x193dc8,_0x165279){var _0x348ff3=_0x4c21f1;super(),N(this,_0x348ff3(0x436),new Map()),N(this,_0x348ff3(0x231),new _0x55110d()),(this[_0x348ff3(0x2b5)]=_0x193dc8,this[_0x348ff3(0x3e6)]=_0x165279,this[_0x348ff3(0x4b7)](_0x459593(this[_0x348ff3(0x2b5)][_0x348ff3(0x35b)](_0x3824d6['UNIVER_SHEET'])[_0x348ff3(0x3f2)](_0x29b017(_0x4220a9=>_0x4220a9[_0x348ff3(0x402)]())),this[_0x348ff3(0x2b5)][_0x348ff3(0x35b)](_0x3824d6['UNIVER_DOC'])[_0x348ff3(0x3f2)](_0x29b017(_0x2ba15f=>_0x2ba15f['getUnitId']())),this[_0x348ff3(0x2b5)]['getTypeOfUnitDisposed$'](_0x3824d6[_0x348ff3(0x378)])[_0x348ff3(0x3f2)](_0x29b017(_0x24b868=>_0x24b868[_0x348ff3(0x402)]())))[_0x348ff3(0x233)](_0x69a96e=>this[_0x348ff3(0x426)](_0x69a96e))));}[_0x4c21f1(0x251)](_0x31c013){var _0x5c3955=_0x4c21f1;return this[_0x5c3955(0x436)][_0x5c3955(0x219)](_0x31c013)?_0x5c13fc(this[_0x5c3955(0x436)][_0x5c3955(0x377)](_0x31c013)):this[_0x5c3955(0x231)][_0x5c3955(0x3f2)](_0x29b017(_0x1715f9=>{var _0x5d3619=_0x5c3955;if(_0x1715f9===_0x31c013)return this[_0x5d3619(0x436)]['get'](_0x1715f9);}));}[_0x4c21f1(0x2c8)](_0xb05257){var _0x59a353=_0x4c21f1;this['_userManagerService'][_0x59a353(0x2c8)](_0xb05257);}['getCurrentUser'](){var _0x5d1670=_0x4c21f1;return this[_0x5d1670(0x3e6)]['getCurrentUser']();}[_0x4c21f1(0x2b7)](_0x1e140d,_0x4bfe75){var _0x206cd9=_0x4c21f1;let _0x31b9a9=this[_0x206cd9(0x436)][_0x206cd9(0x377)](_0x1e140d);_0x31b9a9||(_0x31b9a9=new xs(),this[_0x206cd9(0x436)][_0x206cd9(0x32e)](_0x1e140d,_0x31b9a9),this['_roomCreated$'][_0x206cd9(0x363)](_0x1e140d)),_0x31b9a9[_0x206cd9(0x2b7)](_0x4bfe75);}[_0x4c21f1(0x3f9)](_0x4b135b,_0x7b2567){var _0x34c632=_0x4c21f1;const _0x2702c1=this[_0x34c632(0x436)][_0x34c632(0x377)](_0x4b135b);_0x2702c1&&_0x2702c1['removeMember'](_0x7b2567);}[_0x4c21f1(0x207)](_0xb4dfc){var _0x585898=_0x4c21f1;return this[_0x585898(0x436)][_0x585898(0x377)](_0xb4dfc);}[_0x4c21f1(0x1df)](_0x5a2dd0,_0x376866){var _0x33519f=_0x4c21f1;const _0xaa9278=this['_roomMembers'][_0x33519f(0x377)](_0x5a2dd0);if(_0xaa9278)return _0xaa9278[_0x33519f(0x1df)](_0x376866);}[_0x4c21f1(0x426)](_0x1c4b0c){var _0x116808=_0x4c21f1;const _0x2d9037=this[_0x116808(0x436)][_0x116808(0x377)](_0x1c4b0c);_0x2d9037&&(_0x2d9037[_0x116808(0x38f)](),this[_0x116808(0x436)][_0x116808(0x4b9)](_0x1c4b0c));}['dispose'](){var _0x4647b6=_0x4c21f1;this['_roomMembers'][_0x4647b6(0x447)](_0x3cf346=>_0x3cf346[_0x4647b6(0x38f)]()),this[_0x4647b6(0x436)]['clear'](),this[_0x4647b6(0x231)][_0x4647b6(0x215)]();}};we=Ls([Vt(0x0,_0xc6320),Vt(0x1,_0x2c0a3d(_0xb5efb6))],we);class xs extends _0x248507{constructor(){var _0x257208=_0x4c21f1;super(...arguments),N(this,'_members',new Map()),N(this,_0x257208(0x415),new _0x1beb74(this[_0x257208(0x229)])),N(this,_0x257208(0x1d4),this['_members$']['asObservable']());}['dispose'](){var _0x3acad1=_0x4c21f1;this[_0x3acad1(0x229)][_0x3acad1(0x3bf)]();}['updateMember'](_0x41edb6){var _0xcdc90e=_0x4c21f1;this[_0xcdc90e(0x229)][_0xcdc90e(0x32e)](_0x41edb6[_0xcdc90e(0x3d0)],_0x41edb6),this[_0xcdc90e(0x41a)]();}[_0x4c21f1(0x3f9)](_0x4fb9db){var _0xd7ff1f=_0x4c21f1;this['_members'][_0xd7ff1f(0x4b9)](_0x4fb9db);}[_0x4c21f1(0x1df)](_0x10a33e){var _0xb6d862=_0x4c21f1;return this[_0xb6d862(0x229)][_0xb6d862(0x377)](_0x10a33e);}[_0x4c21f1(0x49d)](){var _0x43e632=_0x4c21f1;return Array[_0x43e632(0x3b6)](this[_0x43e632(0x229)]['values']());}[_0x4c21f1(0x41a)](){var _0x2c9845=_0x4c21f1;this[_0x2c9845(0x415)]['next'](this[_0x2c9845(0x229)]);}}var ks=Object[_0x4c21f1(0x23a)],$s=(_0x20a855,_0x398d8c,_0x5b4f87,_0x5677bd)=>{for(var _0xe9120c=_0x5677bd>0x1?void 0x0:_0x5677bd?ks(_0x398d8c,_0x5b4f87):_0x398d8c,_0x514aac=_0x20a855['length']-0x1,_0x50eacb;_0x514aac>=0x0;_0x514aac--)(_0x50eacb=_0x20a855[_0x514aac])&&(_0xe9120c=_0x50eacb(_0xe9120c)||_0xe9120c);return _0xe9120c;},Ce=(_0x57287b,_0x592e71)=>(_0x11ba72,_0x629355)=>_0x592e71(_0x11ba72,_0x629355,_0x57287b),ge=(_0x1a303b=>(_0x1a303b[_0x1a303b[_0x4c21f1(0x274)]=0x0]=_0x4c21f1(0x274),_0x1a303b[_0x1a303b[_0x4c21f1(0x225)]=0x1]='JOINING',_0x1a303b[_0x1a303b['OFFLINE']=0x2]=_0x4c21f1(0x1bc),_0x1a303b[_0x1a303b[_0x4c21f1(0x287)]=0x3]='ONLINE',_0x1a303b))(ge||{});const Wt={[pe[_0x4c21f1(0x403)]]:_0x4c21f1(0x37c),[pe[_0x4c21f1(0x337)]]:_0x4c21f1(0x276),[pe[_0x4c21f1(0x3cc)]]:_0x4c21f1(0x2fa),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x4c21f1(0x210),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x4c21f1(0x45c)};let gt=class extends _0x62afe4{constructor(_0x5ec5e0,_0x3096a9,_0x3f1adc,_0x4a19a4,_0x2ce552,_0x51d3fb,_0x2d067d,_0x6dc793){var _0x28851c=_0x4c21f1;super(),N(this,_0x28851c(0x1e9),new _0x1beb74(0x0)),N(this,_0x28851c(0x364),this[_0x28851c(0x1e9)][_0x28851c(0x2fc)]()),N(this,_0x28851c(0x21f),new _0x55110d()),N(this,_0x28851c(0x314),this[_0x28851c(0x21f)][_0x28851c(0x2fc)]()),N(this,_0x28851c(0x438)),N(this,_0x28851c(0x29a)),N(this,_0x28851c(0x38a)),N(this,_0x28851c(0x4a6),!0x1),N(this,_0x28851c(0x26b),null),(this[_0x28851c(0x1d5)]=_0x5ec5e0,this[_0x28851c(0x2ca)]=_0x3f1adc,this[_0x28851c(0x4be)]=_0x4a19a4,this['_memberService']=_0x2ce552,this[_0x28851c(0x2f0)]=_0x51d3fb,this[_0x28851c(0x2e0)]=_0x2d067d,this[_0x28851c(0x3ba)]=_0x6dc793,this['_shouldReportTelemetry']=!!this[_0x28851c(0x3ba)],_0x3096a9['pipe'](_0x354b4b(this[_0x28851c(0x236)]))['subscribe'](_0x4f7fd9=>{var _0x105a45=_0x28851c,_0x26c511;typeof _0x4f7fd9>'u'||(this[_0x105a45(0x438)]=_0x4f7fd9,_0x4f7fd9?(this[_0x105a45(0x1ee)](_0x4f7fd9),this[_0x105a45(0x29a)]=_0x4f7fd9[_0x105a45(0x37f)][_0x105a45(0x233)](_0x1f2854=>{var _0x21fde2=_0x105a45;_0x1f2854[_0x21fde2(0x36b)]===this[_0x21fde2(0x1d5)]&&this['_onCombEvent'](_0x1f2854);})):(this[_0x105a45(0x473)](),this[_0x105a45(0x1e9)]['next'](0x2),(_0x26c511=this[_0x105a45(0x29a)])==null||_0x26c511[_0x105a45(0x20d)](),this[_0x105a45(0x29a)]=null));}));}get[_0x4c21f1(0x293)](){var _0x5a7f9e=_0x4c21f1;return this[_0x5a7f9e(0x1e9)][_0x5a7f9e(0x3b5)]();}[_0x4c21f1(0x1e0)](){var _0x4cff8a=_0x4c21f1,_0x537d2d,_0x2ef771;return(_0x2ef771=(_0x537d2d=this['_socket'])==null?void 0x0:_0x537d2d[_0x4cff8a(0x3d0)])!=null?_0x2ef771:null;}[_0x4c21f1(0x38f)](){var _0xfbd9ca=_0x4c21f1;super[_0xfbd9ca(0x38f)](),this[_0xfbd9ca(0x236)]['next'](),this[_0xfbd9ca(0x236)][_0xfbd9ca(0x215)]();}['close'](){var _0x1c6126=_0x4c21f1,_0x1dbb8c,_0x239beb;this[_0x1c6126(0x473)](),(_0x1dbb8c=this[_0x1c6126(0x438)])==null||_0x1dbb8c[_0x1c6126(0x4c0)]({'cmd':F[_0x1c6126(0x3e1)],'data':{'roomID':this[_0x1c6126(0x1d5)]}}),(_0x239beb=this[_0x1c6126(0x438)])==null||_0x239beb[_0x1c6126(0x44a)](),this['_event$'][_0x1c6126(0x215)](),this['_sessionStatus$'][_0x1c6126(0x215)](),this['dispose']();}[_0x4c21f1(0x3f3)](_0x28e313){var _0x262499=_0x4c21f1;_0x28e313['cmd']===F[_0x262499(0x334)]?this[_0x262499(0x30f)](_0x28e313):_0x28e313[_0x262499(0x1d7)]===F[_0x262499(0x3ff)]&&this[_0x262499(0x31e)](_0x28e313);}[_0x4c21f1(0x1ee)](_0x3fd8c7){var _0x45d722=_0x4c21f1;this['_sessionStatus$'][_0x45d722(0x363)](0x1),_0x3fd8c7[_0x45d722(0x4c0)]({'cmd':F[_0x45d722(0x334)],'routeKey':this[_0x45d722(0x1d5)],'routeType':'','data':{'rooms':[{'roomID':this[_0x45d722(0x1d5)]}]}});}[_0x4c21f1(0x30f)](_0x4b3d04){var _0x1315da=_0x4c21f1,_0x185927;if(_0x4b3d04['code']in Wt){this[_0x1315da(0x2e0)]['emitEvent']({'id':ne[_0x1315da(0x489)],'data':Wt[_0x4b3d04[_0x1315da(0x36f)]]}),this[_0x1315da(0x1e9)][_0x1315da(0x363)](0x2);return;}this[_0x1315da(0x1e9)][_0x1315da(0x363)](0x3);const _0x35ba84=(_0x185927=_0x4b3d04[_0x1315da(0x466)][_0x1315da(0x2cd)][this['_unitID']])==null?void 0x0:_0x185927[_0x1315da(0x1e6)];_0x35ba84&&_0x35ba84[_0x1315da(0x447)](_0x3fd45a=>this[_0x1315da(0x256)]['updateMember'](this['_unitID'],_0x3fd45a));}[_0x4c21f1(0x31e)](_0x9e9c9d){var _0x9f2005=_0x4c21f1;try{const _0x2708e7=_0x9e9c9d[_0x9f2005(0x466)];switch(_0x2708e7[_0x9f2005(0x39c)]){case _0x58eca8[_0x9f2005(0x230)]:this['_onUserJoin'](_0x2708e7),this[_0x9f2005(0x21f)][_0x9f2005(0x363)](_0x2708e7);break;case _0x58eca8[_0x9f2005(0x33a)]:this['_onUserLeave'](_0x2708e7),this[_0x9f2005(0x21f)]['next'](_0x2708e7);break;case _0x58eca8[_0x9f2005(0x343)]:case _0x58eca8[_0x9f2005(0x4ab)]:this[_0x9f2005(0x212)](),this[_0x9f2005(0x22a)](),this[_0x9f2005(0x21f)]['next'](_0x2708e7);break;case _0x58eca8['MSG_FOR_ERROR']:this[_0x9f2005(0x2ca)][_0x9f2005(0x3f4)](_0x9f2005(0x40d)+JSON[_0x9f2005(0x303)](_0x2708e7)),this['_event$'][_0x9f2005(0x363)](_0x2708e7);break;case _0x58eca8[_0x9f2005(0x200)]:this[_0x9f2005(0x2f0)][_0x9f2005(0x29d)](_0x2708e7[_0x9f2005(0x466)]),this[_0x9f2005(0x21f)]['next'](_0x2708e7);break;default:this[_0x9f2005(0x21f)][_0x9f2005(0x363)](_0x2708e7);}}catch(_0x26f28c){this[_0x9f2005(0x2ca)][_0x9f2005(0x3f4)](_0x26f28c,_0x9e9c9d);}}['_onUserJoin'](_0x473c06){var _0x593559=_0x4c21f1;this[_0x593559(0x256)]['updateMember'](this[_0x593559(0x1d5)],_0x473c06[_0x593559(0x466)]);}[_0x4c21f1(0x281)](_0x4dbadf){var _0x55c1b6=_0x4c21f1;this[_0x55c1b6(0x256)]['removeMember'](this['_unitID'],_0x4dbadf[_0x55c1b6(0x466)][_0x55c1b6(0x3d0)]);}async[_0x4c21f1(0x4c0)](_0xd19c33,_0x351168){var _0x2c7454=_0x4c21f1;if(this[_0x2c7454(0x293)]!==0x3||!this[_0x2c7454(0x438)])throw new Error(_0x2c7454(0x1f5));try{_0xd19c33[_0x2c7454(0x39c)]===_0x58eca8[_0x2c7454(0x306)]&&(this[_0x2c7454(0x3fc)](),this[_0x2c7454(0x1e4)](_0xd19c33)),this[_0x2c7454(0x438)][_0x2c7454(0x4c0)]({'cmd':F['INGEST'],'routeKey':_0x351168,'routeType':'','data':_0xd19c33});}catch(_0x3d1ad4){this[_0x2c7454(0x2ca)][_0x2c7454(0x3f4)](_0x3d1ad4);}}[_0x4c21f1(0x3fc)](){var _0x5a7499=_0x4c21f1,_0x26e436;this[_0x5a7499(0x38a)]=setTimeout(()=>{var _0x26e946=_0x5a7499;this[_0x26e946(0x38a)]=null,this[_0x26e946(0x2e0)][_0x26e946(0x398)]({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x26e436=this[_0x5a7499(0x4be)][_0x5a7499(0x49f)](di))!=null?_0x26e436:fi);}[_0x4c21f1(0x22a)](){var _0x17560c=_0x4c21f1;this[_0x17560c(0x38a)]&&(clearTimeout(this[_0x17560c(0x38a)]),this[_0x17560c(0x38a)]=null);}[_0x4c21f1(0x1e4)](_0x5f351a){var _0x517655=_0x4c21f1;if(!this[_0x517655(0x4a6)])return;const {data:_0xadb658}=_0x5f351a,{unitID:_0x2c919a,changeset:_0x1a78dd}=_0xadb658,{mutations:_0x1f7df6,type:_0x4cda74}=_0x1a78dd;this[_0x517655(0x26b)]={'unitId':_0x2c919a,'type':_0x4cda74,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x1f7df6)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1a0575=_0x4c21f1;if(this[_0x1a0575(0x4a6)]){if(!this[_0x1a0575(0x26b)]){this[_0x1a0575(0x2ca)][_0x1a0575(0x3f4)](_0x1a0575(0x3ce),_0x1a0575(0x23d));return;}this[_0x1a0575(0x26b)][_0x1a0575(0x275)]=performance[_0x1a0575(0x3de)](),this['_telemetryInfo'][_0x1a0575(0x424)]=this['_telemetryInfo']['stopTime']-this[_0x1a0575(0x26b)][_0x1a0575(0x44e)],this[_0x1a0575(0x3ba)][_0x1a0575(0x1f2)](ws,this[_0x1a0575(0x26b)]),this[_0x1a0575(0x26b)]=null;}}[_0x4c21f1(0x473)](){var _0x114b34=_0x4c21f1;this[_0x114b34(0x26b)]=null;}};gt=$s([Ce(0x2,_0x5be82e),Ce(0x3,_0x59b36e),Ce(0x4,_0x2c0a3d(we)),Ce(0x5,_0x2c0a3d(gi)),Ce(0x6,_0x2c0a3d(ve)),Ce(0x7,_0x38da26(_0x20e1ea))],gt);var Hs=Object[_0x4c21f1(0x23a)],Bs=(_0x58d80f,_0x4b438e,_0x378fd2,_0x48b388)=>{for(var _0x34b46b=_0x48b388>0x1?void 0x0:_0x48b388?Hs(_0x4b438e,_0x378fd2):_0x4b438e,_0x5d826=_0x58d80f['length']-0x1,_0x168af0;_0x5d826>=0x0;_0x5d826--)(_0x168af0=_0x58d80f[_0x5d826])&&(_0x34b46b=_0x168af0(_0x34b46b)||_0x34b46b);return _0x34b46b;},Re=(_0xdd7d18,_0x507247)=>(_0x213ada,_0x2c95ee)=>_0x507247(_0x213ada,_0x2c95ee,_0xdd7d18);let Pe=class extends _0x248507{constructor(_0x4aa969,_0x50faa4,_0x4798ee,_0x1fa229,_0x31ba4a,_0x9f9eec){var _0x5b669f=_0x4c21f1;super(),N(this,'_socket$',new _0x1beb74(void 0x0)),N(this,'socket$',this['_socket$'][_0x5b669f(0x2fc)]()),N(this,_0x5b669f(0x40e),null),N(this,_0x5b669f(0x217),new Map()),N(this,_0x5b669f(0x2a0),new _0x1beb74(ge[_0x5b669f(0x274)])),N(this,_0x5b669f(0x3a5),this[_0x5b669f(0x2a0)][_0x5b669f(0x2fc)]()),N(this,'_socketReady',!0x1),N(this,_0x5b669f(0x395)),N(this,_0x5b669f(0x485),0x0),N(this,_0x5b669f(0x49c)),N(this,'_timeoutTimer'),(this[_0x5b669f(0x1f6)]=_0x4aa969,this[_0x5b669f(0x2ca)]=_0x50faa4,this[_0x5b669f(0x4be)]=_0x4798ee,this[_0x5b669f(0x3d8)]=_0x1fa229,this[_0x5b669f(0x2e0)]=_0x31ba4a,this[_0x5b669f(0x201)]=_0x9f9eec,this['_listenToNetworkCondition']());}get[_0x4c21f1(0x438)](){var _0xa26c42=_0x4c21f1;return this[_0xa26c42(0x1c3)][_0xa26c42(0x3b5)]();}[_0x4c21f1(0x221)](){var _0x2b2fb6=_0x4c21f1;this[_0x2b2fb6(0x201)]&&this[_0x2b2fb6(0x4b7)](this[_0x2b2fb6(0x201)][_0x2b2fb6(0x3d9)]['subscribe'](_0x5abc01=>{var _0x2b0f44=_0x2b2fb6;_0x5abc01&&!this['_socket']&&this[_0x2b0f44(0x4ae)](),_0x5abc01||this[_0x2b0f44(0x3c7)]();}));}[_0x4c21f1(0x38f)](){var _0x16a2e9=_0x4c21f1;super[_0x16a2e9(0x38f)](),this[_0x16a2e9(0x27d)](),this[_0x16a2e9(0x2ef)](),this[_0x16a2e9(0x442)](),this[_0x16a2e9(0x217)][_0x16a2e9(0x447)](_0x51bb56=>_0x51bb56[_0x16a2e9(0x38f)]()),this['_sessions'][_0x16a2e9(0x3bf)](),this[_0x16a2e9(0x2a0)][_0x16a2e9(0x215)]();}async[_0x4c21f1(0x453)](_0x4933aa){var _0x513975=_0x4c21f1;if(this[_0x513975(0x217)]['has'](_0x4933aa))return this[_0x513975(0x217)][_0x513975(0x377)](_0x4933aa);this[_0x513975(0x383)]();const _0x3ff64c=this[_0x513975(0x1f6)][_0x513975(0x404)](gt,_0x4933aa,this[_0x513975(0x1c3)][_0x513975(0x2fc)]());return this['_sessions'][_0x513975(0x32e)](_0x4933aa,_0x3ff64c),_0x3ff64c;}[_0x4c21f1(0x3a4)](_0x22af58){var _0x26cead=_0x4c21f1,_0x594754;const _0x2d6482=this[_0x26cead(0x217)][_0x26cead(0x377)](_0x22af58);_0x2d6482&&(this[_0x26cead(0x217)][_0x26cead(0x4b9)](_0x22af58),_0x2d6482[_0x26cead(0x44a)]()),this['_sessions'][_0x26cead(0x2b8)]||(_0x594754=this[_0x26cead(0x438)])==null||_0x594754['close']();}[_0x4c21f1(0x4ae)](){var _0x35e42f=_0x4c21f1;this[_0x35e42f(0x485)]=0x0,this[_0x35e42f(0x27d)](),this[_0x35e42f(0x294)]();}[_0x4c21f1(0x27d)](){var _0x330569=_0x4c21f1;this[_0x330569(0x395)]!=null&&(clearTimeout(this[_0x330569(0x395)]),this[_0x330569(0x395)]=null);}async[_0x4c21f1(0x318)](){var _0x5e3a8e=_0x4c21f1,_0x5cab19;const _0x2cd3b6=this[_0x5e3a8e(0x4be)][_0x5e3a8e(0x49f)](K),_0x33c5be=(_0x5cab19=_0x2cd3b6==null?void 0x0:_0x2cd3b6['collabWebSocketUrl'])!=null?_0x5cab19:ms,_0x4cef87=await this[_0x5e3a8e(0x3d8)][_0x5e3a8e(0x322)](_0x33c5be);return this[_0x5e3a8e(0x40e)]=_0x4cef87,_0x4cef87;}async[_0x4c21f1(0x383)](){var _0x44a454=_0x4c21f1,_0x32b0c4,_0x1ff9ca;try{const _0x55a0b8=(_0x1ff9ca=(_0x32b0c4=this[_0x44a454(0x438)])!=null?_0x32b0c4:this[_0x44a454(0x40e)])!=null?_0x1ff9ca:await this[_0x44a454(0x318)]();if(_0x55a0b8){const _0x4bc205=_0x55a0b8[_0x44a454(0x4c0)];_0x55a0b8[_0x44a454(0x4c0)]=_0x5ac10f=>(this['_rescheduleHeartbeat'](),_0x4bc205[_0x44a454(0x31a)](_0x55a0b8,[_0x5ac10f])),_0x55a0b8['message$'][_0x44a454(0x233)](_0x4a382b=>this[_0x44a454(0x440)](_0x55a0b8,_0x4a382b)),_0x55a0b8[_0x44a454(0x376)][_0x44a454(0x3f2)](_0x586fb3(0x1))['subscribe'](_0x2b6bcf=>this[_0x44a454(0x2ca)][_0x44a454(0x3f4)](_0x44a454(0x48d),_0x2b6bcf)),_0x55a0b8[_0x44a454(0x268)][_0x44a454(0x3f2)](_0x586fb3(0x1))[_0x44a454(0x233)](()=>{var _0x38796c=_0x44a454;this[_0x38796c(0x496)](_0x55a0b8);}),_0x55a0b8['close$']['pipe'](_0x586fb3(0x1))[_0x44a454(0x233)](_0x47322d=>{var _0x258e87=_0x44a454;this[_0x258e87(0x2ca)][_0x258e87(0x42b)](_0x258e87(0x39d),_0x258e87(0x3e2),_0x47322d),this[_0x258e87(0x385)]();});}}catch(_0x3b6f65){this[_0x44a454(0x2ca)][_0x44a454(0x3f4)](_0x3b6f65),this[_0x44a454(0x385)]();}}[_0x4c21f1(0x496)](_0xa009ae){var _0x3e1bbb=_0x4c21f1;this['_logService'][_0x3e1bbb(0x42b)](_0x3e1bbb(0x39d),_0x3e1bbb(0x45f)),_0xa009ae[_0x3e1bbb(0x4c0)]({'cmd':F[_0x3e1bbb(0x1cb)]}),this[_0x3e1bbb(0x482)]();}[_0x4c21f1(0x3c7)](){var _0x4ce0f1=_0x4c21f1;this[_0x4ce0f1(0x4ac)]=!0x1,this[_0x4ce0f1(0x40e)]=null,this[_0x4ce0f1(0x2a0)][_0x4ce0f1(0x363)](ge[_0x4ce0f1(0x1bc)]),this[_0x4ce0f1(0x1c3)]['next'](null),this[_0x4ce0f1(0x2ef)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x207def=_0x4c21f1,_0x41eec;this['_onOffline'](),this[_0x207def(0x485)]<((_0x41eec=this[_0x207def(0x4be)]['getConfig'](Is))!=null?_0x41eec:Ts)?(this[_0x207def(0x2e0)][_0x207def(0x398)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x207def(0x294)]()):this[_0x207def(0x2e0)]['emitEvent']({'id':ne[_0x207def(0x1ea)]});}['_tryReconnect'](){var _0x1e92a0=_0x4c21f1,_0x1a3804;const _0x241338=this[_0x1e92a0(0x485)],_0x1e575c=this[_0x1e92a0(0x4be)][_0x1e92a0(0x49f)](K),_0x2cbb72=_0x241338===0x0?0x0:((_0x1a3804=_0x1e575c==null?void 0x0:_0x1e575c[_0x1e92a0(0x46d)])!=null?_0x1a3804:Es)*0x2**_0x241338;this[_0x1e92a0(0x395)]=setTimeout(()=>{var _0x347a6e=_0x1e92a0;clearTimeout(this[_0x347a6e(0x395)]),this['_retryConnectingTimer']=null,this[_0x347a6e(0x383)]();},_0x2cbb72),this[_0x1e92a0(0x485)]+=0x1;}[_0x4c21f1(0x440)](_0x344b0f,_0x1efe4d){var _0x35195a=_0x4c21f1;const {cmd:_0x28fd99}=_0x1efe4d;_0x28fd99===F[_0x35195a(0x1cb)]&&!this[_0x35195a(0x4ac)]&&(_0x344b0f[_0x35195a(0x3d0)]=_0x1efe4d[_0x35195a(0x466)]['memberID'],this[_0x35195a(0x1c3)][_0x35195a(0x363)](_0x344b0f),this['_status$'][_0x35195a(0x363)](ge[_0x35195a(0x287)]),this[_0x35195a(0x4ac)]=!0x0,this['_candidateSocket']=null),_0x28fd99===F['HEARTBEAT']&&this[_0x35195a(0x2ef)](),this[_0x35195a(0x482)]();}[_0x4c21f1(0x482)](){var _0x1fa480=_0x4c21f1,_0x5ed58d;this[_0x1fa480(0x442)](),this[_0x1fa480(0x49c)]=setTimeout(()=>this[_0x1fa480(0x432)](),(_0x5ed58d=this['_configService'][_0x1fa480(0x49f)](gs))!=null?_0x5ed58d:Ss);}[_0x4c21f1(0x432)](){var _0x24d3ef=_0x4c21f1;this['_socket'][_0x24d3ef(0x4c0)]({'cmd':F[_0x24d3ef(0x360)]}),this['_waitForHeartbeatResponse']();}[_0x4c21f1(0x329)](){var _0x219c4a=_0x4c21f1,_0x4697d8;this[_0x219c4a(0x253)]=setTimeout(()=>this[_0x219c4a(0x385)](),(_0x4697d8=this[_0x219c4a(0x4be)][_0x219c4a(0x49f)](di))!=null?_0x4697d8:fi);}['_clearHeartbeatTimer'](){var _0x299bb7=_0x4c21f1;this[_0x299bb7(0x49c)]!=null&&(clearTimeout(this[_0x299bb7(0x49c)]),this['_sendHeartbeatTimer']=null);}[_0x4c21f1(0x2ef)](){var _0x2670f5=_0x4c21f1;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2670f5(0x253)]=null);}};Pe=Bs([Re(0x0,_0x2c0a3d(_0x7fec80)),Re(0x1,_0x5be82e),Re(0x2,_0x59b36e),Re(0x3,mi),Re(0x4,_0x2c0a3d(ve)),Re(0x5,_0x38da26(bs))],Pe);const J=_0x5e0479(_0x4c21f1(0x1c8));function br(_0x46c15d){var _0xea7fcf=_0x4c21f1;return _0xea7fcf(0x347)+_0x46c15d;}var js=Object[_0x4c21f1(0x23a)],Fs=(_0x5841ca,_0x813edb,_0x4414d4,_0x43e707)=>{var _0x14212d=_0x4c21f1;for(var _0xd50bef=_0x43e707>0x1?void 0x0:_0x43e707?js(_0x813edb,_0x4414d4):_0x813edb,_0x68719e=_0x5841ca[_0x14212d(0x1d3)]-0x1,_0x2fc9a3;_0x68719e>=0x0;_0x68719e--)(_0x2fc9a3=_0x5841ca[_0x68719e])&&(_0xd50bef=_0x2fc9a3(_0xd50bef)||_0xd50bef);return _0xd50bef;},ut=(_0x329641,_0x52ade1)=>(_0x3db3b9,_0x221d28)=>_0x52ade1(_0x3db3b9,_0x221d28,_0x329641);function Vs(_0x5340d0){const {unitID:_0x426777,mutations:_0x5a029d}=_0x5340d0;return{'unitId':_0x426777,'subUnitId':_0x5a029d[0x0]['params']['subUnitId']};}let it=class{constructor(_0x3e6fd7,_0xce9602,_0x5445c1){var _0x461ed2=_0x4c21f1;this[_0x461ed2(0x1f6)]=_0x3e6fd7,this[_0x461ed2(0x291)]=_0xce9602,this[_0x461ed2(0x1d6)]=_0x5445c1;}[_0x4c21f1(0x475)](_0x3afecb){var _0x4480b5=_0x4c21f1,_0x41b6b3,_0x5360b5,_0x1969a8,_0x143e5f;const _0x2020f9=this[_0x4480b5(0x1f6)][_0x4480b5(0x377)](_0x29fdcd),{unitId:_0x553322,subUnitId:_0x183abb}=Vs(_0x3afecb),_0x2a6dd2=_0x2020f9==null?void 0x0:_0x2020f9[_0x4480b5(0x1cf)](_0x553322)[_0x4480b5(0x24a)](),_0x418a5e=(_0x5360b5=(_0x41b6b3=this[_0x4480b5(0x1d6)][_0x4480b5(0x31b)](_0x553322))==null?void 0x0:_0x41b6b3[_0x4480b5(0x344)]())==null?void 0x0:_0x5360b5[_0x4480b5(0x464)]();if(_0x2a6dd2[_0x4480b5(0x1d3)]===0x0||!_0x553322||!_0x183abb)return;const _0x2a68a3=[{'id':_0x49be9d['id'],'params':{'unitId':_0x553322,'subUnitId':_0x418a5e,'selections':_0x4d4011[_0x4480b5(0x45b)](_0x2a6dd2)}}],_0xd1af17=this[_0x4480b5(0x291)][_0x4480b5(0x20e)](_0x3afecb,_0x2a68a3);if(!_0x7fd926(_0xd1af17))throw _0xd1af17[_0x4480b5(0x3f4)];const _0x32ebfa=(_0x143e5f=(_0x1969a8=_0xd1af17['m2Prime'][0x0])==null?void 0x0:_0x1969a8[_0x4480b5(0x307)])==null?void 0x0:_0x143e5f[_0x4480b5(0x498)];if(Array['isArray'](_0x32ebfa)&&_0x32ebfa[_0x4480b5(0x1d3)]){if(_0x32ebfa['length']===_0x2a68a3[0x0][_0x4480b5(0x307)][_0x4480b5(0x498)][_0x4480b5(0x1d3)]&&_0x32ebfa['every']((_0x26860e,_0xc67014)=>_0xf13a0c['equals'](_0x26860e[_0x4480b5(0x3e3)],_0x2a68a3[0x0][_0x4480b5(0x307)][_0x4480b5(0x498)][_0xc67014][_0x4480b5(0x3e3)])))return;this[_0x4480b5(0x1f6)][_0x4480b5(0x377)](_0x1d7330)[_0x4480b5(0x243)](_0x49be9d['id'],{'unitId':_0x553322,'subUnitId':_0x418a5e,'selections':_0x32ebfa});}}};it=Fs([ut(0x0,_0x2c0a3d(_0x7fec80)),ut(0x1,_0x3072c1),ut(0x2,_0xc6320)],it);const ht=_0x5e0479(_0x4c21f1(0x491));var Si=(_0x129c2f=>(_0x129c2f[_0x129c2f[_0x4c21f1(0x49e)]=0x0]=_0x4c21f1(0x49e),_0x129c2f[_0x129c2f[_0x4c21f1(0x34b)]=0x1]='OTHER_CLIENTS_EDITING',_0x129c2f))(Si||{});const Ws=new Set([_0x3d3649['id']]);function Gt(_0x49c6d9,_0x34cf1a,_0xea0aef,_0xfbed51,_0x1a59b9){var _0x5a3db1=_0x4c21f1,_0x19f276,_0x1f5a67,_0x5cbc12,_0x351181;const _0x1f5951=[];for(const _0x4274b2 of _0x49c6d9)if(Ws['has'](_0x4274b2['id'])){if(_0x1f5951[_0x5a3db1(0x1d3)]>0x0)break;_0x1f5951['push'](_0x4274b2);break;}else _0x1f5951[_0x5a3db1(0x412)](_0x4274b2);const _0xe4a411=(_0x1f5a67=(_0x19f276=_0x1a59b9[_0x5a3db1(0x46e)]())==null?void 0x0:_0x19f276[_0x5a3db1(0x208)])!=null?_0x1f5a67:_0x5a3db1(0x356),_0x227d1d=(_0x351181=(_0x5cbc12=_0x1a59b9[_0x5a3db1(0x46e)]())==null?void 0x0:_0x5cbc12[_0x5a3db1(0x3d0)])!=null?_0x351181:_0x5a3db1(0x356);return{'changeset':{'unitID':_0x34cf1a,'type':_0x4ddb7a(_0xea0aef[_0x5a3db1(0x41b)](_0x34cf1a)),'baseRev':_0xfbed51[_0x5a3db1(0x39a)](_0x34cf1a),'revision':0x0,'userID':_0xe4a411,'memberID':_0x227d1d,'mutations':_0x1f5951},'pendingMutations':_0x49c6d9[_0x5a3db1(0x3fd)](_0x1f5951[_0x5a3db1(0x1d3)])};}function Gs(_0x278f10,_0x3b00a4,_0xc1bd56,_0x1f3ddc,_0x5731ed){var _0x2d5c6e=_0x4c21f1,_0x39a6a2,_0x4d1a33,_0x36f8eb,_0x2c6bc4;const _0x1950ec=[_0x278f10['reduce']((_0x4505c0,_0x18fedb)=>{var _0x3d3d62=_0x4a57,_0x4b4930;const {id:_0x3bcc7b}=_0x4505c0,{id:_0x37b617,type:_0x224fec}=_0x18fedb,_0x37336e=(_0x4b4930=_0x4505c0[_0x3d3d62(0x307)])!=null?_0x4b4930:{'actions':null},_0x103c08=_0x18fedb[_0x3d3d62(0x307)];if(_0x3bcc7b&&_0x3bcc7b!==_0x37b617)throw new Error(_0x3d3d62(0x47a)+_0x3bcc7b+_0x3d3d62(0x4af)+_0x37b617+'.');return{..._0x4505c0,'id':_0x37b617,'type':_0x224fec,'params':{'unitId':_0x103c08[_0x3d3d62(0x282)],'textRanges':_0x103c08[_0x3d3d62(0x481)],'actions':_0x43c98d[_0x3d3d62(0x445)](_0x37336e[_0x3d3d62(0x286)],_0x103c08[_0x3d3d62(0x286)])}};},{})],_0x2127da=(_0x4d1a33=(_0x39a6a2=_0x5731ed[_0x2d5c6e(0x46e)]())==null?void 0x0:_0x39a6a2[_0x2d5c6e(0x208)])!=null?_0x4d1a33:'unknown',_0x4cf664=(_0x2c6bc4=(_0x36f8eb=_0x5731ed[_0x2d5c6e(0x46e)]())==null?void 0x0:_0x36f8eb[_0x2d5c6e(0x3d0)])!=null?_0x2c6bc4:_0x2d5c6e(0x356);return{'changeset':{'unitID':_0x3b00a4,'type':_0x4ddb7a(_0xc1bd56['getUnitType'](_0x3b00a4)),'baseRev':_0x1f3ddc[_0x2d5c6e(0x39a)](_0x3b00a4),'revision':0x0,'userID':_0x2127da,'memberID':_0x4cf664,'mutations':_0x1950ec},'pendingMutations':[]};}function Ei(_0x2b4775,_0x17c32a){var _0xef1e3=_0x4c21f1;const _0x8ecd5a=new _0x126bc5(0x1);return setTimeout(()=>_0x8ecd5a['next'](_0x17c32a),_0x2b4775),_0x8ecd5a[_0xef1e3(0x2fc)]()[_0xef1e3(0x3f2)](_0x3a1840(0x1));}const Ys={'id':_0x4b6042['id'],'type':_0x412b2b[_0x4c21f1(0x476)],'params':{}};var Ks=Object[_0x4c21f1(0x23a)],Ee=(_0x1c08b7,_0x265314,_0x51adf8,_0x24fc67)=>{var _0x487766=_0x4c21f1;for(var _0xa05f50=_0x24fc67>0x1?void 0x0:_0x24fc67?Ks(_0x265314,_0x51adf8):_0x265314,_0x3955e9=_0x1c08b7[_0x487766(0x1d3)]-0x1,_0x582982;_0x3955e9>=0x0;_0x3955e9--)(_0x582982=_0x1c08b7[_0x3955e9])&&(_0xa05f50=_0x582982(_0xa05f50)||_0xa05f50);return _0xa05f50;},P=(_0x1f1c47,_0x235f9c)=>(_0x192430,_0x5c1024)=>_0x235f9c(_0x192430,_0x5c1024,_0x1f1c47),Ii=(_0x2ba547=>(_0x2ba547[_0x4c21f1(0x384)]='not_collab',_0x2ba547[_0x4c21f1(0x4b1)]='synced',_0x2ba547[_0x4c21f1(0x2a6)]='pending',_0x2ba547['AWAITING']=_0x4c21f1(0x1cd),_0x2ba547[_0x4c21f1(0x26d)]=_0x4c21f1(0x4b6),_0x2ba547[_0x4c21f1(0x2d5)]=_0x4c21f1(0x35c),_0x2ba547['CONFLICT']=_0x4c21f1(0x20a),_0x2ba547[_0x4c21f1(0x1bc)]='offline',_0x2ba547))(Ii||{});const Ti=0xea60;class Ie{constructor(_0x275000,_0x2decd4,_0x58e5f5,_0x2a9715,_0x249438,_0x5d0d82,_0x24fc4f,_0x2917b1,_0x75786e){var _0x158f36=_0x4c21f1;N(this,_0x158f36(0x33f),null),N(this,_0x158f36(0x407),[]),(this[_0x158f36(0x338)]=_0x275000,this[_0x158f36(0x2bc)]=_0x2decd4,this[_0x158f36(0x3f6)]=_0x249438,this[_0x158f36(0x2d8)]=_0x5d0d82,this['_undoRedoService']=_0x24fc4f,this['_revisionService']=_0x2917b1,this[_0x158f36(0x2a1)]=_0x75786e,this[_0x158f36(0x33f)]=_0x58e5f5,this['_pendingMutations']=_0x2a9715);}[_0x4c21f1(0x456)](_0x29e89c){var _0x29dc0d=_0x4c21f1;const _0x2d678c=this[_0x29dc0d(0x2ec)][_0x29dc0d(0x39a)](this[_0x29dc0d(0x338)]);return _0x29e89c[_0x29dc0d(0x1ed)]>_0x2d678c+0x1?(this['_handler'][_0x29dc0d(0x4b3)]({'from':_0x2d678c,'to':_0x29e89c['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x11abe5){var _0x3f7bba=_0x4c21f1;this[_0x3f7bba(0x48a)]['transformUndoRedo'](this[_0x3f7bba(0x338)],_0x11abe5);}[_0x4c21f1(0x497)](_0x3c18f7){var _0x334f43=_0x4c21f1,_0x288474,_0x45aa4a;(_0x45aa4a=(_0x288474=this[_0x334f43(0x3f6)])[_0x334f43(0x248)])==null||_0x45aa4a[_0x334f43(0x451)](_0x288474,_0x3c18f7);}['_transformIMECache'](_0x4374bd){var _0x49c444=_0x4c21f1,_0x51d009,_0x31ca19;return(_0x31ca19=(_0x51d009=this[_0x49c444(0x3f6)])[_0x49c444(0x296)])==null?void 0x0:_0x31ca19[_0x49c444(0x451)](_0x51d009,_0x4374bd);}[_0x4c21f1(0x382)](_0x8e7818){var _0x54856c=_0x4c21f1,_0x2f4491,_0x5dd284;return(_0x5dd284=(_0x2f4491=this[_0x54856c(0x3f6)])[_0x54856c(0x289)])==null?void 0x0:_0x5dd284[_0x54856c(0x451)](_0x2f4491,_0x8e7818);}[_0x4c21f1(0x25a)](_0x39617f){var _0x38cb18=_0x4c21f1,_0x2687f0,_0x225b01,_0x45321a;return(_0x45321a=(_0x225b01=(_0x2687f0=this[_0x38cb18(0x3f6)])[_0x38cb18(0x2b6)])==null?void 0x0:_0x225b01['call'](_0x2687f0,_0x39617f))!=null?_0x45321a:_0x39617f;}[_0x4c21f1(0x41c)](_0x3a5ff3){var _0x409d85=_0x4c21f1,_0x25f552,_0x59b884,_0x33b453;return(_0x33b453=(_0x59b884=(_0x25f552=this[_0x409d85(0x3f6)])[_0x409d85(0x405)])==null?void 0x0:_0x59b884['call'](_0x25f552,_0x3a5ff3))!=null?_0x33b453:_0x3a5ff3;}[_0x4c21f1(0x3aa)](_0x51f79a){var _0x4dfb20=_0x4c21f1,_0x1abf8c,_0x3300dc;if(this[_0x4dfb20(0x2bc)]===Z[_0x4dfb20(0x1de)]){const {unitID:_0x24283b,mutations:_0x3ec086,memberID:_0x2ebb00}=_0x51f79a,_0x686d7=_0x3ec086[0x0]['params'][_0x4dfb20(0x481)];Array[_0x4dfb20(0x27f)](_0x686d7)&&_0x686d7[_0x4dfb20(0x1d3)]>0x0&&((_0x3300dc=(_0x1abf8c=this[_0x4dfb20(0x3f6)])[_0x4dfb20(0x279)])==null||_0x3300dc['call'](_0x1abf8c,{'unitID':_0x24283b,'memberID':_0x2ebb00,'textRanges':_0x686d7}));}}[_0x4c21f1(0x3c8)](){var _0x5f19bc=_0x4c21f1,_0x2f3a2d;(_0x2f3a2d=this['_localCacheService'])==null||_0x2f3a2d[_0x5f19bc(0x2cf)](this['unitID'],this[_0x5f19bc(0x2bc)],this[_0x5f19bc(0x33f)],this[_0x5f19bc(0x407)]);}[_0x4c21f1(0x2a9)](){var _0xd593d4=_0x4c21f1;return this['_revisionService']['getCurrentRevOfUnit'](this[_0xd593d4(0x338)]);}[_0x4c21f1(0x421)](){var _0x58db6b=_0x4c21f1;this[_0x58db6b(0x2ec)]['incrementRevOfUnit'](this[_0x58db6b(0x338)]);}[_0x4c21f1(0x46a)](_0x3cf105){var _0x7f55b2=_0x4c21f1,_0x1ed78e;let _0xb58e91=this[_0x7f55b2(0x25a)](_0x3cf105);_0xb58e91=this['_transformRemoteChangesetByStateCache'](_0xb58e91);const _0x1ddd1e=_0x42456a(_0xb58e91[_0x7f55b2(0x27a)],this[_0x7f55b2(0x2d8)],{'fromCollab':!0x0});if(!_0x1ddd1e[_0x7f55b2(0x3b7)])throw _0x1ddd1e[_0x7f55b2(0x3f4)]instanceof Error?_0x1ddd1e['error']:new Error((_0x1ed78e=_0x1ddd1e[_0x7f55b2(0x3f4)])!=null?_0x1ed78e:_0x7f55b2(0x3f5));this[_0x7f55b2(0x3d5)](_0xb58e91),this[_0x7f55b2(0x382)](_0xb58e91),this[_0x7f55b2(0x3ef)](_0x3cf105),this[_0x7f55b2(0x497)](_0xb58e91),this[_0x7f55b2(0x3aa)](_0xb58e91),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x8bfb2d,_0x57cc0c,_0x659a8f,_0x2e2662,_0x3cdf81,_0x6e80dc,_0xae45a4,_0x39f27b,_0x577c5e,_0x190e64){var _0x4dfa2d=_0x4c21f1;super(_0x8bfb2d,_0x57cc0c,null,[],_0x659a8f,_0xae45a4,_0x6e80dc,_0x2e2662,_0x190e64),N(this,'status',_0x4dfa2d(0x32a)),(this[_0x4dfa2d(0x1f6)]=_0x3cdf81,this[_0x4dfa2d(0x2ca)]=_0x39f27b,this[_0x4dfa2d(0x291)]=_0x577c5e,this[_0x4dfa2d(0x3a7)]=_0x190e64);}[_0x4c21f1(0x2e5)](_0x255060){var _0x42670b=_0x4c21f1;const _0x717244=this[_0x42670b(0x1f6)]['createInstance'](re,this['unitID'],this[_0x42670b(0x2bc)],[_0x255060],this[_0x42670b(0x3f6)]);return _0x717244[_0x42670b(0x238)](),_0x717244[_0x42670b(0x3c8)](),_0x717244;}[_0x4c21f1(0x3c1)](_0x14adea){var _0x46f427=_0x4c21f1;if(this['_checkMissing'](_0x14adea))return this[_0x46f427(0x1f6)][_0x46f427(0x404)](Q,this['unitID'],this[_0x46f427(0x2bc)],null,[],null,[_0x14adea],this['_handler']);try{const _0xd5f7ae=this[_0x46f427(0x291)][_0x46f427(0x20e)](_0x14adea,[Ys]);if(_0x7fd926(_0xd5f7ae)){const {c1Prime:_0x3b2de2}=_0xd5f7ae;return this[_0x46f427(0x46a)](_0x3b2de2),this;}throw _0xd5f7ae[_0x46f427(0x3f4)];}catch(_0x2100c5){return this[_0x46f427(0x2ca)][_0x46f427(0x3f4)](_0x2100c5),this[_0x46f427(0x272)](!0x1);}}[_0x4c21f1(0x272)](_0x47715b){var _0x2b639f=_0x4c21f1;return this['_injector'][_0x2b639f(0x404)](le,this[_0x2b639f(0x338)],this[_0x2b639f(0x2bc)],null,[],this[_0x2b639f(0x3f6)],_0x47715b);}[_0x4c21f1(0x28c)](){var _0x22cf21=_0x4c21f1;throw new Error(_0x22cf21(0x1b8));}[_0x4c21f1(0x441)](){var _0x453399=_0x4c21f1;throw new Error(_0x453399(0x34d));}[_0x4c21f1(0x335)](){return this;}['toggleOffline'](){var _0xfd1145=_0x4c21f1;return this[_0xfd1145(0x1f6)][_0xfd1145(0x404)](ue,this[_0xfd1145(0x338)],this['type'],null,[],this[_0xfd1145(0x3f6)]);}[_0x4c21f1(0x1e3)](){return this;}['resend'](){var _0x4ec228=_0x4c21f1;throw new Error(_0x4ec228(0x345));}[_0x4c21f1(0x48c)](){var _0x584a00=_0x4c21f1;const _0x538dc2=this['_revisionService'][_0x584a00(0x39a)](this[_0x584a00(0x338)]);return this[_0x584a00(0x3f6)][_0x584a00(0x4b3)]({'from':_0x538dc2,'to':0x0}),this[_0x584a00(0x1f6)][_0x584a00(0x404)](Q,this[_0x584a00(0x338)],this[_0x584a00(0x2bc)],null,[],null,[],this[_0x584a00(0x3f6)]);}};ye=Ee([P(0x3,_0x2c0a3d(_0x463973)),P(0x4,_0x2c0a3d(_0x7fec80)),P(0x5,_0xe9e933),P(0x6,_0x1d7330),P(0x7,_0x5be82e),P(0x8,_0x3072c1),P(0x9,_0x38da26(J))],ye);let re=class extends Ie{constructor(_0x3f447a,_0x87ca30,_0x320d38,_0x5bdd6f,_0x5dc197,_0x47685d,_0x185ff9,_0x11bafb,_0x390f5c,_0x5629ae,_0x27084d,_0x352036,_0x215ce5,_0x5e3822){var _0x41b245=_0x4c21f1;super(_0x3f447a,_0x87ca30,null,_0x320d38,_0x5bdd6f,_0x390f5c,_0x215ce5,_0x47685d,_0x5e3822),N(this,_0x41b245(0x349),'pending'),N(this,_0x41b245(0x4b0),null),N(this,_0x41b245(0x1bb),null),(this[_0x41b245(0x1f6)]=_0x5dc197,this[_0x41b245(0x256)]=_0x185ff9,this[_0x41b245(0x2ca)]=_0x11bafb,this[_0x41b245(0x4be)]=_0x5629ae,this[_0x41b245(0x291)]=_0x27084d,this[_0x41b245(0x2b5)]=_0x352036);}['appendMutation'](_0x945549){var _0x3d6476=_0x4c21f1;return this['_pendingMutations']['push'](_0x945549),this[_0x3d6476(0x3c8)](),this;}['onRemoteChangeset'](_0x301d0a){var _0x3cfca2=_0x4c21f1;if(this['_checkMissing'](_0x301d0a))return this['_clearScheduledTask'](),this[_0x3cfca2(0x1f6)][_0x3cfca2(0x404)](Q,this[_0x3cfca2(0x338)],this[_0x3cfca2(0x2bc)],null,this[_0x3cfca2(0x407)],null,[_0x301d0a],this[_0x3cfca2(0x3f6)]);try{const _0x189466=this['_transformService']['transformMutationsWithChangeset'](_0x301d0a,this[_0x3cfca2(0x407)]);if(_0x7fd926(_0x189466)){const {c1Prime:_0x56dea3,m2Prime:_0x3d0591}=_0x189466;this['_executeRemoteChangeset'](_0x56dea3);const _0x279f98=this[_0x3cfca2(0x1f6)][_0x3cfca2(0x404)](re,this['unitID'],this[_0x3cfca2(0x2bc)],_0x3d0591,this[_0x3cfca2(0x3f6)]);this['_clearScheduledTask']();const _0x4caea7=new Date()[_0x3cfca2(0x406)](),_0x5d7bb3=this[_0x3cfca2(0x4b0)]?Math[_0x3cfca2(0x3b1)](this[_0x3cfca2(0x4b0)]-_0x4caea7,0x0):this[_0x3cfca2(0x484)]();return _0x279f98['_schedule'](_0x5d7bb3),_0x279f98;}throw _0x189466['error'];}catch(_0x1acf3f){return this[_0x3cfca2(0x2ca)][_0x3cfca2(0x3f4)](_0x1acf3f),this[_0x3cfca2(0x272)](!0x1);}}[_0x4c21f1(0x28c)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4c21f1(0x441)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4c21f1(0x335)](){return this;}[_0x4c21f1(0x3d4)](){var _0xe13f4d=_0x4c21f1;return this[_0xe13f4d(0x3ea)](),this[_0xe13f4d(0x1f6)][_0xe13f4d(0x404)](ue,this['unitID'],this['type'],null,this[_0xe13f4d(0x407)],this[_0xe13f4d(0x3f6)]);}[_0x4c21f1(0x1e3)](){return this;}['_schedule'](_0x20b3ec){var _0x29c857=_0x4c21f1;const _0x12cf1f=_0x20b3ec!=null?_0x20b3ec:this[_0x29c857(0x484)]();this['_scheduleCompleteTimestamp']=new Date()[_0x29c857(0x406)]()+_0x12cf1f,this[_0x29c857(0x1bb)]=setTimeout(()=>{var _0x2ccd18=_0x29c857;this['_clearScheduledTask']();let _0x2753e1=null;switch(this[_0x2ccd18(0x2bc)]){case Z['UNIVER_SHEET']:{_0x2753e1=Gt(this[_0x2ccd18(0x407)],this[_0x2ccd18(0x338)],this[_0x2ccd18(0x2b5)],this[_0x2ccd18(0x2ec)],this[_0x2ccd18(0x256)]);break;}case Z[_0x2ccd18(0x1de)]:{this['_pendingMutations'][_0x2ccd18(0x339)](_0x28d4ca=>_0x28d4ca['id']===_0x3d4928['id'])?_0x2753e1=Gs(this[_0x2ccd18(0x407)],this['unitID'],this['_univerInstanceService'],this[_0x2ccd18(0x2ec)],this[_0x2ccd18(0x256)]):_0x2753e1=Gt(this['_pendingMutations'],this['unitID'],this[_0x2ccd18(0x2b5)],this[_0x2ccd18(0x2ec)],this[_0x2ccd18(0x256)]);break;}default:throw new Error(_0x2ccd18(0x260)+this[_0x2ccd18(0x2bc)]+_0x2ccd18(0x48b));}const {changeset:_0x2fb739,pendingMutations:_0x2a8c0a}=_0x2753e1;this[_0x2ccd18(0x3f6)][_0x2ccd18(0x430)](_0x2fb739);const _0x323428=_0x2a8c0a['length']?this[_0x2ccd18(0x1f6)]['createInstance'](ae,this[_0x2ccd18(0x338)],this[_0x2ccd18(0x2bc)],_0x2fb739,_0x2a8c0a,this['_handler'],void 0x0):this[_0x2ccd18(0x1f6)]['createInstance'](_e,this[_0x2ccd18(0x338)],this['type'],_0x2fb739,this[_0x2ccd18(0x3f6)]);_0x323428[_0x2ccd18(0x3c8)](),this['_handler']['onStateChange'](this,_0x323428);},_0x12cf1f);}['_getSendChangesetTimeout'](){var _0x31f1ed=_0x4c21f1,_0xbe6ebd;const _0x560a73=this[_0x31f1ed(0x4be)][_0x31f1ed(0x49f)](K);return(_0xbe6ebd=_0x560a73==null?void 0x0:_0x560a73[_0x31f1ed(0x1ec)])!=null?_0xbe6ebd:ps;}[_0x4c21f1(0x3bd)](){var _0x482495=_0x4c21f1;throw new Error(_0x482495(0x1eb));}[_0x4c21f1(0x3ea)](){var _0x56c4e2=_0x4c21f1;this[_0x56c4e2(0x1bb)]!=null&&(clearTimeout(this[_0x56c4e2(0x1bb)]),this[_0x56c4e2(0x1bb)]=null);}[_0x4c21f1(0x272)](_0x1d525c){var _0x1530d0=_0x4c21f1;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this[_0x1530d0(0x338)],this[_0x1530d0(0x2bc)],null,this[_0x1530d0(0x407)],this['_handler'],_0x1d525c);}};re=Ee([P(0x4,_0x2c0a3d(_0x7fec80)),P(0x5,_0x2c0a3d(_0x463973)),P(0x6,_0x2c0a3d(we)),P(0x7,_0x5be82e),P(0x8,_0x1d7330),P(0x9,_0x59b36e),P(0xa,_0x3072c1),P(0xb,_0xc6320),P(0xc,_0xe9e933),P(0xd,_0x38da26(J))],re);let _e=class extends Ie{constructor(_0x29e923,_0x582b04,_0x432da4,_0x395423,_0x59edf9,_0x5811e4,_0x32e4ba,_0x1dd8a0,_0x1f5683,_0x4ced1b,_0x5c1b51){var _0x19e400=_0x4c21f1;super(_0x29e923,_0x582b04,_0x432da4,[],_0x395423,_0x32e4ba,_0x4ced1b,_0x5811e4,_0x5c1b51),N(this,_0x19e400(0x349),_0x19e400(0x1cd)),N(this,_0x19e400(0x1e7),0x0),N(this,_0x19e400(0x49a)),N(this,_0x19e400(0x41f)),(this[_0x19e400(0x1f6)]=_0x59edf9,this[_0x19e400(0x2ca)]=_0x1dd8a0,this[_0x19e400(0x291)]=_0x1f5683);}[_0x4c21f1(0x2e5)](_0x4a6a2d){var _0x15fdec=_0x4c21f1;this[_0x15fdec(0x3ea)]();const _0x260856=this[_0x15fdec(0x1f6)][_0x15fdec(0x404)](ae,this[_0x15fdec(0x338)],this[_0x15fdec(0x2bc)],this[_0x15fdec(0x33f)],[_0x4a6a2d],this[_0x15fdec(0x3f6)],this[_0x15fdec(0x49a)]);return _0x260856[_0x15fdec(0x3c8)](),_0x260856;}['onRemoteChangeset'](_0x5d39c5){var _0x5bb92d=_0x4c21f1;if(this[_0x5bb92d(0x456)](_0x5d39c5))return this[_0x5bb92d(0x3ea)](),this[_0x5bb92d(0x1f6)][_0x5bb92d(0x404)](Q,this[_0x5bb92d(0x338)],this[_0x5bb92d(0x2bc)],this[_0x5bb92d(0x33f)],[],null,[_0x5d39c5],this[_0x5bb92d(0x3f6)]);try{const _0x22a12a=this[_0x5bb92d(0x291)][_0x5bb92d(0x3a8)]([_0x5d39c5],[this[_0x5bb92d(0x33f)]],!0x1);if(_0x8475ed(_0x22a12a)){const {c1Prime:_0x22c60c,c2Prime:_0x56fec7}=_0x22a12a;this['_executeRemoteChangeset'](_0x22c60c[0x0]),_0x56fec7[0x0][_0x5bb92d(0x47f)]=this[_0x5bb92d(0x2a9)](),this[_0x5bb92d(0x3ea)]();const _0x3d4459=this['_injector'][_0x5bb92d(0x404)](_e,this[_0x5bb92d(0x338)],this[_0x5bb92d(0x2bc)],_0x56fec7[0x0],this[_0x5bb92d(0x3f6)]);return _0x3d4459[_0x5bb92d(0x3c8)](),_0x3d4459;}return this[_0x5bb92d(0x272)](!0x1);}catch(_0x1eb456){return this[_0x5bb92d(0x2ca)][_0x5bb92d(0x3f4)](_0x1eb456),this[_0x5bb92d(0x272)](!0x1);}}['onRemoteAck'](_0x213508){var _0x294e64=_0x4c21f1;this[_0x294e64(0x3ea)]();const _0x216c6a=this[_0x294e64(0x2ec)][_0x294e64(0x39a)](this['unitID']);if(_0x213508[_0x294e64(0x1ed)]<_0x216c6a-0x1)return this;if(this[_0x294e64(0x456)](_0x213508))return this[_0x294e64(0x1f6)][_0x294e64(0x404)](Q,this[_0x294e64(0x338)],this['type'],null,[],this[_0x294e64(0x33f)],[],this[_0x294e64(0x3f6)]);this[_0x294e64(0x421)]();const _0x36cf03=this[_0x294e64(0x1f6)][_0x294e64(0x404)](ye,this[_0x294e64(0x338)],this[_0x294e64(0x2bc)],this[_0x294e64(0x3f6)]);return _0x36cf03['_updateLocalCache'](),_0x36cf03;}[_0x4c21f1(0x441)](_0x211b3b){var _0x4ea71a=_0x4c21f1;return this[_0x4ea71a(0x272)](!!(_0x211b3b!=null&&_0x211b3b[_0x4ea71a(0x297)]));}[_0x4c21f1(0x335)](_0x2b724d){var _0x1f0b3b=_0x4c21f1;return this[_0x1f0b3b(0x1e7)]>Ti?this['toggleOffline']():(this[_0x1f0b3b(0x49a)]=Ei(this[_0x1f0b3b(0x1e7)],{'timeout':this[_0x1f0b3b(0x1e7)],'reqId':_0x2b724d['reqId']}),this['_sender']=this['_resendTimer'][_0x1f0b3b(0x233)](({reqId:_0x49162a,timeout:_0x344f12})=>{this['_resendWithTimeout'](_0x49162a,_0x344f12);}),this);}[_0x4c21f1(0x3d4)](){var _0x2c6fee=_0x4c21f1;return this['_clearScheduledTask'](),this['_injector']['createInstance'](ue,this[_0x2c6fee(0x338)],this[_0x2c6fee(0x2bc)],this[_0x2c6fee(0x33f)],[],this[_0x2c6fee(0x3f6)]);}[_0x4c21f1(0x1e3)](){return this;}[_0x4c21f1(0x3bd)](){var _0x2395c1=_0x4c21f1;this[_0x2395c1(0x3f6)][_0x2395c1(0x430)](this[_0x2395c1(0x33f)]);}[_0x4c21f1(0x272)](_0x3f1111){var _0x3b17ae=_0x4c21f1;return this[_0x3b17ae(0x3ea)](),this[_0x3b17ae(0x1f6)]['createInstance'](le,this[_0x3b17ae(0x338)],this[_0x3b17ae(0x2bc)],this[_0x3b17ae(0x33f)],[],this[_0x3b17ae(0x3f6)],_0x3f1111);}['_resendWithTimeout'](_0x59e560,_0xec1a91){var _0x191499=_0x4c21f1,_0x2e514c;_0x59e560===((_0x2e514c=this['_awaitingChangeset'])==null?void 0x0:_0x2e514c['reqId'])&&(this[_0x191499(0x3bd)](),this[_0x191499(0x1e7)]=_0xec1a91===0x0?0x3e8:_0xec1a91*0x2);}[_0x4c21f1(0x3ea)](){var _0x1a1d52=_0x4c21f1,_0x56e6d4;(_0x56e6d4=this[_0x1a1d52(0x41f)])==null||_0x56e6d4[_0x1a1d52(0x20d)](),this[_0x1a1d52(0x1e7)]=0x0;}};_e=Ee([P(0x4,_0x2c0a3d(_0x7fec80)),P(0x5,_0x2c0a3d(_0x463973)),P(0x6,_0x1d7330),P(0x7,_0x5be82e),P(0x8,_0x3072c1),P(0x9,_0xe9e933),P(0xa,_0x38da26(J))],_e);let ae=class extends Ie{constructor(_0x1efcea,_0x54ee12,_0x3de8d3,_0x31777d,_0x35cf6c,_0x84d96a,_0x3a3713,_0x1030c6,_0x4f68d2,_0x2d6453,_0x88e701,_0x1326ca,_0x10605c){var _0x2a2825=_0x4c21f1;super(_0x1efcea,_0x54ee12,_0x3de8d3,_0x31777d,_0x35cf6c,_0x4f68d2,_0x1326ca,_0x1030c6,_0x10605c),N(this,_0x2a2825(0x349),_0x2a2825(0x4b6)),N(this,_0x2a2825(0x1e7),0x0),N(this,_0x2a2825(0x49a)),N(this,_0x2a2825(0x41f)),(this[_0x2a2825(0x1f6)]=_0x3a3713,this['_logService']=_0x2d6453,this[_0x2a2825(0x291)]=_0x88e701,this[_0x2a2825(0x3a7)]=_0x10605c,_0x84d96a&&(this[_0x2a2825(0x49a)]=_0x84d96a,this[_0x2a2825(0x41f)]=this[_0x2a2825(0x49a)][_0x2a2825(0x233)](({reqId:_0x3b97c2,timeout:_0x38e00e})=>{var _0x47b41a=_0x2a2825;this[_0x47b41a(0x30d)](_0x3b97c2,_0x38e00e);})));}[_0x4c21f1(0x2e5)](_0x133a64){return this['_pendingMutations']['push'](_0x133a64),this;}['onRemoteChangeset'](_0x508f57){var _0x243b62=_0x4c21f1;if(this[_0x243b62(0x456)](_0x508f57))return this['_clearScheduledTask'](),this[_0x243b62(0x1f6)][_0x243b62(0x404)](Q,this[_0x243b62(0x338)],this[_0x243b62(0x2bc)],this[_0x243b62(0x33f)],this[_0x243b62(0x407)],null,[_0x508f57],this[_0x243b62(0x3f6)]);try{const _0x18523a=this[_0x243b62(0x291)][_0x243b62(0x3a8)]([_0x508f57],[this[_0x243b62(0x33f)]],!0x1);if(_0x8475ed(_0x18523a)){const {c1Prime:_0x2df39d,c2Prime:_0x2be995}=_0x18523a,_0x214717=this[_0x243b62(0x291)]['transformMutationsWithChangeset'](_0x2df39d[0x0],this[_0x243b62(0x407)]);if(_0x7fd926(_0x214717)){const {c1Prime:_0x19efe1,m2Prime:_0x32b8d4}=_0x214717;return this[_0x243b62(0x46a)](_0x19efe1),_0x2be995[0x0][_0x243b62(0x47f)]=this['_getCurrentRevision'](),this[_0x243b62(0x3ea)](),this[_0x243b62(0x1f6)]['createInstance'](ae,this['unitID'],this[_0x243b62(0x2bc)],_0x2be995[0x0],_0x32b8d4,this[_0x243b62(0x3f6)],void 0x0);}throw _0x214717[_0x243b62(0x3f4)];}throw _0x18523a[_0x243b62(0x3f4)];}catch(_0x40f57a){return this['_logService']['error'](_0x40f57a),this[_0x243b62(0x272)](!0x1);}}['onRemoteAck'](_0x259109){var _0x4990d1=_0x4c21f1;if(this[_0x4990d1(0x3ea)](),this[_0x4990d1(0x456)](_0x259109))return this[_0x4990d1(0x1f6)][_0x4990d1(0x404)](Q,this[_0x4990d1(0x338)],this[_0x4990d1(0x2bc)],null,this[_0x4990d1(0x407)],this['_awaitingChangeset'],[],this[_0x4990d1(0x3f6)]);this['_incrementRevisionNumber']();const _0x36c56b=this[_0x4990d1(0x1f6)][_0x4990d1(0x404)](re,this[_0x4990d1(0x338)],this[_0x4990d1(0x2bc)],this[_0x4990d1(0x407)],this[_0x4990d1(0x3f6)]);return _0x36c56b['_schedule'](),_0x36c56b[_0x4990d1(0x3c8)](),_0x36c56b;}[_0x4c21f1(0x441)](_0x328b96){var _0x22b9a6=_0x4c21f1;return this['_onConflict'](!!(_0x328b96!=null&&_0x328b96[_0x22b9a6(0x297)]));}[_0x4c21f1(0x335)](_0x3d7918){var _0x783859=_0x4c21f1;return this[_0x783859(0x1e7)]>Ti?this[_0x783859(0x3d4)]():(this['_resendTimer']=Ei(this[_0x783859(0x1e7)],{'timeout':this[_0x783859(0x1e7)],'reqId':_0x3d7918[_0x783859(0x4bf)]}),this[_0x783859(0x41f)]=this['_resendTimer']['subscribe'](({reqId:_0x4699bb,timeout:_0x3ed196})=>{var _0x37b733=_0x783859;this[_0x37b733(0x30d)](_0x4699bb,_0x3ed196);}),this);}['toggleOffline'](){var _0x5bcd11=_0x4c21f1;return this[_0x5bcd11(0x3ea)](),this['_injector'][_0x5bcd11(0x404)](ue,this[_0x5bcd11(0x338)],this['type'],this['_awaitingChangeset'],this[_0x5bcd11(0x407)],this[_0x5bcd11(0x3f6)]);}['toggleOnline'](){return this;}[_0x4c21f1(0x3bd)](){var _0x4ce30c=_0x4c21f1;this['_handler']['onSendChangeset'](this[_0x4ce30c(0x33f)]);}['_onConflict'](_0x5d57cc){var _0x52d609=_0x4c21f1;return this[_0x52d609(0x3ea)](),this[_0x52d609(0x1f6)][_0x52d609(0x404)](le,this[_0x52d609(0x338)],this[_0x52d609(0x2bc)],null,this[_0x52d609(0x407)],this['_handler'],_0x5d57cc);}['_resendWithTimeout'](_0x2ad1e8,_0xf3e97a){var _0x96ba1f=_0x4c21f1,_0xd2b568;_0x2ad1e8===((_0xd2b568=this['_awaitingChangeset'])==null?void 0x0:_0xd2b568[_0x96ba1f(0x4bf)])&&(this['resend'](),this[_0x96ba1f(0x1e7)]=_0xf3e97a===0x0?0x3e8:_0xf3e97a*0x2);}[_0x4c21f1(0x3ea)](){var _0x1b9992=_0x4c21f1,_0x580d60;(_0x580d60=this['_sender'])==null||_0x580d60['unsubscribe'](),this[_0x1b9992(0x1e7)]=0x0;}};ae=Ee([P(0x6,_0x2c0a3d(_0x7fec80)),P(0x7,_0x2c0a3d(_0x463973)),P(0x8,_0x1d7330),P(0x9,_0x5be82e),P(0xa,_0x3072c1),P(0xb,_0xe9e933),P(0xc,_0x38da26(J))],ae);let le=class extends Ie{constructor(_0x24a134,_0x3067d3,_0x4ad0fd,_0x572148,_0x2274fc,_0x330fde=!0x1,_0x4678d8,_0xbf75eb,_0x1c73f9,_0x46da6d,_0x1c47b0,_0x2049c7,_0x211ccc){var _0x4476e0=_0x4c21f1;super(_0x24a134,_0x3067d3,_0x4ad0fd,_0x572148,_0x2274fc,_0xbf75eb,_0x1c73f9,_0x46da6d,_0x211ccc),N(this,_0x4476e0(0x349),'conflict'),(this[_0x4476e0(0x44c)]=_0x330fde,this[_0x4476e0(0x3ac)]=_0x4678d8,this[_0x4476e0(0x43d)]=_0x1c47b0,this['_collaborationUIEventService']=_0x2049c7,this['localCacheService']=_0x211ccc,this[_0x4476e0(0x261)](),this[_0x4476e0(0x493)](),this[_0x4476e0(0x354)]());}['appendMutation'](){return this;}[_0x4c21f1(0x3c1)](){return this;}[_0x4c21f1(0x28c)](){return this;}[_0x4c21f1(0x441)](){return this;}[_0x4c21f1(0x335)](){return this;}[_0x4c21f1(0x3d4)](){return this;}[_0x4c21f1(0x1e3)](){return this;}[_0x4c21f1(0x3bd)](){var _0x1edfb5=_0x4c21f1;throw new Error(_0x1edfb5(0x203));}[_0x4c21f1(0x493)](){var _0x1c1a59=_0x4c21f1,_0x17ec6f;(_0x17ec6f=this[_0x1c1a59(0x2a1)])==null||_0x17ec6f[_0x1c1a59(0x2cf)](this[_0x1c1a59(0x338)],this['type'],null,[]);}[_0x4c21f1(0x261)](){var _0x36bcc7=_0x4c21f1;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x36bcc7(0x398)]({'id':ne[_0x36bcc7(0x1ca)]}):this[_0x36bcc7(0x2e0)][_0x36bcc7(0x398)]({'id':ne[_0x36bcc7(0x285)]});}[_0x4c21f1(0x354)](){var _0x3033cd=_0x4c21f1;this[_0x3033cd(0x3ac)][_0x3033cd(0x2a2)](new _0x57efec(this[_0x3033cd(0x338)])['id'],!0x1);}};le=Ee([P(0x6,_0x2c0a3d(_0xf06b7d)),P(0x7,_0x1d7330),P(0x8,_0xe9e933),P(0x9,_0x2c0a3d(_0x463973)),P(0xa,_0x2c0a3d(_0xad738b)),P(0xb,_0x2c0a3d(ve)),P(0xc,_0x38da26(J))],le);let ue=class extends Ie{constructor(_0x2a598f,_0x33b396,_0x88c366,_0x407196,_0x444ece,_0x41efbb,_0x30948f,_0x37e4f7,_0x4eb45f,_0x44e50f){var _0x217bf7=_0x4c21f1;super(_0x2a598f,_0x33b396,_0x88c366,_0x407196,_0x444ece,_0x37e4f7,_0x4eb45f,_0x30948f,_0x44e50f),N(this,_0x217bf7(0x349),'offline'),this[_0x217bf7(0x1f6)]=_0x41efbb;}[_0x4c21f1(0x2e5)](_0x40a684){var _0x5609b2=_0x4c21f1;return this[_0x5609b2(0x407)][_0x5609b2(0x412)](_0x40a684),this[_0x5609b2(0x3c8)](),this;}['onRemoteChangeset'](_0x56fa06){var _0x337d20=_0x4c21f1;throw new Error(_0x337d20(0x31d));}[_0x4c21f1(0x28c)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x2f2cd0=_0x4c21f1;throw new Error(_0x2f2cd0(0x2e6));}[_0x4c21f1(0x335)](){return this;}[_0x4c21f1(0x3d4)](){return this;}['toggleOnline'](){var _0x49c584=_0x4c21f1;const {_injector:_0x47acd6,_pendingMutations:_0x35de6a,_awaitingChangeset:_0x1ac367,unitID:_0xc0a992,_handler:_0x370986,type:_0xa59d62}=this,_0x355d7b=Ci(_0x47acd6,_0xc0a992,_0xa59d62,_0x1ac367,_0x35de6a,_0x370986);return _0x355d7b instanceof re?_0x355d7b[_0x49c584(0x238)]():(_0x355d7b instanceof ae||_0x355d7b instanceof _e)&&_0x355d7b[_0x49c584(0x3bd)](),_0x355d7b;}[_0x4c21f1(0x3bd)](){var _0x33e80a=_0x4c21f1;throw new Error(_0x33e80a(0x42a));}};ue=Ee([P(0x5,_0x2c0a3d(_0x7fec80)),P(0x6,_0x2c0a3d(_0x463973)),P(0x7,_0x1d7330),P(0x8,_0xe9e933),P(0x9,_0x38da26(J))],ue);let Q=class extends Ie{constructor(_0x44be48,_0x446dc7,_0xbf76e3,_0x3edb62,_0x35beaf,_0x5b083b,_0x30fa72,_0x59c7c6,_0x1e4632,_0xd16bbf,_0x1c9a40,_0x1bcdc1,_0x2502bb,_0x3f71d3){var _0x120176=_0x4c21f1;super(_0x44be48,_0x446dc7,_0xbf76e3,_0x3edb62,_0x30fa72,_0x1c9a40,_0x1bcdc1,_0x1e4632,_0x3f71d3),N(this,'status',_0x120176(0x35c)),(this['_acknowledgedAwaitingChangeset']=_0x35beaf,this[_0x120176(0x4a4)]=_0x5b083b,this['_injector']=_0x59c7c6,this[_0x120176(0x2ca)]=_0xd16bbf,this[_0x120176(0x291)]=_0x2502bb,this[_0x120176(0x3a7)]=_0x3f71d3);}[_0x4c21f1(0x237)](_0x41cedd){var _0x3876b1=_0x4c21f1;try{const _0x2b1dee=[..._0x41cedd,...this[_0x3876b1(0x4a4)]],_0xf6a87d=[this[_0x3876b1(0x33f)]||this[_0x3876b1(0x3d6)]]['filter'](_0x24531f=>!!_0x24531f);let _0x1f231e,_0x50d731;if(_0xf6a87d[_0x3876b1(0x1d3)]){const _0x4c2d66=this[_0x3876b1(0x291)]['transformChangesets'](_0x2b1dee,_0xf6a87d,!0x1);if(!_0x8475ed(_0x4c2d66))throw _0x4c2d66[_0x3876b1(0x3f4)];_0x1f231e=_0x4c2d66[_0x3876b1(0x36a)],_0x50d731=_0x4c2d66[_0x3876b1(0x2fd)];}else _0x1f231e=_0x2b1dee,_0x50d731=[];let _0x112019=this['_pendingMutations'];_0x1f231e[_0x3876b1(0x447)](_0x44ea3f=>{var _0x4dec31=_0x3876b1;let _0x1ea74b;if(_0x112019[_0x4dec31(0x1d3)]){const _0xfa083f=this[_0x4dec31(0x291)][_0x4dec31(0x20e)](_0x44ea3f,_0x112019);if(!_0x7fd926(_0xfa083f))throw _0xfa083f[_0x4dec31(0x3f4)];_0x1ea74b=_0xfa083f[_0x4dec31(0x36a)],_0x112019=_0xfa083f[_0x4dec31(0x351)];}else _0x1ea74b=_0x44ea3f;this[_0x4dec31(0x46a)](_0x1ea74b);}),this[_0x3876b1(0x3d6)]&&this[_0x3876b1(0x421)](),this['_awaitingChangeset']&&_0x50d731['length']&&(_0x50d731[0x0][_0x3876b1(0x47f)]=this[_0x3876b1(0x2a9)]());let _0x250473;if(this[_0x3876b1(0x33f)]&&_0x112019[_0x3876b1(0x1d3)]!==0x0)_0x250473=this[_0x3876b1(0x1f6)]['createInstance'](ae,this[_0x3876b1(0x338)],this[_0x3876b1(0x2bc)],_0x50d731[0x0],_0x112019,this['_handler'],void 0x0);else{if(this[_0x3876b1(0x33f)]&&_0x112019['length']===0x0)_0x50d731[0x0]['baseRev']=this[_0x3876b1(0x2a9)](),_0x250473=this[_0x3876b1(0x1f6)][_0x3876b1(0x404)](_e,this['unitID'],this['type'],_0x50d731[0x0],this['_handler']);else{if(_0x112019[_0x3876b1(0x1d3)]!==0x0){const _0x33a7f1=this[_0x3876b1(0x1f6)][_0x3876b1(0x404)](re,this[_0x3876b1(0x338)],this[_0x3876b1(0x2bc)],_0x112019,this[_0x3876b1(0x3f6)]);_0x33a7f1[_0x3876b1(0x238)](),_0x250473=_0x33a7f1;}else _0x250473=this[_0x3876b1(0x1f6)]['createInstance'](ye,this[_0x3876b1(0x338)],this['type'],this[_0x3876b1(0x3f6)]);}}return _0x250473[_0x3876b1(0x3c8)](),_0x250473;}catch(_0x5aeefa){return this[_0x3876b1(0x2ca)]['error'](_0x3876b1(0x43c),_0x3876b1(0x240),_0x5aeefa),this['_injector'][_0x3876b1(0x404)](le,this['unitID'],this[_0x3876b1(0x2bc)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3876b1(0x3f6)],!0x1);}}[_0x4c21f1(0x3bd)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4c21f1(0x2e5)](_0x10d024){return this['_pendingMutations']['push'](_0x10d024),this;}[_0x4c21f1(0x3c1)](_0x73fc6){var _0x2dcdcb=_0x4c21f1;return this['_queuedRemoteChangesets'][_0x2dcdcb(0x412)](_0x73fc6),this;}[_0x4c21f1(0x28c)](_0x127a9c){var _0x4c6c09=_0x4c21f1;if(this[_0x4c6c09(0x33f)])return this[_0x4c6c09(0x3d6)]=this[_0x4c6c09(0x33f)],this[_0x4c6c09(0x33f)]=null,this;throw new Error(_0x4c6c09(0x211));}[_0x4c21f1(0x441)](_0x4b375a){var _0x543343=_0x4c21f1;return this[_0x543343(0x272)](!!(_0x4b375a!=null&&_0x4b375a[_0x543343(0x297)]));}[_0x4c21f1(0x335)](){return this;}[_0x4c21f1(0x3d4)](){var _0x2cb1c1=_0x4c21f1;return this[_0x2cb1c1(0x1f6)]['createInstance'](ue,this['unitID'],this['type'],this[_0x2cb1c1(0x33f)],this[_0x2cb1c1(0x407)],this['_handler']);}[_0x4c21f1(0x1e3)](){return this;}[_0x4c21f1(0x272)](_0x176eab){var _0xf37345=_0x4c21f1;return this[_0xf37345(0x1f6)][_0xf37345(0x404)](le,this[_0xf37345(0x338)],this[_0xf37345(0x2bc)],this[_0xf37345(0x33f)],this[_0xf37345(0x407)],this['_handler'],_0x176eab);}};Q=Ee([P(0x7,_0x2c0a3d(_0x7fec80)),P(0x8,_0x2c0a3d(_0x463973)),P(0x9,_0x5be82e),P(0xa,_0x1d7330),P(0xb,_0xe9e933),P(0xc,_0x3072c1),P(0xd,_0x38da26(J))],Q);function Ci(_0x246d26,_0x2c5a42,_0x102ab2,_0x18bbd0,_0x5826b4,_0x47c62c){var _0x4986f9=_0x4c21f1;return _0x18bbd0&&_0x5826b4[_0x4986f9(0x1d3)]?_0x246d26[_0x4986f9(0x404)](ae,_0x2c5a42,_0x102ab2,_0x18bbd0,_0x5826b4,_0x47c62c,void 0x0):_0x18bbd0?_0x246d26[_0x4986f9(0x404)](_e,_0x2c5a42,_0x102ab2,_0x18bbd0,_0x47c62c):_0x5826b4[_0x4986f9(0x1d3)]?_0x246d26['createInstance'](re,_0x2c5a42,_0x102ab2,_0x5826b4,_0x47c62c):_0x246d26[_0x4986f9(0x404)](ye,_0x2c5a42,_0x102ab2,_0x47c62c);}var qs=Object['getOwnPropertyDescriptor'],wt=(_0x1fd028,_0x3d40d6,_0x2ea214,_0x2eeb60)=>{for(var _0x5a99b7=_0x2eeb60>0x1?void 0x0:_0x2eeb60?qs(_0x3d40d6,_0x2ea214):_0x3d40d6,_0x505441=_0x1fd028['length']-0x1,_0x130e77;_0x505441>=0x0;_0x505441--)(_0x130e77=_0x1fd028[_0x505441])&&(_0x5a99b7=_0x130e77(_0x5a99b7)||_0x5a99b7);return _0x5a99b7;},H=(_0x33a50f,_0x1abfff)=>(_0x170ca6,_0x319d85)=>_0x1abfff(_0x170ca6,_0x319d85,_0x33a50f);let st=class extends _0x62afe4{constructor(_0x2d08cc,_0x26baf8,_0x2fa2e2,_0x36b01d,_0x5de95e,_0x6e3318,_0x498849,_0x115fcb,_0x5c1880,_0xc253bb,_0x7250ff,_0xecb6ac,_0x17adcc){var _0x239cc8=_0x4c21f1;super(),N(this,'_state$',new _0x1beb74(null)),N(this,'state$',this[_0x239cc8(0x2c0)]['asObservable']()),N(this,_0x239cc8(0x2ee)),N(this,_0x239cc8(0x370),!0x1),N(this,_0x239cc8(0x3c3),''),N(this,_0x239cc8(0x2ae),0x0),N(this,_0x239cc8(0x3a5),this[_0x239cc8(0x30a)][_0x239cc8(0x3f2)](_0x5d85ad(_0x141989=>_0x141989?_0x141989[_0x239cc8(0x349)]:Ii[_0x239cc8(0x1bc)]),_0x576002(0x1))),N(this,_0x239cc8(0x1f7),!0x1),N(this,_0x239cc8(0x227),[]),(this[_0x239cc8(0x338)]=_0x2d08cc,this[_0x239cc8(0x36d)]=_0x26baf8,this['_type']=_0x2fa2e2,this[_0x239cc8(0x1f6)]=_0x36b01d,this[_0x239cc8(0x3db)]=_0x5de95e,this[_0x239cc8(0x43d)]=_0x6e3318,this[_0x239cc8(0x2ec)]=_0x498849,this[_0x239cc8(0x232)]=_0x115fcb,this['_logService']=_0x5c1880,this[_0x239cc8(0x2d8)]=_0xc253bb,this[_0x239cc8(0x3ac)]=_0x7250ff,this[_0x239cc8(0x3b8)]=_0xecb6ac,this[_0x239cc8(0x2a1)]=_0x17adcc);}get['state'](){var _0x2ea1fb=_0x4c21f1;return this[_0x2ea1fb(0x2ee)];}async[_0x4c21f1(0x2f5)](){var _0x558c00=_0x4c21f1;if(this[_0x558c00(0x43e)])throw new Error(_0x558c00(0x24d));await this[_0x558c00(0x254)]();}[_0x4c21f1(0x33d)](){return this['_collaborationPaused']=!0x0,_0x43bc7c(()=>{var _0x136842=_0x4a57;this[_0x136842(0x370)]=!0x1,this[_0x136842(0x3f0)]();});}['onLocalMutation'](_0xcdfb06){var _0x16ea43=_0x4c21f1;this[_0x16ea43(0x262)](_0xcdfb06);}[_0x4c21f1(0x1ce)](_0x58f90e){var _0x59561f=_0x4c21f1;this[_0x59561f(0x2ee)]=_0x58f90e,this[_0x59561f(0x2c0)]['next'](_0x58f90e);}async[_0x4c21f1(0x254)](){var _0x833ca9=_0x4c21f1,_0x3b212d;this[_0x833ca9(0x1ce)](await this[_0x833ca9(0x3b4)]()),this[_0x833ca9(0x3b8)]&&((_0x3b212d=this[_0x833ca9(0x3b8)])==null||_0x3b212d[_0x833ca9(0x2cc)](this[_0x833ca9(0x338)]),this[_0x833ca9(0x4b7)](this[_0x833ca9(0x3b8)]['getUnitStatus$'](this[_0x833ca9(0x338)])[_0x833ca9(0x233)](_0xee72e4=>{var _0x5c1d64=_0x833ca9;this['_logService'][_0x5c1d64(0x42b)](_0x5c1d64(0x390),_0x5c1d64(0x1e2),_0xee72e4),_0xee72e4===Si[_0x5c1d64(0x34b)]?(this['_eventService'][_0x5c1d64(0x398)]({'id':ne['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x5c1d64(0x2a2)](new _0x57efec(this[_0x5c1d64(0x338)])['id'],!0x1),this['_permissionService'][_0x5c1d64(0x220)](!0x1)):(this[_0x5c1d64(0x3ac)][_0x5c1d64(0x2a2)](new _0x57efec(this[_0x5c1d64(0x338)])['id'],!0x0),this[_0x5c1d64(0x3ac)][_0x5c1d64(0x220)](!0x0));})));let _0x225bb4=!0x1;return this[_0x833ca9(0x4b7)](this[_0x833ca9(0x36d)][_0x833ca9(0x364)][_0x833ca9(0x233)](_0x5efaec=>{var _0x572ac8=_0x833ca9;_0x5efaec===ge[_0x572ac8(0x287)]?this[_0x572ac8(0x4aa)](_0x225bb4):_0x5efaec===ge[_0x572ac8(0x1bc)]&&(_0x225bb4=!0x0,this[_0x572ac8(0x3e7)]());})),this[_0x833ca9(0x4b7)](this[_0x833ca9(0x36d)][_0x833ca9(0x314)][_0x833ca9(0x233)](_0x195890=>{var _0x3af215=_0x833ca9;try{switch(_0x195890[_0x3af215(0x39c)]){case _0x58eca8[_0x3af215(0x241)]:{this[_0x3af215(0x1bf)](_0xbf67ec(_0x195890[_0x3af215(0x466)]));break;}case _0x58eca8[_0x3af215(0x343)]:{this['_onRemoteACK'](_0x195890[_0x3af215(0x466)]);break;}case _0x58eca8[_0x3af215(0x1c1)]:{this[_0x3af215(0x366)]();break;}case _0x58eca8[_0x3af215(0x4ab)]:{this[_0x3af215(0x462)](_0x195890[_0x3af215(0x466)]);break;}case _0x58eca8[_0x3af215(0x2f6)]:{this['_onFetchMissResult'](_0x195890[_0x3af215(0x466)][_0x3af215(0x4bc)][_0x3af215(0x3c2)](_0x21628a=>_0xbf67ec(_0x21628a)));break;}case _0x58eca8[_0x3af215(0x271)]:{this[_0x3af215(0x366)]({'isPermissionRej':!0x0});break;}case _0x58eca8[_0x3af215(0x27b)]:break;}}catch(_0x3f831c){throw console['error'](_0x3af215(0x234),_0x3f831c),_0x3f831c;}})),this[_0x833ca9(0x2ee)];}[_0x4c21f1(0x312)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x434f60=_0x4c21f1;if(this[_0x434f60(0x1f7)])throw new Error(_0x434f60(0x35f));this['_transitionLocked']=!0x0;}[_0x4c21f1(0x262)](_0x5e51c6){var _0x4e2a96=_0x4c21f1;this[_0x4e2a96(0x357)](),this[_0x4e2a96(0x1ce)](this[_0x4e2a96(0x2ee)][_0x4e2a96(0x2e5)](_0x5e51c6)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x4897f7){var _0x428fe8=_0x4c21f1;if(!(_0x4897f7[_0x428fe8(0x1ed)]<=this[_0x428fe8(0x2ec)][_0x428fe8(0x39a)](this[_0x428fe8(0x338)]))){if(this[_0x428fe8(0x370)]){this[_0x428fe8(0x227)][_0x428fe8(0x412)](_0x4897f7);return;}this[_0x428fe8(0x3c9)](_0x4897f7);}}[_0x4c21f1(0x3f0)](){var _0x190fcc=_0x4c21f1;this[_0x190fcc(0x227)]['forEach'](_0x24e2be=>this['_applyRemoteChangeset'](_0x24e2be)),this[_0x190fcc(0x227)]=[];}[_0x4c21f1(0x3c9)](_0x546885){var _0x561f52=_0x4c21f1;const _0x280c41=this[_0x561f52(0x3db)]['interceptor'][_0x561f52(0x3a1)](this[_0x561f52(0x3db)][_0x561f52(0x1dd)][_0x561f52(0x3e5)]()[_0x561f52(0x461)])(_0x546885[_0x561f52(0x27a)],null)||_0x546885[_0x561f52(0x27a)],_0xe2c36d={..._0x546885,'mutations':_0x280c41};this['_lockTransition'](),this[_0x561f52(0x1ce)](this[_0x561f52(0x2ee)][_0x561f52(0x3c1)](_0xe2c36d)),this[_0x561f52(0x312)]();}['_onRemoteACK'](_0x41fd55){var _0x19770e=_0x4c21f1;this[_0x19770e(0x357)](),this[_0x19770e(0x1ce)](this[_0x19770e(0x2ee)]['onRemoteAck'](_0x41fd55)),this[_0x19770e(0x312)]();}[_0x4c21f1(0x366)](_0x1230a5){var _0x1199d7=_0x4c21f1;this['_lockTransition'](),this[_0x1199d7(0x1ce)](this['_state'][_0x1199d7(0x441)](_0x1230a5)),this[_0x1199d7(0x312)]();}['_onRemoteRetry'](_0x58e34e){var _0x5bfba2=_0x4c21f1;this[_0x5bfba2(0x357)](),this[_0x5bfba2(0x1ce)](this[_0x5bfba2(0x2ee)][_0x5bfba2(0x335)](_0x58e34e)),this[_0x5bfba2(0x312)]();}['_onFetchMissResult'](_0x3da493){var _0x9e4415=_0x4c21f1;if(!(this[_0x9e4415(0x2ee)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1a68cc=_0x3da493[_0x9e4415(0x3c2)](_0x3aeb16=>{var _0x423215=_0x9e4415;const _0x55f354=this[_0x423215(0x3db)][_0x423215(0x1dd)][_0x423215(0x3a1)](this[_0x423215(0x3db)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x3aeb16[_0x423215(0x27a)],null)||_0x3aeb16[_0x423215(0x27a)];return{..._0x3aeb16,'mutations':_0x55f354};});this[_0x9e4415(0x357)](),this[_0x9e4415(0x1ce)](this[_0x9e4415(0x2ee)][_0x9e4415(0x237)](_0x1a68cc)),this[_0x9e4415(0x312)]();}[_0x4c21f1(0x3e7)](){var _0x549a44=_0x4c21f1;this[_0x549a44(0x357)](),this[_0x549a44(0x1ce)](this[_0x549a44(0x2ee)][_0x549a44(0x3d4)]()),this[_0x549a44(0x312)]();}['_toggleOnline'](_0x578e22=!0x1){var _0x3a41a9=_0x4c21f1;this[_0x3a41a9(0x357)](),this[_0x3a41a9(0x1ce)](this[_0x3a41a9(0x2ee)][_0x3a41a9(0x1e3)]()),this[_0x3a41a9(0x312)]();const _0x2a3315=this[_0x3a41a9(0x2ee)];_0x578e22&&_0x2a3315 instanceof ye&&(this[_0x3a41a9(0x357)](),this[_0x3a41a9(0x1ce)](_0x2a3315[_0x3a41a9(0x48c)]()),this[_0x3a41a9(0x312)]());}async[_0x4c21f1(0x3b4)](){return new Promise(_0x367ffb=>{var _0x187d3d=_0x4a57;this[_0x187d3d(0x36d)]['sessionStatus$'][_0x187d3d(0x3f2)](_0x3a1840(0x1))['subscribe'](async _0x65ad76=>{var _0x50dd3b=_0x187d3d;_0x367ffb(await this[_0x50dd3b(0x280)](_0x65ad76===ge[_0x50dd3b(0x287)]));});});}[_0x4c21f1(0x273)](){var _0x14abca=_0x4c21f1;const _0x56b309=this[_0x14abca(0x338)];return{'onStateChange':(_0x5ac3d6,_0x2c7c66)=>{var _0x53057b=_0x14abca;if(_0x5ac3d6!==this['_state'])throw new Error(_0x53057b(0x469)+_0x5ac3d6[_0x53057b(0x349)]+'\x0aAfter:\x20'+_0x2c7c66[_0x53057b(0x349)]+_0x53057b(0x25c)+this[_0x53057b(0x2ee)][_0x53057b(0x349)]);this[_0x53057b(0x1ce)](_0x2c7c66);},'onSendChangeset':_0x4f9d92=>{var _0x3456c4=_0x14abca;_0x4f9d92[_0x3456c4(0x452)]||(_0x4f9d92[_0x3456c4(0x452)]=this['_changesetSessionId'],_0x4f9d92[_0x3456c4(0x4bf)]=++this[_0x3456c4(0x2ae)]);const _0x11c793={'eventID':_0x58eca8['SUBMIT_CHANGESET'],'data':{'unitID':_0x4f9d92[_0x3456c4(0x338)],'unitType':this[_0x3456c4(0x4b5)],'changeset':_0x4f9d92,'memberID':this['session'][_0x3456c4(0x1e0)]()}};this['session'][_0x3456c4(0x4c0)](_0x11c793,this[_0x3456c4(0x338)]);},'onMissingChangesets':({from:_0x363f7f,to:_0x58e725})=>{var _0x4bcc2a=_0x14abca;this[_0x4bcc2a(0x2ca)][_0x4bcc2a(0x42b)](_0x4bcc2a(0x390),'fetching\x20missing\x20changesets\x20from\x20'+_0x363f7f+_0x4bcc2a(0x2ad)+_0x58e725);const _0x2e7de0={'eventID':_0x58eca8[_0x4bcc2a(0x1f3)],'data':{'unitID':_0x56b309,'unitType':this[_0x4bcc2a(0x4b5)],'from':_0x363f7f,'to':_0x58e725}};this[_0x4bcc2a(0x36d)][_0x4bcc2a(0x4c0)](_0x2e7de0,this['unitID']);}};}async[_0x4c21f1(0x280)](_0x3fb71b){var _0x410e11=_0x4c21f1,_0x28c017,_0x3b74d9,_0x38eca1;const _0x2c0651=await((_0x28c017=this[_0x410e11(0x2a1)])==null?void 0x0:_0x28c017[_0x410e11(0x324)](this[_0x410e11(0x338)])),_0x3223e2=(_0x3b74d9=_0x2c0651==null?void 0x0:_0x2c0651['mutations'])!=null?_0x3b74d9:[],_0x82085a=(_0x38eca1=_0x2c0651==null?void 0x0:_0x2c0651[_0x410e11(0x267)])!=null?_0x38eca1:null,_0x5a5ff5=!!(_0x82085a!=null&&_0x82085a['sid'])&&!!(_0x82085a!=null&&_0x82085a['reqId']);this[_0x410e11(0x3c3)]=_0x5a5ff5?_0x82085a['sid']:_0x1c8798(),this[_0x410e11(0x2ae)]=_0x5a5ff5?_0x82085a['reqId']:0x0;const _0x103387=this[_0x410e11(0x338)];try{this[_0x410e11(0x37e)](_0x82085a,_0x3223e2);}catch(_0x11831a){this['_logService'][_0x410e11(0x3f4)](_0x11831a);}const _0x19e07c=this[_0x410e11(0x273)]();if(_0x3fb71b){const _0x1ddba8=Ci(this['_injector'],_0x103387,this[_0x410e11(0x4b5)],_0x82085a,_0x3223e2,_0x19e07c);return _0x1ddba8 instanceof re?_0x1ddba8[_0x410e11(0x238)]():(_0x1ddba8 instanceof ae||_0x1ddba8 instanceof _e)&&_0x1ddba8[_0x410e11(0x3bd)](),_0x1ddba8;}return this[_0x410e11(0x1f6)][_0x410e11(0x404)](ue,_0x103387,this[_0x410e11(0x4b5)],_0x82085a,_0x3223e2,_0x19e07c);}[_0x4c21f1(0x37e)](_0x28b4d4,_0x1489d6){var _0x23893e=_0x4c21f1,_0x4a0d83,_0x58e268;const _0x39b062=this[_0x23893e(0x3db)]['interceptor'][_0x23893e(0x3a1)](this[_0x23893e(0x3db)]['interceptor']['getInterceptPoints']()[_0x23893e(0x461)]);(_0x4a0d83=_0x39b062((_0x28b4d4==null?void 0x0:_0x28b4d4[_0x23893e(0x27a)])||[],null))==null||_0x4a0d83[_0x23893e(0x447)](_0x5b3683=>this[_0x23893e(0x2d8)]['executeCommand'](_0x5b3683['id'],_0x5b3683[_0x23893e(0x307)])),(_0x58e268=_0x39b062(_0x1489d6||[],null))==null||_0x58e268[_0x23893e(0x447)](_0x17ddf7=>this[_0x23893e(0x2d8)][_0x23893e(0x243)](_0x17ddf7['id'],_0x17ddf7[_0x23893e(0x307)]));}};st=wt([H(0x3,_0x2c0a3d(_0x7fec80)),H(0x4,_0x2c0a3d(_0x1175cb)),H(0x5,_0x2c0a3d(_0xad738b)),H(0x6,_0x2c0a3d(_0x463973)),H(0x7,_0x2c0a3d(ve)),H(0x8,_0x5be82e),H(0x9,_0x1d7330),H(0xa,_0xf06b7d),H(0xb,_0x38da26(ht)),H(0xc,_0x38da26(J))],st);let St=class extends st{constructor(_0x20d5df,_0x4b3395,_0x15f5e7,_0x27e3c6,_0x43853f,_0x3cf20a,_0x3340d6,_0x371128,_0x387ac0,_0x23bf99,_0x1b4095,_0x9db41a,_0x3fe6e6){var _0x13c3e2=_0x4c21f1;super(_0x20d5df,_0x15f5e7,_0x4b3395,_0x27e3c6,_0x43853f,_0x3cf20a,_0x3340d6,_0x371128,_0x387ac0,_0x23bf99,_0x1b4095,_0x9db41a,_0x3fe6e6),N(this,_0x13c3e2(0x471),null),(this[_0x13c3e2(0x338)]=_0x20d5df,this['type']=_0x4b3395);}['addHandlerCallback'](_0x10a32e){this['_handlerCallback']=_0x10a32e;}[_0x4c21f1(0x38f)](){var _0xadeb86=_0x4c21f1;this[_0xadeb86(0x471)]=null,super[_0xadeb86(0x38f)]();}[_0x4c21f1(0x273)](){var _0xc1aff9=_0x4c21f1;const _0x4a681e=super[_0xc1aff9(0x273)]();return _0x4a681e['onTransformIME']=_0xbca1a5=>{var _0x429fba=_0xc1aff9,_0xd8fe21,_0x482a3d;return(_0x482a3d=(_0xd8fe21=this['_handlerCallback'])==null?void 0x0:_0xd8fe21['onTransformIME'])==null?void 0x0:_0x482a3d[_0x429fba(0x451)](_0xd8fe21,_0xbca1a5);},_0x4a681e[_0xc1aff9(0x289)]=_0x41282c=>{var _0xaec6dd=_0xc1aff9,_0x12a9a3,_0x4257ca;return(_0x4257ca=(_0x12a9a3=this[_0xaec6dd(0x471)])==null?void 0x0:_0x12a9a3[_0xaec6dd(0x289)])==null?void 0x0:_0x4257ca[_0xaec6dd(0x451)](_0x12a9a3,_0x41282c);},_0x4a681e['onTransformSelections']=_0x4cdba9=>{var _0x1a04cf=_0xc1aff9,_0x2c8be6,_0x534e7b;return(_0x534e7b=(_0x2c8be6=this[_0x1a04cf(0x471)])==null?void 0x0:_0x2c8be6[_0x1a04cf(0x248)])==null?void 0x0:_0x534e7b[_0x1a04cf(0x451)](_0x2c8be6,_0x4cdba9);},_0x4a681e['onSyncEditingCollabCursor']=_0x38922d=>{var _0x47e8c0=_0xc1aff9,_0x4c8c41,_0x3afd17;return(_0x3afd17=(_0x4c8c41=this['_handlerCallback'])==null?void 0x0:_0x4c8c41['onSyncEditingCollabCursor'])==null?void 0x0:_0x3afd17[_0x47e8c0(0x451)](_0x4c8c41,_0x38922d);},_0x4a681e[_0xc1aff9(0x2b6)]=_0x55b708=>{var _0x558292=_0xc1aff9,_0x2c57b7,_0x32ceb8,_0x2cc425;if(!((_0x2c57b7=this[_0x558292(0x471)])!=null&&_0x2c57b7['onTransformRemoteChangesetByIMECache']))throw new Error(_0x558292(0x28a));return(_0x2cc425=(_0x32ceb8=this['_handlerCallback'])==null?void 0x0:_0x32ceb8[_0x558292(0x2b6)])==null?void 0x0:_0x2cc425[_0x558292(0x451)](_0x32ceb8,_0x55b708);},_0x4a681e[_0xc1aff9(0x405)]=_0xf7f37=>{var _0x5cfffb=_0xc1aff9,_0x1d873e,_0x2af7ba,_0x391560;if(!((_0x1d873e=this['_handlerCallback'])!=null&&_0x1d873e['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x391560=(_0x2af7ba=this[_0x5cfffb(0x471)])==null?void 0x0:_0x2af7ba[_0x5cfffb(0x405)])==null?void 0x0:_0x391560['call'](_0x2af7ba,_0xf7f37);},_0x4a681e;}async['_init'](){var _0xb4779e=_0x4c21f1;const _0x5c7e95=await super['_init']();return this['disposeWithMe'](this[_0xb4779e(0x2d8)]['onCommandExecuted']((_0x43761c,_0x45837a)=>{var _0x4d90dc=_0xb4779e;if(_0x43761c[_0x4d90dc(0x2bc)]!==_0x412b2b['MUTATION']||_0x45837a!=null&&_0x45837a[_0x4d90dc(0x449)]||_0x45837a!=null&&_0x45837a[_0x4d90dc(0x26f)]||_0x43761c['id']===_0x3d4928['id'])return;const _0x85d27b=_0x43761c[_0x4d90dc(0x307)];if((_0x85d27b==null?void 0x0:_0x85d27b[_0x4d90dc(0x282)])!==this['unitID'])return;const _0xf5dd79=_0x43761c,_0x5de5a6=this['_compressMutationService']['interceptor'][_0x4d90dc(0x3a1)](this[_0x4d90dc(0x3db)][_0x4d90dc(0x1dd)][_0x4d90dc(0x3e5)]()[_0x4d90dc(0x255)])([_0xf5dd79],null)||[_0xf5dd79];this[_0x4d90dc(0x262)](_0x5de5a6[0x0]);})),_0x5c7e95;}};St=wt([H(0x3,_0x2c0a3d(_0x7fec80)),H(0x4,_0x2c0a3d(_0x1175cb)),H(0x5,_0x2c0a3d(_0xad738b)),H(0x6,_0x2c0a3d(_0x463973)),H(0x7,_0x2c0a3d(ve)),H(0x8,_0x5be82e),H(0x9,_0x1d7330),H(0xa,_0xf06b7d),H(0xb,_0x38da26(ht)),H(0xc,_0x38da26(J))],St);let Et=class extends st{constructor(_0x3adb2c,_0x55b744,_0x43b070,_0x462045,_0x45b2ca,_0x1b8db1,_0x591719,_0x16cf97,_0x38e57b,_0x2b2123,_0x3f5a25,_0x1920ee,_0xcd37e9,_0x2c6c2d){var _0x24c251=_0x4c21f1;super(_0x3adb2c,_0x43b070,_0x55b744,_0x462045,_0x45b2ca,_0x1b8db1,_0x591719,_0x38e57b,_0x2b2123,_0x3f5a25,_0x1920ee,_0xcd37e9,_0x2c6c2d),this[_0x24c251(0x338)]=_0x3adb2c,this[_0x24c251(0x2bc)]=_0x55b744,this['_sheetTransformSelectionsService']=_0x16cf97;}[_0x4c21f1(0x273)](){var _0x380b7a=_0x4c21f1;const _0x1f8076=super['_createHandler']();return _0x1f8076[_0x380b7a(0x248)]=_0x3d4ec3=>this[_0x380b7a(0x4a0)][_0x380b7a(0x475)](_0x3d4ec3),_0x1f8076;}async[_0x4c21f1(0x254)](){var _0x330936=_0x4c21f1;const _0x38a281=await super['_init']();return this['disposeWithMe'](this[_0x330936(0x2d8)]['onCommandExecuted']((_0x2e2821,_0x1b77e3)=>{var _0x41b4ce=_0x330936;if(_0x2e2821[_0x41b4ce(0x2bc)]!==_0x412b2b['MUTATION']||_0x1b77e3!=null&&_0x1b77e3[_0x41b4ce(0x449)]||_0x1b77e3!=null&&_0x1b77e3['onlyLocal'])return;const _0x48308a=_0x2e2821[_0x41b4ce(0x307)];if((_0x48308a==null?void 0x0:_0x48308a[_0x41b4ce(0x282)])!==this[_0x41b4ce(0x338)])return;const _0x4732a7=_0x2e2821,_0xa3204c=this[_0x41b4ce(0x3db)][_0x41b4ce(0x1dd)][_0x41b4ce(0x3a1)](this[_0x41b4ce(0x3db)][_0x41b4ce(0x1dd)][_0x41b4ce(0x3e5)]()['COMPRESS_MUTATION_SEND'])([_0x4732a7],null)||[_0x4732a7];this[_0x41b4ce(0x262)](_0xa3204c[0x0]);})),_0x38a281;}};Et=wt([H(0x3,_0x2c0a3d(_0x7fec80)),H(0x4,_0x2c0a3d(_0x1175cb)),H(0x5,_0x2c0a3d(_0xad738b)),H(0x6,_0x2c0a3d(_0x463973)),H(0x7,_0x2c0a3d(it)),H(0x8,_0x2c0a3d(ve)),H(0x9,_0x5be82e),H(0xa,_0x1d7330),H(0xb,_0xf06b7d),H(0xc,_0x38da26(ht)),H(0xd,_0x38da26(J))],Et);var zs=Object['getOwnPropertyDescriptor'],Js=(_0x58afac,_0x3aa48c,_0x596366,_0x237262)=>{var _0x4c68e4=_0x4c21f1;for(var _0x4695ba=_0x237262>0x1?void 0x0:_0x237262?zs(_0x3aa48c,_0x596366):_0x3aa48c,_0x2cd947=_0x58afac[_0x4c68e4(0x1d3)]-0x1,_0x3e84a2;_0x2cd947>=0x0;_0x2cd947--)(_0x3e84a2=_0x58afac[_0x2cd947])&&(_0x4695ba=_0x3e84a2(_0x4695ba)||_0x4695ba);return _0x4695ba;},Be=(_0x2b0cb0,_0x2a9eca)=>(_0x537351,_0x4c395d)=>_0x2a9eca(_0x537351,_0x4c395d,_0x2b0cb0);let nt=class extends _0x62afe4{constructor(_0x1ccd13,_0x4de526,_0x18d211,_0x23a827){var _0x3d6778=_0x4c21f1,_0x44523f;super(),N(this,_0x3d6778(0x205),new Map()),N(this,_0x3d6778(0x3f7),new _0x55110d()),N(this,_0x3d6778(0x292),this[_0x3d6778(0x3f7)][_0x3d6778(0x2fc)]()),(this['_injector']=_0x1ccd13,this[_0x3d6778(0x2c2)]=_0x4de526,this[_0x3d6778(0x4be)]=_0x18d211,this[_0x3d6778(0x2b5)]=_0x23a827,((_0x44523f=this[_0x3d6778(0x4be)][_0x3d6778(0x49f)](K))==null?void 0x0:_0x44523f['enableCollaboration'])!==!0x1&&this[_0x3d6778(0x254)]());}[_0x4c21f1(0x38f)](){var _0x159754=_0x4c21f1;super[_0x159754(0x38f)](),this[_0x159754(0x205)][_0x159754(0x447)](_0x2cd72b=>_0x2cd72b[_0x159754(0x38f)]()),this[_0x159754(0x205)]['clear']();}['getCollabEntity'](_0x2ca25b){var _0x11a26f=_0x4c21f1,_0x51a436;return(_0x51a436=this['_entities'][_0x11a26f(0x377)](_0x2ca25b))!=null?_0x51a436:null;}['getCollabEntity$'](_0x3c349e){var _0x4144cf=_0x4c21f1;const _0x3e32d6=this[_0x4144cf(0x2dd)](_0x3c349e);return _0x3e32d6?_0x5c13fc(_0x3e32d6):this[_0x4144cf(0x3f7)]['pipe'](_0x29f54f(_0x2f4da2=>_0x2f4da2[_0x4144cf(0x338)]===_0x3c349e));}['readyForCollab'](_0x16c13b){var _0x4b8a58=_0x4c21f1;return _0x43329a(this[_0x4b8a58(0x1fd)](_0x16c13b)[_0x4b8a58(0x3f2)](_0x29b017(()=>{})));}[_0x4c21f1(0x254)](){var _0x2d0cfd=_0x4c21f1;this[_0x2d0cfd(0x2b5)][_0x2d0cfd(0x401)](_0x3824d6['UNIVER_SHEET'])[_0x2d0cfd(0x3f2)](_0x354b4b(this['dispose$']),_0xf1e479(0x10))[_0x2d0cfd(0x233)](async _0x6fc5e8=>{var _0x55b6a8=_0x2d0cfd;const _0x30903a=_0x6fc5e8[_0x55b6a8(0x402)](),_0x203fa4=await this[_0x55b6a8(0x3b2)](_0x30903a,Z[_0x55b6a8(0x2d2)]);this[_0x55b6a8(0x205)]['set'](_0x30903a,_0x203fa4);}),this['_univerInstanceService'][_0x2d0cfd(0x401)](_0x3824d6[_0x2d0cfd(0x1de)])['pipe'](_0x354b4b(this['dispose$']),_0xf1e479(0x10))[_0x2d0cfd(0x3f2)](_0x29f54f(_0x1b2ddc=>!_0x1b2ddc[_0x2d0cfd(0x402)]()[_0x2d0cfd(0x302)]('__')))[_0x2d0cfd(0x233)](async _0x25288c=>{var _0x5efe4d=_0x2d0cfd;const _0x3bf2e9=_0x25288c['getUnitId'](),_0x37c94c=await this['_startCollaboration'](_0x3bf2e9,Z[_0x5efe4d(0x1de)]);this[_0x5efe4d(0x205)]['set'](_0x3bf2e9,_0x37c94c);}),_0x459593(this[_0x2d0cfd(0x2b5)][_0x2d0cfd(0x35b)](_0x3824d6['UNIVER_SHEET']),this[_0x2d0cfd(0x2b5)][_0x2d0cfd(0x35b)](_0x3824d6[_0x2d0cfd(0x1de)]))[_0x2d0cfd(0x3f2)](_0x354b4b(this[_0x2d0cfd(0x236)]))[_0x2d0cfd(0x233)](_0x2b1933=>{var _0x285e1c=_0x2d0cfd;const _0xb3429=_0x2b1933[_0x285e1c(0x402)](),_0x1eb4b2=this['_entities']['get'](_0xb3429);_0x1eb4b2&&(_0x1eb4b2[_0x285e1c(0x38f)](),this['_entities']['delete'](_0xb3429));});}async['_startCollaboration'](_0xb9a799,_0x17d275){var _0x5be46a=_0x4c21f1;const _0x2bb286=await this[_0x5be46a(0x2c2)]['requireSession'](_0xb9a799),_0x2a56ed=this[_0x5be46a(0x1f6)][_0x5be46a(0x404)](this[_0x5be46a(0x2c7)](_0x17d275),_0xb9a799,_0x17d275,_0x2bb286);return await _0x2a56ed[_0x5be46a(0x2f5)](),this[_0x5be46a(0x3f7)][_0x5be46a(0x363)](_0x2a56ed),_0x2a56ed;}[_0x4c21f1(0x2c7)](_0x2cbdbb){var _0x373459=_0x4c21f1;switch(_0x2cbdbb){case Z['UNIVER_DOC']:return St;case Z[_0x373459(0x2d2)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2cbdbb);}}};nt=Js([Be(0x0,_0x2c0a3d(_0x7fec80)),Be(0x1,_0x2c0a3d(Pe)),Be(0x2,_0x59b36e),Be(0x3,_0xc6320)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x44cb24,_0x26cf40,_0xd7cd24,_0x598fc0)=>{for(var _0x2ebebe=_0x598fc0>0x1?void 0x0:_0x598fc0?Xs(_0x26cf40,_0xd7cd24):_0x26cf40,_0x53b1d6=_0x44cb24['length']-0x1,_0x1dda6f;_0x53b1d6>=0x0;_0x53b1d6--)(_0x1dda6f=_0x44cb24[_0x53b1d6])&&(_0x2ebebe=_0x1dda6f(_0x2ebebe)||_0x2ebebe);return _0x2ebebe;},Yt=(_0x2f3183,_0x592e7b)=>(_0x17f3b7,_0xa20315)=>_0x592e7b(_0x17f3b7,_0xa20315,_0x2f3183);const Qs=_0x4c21f1(0x4a5),en='Univer';let It=class extends _0x248507{constructor(_0x529b92,_0x4f3585){var _0x178015=_0x4c21f1;super(),this[_0x178015(0x2b5)]=_0x529b92,this[_0x178015(0x4be)]=_0x4f3585,this[_0x178015(0x254)]();}[_0x4c21f1(0x254)](){var _0x161efd=_0x4c21f1;this[_0x161efd(0x4b7)](this[_0x161efd(0x2b5)][_0x161efd(0x1e5)][_0x161efd(0x233)](()=>{var _0x35bcd3=_0x161efd,_0x14ce93;const _0x30ac13=this[_0x35bcd3(0x2b5)][_0x35bcd3(0x4b4)]();let _0x513895=(_0x14ce93=this[_0x35bcd3(0x4be)][_0x35bcd3(0x49f)](Qs))!=null?_0x14ce93:en;_0x30ac13 instanceof _0x139e77&&(_0x513895=_0x30ac13[_0x35bcd3(0x40a)]),document[_0x35bcd3(0x375)]=_0x513895;}));}};It=Zs([Yt(0x0,_0xc6320),Yt(0x1,_0x59b36e)],It);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x39e71a,_0x46e136,_0x220e8c,_0x2eb09e)=>{var _0x1a6c86=_0x4c21f1;for(var _0x3003d7=_0x2eb09e>0x1?void 0x0:_0x2eb09e?tn(_0x46e136,_0x220e8c):_0x46e136,_0x4558b5=_0x39e71a[_0x1a6c86(0x1d3)]-0x1,_0x59db48;_0x4558b5>=0x0;_0x4558b5--)(_0x59db48=_0x39e71a[_0x4558b5])&&(_0x3003d7=_0x59db48(_0x3003d7)||_0x3003d7);return _0x3003d7;},dt=(_0x55ffd0,_0x1dc9ff)=>(_0x58d2a3,_0x304c22)=>_0x1dc9ff(_0x58d2a3,_0x304c22,_0x55ffd0);let rt=class{constructor(_0x587497,_0x2d5d98,_0x3075c5){var _0x32909f=_0x4c21f1;this[_0x32909f(0x4be)]=_0x587497,this[_0x32909f(0x41e)]=_0x2d5d98,this[_0x32909f(0x348)]=_0x3075c5,this[_0x32909f(0x2f5)]();}[_0x4c21f1(0x2f5)](){var _0x590230=_0x4c21f1;this[_0x590230(0x41e)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1f60b4,_0x4692e9)=>_0x4692e9(_0x1f60b4)[_0x590230(0x3f2)](_0x50c916(async _0x177ec3=>{var _0x132f02=_0x590230;const _0x45f4d2=_0x177ec3;if(_0x45f4d2[_0x132f02(0x349)]===0x191){if(typeof window>'u')throw new Error(_0x132f02(0x47b));if(window[_0x132f02(0x206)](this[_0x132f02(0x348)]['t']('auth.needGotoLoginAlert'))){const _0x3e896c=window[_0x132f02(0x3d2)](window[_0x132f02(0x278)][_0x132f02(0x332)]);window['location'][_0x132f02(0x332)]=this['_getLoginPath']()+'?url='+_0x3e896c;}}return _0x45f4d2;}))});}[_0x4c21f1(0x389)](){var _0x38650=_0x4c21f1,_0x53b103;const _0x20fa1f=this[_0x38650(0x4be)][_0x38650(0x49f)](K);return(_0x53b103=_0x20fa1f==null?void 0x0:_0x20fa1f['loginUrlKey'])!=null?_0x53b103:Rs;}};rt=sn([dt(0x0,_0x59b36e),dt(0x1,_0x2c0a3d(_0x7b7143)),dt(0x2,_0x2c0a3d(_0xad738b))],rt);var nn=Object[_0x4c21f1(0x23a)],rn=(_0x3a4cdb,_0x4b989a,_0x36807a,_0x5254bd)=>{var _0x2b04c2=_0x4c21f1;for(var _0x1a5ee3=_0x5254bd>0x1?void 0x0:_0x5254bd?nn(_0x4b989a,_0x36807a):_0x4b989a,_0x340dc7=_0x3a4cdb[_0x2b04c2(0x1d3)]-0x1,_0x18d7b3;_0x340dc7>=0x0;_0x340dc7--)(_0x18d7b3=_0x3a4cdb[_0x340dc7])&&(_0x1a5ee3=_0x18d7b3(_0x1a5ee3)||_0x1a5ee3);return _0x1a5ee3;},Kt=(_0x4b9bb2,_0x18c1de)=>(_0x4f6718,_0x275a5f)=>_0x18c1de(_0x4f6718,_0x275a5f,_0x4b9bb2);const an='/universer-api/authz';let Tt=class extends _0x248507{constructor(_0x135f26,_0x523525){var _0xd8459=_0x4c21f1;super(),this[_0xd8459(0x3df)]=_0x135f26,this[_0xd8459(0x4be)]=_0x523525,this[_0xd8459(0x44d)]();}[_0x4c21f1(0x44d)](){var _0xef6113=_0x4c21f1;const _0x32724d=this;this[_0xef6113(0x4b7)](this['_HTTPService'][_0xef6113(0x38b)]({'priority':0x3e7,'interceptor':_0x5456f7({'isMatch'(_0x556a2c){var _0x511562=_0xef6113,_0x524795;if(_0x556a2c[_0x511562(0x49b)]===_0x511562(0x23c)&&((_0x524795=_0x556a2c[_0x511562(0x443)])!=null&&_0x524795[_0x511562(0x319)])){const {objectID:_0x341326,objectType:_0x2cc5ef}=_0x556a2c['requestParams'][_0x511562(0x319)]||{};if(!_0x341326||_0x2cc5ef===void 0x0)return!0x1;const _0x4e1f16=_0x32724d[_0x511562(0x23f)]()+'/'+_0x2cc5ef+_0x511562(0x3dd)+_0x341326+'/allowed';if(_0x556a2c[_0x511562(0x350)]===_0x4e1f16)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5b0ec1){var _0x5b521f=_0xef6113,_0x3ffcda;return(_0x3ffcda=_0x5b0ec1[_0x5b521f(0x443)])==null?void 0x0:_0x3ffcda[_0x5b521f(0x319)];},'mergeParamsToRequest'(_0x38a792,_0x23fc46){var _0x24da05=_0xef6113;const _0x4f2154=_0x32724d['_getAPIPrefixPath']()+_0x24da05(0x29e),_0x3c2b53=_0x38a792['reduce']((_0x592688,_0x2b8b3d)=>{var _0x358f84=_0x24da05;const {unitID:_0x10ea9e,objectID:_0x2c197d,objectType:_0x2f552b,actions:_0x5d874f}=_0x2b8b3d;return _0x592688[_0x10ea9e]||(_0x592688[_0x10ea9e]={}),_0x592688[_0x10ea9e][_0x2c197d]||(_0x592688[_0x10ea9e][_0x2c197d]={'objectID':_0x2c197d,'objectType':_0x2f552b,'actions':[]}),_0x592688[_0x10ea9e][_0x2c197d][_0x358f84(0x286)][_0x358f84(0x412)](..._0x5d874f),_0x592688;},{}),_0x595bc4=[];for(const _0x313907 in _0x3c2b53)for(const _0x412f1c in _0x3c2b53[_0x313907]){const {actions:_0x3f32ba,objectType:_0x553c23}=_0x3c2b53[_0x313907][_0x412f1c],_0x5684a2=[...new Set(_0x3f32ba)];_0x595bc4[_0x24da05(0x412)]({'unitID':_0x313907,'objectID':_0x412f1c,'objectType':_0x553c23,'actions':_0x5684a2});}return new _0x18a2f3(_0x24da05(0x23c),_0x4f2154,{'headers':_0x23fc46[_0x24da05(0x2d9)],'withCredentials':_0x23fc46['withCredentials'],'responseType':_0x23fc46['responseType'],'body':{'requests':_0x595bc4}});}},{'distributeResult'(_0x50ba95,_0x5bac6b){var _0x2fa12c=_0xef6113;const {objectActions:_0x1ed188}=_0x50ba95;return _0x5bac6b[_0x2fa12c(0x3c2)](_0x2acb3c=>{var _0x5af8c6=_0x2fa12c;const {unitID:_0x588de4,objectID:_0x977676,actions:_0x2ed319}=_0x2acb3c,_0x56af72=_0x1ed188['find'](_0x187fa0=>_0x187fa0[_0x5af8c6(0x338)]===_0x588de4&&_0x187fa0['objectID']===_0x977676),_0x11cb13=_0x2ed319[_0x5af8c6(0x3c2)](_0x3dde98=>_0x56af72==null?void 0x0:_0x56af72['actions'][_0x5af8c6(0x341)](_0xa7a701=>_0xa7a701[_0x5af8c6(0x40f)]===_0x3dde98))['filter'](_0x595b3f=>!!_0x595b3f);return{'config':_0x2acb3c,'result':{'actions':_0x11cb13,'error':_0x50ba95[_0x5af8c6(0x3f4)]}};});}})}));}[_0x4c21f1(0x23f)](){var _0x267275=_0x4c21f1,_0x218d1b;const _0x4d2f0d=this[_0x267275(0x4be)][_0x267275(0x49f)](K);return(_0x218d1b=_0x4d2f0d==null?void 0x0:_0x4d2f0d[_0x267275(0x380)])!=null?_0x218d1b:an;}async[_0x4c21f1(0x2de)](_0x4c8fd0){var _0xd46d81=_0x4c21f1;const _0x545ce8=this[_0xd46d81(0x23f)]()+'/'+_0x4c8fd0['objectType']+_0xd46d81(0x257);return(await this['_HTTPService'][_0xd46d81(0x28f)](_0x545ce8,{'body':_0x4c8fd0}))['body'][_0xd46d81(0x2fb)]||'';}async['list'](_0x1fea14){var _0x3cb7f6=_0x4c21f1;const _0x39b4da=this[_0x3cb7f6(0x23f)]()+'/-/object/list';return(await this[_0x3cb7f6(0x3df)][_0x3cb7f6(0x28f)](_0x39b4da,{'body':_0x1fea14}))[_0x3cb7f6(0x319)][_0x3cb7f6(0x1ef)];}async[_0x4c21f1(0x3ad)](_0x35dede){var _0x464762=_0x4c21f1,_0xd04c86,_0x221fc8;const _0x41196d=this['_getAPIPrefixPath']()+'/'+_0x35dede[_0x464762(0x2e8)]+_0x464762(0x3dd)+_0x35dede['objectID'],_0x598931=await this[_0x464762(0x3df)][_0x464762(0x304)](_0x41196d,{'body':_0x35dede});if(((_0x221fc8=(_0xd04c86=_0x598931==null?void 0x0:_0x598931[_0x464762(0x319)])==null?void 0x0:_0xd04c86[_0x464762(0x3f4)])==null?void 0x0:_0x221fc8[_0x464762(0x36f)])!==0x1)throw new Error(_0x464762(0x3af));}async['allowed'](_0x23ff1d){var _0x99b85d=_0x4c21f1;const _0x42dc5a=this[_0x99b85d(0x23f)]()+'/'+_0x23ff1d['objectType']+_0x99b85d(0x3dd)+_0x23ff1d[_0x99b85d(0x2fb)]+'/allowed';return(await this[_0x99b85d(0x3df)][_0x99b85d(0x28f)](_0x42dc5a,{'body':_0x23ff1d}))[_0x99b85d(0x319)][_0x99b85d(0x286)];}async[_0x4c21f1(0x458)](_0x2a5f9f){var _0x13d89d=_0x4c21f1;const _0x3da036=this[_0x13d89d(0x23f)]()+_0x13d89d(0x29e);return(await this['_HTTPService']['post'](_0x3da036,{'body':{'requests':_0x2a5f9f}}))[_0x13d89d(0x319)][_0x13d89d(0x224)];}async[_0x4c21f1(0x245)](_0x27c7f5){var _0x5547c2=_0x4c21f1;const _0x17c49b=this[_0x5547c2(0x23f)]()+'/'+_0x27c7f5[_0x5547c2(0x2e8)]+_0x5547c2(0x32b),_0x53826c=await this[_0x5547c2(0x3df)]['post'](_0x17c49b,{'body':_0x27c7f5});return{'roles':_0x53826c[_0x5547c2(0x319)][_0x5547c2(0x2a5)],'actions':_0x53826c[_0x5547c2(0x319)][_0x5547c2(0x286)]};}async[_0x4c21f1(0x228)](_0x48237b){var _0x5e4aee=_0x4c21f1;const _0x3f8dcc=this[_0x5e4aee(0x23f)]()+_0x5e4aee(0x3c6);await this[_0x5e4aee(0x3df)][_0x5e4aee(0x4b9)](_0x3f8dcc,{'params':{'collaboratorID':_0x48237b[_0x5e4aee(0x242)],'objectID':_0x48237b['objectID'],'unitID':_0x48237b[_0x5e4aee(0x338)]}});}async[_0x4c21f1(0x2d1)](_0x183678){var _0x547fee=_0x4c21f1;const _0xd1fe06=this[_0x547fee(0x23f)]()+'/collaborator';await this[_0x547fee(0x3df)][_0x547fee(0x1d1)](_0xd1fe06,{'body':_0x183678});}async[_0x4c21f1(0x416)](_0x3269df){var _0xfb9e23=_0x4c21f1;const _0xfbcd6d=this['_getAPIPrefixPath']()+_0xfb9e23(0x3c6);await this['_HTTPService'][_0xfb9e23(0x28f)](_0xfbcd6d,{'body':_0x3269df});}async[_0x4c21f1(0x1f1)](_0x1ae21d){var _0x12e9b1=_0x4c21f1;const _0x19b942=this[_0x12e9b1(0x23f)]()+'/collaborator';return(await this[_0x12e9b1(0x3df)]['get'](_0x19b942,{'params':{'objectID':_0x1ae21d[_0x12e9b1(0x2fb)],'unitID':_0x1ae21d[_0x12e9b1(0x338)]}}))[_0x12e9b1(0x319)][_0x12e9b1(0x1db)];}async['putCollaborators'](_0x5e9b94){var _0x1b6c59=_0x4c21f1;const _0xb3b9ed=this[_0x1b6c59(0x23f)]()+'/collaborator';await this[_0x1b6c59(0x3df)][_0x1b6c59(0x304)](_0xb3b9ed,{'body':_0x5e9b94});}};Tt=rn([Kt(0x0,_0x2c0a3d(_0x7b7143)),Kt(0x1,_0x2c0a3d(_0x59b36e))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x31c463){var _0x13865b=_0x4c21f1;return _0x31c463&&_0x31c463[_0x13865b(0x2fe)]&&Object[_0x13865b(0x26e)]['hasOwnProperty'][_0x13865b(0x451)](_0x31c463,'default')?_0x31c463['default']:_0x31c463;}var Ve={'exports':{}};function on(_0x11e232){var _0x24af62=_0x4c21f1;throw new Error(_0x24af62(0x450)+_0x11e232+_0x24af62(0x2cb));}var We={'exports':{}},cn=We['exports'],qt;function te(){return qt||(qt=0x1,function(_0x5dd994,_0x3313ae){(function(_0x3342d9,_0xf3ef3d){var _0x5c90e2=_0x4a57;_0x5dd994[_0x5c90e2(0x387)]=_0xf3ef3d();}(cn,function(){var _0x1cc8d1=_0x1cc8d1||function(_0x3d6933,_0x525fce){var _0x4af26e=_0x4a57,_0x334706;if(typeof window<'u'&&window[_0x4af26e(0x26c)]&&(_0x334706=window[_0x4af26e(0x26c)]),typeof self<'u'&&self[_0x4af26e(0x26c)]&&(_0x334706=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4af26e(0x26c)]&&(_0x334706=globalThis[_0x4af26e(0x26c)]),!_0x334706&&typeof window<'u'&&window[_0x4af26e(0x1ff)]&&(_0x334706=window[_0x4af26e(0x1ff)]),!_0x334706&&typeof ft<'u'&&ft['crypto']&&(_0x334706=ft[_0x4af26e(0x26c)]),!_0x334706&&typeof on==_0x4af26e(0x365))try{_0x334706=require('crypto');}catch{}var _0x134619=function(){var _0x77657f=_0x4af26e;if(_0x334706){if(typeof _0x334706[_0x77657f(0x30e)]==_0x77657f(0x365))try{return _0x334706[_0x77657f(0x30e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x334706[_0x77657f(0x3c4)]=='function')try{return _0x334706[_0x77657f(0x3c4)](0x4)[_0x77657f(0x422)]();}catch{}}throw new Error(_0x77657f(0x423));},_0x20910e=Object[_0x4af26e(0x2de)]||(function(){function _0x1a028a(){}return function(_0x1ea184){var _0x4b4174=_0x4a57,_0x5843c0;return _0x1a028a['prototype']=_0x1ea184,_0x5843c0=new _0x1a028a(),_0x1a028a[_0x4b4174(0x26e)]=null,_0x5843c0;};}()),_0x26c42a={},_0x1f6973=_0x26c42a[_0x4af26e(0x3e0)]={},_0xab0dd5=_0x1f6973[_0x4af26e(0x2f3)]=(function(){return{'extend':function(_0x2affd7){var _0x5b8074=_0x4a57,_0x78acb4=_0x20910e(this);return _0x2affd7&&_0x78acb4[_0x5b8074(0x24b)](_0x2affd7),(!_0x78acb4[_0x5b8074(0x316)](_0x5b8074(0x2f5))||this[_0x5b8074(0x2f5)]===_0x78acb4[_0x5b8074(0x2f5)])&&(_0x78acb4['init']=function(){var _0x3b12a1=_0x5b8074;_0x78acb4[_0x3b12a1(0x299)][_0x3b12a1(0x2f5)][_0x3b12a1(0x31a)](this,arguments);}),_0x78acb4[_0x5b8074(0x2f5)][_0x5b8074(0x26e)]=_0x78acb4,_0x78acb4[_0x5b8074(0x299)]=this,_0x78acb4;},'create':function(){var _0x496aa2=_0x4a57,_0x216095=this['extend']();return _0x216095[_0x496aa2(0x2f5)][_0x496aa2(0x31a)](_0x216095,arguments),_0x216095;},'init':function(){},'mixIn':function(_0xb87c26){var _0x19464a=_0x4a57;for(var _0x10d9ef in _0xb87c26)_0xb87c26[_0x19464a(0x316)](_0x10d9ef)&&(this[_0x10d9ef]=_0xb87c26[_0x10d9ef]);_0xb87c26['hasOwnProperty']('toString')&&(this[_0x19464a(0x463)]=_0xb87c26['toString']);},'clone':function(){var _0x426b49=_0x4a57;return this[_0x426b49(0x2f5)][_0x426b49(0x26e)][_0x426b49(0x43b)](this);}};}()),_0x56ac56=_0x1f6973[_0x4af26e(0x2ab)]=_0xab0dd5[_0x4af26e(0x43b)]({'init':function(_0x3cbf17,_0x433c9e){var _0x1b945e=_0x4af26e;_0x3cbf17=this[_0x1b945e(0x394)]=_0x3cbf17||[],_0x433c9e!=_0x525fce?this[_0x1b945e(0x43a)]=_0x433c9e:this[_0x1b945e(0x43a)]=_0x3cbf17[_0x1b945e(0x1d3)]*0x4;},'toString':function(_0x507364){var _0xdd0ed=_0x4af26e;return(_0x507364||_0x25763f)[_0xdd0ed(0x303)](this);},'concat':function(_0x2d2ac6){var _0x7d182b=_0x4af26e,_0x5a6238=this[_0x7d182b(0x394)],_0x3db1e5=_0x2d2ac6[_0x7d182b(0x394)],_0x29ba86=this[_0x7d182b(0x43a)],_0x476a3a=_0x2d2ac6[_0x7d182b(0x43a)];if(this['clamp'](),_0x29ba86%0x4)for(var _0x9d63f0=0x0;_0x9d63f0<_0x476a3a;_0x9d63f0++){var _0x44a6ec=_0x3db1e5[_0x9d63f0>>>0x2]>>>0x18-_0x9d63f0%0x4*0x8&0xff;_0x5a6238[_0x29ba86+_0x9d63f0>>>0x2]|=_0x44a6ec<<0x18-(_0x29ba86+_0x9d63f0)%0x4*0x8;}else{for(var _0x473ca9=0x0;_0x473ca9<_0x476a3a;_0x473ca9+=0x4)_0x5a6238[_0x29ba86+_0x473ca9>>>0x2]=_0x3db1e5[_0x473ca9>>>0x2];}return this[_0x7d182b(0x43a)]+=_0x476a3a,this;},'clamp':function(){var _0x4fdd85=_0x4af26e,_0xcc04c5=this[_0x4fdd85(0x394)],_0x269414=this[_0x4fdd85(0x43a)];_0xcc04c5[_0x269414>>>0x2]&=0xffffffff<<0x20-_0x269414%0x4*0x8,_0xcc04c5[_0x4fdd85(0x1d3)]=_0x3d6933[_0x4fdd85(0x2c5)](_0x269414/0x4);},'clone':function(){var _0x155235=_0x4af26e,_0x576f7f=_0xab0dd5[_0x155235(0x468)][_0x155235(0x451)](this);return _0x576f7f[_0x155235(0x394)]=this[_0x155235(0x394)][_0x155235(0x3fd)](0x0),_0x576f7f;},'random':function(_0x2f711d){var _0x568e29=_0x4af26e;for(var _0x45d5ae=[],_0x3340a7=0x0;_0x3340a7<_0x2f711d;_0x3340a7+=0x4)_0x45d5ae[_0x568e29(0x412)](_0x134619());return new _0x56ac56[(_0x568e29(0x2f5))](_0x45d5ae,_0x2f711d);}}),_0x10e580=_0x26c42a['enc']={},_0x25763f=_0x10e580['Hex']={'stringify':function(_0x4189b1){var _0x1af16c=_0x4af26e;for(var _0x432b48=_0x4189b1[_0x1af16c(0x394)],_0x59b178=_0x4189b1['sigBytes'],_0x18a48b=[],_0xc4bcd=0x0;_0xc4bcd<_0x59b178;_0xc4bcd++){var _0x575040=_0x432b48[_0xc4bcd>>>0x2]>>>0x18-_0xc4bcd%0x4*0x8&0xff;_0x18a48b[_0x1af16c(0x412)]((_0x575040>>>0x4)[_0x1af16c(0x463)](0x10)),_0x18a48b[_0x1af16c(0x412)]((_0x575040&0xf)[_0x1af16c(0x463)](0x10));}return _0x18a48b[_0x1af16c(0x42c)]('');},'parse':function(_0x2d66c3){var _0x239caa=_0x4af26e;for(var _0x2de58c=_0x2d66c3['length'],_0x2dd05e=[],_0x58ec5d=0x0;_0x58ec5d<_0x2de58c;_0x58ec5d+=0x2)_0x2dd05e[_0x58ec5d>>>0x3]|=parseInt(_0x2d66c3[_0x239caa(0x437)](_0x58ec5d,0x2),0x10)<<0x18-_0x58ec5d%0x8*0x4;return new _0x56ac56['init'](_0x2dd05e,_0x2de58c/0x2);}},_0x3585ed=_0x10e580[_0x4af26e(0x39e)]={'stringify':function(_0x24be7c){var _0x238b51=_0x4af26e;for(var _0x337266=_0x24be7c[_0x238b51(0x394)],_0x2fdd12=_0x24be7c[_0x238b51(0x43a)],_0x4725e2=[],_0x1d7dd5=0x0;_0x1d7dd5<_0x2fdd12;_0x1d7dd5++){var _0x5e3760=_0x337266[_0x1d7dd5>>>0x2]>>>0x18-_0x1d7dd5%0x4*0x8&0xff;_0x4725e2[_0x238b51(0x412)](String[_0x238b51(0x24e)](_0x5e3760));}return _0x4725e2[_0x238b51(0x42c)]('');},'parse':function(_0x545f02){var _0x2634ad=_0x4af26e;for(var _0x14c879=_0x545f02[_0x2634ad(0x1d3)],_0x44be16=[],_0x575cff=0x0;_0x575cff<_0x14c879;_0x575cff++)_0x44be16[_0x575cff>>>0x2]|=(_0x545f02[_0x2634ad(0x2c1)](_0x575cff)&0xff)<<0x18-_0x575cff%0x4*0x8;return new _0x56ac56[(_0x2634ad(0x2f5))](_0x44be16,_0x14c879);}},_0x41ed08=_0x10e580[_0x4af26e(0x2e2)]={'stringify':function(_0x270d3c){var _0x3c4864=_0x4af26e;try{return decodeURIComponent(escape(_0x3585ed[_0x3c4864(0x303)](_0x270d3c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4ba272){var _0x4cce0f=_0x4af26e;return _0x3585ed[_0x4cce0f(0x2f4)](unescape(encodeURIComponent(_0x4ba272)));}},_0x51d47f=_0x1f6973[_0x4af26e(0x367)]=_0xab0dd5['extend']({'reset':function(){var _0x56505f=_0x4af26e;this[_0x56505f(0x226)]=new _0x56ac56[(_0x56505f(0x2f5))](),this[_0x56505f(0x427)]=0x0;},'_append':function(_0x576742){var _0x536d96=_0x4af26e;typeof _0x576742==_0x536d96(0x2c3)&&(_0x576742=_0x41ed08[_0x536d96(0x2f4)](_0x576742)),this[_0x536d96(0x226)]['concat'](_0x576742),this[_0x536d96(0x427)]+=_0x576742[_0x536d96(0x43a)];},'_process':function(_0x4bd9d6){var _0x1ab0e7=_0x4af26e,_0x1a78ae,_0x46cee4=this[_0x1ab0e7(0x226)],_0x7b9d55=_0x46cee4[_0x1ab0e7(0x394)],_0x1a389a=_0x46cee4[_0x1ab0e7(0x43a)],_0xf76845=this['blockSize'],_0x247592=_0xf76845*0x4,_0x31f806=_0x1a389a/_0x247592;_0x4bd9d6?_0x31f806=_0x3d6933[_0x1ab0e7(0x2c5)](_0x31f806):_0x31f806=_0x3d6933[_0x1ab0e7(0x3b1)]((_0x31f806|0x0)-this['_minBufferSize'],0x0);var _0x4517c9=_0x31f806*_0xf76845,_0x535f0d=_0x3d6933['min'](_0x4517c9*0x4,_0x1a389a);if(_0x4517c9){for(var _0xee935f=0x0;_0xee935f<_0x4517c9;_0xee935f+=_0xf76845)this[_0x1ab0e7(0x4ba)](_0x7b9d55,_0xee935f);_0x1a78ae=_0x7b9d55[_0x1ab0e7(0x259)](0x0,_0x4517c9),_0x46cee4[_0x1ab0e7(0x43a)]-=_0x535f0d;}return new _0x56ac56['init'](_0x1a78ae,_0x535f0d);},'clone':function(){var _0x47a5b2=_0x4af26e,_0xa192be=_0xab0dd5[_0x47a5b2(0x468)][_0x47a5b2(0x451)](this);return _0xa192be[_0x47a5b2(0x226)]=this[_0x47a5b2(0x226)][_0x47a5b2(0x468)](),_0xa192be;},'_minBufferSize':0x0});_0x1f6973['Hasher']=_0x51d47f[_0x4af26e(0x43b)]({'cfg':_0xab0dd5[_0x4af26e(0x43b)](),'init':function(_0x5e4b75){var _0x29c8d8=_0x4af26e;this[_0x29c8d8(0x44b)]=this[_0x29c8d8(0x44b)]['extend'](_0x5e4b75),this['reset']();},'reset':function(){var _0x233040=_0x4af26e;_0x51d47f[_0x233040(0x2bd)][_0x233040(0x451)](this),this[_0x233040(0x368)]();},'update':function(_0x1fc6f8){var _0x4ff148=_0x4af26e;return this[_0x4ff148(0x352)](_0x1fc6f8),this[_0x4ff148(0x37b)](),this;},'finalize':function(_0x4b77dc){var _0x839066=_0x4af26e;_0x4b77dc&&this[_0x839066(0x352)](_0x4b77dc);var _0xd7dd71=this[_0x839066(0x28e)]();return _0xd7dd71;},'blockSize':0x10,'_createHelper':function(_0x28f963){return function(_0x37f6f0,_0x1be562){var _0xff1e39=_0x4a57;return new _0x28f963[(_0xff1e39(0x2f5))](_0x1be562)[_0xff1e39(0x3b9)](_0x37f6f0);};},'_createHmacHelper':function(_0x3dfcf1){return function(_0x4a7ae9,_0xb84ec4){var _0x92aefe=_0x4a57;return new _0x21107c[(_0x92aefe(0x2f9))]['init'](_0x3dfcf1,_0xb84ec4)[_0x92aefe(0x3b9)](_0x4a7ae9);};}});var _0x21107c=_0x26c42a[_0x4af26e(0x3d7)]={};return _0x26c42a;}(Math);return _0x1cc8d1;}));}(We)),We['exports'];}var Ge={'exports':{}},hn=Ge[_0x4c21f1(0x387)],zt;function Ri(){var _0x2b49af=_0x4c21f1;return zt||(zt=0x1,function(_0x1f3daa,_0x1378aa){(function(_0xf996bf,_0x582e1c){var _0x35cfa9=_0x4a57;_0x1f3daa[_0x35cfa9(0x387)]=_0x582e1c(te());}(hn,function(_0x4dc8dd){var _0x43f837=_0x4a57;return(function(){var _0xd5343b=_0x4a57,_0x41b23e=_0x4dc8dd,_0x50bab2=_0x41b23e[_0xd5343b(0x3e0)],_0x5ab58d=_0x50bab2[_0xd5343b(0x2ab)],_0x52082d=_0x41b23e['enc'];_0x52082d[_0xd5343b(0x399)]={'stringify':function(_0x565ce2){var _0x1a994b=_0xd5343b,_0x10cf1c=_0x565ce2[_0x1a994b(0x394)],_0x196bf1=_0x565ce2[_0x1a994b(0x43a)],_0x441d5f=this['_map'];_0x565ce2[_0x1a994b(0x1dc)]();for(var _0x33ca4b=[],_0x5773da=0x0;_0x5773da<_0x196bf1;_0x5773da+=0x3)for(var _0xea14de=_0x10cf1c[_0x5773da>>>0x2]>>>0x18-_0x5773da%0x4*0x8&0xff,_0x303fd9=_0x10cf1c[_0x5773da+0x1>>>0x2]>>>0x18-(_0x5773da+0x1)%0x4*0x8&0xff,_0x52f9c7=_0x10cf1c[_0x5773da+0x2>>>0x2]>>>0x18-(_0x5773da+0x2)%0x4*0x8&0xff,_0x4d4018=_0xea14de<<0x10|_0x303fd9<<0x8|_0x52f9c7,_0x418801=0x0;_0x418801<0x4&&_0x5773da+_0x418801*0.75<_0x196bf1;_0x418801++)_0x33ca4b[_0x1a994b(0x412)](_0x441d5f[_0x1a994b(0x328)](_0x4d4018>>>0x6*(0x3-_0x418801)&0x3f));var _0x3647c8=_0x441d5f['charAt'](0x40);if(_0x3647c8){for(;_0x33ca4b[_0x1a994b(0x1d3)]%0x4;)_0x33ca4b[_0x1a994b(0x412)](_0x3647c8);}return _0x33ca4b[_0x1a994b(0x42c)]('');},'parse':function(_0x1120d6){var _0x1b8d4e=_0xd5343b,_0xc385f=_0x1120d6[_0x1b8d4e(0x1d3)],_0x491c78=this['_map'],_0x817423=this[_0x1b8d4e(0x249)];if(!_0x817423){_0x817423=this[_0x1b8d4e(0x249)]=[];for(var _0x5d0463=0x0;_0x5d0463<_0x491c78['length'];_0x5d0463++)_0x817423[_0x491c78[_0x1b8d4e(0x2c1)](_0x5d0463)]=_0x5d0463;}var _0x20b156=_0x491c78['charAt'](0x40);if(_0x20b156){var _0x15b5cb=_0x1120d6[_0x1b8d4e(0x2a8)](_0x20b156);_0x15b5cb!==-0x1&&(_0xc385f=_0x15b5cb);}return _0x3024a3(_0x1120d6,_0xc385f,_0x817423);},'_map':_0xd5343b(0x2a4)};function _0x3024a3(_0x3ed669,_0x2b1570,_0xf828b2){var _0x18312f=_0xd5343b;for(var _0xf5cfc8=[],_0x320745=0x0,_0x49b421=0x0;_0x49b421<_0x2b1570;_0x49b421++)if(_0x49b421%0x4){var _0x1ffafe=_0xf828b2[_0x3ed669[_0x18312f(0x2c1)](_0x49b421-0x1)]<<_0x49b421%0x4*0x2,_0x2ce5a3=_0xf828b2[_0x3ed669[_0x18312f(0x2c1)](_0x49b421)]>>>0x6-_0x49b421%0x4*0x2,_0x1940c5=_0x1ffafe|_0x2ce5a3;_0xf5cfc8[_0x320745>>>0x2]|=_0x1940c5<<0x18-_0x320745%0x4*0x8,_0x320745++;}return _0x5ab58d[_0x18312f(0x2de)](_0xf5cfc8,_0x320745);}}()),_0x4dc8dd['enc'][_0x43f837(0x399)];}));}(Ge)),Ge[_0x2b49af(0x387)];}var Ye={'exports':{}},_n=Ye[_0x4c21f1(0x387)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x3f8683,_0x233db5){(function(_0x534082,_0x487d06){_0x3f8683['exports']=_0x487d06(te());}(_n,function(_0x204fc5){return function(_0xd39f55){var _0x5c90ba=_0x4a57,_0x51f72f=_0x204fc5,_0x3d344d=_0x51f72f['lib'],_0x32ee58=_0x3d344d[_0x5c90ba(0x2ab)],_0x1d8229=_0x3d344d['Hasher'],_0x1467e4=_0x51f72f[_0x5c90ba(0x3d7)],_0x442bbe=[];(function(){var _0x5ea431=_0x5c90ba;for(var _0x4e5ce1=0x0;_0x4e5ce1<0x40;_0x4e5ce1++)_0x442bbe[_0x4e5ce1]=_0xd39f55[_0x5ea431(0x3f8)](_0xd39f55[_0x5ea431(0x40c)](_0x4e5ce1+0x1))*0x100000000|0x0;}());var _0x5ec61d=_0x1467e4[_0x5c90ba(0x25b)]=_0x1d8229[_0x5c90ba(0x43b)]({'_doReset':function(){var _0x39dca7=_0x5c90ba;this['_hash']=new _0x32ee58[(_0x39dca7(0x2f5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4b330b,_0x1b540f){var _0x3d5ed5=_0x5c90ba;for(var _0x37019e=0x0;_0x37019e<0x10;_0x37019e++){var _0x2f2271=_0x1b540f+_0x37019e,_0x183c05=_0x4b330b[_0x2f2271];_0x4b330b[_0x2f2271]=(_0x183c05<<0x8|_0x183c05>>>0x18)&0xff00ff|(_0x183c05<<0x18|_0x183c05>>>0x8)&0xff00ff00;}var _0x4c765a=this[_0x3d5ed5(0x340)][_0x3d5ed5(0x394)],_0x3633e8=_0x4b330b[_0x1b540f+0x0],_0x417eb6=_0x4b330b[_0x1b540f+0x1],_0xb14d0f=_0x4b330b[_0x1b540f+0x2],_0x126e12=_0x4b330b[_0x1b540f+0x3],_0x5216de=_0x4b330b[_0x1b540f+0x4],_0x1d2e8a=_0x4b330b[_0x1b540f+0x5],_0x563c1b=_0x4b330b[_0x1b540f+0x6],_0x4fa175=_0x4b330b[_0x1b540f+0x7],_0x5a5518=_0x4b330b[_0x1b540f+0x8],_0x1aaba4=_0x4b330b[_0x1b540f+0x9],_0x524452=_0x4b330b[_0x1b540f+0xa],_0x36af82=_0x4b330b[_0x1b540f+0xb],_0x390471=_0x4b330b[_0x1b540f+0xc],_0x2158d6=_0x4b330b[_0x1b540f+0xd],_0x7fb5ae=_0x4b330b[_0x1b540f+0xe],_0x498d5d=_0x4b330b[_0x1b540f+0xf],_0x2dc6be=_0x4c765a[0x0],_0x564034=_0x4c765a[0x1],_0x1507a9=_0x4c765a[0x2],_0xd02bad=_0x4c765a[0x3];_0x2dc6be=_0x902b5a(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x3633e8,0x7,_0x442bbe[0x0]),_0xd02bad=_0x902b5a(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x417eb6,0xc,_0x442bbe[0x1]),_0x1507a9=_0x902b5a(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0xb14d0f,0x11,_0x442bbe[0x2]),_0x564034=_0x902b5a(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x126e12,0x16,_0x442bbe[0x3]),_0x2dc6be=_0x902b5a(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x5216de,0x7,_0x442bbe[0x4]),_0xd02bad=_0x902b5a(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x1d2e8a,0xc,_0x442bbe[0x5]),_0x1507a9=_0x902b5a(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x563c1b,0x11,_0x442bbe[0x6]),_0x564034=_0x902b5a(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x4fa175,0x16,_0x442bbe[0x7]),_0x2dc6be=_0x902b5a(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x5a5518,0x7,_0x442bbe[0x8]),_0xd02bad=_0x902b5a(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x1aaba4,0xc,_0x442bbe[0x9]),_0x1507a9=_0x902b5a(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x524452,0x11,_0x442bbe[0xa]),_0x564034=_0x902b5a(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x36af82,0x16,_0x442bbe[0xb]),_0x2dc6be=_0x902b5a(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x390471,0x7,_0x442bbe[0xc]),_0xd02bad=_0x902b5a(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x2158d6,0xc,_0x442bbe[0xd]),_0x1507a9=_0x902b5a(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x7fb5ae,0x11,_0x442bbe[0xe]),_0x564034=_0x902b5a(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x498d5d,0x16,_0x442bbe[0xf]),_0x2dc6be=_0x18f29a(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x417eb6,0x5,_0x442bbe[0x10]),_0xd02bad=_0x18f29a(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x563c1b,0x9,_0x442bbe[0x11]),_0x1507a9=_0x18f29a(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x36af82,0xe,_0x442bbe[0x12]),_0x564034=_0x18f29a(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x3633e8,0x14,_0x442bbe[0x13]),_0x2dc6be=_0x18f29a(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x1d2e8a,0x5,_0x442bbe[0x14]),_0xd02bad=_0x18f29a(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x524452,0x9,_0x442bbe[0x15]),_0x1507a9=_0x18f29a(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x498d5d,0xe,_0x442bbe[0x16]),_0x564034=_0x18f29a(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x5216de,0x14,_0x442bbe[0x17]),_0x2dc6be=_0x18f29a(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x1aaba4,0x5,_0x442bbe[0x18]),_0xd02bad=_0x18f29a(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x7fb5ae,0x9,_0x442bbe[0x19]),_0x1507a9=_0x18f29a(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x126e12,0xe,_0x442bbe[0x1a]),_0x564034=_0x18f29a(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x5a5518,0x14,_0x442bbe[0x1b]),_0x2dc6be=_0x18f29a(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x2158d6,0x5,_0x442bbe[0x1c]),_0xd02bad=_0x18f29a(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0xb14d0f,0x9,_0x442bbe[0x1d]),_0x1507a9=_0x18f29a(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x4fa175,0xe,_0x442bbe[0x1e]),_0x564034=_0x18f29a(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x390471,0x14,_0x442bbe[0x1f]),_0x2dc6be=_0x4594bd(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x1d2e8a,0x4,_0x442bbe[0x20]),_0xd02bad=_0x4594bd(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x5a5518,0xb,_0x442bbe[0x21]),_0x1507a9=_0x4594bd(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x36af82,0x10,_0x442bbe[0x22]),_0x564034=_0x4594bd(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x7fb5ae,0x17,_0x442bbe[0x23]),_0x2dc6be=_0x4594bd(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x417eb6,0x4,_0x442bbe[0x24]),_0xd02bad=_0x4594bd(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x5216de,0xb,_0x442bbe[0x25]),_0x1507a9=_0x4594bd(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x4fa175,0x10,_0x442bbe[0x26]),_0x564034=_0x4594bd(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x524452,0x17,_0x442bbe[0x27]),_0x2dc6be=_0x4594bd(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x2158d6,0x4,_0x442bbe[0x28]),_0xd02bad=_0x4594bd(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x3633e8,0xb,_0x442bbe[0x29]),_0x1507a9=_0x4594bd(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x126e12,0x10,_0x442bbe[0x2a]),_0x564034=_0x4594bd(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x563c1b,0x17,_0x442bbe[0x2b]),_0x2dc6be=_0x4594bd(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x1aaba4,0x4,_0x442bbe[0x2c]),_0xd02bad=_0x4594bd(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x390471,0xb,_0x442bbe[0x2d]),_0x1507a9=_0x4594bd(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x498d5d,0x10,_0x442bbe[0x2e]),_0x564034=_0x4594bd(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0xb14d0f,0x17,_0x442bbe[0x2f]),_0x2dc6be=_0x3b4664(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x3633e8,0x6,_0x442bbe[0x30]),_0xd02bad=_0x3b4664(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x4fa175,0xa,_0x442bbe[0x31]),_0x1507a9=_0x3b4664(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x7fb5ae,0xf,_0x442bbe[0x32]),_0x564034=_0x3b4664(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x1d2e8a,0x15,_0x442bbe[0x33]),_0x2dc6be=_0x3b4664(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x390471,0x6,_0x442bbe[0x34]),_0xd02bad=_0x3b4664(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x126e12,0xa,_0x442bbe[0x35]),_0x1507a9=_0x3b4664(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x524452,0xf,_0x442bbe[0x36]),_0x564034=_0x3b4664(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x417eb6,0x15,_0x442bbe[0x37]),_0x2dc6be=_0x3b4664(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x5a5518,0x6,_0x442bbe[0x38]),_0xd02bad=_0x3b4664(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x498d5d,0xa,_0x442bbe[0x39]),_0x1507a9=_0x3b4664(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0x563c1b,0xf,_0x442bbe[0x3a]),_0x564034=_0x3b4664(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x2158d6,0x15,_0x442bbe[0x3b]),_0x2dc6be=_0x3b4664(_0x2dc6be,_0x564034,_0x1507a9,_0xd02bad,_0x5216de,0x6,_0x442bbe[0x3c]),_0xd02bad=_0x3b4664(_0xd02bad,_0x2dc6be,_0x564034,_0x1507a9,_0x36af82,0xa,_0x442bbe[0x3d]),_0x1507a9=_0x3b4664(_0x1507a9,_0xd02bad,_0x2dc6be,_0x564034,_0xb14d0f,0xf,_0x442bbe[0x3e]),_0x564034=_0x3b4664(_0x564034,_0x1507a9,_0xd02bad,_0x2dc6be,_0x1aaba4,0x15,_0x442bbe[0x3f]),_0x4c765a[0x0]=_0x4c765a[0x0]+_0x2dc6be|0x0,_0x4c765a[0x1]=_0x4c765a[0x1]+_0x564034|0x0,_0x4c765a[0x2]=_0x4c765a[0x2]+_0x1507a9|0x0,_0x4c765a[0x3]=_0x4c765a[0x3]+_0xd02bad|0x0;},'_doFinalize':function(){var _0x125f5a=_0x5c90ba,_0x2709da=this[_0x125f5a(0x226)],_0x17e752=_0x2709da['words'],_0x1ad125=this[_0x125f5a(0x427)]*0x8,_0x2a6806=_0x2709da['sigBytes']*0x8;_0x17e752[_0x2a6806>>>0x5]|=0x80<<0x18-_0x2a6806%0x20;var _0x570ade=_0xd39f55[_0x125f5a(0x492)](_0x1ad125/0x100000000),_0x49a2aa=_0x1ad125;_0x17e752[(_0x2a6806+0x40>>>0x9<<0x4)+0xf]=(_0x570ade<<0x8|_0x570ade>>>0x18)&0xff00ff|(_0x570ade<<0x18|_0x570ade>>>0x8)&0xff00ff00,_0x17e752[(_0x2a6806+0x40>>>0x9<<0x4)+0xe]=(_0x49a2aa<<0x8|_0x49a2aa>>>0x18)&0xff00ff|(_0x49a2aa<<0x18|_0x49a2aa>>>0x8)&0xff00ff00,_0x2709da[_0x125f5a(0x43a)]=(_0x17e752[_0x125f5a(0x1d3)]+0x1)*0x4,this[_0x125f5a(0x37b)]();for(var _0x3586fb=this[_0x125f5a(0x340)],_0x5956e0=_0x3586fb[_0x125f5a(0x394)],_0x1444eb=0x0;_0x1444eb<0x4;_0x1444eb++){var _0x49e347=_0x5956e0[_0x1444eb];_0x5956e0[_0x1444eb]=(_0x49e347<<0x8|_0x49e347>>>0x18)&0xff00ff|(_0x49e347<<0x18|_0x49e347>>>0x8)&0xff00ff00;}return _0x3586fb;},'clone':function(){var _0x44d04d=_0x5c90ba,_0x148230=_0x1d8229[_0x44d04d(0x468)][_0x44d04d(0x451)](this);return _0x148230[_0x44d04d(0x340)]=this[_0x44d04d(0x340)][_0x44d04d(0x468)](),_0x148230;}});function _0x902b5a(_0x53d6b8,_0x184017,_0x3abf0d,_0x120304,_0x29b890,_0x1e90e,_0x328648){var _0x514dd8=_0x53d6b8+(_0x184017&_0x3abf0d|~_0x184017&_0x120304)+_0x29b890+_0x328648;return(_0x514dd8<<_0x1e90e|_0x514dd8>>>0x20-_0x1e90e)+_0x184017;}function _0x18f29a(_0x5b8e4d,_0x5425cc,_0x502201,_0xde944e,_0x2d2bbd,_0x542cfa,_0x5e11fd){var _0x73e6fa=_0x5b8e4d+(_0x5425cc&_0xde944e|_0x502201&~_0xde944e)+_0x2d2bbd+_0x5e11fd;return(_0x73e6fa<<_0x542cfa|_0x73e6fa>>>0x20-_0x542cfa)+_0x5425cc;}function _0x4594bd(_0x3ff584,_0x52b86d,_0x4a99b5,_0x3a4aa8,_0x36337a,_0x50e2e5,_0x257aba){var _0x2e0f64=_0x3ff584+(_0x52b86d^_0x4a99b5^_0x3a4aa8)+_0x36337a+_0x257aba;return(_0x2e0f64<<_0x50e2e5|_0x2e0f64>>>0x20-_0x50e2e5)+_0x52b86d;}function _0x3b4664(_0x5b642e,_0x3d145c,_0xd58be5,_0x3a87f8,_0x1877db,_0x8a9d68,_0x524f10){var _0x509003=_0x5b642e+(_0xd58be5^(_0x3d145c|~_0x3a87f8))+_0x1877db+_0x524f10;return(_0x509003<<_0x8a9d68|_0x509003>>>0x20-_0x8a9d68)+_0x3d145c;}_0x51f72f[_0x5c90ba(0x25b)]=_0x1d8229['_createHelper'](_0x5ec61d),_0x51f72f[_0x5c90ba(0x448)]=_0x1d8229[_0x5c90ba(0x4a8)](_0x5ec61d);}(Math),_0x204fc5['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x4c21f1(0x387)],Xt;function dn(){var _0x361839=_0x4c21f1;return Xt||(Xt=0x1,function(_0x1b105d,_0x44f4ca){(function(_0x852694,_0x4ad5d5){_0x1b105d['exports']=_0x4ad5d5(te());}(un,function(_0x3fbe30){return(function(){var _0x4af75c=_0x4a57,_0x46f28c=_0x3fbe30,_0x3bc63f=_0x46f28c[_0x4af75c(0x3e0)],_0x449a0b=_0x3bc63f[_0x4af75c(0x2ab)],_0x5ec59e=_0x3bc63f[_0x4af75c(0x1bd)],_0xb5903b=_0x46f28c[_0x4af75c(0x3d7)],_0x5c36b6=[],_0x21d5a2=_0xb5903b['SHA1']=_0x5ec59e[_0x4af75c(0x43b)]({'_doReset':function(){var _0x4bfafe=_0x4af75c;this[_0x4bfafe(0x340)]=new _0x449a0b[(_0x4bfafe(0x2f5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x26773a,_0x1c1317){var _0x214bee=_0x4af75c;for(var _0x1577f3=this[_0x214bee(0x340)][_0x214bee(0x394)],_0x23cb28=_0x1577f3[0x0],_0x4797f4=_0x1577f3[0x1],_0x5339e2=_0x1577f3[0x2],_0x4cc990=_0x1577f3[0x3],_0xb17aa0=_0x1577f3[0x4],_0x39fd3c=0x0;_0x39fd3c<0x50;_0x39fd3c++){if(_0x39fd3c<0x10)_0x5c36b6[_0x39fd3c]=_0x26773a[_0x1c1317+_0x39fd3c]|0x0;else{var _0x474f77=_0x5c36b6[_0x39fd3c-0x3]^_0x5c36b6[_0x39fd3c-0x8]^_0x5c36b6[_0x39fd3c-0xe]^_0x5c36b6[_0x39fd3c-0x10];_0x5c36b6[_0x39fd3c]=_0x474f77<<0x1|_0x474f77>>>0x1f;}var _0x58f259=(_0x23cb28<<0x5|_0x23cb28>>>0x1b)+_0xb17aa0+_0x5c36b6[_0x39fd3c];_0x39fd3c<0x14?_0x58f259+=(_0x4797f4&_0x5339e2|~_0x4797f4&_0x4cc990)+0x5a827999:_0x39fd3c<0x28?_0x58f259+=(_0x4797f4^_0x5339e2^_0x4cc990)+0x6ed9eba1:_0x39fd3c<0x3c?_0x58f259+=(_0x4797f4&_0x5339e2|_0x4797f4&_0x4cc990|_0x5339e2&_0x4cc990)-0x70e44324:_0x58f259+=(_0x4797f4^_0x5339e2^_0x4cc990)-0x359d3e2a,_0xb17aa0=_0x4cc990,_0x4cc990=_0x5339e2,_0x5339e2=_0x4797f4<<0x1e|_0x4797f4>>>0x2,_0x4797f4=_0x23cb28,_0x23cb28=_0x58f259;}_0x1577f3[0x0]=_0x1577f3[0x0]+_0x23cb28|0x0,_0x1577f3[0x1]=_0x1577f3[0x1]+_0x4797f4|0x0,_0x1577f3[0x2]=_0x1577f3[0x2]+_0x5339e2|0x0,_0x1577f3[0x3]=_0x1577f3[0x3]+_0x4cc990|0x0,_0x1577f3[0x4]=_0x1577f3[0x4]+_0xb17aa0|0x0;},'_doFinalize':function(){var _0x2aef30=_0x4af75c,_0x196952=this['_data'],_0x2ca980=_0x196952['words'],_0x35dd2f=this[_0x2aef30(0x427)]*0x8,_0x5cd7e1=_0x196952[_0x2aef30(0x43a)]*0x8;return _0x2ca980[_0x5cd7e1>>>0x5]|=0x80<<0x18-_0x5cd7e1%0x20,_0x2ca980[(_0x5cd7e1+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x35dd2f/0x100000000),_0x2ca980[(_0x5cd7e1+0x40>>>0x9<<0x4)+0xf]=_0x35dd2f,_0x196952['sigBytes']=_0x2ca980[_0x2aef30(0x1d3)]*0x4,this[_0x2aef30(0x37b)](),this[_0x2aef30(0x340)];},'clone':function(){var _0x39278d=_0x4af75c,_0x67090d=_0x5ec59e[_0x39278d(0x468)][_0x39278d(0x451)](this);return _0x67090d[_0x39278d(0x340)]=this['_hash'][_0x39278d(0x468)](),_0x67090d;}});_0x46f28c[_0x4af75c(0x393)]=_0x5ec59e[_0x4af75c(0x3a9)](_0x21d5a2),_0x46f28c[_0x4af75c(0x330)]=_0x5ec59e[_0x4af75c(0x4a8)](_0x21d5a2);}()),_0x3fbe30['SHA1'];}));}(qe)),qe[_0x361839(0x387)];}var ze={'exports':{}},fn=ze[_0x4c21f1(0x387)],Zt;function vn(){var _0x3e34cd=_0x4c21f1;return Zt||(Zt=0x1,function(_0x6246a7,_0x2b2969){(function(_0x278acc,_0x5289bb){var _0x1a62b8=_0x4a57;_0x6246a7[_0x1a62b8(0x387)]=_0x5289bb(te());}(fn,function(_0x5289e5){(function(){var _0x5c79e5=_0x4a57,_0x5728a4=_0x5289e5,_0x1eaa19=_0x5728a4['lib'],_0x46edbc=_0x1eaa19[_0x5c79e5(0x2f3)],_0x1e7ebb=_0x5728a4[_0x5c79e5(0x31c)],_0x11ac32=_0x1e7ebb[_0x5c79e5(0x2e2)],_0x2740a7=_0x5728a4['algo'];_0x2740a7[_0x5c79e5(0x2f9)]=_0x46edbc[_0x5c79e5(0x43b)]({'init':function(_0x3ec767,_0x23ea8e){var _0x3e64a1=_0x5c79e5;_0x3ec767=this[_0x3e64a1(0x444)]=new _0x3ec767[(_0x3e64a1(0x2f5))](),typeof _0x23ea8e==_0x3e64a1(0x2c3)&&(_0x23ea8e=_0x11ac32[_0x3e64a1(0x2f4)](_0x23ea8e));var _0x4b7238=_0x3ec767[_0x3e64a1(0x3fe)],_0x28c3eb=_0x4b7238*0x4;_0x23ea8e[_0x3e64a1(0x43a)]>_0x28c3eb&&(_0x23ea8e=_0x3ec767[_0x3e64a1(0x3b9)](_0x23ea8e)),_0x23ea8e[_0x3e64a1(0x1dc)]();for(var _0x127c34=this[_0x3e64a1(0x204)]=_0x23ea8e[_0x3e64a1(0x468)](),_0x580623=this['_iKey']=_0x23ea8e[_0x3e64a1(0x468)](),_0x4e6609=_0x127c34['words'],_0x4c67c5=_0x580623[_0x3e64a1(0x394)],_0x31a139=0x0;_0x31a139<_0x4b7238;_0x31a139++)_0x4e6609[_0x31a139]^=0x5c5c5c5c,_0x4c67c5[_0x31a139]^=0x36363636;_0x127c34['sigBytes']=_0x580623[_0x3e64a1(0x43a)]=_0x28c3eb,this['reset']();},'reset':function(){var _0x34608e=_0x5c79e5,_0x1c92d6=this[_0x34608e(0x444)];_0x1c92d6[_0x34608e(0x2bd)](),_0x1c92d6['update'](this[_0x34608e(0x411)]);},'update':function(_0x564f6e){var _0x473f77=_0x5c79e5;return this['_hasher'][_0x473f77(0x3ad)](_0x564f6e),this;},'finalize':function(_0x1cf2c4){var _0x43bd75=_0x5c79e5,_0x20f6d6=this[_0x43bd75(0x444)],_0x39d852=_0x20f6d6[_0x43bd75(0x3b9)](_0x1cf2c4);_0x20f6d6[_0x43bd75(0x2bd)]();var _0x18ea35=_0x20f6d6['finalize'](this[_0x43bd75(0x204)][_0x43bd75(0x468)]()['concat'](_0x39d852));return _0x18ea35;}});}());}));}(ze)),ze[_0x3e34cd(0x387)];}var pn=Ke[_0x4c21f1(0x387)],Qt;function Oi(){var _0x39348a=_0x4c21f1;return Qt||(Qt=0x1,function(_0x23afbe,_0x46a8ec){(function(_0x54508a,_0x355636,_0x4475d4){var _0x5b02da=_0x4a57;_0x23afbe[_0x5b02da(0x387)]=_0x355636(te(),dn(),vn());}(pn,function(_0x4ffa73){return(function(){var _0x5e29f2=_0x4a57,_0x5e3664=_0x4ffa73,_0x4796e6=_0x5e3664[_0x5e29f2(0x3e0)],_0x526e7f=_0x4796e6['Base'],_0x5b493b=_0x4796e6[_0x5e29f2(0x2ab)],_0x7f0cd2=_0x5e3664[_0x5e29f2(0x3d7)],_0x461448=_0x7f0cd2[_0x5e29f2(0x25b)],_0x3e75bf=_0x7f0cd2[_0x5e29f2(0x46b)]=_0x526e7f['extend']({'cfg':_0x526e7f['extend']({'keySize':0x80/0x20,'hasher':_0x461448,'iterations':0x1}),'init':function(_0x2065e1){var _0x1a87be=_0x5e29f2;this[_0x1a87be(0x44b)]=this[_0x1a87be(0x44b)][_0x1a87be(0x43b)](_0x2065e1);},'compute':function(_0x328f13,_0x113f2e){var _0x60b194=_0x5e29f2;for(var _0x4771bf,_0xce98a9=this[_0x60b194(0x44b)],_0x153dd3=_0xce98a9[_0x60b194(0x3cf)][_0x60b194(0x2de)](),_0x465f9d=_0x5b493b['create'](),_0x339cb9=_0x465f9d[_0x60b194(0x394)],_0x367371=_0xce98a9[_0x60b194(0x410)],_0x13b02d=_0xce98a9[_0x60b194(0x359)];_0x339cb9[_0x60b194(0x1d3)]<_0x367371;){_0x4771bf&&_0x153dd3[_0x60b194(0x3ad)](_0x4771bf),_0x4771bf=_0x153dd3[_0x60b194(0x3ad)](_0x328f13)[_0x60b194(0x3b9)](_0x113f2e),_0x153dd3[_0x60b194(0x2bd)]();for(var _0x5a251a=0x1;_0x5a251a<_0x13b02d;_0x5a251a++)_0x4771bf=_0x153dd3[_0x60b194(0x3b9)](_0x4771bf),_0x153dd3[_0x60b194(0x2bd)]();_0x465f9d[_0x60b194(0x326)](_0x4771bf);}return _0x465f9d[_0x60b194(0x43a)]=_0x367371*0x4,_0x465f9d;}});_0x5e3664[_0x5e29f2(0x46b)]=function(_0x3ee849,_0x2f0959,_0x3f29e4){var _0x455e2b=_0x5e29f2;return _0x3e75bf[_0x455e2b(0x2de)](_0x3f29e4)['compute'](_0x3ee849,_0x2f0959);};}()),_0x4ffa73['EvpKDF'];}));}(Ke)),Ke[_0x39348a(0x387)];}var Je={'exports':{}},mn=Je[_0x4c21f1(0x387)],ei;function bi(){var _0x54a0a1=_0x4c21f1;return ei||(ei=0x1,function(_0x5c6e8e,_0x2f7123){(function(_0x2da954,_0x58547c,_0x1de509){var _0xb3a69f=_0x4a57;_0x5c6e8e[_0xb3a69f(0x387)]=_0x58547c(te(),Oi());}(mn,function(_0x33f2ee){var _0x45a56e=_0x4a57;_0x33f2ee[_0x45a56e(0x3e0)][_0x45a56e(0x46c)]||function(_0x21a814){var _0xabf676=_0x45a56e,_0x360b6f=_0x33f2ee,_0x21aaba=_0x360b6f[_0xabf676(0x3e0)],_0x2a9984=_0x21aaba[_0xabf676(0x2f3)],_0x3c3925=_0x21aaba['WordArray'],_0x5907ca=_0x21aaba[_0xabf676(0x367)],_0x5ad161=_0x360b6f['enc'];_0x5ad161['Utf8'];var _0x121932=_0x5ad161['Base64'],_0x2b57f4=_0x360b6f[_0xabf676(0x3d7)],_0x58d841=_0x2b57f4[_0xabf676(0x46b)],_0x1bdef0=_0x21aaba[_0xabf676(0x46c)]=_0x5907ca[_0xabf676(0x43b)]({'cfg':_0x2a9984[_0xabf676(0x43b)](),'createEncryptor':function(_0x4200e7,_0xcda69f){var _0x25f70d=_0xabf676;return this[_0x25f70d(0x2de)](this[_0x25f70d(0x48e)],_0x4200e7,_0xcda69f);},'createDecryptor':function(_0x109f8d,_0x14e311){var _0x1ae659=_0xabf676;return this[_0x1ae659(0x2de)](this[_0x1ae659(0x3b3)],_0x109f8d,_0x14e311);},'init':function(_0x3b3b02,_0x4e64fd,_0x58e098){var _0x1f647d=_0xabf676;this[_0x1f647d(0x44b)]=this[_0x1f647d(0x44b)][_0x1f647d(0x43b)](_0x58e098),this[_0x1f647d(0x1fc)]=_0x3b3b02,this[_0x1f647d(0x2bf)]=_0x4e64fd,this['reset']();},'reset':function(){var _0x9ee45f=_0xabf676;_0x5907ca[_0x9ee45f(0x2bd)][_0x9ee45f(0x451)](this),this[_0x9ee45f(0x368)]();},'process':function(_0x77d158){var _0x46d8df=_0xabf676;return this[_0x46d8df(0x352)](_0x77d158),this[_0x46d8df(0x37b)]();},'finalize':function(_0x5bb0d6){var _0x2ebc37=_0xabf676;_0x5bb0d6&&this['_append'](_0x5bb0d6);var _0x23b1ff=this[_0x2ebc37(0x28e)]();return _0x23b1ff;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3f7f7b(_0x393474){return typeof _0x393474=='string'?_0x1fa897:_0x384b7f;}return function(_0x274eb7){return{'encrypt':function(_0x19a6b5,_0x20a614,_0x36f1c0){return _0x3f7f7b(_0x20a614)['encrypt'](_0x274eb7,_0x19a6b5,_0x20a614,_0x36f1c0);},'decrypt':function(_0x5e0f24,_0x4e4f00,_0x48fc10){var _0x4feb8b=_0x4a57;return _0x3f7f7b(_0x4e4f00)[_0x4feb8b(0x2c9)](_0x274eb7,_0x5e0f24,_0x4e4f00,_0x48fc10);}};};}())});_0x21aaba[_0xabf676(0x43f)]=_0x1bdef0[_0xabf676(0x43b)]({'_doFinalize':function(){var _0x25836d=_0xabf676,_0x5293d5=this[_0x25836d(0x37b)](!0x0);return _0x5293d5;},'blockSize':0x1});var _0x54d606=_0x360b6f[_0xabf676(0x30c)]={},_0x521e30=_0x21aaba[_0xabf676(0x37d)]=_0x2a9984['extend']({'createEncryptor':function(_0x45c4a3,_0x259cf8){return this['Encryptor']['create'](_0x45c4a3,_0x259cf8);},'createDecryptor':function(_0x2b7f2d,_0x4db904){var _0x34c629=_0xabf676;return this[_0x34c629(0x323)][_0x34c629(0x2de)](_0x2b7f2d,_0x4db904);},'init':function(_0x46c13c,_0x425a84){var _0x3d1fc9=_0xabf676;this[_0x3d1fc9(0x433)]=_0x46c13c,this[_0x3d1fc9(0x2df)]=_0x425a84;}}),_0x342e45=_0x54d606[_0xabf676(0x209)]=(function(){var _0x1e0f9f=_0xabf676,_0x39c6dc=_0x521e30['extend']();_0x39c6dc[_0x1e0f9f(0x460)]=_0x39c6dc[_0x1e0f9f(0x43b)]({'processBlock':function(_0x2d2c21,_0x1106ff){var _0x766f5=_0x1e0f9f,_0x3ba982=this['_cipher'],_0x540b9e=_0x3ba982[_0x766f5(0x3fe)];_0x46826b[_0x766f5(0x451)](this,_0x2d2c21,_0x1106ff,_0x540b9e),_0x3ba982[_0x766f5(0x33e)](_0x2d2c21,_0x1106ff),this[_0x766f5(0x3bb)]=_0x2d2c21[_0x766f5(0x3fd)](_0x1106ff,_0x1106ff+_0x540b9e);}}),_0x39c6dc['Decryptor']=_0x39c6dc[_0x1e0f9f(0x43b)]({'processBlock':function(_0x27452e,_0x1d5e42){var _0x40150e=_0x1e0f9f,_0x5e3925=this['_cipher'],_0x3e0ad1=_0x5e3925[_0x40150e(0x3fe)],_0x4e4480=_0x27452e[_0x40150e(0x3fd)](_0x1d5e42,_0x1d5e42+_0x3e0ad1);_0x5e3925['decryptBlock'](_0x27452e,_0x1d5e42),_0x46826b[_0x40150e(0x451)](this,_0x27452e,_0x1d5e42,_0x3e0ad1),this[_0x40150e(0x3bb)]=_0x4e4480;}});function _0x46826b(_0x23edfe,_0x32e447,_0x192815){var _0xcd9f4=_0x1e0f9f,_0x201bec,_0x2899e4=this['_iv'];_0x2899e4?(_0x201bec=_0x2899e4,this[_0xcd9f4(0x2df)]=_0x21a814):_0x201bec=this[_0xcd9f4(0x3bb)];for(var _0x140724=0x0;_0x140724<_0x192815;_0x140724++)_0x23edfe[_0x32e447+_0x140724]^=_0x201bec[_0x140724];}return _0x39c6dc;}()),_0x201c70=_0x360b6f[_0xabf676(0x23b)]={},_0x3fa412=_0x201c70[_0xabf676(0x392)]={'pad':function(_0x19730c,_0x1d1303){var _0x1b12d2=_0xabf676;for(var _0x1fb8ec=_0x1d1303*0x4,_0x37ffe5=_0x1fb8ec-_0x19730c[_0x1b12d2(0x43a)]%_0x1fb8ec,_0x217efd=_0x37ffe5<<0x18|_0x37ffe5<<0x10|_0x37ffe5<<0x8|_0x37ffe5,_0x4e16d5=[],_0x4b0c3e=0x0;_0x4b0c3e<_0x37ffe5;_0x4b0c3e+=0x4)_0x4e16d5[_0x1b12d2(0x412)](_0x217efd);var _0x301f0c=_0x3c3925['create'](_0x4e16d5,_0x37ffe5);_0x19730c[_0x1b12d2(0x326)](_0x301f0c);},'unpad':function(_0x3b1c8d){var _0x2906d2=_0xabf676,_0x45c968=_0x3b1c8d[_0x2906d2(0x394)][_0x3b1c8d['sigBytes']-0x1>>>0x2]&0xff;_0x3b1c8d['sigBytes']-=_0x45c968;}};_0x21aaba['BlockCipher']=_0x1bdef0[_0xabf676(0x43b)]({'cfg':_0x1bdef0['cfg']['extend']({'mode':_0x342e45,'padding':_0x3fa412}),'reset':function(){var _0x366bb9=_0xabf676,_0x58dcd4;_0x1bdef0['reset'][_0x366bb9(0x451)](this);var _0x22d234=this[_0x366bb9(0x44b)],_0x3a0fe2=_0x22d234['iv'],_0x1b8ba8=_0x22d234['mode'];this[_0x366bb9(0x1fc)]==this[_0x366bb9(0x48e)]?_0x58dcd4=_0x1b8ba8[_0x366bb9(0x29b)]:(_0x58dcd4=_0x1b8ba8[_0x366bb9(0x2d0)],this['_minBufferSize']=0x1),this[_0x366bb9(0x252)]&&this[_0x366bb9(0x252)]['__creator']==_0x58dcd4?this[_0x366bb9(0x252)]['init'](this,_0x3a0fe2&&_0x3a0fe2[_0x366bb9(0x394)]):(this[_0x366bb9(0x252)]=_0x58dcd4[_0x366bb9(0x451)](_0x1b8ba8,this,_0x3a0fe2&&_0x3a0fe2['words']),this[_0x366bb9(0x252)][_0x366bb9(0x20b)]=_0x58dcd4);},'_doProcessBlock':function(_0x3453c6,_0x4301e3){var _0xd8f6ed=_0xabf676;this[_0xd8f6ed(0x252)]['processBlock'](_0x3453c6,_0x4301e3);},'_doFinalize':function(){var _0x515e8f=_0xabf676,_0xbaac9d,_0x296db8=this['cfg']['padding'];return this[_0x515e8f(0x1fc)]==this[_0x515e8f(0x48e)]?(_0x296db8['pad'](this['_data'],this[_0x515e8f(0x3fe)]),_0xbaac9d=this[_0x515e8f(0x37b)](!0x0)):(_0xbaac9d=this[_0x515e8f(0x37b)](!0x0),_0x296db8[_0x515e8f(0x2ba)](_0xbaac9d)),_0xbaac9d;},'blockSize':0x80/0x20});var _0x2af27e=_0x21aaba[_0xabf676(0x3e4)]=_0x2a9984[_0xabf676(0x43b)]({'init':function(_0x582a79){var _0x5c677c=_0xabf676;this[_0x5c677c(0x24b)](_0x582a79);},'toString':function(_0x2d02bc){var _0x1fb850=_0xabf676;return(_0x2d02bc||this['formatter'])[_0x1fb850(0x303)](this);}}),_0x409d67=_0x360b6f[_0xabf676(0x1d0)]={},_0x85f49a=_0x409d67[_0xabf676(0x467)]={'stringify':function(_0x17e210){var _0x2dffd9=_0xabf676,_0x214e22,_0x23e28a=_0x17e210[_0x2dffd9(0x288)],_0x3f297d=_0x17e210[_0x2dffd9(0x21e)];return _0x3f297d?_0x214e22=_0x3c3925['create']([0x53616c74,0x65645f5f])[_0x2dffd9(0x326)](_0x3f297d)[_0x2dffd9(0x326)](_0x23e28a):_0x214e22=_0x23e28a,_0x214e22[_0x2dffd9(0x463)](_0x121932);},'parse':function(_0x53b1f2){var _0x2ecc62=_0xabf676,_0x17ce89,_0x2eec90=_0x121932[_0x2ecc62(0x2f4)](_0x53b1f2),_0x35646c=_0x2eec90[_0x2ecc62(0x394)];return _0x35646c[0x0]==0x53616c74&&_0x35646c[0x1]==0x65645f5f&&(_0x17ce89=_0x3c3925['create'](_0x35646c['slice'](0x2,0x4)),_0x35646c['splice'](0x0,0x4),_0x2eec90[_0x2ecc62(0x43a)]-=0x10),_0x2af27e['create']({'ciphertext':_0x2eec90,'salt':_0x17ce89});}},_0x384b7f=_0x21aaba[_0xabf676(0x2f7)]=_0x2a9984[_0xabf676(0x43b)]({'cfg':_0x2a9984[_0xabf676(0x43b)]({'format':_0x85f49a}),'encrypt':function(_0x105f8e,_0x38dc00,_0xedca66,_0x2b5112){var _0x6f4585=_0xabf676;_0x2b5112=this['cfg'][_0x6f4585(0x43b)](_0x2b5112);var _0x16e007=_0x105f8e[_0x6f4585(0x29b)](_0xedca66,_0x2b5112),_0xd4f53e=_0x16e007['finalize'](_0x38dc00),_0x5ed354=_0x16e007[_0x6f4585(0x44b)];return _0x2af27e[_0x6f4585(0x2de)]({'ciphertext':_0xd4f53e,'key':_0xedca66,'iv':_0x5ed354['iv'],'algorithm':_0x105f8e,'mode':_0x5ed354[_0x6f4585(0x30c)],'padding':_0x5ed354['padding'],'blockSize':_0x105f8e[_0x6f4585(0x3fe)],'formatter':_0x2b5112[_0x6f4585(0x1d0)]});},'decrypt':function(_0x2c9b20,_0x4ea181,_0x2c27cb,_0x2924d7){var _0x403765=_0xabf676;_0x2924d7=this[_0x403765(0x44b)][_0x403765(0x43b)](_0x2924d7),_0x4ea181=this['_parse'](_0x4ea181,_0x2924d7[_0x403765(0x1d0)]);var _0x1c57b5=_0x2c9b20[_0x403765(0x2d0)](_0x2c27cb,_0x2924d7)['finalize'](_0x4ea181[_0x403765(0x288)]);return _0x1c57b5;},'_parse':function(_0x232b63,_0x262be8){var _0x445ddb=_0xabf676;return typeof _0x232b63=='string'?_0x262be8[_0x445ddb(0x2f4)](_0x232b63,this):_0x232b63;}}),_0x4e9e34=_0x360b6f[_0xabf676(0x1c2)]={},_0x5af73e=_0x4e9e34[_0xabf676(0x467)]={'execute':function(_0x46bf79,_0x218081,_0x55673b,_0x1f4384,_0x5dc9cd){var _0x39f165=_0xabf676;if(_0x1f4384||(_0x1f4384=_0x3c3925['random'](0x40/0x8)),_0x5dc9cd)var _0xab9e19=_0x58d841[_0x39f165(0x2de)]({'keySize':_0x218081+_0x55673b,'hasher':_0x5dc9cd})[_0x39f165(0x4bb)](_0x46bf79,_0x1f4384);else var _0xab9e19=_0x58d841[_0x39f165(0x2de)]({'keySize':_0x218081+_0x55673b})['compute'](_0x46bf79,_0x1f4384);var _0x7edc96=_0x3c3925[_0x39f165(0x2de)](_0xab9e19['words'][_0x39f165(0x3fd)](_0x218081),_0x55673b*0x4);return _0xab9e19[_0x39f165(0x43a)]=_0x218081*0x4,_0x2af27e['create']({'key':_0xab9e19,'iv':_0x7edc96,'salt':_0x1f4384});}},_0x1fa897=_0x21aaba[_0xabf676(0x36c)]=_0x384b7f[_0xabf676(0x43b)]({'cfg':_0x384b7f[_0xabf676(0x44b)][_0xabf676(0x43b)]({'kdf':_0x5af73e}),'encrypt':function(_0x14f6a4,_0x27ccaa,_0x3f48ba,_0x2eb49e){var _0x22c433=_0xabf676;_0x2eb49e=this[_0x22c433(0x44b)]['extend'](_0x2eb49e);var _0x3d34ea=_0x2eb49e['kdf'][_0x22c433(0x315)](_0x3f48ba,_0x14f6a4[_0x22c433(0x410)],_0x14f6a4[_0x22c433(0x477)],_0x2eb49e['salt'],_0x2eb49e['hasher']);_0x2eb49e['iv']=_0x3d34ea['iv'];var _0x22d70a=_0x384b7f[_0x22c433(0x391)][_0x22c433(0x451)](this,_0x14f6a4,_0x27ccaa,_0x3d34ea[_0x22c433(0x45e)],_0x2eb49e);return _0x22d70a[_0x22c433(0x24b)](_0x3d34ea),_0x22d70a;},'decrypt':function(_0x9faa4b,_0x298f40,_0x36f224,_0x1d47b5){var _0x314c7a=_0xabf676;_0x1d47b5=this[_0x314c7a(0x44b)][_0x314c7a(0x43b)](_0x1d47b5),_0x298f40=this[_0x314c7a(0x3a6)](_0x298f40,_0x1d47b5['format']);var _0x558d01=_0x1d47b5[_0x314c7a(0x1c2)]['execute'](_0x36f224,_0x9faa4b[_0x314c7a(0x410)],_0x9faa4b[_0x314c7a(0x477)],_0x298f40[_0x314c7a(0x21e)],_0x1d47b5[_0x314c7a(0x3cf)]);_0x1d47b5['iv']=_0x558d01['iv'];var _0x5d67d3=_0x384b7f[_0x314c7a(0x2c9)][_0x314c7a(0x451)](this,_0x9faa4b,_0x298f40,_0x558d01['key'],_0x1d47b5);return _0x5d67d3;}});}();}));}(Je)),Je[_0x54a0a1(0x387)];}var gn=Ve['exports'],ti;function Sn(){var _0x381aab=_0x4c21f1;return ti||(ti=0x1,function(_0x24ff6a,_0x2dc626){(function(_0xb5951b,_0x3e81d5,_0x2e49dc){var _0x528151=_0x4a57;_0x24ff6a[_0x528151(0x387)]=_0x3e81d5(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0xd1c063){var _0x380ac7=_0x4a57;return(function(){var _0x3a4942=_0x4a57,_0x37bf9d=_0xd1c063,_0x4a8b45=_0x37bf9d[_0x3a4942(0x3e0)],_0x14a126=_0x4a8b45[_0x3a4942(0x3da)],_0x4e6f13=_0x37bf9d['algo'],_0x11b59e=[],_0x3f4e1=[],_0x1ecbd3=[],_0x26f14f=[],_0x242e55=[],_0x4046b4=[],_0x19b493=[],_0x27664a=[],_0x5548c0=[],_0x372724=[];(function(){for(var _0x3bc037=[],_0x3c5d14=0x0;_0x3c5d14<0x100;_0x3c5d14++)_0x3c5d14<0x80?_0x3bc037[_0x3c5d14]=_0x3c5d14<<0x1:_0x3bc037[_0x3c5d14]=_0x3c5d14<<0x1^0x11b;for(var _0xdc7f8c=0x0,_0xd08a32=0x0,_0x3c5d14=0x0;_0x3c5d14<0x100;_0x3c5d14++){var _0x2773dc=_0xd08a32^_0xd08a32<<0x1^_0xd08a32<<0x2^_0xd08a32<<0x3^_0xd08a32<<0x4;_0x2773dc=_0x2773dc>>>0x8^_0x2773dc&0xff^0x63,_0x11b59e[_0xdc7f8c]=_0x2773dc,_0x3f4e1[_0x2773dc]=_0xdc7f8c;var _0x3b2001=_0x3bc037[_0xdc7f8c],_0x38f926=_0x3bc037[_0x3b2001],_0x2b178b=_0x3bc037[_0x38f926],_0x36f0e4=_0x3bc037[_0x2773dc]*0x101^_0x2773dc*0x1010100;_0x1ecbd3[_0xdc7f8c]=_0x36f0e4<<0x18|_0x36f0e4>>>0x8,_0x26f14f[_0xdc7f8c]=_0x36f0e4<<0x10|_0x36f0e4>>>0x10,_0x242e55[_0xdc7f8c]=_0x36f0e4<<0x8|_0x36f0e4>>>0x18,_0x4046b4[_0xdc7f8c]=_0x36f0e4;var _0x36f0e4=_0x2b178b*0x1010101^_0x38f926*0x10001^_0x3b2001*0x101^_0xdc7f8c*0x1010100;_0x19b493[_0x2773dc]=_0x36f0e4<<0x18|_0x36f0e4>>>0x8,_0x27664a[_0x2773dc]=_0x36f0e4<<0x10|_0x36f0e4>>>0x10,_0x5548c0[_0x2773dc]=_0x36f0e4<<0x8|_0x36f0e4>>>0x18,_0x372724[_0x2773dc]=_0x36f0e4,_0xdc7f8c?(_0xdc7f8c=_0x3b2001^_0x3bc037[_0x3bc037[_0x3bc037[_0x2b178b^_0x3b2001]]],_0xd08a32^=_0x3bc037[_0x3bc037[_0xd08a32]]):_0xdc7f8c=_0xd08a32=0x1;}}());var _0x2e5ccb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2352f2=_0x4e6f13[_0x3a4942(0x429)]=_0x14a126[_0x3a4942(0x43b)]({'_doReset':function(){var _0x3d4cc2=_0x3a4942,_0x565e22;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x3d4cc2(0x2bf)])){for(var _0x189251=this[_0x3d4cc2(0x202)]=this['_key'],_0x450889=_0x189251[_0x3d4cc2(0x394)],_0x3e7da4=_0x189251[_0x3d4cc2(0x43a)]/0x4,_0x520779=this[_0x3d4cc2(0x483)]=_0x3e7da4+0x6,_0x35f92b=(_0x520779+0x1)*0x4,_0x3062d8=this[_0x3d4cc2(0x23e)]=[],_0x1e5305=0x0;_0x1e5305<_0x35f92b;_0x1e5305++)_0x1e5305<_0x3e7da4?_0x3062d8[_0x1e5305]=_0x450889[_0x1e5305]:(_0x565e22=_0x3062d8[_0x1e5305-0x1],_0x1e5305%_0x3e7da4?_0x3e7da4>0x6&&_0x1e5305%_0x3e7da4==0x4&&(_0x565e22=_0x11b59e[_0x565e22>>>0x18]<<0x18|_0x11b59e[_0x565e22>>>0x10&0xff]<<0x10|_0x11b59e[_0x565e22>>>0x8&0xff]<<0x8|_0x11b59e[_0x565e22&0xff]):(_0x565e22=_0x565e22<<0x8|_0x565e22>>>0x18,_0x565e22=_0x11b59e[_0x565e22>>>0x18]<<0x18|_0x11b59e[_0x565e22>>>0x10&0xff]<<0x10|_0x11b59e[_0x565e22>>>0x8&0xff]<<0x8|_0x11b59e[_0x565e22&0xff],_0x565e22^=_0x2e5ccb[_0x1e5305/_0x3e7da4|0x0]<<0x18),_0x3062d8[_0x1e5305]=_0x3062d8[_0x1e5305-_0x3e7da4]^_0x565e22);for(var _0x19d80d=this['_invKeySchedule']=[],_0x45e681=0x0;_0x45e681<_0x35f92b;_0x45e681++){var _0x1e5305=_0x35f92b-_0x45e681;if(_0x45e681%0x4)var _0x565e22=_0x3062d8[_0x1e5305];else var _0x565e22=_0x3062d8[_0x1e5305-0x4];_0x45e681<0x4||_0x1e5305<=0x4?_0x19d80d[_0x45e681]=_0x565e22:_0x19d80d[_0x45e681]=_0x19b493[_0x11b59e[_0x565e22>>>0x18]]^_0x27664a[_0x11b59e[_0x565e22>>>0x10&0xff]]^_0x5548c0[_0x11b59e[_0x565e22>>>0x8&0xff]]^_0x372724[_0x11b59e[_0x565e22&0xff]];}}},'encryptBlock':function(_0x3a926c,_0x424cc9){var _0x15e238=_0x3a4942;this[_0x15e238(0x33b)](_0x3a926c,_0x424cc9,this[_0x15e238(0x23e)],_0x1ecbd3,_0x26f14f,_0x242e55,_0x4046b4,_0x11b59e);},'decryptBlock':function(_0x25ab7e,_0x582f60){var _0x104042=_0x3a4942,_0x5f526c=_0x25ab7e[_0x582f60+0x1];_0x25ab7e[_0x582f60+0x1]=_0x25ab7e[_0x582f60+0x3],_0x25ab7e[_0x582f60+0x3]=_0x5f526c,this[_0x104042(0x33b)](_0x25ab7e,_0x582f60,this['_invKeySchedule'],_0x19b493,_0x27664a,_0x5548c0,_0x372724,_0x3f4e1);var _0x5f526c=_0x25ab7e[_0x582f60+0x1];_0x25ab7e[_0x582f60+0x1]=_0x25ab7e[_0x582f60+0x3],_0x25ab7e[_0x582f60+0x3]=_0x5f526c;},'_doCryptBlock':function(_0x31422c,_0x5bdb4c,_0xc26302,_0x2fb65b,_0x4e6cda,_0x46c0d5,_0x481096,_0x581aac){var _0x457aa4=_0x3a4942;for(var _0x2acea1=this[_0x457aa4(0x483)],_0x189b12=_0x31422c[_0x5bdb4c]^_0xc26302[0x0],_0x5678dd=_0x31422c[_0x5bdb4c+0x1]^_0xc26302[0x1],_0x569591=_0x31422c[_0x5bdb4c+0x2]^_0xc26302[0x2],_0x4f0ba6=_0x31422c[_0x5bdb4c+0x3]^_0xc26302[0x3],_0x3e5822=0x4,_0x186642=0x1;_0x186642<_0x2acea1;_0x186642++){var _0x58bc52=_0x2fb65b[_0x189b12>>>0x18]^_0x4e6cda[_0x5678dd>>>0x10&0xff]^_0x46c0d5[_0x569591>>>0x8&0xff]^_0x481096[_0x4f0ba6&0xff]^_0xc26302[_0x3e5822++],_0x3d6f64=_0x2fb65b[_0x5678dd>>>0x18]^_0x4e6cda[_0x569591>>>0x10&0xff]^_0x46c0d5[_0x4f0ba6>>>0x8&0xff]^_0x481096[_0x189b12&0xff]^_0xc26302[_0x3e5822++],_0x3ca74a=_0x2fb65b[_0x569591>>>0x18]^_0x4e6cda[_0x4f0ba6>>>0x10&0xff]^_0x46c0d5[_0x189b12>>>0x8&0xff]^_0x481096[_0x5678dd&0xff]^_0xc26302[_0x3e5822++],_0xb48bfc=_0x2fb65b[_0x4f0ba6>>>0x18]^_0x4e6cda[_0x189b12>>>0x10&0xff]^_0x46c0d5[_0x5678dd>>>0x8&0xff]^_0x481096[_0x569591&0xff]^_0xc26302[_0x3e5822++];_0x189b12=_0x58bc52,_0x5678dd=_0x3d6f64,_0x569591=_0x3ca74a,_0x4f0ba6=_0xb48bfc;}var _0x58bc52=(_0x581aac[_0x189b12>>>0x18]<<0x18|_0x581aac[_0x5678dd>>>0x10&0xff]<<0x10|_0x581aac[_0x569591>>>0x8&0xff]<<0x8|_0x581aac[_0x4f0ba6&0xff])^_0xc26302[_0x3e5822++],_0x3d6f64=(_0x581aac[_0x5678dd>>>0x18]<<0x18|_0x581aac[_0x569591>>>0x10&0xff]<<0x10|_0x581aac[_0x4f0ba6>>>0x8&0xff]<<0x8|_0x581aac[_0x189b12&0xff])^_0xc26302[_0x3e5822++],_0x3ca74a=(_0x581aac[_0x569591>>>0x18]<<0x18|_0x581aac[_0x4f0ba6>>>0x10&0xff]<<0x10|_0x581aac[_0x189b12>>>0x8&0xff]<<0x8|_0x581aac[_0x5678dd&0xff])^_0xc26302[_0x3e5822++],_0xb48bfc=(_0x581aac[_0x4f0ba6>>>0x18]<<0x18|_0x581aac[_0x189b12>>>0x10&0xff]<<0x10|_0x581aac[_0x5678dd>>>0x8&0xff]<<0x8|_0x581aac[_0x569591&0xff])^_0xc26302[_0x3e5822++];_0x31422c[_0x5bdb4c]=_0x58bc52,_0x31422c[_0x5bdb4c+0x1]=_0x3d6f64,_0x31422c[_0x5bdb4c+0x2]=_0x3ca74a,_0x31422c[_0x5bdb4c+0x3]=_0xb48bfc;},'keySize':0x100/0x20});_0x37bf9d[_0x3a4942(0x429)]=_0x14a126[_0x3a4942(0x3a9)](_0x2352f2);}()),_0xd1c063[_0x380ac7(0x429)];}));}(Ve)),Ve[_0x381aab(0x387)];}var En=Sn();function _0x4a57(_0x1c7844,_0xdeb18b){var _0x375794=_0x3757();return _0x4a57=function(_0x4a57ef,_0x25801c){_0x4a57ef=_0x4a57ef-0x1b8;var _0x14dc48=_0x375794[_0x4a57ef];return _0x14dc48;},_0x4a57(_0x1c7844,_0xdeb18b);}const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x4c21f1(0x387)],si;function Rn(){return si||(si=0x1,function(_0x47edaa,_0x963d9b){(function(_0x17dbad,_0x5f59b4){var _0x584d51=_0x4a57;_0x47edaa[_0x584d51(0x387)]=_0x5f59b4(te());}(Cn,function(_0xc84c5b){var _0x3e2ee4=_0x4a57;return _0xc84c5b[_0x3e2ee4(0x31c)][_0x3e2ee4(0x2e2)];}));}(Xe)),Xe['exports'];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x4c21f1(0x387)],ni;function Nn(){var _0x40feda=_0x4c21f1;return ni||(ni=0x1,function(_0x2ff46e,_0x3f465e){(function(_0x5e708e,_0x1c981b){var _0x174dbc=_0x4a57;_0x2ff46e[_0x174dbc(0x387)]=_0x1c981b(te());}(yn,function(_0x1a6e91){var _0x3c3171=_0x4a57;return(function(){var _0x5336ae=_0x4a57;if(typeof ArrayBuffer==_0x5336ae(0x365)){var _0x2504e8=_0x1a6e91,_0x2683ef=_0x2504e8[_0x5336ae(0x3e0)],_0x2ed44a=_0x2683ef[_0x5336ae(0x2ab)],_0x551b8b=_0x2ed44a[_0x5336ae(0x2f5)],_0x79f90=_0x2ed44a[_0x5336ae(0x2f5)]=function(_0x57cdbb){var _0xf0d226=_0x5336ae;if(_0x57cdbb instanceof ArrayBuffer&&(_0x57cdbb=new Uint8Array(_0x57cdbb)),(_0x57cdbb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x57cdbb instanceof Uint8ClampedArray||_0x57cdbb instanceof Int16Array||_0x57cdbb instanceof Uint16Array||_0x57cdbb instanceof Int32Array||_0x57cdbb instanceof Uint32Array||_0x57cdbb instanceof Float32Array||_0x57cdbb instanceof Float64Array)&&(_0x57cdbb=new Uint8Array(_0x57cdbb[_0xf0d226(0x35a)],_0x57cdbb[_0xf0d226(0x27e)],_0x57cdbb[_0xf0d226(0x321)])),_0x57cdbb instanceof Uint8Array){for(var _0x6664=_0x57cdbb[_0xf0d226(0x321)],_0x7a5098=[],_0x2713d8=0x0;_0x2713d8<_0x6664;_0x2713d8++)_0x7a5098[_0x2713d8>>>0x2]|=_0x57cdbb[_0x2713d8]<<0x18-_0x2713d8%0x4*0x8;_0x551b8b[_0xf0d226(0x451)](this,_0x7a5098,_0x6664);}else _0x551b8b[_0xf0d226(0x31a)](this,arguments);};_0x79f90[_0x5336ae(0x26e)]=_0x2ed44a;}}()),_0x1a6e91[_0x3c3171(0x3e0)][_0x3c3171(0x2ab)];}));}(Ze)),Ze[_0x40feda(0x387)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x4c21f1(0x387)],ri;function wn(){var _0x361518=_0x4c21f1;return ri||(ri=0x1,function(_0x370f5f,_0x4e2ef8){(function(_0x3c1cd6,_0x2a2367,_0x1f6a8f){var _0x5d4b43=_0x4a57;_0x370f5f[_0x5d4b43(0x387)]=_0x2a2367(te(),bi());}(An,function(_0x379cee){var _0x4074d8=_0x4a57;return _0x379cee[_0x4074d8(0x23b)][_0x4074d8(0x2d4)]={'pad':function(){},'unpad':function(){}},_0x379cee[_0x4074d8(0x23b)]['NoPadding'];}));}(Qe)),Qe[_0x361518(0x387)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x562d8a,_0xf5bc72){var _0xefeb16=_0x4c21f1;const _0x401353=_0xf5bc72-_0x562d8a[_0xefeb16(0x1d3)]%_0xf5bc72,_0x3581e3=String[_0xefeb16(0x24e)](_0x401353)[_0xefeb16(0x420)](_0x401353);return _0x562d8a+_0x3581e3;}function _0x3757(){var _0x4fe901=['_exhaustRemoteChangesetQueue','COMPLETION_FINISHED','pipe','_onCombEvent','error','[CollaborationState]:\x20apply\x20error!','_handler','_entityInit$','abs','removeMember','getImage','_decreaseWaiting','_scheduleCollaborationTimeoutTimer','slice','blockSize','RECV','UNAUTHENTICATED','getTypeOfUnitAdded$','getUnitId','FAIL','createInstance','onTransformRemoteChangesetByStateCache','getTime','_pendingMutations','collaboration_new_changeset','8ZupCkl','name','random','sin','save\x20fail\x20reason\x20is\x20','_candidateSocket','action','keySize','_iKey','push','onload','UNIVER_UNKNOWN','_members$','createCollaborator','image/jpg','addImageSourceCache','INVITE_CODE_REQUIRED','_emitMembers','getUnitType','_transformRemoteChangesetByStateCache','YUUMI_UNABLE_LOAD_URL','_httpService','_sender','repeat','_incrementRevisionNumber','readInt32LE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','duration','INVITE_CODE_HAS_BEEN_UES','_removeRoom','_nDataBytes','[CollaborationUndoRedoService]','AES','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','debug','join','_getRedoStack','_clearUndo','HttpExport','onSendChangeset','FileId','_sendHeartbeat','_cipher','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getDeserializedSheetBlock','_roomMembers','substr','_socket','ERROR_EXCEED_SIZE','sigBytes','extend','[FetchMissState]','_localeService','state','StreamCipher','_onMessage','onRemoteRej','_clearHeartbeatTimer','requestParams','_hasher','compose','entries','forEach','HmacMD5','fromCollab','close','cfg','_isPermissionRej','_initMergeInterceptor','startTime','_snapshotService','Could\x20not\x20dynamically\x20require\x20\x22','call','sid','requireSession','enableOfflineEditing','HttpImport','_checkMissing','SOCKET_FAILED_RETRY','batchAllowed','defineProperty','updatePermissionObjEvent','deepClone','session.room-cnt-exceeds','getUnitOnRev','key','socket\x20open.','Encryptor','COMPRESS_MUTATION_APPLY','_onRemoteRetry','toString','getSheetId','reject','data','OpenSSL','clone','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_executeRemoteChangeset','EvpKDF','Cipher','retryConnectingInterval','getCurrentUser','UserProfileImg','leaveEvent','_handlerCallback','joinRsp','_throwTelemetryCollaborationNewChangeset','_clearRedo','transformSelections','MUTATION','ivSize','WECHAT_HAS_BEEN_BOUND','change$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_initCloseConn','NOT_FOUND','joinEvent','baseRev','/universer-api/oidc/authpage','textRanges','_rescheduleHeartbeat','_nRounds','_getSendChangesetTimeout','_retryCount','LIVESHARE_NEW_HOST','uniscriptRunEvent','transformUndoRedo','JOIN_ROOM_FAILED','_undoRedoService','\x20in\x20_schedule.','fetchMiss','[CollaborationSessionService]:\x20socket\x20error','_ENC_XFORM_MODE','JOIN_ROOM_PERMISSION_DENIED','saveSheetBlock','univer-pro.collaboration-client.single-active-unit-service','floor','_clearLocalCache','_collaborationSessionService','setConfig','_onConnectionOpen','_transformSelections','selections','getSheetBlock','_resendTimer','method','_sendHeartbeatTimer','getAllMembers','NO_OTHER_CLIENTS_EDITING','getConfig','_sheetTransformSelectionsService','csShouldRetryEvent','pluginName','UUID','_queuedRemoteChangesets','DEFAULT_FILE_NAME','_shouldReportTelemetry','hostname','_createHmacHelper','override','_toggleOnline','CHANGESET_SHOULD_RETRY','_socketReady','findIndex','reconnect','\x20-\x20','_scheduleCompleteTimestamp','SYNCED','MOBILE_HAS_BEEN_BOUND','onMissingChangesets','getFocusedUnit','_type','awaiting_with_pending','disposeWithMe','UNKNOWN_CMD','delete','_doProcessBlock','compute','changesets','APPLY_NON_SEQUENTIAL_REVISION','_configService','reqId','send','[SyncedState]:\x20received\x20acknowledgement.','ENSURE_SNAPSHOT_EXECUTION','getSnapshotAPIPath','_sendingTimer','OFFLINE','Hasher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onRemoteChangeset','unitId\x20is\x20not\x20found','CHANGESET_REJ','kdf','_socket$','add','collaMsg','[UniverCollaborationClientPlugin]','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collaboration-client.local-cache-service','target','PERMISSION_DENIED','HELLO','_commentUpdate$','awaiting','_updateState','getWorkbookSelections','format','patch','resourceIDs','length','members$','_unitID','_instanceService','cmd','7827755BjlksK','33qdIrfa','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collaborators','clamp','interceptor','UNIVER_DOC','getMember','getMemberID','liveShareNewHost','editing\x20status\x20changed\x20to','toggleOnline','_startTelemetryCollaborationNewChangeset','focused$','members','_resendTimeout','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sessionStatus$','SOCKET_FAILED','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','sendChangesetTimeout','revision','_joinRoom','objects','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','listCollaborators','capture','FETCH_MISSING','_change$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_injector','_transitionLocked','&assign=','/unit/','/universer-api/file/{fileID}/sign-url','saveImage','_xformMode','getCollabEntity$','INGEST','msCrypto','COMMENT_UPDATE','_networkConditionService','_keyPriorReset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_oKey','_entities','confirm','getRoom','userID','CBC','conflict','__creator','loadDoc','unsubscribe','transformMutationsWithChangeset','/rev/','session.room-permission-denied','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_stopTelemetryCollaborationNewChangeset','then','ALREADY_EXISTS','complete','_undoStacks','_sessions','avatar','has','updateCursorEvent','187448zIuZgj','/universer-api/authz','UPDATE_PERMISSION_OBJ','salt','_event$','setShowComponents','_listenToNetworkCondition','_waitCount','list','objectActions','JOINING','_data','_remoteChangesetQueue','deleteCollaborator','_members','_clearCollaborationTimeoutTimer','LIVESHARE_FETCH_OPERATIONS','LOGIN_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','append','USER_NOT_INVITED_CODE','USERS_ENTER','_roomCreated$','_eventService','subscribe','Error\x20on\x20receiving\x20event','commentUpdateEvent','dispose$','onMissedChangesetFetched','_schedule','sheets','getOwnPropertyDescriptor','pad','POST','telemetry\x20info\x20is\x20not\x20initialized','_keySchedule','_getAPIPrefixPath','failed\x20to\x20apply\x20missed\x20changesets!','NEW_CHANGESETS','collaboratorID','executeCommand','_substituteRedoStack','listRoles','MOBILE_VERIFY_CODE_MISMATCH','_imageSourceCache','onTransformSelections','_reverseMap','getCurrentSelections','mixIn','&source=','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','fromCharCode','/universer-api/uniscript','encode','waitForRoom$','_mode','_timeoutTimer','_init','COMPRESS_MUTATION_SEND','_memberService','/object','YUUMI_TABLE_NOT_FOUND_IN_UNIT','splice','_transformRemoteChangesetByIMECache','MD5','\x0aCurrent:\x20','unitInfo$','LIVESHARE_TERMINATE','YUUMI_ALL_TABLES_IS_INVALID','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_showConflictNotification','_onLocalMutation','submit\x20changeset\x20error!','refreshPermission','LOCAL_CACHE_INTERVAL','fetchMissingChangesets','awaitingChangeset','open$','EMAIL_VERIFY_CODE_MISMATCH','INVALID_INVITE_CODE','_telemetryInfo','crypto','AWAITING_WITH_PENDING','prototype','onlyLocal','LICENSE_DISTRO_REJECTED','PERMISSION_REJ','_onConflict','_createHandler','IDLE','stopTime','session.room-full','_getUploadFileURL','location','onSyncEditingCollabCursor','mutations','UNISCRIPT_RUN','YUUMI_NO_CUBOID_FOR_QUESTION','_clearRetryConnectingTimer','byteOffset','isArray','_createInitialStateImpl','_onUserLeave','unitId','INVALID_ARGUMENT','SUBMIT_CHANGESET_TIMEOUT','CONFLICT','actions','ONLINE','ciphertext','onTransformState','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','&to=','onRemoteAck','/universer-api/snapshot/','_doFinalize','post','getImageSourceCache','_transformService','entityInit$','sessionStatus','_tryReconnect','UNIVER_COLLABORATION_CLIENT_PLUGIN','onTransformIME','isPermissionRej','People','$super','_socketMessageSubscription','createEncryptor','updateSnapshot','onCommentUpdate','/-/object/-/batch_allowed','_doCreateSocket','_status$','_localCacheService','updatePermissionPoint','TOO_MANY_REQUESTS','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','roles','PENDING','__Key__','indexOf','_getCurrentRevision','UNRECOGNIZED','WordArray','/resources','\x20to\x20','_changesetReqId','/universer-api/stream/file/upload','ws://127.0.0.1:8000/universer-api/comb/connect','image/png','csAckEvent','loadUnitOfRevision','OTHER_CLIENT_EDITING','_univerInstanceService','onTransformRemoteChangesetByIMECache','updateMember','size','connection\x20error','unpad','Undefined','type','reset','LIVESHARE_OPERATION','_key','_state$','charCodeAt','_collabSessionService','string','UPDATE_CURSOR','ceil','enableAuthServer','_getCtorByUniverType','setCurrentUser','decrypt','_logService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','editingUnit','roomInfos','APPLY_REVISION_CONFILICT','updateOfflineData','createDecryptor','updateCollaborator','UNIVER_SHEET','_submitChangeset','NoPadding','FETCH_MISS','_substituteUndoStack','_fetchMissChangesets','_commandService','headers','_getUndoStack','APPLY_REJECT','UNKNOWN_CODE','getCollabEntity','create','_iv','_collaborationUIEventService','231sWUxSe','Utf8','saveChangeset','2035032dAiITt','appendMutation','[OfflineState]:\x20received\x20rejection.','_initRequestHeader','objectType','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','origin','INVITE_CODE_ALREADY_BOUND','_revisionService','_getAPIPrefix','_state','_clearTimeoutTimer','_commentService','ERROR_IMAGE_TYPE','YUUMI_RATE_OVER_LIMIT','Base','parse','init','PSEUDO_FETCH_MISSING_RESULT','SerializableCipher','transformStack\x20failed!','HMAC','session.room-not-exists','objectID','asObservable','c2Prime','__esModule','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','readAsDataURL','[DataLoaderService]','startsWith','stringify','put','SNAPSHOT_INVALID_SNAPSHOT','SUBMIT_CHANGESET','params','CHANGESET_REVISION_CONFILICT','_updateStatus','state$','subject','mode','_resendWithTimeout','getRandomValues','_onJoinRoomEvent','{fileID}','_unitInfo$','_unlockTransition','/block/','event$','execute','hasOwnProperty','CONNECTOR_DATA_TOO_LARGE','_createSocket','body','apply','getUnit','enc','[OfflineState]:\x20received\x20changeset.','_onRecvEvent','440156tGuZDv','YUUMI_CONNECTOR_URL_NOT_FOUND','byteLength','createSocket','Decryptor','loadOfflineData','PERSON','concat','APPLY_PERMISSION_DENIED','charAt','_waitForHeartbeatResponse','synced','/role','CLOSE_ROOM','permissionRejEvent','set','snapshot','HmacSHA1','UnitSnapshot','href','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','JOIN','onRemoteRetry','/new_changes','JOIN_ROOM_FULL','unitID','every','USERS_LEAVE','_doCryptBlock','UNDEFINED','pauseCollaboration','encryptBlock','_awaitingChangeset','_hash','find','SHOULD_CLOSE_CONN','CHANGESET_ACK','getActiveSheet','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','originalMeta','unit-cache-','localeService','status','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','OTHER_CLIENTS_EDITING','UnitEmbedded','[SyncedState]:\x20received\x20rejection.','YUUMI_AI_RUN_FAILED','_transformStack','url','m2Prime','_append','commentUpdate$','_disableEditing','/universer-api/user/session-ticket','unknown','_lockTransition','YUUMI_SUBSCRIPTION_NOT_FOUND','iterations','buffer','getTypeOfUnitDisposed$','fetch_missing','HEARTBEAT_TIMEOUT','x-univer-host','[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.','HEARTBEAT','YUUMI_ASYNCIO_CANCELLED','SNAPSHOT_HAS_BEEN_REMOVED','next','sessionStatus$','function','_onRemoteRejected','BufferedBlockAlgorithm','_doReset','LICENSE_EXPORT_SIZE_EXCEEDED','c1Prime','routeKey','PasswordBasedCipher','session','BASE64','code','_collaborationPaused','_config','symbol','onStarting','RETRY_CONNECTING_MAX_COUNT','title','error$','get','UNIVER_SLIDE','includes','catch','_process','session.join-failed','BlockCipherMode','_replayCachedMutations','message$','authzUrl','LIVESHARE_REQUEST_HOST','_transformStateCache','_tryEnsureSocket','NOT_COLLAB','_onConnectionFailed','GLOBAL_ROOMS_CNT_EXCEEDS','exports','_snapshotServerService','_getLoginPath','_collaborationTimeoutTimer','registerHTTPInterceptor','HEARTBEAT_INTERVAL','src','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','dispose','[CollaborationEntity]','encrypt','Pkcs7','SHA1','words','_retryConnectingTimer','_initUnitPermissionChange','_getDownloadEndpointURL','emitEvent','Base64','getCurrentRevOfUnit','INTERNAL_ERROR','eventID','[CollaborationSessionService]','Latin1','80ZJuyNe','initWorkbookPermissionChange','fetchThroughInterceptors','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','9704346JTYjEh','closeSession','status$','_parse','localCacheService','transformChangesets','_createHelper','_syncEditingCollabCursor','rev','_permissionService','update','LICENSE_MAX_UNITS_EXCEEDED','Failed\x20to\x20update\x20permission\x20point','ERROR_IMAGE','max','_startCollaboration','_DEC_XFORM_MODE','_createInitialState','getValue','from','result','_singleActiveUnitService','finalize','_telemetryService','_prevBlock','_replaceFileID','resend','11PLnFUV','clear','replace','onRemoteChangeset','map','_changesetSessionId','randomBytes','757314uzWmYJ','/collaborator','_onOffline','_updateLocalCache','_applyRemoteChangeset','socketService','saveSnapshot','JOIN_ROOM_NOT_EXISTS','APPLY_DUPLICATED','[CollaborationSession]','hasher','memberID','SUCCUSS','encodeURIComponent','452216jQlYtH','toggleOffline','_transformIMECache','_acknowledgedAwaitingChangeset','algo','_socketService','online$','BlockCipher','_compressMutationService','OPTIONAL','/object/','now','_HTTPService','lib','LEAVE','socket\x20close','range','CipherParams','getInterceptPoints','_userManagerService','_toggleOffline','_registerDependencies','_initDependencies','_clearScheduledTask','EMAIL_HAS_BEEN_BOUND','loadUnit','infoRsp','image/gif','_transformUndoredo'];_0x3757=function(){return _0x4fe901;};return _0x3757();}function xn(_0xf2c367,_0x50e49b){var _0x3757fa=_0x4c21f1;const _0x263749=Un[_0x3757fa(0x40b)](0x10),_0x1e73e9=Ln(_0xf2c367,0x10),_0x258bb5=In['encrypt'](bn[_0x3757fa(0x2f4)](_0x1e73e9),ii[_0x3757fa(0x2f4)](_0x50e49b),{'iv':_0x263749,'padding':Mn});return _0x263749[_0x3757fa(0x326)](_0x258bb5[_0x3757fa(0x288)])['toString'](ii);}function kn(){var _0x54c6fa=_0x4c21f1;const _0x43605c=_0x325629()[_0x54c6fa(0x2a7)];if(_0x43605c){const _0x22abda={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x54c6fa(0x4a7)]};return xn(JSON[_0x54c6fa(0x303)](_0x22abda),_0x43605c);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x1ed93d,_0x4006bb,_0x586250,_0x1708fe)=>{for(var _0x5110dd=_0x1708fe>0x1?void 0x0:_0x1708fe?$n(_0x4006bb,_0x586250):_0x4006bb,_0x33ea07=_0x1ed93d['length']-0x1,_0x8ebb05;_0x33ea07>=0x0;_0x33ea07--)(_0x8ebb05=_0x1ed93d[_0x33ea07])&&(_0x5110dd=_0x8ebb05(_0x5110dd)||_0x5110dd);return _0x5110dd;},Bn=(_0x5eae05,_0x5e60ae)=>(_0x3b2f9e,_0x56e29c)=>_0x5e60ae(_0x3b2f9e,_0x56e29c,_0x5eae05);let at=class{constructor(_0xcbbadf){var _0x4e0225=_0x4c21f1;this['_httpService']=_0xcbbadf,this[_0x4e0225(0x2e7)]();}['_initRequestHeader'](){var _0x41d578=_0x4c21f1;this[_0x41d578(0x41e)]['registerHTTPInterceptor']({'interceptor':(_0x2567ce,_0x5a9cac)=>{var _0x41d8ef=_0x41d578;const _0x2a619b=_0x2567ce[_0x41d8ef(0x2d9)],_0x27ce7b=kn();return _0x27ce7b&&_0x2a619b[_0x41d8ef(0x32e)](_0x41d8ef(0x35e),_0x27ce7b),_0x5a9cac(_0x2567ce);}});}};at=Hn([Bn(0x0,_0x2c0a3d(_0x7b7143))],at);var jn=Object[_0x4c21f1(0x23a)],Fn=(_0x570088,_0x39d521,_0x255d1f,_0x30085e)=>{var _0x1cbc78=_0x4c21f1;for(var _0x456f58=_0x30085e>0x1?void 0x0:_0x30085e?jn(_0x39d521,_0x255d1f):_0x39d521,_0x14d716=_0x570088[_0x1cbc78(0x1d3)]-0x1,_0x3044af;_0x14d716>=0x0;_0x14d716--)(_0x3044af=_0x570088[_0x14d716])&&(_0x456f58=_0x3044af(_0x456f58)||_0x456f58);return _0x456f58;},vt=(_0x124e9a,_0x52080d)=>(_0x17fea1,_0xba2c04)=>_0x52080d(_0x17fea1,_0xba2c04,_0x124e9a);let Ct=class extends _0x62afe4{constructor(_0x430c5b,_0x2f35da,_0x2c8e23){var _0x153dde=_0x4c21f1;super(),N(this,_0x153dde(0x311),new _0x1beb74(null)),N(this,_0x153dde(0x25d),this[_0x153dde(0x311)][_0x153dde(0x2fc)]()),(this[_0x153dde(0x2ca)]=_0x430c5b,this[_0x153dde(0x44f)]=_0x2f35da,this[_0x153dde(0x2a1)]=_0x2c8e23);}async[_0x4c21f1(0x2b3)](_0xd48da4,_0x5fe137,_0x4c119e){var _0x1f5ebc=_0x4c21f1;this[_0x1f5ebc(0x311)][_0x1f5ebc(0x363)]({'unitId':_0xd48da4,'type':_0x5fe137});let _0x4abecf=null;switch(_0x5fe137){case Z['UNIVER_SHEET']:{_0x4abecf=await this['_snapshotService']['loadSheet'](_0xd48da4,_0x4c119e);break;}case Z['UNIVER_DOC']:{_0x4abecf=await this['_snapshotService'][_0x1f5ebc(0x20c)](_0xd48da4,_0x4c119e);break;}default:{this[_0x1f5ebc(0x2ca)][_0x1f5ebc(0x3f4)](_0x1f5ebc(0x301),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4abecf;}async[_0x4c21f1(0x3ec)](_0x4b2103,_0x35ca8d,_0x280e25){var _0x6ec1b8=_0x4c21f1,_0x387d30;this[_0x6ec1b8(0x311)][_0x6ec1b8(0x363)]({'unitId':_0x4b2103,'type':_0x35ca8d,'subUnitId':_0x280e25});let _0x2402ae=0x0;const _0xde7908=await((_0x387d30=this[_0x6ec1b8(0x2a1)])==null?void 0x0:_0x387d30[_0x6ec1b8(0x324)](_0x4b2103));return _0xde7908&&(_0xde7908[_0x6ec1b8(0x267)]||_0xde7908[_0x6ec1b8(0x27a)][_0x6ec1b8(0x1d3)]!==0x0)&&(_0x2402ae=_0xde7908[_0x6ec1b8(0x3ab)]),_0x2402ae===0x0&&this[_0x6ec1b8(0x2ca)]['debug']('[DataLoaderService]',_0x6ec1b8(0x1f0)),this[_0x6ec1b8(0x2b3)](_0x4b2103,_0x35ca8d,_0x2402ae);}};Ct=Fn([vt(0x0,_0x5be82e),vt(0x1,_0x2c0a3d(_0x3555e0)),vt(0x2,_0x38da26(J))],Ct);var Vn=Object[_0x4c21f1(0x23a)],Wn=(_0x4ba09d,_0x14a09b,_0x1b1d08,_0x4df1fc)=>{var _0x1a4132=_0x4c21f1;for(var _0x3af83f=_0x4df1fc>0x1?void 0x0:_0x4df1fc?Vn(_0x14a09b,_0x1b1d08):_0x14a09b,_0x3b9a8d=_0x4ba09d[_0x1a4132(0x1d3)]-0x1,_0x105ae2;_0x3b9a8d>=0x0;_0x3b9a8d--)(_0x105ae2=_0x4ba09d[_0x3b9a8d])&&(_0x3af83f=_0x105ae2(_0x3af83f)||_0x3af83f);return _0x3af83f;},pt=(_0x408f07,_0x21abb9)=>(_0x48369e,_0x4123b6)=>_0x21abb9(_0x48369e,_0x4123b6,_0x408f07);const Gn=[_0x4c21f1(0x2b1),'image/jpeg',_0x4c21f1(0x417),_0x4c21f1(0x3ee),'image/bmp'],Yn=0x5*0x400*0x400,Kn=_0x4c21f1(0x2af),qn=_0x4c21f1(0x1fa);let Rt=class{constructor(_0x5583b5,_0x3a08a7,_0x5720e1){var _0xf25fd8=_0x4c21f1;N(this,_0xf25fd8(0x222),0x0),N(this,_0xf25fd8(0x1f4),new _0x55110d()),N(this,_0xf25fd8(0x479),this[_0xf25fd8(0x1f4)]),N(this,_0xf25fd8(0x247),new Map()),(this[_0xf25fd8(0x41e)]=_0x5583b5,this[_0xf25fd8(0x4be)]=_0x3a08a7,this['_univerInstanceService']=_0x5720e1);}['setWaitCount'](_0xcf0629){var _0x244d1f=_0x4c21f1;this[_0x244d1f(0x222)]=_0xcf0629,this['_change$'][_0x244d1f(0x363)](_0xcf0629);}[_0x4c21f1(0x290)](_0x4def9e,_0x530849){var _0x33c975=_0x4c21f1;if(_0x530849===_0x422706[_0x33c975(0x36e)]){const _0x403d0a=new Image();return _0x403d0a[_0x33c975(0x38d)]=_0x4def9e,_0x403d0a;}return this['_imageSourceCache'][_0x33c975(0x377)](_0x4def9e);}[_0x4c21f1(0x418)](_0x1649b6,_0x249c15,_0x3dc869){var _0x59b25d=_0x4c21f1;_0x249c15===_0x422706[_0x59b25d(0x36e)]||_0x3dc869==null||this[_0x59b25d(0x247)]['set'](_0x1649b6,_0x3dc869);}async[_0x4c21f1(0x3fa)](_0x4d3cc9){var _0xb9034f=_0x4c21f1;try{const _0x4deba5=this[_0xb9034f(0x3bc)](this['_getSignURL'](),''+_0x4d3cc9),_0xb10c81=(await this[_0xb9034f(0x41e)][_0xb9034f(0x377)](_0x4deba5))[_0xb9034f(0x319)];if(_0xb10c81[_0xb9034f(0x3f4)]&&_0xb10c81[_0xb9034f(0x3f4)]['code']===vi['OK']){const _0x5a68b2=new URL(_0xb10c81[_0xb9034f(0x350)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x5a68b2);}return Promise[_0xb9034f(0x465)](_0xb10c81[_0xb9034f(0x3f4)]);}catch(_0x8ba61){return Promise[_0xb9034f(0x465)](_0x8ba61);}}async[_0x4c21f1(0x1fb)](_0x46c80e){var _0x19739d=_0x4c21f1;let _0x4fd053='';if(!Gn[_0x19739d(0x379)](_0x46c80e['type']))return this['_decreaseWaiting'](),Promise[_0x19739d(0x465)](new Error(_0x3c5bb1[_0x19739d(0x2f1)]));if(_0x46c80e['size']>Yn)return this[_0x19739d(0x3fb)](),Promise['reject'](new Error(_0x3c5bb1[_0x19739d(0x439)]));try{const _0x41d02d=new FormData();_0x41d02d[_0x19739d(0x22e)]('file',_0x46c80e);const _0x12f4b4=this['_univerInstanceService'][_0x19739d(0x4b4)](),_0x33d6ec=_0x12f4b4==null?void 0x0:_0x12f4b4[_0x19739d(0x402)]();if(!_0x33d6ec)throw new Error(_0x19739d(0x1c0));const _0x873d76=this[_0x19739d(0x277)]()+'?size='+_0x46c80e['size'][_0x19739d(0x463)]()+_0x19739d(0x24c)+pi['UnitEmbedded']+_0x19739d(0x1f8)+encodeURIComponent(_0x33d6ec),_0x57eaa8={'body':_0x41d02d},_0xaf4e0b=(await this[_0x19739d(0x41e)][_0x19739d(0x28f)](_0x873d76,_0x57eaa8))['body'];if(typeof _0xaf4e0b[_0x19739d(0x431)]!=_0x19739d(0x2c3))return this[_0x19739d(0x3fb)](),Promise[_0x19739d(0x465)](new Error(_0x3c5bb1[_0x19739d(0x3b0)]));_0x4fd053=_0xaf4e0b['FileId'];}catch{return this[_0x19739d(0x3fb)](),Promise[_0x19739d(0x465)](new Error(_0x3c5bb1[_0x19739d(0x3b0)]));}return new Promise((_0x40ad17,_0x1ff86f)=>{var _0x5da833=_0x19739d;const _0x5edee8=new FileReader();_0x5edee8[_0x5da833(0x300)](_0x46c80e),_0x5edee8[_0x5da833(0x413)]=_0x37aa21=>{var _0x5be495=_0x5da833,_0x4be43e;const _0x58c1c1=(_0x4be43e=_0x37aa21[_0x5be495(0x1c9)])==null?void 0x0:_0x4be43e[_0x5be495(0x3b7)];if(_0x58c1c1==null){this[_0x5be495(0x3fb)](),_0x1ff86f(new Error(_0x3c5bb1['ERROR_IMAGE']));return;}const _0x3a82ee=_0x3e0066(0x6);_0x40ad17({'imageId':_0x3a82ee,'imageSourceType':_0x422706[_0x5be495(0x4a3)],'source':_0x4fd053,'base64Cache':_0x58c1c1,'status':_0x3c5bb1[_0x5be495(0x3d1)]}),this[_0x5be495(0x3fb)]();};});}['_getUploadFileURL'](){var _0x4a54e7=_0x4c21f1,_0xc2c4c4;const _0x2ca5c2=this[_0x4a54e7(0x4be)]['getConfig'](K);return(_0xc2c4c4=_0x2ca5c2==null?void 0x0:_0x2ca5c2['uploadFileServerUrl'])!=null?_0xc2c4c4:Kn;}['_getSignURL'](){var _0x13721f=_0x4c21f1,_0x1fd0ae;const _0x2d92b4=this['_configService'][_0x13721f(0x49f)](K);return(_0x1fd0ae=_0x2d92b4==null?void 0x0:_0x2d92b4['signUrlServerUrl'])!=null?_0x1fd0ae:qn;}[_0x4c21f1(0x397)](){var _0x1633bc=_0x4c21f1,_0x53bc26;const _0x2ac287=this[_0x1633bc(0x4be)][_0x1633bc(0x49f)](K);return(_0x53bc26=_0x2ac287==null?void 0x0:_0x2ac287['downloadEndpointUrl'])!=null?_0x53bc26:location[_0x1633bc(0x2ea)];}['_replaceFileID'](_0x36a457,_0x163ca4){var _0x21734b=_0x4c21f1;return _0x36a457[_0x21734b(0x3c0)](_0x21734b(0x310),_0x163ca4);}['_decreaseWaiting'](){var _0xf47a21=_0x4c21f1;this[_0xf47a21(0x222)]-=0x1,this[_0xf47a21(0x1f4)]['next'](this[_0xf47a21(0x222)]);}};Rt=Wn([pt(0x0,_0x2c0a3d(_0x7b7143)),pt(0x1,_0x59b36e),pt(0x2,_0x2c0a3d(_0xc6320))],Rt);var zn=Object[_0x4c21f1(0x23a)],Jn=(_0x177157,_0x2d607e,_0x288dcd,_0x43603e)=>{var _0x20b866=_0x4c21f1;for(var _0xd041bf=_0x43603e>0x1?void 0x0:_0x43603e?zn(_0x2d607e,_0x288dcd):_0x2d607e,_0xaa79f0=_0x177157[_0x20b866(0x1d3)]-0x1,_0x207fd3;_0xaa79f0>=0x0;_0xaa79f0--)(_0x207fd3=_0x177157[_0xaa79f0])&&(_0xd041bf=_0x207fd3(_0xd041bf)||_0xd041bf);return _0xd041bf;},ai=(_0x319ac7,_0x47c42c)=>(_0x3ac963,_0x198624)=>_0x47c42c(_0x3ac963,_0x198624,_0x319ac7);const Xn=_0x4c21f1(0x21c);let Ot=class{constructor(_0x5737d1,_0x3ae612){var _0xa40f4e=_0x4c21f1;this['_configService']=_0x5737d1,this[_0xa40f4e(0x3df)]=_0x3ae612;}['_getAPIPrefixPath'](){var _0x48e1bd=_0x4c21f1,_0x547cf3;const _0x336417=this[_0x48e1bd(0x4be)][_0x48e1bd(0x49f)](K);return(_0x547cf3=_0x336417==null?void 0x0:_0x336417[_0x48e1bd(0x380)])!=null?_0x547cf3:Xn;}async[_0x4c21f1(0x223)](_0x185f09){var _0x39cb5e=_0x4c21f1;const _0x49e0e3=this['_getAPIPrefixPath']()+_0x39cb5e(0x3c6);return{'list':[{'title':_0x39cb5e(0x298),'mentions':(await this[_0x39cb5e(0x3df)][_0x39cb5e(0x377)](_0x49e0e3,{'params':{'objectID':_0x185f09[_0x39cb5e(0x282)],'unitID':_0x185f09[_0x39cb5e(0x282)]}}))[_0x39cb5e(0x319)][_0x39cb5e(0x1db)][_0x39cb5e(0x3c2)](_0x2eb60b=>({'objectId':_0x2eb60b['id'],'name':_0x2eb60b[_0x39cb5e(0x30b)][_0x39cb5e(0x40a)],'metadata':{'icon':_0x2eb60b[_0x39cb5e(0x30b)][_0x39cb5e(0x218)]},'label':_0x2eb60b[_0x39cb5e(0x30b)][_0x39cb5e(0x40a)],'objectType':_0x47fa5c[_0x39cb5e(0x325)]})),'metadata':{},'type':_0x47fa5c[_0x39cb5e(0x325)]}]};}};Ot=Jn([ai(0x0,_0x2c0a3d(_0x59b36e)),ai(0x1,_0x2c0a3d(_0x7b7143))],Ot);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x3d41cf,_0x221545,_0x1d19f6,_0x4eb136)=>{var _0xb08c5=_0x4c21f1;for(var _0x8cdf78=_0x4eb136>0x1?void 0x0:_0x4eb136?Zn(_0x221545,_0x1d19f6):_0x221545,_0x4609c9=_0x3d41cf[_0xb08c5(0x1d3)]-0x1,_0x368d42;_0x4609c9>=0x0;_0x4609c9--)(_0x368d42=_0x3d41cf[_0x4609c9])&&(_0x8cdf78=_0x368d42(_0x8cdf78)||_0x8cdf78);return _0x8cdf78;},Ue=(_0x14d48f,_0x599cbf)=>(_0x5bed91,_0x479e0c)=>_0x599cbf(_0x5bed91,_0x479e0c,_0x14d48f);let ot=class extends _0x62afe4{constructor(_0x4fc801,_0x1468c8,_0x6aa30c,_0x3d633f,_0x54141c){var _0x14f012=_0x4c21f1;super(),this[_0x14f012(0x1f6)]=_0x4fc801,this[_0x14f012(0x2b5)]=_0x1468c8,this[_0x14f012(0x3ac)]=_0x6aa30c,this[_0x14f012(0x494)]=_0x3d633f,this[_0x14f012(0x2e0)]=_0x54141c,this[_0x14f012(0x396)](),this[_0x14f012(0x47c)]();}[_0x4c21f1(0x47c)](){var _0xfe0edd=_0x4c21f1;const _0x52bc9f=async _0x35c0f2=>{var _0x4e5b9c=_0x4a57;(await this[_0x4e5b9c(0x494)][_0x4e5b9c(0x453)](_0x35c0f2))[_0x4e5b9c(0x314)][_0x4e5b9c(0x3f2)](_0x29f54f(_0xb84f64=>_0xb84f64['eventID']===_0x58eca8[_0x4e5b9c(0x342)]),_0x45ec2c(this[_0x4e5b9c(0x236)]))[_0x4e5b9c(0x233)](_0x47d462=>{var _0x593976=_0x4e5b9c;const _0x5466f4=_0x47d462,{reason:_0x491d92}=_0x5466f4['data'];this[_0x593976(0x2e0)][_0x593976(0x398)]({'id':ne['CLOSE_ROOM'],'data':_0x491d92}),this[_0x593976(0x3ac)][_0x593976(0x2a2)](new _0x57efec(_0x35c0f2)['id'],!0x1),this['_collaborationSessionService'][_0x593976(0x3a4)](_0x35c0f2);});};_0x459593(this['_univerInstanceService'][_0xfe0edd(0x401)](_0x3824d6[_0xfe0edd(0x2d2)]),this[_0xfe0edd(0x2b5)][_0xfe0edd(0x401)](_0x3824d6[_0xfe0edd(0x1de)]))[_0xfe0edd(0x3f2)](_0x29b017(_0x3edf78=>_0x3edf78['getUnitId']()),_0x29f54f(_0x487a68=>!_0x7a9bb1(_0x487a68)),_0x45ec2c(this[_0xfe0edd(0x236)]))[_0xfe0edd(0x233)](_0x51378e=>{_0x52bc9f(_0x51378e);});}[_0x4c21f1(0x396)](){var _0x4a3061=_0x4c21f1;const _0x55ebfd=async _0x2ad9f0=>{var _0x27796e=_0x4a57;const _0x378df8=await this[_0x27796e(0x494)]['requireSession'](_0x2ad9f0),_0x1161b7=this[_0x27796e(0x1f6)]['get'](_0x3d94e1);_0x378df8[_0x27796e(0x314)][_0x27796e(0x3f2)](_0x29f54f(_0x32423b=>_0x32423b[_0x27796e(0x39c)]===_0x58eca8[_0x27796e(0x21d)]),_0x45ec2c(this[_0x27796e(0x236)]))[_0x27796e(0x233)](_0x4a21aa=>{var _0x3c28d2=_0x27796e;const _0x3a453e=_0x4a21aa,{objectId:_0x72768}=_0x3a453e[_0x3c28d2(0x466)];_0x72768===_0x2ad9f0?_0x1161b7[_0x3c28d2(0x3a0)](_0x2ad9f0):_0x1161b7[_0x3c28d2(0x264)](_0x2ad9f0,_0x72768);});};_0x459593(this[_0x4a3061(0x2b5)]['getTypeOfUnitAdded$'](_0x3824d6[_0x4a3061(0x2d2)]))['pipe'](_0x29b017(_0x4c62ab=>_0x4c62ab[_0x4a3061(0x402)]()),_0x29f54f(_0x5342b5=>!_0x7a9bb1(_0x5342b5)),_0x45ec2c(this[_0x4a3061(0x236)]))[_0x4a3061(0x233)](_0x16174a=>{_0x55ebfd(_0x16174a);});}};ot=Qn([Ue(0x0,_0x2c0a3d(_0x7fec80)),Ue(0x1,_0xc6320),Ue(0x2,_0xf06b7d),Ue(0x3,_0x2c0a3d(Pe)),Ue(0x4,_0x2c0a3d(ve))],ot);var er=Object[_0x4c21f1(0x23a)],tr=(_0x10d879,_0x281792,_0x299f24,_0x41425c)=>{for(var _0x21325=_0x41425c>0x1?void 0x0:_0x41425c?er(_0x281792,_0x299f24):_0x281792,_0x54350b=_0x10d879['length']-0x1,_0x52311d;_0x54350b>=0x0;_0x54350b--)(_0x52311d=_0x10d879[_0x54350b])&&(_0x21325=_0x52311d(_0x21325)||_0x21325);return _0x21325;},oi=(_0x116fa5,_0x38af6c)=>(_0x2d533d,_0x3fd641)=>_0x38af6c(_0x2d533d,_0x3fd641,_0x116fa5);let bt=class{constructor(_0x57280f,_0x115790){var _0x1a3b83=_0x4c21f1;this[_0x1a3b83(0x4be)]=_0x57280f,this[_0x1a3b83(0x41e)]=_0x115790;}async[_0x4c21f1(0x45d)](_0x59ba65,_0xed88eb){var _0xe26f35=_0x4c21f1,_0x5e8d48;const {unitID:_0x28e309,type:_0x5a8625,revision:_0x324716=0x0}=_0xed88eb,_0x1eea9a=this['getSnapshotAPIPath']()+'/'+_0x5a8625+_0xe26f35(0x1f9)+_0x28e309+_0xe26f35(0x20f)+_0x324716,_0x3225bd=(await this[_0xe26f35(0x41e)]['get'](_0x1eea9a))['body'],_0x2812f3=(_0x5e8d48=_0x3225bd[_0xe26f35(0x32f)])==null?void 0x0:_0x5e8d48['workbook'];if(_0x2812f3){const _0x510ec8=_0x2812f3==null?void 0x0:_0x2812f3[_0xe26f35(0x346)],_0x4515d3=_0xa1cd0b[_0xe26f35(0x250)](_0x7a0da7(_0x510ec8));_0x2812f3[_0xe26f35(0x346)]=_0x4515d3,Object[_0xe26f35(0x446)](_0x2812f3[_0xe26f35(0x239)])['forEach'](([,_0x32f26e])=>{var _0x42dbfc=_0xe26f35;const _0x314e8a=_0x32f26e['originalMeta'],_0x5e2a6d=_0xa1cd0b[_0x42dbfc(0x250)](_0x7a0da7(_0x314e8a));_0x32f26e['originalMeta']=_0x5e2a6d;});}return _0x3225bd;}async[_0x4c21f1(0x499)](_0x246c14,_0x1f9f3c){var _0x22ba6c=_0x4c21f1;const {unitID:_0x2447f7,type:_0x43624d,blockID:_0x3368ad}=_0x1f9f3c,_0x1ab062=this[_0x22ba6c(0x2ed)]()+'/'+_0x43624d+_0x22ba6c(0x1f9)+_0x2447f7+'/block/'+_0x3368ad;return(await this[_0x22ba6c(0x41e)][_0x22ba6c(0x377)](_0x1ab062))[_0x22ba6c(0x319)];}async[_0x4c21f1(0x435)](_0x3e14c2,_0x5f2d49){var _0x3b54b8=_0x4c21f1;const {unitID:_0x53ccd9,type:_0x20956e,blockID:_0x3c3d22}=_0x5f2d49,_0x112b0=this['_getAPIPrefix']()+_0x3b54b8(0x313)+_0x20956e+'/unit/'+_0x53ccd9+_0x3b54b8(0x313)+_0x3c3d22;return(await this[_0x3b54b8(0x41e)][_0x3b54b8(0x377)](_0x112b0))[_0x3b54b8(0x319)];}async['fetchMissingChangesets'](_0x1e3729,_0x53ee00){var _0xd2a8ab=_0x4c21f1;const {unitID:_0x4145cc,type:_0x542a9a,from:_0x2a19cb,to:_0x2d98fb}=_0x53ee00,_0x3ee029=this[_0xd2a8ab(0x2ed)]()+'/'+_0x542a9a+_0xd2a8ab(0x1f9)+_0x4145cc+'/fetchmissing?from='+_0x2a19cb+_0xd2a8ab(0x28b)+_0x2d98fb;return(await this[_0xd2a8ab(0x41e)][_0xd2a8ab(0x377)](_0x3ee029))[_0xd2a8ab(0x319)];}[_0x4c21f1(0x1ba)](){var _0x5f1f75=_0x4c21f1,_0x581376;return(_0x581376=this['_configService'][_0x5f1f75(0x49f)](vs))!=null?_0x581376:this[_0x5f1f75(0x2ed)]();}[_0x4c21f1(0x2ed)](){var _0xda8e78=_0x4c21f1,_0x35ed30;const _0x3b925c=this['_configService'][_0xda8e78(0x49f)](K);return(_0x35ed30=_0x3b925c==null?void 0x0:_0x3b925c['snapshotServerUrl'])!=null?_0x35ed30:fs;}async['getResourcesRequest'](_0x5553e2,_0x526b7b){var _0x1381cc=_0x4c21f1;const _0x21fa39=_0x1381cc(0x28d)+_0x526b7b['type']+_0x1381cc(0x1f9)+_0x526b7b[_0x1381cc(0x338)]+_0x1381cc(0x2ac);return(await this['_httpService']['get'](_0x21fa39,{'params':{'resourceId':JSON[_0x1381cc(0x303)](_0x526b7b[_0x1381cc(0x1d2)])}}))[_0x1381cc(0x319)];}[_0x4c21f1(0x3cb)](){var _0x1013ef=_0x4c21f1;throw new Error(_0x1013ef(0x1be));}[_0x4c21f1(0x29c)](){var _0xe6b53e=_0x4c21f1;throw new Error(_0xe6b53e(0x1be));}[_0x4c21f1(0x490)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4c21f1(0x2e3)](){var _0x3a0020=_0x4c21f1;throw new Error(_0x3a0020(0x1be));}['copyFileMeta'](){var _0x57543f=_0x4c21f1;throw new Error(_0x57543f(0x1be));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};bt=tr([oi(0x0,_0x59b36e),oi(0x1,_0x2c0a3d(_0x7b7143))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x56bdf3,_0x29604b,_0x2cd652,_0x356a00)=>{var _0x38a671=_0x4c21f1;for(var _0x546f77=_0x356a00>0x1?void 0x0:_0x356a00?ir(_0x29604b,_0x2cd652):_0x29604b,_0x56716c=_0x56bdf3[_0x38a671(0x1d3)]-0x1,_0x2d28fc;_0x56716c>=0x0;_0x56716c--)(_0x2d28fc=_0x56bdf3[_0x56716c])&&(_0x546f77=_0x2d28fc(_0x546f77)||_0x546f77);return _0x546f77;},Ae=(_0x224ae5,_0x3b3561)=>(_0x17fa5a,_0x4f3190)=>_0x3b3561(_0x17fa5a,_0x4f3190,_0x224ae5);let yt=class extends _0x13ebbe{constructor(_0x4dccb6,_0x4c5f1b,_0x163d4e,_0x3d8cb2,_0x17baf0){var _0x298f10=_0x4c21f1;super(_0x4dccb6,_0x4c5f1b,_0x163d4e),this[_0x298f10(0x291)]=_0x3d8cb2,this['_logService']=_0x17baf0;}[_0x4c21f1(0x488)](_0x273ff6,_0x3273e7){var _0x330994=_0x4c21f1;const _0x1b7fd2=this['_getUndoStack'](_0x273ff6);if(_0x1b7fd2)try{const _0x143fca=this['_transformStack'](_0x1b7fd2,_0x3273e7);this[_0x330994(0x2d6)](_0x273ff6,_0x143fca);}catch(_0x556ac3){this['_logService']['error'](_0x330994(0x428),_0x556ac3),this['_clearUndo'](_0x273ff6);}const _0x3a95f8=this[_0x330994(0x42d)](_0x273ff6);if(_0x3a95f8)try{const _0x78cd4a=this[_0x330994(0x34f)](_0x3a95f8,_0x3273e7);this[_0x330994(0x244)](_0x273ff6,_0x78cd4a);}catch(_0x35f55f){this[_0x330994(0x2ca)]['error'](_0x35f55f),this[_0x330994(0x474)](_0x273ff6);}}[_0x4c21f1(0x42e)](_0x1f5751){var _0x43a61a=_0x4c21f1;const _0x185f9d=this[_0x43a61a(0x2da)](_0x1f5751);_0x185f9d&&(_0x185f9d[_0x43a61a(0x1d3)]=0x0,this[_0x43a61a(0x309)]());}[_0x4c21f1(0x474)](_0x43727e){var _0x5d46be=_0x4c21f1;const _0x41dd1a=this['_getRedoStack'](_0x43727e);_0x41dd1a&&(_0x41dd1a[_0x5d46be(0x1d3)]=0x0,this[_0x5d46be(0x309)]());}[_0x4c21f1(0x2d6)](_0x14a24b,_0x49505a){var _0x4b0dd6=_0x4c21f1;this[_0x4b0dd6(0x216)][_0x4b0dd6(0x32e)](_0x14a24b,_0x49505a),this[_0x4b0dd6(0x309)]();}[_0x4c21f1(0x244)](_0xf4f4fe,_0x3f1ef0){var _0x96d1c9=_0x4c21f1;this['_redoStacks'][_0x96d1c9(0x32e)](_0xf4f4fe,_0x3f1ef0),this[_0x96d1c9(0x309)]();}[_0x4c21f1(0x34f)](_0x1521fd,_0x37e83c){var _0x420a0d=_0x4c21f1;const _0x6d68ac=[];let _0x323776=_0x37e83c,_0xf8ce9d=_0x37e83c;for(let _0x503304=_0x1521fd[_0x420a0d(0x1d3)]-0x1;_0x503304>=0x0;_0x503304--){const {unitID:_0x1cd090,undoMutations:_0x222ed1,redoMutations:_0x49be42}=_0x1521fd[_0x503304],_0x235e05=this[_0x420a0d(0x291)]['transformMutationsWithChangeset'](_0x323776,_0x222ed1),_0x1aa091=this[_0x420a0d(0x291)][_0x420a0d(0x20e)](_0xf8ce9d,_0x49be42);if(_0x5a8716(_0x235e05)||_0x5a8716(_0x1aa091)){this[_0x420a0d(0x2ca)][_0x420a0d(0x3f4)]('[CollaborationUndoRedoService]',_0x420a0d(0x2f8),_0x235e05,_0x1aa091);break;}_0x323776=_0x235e05[_0x420a0d(0x36a)],_0xf8ce9d=_0x1aa091[_0x420a0d(0x36a)],_0x6d68ac[_0x420a0d(0x412)]({'unitID':_0x1cd090,'undoMutations':_0x235e05['m2Prime'],'redoMutations':_0x1aa091[_0x420a0d(0x351)]});}return _0x6d68ac['reverse']();}};yt=sr([Ae(0x0,_0xc6320),Ae(0x1,_0x1d7330),Ae(0x2,_0x3eb528),Ae(0x3,_0x3072c1),Ae(0x4,_0x5be82e)],yt);var nr=Object[_0x4c21f1(0x459)],rr=Object[_0x4c21f1(0x23a)],ar=(_0x281c82,_0x54fe33,_0x283a54)=>_0x54fe33 in _0x281c82?nr(_0x281c82,_0x54fe33,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x283a54}):_0x281c82[_0x54fe33]=_0x283a54,or=(_0x5d6b2b,_0x4a2692,_0x4226e9,_0x2602d4)=>{var _0x232cbf=_0x4c21f1;for(var _0x4e5ec4=_0x2602d4>0x1?void 0x0:_0x2602d4?rr(_0x4a2692,_0x4226e9):_0x4a2692,_0x291b1b=_0x5d6b2b[_0x232cbf(0x1d3)]-0x1,_0x2342e9;_0x291b1b>=0x0;_0x291b1b--)(_0x2342e9=_0x5d6b2b[_0x291b1b])&&(_0x4e5ec4=_0x2342e9(_0x4e5ec4)||_0x4e5ec4);return _0x4e5ec4;},mt=(_0x5af8db,_0x90ea1d)=>(_0x2e8b48,_0x3d369d)=>_0x90ea1d(_0x2e8b48,_0x3d369d,_0x5af8db),cr=(_0x583a60,_0x49fb7d,_0x48de86)=>ar(_0x583a60,_0x49fb7d+'',_0x48de86);const hr=_0x4c21f1(0x295);let Nt=class extends _0x4fe44d{constructor(_0x55546f,_0x2b5f9d,_0x1d25a7,_0x3e164f){var _0x120ac5=_0x4c21f1;super(),N(this,_0x120ac5(0x371)),(this[_0x120ac5(0x2ca)]=_0x2b5f9d,this[_0x120ac5(0x1f6)]=_0x1d25a7,this[_0x120ac5(0x4be)]=_0x3e164f);const {..._0x13a639}=_0x1fd338({},Os,_0x55546f);if(!_0x13a639['socketService'])throw new Error(_0x120ac5(0x2ff));this[_0x120ac5(0x371)]=_0x13a639,this[_0x120ac5(0x4be)][_0x120ac5(0x495)](K,_0x13a639);}[_0x4c21f1(0x373)](){var _0x10c0a2=_0x4c21f1;this[_0x10c0a2(0x3e8)](),this[_0x10c0a2(0x3e9)]();}[_0x4c21f1(0x3e8)](){var _0x28e453=_0x4c21f1,_0x346945,_0x5cffa6;this['_injector'][_0x28e453(0x219)](_0xe9e933)&&this['_logService'][_0x28e453(0x3f4)](_0x28e453(0x1c6),_0x28e453(0x434));const _0x568d24=_0x44f33c([[_0xe9e933,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x28e453(0x371)][_0x28e453(0x3ca)]}],[_0x2caf9b,{'useClass':bt}],[_0x15be07,{'useClass':Tt}],[_0x4ebcc5,{'useClass':Rt}],[_0x56989e,{'useClass':Ot}],[nt],[It]],(_0x346945=this['_config'])==null?void 0x0:_0x346945[_0x28e453(0x4a9)]);if(!((_0x5cffa6=this[_0x28e453(0x371)])!=null&&_0x5cffa6['enableSingleActiveInstanceLock'])){const _0x41e4c4=_0x568d24[_0x28e453(0x4ad)](([_0x4dc13a])=>_0x4dc13a===ht);_0x41e4c4!==-0x1&&_0x568d24[_0x28e453(0x259)](_0x41e4c4,0x1);}_0x532beb(this[_0x28e453(0x1f6)],_0x568d24);}[_0x4c21f1(0x3e9)](){var _0x28e277=_0x4c21f1,_0x1d6df1,_0x2eb414,_0x5477c3;this[_0x28e277(0x1f6)][_0x28e277(0x377)](_0x7b7143)[_0x28e277(0x38b)]({'priority':0x14,'interceptor':_0x4b3367({'maxParallel':0x6})}),(_0x1d6df1=this['_config'])!=null&&_0x1d6df1[_0x28e277(0x454)]||(_0x2eb414=this[_0x28e277(0x1f6)][_0x28e277(0x377)](J,_0x341491[_0x28e277(0x3dc)]))==null||_0x2eb414['disableLocalCache'](),(_0x5477c3=this[_0x28e277(0x371)])!=null&&_0x5477c3[_0x28e277(0x2c6)]&&_0x59f84a(this[_0x28e277(0x1f6)],[[rt]]),_0x59f84a(this['_injector'],[[at],[nt],[ot]]);}};cr(Nt,_0x4c21f1(0x4a2),hr),Nt=or([_0x4d8eed(_0x49dbde,_0x33d75),mt(0x1,_0x5be82e),mt(0x2,_0x2c0a3d(_0x7fec80)),mt(0x3,_0x59b36e)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};