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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +11 -11
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1970a9=_0x35ab;(function(_0x3810db,_0x4452de){var _0x4f0b77=_0x35ab,_0xfe3ff2=_0x3810db();while(!![]){try{var _0x564110=-parseInt(_0x4f0b77(0x283))/0x1*(-parseInt(_0x4f0b77(0x448))/0x2)+-parseInt(_0x4f0b77(0x193))/0x3*(-parseInt(_0x4f0b77(0x40f))/0x4)+-parseInt(_0x4f0b77(0x3b4))/0x5*(parseInt(_0x4f0b77(0x42f))/0x6)+-parseInt(_0x4f0b77(0x1fe))/0x7+parseInt(_0x4f0b77(0x22b))/0x8+parseInt(_0x4f0b77(0x1f0))/0x9+-parseInt(_0x4f0b77(0x454))/0xa;if(_0x564110===_0x4452de)break;else _0xfe3ff2['push'](_0xfe3ff2['shift']());}catch(_0x22ad79){_0xfe3ff2['push'](_0xfe3ff2['shift']());}}}(_0x39cf,0xce317));var bi=Object[_0x1970a9(0x3ed)],Di=(_0x22959d,_0x428508,_0x3b0348)=>_0x428508 in _0x22959d?bi(_0x22959d,_0x428508,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b0348}):_0x22959d[_0x428508]=_0x3b0348,D=(_0x176bcb,_0x3c35ad,_0x1160a7)=>Di(_0x176bcb,typeof _0x3c35ad!='symbol'?_0x3c35ad+'':_0x3c35ad,_0x1160a7);import{CollaborationEvent as _0x274cb2,ITransformService as _0x1f95db,isTransformMutationsWithChangesetSuccess as _0x5cc134,mapDocumentTypeToUniverType as _0x278b84,RevisionService as _0x54f50d,isTransformChangesetsSuccess as _0x24d7db,CompressMutationService as _0x19f875,parseProtocolChangeset as _0x36f6cc,uuidv4 as _0x48a14e,ISnapshotServerService as _0x4c2e80,parseChangesetToProtocol as _0x1edcfd,SnapshotService as _0x2e8d63,textEncoder as _0xfdba58,b64DecodeUnicode as _0x108a5b,isTransformMutationsWithChangesetFailure as _0x43d70f,UniverCollaborationPlugin as _0x49b531}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xe0db57,Inject as _0x253c3d,UserManagerService as _0x132f5c,Disposable as _0x14f4a8,UniverInstanceType as _0x3de6eb,ILogService as _0x41ff63,IConfigService as _0x4a008f,Optional as _0x36e38f,RxDisposable as _0x3dd074,createIdentifier as _0x2ffbe9,Injector as _0x9d7216,Tools as _0x3fe39d,Rectangle as _0xd93da,ICommandService as _0x2fde4d,JSONX as _0x56ce5b,CommandType as _0x384b46,IUndoRedoService as _0x5b65e3,IPermissionService as _0x4a0dfc,LocaleService as _0x1de809,sequenceExecute as _0x118b15,toDisposable as _0x19f54d,DisposableCollection as _0x2f5548,Workbook as _0x1bbd6e,generateRandomId as _0x4590a2,MentionType as _0x41dc11,isInternalEditorID as _0x369838,LocalUndoRedoService as _0x4abd47,IContextService as _0x23dd4f,DependentOn as _0x3a0f8e,Plugin as _0x39de00,merge as _0x32dbed,mergeOverrideWithDependencies as _0x2b78e4,IAuthzIoService as _0x2e6301,IMentionIOService as _0x5e3df7,registerDependencies as _0xc1daf3,Quantity as _0x256ea3,touchDependencies as _0x5cbcc9}from'@univerjs/core';import{RichTextEditingMutation as _0x3925f7}from'@univerjs/docs';import{SheetsSelectionsService as _0x15a0de,SetSelectionsOperation as _0x3964b0,InsertSheetMutation as _0xc6c030,EmptyMutation as _0x1f2acc,WorkbookEditablePermission as _0x50fba4,SheetPermissionInitController as _0x3f2d8f}from'@univerjs/sheets';import{Subject as _0x5c9b29,merge as _0x3c68f6,of as _0x4deaa7,BehaviorSubject as _0x3e8a63,takeUntil as _0x3b37d2,ReplaySubject as _0x586912,take as _0x4f52fd,map as _0x2d041f,shareReplay as _0x280f7e,firstValueFrom as _0x3d2cb0,concatMap as _0x1b3246}from'rxjs';import{ITelemetryService as _0x332aa7}from'@univerjs/telemetry';import{map as _0x54e938,take as _0x40c456,filter as _0xed575f,delay as _0x4313f6,takeUntil as _0x268a47}from'rxjs/operators';import{HTTPService as _0x2ab676,ISocketService as _0x2b260f,MergeInterceptorFactory as _0x12c28b,HTTPRequest as _0x4ba868,UniverNetworkPlugin as _0x3cb9ed,ThresholdInterceptorFactory as _0xc851f2}from'@univerjs/network';import{ImageSourceType as _0x53befb,ImageUploadStatusType as _0x1dc5a,IImageIoService as _0x198a92}from'@univerjs/drawing';import{getGlobalObject as _0x4717bc}from'@univerjs-pro/license';const fs=_0x1970a9(0x462),vs=_0x1970a9(0x433),ps=0x7d0,Es=_0x1970a9(0x183),gr=_0x1970a9(0x469),ms=_0x1970a9(0x3d3),Is=0x7530,di=_0x1970a9(0x1bd),fi=0x4e20,Ss=0x4e20,gs=_0x1970a9(0x264),Ts=0x3,Tr=_0x1970a9(0x2f3),Or=0x3e8,Os=_0x1970a9(0x357),Rs=_0x1970a9(0x237),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Cr=_0x1970a9(0x195);var vi=(_0x3e41ad=>(_0x3e41ad[_0x3e41ad[_0x1970a9(0x278)]=0x0]=_0x1970a9(0x278),_0x3e41ad[_0x3e41ad['OK']=0x1]='OK',_0x3e41ad[_0x3e41ad[_0x1970a9(0x342)]=0x2]=_0x1970a9(0x342),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1b3)]=0x3]=_0x1970a9(0x1b3),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1f1)]=0x4]='NOT_FOUND',_0x3e41ad[_0x3e41ad[_0x1970a9(0x397)]=0x5]='UNAUTHENTICATED',_0x3e41ad[_0x3e41ad[_0x1970a9(0x1f5)]=0x6]=_0x1970a9(0x1f5),_0x3e41ad[_0x3e41ad[_0x1970a9(0x442)]=0x7]='INVALID_ARGUMENT',_0x3e41ad[_0x3e41ad[_0x1970a9(0x20d)]=0x8]=_0x1970a9(0x20d),_0x3e41ad[_0x3e41ad[_0x1970a9(0x2b3)]=0x9]=_0x1970a9(0x2b3),_0x3e41ad[_0x3e41ad[_0x1970a9(0x308)]=0xa]=_0x1970a9(0x308),_0x3e41ad[_0x3e41ad['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x1970a9(0x218),_0x3e41ad[_0x3e41ad[_0x1970a9(0x2ca)]=0xc]=_0x1970a9(0x2ca),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1c4)]=0xd]=_0x1970a9(0x1c4),_0x3e41ad[_0x3e41ad[_0x1970a9(0x41e)]=0xe]=_0x1970a9(0x41e),_0x3e41ad[_0x3e41ad['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x1970a9(0x44f),_0x3e41ad[_0x3e41ad['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1970a9(0x260),_0x3e41ad[_0x3e41ad[_0x1970a9(0x361)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x3e41ad[_0x3e41ad[_0x1970a9(0x1ae)]=0x65]=_0x1970a9(0x1ae),_0x3e41ad[_0x3e41ad[_0x1970a9(0x396)]=0xc9]=_0x1970a9(0x396),_0x3e41ad[_0x3e41ad[_0x1970a9(0x33a)]=0xca]=_0x1970a9(0x33a),_0x3e41ad[_0x3e41ad['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1970a9(0x362),_0x3e41ad[_0x3e41ad['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3e41ad[_0x3e41ad[_0x1970a9(0x28a)]=0x1772]=_0x1970a9(0x28a),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3f6)]=0x1773]=_0x1970a9(0x3f6),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3d6)]=0x1b59]=_0x1970a9(0x3d6),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3f3)]=0x1b5a]=_0x1970a9(0x3f3),_0x3e41ad[_0x3e41ad[_0x1970a9(0x30f)]=0x1b5b]=_0x1970a9(0x30f),_0x3e41ad[_0x3e41ad[_0x1970a9(0x236)]=0x1b5c]=_0x1970a9(0x236),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3eb)]=0x1b5d]='APPLY_DUPLICATED',_0x3e41ad[_0x3e41ad['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1970a9(0x450),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3ff)]=0x2329]=_0x1970a9(0x3ff),_0x3e41ad[_0x3e41ad[_0x1970a9(0x38a)]=0x232a]=_0x1970a9(0x38a),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3c2)]=0x232b]=_0x1970a9(0x3c2),_0x3e41ad[_0x3e41ad[_0x1970a9(0x45a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3e41ad[_0x3e41ad[_0x1970a9(0x452)]=0x232d]=_0x1970a9(0x452),_0x3e41ad[_0x3e41ad['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3e41ad[_0x3e41ad[_0x1970a9(0x1fc)]=0x2712]=_0x1970a9(0x1fc),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3a7)]=0x2713]=_0x1970a9(0x3a7),_0x3e41ad[_0x3e41ad[_0x1970a9(0x43e)]=0x2714]=_0x1970a9(0x43e),_0x3e41ad[_0x3e41ad['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1970a9(0x2f0),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1e9)]=0x271b]=_0x1970a9(0x1e9),_0x3e41ad[_0x3e41ad[_0x1970a9(0x266)]=0x271c]=_0x1970a9(0x266),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3c8)]=0x271d]=_0x1970a9(0x3c8),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1b2)]=0x271e]=_0x1970a9(0x1b2),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3e1)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3e41ad[_0x3e41ad[_0x1970a9(0x426)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3e41ad[_0x3e41ad[_0x1970a9(0x267)]=0x2af9]=_0x1970a9(0x267),_0x3e41ad[_0x3e41ad[_0x1970a9(0x413)]=0x2ee1]=_0x1970a9(0x413),_0x3e41ad[_0x3e41ad[_0x1970a9(0x30c)]=0x2ee2]='INVALID_INVITE_CODE',_0x3e41ad[_0x3e41ad['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1970a9(0x3d9),_0x3e41ad[_0x3e41ad[_0x1970a9(0x471)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3e41ad[_0x3e41ad[_0x1970a9(0x3a4)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3e41ad[_0x3e41ad[_0x1970a9(0x1c1)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3e41ad[_0x3e41ad[_0x1970a9(0x271)]=0x32ca]=_0x1970a9(0x271),_0x3e41ad[_0x3e41ad['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1970a9(0x290),_0x3e41ad[_0x3e41ad[_0x1970a9(0x34f)]=0x36b1]=_0x1970a9(0x34f),_0x3e41ad[_0x3e41ad[_0x1970a9(0x22f)]=0x36b2]=_0x1970a9(0x22f),_0x3e41ad[_0x3e41ad[_0x1970a9(0x375)]=0x36b3]=_0x1970a9(0x375),_0x3e41ad[_0x3e41ad[_0x1970a9(0x28d)]=0x36b4]=_0x1970a9(0x28d),_0x3e41ad[_0x3e41ad[_0x1970a9(0x269)]=0x3715]=_0x1970a9(0x269),_0x3e41ad[_0x3e41ad[_0x1970a9(0x2a6)]=0x3716]=_0x1970a9(0x2a6),_0x3e41ad[_0x3e41ad['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1970a9(0x26a),_0x3e41ad[_0x3e41ad['REDEMPTION_INVALID_CODE']=0x3a99]=_0x1970a9(0x3ee),_0x3e41ad[_0x3e41ad[_0x1970a9(0x167)]=0x3a9a]=_0x1970a9(0x167),_0x3e41ad[_0x3e41ad[_0x1970a9(0x1ec)]=0x3a9b]=_0x1970a9(0x1ec),_0x3e41ad[_0x3e41ad[_0x1970a9(0x26e)]=0x3a9c]=_0x1970a9(0x26e),_0x3e41ad[_0x3e41ad['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1970a9(0x210),_0x3e41ad[_0x3e41ad['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1970a9(0x204),_0x3e41ad[_0x3e41ad[_0x1970a9(0x3cf)]=0x3a9f]=_0x1970a9(0x3cf),_0x3e41ad[_0x3e41ad[_0x1970a9(0x437)]=-0x1]='UNRECOGNIZED',_0x3e41ad))(vi||{}),Q=(_0x1a9d6b=>(_0x1a9d6b[_0x1a9d6b['UNIVER_UNKNOWN']=0x0]=_0x1970a9(0x1f3),_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x466)]=0x1]=_0x1970a9(0x466),_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x441)]=0x2]=_0x1970a9(0x441),_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x2a4)]=0x3]='UNIVER_SLIDE',_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x3fd)]=0x4]=_0x1970a9(0x3fd),_0x1a9d6b[_0x1a9d6b[_0x1970a9(0x437)]=-0x1]=_0x1970a9(0x437),_0x1a9d6b))(Q||{}),F=(_0x17cd72=>(_0x17cd72[_0x17cd72[_0x1970a9(0x23c)]=0x0]=_0x1970a9(0x23c),_0x17cd72[_0x17cd72[_0x1970a9(0x381)]=0x1]=_0x1970a9(0x381),_0x17cd72[_0x17cd72[_0x1970a9(0x2b6)]=0x2]=_0x1970a9(0x2b6),_0x17cd72[_0x17cd72['LEAVE']=0x3]=_0x1970a9(0x229),_0x17cd72[_0x17cd72[_0x1970a9(0x33c)]=0x4]=_0x1970a9(0x33c),_0x17cd72[_0x17cd72[_0x1970a9(0x238)]=0x5]=_0x1970a9(0x238),_0x17cd72[_0x17cd72['RECV']=0x6]=_0x1970a9(0x376),_0x17cd72[_0x17cd72[_0x1970a9(0x437)]=-0x1]=_0x1970a9(0x437),_0x17cd72))(F||{}),pe=(_0x4211b8=>(_0x4211b8[_0x4211b8[_0x1970a9(0x302)]=0x0]='UNKNOWN_CODE',_0x4211b8[_0x4211b8['OK']=0x1]='OK',_0x4211b8[_0x4211b8['FAIL']=0x2]=_0x1970a9(0x1ca),_0x4211b8[_0x4211b8[_0x1970a9(0x367)]=0x3e9]=_0x1970a9(0x367),_0x4211b8[_0x4211b8[_0x1970a9(0x282)]=0x3ea]=_0x1970a9(0x282),_0x4211b8[_0x4211b8[_0x1970a9(0x1b1)]=0x3eb]=_0x1970a9(0x1b1),_0x4211b8[_0x4211b8[_0x1970a9(0x232)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4211b8[_0x4211b8[_0x1970a9(0x437)]=-0x1]=_0x1970a9(0x437),_0x4211b8))(pe||{}),pi=(_0x2ef33c=>(_0x2ef33c[_0x2ef33c[_0x1970a9(0x355)]=0x0]=_0x1970a9(0x355),_0x2ef33c[_0x2ef33c[_0x1970a9(0x256)]=0x1]=_0x1970a9(0x256),_0x2ef33c[_0x2ef33c[_0x1970a9(0x163)]=0x2]=_0x1970a9(0x163),_0x2ef33c[_0x2ef33c[_0x1970a9(0x2a0)]=0x3]='UnitEmbedded',_0x2ef33c[_0x2ef33c[_0x1970a9(0x1df)]=0x4]='UnitSnapshot',_0x2ef33c[_0x2ef33c[_0x1970a9(0x391)]=0x5]='UserProfileImg',_0x2ef33c[_0x2ef33c[_0x1970a9(0x2ff)]=0x6]=_0x1970a9(0x2ff),_0x2ef33c[_0x2ef33c[_0x1970a9(0x437)]=-0x1]='UNRECOGNIZED',_0x2ef33c))(pi||{});const Cs=_0x1970a9(0x3a3);function Ns(_0x12104b){var _0x3ba7bb=_0x1970a9;return JSON[_0x3ba7bb(0x1af)](_0x12104b)['length'];}var re=(_0x59fa6a=>(_0x59fa6a[_0x1970a9(0x39c)]='OTHER_CLIENT_EDITING',_0x59fa6a[_0x1970a9(0x1b3)]=_0x1970a9(0x1b3),_0x59fa6a[_0x1970a9(0x457)]=_0x1970a9(0x457),_0x59fa6a[_0x1970a9(0x41c)]=_0x1970a9(0x41c),_0x59fa6a[_0x1970a9(0x176)]=_0x1970a9(0x176),_0x59fa6a['SOCKET_FAILED_RETRY']=_0x1970a9(0x28b),_0x59fa6a['SOCKET_FAILED']=_0x1970a9(0x231),_0x59fa6a[_0x1970a9(0x206)]='SUBMIT_CHANGESET_TIMEOUT',_0x59fa6a))(re||{});class ve{constructor(){var _0x41faab=_0x1970a9;D(this,'_event$',new _0x5c9b29()),D(this,_0x41faab(0x2b5),this[_0x41faab(0x3f7)]['asObservable']());}[_0x1970a9(0x1f7)](_0x3540b5){var _0x56601f=_0x1970a9;this[_0x56601f(0x3f7)][_0x56601f(0x28f)](_0x3540b5);}}class Ei{constructor(){var _0x1a5ed2=_0x1970a9;D(this,_0x1a5ed2(0x25d),new _0x5c9b29()),D(this,_0x1a5ed2(0x244),this[_0x1a5ed2(0x25d)][_0x1a5ed2(0x173)]());}[_0x1970a9(0x28c)](_0x548b27){var _0x1aaee1=_0x1970a9;this[_0x1aaee1(0x25d)][_0x1aaee1(0x28f)](_0x548b27);}}var bs=Object[_0x1970a9(0x16f)],Ds=(_0x36d05f,_0x3a6cf9,_0x219e4e,_0x1f70a1)=>{var _0x137019=_0x1970a9;for(var _0x4557a9=_0x1f70a1>0x1?void 0x0:_0x1f70a1?bs(_0x3a6cf9,_0x219e4e):_0x3a6cf9,_0x319769=_0x36d05f[_0x137019(0x439)]-0x1,_0x34b79a;_0x319769>=0x0;_0x319769--)(_0x34b79a=_0x36d05f[_0x319769])&&(_0x4557a9=_0x34b79a(_0x4557a9)||_0x4557a9);return _0x4557a9;},Ft=(_0x2f20d5,_0x37a485)=>(_0x5c7c79,_0x17aa29)=>_0x37a485(_0x5c7c79,_0x17aa29,_0x2f20d5);let Pe=class extends _0x14f4a8{constructor(_0x2a6de4,_0x6f6851){var _0x355090=_0x1970a9;super(),D(this,'_roomMembers',new Map()),D(this,_0x355090(0x3f4),new _0x5c9b29()),(this['_univerInstanceService']=_0x2a6de4,this['_userManagerService']=_0x6f6851,this['disposeWithMe'](_0x3c68f6(this[_0x355090(0x461)]['getTypeOfUnitDisposed$'](_0x3de6eb['UNIVER_SHEET'])[_0x355090(0x296)](_0x54e938(_0x4e6eab=>_0x4e6eab['getUnitId']())),this['_univerInstanceService'][_0x355090(0x1cf)](_0x3de6eb[_0x355090(0x466)])['pipe'](_0x54e938(_0x4e52d4=>_0x4e52d4[_0x355090(0x26c)]())),this[_0x355090(0x461)][_0x355090(0x1cf)](_0x3de6eb[_0x355090(0x2a4)])['pipe'](_0x54e938(_0x5599e8=>_0x5599e8[_0x355090(0x26c)]())))['subscribe'](_0x233bfe=>this[_0x355090(0x19e)](_0x233bfe))));}[_0x1970a9(0x39a)](_0x40f463){var _0x52ed90=_0x1970a9;return this[_0x52ed90(0x3f2)][_0x52ed90(0x3b3)](_0x40f463)?_0x4deaa7(this[_0x52ed90(0x3f2)][_0x52ed90(0x190)](_0x40f463)):this[_0x52ed90(0x3f4)][_0x52ed90(0x296)](_0x54e938(_0x49103a=>{var _0x265a2e=_0x52ed90;if(_0x49103a===_0x40f463)return this['_roomMembers'][_0x265a2e(0x190)](_0x49103a);}));}['setCurrentUser'](_0x205925){var _0xb4de9d=_0x1970a9;this[_0xb4de9d(0x3e3)][_0xb4de9d(0x228)](_0x205925);}[_0x1970a9(0x3ba)](){var _0x4b1747=_0x1970a9;return this[_0x4b1747(0x3e3)][_0x4b1747(0x3ba)]();}[_0x1970a9(0x243)](_0xd7e167,_0x5c15ec){var _0x505c6e=_0x1970a9;let _0x3849c8=this[_0x505c6e(0x3f2)][_0x505c6e(0x190)](_0xd7e167);_0x3849c8||(_0x3849c8=new ys(),this['_roomMembers'][_0x505c6e(0x3d2)](_0xd7e167,_0x3849c8),this[_0x505c6e(0x3f4)][_0x505c6e(0x28f)](_0xd7e167)),_0x3849c8['updateMember'](_0x5c15ec);}['removeMember'](_0x5ab994,_0x2666ea){var _0x5c9800=_0x1970a9;const _0xeeeda0=this['_roomMembers'][_0x5c9800(0x190)](_0x5ab994);_0xeeeda0&&_0xeeeda0[_0x5c9800(0x2d4)](_0x2666ea);}[_0x1970a9(0x213)](_0x1505fd){var _0x2e0554=_0x1970a9;return this[_0x2e0554(0x3f2)][_0x2e0554(0x190)](_0x1505fd);}[_0x1970a9(0x1b5)](_0x14f204,_0x175ea1){var _0x426be5=_0x1970a9;const _0x498ad0=this[_0x426be5(0x3f2)]['get'](_0x14f204);if(_0x498ad0)return _0x498ad0[_0x426be5(0x1b5)](_0x175ea1);}[_0x1970a9(0x19e)](_0x278916){var _0x162704=_0x1970a9;const _0x6fa84=this[_0x162704(0x3f2)]['get'](_0x278916);_0x6fa84&&(_0x6fa84[_0x162704(0x19a)](),this['_roomMembers'][_0x162704(0x21b)](_0x278916));}[_0x1970a9(0x19a)](){var _0x248d05=_0x1970a9;this['_roomMembers'][_0x248d05(0x445)](_0x3e8253=>_0x3e8253[_0x248d05(0x19a)]()),this['_roomMembers'][_0x248d05(0x25e)](),this[_0x248d05(0x3f4)][_0x248d05(0x186)]();}};Pe=Ds([Ft(0x0,_0xe0db57),Ft(0x1,_0x253c3d(_0x132f5c))],Pe);class ys extends _0x14f4a8{constructor(){var _0x5dc447=_0x1970a9;super(...arguments),D(this,'_members',new Map()),D(this,_0x5dc447(0x27d),new _0x3e8a63(this[_0x5dc447(0x24d)])),D(this,'members$',this['_members$'][_0x5dc447(0x173)]());}[_0x1970a9(0x19a)](){var _0x1e7d3d=_0x1970a9;this['_members'][_0x1e7d3d(0x25e)]();}[_0x1970a9(0x243)](_0x5c4aa1){var _0x27316c=_0x1970a9;this[_0x27316c(0x24d)]['set'](_0x5c4aa1['memberID'],_0x5c4aa1),this['_emitMembers']();}[_0x1970a9(0x2d4)](_0x2aa51b){this['_members']['delete'](_0x2aa51b);}[_0x1970a9(0x1b5)](_0x425fb5){var _0xf9dee4=_0x1970a9;return this['_members'][_0xf9dee4(0x190)](_0x425fb5);}[_0x1970a9(0x409)](){var _0x25b71f=_0x1970a9;return Array[_0x25b71f(0x1bb)](this['_members'][_0x25b71f(0x43a)]());}['_emitMembers'](){var _0x3f8558=_0x1970a9;this[_0x3f8558(0x27d)][_0x3f8558(0x28f)](this[_0x3f8558(0x24d)]);}}var Us=Object[_0x1970a9(0x16f)],As=(_0x5e9e72,_0x14b39e,_0x3439bc,_0xb151ad)=>{var _0x4a6f9b=_0x1970a9;for(var _0x7e0be2=_0xb151ad>0x1?void 0x0:_0xb151ad?Us(_0x14b39e,_0x3439bc):_0x14b39e,_0x54cc19=_0x5e9e72[_0x4a6f9b(0x439)]-0x1,_0x4172eb;_0x54cc19>=0x0;_0x54cc19--)(_0x4172eb=_0x5e9e72[_0x54cc19])&&(_0x7e0be2=_0x4172eb(_0x7e0be2)||_0x7e0be2);return _0x7e0be2;},Oe=(_0x364703,_0x441c79)=>(_0x33f131,_0x45888e)=>_0x441c79(_0x33f131,_0x45888e,_0x364703),me=(_0x3505d1=>(_0x3505d1[_0x3505d1['IDLE']=0x0]='IDLE',_0x3505d1[_0x3505d1[_0x1970a9(0x211)]=0x1]=_0x1970a9(0x211),_0x3505d1[_0x3505d1[_0x1970a9(0x28e)]=0x2]=_0x1970a9(0x28e),_0x3505d1[_0x3505d1['ONLINE']=0x3]=_0x1970a9(0x3c7),_0x3505d1))(me||{});const Vt={[pe[_0x1970a9(0x1ca)]]:_0x1970a9(0x1fd),[pe['JOIN_ROOM_FULL']]:_0x1970a9(0x2ab),[pe[_0x1970a9(0x282)]]:_0x1970a9(0x2a3),[pe[_0x1970a9(0x1b1)]]:_0x1970a9(0x451),[pe[_0x1970a9(0x232)]]:_0x1970a9(0x247)};let mt=class extends _0x3dd074{constructor(_0x4ecbcf,_0xbfcd3e,_0x5ae323,_0x12d727,_0x4fe0a7,_0x2e016d,_0x943032,_0x56cac0){var _0x3e22df=_0x1970a9;super(),D(this,_0x3e22df(0x45b),new _0x3e8a63(0x0)),D(this,_0x3e22df(0x15d),this['_sessionStatus$'][_0x3e22df(0x173)]()),D(this,_0x3e22df(0x3f7),new _0x5c9b29()),D(this,_0x3e22df(0x2b5),this[_0x3e22df(0x3f7)][_0x3e22df(0x173)]()),D(this,_0x3e22df(0x301)),D(this,_0x3e22df(0x1d7)),D(this,_0x3e22df(0x3a2)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x3e22df(0x400),null),(this[_0x3e22df(0x42c)]=_0x4ecbcf,this[_0x3e22df(0x179)]=_0x5ae323,this[_0x3e22df(0x180)]=_0x12d727,this['_memberService']=_0x4fe0a7,this[_0x3e22df(0x32c)]=_0x2e016d,this[_0x3e22df(0x17c)]=_0x943032,this[_0x3e22df(0x47a)]=_0x56cac0,this[_0x3e22df(0x280)]=!!this[_0x3e22df(0x47a)],_0xbfcd3e[_0x3e22df(0x296)](_0x3b37d2(this[_0x3e22df(0x212)]))[_0x3e22df(0x22c)](_0x5951dc=>{var _0x581e4c=_0x3e22df,_0x311c4c;typeof _0x5951dc>'u'||(this[_0x581e4c(0x301)]=_0x5951dc,_0x5951dc?(this[_0x581e4c(0x2e8)](_0x5951dc),this['_socketMessageSubscription']=_0x5951dc['message$'][_0x581e4c(0x22c)](_0x127122=>{var _0x20f980=_0x581e4c;_0x127122[_0x20f980(0x1be)]===this[_0x20f980(0x42c)]&&this[_0x20f980(0x1b8)](_0x127122);})):(this[_0x581e4c(0x24c)](),this[_0x581e4c(0x45b)][_0x581e4c(0x28f)](0x2),(_0x311c4c=this[_0x581e4c(0x1d7)])==null||_0x311c4c[_0x581e4c(0x2b9)](),this[_0x581e4c(0x1d7)]=null));}));}get['sessionStatus'](){var _0x2f6a16=_0x1970a9;return this['_sessionStatus$'][_0x2f6a16(0x476)]();}['getMemberID'](){var _0xeb4d52=_0x1970a9,_0x2bffa5,_0x24c370;return(_0x24c370=(_0x2bffa5=this[_0xeb4d52(0x301)])==null?void 0x0:_0x2bffa5['memberID'])!=null?_0x24c370:null;}['dispose'](){var _0x3b7c7d=_0x1970a9;super[_0x3b7c7d(0x19a)](),this[_0x3b7c7d(0x212)][_0x3b7c7d(0x28f)](),this['dispose$'][_0x3b7c7d(0x186)]();}[_0x1970a9(0x2a8)](){var _0xeff797=_0x1970a9,_0xc4ffaf,_0x49ba5a;this['_throwTelemetryCollaborationNewChangeset'](),(_0xc4ffaf=this[_0xeff797(0x301)])==null||_0xc4ffaf['send']({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x49ba5a=this[_0xeff797(0x301)])==null||_0x49ba5a[_0xeff797(0x2a8)](),this[_0xeff797(0x3f7)][_0xeff797(0x186)](),this['_sessionStatus$'][_0xeff797(0x186)](),this['dispose']();}['_onCombEvent'](_0x42bfab){var _0x45b874=_0x1970a9;_0x42bfab['cmd']===F[_0x45b874(0x2b6)]?this[_0x45b874(0x1b6)](_0x42bfab):_0x42bfab[_0x45b874(0x18c)]===F['RECV']&&this['_onRecvEvent'](_0x42bfab);}['_joinRoom'](_0x2a1368){var _0xa76d98=_0x1970a9;this[_0xa76d98(0x45b)][_0xa76d98(0x28f)](0x1),_0x2a1368[_0xa76d98(0x43b)]({'cmd':F[_0xa76d98(0x2b6)],'routeKey':this[_0xa76d98(0x42c)],'routeType':'','data':{'rooms':[{'roomID':this[_0xa76d98(0x42c)]}]}});}[_0x1970a9(0x1b6)](_0x283da8){var _0x3f96a0=_0x1970a9,_0x5be9bf;if(_0x283da8[_0x3f96a0(0x404)]in Vt){this[_0x3f96a0(0x17c)][_0x3f96a0(0x1f7)]({'id':re[_0x3f96a0(0x176)],'data':Vt[_0x283da8[_0x3f96a0(0x404)]]}),this[_0x3f96a0(0x45b)]['next'](0x2);return;}this['_sessionStatus$'][_0x3f96a0(0x28f)](0x3);const _0x1f08b1=(_0x5be9bf=_0x283da8[_0x3f96a0(0x32f)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x5be9bf['members'];_0x1f08b1&&_0x1f08b1['forEach'](_0x1940c2=>this[_0x3f96a0(0x2fa)]['updateMember'](this[_0x3f96a0(0x42c)],_0x1940c2));}[_0x1970a9(0x31a)](_0x50a31c){var _0x183b7e=_0x1970a9;try{const _0x3bf7ab=_0x50a31c[_0x183b7e(0x32f)];switch(_0x3bf7ab['eventID']){case _0x274cb2[_0x183b7e(0x1ed)]:this['_onUserJoin'](_0x3bf7ab),this['_event$'][_0x183b7e(0x28f)](_0x3bf7ab);break;case _0x274cb2[_0x183b7e(0x29b)]:this[_0x183b7e(0x3aa)](_0x3bf7ab),this[_0x183b7e(0x3f7)][_0x183b7e(0x28f)](_0x3bf7ab);break;case _0x274cb2[_0x183b7e(0x29f)]:case _0x274cb2['CHANGESET_SHOULD_RETRY']:this[_0x183b7e(0x38c)](),this[_0x183b7e(0x1cb)](),this[_0x183b7e(0x3f7)]['next'](_0x3bf7ab);break;case _0x274cb2['MSG_FOR_ERROR']:this[_0x183b7e(0x179)]['error'](_0x183b7e(0x46b)+JSON[_0x183b7e(0x1af)](_0x3bf7ab)),this[_0x183b7e(0x3f7)][_0x183b7e(0x28f)](_0x3bf7ab);break;case _0x274cb2[_0x183b7e(0x3e7)]:this['_commentService']['onCommentUpdate'](_0x3bf7ab[_0x183b7e(0x32f)]),this[_0x183b7e(0x3f7)]['next'](_0x3bf7ab);break;default:this[_0x183b7e(0x3f7)]['next'](_0x3bf7ab);}}catch(_0x4b1fe0){this[_0x183b7e(0x179)][_0x183b7e(0x421)](_0x4b1fe0,_0x50a31c);}}['_onUserJoin'](_0x376706){var _0xb3339e=_0x1970a9;this['_memberService'][_0xb3339e(0x243)](this[_0xb3339e(0x42c)],_0x376706[_0xb3339e(0x32f)]);}[_0x1970a9(0x3aa)](_0x35ac9b){var _0x14e903=_0x1970a9;this['_memberService'][_0x14e903(0x2d4)](this['_unitID'],_0x35ac9b[_0x14e903(0x32f)][_0x14e903(0x2ed)]);}async[_0x1970a9(0x43b)](_0x289c7e,_0x2cda9a){var _0x41a2f1=_0x1970a9;if(this[_0x41a2f1(0x438)]!==0x3||!this['_socket'])throw new Error(_0x41a2f1(0x324));try{_0x289c7e['eventID']===_0x274cb2['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x41a2f1(0x24a)](_0x289c7e)),this[_0x41a2f1(0x301)][_0x41a2f1(0x43b)]({'cmd':F[_0x41a2f1(0x33c)],'routeKey':_0x2cda9a,'routeType':'','data':_0x289c7e});}catch(_0x2d6af0){this['_logService'][_0x41a2f1(0x421)](_0x2d6af0);}}[_0x1970a9(0x3fc)](){var _0x16e5ec=_0x1970a9,_0x59cce2;this[_0x16e5ec(0x3a2)]=setTimeout(()=>{var _0x336341=_0x16e5ec;this[_0x336341(0x3a2)]=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x336341(0x206)]});},(_0x59cce2=this[_0x16e5ec(0x180)][_0x16e5ec(0x26d)](di))!=null?_0x59cce2:fi);}[_0x1970a9(0x1cb)](){var _0x4c20ea=_0x1970a9;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4c20ea(0x3a2)]),this[_0x4c20ea(0x3a2)]=null);}[_0x1970a9(0x24a)](_0x3eec81){var _0x503361=_0x1970a9;if(!this[_0x503361(0x280)])return;const {data:_0x264be9}=_0x3eec81,{unitID:_0x45f447,changeset:_0x478d5d}=_0x264be9,{mutations:_0x4aa87c,type:_0x2cbe1b}=_0x478d5d;this[_0x503361(0x400)]={'unitId':_0x45f447,'type':_0x2cbe1b,'startTime':performance[_0x503361(0x3d5)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x4aa87c)};}[_0x1970a9(0x38c)](){var _0x40e6a4=_0x1970a9;if(this[_0x40e6a4(0x280)]){if(!this['_telemetryInfo']){this[_0x40e6a4(0x179)][_0x40e6a4(0x421)](_0x40e6a4(0x170),_0x40e6a4(0x19f));return;}this[_0x40e6a4(0x400)][_0x40e6a4(0x405)]=performance[_0x40e6a4(0x3d5)](),this[_0x40e6a4(0x400)]['duration']=this[_0x40e6a4(0x400)][_0x40e6a4(0x405)]-this['_telemetryInfo']['startTime'],this[_0x40e6a4(0x47a)][_0x40e6a4(0x174)](Cs,this['_telemetryInfo']),this[_0x40e6a4(0x400)]=null;}}[_0x1970a9(0x24c)](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x41ff63),Oe(0x3,_0x4a008f),Oe(0x4,_0x253c3d(Pe)),Oe(0x5,_0x253c3d(Ei)),Oe(0x6,_0x253c3d(ve)),Oe(0x7,_0x36e38f(_0x332aa7))],mt);function _0x35ab(_0x2a791f,_0x3ed058){var _0x39cf97=_0x39cf();return _0x35ab=function(_0x35aba0,_0x26ad91){_0x35aba0=_0x35aba0-0x159;var _0x5c5fd7=_0x39cf97[_0x35aba0];return _0x5c5fd7;},_0x35ab(_0x2a791f,_0x3ed058);}const J=_0x2ffbe9(_0x1970a9(0x17a));function Nr(_0x2f2f79){var _0x686f22=_0x1970a9;return _0x686f22(0x3b8)+_0x2f2f79;}var Ps=Object[_0x1970a9(0x16f)],ws=(_0x5f0a97,_0xe2e899,_0x24738,_0xf4a14)=>{var _0x42a663=_0x1970a9;for(var _0x5be50e=_0xf4a14>0x1?void 0x0:_0xf4a14?Ps(_0xe2e899,_0x24738):_0xe2e899,_0x468984=_0x5f0a97[_0x42a663(0x439)]-0x1,_0x1cabf5;_0x468984>=0x0;_0x468984--)(_0x1cabf5=_0x5f0a97[_0x468984])&&(_0x5be50e=_0x1cabf5(_0x5be50e)||_0x5be50e);return _0x5be50e;},ut=(_0x72ede2,_0x52f8f)=>(_0x47a8df,_0x4b7551)=>_0x52f8f(_0x47a8df,_0x4b7551,_0x72ede2);function Ms(_0x2157ac){var _0x324501=_0x1970a9;const {unitID:_0x432b27,mutations:_0x36b955}=_0x2157ac;return{'unitId':_0x432b27,'subUnitId':_0x36b955[0x0][_0x324501(0x423)][_0x324501(0x36c)]};}let it=class{constructor(_0x3c659a,_0x32d2dc,_0x491a3f){var _0x420daa=_0x1970a9;this[_0x420daa(0x2e7)]=_0x3c659a,this['_transformService']=_0x32d2dc,this[_0x420daa(0x346)]=_0x491a3f;}['transformSelections'](_0xa56ffd){var _0x2a6421=_0x1970a9,_0x416176,_0x13b38d,_0x2fb5cc,_0x3b3870;const _0xc1bd77=this[_0x2a6421(0x2e7)][_0x2a6421(0x190)](_0x15a0de),{unitId:_0x3d22c8,subUnitId:_0x41a3ec}=Ms(_0xa56ffd),_0xb2c02c=_0xc1bd77==null?void 0x0:_0xc1bd77[_0x2a6421(0x1c2)](_0x3d22c8)['getCurrentSelections'](),_0x5016bf=(_0x13b38d=(_0x416176=this[_0x2a6421(0x346)][_0x2a6421(0x194)](_0x3d22c8))==null?void 0x0:_0x416176[_0x2a6421(0x257)]())==null?void 0x0:_0x13b38d[_0x2a6421(0x226)]();if(_0xb2c02c[_0x2a6421(0x439)]===0x0||!_0x3d22c8||!_0x41a3ec)return;const _0x2b1b2c=[{'id':_0x3964b0['id'],'params':{'unitId':_0x3d22c8,'subUnitId':_0x5016bf,'selections':_0x3fe39d[_0x2a6421(0x340)](_0xb2c02c)}}],_0x78bec0=this[_0x2a6421(0x37e)]['transformMutationsWithChangeset'](_0xa56ffd,_0x2b1b2c);if(!_0x5cc134(_0x78bec0))throw _0x78bec0[_0x2a6421(0x421)];const _0x3e719c=(_0x3b3870=(_0x2fb5cc=_0x78bec0[_0x2a6421(0x349)][0x0])==null?void 0x0:_0x2fb5cc['params'])==null?void 0x0:_0x3b3870[_0x2a6421(0x425)];if(Array['isArray'](_0x3e719c)&&_0x3e719c[_0x2a6421(0x439)]){if(_0x3e719c[_0x2a6421(0x439)]===_0x2b1b2c[0x0][_0x2a6421(0x423)][_0x2a6421(0x425)][_0x2a6421(0x439)]&&_0x3e719c['every']((_0x4d2fbd,_0x8f0b83)=>_0xd93da[_0x2a6421(0x3f9)](_0x4d2fbd[_0x2a6421(0x1b4)],_0x2b1b2c[0x0][_0x2a6421(0x423)][_0x2a6421(0x425)][_0x8f0b83][_0x2a6421(0x1b4)])))return;this['_injector'][_0x2a6421(0x190)](_0x2fde4d)[_0x2a6421(0x430)](_0x3964b0['id'],{'unitId':_0x3d22c8,'subUnitId':_0x5016bf,'selections':_0x3e719c});}}};it=ws([ut(0x0,_0x253c3d(_0x9d7216)),ut(0x1,_0x1f95db),ut(0x2,_0xe0db57)],it);const _t=_0x2ffbe9(_0x1970a9(0x348));var mi=(_0x1fad09=>(_0x1fad09[_0x1fad09[_0x1970a9(0x31c)]=0x0]=_0x1970a9(0x31c),_0x1fad09[_0x1fad09[_0x1970a9(0x385)]=0x1]=_0x1970a9(0x385),_0x1fad09))(mi||{});const K=_0x1970a9(0x3ae),Ls={},xs=new Set([_0xc6c030['id']]);function Gt(_0x464351,_0x1f423c,_0x57553b,_0x248f53,_0x4d37c4){var _0x3cef08=_0x1970a9,_0xe7a55,_0x333c54,_0x412608,_0x400c1d;const _0x53b992=[];for(const _0x55a567 of _0x464351)if(xs[_0x3cef08(0x3b3)](_0x55a567['id'])){if(_0x53b992['length']>0x0)break;_0x53b992[_0x3cef08(0x227)](_0x55a567);break;}else _0x53b992[_0x3cef08(0x227)](_0x55a567);const _0x41b130=(_0x333c54=(_0xe7a55=_0x4d37c4[_0x3cef08(0x3ba)]())==null?void 0x0:_0xe7a55[_0x3cef08(0x188)])!=null?_0x333c54:_0x3cef08(0x2cf),_0x4fe0bb=(_0x400c1d=(_0x412608=_0x4d37c4[_0x3cef08(0x3ba)]())==null?void 0x0:_0x412608[_0x3cef08(0x2ed)])!=null?_0x400c1d:_0x3cef08(0x2cf);return{'changeset':{'unitID':_0x1f423c,'type':_0x278b84(_0x57553b[_0x3cef08(0x162)](_0x1f423c)),'baseRev':_0x248f53['getCurrentRevOfUnit'](_0x1f423c),'revision':0x0,'userID':_0x41b130,'memberID':_0x4fe0bb,'mutations':_0x53b992},'pendingMutations':_0x464351[_0x3cef08(0x209)](_0x53b992['length'])};}function ks(_0x563087,_0x354c6e,_0x11bf7e,_0x2da6d5,_0x5507f0){var _0x40d7fc=_0x1970a9,_0x233482,_0x40e87a,_0x515fbb,_0x295a72;const _0x51df1f=[_0x563087[_0x40d7fc(0x464)]((_0x575f17,_0x6abf55)=>{var _0x1c7ea6=_0x40d7fc,_0x197589;const {id:_0x105221}=_0x575f17,{id:_0x41f348,type:_0x54f175}=_0x6abf55,_0x4df002=(_0x197589=_0x575f17['params'])!=null?_0x197589:{'actions':null},_0x3e5445=_0x6abf55[_0x1c7ea6(0x423)];if(_0x105221&&_0x105221!==_0x41f348)throw new Error(_0x1c7ea6(0x2ae)+_0x105221+'\x20-\x20'+_0x41f348+'.');return{..._0x575f17,'id':_0x41f348,'type':_0x54f175,'params':{'unitId':_0x3e5445['unitId'],'textRanges':_0x3e5445[_0x1c7ea6(0x2c5)],'actions':_0x56ce5b[_0x1c7ea6(0x406)](_0x4df002['actions'],_0x3e5445['actions'])}};},{})],_0x87173f=(_0x40e87a=(_0x233482=_0x5507f0[_0x40d7fc(0x3ba)]())==null?void 0x0:_0x233482['userID'])!=null?_0x40e87a:_0x40d7fc(0x2cf),_0x7c2247=(_0x295a72=(_0x515fbb=_0x5507f0[_0x40d7fc(0x3ba)]())==null?void 0x0:_0x515fbb[_0x40d7fc(0x2ed)])!=null?_0x295a72:_0x40d7fc(0x2cf);return{'changeset':{'unitID':_0x354c6e,'type':_0x278b84(_0x11bf7e['getUnitType'](_0x354c6e)),'baseRev':_0x2da6d5[_0x40d7fc(0x33e)](_0x354c6e),'revision':0x0,'userID':_0x87173f,'memberID':_0x7c2247,'mutations':_0x51df1f},'pendingMutations':[]};}function Ii(_0x12c914,_0x3414a6){var _0x3e2b8a=_0x1970a9;const _0x116262=new _0x586912(0x1);return setTimeout(()=>_0x116262[_0x3e2b8a(0x28f)](_0x3414a6),_0x12c914),_0x116262[_0x3e2b8a(0x173)]()[_0x3e2b8a(0x296)](_0x4f52fd(0x1));}const $s={'id':_0x1f2acc['id'],'type':_0x384b46['MUTATION'],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Se=(_0x20e591,_0x5a0619,_0x28e3b3,_0x5cd0ec)=>{var _0x1844fe=_0x1970a9;for(var _0x59f93e=_0x5cd0ec>0x1?void 0x0:_0x5cd0ec?Hs(_0x5a0619,_0x28e3b3):_0x5a0619,_0x5829f6=_0x20e591[_0x1844fe(0x439)]-0x1,_0x2ef0b1;_0x5829f6>=0x0;_0x5829f6--)(_0x2ef0b1=_0x20e591[_0x5829f6])&&(_0x59f93e=_0x2ef0b1(_0x59f93e)||_0x59f93e);return _0x59f93e;},w=(_0xbdeded,_0x4ab2d8)=>(_0x18cd5b,_0x3ec993)=>_0x4ab2d8(_0x18cd5b,_0x3ec993,_0xbdeded),Si=(_0x50653e=>(_0x50653e[_0x1970a9(0x352)]='not_collab',_0x50653e[_0x1970a9(0x1ac)]=_0x1970a9(0x159),_0x50653e[_0x1970a9(0x3a9)]=_0x1970a9(0x2e0),_0x50653e['AWAITING']=_0x1970a9(0x41a),_0x50653e['AWAITING_WITH_PENDING']=_0x1970a9(0x408),_0x50653e[_0x1970a9(0x293)]=_0x1970a9(0x1a1),_0x50653e[_0x1970a9(0x457)]=_0x1970a9(0x3cc),_0x50653e[_0x1970a9(0x28e)]=_0x1970a9(0x388),_0x50653e))(Si||{});const gi=0xea60;class ge{constructor(_0x540fb1,_0x13ca19,_0x4a2374,_0x4e14,_0x2c6169,_0x118b96,_0x501aef,_0x3e09e7,_0x36d8bc){var _0x154b3c=_0x1970a9;D(this,'_awaitingChangeset',null),D(this,_0x154b3c(0x387),[]),(this['unitID']=_0x540fb1,this[_0x154b3c(0x3b9)]=_0x13ca19,this[_0x154b3c(0x2b8)]=_0x2c6169,this[_0x154b3c(0x363)]=_0x118b96,this[_0x154b3c(0x3fb)]=_0x501aef,this[_0x154b3c(0x20b)]=_0x3e09e7,this[_0x154b3c(0x2ef)]=_0x36d8bc,this[_0x154b3c(0x371)]=_0x4a2374,this['_pendingMutations']=_0x4e14);}[_0x1970a9(0x2af)](_0x4ddba4){var _0x4cdda2=_0x1970a9;const _0x4eee45=this[_0x4cdda2(0x20b)][_0x4cdda2(0x33e)](this[_0x4cdda2(0x402)]);return _0x4ddba4[_0x4cdda2(0x470)]>_0x4eee45+0x1?(this[_0x4cdda2(0x2b8)]['onMissingChangesets']({'from':_0x4eee45,'to':_0x4ddba4[_0x4cdda2(0x470)]-0x1}),!0x0):!0x1;}[_0x1970a9(0x415)](_0x43ac09){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x43ac09);}['_transformSelections'](_0x5b0ecb){var _0x396656=_0x1970a9,_0x253c57,_0x19b320;(_0x19b320=(_0x253c57=this[_0x396656(0x2b8)])[_0x396656(0x2ea)])==null||_0x19b320[_0x396656(0x3fe)](_0x253c57,_0x5b0ecb);}[_0x1970a9(0x40a)](_0x1f64d6){var _0x3b9204=_0x1970a9,_0x46545b,_0x10c163;return(_0x10c163=(_0x46545b=this['_handler'])[_0x3b9204(0x165)])==null?void 0x0:_0x10c163[_0x3b9204(0x3fe)](_0x46545b,_0x1f64d6);}[_0x1970a9(0x419)](_0x4acfef){var _0x5289ce=_0x1970a9,_0x251716,_0x116578;return(_0x116578=(_0x251716=this[_0x5289ce(0x2b8)])[_0x5289ce(0x378)])==null?void 0x0:_0x116578['call'](_0x251716,_0x4acfef);}[_0x1970a9(0x1f8)](_0x599a7f){var _0x468c9a=_0x1970a9,_0x4d8950,_0x11b9e4,_0x218b8c;return(_0x218b8c=(_0x11b9e4=(_0x4d8950=this[_0x468c9a(0x2b8)])[_0x468c9a(0x31f)])==null?void 0x0:_0x11b9e4[_0x468c9a(0x3fe)](_0x4d8950,_0x599a7f))!=null?_0x218b8c:_0x599a7f;}[_0x1970a9(0x255)](_0x135dcd){var _0xf5cf21=_0x1970a9,_0x484d4b,_0x3a063e,_0x161a1b;return(_0x161a1b=(_0x3a063e=(_0x484d4b=this[_0xf5cf21(0x2b8)])[_0xf5cf21(0x36f)])==null?void 0x0:_0x3a063e[_0xf5cf21(0x3fe)](_0x484d4b,_0x135dcd))!=null?_0x161a1b:_0x135dcd;}[_0x1970a9(0x288)](_0xaf0790){var _0x429471=_0x1970a9,_0x352b37,_0x5359df;if(this[_0x429471(0x3b9)]===Q[_0x429471(0x466)]){const {unitID:_0x464ab3,mutations:_0x2d3f36,memberID:_0x458201}=_0xaf0790,_0x30fe3d=_0x2d3f36[0x0][_0x429471(0x423)][_0x429471(0x2c5)];Array[_0x429471(0x373)](_0x30fe3d)&&_0x30fe3d[_0x429471(0x439)]>0x0&&((_0x5359df=(_0x352b37=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x5359df[_0x429471(0x3fe)](_0x352b37,{'unitID':_0x464ab3,'memberID':_0x458201,'textRanges':_0x30fe3d}));}}[_0x1970a9(0x42d)](){var _0x52e06b=_0x1970a9,_0x33f30d;(_0x33f30d=this[_0x52e06b(0x2ef)])==null||_0x33f30d[_0x52e06b(0x453)](this[_0x52e06b(0x402)],this[_0x52e06b(0x3b9)],this[_0x52e06b(0x371)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x4407c3=_0x1970a9;return this['_revisionService'][_0x4407c3(0x33e)](this[_0x4407c3(0x402)]);}[_0x1970a9(0x366)](){var _0xfdd626=_0x1970a9;this['_revisionService'][_0xfdd626(0x473)](this[_0xfdd626(0x402)]);}[_0x1970a9(0x3ca)](_0x528208){var _0x12b552=_0x1970a9,_0x5c4e64;let _0x3a57bf=this[_0x12b552(0x1f8)](_0x528208);_0x3a57bf=this[_0x12b552(0x255)](_0x3a57bf);const _0x2d8693=_0x118b15(_0x3a57bf[_0x12b552(0x3b1)],this[_0x12b552(0x363)],{'fromCollab':!0x0});if(!_0x2d8693[_0x12b552(0x2eb)])throw _0x2d8693[_0x12b552(0x421)]instanceof Error?_0x2d8693[_0x12b552(0x421)]:new Error((_0x5c4e64=_0x2d8693[_0x12b552(0x421)])!=null?_0x5c4e64:_0x12b552(0x223));this[_0x12b552(0x40a)](_0x3a57bf),this[_0x12b552(0x419)](_0x3a57bf),this[_0x12b552(0x415)](_0x528208),this[_0x12b552(0x326)](_0x3a57bf),this[_0x12b552(0x288)](_0x3a57bf),this[_0x12b552(0x366)]();}}let be=class extends ge{constructor(_0x262240,_0x50ae1a,_0x3d5faa,_0x5a3d02,_0x24b56f,_0x4cc9f1,_0x5de424,_0x5618a1,_0x561f23,_0x43cfca){var _0x33778e=_0x1970a9;super(_0x262240,_0x50ae1a,null,[],_0x3d5faa,_0x5de424,_0x4cc9f1,_0x5a3d02,_0x43cfca),D(this,_0x33778e(0x234),_0x33778e(0x159)),(this[_0x33778e(0x2e7)]=_0x24b56f,this[_0x33778e(0x179)]=_0x5618a1,this['_transformService']=_0x561f23,this[_0x33778e(0x356)]=_0x43cfca);}[_0x1970a9(0x2b0)](_0x394ebf){var _0x10d40b=_0x1970a9;const _0x35b7fc=this[_0x10d40b(0x2e7)][_0x10d40b(0x185)](ae,this[_0x10d40b(0x402)],this[_0x10d40b(0x3b9)],[_0x394ebf],this[_0x10d40b(0x2b8)]);return _0x35b7fc['_schedule'](),_0x35b7fc['_updateLocalCache'](),_0x35b7fc;}['onRemoteChangeset'](_0x4ac28a){var _0x2428e7=_0x1970a9;if(this[_0x2428e7(0x2af)](_0x4ac28a))return this['_injector'][_0x2428e7(0x185)](ee,this[_0x2428e7(0x402)],this[_0x2428e7(0x3b9)],null,[],null,[_0x4ac28a],this[_0x2428e7(0x2b8)]);try{const _0xf25bf7=this[_0x2428e7(0x37e)][_0x2428e7(0x1c6)](_0x4ac28a,[$s]);if(_0x5cc134(_0xf25bf7)){const {c1Prime:_0x577d33}=_0xf25bf7;return this[_0x2428e7(0x3ca)](_0x577d33),this;}throw _0xf25bf7['error'];}catch(_0x16ccf4){return this[_0x2428e7(0x179)][_0x2428e7(0x421)](_0x16ccf4),this['_onConflict'](!0x1);}}[_0x1970a9(0x22a)](_0x3c8d6f){var _0x5459f6=_0x1970a9;return this[_0x5459f6(0x2e7)][_0x5459f6(0x185)](ue,this['unitID'],this[_0x5459f6(0x3b9)],null,[],this[_0x5459f6(0x2b8)],_0x3c8d6f);}[_0x1970a9(0x3bf)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1970a9(0x3c3)](){var _0x306e7a=_0x1970a9;throw new Error(_0x306e7a(0x1ff));}[_0x1970a9(0x1f6)](){return this;}['toggleOffline'](){var _0x179532=_0x1970a9;return this[_0x179532(0x2e7)]['createInstance'](de,this[_0x179532(0x402)],this[_0x179532(0x3b9)],null,[],this[_0x179532(0x2b8)]);}['toggleOnline'](){return this;}[_0x1970a9(0x3a0)](){var _0x4ce58b=_0x1970a9;throw new Error(_0x4ce58b(0x1a2));}[_0x1970a9(0x171)](){var _0x34ad43=_0x1970a9;const _0x52da84=this['_revisionService'][_0x34ad43(0x33e)](this[_0x34ad43(0x402)]);return this[_0x34ad43(0x2b8)][_0x34ad43(0x309)]({'from':_0x52da84,'to':0x0}),this[_0x34ad43(0x2e7)][_0x34ad43(0x185)](ee,this[_0x34ad43(0x402)],this[_0x34ad43(0x3b9)],null,[],null,[],this[_0x34ad43(0x2b8)]);}};be=Se([w(0x3,_0x253c3d(_0x54f50d)),w(0x4,_0x253c3d(_0x9d7216)),w(0x5,_0x5b65e3),w(0x6,_0x2fde4d),w(0x7,_0x41ff63),w(0x8,_0x1f95db),w(0x9,_0x36e38f(J))],be);let ae=class extends ge{constructor(_0xe7a4e5,_0x43e45d,_0x525a12,_0x4ccac3,_0x40b069,_0x9e001c,_0x261244,_0x2c30e0,_0x2b249a,_0x195ba3,_0x578523,_0x26efd3,_0xdbab56,_0x24e605){var _0x1fc369=_0x1970a9;super(_0xe7a4e5,_0x43e45d,null,_0x525a12,_0x4ccac3,_0x2b249a,_0xdbab56,_0x9e001c,_0x24e605),D(this,'status',_0x1fc369(0x2e0)),D(this,_0x1fc369(0x2cd),null),D(this,_0x1fc369(0x42b),null),(this['_injector']=_0x40b069,this['_memberService']=_0x261244,this[_0x1fc369(0x179)]=_0x2c30e0,this[_0x1fc369(0x180)]=_0x195ba3,this[_0x1fc369(0x37e)]=_0x578523,this['_univerInstanceService']=_0x26efd3);}[_0x1970a9(0x2b0)](_0x3b881e){var _0x2b7692=_0x1970a9;return this['_pendingMutations'][_0x2b7692(0x227)](_0x3b881e),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x587f90){var _0xcff6e3=_0x1970a9;if(this[_0xcff6e3(0x2af)](_0x587f90))return this[_0xcff6e3(0x1d6)](),this[_0xcff6e3(0x2e7)]['createInstance'](ee,this[_0xcff6e3(0x402)],this['type'],null,this[_0xcff6e3(0x387)],null,[_0x587f90],this[_0xcff6e3(0x2b8)]);try{const _0x36221e=this['_transformService'][_0xcff6e3(0x1c6)](_0x587f90,this['_pendingMutations']);if(_0x5cc134(_0x36221e)){const {c1Prime:_0x94aa34,m2Prime:_0x4315b0}=_0x36221e;this[_0xcff6e3(0x3ca)](_0x94aa34);const _0x3d2e5f=this[_0xcff6e3(0x2e7)]['createInstance'](ae,this['unitID'],this[_0xcff6e3(0x3b9)],_0x4315b0,this['_handler']);this[_0xcff6e3(0x1d6)]();const _0x34571b=new Date()['getTime'](),_0xe6c998=this[_0xcff6e3(0x2cd)]?Math[_0xcff6e3(0x336)](this[_0xcff6e3(0x2cd)]-_0x34571b,0x0):this[_0xcff6e3(0x317)]();return _0x3d2e5f[_0xcff6e3(0x35f)](_0xe6c998),_0x3d2e5f;}throw _0x36221e['error'];}catch(_0x45eede){return this['_logService']['error'](_0x45eede),this[_0xcff6e3(0x22a)](!0x1);}}[_0x1970a9(0x3bf)](){var _0x411d5b=_0x1970a9;throw new Error(_0x411d5b(0x233));}['onRemoteRej'](){var _0x4d23b8=_0x1970a9;throw new Error(_0x4d23b8(0x2d2));}[_0x1970a9(0x1f6)](){return this;}['toggleOffline'](){var _0x1f3f73=_0x1970a9;return this['_clearScheduledTask'](),this[_0x1f3f73(0x2e7)][_0x1f3f73(0x185)](de,this[_0x1f3f73(0x402)],this[_0x1f3f73(0x3b9)],null,this[_0x1f3f73(0x387)],this[_0x1f3f73(0x2b8)]);}['toggleOnline'](){return this;}[_0x1970a9(0x35f)](_0x4c48a6){var _0x7fe984=_0x1970a9;const _0x113c27=_0x4c48a6!=null?_0x4c48a6:this[_0x7fe984(0x317)]();this[_0x7fe984(0x2cd)]=new Date()[_0x7fe984(0x3b0)]()+_0x113c27,this[_0x7fe984(0x42b)]=setTimeout(()=>{var _0x46ba3a=_0x7fe984;this[_0x46ba3a(0x1d6)]();let _0x3243be=null;switch(this[_0x46ba3a(0x3b9)]){case Q['UNIVER_SHEET']:{_0x3243be=Gt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x46ba3a(0x2fa)]);break;}case Q[_0x46ba3a(0x466)]:{this[_0x46ba3a(0x387)][_0x46ba3a(0x23a)](_0x20d206=>_0x20d206['id']===_0x3925f7['id'])?_0x3243be=ks(this['_pendingMutations'],this[_0x46ba3a(0x402)],this[_0x46ba3a(0x461)],this[_0x46ba3a(0x20b)],this[_0x46ba3a(0x2fa)]):_0x3243be=Gt(this['_pendingMutations'],this[_0x46ba3a(0x402)],this[_0x46ba3a(0x461)],this['_revisionService'],this[_0x46ba3a(0x2fa)]);break;}default:throw new Error(_0x46ba3a(0x44c)+this[_0x46ba3a(0x3b9)]+'\x20in\x20_schedule.');}const {changeset:_0x872012,pendingMutations:_0x49432d}=_0x3243be;this[_0x46ba3a(0x2b8)][_0x46ba3a(0x414)](_0x872012);const _0x27fea9=_0x49432d[_0x46ba3a(0x439)]?this['_injector'][_0x46ba3a(0x185)](oe,this[_0x46ba3a(0x402)],this[_0x46ba3a(0x3b9)],_0x872012,_0x49432d,this[_0x46ba3a(0x2b8)],void 0x0):this['_injector']['createInstance'](le,this[_0x46ba3a(0x402)],this[_0x46ba3a(0x3b9)],_0x872012,this[_0x46ba3a(0x2b8)]);_0x27fea9[_0x46ba3a(0x42d)](),this['_handler'][_0x46ba3a(0x24e)](this,_0x27fea9);},_0x113c27);}['_getSendChangesetTimeout'](){var _0x3d7ceb=_0x1970a9,_0x4fbf10;const _0x2b17d4=this[_0x3d7ceb(0x180)][_0x3d7ceb(0x26d)](K);return(_0x4fbf10=_0x2b17d4==null?void 0x0:_0x2b17d4[_0x3d7ceb(0x3f1)])!=null?_0x4fbf10:ps;}[_0x1970a9(0x3a0)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1970a9(0x1d6)](){var _0x3deef7=_0x1970a9;this[_0x3deef7(0x42b)]!=null&&(clearTimeout(this[_0x3deef7(0x42b)]),this[_0x3deef7(0x42b)]=null);}[_0x1970a9(0x22a)](_0x3fd30c){var _0x10cf3b=_0x1970a9;return this['_clearScheduledTask'](),this[_0x10cf3b(0x2e7)][_0x10cf3b(0x185)](ue,this[_0x10cf3b(0x402)],this[_0x10cf3b(0x3b9)],null,this[_0x10cf3b(0x387)],this[_0x10cf3b(0x2b8)],_0x3fd30c);}};ae=Se([w(0x4,_0x253c3d(_0x9d7216)),w(0x5,_0x253c3d(_0x54f50d)),w(0x6,_0x253c3d(Pe)),w(0x7,_0x41ff63),w(0x8,_0x2fde4d),w(0x9,_0x4a008f),w(0xa,_0x1f95db),w(0xb,_0xe0db57),w(0xc,_0x5b65e3),w(0xd,_0x36e38f(J))],ae);let le=class extends ge{constructor(_0x423871,_0x543928,_0x5a2f5c,_0x5c8087,_0x20f420,_0x2347cd,_0x10c872,_0x3e27b6,_0x1b5092,_0x463061,_0x4ac489){var _0x3134b2=_0x1970a9;super(_0x423871,_0x543928,_0x5a2f5c,[],_0x5c8087,_0x10c872,_0x463061,_0x2347cd,_0x4ac489),D(this,_0x3134b2(0x234),'awaiting'),D(this,_0x3134b2(0x21a),0x0),D(this,_0x3134b2(0x465)),D(this,_0x3134b2(0x215)),(this['_injector']=_0x20f420,this['_logService']=_0x3e27b6,this[_0x3134b2(0x37e)]=_0x1b5092);}[_0x1970a9(0x2b0)](_0x460ec0){var _0x53d2e1=_0x1970a9;this['_clearScheduledTask']();const _0x55fc19=this[_0x53d2e1(0x2e7)][_0x53d2e1(0x185)](oe,this[_0x53d2e1(0x402)],this[_0x53d2e1(0x3b9)],this[_0x53d2e1(0x371)],[_0x460ec0],this[_0x53d2e1(0x2b8)],this[_0x53d2e1(0x465)]);return _0x55fc19[_0x53d2e1(0x42d)](),_0x55fc19;}[_0x1970a9(0x36d)](_0x11d82e){var _0x2467f1=_0x1970a9;if(this[_0x2467f1(0x2af)](_0x11d82e))return this[_0x2467f1(0x1d6)](),this['_injector'][_0x2467f1(0x185)](ee,this[_0x2467f1(0x402)],this['type'],this['_awaitingChangeset'],[],null,[_0x11d82e],this[_0x2467f1(0x2b8)]);try{const _0x10a768=this[_0x2467f1(0x37e)][_0x2467f1(0x208)]([_0x11d82e],[this['_awaitingChangeset']],!0x1);if(_0x24d7db(_0x10a768)){const {c1Prime:_0x833b85,c2Prime:_0x1c8471}=_0x10a768;this[_0x2467f1(0x3ca)](_0x833b85[0x0]),_0x1c8471[0x0]['baseRev']=this[_0x2467f1(0x30b)](),this['_clearScheduledTask']();const _0x5b1922=this[_0x2467f1(0x2e7)][_0x2467f1(0x185)](le,this['unitID'],this[_0x2467f1(0x3b9)],_0x1c8471[0x0],this[_0x2467f1(0x2b8)]);return _0x5b1922['_updateLocalCache'](),_0x5b1922;}return this[_0x2467f1(0x22a)](!0x1);}catch(_0x5c4a5a){return this[_0x2467f1(0x179)][_0x2467f1(0x421)](_0x5c4a5a),this[_0x2467f1(0x22a)](!0x1);}}[_0x1970a9(0x3bf)](_0x840215){var _0x2a61c9=_0x1970a9;this['_clearScheduledTask']();const _0x3f31a7=this['_revisionService'][_0x2a61c9(0x33e)](this['unitID']);if(_0x840215[_0x2a61c9(0x470)]<_0x3f31a7-0x1)return this;if(this[_0x2a61c9(0x2af)](_0x840215))return this[_0x2a61c9(0x2e7)][_0x2a61c9(0x185)](ee,this[_0x2a61c9(0x402)],this[_0x2a61c9(0x3b9)],null,[],this[_0x2a61c9(0x371)],[],this[_0x2a61c9(0x2b8)]);this[_0x2a61c9(0x366)]();const _0x45a3d4=this[_0x2a61c9(0x2e7)][_0x2a61c9(0x185)](be,this[_0x2a61c9(0x402)],this['type'],this['_handler']);return _0x45a3d4['_updateLocalCache'](),_0x45a3d4;}['onRemoteRej'](_0xc275ed){var _0x21d36f=_0x1970a9;return this[_0x21d36f(0x22a)](!!(_0xc275ed!=null&&_0xc275ed[_0x21d36f(0x20a)]));}[_0x1970a9(0x1f6)](_0x21c702){var _0x3fdc2d=_0x1970a9;return this[_0x3fdc2d(0x21a)]>gi?this[_0x3fdc2d(0x205)]():(this[_0x3fdc2d(0x465)]=Ii(this[_0x3fdc2d(0x21a)],{'timeout':this[_0x3fdc2d(0x21a)],'reqId':_0x21c702[_0x3fdc2d(0x35c)]}),this[_0x3fdc2d(0x215)]=this[_0x3fdc2d(0x465)][_0x3fdc2d(0x22c)](({reqId:_0x5b64e9,timeout:_0x339a49})=>{this['_resendWithTimeout'](_0x5b64e9,_0x339a49);}),this);}['toggleOffline'](){var _0x516e97=_0x1970a9;return this[_0x516e97(0x1d6)](),this[_0x516e97(0x2e7)][_0x516e97(0x185)](de,this[_0x516e97(0x402)],this[_0x516e97(0x3b9)],this[_0x516e97(0x371)],[],this[_0x516e97(0x2b8)]);}[_0x1970a9(0x3f5)](){return this;}[_0x1970a9(0x3a0)](){var _0x17bd86=_0x1970a9;this[_0x17bd86(0x2b8)][_0x17bd86(0x414)](this[_0x17bd86(0x371)]);}[_0x1970a9(0x22a)](_0x234fe1){var _0x3b00b7=_0x1970a9;return this[_0x3b00b7(0x1d6)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x3b00b7(0x3b9)],this[_0x3b00b7(0x371)],[],this[_0x3b00b7(0x2b8)],_0x234fe1);}[_0x1970a9(0x35d)](_0x4d4f94,_0x54c0d3){var _0x29b2e7=_0x1970a9,_0x2279ce;_0x4d4f94===((_0x2279ce=this[_0x29b2e7(0x371)])==null?void 0x0:_0x2279ce[_0x29b2e7(0x35c)])&&(this[_0x29b2e7(0x3a0)](),this['_resendTimeout']=_0x54c0d3===0x0?0x3e8:_0x54c0d3*0x2);}[_0x1970a9(0x1d6)](){var _0x4c8342=_0x1970a9,_0x44ab1f;(_0x44ab1f=this[_0x4c8342(0x215)])==null||_0x44ab1f[_0x4c8342(0x2b9)](),this[_0x4c8342(0x21a)]=0x0;}};le=Se([w(0x4,_0x253c3d(_0x9d7216)),w(0x5,_0x253c3d(_0x54f50d)),w(0x6,_0x2fde4d),w(0x7,_0x41ff63),w(0x8,_0x1f95db),w(0x9,_0x5b65e3),w(0xa,_0x36e38f(J))],le);let oe=class extends ge{constructor(_0xe6d6d3,_0x1876ef,_0x5586e7,_0x1e06bd,_0x112dc9,_0x480b95,_0x112625,_0x3e5b8e,_0x3b11d6,_0x40dc06,_0x5303c0,_0x3d8a98,_0x52105a){var _0x4946b8=_0x1970a9;super(_0xe6d6d3,_0x1876ef,_0x5586e7,_0x1e06bd,_0x112dc9,_0x3b11d6,_0x3d8a98,_0x3e5b8e,_0x52105a),D(this,'status',_0x4946b8(0x408)),D(this,'_resendTimeout',0x0),D(this,_0x4946b8(0x465)),D(this,_0x4946b8(0x215)),(this[_0x4946b8(0x2e7)]=_0x112625,this[_0x4946b8(0x179)]=_0x40dc06,this[_0x4946b8(0x37e)]=_0x5303c0,this[_0x4946b8(0x356)]=_0x52105a,_0x480b95&&(this[_0x4946b8(0x465)]=_0x480b95,this['_sender']=this[_0x4946b8(0x465)][_0x4946b8(0x22c)](({reqId:_0x5d94cb,timeout:_0x31c1ba})=>{var _0x1b327f=_0x4946b8;this[_0x1b327f(0x35d)](_0x5d94cb,_0x31c1ba);})));}[_0x1970a9(0x2b0)](_0x43f170){var _0x36f17c=_0x1970a9;return this[_0x36f17c(0x387)][_0x36f17c(0x227)](_0x43f170),this;}[_0x1970a9(0x36d)](_0x21127e){var _0x22f135=_0x1970a9;if(this['_checkMissing'](_0x21127e))return this['_clearScheduledTask'](),this['_injector'][_0x22f135(0x185)](ee,this[_0x22f135(0x402)],this[_0x22f135(0x3b9)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x21127e],this[_0x22f135(0x2b8)]);try{const _0x40f09a=this['_transformService']['transformChangesets']([_0x21127e],[this['_awaitingChangeset']],!0x1);if(_0x24d7db(_0x40f09a)){const {c1Prime:_0x4f84d2,c2Prime:_0x1e7b20}=_0x40f09a,_0x5d4bef=this['_transformService']['transformMutationsWithChangeset'](_0x4f84d2[0x0],this[_0x22f135(0x387)]);if(_0x5cc134(_0x5d4bef)){const {c1Prime:_0x509446,m2Prime:_0x5edf89}=_0x5d4bef;return this[_0x22f135(0x3ca)](_0x509446),_0x1e7b20[0x0][_0x22f135(0x386)]=this['_getCurrentRevision'](),this[_0x22f135(0x1d6)](),this[_0x22f135(0x2e7)][_0x22f135(0x185)](oe,this[_0x22f135(0x402)],this[_0x22f135(0x3b9)],_0x1e7b20[0x0],_0x5edf89,this[_0x22f135(0x2b8)],void 0x0);}throw _0x5d4bef['error'];}throw _0x40f09a['error'];}catch(_0x3a8297){return this[_0x22f135(0x179)][_0x22f135(0x421)](_0x3a8297),this['_onConflict'](!0x1);}}[_0x1970a9(0x3bf)](_0x37eb9a){var _0x311e17=_0x1970a9;if(this[_0x311e17(0x1d6)](),this[_0x311e17(0x2af)](_0x37eb9a))return this[_0x311e17(0x2e7)][_0x311e17(0x185)](ee,this[_0x311e17(0x402)],this[_0x311e17(0x3b9)],null,this[_0x311e17(0x387)],this['_awaitingChangeset'],[],this['_handler']);this[_0x311e17(0x366)]();const _0x27c8c5=this['_injector']['createInstance'](ae,this[_0x311e17(0x402)],this['type'],this[_0x311e17(0x387)],this[_0x311e17(0x2b8)]);return _0x27c8c5[_0x311e17(0x35f)](),_0x27c8c5[_0x311e17(0x42d)](),_0x27c8c5;}[_0x1970a9(0x3c3)](_0x499ab2){var _0x41107c=_0x1970a9;return this['_onConflict'](!!(_0x499ab2!=null&&_0x499ab2[_0x41107c(0x20a)]));}[_0x1970a9(0x1f6)](_0xfaf546){var _0x10d6a1=_0x1970a9;return this[_0x10d6a1(0x21a)]>gi?this['toggleOffline']():(this[_0x10d6a1(0x465)]=Ii(this[_0x10d6a1(0x21a)],{'timeout':this['_resendTimeout'],'reqId':_0xfaf546[_0x10d6a1(0x35c)]}),this[_0x10d6a1(0x215)]=this['_resendTimer'][_0x10d6a1(0x22c)](({reqId:_0x520f7f,timeout:_0x1cda1c})=>{var _0x3a51e6=_0x10d6a1;this[_0x3a51e6(0x35d)](_0x520f7f,_0x1cda1c);}),this);}[_0x1970a9(0x205)](){var _0x5de10c=_0x1970a9;return this['_clearScheduledTask'](),this[_0x5de10c(0x2e7)][_0x5de10c(0x185)](de,this['unitID'],this[_0x5de10c(0x3b9)],this[_0x5de10c(0x371)],this[_0x5de10c(0x387)],this[_0x5de10c(0x2b8)]);}[_0x1970a9(0x3f5)](){return this;}['resend'](){var _0x619bc3=_0x1970a9;this['_handler'][_0x619bc3(0x414)](this['_awaitingChangeset']);}[_0x1970a9(0x22a)](_0x242f23){var _0x241839=_0x1970a9;return this[_0x241839(0x1d6)](),this[_0x241839(0x2e7)]['createInstance'](ue,this[_0x241839(0x402)],this[_0x241839(0x3b9)],null,this[_0x241839(0x387)],this[_0x241839(0x2b8)],_0x242f23);}[_0x1970a9(0x35d)](_0x50f714,_0x37f57d){var _0x457679=_0x1970a9,_0x5de700;_0x50f714===((_0x5de700=this['_awaitingChangeset'])==null?void 0x0:_0x5de700[_0x457679(0x35c)])&&(this['resend'](),this[_0x457679(0x21a)]=_0x37f57d===0x0?0x3e8:_0x37f57d*0x2);}[_0x1970a9(0x1d6)](){var _0x572b15=_0x1970a9,_0x1629c8;(_0x1629c8=this['_sender'])==null||_0x1629c8[_0x572b15(0x2b9)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x253c3d(_0x9d7216)),w(0x7,_0x253c3d(_0x54f50d)),w(0x8,_0x2fde4d),w(0x9,_0x41ff63),w(0xa,_0x1f95db),w(0xb,_0x5b65e3),w(0xc,_0x36e38f(J))],oe);let ue=class extends ge{constructor(_0x45c9a2,_0x340189,_0x3c0f54,_0x1753d0,_0x2028b1,_0x24058=!0x1,_0x56359c,_0x3ff24f,_0x3c82a2,_0x369a48,_0x381507,_0x34d637,_0x4c5376){var _0x10737f=_0x1970a9;super(_0x45c9a2,_0x340189,_0x3c0f54,_0x1753d0,_0x2028b1,_0x3ff24f,_0x3c82a2,_0x369a48,_0x4c5376),D(this,'status','conflict'),(this[_0x10737f(0x39e)]=_0x24058,this['_permissionService']=_0x56359c,this[_0x10737f(0x2fd)]=_0x381507,this[_0x10737f(0x17c)]=_0x34d637,this['localCacheService']=_0x4c5376,this[_0x10737f(0x2f6)](),this[_0x10737f(0x2a7)](),this[_0x10737f(0x291)]());}['appendMutation'](){return this;}[_0x1970a9(0x36d)](){return this;}[_0x1970a9(0x3bf)](){return this;}[_0x1970a9(0x3c3)](){return this;}['onRemoteRetry'](){return this;}[_0x1970a9(0x205)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x3950b1=_0x1970a9;throw new Error(_0x3950b1(0x2ba));}[_0x1970a9(0x2a7)](){var _0x392c65=_0x1970a9,_0x25a316;(_0x25a316=this[_0x392c65(0x2ef)])==null||_0x25a316[_0x392c65(0x453)](this[_0x392c65(0x402)],this[_0x392c65(0x3b9)],null,[]);}['_showConflictNotification'](){var _0x5a24e9=_0x1970a9;this['_isPermissionRej']?this[_0x5a24e9(0x17c)]['emitEvent']({'id':re['PERMISSION_DENIED']}):this[_0x5a24e9(0x17c)][_0x5a24e9(0x1f7)]({'id':re[_0x5a24e9(0x457)]});}['_disableEditing'](){var _0x1f0683=_0x1970a9;this[_0x1f0683(0x306)]['updatePermissionPoint'](new _0x50fba4(this[_0x1f0683(0x402)])['id'],!0x1);}};ue=Se([w(0x6,_0x253c3d(_0x4a0dfc)),w(0x7,_0x2fde4d),w(0x8,_0x5b65e3),w(0x9,_0x253c3d(_0x54f50d)),w(0xa,_0x253c3d(_0x1de809)),w(0xb,_0x253c3d(ve)),w(0xc,_0x36e38f(J))],ue);let de=class extends ge{constructor(_0x3a56ea,_0x3faee0,_0x25f141,_0x50838a,_0x48c903,_0x3b3d72,_0x186c45,_0x37bb61,_0x5018d0,_0x29b447){var _0x4dcdb5=_0x1970a9;super(_0x3a56ea,_0x3faee0,_0x25f141,_0x50838a,_0x48c903,_0x37bb61,_0x5018d0,_0x186c45,_0x29b447),D(this,_0x4dcdb5(0x234),_0x4dcdb5(0x388)),this['_injector']=_0x3b3d72;}[_0x1970a9(0x2b0)](_0x22b4b5){var _0x15be2c=_0x1970a9;return this[_0x15be2c(0x387)][_0x15be2c(0x227)](_0x22b4b5),this[_0x15be2c(0x42d)](),this;}['onRemoteChangeset'](_0x253cd2){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x922b63=_0x1970a9;throw new Error(_0x922b63(0x249));}[_0x1970a9(0x3c3)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1970a9(0x1f6)](){return this;}['toggleOffline'](){return this;}[_0x1970a9(0x3f5)](){var _0x503fa9=_0x1970a9;const {_injector:_0x22f59c,_pendingMutations:_0x2c7f24,_awaitingChangeset:_0x10688e,unitID:_0x58bc39,_handler:_0x4094e1,type:_0xb7751}=this,_0x1c8dd5=Ti(_0x22f59c,_0x58bc39,_0xb7751,_0x10688e,_0x2c7f24,_0x4094e1);return _0x1c8dd5 instanceof ae?_0x1c8dd5[_0x503fa9(0x35f)]():(_0x1c8dd5 instanceof oe||_0x1c8dd5 instanceof le)&&_0x1c8dd5['resend'](),_0x1c8dd5;}[_0x1970a9(0x3a0)](){var _0x5024ad=_0x1970a9;throw new Error(_0x5024ad(0x337));}};de=Se([w(0x5,_0x253c3d(_0x9d7216)),w(0x6,_0x253c3d(_0x54f50d)),w(0x7,_0x2fde4d),w(0x8,_0x5b65e3),w(0x9,_0x36e38f(J))],de);let ee=class extends ge{constructor(_0x2c5961,_0x190d10,_0x14eda0,_0x226722,_0x59cb33,_0x244e3e,_0x9c259a,_0x8e3882,_0x7ec69f,_0x1ef283,_0x74e7b8,_0x530e10,_0x67e287,_0x4632b7){var _0x2441df=_0x1970a9;super(_0x2c5961,_0x190d10,_0x14eda0,_0x226722,_0x9c259a,_0x74e7b8,_0x530e10,_0x7ec69f,_0x4632b7),D(this,_0x2441df(0x234),_0x2441df(0x1a1)),(this['_acknowledgedAwaitingChangeset']=_0x59cb33,this[_0x2441df(0x38e)]=_0x244e3e,this[_0x2441df(0x2e7)]=_0x8e3882,this['_logService']=_0x1ef283,this['_transformService']=_0x67e287,this[_0x2441df(0x356)]=_0x4632b7);}[_0x1970a9(0x46c)](_0x1280fd){var _0x1adf31=_0x1970a9;try{const _0x4ac67a=[..._0x1280fd,...this[_0x1adf31(0x38e)]],_0x3b2093=[this['_awaitingChangeset']||this[_0x1adf31(0x3de)]][_0x1adf31(0x1d2)](_0x2544ce=>!!_0x2544ce);let _0x2c17cb,_0x33b8ab;if(_0x3b2093[_0x1adf31(0x439)]){const _0x440677=this[_0x1adf31(0x37e)]['transformChangesets'](_0x4ac67a,_0x3b2093,!0x1);if(!_0x24d7db(_0x440677))throw _0x440677['error'];_0x2c17cb=_0x440677['c1Prime'],_0x33b8ab=_0x440677[_0x1adf31(0x42a)];}else _0x2c17cb=_0x4ac67a,_0x33b8ab=[];let _0x3bc2ec=this[_0x1adf31(0x387)];_0x2c17cb[_0x1adf31(0x445)](_0xf5e5b5=>{var _0x50e6eb=_0x1adf31;let _0x108adc;if(_0x3bc2ec[_0x50e6eb(0x439)]){const _0xe73164=this['_transformService'][_0x50e6eb(0x1c6)](_0xf5e5b5,_0x3bc2ec);if(!_0x5cc134(_0xe73164))throw _0xe73164[_0x50e6eb(0x421)];_0x108adc=_0xe73164[_0x50e6eb(0x2a2)],_0x3bc2ec=_0xe73164[_0x50e6eb(0x349)];}else _0x108adc=_0xf5e5b5;this['_executeRemoteChangeset'](_0x108adc);}),this[_0x1adf31(0x3de)]&&this['_incrementRevisionNumber'](),this[_0x1adf31(0x371)]&&_0x33b8ab[_0x1adf31(0x439)]&&(_0x33b8ab[0x0][_0x1adf31(0x386)]=this['_getCurrentRevision']());let _0x8d901d;if(this[_0x1adf31(0x371)]&&_0x3bc2ec[_0x1adf31(0x439)]!==0x0)_0x8d901d=this[_0x1adf31(0x2e7)][_0x1adf31(0x185)](oe,this[_0x1adf31(0x402)],this[_0x1adf31(0x3b9)],_0x33b8ab[0x0],_0x3bc2ec,this[_0x1adf31(0x2b8)],void 0x0);else{if(this[_0x1adf31(0x371)]&&_0x3bc2ec[_0x1adf31(0x439)]===0x0)_0x33b8ab[0x0][_0x1adf31(0x386)]=this[_0x1adf31(0x30b)](),_0x8d901d=this[_0x1adf31(0x2e7)][_0x1adf31(0x185)](le,this['unitID'],this['type'],_0x33b8ab[0x0],this[_0x1adf31(0x2b8)]);else{if(_0x3bc2ec['length']!==0x0){const _0x1099ea=this[_0x1adf31(0x2e7)][_0x1adf31(0x185)](ae,this[_0x1adf31(0x402)],this[_0x1adf31(0x3b9)],_0x3bc2ec,this['_handler']);_0x1099ea['_schedule'](),_0x8d901d=_0x1099ea;}else _0x8d901d=this[_0x1adf31(0x2e7)][_0x1adf31(0x185)](be,this[_0x1adf31(0x402)],this[_0x1adf31(0x3b9)],this['_handler']);}}return _0x8d901d['_updateLocalCache'](),_0x8d901d;}catch(_0x373b0f){return this[_0x1adf31(0x179)]['error'](_0x1adf31(0x2ce),_0x1adf31(0x168),_0x373b0f),this[_0x1adf31(0x2e7)]['createInstance'](ue,this['unitID'],this[_0x1adf31(0x3b9)],this[_0x1adf31(0x371)],this[_0x1adf31(0x387)],this['_handler'],!0x1);}}[_0x1970a9(0x3a0)](){var _0x205639=_0x1970a9;throw new Error(_0x205639(0x341));}[_0x1970a9(0x2b0)](_0x2418e0){var _0x3fffad=_0x1970a9;return this[_0x3fffad(0x387)]['push'](_0x2418e0),this;}['onRemoteChangeset'](_0x16fdb5){return this['_queuedRemoteChangesets']['push'](_0x16fdb5),this;}[_0x1970a9(0x3bf)](_0x5efe50){var _0x561b0d=_0x1970a9;if(this[_0x561b0d(0x371)])return this[_0x561b0d(0x3de)]=this[_0x561b0d(0x371)],this[_0x561b0d(0x371)]=null,this;throw new Error(_0x561b0d(0x241));}[_0x1970a9(0x3c3)](_0x428666){var _0x2b3084=_0x1970a9;return this['_onConflict'](!!(_0x428666!=null&&_0x428666[_0x2b3084(0x20a)]));}[_0x1970a9(0x1f6)](){return this;}['toggleOffline'](){var _0x432f87=_0x1970a9;return this[_0x432f87(0x2e7)][_0x432f87(0x185)](de,this[_0x432f87(0x402)],this[_0x432f87(0x3b9)],this[_0x432f87(0x371)],this[_0x432f87(0x387)],this[_0x432f87(0x2b8)]);}[_0x1970a9(0x3f5)](){return this;}[_0x1970a9(0x22a)](_0x3ff7cc){var _0x492f34=_0x1970a9;return this[_0x492f34(0x2e7)][_0x492f34(0x185)](ue,this[_0x492f34(0x402)],this[_0x492f34(0x3b9)],this[_0x492f34(0x371)],this['_pendingMutations'],this['_handler'],_0x3ff7cc);}};ee=Se([w(0x7,_0x253c3d(_0x9d7216)),w(0x8,_0x253c3d(_0x54f50d)),w(0x9,_0x41ff63),w(0xa,_0x2fde4d),w(0xb,_0x5b65e3),w(0xc,_0x1f95db),w(0xd,_0x36e38f(J))],ee);function Ti(_0x333a28,_0x184199,_0x564aa5,_0x4345fe,_0x188ed1,_0x2ac6b7){var _0x17674d=_0x1970a9;return _0x4345fe&&_0x188ed1[_0x17674d(0x439)]?_0x333a28['createInstance'](oe,_0x184199,_0x564aa5,_0x4345fe,_0x188ed1,_0x2ac6b7,void 0x0):_0x4345fe?_0x333a28[_0x17674d(0x185)](le,_0x184199,_0x564aa5,_0x4345fe,_0x2ac6b7):_0x188ed1[_0x17674d(0x439)]?_0x333a28[_0x17674d(0x185)](ae,_0x184199,_0x564aa5,_0x188ed1,_0x2ac6b7):_0x333a28[_0x17674d(0x185)](be,_0x184199,_0x564aa5,_0x2ac6b7);}var Bs=Object[_0x1970a9(0x16f)],Pt=(_0x138b5d,_0x2eadb6,_0x3235a3,_0x3cbeb9)=>{var _0x32a6be=_0x1970a9;for(var _0xd3ed04=_0x3cbeb9>0x1?void 0x0:_0x3cbeb9?Bs(_0x2eadb6,_0x3235a3):_0x2eadb6,_0x5f0d35=_0x138b5d[_0x32a6be(0x439)]-0x1,_0xd58e72;_0x5f0d35>=0x0;_0x5f0d35--)(_0xd58e72=_0x138b5d[_0x5f0d35])&&(_0xd3ed04=_0xd58e72(_0xd3ed04)||_0xd3ed04);return _0xd3ed04;},$=(_0x237765,_0x3d4edc)=>(_0x48d94c,_0x2f0603)=>_0x3d4edc(_0x48d94c,_0x2f0603,_0x237765);let st=class extends _0x3dd074{constructor(_0x5eb5c9,_0x2075d4,_0x225c0d,_0x5b1d43,_0x1b08aa,_0x55c250,_0x142499,_0x2f0ada,_0x40e0ec,_0x5e4869,_0x3f6e91,_0xbfe20d,_0x254eaf,_0x58fd9b){var _0x7b6bab=_0x1970a9;super(),D(this,_0x7b6bab(0x1e1),new _0x3e8a63(null)),D(this,'state$',this[_0x7b6bab(0x1e1)][_0x7b6bab(0x173)]()),D(this,_0x7b6bab(0x1cd)),D(this,'_collaborationPaused',!0x1),D(this,_0x7b6bab(0x253),''),D(this,'_changesetReqId',0x0),D(this,_0x7b6bab(0x261),this[_0x7b6bab(0x2e2)][_0x7b6bab(0x296)](_0x2d041f(_0x339d44=>_0x339d44?_0x339d44[_0x7b6bab(0x234)]:Si['OFFLINE']),_0x280f7e(0x1))),D(this,_0x7b6bab(0x299),!0x1),D(this,_0x7b6bab(0x3ec),[]),(this[_0x7b6bab(0x402)]=_0x5eb5c9,this[_0x7b6bab(0x34e)]=_0x2075d4,this[_0x7b6bab(0x2c2)]=_0x225c0d,this[_0x7b6bab(0x2e7)]=_0x5b1d43,this['_compressMutationService']=_0x1b08aa,this[_0x7b6bab(0x2fd)]=_0x55c250,this[_0x7b6bab(0x20b)]=_0x142499,this[_0x7b6bab(0x15e)]=_0x2f0ada,this[_0x7b6bab(0x461)]=_0x40e0ec,this[_0x7b6bab(0x179)]=_0x5e4869,this[_0x7b6bab(0x363)]=_0x3f6e91,this[_0x7b6bab(0x306)]=_0xbfe20d,this[_0x7b6bab(0x1ba)]=_0x254eaf,this[_0x7b6bab(0x2ef)]=_0x58fd9b);}get[_0x1970a9(0x1bf)](){var _0x213446=_0x1970a9;return this[_0x213446(0x1cd)];}async['init'](){var _0xdc8831=_0x1970a9;if(this['state'])throw new Error(_0xdc8831(0x45f));await this[_0xdc8831(0x294)]();}[_0x1970a9(0x279)](){var _0x43b2f5=_0x1970a9;return this[_0x43b2f5(0x1d3)]=!0x0,_0x19f54d(()=>{var _0x2f5669=_0x43b2f5;this['_collaborationPaused']=!0x1,this[_0x2f5669(0x1e8)]();});}[_0x1970a9(0x23d)](_0x43370c){var _0x1b356b=_0x1970a9;this[_0x1b356b(0x42e)](_0x43370c);}[_0x1970a9(0x354)](_0x16f1b8){var _0x132c16=_0x1970a9;this[_0x132c16(0x1cd)]=_0x16f1b8,this[_0x132c16(0x1e1)]['next'](_0x16f1b8);}async[_0x1970a9(0x294)](){var _0x24222e=_0x1970a9,_0xf67c63;this['_updateState'](await this['_createInitialState']()),this[_0x24222e(0x1ba)]&&((_0xf67c63=this[_0x24222e(0x1ba)])==null||_0xf67c63[_0x24222e(0x1ce)](this['unitID']),this['disposeWithMe'](this[_0x24222e(0x1ba)]['getUnitStatus$'](this['unitID'])[_0x24222e(0x22c)](_0x2fcb7e=>{var _0x12d68b=_0x24222e;this[_0x12d68b(0x179)][_0x12d68b(0x214)](_0x12d68b(0x242),_0x12d68b(0x34b),_0x2fcb7e),_0x2fcb7e===mi['OTHER_CLIENTS_EDITING']?(this[_0x12d68b(0x15e)][_0x12d68b(0x1f7)]({'id':re[_0x12d68b(0x39c)]}),this[_0x12d68b(0x306)][_0x12d68b(0x201)](new _0x50fba4(this['unitID'])['id'],!0x1),this[_0x12d68b(0x306)][_0x12d68b(0x3db)](!0x1)):(this[_0x12d68b(0x306)][_0x12d68b(0x201)](new _0x50fba4(this[_0x12d68b(0x402)])['id'],!0x0),this[_0x12d68b(0x306)][_0x12d68b(0x3db)](!0x0));})));let _0x9f9b1f=!0x1;return this[_0x24222e(0x455)](this['session']['sessionStatus$']['subscribe'](_0xb18e68=>{var _0x170487=_0x24222e;_0xb18e68===me[_0x170487(0x3c7)]?this['_toggleOnline'](_0x9f9b1f):_0xb18e68===me[_0x170487(0x28e)]&&(_0x9f9b1f=!0x0,this[_0x170487(0x401)]());})),this[_0x24222e(0x455)](this['session'][_0x24222e(0x2b5)][_0x24222e(0x22c)](_0x66aafa=>{var _0x4a3092=_0x24222e;try{switch(_0x66aafa['eventID']){case _0x274cb2['NEW_CHANGESETS']:{this[_0x4a3092(0x1c5)](_0x36f6cc(_0x66aafa['data']));break;}case _0x274cb2[_0x4a3092(0x29f)]:{this['_onRemoteACK'](_0x66aafa['data']);break;}case _0x274cb2[_0x4a3092(0x36a)]:{this['_onRemoteRejected']();break;}case _0x274cb2[_0x4a3092(0x192)]:{this[_0x4a3092(0x3b6)](_0x66aafa[_0x4a3092(0x32f)]);break;}case _0x274cb2['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x66aafa[_0x4a3092(0x32f)][_0x4a3092(0x364)]['map'](_0x1fd8eb=>_0x36f6cc(_0x1fd8eb)));break;}case _0x274cb2[_0x4a3092(0x416)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x274cb2[_0x4a3092(0x43f)]:break;}}catch(_0x4e2893){throw console[_0x4a3092(0x421)](_0x4a3092(0x384),_0x4e2893),_0x4e2893;}})),this[_0x24222e(0x1cd)];}[_0x1970a9(0x200)](){var _0x5ca087=_0x1970a9;this[_0x5ca087(0x299)]=!0x1;}['_lockTransition'](){var _0x170aa7=_0x1970a9;if(this[_0x170aa7(0x299)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x1970a9(0x42e)](_0x1d1df2){var _0x2a2b40=_0x1970a9;this['_lockTransition'](),this[_0x2a2b40(0x354)](this[_0x2a2b40(0x1cd)]['appendMutation'](_0x1d1df2)),this['_unlockTransition']();}[_0x1970a9(0x1c5)](_0x3658b6){var _0x2b118f=_0x1970a9;if(!(_0x3658b6[_0x2b118f(0x470)]<=this[_0x2b118f(0x20b)]['getCurrentRevOfUnit'](this[_0x2b118f(0x402)]))){if(this[_0x2b118f(0x1d3)]){this[_0x2b118f(0x3ec)]['push'](_0x3658b6);return;}this[_0x2b118f(0x2bd)](_0x3658b6);}}[_0x1970a9(0x1e8)](){var _0x418c31=_0x1970a9;this[_0x418c31(0x3ec)]['forEach'](_0x46c9c0=>this['_applyRemoteChangeset'](_0x46c9c0)),this['_remoteChangesetQueue']=[];}[_0x1970a9(0x2bd)](_0x1b3aef){var _0x15b400=_0x1970a9;const _0x52fe4f=this['_compressMutationService'][_0x15b400(0x3f8)][_0x15b400(0x3ab)](this['_compressMutationService']['interceptor'][_0x15b400(0x322)]()[_0x15b400(0x2f1)])(_0x1b3aef[_0x15b400(0x3b1)],null)||_0x1b3aef[_0x15b400(0x3b1)],_0x1d8e30={..._0x1b3aef,'mutations':_0x52fe4f};this[_0x15b400(0x258)](),this[_0x15b400(0x354)](this[_0x15b400(0x1cd)][_0x15b400(0x36d)](_0x1d8e30)),this[_0x15b400(0x200)]();}[_0x1970a9(0x248)](_0x506e01){var _0x21af2d=_0x1970a9;this[_0x21af2d(0x258)](),this[_0x21af2d(0x354)](this[_0x21af2d(0x1cd)][_0x21af2d(0x3bf)](_0x506e01)),this[_0x21af2d(0x200)]();}[_0x1970a9(0x1f4)](_0x36b7b9){var _0x271553=_0x1970a9;this[_0x271553(0x258)](),this[_0x271553(0x354)](this['_state'][_0x271553(0x3c3)](_0x36b7b9)),this[_0x271553(0x200)]();}['_onRemoteRetry'](_0x5018dc){var _0x66cb0d=_0x1970a9;this[_0x66cb0d(0x258)](),this[_0x66cb0d(0x354)](this[_0x66cb0d(0x1cd)][_0x66cb0d(0x1f6)](_0x5018dc)),this[_0x66cb0d(0x200)]();}[_0x1970a9(0x33d)](_0x262777){var _0x266c01=_0x1970a9;if(!(this[_0x266c01(0x1cd)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x16a74c=_0x262777[_0x266c01(0x417)](_0x1eae7f=>{var _0x444831=_0x266c01;const _0xb11a1c=this[_0x444831(0x27f)][_0x444831(0x3f8)][_0x444831(0x3ab)](this['_compressMutationService']['interceptor'][_0x444831(0x322)]()[_0x444831(0x2f1)])(_0x1eae7f[_0x444831(0x3b1)],null)||_0x1eae7f[_0x444831(0x3b1)];return{..._0x1eae7f,'mutations':_0xb11a1c};});this[_0x266c01(0x258)](),this[_0x266c01(0x354)](this[_0x266c01(0x1cd)]['onMissedChangesetFetched'](_0x16a74c)),this['_unlockTransition']();}[_0x1970a9(0x401)](){var _0x5a11e9=_0x1970a9;this[_0x5a11e9(0x258)](),this[_0x5a11e9(0x354)](this[_0x5a11e9(0x1cd)][_0x5a11e9(0x205)]()),this[_0x5a11e9(0x200)]();}[_0x1970a9(0x351)](_0x81d4f=!0x1){var _0x85960=_0x1970a9;this['_lockTransition'](),this[_0x85960(0x354)](this[_0x85960(0x1cd)][_0x85960(0x3f5)]()),this[_0x85960(0x200)]();const _0x266218=this['_state'];_0x81d4f&&_0x266218 instanceof be&&(this[_0x85960(0x258)](),this[_0x85960(0x354)](_0x266218[_0x85960(0x171)]()),this[_0x85960(0x200)]());}async['_createInitialState'](){return new Promise(_0x391616=>{var _0x7a61cb=_0x35ab;this[_0x7a61cb(0x34e)][_0x7a61cb(0x15d)]['pipe'](_0x4f52fd(0x1))[_0x7a61cb(0x22c)](async _0x2f01b2=>{var _0x38ef81=_0x7a61cb;_0x391616(await this[_0x38ef81(0x424)](_0x2f01b2===me[_0x38ef81(0x3c7)]));});});}['_createHandler'](){var _0x1eaf3b=_0x1970a9;const _0x599095=this[_0x1eaf3b(0x402)];return{'onStateChange':(_0x233c64,_0x1d475d)=>{var _0x303fb8=_0x1eaf3b;if(_0x233c64!==this[_0x303fb8(0x1cd)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x233c64[_0x303fb8(0x234)]+'\x0aAfter:\x20'+_0x1d475d[_0x303fb8(0x234)]+_0x303fb8(0x46f)+this[_0x303fb8(0x1cd)][_0x303fb8(0x234)]);this[_0x303fb8(0x354)](_0x1d475d);},'onSendChangeset':_0x5b84a2=>{var _0x535b5a=_0x1eaf3b;_0x5b84a2['sid']||(_0x5b84a2[_0x535b5a(0x21e)]=this['_changesetSessionId'],_0x5b84a2[_0x535b5a(0x35c)]=++this[_0x535b5a(0x1b9)]);const _0x3f95fd={'eventID':_0x274cb2[_0x535b5a(0x1d8)],'data':{'unitID':_0x5b84a2[_0x535b5a(0x402)],'unitType':this[_0x535b5a(0x2c2)],'changeset':_0x5b84a2,'memberID':this[_0x535b5a(0x34e)][_0x535b5a(0x2df)]()}};this['session']['send'](_0x3f95fd,this['unitID']);},'onMissingChangesets':({from:_0x1ddc68,to:_0x55ea8d})=>{var _0x320f00=_0x1eaf3b;this[_0x320f00(0x179)][_0x320f00(0x214)](_0x320f00(0x242),_0x320f00(0x25f)+_0x1ddc68+_0x320f00(0x327)+_0x55ea8d);const _0x596c1d={'eventID':_0x274cb2[_0x320f00(0x338)],'data':{'unitID':_0x599095,'unitType':this[_0x320f00(0x2c2)],'from':_0x1ddc68,'to':_0x55ea8d}};this[_0x320f00(0x34e)][_0x320f00(0x43b)](_0x596c1d,this['unitID']);}};}async['_createInitialStateImpl'](_0x83c08d){var _0x578be1=_0x1970a9,_0x18fedc,_0x41fab1,_0x3519d2;const _0x221799=await((_0x18fedc=this[_0x578be1(0x2ef)])==null?void 0x0:_0x18fedc[_0x578be1(0x311)](this[_0x578be1(0x402)])),_0x43de4d=(_0x41fab1=_0x221799==null?void 0x0:_0x221799['mutations'])!=null?_0x41fab1:[],_0x3c7b20=(_0x3519d2=_0x221799==null?void 0x0:_0x221799[_0x578be1(0x2bb)])!=null?_0x3519d2:null,_0x1e0a4b=!!(_0x3c7b20!=null&&_0x3c7b20['sid'])&&!!(_0x3c7b20!=null&&_0x3c7b20[_0x578be1(0x35c)]);this[_0x578be1(0x253)]=_0x1e0a4b?_0x3c7b20['sid']:_0x48a14e(),this[_0x578be1(0x1b9)]=_0x1e0a4b?_0x3c7b20[_0x578be1(0x35c)]:0x0;const _0x43cb14=this['unitID'];try{this['_replayCachedMutations'](_0x3c7b20,_0x43de4d);}catch(_0x199e3c){this['_logService'][_0x578be1(0x421)](_0x199e3c);}const _0xcbb929=this[_0x578be1(0x3b7)]();if(_0x83c08d){const _0x14ce70=Ti(this[_0x578be1(0x2e7)],_0x43cb14,this[_0x578be1(0x2c2)],_0x3c7b20,_0x43de4d,_0xcbb929);return _0x14ce70 instanceof ae?_0x14ce70[_0x578be1(0x35f)]():(_0x14ce70 instanceof oe||_0x14ce70 instanceof le)&&_0x14ce70[_0x578be1(0x3a0)](),_0x14ce70;}return this[_0x578be1(0x2e7)][_0x578be1(0x185)](de,_0x43cb14,this[_0x578be1(0x2c2)],_0x3c7b20,_0x43de4d,_0xcbb929);}[_0x1970a9(0x274)](_0x3f326c,_0x367428){var _0x1d51e7=_0x1970a9,_0x3bd7bf,_0x21074a;const _0x1eea70=this[_0x1d51e7(0x27f)]['interceptor'][_0x1d51e7(0x3ab)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x1d51e7(0x2f1)]);(_0x3bd7bf=_0x1eea70((_0x3f326c==null?void 0x0:_0x3f326c[_0x1d51e7(0x3b1)])||[],null))==null||_0x3bd7bf[_0x1d51e7(0x445)](_0x365072=>this[_0x1d51e7(0x363)][_0x1d51e7(0x430)](_0x365072['id'],_0x365072[_0x1d51e7(0x423)])),(_0x21074a=_0x1eea70(_0x367428||[],null))==null||_0x21074a[_0x1d51e7(0x445)](_0x12549b=>this[_0x1d51e7(0x363)][_0x1d51e7(0x430)](_0x12549b['id'],_0x12549b[_0x1d51e7(0x423)]));}};st=Pt([$(0x3,_0x253c3d(_0x9d7216)),$(0x4,_0x253c3d(_0x19f875)),$(0x5,_0x253c3d(_0x1de809)),$(0x6,_0x253c3d(_0x54f50d)),$(0x7,_0x253c3d(ve)),$(0x8,_0xe0db57),$(0x9,_0x41ff63),$(0xa,_0x2fde4d),$(0xb,_0x4a0dfc),$(0xc,_0x36e38f(_t)),$(0xd,_0x36e38f(J))],st);let It=class extends st{constructor(_0x42ffde,_0xcbe8ae,_0x7b51e7,_0x45e733,_0x2ddd56,_0x172460,_0x1451d7,_0x2d658c,_0x7caeba,_0x42df1a,_0x335bf0,_0x37cde4,_0x515f3e,_0x4c6c4f){var _0x4764fe=_0x1970a9;super(_0x42ffde,_0x7b51e7,_0xcbe8ae,_0x45e733,_0x2ddd56,_0x172460,_0x1451d7,_0x2d658c,_0x7caeba,_0x42df1a,_0x335bf0,_0x37cde4,_0x515f3e,_0x4c6c4f),D(this,'_handlerCallback',null),(this[_0x4764fe(0x402)]=_0x42ffde,this[_0x4764fe(0x3b9)]=_0xcbe8ae);}[_0x1970a9(0x398)](_0x41f0ca){var _0x51cf2e=_0x1970a9;this[_0x51cf2e(0x3e6)]=_0x41f0ca;}[_0x1970a9(0x19a)](){var _0x18ede7=_0x1970a9;this[_0x18ede7(0x3e6)]=null,super['dispose']();}[_0x1970a9(0x3b7)](){var _0x4b0e4f=_0x1970a9;const _0x549684=super[_0x4b0e4f(0x3b7)]();return _0x549684[_0x4b0e4f(0x165)]=_0x31e4a5=>{var _0x324df=_0x4b0e4f,_0x2ab52e,_0xbd041c;return(_0xbd041c=(_0x2ab52e=this[_0x324df(0x3e6)])==null?void 0x0:_0x2ab52e['onTransformIME'])==null?void 0x0:_0xbd041c['call'](_0x2ab52e,_0x31e4a5);},_0x549684[_0x4b0e4f(0x378)]=_0x2b100f=>{var _0x23f681=_0x4b0e4f,_0x375824,_0x538f48;return(_0x538f48=(_0x375824=this[_0x23f681(0x3e6)])==null?void 0x0:_0x375824[_0x23f681(0x378)])==null?void 0x0:_0x538f48[_0x23f681(0x3fe)](_0x375824,_0x2b100f);},_0x549684[_0x4b0e4f(0x2ea)]=_0x222bbc=>{var _0x43c0f2=_0x4b0e4f,_0x2b2434,_0x312578;return(_0x312578=(_0x2b2434=this[_0x43c0f2(0x3e6)])==null?void 0x0:_0x2b2434[_0x43c0f2(0x2ea)])==null?void 0x0:_0x312578[_0x43c0f2(0x3fe)](_0x2b2434,_0x222bbc);},_0x549684[_0x4b0e4f(0x250)]=_0x50f21c=>{var _0x4fb7c3=_0x4b0e4f,_0x5d7793,_0x155703;return(_0x155703=(_0x5d7793=this[_0x4fb7c3(0x3e6)])==null?void 0x0:_0x5d7793[_0x4fb7c3(0x250)])==null?void 0x0:_0x155703[_0x4fb7c3(0x3fe)](_0x5d7793,_0x50f21c);},_0x549684['onTransformRemoteChangesetByIMECache']=_0x4ff752=>{var _0x321159=_0x4b0e4f,_0xdf6c78,_0x51312d,_0x3319a7;if(!((_0xdf6c78=this[_0x321159(0x3e6)])!=null&&_0xdf6c78[_0x321159(0x31f)]))throw new Error(_0x321159(0x449));return(_0x3319a7=(_0x51312d=this[_0x321159(0x3e6)])==null?void 0x0:_0x51312d['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3319a7[_0x321159(0x3fe)](_0x51312d,_0x4ff752);},_0x549684[_0x4b0e4f(0x36f)]=_0x1ecd24=>{var _0x4aa0df=_0x4b0e4f,_0x1d5cef,_0xe830db,_0x1081e7;if(!((_0x1d5cef=this[_0x4aa0df(0x3e6)])!=null&&_0x1d5cef['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4aa0df(0x33b));return(_0x1081e7=(_0xe830db=this[_0x4aa0df(0x3e6)])==null?void 0x0:_0xe830db['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1081e7[_0x4aa0df(0x3fe)](_0xe830db,_0x1ecd24);},_0x549684;}async['_init'](){var _0x8f1f62=_0x1970a9;const _0x1cee54=await super[_0x8f1f62(0x294)]();return this[_0x8f1f62(0x455)](this['_commandService']['onCommandExecuted']((_0x5f030b,_0x4b45fe)=>{var _0x4526cf=_0x8f1f62;if(_0x5f030b[_0x4526cf(0x3b9)]!==_0x384b46[_0x4526cf(0x372)]||_0x4b45fe!=null&&_0x4b45fe[_0x4526cf(0x3c4)]||_0x4b45fe!=null&&_0x4b45fe['onlyLocal']||_0x5f030b['id']===_0x3925f7['id'])return;const _0x172600=_0x5f030b[_0x4526cf(0x423)];if((_0x172600==null?void 0x0:_0x172600[_0x4526cf(0x447)])!==this[_0x4526cf(0x402)])return;const _0x130c95=_0x5f030b,_0x31b3da=this['_compressMutationService'][_0x4526cf(0x3f8)][_0x4526cf(0x3ab)](this[_0x4526cf(0x27f)]['interceptor']['getInterceptPoints']()[_0x4526cf(0x468)])([_0x130c95],this[_0x4526cf(0x461)])||[_0x130c95];this[_0x4526cf(0x42e)](_0x31b3da[0x0]);})),_0x1cee54;}};It=Pt([$(0x3,_0x253c3d(_0x9d7216)),$(0x4,_0x253c3d(_0x19f875)),$(0x5,_0x253c3d(_0x1de809)),$(0x6,_0x253c3d(_0x54f50d)),$(0x7,_0x253c3d(ve)),$(0x8,_0xe0db57),$(0x9,_0x41ff63),$(0xa,_0x2fde4d),$(0xb,_0x4a0dfc),$(0xc,_0x36e38f(_t)),$(0xd,_0x36e38f(J))],It);let St=class extends st{constructor(_0x4b36f5,_0xff087d,_0x36a60a,_0x1a0ab8,_0xe56f15,_0x22b9d0,_0x277112,_0x4b191a,_0x219dfe,_0x38f8f9,_0x2d5973,_0x54d335,_0x448061,_0x47c53d,_0x35c618){var _0x22f792=_0x1970a9;super(_0x4b36f5,_0x36a60a,_0xff087d,_0x1a0ab8,_0xe56f15,_0x22b9d0,_0x277112,_0x219dfe,_0x38f8f9,_0x2d5973,_0x54d335,_0x448061,_0x47c53d,_0x35c618),this[_0x22f792(0x402)]=_0x4b36f5,this['type']=_0xff087d,this[_0x22f792(0x368)]=_0x4b191a;}['_createHandler'](){var _0x3f47d9=_0x1970a9;const _0x4840d8=super['_createHandler']();return _0x4840d8[_0x3f47d9(0x2ea)]=_0x4bd5b3=>this[_0x3f47d9(0x368)][_0x3f47d9(0x365)](_0x4bd5b3),_0x4840d8;}async[_0x1970a9(0x294)](){var _0x5bc083=_0x1970a9;const _0x5d2c09=await super[_0x5bc083(0x294)]();return this['disposeWithMe'](this['_commandService'][_0x5bc083(0x34d)]((_0x1c0d73,_0x2c2dd7)=>{var _0x2acfdd=_0x5bc083;if(_0x1c0d73[_0x2acfdd(0x3b9)]!==_0x384b46[_0x2acfdd(0x372)]||_0x2c2dd7!=null&&_0x2c2dd7['fromCollab']||_0x2c2dd7!=null&&_0x2c2dd7[_0x2acfdd(0x2e4)])return;const _0x1185cf=_0x1c0d73[_0x2acfdd(0x423)];if((_0x1185cf==null?void 0x0:_0x1185cf[_0x2acfdd(0x447)])!==this['unitID'])return;const _0x4776b0=_0x1c0d73,_0x4a53a6=this[_0x2acfdd(0x27f)][_0x2acfdd(0x3f8)]['fetchThroughInterceptors'](this[_0x2acfdd(0x27f)][_0x2acfdd(0x3f8)][_0x2acfdd(0x322)]()['COMPRESS_MUTATION_SEND'])([_0x4776b0],this[_0x2acfdd(0x461)])||[_0x4776b0];this[_0x2acfdd(0x42e)](_0x4a53a6[0x0]);})),_0x5d2c09;}};St=Pt([$(0x3,_0x253c3d(_0x9d7216)),$(0x4,_0x253c3d(_0x19f875)),$(0x5,_0x253c3d(_0x1de809)),$(0x6,_0x253c3d(_0x54f50d)),$(0x7,_0x253c3d(it)),$(0x8,_0x253c3d(ve)),$(0x9,_0xe0db57),$(0xa,_0x41ff63),$(0xb,_0x2fde4d),$(0xc,_0x4a0dfc),$(0xd,_0x36e38f(_t)),$(0xe,_0x36e38f(J))],St);const js=_0x2ffbe9(_0x1970a9(0x161));function Fs(_0x325225){var _0x138bdc=_0x1970a9,_0x1929d5,_0x2a46c5,_0x464d80,_0x5aa6e1,_0x4c161c;const _0x5e8474=_0x325225[_0x138bdc(0x32f)],_0x8bf8b4=JSON['parse'](_0x5e8474);switch(_0x8bf8b4['cmd']){case F[_0x138bdc(0x238)]:case F[_0x138bdc(0x381)]:{const _0x48d0ba=_0x8bf8b4[_0x138bdc(0x429)];return{..._0x8bf8b4,'data':_0x48d0ba,'cmd':_0x8bf8b4['cmd']};}case F[_0x138bdc(0x2b6)]:{const _0x5c4e44=_0x8bf8b4[_0x138bdc(0x29a)];return{..._0x8bf8b4,'data':_0x5c4e44,'cmd':_0x8bf8b4['cmd']};}case F[_0x138bdc(0x376)]:{const _0x331149=_0x8bf8b4['collaMsg'];switch(_0x331149[_0x138bdc(0x332)]){case _0x274cb2[_0x138bdc(0x416)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x1929d5=_0x331149['permissionRejEvent'])==null?void 0x0:_0x1929d5['cs']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x29f)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x2a46c5=_0x331149[_0x138bdc(0x395)])==null?void 0x0:_0x2a46c5['cs']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x303)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x464d80=_0x331149['newCsEvent'])==null?void 0x0:_0x464d80['cs']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x36a)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x5aa6e1=_0x331149[_0x138bdc(0x297)])==null?void 0x0:_0x5aa6e1['cs']},'cmd':_0x8bf8b4['cmd']};case _0x274cb2[_0x138bdc(0x192)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':(_0x4c161c=_0x331149[_0x138bdc(0x25a)])==null?void 0x0:_0x4c161c['cs']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x3e0)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x314)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x1ed)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x2b1)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x29b)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x3df)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2['LIVESHARE_NEW_HOST']:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149['liveShareNewHost']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x263)]:case _0x274cb2[_0x138bdc(0x22e)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149['liveShareOperation']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x268)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149['liveShareNewHost']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x319)]:return{..._0x8bf8b4,'data':_0x331149,'cmd':_0x8bf8b4['cmd']};case _0x274cb2[_0x138bdc(0x3e7)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x377)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x347)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149['updatePermissionObjEvent']},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x289)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x254)]},'cmd':_0x8bf8b4[_0x138bdc(0x18c)]};case _0x274cb2[_0x138bdc(0x43f)]:return{..._0x8bf8b4,'data':{..._0x331149,'data':_0x331149[_0x138bdc(0x1c3)]},'cmd':_0x8bf8b4['cmd']};default:return _0x8bf8b4;}}default:return _0x8bf8b4;}}function Vs(_0x353876){var _0x4c0ebe=_0x1970a9;switch(_0x353876[_0x4c0ebe(0x18c)]){case F['HEARTBEAT']:case F[_0x4c0ebe(0x381)]:return JSON[_0x4c0ebe(0x1af)]({'cmd':_0x353876[_0x4c0ebe(0x18c)],'routeKey':_0x353876['routeKey']});case F[_0x4c0ebe(0x33c)]:{let _0x25dae8;switch(_0x353876['data'][_0x4c0ebe(0x332)]){case _0x274cb2['UPDATE_CURSOR']:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x3e0)],'updateCursorEvent':_0x353876[_0x4c0ebe(0x32f)]['data']};break;}case _0x274cb2[_0x4c0ebe(0x29b)]:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x29b)],'leaveEvent':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x32f)]};break;}case _0x274cb2[_0x4c0ebe(0x1ed)]:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x1ed)],'joinEvent':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x32f)]};break;}case _0x274cb2['LIVESHARE_NEW_HOST']:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x224)],'liveShareNewHost':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x32f)]};break;}case _0x274cb2[_0x4c0ebe(0x22e)]:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x22e)],'liveShareOperation':_0x353876[_0x4c0ebe(0x32f)]['data']};break;}case _0x274cb2[_0x4c0ebe(0x268)]:{_0x25dae8={'eventID':_0x274cb2['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x353876['data']['data']};break;}case _0x274cb2[_0x4c0ebe(0x389)]:{_0x25dae8={'eventID':_0x274cb2[_0x4c0ebe(0x389)],'liveShareRequestHost':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x32f)]};break;}case _0x274cb2[_0x4c0ebe(0x263)]:{_0x25dae8={'eventID':_0x274cb2['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x25dae8={'eventID':_0x353876[_0x4c0ebe(0x32f)][_0x4c0ebe(0x332)]};}return JSON[_0x4c0ebe(0x1af)]({'cmd':_0x353876[_0x4c0ebe(0x18c)],'routeKey':_0x353876[_0x4c0ebe(0x1be)],'collaMsg':_0x25dae8});}case F[_0x4c0ebe(0x2b6)]:return JSON['stringify']({'cmd':_0x353876[_0x4c0ebe(0x18c)],'routeKey':_0x353876[_0x4c0ebe(0x1be)],'joinReq':_0x353876['data']});case F['LEAVE']:return JSON[_0x4c0ebe(0x1af)]({'cmd':_0x353876[_0x4c0ebe(0x18c)],'routeKey':_0x353876['routeKey'],'leaveReq':_0x353876['data']});default:throw new Error(_0x4c0ebe(0x1a3));}}var Gs=Object[_0x1970a9(0x16f)],Ws=(_0x5b1774,_0x3a5dce,_0x80c005,_0x22d0e1)=>{var _0x2d9c94=_0x1970a9;for(var _0x113a26=_0x22d0e1>0x1?void 0x0:_0x22d0e1?Gs(_0x3a5dce,_0x80c005):_0x3a5dce,_0x6d4076=_0x5b1774[_0x2d9c94(0x439)]-0x1,_0x5bb8fc;_0x6d4076>=0x0;_0x6d4076--)(_0x5bb8fc=_0x5b1774[_0x6d4076])&&(_0x113a26=_0x5bb8fc(_0x113a26)||_0x113a26);return _0x113a26;},ye=(_0x4b960f,_0x5e9a55)=>(_0x43e946,_0x36dfb5)=>_0x5e9a55(_0x43e946,_0x36dfb5,_0x4b960f);const Oi=_0x2ffbe9('univer-pro.collaboration-client-socket-service');function Ys(_0x108e57,_0x5aafeb,_0x3b4d10){var _0x2c60ed=_0x1970a9;return _0x108e57+'/'+_0x5aafeb+_0x2c60ed(0x16a)+_0x3b4d10+_0x2c60ed(0x1de);}let Wt=class extends _0x14f4a8{constructor(_0x46f9f7,_0x5ad360,_0x4e3af5,_0x4e56bd,_0x4ffe7f){var _0x443b39=_0x1970a9;super(),this[_0x443b39(0x2e7)]=_0x46f9f7,this[_0x443b39(0x15b)]=_0x5ad360,this[_0x443b39(0x180)]=_0x4e3af5,this[_0x443b39(0x179)]=_0x4e56bd,this[_0x443b39(0x15a)]=_0x4ffe7f;}[_0x1970a9(0x3a1)](_0x4756e9){var _0x4b3aff=_0x1970a9;const _0x1c8c5d=this['_injector'][_0x4b3aff(0x190)](_0x2b260f);if(!_0x1c8c5d)throw new Error(_0x4b3aff(0x2d6));const _0x4338c8=_0x1c8c5d[_0x4b3aff(0x33f)](_0x4756e9);if(!_0x4338c8)throw new Error(_0x4b3aff(0x474));const _0x2989cf=new _0x2f5548(),_0x55691d=new _0x5c9b29();_0x2989cf[_0x4b3aff(0x240)](_0x4338c8['close$'][_0x4b3aff(0x22c)](_0xe1031b=>_0x55691d[_0x4b3aff(0x28f)](_0xe1031b))),_0x2989cf['add'](_0x19f54d(()=>_0x55691d[_0x4b3aff(0x186)]()));const _0x6ecb9c=new _0x5c9b29();_0x2989cf[_0x4b3aff(0x240)](_0x4338c8[_0x4b3aff(0x43c)][_0x4b3aff(0x22c)](_0x3975a3=>_0x6ecb9c[_0x4b3aff(0x28f)](_0x3975a3))),_0x2989cf[_0x4b3aff(0x240)](_0x19f54d(()=>_0x6ecb9c[_0x4b3aff(0x186)]()));const _0x50ea20=new _0x5c9b29();_0x2989cf[_0x4b3aff(0x240)](_0x4338c8['message$'][_0x4b3aff(0x22c)](_0x4f1a05=>{var _0xc1df82=_0x4b3aff;const _0x17cf3d=Fs(_0x4f1a05);_0x50ea20[_0xc1df82(0x28f)](_0x17cf3d);})),_0x2989cf[_0x4b3aff(0x240)](_0x19f54d(()=>_0x50ea20['complete']()));let _0x8096ab;const _0x26a6d1=()=>{var _0x4bd475=_0x4b3aff;_0x6ecb9c[_0x4bd475(0x28f)](new Event(_0x4bd475(0x1d0))),_0x55691d[_0x4bd475(0x28f)](new Event(_0x4bd475(0x1d0))),_0x8096ab['close']();};return _0x8096ab={'memberID':'','close$':_0x55691d[_0x4b3aff(0x173)](),'error$':_0x6ecb9c[_0x4b3aff(0x173)](),'open$':_0x4338c8['open$'],'message$':_0x50ea20[_0x4b3aff(0x173)](),'send':_0x4f87a4=>{var _0xa8921=_0x4b3aff;if(_0x4f87a4[_0xa8921(0x18c)]===F[_0xa8921(0x33c)]){if(_0x4f87a4[_0xa8921(0x32f)][_0xa8921(0x332)]===_0x274cb2['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x8096ab,_0x4f87a4[_0xa8921(0x32f)])[_0xa8921(0x407)](_0x3aa565=>{var _0x12a783=_0xa8921;this['_logService'][_0x12a783(0x421)](_0x3aa565),_0x26a6d1();});return;}if(_0x4f87a4[_0xa8921(0x32f)][_0xa8921(0x332)]===_0x274cb2[_0xa8921(0x338)]){const _0x290fe2=_0x4f87a4[_0xa8921(0x32f)];this[_0xa8921(0x38d)](_0x290fe2)[_0xa8921(0x411)](_0x16eb2c=>{var _0x1d1a16=_0xa8921;_0x50ea20[_0x1d1a16(0x28f)]({'cmd':F[_0x1d1a16(0x376)],'code':pe['OK'],'routeKey':_0x290fe2[_0x1d1a16(0x32f)]['unitID'],'routeType':'','data':{'eventID':_0x274cb2[_0x1d1a16(0x230)],'data':{'changesets':_0x16eb2c}}});})['catch'](_0x5f1083=>{var _0x5d8e97=_0xa8921;this[_0x5d8e97(0x179)][_0x5d8e97(0x421)](_0x5f1083),_0x26a6d1();});return;}}_0x4338c8['send'](Vs(_0x4f87a4));},'close':()=>{var _0x413aed=_0x4b3aff;_0x4338c8[_0x413aed(0x2a8)](),_0x2989cf[_0x413aed(0x19a)]();}},_0x8096ab;}async[_0x1970a9(0x198)](_0xf9f05e,_0xf8c2e){var _0x426af0=_0x1970a9,_0x7725dd;const {unitType:_0x3e7e0c,unitID:_0x505507,changeset:_0x557a59}=_0xf8c2e['data'],_0xa9b0bf={'unitID':_0x505507,'memberID':_0xf9f05e[_0x426af0(0x2ed)],'type':_0x3e7e0c,'changeset':_0x1edcfd(_0x557a59)},_0x28ecfd=this[_0x426af0(0x180)]['getConfig'](K),_0x2ee59f=Ys((_0x7725dd=_0x28ecfd==null?void 0x0:_0x28ecfd[_0x426af0(0x178)])!=null?_0x7725dd:Os,_0x3e7e0c,_0x505507);try{await this[_0x426af0(0x15b)][_0x426af0(0x27c)](_0x2ee59f,{'body':_0xa9b0bf});}catch(_0x52785c){throw this[_0x426af0(0x179)][_0x426af0(0x421)](_0x426af0(0x170),_0x426af0(0x273)),_0x52785c;}}async[_0x1970a9(0x38d)](_0x4fecc5){var _0x2eb3f6=_0x1970a9;const {unitID:_0x194fda,from:_0x39f72b,to:_0x2a8421,unitType:_0x44768e}=_0x4fecc5[_0x2eb3f6(0x32f)];return(await this[_0x2eb3f6(0x15a)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x194fda,'type':_0x44768e,'from':_0x39f72b,'to':_0x2a8421}))['changesets'];}};Wt=Ws([ye(0x0,_0x253c3d(_0x9d7216)),ye(0x1,_0x253c3d(_0x2ab676)),ye(0x2,_0x4a008f),ye(0x3,_0x41ff63),ye(0x4,_0x4c2e80)],Wt);var Ks=Object[_0x1970a9(0x16f)],qs=(_0x442809,_0x344d0e,_0x5c4cf4,_0x4aeaa1)=>{var _0x27d1f8=_0x1970a9;for(var _0x565119=_0x4aeaa1>0x1?void 0x0:_0x4aeaa1?Ks(_0x344d0e,_0x5c4cf4):_0x344d0e,_0x379434=_0x442809[_0x27d1f8(0x439)]-0x1,_0x481b7b;_0x379434>=0x0;_0x379434--)(_0x481b7b=_0x442809[_0x379434])&&(_0x565119=_0x481b7b(_0x565119)||_0x565119);return _0x565119;},Re=(_0x257131,_0x3b1f52)=>(_0x57c6e8,_0x5e20a7)=>_0x3b1f52(_0x57c6e8,_0x5e20a7,_0x257131);let we=class extends _0x14f4a8{constructor(_0x2f2b3d,_0x3dd05e,_0x281cbc,_0x413827,_0x72caba,_0x1c0ede){var _0x30d4e6=_0x1970a9;super(),D(this,_0x30d4e6(0x46e),new _0x3e8a63(void 0x0)),D(this,_0x30d4e6(0x20e),this[_0x30d4e6(0x46e)][_0x30d4e6(0x173)]()),D(this,_0x30d4e6(0x2c4),null),D(this,_0x30d4e6(0x19c),new Map()),D(this,'_status$',new _0x3e8a63(me['IDLE'])),D(this,_0x30d4e6(0x261),this[_0x30d4e6(0x2aa)][_0x30d4e6(0x173)]()),D(this,_0x30d4e6(0x22d),!0x1),D(this,_0x30d4e6(0x2f4)),D(this,_0x30d4e6(0x21c),0x0),D(this,_0x30d4e6(0x3d1)),D(this,_0x30d4e6(0x270)),(this[_0x30d4e6(0x2e7)]=_0x2f2b3d,this['_logService']=_0x3dd05e,this['_configService']=_0x281cbc,this[_0x30d4e6(0x339)]=_0x413827,this[_0x30d4e6(0x17c)]=_0x72caba,this[_0x30d4e6(0x25c)]=_0x1c0ede,this[_0x30d4e6(0x1e2)]());}get[_0x1970a9(0x301)](){var _0x4e0119=_0x1970a9;return this[_0x4e0119(0x46e)][_0x4e0119(0x476)]();}[_0x1970a9(0x1e2)](){var _0x726ff3=_0x1970a9;this['_networkConditionService']&&this[_0x726ff3(0x455)](this['_networkConditionService']['online$']['subscribe'](_0xe598e8=>{var _0xa13bf7=_0x726ff3;_0xe598e8&&!this[_0xa13bf7(0x301)]&&this[_0xa13bf7(0x334)](),_0xe598e8||this[_0xa13bf7(0x2f9)]();}));}['dispose'](){var _0x5c9487=_0x1970a9;super[_0x5c9487(0x19a)](),this[_0x5c9487(0x16d)](),this['_clearTimeoutTimer'](),this[_0x5c9487(0x328)](),this[_0x5c9487(0x19c)][_0x5c9487(0x445)](_0x44325b=>_0x44325b['dispose']()),this[_0x5c9487(0x19c)][_0x5c9487(0x25e)](),this[_0x5c9487(0x2aa)][_0x5c9487(0x186)]();}async[_0x1970a9(0x3be)](_0x23f1d5){var _0x2ff471=_0x1970a9;if(this[_0x2ff471(0x19c)][_0x2ff471(0x3b3)](_0x23f1d5))return this['_sessions'][_0x2ff471(0x190)](_0x23f1d5);this[_0x2ff471(0x382)]();const _0x392d37=this[_0x2ff471(0x2e7)][_0x2ff471(0x185)](mt,_0x23f1d5,this[_0x2ff471(0x46e)][_0x2ff471(0x173)]());return this[_0x2ff471(0x19c)]['set'](_0x23f1d5,_0x392d37),_0x392d37;}[_0x1970a9(0x380)](_0xdaaa54){var _0x1e4dd8=_0x1970a9,_0x5dcc44;const _0x4eeaa1=this['_sessions'][_0x1e4dd8(0x190)](_0xdaaa54);_0x4eeaa1&&(this[_0x1e4dd8(0x19c)][_0x1e4dd8(0x21b)](_0xdaaa54),_0x4eeaa1['close']()),this[_0x1e4dd8(0x19c)][_0x1e4dd8(0x199)]||(_0x5dcc44=this[_0x1e4dd8(0x301)])==null||_0x5dcc44['close']();}['reconnect'](){var _0x33923f=_0x1970a9;this[_0x33923f(0x21c)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x2e3eda=_0x1970a9;this[_0x2e3eda(0x2f4)]!=null&&(clearTimeout(this[_0x2e3eda(0x2f4)]),this[_0x2e3eda(0x2f4)]=null);}async['_createSocket'](){var _0x283d7f=_0x1970a9,_0xa2535e;const _0x132a38=this[_0x283d7f(0x180)][_0x283d7f(0x26d)](K),_0x1f9f99=(_0xa2535e=_0x132a38==null?void 0x0:_0x132a38[_0x283d7f(0x34c)])!=null?_0xa2535e:Es,_0x49349f=await this[_0x283d7f(0x339)]['createSocket'](_0x1f9f99);return this['_candidateSocket']=_0x49349f,_0x49349f;}async[_0x1970a9(0x382)](){var _0x23ade5=_0x1970a9,_0x14617a,_0x1347f9;try{const _0x456011=(_0x1347f9=(_0x14617a=this[_0x23ade5(0x301)])!=null?_0x14617a:this['_candidateSocket'])!=null?_0x1347f9:await this['_createSocket']();if(_0x456011){const _0x25f951=_0x456011['send'];_0x456011[_0x23ade5(0x43b)]=_0x255d3e=>(this['_rescheduleHeartbeat'](),_0x25f951[_0x23ade5(0x2fc)](_0x456011,[_0x255d3e])),_0x456011[_0x23ade5(0x40b)]['subscribe'](_0xdf4564=>this['_onMessage'](_0x456011,_0xdf4564)),_0x456011[_0x23ade5(0x43c)][_0x23ade5(0x296)](_0x40c456(0x1))[_0x23ade5(0x22c)](_0x224089=>this[_0x23ade5(0x179)][_0x23ade5(0x421)](_0x23ade5(0x3fa),_0x224089)),_0x456011[_0x23ade5(0x177)][_0x23ade5(0x296)](_0x40c456(0x1))[_0x23ade5(0x22c)](()=>{var _0x2ef42c=_0x23ade5;this[_0x2ef42c(0x331)](_0x456011);}),_0x456011['close$']['pipe'](_0x40c456(0x1))['subscribe'](_0xf8c353=>{var _0x24cfc2=_0x23ade5;this[_0x24cfc2(0x179)][_0x24cfc2(0x214)]('[CollaborationSessionService]',_0x24cfc2(0x325),_0xf8c353),this[_0x24cfc2(0x40d)]();});}}catch(_0x4d49c9){this[_0x23ade5(0x179)]['error'](_0x4d49c9),this[_0x23ade5(0x40d)]();}}[_0x1970a9(0x331)](_0x30607d){var _0x4f5b76=_0x1970a9;this[_0x4f5b76(0x179)][_0x4f5b76(0x214)]('[CollaborationSessionService]',_0x4f5b76(0x39d)),_0x30607d['send']({'cmd':F[_0x4f5b76(0x381)]}),this[_0x4f5b76(0x26f)]();}[_0x1970a9(0x2f9)](){var _0x9c5954=_0x1970a9;this[_0x9c5954(0x22d)]=!0x1,this[_0x9c5954(0x2c4)]=null,this[_0x9c5954(0x2aa)]['next'](me[_0x9c5954(0x28e)]),this['_socket$'][_0x9c5954(0x28f)](null),this['_clearTimeoutTimer'](),this[_0x9c5954(0x328)]();}[_0x1970a9(0x40d)](){var _0x580013=_0x1970a9,_0x597f10;this['_onOffline'](),this['_retryCount']<((_0x597f10=this[_0x580013(0x180)][_0x580013(0x26d)](gs))!=null?_0x597f10:Ts)?(this['_collaborationUIEventService'][_0x580013(0x1f7)]({'id':re['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x580013(0x1f7)]({'id':re[_0x580013(0x231)]});}[_0x1970a9(0x1e4)](){var _0x94cf6f=_0x1970a9,_0x3277b1;const _0x3e8c28=this[_0x94cf6f(0x21c)],_0x297cc8=this[_0x94cf6f(0x180)][_0x94cf6f(0x26d)](K),_0x37fd97=_0x3e8c28===0x0?0x0:((_0x3277b1=_0x297cc8==null?void 0x0:_0x297cc8['retryConnectingInterval'])!=null?_0x3277b1:Ss)*0x2**_0x3e8c28;this['_retryConnectingTimer']=setTimeout(()=>{var _0x5edf68=_0x94cf6f;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x5edf68(0x382)]();},_0x37fd97),this[_0x94cf6f(0x21c)]+=0x1;}[_0x1970a9(0x477)](_0xea0140,_0x39342d){var _0x904eed=_0x1970a9;const {cmd:_0x43a31f}=_0x39342d;_0x43a31f===F[_0x904eed(0x381)]&&!this[_0x904eed(0x22d)]&&(_0xea0140['memberID']=_0x39342d[_0x904eed(0x32f)][_0x904eed(0x2ed)],this['_socket$'][_0x904eed(0x28f)](_0xea0140),this[_0x904eed(0x2aa)]['next'](me[_0x904eed(0x3c7)]),this[_0x904eed(0x22d)]=!0x0,this[_0x904eed(0x2c4)]=null),_0x43a31f===F[_0x904eed(0x238)]&&this[_0x904eed(0x44e)](),this['_rescheduleHeartbeat']();}[_0x1970a9(0x26f)](){var _0xaf36a0=_0x1970a9,_0x3a3643;this['_clearHeartbeatTimer'](),this[_0xaf36a0(0x3d1)]=setTimeout(()=>this[_0xaf36a0(0x34a)](),(_0x3a3643=this['_configService'][_0xaf36a0(0x26d)](ms))!=null?_0x3a3643:Is);}[_0x1970a9(0x34a)](){var _0x10af0f=_0x1970a9;this['_socket'][_0x10af0f(0x43b)]({'cmd':F[_0x10af0f(0x238)]}),this['_waitForHeartbeatResponse']();}[_0x1970a9(0x219)](){var _0x51aec2=_0x1970a9,_0x14940e;this[_0x51aec2(0x270)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x14940e=this[_0x51aec2(0x180)][_0x51aec2(0x26d)](di))!=null?_0x14940e:fi);}['_clearHeartbeatTimer'](){var _0x5e5e25=_0x1970a9;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5e5e25(0x3d1)]),this[_0x5e5e25(0x3d1)]=null);}['_clearTimeoutTimer'](){var _0xa2c4cb=_0x1970a9;this[_0xa2c4cb(0x270)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xa2c4cb(0x270)]=null);}};we=qs([Re(0x0,_0x253c3d(_0x9d7216)),Re(0x1,_0x41ff63),Re(0x2,_0x4a008f),Re(0x3,Oi),Re(0x4,_0x253c3d(ve)),Re(0x5,_0x36e38f(js))],we);var zs=Object[_0x1970a9(0x16f)],Js=(_0x59999b,_0x3a860a,_0x3d3ee4,_0x359010)=>{for(var _0x733f40=_0x359010>0x1?void 0x0:_0x359010?zs(_0x3a860a,_0x3d3ee4):_0x3a860a,_0xaf6c9f=_0x59999b['length']-0x1,_0x39b3bb;_0xaf6c9f>=0x0;_0xaf6c9f--)(_0x39b3bb=_0x59999b[_0xaf6c9f])&&(_0x733f40=_0x39b3bb(_0x733f40)||_0x733f40);return _0x733f40;},Be=(_0xd3d5a,_0x34998b)=>(_0x4011f7,_0x527380)=>_0x34998b(_0x4011f7,_0x527380,_0xd3d5a);let nt=class extends _0x3dd074{constructor(_0x3f370c,_0x39de5e,_0xb1063a,_0x41678c){var _0x277699=_0x1970a9,_0x442b65;super(),D(this,'_entities',new Map()),D(this,_0x277699(0x24b),new _0x5c9b29()),D(this,'entityInit$',this[_0x277699(0x24b)]['asObservable']()),(this['_injector']=_0x3f370c,this['_collabSessionService']=_0x39de5e,this[_0x277699(0x180)]=_0xb1063a,this['_univerInstanceService']=_0x41678c,((_0x442b65=this['_configService'][_0x277699(0x26d)](K))==null?void 0x0:_0x442b65[_0x277699(0x18d)])!==!0x1&&this['_init']());}[_0x1970a9(0x19a)](){var _0x1c3ece=_0x1970a9;super[_0x1c3ece(0x19a)](),this[_0x1c3ece(0x32e)][_0x1c3ece(0x445)](_0x592560=>_0x592560['dispose']()),this['_entities'][_0x1c3ece(0x25e)]();}['getCollabEntity'](_0x33c9cf){var _0x3797fe=_0x1970a9,_0x314ff3;return(_0x314ff3=this[_0x3797fe(0x32e)][_0x3797fe(0x190)](_0x33c9cf))!=null?_0x314ff3:null;}[_0x1970a9(0x35b)](_0x3d0175){var _0x343f8f=_0x1970a9;const _0x13b216=this[_0x343f8f(0x175)](_0x3d0175);return _0x13b216?_0x4deaa7(_0x13b216):this['_entityInit$'][_0x343f8f(0x296)](_0xed575f(_0x3b1fc6=>_0x3b1fc6['unitID']===_0x3d0175));}['readyForCollab'](_0x2fd203){var _0x7d8818=_0x1970a9;return _0x3d2cb0(this[_0x7d8818(0x35b)](_0x2fd203)[_0x7d8818(0x296)](_0x54e938(()=>{})));}['_init'](){var _0x18217f=_0x1970a9;this[_0x18217f(0x461)]['getTypeOfUnitAdded$'](_0x3de6eb[_0x18217f(0x441)])[_0x18217f(0x296)](_0x3b37d2(this[_0x18217f(0x212)]),_0x4313f6(0x10))[_0x18217f(0x22c)](async _0x80ceab=>{var _0x45440f=_0x18217f;const _0x10ffaa=_0x80ceab[_0x45440f(0x26c)](),_0x2ec9eb=await this[_0x45440f(0x3c1)](_0x10ffaa,Q[_0x45440f(0x441)]);this[_0x45440f(0x32e)][_0x45440f(0x3d2)](_0x10ffaa,_0x2ec9eb);}),this['_univerInstanceService'][_0x18217f(0x275)](_0x3de6eb[_0x18217f(0x466)])[_0x18217f(0x296)](_0x3b37d2(this[_0x18217f(0x212)]),_0x4313f6(0x10))[_0x18217f(0x296)](_0xed575f(_0x6462a3=>!_0x6462a3[_0x18217f(0x26c)]()[_0x18217f(0x1aa)]('__')))['subscribe'](async _0x545272=>{var _0x10e2cf=_0x18217f;const _0x40cd7c=_0x545272[_0x10e2cf(0x26c)](),_0xbdcfdd=await this['_startCollaboration'](_0x40cd7c,Q[_0x10e2cf(0x466)]);this[_0x10e2cf(0x32e)]['set'](_0x40cd7c,_0xbdcfdd);}),_0x3c68f6(this[_0x18217f(0x461)][_0x18217f(0x1cf)](_0x3de6eb['UNIVER_SHEET']),this['_univerInstanceService'][_0x18217f(0x1cf)](_0x3de6eb[_0x18217f(0x466)]))[_0x18217f(0x296)](_0x3b37d2(this['dispose$']))[_0x18217f(0x22c)](_0x43960e=>{var _0x50122f=_0x18217f;const _0x27fe33=_0x43960e[_0x50122f(0x26c)](),_0x4dd812=this['_entities'][_0x50122f(0x190)](_0x27fe33);_0x4dd812&&(_0x4dd812[_0x50122f(0x19a)](),this[_0x50122f(0x32e)]['delete'](_0x27fe33));});}async[_0x1970a9(0x3c1)](_0x3a8785,_0xf39d78){var _0x567150=_0x1970a9;const _0x3c0539=await this[_0x567150(0x1d4)][_0x567150(0x3be)](_0x3a8785),_0xe3623a=this[_0x567150(0x2e7)][_0x567150(0x185)](this[_0x567150(0x2c0)](_0xf39d78),_0x3a8785,_0xf39d78,_0x3c0539);return await _0xe3623a[_0x567150(0x1c7)](),this['_entityInit$']['next'](_0xe3623a),_0xe3623a;}[_0x1970a9(0x2c0)](_0x4b7a17){var _0x13cccc=_0x1970a9;switch(_0x4b7a17){case Q[_0x13cccc(0x466)]:return It;case Q[_0x13cccc(0x441)]:return St;default:throw new Error(_0x13cccc(0x44b)+_0x4b7a17);}}};nt=Js([Be(0x0,_0x253c3d(_0x9d7216)),Be(0x1,_0x253c3d(we)),Be(0x2,_0x4a008f),Be(0x3,_0xe0db57)],nt);var Xs=Object[_0x1970a9(0x16f)],Zs=(_0x35ded5,_0x4d71ed,_0x59df7b,_0x2a29da)=>{var _0x5d3ad4=_0x1970a9;for(var _0x1b6306=_0x2a29da>0x1?void 0x0:_0x2a29da?Xs(_0x4d71ed,_0x59df7b):_0x4d71ed,_0x4f0a11=_0x35ded5[_0x5d3ad4(0x439)]-0x1,_0x15668a;_0x4f0a11>=0x0;_0x4f0a11--)(_0x15668a=_0x35ded5[_0x4f0a11])&&(_0x1b6306=_0x15668a(_0x1b6306)||_0x1b6306);return _0x1b6306;},Yt=(_0x2a1f3a,_0x46127b)=>(_0xd15d22,_0x3cd0bb)=>_0x46127b(_0xd15d22,_0x3cd0bb,_0x2a1f3a);const Qs=_0x1970a9(0x31e),en='Univer';let gt=class extends _0x14f4a8{constructor(_0x1178df,_0x3ad75b){var _0x3d2f1a=_0x1970a9;super(),this[_0x3d2f1a(0x461)]=_0x1178df,this['_configService']=_0x3ad75b,this['_init']();}['_init'](){var _0x5bdd40=_0x1970a9;this['disposeWithMe'](this['_univerInstanceService'][_0x5bdd40(0x29c)][_0x5bdd40(0x22c)](()=>{var _0x50e0a6=_0x5bdd40,_0x1b1a7b;const _0x27a9d5=this[_0x50e0a6(0x461)]['getFocusedUnit']();let _0x1788d0=(_0x1b1a7b=this[_0x50e0a6(0x180)][_0x50e0a6(0x26d)](Qs))!=null?_0x1b1a7b:en;_0x27a9d5 instanceof _0x1bbd6e&&(_0x1788d0=_0x27a9d5[_0x50e0a6(0x403)]),document[_0x50e0a6(0x21f)]=_0x1788d0;}));}};gt=Zs([Yt(0x0,_0xe0db57),Yt(0x1,_0x4a008f)],gt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x32aa0b,_0x795b42,_0xdb7fac,_0x5012e2)=>{var _0x3ad61f=_0x1970a9;for(var _0x2f54c4=_0x5012e2>0x1?void 0x0:_0x5012e2?tn(_0x795b42,_0xdb7fac):_0x795b42,_0x5684d8=_0x32aa0b[_0x3ad61f(0x439)]-0x1,_0x442dfd;_0x5684d8>=0x0;_0x5684d8--)(_0x442dfd=_0x32aa0b[_0x5684d8])&&(_0x2f54c4=_0x442dfd(_0x2f54c4)||_0x2f54c4);return _0x2f54c4;},dt=(_0x311247,_0x78e2f2)=>(_0x77296a,_0x1de28d)=>_0x78e2f2(_0x77296a,_0x1de28d,_0x311247);let rt=class{constructor(_0x5b8932,_0x1363f4,_0x42a3b2){var _0x6366d7=_0x1970a9;this['_configService']=_0x5b8932,this[_0x6366d7(0x15b)]=_0x1363f4,this['localeService']=_0x42a3b2,this[_0x6366d7(0x1c7)]();}[_0x1970a9(0x1c7)](){var _0xb6b120=_0x1970a9;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xad51b2,_0x433d85)=>_0x433d85(_0xad51b2)[_0xb6b120(0x296)](_0x1b3246(async _0x4e2474=>{var _0x475d1d=_0xb6b120;const _0x2116bf=_0x4e2474;if(_0x2116bf['status']===0x191){if(typeof window>'u')throw new Error(_0x475d1d(0x18f));if(window[_0x475d1d(0x3d8)](this[_0x475d1d(0x321)]['t'](_0x475d1d(0x18a)))){const _0x28eb1f=window[_0x475d1d(0x2cb)](window[_0x475d1d(0x3c5)]['href']);window[_0x475d1d(0x3c5)][_0x475d1d(0x221)]=this[_0x475d1d(0x2f7)]()+_0x475d1d(0x436)+_0x28eb1f;}}return _0x2116bf;}))});}[_0x1970a9(0x2f7)](){var _0x790fc2=_0x1970a9,_0x403802;const _0x1b047b=this[_0x790fc2(0x180)][_0x790fc2(0x26d)](K);return(_0x403802=_0x1b047b==null?void 0x0:_0x1b047b[_0x790fc2(0x305)])!=null?_0x403802:Rs;}};rt=sn([dt(0x0,_0x4a008f),dt(0x1,_0x253c3d(_0x2ab676)),dt(0x2,_0x253c3d(_0x1de809))],rt);var nn=Object[_0x1970a9(0x16f)],rn=(_0x144adc,_0x4ad971,_0x5e8f70,_0x32b5d9)=>{for(var _0x4a7453=_0x32b5d9>0x1?void 0x0:_0x32b5d9?nn(_0x4ad971,_0x5e8f70):_0x4ad971,_0x123f8b=_0x144adc['length']-0x1,_0x51a0e1;_0x123f8b>=0x0;_0x123f8b--)(_0x51a0e1=_0x144adc[_0x123f8b])&&(_0x4a7453=_0x51a0e1(_0x4a7453)||_0x4a7453);return _0x4a7453;},Kt=(_0x38834b,_0x3b973a)=>(_0x11a36a,_0x254ff3)=>_0x3b973a(_0x11a36a,_0x254ff3,_0x38834b);const an='/universer-api/authz';let Tt=class extends _0x14f4a8{constructor(_0x29ee7c,_0x1292bf){var _0x568ca6=_0x1970a9;super(),this[_0x568ca6(0x310)]=_0x29ee7c,this[_0x568ca6(0x180)]=_0x1292bf,this['_initMergeInterceptor']();}[_0x1970a9(0x239)](){var _0x1a54a8=_0x1970a9;const _0x25257b=this;this[_0x1a54a8(0x455)](this[_0x1a54a8(0x310)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x12c28b({'isMatch'(_0x2195ac){var _0x14986b=_0x1a54a8,_0x4fb0ee;if(_0x2195ac[_0x14986b(0x252)]===_0x14986b(0x3d7)&&((_0x4fb0ee=_0x2195ac['requestParams'])!=null&&_0x4fb0ee[_0x14986b(0x29d)])){const {objectID:_0x56383a,objectType:_0x36ae7a}=_0x2195ac['requestParams'][_0x14986b(0x29d)]||{};if(!_0x56383a||_0x36ae7a===void 0x0)return!0x1;const _0x2d9574=_0x25257b['_getAPIPrefixPath']()+'/'+_0x36ae7a+_0x14986b(0x478)+_0x56383a+'/allowed';if(_0x2195ac['url']===_0x2d9574)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x46836b){var _0x4bcd78=_0x1a54a8,_0x3ff476;return(_0x3ff476=_0x46836b[_0x4bcd78(0x2c9)])==null?void 0x0:_0x3ff476[_0x4bcd78(0x29d)];},'mergeParamsToRequest'(_0xd5ad58,_0x4f4c27){var _0x3375f1=_0x1a54a8;const _0x5dd955=_0x25257b[_0x3375f1(0x1e3)]()+_0x3375f1(0x1e0),_0x2465c3=_0xd5ad58[_0x3375f1(0x464)]((_0x336b75,_0x13c3b7)=>{var _0x21973e=_0x3375f1;const {unitID:_0x5d3668,objectID:_0xad884a,objectType:_0x2ec069,actions:_0x4a128b}=_0x13c3b7;return _0x336b75[_0x5d3668]||(_0x336b75[_0x5d3668]={}),_0x336b75[_0x5d3668][_0xad884a]||(_0x336b75[_0x5d3668][_0xad884a]={'objectID':_0xad884a,'objectType':_0x2ec069,'actions':[]}),_0x336b75[_0x5d3668][_0xad884a][_0x21973e(0x2dc)][_0x21973e(0x227)](..._0x4a128b),_0x336b75;},{}),_0x1b3639=[];for(const _0x1740fc in _0x2465c3)for(const _0x51d0cd in _0x2465c3[_0x1740fc]){const {actions:_0x1d7b52,objectType:_0x47085f}=_0x2465c3[_0x1740fc][_0x51d0cd],_0xdedc22=[...new Set(_0x1d7b52)];_0x1b3639[_0x3375f1(0x227)]({'unitID':_0x1740fc,'objectID':_0x51d0cd,'objectType':_0x47085f,'actions':_0xdedc22});}return new _0x4ba868('POST',_0x5dd955,{'headers':_0x4f4c27[_0x3375f1(0x343)],'withCredentials':_0x4f4c27[_0x3375f1(0x29e)],'responseType':_0x4f4c27[_0x3375f1(0x2e6)],'body':{'requests':_0x1b3639}});}},{'distributeResult'(_0x4290c3,_0x569b6a){const {objectActions:_0x1c9b61}=_0x4290c3;return _0x569b6a['map'](_0x558032=>{var _0x4ffb9c=_0x35ab;const {unitID:_0xf7dcec,objectID:_0x3058f0,actions:_0x15f202}=_0x558032,_0x43f681=_0x1c9b61[_0x4ffb9c(0x245)](_0x11b8d8=>_0x11b8d8[_0x4ffb9c(0x402)]===_0xf7dcec&&_0x11b8d8['objectID']===_0x3058f0),_0x5f2bea=_0x15f202[_0x4ffb9c(0x417)](_0x3b0d6d=>_0x43f681==null?void 0x0:_0x43f681[_0x4ffb9c(0x2dc)][_0x4ffb9c(0x245)](_0x24d126=>_0x24d126[_0x4ffb9c(0x41f)]===_0x3b0d6d))[_0x4ffb9c(0x1d2)](_0x24d601=>!!_0x24d601);return{'config':_0x558032,'result':{'actions':_0x5f2bea,'error':_0x4290c3[_0x4ffb9c(0x421)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4e47cb=_0x1970a9,_0x5c8264;const _0xaf78e9=this['_configService'][_0x4e47cb(0x26d)](K);return(_0x5c8264=_0xaf78e9==null?void 0x0:_0xaf78e9['authzUrl'])!=null?_0x5c8264:an;}async[_0x1970a9(0x1ef)](_0x490a12){var _0x298795=_0x1970a9;const _0x3684e2=this[_0x298795(0x1e3)]()+'/'+_0x490a12[_0x298795(0x23f)]+_0x298795(0x2fe);return(await this[_0x298795(0x310)]['post'](_0x3684e2,{'body':_0x490a12}))[_0x298795(0x29d)][_0x298795(0x320)]||'';}async[_0x1970a9(0x1e6)](_0x5d94fa){var _0x42e9d7=_0x1970a9;const _0xce8278=this[_0x42e9d7(0x1e3)]()+_0x42e9d7(0x1a7);return(await this['_HTTPService'][_0x42e9d7(0x27c)](_0xce8278,{'body':_0x5d94fa}))[_0x42e9d7(0x29d)][_0x42e9d7(0x2ad)];}async['update'](_0x53cce3){var _0x938904=_0x1970a9,_0x14d014,_0x5a479d;const _0x327afc=this['_getAPIPrefixPath']()+'/'+_0x53cce3[_0x938904(0x23f)]+'/object/'+_0x53cce3[_0x938904(0x320)],_0x369f07=await this[_0x938904(0x310)][_0x938904(0x2e9)](_0x327afc,{'body':_0x53cce3});if(((_0x5a479d=(_0x14d014=_0x369f07==null?void 0x0:_0x369f07[_0x938904(0x29d)])==null?void 0x0:_0x14d014[_0x938904(0x421)])==null?void 0x0:_0x5a479d[_0x938904(0x404)])!==0x1)throw new Error(_0x938904(0x420));}async[_0x1970a9(0x1f9)](_0x2a4245){var _0x3e3f63=_0x1970a9;const _0x369fdb=this[_0x3e3f63(0x1e3)]()+'/'+_0x2a4245[_0x3e3f63(0x23f)]+'/object/'+_0x2a4245[_0x3e3f63(0x320)]+_0x3e3f63(0x37c);return(await this[_0x3e3f63(0x310)]['post'](_0x369fdb,{'body':_0x2a4245}))[_0x3e3f63(0x29d)][_0x3e3f63(0x2dc)];}async[_0x1970a9(0x207)](_0x2c9a35){var _0x4d5909=_0x1970a9;const _0x4ac652=this[_0x4d5909(0x1e3)]()+'/-/object/-/batch_allowed';return(await this[_0x4d5909(0x310)][_0x4d5909(0x27c)](_0x4ac652,{'body':{'requests':_0x2c9a35}}))[_0x4d5909(0x29d)][_0x4d5909(0x36e)];}async[_0x1970a9(0x45d)](_0x92759b){var _0x4ae0e8=_0x1970a9;const _0x1e5fbd=this[_0x4ae0e8(0x1e3)]()+'/'+_0x92759b[_0x4ae0e8(0x23f)]+'/role',_0x21789a=await this[_0x4ae0e8(0x310)]['post'](_0x1e5fbd,{'body':_0x92759b});return{'roles':_0x21789a[_0x4ae0e8(0x29d)][_0x4ae0e8(0x37d)],'actions':_0x21789a[_0x4ae0e8(0x29d)][_0x4ae0e8(0x2dc)]};}async[_0x1970a9(0x2dd)](_0xaa9604){var _0x1dc2c3=_0x1970a9;const _0x4f0621=this[_0x1dc2c3(0x1e3)]()+_0x1dc2c3(0x399);await this[_0x1dc2c3(0x310)][_0x1dc2c3(0x21b)](_0x4f0621,{'params':{'collaboratorID':_0xaa9604[_0x1dc2c3(0x45c)],'objectID':_0xaa9604[_0x1dc2c3(0x320)],'unitID':_0xaa9604[_0x1dc2c3(0x402)]}});}async[_0x1970a9(0x2ac)](_0x5c7e32){var _0xce0260=_0x1970a9;const _0x224652=this[_0xce0260(0x1e3)]()+_0xce0260(0x399);await this[_0xce0260(0x310)][_0xce0260(0x197)](_0x224652,{'body':_0x5c7e32});}async[_0x1970a9(0x2d3)](_0x234795){var _0x49f097=_0x1970a9;const _0x429c72=this['_getAPIPrefixPath']()+_0x49f097(0x399);await this[_0x49f097(0x310)][_0x49f097(0x27c)](_0x429c72,{'body':_0x234795});}async['listCollaborators'](_0x58cf9b){var _0x57c16b=_0x1970a9;const _0x4b08fb=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x57c16b(0x190)](_0x4b08fb,{'params':{'objectID':_0x58cf9b[_0x57c16b(0x320)],'unitID':_0x58cf9b[_0x57c16b(0x402)]}}))[_0x57c16b(0x29d)][_0x57c16b(0x2db)];}async['putCollaborators'](_0xe9f10a){var _0xb77609=_0x1970a9;const _0x5b13b5=this[_0xb77609(0x1e3)]()+_0xb77609(0x399);await this[_0xb77609(0x310)]['put'](_0x5b13b5,{'body':_0xe9f10a});}};Tt=rn([Kt(0x0,_0x253c3d(_0x2ab676)),Kt(0x1,_0x253c3d(_0x4a008f))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2e94e6){var _0x13c2db=_0x1970a9;return _0x2e94e6&&_0x2e94e6[_0x13c2db(0x1d1)]&&Object[_0x13c2db(0x1cc)][_0x13c2db(0x45e)][_0x13c2db(0x3fe)](_0x2e94e6,'default')?_0x2e94e6[_0x13c2db(0x431)]:_0x2e94e6;}var Ve={'exports':{}};function on(_0x64834f){var _0x1c17d3=_0x1970a9;throw new Error(_0x1c17d3(0x1e7)+_0x64834f+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge[_0x1970a9(0x3dc)],qt;function ie(){var _0x3773b3=_0x1970a9;return qt||(qt=0x1,function(_0xba5127,_0x1ac865){(function(_0x204504,_0x2e5c62){var _0x267a60=_0x35ab;_0xba5127[_0x267a60(0x3dc)]=_0x2e5c62();}(cn,function(){var _0x3e47eb=_0x3e47eb||function(_0x1afa21,_0x3d44e5){var _0x3500b0=_0x35ab,_0x5a1bbc;if(typeof window<'u'&&window[_0x3500b0(0x1fa)]&&(_0x5a1bbc=window[_0x3500b0(0x1fa)]),typeof self<'u'&&self['crypto']&&(_0x5a1bbc=self[_0x3500b0(0x1fa)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5a1bbc=globalThis[_0x3500b0(0x1fa)]),!_0x5a1bbc&&typeof window<'u'&&window[_0x3500b0(0x292)]&&(_0x5a1bbc=window[_0x3500b0(0x292)]),!_0x5a1bbc&&typeof ft<'u'&&ft[_0x3500b0(0x1fa)]&&(_0x5a1bbc=ft[_0x3500b0(0x1fa)]),!_0x5a1bbc&&typeof on==_0x3500b0(0x410))try{_0x5a1bbc=require('crypto');}catch{}var _0x5e240a=function(){var _0x4ccd81=_0x3500b0;if(_0x5a1bbc){if(typeof _0x5a1bbc[_0x4ccd81(0x475)]==_0x4ccd81(0x410))try{return _0x5a1bbc[_0x4ccd81(0x475)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5a1bbc[_0x4ccd81(0x393)]==_0x4ccd81(0x410))try{return _0x5a1bbc[_0x4ccd81(0x393)](0x4)[_0x4ccd81(0x440)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3f01a1=Object[_0x3500b0(0x1ef)]||(function(){function _0x564a59(){}return function(_0x41bd7a){var _0x555684=_0x35ab,_0x75a0ea;return _0x564a59[_0x555684(0x1cc)]=_0x41bd7a,_0x75a0ea=new _0x564a59(),_0x564a59[_0x555684(0x1cc)]=null,_0x75a0ea;};}()),_0x554d20={},_0x9a68ae=_0x554d20['lib']={},_0x585428=_0x9a68ae[_0x3500b0(0x1c9)]=(function(){return{'extend':function(_0x5ed039){var _0x138c56=_0x35ab,_0x4c23d9=_0x3f01a1(this);return _0x5ed039&&_0x4c23d9['mixIn'](_0x5ed039),(!_0x4c23d9[_0x138c56(0x45e)]('init')||this[_0x138c56(0x1c7)]===_0x4c23d9[_0x138c56(0x1c7)])&&(_0x4c23d9['init']=function(){var _0x3129f7=_0x138c56;_0x4c23d9[_0x3129f7(0x300)][_0x3129f7(0x1c7)][_0x3129f7(0x2fc)](this,arguments);}),_0x4c23d9['init'][_0x138c56(0x1cc)]=_0x4c23d9,_0x4c23d9['$super']=this,_0x4c23d9;},'create':function(){var _0x1ae938=_0x35ab,_0x1ca10b=this[_0x1ae938(0x169)]();return _0x1ca10b[_0x1ae938(0x1c7)][_0x1ae938(0x2fc)](_0x1ca10b,arguments),_0x1ca10b;},'init':function(){},'mixIn':function(_0x533d25){var _0x417ed8=_0x35ab;for(var _0x508930 in _0x533d25)_0x533d25[_0x417ed8(0x45e)](_0x508930)&&(this[_0x508930]=_0x533d25[_0x508930]);_0x533d25[_0x417ed8(0x45e)](_0x417ed8(0x284))&&(this['toString']=_0x533d25['toString']);},'clone':function(){var _0x2df2fc=_0x35ab;return this[_0x2df2fc(0x1c7)][_0x2df2fc(0x1cc)][_0x2df2fc(0x169)](this);}};}()),_0x29644d=_0x9a68ae[_0x3500b0(0x19d)]=_0x585428[_0x3500b0(0x169)]({'init':function(_0x1349ff,_0x2f7585){var _0x309a52=_0x3500b0;_0x1349ff=this[_0x309a52(0x463)]=_0x1349ff||[],_0x2f7585!=_0x3d44e5?this['sigBytes']=_0x2f7585:this[_0x309a52(0x35a)]=_0x1349ff[_0x309a52(0x439)]*0x4;},'toString':function(_0x11f39b){var _0x5555aa=_0x3500b0;return(_0x11f39b||_0x26c397)[_0x5555aa(0x1af)](this);},'concat':function(_0x18f304){var _0x187847=_0x3500b0,_0x494f3d=this[_0x187847(0x463)],_0x12b907=_0x18f304[_0x187847(0x463)],_0x2851d5=this['sigBytes'],_0x2f5212=_0x18f304[_0x187847(0x35a)];if(this[_0x187847(0x46d)](),_0x2851d5%0x4)for(var _0x2bbb58=0x0;_0x2bbb58<_0x2f5212;_0x2bbb58++){var _0x49af15=_0x12b907[_0x2bbb58>>>0x2]>>>0x18-_0x2bbb58%0x4*0x8&0xff;_0x494f3d[_0x2851d5+_0x2bbb58>>>0x2]|=_0x49af15<<0x18-(_0x2851d5+_0x2bbb58)%0x4*0x8;}else{for(var _0x94d1cc=0x0;_0x94d1cc<_0x2f5212;_0x94d1cc+=0x4)_0x494f3d[_0x2851d5+_0x94d1cc>>>0x2]=_0x12b907[_0x94d1cc>>>0x2];}return this[_0x187847(0x35a)]+=_0x2f5212,this;},'clamp':function(){var _0x50cb86=_0x3500b0,_0x53f4bd=this[_0x50cb86(0x463)],_0xcf283=this[_0x50cb86(0x35a)];_0x53f4bd[_0xcf283>>>0x2]&=0xffffffff<<0x20-_0xcf283%0x4*0x8,_0x53f4bd[_0x50cb86(0x439)]=_0x1afa21[_0x50cb86(0x235)](_0xcf283/0x4);},'clone':function(){var _0x502a26=_0x3500b0,_0x50e392=_0x585428[_0x502a26(0x3ad)]['call'](this);return _0x50e392[_0x502a26(0x463)]=this[_0x502a26(0x463)][_0x502a26(0x209)](0x0),_0x50e392;},'random':function(_0x518b92){var _0x929e5b=_0x3500b0;for(var _0x595138=[],_0x1f6ab3=0x0;_0x1f6ab3<_0x518b92;_0x1f6ab3+=0x4)_0x595138[_0x929e5b(0x227)](_0x5e240a());return new _0x29644d[(_0x929e5b(0x1c7))](_0x595138,_0x518b92);}}),_0x47cc8d=_0x554d20[_0x3500b0(0x32b)]={},_0x26c397=_0x47cc8d[_0x3500b0(0x272)]={'stringify':function(_0x193757){var _0x24a95b=_0x3500b0;for(var _0x1e9eda=_0x193757[_0x24a95b(0x463)],_0x1db472=_0x193757['sigBytes'],_0x54346b=[],_0x4fefc5=0x0;_0x4fefc5<_0x1db472;_0x4fefc5++){var _0x15b12b=_0x1e9eda[_0x4fefc5>>>0x2]>>>0x18-_0x4fefc5%0x4*0x8&0xff;_0x54346b['push']((_0x15b12b>>>0x4)[_0x24a95b(0x284)](0x10)),_0x54346b[_0x24a95b(0x227)]((_0x15b12b&0xf)[_0x24a95b(0x284)](0x10));}return _0x54346b[_0x24a95b(0x360)]('');},'parse':function(_0x54216e){var _0x250b1c=_0x3500b0;for(var _0x1cb467=_0x54216e[_0x250b1c(0x439)],_0x291b10=[],_0x894849=0x0;_0x894849<_0x1cb467;_0x894849+=0x2)_0x291b10[_0x894849>>>0x3]|=parseInt(_0x54216e[_0x250b1c(0x37a)](_0x894849,0x2),0x10)<<0x18-_0x894849%0x8*0x4;return new _0x29644d['init'](_0x291b10,_0x1cb467/0x2);}},_0x3ec064=_0x47cc8d['Latin1']={'stringify':function(_0x186602){var _0x1740af=_0x3500b0;for(var _0x33e337=_0x186602[_0x1740af(0x463)],_0x503e44=_0x186602[_0x1740af(0x35a)],_0x3df29c=[],_0x3c8a19=0x0;_0x3c8a19<_0x503e44;_0x3c8a19++){var _0x21236d=_0x33e337[_0x3c8a19>>>0x2]>>>0x18-_0x3c8a19%0x4*0x8&0xff;_0x3df29c[_0x1740af(0x227)](String[_0x1740af(0x446)](_0x21236d));}return _0x3df29c[_0x1740af(0x360)]('');},'parse':function(_0x495afd){var _0x8e0fe=_0x3500b0;for(var _0x809d75=_0x495afd[_0x8e0fe(0x439)],_0x1bf665=[],_0x12dfaa=0x0;_0x12dfaa<_0x809d75;_0x12dfaa++)_0x1bf665[_0x12dfaa>>>0x2]|=(_0x495afd[_0x8e0fe(0x353)](_0x12dfaa)&0xff)<<0x18-_0x12dfaa%0x4*0x8;return new _0x29644d['init'](_0x1bf665,_0x809d75);}},_0x11783b=_0x47cc8d[_0x3500b0(0x3bb)]={'stringify':function(_0x3b757d){var _0x147f7c=_0x3500b0;try{return decodeURIComponent(escape(_0x3ec064['stringify'](_0x3b757d)));}catch{throw new Error(_0x147f7c(0x3f0));}},'parse':function(_0x132a59){var _0x30f4de=_0x3500b0;return _0x3ec064[_0x30f4de(0x37b)](unescape(encodeURIComponent(_0x132a59)));}},_0x267b2d=_0x9a68ae[_0x3500b0(0x427)]=_0x585428[_0x3500b0(0x169)]({'reset':function(){var _0x473810=_0x3500b0;this[_0x473810(0x1e5)]=new _0x29644d['init'](),this[_0x473810(0x41b)]=0x0;},'_append':function(_0x53e838){var _0x3b7431=_0x3500b0;typeof _0x53e838==_0x3b7431(0x318)&&(_0x53e838=_0x11783b['parse'](_0x53e838)),this[_0x3b7431(0x1e5)][_0x3b7431(0x2bc)](_0x53e838),this['_nDataBytes']+=_0x53e838['sigBytes'];},'_process':function(_0x3e4cb5){var _0x2ed53d=_0x3500b0,_0x30bf10,_0x315fcb=this[_0x2ed53d(0x1e5)],_0x3b5696=_0x315fcb[_0x2ed53d(0x463)],_0x2c9238=_0x315fcb[_0x2ed53d(0x35a)],_0x3c042a=this[_0x2ed53d(0x203)],_0x193b5e=_0x3c042a*0x4,_0x4f0e8d=_0x2c9238/_0x193b5e;_0x3e4cb5?_0x4f0e8d=_0x1afa21['ceil'](_0x4f0e8d):_0x4f0e8d=_0x1afa21[_0x2ed53d(0x336)]((_0x4f0e8d|0x0)-this['_minBufferSize'],0x0);var _0x2a815f=_0x4f0e8d*_0x3c042a,_0x22a359=_0x1afa21['min'](_0x2a815f*0x4,_0x2c9238);if(_0x2a815f){for(var _0xde9055=0x0;_0xde9055<_0x2a815f;_0xde9055+=_0x3c042a)this[_0x2ed53d(0x458)](_0x3b5696,_0xde9055);_0x30bf10=_0x3b5696[_0x2ed53d(0x307)](0x0,_0x2a815f),_0x315fcb['sigBytes']-=_0x22a359;}return new _0x29644d[(_0x2ed53d(0x1c7))](_0x30bf10,_0x22a359);},'clone':function(){var _0x48d821=_0x3500b0,_0x5cf35e=_0x585428['clone']['call'](this);return _0x5cf35e[_0x48d821(0x1e5)]=this[_0x48d821(0x1e5)][_0x48d821(0x3ad)](),_0x5cf35e;},'_minBufferSize':0x0});_0x9a68ae['Hasher']=_0x267b2d[_0x3500b0(0x169)]({'cfg':_0x585428['extend'](),'init':function(_0x421f8d){var _0x303401=_0x3500b0;this[_0x303401(0x443)]=this[_0x303401(0x443)]['extend'](_0x421f8d),this[_0x303401(0x479)]();},'reset':function(){var _0x3ccefc=_0x3500b0;_0x267b2d['reset'][_0x3ccefc(0x3fe)](this),this[_0x3ccefc(0x1bc)]();},'update':function(_0x2a1c21){var _0x4e0421=_0x3500b0;return this[_0x4e0421(0x225)](_0x2a1c21),this[_0x4e0421(0x277)](),this;},'finalize':function(_0x5b897d){var _0x1bccbd=_0x3500b0;_0x5b897d&&this[_0x1bccbd(0x225)](_0x5b897d);var _0x4b3ad3=this[_0x1bccbd(0x246)]();return _0x4b3ad3;},'blockSize':0x10,'_createHelper':function(_0x5718e7){return function(_0x25b9a8,_0x1f807){var _0x3aeb2c=_0x35ab;return new _0x5718e7[(_0x3aeb2c(0x1c7))](_0x1f807)[_0x3aeb2c(0x1eb)](_0x25b9a8);};},'_createHmacHelper':function(_0x5ca80f){return function(_0x3e4b60,_0xd22930){var _0x35c751=_0x35ab;return new _0x7a7f12[(_0x35c751(0x459))][(_0x35c751(0x1c7))](_0x5ca80f,_0xd22930)[_0x35c751(0x1eb)](_0x3e4b60);};}});var _0x7a7f12=_0x554d20[_0x3500b0(0x2e3)]={};return _0x554d20;}(Math);return _0x3e47eb;}));}(Ge)),Ge[_0x3773b3(0x3dc)];}var We={'exports':{}},_n=We[_0x1970a9(0x3dc)],zt;function Ri(){var _0x2dfe96=_0x1970a9;return zt||(zt=0x1,function(_0x31e066,_0x20d9ec){(function(_0x7e8f8,_0x435e6a){var _0x5e68dc=_0x35ab;_0x31e066[_0x5e68dc(0x3dc)]=_0x435e6a(ie());}(_n,function(_0x345f1e){var _0x4cf864=_0x35ab;return(function(){var _0x4cb639=_0x35ab,_0x5d9a06=_0x345f1e,_0x5759ea=_0x5d9a06[_0x4cb639(0x2b2)],_0x206c75=_0x5759ea[_0x4cb639(0x19d)],_0x4125af=_0x5d9a06[_0x4cb639(0x32b)];_0x4125af['Base64']={'stringify':function(_0x1d5956){var _0x5c4835=_0x4cb639,_0x3d98f5=_0x1d5956['words'],_0xa621cf=_0x1d5956['sigBytes'],_0x4f8e40=this['_map'];_0x1d5956[_0x5c4835(0x46d)]();for(var _0x5d9293=[],_0x4cd451=0x0;_0x4cd451<_0xa621cf;_0x4cd451+=0x3)for(var _0xdfecfc=_0x3d98f5[_0x4cd451>>>0x2]>>>0x18-_0x4cd451%0x4*0x8&0xff,_0x561d40=_0x3d98f5[_0x4cd451+0x1>>>0x2]>>>0x18-(_0x4cd451+0x1)%0x4*0x8&0xff,_0xd2688=_0x3d98f5[_0x4cd451+0x2>>>0x2]>>>0x18-(_0x4cd451+0x2)%0x4*0x8&0xff,_0x4b2f97=_0xdfecfc<<0x10|_0x561d40<<0x8|_0xd2688,_0x2eb42d=0x0;_0x2eb42d<0x4&&_0x4cd451+_0x2eb42d*0.75<_0xa621cf;_0x2eb42d++)_0x5d9293[_0x5c4835(0x227)](_0x4f8e40['charAt'](_0x4b2f97>>>0x6*(0x3-_0x2eb42d)&0x3f));var _0x5252a8=_0x4f8e40[_0x5c4835(0x182)](0x40);if(_0x5252a8){for(;_0x5d9293[_0x5c4835(0x439)]%0x4;)_0x5d9293[_0x5c4835(0x227)](_0x5252a8);}return _0x5d9293[_0x5c4835(0x360)]('');},'parse':function(_0x31a6ed){var _0x268129=_0x4cb639,_0x41fb08=_0x31a6ed[_0x268129(0x439)],_0x4379bf=this['_map'],_0x2e3977=this[_0x268129(0x2c3)];if(!_0x2e3977){_0x2e3977=this[_0x268129(0x2c3)]=[];for(var _0x25f621=0x0;_0x25f621<_0x4379bf[_0x268129(0x439)];_0x25f621++)_0x2e3977[_0x4379bf[_0x268129(0x353)](_0x25f621)]=_0x25f621;}var _0x215292=_0x4379bf[_0x268129(0x182)](0x40);if(_0x215292){var _0x3e4775=_0x31a6ed[_0x268129(0x422)](_0x215292);_0x3e4775!==-0x1&&(_0x41fb08=_0x3e4775);}return _0x6fbb7c(_0x31a6ed,_0x41fb08,_0x2e3977);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x6fbb7c(_0x6a7daa,_0x293bb3,_0x11b0ee){var _0x260134=_0x4cb639;for(var _0x7770e8=[],_0x5a8128=0x0,_0xa5e4f3=0x0;_0xa5e4f3<_0x293bb3;_0xa5e4f3++)if(_0xa5e4f3%0x4){var _0x169b3f=_0x11b0ee[_0x6a7daa[_0x260134(0x353)](_0xa5e4f3-0x1)]<<_0xa5e4f3%0x4*0x2,_0x1b3922=_0x11b0ee[_0x6a7daa[_0x260134(0x353)](_0xa5e4f3)]>>>0x6-_0xa5e4f3%0x4*0x2,_0x76d3c4=_0x169b3f|_0x1b3922;_0x7770e8[_0x5a8128>>>0x2]|=_0x76d3c4<<0x18-_0x5a8128%0x4*0x8,_0x5a8128++;}return _0x206c75['create'](_0x7770e8,_0x5a8128);}}()),_0x345f1e[_0x4cf864(0x32b)]['Base64'];}));}(We)),We[_0x2dfe96(0x3dc)];}var Ye={'exports':{}},hn=Ye[_0x1970a9(0x3dc)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x3f53e4,_0x37f28f){(function(_0x4366b9,_0x231644){var _0x258e1b=_0x35ab;_0x3f53e4[_0x258e1b(0x3dc)]=_0x231644(ie());}(hn,function(_0x1afc72){return function(_0x2d5736){var _0x3a9ff5=_0x35ab,_0x2099a1=_0x1afc72,_0x58d3a1=_0x2099a1[_0x3a9ff5(0x2b2)],_0x7cb772=_0x58d3a1['WordArray'],_0x5a6b56=_0x58d3a1[_0x3a9ff5(0x3c9)],_0x11ca08=_0x2099a1[_0x3a9ff5(0x2e3)],_0x5ba1c7=[];(function(){var _0x49f805=_0x3a9ff5;for(var _0x139bb6=0x0;_0x139bb6<0x40;_0x139bb6++)_0x5ba1c7[_0x139bb6]=_0x2d5736[_0x49f805(0x2da)](_0x2d5736['sin'](_0x139bb6+0x1))*0x100000000|0x0;}());var _0x34e6ec=_0x11ca08[_0x3a9ff5(0x259)]=_0x5a6b56[_0x3a9ff5(0x169)]({'_doReset':function(){var _0x1b65cf=_0x3a9ff5;this[_0x1b65cf(0x166)]=new _0x7cb772['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2e60ab,_0x2ebedc){var _0x29c831=_0x3a9ff5;for(var _0x16b29c=0x0;_0x16b29c<0x10;_0x16b29c++){var _0x119318=_0x2ebedc+_0x16b29c,_0x28a4e3=_0x2e60ab[_0x119318];_0x2e60ab[_0x119318]=(_0x28a4e3<<0x8|_0x28a4e3>>>0x18)&0xff00ff|(_0x28a4e3<<0x18|_0x28a4e3>>>0x8)&0xff00ff00;}var _0x37aaa3=this[_0x29c831(0x166)][_0x29c831(0x463)],_0x333b70=_0x2e60ab[_0x2ebedc+0x0],_0x1bce37=_0x2e60ab[_0x2ebedc+0x1],_0x2b2d5e=_0x2e60ab[_0x2ebedc+0x2],_0x51f4ba=_0x2e60ab[_0x2ebedc+0x3],_0x50fb86=_0x2e60ab[_0x2ebedc+0x4],_0x560562=_0x2e60ab[_0x2ebedc+0x5],_0xb5b7c7=_0x2e60ab[_0x2ebedc+0x6],_0x2cb8b7=_0x2e60ab[_0x2ebedc+0x7],_0x46a6ab=_0x2e60ab[_0x2ebedc+0x8],_0x1e8145=_0x2e60ab[_0x2ebedc+0x9],_0x5db1b1=_0x2e60ab[_0x2ebedc+0xa],_0x419c9b=_0x2e60ab[_0x2ebedc+0xb],_0x4978ba=_0x2e60ab[_0x2ebedc+0xc],_0x4dc0fa=_0x2e60ab[_0x2ebedc+0xd],_0x83bfe3=_0x2e60ab[_0x2ebedc+0xe],_0x3cdef5=_0x2e60ab[_0x2ebedc+0xf],_0x1fb8cf=_0x37aaa3[0x0],_0x3b66f9=_0x37aaa3[0x1],_0x5b1d4b=_0x37aaa3[0x2],_0x56db10=_0x37aaa3[0x3];_0x1fb8cf=_0x39741f(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x333b70,0x7,_0x5ba1c7[0x0]),_0x56db10=_0x39741f(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x1bce37,0xc,_0x5ba1c7[0x1]),_0x5b1d4b=_0x39741f(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x2b2d5e,0x11,_0x5ba1c7[0x2]),_0x3b66f9=_0x39741f(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x51f4ba,0x16,_0x5ba1c7[0x3]),_0x1fb8cf=_0x39741f(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x50fb86,0x7,_0x5ba1c7[0x4]),_0x56db10=_0x39741f(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x560562,0xc,_0x5ba1c7[0x5]),_0x5b1d4b=_0x39741f(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0xb5b7c7,0x11,_0x5ba1c7[0x6]),_0x3b66f9=_0x39741f(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x2cb8b7,0x16,_0x5ba1c7[0x7]),_0x1fb8cf=_0x39741f(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x46a6ab,0x7,_0x5ba1c7[0x8]),_0x56db10=_0x39741f(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x1e8145,0xc,_0x5ba1c7[0x9]),_0x5b1d4b=_0x39741f(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5db1b1,0x11,_0x5ba1c7[0xa]),_0x3b66f9=_0x39741f(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x419c9b,0x16,_0x5ba1c7[0xb]),_0x1fb8cf=_0x39741f(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x4978ba,0x7,_0x5ba1c7[0xc]),_0x56db10=_0x39741f(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x4dc0fa,0xc,_0x5ba1c7[0xd]),_0x5b1d4b=_0x39741f(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x83bfe3,0x11,_0x5ba1c7[0xe]),_0x3b66f9=_0x39741f(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3cdef5,0x16,_0x5ba1c7[0xf]),_0x1fb8cf=_0x45818b(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1bce37,0x5,_0x5ba1c7[0x10]),_0x56db10=_0x45818b(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0xb5b7c7,0x9,_0x5ba1c7[0x11]),_0x5b1d4b=_0x45818b(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x419c9b,0xe,_0x5ba1c7[0x12]),_0x3b66f9=_0x45818b(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x333b70,0x14,_0x5ba1c7[0x13]),_0x1fb8cf=_0x45818b(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x560562,0x5,_0x5ba1c7[0x14]),_0x56db10=_0x45818b(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x5db1b1,0x9,_0x5ba1c7[0x15]),_0x5b1d4b=_0x45818b(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x3cdef5,0xe,_0x5ba1c7[0x16]),_0x3b66f9=_0x45818b(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x50fb86,0x14,_0x5ba1c7[0x17]),_0x1fb8cf=_0x45818b(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1e8145,0x5,_0x5ba1c7[0x18]),_0x56db10=_0x45818b(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x83bfe3,0x9,_0x5ba1c7[0x19]),_0x5b1d4b=_0x45818b(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x51f4ba,0xe,_0x5ba1c7[0x1a]),_0x3b66f9=_0x45818b(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x46a6ab,0x14,_0x5ba1c7[0x1b]),_0x1fb8cf=_0x45818b(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x4dc0fa,0x5,_0x5ba1c7[0x1c]),_0x56db10=_0x45818b(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x2b2d5e,0x9,_0x5ba1c7[0x1d]),_0x5b1d4b=_0x45818b(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x2cb8b7,0xe,_0x5ba1c7[0x1e]),_0x3b66f9=_0x45818b(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x4978ba,0x14,_0x5ba1c7[0x1f]),_0x1fb8cf=_0x10fefe(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x560562,0x4,_0x5ba1c7[0x20]),_0x56db10=_0x10fefe(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x46a6ab,0xb,_0x5ba1c7[0x21]),_0x5b1d4b=_0x10fefe(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x419c9b,0x10,_0x5ba1c7[0x22]),_0x3b66f9=_0x10fefe(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x83bfe3,0x17,_0x5ba1c7[0x23]),_0x1fb8cf=_0x10fefe(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1bce37,0x4,_0x5ba1c7[0x24]),_0x56db10=_0x10fefe(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x50fb86,0xb,_0x5ba1c7[0x25]),_0x5b1d4b=_0x10fefe(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x2cb8b7,0x10,_0x5ba1c7[0x26]),_0x3b66f9=_0x10fefe(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x5db1b1,0x17,_0x5ba1c7[0x27]),_0x1fb8cf=_0x10fefe(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x4dc0fa,0x4,_0x5ba1c7[0x28]),_0x56db10=_0x10fefe(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x333b70,0xb,_0x5ba1c7[0x29]),_0x5b1d4b=_0x10fefe(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x51f4ba,0x10,_0x5ba1c7[0x2a]),_0x3b66f9=_0x10fefe(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0xb5b7c7,0x17,_0x5ba1c7[0x2b]),_0x1fb8cf=_0x10fefe(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1e8145,0x4,_0x5ba1c7[0x2c]),_0x56db10=_0x10fefe(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x4978ba,0xb,_0x5ba1c7[0x2d]),_0x5b1d4b=_0x10fefe(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x3cdef5,0x10,_0x5ba1c7[0x2e]),_0x3b66f9=_0x10fefe(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x2b2d5e,0x17,_0x5ba1c7[0x2f]),_0x1fb8cf=_0xba0fa(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x333b70,0x6,_0x5ba1c7[0x30]),_0x56db10=_0xba0fa(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x2cb8b7,0xa,_0x5ba1c7[0x31]),_0x5b1d4b=_0xba0fa(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x83bfe3,0xf,_0x5ba1c7[0x32]),_0x3b66f9=_0xba0fa(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x560562,0x15,_0x5ba1c7[0x33]),_0x1fb8cf=_0xba0fa(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x4978ba,0x6,_0x5ba1c7[0x34]),_0x56db10=_0xba0fa(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x51f4ba,0xa,_0x5ba1c7[0x35]),_0x5b1d4b=_0xba0fa(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5db1b1,0xf,_0x5ba1c7[0x36]),_0x3b66f9=_0xba0fa(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x1bce37,0x15,_0x5ba1c7[0x37]),_0x1fb8cf=_0xba0fa(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x46a6ab,0x6,_0x5ba1c7[0x38]),_0x56db10=_0xba0fa(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x3cdef5,0xa,_0x5ba1c7[0x39]),_0x5b1d4b=_0xba0fa(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0xb5b7c7,0xf,_0x5ba1c7[0x3a]),_0x3b66f9=_0xba0fa(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x4dc0fa,0x15,_0x5ba1c7[0x3b]),_0x1fb8cf=_0xba0fa(_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x56db10,_0x50fb86,0x6,_0x5ba1c7[0x3c]),_0x56db10=_0xba0fa(_0x56db10,_0x1fb8cf,_0x3b66f9,_0x5b1d4b,_0x419c9b,0xa,_0x5ba1c7[0x3d]),_0x5b1d4b=_0xba0fa(_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x3b66f9,_0x2b2d5e,0xf,_0x5ba1c7[0x3e]),_0x3b66f9=_0xba0fa(_0x3b66f9,_0x5b1d4b,_0x56db10,_0x1fb8cf,_0x1e8145,0x15,_0x5ba1c7[0x3f]),_0x37aaa3[0x0]=_0x37aaa3[0x0]+_0x1fb8cf|0x0,_0x37aaa3[0x1]=_0x37aaa3[0x1]+_0x3b66f9|0x0,_0x37aaa3[0x2]=_0x37aaa3[0x2]+_0x5b1d4b|0x0,_0x37aaa3[0x3]=_0x37aaa3[0x3]+_0x56db10|0x0;},'_doFinalize':function(){var _0x1bab76=_0x3a9ff5,_0x5441f3=this[_0x1bab76(0x1e5)],_0x55472d=_0x5441f3['words'],_0x2c4d27=this[_0x1bab76(0x41b)]*0x8,_0x3b1a15=_0x5441f3[_0x1bab76(0x35a)]*0x8;_0x55472d[_0x3b1a15>>>0x5]|=0x80<<0x18-_0x3b1a15%0x20;var _0x401783=_0x2d5736[_0x1bab76(0x432)](_0x2c4d27/0x100000000),_0x17ab2b=_0x2c4d27;_0x55472d[(_0x3b1a15+0x40>>>0x9<<0x4)+0xf]=(_0x401783<<0x8|_0x401783>>>0x18)&0xff00ff|(_0x401783<<0x18|_0x401783>>>0x8)&0xff00ff00,_0x55472d[(_0x3b1a15+0x40>>>0x9<<0x4)+0xe]=(_0x17ab2b<<0x8|_0x17ab2b>>>0x18)&0xff00ff|(_0x17ab2b<<0x18|_0x17ab2b>>>0x8)&0xff00ff00,_0x5441f3[_0x1bab76(0x35a)]=(_0x55472d['length']+0x1)*0x4,this[_0x1bab76(0x277)]();for(var _0x46f0ad=this[_0x1bab76(0x166)],_0x5dd704=_0x46f0ad[_0x1bab76(0x463)],_0x1a2d8e=0x0;_0x1a2d8e<0x4;_0x1a2d8e++){var _0x151939=_0x5dd704[_0x1a2d8e];_0x5dd704[_0x1a2d8e]=(_0x151939<<0x8|_0x151939>>>0x18)&0xff00ff|(_0x151939<<0x18|_0x151939>>>0x8)&0xff00ff00;}return _0x46f0ad;},'clone':function(){var _0x2c7693=_0x3a9ff5,_0x509117=_0x5a6b56['clone'][_0x2c7693(0x3fe)](this);return _0x509117[_0x2c7693(0x166)]=this[_0x2c7693(0x166)][_0x2c7693(0x3ad)](),_0x509117;}});function _0x39741f(_0x517daf,_0x5c9674,_0x267643,_0x3608cd,_0x3df9fa,_0x3e3715,_0x215cac){var _0x2eaeac=_0x517daf+(_0x5c9674&_0x267643|~_0x5c9674&_0x3608cd)+_0x3df9fa+_0x215cac;return(_0x2eaeac<<_0x3e3715|_0x2eaeac>>>0x20-_0x3e3715)+_0x5c9674;}function _0x45818b(_0x1fda15,_0x390c8f,_0x38632c,_0x315d52,_0x34daed,_0x34efe6,_0x49a4e8){var _0x5b7057=_0x1fda15+(_0x390c8f&_0x315d52|_0x38632c&~_0x315d52)+_0x34daed+_0x49a4e8;return(_0x5b7057<<_0x34efe6|_0x5b7057>>>0x20-_0x34efe6)+_0x390c8f;}function _0x10fefe(_0x283b5e,_0x29c4d7,_0x3dbb5a,_0x33fee8,_0x4c9b22,_0xc1888b,_0x44637c){var _0x14d864=_0x283b5e+(_0x29c4d7^_0x3dbb5a^_0x33fee8)+_0x4c9b22+_0x44637c;return(_0x14d864<<_0xc1888b|_0x14d864>>>0x20-_0xc1888b)+_0x29c4d7;}function _0xba0fa(_0x1cbb83,_0xb4ede0,_0x233811,_0x4e39e0,_0x213e98,_0x4f7f96,_0x2ab7f4){var _0x1ac4e0=_0x1cbb83+(_0x233811^(_0xb4ede0|~_0x4e39e0))+_0x213e98+_0x2ab7f4;return(_0x1ac4e0<<_0x4f7f96|_0x1ac4e0>>>0x20-_0x4f7f96)+_0xb4ede0;}_0x2099a1['MD5']=_0x5a6b56[_0x3a9ff5(0x16b)](_0x34e6ec),_0x2099a1['HmacMD5']=_0x5a6b56[_0x3a9ff5(0x3c0)](_0x34e6ec);}(Math),_0x1afc72['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x1970a9(0x3dc)],Xt;function dn(){var _0xd34a50=_0x1970a9;return Xt||(Xt=0x1,function(_0x47f7d6,_0x10c694){(function(_0x5d2905,_0x4adb02){_0x47f7d6['exports']=_0x4adb02(ie());}(un,function(_0x4c79c4){return(function(){var _0x219059=_0x35ab,_0x4e6c65=_0x4c79c4,_0x6d1b5b=_0x4e6c65[_0x219059(0x2b2)],_0xd7469b=_0x6d1b5b[_0x219059(0x19d)],_0x4c526a=_0x6d1b5b[_0x219059(0x3c9)],_0x5d8e7b=_0x4e6c65['algo'],_0x57f519=[],_0x58c428=_0x5d8e7b['SHA1']=_0x4c526a[_0x219059(0x169)]({'_doReset':function(){var _0x17467e=_0x219059;this[_0x17467e(0x166)]=new _0xd7469b[(_0x17467e(0x1c7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x40b3c3,_0xec911){var _0x1834e7=_0x219059;for(var _0x44c513=this[_0x1834e7(0x166)][_0x1834e7(0x463)],_0x4559fa=_0x44c513[0x0],_0x5e980d=_0x44c513[0x1],_0x359542=_0x44c513[0x2],_0x211be0=_0x44c513[0x3],_0x5e85bd=_0x44c513[0x4],_0x5ef7b5=0x0;_0x5ef7b5<0x50;_0x5ef7b5++){if(_0x5ef7b5<0x10)_0x57f519[_0x5ef7b5]=_0x40b3c3[_0xec911+_0x5ef7b5]|0x0;else{var _0x135bf7=_0x57f519[_0x5ef7b5-0x3]^_0x57f519[_0x5ef7b5-0x8]^_0x57f519[_0x5ef7b5-0xe]^_0x57f519[_0x5ef7b5-0x10];_0x57f519[_0x5ef7b5]=_0x135bf7<<0x1|_0x135bf7>>>0x1f;}var _0x548c7c=(_0x4559fa<<0x5|_0x4559fa>>>0x1b)+_0x5e85bd+_0x57f519[_0x5ef7b5];_0x5ef7b5<0x14?_0x548c7c+=(_0x5e980d&_0x359542|~_0x5e980d&_0x211be0)+0x5a827999:_0x5ef7b5<0x28?_0x548c7c+=(_0x5e980d^_0x359542^_0x211be0)+0x6ed9eba1:_0x5ef7b5<0x3c?_0x548c7c+=(_0x5e980d&_0x359542|_0x5e980d&_0x211be0|_0x359542&_0x211be0)-0x70e44324:_0x548c7c+=(_0x5e980d^_0x359542^_0x211be0)-0x359d3e2a,_0x5e85bd=_0x211be0,_0x211be0=_0x359542,_0x359542=_0x5e980d<<0x1e|_0x5e980d>>>0x2,_0x5e980d=_0x4559fa,_0x4559fa=_0x548c7c;}_0x44c513[0x0]=_0x44c513[0x0]+_0x4559fa|0x0,_0x44c513[0x1]=_0x44c513[0x1]+_0x5e980d|0x0,_0x44c513[0x2]=_0x44c513[0x2]+_0x359542|0x0,_0x44c513[0x3]=_0x44c513[0x3]+_0x211be0|0x0,_0x44c513[0x4]=_0x44c513[0x4]+_0x5e85bd|0x0;},'_doFinalize':function(){var _0x4ea570=_0x219059,_0x7c5a8=this[_0x4ea570(0x1e5)],_0x121e17=_0x7c5a8['words'],_0x4345e2=this[_0x4ea570(0x41b)]*0x8,_0x4e143f=_0x7c5a8['sigBytes']*0x8;return _0x121e17[_0x4e143f>>>0x5]|=0x80<<0x18-_0x4e143f%0x20,_0x121e17[(_0x4e143f+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ea570(0x432)](_0x4345e2/0x100000000),_0x121e17[(_0x4e143f+0x40>>>0x9<<0x4)+0xf]=_0x4345e2,_0x7c5a8[_0x4ea570(0x35a)]=_0x121e17[_0x4ea570(0x439)]*0x4,this['_process'](),this[_0x4ea570(0x166)];},'clone':function(){var _0x508bf8=_0x219059,_0x49900a=_0x4c526a[_0x508bf8(0x3ad)][_0x508bf8(0x3fe)](this);return _0x49900a[_0x508bf8(0x166)]=this[_0x508bf8(0x166)]['clone'](),_0x49900a;}});_0x4e6c65[_0x219059(0x3e8)]=_0x4c526a[_0x219059(0x16b)](_0x58c428),_0x4e6c65[_0x219059(0x1d9)]=_0x4c526a[_0x219059(0x3c0)](_0x58c428);}()),_0x4c79c4['SHA1'];}));}(qe)),qe[_0xd34a50(0x3dc)];}var ze={'exports':{}},fn=ze[_0x1970a9(0x3dc)],Zt;function vn(){var _0x159b4a=_0x1970a9;return Zt||(Zt=0x1,function(_0x14f3aa,_0x2290e2){(function(_0x1dd91b,_0x542216){var _0x4976b1=_0x35ab;_0x14f3aa[_0x4976b1(0x3dc)]=_0x542216(ie());}(fn,function(_0x31e627){(function(){var _0xcc3c59=_0x35ab,_0x3f9ee6=_0x31e627,_0x67a974=_0x3f9ee6['lib'],_0x23f728=_0x67a974['Base'],_0x1326ee=_0x3f9ee6[_0xcc3c59(0x32b)],_0x7a2e6f=_0x1326ee[_0xcc3c59(0x3bb)],_0x23f802=_0x3f9ee6[_0xcc3c59(0x2e3)];_0x23f802['HMAC']=_0x23f728['extend']({'init':function(_0x5046cb,_0x41af98){var _0x3f57a0=_0xcc3c59;_0x5046cb=this[_0x3f57a0(0x2bf)]=new _0x5046cb['init'](),typeof _0x41af98==_0x3f57a0(0x318)&&(_0x41af98=_0x7a2e6f['parse'](_0x41af98));var _0x1aadec=_0x5046cb[_0x3f57a0(0x203)],_0x4dd0b2=_0x1aadec*0x4;_0x41af98[_0x3f57a0(0x35a)]>_0x4dd0b2&&(_0x41af98=_0x5046cb[_0x3f57a0(0x1eb)](_0x41af98)),_0x41af98[_0x3f57a0(0x46d)]();for(var _0x3eda34=this[_0x3f57a0(0x2f2)]=_0x41af98[_0x3f57a0(0x3ad)](),_0x965ff6=this[_0x3f57a0(0x17b)]=_0x41af98[_0x3f57a0(0x3ad)](),_0x319af5=_0x3eda34[_0x3f57a0(0x463)],_0x16c2a2=_0x965ff6['words'],_0x21d842=0x0;_0x21d842<_0x1aadec;_0x21d842++)_0x319af5[_0x21d842]^=0x5c5c5c5c,_0x16c2a2[_0x21d842]^=0x36363636;_0x3eda34[_0x3f57a0(0x35a)]=_0x965ff6[_0x3f57a0(0x35a)]=_0x4dd0b2,this[_0x3f57a0(0x479)]();},'reset':function(){var _0x55c2f0=_0xcc3c59,_0x56dd35=this[_0x55c2f0(0x2bf)];_0x56dd35['reset'](),_0x56dd35[_0x55c2f0(0x43d)](this[_0x55c2f0(0x17b)]);},'update':function(_0x5f1856){return this['_hasher']['update'](_0x5f1856),this;},'finalize':function(_0x36591c){var _0x29d878=_0xcc3c59,_0x471bb5=this[_0x29d878(0x2bf)],_0x4d2e0a=_0x471bb5['finalize'](_0x36591c);_0x471bb5[_0x29d878(0x479)]();var _0x552edd=_0x471bb5['finalize'](this[_0x29d878(0x2f2)]['clone']()[_0x29d878(0x2bc)](_0x4d2e0a));return _0x552edd;}});}());}));}(ze)),ze[_0x159b4a(0x3dc)];}var pn=Ke[_0x1970a9(0x3dc)],Qt;function Ci(){var _0x4245c2=_0x1970a9;return Qt||(Qt=0x1,function(_0x4348bb,_0x4c506c){(function(_0x14553f,_0x85c0c9,_0x57e98d){_0x4348bb['exports']=_0x85c0c9(ie(),dn(),vn());}(pn,function(_0x51bb89){return(function(){var _0x32346f=_0x35ab,_0x2e0b0f=_0x51bb89,_0x6d1ca8=_0x2e0b0f[_0x32346f(0x2b2)],_0x2f1d76=_0x6d1ca8[_0x32346f(0x1c9)],_0x1b9269=_0x6d1ca8['WordArray'],_0x2f7407=_0x2e0b0f['algo'],_0x4bad55=_0x2f7407['MD5'],_0x520678=_0x2f7407[_0x32346f(0x444)]=_0x2f1d76[_0x32346f(0x169)]({'cfg':_0x2f1d76[_0x32346f(0x169)]({'keySize':0x80/0x20,'hasher':_0x4bad55,'iterations':0x1}),'init':function(_0xc29003){var _0x199967=_0x32346f;this[_0x199967(0x443)]=this[_0x199967(0x443)][_0x199967(0x169)](_0xc29003);},'compute':function(_0x52db57,_0x26f82b){var _0xb94601=_0x32346f;for(var _0x3bc002,_0x3d5771=this[_0xb94601(0x443)],_0x700b2f=_0x3d5771[_0xb94601(0x329)]['create'](),_0xc9404d=_0x1b9269[_0xb94601(0x1ef)](),_0x1b55bf=_0xc9404d[_0xb94601(0x463)],_0x569055=_0x3d5771[_0xb94601(0x2f8)],_0x406bcb=_0x3d5771[_0xb94601(0x27a)];_0x1b55bf[_0xb94601(0x439)]<_0x569055;){_0x3bc002&&_0x700b2f['update'](_0x3bc002),_0x3bc002=_0x700b2f[_0xb94601(0x43d)](_0x52db57)[_0xb94601(0x1eb)](_0x26f82b),_0x700b2f[_0xb94601(0x479)]();for(var _0x370ce2=0x1;_0x370ce2<_0x406bcb;_0x370ce2++)_0x3bc002=_0x700b2f[_0xb94601(0x1eb)](_0x3bc002),_0x700b2f[_0xb94601(0x479)]();_0xc9404d[_0xb94601(0x2bc)](_0x3bc002);}return _0xc9404d[_0xb94601(0x35a)]=_0x569055*0x4,_0xc9404d;}});_0x2e0b0f[_0x32346f(0x444)]=function(_0xcaa07a,_0x1b659c,_0x6c0b94){var _0x110f5d=_0x32346f;return _0x520678[_0x110f5d(0x1ef)](_0x6c0b94)[_0x110f5d(0x374)](_0xcaa07a,_0x1b659c);};}()),_0x51bb89['EvpKDF'];}));}(Ke)),Ke[_0x4245c2(0x3dc)];}var Je={'exports':{}},En=Je[_0x1970a9(0x3dc)],ei;function Ni(){return ei||(ei=0x1,function(_0x58a884,_0x12fa5d){(function(_0x936993,_0x4b00e4,_0x4a0f41){var _0x52af5d=_0x35ab;_0x58a884[_0x52af5d(0x3dc)]=_0x4b00e4(ie(),Ci());}(En,function(_0x1f1723){var _0x1ecc32=_0x35ab;_0x1f1723[_0x1ecc32(0x2b2)][_0x1ecc32(0x19b)]||function(_0x418adb){var _0x10d10f=_0x1ecc32,_0x342641=_0x1f1723,_0x15f353=_0x342641[_0x10d10f(0x2b2)],_0x2fd3d9=_0x15f353[_0x10d10f(0x1c9)],_0x56e68d=_0x15f353[_0x10d10f(0x19d)],_0x4d5761=_0x15f353['BufferedBlockAlgorithm'],_0x1b46e6=_0x342641[_0x10d10f(0x32b)];_0x1b46e6[_0x10d10f(0x3bb)];var _0x4f3d88=_0x1b46e6[_0x10d10f(0x1a4)],_0x557607=_0x342641[_0x10d10f(0x2e3)],_0x2fb20d=_0x557607[_0x10d10f(0x444)],_0x378679=_0x15f353[_0x10d10f(0x19b)]=_0x4d5761[_0x10d10f(0x169)]({'cfg':_0x2fd3d9['extend'](),'createEncryptor':function(_0x2e5b4c,_0x4edb29){var _0xe603de=_0x10d10f;return this[_0xe603de(0x1ef)](this[_0xe603de(0x2ee)],_0x2e5b4c,_0x4edb29);},'createDecryptor':function(_0x481e29,_0x20031a){var _0x280ed4=_0x10d10f;return this['create'](this[_0x280ed4(0x44a)],_0x481e29,_0x20031a);},'init':function(_0x17e843,_0x1b2932,_0x2bfbd0){var _0x55a82f=_0x10d10f;this[_0x55a82f(0x443)]=this['cfg']['extend'](_0x2bfbd0),this['_xformMode']=_0x17e843,this['_key']=_0x1b2932,this['reset']();},'reset':function(){var _0x1bbcaf=_0x10d10f;_0x4d5761[_0x1bbcaf(0x479)]['call'](this),this[_0x1bbcaf(0x1bc)]();},'process':function(_0x19a2b0){var _0x34bcdb=_0x10d10f;return this[_0x34bcdb(0x225)](_0x19a2b0),this[_0x34bcdb(0x277)]();},'finalize':function(_0x1acdc0){var _0x5771cf=_0x10d10f;_0x1acdc0&&this[_0x5771cf(0x225)](_0x1acdc0);var _0x34da68=this[_0x5771cf(0x246)]();return _0x34da68;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1cd79f(_0x3ac0e2){var _0x126e88=_0x35ab;return typeof _0x3ac0e2==_0x126e88(0x318)?_0x26310b:_0x382fbc;}return function(_0xc643b6){return{'encrypt':function(_0x2a29df,_0x11c90a,_0x45f357){var _0x3abefc=_0x35ab;return _0x1cd79f(_0x11c90a)[_0x3abefc(0x3ce)](_0xc643b6,_0x2a29df,_0x11c90a,_0x45f357);},'decrypt':function(_0x589e16,_0x36ecc0,_0x11624e){var _0x4a7f20=_0x35ab;return _0x1cd79f(_0x36ecc0)[_0x4a7f20(0x15c)](_0xc643b6,_0x589e16,_0x36ecc0,_0x11624e);}};};}())});_0x15f353[_0x10d10f(0x2a9)]=_0x378679[_0x10d10f(0x169)]({'_doFinalize':function(){var _0x2abda0=_0x10d10f,_0x4be78f=this[_0x2abda0(0x277)](!0x0);return _0x4be78f;},'blockSize':0x1});var _0x190418=_0x342641[_0x10d10f(0x335)]={},_0x4712d1=_0x15f353[_0x10d10f(0x3b5)]=_0x2fd3d9[_0x10d10f(0x169)]({'createEncryptor':function(_0x188618,_0x41d801){var _0x618af5=_0x10d10f;return this[_0x618af5(0x31b)][_0x618af5(0x1ef)](_0x188618,_0x41d801);},'createDecryptor':function(_0xf3c50,_0x58bfb9){var _0xe11c3=_0x10d10f;return this[_0xe11c3(0x2be)][_0xe11c3(0x1ef)](_0xf3c50,_0x58bfb9);},'init':function(_0x5750af,_0x586400){var _0x34ecf6=_0x10d10f;this[_0x34ecf6(0x1ab)]=_0x5750af,this[_0x34ecf6(0x1ee)]=_0x586400;}}),_0x411fd5=_0x190418[_0x10d10f(0x3bc)]=(function(){var _0x52adbe=_0x10d10f,_0x19c4eb=_0x4712d1[_0x52adbe(0x169)]();_0x19c4eb[_0x52adbe(0x31b)]=_0x19c4eb[_0x52adbe(0x169)]({'processBlock':function(_0x13daa1,_0x3698e8){var _0x2fc37f=_0x52adbe,_0x19e374=this['_cipher'],_0x4e251b=_0x19e374[_0x2fc37f(0x203)];_0x19a13f[_0x2fc37f(0x3fe)](this,_0x13daa1,_0x3698e8,_0x4e251b),_0x19e374[_0x2fc37f(0x2d7)](_0x13daa1,_0x3698e8),this[_0x2fc37f(0x1a5)]=_0x13daa1[_0x2fc37f(0x209)](_0x3698e8,_0x3698e8+_0x4e251b);}}),_0x19c4eb['Decryptor']=_0x19c4eb[_0x52adbe(0x169)]({'processBlock':function(_0x17cbb7,_0x5dc655){var _0x463ee6=_0x52adbe,_0x3f3ae2=this[_0x463ee6(0x1ab)],_0x4d6b0e=_0x3f3ae2[_0x463ee6(0x203)],_0x1d0255=_0x17cbb7[_0x463ee6(0x209)](_0x5dc655,_0x5dc655+_0x4d6b0e);_0x3f3ae2[_0x463ee6(0x2ec)](_0x17cbb7,_0x5dc655),_0x19a13f['call'](this,_0x17cbb7,_0x5dc655,_0x4d6b0e),this[_0x463ee6(0x1a5)]=_0x1d0255;}});function _0x19a13f(_0x2510db,_0x167296,_0x22957b){var _0x5928b7=_0x52adbe,_0x22c5eb,_0x270044=this[_0x5928b7(0x1ee)];_0x270044?(_0x22c5eb=_0x270044,this[_0x5928b7(0x1ee)]=_0x418adb):_0x22c5eb=this[_0x5928b7(0x1a5)];for(var _0x400a72=0x0;_0x400a72<_0x22957b;_0x400a72++)_0x2510db[_0x167296+_0x400a72]^=_0x22c5eb[_0x400a72];}return _0x19c4eb;}()),_0x18f9d5=_0x342641[_0x10d10f(0x3e4)]={},_0x335b4f=_0x18f9d5['Pkcs7']={'pad':function(_0x17a507,_0x5e54db){var _0x2d71df=_0x10d10f;for(var _0x52713e=_0x5e54db*0x4,_0x1eac6c=_0x52713e-_0x17a507['sigBytes']%_0x52713e,_0x3fa06f=_0x1eac6c<<0x18|_0x1eac6c<<0x10|_0x1eac6c<<0x8|_0x1eac6c,_0x366b50=[],_0x46b222=0x0;_0x46b222<_0x1eac6c;_0x46b222+=0x4)_0x366b50['push'](_0x3fa06f);var _0x5959e9=_0x56e68d[_0x2d71df(0x1ef)](_0x366b50,_0x1eac6c);_0x17a507['concat'](_0x5959e9);},'unpad':function(_0x5d3e27){var _0x513d8b=_0x10d10f,_0x4c9584=_0x5d3e27[_0x513d8b(0x463)][_0x5d3e27[_0x513d8b(0x35a)]-0x1>>>0x2]&0xff;_0x5d3e27[_0x513d8b(0x35a)]-=_0x4c9584;}};_0x15f353[_0x10d10f(0x456)]=_0x378679['extend']({'cfg':_0x378679['cfg'][_0x10d10f(0x169)]({'mode':_0x411fd5,'padding':_0x335b4f}),'reset':function(){var _0x179a47=_0x10d10f,_0x15dc14;_0x378679[_0x179a47(0x479)]['call'](this);var _0x141e6e=this[_0x179a47(0x443)],_0x44311f=_0x141e6e['iv'],_0x2233a8=_0x141e6e['mode'];this[_0x179a47(0x1b7)]==this[_0x179a47(0x2ee)]?_0x15dc14=_0x2233a8[_0x179a47(0x41d)]:(_0x15dc14=_0x2233a8[_0x179a47(0x2e5)],this[_0x179a47(0x316)]=0x1),this[_0x179a47(0x44d)]&&this[_0x179a47(0x44d)][_0x179a47(0x467)]==_0x15dc14?this[_0x179a47(0x44d)][_0x179a47(0x1c7)](this,_0x44311f&&_0x44311f['words']):(this[_0x179a47(0x44d)]=_0x15dc14[_0x179a47(0x3fe)](_0x2233a8,this,_0x44311f&&_0x44311f[_0x179a47(0x463)]),this[_0x179a47(0x44d)][_0x179a47(0x467)]=_0x15dc14);},'_doProcessBlock':function(_0x467ff4,_0x5cd08d){var _0x101af4=_0x10d10f;this['_mode'][_0x101af4(0x2c8)](_0x467ff4,_0x5cd08d);},'_doFinalize':function(){var _0x34d760=_0x10d10f,_0x4b728a,_0x5a2e5b=this[_0x34d760(0x443)]['padding'];return this[_0x34d760(0x1b7)]==this[_0x34d760(0x2ee)]?(_0x5a2e5b[_0x34d760(0x3e4)](this[_0x34d760(0x1e5)],this['blockSize']),_0x4b728a=this[_0x34d760(0x277)](!0x0)):(_0x4b728a=this['_process'](!0x0),_0x5a2e5b[_0x34d760(0x160)](_0x4b728a)),_0x4b728a;},'blockSize':0x80/0x20});var _0x1a4a66=_0x15f353['CipherParams']=_0x2fd3d9[_0x10d10f(0x169)]({'init':function(_0x3a1dd2){var _0x1a7d69=_0x10d10f;this[_0x1a7d69(0x25b)](_0x3a1dd2);},'toString':function(_0x220a81){var _0x5b469e=_0x10d10f;return(_0x220a81||this[_0x5b469e(0x1d5)])['stringify'](this);}}),_0x3d1140=_0x342641[_0x10d10f(0x460)]={},_0x46219c=_0x3d1140[_0x10d10f(0x295)]={'stringify':function(_0x115e20){var _0x3999e9=_0x10d10f,_0x2c434e,_0x472293=_0x115e20[_0x3999e9(0x330)],_0x64d20e=_0x115e20[_0x3999e9(0x217)];return _0x64d20e?_0x2c434e=_0x56e68d[_0x3999e9(0x1ef)]([0x53616c74,0x65645f5f])[_0x3999e9(0x2bc)](_0x64d20e)[_0x3999e9(0x2bc)](_0x472293):_0x2c434e=_0x472293,_0x2c434e[_0x3999e9(0x284)](_0x4f3d88);},'parse':function(_0x4c180a){var _0x24481e=_0x10d10f,_0x5856c6,_0x4cb7f9=_0x4f3d88[_0x24481e(0x37b)](_0x4c180a),_0x4c54bb=_0x4cb7f9[_0x24481e(0x463)];return _0x4c54bb[0x0]==0x53616c74&&_0x4c54bb[0x1]==0x65645f5f&&(_0x5856c6=_0x56e68d[_0x24481e(0x1ef)](_0x4c54bb[_0x24481e(0x209)](0x2,0x4)),_0x4c54bb[_0x24481e(0x307)](0x0,0x4),_0x4cb7f9[_0x24481e(0x35a)]-=0x10),_0x1a4a66[_0x24481e(0x1ef)]({'ciphertext':_0x4cb7f9,'salt':_0x5856c6});}},_0x382fbc=_0x15f353['SerializableCipher']=_0x2fd3d9[_0x10d10f(0x169)]({'cfg':_0x2fd3d9[_0x10d10f(0x169)]({'format':_0x46219c}),'encrypt':function(_0x3b9ff4,_0x31d42f,_0x4566ef,_0x5b32ba){var _0x1f576c=_0x10d10f;_0x5b32ba=this[_0x1f576c(0x443)]['extend'](_0x5b32ba);var _0x276935=_0x3b9ff4[_0x1f576c(0x41d)](_0x4566ef,_0x5b32ba),_0x29db3c=_0x276935['finalize'](_0x31d42f),_0x58099d=_0x276935[_0x1f576c(0x443)];return _0x1a4a66[_0x1f576c(0x1ef)]({'ciphertext':_0x29db3c,'key':_0x4566ef,'iv':_0x58099d['iv'],'algorithm':_0x3b9ff4,'mode':_0x58099d[_0x1f576c(0x335)],'padding':_0x58099d[_0x1f576c(0x39f)],'blockSize':_0x3b9ff4[_0x1f576c(0x203)],'formatter':_0x5b32ba[_0x1f576c(0x460)]});},'decrypt':function(_0x51ede3,_0x411e2c,_0x145cb6,_0x116891){var _0x989ad2=_0x10d10f;_0x116891=this['cfg']['extend'](_0x116891),_0x411e2c=this['_parse'](_0x411e2c,_0x116891[_0x989ad2(0x460)]);var _0x3fef6b=_0x51ede3[_0x989ad2(0x2e5)](_0x145cb6,_0x116891)[_0x989ad2(0x1eb)](_0x411e2c[_0x989ad2(0x330)]);return _0x3fef6b;},'_parse':function(_0x39db67,_0x3b98f5){var _0xe90ba7=_0x10d10f;return typeof _0x39db67==_0xe90ba7(0x318)?_0x3b98f5['parse'](_0x39db67,this):_0x39db67;}}),_0x2295b1=_0x342641[_0x10d10f(0x3a6)]={},_0x233a18=_0x2295b1[_0x10d10f(0x295)]={'execute':function(_0x1f0702,_0x2f4025,_0xf1ae4f,_0x41853e,_0x59cbf9){var _0x470968=_0x10d10f;if(_0x41853e||(_0x41853e=_0x56e68d[_0x470968(0x358)](0x40/0x8)),_0x59cbf9)var _0x47d8d9=_0x2fb20d[_0x470968(0x1ef)]({'keySize':_0x2f4025+_0xf1ae4f,'hasher':_0x59cbf9})[_0x470968(0x374)](_0x1f0702,_0x41853e);else var _0x47d8d9=_0x2fb20d[_0x470968(0x1ef)]({'keySize':_0x2f4025+_0xf1ae4f})[_0x470968(0x374)](_0x1f0702,_0x41853e);var _0x205838=_0x56e68d[_0x470968(0x1ef)](_0x47d8d9['words']['slice'](_0x2f4025),_0xf1ae4f*0x4);return _0x47d8d9[_0x470968(0x35a)]=_0x2f4025*0x4,_0x1a4a66[_0x470968(0x1ef)]({'key':_0x47d8d9,'iv':_0x205838,'salt':_0x41853e});}},_0x26310b=_0x15f353['PasswordBasedCipher']=_0x382fbc[_0x10d10f(0x169)]({'cfg':_0x382fbc[_0x10d10f(0x443)]['extend']({'kdf':_0x233a18}),'encrypt':function(_0x561f8d,_0x42f2f3,_0x53510c,_0x1b4493){var _0x1fe3cc=_0x10d10f;_0x1b4493=this['cfg']['extend'](_0x1b4493);var _0x4048bd=_0x1b4493['kdf'][_0x1fe3cc(0x17e)](_0x53510c,_0x561f8d[_0x1fe3cc(0x2f8)],_0x561f8d[_0x1fe3cc(0x17f)],_0x1b4493['salt'],_0x1b4493[_0x1fe3cc(0x329)]);_0x1b4493['iv']=_0x4048bd['iv'];var _0x3aef24=_0x382fbc[_0x1fe3cc(0x3ce)][_0x1fe3cc(0x3fe)](this,_0x561f8d,_0x42f2f3,_0x4048bd[_0x1fe3cc(0x359)],_0x1b4493);return _0x3aef24[_0x1fe3cc(0x25b)](_0x4048bd),_0x3aef24;},'decrypt':function(_0xa67396,_0x4d8709,_0x480700,_0x545488){var _0x9e510=_0x10d10f;_0x545488=this[_0x9e510(0x443)][_0x9e510(0x169)](_0x545488),_0x4d8709=this['_parse'](_0x4d8709,_0x545488['format']);var _0x2027ee=_0x545488[_0x9e510(0x3a6)][_0x9e510(0x17e)](_0x480700,_0xa67396[_0x9e510(0x2f8)],_0xa67396[_0x9e510(0x17f)],_0x4d8709['salt'],_0x545488[_0x9e510(0x329)]);_0x545488['iv']=_0x2027ee['iv'];var _0x3f657c=_0x382fbc[_0x9e510(0x15c)][_0x9e510(0x3fe)](this,_0xa67396,_0x4d8709,_0x2027ee['key'],_0x545488);return _0x3f657c;}});}();}));}(Je)),Je['exports'];}var mn=Ve['exports'],ti;function In(){var _0x90436e=_0x1970a9;return ti||(ti=0x1,function(_0x2b3c76,_0x36f029){(function(_0x1280ed,_0x5a1f19,_0x30f283){var _0x2469b1=_0x35ab;_0x2b3c76[_0x2469b1(0x3dc)]=_0x5a1f19(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x58019f){var _0x5c16b1=_0x35ab;return(function(){var _0x2fa26d=_0x35ab,_0xfac48f=_0x58019f,_0x2df823=_0xfac48f[_0x2fa26d(0x2b2)],_0x1d775b=_0x2df823[_0x2fa26d(0x456)],_0x3fbbba=_0xfac48f[_0x2fa26d(0x2e3)],_0x282735=[],_0x251f0b=[],_0x5cef95=[],_0x1dfce0=[],_0x224bb6=[],_0x34a1b1=[],_0x433a71=[],_0x4de41a=[],_0x29f57a=[],_0x7b524c=[];(function(){for(var _0x300a6f=[],_0x5591b0=0x0;_0x5591b0<0x100;_0x5591b0++)_0x5591b0<0x80?_0x300a6f[_0x5591b0]=_0x5591b0<<0x1:_0x300a6f[_0x5591b0]=_0x5591b0<<0x1^0x11b;for(var _0x5b3b39=0x0,_0x57f5f8=0x0,_0x5591b0=0x0;_0x5591b0<0x100;_0x5591b0++){var _0x312c59=_0x57f5f8^_0x57f5f8<<0x1^_0x57f5f8<<0x2^_0x57f5f8<<0x3^_0x57f5f8<<0x4;_0x312c59=_0x312c59>>>0x8^_0x312c59&0xff^0x63,_0x282735[_0x5b3b39]=_0x312c59,_0x251f0b[_0x312c59]=_0x5b3b39;var _0x97b446=_0x300a6f[_0x5b3b39],_0x485a23=_0x300a6f[_0x97b446],_0x29545b=_0x300a6f[_0x485a23],_0x387da8=_0x300a6f[_0x312c59]*0x101^_0x312c59*0x1010100;_0x5cef95[_0x5b3b39]=_0x387da8<<0x18|_0x387da8>>>0x8,_0x1dfce0[_0x5b3b39]=_0x387da8<<0x10|_0x387da8>>>0x10,_0x224bb6[_0x5b3b39]=_0x387da8<<0x8|_0x387da8>>>0x18,_0x34a1b1[_0x5b3b39]=_0x387da8;var _0x387da8=_0x29545b*0x1010101^_0x485a23*0x10001^_0x97b446*0x101^_0x5b3b39*0x1010100;_0x433a71[_0x312c59]=_0x387da8<<0x18|_0x387da8>>>0x8,_0x4de41a[_0x312c59]=_0x387da8<<0x10|_0x387da8>>>0x10,_0x29f57a[_0x312c59]=_0x387da8<<0x8|_0x387da8>>>0x18,_0x7b524c[_0x312c59]=_0x387da8,_0x5b3b39?(_0x5b3b39=_0x97b446^_0x300a6f[_0x300a6f[_0x300a6f[_0x29545b^_0x97b446]]],_0x57f5f8^=_0x300a6f[_0x300a6f[_0x57f5f8]]):_0x5b3b39=_0x57f5f8=0x1;}}());var _0x36c468=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30e17c=_0x3fbbba[_0x2fa26d(0x16c)]=_0x1d775b['extend']({'_doReset':function(){var _0x54769a=_0x2fa26d,_0x427e9c;if(!(this[_0x54769a(0x379)]&&this[_0x54769a(0x220)]===this[_0x54769a(0x1db)])){for(var _0x3386d2=this['_keyPriorReset']=this[_0x54769a(0x1db)],_0x4afc35=_0x3386d2[_0x54769a(0x463)],_0x30eeb8=_0x3386d2[_0x54769a(0x35a)]/0x4,_0x385c93=this[_0x54769a(0x379)]=_0x30eeb8+0x6,_0x4cebbc=(_0x385c93+0x1)*0x4,_0x89bde8=this['_keySchedule']=[],_0xb5c3fe=0x0;_0xb5c3fe<_0x4cebbc;_0xb5c3fe++)_0xb5c3fe<_0x30eeb8?_0x89bde8[_0xb5c3fe]=_0x4afc35[_0xb5c3fe]:(_0x427e9c=_0x89bde8[_0xb5c3fe-0x1],_0xb5c3fe%_0x30eeb8?_0x30eeb8>0x6&&_0xb5c3fe%_0x30eeb8==0x4&&(_0x427e9c=_0x282735[_0x427e9c>>>0x18]<<0x18|_0x282735[_0x427e9c>>>0x10&0xff]<<0x10|_0x282735[_0x427e9c>>>0x8&0xff]<<0x8|_0x282735[_0x427e9c&0xff]):(_0x427e9c=_0x427e9c<<0x8|_0x427e9c>>>0x18,_0x427e9c=_0x282735[_0x427e9c>>>0x18]<<0x18|_0x282735[_0x427e9c>>>0x10&0xff]<<0x10|_0x282735[_0x427e9c>>>0x8&0xff]<<0x8|_0x282735[_0x427e9c&0xff],_0x427e9c^=_0x36c468[_0xb5c3fe/_0x30eeb8|0x0]<<0x18),_0x89bde8[_0xb5c3fe]=_0x89bde8[_0xb5c3fe-_0x30eeb8]^_0x427e9c);for(var _0x329f56=this[_0x54769a(0x222)]=[],_0x368ed9=0x0;_0x368ed9<_0x4cebbc;_0x368ed9++){var _0xb5c3fe=_0x4cebbc-_0x368ed9;if(_0x368ed9%0x4)var _0x427e9c=_0x89bde8[_0xb5c3fe];else var _0x427e9c=_0x89bde8[_0xb5c3fe-0x4];_0x368ed9<0x4||_0xb5c3fe<=0x4?_0x329f56[_0x368ed9]=_0x427e9c:_0x329f56[_0x368ed9]=_0x433a71[_0x282735[_0x427e9c>>>0x18]]^_0x4de41a[_0x282735[_0x427e9c>>>0x10&0xff]]^_0x29f57a[_0x282735[_0x427e9c>>>0x8&0xff]]^_0x7b524c[_0x282735[_0x427e9c&0xff]];}}},'encryptBlock':function(_0xf4959b,_0x3f418a){var _0xb91f94=_0x2fa26d;this['_doCryptBlock'](_0xf4959b,_0x3f418a,this[_0xb91f94(0x3ac)],_0x5cef95,_0x1dfce0,_0x224bb6,_0x34a1b1,_0x282735);},'decryptBlock':function(_0x19efb0,_0xb6d35d){var _0x4f0a08=_0x2fa26d,_0x52ff0e=_0x19efb0[_0xb6d35d+0x1];_0x19efb0[_0xb6d35d+0x1]=_0x19efb0[_0xb6d35d+0x3],_0x19efb0[_0xb6d35d+0x3]=_0x52ff0e,this[_0x4f0a08(0x23b)](_0x19efb0,_0xb6d35d,this[_0x4f0a08(0x222)],_0x433a71,_0x4de41a,_0x29f57a,_0x7b524c,_0x251f0b);var _0x52ff0e=_0x19efb0[_0xb6d35d+0x1];_0x19efb0[_0xb6d35d+0x1]=_0x19efb0[_0xb6d35d+0x3],_0x19efb0[_0xb6d35d+0x3]=_0x52ff0e;},'_doCryptBlock':function(_0x1688cd,_0x582707,_0x333b56,_0x4fef5c,_0x437355,_0x4bd00c,_0x3e59ca,_0x90b05c){var _0x201323=_0x2fa26d;for(var _0x27c9a5=this[_0x201323(0x379)],_0x2fffe7=_0x1688cd[_0x582707]^_0x333b56[0x0],_0x5d6895=_0x1688cd[_0x582707+0x1]^_0x333b56[0x1],_0x19892c=_0x1688cd[_0x582707+0x2]^_0x333b56[0x2],_0xfbb927=_0x1688cd[_0x582707+0x3]^_0x333b56[0x3],_0x3f25e0=0x4,_0xda7346=0x1;_0xda7346<_0x27c9a5;_0xda7346++){var _0x16b7ca=_0x4fef5c[_0x2fffe7>>>0x18]^_0x437355[_0x5d6895>>>0x10&0xff]^_0x4bd00c[_0x19892c>>>0x8&0xff]^_0x3e59ca[_0xfbb927&0xff]^_0x333b56[_0x3f25e0++],_0x14a02f=_0x4fef5c[_0x5d6895>>>0x18]^_0x437355[_0x19892c>>>0x10&0xff]^_0x4bd00c[_0xfbb927>>>0x8&0xff]^_0x3e59ca[_0x2fffe7&0xff]^_0x333b56[_0x3f25e0++],_0x1197e6=_0x4fef5c[_0x19892c>>>0x18]^_0x437355[_0xfbb927>>>0x10&0xff]^_0x4bd00c[_0x2fffe7>>>0x8&0xff]^_0x3e59ca[_0x5d6895&0xff]^_0x333b56[_0x3f25e0++],_0x25d482=_0x4fef5c[_0xfbb927>>>0x18]^_0x437355[_0x2fffe7>>>0x10&0xff]^_0x4bd00c[_0x5d6895>>>0x8&0xff]^_0x3e59ca[_0x19892c&0xff]^_0x333b56[_0x3f25e0++];_0x2fffe7=_0x16b7ca,_0x5d6895=_0x14a02f,_0x19892c=_0x1197e6,_0xfbb927=_0x25d482;}var _0x16b7ca=(_0x90b05c[_0x2fffe7>>>0x18]<<0x18|_0x90b05c[_0x5d6895>>>0x10&0xff]<<0x10|_0x90b05c[_0x19892c>>>0x8&0xff]<<0x8|_0x90b05c[_0xfbb927&0xff])^_0x333b56[_0x3f25e0++],_0x14a02f=(_0x90b05c[_0x5d6895>>>0x18]<<0x18|_0x90b05c[_0x19892c>>>0x10&0xff]<<0x10|_0x90b05c[_0xfbb927>>>0x8&0xff]<<0x8|_0x90b05c[_0x2fffe7&0xff])^_0x333b56[_0x3f25e0++],_0x1197e6=(_0x90b05c[_0x19892c>>>0x18]<<0x18|_0x90b05c[_0xfbb927>>>0x10&0xff]<<0x10|_0x90b05c[_0x2fffe7>>>0x8&0xff]<<0x8|_0x90b05c[_0x5d6895&0xff])^_0x333b56[_0x3f25e0++],_0x25d482=(_0x90b05c[_0xfbb927>>>0x18]<<0x18|_0x90b05c[_0x2fffe7>>>0x10&0xff]<<0x10|_0x90b05c[_0x5d6895>>>0x8&0xff]<<0x8|_0x90b05c[_0x19892c&0xff])^_0x333b56[_0x3f25e0++];_0x1688cd[_0x582707]=_0x16b7ca,_0x1688cd[_0x582707+0x1]=_0x14a02f,_0x1688cd[_0x582707+0x2]=_0x1197e6,_0x1688cd[_0x582707+0x3]=_0x25d482;},'keySize':0x100/0x20});_0xfac48f['AES']=_0x1d775b[_0x2fa26d(0x16b)](_0x30e17c);}()),_0x58019f[_0x5c16b1(0x16c)];}));}(Ve)),Ve[_0x90436e(0x3dc)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe['exports'],si;function Rn(){var _0x45c6a8=_0x1970a9;return si||(si=0x1,function(_0x521c34,_0x3edeb6){(function(_0x4b26cb,_0x22399b){var _0x97fdd9=_0x35ab;_0x521c34[_0x97fdd9(0x3dc)]=_0x22399b(ie());}(On,function(_0x55f6f3){var _0x5d33bc=_0x35ab;return _0x55f6f3['enc'][_0x5d33bc(0x3bb)];}));}(Xe)),Xe[_0x45c6a8(0x3dc)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x1970a9(0x3dc)],ni;function Dn(){return ni||(ni=0x1,function(_0x539de4,_0x406eff){(function(_0x5023ff,_0x396fbd){_0x539de4['exports']=_0x396fbd(ie());}(bn,function(_0x347727){var _0x1ddab2=_0x35ab;return(function(){var _0x1aa700=_0x35ab;if(typeof ArrayBuffer==_0x1aa700(0x410)){var _0x2bea31=_0x347727,_0x5065ee=_0x2bea31[_0x1aa700(0x2b2)],_0x1314b4=_0x5065ee['WordArray'],_0x2a03b6=_0x1314b4['init'],_0x3b3e1e=_0x1314b4[_0x1aa700(0x1c7)]=function(_0x2c2d41){var _0x549492=_0x1aa700;if(_0x2c2d41 instanceof ArrayBuffer&&(_0x2c2d41=new Uint8Array(_0x2c2d41)),(_0x2c2d41 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c2d41 instanceof Uint8ClampedArray||_0x2c2d41 instanceof Int16Array||_0x2c2d41 instanceof Uint16Array||_0x2c2d41 instanceof Int32Array||_0x2c2d41 instanceof Uint32Array||_0x2c2d41 instanceof Float32Array||_0x2c2d41 instanceof Float64Array)&&(_0x2c2d41=new Uint8Array(_0x2c2d41['buffer'],_0x2c2d41[_0x549492(0x434)],_0x2c2d41[_0x549492(0x216)])),_0x2c2d41 instanceof Uint8Array){for(var _0x319fbc=_0x2c2d41[_0x549492(0x216)],_0x89865e=[],_0x404fe9=0x0;_0x404fe9<_0x319fbc;_0x404fe9++)_0x89865e[_0x404fe9>>>0x2]|=_0x2c2d41[_0x404fe9]<<0x18-_0x404fe9%0x4*0x8;_0x2a03b6[_0x549492(0x3fe)](this,_0x89865e,_0x319fbc);}else _0x2a03b6[_0x549492(0x2fc)](this,arguments);};_0x3b3e1e[_0x1aa700(0x1cc)]=_0x1314b4;}}()),_0x347727[_0x1ddab2(0x2b2)][_0x1ddab2(0x19d)];}));}(Ze)),Ze['exports'];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x1970a9(0x3dc)],ri;function Pn(){var _0x2a9211=_0x1970a9;return ri||(ri=0x1,function(_0x32cb72,_0x5ba300){(function(_0x5347d6,_0x2d50d2,_0x240155){var _0x2c0cb9=_0x35ab;_0x32cb72[_0x2c0cb9(0x3dc)]=_0x2d50d2(ie(),Ni());}(An,function(_0x5a820c){var _0x5659f9=_0x35ab;return _0x5a820c[_0x5659f9(0x3e4)][_0x5659f9(0x412)]={'pad':function(){},'unpad':function(){}},_0x5a820c['pad'][_0x5659f9(0x412)];}));}(Qe)),Qe[_0x2a9211(0x3dc)];}var wn=Pn();const Mn=$e(wn);function Ln(_0x47937d,_0x3f97f9){var _0x561656=_0x1970a9;const _0x41ba90=_0x3f97f9-_0x47937d['length']%_0x3f97f9,_0x5dd1fb=String['fromCharCode'](_0x41ba90)[_0x561656(0x3e5)](_0x41ba90);return _0x47937d+_0x5dd1fb;}function xn(_0x547a89,_0x3779ff){var _0x42e4f5=_0x1970a9;const _0x4ffc30=Un['random'](0x10),_0x5f5114=Ln(_0x547a89,0x10),_0x33749b=gn[_0x42e4f5(0x3ce)](Nn[_0x42e4f5(0x37b)](_0x5f5114),ii[_0x42e4f5(0x37b)](_0x3779ff),{'iv':_0x4ffc30,'padding':Mn});return _0x4ffc30[_0x42e4f5(0x2bc)](_0x33749b['ciphertext'])[_0x42e4f5(0x284)](ii);}function kn(){var _0x38092b=_0x1970a9;const _0x4cd5f5=_0x4717bc()[_0x38092b(0x24f)];if(_0x4cd5f5){const _0x13a3e3={'time':Math[_0x38092b(0x432)](Date[_0x38092b(0x3d5)]()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x38092b(0x1af)](_0x13a3e3),_0x4cd5f5);}}var $n=Object[_0x1970a9(0x16f)],Hn=(_0x16196e,_0xcd862,_0x56a02d,_0x1b74b9)=>{var _0x5856e5=_0x1970a9;for(var _0x532fcb=_0x1b74b9>0x1?void 0x0:_0x1b74b9?$n(_0xcd862,_0x56a02d):_0xcd862,_0x39c053=_0x16196e[_0x5856e5(0x439)]-0x1,_0x7db46a;_0x39c053>=0x0;_0x39c053--)(_0x7db46a=_0x16196e[_0x39c053])&&(_0x532fcb=_0x7db46a(_0x532fcb)||_0x532fcb);return _0x532fcb;},Bn=(_0x41625f,_0x1a8a71)=>(_0x178ef9,_0x1f388c)=>_0x1a8a71(_0x178ef9,_0x1f388c,_0x41625f);function _0x39cf(){var _0xa4f5=['setWaitCount','updateCursorEvent','/rev/','_minBufferSize','_getSendChangesetTimeout','string','MSG_FOR_ERROR','_onRecvEvent','Encryptor','NO_OTHER_CLIENTS_EDITING','loadDoc','DEFAULT_FILE_NAME','onTransformRemoteChangesetByIMECache','objectID','localeService','getInterceptPoints','_snapshotService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','socket\x20close','_transformSelections','\x20to\x20','_clearHeartbeatTimer','hasher','replace','enc','_commentService','includes','_entities','data','ciphertext','_onConnectionOpen','eventID','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','reconnect','mode','max','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','FETCH_MISSING','_socketService','USER_IS_ANONYMOUS','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','INGEST','_onFetchMissResult','getCurrentRevOfUnit','createSocket','deepClone','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','INTERNAL_ERROR','headers','updateSnapshot','FileId','_instanceService','UPDATE_PERMISSION_OBJ','univer-pro.collaboration-client.single-active-unit-service','m2Prime','_sendHeartbeat','editing\x20status\x20changed\x20to','collabWebSocketUrl','onCommandExecuted','session','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_replaceFileID','_toggleOnline','NOT_COLLAB','charCodeAt','_updateState','Undefined','localCacheService','/universer-api/comb','random','key','sigBytes','getCollabEntity$','reqId','_resendWithTimeout','[DataLoaderService]','_schedule','join','CURRENT_STATUS_CANNOT_OPERATE','CHANGESET_REVISION_CONFILICT','_commandService','changesets','transformSelections','_incrementRevisionNumber','JOIN_ROOM_FULL','_sheetTransformSelectionsService','/fetchmissing?from=','CHANGESET_REJ','OPTIONAL','subUnitId','onRemoteChangeset','objectActions','onTransformRemoteChangesetByStateCache','_imageSourceCache','_awaitingChangeset','MUTATION','isArray','compute','ENTITLE_DUP_SUBSCRIPTION','RECV','commentUpdateEvent','onTransformState','_nRounds','substr','parse','/allowed','roles','_transformService','change$','closeSession','HELLO','_tryEnsureSocket','_substituteUndoStack','Error\x20on\x20receiving\x20event','OTHER_CLIENTS_EDITING','baseRev','_pendingMutations','offline','LIVESHARE_REQUEST_HOST','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getDownloadEndpointURL','_stopTelemetryCollaborationNewChangeset','_fetchMissChangesets','_queuedRemoteChangesets','rev','ERROR_IMAGE','UserProfileImg','enableOfflineEditing','randomBytes','{fileID}','csAckEvent','USER_NOT_FOUND','UNAUTHENTICATED','addHandlerCallback','/collaborator','waitForRoom$','unitInfo$','OTHER_CLIENT_EDITING','socket\x20open.','_isPermissionRej','padding','resend','_doCreateSocket','_collaborationTimeoutTimer','collaboration_new_changeset','INVITE_CODE_ALREADY_BOUND','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','kdf','YUUMI_RATE_OVER_LIMIT','_updateStatus','PENDING','_onUserLeave','fetchThroughInterceptors','_keySchedule','clone','collaboration-client.config','_collaborationSessionService','getTime','mutations','origin','has','3482515KyRipu','BlockCipherMode','_onRemoteRetry','_createHandler','unit-cache-','type','getCurrentUser','Utf8','CBC','reverse','requireSession','onRemoteAck','_createHmacHelper','_startCollaboration','LICENSE_IMPORT_SIZE_EXCEEDED','onRemoteRej','fromCollab','location','loadUnit','ONLINE','YUUMI_ALL_TABLES_IS_INVALID','Hasher','_executeRemoteChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','conflict','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','encrypt','REDEMPTION_CODE_HAS_BEEN_CREATED','enableAuthServer','_sendHeartbeatTimer','set','HEARTBEAT_INTERVAL','refreshPermission','now','APPLY_REJECT','POST','confirm','INVITE_CODE_REQUIRED','_transformStack','setShowComponents','exports','transformStack\x20failed!','_acknowledgedAwaitingChangeset','leaveEvent','UPDATE_CURSOR','YUUMI_AI_RUN_FAILED','avatar','_userManagerService','pad','repeat','_handlerCallback','COMMENT_UPDATE','SHA1','transformUndoRedo','x-univer-host','APPLY_DUPLICATED','_remoteChangesetQueue','defineProperty','REDEMPTION_INVALID_CODE','originalMeta','Malformed\x20UTF-8\x20data','sendChangesetTimeout','_roomMembers','APPLY_NON_SEQUENTIAL_REVISION','_roomCreated$','toggleOnline','ENSURE_SNAPSHOT_EXECUTION','_event$','interceptor','equals','[CollaborationSessionService]:\x20socket\x20error','_undoRedoService','_scheduleCollaborationTimeoutTimer','UNIVER_PROJECT','call','LICENSE_MAX_UNITS_EXCEEDED','_telemetryInfo','_toggleOffline','unitID','name','code','stopTime','compose','catch','awaiting_with_pending','getAllMembers','_transformIMECache','message$','_waitCount','_onConnectionFailed','saveSnapshot','18148vxFbLR','function','then','NoPadding','INVITE_CODE_HAS_BEEN_UES','onSendChangeset','_transformUndoredo','PERMISSION_REJ','map','ERROR_EXCEED_SIZE','_transformStateCache','awaiting','_nDataBytes','CLOSE_ROOM','createEncryptor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','action','Failed\x20to\x20update\x20permission\x20point','error','indexOf','params','_createInitialStateImpl','selections','YUUMI_CONNECTOR_URL_NOT_FOUND','BufferedBlockAlgorithm','[CollaborationUndoRedoService]','infoRsp','c2Prime','_sendingTimer','_unitID','_updateLocalCache','_onLocalMutation','6NOUszg','executeCommand','default','floor','SNAPSHOT_URL_KEY','byteOffset','image/bmp','?url=','UNRECOGNIZED','sessionStatus','length','values','send','error$','update','YUUMI_SUBSCRIPTION_NOT_FOUND','UNISCRIPT_RUN','readInt32LE','UNIVER_SHEET','INVALID_ARGUMENT','cfg','EvpKDF','forEach','fromCharCode','unitId','492DyrQql','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_DEC_XFORM_MODE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_mode','_clearTimeoutTimer','AUTHORIZE_CODE_ILLEGAL','CONNECTOR_DATA_TOO_LARGE','session.room-permission-denied','LICENSE_DISTRO_REJECTED','updateOfflineData','7515600kPfPGe','disposeWithMe','BlockCipher','CONFLICT','_doProcessBlock','HMAC','LICENSE_EXPORT_SIZE_EXCEEDED','_sessionStatus$','collaboratorID','listRoles','hasOwnProperty','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','format','_univerInstanceService','/universer-api/snapshot','words','reduce','_resendTimer','UNIVER_DOC','__creator','COMPRESS_MUTATION_SEND','/universer-api/user/session-ticket','ERROR_IMAGE_TYPE','save\x20fail\x20reason\x20is\x20','onMissedChangesetFetched','clamp','_socket$','\x0aCurrent:\x20','revision','USER_NOT_INVITED_CODE','_unitInfo$','incrementRevOfUnit','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getRandomValues','getValue','_onMessage','/object/','reset','_telemetryService','loadUnitOfRevision','synced','_snapshotServerService','_httpService','decrypt','sessionStatus$','_eventService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unpad','univer-pro.collaboration-client.network-condition.service','getUnitType','HttpExport','addImageSourceCache','onTransformIME','_hash','REDEMPTION_CODE_INACTIVE','failed\x20to\x20apply\x20missed\x20changesets!','extend','/unit/','_createHelper','AES','_clearRetryConnectingTimer','/block/','getOwnPropertyDescriptor','[CollaborationSession]','fetchMiss','registerHTTPInterceptor','asObservable','capture','getCollabEntity','JOIN_ROOM_FAILED','open$','collabSubmitChangesetUrl','_logService','collaboration-client.local-cache-service','_iKey','_collaborationUIEventService','_initUnitPermissionChange','execute','ivSize','_configService','subject','charAt','ws://127.0.0.1:8000/universer-api/comb/connect','snapshotServerUrl','createInstance','complete','encode','userID','downloadEndpointUrl','auth.needGotoLoginAlert','_getRedoStack','cmd','enableCollaboration','_change$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','get','resourceIDs','CHANGESET_SHOULD_RETRY','177FPkRKq','getUnit','/universer-api/uniscript','UUID','patch','_submitChangeset','size','dispose','Cipher','_sessions','WordArray','_removeRoom','telemetry\x20info\x20is\x20not\x20initialized','resolve','fetch_missing','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Base64','_prevBlock','/universer-api/file/{fileID}/sign-url','/-/object/list','saveImage','_registerDependencies','startsWith','_cipher','SYNCED','getDeserializedSheetBlock','ERROR_AGAIN','stringify','setConfig','JOIN_ROOM_PERMISSION_DENIED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','PERMISSION_DENIED','range','getMember','_onJoinRoomEvent','_xformMode','_onCombEvent','_changesetReqId','_singleActiveUnitService','from','_doReset','HEARTBEAT_TIMEOUT','routeKey','state','findIndex','WECHAT_HAS_BEEN_BOUND','getWorkbookSelections','uniscriptRunEvent','EMAIL_VERIFY_CODE_MISMATCH','_onRemoteChangeset','transformMutationsWithChangeset','init','workbook','Base','FAIL','_clearCollaborationTimeoutTimer','prototype','_state','editingUnit','getTypeOfUnitDisposed$','connection\x20error','__esModule','filter','_collaborationPaused','_collabSessionService','formatter','_clearScheduledTask','_socketMessageSubscription','SUBMIT_CHANGESET','HmacSHA1','image/png','_key','_initDependencies','getSheetBlock','/new_changes','UnitSnapshot','/-/object/-/batch_allowed','_state$','_listenToNetworkCondition','_getAPIPrefixPath','_tryReconnect','_data','list','Could\x20not\x20dynamically\x20require\x20\x22','_exhaustRemoteChangesetQueue','YUUMI_ASYNCIO_CANCELLED','_clearUndo','finalize','REDEMPTION_CODE_FULLY_REDEEMED','USERS_ENTER','_iv','create','5245236vGAJkl','NOT_FOUND','sheets','UNIVER_UNKNOWN','_onRemoteRejected','ALREADY_EXISTS','onRemoteRetry','emitEvent','_transformRemoteChangesetByIMECache','allowed','crypto','_initRequestHeader','YUUMI_URL_COL_OUT_OF_RANGE','session.join-failed','3842216WjvcJu','[SyncedState]:\x20received\x20rejection.','_unlockTransition','updatePermissionPoint','pluginName','blockSize','REDEMPTION_USER_REDEEM_TIMES_EXCEED','toggleOffline','SUBMIT_CHANGESET_TIMEOUT','batchAllowed','transformChangesets','slice','isPermissionRej','_revisionService','&assign=','TOO_MANY_REQUESTS','socket$','_getAPIPrefix','REDEMPTION_USER_NOT_ELIGIBLE','JOINING','dispose$','getRoom','debug','_sender','byteLength','salt','MOBILE_VERIFY_CODE_MISMATCH','_waitForHeartbeatResponse','_resendTimeout','delete','_retryCount','_decreaseWaiting','sid','title','_keyPriorReset','href','_invKeySchedule','[CollaborationState]:\x20apply\x20error!','LIVESHARE_NEW_HOST','_append','getSheetId','push','setCurrentUser','LEAVE','_onConflict','6721944IXEkWe','subscribe','_socketReady','LIVESHARE_OPERATION','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','PSEUDO_FETCH_MISSING_RESULT','SOCKET_FAILED','GLOBAL_ROOMS_CNT_EXCEEDS','[PendingState]:\x20received\x20acknowledgement.','status','ceil','APPLY_PERMISSION_DENIED','/universer-api/oidc/authpage','HEARTBEAT','_initMergeInterceptor','every','_doCryptBlock','UNKNOWN_CMD','onLocalMutation','_getSignURL','objectType','add','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[CollaborationEntity]','updateMember','commentUpdate$','find','_doFinalize','session.room-cnt-exceeds','_onRemoteACK','[OfflineState]:\x20received\x20acknowledgement.','_startTelemetryCollaborationNewChangeset','_entityInit$','_throwTelemetryCollaborationNewChangeset','_members','onStateChange','__Key__','onSyncEditingCollabCursor','unitId\x20is\x20not\x20found','method','_changesetSessionId','shouldCloseConn','_transformRemoteChangesetByStateCache','HttpImport','getActiveSheet','_lockTransition','MD5','csShouldRetryEvent','mixIn','_networkConditionService','_commentUpdate$','clear','fetching\x20missing\x20changesets\x20from\x20','LOGIN_TOKEN_PROCESSING_FAILED','status$','_config','LIVESHARE_FETCH_OPERATIONS','RETRY_CONNECTING_MAX_COUNT','_substituteRedoStack','YUUMI_TABLE_NOT_FOUND_IN_UNIT','PY_RUNTIME_SCRIPT_ERROR','LIVESHARE_TERMINATE','ENTITLE_CHAT_LIMIT_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','_undoStacks','getUnitId','getConfig','REDEMPTION_CODE_NOT_STARTED','_rescheduleHeartbeat','_timeoutTimer','MOBILE_HAS_BEEN_BOUND','Hex','submit\x20changeset\x20error!','_replayCachedMutations','getTypeOfUnitAdded$','override','_process','UNDEFINED','pauseCollaboration','iterations','loadSheet','post','_members$','onload','_compressMutationService','_shouldReportTelemetry','PERSON','JOIN_ROOM_NOT_EXISTS','4678WsEnfe','toString','/universer-api/snapshot/','_initCloseConn','_getUndoStack','_syncEditingCollabCursor','SHOULD_CLOSE_CONN','SNAPSHOT_HAS_BEEN_REMOVED','SOCKET_FAILED_RETRY','onCommentUpdate','PAYMENT_CHANNEL_NOT_SUPPORT','OFFLINE','next','EMAIL_HAS_BEEN_BOUND','_disableEditing','msCrypto','FETCH_MISS','_init','OpenSSL','pipe','csRejEvent','src','_transitionLocked','joinRsp','USERS_LEAVE','focused$','body','withCredentials','CHANGESET_ACK','UnitEmbedded','socketService','c1Prime','session.room-not-exists','UNIVER_SLIDE','fetchMissingChangesets','ENTITLE_REPORT_LIMIT_EXCEED','_clearLocalCache','close','StreamCipher','_status$','session.room-full','updateCollaborator','objects','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_checkMissing','appendMutation','joinEvent','lib','COMPLETION_FINISHED','file','event$','JOIN','enableSingleActiveInstanceLock','_handler','unsubscribe','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','awaitingChangeset','concat','_applyRemoteChangeset','Decryptor','_hasher','_getCtorByUniverType','reject','_type','_reverseMap','_candidateSocket','textRanges','copyFileMeta','[UniverCollaborationClientPlugin]','processBlock','requestParams','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','encodeURIComponent','image/jpeg','_scheduleCompleteTimestamp','[FetchMissState]','unknown','getSnapshotAPIPath','/resources','[PendingState]:\x20received\x20rejection.','createCollaborator','removeMember','_clearRedo','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','encryptBlock','saveChangeset','disableLocalCache','abs','collaborators','actions','deleteCollaborator','getResourcesRequest','getMemberID','pending','/universer-api/stream/file/upload','state$','algo','onlyLocal','createDecryptor','responseType','_injector','_joinRoom','put','onTransformSelections','result','decryptBlock','memberID','_ENC_XFORM_MODE','_localCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','COMPRESS_MUTATION_APPLY','_oKey','LOCAL_CACHE_INTERVAL','_retryConnectingTimer','target','_showConflictNotification','_getLoginPath','keySize','_onOffline','_memberService','UNIVER_COLLABORATION_CLIENT_PLUGIN','apply','_localeService','/object','ClipsheetFragments','$super','_socket','UNKNOWN_CODE','NEW_CHANGESETS','image/gif','loginUrlKey','_permissionService','splice','LOGIN_FAILED','onMissingChangesets','getUnitOnRev','_getCurrentRevision','INVALID_INVITE_CODE','getImage','saveSheetBlock','APPLY_REVISION_CONFILICT','_HTTPService','loadOfflineData','onStarting'];_0x39cf=function(){return _0xa4f5;};return _0x39cf();}let at=class{constructor(_0x58e7c2){var _0x521a4a=_0x1970a9;this[_0x521a4a(0x15b)]=_0x58e7c2,this[_0x521a4a(0x1fb)]();}[_0x1970a9(0x1fb)](){var _0x1179f3=_0x1970a9;this[_0x1179f3(0x15b)][_0x1179f3(0x172)]({'interceptor':(_0x3b9576,_0x30242f)=>{var _0xf55f2c=_0x1179f3;const _0x196a29=_0x3b9576['headers'],_0x541332=kn();return _0x541332&&_0x196a29[_0xf55f2c(0x3d2)](_0xf55f2c(0x3ea),_0x541332),_0x30242f(_0x3b9576);}});}};at=Hn([Bn(0x0,_0x253c3d(_0x2ab676))],at);var jn=Object[_0x1970a9(0x16f)],Fn=(_0x6a5b02,_0x2b8e7f,_0x4f8eac,_0x4a0a8c)=>{var _0x3bf397=_0x1970a9;for(var _0x5f2498=_0x4a0a8c>0x1?void 0x0:_0x4a0a8c?jn(_0x2b8e7f,_0x4f8eac):_0x2b8e7f,_0x2a95b8=_0x6a5b02[_0x3bf397(0x439)]-0x1,_0xa9569b;_0x2a95b8>=0x0;_0x2a95b8--)(_0xa9569b=_0x6a5b02[_0x2a95b8])&&(_0x5f2498=_0xa9569b(_0x5f2498)||_0x5f2498);return _0x5f2498;},vt=(_0x306df7,_0xc4ac88)=>(_0xb3e47f,_0x5bcf1b)=>_0xc4ac88(_0xb3e47f,_0x5bcf1b,_0x306df7);let Ot=class extends _0x3dd074{constructor(_0x579df5,_0x541397,_0x497397){var _0x4568db=_0x1970a9;super(),D(this,_0x4568db(0x472),new _0x3e8a63(null)),D(this,_0x4568db(0x39b),this[_0x4568db(0x472)][_0x4568db(0x173)]()),(this[_0x4568db(0x179)]=_0x579df5,this[_0x4568db(0x323)]=_0x541397,this[_0x4568db(0x2ef)]=_0x497397);}async[_0x1970a9(0x47b)](_0x271163,_0xbfc131,_0x2b9cc9){var _0x12c4cc=_0x1970a9;this['_unitInfo$'][_0x12c4cc(0x28f)]({'unitId':_0x271163,'type':_0xbfc131});let _0xf7a8ba=null;switch(_0xbfc131){case Q[_0x12c4cc(0x441)]:{_0xf7a8ba=await this['_snapshotService'][_0x12c4cc(0x27b)](_0x271163,_0x2b9cc9);break;}case Q[_0x12c4cc(0x466)]:{_0xf7a8ba=await this[_0x12c4cc(0x323)][_0x12c4cc(0x31d)](_0x271163,_0x2b9cc9);break;}default:{this[_0x12c4cc(0x179)][_0x12c4cc(0x421)](_0x12c4cc(0x35e),_0x12c4cc(0x15f));break;}}return _0xf7a8ba;}async[_0x1970a9(0x3c6)](_0x4ace67,_0x3ba6cc,_0x28cf38){var _0x9b3da0=_0x1970a9,_0x5d0cc3;this[_0x9b3da0(0x472)][_0x9b3da0(0x28f)]({'unitId':_0x4ace67,'type':_0x3ba6cc,'subUnitId':_0x28cf38});let _0x36972b=0x0;const _0x4f7b5c=await((_0x5d0cc3=this[_0x9b3da0(0x2ef)])==null?void 0x0:_0x5d0cc3[_0x9b3da0(0x311)](_0x4ace67));return _0x4f7b5c&&(_0x4f7b5c[_0x9b3da0(0x2bb)]||_0x4f7b5c[_0x9b3da0(0x3b1)]['length']!==0x0)&&(_0x36972b=_0x4f7b5c[_0x9b3da0(0x38f)]),_0x36972b===0x0&&this['_logService'][_0x9b3da0(0x214)]('[DataLoaderService]',_0x9b3da0(0x3a5)),this['loadUnitOfRevision'](_0x4ace67,_0x3ba6cc,_0x36972b);}};Ot=Fn([vt(0x0,_0x41ff63),vt(0x1,_0x253c3d(_0x2e8d63)),vt(0x2,_0x36e38f(J))],Ot);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x48a651,_0x33c439,_0x5ec52c,_0x456e71)=>{var _0x1a2085=_0x1970a9;for(var _0x5f2fb5=_0x456e71>0x1?void 0x0:_0x456e71?Vn(_0x33c439,_0x5ec52c):_0x33c439,_0x2fc793=_0x48a651[_0x1a2085(0x439)]-0x1,_0x19706b;_0x2fc793>=0x0;_0x2fc793--)(_0x19706b=_0x48a651[_0x2fc793])&&(_0x5f2fb5=_0x19706b(_0x5f2fb5)||_0x5f2fb5);return _0x5f2fb5;},pt=(_0x523c50,_0x1af080)=>(_0x387a73,_0x12406d)=>_0x1af080(_0x387a73,_0x12406d,_0x523c50);const Wn=[_0x1970a9(0x1da),_0x1970a9(0x2cc),'image/jpg',_0x1970a9(0x304),_0x1970a9(0x435)],Yn=0x5*0x400*0x400,Kn=_0x1970a9(0x2e1),qn=_0x1970a9(0x1a6);let Rt=class{constructor(_0x2261c6,_0x3f8e99,_0x29bc47){var _0x302fd9=_0x1970a9;D(this,_0x302fd9(0x40c),0x0),D(this,'_change$',new _0x5c9b29()),D(this,_0x302fd9(0x37f),this[_0x302fd9(0x18e)]),D(this,_0x302fd9(0x370),new Map()),(this[_0x302fd9(0x15b)]=_0x2261c6,this['_configService']=_0x3f8e99,this[_0x302fd9(0x461)]=_0x29bc47);}[_0x1970a9(0x313)](_0x1cb405){var _0x27ca9c=_0x1970a9;this[_0x27ca9c(0x40c)]=_0x1cb405,this['_change$'][_0x27ca9c(0x28f)](_0x1cb405);}['getImageSourceCache'](_0x2c28d0,_0x33983f){var _0x3d438f=_0x1970a9;if(_0x33983f===_0x53befb['BASE64']){const _0x16374b=new Image();return _0x16374b[_0x3d438f(0x298)]=_0x2c28d0,_0x16374b;}return this[_0x3d438f(0x370)][_0x3d438f(0x190)](_0x2c28d0);}[_0x1970a9(0x164)](_0x1168d5,_0x29aa78,_0x49f8c3){var _0x2cd786=_0x1970a9;_0x29aa78===_0x53befb['BASE64']||_0x49f8c3==null||this['_imageSourceCache'][_0x2cd786(0x3d2)](_0x1168d5,_0x49f8c3);}async[_0x1970a9(0x30d)](_0x28989e){var _0x4db41a=_0x1970a9;try{const _0xd35591=this[_0x4db41a(0x350)](this[_0x4db41a(0x23e)](),''+_0x28989e),_0x1e34f9=(await this['_httpService'][_0x4db41a(0x190)](_0xd35591))[_0x4db41a(0x29d)];if(_0x1e34f9[_0x4db41a(0x421)]&&_0x1e34f9['error'][_0x4db41a(0x404)]===vi['OK']){const _0x26b133=new URL(_0x1e34f9['url'],this[_0x4db41a(0x38b)]())[_0x4db41a(0x284)]();return Promise[_0x4db41a(0x1a0)](_0x26b133);}return Promise[_0x4db41a(0x2c1)](_0x1e34f9['error']);}catch(_0x56ad04){return Promise[_0x4db41a(0x2c1)](_0x56ad04);}}async[_0x1970a9(0x1a8)](_0x29b1a1){var _0x1ebab5=_0x1970a9;let _0x317ca7='';if(!Wn[_0x1ebab5(0x32d)](_0x29b1a1[_0x1ebab5(0x3b9)]))return this[_0x1ebab5(0x21d)](),Promise[_0x1ebab5(0x2c1)](new Error(_0x1dc5a[_0x1ebab5(0x46a)]));if(_0x29b1a1['size']>Yn)return this['_decreaseWaiting'](),Promise[_0x1ebab5(0x2c1)](new Error(_0x1dc5a[_0x1ebab5(0x418)]));try{const _0x22881b=new FormData();_0x22881b['append'](_0x1ebab5(0x2b4),_0x29b1a1);const _0x42ea71=this[_0x1ebab5(0x461)]['getFocusedUnit'](),_0xda9900=_0x42ea71==null?void 0x0:_0x42ea71[_0x1ebab5(0x26c)]();if(!_0xda9900)throw new Error(_0x1ebab5(0x251));const _0x4f14f4=this['_getUploadFileURL']()+'?size='+_0x29b1a1[_0x1ebab5(0x199)][_0x1ebab5(0x284)]()+'&source='+pi[_0x1ebab5(0x2a0)]+_0x1ebab5(0x20c)+encodeURIComponent(_0xda9900),_0x3febd7={'body':_0x22881b},_0x48699c=(await this[_0x1ebab5(0x15b)][_0x1ebab5(0x27c)](_0x4f14f4,_0x3febd7))[_0x1ebab5(0x29d)];if(typeof _0x48699c[_0x1ebab5(0x345)]!='string')return this[_0x1ebab5(0x21d)](),Promise['reject'](new Error(_0x1dc5a['ERROR_IMAGE']));_0x317ca7=_0x48699c[_0x1ebab5(0x345)];}catch{return this[_0x1ebab5(0x21d)](),Promise[_0x1ebab5(0x2c1)](new Error(_0x1dc5a[_0x1ebab5(0x390)]));}return new Promise((_0x413955,_0x35ba60)=>{var _0x3b462a=_0x1ebab5;const _0x2fc7eb=new FileReader();_0x2fc7eb['readAsDataURL'](_0x29b1a1),_0x2fc7eb[_0x3b462a(0x27e)]=_0x2cf85e=>{var _0x2cf373=_0x3b462a,_0xd42237;const _0x55320e=(_0xd42237=_0x2cf85e[_0x2cf373(0x2f5)])==null?void 0x0:_0xd42237['result'];if(_0x55320e==null){this[_0x2cf373(0x21d)](),_0x35ba60(new Error(_0x1dc5a['ERROR_IMAGE']));return;}const _0x59aba6=_0x4590a2(0x6);_0x413955({'imageId':_0x59aba6,'imageSourceType':_0x53befb[_0x2cf373(0x196)],'source':_0x317ca7,'base64Cache':_0x55320e,'status':_0x1dc5a['SUCCUSS']}),this[_0x2cf373(0x21d)]();};});}['_getUploadFileURL'](){var _0x3f602e=_0x1970a9,_0x38bd45;const _0x3be589=this[_0x3f602e(0x180)][_0x3f602e(0x26d)](K);return(_0x38bd45=_0x3be589==null?void 0x0:_0x3be589['uploadFileServerUrl'])!=null?_0x38bd45:Kn;}[_0x1970a9(0x23e)](){var _0x30a538=_0x1970a9,_0x20ad24;const _0x5a3993=this[_0x30a538(0x180)][_0x30a538(0x26d)](K);return(_0x20ad24=_0x5a3993==null?void 0x0:_0x5a3993['signUrlServerUrl'])!=null?_0x20ad24:qn;}[_0x1970a9(0x38b)](){var _0x5ec5de=_0x1970a9,_0x32b55a;const _0x39a336=this[_0x5ec5de(0x180)]['getConfig'](K);return(_0x32b55a=_0x39a336==null?void 0x0:_0x39a336[_0x5ec5de(0x189)])!=null?_0x32b55a:location[_0x5ec5de(0x3b2)];}[_0x1970a9(0x350)](_0x17f2f2,_0x1acfda){var _0x4d23dc=_0x1970a9;return _0x17f2f2[_0x4d23dc(0x32a)](_0x4d23dc(0x394),_0x1acfda);}[_0x1970a9(0x21d)](){var _0x47bd10=_0x1970a9;this[_0x47bd10(0x40c)]-=0x1,this[_0x47bd10(0x18e)]['next'](this[_0x47bd10(0x40c)]);}};Rt=Gn([pt(0x0,_0x253c3d(_0x2ab676)),pt(0x1,_0x4a008f),pt(0x2,_0x253c3d(_0xe0db57))],Rt);var zn=Object[_0x1970a9(0x16f)],Jn=(_0x36beb3,_0x48476a,_0x1c4b8d,_0x5cf12f)=>{var _0x32d1e7=_0x1970a9;for(var _0x36fbbc=_0x5cf12f>0x1?void 0x0:_0x5cf12f?zn(_0x48476a,_0x1c4b8d):_0x48476a,_0xb80a00=_0x36beb3[_0x32d1e7(0x439)]-0x1,_0x32f140;_0xb80a00>=0x0;_0xb80a00--)(_0x32f140=_0x36beb3[_0xb80a00])&&(_0x36fbbc=_0x32f140(_0x36fbbc)||_0x36fbbc);return _0x36fbbc;},ai=(_0x515524,_0xf9298d)=>(_0x453268,_0x2596f0)=>_0xf9298d(_0x453268,_0x2596f0,_0x515524);const Xn='/universer-api/authz';let Ct=class{constructor(_0x1d2d66,_0x537a1e){var _0x3cd1c4=_0x1970a9;this[_0x3cd1c4(0x180)]=_0x1d2d66,this[_0x3cd1c4(0x310)]=_0x537a1e;}[_0x1970a9(0x1e3)](){var _0x36f48d=_0x1970a9,_0x28744e;const _0x53e766=this['_configService'][_0x36f48d(0x26d)](K);return(_0x28744e=_0x53e766==null?void 0x0:_0x53e766['authzUrl'])!=null?_0x28744e:Xn;}async['list'](_0x920f79){var _0x212b58=_0x1970a9;const _0x5e9c9c=this['_getAPIPrefixPath']()+_0x212b58(0x399);return{'list':[{'title':'People','mentions':(await this[_0x212b58(0x310)][_0x212b58(0x190)](_0x5e9c9c,{'params':{'objectID':_0x920f79['unitId'],'unitID':_0x920f79['unitId']}}))[_0x212b58(0x29d)][_0x212b58(0x2db)][_0x212b58(0x417)](_0x1460f1=>({'objectId':_0x1460f1['id'],'name':_0x1460f1[_0x212b58(0x181)]['name'],'metadata':{'icon':_0x1460f1['subject'][_0x212b58(0x3e2)]},'label':_0x1460f1[_0x212b58(0x181)]['name'],'objectType':_0x41dc11['PERSON']})),'metadata':{},'type':_0x41dc11[_0x212b58(0x281)]}]};}};Ct=Jn([ai(0x0,_0x253c3d(_0x4a008f)),ai(0x1,_0x253c3d(_0x2ab676))],Ct);var Zn=Object[_0x1970a9(0x16f)],Qn=(_0x105f80,_0x1ee78b,_0x1ac7dd,_0x1adcc2)=>{var _0x164d7b=_0x1970a9;for(var _0x52b846=_0x1adcc2>0x1?void 0x0:_0x1adcc2?Zn(_0x1ee78b,_0x1ac7dd):_0x1ee78b,_0x4bfdbf=_0x105f80[_0x164d7b(0x439)]-0x1,_0x109873;_0x4bfdbf>=0x0;_0x4bfdbf--)(_0x109873=_0x105f80[_0x4bfdbf])&&(_0x52b846=_0x109873(_0x52b846)||_0x52b846);return _0x52b846;},Ue=(_0x49a3e3,_0x3341c4)=>(_0x410844,_0x89f987)=>_0x3341c4(_0x410844,_0x89f987,_0x49a3e3);let ot=class extends _0x3dd074{constructor(_0x12df92,_0x4e6872,_0x2bc873,_0x39253d,_0x2f04ff){var _0x15df58=_0x1970a9;super(),this[_0x15df58(0x2e7)]=_0x12df92,this[_0x15df58(0x461)]=_0x4e6872,this[_0x15df58(0x306)]=_0x2bc873,this['_collaborationSessionService']=_0x39253d,this[_0x15df58(0x17c)]=_0x2f04ff,this[_0x15df58(0x17d)](),this[_0x15df58(0x286)]();}['_initCloseConn'](){var _0x2f7979=_0x1970a9;const _0x3de147=async _0x39c982=>{var _0x5939ae=_0x35ab;(await this[_0x5939ae(0x3af)][_0x5939ae(0x3be)](_0x39c982))[_0x5939ae(0x2b5)]['pipe'](_0xed575f(_0x53f4a2=>_0x53f4a2[_0x5939ae(0x332)]===_0x274cb2[_0x5939ae(0x289)]),_0x268a47(this[_0x5939ae(0x212)]))[_0x5939ae(0x22c)](_0x5a1407=>{var _0x4b1357=_0x5939ae;const _0x44b5fd=_0x5a1407,{reason:_0x30ac0d}=_0x44b5fd['data'];this[_0x4b1357(0x17c)][_0x4b1357(0x1f7)]({'id':re['CLOSE_ROOM'],'data':_0x30ac0d}),this[_0x4b1357(0x306)][_0x4b1357(0x201)](new _0x50fba4(_0x39c982)['id'],!0x1),this[_0x4b1357(0x3af)]['closeSession'](_0x39c982);});};_0x3c68f6(this[_0x2f7979(0x461)][_0x2f7979(0x275)](_0x3de6eb[_0x2f7979(0x441)]),this['_univerInstanceService'][_0x2f7979(0x275)](_0x3de6eb[_0x2f7979(0x466)]))[_0x2f7979(0x296)](_0x54e938(_0x3bef93=>_0x3bef93[_0x2f7979(0x26c)]()),_0xed575f(_0x4026cd=>!_0x369838(_0x4026cd)),_0x268a47(this[_0x2f7979(0x212)]))['subscribe'](_0x3af4ff=>{_0x3de147(_0x3af4ff);});}[_0x1970a9(0x17d)](){var _0xcbae3b=_0x1970a9;const _0x2b14ff=async _0x5275ff=>{var _0x4f452d=_0x35ab;const _0x4f22d6=await this[_0x4f452d(0x3af)]['requireSession'](_0x5275ff),_0x280ba6=this[_0x4f452d(0x2e7)][_0x4f452d(0x190)](_0x3f2d8f);_0x4f22d6[_0x4f452d(0x2b5)][_0x4f452d(0x296)](_0xed575f(_0x32be75=>_0x32be75[_0x4f452d(0x332)]===_0x274cb2[_0x4f452d(0x347)]),_0x268a47(this[_0x4f452d(0x212)]))[_0x4f452d(0x22c)](_0x166989=>{var _0x4891c8=_0x4f452d;const _0x206951=_0x166989,{objectId:_0x2aadf4}=_0x206951[_0x4891c8(0x32f)];_0x2aadf4===_0x5275ff?_0x280ba6['initWorkbookPermissionChange'](_0x5275ff):_0x280ba6[_0x4891c8(0x3d4)](_0x5275ff,_0x2aadf4);});};_0x3c68f6(this[_0xcbae3b(0x461)][_0xcbae3b(0x275)](_0x3de6eb[_0xcbae3b(0x441)]))[_0xcbae3b(0x296)](_0x54e938(_0x173be9=>_0x173be9[_0xcbae3b(0x26c)]()),_0xed575f(_0x4d8f43=>!_0x369838(_0x4d8f43)),_0x268a47(this[_0xcbae3b(0x212)]))['subscribe'](_0x51aed6=>{_0x2b14ff(_0x51aed6);});}};ot=Qn([Ue(0x0,_0x253c3d(_0x9d7216)),Ue(0x1,_0xe0db57),Ue(0x2,_0x4a0dfc),Ue(0x3,_0x253c3d(we)),Ue(0x4,_0x253c3d(ve))],ot);var er=Object[_0x1970a9(0x16f)],tr=(_0x4000b1,_0x527068,_0x178b81,_0x2db85b)=>{var _0x3a3144=_0x1970a9;for(var _0x488648=_0x2db85b>0x1?void 0x0:_0x2db85b?er(_0x527068,_0x178b81):_0x527068,_0x547478=_0x4000b1[_0x3a3144(0x439)]-0x1,_0x122325;_0x547478>=0x0;_0x547478--)(_0x122325=_0x4000b1[_0x547478])&&(_0x488648=_0x122325(_0x488648)||_0x488648);return _0x488648;},oi=(_0x9a5dc8,_0x516d8f)=>(_0xcb27bd,_0x42742b)=>_0x516d8f(_0xcb27bd,_0x42742b,_0x9a5dc8);let Nt=class{constructor(_0x267b8c,_0x33fbbc){var _0xf9793f=_0x1970a9;this['_configService']=_0x267b8c,this[_0xf9793f(0x15b)]=_0x33fbbc;}async[_0x1970a9(0x30a)](_0x3ee4e0,_0x2561e0){var _0x1e300c=_0x1970a9,_0x32a4ea;const {unitID:_0x7c4d75,type:_0x2616bd,revision:_0xf89acd=0x0}=_0x2561e0,_0x2a56d7=this[_0x1e300c(0x2d0)]()+'/'+_0x2616bd+_0x1e300c(0x16a)+_0x7c4d75+_0x1e300c(0x315)+_0xf89acd,_0x5445a9=(await this['_httpService']['get'](_0x2a56d7))[_0x1e300c(0x29d)],_0x5096fc=(_0x32a4ea=_0x5445a9['snapshot'])==null?void 0x0:_0x32a4ea[_0x1e300c(0x1c8)];if(_0x5096fc){const _0x153501=_0x5096fc==null?void 0x0:_0x5096fc[_0x1e300c(0x3ef)],_0x5237e7=_0xfdba58[_0x1e300c(0x187)](_0x108a5b(_0x153501));_0x5096fc[_0x1e300c(0x3ef)]=_0x5237e7,Object['entries'](_0x5096fc[_0x1e300c(0x1f2)])[_0x1e300c(0x445)](([,_0x3683c1])=>{var _0x4eb3f8=_0x1e300c;const _0xd7a55a=_0x3683c1[_0x4eb3f8(0x3ef)],_0xe86284=_0xfdba58[_0x4eb3f8(0x187)](_0x108a5b(_0xd7a55a));_0x3683c1[_0x4eb3f8(0x3ef)]=_0xe86284;});}return _0x5445a9;}async[_0x1970a9(0x1dd)](_0x2b89b7,_0x20eb92){var _0x42b823=_0x1970a9;const {unitID:_0x4bf17e,type:_0x612fb8,blockID:_0x146aaa}=_0x20eb92,_0x979cb9=this[_0x42b823(0x20f)]()+'/'+_0x612fb8+'/unit/'+_0x4bf17e+_0x42b823(0x16e)+_0x146aaa;return(await this['_httpService']['get'](_0x979cb9))[_0x42b823(0x29d)];}async[_0x1970a9(0x1ad)](_0x1585b1,_0x1f556a){var _0x494893=_0x1970a9;const {unitID:_0x7b16b4,type:_0x11f91d,blockID:_0x4ee3b9}=_0x1f556a,_0x112c09=this[_0x494893(0x20f)]()+_0x494893(0x16e)+_0x11f91d+_0x494893(0x16a)+_0x7b16b4+_0x494893(0x16e)+_0x4ee3b9;return(await this[_0x494893(0x15b)][_0x494893(0x190)](_0x112c09))[_0x494893(0x29d)];}async[_0x1970a9(0x2a5)](_0x565848,_0x1e95a1){var _0xc8a372=_0x1970a9;const {unitID:_0x35d9fb,type:_0x26c66e,from:_0x584e37,to:_0x58258f}=_0x1e95a1,_0x2bb1a0=this[_0xc8a372(0x20f)]()+'/'+_0x26c66e+_0xc8a372(0x16a)+_0x35d9fb+_0xc8a372(0x369)+_0x584e37+'&to='+_0x58258f;return(await this[_0xc8a372(0x15b)][_0xc8a372(0x190)](_0x2bb1a0))[_0xc8a372(0x29d)];}[_0x1970a9(0x2d0)](){var _0x34c57d=_0x1970a9,_0x33bce0;return(_0x33bce0=this['_configService'][_0x34c57d(0x26d)](vs))!=null?_0x33bce0:this[_0x34c57d(0x20f)]();}[_0x1970a9(0x20f)](){var _0x41657b=_0x1970a9,_0x3dbff3;const _0x262e33=this[_0x41657b(0x180)][_0x41657b(0x26d)](K);return(_0x3dbff3=_0x262e33==null?void 0x0:_0x262e33[_0x41657b(0x184)])!=null?_0x3dbff3:fs;}async[_0x1970a9(0x2de)](_0x357f1f,_0xbe7b5b){var _0x522588=_0x1970a9;const _0x230a4f=_0x522588(0x285)+_0xbe7b5b[_0x522588(0x3b9)]+_0x522588(0x16a)+_0xbe7b5b['unitID']+_0x522588(0x2d1);return(await this[_0x522588(0x15b)][_0x522588(0x190)](_0x230a4f,{'params':{'resourceId':JSON['stringify'](_0xbe7b5b[_0x522588(0x191)])}}))[_0x522588(0x29d)];}[_0x1970a9(0x40e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1970a9(0x344)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1970a9(0x30e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1970a9(0x2d8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1970a9(0x2c6)](){var _0x1dde13=_0x1970a9;throw new Error(_0x1dde13(0x3cb));}['getLatestCsReqIdBySid'](){var _0x37ec91=_0x1970a9;throw new Error(_0x37ec91(0x3cb));}};Nt=tr([oi(0x0,_0x4a008f),oi(0x1,_0x253c3d(_0x2ab676))],Nt);var ir=Object[_0x1970a9(0x16f)],sr=(_0x5e6211,_0x4a9f85,_0x1ca59b,_0x1ac4e5)=>{var _0x415bf0=_0x1970a9;for(var _0x3e0025=_0x1ac4e5>0x1?void 0x0:_0x1ac4e5?ir(_0x4a9f85,_0x1ca59b):_0x4a9f85,_0x346c88=_0x5e6211[_0x415bf0(0x439)]-0x1,_0x41bb4c;_0x346c88>=0x0;_0x346c88--)(_0x41bb4c=_0x5e6211[_0x346c88])&&(_0x3e0025=_0x41bb4c(_0x3e0025)||_0x3e0025);return _0x3e0025;},Ae=(_0x5a7aa1,_0x2da800)=>(_0x1d61c9,_0x29c176)=>_0x2da800(_0x1d61c9,_0x29c176,_0x5a7aa1);let bt=class extends _0x4abd47{constructor(_0x320834,_0x3cc3e9,_0x4eace5,_0x4f5d10,_0x15c2b7){var _0x42fe84=_0x1970a9;super(_0x320834,_0x3cc3e9,_0x4eace5),this[_0x42fe84(0x37e)]=_0x4f5d10,this['_logService']=_0x15c2b7;}[_0x1970a9(0x3e9)](_0x96964,_0x2af46f){var _0x9aa561=_0x1970a9;const _0x3c734d=this[_0x9aa561(0x287)](_0x96964);if(_0x3c734d)try{const _0x2bc504=this[_0x9aa561(0x3da)](_0x3c734d,_0x2af46f);this[_0x9aa561(0x383)](_0x96964,_0x2bc504);}catch(_0x185652){this[_0x9aa561(0x179)][_0x9aa561(0x421)](_0x9aa561(0x428),_0x185652),this[_0x9aa561(0x1ea)](_0x96964);}const _0x598a29=this[_0x9aa561(0x18b)](_0x96964);if(_0x598a29)try{const _0x46add5=this[_0x9aa561(0x3da)](_0x598a29,_0x2af46f);this[_0x9aa561(0x265)](_0x96964,_0x46add5);}catch(_0xb5f4b2){this['_logService'][_0x9aa561(0x421)](_0xb5f4b2),this['_clearRedo'](_0x96964);}}[_0x1970a9(0x1ea)](_0x376ef3){var _0x15943a=_0x1970a9;const _0xa90f5a=this[_0x15943a(0x287)](_0x376ef3);_0xa90f5a&&(_0xa90f5a['length']=0x0,this[_0x15943a(0x3a8)]());}[_0x1970a9(0x2d5)](_0xf4521){var _0x80aa61=_0x1970a9;const _0x3a5ce3=this[_0x80aa61(0x18b)](_0xf4521);_0x3a5ce3&&(_0x3a5ce3[_0x80aa61(0x439)]=0x0,this[_0x80aa61(0x3a8)]());}[_0x1970a9(0x383)](_0x39ae95,_0x1e6815){var _0x58e20b=_0x1970a9;this[_0x58e20b(0x26b)][_0x58e20b(0x3d2)](_0x39ae95,_0x1e6815),this[_0x58e20b(0x3a8)]();}[_0x1970a9(0x265)](_0x557af3,_0x255ab6){var _0x2290eb=_0x1970a9;this['_redoStacks'][_0x2290eb(0x3d2)](_0x557af3,_0x255ab6),this['_updateStatus']();}[_0x1970a9(0x3da)](_0x54d559,_0x14dcd6){var _0x127d73=_0x1970a9;const _0x5dd98b=[];let _0x4aace3=_0x14dcd6,_0x44410a=_0x14dcd6;for(let _0x4bae3e=_0x54d559['length']-0x1;_0x4bae3e>=0x0;_0x4bae3e--){const {unitID:_0xd7423,undoMutations:_0x55562d,redoMutations:_0x2b632e}=_0x54d559[_0x4bae3e],_0x574194=this[_0x127d73(0x37e)][_0x127d73(0x1c6)](_0x4aace3,_0x55562d),_0x4b3337=this[_0x127d73(0x37e)][_0x127d73(0x1c6)](_0x44410a,_0x2b632e);if(_0x43d70f(_0x574194)||_0x43d70f(_0x4b3337)){this[_0x127d73(0x179)][_0x127d73(0x421)](_0x127d73(0x428),_0x127d73(0x3dd),_0x574194,_0x4b3337);break;}_0x4aace3=_0x574194[_0x127d73(0x2a2)],_0x44410a=_0x4b3337[_0x127d73(0x2a2)],_0x5dd98b[_0x127d73(0x227)]({'unitID':_0xd7423,'undoMutations':_0x574194[_0x127d73(0x349)],'redoMutations':_0x4b3337[_0x127d73(0x349)]});}return _0x5dd98b[_0x127d73(0x3bd)]();}};bt=sr([Ae(0x0,_0xe0db57),Ae(0x1,_0x2fde4d),Ae(0x2,_0x23dd4f),Ae(0x3,_0x1f95db),Ae(0x4,_0x41ff63)],bt);var nr=Object[_0x1970a9(0x3ed)],rr=Object[_0x1970a9(0x16f)],ar=(_0x5f41a6,_0x2b47ba,_0x48ea38)=>_0x2b47ba in _0x5f41a6?nr(_0x5f41a6,_0x2b47ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48ea38}):_0x5f41a6[_0x2b47ba]=_0x48ea38,or=(_0xa0c340,_0x167d31,_0x4a010e,_0x4fb709)=>{var _0x169c3a=_0x1970a9;for(var _0x4e5cdc=_0x4fb709>0x1?void 0x0:_0x4fb709?rr(_0x167d31,_0x4a010e):_0x167d31,_0xe7bd1=_0xa0c340[_0x169c3a(0x439)]-0x1,_0x291d57;_0xe7bd1>=0x0;_0xe7bd1--)(_0x291d57=_0xa0c340[_0xe7bd1])&&(_0x4e5cdc=_0x291d57(_0x4e5cdc)||_0x4e5cdc);return _0x4e5cdc;},Et=(_0x5738a9,_0x5aa459)=>(_0x702a66,_0x3353ca)=>_0x5aa459(_0x702a66,_0x3353ca,_0x5738a9),cr=(_0x41491e,_0x5581aa,_0x3cfbef)=>ar(_0x41491e,_0x5581aa+'',_0x3cfbef);const _r=_0x1970a9(0x2fb);let Dt=class extends _0x39de00{constructor(_0x3c1e80,_0x2e50f6,_0x468c02,_0x1b54ad){var _0x5a2ee1=_0x1970a9;super(),D(this,_0x5a2ee1(0x262)),(this[_0x5a2ee1(0x179)]=_0x2e50f6,this['_injector']=_0x468c02,this['_configService']=_0x1b54ad);const {..._0x57cd3e}=_0x32dbed({},Ls,_0x3c1e80);if(!_0x57cd3e[_0x5a2ee1(0x2a1)])throw new Error(_0x5a2ee1(0x333));this['_config']=_0x57cd3e,this[_0x5a2ee1(0x180)][_0x5a2ee1(0x1b0)](K,_0x57cd3e);}[_0x1970a9(0x312)](){var _0x17efce=_0x1970a9;this[_0x17efce(0x1a9)](),this['_initDependencies']();}[_0x1970a9(0x1a9)](){var _0x43fd7c=_0x1970a9,_0x1a6428,_0x3234e8;this[_0x43fd7c(0x2e7)][_0x43fd7c(0x3b3)](_0x5b65e3)&&this[_0x43fd7c(0x179)][_0x43fd7c(0x421)](_0x43fd7c(0x2c7),_0x43fd7c(0x3cd));const _0x587b3d=_0x2b78e4([[_0x5b65e3,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x43fd7c(0x262)][_0x43fd7c(0x2a1)]}],[_0x4c2e80,{'useClass':Nt}],[_0x2e6301,{'useClass':Tt}],[_0x198a92,{'useClass':Rt}],[_0x5e3df7,{'useClass':Ct}],[nt],[gt]],(_0x1a6428=this['_config'])==null?void 0x0:_0x1a6428[_0x43fd7c(0x276)]);if(!((_0x3234e8=this[_0x43fd7c(0x262)])!=null&&_0x3234e8[_0x43fd7c(0x2b7)])){const _0x51aa1d=_0x587b3d[_0x43fd7c(0x1c0)](([_0xa6737b])=>_0xa6737b===_t);_0x51aa1d!==-0x1&&_0x587b3d[_0x43fd7c(0x307)](_0x51aa1d,0x1);}_0xc1daf3(this[_0x43fd7c(0x2e7)],_0x587b3d);}[_0x1970a9(0x1dc)](){var _0x8dd7f0=_0x1970a9,_0x4448ef,_0x253adc,_0x47f368;this[_0x8dd7f0(0x2e7)][_0x8dd7f0(0x190)](_0x2ab676)[_0x8dd7f0(0x172)]({'priority':0x14,'interceptor':_0xc851f2({'maxParallel':0x6})}),(_0x4448ef=this['_config'])!=null&&_0x4448ef[_0x8dd7f0(0x392)]||(_0x253adc=this[_0x8dd7f0(0x2e7)][_0x8dd7f0(0x190)](J,_0x256ea3[_0x8dd7f0(0x36b)]))==null||_0x253adc[_0x8dd7f0(0x2d9)](),(_0x47f368=this[_0x8dd7f0(0x262)])!=null&&_0x47f368[_0x8dd7f0(0x3d0)]&&_0x5cbcc9(this[_0x8dd7f0(0x2e7)],[[rt]]),_0x5cbcc9(this['_injector'],[[at],[nt],[ot]]);}};cr(Dt,_0x1970a9(0x202),_r),Dt=or([_0x3a0f8e(_0x49b531,_0x3cb9ed),Et(0x1,_0x41ff63),Et(0x2,_0x253c3d(_0x9d7216)),Et(0x3,_0x4a008f)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Wt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};
1
+ var _0x259c74=_0x28c4;(function(_0x224a56,_0x17dcf5){var _0x2313a0=_0x28c4,_0x2c82df=_0x224a56();while(!![]){try{var _0xca2765=-parseInt(_0x2313a0(0x33b))/0x1+parseInt(_0x2313a0(0x2df))/0x2+-parseInt(_0x2313a0(0x21e))/0x3+-parseInt(_0x2313a0(0x26f))/0x4*(-parseInt(_0x2313a0(0x3c8))/0x5)+-parseInt(_0x2313a0(0x3d3))/0x6*(parseInt(_0x2313a0(0x40a))/0x7)+-parseInt(_0x2313a0(0x392))/0x8+parseInt(_0x2313a0(0x40e))/0x9*(parseInt(_0x2313a0(0x358))/0xa);if(_0xca2765===_0x17dcf5)break;else _0x2c82df['push'](_0x2c82df['shift']());}catch(_0x20d91e){_0x2c82df['push'](_0x2c82df['shift']());}}}(_0x54f2,0xa7ad9));var bi=Object['defineProperty'],Di=(_0x21dbdf,_0x26c4bf,_0x5e176e)=>_0x26c4bf in _0x21dbdf?bi(_0x21dbdf,_0x26c4bf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e176e}):_0x21dbdf[_0x26c4bf]=_0x5e176e,D=(_0x5d5e48,_0x221ce2,_0x103b24)=>Di(_0x5d5e48,typeof _0x221ce2!=_0x259c74(0x22a)?_0x221ce2+'':_0x221ce2,_0x103b24);import{CollaborationEvent as _0x6aadf0,ITransformService as _0x363f26,isTransformMutationsWithChangesetSuccess as _0x10db53,mapDocumentTypeToUniverType as _0x488e36,RevisionService as _0x4deff2,isTransformChangesetsSuccess as _0x128d8f,CompressMutationService as _0x1ec69a,parseProtocolChangeset as _0x16a6be,uuidv4 as _0x50f63f,ISnapshotServerService as _0x27e841,parseChangesetToProtocol as _0x439747,SnapshotService as _0x251112,textEncoder as _0x4970f8,b64DecodeUnicode as _0x37b5a1,isTransformMutationsWithChangesetFailure as _0x322957,UniverCollaborationPlugin as _0x309ba1}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x2979fe,Inject as _0x479712,UserManagerService as _0x5868d7,Disposable as _0x24b22e,UniverInstanceType as _0x33434f,ILogService as _0x597a05,IConfigService as _0x5dd738,Optional as _0xdd8f64,RxDisposable as _0x271f03,createIdentifier as _0x350255,Injector as _0x27a1da,Tools as _0x474031,Rectangle as _0x3db7f4,ICommandService as _0x50be79,JSONX as _0x242971,CommandType as _0xf41ef6,IUndoRedoService as _0x1bcad4,IPermissionService as _0x25e5b9,LocaleService as _0x38932f,sequenceExecute as _0x3d150d,toDisposable as _0x52a6fa,DisposableCollection as _0x233c34,Workbook as _0x2fdb3b,generateRandomId as _0x1950d2,MentionType as _0x18ebcb,isInternalEditorID as _0x4fb1b7,LocalUndoRedoService as _0xfac7b9,IContextService as _0x30d958,DependentOn as _0x4c2899,Plugin as _0x2b4bcc,merge as _0x36265f,mergeOverrideWithDependencies as _0x58d05a,IAuthzIoService as _0x56f06e,IMentionIOService as _0x23c9c8,registerDependencies as _0x3ce38b,Quantity as _0x29e21a,touchDependencies as _0x1a2234}from'@univerjs/core';import{RichTextEditingMutation as _0x8784db}from'@univerjs/docs';import{SheetsSelectionsService as _0x5b8311,SetSelectionsOperation as _0x2a6888,InsertSheetMutation as _0xb3b1df,EmptyMutation as _0x423c29,WorkbookEditablePermission as _0x2a9243,SheetPermissionInitController as _0x1da1b2}from'@univerjs/sheets';import{Subject as _0x4fab98,merge as _0x3142f5,of as _0x57b435,BehaviorSubject as _0x5ac99c,takeUntil as _0x333488,ReplaySubject as _0x4ad544,take as _0x4aae1e,map as _0x42ebd1,shareReplay as _0x381afc,firstValueFrom as _0x1d959e,concatMap as _0xbab88}from'rxjs';import{ITelemetryService as _0x462d97}from'@univerjs/telemetry';import{map as _0x56a673,take as _0x2d868f,filter as _0x21080c,delay as _0x1308f9,takeUntil as _0x28187}from'rxjs/operators';import{HTTPService as _0x44cd1e,ISocketService as _0x46b1d5,MergeInterceptorFactory as _0x18ee90,HTTPRequest as _0x3b63e4,UniverNetworkPlugin as _0x3371c4,ThresholdInterceptorFactory as _0x13d50a}from'@univerjs/network';import{ImageSourceType as _0x730ce6,ImageUploadStatusType as _0x44aa55,IImageIoService as _0x5c9c0a}from'@univerjs/drawing';import{getGlobalObject as _0x429284}from'@univerjs-pro/license';const fs=_0x259c74(0x38a),vs='SNAPSHOT_URL_KEY',ps=0x7d0,Es=_0x259c74(0x3c2),gr=_0x259c74(0x44a),ms='HEARTBEAT_INTERVAL',Is=0x7530,di=_0x259c74(0x1a9),fi=0x4e20,Ss=0x4e20,gs='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x259c74(0x2a7),Or=0x3e8,Os=_0x259c74(0x355),Rs=_0x259c74(0x2d1),Rr=_0x259c74(0x383),Cr=_0x259c74(0x1f6);var vi=(_0x1019b7=>(_0x1019b7[_0x1019b7['UNDEFINED']=0x0]=_0x259c74(0x447),_0x1019b7[_0x1019b7['OK']=0x1]='OK',_0x1019b7[_0x1019b7[_0x259c74(0x44d)]=0x2]=_0x259c74(0x44d),_0x1019b7[_0x1019b7[_0x259c74(0x1ee)]=0x3]=_0x259c74(0x1ee),_0x1019b7[_0x1019b7[_0x259c74(0x3cf)]=0x4]='NOT_FOUND',_0x1019b7[_0x1019b7['UNAUTHENTICATED']=0x5]=_0x259c74(0x415),_0x1019b7[_0x1019b7[_0x259c74(0x223)]=0x6]='ALREADY_EXISTS',_0x1019b7[_0x1019b7[_0x259c74(0x173)]=0x7]=_0x259c74(0x173),_0x1019b7[_0x1019b7[_0x259c74(0x20a)]=0x8]=_0x259c74(0x20a),_0x1019b7[_0x1019b7[_0x259c74(0x20b)]=0x9]=_0x259c74(0x20b),_0x1019b7[_0x1019b7[_0x259c74(0x332)]=0xa]=_0x259c74(0x332),_0x1019b7[_0x1019b7[_0x259c74(0x171)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1019b7[_0x1019b7[_0x259c74(0x359)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1019b7[_0x1019b7[_0x259c74(0x1cf)]=0xd]=_0x259c74(0x1cf),_0x1019b7[_0x1019b7[_0x259c74(0x411)]=0xe]=_0x259c74(0x411),_0x1019b7[_0x1019b7['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x259c74(0x343),_0x1019b7[_0x1019b7[_0x259c74(0x170)]=0x10]=_0x259c74(0x170),_0x1019b7[_0x1019b7[_0x259c74(0x32e)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1019b7[_0x1019b7[_0x259c74(0x2d4)]=0x65]='ERROR_AGAIN',_0x1019b7[_0x1019b7[_0x259c74(0x167)]=0xc9]=_0x259c74(0x167),_0x1019b7[_0x1019b7[_0x259c74(0x2ff)]=0xca]=_0x259c74(0x2ff),_0x1019b7[_0x1019b7[_0x259c74(0x31f)]=0x1389]=_0x259c74(0x31f),_0x1019b7[_0x1019b7[_0x259c74(0x21b)]=0x1771]=_0x259c74(0x21b),_0x1019b7[_0x1019b7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1019b7[_0x1019b7[_0x259c74(0x394)]=0x1773]=_0x259c74(0x394),_0x1019b7[_0x1019b7['APPLY_REJECT']=0x1b59]=_0x259c74(0x432),_0x1019b7[_0x1019b7['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x259c74(0x239),_0x1019b7[_0x1019b7[_0x259c74(0x20c)]=0x1b5b]=_0x259c74(0x20c),_0x1019b7[_0x1019b7[_0x259c74(0x186)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1019b7[_0x1019b7[_0x259c74(0x3f3)]=0x1b5d]=_0x259c74(0x3f3),_0x1019b7[_0x1019b7[_0x259c74(0x169)]=0x1f41]=_0x259c74(0x169),_0x1019b7[_0x1019b7[_0x259c74(0x45c)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1019b7[_0x1019b7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x259c74(0x1a1),_0x1019b7[_0x1019b7[_0x259c74(0x200)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1019b7[_0x1019b7['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1019b7[_0x1019b7[_0x259c74(0x3d7)]=0x232d]=_0x259c74(0x3d7),_0x1019b7[_0x1019b7[_0x259c74(0x1d8)]=0x2711]=_0x259c74(0x1d8),_0x1019b7[_0x1019b7[_0x259c74(0x218)]=0x2712]=_0x259c74(0x218),_0x1019b7[_0x1019b7[_0x259c74(0x446)]=0x2713]=_0x259c74(0x446),_0x1019b7[_0x1019b7[_0x259c74(0x3a2)]=0x2714]=_0x259c74(0x3a2),_0x1019b7[_0x1019b7[_0x259c74(0x391)]=0x271a]=_0x259c74(0x391),_0x1019b7[_0x1019b7[_0x259c74(0x393)]=0x271b]=_0x259c74(0x393),_0x1019b7[_0x1019b7[_0x259c74(0x1c9)]=0x271c]=_0x259c74(0x1c9),_0x1019b7[_0x1019b7[_0x259c74(0x1c5)]=0x271d]=_0x259c74(0x1c5),_0x1019b7[_0x1019b7['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x259c74(0x3e4),_0x1019b7[_0x1019b7['YUUMI_AI_RUN_FAILED']=0x271f]=_0x259c74(0x25e),_0x1019b7[_0x1019b7[_0x259c74(0x1ff)]=0x2720]=_0x259c74(0x1ff),_0x1019b7[_0x1019b7[_0x259c74(0x41d)]=0x2af9]=_0x259c74(0x41d),_0x1019b7[_0x1019b7[_0x259c74(0x467)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1019b7[_0x1019b7['INVALID_INVITE_CODE']=0x2ee2]=_0x259c74(0x1a3),_0x1019b7[_0x1019b7[_0x259c74(0x1c8)]=0x2ee3]=_0x259c74(0x1c8),_0x1019b7[_0x1019b7[_0x259c74(0x40c)]=0x2ee4]=_0x259c74(0x40c),_0x1019b7[_0x1019b7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x259c74(0x259),_0x1019b7[_0x1019b7[_0x259c74(0x216)]=0x32c9]=_0x259c74(0x216),_0x1019b7[_0x1019b7[_0x259c74(0x2cb)]=0x32ca]=_0x259c74(0x2cb),_0x1019b7[_0x1019b7[_0x259c74(0x31d)]=0x32cb]=_0x259c74(0x31d),_0x1019b7[_0x1019b7[_0x259c74(0x215)]=0x36b1]=_0x259c74(0x215),_0x1019b7[_0x1019b7[_0x259c74(0x3cb)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x1019b7[_0x1019b7[_0x259c74(0x3c7)]=0x36b3]=_0x259c74(0x3c7),_0x1019b7[_0x1019b7[_0x259c74(0x19f)]=0x36b4]=_0x259c74(0x19f),_0x1019b7[_0x1019b7['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x259c74(0x463),_0x1019b7[_0x1019b7[_0x259c74(0x2ea)]=0x3716]=_0x259c74(0x2ea),_0x1019b7[_0x1019b7[_0x259c74(0x184)]=0x37dd]=_0x259c74(0x184),_0x1019b7[_0x1019b7[_0x259c74(0x260)]=0x3a99]=_0x259c74(0x260),_0x1019b7[_0x1019b7[_0x259c74(0x290)]=0x3a9a]=_0x259c74(0x290),_0x1019b7[_0x1019b7['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1019b7[_0x1019b7[_0x259c74(0x458)]=0x3a9c]=_0x259c74(0x458),_0x1019b7[_0x1019b7[_0x259c74(0x3df)]=0x3a9d]=_0x259c74(0x3df),_0x1019b7[_0x1019b7[_0x259c74(0x401)]=0x3a9e]=_0x259c74(0x401),_0x1019b7[_0x1019b7['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1019b7[_0x1019b7[_0x259c74(0x2e9)]=-0x1]=_0x259c74(0x2e9),_0x1019b7))(vi||{}),Q=(_0x2e83e7=>(_0x2e83e7[_0x2e83e7[_0x259c74(0x2e8)]=0x0]=_0x259c74(0x2e8),_0x2e83e7[_0x2e83e7[_0x259c74(0x42f)]=0x1]=_0x259c74(0x42f),_0x2e83e7[_0x2e83e7[_0x259c74(0x19d)]=0x2]=_0x259c74(0x19d),_0x2e83e7[_0x2e83e7[_0x259c74(0x439)]=0x3]=_0x259c74(0x439),_0x2e83e7[_0x2e83e7['UNIVER_PROJECT']=0x4]=_0x259c74(0x19a),_0x2e83e7[_0x2e83e7[_0x259c74(0x2e9)]=-0x1]='UNRECOGNIZED',_0x2e83e7))(Q||{}),F=(_0x623d12=>(_0x623d12[_0x623d12[_0x259c74(0x390)]=0x0]=_0x259c74(0x390),_0x623d12[_0x623d12[_0x259c74(0x2fc)]=0x1]='HELLO',_0x623d12[_0x623d12[_0x259c74(0x213)]=0x2]=_0x259c74(0x213),_0x623d12[_0x623d12[_0x259c74(0x262)]=0x3]='LEAVE',_0x623d12[_0x623d12[_0x259c74(0x466)]=0x4]=_0x259c74(0x466),_0x623d12[_0x623d12['HEARTBEAT']=0x5]='HEARTBEAT',_0x623d12[_0x623d12['RECV']=0x6]=_0x259c74(0x1aa),_0x623d12[_0x623d12['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x623d12))(F||{}),pe=(_0x5a39b2=>(_0x5a39b2[_0x5a39b2[_0x259c74(0x25c)]=0x0]=_0x259c74(0x25c),_0x5a39b2[_0x5a39b2['OK']=0x1]='OK',_0x5a39b2[_0x5a39b2[_0x259c74(0x23b)]=0x2]=_0x259c74(0x23b),_0x5a39b2[_0x5a39b2['JOIN_ROOM_FULL']=0x3e9]=_0x259c74(0x1e5),_0x5a39b2[_0x5a39b2[_0x259c74(0x26b)]=0x3ea]=_0x259c74(0x26b),_0x5a39b2[_0x5a39b2['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x259c74(0x172),_0x5a39b2[_0x5a39b2[_0x259c74(0x35b)]=0x3ec]=_0x259c74(0x35b),_0x5a39b2[_0x5a39b2['UNRECOGNIZED']=-0x1]=_0x259c74(0x2e9),_0x5a39b2))(pe||{}),pi=(_0x378d4e=>(_0x378d4e[_0x378d4e[_0x259c74(0x179)]=0x0]=_0x259c74(0x179),_0x378d4e[_0x378d4e[_0x259c74(0x333)]=0x1]=_0x259c74(0x333),_0x378d4e[_0x378d4e[_0x259c74(0x303)]=0x2]='HttpExport',_0x378d4e[_0x378d4e['UnitEmbedded']=0x3]=_0x259c74(0x3c1),_0x378d4e[_0x378d4e[_0x259c74(0x2c1)]=0x4]=_0x259c74(0x2c1),_0x378d4e[_0x378d4e[_0x259c74(0x3ed)]=0x5]=_0x259c74(0x3ed),_0x378d4e[_0x378d4e[_0x259c74(0x39a)]=0x6]='ClipsheetFragments',_0x378d4e[_0x378d4e[_0x259c74(0x2e9)]=-0x1]=_0x259c74(0x2e9),_0x378d4e))(pi||{});const Cs=_0x259c74(0x2b1);function Ns(_0x3e0710){var _0x187b17=_0x259c74;return JSON[_0x187b17(0x2a5)](_0x3e0710)[_0x187b17(0x418)];}var re=(_0x2b3b33=>(_0x2b3b33[_0x259c74(0x2b5)]=_0x259c74(0x2b5),_0x2b3b33[_0x259c74(0x1ee)]=_0x259c74(0x1ee),_0x2b3b33['CONFLICT']=_0x259c74(0x2bc),_0x2b3b33['CLOSE_ROOM']=_0x259c74(0x232),_0x2b3b33['JOIN_ROOM_FAILED']=_0x259c74(0x16a),_0x2b3b33['SOCKET_FAILED_RETRY']=_0x259c74(0x435),_0x2b3b33[_0x259c74(0x192)]=_0x259c74(0x192),_0x2b3b33[_0x259c74(0x2a0)]=_0x259c74(0x2a0),_0x2b3b33))(re||{});class ve{constructor(){var _0x4739c7=_0x259c74;D(this,'_event$',new _0x4fab98()),D(this,'event$',this[_0x4739c7(0x3aa)][_0x4739c7(0x37d)]());}['emitEvent'](_0x4eb360){var _0x3266c4=_0x259c74;this[_0x3266c4(0x3aa)][_0x3266c4(0x210)](_0x4eb360);}}class Ei{constructor(){var _0x1917a6=_0x259c74;D(this,_0x1917a6(0x261),new _0x4fab98()),D(this,'commentUpdate$',this[_0x1917a6(0x261)][_0x1917a6(0x37d)]());}[_0x259c74(0x315)](_0x446122){var _0x229f7e=_0x259c74;this[_0x229f7e(0x261)]['next'](_0x446122);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x32140d,_0x9afe8a,_0x3833f4,_0x3a3d40)=>{var _0x4d3f97=_0x259c74;for(var _0x367dc7=_0x3a3d40>0x1?void 0x0:_0x3a3d40?bs(_0x9afe8a,_0x3833f4):_0x9afe8a,_0x94ad1=_0x32140d[_0x4d3f97(0x418)]-0x1,_0x14249c;_0x94ad1>=0x0;_0x94ad1--)(_0x14249c=_0x32140d[_0x94ad1])&&(_0x367dc7=_0x14249c(_0x367dc7)||_0x367dc7);return _0x367dc7;},Ft=(_0x352500,_0x81e6f3)=>(_0x14240b,_0x3e1ec8)=>_0x81e6f3(_0x14240b,_0x3e1ec8,_0x352500);let Pe=class extends _0x24b22e{constructor(_0x333aa3,_0x4ad5c){var _0x37025b=_0x259c74;super(),D(this,_0x37025b(0x465),new Map()),D(this,_0x37025b(0x2f5),new _0x4fab98()),(this['_univerInstanceService']=_0x333aa3,this[_0x37025b(0x39e)]=_0x4ad5c,this['disposeWithMe'](_0x3142f5(this[_0x37025b(0x284)]['getTypeOfUnitDisposed$'](_0x33434f[_0x37025b(0x19d)])[_0x37025b(0x28f)](_0x56a673(_0x3ec0ea=>_0x3ec0ea[_0x37025b(0x395)]())),this[_0x37025b(0x284)][_0x37025b(0x26d)](_0x33434f[_0x37025b(0x42f)])[_0x37025b(0x28f)](_0x56a673(_0x1cf6fb=>_0x1cf6fb['getUnitId']())),this[_0x37025b(0x284)][_0x37025b(0x26d)](_0x33434f[_0x37025b(0x439)])[_0x37025b(0x28f)](_0x56a673(_0x3334c2=>_0x3334c2['getUnitId']())))[_0x37025b(0x322)](_0x342cf6=>this['_removeRoom'](_0x342cf6))));}[_0x259c74(0x1c7)](_0x3a245c){var _0x321177=_0x259c74;return this[_0x321177(0x465)][_0x321177(0x2dc)](_0x3a245c)?_0x57b435(this[_0x321177(0x465)][_0x321177(0x30f)](_0x3a245c)):this[_0x321177(0x2f5)][_0x321177(0x28f)](_0x56a673(_0x22f25f=>{var _0x301bdb=_0x321177;if(_0x22f25f===_0x3a245c)return this[_0x301bdb(0x465)][_0x301bdb(0x30f)](_0x22f25f);}));}['setCurrentUser'](_0x33fe52){var _0x45cc55=_0x259c74;this[_0x45cc55(0x39e)]['setCurrentUser'](_0x33fe52);}[_0x259c74(0x30d)](){var _0x436bdb=_0x259c74;return this[_0x436bdb(0x39e)][_0x436bdb(0x30d)]();}[_0x259c74(0x43b)](_0x33cf2a,_0x468086){var _0xffde5f=_0x259c74;let _0xe03ca7=this[_0xffde5f(0x465)][_0xffde5f(0x30f)](_0x33cf2a);_0xe03ca7||(_0xe03ca7=new ys(),this[_0xffde5f(0x465)][_0xffde5f(0x351)](_0x33cf2a,_0xe03ca7),this['_roomCreated$'][_0xffde5f(0x210)](_0x33cf2a)),_0xe03ca7['updateMember'](_0x468086);}[_0x259c74(0x25a)](_0x343506,_0x383d6c){var _0x40205b=_0x259c74;const _0x3696ac=this[_0x40205b(0x465)][_0x40205b(0x30f)](_0x343506);_0x3696ac&&_0x3696ac['removeMember'](_0x383d6c);}['getRoom'](_0x5b8c1a){var _0x4fbdd0=_0x259c74;return this[_0x4fbdd0(0x465)]['get'](_0x5b8c1a);}[_0x259c74(0x1be)](_0x1fb54e,_0x480f68){var _0xd1ab70=_0x259c74;const _0x3a03ea=this['_roomMembers'][_0xd1ab70(0x30f)](_0x1fb54e);if(_0x3a03ea)return _0x3a03ea[_0xd1ab70(0x1be)](_0x480f68);}[_0x259c74(0x37f)](_0x5981e1){var _0x3fa4bb=_0x259c74;const _0x415155=this[_0x3fa4bb(0x465)][_0x3fa4bb(0x30f)](_0x5981e1);_0x415155&&(_0x415155['dispose'](),this[_0x3fa4bb(0x465)][_0x3fa4bb(0x1de)](_0x5981e1));}[_0x259c74(0x34b)](){var _0x5c1118=_0x259c74;this['_roomMembers']['forEach'](_0x27fd99=>_0x27fd99[_0x5c1118(0x34b)]()),this['_roomMembers']['clear'](),this[_0x5c1118(0x2f5)][_0x5c1118(0x2fb)]();}};Pe=Ds([Ft(0x0,_0x2979fe),Ft(0x1,_0x479712(_0x5868d7))],Pe);class ys extends _0x24b22e{constructor(){var _0x2cdb67=_0x259c74;super(...arguments),D(this,'_members',new Map()),D(this,_0x2cdb67(0x281),new _0x5ac99c(this['_members'])),D(this,_0x2cdb67(0x2ad),this[_0x2cdb67(0x281)][_0x2cdb67(0x37d)]());}[_0x259c74(0x34b)](){var _0x406e3b=_0x259c74;this[_0x406e3b(0x1f7)][_0x406e3b(0x189)]();}[_0x259c74(0x43b)](_0x3e0d45){var _0x58347f=_0x259c74;this[_0x58347f(0x1f7)]['set'](_0x3e0d45[_0x58347f(0x39f)],_0x3e0d45),this[_0x58347f(0x2da)]();}['removeMember'](_0x3c8d7f){var _0x25a921=_0x259c74;this[_0x25a921(0x1f7)][_0x25a921(0x1de)](_0x3c8d7f);}[_0x259c74(0x1be)](_0x5b1c31){var _0x5d3c2c=_0x259c74;return this[_0x5d3c2c(0x1f7)][_0x5d3c2c(0x30f)](_0x5b1c31);}[_0x259c74(0x1df)](){var _0x3ddc38=_0x259c74;return Array['from'](this[_0x3ddc38(0x1f7)][_0x3ddc38(0x2a1)]());}[_0x259c74(0x2da)](){var _0x37da7a=_0x259c74;this[_0x37da7a(0x281)][_0x37da7a(0x210)](this[_0x37da7a(0x1f7)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x2b1852,_0xa5e846,_0x3a00d3,_0x105b1b)=>{var _0x152922=_0x259c74;for(var _0x49b91f=_0x105b1b>0x1?void 0x0:_0x105b1b?Us(_0xa5e846,_0x3a00d3):_0xa5e846,_0x4cf762=_0x2b1852[_0x152922(0x418)]-0x1,_0x367be3;_0x4cf762>=0x0;_0x4cf762--)(_0x367be3=_0x2b1852[_0x4cf762])&&(_0x49b91f=_0x367be3(_0x49b91f)||_0x49b91f);return _0x49b91f;},Oe=(_0x2966fd,_0x142fbb)=>(_0x16c45f,_0x2e994b)=>_0x142fbb(_0x16c45f,_0x2e994b,_0x2966fd),me=(_0x4a12f2=>(_0x4a12f2[_0x4a12f2[_0x259c74(0x294)]=0x0]=_0x259c74(0x294),_0x4a12f2[_0x4a12f2[_0x259c74(0x28a)]=0x1]=_0x259c74(0x28a),_0x4a12f2[_0x4a12f2[_0x259c74(0x1a5)]=0x2]=_0x259c74(0x1a5),_0x4a12f2[_0x4a12f2[_0x259c74(0x3ee)]=0x3]=_0x259c74(0x3ee),_0x4a12f2))(me||{});const Vt={[pe[_0x259c74(0x23b)]]:_0x259c74(0x36b),[pe['JOIN_ROOM_FULL']]:_0x259c74(0x1b4),[pe['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[pe[_0x259c74(0x172)]]:_0x259c74(0x3b1),[pe[_0x259c74(0x35b)]]:'session.room-cnt-exceeds'};let mt=class extends _0x271f03{constructor(_0xb2e62a,_0x22fb76,_0x1c50b3,_0x5258e7,_0x4c6b32,_0x13cbea,_0x4926ef,_0x5cec6d){var _0x4070ef=_0x259c74;super(),D(this,_0x4070ef(0x3a1),new _0x5ac99c(0x0)),D(this,_0x4070ef(0x25d),this[_0x4070ef(0x3a1)][_0x4070ef(0x37d)]()),D(this,_0x4070ef(0x3aa),new _0x4fab98()),D(this,_0x4070ef(0x219),this[_0x4070ef(0x3aa)][_0x4070ef(0x37d)]()),D(this,'_socket'),D(this,_0x4070ef(0x1ac)),D(this,'_collaborationTimeoutTimer'),D(this,_0x4070ef(0x243),!0x1),D(this,_0x4070ef(0x3ba),null),(this[_0x4070ef(0x3bb)]=_0xb2e62a,this[_0x4070ef(0x29c)]=_0x1c50b3,this[_0x4070ef(0x2ec)]=_0x5258e7,this['_memberService']=_0x4c6b32,this[_0x4070ef(0x362)]=_0x13cbea,this[_0x4070ef(0x3ca)]=_0x4926ef,this[_0x4070ef(0x254)]=_0x5cec6d,this[_0x4070ef(0x243)]=!!this[_0x4070ef(0x254)],_0x22fb76[_0x4070ef(0x28f)](_0x333488(this[_0x4070ef(0x22b)]))[_0x4070ef(0x322)](_0x332426=>{var _0x536c68=_0x4070ef,_0x3ed61c;typeof _0x332426>'u'||(this[_0x536c68(0x2fd)]=_0x332426,_0x332426?(this['_joinRoom'](_0x332426),this['_socketMessageSubscription']=_0x332426['message$']['subscribe'](_0x2774b9=>{var _0x19388c=_0x536c68;_0x2774b9[_0x19388c(0x3d6)]===this['_unitID']&&this[_0x19388c(0x1c2)](_0x2774b9);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x536c68(0x3a1)][_0x536c68(0x210)](0x2),(_0x3ed61c=this[_0x536c68(0x1ac)])==null||_0x3ed61c['unsubscribe'](),this[_0x536c68(0x1ac)]=null));}));}get[_0x259c74(0x1d9)](){var _0x51e56a=_0x259c74;return this[_0x51e56a(0x3a1)][_0x51e56a(0x38d)]();}[_0x259c74(0x3a4)](){var _0x10db03=_0x259c74,_0x370247,_0x42e48c;return(_0x42e48c=(_0x370247=this[_0x10db03(0x2fd)])==null?void 0x0:_0x370247[_0x10db03(0x39f)])!=null?_0x42e48c:null;}['dispose'](){var _0x21af0d=_0x259c74;super['dispose'](),this['dispose$'][_0x21af0d(0x210)](),this['dispose$']['complete']();}[_0x259c74(0x301)](){var _0x576f01=_0x259c74,_0x2fb536,_0x4371a5;this['_throwTelemetryCollaborationNewChangeset'](),(_0x2fb536=this[_0x576f01(0x2fd)])==null||_0x2fb536[_0x576f01(0x240)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x576f01(0x3bb)]}}),(_0x4371a5=this[_0x576f01(0x2fd)])==null||_0x4371a5[_0x576f01(0x301)](),this[_0x576f01(0x3aa)][_0x576f01(0x2fb)](),this[_0x576f01(0x3a1)][_0x576f01(0x2fb)](),this['dispose']();}[_0x259c74(0x1c2)](_0x3585b5){var _0x56ac37=_0x259c74;_0x3585b5['cmd']===F['JOIN']?this[_0x56ac37(0x29e)](_0x3585b5):_0x3585b5[_0x56ac37(0x1fc)]===F[_0x56ac37(0x1aa)]&&this[_0x56ac37(0x3b5)](_0x3585b5);}[_0x259c74(0x165)](_0x28a57d){var _0x48cdff=_0x259c74;this[_0x48cdff(0x3a1)][_0x48cdff(0x210)](0x1),_0x28a57d[_0x48cdff(0x240)]({'cmd':F[_0x48cdff(0x213)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x48cdff(0x3bb)]}]}});}['_onJoinRoomEvent'](_0x3c3e77){var _0x2aaf1a=_0x259c74,_0x53526f;if(_0x3c3e77['code']in Vt){this[_0x2aaf1a(0x3ca)][_0x2aaf1a(0x29b)]({'id':re[_0x2aaf1a(0x16a)],'data':Vt[_0x3c3e77[_0x2aaf1a(0x224)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x2aaf1a(0x3a1)][_0x2aaf1a(0x210)](0x3);const _0x3c7dc0=(_0x53526f=_0x3c3e77[_0x2aaf1a(0x3e2)][_0x2aaf1a(0x309)][this[_0x2aaf1a(0x3bb)]])==null?void 0x0:_0x53526f[_0x2aaf1a(0x241)];_0x3c7dc0&&_0x3c7dc0['forEach'](_0x44a0be=>this[_0x2aaf1a(0x225)][_0x2aaf1a(0x43b)](this[_0x2aaf1a(0x3bb)],_0x44a0be));}[_0x259c74(0x3b5)](_0x1210f6){var _0x2f160d=_0x259c74;try{const _0x4edd0f=_0x1210f6[_0x2f160d(0x3e2)];switch(_0x4edd0f[_0x2f160d(0x168)]){case _0x6aadf0['USERS_ENTER']:this[_0x2f160d(0x336)](_0x4edd0f),this[_0x2f160d(0x3aa)][_0x2f160d(0x210)](_0x4edd0f);break;case _0x6aadf0[_0x2f160d(0x3c6)]:this[_0x2f160d(0x1c0)](_0x4edd0f),this[_0x2f160d(0x3aa)]['next'](_0x4edd0f);break;case _0x6aadf0[_0x2f160d(0x31e)]:case _0x6aadf0[_0x2f160d(0x44e)]:this[_0x2f160d(0x321)](),this[_0x2f160d(0x265)](),this['_event$'][_0x2f160d(0x210)](_0x4edd0f);break;case _0x6aadf0[_0x2f160d(0x299)]:this[_0x2f160d(0x29c)][_0x2f160d(0x331)](_0x2f160d(0x312)+JSON[_0x2f160d(0x2a5)](_0x4edd0f)),this['_event$'][_0x2f160d(0x210)](_0x4edd0f);break;case _0x6aadf0[_0x2f160d(0x282)]:this[_0x2f160d(0x362)][_0x2f160d(0x315)](_0x4edd0f[_0x2f160d(0x3e2)]),this[_0x2f160d(0x3aa)][_0x2f160d(0x210)](_0x4edd0f);break;default:this[_0x2f160d(0x3aa)][_0x2f160d(0x210)](_0x4edd0f);}}catch(_0x22346c){this[_0x2f160d(0x29c)][_0x2f160d(0x331)](_0x22346c,_0x1210f6);}}['_onUserJoin'](_0x5f24f0){var _0x1046c9=_0x259c74;this[_0x1046c9(0x225)][_0x1046c9(0x43b)](this['_unitID'],_0x5f24f0['data']);}[_0x259c74(0x1c0)](_0xdc99d){var _0x12c3bd=_0x259c74;this[_0x12c3bd(0x225)][_0x12c3bd(0x25a)](this['_unitID'],_0xdc99d[_0x12c3bd(0x3e2)][_0x12c3bd(0x39f)]);}async[_0x259c74(0x240)](_0x2961bc,_0x2757e5){var _0x33544b=_0x259c74;if(this['sessionStatus']!==0x3||!this[_0x33544b(0x2fd)])throw new Error(_0x33544b(0x183));try{_0x2961bc['eventID']===_0x6aadf0['SUBMIT_CHANGESET']&&(this[_0x33544b(0x230)](),this[_0x33544b(0x16b)](_0x2961bc)),this['_socket'][_0x33544b(0x240)]({'cmd':F[_0x33544b(0x466)],'routeKey':_0x2757e5,'routeType':'','data':_0x2961bc});}catch(_0x211ceb){this['_logService'][_0x33544b(0x331)](_0x211ceb);}}[_0x259c74(0x230)](){var _0x8411bd=_0x259c74,_0x499390;this[_0x8411bd(0x42a)]=setTimeout(()=>{var _0x5214db=_0x8411bd;this[_0x5214db(0x42a)]=null,this[_0x5214db(0x3ca)][_0x5214db(0x29b)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x499390=this[_0x8411bd(0x2ec)][_0x8411bd(0x23c)](di))!=null?_0x499390:fi);}['_clearCollaborationTimeoutTimer'](){var _0x53d54a=_0x259c74;this[_0x53d54a(0x42a)]&&(clearTimeout(this[_0x53d54a(0x42a)]),this[_0x53d54a(0x42a)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x50d62e){var _0x48f762=_0x259c74;if(!this[_0x48f762(0x243)])return;const {data:_0x3130ad}=_0x50d62e,{unitID:_0x5157cb,changeset:_0x1645d0}=_0x3130ad,{mutations:_0x36329b,type:_0x1cf28d}=_0x1645d0;this[_0x48f762(0x3ba)]={'unitId':_0x5157cb,'type':_0x1cf28d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x36329b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x3bc162=_0x259c74;if(this[_0x3bc162(0x243)]){if(!this['_telemetryInfo']){this[_0x3bc162(0x29c)][_0x3bc162(0x331)](_0x3bc162(0x373),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3bc162(0x3ba)][_0x3bc162(0x193)]=performance[_0x3bc162(0x43d)](),this[_0x3bc162(0x3ba)]['duration']=this[_0x3bc162(0x3ba)]['stopTime']-this[_0x3bc162(0x3ba)]['startTime'],this[_0x3bc162(0x254)][_0x3bc162(0x46d)](Cs,this[_0x3bc162(0x3ba)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x597a05),Oe(0x3,_0x5dd738),Oe(0x4,_0x479712(Pe)),Oe(0x5,_0x479712(Ei)),Oe(0x6,_0x479712(ve)),Oe(0x7,_0xdd8f64(_0x462d97))],mt);const J=_0x350255('collaboration-client.local-cache-service');function Nr(_0x402106){var _0x3d7f8b=_0x259c74;return _0x3d7f8b(0x2e2)+_0x402106;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x18281e,_0x17e8d5,_0x2d85f8,_0x2bb3cb)=>{var _0x457b70=_0x259c74;for(var _0x577075=_0x2bb3cb>0x1?void 0x0:_0x2bb3cb?Ps(_0x17e8d5,_0x2d85f8):_0x17e8d5,_0x1c59ab=_0x18281e[_0x457b70(0x418)]-0x1,_0x3d783c;_0x1c59ab>=0x0;_0x1c59ab--)(_0x3d783c=_0x18281e[_0x1c59ab])&&(_0x577075=_0x3d783c(_0x577075)||_0x577075);return _0x577075;},ut=(_0x5799dc,_0x105fa6)=>(_0x55f915,_0x14aa67)=>_0x105fa6(_0x55f915,_0x14aa67,_0x5799dc);function Ms(_0x3d79f2){var _0x504f72=_0x259c74;const {unitID:_0x122785,mutations:_0x2666b1}=_0x3d79f2;return{'unitId':_0x122785,'subUnitId':_0x2666b1[0x0]['params'][_0x504f72(0x455)]};}let it=class{constructor(_0x42ec8d,_0x452517,_0x122801){var _0x11e309=_0x259c74;this[_0x11e309(0x450)]=_0x42ec8d,this['_transformService']=_0x452517,this[_0x11e309(0x196)]=_0x122801;}['transformSelections'](_0x16dcff){var _0x1998ef=_0x259c74,_0x3fceef,_0xc67fe4,_0x212961,_0x1a9f95;const _0x34b8f3=this[_0x1998ef(0x450)][_0x1998ef(0x30f)](_0x5b8311),{unitId:_0x4aab06,subUnitId:_0x440993}=Ms(_0x16dcff),_0x4e9510=_0x34b8f3==null?void 0x0:_0x34b8f3[_0x1998ef(0x441)](_0x4aab06)[_0x1998ef(0x1e4)](),_0x459b40=(_0xc67fe4=(_0x3fceef=this[_0x1998ef(0x196)][_0x1998ef(0x27f)](_0x4aab06))==null?void 0x0:_0x3fceef[_0x1998ef(0x2d6)]())==null?void 0x0:_0xc67fe4[_0x1998ef(0x238)]();if(_0x4e9510[_0x1998ef(0x418)]===0x0||!_0x4aab06||!_0x440993)return;const _0x1dfe91=[{'id':_0x2a6888['id'],'params':{'unitId':_0x4aab06,'subUnitId':_0x459b40,'selections':_0x474031['deepClone'](_0x4e9510)}}],_0x1dcacb=this['_transformService'][_0x1998ef(0x195)](_0x16dcff,_0x1dfe91);if(!_0x10db53(_0x1dcacb))throw _0x1dcacb[_0x1998ef(0x331)];const _0x3c6857=(_0x1a9f95=(_0x212961=_0x1dcacb['m2Prime'][0x0])==null?void 0x0:_0x212961['params'])==null?void 0x0:_0x1a9f95['selections'];if(Array[_0x1998ef(0x245)](_0x3c6857)&&_0x3c6857['length']){if(_0x3c6857[_0x1998ef(0x418)]===_0x1dfe91[0x0][_0x1998ef(0x473)][_0x1998ef(0x40b)]['length']&&_0x3c6857[_0x1998ef(0x1e2)]((_0x3ef9f0,_0x267868)=>_0x3db7f4['equals'](_0x3ef9f0[_0x1998ef(0x44c)],_0x1dfe91[0x0]['params']['selections'][_0x267868]['range'])))return;this[_0x1998ef(0x450)]['get'](_0x50be79)[_0x1998ef(0x407)](_0x2a6888['id'],{'unitId':_0x4aab06,'subUnitId':_0x459b40,'selections':_0x3c6857});}}};it=ws([ut(0x0,_0x479712(_0x27a1da)),ut(0x1,_0x363f26),ut(0x2,_0x2979fe)],it);const _t=_0x350255('univer-pro.collaboration-client.single-active-unit-service');var mi=(_0x4e67ba=>(_0x4e67ba[_0x4e67ba[_0x259c74(0x1db)]=0x0]=_0x259c74(0x1db),_0x4e67ba[_0x4e67ba[_0x259c74(0x23a)]=0x1]=_0x259c74(0x23a),_0x4e67ba))(mi||{});const K='collaboration-client.config',Ls={},xs=new Set([_0xb3b1df['id']]);function Gt(_0x169664,_0x1ff4f2,_0x39e803,_0x1ca56c,_0x522a4c){var _0xa6abff=_0x259c74,_0x1ec85e,_0x3a8eed,_0x23f95a,_0x4f4064;const _0x33cea0=[];for(const _0x1b8142 of _0x169664)if(xs[_0xa6abff(0x2dc)](_0x1b8142['id'])){if(_0x33cea0[_0xa6abff(0x418)]>0x0)break;_0x33cea0['push'](_0x1b8142);break;}else _0x33cea0['push'](_0x1b8142);const _0x304b08=(_0x3a8eed=(_0x1ec85e=_0x522a4c[_0xa6abff(0x30d)]())==null?void 0x0:_0x1ec85e[_0xa6abff(0x197)])!=null?_0x3a8eed:_0xa6abff(0x307),_0x38809c=(_0x4f4064=(_0x23f95a=_0x522a4c[_0xa6abff(0x30d)]())==null?void 0x0:_0x23f95a['memberID'])!=null?_0x4f4064:'unknown';return{'changeset':{'unitID':_0x1ff4f2,'type':_0x488e36(_0x39e803[_0xa6abff(0x2f8)](_0x1ff4f2)),'baseRev':_0x1ca56c['getCurrentRevOfUnit'](_0x1ff4f2),'revision':0x0,'userID':_0x304b08,'memberID':_0x38809c,'mutations':_0x33cea0},'pendingMutations':_0x169664[_0xa6abff(0x17d)](_0x33cea0['length'])};}function ks(_0x3a8b6d,_0x335a59,_0x426756,_0x20bdaa,_0x22f711){var _0x5ae6f3=_0x259c74,_0x5b1caf,_0x3cf376,_0x2d5137,_0x241f46;const _0x105c5b=[_0x3a8b6d[_0x5ae6f3(0x2d8)]((_0x21e433,_0x540b50)=>{var _0x294224=_0x5ae6f3,_0xc384;const {id:_0x2ec7f2}=_0x21e433,{id:_0xb8d990,type:_0x88ac49}=_0x540b50,_0x408869=(_0xc384=_0x21e433['params'])!=null?_0xc384:{'actions':null},_0x582eec=_0x540b50[_0x294224(0x473)];if(_0x2ec7f2&&_0x2ec7f2!==_0xb8d990)throw new Error(_0x294224(0x297)+_0x2ec7f2+_0x294224(0x16e)+_0xb8d990+'.');return{..._0x21e433,'id':_0xb8d990,'type':_0x88ac49,'params':{'unitId':_0x582eec['unitId'],'textRanges':_0x582eec[_0x294224(0x190)],'actions':_0x242971['compose'](_0x408869[_0x294224(0x1ab)],_0x582eec[_0x294224(0x1ab)])}};},{})],_0x3f2f63=(_0x3cf376=(_0x5b1caf=_0x22f711['getCurrentUser']())==null?void 0x0:_0x5b1caf[_0x5ae6f3(0x197)])!=null?_0x3cf376:_0x5ae6f3(0x307),_0x373547=(_0x241f46=(_0x2d5137=_0x22f711[_0x5ae6f3(0x30d)]())==null?void 0x0:_0x2d5137[_0x5ae6f3(0x39f)])!=null?_0x241f46:_0x5ae6f3(0x307);return{'changeset':{'unitID':_0x335a59,'type':_0x488e36(_0x426756['getUnitType'](_0x335a59)),'baseRev':_0x20bdaa[_0x5ae6f3(0x423)](_0x335a59),'revision':0x0,'userID':_0x3f2f63,'memberID':_0x373547,'mutations':_0x105c5b},'pendingMutations':[]};}function Ii(_0x5ba166,_0x57c089){var _0x83815a=_0x259c74;const _0x80da9c=new _0x4ad544(0x1);return setTimeout(()=>_0x80da9c['next'](_0x57c089),_0x5ba166),_0x80da9c[_0x83815a(0x37d)]()[_0x83815a(0x28f)](_0x4aae1e(0x1));}const $s={'id':_0x423c29['id'],'type':_0xf41ef6[_0x259c74(0x314)],'params':{}};var Hs=Object[_0x259c74(0x268)],Se=(_0x3a6d2b,_0x41eac9,_0x566848,_0x1b547e)=>{for(var _0x56b634=_0x1b547e>0x1?void 0x0:_0x1b547e?Hs(_0x41eac9,_0x566848):_0x41eac9,_0x14dd39=_0x3a6d2b['length']-0x1,_0x330f2a;_0x14dd39>=0x0;_0x14dd39--)(_0x330f2a=_0x3a6d2b[_0x14dd39])&&(_0x56b634=_0x330f2a(_0x56b634)||_0x56b634);return _0x56b634;},w=(_0x50e976,_0x59d916)=>(_0x305757,_0x4f505a)=>_0x59d916(_0x305757,_0x4f505a,_0x50e976),Si=(_0x5221cd=>(_0x5221cd[_0x259c74(0x378)]=_0x259c74(0x424),_0x5221cd['SYNCED']=_0x259c74(0x2c2),_0x5221cd[_0x259c74(0x3b6)]=_0x259c74(0x247),_0x5221cd[_0x259c74(0x275)]=_0x259c74(0x431),_0x5221cd['AWAITING_WITH_PENDING']=_0x259c74(0x341),_0x5221cd[_0x259c74(0x368)]=_0x259c74(0x1fd),_0x5221cd[_0x259c74(0x2bc)]=_0x259c74(0x17c),_0x5221cd['OFFLINE']='offline',_0x5221cd))(Si||{});const gi=0xea60;class ge{constructor(_0x1c83a2,_0x5a4f5b,_0x393019,_0x4b70de,_0x25d0f9,_0x1df0a0,_0x371321,_0x5dd862,_0x6208fa){var _0x1871e7=_0x259c74;D(this,'_awaitingChangeset',null),D(this,_0x1871e7(0x1a7),[]),(this[_0x1871e7(0x320)]=_0x1c83a2,this['type']=_0x5a4f5b,this['_handler']=_0x25d0f9,this[_0x1871e7(0x40f)]=_0x1df0a0,this[_0x1871e7(0x40d)]=_0x371321,this['_revisionService']=_0x5dd862,this[_0x1871e7(0x2fa)]=_0x6208fa,this[_0x1871e7(0x3a0)]=_0x393019,this[_0x1871e7(0x1a7)]=_0x4b70de);}['_checkMissing'](_0xaba13a){var _0x2aae36=_0x259c74;const _0x12f97d=this[_0x2aae36(0x1b8)][_0x2aae36(0x423)](this[_0x2aae36(0x320)]);return _0xaba13a[_0x2aae36(0x28e)]>_0x12f97d+0x1?(this[_0x2aae36(0x44b)][_0x2aae36(0x242)]({'from':_0x12f97d,'to':_0xaba13a[_0x2aae36(0x28e)]-0x1}),!0x0):!0x1;}[_0x259c74(0x263)](_0x470a19){var _0x1af310=_0x259c74;this['_undoRedoService'][_0x1af310(0x264)](this[_0x1af310(0x320)],_0x470a19);}['_transformSelections'](_0x2952f0){var _0x39a731=_0x259c74,_0x5725c2,_0x1cac06;(_0x1cac06=(_0x5725c2=this[_0x39a731(0x44b)])[_0x39a731(0x3d2)])==null||_0x1cac06[_0x39a731(0x206)](_0x5725c2,_0x2952f0);}[_0x259c74(0x257)](_0x245911){var _0x1793ed=_0x259c74,_0x382f94,_0x465d11;return(_0x465d11=(_0x382f94=this[_0x1793ed(0x44b)])[_0x1793ed(0x3e3)])==null?void 0x0:_0x465d11[_0x1793ed(0x206)](_0x382f94,_0x245911);}[_0x259c74(0x38e)](_0x3da6ab){var _0x40afd6=_0x259c74,_0x52056d,_0x1719f2;return(_0x1719f2=(_0x52056d=this[_0x40afd6(0x44b)])[_0x40afd6(0x41b)])==null?void 0x0:_0x1719f2[_0x40afd6(0x206)](_0x52056d,_0x3da6ab);}['_transformRemoteChangesetByIMECache'](_0x135966){var _0xdff376=_0x259c74,_0x496b2a,_0x396dd8,_0x423e6d;return(_0x423e6d=(_0x396dd8=(_0x496b2a=this[_0xdff376(0x44b)])[_0xdff376(0x3dd)])==null?void 0x0:_0x396dd8[_0xdff376(0x206)](_0x496b2a,_0x135966))!=null?_0x423e6d:_0x135966;}[_0x259c74(0x3f5)](_0x1fbcab){var _0x5b28fb=_0x259c74,_0x4379f4,_0x4a766a,_0x2d5afb;return(_0x2d5afb=(_0x4a766a=(_0x4379f4=this[_0x5b28fb(0x44b)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4a766a[_0x5b28fb(0x206)](_0x4379f4,_0x1fbcab))!=null?_0x2d5afb:_0x1fbcab;}[_0x259c74(0x198)](_0x4a603d){var _0x2c01bd=_0x259c74,_0x49522e,_0x2574ea;if(this['type']===Q[_0x2c01bd(0x42f)]){const {unitID:_0x34aaef,mutations:_0x445103,memberID:_0x2f630c}=_0x4a603d,_0x4c2d33=_0x445103[0x0][_0x2c01bd(0x473)][_0x2c01bd(0x190)];Array[_0x2c01bd(0x245)](_0x4c2d33)&&_0x4c2d33[_0x2c01bd(0x418)]>0x0&&((_0x2574ea=(_0x49522e=this[_0x2c01bd(0x44b)])[_0x2c01bd(0x34d)])==null||_0x2574ea['call'](_0x49522e,{'unitID':_0x34aaef,'memberID':_0x2f630c,'textRanges':_0x4c2d33}));}}[_0x259c74(0x2ac)](){var _0xd63ea2=_0x259c74,_0x3dbe73;(_0x3dbe73=this['_localCacheService'])==null||_0x3dbe73[_0xd63ea2(0x33e)](this['unitID'],this['type'],this[_0xd63ea2(0x3a0)],this[_0xd63ea2(0x1a7)]);}['_getCurrentRevision'](){var _0x20f681=_0x259c74;return this[_0x20f681(0x1b8)][_0x20f681(0x423)](this[_0x20f681(0x320)]);}[_0x259c74(0x2b0)](){var _0x35e6b0=_0x259c74;this[_0x35e6b0(0x1b8)][_0x35e6b0(0x1ef)](this['unitID']);}[_0x259c74(0x236)](_0x4eda1b){var _0x252d43=_0x259c74,_0x40f236;let _0x698dbe=this['_transformRemoteChangesetByIMECache'](_0x4eda1b);_0x698dbe=this[_0x252d43(0x3f5)](_0x698dbe);const _0x5964ae=_0x3d150d(_0x698dbe[_0x252d43(0x3cc)],this[_0x252d43(0x40f)],{'fromCollab':!0x0});if(!_0x5964ae[_0x252d43(0x27d)])throw _0x5964ae[_0x252d43(0x331)]instanceof Error?_0x5964ae[_0x252d43(0x331)]:new Error((_0x40f236=_0x5964ae[_0x252d43(0x331)])!=null?_0x40f236:_0x252d43(0x356));this[_0x252d43(0x257)](_0x698dbe),this[_0x252d43(0x38e)](_0x698dbe),this[_0x252d43(0x263)](_0x4eda1b),this['_transformSelections'](_0x698dbe),this[_0x252d43(0x198)](_0x698dbe),this[_0x252d43(0x2b0)]();}}let be=class extends ge{constructor(_0x22fbe1,_0x6043cf,_0x494dcc,_0x333cc5,_0xe7505d,_0x117753,_0x241553,_0x9d38e,_0x17a10c,_0x563270){var _0x624e06=_0x259c74;super(_0x22fbe1,_0x6043cf,null,[],_0x494dcc,_0x241553,_0x117753,_0x333cc5,_0x563270),D(this,'status',_0x624e06(0x2c2)),(this[_0x624e06(0x450)]=_0xe7505d,this[_0x624e06(0x29c)]=_0x9d38e,this[_0x624e06(0x1d1)]=_0x17a10c,this[_0x624e06(0x1d4)]=_0x563270);}[_0x259c74(0x1f1)](_0x18cfd9){var _0x5976fd=_0x259c74;const _0x4f1bda=this['_injector'][_0x5976fd(0x45f)](ae,this['unitID'],this[_0x5976fd(0x403)],[_0x18cfd9],this[_0x5976fd(0x44b)]);return _0x4f1bda[_0x5976fd(0x2f2)](),_0x4f1bda[_0x5976fd(0x2ac)](),_0x4f1bda;}[_0x259c74(0x34f)](_0x260136){var _0x39970d=_0x259c74;if(this['_checkMissing'](_0x260136))return this[_0x39970d(0x450)][_0x39970d(0x45f)](ee,this[_0x39970d(0x320)],this[_0x39970d(0x403)],null,[],null,[_0x260136],this['_handler']);try{const _0x41729e=this[_0x39970d(0x1d1)][_0x39970d(0x195)](_0x260136,[$s]);if(_0x10db53(_0x41729e)){const {c1Prime:_0x5e3636}=_0x41729e;return this[_0x39970d(0x236)](_0x5e3636),this;}throw _0x41729e[_0x39970d(0x331)];}catch(_0x56beae){return this['_logService'][_0x39970d(0x331)](_0x56beae),this['_onConflict'](!0x1);}}['_onConflict'](_0x4acf8b){var _0x4cdfa7=_0x259c74;return this[_0x4cdfa7(0x450)][_0x4cdfa7(0x45f)](ue,this[_0x4cdfa7(0x320)],this[_0x4cdfa7(0x403)],null,[],this[_0x4cdfa7(0x44b)],_0x4acf8b);}[_0x259c74(0x1f2)](){var _0x509a57=_0x259c74;throw new Error(_0x509a57(0x3f6));}[_0x259c74(0x460)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x259c74(0x324)](){return this;}[_0x259c74(0x440)](){var _0xd8aaaf=_0x259c74;return this[_0xd8aaaf(0x450)][_0xd8aaaf(0x45f)](de,this[_0xd8aaaf(0x320)],this[_0xd8aaaf(0x403)],null,[],this['_handler']);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1af)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x56ee91=_0x259c74;const _0x4fecdd=this[_0x56ee91(0x1b8)][_0x56ee91(0x423)](this[_0x56ee91(0x320)]);return this[_0x56ee91(0x44b)]['onMissingChangesets']({'from':_0x4fecdd,'to':0x0}),this[_0x56ee91(0x450)]['createInstance'](ee,this[_0x56ee91(0x320)],this[_0x56ee91(0x403)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x479712(_0x4deff2)),w(0x4,_0x479712(_0x27a1da)),w(0x5,_0x1bcad4),w(0x6,_0x50be79),w(0x7,_0x597a05),w(0x8,_0x363f26),w(0x9,_0xdd8f64(J))],be);let ae=class extends ge{constructor(_0x82faf5,_0x740597,_0x364dcf,_0x243a0b,_0x526182,_0x1db3d7,_0x1fb3a8,_0x21ead1,_0x5ccc05,_0x50330d,_0x3f9f86,_0x50c422,_0x29c068,_0x412e58){var _0x1ac19b=_0x259c74;super(_0x82faf5,_0x740597,null,_0x364dcf,_0x243a0b,_0x5ccc05,_0x29c068,_0x1db3d7,_0x412e58),D(this,_0x1ac19b(0x222),_0x1ac19b(0x247)),D(this,_0x1ac19b(0x17a),null),D(this,'_sendingTimer',null),(this[_0x1ac19b(0x450)]=_0x526182,this[_0x1ac19b(0x225)]=_0x1fb3a8,this['_logService']=_0x21ead1,this[_0x1ac19b(0x2ec)]=_0x50330d,this[_0x1ac19b(0x1d1)]=_0x3f9f86,this[_0x1ac19b(0x284)]=_0x50c422);}[_0x259c74(0x1f1)](_0x37c064){var _0x5359ec=_0x259c74;return this[_0x5359ec(0x1a7)][_0x5359ec(0x2c3)](_0x37c064),this[_0x5359ec(0x2ac)](),this;}[_0x259c74(0x34f)](_0x35ff81){var _0x2cebd8=_0x259c74;if(this['_checkMissing'](_0x35ff81))return this['_clearScheduledTask'](),this[_0x2cebd8(0x450)][_0x2cebd8(0x45f)](ee,this[_0x2cebd8(0x320)],this[_0x2cebd8(0x403)],null,this[_0x2cebd8(0x1a7)],null,[_0x35ff81],this[_0x2cebd8(0x44b)]);try{const _0x5aae3c=this[_0x2cebd8(0x1d1)][_0x2cebd8(0x195)](_0x35ff81,this[_0x2cebd8(0x1a7)]);if(_0x10db53(_0x5aae3c)){const {c1Prime:_0x15ca95,m2Prime:_0x566207}=_0x5aae3c;this[_0x2cebd8(0x236)](_0x15ca95);const _0x530496=this[_0x2cebd8(0x450)]['createInstance'](ae,this['unitID'],this['type'],_0x566207,this['_handler']);this[_0x2cebd8(0x1fe)]();const _0xfde61f=new Date()[_0x2cebd8(0x3ad)](),_0x43a681=this[_0x2cebd8(0x17a)]?Math[_0x2cebd8(0x31c)](this[_0x2cebd8(0x17a)]-_0xfde61f,0x0):this[_0x2cebd8(0x412)]();return _0x530496[_0x2cebd8(0x2f2)](_0x43a681),_0x530496;}throw _0x5aae3c['error'];}catch(_0x51f15b){return this[_0x2cebd8(0x29c)]['error'](_0x51f15b),this[_0x2cebd8(0x1bc)](!0x1);}}[_0x259c74(0x1f2)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x259c74(0x460)](){var _0x1df5a4=_0x259c74;throw new Error(_0x1df5a4(0x3e9));}[_0x259c74(0x324)](){return this;}['toggleOffline'](){var _0x1377c8=_0x259c74;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this['unitID'],this[_0x1377c8(0x403)],null,this['_pendingMutations'],this[_0x1377c8(0x44b)]);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x2f2)](_0x45f0a1){var _0x94912=_0x259c74;const _0x5cf846=_0x45f0a1!=null?_0x45f0a1:this[_0x94912(0x412)]();this['_scheduleCompleteTimestamp']=new Date()[_0x94912(0x3ad)]()+_0x5cf846,this[_0x94912(0x366)]=setTimeout(()=>{var _0x29fc55=_0x94912;this[_0x29fc55(0x1fe)]();let _0x3b3db6=null;switch(this[_0x29fc55(0x403)]){case Q['UNIVER_SHEET']:{_0x3b3db6=Gt(this[_0x29fc55(0x1a7)],this[_0x29fc55(0x320)],this[_0x29fc55(0x284)],this[_0x29fc55(0x1b8)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x29fc55(0x1e2)](_0x346f7b=>_0x346f7b['id']===_0x8784db['id'])?_0x3b3db6=ks(this[_0x29fc55(0x1a7)],this[_0x29fc55(0x320)],this[_0x29fc55(0x284)],this[_0x29fc55(0x1b8)],this[_0x29fc55(0x225)]):_0x3b3db6=Gt(this[_0x29fc55(0x1a7)],this[_0x29fc55(0x320)],this['_univerInstanceService'],this[_0x29fc55(0x1b8)],this[_0x29fc55(0x225)]);break;}default:throw new Error(_0x29fc55(0x272)+this[_0x29fc55(0x403)]+'\x20in\x20_schedule.');}const {changeset:_0x23461f,pendingMutations:_0x3e5602}=_0x3b3db6;this[_0x29fc55(0x44b)][_0x29fc55(0x3af)](_0x23461f);const _0x569dc4=_0x3e5602[_0x29fc55(0x418)]?this[_0x29fc55(0x450)][_0x29fc55(0x45f)](oe,this['unitID'],this['type'],_0x23461f,_0x3e5602,this[_0x29fc55(0x44b)],void 0x0):this['_injector']['createInstance'](le,this[_0x29fc55(0x320)],this[_0x29fc55(0x403)],_0x23461f,this['_handler']);_0x569dc4[_0x29fc55(0x2ac)](),this[_0x29fc55(0x44b)][_0x29fc55(0x2bf)](this,_0x569dc4);},_0x5cf846);}[_0x259c74(0x412)](){var _0x1617ae=_0x259c74,_0x236e1f;const _0x40482b=this[_0x1617ae(0x2ec)][_0x1617ae(0x23c)](K);return(_0x236e1f=_0x40482b==null?void 0x0:_0x40482b[_0x1617ae(0x26c)])!=null?_0x236e1f:ps;}[_0x259c74(0x1af)](){var _0x167127=_0x259c74;throw new Error(_0x167127(0x21d));}[_0x259c74(0x1fe)](){var _0x250046=_0x259c74;this[_0x250046(0x366)]!=null&&(clearTimeout(this[_0x250046(0x366)]),this[_0x250046(0x366)]=null);}[_0x259c74(0x1bc)](_0x14f0e2){var _0x30d0be=_0x259c74;return this[_0x30d0be(0x1fe)](),this[_0x30d0be(0x450)]['createInstance'](ue,this[_0x30d0be(0x320)],this['type'],null,this[_0x30d0be(0x1a7)],this[_0x30d0be(0x44b)],_0x14f0e2);}};ae=Se([w(0x4,_0x479712(_0x27a1da)),w(0x5,_0x479712(_0x4deff2)),w(0x6,_0x479712(Pe)),w(0x7,_0x597a05),w(0x8,_0x50be79),w(0x9,_0x5dd738),w(0xa,_0x363f26),w(0xb,_0x2979fe),w(0xc,_0x1bcad4),w(0xd,_0xdd8f64(J))],ae);let le=class extends ge{constructor(_0x8bb9c1,_0x311bae,_0x41d18f,_0x50dcd9,_0x52279e,_0x5a9430,_0x1d5a94,_0x599b6b,_0x5ec74f,_0x2f0262,_0x1cac74){var _0x3912f8=_0x259c74;super(_0x8bb9c1,_0x311bae,_0x41d18f,[],_0x50dcd9,_0x1d5a94,_0x2f0262,_0x5a9430,_0x1cac74),D(this,_0x3912f8(0x222),_0x3912f8(0x431)),D(this,_0x3912f8(0x205),0x0),D(this,_0x3912f8(0x29a)),D(this,_0x3912f8(0x1fb)),(this['_injector']=_0x52279e,this[_0x3912f8(0x29c)]=_0x599b6b,this[_0x3912f8(0x1d1)]=_0x5ec74f);}[_0x259c74(0x1f1)](_0x1aed40){var _0x1eecca=_0x259c74;this[_0x1eecca(0x1fe)]();const _0x372770=this['_injector']['createInstance'](oe,this[_0x1eecca(0x320)],this[_0x1eecca(0x403)],this[_0x1eecca(0x3a0)],[_0x1aed40],this[_0x1eecca(0x44b)],this['_resendTimer']);return _0x372770[_0x1eecca(0x2ac)](),_0x372770;}[_0x259c74(0x34f)](_0x10f617){var _0x3540e3=_0x259c74;if(this[_0x3540e3(0x3ec)](_0x10f617))return this[_0x3540e3(0x1fe)](),this[_0x3540e3(0x450)][_0x3540e3(0x45f)](ee,this[_0x3540e3(0x320)],this[_0x3540e3(0x403)],this[_0x3540e3(0x3a0)],[],null,[_0x10f617],this[_0x3540e3(0x44b)]);try{const _0x520a5a=this[_0x3540e3(0x1d1)][_0x3540e3(0x32d)]([_0x10f617],[this[_0x3540e3(0x3a0)]],!0x1);if(_0x128d8f(_0x520a5a)){const {c1Prime:_0x42fe89,c2Prime:_0x4e72b6}=_0x520a5a;this['_executeRemoteChangeset'](_0x42fe89[0x0]),_0x4e72b6[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x3540e3(0x1fe)]();const _0x3b45e7=this[_0x3540e3(0x450)][_0x3540e3(0x45f)](le,this[_0x3540e3(0x320)],this[_0x3540e3(0x403)],_0x4e72b6[0x0],this[_0x3540e3(0x44b)]);return _0x3b45e7[_0x3540e3(0x2ac)](),_0x3b45e7;}return this[_0x3540e3(0x1bc)](!0x1);}catch(_0x17c6f3){return this['_logService']['error'](_0x17c6f3),this['_onConflict'](!0x1);}}[_0x259c74(0x1f2)](_0x3fd3f5){var _0x52e7d3=_0x259c74;this[_0x52e7d3(0x1fe)]();const _0x15aa22=this[_0x52e7d3(0x1b8)][_0x52e7d3(0x423)](this['unitID']);if(_0x3fd3f5[_0x52e7d3(0x28e)]<_0x15aa22-0x1)return this;if(this[_0x52e7d3(0x3ec)](_0x3fd3f5))return this['_injector']['createInstance'](ee,this[_0x52e7d3(0x320)],this['type'],null,[],this[_0x52e7d3(0x3a0)],[],this[_0x52e7d3(0x44b)]);this['_incrementRevisionNumber']();const _0x33534e=this[_0x52e7d3(0x450)]['createInstance'](be,this[_0x52e7d3(0x320)],this[_0x52e7d3(0x403)],this['_handler']);return _0x33534e[_0x52e7d3(0x2ac)](),_0x33534e;}['onRemoteRej'](_0x516841){var _0x30da73=_0x259c74;return this[_0x30da73(0x1bc)](!!(_0x516841!=null&&_0x516841[_0x30da73(0x1b5)]));}[_0x259c74(0x324)](_0x3e3f11){var _0x2547e6=_0x259c74;return this[_0x2547e6(0x205)]>gi?this[_0x2547e6(0x440)]():(this[_0x2547e6(0x29a)]=Ii(this[_0x2547e6(0x205)],{'timeout':this['_resendTimeout'],'reqId':_0x3e3f11['reqId']}),this[_0x2547e6(0x1fb)]=this[_0x2547e6(0x29a)]['subscribe'](({reqId:_0x3845d1,timeout:_0xd12097})=>{var _0x2b4c13=_0x2547e6;this[_0x2b4c13(0x1f8)](_0x3845d1,_0xd12097);}),this);}[_0x259c74(0x440)](){var _0x1dbc33=_0x259c74;return this['_clearScheduledTask'](),this['_injector'][_0x1dbc33(0x45f)](de,this[_0x1dbc33(0x320)],this['type'],this[_0x1dbc33(0x3a0)],[],this['_handler']);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1af)](){var _0x4a67fb=_0x259c74;this['_handler']['onSendChangeset'](this[_0x4a67fb(0x3a0)]);}['_onConflict'](_0x320290){var _0x437ed2=_0x259c74;return this[_0x437ed2(0x1fe)](),this[_0x437ed2(0x450)][_0x437ed2(0x45f)](ue,this[_0x437ed2(0x320)],this[_0x437ed2(0x403)],this[_0x437ed2(0x3a0)],[],this[_0x437ed2(0x44b)],_0x320290);}[_0x259c74(0x1f8)](_0xe9f30e,_0x179a71){var _0x40e6bc=_0x259c74,_0x58310c;_0xe9f30e===((_0x58310c=this[_0x40e6bc(0x3a0)])==null?void 0x0:_0x58310c[_0x40e6bc(0x271)])&&(this['resend'](),this['_resendTimeout']=_0x179a71===0x0?0x3e8:_0x179a71*0x2);}[_0x259c74(0x1fe)](){var _0x1c69c7=_0x259c74,_0x48550e;(_0x48550e=this[_0x1c69c7(0x1fb)])==null||_0x48550e[_0x1c69c7(0x227)](),this['_resendTimeout']=0x0;}};le=Se([w(0x4,_0x479712(_0x27a1da)),w(0x5,_0x479712(_0x4deff2)),w(0x6,_0x50be79),w(0x7,_0x597a05),w(0x8,_0x363f26),w(0x9,_0x1bcad4),w(0xa,_0xdd8f64(J))],le);let oe=class extends ge{constructor(_0x1de1c5,_0x3d3c99,_0x1e1c87,_0xbe15d3,_0x174bfa,_0x38992d,_0x2d1089,_0x55ee74,_0x374ea6,_0x12073d,_0x2d22bc,_0x565453,_0x2d9a8f){var _0x31d505=_0x259c74;super(_0x1de1c5,_0x3d3c99,_0x1e1c87,_0xbe15d3,_0x174bfa,_0x374ea6,_0x565453,_0x55ee74,_0x2d9a8f),D(this,_0x31d505(0x222),_0x31d505(0x341)),D(this,'_resendTimeout',0x0),D(this,_0x31d505(0x29a)),D(this,_0x31d505(0x1fb)),(this[_0x31d505(0x450)]=_0x2d1089,this[_0x31d505(0x29c)]=_0x12073d,this[_0x31d505(0x1d1)]=_0x2d22bc,this['localCacheService']=_0x2d9a8f,_0x38992d&&(this[_0x31d505(0x29a)]=_0x38992d,this[_0x31d505(0x1fb)]=this[_0x31d505(0x29a)][_0x31d505(0x322)](({reqId:_0xa7ef19,timeout:_0x20a912})=>{var _0x271b2f=_0x31d505;this[_0x271b2f(0x1f8)](_0xa7ef19,_0x20a912);})));}[_0x259c74(0x1f1)](_0x4f4b76){var _0x3d6dcb=_0x259c74;return this['_pendingMutations'][_0x3d6dcb(0x2c3)](_0x4f4b76),this;}['onRemoteChangeset'](_0x34c1ef){var _0x499231=_0x259c74;if(this[_0x499231(0x3ec)](_0x34c1ef))return this[_0x499231(0x1fe)](),this[_0x499231(0x450)]['createInstance'](ee,this[_0x499231(0x320)],this['type'],this[_0x499231(0x3a0)],this[_0x499231(0x1a7)],null,[_0x34c1ef],this[_0x499231(0x44b)]);try{const _0x17bbc6=this[_0x499231(0x1d1)][_0x499231(0x32d)]([_0x34c1ef],[this[_0x499231(0x3a0)]],!0x1);if(_0x128d8f(_0x17bbc6)){const {c1Prime:_0xd5454c,c2Prime:_0xbbd724}=_0x17bbc6,_0x4037c2=this[_0x499231(0x1d1)][_0x499231(0x195)](_0xd5454c[0x0],this[_0x499231(0x1a7)]);if(_0x10db53(_0x4037c2)){const {c1Prime:_0x791c90,m2Prime:_0x44d629}=_0x4037c2;return this['_executeRemoteChangeset'](_0x791c90),_0xbbd724[0x0][_0x499231(0x23d)]=this['_getCurrentRevision'](),this[_0x499231(0x1fe)](),this[_0x499231(0x450)][_0x499231(0x45f)](oe,this[_0x499231(0x320)],this[_0x499231(0x403)],_0xbbd724[0x0],_0x44d629,this['_handler'],void 0x0);}throw _0x4037c2[_0x499231(0x331)];}throw _0x17bbc6[_0x499231(0x331)];}catch(_0x44cb11){return this[_0x499231(0x29c)]['error'](_0x44cb11),this['_onConflict'](!0x1);}}[_0x259c74(0x1f2)](_0x12fde4){var _0x44b849=_0x259c74;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x12fde4))return this[_0x44b849(0x450)]['createInstance'](ee,this['unitID'],this[_0x44b849(0x403)],null,this[_0x44b849(0x1a7)],this['_awaitingChangeset'],[],this[_0x44b849(0x44b)]);this['_incrementRevisionNumber']();const _0x570181=this[_0x44b849(0x450)][_0x44b849(0x45f)](ae,this[_0x44b849(0x320)],this[_0x44b849(0x403)],this[_0x44b849(0x1a7)],this[_0x44b849(0x44b)]);return _0x570181['_schedule'](),_0x570181['_updateLocalCache'](),_0x570181;}[_0x259c74(0x460)](_0x20ad39){var _0x1721b5=_0x259c74;return this[_0x1721b5(0x1bc)](!!(_0x20ad39!=null&&_0x20ad39['isPermissionRej']));}[_0x259c74(0x324)](_0x19278c){var _0x482968=_0x259c74;return this[_0x482968(0x205)]>gi?this[_0x482968(0x440)]():(this['_resendTimer']=Ii(this[_0x482968(0x205)],{'timeout':this[_0x482968(0x205)],'reqId':_0x19278c['reqId']}),this[_0x482968(0x1fb)]=this[_0x482968(0x29a)][_0x482968(0x322)](({reqId:_0x702d54,timeout:_0x322741})=>{var _0x2297c3=_0x482968;this[_0x2297c3(0x1f8)](_0x702d54,_0x322741);}),this);}[_0x259c74(0x440)](){var _0x181810=_0x259c74;return this[_0x181810(0x1fe)](),this[_0x181810(0x450)][_0x181810(0x45f)](de,this[_0x181810(0x320)],this[_0x181810(0x403)],this['_awaitingChangeset'],this[_0x181810(0x1a7)],this['_handler']);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1af)](){var _0x315692=_0x259c74;this['_handler'][_0x315692(0x3af)](this[_0x315692(0x3a0)]);}[_0x259c74(0x1bc)](_0xa6ec74){var _0x46c3c8=_0x259c74;return this[_0x46c3c8(0x1fe)](),this[_0x46c3c8(0x450)][_0x46c3c8(0x45f)](ue,this['unitID'],this['type'],null,this[_0x46c3c8(0x1a7)],this['_handler'],_0xa6ec74);}['_resendWithTimeout'](_0xea2c87,_0x2fa84a){var _0x3e5958=_0x259c74,_0xe525ec;_0xea2c87===((_0xe525ec=this[_0x3e5958(0x3a0)])==null?void 0x0:_0xe525ec['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x2fa84a===0x0?0x3e8:_0x2fa84a*0x2);}[_0x259c74(0x1fe)](){var _0x24f767=_0x259c74,_0x470723;(_0x470723=this[_0x24f767(0x1fb)])==null||_0x470723['unsubscribe'](),this[_0x24f767(0x205)]=0x0;}};oe=Se([w(0x6,_0x479712(_0x27a1da)),w(0x7,_0x479712(_0x4deff2)),w(0x8,_0x50be79),w(0x9,_0x597a05),w(0xa,_0x363f26),w(0xb,_0x1bcad4),w(0xc,_0xdd8f64(J))],oe);let ue=class extends ge{constructor(_0xa8c449,_0x54d121,_0x543d21,_0x3729ed,_0x4678de,_0x36540e=!0x1,_0x25304f,_0x375285,_0x21d0f5,_0x396321,_0x18d23d,_0x553b94,_0x1502a1){var _0x558100=_0x259c74;super(_0xa8c449,_0x54d121,_0x543d21,_0x3729ed,_0x4678de,_0x375285,_0x21d0f5,_0x396321,_0x1502a1),D(this,_0x558100(0x222),'conflict'),(this[_0x558100(0x267)]=_0x36540e,this[_0x558100(0x2b8)]=_0x25304f,this[_0x558100(0x287)]=_0x18d23d,this[_0x558100(0x3ca)]=_0x553b94,this[_0x558100(0x1d4)]=_0x1502a1,this['_showConflictNotification'](),this[_0x558100(0x3b4)](),this['_disableEditing']());}[_0x259c74(0x1f1)](){return this;}[_0x259c74(0x34f)](){return this;}[_0x259c74(0x1f2)](){return this;}[_0x259c74(0x460)](){return this;}[_0x259c74(0x324)](){return this;}[_0x259c74(0x440)](){return this;}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1af)](){var _0x1dfb1c=_0x259c74;throw new Error(_0x1dfb1c(0x3db));}['_clearLocalCache'](){var _0x250b49=_0x259c74,_0x56c8ae;(_0x56c8ae=this['_localCacheService'])==null||_0x56c8ae['updateOfflineData'](this[_0x250b49(0x320)],this[_0x250b49(0x403)],null,[]);}[_0x259c74(0x2c8)](){var _0x51a235=_0x259c74;this[_0x51a235(0x267)]?this[_0x51a235(0x3ca)][_0x51a235(0x29b)]({'id':re[_0x51a235(0x1ee)]}):this['_collaborationUIEventService'][_0x51a235(0x29b)]({'id':re[_0x51a235(0x2bc)]});}[_0x259c74(0x39b)](){var _0xbab933=_0x259c74;this[_0xbab933(0x2b8)]['updatePermissionPoint'](new _0x2a9243(this[_0xbab933(0x320)])['id'],!0x1);}};ue=Se([w(0x6,_0x479712(_0x25e5b9)),w(0x7,_0x50be79),w(0x8,_0x1bcad4),w(0x9,_0x479712(_0x4deff2)),w(0xa,_0x479712(_0x38932f)),w(0xb,_0x479712(ve)),w(0xc,_0xdd8f64(J))],ue);let de=class extends ge{constructor(_0x2505ee,_0x11b8da,_0x5ac99d,_0x57e575,_0x35fad2,_0x2412d1,_0x2738e7,_0x457c52,_0x2f2503,_0x451ee1){var _0x59242c=_0x259c74;super(_0x2505ee,_0x11b8da,_0x5ac99d,_0x57e575,_0x35fad2,_0x457c52,_0x2f2503,_0x2738e7,_0x451ee1),D(this,_0x59242c(0x222),_0x59242c(0x34c)),this[_0x59242c(0x450)]=_0x2412d1;}[_0x259c74(0x1f1)](_0x2f48f2){var _0x2ad573=_0x259c74;return this[_0x2ad573(0x1a7)][_0x2ad573(0x2c3)](_0x2f48f2),this['_updateLocalCache'](),this;}[_0x259c74(0x34f)](_0x56aaa1){var _0x5c4a8b=_0x259c74;throw new Error(_0x5c4a8b(0x3f7));}[_0x259c74(0x1f2)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x259c74(0x460)](){var _0x3fe456=_0x259c74;throw new Error(_0x3fe456(0x46a));}[_0x259c74(0x324)](){return this;}[_0x259c74(0x440)](){return this;}[_0x259c74(0x29d)](){var _0x16b4cf=_0x259c74;const {_injector:_0x138c1d,_pendingMutations:_0x1ae99e,_awaitingChangeset:_0x2bb029,unitID:_0x55dc05,_handler:_0xd3c020,type:_0x521f9c}=this,_0x15c5b8=Ti(_0x138c1d,_0x55dc05,_0x521f9c,_0x2bb029,_0x1ae99e,_0xd3c020);return _0x15c5b8 instanceof ae?_0x15c5b8[_0x16b4cf(0x2f2)]():(_0x15c5b8 instanceof oe||_0x15c5b8 instanceof le)&&_0x15c5b8['resend'](),_0x15c5b8;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x479712(_0x27a1da)),w(0x6,_0x479712(_0x4deff2)),w(0x7,_0x50be79),w(0x8,_0x1bcad4),w(0x9,_0xdd8f64(J))],de);let ee=class extends ge{constructor(_0x40bc1b,_0x17c47a,_0x4a4730,_0xef759c,_0x183a78,_0x204858,_0xd3f90e,_0x5d279b,_0x2b5c9c,_0x4ac316,_0x315e82,_0x4e93a9,_0xa6786c,_0x60b2cc){var _0x540c32=_0x259c74;super(_0x40bc1b,_0x17c47a,_0x4a4730,_0xef759c,_0xd3f90e,_0x315e82,_0x4e93a9,_0x2b5c9c,_0x60b2cc),D(this,_0x540c32(0x222),_0x540c32(0x1fd)),(this['_acknowledgedAwaitingChangeset']=_0x183a78,this['_queuedRemoteChangesets']=_0x204858,this['_injector']=_0x5d279b,this[_0x540c32(0x29c)]=_0x4ac316,this['_transformService']=_0xa6786c,this['localCacheService']=_0x60b2cc);}[_0x259c74(0x256)](_0x37c787){var _0x29b3ce=_0x259c74;try{const _0x4efdc6=[..._0x37c787,...this[_0x29b3ce(0x347)]],_0x286fd1=[this[_0x29b3ce(0x3a0)]||this[_0x29b3ce(0x3fb)]][_0x29b3ce(0x1ca)](_0x161bf8=>!!_0x161bf8);let _0x58cc66,_0x5fddb5;if(_0x286fd1[_0x29b3ce(0x418)]){const _0x2c8035=this[_0x29b3ce(0x1d1)]['transformChangesets'](_0x4efdc6,_0x286fd1,!0x1);if(!_0x128d8f(_0x2c8035))throw _0x2c8035['error'];_0x58cc66=_0x2c8035[_0x29b3ce(0x20d)],_0x5fddb5=_0x2c8035[_0x29b3ce(0x16d)];}else _0x58cc66=_0x4efdc6,_0x5fddb5=[];let _0x22b314=this[_0x29b3ce(0x1a7)];_0x58cc66[_0x29b3ce(0x381)](_0xcadec9=>{var _0xb0cb0a=_0x29b3ce;let _0x36993b;if(_0x22b314[_0xb0cb0a(0x418)]){const _0x4b879b=this[_0xb0cb0a(0x1d1)][_0xb0cb0a(0x195)](_0xcadec9,_0x22b314);if(!_0x10db53(_0x4b879b))throw _0x4b879b[_0xb0cb0a(0x331)];_0x36993b=_0x4b879b[_0xb0cb0a(0x20d)],_0x22b314=_0x4b879b['m2Prime'];}else _0x36993b=_0xcadec9;this[_0xb0cb0a(0x236)](_0x36993b);}),this[_0x29b3ce(0x3fb)]&&this[_0x29b3ce(0x2b0)](),this[_0x29b3ce(0x3a0)]&&_0x5fddb5[_0x29b3ce(0x418)]&&(_0x5fddb5[0x0][_0x29b3ce(0x23d)]=this[_0x29b3ce(0x1ad)]());let _0x13ef55;if(this[_0x29b3ce(0x3a0)]&&_0x22b314[_0x29b3ce(0x418)]!==0x0)_0x13ef55=this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](oe,this[_0x29b3ce(0x320)],this[_0x29b3ce(0x403)],_0x5fddb5[0x0],_0x22b314,this[_0x29b3ce(0x44b)],void 0x0);else{if(this[_0x29b3ce(0x3a0)]&&_0x22b314['length']===0x0)_0x5fddb5[0x0][_0x29b3ce(0x23d)]=this['_getCurrentRevision'](),_0x13ef55=this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](le,this[_0x29b3ce(0x320)],this['type'],_0x5fddb5[0x0],this[_0x29b3ce(0x44b)]);else{if(_0x22b314[_0x29b3ce(0x418)]!==0x0){const _0x31fb06=this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](ae,this['unitID'],this[_0x29b3ce(0x403)],_0x22b314,this[_0x29b3ce(0x44b)]);_0x31fb06[_0x29b3ce(0x2f2)](),_0x13ef55=_0x31fb06;}else _0x13ef55=this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](be,this['unitID'],this[_0x29b3ce(0x403)],this[_0x29b3ce(0x44b)]);}}return _0x13ef55['_updateLocalCache'](),_0x13ef55;}catch(_0x152d94){return this[_0x29b3ce(0x29c)][_0x29b3ce(0x331)](_0x29b3ce(0x397),_0x29b3ce(0x349),_0x152d94),this[_0x29b3ce(0x450)][_0x29b3ce(0x45f)](ue,this[_0x29b3ce(0x320)],this['type'],this[_0x29b3ce(0x3a0)],this[_0x29b3ce(0x1a7)],this[_0x29b3ce(0x44b)],!0x1);}}[_0x259c74(0x1af)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x259c74(0x1f1)](_0x682518){return this['_pendingMutations']['push'](_0x682518),this;}[_0x259c74(0x34f)](_0x3cd706){var _0x49b87e=_0x259c74;return this[_0x49b87e(0x347)][_0x49b87e(0x2c3)](_0x3cd706),this;}['onRemoteAck'](_0x541408){var _0x38bb45=_0x259c74;if(this[_0x38bb45(0x3a0)])return this[_0x38bb45(0x3fb)]=this[_0x38bb45(0x3a0)],this[_0x38bb45(0x3a0)]=null,this;throw new Error(_0x38bb45(0x38f));}[_0x259c74(0x460)](_0x28be8e){var _0x3966cf=_0x259c74;return this['_onConflict'](!!(_0x28be8e!=null&&_0x28be8e[_0x3966cf(0x1b5)]));}[_0x259c74(0x324)](){return this;}[_0x259c74(0x440)](){var _0x27587b=_0x259c74;return this[_0x27587b(0x450)][_0x27587b(0x45f)](de,this[_0x27587b(0x320)],this['type'],this[_0x27587b(0x3a0)],this[_0x27587b(0x1a7)],this['_handler']);}[_0x259c74(0x29d)](){return this;}[_0x259c74(0x1bc)](_0x2bb4cd){var _0xba1b40=_0x259c74;return this[_0xba1b40(0x450)][_0xba1b40(0x45f)](ue,this['unitID'],this[_0xba1b40(0x403)],this['_awaitingChangeset'],this[_0xba1b40(0x1a7)],this[_0xba1b40(0x44b)],_0x2bb4cd);}};ee=Se([w(0x7,_0x479712(_0x27a1da)),w(0x8,_0x479712(_0x4deff2)),w(0x9,_0x597a05),w(0xa,_0x50be79),w(0xb,_0x1bcad4),w(0xc,_0x363f26),w(0xd,_0xdd8f64(J))],ee);function Ti(_0x74aa62,_0xbc1f1b,_0x5713cf,_0xf5661d,_0xecb0bc,_0x54b1b9){var _0x52990f=_0x259c74;return _0xf5661d&&_0xecb0bc[_0x52990f(0x418)]?_0x74aa62[_0x52990f(0x45f)](oe,_0xbc1f1b,_0x5713cf,_0xf5661d,_0xecb0bc,_0x54b1b9,void 0x0):_0xf5661d?_0x74aa62[_0x52990f(0x45f)](le,_0xbc1f1b,_0x5713cf,_0xf5661d,_0x54b1b9):_0xecb0bc[_0x52990f(0x418)]?_0x74aa62[_0x52990f(0x45f)](ae,_0xbc1f1b,_0x5713cf,_0xecb0bc,_0x54b1b9):_0x74aa62[_0x52990f(0x45f)](be,_0xbc1f1b,_0x5713cf,_0x54b1b9);}var Bs=Object['getOwnPropertyDescriptor'],Pt=(_0x431a39,_0x3b70ee,_0xa9d6e0,_0x2e7371)=>{var _0x35323c=_0x259c74;for(var _0x40f2e3=_0x2e7371>0x1?void 0x0:_0x2e7371?Bs(_0x3b70ee,_0xa9d6e0):_0x3b70ee,_0x20affe=_0x431a39[_0x35323c(0x418)]-0x1,_0x1ded7d;_0x20affe>=0x0;_0x20affe--)(_0x1ded7d=_0x431a39[_0x20affe])&&(_0x40f2e3=_0x1ded7d(_0x40f2e3)||_0x40f2e3);return _0x40f2e3;},$=(_0x5824a8,_0x3ca2f7)=>(_0x479f37,_0x42d526)=>_0x3ca2f7(_0x479f37,_0x42d526,_0x5824a8);let st=class extends _0x271f03{constructor(_0x547896,_0x57dd52,_0x28b47f,_0x524278,_0x123518,_0x2c193f,_0x129f3d,_0x555764,_0x5c7f90,_0x504915,_0x4f1d35,_0x5c86a8,_0x5008a2,_0x588b5d){var _0x45ace0=_0x259c74;super(),D(this,'_state$',new _0x5ac99c(null)),D(this,'state$',this[_0x45ace0(0x459)][_0x45ace0(0x37d)]()),D(this,_0x45ace0(0x19e)),D(this,_0x45ace0(0x364),!0x1),D(this,'_changesetSessionId',''),D(this,_0x45ace0(0x248),0x0),D(this,_0x45ace0(0x285),this[_0x45ace0(0x24c)][_0x45ace0(0x28f)](_0x42ebd1(_0x4892ce=>_0x4892ce?_0x4892ce['status']:Si[_0x45ace0(0x1a5)]),_0x381afc(0x1))),D(this,'_transitionLocked',!0x1),D(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x547896,this[_0x45ace0(0x433)]=_0x57dd52,this[_0x45ace0(0x24b)]=_0x28b47f,this[_0x45ace0(0x450)]=_0x524278,this['_compressMutationService']=_0x123518,this[_0x45ace0(0x287)]=_0x2c193f,this[_0x45ace0(0x1b8)]=_0x129f3d,this['_eventService']=_0x555764,this[_0x45ace0(0x284)]=_0x5c7f90,this[_0x45ace0(0x29c)]=_0x504915,this['_commandService']=_0x4f1d35,this[_0x45ace0(0x2b8)]=_0x5c86a8,this[_0x45ace0(0x425)]=_0x5008a2,this[_0x45ace0(0x2fa)]=_0x588b5d);}get[_0x259c74(0x445)](){var _0x54a3de=_0x259c74;return this[_0x54a3de(0x19e)];}async[_0x259c74(0x258)](){var _0x58ac12=_0x259c74;if(this[_0x58ac12(0x445)])throw new Error(_0x58ac12(0x32f));await this[_0x58ac12(0x399)]();}[_0x259c74(0x396)](){var _0x20f92a=_0x259c74;return this[_0x20f92a(0x364)]=!0x0,_0x52a6fa(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x259c74(0x3de)](_0x59abe1){var _0x628898=_0x259c74;this[_0x628898(0x295)](_0x59abe1);}[_0x259c74(0x422)](_0x1e5fc2){var _0x7a193=_0x259c74;this['_state']=_0x1e5fc2,this[_0x7a193(0x459)][_0x7a193(0x210)](_0x1e5fc2);}async[_0x259c74(0x399)](){var _0x1928e5=_0x259c74,_0x30d74e;this['_updateState'](await this[_0x1928e5(0x388)]()),this[_0x1928e5(0x425)]&&((_0x30d74e=this[_0x1928e5(0x425)])==null||_0x30d74e[_0x1928e5(0x31b)](this[_0x1928e5(0x320)]),this[_0x1928e5(0x369)](this[_0x1928e5(0x425)][_0x1928e5(0x39c)](this[_0x1928e5(0x320)])[_0x1928e5(0x322)](_0x57d53a=>{var _0x5c3e38=_0x1928e5;this['_logService'][_0x5c3e38(0x448)](_0x5c3e38(0x420),_0x5c3e38(0x255),_0x57d53a),_0x57d53a===mi[_0x5c3e38(0x23a)]?(this['_eventService']['emitEvent']({'id':re[_0x5c3e38(0x2b5)]}),this[_0x5c3e38(0x2b8)]['updatePermissionPoint'](new _0x2a9243(this[_0x5c3e38(0x320)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x5c3e38(0x2b8)][_0x5c3e38(0x1c1)](new _0x2a9243(this['unitID'])['id'],!0x0),this[_0x5c3e38(0x2b8)][_0x5c3e38(0x22c)](!0x0));})));let _0x381838=!0x1;return this['disposeWithMe'](this[_0x1928e5(0x433)]['sessionStatus$'][_0x1928e5(0x322)](_0x4209ab=>{var _0x1e8f93=_0x1928e5;_0x4209ab===me[_0x1e8f93(0x3ee)]?this['_toggleOnline'](_0x381838):_0x4209ab===me[_0x1e8f93(0x1a5)]&&(_0x381838=!0x0,this[_0x1e8f93(0x1ce)]());})),this[_0x1928e5(0x369)](this[_0x1928e5(0x433)][_0x1928e5(0x219)][_0x1928e5(0x322)](_0x3e4fe6=>{var _0x56aa48=_0x1928e5;try{switch(_0x3e4fe6[_0x56aa48(0x168)]){case _0x6aadf0[_0x56aa48(0x442)]:{this[_0x56aa48(0x2c4)](_0x16a6be(_0x3e4fe6[_0x56aa48(0x3e2)]));break;}case _0x6aadf0[_0x56aa48(0x31e)]:{this['_onRemoteACK'](_0x3e4fe6[_0x56aa48(0x3e2)]);break;}case _0x6aadf0[_0x56aa48(0x419)]:{this[_0x56aa48(0x429)]();break;}case _0x6aadf0[_0x56aa48(0x44e)]:{this[_0x56aa48(0x3e6)](_0x3e4fe6[_0x56aa48(0x3e2)]);break;}case _0x6aadf0[_0x56aa48(0x2ab)]:{this[_0x56aa48(0x17e)](_0x3e4fe6[_0x56aa48(0x3e2)][_0x56aa48(0x30c)][_0x56aa48(0x1ae)](_0x3c54f7=>_0x16a6be(_0x3c54f7)));break;}case _0x6aadf0[_0x56aa48(0x45a)]:{this[_0x56aa48(0x429)]({'isPermissionRej':!0x0});break;}case _0x6aadf0[_0x56aa48(0x361)]:break;}}catch(_0x30b2cb){throw console[_0x56aa48(0x331)](_0x56aa48(0x39d),_0x30b2cb),_0x30b2cb;}})),this[_0x1928e5(0x19e)];}[_0x259c74(0x36c)](){var _0x5c02aa=_0x259c74;this[_0x5c02aa(0x367)]=!0x1;}[_0x259c74(0x2ef)](){var _0x5fcdab=_0x259c74;if(this[_0x5fcdab(0x367)])throw new Error(_0x5fcdab(0x24a));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x556bc0){var _0x243bc3=_0x259c74;this[_0x243bc3(0x2ef)](),this[_0x243bc3(0x422)](this[_0x243bc3(0x19e)][_0x243bc3(0x1f1)](_0x556bc0)),this[_0x243bc3(0x36c)]();}[_0x259c74(0x2c4)](_0x31a02f){var _0x102ea1=_0x259c74;if(!(_0x31a02f[_0x102ea1(0x28e)]<=this['_revisionService'][_0x102ea1(0x423)](this[_0x102ea1(0x320)]))){if(this['_collaborationPaused']){this[_0x102ea1(0x46f)][_0x102ea1(0x2c3)](_0x31a02f);return;}this['_applyRemoteChangeset'](_0x31a02f);}}[_0x259c74(0x3d8)](){var _0x109ab3=_0x259c74;this[_0x109ab3(0x46f)][_0x109ab3(0x381)](_0x46c5aa=>this[_0x109ab3(0x214)](_0x46c5aa)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x59f261){var _0xa997ce=_0x259c74;const _0x18b96b=this['_compressMutationService'][_0xa997ce(0x26e)][_0xa997ce(0x286)](this['_compressMutationService']['interceptor'][_0xa997ce(0x1e0)]()[_0xa997ce(0x3be)])(_0x59f261[_0xa997ce(0x3cc)],null)||_0x59f261['mutations'],_0x246817={..._0x59f261,'mutations':_0x18b96b};this[_0xa997ce(0x2ef)](),this[_0xa997ce(0x422)](this[_0xa997ce(0x19e)][_0xa997ce(0x34f)](_0x246817)),this[_0xa997ce(0x36c)]();}['_onRemoteACK'](_0x579e0f){var _0x255a21=_0x259c74;this[_0x255a21(0x2ef)](),this[_0x255a21(0x422)](this[_0x255a21(0x19e)][_0x255a21(0x1f2)](_0x579e0f)),this[_0x255a21(0x36c)]();}['_onRemoteRejected'](_0x581189){var _0x3f8079=_0x259c74;this['_lockTransition'](),this[_0x3f8079(0x422)](this[_0x3f8079(0x19e)]['onRemoteRej'](_0x581189)),this[_0x3f8079(0x36c)]();}[_0x259c74(0x3e6)](_0x1d070b){var _0x2b036e=_0x259c74;this[_0x2b036e(0x2ef)](),this[_0x2b036e(0x422)](this[_0x2b036e(0x19e)]['onRemoteRetry'](_0x1d070b)),this['_unlockTransition']();}[_0x259c74(0x17e)](_0x224bdb){var _0x4f8fbd=_0x259c74;if(!(this['_state']instanceof ee))throw new TypeError(_0x4f8fbd(0x2ed));const _0x2db74d=_0x224bdb[_0x4f8fbd(0x1ae)](_0x5dd6cf=>{var _0x3f73a9=_0x4f8fbd;const _0x3d41e6=this[_0x3f73a9(0x229)][_0x3f73a9(0x26e)]['fetchThroughInterceptors'](this[_0x3f73a9(0x229)][_0x3f73a9(0x26e)][_0x3f73a9(0x1e0)]()[_0x3f73a9(0x3be)])(_0x5dd6cf[_0x3f73a9(0x3cc)],null)||_0x5dd6cf['mutations'];return{..._0x5dd6cf,'mutations':_0x3d41e6};});this[_0x4f8fbd(0x2ef)](),this[_0x4f8fbd(0x422)](this['_state'][_0x4f8fbd(0x256)](_0x2db74d)),this['_unlockTransition']();}['_toggleOffline'](){var _0x1a1298=_0x259c74;this['_lockTransition'](),this['_updateState'](this[_0x1a1298(0x19e)]['toggleOffline']()),this['_unlockTransition']();}[_0x259c74(0x471)](_0x605f5d=!0x1){var _0x4d6e24=_0x259c74;this[_0x4d6e24(0x2ef)](),this[_0x4d6e24(0x422)](this[_0x4d6e24(0x19e)]['toggleOnline']()),this[_0x4d6e24(0x36c)]();const _0xc24ac0=this[_0x4d6e24(0x19e)];_0x605f5d&&_0xc24ac0 instanceof be&&(this[_0x4d6e24(0x2ef)](),this[_0x4d6e24(0x422)](_0xc24ac0[_0x4d6e24(0x209)]()),this[_0x4d6e24(0x36c)]());}async[_0x259c74(0x388)](){return new Promise(_0x12fdff=>{var _0x30add3=_0x28c4;this[_0x30add3(0x433)][_0x30add3(0x25d)]['pipe'](_0x4aae1e(0x1))[_0x30add3(0x322)](async _0x363db1=>{var _0x3875df=_0x30add3;_0x12fdff(await this[_0x3875df(0x279)](_0x363db1===me[_0x3875df(0x3ee)]));});});}['_createHandler'](){var _0x5af190=_0x259c74;const _0x33425e=this[_0x5af190(0x320)];return{'onStateChange':(_0x5b4a23,_0x219373)=>{var _0x1c6998=_0x5af190;if(_0x5b4a23!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x5b4a23['status']+_0x1c6998(0x384)+_0x219373['status']+_0x1c6998(0x26a)+this[_0x1c6998(0x19e)][_0x1c6998(0x222)]);this['_updateState'](_0x219373);},'onSendChangeset':_0x35b480=>{var _0x1bcbbd=_0x5af190;_0x35b480['sid']||(_0x35b480[_0x1bcbbd(0x176)]=this[_0x1bcbbd(0x2e0)],_0x35b480[_0x1bcbbd(0x271)]=++this[_0x1bcbbd(0x248)]);const _0x5a8d6a={'eventID':_0x6aadf0[_0x1bcbbd(0x329)],'data':{'unitID':_0x35b480[_0x1bcbbd(0x320)],'unitType':this[_0x1bcbbd(0x24b)],'changeset':_0x35b480,'memberID':this['session'][_0x1bcbbd(0x3a4)]()}};this[_0x1bcbbd(0x433)][_0x1bcbbd(0x240)](_0x5a8d6a,this[_0x1bcbbd(0x320)]);},'onMissingChangesets':({from:_0x25100a,to:_0x48a6c2})=>{var _0x280fe4=_0x5af190;this['_logService'][_0x280fe4(0x448)]('[CollaborationEntity]',_0x280fe4(0x443)+_0x25100a+'\x20to\x20'+_0x48a6c2);const _0x5a5a65={'eventID':_0x6aadf0['FETCH_MISSING'],'data':{'unitID':_0x33425e,'unitType':this['_type'],'from':_0x25100a,'to':_0x48a6c2}};this['session'][_0x280fe4(0x240)](_0x5a5a65,this[_0x280fe4(0x320)]);}};}async['_createInitialStateImpl'](_0x275145){var _0x1c8297=_0x259c74,_0x15fd2e,_0x2625f0,_0x5e2fb9;const _0x190196=await((_0x15fd2e=this[_0x1c8297(0x2fa)])==null?void 0x0:_0x15fd2e[_0x1c8297(0x24d)](this[_0x1c8297(0x320)])),_0x14e671=(_0x2625f0=_0x190196==null?void 0x0:_0x190196['mutations'])!=null?_0x2625f0:[],_0x1aeeaa=(_0x5e2fb9=_0x190196==null?void 0x0:_0x190196[_0x1c8297(0x17b)])!=null?_0x5e2fb9:null,_0x1f0b26=!!(_0x1aeeaa!=null&&_0x1aeeaa[_0x1c8297(0x176)])&&!!(_0x1aeeaa!=null&&_0x1aeeaa[_0x1c8297(0x271)]);this['_changesetSessionId']=_0x1f0b26?_0x1aeeaa[_0x1c8297(0x176)]:_0x50f63f(),this['_changesetReqId']=_0x1f0b26?_0x1aeeaa[_0x1c8297(0x271)]:0x0;const _0x1e4de6=this[_0x1c8297(0x320)];try{this[_0x1c8297(0x211)](_0x1aeeaa,_0x14e671);}catch(_0x5cc432){this['_logService'][_0x1c8297(0x331)](_0x5cc432);}const _0x2d5f91=this[_0x1c8297(0x3c0)]();if(_0x275145){const _0x556ab2=Ti(this[_0x1c8297(0x450)],_0x1e4de6,this[_0x1c8297(0x24b)],_0x1aeeaa,_0x14e671,_0x2d5f91);return _0x556ab2 instanceof ae?_0x556ab2[_0x1c8297(0x2f2)]():(_0x556ab2 instanceof oe||_0x556ab2 instanceof le)&&_0x556ab2[_0x1c8297(0x1af)](),_0x556ab2;}return this['_injector'][_0x1c8297(0x45f)](de,_0x1e4de6,this[_0x1c8297(0x24b)],_0x1aeeaa,_0x14e671,_0x2d5f91);}[_0x259c74(0x211)](_0x513f4a,_0x5b3b47){var _0x415689=_0x259c74,_0x1c3614,_0x6d110d;const _0x1fb789=this[_0x415689(0x229)][_0x415689(0x26e)][_0x415689(0x286)](this['_compressMutationService'][_0x415689(0x26e)][_0x415689(0x1e0)]()[_0x415689(0x3be)]);(_0x1c3614=_0x1fb789((_0x513f4a==null?void 0x0:_0x513f4a[_0x415689(0x3cc)])||[],null))==null||_0x1c3614[_0x415689(0x381)](_0x3b2d09=>this[_0x415689(0x40f)][_0x415689(0x407)](_0x3b2d09['id'],_0x3b2d09[_0x415689(0x473)])),(_0x6d110d=_0x1fb789(_0x5b3b47||[],null))==null||_0x6d110d[_0x415689(0x381)](_0x5e67d1=>this[_0x415689(0x40f)][_0x415689(0x407)](_0x5e67d1['id'],_0x5e67d1['params']));}};st=Pt([$(0x3,_0x479712(_0x27a1da)),$(0x4,_0x479712(_0x1ec69a)),$(0x5,_0x479712(_0x38932f)),$(0x6,_0x479712(_0x4deff2)),$(0x7,_0x479712(ve)),$(0x8,_0x2979fe),$(0x9,_0x597a05),$(0xa,_0x50be79),$(0xb,_0x25e5b9),$(0xc,_0xdd8f64(_t)),$(0xd,_0xdd8f64(J))],st);let It=class extends st{constructor(_0x56711d,_0x342537,_0x336649,_0x5ad0d4,_0x4979ec,_0x51c060,_0x1ac915,_0x31f245,_0x52e866,_0x565e68,_0xa438c0,_0x473bb3,_0x853769,_0x205fb9){var _0x3abc25=_0x259c74;super(_0x56711d,_0x336649,_0x342537,_0x5ad0d4,_0x4979ec,_0x51c060,_0x1ac915,_0x31f245,_0x52e866,_0x565e68,_0xa438c0,_0x473bb3,_0x853769,_0x205fb9),D(this,_0x3abc25(0x1e1),null),(this[_0x3abc25(0x320)]=_0x56711d,this[_0x3abc25(0x403)]=_0x342537);}[_0x259c74(0x178)](_0x5195c9){this['_handlerCallback']=_0x5195c9;}[_0x259c74(0x34b)](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x37efc6=_0x259c74;const _0x4b46d=super[_0x37efc6(0x3c0)]();return _0x4b46d[_0x37efc6(0x3e3)]=_0x3a8c19=>{var _0x30048e=_0x37efc6,_0x24d7cc,_0x4ba243;return(_0x4ba243=(_0x24d7cc=this['_handlerCallback'])==null?void 0x0:_0x24d7cc[_0x30048e(0x3e3)])==null?void 0x0:_0x4ba243[_0x30048e(0x206)](_0x24d7cc,_0x3a8c19);},_0x4b46d[_0x37efc6(0x41b)]=_0x3e6375=>{var _0x27c746=_0x37efc6,_0x5cad3e,_0x5065dc;return(_0x5065dc=(_0x5cad3e=this[_0x27c746(0x1e1)])==null?void 0x0:_0x5cad3e[_0x27c746(0x41b)])==null?void 0x0:_0x5065dc[_0x27c746(0x206)](_0x5cad3e,_0x3e6375);},_0x4b46d[_0x37efc6(0x3d2)]=_0x49bc6e=>{var _0xb6fe3=_0x37efc6,_0x385f31,_0x154db7;return(_0x154db7=(_0x385f31=this[_0xb6fe3(0x1e1)])==null?void 0x0:_0x385f31[_0xb6fe3(0x3d2)])==null?void 0x0:_0x154db7[_0xb6fe3(0x206)](_0x385f31,_0x49bc6e);},_0x4b46d[_0x37efc6(0x34d)]=_0x180f3e=>{var _0x56f6f7=_0x37efc6,_0x1ca5f2,_0x2ce996;return(_0x2ce996=(_0x1ca5f2=this[_0x56f6f7(0x1e1)])==null?void 0x0:_0x1ca5f2[_0x56f6f7(0x34d)])==null?void 0x0:_0x2ce996[_0x56f6f7(0x206)](_0x1ca5f2,_0x180f3e);},_0x4b46d[_0x37efc6(0x3dd)]=_0x296a99=>{var _0x356499=_0x37efc6,_0x4d0ffc,_0x5b8281,_0xfa1dbe;if(!((_0x4d0ffc=this[_0x356499(0x1e1)])!=null&&_0x4d0ffc[_0x356499(0x3dd)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xfa1dbe=(_0x5b8281=this[_0x356499(0x1e1)])==null?void 0x0:_0x5b8281['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xfa1dbe[_0x356499(0x206)](_0x5b8281,_0x296a99);},_0x4b46d[_0x37efc6(0x313)]=_0x2aff3b=>{var _0x4ef524=_0x37efc6,_0x28b17b,_0x375dd3,_0x3bea01;if(!((_0x28b17b=this[_0x4ef524(0x1e1)])!=null&&_0x28b17b['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4ef524(0x21f));return(_0x3bea01=(_0x375dd3=this[_0x4ef524(0x1e1)])==null?void 0x0:_0x375dd3[_0x4ef524(0x313)])==null?void 0x0:_0x3bea01[_0x4ef524(0x206)](_0x375dd3,_0x2aff3b);},_0x4b46d;}async[_0x259c74(0x399)](){var _0x22499a=_0x259c74;const _0x746f75=await super[_0x22499a(0x399)]();return this[_0x22499a(0x369)](this[_0x22499a(0x40f)][_0x22499a(0x3d1)]((_0x4d517f,_0x9de681)=>{var _0x3b92d5=_0x22499a;if(_0x4d517f[_0x3b92d5(0x403)]!==_0xf41ef6[_0x3b92d5(0x314)]||_0x9de681!=null&&_0x9de681[_0x3b92d5(0x357)]||_0x9de681!=null&&_0x9de681['onlyLocal']||_0x4d517f['id']===_0x8784db['id'])return;const _0xc4ac39=_0x4d517f['params'];if((_0xc4ac39==null?void 0x0:_0xc4ac39[_0x3b92d5(0x305)])!==this[_0x3b92d5(0x320)])return;const _0x413c7c=_0x4d517f,_0x49eadb=this[_0x3b92d5(0x229)][_0x3b92d5(0x26e)][_0x3b92d5(0x286)](this[_0x3b92d5(0x229)][_0x3b92d5(0x26e)][_0x3b92d5(0x1e0)]()[_0x3b92d5(0x409)])([_0x413c7c],this[_0x3b92d5(0x284)])||[_0x413c7c];this[_0x3b92d5(0x295)](_0x49eadb[0x0]);})),_0x746f75;}};It=Pt([$(0x3,_0x479712(_0x27a1da)),$(0x4,_0x479712(_0x1ec69a)),$(0x5,_0x479712(_0x38932f)),$(0x6,_0x479712(_0x4deff2)),$(0x7,_0x479712(ve)),$(0x8,_0x2979fe),$(0x9,_0x597a05),$(0xa,_0x50be79),$(0xb,_0x25e5b9),$(0xc,_0xdd8f64(_t)),$(0xd,_0xdd8f64(J))],It);let St=class extends st{constructor(_0x416d6f,_0x1a8090,_0x4a5cd0,_0x1125b2,_0x53e1ba,_0x41ee32,_0xcb156f,_0x3b946a,_0x1d529f,_0x1b3a67,_0x437a13,_0x14882c,_0x51767c,_0x6f8251,_0x28d80f){var _0x448b58=_0x259c74;super(_0x416d6f,_0x4a5cd0,_0x1a8090,_0x1125b2,_0x53e1ba,_0x41ee32,_0xcb156f,_0x1d529f,_0x1b3a67,_0x437a13,_0x14882c,_0x51767c,_0x6f8251,_0x28d80f),this[_0x448b58(0x320)]=_0x416d6f,this[_0x448b58(0x403)]=_0x1a8090,this[_0x448b58(0x16c)]=_0x3b946a;}[_0x259c74(0x3c0)](){var _0x137bc0=_0x259c74;const _0x1d5968=super[_0x137bc0(0x3c0)]();return _0x1d5968[_0x137bc0(0x3d2)]=_0x3a7c75=>this['_sheetTransformSelectionsService'][_0x137bc0(0x18b)](_0x3a7c75),_0x1d5968;}async[_0x259c74(0x399)](){var _0x3d304c=_0x259c74;const _0x1177ca=await super[_0x3d304c(0x399)]();return this[_0x3d304c(0x369)](this[_0x3d304c(0x40f)][_0x3d304c(0x3d1)]((_0x3ab471,_0x1a9601)=>{var _0x99e797=_0x3d304c;if(_0x3ab471[_0x99e797(0x403)]!==_0xf41ef6['MUTATION']||_0x1a9601!=null&&_0x1a9601['fromCollab']||_0x1a9601!=null&&_0x1a9601[_0x99e797(0x201)])return;const _0x26c5ea=_0x3ab471[_0x99e797(0x473)];if((_0x26c5ea==null?void 0x0:_0x26c5ea[_0x99e797(0x305)])!==this[_0x99e797(0x320)])return;const _0x2e43b7=_0x3ab471,_0x3acb59=this[_0x99e797(0x229)][_0x99e797(0x26e)][_0x99e797(0x286)](this['_compressMutationService'][_0x99e797(0x26e)][_0x99e797(0x1e0)]()[_0x99e797(0x409)])([_0x2e43b7],this[_0x99e797(0x284)])||[_0x2e43b7];this[_0x99e797(0x295)](_0x3acb59[0x0]);})),_0x1177ca;}};St=Pt([$(0x3,_0x479712(_0x27a1da)),$(0x4,_0x479712(_0x1ec69a)),$(0x5,_0x479712(_0x38932f)),$(0x6,_0x479712(_0x4deff2)),$(0x7,_0x479712(it)),$(0x8,_0x479712(ve)),$(0x9,_0x2979fe),$(0xa,_0x597a05),$(0xb,_0x50be79),$(0xc,_0x25e5b9),$(0xd,_0xdd8f64(_t)),$(0xe,_0xdd8f64(J))],St);const js=_0x350255(_0x259c74(0x249));function Fs(_0x3033bc){var _0x377be9=_0x259c74,_0x50b5dc,_0x17a435,_0x4f51e8,_0x22380e,_0x15f360;const _0x2a8331=_0x3033bc[_0x377be9(0x3e2)],_0x300b05=JSON['parse'](_0x2a8331);switch(_0x300b05[_0x377be9(0x1fc)]){case F[_0x377be9(0x36d)]:case F[_0x377be9(0x2fc)]:{const _0x1fbc08=_0x300b05['infoRsp'];return{..._0x300b05,'data':_0x1fbc08,'cmd':_0x300b05[_0x377be9(0x1fc)]};}case F[_0x377be9(0x213)]:{const _0x2d2e98=_0x300b05[_0x377be9(0x1b9)];return{..._0x300b05,'data':_0x2d2e98,'cmd':_0x300b05['cmd']};}case F[_0x377be9(0x1aa)]:{const _0x4b6fbe=_0x300b05[_0x377be9(0x199)];switch(_0x4b6fbe[_0x377be9(0x168)]){case _0x6aadf0[_0x377be9(0x45a)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x50b5dc=_0x4b6fbe[_0x377be9(0x233)])==null?void 0x0:_0x50b5dc['cs']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0['CHANGESET_ACK']:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x17a435=_0x4b6fbe['csAckEvent'])==null?void 0x0:_0x17a435['cs']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x442)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x4f51e8=_0x4b6fbe['newCsEvent'])==null?void 0x0:_0x4f51e8['cs']},'cmd':_0x300b05['cmd']};case _0x6aadf0[_0x377be9(0x419)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x22380e=_0x4b6fbe[_0x377be9(0x35f)])==null?void 0x0:_0x22380e['cs']},'cmd':_0x300b05['cmd']};case _0x6aadf0['CHANGESET_SHOULD_RETRY']:return{..._0x300b05,'data':{..._0x4b6fbe,'data':(_0x15f360=_0x4b6fbe['csShouldRetryEvent'])==null?void 0x0:_0x15f360['cs']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x414)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x428)]},'cmd':_0x300b05['cmd']};case _0x6aadf0[_0x377be9(0x3f4)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe['joinEvent']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x3c6)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe['leaveEvent']},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x1d5)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x1b2)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x430)]:case _0x6aadf0[_0x377be9(0x464)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x296)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x342)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x1b2)]},'cmd':_0x300b05['cmd']};case _0x6aadf0[_0x377be9(0x299)]:return{..._0x300b05,'data':_0x4b6fbe,'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x282)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x354)]},'cmd':_0x300b05['cmd']};case _0x6aadf0[_0x377be9(0x427)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x221)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0['SHOULD_CLOSE_CONN']:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x292)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};case _0x6aadf0[_0x377be9(0x361)]:return{..._0x300b05,'data':{..._0x4b6fbe,'data':_0x4b6fbe[_0x377be9(0x20f)]},'cmd':_0x300b05[_0x377be9(0x1fc)]};default:return _0x300b05;}}default:return _0x300b05;}}function Vs(_0x26501c){var _0x40e3d0=_0x259c74;switch(_0x26501c[_0x40e3d0(0x1fc)]){case F[_0x40e3d0(0x36d)]:case F[_0x40e3d0(0x2fc)]:return JSON['stringify']({'cmd':_0x26501c[_0x40e3d0(0x1fc)],'routeKey':_0x26501c[_0x40e3d0(0x3d6)]});case F[_0x40e3d0(0x466)]:{let _0x243884;switch(_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x168)]){case _0x6aadf0[_0x40e3d0(0x414)]:{_0x243884={'eventID':_0x6aadf0['UPDATE_CURSOR'],'updateCursorEvent':_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0[_0x40e3d0(0x3c6)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x3c6)],'leaveEvent':_0x26501c['data'][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0[_0x40e3d0(0x3f4)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x3f4)],'joinEvent':_0x26501c[_0x40e3d0(0x3e2)]['data']};break;}case _0x6aadf0[_0x40e3d0(0x1d5)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x1d5)],'liveShareNewHost':_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0[_0x40e3d0(0x464)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x464)],'liveShareOperation':_0x26501c[_0x40e3d0(0x3e2)]['data']};break;}case _0x6aadf0[_0x40e3d0(0x342)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x342)],'liveShareTerminate':_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0[_0x40e3d0(0x43e)]:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x43e)],'liveShareRequestHost':_0x26501c[_0x40e3d0(0x3e2)][_0x40e3d0(0x3e2)]};break;}case _0x6aadf0['LIVESHARE_FETCH_OPERATIONS']:{_0x243884={'eventID':_0x6aadf0[_0x40e3d0(0x430)]};break;}default:_0x243884={'eventID':_0x26501c['data'][_0x40e3d0(0x168)]};}return JSON['stringify']({'cmd':_0x26501c[_0x40e3d0(0x1fc)],'routeKey':_0x26501c[_0x40e3d0(0x3d6)],'collaMsg':_0x243884});}case F[_0x40e3d0(0x213)]:return JSON[_0x40e3d0(0x2a5)]({'cmd':_0x26501c[_0x40e3d0(0x1fc)],'routeKey':_0x26501c[_0x40e3d0(0x3d6)],'joinReq':_0x26501c['data']});case F[_0x40e3d0(0x262)]:return JSON[_0x40e3d0(0x2a5)]({'cmd':_0x26501c[_0x40e3d0(0x1fc)],'routeKey':_0x26501c['routeKey'],'leaveReq':_0x26501c[_0x40e3d0(0x3e2)]});default:throw new Error(_0x40e3d0(0x3e5));}}var Gs=Object['getOwnPropertyDescriptor'],Ws=(_0x81b2d8,_0x3c1bcf,_0x377930,_0x4fcfb5)=>{var _0x1ae5b5=_0x259c74;for(var _0x232540=_0x4fcfb5>0x1?void 0x0:_0x4fcfb5?Gs(_0x3c1bcf,_0x377930):_0x3c1bcf,_0x14ff92=_0x81b2d8[_0x1ae5b5(0x418)]-0x1,_0x26a4fc;_0x14ff92>=0x0;_0x14ff92--)(_0x26a4fc=_0x81b2d8[_0x14ff92])&&(_0x232540=_0x26a4fc(_0x232540)||_0x232540);return _0x232540;},ye=(_0x31cbf5,_0x1d310e)=>(_0x4b7082,_0x324f7a)=>_0x1d310e(_0x4b7082,_0x324f7a,_0x31cbf5);const Oi=_0x350255(_0x259c74(0x1a4));function Ys(_0x2902f8,_0x419a13,_0x52f785){var _0x1c20d0=_0x259c74;return _0x2902f8+'/'+_0x419a13+_0x1c20d0(0x185)+_0x52f785+_0x1c20d0(0x2ba);}let Wt=class extends _0x24b22e{constructor(_0x3a5fd4,_0x4bf14d,_0xcf9694,_0x1653f2,_0x40b7a0){var _0x38d876=_0x259c74;super(),this[_0x38d876(0x450)]=_0x3a5fd4,this['_httpService']=_0x4bf14d,this['_configService']=_0xcf9694,this['_logService']=_0x1653f2,this['_snapshotServerService']=_0x40b7a0;}['_doCreateSocket'](_0x2694ac){var _0x48b728=_0x259c74;const _0x42a482=this[_0x48b728(0x450)][_0x48b728(0x30f)](_0x46b1d5);if(!_0x42a482)throw new Error(_0x48b728(0x335));const _0x19bd78=_0x42a482[_0x48b728(0x277)](_0x2694ac);if(!_0x19bd78)throw new Error(_0x48b728(0x3fc));const _0x70de60=new _0x233c34(),_0xc3b508=new _0x4fab98();_0x70de60[_0x48b728(0x402)](_0x19bd78[_0x48b728(0x350)][_0x48b728(0x322)](_0xe1a7f4=>_0xc3b508[_0x48b728(0x210)](_0xe1a7f4))),_0x70de60['add'](_0x52a6fa(()=>_0xc3b508['complete']()));const _0x35e159=new _0x4fab98();_0x70de60[_0x48b728(0x402)](_0x19bd78[_0x48b728(0x2e4)][_0x48b728(0x322)](_0x38a57b=>_0x35e159[_0x48b728(0x210)](_0x38a57b))),_0x70de60[_0x48b728(0x402)](_0x52a6fa(()=>_0x35e159[_0x48b728(0x2fb)]()));const _0x3d8abf=new _0x4fab98();_0x70de60['add'](_0x19bd78[_0x48b728(0x408)][_0x48b728(0x322)](_0x3aa250=>{var _0x12bf38=_0x48b728;const _0x3b89c2=Fs(_0x3aa250);_0x3d8abf[_0x12bf38(0x210)](_0x3b89c2);})),_0x70de60[_0x48b728(0x402)](_0x52a6fa(()=>_0x3d8abf[_0x48b728(0x2fb)]()));let _0x292644;const _0x1ce2fd=()=>{var _0x41eaf4=_0x48b728;_0x35e159['next'](new Event(_0x41eaf4(0x3c9))),_0xc3b508[_0x41eaf4(0x210)](new Event(_0x41eaf4(0x3c9))),_0x292644[_0x41eaf4(0x301)]();};return _0x292644={'memberID':'','close$':_0xc3b508[_0x48b728(0x37d)](),'error$':_0x35e159[_0x48b728(0x37d)](),'open$':_0x19bd78['open$'],'message$':_0x3d8abf['asObservable'](),'send':_0x531513=>{var _0x4cd3dd=_0x48b728;if(_0x531513['cmd']===F[_0x4cd3dd(0x466)]){if(_0x531513[_0x4cd3dd(0x3e2)]['eventID']===_0x6aadf0[_0x4cd3dd(0x329)]){this['_submitChangeset'](_0x292644,_0x531513[_0x4cd3dd(0x3e2)])[_0x4cd3dd(0x24f)](_0x2d1dbd=>{var _0x338f46=_0x4cd3dd;this['_logService'][_0x338f46(0x331)](_0x2d1dbd),_0x1ce2fd();});return;}if(_0x531513['data']['eventID']===_0x6aadf0[_0x4cd3dd(0x250)]){const _0x3f3377=_0x531513[_0x4cd3dd(0x3e2)];this['_fetchMissChangesets'](_0x3f3377)[_0x4cd3dd(0x387)](_0x36d463=>{var _0x26dece=_0x4cd3dd;_0x3d8abf[_0x26dece(0x210)]({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0x3f3377[_0x26dece(0x3e2)][_0x26dece(0x320)],'routeType':'','data':{'eventID':_0x6aadf0[_0x26dece(0x2ab)],'data':{'changesets':_0x36d463}}});})[_0x4cd3dd(0x24f)](_0x3a2bdb=>{var _0x3cdc13=_0x4cd3dd;this[_0x3cdc13(0x29c)][_0x3cdc13(0x331)](_0x3a2bdb),_0x1ce2fd();});return;}}_0x19bd78[_0x4cd3dd(0x240)](Vs(_0x531513));},'close':()=>{var _0x1d9090=_0x48b728;_0x19bd78['close'](),_0x70de60[_0x1d9090(0x34b)]();}},_0x292644;}async['_submitChangeset'](_0x210108,_0x2240d4){var _0x5d2a80=_0x259c74,_0x3078aa;const {unitType:_0x22c3d7,unitID:_0x234d18,changeset:_0x2ae256}=_0x2240d4['data'],_0x1f4560={'unitID':_0x234d18,'memberID':_0x210108[_0x5d2a80(0x39f)],'type':_0x22c3d7,'changeset':_0x439747(_0x2ae256)},_0x59b71d=this['_configService']['getConfig'](K),_0x7d02cf=Ys((_0x3078aa=_0x59b71d==null?void 0x0:_0x59b71d['collabSubmitChangesetUrl'])!=null?_0x3078aa:Os,_0x22c3d7,_0x234d18);try{await this[_0x5d2a80(0x22f)][_0x5d2a80(0x3c3)](_0x7d02cf,{'body':_0x1f4560});}catch(_0x1e304a){throw this[_0x5d2a80(0x29c)][_0x5d2a80(0x331)]('[CollaborationSession]',_0x5d2a80(0x46c)),_0x1e304a;}}async[_0x259c74(0x1da)](_0x24f6ef){var _0x65d608=_0x259c74;const {unitID:_0x4559a7,from:_0x238d95,to:_0x4207d1,unitType:_0x2d71c8}=_0x24f6ef[_0x65d608(0x3e2)];return(await this[_0x65d608(0x3d4)][_0x65d608(0x28c)]({'metadata':void 0x0},{'unitID':_0x4559a7,'type':_0x2d71c8,'from':_0x238d95,'to':_0x4207d1}))[_0x65d608(0x30c)];}};Wt=Ws([ye(0x0,_0x479712(_0x27a1da)),ye(0x1,_0x479712(_0x44cd1e)),ye(0x2,_0x5dd738),ye(0x3,_0x597a05),ye(0x4,_0x27e841)],Wt);var Ks=Object[_0x259c74(0x268)],qs=(_0x502417,_0x1685b0,_0xb5a88f,_0x40d0db)=>{var _0x400a2e=_0x259c74;for(var _0x1f5898=_0x40d0db>0x1?void 0x0:_0x40d0db?Ks(_0x1685b0,_0xb5a88f):_0x1685b0,_0x5d0291=_0x502417[_0x400a2e(0x418)]-0x1,_0x36538c;_0x5d0291>=0x0;_0x5d0291--)(_0x36538c=_0x502417[_0x5d0291])&&(_0x1f5898=_0x36538c(_0x1f5898)||_0x1f5898);return _0x1f5898;},Re=(_0x5d774c,_0x71ef88)=>(_0x1231db,_0x26051a)=>_0x71ef88(_0x1231db,_0x26051a,_0x5d774c);let we=class extends _0x24b22e{constructor(_0x2a3a91,_0x31f2a6,_0xe234b3,_0x3b5d66,_0x66085c,_0x5c16b1){var _0x5d240b=_0x259c74;super(),D(this,_0x5d240b(0x3b0),new _0x5ac99c(void 0x0)),D(this,'socket$',this['_socket$'][_0x5d240b(0x37d)]()),D(this,'_candidateSocket',null),D(this,_0x5d240b(0x2eb),new Map()),D(this,_0x5d240b(0x36e),new _0x5ac99c(me[_0x5d240b(0x294)])),D(this,'status$',this[_0x5d240b(0x36e)][_0x5d240b(0x37d)]()),D(this,_0x5d240b(0x2af),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x5d240b(0x202),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x5d240b(0x2db)),(this['_injector']=_0x2a3a91,this['_logService']=_0x31f2a6,this['_configService']=_0xe234b3,this['_socketService']=_0x3b5d66,this[_0x5d240b(0x3ca)]=_0x66085c,this[_0x5d240b(0x2cd)]=_0x5c16b1,this[_0x5d240b(0x166)]());}get[_0x259c74(0x2fd)](){var _0x1c238f=_0x259c74;return this['_socket$'][_0x1c238f(0x38d)]();}['_listenToNetworkCondition'](){var _0x32330c=_0x259c74;this[_0x32330c(0x2cd)]&&this[_0x32330c(0x369)](this[_0x32330c(0x2cd)][_0x32330c(0x18e)][_0x32330c(0x322)](_0x2ba756=>{var _0x469b3c=_0x32330c;_0x2ba756&&!this[_0x469b3c(0x2fd)]&&this[_0x469b3c(0x1d0)](),_0x2ba756||this[_0x469b3c(0x253)]();}));}[_0x259c74(0x34b)](){var _0x31d0cf=_0x259c74;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x31d0cf(0x386)](),this[_0x31d0cf(0x308)](),this[_0x31d0cf(0x2eb)]['forEach'](_0x5adfa7=>_0x5adfa7[_0x31d0cf(0x34b)]()),this[_0x31d0cf(0x2eb)][_0x31d0cf(0x189)](),this[_0x31d0cf(0x36e)]['complete']();}async['requireSession'](_0x382cd0){var _0x56cbe2=_0x259c74;if(this[_0x56cbe2(0x2eb)][_0x56cbe2(0x2dc)](_0x382cd0))return this[_0x56cbe2(0x2eb)][_0x56cbe2(0x30f)](_0x382cd0);this[_0x56cbe2(0x3d9)]();const _0x22d6d8=this['_injector']['createInstance'](mt,_0x382cd0,this[_0x56cbe2(0x3b0)][_0x56cbe2(0x37d)]());return this[_0x56cbe2(0x2eb)]['set'](_0x382cd0,_0x22d6d8),_0x22d6d8;}[_0x259c74(0x2dd)](_0x87ed57){var _0x345578=_0x259c74,_0x5e2cea;const _0x36c2c0=this[_0x345578(0x2eb)][_0x345578(0x30f)](_0x87ed57);_0x36c2c0&&(this[_0x345578(0x2eb)][_0x345578(0x1de)](_0x87ed57),_0x36c2c0['close']()),this[_0x345578(0x2eb)][_0x345578(0x212)]||(_0x5e2cea=this[_0x345578(0x2fd)])==null||_0x5e2cea[_0x345578(0x301)]();}[_0x259c74(0x1d0)](){var _0x516f91=_0x259c74;this[_0x516f91(0x202)]=0x0,this[_0x516f91(0x270)](),this[_0x516f91(0x353)]();}[_0x259c74(0x270)](){var _0x5a8ef5=_0x259c74;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5a8ef5(0x2d7)]),this[_0x5a8ef5(0x2d7)]=null);}async[_0x259c74(0x18c)](){var _0x3ccfc7=_0x259c74,_0x241f65;const _0x1fb9ef=this['_configService'][_0x3ccfc7(0x23c)](K),_0x319c5a=(_0x241f65=_0x1fb9ef==null?void 0x0:_0x1fb9ef[_0x3ccfc7(0x1c6)])!=null?_0x241f65:Es,_0x263095=await this['_socketService']['createSocket'](_0x319c5a);return this['_candidateSocket']=_0x263095,_0x263095;}async[_0x259c74(0x3d9)](){var _0x5099d7=_0x259c74,_0x2af0ad,_0x340d12;try{const _0x54dc57=(_0x340d12=(_0x2af0ad=this[_0x5099d7(0x2fd)])!=null?_0x2af0ad:this['_candidateSocket'])!=null?_0x340d12:await this[_0x5099d7(0x18c)]();if(_0x54dc57){const _0x2222df=_0x54dc57['send'];_0x54dc57[_0x5099d7(0x240)]=_0x32ccc0=>(this[_0x5099d7(0x44f)](),_0x2222df[_0x5099d7(0x360)](_0x54dc57,[_0x32ccc0])),_0x54dc57[_0x5099d7(0x408)][_0x5099d7(0x322)](_0x1618a8=>this[_0x5099d7(0x1e3)](_0x54dc57,_0x1618a8)),_0x54dc57[_0x5099d7(0x2e4)]['pipe'](_0x2d868f(0x1))[_0x5099d7(0x322)](_0x5850cc=>this[_0x5099d7(0x29c)][_0x5099d7(0x331)](_0x5099d7(0x18d),_0x5850cc)),_0x54dc57[_0x5099d7(0x3d0)]['pipe'](_0x2d868f(0x1))[_0x5099d7(0x322)](()=>{var _0x2c6e2c=_0x5099d7;this[_0x2c6e2c(0x1eb)](_0x54dc57);}),_0x54dc57[_0x5099d7(0x350)][_0x5099d7(0x28f)](_0x2d868f(0x1))['subscribe'](_0x1046c0=>{var _0x5c7947=_0x5099d7;this[_0x5c7947(0x29c)][_0x5c7947(0x448)](_0x5c7947(0x2f4),_0x5c7947(0x3ef),_0x1046c0),this[_0x5c7947(0x1c4)]();});}}catch(_0x3742d9){this[_0x5099d7(0x29c)][_0x5099d7(0x331)](_0x3742d9),this[_0x5099d7(0x1c4)]();}}[_0x259c74(0x1eb)](_0x19956f){var _0x19b656=_0x259c74;this[_0x19b656(0x29c)][_0x19b656(0x448)]('[CollaborationSessionService]','socket\x20open.'),_0x19956f[_0x19b656(0x240)]({'cmd':F[_0x19b656(0x2fc)]}),this[_0x19b656(0x44f)]();}[_0x259c74(0x253)](){var _0x3144f8=_0x259c74;this['_socketReady']=!0x1,this[_0x3144f8(0x454)]=null,this['_status$'][_0x3144f8(0x210)](me[_0x3144f8(0x1a5)]),this[_0x3144f8(0x3b0)][_0x3144f8(0x210)](null),this['_clearTimeoutTimer'](),this[_0x3144f8(0x308)]();}[_0x259c74(0x1c4)](){var _0x339437=_0x259c74,_0x513626;this['_onOffline'](),this[_0x339437(0x202)]<((_0x513626=this[_0x339437(0x2ec)][_0x339437(0x23c)](gs))!=null?_0x513626:Ts)?(this['_collaborationUIEventService']['emitEvent']({'id':re[_0x339437(0x435)]}),this[_0x339437(0x353)]()):this[_0x339437(0x3ca)][_0x339437(0x29b)]({'id':re['SOCKET_FAILED']});}[_0x259c74(0x353)](){var _0x44874e=_0x259c74,_0x48ae1e;const _0x4f820c=this[_0x44874e(0x202)],_0x1ecd84=this[_0x44874e(0x2ec)]['getConfig'](K),_0x5bbb2b=_0x4f820c===0x0?0x0:((_0x48ae1e=_0x1ecd84==null?void 0x0:_0x1ecd84['retryConnectingInterval'])!=null?_0x48ae1e:Ss)*0x2**_0x4f820c;this[_0x44874e(0x2d7)]=setTimeout(()=>{var _0x38c08b=_0x44874e;clearTimeout(this['_retryConnectingTimer']),this[_0x38c08b(0x2d7)]=null,this[_0x38c08b(0x3d9)]();},_0x5bbb2b),this[_0x44874e(0x202)]+=0x1;}[_0x259c74(0x1e3)](_0xf8e536,_0xe9602d){var _0x571eff=_0x259c74;const {cmd:_0x584178}=_0xe9602d;_0x584178===F[_0x571eff(0x2fc)]&&!this[_0x571eff(0x2af)]&&(_0xf8e536[_0x571eff(0x39f)]=_0xe9602d['data']['memberID'],this[_0x571eff(0x3b0)][_0x571eff(0x210)](_0xf8e536),this[_0x571eff(0x36e)][_0x571eff(0x210)](me[_0x571eff(0x3ee)]),this[_0x571eff(0x2af)]=!0x0,this[_0x571eff(0x454)]=null),_0x584178===F[_0x571eff(0x36d)]&&this[_0x571eff(0x386)](),this[_0x571eff(0x44f)]();}[_0x259c74(0x44f)](){var _0x2ade96=_0x259c74,_0x3c7eb8;this[_0x2ade96(0x308)](),this[_0x2ade96(0x32c)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x3c7eb8=this[_0x2ade96(0x2ec)][_0x2ade96(0x23c)](ms))!=null?_0x3c7eb8:Is);}[_0x259c74(0x3ce)](){var _0x42ab87=_0x259c74;this[_0x42ab87(0x2fd)][_0x42ab87(0x240)]({'cmd':F['HEARTBEAT']}),this[_0x42ab87(0x276)]();}[_0x259c74(0x276)](){var _0xf844da=_0x259c74,_0xc41ac;this['_timeoutTimer']=setTimeout(()=>this[_0xf844da(0x1c4)](),(_0xc41ac=this['_configService']['getConfig'](di))!=null?_0xc41ac:fi);}[_0x259c74(0x308)](){var _0x2553b0=_0x259c74;this[_0x2553b0(0x32c)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2553b0(0x32c)]=null);}[_0x259c74(0x386)](){var _0x4e98dc=_0x259c74;this[_0x4e98dc(0x2db)]!=null&&(clearTimeout(this[_0x4e98dc(0x2db)]),this['_timeoutTimer']=null);}};we=qs([Re(0x0,_0x479712(_0x27a1da)),Re(0x1,_0x597a05),Re(0x2,_0x5dd738),Re(0x3,Oi),Re(0x4,_0x479712(ve)),Re(0x5,_0xdd8f64(js))],we);var zs=Object[_0x259c74(0x268)],Js=(_0x1156ca,_0x3b79ea,_0x4893fb,_0x1fe95f)=>{for(var _0x58145f=_0x1fe95f>0x1?void 0x0:_0x1fe95f?zs(_0x3b79ea,_0x4893fb):_0x3b79ea,_0x35b5e3=_0x1156ca['length']-0x1,_0x377395;_0x35b5e3>=0x0;_0x35b5e3--)(_0x377395=_0x1156ca[_0x35b5e3])&&(_0x58145f=_0x377395(_0x58145f)||_0x58145f);return _0x58145f;},Be=(_0x32d699,_0x5b6484)=>(_0x388856,_0x2fb2e4)=>_0x5b6484(_0x388856,_0x2fb2e4,_0x32d699);let nt=class extends _0x271f03{constructor(_0x51a29c,_0x278fe6,_0x550d38,_0x56c9f9){var _0x4bde29=_0x259c74,_0x192183;super(),D(this,_0x4bde29(0x298),new Map()),D(this,_0x4bde29(0x45d),new _0x4fab98()),D(this,_0x4bde29(0x1e6),this['_entityInit$']['asObservable']()),(this[_0x4bde29(0x450)]=_0x51a29c,this[_0x4bde29(0x451)]=_0x278fe6,this['_configService']=_0x550d38,this[_0x4bde29(0x284)]=_0x56c9f9,((_0x192183=this['_configService'][_0x4bde29(0x23c)](K))==null?void 0x0:_0x192183[_0x4bde29(0x438)])!==!0x1&&this[_0x4bde29(0x399)]());}['dispose'](){var _0x34637d=_0x259c74;super[_0x34637d(0x34b)](),this[_0x34637d(0x298)]['forEach'](_0x5062f4=>_0x5062f4[_0x34637d(0x34b)]()),this[_0x34637d(0x298)][_0x34637d(0x189)]();}[_0x259c74(0x413)](_0x294ea0){var _0x4a6022=_0x259c74,_0x567a39;return(_0x567a39=this[_0x4a6022(0x298)]['get'](_0x294ea0))!=null?_0x567a39:null;}['getCollabEntity$'](_0x5d54d3){var _0x360d47=_0x259c74;const _0x1172de=this[_0x360d47(0x413)](_0x5d54d3);return _0x1172de?_0x57b435(_0x1172de):this['_entityInit$'][_0x360d47(0x28f)](_0x21080c(_0x18cce0=>_0x18cce0['unitID']===_0x5d54d3));}[_0x259c74(0x3c4)](_0x57da87){var _0x1b32d6=_0x259c74;return _0x1d959e(this[_0x1b32d6(0x280)](_0x57da87)[_0x1b32d6(0x28f)](_0x56a673(()=>{})));}[_0x259c74(0x399)](){var _0x43899e=_0x259c74;this[_0x43899e(0x284)][_0x43899e(0x1ba)](_0x33434f['UNIVER_SHEET'])[_0x43899e(0x28f)](_0x333488(this[_0x43899e(0x22b)]),_0x1308f9(0x10))[_0x43899e(0x322)](async _0x52c05a=>{var _0x3c3c4f=_0x43899e;const _0xa16e10=_0x52c05a['getUnitId'](),_0xb8344a=await this[_0x3c3c4f(0x3fd)](_0xa16e10,Q['UNIVER_SHEET']);this[_0x3c3c4f(0x298)][_0x3c3c4f(0x351)](_0xa16e10,_0xb8344a);}),this['_univerInstanceService'][_0x43899e(0x1ba)](_0x33434f[_0x43899e(0x42f)])[_0x43899e(0x28f)](_0x333488(this[_0x43899e(0x22b)]),_0x1308f9(0x10))['pipe'](_0x21080c(_0x248395=>!_0x248395[_0x43899e(0x395)]()[_0x43899e(0x3a3)]('__')))[_0x43899e(0x322)](async _0x48aee1=>{var _0x309153=_0x43899e;const _0x599e31=_0x48aee1[_0x309153(0x395)](),_0x5c948a=await this[_0x309153(0x3fd)](_0x599e31,Q['UNIVER_DOC']);this['_entities'][_0x309153(0x351)](_0x599e31,_0x5c948a);}),_0x3142f5(this['_univerInstanceService'][_0x43899e(0x26d)](_0x33434f[_0x43899e(0x19d)]),this[_0x43899e(0x284)]['getTypeOfUnitDisposed$'](_0x33434f[_0x43899e(0x42f)]))['pipe'](_0x333488(this[_0x43899e(0x22b)]))[_0x43899e(0x322)](_0x4044b6=>{var _0x1cdbc7=_0x43899e;const _0x3c1b2d=_0x4044b6[_0x1cdbc7(0x395)](),_0x1cc3a8=this[_0x1cdbc7(0x298)][_0x1cdbc7(0x30f)](_0x3c1b2d);_0x1cc3a8&&(_0x1cc3a8['dispose'](),this[_0x1cdbc7(0x298)][_0x1cdbc7(0x1de)](_0x3c1b2d));});}async[_0x259c74(0x3fd)](_0x408f35,_0x5297a9){var _0x1720cb=_0x259c74;const _0x3763fe=await this[_0x1720cb(0x451)][_0x1720cb(0x2c5)](_0x408f35),_0x4267e7=this[_0x1720cb(0x450)][_0x1720cb(0x45f)](this['_getCtorByUniverType'](_0x5297a9),_0x408f35,_0x5297a9,_0x3763fe);return await _0x4267e7[_0x1720cb(0x258)](),this[_0x1720cb(0x45d)][_0x1720cb(0x210)](_0x4267e7),_0x4267e7;}['_getCtorByUniverType'](_0x17ed3e){var _0x1e0a35=_0x259c74;switch(_0x17ed3e){case Q['UNIVER_DOC']:return It;case Q[_0x1e0a35(0x19d)]:return St;default:throw new Error(_0x1e0a35(0x17f)+_0x17ed3e);}}};nt=Js([Be(0x0,_0x479712(_0x27a1da)),Be(0x1,_0x479712(we)),Be(0x2,_0x5dd738),Be(0x3,_0x2979fe)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x200c2b,_0x17aa1d,_0x48d88f,_0x3e4918)=>{var _0x390f29=_0x259c74;for(var _0x4cf0a3=_0x3e4918>0x1?void 0x0:_0x3e4918?Xs(_0x17aa1d,_0x48d88f):_0x17aa1d,_0x399065=_0x200c2b[_0x390f29(0x418)]-0x1,_0x38365d;_0x399065>=0x0;_0x399065--)(_0x38365d=_0x200c2b[_0x399065])&&(_0x4cf0a3=_0x38365d(_0x4cf0a3)||_0x4cf0a3);return _0x4cf0a3;},Yt=(_0x30d8b6,_0x53cb88)=>(_0x35ee0d,_0x4d8160)=>_0x53cb88(_0x35ee0d,_0x4d8160,_0x30d8b6);const Qs='DEFAULT_FILE_NAME',en=_0x259c74(0x2ce);let gt=class extends _0x24b22e{constructor(_0x2c9052,_0x436f58){var _0x5be476=_0x259c74;super(),this['_univerInstanceService']=_0x2c9052,this[_0x5be476(0x2ec)]=_0x436f58,this['_init']();}['_init'](){var _0x39163b=_0x259c74;this[_0x39163b(0x369)](this[_0x39163b(0x284)]['focused$'][_0x39163b(0x322)](()=>{var _0x358ce9=_0x39163b,_0x256684;const _0x29b761=this[_0x358ce9(0x284)][_0x358ce9(0x318)]();let _0xd35543=(_0x256684=this[_0x358ce9(0x2ec)][_0x358ce9(0x23c)](Qs))!=null?_0x256684:en;_0x29b761 instanceof _0x2fdb3b&&(_0xd35543=_0x29b761[_0x358ce9(0x330)]),document[_0x358ce9(0x436)]=_0xd35543;}));}};gt=Zs([Yt(0x0,_0x2979fe),Yt(0x1,_0x5dd738)],gt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x24a0ce,_0x2644ca,_0x1a4023,_0x48f0da)=>{for(var _0x517430=_0x48f0da>0x1?void 0x0:_0x48f0da?tn(_0x2644ca,_0x1a4023):_0x2644ca,_0xd7a879=_0x24a0ce['length']-0x1,_0x3e0cea;_0xd7a879>=0x0;_0xd7a879--)(_0x3e0cea=_0x24a0ce[_0xd7a879])&&(_0x517430=_0x3e0cea(_0x517430)||_0x517430);return _0x517430;},dt=(_0x4e25ad,_0x3e0135)=>(_0x42dc46,_0x3112bb)=>_0x3e0135(_0x42dc46,_0x3112bb,_0x4e25ad);let rt=class{constructor(_0x3385dc,_0x13a11e,_0xbcd0d4){var _0x3877b8=_0x259c74;this[_0x3877b8(0x2ec)]=_0x3385dc,this[_0x3877b8(0x22f)]=_0x13a11e,this['localeService']=_0xbcd0d4,this[_0x3877b8(0x258)]();}[_0x259c74(0x258)](){var _0x503955=_0x259c74;this[_0x503955(0x22f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5294c0,_0x281372)=>_0x281372(_0x5294c0)['pipe'](_0xbab88(async _0x29264f=>{var _0xa047e1=_0x503955;const _0x1224ac=_0x29264f;if(_0x1224ac[_0xa047e1(0x222)]===0x191){if(typeof window>'u')throw new Error(_0xa047e1(0x346));if(window[_0xa047e1(0x2bb)](this[_0xa047e1(0x382)]['t'](_0xa047e1(0x1b0)))){const _0x12ae32=window[_0xa047e1(0x2d2)](window[_0xa047e1(0x43c)][_0xa047e1(0x1a8)]);window['location'][_0xa047e1(0x1a8)]=this[_0xa047e1(0x370)]()+_0xa047e1(0x2d0)+_0x12ae32;}}return _0x1224ac;}))});}['_getLoginPath'](){var _0x3d536f=_0x259c74,_0x225733;const _0x887262=this[_0x3d536f(0x2ec)][_0x3d536f(0x23c)](K);return(_0x225733=_0x887262==null?void 0x0:_0x887262['loginUrlKey'])!=null?_0x225733:Rs;}};rt=sn([dt(0x0,_0x5dd738),dt(0x1,_0x479712(_0x44cd1e)),dt(0x2,_0x479712(_0x38932f))],rt);var nn=Object[_0x259c74(0x268)],rn=(_0xc60c39,_0x1b1ed0,_0x143474,_0x28f87a)=>{for(var _0x318ebb=_0x28f87a>0x1?void 0x0:_0x28f87a?nn(_0x1b1ed0,_0x143474):_0x1b1ed0,_0x2cdc85=_0xc60c39['length']-0x1,_0x434c5e;_0x2cdc85>=0x0;_0x2cdc85--)(_0x434c5e=_0xc60c39[_0x2cdc85])&&(_0x318ebb=_0x434c5e(_0x318ebb)||_0x318ebb);return _0x318ebb;},Kt=(_0x293753,_0x439953)=>(_0x5d4917,_0x52d0f4)=>_0x439953(_0x5d4917,_0x52d0f4,_0x293753);const an='/universer-api/authz';let Tt=class extends _0x24b22e{constructor(_0x18fc27,_0xde4daf){var _0x40670a=_0x259c74;super(),this[_0x40670a(0x339)]=_0x18fc27,this[_0x40670a(0x2ec)]=_0xde4daf,this[_0x40670a(0x316)]();}['_initMergeInterceptor'](){var _0x392b25=_0x259c74;const _0x3e83f5=this;this[_0x392b25(0x369)](this[_0x392b25(0x339)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x18ee90({'isMatch'(_0xb0bc23){var _0x585cbe=_0x392b25,_0x12930f;if(_0xb0bc23['method']===_0x585cbe(0x42e)&&((_0x12930f=_0xb0bc23[_0x585cbe(0x2be)])!=null&&_0x12930f[_0x585cbe(0x3b3)])){const {objectID:_0x146645,objectType:_0xdac2df}=_0xb0bc23[_0x585cbe(0x2be)]['body']||{};if(!_0x146645||_0xdac2df===void 0x0)return!0x1;const _0x4c1c40=_0x3e83f5[_0x585cbe(0x2ae)]()+'/'+_0xdac2df+'/object/'+_0x146645+_0x585cbe(0x19b);if(_0xb0bc23[_0x585cbe(0x293)]===_0x4c1c40)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x206e17){var _0x385653;return(_0x385653=_0x206e17['requestParams'])==null?void 0x0:_0x385653['body'];},'mergeParamsToRequest'(_0x48911d,_0x582169){var _0x2f8d4f=_0x392b25;const _0x28f3eb=_0x3e83f5['_getAPIPrefixPath']()+_0x2f8d4f(0x181),_0x46d51c=_0x48911d[_0x2f8d4f(0x2d8)]((_0x33cf5c,_0x3d8ca6)=>{var _0x2f87f4=_0x2f8d4f;const {unitID:_0xa9e337,objectID:_0x30a18e,objectType:_0x297570,actions:_0x108085}=_0x3d8ca6;return _0x33cf5c[_0xa9e337]||(_0x33cf5c[_0xa9e337]={}),_0x33cf5c[_0xa9e337][_0x30a18e]||(_0x33cf5c[_0xa9e337][_0x30a18e]={'objectID':_0x30a18e,'objectType':_0x297570,'actions':[]}),_0x33cf5c[_0xa9e337][_0x30a18e][_0x2f87f4(0x1ab)][_0x2f87f4(0x2c3)](..._0x108085),_0x33cf5c;},{}),_0x1371a9=[];for(const _0x360df8 in _0x46d51c)for(const _0x5f55d7 in _0x46d51c[_0x360df8]){const {actions:_0xa5fe68,objectType:_0x5839b6}=_0x46d51c[_0x360df8][_0x5f55d7],_0x340c45=[...new Set(_0xa5fe68)];_0x1371a9['push']({'unitID':_0x360df8,'objectID':_0x5f55d7,'objectType':_0x5839b6,'actions':_0x340c45});}return new _0x3b63e4(_0x2f8d4f(0x42e),_0x28f3eb,{'headers':_0x582169[_0x2f8d4f(0x1d7)],'withCredentials':_0x582169[_0x2f8d4f(0x288)],'responseType':_0x582169[_0x2f8d4f(0x42b)],'body':{'requests':_0x1371a9}});}},{'distributeResult'(_0x4548ac,_0x3d9576){var _0x3e49e0=_0x392b25;const {objectActions:_0x32cf8b}=_0x4548ac;return _0x3d9576[_0x3e49e0(0x1ae)](_0x2d583b=>{var _0x332100=_0x3e49e0;const {unitID:_0x2c5b6f,objectID:_0x31e1ca,actions:_0x3541bb}=_0x2d583b,_0x26c432=_0x32cf8b[_0x332100(0x19c)](_0x302fe9=>_0x302fe9['unitID']===_0x2c5b6f&&_0x302fe9['objectID']===_0x31e1ca),_0x2c73a4=_0x3541bb[_0x332100(0x1ae)](_0x45d3d0=>_0x26c432==null?void 0x0:_0x26c432[_0x332100(0x1ab)]['find'](_0x572903=>_0x572903[_0x332100(0x234)]===_0x45d3d0))[_0x332100(0x1ca)](_0x9e2289=>!!_0x9e2289);return{'config':_0x2d583b,'result':{'actions':_0x2c73a4,'error':_0x4548ac['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x57b9fe=_0x259c74,_0x5bc443;const _0x2ca1bf=this[_0x57b9fe(0x2ec)][_0x57b9fe(0x23c)](K);return(_0x5bc443=_0x2ca1bf==null?void 0x0:_0x2ca1bf['authzUrl'])!=null?_0x5bc443:an;}async[_0x259c74(0x41c)](_0x30fcdc){var _0x36849a=_0x259c74;const _0x24703b=this[_0x36849a(0x2ae)]()+'/'+_0x30fcdc[_0x36849a(0x3dc)]+_0x36849a(0x42d);return(await this[_0x36849a(0x339)][_0x36849a(0x3c3)](_0x24703b,{'body':_0x30fcdc}))[_0x36849a(0x3b3)][_0x36849a(0x16f)]||'';}async[_0x259c74(0x43f)](_0x16e39d){var _0x547e4e=_0x259c74;const _0x55483c=this[_0x547e4e(0x2ae)]()+_0x547e4e(0x468);return(await this[_0x547e4e(0x339)][_0x547e4e(0x3c3)](_0x55483c,{'body':_0x16e39d}))[_0x547e4e(0x3b3)][_0x547e4e(0x371)];}async[_0x259c74(0x33d)](_0x29300b){var _0x161b80=_0x259c74,_0x3745e6,_0x12d485;const _0x1d40ea=this[_0x161b80(0x2ae)]()+'/'+_0x29300b[_0x161b80(0x3dc)]+'/object/'+_0x29300b[_0x161b80(0x16f)],_0x312d19=await this[_0x161b80(0x339)][_0x161b80(0x220)](_0x1d40ea,{'body':_0x29300b});if(((_0x12d485=(_0x3745e6=_0x312d19==null?void 0x0:_0x312d19[_0x161b80(0x3b3)])==null?void 0x0:_0x3745e6[_0x161b80(0x331)])==null?void 0x0:_0x12d485[_0x161b80(0x224)])!==0x1)throw new Error(_0x161b80(0x33a));}async[_0x259c74(0x3f2)](_0x2f1631){var _0x566bee=_0x259c74;const _0x57fd21=this[_0x566bee(0x2ae)]()+'/'+_0x2f1631[_0x566bee(0x3dc)]+_0x566bee(0x226)+_0x2f1631[_0x566bee(0x16f)]+'/allowed';return(await this['_HTTPService'][_0x566bee(0x3c3)](_0x57fd21,{'body':_0x2f1631}))[_0x566bee(0x3b3)][_0x566bee(0x1ab)];}async[_0x259c74(0x45b)](_0x336e25){var _0x2671ad=_0x259c74;const _0x26120e=this[_0x2671ad(0x2ae)]()+_0x2671ad(0x181);return(await this[_0x2671ad(0x339)][_0x2671ad(0x3c3)](_0x26120e,{'body':{'requests':_0x336e25}}))[_0x2671ad(0x3b3)][_0x2671ad(0x462)];}async['listRoles'](_0x368989){var _0x3929ff=_0x259c74;const _0x1c8376=this['_getAPIPrefixPath']()+'/'+_0x368989['objectType']+_0x3929ff(0x300),_0x4c25e4=await this[_0x3929ff(0x339)][_0x3929ff(0x3c3)](_0x1c8376,{'body':_0x368989});return{'roles':_0x4c25e4[_0x3929ff(0x3b3)][_0x3929ff(0x204)],'actions':_0x4c25e4[_0x3929ff(0x3b3)][_0x3929ff(0x1ab)]};}async[_0x259c74(0x352)](_0x392201){var _0x2f13db=_0x259c74;const _0xe70a73=this[_0x2f13db(0x2ae)]()+_0x2f13db(0x1a0);await this['_HTTPService'][_0x2f13db(0x1de)](_0xe70a73,{'params':{'collaboratorID':_0x392201['collaboratorID'],'objectID':_0x392201[_0x2f13db(0x16f)],'unitID':_0x392201[_0x2f13db(0x320)]}});}async[_0x259c74(0x2d5)](_0x292538){var _0x2bb568=_0x259c74;const _0x3031bc=this['_getAPIPrefixPath']()+_0x2bb568(0x1a0);await this[_0x2bb568(0x339)][_0x2bb568(0x31a)](_0x3031bc,{'body':_0x292538});}async['createCollaborator'](_0x2bf5e9){var _0x5c8c68=_0x259c74;const _0x172292=this[_0x5c8c68(0x2ae)]()+_0x5c8c68(0x1a0);await this[_0x5c8c68(0x339)][_0x5c8c68(0x3c3)](_0x172292,{'body':_0x2bf5e9});}async[_0x259c74(0x2e5)](_0x1eca62){var _0x380eeb=_0x259c74;const _0x21058f=this['_getAPIPrefixPath']()+_0x380eeb(0x1a0);return(await this[_0x380eeb(0x339)][_0x380eeb(0x30f)](_0x21058f,{'params':{'objectID':_0x1eca62[_0x380eeb(0x16f)],'unitID':_0x1eca62[_0x380eeb(0x320)]}}))[_0x380eeb(0x3b3)][_0x380eeb(0x2a2)];}async['putCollaborators'](_0x18ea0d){var _0x52697f=_0x259c74;const _0x59551c=this[_0x52697f(0x2ae)]()+_0x52697f(0x1a0);await this[_0x52697f(0x339)]['put'](_0x59551c,{'body':_0x18ea0d});}};Tt=rn([Kt(0x0,_0x479712(_0x44cd1e)),Kt(0x1,_0x479712(_0x5dd738))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x380927){var _0x4652cb=_0x259c74;return _0x380927&&_0x380927['__esModule']&&Object[_0x4652cb(0x3f8)][_0x4652cb(0x30a)][_0x4652cb(0x206)](_0x380927,_0x4652cb(0x302))?_0x380927[_0x4652cb(0x302)]:_0x380927;}var Ve={'exports':{}};function _0x28c4(_0x58ccc2,_0x2570f7){var _0x54f241=_0x54f2();return _0x28c4=function(_0x28c428,_0x501db5){_0x28c428=_0x28c428-0x165;var _0x5845a9=_0x54f241[_0x28c428];return _0x5845a9;},_0x28c4(_0x58ccc2,_0x2570f7);}function on(_0xd0ea9a){var _0x2203a2=_0x259c74;throw new Error(_0x2203a2(0x2c7)+_0xd0ea9a+_0x2203a2(0x1ed));}var Ge={'exports':{}},cn=Ge[_0x259c74(0x2c0)],qt;function ie(){var _0x17e771=_0x259c74;return qt||(qt=0x1,function(_0x492ee1,_0x51a478){(function(_0x4debd0,_0x13a5d5){_0x492ee1['exports']=_0x13a5d5();}(cn,function(){var _0x133517=_0x133517||function(_0x25acf8,_0x4e082f){var _0x5564af=_0x28c4,_0x25a8c9;if(typeof window<'u'&&window[_0x5564af(0x2b6)]&&(_0x25a8c9=window[_0x5564af(0x2b6)]),typeof self<'u'&&self[_0x5564af(0x2b6)]&&(_0x25a8c9=self[_0x5564af(0x2b6)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x25a8c9=globalThis['crypto']),!_0x25a8c9&&typeof window<'u'&&window[_0x5564af(0x35d)]&&(_0x25a8c9=window[_0x5564af(0x35d)]),!_0x25a8c9&&typeof ft<'u'&&ft[_0x5564af(0x2b6)]&&(_0x25a8c9=ft['crypto']),!_0x25a8c9&&typeof on==_0x5564af(0x3e8))try{_0x25a8c9=require('crypto');}catch{}var _0x560824=function(){var _0x3fe563=_0x5564af;if(_0x25a8c9){if(typeof _0x25a8c9['getRandomValues']=='function')try{return _0x25a8c9[_0x3fe563(0x348)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x25a8c9[_0x3fe563(0x3a9)]==_0x3fe563(0x3e8))try{return _0x25a8c9[_0x3fe563(0x3a9)](0x4)[_0x3fe563(0x278)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2a0f16=Object[_0x5564af(0x41c)]||(function(){function _0x17d2ca(){}return function(_0x30b8c6){var _0x5885a9=_0x28c4,_0x69fa98;return _0x17d2ca[_0x5885a9(0x3f8)]=_0x30b8c6,_0x69fa98=new _0x17d2ca(),_0x17d2ca[_0x5885a9(0x3f8)]=null,_0x69fa98;};}()),_0x5ead82={},_0x40bc36=_0x5ead82[_0x5564af(0x2b3)]={},_0x278754=_0x40bc36['Base']=(function(){return{'extend':function(_0x23e6cb){var _0x42c734=_0x28c4,_0x16f2a4=_0x2a0f16(this);return _0x23e6cb&&_0x16f2a4['mixIn'](_0x23e6cb),(!_0x16f2a4['hasOwnProperty'](_0x42c734(0x258))||this[_0x42c734(0x258)]===_0x16f2a4[_0x42c734(0x258)])&&(_0x16f2a4[_0x42c734(0x258)]=function(){var _0x1b712b=_0x42c734;_0x16f2a4[_0x1b712b(0x3bd)]['init'][_0x1b712b(0x360)](this,arguments);}),_0x16f2a4[_0x42c734(0x258)][_0x42c734(0x3f8)]=_0x16f2a4,_0x16f2a4[_0x42c734(0x3bd)]=this,_0x16f2a4;},'create':function(){var _0x26aa07=_0x28c4,_0x3cb6e2=this['extend']();return _0x3cb6e2['init'][_0x26aa07(0x360)](_0x3cb6e2,arguments),_0x3cb6e2;},'init':function(){},'mixIn':function(_0x4a40be){var _0x55b942=_0x28c4;for(var _0x462f59 in _0x4a40be)_0x4a40be[_0x55b942(0x30a)](_0x462f59)&&(this[_0x462f59]=_0x4a40be[_0x462f59]);_0x4a40be[_0x55b942(0x30a)](_0x55b942(0x174))&&(this[_0x55b942(0x174)]=_0x4a40be['toString']);},'clone':function(){var _0x3fc674=_0x28c4;return this['init'][_0x3fc674(0x3f8)][_0x3fc674(0x37e)](this);}};}()),_0x2876ca=_0x40bc36['WordArray']=_0x278754['extend']({'init':function(_0x4668a6,_0x234e23){var _0x3a867d=_0x5564af;_0x4668a6=this[_0x3a867d(0x41e)]=_0x4668a6||[],_0x234e23!=_0x4e082f?this[_0x3a867d(0x3f9)]=_0x234e23:this[_0x3a867d(0x3f9)]=_0x4668a6[_0x3a867d(0x418)]*0x4;},'toString':function(_0xdc1261){var _0x39e333=_0x5564af;return(_0xdc1261||_0x19b2f0)[_0x39e333(0x2a5)](this);},'concat':function(_0x4640df){var _0xaae5bd=_0x5564af,_0x498b6e=this[_0xaae5bd(0x41e)],_0x546803=_0x4640df['words'],_0x36fdbc=this['sigBytes'],_0x421ed0=_0x4640df[_0xaae5bd(0x3f9)];if(this[_0xaae5bd(0x1b7)](),_0x36fdbc%0x4)for(var _0x3bae09=0x0;_0x3bae09<_0x421ed0;_0x3bae09++){var _0x3615a2=_0x546803[_0x3bae09>>>0x2]>>>0x18-_0x3bae09%0x4*0x8&0xff;_0x498b6e[_0x36fdbc+_0x3bae09>>>0x2]|=_0x3615a2<<0x18-(_0x36fdbc+_0x3bae09)%0x4*0x8;}else{for(var _0xf70f9d=0x0;_0xf70f9d<_0x421ed0;_0xf70f9d+=0x4)_0x498b6e[_0x36fdbc+_0xf70f9d>>>0x2]=_0x546803[_0xf70f9d>>>0x2];}return this[_0xaae5bd(0x3f9)]+=_0x421ed0,this;},'clamp':function(){var _0x51659a=_0x5564af,_0x371653=this['words'],_0x5e638a=this[_0x51659a(0x3f9)];_0x371653[_0x5e638a>>>0x2]&=0xffffffff<<0x20-_0x5e638a%0x4*0x8,_0x371653[_0x51659a(0x418)]=_0x25acf8[_0x51659a(0x377)](_0x5e638a/0x4);},'clone':function(){var _0x185b6f=_0x5564af,_0x511bfd=_0x278754[_0x185b6f(0x3a5)]['call'](this);return _0x511bfd['words']=this['words'][_0x185b6f(0x17d)](0x0),_0x511bfd;},'random':function(_0x4d6312){var _0x37e02f=_0x5564af;for(var _0x58260d=[],_0x12e59d=0x0;_0x12e59d<_0x4d6312;_0x12e59d+=0x4)_0x58260d[_0x37e02f(0x2c3)](_0x560824());return new _0x2876ca[(_0x37e02f(0x258))](_0x58260d,_0x4d6312);}}),_0x4253d8=_0x5ead82[_0x5564af(0x3b8)]={},_0x19b2f0=_0x4253d8[_0x5564af(0x273)]={'stringify':function(_0x468d92){var _0x204549=_0x5564af;for(var _0x49288a=_0x468d92['words'],_0x208fb3=_0x468d92[_0x204549(0x3f9)],_0x403c3b=[],_0x5c0f6e=0x0;_0x5c0f6e<_0x208fb3;_0x5c0f6e++){var _0x3b89a7=_0x49288a[_0x5c0f6e>>>0x2]>>>0x18-_0x5c0f6e%0x4*0x8&0xff;_0x403c3b[_0x204549(0x2c3)]((_0x3b89a7>>>0x4)[_0x204549(0x174)](0x10)),_0x403c3b[_0x204549(0x2c3)]((_0x3b89a7&0xf)[_0x204549(0x174)](0x10));}return _0x403c3b['join']('');},'parse':function(_0x35a682){var _0x3bd070=_0x5564af;for(var _0x398069=_0x35a682[_0x3bd070(0x418)],_0x434c2f=[],_0x5ab211=0x0;_0x5ab211<_0x398069;_0x5ab211+=0x2)_0x434c2f[_0x5ab211>>>0x3]|=parseInt(_0x35a682[_0x3bd070(0x34a)](_0x5ab211,0x2),0x10)<<0x18-_0x5ab211%0x8*0x4;return new _0x2876ca[(_0x3bd070(0x258))](_0x434c2f,_0x398069/0x2);}},_0x513923=_0x4253d8[_0x5564af(0x246)]={'stringify':function(_0x267690){var _0x133dc0=_0x5564af;for(var _0x39b3b9=_0x267690[_0x133dc0(0x41e)],_0x3a1f5e=_0x267690[_0x133dc0(0x3f9)],_0x4b2a2b=[],_0x5b4317=0x0;_0x5b4317<_0x3a1f5e;_0x5b4317++){var _0x24bf64=_0x39b3b9[_0x5b4317>>>0x2]>>>0x18-_0x5b4317%0x4*0x8&0xff;_0x4b2a2b[_0x133dc0(0x2c3)](String['fromCharCode'](_0x24bf64));}return _0x4b2a2b[_0x133dc0(0x207)]('');},'parse':function(_0x37c250){var _0x337ce7=_0x5564af;for(var _0x9582e9=_0x37c250['length'],_0x165878=[],_0x41503c=0x0;_0x41503c<_0x9582e9;_0x41503c++)_0x165878[_0x41503c>>>0x2]|=(_0x37c250[_0x337ce7(0x1d6)](_0x41503c)&0xff)<<0x18-_0x41503c%0x4*0x8;return new _0x2876ca[(_0x337ce7(0x258))](_0x165878,_0x9582e9);}},_0x126e3d=_0x4253d8[_0x5564af(0x27e)]={'stringify':function(_0x544fec){var _0x14023c=_0x5564af;try{return decodeURIComponent(escape(_0x513923[_0x14023c(0x2a5)](_0x544fec)));}catch{throw new Error(_0x14023c(0x410));}},'parse':function(_0x1bc6b9){var _0x4fe023=_0x5564af;return _0x513923[_0x4fe023(0x1e8)](unescape(encodeURIComponent(_0x1bc6b9)));}},_0xac4bd6=_0x40bc36[_0x5564af(0x203)]=_0x278754[_0x5564af(0x37e)]({'reset':function(){var _0x26af3f=_0x5564af;this[_0x26af3f(0x22e)]=new _0x2876ca[(_0x26af3f(0x258))](),this['_nDataBytes']=0x0;},'_append':function(_0x254a44){var _0x4b8a85=_0x5564af;typeof _0x254a44==_0x4b8a85(0x380)&&(_0x254a44=_0x126e3d[_0x4b8a85(0x1e8)](_0x254a44)),this['_data'][_0x4b8a85(0x2f1)](_0x254a44),this['_nDataBytes']+=_0x254a44[_0x4b8a85(0x3f9)];},'_process':function(_0x1e517f){var _0xa9963f=_0x5564af,_0x1a745d,_0x42e2ec=this[_0xa9963f(0x22e)],_0x524cdc=_0x42e2ec['words'],_0x3ce3d3=_0x42e2ec['sigBytes'],_0x4f393f=this[_0xa9963f(0x3fe)],_0x2335bb=_0x4f393f*0x4,_0x11de96=_0x3ce3d3/_0x2335bb;_0x1e517f?_0x11de96=_0x25acf8[_0xa9963f(0x377)](_0x11de96):_0x11de96=_0x25acf8[_0xa9963f(0x31c)]((_0x11de96|0x0)-this[_0xa9963f(0x1ec)],0x0);var _0x21511c=_0x11de96*_0x4f393f,_0xb5fb86=_0x25acf8[_0xa9963f(0x319)](_0x21511c*0x4,_0x3ce3d3);if(_0x21511c){for(var _0xc9075=0x0;_0xc9075<_0x21511c;_0xc9075+=_0x4f393f)this[_0xa9963f(0x25f)](_0x524cdc,_0xc9075);_0x1a745d=_0x524cdc[_0xa9963f(0x231)](0x0,_0x21511c),_0x42e2ec[_0xa9963f(0x3f9)]-=_0xb5fb86;}return new _0x2876ca[(_0xa9963f(0x258))](_0x1a745d,_0xb5fb86);},'clone':function(){var _0x37a4c7=_0x5564af,_0x1eeb09=_0x278754[_0x37a4c7(0x3a5)][_0x37a4c7(0x206)](this);return _0x1eeb09['_data']=this[_0x37a4c7(0x22e)]['clone'](),_0x1eeb09;},'_minBufferSize':0x0});_0x40bc36[_0x5564af(0x405)]=_0xac4bd6['extend']({'cfg':_0x278754[_0x5564af(0x37e)](),'init':function(_0x4a8613){var _0x27a534=_0x5564af;this[_0x27a534(0x406)]=this['cfg'][_0x27a534(0x37e)](_0x4a8613),this[_0x27a534(0x1ea)]();},'reset':function(){var _0x14c8c5=_0x5564af;_0xac4bd6[_0x14c8c5(0x1ea)]['call'](this),this[_0x14c8c5(0x291)]();},'update':function(_0x3e33b0){return this['_append'](_0x3e33b0),this['_process'](),this;},'finalize':function(_0x4cd0b8){var _0x315cde=_0x5564af;_0x4cd0b8&&this[_0x315cde(0x2b4)](_0x4cd0b8);var _0x5adef1=this[_0x315cde(0x2f9)]();return _0x5adef1;},'blockSize':0x10,'_createHelper':function(_0x7e506f){return function(_0x50ba99,_0x3ee3ad){var _0x53c457=_0x28c4;return new _0x7e506f[(_0x53c457(0x258))](_0x3ee3ad)[_0x53c457(0x417)](_0x50ba99);};},'_createHmacHelper':function(_0x3ffe57){return function(_0x12dcbd,_0x4c51fe){var _0x376d24=_0x28c4;return new _0x2f3080['HMAC'][(_0x376d24(0x258))](_0x3ffe57,_0x4c51fe)[_0x376d24(0x417)](_0x12dcbd);};}});var _0x2f3080=_0x5ead82['algo']={};return _0x5ead82;}(Math);return _0x133517;}));}(Ge)),Ge[_0x17e771(0x2c0)];}var We={'exports':{}},_n=We[_0x259c74(0x2c0)],zt;function Ri(){return zt||(zt=0x1,function(_0x546749,_0x554adb){(function(_0x447167,_0x3b6ad0){var _0x1f84e6=_0x28c4;_0x546749[_0x1f84e6(0x2c0)]=_0x3b6ad0(ie());}(_n,function(_0x1d90e1){var _0x465e79=_0x28c4;return(function(){var _0x221030=_0x28c4,_0x293411=_0x1d90e1,_0x466d77=_0x293411[_0x221030(0x2b3)],_0x4b98c6=_0x466d77[_0x221030(0x3b2)],_0xab57a7=_0x293411[_0x221030(0x3b8)];_0xab57a7[_0x221030(0x252)]={'stringify':function(_0x2c6993){var _0x4576ac=_0x221030,_0xd3c4f9=_0x2c6993[_0x4576ac(0x41e)],_0x207105=_0x2c6993[_0x4576ac(0x3f9)],_0x30ed5c=this[_0x4576ac(0x400)];_0x2c6993[_0x4576ac(0x1b7)]();for(var _0x578eba=[],_0x28d8fa=0x0;_0x28d8fa<_0x207105;_0x28d8fa+=0x3)for(var _0x4fa90a=_0xd3c4f9[_0x28d8fa>>>0x2]>>>0x18-_0x28d8fa%0x4*0x8&0xff,_0x59b74f=_0xd3c4f9[_0x28d8fa+0x1>>>0x2]>>>0x18-(_0x28d8fa+0x1)%0x4*0x8&0xff,_0x322924=_0xd3c4f9[_0x28d8fa+0x2>>>0x2]>>>0x18-(_0x28d8fa+0x2)%0x4*0x8&0xff,_0x3f3ade=_0x4fa90a<<0x10|_0x59b74f<<0x8|_0x322924,_0x49f107=0x0;_0x49f107<0x4&&_0x28d8fa+_0x49f107*0.75<_0x207105;_0x49f107++)_0x578eba[_0x4576ac(0x2c3)](_0x30ed5c[_0x4576ac(0x311)](_0x3f3ade>>>0x6*(0x3-_0x49f107)&0x3f));var _0x1be966=_0x30ed5c['charAt'](0x40);if(_0x1be966){for(;_0x578eba[_0x4576ac(0x418)]%0x4;)_0x578eba[_0x4576ac(0x2c3)](_0x1be966);}return _0x578eba['join']('');},'parse':function(_0x45a152){var _0x2e0c27=_0x221030,_0x3d9076=_0x45a152['length'],_0xfeb58a=this[_0x2e0c27(0x400)],_0x92fbd0=this[_0x2e0c27(0x437)];if(!_0x92fbd0){_0x92fbd0=this['_reverseMap']=[];for(var _0x452b67=0x0;_0x452b67<_0xfeb58a[_0x2e0c27(0x418)];_0x452b67++)_0x92fbd0[_0xfeb58a['charCodeAt'](_0x452b67)]=_0x452b67;}var _0x47b628=_0xfeb58a[_0x2e0c27(0x311)](0x40);if(_0x47b628){var _0x15066d=_0x45a152['indexOf'](_0x47b628);_0x15066d!==-0x1&&(_0x3d9076=_0x15066d);}return _0x41fb82(_0x45a152,_0x3d9076,_0x92fbd0);},'_map':_0x221030(0x379)};function _0x41fb82(_0x30b190,_0x364298,_0x333e39){var _0x1fbcfa=_0x221030;for(var _0x54a306=[],_0x24bf56=0x0,_0x1756d4=0x0;_0x1756d4<_0x364298;_0x1756d4++)if(_0x1756d4%0x4){var _0x3ca3d1=_0x333e39[_0x30b190[_0x1fbcfa(0x1d6)](_0x1756d4-0x1)]<<_0x1756d4%0x4*0x2,_0x3ba8cc=_0x333e39[_0x30b190[_0x1fbcfa(0x1d6)](_0x1756d4)]>>>0x6-_0x1756d4%0x4*0x2,_0x161107=_0x3ca3d1|_0x3ba8cc;_0x54a306[_0x24bf56>>>0x2]|=_0x161107<<0x18-_0x24bf56%0x4*0x8,_0x24bf56++;}return _0x4b98c6[_0x1fbcfa(0x41c)](_0x54a306,_0x24bf56);}}()),_0x1d90e1[_0x465e79(0x3b8)]['Base64'];}));}(We)),We['exports'];}var Ye={'exports':{}},hn=Ye[_0x259c74(0x2c0)],Jt;function ln(){var _0x56b50c=_0x259c74;return Jt||(Jt=0x1,function(_0x3aec70,_0x5558f2){(function(_0x50c65d,_0x5146ca){var _0x404254=_0x28c4;_0x3aec70[_0x404254(0x2c0)]=_0x5146ca(ie());}(hn,function(_0x3d6fef){var _0x24a2b5=_0x28c4;return function(_0x5b21aa){var _0x54cec4=_0x28c4,_0x50641a=_0x3d6fef,_0x40ea06=_0x50641a['lib'],_0x4c9c88=_0x40ea06[_0x54cec4(0x3b2)],_0x1995ae=_0x40ea06[_0x54cec4(0x405)],_0x2f7166=_0x50641a[_0x54cec4(0x3f1)],_0x5525d3=[];(function(){var _0x32e0ef=_0x54cec4;for(var _0x3b99d3=0x0;_0x3b99d3<0x40;_0x3b99d3++)_0x5525d3[_0x3b99d3]=_0x5b21aa[_0x32e0ef(0x2b7)](_0x5b21aa[_0x32e0ef(0x274)](_0x3b99d3+0x1))*0x100000000|0x0;}());var _0x141690=_0x2f7166['MD5']=_0x1995ae[_0x54cec4(0x37e)]({'_doReset':function(){var _0x358f03=_0x54cec4;this['_hash']=new _0x4c9c88[(_0x358f03(0x258))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3a4d59,_0x788299){var _0xdd61fe=_0x54cec4;for(var _0x2ce5be=0x0;_0x2ce5be<0x10;_0x2ce5be++){var _0x46b94a=_0x788299+_0x2ce5be,_0x35507d=_0x3a4d59[_0x46b94a];_0x3a4d59[_0x46b94a]=(_0x35507d<<0x8|_0x35507d>>>0x18)&0xff00ff|(_0x35507d<<0x18|_0x35507d>>>0x8)&0xff00ff00;}var _0x252e73=this[_0xdd61fe(0x45e)][_0xdd61fe(0x41e)],_0x250f3e=_0x3a4d59[_0x788299+0x0],_0x275414=_0x3a4d59[_0x788299+0x1],_0x10b6a0=_0x3a4d59[_0x788299+0x2],_0x33963a=_0x3a4d59[_0x788299+0x3],_0x1a264b=_0x3a4d59[_0x788299+0x4],_0x1f408a=_0x3a4d59[_0x788299+0x5],_0x4a68fe=_0x3a4d59[_0x788299+0x6],_0x9552e2=_0x3a4d59[_0x788299+0x7],_0x53a606=_0x3a4d59[_0x788299+0x8],_0x816909=_0x3a4d59[_0x788299+0x9],_0x417af0=_0x3a4d59[_0x788299+0xa],_0x2f086f=_0x3a4d59[_0x788299+0xb],_0x2a99fb=_0x3a4d59[_0x788299+0xc],_0x8f55a9=_0x3a4d59[_0x788299+0xd],_0x632c65=_0x3a4d59[_0x788299+0xe],_0x59dd30=_0x3a4d59[_0x788299+0xf],_0x456e2d=_0x252e73[0x0],_0x1a4582=_0x252e73[0x1],_0x4ae558=_0x252e73[0x2],_0x222350=_0x252e73[0x3];_0x456e2d=_0x1a1628(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x250f3e,0x7,_0x5525d3[0x0]),_0x222350=_0x1a1628(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x275414,0xc,_0x5525d3[0x1]),_0x4ae558=_0x1a1628(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x10b6a0,0x11,_0x5525d3[0x2]),_0x1a4582=_0x1a1628(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x33963a,0x16,_0x5525d3[0x3]),_0x456e2d=_0x1a1628(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x1a264b,0x7,_0x5525d3[0x4]),_0x222350=_0x1a1628(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x1f408a,0xc,_0x5525d3[0x5]),_0x4ae558=_0x1a1628(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x4a68fe,0x11,_0x5525d3[0x6]),_0x1a4582=_0x1a1628(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x9552e2,0x16,_0x5525d3[0x7]),_0x456e2d=_0x1a1628(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x53a606,0x7,_0x5525d3[0x8]),_0x222350=_0x1a1628(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x816909,0xc,_0x5525d3[0x9]),_0x4ae558=_0x1a1628(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x417af0,0x11,_0x5525d3[0xa]),_0x1a4582=_0x1a1628(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x2f086f,0x16,_0x5525d3[0xb]),_0x456e2d=_0x1a1628(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x2a99fb,0x7,_0x5525d3[0xc]),_0x222350=_0x1a1628(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x8f55a9,0xc,_0x5525d3[0xd]),_0x4ae558=_0x1a1628(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x632c65,0x11,_0x5525d3[0xe]),_0x1a4582=_0x1a1628(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x59dd30,0x16,_0x5525d3[0xf]),_0x456e2d=_0x3a9085(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x275414,0x5,_0x5525d3[0x10]),_0x222350=_0x3a9085(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x4a68fe,0x9,_0x5525d3[0x11]),_0x4ae558=_0x3a9085(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x2f086f,0xe,_0x5525d3[0x12]),_0x1a4582=_0x3a9085(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x250f3e,0x14,_0x5525d3[0x13]),_0x456e2d=_0x3a9085(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x1f408a,0x5,_0x5525d3[0x14]),_0x222350=_0x3a9085(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x417af0,0x9,_0x5525d3[0x15]),_0x4ae558=_0x3a9085(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x59dd30,0xe,_0x5525d3[0x16]),_0x1a4582=_0x3a9085(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x1a264b,0x14,_0x5525d3[0x17]),_0x456e2d=_0x3a9085(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x816909,0x5,_0x5525d3[0x18]),_0x222350=_0x3a9085(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x632c65,0x9,_0x5525d3[0x19]),_0x4ae558=_0x3a9085(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x33963a,0xe,_0x5525d3[0x1a]),_0x1a4582=_0x3a9085(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x53a606,0x14,_0x5525d3[0x1b]),_0x456e2d=_0x3a9085(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x8f55a9,0x5,_0x5525d3[0x1c]),_0x222350=_0x3a9085(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x10b6a0,0x9,_0x5525d3[0x1d]),_0x4ae558=_0x3a9085(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x9552e2,0xe,_0x5525d3[0x1e]),_0x1a4582=_0x3a9085(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x2a99fb,0x14,_0x5525d3[0x1f]),_0x456e2d=_0x3c4871(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x1f408a,0x4,_0x5525d3[0x20]),_0x222350=_0x3c4871(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x53a606,0xb,_0x5525d3[0x21]),_0x4ae558=_0x3c4871(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x2f086f,0x10,_0x5525d3[0x22]),_0x1a4582=_0x3c4871(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x632c65,0x17,_0x5525d3[0x23]),_0x456e2d=_0x3c4871(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x275414,0x4,_0x5525d3[0x24]),_0x222350=_0x3c4871(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x1a264b,0xb,_0x5525d3[0x25]),_0x4ae558=_0x3c4871(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x9552e2,0x10,_0x5525d3[0x26]),_0x1a4582=_0x3c4871(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x417af0,0x17,_0x5525d3[0x27]),_0x456e2d=_0x3c4871(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x8f55a9,0x4,_0x5525d3[0x28]),_0x222350=_0x3c4871(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x250f3e,0xb,_0x5525d3[0x29]),_0x4ae558=_0x3c4871(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x33963a,0x10,_0x5525d3[0x2a]),_0x1a4582=_0x3c4871(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x4a68fe,0x17,_0x5525d3[0x2b]),_0x456e2d=_0x3c4871(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x816909,0x4,_0x5525d3[0x2c]),_0x222350=_0x3c4871(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x2a99fb,0xb,_0x5525d3[0x2d]),_0x4ae558=_0x3c4871(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x59dd30,0x10,_0x5525d3[0x2e]),_0x1a4582=_0x3c4871(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x10b6a0,0x17,_0x5525d3[0x2f]),_0x456e2d=_0xeace27(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x250f3e,0x6,_0x5525d3[0x30]),_0x222350=_0xeace27(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x9552e2,0xa,_0x5525d3[0x31]),_0x4ae558=_0xeace27(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x632c65,0xf,_0x5525d3[0x32]),_0x1a4582=_0xeace27(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x1f408a,0x15,_0x5525d3[0x33]),_0x456e2d=_0xeace27(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x2a99fb,0x6,_0x5525d3[0x34]),_0x222350=_0xeace27(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x33963a,0xa,_0x5525d3[0x35]),_0x4ae558=_0xeace27(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x417af0,0xf,_0x5525d3[0x36]),_0x1a4582=_0xeace27(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x275414,0x15,_0x5525d3[0x37]),_0x456e2d=_0xeace27(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x53a606,0x6,_0x5525d3[0x38]),_0x222350=_0xeace27(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x59dd30,0xa,_0x5525d3[0x39]),_0x4ae558=_0xeace27(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x4a68fe,0xf,_0x5525d3[0x3a]),_0x1a4582=_0xeace27(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x8f55a9,0x15,_0x5525d3[0x3b]),_0x456e2d=_0xeace27(_0x456e2d,_0x1a4582,_0x4ae558,_0x222350,_0x1a264b,0x6,_0x5525d3[0x3c]),_0x222350=_0xeace27(_0x222350,_0x456e2d,_0x1a4582,_0x4ae558,_0x2f086f,0xa,_0x5525d3[0x3d]),_0x4ae558=_0xeace27(_0x4ae558,_0x222350,_0x456e2d,_0x1a4582,_0x10b6a0,0xf,_0x5525d3[0x3e]),_0x1a4582=_0xeace27(_0x1a4582,_0x4ae558,_0x222350,_0x456e2d,_0x816909,0x15,_0x5525d3[0x3f]),_0x252e73[0x0]=_0x252e73[0x0]+_0x456e2d|0x0,_0x252e73[0x1]=_0x252e73[0x1]+_0x1a4582|0x0,_0x252e73[0x2]=_0x252e73[0x2]+_0x4ae558|0x0,_0x252e73[0x3]=_0x252e73[0x3]+_0x222350|0x0;},'_doFinalize':function(){var _0x286940=_0x54cec4,_0x7e9e9=this['_data'],_0x4c1232=_0x7e9e9[_0x286940(0x41e)],_0x41da46=this['_nDataBytes']*0x8,_0x1af083=_0x7e9e9['sigBytes']*0x8;_0x4c1232[_0x1af083>>>0x5]|=0x80<<0x18-_0x1af083%0x20;var _0x4abc3a=_0x5b21aa[_0x286940(0x1cc)](_0x41da46/0x100000000),_0x16c4ab=_0x41da46;_0x4c1232[(_0x1af083+0x40>>>0x9<<0x4)+0xf]=(_0x4abc3a<<0x8|_0x4abc3a>>>0x18)&0xff00ff|(_0x4abc3a<<0x18|_0x4abc3a>>>0x8)&0xff00ff00,_0x4c1232[(_0x1af083+0x40>>>0x9<<0x4)+0xe]=(_0x16c4ab<<0x8|_0x16c4ab>>>0x18)&0xff00ff|(_0x16c4ab<<0x18|_0x16c4ab>>>0x8)&0xff00ff00,_0x7e9e9[_0x286940(0x3f9)]=(_0x4c1232['length']+0x1)*0x4,this[_0x286940(0x1bb)]();for(var _0x30734f=this[_0x286940(0x45e)],_0x5976ea=_0x30734f[_0x286940(0x41e)],_0x201caf=0x0;_0x201caf<0x4;_0x201caf++){var _0x28011d=_0x5976ea[_0x201caf];_0x5976ea[_0x201caf]=(_0x28011d<<0x8|_0x28011d>>>0x18)&0xff00ff|(_0x28011d<<0x18|_0x28011d>>>0x8)&0xff00ff00;}return _0x30734f;},'clone':function(){var _0x2c5036=_0x54cec4,_0x15b2dc=_0x1995ae[_0x2c5036(0x3a5)]['call'](this);return _0x15b2dc['_hash']=this[_0x2c5036(0x45e)]['clone'](),_0x15b2dc;}});function _0x1a1628(_0x2ddc4c,_0x10e692,_0x504bf1,_0x38dad8,_0x35e16f,_0x21368b,_0x529c8a){var _0x273749=_0x2ddc4c+(_0x10e692&_0x504bf1|~_0x10e692&_0x38dad8)+_0x35e16f+_0x529c8a;return(_0x273749<<_0x21368b|_0x273749>>>0x20-_0x21368b)+_0x10e692;}function _0x3a9085(_0x327c74,_0x593562,_0x4edae1,_0x183bda,_0x18a450,_0x4daaa1,_0x5a8e73){var _0x1c6e95=_0x327c74+(_0x593562&_0x183bda|_0x4edae1&~_0x183bda)+_0x18a450+_0x5a8e73;return(_0x1c6e95<<_0x4daaa1|_0x1c6e95>>>0x20-_0x4daaa1)+_0x593562;}function _0x3c4871(_0xb9a018,_0x58be17,_0x2174e6,_0x592e51,_0x47b4b6,_0x73c546,_0x3ff601){var _0x5079e4=_0xb9a018+(_0x58be17^_0x2174e6^_0x592e51)+_0x47b4b6+_0x3ff601;return(_0x5079e4<<_0x73c546|_0x5079e4>>>0x20-_0x73c546)+_0x58be17;}function _0xeace27(_0x8ebc05,_0x36144a,_0xc17654,_0x3a38cc,_0x1b9cc1,_0x478370,_0x42e69c){var _0x59c9c6=_0x8ebc05+(_0xc17654^(_0x36144a|~_0x3a38cc))+_0x1b9cc1+_0x42e69c;return(_0x59c9c6<<_0x478370|_0x59c9c6>>>0x20-_0x478370)+_0x36144a;}_0x50641a[_0x54cec4(0x1f5)]=_0x1995ae[_0x54cec4(0x187)](_0x141690),_0x50641a[_0x54cec4(0x30e)]=_0x1995ae[_0x54cec4(0x338)](_0x141690);}(Math),_0x3d6fef[_0x24a2b5(0x1f5)];}));}(Ye)),Ye[_0x56b50c(0x2c0)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x259c74(0x2c0)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x122c1a,_0x1e31db){(function(_0x3948fb,_0x3c0209){var _0x412764=_0x28c4;_0x122c1a[_0x412764(0x2c0)]=_0x3c0209(ie());}(un,function(_0x581f6f){var _0x1091a1=_0x28c4;return(function(){var _0x1faaea=_0x28c4,_0x27bf7b=_0x581f6f,_0x416003=_0x27bf7b[_0x1faaea(0x2b3)],_0x2e2221=_0x416003[_0x1faaea(0x3b2)],_0x12faf3=_0x416003['Hasher'],_0x3f02ed=_0x27bf7b[_0x1faaea(0x3f1)],_0x20166c=[],_0x1e50fa=_0x3f02ed[_0x1faaea(0x1cd)]=_0x12faf3[_0x1faaea(0x37e)]({'_doReset':function(){var _0x2ea31b=_0x1faaea;this[_0x2ea31b(0x45e)]=new _0x2e2221[(_0x2ea31b(0x258))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x42d3f8,_0x242328){var _0x35f940=_0x1faaea;for(var _0x286d54=this[_0x35f940(0x45e)]['words'],_0x4d1826=_0x286d54[0x0],_0x445120=_0x286d54[0x1],_0x29abdc=_0x286d54[0x2],_0x4db413=_0x286d54[0x3],_0x2470fe=_0x286d54[0x4],_0x392bc2=0x0;_0x392bc2<0x50;_0x392bc2++){if(_0x392bc2<0x10)_0x20166c[_0x392bc2]=_0x42d3f8[_0x242328+_0x392bc2]|0x0;else{var _0x1a9973=_0x20166c[_0x392bc2-0x3]^_0x20166c[_0x392bc2-0x8]^_0x20166c[_0x392bc2-0xe]^_0x20166c[_0x392bc2-0x10];_0x20166c[_0x392bc2]=_0x1a9973<<0x1|_0x1a9973>>>0x1f;}var _0x169502=(_0x4d1826<<0x5|_0x4d1826>>>0x1b)+_0x2470fe+_0x20166c[_0x392bc2];_0x392bc2<0x14?_0x169502+=(_0x445120&_0x29abdc|~_0x445120&_0x4db413)+0x5a827999:_0x392bc2<0x28?_0x169502+=(_0x445120^_0x29abdc^_0x4db413)+0x6ed9eba1:_0x392bc2<0x3c?_0x169502+=(_0x445120&_0x29abdc|_0x445120&_0x4db413|_0x29abdc&_0x4db413)-0x70e44324:_0x169502+=(_0x445120^_0x29abdc^_0x4db413)-0x359d3e2a,_0x2470fe=_0x4db413,_0x4db413=_0x29abdc,_0x29abdc=_0x445120<<0x1e|_0x445120>>>0x2,_0x445120=_0x4d1826,_0x4d1826=_0x169502;}_0x286d54[0x0]=_0x286d54[0x0]+_0x4d1826|0x0,_0x286d54[0x1]=_0x286d54[0x1]+_0x445120|0x0,_0x286d54[0x2]=_0x286d54[0x2]+_0x29abdc|0x0,_0x286d54[0x3]=_0x286d54[0x3]+_0x4db413|0x0,_0x286d54[0x4]=_0x286d54[0x4]+_0x2470fe|0x0;},'_doFinalize':function(){var _0xdc7111=_0x1faaea,_0x5058e3=this[_0xdc7111(0x22e)],_0x1c9e86=_0x5058e3[_0xdc7111(0x41e)],_0x319fc7=this[_0xdc7111(0x326)]*0x8,_0x24d05e=_0x5058e3[_0xdc7111(0x3f9)]*0x8;return _0x1c9e86[_0x24d05e>>>0x5]|=0x80<<0x18-_0x24d05e%0x20,_0x1c9e86[(_0x24d05e+0x40>>>0x9<<0x4)+0xe]=Math[_0xdc7111(0x1cc)](_0x319fc7/0x100000000),_0x1c9e86[(_0x24d05e+0x40>>>0x9<<0x4)+0xf]=_0x319fc7,_0x5058e3['sigBytes']=_0x1c9e86[_0xdc7111(0x418)]*0x4,this[_0xdc7111(0x1bb)](),this[_0xdc7111(0x45e)];},'clone':function(){var _0x1b432e=_0x1faaea,_0x3e1c6a=_0x12faf3[_0x1b432e(0x3a5)]['call'](this);return _0x3e1c6a[_0x1b432e(0x45e)]=this['_hash'][_0x1b432e(0x3a5)](),_0x3e1c6a;}});_0x27bf7b[_0x1faaea(0x1cd)]=_0x12faf3[_0x1faaea(0x187)](_0x1e50fa),_0x27bf7b['HmacSHA1']=_0x12faf3[_0x1faaea(0x338)](_0x1e50fa);}()),_0x581f6f[_0x1091a1(0x1cd)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){var _0x2358b4=_0x259c74;return Zt||(Zt=0x1,function(_0x3f28e9,_0x2f8d1c){(function(_0x29f422,_0x24170f){var _0x23e43e=_0x28c4;_0x3f28e9[_0x23e43e(0x2c0)]=_0x24170f(ie());}(fn,function(_0x461a37){(function(){var _0x340c21=_0x28c4,_0x509cc0=_0x461a37,_0xe45cac=_0x509cc0[_0x340c21(0x2b3)],_0x77411=_0xe45cac[_0x340c21(0x2a4)],_0x21d4e5=_0x509cc0['enc'],_0x352066=_0x21d4e5['Utf8'],_0x113343=_0x509cc0[_0x340c21(0x3f1)];_0x113343[_0x340c21(0x2f0)]=_0x77411[_0x340c21(0x37e)]({'init':function(_0x5bd91a,_0x417a96){var _0x5cf35c=_0x340c21;_0x5bd91a=this[_0x5cf35c(0x244)]=new _0x5bd91a[(_0x5cf35c(0x258))](),typeof _0x417a96==_0x5cf35c(0x380)&&(_0x417a96=_0x352066[_0x5cf35c(0x1e8)](_0x417a96));var _0x45309f=_0x5bd91a[_0x5cf35c(0x3fe)],_0x1f4b05=_0x45309f*0x4;_0x417a96['sigBytes']>_0x1f4b05&&(_0x417a96=_0x5bd91a[_0x5cf35c(0x417)](_0x417a96)),_0x417a96['clamp']();for(var _0x590348=this[_0x5cf35c(0x2e3)]=_0x417a96[_0x5cf35c(0x3a5)](),_0x11378c=this['_iKey']=_0x417a96[_0x5cf35c(0x3a5)](),_0x58d90c=_0x590348[_0x5cf35c(0x41e)],_0x459774=_0x11378c['words'],_0x476e73=0x0;_0x476e73<_0x45309f;_0x476e73++)_0x58d90c[_0x476e73]^=0x5c5c5c5c,_0x459774[_0x476e73]^=0x36363636;_0x590348['sigBytes']=_0x11378c[_0x5cf35c(0x3f9)]=_0x1f4b05,this[_0x5cf35c(0x1ea)]();},'reset':function(){var _0x2e8e1c=_0x340c21,_0xefb63d=this[_0x2e8e1c(0x244)];_0xefb63d[_0x2e8e1c(0x1ea)](),_0xefb63d[_0x2e8e1c(0x33d)](this['_iKey']);},'update':function(_0x9b1ef9){var _0x15ada2=_0x340c21;return this[_0x15ada2(0x244)]['update'](_0x9b1ef9),this;},'finalize':function(_0x2922d0){var _0x1a1369=_0x340c21,_0x39fb55=this['_hasher'],_0x2e5ad5=_0x39fb55[_0x1a1369(0x417)](_0x2922d0);_0x39fb55[_0x1a1369(0x1ea)]();var _0x566cb6=_0x39fb55['finalize'](this[_0x1a1369(0x2e3)][_0x1a1369(0x3a5)]()[_0x1a1369(0x2f1)](_0x2e5ad5));return _0x566cb6;}});}());}));}(ze)),ze[_0x2358b4(0x2c0)];}var pn=Ke[_0x259c74(0x2c0)],Qt;function Ci(){return Qt||(Qt=0x1,function(_0x47c0f2,_0x53659d){(function(_0x26bfb4,_0x17eb30,_0x5240fa){var _0x48d6aa=_0x28c4;_0x47c0f2[_0x48d6aa(0x2c0)]=_0x17eb30(ie(),dn(),vn());}(pn,function(_0x11c7c2){var _0x42a7ff=_0x28c4;return(function(){var _0x803651=_0x28c4,_0x3e1818=_0x11c7c2,_0x5eb952=_0x3e1818['lib'],_0x23fec5=_0x5eb952['Base'],_0x23a6c1=_0x5eb952[_0x803651(0x3b2)],_0x5cdb46=_0x3e1818[_0x803651(0x3f1)],_0x430f21=_0x5cdb46[_0x803651(0x1f5)],_0x28ed07=_0x5cdb46[_0x803651(0x228)]=_0x23fec5[_0x803651(0x37e)]({'cfg':_0x23fec5['extend']({'keySize':0x80/0x20,'hasher':_0x430f21,'iterations':0x1}),'init':function(_0x548e84){var _0x3066bc=_0x803651;this['cfg']=this['cfg'][_0x3066bc(0x37e)](_0x548e84);},'compute':function(_0x398d5d,_0x430c7b){var _0x43ef42=_0x803651;for(var _0x498bc1,_0x56d9be=this[_0x43ef42(0x406)],_0x1cebe5=_0x56d9be[_0x43ef42(0x21a)]['create'](),_0x289cb4=_0x23a6c1[_0x43ef42(0x41c)](),_0x591181=_0x289cb4[_0x43ef42(0x41e)],_0x2f2928=_0x56d9be[_0x43ef42(0x306)],_0x5783a6=_0x56d9be[_0x43ef42(0x2fe)];_0x591181[_0x43ef42(0x418)]<_0x2f2928;){_0x498bc1&&_0x1cebe5[_0x43ef42(0x33d)](_0x498bc1),_0x498bc1=_0x1cebe5[_0x43ef42(0x33d)](_0x398d5d)['finalize'](_0x430c7b),_0x1cebe5['reset']();for(var _0x153b10=0x1;_0x153b10<_0x5783a6;_0x153b10++)_0x498bc1=_0x1cebe5[_0x43ef42(0x417)](_0x498bc1),_0x1cebe5[_0x43ef42(0x1ea)]();_0x289cb4[_0x43ef42(0x2f1)](_0x498bc1);}return _0x289cb4[_0x43ef42(0x3f9)]=_0x2f2928*0x4,_0x289cb4;}});_0x3e1818[_0x803651(0x228)]=function(_0x2842d8,_0x5cac9a,_0x11b6c4){var _0x3fb993=_0x803651;return _0x28ed07[_0x3fb993(0x41c)](_0x11b6c4)[_0x3fb993(0x340)](_0x2842d8,_0x5cac9a);};}()),_0x11c7c2[_0x42a7ff(0x228)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},En=Je[_0x259c74(0x2c0)],ei;function Ni(){return ei||(ei=0x1,function(_0xf665da,_0x5aedf1){(function(_0x493d52,_0x1bb7d9,_0x128f5d){var _0x366a0c=_0x28c4;_0xf665da[_0x366a0c(0x2c0)]=_0x1bb7d9(ie(),Ci());}(En,function(_0x1b82ac){var _0x1f0969=_0x28c4;_0x1b82ac[_0x1f0969(0x2b3)]['Cipher']||function(_0x24c7b3){var _0x3f9516=_0x1f0969,_0x2ad463=_0x1b82ac,_0x55a09b=_0x2ad463[_0x3f9516(0x2b3)],_0x13b15f=_0x55a09b[_0x3f9516(0x2a4)],_0x5b025d=_0x55a09b[_0x3f9516(0x3b2)],_0x4e34bf=_0x55a09b[_0x3f9516(0x203)],_0x265b56=_0x2ad463['enc'];_0x265b56['Utf8'];var _0x5d46b6=_0x265b56['Base64'],_0x2d93a3=_0x2ad463['algo'],_0x56ed3b=_0x2d93a3['EvpKDF'],_0x5032cc=_0x55a09b[_0x3f9516(0x3eb)]=_0x4e34bf[_0x3f9516(0x37e)]({'cfg':_0x13b15f[_0x3f9516(0x37e)](),'createEncryptor':function(_0x3e7e4a,_0x54e552){var _0x597209=_0x3f9516;return this[_0x597209(0x41c)](this[_0x597209(0x191)],_0x3e7e4a,_0x54e552);},'createDecryptor':function(_0x1b0129,_0x282408){var _0x38f51c=_0x3f9516;return this[_0x38f51c(0x41c)](this['_DEC_XFORM_MODE'],_0x1b0129,_0x282408);},'init':function(_0x5f4350,_0x329a70,_0x51f947){var _0x3ad3fd=_0x3f9516;this['cfg']=this[_0x3ad3fd(0x406)]['extend'](_0x51f947),this[_0x3ad3fd(0x416)]=_0x5f4350,this[_0x3ad3fd(0x1e9)]=_0x329a70,this[_0x3ad3fd(0x1ea)]();},'reset':function(){var _0xd6989=_0x3f9516;_0x4e34bf[_0xd6989(0x1ea)]['call'](this),this[_0xd6989(0x291)]();},'process':function(_0x40db61){var _0x516d0a=_0x3f9516;return this[_0x516d0a(0x2b4)](_0x40db61),this[_0x516d0a(0x1bb)]();},'finalize':function(_0x78f76b){var _0x3ea63b=_0x3f9516;_0x78f76b&&this[_0x3ea63b(0x2b4)](_0x78f76b);var _0x199fa8=this['_doFinalize']();return _0x199fa8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xfe655c(_0x80f716){var _0x341847=_0x28c4;return typeof _0x80f716==_0x341847(0x380)?_0x59f695:_0x57252a;}return function(_0x3998cd){return{'encrypt':function(_0x57378e,_0x148080,_0x232ee8){return _0xfe655c(_0x148080)['encrypt'](_0x3998cd,_0x57378e,_0x148080,_0x232ee8);},'decrypt':function(_0xb379a6,_0x3f1176,_0x266a12){return _0xfe655c(_0x3f1176)['decrypt'](_0x3998cd,_0xb379a6,_0x3f1176,_0x266a12);}};};}())});_0x55a09b[_0x3f9516(0x283)]=_0x5032cc['extend']({'_doFinalize':function(){var _0x139b21=this['_process'](!0x0);return _0x139b21;},'blockSize':0x1});var _0x792a83=_0x2ad463[_0x3f9516(0x2a6)]={},_0x5ef953=_0x55a09b[_0x3f9516(0x2d9)]=_0x13b15f[_0x3f9516(0x37e)]({'createEncryptor':function(_0x3f2072,_0x50782e){var _0x2eb630=_0x3f9516;return this[_0x2eb630(0x21c)][_0x2eb630(0x41c)](_0x3f2072,_0x50782e);},'createDecryptor':function(_0xfb658f,_0x45c73b){var _0x5b5047=_0x3f9516;return this[_0x5b5047(0x27c)][_0x5b5047(0x41c)](_0xfb658f,_0x45c73b);},'init':function(_0x10c191,_0xdc0491){this['_cipher']=_0x10c191,this['_iv']=_0xdc0491;}}),_0x263866=_0x792a83[_0x3f9516(0x2cc)]=(function(){var _0x222d75=_0x3f9516,_0x16d1ca=_0x5ef953['extend']();_0x16d1ca[_0x222d75(0x21c)]=_0x16d1ca['extend']({'processBlock':function(_0x752a16,_0x5aac0d){var _0x4ce692=_0x222d75,_0x5ac5dc=this['_cipher'],_0x509a28=_0x5ac5dc['blockSize'];_0xe83cf1[_0x4ce692(0x206)](this,_0x752a16,_0x5aac0d,_0x509a28),_0x5ac5dc[_0x4ce692(0x38c)](_0x752a16,_0x5aac0d),this['_prevBlock']=_0x752a16[_0x4ce692(0x17d)](_0x5aac0d,_0x5aac0d+_0x509a28);}}),_0x16d1ca[_0x222d75(0x27c)]=_0x16d1ca['extend']({'processBlock':function(_0x27cd20,_0x1fa7d9){var _0xcdafce=_0x222d75,_0x1d1289=this[_0xcdafce(0x1dc)],_0x248f3f=_0x1d1289[_0xcdafce(0x3fe)],_0x47ab58=_0x27cd20[_0xcdafce(0x17d)](_0x1fa7d9,_0x1fa7d9+_0x248f3f);_0x1d1289[_0xcdafce(0x2f6)](_0x27cd20,_0x1fa7d9),_0xe83cf1[_0xcdafce(0x206)](this,_0x27cd20,_0x1fa7d9,_0x248f3f),this['_prevBlock']=_0x47ab58;}});function _0xe83cf1(_0x45c6ab,_0x5237a1,_0x2f4c02){var _0x243921=_0x222d75,_0xa84e41,_0x5bae73=this[_0x243921(0x42c)];_0x5bae73?(_0xa84e41=_0x5bae73,this[_0x243921(0x42c)]=_0x24c7b3):_0xa84e41=this[_0x243921(0x461)];for(var _0x22a128=0x0;_0x22a128<_0x2f4c02;_0x22a128++)_0x45c6ab[_0x5237a1+_0x22a128]^=_0xa84e41[_0x22a128];}return _0x16d1ca;}()),_0xb701ad=_0x2ad463[_0x3f9516(0x43a)]={},_0x47c379=_0xb701ad[_0x3f9516(0x3d5)]={'pad':function(_0x22d0e0,_0x32260e){var _0x1dc000=_0x3f9516;for(var _0x20c001=_0x32260e*0x4,_0x5f39ec=_0x20c001-_0x22d0e0[_0x1dc000(0x3f9)]%_0x20c001,_0x378c3f=_0x5f39ec<<0x18|_0x5f39ec<<0x10|_0x5f39ec<<0x8|_0x5f39ec,_0x5eb7ac=[],_0x1015e2=0x0;_0x1015e2<_0x5f39ec;_0x1015e2+=0x4)_0x5eb7ac[_0x1dc000(0x2c3)](_0x378c3f);var _0x4fdae5=_0x5b025d[_0x1dc000(0x41c)](_0x5eb7ac,_0x5f39ec);_0x22d0e0[_0x1dc000(0x2f1)](_0x4fdae5);},'unpad':function(_0x1c3eb5){var _0x47a1ac=_0x3f9516,_0x310315=_0x1c3eb5[_0x47a1ac(0x41e)][_0x1c3eb5[_0x47a1ac(0x3f9)]-0x1>>>0x2]&0xff;_0x1c3eb5[_0x47a1ac(0x3f9)]-=_0x310315;}};_0x55a09b['BlockCipher']=_0x5032cc[_0x3f9516(0x37e)]({'cfg':_0x5032cc[_0x3f9516(0x406)][_0x3f9516(0x37e)]({'mode':_0x263866,'padding':_0x47c379}),'reset':function(){var _0x289738=_0x3f9516,_0x3e9b6c;_0x5032cc[_0x289738(0x1ea)][_0x289738(0x206)](this);var _0x4d9e14=this[_0x289738(0x406)],_0xb73cf4=_0x4d9e14['iv'],_0x48ec72=_0x4d9e14['mode'];this[_0x289738(0x416)]==this[_0x289738(0x191)]?_0x3e9b6c=_0x48ec72[_0x289738(0x2ee)]:(_0x3e9b6c=_0x48ec72['createDecryptor'],this[_0x289738(0x1ec)]=0x1),this['_mode']&&this[_0x289738(0x1f4)][_0x289738(0x337)]==_0x3e9b6c?this[_0x289738(0x1f4)][_0x289738(0x258)](this,_0xb73cf4&&_0xb73cf4['words']):(this[_0x289738(0x1f4)]=_0x3e9b6c[_0x289738(0x206)](_0x48ec72,this,_0xb73cf4&&_0xb73cf4[_0x289738(0x41e)]),this['_mode']['__creator']=_0x3e9b6c);},'_doProcessBlock':function(_0x5745ea,_0x4fa0cc){var _0xe5bd9c=_0x3f9516;this[_0xe5bd9c(0x1f4)][_0xe5bd9c(0x2e6)](_0x5745ea,_0x4fa0cc);},'_doFinalize':function(){var _0xaa0a4e=_0x3f9516,_0x368bcc,_0x3c7df1=this['cfg'][_0xaa0a4e(0x3ff)];return this['_xformMode']==this[_0xaa0a4e(0x191)]?(_0x3c7df1['pad'](this['_data'],this['blockSize']),_0x368bcc=this[_0xaa0a4e(0x1bb)](!0x0)):(_0x368bcc=this[_0xaa0a4e(0x1bb)](!0x0),_0x3c7df1['unpad'](_0x368bcc)),_0x368bcc;},'blockSize':0x80/0x20});var _0x42f322=_0x55a09b['CipherParams']=_0x13b15f[_0x3f9516(0x37e)]({'init':function(_0x5cc5c6){this['mixIn'](_0x5cc5c6);},'toString':function(_0x19b0e4){var _0xcb47fe=_0x3f9516;return(_0x19b0e4||this[_0xcb47fe(0x325)])[_0xcb47fe(0x2a5)](this);}}),_0x43069a=_0x2ad463[_0x3f9516(0x3ae)]={},_0x528035=_0x43069a['OpenSSL']={'stringify':function(_0xb3b8fb){var _0x475428=_0x3f9516,_0x35044c,_0x303f6e=_0xb3b8fb['ciphertext'],_0x4fc48b=_0xb3b8fb['salt'];return _0x4fc48b?_0x35044c=_0x5b025d[_0x475428(0x41c)]([0x53616c74,0x65645f5f])[_0x475428(0x2f1)](_0x4fc48b)[_0x475428(0x2f1)](_0x303f6e):_0x35044c=_0x303f6e,_0x35044c[_0x475428(0x174)](_0x5d46b6);},'parse':function(_0x545c42){var _0x253972=_0x3f9516,_0x19d562,_0x4a4815=_0x5d46b6[_0x253972(0x1e8)](_0x545c42),_0x50d40f=_0x4a4815['words'];return _0x50d40f[0x0]==0x53616c74&&_0x50d40f[0x1]==0x65645f5f&&(_0x19d562=_0x5b025d[_0x253972(0x41c)](_0x50d40f['slice'](0x2,0x4)),_0x50d40f['splice'](0x0,0x4),_0x4a4815['sigBytes']-=0x10),_0x42f322[_0x253972(0x41c)]({'ciphertext':_0x4a4815,'salt':_0x19d562});}},_0x57252a=_0x55a09b['SerializableCipher']=_0x13b15f[_0x3f9516(0x37e)]({'cfg':_0x13b15f[_0x3f9516(0x37e)]({'format':_0x528035}),'encrypt':function(_0x2187da,_0x304610,_0x4bcf3b,_0x102135){var _0x427e59=_0x3f9516;_0x102135=this[_0x427e59(0x406)][_0x427e59(0x37e)](_0x102135);var _0xec5028=_0x2187da['createEncryptor'](_0x4bcf3b,_0x102135),_0x769029=_0xec5028[_0x427e59(0x417)](_0x304610),_0x231dde=_0xec5028['cfg'];return _0x42f322[_0x427e59(0x41c)]({'ciphertext':_0x769029,'key':_0x4bcf3b,'iv':_0x231dde['iv'],'algorithm':_0x2187da,'mode':_0x231dde['mode'],'padding':_0x231dde[_0x427e59(0x3ff)],'blockSize':_0x2187da[_0x427e59(0x3fe)],'formatter':_0x102135[_0x427e59(0x3ae)]});},'decrypt':function(_0x5f023c,_0x3dd517,_0x212c2d,_0x1da1b6){var _0x8420af=_0x3f9516;_0x1da1b6=this['cfg'][_0x8420af(0x37e)](_0x1da1b6),_0x3dd517=this[_0x8420af(0x472)](_0x3dd517,_0x1da1b6[_0x8420af(0x3ae)]);var _0x34feb6=_0x5f023c['createDecryptor'](_0x212c2d,_0x1da1b6)['finalize'](_0x3dd517[_0x8420af(0x452)]);return _0x34feb6;},'_parse':function(_0xe068a,_0x33cc28){var _0x2fbd10=_0x3f9516;return typeof _0xe068a==_0x2fbd10(0x380)?_0x33cc28[_0x2fbd10(0x1e8)](_0xe068a,this):_0xe068a;}}),_0x254e34=_0x2ad463['kdf']={},_0x3d37c3=_0x254e34['OpenSSL']={'execute':function(_0x3d0ff0,_0x29c4ac,_0x10e39d,_0x2d4b7c,_0x1a8aba){var _0x238ac8=_0x3f9516;if(_0x2d4b7c||(_0x2d4b7c=_0x5b025d['random'](0x40/0x8)),_0x1a8aba)var _0x19d069=_0x56ed3b[_0x238ac8(0x41c)]({'keySize':_0x29c4ac+_0x10e39d,'hasher':_0x1a8aba})[_0x238ac8(0x340)](_0x3d0ff0,_0x2d4b7c);else var _0x19d069=_0x56ed3b[_0x238ac8(0x41c)]({'keySize':_0x29c4ac+_0x10e39d})[_0x238ac8(0x340)](_0x3d0ff0,_0x2d4b7c);var _0x1d81f3=_0x5b025d['create'](_0x19d069['words'][_0x238ac8(0x17d)](_0x29c4ac),_0x10e39d*0x4);return _0x19d069[_0x238ac8(0x3f9)]=_0x29c4ac*0x4,_0x42f322['create']({'key':_0x19d069,'iv':_0x1d81f3,'salt':_0x2d4b7c});}},_0x59f695=_0x55a09b['PasswordBasedCipher']=_0x57252a['extend']({'cfg':_0x57252a['cfg'][_0x3f9516(0x37e)]({'kdf':_0x3d37c3}),'encrypt':function(_0x52a4cc,_0x40638d,_0xab55f4,_0xc8ca62){var _0xec6af5=_0x3f9516;_0xc8ca62=this[_0xec6af5(0x406)][_0xec6af5(0x37e)](_0xc8ca62);var _0x21cd80=_0xc8ca62['kdf'][_0xec6af5(0x29f)](_0xab55f4,_0x52a4cc[_0xec6af5(0x306)],_0x52a4cc[_0xec6af5(0x20e)],_0xc8ca62[_0xec6af5(0x27a)],_0xc8ca62[_0xec6af5(0x21a)]);_0xc8ca62['iv']=_0x21cd80['iv'];var _0x53b8b7=_0x57252a['encrypt']['call'](this,_0x52a4cc,_0x40638d,_0x21cd80[_0xec6af5(0x35a)],_0xc8ca62);return _0x53b8b7['mixIn'](_0x21cd80),_0x53b8b7;},'decrypt':function(_0x8f687f,_0x4b6229,_0x25f141,_0x31eee1){var _0x1f957b=_0x3f9516;_0x31eee1=this['cfg'][_0x1f957b(0x37e)](_0x31eee1),_0x4b6229=this['_parse'](_0x4b6229,_0x31eee1[_0x1f957b(0x3ae)]);var _0x5f4ea7=_0x31eee1[_0x1f957b(0x2f7)][_0x1f957b(0x29f)](_0x25f141,_0x8f687f[_0x1f957b(0x306)],_0x8f687f[_0x1f957b(0x20e)],_0x4b6229[_0x1f957b(0x27a)],_0x31eee1[_0x1f957b(0x21a)]);_0x31eee1['iv']=_0x5f4ea7['iv'];var _0x486cf6=_0x57252a[_0x1f957b(0x22d)][_0x1f957b(0x206)](this,_0x8f687f,_0x4b6229,_0x5f4ea7[_0x1f957b(0x35a)],_0x31eee1);return _0x486cf6;}});}();}));}(Je)),Je['exports'];}var mn=Ve['exports'],ti;function In(){var _0x24144a=_0x259c74;return ti||(ti=0x1,function(_0x309e9c,_0x58bf05){(function(_0x1449c0,_0x39102a,_0x2e0f2a){var _0x33c17b=_0x28c4;_0x309e9c[_0x33c17b(0x2c0)]=_0x39102a(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x3905d1){var _0x25dc15=_0x28c4;return(function(){var _0x30cd60=_0x28c4,_0x5c58ee=_0x3905d1,_0xfd2153=_0x5c58ee['lib'],_0x41a209=_0xfd2153['BlockCipher'],_0x374cb0=_0x5c58ee[_0x30cd60(0x3f1)],_0x265899=[],_0x1135b8=[],_0x9f24c7=[],_0x3cde4a=[],_0xb7bde5=[],_0x5cb2c4=[],_0x42ce4c=[],_0x2e7a65=[],_0x535b64=[],_0x2be4f4=[];(function(){for(var _0x19deac=[],_0x1ff80c=0x0;_0x1ff80c<0x100;_0x1ff80c++)_0x1ff80c<0x80?_0x19deac[_0x1ff80c]=_0x1ff80c<<0x1:_0x19deac[_0x1ff80c]=_0x1ff80c<<0x1^0x11b;for(var _0x5a59ca=0x0,_0x33fad1=0x0,_0x1ff80c=0x0;_0x1ff80c<0x100;_0x1ff80c++){var _0x3b4c7f=_0x33fad1^_0x33fad1<<0x1^_0x33fad1<<0x2^_0x33fad1<<0x3^_0x33fad1<<0x4;_0x3b4c7f=_0x3b4c7f>>>0x8^_0x3b4c7f&0xff^0x63,_0x265899[_0x5a59ca]=_0x3b4c7f,_0x1135b8[_0x3b4c7f]=_0x5a59ca;var _0x1f5bff=_0x19deac[_0x5a59ca],_0x21f52d=_0x19deac[_0x1f5bff],_0x4535c=_0x19deac[_0x21f52d],_0x282fbf=_0x19deac[_0x3b4c7f]*0x101^_0x3b4c7f*0x1010100;_0x9f24c7[_0x5a59ca]=_0x282fbf<<0x18|_0x282fbf>>>0x8,_0x3cde4a[_0x5a59ca]=_0x282fbf<<0x10|_0x282fbf>>>0x10,_0xb7bde5[_0x5a59ca]=_0x282fbf<<0x8|_0x282fbf>>>0x18,_0x5cb2c4[_0x5a59ca]=_0x282fbf;var _0x282fbf=_0x4535c*0x1010101^_0x21f52d*0x10001^_0x1f5bff*0x101^_0x5a59ca*0x1010100;_0x42ce4c[_0x3b4c7f]=_0x282fbf<<0x18|_0x282fbf>>>0x8,_0x2e7a65[_0x3b4c7f]=_0x282fbf<<0x10|_0x282fbf>>>0x10,_0x535b64[_0x3b4c7f]=_0x282fbf<<0x8|_0x282fbf>>>0x18,_0x2be4f4[_0x3b4c7f]=_0x282fbf,_0x5a59ca?(_0x5a59ca=_0x1f5bff^_0x19deac[_0x19deac[_0x19deac[_0x4535c^_0x1f5bff]]],_0x33fad1^=_0x19deac[_0x19deac[_0x33fad1]]):_0x5a59ca=_0x33fad1=0x1;}}());var _0x139ad4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xe83d41=_0x374cb0[_0x30cd60(0x1d3)]=_0x41a209[_0x30cd60(0x37e)]({'_doReset':function(){var _0x1d5e77=_0x30cd60,_0x13992e;if(!(this[_0x1d5e77(0x32b)]&&this[_0x1d5e77(0x37c)]===this[_0x1d5e77(0x1e9)])){for(var _0x4f6e28=this['_keyPriorReset']=this[_0x1d5e77(0x1e9)],_0x409938=_0x4f6e28['words'],_0x20335c=_0x4f6e28[_0x1d5e77(0x3f9)]/0x4,_0x3b868c=this[_0x1d5e77(0x32b)]=_0x20335c+0x6,_0x44cba2=(_0x3b868c+0x1)*0x4,_0x1f0e14=this[_0x1d5e77(0x444)]=[],_0x15d6ee=0x0;_0x15d6ee<_0x44cba2;_0x15d6ee++)_0x15d6ee<_0x20335c?_0x1f0e14[_0x15d6ee]=_0x409938[_0x15d6ee]:(_0x13992e=_0x1f0e14[_0x15d6ee-0x1],_0x15d6ee%_0x20335c?_0x20335c>0x6&&_0x15d6ee%_0x20335c==0x4&&(_0x13992e=_0x265899[_0x13992e>>>0x18]<<0x18|_0x265899[_0x13992e>>>0x10&0xff]<<0x10|_0x265899[_0x13992e>>>0x8&0xff]<<0x8|_0x265899[_0x13992e&0xff]):(_0x13992e=_0x13992e<<0x8|_0x13992e>>>0x18,_0x13992e=_0x265899[_0x13992e>>>0x18]<<0x18|_0x265899[_0x13992e>>>0x10&0xff]<<0x10|_0x265899[_0x13992e>>>0x8&0xff]<<0x8|_0x265899[_0x13992e&0xff],_0x13992e^=_0x139ad4[_0x15d6ee/_0x20335c|0x0]<<0x18),_0x1f0e14[_0x15d6ee]=_0x1f0e14[_0x15d6ee-_0x20335c]^_0x13992e);for(var _0x55f086=this[_0x1d5e77(0x453)]=[],_0x4ee363=0x0;_0x4ee363<_0x44cba2;_0x4ee363++){var _0x15d6ee=_0x44cba2-_0x4ee363;if(_0x4ee363%0x4)var _0x13992e=_0x1f0e14[_0x15d6ee];else var _0x13992e=_0x1f0e14[_0x15d6ee-0x4];_0x4ee363<0x4||_0x15d6ee<=0x4?_0x55f086[_0x4ee363]=_0x13992e:_0x55f086[_0x4ee363]=_0x42ce4c[_0x265899[_0x13992e>>>0x18]]^_0x2e7a65[_0x265899[_0x13992e>>>0x10&0xff]]^_0x535b64[_0x265899[_0x13992e>>>0x8&0xff]]^_0x2be4f4[_0x265899[_0x13992e&0xff]];}}},'encryptBlock':function(_0x52ca12,_0xf08f37){var _0x5e7575=_0x30cd60;this[_0x5e7575(0x456)](_0x52ca12,_0xf08f37,this['_keySchedule'],_0x9f24c7,_0x3cde4a,_0xb7bde5,_0x5cb2c4,_0x265899);},'decryptBlock':function(_0x2f5c90,_0x200d00){var _0x485420=_0x30cd60,_0x3043f3=_0x2f5c90[_0x200d00+0x1];_0x2f5c90[_0x200d00+0x1]=_0x2f5c90[_0x200d00+0x3],_0x2f5c90[_0x200d00+0x3]=_0x3043f3,this[_0x485420(0x456)](_0x2f5c90,_0x200d00,this[_0x485420(0x453)],_0x42ce4c,_0x2e7a65,_0x535b64,_0x2be4f4,_0x1135b8);var _0x3043f3=_0x2f5c90[_0x200d00+0x1];_0x2f5c90[_0x200d00+0x1]=_0x2f5c90[_0x200d00+0x3],_0x2f5c90[_0x200d00+0x3]=_0x3043f3;},'_doCryptBlock':function(_0x26d5ce,_0xb7316b,_0x191f21,_0x4ff4e1,_0x3be058,_0x5b0796,_0x2d954a,_0x2aeda7){for(var _0x33121e=this['_nRounds'],_0x59b606=_0x26d5ce[_0xb7316b]^_0x191f21[0x0],_0x141697=_0x26d5ce[_0xb7316b+0x1]^_0x191f21[0x1],_0x12bde3=_0x26d5ce[_0xb7316b+0x2]^_0x191f21[0x2],_0x196cd6=_0x26d5ce[_0xb7316b+0x3]^_0x191f21[0x3],_0x160dc3=0x4,_0x817021=0x1;_0x817021<_0x33121e;_0x817021++){var _0x2d30fd=_0x4ff4e1[_0x59b606>>>0x18]^_0x3be058[_0x141697>>>0x10&0xff]^_0x5b0796[_0x12bde3>>>0x8&0xff]^_0x2d954a[_0x196cd6&0xff]^_0x191f21[_0x160dc3++],_0x2f39fc=_0x4ff4e1[_0x141697>>>0x18]^_0x3be058[_0x12bde3>>>0x10&0xff]^_0x5b0796[_0x196cd6>>>0x8&0xff]^_0x2d954a[_0x59b606&0xff]^_0x191f21[_0x160dc3++],_0x27e19a=_0x4ff4e1[_0x12bde3>>>0x18]^_0x3be058[_0x196cd6>>>0x10&0xff]^_0x5b0796[_0x59b606>>>0x8&0xff]^_0x2d954a[_0x141697&0xff]^_0x191f21[_0x160dc3++],_0x2f1c12=_0x4ff4e1[_0x196cd6>>>0x18]^_0x3be058[_0x59b606>>>0x10&0xff]^_0x5b0796[_0x141697>>>0x8&0xff]^_0x2d954a[_0x12bde3&0xff]^_0x191f21[_0x160dc3++];_0x59b606=_0x2d30fd,_0x141697=_0x2f39fc,_0x12bde3=_0x27e19a,_0x196cd6=_0x2f1c12;}var _0x2d30fd=(_0x2aeda7[_0x59b606>>>0x18]<<0x18|_0x2aeda7[_0x141697>>>0x10&0xff]<<0x10|_0x2aeda7[_0x12bde3>>>0x8&0xff]<<0x8|_0x2aeda7[_0x196cd6&0xff])^_0x191f21[_0x160dc3++],_0x2f39fc=(_0x2aeda7[_0x141697>>>0x18]<<0x18|_0x2aeda7[_0x12bde3>>>0x10&0xff]<<0x10|_0x2aeda7[_0x196cd6>>>0x8&0xff]<<0x8|_0x2aeda7[_0x59b606&0xff])^_0x191f21[_0x160dc3++],_0x27e19a=(_0x2aeda7[_0x12bde3>>>0x18]<<0x18|_0x2aeda7[_0x196cd6>>>0x10&0xff]<<0x10|_0x2aeda7[_0x59b606>>>0x8&0xff]<<0x8|_0x2aeda7[_0x141697&0xff])^_0x191f21[_0x160dc3++],_0x2f1c12=(_0x2aeda7[_0x196cd6>>>0x18]<<0x18|_0x2aeda7[_0x59b606>>>0x10&0xff]<<0x10|_0x2aeda7[_0x141697>>>0x8&0xff]<<0x8|_0x2aeda7[_0x12bde3&0xff])^_0x191f21[_0x160dc3++];_0x26d5ce[_0xb7316b]=_0x2d30fd,_0x26d5ce[_0xb7316b+0x1]=_0x2f39fc,_0x26d5ce[_0xb7316b+0x2]=_0x27e19a,_0x26d5ce[_0xb7316b+0x3]=_0x2f1c12;},'keySize':0x100/0x20});_0x5c58ee[_0x30cd60(0x1d3)]=_0x41a209[_0x30cd60(0x187)](_0xe83d41);}()),_0x3905d1[_0x25dc15(0x1d3)];}));}(Ve)),Ve[_0x24144a(0x2c0)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);function _0x54f2(){var _0x329459=['close','default','HttpExport','setConfig','unitId','keySize','unknown','_clearHeartbeatTimer','roomInfos','hasOwnProperty','UNIVER_COLLABORATION_CLIENT_PLUGIN','changesets','getCurrentUser','HmacMD5','get','image/jpg','charAt','save\x20fail\x20reason\x20is\x20','onTransformRemoteChangesetByStateCache','MUTATION','onCommentUpdate','_initMergeInterceptor','/resources','getFocusedUnit','min','patch','editingUnit','max','EMAIL_HAS_BEEN_BOUND','CHANGESET_ACK','CHANGESET_REVISION_CONFILICT','unitID','_stopTelemetryCollaborationNewChangeset','subscribe','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onRemoteRetry','formatter','_nDataBytes','saveSnapshot','_snapshotService','SUBMIT_CHANGESET','byteOffset','_nRounds','_sendHeartbeatTimer','transformChangesets','CURRENT_STATUS_CANNOT_OPERATE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','name','error','LOGIN_FAILED','HttpImport','getResourcesRequest','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_onUserJoin','__creator','_createHmacHelper','_HTTPService','Failed\x20to\x20update\x20permission\x20point','1354422kuMSXL','_transformStack','update','updateOfflineData','authzUrl','compute','awaiting_with_pending','LIVESHARE_TERMINATE','AUTHORIZE_CODE_ILLEGAL','origin','reverse','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_queuedRemoteChangesets','getRandomValues','failed\x20to\x20apply\x20missed\x20changesets!','substr','dispose','offline','onSyncEditingCollabCursor','_updateStatus','onRemoteChangeset','close$','set','deleteCollaborator','_tryReconnect','commentUpdateEvent','/universer-api/comb','[CollaborationState]:\x20apply\x20error!','fromCollab','35180CuJABD','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','key','GLOBAL_ROOMS_CNT_EXCEEDS','enableSingleActiveInstanceLock','msCrypto','getLatestCsReqIdBySid','csRejEvent','apply','UNISCRIPT_RUN','_commentService','_clearUndo','_collaborationPaused','findIndex','_sendingTimer','_transitionLocked','FETCH_MISS','disposeWithMe','entries','session.join-failed','_unlockTransition','HEARTBEAT','_status$','ERROR_EXCEED_SIZE','_getLoginPath','objects','_config','[CollaborationSession]','OPTIONAL','_initUnitPermissionChange','/block/','ceil','NOT_COLLAB','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_initDependencies','[CollaborationUndoRedoService]','_keyPriorReset','asObservable','extend','_removeRoom','string','forEach','localeService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','\x0aAfter:\x20','subject','_clearTimeoutTimer','then','_createInitialState','SUCCUSS','/universer-api/snapshot','_replaceFileID','encryptBlock','getValue','_transformStateCache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNKNOWN_CMD','YUUMI_NO_CUBOID_FOR_QUESTION','8236544aosXCQ','YUUMI_ASYNCIO_CANCELLED','ENSURE_SNAPSHOT_EXECUTION','getUnitId','pauseCollaboration','[FetchMissState]','random','_init','ClipsheetFragments','_disableEditing','getUnitStatus$','Error\x20on\x20receiving\x20event','_userManagerService','memberID','_awaitingChangeset','_sessionStatus$','YUUMI_SUBSCRIPTION_NOT_FOUND','startsWith','getMemberID','clone','_registerDependencies','_unitInfo$','&to=','randomBytes','_event$','NoPadding','_getUndoStack','getTime','format','onSendChangeset','_socket$','session.room-permission-denied','WordArray','body','_clearLocalCache','_onRecvEvent','PENDING','loadDoc','enc','&assign=','_telemetryInfo','_unitID','/universer-api/snapshot/','$super','COMPRESS_MUTATION_APPLY','signUrlServerUrl','_createHandler','UnitEmbedded','ws://127.0.0.1:8000/universer-api/comb/connect','post','readyForCollab','[UniverCollaborationClientPlugin]','USERS_LEAVE','ENTITLE_DUP_SUBSCRIPTION','75UckEQf','connection\x20error','_collaborationUIEventService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','mutations','encrypt','_sendHeartbeat','NOT_FOUND','open$','onCommandExecuted','onTransformSelections','996ASVYGM','_snapshotServerService','Pkcs7','routeKey','LICENSE_DISTRO_REJECTED','_exhaustRemoteChangesetQueue','_tryEnsureSocket','byteLength','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','objectType','onTransformRemoteChangesetByIMECache','onLocalMutation','REDEMPTION_USER_NOT_ELIGIBLE','setWaitCount','append','data','onTransformIME','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onRemoteRetry','resolve','function','[PendingState]:\x20received\x20rejection.','loadUnitOfRevision','Cipher','_checkMissing','UserProfileImg','ONLINE','socket\x20close','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','algo','allowed','APPLY_DUPLICATED','USERS_ENTER','_transformRemoteChangesetByStateCache','[SyncedState]:\x20received\x20acknowledgement.','[OfflineState]:\x20received\x20changeset.','prototype','sigBytes','addImageSourceCache','_acknowledgedAwaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_startCollaboration','blockSize','padding','_map','REDEMPTION_USER_REDEEM_TIMES_EXCEED','add','type','_getUploadFileURL','Hasher','cfg','executeCommand','message$','COMPRESS_MUTATION_SEND','22561stXsuZ','selections','USER_NOT_INVITED_CODE','_undoRedoService','6093UzaNFy','_commandService','Malformed\x20UTF-8\x20data','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getSendChangesetTimeout','getCollabEntity','UPDATE_CURSOR','UNAUTHENTICATED','_xformMode','finalize','length','CHANGESET_REJ','SHOULD_CLOSE_CONN','onTransformState','create','PY_RUNTIME_SCRIPT_ERROR','words','m2Prime','[CollaborationEntity]','file','_updateState','getCurrentRevOfUnit','not_collab','_singleActiveUnitService','_collaborationSessionService','UPDATE_PERMISSION_OBJ','updateCursorEvent','_onRemoteRejected','_collaborationTimeoutTimer','responseType','_iv','/object','POST','UNIVER_DOC','LIVESHARE_FETCH_OPERATIONS','awaiting','APPLY_REJECT','session','{fileID}','SOCKET_FAILED_RETRY','title','_reverseMap','enableCollaboration','UNIVER_SLIDE','pad','updateMember','location','now','LIVESHARE_REQUEST_HOST','list','toggleOffline','getWorkbookSelections','NEW_CHANGESETS','fetching\x20missing\x20changesets\x20from\x20','_keySchedule','state','YUUMI_RATE_OVER_LIMIT','UNDEFINED','debug','getSnapshotAPIPath','/universer-api/user/session-ticket','_handler','range','INTERNAL_ERROR','CHANGESET_SHOULD_RETRY','_rescheduleHeartbeat','_injector','_collabSessionService','ciphertext','_invKeySchedule','_candidateSocket','subUnitId','_doCryptBlock','getImage','REDEMPTION_CODE_NOT_STARTED','_state$','PERMISSION_REJ','batchAllowed','LICENSE_MAX_UNITS_EXCEEDED','_entityInit$','_hash','createInstance','onRemoteRej','_prevBlock','objectActions','ENTITLE_CHAT_LIMIT_EXCEED','LIVESHARE_OPERATION','_roomMembers','INGEST','INVITE_CODE_HAS_BEEN_UES','/-/object/list','enableAuthServer','[OfflineState]:\x20received\x20rejection.','[DataLoaderService]','submit\x20changeset\x20error!','capture','x-univer-host','_remoteChangesetQueue','avatar','_toggleOnline','_parse','params','_joinRoom','_listenToNetworkCondition','USER_NOT_FOUND','eventID','CONNECTOR_DATA_TOO_LARGE','JOIN_ROOM_FAILED','_startTelemetryCollaborationNewChangeset','_sheetTransformSelectionsService','c2Prime','\x20-\x20','objectID','LOGIN_TOKEN_PROCESSING_FAILED','MOBILE_VERIFY_CODE_MISMATCH','JOIN_ROOM_PERMISSION_DENIED','INVALID_ARGUMENT','toString','ERROR_IMAGE','sid','_clearRedo','addHandlerCallback','Undefined','_scheduleCompleteTimestamp','awaitingChangeset','conflict','slice','_onFetchMissResult','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','refreshPermission','/-/object/-/batch_allowed','fromCharCode','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ENTITLE_NEED_BILLING_ADDRESS','/unit/','APPLY_PERMISSION_DENIED','_createHelper','resourceIDs','clear','hostname','transformSelections','_createSocket','[CollaborationSessionService]:\x20socket\x20error','online$','updateSnapshot','textRanges','_ENC_XFORM_MODE','SOCKET_FAILED','stopTime','_initRequestHeader','transformMutationsWithChangeset','_instanceService','userID','_syncEditingCollabCursor','collaMsg','UNIVER_PROJECT','/allowed','find','UNIVER_SHEET','_state','PAYMENT_CHANNEL_NOT_SUPPORT','/collaborator','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','PERSON','INVALID_INVITE_CODE','univer-pro.collaboration-client-socket-service','OFFLINE','loadUnit','_pendingMutations','href','HEARTBEAT_TIMEOUT','RECV','actions','_socketMessageSubscription','_getCurrentRevision','map','resend','auth.needGotoLoginAlert','enableOfflineEditing','liveShareNewHost','override','session.room-full','isPermissionRej','_substituteUndoStack','clamp','_revisionService','joinRsp','getTypeOfUnitAdded$','_process','_onConflict','snapshot','getMember','getDeserializedSheetBlock','_onUserLeave','updatePermissionPoint','_onCombEvent','_getAPIPrefix','_onConnectionFailed','YUUMI_ALL_TABLES_IS_INVALID','collabWebSocketUrl','waitForRoom$','INVITE_CODE_REQUIRED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','filter','_getSignURL','floor','SHA1','_toggleOffline','EMAIL_VERIFY_CODE_MISMATCH','reconnect','_transformService','encode','AES','localCacheService','LIVESHARE_NEW_HOST','charCodeAt','headers','YUUMI_UNABLE_LOAD_URL','sessionStatus','_fetchMissChangesets','NO_OTHER_CLIENTS_EDITING','_cipher','snapshotServerUrl','delete','getAllMembers','getInterceptPoints','_handlerCallback','every','_onMessage','getCurrentSelections','JOIN_ROOM_FULL','entityInit$','_redoStacks','parse','_key','reset','_onConnectionOpen','_minBufferSize','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','PERMISSION_DENIED','incrementRevOfUnit','UUID','appendMutation','onRemoteAck','FileId','_mode','MD5','/universer-api/uniscript','_members','_resendWithTimeout','_getDownloadEndpointURL','rev','_sender','cmd','fetch_missing','_clearScheduledTask','YUUMI_CONNECTOR_URL_NOT_FOUND','LICENSE_IMPORT_SIZE_EXCEEDED','onlyLocal','_retryCount','BufferedBlockAlgorithm','roles','_resendTimeout','call','join','saveSheetBlock','fetchMiss','TOO_MANY_REQUESTS','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','c1Prime','ivSize','uniscriptRunEvent','next','_replayCachedMutations','size','JOIN','_applyRemoteChangeset','ENTITLE_CAN_NOT_BUY_LOWER_OTP','WECHAT_HAS_BEEN_BOUND','image/gif','YUUMI_URL_COL_OUT_OF_RANGE','event$','hasher','SNAPSHOT_INVALID_SNAPSHOT','Encryptor','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','1783149NsIZaE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','put','updatePermissionObjEvent','status','ALREADY_EXISTS','code','_memberService','/object/','unsubscribe','EvpKDF','_compressMutationService','symbol','dispose$','setShowComponents','decrypt','_data','_httpService','_scheduleCollaborationTimeoutTimer','splice','CLOSE_ROOM','permissionRejEvent','action','_initCloseConn','_executeRemoteChangeset','repeat','getSheetId','APPLY_NON_SEQUENTIAL_REVISION','OTHER_CLIENTS_EDITING','FAIL','getConfig','baseRev','buffer','_change$','send','members','onMissingChangesets','_shouldReportTelemetry','_hasher','isArray','Latin1','pending','_changesetReqId','univer-pro.collaboration-client.network-condition.service','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_type','state$','loadOfflineData','src','catch','FETCH_MISSING','readAsDataURL','Base64','_onOffline','_telemetryService','editing\x20status\x20changed\x20to','onMissedChangesetFetched','_transformIMECache','init','INVITE_CODE_ALREADY_BOUND','removeMember','_substituteRedoStack','UNKNOWN_CODE','sessionStatus$','YUUMI_AI_RUN_FAILED','_doProcessBlock','REDEMPTION_INVALID_CODE','_commentUpdate$','LEAVE','_transformUndoredo','transformUndoRedo','_clearCollaborationTimeoutTimer','originalMeta','_isPermissionRej','getOwnPropertyDescriptor','/rev/','\x0aCurrent:\x20','JOIN_ROOM_NOT_EXISTS','sendChangesetTimeout','getTypeOfUnitDisposed$','interceptor','265964EZZuYc','_clearRetryConnectingTimer','reqId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Hex','sin','AWAITING','_waitForHeartbeatResponse','createSocket','readInt32LE','_createInitialStateImpl','salt','_imageSourceCache','Decryptor','result','Utf8','getUnit','getCollabEntity$','_members$','COMMENT_UPDATE','StreamCipher','_univerInstanceService','status$','fetchThroughInterceptors','_localeService','withCredentials','_undoStacks','JOINING','saveChangeset','fetchMissingChangesets','/universer-api/file/{fileID}/sign-url','revision','pipe','REDEMPTION_CODE_INACTIVE','_doReset','shouldCloseConn','url','IDLE','_onLocalMutation','liveShareOperation','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_entities','MSG_FOR_ERROR','_resendTimer','emitEvent','_logService','toggleOnline','_onJoinRoomEvent','execute','SUBMIT_CHANGESET_TIMEOUT','values','collaborators','_waitCount','Base','stringify','mode','LOCAL_CACHE_INTERVAL','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','People','copyFileMeta','PSEUDO_FETCH_MISSING_RESULT','_updateLocalCache','members$','_getAPIPrefixPath','_socketReady','_incrementRevisionNumber','collaboration_new_changeset','transformStack\x20failed!','lib','_append','OTHER_CLIENT_EDITING','crypto','abs','_permissionService','_decreaseWaiting','/new_changes','confirm','CONFLICT','reject','requestParams','onStateChange','exports','UnitSnapshot','synced','push','_onRemoteChangeset','requireSession','/fetchmissing?from=','Could\x20not\x20dynamically\x20require\x20\x22','_showConflictNotification','replace','image/jpeg','MOBILE_HAS_BEEN_BOUND','CBC','_networkConditionService','Univer','unitId\x20is\x20not\x20found','?url=','/universer-api/oidc/authpage','encodeURIComponent','getUnitOnRev','ERROR_AGAIN','updateCollaborator','getActiveSheet','_retryConnectingTimer','reduce','BlockCipherMode','_emitMembers','_timeoutTimer','has','closeSession','_getRedoStack','1642298jEhDBJ','_changesetSessionId','getSheetBlock','unit-cache-','_oKey','error$','listCollaborators','processBlock','BASE64','UNIVER_UNKNOWN','UNRECOGNIZED','ENTITLE_REPORT_LIMIT_EXCEED','_sessions','_configService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','createEncryptor','_lockTransition','HMAC','concat','_schedule','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSessionService]','_roomCreated$','decryptBlock','kdf','getUnitType','_doFinalize','_localCacheService','complete','HELLO','_socket','iterations','USER_IS_ANONYMOUS','/role'];_0x54f2=function(){return _0x329459;};return _0x54f2();}var Xe={'exports':{}},On=Xe[_0x259c74(0x2c0)],si;function Rn(){var _0x340c8e=_0x259c74;return si||(si=0x1,function(_0x2c5bb3,_0x12e910){(function(_0x45096e,_0x511035){_0x2c5bb3['exports']=_0x511035(ie());}(On,function(_0x2a04c2){var _0x6369f=_0x28c4;return _0x2a04c2[_0x6369f(0x3b8)]['Utf8'];}));}(Xe)),Xe[_0x340c8e(0x2c0)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x259c74(0x2c0)],ni;function Dn(){return ni||(ni=0x1,function(_0x325211,_0x3524be){(function(_0x313a29,_0x4caf91){var _0x1460ea=_0x28c4;_0x325211[_0x1460ea(0x2c0)]=_0x4caf91(ie());}(bn,function(_0x370be7){var _0x535b29=_0x28c4;return(function(){var _0x1ddb08=_0x28c4;if(typeof ArrayBuffer==_0x1ddb08(0x3e8)){var _0x30a70a=_0x370be7,_0x256387=_0x30a70a[_0x1ddb08(0x2b3)],_0x83e3d8=_0x256387[_0x1ddb08(0x3b2)],_0x311ca5=_0x83e3d8[_0x1ddb08(0x258)],_0x138ecf=_0x83e3d8[_0x1ddb08(0x258)]=function(_0x5a60a7){var _0x245761=_0x1ddb08;if(_0x5a60a7 instanceof ArrayBuffer&&(_0x5a60a7=new Uint8Array(_0x5a60a7)),(_0x5a60a7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5a60a7 instanceof Uint8ClampedArray||_0x5a60a7 instanceof Int16Array||_0x5a60a7 instanceof Uint16Array||_0x5a60a7 instanceof Int32Array||_0x5a60a7 instanceof Uint32Array||_0x5a60a7 instanceof Float32Array||_0x5a60a7 instanceof Float64Array)&&(_0x5a60a7=new Uint8Array(_0x5a60a7[_0x245761(0x23e)],_0x5a60a7[_0x245761(0x32a)],_0x5a60a7[_0x245761(0x3da)])),_0x5a60a7 instanceof Uint8Array){for(var _0x1adc45=_0x5a60a7[_0x245761(0x3da)],_0x150ecb=[],_0x3eaecc=0x0;_0x3eaecc<_0x1adc45;_0x3eaecc++)_0x150ecb[_0x3eaecc>>>0x2]|=_0x5a60a7[_0x3eaecc]<<0x18-_0x3eaecc%0x4*0x8;_0x311ca5[_0x245761(0x206)](this,_0x150ecb,_0x1adc45);}else _0x311ca5[_0x245761(0x360)](this,arguments);};_0x138ecf[_0x1ddb08(0x3f8)]=_0x83e3d8;}}()),_0x370be7[_0x535b29(0x2b3)][_0x535b29(0x3b2)];}));}(Ze)),Ze['exports'];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x259c74(0x2c0)],ri;function Pn(){return ri||(ri=0x1,function(_0x39bb15,_0x315529){(function(_0x113c05,_0x3ef85d,_0x35e3c8){var _0x45f28c=_0x28c4;_0x39bb15[_0x45f28c(0x2c0)]=_0x3ef85d(ie(),Ni());}(An,function(_0x9b0a41){var _0x166a79=_0x28c4;return _0x9b0a41[_0x166a79(0x43a)][_0x166a79(0x3ab)]={'pad':function(){},'unpad':function(){}},_0x9b0a41[_0x166a79(0x43a)][_0x166a79(0x3ab)];}));}(Qe)),Qe['exports'];}var wn=Pn();const Mn=$e(wn);function Ln(_0x2bb4b6,_0x4b359b){var _0x736e1b=_0x259c74;const _0x2365f6=_0x4b359b-_0x2bb4b6[_0x736e1b(0x418)]%_0x4b359b,_0x37a7fd=String[_0x736e1b(0x182)](_0x2365f6)[_0x736e1b(0x237)](_0x2365f6);return _0x2bb4b6+_0x37a7fd;}function xn(_0x13eb37,_0x2d3767){var _0x418cdf=_0x259c74;const _0x2d30db=Un[_0x418cdf(0x398)](0x10),_0x21586e=Ln(_0x13eb37,0x10),_0x5ba265=gn[_0x418cdf(0x3cd)](Nn[_0x418cdf(0x1e8)](_0x21586e),ii[_0x418cdf(0x1e8)](_0x2d3767),{'iv':_0x2d30db,'padding':Mn});return _0x2d30db[_0x418cdf(0x2f1)](_0x5ba265[_0x418cdf(0x452)])['toString'](ii);}function kn(){var _0x2e967b=_0x259c74;const _0x3b51b9=_0x429284()['__Key__'];if(_0x3b51b9){const _0x338dd0={'time':Math['floor'](Date[_0x2e967b(0x43d)]()/0x3e8),'domain':location[_0x2e967b(0x18a)]};return xn(JSON[_0x2e967b(0x2a5)](_0x338dd0),_0x3b51b9);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0xcd1ec9,_0x65150d,_0x190148,_0x492cad)=>{var _0x3bf35f=_0x259c74;for(var _0x237ee8=_0x492cad>0x1?void 0x0:_0x492cad?$n(_0x65150d,_0x190148):_0x65150d,_0x211ac7=_0xcd1ec9[_0x3bf35f(0x418)]-0x1,_0x414c89;_0x211ac7>=0x0;_0x211ac7--)(_0x414c89=_0xcd1ec9[_0x211ac7])&&(_0x237ee8=_0x414c89(_0x237ee8)||_0x237ee8);return _0x237ee8;},Bn=(_0x3ea29f,_0x54194f)=>(_0x21d305,_0x145e30)=>_0x54194f(_0x21d305,_0x145e30,_0x3ea29f);let at=class{constructor(_0x4ed8f7){var _0x43a53f=_0x259c74;this[_0x43a53f(0x22f)]=_0x4ed8f7,this[_0x43a53f(0x194)]();}['_initRequestHeader'](){var _0x485656=_0x259c74;this[_0x485656(0x22f)]['registerHTTPInterceptor']({'interceptor':(_0x5e9e5e,_0x239e6a)=>{var _0x2e30f1=_0x485656;const _0x6d9328=_0x5e9e5e[_0x2e30f1(0x1d7)],_0x293932=kn();return _0x293932&&_0x6d9328[_0x2e30f1(0x351)](_0x2e30f1(0x46e),_0x293932),_0x239e6a(_0x5e9e5e);}});}};at=Hn([Bn(0x0,_0x479712(_0x44cd1e))],at);var jn=Object[_0x259c74(0x268)],Fn=(_0x154d59,_0x1bb04d,_0x36c9b7,_0x381b44)=>{var _0x3e6baa=_0x259c74;for(var _0x823e0a=_0x381b44>0x1?void 0x0:_0x381b44?jn(_0x1bb04d,_0x36c9b7):_0x1bb04d,_0x4922e9=_0x154d59[_0x3e6baa(0x418)]-0x1,_0x389c23;_0x4922e9>=0x0;_0x4922e9--)(_0x389c23=_0x154d59[_0x4922e9])&&(_0x823e0a=_0x389c23(_0x823e0a)||_0x823e0a);return _0x823e0a;},vt=(_0x40c547,_0x95b5f8)=>(_0x42faa2,_0x3d7234)=>_0x95b5f8(_0x42faa2,_0x3d7234,_0x40c547);let Ot=class extends _0x271f03{constructor(_0x27d4a9,_0x179f4e,_0x57575d){var _0x4b984d=_0x259c74;super(),D(this,'_unitInfo$',new _0x5ac99c(null)),D(this,'unitInfo$',this[_0x4b984d(0x3a7)][_0x4b984d(0x37d)]()),(this[_0x4b984d(0x29c)]=_0x27d4a9,this[_0x4b984d(0x328)]=_0x179f4e,this['_localCacheService']=_0x57575d);}async[_0x259c74(0x3ea)](_0x3e4ad2,_0x570879,_0x3754db){var _0x5cf6ff=_0x259c74;this[_0x5cf6ff(0x3a7)][_0x5cf6ff(0x210)]({'unitId':_0x3e4ad2,'type':_0x570879});let _0x4845cd=null;switch(_0x570879){case Q[_0x5cf6ff(0x19d)]:{_0x4845cd=await this['_snapshotService']['loadSheet'](_0x3e4ad2,_0x3754db);break;}case Q[_0x5cf6ff(0x42f)]:{_0x4845cd=await this[_0x5cf6ff(0x328)][_0x5cf6ff(0x3b7)](_0x3e4ad2,_0x3754db);break;}default:{this[_0x5cf6ff(0x29c)][_0x5cf6ff(0x331)](_0x5cf6ff(0x46b),_0x5cf6ff(0x2f3));break;}}return _0x4845cd;}async[_0x259c74(0x1a6)](_0x32dd2f,_0x2557f7,_0x46fbdc){var _0x5dbf12=_0x259c74,_0x247c0f;this['_unitInfo$']['next']({'unitId':_0x32dd2f,'type':_0x2557f7,'subUnitId':_0x46fbdc});let _0x2bafbc=0x0;const _0xb3c5ef=await((_0x247c0f=this[_0x5dbf12(0x2fa)])==null?void 0x0:_0x247c0f[_0x5dbf12(0x24d)](_0x32dd2f));return _0xb3c5ef&&(_0xb3c5ef[_0x5dbf12(0x17b)]||_0xb3c5ef[_0x5dbf12(0x3cc)][_0x5dbf12(0x418)]!==0x0)&&(_0x2bafbc=_0xb3c5ef[_0x5dbf12(0x1fa)]),_0x2bafbc===0x0&&this[_0x5dbf12(0x29c)][_0x5dbf12(0x448)]('[DataLoaderService]',_0x5dbf12(0x2a8)),this[_0x5dbf12(0x3ea)](_0x32dd2f,_0x2557f7,_0x2bafbc);}};Ot=Fn([vt(0x0,_0x597a05),vt(0x1,_0x479712(_0x251112)),vt(0x2,_0xdd8f64(J))],Ot);var Vn=Object[_0x259c74(0x268)],Gn=(_0x4887fc,_0x33dbc7,_0x3de269,_0x1b9edb)=>{var _0x4e0bdb=_0x259c74;for(var _0x404879=_0x1b9edb>0x1?void 0x0:_0x1b9edb?Vn(_0x33dbc7,_0x3de269):_0x33dbc7,_0x48d280=_0x4887fc[_0x4e0bdb(0x418)]-0x1,_0x1371c1;_0x48d280>=0x0;_0x48d280--)(_0x1371c1=_0x4887fc[_0x48d280])&&(_0x404879=_0x1371c1(_0x404879)||_0x404879);return _0x404879;},pt=(_0xfb809d,_0x56bdda)=>(_0x47ac3e,_0x29f690)=>_0x56bdda(_0x47ac3e,_0x29f690,_0xfb809d);const Wn=['image/png',_0x259c74(0x2ca),_0x259c74(0x310),_0x259c74(0x217),'image/bmp'],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x259c74(0x28d);let Rt=class{constructor(_0x35bbc4,_0x206cfc,_0x3a742d){var _0x483bf1=_0x259c74;D(this,'_waitCount',0x0),D(this,_0x483bf1(0x23f),new _0x4fab98()),D(this,'change$',this[_0x483bf1(0x23f)]),D(this,_0x483bf1(0x27b),new Map()),(this[_0x483bf1(0x22f)]=_0x35bbc4,this['_configService']=_0x206cfc,this['_univerInstanceService']=_0x3a742d);}[_0x259c74(0x3e0)](_0x5c7fd1){var _0x244dd7=_0x259c74;this[_0x244dd7(0x2a3)]=_0x5c7fd1,this['_change$'][_0x244dd7(0x210)](_0x5c7fd1);}['getImageSourceCache'](_0x1de4dc,_0x450c29){var _0xc06dd1=_0x259c74;if(_0x450c29===_0x730ce6['BASE64']){const _0x5bea65=new Image();return _0x5bea65[_0xc06dd1(0x24e)]=_0x1de4dc,_0x5bea65;}return this[_0xc06dd1(0x27b)]['get'](_0x1de4dc);}[_0x259c74(0x3fa)](_0x10ec24,_0x4b452a,_0x5ce545){var _0x16c9bf=_0x259c74;_0x4b452a===_0x730ce6[_0x16c9bf(0x2e7)]||_0x5ce545==null||this[_0x16c9bf(0x27b)]['set'](_0x10ec24,_0x5ce545);}async[_0x259c74(0x457)](_0x2ffcb8){var _0x198a65=_0x259c74;try{const _0x53d44e=this[_0x198a65(0x38b)](this[_0x198a65(0x1cb)](),''+_0x2ffcb8),_0x3c45c0=(await this[_0x198a65(0x22f)][_0x198a65(0x30f)](_0x53d44e))[_0x198a65(0x3b3)];if(_0x3c45c0['error']&&_0x3c45c0[_0x198a65(0x331)][_0x198a65(0x224)]===vi['OK']){const _0x500edb=new URL(_0x3c45c0[_0x198a65(0x293)],this[_0x198a65(0x1f9)]())[_0x198a65(0x174)]();return Promise[_0x198a65(0x3e7)](_0x500edb);}return Promise['reject'](_0x3c45c0[_0x198a65(0x331)]);}catch(_0x51351e){return Promise[_0x198a65(0x2bd)](_0x51351e);}}async['saveImage'](_0x468324){var _0x9b23aa=_0x259c74;let _0x8ca0ae='';if(!Wn['includes'](_0x468324[_0x9b23aa(0x403)]))return this[_0x9b23aa(0x2b9)](),Promise[_0x9b23aa(0x2bd)](new Error(_0x44aa55['ERROR_IMAGE_TYPE']));if(_0x468324['size']>Yn)return this['_decreaseWaiting'](),Promise[_0x9b23aa(0x2bd)](new Error(_0x44aa55[_0x9b23aa(0x36f)]));try{const _0x2c3c4d=new FormData();_0x2c3c4d[_0x9b23aa(0x3e1)](_0x9b23aa(0x421),_0x468324);const _0x58c9d3=this['_univerInstanceService']['getFocusedUnit'](),_0x4a0701=_0x58c9d3==null?void 0x0:_0x58c9d3['getUnitId']();if(!_0x4a0701)throw new Error(_0x9b23aa(0x2cf));const _0x2f9939=this[_0x9b23aa(0x404)]()+'?size='+_0x468324['size'][_0x9b23aa(0x174)]()+'&source='+pi[_0x9b23aa(0x3c1)]+_0x9b23aa(0x3b9)+encodeURIComponent(_0x4a0701),_0x5c0aa8={'body':_0x2c3c4d},_0xed2f89=(await this[_0x9b23aa(0x22f)][_0x9b23aa(0x3c3)](_0x2f9939,_0x5c0aa8))['body'];if(typeof _0xed2f89['FileId']!=_0x9b23aa(0x380))return this[_0x9b23aa(0x2b9)](),Promise[_0x9b23aa(0x2bd)](new Error(_0x44aa55[_0x9b23aa(0x175)]));_0x8ca0ae=_0xed2f89[_0x9b23aa(0x1f3)];}catch{return this[_0x9b23aa(0x2b9)](),Promise[_0x9b23aa(0x2bd)](new Error(_0x44aa55['ERROR_IMAGE']));}return new Promise((_0x4941d2,_0x1b06dc)=>{var _0x16e5dc=_0x9b23aa;const _0x3883b2=new FileReader();_0x3883b2[_0x16e5dc(0x251)](_0x468324),_0x3883b2['onload']=_0x4440c8=>{var _0xfbe9fb=_0x16e5dc,_0x2afaf2;const _0x46f504=(_0x2afaf2=_0x4440c8['target'])==null?void 0x0:_0x2afaf2['result'];if(_0x46f504==null){this[_0xfbe9fb(0x2b9)](),_0x1b06dc(new Error(_0x44aa55[_0xfbe9fb(0x175)]));return;}const _0x5cf9a8=_0x1950d2(0x6);_0x4941d2({'imageId':_0x5cf9a8,'imageSourceType':_0x730ce6[_0xfbe9fb(0x1f0)],'source':_0x8ca0ae,'base64Cache':_0x46f504,'status':_0x44aa55[_0xfbe9fb(0x389)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x46c4fd=_0x259c74,_0x53d42f;const _0xee4bc6=this['_configService'][_0x46c4fd(0x23c)](K);return(_0x53d42f=_0xee4bc6==null?void 0x0:_0xee4bc6['uploadFileServerUrl'])!=null?_0x53d42f:Kn;}[_0x259c74(0x1cb)](){var _0x3cc94a=_0x259c74,_0x2e3498;const _0x198529=this['_configService'][_0x3cc94a(0x23c)](K);return(_0x2e3498=_0x198529==null?void 0x0:_0x198529[_0x3cc94a(0x3bf)])!=null?_0x2e3498:qn;}['_getDownloadEndpointURL'](){var _0x260376=_0x259c74,_0x208f81;const _0xcc5f91=this[_0x260376(0x2ec)][_0x260376(0x23c)](K);return(_0x208f81=_0xcc5f91==null?void 0x0:_0xcc5f91['downloadEndpointUrl'])!=null?_0x208f81:location[_0x260376(0x344)];}[_0x259c74(0x38b)](_0x46a54c,_0x4a9248){var _0x1f250d=_0x259c74;return _0x46a54c[_0x1f250d(0x2c9)](_0x1f250d(0x434),_0x4a9248);}['_decreaseWaiting'](){var _0x52b0b3=_0x259c74;this[_0x52b0b3(0x2a3)]-=0x1,this[_0x52b0b3(0x23f)][_0x52b0b3(0x210)](this['_waitCount']);}};Rt=Gn([pt(0x0,_0x479712(_0x44cd1e)),pt(0x1,_0x5dd738),pt(0x2,_0x479712(_0x2979fe))],Rt);var zn=Object[_0x259c74(0x268)],Jn=(_0x5d8b5c,_0x132f52,_0x438b68,_0x1edfe4)=>{var _0x5e3c17=_0x259c74;for(var _0x2478b8=_0x1edfe4>0x1?void 0x0:_0x1edfe4?zn(_0x132f52,_0x438b68):_0x132f52,_0x15525a=_0x5d8b5c[_0x5e3c17(0x418)]-0x1,_0x2e630b;_0x15525a>=0x0;_0x15525a--)(_0x2e630b=_0x5d8b5c[_0x15525a])&&(_0x2478b8=_0x2e630b(_0x2478b8)||_0x2478b8);return _0x2478b8;},ai=(_0x7a91f8,_0x1cc512)=>(_0xe0fc40,_0x241615)=>_0x1cc512(_0xe0fc40,_0x241615,_0x7a91f8);const Xn='/universer-api/authz';let Ct=class{constructor(_0x462763,_0x23b55f){var _0x3bf811=_0x259c74;this[_0x3bf811(0x2ec)]=_0x462763,this['_HTTPService']=_0x23b55f;}['_getAPIPrefixPath'](){var _0xb26ce7=_0x259c74,_0x141d3a;const _0x5fae2b=this[_0xb26ce7(0x2ec)][_0xb26ce7(0x23c)](K);return(_0x141d3a=_0x5fae2b==null?void 0x0:_0x5fae2b[_0xb26ce7(0x33f)])!=null?_0x141d3a:Xn;}async[_0x259c74(0x43f)](_0x45c8d6){var _0x3a7693=_0x259c74;const _0x3e02fb=this[_0x3a7693(0x2ae)]()+'/collaborator';return{'list':[{'title':_0x3a7693(0x2a9),'mentions':(await this['_HTTPService'][_0x3a7693(0x30f)](_0x3e02fb,{'params':{'objectID':_0x45c8d6[_0x3a7693(0x305)],'unitID':_0x45c8d6[_0x3a7693(0x305)]}}))[_0x3a7693(0x3b3)][_0x3a7693(0x2a2)][_0x3a7693(0x1ae)](_0x2bb254=>({'objectId':_0x2bb254['id'],'name':_0x2bb254[_0x3a7693(0x385)]['name'],'metadata':{'icon':_0x2bb254[_0x3a7693(0x385)][_0x3a7693(0x470)]},'label':_0x2bb254[_0x3a7693(0x385)]['name'],'objectType':_0x18ebcb[_0x3a7693(0x1a2)]})),'metadata':{},'type':_0x18ebcb[_0x3a7693(0x1a2)]}]};}};Ct=Jn([ai(0x0,_0x479712(_0x5dd738)),ai(0x1,_0x479712(_0x44cd1e))],Ct);var Zn=Object[_0x259c74(0x268)],Qn=(_0x257c2c,_0x50166a,_0x492ac9,_0x35b74e)=>{var _0x1cf271=_0x259c74;for(var _0x33909d=_0x35b74e>0x1?void 0x0:_0x35b74e?Zn(_0x50166a,_0x492ac9):_0x50166a,_0x22ea1a=_0x257c2c[_0x1cf271(0x418)]-0x1,_0x3e2616;_0x22ea1a>=0x0;_0x22ea1a--)(_0x3e2616=_0x257c2c[_0x22ea1a])&&(_0x33909d=_0x3e2616(_0x33909d)||_0x33909d);return _0x33909d;},Ue=(_0x42c93e,_0x1031cf)=>(_0x5041d1,_0x2d92be)=>_0x1031cf(_0x5041d1,_0x2d92be,_0x42c93e);let ot=class extends _0x271f03{constructor(_0x52a3d1,_0x8d94aa,_0x5105f4,_0x3a191b,_0x25e388){var _0x228f4f=_0x259c74;super(),this['_injector']=_0x52a3d1,this['_univerInstanceService']=_0x8d94aa,this[_0x228f4f(0x2b8)]=_0x5105f4,this['_collaborationSessionService']=_0x3a191b,this[_0x228f4f(0x3ca)]=_0x25e388,this[_0x228f4f(0x375)](),this[_0x228f4f(0x235)]();}['_initCloseConn'](){var _0xc1f783=_0x259c74;const _0xb6d458=async _0x4a3564=>{var _0x5a18f0=_0x28c4;(await this[_0x5a18f0(0x426)]['requireSession'](_0x4a3564))[_0x5a18f0(0x219)][_0x5a18f0(0x28f)](_0x21080c(_0x3b017d=>_0x3b017d[_0x5a18f0(0x168)]===_0x6aadf0[_0x5a18f0(0x41a)]),_0x28187(this[_0x5a18f0(0x22b)]))[_0x5a18f0(0x322)](_0x5e5844=>{var _0x1a4884=_0x5a18f0;const _0x5ab92e=_0x5e5844,{reason:_0x1de0f9}=_0x5ab92e[_0x1a4884(0x3e2)];this[_0x1a4884(0x3ca)]['emitEvent']({'id':re['CLOSE_ROOM'],'data':_0x1de0f9}),this[_0x1a4884(0x2b8)]['updatePermissionPoint'](new _0x2a9243(_0x4a3564)['id'],!0x1),this[_0x1a4884(0x426)][_0x1a4884(0x2dd)](_0x4a3564);});};_0x3142f5(this[_0xc1f783(0x284)][_0xc1f783(0x1ba)](_0x33434f['UNIVER_SHEET']),this['_univerInstanceService'][_0xc1f783(0x1ba)](_0x33434f[_0xc1f783(0x42f)]))[_0xc1f783(0x28f)](_0x56a673(_0x436696=>_0x436696[_0xc1f783(0x395)]()),_0x21080c(_0x1f8a50=>!_0x4fb1b7(_0x1f8a50)),_0x28187(this[_0xc1f783(0x22b)]))[_0xc1f783(0x322)](_0x233fc6=>{_0xb6d458(_0x233fc6);});}[_0x259c74(0x375)](){var _0x12ecd9=_0x259c74;const _0x2daf29=async _0x26260d=>{var _0x550645=_0x28c4;const _0x138237=await this[_0x550645(0x426)][_0x550645(0x2c5)](_0x26260d),_0x28d6f5=this[_0x550645(0x450)][_0x550645(0x30f)](_0x1da1b2);_0x138237[_0x550645(0x219)][_0x550645(0x28f)](_0x21080c(_0x252a52=>_0x252a52['eventID']===_0x6aadf0[_0x550645(0x427)]),_0x28187(this[_0x550645(0x22b)]))[_0x550645(0x322)](_0x2a253c=>{var _0x41a111=_0x550645;const _0x37638a=_0x2a253c,{objectId:_0x2c299a}=_0x37638a[_0x41a111(0x3e2)];_0x2c299a===_0x26260d?_0x28d6f5['initWorkbookPermissionChange'](_0x26260d):_0x28d6f5[_0x41a111(0x180)](_0x26260d,_0x2c299a);});};_0x3142f5(this['_univerInstanceService'][_0x12ecd9(0x1ba)](_0x33434f[_0x12ecd9(0x19d)]))[_0x12ecd9(0x28f)](_0x56a673(_0x46d322=>_0x46d322[_0x12ecd9(0x395)]()),_0x21080c(_0x4a4aac=>!_0x4fb1b7(_0x4a4aac)),_0x28187(this['dispose$']))[_0x12ecd9(0x322)](_0x4963c5=>{_0x2daf29(_0x4963c5);});}};ot=Qn([Ue(0x0,_0x479712(_0x27a1da)),Ue(0x1,_0x2979fe),Ue(0x2,_0x25e5b9),Ue(0x3,_0x479712(we)),Ue(0x4,_0x479712(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x3dabd7,_0x175bee,_0x378e07,_0x7a2804)=>{var _0xf459d0=_0x259c74;for(var _0x187991=_0x7a2804>0x1?void 0x0:_0x7a2804?er(_0x175bee,_0x378e07):_0x175bee,_0x1ebbbd=_0x3dabd7[_0xf459d0(0x418)]-0x1,_0x4d9187;_0x1ebbbd>=0x0;_0x1ebbbd--)(_0x4d9187=_0x3dabd7[_0x1ebbbd])&&(_0x187991=_0x4d9187(_0x187991)||_0x187991);return _0x187991;},oi=(_0x395f6b,_0x39e55a)=>(_0x1075b4,_0x4b23b3)=>_0x39e55a(_0x1075b4,_0x4b23b3,_0x395f6b);let Nt=class{constructor(_0x33d701,_0x36c720){var _0x193f74=_0x259c74;this[_0x193f74(0x2ec)]=_0x33d701,this['_httpService']=_0x36c720;}async[_0x259c74(0x2d3)](_0x36b2a2,_0x49b895){var _0xebe7e5=_0x259c74,_0x499ba7;const {unitID:_0x3529f4,type:_0x4e662d,revision:_0x22efcd=0x0}=_0x49b895,_0x260ce3=this['getSnapshotAPIPath']()+'/'+_0x4e662d+_0xebe7e5(0x185)+_0x3529f4+_0xebe7e5(0x269)+_0x22efcd,_0x3fceb9=(await this['_httpService'][_0xebe7e5(0x30f)](_0x260ce3))['body'],_0x55b2dd=(_0x499ba7=_0x3fceb9[_0xebe7e5(0x1bd)])==null?void 0x0:_0x499ba7['workbook'];if(_0x55b2dd){const _0x2c6bf0=_0x55b2dd==null?void 0x0:_0x55b2dd[_0xebe7e5(0x266)],_0x528870=_0x4970f8[_0xebe7e5(0x1d2)](_0x37b5a1(_0x2c6bf0));_0x55b2dd[_0xebe7e5(0x266)]=_0x528870,Object[_0xebe7e5(0x36a)](_0x55b2dd['sheets'])['forEach'](([,_0x4a75ca])=>{var _0x488fa0=_0xebe7e5;const _0x503d48=_0x4a75ca['originalMeta'],_0x5ca38f=_0x4970f8[_0x488fa0(0x1d2)](_0x37b5a1(_0x503d48));_0x4a75ca[_0x488fa0(0x266)]=_0x5ca38f;});}return _0x3fceb9;}async[_0x259c74(0x2e1)](_0x3c28ee,_0x2024c5){var _0x1a465f=_0x259c74;const {unitID:_0x1bdcd5,type:_0xfc4fc4,blockID:_0x37ba18}=_0x2024c5,_0x2d3344=this[_0x1a465f(0x1c3)]()+'/'+_0xfc4fc4+_0x1a465f(0x185)+_0x1bdcd5+_0x1a465f(0x376)+_0x37ba18;return(await this[_0x1a465f(0x22f)]['get'](_0x2d3344))['body'];}async[_0x259c74(0x1bf)](_0x34c537,_0x3f2775){var _0x581344=_0x259c74;const {unitID:_0x5adcd3,type:_0x51cd7c,blockID:_0x32ed85}=_0x3f2775,_0x4ff71d=this[_0x581344(0x1c3)]()+_0x581344(0x376)+_0x51cd7c+_0x581344(0x185)+_0x5adcd3+'/block/'+_0x32ed85;return(await this[_0x581344(0x22f)][_0x581344(0x30f)](_0x4ff71d))['body'];}async[_0x259c74(0x28c)](_0x2f2bb6,_0xa00640){var _0x5efcfe=_0x259c74;const {unitID:_0x5ebaaf,type:_0x11be7a,from:_0x23be58,to:_0x4a2414}=_0xa00640,_0x325752=this[_0x5efcfe(0x1c3)]()+'/'+_0x11be7a+'/unit/'+_0x5ebaaf+_0x5efcfe(0x2c6)+_0x23be58+_0x5efcfe(0x3a8)+_0x4a2414;return(await this[_0x5efcfe(0x22f)]['get'](_0x325752))['body'];}[_0x259c74(0x449)](){var _0x1bcdf6=_0x259c74,_0xd77814;return(_0xd77814=this[_0x1bcdf6(0x2ec)][_0x1bcdf6(0x23c)](vs))!=null?_0xd77814:this['_getAPIPrefix']();}[_0x259c74(0x1c3)](){var _0x4aa228=_0x259c74,_0xfbe61;const _0x55a8ec=this[_0x4aa228(0x2ec)]['getConfig'](K);return(_0xfbe61=_0x55a8ec==null?void 0x0:_0x55a8ec[_0x4aa228(0x1dd)])!=null?_0xfbe61:fs;}async[_0x259c74(0x334)](_0x389091,_0x4e2769){var _0x36bc24=_0x259c74;const _0x40c92a=_0x36bc24(0x3bc)+_0x4e2769[_0x36bc24(0x403)]+_0x36bc24(0x185)+_0x4e2769[_0x36bc24(0x320)]+_0x36bc24(0x317);return(await this[_0x36bc24(0x22f)][_0x36bc24(0x30f)](_0x40c92a,{'params':{'resourceId':JSON[_0x36bc24(0x2a5)](_0x4e2769[_0x36bc24(0x188)])}}))[_0x36bc24(0x3b3)];}[_0x259c74(0x327)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x259c74(0x18f)](){var _0x57d9fe=_0x259c74;throw new Error(_0x57d9fe(0x3f0));}[_0x259c74(0x208)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x259c74(0x28b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x259c74(0x2aa)](){var _0x215beb=_0x259c74;throw new Error(_0x215beb(0x3f0));}[_0x259c74(0x35e)](){var _0x3dc515=_0x259c74;throw new Error(_0x3dc515(0x3f0));}};Nt=tr([oi(0x0,_0x5dd738),oi(0x1,_0x479712(_0x44cd1e))],Nt);var ir=Object[_0x259c74(0x268)],sr=(_0x374a7a,_0x1b0109,_0xf332be,_0x2752d8)=>{for(var _0x5c5080=_0x2752d8>0x1?void 0x0:_0x2752d8?ir(_0x1b0109,_0xf332be):_0x1b0109,_0x32f7b6=_0x374a7a['length']-0x1,_0x185260;_0x32f7b6>=0x0;_0x32f7b6--)(_0x185260=_0x374a7a[_0x32f7b6])&&(_0x5c5080=_0x185260(_0x5c5080)||_0x5c5080);return _0x5c5080;},Ae=(_0x59bbbf,_0x7ef0c5)=>(_0x2417fe,_0x13593e)=>_0x7ef0c5(_0x2417fe,_0x13593e,_0x59bbbf);let bt=class extends _0xfac7b9{constructor(_0x28ed5b,_0xc116f3,_0x280d07,_0x57be95,_0x595eaa){var _0x5d4833=_0x259c74;super(_0x28ed5b,_0xc116f3,_0x280d07),this[_0x5d4833(0x1d1)]=_0x57be95,this[_0x5d4833(0x29c)]=_0x595eaa;}['transformUndoRedo'](_0x3c8e94,_0x359a20){var _0x29df7a=_0x259c74;const _0x1f857e=this[_0x29df7a(0x3ac)](_0x3c8e94);if(_0x1f857e)try{const _0x47b7ad=this[_0x29df7a(0x33c)](_0x1f857e,_0x359a20);this['_substituteUndoStack'](_0x3c8e94,_0x47b7ad);}catch(_0x46e8c1){this[_0x29df7a(0x29c)][_0x29df7a(0x331)](_0x29df7a(0x37b),_0x46e8c1),this[_0x29df7a(0x363)](_0x3c8e94);}const _0x173483=this['_getRedoStack'](_0x3c8e94);if(_0x173483)try{const _0xaa791a=this['_transformStack'](_0x173483,_0x359a20);this['_substituteRedoStack'](_0x3c8e94,_0xaa791a);}catch(_0x2f213b){this['_logService'][_0x29df7a(0x331)](_0x2f213b),this['_clearRedo'](_0x3c8e94);}}[_0x259c74(0x363)](_0x2034e4){var _0x18bb6e=_0x259c74;const _0x2f4560=this[_0x18bb6e(0x3ac)](_0x2034e4);_0x2f4560&&(_0x2f4560[_0x18bb6e(0x418)]=0x0,this['_updateStatus']());}[_0x259c74(0x177)](_0x45b745){var _0x214cc0=_0x259c74;const _0x33e7c0=this[_0x214cc0(0x2de)](_0x45b745);_0x33e7c0&&(_0x33e7c0['length']=0x0,this[_0x214cc0(0x34e)]());}[_0x259c74(0x1b6)](_0x326340,_0xa6318d){var _0x2322d2=_0x259c74;this[_0x2322d2(0x289)]['set'](_0x326340,_0xa6318d),this[_0x2322d2(0x34e)]();}[_0x259c74(0x25b)](_0xd3f125,_0x5ceb26){var _0x2ae873=_0x259c74;this[_0x2ae873(0x1e7)][_0x2ae873(0x351)](_0xd3f125,_0x5ceb26),this[_0x2ae873(0x34e)]();}['_transformStack'](_0x112718,_0x42d421){var _0x476029=_0x259c74;const _0x404baf=[];let _0x5137cb=_0x42d421,_0x1440e1=_0x42d421;for(let _0x5a02a3=_0x112718[_0x476029(0x418)]-0x1;_0x5a02a3>=0x0;_0x5a02a3--){const {unitID:_0xafbc14,undoMutations:_0x22e6cb,redoMutations:_0x48903a}=_0x112718[_0x5a02a3],_0x37d53e=this['_transformService']['transformMutationsWithChangeset'](_0x5137cb,_0x22e6cb),_0x20d4ae=this['_transformService']['transformMutationsWithChangeset'](_0x1440e1,_0x48903a);if(_0x322957(_0x37d53e)||_0x322957(_0x20d4ae)){this[_0x476029(0x29c)]['error'](_0x476029(0x37b),_0x476029(0x2b2),_0x37d53e,_0x20d4ae);break;}_0x5137cb=_0x37d53e[_0x476029(0x20d)],_0x1440e1=_0x20d4ae[_0x476029(0x20d)],_0x404baf[_0x476029(0x2c3)]({'unitID':_0xafbc14,'undoMutations':_0x37d53e[_0x476029(0x41f)],'redoMutations':_0x20d4ae['m2Prime']});}return _0x404baf[_0x476029(0x345)]();}};bt=sr([Ae(0x0,_0x2979fe),Ae(0x1,_0x50be79),Ae(0x2,_0x30d958),Ae(0x3,_0x363f26),Ae(0x4,_0x597a05)],bt);var nr=Object['defineProperty'],rr=Object[_0x259c74(0x268)],ar=(_0xa6e3e1,_0x4ab4e9,_0x8e5a06)=>_0x4ab4e9 in _0xa6e3e1?nr(_0xa6e3e1,_0x4ab4e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8e5a06}):_0xa6e3e1[_0x4ab4e9]=_0x8e5a06,or=(_0x596577,_0x48894f,_0xfd9072,_0x2ad662)=>{var _0x2b7429=_0x259c74;for(var _0x4fe1eb=_0x2ad662>0x1?void 0x0:_0x2ad662?rr(_0x48894f,_0xfd9072):_0x48894f,_0x2f4217=_0x596577[_0x2b7429(0x418)]-0x1,_0x1216f8;_0x2f4217>=0x0;_0x2f4217--)(_0x1216f8=_0x596577[_0x2f4217])&&(_0x4fe1eb=_0x1216f8(_0x4fe1eb)||_0x4fe1eb);return _0x4fe1eb;},Et=(_0x5b4199,_0x519545)=>(_0x1d8296,_0x41e439)=>_0x519545(_0x1d8296,_0x41e439,_0x5b4199),cr=(_0xb8fa6f,_0x5d53d0,_0x34d765)=>ar(_0xb8fa6f,_0x5d53d0+'',_0x34d765);const _r=_0x259c74(0x30b);let Dt=class extends _0x2b4bcc{constructor(_0x2784a8,_0x566f0c,_0x3ecb1a,_0x562192){var _0x4f71f2=_0x259c74;super(),D(this,_0x4f71f2(0x372)),(this['_logService']=_0x566f0c,this['_injector']=_0x3ecb1a,this['_configService']=_0x562192);const {..._0x2d94d5}=_0x36265f({},Ls,_0x2784a8);if(!_0x2d94d5['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x4f71f2(0x372)]=_0x2d94d5,this[_0x4f71f2(0x2ec)][_0x4f71f2(0x304)](K,_0x2d94d5);}['onStarting'](){var _0x486d73=_0x259c74;this[_0x486d73(0x3a6)](),this['_initDependencies']();}[_0x259c74(0x3a6)](){var _0x29d998=_0x259c74,_0x11d2be,_0x110403;this[_0x29d998(0x450)][_0x29d998(0x2dc)](_0x1bcad4)&&this[_0x29d998(0x29c)][_0x29d998(0x331)](_0x29d998(0x3c5),_0x29d998(0x323));const _0xff0cb0=_0x58d05a([[_0x1bcad4,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x29d998(0x372)]['socketService']}],[_0x27e841,{'useClass':Nt}],[_0x56f06e,{'useClass':Tt}],[_0x5c9c0a,{'useClass':Rt}],[_0x23c9c8,{'useClass':Ct}],[nt],[gt]],(_0x11d2be=this[_0x29d998(0x372)])==null?void 0x0:_0x11d2be[_0x29d998(0x1b3)]);if(!((_0x110403=this['_config'])!=null&&_0x110403[_0x29d998(0x35c)])){const _0x260d11=_0xff0cb0[_0x29d998(0x365)](([_0x59614d])=>_0x59614d===_t);_0x260d11!==-0x1&&_0xff0cb0['splice'](_0x260d11,0x1);}_0x3ce38b(this['_injector'],_0xff0cb0);}[_0x259c74(0x37a)](){var _0x571db9=_0x259c74,_0xe9dbe2,_0xc644c,_0x468313;this['_injector'][_0x571db9(0x30f)](_0x44cd1e)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x13d50a({'maxParallel':0x6})}),(_0xe9dbe2=this['_config'])!=null&&_0xe9dbe2[_0x571db9(0x1b1)]||(_0xc644c=this[_0x571db9(0x450)][_0x571db9(0x30f)](J,_0x29e21a[_0x571db9(0x374)]))==null||_0xc644c['disableLocalCache'](),(_0x468313=this['_config'])!=null&&_0x468313[_0x571db9(0x469)]&&_0x1a2234(this[_0x571db9(0x450)],[[rt]]),_0x1a2234(this[_0x571db9(0x450)],[[at],[nt],[ot]]);}};cr(Dt,'pluginName',_r),Dt=or([_0x4c2899(_0x309ba1,_0x3371c4),Et(0x1,_0x597a05),Et(0x2,_0x479712(_0x27a1da)),Et(0x3,_0x5dd738)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Wt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};