@univerjs-pro/collaboration-client 0.9.2 → 0.9.3-nightly.202507250750

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 (55) 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 -0
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -0
  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 -0
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -0
  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 -0
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -0
  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/locale/ca-ES.d.ts +3 -0
  40. package/lib/types/locale/es-ES.d.ts +3 -0
  41. package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -6
  42. package/lib/types/services/image-remote/image-io.service.d.ts +0 -4
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -0
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -0
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +21 -12
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x575481=_0x27b4;function _0x27b4(_0x9406a1,_0x45b7c2){var _0x5558d5=_0x5558();return _0x27b4=function(_0x27b4c6,_0x41f02d){_0x27b4c6=_0x27b4c6-0x10e;var _0x513045=_0x5558d5[_0x27b4c6];return _0x513045;},_0x27b4(_0x9406a1,_0x45b7c2);}(function(_0x300c38,_0x435b81){var _0x426a5c=_0x27b4,_0x305f80=_0x300c38();while(!![]){try{var _0x42ebb1=parseInt(_0x426a5c(0x1c6))/0x1*(parseInt(_0x426a5c(0x20a))/0x2)+parseInt(_0x426a5c(0x38c))/0x3*(-parseInt(_0x426a5c(0x172))/0x4)+parseInt(_0x426a5c(0x126))/0x5+-parseInt(_0x426a5c(0x2e4))/0x6*(parseInt(_0x426a5c(0x10f))/0x7)+parseInt(_0x426a5c(0x325))/0x8*(-parseInt(_0x426a5c(0x26b))/0x9)+parseInt(_0x426a5c(0x12c))/0xa+-parseInt(_0x426a5c(0x13f))/0xb*(-parseInt(_0x426a5c(0x295))/0xc);if(_0x42ebb1===_0x435b81)break;else _0x305f80['push'](_0x305f80['shift']());}catch(_0x3f0bcc){_0x305f80['push'](_0x305f80['shift']());}}}(_0x5558,0x7a2ff));var Di=Object[_0x575481(0x139)],Ui=(_0x3263b7,_0x4a87e7,_0x2e3e0a)=>_0x4a87e7 in _0x3263b7?Di(_0x3263b7,_0x4a87e7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e3e0a}):_0x3263b7[_0x4a87e7]=_0x2e3e0a,N=(_0x17eeaa,_0x4c2701,_0x4def54)=>Ui(_0x17eeaa,typeof _0x4c2701!=_0x575481(0x25e)?_0x4c2701+'':_0x4c2701,_0x4def54);import{createIdentifier as _0x594d7b,Inject as _0xc3fde9,Injector as _0x11e6a7,IConfigService as _0xfd96b9,ILogService as _0x358d49,Disposable as _0x1b0f07,DisposableCollection as _0x53bf5f,toDisposable as _0x11c90b,IUniverInstanceService as _0x276651,UserManagerService as _0x4d94a5,UniverInstanceType as _0x18640d,LocaleService as _0xcccf9a,Optional as _0x34a233,RxDisposable as _0x36fb88,Tools as _0x4eb6f2,Rectangle as _0x5a876a,ICommandService as _0x5e9ffa,JSONX as _0x187a03,CommandType as _0x5aad24,IUndoRedoService as _0x29a4a9,IPermissionService as _0x56d703,sequenceExecute as _0x580454,Workbook as _0x5b3edb,MentionType as _0x1bb820,isInternalEditorID as _0x72f995,LocalUndoRedoService as _0x3e2d72,IContextService as _0x2d40bf,DependentOn as _0x528fe7,Plugin as _0x3bc309,merge as _0x3de801,mergeOverrideWithDependencies as _0x4c899e,IAuthzIoService as _0x21ab12,IMentionIOService as _0x5df231,registerDependencies as _0x3687e9,Quantity as _0x33767c,touchDependencies as _0x103b60}from'@univerjs/core';import{Subject as _0x49d875,merge as _0xd11ec1,of as _0x43a44c,BehaviorSubject as _0x2b18f4,takeUntil as _0x5cfae5,ReplaySubject as _0x35f563,take as _0xffa32c,map as _0x1a34f4,shareReplay as _0x10568b,firstValueFrom as _0x4e6bda,concatMap as _0x209dbb}from'rxjs';import{map as _0x4b783b,take as _0xecfac1,filter as _0x55c517,delay as _0x4c9a14,takeUntil as _0x3746a7}from'rxjs/operators';import{CollaborationEvent as _0xc491a6,ISnapshotServerService as _0x4f8f66,parseChangesetToProtocol as _0x15de9b,ITransformService as _0x2a6017,isTransformMutationsWithChangesetSuccess as _0x468325,mapDocumentTypeToUniverType as _0x515c85,RevisionService as _0xf9d248,isTransformChangesetsSuccess as _0x36f7ea,CompressMutationService as _0x44e05d,parseProtocolChangeset as _0x3d8287,uuidv4 as _0x55b2be,SnapshotService as _0x475efa,textEncoder as _0x40fe68,b64DecodeUnicode as _0xb35304,isTransformMutationsWithChangesetFailure as _0x515fa6,UniverCollaborationPlugin as _0xbbaa98}from'@univerjs-pro/collaboration';import{HTTPService as _0x2f31db,ISocketService as _0x248c72,MergeInterceptorFactory as _0x16d929,HTTPRequest as _0x102a8c,UniverNetworkPlugin as _0x585d80,ThresholdInterceptorFactory as _0x58f90f}from'@univerjs/network';import{ITelemetryService as _0x58979f}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2dbe49}from'@univerjs/docs';import{SheetsSelectionsService as _0x283e64,SetSelectionsOperation as _0x201c9d,InsertSheetMutation as _0x57f00c,EmptyMutation as _0x157040,WorkbookEditablePermission as _0x2ed758,SheetPermissionInitController as _0x166834}from'@univerjs/sheets';import{ImageSourceType as _0x44b36f,ImageUploadStatusType as _0x10fdd3,IImageIoService as _0x31a5b0}from'@univerjs/drawing';import{getGlobalObject as _0x2935b5}from'@univerjs-pro/license';const fs='SNAPSHOT_SERVER_URL_KEY',vs=_0x575481(0x219),ps=_0x575481(0x125),yr='SEND_CHANGESET_TIMEOUT',ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss=_0x575481(0x171),Nr=_0x575481(0x407),Es=_0x575481(0x1cd),Is=0x7530,fi=_0x575481(0x1bc),vi=0x4e20,Ts=0x4e20,Cs=_0x575481(0x35f),Rs=0x3,Dr=_0x575481(0x19d),Ur=0x3e8,Os='COLLAB_SUBMIT_CHANGESET_URL',bs='/universer-api/comb',ys=_0x575481(0x34f),Ns=_0x575481(0x167),Ar=_0x575481(0x183),wr='/universer-api/uniscript';var pi=(_0x30dc3b=>(_0x30dc3b[_0x30dc3b[_0x575481(0x319)]=0x0]=_0x575481(0x319),_0x30dc3b[_0x30dc3b['OK']=0x1]='OK',_0x30dc3b[_0x30dc3b[_0x575481(0x3c6)]=0x2]=_0x575481(0x3c6),_0x30dc3b[_0x30dc3b[_0x575481(0x1a0)]=0x3]=_0x575481(0x1a0),_0x30dc3b[_0x30dc3b[_0x575481(0x13b)]=0x4]='NOT_FOUND',_0x30dc3b[_0x30dc3b[_0x575481(0x260)]=0x5]=_0x575481(0x260),_0x30dc3b[_0x30dc3b[_0x575481(0x11d)]=0x6]='ALREADY_EXISTS',_0x30dc3b[_0x30dc3b['INVALID_ARGUMENT']=0x7]=_0x575481(0x165),_0x30dc3b[_0x30dc3b[_0x575481(0x175)]=0x8]=_0x575481(0x175),_0x30dc3b[_0x30dc3b['COMPLETION_FINISHED']=0x9]=_0x575481(0x3aa),_0x30dc3b[_0x30dc3b[_0x575481(0x14e)]=0xa]=_0x575481(0x14e),_0x30dc3b[_0x30dc3b[_0x575481(0x257)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x30dc3b[_0x30dc3b[_0x575481(0x377)]=0xc]=_0x575481(0x377),_0x30dc3b[_0x30dc3b[_0x575481(0x3ef)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x30dc3b[_0x30dc3b['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x30dc3b[_0x30dc3b[_0x575481(0x2bc)]=0x1389]=_0x575481(0x2bc),_0x30dc3b[_0x30dc3b[_0x575481(0x29d)]=0x1771]=_0x575481(0x29d),_0x30dc3b[_0x30dc3b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x575481(0x40e),_0x30dc3b[_0x30dc3b[_0x575481(0x317)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x30dc3b[_0x30dc3b['APPLY_REJECT']=0x1b59]=_0x575481(0x3a4),_0x30dc3b[_0x30dc3b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x575481(0x128),_0x30dc3b[_0x30dc3b[_0x575481(0x149)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x30dc3b[_0x30dc3b[_0x575481(0x3a8)]=0x1b5c]=_0x575481(0x3a8),_0x30dc3b[_0x30dc3b['APPLY_DUPLICATED']=0x1b5d]=_0x575481(0x1ae),_0x30dc3b[_0x30dc3b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x30dc3b[_0x30dc3b[_0x575481(0x1a1)]=0x2329]=_0x575481(0x1a1),_0x30dc3b[_0x30dc3b[_0x575481(0x28f)]=0x232a]=_0x575481(0x28f),_0x30dc3b[_0x30dc3b[_0x575481(0x396)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x30dc3b[_0x30dc3b[_0x575481(0x241)]=0x232c]=_0x575481(0x241),_0x30dc3b[_0x30dc3b[_0x575481(0x1a3)]=0x232d]=_0x575481(0x1a3),_0x30dc3b[_0x30dc3b[_0x575481(0x206)]=0x2711]=_0x575481(0x206),_0x30dc3b[_0x30dc3b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x575481(0x263),_0x30dc3b[_0x30dc3b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x575481(0x2c6),_0x30dc3b[_0x30dc3b[_0x575481(0x279)]=0x2714]=_0x575481(0x279),_0x30dc3b[_0x30dc3b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x575481(0x31e),_0x30dc3b[_0x30dc3b[_0x575481(0x3b9)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x30dc3b[_0x30dc3b[_0x575481(0x203)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x30dc3b[_0x30dc3b[_0x575481(0x182)]=0x271d]=_0x575481(0x182),_0x30dc3b[_0x30dc3b[_0x575481(0x3f6)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x30dc3b[_0x30dc3b[_0x575481(0x232)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x30dc3b[_0x30dc3b[_0x575481(0x2f0)]=0x2720]=_0x575481(0x2f0),_0x30dc3b[_0x30dc3b[_0x575481(0x384)]=0x2af9]=_0x575481(0x384),_0x30dc3b[_0x30dc3b[_0x575481(0x18f)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x30dc3b[_0x30dc3b[_0x575481(0x275)]=0x2ee2]='INVALID_INVITE_CODE',_0x30dc3b[_0x30dc3b['INVITE_CODE_REQUIRED']=0x2ee3]=_0x575481(0x157),_0x30dc3b[_0x30dc3b[_0x575481(0x178)]=0x2ee4]=_0x575481(0x178),_0x30dc3b[_0x30dc3b[_0x575481(0x2b3)]=0x2ee5]=_0x575481(0x2b3),_0x30dc3b[_0x30dc3b[_0x575481(0x2a6)]=0x32c9]=_0x575481(0x2a6),_0x30dc3b[_0x30dc3b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x30dc3b[_0x30dc3b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x575481(0x24d),_0x30dc3b[_0x30dc3b['UNRECOGNIZED']=-0x1]=_0x575481(0x211),_0x30dc3b))(pi||{}),Z=(_0x1068e5=>(_0x1068e5[_0x1068e5[_0x575481(0x205)]=0x0]=_0x575481(0x205),_0x1068e5[_0x1068e5[_0x575481(0x3b7)]=0x1]=_0x575481(0x3b7),_0x1068e5[_0x1068e5[_0x575481(0x1a4)]=0x2]='UNIVER_SHEET',_0x1068e5[_0x1068e5[_0x575481(0x19e)]=0x3]=_0x575481(0x19e),_0x1068e5[_0x1068e5['UNIVER_PROJECT']=0x4]=_0x575481(0x298),_0x1068e5[_0x1068e5[_0x575481(0x211)]=-0x1]='UNRECOGNIZED',_0x1068e5))(Z||{}),F=(_0x14f964=>(_0x14f964[_0x14f964[_0x575481(0x217)]=0x0]=_0x575481(0x217),_0x14f964[_0x14f964[_0x575481(0x225)]=0x1]=_0x575481(0x225),_0x14f964[_0x14f964[_0x575481(0x14b)]=0x2]=_0x575481(0x14b),_0x14f964[_0x14f964[_0x575481(0x382)]=0x3]=_0x575481(0x382),_0x14f964[_0x14f964[_0x575481(0x2b9)]=0x4]=_0x575481(0x2b9),_0x14f964[_0x14f964[_0x575481(0x137)]=0x5]=_0x575481(0x137),_0x14f964[_0x14f964[_0x575481(0x1c3)]=0x6]='RECV',_0x14f964[_0x14f964[_0x575481(0x211)]=-0x1]=_0x575481(0x211),_0x14f964))(F||{}),me=(_0x2a1ed1=>(_0x2a1ed1[_0x2a1ed1[_0x575481(0x335)]=0x0]=_0x575481(0x335),_0x2a1ed1[_0x2a1ed1['OK']=0x1]='OK',_0x2a1ed1[_0x2a1ed1[_0x575481(0x1aa)]=0x2]=_0x575481(0x1aa),_0x2a1ed1[_0x2a1ed1[_0x575481(0x314)]=0x3e9]=_0x575481(0x314),_0x2a1ed1[_0x2a1ed1[_0x575481(0x1a2)]=0x3ea]=_0x575481(0x1a2),_0x2a1ed1[_0x2a1ed1[_0x575481(0x343)]=0x3eb]=_0x575481(0x343),_0x2a1ed1[_0x2a1ed1[_0x575481(0x3ed)]=0x3ec]=_0x575481(0x3ed),_0x2a1ed1[_0x2a1ed1[_0x575481(0x211)]=-0x1]=_0x575481(0x211),_0x2a1ed1))(me||{}),mi=(_0x1dc2dc=>(_0x1dc2dc[_0x1dc2dc[_0x575481(0x19c)]=0x0]=_0x575481(0x19c),_0x1dc2dc[_0x1dc2dc[_0x575481(0x250)]=0x1]=_0x575481(0x250),_0x1dc2dc[_0x1dc2dc[_0x575481(0x328)]=0x2]=_0x575481(0x328),_0x1dc2dc[_0x1dc2dc[_0x575481(0x28c)]=0x3]='UnitEmbedded',_0x1dc2dc[_0x1dc2dc['UnitSnapshot']=0x4]=_0x575481(0x412),_0x1dc2dc[_0x1dc2dc[_0x575481(0x1d4)]=0x5]=_0x575481(0x1d4),_0x1dc2dc[_0x1dc2dc[_0x575481(0x211)]=-0x1]=_0x575481(0x211),_0x1dc2dc))(mi||{});const K=_0x575481(0x33d),Ds={};var ne=(_0x54d521=>(_0x54d521[_0x575481(0x37c)]='OTHER_CLIENT_EDITING',_0x54d521['PERMISSION_DENIED']='PERMISSION_DENIED',_0x54d521[_0x575481(0x369)]='CONFLICT',_0x54d521['CLOSE_ROOM']=_0x575481(0x2b2),_0x54d521[_0x575481(0x166)]=_0x575481(0x166),_0x54d521[_0x575481(0x35e)]=_0x575481(0x35e),_0x54d521[_0x575481(0x35d)]=_0x575481(0x35d),_0x54d521[_0x575481(0x2da)]='SUBMIT_CHANGESET_TIMEOUT',_0x54d521))(ne||{});class ve{constructor(){var _0x195926=_0x575481;N(this,_0x195926(0x3d5),new _0x49d875()),N(this,_0x195926(0x345),this[_0x195926(0x3d5)][_0x195926(0x233)]());}['emitEvent'](_0xc164fb){var _0xb3fc47=_0x575481;this[_0xb3fc47(0x3d5)][_0xb3fc47(0x2f4)](_0xc164fb);}}const Us=_0x594d7b(_0x575481(0x180));function As(_0x1c25b3){var _0x18e6c8=_0x575481,_0x57a531,_0x3ed683,_0x2797fb,_0x18842c,_0x543009;const _0x606b23=_0x1c25b3[_0x18e6c8(0x368)],_0x121743=JSON[_0x18e6c8(0x1af)](_0x606b23);switch(_0x121743['cmd']){case F[_0x18e6c8(0x137)]:case F['HELLO']:{const _0xebf0b1=_0x121743[_0x18e6c8(0x2b1)];return{..._0x121743,'data':_0xebf0b1,'cmd':_0x121743['cmd']};}case F[_0x18e6c8(0x14b)]:{const _0x2515fb=_0x121743[_0x18e6c8(0x391)];return{..._0x121743,'data':_0x2515fb,'cmd':_0x121743[_0x18e6c8(0x249)]};}case F[_0x18e6c8(0x1c3)]:{const _0x496217=_0x121743[_0x18e6c8(0x1ec)];switch(_0x496217[_0x18e6c8(0x2aa)]){case _0xc491a6['PERMISSION_REJ']:return{..._0x121743,'data':{..._0x496217,'data':(_0x57a531=_0x496217[_0x18e6c8(0x3cc)])==null?void 0x0:_0x57a531['cs']},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6[_0x18e6c8(0x169)]:return{..._0x121743,'data':{..._0x496217,'data':(_0x3ed683=_0x496217['csAckEvent'])==null?void 0x0:_0x3ed683['cs']},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6[_0x18e6c8(0x3ce)]:return{..._0x121743,'data':{..._0x496217,'data':(_0x2797fb=_0x496217[_0x18e6c8(0x3e6)])==null?void 0x0:_0x2797fb['cs']},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6[_0x18e6c8(0x34d)]:return{..._0x121743,'data':{..._0x496217,'data':(_0x18842c=_0x496217[_0x18e6c8(0x16e)])==null?void 0x0:_0x18842c['cs']},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6[_0x18e6c8(0x32d)]:return{..._0x121743,'data':{..._0x496217,'data':(_0x543009=_0x496217[_0x18e6c8(0x1b2)])==null?void 0x0:_0x543009['cs']},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6[_0x18e6c8(0x23c)]:return{..._0x121743,'data':{..._0x496217,'data':_0x496217['updateCursorEvent']},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6[_0x18e6c8(0x331)]:return{..._0x121743,'data':{..._0x496217,'data':_0x496217[_0x18e6c8(0x17f)]},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6['USERS_LEAVE']:return{..._0x121743,'data':{..._0x496217,'data':_0x496217[_0x18e6c8(0x26f)]},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6[_0x18e6c8(0x346)]:return{..._0x121743,'data':{..._0x496217,'data':_0x496217['liveShareNewHost']},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6['LIVESHARE_FETCH_OPERATIONS']:case _0xc491a6[_0x18e6c8(0x32b)]:return{..._0x121743,'data':{..._0x496217,'data':_0x496217[_0x18e6c8(0x18e)]},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6['LIVESHARE_TERMINATE']:return{..._0x121743,'data':{..._0x496217,'data':_0x496217[_0x18e6c8(0x1e5)]},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6[_0x18e6c8(0x3cd)]:return{..._0x121743,'data':_0x496217,'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6['COMMENT_UPDATE']:return{..._0x121743,'data':{..._0x496217,'data':_0x496217[_0x18e6c8(0x2e2)]},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6['UPDATE_PERMISSION_OBJ']:return{..._0x121743,'data':{..._0x496217,'data':_0x496217['updatePermissionObjEvent']},'cmd':_0x121743['cmd']};case _0xc491a6[_0x18e6c8(0x132)]:return{..._0x121743,'data':{..._0x496217,'data':_0x496217[_0x18e6c8(0x322)]},'cmd':_0x121743[_0x18e6c8(0x249)]};case _0xc491a6['UNISCRIPT_RUN']:return{..._0x121743,'data':{..._0x496217,'data':_0x496217['uniscriptRunEvent']},'cmd':_0x121743[_0x18e6c8(0x249)]};default:return _0x121743;}}default:return _0x121743;}}function ws(_0x46e226){var _0x3fbaa8=_0x575481;switch(_0x46e226[_0x3fbaa8(0x249)]){case F[_0x3fbaa8(0x137)]:case F['HELLO']:return JSON[_0x3fbaa8(0x16a)]({'cmd':_0x46e226['cmd'],'routeKey':_0x46e226['routeKey']});case F[_0x3fbaa8(0x2b9)]:{let _0x144559;switch(_0x46e226[_0x3fbaa8(0x368)][_0x3fbaa8(0x2aa)]){case _0xc491a6[_0x3fbaa8(0x23c)]:{_0x144559={'eventID':_0xc491a6[_0x3fbaa8(0x23c)],'updateCursorEvent':_0x46e226[_0x3fbaa8(0x368)]['data']};break;}case _0xc491a6['USERS_LEAVE']:{_0x144559={'eventID':_0xc491a6[_0x3fbaa8(0x19a)],'leaveEvent':_0x46e226[_0x3fbaa8(0x368)][_0x3fbaa8(0x368)]};break;}case _0xc491a6[_0x3fbaa8(0x331)]:{_0x144559={'eventID':_0xc491a6[_0x3fbaa8(0x331)],'joinEvent':_0x46e226[_0x3fbaa8(0x368)][_0x3fbaa8(0x368)]};break;}case _0xc491a6['LIVESHARE_NEW_HOST']:{_0x144559={'eventID':_0xc491a6[_0x3fbaa8(0x346)],'liveShareNewHost':_0x46e226[_0x3fbaa8(0x368)][_0x3fbaa8(0x368)]};break;}case _0xc491a6[_0x3fbaa8(0x32b)]:{_0x144559={'eventID':_0xc491a6['LIVESHARE_OPERATION'],'liveShareOperation':_0x46e226[_0x3fbaa8(0x368)]['data']};break;}case _0xc491a6[_0x3fbaa8(0x3e4)]:{_0x144559={'eventID':_0xc491a6[_0x3fbaa8(0x3e4)],'liveShareTerminate':_0x46e226[_0x3fbaa8(0x368)][_0x3fbaa8(0x368)]};break;}case _0xc491a6['LIVESHARE_REQUEST_HOST']:{_0x144559={'eventID':_0xc491a6['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x46e226['data'][_0x3fbaa8(0x368)]};break;}case _0xc491a6[_0x3fbaa8(0x11b)]:{_0x144559={'eventID':_0xc491a6[_0x3fbaa8(0x11b)]};break;}default:_0x144559={'eventID':_0x46e226[_0x3fbaa8(0x368)]['eventID']};}return JSON[_0x3fbaa8(0x16a)]({'cmd':_0x46e226[_0x3fbaa8(0x249)],'routeKey':_0x46e226['routeKey'],'collaMsg':_0x144559});}case F[_0x3fbaa8(0x14b)]:return JSON[_0x3fbaa8(0x16a)]({'cmd':_0x46e226[_0x3fbaa8(0x249)],'routeKey':_0x46e226[_0x3fbaa8(0x190)],'joinReq':_0x46e226[_0x3fbaa8(0x368)]});case F[_0x3fbaa8(0x382)]:return JSON[_0x3fbaa8(0x16a)]({'cmd':_0x46e226[_0x3fbaa8(0x249)],'routeKey':_0x46e226[_0x3fbaa8(0x190)],'leaveReq':_0x46e226['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ps=Object['getOwnPropertyDescriptor'],Ls=(_0x22d8f5,_0x4c428e,_0x5f2df1,_0x349599)=>{var _0x466c3f=_0x575481;for(var _0xa83bc1=_0x349599>0x1?void 0x0:_0x349599?Ps(_0x4c428e,_0x5f2df1):_0x4c428e,_0x3d73f6=_0x22d8f5[_0x466c3f(0x2b8)]-0x1,_0x22b682;_0x3d73f6>=0x0;_0x3d73f6--)(_0x22b682=_0x22d8f5[_0x3d73f6])&&(_0xa83bc1=_0x22b682(_0xa83bc1)||_0xa83bc1);return _0xa83bc1;},Ue=(_0x4f3841,_0x3fff2d)=>(_0x5f2385,_0x54a7b1)=>_0x3fff2d(_0x5f2385,_0x54a7b1,_0x4f3841);const gi=_0x594d7b(_0x575481(0x2de));function Ms(_0x25aaa2,_0x199f9f,_0x36ed5c){var _0x249646=_0x575481;return _0x25aaa2+'/'+_0x199f9f+_0x249646(0x2f3)+_0x36ed5c+_0x249646(0x2ba);}let Ft=class extends _0x1b0f07{constructor(_0x2beed3,_0x1ec290,_0x124288,_0x4df20a,_0x47f1d8){var _0x1453a7=_0x575481;super(),this[_0x1453a7(0x388)]=_0x2beed3,this['_httpService']=_0x1ec290,this[_0x1453a7(0x307)]=_0x124288,this['_logService']=_0x4df20a,this[_0x1453a7(0x342)]=_0x47f1d8;}[_0x575481(0x408)](_0x1dce64){var _0x261aee=_0x575481;const _0x5c4d4b=this['_injector']['get'](_0x248c72);if(!_0x5c4d4b)throw new Error(_0x261aee(0x3c7));const _0x5a3754=_0x5c4d4b[_0x261aee(0x30f)](_0x1dce64);if(!_0x5a3754)throw new Error(_0x261aee(0x1a9));const _0x54cc3f=new _0x53bf5f(),_0x4acbb5=new _0x49d875();_0x54cc3f[_0x261aee(0x247)](_0x5a3754[_0x261aee(0x287)][_0x261aee(0x1d1)](_0x16dd8e=>_0x4acbb5['next'](_0x16dd8e))),_0x54cc3f[_0x261aee(0x247)](_0x11c90b(()=>_0x4acbb5[_0x261aee(0x12d)]()));const _0x467f2a=new _0x49d875();_0x54cc3f[_0x261aee(0x247)](_0x5a3754['error$'][_0x261aee(0x1d1)](_0x115fdc=>_0x467f2a[_0x261aee(0x2f4)](_0x115fdc))),_0x54cc3f[_0x261aee(0x247)](_0x11c90b(()=>_0x467f2a['complete']()));const _0x589ca6=new _0x49d875();_0x54cc3f[_0x261aee(0x247)](_0x5a3754[_0x261aee(0x162)][_0x261aee(0x1d1)](_0x1e81c4=>{var _0x2fa72e=_0x261aee;const _0x52cc9d=As(_0x1e81c4);_0x589ca6[_0x2fa72e(0x2f4)](_0x52cc9d);})),_0x54cc3f[_0x261aee(0x247)](_0x11c90b(()=>_0x589ca6[_0x261aee(0x12d)]()));let _0x596c4b;const _0x22d3ae=()=>{var _0x7da09a=_0x261aee;_0x467f2a['next'](new Event('connection\x20error')),_0x4acbb5[_0x7da09a(0x2f4)](new Event(_0x7da09a(0x168))),_0x596c4b[_0x7da09a(0x2c7)]();};return _0x596c4b={'memberID':'','close$':_0x4acbb5[_0x261aee(0x233)](),'error$':_0x467f2a['asObservable'](),'open$':_0x5a3754[_0x261aee(0x3b5)],'message$':_0x589ca6[_0x261aee(0x233)](),'send':_0x418ebf=>{var _0x397e6b=_0x261aee;if(_0x418ebf[_0x397e6b(0x249)]===F[_0x397e6b(0x2b9)]){if(_0x418ebf[_0x397e6b(0x368)][_0x397e6b(0x2aa)]===_0xc491a6[_0x397e6b(0x30b)]){this['_submitChangeset'](_0x596c4b,_0x418ebf[_0x397e6b(0x368)])[_0x397e6b(0x1f0)](_0x5eeab1=>{var _0x3f5e67=_0x397e6b;this[_0x3f5e67(0x1e0)]['error'](_0x5eeab1),_0x22d3ae();});return;}if(_0x418ebf['data'][_0x397e6b(0x2aa)]===_0xc491a6[_0x397e6b(0x3b2)]){const _0x15f783=_0x418ebf['data'];this[_0x397e6b(0x273)](_0x15f783)[_0x397e6b(0x246)](_0x7e050f=>{var _0x195c5a=_0x397e6b;_0x589ca6[_0x195c5a(0x2f4)]({'cmd':F[_0x195c5a(0x1c3)],'code':me['OK'],'routeKey':_0x15f783[_0x195c5a(0x368)][_0x195c5a(0x290)],'routeType':'','data':{'eventID':_0xc491a6[_0x195c5a(0x2a0)],'data':{'changesets':_0x7e050f}}});})[_0x397e6b(0x1f0)](_0x1ab6b6=>{var _0x121b34=_0x397e6b;this[_0x121b34(0x1e0)][_0x121b34(0x329)](_0x1ab6b6),_0x22d3ae();});return;}}_0x5a3754[_0x397e6b(0x40b)](ws(_0x418ebf));},'close':()=>{var _0x29606d=_0x261aee;_0x5a3754[_0x29606d(0x2c7)](),_0x54cc3f['dispose']();}},_0x596c4b;}async[_0x575481(0x363)](_0x3ebd5e,_0x27acb4){var _0x51f277=_0x575481,_0x12ed6e,_0x27f987;const {unitType:_0x3776fc,unitID:_0x5500f7,changeset:_0xd9772c}=_0x27acb4[_0x51f277(0x368)],_0x5578d8={'unitID':_0x5500f7,'memberID':_0x3ebd5e[_0x51f277(0x37a)],'type':_0x3776fc,'changeset':_0x15de9b(_0xd9772c)},_0x5af2e1=this[_0x51f277(0x307)][_0x51f277(0x2e7)](Os),_0x4e1f93=this['_configService'][_0x51f277(0x2e7)](K),_0x281899=Ms((_0x27f987=(_0x12ed6e=_0x4e1f93==null?void 0x0:_0x4e1f93[_0x51f277(0x3a6)])!=null?_0x12ed6e:_0x5af2e1)!=null?_0x27f987:bs,_0x3776fc,_0x5500f7);try{await this[_0x51f277(0x161)]['post'](_0x281899,{'body':_0x5578d8});}catch(_0x21a085){throw this['_logService'][_0x51f277(0x329)](_0x51f277(0x301),'submit\x20changeset\x20error!'),_0x21a085;}}async[_0x575481(0x273)](_0x11cf03){var _0xe2ef95=_0x575481;const {unitID:_0x151132,from:_0x926586,to:_0x26e61b,unitType:_0x5e9888}=_0x11cf03[_0xe2ef95(0x368)];return(await this['_snapshotServerService'][_0xe2ef95(0x40c)]({'metadata':void 0x0},{'unitID':_0x151132,'type':_0x5e9888,'from':_0x926586,'to':_0x26e61b}))[_0xe2ef95(0x24c)];}};Ft=Ls([Ue(0x0,_0xc3fde9(_0x11e6a7)),Ue(0x1,_0xc3fde9(_0x2f31db)),Ue(0x2,_0xfd96b9),Ue(0x3,_0x358d49),Ue(0x4,_0x4f8f66)],Ft);const xs='collaboration_new_changeset';function ks(_0x5c5abb){var _0x1e3fa3=_0x575481;return JSON[_0x1e3fa3(0x16a)](_0x5c5abb)[_0x1e3fa3(0x2b8)];}class Si{constructor(){var _0x420118=_0x575481;N(this,'_commentUpdate$',new _0x49d875()),N(this,_0x420118(0x15a),this[_0x420118(0x41b)][_0x420118(0x233)]());}[_0x575481(0x41e)](_0x514ef8){var _0x187013=_0x575481;this[_0x187013(0x41b)][_0x187013(0x2f4)](_0x514ef8);}}var $s=Object[_0x575481(0x150)],Hs=(_0x245e3f,_0xfc5640,_0xe37171,_0x3e36b5)=>{var _0x4356d0=_0x575481;for(var _0x32f0b7=_0x3e36b5>0x1?void 0x0:_0x3e36b5?$s(_0xfc5640,_0xe37171):_0xfc5640,_0x3f096c=_0x245e3f[_0x4356d0(0x2b8)]-0x1,_0x1b8ffc;_0x3f096c>=0x0;_0x3f096c--)(_0x1b8ffc=_0x245e3f[_0x3f096c])&&(_0x32f0b7=_0x1b8ffc(_0x32f0b7)||_0x32f0b7);return _0x32f0b7;},Vt=(_0x5a4332,_0x52eab6)=>(_0x4c1356,_0x4bab24)=>_0x52eab6(_0x4c1356,_0x4bab24,_0x5a4332);let Pe=class extends _0x1b0f07{constructor(_0x941caf,_0x5cbd7a){var _0x1bf3c9=_0x575481;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x49d875()),(this[_0x1bf3c9(0x2e8)]=_0x941caf,this[_0x1bf3c9(0x3f5)]=_0x5cbd7a,this['disposeWithMe'](_0xd11ec1(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x18640d['UNIVER_SHEET'])['pipe'](_0x4b783b(_0x3e30a4=>_0x3e30a4[_0x1bf3c9(0x3fb)]())),this[_0x1bf3c9(0x2e8)][_0x1bf3c9(0x341)](_0x18640d[_0x1bf3c9(0x3b7)])[_0x1bf3c9(0x272)](_0x4b783b(_0x5eaa45=>_0x5eaa45['getUnitId']())),this[_0x1bf3c9(0x2e8)][_0x1bf3c9(0x341)](_0x18640d[_0x1bf3c9(0x19e)])['pipe'](_0x4b783b(_0x238dbc=>_0x238dbc[_0x1bf3c9(0x3fb)]())))[_0x1bf3c9(0x1d1)](_0x13c578=>this[_0x1bf3c9(0x13e)](_0x13c578))));}[_0x575481(0x11c)](_0xca4bb0){var _0x46ac8e=_0x575481;return this[_0x46ac8e(0x296)][_0x46ac8e(0x2eb)](_0xca4bb0)?_0x43a44c(this['_roomMembers'][_0x46ac8e(0x1a7)](_0xca4bb0)):this[_0x46ac8e(0x278)][_0x46ac8e(0x272)](_0x4b783b(_0x58e206=>{var _0x52de1a=_0x46ac8e;if(_0x58e206===_0xca4bb0)return this['_roomMembers'][_0x52de1a(0x1a7)](_0x58e206);}));}[_0x575481(0x38f)](_0x3a0bb0){var _0x42a3df=_0x575481;this[_0x42a3df(0x3f5)][_0x42a3df(0x38f)](_0x3a0bb0);}[_0x575481(0x254)](){var _0x5afa72=_0x575481;return this[_0x5afa72(0x3f5)][_0x5afa72(0x254)]();}[_0x575481(0x31a)](_0x5a7970,_0x4465b4){var _0x1332a3=_0x575481;let _0x502f9b=this[_0x1332a3(0x296)][_0x1332a3(0x1a7)](_0x5a7970);_0x502f9b||(_0x502f9b=new Bs(),this[_0x1332a3(0x296)][_0x1332a3(0x1f4)](_0x5a7970,_0x502f9b),this['_roomCreated$'][_0x1332a3(0x2f4)](_0x5a7970)),_0x502f9b[_0x1332a3(0x31a)](_0x4465b4);}[_0x575481(0x39d)](_0x3f20d0,_0x257342){var _0xcd4574=_0x575481;const _0xdbc8f5=this[_0xcd4574(0x296)][_0xcd4574(0x1a7)](_0x3f20d0);_0xdbc8f5&&_0xdbc8f5[_0xcd4574(0x39d)](_0x257342);}[_0x575481(0x13c)](_0x498138){var _0x131015=_0x575481;return this[_0x131015(0x296)]['get'](_0x498138);}[_0x575481(0x1b4)](_0x11c5c2,_0x22f77b){var _0x446c82=_0x575481;const _0x5ce728=this[_0x446c82(0x296)][_0x446c82(0x1a7)](_0x11c5c2);if(_0x5ce728)return _0x5ce728[_0x446c82(0x1b4)](_0x22f77b);}[_0x575481(0x13e)](_0xf532a1){var _0x54f03c=_0x575481;const _0x781280=this[_0x54f03c(0x296)]['get'](_0xf532a1);_0x781280&&(_0x781280['dispose'](),this[_0x54f03c(0x296)][_0x54f03c(0x259)](_0xf532a1));}[_0x575481(0x2e1)](){var _0x7570ee=_0x575481;this[_0x7570ee(0x296)]['forEach'](_0x4c033e=>_0x4c033e[_0x7570ee(0x2e1)]()),this['_roomMembers'][_0x7570ee(0x2cd)](),this['_roomCreated$'][_0x7570ee(0x12d)]();}};Pe=Hs([Vt(0x0,_0x276651),Vt(0x1,_0xc3fde9(_0x4d94a5))],Pe);class Bs extends _0x1b0f07{constructor(){var _0x5c341a=_0x575481;super(...arguments),N(this,_0x5c341a(0x3f7),new Map()),N(this,'_members$',new _0x2b18f4(this[_0x5c341a(0x3f7)])),N(this,_0x5c341a(0x120),this['_members$']['asObservable']());}[_0x575481(0x2e1)](){var _0x3055a4=_0x575481;this[_0x3055a4(0x3f7)][_0x3055a4(0x2cd)]();}[_0x575481(0x31a)](_0x3775ac){var _0xe2ef23=_0x575481;this['_members']['set'](_0x3775ac[_0xe2ef23(0x37a)],_0x3775ac),this['_emitMembers']();}[_0x575481(0x39d)](_0x5508ca){var _0x2fdea5=_0x575481;this[_0x2fdea5(0x3f7)][_0x2fdea5(0x259)](_0x5508ca);}[_0x575481(0x1b4)](_0x5becd3){var _0x590f2a=_0x575481;return this[_0x590f2a(0x3f7)][_0x590f2a(0x1a7)](_0x5becd3);}['getAllMembers'](){var _0x407898=_0x575481;return Array[_0x407898(0x242)](this['_members'][_0x407898(0x33c)]());}[_0x575481(0x2cf)](){var _0x25086f=_0x575481;this[_0x25086f(0x1de)][_0x25086f(0x2f4)](this[_0x25086f(0x3f7)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x48ada5,_0x27b9e1,_0x566b86,_0x3cceee)=>{var _0x27dec0=_0x575481;for(var _0x218a2f=_0x3cceee>0x1?void 0x0:_0x3cceee?js(_0x27b9e1,_0x566b86):_0x27b9e1,_0x256ebd=_0x48ada5[_0x27dec0(0x2b8)]-0x1,_0x17ea34;_0x256ebd>=0x0;_0x256ebd--)(_0x17ea34=_0x48ada5[_0x256ebd])&&(_0x218a2f=_0x17ea34(_0x218a2f)||_0x218a2f);return _0x218a2f;},pe=(_0xab96d5,_0x42eba3)=>(_0x55bce9,_0x22402b)=>_0x42eba3(_0x55bce9,_0x22402b,_0xab96d5),Se=(_0x32ce51=>(_0x32ce51[_0x32ce51[_0x575481(0x29f)]=0x0]='IDLE',_0x32ce51[_0x32ce51[_0x575481(0x1fe)]=0x1]=_0x575481(0x1fe),_0x32ce51[_0x32ce51[_0x575481(0x338)]=0x2]=_0x575481(0x338),_0x32ce51[_0x32ce51[_0x575481(0x141)]=0x3]='ONLINE',_0x32ce51))(Se||{});const Gt={[me['FAIL']]:_0x575481(0x23b),[me['JOIN_ROOM_FULL']]:'session.room-full',[me[_0x575481(0x1a2)]]:'session.room-not-exists',[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me[_0x575481(0x3ed)]]:_0x575481(0x181)};let gt=class extends _0x36fb88{constructor(_0x1844b6,_0x1da115,_0x4f2f29,_0x4986e7,_0x41ea17,_0x21f2de,_0x1e9e31,_0x2591cc,_0x6baa15){var _0x30f1e5=_0x575481;super(),N(this,_0x30f1e5(0x1ad),new _0x2b18f4(0x0)),N(this,_0x30f1e5(0x3fa),this[_0x30f1e5(0x1ad)]['asObservable']()),N(this,'_event$',new _0x49d875()),N(this,_0x30f1e5(0x345),this[_0x30f1e5(0x3d5)][_0x30f1e5(0x233)]()),N(this,_0x30f1e5(0x191)),N(this,_0x30f1e5(0x313)),N(this,'_collaborationTimeoutTimer'),N(this,_0x30f1e5(0x224),!0x1),N(this,_0x30f1e5(0x2d9),null),(this[_0x30f1e5(0x235)]=_0x1844b6,this['_logService']=_0x4f2f29,this[_0x30f1e5(0x307)]=_0x4986e7,this[_0x30f1e5(0x3f8)]=_0x41ea17,this[_0x30f1e5(0x3d2)]=_0x21f2de,this[_0x30f1e5(0x1ed)]=_0x1e9e31,this['_collaborationUIEventService']=_0x2591cc,this[_0x30f1e5(0x2cc)]=_0x6baa15,this[_0x30f1e5(0x224)]=!!this['_telemetryService'],_0x1da115['pipe'](_0x5cfae5(this[_0x30f1e5(0x348)]))[_0x30f1e5(0x1d1)](_0x4442ab=>{var _0x4ff1b5=_0x30f1e5,_0xf3aa3a;typeof _0x4442ab>'u'||(this[_0x4ff1b5(0x191)]=_0x4442ab,_0x4442ab?(this['_joinRoom'](_0x4442ab),this[_0x4ff1b5(0x313)]=_0x4442ab[_0x4ff1b5(0x162)][_0x4ff1b5(0x1d1)](_0xe16e7c=>{var _0x86b1ae=_0x4ff1b5;_0xe16e7c[_0x86b1ae(0x190)]===this[_0x86b1ae(0x235)]&&this[_0x86b1ae(0x1d6)](_0xe16e7c);})):(this[_0x4ff1b5(0x3f2)](),this['_sessionStatus$'][_0x4ff1b5(0x2f4)](0x2),(_0xf3aa3a=this[_0x4ff1b5(0x313)])==null||_0xf3aa3a[_0x4ff1b5(0x31c)](),this['_socketMessageSubscription']=null));}));}get[_0x575481(0x306)](){var _0x500be2=_0x575481;return this[_0x500be2(0x1ad)][_0x500be2(0x37f)]();}['getMemberID'](){var _0x51a251=_0x575481,_0x3ddc37,_0x248798;return(_0x248798=(_0x3ddc37=this[_0x51a251(0x191)])==null?void 0x0:_0x3ddc37[_0x51a251(0x37a)])!=null?_0x248798:null;}[_0x575481(0x2e1)](){var _0x141e5f=_0x575481;super[_0x141e5f(0x2e1)](),this[_0x141e5f(0x348)][_0x141e5f(0x2f4)](),this[_0x141e5f(0x348)][_0x141e5f(0x12d)]();}[_0x575481(0x2c7)](){var _0x3d4793=_0x575481,_0x1415f6,_0x2045de;this[_0x3d4793(0x3f2)](),(_0x1415f6=this[_0x3d4793(0x191)])==null||_0x1415f6[_0x3d4793(0x40b)]({'cmd':F[_0x3d4793(0x382)],'data':{'roomID':this['_unitID']}}),(_0x2045de=this['_socket'])==null||_0x2045de['close'](),this[_0x3d4793(0x3d5)]['complete'](),this['_sessionStatus$'][_0x3d4793(0x12d)](),this[_0x3d4793(0x2e1)]();}[_0x575481(0x1d6)](_0x2d546a){var _0xae7015=_0x575481;_0x2d546a[_0xae7015(0x249)]===F['JOIN']?this['_onJoinRoomEvent'](_0x2d546a):_0x2d546a[_0xae7015(0x249)]===F['RECV']&&this[_0xae7015(0x40f)](_0x2d546a);}[_0x575481(0x22c)](_0xf07aa1){var _0x792b69=_0x575481;this[_0x792b69(0x1ad)][_0x792b69(0x2f4)](0x1),_0xf07aa1['send']({'cmd':F[_0x792b69(0x14b)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x792b69(0x235)]}]}});}[_0x575481(0x38e)](_0x3d328f){var _0x21f082=_0x575481,_0x30b9b9;if(_0x3d328f[_0x21f082(0x230)]in Gt){this['_collaborationUIEventService'][_0x21f082(0x201)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x3d328f[_0x21f082(0x230)]]}),this[_0x21f082(0x1ad)][_0x21f082(0x2f4)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x58ff1e=(_0x30b9b9=_0x3d328f[_0x21f082(0x368)][_0x21f082(0x1c1)][this[_0x21f082(0x235)]])==null?void 0x0:_0x30b9b9[_0x21f082(0x3fd)];_0x58ff1e&&_0x58ff1e[_0x21f082(0x1ce)](_0x2afe68=>this[_0x21f082(0x3d2)]['updateMember'](this['_unitID'],_0x2afe68));}[_0x575481(0x40f)](_0x59019d){var _0x1400af=_0x575481;try{const _0x2dc5da=_0x59019d[_0x1400af(0x368)];switch(_0x2dc5da[_0x1400af(0x2aa)]){case _0xc491a6[_0x1400af(0x331)]:this['_onUserJoin'](_0x2dc5da),this[_0x1400af(0x3d5)][_0x1400af(0x2f4)](_0x2dc5da);break;case _0xc491a6['USERS_LEAVE']:this['_onUserLeave'](_0x2dc5da),this[_0x1400af(0x3d5)][_0x1400af(0x2f4)](_0x2dc5da);break;case _0xc491a6[_0x1400af(0x169)]:case _0xc491a6['CHANGESET_SHOULD_RETRY']:this[_0x1400af(0x3b3)](),this[_0x1400af(0x395)](),this[_0x1400af(0x3d5)]['next'](_0x2dc5da);break;case _0xc491a6['MSG_FOR_ERROR']:this[_0x1400af(0x1e0)][_0x1400af(0x329)](_0x1400af(0x153)+JSON[_0x1400af(0x16a)](_0x2dc5da)),this['_event$'][_0x1400af(0x2f4)](_0x2dc5da);break;case _0xc491a6['COMMENT_UPDATE']:this[_0x1400af(0x1ed)][_0x1400af(0x41e)](_0x2dc5da[_0x1400af(0x368)]),this[_0x1400af(0x3d5)][_0x1400af(0x2f4)](_0x2dc5da);break;default:this[_0x1400af(0x3d5)][_0x1400af(0x2f4)](_0x2dc5da);}}catch(_0x5e249e){this[_0x1400af(0x1e0)][_0x1400af(0x329)](_0x5e249e,_0x59019d);}}[_0x575481(0x27b)](_0x4cfd09){var _0x80bbb=_0x575481;this[_0x80bbb(0x3d2)][_0x80bbb(0x31a)](this['_unitID'],_0x4cfd09[_0x80bbb(0x368)]);}[_0x575481(0x151)](_0x5e487e){var _0xfb645e=_0x575481;this[_0xfb645e(0x3d2)][_0xfb645e(0x39d)](this[_0xfb645e(0x235)],_0x5e487e['data'][_0xfb645e(0x37a)]);}async[_0x575481(0x40b)](_0x552a73,_0x295791){var _0xcd114f=_0x575481;if(this[_0xcd114f(0x306)]!==0x3||!this[_0xcd114f(0x191)])throw new Error(_0xcd114f(0x30d));try{_0x552a73[_0xcd114f(0x2aa)]===_0xc491a6[_0xcd114f(0x30b)]&&(this[_0xcd114f(0x251)](),this[_0xcd114f(0x28b)](_0x552a73)),this[_0xcd114f(0x191)]['send']({'cmd':F[_0xcd114f(0x2b9)],'routeKey':_0x295791,'routeType':'','data':_0x552a73});}catch(_0x152d78){this['_logService'][_0xcd114f(0x329)](_0x152d78);}}[_0x575481(0x251)](){var _0x197ef7=_0x575481,_0x55dba8;this[_0x197ef7(0x3ac)]=setTimeout(()=>{var _0x340280=_0x197ef7;this[_0x340280(0x3ac)]=null,this['_collaborationUIEventService']['emitEvent']({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x55dba8=this['_configService'][_0x197ef7(0x2e7)](fi))!=null?_0x55dba8:vi);}[_0x575481(0x395)](){var _0xebc9f=_0x575481;this[_0xebc9f(0x3ac)]&&(clearTimeout(this[_0xebc9f(0x3ac)]),this[_0xebc9f(0x3ac)]=null);}[_0x575481(0x28b)](_0x30ad1d){var _0x4e44f3=_0x575481;if(!this[_0x4e44f3(0x224)])return;const {data:_0x540643}=_0x30ad1d,{unitID:_0x507f75,changeset:_0x19fffe}=_0x540643,{mutations:_0x2cfd28,type:_0x3e9930}=_0x19fffe;this[_0x4e44f3(0x2d9)]={'unitId':_0x507f75,'type':_0x3e9930,'startTime':performance[_0x4e44f3(0x3e7)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x2cfd28)};}[_0x575481(0x3b3)](){var _0x546756=_0x575481;if(this[_0x546756(0x224)]){if(!this[_0x546756(0x2d9)]){this[_0x546756(0x1e0)][_0x546756(0x329)](_0x546756(0x301),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x546756(0x2d9)][_0x546756(0x1b6)]=performance[_0x546756(0x3e7)](),this['_telemetryInfo'][_0x546756(0x2d6)]=this[_0x546756(0x2d9)][_0x546756(0x1b6)]-this[_0x546756(0x2d9)][_0x546756(0x308)],this['_telemetryService']['capture'](xs,this[_0x546756(0x2d9)]),this['_telemetryInfo']=null;}}[_0x575481(0x3f2)](){this['_telemetryInfo']=null;}};gt=Fs([pe(0x2,_0x358d49),pe(0x3,_0xfd96b9),pe(0x4,_0xc3fde9(_0xcccf9a)),pe(0x5,_0xc3fde9(Pe)),pe(0x6,_0xc3fde9(Si)),pe(0x7,_0xc3fde9(ve)),pe(0x8,_0x34a233(_0x58979f))],gt);var Vs=Object['getOwnPropertyDescriptor'],Gs=(_0x19773a,_0xebf33f,_0x857751,_0x3d524e)=>{var _0x436c7e=_0x575481;for(var _0x243f3a=_0x3d524e>0x1?void 0x0:_0x3d524e?Vs(_0xebf33f,_0x857751):_0xebf33f,_0x3aa46d=_0x19773a[_0x436c7e(0x2b8)]-0x1,_0x565532;_0x3aa46d>=0x0;_0x3aa46d--)(_0x565532=_0x19773a[_0x3aa46d])&&(_0x243f3a=_0x565532(_0x243f3a)||_0x243f3a);return _0x243f3a;},Re=(_0x512c28,_0x11a72d)=>(_0x5ce4e1,_0x37652d)=>_0x11a72d(_0x5ce4e1,_0x37652d,_0x512c28);let Le=class extends _0x1b0f07{constructor(_0x2aef7c,_0x26a17f,_0x37f1cf,_0x1bf118,_0x7724b9,_0x1a59e6){var _0x1a6636=_0x575481;super(),N(this,_0x1a6636(0x3bf),new _0x2b18f4(void 0x0)),N(this,_0x1a6636(0x3a0),this[_0x1a6636(0x3bf)][_0x1a6636(0x233)]()),N(this,_0x1a6636(0x3fe),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x2b18f4(Se['IDLE'])),N(this,_0x1a6636(0x3cb),this['_status$'][_0x1a6636(0x233)]()),N(this,_0x1a6636(0x339),!0x1),N(this,_0x1a6636(0x1e3)),N(this,'_retryCount',0x0),N(this,_0x1a6636(0x115)),N(this,_0x1a6636(0x188)),(this[_0x1a6636(0x388)]=_0x2aef7c,this[_0x1a6636(0x1e0)]=_0x26a17f,this['_configService']=_0x37f1cf,this[_0x1a6636(0x20b)]=_0x1bf118,this[_0x1a6636(0x318)]=_0x7724b9,this['_networkConditionService']=_0x1a59e6,this[_0x1a6636(0x2a5)]());}get[_0x575481(0x191)](){var _0x137783=_0x575481;return this[_0x137783(0x3bf)]['getValue']();}[_0x575481(0x2a5)](){var _0x319082=_0x575481;this['_networkConditionService']&&this[_0x319082(0x2dd)](this['_networkConditionService'][_0x319082(0x173)][_0x319082(0x1d1)](_0x24f5cb=>{var _0x5881c3=_0x319082;_0x24f5cb&&!this['_socket']&&this[_0x5881c3(0x389)](),_0x24f5cb||this[_0x5881c3(0x138)]();}));}[_0x575481(0x2e1)](){var _0x54d02b=_0x575481;super[_0x54d02b(0x2e1)](),this[_0x54d02b(0x387)](),this['_clearTimeoutTimer'](),this[_0x54d02b(0x3b0)](),this[_0x54d02b(0x3f3)]['forEach'](_0x223319=>_0x223319[_0x54d02b(0x2e1)]()),this[_0x54d02b(0x3f3)][_0x54d02b(0x2cd)](),this[_0x54d02b(0x3e1)][_0x54d02b(0x12d)]();}async[_0x575481(0x2ff)](_0x1b6fd9){var _0x2d1f49=_0x575481;if(this['_sessions'][_0x2d1f49(0x2eb)](_0x1b6fd9))return this['_sessions'][_0x2d1f49(0x1a7)](_0x1b6fd9);this['_tryEnsureSocket']();const _0x315b1d=this[_0x2d1f49(0x388)]['createInstance'](gt,_0x1b6fd9,this[_0x2d1f49(0x3bf)][_0x2d1f49(0x233)]());return this[_0x2d1f49(0x3f3)][_0x2d1f49(0x1f4)](_0x1b6fd9,_0x315b1d),_0x315b1d;}['closeSession'](_0x1f772b){var _0x3819b4=_0x575481,_0x4380cc;const _0x1cbbe8=this[_0x3819b4(0x3f3)]['get'](_0x1f772b);_0x1cbbe8&&(this['_sessions'][_0x3819b4(0x259)](_0x1f772b),_0x1cbbe8[_0x3819b4(0x2c7)]()),this[_0x3819b4(0x3f3)][_0x3819b4(0x228)]||(_0x4380cc=this[_0x3819b4(0x191)])==null||_0x4380cc[_0x3819b4(0x2c7)]();}[_0x575481(0x389)](){var _0x530723=_0x575481;this['_retryCount']=0x0,this[_0x530723(0x387)](),this[_0x530723(0x3a1)]();}[_0x575481(0x387)](){var _0x72990b=_0x575481;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x72990b(0x1e3)]),this[_0x72990b(0x1e3)]=null);}async[_0x575481(0x2d5)](){var _0x170b4a=_0x575481,_0x1cb547,_0x2c185e;const _0x2b892f=this['_configService'][_0x170b4a(0x2e7)](gs),_0x1f29ba=this[_0x170b4a(0x307)][_0x170b4a(0x2e7)](K),_0x51ad9d=(_0x2c185e=(_0x1cb547=_0x1f29ba==null?void 0x0:_0x1f29ba[_0x170b4a(0x3bc)])!=null?_0x1cb547:_0x2b892f)!=null?_0x2c185e:Ss,_0xf9eb2a=await this[_0x170b4a(0x20b)][_0x170b4a(0x30f)](_0x51ad9d);return this['_candidateSocket']=_0xf9eb2a,_0xf9eb2a;}async[_0x575481(0x16d)](){var _0x3cddcd=_0x575481,_0x446b58,_0x5c5426;try{const _0x2b05f6=(_0x5c5426=(_0x446b58=this[_0x3cddcd(0x191)])!=null?_0x446b58:this[_0x3cddcd(0x3fe)])!=null?_0x5c5426:await this['_createSocket']();if(_0x2b05f6){const _0x5ee5a2=_0x2b05f6['send'];_0x2b05f6[_0x3cddcd(0x40b)]=_0x31669c=>(this[_0x3cddcd(0x164)](),_0x5ee5a2[_0x3cddcd(0x27a)](_0x2b05f6,[_0x31669c])),_0x2b05f6[_0x3cddcd(0x162)][_0x3cddcd(0x1d1)](_0x443fe1=>this['_onMessage'](_0x2b05f6,_0x443fe1)),_0x2b05f6[_0x3cddcd(0x2dc)][_0x3cddcd(0x272)](_0xecfac1(0x1))[_0x3cddcd(0x1d1)](_0x381778=>this[_0x3cddcd(0x1e0)][_0x3cddcd(0x329)](_0x3cddcd(0x15c),_0x381778)),_0x2b05f6[_0x3cddcd(0x3b5)][_0x3cddcd(0x272)](_0xecfac1(0x1))['subscribe'](()=>{var _0x5b674c=_0x3cddcd;this[_0x5b674c(0x367)](_0x2b05f6);}),_0x2b05f6['close$'][_0x3cddcd(0x272)](_0xecfac1(0x1))[_0x3cddcd(0x1d1)](_0x2b1c0d=>{var _0x3bb9dd=_0x3cddcd;this[_0x3bb9dd(0x1e0)][_0x3bb9dd(0x383)](_0x3bb9dd(0x392),_0x3bb9dd(0x1d3),_0x2b1c0d),this[_0x3bb9dd(0x2b7)]();});}}catch(_0x26ffa8){this[_0x3cddcd(0x1e0)]['error'](_0x26ffa8),this[_0x3cddcd(0x2b7)]();}}[_0x575481(0x367)](_0x5ad711){var _0x3649da=_0x575481;this['_logService'][_0x3649da(0x383)](_0x3649da(0x392),'socket\x20open.'),_0x5ad711[_0x3649da(0x40b)]({'cmd':F[_0x3649da(0x225)]}),this[_0x3649da(0x164)]();}[_0x575481(0x138)](){var _0xfa0377=_0x575481;this['_socketReady']=!0x1,this[_0xfa0377(0x3fe)]=null,this[_0xfa0377(0x3e1)]['next'](Se[_0xfa0377(0x338)]),this[_0xfa0377(0x3bf)][_0xfa0377(0x2f4)](null),this[_0xfa0377(0x142)](),this[_0xfa0377(0x3b0)]();}[_0x575481(0x2b7)](){var _0x586f3b=_0x575481,_0x4bfb8b;this[_0x586f3b(0x138)](),this[_0x586f3b(0x140)]<((_0x4bfb8b=this['_configService'][_0x586f3b(0x2e7)](Cs))!=null?_0x4bfb8b:Rs)?(this[_0x586f3b(0x318)]['emitEvent']({'id':ne[_0x586f3b(0x35e)]}),this[_0x586f3b(0x3a1)]()):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x586f3b(0x35d)]});}[_0x575481(0x3a1)](){var _0x1936e8=_0x575481,_0xf805e4;const _0x17f13a=this['_retryCount'],_0x172607=this['_configService'][_0x1936e8(0x2e7)](K),_0x36a378=_0x17f13a===0x0?0x0:((_0xf805e4=_0x172607==null?void 0x0:_0x172607['retryConnectingInterval'])!=null?_0xf805e4:Ts)*0x2**_0x17f13a;this[_0x1936e8(0x1e3)]=setTimeout(()=>{var _0x28c51a=_0x1936e8;clearTimeout(this[_0x28c51a(0x1e3)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x36a378),this[_0x1936e8(0x140)]+=0x1;}[_0x575481(0x248)](_0x15b0a7,_0x2e9ac8){var _0x4c957d=_0x575481;const {cmd:_0x3b9e45}=_0x2e9ac8;_0x3b9e45===F[_0x4c957d(0x225)]&&!this[_0x4c957d(0x339)]&&(_0x15b0a7[_0x4c957d(0x37a)]=_0x2e9ac8['data'][_0x4c957d(0x37a)],this[_0x4c957d(0x3bf)][_0x4c957d(0x2f4)](_0x15b0a7),this[_0x4c957d(0x3e1)][_0x4c957d(0x2f4)](Se[_0x4c957d(0x141)]),this[_0x4c957d(0x339)]=!0x0,this[_0x4c957d(0x3fe)]=null),_0x3b9e45===F['HEARTBEAT']&&this[_0x4c957d(0x142)](),this[_0x4c957d(0x164)]();}['_rescheduleHeartbeat'](){var _0x577814=_0x575481,_0x4397be;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4397be=this[_0x577814(0x307)]['getConfig'](Es))!=null?_0x4397be:Is);}[_0x575481(0x269)](){var _0x127e2a=_0x575481;this['_socket'][_0x127e2a(0x40b)]({'cmd':F[_0x127e2a(0x137)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x201e32=_0x575481,_0x2b9599;this[_0x201e32(0x188)]=setTimeout(()=>this[_0x201e32(0x2b7)](),(_0x2b9599=this[_0x201e32(0x307)]['getConfig'](fi))!=null?_0x2b9599:vi);}[_0x575481(0x3b0)](){var _0x1e8de4=_0x575481;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x1e8de4(0x115)]),this[_0x1e8de4(0x115)]=null);}[_0x575481(0x142)](){var _0xdfe25b=_0x575481;this[_0xdfe25b(0x188)]!=null&&(clearTimeout(this[_0xdfe25b(0x188)]),this[_0xdfe25b(0x188)]=null);}};Le=Gs([Re(0x0,_0xc3fde9(_0x11e6a7)),Re(0x1,_0x358d49),Re(0x2,_0xfd96b9),Re(0x3,gi),Re(0x4,_0xc3fde9(ve)),Re(0x5,_0x34a233(Us))],Le);const J=_0x594d7b('collaboration-client.local-cache-service');function Pr(_0x4ef785){return'unit-cache-'+_0x4ef785;}var Ys=Object[_0x575481(0x150)],Ws=(_0x3e0ed0,_0x5f9446,_0x51c7d0,_0x4eb286)=>{var _0x28c455=_0x575481;for(var _0x1a3fcf=_0x4eb286>0x1?void 0x0:_0x4eb286?Ys(_0x5f9446,_0x51c7d0):_0x5f9446,_0x182b9f=_0x3e0ed0[_0x28c455(0x2b8)]-0x1,_0x4bba31;_0x182b9f>=0x0;_0x182b9f--)(_0x4bba31=_0x3e0ed0[_0x182b9f])&&(_0x1a3fcf=_0x4bba31(_0x1a3fcf)||_0x1a3fcf);return _0x1a3fcf;},ut=(_0x314e99,_0x157323)=>(_0x40959e,_0x2a4c10)=>_0x157323(_0x40959e,_0x2a4c10,_0x314e99);function Ks(_0x294d64){var _0x40d417=_0x575481;const {unitID:_0x437d59,mutations:_0x12b92a}=_0x294d64;return{'unitId':_0x437d59,'subUnitId':_0x12b92a[0x0][_0x40d417(0x2ec)][_0x40d417(0x199)]};}let it=class{constructor(_0x224b5d,_0x2b084b,_0x346cfe){var _0x3cc0c0=_0x575481;this[_0x3cc0c0(0x388)]=_0x224b5d,this[_0x3cc0c0(0x3f0)]=_0x2b084b,this[_0x3cc0c0(0x291)]=_0x346cfe;}['transformSelections'](_0x1f9730){var _0x542b90=_0x575481,_0x456a47,_0x193e0b,_0x329224,_0x4d2747;const _0x3e2a40=this[_0x542b90(0x388)]['get'](_0x283e64),{unitId:_0x3b498f,subUnitId:_0x393cb9}=Ks(_0x1f9730),_0xa8ebc3=_0x3e2a40==null?void 0x0:_0x3e2a40[_0x542b90(0x36f)](_0x3b498f)[_0x542b90(0x223)](),_0x309545=(_0x193e0b=(_0x456a47=this['_instanceService']['getUnit'](_0x3b498f))==null?void 0x0:_0x456a47[_0x542b90(0x119)]())==null?void 0x0:_0x193e0b[_0x542b90(0x3d1)]();if(_0xa8ebc3[_0x542b90(0x2b8)]===0x0||!_0x3b498f||!_0x393cb9)return;const _0x4511f7=[{'id':_0x201c9d['id'],'params':{'unitId':_0x3b498f,'subUnitId':_0x309545,'selections':_0x4eb6f2[_0x542b90(0x39b)](_0xa8ebc3)}}],_0x598753=this[_0x542b90(0x3f0)][_0x542b90(0x186)](_0x1f9730,_0x4511f7);if(!_0x468325(_0x598753))throw _0x598753['error'];const _0x42abb7=(_0x4d2747=(_0x329224=_0x598753[_0x542b90(0x17d)][0x0])==null?void 0x0:_0x329224['params'])==null?void 0x0:_0x4d2747[_0x542b90(0x309)];if(Array[_0x542b90(0x364)](_0x42abb7)&&_0x42abb7[_0x542b90(0x2b8)]){if(_0x42abb7['length']===_0x4511f7[0x0][_0x542b90(0x2ec)][_0x542b90(0x309)][_0x542b90(0x2b8)]&&_0x42abb7['every']((_0x44ab9c,_0x8cd5e)=>_0x5a876a[_0x542b90(0x3e5)](_0x44ab9c[_0x542b90(0x214)],_0x4511f7[0x0]['params']['selections'][_0x8cd5e]['range'])))return;this[_0x542b90(0x388)]['get'](_0x5e9ffa)['executeCommand'](_0x201c9d['id'],{'unitId':_0x3b498f,'subUnitId':_0x309545,'selections':_0x42abb7});}}};function _0x5558(){var _0xcb997c=['ERROR_IMAGE','values','collaboration-client.config','setShowComponents','compute','signUrlServerUrl','getTypeOfUnitDisposed$','_snapshotServerService','JOIN_ROOM_PERMISSION_DENIED','href','event$','LIVESHARE_NEW_HOST','[CollaborationState]:\x20apply\x20error!','dispose$','EvpKDF','FileId','FETCH_MISS','onTransformRemoteChangesetByIMECache','CHANGESET_REJ','update','LOGIN_URL_KEY','socketService','min','createCollaborator','_minBufferSize','_undoStacks','_unlockTransition','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','iterations','Pkcs7','concat','execute','_collaborationSessionService','appendMutation','SOCKET_FAILED','SOCKET_FAILED_RETRY','RETRY_CONNECTING_MAX_COUNT','conflict','_createInitialState','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_submitChangeset','isArray','_resendTimeout','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConnectionOpen','data','CONFLICT','onTransformRemoteChangesetByStateCache','c2Prime','/block/','getMemberID','deleteCollaborator','getWorkbookSelections','toggleOffline','&source=','hasher','objectID','finalize','/resources','roles','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','enableCollaboration','_onRemoteRetry','memberID','awaitingChangeset','OTHER_CLIENT_EDITING','_onLocalMutation','&assign=','getValue','_collaborationPaused','AWAITING','LEAVE','debug','PY_RUNTIME_SCRIPT_ERROR','_localCacheService','_transformUndoredo','_clearRetryConnectingTimer','_injector','reconnect','_createHelper','offline','20343SWoGxd','getImage','_onJoinRoomEvent','setCurrentUser','state','joinRsp','[CollaborationSessionService]','transformChangesets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearCollaborationTimeoutTimer','LICENSE_IMPORT_SIZE_EXCEEDED','requestParams','_clearScheduledTask','not_collab','src','deepClone','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','removeMember','uploadFileServerUrl','updatePermissionPoint','socket$','_tryReconnect','_doProcessBlock','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','APPLY_REJECT','Latin1','collabSubmitChangesetUrl','executeCommand','APPLY_PERMISSION_DENIED','method','COMPLETION_FINISHED','_toggleOnline','_collaborationTimeoutTimer','unitId\x20is\x20not\x20found','AWAITING_WITH_PENDING','reject','_clearHeartbeatTimer','listRoles','FETCH_MISSING','_stopTelemetryCollaborationNewChangeset','_createHandler','open$','change$','UNIVER_DOC','getFocusedUnit','YUUMI_ASYNCIO_CANCELLED','createEncryptor','result','collabWebSocketUrl','getInterceptPoints','_getDownloadEndpointURL','_socket$','reduce','transformUndoRedo','_syncEditingCollabCursor','registerHTTPInterceptor','decryptBlock','_state','INTERNAL_ERROR','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','workbook','includes','status$','permissionRejEvent','MSG_FOR_ERROR','NEW_CHANGESETS','actions','crypto','getSheetId','_memberService','override','originalMeta','_event$','function','saveSheetBlock','_applyRemoteChangeset','/universer-api/stream/file/upload','OpenSSL','loadUnit','putCollaborators','_map','image/jpg','words','fromCollab','_status$','_hasher','enableAuthServer','LIVESHARE_TERMINATE','equals','newCsEvent','now','splice','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','floor','_executeRemoteChangeset','_nRounds','GLOBAL_ROOMS_CNT_EXCEEDS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','EMAIL_VERIFY_CODE_MISMATCH','_transformService','mixIn','_throwTelemetryCollaborationNewChangeset','_sessions','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_userManagerService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_members','_localeService','_imageSourceCache','sessionStatus$','getUnitId','updateSnapshot','members','_candidateSocket','collaboratorID','[SyncedState]:\x20received\x20rejection.','_substituteUndoStack','getDeserializedSheetBlock','_updateStatus','_data','NO_OTHER_CLIENTS_EDITING','filter','/universer-api/user/session-ticket','_doCreateSocket','onTransformState','image/jpeg','send','fetchMissingChangesets','_mode','SNAPSHOT_HAS_BEEN_REMOVED','_onRecvEvent','blockSize','/allowed','UnitSnapshot','kdf','_remoteChangesetQueue','_sheetTransformSelectionsService','COMPRESS_MUTATION_SEND','snapshot','mutations','COMPRESS_MUTATION_APPLY','getSnapshotAPIPath','_commentUpdate$','_reverseMap','AES','onCommentUpdate','hostname','206633jweosk','_append','_substituteRedoStack','fetchMiss','CBC','_acknowledgedAwaitingChangeset','_sendHeartbeatTimer','sid','encodeURIComponent','_getSignURL','getActiveSheet','_getCtorByUniverType','LIVESHARE_FETCH_OPERATIONS','waitForRoom$','ALREADY_EXISTS','resend','lib','members$','_resendTimer','string','Cipher','_onRemoteRejected','SNAPSHOT_URL_KEY','93540lFmrLo','location','APPLY_NON_SEQUENTIAL_REVISION','onTransformSelections','collaborators','baseRev','2967530UhAxAn','complete','_transformIMECache','_queuedRemoteChangesets','/universer-api/snapshot/','indexOf','SHOULD_CLOSE_CONN','_sender','padding','charAt','_sendingTimer','HEARTBEAT','_onOffline','defineProperty','sendChangesetTimeout','NOT_FOUND','getRoom','push','_removeRoom','220oDmxSM','_retryCount','ONLINE','_clearTimeoutTimer','\x0aCurrent:\x20','_iv','focused$','_invKeySchedule','SUCCUSS','_state$','APPLY_REVISION_CONFILICT','_onConflict','JOIN','action','_onRemoteACK','LOGIN_FAILED','name','getOwnPropertyDescriptor','_onUserLeave','_registerDependencies','save\x20fail\x20reason\x20is\x20','enableOfflineEditing','pending','[DataLoaderService]','INVITE_CODE_REQUIRED','_resendWithTimeout','updateOfflineData','commentUpdate$','Malformed\x20UTF-8\x20data','[CollaborationSessionService]:\x20socket\x20error','loadOfflineData','\x20to\x20','_change$','_getUndoStack','_httpService','message$','MUTATION','_rescheduleHeartbeat','INVALID_ARGUMENT','JOIN_ROOM_FAILED','/universer-api/oidc/authpage','connection\x20error','CHANGESET_ACK','stringify','loadDoc','[OfflineState]:\x20received\x20rejection.','_tryEnsureSocket','csRejEvent','onStarting','_initDependencies','ws://127.0.0.1:8000/universer-api/comb/connect','348dPwmeA','online$','[PendingState]:\x20received\x20acknowledgement.','TOO_MANY_REQUESTS','enableSingleActiveInstanceLock','/universer-api/authz','USER_NOT_INVITED_CODE','SYNCED','random','_toggleOffline','sheets','m2Prime','_getAPIPrefix','joinEvent','univer-pro.collaboration-client.network-condition.service','session.room-cnt-exceeds','YUUMI_ALL_TABLES_IS_INVALID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onRemoteRej','[PendingState]:\x20received\x20rejection.','transformMutationsWithChangeset','_scheduleCompleteTimestamp','_timeoutTimer','NOT_COLLAB','_compressMutationService','sigBytes','_initRequestHeader','responseType','liveShareOperation','INVITE_CODE_HAS_BEEN_UES','routeKey','_socket','StreamCipher','batchAllowed','encryptBlock','_initMergeInterceptor','clamp','_xformMode','_cipher','subUnitId','USERS_LEAVE','abs','Undefined','LOCAL_CACHE_INTERVAL','UNIVER_SLIDE','ERROR_EXCEED_SIZE','PERMISSION_DENIED','LICENSE_MAX_UNITS_EXCEEDED','JOIN_ROOM_NOT_EXISTS','LICENSE_DISTRO_REJECTED','UNIVER_SHEET','ivSize','PasswordBasedCipher','get','[FetchMissState]','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','FAIL','_updateState','[CollaborationEntity]','_sessionStatus$','APPLY_DUPLICATED','parse','downloadEndpointUrl','extend','csShouldRetryEvent','x-univer-host','getMember','listCollaborators','stopTime','unknown','getTime','saveImage','resourceIDs','put','HEARTBEAT_TIMEOUT','append','_replayCachedMutations','getUnitType','_nDataBytes','roomInfos','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','RECV','\x20-\x20','_transformStateCache','18169njbbhO','image/gif','hasOwnProperty','_transformStack','interceptor','_getUploadFileURL','list','HEARTBEAT_INTERVAL','forEach','onTransformIME','_handler','subscribe','_incrementRevisionNumber','socket\x20close','UserProfileImg','_getSendChangesetTimeout','_onCombEvent','_getRedoStack','findIndex','synced','DEFAULT_FILE_NAME','allowed','PERMISSION_REJ','_init','_members$','_ENC_XFORM_MODE','_logService','pad','{fileID}','_retryConnectingTimer','charCodeAt','liveShareNewHost','_transformRemoteChangesetByIMECache','HmacMD5','saveChangeset','textRanges','getLatestCsReqIdBySid','/object','collaMsg','_commentService','algo','Encryptor','catch','_handlerCallback','avatar','target','set','generateRandomId','pauseCollaboration','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_DEC_XFORM_MODE','_hash','Hex','repeat','_transformSelections','/rev/','JOINING','[OfflineState]:\x20received\x20changeset.','__Key__','emitEvent','_commandService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MD5','UNIVER_UNKNOWN','YUUMI_UNABLE_LOAD_URL','keySize','byteLength','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','6pWezPy','_socketService','_process','$super','key','createDecryptor','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UNRECOGNIZED','/fetchmissing?from=','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','range','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','awaiting_with_pending','UNKNOWN_CMD','ceil','/universer-api/snapshot','body','reset','auth.needGotoLoginAlert','exports','onMissingChangesets','/-/object/list','onLocalMutation','People','state$','getCurrentSelections','_shouldReportTelemetry','HELLO','init','_isPermissionRej','size','updateCollaborator','_pendingMutations','byteOffset','_joinRoom','_decreaseWaiting','_getAPIPrefixPath','ciphertext','code','OTHER_CLIENTS_EDITING','YUUMI_AI_RUN_FAILED','asObservable','PERSON','_unitID','_onFetchMissResult','buffer','createInstance','\x20in\x20_schedule.','_snapshotService','session.join-failed','UPDATE_CURSOR','saveSnapshot','_getCurrentRevision','entityInit$','session','LICENSE_EXPORT_SIZE_EXCEEDED','from','_waitCount','fetchThroughInterceptors','objectType','then','add','_onMessage','cmd','origin','ERROR_IMAGE_TYPE','changesets','EMAIL_HAS_BEEN_BOUND','userID','fetch_missing','HttpImport','_scheduleCollaborationTimeoutTimer','_initCloseConn','pluginName','getCurrentUser','msCrypto','BufferedBlockAlgorithm','MOBILE_VERIFY_CODE_MISMATCH','?size=','delete','onRemoteAck','BASE64','/-/object/-/batch_allowed','unpad','symbol','loginUrlKey','UNAUTHENTICATED','_permissionService','/role','YUUMI_URL_COL_OUT_OF_RANGE','clone','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','unitId','onRemoteChangeset','default','_sendHeartbeat','getCollabEntity$','12609vDiXvC','call','onMissedChangesetFetched','setConfig','leaveEvent','_initUnitPermissionChange','decrypt','pipe','_fetchMissChangesets','unitInfo$','INVALID_INVITE_CODE','_parse','WordArray','_roomCreated$','YUUMI_SUBSCRIPTION_NOT_FOUND','apply','_onUserJoin','_iKey','BlockCipher','_type','__creator','onRemoteRetry','c1Prime','onlyLocal','_revisionService','format','objects','Univer','close$','randomBytes','_clearLocalCache','_entities','_startTelemetryCollaborationNewChangeset','UnitEmbedded','formatter','isPermissionRej','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','unitID','_instanceService','revision','readyForCollab','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','1425888ffuyty','_roomMembers','Hasher','UNIVER_PROJECT','find','_onRemoteChangeset','create','_transitionLocked','SNAPSHOT_INVALID_SNAPSHOT','_updateLocalCache','IDLE','PSEUDO_FETCH_MISSING_RESULT','_key','Utf8','onSyncEditingCollabCursor','onSendChangeset','_listenToNetworkCondition','WECHAT_HAS_BEEN_BOUND','_config','toString','onCommandExecuted','eventID','_redoStacks','_singleActiveUnitService','status','startsWith','[SyncedState]:\x20received\x20acknowledgement.','_getLoginPath','infoRsp','CLOSE_ROOM','INVITE_CODE_ALREADY_BOUND','/object/','[CollaborationUndoRedoService]','_doFinalize','_onConnectionFailed','length','INGEST','/new_changes','headers','CHANGESET_REVISION_CONFILICT','getCurrentRevOfUnit','_undoRedoService','_HTTPService','_showConflictNotification','Base64','CipherParams','Base','_awaitingChangeset','salt','YUUMI_RATE_OVER_LIMIT','close','/collaborator','join','map','_keyPriorReset','_telemetryService','clear','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_emitMembers','_checkMissing','onload','NoPadding','readInt32LE','loadSheet','_createSocket','duration','_startCollaboration','_createInitialStateImpl','_telemetryInfo','SUBMIT_CHANGESET_TIMEOUT','reqId','error$','disposeWithMe','univer-pro.collaboration-client-socket-service','objectActions','addHandlerCallback','dispose','commentUpdateEvent','_lockTransition','174XsxElE','encrypt','_keySchedule','getConfig','_univerInstanceService','type','getCollabEntity','has','params','max','_replaceFileID','transformSelections','YUUMI_CONNECTOR_URL_NOT_FOUND','AUTHZ_URL_KEY','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/unit/','next','subject','getUnitOnRev','transformStack\x20failed!','_entityInit$','compose','getTypeOfUnitAdded$','_doCryptBlock','_exhaustRemoteChangesetQueue','cfg','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','requireSession','_schedule','[CollaborationSession]','localCacheService','loadUnitOfRevision','_createHmacHelper','Decryptor','sessionStatus','_configService','startTime','selections','onStateChange','SUBMIT_CHANGESET','withCredentials','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_prevBlock','createSocket','editingUnit','fromCharCode','Could\x20not\x20dynamically\x20require\x20\x22','_socketMessageSubscription','JOIN_ROOM_FULL','toggleOnline','prototype','ENSURE_SNAPSHOT_EXECUTION','_collaborationUIEventService','UNDEFINED','updateMember','awaiting','unsubscribe','mode','YUUMI_NO_CUBOID_FOR_QUESTION','_clearUndo','getRandomValues','UNISCRIPT_RUN','shouldCloseConn','post','_changesetReqId','4568ofdTGo','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','__esModule','HttpExport','error','initWorkbookPermissionChange','LIVESHARE_OPERATION','authzUrl','CHANGESET_SHOULD_RETRY','rev','UNIVER_COLLABORATION_CLIENT_PLUGIN','enc','USERS_ENTER','SHA1','_unitInfo$','_oKey','UNKNOWN_CODE','_changesetSessionId','_disableEditing','OFFLINE','_socketReady','slice'];_0x5558=function(){return _0xcb997c;};return _0x5558();}it=Ws([ut(0x0,_0xc3fde9(_0x11e6a7)),ut(0x1,_0x2a6017),ut(0x2,_0x276651)],it);const ht=_0x594d7b('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x2a2717=>(_0x2a2717[_0x2a2717[_0x575481(0x405)]=0x0]=_0x575481(0x405),_0x2a2717[_0x2a2717[_0x575481(0x231)]=0x1]=_0x575481(0x231),_0x2a2717))(Ei||{});const qs=new Set([_0x57f00c['id']]);function Yt(_0x479475,_0x1f1e03,_0x4a8dea,_0x51cd4e,_0x2b7467){var _0x12e65e=_0x575481,_0x2027e3,_0x599573,_0x411556,_0x32e076;const _0x28ab12=[];for(const _0x4873e4 of _0x479475)if(qs['has'](_0x4873e4['id'])){if(_0x28ab12['length']>0x0)break;_0x28ab12['push'](_0x4873e4);break;}else _0x28ab12['push'](_0x4873e4);const _0x2d8c9d=(_0x599573=(_0x2027e3=_0x2b7467[_0x12e65e(0x254)]())==null?void 0x0:_0x2027e3[_0x12e65e(0x24e)])!=null?_0x599573:'unknown',_0x276b01=(_0x32e076=(_0x411556=_0x2b7467['getCurrentUser']())==null?void 0x0:_0x411556[_0x12e65e(0x37a)])!=null?_0x32e076:_0x12e65e(0x1b7);return{'changeset':{'unitID':_0x1f1e03,'type':_0x515c85(_0x4a8dea[_0x12e65e(0x1bf)](_0x1f1e03)),'baseRev':_0x51cd4e[_0x12e65e(0x2bd)](_0x1f1e03),'revision':0x0,'userID':_0x2d8c9d,'memberID':_0x276b01,'mutations':_0x28ab12},'pendingMutations':_0x479475[_0x12e65e(0x33a)](_0x28ab12[_0x12e65e(0x2b8)])};}function zs(_0x313a5c,_0x203d0f,_0x4fe38f,_0x3f2c8e,_0x301ad9){var _0x415d70=_0x575481,_0x1ac89b,_0x1b076b,_0x434dd4,_0x55d9cc;const _0x380891=[_0x313a5c[_0x415d70(0x3c0)]((_0x3fd57b,_0x3745d0)=>{var _0x28500c=_0x415d70,_0x5a4133;const {id:_0x509c51}=_0x3fd57b,{id:_0x8e5f5b,type:_0x40a053}=_0x3745d0,_0x240709=(_0x5a4133=_0x3fd57b[_0x28500c(0x2ec)])!=null?_0x5a4133:{'actions':null},_0x3b2977=_0x3745d0[_0x28500c(0x2ec)];if(_0x509c51&&_0x509c51!==_0x8e5f5b)throw new Error(_0x28500c(0x209)+_0x509c51+_0x28500c(0x1c4)+_0x8e5f5b+'.');return{..._0x3fd57b,'id':_0x8e5f5b,'type':_0x40a053,'params':{'unitId':_0x3b2977['unitId'],'textRanges':_0x3b2977[_0x28500c(0x1e9)],'actions':_0x187a03[_0x28500c(0x2f9)](_0x240709['actions'],_0x3b2977[_0x28500c(0x3cf)])}};},{})],_0x5d27a1=(_0x1b076b=(_0x1ac89b=_0x301ad9[_0x415d70(0x254)]())==null?void 0x0:_0x1ac89b['userID'])!=null?_0x1b076b:'unknown',_0x12f481=(_0x55d9cc=(_0x434dd4=_0x301ad9['getCurrentUser']())==null?void 0x0:_0x434dd4[_0x415d70(0x37a)])!=null?_0x55d9cc:_0x415d70(0x1b7);return{'changeset':{'unitID':_0x203d0f,'type':_0x515c85(_0x4fe38f[_0x415d70(0x1bf)](_0x203d0f)),'baseRev':_0x3f2c8e[_0x415d70(0x2bd)](_0x203d0f),'revision':0x0,'userID':_0x5d27a1,'memberID':_0x12f481,'mutations':_0x380891},'pendingMutations':[]};}function Ii(_0x35ef50,_0x151b0a){var _0x13118f=_0x575481;const _0x917902=new _0x35f563(0x1);return setTimeout(()=>_0x917902['next'](_0x151b0a),_0x35ef50),_0x917902['asObservable']()[_0x13118f(0x272)](_0xffa32c(0x1));}const Js={'id':_0x157040['id'],'type':_0x5aad24['MUTATION'],'params':{}};var Xs=Object[_0x575481(0x150)],Ie=(_0x2b5cdc,_0x18fa92,_0x2b1b93,_0x3c8b08)=>{var _0x2d95c5=_0x575481;for(var _0x1447e1=_0x3c8b08>0x1?void 0x0:_0x3c8b08?Xs(_0x18fa92,_0x2b1b93):_0x18fa92,_0x278c8a=_0x2b5cdc[_0x2d95c5(0x2b8)]-0x1,_0x1859b6;_0x278c8a>=0x0;_0x278c8a--)(_0x1859b6=_0x2b5cdc[_0x278c8a])&&(_0x1447e1=_0x1859b6(_0x1447e1)||_0x1447e1);return _0x1447e1;},P=(_0x4593ec,_0x3b9c5f)=>(_0x123f13,_0x362b1f)=>_0x3b9c5f(_0x123f13,_0x362b1f,_0x4593ec),Ti=(_0x360e05=>(_0x360e05[_0x575481(0x189)]=_0x575481(0x399),_0x360e05[_0x575481(0x179)]=_0x575481(0x1d9),_0x360e05['PENDING']=_0x575481(0x155),_0x360e05[_0x575481(0x381)]=_0x575481(0x31b),_0x360e05[_0x575481(0x3ae)]='awaiting_with_pending',_0x360e05[_0x575481(0x34b)]=_0x575481(0x24f),_0x360e05['CONFLICT']=_0x575481(0x360),_0x360e05[_0x575481(0x338)]='offline',_0x360e05))(Ti||{});const Ci=0xea60;class Te{constructor(_0x49ec37,_0x4b259a,_0x51abe6,_0x1ec30b,_0x2dc59a,_0x577ea9,_0x447479,_0x5a4aa6,_0xf844d0){var _0x3410e1=_0x575481;N(this,_0x3410e1(0x2c4),null),N(this,_0x3410e1(0x22a),[]),(this[_0x3410e1(0x290)]=_0x49ec37,this[_0x3410e1(0x2e9)]=_0x4b259a,this[_0x3410e1(0x1d0)]=_0x2dc59a,this[_0x3410e1(0x202)]=_0x577ea9,this[_0x3410e1(0x2be)]=_0x447479,this[_0x3410e1(0x283)]=_0x5a4aa6,this[_0x3410e1(0x385)]=_0xf844d0,this[_0x3410e1(0x2c4)]=_0x51abe6,this[_0x3410e1(0x22a)]=_0x1ec30b);}[_0x575481(0x2d0)](_0x271b53){var _0x126856=_0x575481;const _0x31427b=this[_0x126856(0x283)][_0x126856(0x2bd)](this[_0x126856(0x290)]);return _0x271b53[_0x126856(0x292)]>_0x31427b+0x1?(this['_handler'][_0x126856(0x21e)]({'from':_0x31427b,'to':_0x271b53[_0x126856(0x292)]-0x1}),!0x0):!0x1;}[_0x575481(0x386)](_0x5f0f94){var _0xd2f12=_0x575481;this[_0xd2f12(0x2be)][_0xd2f12(0x3c1)](this[_0xd2f12(0x290)],_0x5f0f94);}[_0x575481(0x1fc)](_0x62f19e){var _0x56f379=_0x575481,_0x27ea78,_0x330ce6;(_0x330ce6=(_0x27ea78=this['_handler'])['onTransformSelections'])==null||_0x330ce6[_0x56f379(0x26c)](_0x27ea78,_0x62f19e);}[_0x575481(0x12e)](_0x2fa83b){var _0x19e36a=_0x575481,_0x220a76,_0x5c166f;return(_0x5c166f=(_0x220a76=this[_0x19e36a(0x1d0)])[_0x19e36a(0x1cf)])==null?void 0x0:_0x5c166f[_0x19e36a(0x26c)](_0x220a76,_0x2fa83b);}[_0x575481(0x1c5)](_0x1d0450){var _0x5a9d92=_0x575481,_0x1baa1f,_0x103b00;return(_0x103b00=(_0x1baa1f=this['_handler'])[_0x5a9d92(0x409)])==null?void 0x0:_0x103b00['call'](_0x1baa1f,_0x1d0450);}[_0x575481(0x1e6)](_0x34fc69){var _0x4d7b0e=_0x575481,_0xa89fd9,_0x2ff27e,_0x4cbcfb;return(_0x4cbcfb=(_0x2ff27e=(_0xa89fd9=this[_0x4d7b0e(0x1d0)])[_0x4d7b0e(0x34c)])==null?void 0x0:_0x2ff27e['call'](_0xa89fd9,_0x34fc69))!=null?_0x4cbcfb:_0x34fc69;}['_transformRemoteChangesetByStateCache'](_0x3dcc92){var _0x3c9d9a=_0x575481,_0x3ffa49,_0x5bf5b0,_0x101579;return(_0x101579=(_0x5bf5b0=(_0x3ffa49=this[_0x3c9d9a(0x1d0)])[_0x3c9d9a(0x36a)])==null?void 0x0:_0x5bf5b0[_0x3c9d9a(0x26c)](_0x3ffa49,_0x3dcc92))!=null?_0x101579:_0x3dcc92;}['_syncEditingCollabCursor'](_0x2d5bcd){var _0x3617a8=_0x575481,_0x53570e,_0x54e94e;if(this[_0x3617a8(0x2e9)]===Z[_0x3617a8(0x3b7)]){const {unitID:_0x12f50f,mutations:_0x38d577,memberID:_0x275863}=_0x2d5bcd,_0x33dbd1=_0x38d577[0x0][_0x3617a8(0x2ec)]['textRanges'];Array[_0x3617a8(0x364)](_0x33dbd1)&&_0x33dbd1['length']>0x0&&((_0x54e94e=(_0x53570e=this[_0x3617a8(0x1d0)])[_0x3617a8(0x2a3)])==null||_0x54e94e[_0x3617a8(0x26c)](_0x53570e,{'unitID':_0x12f50f,'memberID':_0x275863,'textRanges':_0x33dbd1}));}}['_updateLocalCache'](){var _0x4976d7=_0x575481,_0x2ce604;(_0x2ce604=this[_0x4976d7(0x385)])==null||_0x2ce604[_0x4976d7(0x159)](this[_0x4976d7(0x290)],this[_0x4976d7(0x2e9)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x575481(0x23e)](){var _0x149eb1=_0x575481;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x149eb1(0x290)]);}[_0x575481(0x1d2)](){var _0x3c453c=_0x575481;this[_0x3c453c(0x283)]['incrementRevOfUnit'](this['unitID']);}[_0x575481(0x3eb)](_0x526214){var _0x3a7952=_0x575481,_0x2b815c;let _0x513d6b=this[_0x3a7952(0x1e6)](_0x526214);_0x513d6b=this['_transformRemoteChangesetByStateCache'](_0x513d6b);const _0x29ad81=_0x580454(_0x513d6b[_0x3a7952(0x418)],this[_0x3a7952(0x202)],{'fromCollab':!0x0});if(!_0x29ad81[_0x3a7952(0x3bb)])throw _0x29ad81[_0x3a7952(0x329)]instanceof Error?_0x29ad81[_0x3a7952(0x329)]:new Error((_0x2b815c=_0x29ad81[_0x3a7952(0x329)])!=null?_0x2b815c:_0x3a7952(0x347));this[_0x3a7952(0x12e)](_0x513d6b),this[_0x3a7952(0x1c5)](_0x513d6b),this[_0x3a7952(0x386)](_0x526214),this[_0x3a7952(0x1fc)](_0x513d6b),this[_0x3a7952(0x3c2)](_0x513d6b),this['_incrementRevisionNumber']();}}let ye=class extends Te{constructor(_0x4fb1cd,_0x194fdc,_0x32c3ac,_0x364892,_0x228406,_0x1bca44,_0x3cc18b,_0x4f9c48,_0x29651a,_0x3bdd10){var _0x594167=_0x575481;super(_0x4fb1cd,_0x194fdc,null,[],_0x32c3ac,_0x3cc18b,_0x1bca44,_0x364892,_0x3bdd10),N(this,'status','synced'),(this['_injector']=_0x228406,this[_0x594167(0x1e0)]=_0x4f9c48,this['_transformService']=_0x29651a,this[_0x594167(0x302)]=_0x3bdd10);}[_0x575481(0x35c)](_0x2e43d1){var _0x24ed83=_0x575481;const _0x2d7352=this[_0x24ed83(0x388)][_0x24ed83(0x238)](re,this[_0x24ed83(0x290)],this['type'],[_0x2e43d1],this[_0x24ed83(0x1d0)]);return _0x2d7352[_0x24ed83(0x300)](),_0x2d7352[_0x24ed83(0x29e)](),_0x2d7352;}[_0x575481(0x267)](_0x146a4d){var _0x5e3e1d=_0x575481;if(this['_checkMissing'](_0x146a4d))return this['_injector']['createInstance'](Q,this[_0x5e3e1d(0x290)],this[_0x5e3e1d(0x2e9)],null,[],null,[_0x146a4d],this[_0x5e3e1d(0x1d0)]);try{const _0x3e9eca=this[_0x5e3e1d(0x3f0)]['transformMutationsWithChangeset'](_0x146a4d,[Js]);if(_0x468325(_0x3e9eca)){const {c1Prime:_0x3277c3}=_0x3e9eca;return this[_0x5e3e1d(0x3eb)](_0x3277c3),this;}throw _0x3e9eca[_0x5e3e1d(0x329)];}catch(_0x293203){return this[_0x5e3e1d(0x1e0)]['error'](_0x293203),this[_0x5e3e1d(0x14a)](!0x1);}}['_onConflict'](_0x4fd7db){var _0x26fe7c=_0x575481;return this['_injector'][_0x26fe7c(0x238)](le,this[_0x26fe7c(0x290)],this[_0x26fe7c(0x2e9)],null,[],this['_handler'],_0x4fd7db);}['onRemoteAck'](){var _0x14fc2e=_0x575481;throw new Error(_0x14fc2e(0x2af));}[_0x575481(0x184)](){var _0x16f544=_0x575481;throw new Error(_0x16f544(0x400));}[_0x575481(0x280)](){return this;}[_0x575481(0x370)](){var _0x382758=_0x575481;return this[_0x382758(0x388)][_0x382758(0x238)](ue,this['unitID'],this['type'],null,[],this[_0x382758(0x1d0)]);}[_0x575481(0x315)](){return this;}[_0x575481(0x11e)](){var _0x2d9a5f=_0x575481;throw new Error(_0x2d9a5f(0x215));}[_0x575481(0x112)](){var _0x2a569a=_0x575481;const _0x454e9d=this['_revisionService'][_0x2a569a(0x2bd)](this[_0x2a569a(0x290)]);return this[_0x2a569a(0x1d0)][_0x2a569a(0x21e)]({'from':_0x454e9d,'to':0x0}),this[_0x2a569a(0x388)][_0x2a569a(0x238)](Q,this[_0x2a569a(0x290)],this[_0x2a569a(0x2e9)],null,[],null,[],this[_0x2a569a(0x1d0)]);}};ye=Ie([P(0x3,_0xc3fde9(_0xf9d248)),P(0x4,_0xc3fde9(_0x11e6a7)),P(0x5,_0x29a4a9),P(0x6,_0x5e9ffa),P(0x7,_0x358d49),P(0x8,_0x2a6017),P(0x9,_0x34a233(J))],ye);let re=class extends Te{constructor(_0x58e6e3,_0x11ea56,_0x4a522c,_0x2b6dd5,_0x2d426e,_0x46642e,_0x77fd7c,_0x5d4eda,_0xc2cead,_0x3481e2,_0x368dd6,_0x435d5d,_0x2cc231,_0x2c2be3){var _0x4000de=_0x575481;super(_0x58e6e3,_0x11ea56,null,_0x4a522c,_0x2b6dd5,_0xc2cead,_0x2cc231,_0x46642e,_0x2c2be3),N(this,'status',_0x4000de(0x155)),N(this,_0x4000de(0x187),null),N(this,_0x4000de(0x136),null),(this[_0x4000de(0x388)]=_0x2d426e,this[_0x4000de(0x3d2)]=_0x77fd7c,this[_0x4000de(0x1e0)]=_0x5d4eda,this[_0x4000de(0x307)]=_0x3481e2,this['_transformService']=_0x368dd6,this[_0x4000de(0x2e8)]=_0x435d5d);}[_0x575481(0x35c)](_0x2d4beb){var _0x24267c=_0x575481;return this[_0x24267c(0x22a)][_0x24267c(0x13d)](_0x2d4beb),this[_0x24267c(0x29e)](),this;}[_0x575481(0x267)](_0x3cdf64){var _0x1d7adf=_0x575481;if(this['_checkMissing'](_0x3cdf64))return this[_0x1d7adf(0x398)](),this[_0x1d7adf(0x388)][_0x1d7adf(0x238)](Q,this[_0x1d7adf(0x290)],this[_0x1d7adf(0x2e9)],null,this['_pendingMutations'],null,[_0x3cdf64],this[_0x1d7adf(0x1d0)]);try{const _0x5c96ab=this[_0x1d7adf(0x3f0)]['transformMutationsWithChangeset'](_0x3cdf64,this[_0x1d7adf(0x22a)]);if(_0x468325(_0x5c96ab)){const {c1Prime:_0x35a856,m2Prime:_0x47e995}=_0x5c96ab;this[_0x1d7adf(0x3eb)](_0x35a856);const _0x3d0a5f=this[_0x1d7adf(0x388)]['createInstance'](re,this[_0x1d7adf(0x290)],this[_0x1d7adf(0x2e9)],_0x47e995,this['_handler']);this[_0x1d7adf(0x398)]();const _0x56977e=new Date()[_0x1d7adf(0x1b8)](),_0x5ca717=this[_0x1d7adf(0x187)]?Math[_0x1d7adf(0x2ed)](this[_0x1d7adf(0x187)]-_0x56977e,0x0):this[_0x1d7adf(0x1d5)]();return _0x3d0a5f[_0x1d7adf(0x300)](_0x5ca717),_0x3d0a5f;}throw _0x5c96ab[_0x1d7adf(0x329)];}catch(_0x3fa28c){return this[_0x1d7adf(0x1e0)][_0x1d7adf(0x329)](_0x3fa28c),this[_0x1d7adf(0x14a)](!0x1);}}['onRemoteAck'](){var _0x1f2650=_0x575481;throw new Error(_0x1f2650(0x174));}['onRemoteRej'](){var _0x59101b=_0x575481;throw new Error(_0x59101b(0x185));}[_0x575481(0x280)](){return this;}['toggleOffline'](){var _0x6e7b93=_0x575481;return this['_clearScheduledTask'](),this[_0x6e7b93(0x388)][_0x6e7b93(0x238)](ue,this[_0x6e7b93(0x290)],this[_0x6e7b93(0x2e9)],null,this[_0x6e7b93(0x22a)],this[_0x6e7b93(0x1d0)]);}[_0x575481(0x315)](){return this;}[_0x575481(0x300)](_0x5ba7dd){var _0x5ac198=_0x575481;const _0x429251=_0x5ba7dd!=null?_0x5ba7dd:this[_0x5ac198(0x1d5)]();this[_0x5ac198(0x187)]=new Date()[_0x5ac198(0x1b8)]()+_0x429251,this['_sendingTimer']=setTimeout(()=>{var _0x574e37=_0x5ac198;this['_clearScheduledTask']();let _0x6b5a32=null;switch(this[_0x574e37(0x2e9)]){case Z[_0x574e37(0x1a4)]:{_0x6b5a32=Yt(this[_0x574e37(0x22a)],this['unitID'],this['_univerInstanceService'],this[_0x574e37(0x283)],this[_0x574e37(0x3d2)]);break;}case Z[_0x574e37(0x3b7)]:{this['_pendingMutations']['every'](_0x3fce9e=>_0x3fce9e['id']===_0x2dbe49['id'])?_0x6b5a32=zs(this[_0x574e37(0x22a)],this[_0x574e37(0x290)],this[_0x574e37(0x2e8)],this[_0x574e37(0x283)],this['_memberService']):_0x6b5a32=Yt(this[_0x574e37(0x22a)],this[_0x574e37(0x290)],this[_0x574e37(0x2e8)],this[_0x574e37(0x283)],this[_0x574e37(0x3d2)]);break;}default:throw new Error(_0x574e37(0x3ee)+this[_0x574e37(0x2e9)]+_0x574e37(0x239));}const {changeset:_0x524556,pendingMutations:_0x28dbac}=_0x6b5a32;this['_handler'][_0x574e37(0x2a4)](_0x524556);const _0x13ce2f=_0x28dbac[_0x574e37(0x2b8)]?this[_0x574e37(0x388)][_0x574e37(0x238)](ae,this[_0x574e37(0x290)],this[_0x574e37(0x2e9)],_0x524556,_0x28dbac,this[_0x574e37(0x1d0)],void 0x0):this[_0x574e37(0x388)]['createInstance'](_e,this[_0x574e37(0x290)],this[_0x574e37(0x2e9)],_0x524556,this[_0x574e37(0x1d0)]);_0x13ce2f['_updateLocalCache'](),this[_0x574e37(0x1d0)][_0x574e37(0x30a)](this,_0x13ce2f);},_0x429251);}[_0x575481(0x1d5)](){var _0x134529=_0x575481,_0x483df5;const _0x35a1ca=this['_configService'][_0x134529(0x2e7)](K);return(_0x483df5=_0x35a1ca==null?void 0x0:_0x35a1ca[_0x134529(0x13a)])!=null?_0x483df5:ms;}[_0x575481(0x11e)](){var _0x3746ea=_0x575481;throw new Error(_0x3746ea(0x366));}['_clearScheduledTask'](){var _0xd56b7d=_0x575481;this['_sendingTimer']!=null&&(clearTimeout(this[_0xd56b7d(0x136)]),this[_0xd56b7d(0x136)]=null);}[_0x575481(0x14a)](_0x5458a2){var _0x7162a9=_0x575481;return this[_0x7162a9(0x398)](),this['_injector'][_0x7162a9(0x238)](le,this[_0x7162a9(0x290)],this[_0x7162a9(0x2e9)],null,this[_0x7162a9(0x22a)],this[_0x7162a9(0x1d0)],_0x5458a2);}};re=Ie([P(0x4,_0xc3fde9(_0x11e6a7)),P(0x5,_0xc3fde9(_0xf9d248)),P(0x6,_0xc3fde9(Pe)),P(0x7,_0x358d49),P(0x8,_0x5e9ffa),P(0x9,_0xfd96b9),P(0xa,_0x2a6017),P(0xb,_0x276651),P(0xc,_0x29a4a9),P(0xd,_0x34a233(J))],re);let _e=class extends Te{constructor(_0x19ec3b,_0x34a8f7,_0x504448,_0x568709,_0x54f66e,_0x1645e4,_0x70000b,_0x18a7d5,_0x45cb34,_0x5bb1fb,_0x14b404){var _0xd1e4af=_0x575481;super(_0x19ec3b,_0x34a8f7,_0x504448,[],_0x568709,_0x70000b,_0x5bb1fb,_0x1645e4,_0x14b404),N(this,_0xd1e4af(0x2ad),_0xd1e4af(0x31b)),N(this,_0xd1e4af(0x365),0x0),N(this,_0xd1e4af(0x121)),N(this,_0xd1e4af(0x133)),(this[_0xd1e4af(0x388)]=_0x54f66e,this[_0xd1e4af(0x1e0)]=_0x18a7d5,this[_0xd1e4af(0x3f0)]=_0x45cb34);}['appendMutation'](_0x4633c9){var _0x322c2a=_0x575481;this[_0x322c2a(0x398)]();const _0x254db5=this[_0x322c2a(0x388)][_0x322c2a(0x238)](ae,this[_0x322c2a(0x290)],this[_0x322c2a(0x2e9)],this[_0x322c2a(0x2c4)],[_0x4633c9],this['_handler'],this[_0x322c2a(0x121)]);return _0x254db5[_0x322c2a(0x29e)](),_0x254db5;}[_0x575481(0x267)](_0x24e22d){var _0xd98885=_0x575481;if(this[_0xd98885(0x2d0)](_0x24e22d))return this['_clearScheduledTask'](),this[_0xd98885(0x388)]['createInstance'](Q,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x24e22d],this['_handler']);try{const _0x5c8ff8=this[_0xd98885(0x3f0)][_0xd98885(0x393)]([_0x24e22d],[this['_awaitingChangeset']],!0x1);if(_0x36f7ea(_0x5c8ff8)){const {c1Prime:_0x1dd471,c2Prime:_0x93e19b}=_0x5c8ff8;this[_0xd98885(0x3eb)](_0x1dd471[0x0]),_0x93e19b[0x0][_0xd98885(0x12b)]=this[_0xd98885(0x23e)](),this[_0xd98885(0x398)]();const _0x472b65=this[_0xd98885(0x388)][_0xd98885(0x238)](_e,this[_0xd98885(0x290)],this[_0xd98885(0x2e9)],_0x93e19b[0x0],this['_handler']);return _0x472b65[_0xd98885(0x29e)](),_0x472b65;}return this[_0xd98885(0x14a)](!0x1);}catch(_0x3c4678){return this[_0xd98885(0x1e0)][_0xd98885(0x329)](_0x3c4678),this[_0xd98885(0x14a)](!0x1);}}['onRemoteAck'](_0x3afdb3){var _0x32e739=_0x575481;this[_0x32e739(0x398)]();const _0x27168a=this[_0x32e739(0x283)]['getCurrentRevOfUnit'](this[_0x32e739(0x290)]);if(_0x3afdb3[_0x32e739(0x292)]<_0x27168a-0x1)return this;if(this[_0x32e739(0x2d0)](_0x3afdb3))return this[_0x32e739(0x388)][_0x32e739(0x238)](Q,this[_0x32e739(0x290)],this[_0x32e739(0x2e9)],null,[],this[_0x32e739(0x2c4)],[],this[_0x32e739(0x1d0)]);this[_0x32e739(0x1d2)]();const _0x41ff98=this[_0x32e739(0x388)][_0x32e739(0x238)](ye,this[_0x32e739(0x290)],this['type'],this[_0x32e739(0x1d0)]);return _0x41ff98[_0x32e739(0x29e)](),_0x41ff98;}[_0x575481(0x184)](_0x4abb10){var _0x1921b4=_0x575481;return this[_0x1921b4(0x14a)](!!(_0x4abb10!=null&&_0x4abb10[_0x1921b4(0x28e)]));}['onRemoteRetry'](_0x1d16f4){var _0x488ce7=_0x575481;return this['_resendTimeout']>Ci?this[_0x488ce7(0x370)]():(this[_0x488ce7(0x121)]=Ii(this[_0x488ce7(0x365)],{'timeout':this['_resendTimeout'],'reqId':_0x1d16f4[_0x488ce7(0x2db)]}),this[_0x488ce7(0x133)]=this[_0x488ce7(0x121)][_0x488ce7(0x1d1)](({reqId:_0x2d9fe6,timeout:_0x3e453c})=>{var _0x43cfc7=_0x488ce7;this[_0x43cfc7(0x158)](_0x2d9fe6,_0x3e453c);}),this);}[_0x575481(0x370)](){var _0x27fa7d=_0x575481;return this['_clearScheduledTask'](),this[_0x27fa7d(0x388)][_0x27fa7d(0x238)](ue,this[_0x27fa7d(0x290)],this[_0x27fa7d(0x2e9)],this['_awaitingChangeset'],[],this[_0x27fa7d(0x1d0)]);}[_0x575481(0x315)](){return this;}[_0x575481(0x11e)](){var _0x1ba63f=_0x575481;this[_0x1ba63f(0x1d0)][_0x1ba63f(0x2a4)](this[_0x1ba63f(0x2c4)]);}['_onConflict'](_0x5d9828){var _0x12c5f7=_0x575481;return this[_0x12c5f7(0x398)](),this[_0x12c5f7(0x388)][_0x12c5f7(0x238)](le,this[_0x12c5f7(0x290)],this[_0x12c5f7(0x2e9)],this[_0x12c5f7(0x2c4)],[],this[_0x12c5f7(0x1d0)],_0x5d9828);}[_0x575481(0x158)](_0x347073,_0x45f0f8){var _0x39dc06=_0x575481,_0x4afa3f;_0x347073===((_0x4afa3f=this[_0x39dc06(0x2c4)])==null?void 0x0:_0x4afa3f[_0x39dc06(0x2db)])&&(this['resend'](),this['_resendTimeout']=_0x45f0f8===0x0?0x3e8:_0x45f0f8*0x2);}[_0x575481(0x398)](){var _0x3c6ead=_0x575481,_0x39dbba;(_0x39dbba=this[_0x3c6ead(0x133)])==null||_0x39dbba[_0x3c6ead(0x31c)](),this[_0x3c6ead(0x365)]=0x0;}};_e=Ie([P(0x4,_0xc3fde9(_0x11e6a7)),P(0x5,_0xc3fde9(_0xf9d248)),P(0x6,_0x5e9ffa),P(0x7,_0x358d49),P(0x8,_0x2a6017),P(0x9,_0x29a4a9),P(0xa,_0x34a233(J))],_e);let ae=class extends Te{constructor(_0x4c9fd1,_0xcb6610,_0x4ce204,_0x87f0a,_0x58ef84,_0x56e0da,_0x3dbdfb,_0x2bf8c7,_0x5a6bbd,_0x93b9da,_0x28be57,_0x4dfef0,_0x3f3c55){var _0xacaeb0=_0x575481;super(_0x4c9fd1,_0xcb6610,_0x4ce204,_0x87f0a,_0x58ef84,_0x5a6bbd,_0x4dfef0,_0x2bf8c7,_0x3f3c55),N(this,_0xacaeb0(0x2ad),_0xacaeb0(0x216)),N(this,_0xacaeb0(0x365),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this['_injector']=_0x3dbdfb,this[_0xacaeb0(0x1e0)]=_0x93b9da,this['_transformService']=_0x28be57,this[_0xacaeb0(0x302)]=_0x3f3c55,_0x56e0da&&(this[_0xacaeb0(0x121)]=_0x56e0da,this[_0xacaeb0(0x133)]=this[_0xacaeb0(0x121)][_0xacaeb0(0x1d1)](({reqId:_0x499b95,timeout:_0x31efda})=>{var _0xdba4c1=_0xacaeb0;this[_0xdba4c1(0x158)](_0x499b95,_0x31efda);})));}[_0x575481(0x35c)](_0x531117){var _0x380f40=_0x575481;return this[_0x380f40(0x22a)][_0x380f40(0x13d)](_0x531117),this;}[_0x575481(0x267)](_0x441076){var _0x220f9c=_0x575481;if(this[_0x220f9c(0x2d0)](_0x441076))return this[_0x220f9c(0x398)](),this['_injector'][_0x220f9c(0x238)](Q,this[_0x220f9c(0x290)],this['type'],this[_0x220f9c(0x2c4)],this[_0x220f9c(0x22a)],null,[_0x441076],this['_handler']);try{const _0x2efa30=this['_transformService']['transformChangesets']([_0x441076],[this[_0x220f9c(0x2c4)]],!0x1);if(_0x36f7ea(_0x2efa30)){const {c1Prime:_0x4bc138,c2Prime:_0x3940ea}=_0x2efa30,_0x387566=this[_0x220f9c(0x3f0)][_0x220f9c(0x186)](_0x4bc138[0x0],this[_0x220f9c(0x22a)]);if(_0x468325(_0x387566)){const {c1Prime:_0xe58caf,m2Prime:_0x594bf9}=_0x387566;return this[_0x220f9c(0x3eb)](_0xe58caf),_0x3940ea[0x0][_0x220f9c(0x12b)]=this['_getCurrentRevision'](),this[_0x220f9c(0x398)](),this['_injector'][_0x220f9c(0x238)](ae,this['unitID'],this[_0x220f9c(0x2e9)],_0x3940ea[0x0],_0x594bf9,this[_0x220f9c(0x1d0)],void 0x0);}throw _0x387566['error'];}throw _0x2efa30[_0x220f9c(0x329)];}catch(_0x675ee1){return this['_logService'][_0x220f9c(0x329)](_0x675ee1),this[_0x220f9c(0x14a)](!0x1);}}[_0x575481(0x25a)](_0x36a99d){var _0x4a19f1=_0x575481;if(this[_0x4a19f1(0x398)](),this[_0x4a19f1(0x2d0)](_0x36a99d))return this['_injector'][_0x4a19f1(0x238)](Q,this['unitID'],this[_0x4a19f1(0x2e9)],null,this[_0x4a19f1(0x22a)],this[_0x4a19f1(0x2c4)],[],this['_handler']);this[_0x4a19f1(0x1d2)]();const _0x130404=this[_0x4a19f1(0x388)][_0x4a19f1(0x238)](re,this[_0x4a19f1(0x290)],this[_0x4a19f1(0x2e9)],this[_0x4a19f1(0x22a)],this[_0x4a19f1(0x1d0)]);return _0x130404[_0x4a19f1(0x300)](),_0x130404[_0x4a19f1(0x29e)](),_0x130404;}['onRemoteRej'](_0x22248e){var _0x3f4696=_0x575481;return this[_0x3f4696(0x14a)](!!(_0x22248e!=null&&_0x22248e[_0x3f4696(0x28e)]));}[_0x575481(0x280)](_0xfda199){var _0x532901=_0x575481;return this[_0x532901(0x365)]>Ci?this[_0x532901(0x370)]():(this[_0x532901(0x121)]=Ii(this['_resendTimeout'],{'timeout':this[_0x532901(0x365)],'reqId':_0xfda199['reqId']}),this['_sender']=this[_0x532901(0x121)][_0x532901(0x1d1)](({reqId:_0x4142ee,timeout:_0x419510})=>{var _0x52ed86=_0x532901;this[_0x52ed86(0x158)](_0x4142ee,_0x419510);}),this);}[_0x575481(0x370)](){var _0x4c814d=_0x575481;return this['_clearScheduledTask'](),this[_0x4c814d(0x388)][_0x4c814d(0x238)](ue,this[_0x4c814d(0x290)],this[_0x4c814d(0x2e9)],this[_0x4c814d(0x2c4)],this[_0x4c814d(0x22a)],this[_0x4c814d(0x1d0)]);}[_0x575481(0x315)](){return this;}[_0x575481(0x11e)](){var _0x188f8b=_0x575481;this[_0x188f8b(0x1d0)][_0x188f8b(0x2a4)](this[_0x188f8b(0x2c4)]);}['_onConflict'](_0x43fb66){var _0x5a07e2=_0x575481;return this[_0x5a07e2(0x398)](),this['_injector'][_0x5a07e2(0x238)](le,this[_0x5a07e2(0x290)],this[_0x5a07e2(0x2e9)],null,this[_0x5a07e2(0x22a)],this['_handler'],_0x43fb66);}[_0x575481(0x158)](_0x48b273,_0x25efbe){var _0x3c9b37=_0x575481,_0x39c59e;_0x48b273===((_0x39c59e=this[_0x3c9b37(0x2c4)])==null?void 0x0:_0x39c59e[_0x3c9b37(0x2db)])&&(this[_0x3c9b37(0x11e)](),this[_0x3c9b37(0x365)]=_0x25efbe===0x0?0x3e8:_0x25efbe*0x2);}[_0x575481(0x398)](){var _0x4a8fde=_0x575481,_0x10d74e;(_0x10d74e=this[_0x4a8fde(0x133)])==null||_0x10d74e[_0x4a8fde(0x31c)](),this[_0x4a8fde(0x365)]=0x0;}};ae=Ie([P(0x6,_0xc3fde9(_0x11e6a7)),P(0x7,_0xc3fde9(_0xf9d248)),P(0x8,_0x5e9ffa),P(0x9,_0x358d49),P(0xa,_0x2a6017),P(0xb,_0x29a4a9),P(0xc,_0x34a233(J))],ae);let le=class extends Te{constructor(_0x5538a0,_0x840b7b,_0x5d54d1,_0x47a51c,_0x2c2354,_0xf6d0f0=!0x1,_0x2f524a,_0x7e2539,_0x1beef1,_0x3a8ec3,_0x220372,_0x2cb13b,_0x326a06){var _0x4451b7=_0x575481;super(_0x5538a0,_0x840b7b,_0x5d54d1,_0x47a51c,_0x2c2354,_0x7e2539,_0x1beef1,_0x3a8ec3,_0x326a06),N(this,'status',_0x4451b7(0x360)),(this[_0x4451b7(0x227)]=_0xf6d0f0,this[_0x4451b7(0x261)]=_0x2f524a,this[_0x4451b7(0x3f8)]=_0x220372,this['_collaborationUIEventService']=_0x2cb13b,this[_0x4451b7(0x302)]=_0x326a06,this[_0x4451b7(0x2c0)](),this[_0x4451b7(0x289)](),this[_0x4451b7(0x337)]());}[_0x575481(0x35c)](){return this;}[_0x575481(0x267)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x575481(0x280)](){return this;}[_0x575481(0x370)](){return this;}[_0x575481(0x315)](){return this;}[_0x575481(0x11e)](){var _0x449b05=_0x575481;throw new Error(_0x449b05(0x356));}[_0x575481(0x289)](){var _0x50f461=_0x575481,_0x124ea3;(_0x124ea3=this[_0x50f461(0x385)])==null||_0x124ea3['updateOfflineData'](this['unitID'],this[_0x50f461(0x2e9)],null,[]);}[_0x575481(0x2c0)](){var _0x3456d7=_0x575481;this[_0x3456d7(0x227)]?this[_0x3456d7(0x318)][_0x3456d7(0x201)]({'id':ne['PERMISSION_DENIED']}):this[_0x3456d7(0x318)][_0x3456d7(0x201)]({'id':ne[_0x3456d7(0x369)]});}[_0x575481(0x337)](){var _0x5babcf=_0x575481;this[_0x5babcf(0x261)][_0x5babcf(0x39f)](new _0x2ed758(this['unitID'])['id'],!0x1);}};le=Ie([P(0x6,_0xc3fde9(_0x56d703)),P(0x7,_0x5e9ffa),P(0x8,_0x29a4a9),P(0x9,_0xc3fde9(_0xf9d248)),P(0xa,_0xc3fde9(_0xcccf9a)),P(0xb,_0xc3fde9(ve)),P(0xc,_0x34a233(J))],le);let ue=class extends Te{constructor(_0x34423b,_0x78a2f4,_0x1e0fc7,_0x33c830,_0xeeabf,_0x75155f,_0x9f7007,_0xc146c,_0x551f32,_0x119cb0){var _0x25f741=_0x575481;super(_0x34423b,_0x78a2f4,_0x1e0fc7,_0x33c830,_0xeeabf,_0xc146c,_0x551f32,_0x9f7007,_0x119cb0),N(this,_0x25f741(0x2ad),_0x25f741(0x38b)),this[_0x25f741(0x388)]=_0x75155f;}[_0x575481(0x35c)](_0x33cb1f){var _0x3bc2d0=_0x575481;return this[_0x3bc2d0(0x22a)][_0x3bc2d0(0x13d)](_0x33cb1f),this[_0x3bc2d0(0x29e)](),this;}[_0x575481(0x267)](_0x5896e7){var _0x306c10=_0x575481;throw new Error(_0x306c10(0x1ff));}[_0x575481(0x25a)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x524bb5=_0x575481;throw new Error(_0x524bb5(0x16c));}[_0x575481(0x280)](){return this;}[_0x575481(0x370)](){return this;}[_0x575481(0x315)](){var _0x57686a=_0x575481;const {_injector:_0x2e8b3d,_pendingMutations:_0x15e0ab,_awaitingChangeset:_0x1b3f16,unitID:_0xc19e64,_handler:_0x3e324c,type:_0x387dae}=this,_0x510958=Ri(_0x2e8b3d,_0xc19e64,_0x387dae,_0x1b3f16,_0x15e0ab,_0x3e324c);return _0x510958 instanceof re?_0x510958[_0x57686a(0x300)]():(_0x510958 instanceof ae||_0x510958 instanceof _e)&&_0x510958[_0x57686a(0x11e)](),_0x510958;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0xc3fde9(_0x11e6a7)),P(0x6,_0xc3fde9(_0xf9d248)),P(0x7,_0x5e9ffa),P(0x8,_0x29a4a9),P(0x9,_0x34a233(J))],ue);let Q=class extends Te{constructor(_0x244b3a,_0x49bff6,_0x2cc752,_0x41c094,_0x508f27,_0x45db82,_0xa0476b,_0xa964a0,_0x5a96dc,_0xf6e246,_0xd84bdc,_0x2749c1,_0x3a6ad2,_0x263007){var _0x398e47=_0x575481;super(_0x244b3a,_0x49bff6,_0x2cc752,_0x41c094,_0xa0476b,_0xd84bdc,_0x2749c1,_0x5a96dc,_0x263007),N(this,_0x398e47(0x2ad),_0x398e47(0x24f)),(this[_0x398e47(0x114)]=_0x508f27,this[_0x398e47(0x12f)]=_0x45db82,this[_0x398e47(0x388)]=_0xa964a0,this[_0x398e47(0x1e0)]=_0xf6e246,this['_transformService']=_0x3a6ad2,this[_0x398e47(0x302)]=_0x263007);}[_0x575481(0x26d)](_0x151ec5){var _0x32224b=_0x575481;try{const _0x307671=[..._0x151ec5,...this['_queuedRemoteChangesets']],_0x1b3484=[this[_0x32224b(0x2c4)]||this[_0x32224b(0x114)]]['filter'](_0x1b953f=>!!_0x1b953f);let _0x5e0a1c,_0x4431cf;if(_0x1b3484['length']){const _0x6260a4=this[_0x32224b(0x3f0)][_0x32224b(0x393)](_0x307671,_0x1b3484,!0x1);if(!_0x36f7ea(_0x6260a4))throw _0x6260a4['error'];_0x5e0a1c=_0x6260a4[_0x32224b(0x281)],_0x4431cf=_0x6260a4[_0x32224b(0x36b)];}else _0x5e0a1c=_0x307671,_0x4431cf=[];let _0x3ed3a6=this[_0x32224b(0x22a)];_0x5e0a1c[_0x32224b(0x1ce)](_0xf0cc71=>{var _0x6bf592=_0x32224b;let _0x48eb0d;if(_0x3ed3a6[_0x6bf592(0x2b8)]){const _0x3fca62=this['_transformService'][_0x6bf592(0x186)](_0xf0cc71,_0x3ed3a6);if(!_0x468325(_0x3fca62))throw _0x3fca62[_0x6bf592(0x329)];_0x48eb0d=_0x3fca62['c1Prime'],_0x3ed3a6=_0x3fca62[_0x6bf592(0x17d)];}else _0x48eb0d=_0xf0cc71;this[_0x6bf592(0x3eb)](_0x48eb0d);}),this['_acknowledgedAwaitingChangeset']&&this[_0x32224b(0x1d2)](),this[_0x32224b(0x2c4)]&&_0x4431cf[_0x32224b(0x2b8)]&&(_0x4431cf[0x0]['baseRev']=this[_0x32224b(0x23e)]());let _0x5ce983;if(this[_0x32224b(0x2c4)]&&_0x3ed3a6[_0x32224b(0x2b8)]!==0x0)_0x5ce983=this[_0x32224b(0x388)]['createInstance'](ae,this[_0x32224b(0x290)],this[_0x32224b(0x2e9)],_0x4431cf[0x0],_0x3ed3a6,this[_0x32224b(0x1d0)],void 0x0);else{if(this[_0x32224b(0x2c4)]&&_0x3ed3a6[_0x32224b(0x2b8)]===0x0)_0x4431cf[0x0]['baseRev']=this[_0x32224b(0x23e)](),_0x5ce983=this[_0x32224b(0x388)][_0x32224b(0x238)](_e,this[_0x32224b(0x290)],this[_0x32224b(0x2e9)],_0x4431cf[0x0],this['_handler']);else{if(_0x3ed3a6[_0x32224b(0x2b8)]!==0x0){const _0x2daa4b=this[_0x32224b(0x388)][_0x32224b(0x238)](re,this[_0x32224b(0x290)],this[_0x32224b(0x2e9)],_0x3ed3a6,this['_handler']);_0x2daa4b[_0x32224b(0x300)](),_0x5ce983=_0x2daa4b;}else _0x5ce983=this[_0x32224b(0x388)][_0x32224b(0x238)](ye,this[_0x32224b(0x290)],this[_0x32224b(0x2e9)],this[_0x32224b(0x1d0)]);}}return _0x5ce983[_0x32224b(0x29e)](),_0x5ce983;}catch(_0x21e4a1){return this['_logService'][_0x32224b(0x329)](_0x32224b(0x1a8),'failed\x20to\x20apply\x20missed\x20changesets!',_0x21e4a1),this[_0x32224b(0x388)][_0x32224b(0x238)](le,this[_0x32224b(0x290)],this['type'],this['_awaitingChangeset'],this[_0x32224b(0x22a)],this[_0x32224b(0x1d0)],!0x1);}}[_0x575481(0x11e)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x575481(0x35c)](_0x58aa17){var _0x554885=_0x575481;return this[_0x554885(0x22a)]['push'](_0x58aa17),this;}[_0x575481(0x267)](_0x5f4eed){var _0x1de893=_0x575481;return this[_0x1de893(0x12f)]['push'](_0x5f4eed),this;}['onRemoteAck'](_0x480dcc){var _0x54ed1d=_0x575481;if(this['_awaitingChangeset'])return this[_0x54ed1d(0x114)]=this['_awaitingChangeset'],this[_0x54ed1d(0x2c4)]=null,this;throw new Error(_0x54ed1d(0x2ce));}[_0x575481(0x184)](_0x527ac7){var _0x143d96=_0x575481;return this[_0x143d96(0x14a)](!!(_0x527ac7!=null&&_0x527ac7[_0x143d96(0x28e)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4fa883=_0x575481;return this['_injector'][_0x4fa883(0x238)](ue,this[_0x4fa883(0x290)],this[_0x4fa883(0x2e9)],this[_0x4fa883(0x2c4)],this[_0x4fa883(0x22a)],this[_0x4fa883(0x1d0)]);}[_0x575481(0x315)](){return this;}['_onConflict'](_0x322749){var _0x51234e=_0x575481;return this[_0x51234e(0x388)][_0x51234e(0x238)](le,this['unitID'],this[_0x51234e(0x2e9)],this[_0x51234e(0x2c4)],this[_0x51234e(0x22a)],this[_0x51234e(0x1d0)],_0x322749);}};Q=Ie([P(0x7,_0xc3fde9(_0x11e6a7)),P(0x8,_0xc3fde9(_0xf9d248)),P(0x9,_0x358d49),P(0xa,_0x5e9ffa),P(0xb,_0x29a4a9),P(0xc,_0x2a6017),P(0xd,_0x34a233(J))],Q);function Ri(_0x5cf396,_0x2995e0,_0x5597c9,_0x11282c,_0x18a08a,_0x2db0f4){var _0x152dc6=_0x575481;return _0x11282c&&_0x18a08a[_0x152dc6(0x2b8)]?_0x5cf396[_0x152dc6(0x238)](ae,_0x2995e0,_0x5597c9,_0x11282c,_0x18a08a,_0x2db0f4,void 0x0):_0x11282c?_0x5cf396[_0x152dc6(0x238)](_e,_0x2995e0,_0x5597c9,_0x11282c,_0x2db0f4):_0x18a08a[_0x152dc6(0x2b8)]?_0x5cf396['createInstance'](re,_0x2995e0,_0x5597c9,_0x18a08a,_0x2db0f4):_0x5cf396[_0x152dc6(0x238)](ye,_0x2995e0,_0x5597c9,_0x2db0f4);}var Zs=Object['getOwnPropertyDescriptor'],wt=(_0x4ce667,_0x2fd09d,_0x20fd3b,_0x192125)=>{for(var _0x206cdf=_0x192125>0x1?void 0x0:_0x192125?Zs(_0x2fd09d,_0x20fd3b):_0x2fd09d,_0x25aa11=_0x4ce667['length']-0x1,_0x23839d;_0x25aa11>=0x0;_0x25aa11--)(_0x23839d=_0x4ce667[_0x25aa11])&&(_0x206cdf=_0x23839d(_0x206cdf)||_0x206cdf);return _0x206cdf;},H=(_0x34187b,_0x2b55b7)=>(_0x1b848b,_0x565283)=>_0x2b55b7(_0x1b848b,_0x565283,_0x34187b);let st=class extends _0x36fb88{constructor(_0x273d5d,_0x1ac7a5,_0x3be33f,_0x385499,_0x3c02c3,_0x13c6b6,_0x30d79f,_0x292cfa,_0x236fa0,_0x41deff,_0x3843f9,_0xecb7c9,_0x3548eb){var _0x434716=_0x575481;super(),N(this,_0x434716(0x148),new _0x2b18f4(null)),N(this,'state$',this['_state$'][_0x434716(0x233)]()),N(this,_0x434716(0x3c5)),N(this,_0x434716(0x380),!0x1),N(this,_0x434716(0x336),''),N(this,_0x434716(0x324),0x0),N(this,_0x434716(0x3cb),this[_0x434716(0x222)]['pipe'](_0x1a34f4(_0x371060=>_0x371060?_0x371060[_0x434716(0x2ad)]:Ti[_0x434716(0x338)]),_0x10568b(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x434716(0x414),[]),(this['unitID']=_0x273d5d,this['session']=_0x1ac7a5,this[_0x434716(0x27e)]=_0x3be33f,this[_0x434716(0x388)]=_0x385499,this[_0x434716(0x18a)]=_0x3c02c3,this['_localeService']=_0x13c6b6,this[_0x434716(0x283)]=_0x30d79f,this['_eventService']=_0x292cfa,this[_0x434716(0x1e0)]=_0x236fa0,this['_commandService']=_0x41deff,this[_0x434716(0x261)]=_0x3843f9,this[_0x434716(0x2ac)]=_0xecb7c9,this['_localCacheService']=_0x3548eb);}get[_0x575481(0x390)](){var _0x3e44e7=_0x575481;return this[_0x3e44e7(0x3c5)];}async['init'](){var _0x54ee13=_0x575481;if(this[_0x54ee13(0x390)])throw new Error(_0x54ee13(0x394));await this[_0x54ee13(0x1dd)]();}[_0x575481(0x1f6)](){var _0x2f0727=_0x575481;return this[_0x2f0727(0x380)]=!0x0,_0x11c90b(()=>{var _0x140801=_0x2f0727;this['_collaborationPaused']=!0x1,this[_0x140801(0x2fc)]();});}[_0x575481(0x220)](_0x18b33b){this['_onLocalMutation'](_0x18b33b);}[_0x575481(0x1ab)](_0x5ad16e){var _0x2d722f=_0x575481;this[_0x2d722f(0x3c5)]=_0x5ad16e,this[_0x2d722f(0x148)][_0x2d722f(0x2f4)](_0x5ad16e);}async[_0x575481(0x1dd)](){var _0x47d4ea=_0x575481,_0x33ac4d;this[_0x47d4ea(0x1ab)](await this[_0x47d4ea(0x361)]()),this['_singleActiveUnitService']&&((_0x33ac4d=this[_0x47d4ea(0x2ac)])==null||_0x33ac4d[_0x47d4ea(0x310)](this[_0x47d4ea(0x290)]),this['disposeWithMe'](this[_0x47d4ea(0x2ac)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x46d98b=>{var _0xeb91e4=_0x47d4ea;this['_logService'][_0xeb91e4(0x383)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x46d98b),_0x46d98b===Ei[_0xeb91e4(0x231)]?(this['_eventService'][_0xeb91e4(0x201)]({'id':ne[_0xeb91e4(0x37c)]}),this['_permissionService'][_0xeb91e4(0x39f)](new _0x2ed758(this[_0xeb91e4(0x290)])['id'],!0x1),this[_0xeb91e4(0x261)][_0xeb91e4(0x33e)](!0x1)):(this['_permissionService'][_0xeb91e4(0x39f)](new _0x2ed758(this[_0xeb91e4(0x290)])['id'],!0x0),this[_0xeb91e4(0x261)][_0xeb91e4(0x33e)](!0x0));})));let _0x1dfd6=!0x1;return this[_0x47d4ea(0x2dd)](this[_0x47d4ea(0x240)][_0x47d4ea(0x3fa)][_0x47d4ea(0x1d1)](_0x27d99e=>{var _0x3d8c47=_0x47d4ea;_0x27d99e===Se['ONLINE']?this['_toggleOnline'](_0x1dfd6):_0x27d99e===Se[_0x3d8c47(0x338)]&&(_0x1dfd6=!0x0,this[_0x3d8c47(0x17b)]());})),this[_0x47d4ea(0x2dd)](this[_0x47d4ea(0x240)][_0x47d4ea(0x345)][_0x47d4ea(0x1d1)](_0x4d1a53=>{var _0x2d11a1=_0x47d4ea;try{switch(_0x4d1a53['eventID']){case _0xc491a6[_0x2d11a1(0x3ce)]:{this[_0x2d11a1(0x29a)](_0x3d8287(_0x4d1a53[_0x2d11a1(0x368)]));break;}case _0xc491a6['CHANGESET_ACK']:{this[_0x2d11a1(0x14d)](_0x4d1a53['data']);break;}case _0xc491a6['CHANGESET_REJ']:{this[_0x2d11a1(0x124)]();break;}case _0xc491a6[_0x2d11a1(0x32d)]:{this[_0x2d11a1(0x379)](_0x4d1a53['data']);break;}case _0xc491a6[_0x2d11a1(0x2a0)]:{this[_0x2d11a1(0x236)](_0x4d1a53['data']['changesets']['map'](_0x552eca=>_0x3d8287(_0x552eca)));break;}case _0xc491a6[_0x2d11a1(0x1dc)]:{this[_0x2d11a1(0x124)]({'isPermissionRej':!0x0});break;}case _0xc491a6[_0x2d11a1(0x321)]:break;}}catch(_0x34183e){throw console[_0x2d11a1(0x329)]('Error\x20on\x20receiving\x20event',_0x34183e),_0x34183e;}})),this['_state'];}[_0x575481(0x355)](){this['_transitionLocked']=!0x1;}[_0x575481(0x2e3)](){var _0x5a6fb2=_0x575481;if(this[_0x5a6fb2(0x29c)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x5a6fb2(0x29c)]=!0x0;}[_0x575481(0x37d)](_0x146e2b){var _0x1280df=_0x575481;this[_0x1280df(0x2e3)](),this[_0x1280df(0x1ab)](this['_state'][_0x1280df(0x35c)](_0x146e2b)),this[_0x1280df(0x355)]();}[_0x575481(0x29a)](_0x2a22eb){var _0x6631c7=_0x575481;if(!(_0x2a22eb[_0x6631c7(0x292)]<=this[_0x6631c7(0x283)][_0x6631c7(0x2bd)](this[_0x6631c7(0x290)]))){if(this[_0x6631c7(0x380)]){this[_0x6631c7(0x414)][_0x6631c7(0x13d)](_0x2a22eb);return;}this[_0x6631c7(0x3d8)](_0x2a22eb);}}[_0x575481(0x2fc)](){var _0x3da31e=_0x575481;this['_remoteChangesetQueue'][_0x3da31e(0x1ce)](_0x529309=>this[_0x3da31e(0x3d8)](_0x529309)),this['_remoteChangesetQueue']=[];}[_0x575481(0x3d8)](_0x5cef72){var _0x2dedda=_0x575481;const _0x270b33=this['_compressMutationService'][_0x2dedda(0x1ca)][_0x2dedda(0x244)](this[_0x2dedda(0x18a)]['interceptor'][_0x2dedda(0x3bd)]()[_0x2dedda(0x419)])(_0x5cef72[_0x2dedda(0x418)],null)||_0x5cef72[_0x2dedda(0x418)],_0x5ba9ae={..._0x5cef72,'mutations':_0x270b33};this[_0x2dedda(0x2e3)](),this[_0x2dedda(0x1ab)](this[_0x2dedda(0x3c5)]['onRemoteChangeset'](_0x5ba9ae)),this[_0x2dedda(0x355)]();}[_0x575481(0x14d)](_0x2c7ad6){var _0x10baa4=_0x575481;this[_0x10baa4(0x2e3)](),this[_0x10baa4(0x1ab)](this[_0x10baa4(0x3c5)]['onRemoteAck'](_0x2c7ad6)),this[_0x10baa4(0x355)]();}[_0x575481(0x124)](_0x5ec0ba){var _0x17fc26=_0x575481;this[_0x17fc26(0x2e3)](),this[_0x17fc26(0x1ab)](this[_0x17fc26(0x3c5)][_0x17fc26(0x184)](_0x5ec0ba)),this[_0x17fc26(0x355)]();}[_0x575481(0x379)](_0x37650a){var _0x4f80e8=_0x575481;this['_lockTransition'](),this[_0x4f80e8(0x1ab)](this[_0x4f80e8(0x3c5)]['onRemoteRetry'](_0x37650a)),this[_0x4f80e8(0x355)]();}[_0x575481(0x236)](_0x204b1d){var _0x15a4ab=_0x575481;if(!(this['_state']instanceof Q))throw new TypeError(_0x15a4ab(0x265));const _0x5686be=_0x204b1d['map'](_0x1d4f53=>{var _0x3e25f2=_0x15a4ab;const _0x1374a4=this[_0x3e25f2(0x18a)][_0x3e25f2(0x1ca)][_0x3e25f2(0x244)](this[_0x3e25f2(0x18a)]['interceptor'][_0x3e25f2(0x3bd)]()[_0x3e25f2(0x419)])(_0x1d4f53[_0x3e25f2(0x418)],null)||_0x1d4f53[_0x3e25f2(0x418)];return{..._0x1d4f53,'mutations':_0x1374a4};});this[_0x15a4ab(0x2e3)](),this[_0x15a4ab(0x1ab)](this['_state'][_0x15a4ab(0x26d)](_0x5686be)),this[_0x15a4ab(0x355)]();}[_0x575481(0x17b)](){var _0xc27d66=_0x575481;this[_0xc27d66(0x2e3)](),this[_0xc27d66(0x1ab)](this['_state'][_0xc27d66(0x370)]()),this[_0xc27d66(0x355)]();}[_0x575481(0x3ab)](_0x383444=!0x1){var _0x46c99b=_0x575481;this[_0x46c99b(0x2e3)](),this[_0x46c99b(0x1ab)](this[_0x46c99b(0x3c5)][_0x46c99b(0x315)]()),this['_unlockTransition']();const _0x5c88f2=this[_0x46c99b(0x3c5)];_0x383444&&_0x5c88f2 instanceof ye&&(this[_0x46c99b(0x2e3)](),this['_updateState'](_0x5c88f2['fetchMiss']()),this['_unlockTransition']());}async[_0x575481(0x361)](){return new Promise(_0x3f26e1=>{var _0x241c3e=_0x27b4;this[_0x241c3e(0x240)][_0x241c3e(0x3fa)][_0x241c3e(0x272)](_0xffa32c(0x1))[_0x241c3e(0x1d1)](async _0x3c75b4=>{var _0x54cc78=_0x241c3e;_0x3f26e1(await this[_0x54cc78(0x2d8)](_0x3c75b4===Se[_0x54cc78(0x141)]));});});}['_createHandler'](){const _0x2d288e=this['unitID'];return{'onStateChange':(_0x37ed65,_0x2dbfca)=>{var _0x1f5606=_0x27b4;if(_0x37ed65!==this[_0x1f5606(0x3c5)])throw new Error(_0x1f5606(0x294)+_0x37ed65['status']+'\x0aAfter:\x20'+_0x2dbfca[_0x1f5606(0x2ad)]+_0x1f5606(0x143)+this[_0x1f5606(0x3c5)][_0x1f5606(0x2ad)]);this[_0x1f5606(0x1ab)](_0x2dbfca);},'onSendChangeset':_0x9cbb5b=>{var _0x5e7076=_0x27b4;_0x9cbb5b[_0x5e7076(0x116)]||(_0x9cbb5b['sid']=this[_0x5e7076(0x336)],_0x9cbb5b[_0x5e7076(0x2db)]=++this[_0x5e7076(0x324)]);const _0x3955fa={'eventID':_0xc491a6[_0x5e7076(0x30b)],'data':{'unitID':_0x9cbb5b[_0x5e7076(0x290)],'unitType':this[_0x5e7076(0x27e)],'changeset':_0x9cbb5b,'memberID':this[_0x5e7076(0x240)][_0x5e7076(0x36d)]()}};this[_0x5e7076(0x240)][_0x5e7076(0x40b)](_0x3955fa,this[_0x5e7076(0x290)]);},'onMissingChangesets':({from:_0x137ad6,to:_0x4efb90})=>{var _0x20b553=_0x27b4;this['_logService'][_0x20b553(0x383)](_0x20b553(0x1ac),'fetching\x20missing\x20changesets\x20from\x20'+_0x137ad6+_0x20b553(0x15e)+_0x4efb90);const _0x356fbe={'eventID':_0xc491a6[_0x20b553(0x3b2)],'data':{'unitID':_0x2d288e,'unitType':this[_0x20b553(0x27e)],'from':_0x137ad6,'to':_0x4efb90}};this[_0x20b553(0x240)]['send'](_0x356fbe,this[_0x20b553(0x290)]);}};}async[_0x575481(0x2d8)](_0xe70ed2){var _0x266a03=_0x575481,_0x15fd4c,_0x42fb26,_0x32a3d6;const _0x42adf4=await((_0x15fd4c=this[_0x266a03(0x385)])==null?void 0x0:_0x15fd4c[_0x266a03(0x15d)](this[_0x266a03(0x290)])),_0x53c994=(_0x42fb26=_0x42adf4==null?void 0x0:_0x42adf4[_0x266a03(0x418)])!=null?_0x42fb26:[],_0x4c8e54=(_0x32a3d6=_0x42adf4==null?void 0x0:_0x42adf4[_0x266a03(0x37b)])!=null?_0x32a3d6:null,_0x481be5=!!(_0x4c8e54!=null&&_0x4c8e54[_0x266a03(0x116)])&&!!(_0x4c8e54!=null&&_0x4c8e54['reqId']);this[_0x266a03(0x336)]=_0x481be5?_0x4c8e54[_0x266a03(0x116)]:_0x55b2be(),this[_0x266a03(0x324)]=_0x481be5?_0x4c8e54[_0x266a03(0x2db)]:0x0;const _0x36af4d=this[_0x266a03(0x290)];try{this['_replayCachedMutations'](_0x4c8e54,_0x53c994);}catch(_0x3ef828){this[_0x266a03(0x1e0)][_0x266a03(0x329)](_0x3ef828);}const _0x3015e2=this[_0x266a03(0x3b4)]();if(_0xe70ed2){const _0x25ee24=Ri(this[_0x266a03(0x388)],_0x36af4d,this[_0x266a03(0x27e)],_0x4c8e54,_0x53c994,_0x3015e2);return _0x25ee24 instanceof re?_0x25ee24[_0x266a03(0x300)]():(_0x25ee24 instanceof ae||_0x25ee24 instanceof _e)&&_0x25ee24[_0x266a03(0x11e)](),_0x25ee24;}return this[_0x266a03(0x388)]['createInstance'](ue,_0x36af4d,this[_0x266a03(0x27e)],_0x4c8e54,_0x53c994,_0x3015e2);}[_0x575481(0x1be)](_0x4d498f,_0x560b67){var _0x46bcc7=_0x575481,_0x5c1f6f,_0x3d922f;const _0x6ff35a=this[_0x46bcc7(0x18a)][_0x46bcc7(0x1ca)]['fetchThroughInterceptors'](this[_0x46bcc7(0x18a)][_0x46bcc7(0x1ca)][_0x46bcc7(0x3bd)]()['COMPRESS_MUTATION_APPLY']);(_0x5c1f6f=_0x6ff35a((_0x4d498f==null?void 0x0:_0x4d498f[_0x46bcc7(0x418)])||[],null))==null||_0x5c1f6f[_0x46bcc7(0x1ce)](_0x307daf=>this[_0x46bcc7(0x202)][_0x46bcc7(0x3a7)](_0x307daf['id'],_0x307daf[_0x46bcc7(0x2ec)])),(_0x3d922f=_0x6ff35a(_0x560b67||[],null))==null||_0x3d922f[_0x46bcc7(0x1ce)](_0x1c25c0=>this[_0x46bcc7(0x202)][_0x46bcc7(0x3a7)](_0x1c25c0['id'],_0x1c25c0[_0x46bcc7(0x2ec)]));}};st=wt([H(0x3,_0xc3fde9(_0x11e6a7)),H(0x4,_0xc3fde9(_0x44e05d)),H(0x5,_0xc3fde9(_0xcccf9a)),H(0x6,_0xc3fde9(_0xf9d248)),H(0x7,_0xc3fde9(ve)),H(0x8,_0x358d49),H(0x9,_0x5e9ffa),H(0xa,_0x56d703),H(0xb,_0x34a233(ht)),H(0xc,_0x34a233(J))],st);let St=class extends st{constructor(_0x29adf2,_0x3b14e4,_0x5d77f7,_0x2fbd33,_0x154f72,_0x221a1e,_0x4e999e,_0xe102f4,_0x6b2794,_0x3c62dd,_0xc42777,_0x4176a8,_0x2becd3){var _0x5120ae=_0x575481;super(_0x29adf2,_0x5d77f7,_0x3b14e4,_0x2fbd33,_0x154f72,_0x221a1e,_0x4e999e,_0xe102f4,_0x6b2794,_0x3c62dd,_0xc42777,_0x4176a8,_0x2becd3),N(this,_0x5120ae(0x1f1),null),(this['unitID']=_0x29adf2,this[_0x5120ae(0x2e9)]=_0x3b14e4);}[_0x575481(0x2e0)](_0x3d0539){var _0x56bdf9=_0x575481;this[_0x56bdf9(0x1f1)]=_0x3d0539;}[_0x575481(0x2e1)](){var _0x2d3667=_0x575481;this[_0x2d3667(0x1f1)]=null,super[_0x2d3667(0x2e1)]();}[_0x575481(0x3b4)](){var _0x496108=_0x575481;const _0x314876=super[_0x496108(0x3b4)]();return _0x314876[_0x496108(0x1cf)]=_0x43a0af=>{var _0x333d4b=_0x496108,_0x5b43f3,_0x31d8c5;return(_0x31d8c5=(_0x5b43f3=this['_handlerCallback'])==null?void 0x0:_0x5b43f3[_0x333d4b(0x1cf)])==null?void 0x0:_0x31d8c5[_0x333d4b(0x26c)](_0x5b43f3,_0x43a0af);},_0x314876[_0x496108(0x409)]=_0x454de8=>{var _0x5a7175=_0x496108,_0x382543,_0x3b9b6b;return(_0x3b9b6b=(_0x382543=this[_0x5a7175(0x1f1)])==null?void 0x0:_0x382543[_0x5a7175(0x409)])==null?void 0x0:_0x3b9b6b[_0x5a7175(0x26c)](_0x382543,_0x454de8);},_0x314876[_0x496108(0x129)]=_0x13443b=>{var _0x54fa16=_0x496108,_0x27e75a,_0x29ffeb;return(_0x29ffeb=(_0x27e75a=this[_0x54fa16(0x1f1)])==null?void 0x0:_0x27e75a['onTransformSelections'])==null?void 0x0:_0x29ffeb[_0x54fa16(0x26c)](_0x27e75a,_0x13443b);},_0x314876[_0x496108(0x2a3)]=_0x5633f3=>{var _0x5e3172=_0x496108,_0x120549,_0x34e938;return(_0x34e938=(_0x120549=this['_handlerCallback'])==null?void 0x0:_0x120549[_0x5e3172(0x2a3)])==null?void 0x0:_0x34e938[_0x5e3172(0x26c)](_0x120549,_0x5633f3);},_0x314876[_0x496108(0x34c)]=_0x359901=>{var _0x429290=_0x496108,_0x1f5721,_0x421471,_0x6c10e6;if(!((_0x1f5721=this['_handlerCallback'])!=null&&_0x1f5721[_0x429290(0x34c)]))throw new Error(_0x429290(0x3f4));return(_0x6c10e6=(_0x421471=this['_handlerCallback'])==null?void 0x0:_0x421471['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x6c10e6[_0x429290(0x26c)](_0x421471,_0x359901);},_0x314876[_0x496108(0x36a)]=_0x4ebbef=>{var _0x5d14b4=_0x496108,_0x5cefd7,_0x3429e2,_0x335a6d;if(!((_0x5cefd7=this[_0x5d14b4(0x1f1)])!=null&&_0x5cefd7[_0x5d14b4(0x36a)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x335a6d=(_0x3429e2=this[_0x5d14b4(0x1f1)])==null?void 0x0:_0x3429e2['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x335a6d[_0x5d14b4(0x26c)](_0x3429e2,_0x4ebbef);},_0x314876;}async[_0x575481(0x1dd)](){var _0x5be935=_0x575481;const _0x276bc4=await super[_0x5be935(0x1dd)]();return this[_0x5be935(0x2dd)](this[_0x5be935(0x202)][_0x5be935(0x2a9)]((_0x323362,_0xadf52e)=>{var _0x11a817=_0x5be935;if(_0x323362[_0x11a817(0x2e9)]!==_0x5aad24['MUTATION']||_0xadf52e!=null&&_0xadf52e[_0x11a817(0x3e0)]||_0xadf52e!=null&&_0xadf52e[_0x11a817(0x282)]||_0x323362['id']===_0x2dbe49['id'])return;const _0x18d254=_0x323362[_0x11a817(0x2ec)];if((_0x18d254==null?void 0x0:_0x18d254[_0x11a817(0x266)])!==this['unitID'])return;const _0x57704a=_0x323362,_0x5b3af1=this[_0x11a817(0x18a)][_0x11a817(0x1ca)][_0x11a817(0x244)](this[_0x11a817(0x18a)][_0x11a817(0x1ca)][_0x11a817(0x3bd)]()[_0x11a817(0x416)])([_0x57704a],null)||[_0x57704a];this[_0x11a817(0x37d)](_0x5b3af1[0x0]);})),_0x276bc4;}};St=wt([H(0x3,_0xc3fde9(_0x11e6a7)),H(0x4,_0xc3fde9(_0x44e05d)),H(0x5,_0xc3fde9(_0xcccf9a)),H(0x6,_0xc3fde9(_0xf9d248)),H(0x7,_0xc3fde9(ve)),H(0x8,_0x358d49),H(0x9,_0x5e9ffa),H(0xa,_0x56d703),H(0xb,_0x34a233(ht)),H(0xc,_0x34a233(J))],St);let Et=class extends st{constructor(_0x4da233,_0x4c8c43,_0x5bee94,_0x62c256,_0x3fb611,_0x12d713,_0x52b34b,_0x29d515,_0x2e3e18,_0x3272ea,_0x4639d1,_0x40eb40,_0x39d293,_0x381ae8){var _0x702a01=_0x575481;super(_0x4da233,_0x5bee94,_0x4c8c43,_0x62c256,_0x3fb611,_0x12d713,_0x52b34b,_0x2e3e18,_0x3272ea,_0x4639d1,_0x40eb40,_0x39d293,_0x381ae8),this[_0x702a01(0x290)]=_0x4da233,this[_0x702a01(0x2e9)]=_0x4c8c43,this[_0x702a01(0x415)]=_0x29d515;}[_0x575481(0x3b4)](){var _0xda8063=_0x575481;const _0xc13d1a=super[_0xda8063(0x3b4)]();return _0xc13d1a[_0xda8063(0x129)]=_0x179c51=>this['_sheetTransformSelectionsService'][_0xda8063(0x2ef)](_0x179c51),_0xc13d1a;}async['_init'](){var _0x1b315a=_0x575481;const _0x271729=await super[_0x1b315a(0x1dd)]();return this[_0x1b315a(0x2dd)](this[_0x1b315a(0x202)][_0x1b315a(0x2a9)]((_0x5e207d,_0x15e54d)=>{var _0x551586=_0x1b315a;if(_0x5e207d['type']!==_0x5aad24[_0x551586(0x163)]||_0x15e54d!=null&&_0x15e54d['fromCollab']||_0x15e54d!=null&&_0x15e54d[_0x551586(0x282)])return;const _0x4564d9=_0x5e207d[_0x551586(0x2ec)];if((_0x4564d9==null?void 0x0:_0x4564d9['unitId'])!==this[_0x551586(0x290)])return;const _0x481e5d=_0x5e207d,_0x4d8a2a=this[_0x551586(0x18a)]['interceptor'][_0x551586(0x244)](this['_compressMutationService'][_0x551586(0x1ca)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x481e5d],null)||[_0x481e5d];this[_0x551586(0x37d)](_0x4d8a2a[0x0]);})),_0x271729;}};Et=wt([H(0x3,_0xc3fde9(_0x11e6a7)),H(0x4,_0xc3fde9(_0x44e05d)),H(0x5,_0xc3fde9(_0xcccf9a)),H(0x6,_0xc3fde9(_0xf9d248)),H(0x7,_0xc3fde9(it)),H(0x8,_0xc3fde9(ve)),H(0x9,_0x358d49),H(0xa,_0x5e9ffa),H(0xb,_0x56d703),H(0xc,_0x34a233(ht)),H(0xd,_0x34a233(J))],Et);var Qs=Object[_0x575481(0x150)],en=(_0x4582e4,_0x2670aa,_0x2fe977,_0x4cf415)=>{var _0x1ce99d=_0x575481;for(var _0x2131ee=_0x4cf415>0x1?void 0x0:_0x4cf415?Qs(_0x2670aa,_0x2fe977):_0x2670aa,_0x545265=_0x4582e4[_0x1ce99d(0x2b8)]-0x1,_0x48bbcd;_0x545265>=0x0;_0x545265--)(_0x48bbcd=_0x4582e4[_0x545265])&&(_0x2131ee=_0x48bbcd(_0x2131ee)||_0x2131ee);return _0x2131ee;},Be=(_0x27f1d3,_0x101a6b)=>(_0x7c1160,_0x4bb2fa)=>_0x101a6b(_0x7c1160,_0x4bb2fa,_0x27f1d3);let nt=class extends _0x36fb88{constructor(_0x24f3dc,_0x27d7c3,_0x495d39,_0x358624){var _0x2dfcbe=_0x575481,_0x2a920d;super(),N(this,_0x2dfcbe(0x28a),new Map()),N(this,'_entityInit$',new _0x49d875()),N(this,_0x2dfcbe(0x23f),this[_0x2dfcbe(0x2f8)]['asObservable']()),(this['_injector']=_0x24f3dc,this['_collabSessionService']=_0x27d7c3,this[_0x2dfcbe(0x307)]=_0x495d39,this[_0x2dfcbe(0x2e8)]=_0x358624,((_0x2a920d=this[_0x2dfcbe(0x307)][_0x2dfcbe(0x2e7)](K))==null?void 0x0:_0x2a920d[_0x2dfcbe(0x378)])!==!0x1&&this[_0x2dfcbe(0x1dd)]());}[_0x575481(0x2e1)](){var _0x40220c=_0x575481;super[_0x40220c(0x2e1)](),this['_entities']['forEach'](_0x50194e=>_0x50194e['dispose']()),this[_0x40220c(0x28a)][_0x40220c(0x2cd)]();}[_0x575481(0x2ea)](_0x3db467){var _0x15f95d=_0x575481,_0x5337e6;return(_0x5337e6=this[_0x15f95d(0x28a)][_0x15f95d(0x1a7)](_0x3db467))!=null?_0x5337e6:null;}[_0x575481(0x26a)](_0x49d791){var _0x420432=_0x575481;const _0x46ef71=this[_0x420432(0x2ea)](_0x49d791);return _0x46ef71?_0x43a44c(_0x46ef71):this[_0x420432(0x2f8)]['pipe'](_0x55c517(_0x461df9=>_0x461df9[_0x420432(0x290)]===_0x49d791));}[_0x575481(0x293)](_0x1be512){var _0x1bd76d=_0x575481;return _0x4e6bda(this[_0x1bd76d(0x26a)](_0x1be512)[_0x1bd76d(0x272)](_0x4b783b(()=>{})));}[_0x575481(0x1dd)](){var _0x3142d4=_0x575481;this[_0x3142d4(0x2e8)][_0x3142d4(0x2fa)](_0x18640d[_0x3142d4(0x1a4)])['pipe'](_0x5cfae5(this[_0x3142d4(0x348)]),_0x4c9a14(0x10))[_0x3142d4(0x1d1)](async _0x15e626=>{var _0x2dd9e4=_0x3142d4;const _0x548521=_0x15e626['getUnitId'](),_0x568ef0=await this[_0x2dd9e4(0x2d7)](_0x548521,Z[_0x2dd9e4(0x1a4)]);this[_0x2dd9e4(0x28a)][_0x2dd9e4(0x1f4)](_0x548521,_0x568ef0);}),this[_0x3142d4(0x2e8)][_0x3142d4(0x2fa)](_0x18640d[_0x3142d4(0x3b7)])[_0x3142d4(0x272)](_0x5cfae5(this[_0x3142d4(0x348)]),_0x4c9a14(0x10))['pipe'](_0x55c517(_0x102f30=>!_0x102f30['getUnitId']()[_0x3142d4(0x2ae)]('__')))[_0x3142d4(0x1d1)](async _0x3ae12e=>{var _0x1300d8=_0x3142d4;const _0x3d6b5d=_0x3ae12e[_0x1300d8(0x3fb)](),_0x2e1068=await this[_0x1300d8(0x2d7)](_0x3d6b5d,Z[_0x1300d8(0x3b7)]);this[_0x1300d8(0x28a)][_0x1300d8(0x1f4)](_0x3d6b5d,_0x2e1068);}),_0xd11ec1(this[_0x3142d4(0x2e8)]['getTypeOfUnitDisposed$'](_0x18640d[_0x3142d4(0x1a4)]),this[_0x3142d4(0x2e8)]['getTypeOfUnitDisposed$'](_0x18640d[_0x3142d4(0x3b7)]))['pipe'](_0x5cfae5(this[_0x3142d4(0x348)]))[_0x3142d4(0x1d1)](_0x517d0a=>{var _0x17afc=_0x3142d4;const _0x324eef=_0x517d0a[_0x17afc(0x3fb)](),_0x314a6e=this[_0x17afc(0x28a)]['get'](_0x324eef);_0x314a6e&&(_0x314a6e[_0x17afc(0x2e1)](),this['_entities'][_0x17afc(0x259)](_0x324eef));});}async[_0x575481(0x2d7)](_0x8344c9,_0x452990){var _0x2a12d3=_0x575481;const _0x5b3b15=await this['_collabSessionService']['requireSession'](_0x8344c9),_0x5a1dc6=this[_0x2a12d3(0x388)][_0x2a12d3(0x238)](this[_0x2a12d3(0x11a)](_0x452990),_0x8344c9,_0x452990,_0x5b3b15);return await _0x5a1dc6[_0x2a12d3(0x226)](),this[_0x2a12d3(0x2f8)][_0x2a12d3(0x2f4)](_0x5a1dc6),_0x5a1dc6;}['_getCtorByUniverType'](_0x4ae62e){var _0x5ec239=_0x575481;switch(_0x4ae62e){case Z[_0x5ec239(0x3b7)]:return St;case Z[_0x5ec239(0x1a4)]:return Et;default:throw new Error(_0x5ec239(0x3a3)+_0x4ae62e);}}};nt=en([Be(0x0,_0xc3fde9(_0x11e6a7)),Be(0x1,_0xc3fde9(Le)),Be(0x2,_0xfd96b9),Be(0x3,_0x276651)],nt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x28cba2,_0x2391bb,_0x2709bd,_0x24fe97)=>{var _0x50bd23=_0x575481;for(var _0xba891f=_0x24fe97>0x1?void 0x0:_0x24fe97?tn(_0x2391bb,_0x2709bd):_0x2391bb,_0x4d89f0=_0x28cba2[_0x50bd23(0x2b8)]-0x1,_0x367498;_0x4d89f0>=0x0;_0x4d89f0--)(_0x367498=_0x28cba2[_0x4d89f0])&&(_0xba891f=_0x367498(_0xba891f)||_0xba891f);return _0xba891f;},Wt=(_0x132cf9,_0x25380a)=>(_0x2a0cbf,_0x393d27)=>_0x25380a(_0x2a0cbf,_0x393d27,_0x132cf9);const nn=_0x575481(0x1da),rn=_0x575481(0x286);let It=class extends _0x1b0f07{constructor(_0x4cdc30,_0x4ff5f7){var _0x5a0eb0=_0x575481;super(),this['_univerInstanceService']=_0x4cdc30,this[_0x5a0eb0(0x307)]=_0x4ff5f7,this[_0x5a0eb0(0x1dd)]();}[_0x575481(0x1dd)](){var _0x4d3902=_0x575481;this[_0x4d3902(0x2dd)](this[_0x4d3902(0x2e8)][_0x4d3902(0x145)][_0x4d3902(0x1d1)](()=>{var _0x265464=_0x4d3902,_0x2f2e5d;const _0x17171c=this['_univerInstanceService'][_0x265464(0x3b8)]();let _0x244b27=(_0x2f2e5d=this[_0x265464(0x307)][_0x265464(0x2e7)](nn))!=null?_0x2f2e5d:rn;_0x17171c instanceof _0x5b3edb&&(_0x244b27=_0x17171c[_0x265464(0x14f)]),document['title']=_0x244b27;}));}};It=sn([Wt(0x0,_0x276651),Wt(0x1,_0xfd96b9)],It);var an=Object[_0x575481(0x150)],on=(_0x41da2d,_0x583be5,_0x11a6b8,_0x5c6715)=>{for(var _0x1d5001=_0x5c6715>0x1?void 0x0:_0x5c6715?an(_0x583be5,_0x11a6b8):_0x583be5,_0x10a0a0=_0x41da2d['length']-0x1,_0x10fbb6;_0x10a0a0>=0x0;_0x10a0a0--)(_0x10fbb6=_0x41da2d[_0x10a0a0])&&(_0x1d5001=_0x10fbb6(_0x1d5001)||_0x1d5001);return _0x1d5001;},dt=(_0x43fa58,_0x428e0e)=>(_0x59aa8f,_0x3fce0a)=>_0x428e0e(_0x59aa8f,_0x3fce0a,_0x43fa58);let rt=class{constructor(_0x3c388e,_0xe75a6f,_0xd1e032){var _0x5efcb7=_0x575481;this[_0x5efcb7(0x307)]=_0x3c388e,this[_0x5efcb7(0x161)]=_0xe75a6f,this['localeService']=_0xd1e032,this['init']();}['init'](){var _0x1ab23f=_0x575481;this[_0x1ab23f(0x161)][_0x1ab23f(0x3c3)]({'priority':0x1,'interceptor':(_0x3865b9,_0x2cf5d9)=>_0x2cf5d9(_0x3865b9)[_0x1ab23f(0x272)](_0x209dbb(async _0x186b3c=>{var _0x2f277f=_0x1ab23f;const _0x4064e6=_0x186b3c;if(_0x4064e6['status']===0x191){if(typeof window>'u')throw new Error(_0x2f277f(0x1f7));if(window['confirm'](this['localeService']['t'](_0x2f277f(0x21c)))){const _0x1fd837=window[_0x2f277f(0x117)](window[_0x2f277f(0x127)][_0x2f277f(0x344)]);window[_0x2f277f(0x127)][_0x2f277f(0x344)]=this[_0x2f277f(0x2b0)]()+'?url='+_0x1fd837;}}return _0x4064e6;}))});}[_0x575481(0x2b0)](){var _0x3764ed=_0x575481,_0x161e08,_0x5b8b48;const _0x27a10f=this[_0x3764ed(0x307)][_0x3764ed(0x2e7)](ys),_0x3bcdb4=this[_0x3764ed(0x307)][_0x3764ed(0x2e7)](K);return(_0x5b8b48=(_0x161e08=_0x3bcdb4==null?void 0x0:_0x3bcdb4[_0x3764ed(0x25f)])!=null?_0x161e08:_0x27a10f)!=null?_0x5b8b48:Ns;}};rt=on([dt(0x0,_0xfd96b9),dt(0x1,_0xc3fde9(_0x2f31db)),dt(0x2,_0xc3fde9(_0xcccf9a))],rt);var cn=Object[_0x575481(0x150)],hn=(_0x2f7a35,_0x16be7e,_0x19c828,_0x5df20b)=>{var _0x3244cc=_0x575481;for(var _0x665ebe=_0x5df20b>0x1?void 0x0:_0x5df20b?cn(_0x16be7e,_0x19c828):_0x16be7e,_0x3083f7=_0x2f7a35[_0x3244cc(0x2b8)]-0x1,_0x2a7e19;_0x3083f7>=0x0;_0x3083f7--)(_0x2a7e19=_0x2f7a35[_0x3083f7])&&(_0x665ebe=_0x2a7e19(_0x665ebe)||_0x665ebe);return _0x665ebe;},Kt=(_0x5ef337,_0x3f1e46)=>(_0x2ca5ad,_0x2a8a0e)=>_0x3f1e46(_0x2ca5ad,_0x2a8a0e,_0x5ef337);const Oi=_0x575481(0x2f1),_n='/universer-api/authz';let Tt=class extends _0x1b0f07{constructor(_0x3e4c1e,_0xbfc424){var _0x481585=_0x575481;super(),this[_0x481585(0x2bf)]=_0x3e4c1e,this['_configService']=_0xbfc424,this[_0x481585(0x195)]();}[_0x575481(0x195)](){var _0x160aa2=_0x575481;const _0x32f9b7=this;this[_0x160aa2(0x2dd)](this[_0x160aa2(0x2bf)][_0x160aa2(0x3c3)]({'priority':0x3e7,'interceptor':_0x16d929({'isMatch'(_0x23a1a8){var _0x4e5b72=_0x160aa2,_0x2f0fe1;if(_0x23a1a8[_0x4e5b72(0x3a9)]==='POST'&&((_0x2f0fe1=_0x23a1a8[_0x4e5b72(0x397)])!=null&&_0x2f0fe1[_0x4e5b72(0x21a)])){const {objectID:_0x4c8358,objectType:_0x54aa0f}=_0x23a1a8[_0x4e5b72(0x397)][_0x4e5b72(0x21a)]||{};if(!_0x4c8358||_0x54aa0f===void 0x0)return!0x1;const _0x134104=_0x32f9b7[_0x4e5b72(0x22e)]()+'/'+_0x54aa0f+_0x4e5b72(0x2b4)+_0x4c8358+_0x4e5b72(0x411);if(_0x23a1a8['url']===_0x134104)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1611ae){var _0x235b53=_0x160aa2,_0x5dc6cb;return(_0x5dc6cb=_0x1611ae[_0x235b53(0x397)])==null?void 0x0:_0x5dc6cb[_0x235b53(0x21a)];},'mergeParamsToRequest'(_0x2c400a,_0x3aad7c){var _0x3c495b=_0x160aa2;const _0x53cd3a=_0x32f9b7[_0x3c495b(0x22e)]()+_0x3c495b(0x25c),_0x24fb58=_0x2c400a[_0x3c495b(0x3c0)]((_0x36f940,_0x311319)=>{var _0x3b8b4c=_0x3c495b;const {unitID:_0x23e5b9,objectID:_0x272f01,objectType:_0x113eb8,actions:_0x35b57e}=_0x311319;return _0x36f940[_0x23e5b9]||(_0x36f940[_0x23e5b9]={}),_0x36f940[_0x23e5b9][_0x272f01]||(_0x36f940[_0x23e5b9][_0x272f01]={'objectID':_0x272f01,'objectType':_0x113eb8,'actions':[]}),_0x36f940[_0x23e5b9][_0x272f01][_0x3b8b4c(0x3cf)]['push'](..._0x35b57e),_0x36f940;},{}),_0x51091f=[];for(const _0x2628eb in _0x24fb58)for(const _0x3e877f in _0x24fb58[_0x2628eb]){const {actions:_0x1111d6,objectType:_0x2c5577}=_0x24fb58[_0x2628eb][_0x3e877f],_0x51274b=[...new Set(_0x1111d6)];_0x51091f[_0x3c495b(0x13d)]({'unitID':_0x2628eb,'objectID':_0x3e877f,'objectType':_0x2c5577,'actions':_0x51274b});}return new _0x102a8c('POST',_0x53cd3a,{'headers':_0x3aad7c[_0x3c495b(0x2bb)],'withCredentials':_0x3aad7c[_0x3c495b(0x30c)],'responseType':_0x3aad7c[_0x3c495b(0x18d)],'body':{'requests':_0x51091f}});}},{'distributeResult'(_0x40897d,_0x57b195){var _0x1df28e=_0x160aa2;const {objectActions:_0x1497a6}=_0x40897d;return _0x57b195[_0x1df28e(0x2ca)](_0x5cc7ba=>{var _0x4b9f76=_0x1df28e;const {unitID:_0x5a6142,objectID:_0x4c351a,actions:_0x38c817}=_0x5cc7ba,_0x38580b=_0x1497a6[_0x4b9f76(0x299)](_0x89fb53=>_0x89fb53[_0x4b9f76(0x290)]===_0x5a6142&&_0x89fb53[_0x4b9f76(0x373)]===_0x4c351a),_0x9988ec=_0x38c817[_0x4b9f76(0x2ca)](_0x176d16=>_0x38580b==null?void 0x0:_0x38580b[_0x4b9f76(0x3cf)]['find'](_0x2608ed=>_0x2608ed[_0x4b9f76(0x14c)]===_0x176d16))[_0x4b9f76(0x406)](_0x1399d0=>!!_0x1399d0);return{'config':_0x5cc7ba,'result':{'actions':_0x9988ec,'error':_0x40897d[_0x4b9f76(0x329)]}};});}})}));}[_0x575481(0x22e)](){var _0x49ea16=_0x575481,_0x3f2889,_0x8bd029;const _0x532c2d=this[_0x49ea16(0x307)][_0x49ea16(0x2e7)](Oi),_0x563403=this[_0x49ea16(0x307)][_0x49ea16(0x2e7)](K);return(_0x8bd029=(_0x3f2889=_0x563403==null?void 0x0:_0x563403['authzUrl'])!=null?_0x3f2889:_0x532c2d)!=null?_0x8bd029:_n;}async[_0x575481(0x29b)](_0x3d2fc0){var _0x892e6b=_0x575481;const _0x466432=this[_0x892e6b(0x22e)]()+'/'+_0x3d2fc0['objectType']+_0x892e6b(0x1eb);return(await this['_HTTPService'][_0x892e6b(0x323)](_0x466432,{'body':_0x3d2fc0}))['body'][_0x892e6b(0x373)]||'';}async[_0x575481(0x1cc)](_0x6c2a74){var _0x49ad54=_0x575481;const _0x3b684e=this[_0x49ad54(0x22e)]()+_0x49ad54(0x21f);return(await this[_0x49ad54(0x2bf)]['post'](_0x3b684e,{'body':_0x6c2a74}))[_0x49ad54(0x21a)][_0x49ad54(0x285)];}async[_0x575481(0x34e)](_0x130288){var _0x46d389=_0x575481,_0x565108,_0x2183c7;const _0x2457c5=this[_0x46d389(0x22e)]()+'/'+_0x130288[_0x46d389(0x245)]+_0x46d389(0x2b4)+_0x130288['objectID'],_0x1b636b=await this[_0x46d389(0x2bf)][_0x46d389(0x1bb)](_0x2457c5,{'body':_0x130288});if(((_0x2183c7=(_0x565108=_0x1b636b==null?void 0x0:_0x1b636b['body'])==null?void 0x0:_0x565108[_0x46d389(0x329)])==null?void 0x0:_0x2183c7[_0x46d389(0x230)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x575481(0x1db)](_0x370327){var _0x27bfe7=_0x575481;const _0x4e389c=this[_0x27bfe7(0x22e)]()+'/'+_0x370327[_0x27bfe7(0x245)]+_0x27bfe7(0x2b4)+_0x370327[_0x27bfe7(0x373)]+_0x27bfe7(0x411);return(await this[_0x27bfe7(0x2bf)][_0x27bfe7(0x323)](_0x4e389c,{'body':_0x370327}))[_0x27bfe7(0x21a)][_0x27bfe7(0x3cf)];}async[_0x575481(0x193)](_0x4c88f4){var _0xba99b=_0x575481;const _0x2907d4=this[_0xba99b(0x22e)]()+_0xba99b(0x25c);return(await this[_0xba99b(0x2bf)][_0xba99b(0x323)](_0x2907d4,{'body':{'requests':_0x4c88f4}}))[_0xba99b(0x21a)][_0xba99b(0x2df)];}async[_0x575481(0x3b1)](_0x45d34c){var _0xe59ad5=_0x575481;const _0x2bed8f=this[_0xe59ad5(0x22e)]()+'/'+_0x45d34c[_0xe59ad5(0x245)]+_0xe59ad5(0x262),_0x270b2c=await this[_0xe59ad5(0x2bf)][_0xe59ad5(0x323)](_0x2bed8f,{'body':_0x45d34c});return{'roles':_0x270b2c[_0xe59ad5(0x21a)][_0xe59ad5(0x376)],'actions':_0x270b2c['body']['actions']};}async[_0x575481(0x36e)](_0x425658){var _0x3730b5=_0x575481;const _0xe1f7d7=this[_0x3730b5(0x22e)]()+_0x3730b5(0x2c8);await this[_0x3730b5(0x2bf)][_0x3730b5(0x259)](_0xe1f7d7,{'params':{'collaboratorID':_0x425658[_0x3730b5(0x3ff)],'objectID':_0x425658[_0x3730b5(0x373)],'unitID':_0x425658[_0x3730b5(0x290)]}});}async[_0x575481(0x229)](_0x16956f){var _0x4be204=_0x575481;const _0x4640b9=this[_0x4be204(0x22e)]()+_0x4be204(0x2c8);await this['_HTTPService']['patch'](_0x4640b9,{'body':_0x16956f});}async[_0x575481(0x352)](_0x5a9393){var _0x4e9128=_0x575481;const _0x2cd34f=this['_getAPIPrefixPath']()+_0x4e9128(0x2c8);await this[_0x4e9128(0x2bf)][_0x4e9128(0x323)](_0x2cd34f,{'body':_0x5a9393});}async[_0x575481(0x1b5)](_0x4c9a95){var _0x1d91a5=_0x575481;const _0x51af74=this['_getAPIPrefixPath']()+_0x1d91a5(0x2c8);return(await this[_0x1d91a5(0x2bf)][_0x1d91a5(0x1a7)](_0x51af74,{'params':{'objectID':_0x4c9a95[_0x1d91a5(0x373)],'unitID':_0x4c9a95[_0x1d91a5(0x290)]}}))[_0x1d91a5(0x21a)][_0x1d91a5(0x12a)];}async[_0x575481(0x3dc)](_0xeaeed5){var _0x573a40=_0x575481;const _0x32ade4=this[_0x573a40(0x22e)]()+_0x573a40(0x2c8);await this['_HTTPService']['put'](_0x32ade4,{'body':_0xeaeed5});}};Tt=hn([Kt(0x0,_0xc3fde9(_0x2f31db)),Kt(0x1,_0xc3fde9(_0xfd96b9))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5c4240){var _0x33cee1=_0x575481;return _0x5c4240&&_0x5c4240[_0x33cee1(0x327)]&&Object[_0x33cee1(0x316)][_0x33cee1(0x1c8)][_0x33cee1(0x26c)](_0x5c4240,_0x33cee1(0x268))?_0x5c4240[_0x33cee1(0x268)]:_0x5c4240;}var Ve={'exports':{}};function ln(_0x3aa7d9){var _0x277e83=_0x575481;throw new Error(_0x277e83(0x312)+_0x3aa7d9+_0x277e83(0x1c2));}var Ge={'exports':{}},un=Ge[_0x575481(0x21d)],qt;function te(){var _0x1a19f3=_0x575481;return qt||(qt=0x1,function(_0x49cc89,_0x32ec4e){(function(_0x3c295a,_0x45c568){var _0x56cde8=_0x27b4;_0x49cc89[_0x56cde8(0x21d)]=_0x45c568();}(un,function(){var _0x39e621=_0x39e621||function(_0x3f01c8,_0x137d4d){var _0x212a5a=_0x27b4,_0x32e867;if(typeof window<'u'&&window[_0x212a5a(0x3d0)]&&(_0x32e867=window[_0x212a5a(0x3d0)]),typeof self<'u'&&self['crypto']&&(_0x32e867=self[_0x212a5a(0x3d0)]),typeof globalThis<'u'&&globalThis[_0x212a5a(0x3d0)]&&(_0x32e867=globalThis[_0x212a5a(0x3d0)]),!_0x32e867&&typeof window<'u'&&window[_0x212a5a(0x255)]&&(_0x32e867=window[_0x212a5a(0x255)]),!_0x32e867&&typeof ft<'u'&&ft[_0x212a5a(0x3d0)]&&(_0x32e867=ft[_0x212a5a(0x3d0)]),!_0x32e867&&typeof ln==_0x212a5a(0x3d6))try{_0x32e867=require('crypto');}catch{}var _0x955c3d=function(){var _0xce64f8=_0x212a5a;if(_0x32e867){if(typeof _0x32e867[_0xce64f8(0x320)]=='function')try{return _0x32e867[_0xce64f8(0x320)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x32e867[_0xce64f8(0x288)]==_0xce64f8(0x3d6))try{return _0x32e867[_0xce64f8(0x288)](0x4)[_0xce64f8(0x2d3)]();}catch{}}throw new Error(_0xce64f8(0x3c8));},_0x47ed20=Object[_0x212a5a(0x29b)]||(function(){function _0x4c7596(){}return function(_0x1ba3dc){var _0x3f5e66=_0x27b4,_0x2d524c;return _0x4c7596[_0x3f5e66(0x316)]=_0x1ba3dc,_0x2d524c=new _0x4c7596(),_0x4c7596[_0x3f5e66(0x316)]=null,_0x2d524c;};}()),_0x36b999={},_0x2b7e4c=_0x36b999[_0x212a5a(0x11f)]={},_0x3b2395=_0x2b7e4c[_0x212a5a(0x2c3)]=(function(){return{'extend':function(_0x1595cf){var _0x26c6ad=_0x27b4,_0x5cead5=_0x47ed20(this);return _0x1595cf&&_0x5cead5[_0x26c6ad(0x3f1)](_0x1595cf),(!_0x5cead5[_0x26c6ad(0x1c8)](_0x26c6ad(0x226))||this[_0x26c6ad(0x226)]===_0x5cead5['init'])&&(_0x5cead5[_0x26c6ad(0x226)]=function(){var _0xd25744=_0x26c6ad;_0x5cead5[_0xd25744(0x20d)]['init'][_0xd25744(0x27a)](this,arguments);}),_0x5cead5[_0x26c6ad(0x226)][_0x26c6ad(0x316)]=_0x5cead5,_0x5cead5['$super']=this,_0x5cead5;},'create':function(){var _0x30de82=_0x27b4,_0x94e283=this[_0x30de82(0x1b1)]();return _0x94e283['init'][_0x30de82(0x27a)](_0x94e283,arguments),_0x94e283;},'init':function(){},'mixIn':function(_0x3e2322){var _0x1e8227=_0x27b4;for(var _0x39b23b in _0x3e2322)_0x3e2322[_0x1e8227(0x1c8)](_0x39b23b)&&(this[_0x39b23b]=_0x3e2322[_0x39b23b]);_0x3e2322[_0x1e8227(0x1c8)](_0x1e8227(0x2a8))&&(this[_0x1e8227(0x2a8)]=_0x3e2322[_0x1e8227(0x2a8)]);},'clone':function(){var _0x1e1622=_0x27b4;return this[_0x1e1622(0x226)][_0x1e1622(0x316)]['extend'](this);}};}()),_0x41fe45=_0x2b7e4c['WordArray']=_0x3b2395[_0x212a5a(0x1b1)]({'init':function(_0xd67a0e,_0x59122e){var _0x20f9e3=_0x212a5a;_0xd67a0e=this[_0x20f9e3(0x3df)]=_0xd67a0e||[],_0x59122e!=_0x137d4d?this[_0x20f9e3(0x18b)]=_0x59122e:this[_0x20f9e3(0x18b)]=_0xd67a0e[_0x20f9e3(0x2b8)]*0x4;},'toString':function(_0x41e581){var _0x420a8f=_0x212a5a;return(_0x41e581||_0x1dc039)[_0x420a8f(0x16a)](this);},'concat':function(_0x5d05be){var _0x2bee86=_0x212a5a,_0x5855d6=this[_0x2bee86(0x3df)],_0x51fb17=_0x5d05be[_0x2bee86(0x3df)],_0x13145a=this[_0x2bee86(0x18b)],_0x58409d=_0x5d05be[_0x2bee86(0x18b)];if(this[_0x2bee86(0x196)](),_0x13145a%0x4)for(var _0x434326=0x0;_0x434326<_0x58409d;_0x434326++){var _0x45b23c=_0x51fb17[_0x434326>>>0x2]>>>0x18-_0x434326%0x4*0x8&0xff;_0x5855d6[_0x13145a+_0x434326>>>0x2]|=_0x45b23c<<0x18-(_0x13145a+_0x434326)%0x4*0x8;}else{for(var _0xe984e2=0x0;_0xe984e2<_0x58409d;_0xe984e2+=0x4)_0x5855d6[_0x13145a+_0xe984e2>>>0x2]=_0x51fb17[_0xe984e2>>>0x2];}return this[_0x2bee86(0x18b)]+=_0x58409d,this;},'clamp':function(){var _0x12f119=_0x212a5a,_0x24c0d2=this[_0x12f119(0x3df)],_0x536bf0=this[_0x12f119(0x18b)];_0x24c0d2[_0x536bf0>>>0x2]&=0xffffffff<<0x20-_0x536bf0%0x4*0x8,_0x24c0d2[_0x12f119(0x2b8)]=_0x3f01c8[_0x12f119(0x218)](_0x536bf0/0x4);},'clone':function(){var _0x31c40f=_0x212a5a,_0x5757f9=_0x3b2395['clone'][_0x31c40f(0x26c)](this);return _0x5757f9[_0x31c40f(0x3df)]=this[_0x31c40f(0x3df)][_0x31c40f(0x33a)](0x0),_0x5757f9;},'random':function(_0x32cf7f){var _0x48387f=_0x212a5a;for(var _0x5e7299=[],_0x1236c0=0x0;_0x1236c0<_0x32cf7f;_0x1236c0+=0x4)_0x5e7299[_0x48387f(0x13d)](_0x955c3d());return new _0x41fe45['init'](_0x5e7299,_0x32cf7f);}}),_0x62ea13=_0x36b999[_0x212a5a(0x330)]={},_0x1dc039=_0x62ea13[_0x212a5a(0x1fa)]={'stringify':function(_0x3ec531){var _0x1d9138=_0x212a5a;for(var _0x3e768a=_0x3ec531[_0x1d9138(0x3df)],_0x25e8b7=_0x3ec531['sigBytes'],_0x1aa053=[],_0x3fa67d=0x0;_0x3fa67d<_0x25e8b7;_0x3fa67d++){var _0x4b5d45=_0x3e768a[_0x3fa67d>>>0x2]>>>0x18-_0x3fa67d%0x4*0x8&0xff;_0x1aa053['push']((_0x4b5d45>>>0x4)['toString'](0x10)),_0x1aa053[_0x1d9138(0x13d)]((_0x4b5d45&0xf)[_0x1d9138(0x2a8)](0x10));}return _0x1aa053[_0x1d9138(0x2c9)]('');},'parse':function(_0xcf4a7f){var _0x13b292=_0x212a5a;for(var _0x339fbc=_0xcf4a7f[_0x13b292(0x2b8)],_0x4cfd60=[],_0x217fde=0x0;_0x217fde<_0x339fbc;_0x217fde+=0x2)_0x4cfd60[_0x217fde>>>0x3]|=parseInt(_0xcf4a7f['substr'](_0x217fde,0x2),0x10)<<0x18-_0x217fde%0x8*0x4;return new _0x41fe45['init'](_0x4cfd60,_0x339fbc/0x2);}},_0x2345b6=_0x62ea13[_0x212a5a(0x3a5)]={'stringify':function(_0x46fd84){var _0x4de70a=_0x212a5a;for(var _0x500281=_0x46fd84[_0x4de70a(0x3df)],_0x4349e2=_0x46fd84[_0x4de70a(0x18b)],_0x1ba558=[],_0x27881d=0x0;_0x27881d<_0x4349e2;_0x27881d++){var _0x4fc898=_0x500281[_0x27881d>>>0x2]>>>0x18-_0x27881d%0x4*0x8&0xff;_0x1ba558['push'](String[_0x4de70a(0x311)](_0x4fc898));}return _0x1ba558['join']('');},'parse':function(_0x15f7a1){var _0x33ec92=_0x212a5a;for(var _0x1bfd25=_0x15f7a1[_0x33ec92(0x2b8)],_0x441aad=[],_0x32742c=0x0;_0x32742c<_0x1bfd25;_0x32742c++)_0x441aad[_0x32742c>>>0x2]|=(_0x15f7a1[_0x33ec92(0x1e4)](_0x32742c)&0xff)<<0x18-_0x32742c%0x4*0x8;return new _0x41fe45[(_0x33ec92(0x226))](_0x441aad,_0x1bfd25);}},_0x3be5b1=_0x62ea13['Utf8']={'stringify':function(_0x2d4705){var _0x7ae18d=_0x212a5a;try{return decodeURIComponent(escape(_0x2345b6[_0x7ae18d(0x16a)](_0x2d4705)));}catch{throw new Error(_0x7ae18d(0x15b));}},'parse':function(_0x2bcf68){return _0x2345b6['parse'](unescape(encodeURIComponent(_0x2bcf68)));}},_0x4212ca=_0x2b7e4c['BufferedBlockAlgorithm']=_0x3b2395[_0x212a5a(0x1b1)]({'reset':function(){var _0x1933ba=_0x212a5a;this[_0x1933ba(0x404)]=new _0x41fe45['init'](),this[_0x1933ba(0x1c0)]=0x0;},'_append':function(_0x4ccc92){var _0x9b72f9=_0x212a5a;typeof _0x4ccc92==_0x9b72f9(0x122)&&(_0x4ccc92=_0x3be5b1['parse'](_0x4ccc92)),this['_data'][_0x9b72f9(0x359)](_0x4ccc92),this[_0x9b72f9(0x1c0)]+=_0x4ccc92['sigBytes'];},'_process':function(_0x49e753){var _0xebd964=_0x212a5a,_0xa8ddff,_0x4873cc=this[_0xebd964(0x404)],_0x3815b7=_0x4873cc[_0xebd964(0x3df)],_0x3b981e=_0x4873cc[_0xebd964(0x18b)],_0x1bb729=this[_0xebd964(0x410)],_0xa7da43=_0x1bb729*0x4,_0x458267=_0x3b981e/_0xa7da43;_0x49e753?_0x458267=_0x3f01c8[_0xebd964(0x218)](_0x458267):_0x458267=_0x3f01c8[_0xebd964(0x2ed)]((_0x458267|0x0)-this['_minBufferSize'],0x0);var _0x5491e4=_0x458267*_0x1bb729,_0x20e5b9=_0x3f01c8[_0xebd964(0x351)](_0x5491e4*0x4,_0x3b981e);if(_0x5491e4){for(var _0x2b5a73=0x0;_0x2b5a73<_0x5491e4;_0x2b5a73+=_0x1bb729)this[_0xebd964(0x3a2)](_0x3815b7,_0x2b5a73);_0xa8ddff=_0x3815b7[_0xebd964(0x3e8)](0x0,_0x5491e4),_0x4873cc[_0xebd964(0x18b)]-=_0x20e5b9;}return new _0x41fe45['init'](_0xa8ddff,_0x20e5b9);},'clone':function(){var _0x28bf84=_0x212a5a,_0x478bb1=_0x3b2395[_0x28bf84(0x264)][_0x28bf84(0x26c)](this);return _0x478bb1['_data']=this[_0x28bf84(0x404)]['clone'](),_0x478bb1;},'_minBufferSize':0x0});_0x2b7e4c[_0x212a5a(0x297)]=_0x4212ca['extend']({'cfg':_0x3b2395[_0x212a5a(0x1b1)](),'init':function(_0x391ae7){var _0x5e8f91=_0x212a5a;this[_0x5e8f91(0x2fd)]=this[_0x5e8f91(0x2fd)][_0x5e8f91(0x1b1)](_0x391ae7),this[_0x5e8f91(0x21b)]();},'reset':function(){var _0x1e6df4=_0x212a5a;_0x4212ca[_0x1e6df4(0x21b)]['call'](this),this['_doReset']();},'update':function(_0x332970){var _0x4b0fdb=_0x212a5a;return this[_0x4b0fdb(0x110)](_0x332970),this[_0x4b0fdb(0x20c)](),this;},'finalize':function(_0x31e692){var _0x624633=_0x212a5a;_0x31e692&&this[_0x624633(0x110)](_0x31e692);var _0x5312f1=this['_doFinalize']();return _0x5312f1;},'blockSize':0x10,'_createHelper':function(_0x316fa3){return function(_0x2ddd91,_0x3a424f){var _0xd03383=_0x27b4;return new _0x316fa3[(_0xd03383(0x226))](_0x3a424f)['finalize'](_0x2ddd91);};},'_createHmacHelper':function(_0x32c15f){return function(_0x3d0538,_0x3d8a41){var _0x53b09b=_0x27b4;return new _0x2fae65['HMAC'][(_0x53b09b(0x226))](_0x32c15f,_0x3d8a41)[_0x53b09b(0x374)](_0x3d0538);};}});var _0x2fae65=_0x36b999[_0x212a5a(0x1ee)]={};return _0x36b999;}(Math);return _0x39e621;}));}(Ge)),Ge[_0x1a19f3(0x21d)];}var Ye={'exports':{}},dn=Ye[_0x575481(0x21d)],zt;function bi(){var _0x28cea1=_0x575481;return zt||(zt=0x1,function(_0xaed339,_0x2ccbe0){(function(_0x57660f,_0x56075d){var _0x14802c=_0x27b4;_0xaed339[_0x14802c(0x21d)]=_0x56075d(te());}(dn,function(_0x58f54e){var _0x3783d4=_0x27b4;return(function(){var _0x40a227=_0x27b4,_0x1c52f6=_0x58f54e,_0x5b5a48=_0x1c52f6['lib'],_0x255276=_0x5b5a48[_0x40a227(0x277)],_0x196d8c=_0x1c52f6[_0x40a227(0x330)];_0x196d8c[_0x40a227(0x2c1)]={'stringify':function(_0x5461b4){var _0x1a16f8=_0x40a227,_0x23a0f0=_0x5461b4[_0x1a16f8(0x3df)],_0x3c35d5=_0x5461b4[_0x1a16f8(0x18b)],_0x2a898c=this[_0x1a16f8(0x3dd)];_0x5461b4['clamp']();for(var _0x26eebe=[],_0x207b50=0x0;_0x207b50<_0x3c35d5;_0x207b50+=0x3)for(var _0x58508d=_0x23a0f0[_0x207b50>>>0x2]>>>0x18-_0x207b50%0x4*0x8&0xff,_0x158c44=_0x23a0f0[_0x207b50+0x1>>>0x2]>>>0x18-(_0x207b50+0x1)%0x4*0x8&0xff,_0x135d88=_0x23a0f0[_0x207b50+0x2>>>0x2]>>>0x18-(_0x207b50+0x2)%0x4*0x8&0xff,_0x16cf49=_0x58508d<<0x10|_0x158c44<<0x8|_0x135d88,_0x32df6e=0x0;_0x32df6e<0x4&&_0x207b50+_0x32df6e*0.75<_0x3c35d5;_0x32df6e++)_0x26eebe[_0x1a16f8(0x13d)](_0x2a898c[_0x1a16f8(0x135)](_0x16cf49>>>0x6*(0x3-_0x32df6e)&0x3f));var _0x24efdd=_0x2a898c['charAt'](0x40);if(_0x24efdd){for(;_0x26eebe[_0x1a16f8(0x2b8)]%0x4;)_0x26eebe['push'](_0x24efdd);}return _0x26eebe[_0x1a16f8(0x2c9)]('');},'parse':function(_0x1877ff){var _0x409e94=_0x40a227,_0x34cfcd=_0x1877ff[_0x409e94(0x2b8)],_0x2c2b1f=this['_map'],_0x2571a3=this[_0x409e94(0x41c)];if(!_0x2571a3){_0x2571a3=this[_0x409e94(0x41c)]=[];for(var _0x20cf19=0x0;_0x20cf19<_0x2c2b1f['length'];_0x20cf19++)_0x2571a3[_0x2c2b1f[_0x409e94(0x1e4)](_0x20cf19)]=_0x20cf19;}var _0x1a4b02=_0x2c2b1f[_0x409e94(0x135)](0x40);if(_0x1a4b02){var _0x36ff3d=_0x1877ff[_0x409e94(0x131)](_0x1a4b02);_0x36ff3d!==-0x1&&(_0x34cfcd=_0x36ff3d);}return _0x2a935f(_0x1877ff,_0x34cfcd,_0x2571a3);},'_map':_0x40a227(0x326)};function _0x2a935f(_0x3072a7,_0x332177,_0x3c4986){var _0x2891a6=_0x40a227;for(var _0x370adb=[],_0x1ee6ee=0x0,_0x251f9a=0x0;_0x251f9a<_0x332177;_0x251f9a++)if(_0x251f9a%0x4){var _0x10dec3=_0x3c4986[_0x3072a7[_0x2891a6(0x1e4)](_0x251f9a-0x1)]<<_0x251f9a%0x4*0x2,_0x4489b1=_0x3c4986[_0x3072a7['charCodeAt'](_0x251f9a)]>>>0x6-_0x251f9a%0x4*0x2,_0x120a70=_0x10dec3|_0x4489b1;_0x370adb[_0x1ee6ee>>>0x2]|=_0x120a70<<0x18-_0x1ee6ee%0x4*0x8,_0x1ee6ee++;}return _0x255276[_0x2891a6(0x29b)](_0x370adb,_0x1ee6ee);}}()),_0x58f54e[_0x3783d4(0x330)][_0x3783d4(0x2c1)];}));}(Ye)),Ye[_0x28cea1(0x21d)];}var We={'exports':{}},fn=We[_0x575481(0x21d)],Jt;function vn(){return Jt||(Jt=0x1,function(_0x1aface,_0x1e96b2){(function(_0x44e604,_0x55d208){var _0x16160f=_0x27b4;_0x1aface[_0x16160f(0x21d)]=_0x55d208(te());}(fn,function(_0x233e22){var _0x36282e=_0x27b4;return function(_0x387c01){var _0x598853=_0x27b4,_0x3adf1c=_0x233e22,_0x31a323=_0x3adf1c['lib'],_0x15d65d=_0x31a323[_0x598853(0x277)],_0x32be2e=_0x31a323[_0x598853(0x297)],_0x2df8a2=_0x3adf1c[_0x598853(0x1ee)],_0x19c14c=[];(function(){var _0x4e67d7=_0x598853;for(var _0x5f178c=0x0;_0x5f178c<0x40;_0x5f178c++)_0x19c14c[_0x5f178c]=_0x387c01[_0x4e67d7(0x19b)](_0x387c01['sin'](_0x5f178c+0x1))*0x100000000|0x0;}());var _0x491f65=_0x2df8a2[_0x598853(0x204)]=_0x32be2e[_0x598853(0x1b1)]({'_doReset':function(){var _0x8ae8c5=_0x598853;this[_0x8ae8c5(0x1f9)]=new _0x15d65d[(_0x8ae8c5(0x226))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x33e934,_0x1266c7){var _0x5d4966=_0x598853;for(var _0x270102=0x0;_0x270102<0x10;_0x270102++){var _0xb7e0d7=_0x1266c7+_0x270102,_0x3eb84a=_0x33e934[_0xb7e0d7];_0x33e934[_0xb7e0d7]=(_0x3eb84a<<0x8|_0x3eb84a>>>0x18)&0xff00ff|(_0x3eb84a<<0x18|_0x3eb84a>>>0x8)&0xff00ff00;}var _0x5691f4=this[_0x5d4966(0x1f9)][_0x5d4966(0x3df)],_0x2724c8=_0x33e934[_0x1266c7+0x0],_0x2fd9de=_0x33e934[_0x1266c7+0x1],_0x31d49b=_0x33e934[_0x1266c7+0x2],_0x35a4cc=_0x33e934[_0x1266c7+0x3],_0x235eb7=_0x33e934[_0x1266c7+0x4],_0x5c6772=_0x33e934[_0x1266c7+0x5],_0x523b5a=_0x33e934[_0x1266c7+0x6],_0x1bb5e6=_0x33e934[_0x1266c7+0x7],_0x4eaf4e=_0x33e934[_0x1266c7+0x8],_0x254bea=_0x33e934[_0x1266c7+0x9],_0x5d12b4=_0x33e934[_0x1266c7+0xa],_0x326ce1=_0x33e934[_0x1266c7+0xb],_0x331aeb=_0x33e934[_0x1266c7+0xc],_0x1f2ef8=_0x33e934[_0x1266c7+0xd],_0x12693f=_0x33e934[_0x1266c7+0xe],_0x461e64=_0x33e934[_0x1266c7+0xf],_0x2f7fe0=_0x5691f4[0x0],_0x4866c2=_0x5691f4[0x1],_0x4917fe=_0x5691f4[0x2],_0x1a8162=_0x5691f4[0x3];_0x2f7fe0=_0x1c63ba(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x2724c8,0x7,_0x19c14c[0x0]),_0x1a8162=_0x1c63ba(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x2fd9de,0xc,_0x19c14c[0x1]),_0x4917fe=_0x1c63ba(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x31d49b,0x11,_0x19c14c[0x2]),_0x4866c2=_0x1c63ba(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x35a4cc,0x16,_0x19c14c[0x3]),_0x2f7fe0=_0x1c63ba(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x235eb7,0x7,_0x19c14c[0x4]),_0x1a8162=_0x1c63ba(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x5c6772,0xc,_0x19c14c[0x5]),_0x4917fe=_0x1c63ba(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x523b5a,0x11,_0x19c14c[0x6]),_0x4866c2=_0x1c63ba(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x1bb5e6,0x16,_0x19c14c[0x7]),_0x2f7fe0=_0x1c63ba(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x4eaf4e,0x7,_0x19c14c[0x8]),_0x1a8162=_0x1c63ba(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x254bea,0xc,_0x19c14c[0x9]),_0x4917fe=_0x1c63ba(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x5d12b4,0x11,_0x19c14c[0xa]),_0x4866c2=_0x1c63ba(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x326ce1,0x16,_0x19c14c[0xb]),_0x2f7fe0=_0x1c63ba(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x331aeb,0x7,_0x19c14c[0xc]),_0x1a8162=_0x1c63ba(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1f2ef8,0xc,_0x19c14c[0xd]),_0x4917fe=_0x1c63ba(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x12693f,0x11,_0x19c14c[0xe]),_0x4866c2=_0x1c63ba(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x461e64,0x16,_0x19c14c[0xf]),_0x2f7fe0=_0x31408c(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x2fd9de,0x5,_0x19c14c[0x10]),_0x1a8162=_0x31408c(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x523b5a,0x9,_0x19c14c[0x11]),_0x4917fe=_0x31408c(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x326ce1,0xe,_0x19c14c[0x12]),_0x4866c2=_0x31408c(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x2724c8,0x14,_0x19c14c[0x13]),_0x2f7fe0=_0x31408c(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x5c6772,0x5,_0x19c14c[0x14]),_0x1a8162=_0x31408c(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x5d12b4,0x9,_0x19c14c[0x15]),_0x4917fe=_0x31408c(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x461e64,0xe,_0x19c14c[0x16]),_0x4866c2=_0x31408c(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x235eb7,0x14,_0x19c14c[0x17]),_0x2f7fe0=_0x31408c(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x254bea,0x5,_0x19c14c[0x18]),_0x1a8162=_0x31408c(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x12693f,0x9,_0x19c14c[0x19]),_0x4917fe=_0x31408c(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x35a4cc,0xe,_0x19c14c[0x1a]),_0x4866c2=_0x31408c(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4eaf4e,0x14,_0x19c14c[0x1b]),_0x2f7fe0=_0x31408c(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x1f2ef8,0x5,_0x19c14c[0x1c]),_0x1a8162=_0x31408c(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x31d49b,0x9,_0x19c14c[0x1d]),_0x4917fe=_0x31408c(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x1bb5e6,0xe,_0x19c14c[0x1e]),_0x4866c2=_0x31408c(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x331aeb,0x14,_0x19c14c[0x1f]),_0x2f7fe0=_0x23b934(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x5c6772,0x4,_0x19c14c[0x20]),_0x1a8162=_0x23b934(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x4eaf4e,0xb,_0x19c14c[0x21]),_0x4917fe=_0x23b934(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x326ce1,0x10,_0x19c14c[0x22]),_0x4866c2=_0x23b934(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x12693f,0x17,_0x19c14c[0x23]),_0x2f7fe0=_0x23b934(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x2fd9de,0x4,_0x19c14c[0x24]),_0x1a8162=_0x23b934(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x235eb7,0xb,_0x19c14c[0x25]),_0x4917fe=_0x23b934(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x1bb5e6,0x10,_0x19c14c[0x26]),_0x4866c2=_0x23b934(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x5d12b4,0x17,_0x19c14c[0x27]),_0x2f7fe0=_0x23b934(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x1f2ef8,0x4,_0x19c14c[0x28]),_0x1a8162=_0x23b934(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x2724c8,0xb,_0x19c14c[0x29]),_0x4917fe=_0x23b934(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x35a4cc,0x10,_0x19c14c[0x2a]),_0x4866c2=_0x23b934(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x523b5a,0x17,_0x19c14c[0x2b]),_0x2f7fe0=_0x23b934(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x254bea,0x4,_0x19c14c[0x2c]),_0x1a8162=_0x23b934(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x331aeb,0xb,_0x19c14c[0x2d]),_0x4917fe=_0x23b934(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x461e64,0x10,_0x19c14c[0x2e]),_0x4866c2=_0x23b934(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x31d49b,0x17,_0x19c14c[0x2f]),_0x2f7fe0=_0x2168f2(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x2724c8,0x6,_0x19c14c[0x30]),_0x1a8162=_0x2168f2(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1bb5e6,0xa,_0x19c14c[0x31]),_0x4917fe=_0x2168f2(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x12693f,0xf,_0x19c14c[0x32]),_0x4866c2=_0x2168f2(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x5c6772,0x15,_0x19c14c[0x33]),_0x2f7fe0=_0x2168f2(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x331aeb,0x6,_0x19c14c[0x34]),_0x1a8162=_0x2168f2(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x35a4cc,0xa,_0x19c14c[0x35]),_0x4917fe=_0x2168f2(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x5d12b4,0xf,_0x19c14c[0x36]),_0x4866c2=_0x2168f2(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x2fd9de,0x15,_0x19c14c[0x37]),_0x2f7fe0=_0x2168f2(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x4eaf4e,0x6,_0x19c14c[0x38]),_0x1a8162=_0x2168f2(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x461e64,0xa,_0x19c14c[0x39]),_0x4917fe=_0x2168f2(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x523b5a,0xf,_0x19c14c[0x3a]),_0x4866c2=_0x2168f2(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x1f2ef8,0x15,_0x19c14c[0x3b]),_0x2f7fe0=_0x2168f2(_0x2f7fe0,_0x4866c2,_0x4917fe,_0x1a8162,_0x235eb7,0x6,_0x19c14c[0x3c]),_0x1a8162=_0x2168f2(_0x1a8162,_0x2f7fe0,_0x4866c2,_0x4917fe,_0x326ce1,0xa,_0x19c14c[0x3d]),_0x4917fe=_0x2168f2(_0x4917fe,_0x1a8162,_0x2f7fe0,_0x4866c2,_0x31d49b,0xf,_0x19c14c[0x3e]),_0x4866c2=_0x2168f2(_0x4866c2,_0x4917fe,_0x1a8162,_0x2f7fe0,_0x254bea,0x15,_0x19c14c[0x3f]),_0x5691f4[0x0]=_0x5691f4[0x0]+_0x2f7fe0|0x0,_0x5691f4[0x1]=_0x5691f4[0x1]+_0x4866c2|0x0,_0x5691f4[0x2]=_0x5691f4[0x2]+_0x4917fe|0x0,_0x5691f4[0x3]=_0x5691f4[0x3]+_0x1a8162|0x0;},'_doFinalize':function(){var _0x8c886=_0x598853,_0x44d1e1=this[_0x8c886(0x404)],_0x54616b=_0x44d1e1[_0x8c886(0x3df)],_0x34ea20=this[_0x8c886(0x1c0)]*0x8,_0x44270a=_0x44d1e1[_0x8c886(0x18b)]*0x8;_0x54616b[_0x44270a>>>0x5]|=0x80<<0x18-_0x44270a%0x20;var _0x4c57b8=_0x387c01['floor'](_0x34ea20/0x100000000),_0x131c5e=_0x34ea20;_0x54616b[(_0x44270a+0x40>>>0x9<<0x4)+0xf]=(_0x4c57b8<<0x8|_0x4c57b8>>>0x18)&0xff00ff|(_0x4c57b8<<0x18|_0x4c57b8>>>0x8)&0xff00ff00,_0x54616b[(_0x44270a+0x40>>>0x9<<0x4)+0xe]=(_0x131c5e<<0x8|_0x131c5e>>>0x18)&0xff00ff|(_0x131c5e<<0x18|_0x131c5e>>>0x8)&0xff00ff00,_0x44d1e1['sigBytes']=(_0x54616b[_0x8c886(0x2b8)]+0x1)*0x4,this[_0x8c886(0x20c)]();for(var _0x49a0df=this['_hash'],_0x5558e0=_0x49a0df['words'],_0x5957cb=0x0;_0x5957cb<0x4;_0x5957cb++){var _0x563593=_0x5558e0[_0x5957cb];_0x5558e0[_0x5957cb]=(_0x563593<<0x8|_0x563593>>>0x18)&0xff00ff|(_0x563593<<0x18|_0x563593>>>0x8)&0xff00ff00;}return _0x49a0df;},'clone':function(){var _0x3504e1=_0x598853,_0x1008ce=_0x32be2e[_0x3504e1(0x264)][_0x3504e1(0x26c)](this);return _0x1008ce[_0x3504e1(0x1f9)]=this[_0x3504e1(0x1f9)][_0x3504e1(0x264)](),_0x1008ce;}});function _0x1c63ba(_0x4cc87b,_0x1844ae,_0x426421,_0x170122,_0x203c64,_0x4b971f,_0x137dc5){var _0x5d23ed=_0x4cc87b+(_0x1844ae&_0x426421|~_0x1844ae&_0x170122)+_0x203c64+_0x137dc5;return(_0x5d23ed<<_0x4b971f|_0x5d23ed>>>0x20-_0x4b971f)+_0x1844ae;}function _0x31408c(_0x4b55bb,_0x2ecd98,_0x2da442,_0xf80472,_0x3c3395,_0x563ac3,_0x152349){var _0x5141a4=_0x4b55bb+(_0x2ecd98&_0xf80472|_0x2da442&~_0xf80472)+_0x3c3395+_0x152349;return(_0x5141a4<<_0x563ac3|_0x5141a4>>>0x20-_0x563ac3)+_0x2ecd98;}function _0x23b934(_0x7231cb,_0x5d6558,_0x252573,_0x5ddb9d,_0x1f9381,_0x476f41,_0x33fa5f){var _0x432e13=_0x7231cb+(_0x5d6558^_0x252573^_0x5ddb9d)+_0x1f9381+_0x33fa5f;return(_0x432e13<<_0x476f41|_0x432e13>>>0x20-_0x476f41)+_0x5d6558;}function _0x2168f2(_0x271e45,_0x29e77e,_0x5e98b8,_0x160d65,_0x1c6b7a,_0x4677c2,_0x48ab45){var _0x59e294=_0x271e45+(_0x5e98b8^(_0x29e77e|~_0x160d65))+_0x1c6b7a+_0x48ab45;return(_0x59e294<<_0x4677c2|_0x59e294>>>0x20-_0x4677c2)+_0x29e77e;}_0x3adf1c[_0x598853(0x204)]=_0x32be2e[_0x598853(0x38a)](_0x491f65),_0x3adf1c[_0x598853(0x1e7)]=_0x32be2e[_0x598853(0x304)](_0x491f65);}(Math),_0x233e22[_0x36282e(0x204)];}));}(We)),We['exports'];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x575481(0x21d)],Xt;function mn(){var _0x1e14f7=_0x575481;return Xt||(Xt=0x1,function(_0x415851,_0x308516){(function(_0x1ade58,_0x3911b9){var _0x22ac6b=_0x27b4;_0x415851[_0x22ac6b(0x21d)]=_0x3911b9(te());}(pn,function(_0x3aaca8){var _0x23f586=_0x27b4;return(function(){var _0x19ee73=_0x27b4,_0x29f5bf=_0x3aaca8,_0x49cc94=_0x29f5bf[_0x19ee73(0x11f)],_0x5326fc=_0x49cc94[_0x19ee73(0x277)],_0x857128=_0x49cc94[_0x19ee73(0x297)],_0x27fc09=_0x29f5bf[_0x19ee73(0x1ee)],_0xaa56b6=[],_0x21f295=_0x27fc09[_0x19ee73(0x332)]=_0x857128[_0x19ee73(0x1b1)]({'_doReset':function(){var _0x4333bf=_0x19ee73;this[_0x4333bf(0x1f9)]=new _0x5326fc['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x51517c,_0x79ab3f){var _0xff74a=_0x19ee73;for(var _0x4c520d=this[_0xff74a(0x1f9)][_0xff74a(0x3df)],_0x45f8d0=_0x4c520d[0x0],_0x2adcad=_0x4c520d[0x1],_0x1a9944=_0x4c520d[0x2],_0x13de17=_0x4c520d[0x3],_0x7ddc16=_0x4c520d[0x4],_0x24ab62=0x0;_0x24ab62<0x50;_0x24ab62++){if(_0x24ab62<0x10)_0xaa56b6[_0x24ab62]=_0x51517c[_0x79ab3f+_0x24ab62]|0x0;else{var _0x4c4b26=_0xaa56b6[_0x24ab62-0x3]^_0xaa56b6[_0x24ab62-0x8]^_0xaa56b6[_0x24ab62-0xe]^_0xaa56b6[_0x24ab62-0x10];_0xaa56b6[_0x24ab62]=_0x4c4b26<<0x1|_0x4c4b26>>>0x1f;}var _0x40c631=(_0x45f8d0<<0x5|_0x45f8d0>>>0x1b)+_0x7ddc16+_0xaa56b6[_0x24ab62];_0x24ab62<0x14?_0x40c631+=(_0x2adcad&_0x1a9944|~_0x2adcad&_0x13de17)+0x5a827999:_0x24ab62<0x28?_0x40c631+=(_0x2adcad^_0x1a9944^_0x13de17)+0x6ed9eba1:_0x24ab62<0x3c?_0x40c631+=(_0x2adcad&_0x1a9944|_0x2adcad&_0x13de17|_0x1a9944&_0x13de17)-0x70e44324:_0x40c631+=(_0x2adcad^_0x1a9944^_0x13de17)-0x359d3e2a,_0x7ddc16=_0x13de17,_0x13de17=_0x1a9944,_0x1a9944=_0x2adcad<<0x1e|_0x2adcad>>>0x2,_0x2adcad=_0x45f8d0,_0x45f8d0=_0x40c631;}_0x4c520d[0x0]=_0x4c520d[0x0]+_0x45f8d0|0x0,_0x4c520d[0x1]=_0x4c520d[0x1]+_0x2adcad|0x0,_0x4c520d[0x2]=_0x4c520d[0x2]+_0x1a9944|0x0,_0x4c520d[0x3]=_0x4c520d[0x3]+_0x13de17|0x0,_0x4c520d[0x4]=_0x4c520d[0x4]+_0x7ddc16|0x0;},'_doFinalize':function(){var _0x20ea37=_0x19ee73,_0x51886e=this['_data'],_0x43176f=_0x51886e[_0x20ea37(0x3df)],_0xb445a5=this[_0x20ea37(0x1c0)]*0x8,_0x404b41=_0x51886e[_0x20ea37(0x18b)]*0x8;return _0x43176f[_0x404b41>>>0x5]|=0x80<<0x18-_0x404b41%0x20,_0x43176f[(_0x404b41+0x40>>>0x9<<0x4)+0xe]=Math[_0x20ea37(0x3ea)](_0xb445a5/0x100000000),_0x43176f[(_0x404b41+0x40>>>0x9<<0x4)+0xf]=_0xb445a5,_0x51886e[_0x20ea37(0x18b)]=_0x43176f[_0x20ea37(0x2b8)]*0x4,this[_0x20ea37(0x20c)](),this['_hash'];},'clone':function(){var _0x95925b=_0x19ee73,_0x53420b=_0x857128[_0x95925b(0x264)][_0x95925b(0x26c)](this);return _0x53420b[_0x95925b(0x1f9)]=this['_hash'][_0x95925b(0x264)](),_0x53420b;}});_0x29f5bf['SHA1']=_0x857128['_createHelper'](_0x21f295),_0x29f5bf['HmacSHA1']=_0x857128[_0x19ee73(0x304)](_0x21f295);}()),_0x3aaca8[_0x23f586(0x332)];}));}(qe)),qe[_0x1e14f7(0x21d)];}var ze={'exports':{}},gn=ze[_0x575481(0x21d)],Zt;function Sn(){var _0x4cddea=_0x575481;return Zt||(Zt=0x1,function(_0x18aed8,_0x3fdf08){(function(_0x457668,_0x116ed5){var _0x59d54c=_0x27b4;_0x18aed8[_0x59d54c(0x21d)]=_0x116ed5(te());}(gn,function(_0x342a08){(function(){var _0x3a01fe=_0x27b4,_0x3083f5=_0x342a08,_0x314853=_0x3083f5[_0x3a01fe(0x11f)],_0x17bff8=_0x314853[_0x3a01fe(0x2c3)],_0x3c780a=_0x3083f5[_0x3a01fe(0x330)],_0x5197ed=_0x3c780a[_0x3a01fe(0x2a2)],_0x931670=_0x3083f5['algo'];_0x931670['HMAC']=_0x17bff8[_0x3a01fe(0x1b1)]({'init':function(_0x5b9e75,_0x4ce1d8){var _0x1ace3e=_0x3a01fe;_0x5b9e75=this[_0x1ace3e(0x3e2)]=new _0x5b9e75[(_0x1ace3e(0x226))](),typeof _0x4ce1d8==_0x1ace3e(0x122)&&(_0x4ce1d8=_0x5197ed[_0x1ace3e(0x1af)](_0x4ce1d8));var _0x3fa59e=_0x5b9e75[_0x1ace3e(0x410)],_0x35914b=_0x3fa59e*0x4;_0x4ce1d8['sigBytes']>_0x35914b&&(_0x4ce1d8=_0x5b9e75[_0x1ace3e(0x374)](_0x4ce1d8)),_0x4ce1d8[_0x1ace3e(0x196)]();for(var _0x43f09c=this[_0x1ace3e(0x334)]=_0x4ce1d8[_0x1ace3e(0x264)](),_0x5a09f7=this[_0x1ace3e(0x27c)]=_0x4ce1d8['clone'](),_0xf515e5=_0x43f09c[_0x1ace3e(0x3df)],_0x2a2e11=_0x5a09f7[_0x1ace3e(0x3df)],_0x315c8f=0x0;_0x315c8f<_0x3fa59e;_0x315c8f++)_0xf515e5[_0x315c8f]^=0x5c5c5c5c,_0x2a2e11[_0x315c8f]^=0x36363636;_0x43f09c[_0x1ace3e(0x18b)]=_0x5a09f7[_0x1ace3e(0x18b)]=_0x35914b,this[_0x1ace3e(0x21b)]();},'reset':function(){var _0x4f85d5=_0x3a01fe,_0x31491e=this[_0x4f85d5(0x3e2)];_0x31491e['reset'](),_0x31491e[_0x4f85d5(0x34e)](this['_iKey']);},'update':function(_0x307c5d){var _0x27c21a=_0x3a01fe;return this[_0x27c21a(0x3e2)]['update'](_0x307c5d),this;},'finalize':function(_0x229fe3){var _0x36ed3c=_0x3a01fe,_0x3fd035=this[_0x36ed3c(0x3e2)],_0x20dcf2=_0x3fd035[_0x36ed3c(0x374)](_0x229fe3);_0x3fd035['reset']();var _0x3a8beb=_0x3fd035[_0x36ed3c(0x374)](this[_0x36ed3c(0x334)][_0x36ed3c(0x264)]()[_0x36ed3c(0x359)](_0x20dcf2));return _0x3a8beb;}});}());}));}(ze)),ze[_0x4cddea(0x21d)];}var En=Ke[_0x575481(0x21d)],Qt;function yi(){var _0x58278c=_0x575481;return Qt||(Qt=0x1,function(_0x586485,_0x1feb2e){(function(_0x380f46,_0x35cb59,_0xb87128){var _0x383667=_0x27b4;_0x586485[_0x383667(0x21d)]=_0x35cb59(te(),mn(),Sn());}(En,function(_0x519dc0){var _0x385a56=_0x27b4;return(function(){var _0x28af86=_0x27b4,_0x3f39d8=_0x519dc0,_0x2c575b=_0x3f39d8[_0x28af86(0x11f)],_0x4e2e8c=_0x2c575b[_0x28af86(0x2c3)],_0x46d6b3=_0x2c575b['WordArray'],_0x4a9505=_0x3f39d8[_0x28af86(0x1ee)],_0x568d7f=_0x4a9505[_0x28af86(0x204)],_0x5b3aff=_0x4a9505[_0x28af86(0x349)]=_0x4e2e8c['extend']({'cfg':_0x4e2e8c[_0x28af86(0x1b1)]({'keySize':0x80/0x20,'hasher':_0x568d7f,'iterations':0x1}),'init':function(_0x21b19e){var _0x400d09=_0x28af86;this[_0x400d09(0x2fd)]=this[_0x400d09(0x2fd)]['extend'](_0x21b19e);},'compute':function(_0x3892d9,_0x3d7ef4){var _0x421aed=_0x28af86;for(var _0x320127,_0x27839f=this['cfg'],_0x543e55=_0x27839f['hasher'][_0x421aed(0x29b)](),_0x45f203=_0x46d6b3[_0x421aed(0x29b)](),_0x3a180d=_0x45f203[_0x421aed(0x3df)],_0x597018=_0x27839f[_0x421aed(0x207)],_0x51e8e1=_0x27839f[_0x421aed(0x357)];_0x3a180d[_0x421aed(0x2b8)]<_0x597018;){_0x320127&&_0x543e55[_0x421aed(0x34e)](_0x320127),_0x320127=_0x543e55[_0x421aed(0x34e)](_0x3892d9)[_0x421aed(0x374)](_0x3d7ef4),_0x543e55['reset']();for(var _0x2f8a46=0x1;_0x2f8a46<_0x51e8e1;_0x2f8a46++)_0x320127=_0x543e55[_0x421aed(0x374)](_0x320127),_0x543e55['reset']();_0x45f203[_0x421aed(0x359)](_0x320127);}return _0x45f203['sigBytes']=_0x597018*0x4,_0x45f203;}});_0x3f39d8[_0x28af86(0x349)]=function(_0x5955f7,_0x2fbae3,_0x307b14){var _0x4034f6=_0x28af86;return _0x5b3aff[_0x4034f6(0x29b)](_0x307b14)['compute'](_0x5955f7,_0x2fbae3);};}()),_0x519dc0[_0x385a56(0x349)];}));}(Ke)),Ke[_0x58278c(0x21d)];}var Je={'exports':{}},In=Je[_0x575481(0x21d)],ei;function Ni(){var _0x517510=_0x575481;return ei||(ei=0x1,function(_0x181f3d,_0x4f08a1){(function(_0x24fe5f,_0x5622dc,_0x7c4dd4){_0x181f3d['exports']=_0x5622dc(te(),yi());}(In,function(_0x601df0){var _0x5078d0=_0x27b4;_0x601df0[_0x5078d0(0x11f)][_0x5078d0(0x123)]||function(_0x1c1af1){var _0x69736e=_0x5078d0,_0x480345=_0x601df0,_0x285ec4=_0x480345[_0x69736e(0x11f)],_0x126793=_0x285ec4['Base'],_0x244c26=_0x285ec4[_0x69736e(0x277)],_0x22eda5=_0x285ec4[_0x69736e(0x256)],_0x2fe610=_0x480345[_0x69736e(0x330)];_0x2fe610[_0x69736e(0x2a2)];var _0x40343c=_0x2fe610[_0x69736e(0x2c1)],_0x27fe6c=_0x480345[_0x69736e(0x1ee)],_0xddd0e2=_0x27fe6c[_0x69736e(0x349)],_0x1b6bd3=_0x285ec4['Cipher']=_0x22eda5[_0x69736e(0x1b1)]({'cfg':_0x126793[_0x69736e(0x1b1)](),'createEncryptor':function(_0x47c98a,_0x5e037e){var _0x27a247=_0x69736e;return this['create'](this[_0x27a247(0x1df)],_0x47c98a,_0x5e037e);},'createDecryptor':function(_0x513daf,_0x212638){var _0x21ebf1=_0x69736e;return this[_0x21ebf1(0x29b)](this[_0x21ebf1(0x1f8)],_0x513daf,_0x212638);},'init':function(_0x19cf90,_0x319a33,_0x5ba96c){var _0x4c51cc=_0x69736e;this[_0x4c51cc(0x2fd)]=this[_0x4c51cc(0x2fd)]['extend'](_0x5ba96c),this['_xformMode']=_0x19cf90,this[_0x4c51cc(0x2a1)]=_0x319a33,this[_0x4c51cc(0x21b)]();},'reset':function(){var _0x493527=_0x69736e;_0x22eda5[_0x493527(0x21b)][_0x493527(0x26c)](this),this['_doReset']();},'process':function(_0x4b2439){var _0x5839c4=_0x69736e;return this[_0x5839c4(0x110)](_0x4b2439),this[_0x5839c4(0x20c)]();},'finalize':function(_0x57cbe9){var _0x4d7f0e=_0x69736e;_0x57cbe9&&this[_0x4d7f0e(0x110)](_0x57cbe9);var _0x3aec95=this[_0x4d7f0e(0x2b6)]();return _0x3aec95;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5a9b03(_0x3416d6){var _0x590aaa=_0x27b4;return typeof _0x3416d6==_0x590aaa(0x122)?_0x4e6b89:_0x37f714;}return function(_0x5606dd){return{'encrypt':function(_0x46d707,_0x43f800,_0x2c9121){return _0x5a9b03(_0x43f800)['encrypt'](_0x5606dd,_0x46d707,_0x43f800,_0x2c9121);},'decrypt':function(_0x16e99f,_0x4aec24,_0x3e3507){var _0xb78202=_0x27b4;return _0x5a9b03(_0x4aec24)[_0xb78202(0x271)](_0x5606dd,_0x16e99f,_0x4aec24,_0x3e3507);}};};}())});_0x285ec4[_0x69736e(0x192)]=_0x1b6bd3[_0x69736e(0x1b1)]({'_doFinalize':function(){var _0x25d18e=_0x69736e,_0x34700f=this[_0x25d18e(0x20c)](!0x0);return _0x34700f;},'blockSize':0x1});var _0x24a097=_0x480345[_0x69736e(0x31d)]={},_0x2eac31=_0x285ec4['BlockCipherMode']=_0x126793['extend']({'createEncryptor':function(_0x34b45a,_0x3aa928){var _0x55f49b=_0x69736e;return this[_0x55f49b(0x1ef)][_0x55f49b(0x29b)](_0x34b45a,_0x3aa928);},'createDecryptor':function(_0x23b1c9,_0x3334b2){var _0x997c18=_0x69736e;return this[_0x997c18(0x305)][_0x997c18(0x29b)](_0x23b1c9,_0x3334b2);},'init':function(_0x1ccc1c,_0x151da0){var _0x1fc591=_0x69736e;this['_cipher']=_0x1ccc1c,this[_0x1fc591(0x144)]=_0x151da0;}}),_0x22d850=_0x24a097[_0x69736e(0x113)]=(function(){var _0x58f019=_0x69736e,_0x1dadc5=_0x2eac31[_0x58f019(0x1b1)]();_0x1dadc5['Encryptor']=_0x1dadc5[_0x58f019(0x1b1)]({'processBlock':function(_0x5d2da8,_0x49bc18){var _0x4f1600=_0x58f019,_0x5e9f02=this['_cipher'],_0x229654=_0x5e9f02[_0x4f1600(0x410)];_0x7fb0d5[_0x4f1600(0x26c)](this,_0x5d2da8,_0x49bc18,_0x229654),_0x5e9f02[_0x4f1600(0x194)](_0x5d2da8,_0x49bc18),this['_prevBlock']=_0x5d2da8[_0x4f1600(0x33a)](_0x49bc18,_0x49bc18+_0x229654);}}),_0x1dadc5[_0x58f019(0x305)]=_0x1dadc5['extend']({'processBlock':function(_0x3bd713,_0x3789e3){var _0x580780=_0x58f019,_0x3cf650=this[_0x580780(0x198)],_0x2f0aa5=_0x3cf650[_0x580780(0x410)],_0x3e09bb=_0x3bd713[_0x580780(0x33a)](_0x3789e3,_0x3789e3+_0x2f0aa5);_0x3cf650[_0x580780(0x3c4)](_0x3bd713,_0x3789e3),_0x7fb0d5[_0x580780(0x26c)](this,_0x3bd713,_0x3789e3,_0x2f0aa5),this[_0x580780(0x30e)]=_0x3e09bb;}});function _0x7fb0d5(_0x4f0d43,_0x7dd0b9,_0x231f4b){var _0x2d5ffd=_0x58f019,_0x2de95e,_0x35f759=this[_0x2d5ffd(0x144)];_0x35f759?(_0x2de95e=_0x35f759,this['_iv']=_0x1c1af1):_0x2de95e=this[_0x2d5ffd(0x30e)];for(var _0x35dbb9=0x0;_0x35dbb9<_0x231f4b;_0x35dbb9++)_0x4f0d43[_0x7dd0b9+_0x35dbb9]^=_0x2de95e[_0x35dbb9];}return _0x1dadc5;}()),_0x1d2d8e=_0x480345[_0x69736e(0x1e1)]={},_0x531c55=_0x1d2d8e[_0x69736e(0x358)]={'pad':function(_0x3602af,_0x5083fb){var _0x321ea0=_0x69736e;for(var _0x490471=_0x5083fb*0x4,_0x2e8b97=_0x490471-_0x3602af[_0x321ea0(0x18b)]%_0x490471,_0x47e478=_0x2e8b97<<0x18|_0x2e8b97<<0x10|_0x2e8b97<<0x8|_0x2e8b97,_0x5518ad=[],_0x2aeaa6=0x0;_0x2aeaa6<_0x2e8b97;_0x2aeaa6+=0x4)_0x5518ad['push'](_0x47e478);var _0x3b09bf=_0x244c26[_0x321ea0(0x29b)](_0x5518ad,_0x2e8b97);_0x3602af[_0x321ea0(0x359)](_0x3b09bf);},'unpad':function(_0x2ecd9d){var _0x52da60=_0x69736e,_0x957459=_0x2ecd9d[_0x52da60(0x3df)][_0x2ecd9d[_0x52da60(0x18b)]-0x1>>>0x2]&0xff;_0x2ecd9d[_0x52da60(0x18b)]-=_0x957459;}};_0x285ec4['BlockCipher']=_0x1b6bd3[_0x69736e(0x1b1)]({'cfg':_0x1b6bd3[_0x69736e(0x2fd)][_0x69736e(0x1b1)]({'mode':_0x22d850,'padding':_0x531c55}),'reset':function(){var _0x2f1549=_0x69736e,_0x3f5148;_0x1b6bd3['reset'][_0x2f1549(0x26c)](this);var _0x51b43b=this[_0x2f1549(0x2fd)],_0xdfc3e4=_0x51b43b['iv'],_0x1ad261=_0x51b43b[_0x2f1549(0x31d)];this[_0x2f1549(0x197)]==this[_0x2f1549(0x1df)]?_0x3f5148=_0x1ad261['createEncryptor']:(_0x3f5148=_0x1ad261['createDecryptor'],this[_0x2f1549(0x353)]=0x1),this[_0x2f1549(0x40d)]&&this[_0x2f1549(0x40d)][_0x2f1549(0x27f)]==_0x3f5148?this[_0x2f1549(0x40d)]['init'](this,_0xdfc3e4&&_0xdfc3e4[_0x2f1549(0x3df)]):(this[_0x2f1549(0x40d)]=_0x3f5148[_0x2f1549(0x26c)](_0x1ad261,this,_0xdfc3e4&&_0xdfc3e4['words']),this[_0x2f1549(0x40d)][_0x2f1549(0x27f)]=_0x3f5148);},'_doProcessBlock':function(_0x119bf0,_0xf9b2ad){var _0x4f9181=_0x69736e;this[_0x4f9181(0x40d)]['processBlock'](_0x119bf0,_0xf9b2ad);},'_doFinalize':function(){var _0x39d9da=_0x69736e,_0x361360,_0x51f612=this[_0x39d9da(0x2fd)][_0x39d9da(0x134)];return this[_0x39d9da(0x197)]==this[_0x39d9da(0x1df)]?(_0x51f612[_0x39d9da(0x1e1)](this[_0x39d9da(0x404)],this[_0x39d9da(0x410)]),_0x361360=this[_0x39d9da(0x20c)](!0x0)):(_0x361360=this['_process'](!0x0),_0x51f612[_0x39d9da(0x25d)](_0x361360)),_0x361360;},'blockSize':0x80/0x20});var _0x5d34fb=_0x285ec4[_0x69736e(0x2c2)]=_0x126793[_0x69736e(0x1b1)]({'init':function(_0x21cfc3){this['mixIn'](_0x21cfc3);},'toString':function(_0x5ccf4e){var _0x2f0436=_0x69736e;return(_0x5ccf4e||this[_0x2f0436(0x28d)])[_0x2f0436(0x16a)](this);}}),_0x33b2fd=_0x480345[_0x69736e(0x284)]={},_0x20e4eb=_0x33b2fd[_0x69736e(0x3da)]={'stringify':function(_0x59e610){var _0x449eb7=_0x69736e,_0x6b53ac,_0x143d18=_0x59e610[_0x449eb7(0x22f)],_0x5db1c5=_0x59e610[_0x449eb7(0x2c5)];return _0x5db1c5?_0x6b53ac=_0x244c26['create']([0x53616c74,0x65645f5f])['concat'](_0x5db1c5)[_0x449eb7(0x359)](_0x143d18):_0x6b53ac=_0x143d18,_0x6b53ac[_0x449eb7(0x2a8)](_0x40343c);},'parse':function(_0x1d4539){var _0x38570c=_0x69736e,_0x567a0a,_0x2f8632=_0x40343c[_0x38570c(0x1af)](_0x1d4539),_0x164f27=_0x2f8632[_0x38570c(0x3df)];return _0x164f27[0x0]==0x53616c74&&_0x164f27[0x1]==0x65645f5f&&(_0x567a0a=_0x244c26['create'](_0x164f27[_0x38570c(0x33a)](0x2,0x4)),_0x164f27[_0x38570c(0x3e8)](0x0,0x4),_0x2f8632['sigBytes']-=0x10),_0x5d34fb[_0x38570c(0x29b)]({'ciphertext':_0x2f8632,'salt':_0x567a0a});}},_0x37f714=_0x285ec4['SerializableCipher']=_0x126793['extend']({'cfg':_0x126793[_0x69736e(0x1b1)]({'format':_0x20e4eb}),'encrypt':function(_0x409f73,_0x48e044,_0x560563,_0x598093){var _0x3fbe66=_0x69736e;_0x598093=this[_0x3fbe66(0x2fd)][_0x3fbe66(0x1b1)](_0x598093);var _0x5f5dd7=_0x409f73[_0x3fbe66(0x3ba)](_0x560563,_0x598093),_0x257a25=_0x5f5dd7[_0x3fbe66(0x374)](_0x48e044),_0x51861c=_0x5f5dd7[_0x3fbe66(0x2fd)];return _0x5d34fb[_0x3fbe66(0x29b)]({'ciphertext':_0x257a25,'key':_0x560563,'iv':_0x51861c['iv'],'algorithm':_0x409f73,'mode':_0x51861c['mode'],'padding':_0x51861c[_0x3fbe66(0x134)],'blockSize':_0x409f73['blockSize'],'formatter':_0x598093['format']});},'decrypt':function(_0x44fe16,_0x57472e,_0x27289f,_0x3967d0){var _0x26debc=_0x69736e;_0x3967d0=this[_0x26debc(0x2fd)][_0x26debc(0x1b1)](_0x3967d0),_0x57472e=this[_0x26debc(0x276)](_0x57472e,_0x3967d0['format']);var _0x5acfbb=_0x44fe16[_0x26debc(0x20f)](_0x27289f,_0x3967d0)[_0x26debc(0x374)](_0x57472e[_0x26debc(0x22f)]);return _0x5acfbb;},'_parse':function(_0x204a4c,_0x2559ac){var _0x5a7a3b=_0x69736e;return typeof _0x204a4c=='string'?_0x2559ac[_0x5a7a3b(0x1af)](_0x204a4c,this):_0x204a4c;}}),_0x2c1090=_0x480345['kdf']={},_0x92aacd=_0x2c1090[_0x69736e(0x3da)]={'execute':function(_0x2e98f6,_0x4e6cfc,_0x4c59e1,_0x35ee2a,_0x3e1deb){var _0x156e79=_0x69736e;if(_0x35ee2a||(_0x35ee2a=_0x244c26[_0x156e79(0x17a)](0x40/0x8)),_0x3e1deb)var _0x111005=_0xddd0e2['create']({'keySize':_0x4e6cfc+_0x4c59e1,'hasher':_0x3e1deb})[_0x156e79(0x33f)](_0x2e98f6,_0x35ee2a);else var _0x111005=_0xddd0e2['create']({'keySize':_0x4e6cfc+_0x4c59e1})[_0x156e79(0x33f)](_0x2e98f6,_0x35ee2a);var _0x404385=_0x244c26[_0x156e79(0x29b)](_0x111005['words'][_0x156e79(0x33a)](_0x4e6cfc),_0x4c59e1*0x4);return _0x111005[_0x156e79(0x18b)]=_0x4e6cfc*0x4,_0x5d34fb[_0x156e79(0x29b)]({'key':_0x111005,'iv':_0x404385,'salt':_0x35ee2a});}},_0x4e6b89=_0x285ec4[_0x69736e(0x1a6)]=_0x37f714['extend']({'cfg':_0x37f714['cfg'][_0x69736e(0x1b1)]({'kdf':_0x92aacd}),'encrypt':function(_0x42b27c,_0x3e8c89,_0x3b6d05,_0x346603){var _0x32ed44=_0x69736e;_0x346603=this[_0x32ed44(0x2fd)][_0x32ed44(0x1b1)](_0x346603);var _0x437000=_0x346603[_0x32ed44(0x413)][_0x32ed44(0x35a)](_0x3b6d05,_0x42b27c[_0x32ed44(0x207)],_0x42b27c['ivSize'],_0x346603[_0x32ed44(0x2c5)],_0x346603[_0x32ed44(0x372)]);_0x346603['iv']=_0x437000['iv'];var _0x1e5b91=_0x37f714['encrypt'][_0x32ed44(0x26c)](this,_0x42b27c,_0x3e8c89,_0x437000['key'],_0x346603);return _0x1e5b91[_0x32ed44(0x3f1)](_0x437000),_0x1e5b91;},'decrypt':function(_0x5e9ba4,_0x4518ae,_0x1669d5,_0x3fe0c0){var _0x59a693=_0x69736e;_0x3fe0c0=this[_0x59a693(0x2fd)][_0x59a693(0x1b1)](_0x3fe0c0),_0x4518ae=this[_0x59a693(0x276)](_0x4518ae,_0x3fe0c0[_0x59a693(0x284)]);var _0x5e78d7=_0x3fe0c0[_0x59a693(0x413)][_0x59a693(0x35a)](_0x1669d5,_0x5e9ba4[_0x59a693(0x207)],_0x5e9ba4[_0x59a693(0x1a5)],_0x4518ae[_0x59a693(0x2c5)],_0x3fe0c0[_0x59a693(0x372)]);_0x3fe0c0['iv']=_0x5e78d7['iv'];var _0x5c7eae=_0x37f714[_0x59a693(0x271)][_0x59a693(0x26c)](this,_0x5e9ba4,_0x4518ae,_0x5e78d7[_0x59a693(0x20e)],_0x3fe0c0);return _0x5c7eae;}});}();}));}(Je)),Je[_0x517510(0x21d)];}var Tn=Ve[_0x575481(0x21d)],ti;function Cn(){var _0x289157=_0x575481;return ti||(ti=0x1,function(_0x3c04d4,_0x59c8b1){(function(_0x5158c6,_0x49cb32,_0x32eb33){_0x3c04d4['exports']=_0x49cb32(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x5bdce3){var _0x38712e=_0x27b4;return(function(){var _0x562ef8=_0x27b4,_0x1d7fef=_0x5bdce3,_0x24ed36=_0x1d7fef[_0x562ef8(0x11f)],_0x488896=_0x24ed36[_0x562ef8(0x27d)],_0x5b0b32=_0x1d7fef[_0x562ef8(0x1ee)],_0x36dd30=[],_0x504885=[],_0x1de950=[],_0x41812d=[],_0x2d1d76=[],_0x2102fd=[],_0x11f829=[],_0x193272=[],_0x406cb6=[],_0x2ff824=[];(function(){for(var _0xd400c3=[],_0x3cac07=0x0;_0x3cac07<0x100;_0x3cac07++)_0x3cac07<0x80?_0xd400c3[_0x3cac07]=_0x3cac07<<0x1:_0xd400c3[_0x3cac07]=_0x3cac07<<0x1^0x11b;for(var _0x5d4b38=0x0,_0x5974a4=0x0,_0x3cac07=0x0;_0x3cac07<0x100;_0x3cac07++){var _0x4e9516=_0x5974a4^_0x5974a4<<0x1^_0x5974a4<<0x2^_0x5974a4<<0x3^_0x5974a4<<0x4;_0x4e9516=_0x4e9516>>>0x8^_0x4e9516&0xff^0x63,_0x36dd30[_0x5d4b38]=_0x4e9516,_0x504885[_0x4e9516]=_0x5d4b38;var _0x4db770=_0xd400c3[_0x5d4b38],_0x598f53=_0xd400c3[_0x4db770],_0x229fdb=_0xd400c3[_0x598f53],_0x53b576=_0xd400c3[_0x4e9516]*0x101^_0x4e9516*0x1010100;_0x1de950[_0x5d4b38]=_0x53b576<<0x18|_0x53b576>>>0x8,_0x41812d[_0x5d4b38]=_0x53b576<<0x10|_0x53b576>>>0x10,_0x2d1d76[_0x5d4b38]=_0x53b576<<0x8|_0x53b576>>>0x18,_0x2102fd[_0x5d4b38]=_0x53b576;var _0x53b576=_0x229fdb*0x1010101^_0x598f53*0x10001^_0x4db770*0x101^_0x5d4b38*0x1010100;_0x11f829[_0x4e9516]=_0x53b576<<0x18|_0x53b576>>>0x8,_0x193272[_0x4e9516]=_0x53b576<<0x10|_0x53b576>>>0x10,_0x406cb6[_0x4e9516]=_0x53b576<<0x8|_0x53b576>>>0x18,_0x2ff824[_0x4e9516]=_0x53b576,_0x5d4b38?(_0x5d4b38=_0x4db770^_0xd400c3[_0xd400c3[_0xd400c3[_0x229fdb^_0x4db770]]],_0x5974a4^=_0xd400c3[_0xd400c3[_0x5974a4]]):_0x5d4b38=_0x5974a4=0x1;}}());var _0x5a2d55=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x225a40=_0x5b0b32['AES']=_0x488896['extend']({'_doReset':function(){var _0x49f2fa=_0x562ef8,_0xd7c451;if(!(this[_0x49f2fa(0x3ec)]&&this[_0x49f2fa(0x2cb)]===this[_0x49f2fa(0x2a1)])){for(var _0xc3f469=this[_0x49f2fa(0x2cb)]=this[_0x49f2fa(0x2a1)],_0x53f508=_0xc3f469[_0x49f2fa(0x3df)],_0x3e6864=_0xc3f469[_0x49f2fa(0x18b)]/0x4,_0x296c76=this[_0x49f2fa(0x3ec)]=_0x3e6864+0x6,_0x155fec=(_0x296c76+0x1)*0x4,_0x54f0c7=this['_keySchedule']=[],_0x4bd04a=0x0;_0x4bd04a<_0x155fec;_0x4bd04a++)_0x4bd04a<_0x3e6864?_0x54f0c7[_0x4bd04a]=_0x53f508[_0x4bd04a]:(_0xd7c451=_0x54f0c7[_0x4bd04a-0x1],_0x4bd04a%_0x3e6864?_0x3e6864>0x6&&_0x4bd04a%_0x3e6864==0x4&&(_0xd7c451=_0x36dd30[_0xd7c451>>>0x18]<<0x18|_0x36dd30[_0xd7c451>>>0x10&0xff]<<0x10|_0x36dd30[_0xd7c451>>>0x8&0xff]<<0x8|_0x36dd30[_0xd7c451&0xff]):(_0xd7c451=_0xd7c451<<0x8|_0xd7c451>>>0x18,_0xd7c451=_0x36dd30[_0xd7c451>>>0x18]<<0x18|_0x36dd30[_0xd7c451>>>0x10&0xff]<<0x10|_0x36dd30[_0xd7c451>>>0x8&0xff]<<0x8|_0x36dd30[_0xd7c451&0xff],_0xd7c451^=_0x5a2d55[_0x4bd04a/_0x3e6864|0x0]<<0x18),_0x54f0c7[_0x4bd04a]=_0x54f0c7[_0x4bd04a-_0x3e6864]^_0xd7c451);for(var _0x56a5f0=this[_0x49f2fa(0x146)]=[],_0x20e43a=0x0;_0x20e43a<_0x155fec;_0x20e43a++){var _0x4bd04a=_0x155fec-_0x20e43a;if(_0x20e43a%0x4)var _0xd7c451=_0x54f0c7[_0x4bd04a];else var _0xd7c451=_0x54f0c7[_0x4bd04a-0x4];_0x20e43a<0x4||_0x4bd04a<=0x4?_0x56a5f0[_0x20e43a]=_0xd7c451:_0x56a5f0[_0x20e43a]=_0x11f829[_0x36dd30[_0xd7c451>>>0x18]]^_0x193272[_0x36dd30[_0xd7c451>>>0x10&0xff]]^_0x406cb6[_0x36dd30[_0xd7c451>>>0x8&0xff]]^_0x2ff824[_0x36dd30[_0xd7c451&0xff]];}}},'encryptBlock':function(_0x23d7c2,_0x248a44){var _0x5377be=_0x562ef8;this[_0x5377be(0x2fb)](_0x23d7c2,_0x248a44,this[_0x5377be(0x2e6)],_0x1de950,_0x41812d,_0x2d1d76,_0x2102fd,_0x36dd30);},'decryptBlock':function(_0x2fe926,_0x4ad030){var _0x4ddf3f=_0x562ef8,_0x2d9338=_0x2fe926[_0x4ad030+0x1];_0x2fe926[_0x4ad030+0x1]=_0x2fe926[_0x4ad030+0x3],_0x2fe926[_0x4ad030+0x3]=_0x2d9338,this[_0x4ddf3f(0x2fb)](_0x2fe926,_0x4ad030,this[_0x4ddf3f(0x146)],_0x11f829,_0x193272,_0x406cb6,_0x2ff824,_0x504885);var _0x2d9338=_0x2fe926[_0x4ad030+0x1];_0x2fe926[_0x4ad030+0x1]=_0x2fe926[_0x4ad030+0x3],_0x2fe926[_0x4ad030+0x3]=_0x2d9338;},'_doCryptBlock':function(_0xd2850f,_0x1801e4,_0x3658d1,_0x48dfc9,_0x220992,_0x386ec9,_0xb37c3,_0x130743){var _0xc03e9d=_0x562ef8;for(var _0x4ea5f7=this[_0xc03e9d(0x3ec)],_0x4b1c4f=_0xd2850f[_0x1801e4]^_0x3658d1[0x0],_0x2fd3f2=_0xd2850f[_0x1801e4+0x1]^_0x3658d1[0x1],_0x19773f=_0xd2850f[_0x1801e4+0x2]^_0x3658d1[0x2],_0x469716=_0xd2850f[_0x1801e4+0x3]^_0x3658d1[0x3],_0x5c8cdf=0x4,_0x35e011=0x1;_0x35e011<_0x4ea5f7;_0x35e011++){var _0x1d1e88=_0x48dfc9[_0x4b1c4f>>>0x18]^_0x220992[_0x2fd3f2>>>0x10&0xff]^_0x386ec9[_0x19773f>>>0x8&0xff]^_0xb37c3[_0x469716&0xff]^_0x3658d1[_0x5c8cdf++],_0x404c47=_0x48dfc9[_0x2fd3f2>>>0x18]^_0x220992[_0x19773f>>>0x10&0xff]^_0x386ec9[_0x469716>>>0x8&0xff]^_0xb37c3[_0x4b1c4f&0xff]^_0x3658d1[_0x5c8cdf++],_0x6857c8=_0x48dfc9[_0x19773f>>>0x18]^_0x220992[_0x469716>>>0x10&0xff]^_0x386ec9[_0x4b1c4f>>>0x8&0xff]^_0xb37c3[_0x2fd3f2&0xff]^_0x3658d1[_0x5c8cdf++],_0x3e19d4=_0x48dfc9[_0x469716>>>0x18]^_0x220992[_0x4b1c4f>>>0x10&0xff]^_0x386ec9[_0x2fd3f2>>>0x8&0xff]^_0xb37c3[_0x19773f&0xff]^_0x3658d1[_0x5c8cdf++];_0x4b1c4f=_0x1d1e88,_0x2fd3f2=_0x404c47,_0x19773f=_0x6857c8,_0x469716=_0x3e19d4;}var _0x1d1e88=(_0x130743[_0x4b1c4f>>>0x18]<<0x18|_0x130743[_0x2fd3f2>>>0x10&0xff]<<0x10|_0x130743[_0x19773f>>>0x8&0xff]<<0x8|_0x130743[_0x469716&0xff])^_0x3658d1[_0x5c8cdf++],_0x404c47=(_0x130743[_0x2fd3f2>>>0x18]<<0x18|_0x130743[_0x19773f>>>0x10&0xff]<<0x10|_0x130743[_0x469716>>>0x8&0xff]<<0x8|_0x130743[_0x4b1c4f&0xff])^_0x3658d1[_0x5c8cdf++],_0x6857c8=(_0x130743[_0x19773f>>>0x18]<<0x18|_0x130743[_0x469716>>>0x10&0xff]<<0x10|_0x130743[_0x4b1c4f>>>0x8&0xff]<<0x8|_0x130743[_0x2fd3f2&0xff])^_0x3658d1[_0x5c8cdf++],_0x3e19d4=(_0x130743[_0x469716>>>0x18]<<0x18|_0x130743[_0x4b1c4f>>>0x10&0xff]<<0x10|_0x130743[_0x2fd3f2>>>0x8&0xff]<<0x8|_0x130743[_0x19773f&0xff])^_0x3658d1[_0x5c8cdf++];_0xd2850f[_0x1801e4]=_0x1d1e88,_0xd2850f[_0x1801e4+0x1]=_0x404c47,_0xd2850f[_0x1801e4+0x2]=_0x6857c8,_0xd2850f[_0x1801e4+0x3]=_0x3e19d4;},'keySize':0x100/0x20});_0x1d7fef[_0x562ef8(0x41d)]=_0x488896[_0x562ef8(0x38a)](_0x225a40);}()),_0x5bdce3[_0x38712e(0x41d)];}));}(Ve)),Ve[_0x289157(0x21d)];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe[_0x575481(0x21d)],si;function Nn(){var _0x370a64=_0x575481;return si||(si=0x1,function(_0x27a4f5,_0x4eb2a7){(function(_0x20b69d,_0x216c0b){var _0x5cf868=_0x27b4;_0x27a4f5[_0x5cf868(0x21d)]=_0x216c0b(te());}(yn,function(_0x4042b1){var _0x3442d6=_0x27b4;return _0x4042b1[_0x3442d6(0x330)][_0x3442d6(0x2a2)];}));}(Xe)),Xe[_0x370a64(0x21d)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x575481(0x21d)],ni;function wn(){return ni||(ni=0x1,function(_0x38f7aa,_0x45cf8a){(function(_0x8bb1d0,_0x4b2300){_0x38f7aa['exports']=_0x4b2300(te());}(An,function(_0xa1bd64){return(function(){var _0x246ef1=_0x27b4;if(typeof ArrayBuffer==_0x246ef1(0x3d6)){var _0x37bbdc=_0xa1bd64,_0x3d369b=_0x37bbdc[_0x246ef1(0x11f)],_0x140e86=_0x3d369b[_0x246ef1(0x277)],_0x2c745=_0x140e86['init'],_0x503976=_0x140e86['init']=function(_0x46829e){var _0x1734f7=_0x246ef1;if(_0x46829e instanceof ArrayBuffer&&(_0x46829e=new Uint8Array(_0x46829e)),(_0x46829e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x46829e instanceof Uint8ClampedArray||_0x46829e instanceof Int16Array||_0x46829e instanceof Uint16Array||_0x46829e instanceof Int32Array||_0x46829e instanceof Uint32Array||_0x46829e instanceof Float32Array||_0x46829e instanceof Float64Array)&&(_0x46829e=new Uint8Array(_0x46829e[_0x1734f7(0x237)],_0x46829e[_0x1734f7(0x22b)],_0x46829e[_0x1734f7(0x208)])),_0x46829e instanceof Uint8Array){for(var _0x64c4e1=_0x46829e[_0x1734f7(0x208)],_0x53d63f=[],_0x39332b=0x0;_0x39332b<_0x64c4e1;_0x39332b++)_0x53d63f[_0x39332b>>>0x2]|=_0x46829e[_0x39332b]<<0x18-_0x39332b%0x4*0x8;_0x2c745[_0x1734f7(0x26c)](this,_0x53d63f,_0x64c4e1);}else _0x2c745[_0x1734f7(0x27a)](this,arguments);};_0x503976[_0x246ef1(0x316)]=_0x140e86;}}()),_0xa1bd64['lib']['WordArray'];}));}(Ze)),Ze['exports'];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x575481(0x21d)],ri;function xn(){var _0x3640d2=_0x575481;return ri||(ri=0x1,function(_0x53b5f4,_0x5ebdce){(function(_0x2fa6a3,_0x2ecf5d,_0x26daf8){var _0x5dae2e=_0x27b4;_0x53b5f4[_0x5dae2e(0x21d)]=_0x2ecf5d(te(),Ni());}(Mn,function(_0xb1632f){var _0x886a0e=_0x27b4;return _0xb1632f[_0x886a0e(0x1e1)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0xb1632f[_0x886a0e(0x1e1)][_0x886a0e(0x2d2)];}));}(Qe)),Qe[_0x3640d2(0x21d)];}var kn=xn();const $n=$e(kn);function Hn(_0x2e00ae,_0x14a6e8){var _0x127000=_0x575481;const _0x3a4d75=_0x14a6e8-_0x2e00ae['length']%_0x14a6e8,_0x60ee74=String[_0x127000(0x311)](_0x3a4d75)[_0x127000(0x1fb)](_0x3a4d75);return _0x2e00ae+_0x60ee74;}function Bn(_0xad7bd1,_0x45ccb0){var _0x300b1f=_0x575481;const _0x25c8a9=Ln[_0x300b1f(0x17a)](0x10),_0x4de3d4=Hn(_0xad7bd1,0x10),_0xdbdb84=On[_0x300b1f(0x2e5)](Un['parse'](_0x4de3d4),ii[_0x300b1f(0x1af)](_0x45ccb0),{'iv':_0x25c8a9,'padding':$n});return _0x25c8a9[_0x300b1f(0x359)](_0xdbdb84['ciphertext'])[_0x300b1f(0x2a8)](ii);}function jn(){var _0x245fb9=_0x575481;const _0x5eaa10=_0x2935b5()[_0x245fb9(0x200)];if(_0x5eaa10){const _0x2ef271={'time':Math[_0x245fb9(0x3ea)](Date[_0x245fb9(0x3e7)]()/0x3e8),'domain':location[_0x245fb9(0x10e)]};return Bn(JSON[_0x245fb9(0x16a)](_0x2ef271),_0x5eaa10);}}var Fn=Object[_0x575481(0x150)],Vn=(_0x54e491,_0x114a19,_0x1102f7,_0xe33917)=>{var _0x5871c1=_0x575481;for(var _0xd4883d=_0xe33917>0x1?void 0x0:_0xe33917?Fn(_0x114a19,_0x1102f7):_0x114a19,_0x118c21=_0x54e491[_0x5871c1(0x2b8)]-0x1,_0x473a37;_0x118c21>=0x0;_0x118c21--)(_0x473a37=_0x54e491[_0x118c21])&&(_0xd4883d=_0x473a37(_0xd4883d)||_0xd4883d);return _0xd4883d;},Gn=(_0xc8c488,_0x332a80)=>(_0x263eab,_0x252175)=>_0x332a80(_0x263eab,_0x252175,_0xc8c488);let at=class{constructor(_0xac2dab){var _0x5ad084=_0x575481;this[_0x5ad084(0x161)]=_0xac2dab,this[_0x5ad084(0x18c)]();}[_0x575481(0x18c)](){var _0x8e9f1f=_0x575481;this[_0x8e9f1f(0x161)][_0x8e9f1f(0x3c3)]({'interceptor':(_0xf1f037,_0x197358)=>{var _0x2f7a36=_0x8e9f1f;const _0x54a0e5=_0xf1f037[_0x2f7a36(0x2bb)],_0x12df02=jn();return _0x12df02&&_0x54a0e5[_0x2f7a36(0x1f4)](_0x2f7a36(0x1b3),_0x12df02),_0x197358(_0xf1f037);}});}};at=Vn([Gn(0x0,_0xc3fde9(_0x2f31db))],at);var Yn=Object[_0x575481(0x150)],Wn=(_0x42028f,_0x134950,_0x447cc2,_0x4bf557)=>{for(var _0x3ef7ac=_0x4bf557>0x1?void 0x0:_0x4bf557?Yn(_0x134950,_0x447cc2):_0x134950,_0x4bc6d3=_0x42028f['length']-0x1,_0x2a3f79;_0x4bc6d3>=0x0;_0x4bc6d3--)(_0x2a3f79=_0x42028f[_0x4bc6d3])&&(_0x3ef7ac=_0x2a3f79(_0x3ef7ac)||_0x3ef7ac);return _0x3ef7ac;},vt=(_0x548e6c,_0xffeea3)=>(_0x9ad2e0,_0xa3db29)=>_0xffeea3(_0x9ad2e0,_0xa3db29,_0x548e6c);let Ct=class extends _0x36fb88{constructor(_0x2db4e6,_0x3a3a2d,_0x528a3a){var _0x5f33e3=_0x575481;super(),N(this,'_unitInfo$',new _0x2b18f4(null)),N(this,_0x5f33e3(0x274),this[_0x5f33e3(0x333)][_0x5f33e3(0x233)]()),(this['_logService']=_0x2db4e6,this[_0x5f33e3(0x23a)]=_0x3a3a2d,this[_0x5f33e3(0x385)]=_0x528a3a);}async['loadUnitOfRevision'](_0x52ab72,_0x7a9ed0,_0x29802b){var _0x1d6f74=_0x575481;this[_0x1d6f74(0x333)][_0x1d6f74(0x2f4)]({'unitId':_0x52ab72,'type':_0x7a9ed0});let _0x598bc6=null;switch(_0x7a9ed0){case Z[_0x1d6f74(0x1a4)]:{_0x598bc6=await this[_0x1d6f74(0x23a)][_0x1d6f74(0x2d4)](_0x52ab72,_0x29802b);break;}case Z['UNIVER_DOC']:{_0x598bc6=await this[_0x1d6f74(0x23a)][_0x1d6f74(0x16b)](_0x52ab72,_0x29802b);break;}default:{this[_0x1d6f74(0x1e0)]['error'](_0x1d6f74(0x156),_0x1d6f74(0x210));break;}}return _0x598bc6;}async[_0x575481(0x3db)](_0x1ecc9e,_0x415815,_0x27347b){var _0x10dd2c=_0x575481,_0xca0fd8;this[_0x10dd2c(0x333)][_0x10dd2c(0x2f4)]({'unitId':_0x1ecc9e,'type':_0x415815,'subUnitId':_0x27347b});let _0x293c54=0x0;const _0x4341ab=await((_0xca0fd8=this[_0x10dd2c(0x385)])==null?void 0x0:_0xca0fd8[_0x10dd2c(0x15d)](_0x1ecc9e));return _0x4341ab&&(_0x4341ab['awaitingChangeset']||_0x4341ab[_0x10dd2c(0x418)][_0x10dd2c(0x2b8)]!==0x0)&&(_0x293c54=_0x4341ab[_0x10dd2c(0x32e)]),_0x293c54===0x0&&this[_0x10dd2c(0x1e0)][_0x10dd2c(0x383)](_0x10dd2c(0x156),_0x10dd2c(0x39c)),this[_0x10dd2c(0x303)](_0x1ecc9e,_0x415815,_0x293c54);}};Ct=Wn([vt(0x0,_0x358d49),vt(0x1,_0xc3fde9(_0x475efa)),vt(0x2,_0x34a233(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x1b4914,_0x32a72d,_0x5cd462,_0x596efb)=>{var _0x133c53=_0x575481;for(var _0x3c1da6=_0x596efb>0x1?void 0x0:_0x596efb?Kn(_0x32a72d,_0x5cd462):_0x32a72d,_0x506f44=_0x1b4914[_0x133c53(0x2b8)]-0x1,_0x91558e;_0x506f44>=0x0;_0x506f44--)(_0x91558e=_0x1b4914[_0x506f44])&&(_0x3c1da6=_0x91558e(_0x3c1da6)||_0x3c1da6);return _0x3c1da6;},pt=(_0x1f22dd,_0x1ab5b8)=>(_0x11ce51,_0x159251)=>_0x1ab5b8(_0x11ce51,_0x159251,_0x1f22dd);const zn=['image/png',_0x575481(0x40a),_0x575481(0x3de),_0x575481(0x1c7),'image/bmp'],Jn=0x5*0x400*0x400,Xn=_0x575481(0x3e9),Zn=_0x575481(0x3d9),Qn=_0x575481(0x2f2),er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x42e212,_0x5135b8,_0x36d0c2){var _0x4a72b7=_0x575481;N(this,'_waitCount',0x0),N(this,_0x4a72b7(0x15f),new _0x49d875()),N(this,_0x4a72b7(0x3b6),this[_0x4a72b7(0x15f)]),N(this,_0x4a72b7(0x3f9),new Map()),(this['_httpService']=_0x42e212,this[_0x4a72b7(0x307)]=_0x5135b8,this[_0x4a72b7(0x2e8)]=_0x36d0c2);}['setWaitCount'](_0x1d6d01){var _0x461cd6=_0x575481;this[_0x461cd6(0x243)]=_0x1d6d01,this[_0x461cd6(0x15f)][_0x461cd6(0x2f4)](_0x1d6d01);}['getImageSourceCache'](_0x77821b,_0x36b1eb){var _0x5c2324=_0x575481;if(_0x36b1eb===_0x44b36f[_0x5c2324(0x25b)]){const _0x5d0618=new Image();return _0x5d0618[_0x5c2324(0x39a)]=_0x77821b,_0x5d0618;}return this[_0x5c2324(0x3f9)][_0x5c2324(0x1a7)](_0x77821b);}['addImageSourceCache'](_0xd79797,_0x3363ba,_0xbe16f0){var _0x15009d=_0x575481;_0x3363ba===_0x44b36f[_0x15009d(0x25b)]||_0xbe16f0==null||this[_0x15009d(0x3f9)]['set'](_0xd79797,_0xbe16f0);}async[_0x575481(0x38d)](_0xa3f69a){var _0x3f1d1b=_0x575481;try{const _0x58b260=this[_0x3f1d1b(0x2ee)](this[_0x3f1d1b(0x118)](),''+_0xa3f69a),_0x2ff06b=(await this[_0x3f1d1b(0x161)][_0x3f1d1b(0x1a7)](_0x58b260))[_0x3f1d1b(0x21a)];if(_0x2ff06b[_0x3f1d1b(0x329)]&&_0x2ff06b[_0x3f1d1b(0x329)][_0x3f1d1b(0x230)]===pi['OK']){const _0x95173b=new URL(_0x2ff06b['url'],this[_0x3f1d1b(0x3be)]())[_0x3f1d1b(0x2a8)]();return Promise['resolve'](_0x95173b);}return Promise[_0x3f1d1b(0x3af)](_0x2ff06b[_0x3f1d1b(0x329)]);}catch(_0x43d7ca){return Promise[_0x3f1d1b(0x3af)](_0x43d7ca);}}async[_0x575481(0x1b9)](_0x52c449){var _0x51ca96=_0x575481;let _0x5d8e65='';if(!zn[_0x51ca96(0x3ca)](_0x52c449[_0x51ca96(0x2e9)]))return this[_0x51ca96(0x22d)](),Promise[_0x51ca96(0x3af)](new Error(_0x10fdd3[_0x51ca96(0x24b)]));if(_0x52c449[_0x51ca96(0x228)]>Jn)return this[_0x51ca96(0x22d)](),Promise[_0x51ca96(0x3af)](new Error(_0x10fdd3[_0x51ca96(0x19f)]));try{const _0x52cd17=new FormData();_0x52cd17[_0x51ca96(0x1bd)]('file',_0x52c449);const _0x132e22=this[_0x51ca96(0x2e8)][_0x51ca96(0x3b8)](),_0x1474c0=_0x132e22==null?void 0x0:_0x132e22[_0x51ca96(0x3fb)]();if(!_0x1474c0)throw new Error(_0x51ca96(0x3ad));const _0x48a275=this['_getUploadFileURL']()+_0x51ca96(0x258)+_0x52c449[_0x51ca96(0x228)][_0x51ca96(0x2a8)]()+_0x51ca96(0x371)+mi[_0x51ca96(0x28c)]+_0x51ca96(0x37e)+encodeURIComponent(_0x1474c0),_0x369058={'body':_0x52cd17},_0x4f453d=(await this['_httpService'][_0x51ca96(0x323)](_0x48a275,_0x369058))[_0x51ca96(0x21a)];if(typeof _0x4f453d[_0x51ca96(0x34a)]!=_0x51ca96(0x122))return this[_0x51ca96(0x22d)](),Promise[_0x51ca96(0x3af)](new Error(_0x10fdd3[_0x51ca96(0x33b)]));_0x5d8e65=_0x4f453d[_0x51ca96(0x34a)];}catch{return this[_0x51ca96(0x22d)](),Promise['reject'](new Error(_0x10fdd3['ERROR_IMAGE']));}return new Promise((_0x479650,_0x3e40fd)=>{var _0x419883=_0x51ca96;const _0x586c09=new FileReader();_0x586c09['readAsDataURL'](_0x52c449),_0x586c09[_0x419883(0x2d1)]=_0x3476d8=>{var _0x33526a=_0x419883,_0x1b9075;const _0x4f6314=(_0x1b9075=_0x3476d8[_0x33526a(0x1f3)])==null?void 0x0:_0x1b9075['result'];if(_0x4f6314==null){this[_0x33526a(0x22d)](),_0x3e40fd(new Error(_0x10fdd3[_0x33526a(0x33b)]));return;}const _0x257e03=_0x4eb6f2[_0x33526a(0x1f5)](0x6);_0x479650({'imageId':_0x257e03,'imageSourceType':_0x44b36f['UUID'],'source':_0x5d8e65,'base64Cache':_0x4f6314,'status':_0x10fdd3[_0x33526a(0x147)]}),this[_0x33526a(0x22d)]();};});}[_0x575481(0x1cb)](){var _0x540b55=_0x575481,_0xbf4d6a,_0x5aebac;const _0x1934ab=this['_configService'][_0x540b55(0x2e7)](Xn),_0x17763e=this[_0x540b55(0x307)]['getConfig'](K);return(_0x5aebac=(_0xbf4d6a=_0x17763e==null?void 0x0:_0x17763e[_0x540b55(0x39e)])!=null?_0xbf4d6a:_0x1934ab)!=null?_0x5aebac:Zn;}[_0x575481(0x118)](){var _0x43bf4a=_0x575481,_0x2ddfe5,_0x5093c7;const _0x105620=this[_0x43bf4a(0x307)][_0x43bf4a(0x2e7)](Qn),_0xb6498a=this[_0x43bf4a(0x307)][_0x43bf4a(0x2e7)](K);return(_0x5093c7=(_0x2ddfe5=_0xb6498a==null?void 0x0:_0xb6498a[_0x43bf4a(0x340)])!=null?_0x2ddfe5:_0x105620)!=null?_0x5093c7:er;}[_0x575481(0x3be)](){var _0xa377dd=_0x575481,_0x36719c;const _0x282de8=this[_0xa377dd(0x307)]['getConfig'](K);return(_0x36719c=_0x282de8==null?void 0x0:_0x282de8[_0xa377dd(0x1b0)])!=null?_0x36719c:location[_0xa377dd(0x24a)];}[_0x575481(0x2ee)](_0x4c1a9e,_0x84b89e){var _0x2c0ff9=_0x575481;return _0x4c1a9e['replace'](_0x2c0ff9(0x1e2),_0x84b89e);}[_0x575481(0x22d)](){var _0x2a249f=_0x575481;this[_0x2a249f(0x243)]-=0x1,this[_0x2a249f(0x15f)][_0x2a249f(0x2f4)](this[_0x2a249f(0x243)]);}};Rt=qn([pt(0x0,_0xc3fde9(_0x2f31db)),pt(0x1,_0xfd96b9),pt(0x2,_0xc3fde9(_0x276651))],Rt);var tr=Object[_0x575481(0x150)],ir=(_0x17bf95,_0x488552,_0x281131,_0x233e11)=>{for(var _0x46e15f=_0x233e11>0x1?void 0x0:_0x233e11?tr(_0x488552,_0x281131):_0x488552,_0x2097ba=_0x17bf95['length']-0x1,_0x39f58e;_0x2097ba>=0x0;_0x2097ba--)(_0x39f58e=_0x17bf95[_0x2097ba])&&(_0x46e15f=_0x39f58e(_0x46e15f)||_0x46e15f);return _0x46e15f;},ai=(_0x341827,_0x5196f5)=>(_0x27d432,_0x294ee9)=>_0x5196f5(_0x27d432,_0x294ee9,_0x341827);const sr=_0x575481(0x177);let Ot=class{constructor(_0xab4226,_0x25a92e){var _0x4a9739=_0x575481;this[_0x4a9739(0x307)]=_0xab4226,this['_HTTPService']=_0x25a92e;}[_0x575481(0x22e)](){var _0x537c32=_0x575481,_0x2675ae,_0x5cefdf;const _0xf8acac=this[_0x537c32(0x307)][_0x537c32(0x2e7)](Oi),_0x3cf0ef=this[_0x537c32(0x307)][_0x537c32(0x2e7)](K);return(_0x5cefdf=(_0x2675ae=_0x3cf0ef==null?void 0x0:_0x3cf0ef[_0x537c32(0x32c)])!=null?_0x2675ae:_0xf8acac)!=null?_0x5cefdf:sr;}async['list'](_0x3154ff){var _0x50bee5=_0x575481;const _0x2fecee=this[_0x50bee5(0x22e)]()+_0x50bee5(0x2c8);return{'list':[{'title':_0x50bee5(0x221),'mentions':(await this[_0x50bee5(0x2bf)][_0x50bee5(0x1a7)](_0x2fecee,{'params':{'objectID':_0x3154ff[_0x50bee5(0x266)],'unitID':_0x3154ff['unitId']}}))[_0x50bee5(0x21a)][_0x50bee5(0x12a)][_0x50bee5(0x2ca)](_0x3031e0=>({'objectId':_0x3031e0['id'],'name':_0x3031e0[_0x50bee5(0x2f5)][_0x50bee5(0x14f)],'metadata':{'icon':_0x3031e0[_0x50bee5(0x2f5)][_0x50bee5(0x1f2)]},'label':_0x3031e0['subject'][_0x50bee5(0x14f)],'objectType':_0x1bb820[_0x50bee5(0x234)]})),'metadata':{},'type':_0x1bb820[_0x50bee5(0x234)]}]};}};Ot=ir([ai(0x0,_0xc3fde9(_0xfd96b9)),ai(0x1,_0xc3fde9(_0x2f31db))],Ot);var nr=Object[_0x575481(0x150)],rr=(_0x154b2f,_0x5105df,_0x1f3da1,_0x34e103)=>{var _0x58899a=_0x575481;for(var _0x5d4ea0=_0x34e103>0x1?void 0x0:_0x34e103?nr(_0x5105df,_0x1f3da1):_0x5105df,_0x38c90a=_0x154b2f[_0x58899a(0x2b8)]-0x1,_0x4fc761;_0x38c90a>=0x0;_0x38c90a--)(_0x4fc761=_0x154b2f[_0x38c90a])&&(_0x5d4ea0=_0x4fc761(_0x5d4ea0)||_0x5d4ea0);return _0x5d4ea0;},Ae=(_0x57501b,_0x18c03b)=>(_0x5da0e9,_0x1db882)=>_0x18c03b(_0x5da0e9,_0x1db882,_0x57501b);let ot=class extends _0x36fb88{constructor(_0x50d5b1,_0x3aa442,_0x161ad1,_0x3e8ecd,_0x355a45){var _0x3506cc=_0x575481;super(),this[_0x3506cc(0x388)]=_0x50d5b1,this[_0x3506cc(0x2e8)]=_0x3aa442,this[_0x3506cc(0x261)]=_0x161ad1,this[_0x3506cc(0x35b)]=_0x3e8ecd,this[_0x3506cc(0x318)]=_0x355a45,this[_0x3506cc(0x270)](),this[_0x3506cc(0x252)]();}[_0x575481(0x252)](){var _0x1cf78b=_0x575481;const _0x5daca3=async _0x5e08c8=>{var _0x2b5228=_0x27b4;(await this[_0x2b5228(0x35b)][_0x2b5228(0x2ff)](_0x5e08c8))[_0x2b5228(0x345)]['pipe'](_0x55c517(_0x3f984e=>_0x3f984e[_0x2b5228(0x2aa)]===_0xc491a6[_0x2b5228(0x132)]),_0x3746a7(this[_0x2b5228(0x348)]))['subscribe'](_0x315eea=>{var _0x357087=_0x2b5228;const _0x3d95cc=_0x315eea,{reason:_0x46bbc2}=_0x3d95cc['data'];this['_collaborationUIEventService'][_0x357087(0x201)]({'id':ne['CLOSE_ROOM'],'data':_0x46bbc2}),this['_permissionService'][_0x357087(0x39f)](new _0x2ed758(_0x5e08c8)['id'],!0x1),this[_0x357087(0x35b)]['closeSession'](_0x5e08c8);});};_0xd11ec1(this[_0x1cf78b(0x2e8)][_0x1cf78b(0x2fa)](_0x18640d[_0x1cf78b(0x1a4)]),this[_0x1cf78b(0x2e8)][_0x1cf78b(0x2fa)](_0x18640d[_0x1cf78b(0x3b7)]))['pipe'](_0x4b783b(_0x5ec17e=>_0x5ec17e[_0x1cf78b(0x3fb)]()),_0x55c517(_0x2c6ca5=>!_0x72f995(_0x2c6ca5)),_0x3746a7(this[_0x1cf78b(0x348)]))['subscribe'](_0xd4ac02=>{_0x5daca3(_0xd4ac02);});}['_initUnitPermissionChange'](){var _0x4f05a6=_0x575481;const _0x133587=async _0x47cb07=>{var _0x48bfba=_0x27b4;const _0x28fd16=await this[_0x48bfba(0x35b)]['requireSession'](_0x47cb07),_0x2e60be=this[_0x48bfba(0x388)][_0x48bfba(0x1a7)](_0x166834);_0x28fd16['event$'][_0x48bfba(0x272)](_0x55c517(_0x39af06=>_0x39af06[_0x48bfba(0x2aa)]===_0xc491a6['UPDATE_PERMISSION_OBJ']),_0x3746a7(this['dispose$']))[_0x48bfba(0x1d1)](_0x29400b=>{var _0x1c2cc0=_0x48bfba;const _0x312e31=_0x29400b,{objectId:_0x2d8819}=_0x312e31[_0x1c2cc0(0x368)];_0x2d8819===_0x47cb07?_0x2e60be[_0x1c2cc0(0x32a)](_0x47cb07):_0x2e60be['refreshPermission'](_0x47cb07,_0x2d8819);});};_0xd11ec1(this[_0x4f05a6(0x2e8)][_0x4f05a6(0x2fa)](_0x18640d['UNIVER_SHEET']))[_0x4f05a6(0x272)](_0x4b783b(_0x127828=>_0x127828['getUnitId']()),_0x55c517(_0x576f7b=>!_0x72f995(_0x576f7b)),_0x3746a7(this[_0x4f05a6(0x348)]))[_0x4f05a6(0x1d1)](_0x29cfbc=>{_0x133587(_0x29cfbc);});}};ot=rr([Ae(0x0,_0xc3fde9(_0x11e6a7)),Ae(0x1,_0x276651),Ae(0x2,_0x56d703),Ae(0x3,_0xc3fde9(Le)),Ae(0x4,_0xc3fde9(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x5eca56,_0x3dc2f8,_0x41033d,_0xd35019)=>{var _0x2cb469=_0x575481;for(var _0x1578ae=_0xd35019>0x1?void 0x0:_0xd35019?ar(_0x3dc2f8,_0x41033d):_0x3dc2f8,_0x449d3a=_0x5eca56[_0x2cb469(0x2b8)]-0x1,_0x2ea41e;_0x449d3a>=0x0;_0x449d3a--)(_0x2ea41e=_0x5eca56[_0x449d3a])&&(_0x1578ae=_0x2ea41e(_0x1578ae)||_0x1578ae);return _0x1578ae;},oi=(_0x534957,_0x1e2ec2)=>(_0x3288e6,_0x4ba270)=>_0x1e2ec2(_0x3288e6,_0x4ba270,_0x534957);let bt=class{constructor(_0x5443f2,_0x220ce5){this['_configService']=_0x5443f2,this['_httpService']=_0x220ce5;}async[_0x575481(0x2f6)](_0x3d2315,_0x4386ce){var _0x3ff917=_0x575481,_0x3d0303;const {unitID:_0x380d72,type:_0x41fe3c,revision:_0xd42d35=0x0}=_0x4386ce,_0x4abf5f=this[_0x3ff917(0x41a)]()+'/'+_0x41fe3c+_0x3ff917(0x2f3)+_0x380d72+_0x3ff917(0x1fd)+_0xd42d35,_0x4e1503=(await this[_0x3ff917(0x161)]['get'](_0x4abf5f))[_0x3ff917(0x21a)],_0x1ead0f=(_0x3d0303=_0x4e1503[_0x3ff917(0x417)])==null?void 0x0:_0x3d0303[_0x3ff917(0x3c9)];if(_0x1ead0f){const _0x22ab8f=_0x1ead0f==null?void 0x0:_0x1ead0f[_0x3ff917(0x3d4)],_0x58456a=_0x40fe68['encode'](_0xb35304(_0x22ab8f));_0x1ead0f['originalMeta']=_0x58456a,Object['entries'](_0x1ead0f[_0x3ff917(0x17c)])['forEach'](([,_0x530d99])=>{var _0x1a4257=_0x3ff917;const _0x19c932=_0x530d99[_0x1a4257(0x3d4)],_0x2734c4=_0x40fe68['encode'](_0xb35304(_0x19c932));_0x530d99[_0x1a4257(0x3d4)]=_0x2734c4;});}return _0x4e1503;}async['getSheetBlock'](_0x5cd83b,_0x4ce144){var _0x1ee6f3=_0x575481;const {unitID:_0x348a32,type:_0x2b636e,blockID:_0x5d516e}=_0x4ce144,_0x36b98f=this['_getAPIPrefix']()+'/'+_0x2b636e+_0x1ee6f3(0x2f3)+_0x348a32+_0x1ee6f3(0x36c)+_0x5d516e;return(await this[_0x1ee6f3(0x161)]['get'](_0x36b98f))[_0x1ee6f3(0x21a)];}async[_0x575481(0x402)](_0x27b872,_0x1552c7){var _0x44d074=_0x575481;const {unitID:_0x5eb665,type:_0x496a4f,blockID:_0x8c348}=_0x1552c7,_0x3337b7=this[_0x44d074(0x17e)]()+_0x44d074(0x36c)+_0x496a4f+_0x44d074(0x2f3)+_0x5eb665+'/block/'+_0x8c348;return(await this[_0x44d074(0x161)][_0x44d074(0x1a7)](_0x3337b7))[_0x44d074(0x21a)];}async[_0x575481(0x40c)](_0x1a9a69,_0xd0b412){var _0x24533b=_0x575481;const {unitID:_0x353964,type:_0x1e34c5,from:_0x2a660a,to:_0x5b9e10}=_0xd0b412,_0x595d81=this[_0x24533b(0x17e)]()+'/'+_0x1e34c5+_0x24533b(0x2f3)+_0x353964+_0x24533b(0x212)+_0x2a660a+'&to='+_0x5b9e10;return(await this[_0x24533b(0x161)][_0x24533b(0x1a7)](_0x595d81))['body'];}[_0x575481(0x41a)](){var _0x31824f=_0x575481,_0x1c67bb;return(_0x1c67bb=this[_0x31824f(0x307)][_0x31824f(0x2e7)](ps))!=null?_0x1c67bb:this[_0x31824f(0x17e)]();}[_0x575481(0x17e)](){var _0x1666ba=_0x575481,_0x5779d5,_0x35315c;const _0x357cee=this[_0x1666ba(0x307)]['getConfig'](fs),_0x377115=this[_0x1666ba(0x307)][_0x1666ba(0x2e7)](K);return(_0x35315c=(_0x5779d5=_0x377115==null?void 0x0:_0x377115['snapshotServerUrl'])!=null?_0x5779d5:_0x357cee)!=null?_0x35315c:vs;}async['getResourcesRequest'](_0x1da78c,_0x21630f){var _0x443869=_0x575481;const _0x55e4b3=_0x443869(0x130)+_0x21630f[_0x443869(0x2e9)]+_0x443869(0x2f3)+_0x21630f[_0x443869(0x290)]+_0x443869(0x375);return(await this[_0x443869(0x161)]['get'](_0x55e4b3,{'params':{'resourceId':JSON[_0x443869(0x16a)](_0x21630f[_0x443869(0x1ba)])}}))[_0x443869(0x21a)];}[_0x575481(0x23d)](){var _0x458b6f=_0x575481;throw new Error(_0x458b6f(0x2fe));}[_0x575481(0x3fc)](){var _0x3e0a01=_0x575481;throw new Error(_0x3e0a01(0x2fe));}[_0x575481(0x3d7)](){var _0x4762e1=_0x575481;throw new Error(_0x4762e1(0x2fe));}[_0x575481(0x1e8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x575481(0x1ea)](){var _0x2a635e=_0x575481;throw new Error(_0x2a635e(0x2fe));}};bt=or([oi(0x0,_0xfd96b9),oi(0x1,_0xc3fde9(_0x2f31db))],bt);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x222508,_0x435662,_0x43a325,_0x272a74)=>{for(var _0x13e7a9=_0x272a74>0x1?void 0x0:_0x272a74?cr(_0x435662,_0x43a325):_0x435662,_0xa88cd8=_0x222508['length']-0x1,_0x3ff1c0;_0xa88cd8>=0x0;_0xa88cd8--)(_0x3ff1c0=_0x222508[_0xa88cd8])&&(_0x13e7a9=_0x3ff1c0(_0x13e7a9)||_0x13e7a9);return _0x13e7a9;},we=(_0x1188d8,_0x399e3e)=>(_0x3ecf27,_0x13c0a8)=>_0x399e3e(_0x3ecf27,_0x13c0a8,_0x1188d8);let yt=class extends _0x3e2d72{constructor(_0x18f054,_0x46c06f,_0xfa3320,_0x5d1da5,_0x543d98){var _0x32a503=_0x575481;super(_0x18f054,_0x46c06f,_0xfa3320),this[_0x32a503(0x3f0)]=_0x5d1da5,this['_logService']=_0x543d98;}[_0x575481(0x3c1)](_0x47febd,_0x3b0bb0){var _0x194cde=_0x575481;const _0x1940b9=this[_0x194cde(0x160)](_0x47febd);if(_0x1940b9)try{const _0x2974f8=this[_0x194cde(0x1c9)](_0x1940b9,_0x3b0bb0);this[_0x194cde(0x401)](_0x47febd,_0x2974f8);}catch(_0x4b8661){this[_0x194cde(0x1e0)][_0x194cde(0x329)](_0x194cde(0x2b5),_0x4b8661),this[_0x194cde(0x31f)](_0x47febd);}const _0x26fce9=this[_0x194cde(0x1d7)](_0x47febd);if(_0x26fce9)try{const _0x274f74=this[_0x194cde(0x1c9)](_0x26fce9,_0x3b0bb0);this[_0x194cde(0x111)](_0x47febd,_0x274f74);}catch(_0x2dea5c){this[_0x194cde(0x1e0)][_0x194cde(0x329)](_0x2dea5c),this['_clearRedo'](_0x47febd);}}['_clearUndo'](_0xcd502d){var _0x1991c1=_0x575481;const _0x26796e=this[_0x1991c1(0x160)](_0xcd502d);_0x26796e&&(_0x26796e['length']=0x0,this[_0x1991c1(0x403)]());}['_clearRedo'](_0x5666e7){var _0x4a9e21=_0x575481;const _0x3b22c0=this[_0x4a9e21(0x1d7)](_0x5666e7);_0x3b22c0&&(_0x3b22c0['length']=0x0,this['_updateStatus']());}[_0x575481(0x401)](_0x281428,_0x3f03b7){var _0x23c2c5=_0x575481;this[_0x23c2c5(0x354)][_0x23c2c5(0x1f4)](_0x281428,_0x3f03b7),this['_updateStatus']();}[_0x575481(0x111)](_0x263b00,_0x3094e6){var _0x592c44=_0x575481;this[_0x592c44(0x2ab)][_0x592c44(0x1f4)](_0x263b00,_0x3094e6),this['_updateStatus']();}[_0x575481(0x1c9)](_0x35ca7f,_0x28c12d){var _0x335610=_0x575481;const _0x27745f=[];let _0x1c5b32=_0x28c12d,_0x4cde9b=_0x28c12d;for(let _0x27f681=_0x35ca7f[_0x335610(0x2b8)]-0x1;_0x27f681>=0x0;_0x27f681--){const {unitID:_0x1452ec,undoMutations:_0x14fb39,redoMutations:_0x3d0d2a}=_0x35ca7f[_0x27f681],_0x5e3a60=this[_0x335610(0x3f0)][_0x335610(0x186)](_0x1c5b32,_0x14fb39),_0x5db83a=this[_0x335610(0x3f0)][_0x335610(0x186)](_0x4cde9b,_0x3d0d2a);if(_0x515fa6(_0x5e3a60)||_0x515fa6(_0x5db83a)){this[_0x335610(0x1e0)]['error']('[CollaborationUndoRedoService]',_0x335610(0x2f7),_0x5e3a60,_0x5db83a);break;}_0x1c5b32=_0x5e3a60[_0x335610(0x281)],_0x4cde9b=_0x5db83a[_0x335610(0x281)],_0x27745f[_0x335610(0x13d)]({'unitID':_0x1452ec,'undoMutations':_0x5e3a60[_0x335610(0x17d)],'redoMutations':_0x5db83a[_0x335610(0x17d)]});}return _0x27745f['reverse']();}};yt=hr([we(0x0,_0x276651),we(0x1,_0x5e9ffa),we(0x2,_0x2d40bf),we(0x3,_0x2a6017),we(0x4,_0x358d49)],yt);var _r=Object['defineProperty'],lr=Object['getOwnPropertyDescriptor'],ur=(_0x30b482,_0x1cc41b,_0x68211e)=>_0x1cc41b in _0x30b482?_r(_0x30b482,_0x1cc41b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x68211e}):_0x30b482[_0x1cc41b]=_0x68211e,dr=(_0x1f596b,_0x17f08f,_0x3273a6,_0x52cca2)=>{var _0xd00ac3=_0x575481;for(var _0x5352a8=_0x52cca2>0x1?void 0x0:_0x52cca2?lr(_0x17f08f,_0x3273a6):_0x17f08f,_0x5e49f3=_0x1f596b[_0xd00ac3(0x2b8)]-0x1,_0x332bab;_0x5e49f3>=0x0;_0x5e49f3--)(_0x332bab=_0x1f596b[_0x5e49f3])&&(_0x5352a8=_0x332bab(_0x5352a8)||_0x5352a8);return _0x5352a8;},mt=(_0x1afa59,_0x53af87)=>(_0x5ad7e1,_0x5631e7)=>_0x53af87(_0x5ad7e1,_0x5631e7,_0x1afa59),fr=(_0x18f4cb,_0x2645c1,_0x20452)=>ur(_0x18f4cb,_0x2645c1+'',_0x20452);const vr=_0x575481(0x32f);let Nt=class extends _0x3bc309{constructor(_0x55a137,_0x23aced,_0x26bb81,_0x1db964){var _0x2bc96a=_0x575481;super(),N(this,'_config'),(this[_0x2bc96a(0x1e0)]=_0x23aced,this[_0x2bc96a(0x388)]=_0x26bb81,this[_0x2bc96a(0x307)]=_0x1db964);const {..._0xfe0f70}=_0x3de801({},Ds,_0x55a137);if(!_0xfe0f70['socketService'])throw new Error(_0x2bc96a(0x213));this[_0x2bc96a(0x2a7)]=_0xfe0f70,this['_configService'][_0x2bc96a(0x26e)](K,_0xfe0f70);}[_0x575481(0x16f)](){var _0x25ee2b=_0x575481;this[_0x25ee2b(0x152)](),this[_0x25ee2b(0x170)]();}[_0x575481(0x152)](){var _0x25e408=_0x575481,_0x5638d0,_0x3aea47;this['_injector'][_0x25e408(0x2eb)](_0x29a4a9)&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x25e408(0x362));const _0x13c18f=_0x4c899e([[_0x29a4a9,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x25e408(0x2a7)][_0x25e408(0x350)]}],[_0x4f8f66,{'useClass':bt}],[_0x21ab12,{'useClass':Tt}],[_0x31a5b0,{'useClass':Rt}],[_0x5df231,{'useClass':Ot}],[nt],[It]],(_0x5638d0=this['_config'])==null?void 0x0:_0x5638d0[_0x25e408(0x3d3)]);if(!((_0x3aea47=this['_config'])!=null&&_0x3aea47[_0x25e408(0x176)])){const _0x3e855d=_0x13c18f[_0x25e408(0x1d8)](([_0x338324])=>_0x338324===ht);_0x3e855d!==-0x1&&_0x13c18f[_0x25e408(0x3e8)](_0x3e855d,0x1);}_0x3687e9(this[_0x25e408(0x388)],_0x13c18f);}[_0x575481(0x170)](){var _0x4164fc=_0x575481,_0x3dc0e3,_0xfa38bd,_0x424fe4;this['_injector']['get'](_0x2f31db)[_0x4164fc(0x3c3)]({'priority':0x14,'interceptor':_0x58f90f({'maxParallel':0x6})}),(_0x3dc0e3=this[_0x4164fc(0x2a7)])!=null&&_0x3dc0e3[_0x4164fc(0x154)]||(_0xfa38bd=this[_0x4164fc(0x388)][_0x4164fc(0x1a7)](J,_0x33767c['OPTIONAL']))==null||_0xfa38bd['disableLocalCache'](),(_0x424fe4=this[_0x4164fc(0x2a7)])!=null&&_0x424fe4[_0x4164fc(0x3e3)]&&_0x103b60(this[_0x4164fc(0x388)],[[rt]]),_0x103b60(this[_0x4164fc(0x388)],[[at],[nt],[ot]]);}};fr(Nt,_0x575481(0x253),vr),Nt=dr([_0x528fe7(_0xbbaa98,_0x585d80),mt(0x1,_0x358d49),mt(0x2,_0xc3fde9(_0x11e6a7)),mt(0x3,_0xfd96b9)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
1
+ var _0x48e815=_0x5b1d;(function(_0xec09d6,_0x5613d9){var _0xc159e4=_0x5b1d,_0x426359=_0xec09d6();while(!![]){try{var _0x3c3267=parseInt(_0xc159e4(0x185))/0x1+parseInt(_0xc159e4(0x1ab))/0x2+-parseInt(_0xc159e4(0x41e))/0x3+-parseInt(_0xc159e4(0x336))/0x4*(parseInt(_0xc159e4(0x3d2))/0x5)+parseInt(_0xc159e4(0x389))/0x6*(-parseInt(_0xc159e4(0x3f9))/0x7)+-parseInt(_0xc159e4(0x229))/0x8*(-parseInt(_0xc159e4(0x1ef))/0x9)+-parseInt(_0xc159e4(0x2ad))/0xa;if(_0x3c3267===_0x5613d9)break;else _0x426359['push'](_0x426359['shift']());}catch(_0x30ba08){_0x426359['push'](_0x426359['shift']());}}}(_0x25dc,0xc8e25));var yi=Object[_0x48e815(0x44c)],Ni=(_0x20b03f,_0xdc8044,_0x373832)=>_0xdc8044 in _0x20b03f?yi(_0x20b03f,_0xdc8044,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x373832}):_0x20b03f[_0xdc8044]=_0x373832,N=(_0x2d431d,_0x2429c6,_0x1967d4)=>Ni(_0x2d431d,typeof _0x2429c6!='symbol'?_0x2429c6+'':_0x2429c6,_0x1967d4);import{createIdentifier as _0x5c2d67,Inject as _0xe5fc48,Injector as _0x5f3072,IConfigService as _0x1354c0,ILogService as _0x45ccfb,Disposable as _0x316736,DisposableCollection as _0x4007ee,toDisposable as _0x215275,IUniverInstanceService as _0x1d4196,UserManagerService as _0x1ce904,UniverInstanceType as _0x2b3da6,LocaleService as _0x5c87f7,Optional as _0x5b024c,RxDisposable as _0x8e301e,Tools as _0x51cd9d,Rectangle as _0x2affab,ICommandService as _0x450933,JSONX as _0x155b1e,CommandType as _0x11ce4d,IUndoRedoService as _0x2e2de5,IPermissionService as _0x3d56a3,sequenceExecute as _0x4adda7,Workbook as _0x314fc4,generateRandomId as _0x29a09a,MentionType as _0x18f707,isInternalEditorID as _0x23da9c,LocalUndoRedoService as _0x24f08d,IContextService as _0x18e758,DependentOn as _0x2f892d,Plugin as _0x26dd55,merge as _0x26db16,mergeOverrideWithDependencies as _0x1872ab,IAuthzIoService as _0x1bea93,IMentionIOService as _0x574acb,registerDependencies as _0x1a856c,Quantity as _0x22d1c9,touchDependencies as _0xb9a930}from'@univerjs/core';import{Subject as _0x57bfb2,merge as _0x408112,of as _0x3f372b,BehaviorSubject as _0x5c47bb,takeUntil as _0x520563,ReplaySubject as _0xb9d0b6,take as _0x5f706a,map as _0xe39c84,shareReplay as _0x314a77,firstValueFrom as _0x28e43e,concatMap as _0x91ec1a}from'rxjs';import{map as _0x8eeacb,take as _0x2324f3,filter as _0xae1022,delay as _0x52612f,takeUntil as _0x3bb276}from'rxjs/operators';import{CollaborationEvent as _0x3ea884,ISnapshotServerService as _0x198ff2,parseChangesetToProtocol as _0x5f22a3,ITransformService as _0x320ac0,isTransformMutationsWithChangesetSuccess as _0x159925,mapDocumentTypeToUniverType as _0x2a8e96,RevisionService as _0x26290a,isTransformChangesetsSuccess as _0x2c9aec,CompressMutationService as _0x2fbfd3,parseProtocolChangeset as _0x77ec70,uuidv4 as _0x4ee8c6,SnapshotService as _0x120535,textEncoder as _0x39b23f,b64DecodeUnicode as _0x2f0c36,isTransformMutationsWithChangesetFailure as _0x48be92,UniverCollaborationPlugin as _0x5ebe43}from'@univerjs-pro/collaboration';import{HTTPService as _0x5beaf6,ISocketService as _0x454e28,MergeInterceptorFactory as _0x2ce875,HTTPRequest as _0x404005,UniverNetworkPlugin as _0xbb5aa8,ThresholdInterceptorFactory as _0x179d27}from'@univerjs/network';import{ITelemetryService as _0x184326}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x21e400}from'@univerjs/docs';import{SheetsSelectionsService as _0x14e724,SetSelectionsOperation as _0x433b8b,InsertSheetMutation as _0x20b5a9,EmptyMutation as _0x3f7068,WorkbookEditablePermission as _0x11e3c6,SheetPermissionInitController as _0x63f140}from'@univerjs/sheets';import{ImageSourceType as _0x11397c,ImageUploadStatusType as _0x2d6ddd,IImageIoService as _0x10fe2b}from'@univerjs/drawing';import{getGlobalObject as _0x576faf}from'@univerjs-pro/license';const fs=_0x48e815(0x385),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x48e815(0x2cd),Ir=_0x48e815(0x37a),gs=_0x48e815(0x355),Ss=0x7530,di=_0x48e815(0x2ed),fi=0x4e20,Es=0x4e20,Is=_0x48e815(0x30a),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Cr=0x3e8,Cs=_0x48e815(0x26b),Rs=_0x48e815(0x404),Rr=_0x48e815(0x36d),Or=_0x48e815(0x2fe);var vi=(_0x15ef70=>(_0x15ef70[_0x15ef70[_0x48e815(0x347)]=0x0]='UNDEFINED',_0x15ef70[_0x15ef70['OK']=0x1]='OK',_0x15ef70[_0x15ef70[_0x48e815(0x47c)]=0x2]=_0x48e815(0x47c),_0x15ef70[_0x15ef70[_0x48e815(0x38a)]=0x3]=_0x48e815(0x38a),_0x15ef70[_0x15ef70[_0x48e815(0x1fe)]=0x4]=_0x48e815(0x1fe),_0x15ef70[_0x15ef70[_0x48e815(0x369)]=0x5]='UNAUTHENTICATED',_0x15ef70[_0x15ef70[_0x48e815(0x3d1)]=0x6]='ALREADY_EXISTS',_0x15ef70[_0x15ef70[_0x48e815(0x301)]=0x7]='INVALID_ARGUMENT',_0x15ef70[_0x15ef70['TOO_MANY_REQUESTS']=0x8]=_0x48e815(0x190),_0x15ef70[_0x15ef70[_0x48e815(0x415)]=0x9]=_0x48e815(0x415),_0x15ef70[_0x15ef70[_0x48e815(0x255)]=0xa]=_0x48e815(0x255),_0x15ef70[_0x15ef70[_0x48e815(0x2a4)]=0xb]=_0x48e815(0x2a4),_0x15ef70[_0x15ef70[_0x48e815(0x2fb)]=0xc]=_0x48e815(0x2fb),_0x15ef70[_0x15ef70[_0x48e815(0x471)]=0xd]=_0x48e815(0x471),_0x15ef70[_0x15ef70['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x48e815(0x43c),_0x15ef70[_0x15ef70['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x48e815(0x3ee),_0x15ef70[_0x15ef70['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x48e815(0x1df),_0x15ef70[_0x15ef70['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x48e815(0x3f1),_0x15ef70[_0x15ef70['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x48e815(0x3de),_0x15ef70[_0x15ef70[_0x48e815(0x1f9)]=0x1b59]=_0x48e815(0x1f9),_0x15ef70[_0x15ef70[_0x48e815(0x1d7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x15ef70[_0x15ef70['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x48e815(0x35e),_0x15ef70[_0x15ef70[_0x48e815(0x18e)]=0x1b5c]=_0x48e815(0x18e),_0x15ef70[_0x15ef70[_0x48e815(0x31a)]=0x1b5d]='APPLY_DUPLICATED',_0x15ef70[_0x15ef70['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x15ef70[_0x15ef70[_0x48e815(0x37e)]=0x2329]=_0x48e815(0x37e),_0x15ef70[_0x15ef70['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x48e815(0x45c),_0x15ef70[_0x15ef70[_0x48e815(0x3cf)]=0x232b]=_0x48e815(0x3cf),_0x15ef70[_0x15ef70[_0x48e815(0x32f)]=0x232c]=_0x48e815(0x32f),_0x15ef70[_0x15ef70[_0x48e815(0x16f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x15ef70[_0x15ef70[_0x48e815(0x172)]=0x2711]=_0x48e815(0x172),_0x15ef70[_0x15ef70[_0x48e815(0x1e2)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x15ef70[_0x15ef70[_0x48e815(0x256)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15ef70[_0x15ef70[_0x48e815(0x3aa)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x15ef70[_0x15ef70[_0x48e815(0x3bd)]=0x271a]=_0x48e815(0x3bd),_0x15ef70[_0x15ef70[_0x48e815(0x1fb)]=0x271b]=_0x48e815(0x1fb),_0x15ef70[_0x15ef70['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x48e815(0x1a1),_0x15ef70[_0x15ef70['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x48e815(0x2ee),_0x15ef70[_0x15ef70[_0x48e815(0x1e9)]=0x271e]=_0x48e815(0x1e9),_0x15ef70[_0x15ef70[_0x48e815(0x2f0)]=0x271f]=_0x48e815(0x2f0),_0x15ef70[_0x15ef70[_0x48e815(0x28b)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x15ef70[_0x15ef70[_0x48e815(0x273)]=0x2af9]=_0x48e815(0x273),_0x15ef70[_0x15ef70[_0x48e815(0x294)]=0x2ee1]=_0x48e815(0x294),_0x15ef70[_0x15ef70[_0x48e815(0x178)]=0x2ee2]='INVALID_INVITE_CODE',_0x15ef70[_0x15ef70['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x15ef70[_0x15ef70[_0x48e815(0x26f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x15ef70[_0x15ef70[_0x48e815(0x184)]=0x2ee5]=_0x48e815(0x184),_0x15ef70[_0x15ef70[_0x48e815(0x1a7)]=0x32c9]=_0x48e815(0x1a7),_0x15ef70[_0x15ef70[_0x48e815(0x397)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x15ef70[_0x15ef70['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x48e815(0x2aa),_0x15ef70[_0x15ef70['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x15ef70))(vi||{}),Z=(_0x3b8933=>(_0x3b8933[_0x3b8933['UNIVER_UNKNOWN']=0x0]=_0x48e815(0x1da),_0x3b8933[_0x3b8933['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3b8933[_0x3b8933['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x3b8933[_0x3b8933['UNIVER_SLIDE']=0x3]=_0x48e815(0x380),_0x3b8933[_0x3b8933[_0x48e815(0x425)]=0x4]=_0x48e815(0x425),_0x3b8933[_0x3b8933[_0x48e815(0x226)]=-0x1]='UNRECOGNIZED',_0x3b8933))(Z||{}),F=(_0x16c0b3=>(_0x16c0b3[_0x16c0b3[_0x48e815(0x35a)]=0x0]=_0x48e815(0x35a),_0x16c0b3[_0x16c0b3[_0x48e815(0x315)]=0x1]=_0x48e815(0x315),_0x16c0b3[_0x16c0b3['JOIN']=0x2]=_0x48e815(0x24c),_0x16c0b3[_0x16c0b3[_0x48e815(0x384)]=0x3]=_0x48e815(0x384),_0x16c0b3[_0x16c0b3[_0x48e815(0x2fc)]=0x4]=_0x48e815(0x2fc),_0x16c0b3[_0x16c0b3[_0x48e815(0x1b8)]=0x5]=_0x48e815(0x1b8),_0x16c0b3[_0x16c0b3[_0x48e815(0x432)]=0x6]='RECV',_0x16c0b3[_0x16c0b3[_0x48e815(0x226)]=-0x1]=_0x48e815(0x226),_0x16c0b3))(F||{}),me=(_0x2fb9c0=>(_0x2fb9c0[_0x2fb9c0[_0x48e815(0x310)]=0x0]=_0x48e815(0x310),_0x2fb9c0[_0x2fb9c0['OK']=0x1]='OK',_0x2fb9c0[_0x2fb9c0[_0x48e815(0x19a)]=0x2]=_0x48e815(0x19a),_0x2fb9c0[_0x2fb9c0['JOIN_ROOM_FULL']=0x3e9]=_0x48e815(0x199),_0x2fb9c0[_0x2fb9c0[_0x48e815(0x457)]=0x3ea]=_0x48e815(0x457),_0x2fb9c0[_0x2fb9c0[_0x48e815(0x426)]=0x3eb]=_0x48e815(0x426),_0x2fb9c0[_0x2fb9c0[_0x48e815(0x1d9)]=0x3ec]=_0x48e815(0x1d9),_0x2fb9c0[_0x2fb9c0[_0x48e815(0x226)]=-0x1]=_0x48e815(0x226),_0x2fb9c0))(me||{}),pi=(_0x469503=>(_0x469503[_0x469503[_0x48e815(0x25d)]=0x0]=_0x48e815(0x25d),_0x469503[_0x469503['HttpImport']=0x1]='HttpImport',_0x469503[_0x469503['HttpExport']=0x2]=_0x48e815(0x284),_0x469503[_0x469503[_0x48e815(0x290)]=0x3]=_0x48e815(0x290),_0x469503[_0x469503[_0x48e815(0x20a)]=0x4]=_0x48e815(0x20a),_0x469503[_0x469503['UserProfileImg']=0x5]=_0x48e815(0x3b1),_0x469503[_0x469503[_0x48e815(0x226)]=-0x1]='UNRECOGNIZED',_0x469503))(pi||{});const K=_0x48e815(0x414),Os={};var ne=(_0x2477d9=>(_0x2477d9[_0x48e815(0x434)]='OTHER_CLIENT_EDITING',_0x2477d9['PERMISSION_DENIED']=_0x48e815(0x38a),_0x2477d9[_0x48e815(0x3bb)]='CONFLICT',_0x2477d9[_0x48e815(0x3d6)]=_0x48e815(0x3d6),_0x2477d9['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x2477d9[_0x48e815(0x191)]='SOCKET_FAILED_RETRY',_0x2477d9[_0x48e815(0x382)]=_0x48e815(0x382),_0x2477d9[_0x48e815(0x3c4)]=_0x48e815(0x3c4),_0x2477d9))(ne||{});class ve{constructor(){var _0x18fb14=_0x48e815;N(this,_0x18fb14(0x277),new _0x57bfb2()),N(this,_0x18fb14(0x193),this[_0x18fb14(0x277)][_0x18fb14(0x308)]());}[_0x48e815(0x3a6)](_0x3062e4){var _0x37eb98=_0x48e815;this[_0x37eb98(0x277)]['next'](_0x3062e4);}}const bs=_0x5c2d67('univer-pro.collaboration-client.network-condition.service');function ys(_0x37608f){var _0x1f672a=_0x48e815,_0x580d53,_0x51b1b2,_0x2c40ee,_0x202d01,_0x21c1e7;const _0x1a27db=_0x37608f[_0x1f672a(0x327)],_0x909754=JSON[_0x1f672a(0x36e)](_0x1a27db);switch(_0x909754[_0x1f672a(0x377)]){case F[_0x1f672a(0x1b8)]:case F[_0x1f672a(0x315)]:{const _0x4e987c=_0x909754[_0x1f672a(0x254)];return{..._0x909754,'data':_0x4e987c,'cmd':_0x909754[_0x1f672a(0x377)]};}case F['JOIN']:{const _0x3b58bd=_0x909754['joinRsp'];return{..._0x909754,'data':_0x3b58bd,'cmd':_0x909754['cmd']};}case F[_0x1f672a(0x432)]:{const _0x12ce74=_0x909754[_0x1f672a(0x374)];switch(_0x12ce74[_0x1f672a(0x19c)]){case _0x3ea884[_0x1f672a(0x482)]:return{..._0x909754,'data':{..._0x12ce74,'data':(_0x580d53=_0x12ce74[_0x1f672a(0x17b)])==null?void 0x0:_0x580d53['cs']},'cmd':_0x909754['cmd']};case _0x3ea884[_0x1f672a(0x46a)]:return{..._0x909754,'data':{..._0x12ce74,'data':(_0x51b1b2=_0x12ce74['csAckEvent'])==null?void 0x0:_0x51b1b2['cs']},'cmd':_0x909754['cmd']};case _0x3ea884[_0x1f672a(0x189)]:return{..._0x909754,'data':{..._0x12ce74,'data':(_0x2c40ee=_0x12ce74[_0x1f672a(0x46f)])==null?void 0x0:_0x2c40ee['cs']},'cmd':_0x909754['cmd']};case _0x3ea884[_0x1f672a(0x1d6)]:return{..._0x909754,'data':{..._0x12ce74,'data':(_0x202d01=_0x12ce74[_0x1f672a(0x3ac)])==null?void 0x0:_0x202d01['cs']},'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884['CHANGESET_SHOULD_RETRY']:return{..._0x909754,'data':{..._0x12ce74,'data':(_0x21c1e7=_0x12ce74[_0x1f672a(0x408)])==null?void 0x0:_0x21c1e7['cs']},'cmd':_0x909754['cmd']};case _0x3ea884[_0x1f672a(0x248)]:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74[_0x1f672a(0x412)]},'cmd':_0x909754['cmd']};case _0x3ea884[_0x1f672a(0x1de)]:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74[_0x1f672a(0x295)]},'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884[_0x1f672a(0x37c)]:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74[_0x1f672a(0x1cd)]},'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884[_0x1f672a(0x3b6)]:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74[_0x1f672a(0x2c7)]},'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884[_0x1f672a(0x2c6)]:case _0x3ea884[_0x1f672a(0x20e)]:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74[_0x1f672a(0x3f4)]},'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884['LIVESHARE_TERMINATE']:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74[_0x1f672a(0x2c7)]},'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884[_0x1f672a(0x393)]:return{..._0x909754,'data':_0x12ce74,'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884['COMMENT_UPDATE']:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74[_0x1f672a(0x356)]},'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884['UPDATE_PERMISSION_OBJ']:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74['updatePermissionObjEvent']},'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884[_0x1f672a(0x47b)]:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74[_0x1f672a(0x2b5)]},'cmd':_0x909754[_0x1f672a(0x377)]};case _0x3ea884[_0x1f672a(0x2b7)]:return{..._0x909754,'data':{..._0x12ce74,'data':_0x12ce74[_0x1f672a(0x31f)]},'cmd':_0x909754[_0x1f672a(0x377)]};default:return _0x909754;}}default:return _0x909754;}}function Ns(_0x1b99dc){var _0x21db5b=_0x48e815;switch(_0x1b99dc[_0x21db5b(0x377)]){case F[_0x21db5b(0x1b8)]:case F['HELLO']:return JSON[_0x21db5b(0x464)]({'cmd':_0x1b99dc[_0x21db5b(0x377)],'routeKey':_0x1b99dc[_0x21db5b(0x296)]});case F['INGEST']:{let _0x4976ea;switch(_0x1b99dc['data'][_0x21db5b(0x19c)]){case _0x3ea884[_0x21db5b(0x248)]:{_0x4976ea={'eventID':_0x3ea884['UPDATE_CURSOR'],'updateCursorEvent':_0x1b99dc[_0x21db5b(0x327)][_0x21db5b(0x327)]};break;}case _0x3ea884[_0x21db5b(0x37c)]:{_0x4976ea={'eventID':_0x3ea884[_0x21db5b(0x37c)],'leaveEvent':_0x1b99dc[_0x21db5b(0x327)][_0x21db5b(0x327)]};break;}case _0x3ea884[_0x21db5b(0x1de)]:{_0x4976ea={'eventID':_0x3ea884['USERS_ENTER'],'joinEvent':_0x1b99dc[_0x21db5b(0x327)][_0x21db5b(0x327)]};break;}case _0x3ea884[_0x21db5b(0x3b6)]:{_0x4976ea={'eventID':_0x3ea884[_0x21db5b(0x3b6)],'liveShareNewHost':_0x1b99dc[_0x21db5b(0x327)][_0x21db5b(0x327)]};break;}case _0x3ea884[_0x21db5b(0x20e)]:{_0x4976ea={'eventID':_0x3ea884[_0x21db5b(0x20e)],'liveShareOperation':_0x1b99dc[_0x21db5b(0x327)][_0x21db5b(0x327)]};break;}case _0x3ea884[_0x21db5b(0x364)]:{_0x4976ea={'eventID':_0x3ea884[_0x21db5b(0x364)],'liveShareTerminate':_0x1b99dc['data'][_0x21db5b(0x327)]};break;}case _0x3ea884[_0x21db5b(0x225)]:{_0x4976ea={'eventID':_0x3ea884[_0x21db5b(0x225)],'liveShareRequestHost':_0x1b99dc[_0x21db5b(0x327)][_0x21db5b(0x327)]};break;}case _0x3ea884[_0x21db5b(0x2c6)]:{_0x4976ea={'eventID':_0x3ea884['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4976ea={'eventID':_0x1b99dc[_0x21db5b(0x327)][_0x21db5b(0x19c)]};}return JSON[_0x21db5b(0x464)]({'cmd':_0x1b99dc['cmd'],'routeKey':_0x1b99dc[_0x21db5b(0x296)],'collaMsg':_0x4976ea});}case F[_0x21db5b(0x24c)]:return JSON[_0x21db5b(0x464)]({'cmd':_0x1b99dc[_0x21db5b(0x377)],'routeKey':_0x1b99dc[_0x21db5b(0x296)],'joinReq':_0x1b99dc[_0x21db5b(0x327)]});case F[_0x21db5b(0x384)]:return JSON[_0x21db5b(0x464)]({'cmd':_0x1b99dc[_0x21db5b(0x377)],'routeKey':_0x1b99dc['routeKey'],'leaveReq':_0x1b99dc[_0x21db5b(0x327)]});default:throw new Error(_0x21db5b(0x1d3));}}var Ds=Object['getOwnPropertyDescriptor'],Us=(_0x1ea725,_0x31a673,_0x5845b2,_0x6a479d)=>{var _0x4ca589=_0x48e815;for(var _0x2b00be=_0x6a479d>0x1?void 0x0:_0x6a479d?Ds(_0x31a673,_0x5845b2):_0x31a673,_0x52ea36=_0x1ea725[_0x4ca589(0x455)]-0x1,_0x663ea8;_0x52ea36>=0x0;_0x52ea36--)(_0x663ea8=_0x1ea725[_0x52ea36])&&(_0x2b00be=_0x663ea8(_0x2b00be)||_0x2b00be);return _0x2b00be;},Ue=(_0x404c45,_0x286969)=>(_0x3b4ab8,_0x1e25a6)=>_0x286969(_0x3b4ab8,_0x1e25a6,_0x404c45);const mi=_0x5c2d67(_0x48e815(0x221));function As(_0x59018a,_0x4794c0,_0x2f8594){var _0x594bdb=_0x48e815;return _0x59018a+'/'+_0x4794c0+_0x594bdb(0x2df)+_0x2f8594+_0x594bdb(0x30e);}let Ft=class extends _0x316736{constructor(_0x13a09e,_0xda818a,_0x4c5f8b,_0x5cd69e,_0x4e2e29){var _0x1c6e4f=_0x48e815;super(),this['_injector']=_0x13a09e,this[_0x1c6e4f(0x182)]=_0xda818a,this[_0x1c6e4f(0x35d)]=_0x4c5f8b,this[_0x1c6e4f(0x23f)]=_0x5cd69e,this[_0x1c6e4f(0x19d)]=_0x4e2e29;}[_0x48e815(0x451)](_0x30f1bb){var _0x5e453d=_0x48e815;const _0x42a7a2=this[_0x5e453d(0x25b)][_0x5e453d(0x205)](_0x454e28);if(!_0x42a7a2)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x2f5823=_0x42a7a2['createSocket'](_0x30f1bb);if(!_0x2f5823)throw new Error(_0x5e453d(0x479));const _0x872724=new _0x4007ee(),_0x47a603=new _0x57bfb2();_0x872724[_0x5e453d(0x218)](_0x2f5823[_0x5e453d(0x3c1)]['subscribe'](_0x41b7ad=>_0x47a603['next'](_0x41b7ad))),_0x872724[_0x5e453d(0x218)](_0x215275(()=>_0x47a603[_0x5e453d(0x2c4)]()));const _0x4307ea=new _0x57bfb2();_0x872724[_0x5e453d(0x218)](_0x2f5823[_0x5e453d(0x34f)]['subscribe'](_0x4f00e0=>_0x4307ea[_0x5e453d(0x2a0)](_0x4f00e0))),_0x872724[_0x5e453d(0x218)](_0x215275(()=>_0x4307ea[_0x5e453d(0x2c4)]()));const _0x31fb4f=new _0x57bfb2();_0x872724['add'](_0x2f5823[_0x5e453d(0x33e)][_0x5e453d(0x445)](_0x3a47bd=>{var _0x4c60f4=_0x5e453d;const _0x5b4142=ys(_0x3a47bd);_0x31fb4f[_0x4c60f4(0x2a0)](_0x5b4142);})),_0x872724[_0x5e453d(0x218)](_0x215275(()=>_0x31fb4f['complete']()));let _0x591076;const _0x16b680=()=>{var _0x1d1488=_0x5e453d;_0x4307ea[_0x1d1488(0x2a0)](new Event(_0x1d1488(0x2ff))),_0x47a603[_0x1d1488(0x2a0)](new Event('connection\x20error')),_0x591076['close']();};return _0x591076={'memberID':'','close$':_0x47a603[_0x5e453d(0x308)](),'error$':_0x4307ea[_0x5e453d(0x308)](),'open$':_0x2f5823[_0x5e453d(0x1e6)],'message$':_0x31fb4f[_0x5e453d(0x308)](),'send':_0x137f9b=>{var _0x4e5558=_0x5e453d;if(_0x137f9b[_0x4e5558(0x377)]===F['INGEST']){if(_0x137f9b[_0x4e5558(0x327)][_0x4e5558(0x19c)]===_0x3ea884[_0x4e5558(0x3cc)]){this[_0x4e5558(0x24a)](_0x591076,_0x137f9b[_0x4e5558(0x327)])[_0x4e5558(0x2f7)](_0xc35a0f=>{var _0xec367c=_0x4e5558;this['_logService'][_0xec367c(0x2f9)](_0xc35a0f),_0x16b680();});return;}if(_0x137f9b['data'][_0x4e5558(0x19c)]===_0x3ea884[_0x4e5558(0x188)]){const _0x3c9320=_0x137f9b['data'];this['_fetchMissChangesets'](_0x3c9320)['then'](_0x2925e0=>{var _0x338bc5=_0x4e5558;_0x31fb4f[_0x338bc5(0x2a0)]({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0x3c9320[_0x338bc5(0x327)]['unitID'],'routeType':'','data':{'eventID':_0x3ea884[_0x338bc5(0x297)],'data':{'changesets':_0x2925e0}}});})[_0x4e5558(0x2f7)](_0x4fc845=>{var _0x2c88f1=_0x4e5558;this[_0x2c88f1(0x23f)][_0x2c88f1(0x2f9)](_0x4fc845),_0x16b680();});return;}}_0x2f5823['send'](Ns(_0x137f9b));},'close':()=>{var _0x9e9679=_0x5e453d;_0x2f5823[_0x9e9679(0x1ed)](),_0x872724[_0x9e9679(0x376)]();}},_0x591076;}async[_0x48e815(0x24a)](_0x185639,_0x4fdf36){var _0x278049=_0x48e815,_0x52ce1e;const {unitType:_0x25b3c0,unitID:_0xd35ba8,changeset:_0x24316f}=_0x4fdf36[_0x278049(0x327)],_0x3100b9={'unitID':_0xd35ba8,'memberID':_0x185639['memberID'],'type':_0x25b3c0,'changeset':_0x5f22a3(_0x24316f)},_0x120af0=this[_0x278049(0x35d)]['getConfig'](K),_0x4d293a=As((_0x52ce1e=_0x120af0==null?void 0x0:_0x120af0['collabSubmitChangesetUrl'])!=null?_0x52ce1e:Cs,_0x25b3c0,_0xd35ba8);try{await this[_0x278049(0x182)][_0x278049(0x1a4)](_0x4d293a,{'body':_0x3100b9});}catch(_0x5ce686){throw this[_0x278049(0x23f)][_0x278049(0x2f9)](_0x278049(0x3af),_0x278049(0x2ec)),_0x5ce686;}}async[_0x48e815(0x42f)](_0x4e42f6){var _0x1687ae=_0x48e815;const {unitID:_0x24f68e,from:_0x1b7bfd,to:_0x1bfa6e,unitType:_0x287b3c}=_0x4e42f6[_0x1687ae(0x327)];return(await this[_0x1687ae(0x19d)][_0x1687ae(0x317)]({'metadata':void 0x0},{'unitID':_0x24f68e,'type':_0x287b3c,'from':_0x1b7bfd,'to':_0x1bfa6e}))['changesets'];}};Ft=Us([Ue(0x0,_0xe5fc48(_0x5f3072)),Ue(0x1,_0xe5fc48(_0x5beaf6)),Ue(0x2,_0x1354c0),Ue(0x3,_0x45ccfb),Ue(0x4,_0x198ff2)],Ft);const ws=_0x48e815(0x473);function Ps(_0x5ac728){var _0x3e8f59=_0x48e815;return JSON[_0x3e8f59(0x464)](_0x5ac728)['length'];}class gi{constructor(){var _0x158f08=_0x48e815;N(this,'_commentUpdate$',new _0x57bfb2()),N(this,_0x158f08(0x1e3),this['_commentUpdate$'][_0x158f08(0x308)]());}[_0x48e815(0x238)](_0x1ff534){var _0x1ae414=_0x48e815;this[_0x1ae414(0x3d8)][_0x1ae414(0x2a0)](_0x1ff534);}}var Ms=Object[_0x48e815(0x40f)],Ls=(_0x1a096e,_0x5c575b,_0x4ed922,_0x3a5794)=>{var _0xf18242=_0x48e815;for(var _0x5147da=_0x3a5794>0x1?void 0x0:_0x3a5794?Ms(_0x5c575b,_0x4ed922):_0x5c575b,_0x383800=_0x1a096e[_0xf18242(0x455)]-0x1,_0x23c022;_0x383800>=0x0;_0x383800--)(_0x23c022=_0x1a096e[_0x383800])&&(_0x5147da=_0x23c022(_0x5147da)||_0x5147da);return _0x5147da;},Vt=(_0x3069fb,_0x431e7f)=>(_0x50aef1,_0x370c89)=>_0x431e7f(_0x50aef1,_0x370c89,_0x3069fb);let Pe=class extends _0x316736{constructor(_0x1d8276,_0x2e6935){var _0x5786f0=_0x48e815;super(),N(this,_0x5786f0(0x453),new Map()),N(this,_0x5786f0(0x233),new _0x57bfb2()),(this['_univerInstanceService']=_0x1d8276,this[_0x5786f0(0x285)]=_0x2e6935,this[_0x5786f0(0x399)](_0x408112(this[_0x5786f0(0x1f0)][_0x5786f0(0x251)](_0x2b3da6[_0x5786f0(0x371)])['pipe'](_0x8eeacb(_0x566b6b=>_0x566b6b['getUnitId']())),this['_univerInstanceService'][_0x5786f0(0x251)](_0x2b3da6['UNIVER_DOC'])[_0x5786f0(0x358)](_0x8eeacb(_0x4c9f69=>_0x4c9f69[_0x5786f0(0x462)]())),this[_0x5786f0(0x1f0)][_0x5786f0(0x251)](_0x2b3da6[_0x5786f0(0x380)])[_0x5786f0(0x358)](_0x8eeacb(_0xaa2c7b=>_0xaa2c7b['getUnitId']())))['subscribe'](_0x5e5741=>this[_0x5786f0(0x1dc)](_0x5e5741))));}[_0x48e815(0x1dd)](_0x569b2b){var _0x22eb85=_0x48e815;return this[_0x22eb85(0x453)]['has'](_0x569b2b)?_0x3f372b(this['_roomMembers'][_0x22eb85(0x205)](_0x569b2b)):this[_0x22eb85(0x233)][_0x22eb85(0x358)](_0x8eeacb(_0x2b1da1=>{var _0x44cc44=_0x22eb85;if(_0x2b1da1===_0x569b2b)return this[_0x44cc44(0x453)][_0x44cc44(0x205)](_0x2b1da1);}));}[_0x48e815(0x3bc)](_0x224803){var _0x3af09b=_0x48e815;this[_0x3af09b(0x285)][_0x3af09b(0x3bc)](_0x224803);}[_0x48e815(0x2f1)](){var _0x2d5782=_0x48e815;return this[_0x2d5782(0x285)][_0x2d5782(0x2f1)]();}['updateMember'](_0x25947f,_0x2cbb71){var _0x45bab1=_0x48e815;let _0xe5d8e8=this['_roomMembers'][_0x45bab1(0x205)](_0x25947f);_0xe5d8e8||(_0xe5d8e8=new xs(),this[_0x45bab1(0x453)][_0x45bab1(0x247)](_0x25947f,_0xe5d8e8),this[_0x45bab1(0x233)]['next'](_0x25947f)),_0xe5d8e8['updateMember'](_0x2cbb71);}[_0x48e815(0x3f2)](_0x3a5d67,_0x46d449){var _0x5856dc=_0x48e815;const _0xf6875f=this[_0x5856dc(0x453)][_0x5856dc(0x205)](_0x3a5d67);_0xf6875f&&_0xf6875f[_0x5856dc(0x3f2)](_0x46d449);}[_0x48e815(0x419)](_0x18c8e2){var _0x5e2cdf=_0x48e815;return this['_roomMembers'][_0x5e2cdf(0x205)](_0x18c8e2);}[_0x48e815(0x3a7)](_0xacac99,_0x7dc05a){var _0x5aea57=_0x48e815;const _0x5c49b1=this[_0x5aea57(0x453)][_0x5aea57(0x205)](_0xacac99);if(_0x5c49b1)return _0x5c49b1[_0x5aea57(0x3a7)](_0x7dc05a);}[_0x48e815(0x1dc)](_0x33bfb4){var _0x3b1889=_0x48e815;const _0x126b1a=this[_0x3b1889(0x453)][_0x3b1889(0x205)](_0x33bfb4);_0x126b1a&&(_0x126b1a['dispose'](),this[_0x3b1889(0x453)][_0x3b1889(0x43d)](_0x33bfb4));}['dispose'](){var _0x32a18d=_0x48e815;this[_0x32a18d(0x453)]['forEach'](_0x55c80b=>_0x55c80b['dispose']()),this['_roomMembers']['clear'](),this[_0x32a18d(0x233)]['complete']();}};Pe=Ls([Vt(0x0,_0x1d4196),Vt(0x1,_0xe5fc48(_0x1ce904))],Pe);class xs extends _0x316736{constructor(){var _0x4c3e37=_0x48e815;super(...arguments),N(this,_0x4c3e37(0x2f4),new Map()),N(this,_0x4c3e37(0x28f),new _0x5c47bb(this[_0x4c3e37(0x2f4)])),N(this,_0x4c3e37(0x363),this['_members$'][_0x4c3e37(0x308)]());}[_0x48e815(0x376)](){var _0x2a3ca8=_0x48e815;this[_0x2a3ca8(0x2f4)]['clear']();}[_0x48e815(0x2c8)](_0x3c0f0d){var _0x5cc40e=_0x48e815;this[_0x5cc40e(0x2f4)]['set'](_0x3c0f0d[_0x5cc40e(0x439)],_0x3c0f0d),this[_0x5cc40e(0x175)]();}[_0x48e815(0x3f2)](_0x4d2e43){var _0x6631ec=_0x48e815;this[_0x6631ec(0x2f4)]['delete'](_0x4d2e43);}[_0x48e815(0x3a7)](_0x59a92d){var _0x2cd576=_0x48e815;return this[_0x2cd576(0x2f4)][_0x2cd576(0x205)](_0x59a92d);}['getAllMembers'](){var _0xd00639=_0x48e815;return Array[_0xd00639(0x311)](this['_members']['values']());}[_0x48e815(0x175)](){var _0xe9790f=_0x48e815;this[_0xe9790f(0x28f)][_0xe9790f(0x2a0)](this[_0xe9790f(0x2f4)]);}}var ks=Object[_0x48e815(0x40f)],$s=(_0x5e2522,_0xe570cb,_0x311f13,_0x5b7a35)=>{var _0x2fc395=_0x48e815;for(var _0x7fa245=_0x5b7a35>0x1?void 0x0:_0x5b7a35?ks(_0xe570cb,_0x311f13):_0xe570cb,_0x4980f7=_0x5e2522[_0x2fc395(0x455)]-0x1,_0x4b793d;_0x4980f7>=0x0;_0x4980f7--)(_0x4b793d=_0x5e2522[_0x4980f7])&&(_0x7fa245=_0x4b793d(_0x7fa245)||_0x7fa245);return _0x7fa245;},pe=(_0x234ad6,_0x5ac5ec)=>(_0x145ada,_0x5e26fe)=>_0x5ac5ec(_0x145ada,_0x5e26fe,_0x234ad6),Se=(_0x238342=>(_0x238342[_0x238342[_0x48e815(0x1eb)]=0x0]=_0x48e815(0x1eb),_0x238342[_0x238342[_0x48e815(0x2ac)]=0x1]=_0x48e815(0x2ac),_0x238342[_0x238342[_0x48e815(0x318)]=0x2]='OFFLINE',_0x238342[_0x238342[_0x48e815(0x3fe)]=0x3]=_0x48e815(0x3fe),_0x238342))(Se||{});const Wt={[me[_0x48e815(0x19a)]]:_0x48e815(0x1bb),[me[_0x48e815(0x199)]]:'session.room-full',[me[_0x48e815(0x457)]]:_0x48e815(0x265),[me['JOIN_ROOM_PERMISSION_DENIED']]:_0x48e815(0x2e7),[me[_0x48e815(0x1d9)]]:_0x48e815(0x2e3)};let gt=class extends _0x8e301e{constructor(_0x19434c,_0x355248,_0x120959,_0x64f3ea,_0x499ba1,_0x2a22f1,_0x48f2fe,_0x1ccbfa,_0x1a3834){var _0x99400c=_0x48e815;super(),N(this,'_sessionStatus$',new _0x5c47bb(0x0)),N(this,_0x99400c(0x201),this[_0x99400c(0x348)][_0x99400c(0x308)]()),N(this,'_event$',new _0x57bfb2()),N(this,_0x99400c(0x193),this[_0x99400c(0x277)]['asObservable']()),N(this,'_socket'),N(this,_0x99400c(0x1ec)),N(this,'_collaborationTimeoutTimer'),N(this,_0x99400c(0x3f0),!0x1),N(this,_0x99400c(0x27a),null),(this['_unitID']=_0x19434c,this['_logService']=_0x120959,this[_0x99400c(0x35d)]=_0x64f3ea,this['_localeService']=_0x499ba1,this['_memberService']=_0x2a22f1,this[_0x99400c(0x3da)]=_0x48f2fe,this['_collaborationUIEventService']=_0x1ccbfa,this[_0x99400c(0x38d)]=_0x1a3834,this[_0x99400c(0x3f0)]=!!this[_0x99400c(0x38d)],_0x355248['pipe'](_0x520563(this[_0x99400c(0x3be)]))['subscribe'](_0x49ff6a=>{var _0x51ec14=_0x99400c,_0x523ea2;typeof _0x49ff6a>'u'||(this['_socket']=_0x49ff6a,_0x49ff6a?(this[_0x51ec14(0x227)](_0x49ff6a),this[_0x51ec14(0x1ec)]=_0x49ff6a[_0x51ec14(0x33e)][_0x51ec14(0x445)](_0x8ba19f=>{var _0x305cf3=_0x51ec14;_0x8ba19f[_0x305cf3(0x296)]===this['_unitID']&&this[_0x305cf3(0x24b)](_0x8ba19f);})):(this[_0x51ec14(0x2a8)](),this['_sessionStatus$'][_0x51ec14(0x2a0)](0x2),(_0x523ea2=this['_socketMessageSubscription'])==null||_0x523ea2[_0x51ec14(0x274)](),this[_0x51ec14(0x1ec)]=null));}));}get['sessionStatus'](){var _0x518c2a=_0x48e815;return this[_0x518c2a(0x348)][_0x518c2a(0x446)]();}[_0x48e815(0x33d)](){var _0x1cd734=_0x48e815,_0x46dd06,_0x323ac7;return(_0x323ac7=(_0x46dd06=this[_0x1cd734(0x1cf)])==null?void 0x0:_0x46dd06['memberID'])!=null?_0x323ac7:null;}[_0x48e815(0x376)](){var _0x439303=_0x48e815;super[_0x439303(0x376)](),this[_0x439303(0x3be)][_0x439303(0x2a0)](),this['dispose$'][_0x439303(0x2c4)]();}[_0x48e815(0x1ed)](){var _0x166c25=_0x48e815,_0x302d05,_0x4c6c3a;this[_0x166c25(0x2a8)](),(_0x302d05=this[_0x166c25(0x1cf)])==null||_0x302d05['send']({'cmd':F[_0x166c25(0x384)],'data':{'roomID':this[_0x166c25(0x3fd)]}}),(_0x4c6c3a=this[_0x166c25(0x1cf)])==null||_0x4c6c3a['close'](),this[_0x166c25(0x277)][_0x166c25(0x2c4)](),this[_0x166c25(0x348)][_0x166c25(0x2c4)](),this['dispose']();}[_0x48e815(0x24b)](_0x589669){var _0x2ac7d2=_0x48e815;_0x589669[_0x2ac7d2(0x377)]===F[_0x2ac7d2(0x24c)]?this[_0x2ac7d2(0x383)](_0x589669):_0x589669['cmd']===F[_0x2ac7d2(0x432)]&&this['_onRecvEvent'](_0x589669);}['_joinRoom'](_0x5f1b5f){var _0x380aed=_0x48e815;this[_0x380aed(0x348)][_0x380aed(0x2a0)](0x1),_0x5f1b5f[_0x380aed(0x2d8)]({'cmd':F[_0x380aed(0x24c)],'routeKey':this[_0x380aed(0x3fd)],'routeType':'','data':{'rooms':[{'roomID':this[_0x380aed(0x3fd)]}]}});}['_onJoinRoomEvent'](_0x61c52f){var _0x291d8a=_0x48e815,_0x474d5b;if(_0x61c52f[_0x291d8a(0x208)]in Wt){this[_0x291d8a(0x332)][_0x291d8a(0x3a6)]({'id':ne[_0x291d8a(0x243)],'data':Wt[_0x61c52f[_0x291d8a(0x208)]]}),this[_0x291d8a(0x348)]['next'](0x2);return;}this[_0x291d8a(0x348)][_0x291d8a(0x2a0)](0x3);const _0x18d203=(_0x474d5b=_0x61c52f[_0x291d8a(0x327)]['roomInfos'][this[_0x291d8a(0x3fd)]])==null?void 0x0:_0x474d5b['members'];_0x18d203&&_0x18d203['forEach'](_0x4da5c5=>this[_0x291d8a(0x1fa)][_0x291d8a(0x2c8)](this[_0x291d8a(0x3fd)],_0x4da5c5));}['_onRecvEvent'](_0x25f321){var _0x299ba0=_0x48e815;try{const _0x184d81=_0x25f321[_0x299ba0(0x327)];switch(_0x184d81[_0x299ba0(0x19c)]){case _0x3ea884[_0x299ba0(0x1de)]:this['_onUserJoin'](_0x184d81),this[_0x299ba0(0x277)]['next'](_0x184d81);break;case _0x3ea884['USERS_LEAVE']:this[_0x299ba0(0x46d)](_0x184d81),this[_0x299ba0(0x277)][_0x299ba0(0x2a0)](_0x184d81);break;case _0x3ea884[_0x299ba0(0x46a)]:case _0x3ea884[_0x299ba0(0x353)]:this[_0x299ba0(0x25e)](),this[_0x299ba0(0x288)](),this['_event$']['next'](_0x184d81);break;case _0x3ea884[_0x299ba0(0x393)]:this[_0x299ba0(0x23f)][_0x299ba0(0x2f9)](_0x299ba0(0x1b4)+JSON[_0x299ba0(0x464)](_0x184d81)),this[_0x299ba0(0x277)]['next'](_0x184d81);break;case _0x3ea884[_0x299ba0(0x16e)]:this[_0x299ba0(0x3da)]['onCommentUpdate'](_0x184d81[_0x299ba0(0x327)]),this['_event$'][_0x299ba0(0x2a0)](_0x184d81);break;default:this[_0x299ba0(0x277)][_0x299ba0(0x2a0)](_0x184d81);}}catch(_0x38142f){this[_0x299ba0(0x23f)][_0x299ba0(0x2f9)](_0x38142f,_0x25f321);}}[_0x48e815(0x472)](_0xded0c2){var _0x5f49d1=_0x48e815;this[_0x5f49d1(0x1fa)][_0x5f49d1(0x2c8)](this[_0x5f49d1(0x3fd)],_0xded0c2[_0x5f49d1(0x327)]);}['_onUserLeave'](_0x3bc7cc){var _0x239ba0=_0x48e815;this[_0x239ba0(0x1fa)][_0x239ba0(0x3f2)](this[_0x239ba0(0x3fd)],_0x3bc7cc[_0x239ba0(0x327)][_0x239ba0(0x439)]);}async[_0x48e815(0x2d8)](_0x37e72d,_0x3b6469){var _0x3f02c7=_0x48e815;if(this[_0x3f02c7(0x2d9)]!==0x3||!this[_0x3f02c7(0x1cf)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x37e72d[_0x3f02c7(0x19c)]===_0x3ea884['SUBMIT_CHANGESET']&&(this[_0x3f02c7(0x349)](),this['_startTelemetryCollaborationNewChangeset'](_0x37e72d)),this[_0x3f02c7(0x1cf)][_0x3f02c7(0x2d8)]({'cmd':F[_0x3f02c7(0x2fc)],'routeKey':_0x3b6469,'routeType':'','data':_0x37e72d});}catch(_0x924aec){this[_0x3f02c7(0x23f)][_0x3f02c7(0x2f9)](_0x924aec);}}[_0x48e815(0x349)](){var _0x4f3493=_0x48e815,_0x17a621;this[_0x4f3493(0x375)]=setTimeout(()=>{var _0xc70ee3=_0x4f3493;this['_collaborationTimeoutTimer']=null,this[_0xc70ee3(0x332)][_0xc70ee3(0x3a6)]({'id':ne[_0xc70ee3(0x3c4)]});},(_0x17a621=this['_configService'][_0x4f3493(0x3ca)](di))!=null?_0x17a621:fi);}[_0x48e815(0x288)](){var _0x40c393=_0x48e815;this[_0x40c393(0x375)]&&(clearTimeout(this[_0x40c393(0x375)]),this[_0x40c393(0x375)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x117f40){var _0x30d4f3=_0x48e815;if(!this['_shouldReportTelemetry'])return;const {data:_0x58001c}=_0x117f40,{unitID:_0xdcb471,changeset:_0x39d5c5}=_0x58001c,{mutations:_0x301641,type:_0x356aa6}=_0x39d5c5;this[_0x30d4f3(0x27a)]={'unitId':_0xdcb471,'type':_0x356aa6,'startTime':performance[_0x30d4f3(0x418)](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x301641)};}[_0x48e815(0x25e)](){var _0xb217f0=_0x48e815;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0xb217f0(0x2f9)](_0xb217f0(0x3af),_0xb217f0(0x335));return;}this[_0xb217f0(0x27a)][_0xb217f0(0x38c)]=performance[_0xb217f0(0x418)](),this[_0xb217f0(0x27a)][_0xb217f0(0x3a9)]=this['_telemetryInfo'][_0xb217f0(0x38c)]-this[_0xb217f0(0x27a)][_0xb217f0(0x1c6)],this[_0xb217f0(0x38d)][_0xb217f0(0x39b)](ws,this['_telemetryInfo']),this[_0xb217f0(0x27a)]=null;}}[_0x48e815(0x2a8)](){var _0x24b3e8=_0x48e815;this[_0x24b3e8(0x27a)]=null;}};gt=$s([pe(0x2,_0x45ccfb),pe(0x3,_0x1354c0),pe(0x4,_0xe5fc48(_0x5c87f7)),pe(0x5,_0xe5fc48(Pe)),pe(0x6,_0xe5fc48(gi)),pe(0x7,_0xe5fc48(ve)),pe(0x8,_0x5b024c(_0x184326))],gt);var Hs=Object[_0x48e815(0x40f)],Bs=(_0x4ed370,_0x52d339,_0xc4d624,_0x1195c6)=>{var _0x42feb3=_0x48e815;for(var _0x3b562b=_0x1195c6>0x1?void 0x0:_0x1195c6?Hs(_0x52d339,_0xc4d624):_0x52d339,_0x1de43c=_0x4ed370[_0x42feb3(0x455)]-0x1,_0x309c83;_0x1de43c>=0x0;_0x1de43c--)(_0x309c83=_0x4ed370[_0x1de43c])&&(_0x3b562b=_0x309c83(_0x3b562b)||_0x3b562b);return _0x3b562b;},Re=(_0x41ac74,_0xa5c84a)=>(_0x3a12c4,_0x4b5655)=>_0xa5c84a(_0x3a12c4,_0x4b5655,_0x41ac74);let Me=class extends _0x316736{constructor(_0x4d49df,_0x58460d,_0x462b06,_0x595788,_0x299945,_0xd26c10){var _0xfd565b=_0x48e815;super(),N(this,'_socket$',new _0x5c47bb(void 0x0)),N(this,_0xfd565b(0x2ba),this[_0xfd565b(0x187)][_0xfd565b(0x308)]()),N(this,_0xfd565b(0x3fc),null),N(this,_0xfd565b(0x2db),new Map()),N(this,'_status$',new _0x5c47bb(Se[_0xfd565b(0x1eb)])),N(this,_0xfd565b(0x429),this[_0xfd565b(0x28a)][_0xfd565b(0x308)]()),N(this,_0xfd565b(0x409),!0x1),N(this,_0xfd565b(0x1a0)),N(this,_0xfd565b(0x33a),0x0),N(this,_0xfd565b(0x278)),N(this,_0xfd565b(0x222)),(this['_injector']=_0x4d49df,this[_0xfd565b(0x23f)]=_0x58460d,this[_0xfd565b(0x35d)]=_0x462b06,this[_0xfd565b(0x268)]=_0x595788,this[_0xfd565b(0x332)]=_0x299945,this[_0xfd565b(0x33b)]=_0xd26c10,this['_listenToNetworkCondition']());}get[_0x48e815(0x1cf)](){var _0x4ecad6=_0x48e815;return this[_0x4ecad6(0x187)][_0x4ecad6(0x446)]();}[_0x48e815(0x26e)](){var _0x20e42a=_0x48e815;this[_0x20e42a(0x33b)]&&this[_0x20e42a(0x399)](this[_0x20e42a(0x33b)]['online$'][_0x20e42a(0x445)](_0x146e74=>{var _0x5e48c9=_0x20e42a;_0x146e74&&!this[_0x5e48c9(0x1cf)]&&this[_0x5e48c9(0x1ac)](),_0x146e74||this[_0x5e48c9(0x2c5)]();}));}['dispose'](){var _0x2c9e0a=_0x48e815;super[_0x2c9e0a(0x376)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x2c9e0a(0x2db)][_0x2c9e0a(0x459)](_0x1a631c=>_0x1a631c[_0x2c9e0a(0x376)]()),this[_0x2c9e0a(0x2db)][_0x2c9e0a(0x224)](),this[_0x2c9e0a(0x28a)]['complete']();}async[_0x48e815(0x2bb)](_0x23d96d){var _0x30f33d=_0x48e815;if(this[_0x30f33d(0x2db)]['has'](_0x23d96d))return this[_0x30f33d(0x2db)][_0x30f33d(0x205)](_0x23d96d);this[_0x30f33d(0x228)]();const _0x5b845a=this[_0x30f33d(0x25b)][_0x30f33d(0x1ba)](gt,_0x23d96d,this[_0x30f33d(0x187)][_0x30f33d(0x308)]());return this['_sessions'][_0x30f33d(0x247)](_0x23d96d,_0x5b845a),_0x5b845a;}[_0x48e815(0x1d4)](_0x3ed2c9){var _0x563fb=_0x48e815,_0x35b546;const _0x551863=this[_0x563fb(0x2db)][_0x563fb(0x205)](_0x3ed2c9);_0x551863&&(this[_0x563fb(0x2db)][_0x563fb(0x43d)](_0x3ed2c9),_0x551863['close']()),this[_0x563fb(0x2db)][_0x563fb(0x42a)]||(_0x35b546=this[_0x563fb(0x1cf)])==null||_0x35b546[_0x563fb(0x1ed)]();}[_0x48e815(0x1ac)](){var _0xa5d0bf=_0x48e815;this[_0xa5d0bf(0x33a)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x48e815(0x41c)](){var _0x2361da=_0x48e815;this[_0x2361da(0x1a0)]!=null&&(clearTimeout(this[_0x2361da(0x1a0)]),this[_0x2361da(0x1a0)]=null);}async[_0x48e815(0x269)](){var _0x53d43b=_0x48e815,_0x553344;const _0x22a3d4=this['_configService'][_0x53d43b(0x3ca)](K),_0xc9110b=(_0x553344=_0x22a3d4==null?void 0x0:_0x22a3d4[_0x53d43b(0x2fa)])!=null?_0x553344:ms,_0x2fcacf=await this[_0x53d43b(0x268)][_0x53d43b(0x22c)](_0xc9110b);return this[_0x53d43b(0x3fc)]=_0x2fcacf,_0x2fcacf;}async[_0x48e815(0x228)](){var _0x162e82=_0x48e815,_0x42422e,_0xa73fea;try{const _0x13cb36=(_0xa73fea=(_0x42422e=this[_0x162e82(0x1cf)])!=null?_0x42422e:this['_candidateSocket'])!=null?_0xa73fea:await this[_0x162e82(0x269)]();if(_0x13cb36){const _0x31ce8d=_0x13cb36[_0x162e82(0x2d8)];_0x13cb36[_0x162e82(0x2d8)]=_0x5cf295=>(this[_0x162e82(0x22e)](),_0x31ce8d[_0x162e82(0x2e8)](_0x13cb36,[_0x5cf295])),_0x13cb36['message$'][_0x162e82(0x445)](_0x292dd7=>this[_0x162e82(0x314)](_0x13cb36,_0x292dd7)),_0x13cb36[_0x162e82(0x34f)][_0x162e82(0x358)](_0x2324f3(0x1))[_0x162e82(0x445)](_0x50863a=>this['_logService'][_0x162e82(0x2f9)](_0x162e82(0x1e5),_0x50863a)),_0x13cb36['open$'][_0x162e82(0x358)](_0x2324f3(0x1))[_0x162e82(0x445)](()=>{this['_onConnectionOpen'](_0x13cb36);}),_0x13cb36[_0x162e82(0x3c1)][_0x162e82(0x358)](_0x2324f3(0x1))['subscribe'](_0x3ce8e0=>{var _0x5616d3=_0x162e82;this[_0x5616d3(0x23f)]['debug'](_0x5616d3(0x1d1),'socket\x20close',_0x3ce8e0),this['_onConnectionFailed']();});}}catch(_0x142e7c){this[_0x162e82(0x23f)][_0x162e82(0x2f9)](_0x142e7c),this['_onConnectionFailed']();}}[_0x48e815(0x17a)](_0x2c26bd){var _0x5d4207=_0x48e815;this[_0x5d4207(0x23f)][_0x5d4207(0x1fd)]('[CollaborationSessionService]',_0x5d4207(0x3e3)),_0x2c26bd[_0x5d4207(0x2d8)]({'cmd':F[_0x5d4207(0x315)]}),this[_0x5d4207(0x22e)]();}[_0x48e815(0x2c5)](){var _0x176b30=_0x48e815;this[_0x176b30(0x409)]=!0x1,this['_candidateSocket']=null,this[_0x176b30(0x28a)]['next'](Se[_0x176b30(0x318)]),this[_0x176b30(0x187)][_0x176b30(0x2a0)](null),this[_0x176b30(0x1c1)](),this[_0x176b30(0x2b9)]();}[_0x48e815(0x350)](){var _0x40d6bb=_0x48e815,_0xd425b5;this['_onOffline'](),this[_0x40d6bb(0x33a)]<((_0xd425b5=this[_0x40d6bb(0x35d)]['getConfig'](Is))!=null?_0xd425b5:Ts)?(this['_collaborationUIEventService'][_0x40d6bb(0x3a6)]({'id':ne[_0x40d6bb(0x191)]}),this[_0x40d6bb(0x403)]()):this[_0x40d6bb(0x332)][_0x40d6bb(0x3a6)]({'id':ne['SOCKET_FAILED']});}[_0x48e815(0x403)](){var _0x3dd84f=_0x48e815,_0x331f4f;const _0x437254=this['_retryCount'],_0xecad24=this['_configService'][_0x3dd84f(0x3ca)](K),_0x55f221=_0x437254===0x0?0x0:((_0x331f4f=_0xecad24==null?void 0x0:_0xecad24[_0x3dd84f(0x1bc)])!=null?_0x331f4f:Es)*0x2**_0x437254;this[_0x3dd84f(0x1a0)]=setTimeout(()=>{var _0x5870db=_0x3dd84f;clearTimeout(this['_retryConnectingTimer']),this[_0x5870db(0x1a0)]=null,this[_0x5870db(0x228)]();},_0x55f221),this['_retryCount']+=0x1;}[_0x48e815(0x314)](_0x729cd2,_0xd58f67){var _0x4e334=_0x48e815;const {cmd:_0xf2e5d8}=_0xd58f67;_0xf2e5d8===F[_0x4e334(0x315)]&&!this['_socketReady']&&(_0x729cd2[_0x4e334(0x439)]=_0xd58f67['data'][_0x4e334(0x439)],this[_0x4e334(0x187)][_0x4e334(0x2a0)](_0x729cd2),this['_status$'][_0x4e334(0x2a0)](Se[_0x4e334(0x3fe)]),this['_socketReady']=!0x0,this[_0x4e334(0x3fc)]=null),_0xf2e5d8===F[_0x4e334(0x1b8)]&&this[_0x4e334(0x1c1)](),this[_0x4e334(0x22e)]();}['_rescheduleHeartbeat'](){var _0x55b4e9=_0x48e815,_0x13d3cd;this['_clearHeartbeatTimer'](),this[_0x55b4e9(0x278)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x13d3cd=this[_0x55b4e9(0x35d)]['getConfig'](gs))!=null?_0x13d3cd:Ss);}[_0x48e815(0x450)](){var _0x2b1bb9=_0x48e815;this[_0x2b1bb9(0x1cf)][_0x2b1bb9(0x2d8)]({'cmd':F[_0x2b1bb9(0x1b8)]}),this[_0x2b1bb9(0x266)]();}['_waitForHeartbeatResponse'](){var _0x2d8617=_0x48e815,_0x37f6a2;this[_0x2d8617(0x222)]=setTimeout(()=>this[_0x2d8617(0x350)](),(_0x37f6a2=this['_configService'][_0x2d8617(0x3ca)](di))!=null?_0x37f6a2:fi);}[_0x48e815(0x2b9)](){var _0xa58b40=_0x48e815;this[_0xa58b40(0x278)]!=null&&(clearTimeout(this[_0xa58b40(0x278)]),this[_0xa58b40(0x278)]=null);}[_0x48e815(0x1c1)](){var _0x25adbe=_0x48e815;this[_0x25adbe(0x222)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x25adbe(0x222)]=null);}};Me=Bs([Re(0x0,_0xe5fc48(_0x5f3072)),Re(0x1,_0x45ccfb),Re(0x2,_0x1354c0),Re(0x3,mi),Re(0x4,_0xe5fc48(ve)),Re(0x5,_0x5b024c(bs))],Me);const J=_0x5c2d67(_0x48e815(0x19e));function br(_0x21f60a){var _0x3f4fb6=_0x48e815;return _0x3f4fb6(0x323)+_0x21f60a;}var js=Object[_0x48e815(0x40f)],Fs=(_0x4fea9e,_0x543198,_0x1116bb,_0x3efeb7)=>{var _0x47fb41=_0x48e815;for(var _0x2efd5c=_0x3efeb7>0x1?void 0x0:_0x3efeb7?js(_0x543198,_0x1116bb):_0x543198,_0x20f690=_0x4fea9e[_0x47fb41(0x455)]-0x1,_0x580c57;_0x20f690>=0x0;_0x20f690--)(_0x580c57=_0x4fea9e[_0x20f690])&&(_0x2efd5c=_0x580c57(_0x2efd5c)||_0x2efd5c);return _0x2efd5c;},ut=(_0x2ed500,_0x5ca757)=>(_0x3424bc,_0x31a34c)=>_0x5ca757(_0x3424bc,_0x31a34c,_0x2ed500);function Vs(_0x290aa0){var _0x20bbc0=_0x48e815;const {unitID:_0x5e3632,mutations:_0x356604}=_0x290aa0;return{'unitId':_0x5e3632,'subUnitId':_0x356604[0x0][_0x20bbc0(0x3b0)][_0x20bbc0(0x3b3)]};}let it=class{constructor(_0x5d8216,_0x497ff5,_0x2977ac){var _0x436a8d=_0x48e815;this['_injector']=_0x5d8216,this[_0x436a8d(0x396)]=_0x497ff5,this[_0x436a8d(0x2a7)]=_0x2977ac;}[_0x48e815(0x307)](_0x568ea5){var _0x35d5a4=_0x48e815,_0x11a983,_0x4887eb,_0x317279,_0x4eeea4;const _0x48c0bc=this['_injector'][_0x35d5a4(0x205)](_0x14e724),{unitId:_0x4e29dc,subUnitId:_0x48d4fb}=Vs(_0x568ea5),_0x58e6e1=_0x48c0bc==null?void 0x0:_0x48c0bc[_0x35d5a4(0x183)](_0x4e29dc)[_0x35d5a4(0x3e6)](),_0x4315ff=(_0x4887eb=(_0x11a983=this[_0x35d5a4(0x2a7)][_0x35d5a4(0x333)](_0x4e29dc))==null?void 0x0:_0x11a983[_0x35d5a4(0x326)]())==null?void 0x0:_0x4887eb[_0x35d5a4(0x23c)]();if(_0x58e6e1[_0x35d5a4(0x455)]===0x0||!_0x4e29dc||!_0x48d4fb)return;const _0x4633e1=[{'id':_0x433b8b['id'],'params':{'unitId':_0x4e29dc,'subUnitId':_0x4315ff,'selections':_0x51cd9d[_0x35d5a4(0x211)](_0x58e6e1)}}],_0x1378ab=this[_0x35d5a4(0x396)][_0x35d5a4(0x45b)](_0x568ea5,_0x4633e1);if(!_0x159925(_0x1378ab))throw _0x1378ab[_0x35d5a4(0x2f9)];const _0x5688bd=(_0x4eeea4=(_0x317279=_0x1378ab['m2Prime'][0x0])==null?void 0x0:_0x317279[_0x35d5a4(0x3b0)])==null?void 0x0:_0x4eeea4[_0x35d5a4(0x27e)];if(Array[_0x35d5a4(0x46b)](_0x5688bd)&&_0x5688bd[_0x35d5a4(0x455)]){if(_0x5688bd[_0x35d5a4(0x455)]===_0x4633e1[0x0][_0x35d5a4(0x3b0)][_0x35d5a4(0x27e)]['length']&&_0x5688bd[_0x35d5a4(0x34a)]((_0x42482a,_0x205018)=>_0x2affab['equals'](_0x42482a['range'],_0x4633e1[0x0][_0x35d5a4(0x3b0)][_0x35d5a4(0x27e)][_0x205018][_0x35d5a4(0x372)])))return;this[_0x35d5a4(0x25b)]['get'](_0x450933)[_0x35d5a4(0x289)](_0x433b8b['id'],{'unitId':_0x4e29dc,'subUnitId':_0x4315ff,'selections':_0x5688bd});}}};it=Fs([ut(0x0,_0xe5fc48(_0x5f3072)),ut(0x1,_0x320ac0),ut(0x2,_0x1d4196)],it);const ht=_0x5c2d67(_0x48e815(0x351));var Si=(_0x119e4f=>(_0x119e4f[_0x119e4f['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x48e815(0x1af),_0x119e4f[_0x119e4f['OTHER_CLIENTS_EDITING']=0x1]=_0x48e815(0x3c0),_0x119e4f))(Si||{});const Ws=new Set([_0x20b5a9['id']]);function Gt(_0x3ea78f,_0x2fff7c,_0x5210cc,_0x286616,_0x415a8c){var _0x3d134b=_0x48e815,_0x1f9586,_0x649b4b,_0x488cf5,_0x4d6d2a;const _0x5c9b3b=[];for(const _0x132395 of _0x3ea78f)if(Ws[_0x3d134b(0x40d)](_0x132395['id'])){if(_0x5c9b3b[_0x3d134b(0x455)]>0x0)break;_0x5c9b3b[_0x3d134b(0x21e)](_0x132395);break;}else _0x5c9b3b[_0x3d134b(0x21e)](_0x132395);const _0x2243de=(_0x649b4b=(_0x1f9586=_0x415a8c['getCurrentUser']())==null?void 0x0:_0x1f9586[_0x3d134b(0x395)])!=null?_0x649b4b:'unknown',_0x5af434=(_0x4d6d2a=(_0x488cf5=_0x415a8c[_0x3d134b(0x2f1)]())==null?void 0x0:_0x488cf5[_0x3d134b(0x439)])!=null?_0x4d6d2a:_0x3d134b(0x410);return{'changeset':{'unitID':_0x2fff7c,'type':_0x2a8e96(_0x5210cc[_0x3d134b(0x1a2)](_0x2fff7c)),'baseRev':_0x286616[_0x3d134b(0x2a5)](_0x2fff7c),'revision':0x0,'userID':_0x2243de,'memberID':_0x5af434,'mutations':_0x5c9b3b},'pendingMutations':_0x3ea78f[_0x3d134b(0x249)](_0x5c9b3b['length'])};}function Gs(_0x12524d,_0x4cb68e,_0x348d32,_0x2ed785,_0x55aa27){var _0x6e9189=_0x48e815,_0x54c14a,_0x2d1aa8,_0x112248,_0x375f93;const _0x1a4f89=[_0x12524d['reduce']((_0x1a3fa9,_0x431ed1)=>{var _0x49e4c3=_0x5b1d,_0x3bdc83;const {id:_0x1d313a}=_0x1a3fa9,{id:_0x4d9dea,type:_0x5f5978}=_0x431ed1,_0x40cced=(_0x3bdc83=_0x1a3fa9[_0x49e4c3(0x3b0)])!=null?_0x3bdc83:{'actions':null},_0x4e9a61=_0x431ed1[_0x49e4c3(0x3b0)];if(_0x1d313a&&_0x1d313a!==_0x4d9dea)throw new Error(_0x49e4c3(0x427)+_0x1d313a+_0x49e4c3(0x3db)+_0x4d9dea+'.');return{..._0x1a3fa9,'id':_0x4d9dea,'type':_0x5f5978,'params':{'unitId':_0x4e9a61[_0x49e4c3(0x17c)],'textRanges':_0x4e9a61[_0x49e4c3(0x179)],'actions':_0x155b1e[_0x49e4c3(0x28e)](_0x40cced[_0x49e4c3(0x27b)],_0x4e9a61[_0x49e4c3(0x27b)])}};},{})],_0x11c554=(_0x2d1aa8=(_0x54c14a=_0x55aa27[_0x6e9189(0x2f1)]())==null?void 0x0:_0x54c14a[_0x6e9189(0x395)])!=null?_0x2d1aa8:_0x6e9189(0x410),_0x24dd86=(_0x375f93=(_0x112248=_0x55aa27['getCurrentUser']())==null?void 0x0:_0x112248[_0x6e9189(0x439)])!=null?_0x375f93:_0x6e9189(0x410);return{'changeset':{'unitID':_0x4cb68e,'type':_0x2a8e96(_0x348d32['getUnitType'](_0x4cb68e)),'baseRev':_0x2ed785[_0x6e9189(0x2a5)](_0x4cb68e),'revision':0x0,'userID':_0x11c554,'memberID':_0x24dd86,'mutations':_0x1a4f89},'pendingMutations':[]};}function Ei(_0x22724f,_0x8cc6c5){var _0xdd9ea=_0x48e815;const _0x3d1ca2=new _0xb9d0b6(0x1);return setTimeout(()=>_0x3d1ca2[_0xdd9ea(0x2a0)](_0x8cc6c5),_0x22724f),_0x3d1ca2[_0xdd9ea(0x308)]()[_0xdd9ea(0x358)](_0x5f706a(0x1));}const Ys={'id':_0x3f7068['id'],'type':_0x11ce4d[_0x48e815(0x3e4)],'params':{}};var Ks=Object['getOwnPropertyDescriptor'],Ie=(_0x5cdcdc,_0x5ee7cb,_0x3279d3,_0x126a86)=>{for(var _0x5d926f=_0x126a86>0x1?void 0x0:_0x126a86?Ks(_0x5ee7cb,_0x3279d3):_0x5ee7cb,_0x1e7ebc=_0x5cdcdc['length']-0x1,_0x410fee;_0x1e7ebc>=0x0;_0x1e7ebc--)(_0x410fee=_0x5cdcdc[_0x1e7ebc])&&(_0x5d926f=_0x410fee(_0x5d926f)||_0x5d926f);return _0x5d926f;},P=(_0x1680ee,_0x3a0b6b)=>(_0x401009,_0xe7d16b)=>_0x3a0b6b(_0x401009,_0xe7d16b,_0x1680ee),Ii=(_0x59d1b4=>(_0x59d1b4[_0x48e815(0x27f)]=_0x48e815(0x22d),_0x59d1b4[_0x48e815(0x3e8)]=_0x48e815(0x1b1),_0x59d1b4[_0x48e815(0x3d4)]=_0x48e815(0x2c2),_0x59d1b4[_0x48e815(0x1ae)]='awaiting',_0x59d1b4['AWAITING_WITH_PENDING']=_0x48e815(0x170),_0x59d1b4[_0x48e815(0x2a3)]=_0x48e815(0x25f),_0x59d1b4['CONFLICT']=_0x48e815(0x286),_0x59d1b4[_0x48e815(0x318)]=_0x48e815(0x359),_0x59d1b4))(Ii||{});const Ti=0xea60;class Te{constructor(_0x531fe2,_0x1b98e6,_0x3ed35e,_0x3eee38,_0x1cb295,_0x403436,_0x2e1d29,_0xed248b,_0x28a29f){var _0x4b5f23=_0x48e815;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x4b5f23(0x3e7)]=_0x531fe2,this['type']=_0x1b98e6,this['_handler']=_0x1cb295,this[_0x4b5f23(0x3ad)]=_0x403436,this[_0x4b5f23(0x46c)]=_0x2e1d29,this[_0x4b5f23(0x3d9)]=_0xed248b,this['_localCacheService']=_0x28a29f,this[_0x4b5f23(0x45f)]=_0x3ed35e,this[_0x4b5f23(0x47e)]=_0x3eee38);}['_checkMissing'](_0x5e7f7b){var _0x4d6f37=_0x48e815;const _0x3f4681=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4d6f37(0x3e7)]);return _0x5e7f7b[_0x4d6f37(0x2b1)]>_0x3f4681+0x1?(this[_0x4d6f37(0x43f)]['onMissingChangesets']({'from':_0x3f4681,'to':_0x5e7f7b[_0x4d6f37(0x2b1)]-0x1}),!0x0):!0x1;}[_0x48e815(0x38e)](_0x1a2e33){var _0x30e830=_0x48e815;this[_0x30e830(0x46c)][_0x30e830(0x2a2)](this['unitID'],_0x1a2e33);}[_0x48e815(0x18b)](_0x225e02){var _0x60f6ef=_0x48e815,_0x39e385,_0x33b01f;(_0x33b01f=(_0x39e385=this[_0x60f6ef(0x43f)])['onTransformSelections'])==null||_0x33b01f[_0x60f6ef(0x31b)](_0x39e385,_0x225e02);}[_0x48e815(0x2f8)](_0x40c78e){var _0x22464d=_0x48e815,_0x113835,_0x52b841;return(_0x52b841=(_0x113835=this[_0x22464d(0x43f)])[_0x22464d(0x344)])==null?void 0x0:_0x52b841['call'](_0x113835,_0x40c78e);}[_0x48e815(0x469)](_0x459c36){var _0x14f4f2=_0x48e815,_0x50e2ff,_0x2e5ab5;return(_0x2e5ab5=(_0x50e2ff=this['_handler'])[_0x14f4f2(0x3d7)])==null?void 0x0:_0x2e5ab5['call'](_0x50e2ff,_0x459c36);}['_transformRemoteChangesetByIMECache'](_0x457515){var _0x511a24=_0x48e815,_0x1341ae,_0xe47c7a,_0x2ae355;return(_0x2ae355=(_0xe47c7a=(_0x1341ae=this[_0x511a24(0x43f)])[_0x511a24(0x219)])==null?void 0x0:_0xe47c7a[_0x511a24(0x31b)](_0x1341ae,_0x457515))!=null?_0x2ae355:_0x457515;}[_0x48e815(0x39d)](_0x19fb08){var _0x2583a3=_0x48e815,_0x11a841,_0x49f08f,_0x278f39;return(_0x278f39=(_0x49f08f=(_0x11a841=this[_0x2583a3(0x43f)])[_0x2583a3(0x1d5)])==null?void 0x0:_0x49f08f[_0x2583a3(0x31b)](_0x11a841,_0x19fb08))!=null?_0x278f39:_0x19fb08;}[_0x48e815(0x45a)](_0x3f3a17){var _0x321595=_0x48e815,_0xa75290,_0x18bd22;if(this['type']===Z[_0x321595(0x1b3)]){const {unitID:_0xc9c573,mutations:_0x5f3188,memberID:_0x4dbd10}=_0x3f3a17,_0x10756a=_0x5f3188[0x0][_0x321595(0x3b0)][_0x321595(0x179)];Array[_0x321595(0x46b)](_0x10756a)&&_0x10756a[_0x321595(0x455)]>0x0&&((_0x18bd22=(_0xa75290=this[_0x321595(0x43f)])[_0x321595(0x440)])==null||_0x18bd22[_0x321595(0x31b)](_0xa75290,{'unitID':_0xc9c573,'memberID':_0x4dbd10,'textRanges':_0x10756a}));}}['_updateLocalCache'](){var _0x2ff15a=_0x48e815,_0x400999;(_0x400999=this[_0x2ff15a(0x26c)])==null||_0x400999[_0x2ff15a(0x272)](this[_0x2ff15a(0x3e7)],this[_0x2ff15a(0x186)],this[_0x2ff15a(0x45f)],this[_0x2ff15a(0x47e)]);}[_0x48e815(0x3dd)](){var _0x814fd2=_0x48e815;return this[_0x814fd2(0x3d9)][_0x814fd2(0x2a5)](this[_0x814fd2(0x3e7)]);}['_incrementRevisionNumber'](){var _0x4dd6ba=_0x48e815;this[_0x4dd6ba(0x3d9)][_0x4dd6ba(0x334)](this['unitID']);}[_0x48e815(0x20f)](_0x2a0656){var _0xf47e7c=_0x48e815,_0x22e048;let _0x43377a=this[_0xf47e7c(0x35c)](_0x2a0656);_0x43377a=this[_0xf47e7c(0x39d)](_0x43377a);const _0xbb740d=_0x4adda7(_0x43377a[_0xf47e7c(0x378)],this[_0xf47e7c(0x3ad)],{'fromCollab':!0x0});if(!_0xbb740d[_0xf47e7c(0x481)])throw _0xbb740d[_0xf47e7c(0x2f9)]instanceof Error?_0xbb740d[_0xf47e7c(0x2f9)]:new Error((_0x22e048=_0xbb740d['error'])!=null?_0x22e048:_0xf47e7c(0x37b));this[_0xf47e7c(0x2f8)](_0x43377a),this[_0xf47e7c(0x469)](_0x43377a),this['_transformUndoredo'](_0x2a0656),this[_0xf47e7c(0x18b)](_0x43377a),this[_0xf47e7c(0x45a)](_0x43377a),this[_0xf47e7c(0x390)]();}}let ye=class extends Te{constructor(_0x3b76bb,_0x1d731b,_0x175a5e,_0x4c001e,_0x5c9567,_0x4ac463,_0x2b4a1d,_0x568fb4,_0x26a367,_0x478fde){var _0x461a48=_0x48e815;super(_0x3b76bb,_0x1d731b,null,[],_0x175a5e,_0x2b4a1d,_0x4ac463,_0x4c001e,_0x478fde),N(this,_0x461a48(0x279),_0x461a48(0x1b1)),(this[_0x461a48(0x25b)]=_0x5c9567,this[_0x461a48(0x23f)]=_0x568fb4,this['_transformService']=_0x26a367,this[_0x461a48(0x40e)]=_0x478fde);}[_0x48e815(0x31d)](_0x230d27){var _0x4bf9e0=_0x48e815;const _0x2c2b38=this[_0x4bf9e0(0x25b)][_0x4bf9e0(0x1ba)](re,this[_0x4bf9e0(0x3e7)],this[_0x4bf9e0(0x186)],[_0x230d27],this['_handler']);return _0x2c2b38['_schedule'](),_0x2c2b38['_updateLocalCache'](),_0x2c2b38;}[_0x48e815(0x24e)](_0x1ff7be){var _0x2bf37a=_0x48e815;if(this['_checkMissing'](_0x1ff7be))return this[_0x2bf37a(0x25b)][_0x2bf37a(0x1ba)](Q,this[_0x2bf37a(0x3e7)],this['type'],null,[],null,[_0x1ff7be],this[_0x2bf37a(0x43f)]);try{const _0x953ca3=this['_transformService'][_0x2bf37a(0x45b)](_0x1ff7be,[Ys]);if(_0x159925(_0x953ca3)){const {c1Prime:_0x3ccb52}=_0x953ca3;return this['_executeRemoteChangeset'](_0x3ccb52),this;}throw _0x953ca3[_0x2bf37a(0x2f9)];}catch(_0xede37){return this['_logService'][_0x2bf37a(0x2f9)](_0xede37),this[_0x2bf37a(0x282)](!0x1);}}[_0x48e815(0x282)](_0x465e32){var _0x469381=_0x48e815;return this[_0x469381(0x25b)][_0x469381(0x1ba)](le,this[_0x469381(0x3e7)],this[_0x469381(0x186)],null,[],this[_0x469381(0x43f)],_0x465e32);}[_0x48e815(0x3b2)](){var _0x53ec99=_0x48e815;throw new Error(_0x53ec99(0x357));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x48e815(0x298)](){return this;}[_0x48e815(0x342)](){var _0x1ad291=_0x48e815;return this['_injector']['createInstance'](ue,this['unitID'],this[_0x1ad291(0x186)],null,[],this[_0x1ad291(0x43f)]);}[_0x48e815(0x337)](){return this;}[_0x48e815(0x478)](){var _0x39cc1e=_0x48e815;throw new Error(_0x39cc1e(0x2d3));}[_0x48e815(0x29a)](){var _0x1a8dcc=_0x48e815;const _0x27b15c=this[_0x1a8dcc(0x3d9)][_0x1a8dcc(0x2a5)](this[_0x1a8dcc(0x3e7)]);return this['_handler'][_0x1a8dcc(0x33f)]({'from':_0x27b15c,'to':0x0}),this[_0x1a8dcc(0x25b)][_0x1a8dcc(0x1ba)](Q,this['unitID'],this[_0x1a8dcc(0x186)],null,[],null,[],this[_0x1a8dcc(0x43f)]);}};ye=Ie([P(0x3,_0xe5fc48(_0x26290a)),P(0x4,_0xe5fc48(_0x5f3072)),P(0x5,_0x2e2de5),P(0x6,_0x450933),P(0x7,_0x45ccfb),P(0x8,_0x320ac0),P(0x9,_0x5b024c(J))],ye);let re=class extends Te{constructor(_0x989996,_0xb37be0,_0x1822dc,_0x3cfae0,_0x4bb200,_0x18845a,_0x5b6388,_0x5ab861,_0x4337d7,_0x515b62,_0x1a1909,_0x553c9a,_0x321992,_0x10fd9){var _0x24047e=_0x48e815;super(_0x989996,_0xb37be0,null,_0x1822dc,_0x3cfae0,_0x4337d7,_0x321992,_0x18845a,_0x10fd9),N(this,_0x24047e(0x279),_0x24047e(0x2c2)),N(this,_0x24047e(0x47a),null),N(this,_0x24047e(0x2cb),null),(this['_injector']=_0x4bb200,this[_0x24047e(0x1fa)]=_0x5b6388,this['_logService']=_0x5ab861,this[_0x24047e(0x35d)]=_0x515b62,this[_0x24047e(0x396)]=_0x1a1909,this['_univerInstanceService']=_0x553c9a);}[_0x48e815(0x31d)](_0x3814f5){var _0x3cb9d5=_0x48e815;return this[_0x3cb9d5(0x47e)][_0x3cb9d5(0x21e)](_0x3814f5),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1d491e){var _0x5dfa25=_0x48e815;if(this['_checkMissing'](_0x1d491e))return this[_0x5dfa25(0x1d8)](),this[_0x5dfa25(0x25b)][_0x5dfa25(0x1ba)](Q,this[_0x5dfa25(0x3e7)],this[_0x5dfa25(0x186)],null,this['_pendingMutations'],null,[_0x1d491e],this[_0x5dfa25(0x43f)]);try{const _0x26f866=this[_0x5dfa25(0x396)][_0x5dfa25(0x45b)](_0x1d491e,this['_pendingMutations']);if(_0x159925(_0x26f866)){const {c1Prime:_0x172b62,m2Prime:_0x4d255e}=_0x26f866;this[_0x5dfa25(0x20f)](_0x172b62);const _0x50efc3=this[_0x5dfa25(0x25b)][_0x5dfa25(0x1ba)](re,this[_0x5dfa25(0x3e7)],this['type'],_0x4d255e,this['_handler']);this[_0x5dfa25(0x1d8)]();const _0x38c891=new Date()[_0x5dfa25(0x194)](),_0xb39cb3=this[_0x5dfa25(0x47a)]?Math[_0x5dfa25(0x267)](this[_0x5dfa25(0x47a)]-_0x38c891,0x0):this[_0x5dfa25(0x46e)]();return _0x50efc3[_0x5dfa25(0x210)](_0xb39cb3),_0x50efc3;}throw _0x26f866['error'];}catch(_0x45a660){return this[_0x5dfa25(0x23f)][_0x5dfa25(0x2f9)](_0x45a660),this['_onConflict'](!0x1);}}[_0x48e815(0x3b2)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x59fca8=_0x48e815;throw new Error(_0x59fca8(0x2c3));}[_0x48e815(0x298)](){return this;}['toggleOffline'](){var _0x199e52=_0x48e815;return this['_clearScheduledTask'](),this[_0x199e52(0x25b)][_0x199e52(0x1ba)](ue,this[_0x199e52(0x3e7)],this[_0x199e52(0x186)],null,this['_pendingMutations'],this[_0x199e52(0x43f)]);}[_0x48e815(0x337)](){return this;}[_0x48e815(0x210)](_0x17bd43){var _0x590e21=_0x48e815;const _0x1ea8c2=_0x17bd43!=null?_0x17bd43:this[_0x590e21(0x46e)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x1ea8c2,this['_sendingTimer']=setTimeout(()=>{var _0x2014a8=_0x590e21;this[_0x2014a8(0x1d8)]();let _0x30f9f6=null;switch(this[_0x2014a8(0x186)]){case Z[_0x2014a8(0x371)]:{_0x30f9f6=Gt(this[_0x2014a8(0x47e)],this[_0x2014a8(0x3e7)],this[_0x2014a8(0x1f0)],this[_0x2014a8(0x3d9)],this[_0x2014a8(0x1fa)]);break;}case Z[_0x2014a8(0x1b3)]:{this['_pendingMutations'][_0x2014a8(0x34a)](_0xe64eea=>_0xe64eea['id']===_0x21e400['id'])?_0x30f9f6=Gs(this[_0x2014a8(0x47e)],this[_0x2014a8(0x3e7)],this['_univerInstanceService'],this[_0x2014a8(0x3d9)],this[_0x2014a8(0x1fa)]):_0x30f9f6=Gt(this[_0x2014a8(0x47e)],this['unitID'],this[_0x2014a8(0x1f0)],this[_0x2014a8(0x3d9)],this[_0x2014a8(0x1fa)]);break;}default:throw new Error(_0x2014a8(0x406)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x56b664,pendingMutations:_0x1d5228}=_0x30f9f6;this[_0x2014a8(0x43f)][_0x2014a8(0x2a9)](_0x56b664);const _0x278435=_0x1d5228[_0x2014a8(0x455)]?this['_injector'][_0x2014a8(0x1ba)](ae,this[_0x2014a8(0x3e7)],this[_0x2014a8(0x186)],_0x56b664,_0x1d5228,this[_0x2014a8(0x43f)],void 0x0):this[_0x2014a8(0x25b)][_0x2014a8(0x1ba)](_e,this['unitID'],this['type'],_0x56b664,this['_handler']);_0x278435[_0x2014a8(0x1e1)](),this['_handler'][_0x2014a8(0x42c)](this,_0x278435);},_0x1ea8c2);}[_0x48e815(0x46e)](){var _0x2e2f62=_0x48e815,_0x55c2c2;const _0x42a2b7=this[_0x2e2f62(0x35d)][_0x2e2f62(0x3ca)](K);return(_0x55c2c2=_0x42a2b7==null?void 0x0:_0x42a2b7[_0x2e2f62(0x36f)])!=null?_0x55c2c2:ps;}[_0x48e815(0x478)](){var _0x201a7f=_0x48e815;throw new Error(_0x201a7f(0x1ff));}['_clearScheduledTask'](){var _0x107c9c=_0x48e815;this[_0x107c9c(0x2cb)]!=null&&(clearTimeout(this[_0x107c9c(0x2cb)]),this[_0x107c9c(0x2cb)]=null);}[_0x48e815(0x282)](_0x440db6){var _0x325380=_0x48e815;return this[_0x325380(0x1d8)](),this['_injector']['createInstance'](le,this[_0x325380(0x3e7)],this[_0x325380(0x186)],null,this['_pendingMutations'],this[_0x325380(0x43f)],_0x440db6);}};re=Ie([P(0x4,_0xe5fc48(_0x5f3072)),P(0x5,_0xe5fc48(_0x26290a)),P(0x6,_0xe5fc48(Pe)),P(0x7,_0x45ccfb),P(0x8,_0x450933),P(0x9,_0x1354c0),P(0xa,_0x320ac0),P(0xb,_0x1d4196),P(0xc,_0x2e2de5),P(0xd,_0x5b024c(J))],re);let _e=class extends Te{constructor(_0x4a9cc4,_0x5d1957,_0x2233ff,_0x13a2d7,_0x9f30ff,_0x22bb91,_0x481c3a,_0x2ccddd,_0x276c46,_0x5edbad,_0x3fb3a8){var _0x1570f7=_0x48e815;super(_0x4a9cc4,_0x5d1957,_0x2233ff,[],_0x13a2d7,_0x481c3a,_0x5edbad,_0x22bb91,_0x3fb3a8),N(this,'status','awaiting'),N(this,_0x1570f7(0x22a),0x0),N(this,_0x1570f7(0x34c)),N(this,_0x1570f7(0x1fc)),(this[_0x1570f7(0x25b)]=_0x9f30ff,this[_0x1570f7(0x23f)]=_0x2ccddd,this[_0x1570f7(0x396)]=_0x276c46);}[_0x48e815(0x31d)](_0x11eae2){var _0x177545=_0x48e815;this['_clearScheduledTask']();const _0x3508a7=this[_0x177545(0x25b)]['createInstance'](ae,this['unitID'],this['type'],this['_awaitingChangeset'],[_0x11eae2],this[_0x177545(0x43f)],this[_0x177545(0x34c)]);return _0x3508a7[_0x177545(0x1e1)](),_0x3508a7;}['onRemoteChangeset'](_0x53e3c8){var _0x15d471=_0x48e815;if(this[_0x15d471(0x3e2)](_0x53e3c8))return this[_0x15d471(0x1d8)](),this['_injector']['createInstance'](Q,this['unitID'],this[_0x15d471(0x186)],this[_0x15d471(0x45f)],[],null,[_0x53e3c8],this[_0x15d471(0x43f)]);try{const _0x54bde8=this[_0x15d471(0x396)]['transformChangesets']([_0x53e3c8],[this[_0x15d471(0x45f)]],!0x1);if(_0x2c9aec(_0x54bde8)){const {c1Prime:_0x180cd8,c2Prime:_0x28c9f1}=_0x54bde8;this[_0x15d471(0x20f)](_0x180cd8[0x0]),_0x28c9f1[0x0][_0x15d471(0x37d)]=this[_0x15d471(0x3dd)](),this[_0x15d471(0x1d8)]();const _0x31bcbb=this[_0x15d471(0x25b)][_0x15d471(0x1ba)](_e,this[_0x15d471(0x3e7)],this[_0x15d471(0x186)],_0x28c9f1[0x0],this['_handler']);return _0x31bcbb[_0x15d471(0x1e1)](),_0x31bcbb;}return this[_0x15d471(0x282)](!0x1);}catch(_0x5df3c2){return this['_logService'][_0x15d471(0x2f9)](_0x5df3c2),this[_0x15d471(0x282)](!0x1);}}[_0x48e815(0x3b2)](_0x12cd64){var _0x3ebffd=_0x48e815;this['_clearScheduledTask']();const _0x48de70=this[_0x3ebffd(0x3d9)]['getCurrentRevOfUnit'](this['unitID']);if(_0x12cd64[_0x3ebffd(0x2b1)]<_0x48de70-0x1)return this;if(this['_checkMissing'](_0x12cd64))return this[_0x3ebffd(0x25b)]['createInstance'](Q,this['unitID'],this[_0x3ebffd(0x186)],null,[],this[_0x3ebffd(0x45f)],[],this[_0x3ebffd(0x43f)]);this[_0x3ebffd(0x390)]();const _0x5e86f5=this[_0x3ebffd(0x25b)][_0x3ebffd(0x1ba)](ye,this['unitID'],this[_0x3ebffd(0x186)],this['_handler']);return _0x5e86f5[_0x3ebffd(0x1e1)](),_0x5e86f5;}['onRemoteRej'](_0x1f5fbd){var _0x2a3869=_0x48e815;return this['_onConflict'](!!(_0x1f5fbd!=null&&_0x1f5fbd[_0x2a3869(0x1a3)]));}['onRemoteRetry'](_0x553384){var _0x2d9fe1=_0x48e815;return this[_0x2d9fe1(0x22a)]>Ti?this[_0x2d9fe1(0x342)]():(this[_0x2d9fe1(0x34c)]=Ei(this[_0x2d9fe1(0x22a)],{'timeout':this[_0x2d9fe1(0x22a)],'reqId':_0x553384[_0x2d9fe1(0x3df)]}),this[_0x2d9fe1(0x1fc)]=this['_resendTimer'][_0x2d9fe1(0x445)](({reqId:_0x34c6dc,timeout:_0x6b0f1})=>{var _0x5dce42=_0x2d9fe1;this[_0x5dce42(0x456)](_0x34c6dc,_0x6b0f1);}),this);}['toggleOffline'](){var _0x547abc=_0x48e815;return this[_0x547abc(0x1d8)](),this[_0x547abc(0x25b)][_0x547abc(0x1ba)](ue,this['unitID'],this[_0x547abc(0x186)],this['_awaitingChangeset'],[],this[_0x547abc(0x43f)]);}[_0x48e815(0x337)](){return this;}['resend'](){var _0x154732=_0x48e815;this['_handler'][_0x154732(0x2a9)](this[_0x154732(0x45f)]);}[_0x48e815(0x282)](_0x455965){var _0x199d38=_0x48e815;return this[_0x199d38(0x1d8)](),this['_injector'][_0x199d38(0x1ba)](le,this[_0x199d38(0x3e7)],this['type'],this['_awaitingChangeset'],[],this[_0x199d38(0x43f)],_0x455965);}[_0x48e815(0x456)](_0x43bc9d,_0x3c49d4){var _0xaeed84=_0x48e815,_0x10581f;_0x43bc9d===((_0x10581f=this[_0xaeed84(0x45f)])==null?void 0x0:_0x10581f[_0xaeed84(0x3df)])&&(this[_0xaeed84(0x478)](),this[_0xaeed84(0x22a)]=_0x3c49d4===0x0?0x3e8:_0x3c49d4*0x2);}[_0x48e815(0x1d8)](){var _0x414c8f=_0x48e815,_0x451833;(_0x451833=this[_0x414c8f(0x1fc)])==null||_0x451833['unsubscribe'](),this[_0x414c8f(0x22a)]=0x0;}};_e=Ie([P(0x4,_0xe5fc48(_0x5f3072)),P(0x5,_0xe5fc48(_0x26290a)),P(0x6,_0x450933),P(0x7,_0x45ccfb),P(0x8,_0x320ac0),P(0x9,_0x2e2de5),P(0xa,_0x5b024c(J))],_e);let ae=class extends Te{constructor(_0x254db4,_0xeae90d,_0x36ec7d,_0x27ea91,_0xb2bd5b,_0x105d07,_0x5b66f0,_0x14acd7,_0x88f8c6,_0x34f3b2,_0x4c10c2,_0x4c8b52,_0x29fc64){var _0x531b52=_0x48e815;super(_0x254db4,_0xeae90d,_0x36ec7d,_0x27ea91,_0xb2bd5b,_0x88f8c6,_0x4c8b52,_0x14acd7,_0x29fc64),N(this,_0x531b52(0x279),'awaiting_with_pending'),N(this,_0x531b52(0x22a),0x0),N(this,_0x531b52(0x34c)),N(this,_0x531b52(0x1fc)),(this[_0x531b52(0x25b)]=_0x5b66f0,this[_0x531b52(0x23f)]=_0x34f3b2,this[_0x531b52(0x396)]=_0x4c10c2,this[_0x531b52(0x40e)]=_0x29fc64,_0x105d07&&(this[_0x531b52(0x34c)]=_0x105d07,this[_0x531b52(0x1fc)]=this[_0x531b52(0x34c)][_0x531b52(0x445)](({reqId:_0x3f894b,timeout:_0x48694c})=>{this['_resendWithTimeout'](_0x3f894b,_0x48694c);})));}[_0x48e815(0x31d)](_0x2557f8){var _0xf5b316=_0x48e815;return this[_0xf5b316(0x47e)][_0xf5b316(0x21e)](_0x2557f8),this;}[_0x48e815(0x24e)](_0x45e0ba){var _0x3c3b66=_0x48e815;if(this[_0x3c3b66(0x3e2)](_0x45e0ba))return this[_0x3c3b66(0x1d8)](),this[_0x3c3b66(0x25b)][_0x3c3b66(0x1ba)](Q,this['unitID'],this[_0x3c3b66(0x186)],this['_awaitingChangeset'],this[_0x3c3b66(0x47e)],null,[_0x45e0ba],this[_0x3c3b66(0x43f)]);try{const _0x14d0c2=this[_0x3c3b66(0x396)]['transformChangesets']([_0x45e0ba],[this[_0x3c3b66(0x45f)]],!0x1);if(_0x2c9aec(_0x14d0c2)){const {c1Prime:_0x84bb8e,c2Prime:_0x3e3543}=_0x14d0c2,_0x1041a3=this[_0x3c3b66(0x396)]['transformMutationsWithChangeset'](_0x84bb8e[0x0],this[_0x3c3b66(0x47e)]);if(_0x159925(_0x1041a3)){const {c1Prime:_0x3c142c,m2Prime:_0x5ee986}=_0x1041a3;return this['_executeRemoteChangeset'](_0x3c142c),_0x3e3543[0x0][_0x3c3b66(0x37d)]=this[_0x3c3b66(0x3dd)](),this[_0x3c3b66(0x1d8)](),this[_0x3c3b66(0x25b)][_0x3c3b66(0x1ba)](ae,this[_0x3c3b66(0x3e7)],this[_0x3c3b66(0x186)],_0x3e3543[0x0],_0x5ee986,this[_0x3c3b66(0x43f)],void 0x0);}throw _0x1041a3[_0x3c3b66(0x2f9)];}throw _0x14d0c2[_0x3c3b66(0x2f9)];}catch(_0x5f13bb){return this['_logService'][_0x3c3b66(0x2f9)](_0x5f13bb),this[_0x3c3b66(0x282)](!0x1);}}[_0x48e815(0x3b2)](_0x5a792c){var _0x27aedc=_0x48e815;if(this[_0x27aedc(0x1d8)](),this[_0x27aedc(0x3e2)](_0x5a792c))return this[_0x27aedc(0x25b)][_0x27aedc(0x1ba)](Q,this['unitID'],this[_0x27aedc(0x186)],null,this[_0x27aedc(0x47e)],this[_0x27aedc(0x45f)],[],this[_0x27aedc(0x43f)]);this[_0x27aedc(0x390)]();const _0x152751=this[_0x27aedc(0x25b)][_0x27aedc(0x1ba)](re,this[_0x27aedc(0x3e7)],this[_0x27aedc(0x186)],this[_0x27aedc(0x47e)],this['_handler']);return _0x152751[_0x27aedc(0x210)](),_0x152751[_0x27aedc(0x1e1)](),_0x152751;}['onRemoteRej'](_0x3fee29){var _0x15b698=_0x48e815;return this[_0x15b698(0x282)](!!(_0x3fee29!=null&&_0x3fee29[_0x15b698(0x1a3)]));}[_0x48e815(0x298)](_0x129bc3){var _0x1c9fa5=_0x48e815;return this[_0x1c9fa5(0x22a)]>Ti?this[_0x1c9fa5(0x342)]():(this['_resendTimer']=Ei(this[_0x1c9fa5(0x22a)],{'timeout':this[_0x1c9fa5(0x22a)],'reqId':_0x129bc3['reqId']}),this[_0x1c9fa5(0x1fc)]=this['_resendTimer'][_0x1c9fa5(0x445)](({reqId:_0x4aaade,timeout:_0x34306a})=>{var _0x2f8424=_0x1c9fa5;this[_0x2f8424(0x456)](_0x4aaade,_0x34306a);}),this);}[_0x48e815(0x342)](){var _0x455c2d=_0x48e815;return this[_0x455c2d(0x1d8)](),this['_injector']['createInstance'](ue,this[_0x455c2d(0x3e7)],this['type'],this[_0x455c2d(0x45f)],this['_pendingMutations'],this[_0x455c2d(0x43f)]);}[_0x48e815(0x337)](){return this;}[_0x48e815(0x478)](){var _0x55f594=_0x48e815;this['_handler']['onSendChangeset'](this[_0x55f594(0x45f)]);}[_0x48e815(0x282)](_0x22ed41){var _0x169cbe=_0x48e815;return this['_clearScheduledTask'](),this[_0x169cbe(0x25b)][_0x169cbe(0x1ba)](le,this[_0x169cbe(0x3e7)],this['type'],null,this[_0x169cbe(0x47e)],this[_0x169cbe(0x43f)],_0x22ed41);}[_0x48e815(0x456)](_0x26ab1c,_0x2b72d1){var _0x1d1142=_0x48e815,_0x5402c1;_0x26ab1c===((_0x5402c1=this[_0x1d1142(0x45f)])==null?void 0x0:_0x5402c1[_0x1d1142(0x3df)])&&(this['resend'](),this[_0x1d1142(0x22a)]=_0x2b72d1===0x0?0x3e8:_0x2b72d1*0x2);}[_0x48e815(0x1d8)](){var _0x4883b5;(_0x4883b5=this['_sender'])==null||_0x4883b5['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0xe5fc48(_0x5f3072)),P(0x7,_0xe5fc48(_0x26290a)),P(0x8,_0x450933),P(0x9,_0x45ccfb),P(0xa,_0x320ac0),P(0xb,_0x2e2de5),P(0xc,_0x5b024c(J))],ae);let le=class extends Te{constructor(_0x4c2705,_0x179069,_0x2a5633,_0x45d69b,_0x42bc61,_0x5a78d7=!0x1,_0x11f381,_0x26d0c9,_0x3f38a5,_0x457b8d,_0x5f37b4,_0x9305e9,_0x15a910){var _0x476eae=_0x48e815;super(_0x4c2705,_0x179069,_0x2a5633,_0x45d69b,_0x42bc61,_0x26d0c9,_0x3f38a5,_0x457b8d,_0x15a910),N(this,_0x476eae(0x279),_0x476eae(0x286)),(this[_0x476eae(0x3ba)]=_0x5a78d7,this[_0x476eae(0x18f)]=_0x11f381,this[_0x476eae(0x2c9)]=_0x5f37b4,this[_0x476eae(0x332)]=_0x9305e9,this['localCacheService']=_0x15a910,this[_0x476eae(0x468)](),this['_clearLocalCache'](),this[_0x476eae(0x3e0)]());}[_0x48e815(0x31d)](){return this;}['onRemoteChangeset'](){return this;}[_0x48e815(0x3b2)](){return this;}['onRemoteRej'](){return this;}[_0x48e815(0x298)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x48e815(0x478)](){var _0x1c6d63=_0x48e815;throw new Error(_0x1c6d63(0x261));}['_clearLocalCache'](){var _0x1aee99=_0x48e815,_0x59f44b;(_0x59f44b=this['_localCacheService'])==null||_0x59f44b[_0x1aee99(0x272)](this[_0x1aee99(0x3e7)],this['type'],null,[]);}['_showConflictNotification'](){var _0x154be5=_0x48e815;this['_isPermissionRej']?this[_0x154be5(0x332)][_0x154be5(0x3a6)]({'id':ne[_0x154be5(0x38a)]}):this['_collaborationUIEventService'][_0x154be5(0x3a6)]({'id':ne['CONFLICT']});}[_0x48e815(0x3e0)](){var _0x104938=_0x48e815;this[_0x104938(0x18f)]['updatePermissionPoint'](new _0x11e3c6(this[_0x104938(0x3e7)])['id'],!0x1);}};le=Ie([P(0x6,_0xe5fc48(_0x3d56a3)),P(0x7,_0x450933),P(0x8,_0x2e2de5),P(0x9,_0xe5fc48(_0x26290a)),P(0xa,_0xe5fc48(_0x5c87f7)),P(0xb,_0xe5fc48(ve)),P(0xc,_0x5b024c(J))],le);let ue=class extends Te{constructor(_0x536113,_0x11f27a,_0x29f65c,_0x1de7b6,_0x1b30bc,_0x521b4b,_0x3e8dd6,_0x3dd14b,_0x304dbd,_0x546543){var _0x105aa4=_0x48e815;super(_0x536113,_0x11f27a,_0x29f65c,_0x1de7b6,_0x1b30bc,_0x3dd14b,_0x304dbd,_0x3e8dd6,_0x546543),N(this,_0x105aa4(0x279),_0x105aa4(0x359)),this['_injector']=_0x521b4b;}[_0x48e815(0x31d)](_0x46735e){var _0x4c25c4=_0x48e815;return this[_0x4c25c4(0x47e)][_0x4c25c4(0x21e)](_0x46735e),this[_0x4c25c4(0x1e1)](),this;}[_0x48e815(0x24e)](_0x12750c){var _0x1b7adf=_0x48e815;throw new Error(_0x1b7adf(0x3f5));}[_0x48e815(0x3b2)](){var _0x125b5d=_0x48e815;throw new Error(_0x125b5d(0x338));}[_0x48e815(0x430)](){var _0x568042=_0x48e815;throw new Error(_0x568042(0x3c3));}['onRemoteRetry'](){return this;}[_0x48e815(0x342)](){return this;}[_0x48e815(0x337)](){var _0x241464=_0x48e815;const {_injector:_0x3a3cc7,_pendingMutations:_0x1ffae0,_awaitingChangeset:_0x53495f,unitID:_0x4e6afd,_handler:_0x1867e9,type:_0x5d1521}=this,_0x2d80aa=Ci(_0x3a3cc7,_0x4e6afd,_0x5d1521,_0x53495f,_0x1ffae0,_0x1867e9);return _0x2d80aa instanceof re?_0x2d80aa[_0x241464(0x210)]():(_0x2d80aa instanceof ae||_0x2d80aa instanceof _e)&&_0x2d80aa[_0x241464(0x478)](),_0x2d80aa;}[_0x48e815(0x478)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0xe5fc48(_0x5f3072)),P(0x6,_0xe5fc48(_0x26290a)),P(0x7,_0x450933),P(0x8,_0x2e2de5),P(0x9,_0x5b024c(J))],ue);let Q=class extends Te{constructor(_0x393133,_0x3822c6,_0x324caa,_0x18be2c,_0x5940ce,_0x59f497,_0x118438,_0xa506fc,_0x46fa5d,_0x51e504,_0x3f62f4,_0x3e76a2,_0x5170d2,_0x3a01cc){var _0x1ce94e=_0x48e815;super(_0x393133,_0x3822c6,_0x324caa,_0x18be2c,_0x118438,_0x3f62f4,_0x3e76a2,_0x46fa5d,_0x3a01cc),N(this,_0x1ce94e(0x279),_0x1ce94e(0x25f)),(this[_0x1ce94e(0x34e)]=_0x5940ce,this[_0x1ce94e(0x416)]=_0x59f497,this[_0x1ce94e(0x25b)]=_0xa506fc,this[_0x1ce94e(0x23f)]=_0x51e504,this['_transformService']=_0x5170d2,this[_0x1ce94e(0x40e)]=_0x3a01cc);}[_0x48e815(0x322)](_0x28aedf){var _0x42b431=_0x48e815;try{const _0x1cddd7=[..._0x28aedf,...this['_queuedRemoteChangesets']],_0x4a014c=[this[_0x42b431(0x45f)]||this[_0x42b431(0x34e)]][_0x42b431(0x207)](_0x7b6d85=>!!_0x7b6d85);let _0x1bb098,_0x4ac02c;if(_0x4a014c[_0x42b431(0x455)]){const _0x1c7b90=this['_transformService'][_0x42b431(0x20b)](_0x1cddd7,_0x4a014c,!0x1);if(!_0x2c9aec(_0x1c7b90))throw _0x1c7b90['error'];_0x1bb098=_0x1c7b90['c1Prime'],_0x4ac02c=_0x1c7b90[_0x42b431(0x2b0)];}else _0x1bb098=_0x1cddd7,_0x4ac02c=[];let _0x4c5806=this[_0x42b431(0x47e)];_0x1bb098[_0x42b431(0x459)](_0x57dc82=>{var _0x591502=_0x42b431;let _0x4630af;if(_0x4c5806[_0x591502(0x455)]){const _0xdbf7=this[_0x591502(0x396)][_0x591502(0x45b)](_0x57dc82,_0x4c5806);if(!_0x159925(_0xdbf7))throw _0xdbf7['error'];_0x4630af=_0xdbf7[_0x591502(0x452)],_0x4c5806=_0xdbf7[_0x591502(0x387)];}else _0x4630af=_0x57dc82;this[_0x591502(0x20f)](_0x4630af);}),this['_acknowledgedAwaitingChangeset']&&this[_0x42b431(0x390)](),this[_0x42b431(0x45f)]&&_0x4ac02c['length']&&(_0x4ac02c[0x0]['baseRev']=this['_getCurrentRevision']());let _0x32353c;if(this['_awaitingChangeset']&&_0x4c5806['length']!==0x0)_0x32353c=this[_0x42b431(0x25b)]['createInstance'](ae,this[_0x42b431(0x3e7)],this[_0x42b431(0x186)],_0x4ac02c[0x0],_0x4c5806,this[_0x42b431(0x43f)],void 0x0);else{if(this[_0x42b431(0x45f)]&&_0x4c5806[_0x42b431(0x455)]===0x0)_0x4ac02c[0x0][_0x42b431(0x37d)]=this[_0x42b431(0x3dd)](),_0x32353c=this[_0x42b431(0x25b)]['createInstance'](_e,this[_0x42b431(0x3e7)],this[_0x42b431(0x186)],_0x4ac02c[0x0],this[_0x42b431(0x43f)]);else{if(_0x4c5806[_0x42b431(0x455)]!==0x0){const _0x3bb1f6=this[_0x42b431(0x25b)][_0x42b431(0x1ba)](re,this[_0x42b431(0x3e7)],this[_0x42b431(0x186)],_0x4c5806,this[_0x42b431(0x43f)]);_0x3bb1f6[_0x42b431(0x210)](),_0x32353c=_0x3bb1f6;}else _0x32353c=this['_injector']['createInstance'](ye,this[_0x42b431(0x3e7)],this[_0x42b431(0x186)],this['_handler']);}}return _0x32353c['_updateLocalCache'](),_0x32353c;}catch(_0xd1f682){return this['_logService'][_0x42b431(0x2f9)]('[FetchMissState]',_0x42b431(0x1c3),_0xd1f682),this['_injector'][_0x42b431(0x1ba)](le,this[_0x42b431(0x3e7)],this[_0x42b431(0x186)],this[_0x42b431(0x45f)],this[_0x42b431(0x47e)],this[_0x42b431(0x43f)],!0x1);}}['resend'](){var _0x3e28db=_0x48e815;throw new Error(_0x3e28db(0x3a3));}[_0x48e815(0x31d)](_0x24b951){var _0x1629fe=_0x48e815;return this[_0x1629fe(0x47e)][_0x1629fe(0x21e)](_0x24b951),this;}[_0x48e815(0x24e)](_0x22d440){var _0xe4a4e1=_0x48e815;return this['_queuedRemoteChangesets'][_0xe4a4e1(0x21e)](_0x22d440),this;}[_0x48e815(0x3b2)](_0x3405bd){var _0x19b782=_0x48e815;if(this['_awaitingChangeset'])return this[_0x19b782(0x34e)]=this['_awaitingChangeset'],this[_0x19b782(0x45f)]=null,this;throw new Error(_0x19b782(0x1b0));}[_0x48e815(0x430)](_0x1e724b){var _0x52f387=_0x48e815;return this[_0x52f387(0x282)](!!(_0x1e724b!=null&&_0x1e724b[_0x52f387(0x1a3)]));}[_0x48e815(0x298)](){return this;}[_0x48e815(0x342)](){var _0x59c471=_0x48e815;return this[_0x59c471(0x25b)][_0x59c471(0x1ba)](ue,this[_0x59c471(0x3e7)],this[_0x59c471(0x186)],this[_0x59c471(0x45f)],this[_0x59c471(0x47e)],this[_0x59c471(0x43f)]);}[_0x48e815(0x337)](){return this;}[_0x48e815(0x282)](_0x272f03){var _0x2ec936=_0x48e815;return this[_0x2ec936(0x25b)]['createInstance'](le,this[_0x2ec936(0x3e7)],this[_0x2ec936(0x186)],this[_0x2ec936(0x45f)],this[_0x2ec936(0x47e)],this['_handler'],_0x272f03);}};Q=Ie([P(0x7,_0xe5fc48(_0x5f3072)),P(0x8,_0xe5fc48(_0x26290a)),P(0x9,_0x45ccfb),P(0xa,_0x450933),P(0xb,_0x2e2de5),P(0xc,_0x320ac0),P(0xd,_0x5b024c(J))],Q);function Ci(_0x48154f,_0x5c1317,_0x122125,_0x1b3bb2,_0x2538b3,_0x5191e2){var _0x77da2d=_0x48e815;return _0x1b3bb2&&_0x2538b3[_0x77da2d(0x455)]?_0x48154f[_0x77da2d(0x1ba)](ae,_0x5c1317,_0x122125,_0x1b3bb2,_0x2538b3,_0x5191e2,void 0x0):_0x1b3bb2?_0x48154f[_0x77da2d(0x1ba)](_e,_0x5c1317,_0x122125,_0x1b3bb2,_0x5191e2):_0x2538b3[_0x77da2d(0x455)]?_0x48154f[_0x77da2d(0x1ba)](re,_0x5c1317,_0x122125,_0x2538b3,_0x5191e2):_0x48154f[_0x77da2d(0x1ba)](ye,_0x5c1317,_0x122125,_0x5191e2);}var qs=Object[_0x48e815(0x40f)],wt=(_0x214341,_0x49e751,_0x117177,_0x590e37)=>{var _0x32ed1a=_0x48e815;for(var _0x2158f6=_0x590e37>0x1?void 0x0:_0x590e37?qs(_0x49e751,_0x117177):_0x49e751,_0x179cfe=_0x214341[_0x32ed1a(0x455)]-0x1,_0x30b6dc;_0x179cfe>=0x0;_0x179cfe--)(_0x30b6dc=_0x214341[_0x179cfe])&&(_0x2158f6=_0x30b6dc(_0x2158f6)||_0x2158f6);return _0x2158f6;},H=(_0x468c82,_0x1dd8c1)=>(_0x1a09e2,_0x3f2c24)=>_0x1dd8c1(_0x1a09e2,_0x3f2c24,_0x468c82);let st=class extends _0x8e301e{constructor(_0x4129a8,_0x10e727,_0x45216f,_0x111e48,_0x260e9f,_0x992152,_0x26bd8a,_0x2f4b6f,_0x397e31,_0x2afb1c,_0x496ccc,_0x49d21f,_0x2cbca8){var _0x5835b7=_0x48e815;super(),N(this,'_state$',new _0x5c47bb(null)),N(this,'state$',this['_state$'][_0x5835b7(0x308)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,_0x5835b7(0x232),''),N(this,_0x5835b7(0x206),0x0),N(this,_0x5835b7(0x429),this[_0x5835b7(0x171)]['pipe'](_0xe39c84(_0x4d14fc=>_0x4d14fc?_0x4d14fc[_0x5835b7(0x279)]:Ii[_0x5835b7(0x318)]),_0x314a77(0x1))),N(this,_0x5835b7(0x1bd),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x5835b7(0x3e7)]=_0x4129a8,this[_0x5835b7(0x424)]=_0x10e727,this[_0x5835b7(0x305)]=_0x45216f,this[_0x5835b7(0x25b)]=_0x111e48,this[_0x5835b7(0x3b7)]=_0x260e9f,this['_localeService']=_0x992152,this[_0x5835b7(0x3d9)]=_0x26bd8a,this[_0x5835b7(0x181)]=_0x2f4b6f,this['_logService']=_0x397e31,this[_0x5835b7(0x3ad)]=_0x2afb1c,this[_0x5835b7(0x18f)]=_0x496ccc,this[_0x5835b7(0x458)]=_0x49d21f,this[_0x5835b7(0x26c)]=_0x2cbca8);}get['state'](){var _0x1439a7=_0x48e815;return this[_0x1439a7(0x3ce)];}async[_0x48e815(0x32e)](){var _0x1f8e18=_0x48e815;if(this[_0x1f8e18(0x21f)])throw new Error(_0x1f8e18(0x28d));await this['_init']();}[_0x48e815(0x339)](){return this['_collaborationPaused']=!0x0,_0x215275(()=>{var _0x3c6ae0=_0x5b1d;this[_0x3c6ae0(0x23d)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x48e815(0x2ea)](_0x5d47f8){var _0x386b5e=_0x48e815;this[_0x386b5e(0x1e7)](_0x5d47f8);}[_0x48e815(0x41b)](_0x1f03be){var _0x19ad34=_0x48e815;this[_0x19ad34(0x3ce)]=_0x1f03be,this[_0x19ad34(0x45d)]['next'](_0x1f03be);}async['_init'](){var _0x50a1a6=_0x48e815,_0x8fde70;this[_0x50a1a6(0x41b)](await this[_0x50a1a6(0x325)]()),this[_0x50a1a6(0x458)]&&((_0x8fde70=this[_0x50a1a6(0x458)])==null||_0x8fde70['editingUnit'](this[_0x50a1a6(0x3e7)]),this[_0x50a1a6(0x399)](this[_0x50a1a6(0x458)][_0x50a1a6(0x24f)](this[_0x50a1a6(0x3e7)])['subscribe'](_0xfceb7=>{var _0x191609=_0x50a1a6;this[_0x191609(0x23f)][_0x191609(0x1fd)]('[CollaborationEntity]',_0x191609(0x360),_0xfceb7),_0xfceb7===Si['OTHER_CLIENTS_EDITING']?(this[_0x191609(0x181)][_0x191609(0x3a6)]({'id':ne[_0x191609(0x434)]}),this[_0x191609(0x18f)][_0x191609(0x259)](new _0x11e3c6(this[_0x191609(0x3e7)])['id'],!0x1),this[_0x191609(0x18f)][_0x191609(0x2d2)](!0x1)):(this[_0x191609(0x18f)]['updatePermissionPoint'](new _0x11e3c6(this[_0x191609(0x3e7)])['id'],!0x0),this[_0x191609(0x18f)][_0x191609(0x2d2)](!0x0));})));let _0x1a293b=!0x1;return this['disposeWithMe'](this[_0x50a1a6(0x424)][_0x50a1a6(0x201)]['subscribe'](_0x333ce1=>{var _0x373df5=_0x50a1a6;_0x333ce1===Se[_0x373df5(0x3fe)]?this[_0x373df5(0x36c)](_0x1a293b):_0x333ce1===Se[_0x373df5(0x318)]&&(_0x1a293b=!0x0,this[_0x373df5(0x379)]());})),this['disposeWithMe'](this[_0x50a1a6(0x424)][_0x50a1a6(0x193)]['subscribe'](_0x25a117=>{var _0x1f8ad9=_0x50a1a6;try{switch(_0x25a117['eventID']){case _0x3ea884[_0x1f8ad9(0x189)]:{this[_0x1f8ad9(0x354)](_0x77ec70(_0x25a117[_0x1f8ad9(0x327)]));break;}case _0x3ea884[_0x1f8ad9(0x46a)]:{this[_0x1f8ad9(0x1b6)](_0x25a117[_0x1f8ad9(0x327)]);break;}case _0x3ea884[_0x1f8ad9(0x1d6)]:{this[_0x1f8ad9(0x3eb)]();break;}case _0x3ea884[_0x1f8ad9(0x353)]:{this[_0x1f8ad9(0x436)](_0x25a117['data']);break;}case _0x3ea884[_0x1f8ad9(0x297)]:{this['_onFetchMissResult'](_0x25a117[_0x1f8ad9(0x327)][_0x1f8ad9(0x22f)]['map'](_0x573110=>_0x77ec70(_0x573110)));break;}case _0x3ea884[_0x1f8ad9(0x482)]:{this[_0x1f8ad9(0x3eb)]({'isPermissionRej':!0x0});break;}case _0x3ea884[_0x1f8ad9(0x2b7)]:break;}}catch(_0x23bc00){throw console[_0x1f8ad9(0x2f9)](_0x1f8ad9(0x30b),_0x23bc00),_0x23bc00;}})),this[_0x50a1a6(0x3ce)];}[_0x48e815(0x37f)](){var _0x391f86=_0x48e815;this[_0x391f86(0x1bd)]=!0x1;}['_lockTransition'](){var _0x29e5fe=_0x48e815;if(this[_0x29e5fe(0x1bd)])throw new Error(_0x29e5fe(0x366));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x372fca){var _0x438f13=_0x48e815;this['_lockTransition'](),this[_0x438f13(0x41b)](this[_0x438f13(0x3ce)]['appendMutation'](_0x372fca)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x373e77){var _0x85d303=_0x48e815;if(!(_0x373e77['revision']<=this['_revisionService'][_0x85d303(0x2a5)](this['unitID']))){if(this[_0x85d303(0x23d)]){this[_0x85d303(0x25a)]['push'](_0x373e77);return;}this[_0x85d303(0x341)](_0x373e77);}}['_exhaustRemoteChangesetQueue'](){var _0x50e3d2=_0x48e815;this[_0x50e3d2(0x25a)][_0x50e3d2(0x459)](_0x77ff2c=>this[_0x50e3d2(0x341)](_0x77ff2c)),this[_0x50e3d2(0x25a)]=[];}[_0x48e815(0x341)](_0x1c0780){var _0x3d19bc=_0x48e815;const _0xdd2a92=this[_0x3d19bc(0x3b7)][_0x3d19bc(0x2d7)][_0x3d19bc(0x2ce)](this[_0x3d19bc(0x3b7)][_0x3d19bc(0x2d7)][_0x3d19bc(0x43e)]()['COMPRESS_MUTATION_APPLY'])(_0x1c0780[_0x3d19bc(0x378)],null)||_0x1c0780[_0x3d19bc(0x378)],_0x2c0fda={..._0x1c0780,'mutations':_0xdd2a92};this[_0x3d19bc(0x44d)](),this[_0x3d19bc(0x41b)](this['_state']['onRemoteChangeset'](_0x2c0fda)),this['_unlockTransition']();}[_0x48e815(0x1b6)](_0x4f2ef4){var _0x147b9a=_0x48e815;this[_0x147b9a(0x44d)](),this[_0x147b9a(0x41b)](this[_0x147b9a(0x3ce)][_0x147b9a(0x3b2)](_0x4f2ef4)),this[_0x147b9a(0x37f)]();}[_0x48e815(0x3eb)](_0x58e752){var _0x3b6884=_0x48e815;this[_0x3b6884(0x44d)](),this[_0x3b6884(0x41b)](this[_0x3b6884(0x3ce)][_0x3b6884(0x430)](_0x58e752)),this['_unlockTransition']();}[_0x48e815(0x436)](_0x4dd6be){var _0x1ef006=_0x48e815;this[_0x1ef006(0x44d)](),this[_0x1ef006(0x41b)](this[_0x1ef006(0x3ce)]['onRemoteRetry'](_0x4dd6be)),this[_0x1ef006(0x37f)]();}[_0x48e815(0x44f)](_0x3691ac){var _0x467022=_0x48e815;if(!(this[_0x467022(0x3ce)]instanceof Q))throw new TypeError(_0x467022(0x202));const _0xe20463=_0x3691ac[_0x467022(0x465)](_0x47c736=>{var _0x5c7690=_0x467022;const _0x1c2666=this['_compressMutationService']['interceptor'][_0x5c7690(0x2ce)](this[_0x5c7690(0x3b7)][_0x5c7690(0x2d7)][_0x5c7690(0x43e)]()[_0x5c7690(0x3a0)])(_0x47c736['mutations'],null)||_0x47c736['mutations'];return{..._0x47c736,'mutations':_0x1c2666};});this[_0x467022(0x44d)](),this[_0x467022(0x41b)](this[_0x467022(0x3ce)][_0x467022(0x322)](_0xe20463)),this[_0x467022(0x37f)]();}[_0x48e815(0x379)](){var _0x5ec4f2=_0x48e815;this[_0x5ec4f2(0x44d)](),this[_0x5ec4f2(0x41b)](this[_0x5ec4f2(0x3ce)][_0x5ec4f2(0x342)]()),this[_0x5ec4f2(0x37f)]();}['_toggleOnline'](_0x2a46cd=!0x1){var _0x2ccdae=_0x48e815;this[_0x2ccdae(0x44d)](),this[_0x2ccdae(0x41b)](this[_0x2ccdae(0x3ce)][_0x2ccdae(0x337)]()),this['_unlockTransition']();const _0x5d1a15=this[_0x2ccdae(0x3ce)];_0x2a46cd&&_0x5d1a15 instanceof ye&&(this['_lockTransition'](),this['_updateState'](_0x5d1a15['fetchMiss']()),this[_0x2ccdae(0x37f)]());}async[_0x48e815(0x325)](){return new Promise(_0x18b7bf=>{var _0x5f473d=_0x5b1d;this['session'][_0x5f473d(0x201)][_0x5f473d(0x358)](_0x5f706a(0x1))[_0x5f473d(0x445)](async _0x434d64=>{var _0x133575=_0x5f473d;_0x18b7bf(await this[_0x133575(0x39e)](_0x434d64===Se[_0x133575(0x3fe)]));});});}[_0x48e815(0x422)](){var _0x23485a=_0x48e815;const _0x1e2a68=this[_0x23485a(0x3e7)];return{'onStateChange':(_0x4cb1c9,_0x4af8f4)=>{var _0x5839ae=_0x23485a;if(_0x4cb1c9!==this[_0x5839ae(0x3ce)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4cb1c9['status']+_0x5839ae(0x420)+_0x4af8f4[_0x5839ae(0x279)]+_0x5839ae(0x3d5)+this['_state'][_0x5839ae(0x279)]);this[_0x5839ae(0x41b)](_0x4af8f4);},'onSendChangeset':_0x281ec5=>{var _0x2b763b=_0x23485a;_0x281ec5['sid']||(_0x281ec5[_0x2b763b(0x1f8)]=this[_0x2b763b(0x232)],_0x281ec5[_0x2b763b(0x3df)]=++this[_0x2b763b(0x206)]);const _0xd4f7e3={'eventID':_0x3ea884[_0x2b763b(0x3cc)],'data':{'unitID':_0x281ec5['unitID'],'unitType':this[_0x2b763b(0x305)],'changeset':_0x281ec5,'memberID':this[_0x2b763b(0x424)][_0x2b763b(0x33d)]()}};this[_0x2b763b(0x424)][_0x2b763b(0x2d8)](_0xd4f7e3,this[_0x2b763b(0x3e7)]);},'onMissingChangesets':({from:_0xd47859,to:_0x39e7a4})=>{var _0x3b0ae1=_0x23485a;this[_0x3b0ae1(0x23f)][_0x3b0ae1(0x1fd)](_0x3b0ae1(0x209),'fetching\x20missing\x20changesets\x20from\x20'+_0xd47859+'\x20to\x20'+_0x39e7a4);const _0x9068fb={'eventID':_0x3ea884[_0x3b0ae1(0x188)],'data':{'unitID':_0x1e2a68,'unitType':this[_0x3b0ae1(0x305)],'from':_0xd47859,'to':_0x39e7a4}};this[_0x3b0ae1(0x424)][_0x3b0ae1(0x2d8)](_0x9068fb,this[_0x3b0ae1(0x3e7)]);}};}async[_0x48e815(0x39e)](_0x209242){var _0x22e9a1=_0x48e815,_0x307401,_0x2d6ea4,_0x3bab30;const _0x11d3cc=await((_0x307401=this['_localCacheService'])==null?void 0x0:_0x307401[_0x22e9a1(0x300)](this[_0x22e9a1(0x3e7)])),_0x501083=(_0x2d6ea4=_0x11d3cc==null?void 0x0:_0x11d3cc[_0x22e9a1(0x378)])!=null?_0x2d6ea4:[],_0x10989e=(_0x3bab30=_0x11d3cc==null?void 0x0:_0x11d3cc[_0x22e9a1(0x304)])!=null?_0x3bab30:null,_0x4bc75c=!!(_0x10989e!=null&&_0x10989e['sid'])&&!!(_0x10989e!=null&&_0x10989e[_0x22e9a1(0x3df)]);this[_0x22e9a1(0x232)]=_0x4bc75c?_0x10989e[_0x22e9a1(0x1f8)]:_0x4ee8c6(),this[_0x22e9a1(0x206)]=_0x4bc75c?_0x10989e['reqId']:0x0;const _0x58a778=this['unitID'];try{this[_0x22e9a1(0x270)](_0x10989e,_0x501083);}catch(_0xb0e7e2){this[_0x22e9a1(0x23f)][_0x22e9a1(0x2f9)](_0xb0e7e2);}const _0x3ce089=this[_0x22e9a1(0x422)]();if(_0x209242){const _0x124011=Ci(this['_injector'],_0x58a778,this[_0x22e9a1(0x305)],_0x10989e,_0x501083,_0x3ce089);return _0x124011 instanceof re?_0x124011[_0x22e9a1(0x210)]():(_0x124011 instanceof ae||_0x124011 instanceof _e)&&_0x124011[_0x22e9a1(0x478)](),_0x124011;}return this[_0x22e9a1(0x25b)][_0x22e9a1(0x1ba)](ue,_0x58a778,this[_0x22e9a1(0x305)],_0x10989e,_0x501083,_0x3ce089);}[_0x48e815(0x270)](_0x264c01,_0x5dc36e){var _0x4ea07d=_0x48e815,_0x39b563,_0x7d835b;const _0x31bbdb=this['_compressMutationService'][_0x4ea07d(0x2d7)][_0x4ea07d(0x2ce)](this['_compressMutationService']['interceptor'][_0x4ea07d(0x43e)]()[_0x4ea07d(0x3a0)]);(_0x39b563=_0x31bbdb((_0x264c01==null?void 0x0:_0x264c01['mutations'])||[],null))==null||_0x39b563[_0x4ea07d(0x459)](_0x3311ab=>this[_0x4ea07d(0x3ad)][_0x4ea07d(0x289)](_0x3311ab['id'],_0x3311ab['params'])),(_0x7d835b=_0x31bbdb(_0x5dc36e||[],null))==null||_0x7d835b['forEach'](_0x4da3b7=>this['_commandService']['executeCommand'](_0x4da3b7['id'],_0x4da3b7[_0x4ea07d(0x3b0)]));}};st=wt([H(0x3,_0xe5fc48(_0x5f3072)),H(0x4,_0xe5fc48(_0x2fbfd3)),H(0x5,_0xe5fc48(_0x5c87f7)),H(0x6,_0xe5fc48(_0x26290a)),H(0x7,_0xe5fc48(ve)),H(0x8,_0x45ccfb),H(0x9,_0x450933),H(0xa,_0x3d56a3),H(0xb,_0x5b024c(ht)),H(0xc,_0x5b024c(J))],st);let St=class extends st{constructor(_0x578fb7,_0xc870f0,_0x479f41,_0x5cc9d1,_0xb53971,_0x57e806,_0x4abea7,_0x5aaa02,_0x53eb4c,_0x6c4327,_0x4508f3,_0x39885d,_0x5c6dbc){var _0x2f96bf=_0x48e815;super(_0x578fb7,_0x479f41,_0xc870f0,_0x5cc9d1,_0xb53971,_0x57e806,_0x4abea7,_0x5aaa02,_0x53eb4c,_0x6c4327,_0x4508f3,_0x39885d,_0x5c6dbc),N(this,_0x2f96bf(0x17f),null),(this[_0x2f96bf(0x3e7)]=_0x578fb7,this[_0x2f96bf(0x186)]=_0xc870f0);}[_0x48e815(0x1b5)](_0x3c68a9){var _0x2b4ffc=_0x48e815;this[_0x2b4ffc(0x17f)]=_0x3c68a9;}['dispose'](){var _0xedba9d=_0x48e815;this[_0xedba9d(0x17f)]=null,super[_0xedba9d(0x376)]();}[_0x48e815(0x422)](){var _0x46dd54=_0x48e815;const _0x486f04=super[_0x46dd54(0x422)]();return _0x486f04[_0x46dd54(0x344)]=_0x3023e5=>{var _0x240780=_0x46dd54,_0x44e3d8,_0x364081;return(_0x364081=(_0x44e3d8=this['_handlerCallback'])==null?void 0x0:_0x44e3d8[_0x240780(0x344)])==null?void 0x0:_0x364081['call'](_0x44e3d8,_0x3023e5);},_0x486f04[_0x46dd54(0x3d7)]=_0x2c9a65=>{var _0x80e7f8=_0x46dd54,_0x47c855,_0xebb5ef;return(_0xebb5ef=(_0x47c855=this[_0x80e7f8(0x17f)])==null?void 0x0:_0x47c855['onTransformState'])==null?void 0x0:_0xebb5ef[_0x80e7f8(0x31b)](_0x47c855,_0x2c9a65);},_0x486f04[_0x46dd54(0x477)]=_0x2d6f43=>{var _0x29e188=_0x46dd54,_0x252c57,_0x317944;return(_0x317944=(_0x252c57=this[_0x29e188(0x17f)])==null?void 0x0:_0x252c57['onTransformSelections'])==null?void 0x0:_0x317944[_0x29e188(0x31b)](_0x252c57,_0x2d6f43);},_0x486f04[_0x46dd54(0x440)]=_0x51d037=>{var _0x21dd69=_0x46dd54,_0x4a8cb1,_0x2f8ac7;return(_0x2f8ac7=(_0x4a8cb1=this['_handlerCallback'])==null?void 0x0:_0x4a8cb1['onSyncEditingCollabCursor'])==null?void 0x0:_0x2f8ac7[_0x21dd69(0x31b)](_0x4a8cb1,_0x51d037);},_0x486f04['onTransformRemoteChangesetByIMECache']=_0x590762=>{var _0x34e049=_0x46dd54,_0x2149b0,_0x3a84ff,_0x4e76de;if(!((_0x2149b0=this[_0x34e049(0x17f)])!=null&&_0x2149b0[_0x34e049(0x219)]))throw new Error(_0x34e049(0x239));return(_0x4e76de=(_0x3a84ff=this[_0x34e049(0x17f)])==null?void 0x0:_0x3a84ff[_0x34e049(0x219)])==null?void 0x0:_0x4e76de[_0x34e049(0x31b)](_0x3a84ff,_0x590762);},_0x486f04['onTransformRemoteChangesetByStateCache']=_0x4523a9=>{var _0x1e87cc=_0x46dd54,_0x5a3467,_0x211a76,_0x16133d;if(!((_0x5a3467=this['_handlerCallback'])!=null&&_0x5a3467['onTransformRemoteChangesetByStateCache']))throw new Error(_0x1e87cc(0x435));return(_0x16133d=(_0x211a76=this[_0x1e87cc(0x17f)])==null?void 0x0:_0x211a76[_0x1e87cc(0x1d5)])==null?void 0x0:_0x16133d[_0x1e87cc(0x31b)](_0x211a76,_0x4523a9);},_0x486f04;}async[_0x48e815(0x276)](){var _0x341eba=_0x48e815;const _0x526170=await super[_0x341eba(0x276)]();return this[_0x341eba(0x399)](this['_commandService']['onCommandExecuted']((_0x12039c,_0x43b295)=>{var _0x2a71e6=_0x341eba;if(_0x12039c[_0x2a71e6(0x186)]!==_0x11ce4d[_0x2a71e6(0x3e4)]||_0x43b295!=null&&_0x43b295[_0x2a71e6(0x1c8)]||_0x43b295!=null&&_0x43b295[_0x2a71e6(0x47d)]||_0x12039c['id']===_0x21e400['id'])return;const _0x5ba022=_0x12039c[_0x2a71e6(0x3b0)];if((_0x5ba022==null?void 0x0:_0x5ba022[_0x2a71e6(0x17c)])!==this[_0x2a71e6(0x3e7)])return;const _0x5c432b=_0x12039c,_0x2f6cb0=this[_0x2a71e6(0x3b7)][_0x2a71e6(0x2d7)]['fetchThroughInterceptors'](this[_0x2a71e6(0x3b7)][_0x2a71e6(0x2d7)]['getInterceptPoints']()[_0x2a71e6(0x2f5)])([_0x5c432b],null)||[_0x5c432b];this[_0x2a71e6(0x1e7)](_0x2f6cb0[0x0]);})),_0x526170;}};St=wt([H(0x3,_0xe5fc48(_0x5f3072)),H(0x4,_0xe5fc48(_0x2fbfd3)),H(0x5,_0xe5fc48(_0x5c87f7)),H(0x6,_0xe5fc48(_0x26290a)),H(0x7,_0xe5fc48(ve)),H(0x8,_0x45ccfb),H(0x9,_0x450933),H(0xa,_0x3d56a3),H(0xb,_0x5b024c(ht)),H(0xc,_0x5b024c(J))],St);let Et=class extends st{constructor(_0x28674e,_0x54e65f,_0x39f3ff,_0x20bae3,_0x2a5df9,_0x2d756b,_0x5e9acf,_0x18b917,_0x15d9b9,_0x4f4bab,_0x2a770d,_0x41e929,_0x21415f,_0x2e8816){var _0x4bcf44=_0x48e815;super(_0x28674e,_0x39f3ff,_0x54e65f,_0x20bae3,_0x2a5df9,_0x2d756b,_0x5e9acf,_0x15d9b9,_0x4f4bab,_0x2a770d,_0x41e929,_0x21415f,_0x2e8816),this[_0x4bcf44(0x3e7)]=_0x28674e,this['type']=_0x54e65f,this[_0x4bcf44(0x2e4)]=_0x18b917;}[_0x48e815(0x422)](){var _0x767a03=_0x48e815;const _0x488932=super[_0x767a03(0x422)]();return _0x488932['onTransformSelections']=_0x10ef44=>this['_sheetTransformSelectionsService'][_0x767a03(0x307)](_0x10ef44),_0x488932;}async[_0x48e815(0x276)](){var _0x4716da=_0x48e815;const _0x4a0777=await super['_init']();return this['disposeWithMe'](this[_0x4716da(0x3ad)][_0x4716da(0x44a)]((_0x3a1866,_0xf18693)=>{var _0x37a8d7=_0x4716da;if(_0x3a1866[_0x37a8d7(0x186)]!==_0x11ce4d[_0x37a8d7(0x3e4)]||_0xf18693!=null&&_0xf18693[_0x37a8d7(0x1c8)]||_0xf18693!=null&&_0xf18693[_0x37a8d7(0x47d)])return;const _0x140547=_0x3a1866[_0x37a8d7(0x3b0)];if((_0x140547==null?void 0x0:_0x140547[_0x37a8d7(0x17c)])!==this['unitID'])return;const _0x40dc34=_0x3a1866,_0x3c5949=this[_0x37a8d7(0x3b7)][_0x37a8d7(0x2d7)][_0x37a8d7(0x2ce)](this[_0x37a8d7(0x3b7)][_0x37a8d7(0x2d7)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x40dc34],null)||[_0x40dc34];this[_0x37a8d7(0x1e7)](_0x3c5949[0x0]);})),_0x4a0777;}};Et=wt([H(0x3,_0xe5fc48(_0x5f3072)),H(0x4,_0xe5fc48(_0x2fbfd3)),H(0x5,_0xe5fc48(_0x5c87f7)),H(0x6,_0xe5fc48(_0x26290a)),H(0x7,_0xe5fc48(it)),H(0x8,_0xe5fc48(ve)),H(0x9,_0x45ccfb),H(0xa,_0x450933),H(0xb,_0x3d56a3),H(0xc,_0x5b024c(ht)),H(0xd,_0x5b024c(J))],Et);var zs=Object[_0x48e815(0x40f)],Js=(_0xde5421,_0xcf344b,_0x252732,_0x2bc97a)=>{for(var _0x323fe7=_0x2bc97a>0x1?void 0x0:_0x2bc97a?zs(_0xcf344b,_0x252732):_0xcf344b,_0x1fd07e=_0xde5421['length']-0x1,_0x5f4805;_0x1fd07e>=0x0;_0x1fd07e--)(_0x5f4805=_0xde5421[_0x1fd07e])&&(_0x323fe7=_0x5f4805(_0x323fe7)||_0x323fe7);return _0x323fe7;},Be=(_0x2527b1,_0x1c20cc)=>(_0x229918,_0x4b0bed)=>_0x1c20cc(_0x229918,_0x4b0bed,_0x2527b1);let nt=class extends _0x8e301e{constructor(_0x3709f4,_0x5a9c5a,_0x40d286,_0x352f9b){var _0x3eb3e0=_0x48e815,_0x53d5e4;super(),N(this,_0x3eb3e0(0x438),new Map()),N(this,_0x3eb3e0(0x21c),new _0x57bfb2()),N(this,_0x3eb3e0(0x3a4),this['_entityInit$'][_0x3eb3e0(0x308)]()),(this[_0x3eb3e0(0x25b)]=_0x3709f4,this['_collabSessionService']=_0x5a9c5a,this[_0x3eb3e0(0x35d)]=_0x40d286,this['_univerInstanceService']=_0x352f9b,((_0x53d5e4=this[_0x3eb3e0(0x35d)][_0x3eb3e0(0x3ca)](K))==null?void 0x0:_0x53d5e4[_0x3eb3e0(0x3b8)])!==!0x1&&this[_0x3eb3e0(0x276)]());}[_0x48e815(0x376)](){var _0x31efbd=_0x48e815;super['dispose'](),this[_0x31efbd(0x438)]['forEach'](_0x1f676b=>_0x1f676b['dispose']()),this[_0x31efbd(0x438)][_0x31efbd(0x224)]();}[_0x48e815(0x2ab)](_0x57dda8){var _0x3784d7=_0x48e815,_0x18da99;return(_0x18da99=this[_0x3784d7(0x438)][_0x3784d7(0x205)](_0x57dda8))!=null?_0x18da99:null;}['getCollabEntity$'](_0x3eea93){var _0x9e7335=_0x48e815;const _0x1c082f=this['getCollabEntity'](_0x3eea93);return _0x1c082f?_0x3f372b(_0x1c082f):this['_entityInit$'][_0x9e7335(0x358)](_0xae1022(_0x33dcf5=>_0x33dcf5['unitID']===_0x3eea93));}['readyForCollab'](_0x11e388){var _0x1d28f4=_0x48e815;return _0x28e43e(this[_0x1d28f4(0x40a)](_0x11e388)[_0x1d28f4(0x358)](_0x8eeacb(()=>{})));}['_init'](){var _0x2c81e6=_0x48e815;this[_0x2c81e6(0x1f0)][_0x2c81e6(0x3a1)](_0x2b3da6['UNIVER_SHEET'])[_0x2c81e6(0x358)](_0x520563(this[_0x2c81e6(0x3be)]),_0x52612f(0x10))[_0x2c81e6(0x445)](async _0xe690d1=>{var _0x4fe952=_0x2c81e6;const _0x3bba49=_0xe690d1[_0x4fe952(0x462)](),_0x1c7904=await this[_0x4fe952(0x195)](_0x3bba49,Z[_0x4fe952(0x371)]);this[_0x4fe952(0x438)][_0x4fe952(0x247)](_0x3bba49,_0x1c7904);}),this[_0x2c81e6(0x1f0)]['getTypeOfUnitAdded$'](_0x2b3da6[_0x2c81e6(0x1b3)])['pipe'](_0x520563(this['dispose$']),_0x52612f(0x10))[_0x2c81e6(0x358)](_0xae1022(_0x2bce22=>!_0x2bce22[_0x2c81e6(0x462)]()[_0x2c81e6(0x1c9)]('__')))['subscribe'](async _0x105e84=>{var _0x49e945=_0x2c81e6;const _0x286c60=_0x105e84[_0x49e945(0x462)](),_0x8791f6=await this[_0x49e945(0x195)](_0x286c60,Z[_0x49e945(0x1b3)]);this[_0x49e945(0x438)][_0x49e945(0x247)](_0x286c60,_0x8791f6);}),_0x408112(this['_univerInstanceService'][_0x2c81e6(0x251)](_0x2b3da6['UNIVER_SHEET']),this[_0x2c81e6(0x1f0)][_0x2c81e6(0x251)](_0x2b3da6[_0x2c81e6(0x1b3)]))['pipe'](_0x520563(this[_0x2c81e6(0x3be)]))['subscribe'](_0x3c02f4=>{var _0x2c07c7=_0x2c81e6;const _0xc6c04d=_0x3c02f4[_0x2c07c7(0x462)](),_0xe382b1=this[_0x2c07c7(0x438)]['get'](_0xc6c04d);_0xe382b1&&(_0xe382b1[_0x2c07c7(0x376)](),this[_0x2c07c7(0x438)][_0x2c07c7(0x43d)](_0xc6c04d));});}async['_startCollaboration'](_0x2c5965,_0x5abe5e){var _0x276e91=_0x48e815;const _0x1f1352=await this[_0x276e91(0x32b)][_0x276e91(0x2bb)](_0x2c5965),_0x57748a=this[_0x276e91(0x25b)][_0x276e91(0x1ba)](this[_0x276e91(0x29b)](_0x5abe5e),_0x2c5965,_0x5abe5e,_0x1f1352);return await _0x57748a['init'](),this[_0x276e91(0x21c)]['next'](_0x57748a),_0x57748a;}['_getCtorByUniverType'](_0x15a9a2){var _0x414991=_0x48e815;switch(_0x15a9a2){case Z[_0x414991(0x1b3)]:return St;case Z[_0x414991(0x371)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x15a9a2);}}};nt=Js([Be(0x0,_0xe5fc48(_0x5f3072)),Be(0x1,_0xe5fc48(Me)),Be(0x2,_0x1354c0),Be(0x3,_0x1d4196)],nt);var Xs=Object[_0x48e815(0x40f)],Zs=(_0x564113,_0xc6eb51,_0x3f249c,_0x26c20d)=>{for(var _0x55b353=_0x26c20d>0x1?void 0x0:_0x26c20d?Xs(_0xc6eb51,_0x3f249c):_0xc6eb51,_0x3e4b2c=_0x564113['length']-0x1,_0x3c7274;_0x3e4b2c>=0x0;_0x3e4b2c--)(_0x3c7274=_0x564113[_0x3e4b2c])&&(_0x55b353=_0x3c7274(_0x55b353)||_0x55b353);return _0x55b353;},Yt=(_0x429352,_0x3ba676)=>(_0x3f66dd,_0x2878e7)=>_0x3ba676(_0x3f66dd,_0x2878e7,_0x429352);const Qs=_0x48e815(0x1f1),en=_0x48e815(0x1a6);let It=class extends _0x316736{constructor(_0x4be506,_0x3397b7){super(),this['_univerInstanceService']=_0x4be506,this['_configService']=_0x3397b7,this['_init']();}[_0x48e815(0x276)](){var _0x2c3075=_0x48e815;this[_0x2c3075(0x399)](this['_univerInstanceService']['focused$'][_0x2c3075(0x445)](()=>{var _0x376349=_0x2c3075,_0xd9c5fe;const _0x2cb518=this[_0x376349(0x1f0)][_0x376349(0x264)]();let _0x5886d0=(_0xd9c5fe=this['_configService'][_0x376349(0x3ca)](Qs))!=null?_0xd9c5fe:en;_0x2cb518 instanceof _0x314fc4&&(_0x5886d0=_0x2cb518[_0x376349(0x32a)]),document[_0x376349(0x2e0)]=_0x5886d0;}));}};It=Zs([Yt(0x0,_0x1d4196),Yt(0x1,_0x1354c0)],It);var tn=Object[_0x48e815(0x40f)],sn=(_0x328c18,_0x28b204,_0x38e03f,_0xfc39fc)=>{for(var _0x1f697c=_0xfc39fc>0x1?void 0x0:_0xfc39fc?tn(_0x28b204,_0x38e03f):_0x28b204,_0x5f1b50=_0x328c18['length']-0x1,_0x39e40d;_0x5f1b50>=0x0;_0x5f1b50--)(_0x39e40d=_0x328c18[_0x5f1b50])&&(_0x1f697c=_0x39e40d(_0x1f697c)||_0x1f697c);return _0x1f697c;},dt=(_0x1758b1,_0xf89a75)=>(_0x4b6a5b,_0x4b398b)=>_0xf89a75(_0x4b6a5b,_0x4b398b,_0x1758b1);function _0x25dc(){var _0x4b7c23=['exports','RETRY_CONNECTING_MAX_COUNT','Error\x20on\x20receiving\x20event','FileId','algo','/new_changes','_redoStacks','UNKNOWN_CODE','from','Pkcs7','createCollaborator','_onMessage','HELLO','/-/object/-/batch_allowed','fetchMissingChangesets','OFFLINE','BlockCipherMode','APPLY_DUPLICATED','call','image/jpeg','appendMutation','_getUploadFileURL','uniscriptRunEvent','createDecryptor','_initRequestHeader','onMissedChangesetFetched','unit-cache-','indexOf','_createInitialState','getActiveSheet','data','Failed\x20to\x20update\x20permission\x20point','POST','name','_collabSessionService','Could\x20not\x20dynamically\x20require\x20\x22','createEncryptor','init','LICENSE_EXPORT_SIZE_EXCEEDED','_change$','Hex','_collaborationUIEventService','getUnit','incrementRevOfUnit','telemetry\x20info\x20is\x20not\x20initialized','24qWmNFE','toggleOnline','[OfflineState]:\x20received\x20acknowledgement.','pauseCollaboration','_retryCount','_networkConditionService','_keySchedule','getMemberID','message$','onMissingChangesets','_createHmacHelper','_applyRemoteChangeset','toggleOffline','origin','onTransformIME','decrypt','_getRedoStack','UNDEFINED','_sessionStatus$','_scheduleCollaborationTimeoutTimer','every','execute','_resendTimer','getDeserializedSheetBlock','_acknowledgedAwaitingChangeset','error$','_onConnectionFailed','univer-pro.collaboration-client.single-active-unit-service','_hasher','CHANGESET_SHOULD_RETRY','_onRemoteChangeset','HEARTBEAT_INTERVAL','commentUpdateEvent','[SyncedState]:\x20received\x20acknowledgement.','pipe','offline','UNKNOWN_CMD','_waitCount','_transformRemoteChangesetByIMECache','_configService','APPLY_REVISION_CONFILICT','reject','editing\x20status\x20changed\x20to','_clearRedo','clone','members$','LIVESHARE_TERMINATE','Encryptor','[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.','format','objectType','UNAUTHENTICATED','image/gif','registerHTTPInterceptor','_toggleOnline','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','parse','sendChangesetTimeout','_getDownloadEndpointURL','UNIVER_SHEET','range','uploadFileServerUrl','collaMsg','_collaborationTimeoutTimer','dispose','cmd','mutations','_toggleOffline','/universer-api/user/session-ticket','[CollaborationState]:\x20apply\x20error!','USERS_LEAVE','baseRev','LICENSE_MAX_UNITS_EXCEEDED','_unlockTransition','UNIVER_SLIDE','sigBytes','SOCKET_FAILED','_onJoinRoomEvent','LEAVE','/universer-api/snapshot','append','m2Prime','reverse','1074JKBtGz','PERMISSION_DENIED','UUID','stopTime','_telemetryService','_transformUndoredo','location','_incrementRevisionNumber','__Key__','key','MSG_FOR_ERROR','/object','userID','_transformService','MOBILE_HAS_BEEN_BOUND','extend','disposeWithMe','localeService','capture','clamp','_transformRemoteChangesetByStateCache','_createInitialStateImpl','image/bmp','COMPRESS_MUTATION_APPLY','getTypeOfUnitAdded$','_updateStatus','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','entityInit$','keySize','emitEvent','getMember','_replaceFileID','duration','YUUMI_SUBSCRIPTION_NOT_FOUND','PasswordBasedCipher','csRejEvent','_commandService','enableOfflineEditing','[CollaborationSession]','params','UserProfileImg','onRemoteAck','subUnitId','_invKeySchedule','/fetchmissing?from=','LIVESHARE_NEW_HOST','_compressMutationService','enableCollaboration','readInt32LE','_isPermissionRej','CONFLICT','setCurrentUser','YUUMI_NO_CUBOID_FOR_QUESTION','dispose$','_parse','OTHER_CLIENTS_EDITING','close$','x-univer-host','[OfflineState]:\x20received\x20rejection.','SUBMIT_CHANGESET_TIMEOUT','_initUnitPermissionChange','Utf8','random','HmacSHA1','_iKey','getConfig','Base64','SUBMIT_CHANGESET','hasher','_state','LICENSE_IMPORT_SIZE_EXCEEDED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ALREADY_EXISTS','131065rAfXZI','byteLength','PENDING','\x0aCurrent:\x20','CLOSE_ROOM','onTransformState','_commentUpdate$','_revisionService','_commentService','\x20-\x20','getResourcesRequest','_getCurrentRevision','ENSURE_SNAPSHOT_EXECUTION','reqId','_disableEditing','responseType','_checkMissing','socket\x20open.','MUTATION','People','getCurrentSelections','unitID','SYNCED','decryptBlock','NoPadding','_onRemoteRejected','_oKey','CipherParams','CHANGESET_REVISION_CONFILICT','default','_shouldReportTelemetry','SNAPSHOT_HAS_BEEN_REMOVED','removeMember','prototype','liveShareOperation','[OfflineState]:\x20received\x20changeset.','addImageSourceCache','abs','hasOwnProperty','39851XNELtk','msCrypto','auth.needGotoLoginAlert','_candidateSocket','_unitID','ONLINE','withCredentials','ERROR_IMAGE_TYPE','randomBytes','AES','_tryReconnect','/universer-api/oidc/authpage','readAsDataURL','[PendingState]:\x20unhandled\x20univer\x20type:\x20','join','csShouldRetryEvent','_socketReady','getCollabEntity$','[CollaborationUndoRedoService]','?url=','has','localCacheService','getOwnPropertyDescriptor','unknown','loadUnit','updateCursorEvent','requestParams','collaboration-client.config','COMPLETION_FINISHED','_queuedRemoteChangesets','updateCollaborator','now','getRoom','kdf','_updateState','_clearRetryConnectingTimer','/allowed','1017075bKEblH','hostname','\x0aAfter:\x20','charCodeAt','_createHandler','_doReset','session','UNIVER_PROJECT','JOIN_ROOM_PERMISSION_DENIED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_substituteUndoStack','status$','size','list','onStateChange','getUnitOnRev','Hasher','_fetchMissChangesets','onRemoteRej','words','RECV','socketService','OTHER_CLIENT_EDITING','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_onRemoteRetry','blockSize','_entities','memberID','[UniverCollaborationClientPlugin]','_data','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','delete','getInterceptPoints','_handler','onSyncEditingCollabCursor','getSnapshotAPIPath','lib','_hash','&to=','subscribe','getValue','_initDependencies','includes','loadUnitOfRevision','onCommandExecuted','saveSnapshot','defineProperty','_lockTransition','repeat','_onFetchMissResult','_sendHeartbeat','_doCreateSocket','c1Prime','_roomMembers','Decryptor','length','_resendWithTimeout','JOIN_ROOM_NOT_EXISTS','_singleActiveUnitService','forEach','_syncEditingCollabCursor','transformMutationsWithChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_state$','getSheetBlock','_awaitingChangeset','batchAllowed','confirm','getUnitId','getImageSourceCache','stringify','map','mode','substr','_showConflictNotification','_transformStateCache','CHANGESET_ACK','isArray','_undoRedoService','_onUserLeave','_getSendChangesetTimeout','newCsEvent','_key','EMAIL_VERIFY_CODE_MISMATCH','_onUserJoin','collaboration_new_changeset','_nRounds','image/jpg','href','onTransformSelections','resend','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_scheduleCompleteTimestamp','SHOULD_CLOSE_CONN','INTERNAL_ERROR','onlyLocal','_pendingMutations','ceil','iterations','result','PERMISSION_REJ','COMMENT_UPDATE','LICENSE_DISTRO_REJECTED','awaiting_with_pending','state$','YUUMI_UNABLE_LOAD_URL','_prevBlock','objectID','_emitMembers','/-/object/list','body','INVALID_INVITE_CODE','textRanges','_onConnectionOpen','permissionRejEvent','unitId','signUrlServerUrl','StreamCipher','_handlerCallback','fromCharCode','_eventService','_httpService','getWorkbookSelections','INVITE_CODE_ALREADY_BOUND','1576671DpVwpv','type','_socket$','FETCH_MISSING','NEW_CHANGESETS','BlockCipher','_transformSelections','entries','url','APPLY_PERMISSION_DENIED','_permissionService','TOO_MANY_REQUESTS','SOCKET_FAILED_RETRY','create','event$','getTime','_startCollaboration','saveSheetBlock','collaborators','/universer-api/snapshot/','JOIN_ROOM_FULL','FAIL','sheets','eventID','_snapshotServerService','collaboration-client.local-cache-service','_substituteRedoStack','_retryConnectingTimer','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getUnitType','isPermissionRej','post','replace','Univer','WECHAT_HAS_BEEN_BOUND','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','mixIn','formatter','3167512MADcWF','reconnect','headers','AWAITING','NO_OTHER_CLIENTS_EDITING','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','synced','enc','UNIVER_DOC','save\x20fail\x20reason\x20is\x20','addHandlerCallback','_onRemoteACK','snapshot','HEARTBEAT','_initMergeInterceptor','createInstance','session.join-failed','retryConnectingInterval','_transitionLocked','_nDataBytes','encrypt','__esModule','_clearTimeoutTimer','HMAC','failed\x20to\x20apply\x20missed\x20changesets!','WordArray','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','startTime','avatar','fromCollab','startsWith','_ENC_XFORM_MODE','find','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','leaveEvent','getRandomValues','_socket','BufferedBlockAlgorithm','[CollaborationSessionService]','copyFileMeta','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','closeSession','onTransformRemoteChangesetByStateCache','CHANGESET_REJ','APPLY_NON_SEQUENTIAL_REVISION','_clearScheduledTask','GLOBAL_ROOMS_CNT_EXCEEDS','UNIVER_UNKNOWN','PERSON','_removeRoom','waitForRoom$','USERS_ENTER','SNAPSHOT_INVALID_SNAPSHOT','crypto','_updateLocalCache','YUUMI_URL_COL_OUT_OF_RANGE','commentUpdate$','file','[CollaborationSessionService]:\x20socket\x20error','open$','_onLocalMutation','function','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ERROR_EXCEED_SIZE','IDLE','_socketMessageSubscription','close','change$','11054061ZbWEbI','_univerInstanceService','DEFAULT_FILE_NAME','compute','toString','HmacMD5','/role','onStarting','objectActions','sid','APPLY_REJECT','_memberService','YUUMI_ASYNCIO_CANCELLED','_sender','debug','NOT_FOUND','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_getAPIPrefixPath','sessionStatus$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/resources','roles','get','_changesetReqId','filter','code','[CollaborationEntity]','UnitSnapshot','transformChangesets','&assign=','SHA1','LIVESHARE_OPERATION','_executeRemoteChangeset','_schedule','deepClone','putCollaborators','sin','_getLoginPath','byteOffset','OpenSSL','_DEC_XFORM_MODE','add','onTransformRemoteChangesetByIMECache','_decreaseWaiting','_cipher','_entityInit$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','push','state','/rev/','univer-pro.collaboration-client-socket-service','_timeoutTimer','Base','clear','LIVESHARE_REQUEST_HOST','UNRECOGNIZED','_joinRoom','_tryEnsureSocket','8xEhbFJ','_resendTimeout','?size=','createSocket','not_collab','_rescheduleHeartbeat','changesets','_doCryptBlock','onload','_changesetSessionId','_roomCreated$','setConfig','SerializableCipher','originalMeta','unpad','onCommentUpdate','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','updateSnapshot','_config','getSheetId','_collaborationPaused','_transformStack','_logService','workbook','unitId\x20is\x20not\x20found','ERROR_IMAGE','JOIN_ROOM_FAILED','collaboratorID','/universer-api/authz','salt','set','UPDATE_CURSOR','slice','_submitChangeset','_onCombEvent','JOIN','_snapshotService','onRemoteChangeset','getUnitStatus$','allowed','getTypeOfUnitDisposed$','loginUrlKey','_getSignURL','infoRsp','LOGIN_FAILED','YUUMI_RATE_OVER_LIMIT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getLatestCsReqIdBySid','updatePermissionPoint','_remoteChangesetQueue','_injector','_getUndoStack','Undefined','_stopTelemetryCollaborationNewChangeset','fetch_missing','update','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','put','_process','getFocusedUnit','session.room-not-exists','_waitForHeartbeatResponse','max','_socketService','_createSocket','override','/universer-api/comb','_localCacheService','_doProcessBlock','_listenToNetworkCondition','USER_NOT_INVITED_CODE','_replayCachedMutations','_unitInfo$','updateOfflineData','PY_RUNTIME_SCRIPT_ERROR','unsubscribe','padding','_init','_event$','_sendHeartbeatTimer','status','_telemetryInfo','actions','_minBufferSize','_createHelper','selections','NOT_COLLAB','splice','OPTIONAL','_onConflict','/block/','HttpExport','_userManagerService','conflict','__creator','_clearCollaborationTimeoutTimer','executeCommand','_status$','YUUMI_CONNECTOR_URL_NOT_FOUND','floor','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','compose','_members$','UnitEmbedded','string','Cipher','/collaborator','INVITE_CODE_HAS_BEEN_UES','joinEvent','routeKey','PSEUDO_FETCH_MISSING_RESULT','onRemoteRetry','_getAPIPrefix','fetchMiss','_getCtorByUniverType','charAt','loadSheet','_xformMode','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','next','downloadEndpointUrl','transformUndoRedo','FETCH_MISS','MOBILE_VERIFY_CODE_MISMATCH','getCurrentRevOfUnit','MD5','_instanceService','_throwTelemetryCollaborationNewChangeset','onSendChangeset','EMAIL_HAS_BEEN_BOUND','getCollabEntity','JOINING','20504850OzEStQ','listCollaborators','ivSize','c2Prime','revision','encode','_iv','$super','shouldCloseConn','{fileID}','UNISCRIPT_RUN','_reverseMap','_clearHeartbeatTimer','socket$','requireSession','BASE64','UNIVER_COLLABORATION_CLIENT_PLUGIN','/object/','pad','_append','[DataLoaderService]','pending','[PendingState]:\x20received\x20rejection.','complete','_onOffline','LIVESHARE_FETCH_OPERATIONS','liveShareNewHost','updateMember','_localeService','_HTTPService','_sendingTimer','Malformed\x20UTF-8\x20data','ws://127.0.0.1:8000/universer-api/comb/connect','fetchThroughInterceptors','_collaborationSessionService','CBC','encodeURIComponent','setShowComponents','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','authzUrl','_doFinalize','finalize','interceptor','send','sessionStatus','_initCloseConn','_sessions','setWaitCount','reset','_keyPriorReset','/unit/','title','processBlock','rev','session.room-cnt-exceeds','_sheetTransformSelectionsService','ciphertext','/universer-api/stream/file/upload','session.room-permission-denied','apply','_mode','onLocalMutation','target','submit\x20changeset\x20error!','HEARTBEAT_TIMEOUT','YUUMI_ALL_TABLES_IS_INVALID','concat','YUUMI_AI_RUN_FAILED','getCurrentUser','buffer','cfg','_members','COMPRESS_MUTATION_SEND','_map','catch','_transformIMECache','error','collabWebSocketUrl','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','INGEST','_imageSourceCache','/universer-api/uniscript','connection\x20error','loadOfflineData','INVALID_ARGUMENT','method','resolve','awaitingChangeset','_type','EvpKDF','transformSelections','asObservable'];_0x25dc=function(){return _0x4b7c23;};return _0x25dc();}let rt=class{constructor(_0xc6b917,_0x5a5888,_0x23aa75){var _0x557c69=_0x48e815;this[_0x557c69(0x35d)]=_0xc6b917,this[_0x557c69(0x182)]=_0x5a5888,this[_0x557c69(0x39a)]=_0x23aa75,this['init']();}['init'](){var _0x4f1d46=_0x48e815;this[_0x4f1d46(0x182)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2e2c57,_0x5b3a14)=>_0x5b3a14(_0x2e2c57)[_0x4f1d46(0x358)](_0x91ec1a(async _0xee156d=>{var _0x57e4af=_0x4f1d46;const _0x3be90b=_0xee156d;if(_0x3be90b[_0x57e4af(0x279)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x57e4af(0x461)](this[_0x57e4af(0x39a)]['t'](_0x57e4af(0x3fb)))){const _0x242acf=window[_0x57e4af(0x2d1)](window[_0x57e4af(0x38f)][_0x57e4af(0x476)]);window[_0x57e4af(0x38f)]['href']=this[_0x57e4af(0x214)]()+_0x57e4af(0x40c)+_0x242acf;}}return _0x3be90b;}))});}[_0x48e815(0x214)](){var _0x47acd3=_0x48e815,_0x135449;const _0x28211f=this['_configService'][_0x47acd3(0x3ca)](K);return(_0x135449=_0x28211f==null?void 0x0:_0x28211f[_0x47acd3(0x252)])!=null?_0x135449:Rs;}};rt=sn([dt(0x0,_0x1354c0),dt(0x1,_0xe5fc48(_0x5beaf6)),dt(0x2,_0xe5fc48(_0x5c87f7))],rt);var nn=Object[_0x48e815(0x40f)],rn=(_0x3d51c5,_0x4ad5a7,_0x381bf5,_0x3d9699)=>{var _0x1ae773=_0x48e815;for(var _0x2d787c=_0x3d9699>0x1?void 0x0:_0x3d9699?nn(_0x4ad5a7,_0x381bf5):_0x4ad5a7,_0x34b8c2=_0x3d51c5[_0x1ae773(0x455)]-0x1,_0x3ba8cb;_0x34b8c2>=0x0;_0x34b8c2--)(_0x3ba8cb=_0x3d51c5[_0x34b8c2])&&(_0x2d787c=_0x3ba8cb(_0x2d787c)||_0x2d787c);return _0x2d787c;},Kt=(_0x5e1754,_0x2e9737)=>(_0x324def,_0x2d2648)=>_0x2e9737(_0x324def,_0x2d2648,_0x5e1754);const an=_0x48e815(0x245);let Tt=class extends _0x316736{constructor(_0x3e9dcd,_0x294ca1){var _0x2fc51a=_0x48e815;super(),this['_HTTPService']=_0x3e9dcd,this[_0x2fc51a(0x35d)]=_0x294ca1,this[_0x2fc51a(0x1b9)]();}[_0x48e815(0x1b9)](){var _0x29d1d6=_0x48e815;const _0x45a613=this;this[_0x29d1d6(0x399)](this[_0x29d1d6(0x2ca)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2ce875({'isMatch'(_0x45af32){var _0x3a52f3=_0x29d1d6,_0x34c8c9;if(_0x45af32[_0x3a52f3(0x302)]===_0x3a52f3(0x329)&&((_0x34c8c9=_0x45af32[_0x3a52f3(0x413)])!=null&&_0x34c8c9[_0x3a52f3(0x177)])){const {objectID:_0x4a676d,objectType:_0x27966d}=_0x45af32['requestParams'][_0x3a52f3(0x177)]||{};if(!_0x4a676d||_0x27966d===void 0x0)return!0x1;const _0x4c4c33=_0x45a613[_0x3a52f3(0x200)]()+'/'+_0x27966d+_0x3a52f3(0x2be)+_0x4a676d+_0x3a52f3(0x41d);if(_0x45af32[_0x3a52f3(0x18d)]===_0x4c4c33)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2970e6){var _0x67be2f=_0x29d1d6,_0x15f00a;return(_0x15f00a=_0x2970e6['requestParams'])==null?void 0x0:_0x15f00a[_0x67be2f(0x177)];},'mergeParamsToRequest'(_0x2ade07,_0x18d001){var _0x298025=_0x29d1d6;const _0xf74d55=_0x45a613[_0x298025(0x200)]()+_0x298025(0x316),_0x2044af=_0x2ade07['reduce']((_0x51d839,_0xfd6fcb)=>{var _0x5a1907=_0x298025;const {unitID:_0x3d750f,objectID:_0x44f680,objectType:_0x431a0b,actions:_0x293029}=_0xfd6fcb;return _0x51d839[_0x3d750f]||(_0x51d839[_0x3d750f]={}),_0x51d839[_0x3d750f][_0x44f680]||(_0x51d839[_0x3d750f][_0x44f680]={'objectID':_0x44f680,'objectType':_0x431a0b,'actions':[]}),_0x51d839[_0x3d750f][_0x44f680][_0x5a1907(0x27b)][_0x5a1907(0x21e)](..._0x293029),_0x51d839;},{}),_0x1ca36a=[];for(const _0x1adaba in _0x2044af)for(const _0x253506 in _0x2044af[_0x1adaba]){const {actions:_0x15a0ed,objectType:_0x73888e}=_0x2044af[_0x1adaba][_0x253506],_0x3d2dd1=[...new Set(_0x15a0ed)];_0x1ca36a[_0x298025(0x21e)]({'unitID':_0x1adaba,'objectID':_0x253506,'objectType':_0x73888e,'actions':_0x3d2dd1});}return new _0x404005('POST',_0xf74d55,{'headers':_0x18d001[_0x298025(0x1ad)],'withCredentials':_0x18d001[_0x298025(0x3ff)],'responseType':_0x18d001[_0x298025(0x3e1)],'body':{'requests':_0x1ca36a}});}},{'distributeResult'(_0xc00966,_0x5cce51){var _0x3d51f9=_0x29d1d6;const {objectActions:_0x260bcc}=_0xc00966;return _0x5cce51[_0x3d51f9(0x465)](_0x4eca87=>{var _0x48ce7d=_0x3d51f9;const {unitID:_0x3731ff,objectID:_0x1cc4ec,actions:_0x217ff9}=_0x4eca87,_0x3027c0=_0x260bcc[_0x48ce7d(0x1cb)](_0x55c10c=>_0x55c10c[_0x48ce7d(0x3e7)]===_0x3731ff&&_0x55c10c['objectID']===_0x1cc4ec),_0x1f431e=_0x217ff9[_0x48ce7d(0x465)](_0x2481e5=>_0x3027c0==null?void 0x0:_0x3027c0['actions']['find'](_0x56fb4f=>_0x56fb4f['action']===_0x2481e5))['filter'](_0x497250=>!!_0x497250);return{'config':_0x4eca87,'result':{'actions':_0x1f431e,'error':_0xc00966[_0x48ce7d(0x2f9)]}};});}})}));}['_getAPIPrefixPath'](){var _0x27fb9f=_0x48e815,_0x14492e;const _0x56e77e=this['_configService']['getConfig'](K);return(_0x14492e=_0x56e77e==null?void 0x0:_0x56e77e[_0x27fb9f(0x2d4)])!=null?_0x14492e:an;}async['create'](_0x5f24c7){var _0x214d2b=_0x48e815;const _0x411d25=this['_getAPIPrefixPath']()+'/'+_0x5f24c7[_0x214d2b(0x368)]+_0x214d2b(0x394);return(await this[_0x214d2b(0x2ca)][_0x214d2b(0x1a4)](_0x411d25,{'body':_0x5f24c7}))[_0x214d2b(0x177)]['objectID']||'';}async['list'](_0xd6ba1f){var _0x572791=_0x48e815;const _0x250a82=this[_0x572791(0x200)]()+_0x572791(0x176);return(await this[_0x572791(0x2ca)][_0x572791(0x1a4)](_0x250a82,{'body':_0xd6ba1f}))[_0x572791(0x177)]['objects'];}async[_0x48e815(0x260)](_0x2cfb51){var _0x4a3181=_0x48e815,_0x38a965,_0x2486a0;const _0x329a3d=this[_0x4a3181(0x200)]()+'/'+_0x2cfb51[_0x4a3181(0x368)]+'/object/'+_0x2cfb51[_0x4a3181(0x174)],_0x285ae3=await this['_HTTPService'][_0x4a3181(0x262)](_0x329a3d,{'body':_0x2cfb51});if(((_0x2486a0=(_0x38a965=_0x285ae3==null?void 0x0:_0x285ae3[_0x4a3181(0x177)])==null?void 0x0:_0x38a965[_0x4a3181(0x2f9)])==null?void 0x0:_0x2486a0['code'])!==0x1)throw new Error(_0x4a3181(0x328));}async[_0x48e815(0x250)](_0x1f8435){var _0x21d2f6=_0x48e815;const _0x4f97eb=this['_getAPIPrefixPath']()+'/'+_0x1f8435[_0x21d2f6(0x368)]+_0x21d2f6(0x2be)+_0x1f8435[_0x21d2f6(0x174)]+_0x21d2f6(0x41d);return(await this[_0x21d2f6(0x2ca)][_0x21d2f6(0x1a4)](_0x4f97eb,{'body':_0x1f8435}))[_0x21d2f6(0x177)][_0x21d2f6(0x27b)];}async[_0x48e815(0x460)](_0x2941fc){var _0xbea640=_0x48e815;const _0xaac1e=this['_getAPIPrefixPath']()+_0xbea640(0x316);return(await this['_HTTPService'][_0xbea640(0x1a4)](_0xaac1e,{'body':{'requests':_0x2941fc}}))[_0xbea640(0x177)][_0xbea640(0x1f7)];}async['listRoles'](_0x353848){var _0x2aa0fa=_0x48e815;const _0x33fcb7=this[_0x2aa0fa(0x200)]()+'/'+_0x353848['objectType']+_0x2aa0fa(0x1f5),_0x589e10=await this[_0x2aa0fa(0x2ca)][_0x2aa0fa(0x1a4)](_0x33fcb7,{'body':_0x353848});return{'roles':_0x589e10[_0x2aa0fa(0x177)][_0x2aa0fa(0x204)],'actions':_0x589e10['body'][_0x2aa0fa(0x27b)]};}async['deleteCollaborator'](_0x52e2a5){var _0x2bb6f2=_0x48e815;const _0x37ccad=this['_getAPIPrefixPath']()+_0x2bb6f2(0x293);await this[_0x2bb6f2(0x2ca)][_0x2bb6f2(0x43d)](_0x37ccad,{'params':{'collaboratorID':_0x52e2a5[_0x2bb6f2(0x244)],'objectID':_0x52e2a5['objectID'],'unitID':_0x52e2a5[_0x2bb6f2(0x3e7)]}});}async[_0x48e815(0x417)](_0x30e797){var _0x4886ee=_0x48e815;const _0x1f597e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x4886ee(0x2ca)]['patch'](_0x1f597e,{'body':_0x30e797});}async[_0x48e815(0x313)](_0x33b5a0){var _0x2cbec6=_0x48e815;const _0x59b8d8=this[_0x2cbec6(0x200)]()+_0x2cbec6(0x293);await this[_0x2cbec6(0x2ca)][_0x2cbec6(0x1a4)](_0x59b8d8,{'body':_0x33b5a0});}async[_0x48e815(0x2ae)](_0x838f7c){var _0x1caa39=_0x48e815;const _0x42a8bf=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x1caa39(0x2ca)][_0x1caa39(0x205)](_0x42a8bf,{'params':{'objectID':_0x838f7c['objectID'],'unitID':_0x838f7c[_0x1caa39(0x3e7)]}}))[_0x1caa39(0x177)]['collaborators'];}async[_0x48e815(0x212)](_0x316e19){var _0x218f50=_0x48e815;const _0x33f847=this[_0x218f50(0x200)]()+'/collaborator';await this[_0x218f50(0x2ca)][_0x218f50(0x262)](_0x33f847,{'body':_0x316e19});}};Tt=rn([Kt(0x0,_0xe5fc48(_0x5beaf6)),Kt(0x1,_0xe5fc48(_0x1354c0))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1b89b2){var _0x681086=_0x48e815;return _0x1b89b2&&_0x1b89b2[_0x681086(0x1c0)]&&Object[_0x681086(0x3f3)][_0x681086(0x3f8)][_0x681086(0x31b)](_0x1b89b2,_0x681086(0x3ef))?_0x1b89b2['default']:_0x1b89b2;}var Ve={'exports':{}};function on(_0xda2dca){var _0x352423=_0x48e815;throw new Error(_0x352423(0x32c)+_0xda2dca+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We[_0x48e815(0x309)],qt;function te(){var _0x2676ae=_0x48e815;return qt||(qt=0x1,function(_0x48bea0,_0x420671){(function(_0x27ae50,_0x5a7a0f){var _0x455f78=_0x5b1d;_0x48bea0[_0x455f78(0x309)]=_0x5a7a0f();}(cn,function(){var _0x278360=_0x278360||function(_0x204149,_0x509b3d){var _0x27084b=_0x5b1d,_0x2e0fe6;if(typeof window<'u'&&window[_0x27084b(0x1e0)]&&(_0x2e0fe6=window[_0x27084b(0x1e0)]),typeof self<'u'&&self[_0x27084b(0x1e0)]&&(_0x2e0fe6=self['crypto']),typeof globalThis<'u'&&globalThis[_0x27084b(0x1e0)]&&(_0x2e0fe6=globalThis[_0x27084b(0x1e0)]),!_0x2e0fe6&&typeof window<'u'&&window[_0x27084b(0x3fa)]&&(_0x2e0fe6=window[_0x27084b(0x3fa)]),!_0x2e0fe6&&typeof ft<'u'&&ft['crypto']&&(_0x2e0fe6=ft['crypto']),!_0x2e0fe6&&typeof on=='function')try{_0x2e0fe6=require('crypto');}catch{}var _0x46d68f=function(){var _0x5b50fa=_0x27084b;if(_0x2e0fe6){if(typeof _0x2e0fe6[_0x5b50fa(0x1ce)]==_0x5b50fa(0x1e8))try{return _0x2e0fe6['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2e0fe6[_0x5b50fa(0x401)]==_0x5b50fa(0x1e8))try{return _0x2e0fe6[_0x5b50fa(0x401)](0x4)[_0x5b50fa(0x3b9)]();}catch{}}throw new Error(_0x5b50fa(0x1a8));},_0x242319=Object[_0x27084b(0x192)]||(function(){function _0xa525d8(){}return function(_0xc075ba){var _0x330c8a=_0x5b1d,_0x66ba08;return _0xa525d8[_0x330c8a(0x3f3)]=_0xc075ba,_0x66ba08=new _0xa525d8(),_0xa525d8[_0x330c8a(0x3f3)]=null,_0x66ba08;};}()),_0x6adc36={},_0x4e267f=_0x6adc36[_0x27084b(0x442)]={},_0x3c6f8b=_0x4e267f[_0x27084b(0x223)]=(function(){return{'extend':function(_0x199bad){var _0x453ab4=_0x5b1d,_0xacd656=_0x242319(this);return _0x199bad&&_0xacd656[_0x453ab4(0x1a9)](_0x199bad),(!_0xacd656['hasOwnProperty'](_0x453ab4(0x32e))||this[_0x453ab4(0x32e)]===_0xacd656[_0x453ab4(0x32e)])&&(_0xacd656[_0x453ab4(0x32e)]=function(){var _0x40860c=_0x453ab4;_0xacd656[_0x40860c(0x2b4)]['init'][_0x40860c(0x2e8)](this,arguments);}),_0xacd656[_0x453ab4(0x32e)][_0x453ab4(0x3f3)]=_0xacd656,_0xacd656[_0x453ab4(0x2b4)]=this,_0xacd656;},'create':function(){var _0x4ce220=_0x5b1d,_0x16aeb5=this[_0x4ce220(0x398)]();return _0x16aeb5[_0x4ce220(0x32e)][_0x4ce220(0x2e8)](_0x16aeb5,arguments),_0x16aeb5;},'init':function(){},'mixIn':function(_0x56520d){var _0x4d277f=_0x5b1d;for(var _0x2612e2 in _0x56520d)_0x56520d['hasOwnProperty'](_0x2612e2)&&(this[_0x2612e2]=_0x56520d[_0x2612e2]);_0x56520d[_0x4d277f(0x3f8)](_0x4d277f(0x1f3))&&(this[_0x4d277f(0x1f3)]=_0x56520d[_0x4d277f(0x1f3)]);},'clone':function(){var _0x2c8f2c=_0x5b1d;return this['init']['prototype'][_0x2c8f2c(0x398)](this);}};}()),_0x38ef6a=_0x4e267f[_0x27084b(0x1c4)]=_0x3c6f8b[_0x27084b(0x398)]({'init':function(_0x444205,_0x42f2c2){var _0x10f577=_0x27084b;_0x444205=this[_0x10f577(0x431)]=_0x444205||[],_0x42f2c2!=_0x509b3d?this[_0x10f577(0x381)]=_0x42f2c2:this['sigBytes']=_0x444205[_0x10f577(0x455)]*0x4;},'toString':function(_0x42846a){return(_0x42846a||_0xf84550)['stringify'](this);},'concat':function(_0x2f746b){var _0x3a9a2b=_0x27084b,_0x42a04c=this[_0x3a9a2b(0x431)],_0xa69098=_0x2f746b[_0x3a9a2b(0x431)],_0x1ae325=this['sigBytes'],_0x5ed027=_0x2f746b[_0x3a9a2b(0x381)];if(this[_0x3a9a2b(0x39c)](),_0x1ae325%0x4)for(var _0x4ef48c=0x0;_0x4ef48c<_0x5ed027;_0x4ef48c++){var _0x89601d=_0xa69098[_0x4ef48c>>>0x2]>>>0x18-_0x4ef48c%0x4*0x8&0xff;_0x42a04c[_0x1ae325+_0x4ef48c>>>0x2]|=_0x89601d<<0x18-(_0x1ae325+_0x4ef48c)%0x4*0x8;}else{for(var _0x23547b=0x0;_0x23547b<_0x5ed027;_0x23547b+=0x4)_0x42a04c[_0x1ae325+_0x23547b>>>0x2]=_0xa69098[_0x23547b>>>0x2];}return this['sigBytes']+=_0x5ed027,this;},'clamp':function(){var _0x2ac25c=_0x27084b,_0x3eb69d=this[_0x2ac25c(0x431)],_0x20746e=this['sigBytes'];_0x3eb69d[_0x20746e>>>0x2]&=0xffffffff<<0x20-_0x20746e%0x4*0x8,_0x3eb69d[_0x2ac25c(0x455)]=_0x204149[_0x2ac25c(0x47f)](_0x20746e/0x4);},'clone':function(){var _0x25d345=_0x27084b,_0x1902f5=_0x3c6f8b[_0x25d345(0x362)][_0x25d345(0x31b)](this);return _0x1902f5['words']=this[_0x25d345(0x431)]['slice'](0x0),_0x1902f5;},'random':function(_0x5d97f0){var _0x28efb5=_0x27084b;for(var _0x48b8ac=[],_0x455203=0x0;_0x455203<_0x5d97f0;_0x455203+=0x4)_0x48b8ac[_0x28efb5(0x21e)](_0x46d68f());return new _0x38ef6a[(_0x28efb5(0x32e))](_0x48b8ac,_0x5d97f0);}}),_0x208b8d=_0x6adc36[_0x27084b(0x1b2)]={},_0xf84550=_0x208b8d[_0x27084b(0x331)]={'stringify':function(_0x4d1ae2){var _0x2c6ddd=_0x27084b;for(var _0x293942=_0x4d1ae2[_0x2c6ddd(0x431)],_0xf31897=_0x4d1ae2['sigBytes'],_0x41e749=[],_0x26d209=0x0;_0x26d209<_0xf31897;_0x26d209++){var _0x198a20=_0x293942[_0x26d209>>>0x2]>>>0x18-_0x26d209%0x4*0x8&0xff;_0x41e749[_0x2c6ddd(0x21e)]((_0x198a20>>>0x4)[_0x2c6ddd(0x1f3)](0x10)),_0x41e749['push']((_0x198a20&0xf)[_0x2c6ddd(0x1f3)](0x10));}return _0x41e749[_0x2c6ddd(0x407)]('');},'parse':function(_0x1cb691){var _0x66d09a=_0x27084b;for(var _0x466368=_0x1cb691[_0x66d09a(0x455)],_0x1ca2f2=[],_0x5114dd=0x0;_0x5114dd<_0x466368;_0x5114dd+=0x2)_0x1ca2f2[_0x5114dd>>>0x3]|=parseInt(_0x1cb691[_0x66d09a(0x467)](_0x5114dd,0x2),0x10)<<0x18-_0x5114dd%0x8*0x4;return new _0x38ef6a[(_0x66d09a(0x32e))](_0x1ca2f2,_0x466368/0x2);}},_0x27b047=_0x208b8d['Latin1']={'stringify':function(_0x23f092){var _0x53c894=_0x27084b;for(var _0x422c25=_0x23f092[_0x53c894(0x431)],_0x4e3198=_0x23f092[_0x53c894(0x381)],_0x461d86=[],_0x1ea5fb=0x0;_0x1ea5fb<_0x4e3198;_0x1ea5fb++){var _0x212117=_0x422c25[_0x1ea5fb>>>0x2]>>>0x18-_0x1ea5fb%0x4*0x8&0xff;_0x461d86[_0x53c894(0x21e)](String[_0x53c894(0x180)](_0x212117));}return _0x461d86[_0x53c894(0x407)]('');},'parse':function(_0x24273c){var _0x267cf=_0x27084b;for(var _0x2a3212=_0x24273c[_0x267cf(0x455)],_0x213781=[],_0x9e85a5=0x0;_0x9e85a5<_0x2a3212;_0x9e85a5++)_0x213781[_0x9e85a5>>>0x2]|=(_0x24273c[_0x267cf(0x421)](_0x9e85a5)&0xff)<<0x18-_0x9e85a5%0x4*0x8;return new _0x38ef6a[(_0x267cf(0x32e))](_0x213781,_0x2a3212);}},_0x312ff7=_0x208b8d[_0x27084b(0x3c6)]={'stringify':function(_0x2c7ec5){var _0x10bf74=_0x27084b;try{return decodeURIComponent(escape(_0x27b047[_0x10bf74(0x464)](_0x2c7ec5)));}catch{throw new Error(_0x10bf74(0x2cc));}},'parse':function(_0x3ed714){var _0x464526=_0x27084b;return _0x27b047[_0x464526(0x36e)](unescape(encodeURIComponent(_0x3ed714)));}},_0x1c3b44=_0x4e267f[_0x27084b(0x1d0)]=_0x3c6f8b['extend']({'reset':function(){var _0x49bffc=_0x27084b;this['_data']=new _0x38ef6a[(_0x49bffc(0x32e))](),this[_0x49bffc(0x1be)]=0x0;},'_append':function(_0x238327){var _0x371db1=_0x27084b;typeof _0x238327==_0x371db1(0x291)&&(_0x238327=_0x312ff7[_0x371db1(0x36e)](_0x238327)),this[_0x371db1(0x43b)]['concat'](_0x238327),this[_0x371db1(0x1be)]+=_0x238327[_0x371db1(0x381)];},'_process':function(_0x59ab61){var _0x2b2fa2=_0x27084b,_0x456e4d,_0x5c6552=this[_0x2b2fa2(0x43b)],_0x2e93d9=_0x5c6552[_0x2b2fa2(0x431)],_0x144ce0=_0x5c6552[_0x2b2fa2(0x381)],_0x2423f3=this[_0x2b2fa2(0x437)],_0x4791b0=_0x2423f3*0x4,_0x3c23ff=_0x144ce0/_0x4791b0;_0x59ab61?_0x3c23ff=_0x204149[_0x2b2fa2(0x47f)](_0x3c23ff):_0x3c23ff=_0x204149[_0x2b2fa2(0x267)]((_0x3c23ff|0x0)-this['_minBufferSize'],0x0);var _0x199f64=_0x3c23ff*_0x2423f3,_0x451cc2=_0x204149['min'](_0x199f64*0x4,_0x144ce0);if(_0x199f64){for(var _0x10ecc7=0x0;_0x10ecc7<_0x199f64;_0x10ecc7+=_0x2423f3)this[_0x2b2fa2(0x26d)](_0x2e93d9,_0x10ecc7);_0x456e4d=_0x2e93d9[_0x2b2fa2(0x280)](0x0,_0x199f64),_0x5c6552[_0x2b2fa2(0x381)]-=_0x451cc2;}return new _0x38ef6a['init'](_0x456e4d,_0x451cc2);},'clone':function(){var _0x42b164=_0x27084b,_0x2609d2=_0x3c6f8b[_0x42b164(0x362)][_0x42b164(0x31b)](this);return _0x2609d2['_data']=this['_data'][_0x42b164(0x362)](),_0x2609d2;},'_minBufferSize':0x0});_0x4e267f[_0x27084b(0x42e)]=_0x1c3b44[_0x27084b(0x398)]({'cfg':_0x3c6f8b[_0x27084b(0x398)](),'init':function(_0x5d66eb){var _0x4d6608=_0x27084b;this[_0x4d6608(0x2f3)]=this[_0x4d6608(0x2f3)][_0x4d6608(0x398)](_0x5d66eb),this['reset']();},'reset':function(){var _0x348b14=_0x27084b;_0x1c3b44[_0x348b14(0x2dd)][_0x348b14(0x31b)](this),this[_0x348b14(0x423)]();},'update':function(_0x4ddbfc){var _0x50f369=_0x27084b;return this[_0x50f369(0x2c0)](_0x4ddbfc),this[_0x50f369(0x263)](),this;},'finalize':function(_0x245023){var _0x3f7d34=_0x27084b;_0x245023&&this[_0x3f7d34(0x2c0)](_0x245023);var _0xfa99c=this['_doFinalize']();return _0xfa99c;},'blockSize':0x10,'_createHelper':function(_0x3ba3b1){return function(_0x2f9b92,_0x48f952){var _0x395e1d=_0x5b1d;return new _0x3ba3b1['init'](_0x48f952)[_0x395e1d(0x2d6)](_0x2f9b92);};},'_createHmacHelper':function(_0x57646c){return function(_0x5b68ee,_0x3d826b){var _0x174680=_0x5b1d;return new _0x2cade4[(_0x174680(0x1c2))][(_0x174680(0x32e))](_0x57646c,_0x3d826b)['finalize'](_0x5b68ee);};}});var _0x2cade4=_0x6adc36[_0x27084b(0x30d)]={};return _0x6adc36;}(Math);return _0x278360;}));}(We)),We[_0x2676ae(0x309)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0x36eae8=_0x48e815;return zt||(zt=0x1,function(_0x2ee8b3,_0x3c724a){(function(_0xac4174,_0x259542){_0x2ee8b3['exports']=_0x259542(te());}(hn,function(_0x5ca15a){var _0x565a91=_0x5b1d;return(function(){var _0x5e87a0=_0x5b1d,_0xd2e592=_0x5ca15a,_0x5fb036=_0xd2e592[_0x5e87a0(0x442)],_0x288466=_0x5fb036[_0x5e87a0(0x1c4)],_0xffed93=_0xd2e592['enc'];_0xffed93[_0x5e87a0(0x3cb)]={'stringify':function(_0xd509c9){var _0x19d7ff=_0x5e87a0,_0x43c20d=_0xd509c9[_0x19d7ff(0x431)],_0x305fdb=_0xd509c9[_0x19d7ff(0x381)],_0x318739=this[_0x19d7ff(0x2f6)];_0xd509c9[_0x19d7ff(0x39c)]();for(var _0x4bf07b=[],_0x2118b3=0x0;_0x2118b3<_0x305fdb;_0x2118b3+=0x3)for(var _0x3867b3=_0x43c20d[_0x2118b3>>>0x2]>>>0x18-_0x2118b3%0x4*0x8&0xff,_0xbb0c87=_0x43c20d[_0x2118b3+0x1>>>0x2]>>>0x18-(_0x2118b3+0x1)%0x4*0x8&0xff,_0x894d5a=_0x43c20d[_0x2118b3+0x2>>>0x2]>>>0x18-(_0x2118b3+0x2)%0x4*0x8&0xff,_0x47a85a=_0x3867b3<<0x10|_0xbb0c87<<0x8|_0x894d5a,_0x254c0a=0x0;_0x254c0a<0x4&&_0x2118b3+_0x254c0a*0.75<_0x305fdb;_0x254c0a++)_0x4bf07b[_0x19d7ff(0x21e)](_0x318739[_0x19d7ff(0x29c)](_0x47a85a>>>0x6*(0x3-_0x254c0a)&0x3f));var _0x1e2604=_0x318739[_0x19d7ff(0x29c)](0x40);if(_0x1e2604){for(;_0x4bf07b[_0x19d7ff(0x455)]%0x4;)_0x4bf07b['push'](_0x1e2604);}return _0x4bf07b[_0x19d7ff(0x407)]('');},'parse':function(_0x54ed6a){var _0x57ccdc=_0x5e87a0,_0x106fe9=_0x54ed6a[_0x57ccdc(0x455)],_0x572565=this[_0x57ccdc(0x2f6)],_0xa7b072=this[_0x57ccdc(0x2b8)];if(!_0xa7b072){_0xa7b072=this[_0x57ccdc(0x2b8)]=[];for(var _0xf86822=0x0;_0xf86822<_0x572565[_0x57ccdc(0x455)];_0xf86822++)_0xa7b072[_0x572565[_0x57ccdc(0x421)](_0xf86822)]=_0xf86822;}var _0x719302=_0x572565['charAt'](0x40);if(_0x719302){var _0xf95fa6=_0x54ed6a[_0x57ccdc(0x324)](_0x719302);_0xf95fa6!==-0x1&&(_0x106fe9=_0xf95fa6);}return _0xbb24e8(_0x54ed6a,_0x106fe9,_0xa7b072);},'_map':_0x5e87a0(0x3d0)};function _0xbb24e8(_0x3429dd,_0x2fa3e7,_0x5e9bdf){var _0xe00d3f=_0x5e87a0;for(var _0x7ea6bb=[],_0x306d2a=0x0,_0x4380f4=0x0;_0x4380f4<_0x2fa3e7;_0x4380f4++)if(_0x4380f4%0x4){var _0x8fe6e4=_0x5e9bdf[_0x3429dd[_0xe00d3f(0x421)](_0x4380f4-0x1)]<<_0x4380f4%0x4*0x2,_0x5d00fd=_0x5e9bdf[_0x3429dd[_0xe00d3f(0x421)](_0x4380f4)]>>>0x6-_0x4380f4%0x4*0x2,_0x56c626=_0x8fe6e4|_0x5d00fd;_0x7ea6bb[_0x306d2a>>>0x2]|=_0x56c626<<0x18-_0x306d2a%0x4*0x8,_0x306d2a++;}return _0x288466[_0xe00d3f(0x192)](_0x7ea6bb,_0x306d2a);}}()),_0x5ca15a[_0x565a91(0x1b2)][_0x565a91(0x3cb)];}));}(Ge)),Ge[_0x36eae8(0x309)];}var Ye={'exports':{}},_n=Ye[_0x48e815(0x309)],Jt;function ln(){var _0x505d02=_0x48e815;return Jt||(Jt=0x1,function(_0x37ff5e,_0x293748){(function(_0x5732cc,_0x5c3bc8){var _0x1cd321=_0x5b1d;_0x37ff5e[_0x1cd321(0x309)]=_0x5c3bc8(te());}(_n,function(_0x497987){var _0x5ba169=_0x5b1d;return function(_0x2d95d2){var _0x375cb4=_0x5b1d,_0x315d14=_0x497987,_0x42c15c=_0x315d14[_0x375cb4(0x442)],_0x471d1e=_0x42c15c[_0x375cb4(0x1c4)],_0x2e6bc2=_0x42c15c[_0x375cb4(0x42e)],_0x28fb22=_0x315d14[_0x375cb4(0x30d)],_0x4537d2=[];(function(){var _0x157510=_0x375cb4;for(var _0x4362da=0x0;_0x4362da<0x40;_0x4362da++)_0x4537d2[_0x4362da]=_0x2d95d2[_0x157510(0x3f7)](_0x2d95d2[_0x157510(0x213)](_0x4362da+0x1))*0x100000000|0x0;}());var _0x481128=_0x28fb22[_0x375cb4(0x2a6)]=_0x2e6bc2[_0x375cb4(0x398)]({'_doReset':function(){var _0xe30bfe=_0x375cb4;this[_0xe30bfe(0x443)]=new _0x471d1e[(_0xe30bfe(0x32e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4bbfb6,_0x3690b2){var _0xafa549=_0x375cb4;for(var _0x444a4c=0x0;_0x444a4c<0x10;_0x444a4c++){var _0x1942de=_0x3690b2+_0x444a4c,_0x674e5d=_0x4bbfb6[_0x1942de];_0x4bbfb6[_0x1942de]=(_0x674e5d<<0x8|_0x674e5d>>>0x18)&0xff00ff|(_0x674e5d<<0x18|_0x674e5d>>>0x8)&0xff00ff00;}var _0x3e6a4d=this[_0xafa549(0x443)][_0xafa549(0x431)],_0x1e5954=_0x4bbfb6[_0x3690b2+0x0],_0x40f7a0=_0x4bbfb6[_0x3690b2+0x1],_0x252ae7=_0x4bbfb6[_0x3690b2+0x2],_0x7f255=_0x4bbfb6[_0x3690b2+0x3],_0x335b4a=_0x4bbfb6[_0x3690b2+0x4],_0x20cea4=_0x4bbfb6[_0x3690b2+0x5],_0x4cefe1=_0x4bbfb6[_0x3690b2+0x6],_0x17ae5f=_0x4bbfb6[_0x3690b2+0x7],_0x560327=_0x4bbfb6[_0x3690b2+0x8],_0x4c436b=_0x4bbfb6[_0x3690b2+0x9],_0x21e31f=_0x4bbfb6[_0x3690b2+0xa],_0x360815=_0x4bbfb6[_0x3690b2+0xb],_0x365b8c=_0x4bbfb6[_0x3690b2+0xc],_0x45f461=_0x4bbfb6[_0x3690b2+0xd],_0x278bc1=_0x4bbfb6[_0x3690b2+0xe],_0x474e46=_0x4bbfb6[_0x3690b2+0xf],_0x299c8b=_0x3e6a4d[0x0],_0x394f33=_0x3e6a4d[0x1],_0x2505e9=_0x3e6a4d[0x2],_0x1b4192=_0x3e6a4d[0x3];_0x299c8b=_0x2568bb(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x1e5954,0x7,_0x4537d2[0x0]),_0x1b4192=_0x2568bb(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x40f7a0,0xc,_0x4537d2[0x1]),_0x2505e9=_0x2568bb(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x252ae7,0x11,_0x4537d2[0x2]),_0x394f33=_0x2568bb(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x7f255,0x16,_0x4537d2[0x3]),_0x299c8b=_0x2568bb(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x335b4a,0x7,_0x4537d2[0x4]),_0x1b4192=_0x2568bb(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x20cea4,0xc,_0x4537d2[0x5]),_0x2505e9=_0x2568bb(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x4cefe1,0x11,_0x4537d2[0x6]),_0x394f33=_0x2568bb(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x17ae5f,0x16,_0x4537d2[0x7]),_0x299c8b=_0x2568bb(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x560327,0x7,_0x4537d2[0x8]),_0x1b4192=_0x2568bb(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x4c436b,0xc,_0x4537d2[0x9]),_0x2505e9=_0x2568bb(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x21e31f,0x11,_0x4537d2[0xa]),_0x394f33=_0x2568bb(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x360815,0x16,_0x4537d2[0xb]),_0x299c8b=_0x2568bb(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x365b8c,0x7,_0x4537d2[0xc]),_0x1b4192=_0x2568bb(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x45f461,0xc,_0x4537d2[0xd]),_0x2505e9=_0x2568bb(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x278bc1,0x11,_0x4537d2[0xe]),_0x394f33=_0x2568bb(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x474e46,0x16,_0x4537d2[0xf]),_0x299c8b=_0x405752(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x40f7a0,0x5,_0x4537d2[0x10]),_0x1b4192=_0x405752(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x4cefe1,0x9,_0x4537d2[0x11]),_0x2505e9=_0x405752(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x360815,0xe,_0x4537d2[0x12]),_0x394f33=_0x405752(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x1e5954,0x14,_0x4537d2[0x13]),_0x299c8b=_0x405752(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x20cea4,0x5,_0x4537d2[0x14]),_0x1b4192=_0x405752(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x21e31f,0x9,_0x4537d2[0x15]),_0x2505e9=_0x405752(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x474e46,0xe,_0x4537d2[0x16]),_0x394f33=_0x405752(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x335b4a,0x14,_0x4537d2[0x17]),_0x299c8b=_0x405752(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x4c436b,0x5,_0x4537d2[0x18]),_0x1b4192=_0x405752(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x278bc1,0x9,_0x4537d2[0x19]),_0x2505e9=_0x405752(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x7f255,0xe,_0x4537d2[0x1a]),_0x394f33=_0x405752(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x560327,0x14,_0x4537d2[0x1b]),_0x299c8b=_0x405752(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x45f461,0x5,_0x4537d2[0x1c]),_0x1b4192=_0x405752(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x252ae7,0x9,_0x4537d2[0x1d]),_0x2505e9=_0x405752(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x17ae5f,0xe,_0x4537d2[0x1e]),_0x394f33=_0x405752(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x365b8c,0x14,_0x4537d2[0x1f]),_0x299c8b=_0x509d32(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x20cea4,0x4,_0x4537d2[0x20]),_0x1b4192=_0x509d32(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x560327,0xb,_0x4537d2[0x21]),_0x2505e9=_0x509d32(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x360815,0x10,_0x4537d2[0x22]),_0x394f33=_0x509d32(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x278bc1,0x17,_0x4537d2[0x23]),_0x299c8b=_0x509d32(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x40f7a0,0x4,_0x4537d2[0x24]),_0x1b4192=_0x509d32(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x335b4a,0xb,_0x4537d2[0x25]),_0x2505e9=_0x509d32(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x17ae5f,0x10,_0x4537d2[0x26]),_0x394f33=_0x509d32(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x21e31f,0x17,_0x4537d2[0x27]),_0x299c8b=_0x509d32(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x45f461,0x4,_0x4537d2[0x28]),_0x1b4192=_0x509d32(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x1e5954,0xb,_0x4537d2[0x29]),_0x2505e9=_0x509d32(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x7f255,0x10,_0x4537d2[0x2a]),_0x394f33=_0x509d32(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x4cefe1,0x17,_0x4537d2[0x2b]),_0x299c8b=_0x509d32(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x4c436b,0x4,_0x4537d2[0x2c]),_0x1b4192=_0x509d32(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x365b8c,0xb,_0x4537d2[0x2d]),_0x2505e9=_0x509d32(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x474e46,0x10,_0x4537d2[0x2e]),_0x394f33=_0x509d32(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x252ae7,0x17,_0x4537d2[0x2f]),_0x299c8b=_0x901026(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x1e5954,0x6,_0x4537d2[0x30]),_0x1b4192=_0x901026(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x17ae5f,0xa,_0x4537d2[0x31]),_0x2505e9=_0x901026(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x278bc1,0xf,_0x4537d2[0x32]),_0x394f33=_0x901026(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x20cea4,0x15,_0x4537d2[0x33]),_0x299c8b=_0x901026(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x365b8c,0x6,_0x4537d2[0x34]),_0x1b4192=_0x901026(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x7f255,0xa,_0x4537d2[0x35]),_0x2505e9=_0x901026(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x21e31f,0xf,_0x4537d2[0x36]),_0x394f33=_0x901026(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x40f7a0,0x15,_0x4537d2[0x37]),_0x299c8b=_0x901026(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x560327,0x6,_0x4537d2[0x38]),_0x1b4192=_0x901026(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x474e46,0xa,_0x4537d2[0x39]),_0x2505e9=_0x901026(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x4cefe1,0xf,_0x4537d2[0x3a]),_0x394f33=_0x901026(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x45f461,0x15,_0x4537d2[0x3b]),_0x299c8b=_0x901026(_0x299c8b,_0x394f33,_0x2505e9,_0x1b4192,_0x335b4a,0x6,_0x4537d2[0x3c]),_0x1b4192=_0x901026(_0x1b4192,_0x299c8b,_0x394f33,_0x2505e9,_0x360815,0xa,_0x4537d2[0x3d]),_0x2505e9=_0x901026(_0x2505e9,_0x1b4192,_0x299c8b,_0x394f33,_0x252ae7,0xf,_0x4537d2[0x3e]),_0x394f33=_0x901026(_0x394f33,_0x2505e9,_0x1b4192,_0x299c8b,_0x4c436b,0x15,_0x4537d2[0x3f]),_0x3e6a4d[0x0]=_0x3e6a4d[0x0]+_0x299c8b|0x0,_0x3e6a4d[0x1]=_0x3e6a4d[0x1]+_0x394f33|0x0,_0x3e6a4d[0x2]=_0x3e6a4d[0x2]+_0x2505e9|0x0,_0x3e6a4d[0x3]=_0x3e6a4d[0x3]+_0x1b4192|0x0;},'_doFinalize':function(){var _0x28802f=_0x375cb4,_0x33f3ca=this[_0x28802f(0x43b)],_0x627beb=_0x33f3ca[_0x28802f(0x431)],_0x318b36=this[_0x28802f(0x1be)]*0x8,_0x43bb9a=_0x33f3ca[_0x28802f(0x381)]*0x8;_0x627beb[_0x43bb9a>>>0x5]|=0x80<<0x18-_0x43bb9a%0x20;var _0x461296=_0x2d95d2[_0x28802f(0x28c)](_0x318b36/0x100000000),_0x50c8f1=_0x318b36;_0x627beb[(_0x43bb9a+0x40>>>0x9<<0x4)+0xf]=(_0x461296<<0x8|_0x461296>>>0x18)&0xff00ff|(_0x461296<<0x18|_0x461296>>>0x8)&0xff00ff00,_0x627beb[(_0x43bb9a+0x40>>>0x9<<0x4)+0xe]=(_0x50c8f1<<0x8|_0x50c8f1>>>0x18)&0xff00ff|(_0x50c8f1<<0x18|_0x50c8f1>>>0x8)&0xff00ff00,_0x33f3ca['sigBytes']=(_0x627beb[_0x28802f(0x455)]+0x1)*0x4,this['_process']();for(var _0xf97d47=this['_hash'],_0x20b25c=_0xf97d47['words'],_0x3e3316=0x0;_0x3e3316<0x4;_0x3e3316++){var _0x13f4d3=_0x20b25c[_0x3e3316];_0x20b25c[_0x3e3316]=(_0x13f4d3<<0x8|_0x13f4d3>>>0x18)&0xff00ff|(_0x13f4d3<<0x18|_0x13f4d3>>>0x8)&0xff00ff00;}return _0xf97d47;},'clone':function(){var _0x2cfda9=_0x375cb4,_0x77a1c5=_0x2e6bc2['clone'][_0x2cfda9(0x31b)](this);return _0x77a1c5[_0x2cfda9(0x443)]=this[_0x2cfda9(0x443)][_0x2cfda9(0x362)](),_0x77a1c5;}});function _0x2568bb(_0x36ae3a,_0x79c973,_0x13bf90,_0x3a325b,_0x1228d3,_0x30e048,_0x2d83d3){var _0x4f62d3=_0x36ae3a+(_0x79c973&_0x13bf90|~_0x79c973&_0x3a325b)+_0x1228d3+_0x2d83d3;return(_0x4f62d3<<_0x30e048|_0x4f62d3>>>0x20-_0x30e048)+_0x79c973;}function _0x405752(_0x149923,_0x4c14b1,_0x438741,_0x3fd6c2,_0x278697,_0x59cc46,_0x15b49e){var _0x355b9a=_0x149923+(_0x4c14b1&_0x3fd6c2|_0x438741&~_0x3fd6c2)+_0x278697+_0x15b49e;return(_0x355b9a<<_0x59cc46|_0x355b9a>>>0x20-_0x59cc46)+_0x4c14b1;}function _0x509d32(_0x239274,_0x128b34,_0x147da,_0x54140f,_0xd0ce28,_0x43ac57,_0x4cd2cd){var _0x4b7763=_0x239274+(_0x128b34^_0x147da^_0x54140f)+_0xd0ce28+_0x4cd2cd;return(_0x4b7763<<_0x43ac57|_0x4b7763>>>0x20-_0x43ac57)+_0x128b34;}function _0x901026(_0x24f209,_0x7ef25a,_0x377bc1,_0x572842,_0x4c4d96,_0x21b3da,_0x31abde){var _0x5b245d=_0x24f209+(_0x377bc1^(_0x7ef25a|~_0x572842))+_0x4c4d96+_0x31abde;return(_0x5b245d<<_0x21b3da|_0x5b245d>>>0x20-_0x21b3da)+_0x7ef25a;}_0x315d14[_0x375cb4(0x2a6)]=_0x2e6bc2['_createHelper'](_0x481128),_0x315d14[_0x375cb4(0x1f4)]=_0x2e6bc2['_createHmacHelper'](_0x481128);}(Math),_0x497987[_0x5ba169(0x2a6)];}));}(Ye)),Ye[_0x505d02(0x309)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x48e815(0x309)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x997372,_0x57aa82){(function(_0x57f56c,_0x1c09b8){var _0x123e0f=_0x5b1d;_0x997372[_0x123e0f(0x309)]=_0x1c09b8(te());}(un,function(_0x58571a){return(function(){var _0x512c03=_0x5b1d,_0x2c673c=_0x58571a,_0x25201f=_0x2c673c['lib'],_0x204f82=_0x25201f[_0x512c03(0x1c4)],_0x17b3a8=_0x25201f[_0x512c03(0x42e)],_0x438f35=_0x2c673c[_0x512c03(0x30d)],_0x574e42=[],_0x5b09cb=_0x438f35[_0x512c03(0x20d)]=_0x17b3a8['extend']({'_doReset':function(){var _0x37ae99=_0x512c03;this['_hash']=new _0x204f82[(_0x37ae99(0x32e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x28585a,_0x8cc864){var _0x6267e9=_0x512c03;for(var _0x56c3f6=this[_0x6267e9(0x443)]['words'],_0x34cc30=_0x56c3f6[0x0],_0x2e9516=_0x56c3f6[0x1],_0xd31df9=_0x56c3f6[0x2],_0x4e87d9=_0x56c3f6[0x3],_0x11d7ce=_0x56c3f6[0x4],_0x2fbd15=0x0;_0x2fbd15<0x50;_0x2fbd15++){if(_0x2fbd15<0x10)_0x574e42[_0x2fbd15]=_0x28585a[_0x8cc864+_0x2fbd15]|0x0;else{var _0x482828=_0x574e42[_0x2fbd15-0x3]^_0x574e42[_0x2fbd15-0x8]^_0x574e42[_0x2fbd15-0xe]^_0x574e42[_0x2fbd15-0x10];_0x574e42[_0x2fbd15]=_0x482828<<0x1|_0x482828>>>0x1f;}var _0x132b08=(_0x34cc30<<0x5|_0x34cc30>>>0x1b)+_0x11d7ce+_0x574e42[_0x2fbd15];_0x2fbd15<0x14?_0x132b08+=(_0x2e9516&_0xd31df9|~_0x2e9516&_0x4e87d9)+0x5a827999:_0x2fbd15<0x28?_0x132b08+=(_0x2e9516^_0xd31df9^_0x4e87d9)+0x6ed9eba1:_0x2fbd15<0x3c?_0x132b08+=(_0x2e9516&_0xd31df9|_0x2e9516&_0x4e87d9|_0xd31df9&_0x4e87d9)-0x70e44324:_0x132b08+=(_0x2e9516^_0xd31df9^_0x4e87d9)-0x359d3e2a,_0x11d7ce=_0x4e87d9,_0x4e87d9=_0xd31df9,_0xd31df9=_0x2e9516<<0x1e|_0x2e9516>>>0x2,_0x2e9516=_0x34cc30,_0x34cc30=_0x132b08;}_0x56c3f6[0x0]=_0x56c3f6[0x0]+_0x34cc30|0x0,_0x56c3f6[0x1]=_0x56c3f6[0x1]+_0x2e9516|0x0,_0x56c3f6[0x2]=_0x56c3f6[0x2]+_0xd31df9|0x0,_0x56c3f6[0x3]=_0x56c3f6[0x3]+_0x4e87d9|0x0,_0x56c3f6[0x4]=_0x56c3f6[0x4]+_0x11d7ce|0x0;},'_doFinalize':function(){var _0xfafba7=_0x512c03,_0x3c1efe=this[_0xfafba7(0x43b)],_0x2ddce8=_0x3c1efe[_0xfafba7(0x431)],_0x42a143=this[_0xfafba7(0x1be)]*0x8,_0x1e4f3b=_0x3c1efe[_0xfafba7(0x381)]*0x8;return _0x2ddce8[_0x1e4f3b>>>0x5]|=0x80<<0x18-_0x1e4f3b%0x20,_0x2ddce8[(_0x1e4f3b+0x40>>>0x9<<0x4)+0xe]=Math[_0xfafba7(0x28c)](_0x42a143/0x100000000),_0x2ddce8[(_0x1e4f3b+0x40>>>0x9<<0x4)+0xf]=_0x42a143,_0x3c1efe['sigBytes']=_0x2ddce8[_0xfafba7(0x455)]*0x4,this[_0xfafba7(0x263)](),this[_0xfafba7(0x443)];},'clone':function(){var _0x1c56a5=_0x512c03,_0x3bb583=_0x17b3a8[_0x1c56a5(0x362)][_0x1c56a5(0x31b)](this);return _0x3bb583[_0x1c56a5(0x443)]=this['_hash']['clone'](),_0x3bb583;}});_0x2c673c[_0x512c03(0x20d)]=_0x17b3a8[_0x512c03(0x27d)](_0x5b09cb),_0x2c673c[_0x512c03(0x3c8)]=_0x17b3a8[_0x512c03(0x340)](_0x5b09cb);}()),_0x58571a['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0x48e815(0x309)],Zt;function vn(){var _0x53685b=_0x48e815;return Zt||(Zt=0x1,function(_0x407f20,_0x1530a4){(function(_0x14e625,_0x175f16){var _0x312479=_0x5b1d;_0x407f20[_0x312479(0x309)]=_0x175f16(te());}(fn,function(_0x4ede63){(function(){var _0x50fcfc=_0x5b1d,_0x44ed30=_0x4ede63,_0x2f8490=_0x44ed30['lib'],_0x181abd=_0x2f8490[_0x50fcfc(0x223)],_0x4aa82d=_0x44ed30['enc'],_0x5002c8=_0x4aa82d[_0x50fcfc(0x3c6)],_0xc5e54c=_0x44ed30['algo'];_0xc5e54c[_0x50fcfc(0x1c2)]=_0x181abd[_0x50fcfc(0x398)]({'init':function(_0x183c41,_0x3e47c7){var _0xe60802=_0x50fcfc;_0x183c41=this[_0xe60802(0x352)]=new _0x183c41['init'](),typeof _0x3e47c7==_0xe60802(0x291)&&(_0x3e47c7=_0x5002c8[_0xe60802(0x36e)](_0x3e47c7));var _0x22527b=_0x183c41[_0xe60802(0x437)],_0x592916=_0x22527b*0x4;_0x3e47c7[_0xe60802(0x381)]>_0x592916&&(_0x3e47c7=_0x183c41[_0xe60802(0x2d6)](_0x3e47c7)),_0x3e47c7[_0xe60802(0x39c)]();for(var _0xbbafa9=this[_0xe60802(0x3ec)]=_0x3e47c7[_0xe60802(0x362)](),_0x4f99ad=this['_iKey']=_0x3e47c7[_0xe60802(0x362)](),_0x3aebc0=_0xbbafa9[_0xe60802(0x431)],_0x4975ab=_0x4f99ad[_0xe60802(0x431)],_0x2d4c5d=0x0;_0x2d4c5d<_0x22527b;_0x2d4c5d++)_0x3aebc0[_0x2d4c5d]^=0x5c5c5c5c,_0x4975ab[_0x2d4c5d]^=0x36363636;_0xbbafa9[_0xe60802(0x381)]=_0x4f99ad['sigBytes']=_0x592916,this['reset']();},'reset':function(){var _0xa8b2f2=_0x50fcfc,_0x5b6115=this['_hasher'];_0x5b6115[_0xa8b2f2(0x2dd)](),_0x5b6115[_0xa8b2f2(0x260)](this[_0xa8b2f2(0x3c9)]);},'update':function(_0xf40ac4){var _0x48345b=_0x50fcfc;return this[_0x48345b(0x352)][_0x48345b(0x260)](_0xf40ac4),this;},'finalize':function(_0x2a4f55){var _0x1dad3f=_0x50fcfc,_0x21a734=this[_0x1dad3f(0x352)],_0x4dded9=_0x21a734[_0x1dad3f(0x2d6)](_0x2a4f55);_0x21a734[_0x1dad3f(0x2dd)]();var _0x594edd=_0x21a734[_0x1dad3f(0x2d6)](this[_0x1dad3f(0x3ec)][_0x1dad3f(0x362)]()['concat'](_0x4dded9));return _0x594edd;}});}());}));}(ze)),ze[_0x53685b(0x309)];}var pn=Ke['exports'],Qt;function Oi(){var _0x126a81=_0x48e815;return Qt||(Qt=0x1,function(_0x44cade,_0x35bf0f){(function(_0x46663b,_0x1d6cc9,_0x54a656){var _0x42d7a2=_0x5b1d;_0x44cade[_0x42d7a2(0x309)]=_0x1d6cc9(te(),dn(),vn());}(pn,function(_0x35ade8){return(function(){var _0x386719=_0x5b1d,_0xaa3c78=_0x35ade8,_0x4dd7a2=_0xaa3c78['lib'],_0x17526b=_0x4dd7a2[_0x386719(0x223)],_0x30a8c7=_0x4dd7a2[_0x386719(0x1c4)],_0x3c829a=_0xaa3c78[_0x386719(0x30d)],_0xf54fc9=_0x3c829a[_0x386719(0x2a6)],_0x1a84b0=_0x3c829a[_0x386719(0x306)]=_0x17526b[_0x386719(0x398)]({'cfg':_0x17526b[_0x386719(0x398)]({'keySize':0x80/0x20,'hasher':_0xf54fc9,'iterations':0x1}),'init':function(_0x376936){var _0x47f4fb=_0x386719;this[_0x47f4fb(0x2f3)]=this[_0x47f4fb(0x2f3)][_0x47f4fb(0x398)](_0x376936);},'compute':function(_0x21c21f,_0x3dbb2e){var _0x44f20a=_0x386719;for(var _0x21c5ba,_0x363c44=this[_0x44f20a(0x2f3)],_0x45666e=_0x363c44[_0x44f20a(0x3cd)][_0x44f20a(0x192)](),_0xd7e2f4=_0x30a8c7['create'](),_0x5a1a49=_0xd7e2f4['words'],_0x1c691f=_0x363c44[_0x44f20a(0x3a5)],_0x5106b4=_0x363c44[_0x44f20a(0x480)];_0x5a1a49[_0x44f20a(0x455)]<_0x1c691f;){_0x21c5ba&&_0x45666e[_0x44f20a(0x260)](_0x21c5ba),_0x21c5ba=_0x45666e[_0x44f20a(0x260)](_0x21c21f)[_0x44f20a(0x2d6)](_0x3dbb2e),_0x45666e[_0x44f20a(0x2dd)]();for(var _0x463ba1=0x1;_0x463ba1<_0x5106b4;_0x463ba1++)_0x21c5ba=_0x45666e[_0x44f20a(0x2d6)](_0x21c5ba),_0x45666e[_0x44f20a(0x2dd)]();_0xd7e2f4[_0x44f20a(0x2ef)](_0x21c5ba);}return _0xd7e2f4['sigBytes']=_0x1c691f*0x4,_0xd7e2f4;}});_0xaa3c78[_0x386719(0x306)]=function(_0x12466b,_0xd9edf2,_0x210211){var _0x3af4c7=_0x386719;return _0x1a84b0[_0x3af4c7(0x192)](_0x210211)[_0x3af4c7(0x1f2)](_0x12466b,_0xd9edf2);};}()),_0x35ade8['EvpKDF'];}));}(Ke)),Ke[_0x126a81(0x309)];}var Je={'exports':{}},mn=Je[_0x48e815(0x309)],ei;function bi(){var _0x1bb7bb=_0x48e815;return ei||(ei=0x1,function(_0x2565fd,_0x524bed){(function(_0x319a9f,_0x3934a5,_0x71fe31){_0x2565fd['exports']=_0x3934a5(te(),Oi());}(mn,function(_0xa6d8d7){var _0x359e4a=_0x5b1d;_0xa6d8d7[_0x359e4a(0x442)][_0x359e4a(0x292)]||function(_0x48b4dc){var _0x247b98=_0x359e4a,_0x2df3d5=_0xa6d8d7,_0x107025=_0x2df3d5[_0x247b98(0x442)],_0x4f19af=_0x107025[_0x247b98(0x223)],_0x348c71=_0x107025['WordArray'],_0x1be393=_0x107025[_0x247b98(0x1d0)],_0x5ab575=_0x2df3d5[_0x247b98(0x1b2)];_0x5ab575[_0x247b98(0x3c6)];var _0x2377cf=_0x5ab575['Base64'],_0x3192e7=_0x2df3d5['algo'],_0x4cf42c=_0x3192e7['EvpKDF'],_0x242202=_0x107025[_0x247b98(0x292)]=_0x1be393['extend']({'cfg':_0x4f19af[_0x247b98(0x398)](),'createEncryptor':function(_0x966f5e,_0xfd523e){var _0x19b5a7=_0x247b98;return this[_0x19b5a7(0x192)](this[_0x19b5a7(0x1ca)],_0x966f5e,_0xfd523e);},'createDecryptor':function(_0x518288,_0x4afd41){var _0x4318b1=_0x247b98;return this[_0x4318b1(0x192)](this[_0x4318b1(0x217)],_0x518288,_0x4afd41);},'init':function(_0x4efca1,_0x7edbf6,_0x12e982){var _0x37281a=_0x247b98;this['cfg']=this['cfg']['extend'](_0x12e982),this[_0x37281a(0x29e)]=_0x4efca1,this['_key']=_0x7edbf6,this['reset']();},'reset':function(){var _0x15b907=_0x247b98;_0x1be393[_0x15b907(0x2dd)][_0x15b907(0x31b)](this),this['_doReset']();},'process':function(_0x568d0f){var _0x4faa41=_0x247b98;return this[_0x4faa41(0x2c0)](_0x568d0f),this['_process']();},'finalize':function(_0x5bddc6){var _0x183d2a=_0x247b98;_0x5bddc6&&this[_0x183d2a(0x2c0)](_0x5bddc6);var _0x2a6561=this[_0x183d2a(0x2d5)]();return _0x2a6561;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4387e1(_0x2745ab){return typeof _0x2745ab=='string'?_0x334bd:_0x1c566e;}return function(_0x515756){return{'encrypt':function(_0x3b3887,_0x2856f2,_0x2ed5a1){return _0x4387e1(_0x2856f2)['encrypt'](_0x515756,_0x3b3887,_0x2856f2,_0x2ed5a1);},'decrypt':function(_0x404820,_0x1abfa7,_0x50eb3c){var _0x1c3064=_0x5b1d;return _0x4387e1(_0x1abfa7)[_0x1c3064(0x345)](_0x515756,_0x404820,_0x1abfa7,_0x50eb3c);}};};}())});_0x107025[_0x247b98(0x17e)]=_0x242202['extend']({'_doFinalize':function(){var _0x48d339=_0x247b98,_0x452d62=this[_0x48d339(0x263)](!0x0);return _0x452d62;},'blockSize':0x1});var _0x307422=_0x2df3d5[_0x247b98(0x466)]={},_0x29677f=_0x107025[_0x247b98(0x319)]=_0x4f19af['extend']({'createEncryptor':function(_0x1ff2e6,_0x2f3978){var _0x39f8be=_0x247b98;return this['Encryptor'][_0x39f8be(0x192)](_0x1ff2e6,_0x2f3978);},'createDecryptor':function(_0x45288b,_0x52f410){var _0x217e2b=_0x247b98;return this[_0x217e2b(0x454)][_0x217e2b(0x192)](_0x45288b,_0x52f410);},'init':function(_0x1aaea5,_0x5e34fa){var _0x3ea3d7=_0x247b98;this[_0x3ea3d7(0x21b)]=_0x1aaea5,this['_iv']=_0x5e34fa;}}),_0x534c6f=_0x307422[_0x247b98(0x2d0)]=(function(){var _0x2dd8bf=_0x247b98,_0x3c64ba=_0x29677f['extend']();_0x3c64ba[_0x2dd8bf(0x365)]=_0x3c64ba[_0x2dd8bf(0x398)]({'processBlock':function(_0xac88ac,_0xe34e81){var _0x1f7056=_0x2dd8bf,_0x4cd3f7=this[_0x1f7056(0x21b)],_0x1d1975=_0x4cd3f7[_0x1f7056(0x437)];_0x7dbc9d['call'](this,_0xac88ac,_0xe34e81,_0x1d1975),_0x4cd3f7['encryptBlock'](_0xac88ac,_0xe34e81),this[_0x1f7056(0x173)]=_0xac88ac[_0x1f7056(0x249)](_0xe34e81,_0xe34e81+_0x1d1975);}}),_0x3c64ba[_0x2dd8bf(0x454)]=_0x3c64ba[_0x2dd8bf(0x398)]({'processBlock':function(_0x45043d,_0x4a4fac){var _0x4f45c3=_0x2dd8bf,_0x3ed6a0=this[_0x4f45c3(0x21b)],_0x5d027d=_0x3ed6a0['blockSize'],_0x50f874=_0x45043d[_0x4f45c3(0x249)](_0x4a4fac,_0x4a4fac+_0x5d027d);_0x3ed6a0[_0x4f45c3(0x3e9)](_0x45043d,_0x4a4fac),_0x7dbc9d['call'](this,_0x45043d,_0x4a4fac,_0x5d027d),this[_0x4f45c3(0x173)]=_0x50f874;}});function _0x7dbc9d(_0xc7cd50,_0x1f131b,_0x236044){var _0x28cfae=_0x2dd8bf,_0x309670,_0x88eddd=this[_0x28cfae(0x2b3)];_0x88eddd?(_0x309670=_0x88eddd,this[_0x28cfae(0x2b3)]=_0x48b4dc):_0x309670=this['_prevBlock'];for(var _0x556ae3=0x0;_0x556ae3<_0x236044;_0x556ae3++)_0xc7cd50[_0x1f131b+_0x556ae3]^=_0x309670[_0x556ae3];}return _0x3c64ba;}()),_0x4fe7dc=_0x2df3d5[_0x247b98(0x2bf)]={},_0x24add8=_0x4fe7dc[_0x247b98(0x312)]={'pad':function(_0x585d65,_0x362952){var _0x498264=_0x247b98;for(var _0x1d0d23=_0x362952*0x4,_0x2c1cde=_0x1d0d23-_0x585d65[_0x498264(0x381)]%_0x1d0d23,_0x3b6349=_0x2c1cde<<0x18|_0x2c1cde<<0x10|_0x2c1cde<<0x8|_0x2c1cde,_0x118dfa=[],_0x1983ac=0x0;_0x1983ac<_0x2c1cde;_0x1983ac+=0x4)_0x118dfa[_0x498264(0x21e)](_0x3b6349);var _0x426d37=_0x348c71['create'](_0x118dfa,_0x2c1cde);_0x585d65[_0x498264(0x2ef)](_0x426d37);},'unpad':function(_0x5933b5){var _0x4470a7=_0x247b98,_0x2061b7=_0x5933b5[_0x4470a7(0x431)][_0x5933b5[_0x4470a7(0x381)]-0x1>>>0x2]&0xff;_0x5933b5['sigBytes']-=_0x2061b7;}};_0x107025['BlockCipher']=_0x242202[_0x247b98(0x398)]({'cfg':_0x242202['cfg'][_0x247b98(0x398)]({'mode':_0x534c6f,'padding':_0x24add8}),'reset':function(){var _0x4a0790=_0x247b98,_0x3a40d2;_0x242202[_0x4a0790(0x2dd)][_0x4a0790(0x31b)](this);var _0x1fd5a2=this[_0x4a0790(0x2f3)],_0x514ca2=_0x1fd5a2['iv'],_0x214a49=_0x1fd5a2[_0x4a0790(0x466)];this[_0x4a0790(0x29e)]==this[_0x4a0790(0x1ca)]?_0x3a40d2=_0x214a49[_0x4a0790(0x32d)]:(_0x3a40d2=_0x214a49[_0x4a0790(0x320)],this[_0x4a0790(0x27c)]=0x1),this[_0x4a0790(0x2e9)]&&this[_0x4a0790(0x2e9)][_0x4a0790(0x287)]==_0x3a40d2?this[_0x4a0790(0x2e9)]['init'](this,_0x514ca2&&_0x514ca2[_0x4a0790(0x431)]):(this['_mode']=_0x3a40d2[_0x4a0790(0x31b)](_0x214a49,this,_0x514ca2&&_0x514ca2['words']),this['_mode'][_0x4a0790(0x287)]=_0x3a40d2);},'_doProcessBlock':function(_0x2710e1,_0x1b56d2){var _0x33a70d=_0x247b98;this[_0x33a70d(0x2e9)][_0x33a70d(0x2e1)](_0x2710e1,_0x1b56d2);},'_doFinalize':function(){var _0x135d03=_0x247b98,_0x5ca899,_0x4b9c23=this[_0x135d03(0x2f3)][_0x135d03(0x275)];return this[_0x135d03(0x29e)]==this[_0x135d03(0x1ca)]?(_0x4b9c23[_0x135d03(0x2bf)](this[_0x135d03(0x43b)],this[_0x135d03(0x437)]),_0x5ca899=this[_0x135d03(0x263)](!0x0)):(_0x5ca899=this[_0x135d03(0x263)](!0x0),_0x4b9c23[_0x135d03(0x237)](_0x5ca899)),_0x5ca899;},'blockSize':0x80/0x20});var _0x378811=_0x107025[_0x247b98(0x3ed)]=_0x4f19af[_0x247b98(0x398)]({'init':function(_0x404df4){var _0x3451a9=_0x247b98;this[_0x3451a9(0x1a9)](_0x404df4);},'toString':function(_0x3bccf7){var _0x16c7dd=_0x247b98;return(_0x3bccf7||this[_0x16c7dd(0x1aa)])[_0x16c7dd(0x464)](this);}}),_0x946d44=_0x2df3d5['format']={},_0x222079=_0x946d44[_0x247b98(0x216)]={'stringify':function(_0x4f7aab){var _0x92ada=_0x247b98,_0x236276,_0x36b086=_0x4f7aab['ciphertext'],_0x59d580=_0x4f7aab[_0x92ada(0x246)];return _0x59d580?_0x236276=_0x348c71[_0x92ada(0x192)]([0x53616c74,0x65645f5f])[_0x92ada(0x2ef)](_0x59d580)[_0x92ada(0x2ef)](_0x36b086):_0x236276=_0x36b086,_0x236276[_0x92ada(0x1f3)](_0x2377cf);},'parse':function(_0x1a57c3){var _0x52ca3a=_0x247b98,_0x3fe93d,_0x139ce8=_0x2377cf[_0x52ca3a(0x36e)](_0x1a57c3),_0x358261=_0x139ce8[_0x52ca3a(0x431)];return _0x358261[0x0]==0x53616c74&&_0x358261[0x1]==0x65645f5f&&(_0x3fe93d=_0x348c71[_0x52ca3a(0x192)](_0x358261[_0x52ca3a(0x249)](0x2,0x4)),_0x358261[_0x52ca3a(0x280)](0x0,0x4),_0x139ce8[_0x52ca3a(0x381)]-=0x10),_0x378811[_0x52ca3a(0x192)]({'ciphertext':_0x139ce8,'salt':_0x3fe93d});}},_0x1c566e=_0x107025[_0x247b98(0x235)]=_0x4f19af[_0x247b98(0x398)]({'cfg':_0x4f19af[_0x247b98(0x398)]({'format':_0x222079}),'encrypt':function(_0x50c691,_0x5e4c28,_0x29faf1,_0x16094c){var _0x5d5786=_0x247b98;_0x16094c=this['cfg']['extend'](_0x16094c);var _0xbc6a06=_0x50c691['createEncryptor'](_0x29faf1,_0x16094c),_0x1dca34=_0xbc6a06['finalize'](_0x5e4c28),_0x4c4435=_0xbc6a06[_0x5d5786(0x2f3)];return _0x378811[_0x5d5786(0x192)]({'ciphertext':_0x1dca34,'key':_0x29faf1,'iv':_0x4c4435['iv'],'algorithm':_0x50c691,'mode':_0x4c4435[_0x5d5786(0x466)],'padding':_0x4c4435[_0x5d5786(0x275)],'blockSize':_0x50c691[_0x5d5786(0x437)],'formatter':_0x16094c['format']});},'decrypt':function(_0x2619a3,_0x257713,_0x214fb4,_0x1b0d97){var _0x3d670d=_0x247b98;_0x1b0d97=this[_0x3d670d(0x2f3)]['extend'](_0x1b0d97),_0x257713=this[_0x3d670d(0x3bf)](_0x257713,_0x1b0d97[_0x3d670d(0x367)]);var _0x563745=_0x2619a3['createDecryptor'](_0x214fb4,_0x1b0d97)[_0x3d670d(0x2d6)](_0x257713['ciphertext']);return _0x563745;},'_parse':function(_0x346f08,_0x2d9691){var _0x1b5756=_0x247b98;return typeof _0x346f08==_0x1b5756(0x291)?_0x2d9691[_0x1b5756(0x36e)](_0x346f08,this):_0x346f08;}}),_0x380e53=_0x2df3d5[_0x247b98(0x41a)]={},_0x4c467d=_0x380e53[_0x247b98(0x216)]={'execute':function(_0x894794,_0x5d3c15,_0x558510,_0x4b12db,_0x412c1a){var _0x40bcd8=_0x247b98;if(_0x4b12db||(_0x4b12db=_0x348c71[_0x40bcd8(0x3c7)](0x40/0x8)),_0x412c1a)var _0x5972da=_0x4cf42c[_0x40bcd8(0x192)]({'keySize':_0x5d3c15+_0x558510,'hasher':_0x412c1a})[_0x40bcd8(0x1f2)](_0x894794,_0x4b12db);else var _0x5972da=_0x4cf42c[_0x40bcd8(0x192)]({'keySize':_0x5d3c15+_0x558510})[_0x40bcd8(0x1f2)](_0x894794,_0x4b12db);var _0x48800d=_0x348c71[_0x40bcd8(0x192)](_0x5972da[_0x40bcd8(0x431)][_0x40bcd8(0x249)](_0x5d3c15),_0x558510*0x4);return _0x5972da[_0x40bcd8(0x381)]=_0x5d3c15*0x4,_0x378811[_0x40bcd8(0x192)]({'key':_0x5972da,'iv':_0x48800d,'salt':_0x4b12db});}},_0x334bd=_0x107025[_0x247b98(0x3ab)]=_0x1c566e[_0x247b98(0x398)]({'cfg':_0x1c566e['cfg']['extend']({'kdf':_0x4c467d}),'encrypt':function(_0x14df6f,_0x383ce6,_0x3af88c,_0x101f1a){var _0x2d9288=_0x247b98;_0x101f1a=this[_0x2d9288(0x2f3)][_0x2d9288(0x398)](_0x101f1a);var _0x21553c=_0x101f1a[_0x2d9288(0x41a)][_0x2d9288(0x34b)](_0x3af88c,_0x14df6f['keySize'],_0x14df6f['ivSize'],_0x101f1a['salt'],_0x101f1a['hasher']);_0x101f1a['iv']=_0x21553c['iv'];var _0x5abdd4=_0x1c566e[_0x2d9288(0x1bf)]['call'](this,_0x14df6f,_0x383ce6,_0x21553c[_0x2d9288(0x392)],_0x101f1a);return _0x5abdd4['mixIn'](_0x21553c),_0x5abdd4;},'decrypt':function(_0x1f6bae,_0x3094e0,_0x56c652,_0x30bb28){var _0x4bc7d3=_0x247b98;_0x30bb28=this[_0x4bc7d3(0x2f3)][_0x4bc7d3(0x398)](_0x30bb28),_0x3094e0=this['_parse'](_0x3094e0,_0x30bb28[_0x4bc7d3(0x367)]);var _0x24a68f=_0x30bb28[_0x4bc7d3(0x41a)][_0x4bc7d3(0x34b)](_0x56c652,_0x1f6bae[_0x4bc7d3(0x3a5)],_0x1f6bae[_0x4bc7d3(0x2af)],_0x3094e0[_0x4bc7d3(0x246)],_0x30bb28['hasher']);_0x30bb28['iv']=_0x24a68f['iv'];var _0x39a7fc=_0x1c566e[_0x4bc7d3(0x345)]['call'](this,_0x1f6bae,_0x3094e0,_0x24a68f[_0x4bc7d3(0x392)],_0x30bb28);return _0x39a7fc;}});}();}));}(Je)),Je[_0x1bb7bb(0x309)];}var gn=Ve[_0x48e815(0x309)],ti;function Sn(){var _0x1cd9d3=_0x48e815;return ti||(ti=0x1,function(_0x5210bf,_0x434406){(function(_0x28e40c,_0x3bdc65,_0x15d6bb){_0x5210bf['exports']=_0x3bdc65(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x59e602){var _0x4afad0=_0x5b1d;return(function(){var _0x1b2488=_0x5b1d,_0x211d46=_0x59e602,_0x11ee5c=_0x211d46[_0x1b2488(0x442)],_0x5af448=_0x11ee5c[_0x1b2488(0x18a)],_0x30f30b=_0x211d46[_0x1b2488(0x30d)],_0x1c8fb8=[],_0x51729b=[],_0x460255=[],_0x56802e=[],_0x293734=[],_0x4d5664=[],_0x19c7f0=[],_0x2e8be3=[],_0x5f0db0=[],_0x2fa99d=[];(function(){for(var _0x463471=[],_0x24f878=0x0;_0x24f878<0x100;_0x24f878++)_0x24f878<0x80?_0x463471[_0x24f878]=_0x24f878<<0x1:_0x463471[_0x24f878]=_0x24f878<<0x1^0x11b;for(var _0x48182f=0x0,_0x4914e4=0x0,_0x24f878=0x0;_0x24f878<0x100;_0x24f878++){var _0x445619=_0x4914e4^_0x4914e4<<0x1^_0x4914e4<<0x2^_0x4914e4<<0x3^_0x4914e4<<0x4;_0x445619=_0x445619>>>0x8^_0x445619&0xff^0x63,_0x1c8fb8[_0x48182f]=_0x445619,_0x51729b[_0x445619]=_0x48182f;var _0x526d5e=_0x463471[_0x48182f],_0x468610=_0x463471[_0x526d5e],_0x412438=_0x463471[_0x468610],_0x2a4aa0=_0x463471[_0x445619]*0x101^_0x445619*0x1010100;_0x460255[_0x48182f]=_0x2a4aa0<<0x18|_0x2a4aa0>>>0x8,_0x56802e[_0x48182f]=_0x2a4aa0<<0x10|_0x2a4aa0>>>0x10,_0x293734[_0x48182f]=_0x2a4aa0<<0x8|_0x2a4aa0>>>0x18,_0x4d5664[_0x48182f]=_0x2a4aa0;var _0x2a4aa0=_0x412438*0x1010101^_0x468610*0x10001^_0x526d5e*0x101^_0x48182f*0x1010100;_0x19c7f0[_0x445619]=_0x2a4aa0<<0x18|_0x2a4aa0>>>0x8,_0x2e8be3[_0x445619]=_0x2a4aa0<<0x10|_0x2a4aa0>>>0x10,_0x5f0db0[_0x445619]=_0x2a4aa0<<0x8|_0x2a4aa0>>>0x18,_0x2fa99d[_0x445619]=_0x2a4aa0,_0x48182f?(_0x48182f=_0x526d5e^_0x463471[_0x463471[_0x463471[_0x412438^_0x526d5e]]],_0x4914e4^=_0x463471[_0x463471[_0x4914e4]]):_0x48182f=_0x4914e4=0x1;}}());var _0x169757=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3536ca=_0x30f30b[_0x1b2488(0x402)]=_0x5af448[_0x1b2488(0x398)]({'_doReset':function(){var _0x327e9a=_0x1b2488,_0x2a4e0;if(!(this[_0x327e9a(0x474)]&&this[_0x327e9a(0x2de)]===this[_0x327e9a(0x470)])){for(var _0x4300a4=this[_0x327e9a(0x2de)]=this[_0x327e9a(0x470)],_0x5f39a3=_0x4300a4[_0x327e9a(0x431)],_0x512f99=_0x4300a4[_0x327e9a(0x381)]/0x4,_0x1a1fd9=this[_0x327e9a(0x474)]=_0x512f99+0x6,_0x182aac=(_0x1a1fd9+0x1)*0x4,_0x2cabcf=this[_0x327e9a(0x33c)]=[],_0x2236c2=0x0;_0x2236c2<_0x182aac;_0x2236c2++)_0x2236c2<_0x512f99?_0x2cabcf[_0x2236c2]=_0x5f39a3[_0x2236c2]:(_0x2a4e0=_0x2cabcf[_0x2236c2-0x1],_0x2236c2%_0x512f99?_0x512f99>0x6&&_0x2236c2%_0x512f99==0x4&&(_0x2a4e0=_0x1c8fb8[_0x2a4e0>>>0x18]<<0x18|_0x1c8fb8[_0x2a4e0>>>0x10&0xff]<<0x10|_0x1c8fb8[_0x2a4e0>>>0x8&0xff]<<0x8|_0x1c8fb8[_0x2a4e0&0xff]):(_0x2a4e0=_0x2a4e0<<0x8|_0x2a4e0>>>0x18,_0x2a4e0=_0x1c8fb8[_0x2a4e0>>>0x18]<<0x18|_0x1c8fb8[_0x2a4e0>>>0x10&0xff]<<0x10|_0x1c8fb8[_0x2a4e0>>>0x8&0xff]<<0x8|_0x1c8fb8[_0x2a4e0&0xff],_0x2a4e0^=_0x169757[_0x2236c2/_0x512f99|0x0]<<0x18),_0x2cabcf[_0x2236c2]=_0x2cabcf[_0x2236c2-_0x512f99]^_0x2a4e0);for(var _0x6bbfd6=this[_0x327e9a(0x3b4)]=[],_0x1bae67=0x0;_0x1bae67<_0x182aac;_0x1bae67++){var _0x2236c2=_0x182aac-_0x1bae67;if(_0x1bae67%0x4)var _0x2a4e0=_0x2cabcf[_0x2236c2];else var _0x2a4e0=_0x2cabcf[_0x2236c2-0x4];_0x1bae67<0x4||_0x2236c2<=0x4?_0x6bbfd6[_0x1bae67]=_0x2a4e0:_0x6bbfd6[_0x1bae67]=_0x19c7f0[_0x1c8fb8[_0x2a4e0>>>0x18]]^_0x2e8be3[_0x1c8fb8[_0x2a4e0>>>0x10&0xff]]^_0x5f0db0[_0x1c8fb8[_0x2a4e0>>>0x8&0xff]]^_0x2fa99d[_0x1c8fb8[_0x2a4e0&0xff]];}}},'encryptBlock':function(_0x18daa1,_0x1e40d9){var _0xe88946=_0x1b2488;this[_0xe88946(0x230)](_0x18daa1,_0x1e40d9,this['_keySchedule'],_0x460255,_0x56802e,_0x293734,_0x4d5664,_0x1c8fb8);},'decryptBlock':function(_0x360b42,_0x548743){var _0x48948f=_0x1b2488,_0x16bfe0=_0x360b42[_0x548743+0x1];_0x360b42[_0x548743+0x1]=_0x360b42[_0x548743+0x3],_0x360b42[_0x548743+0x3]=_0x16bfe0,this[_0x48948f(0x230)](_0x360b42,_0x548743,this[_0x48948f(0x3b4)],_0x19c7f0,_0x2e8be3,_0x5f0db0,_0x2fa99d,_0x51729b);var _0x16bfe0=_0x360b42[_0x548743+0x1];_0x360b42[_0x548743+0x1]=_0x360b42[_0x548743+0x3],_0x360b42[_0x548743+0x3]=_0x16bfe0;},'_doCryptBlock':function(_0x5b87de,_0x4a90c2,_0x1c41ce,_0x3e8a31,_0x3b7911,_0x52c47b,_0x241e8b,_0x867be2){for(var _0x3b833a=this['_nRounds'],_0xb48cb7=_0x5b87de[_0x4a90c2]^_0x1c41ce[0x0],_0x38f6e5=_0x5b87de[_0x4a90c2+0x1]^_0x1c41ce[0x1],_0x10914c=_0x5b87de[_0x4a90c2+0x2]^_0x1c41ce[0x2],_0x43bfa6=_0x5b87de[_0x4a90c2+0x3]^_0x1c41ce[0x3],_0x4e455d=0x4,_0x34dc89=0x1;_0x34dc89<_0x3b833a;_0x34dc89++){var _0x23818e=_0x3e8a31[_0xb48cb7>>>0x18]^_0x3b7911[_0x38f6e5>>>0x10&0xff]^_0x52c47b[_0x10914c>>>0x8&0xff]^_0x241e8b[_0x43bfa6&0xff]^_0x1c41ce[_0x4e455d++],_0x5ce41b=_0x3e8a31[_0x38f6e5>>>0x18]^_0x3b7911[_0x10914c>>>0x10&0xff]^_0x52c47b[_0x43bfa6>>>0x8&0xff]^_0x241e8b[_0xb48cb7&0xff]^_0x1c41ce[_0x4e455d++],_0xaf868f=_0x3e8a31[_0x10914c>>>0x18]^_0x3b7911[_0x43bfa6>>>0x10&0xff]^_0x52c47b[_0xb48cb7>>>0x8&0xff]^_0x241e8b[_0x38f6e5&0xff]^_0x1c41ce[_0x4e455d++],_0x50676f=_0x3e8a31[_0x43bfa6>>>0x18]^_0x3b7911[_0xb48cb7>>>0x10&0xff]^_0x52c47b[_0x38f6e5>>>0x8&0xff]^_0x241e8b[_0x10914c&0xff]^_0x1c41ce[_0x4e455d++];_0xb48cb7=_0x23818e,_0x38f6e5=_0x5ce41b,_0x10914c=_0xaf868f,_0x43bfa6=_0x50676f;}var _0x23818e=(_0x867be2[_0xb48cb7>>>0x18]<<0x18|_0x867be2[_0x38f6e5>>>0x10&0xff]<<0x10|_0x867be2[_0x10914c>>>0x8&0xff]<<0x8|_0x867be2[_0x43bfa6&0xff])^_0x1c41ce[_0x4e455d++],_0x5ce41b=(_0x867be2[_0x38f6e5>>>0x18]<<0x18|_0x867be2[_0x10914c>>>0x10&0xff]<<0x10|_0x867be2[_0x43bfa6>>>0x8&0xff]<<0x8|_0x867be2[_0xb48cb7&0xff])^_0x1c41ce[_0x4e455d++],_0xaf868f=(_0x867be2[_0x10914c>>>0x18]<<0x18|_0x867be2[_0x43bfa6>>>0x10&0xff]<<0x10|_0x867be2[_0xb48cb7>>>0x8&0xff]<<0x8|_0x867be2[_0x38f6e5&0xff])^_0x1c41ce[_0x4e455d++],_0x50676f=(_0x867be2[_0x43bfa6>>>0x18]<<0x18|_0x867be2[_0xb48cb7>>>0x10&0xff]<<0x10|_0x867be2[_0x38f6e5>>>0x8&0xff]<<0x8|_0x867be2[_0x10914c&0xff])^_0x1c41ce[_0x4e455d++];_0x5b87de[_0x4a90c2]=_0x23818e,_0x5b87de[_0x4a90c2+0x1]=_0x5ce41b,_0x5b87de[_0x4a90c2+0x2]=_0xaf868f,_0x5b87de[_0x4a90c2+0x3]=_0x50676f;},'keySize':0x100/0x20});_0x211d46[_0x1b2488(0x402)]=_0x5af448[_0x1b2488(0x27d)](_0x3536ca);}()),_0x59e602[_0x4afad0(0x402)];}));}(Ve)),Ve[_0x1cd9d3(0x309)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x48e815(0x309)],si;function Rn(){var _0x14aeca=_0x48e815;return si||(si=0x1,function(_0x4aa7dd,_0x4444f5){(function(_0x56bd49,_0x199365){var _0x4f31c4=_0x5b1d;_0x4aa7dd[_0x4f31c4(0x309)]=_0x199365(te());}(Cn,function(_0x5099d9){var _0x55e553=_0x5b1d;return _0x5099d9[_0x55e553(0x1b2)][_0x55e553(0x3c6)];}));}(Xe)),Xe[_0x14aeca(0x309)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x48e815(0x309)],ni;function Nn(){var _0x3a229d=_0x48e815;return ni||(ni=0x1,function(_0x51bc7b,_0x4a28cf){(function(_0x54bea8,_0x292015){var _0x23477c=_0x5b1d;_0x51bc7b[_0x23477c(0x309)]=_0x292015(te());}(yn,function(_0x23b5db){var _0x4b572b=_0x5b1d;return(function(){var _0x43510c=_0x5b1d;if(typeof ArrayBuffer==_0x43510c(0x1e8)){var _0x1bc5ab=_0x23b5db,_0x3a147e=_0x1bc5ab[_0x43510c(0x442)],_0x289020=_0x3a147e[_0x43510c(0x1c4)],_0x5956f4=_0x289020[_0x43510c(0x32e)],_0x21f9a7=_0x289020['init']=function(_0x1333e6){var _0x2dd94b=_0x43510c;if(_0x1333e6 instanceof ArrayBuffer&&(_0x1333e6=new Uint8Array(_0x1333e6)),(_0x1333e6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1333e6 instanceof Uint8ClampedArray||_0x1333e6 instanceof Int16Array||_0x1333e6 instanceof Uint16Array||_0x1333e6 instanceof Int32Array||_0x1333e6 instanceof Uint32Array||_0x1333e6 instanceof Float32Array||_0x1333e6 instanceof Float64Array)&&(_0x1333e6=new Uint8Array(_0x1333e6[_0x2dd94b(0x2f2)],_0x1333e6[_0x2dd94b(0x215)],_0x1333e6['byteLength'])),_0x1333e6 instanceof Uint8Array){for(var _0x8e3688=_0x1333e6[_0x2dd94b(0x3d3)],_0x29fbd6=[],_0x2002e6=0x0;_0x2002e6<_0x8e3688;_0x2002e6++)_0x29fbd6[_0x2002e6>>>0x2]|=_0x1333e6[_0x2002e6]<<0x18-_0x2002e6%0x4*0x8;_0x5956f4['call'](this,_0x29fbd6,_0x8e3688);}else _0x5956f4[_0x2dd94b(0x2e8)](this,arguments);};_0x21f9a7[_0x43510c(0x3f3)]=_0x289020;}}()),_0x23b5db[_0x4b572b(0x442)][_0x4b572b(0x1c4)];}));}(Ze)),Ze[_0x3a229d(0x309)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x48e815(0x309)],ri;function wn(){var _0xa4842d=_0x48e815;return ri||(ri=0x1,function(_0x29d1da,_0x21f8a6){(function(_0x46eaec,_0xa612b9,_0x406da0){_0x29d1da['exports']=_0xa612b9(te(),bi());}(An,function(_0xb9294f){var _0x131707=_0x5b1d;return _0xb9294f[_0x131707(0x2bf)][_0x131707(0x3ea)]={'pad':function(){},'unpad':function(){}},_0xb9294f[_0x131707(0x2bf)][_0x131707(0x3ea)];}));}(Qe)),Qe[_0xa4842d(0x309)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x2b39d7,_0x259c7d){var _0x5ebf96=_0x48e815;const _0x1c7beb=_0x259c7d-_0x2b39d7[_0x5ebf96(0x455)]%_0x259c7d,_0x41781f=String[_0x5ebf96(0x180)](_0x1c7beb)[_0x5ebf96(0x44e)](_0x1c7beb);return _0x2b39d7+_0x41781f;}function xn(_0x2c55dc,_0x7ac86d){var _0x15c062=_0x48e815;const _0x14685a=Un['random'](0x10),_0x3350aa=Ln(_0x2c55dc,0x10),_0x77bad2=In[_0x15c062(0x1bf)](bn[_0x15c062(0x36e)](_0x3350aa),ii[_0x15c062(0x36e)](_0x7ac86d),{'iv':_0x14685a,'padding':Mn});return _0x14685a[_0x15c062(0x2ef)](_0x77bad2[_0x15c062(0x2e5)])[_0x15c062(0x1f3)](ii);}function kn(){var _0x208a8c=_0x48e815;const _0x260990=_0x576faf()[_0x208a8c(0x391)];if(_0x260990){const _0x2481f4={'time':Math[_0x208a8c(0x28c)](Date[_0x208a8c(0x418)]()/0x3e8),'domain':location[_0x208a8c(0x41f)]};return xn(JSON[_0x208a8c(0x464)](_0x2481f4),_0x260990);}}var $n=Object[_0x48e815(0x40f)],Hn=(_0x1c4781,_0x111e46,_0x4f0206,_0x432137)=>{var _0x1d71ff=_0x48e815;for(var _0x1db4d6=_0x432137>0x1?void 0x0:_0x432137?$n(_0x111e46,_0x4f0206):_0x111e46,_0x2e4fbb=_0x1c4781[_0x1d71ff(0x455)]-0x1,_0x15c7c0;_0x2e4fbb>=0x0;_0x2e4fbb--)(_0x15c7c0=_0x1c4781[_0x2e4fbb])&&(_0x1db4d6=_0x15c7c0(_0x1db4d6)||_0x1db4d6);return _0x1db4d6;},Bn=(_0x5e8702,_0x1401ae)=>(_0x892303,_0x555ac7)=>_0x1401ae(_0x892303,_0x555ac7,_0x5e8702);let at=class{constructor(_0x1f840e){var _0x1d0f46=_0x48e815;this[_0x1d0f46(0x182)]=_0x1f840e,this[_0x1d0f46(0x321)]();}[_0x48e815(0x321)](){var _0x560c5b=_0x48e815;this['_httpService'][_0x560c5b(0x36b)]({'interceptor':(_0x28f1f0,_0x174b9b)=>{var _0x50b727=_0x560c5b;const _0x1cf7f5=_0x28f1f0[_0x50b727(0x1ad)],_0x587421=kn();return _0x587421&&_0x1cf7f5['set'](_0x50b727(0x3c2),_0x587421),_0x174b9b(_0x28f1f0);}});}};at=Hn([Bn(0x0,_0xe5fc48(_0x5beaf6))],at);var jn=Object[_0x48e815(0x40f)],Fn=(_0x54c6d4,_0x78ad61,_0x2ff28b,_0x5729ae)=>{for(var _0x57e102=_0x5729ae>0x1?void 0x0:_0x5729ae?jn(_0x78ad61,_0x2ff28b):_0x78ad61,_0x543cd8=_0x54c6d4['length']-0x1,_0x7d1909;_0x543cd8>=0x0;_0x543cd8--)(_0x7d1909=_0x54c6d4[_0x543cd8])&&(_0x57e102=_0x7d1909(_0x57e102)||_0x57e102);return _0x57e102;},vt=(_0x4fcf04,_0x1ee96f)=>(_0x59310f,_0xc2501b)=>_0x1ee96f(_0x59310f,_0xc2501b,_0x4fcf04);let Ct=class extends _0x8e301e{constructor(_0x410f24,_0x4e6762,_0x5f32f6){var _0xf58407=_0x48e815;super(),N(this,_0xf58407(0x271),new _0x5c47bb(null)),N(this,'unitInfo$',this['_unitInfo$'][_0xf58407(0x308)]()),(this['_logService']=_0x410f24,this[_0xf58407(0x24d)]=_0x4e6762,this['_localCacheService']=_0x5f32f6);}async[_0x48e815(0x449)](_0x3b9dc7,_0x549e03,_0xc890c4){var _0x2de28f=_0x48e815;this[_0x2de28f(0x271)]['next']({'unitId':_0x3b9dc7,'type':_0x549e03});let _0x5b3624=null;switch(_0x549e03){case Z[_0x2de28f(0x371)]:{_0x5b3624=await this['_snapshotService'][_0x2de28f(0x29d)](_0x3b9dc7,_0xc890c4);break;}case Z[_0x2de28f(0x1b3)]:{_0x5b3624=await this[_0x2de28f(0x24d)]['loadDoc'](_0x3b9dc7,_0xc890c4);break;}default:{this['_logService'][_0x2de28f(0x2f9)]('[DataLoaderService]',_0x2de28f(0x1c5));break;}}return _0x5b3624;}async[_0x48e815(0x411)](_0x1ba0d6,_0x2b4fc1,_0x1cee19){var _0x1dde6a=_0x48e815,_0x3da136;this[_0x1dde6a(0x271)]['next']({'unitId':_0x1ba0d6,'type':_0x2b4fc1,'subUnitId':_0x1cee19});let _0x2c8da6=0x0;const _0x57a62a=await((_0x3da136=this[_0x1dde6a(0x26c)])==null?void 0x0:_0x3da136[_0x1dde6a(0x300)](_0x1ba0d6));return _0x57a62a&&(_0x57a62a['awaitingChangeset']||_0x57a62a[_0x1dde6a(0x378)][_0x1dde6a(0x455)]!==0x0)&&(_0x2c8da6=_0x57a62a[_0x1dde6a(0x2e2)]),_0x2c8da6===0x0&&this['_logService'][_0x1dde6a(0x1fd)](_0x1dde6a(0x2c1),_0x1dde6a(0x257)),this[_0x1dde6a(0x449)](_0x1ba0d6,_0x2b4fc1,_0x2c8da6);}};Ct=Fn([vt(0x0,_0x45ccfb),vt(0x1,_0xe5fc48(_0x120535)),vt(0x2,_0x5b024c(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x290edb,_0x440dd7,_0x42ba6d,_0x8caba9)=>{for(var _0x5bbd64=_0x8caba9>0x1?void 0x0:_0x8caba9?Vn(_0x440dd7,_0x42ba6d):_0x440dd7,_0x2039de=_0x290edb['length']-0x1,_0x156e9b;_0x2039de>=0x0;_0x2039de--)(_0x156e9b=_0x290edb[_0x2039de])&&(_0x5bbd64=_0x156e9b(_0x5bbd64)||_0x5bbd64);return _0x5bbd64;},pt=(_0xc266f0,_0x428f52)=>(_0x1a352b,_0x7bb8d0)=>_0x428f52(_0x1a352b,_0x7bb8d0,_0xc266f0);const Gn=['image/png',_0x48e815(0x31c),_0x48e815(0x475),_0x48e815(0x36a),_0x48e815(0x39f)],Yn=0x5*0x400*0x400,Kn=_0x48e815(0x2e6),qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0xb3d3f4,_0x4883a3,_0x1f555d){var _0xe749d8=_0x48e815;N(this,_0xe749d8(0x35b),0x0),N(this,_0xe749d8(0x330),new _0x57bfb2()),N(this,_0xe749d8(0x1ee),this[_0xe749d8(0x330)]),N(this,_0xe749d8(0x2fd),new Map()),(this[_0xe749d8(0x182)]=_0xb3d3f4,this[_0xe749d8(0x35d)]=_0x4883a3,this[_0xe749d8(0x1f0)]=_0x1f555d);}[_0x48e815(0x2dc)](_0x21355c){var _0x508a95=_0x48e815;this[_0x508a95(0x35b)]=_0x21355c,this[_0x508a95(0x330)][_0x508a95(0x2a0)](_0x21355c);}[_0x48e815(0x463)](_0x2e8b80,_0x38503a){var _0x2193e3=_0x48e815;if(_0x38503a===_0x11397c[_0x2193e3(0x2bc)]){const _0x4ea841=new Image();return _0x4ea841['src']=_0x2e8b80,_0x4ea841;}return this[_0x2193e3(0x2fd)]['get'](_0x2e8b80);}[_0x48e815(0x3f6)](_0xe1def4,_0x4789c8,_0x30b43b){var _0x23286c=_0x48e815;_0x4789c8===_0x11397c[_0x23286c(0x2bc)]||_0x30b43b==null||this[_0x23286c(0x2fd)][_0x23286c(0x247)](_0xe1def4,_0x30b43b);}async['getImage'](_0x335016){var _0x579057=_0x48e815;try{const _0x2b2a9d=this[_0x579057(0x3a8)](this[_0x579057(0x253)](),''+_0x335016),_0x52f99b=(await this[_0x579057(0x182)][_0x579057(0x205)](_0x2b2a9d))[_0x579057(0x177)];if(_0x52f99b[_0x579057(0x2f9)]&&_0x52f99b[_0x579057(0x2f9)][_0x579057(0x208)]===vi['OK']){const _0x10a332=new URL(_0x52f99b['url'],this[_0x579057(0x370)]())[_0x579057(0x1f3)]();return Promise[_0x579057(0x303)](_0x10a332);}return Promise[_0x579057(0x35f)](_0x52f99b['error']);}catch(_0x33d508){return Promise[_0x579057(0x35f)](_0x33d508);}}async['saveImage'](_0x38d700){var _0x16e82f=_0x48e815;let _0x1c4324='';if(!Gn[_0x16e82f(0x448)](_0x38d700[_0x16e82f(0x186)]))return this['_decreaseWaiting'](),Promise[_0x16e82f(0x35f)](new Error(_0x2d6ddd[_0x16e82f(0x400)]));if(_0x38d700[_0x16e82f(0x42a)]>Yn)return this[_0x16e82f(0x21a)](),Promise[_0x16e82f(0x35f)](new Error(_0x2d6ddd[_0x16e82f(0x1ea)]));try{const _0x5168d2=new FormData();_0x5168d2[_0x16e82f(0x386)](_0x16e82f(0x1e4),_0x38d700);const _0x4610cc=this[_0x16e82f(0x1f0)][_0x16e82f(0x264)](),_0x3907d9=_0x4610cc==null?void 0x0:_0x4610cc[_0x16e82f(0x462)]();if(!_0x3907d9)throw new Error(_0x16e82f(0x241));const _0x5dbdb1=this[_0x16e82f(0x31e)]()+_0x16e82f(0x22b)+_0x38d700[_0x16e82f(0x42a)][_0x16e82f(0x1f3)]()+'&source='+pi[_0x16e82f(0x290)]+_0x16e82f(0x20c)+encodeURIComponent(_0x3907d9),_0x350c23={'body':_0x5168d2},_0xb2c2a=(await this[_0x16e82f(0x182)]['post'](_0x5dbdb1,_0x350c23))[_0x16e82f(0x177)];if(typeof _0xb2c2a[_0x16e82f(0x30c)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x2d6ddd[_0x16e82f(0x242)]));_0x1c4324=_0xb2c2a['FileId'];}catch{return this[_0x16e82f(0x21a)](),Promise[_0x16e82f(0x35f)](new Error(_0x2d6ddd[_0x16e82f(0x242)]));}return new Promise((_0x5bba2e,_0x4ee0f3)=>{var _0x272674=_0x16e82f;const _0x15d2a3=new FileReader();_0x15d2a3[_0x272674(0x405)](_0x38d700),_0x15d2a3[_0x272674(0x231)]=_0x18ee78=>{var _0x96484f=_0x272674,_0x5c1140;const _0x14ec1d=(_0x5c1140=_0x18ee78[_0x96484f(0x2eb)])==null?void 0x0:_0x5c1140[_0x96484f(0x481)];if(_0x14ec1d==null){this[_0x96484f(0x21a)](),_0x4ee0f3(new Error(_0x2d6ddd['ERROR_IMAGE']));return;}const _0x1d693f=_0x29a09a(0x6);_0x5bba2e({'imageId':_0x1d693f,'imageSourceType':_0x11397c[_0x96484f(0x38b)],'source':_0x1c4324,'base64Cache':_0x14ec1d,'status':_0x2d6ddd['SUCCUSS']}),this[_0x96484f(0x21a)]();};});}[_0x48e815(0x31e)](){var _0x26490b=_0x48e815,_0x470349;const _0x3f0750=this[_0x26490b(0x35d)][_0x26490b(0x3ca)](K);return(_0x470349=_0x3f0750==null?void 0x0:_0x3f0750[_0x26490b(0x373)])!=null?_0x470349:Kn;}['_getSignURL'](){var _0x2c1124=_0x48e815,_0xbed38f;const _0x37390e=this['_configService'][_0x2c1124(0x3ca)](K);return(_0xbed38f=_0x37390e==null?void 0x0:_0x37390e[_0x2c1124(0x17d)])!=null?_0xbed38f:qn;}[_0x48e815(0x370)](){var _0x50563f=_0x48e815,_0x5523fe;const _0x1a381a=this['_configService'][_0x50563f(0x3ca)](K);return(_0x5523fe=_0x1a381a==null?void 0x0:_0x1a381a[_0x50563f(0x2a1)])!=null?_0x5523fe:location[_0x50563f(0x343)];}['_replaceFileID'](_0x305b0a,_0x250e0a){var _0x51e927=_0x48e815;return _0x305b0a[_0x51e927(0x1a5)](_0x51e927(0x2b6),_0x250e0a);}[_0x48e815(0x21a)](){var _0x1390ed=_0x48e815;this['_waitCount']-=0x1,this[_0x1390ed(0x330)][_0x1390ed(0x2a0)](this['_waitCount']);}};Rt=Wn([pt(0x0,_0xe5fc48(_0x5beaf6)),pt(0x1,_0x1354c0),pt(0x2,_0xe5fc48(_0x1d4196))],Rt);var zn=Object[_0x48e815(0x40f)],Jn=(_0x339b,_0x13f024,_0x425a92,_0x2fc0c1)=>{var _0x1ef3d4=_0x48e815;for(var _0x2bb61a=_0x2fc0c1>0x1?void 0x0:_0x2fc0c1?zn(_0x13f024,_0x425a92):_0x13f024,_0x5e64de=_0x339b[_0x1ef3d4(0x455)]-0x1,_0x228d40;_0x5e64de>=0x0;_0x5e64de--)(_0x228d40=_0x339b[_0x5e64de])&&(_0x2bb61a=_0x228d40(_0x2bb61a)||_0x2bb61a);return _0x2bb61a;},ai=(_0x451f25,_0xc8948e)=>(_0x2ce14b,_0x2463c2)=>_0xc8948e(_0x2ce14b,_0x2463c2,_0x451f25);const Xn=_0x48e815(0x245);let Ot=class{constructor(_0xf77ed,_0x445c79){var _0x217456=_0x48e815;this[_0x217456(0x35d)]=_0xf77ed,this[_0x217456(0x2ca)]=_0x445c79;}[_0x48e815(0x200)](){var _0x44eb5c=_0x48e815,_0x8eb58a;const _0x219d44=this['_configService'][_0x44eb5c(0x3ca)](K);return(_0x8eb58a=_0x219d44==null?void 0x0:_0x219d44[_0x44eb5c(0x2d4)])!=null?_0x8eb58a:Xn;}async[_0x48e815(0x42b)](_0x26e177){var _0x5a6725=_0x48e815;const _0x5bd351=this['_getAPIPrefixPath']()+_0x5a6725(0x293);return{'list':[{'title':_0x5a6725(0x3e5),'mentions':(await this[_0x5a6725(0x2ca)]['get'](_0x5bd351,{'params':{'objectID':_0x26e177[_0x5a6725(0x17c)],'unitID':_0x26e177[_0x5a6725(0x17c)]}}))['body'][_0x5a6725(0x197)][_0x5a6725(0x465)](_0x387bde=>({'objectId':_0x387bde['id'],'name':_0x387bde['subject'][_0x5a6725(0x32a)],'metadata':{'icon':_0x387bde['subject'][_0x5a6725(0x1c7)]},'label':_0x387bde['subject']['name'],'objectType':_0x18f707[_0x5a6725(0x1db)]})),'metadata':{},'type':_0x18f707[_0x5a6725(0x1db)]}]};}};Ot=Jn([ai(0x0,_0xe5fc48(_0x1354c0)),ai(0x1,_0xe5fc48(_0x5beaf6))],Ot);var Zn=Object[_0x48e815(0x40f)],Qn=(_0x335bba,_0x1d3021,_0x414a53,_0x4a878f)=>{var _0x2aa123=_0x48e815;for(var _0x2b50e7=_0x4a878f>0x1?void 0x0:_0x4a878f?Zn(_0x1d3021,_0x414a53):_0x1d3021,_0x2904a5=_0x335bba[_0x2aa123(0x455)]-0x1,_0x29f78b;_0x2904a5>=0x0;_0x2904a5--)(_0x29f78b=_0x335bba[_0x2904a5])&&(_0x2b50e7=_0x29f78b(_0x2b50e7)||_0x2b50e7);return _0x2b50e7;},Ae=(_0x2d16d2,_0x8a8aca)=>(_0x23629b,_0x56ca89)=>_0x8a8aca(_0x23629b,_0x56ca89,_0x2d16d2);let ot=class extends _0x8e301e{constructor(_0x2ff81c,_0x5002b5,_0x5e896e,_0x24c6fd,_0x3ec0f4){var _0x51b05c=_0x48e815;super(),this[_0x51b05c(0x25b)]=_0x2ff81c,this['_univerInstanceService']=_0x5002b5,this[_0x51b05c(0x18f)]=_0x5e896e,this[_0x51b05c(0x2cf)]=_0x24c6fd,this[_0x51b05c(0x332)]=_0x3ec0f4,this[_0x51b05c(0x3c5)](),this[_0x51b05c(0x2da)]();}[_0x48e815(0x2da)](){var _0x4f1c9b=_0x48e815;const _0x520f55=async _0xc4e5bf=>{var _0x592cdc=_0x5b1d;(await this[_0x592cdc(0x2cf)][_0x592cdc(0x2bb)](_0xc4e5bf))[_0x592cdc(0x193)][_0x592cdc(0x358)](_0xae1022(_0x2764c7=>_0x2764c7[_0x592cdc(0x19c)]===_0x3ea884['SHOULD_CLOSE_CONN']),_0x3bb276(this[_0x592cdc(0x3be)]))['subscribe'](_0x42eb9=>{var _0x33b8ad=_0x592cdc;const _0x50ac1c=_0x42eb9,{reason:_0x634830}=_0x50ac1c['data'];this[_0x33b8ad(0x332)][_0x33b8ad(0x3a6)]({'id':ne['CLOSE_ROOM'],'data':_0x634830}),this[_0x33b8ad(0x18f)][_0x33b8ad(0x259)](new _0x11e3c6(_0xc4e5bf)['id'],!0x1),this[_0x33b8ad(0x2cf)][_0x33b8ad(0x1d4)](_0xc4e5bf);});};_0x408112(this[_0x4f1c9b(0x1f0)][_0x4f1c9b(0x3a1)](_0x2b3da6[_0x4f1c9b(0x371)]),this['_univerInstanceService'][_0x4f1c9b(0x3a1)](_0x2b3da6[_0x4f1c9b(0x1b3)]))[_0x4f1c9b(0x358)](_0x8eeacb(_0x13898d=>_0x13898d[_0x4f1c9b(0x462)]()),_0xae1022(_0x58d2e7=>!_0x23da9c(_0x58d2e7)),_0x3bb276(this['dispose$']))[_0x4f1c9b(0x445)](_0x3d25ac=>{_0x520f55(_0x3d25ac);});}[_0x48e815(0x3c5)](){var _0x536a1e=_0x48e815;const _0x4ebef7=async _0x13f3d2=>{var _0x28ca16=_0x5b1d;const _0x3fb918=await this['_collaborationSessionService'][_0x28ca16(0x2bb)](_0x13f3d2),_0x317c47=this[_0x28ca16(0x25b)][_0x28ca16(0x205)](_0x63f140);_0x3fb918[_0x28ca16(0x193)]['pipe'](_0xae1022(_0x268da4=>_0x268da4[_0x28ca16(0x19c)]===_0x3ea884['UPDATE_PERMISSION_OBJ']),_0x3bb276(this[_0x28ca16(0x3be)]))[_0x28ca16(0x445)](_0x1a8624=>{const _0x14732b=_0x1a8624,{objectId:_0x78c1cb}=_0x14732b['data'];_0x78c1cb===_0x13f3d2?_0x317c47['initWorkbookPermissionChange'](_0x13f3d2):_0x317c47['refreshPermission'](_0x13f3d2,_0x78c1cb);});};_0x408112(this[_0x536a1e(0x1f0)][_0x536a1e(0x3a1)](_0x2b3da6[_0x536a1e(0x371)]))[_0x536a1e(0x358)](_0x8eeacb(_0x369526=>_0x369526[_0x536a1e(0x462)]()),_0xae1022(_0x1beb49=>!_0x23da9c(_0x1beb49)),_0x3bb276(this[_0x536a1e(0x3be)]))['subscribe'](_0x5989a4=>{_0x4ebef7(_0x5989a4);});}};ot=Qn([Ae(0x0,_0xe5fc48(_0x5f3072)),Ae(0x1,_0x1d4196),Ae(0x2,_0x3d56a3),Ae(0x3,_0xe5fc48(Me)),Ae(0x4,_0xe5fc48(ve))],ot);var er=Object[_0x48e815(0x40f)],tr=(_0x1862f0,_0x5678ad,_0x2bcbc5,_0x4be50d)=>{var _0x4bb22f=_0x48e815;for(var _0x47dd7b=_0x4be50d>0x1?void 0x0:_0x4be50d?er(_0x5678ad,_0x2bcbc5):_0x5678ad,_0x23e7d4=_0x1862f0[_0x4bb22f(0x455)]-0x1,_0x264d43;_0x23e7d4>=0x0;_0x23e7d4--)(_0x264d43=_0x1862f0[_0x23e7d4])&&(_0x47dd7b=_0x264d43(_0x47dd7b)||_0x47dd7b);return _0x47dd7b;},oi=(_0x1f988f,_0x5911ef)=>(_0x4344b3,_0x3ccaa9)=>_0x5911ef(_0x4344b3,_0x3ccaa9,_0x1f988f);function _0x5b1d(_0x4aed63,_0x5b70e4){var _0x25dc89=_0x25dc();return _0x5b1d=function(_0x5b1d9c,_0x3a525d){_0x5b1d9c=_0x5b1d9c-0x16e;var _0x223a95=_0x25dc89[_0x5b1d9c];return _0x223a95;},_0x5b1d(_0x4aed63,_0x5b70e4);}let bt=class{constructor(_0x2e43a0,_0x1d5e37){var _0x5c24e2=_0x48e815;this[_0x5c24e2(0x35d)]=_0x2e43a0,this[_0x5c24e2(0x182)]=_0x1d5e37;}async[_0x48e815(0x42d)](_0x40d9cc,_0x46700a){var _0x585578=_0x48e815,_0x50114d;const {unitID:_0x5acbe4,type:_0xe8c7,revision:_0x5079f6=0x0}=_0x46700a,_0x47e237=this['getSnapshotAPIPath']()+'/'+_0xe8c7+_0x585578(0x2df)+_0x5acbe4+_0x585578(0x220)+_0x5079f6,_0x40ab89=(await this[_0x585578(0x182)][_0x585578(0x205)](_0x47e237))[_0x585578(0x177)],_0x292488=(_0x50114d=_0x40ab89[_0x585578(0x1b7)])==null?void 0x0:_0x50114d[_0x585578(0x240)];if(_0x292488){const _0xc2c72e=_0x292488==null?void 0x0:_0x292488[_0x585578(0x236)],_0x1e7fda=_0x39b23f[_0x585578(0x2b2)](_0x2f0c36(_0xc2c72e));_0x292488[_0x585578(0x236)]=_0x1e7fda,Object[_0x585578(0x18c)](_0x292488[_0x585578(0x19b)])[_0x585578(0x459)](([,_0x3213fb])=>{var _0x3ce494=_0x585578;const _0x52ad03=_0x3213fb['originalMeta'],_0x590c56=_0x39b23f[_0x3ce494(0x2b2)](_0x2f0c36(_0x52ad03));_0x3213fb[_0x3ce494(0x236)]=_0x590c56;});}return _0x40ab89;}async[_0x48e815(0x45e)](_0x2acd29,_0x3561e5){var _0x5480c5=_0x48e815;const {unitID:_0x2f9289,type:_0x2269c9,blockID:_0x5b85bf}=_0x3561e5,_0x315a37=this['_getAPIPrefix']()+'/'+_0x2269c9+_0x5480c5(0x2df)+_0x2f9289+_0x5480c5(0x283)+_0x5b85bf;return(await this[_0x5480c5(0x182)][_0x5480c5(0x205)](_0x315a37))[_0x5480c5(0x177)];}async[_0x48e815(0x34d)](_0x3cb193,_0x21d179){var _0x516e6b=_0x48e815;const {unitID:_0x55069f,type:_0x23f2e7,blockID:_0x1cdeff}=_0x21d179,_0x3dad4f=this[_0x516e6b(0x299)]()+_0x516e6b(0x283)+_0x23f2e7+'/unit/'+_0x55069f+_0x516e6b(0x283)+_0x1cdeff;return(await this['_httpService']['get'](_0x3dad4f))[_0x516e6b(0x177)];}async[_0x48e815(0x317)](_0x219d86,_0x35a041){var _0x3b29a9=_0x48e815;const {unitID:_0x214b51,type:_0x1c97f9,from:_0x4e52bc,to:_0x252acb}=_0x35a041,_0x2ec9c4=this[_0x3b29a9(0x299)]()+'/'+_0x1c97f9+'/unit/'+_0x214b51+_0x3b29a9(0x3b5)+_0x4e52bc+_0x3b29a9(0x444)+_0x252acb;return(await this[_0x3b29a9(0x182)][_0x3b29a9(0x205)](_0x2ec9c4))[_0x3b29a9(0x177)];}[_0x48e815(0x441)](){var _0x3a86c8=_0x48e815,_0x36d4b7;return(_0x36d4b7=this[_0x3a86c8(0x35d)][_0x3a86c8(0x3ca)](vs))!=null?_0x36d4b7:this[_0x3a86c8(0x299)]();}[_0x48e815(0x299)](){var _0x40a552=_0x48e815,_0x290eaf;const _0x395035=this[_0x40a552(0x35d)][_0x40a552(0x3ca)](K);return(_0x290eaf=_0x395035==null?void 0x0:_0x395035['snapshotServerUrl'])!=null?_0x290eaf:fs;}async[_0x48e815(0x3dc)](_0x594988,_0x5c7ad1){var _0x8ddc55=_0x48e815;const _0x4092be=_0x8ddc55(0x198)+_0x5c7ad1['type']+_0x8ddc55(0x2df)+_0x5c7ad1[_0x8ddc55(0x3e7)]+_0x8ddc55(0x203);return(await this[_0x8ddc55(0x182)][_0x8ddc55(0x205)](_0x4092be,{'params':{'resourceId':JSON[_0x8ddc55(0x464)](_0x5c7ad1['resourceIDs'])}}))[_0x8ddc55(0x177)];}[_0x48e815(0x44b)](){var _0x2bb015=_0x48e815;throw new Error(_0x2bb015(0x1cc));}[_0x48e815(0x23a)](){var _0x1778dc=_0x48e815;throw new Error(_0x1778dc(0x1cc));}[_0x48e815(0x196)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x48e815(0x1d2)](){var _0x1e415d=_0x48e815;throw new Error(_0x1e415d(0x1cc));}[_0x48e815(0x258)](){var _0x49fc29=_0x48e815;throw new Error(_0x49fc29(0x1cc));}};bt=tr([oi(0x0,_0x1354c0),oi(0x1,_0xe5fc48(_0x5beaf6))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x17c3ba,_0x29ff1b,_0x41dcfa,_0x341c9e)=>{var _0x49b1b3=_0x48e815;for(var _0x3fb126=_0x341c9e>0x1?void 0x0:_0x341c9e?ir(_0x29ff1b,_0x41dcfa):_0x29ff1b,_0x55acc3=_0x17c3ba[_0x49b1b3(0x455)]-0x1,_0x43d673;_0x55acc3>=0x0;_0x55acc3--)(_0x43d673=_0x17c3ba[_0x55acc3])&&(_0x3fb126=_0x43d673(_0x3fb126)||_0x3fb126);return _0x3fb126;},we=(_0x5c64e4,_0x1d5325)=>(_0x3676af,_0x9c32ed)=>_0x1d5325(_0x3676af,_0x9c32ed,_0x5c64e4);let yt=class extends _0x24f08d{constructor(_0x433f02,_0x1af301,_0x4f1e47,_0x21c939,_0x527f76){var _0x55f20a=_0x48e815;super(_0x433f02,_0x1af301,_0x4f1e47),this['_transformService']=_0x21c939,this[_0x55f20a(0x23f)]=_0x527f76;}[_0x48e815(0x2a2)](_0x239c96,_0x3ca2d4){var _0x4b3eb5=_0x48e815;const _0x2d1206=this[_0x4b3eb5(0x25c)](_0x239c96);if(_0x2d1206)try{const _0x561cfa=this[_0x4b3eb5(0x23e)](_0x2d1206,_0x3ca2d4);this[_0x4b3eb5(0x428)](_0x239c96,_0x561cfa);}catch(_0x1597b3){this[_0x4b3eb5(0x23f)][_0x4b3eb5(0x2f9)](_0x4b3eb5(0x40b),_0x1597b3),this['_clearUndo'](_0x239c96);}const _0x1611d9=this[_0x4b3eb5(0x346)](_0x239c96);if(_0x1611d9)try{const _0x5cb602=this['_transformStack'](_0x1611d9,_0x3ca2d4);this[_0x4b3eb5(0x19f)](_0x239c96,_0x5cb602);}catch(_0x93370d){this[_0x4b3eb5(0x23f)][_0x4b3eb5(0x2f9)](_0x93370d),this[_0x4b3eb5(0x361)](_0x239c96);}}['_clearUndo'](_0x57eaf7){var _0x2cdb68=_0x48e815;const _0x1fe7e3=this['_getUndoStack'](_0x57eaf7);_0x1fe7e3&&(_0x1fe7e3[_0x2cdb68(0x455)]=0x0,this[_0x2cdb68(0x3a2)]());}['_clearRedo'](_0xfa1807){var _0x57978c=_0x48e815;const _0x3af65f=this[_0x57978c(0x346)](_0xfa1807);_0x3af65f&&(_0x3af65f['length']=0x0,this[_0x57978c(0x3a2)]());}[_0x48e815(0x428)](_0x48c3e5,_0x428613){var _0x22593f=_0x48e815;this['_undoStacks'][_0x22593f(0x247)](_0x48c3e5,_0x428613),this[_0x22593f(0x3a2)]();}[_0x48e815(0x19f)](_0x14dcd7,_0x1f6c06){var _0x3a375f=_0x48e815;this[_0x3a375f(0x30f)]['set'](_0x14dcd7,_0x1f6c06),this[_0x3a375f(0x3a2)]();}[_0x48e815(0x23e)](_0x41b0c7,_0x64f2c9){var _0x205071=_0x48e815;const _0x407e7c=[];let _0x1d3428=_0x64f2c9,_0x3bacdf=_0x64f2c9;for(let _0xbf2ce0=_0x41b0c7[_0x205071(0x455)]-0x1;_0xbf2ce0>=0x0;_0xbf2ce0--){const {unitID:_0x77d0f3,undoMutations:_0x43bb9b,redoMutations:_0x55e7d8}=_0x41b0c7[_0xbf2ce0],_0x57eef3=this[_0x205071(0x396)][_0x205071(0x45b)](_0x1d3428,_0x43bb9b),_0x32dd4b=this[_0x205071(0x396)][_0x205071(0x45b)](_0x3bacdf,_0x55e7d8);if(_0x48be92(_0x57eef3)||_0x48be92(_0x32dd4b)){this[_0x205071(0x23f)]['error']('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x57eef3,_0x32dd4b);break;}_0x1d3428=_0x57eef3[_0x205071(0x452)],_0x3bacdf=_0x32dd4b['c1Prime'],_0x407e7c[_0x205071(0x21e)]({'unitID':_0x77d0f3,'undoMutations':_0x57eef3['m2Prime'],'redoMutations':_0x32dd4b['m2Prime']});}return _0x407e7c[_0x205071(0x388)]();}};yt=sr([we(0x0,_0x1d4196),we(0x1,_0x450933),we(0x2,_0x18e758),we(0x3,_0x320ac0),we(0x4,_0x45ccfb)],yt);var nr=Object[_0x48e815(0x44c)],rr=Object[_0x48e815(0x40f)],ar=(_0x127360,_0xfda35a,_0x4083e6)=>_0xfda35a in _0x127360?nr(_0x127360,_0xfda35a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4083e6}):_0x127360[_0xfda35a]=_0x4083e6,or=(_0x212297,_0x14ae89,_0x286eac,_0x16f237)=>{var _0x4c55b9=_0x48e815;for(var _0xedf8b2=_0x16f237>0x1?void 0x0:_0x16f237?rr(_0x14ae89,_0x286eac):_0x14ae89,_0x2a45c7=_0x212297[_0x4c55b9(0x455)]-0x1,_0x11bd49;_0x2a45c7>=0x0;_0x2a45c7--)(_0x11bd49=_0x212297[_0x2a45c7])&&(_0xedf8b2=_0x11bd49(_0xedf8b2)||_0xedf8b2);return _0xedf8b2;},mt=(_0x1d07e8,_0x145058)=>(_0x21f15f,_0x356136)=>_0x145058(_0x21f15f,_0x356136,_0x1d07e8),cr=(_0x3a3aa6,_0x188fde,_0x3b5209)=>ar(_0x3a3aa6,_0x188fde+'',_0x3b5209);const hr=_0x48e815(0x2bd);let Nt=class extends _0x26dd55{constructor(_0x5dd85b,_0x4eb955,_0x51fef5,_0x1e7b37){var _0x2b4467=_0x48e815;super(),N(this,_0x2b4467(0x23b)),(this['_logService']=_0x4eb955,this['_injector']=_0x51fef5,this[_0x2b4467(0x35d)]=_0x1e7b37);const {..._0x1446f1}=_0x26db16({},Os,_0x5dd85b);if(!_0x1446f1[_0x2b4467(0x433)])throw new Error(_0x2b4467(0x21d));this[_0x2b4467(0x23b)]=_0x1446f1,this[_0x2b4467(0x35d)][_0x2b4467(0x234)](K,_0x1446f1);}[_0x48e815(0x1f6)](){var _0x2aafd6=_0x48e815;this['_registerDependencies'](),this[_0x2aafd6(0x447)]();}['_registerDependencies'](){var _0x36c548=_0x48e815,_0x4e0f50,_0x538217;this['_injector'][_0x36c548(0x40d)](_0x2e2de5)&&this[_0x36c548(0x23f)]['error'](_0x36c548(0x43a),_0x36c548(0x29f));const _0x577b12=_0x1872ab([[_0x2e2de5,{'useClass':yt}],[Me],[Pe],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this['_config'][_0x36c548(0x433)]}],[_0x198ff2,{'useClass':bt}],[_0x1bea93,{'useClass':Tt}],[_0x10fe2b,{'useClass':Rt}],[_0x574acb,{'useClass':Ot}],[nt],[It]],(_0x4e0f50=this[_0x36c548(0x23b)])==null?void 0x0:_0x4e0f50[_0x36c548(0x26a)]);if(!((_0x538217=this[_0x36c548(0x23b)])!=null&&_0x538217['enableSingleActiveInstanceLock'])){const _0x2805d5=_0x577b12['findIndex'](([_0x64bce9])=>_0x64bce9===ht);_0x2805d5!==-0x1&&_0x577b12[_0x36c548(0x280)](_0x2805d5,0x1);}_0x1a856c(this[_0x36c548(0x25b)],_0x577b12);}[_0x48e815(0x447)](){var _0x205c5e=_0x48e815,_0xf666bb,_0x17e451,_0x592a68;this[_0x205c5e(0x25b)][_0x205c5e(0x205)](_0x5beaf6)[_0x205c5e(0x36b)]({'priority':0x14,'interceptor':_0x179d27({'maxParallel':0x6})}),(_0xf666bb=this['_config'])!=null&&_0xf666bb[_0x205c5e(0x3ae)]||(_0x17e451=this[_0x205c5e(0x25b)]['get'](J,_0x22d1c9[_0x205c5e(0x281)]))==null||_0x17e451['disableLocalCache'](),(_0x592a68=this[_0x205c5e(0x23b)])!=null&&_0x592a68['enableAuthServer']&&_0xb9a930(this[_0x205c5e(0x25b)],[[rt]]),_0xb9a930(this[_0x205c5e(0x25b)],[[at],[nt],[ot]]);}};cr(Nt,'pluginName',hr),Nt=or([_0x2f892d(_0x5ebe43,_0xbb5aa8),mt(0x1,_0x45ccfb),mt(0x2,_0xe5fc48(_0x5f3072)),mt(0x3,_0x1354c0)],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,Me 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,Pe 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,Se 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};