@univerjs-pro/collaboration-client 0.10.0-nightly.202507310307 → 0.10.1-nightly.202508020912

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0xfab6d2=_0xf12a;(function(_0x36c2b8,_0xa00ec0){var _0x45cfb6=_0xf12a,_0x5494fe=_0x36c2b8();while(!![]){try{var _0x1dd697=parseInt(_0x45cfb6(0x25c))/0x1*(parseInt(_0x45cfb6(0x43e))/0x2)+parseInt(_0x45cfb6(0x423))/0x3*(parseInt(_0x45cfb6(0x176))/0x4)+parseInt(_0x45cfb6(0x145))/0x5+-parseInt(_0x45cfb6(0x43d))/0x6*(-parseInt(_0x45cfb6(0x172))/0x7)+-parseInt(_0x45cfb6(0x18c))/0x8+parseInt(_0x45cfb6(0x333))/0x9*(-parseInt(_0x45cfb6(0x29d))/0xa)+parseInt(_0x45cfb6(0x3a0))/0xb;if(_0x1dd697===_0xa00ec0)break;else _0x5494fe['push'](_0x5494fe['shift']());}catch(_0x8c575e){_0x5494fe['push'](_0x5494fe['shift']());}}}(_0x5ac0,0x91204));var yi=Object[_0xfab6d2(0x254)],Ni=(_0x37a959,_0x1d6002,_0x2f9baf)=>_0x1d6002 in _0x37a959?yi(_0x37a959,_0x1d6002,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f9baf}):_0x37a959[_0x1d6002]=_0x2f9baf,N=(_0xfb1c18,_0x52181c,_0x48a56d)=>Ni(_0xfb1c18,typeof _0x52181c!=_0xfab6d2(0x1a1)?_0x52181c+'':_0x52181c,_0x48a56d);import{createIdentifier as _0x47ea04,Inject as _0x1ec008,Injector as _0x2d0003,IConfigService as _0x18e3ec,ILogService as _0x4f52f4,Disposable as _0x7310ef,DisposableCollection as _0xfd93d9,toDisposable as _0x260e22,IUniverInstanceService as _0x89562d,UserManagerService as _0xb8dd38,UniverInstanceType as _0x4d5d8c,Optional as _0x2d6737,RxDisposable as _0x3e5fb6,Tools as _0x479ca8,Rectangle as _0x3ad1e0,ICommandService as _0x270fc1,JSONX as _0x8a1408,CommandType as _0xb50327,IUndoRedoService as _0x4a8d02,IPermissionService as _0x3bbb1a,LocaleService as _0x3c9f34,sequenceExecute as _0x4ea8f6,Workbook as _0x5b3e14,generateRandomId as _0x36ed4a,MentionType as _0x325807,isInternalEditorID as _0x3bfbab,LocalUndoRedoService as _0xf1cea,IContextService as _0x42154f,DependentOn as _0x23b144,Plugin as _0x1d31e2,merge as _0x2f764c,mergeOverrideWithDependencies as _0x1e7fe5,IAuthzIoService as _0x359dd5,IMentionIOService as _0x131be2,registerDependencies as _0x3ced27,Quantity as _0x302fec,touchDependencies as _0x17a478}from'@univerjs/core';import{Subject as _0x5e4ddf,merge as _0x4acd01,of as _0x377259,BehaviorSubject as _0x34c731,takeUntil as _0xff312c,ReplaySubject as _0x4f7876,take as _0x3360e4,map as _0x1243db,shareReplay as _0x1e3597,firstValueFrom as _0x2ddbec,concatMap as _0x593806}from'rxjs';import{map as _0x1c40aa,take as _0x21507f,filter as _0x3899b5,delay as _0x590653,takeUntil as _0x2e4983}from'rxjs/operators';import{CollaborationEvent as _0xd22ea0,ISnapshotServerService as _0x3aee42,parseChangesetToProtocol as _0x4fa182,ITransformService as _0x14d8dd,isTransformMutationsWithChangesetSuccess as _0x9e3d63,mapDocumentTypeToUniverType as _0xac1904,RevisionService as _0x2a050b,isTransformChangesetsSuccess as _0x464bdc,CompressMutationService as _0x1ed06f,parseProtocolChangeset as _0x5c2ba3,uuidv4 as _0x2664bc,SnapshotService as _0x7cf64d,textEncoder as _0x1b1874,b64DecodeUnicode as _0x2f643a,isTransformMutationsWithChangesetFailure as _0x56d5f4,UniverCollaborationPlugin as _0x2cc9b0}from'@univerjs-pro/collaboration';import{HTTPService as _0x88960,ISocketService as _0x959869,MergeInterceptorFactory as _0x3c1c9d,HTTPRequest as _0x573a57,UniverNetworkPlugin as _0x24c4f6,ThresholdInterceptorFactory as _0xb20f61}from'@univerjs/network';import{ITelemetryService as _0x38a3b1}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x43073f}from'@univerjs/docs';import{SheetsSelectionsService as _0x5d7461,SetSelectionsOperation as _0x3d8547,InsertSheetMutation as _0x39458d,EmptyMutation as _0x222bd6,WorkbookEditablePermission as _0x3007e9,SheetPermissionInitController as _0x4bada6}from'@univerjs/sheets';import{ImageSourceType as _0x4f79d4,ImageUploadStatusType as _0x37046e,IImageIoService as _0x3f8d80}from'@univerjs/drawing';import{getGlobalObject as _0xa78d44}from'@univerjs-pro/license';const fs=_0xfab6d2(0x3f5),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms='ws://127.0.0.1:8000/universer-api/comb/connect',Ir=_0xfab6d2(0x315),gs=_0xfab6d2(0x1d8),Ss=0x7530,di=_0xfab6d2(0x286),fi=0x4e20,Es=0x4e20,Is=_0xfab6d2(0x1e0),Ts=0x3,Tr=_0xfab6d2(0x335),Cr=0x3e8,Cs=_0xfab6d2(0x418),Rs=_0xfab6d2(0x436),Rr=_0xfab6d2(0x441),Or=_0xfab6d2(0x321);var vi=(_0x452b46=>(_0x452b46[_0x452b46['UNDEFINED']=0x0]=_0xfab6d2(0x186),_0x452b46[_0x452b46['OK']=0x1]='OK',_0x452b46[_0x452b46['INTERNAL_ERROR']=0x2]=_0xfab6d2(0x246),_0x452b46[_0x452b46[_0xfab6d2(0x23c)]=0x3]=_0xfab6d2(0x23c),_0x452b46[_0x452b46[_0xfab6d2(0x3d5)]=0x4]=_0xfab6d2(0x3d5),_0x452b46[_0x452b46[_0xfab6d2(0x300)]=0x5]=_0xfab6d2(0x300),_0x452b46[_0x452b46[_0xfab6d2(0x30d)]=0x6]=_0xfab6d2(0x30d),_0x452b46[_0x452b46[_0xfab6d2(0x2fa)]=0x7]='INVALID_ARGUMENT',_0x452b46[_0x452b46[_0xfab6d2(0x270)]=0x8]=_0xfab6d2(0x270),_0x452b46[_0x452b46[_0xfab6d2(0x3b2)]=0x9]='COMPLETION_FINISHED',_0x452b46[_0x452b46[_0xfab6d2(0x25f)]=0xa]=_0xfab6d2(0x25f),_0x452b46[_0x452b46['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x452b46[_0x452b46[_0xfab6d2(0x1da)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x452b46[_0x452b46[_0xfab6d2(0x166)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x452b46[_0x452b46['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xfab6d2(0x297),_0x452b46[_0x452b46['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xfab6d2(0x279),_0x452b46[_0x452b46[_0xfab6d2(0x22d)]=0x1771]=_0xfab6d2(0x22d),_0x452b46[_0x452b46[_0xfab6d2(0x15b)]=0x1772]=_0xfab6d2(0x15b),_0x452b46[_0x452b46[_0xfab6d2(0x1e3)]=0x1773]=_0xfab6d2(0x1e3),_0x452b46[_0x452b46[_0xfab6d2(0x3b5)]=0x1b59]=_0xfab6d2(0x3b5),_0x452b46[_0x452b46[_0xfab6d2(0x1d0)]=0x1b5a]=_0xfab6d2(0x1d0),_0x452b46[_0x452b46[_0xfab6d2(0x2ba)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x452b46[_0x452b46[_0xfab6d2(0x2f2)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x452b46[_0x452b46[_0xfab6d2(0x1bf)]=0x1b5d]='APPLY_DUPLICATED',_0x452b46[_0x452b46[_0xfab6d2(0x24a)]=0x1f41]=_0xfab6d2(0x24a),_0x452b46[_0x452b46[_0xfab6d2(0x16e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x452b46[_0x452b46[_0xfab6d2(0x21a)]=0x232a]=_0xfab6d2(0x21a),_0x452b46[_0x452b46[_0xfab6d2(0x402)]=0x232b]=_0xfab6d2(0x402),_0x452b46[_0x452b46[_0xfab6d2(0x2d0)]=0x232c]=_0xfab6d2(0x2d0),_0x452b46[_0x452b46[_0xfab6d2(0x3ff)]=0x232d]=_0xfab6d2(0x3ff),_0x452b46[_0x452b46['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x452b46[_0x452b46['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xfab6d2(0x271),_0x452b46[_0x452b46[_0xfab6d2(0x196)]=0x2713]=_0xfab6d2(0x196),_0x452b46[_0x452b46['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xfab6d2(0x435),_0x452b46[_0x452b46[_0xfab6d2(0x39f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x452b46[_0x452b46['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x452b46[_0x452b46[_0xfab6d2(0x2b2)]=0x271c]=_0xfab6d2(0x2b2),_0x452b46[_0x452b46[_0xfab6d2(0x41b)]=0x271d]=_0xfab6d2(0x41b),_0x452b46[_0x452b46[_0xfab6d2(0x427)]=0x271e]=_0xfab6d2(0x427),_0x452b46[_0x452b46[_0xfab6d2(0x1c6)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x452b46[_0x452b46['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x452b46[_0x452b46[_0xfab6d2(0x21f)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x452b46[_0x452b46[_0xfab6d2(0x404)]=0x2ee1]=_0xfab6d2(0x404),_0x452b46[_0x452b46['INVALID_INVITE_CODE']=0x2ee2]=_0xfab6d2(0x1de),_0x452b46[_0x452b46[_0xfab6d2(0x2f0)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x452b46[_0x452b46[_0xfab6d2(0x208)]=0x2ee4]=_0xfab6d2(0x208),_0x452b46[_0x452b46[_0xfab6d2(0x3aa)]=0x2ee5]=_0xfab6d2(0x3aa),_0x452b46[_0x452b46[_0xfab6d2(0x3f9)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x452b46[_0x452b46[_0xfab6d2(0x2b9)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x452b46[_0x452b46[_0xfab6d2(0x3f3)]=0x32cb]=_0xfab6d2(0x3f3),_0x452b46[_0x452b46['UNRECOGNIZED']=-0x1]=_0xfab6d2(0x2da),_0x452b46))(vi||{}),Z=(_0x1302cb=>(_0x1302cb[_0x1302cb['UNIVER_UNKNOWN']=0x0]=_0xfab6d2(0x2ad),_0x1302cb[_0x1302cb['UNIVER_DOC']=0x1]=_0xfab6d2(0x1b4),_0x1302cb[_0x1302cb[_0xfab6d2(0x22b)]=0x2]='UNIVER_SHEET',_0x1302cb[_0x1302cb['UNIVER_SLIDE']=0x3]=_0xfab6d2(0x296),_0x1302cb[_0x1302cb[_0xfab6d2(0x3a5)]=0x4]=_0xfab6d2(0x3a5),_0x1302cb[_0x1302cb[_0xfab6d2(0x2da)]=-0x1]=_0xfab6d2(0x2da),_0x1302cb))(Z||{}),F=(_0x3a6c19=>(_0x3a6c19[_0x3a6c19[_0xfab6d2(0x2ca)]=0x0]='UNKNOWN_CMD',_0x3a6c19[_0x3a6c19[_0xfab6d2(0x310)]=0x1]='HELLO',_0x3a6c19[_0x3a6c19[_0xfab6d2(0x3cb)]=0x2]='JOIN',_0x3a6c19[_0x3a6c19['LEAVE']=0x3]=_0xfab6d2(0x23d),_0x3a6c19[_0x3a6c19[_0xfab6d2(0x3e0)]=0x4]=_0xfab6d2(0x3e0),_0x3a6c19[_0x3a6c19['HEARTBEAT']=0x5]='HEARTBEAT',_0x3a6c19[_0x3a6c19[_0xfab6d2(0x437)]=0x6]=_0xfab6d2(0x437),_0x3a6c19[_0x3a6c19['UNRECOGNIZED']=-0x1]=_0xfab6d2(0x2da),_0x3a6c19))(F||{}),pe=(_0x4b9708=>(_0x4b9708[_0x4b9708[_0xfab6d2(0x3ed)]=0x0]=_0xfab6d2(0x3ed),_0x4b9708[_0x4b9708['OK']=0x1]='OK',_0x4b9708[_0x4b9708[_0xfab6d2(0x3ee)]=0x2]=_0xfab6d2(0x3ee),_0x4b9708[_0x4b9708['JOIN_ROOM_FULL']=0x3e9]=_0xfab6d2(0x150),_0x4b9708[_0x4b9708[_0xfab6d2(0x31d)]=0x3ea]=_0xfab6d2(0x31d),_0x4b9708[_0x4b9708[_0xfab6d2(0x377)]=0x3eb]=_0xfab6d2(0x377),_0x4b9708[_0x4b9708['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xfab6d2(0x2c6),_0x4b9708[_0x4b9708['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4b9708))(pe||{}),pi=(_0x1eb97c=>(_0x1eb97c[_0x1eb97c[_0xfab6d2(0x1f2)]=0x0]=_0xfab6d2(0x1f2),_0x1eb97c[_0x1eb97c[_0xfab6d2(0x26f)]=0x1]=_0xfab6d2(0x26f),_0x1eb97c[_0x1eb97c['HttpExport']=0x2]=_0xfab6d2(0x368),_0x1eb97c[_0x1eb97c['UnitEmbedded']=0x3]=_0xfab6d2(0x274),_0x1eb97c[_0x1eb97c[_0xfab6d2(0x3e4)]=0x4]=_0xfab6d2(0x3e4),_0x1eb97c[_0x1eb97c['UserProfileImg']=0x5]='UserProfileImg',_0x1eb97c[_0x1eb97c['UNRECOGNIZED']=-0x1]=_0xfab6d2(0x2da),_0x1eb97c))(pi||{});const K=_0xfab6d2(0x3c0),Os={};var ne=(_0x7b2189=>(_0x7b2189[_0xfab6d2(0x2a3)]=_0xfab6d2(0x2a3),_0x7b2189[_0xfab6d2(0x23c)]='PERMISSION_DENIED',_0x7b2189[_0xfab6d2(0x147)]=_0xfab6d2(0x147),_0x7b2189[_0xfab6d2(0x3cc)]=_0xfab6d2(0x3cc),_0x7b2189[_0xfab6d2(0x426)]='JOIN_ROOM_FAILED',_0x7b2189['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x7b2189[_0xfab6d2(0x187)]=_0xfab6d2(0x187),_0x7b2189[_0xfab6d2(0x180)]=_0xfab6d2(0x180),_0x7b2189))(ne||{});class ve{constructor(){var _0x511371=_0xfab6d2;N(this,_0x511371(0x1e9),new _0x5e4ddf()),N(this,_0x511371(0x3f8),this[_0x511371(0x1e9)]['asObservable']());}[_0xfab6d2(0x308)](_0x1e24c1){var _0x489dd8=_0xfab6d2;this[_0x489dd8(0x1e9)][_0x489dd8(0x43b)](_0x1e24c1);}}const bs=_0x47ea04(_0xfab6d2(0x280));function ys(_0x544ef4){var _0x557cf7=_0xfab6d2,_0x2a1607,_0x4d0577,_0x5c4b1a,_0x567d33,_0x2bcdc6;const _0x2b8571=_0x544ef4[_0x557cf7(0x2fb)],_0x1fe303=JSON['parse'](_0x2b8571);switch(_0x1fe303['cmd']){case F[_0x557cf7(0x19b)]:case F['HELLO']:{const _0xb47154=_0x1fe303[_0x557cf7(0x31c)];return{..._0x1fe303,'data':_0xb47154,'cmd':_0x1fe303[_0x557cf7(0x337)]};}case F[_0x557cf7(0x3cb)]:{const _0x2214e8=_0x1fe303[_0x557cf7(0x37b)];return{..._0x1fe303,'data':_0x2214e8,'cmd':_0x1fe303[_0x557cf7(0x337)]};}case F[_0x557cf7(0x437)]:{const _0x5d6c14=_0x1fe303[_0x557cf7(0x41a)];switch(_0x5d6c14[_0x557cf7(0x358)]){case _0xd22ea0['PERMISSION_REJ']:return{..._0x1fe303,'data':{..._0x5d6c14,'data':(_0x2a1607=_0x5d6c14[_0x557cf7(0x363)])==null?void 0x0:_0x2a1607['cs']},'cmd':_0x1fe303['cmd']};case _0xd22ea0[_0x557cf7(0x1a3)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':(_0x4d0577=_0x5d6c14[_0x557cf7(0x3dd)])==null?void 0x0:_0x4d0577['cs']},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0[_0x557cf7(0x32d)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':(_0x5c4b1a=_0x5d6c14[_0x557cf7(0x236)])==null?void 0x0:_0x5c4b1a['cs']},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0[_0x557cf7(0x43a)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':(_0x567d33=_0x5d6c14[_0x557cf7(0x352)])==null?void 0x0:_0x567d33['cs']},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0[_0x557cf7(0x1f6)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':(_0x2bcdc6=_0x5d6c14[_0x557cf7(0x35d)])==null?void 0x0:_0x2bcdc6['cs']},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0['UPDATE_CURSOR']:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14['updateCursorEvent']},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0[_0x557cf7(0x27b)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14[_0x557cf7(0x392)]},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0['USERS_LEAVE']:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14['leaveEvent']},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0[_0x557cf7(0x18f)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14['liveShareNewHost']},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0[_0x557cf7(0x376)]:case _0xd22ea0[_0x557cf7(0x2c1)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14[_0x557cf7(0x3c5)]},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0[_0x557cf7(0x33e)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14['liveShareNewHost']},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0['MSG_FOR_ERROR']:return{..._0x1fe303,'data':_0x5d6c14,'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0[_0x557cf7(0x1e5)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14['commentUpdateEvent']},'cmd':_0x1fe303['cmd']};case _0xd22ea0[_0x557cf7(0x37a)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14[_0x557cf7(0x1f0)]},'cmd':_0x1fe303['cmd']};case _0xd22ea0[_0x557cf7(0x39a)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14[_0x557cf7(0x2e3)]},'cmd':_0x1fe303[_0x557cf7(0x337)]};case _0xd22ea0[_0x557cf7(0x17d)]:return{..._0x1fe303,'data':{..._0x5d6c14,'data':_0x5d6c14['uniscriptRunEvent']},'cmd':_0x1fe303[_0x557cf7(0x337)]};default:return _0x1fe303;}}default:return _0x1fe303;}}function Ns(_0x396505){var _0x4365ab=_0xfab6d2;switch(_0x396505[_0x4365ab(0x337)]){case F[_0x4365ab(0x19b)]:case F[_0x4365ab(0x310)]:return JSON['stringify']({'cmd':_0x396505[_0x4365ab(0x337)],'routeKey':_0x396505[_0x4365ab(0x211)]});case F[_0x4365ab(0x3e0)]:{let _0x26292c;switch(_0x396505[_0x4365ab(0x2fb)]['eventID']){case _0xd22ea0['UPDATE_CURSOR']:{_0x26292c={'eventID':_0xd22ea0['UPDATE_CURSOR'],'updateCursorEvent':_0x396505[_0x4365ab(0x2fb)][_0x4365ab(0x2fb)]};break;}case _0xd22ea0[_0x4365ab(0x1ea)]:{_0x26292c={'eventID':_0xd22ea0['USERS_LEAVE'],'leaveEvent':_0x396505['data'][_0x4365ab(0x2fb)]};break;}case _0xd22ea0[_0x4365ab(0x27b)]:{_0x26292c={'eventID':_0xd22ea0[_0x4365ab(0x27b)],'joinEvent':_0x396505[_0x4365ab(0x2fb)]['data']};break;}case _0xd22ea0['LIVESHARE_NEW_HOST']:{_0x26292c={'eventID':_0xd22ea0[_0x4365ab(0x18f)],'liveShareNewHost':_0x396505['data'][_0x4365ab(0x2fb)]};break;}case _0xd22ea0[_0x4365ab(0x2c1)]:{_0x26292c={'eventID':_0xd22ea0['LIVESHARE_OPERATION'],'liveShareOperation':_0x396505[_0x4365ab(0x2fb)]['data']};break;}case _0xd22ea0[_0x4365ab(0x33e)]:{_0x26292c={'eventID':_0xd22ea0[_0x4365ab(0x33e)],'liveShareTerminate':_0x396505[_0x4365ab(0x2fb)][_0x4365ab(0x2fb)]};break;}case _0xd22ea0[_0x4365ab(0x291)]:{_0x26292c={'eventID':_0xd22ea0[_0x4365ab(0x291)],'liveShareRequestHost':_0x396505['data'][_0x4365ab(0x2fb)]};break;}case _0xd22ea0[_0x4365ab(0x376)]:{_0x26292c={'eventID':_0xd22ea0[_0x4365ab(0x376)]};break;}default:_0x26292c={'eventID':_0x396505[_0x4365ab(0x2fb)][_0x4365ab(0x358)]};}return JSON['stringify']({'cmd':_0x396505['cmd'],'routeKey':_0x396505[_0x4365ab(0x211)],'collaMsg':_0x26292c});}case F[_0x4365ab(0x3cb)]:return JSON[_0x4365ab(0x1a6)]({'cmd':_0x396505[_0x4365ab(0x337)],'routeKey':_0x396505['routeKey'],'joinReq':_0x396505[_0x4365ab(0x2fb)]});case F[_0x4365ab(0x23d)]:return JSON[_0x4365ab(0x1a6)]({'cmd':_0x396505[_0x4365ab(0x337)],'routeKey':_0x396505['routeKey'],'leaveReq':_0x396505['data']});default:throw new Error(_0x4365ab(0x345));}}function _0xf12a(_0x275cfe,_0x3fa335){var _0x5ac00a=_0x5ac0();return _0xf12a=function(_0xf12ab2,_0x558939){_0xf12ab2=_0xf12ab2-0x137;var _0x5a5093=_0x5ac00a[_0xf12ab2];return _0x5a5093;},_0xf12a(_0x275cfe,_0x3fa335);}var Ds=Object[_0xfab6d2(0x32f)],Us=(_0x310c6d,_0x2ec880,_0x507721,_0x4bc569)=>{var _0x372925=_0xfab6d2;for(var _0x3d326c=_0x4bc569>0x1?void 0x0:_0x4bc569?Ds(_0x2ec880,_0x507721):_0x2ec880,_0x582c03=_0x310c6d[_0x372925(0x137)]-0x1,_0xfe6c08;_0x582c03>=0x0;_0x582c03--)(_0xfe6c08=_0x310c6d[_0x582c03])&&(_0x3d326c=_0xfe6c08(_0x3d326c)||_0x3d326c);return _0x3d326c;},De=(_0x3837ef,_0x10de78)=>(_0x2532cb,_0x260589)=>_0x10de78(_0x2532cb,_0x260589,_0x3837ef);const mi=_0x47ea04('univer-pro.collaboration-client-socket-service');function As(_0x52194a,_0x46cb89,_0x1c8e87){var _0x1fe2c1=_0xfab6d2;return _0x52194a+'/'+_0x46cb89+_0x1fe2c1(0x3c2)+_0x1c8e87+_0x1fe2c1(0x38b);}let Ft=class extends _0x7310ef{constructor(_0x37ebf6,_0x3b0c96,_0x237c7c,_0x23c218,_0x5cdd34){var _0x1aa96d=_0xfab6d2;super(),this['_injector']=_0x37ebf6,this['_httpService']=_0x3b0c96,this['_configService']=_0x237c7c,this[_0x1aa96d(0x233)]=_0x23c218,this[_0x1aa96d(0x359)]=_0x5cdd34;}['_doCreateSocket'](_0x1615ba){var _0x528162=_0xfab6d2;const _0x431d54=this['_injector'][_0x528162(0x28f)](_0x959869);if(!_0x431d54)throw new Error(_0x528162(0x229));const _0xcf4b42=_0x431d54[_0x528162(0x1b6)](_0x1615ba);if(!_0xcf4b42)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x1fb97b=new _0xfd93d9(),_0x428a2a=new _0x5e4ddf();_0x1fb97b['add'](_0xcf4b42['close$'][_0x528162(0x164)](_0x3dc232=>_0x428a2a[_0x528162(0x43b)](_0x3dc232))),_0x1fb97b[_0x528162(0x26b)](_0x260e22(()=>_0x428a2a[_0x528162(0x372)]()));const _0x2359c6=new _0x5e4ddf();_0x1fb97b[_0x528162(0x26b)](_0xcf4b42[_0x528162(0x27d)][_0x528162(0x164)](_0x5094fe=>_0x2359c6[_0x528162(0x43b)](_0x5094fe))),_0x1fb97b[_0x528162(0x26b)](_0x260e22(()=>_0x2359c6[_0x528162(0x372)]()));const _0x2814e6=new _0x5e4ddf();_0x1fb97b[_0x528162(0x26b)](_0xcf4b42['message$'][_0x528162(0x164)](_0xa19079=>{const _0x724ef=ys(_0xa19079);_0x2814e6['next'](_0x724ef);})),_0x1fb97b['add'](_0x260e22(()=>_0x2814e6[_0x528162(0x372)]()));let _0x4d5f03;const _0xacc152=()=>{var _0x4674a3=_0x528162;_0x2359c6[_0x4674a3(0x43b)](new Event(_0x4674a3(0x442))),_0x428a2a[_0x4674a3(0x43b)](new Event(_0x4674a3(0x442))),_0x4d5f03[_0x4674a3(0x2f6)]();};return _0x4d5f03={'memberID':'','close$':_0x428a2a[_0x528162(0x365)](),'error$':_0x2359c6[_0x528162(0x365)](),'open$':_0xcf4b42[_0x528162(0x3d0)],'message$':_0x2814e6[_0x528162(0x365)](),'send':_0x5b1cde=>{var _0x138e06=_0x528162;if(_0x5b1cde[_0x138e06(0x337)]===F[_0x138e06(0x3e0)]){if(_0x5b1cde[_0x138e06(0x2fb)][_0x138e06(0x358)]===_0xd22ea0[_0x138e06(0x32a)]){this[_0x138e06(0x1a4)](_0x4d5f03,_0x5b1cde[_0x138e06(0x2fb)])[_0x138e06(0x3cf)](_0x5d7ff7=>{var _0x69b0a6=_0x138e06;this[_0x69b0a6(0x233)][_0x69b0a6(0x15e)](_0x5d7ff7),_0xacc152();});return;}if(_0x5b1cde[_0x138e06(0x2fb)][_0x138e06(0x358)]===_0xd22ea0[_0x138e06(0x33d)]){const _0x4afbec=_0x5b1cde[_0x138e06(0x2fb)];this['_fetchMissChangesets'](_0x4afbec)[_0x138e06(0x285)](_0x446ca5=>{var _0x1f768f=_0x138e06;_0x2814e6[_0x1f768f(0x43b)]({'cmd':F[_0x1f768f(0x437)],'code':pe['OK'],'routeKey':_0x4afbec[_0x1f768f(0x2fb)][_0x1f768f(0x351)],'routeType':'','data':{'eventID':_0xd22ea0[_0x1f768f(0x3ce)],'data':{'changesets':_0x446ca5}}});})['catch'](_0xd936c7=>{var _0x382ba2=_0x138e06;this[_0x382ba2(0x233)]['error'](_0xd936c7),_0xacc152();});return;}}_0xcf4b42[_0x138e06(0x2e7)](Ns(_0x5b1cde));},'close':()=>{var _0x3b93c7=_0x528162;_0xcf4b42[_0x3b93c7(0x2f6)](),_0x1fb97b['dispose']();}},_0x4d5f03;}async[_0xfab6d2(0x1a4)](_0x1a00b7,_0x398198){var _0x5d988b=_0xfab6d2,_0x1dd241;const {unitType:_0x21bd4a,unitID:_0x2053f9,changeset:_0x13f5d3}=_0x398198[_0x5d988b(0x2fb)],_0x39bbfc={'unitID':_0x2053f9,'memberID':_0x1a00b7[_0x5d988b(0x3de)],'type':_0x21bd4a,'changeset':_0x4fa182(_0x13f5d3)},_0x29d89c=this[_0x5d988b(0x342)][_0x5d988b(0x2b1)](K),_0x46dc04=As((_0x1dd241=_0x29d89c==null?void 0x0:_0x29d89c[_0x5d988b(0x1dc)])!=null?_0x1dd241:Cs,_0x21bd4a,_0x2053f9);try{await this[_0x5d988b(0x13c)][_0x5d988b(0x1d1)](_0x46dc04,{'body':_0x39bbfc});}catch(_0x18549e){throw this['_logService']['error']('[CollaborationSession]',_0x5d988b(0x41e)),_0x18549e;}}async[_0xfab6d2(0x189)](_0x39dc4f){var _0x15db87=_0xfab6d2;const {unitID:_0x282215,from:_0xf818bb,to:_0x2f19ee,unitType:_0xf740d8}=_0x39dc4f[_0x15db87(0x2fb)];return(await this[_0x15db87(0x359)][_0x15db87(0x2fc)]({'metadata':void 0x0},{'unitID':_0x282215,'type':_0xf740d8,'from':_0xf818bb,'to':_0x2f19ee}))['changesets'];}};Ft=Us([De(0x0,_0x1ec008(_0x2d0003)),De(0x1,_0x1ec008(_0x88960)),De(0x2,_0x18e3ec),De(0x3,_0x4f52f4),De(0x4,_0x3aee42)],Ft);const ws=_0xfab6d2(0x40d);function Ps(_0x1b988e){var _0x29c180=_0xfab6d2;return JSON[_0x29c180(0x1a6)](_0x1b988e)[_0x29c180(0x137)];}class gi{constructor(){var _0x4814ac=_0xfab6d2;N(this,_0x4814ac(0x15c),new _0x5e4ddf()),N(this,_0x4814ac(0x30c),this[_0x4814ac(0x15c)][_0x4814ac(0x365)]());}[_0xfab6d2(0x2c4)](_0x3cfaec){var _0x2524a3=_0xfab6d2;this['_commentUpdate$'][_0x2524a3(0x43b)](_0x3cfaec);}}var Ms=Object['getOwnPropertyDescriptor'],Ls=(_0x15260b,_0x77e5e6,_0x1f5d06,_0x861b37)=>{for(var _0x2f6817=_0x861b37>0x1?void 0x0:_0x861b37?Ms(_0x77e5e6,_0x1f5d06):_0x77e5e6,_0xddd8ee=_0x15260b['length']-0x1,_0x16524b;_0xddd8ee>=0x0;_0xddd8ee--)(_0x16524b=_0x15260b[_0xddd8ee])&&(_0x2f6817=_0x16524b(_0x2f6817)||_0x2f6817);return _0x2f6817;},Vt=(_0x4345ce,_0x908f74)=>(_0x2b1468,_0x56aa7f)=>_0x908f74(_0x2b1468,_0x56aa7f,_0x4345ce);let we=class extends _0x7310ef{constructor(_0x2d82c6,_0x1d4f36){var _0x5132f3=_0xfab6d2;super(),N(this,_0x5132f3(0x443),new Map()),N(this,_0x5132f3(0x3ba),new _0x5e4ddf()),(this[_0x5132f3(0x1e7)]=_0x2d82c6,this[_0x5132f3(0x2a5)]=_0x1d4f36,this[_0x5132f3(0x245)](_0x4acd01(this[_0x5132f3(0x1e7)][_0x5132f3(0x2f7)](_0x4d5d8c[_0x5132f3(0x22b)])[_0x5132f3(0x2d3)](_0x1c40aa(_0x515d46=>_0x515d46[_0x5132f3(0x375)]())),this[_0x5132f3(0x1e7)]['getTypeOfUnitDisposed$'](_0x4d5d8c[_0x5132f3(0x1b4)])[_0x5132f3(0x2d3)](_0x1c40aa(_0xf5acaf=>_0xf5acaf[_0x5132f3(0x375)]())),this[_0x5132f3(0x1e7)][_0x5132f3(0x2f7)](_0x4d5d8c[_0x5132f3(0x296)])[_0x5132f3(0x2d3)](_0x1c40aa(_0x39f1e9=>_0x39f1e9['getUnitId']())))[_0x5132f3(0x164)](_0x47dea4=>this['_removeRoom'](_0x47dea4))));}[_0xfab6d2(0x29f)](_0x328784){var _0x1c8b1e=_0xfab6d2;return this[_0x1c8b1e(0x443)][_0x1c8b1e(0x235)](_0x328784)?_0x377259(this[_0x1c8b1e(0x443)][_0x1c8b1e(0x28f)](_0x328784)):this[_0x1c8b1e(0x3ba)][_0x1c8b1e(0x2d3)](_0x1c40aa(_0x42ed67=>{var _0x54c98e=_0x1c8b1e;if(_0x42ed67===_0x328784)return this[_0x54c98e(0x443)][_0x54c98e(0x28f)](_0x42ed67);}));}[_0xfab6d2(0x165)](_0x418f73){var _0x2b1676=_0xfab6d2;this[_0x2b1676(0x2a5)][_0x2b1676(0x165)](_0x418f73);}[_0xfab6d2(0x288)](){var _0x31e1b8=_0xfab6d2;return this['_userManagerService'][_0x31e1b8(0x288)]();}[_0xfab6d2(0x14c)](_0x5ed604,_0x57340c){var _0x4b6ae1=_0xfab6d2;let _0xa005c4=this[_0x4b6ae1(0x443)]['get'](_0x5ed604);_0xa005c4||(_0xa005c4=new xs(),this[_0x4b6ae1(0x443)][_0x4b6ae1(0x373)](_0x5ed604,_0xa005c4),this[_0x4b6ae1(0x3ba)][_0x4b6ae1(0x43b)](_0x5ed604)),_0xa005c4[_0x4b6ae1(0x14c)](_0x57340c);}[_0xfab6d2(0x241)](_0x3f3463,_0x49edb9){var _0x2afed3=_0xfab6d2;const _0x506048=this[_0x2afed3(0x443)]['get'](_0x3f3463);_0x506048&&_0x506048[_0x2afed3(0x241)](_0x49edb9);}['getRoom'](_0xa1943b){return this['_roomMembers']['get'](_0xa1943b);}[_0xfab6d2(0x1b1)](_0x2824cf,_0x4a8fd3){var _0xff312e=_0xfab6d2;const _0x10534d=this['_roomMembers']['get'](_0x2824cf);if(_0x10534d)return _0x10534d[_0xff312e(0x1b1)](_0x4a8fd3);}[_0xfab6d2(0x1ff)](_0x40c281){var _0x3586c8=_0xfab6d2;const _0xfefb96=this[_0x3586c8(0x443)][_0x3586c8(0x28f)](_0x40c281);_0xfefb96&&(_0xfefb96[_0x3586c8(0x258)](),this[_0x3586c8(0x443)][_0x3586c8(0x430)](_0x40c281));}[_0xfab6d2(0x258)](){var _0x49ecb5=_0xfab6d2;this[_0x49ecb5(0x443)]['forEach'](_0x394045=>_0x394045['dispose']()),this[_0x49ecb5(0x443)]['clear'](),this[_0x49ecb5(0x3ba)][_0x49ecb5(0x372)]();}};we=Ls([Vt(0x0,_0x89562d),Vt(0x1,_0x1ec008(_0xb8dd38))],we);class xs extends _0x7310ef{constructor(){var _0x507640=_0xfab6d2;super(...arguments),N(this,'_members',new Map()),N(this,_0x507640(0x2a7),new _0x34c731(this['_members'])),N(this,_0x507640(0x197),this[_0x507640(0x2a7)][_0x507640(0x365)]());}[_0xfab6d2(0x258)](){var _0x42aead=_0xfab6d2;this['_members'][_0x42aead(0x2f4)]();}['updateMember'](_0x4bb987){var _0x3cdc2f=_0xfab6d2;this[_0x3cdc2f(0x1fd)][_0x3cdc2f(0x373)](_0x4bb987[_0x3cdc2f(0x3de)],_0x4bb987),this[_0x3cdc2f(0x207)]();}[_0xfab6d2(0x241)](_0x1403e0){var _0x591b74=_0xfab6d2;this['_members'][_0x591b74(0x430)](_0x1403e0);}[_0xfab6d2(0x1b1)](_0x50e27e){var _0x1426e5=_0xfab6d2;return this['_members'][_0x1426e5(0x28f)](_0x50e27e);}['getAllMembers'](){var _0x4ebf5c=_0xfab6d2;return Array[_0x4ebf5c(0x366)](this['_members'][_0x4ebf5c(0x1d6)]());}['_emitMembers'](){var _0x4bada5=_0xfab6d2;this['_members$'][_0x4bada5(0x43b)](this[_0x4bada5(0x1fd)]);}}var ks=Object[_0xfab6d2(0x32f)],$s=(_0x4945a2,_0x27b427,_0x51a4cb,_0x322a73)=>{for(var _0x54ebb9=_0x322a73>0x1?void 0x0:_0x322a73?ks(_0x27b427,_0x51a4cb):_0x27b427,_0x2e4093=_0x4945a2['length']-0x1,_0x482ea0;_0x2e4093>=0x0;_0x2e4093--)(_0x482ea0=_0x4945a2[_0x2e4093])&&(_0x54ebb9=_0x482ea0(_0x54ebb9)||_0x54ebb9);return _0x54ebb9;},Ce=(_0x355112,_0x4774a4)=>(_0x37f936,_0x278d69)=>_0x4774a4(_0x37f936,_0x278d69,_0x355112),ge=(_0x557e33=>(_0x557e33[_0x557e33[_0xfab6d2(0x38d)]=0x0]=_0xfab6d2(0x38d),_0x557e33[_0x557e33[_0xfab6d2(0x397)]=0x1]=_0xfab6d2(0x397),_0x557e33[_0x557e33[_0xfab6d2(0x1cb)]=0x2]=_0xfab6d2(0x1cb),_0x557e33[_0x557e33[_0xfab6d2(0x42f)]=0x3]='ONLINE',_0x557e33))(ge||{});const Wt={[pe[_0xfab6d2(0x3ee)]]:_0xfab6d2(0x15f),[pe[_0xfab6d2(0x150)]]:_0xfab6d2(0x244),[pe[_0xfab6d2(0x31d)]]:'session.room-not-exists',[pe[_0xfab6d2(0x377)]]:_0xfab6d2(0x27c),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0xfab6d2(0x36e)};let gt=class extends _0x3e5fb6{constructor(_0x98b6be,_0x3a2337,_0x127cd9,_0xab98d,_0x4d41ac,_0x5ac5ee,_0x1eafe1,_0x162693){var _0x55471d=_0xfab6d2;super(),N(this,_0x55471d(0x327),new _0x34c731(0x0)),N(this,_0x55471d(0x1c7),this['_sessionStatus$'][_0x55471d(0x365)]()),N(this,_0x55471d(0x1e9),new _0x5e4ddf()),N(this,_0x55471d(0x3f8),this[_0x55471d(0x1e9)][_0x55471d(0x365)]()),N(this,_0x55471d(0x408)),N(this,_0x55471d(0x1d2)),N(this,_0x55471d(0x273)),N(this,_0x55471d(0x2f8),!0x1),N(this,_0x55471d(0x1ad),null),(this[_0x55471d(0x417)]=_0x98b6be,this[_0x55471d(0x233)]=_0x127cd9,this[_0x55471d(0x342)]=_0xab98d,this['_memberService']=_0x4d41ac,this[_0x55471d(0x23e)]=_0x5ac5ee,this['_collaborationUIEventService']=_0x1eafe1,this[_0x55471d(0x265)]=_0x162693,this[_0x55471d(0x2f8)]=!!this[_0x55471d(0x265)],_0x3a2337['pipe'](_0xff312c(this[_0x55471d(0x161)]))['subscribe'](_0x346763=>{var _0x861712=_0x55471d,_0x2b4885;typeof _0x346763>'u'||(this[_0x861712(0x408)]=_0x346763,_0x346763?(this['_joinRoom'](_0x346763),this[_0x861712(0x1d2)]=_0x346763[_0x861712(0x332)][_0x861712(0x164)](_0x2f7b75=>{var _0xea413d=_0x861712;_0x2f7b75[_0xea413d(0x211)]===this[_0xea413d(0x417)]&&this[_0xea413d(0x255)](_0x2f7b75);})):(this[_0x861712(0x21b)](),this[_0x861712(0x327)][_0x861712(0x43b)](0x2),(_0x2b4885=this[_0x861712(0x1d2)])==null||_0x2b4885['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x482af0=_0xfab6d2;return this[_0x482af0(0x327)][_0x482af0(0x1e2)]();}[_0xfab6d2(0x1c9)](){var _0xa361c=_0xfab6d2,_0x3cacf8,_0x4947fd;return(_0x4947fd=(_0x3cacf8=this['_socket'])==null?void 0x0:_0x3cacf8[_0xa361c(0x3de)])!=null?_0x4947fd:null;}[_0xfab6d2(0x258)](){var _0x12411c=_0xfab6d2;super[_0x12411c(0x258)](),this[_0x12411c(0x161)][_0x12411c(0x43b)](),this[_0x12411c(0x161)][_0x12411c(0x372)]();}['close'](){var _0x5829d7=_0xfab6d2,_0x1ae2e6,_0x5b3648;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1ae2e6=this[_0x5829d7(0x408)])==null||_0x1ae2e6[_0x5829d7(0x2e7)]({'cmd':F[_0x5829d7(0x23d)],'data':{'roomID':this[_0x5829d7(0x417)]}}),(_0x5b3648=this['_socket'])==null||_0x5b3648[_0x5829d7(0x2f6)](),this[_0x5829d7(0x1e9)][_0x5829d7(0x372)](),this[_0x5829d7(0x327)]['complete'](),this[_0x5829d7(0x258)]();}[_0xfab6d2(0x255)](_0x3feb57){var _0xee6f48=_0xfab6d2;_0x3feb57[_0xee6f48(0x337)]===F['JOIN']?this['_onJoinRoomEvent'](_0x3feb57):_0x3feb57['cmd']===F[_0xee6f48(0x437)]&&this[_0xee6f48(0x3c3)](_0x3feb57);}[_0xfab6d2(0x394)](_0x3d32ae){var _0x556715=_0xfab6d2;this['_sessionStatus$'][_0x556715(0x43b)](0x1),_0x3d32ae[_0x556715(0x2e7)]({'cmd':F[_0x556715(0x3cb)],'routeKey':this[_0x556715(0x417)],'routeType':'','data':{'rooms':[{'roomID':this[_0x556715(0x417)]}]}});}[_0xfab6d2(0x34f)](_0x4ee091){var _0x4999fd=_0xfab6d2,_0x37c949;if(_0x4ee091[_0x4999fd(0x344)]in Wt){this[_0x4999fd(0x40f)][_0x4999fd(0x308)]({'id':ne[_0x4999fd(0x426)],'data':Wt[_0x4ee091[_0x4999fd(0x344)]]}),this['_sessionStatus$'][_0x4999fd(0x43b)](0x2);return;}this['_sessionStatus$'][_0x4999fd(0x43b)](0x3);const _0x298e8a=(_0x37c949=_0x4ee091[_0x4999fd(0x2fb)][_0x4999fd(0x380)][this['_unitID']])==null?void 0x0:_0x37c949[_0x4999fd(0x3f1)];_0x298e8a&&_0x298e8a[_0x4999fd(0x18a)](_0x1c2e62=>this[_0x4999fd(0x325)][_0x4999fd(0x14c)](this[_0x4999fd(0x417)],_0x1c2e62));}[_0xfab6d2(0x3c3)](_0x4bc260){var _0x50d214=_0xfab6d2;try{const _0x2a5290=_0x4bc260[_0x50d214(0x2fb)];switch(_0x2a5290['eventID']){case _0xd22ea0[_0x50d214(0x27b)]:this[_0x50d214(0x159)](_0x2a5290),this[_0x50d214(0x1e9)][_0x50d214(0x43b)](_0x2a5290);break;case _0xd22ea0[_0x50d214(0x1ea)]:this[_0x50d214(0x3db)](_0x2a5290),this[_0x50d214(0x1e9)][_0x50d214(0x43b)](_0x2a5290);break;case _0xd22ea0[_0x50d214(0x1a3)]:case _0xd22ea0[_0x50d214(0x1f6)]:this[_0x50d214(0x2f9)](),this[_0x50d214(0x422)](),this['_event$']['next'](_0x2a5290);break;case _0xd22ea0[_0x50d214(0x3e6)]:this[_0x50d214(0x233)][_0x50d214(0x15e)](_0x50d214(0x37c)+JSON[_0x50d214(0x1a6)](_0x2a5290)),this[_0x50d214(0x1e9)][_0x50d214(0x43b)](_0x2a5290);break;case _0xd22ea0[_0x50d214(0x1e5)]:this['_commentService'][_0x50d214(0x2c4)](_0x2a5290[_0x50d214(0x2fb)]),this[_0x50d214(0x1e9)][_0x50d214(0x43b)](_0x2a5290);break;default:this[_0x50d214(0x1e9)][_0x50d214(0x43b)](_0x2a5290);}}catch(_0x49444e){this['_logService']['error'](_0x49444e,_0x4bc260);}}[_0xfab6d2(0x159)](_0x58ba1c){var _0x80f930=_0xfab6d2;this['_memberService'][_0x80f930(0x14c)](this[_0x80f930(0x417)],_0x58ba1c['data']);}[_0xfab6d2(0x3db)](_0x219c6f){var _0x1f7c9a=_0xfab6d2;this['_memberService'][_0x1f7c9a(0x241)](this[_0x1f7c9a(0x417)],_0x219c6f['data'][_0x1f7c9a(0x3de)]);}async[_0xfab6d2(0x2e7)](_0x38fae1,_0x59129b){var _0x32c2ce=_0xfab6d2;if(this[_0x32c2ce(0x3ec)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x38fae1['eventID']===_0xd22ea0[_0x32c2ce(0x32a)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x32c2ce(0x151)](_0x38fae1)),this[_0x32c2ce(0x408)][_0x32c2ce(0x2e7)]({'cmd':F[_0x32c2ce(0x3e0)],'routeKey':_0x59129b,'routeType':'','data':_0x38fae1});}catch(_0x304a75){this[_0x32c2ce(0x233)][_0x32c2ce(0x15e)](_0x304a75);}}[_0xfab6d2(0x1f7)](){var _0x24335a=_0xfab6d2,_0x45797d;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x45bf87=_0xf12a;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x45bf87(0x308)]({'id':ne[_0x45bf87(0x180)]});},(_0x45797d=this[_0x24335a(0x342)]['getConfig'](di))!=null?_0x45797d:fi);}['_clearCollaborationTimeoutTimer'](){var _0x238102=_0xfab6d2;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x238102(0x273)]),this['_collaborationTimeoutTimer']=null);}[_0xfab6d2(0x151)](_0x1273d0){var _0xea0492=_0xfab6d2;if(!this[_0xea0492(0x2f8)])return;const {data:_0x3a41ec}=_0x1273d0,{unitID:_0x2e299b,changeset:_0x1dc1c4}=_0x3a41ec,{mutations:_0x4715d4,type:_0x1040b9}=_0x1dc1c4;this[_0xea0492(0x1ad)]={'unitId':_0x2e299b,'type':_0x1040b9,'startTime':performance[_0xea0492(0x26a)](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x4715d4)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x51edc2=_0xfab6d2;if(this[_0x51edc2(0x2f8)]){if(!this[_0x51edc2(0x1ad)]){this[_0x51edc2(0x233)][_0x51edc2(0x15e)](_0x51edc2(0x3bd),_0x51edc2(0x163));return;}this[_0x51edc2(0x1ad)][_0x51edc2(0x330)]=performance['now'](),this[_0x51edc2(0x1ad)][_0x51edc2(0x385)]=this['_telemetryInfo'][_0x51edc2(0x330)]-this[_0x51edc2(0x1ad)][_0x51edc2(0x34e)],this['_telemetryService'][_0x51edc2(0x3ef)](ws,this[_0x51edc2(0x1ad)]),this['_telemetryInfo']=null;}}[_0xfab6d2(0x21b)](){var _0x4ac376=_0xfab6d2;this[_0x4ac376(0x1ad)]=null;}};gt=$s([Ce(0x2,_0x4f52f4),Ce(0x3,_0x18e3ec),Ce(0x4,_0x1ec008(we)),Ce(0x5,_0x1ec008(gi)),Ce(0x6,_0x1ec008(ve)),Ce(0x7,_0x2d6737(_0x38a3b1))],gt);var Hs=Object['getOwnPropertyDescriptor'],Bs=(_0x10323c,_0xba26f7,_0x2cab50,_0x3308b3)=>{var _0x540c30=_0xfab6d2;for(var _0x53b10c=_0x3308b3>0x1?void 0x0:_0x3308b3?Hs(_0xba26f7,_0x2cab50):_0xba26f7,_0x5cfc97=_0x10323c[_0x540c30(0x137)]-0x1,_0x27a90d;_0x5cfc97>=0x0;_0x5cfc97--)(_0x27a90d=_0x10323c[_0x5cfc97])&&(_0x53b10c=_0x27a90d(_0x53b10c)||_0x53b10c);return _0x53b10c;},Re=(_0x35ce07,_0x29fb12)=>(_0x42196d,_0xd3f5f8)=>_0x29fb12(_0x42196d,_0xd3f5f8,_0x35ce07);let Pe=class extends _0x7310ef{constructor(_0x2fa5e7,_0x128997,_0x3040e2,_0xf55b,_0x4b712d,_0x583612){var _0x2c76ad=_0xfab6d2;super(),N(this,'_socket$',new _0x34c731(void 0x0)),N(this,_0x2c76ad(0x2a1),this[_0x2c76ad(0x2a2)]['asObservable']()),N(this,_0x2c76ad(0x319),null),N(this,_0x2c76ad(0x322),new Map()),N(this,_0x2c76ad(0x3a1),new _0x34c731(ge[_0x2c76ad(0x38d)])),N(this,_0x2c76ad(0x1f1),this[_0x2c76ad(0x3a1)][_0x2c76ad(0x365)]()),N(this,_0x2c76ad(0x224),!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,_0x2c76ad(0x277)),N(this,_0x2c76ad(0x15d)),(this['_injector']=_0x2fa5e7,this[_0x2c76ad(0x233)]=_0x128997,this[_0x2c76ad(0x342)]=_0x3040e2,this[_0x2c76ad(0x378)]=_0xf55b,this[_0x2c76ad(0x40f)]=_0x4b712d,this[_0x2c76ad(0x3f4)]=_0x583612,this[_0x2c76ad(0x35c)]());}get['_socket'](){var _0x3df608=_0xfab6d2;return this[_0x3df608(0x2a2)][_0x3df608(0x1e2)]();}[_0xfab6d2(0x35c)](){var _0x1babd3=_0xfab6d2;this[_0x1babd3(0x3f4)]&&this['disposeWithMe'](this[_0x1babd3(0x3f4)][_0x1babd3(0x3d8)][_0x1babd3(0x164)](_0x472a93=>{var _0x27f3c1=_0x1babd3;_0x472a93&&!this[_0x27f3c1(0x408)]&&this[_0x27f3c1(0x190)](),_0x472a93||this[_0x27f3c1(0x1f5)]();}));}['dispose'](){var _0x3fe717=_0xfab6d2;super[_0x3fe717(0x258)](),this[_0x3fe717(0x222)](),this['_clearTimeoutTimer'](),this[_0x3fe717(0x3b4)](),this[_0x3fe717(0x322)]['forEach'](_0x161d11=>_0x161d11[_0x3fe717(0x258)]()),this[_0x3fe717(0x322)][_0x3fe717(0x2f4)](),this[_0x3fe717(0x3a1)][_0x3fe717(0x372)]();}async['requireSession'](_0x172835){var _0x2539de=_0xfab6d2;if(this[_0x2539de(0x322)][_0x2539de(0x235)](_0x172835))return this[_0x2539de(0x322)][_0x2539de(0x28f)](_0x172835);this[_0x2539de(0x210)]();const _0x55077d=this[_0x2539de(0x1cd)][_0x2539de(0x1ca)](gt,_0x172835,this[_0x2539de(0x2a2)][_0x2539de(0x365)]());return this[_0x2539de(0x322)]['set'](_0x172835,_0x55077d),_0x55077d;}[_0xfab6d2(0x142)](_0x3700d0){var _0x397386=_0xfab6d2,_0xdb8782;const _0x8beaa4=this['_sessions']['get'](_0x3700d0);_0x8beaa4&&(this[_0x397386(0x322)]['delete'](_0x3700d0),_0x8beaa4[_0x397386(0x2f6)]()),this[_0x397386(0x322)][_0x397386(0x1ac)]||(_0xdb8782=this['_socket'])==null||_0xdb8782[_0x397386(0x2f6)]();}[_0xfab6d2(0x190)](){var _0x529574=_0xfab6d2;this[_0x529574(0x3e2)]=0x0,this[_0x529574(0x222)](),this['_tryReconnect']();}[_0xfab6d2(0x222)](){var _0x89ee05=_0xfab6d2;this[_0x89ee05(0x2c7)]!=null&&(clearTimeout(this[_0x89ee05(0x2c7)]),this[_0x89ee05(0x2c7)]=null);}async[_0xfab6d2(0x2d6)](){var _0x2b33c0=_0xfab6d2,_0x15205d;const _0x1ce3ab=this[_0x2b33c0(0x342)]['getConfig'](K),_0x5b8885=(_0x15205d=_0x1ce3ab==null?void 0x0:_0x1ce3ab[_0x2b33c0(0x31f)])!=null?_0x15205d:ms,_0x3fe43a=await this[_0x2b33c0(0x378)][_0x2b33c0(0x1b6)](_0x5b8885);return this[_0x2b33c0(0x319)]=_0x3fe43a,_0x3fe43a;}async['_tryEnsureSocket'](){var _0x5ad784=_0xfab6d2,_0x474702,_0x2fe4f7;try{const _0x8e588b=(_0x2fe4f7=(_0x474702=this[_0x5ad784(0x408)])!=null?_0x474702:this[_0x5ad784(0x319)])!=null?_0x2fe4f7:await this[_0x5ad784(0x2d6)]();if(_0x8e588b){const _0x152683=_0x8e588b['send'];_0x8e588b['send']=_0x33e249=>(this[_0x5ad784(0x320)](),_0x152683[_0x5ad784(0x3c8)](_0x8e588b,[_0x33e249])),_0x8e588b[_0x5ad784(0x332)][_0x5ad784(0x164)](_0x3b90b1=>this[_0x5ad784(0x3e5)](_0x8e588b,_0x3b90b1)),_0x8e588b[_0x5ad784(0x27d)][_0x5ad784(0x2d3)](_0x21507f(0x1))[_0x5ad784(0x164)](_0x5ec508=>this['_logService'][_0x5ad784(0x15e)](_0x5ad784(0x329),_0x5ec508)),_0x8e588b[_0x5ad784(0x3d0)]['pipe'](_0x21507f(0x1))[_0x5ad784(0x164)](()=>{var _0x844efc=_0x5ad784;this[_0x844efc(0x199)](_0x8e588b);}),_0x8e588b[_0x5ad784(0x26d)]['pipe'](_0x21507f(0x1))['subscribe'](_0x236991=>{var _0x14ece6=_0x5ad784;this[_0x14ece6(0x233)][_0x14ece6(0x3fa)](_0x14ece6(0x379),_0x14ece6(0x304),_0x236991),this['_onConnectionFailed']();});}}catch(_0x485c6a){this[_0x5ad784(0x233)][_0x5ad784(0x15e)](_0x485c6a),this[_0x5ad784(0x169)]();}}[_0xfab6d2(0x199)](_0x18227b){var _0x1b9381=_0xfab6d2;this[_0x1b9381(0x233)][_0x1b9381(0x3fa)](_0x1b9381(0x379),_0x1b9381(0x3ac)),_0x18227b[_0x1b9381(0x2e7)]({'cmd':F[_0x1b9381(0x310)]}),this['_rescheduleHeartbeat']();}[_0xfab6d2(0x1f5)](){var _0x4697ac=_0xfab6d2;this['_socketReady']=!0x1,this[_0x4697ac(0x319)]=null,this[_0x4697ac(0x3a1)][_0x4697ac(0x43b)](ge[_0x4697ac(0x1cb)]),this[_0x4697ac(0x2a2)][_0x4697ac(0x43b)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x41ab99=_0xfab6d2,_0x4b5820;this[_0x41ab99(0x1f5)](),this[_0x41ab99(0x3e2)]<((_0x4b5820=this[_0x41ab99(0x342)][_0x41ab99(0x2b1)](Is))!=null?_0x4b5820:Ts)?(this[_0x41ab99(0x40f)][_0x41ab99(0x308)]({'id':ne['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x41ab99(0x40f)][_0x41ab99(0x308)]({'id':ne['SOCKET_FAILED']});}[_0xfab6d2(0x350)](){var _0x529179=_0xfab6d2,_0x1fbdae;const _0x56aca4=this['_retryCount'],_0x805b3a=this[_0x529179(0x342)]['getConfig'](K),_0x283ff7=_0x56aca4===0x0?0x0:((_0x1fbdae=_0x805b3a==null?void 0x0:_0x805b3a[_0x529179(0x1be)])!=null?_0x1fbdae:Es)*0x2**_0x56aca4;this[_0x529179(0x2c7)]=setTimeout(()=>{var _0x2051fc=_0x529179;clearTimeout(this[_0x2051fc(0x2c7)]),this['_retryConnectingTimer']=null,this[_0x2051fc(0x210)]();},_0x283ff7),this[_0x529179(0x3e2)]+=0x1;}[_0xfab6d2(0x3e5)](_0x1c4809,_0x3d8985){var _0x298a95=_0xfab6d2;const {cmd:_0x58d49e}=_0x3d8985;_0x58d49e===F[_0x298a95(0x310)]&&!this[_0x298a95(0x224)]&&(_0x1c4809[_0x298a95(0x3de)]=_0x3d8985[_0x298a95(0x2fb)][_0x298a95(0x3de)],this[_0x298a95(0x2a2)][_0x298a95(0x43b)](_0x1c4809),this[_0x298a95(0x3a1)]['next'](ge[_0x298a95(0x42f)]),this[_0x298a95(0x224)]=!0x0,this[_0x298a95(0x319)]=null),_0x58d49e===F[_0x298a95(0x19b)]&&this[_0x298a95(0x261)](),this['_rescheduleHeartbeat']();}[_0xfab6d2(0x320)](){var _0x2637f0=_0xfab6d2,_0x148bd9;this[_0x2637f0(0x3b4)](),this[_0x2637f0(0x277)]=setTimeout(()=>this[_0x2637f0(0x41f)](),(_0x148bd9=this[_0x2637f0(0x342)]['getConfig'](gs))!=null?_0x148bd9:Ss);}[_0xfab6d2(0x41f)](){var _0x105b12=_0xfab6d2;this['_socket'][_0x105b12(0x2e7)]({'cmd':F[_0x105b12(0x19b)]}),this['_waitForHeartbeatResponse']();}[_0xfab6d2(0x162)](){var _0x32fc7f=_0xfab6d2,_0x1aa1bd;this[_0x32fc7f(0x15d)]=setTimeout(()=>this[_0x32fc7f(0x169)](),(_0x1aa1bd=this[_0x32fc7f(0x342)][_0x32fc7f(0x2b1)](di))!=null?_0x1aa1bd:fi);}['_clearHeartbeatTimer'](){var _0x118b45=_0xfab6d2;this[_0x118b45(0x277)]!=null&&(clearTimeout(this[_0x118b45(0x277)]),this['_sendHeartbeatTimer']=null);}[_0xfab6d2(0x261)](){var _0x5044ce=_0xfab6d2;this[_0x5044ce(0x15d)]!=null&&(clearTimeout(this[_0x5044ce(0x15d)]),this[_0x5044ce(0x15d)]=null);}};Pe=Bs([Re(0x0,_0x1ec008(_0x2d0003)),Re(0x1,_0x4f52f4),Re(0x2,_0x18e3ec),Re(0x3,mi),Re(0x4,_0x1ec008(ve)),Re(0x5,_0x2d6737(bs))],Pe);const J=_0x47ea04(_0xfab6d2(0x1f9));function br(_0x39f2bc){var _0x106901=_0xfab6d2;return _0x106901(0x389)+_0x39f2bc;}var js=Object[_0xfab6d2(0x32f)],Fs=(_0x31eb60,_0x47c229,_0xe8e15d,_0x17add9)=>{var _0x2d6438=_0xfab6d2;for(var _0x28a483=_0x17add9>0x1?void 0x0:_0x17add9?js(_0x47c229,_0xe8e15d):_0x47c229,_0x45e690=_0x31eb60[_0x2d6438(0x137)]-0x1,_0x1aba90;_0x45e690>=0x0;_0x45e690--)(_0x1aba90=_0x31eb60[_0x45e690])&&(_0x28a483=_0x1aba90(_0x28a483)||_0x28a483);return _0x28a483;},ut=(_0x53f9b7,_0x4dbd8d)=>(_0xd70a13,_0x4233fe)=>_0x4dbd8d(_0xd70a13,_0x4233fe,_0x53f9b7);function Vs(_0x5a8ca8){var _0x50f1f2=_0xfab6d2;const {unitID:_0x31ffd8,mutations:_0x28b7c4}=_0x5a8ca8;return{'unitId':_0x31ffd8,'subUnitId':_0x28b7c4[0x0][_0x50f1f2(0x414)][_0x50f1f2(0x146)]};}let it=class{constructor(_0x51e60f,_0x4c4003,_0x54f79d){var _0x4429e0=_0xfab6d2;this[_0x4429e0(0x1cd)]=_0x51e60f,this[_0x4429e0(0x40a)]=_0x4c4003,this['_instanceService']=_0x54f79d;}[_0xfab6d2(0x2e5)](_0x420b7d){var _0x179057=_0xfab6d2,_0x107a91,_0x489aa4,_0x48165a,_0xd72eb9;const _0x41a0fb=this[_0x179057(0x1cd)][_0x179057(0x28f)](_0x5d7461),{unitId:_0x129a4f,subUnitId:_0x56b728}=Vs(_0x420b7d),_0x1c7b14=_0x41a0fb==null?void 0x0:_0x41a0fb['getWorkbookSelections'](_0x129a4f)[_0x179057(0x282)](),_0x4d11fb=(_0x489aa4=(_0x107a91=this[_0x179057(0x1bb)][_0x179057(0x294)](_0x129a4f))==null?void 0x0:_0x107a91[_0x179057(0x2d9)]())==null?void 0x0:_0x489aa4['getSheetId']();if(_0x1c7b14[_0x179057(0x137)]===0x0||!_0x129a4f||!_0x56b728)return;const _0x383f87=[{'id':_0x3d8547['id'],'params':{'unitId':_0x129a4f,'subUnitId':_0x4d11fb,'selections':_0x479ca8['deepClone'](_0x1c7b14)}}],_0xecdb0e=this[_0x179057(0x40a)][_0x179057(0x2e1)](_0x420b7d,_0x383f87);if(!_0x9e3d63(_0xecdb0e))throw _0xecdb0e[_0x179057(0x15e)];const _0x240d8e=(_0xd72eb9=(_0x48165a=_0xecdb0e[_0x179057(0x2bb)][0x0])==null?void 0x0:_0x48165a[_0x179057(0x414)])==null?void 0x0:_0xd72eb9[_0x179057(0x341)];if(Array[_0x179057(0x3a6)](_0x240d8e)&&_0x240d8e['length']){if(_0x240d8e[_0x179057(0x137)]===_0x383f87[0x0][_0x179057(0x414)][_0x179057(0x341)][_0x179057(0x137)]&&_0x240d8e[_0x179057(0x2b7)]((_0x4d553f,_0x3b79f6)=>_0x3ad1e0[_0x179057(0x374)](_0x4d553f['range'],_0x383f87[0x0][_0x179057(0x414)][_0x179057(0x341)][_0x3b79f6][_0x179057(0x31b)])))return;this[_0x179057(0x1cd)][_0x179057(0x28f)](_0x270fc1)['executeCommand'](_0x3d8547['id'],{'unitId':_0x129a4f,'subUnitId':_0x4d11fb,'selections':_0x240d8e});}}};it=Fs([ut(0x0,_0x1ec008(_0x2d0003)),ut(0x1,_0x14d8dd),ut(0x2,_0x89562d)],it);const ht=_0x47ea04('univer-pro.collaboration-client.single-active-unit-service');var Si=(_0x2c255d=>(_0x2c255d[_0x2c255d['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xfab6d2(0x3ad),_0x2c255d[_0x2c255d[_0xfab6d2(0x35a)]=0x1]=_0xfab6d2(0x35a),_0x2c255d))(Si||{});const Ws=new Set([_0x39458d['id']]);function Gt(_0x482fa4,_0x406738,_0x24a30f,_0x4ccbba,_0x219cd3){var _0x2d3b1a=_0xfab6d2,_0x208cab,_0x1dcb41,_0x2163ae,_0x15a36c;const _0x35b22f=[];for(const _0xa5f349 of _0x482fa4)if(Ws['has'](_0xa5f349['id'])){if(_0x35b22f[_0x2d3b1a(0x137)]>0x0)break;_0x35b22f[_0x2d3b1a(0x138)](_0xa5f349);break;}else _0x35b22f['push'](_0xa5f349);const _0x9f04ab=(_0x1dcb41=(_0x208cab=_0x219cd3[_0x2d3b1a(0x288)]())==null?void 0x0:_0x208cab[_0x2d3b1a(0x24f)])!=null?_0x1dcb41:_0x2d3b1a(0x415),_0x2e7b49=(_0x15a36c=(_0x2163ae=_0x219cd3[_0x2d3b1a(0x288)]())==null?void 0x0:_0x2163ae[_0x2d3b1a(0x3de)])!=null?_0x15a36c:_0x2d3b1a(0x415);return{'changeset':{'unitID':_0x406738,'type':_0xac1904(_0x24a30f[_0x2d3b1a(0x2b0)](_0x406738)),'baseRev':_0x4ccbba['getCurrentRevOfUnit'](_0x406738),'revision':0x0,'userID':_0x9f04ab,'memberID':_0x2e7b49,'mutations':_0x35b22f},'pendingMutations':_0x482fa4['slice'](_0x35b22f[_0x2d3b1a(0x137)])};}function Gs(_0x5a6aba,_0x47a2ca,_0xa30a2e,_0x43fd25,_0x4631de){var _0x174a0d=_0xfab6d2,_0x3e66ea,_0xfb1117,_0x4022dd,_0x13c41b;const _0x262946=[_0x5a6aba[_0x174a0d(0x369)]((_0x17a94,_0x23aede)=>{var _0x6a622d=_0x174a0d,_0x550f09;const {id:_0x357e13}=_0x17a94,{id:_0x4f587a,type:_0x47bcef}=_0x23aede,_0x4811bf=(_0x550f09=_0x17a94[_0x6a622d(0x414)])!=null?_0x550f09:{'actions':null},_0x441fd6=_0x23aede[_0x6a622d(0x414)];if(_0x357e13&&_0x357e13!==_0x4f587a)throw new Error(_0x6a622d(0x36a)+_0x357e13+_0x6a622d(0x28e)+_0x4f587a+'.');return{..._0x17a94,'id':_0x4f587a,'type':_0x47bcef,'params':{'unitId':_0x441fd6[_0x6a622d(0x317)],'textRanges':_0x441fd6['textRanges'],'actions':_0x8a1408['compose'](_0x4811bf[_0x6a622d(0x205)],_0x441fd6[_0x6a622d(0x205)])}};},{})],_0x483e12=(_0xfb1117=(_0x3e66ea=_0x4631de['getCurrentUser']())==null?void 0x0:_0x3e66ea['userID'])!=null?_0xfb1117:_0x174a0d(0x415),_0x2fedd7=(_0x13c41b=(_0x4022dd=_0x4631de[_0x174a0d(0x288)]())==null?void 0x0:_0x4022dd['memberID'])!=null?_0x13c41b:_0x174a0d(0x415);return{'changeset':{'unitID':_0x47a2ca,'type':_0xac1904(_0xa30a2e['getUnitType'](_0x47a2ca)),'baseRev':_0x43fd25[_0x174a0d(0x13f)](_0x47a2ca),'revision':0x0,'userID':_0x483e12,'memberID':_0x2fedd7,'mutations':_0x262946},'pendingMutations':[]};}function Ei(_0x2623b6,_0x2a8218){var _0x32c441=_0xfab6d2;const _0x5000e7=new _0x4f7876(0x1);return setTimeout(()=>_0x5000e7[_0x32c441(0x43b)](_0x2a8218),_0x2623b6),_0x5000e7[_0x32c441(0x365)]()['pipe'](_0x3360e4(0x1));}const Ys={'id':_0x222bd6['id'],'type':_0xb50327['MUTATION'],'params':{}};var Ks=Object[_0xfab6d2(0x32f)],Ee=(_0x215cec,_0x5989cb,_0x1befd3,_0x254a3e)=>{var _0x3ea5ae=_0xfab6d2;for(var _0x58aff1=_0x254a3e>0x1?void 0x0:_0x254a3e?Ks(_0x5989cb,_0x1befd3):_0x5989cb,_0x12c6c5=_0x215cec[_0x3ea5ae(0x137)]-0x1,_0x4df425;_0x12c6c5>=0x0;_0x12c6c5--)(_0x4df425=_0x215cec[_0x12c6c5])&&(_0x58aff1=_0x4df425(_0x58aff1)||_0x58aff1);return _0x58aff1;},P=(_0x359dba,_0xe2e82f)=>(_0x3a3d5c,_0x5a5ed8)=>_0xe2e82f(_0x3a3d5c,_0x5a5ed8,_0x359dba),Ii=(_0x46e9aa=>(_0x46e9aa[_0xfab6d2(0x243)]=_0xfab6d2(0x3cd),_0x46e9aa[_0xfab6d2(0x2d5)]='synced',_0x46e9aa['PENDING']='pending',_0x46e9aa[_0xfab6d2(0x412)]='awaiting',_0x46e9aa['AWAITING_WITH_PENDING']=_0xfab6d2(0x28d),_0x46e9aa[_0xfab6d2(0x38e)]='fetch_missing',_0x46e9aa[_0xfab6d2(0x147)]=_0xfab6d2(0x3a4),_0x46e9aa['OFFLINE']=_0xfab6d2(0x167),_0x46e9aa))(Ii||{});function _0x5ac0(){var _0x13188d=['stopTime','COMPRESS_MUTATION_APPLY','message$','93501fpUdNv','_collaborationPaused','LOCAL_CACHE_INTERVAL','&source=','cmd','sigBytes','synced','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','?size=','WordArray','FETCH_MISSING','LIVESHARE_TERMINATE','/-/object/list','setConfig','selections','_configService','responseType','code','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','href','[PendingState]:\x20unhandled\x20univer\x20type:\x20','lib','_acknowledgedAwaitingChangeset','fetchMiss','registerHTTPInterceptor','EvpKDF','[CollaborationUndoRedoService]','startTime','_onJoinRoomEvent','_tryReconnect','unitID','csRejEvent','unitId\x20is\x20not\x20found','snapshotServerUrl','_toggleOffline','_sheetTransformSelectionsService','/universer-api/stream/file/upload','eventID','_snapshotServerService','OTHER_CLIENTS_EDITING','x-univer-host','_listenToNetworkCondition','csShouldRetryEvent','_append','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_registerDependencies','toString','OPTIONAL','permissionRejEvent','getTypeOfUnitAdded$','asObservable','from','onTransformSelections','HttpExport','reduce','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_scheduleCompleteTimestamp','_permissionService','_ENC_XFORM_MODE','session.room-cnt-exceeds','__creator','_doCryptBlock','_resendTimer','complete','set','equals','getUnitId','LIVESHARE_FETCH_OPERATIONS','JOIN_ROOM_PERMISSION_DENIED','_socketService','[CollaborationSessionService]','UPDATE_PERMISSION_OBJ','joinRsp','save\x20fail\x20reason\x20is\x20','onLocalMutation','/allowed','OpenSSL','roomInfos','_map','fromCollab','signUrlServerUrl','_type','duration','/collaborator','_lockTransition','readAsDataURL','unit-cache-','floor','/new_changes','_parse','IDLE','FETCH_MISS','ERROR_IMAGE','location','_cipher','joinEvent','_incrementRevisionNumber','_joinRoom','_disableEditing','onTransformState','JOINING','includes','_getCurrentRevision','SHOULD_CLOSE_CONN','encodeURIComponent','_hash','_imageSourceCache','?url=','YUUMI_NO_CUBOID_FOR_QUESTION','3917947cDDgul','_status$','_undoStacks','collaborators','conflict','UNIVER_PROJECT','isArray','_change$','onSendChangeset','Encryptor','INVITE_CODE_ALREADY_BOUND','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','socket\x20open.','NO_OTHER_CLIENTS_EDITING','Error\x20on\x20receiving\x20event','concat','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_schedule','COMPLETION_FINISHED','Hex','_clearHeartbeatTimer','APPLY_REJECT','image/png','workbook','target','name','_roomCreated$','COMPRESS_MUTATION_SEND','_getAPIPrefix','[CollaborationSession]','_eventService','_updateLocalCache','collaboration-client.config','_clearScheduledTask','/unit/','_onRecvEvent','POST','liveShareOperation','_snapshotService','_minBufferSize','apply','startsWith','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','JOIN','CLOSE_ROOM','not_collab','PSEUDO_FETCH_MISSING_RESULT','catch','open$','_changesetSessionId','_DEC_XFORM_MODE','unitInfo$','compute','NOT_FOUND','_getRedoStack','_doFinalize','online$','_initCloseConn','NoPadding','_onUserLeave','PasswordBasedCipher','csAckEvent','memberID','padding','INGEST','/universer-api/file/{fileID}/sign-url','_retryCount','call','UnitSnapshot','_onMessage','MSG_FOR_ERROR','key','_onRemoteRejected','charAt','byteLength','transformStack\x20failed!','sessionStatus','UNKNOWN_CODE','FAIL','capture','init','members','isPermissionRej','EMAIL_HAS_BEEN_BOUND','_networkConditionService','/universer-api/snapshot','encode','_replaceFileID','event$','WECHAT_HAS_BEEN_BOUND','debug','image/gif','create','_mode','initWorkbookPermissionChange','LICENSE_DISTRO_REJECTED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_commandService','LICENSE_IMPORT_SIZE_EXCEEDED','allowed','INVITE_CODE_HAS_BEEN_UES','MUTATION','Cipher','getDeserializedSheetBlock','_socket','_createHelper','_transformService','pluginName','auth.needGotoLoginAlert','collaboration_new_changeset','ivSize','_collaborationUIEventService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','image/jpeg','AWAITING','fromCharCode','params','unknown','downloadEndpointUrl','_unitID','/universer-api/comb','default','collaMsg','YUUMI_ALL_TABLES_IS_INVALID','_hasher','interceptor','submit\x20changeset\x20error!','_sendHeartbeat','/-/object/-/batch_allowed','onStateChange','_clearCollaborationTimeoutTimer','9552mbuCmq','onTransformRemoteChangesetByStateCache','updateSnapshot','JOIN_ROOM_FAILED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_onFetchMissResult','objectType','headers','change$','roles','_onRemoteChangeset','addHandlerCallback','ONLINE','delete','BlockCipher','_prevBlock','_undoRedoService','url','YUUMI_SUBSCRIPTION_NOT_FOUND','/universer-api/oidc/authpage','RECV','_remoteChangesetQueue','reject','CHANGESET_REJ','next','_transformSelections','6GczPYC','2300pcaKqA','awaiting','createDecryptor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','connection\x20error','_roomMembers','_initDependencies','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/rev/','charCodeAt','length','push','_applyRemoteChangeset','getTime','join','_httpService','_clearLocalCache','&to=','getCurrentRevOfUnit','encryptBlock','unsubscribe','closeSession','onCommandExecuted','_initMergeInterceptor','5216555ynOSLo','subUnitId','CONFLICT','_collabSessionService','Malformed\x20UTF-8\x20data','fetching\x20missing\x20changesets\x20from\x20','onTransformIME','updateMember','getLatestCsReqIdBySid','socketService','sheets','JOIN_ROOM_FULL','_startTelemetryCollaborationNewChangeset','\x0aAfter:\x20','createCollaborator','_localCacheService','getImageSourceCache','find','mixIn','getCollabEntity','_onUserJoin','encrypt','SNAPSHOT_HAS_BEEN_REMOVED','_commentUpdate$','_timeoutTimer','error','session.join-failed','UUID','dispose$','_waitForHeartbeatResponse','telemetry\x20info\x20is\x20not\x20initialized','subscribe','setCurrentUser','EMAIL_VERIFY_CODE_MISMATCH','offline','reqId','_onConnectionFailed','_doReset','repeat','transformChangesets','SUCCUSS','LICENSE_MAX_UNITS_EXCEEDED','_invKeySchedule','execute','_clearRedo','781634ddoKca','cfg','min','withCredentials','236MbSznH','hasher','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getLoginPath','onRemoteRej','sendChangesetTimeout','enableSingleActiveInstanceLock','UNISCRIPT_RUN','awaitingChangeset','mode','SUBMIT_CHANGESET_TIMEOUT','_getSignURL','FileId','_pendingMutations','_entities','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UNDEFINED','SOCKET_FAILED','_startCollaboration','_fetchMissChangesets','forEach','entries','8368136gnrwJF','_transformIMECache','_onRemoteACK','LIVESHARE_NEW_HOST','reconnect','UNIVER_COLLABORATION_CLIENT_PLUGIN','MD5','onSyncEditingCollabCursor','_xformMode','_state','YUUMI_RATE_OVER_LIMIT','members$','_data','_onConnectionOpen','ERROR_EXCEED_SIZE','HEARTBEAT','Could\x20not\x20dynamically\x20require\x20\x22','updateOfflineData','onMissedChangesetFetched','_revisionService','_state$','symbol','getUnitStatus$','CHANGESET_ACK','_submitChangeset','_localeService','stringify','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','createEncryptor','CBC','[FetchMissState]','_iKey','size','_telemetryInfo','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getSheetBlock','confirm','getMember','[DataLoaderService]','findIndex','UNIVER_DOC','DEFAULT_FILE_NAME','createSocket','_replayCachedMutations','_getUploadFileURL','resend','&assign=','_instanceService','AES','words','retryConnectingInterval','APPLY_DUPLICATED','getResourcesRequest','_initRequestHeader','\x20to\x20','title','focused$','[PendingState]:\x20received\x20rejection.','YUUMI_AI_RUN_FAILED','sessionStatus$','crypto','getMemberID','createInstance','OFFLINE','type','_injector','_transitionLocked','update','APPLY_NON_SEQUENTIAL_REVISION','post','_socketMessageSubscription','[SyncedState]:\x20received\x20acknowledgement.','[UniverCollaborationClientPlugin]','HmacSHA1','values','_checkMissing','HEARTBEAT_INTERVAL','saveImage','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_isPermissionRej','collabSubmitChangesetUrl','_updateStatus','INVALID_INVITE_CODE','updatePermissionPoint','RETRY_CONNECTING_MAX_COUNT','[OfflineState]:\x20received\x20changeset.','getValue','ENSURE_SNAPSHOT_EXECUTION','_toggleOnline','COMMENT_UPDATE','put','_univerInstanceService','revision','_event$','USERS_LEAVE','_resendWithTimeout','copyFileMeta','_transformRemoteChangesetByIMECache','processBlock','ciphertext','updatePermissionObjEvent','status$','Undefined','_config','_createHmacHelper','_onOffline','CHANGESET_SHOULD_RETRY','_scheduleCollaborationTimeoutTimer','filter','collaboration-client.local-cache-service','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','\x20in\x20_schedule.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_members','loadSheet','_removeRoom','patch','string','_createHandler','saveChangeset','_updateState','actions','formatter','_emitMembers','USER_NOT_INVITED_CODE','pad','_clearUndo','_nRounds','pauseCollaboration','_getSendChangesetTimeout','avatar','_sender','_tryEnsureSocket','routeKey','_singleActiveUnitService','\x0aCurrent:\x20','toggleOnline','prototype','resolve','map','Base','failed\x20to\x20apply\x20missed\x20changesets!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_throwTelemetryCollaborationNewChangeset','kdf','splice','requireSession','PY_RUNTIME_SCRIPT_ERROR','snapshot','appendMutation','_clearRetryConnectingTimer','_reverseMap','_socketReady','decrypt','byteOffset','objectID','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getSnapshotAPIPath','UNIVER_SHEET','[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.','SNAPSHOT_INVALID_SNAPSHOT','c1Prime','BASE64','_unlockTransition','HmacMD5','keySize','_logService','resourceIDs','has','newCsEvent','_getUndoStack','image/bmp','buffer','_key','transformUndoRedo','PERMISSION_DENIED','LEAVE','_commentService','indexOf','_doProcessBlock','removeMember','Base64','NOT_COLLAB','session.room-full','disposeWithMe','INTERNAL_ERROR','objects','Utf8','authzUrl','CONNECTOR_DATA_TOO_LARGE','_init','_transformStack','file','blockSize','userID','deleteCollaborator','__Key__','format','_handler','defineProperty','_onCombEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_handlerCallback','dispose','subject','_onLocalMutation','Latin1','193riQedC','$super','_resendTimeout','LOGIN_FAILED','onTransformRemoteChangesetByIMECache','_clearTimeoutTimer','random','_transformRemoteChangesetByStateCache','_substituteUndoStack','_telemetryService','_compressMutationService','loadOfflineData','toggleOffline','sid','now','add','_onConflict','close$','loginUrlKey','HttpImport','TOO_MANY_REQUESTS','YUUMI_URL_COL_OUT_OF_RANGE','HMAC','_collaborationTimeoutTimer','UnitEmbedded','_getAPIPrefixPath','_collaborationSessionService','_sendHeartbeatTimer','fetchThroughInterceptors','CHANGESET_REVISION_CONFILICT','/universer-api/authz','USERS_ENTER','session.room-permission-denied','error$','_decreaseWaiting','getRandomValues','univer-pro.collaboration-client.network-condition.service','People','getCurrentSelections','localCacheService','clamp','then','HEARTBEAT_TIMEOUT','_process','getCurrentUser','list','_nDataBytes','/object/','algo','awaiting_with_pending','\x20-\x20','get','onRemoteAck','LIVESHARE_REQUEST_HOST','listRoles','parse','getUnit','session','UNIVER_SLIDE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getUnitOnRev','_changesetReqId','result','method','getImage','270nqzmZv','localeService','waitForRoom$','c2Prime','socket$','_socket$','OTHER_CLIENT_EDITING','_awaitingChangeset','_userManagerService','slice','_members$','hostname','rev','editingUnit','_unitInfo$','/role','UNIVER_UNKNOWN','_getCtorByUniverType','_onRemoteRetry','getUnitType','getConfig','YUUMI_TABLE_NOT_FOUND_IN_UNIT','finalize','enableCollaboration','enc','__esModule','every','editing\x20status\x20changed\x20to','MOBILE_HAS_BEEN_BOUND','APPLY_REVISION_CONFILICT','m2Prime','_oKey','_createInitialStateImpl','extend','body','_showConflictNotification','LIVESHARE_OPERATION','status','_executeRemoteChangeset','onCommentUpdate','_queuedRemoteChangesets','GLOBAL_ROOMS_CNT_EXCEEDS','_retryConnectingTimer','onStarting','requestParams','UNKNOWN_CMD','pending','getCollabEntity$','getInterceptPoints','onMissingChangesets','image/jpg','LICENSE_EXPORT_SIZE_EXCEEDED','exports','originalMeta','pipe','max','SYNCED','_createSocket','loadDoc','ceil','getActiveSheet','UNRECOGNIZED','_iv','sin','onRemoteChangeset','_transformStateCache','Hasher','SHA1','transformMutationsWithChangeset','objectActions','shouldCloseConn','_initUnitPermissionChange','transformSelections','onRemoteRetry','send','msCrypto','clone','/resources','_HTTPService','abs','executeCommand','origin','hasOwnProperty','INVITE_CODE_REQUIRED','_transformUndoredo','APPLY_PERMISSION_DENIED','_keySchedule','clear','mutations','close','getTypeOfUnitDisposed$','_shouldReportTelemetry','_stopTelemetryCollaborationNewChangeset','INVALID_ARGUMENT','data','fetchMissingChangesets','BufferedBlockAlgorithm','salt','CipherParams','UNAUTHENTICATED','[SyncedState]:\x20received\x20rejection.','ERROR_IMAGE_TYPE','baseRev','socket\x20close','[PendingState]:\x20received\x20acknowledgement.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_keyPriorReset','emitEvent','_sendingTimer','disableLocalCache','reset','commentUpdate$','ALREADY_EXISTS','function','replace','HELLO','_waitCount','readyForCollab','getFocusedUnit','[CollaborationState]:\x20apply\x20error!','/universer-api/user/session-ticket','PERSON','unitId','putCollaborators','_candidateSocket','/object','range','infoRsp','JOIN_ROOM_NOT_EXISTS','_entityInit$','collabWebSocketUrl','_rescheduleHeartbeat','/universer-api/uniscript','_sessions','_substituteRedoStack','_exhaustRemoteChangesetQueue','_memberService','_createInitialState','_sessionStatus$','/block/','[CollaborationSessionService]:\x20socket\x20error','SUBMIT_CHANGESET','_getDownloadEndpointURL','state','NEW_CHANGESETS','batchAllowed','getOwnPropertyDescriptor'];_0x5ac0=function(){return _0x13188d;};return _0x5ac0();}const Ti=0xea60;class Ie{constructor(_0x2f3cc1,_0x589eba,_0x15c1e5,_0x123a6d,_0x5e4b66,_0x2333b7,_0xf5a41,_0x28a7cd,_0x498125){var _0x233082=_0xfab6d2;N(this,_0x233082(0x2a4),null),N(this,_0x233082(0x183),[]),(this[_0x233082(0x351)]=_0x2f3cc1,this[_0x233082(0x1cc)]=_0x589eba,this[_0x233082(0x253)]=_0x5e4b66,this[_0x233082(0x401)]=_0x2333b7,this[_0x233082(0x433)]=_0xf5a41,this[_0x233082(0x19f)]=_0x28a7cd,this[_0x233082(0x154)]=_0x498125,this[_0x233082(0x2a4)]=_0x15c1e5,this[_0x233082(0x183)]=_0x123a6d);}[_0xfab6d2(0x1d7)](_0x37c0b8){var _0x250d81=_0xfab6d2;const _0x408015=this[_0x250d81(0x19f)]['getCurrentRevOfUnit'](this[_0x250d81(0x351)]);return _0x37c0b8[_0x250d81(0x1e8)]>_0x408015+0x1?(this[_0x250d81(0x253)][_0x250d81(0x2ce)]({'from':_0x408015,'to':_0x37c0b8['revision']-0x1}),!0x0):!0x1;}[_0xfab6d2(0x2f1)](_0x4c8aa0){var _0x45f037=_0xfab6d2;this[_0x45f037(0x433)][_0x45f037(0x23b)](this[_0x45f037(0x351)],_0x4c8aa0);}[_0xfab6d2(0x43c)](_0x4c0ea3){var _0x2ad4e9=_0xfab6d2,_0xf4b745,_0x21c252;(_0x21c252=(_0xf4b745=this[_0x2ad4e9(0x253)])[_0x2ad4e9(0x367)])==null||_0x21c252[_0x2ad4e9(0x3e3)](_0xf4b745,_0x4c0ea3);}[_0xfab6d2(0x18d)](_0x30431c){var _0x3fb918=_0xfab6d2,_0x3c1d63,_0x32ab87;return(_0x32ab87=(_0x3c1d63=this[_0x3fb918(0x253)])[_0x3fb918(0x14b)])==null?void 0x0:_0x32ab87[_0x3fb918(0x3e3)](_0x3c1d63,_0x30431c);}[_0xfab6d2(0x2de)](_0x41013b){var _0x2b6bf4=_0xfab6d2,_0x4bc6b3,_0x13986e;return(_0x13986e=(_0x4bc6b3=this[_0x2b6bf4(0x253)])[_0x2b6bf4(0x396)])==null?void 0x0:_0x13986e[_0x2b6bf4(0x3e3)](_0x4bc6b3,_0x41013b);}['_transformRemoteChangesetByIMECache'](_0x5322d9){var _0x4a70df=_0xfab6d2,_0x5d704f,_0x321763,_0x363de2;return(_0x363de2=(_0x321763=(_0x5d704f=this[_0x4a70df(0x253)])[_0x4a70df(0x260)])==null?void 0x0:_0x321763['call'](_0x5d704f,_0x5322d9))!=null?_0x363de2:_0x5322d9;}[_0xfab6d2(0x263)](_0x3ef46f){var _0xdfe006=_0xfab6d2,_0x76cc9e,_0x4d542e,_0x58383b;return(_0x58383b=(_0x4d542e=(_0x76cc9e=this[_0xdfe006(0x253)])[_0xdfe006(0x424)])==null?void 0x0:_0x4d542e['call'](_0x76cc9e,_0x3ef46f))!=null?_0x58383b:_0x3ef46f;}['_syncEditingCollabCursor'](_0x436e37){var _0x49b59e=_0xfab6d2,_0x5a6a79,_0x453975;if(this['type']===Z[_0x49b59e(0x1b4)]){const {unitID:_0xa95e40,mutations:_0x8bc579,memberID:_0x170b50}=_0x436e37,_0x107430=_0x8bc579[0x0][_0x49b59e(0x414)]['textRanges'];Array[_0x49b59e(0x3a6)](_0x107430)&&_0x107430['length']>0x0&&((_0x453975=(_0x5a6a79=this[_0x49b59e(0x253)])['onSyncEditingCollabCursor'])==null||_0x453975[_0x49b59e(0x3e3)](_0x5a6a79,{'unitID':_0xa95e40,'memberID':_0x170b50,'textRanges':_0x107430}));}}[_0xfab6d2(0x3bf)](){var _0x5c8356=_0xfab6d2,_0x285c84;(_0x285c84=this[_0x5c8356(0x154)])==null||_0x285c84[_0x5c8356(0x19d)](this[_0x5c8356(0x351)],this[_0x5c8356(0x1cc)],this[_0x5c8356(0x2a4)],this[_0x5c8356(0x183)]);}['_getCurrentRevision'](){var _0x18eaad=_0xfab6d2;return this[_0x18eaad(0x19f)]['getCurrentRevOfUnit'](this[_0x18eaad(0x351)]);}['_incrementRevisionNumber'](){var _0x4c30a4=_0xfab6d2;this[_0x4c30a4(0x19f)]['incrementRevOfUnit'](this[_0x4c30a4(0x351)]);}[_0xfab6d2(0x2c3)](_0x570d4d){var _0x253977=_0xfab6d2,_0x5af1cc;let _0x1048f2=this[_0x253977(0x1ed)](_0x570d4d);_0x1048f2=this[_0x253977(0x263)](_0x1048f2);const _0x236b9a=_0x4ea8f6(_0x1048f2[_0x253977(0x2f5)],this['_commandService'],{'fromCollab':!0x0});if(!_0x236b9a[_0x253977(0x29a)])throw _0x236b9a[_0x253977(0x15e)]instanceof Error?_0x236b9a[_0x253977(0x15e)]:new Error((_0x5af1cc=_0x236b9a[_0x253977(0x15e)])!=null?_0x5af1cc:_0x253977(0x314));this['_transformIMECache'](_0x1048f2),this[_0x253977(0x2de)](_0x1048f2),this[_0x253977(0x2f1)](_0x570d4d),this[_0x253977(0x43c)](_0x1048f2),this['_syncEditingCollabCursor'](_0x1048f2),this[_0x253977(0x393)]();}}let ye=class extends Ie{constructor(_0x36ec06,_0x253b7f,_0x2102f9,_0x1fd97b,_0x57d1bd,_0x2d1f30,_0x125691,_0x979ef2,_0x5b23ea,_0x4eecb5){var _0x309d03=_0xfab6d2;super(_0x36ec06,_0x253b7f,null,[],_0x2102f9,_0x125691,_0x2d1f30,_0x1fd97b,_0x4eecb5),N(this,'status',_0x309d03(0x339)),(this[_0x309d03(0x1cd)]=_0x57d1bd,this[_0x309d03(0x233)]=_0x979ef2,this[_0x309d03(0x40a)]=_0x5b23ea,this[_0x309d03(0x283)]=_0x4eecb5);}['appendMutation'](_0x29992e){var _0xa49066=_0xfab6d2;const _0x16e40d=this[_0xa49066(0x1cd)][_0xa49066(0x1ca)](re,this[_0xa49066(0x351)],this[_0xa49066(0x1cc)],[_0x29992e],this[_0xa49066(0x253)]);return _0x16e40d[_0xa49066(0x3b1)](),_0x16e40d['_updateLocalCache'](),_0x16e40d;}[_0xfab6d2(0x2dd)](_0x4b3ece){var _0x56999b=_0xfab6d2;if(this['_checkMissing'](_0x4b3ece))return this[_0x56999b(0x1cd)][_0x56999b(0x1ca)](Q,this[_0x56999b(0x351)],this[_0x56999b(0x1cc)],null,[],null,[_0x4b3ece],this[_0x56999b(0x253)]);try{const _0x176db6=this[_0x56999b(0x40a)][_0x56999b(0x2e1)](_0x4b3ece,[Ys]);if(_0x9e3d63(_0x176db6)){const {c1Prime:_0x31059b}=_0x176db6;return this[_0x56999b(0x2c3)](_0x31059b),this;}throw _0x176db6['error'];}catch(_0x46c142){return this['_logService'][_0x56999b(0x15e)](_0x46c142),this['_onConflict'](!0x1);}}[_0xfab6d2(0x26c)](_0x4d2906){var _0x143f0b=_0xfab6d2;return this[_0x143f0b(0x1cd)][_0x143f0b(0x1ca)](le,this[_0x143f0b(0x351)],this['type'],null,[],this[_0x143f0b(0x253)],_0x4d2906);}['onRemoteAck'](){var _0x57dd0a=_0xfab6d2;throw new Error(_0x57dd0a(0x1d3));}[_0xfab6d2(0x17a)](){var _0x57d8ba=_0xfab6d2;throw new Error(_0x57d8ba(0x301));}[_0xfab6d2(0x2e6)](){return this;}[_0xfab6d2(0x268)](){var _0x5e902f=_0xfab6d2;return this[_0x5e902f(0x1cd)]['createInstance'](ue,this[_0x5e902f(0x351)],this[_0x5e902f(0x1cc)],null,[],this[_0x5e902f(0x253)]);}[_0xfab6d2(0x214)](){return this;}[_0xfab6d2(0x1b9)](){var _0x598612=_0xfab6d2;throw new Error(_0x598612(0x1fc));}[_0xfab6d2(0x34a)](){var _0x1c8ebd=_0xfab6d2;const _0x5a59ff=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x1c8ebd(0x2ce)]({'from':_0x5a59ff,'to':0x0}),this['_injector'][_0x1c8ebd(0x1ca)](Q,this[_0x1c8ebd(0x351)],this[_0x1c8ebd(0x1cc)],null,[],null,[],this['_handler']);}};ye=Ee([P(0x3,_0x1ec008(_0x2a050b)),P(0x4,_0x1ec008(_0x2d0003)),P(0x5,_0x4a8d02),P(0x6,_0x270fc1),P(0x7,_0x4f52f4),P(0x8,_0x14d8dd),P(0x9,_0x2d6737(J))],ye);let re=class extends Ie{constructor(_0x3583ea,_0x34bc07,_0x3ce5c8,_0x542510,_0x1c67ec,_0x8abeaa,_0x1450e1,_0x214090,_0x403cb8,_0x69a7c3,_0x12ee53,_0x3c9f6d,_0x4c69bb,_0x38ae60){var _0x2cfa26=_0xfab6d2;super(_0x3583ea,_0x34bc07,null,_0x3ce5c8,_0x542510,_0x403cb8,_0x4c69bb,_0x8abeaa,_0x38ae60),N(this,'status',_0x2cfa26(0x2cb)),N(this,_0x2cfa26(0x36b),null),N(this,_0x2cfa26(0x309),null),(this['_injector']=_0x1c67ec,this[_0x2cfa26(0x325)]=_0x1450e1,this[_0x2cfa26(0x233)]=_0x214090,this[_0x2cfa26(0x342)]=_0x69a7c3,this[_0x2cfa26(0x40a)]=_0x12ee53,this[_0x2cfa26(0x1e7)]=_0x3c9f6d);}[_0xfab6d2(0x221)](_0xa6946a){var _0x57256c=_0xfab6d2;return this[_0x57256c(0x183)][_0x57256c(0x138)](_0xa6946a),this[_0x57256c(0x3bf)](),this;}['onRemoteChangeset'](_0x230f83){var _0x312e4d=_0xfab6d2;if(this['_checkMissing'](_0x230f83))return this[_0x312e4d(0x3c1)](),this['_injector'][_0x312e4d(0x1ca)](Q,this[_0x312e4d(0x351)],this[_0x312e4d(0x1cc)],null,this[_0x312e4d(0x183)],null,[_0x230f83],this['_handler']);try{const _0x1f4579=this[_0x312e4d(0x40a)][_0x312e4d(0x2e1)](_0x230f83,this[_0x312e4d(0x183)]);if(_0x9e3d63(_0x1f4579)){const {c1Prime:_0x151f76,m2Prime:_0x358b36}=_0x1f4579;this[_0x312e4d(0x2c3)](_0x151f76);const _0x36ff98=this['_injector'][_0x312e4d(0x1ca)](re,this[_0x312e4d(0x351)],this[_0x312e4d(0x1cc)],_0x358b36,this[_0x312e4d(0x253)]);this['_clearScheduledTask']();const _0x3bdea4=new Date()['getTime'](),_0xd3a725=this[_0x312e4d(0x36b)]?Math[_0x312e4d(0x2d4)](this[_0x312e4d(0x36b)]-_0x3bdea4,0x0):this[_0x312e4d(0x20d)]();return _0x36ff98[_0x312e4d(0x3b1)](_0xd3a725),_0x36ff98;}throw _0x1f4579[_0x312e4d(0x15e)];}catch(_0x3db609){return this[_0x312e4d(0x233)][_0x312e4d(0x15e)](_0x3db609),this[_0x312e4d(0x26c)](!0x1);}}[_0xfab6d2(0x290)](){var _0x5cb992=_0xfab6d2;throw new Error(_0x5cb992(0x305));}['onRemoteRej'](){var _0x40c607=_0xfab6d2;throw new Error(_0x40c607(0x1c5));}[_0xfab6d2(0x2e6)](){return this;}[_0xfab6d2(0x268)](){var _0x1e0c1c=_0xfab6d2;return this[_0x1e0c1c(0x3c1)](),this[_0x1e0c1c(0x1cd)][_0x1e0c1c(0x1ca)](ue,this[_0x1e0c1c(0x351)],this[_0x1e0c1c(0x1cc)],null,this['_pendingMutations'],this[_0x1e0c1c(0x253)]);}[_0xfab6d2(0x214)](){return this;}[_0xfab6d2(0x3b1)](_0x33e92a){var _0x4bb5a7=_0xfab6d2;const _0xa71adf=_0x33e92a!=null?_0x33e92a:this[_0x4bb5a7(0x20d)]();this[_0x4bb5a7(0x36b)]=new Date()[_0x4bb5a7(0x13a)]()+_0xa71adf,this[_0x4bb5a7(0x309)]=setTimeout(()=>{var _0x1d968e=_0x4bb5a7;this[_0x1d968e(0x3c1)]();let _0x4518ac=null;switch(this[_0x1d968e(0x1cc)]){case Z[_0x1d968e(0x22b)]:{_0x4518ac=Gt(this[_0x1d968e(0x183)],this[_0x1d968e(0x351)],this[_0x1d968e(0x1e7)],this[_0x1d968e(0x19f)],this[_0x1d968e(0x325)]);break;}case Z['UNIVER_DOC']:{this['_pendingMutations'][_0x1d968e(0x2b7)](_0x1449c1=>_0x1449c1['id']===_0x43073f['id'])?_0x4518ac=Gs(this['_pendingMutations'],this[_0x1d968e(0x351)],this[_0x1d968e(0x1e7)],this['_revisionService'],this[_0x1d968e(0x325)]):_0x4518ac=Gt(this[_0x1d968e(0x183)],this[_0x1d968e(0x351)],this['_univerInstanceService'],this[_0x1d968e(0x19f)],this[_0x1d968e(0x325)]);break;}default:throw new Error(_0x1d968e(0x347)+this[_0x1d968e(0x1cc)]+_0x1d968e(0x1fb));}const {changeset:_0x36f0eb,pendingMutations:_0x5553b4}=_0x4518ac;this[_0x1d968e(0x253)]['onSendChangeset'](_0x36f0eb);const _0x11a77e=_0x5553b4[_0x1d968e(0x137)]?this[_0x1d968e(0x1cd)][_0x1d968e(0x1ca)](ae,this[_0x1d968e(0x351)],this[_0x1d968e(0x1cc)],_0x36f0eb,_0x5553b4,this[_0x1d968e(0x253)],void 0x0):this[_0x1d968e(0x1cd)][_0x1d968e(0x1ca)](_e,this[_0x1d968e(0x351)],this[_0x1d968e(0x1cc)],_0x36f0eb,this[_0x1d968e(0x253)]);_0x11a77e[_0x1d968e(0x3bf)](),this[_0x1d968e(0x253)][_0x1d968e(0x421)](this,_0x11a77e);},_0xa71adf);}['_getSendChangesetTimeout'](){var _0x1d523b=_0xfab6d2,_0x944dde;const _0x2d494b=this[_0x1d523b(0x342)][_0x1d523b(0x2b1)](K);return(_0x944dde=_0x2d494b==null?void 0x0:_0x2d494b[_0x1d523b(0x17b)])!=null?_0x944dde:ps;}[_0xfab6d2(0x1b9)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xfab6d2(0x3c1)](){var _0x9707bb=_0xfab6d2;this[_0x9707bb(0x309)]!=null&&(clearTimeout(this[_0x9707bb(0x309)]),this['_sendingTimer']=null);}[_0xfab6d2(0x26c)](_0x49ace4){var _0x5c1b54=_0xfab6d2;return this['_clearScheduledTask'](),this['_injector'][_0x5c1b54(0x1ca)](le,this[_0x5c1b54(0x351)],this[_0x5c1b54(0x1cc)],null,this[_0x5c1b54(0x183)],this[_0x5c1b54(0x253)],_0x49ace4);}};re=Ee([P(0x4,_0x1ec008(_0x2d0003)),P(0x5,_0x1ec008(_0x2a050b)),P(0x6,_0x1ec008(we)),P(0x7,_0x4f52f4),P(0x8,_0x270fc1),P(0x9,_0x18e3ec),P(0xa,_0x14d8dd),P(0xb,_0x89562d),P(0xc,_0x4a8d02),P(0xd,_0x2d6737(J))],re);let _e=class extends Ie{constructor(_0x5460e9,_0x53b518,_0x5bf1d1,_0x4f7015,_0x2aa798,_0xe46782,_0x15b8b3,_0x5047ee,_0x5520a2,_0x36c7a4,_0x4aa69a){var _0x2b0685=_0xfab6d2;super(_0x5460e9,_0x53b518,_0x5bf1d1,[],_0x4f7015,_0x15b8b3,_0x36c7a4,_0xe46782,_0x4aa69a),N(this,'status',_0x2b0685(0x43f)),N(this,_0x2b0685(0x25e),0x0),N(this,_0x2b0685(0x371)),N(this,_0x2b0685(0x20f)),(this[_0x2b0685(0x1cd)]=_0x2aa798,this['_logService']=_0x5047ee,this[_0x2b0685(0x40a)]=_0x5520a2);}[_0xfab6d2(0x221)](_0x2882e9){var _0x3d0425=_0xfab6d2;this[_0x3d0425(0x3c1)]();const _0x1131ae=this[_0x3d0425(0x1cd)][_0x3d0425(0x1ca)](ae,this[_0x3d0425(0x351)],this[_0x3d0425(0x1cc)],this[_0x3d0425(0x2a4)],[_0x2882e9],this[_0x3d0425(0x253)],this[_0x3d0425(0x371)]);return _0x1131ae[_0x3d0425(0x3bf)](),_0x1131ae;}['onRemoteChangeset'](_0x4f2ded){var _0x416550=_0xfab6d2;if(this['_checkMissing'](_0x4f2ded))return this['_clearScheduledTask'](),this['_injector'][_0x416550(0x1ca)](Q,this[_0x416550(0x351)],this[_0x416550(0x1cc)],this[_0x416550(0x2a4)],[],null,[_0x4f2ded],this[_0x416550(0x253)]);try{const _0x27b5ad=this[_0x416550(0x40a)][_0x416550(0x16c)]([_0x4f2ded],[this['_awaitingChangeset']],!0x1);if(_0x464bdc(_0x27b5ad)){const {c1Prime:_0x570251,c2Prime:_0x130871}=_0x27b5ad;this[_0x416550(0x2c3)](_0x570251[0x0]),_0x130871[0x0][_0x416550(0x303)]=this[_0x416550(0x399)](),this[_0x416550(0x3c1)]();const _0x1f9556=this[_0x416550(0x1cd)][_0x416550(0x1ca)](_e,this[_0x416550(0x351)],this['type'],_0x130871[0x0],this[_0x416550(0x253)]);return _0x1f9556[_0x416550(0x3bf)](),_0x1f9556;}return this[_0x416550(0x26c)](!0x1);}catch(_0x1d89d7){return this[_0x416550(0x233)][_0x416550(0x15e)](_0x1d89d7),this[_0x416550(0x26c)](!0x1);}}['onRemoteAck'](_0x56354b){var _0x208e27=_0xfab6d2;this['_clearScheduledTask']();const _0x4baa7e=this['_revisionService'][_0x208e27(0x13f)](this[_0x208e27(0x351)]);if(_0x56354b[_0x208e27(0x1e8)]<_0x4baa7e-0x1)return this;if(this[_0x208e27(0x1d7)](_0x56354b))return this[_0x208e27(0x1cd)]['createInstance'](Q,this[_0x208e27(0x351)],this[_0x208e27(0x1cc)],null,[],this['_awaitingChangeset'],[],this[_0x208e27(0x253)]);this[_0x208e27(0x393)]();const _0x55756a=this['_injector'][_0x208e27(0x1ca)](ye,this[_0x208e27(0x351)],this[_0x208e27(0x1cc)],this[_0x208e27(0x253)]);return _0x55756a[_0x208e27(0x3bf)](),_0x55756a;}[_0xfab6d2(0x17a)](_0x7d0d60){var _0x5cf712=_0xfab6d2;return this[_0x5cf712(0x26c)](!!(_0x7d0d60!=null&&_0x7d0d60[_0x5cf712(0x3f2)]));}[_0xfab6d2(0x2e6)](_0x2f42ed){var _0x35b46b=_0xfab6d2;return this[_0x35b46b(0x25e)]>Ti?this[_0x35b46b(0x268)]():(this['_resendTimer']=Ei(this[_0x35b46b(0x25e)],{'timeout':this['_resendTimeout'],'reqId':_0x2f42ed[_0x35b46b(0x168)]}),this[_0x35b46b(0x20f)]=this[_0x35b46b(0x371)][_0x35b46b(0x164)](({reqId:_0x1ac298,timeout:_0xc7d8c9})=>{var _0x3005f1=_0x35b46b;this[_0x3005f1(0x1eb)](_0x1ac298,_0xc7d8c9);}),this);}[_0xfab6d2(0x268)](){var _0x10987f=_0xfab6d2;return this['_clearScheduledTask'](),this[_0x10987f(0x1cd)][_0x10987f(0x1ca)](ue,this[_0x10987f(0x351)],this['type'],this[_0x10987f(0x2a4)],[],this[_0x10987f(0x253)]);}[_0xfab6d2(0x214)](){return this;}['resend'](){var _0x510ee5=_0xfab6d2;this[_0x510ee5(0x253)][_0x510ee5(0x3a8)](this[_0x510ee5(0x2a4)]);}[_0xfab6d2(0x26c)](_0x100cac){var _0x536223=_0xfab6d2;return this['_clearScheduledTask'](),this[_0x536223(0x1cd)][_0x536223(0x1ca)](le,this[_0x536223(0x351)],this['type'],this[_0x536223(0x2a4)],[],this['_handler'],_0x100cac);}[_0xfab6d2(0x1eb)](_0x24b964,_0x56610d){var _0x3783a6=_0xfab6d2,_0x303892;_0x24b964===((_0x303892=this[_0x3783a6(0x2a4)])==null?void 0x0:_0x303892[_0x3783a6(0x168)])&&(this[_0x3783a6(0x1b9)](),this['_resendTimeout']=_0x56610d===0x0?0x3e8:_0x56610d*0x2);}[_0xfab6d2(0x3c1)](){var _0x64b55b=_0xfab6d2,_0x211302;(_0x211302=this[_0x64b55b(0x20f)])==null||_0x211302[_0x64b55b(0x141)](),this[_0x64b55b(0x25e)]=0x0;}};_e=Ee([P(0x4,_0x1ec008(_0x2d0003)),P(0x5,_0x1ec008(_0x2a050b)),P(0x6,_0x270fc1),P(0x7,_0x4f52f4),P(0x8,_0x14d8dd),P(0x9,_0x4a8d02),P(0xa,_0x2d6737(J))],_e);let ae=class extends Ie{constructor(_0x32b0a7,_0x488511,_0xcf7036,_0x5c649a,_0x3e066e,_0x3abc1a,_0x11320d,_0x57ef1a,_0x2dffb1,_0x58f36f,_0x560121,_0x41c054,_0x498322){var _0x393e62=_0xfab6d2;super(_0x32b0a7,_0x488511,_0xcf7036,_0x5c649a,_0x3e066e,_0x2dffb1,_0x41c054,_0x57ef1a,_0x498322),N(this,_0x393e62(0x2c2),_0x393e62(0x28d)),N(this,_0x393e62(0x25e),0x0),N(this,_0x393e62(0x371)),N(this,'_sender'),(this['_injector']=_0x11320d,this[_0x393e62(0x233)]=_0x58f36f,this[_0x393e62(0x40a)]=_0x560121,this[_0x393e62(0x283)]=_0x498322,_0x3abc1a&&(this[_0x393e62(0x371)]=_0x3abc1a,this[_0x393e62(0x20f)]=this[_0x393e62(0x371)][_0x393e62(0x164)](({reqId:_0x55acbb,timeout:_0x4cd6ed})=>{var _0x2e30ad=_0x393e62;this[_0x2e30ad(0x1eb)](_0x55acbb,_0x4cd6ed);})));}[_0xfab6d2(0x221)](_0x1a7e26){var _0x43306e=_0xfab6d2;return this[_0x43306e(0x183)][_0x43306e(0x138)](_0x1a7e26),this;}['onRemoteChangeset'](_0x3cf44c){var _0x161ff3=_0xfab6d2;if(this[_0x161ff3(0x1d7)](_0x3cf44c))return this['_clearScheduledTask'](),this[_0x161ff3(0x1cd)][_0x161ff3(0x1ca)](Q,this[_0x161ff3(0x351)],this[_0x161ff3(0x1cc)],this[_0x161ff3(0x2a4)],this[_0x161ff3(0x183)],null,[_0x3cf44c],this[_0x161ff3(0x253)]);try{const _0x46fe5a=this['_transformService'][_0x161ff3(0x16c)]([_0x3cf44c],[this[_0x161ff3(0x2a4)]],!0x1);if(_0x464bdc(_0x46fe5a)){const {c1Prime:_0x10e25e,c2Prime:_0x350061}=_0x46fe5a,_0x55d949=this[_0x161ff3(0x40a)][_0x161ff3(0x2e1)](_0x10e25e[0x0],this[_0x161ff3(0x183)]);if(_0x9e3d63(_0x55d949)){const {c1Prime:_0x11c0c1,m2Prime:_0x404c9a}=_0x55d949;return this[_0x161ff3(0x2c3)](_0x11c0c1),_0x350061[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x161ff3(0x3c1)](),this[_0x161ff3(0x1cd)][_0x161ff3(0x1ca)](ae,this['unitID'],this[_0x161ff3(0x1cc)],_0x350061[0x0],_0x404c9a,this['_handler'],void 0x0);}throw _0x55d949[_0x161ff3(0x15e)];}throw _0x46fe5a[_0x161ff3(0x15e)];}catch(_0x20d888){return this[_0x161ff3(0x233)][_0x161ff3(0x15e)](_0x20d888),this[_0x161ff3(0x26c)](!0x1);}}[_0xfab6d2(0x290)](_0x3baf9b){var _0x38e448=_0xfab6d2;if(this[_0x38e448(0x3c1)](),this[_0x38e448(0x1d7)](_0x3baf9b))return this['_injector']['createInstance'](Q,this[_0x38e448(0x351)],this[_0x38e448(0x1cc)],null,this['_pendingMutations'],this[_0x38e448(0x2a4)],[],this[_0x38e448(0x253)]);this[_0x38e448(0x393)]();const _0x6742bf=this['_injector'][_0x38e448(0x1ca)](re,this[_0x38e448(0x351)],this[_0x38e448(0x1cc)],this[_0x38e448(0x183)],this[_0x38e448(0x253)]);return _0x6742bf[_0x38e448(0x3b1)](),_0x6742bf[_0x38e448(0x3bf)](),_0x6742bf;}[_0xfab6d2(0x17a)](_0x19410c){var _0x87dd01=_0xfab6d2;return this[_0x87dd01(0x26c)](!!(_0x19410c!=null&&_0x19410c[_0x87dd01(0x3f2)]));}[_0xfab6d2(0x2e6)](_0x4798bc){var _0x1fe8e4=_0xfab6d2;return this[_0x1fe8e4(0x25e)]>Ti?this[_0x1fe8e4(0x268)]():(this[_0x1fe8e4(0x371)]=Ei(this[_0x1fe8e4(0x25e)],{'timeout':this[_0x1fe8e4(0x25e)],'reqId':_0x4798bc[_0x1fe8e4(0x168)]}),this['_sender']=this[_0x1fe8e4(0x371)][_0x1fe8e4(0x164)](({reqId:_0x15b2b1,timeout:_0xaf1e2e})=>{var _0x541071=_0x1fe8e4;this[_0x541071(0x1eb)](_0x15b2b1,_0xaf1e2e);}),this);}['toggleOffline'](){var _0x549eec=_0xfab6d2;return this[_0x549eec(0x3c1)](),this[_0x549eec(0x1cd)][_0x549eec(0x1ca)](ue,this[_0x549eec(0x351)],this[_0x549eec(0x1cc)],this[_0x549eec(0x2a4)],this[_0x549eec(0x183)],this[_0x549eec(0x253)]);}[_0xfab6d2(0x214)](){return this;}[_0xfab6d2(0x1b9)](){var _0x539bf8=_0xfab6d2;this['_handler'][_0x539bf8(0x3a8)](this['_awaitingChangeset']);}[_0xfab6d2(0x26c)](_0x119365){var _0x3b0e03=_0xfab6d2;return this[_0x3b0e03(0x3c1)](),this[_0x3b0e03(0x1cd)][_0x3b0e03(0x1ca)](le,this[_0x3b0e03(0x351)],this[_0x3b0e03(0x1cc)],null,this['_pendingMutations'],this[_0x3b0e03(0x253)],_0x119365);}[_0xfab6d2(0x1eb)](_0x1ab106,_0x380df8){var _0x450e04=_0xfab6d2,_0x3c0cbb;_0x1ab106===((_0x3c0cbb=this['_awaitingChangeset'])==null?void 0x0:_0x3c0cbb[_0x450e04(0x168)])&&(this[_0x450e04(0x1b9)](),this['_resendTimeout']=_0x380df8===0x0?0x3e8:_0x380df8*0x2);}['_clearScheduledTask'](){var _0x431aaa=_0xfab6d2,_0x12ce6b;(_0x12ce6b=this[_0x431aaa(0x20f)])==null||_0x12ce6b[_0x431aaa(0x141)](),this[_0x431aaa(0x25e)]=0x0;}};ae=Ee([P(0x6,_0x1ec008(_0x2d0003)),P(0x7,_0x1ec008(_0x2a050b)),P(0x8,_0x270fc1),P(0x9,_0x4f52f4),P(0xa,_0x14d8dd),P(0xb,_0x4a8d02),P(0xc,_0x2d6737(J))],ae);let le=class extends Ie{constructor(_0x339fc4,_0x330ee2,_0x17c3b6,_0x5aed8c,_0x1d4a88,_0x3a1c13=!0x1,_0x3b7b70,_0x15d2cf,_0x3a8979,_0x487279,_0x1ce799,_0x82f4e2,_0x2e85f9){var _0x1fdbfd=_0xfab6d2;super(_0x339fc4,_0x330ee2,_0x17c3b6,_0x5aed8c,_0x1d4a88,_0x15d2cf,_0x3a8979,_0x487279,_0x2e85f9),N(this,_0x1fdbfd(0x2c2),_0x1fdbfd(0x3a4)),(this[_0x1fdbfd(0x1db)]=_0x3a1c13,this[_0x1fdbfd(0x36c)]=_0x3b7b70,this[_0x1fdbfd(0x1a5)]=_0x1ce799,this[_0x1fdbfd(0x40f)]=_0x82f4e2,this[_0x1fdbfd(0x283)]=_0x2e85f9,this[_0x1fdbfd(0x2c0)](),this[_0x1fdbfd(0x13d)](),this[_0x1fdbfd(0x395)]());}[_0xfab6d2(0x221)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0xfab6d2(0x268)](){return this;}[_0xfab6d2(0x214)](){return this;}[_0xfab6d2(0x1b9)](){var _0x3b2d8f=_0xfab6d2;throw new Error(_0x3b2d8f(0x400));}['_clearLocalCache'](){var _0x2a6675=_0xfab6d2,_0x179dbc;(_0x179dbc=this[_0x2a6675(0x154)])==null||_0x179dbc[_0x2a6675(0x19d)](this[_0x2a6675(0x351)],this['type'],null,[]);}[_0xfab6d2(0x2c0)](){var _0x287483=_0xfab6d2;this[_0x287483(0x1db)]?this[_0x287483(0x40f)][_0x287483(0x308)]({'id':ne['PERMISSION_DENIED']}):this[_0x287483(0x40f)][_0x287483(0x308)]({'id':ne[_0x287483(0x147)]});}[_0xfab6d2(0x395)](){var _0x309c7d=_0xfab6d2;this['_permissionService'][_0x309c7d(0x1df)](new _0x3007e9(this[_0x309c7d(0x351)])['id'],!0x1);}};le=Ee([P(0x6,_0x1ec008(_0x3bbb1a)),P(0x7,_0x270fc1),P(0x8,_0x4a8d02),P(0x9,_0x1ec008(_0x2a050b)),P(0xa,_0x1ec008(_0x3c9f34)),P(0xb,_0x1ec008(ve)),P(0xc,_0x2d6737(J))],le);let ue=class extends Ie{constructor(_0x99ec1d,_0x3d598b,_0x3a6c17,_0x457992,_0x278cd9,_0x218704,_0x27ad0f,_0x283c8f,_0x2e4691,_0x6fd58e){var _0x2dbcef=_0xfab6d2;super(_0x99ec1d,_0x3d598b,_0x3a6c17,_0x457992,_0x278cd9,_0x283c8f,_0x2e4691,_0x27ad0f,_0x6fd58e),N(this,'status',_0x2dbcef(0x167)),this[_0x2dbcef(0x1cd)]=_0x218704;}[_0xfab6d2(0x221)](_0x323fe1){var _0x5c61bf=_0xfab6d2;return this[_0x5c61bf(0x183)][_0x5c61bf(0x138)](_0x323fe1),this[_0x5c61bf(0x3bf)](),this;}[_0xfab6d2(0x2dd)](_0x27e359){var _0x3ab3a4=_0xfab6d2;throw new Error(_0x3ab3a4(0x1e1));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xfab6d2(0x17a)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xfab6d2(0x2e6)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x216cbd=_0xfab6d2;const {_injector:_0x42a5a1,_pendingMutations:_0x1526c2,_awaitingChangeset:_0x1203a5,unitID:_0x4bed56,_handler:_0x769854,type:_0x5b6733}=this,_0x54f122=Ci(_0x42a5a1,_0x4bed56,_0x5b6733,_0x1203a5,_0x1526c2,_0x769854);return _0x54f122 instanceof re?_0x54f122[_0x216cbd(0x3b1)]():(_0x54f122 instanceof ae||_0x54f122 instanceof _e)&&_0x54f122[_0x216cbd(0x1b9)](),_0x54f122;}[_0xfab6d2(0x1b9)](){var _0x1b347b=_0xfab6d2;throw new Error(_0x1b347b(0x3b0));}};ue=Ee([P(0x5,_0x1ec008(_0x2d0003)),P(0x6,_0x1ec008(_0x2a050b)),P(0x7,_0x270fc1),P(0x8,_0x4a8d02),P(0x9,_0x2d6737(J))],ue);let Q=class extends Ie{constructor(_0x23ca45,_0x4e1b95,_0x10f916,_0x18a829,_0x1d33a6,_0xf2dd81,_0x2b2208,_0x48d27b,_0x11884b,_0x4c51d2,_0x164f49,_0x54e2be,_0x52d46a,_0x359453){var _0x3d3701=_0xfab6d2;super(_0x23ca45,_0x4e1b95,_0x10f916,_0x18a829,_0x2b2208,_0x164f49,_0x54e2be,_0x11884b,_0x359453),N(this,_0x3d3701(0x2c2),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x1d33a6,this[_0x3d3701(0x2c5)]=_0xf2dd81,this[_0x3d3701(0x1cd)]=_0x48d27b,this[_0x3d3701(0x233)]=_0x4c51d2,this['_transformService']=_0x52d46a,this[_0x3d3701(0x283)]=_0x359453);}[_0xfab6d2(0x19e)](_0x139f1a){var _0x4122b2=_0xfab6d2;try{const _0x40cde0=[..._0x139f1a,...this[_0x4122b2(0x2c5)]],_0x4ee418=[this[_0x4122b2(0x2a4)]||this[_0x4122b2(0x349)]][_0x4122b2(0x1f8)](_0x48de20=>!!_0x48de20);let _0x4d5596,_0x5c434b;if(_0x4ee418[_0x4122b2(0x137)]){const _0x5f3863=this[_0x4122b2(0x40a)][_0x4122b2(0x16c)](_0x40cde0,_0x4ee418,!0x1);if(!_0x464bdc(_0x5f3863))throw _0x5f3863[_0x4122b2(0x15e)];_0x4d5596=_0x5f3863[_0x4122b2(0x22e)],_0x5c434b=_0x5f3863[_0x4122b2(0x2a0)];}else _0x4d5596=_0x40cde0,_0x5c434b=[];let _0x8817e0=this['_pendingMutations'];_0x4d5596['forEach'](_0x27aa5a=>{var _0x5a3825=_0x4122b2;let _0x3e94ed;if(_0x8817e0['length']){const _0x5d0046=this[_0x5a3825(0x40a)][_0x5a3825(0x2e1)](_0x27aa5a,_0x8817e0);if(!_0x9e3d63(_0x5d0046))throw _0x5d0046[_0x5a3825(0x15e)];_0x3e94ed=_0x5d0046[_0x5a3825(0x22e)],_0x8817e0=_0x5d0046[_0x5a3825(0x2bb)];}else _0x3e94ed=_0x27aa5a;this[_0x5a3825(0x2c3)](_0x3e94ed);}),this[_0x4122b2(0x349)]&&this[_0x4122b2(0x393)](),this['_awaitingChangeset']&&_0x5c434b[_0x4122b2(0x137)]&&(_0x5c434b[0x0][_0x4122b2(0x303)]=this['_getCurrentRevision']());let _0x22b533;if(this['_awaitingChangeset']&&_0x8817e0[_0x4122b2(0x137)]!==0x0)_0x22b533=this['_injector'][_0x4122b2(0x1ca)](ae,this[_0x4122b2(0x351)],this[_0x4122b2(0x1cc)],_0x5c434b[0x0],_0x8817e0,this[_0x4122b2(0x253)],void 0x0);else{if(this[_0x4122b2(0x2a4)]&&_0x8817e0[_0x4122b2(0x137)]===0x0)_0x5c434b[0x0][_0x4122b2(0x303)]=this['_getCurrentRevision'](),_0x22b533=this[_0x4122b2(0x1cd)][_0x4122b2(0x1ca)](_e,this[_0x4122b2(0x351)],this[_0x4122b2(0x1cc)],_0x5c434b[0x0],this[_0x4122b2(0x253)]);else{if(_0x8817e0[_0x4122b2(0x137)]!==0x0){const _0xb9eb27=this[_0x4122b2(0x1cd)][_0x4122b2(0x1ca)](re,this[_0x4122b2(0x351)],this['type'],_0x8817e0,this[_0x4122b2(0x253)]);_0xb9eb27[_0x4122b2(0x3b1)](),_0x22b533=_0xb9eb27;}else _0x22b533=this[_0x4122b2(0x1cd)][_0x4122b2(0x1ca)](ye,this[_0x4122b2(0x351)],this[_0x4122b2(0x1cc)],this[_0x4122b2(0x253)]);}}return _0x22b533[_0x4122b2(0x3bf)](),_0x22b533;}catch(_0x452484){return this[_0x4122b2(0x233)]['error'](_0x4122b2(0x1aa),_0x4122b2(0x219),_0x452484),this[_0x4122b2(0x1cd)][_0x4122b2(0x1ca)](le,this['unitID'],this[_0x4122b2(0x1cc)],this['_awaitingChangeset'],this[_0x4122b2(0x183)],this[_0x4122b2(0x253)],!0x1);}}[_0xfab6d2(0x1b9)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xfab6d2(0x221)](_0x549fd3){var _0xd48ac1=_0xfab6d2;return this['_pendingMutations'][_0xd48ac1(0x138)](_0x549fd3),this;}[_0xfab6d2(0x2dd)](_0x2dc4ee){var _0x9a412c=_0xfab6d2;return this[_0x9a412c(0x2c5)]['push'](_0x2dc4ee),this;}[_0xfab6d2(0x290)](_0x585756){if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1495a9){var _0xbe10d9=_0xfab6d2;return this[_0xbe10d9(0x26c)](!!(_0x1495a9!=null&&_0x1495a9[_0xbe10d9(0x3f2)]));}[_0xfab6d2(0x2e6)](){return this;}[_0xfab6d2(0x268)](){var _0x4fd28c=_0xfab6d2;return this['_injector'][_0x4fd28c(0x1ca)](ue,this['unitID'],this[_0x4fd28c(0x1cc)],this[_0x4fd28c(0x2a4)],this[_0x4fd28c(0x183)],this['_handler']);}[_0xfab6d2(0x214)](){return this;}[_0xfab6d2(0x26c)](_0x52151e){var _0x588fd3=_0xfab6d2;return this['_injector']['createInstance'](le,this['unitID'],this[_0x588fd3(0x1cc)],this[_0x588fd3(0x2a4)],this[_0x588fd3(0x183)],this[_0x588fd3(0x253)],_0x52151e);}};Q=Ee([P(0x7,_0x1ec008(_0x2d0003)),P(0x8,_0x1ec008(_0x2a050b)),P(0x9,_0x4f52f4),P(0xa,_0x270fc1),P(0xb,_0x4a8d02),P(0xc,_0x14d8dd),P(0xd,_0x2d6737(J))],Q);function Ci(_0x4ddf4a,_0x5cfb33,_0x2b5218,_0x264fa8,_0x202947,_0x383add){var _0x55ed92=_0xfab6d2;return _0x264fa8&&_0x202947[_0x55ed92(0x137)]?_0x4ddf4a[_0x55ed92(0x1ca)](ae,_0x5cfb33,_0x2b5218,_0x264fa8,_0x202947,_0x383add,void 0x0):_0x264fa8?_0x4ddf4a[_0x55ed92(0x1ca)](_e,_0x5cfb33,_0x2b5218,_0x264fa8,_0x383add):_0x202947[_0x55ed92(0x137)]?_0x4ddf4a[_0x55ed92(0x1ca)](re,_0x5cfb33,_0x2b5218,_0x202947,_0x383add):_0x4ddf4a[_0x55ed92(0x1ca)](ye,_0x5cfb33,_0x2b5218,_0x383add);}var qs=Object[_0xfab6d2(0x32f)],wt=(_0x2a795c,_0x1e4428,_0x398c90,_0x475cbc)=>{var _0x536742=_0xfab6d2;for(var _0x452384=_0x475cbc>0x1?void 0x0:_0x475cbc?qs(_0x1e4428,_0x398c90):_0x1e4428,_0x196136=_0x2a795c[_0x536742(0x137)]-0x1,_0x25a1b3;_0x196136>=0x0;_0x196136--)(_0x25a1b3=_0x2a795c[_0x196136])&&(_0x452384=_0x25a1b3(_0x452384)||_0x452384);return _0x452384;},H=(_0x239d23,_0x3f2e8f)=>(_0x3a4b92,_0x2d508e)=>_0x3f2e8f(_0x3a4b92,_0x2d508e,_0x239d23);let st=class extends _0x3e5fb6{constructor(_0x20e772,_0x581790,_0x45c6ec,_0x4ff3cf,_0x4d4954,_0x5badf3,_0x919a27,_0x365185,_0x1d216f,_0x408639,_0x10bc76,_0x225e47,_0x37ae8e){var _0x8c816=_0xfab6d2;super(),N(this,_0x8c816(0x1a0),new _0x34c731(null)),N(this,'state$',this[_0x8c816(0x1a0)][_0x8c816(0x365)]()),N(this,'_state'),N(this,_0x8c816(0x334),!0x1),N(this,_0x8c816(0x3d1),''),N(this,_0x8c816(0x299),0x0),N(this,_0x8c816(0x1f1),this['state$']['pipe'](_0x1243db(_0x24d4eb=>_0x24d4eb?_0x24d4eb[_0x8c816(0x2c2)]:Ii['OFFLINE']),_0x1e3597(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x8c816(0x438),[]),(this[_0x8c816(0x351)]=_0x20e772,this[_0x8c816(0x295)]=_0x581790,this[_0x8c816(0x384)]=_0x45c6ec,this[_0x8c816(0x1cd)]=_0x4ff3cf,this['_compressMutationService']=_0x4d4954,this['_localeService']=_0x5badf3,this[_0x8c816(0x19f)]=_0x919a27,this[_0x8c816(0x3be)]=_0x365185,this['_logService']=_0x1d216f,this[_0x8c816(0x401)]=_0x408639,this[_0x8c816(0x36c)]=_0x10bc76,this[_0x8c816(0x212)]=_0x225e47,this[_0x8c816(0x154)]=_0x37ae8e);}get['state'](){var _0x102c59=_0xfab6d2;return this[_0x102c59(0x195)];}async[_0xfab6d2(0x3f0)](){var _0x3b64c3=_0xfab6d2;if(this[_0x3b64c3(0x32c)])throw new Error(_0x3b64c3(0x178));await this[_0x3b64c3(0x24b)]();}[_0xfab6d2(0x20c)](){var _0x135223=_0xfab6d2;return this[_0x135223(0x334)]=!0x0,_0x260e22(()=>{var _0x4de6ca=_0x135223;this[_0x4de6ca(0x334)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0xfab6d2(0x37d)](_0x318e7b){var _0x243ce2=_0xfab6d2;this[_0x243ce2(0x25a)](_0x318e7b);}[_0xfab6d2(0x204)](_0x1f4130){var _0x1302b0=_0xfab6d2;this['_state']=_0x1f4130,this[_0x1302b0(0x1a0)][_0x1302b0(0x43b)](_0x1f4130);}async['_init'](){var _0x4005ad=_0xfab6d2,_0x5b8a8d;this[_0x4005ad(0x204)](await this[_0x4005ad(0x326)]()),this['_singleActiveUnitService']&&((_0x5b8a8d=this[_0x4005ad(0x212)])==null||_0x5b8a8d[_0x4005ad(0x2aa)](this[_0x4005ad(0x351)]),this[_0x4005ad(0x245)](this[_0x4005ad(0x212)][_0x4005ad(0x1a2)](this[_0x4005ad(0x351)])[_0x4005ad(0x164)](_0x4e95ee=>{var _0x46e063=_0x4005ad;this['_logService'][_0x46e063(0x3fa)]('[CollaborationEntity]',_0x46e063(0x2b8),_0x4e95ee),_0x4e95ee===Si[_0x46e063(0x35a)]?(this[_0x46e063(0x3be)][_0x46e063(0x308)]({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x46e063(0x36c)]['updatePermissionPoint'](new _0x3007e9(this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x46e063(0x36c)][_0x46e063(0x1df)](new _0x3007e9(this[_0x46e063(0x351)])['id'],!0x0),this[_0x46e063(0x36c)]['setShowComponents'](!0x0));})));let _0xf160e8=!0x1;return this[_0x4005ad(0x245)](this[_0x4005ad(0x295)][_0x4005ad(0x1c7)][_0x4005ad(0x164)](_0x41040d=>{var _0x1546ed=_0x4005ad;_0x41040d===ge['ONLINE']?this[_0x1546ed(0x1e4)](_0xf160e8):_0x41040d===ge[_0x1546ed(0x1cb)]&&(_0xf160e8=!0x0,this[_0x1546ed(0x355)]());})),this[_0x4005ad(0x245)](this[_0x4005ad(0x295)][_0x4005ad(0x3f8)][_0x4005ad(0x164)](_0x504e9a=>{var _0x4388fe=_0x4005ad;try{switch(_0x504e9a[_0x4388fe(0x358)]){case _0xd22ea0[_0x4388fe(0x32d)]:{this[_0x4388fe(0x42d)](_0x5c2ba3(_0x504e9a[_0x4388fe(0x2fb)]));break;}case _0xd22ea0['CHANGESET_ACK']:{this[_0x4388fe(0x18e)](_0x504e9a[_0x4388fe(0x2fb)]);break;}case _0xd22ea0[_0x4388fe(0x43a)]:{this['_onRemoteRejected']();break;}case _0xd22ea0[_0x4388fe(0x1f6)]:{this[_0x4388fe(0x2af)](_0x504e9a['data']);break;}case _0xd22ea0[_0x4388fe(0x3ce)]:{this[_0x4388fe(0x428)](_0x504e9a[_0x4388fe(0x2fb)]['changesets']['map'](_0x3e268d=>_0x5c2ba3(_0x3e268d)));break;}case _0xd22ea0['PERMISSION_REJ']:{this[_0x4388fe(0x3e8)]({'isPermissionRej':!0x0});break;}case _0xd22ea0['UNISCRIPT_RUN']:break;}}catch(_0x3f9bfe){throw console[_0x4388fe(0x15e)](_0x4388fe(0x3ae),_0x3f9bfe),_0x3f9bfe;}})),this[_0x4005ad(0x195)];}[_0xfab6d2(0x230)](){var _0x13647f=_0xfab6d2;this[_0x13647f(0x1ce)]=!0x1;}[_0xfab6d2(0x387)](){var _0x37dd60=_0xfab6d2;if(this[_0x37dd60(0x1ce)])throw new Error(_0x37dd60(0x22c));this[_0x37dd60(0x1ce)]=!0x0;}['_onLocalMutation'](_0x14c57c){var _0x3d05b1=_0xfab6d2;this[_0x3d05b1(0x387)](),this['_updateState'](this[_0x3d05b1(0x195)][_0x3d05b1(0x221)](_0x14c57c)),this[_0x3d05b1(0x230)]();}['_onRemoteChangeset'](_0x4a6c5a){var _0x4b0211=_0xfab6d2;if(!(_0x4a6c5a[_0x4b0211(0x1e8)]<=this[_0x4b0211(0x19f)][_0x4b0211(0x13f)](this[_0x4b0211(0x351)]))){if(this[_0x4b0211(0x334)]){this[_0x4b0211(0x438)][_0x4b0211(0x138)](_0x4a6c5a);return;}this[_0x4b0211(0x139)](_0x4a6c5a);}}[_0xfab6d2(0x324)](){var _0x294c73=_0xfab6d2;this[_0x294c73(0x438)][_0x294c73(0x18a)](_0x26eb3d=>this[_0x294c73(0x139)](_0x26eb3d)),this['_remoteChangesetQueue']=[];}[_0xfab6d2(0x139)](_0x2e1d47){var _0x1df3e7=_0xfab6d2;const _0x5904ae=this[_0x1df3e7(0x266)][_0x1df3e7(0x41d)][_0x1df3e7(0x278)](this['_compressMutationService'][_0x1df3e7(0x41d)]['getInterceptPoints']()[_0x1df3e7(0x331)])(_0x2e1d47[_0x1df3e7(0x2f5)],null)||_0x2e1d47[_0x1df3e7(0x2f5)],_0x1bc4aa={..._0x2e1d47,'mutations':_0x5904ae};this['_lockTransition'](),this['_updateState'](this[_0x1df3e7(0x195)][_0x1df3e7(0x2dd)](_0x1bc4aa)),this['_unlockTransition']();}[_0xfab6d2(0x18e)](_0x2251db){var _0x1162ac=_0xfab6d2;this['_lockTransition'](),this['_updateState'](this[_0x1162ac(0x195)][_0x1162ac(0x290)](_0x2251db)),this[_0x1162ac(0x230)]();}[_0xfab6d2(0x3e8)](_0x5e37f3){var _0x5b8c24=_0xfab6d2;this[_0x5b8c24(0x387)](),this[_0x5b8c24(0x204)](this[_0x5b8c24(0x195)]['onRemoteRej'](_0x5e37f3)),this[_0x5b8c24(0x230)]();}['_onRemoteRetry'](_0x2fbe8f){var _0xe167b4=_0xfab6d2;this[_0xe167b4(0x387)](),this['_updateState'](this[_0xe167b4(0x195)]['onRemoteRetry'](_0x2fbe8f)),this[_0xe167b4(0x230)]();}[_0xfab6d2(0x428)](_0x299936){var _0xaee48a=_0xfab6d2;if(!(this[_0xaee48a(0x195)]instanceof Q))throw new TypeError(_0xaee48a(0x306));const _0x2a0922=_0x299936[_0xaee48a(0x217)](_0x119e21=>{var _0x86f161=_0xaee48a;const _0x453066=this['_compressMutationService'][_0x86f161(0x41d)]['fetchThroughInterceptors'](this[_0x86f161(0x266)][_0x86f161(0x41d)][_0x86f161(0x2cd)]()[_0x86f161(0x331)])(_0x119e21[_0x86f161(0x2f5)],null)||_0x119e21[_0x86f161(0x2f5)];return{..._0x119e21,'mutations':_0x453066};});this[_0xaee48a(0x387)](),this[_0xaee48a(0x204)](this[_0xaee48a(0x195)][_0xaee48a(0x19e)](_0x2a0922)),this[_0xaee48a(0x230)]();}[_0xfab6d2(0x355)](){var _0x5f3ce2=_0xfab6d2;this['_lockTransition'](),this['_updateState'](this[_0x5f3ce2(0x195)][_0x5f3ce2(0x268)]()),this['_unlockTransition']();}[_0xfab6d2(0x1e4)](_0x320cfe=!0x1){var _0x4702d3=_0xfab6d2;this[_0x4702d3(0x387)](),this[_0x4702d3(0x204)](this[_0x4702d3(0x195)][_0x4702d3(0x214)]()),this[_0x4702d3(0x230)]();const _0x4d4473=this[_0x4702d3(0x195)];_0x320cfe&&_0x4d4473 instanceof ye&&(this[_0x4702d3(0x387)](),this[_0x4702d3(0x204)](_0x4d4473[_0x4702d3(0x34a)]()),this[_0x4702d3(0x230)]());}async['_createInitialState'](){return new Promise(_0x4471b0=>{var _0x5795e8=_0xf12a;this[_0x5795e8(0x295)][_0x5795e8(0x1c7)][_0x5795e8(0x2d3)](_0x3360e4(0x1))[_0x5795e8(0x164)](async _0x4911d0=>{var _0xed06f1=_0x5795e8;_0x4471b0(await this[_0xed06f1(0x2bd)](_0x4911d0===ge[_0xed06f1(0x42f)]));});});}[_0xfab6d2(0x202)](){var _0xe55f23=_0xfab6d2;const _0x526f8e=this[_0xe55f23(0x351)];return{'onStateChange':(_0xd731c4,_0xed8d93)=>{var _0x23072d=_0xe55f23;if(_0xd731c4!==this['_state'])throw new Error(_0x23072d(0x256)+_0xd731c4[_0x23072d(0x2c2)]+_0x23072d(0x152)+_0xed8d93[_0x23072d(0x2c2)]+_0x23072d(0x213)+this['_state'][_0x23072d(0x2c2)]);this[_0x23072d(0x204)](_0xed8d93);},'onSendChangeset':_0x55842d=>{var _0x335e98=_0xe55f23;_0x55842d[_0x335e98(0x269)]||(_0x55842d[_0x335e98(0x269)]=this[_0x335e98(0x3d1)],_0x55842d[_0x335e98(0x168)]=++this['_changesetReqId']);const _0x507c7e={'eventID':_0xd22ea0[_0x335e98(0x32a)],'data':{'unitID':_0x55842d[_0x335e98(0x351)],'unitType':this[_0x335e98(0x384)],'changeset':_0x55842d,'memberID':this['session'][_0x335e98(0x1c9)]()}};this[_0x335e98(0x295)][_0x335e98(0x2e7)](_0x507c7e,this['unitID']);},'onMissingChangesets':({from:_0x1bd806,to:_0xd967be})=>{var _0x8612fc=_0xe55f23;this['_logService'][_0x8612fc(0x3fa)]('[CollaborationEntity]',_0x8612fc(0x14a)+_0x1bd806+_0x8612fc(0x1c2)+_0xd967be);const _0x4c8847={'eventID':_0xd22ea0[_0x8612fc(0x33d)],'data':{'unitID':_0x526f8e,'unitType':this[_0x8612fc(0x384)],'from':_0x1bd806,'to':_0xd967be}};this[_0x8612fc(0x295)][_0x8612fc(0x2e7)](_0x4c8847,this[_0x8612fc(0x351)]);}};}async['_createInitialStateImpl'](_0x2bd791){var _0x5aa68b=_0xfab6d2,_0x2cc682,_0x1144a5,_0x2686f0;const _0x3f9056=await((_0x2cc682=this[_0x5aa68b(0x154)])==null?void 0x0:_0x2cc682[_0x5aa68b(0x267)](this['unitID'])),_0x4c7a75=(_0x1144a5=_0x3f9056==null?void 0x0:_0x3f9056[_0x5aa68b(0x2f5)])!=null?_0x1144a5:[],_0x35b6cd=(_0x2686f0=_0x3f9056==null?void 0x0:_0x3f9056[_0x5aa68b(0x17e)])!=null?_0x2686f0:null,_0x48ab57=!!(_0x35b6cd!=null&&_0x35b6cd[_0x5aa68b(0x269)])&&!!(_0x35b6cd!=null&&_0x35b6cd[_0x5aa68b(0x168)]);this[_0x5aa68b(0x3d1)]=_0x48ab57?_0x35b6cd[_0x5aa68b(0x269)]:_0x2664bc(),this[_0x5aa68b(0x299)]=_0x48ab57?_0x35b6cd['reqId']:0x0;const _0x5d852d=this['unitID'];try{this[_0x5aa68b(0x1b7)](_0x35b6cd,_0x4c7a75);}catch(_0x470ffa){this[_0x5aa68b(0x233)]['error'](_0x470ffa);}const _0x4ada51=this[_0x5aa68b(0x202)]();if(_0x2bd791){const _0x27211b=Ci(this[_0x5aa68b(0x1cd)],_0x5d852d,this['_type'],_0x35b6cd,_0x4c7a75,_0x4ada51);return _0x27211b instanceof re?_0x27211b['_schedule']():(_0x27211b instanceof ae||_0x27211b instanceof _e)&&_0x27211b[_0x5aa68b(0x1b9)](),_0x27211b;}return this['_injector'][_0x5aa68b(0x1ca)](ue,_0x5d852d,this['_type'],_0x35b6cd,_0x4c7a75,_0x4ada51);}['_replayCachedMutations'](_0x3b0f2b,_0x234af0){var _0x30cc8a=_0xfab6d2,_0x471bdb,_0x432edc;const _0x3feda3=this[_0x30cc8a(0x266)][_0x30cc8a(0x41d)]['fetchThroughInterceptors'](this[_0x30cc8a(0x266)][_0x30cc8a(0x41d)][_0x30cc8a(0x2cd)]()['COMPRESS_MUTATION_APPLY']);(_0x471bdb=_0x3feda3((_0x3b0f2b==null?void 0x0:_0x3b0f2b[_0x30cc8a(0x2f5)])||[],null))==null||_0x471bdb['forEach'](_0x4db65d=>this[_0x30cc8a(0x401)][_0x30cc8a(0x2ed)](_0x4db65d['id'],_0x4db65d[_0x30cc8a(0x414)])),(_0x432edc=_0x3feda3(_0x234af0||[],null))==null||_0x432edc[_0x30cc8a(0x18a)](_0x47ff02=>this[_0x30cc8a(0x401)]['executeCommand'](_0x47ff02['id'],_0x47ff02[_0x30cc8a(0x414)]));}};st=wt([H(0x3,_0x1ec008(_0x2d0003)),H(0x4,_0x1ec008(_0x1ed06f)),H(0x5,_0x1ec008(_0x3c9f34)),H(0x6,_0x1ec008(_0x2a050b)),H(0x7,_0x1ec008(ve)),H(0x8,_0x4f52f4),H(0x9,_0x270fc1),H(0xa,_0x3bbb1a),H(0xb,_0x2d6737(ht)),H(0xc,_0x2d6737(J))],st);let St=class extends st{constructor(_0x11b2ea,_0x2ab701,_0x923287,_0x4cea1f,_0x48c2fa,_0x286594,_0x109e4a,_0x351eea,_0xc8379b,_0x16d1fa,_0x3f2af8,_0x2cf2c8,_0x2e7f49){var _0x3f3d4a=_0xfab6d2;super(_0x11b2ea,_0x923287,_0x2ab701,_0x4cea1f,_0x48c2fa,_0x286594,_0x109e4a,_0x351eea,_0xc8379b,_0x16d1fa,_0x3f2af8,_0x2cf2c8,_0x2e7f49),N(this,_0x3f3d4a(0x257),null),(this['unitID']=_0x11b2ea,this[_0x3f3d4a(0x1cc)]=_0x2ab701);}[_0xfab6d2(0x42e)](_0x36316e){this['_handlerCallback']=_0x36316e;}[_0xfab6d2(0x258)](){var _0x4d4bd5=_0xfab6d2;this['_handlerCallback']=null,super[_0x4d4bd5(0x258)]();}[_0xfab6d2(0x202)](){var _0x2522a9=_0xfab6d2;const _0x556d3e=super['_createHandler']();return _0x556d3e['onTransformIME']=_0x1b958c=>{var _0x30b0d1=_0xf12a,_0x20ffd7,_0x3206d8;return(_0x3206d8=(_0x20ffd7=this[_0x30b0d1(0x257)])==null?void 0x0:_0x20ffd7[_0x30b0d1(0x14b)])==null?void 0x0:_0x3206d8[_0x30b0d1(0x3e3)](_0x20ffd7,_0x1b958c);},_0x556d3e[_0x2522a9(0x396)]=_0x3bd18c=>{var _0x3b8625=_0x2522a9,_0x5e85e2,_0x2535e9;return(_0x2535e9=(_0x5e85e2=this['_handlerCallback'])==null?void 0x0:_0x5e85e2[_0x3b8625(0x396)])==null?void 0x0:_0x2535e9[_0x3b8625(0x3e3)](_0x5e85e2,_0x3bd18c);},_0x556d3e[_0x2522a9(0x367)]=_0x503f6e=>{var _0x5f3201=_0x2522a9,_0xcb6c7d,_0x151c70;return(_0x151c70=(_0xcb6c7d=this['_handlerCallback'])==null?void 0x0:_0xcb6c7d['onTransformSelections'])==null?void 0x0:_0x151c70[_0x5f3201(0x3e3)](_0xcb6c7d,_0x503f6e);},_0x556d3e[_0x2522a9(0x193)]=_0x1b042c=>{var _0x1e4265=_0x2522a9,_0x5830dc,_0x1c0659;return(_0x1c0659=(_0x5830dc=this[_0x1e4265(0x257)])==null?void 0x0:_0x5830dc[_0x1e4265(0x193)])==null?void 0x0:_0x1c0659[_0x1e4265(0x3e3)](_0x5830dc,_0x1b042c);},_0x556d3e['onTransformRemoteChangesetByIMECache']=_0x475440=>{var _0x480d63=_0x2522a9,_0x1cd902,_0x1f3bb2,_0x3765b6;if(!((_0x1cd902=this[_0x480d63(0x257)])!=null&&_0x1cd902['onTransformRemoteChangesetByIMECache']))throw new Error(_0x480d63(0x185));return(_0x3765b6=(_0x1f3bb2=this[_0x480d63(0x257)])==null?void 0x0:_0x1f3bb2[_0x480d63(0x260)])==null?void 0x0:_0x3765b6[_0x480d63(0x3e3)](_0x1f3bb2,_0x475440);},_0x556d3e[_0x2522a9(0x424)]=_0x3d539a=>{var _0x50e759=_0x2522a9,_0x2bf3c6,_0x4c4464,_0x323978;if(!((_0x2bf3c6=this[_0x50e759(0x257)])!=null&&_0x2bf3c6['onTransformRemoteChangesetByStateCache']))throw new Error(_0x50e759(0x3ab));return(_0x323978=(_0x4c4464=this[_0x50e759(0x257)])==null?void 0x0:_0x4c4464[_0x50e759(0x424)])==null?void 0x0:_0x323978['call'](_0x4c4464,_0x3d539a);},_0x556d3e;}async[_0xfab6d2(0x24b)](){var _0x4aabb9=_0xfab6d2;const _0x3a721a=await super[_0x4aabb9(0x24b)]();return this[_0x4aabb9(0x245)](this[_0x4aabb9(0x401)]['onCommandExecuted']((_0x3c4cf7,_0x1df45a)=>{var _0x459926=_0x4aabb9;if(_0x3c4cf7['type']!==_0xb50327[_0x459926(0x405)]||_0x1df45a!=null&&_0x1df45a[_0x459926(0x382)]||_0x1df45a!=null&&_0x1df45a['onlyLocal']||_0x3c4cf7['id']===_0x43073f['id'])return;const _0x5e21fc=_0x3c4cf7[_0x459926(0x414)];if((_0x5e21fc==null?void 0x0:_0x5e21fc[_0x459926(0x317)])!==this[_0x459926(0x351)])return;const _0x3e5d60=_0x3c4cf7,_0x3b0d13=this[_0x459926(0x266)][_0x459926(0x41d)][_0x459926(0x278)](this[_0x459926(0x266)][_0x459926(0x41d)][_0x459926(0x2cd)]()[_0x459926(0x3bb)])([_0x3e5d60],null)||[_0x3e5d60];this[_0x459926(0x25a)](_0x3b0d13[0x0]);})),_0x3a721a;}};St=wt([H(0x3,_0x1ec008(_0x2d0003)),H(0x4,_0x1ec008(_0x1ed06f)),H(0x5,_0x1ec008(_0x3c9f34)),H(0x6,_0x1ec008(_0x2a050b)),H(0x7,_0x1ec008(ve)),H(0x8,_0x4f52f4),H(0x9,_0x270fc1),H(0xa,_0x3bbb1a),H(0xb,_0x2d6737(ht)),H(0xc,_0x2d6737(J))],St);let Et=class extends st{constructor(_0x4ef5c2,_0x1dc406,_0x19c185,_0x35b077,_0x1fb3d3,_0x1a3d1a,_0x3fb3cd,_0x545775,_0x4f7743,_0x1a5e01,_0x83a847,_0x50faa1,_0x2be5d,_0x1fd6fa){var _0x4f209b=_0xfab6d2;super(_0x4ef5c2,_0x19c185,_0x1dc406,_0x35b077,_0x1fb3d3,_0x1a3d1a,_0x3fb3cd,_0x4f7743,_0x1a5e01,_0x83a847,_0x50faa1,_0x2be5d,_0x1fd6fa),this[_0x4f209b(0x351)]=_0x4ef5c2,this[_0x4f209b(0x1cc)]=_0x1dc406,this[_0x4f209b(0x356)]=_0x545775;}['_createHandler'](){var _0x36e5a3=_0xfab6d2;const _0x3adc6f=super[_0x36e5a3(0x202)]();return _0x3adc6f[_0x36e5a3(0x367)]=_0x30c492=>this[_0x36e5a3(0x356)][_0x36e5a3(0x2e5)](_0x30c492),_0x3adc6f;}async[_0xfab6d2(0x24b)](){var _0x3475a9=_0xfab6d2;const _0x524372=await super[_0x3475a9(0x24b)]();return this[_0x3475a9(0x245)](this[_0x3475a9(0x401)][_0x3475a9(0x143)]((_0x5753ed,_0xffb26d)=>{var _0x5c3637=_0x3475a9;if(_0x5753ed['type']!==_0xb50327[_0x5c3637(0x405)]||_0xffb26d!=null&&_0xffb26d[_0x5c3637(0x382)]||_0xffb26d!=null&&_0xffb26d['onlyLocal'])return;const _0xfa039e=_0x5753ed[_0x5c3637(0x414)];if((_0xfa039e==null?void 0x0:_0xfa039e[_0x5c3637(0x317)])!==this[_0x5c3637(0x351)])return;const _0x1a776b=_0x5753ed,_0x57e779=this[_0x5c3637(0x266)][_0x5c3637(0x41d)]['fetchThroughInterceptors'](this[_0x5c3637(0x266)][_0x5c3637(0x41d)][_0x5c3637(0x2cd)]()['COMPRESS_MUTATION_SEND'])([_0x1a776b],null)||[_0x1a776b];this[_0x5c3637(0x25a)](_0x57e779[0x0]);})),_0x524372;}};Et=wt([H(0x3,_0x1ec008(_0x2d0003)),H(0x4,_0x1ec008(_0x1ed06f)),H(0x5,_0x1ec008(_0x3c9f34)),H(0x6,_0x1ec008(_0x2a050b)),H(0x7,_0x1ec008(it)),H(0x8,_0x1ec008(ve)),H(0x9,_0x4f52f4),H(0xa,_0x270fc1),H(0xb,_0x3bbb1a),H(0xc,_0x2d6737(ht)),H(0xd,_0x2d6737(J))],Et);var zs=Object[_0xfab6d2(0x32f)],Js=(_0xe00ec,_0x2dcd4b,_0x3ff76a,_0x1e5040)=>{var _0xe848a2=_0xfab6d2;for(var _0x487c15=_0x1e5040>0x1?void 0x0:_0x1e5040?zs(_0x2dcd4b,_0x3ff76a):_0x2dcd4b,_0x26369b=_0xe00ec[_0xe848a2(0x137)]-0x1,_0x21917b;_0x26369b>=0x0;_0x26369b--)(_0x21917b=_0xe00ec[_0x26369b])&&(_0x487c15=_0x21917b(_0x487c15)||_0x487c15);return _0x487c15;},Be=(_0x46aa3f,_0x474bf1)=>(_0x2c5681,_0x19c1ec)=>_0x474bf1(_0x2c5681,_0x19c1ec,_0x46aa3f);let nt=class extends _0x3e5fb6{constructor(_0x123d6a,_0x52acc8,_0x2a630f,_0x218df7){var _0x23581d=_0xfab6d2,_0x370f41;super(),N(this,_0x23581d(0x184),new Map()),N(this,_0x23581d(0x31e),new _0x5e4ddf()),N(this,'entityInit$',this['_entityInit$']['asObservable']()),(this['_injector']=_0x123d6a,this[_0x23581d(0x148)]=_0x52acc8,this['_configService']=_0x2a630f,this[_0x23581d(0x1e7)]=_0x218df7,((_0x370f41=this['_configService'][_0x23581d(0x2b1)](K))==null?void 0x0:_0x370f41[_0x23581d(0x2b4)])!==!0x1&&this['_init']());}[_0xfab6d2(0x258)](){var _0x2439ed=_0xfab6d2;super['dispose'](),this[_0x2439ed(0x184)][_0x2439ed(0x18a)](_0x5b1127=>_0x5b1127['dispose']()),this[_0x2439ed(0x184)][_0x2439ed(0x2f4)]();}[_0xfab6d2(0x158)](_0x4f3668){var _0x355eb0=_0xfab6d2,_0x447cd6;return(_0x447cd6=this[_0x355eb0(0x184)][_0x355eb0(0x28f)](_0x4f3668))!=null?_0x447cd6:null;}[_0xfab6d2(0x2cc)](_0x20fb02){var _0x23c232=_0xfab6d2;const _0x146dc9=this['getCollabEntity'](_0x20fb02);return _0x146dc9?_0x377259(_0x146dc9):this[_0x23c232(0x31e)][_0x23c232(0x2d3)](_0x3899b5(_0x12158=>_0x12158[_0x23c232(0x351)]===_0x20fb02));}[_0xfab6d2(0x312)](_0x2c14af){var _0x48a791=_0xfab6d2;return _0x2ddbec(this['getCollabEntity$'](_0x2c14af)[_0x48a791(0x2d3)](_0x1c40aa(()=>{})));}[_0xfab6d2(0x24b)](){var _0x44d54a=_0xfab6d2;this[_0x44d54a(0x1e7)][_0x44d54a(0x364)](_0x4d5d8c[_0x44d54a(0x22b)])[_0x44d54a(0x2d3)](_0xff312c(this[_0x44d54a(0x161)]),_0x590653(0x10))['subscribe'](async _0x5ab876=>{var _0x4aa4fd=_0x44d54a;const _0xbb4d6b=_0x5ab876[_0x4aa4fd(0x375)](),_0x5e9e70=await this['_startCollaboration'](_0xbb4d6b,Z['UNIVER_SHEET']);this[_0x4aa4fd(0x184)][_0x4aa4fd(0x373)](_0xbb4d6b,_0x5e9e70);}),this['_univerInstanceService'][_0x44d54a(0x364)](_0x4d5d8c[_0x44d54a(0x1b4)])[_0x44d54a(0x2d3)](_0xff312c(this['dispose$']),_0x590653(0x10))[_0x44d54a(0x2d3)](_0x3899b5(_0x27f7de=>!_0x27f7de['getUnitId']()[_0x44d54a(0x3c9)]('__')))[_0x44d54a(0x164)](async _0x52f876=>{var _0x141b50=_0x44d54a;const _0x5e2488=_0x52f876[_0x141b50(0x375)](),_0x4ff31b=await this[_0x141b50(0x188)](_0x5e2488,Z['UNIVER_DOC']);this[_0x141b50(0x184)][_0x141b50(0x373)](_0x5e2488,_0x4ff31b);}),_0x4acd01(this[_0x44d54a(0x1e7)][_0x44d54a(0x2f7)](_0x4d5d8c['UNIVER_SHEET']),this[_0x44d54a(0x1e7)][_0x44d54a(0x2f7)](_0x4d5d8c[_0x44d54a(0x1b4)]))[_0x44d54a(0x2d3)](_0xff312c(this[_0x44d54a(0x161)]))[_0x44d54a(0x164)](_0x3cc086=>{var _0x146c4b=_0x44d54a;const _0x56ad73=_0x3cc086[_0x146c4b(0x375)](),_0x4938b3=this['_entities'][_0x146c4b(0x28f)](_0x56ad73);_0x4938b3&&(_0x4938b3['dispose'](),this[_0x146c4b(0x184)]['delete'](_0x56ad73));});}async[_0xfab6d2(0x188)](_0x4b4b92,_0x53c295){var _0x364270=_0xfab6d2;const _0x338c83=await this['_collabSessionService']['requireSession'](_0x4b4b92),_0x15438d=this[_0x364270(0x1cd)][_0x364270(0x1ca)](this[_0x364270(0x2ae)](_0x53c295),_0x4b4b92,_0x53c295,_0x338c83);return await _0x15438d['init'](),this[_0x364270(0x31e)][_0x364270(0x43b)](_0x15438d),_0x15438d;}['_getCtorByUniverType'](_0x5e67b7){var _0x46867c=_0xfab6d2;switch(_0x5e67b7){case Z[_0x46867c(0x1b4)]:return St;case Z[_0x46867c(0x22b)]:return Et;default:throw new Error(_0x46867c(0x1fa)+_0x5e67b7);}}};nt=Js([Be(0x0,_0x1ec008(_0x2d0003)),Be(0x1,_0x1ec008(Pe)),Be(0x2,_0x18e3ec),Be(0x3,_0x89562d)],nt);var Xs=Object[_0xfab6d2(0x32f)],Zs=(_0x4b6b68,_0x9a3db8,_0x420399,_0x32896a)=>{var _0x4bd543=_0xfab6d2;for(var _0x5dc106=_0x32896a>0x1?void 0x0:_0x32896a?Xs(_0x9a3db8,_0x420399):_0x9a3db8,_0x18279e=_0x4b6b68[_0x4bd543(0x137)]-0x1,_0x53abeb;_0x18279e>=0x0;_0x18279e--)(_0x53abeb=_0x4b6b68[_0x18279e])&&(_0x5dc106=_0x53abeb(_0x5dc106)||_0x5dc106);return _0x5dc106;},Yt=(_0x59750d,_0x581390)=>(_0x44476c,_0x575b0e)=>_0x581390(_0x44476c,_0x575b0e,_0x59750d);const Qs=_0xfab6d2(0x1b5),en='Univer';let It=class extends _0x7310ef{constructor(_0x86e970,_0x2e7d49){var _0x1f76d9=_0xfab6d2;super(),this[_0x1f76d9(0x1e7)]=_0x86e970,this['_configService']=_0x2e7d49,this[_0x1f76d9(0x24b)]();}[_0xfab6d2(0x24b)](){var _0x16c50f=_0xfab6d2;this[_0x16c50f(0x245)](this[_0x16c50f(0x1e7)][_0x16c50f(0x1c4)][_0x16c50f(0x164)](()=>{var _0x5d48c5=_0x16c50f,_0x1999d8;const _0x424feb=this['_univerInstanceService'][_0x5d48c5(0x313)]();let _0x50f6d2=(_0x1999d8=this[_0x5d48c5(0x342)]['getConfig'](Qs))!=null?_0x1999d8:en;_0x424feb instanceof _0x5b3e14&&(_0x50f6d2=_0x424feb[_0x5d48c5(0x3b9)]),document[_0x5d48c5(0x1c3)]=_0x50f6d2;}));}};It=Zs([Yt(0x0,_0x89562d),Yt(0x1,_0x18e3ec)],It);var tn=Object[_0xfab6d2(0x32f)],sn=(_0x14f0f7,_0x490bb6,_0x5d3122,_0x43e326)=>{var _0x489c84=_0xfab6d2;for(var _0x3a1d6e=_0x43e326>0x1?void 0x0:_0x43e326?tn(_0x490bb6,_0x5d3122):_0x490bb6,_0x16e739=_0x14f0f7[_0x489c84(0x137)]-0x1,_0x428afe;_0x16e739>=0x0;_0x16e739--)(_0x428afe=_0x14f0f7[_0x16e739])&&(_0x3a1d6e=_0x428afe(_0x3a1d6e)||_0x3a1d6e);return _0x3a1d6e;},dt=(_0x1d109c,_0x4d672f)=>(_0x1427e8,_0x31e662)=>_0x4d672f(_0x1427e8,_0x31e662,_0x1d109c);let rt=class{constructor(_0x4e8984,_0x4ec594,_0xb34b94){var _0x494475=_0xfab6d2;this['_configService']=_0x4e8984,this[_0x494475(0x13c)]=_0x4ec594,this['localeService']=_0xb34b94,this[_0x494475(0x3f0)]();}['init'](){var _0x2cf29a=_0xfab6d2;this[_0x2cf29a(0x13c)][_0x2cf29a(0x34b)]({'priority':0x1,'interceptor':(_0x453c3a,_0x5f24ed)=>_0x5f24ed(_0x453c3a)['pipe'](_0x593806(async _0x5dcd63=>{var _0x4bcb21=_0x2cf29a;const _0x1c1992=_0x5dcd63;if(_0x1c1992[_0x4bcb21(0x2c2)]===0x191){if(typeof window>'u')throw new Error(_0x4bcb21(0x1a7));if(window[_0x4bcb21(0x1b0)](this[_0x4bcb21(0x29e)]['t'](_0x4bcb21(0x40c)))){const _0x22ffa8=window[_0x4bcb21(0x39b)](window['location'][_0x4bcb21(0x346)]);window[_0x4bcb21(0x390)][_0x4bcb21(0x346)]=this['_getLoginPath']()+_0x4bcb21(0x39e)+_0x22ffa8;}}return _0x1c1992;}))});}[_0xfab6d2(0x179)](){var _0x4ca239=_0xfab6d2,_0xef0739;const _0xd5ab00=this[_0x4ca239(0x342)][_0x4ca239(0x2b1)](K);return(_0xef0739=_0xd5ab00==null?void 0x0:_0xd5ab00[_0x4ca239(0x26e)])!=null?_0xef0739:Rs;}};rt=sn([dt(0x0,_0x18e3ec),dt(0x1,_0x1ec008(_0x88960)),dt(0x2,_0x1ec008(_0x3c9f34))],rt);var nn=Object[_0xfab6d2(0x32f)],rn=(_0x17ce95,_0x17ef26,_0x6136c8,_0x80a9bf)=>{var _0x4d5f46=_0xfab6d2;for(var _0x1c8a80=_0x80a9bf>0x1?void 0x0:_0x80a9bf?nn(_0x17ef26,_0x6136c8):_0x17ef26,_0x202506=_0x17ce95[_0x4d5f46(0x137)]-0x1,_0x28d00e;_0x202506>=0x0;_0x202506--)(_0x28d00e=_0x17ce95[_0x202506])&&(_0x1c8a80=_0x28d00e(_0x1c8a80)||_0x1c8a80);return _0x1c8a80;},Kt=(_0x55c1a3,_0x5a8314)=>(_0x2be7ee,_0x4b11fb)=>_0x5a8314(_0x2be7ee,_0x4b11fb,_0x55c1a3);const an=_0xfab6d2(0x27a);let Tt=class extends _0x7310ef{constructor(_0x500f3b,_0x14094e){var _0x8a183d=_0xfab6d2;super(),this['_HTTPService']=_0x500f3b,this[_0x8a183d(0x342)]=_0x14094e,this[_0x8a183d(0x144)]();}['_initMergeInterceptor'](){var _0x32cd3c=_0xfab6d2;const _0x122eed=this;this['disposeWithMe'](this[_0x32cd3c(0x2eb)][_0x32cd3c(0x34b)]({'priority':0x3e7,'interceptor':_0x3c1c9d({'isMatch'(_0x381e03){var _0x106293=_0x32cd3c,_0x56b3d6;if(_0x381e03[_0x106293(0x29b)]===_0x106293(0x3c4)&&((_0x56b3d6=_0x381e03['requestParams'])!=null&&_0x56b3d6[_0x106293(0x2bf)])){const {objectID:_0xa5789,objectType:_0x39d002}=_0x381e03[_0x106293(0x2c9)][_0x106293(0x2bf)]||{};if(!_0xa5789||_0x39d002===void 0x0)return!0x1;const _0x363444=_0x122eed[_0x106293(0x275)]()+'/'+_0x39d002+_0x106293(0x28b)+_0xa5789+_0x106293(0x37e);if(_0x381e03[_0x106293(0x434)]===_0x363444)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d118c){var _0x1fb5b4=_0x32cd3c,_0x5bff58;return(_0x5bff58=_0x5d118c['requestParams'])==null?void 0x0:_0x5bff58[_0x1fb5b4(0x2bf)];},'mergeParamsToRequest'(_0x160791,_0x3861f5){var _0x230c2a=_0x32cd3c;const _0x184e8d=_0x122eed[_0x230c2a(0x275)]()+_0x230c2a(0x420),_0x2246dd=_0x160791[_0x230c2a(0x369)]((_0x2050d9,_0x786baa)=>{var _0x28bb6a=_0x230c2a;const {unitID:_0x2f7586,objectID:_0x5ae32b,objectType:_0x43877c,actions:_0x556268}=_0x786baa;return _0x2050d9[_0x2f7586]||(_0x2050d9[_0x2f7586]={}),_0x2050d9[_0x2f7586][_0x5ae32b]||(_0x2050d9[_0x2f7586][_0x5ae32b]={'objectID':_0x5ae32b,'objectType':_0x43877c,'actions':[]}),_0x2050d9[_0x2f7586][_0x5ae32b][_0x28bb6a(0x205)][_0x28bb6a(0x138)](..._0x556268),_0x2050d9;},{}),_0x49b9b7=[];for(const _0x4faad8 in _0x2246dd)for(const _0x25f4b1 in _0x2246dd[_0x4faad8]){const {actions:_0x3e44d8,objectType:_0x2a06e0}=_0x2246dd[_0x4faad8][_0x25f4b1],_0x2b2854=[...new Set(_0x3e44d8)];_0x49b9b7[_0x230c2a(0x138)]({'unitID':_0x4faad8,'objectID':_0x25f4b1,'objectType':_0x2a06e0,'actions':_0x2b2854});}return new _0x573a57(_0x230c2a(0x3c4),_0x184e8d,{'headers':_0x3861f5[_0x230c2a(0x42a)],'withCredentials':_0x3861f5[_0x230c2a(0x175)],'responseType':_0x3861f5[_0x230c2a(0x343)],'body':{'requests':_0x49b9b7}});}},{'distributeResult'(_0x466bf8,_0x549b0c){const {objectActions:_0x3313ec}=_0x466bf8;return _0x549b0c['map'](_0x4479a5=>{var _0x28b388=_0xf12a;const {unitID:_0x595ff9,objectID:_0x1ab05e,actions:_0x5df3d5}=_0x4479a5,_0x11fcf9=_0x3313ec['find'](_0x478ce2=>_0x478ce2['unitID']===_0x595ff9&&_0x478ce2['objectID']===_0x1ab05e),_0x570289=_0x5df3d5[_0x28b388(0x217)](_0x418e84=>_0x11fcf9==null?void 0x0:_0x11fcf9[_0x28b388(0x205)][_0x28b388(0x156)](_0x123a67=>_0x123a67['action']===_0x418e84))[_0x28b388(0x1f8)](_0x48ac64=>!!_0x48ac64);return{'config':_0x4479a5,'result':{'actions':_0x570289,'error':_0x466bf8[_0x28b388(0x15e)]}};});}})}));}['_getAPIPrefixPath'](){var _0x3ea786=_0xfab6d2,_0x394d28;const _0x5db978=this['_configService'][_0x3ea786(0x2b1)](K);return(_0x394d28=_0x5db978==null?void 0x0:_0x5db978[_0x3ea786(0x249)])!=null?_0x394d28:an;}async[_0xfab6d2(0x3fc)](_0x47195a){var _0x59069e=_0xfab6d2;const _0x20b3d0=this['_getAPIPrefixPath']()+'/'+_0x47195a['objectType']+_0x59069e(0x31a);return(await this[_0x59069e(0x2eb)][_0x59069e(0x1d1)](_0x20b3d0,{'body':_0x47195a}))[_0x59069e(0x2bf)][_0x59069e(0x227)]||'';}async[_0xfab6d2(0x289)](_0x4ca0ed){var _0x3a0206=_0xfab6d2;const _0x189b17=this[_0x3a0206(0x275)]()+_0x3a0206(0x33f);return(await this[_0x3a0206(0x2eb)][_0x3a0206(0x1d1)](_0x189b17,{'body':_0x4ca0ed}))[_0x3a0206(0x2bf)][_0x3a0206(0x247)];}async[_0xfab6d2(0x1cf)](_0x4076bd){var _0x270c40=_0xfab6d2,_0x53499d,_0x5ce7a7;const _0x1b0c97=this[_0x270c40(0x275)]()+'/'+_0x4076bd[_0x270c40(0x429)]+_0x270c40(0x28b)+_0x4076bd[_0x270c40(0x227)],_0x559a27=await this[_0x270c40(0x2eb)][_0x270c40(0x1e6)](_0x1b0c97,{'body':_0x4076bd});if(((_0x5ce7a7=(_0x53499d=_0x559a27==null?void 0x0:_0x559a27['body'])==null?void 0x0:_0x53499d[_0x270c40(0x15e)])==null?void 0x0:_0x5ce7a7['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0xfab6d2(0x403)](_0x3249da){var _0x481824=_0xfab6d2;const _0x4ea2d2=this[_0x481824(0x275)]()+'/'+_0x3249da[_0x481824(0x429)]+_0x481824(0x28b)+_0x3249da[_0x481824(0x227)]+'/allowed';return(await this[_0x481824(0x2eb)]['post'](_0x4ea2d2,{'body':_0x3249da}))[_0x481824(0x2bf)][_0x481824(0x205)];}async[_0xfab6d2(0x32e)](_0x2fe4ee){var _0xb19ec5=_0xfab6d2;const _0x58f8a2=this[_0xb19ec5(0x275)]()+_0xb19ec5(0x420);return(await this['_HTTPService']['post'](_0x58f8a2,{'body':{'requests':_0x2fe4ee}}))['body'][_0xb19ec5(0x2e2)];}async[_0xfab6d2(0x292)](_0x5dc3b0){var _0x7aa20d=_0xfab6d2;const _0x5cae8e=this['_getAPIPrefixPath']()+'/'+_0x5dc3b0['objectType']+_0x7aa20d(0x2ac),_0x4ebd9f=await this['_HTTPService'][_0x7aa20d(0x1d1)](_0x5cae8e,{'body':_0x5dc3b0});return{'roles':_0x4ebd9f[_0x7aa20d(0x2bf)][_0x7aa20d(0x42c)],'actions':_0x4ebd9f['body']['actions']};}async[_0xfab6d2(0x250)](_0x11bb99){var _0x3517f3=_0xfab6d2;const _0x50496f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3517f3(0x2eb)]['delete'](_0x50496f,{'params':{'collaboratorID':_0x11bb99['collaboratorID'],'objectID':_0x11bb99[_0x3517f3(0x227)],'unitID':_0x11bb99[_0x3517f3(0x351)]}});}async['updateCollaborator'](_0xc9a678){var _0x39a116=_0xfab6d2;const _0x293130=this[_0x39a116(0x275)]()+_0x39a116(0x386);await this['_HTTPService'][_0x39a116(0x200)](_0x293130,{'body':_0xc9a678});}async[_0xfab6d2(0x153)](_0x46caaf){var _0x5ca6e5=_0xfab6d2;const _0x298c62=this[_0x5ca6e5(0x275)]()+_0x5ca6e5(0x386);await this[_0x5ca6e5(0x2eb)]['post'](_0x298c62,{'body':_0x46caaf});}async['listCollaborators'](_0x38be42){var _0x5f48f4=_0xfab6d2;const _0x5de617=this[_0x5f48f4(0x275)]()+_0x5f48f4(0x386);return(await this[_0x5f48f4(0x2eb)]['get'](_0x5de617,{'params':{'objectID':_0x38be42[_0x5f48f4(0x227)],'unitID':_0x38be42[_0x5f48f4(0x351)]}}))[_0x5f48f4(0x2bf)][_0x5f48f4(0x3a3)];}async[_0xfab6d2(0x318)](_0x3305ac){var _0x1118ec=_0xfab6d2;const _0x83a1b6=this['_getAPIPrefixPath']()+_0x1118ec(0x386);await this[_0x1118ec(0x2eb)]['put'](_0x83a1b6,{'body':_0x3305ac});}};Tt=rn([Kt(0x0,_0x1ec008(_0x88960)),Kt(0x1,_0x1ec008(_0x18e3ec))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x428c06){var _0x1ac387=_0xfab6d2;return _0x428c06&&_0x428c06[_0x1ac387(0x2b6)]&&Object[_0x1ac387(0x215)][_0x1ac387(0x2ef)][_0x1ac387(0x3e3)](_0x428c06,_0x1ac387(0x419))?_0x428c06[_0x1ac387(0x419)]:_0x428c06;}var Ve={'exports':{}};function on(_0x2d7191){var _0x372fbf=_0xfab6d2;throw new Error(_0x372fbf(0x19c)+_0x2d7191+_0x372fbf(0x410));}var We={'exports':{}},cn=We[_0xfab6d2(0x2d1)],qt;function te(){var _0x22b169=_0xfab6d2;return qt||(qt=0x1,function(_0x33d940,_0x2316d4){(function(_0x2112e2,_0x3f6c64){_0x33d940['exports']=_0x3f6c64();}(cn,function(){var _0x1fdda2=_0x1fdda2||function(_0x267245,_0x5c4280){var _0x1ae70f=_0xf12a,_0x3407d5;if(typeof window<'u'&&window[_0x1ae70f(0x1c8)]&&(_0x3407d5=window[_0x1ae70f(0x1c8)]),typeof self<'u'&&self['crypto']&&(_0x3407d5=self[_0x1ae70f(0x1c8)]),typeof globalThis<'u'&&globalThis[_0x1ae70f(0x1c8)]&&(_0x3407d5=globalThis['crypto']),!_0x3407d5&&typeof window<'u'&&window[_0x1ae70f(0x2e8)]&&(_0x3407d5=window['msCrypto']),!_0x3407d5&&typeof ft<'u'&&ft[_0x1ae70f(0x1c8)]&&(_0x3407d5=ft[_0x1ae70f(0x1c8)]),!_0x3407d5&&typeof on==_0x1ae70f(0x30e))try{_0x3407d5=require('crypto');}catch{}var _0x19592e=function(){var _0x44ca8d=_0x1ae70f;if(_0x3407d5){if(typeof _0x3407d5[_0x44ca8d(0x27f)]==_0x44ca8d(0x30e))try{return _0x3407d5[_0x44ca8d(0x27f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3407d5['randomBytes']==_0x44ca8d(0x30e))try{return _0x3407d5['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x44ca8d(0x1ae));},_0x3e087a=Object['create']||(function(){function _0x19e380(){}return function(_0x5f22d4){var _0xea9c=_0xf12a,_0x254310;return _0x19e380['prototype']=_0x5f22d4,_0x254310=new _0x19e380(),_0x19e380[_0xea9c(0x215)]=null,_0x254310;};}()),_0xab7bf3={},_0x514408=_0xab7bf3[_0x1ae70f(0x348)]={},_0x23f5a9=_0x514408['Base']=(function(){return{'extend':function(_0x5a9122){var _0x6f60fd=_0xf12a,_0x1c70d5=_0x3e087a(this);return _0x5a9122&&_0x1c70d5[_0x6f60fd(0x157)](_0x5a9122),(!_0x1c70d5['hasOwnProperty']('init')||this[_0x6f60fd(0x3f0)]===_0x1c70d5[_0x6f60fd(0x3f0)])&&(_0x1c70d5['init']=function(){var _0x5b0c06=_0x6f60fd;_0x1c70d5[_0x5b0c06(0x25d)]['init'][_0x5b0c06(0x3c8)](this,arguments);}),_0x1c70d5[_0x6f60fd(0x3f0)]['prototype']=_0x1c70d5,_0x1c70d5[_0x6f60fd(0x25d)]=this,_0x1c70d5;},'create':function(){var _0x468a0d=_0xf12a,_0xc73a3e=this['extend']();return _0xc73a3e[_0x468a0d(0x3f0)]['apply'](_0xc73a3e,arguments),_0xc73a3e;},'init':function(){},'mixIn':function(_0x1947fc){var _0x3b7325=_0xf12a;for(var _0x327da1 in _0x1947fc)_0x1947fc[_0x3b7325(0x2ef)](_0x327da1)&&(this[_0x327da1]=_0x1947fc[_0x327da1]);_0x1947fc[_0x3b7325(0x2ef)](_0x3b7325(0x361))&&(this[_0x3b7325(0x361)]=_0x1947fc[_0x3b7325(0x361)]);},'clone':function(){var _0x77925a=_0xf12a;return this[_0x77925a(0x3f0)]['prototype']['extend'](this);}};}()),_0x5630c2=_0x514408[_0x1ae70f(0x33c)]=_0x23f5a9[_0x1ae70f(0x2be)]({'init':function(_0xfff40f,_0x3bebbe){var _0x17fbc1=_0x1ae70f;_0xfff40f=this[_0x17fbc1(0x1bd)]=_0xfff40f||[],_0x3bebbe!=_0x5c4280?this[_0x17fbc1(0x338)]=_0x3bebbe:this[_0x17fbc1(0x338)]=_0xfff40f[_0x17fbc1(0x137)]*0x4;},'toString':function(_0x38a89b){var _0x257f0d=_0x1ae70f;return(_0x38a89b||_0x579a59)[_0x257f0d(0x1a6)](this);},'concat':function(_0x27b22c){var _0x219087=_0x1ae70f,_0x818d5c=this[_0x219087(0x1bd)],_0x903c6c=_0x27b22c[_0x219087(0x1bd)],_0x565ef6=this['sigBytes'],_0x1d6a45=_0x27b22c[_0x219087(0x338)];if(this['clamp'](),_0x565ef6%0x4)for(var _0x35c02b=0x0;_0x35c02b<_0x1d6a45;_0x35c02b++){var _0x1d893f=_0x903c6c[_0x35c02b>>>0x2]>>>0x18-_0x35c02b%0x4*0x8&0xff;_0x818d5c[_0x565ef6+_0x35c02b>>>0x2]|=_0x1d893f<<0x18-(_0x565ef6+_0x35c02b)%0x4*0x8;}else{for(var _0x3944ab=0x0;_0x3944ab<_0x1d6a45;_0x3944ab+=0x4)_0x818d5c[_0x565ef6+_0x3944ab>>>0x2]=_0x903c6c[_0x3944ab>>>0x2];}return this[_0x219087(0x338)]+=_0x1d6a45,this;},'clamp':function(){var _0x1d66af=_0x1ae70f,_0x2f7613=this[_0x1d66af(0x1bd)],_0x4225d8=this[_0x1d66af(0x338)];_0x2f7613[_0x4225d8>>>0x2]&=0xffffffff<<0x20-_0x4225d8%0x4*0x8,_0x2f7613[_0x1d66af(0x137)]=_0x267245[_0x1d66af(0x2d8)](_0x4225d8/0x4);},'clone':function(){var _0x521cd8=_0x1ae70f,_0x10ab4b=_0x23f5a9[_0x521cd8(0x2e9)]['call'](this);return _0x10ab4b[_0x521cd8(0x1bd)]=this[_0x521cd8(0x1bd)][_0x521cd8(0x2a6)](0x0),_0x10ab4b;},'random':function(_0x346b99){var _0x12f61b=_0x1ae70f;for(var _0x7f386b=[],_0x386737=0x0;_0x386737<_0x346b99;_0x386737+=0x4)_0x7f386b[_0x12f61b(0x138)](_0x19592e());return new _0x5630c2['init'](_0x7f386b,_0x346b99);}}),_0x49797a=_0xab7bf3[_0x1ae70f(0x2b5)]={},_0x579a59=_0x49797a[_0x1ae70f(0x3b3)]={'stringify':function(_0xb226a0){var _0xf33ed8=_0x1ae70f;for(var _0x214985=_0xb226a0['words'],_0x33a355=_0xb226a0['sigBytes'],_0x57c941=[],_0x2c8449=0x0;_0x2c8449<_0x33a355;_0x2c8449++){var _0x1161a2=_0x214985[_0x2c8449>>>0x2]>>>0x18-_0x2c8449%0x4*0x8&0xff;_0x57c941[_0xf33ed8(0x138)]((_0x1161a2>>>0x4)[_0xf33ed8(0x361)](0x10)),_0x57c941[_0xf33ed8(0x138)]((_0x1161a2&0xf)[_0xf33ed8(0x361)](0x10));}return _0x57c941[_0xf33ed8(0x13b)]('');},'parse':function(_0x47462e){var _0x4ce9a4=_0x1ae70f;for(var _0x16808b=_0x47462e[_0x4ce9a4(0x137)],_0x4d2127=[],_0x3b5390=0x0;_0x3b5390<_0x16808b;_0x3b5390+=0x2)_0x4d2127[_0x3b5390>>>0x3]|=parseInt(_0x47462e['substr'](_0x3b5390,0x2),0x10)<<0x18-_0x3b5390%0x8*0x4;return new _0x5630c2[(_0x4ce9a4(0x3f0))](_0x4d2127,_0x16808b/0x2);}},_0x3f07ba=_0x49797a[_0x1ae70f(0x25b)]={'stringify':function(_0x3c137f){var _0x49a1d3=_0x1ae70f;for(var _0x50d58b=_0x3c137f[_0x49a1d3(0x1bd)],_0x4ce30f=_0x3c137f[_0x49a1d3(0x338)],_0xdd46f1=[],_0x3064d0=0x0;_0x3064d0<_0x4ce30f;_0x3064d0++){var _0x1fb595=_0x50d58b[_0x3064d0>>>0x2]>>>0x18-_0x3064d0%0x4*0x8&0xff;_0xdd46f1[_0x49a1d3(0x138)](String[_0x49a1d3(0x413)](_0x1fb595));}return _0xdd46f1[_0x49a1d3(0x13b)]('');},'parse':function(_0x13eb4b){var _0x5ee218=_0x1ae70f;for(var _0x4eb6de=_0x13eb4b['length'],_0x1638fb=[],_0x5f0641=0x0;_0x5f0641<_0x4eb6de;_0x5f0641++)_0x1638fb[_0x5f0641>>>0x2]|=(_0x13eb4b[_0x5ee218(0x447)](_0x5f0641)&0xff)<<0x18-_0x5f0641%0x4*0x8;return new _0x5630c2[(_0x5ee218(0x3f0))](_0x1638fb,_0x4eb6de);}},_0x5e429e=_0x49797a[_0x1ae70f(0x248)]={'stringify':function(_0x51aafc){var _0xb6ebfb=_0x1ae70f;try{return decodeURIComponent(escape(_0x3f07ba[_0xb6ebfb(0x1a6)](_0x51aafc)));}catch{throw new Error(_0xb6ebfb(0x149));}},'parse':function(_0x1567e5){return _0x3f07ba['parse'](unescape(encodeURIComponent(_0x1567e5)));}},_0x4c03ec=_0x514408[_0x1ae70f(0x2fd)]=_0x23f5a9[_0x1ae70f(0x2be)]({'reset':function(){var _0x69ab93=_0x1ae70f;this[_0x69ab93(0x198)]=new _0x5630c2[(_0x69ab93(0x3f0))](),this[_0x69ab93(0x28a)]=0x0;},'_append':function(_0x42f075){var _0x2d7c7d=_0x1ae70f;typeof _0x42f075==_0x2d7c7d(0x201)&&(_0x42f075=_0x5e429e[_0x2d7c7d(0x293)](_0x42f075)),this['_data']['concat'](_0x42f075),this[_0x2d7c7d(0x28a)]+=_0x42f075[_0x2d7c7d(0x338)];},'_process':function(_0x19f1ed){var _0x3583de=_0x1ae70f,_0x213b6c,_0x4fd4c4=this[_0x3583de(0x198)],_0x406a03=_0x4fd4c4[_0x3583de(0x1bd)],_0x3f7154=_0x4fd4c4[_0x3583de(0x338)],_0x5cd7a5=this[_0x3583de(0x24e)],_0x5d568d=_0x5cd7a5*0x4,_0x1441bf=_0x3f7154/_0x5d568d;_0x19f1ed?_0x1441bf=_0x267245[_0x3583de(0x2d8)](_0x1441bf):_0x1441bf=_0x267245[_0x3583de(0x2d4)]((_0x1441bf|0x0)-this[_0x3583de(0x3c7)],0x0);var _0x49dd61=_0x1441bf*_0x5cd7a5,_0x565d93=_0x267245[_0x3583de(0x174)](_0x49dd61*0x4,_0x3f7154);if(_0x49dd61){for(var _0x217299=0x0;_0x217299<_0x49dd61;_0x217299+=_0x5cd7a5)this[_0x3583de(0x240)](_0x406a03,_0x217299);_0x213b6c=_0x406a03[_0x3583de(0x21d)](0x0,_0x49dd61),_0x4fd4c4[_0x3583de(0x338)]-=_0x565d93;}return new _0x5630c2[(_0x3583de(0x3f0))](_0x213b6c,_0x565d93);},'clone':function(){var _0x2a4ce1=_0x1ae70f,_0x1a2327=_0x23f5a9[_0x2a4ce1(0x2e9)][_0x2a4ce1(0x3e3)](this);return _0x1a2327['_data']=this[_0x2a4ce1(0x198)][_0x2a4ce1(0x2e9)](),_0x1a2327;},'_minBufferSize':0x0});_0x514408[_0x1ae70f(0x2df)]=_0x4c03ec[_0x1ae70f(0x2be)]({'cfg':_0x23f5a9[_0x1ae70f(0x2be)](),'init':function(_0xd4e797){var _0x3a0425=_0x1ae70f;this[_0x3a0425(0x173)]=this[_0x3a0425(0x173)][_0x3a0425(0x2be)](_0xd4e797),this['reset']();},'reset':function(){var _0x40c474=_0x1ae70f;_0x4c03ec[_0x40c474(0x30b)][_0x40c474(0x3e3)](this),this['_doReset']();},'update':function(_0x338291){var _0x57a34e=_0x1ae70f;return this[_0x57a34e(0x35e)](_0x338291),this[_0x57a34e(0x287)](),this;},'finalize':function(_0x5ebdc5){var _0xbfd3e5=_0x1ae70f;_0x5ebdc5&&this['_append'](_0x5ebdc5);var _0x3c8bda=this[_0xbfd3e5(0x3d7)]();return _0x3c8bda;},'blockSize':0x10,'_createHelper':function(_0x1f9051){return function(_0x3bbb36,_0x52144d){var _0x3490aa=_0xf12a;return new _0x1f9051['init'](_0x52144d)[_0x3490aa(0x2b3)](_0x3bbb36);};},'_createHmacHelper':function(_0x3ef999){return function(_0x1d6a39,_0x442728){var _0x5141e5=_0xf12a;return new _0x3c05a0[(_0x5141e5(0x272))][(_0x5141e5(0x3f0))](_0x3ef999,_0x442728)[_0x5141e5(0x2b3)](_0x1d6a39);};}});var _0x3c05a0=_0xab7bf3['algo']={};return _0xab7bf3;}(Math);return _0x1fdda2;}));}(We)),We[_0x22b169(0x2d1)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0x327766=_0xfab6d2;return zt||(zt=0x1,function(_0x2bd590,_0x23c082){(function(_0x3d22ba,_0x29dc49){var _0x2fa8e2=_0xf12a;_0x2bd590[_0x2fa8e2(0x2d1)]=_0x29dc49(te());}(hn,function(_0x244f1d){var _0x35f06c=_0xf12a;return(function(){var _0x4c2dd7=_0xf12a,_0x41eced=_0x244f1d,_0x3e7a43=_0x41eced[_0x4c2dd7(0x348)],_0x1a2188=_0x3e7a43[_0x4c2dd7(0x33c)],_0x4ee555=_0x41eced[_0x4c2dd7(0x2b5)];_0x4ee555[_0x4c2dd7(0x242)]={'stringify':function(_0x5b9216){var _0xc0caf7=_0x4c2dd7,_0x4f3559=_0x5b9216[_0xc0caf7(0x1bd)],_0x508dd4=_0x5b9216['sigBytes'],_0x2faaa9=this[_0xc0caf7(0x381)];_0x5b9216[_0xc0caf7(0x284)]();for(var _0x396ad4=[],_0x18b6b5=0x0;_0x18b6b5<_0x508dd4;_0x18b6b5+=0x3)for(var _0x50b4b4=_0x4f3559[_0x18b6b5>>>0x2]>>>0x18-_0x18b6b5%0x4*0x8&0xff,_0x513742=_0x4f3559[_0x18b6b5+0x1>>>0x2]>>>0x18-(_0x18b6b5+0x1)%0x4*0x8&0xff,_0x5b79b9=_0x4f3559[_0x18b6b5+0x2>>>0x2]>>>0x18-(_0x18b6b5+0x2)%0x4*0x8&0xff,_0x38620a=_0x50b4b4<<0x10|_0x513742<<0x8|_0x5b79b9,_0x50b526=0x0;_0x50b526<0x4&&_0x18b6b5+_0x50b526*0.75<_0x508dd4;_0x50b526++)_0x396ad4[_0xc0caf7(0x138)](_0x2faaa9[_0xc0caf7(0x3e9)](_0x38620a>>>0x6*(0x3-_0x50b526)&0x3f));var _0x58b9e2=_0x2faaa9[_0xc0caf7(0x3e9)](0x40);if(_0x58b9e2){for(;_0x396ad4[_0xc0caf7(0x137)]%0x4;)_0x396ad4[_0xc0caf7(0x138)](_0x58b9e2);}return _0x396ad4[_0xc0caf7(0x13b)]('');},'parse':function(_0x226eb9){var _0xbb0623=_0x4c2dd7,_0x3ec11f=_0x226eb9[_0xbb0623(0x137)],_0x563094=this['_map'],_0x5532e4=this[_0xbb0623(0x223)];if(!_0x5532e4){_0x5532e4=this[_0xbb0623(0x223)]=[];for(var _0x12eccd=0x0;_0x12eccd<_0x563094[_0xbb0623(0x137)];_0x12eccd++)_0x5532e4[_0x563094['charCodeAt'](_0x12eccd)]=_0x12eccd;}var _0x18fcbe=_0x563094[_0xbb0623(0x3e9)](0x40);if(_0x18fcbe){var _0x4b001d=_0x226eb9[_0xbb0623(0x23f)](_0x18fcbe);_0x4b001d!==-0x1&&(_0x3ec11f=_0x4b001d);}return _0x86ae88(_0x226eb9,_0x3ec11f,_0x5532e4);},'_map':_0x4c2dd7(0x445)};function _0x86ae88(_0x4b0d07,_0x2d07ab,_0x343436){var _0x3763a8=_0x4c2dd7;for(var _0x4aa271=[],_0x1002da=0x0,_0x46b383=0x0;_0x46b383<_0x2d07ab;_0x46b383++)if(_0x46b383%0x4){var _0x346969=_0x343436[_0x4b0d07[_0x3763a8(0x447)](_0x46b383-0x1)]<<_0x46b383%0x4*0x2,_0x51b813=_0x343436[_0x4b0d07[_0x3763a8(0x447)](_0x46b383)]>>>0x6-_0x46b383%0x4*0x2,_0xe2065f=_0x346969|_0x51b813;_0x4aa271[_0x1002da>>>0x2]|=_0xe2065f<<0x18-_0x1002da%0x4*0x8,_0x1002da++;}return _0x1a2188[_0x3763a8(0x3fc)](_0x4aa271,_0x1002da);}}()),_0x244f1d['enc'][_0x35f06c(0x242)];}));}(Ge)),Ge[_0x327766(0x2d1)];}var Ye={'exports':{}},_n=Ye[_0xfab6d2(0x2d1)],Jt;function ln(){var _0x51f0b5=_0xfab6d2;return Jt||(Jt=0x1,function(_0x2c5fad,_0x1d630e){(function(_0x379e51,_0x1cbcda){_0x2c5fad['exports']=_0x1cbcda(te());}(_n,function(_0x427951){var _0x45c878=_0xf12a;return function(_0xfdb729){var _0xe7c98e=_0xf12a,_0xd425d6=_0x427951,_0x1bbb8f=_0xd425d6[_0xe7c98e(0x348)],_0x275f61=_0x1bbb8f['WordArray'],_0x13a010=_0x1bbb8f['Hasher'],_0x3d0928=_0xd425d6[_0xe7c98e(0x28c)],_0x225551=[];(function(){var _0x1645a6=_0xe7c98e;for(var _0x24092c=0x0;_0x24092c<0x40;_0x24092c++)_0x225551[_0x24092c]=_0xfdb729[_0x1645a6(0x2ec)](_0xfdb729[_0x1645a6(0x2dc)](_0x24092c+0x1))*0x100000000|0x0;}());var _0x34c4a6=_0x3d0928[_0xe7c98e(0x192)]=_0x13a010[_0xe7c98e(0x2be)]({'_doReset':function(){var _0x22f924=_0xe7c98e;this[_0x22f924(0x39c)]=new _0x275f61[(_0x22f924(0x3f0))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1dac08,_0x2db037){var _0x3beb06=_0xe7c98e;for(var _0x5551f0=0x0;_0x5551f0<0x10;_0x5551f0++){var _0x268bc3=_0x2db037+_0x5551f0,_0x3eafd1=_0x1dac08[_0x268bc3];_0x1dac08[_0x268bc3]=(_0x3eafd1<<0x8|_0x3eafd1>>>0x18)&0xff00ff|(_0x3eafd1<<0x18|_0x3eafd1>>>0x8)&0xff00ff00;}var _0x30c03b=this[_0x3beb06(0x39c)][_0x3beb06(0x1bd)],_0x460523=_0x1dac08[_0x2db037+0x0],_0x5960da=_0x1dac08[_0x2db037+0x1],_0x3a2207=_0x1dac08[_0x2db037+0x2],_0x29dc2e=_0x1dac08[_0x2db037+0x3],_0x473952=_0x1dac08[_0x2db037+0x4],_0x20a2f0=_0x1dac08[_0x2db037+0x5],_0x31a665=_0x1dac08[_0x2db037+0x6],_0x5c58f9=_0x1dac08[_0x2db037+0x7],_0x8da3fd=_0x1dac08[_0x2db037+0x8],_0x5e0019=_0x1dac08[_0x2db037+0x9],_0x29ad03=_0x1dac08[_0x2db037+0xa],_0xc5924f=_0x1dac08[_0x2db037+0xb],_0x1efc80=_0x1dac08[_0x2db037+0xc],_0x2d9512=_0x1dac08[_0x2db037+0xd],_0x3204c9=_0x1dac08[_0x2db037+0xe],_0x115d68=_0x1dac08[_0x2db037+0xf],_0x41bc18=_0x30c03b[0x0],_0x31c44c=_0x30c03b[0x1],_0x3cb2e5=_0x30c03b[0x2],_0x5606ea=_0x30c03b[0x3];_0x41bc18=_0x5b666e(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x460523,0x7,_0x225551[0x0]),_0x5606ea=_0x5b666e(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5960da,0xc,_0x225551[0x1]),_0x3cb2e5=_0x5b666e(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x3a2207,0x11,_0x225551[0x2]),_0x31c44c=_0x5b666e(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x29dc2e,0x16,_0x225551[0x3]),_0x41bc18=_0x5b666e(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x473952,0x7,_0x225551[0x4]),_0x5606ea=_0x5b666e(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x20a2f0,0xc,_0x225551[0x5]),_0x3cb2e5=_0x5b666e(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x31a665,0x11,_0x225551[0x6]),_0x31c44c=_0x5b666e(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x5c58f9,0x16,_0x225551[0x7]),_0x41bc18=_0x5b666e(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x8da3fd,0x7,_0x225551[0x8]),_0x5606ea=_0x5b666e(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5e0019,0xc,_0x225551[0x9]),_0x3cb2e5=_0x5b666e(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x29ad03,0x11,_0x225551[0xa]),_0x31c44c=_0x5b666e(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0xc5924f,0x16,_0x225551[0xb]),_0x41bc18=_0x5b666e(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x1efc80,0x7,_0x225551[0xc]),_0x5606ea=_0x5b666e(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x2d9512,0xc,_0x225551[0xd]),_0x3cb2e5=_0x5b666e(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x3204c9,0x11,_0x225551[0xe]),_0x31c44c=_0x5b666e(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x115d68,0x16,_0x225551[0xf]),_0x41bc18=_0x25f53d(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x5960da,0x5,_0x225551[0x10]),_0x5606ea=_0x25f53d(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x31a665,0x9,_0x225551[0x11]),_0x3cb2e5=_0x25f53d(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0xc5924f,0xe,_0x225551[0x12]),_0x31c44c=_0x25f53d(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x460523,0x14,_0x225551[0x13]),_0x41bc18=_0x25f53d(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x20a2f0,0x5,_0x225551[0x14]),_0x5606ea=_0x25f53d(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x29ad03,0x9,_0x225551[0x15]),_0x3cb2e5=_0x25f53d(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x115d68,0xe,_0x225551[0x16]),_0x31c44c=_0x25f53d(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x473952,0x14,_0x225551[0x17]),_0x41bc18=_0x25f53d(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x5e0019,0x5,_0x225551[0x18]),_0x5606ea=_0x25f53d(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x3204c9,0x9,_0x225551[0x19]),_0x3cb2e5=_0x25f53d(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x29dc2e,0xe,_0x225551[0x1a]),_0x31c44c=_0x25f53d(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x8da3fd,0x14,_0x225551[0x1b]),_0x41bc18=_0x25f53d(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x2d9512,0x5,_0x225551[0x1c]),_0x5606ea=_0x25f53d(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x3a2207,0x9,_0x225551[0x1d]),_0x3cb2e5=_0x25f53d(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x5c58f9,0xe,_0x225551[0x1e]),_0x31c44c=_0x25f53d(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x1efc80,0x14,_0x225551[0x1f]),_0x41bc18=_0x64aeb6(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x20a2f0,0x4,_0x225551[0x20]),_0x5606ea=_0x64aeb6(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x8da3fd,0xb,_0x225551[0x21]),_0x3cb2e5=_0x64aeb6(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0xc5924f,0x10,_0x225551[0x22]),_0x31c44c=_0x64aeb6(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x3204c9,0x17,_0x225551[0x23]),_0x41bc18=_0x64aeb6(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x5960da,0x4,_0x225551[0x24]),_0x5606ea=_0x64aeb6(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x473952,0xb,_0x225551[0x25]),_0x3cb2e5=_0x64aeb6(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x5c58f9,0x10,_0x225551[0x26]),_0x31c44c=_0x64aeb6(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x29ad03,0x17,_0x225551[0x27]),_0x41bc18=_0x64aeb6(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x2d9512,0x4,_0x225551[0x28]),_0x5606ea=_0x64aeb6(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x460523,0xb,_0x225551[0x29]),_0x3cb2e5=_0x64aeb6(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x29dc2e,0x10,_0x225551[0x2a]),_0x31c44c=_0x64aeb6(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31a665,0x17,_0x225551[0x2b]),_0x41bc18=_0x64aeb6(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x5e0019,0x4,_0x225551[0x2c]),_0x5606ea=_0x64aeb6(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x1efc80,0xb,_0x225551[0x2d]),_0x3cb2e5=_0x64aeb6(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x115d68,0x10,_0x225551[0x2e]),_0x31c44c=_0x64aeb6(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x3a2207,0x17,_0x225551[0x2f]),_0x41bc18=_0x15614a(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x460523,0x6,_0x225551[0x30]),_0x5606ea=_0x15614a(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5c58f9,0xa,_0x225551[0x31]),_0x3cb2e5=_0x15614a(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x3204c9,0xf,_0x225551[0x32]),_0x31c44c=_0x15614a(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x20a2f0,0x15,_0x225551[0x33]),_0x41bc18=_0x15614a(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x1efc80,0x6,_0x225551[0x34]),_0x5606ea=_0x15614a(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x29dc2e,0xa,_0x225551[0x35]),_0x3cb2e5=_0x15614a(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x29ad03,0xf,_0x225551[0x36]),_0x31c44c=_0x15614a(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x5960da,0x15,_0x225551[0x37]),_0x41bc18=_0x15614a(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x8da3fd,0x6,_0x225551[0x38]),_0x5606ea=_0x15614a(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0x115d68,0xa,_0x225551[0x39]),_0x3cb2e5=_0x15614a(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x31a665,0xf,_0x225551[0x3a]),_0x31c44c=_0x15614a(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x2d9512,0x15,_0x225551[0x3b]),_0x41bc18=_0x15614a(_0x41bc18,_0x31c44c,_0x3cb2e5,_0x5606ea,_0x473952,0x6,_0x225551[0x3c]),_0x5606ea=_0x15614a(_0x5606ea,_0x41bc18,_0x31c44c,_0x3cb2e5,_0xc5924f,0xa,_0x225551[0x3d]),_0x3cb2e5=_0x15614a(_0x3cb2e5,_0x5606ea,_0x41bc18,_0x31c44c,_0x3a2207,0xf,_0x225551[0x3e]),_0x31c44c=_0x15614a(_0x31c44c,_0x3cb2e5,_0x5606ea,_0x41bc18,_0x5e0019,0x15,_0x225551[0x3f]),_0x30c03b[0x0]=_0x30c03b[0x0]+_0x41bc18|0x0,_0x30c03b[0x1]=_0x30c03b[0x1]+_0x31c44c|0x0,_0x30c03b[0x2]=_0x30c03b[0x2]+_0x3cb2e5|0x0,_0x30c03b[0x3]=_0x30c03b[0x3]+_0x5606ea|0x0;},'_doFinalize':function(){var _0x49c288=_0xe7c98e,_0x557ebe=this['_data'],_0x5bc98f=_0x557ebe[_0x49c288(0x1bd)],_0x3e8eb5=this[_0x49c288(0x28a)]*0x8,_0x5bbe9f=_0x557ebe[_0x49c288(0x338)]*0x8;_0x5bc98f[_0x5bbe9f>>>0x5]|=0x80<<0x18-_0x5bbe9f%0x20;var _0x589aa9=_0xfdb729[_0x49c288(0x38a)](_0x3e8eb5/0x100000000),_0x5140cc=_0x3e8eb5;_0x5bc98f[(_0x5bbe9f+0x40>>>0x9<<0x4)+0xf]=(_0x589aa9<<0x8|_0x589aa9>>>0x18)&0xff00ff|(_0x589aa9<<0x18|_0x589aa9>>>0x8)&0xff00ff00,_0x5bc98f[(_0x5bbe9f+0x40>>>0x9<<0x4)+0xe]=(_0x5140cc<<0x8|_0x5140cc>>>0x18)&0xff00ff|(_0x5140cc<<0x18|_0x5140cc>>>0x8)&0xff00ff00,_0x557ebe[_0x49c288(0x338)]=(_0x5bc98f[_0x49c288(0x137)]+0x1)*0x4,this[_0x49c288(0x287)]();for(var _0x1d5e30=this['_hash'],_0x5f22d6=_0x1d5e30[_0x49c288(0x1bd)],_0x18473d=0x0;_0x18473d<0x4;_0x18473d++){var _0x31ffa6=_0x5f22d6[_0x18473d];_0x5f22d6[_0x18473d]=(_0x31ffa6<<0x8|_0x31ffa6>>>0x18)&0xff00ff|(_0x31ffa6<<0x18|_0x31ffa6>>>0x8)&0xff00ff00;}return _0x1d5e30;},'clone':function(){var _0x16436d=_0xe7c98e,_0x1aca3a=_0x13a010[_0x16436d(0x2e9)]['call'](this);return _0x1aca3a['_hash']=this[_0x16436d(0x39c)][_0x16436d(0x2e9)](),_0x1aca3a;}});function _0x5b666e(_0x5c3135,_0x25aff8,_0x380930,_0x35f23b,_0x1ddf55,_0x3fc4be,_0xfae822){var _0x5a7f04=_0x5c3135+(_0x25aff8&_0x380930|~_0x25aff8&_0x35f23b)+_0x1ddf55+_0xfae822;return(_0x5a7f04<<_0x3fc4be|_0x5a7f04>>>0x20-_0x3fc4be)+_0x25aff8;}function _0x25f53d(_0x4839fd,_0x4026f8,_0x1cbb3b,_0x2240eb,_0xf61cea,_0x5d1c60,_0x416fc8){var _0x5b4108=_0x4839fd+(_0x4026f8&_0x2240eb|_0x1cbb3b&~_0x2240eb)+_0xf61cea+_0x416fc8;return(_0x5b4108<<_0x5d1c60|_0x5b4108>>>0x20-_0x5d1c60)+_0x4026f8;}function _0x64aeb6(_0x3a854b,_0x43c5e9,_0x2ee266,_0x347eec,_0x473984,_0x44adcb,_0xceb9e3){var _0x1dd4d8=_0x3a854b+(_0x43c5e9^_0x2ee266^_0x347eec)+_0x473984+_0xceb9e3;return(_0x1dd4d8<<_0x44adcb|_0x1dd4d8>>>0x20-_0x44adcb)+_0x43c5e9;}function _0x15614a(_0x17b9fc,_0x13b068,_0x5cb558,_0x3e8b10,_0x3060b2,_0x2e9664,_0x467dc9){var _0x16c6b6=_0x17b9fc+(_0x5cb558^(_0x13b068|~_0x3e8b10))+_0x3060b2+_0x467dc9;return(_0x16c6b6<<_0x2e9664|_0x16c6b6>>>0x20-_0x2e9664)+_0x13b068;}_0xd425d6[_0xe7c98e(0x192)]=_0x13a010['_createHelper'](_0x34c4a6),_0xd425d6[_0xe7c98e(0x231)]=_0x13a010['_createHmacHelper'](_0x34c4a6);}(Math),_0x427951[_0x45c878(0x192)];}));}(Ye)),Ye[_0x51f0b5(0x2d1)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0xfab6d2(0x2d1)],Xt;function dn(){var _0x230d02=_0xfab6d2;return Xt||(Xt=0x1,function(_0x32d200,_0x1c984d){(function(_0x1411ba,_0x3c7fe4){var _0x2ed83a=_0xf12a;_0x32d200[_0x2ed83a(0x2d1)]=_0x3c7fe4(te());}(un,function(_0x27e282){var _0x486e2f=_0xf12a;return(function(){var _0x4fef66=_0xf12a,_0x1bc809=_0x27e282,_0x25c549=_0x1bc809[_0x4fef66(0x348)],_0x5918d5=_0x25c549[_0x4fef66(0x33c)],_0x5b064b=_0x25c549[_0x4fef66(0x2df)],_0x188c6d=_0x1bc809['algo'],_0x8dc8bb=[],_0x1fe304=_0x188c6d[_0x4fef66(0x2e0)]=_0x5b064b[_0x4fef66(0x2be)]({'_doReset':function(){var _0x32bc6b=_0x4fef66;this[_0x32bc6b(0x39c)]=new _0x5918d5[(_0x32bc6b(0x3f0))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x45c6d6,_0x8dd9){var _0xb8acd0=_0x4fef66;for(var _0x37e258=this[_0xb8acd0(0x39c)][_0xb8acd0(0x1bd)],_0x56f02c=_0x37e258[0x0],_0x403810=_0x37e258[0x1],_0x214790=_0x37e258[0x2],_0xf95e9b=_0x37e258[0x3],_0x77278a=_0x37e258[0x4],_0x5a4ea0=0x0;_0x5a4ea0<0x50;_0x5a4ea0++){if(_0x5a4ea0<0x10)_0x8dc8bb[_0x5a4ea0]=_0x45c6d6[_0x8dd9+_0x5a4ea0]|0x0;else{var _0x4f3a35=_0x8dc8bb[_0x5a4ea0-0x3]^_0x8dc8bb[_0x5a4ea0-0x8]^_0x8dc8bb[_0x5a4ea0-0xe]^_0x8dc8bb[_0x5a4ea0-0x10];_0x8dc8bb[_0x5a4ea0]=_0x4f3a35<<0x1|_0x4f3a35>>>0x1f;}var _0x3ba11e=(_0x56f02c<<0x5|_0x56f02c>>>0x1b)+_0x77278a+_0x8dc8bb[_0x5a4ea0];_0x5a4ea0<0x14?_0x3ba11e+=(_0x403810&_0x214790|~_0x403810&_0xf95e9b)+0x5a827999:_0x5a4ea0<0x28?_0x3ba11e+=(_0x403810^_0x214790^_0xf95e9b)+0x6ed9eba1:_0x5a4ea0<0x3c?_0x3ba11e+=(_0x403810&_0x214790|_0x403810&_0xf95e9b|_0x214790&_0xf95e9b)-0x70e44324:_0x3ba11e+=(_0x403810^_0x214790^_0xf95e9b)-0x359d3e2a,_0x77278a=_0xf95e9b,_0xf95e9b=_0x214790,_0x214790=_0x403810<<0x1e|_0x403810>>>0x2,_0x403810=_0x56f02c,_0x56f02c=_0x3ba11e;}_0x37e258[0x0]=_0x37e258[0x0]+_0x56f02c|0x0,_0x37e258[0x1]=_0x37e258[0x1]+_0x403810|0x0,_0x37e258[0x2]=_0x37e258[0x2]+_0x214790|0x0,_0x37e258[0x3]=_0x37e258[0x3]+_0xf95e9b|0x0,_0x37e258[0x4]=_0x37e258[0x4]+_0x77278a|0x0;},'_doFinalize':function(){var _0x17d74d=_0x4fef66,_0x416fce=this[_0x17d74d(0x198)],_0x581957=_0x416fce[_0x17d74d(0x1bd)],_0x4b3a07=this[_0x17d74d(0x28a)]*0x8,_0x3af0c6=_0x416fce[_0x17d74d(0x338)]*0x8;return _0x581957[_0x3af0c6>>>0x5]|=0x80<<0x18-_0x3af0c6%0x20,_0x581957[(_0x3af0c6+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4b3a07/0x100000000),_0x581957[(_0x3af0c6+0x40>>>0x9<<0x4)+0xf]=_0x4b3a07,_0x416fce[_0x17d74d(0x338)]=_0x581957[_0x17d74d(0x137)]*0x4,this[_0x17d74d(0x287)](),this['_hash'];},'clone':function(){var _0x2bb42a=_0x4fef66,_0x4366d3=_0x5b064b[_0x2bb42a(0x2e9)][_0x2bb42a(0x3e3)](this);return _0x4366d3[_0x2bb42a(0x39c)]=this[_0x2bb42a(0x39c)]['clone'](),_0x4366d3;}});_0x1bc809['SHA1']=_0x5b064b[_0x4fef66(0x409)](_0x1fe304),_0x1bc809[_0x4fef66(0x1d5)]=_0x5b064b[_0x4fef66(0x1f4)](_0x1fe304);}()),_0x27e282[_0x486e2f(0x2e0)];}));}(qe)),qe[_0x230d02(0x2d1)];}var ze={'exports':{}},fn=ze[_0xfab6d2(0x2d1)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x8aee38,_0x3d7b78){(function(_0x2eda07,_0x1a2364){var _0x395d4c=_0xf12a;_0x8aee38[_0x395d4c(0x2d1)]=_0x1a2364(te());}(fn,function(_0xc187f8){(function(){var _0x4cc5ee=_0xf12a,_0x2368d0=_0xc187f8,_0x4681f9=_0x2368d0[_0x4cc5ee(0x348)],_0x41653f=_0x4681f9[_0x4cc5ee(0x218)],_0x1e8d0c=_0x2368d0[_0x4cc5ee(0x2b5)],_0x2575aa=_0x1e8d0c['Utf8'],_0x1ad50c=_0x2368d0[_0x4cc5ee(0x28c)];_0x1ad50c[_0x4cc5ee(0x272)]=_0x41653f['extend']({'init':function(_0x465fc1,_0x277480){var _0x34356c=_0x4cc5ee;_0x465fc1=this[_0x34356c(0x41c)]=new _0x465fc1['init'](),typeof _0x277480==_0x34356c(0x201)&&(_0x277480=_0x2575aa[_0x34356c(0x293)](_0x277480));var _0x5de997=_0x465fc1['blockSize'],_0x313570=_0x5de997*0x4;_0x277480[_0x34356c(0x338)]>_0x313570&&(_0x277480=_0x465fc1['finalize'](_0x277480)),_0x277480['clamp']();for(var _0x63ddf5=this['_oKey']=_0x277480[_0x34356c(0x2e9)](),_0x5c0849=this[_0x34356c(0x1ab)]=_0x277480[_0x34356c(0x2e9)](),_0x5ed3f3=_0x63ddf5[_0x34356c(0x1bd)],_0x3ce314=_0x5c0849[_0x34356c(0x1bd)],_0x3fc059=0x0;_0x3fc059<_0x5de997;_0x3fc059++)_0x5ed3f3[_0x3fc059]^=0x5c5c5c5c,_0x3ce314[_0x3fc059]^=0x36363636;_0x63ddf5['sigBytes']=_0x5c0849[_0x34356c(0x338)]=_0x313570,this['reset']();},'reset':function(){var _0x3a885e=_0x4cc5ee,_0x5a6b11=this[_0x3a885e(0x41c)];_0x5a6b11[_0x3a885e(0x30b)](),_0x5a6b11[_0x3a885e(0x1cf)](this['_iKey']);},'update':function(_0x338f58){var _0x399ff2=_0x4cc5ee;return this['_hasher'][_0x399ff2(0x1cf)](_0x338f58),this;},'finalize':function(_0x12eeb2){var _0x34400d=_0x4cc5ee,_0x45e9c3=this[_0x34400d(0x41c)],_0x34b51f=_0x45e9c3[_0x34400d(0x2b3)](_0x12eeb2);_0x45e9c3[_0x34400d(0x30b)]();var _0xed5f48=_0x45e9c3[_0x34400d(0x2b3)](this[_0x34400d(0x2bc)][_0x34400d(0x2e9)]()[_0x34400d(0x3af)](_0x34b51f));return _0xed5f48;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0xfab6d2(0x2d1)],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x47f8ac,_0x37fe8b){(function(_0x525e29,_0x4926be,_0x35d701){var _0x480a18=_0xf12a;_0x47f8ac[_0x480a18(0x2d1)]=_0x4926be(te(),dn(),vn());}(pn,function(_0x18d1a7){return(function(){var _0x237b15=_0xf12a,_0x1b6f3a=_0x18d1a7,_0xd3776e=_0x1b6f3a[_0x237b15(0x348)],_0x215a6f=_0xd3776e[_0x237b15(0x218)],_0x48d86d=_0xd3776e[_0x237b15(0x33c)],_0x2d7ce8=_0x1b6f3a[_0x237b15(0x28c)],_0x1432c9=_0x2d7ce8[_0x237b15(0x192)],_0x35b710=_0x2d7ce8[_0x237b15(0x34c)]=_0x215a6f[_0x237b15(0x2be)]({'cfg':_0x215a6f[_0x237b15(0x2be)]({'keySize':0x80/0x20,'hasher':_0x1432c9,'iterations':0x1}),'init':function(_0x1f8a31){var _0x27232b=_0x237b15;this[_0x27232b(0x173)]=this[_0x27232b(0x173)][_0x27232b(0x2be)](_0x1f8a31);},'compute':function(_0x40eb37,_0x21b42a){var _0x30e9dc=_0x237b15;for(var _0x3999b9,_0xcf0876=this[_0x30e9dc(0x173)],_0x5a4e85=_0xcf0876['hasher'][_0x30e9dc(0x3fc)](),_0x2e0c11=_0x48d86d['create'](),_0x179bc3=_0x2e0c11[_0x30e9dc(0x1bd)],_0x3443a3=_0xcf0876[_0x30e9dc(0x232)],_0x1e585e=_0xcf0876['iterations'];_0x179bc3[_0x30e9dc(0x137)]<_0x3443a3;){_0x3999b9&&_0x5a4e85[_0x30e9dc(0x1cf)](_0x3999b9),_0x3999b9=_0x5a4e85[_0x30e9dc(0x1cf)](_0x40eb37)[_0x30e9dc(0x2b3)](_0x21b42a),_0x5a4e85[_0x30e9dc(0x30b)]();for(var _0x2b1410=0x1;_0x2b1410<_0x1e585e;_0x2b1410++)_0x3999b9=_0x5a4e85[_0x30e9dc(0x2b3)](_0x3999b9),_0x5a4e85[_0x30e9dc(0x30b)]();_0x2e0c11['concat'](_0x3999b9);}return _0x2e0c11[_0x30e9dc(0x338)]=_0x3443a3*0x4,_0x2e0c11;}});_0x1b6f3a[_0x237b15(0x34c)]=function(_0x49d88e,_0x2ccd73,_0x41aacd){var _0x46c4af=_0x237b15;return _0x35b710[_0x46c4af(0x3fc)](_0x41aacd)[_0x46c4af(0x3d4)](_0x49d88e,_0x2ccd73);};}()),_0x18d1a7['EvpKDF'];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0xfab6d2(0x2d1)],ei;function bi(){var _0x481033=_0xfab6d2;return ei||(ei=0x1,function(_0x414b1b,_0x455fe2){(function(_0x5f3b17,_0x594d05,_0x4defab){_0x414b1b['exports']=_0x594d05(te(),Oi());}(mn,function(_0x69f3bc){var _0x48c211=_0xf12a;_0x69f3bc[_0x48c211(0x348)][_0x48c211(0x406)]||function(_0x36cab0){var _0x5ae3d6=_0x48c211,_0x26c7ba=_0x69f3bc,_0x5f39ac=_0x26c7ba['lib'],_0x516aad=_0x5f39ac[_0x5ae3d6(0x218)],_0x14f234=_0x5f39ac[_0x5ae3d6(0x33c)],_0x515c35=_0x5f39ac[_0x5ae3d6(0x2fd)],_0x1fbf25=_0x26c7ba[_0x5ae3d6(0x2b5)];_0x1fbf25[_0x5ae3d6(0x248)];var _0x130fc0=_0x1fbf25['Base64'],_0x4c242e=_0x26c7ba[_0x5ae3d6(0x28c)],_0x55792a=_0x4c242e['EvpKDF'],_0x373d15=_0x5f39ac[_0x5ae3d6(0x406)]=_0x515c35[_0x5ae3d6(0x2be)]({'cfg':_0x516aad['extend'](),'createEncryptor':function(_0x334865,_0x2b556e){var _0x7d5db7=_0x5ae3d6;return this[_0x7d5db7(0x3fc)](this[_0x7d5db7(0x36d)],_0x334865,_0x2b556e);},'createDecryptor':function(_0x39b579,_0x1a91c7){var _0x53842c=_0x5ae3d6;return this[_0x53842c(0x3fc)](this[_0x53842c(0x3d2)],_0x39b579,_0x1a91c7);},'init':function(_0x3ae60a,_0x4c91c2,_0x181349){var _0x5615c6=_0x5ae3d6;this[_0x5615c6(0x173)]=this[_0x5615c6(0x173)][_0x5615c6(0x2be)](_0x181349),this[_0x5615c6(0x194)]=_0x3ae60a,this[_0x5615c6(0x23a)]=_0x4c91c2,this[_0x5615c6(0x30b)]();},'reset':function(){var _0x542f42=_0x5ae3d6;_0x515c35[_0x542f42(0x30b)][_0x542f42(0x3e3)](this),this[_0x542f42(0x16a)]();},'process':function(_0x2adac3){var _0x1fb8a9=_0x5ae3d6;return this[_0x1fb8a9(0x35e)](_0x2adac3),this['_process']();},'finalize':function(_0x39a092){var _0x6995bf=_0x5ae3d6;_0x39a092&&this[_0x6995bf(0x35e)](_0x39a092);var _0x5bbe7d=this[_0x6995bf(0x3d7)]();return _0x5bbe7d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x315772(_0x5c300a){var _0x1aa93d=_0xf12a;return typeof _0x5c300a==_0x1aa93d(0x201)?_0x5b5765:_0xc5a20a;}return function(_0x4d3a1e){return{'encrypt':function(_0x50f8a6,_0xbd2ff1,_0x591c40){var _0x4ba5c6=_0xf12a;return _0x315772(_0xbd2ff1)[_0x4ba5c6(0x15a)](_0x4d3a1e,_0x50f8a6,_0xbd2ff1,_0x591c40);},'decrypt':function(_0x56d134,_0x4d210c,_0x40a58){var _0x43b9c9=_0xf12a;return _0x315772(_0x4d210c)[_0x43b9c9(0x225)](_0x4d3a1e,_0x56d134,_0x4d210c,_0x40a58);}};};}())});_0x5f39ac['StreamCipher']=_0x373d15[_0x5ae3d6(0x2be)]({'_doFinalize':function(){var _0xac209a=_0x5ae3d6,_0x51d385=this[_0xac209a(0x287)](!0x0);return _0x51d385;},'blockSize':0x1});var _0x4f8fe0=_0x26c7ba[_0x5ae3d6(0x17f)]={},_0x2ab1cc=_0x5f39ac['BlockCipherMode']=_0x516aad['extend']({'createEncryptor':function(_0x5ccfb0,_0x277013){var _0x29d3bf=_0x5ae3d6;return this[_0x29d3bf(0x3a9)][_0x29d3bf(0x3fc)](_0x5ccfb0,_0x277013);},'createDecryptor':function(_0x4489f9,_0x587c40){var _0x57b446=_0x5ae3d6;return this['Decryptor'][_0x57b446(0x3fc)](_0x4489f9,_0x587c40);},'init':function(_0x3ddb4b,_0x149720){var _0x213f89=_0x5ae3d6;this[_0x213f89(0x391)]=_0x3ddb4b,this['_iv']=_0x149720;}}),_0x3f2365=_0x4f8fe0[_0x5ae3d6(0x1a9)]=(function(){var _0x112939=_0x5ae3d6,_0xedebf4=_0x2ab1cc['extend']();_0xedebf4[_0x112939(0x3a9)]=_0xedebf4[_0x112939(0x2be)]({'processBlock':function(_0x4ef0a8,_0x151296){var _0x75b640=_0x112939,_0x47fc25=this[_0x75b640(0x391)],_0x5b167a=_0x47fc25['blockSize'];_0x2d9e20[_0x75b640(0x3e3)](this,_0x4ef0a8,_0x151296,_0x5b167a),_0x47fc25[_0x75b640(0x140)](_0x4ef0a8,_0x151296),this[_0x75b640(0x432)]=_0x4ef0a8['slice'](_0x151296,_0x151296+_0x5b167a);}}),_0xedebf4['Decryptor']=_0xedebf4[_0x112939(0x2be)]({'processBlock':function(_0x279f89,_0x4ff4be){var _0x2b58bb=_0x112939,_0xda2bfe=this['_cipher'],_0x56e2c6=_0xda2bfe[_0x2b58bb(0x24e)],_0x18dd86=_0x279f89[_0x2b58bb(0x2a6)](_0x4ff4be,_0x4ff4be+_0x56e2c6);_0xda2bfe['decryptBlock'](_0x279f89,_0x4ff4be),_0x2d9e20[_0x2b58bb(0x3e3)](this,_0x279f89,_0x4ff4be,_0x56e2c6),this['_prevBlock']=_0x18dd86;}});function _0x2d9e20(_0x392f90,_0x10fc2c,_0x337837){var _0x379f89=_0x112939,_0x412d6d,_0x38cdfd=this[_0x379f89(0x2db)];_0x38cdfd?(_0x412d6d=_0x38cdfd,this[_0x379f89(0x2db)]=_0x36cab0):_0x412d6d=this[_0x379f89(0x432)];for(var _0x57c64a=0x0;_0x57c64a<_0x337837;_0x57c64a++)_0x392f90[_0x10fc2c+_0x57c64a]^=_0x412d6d[_0x57c64a];}return _0xedebf4;}()),_0x4bc54c=_0x26c7ba[_0x5ae3d6(0x209)]={},_0x33c440=_0x4bc54c['Pkcs7']={'pad':function(_0x19682a,_0x1ad9e7){var _0x5afd17=_0x5ae3d6;for(var _0x9fe3f5=_0x1ad9e7*0x4,_0x700f23=_0x9fe3f5-_0x19682a['sigBytes']%_0x9fe3f5,_0x264f46=_0x700f23<<0x18|_0x700f23<<0x10|_0x700f23<<0x8|_0x700f23,_0x86eae0=[],_0x5c05de=0x0;_0x5c05de<_0x700f23;_0x5c05de+=0x4)_0x86eae0[_0x5afd17(0x138)](_0x264f46);var _0x638eb6=_0x14f234['create'](_0x86eae0,_0x700f23);_0x19682a['concat'](_0x638eb6);},'unpad':function(_0x2c9554){var _0xc05705=_0x5ae3d6,_0x11dce7=_0x2c9554['words'][_0x2c9554[_0xc05705(0x338)]-0x1>>>0x2]&0xff;_0x2c9554['sigBytes']-=_0x11dce7;}};_0x5f39ac[_0x5ae3d6(0x431)]=_0x373d15[_0x5ae3d6(0x2be)]({'cfg':_0x373d15[_0x5ae3d6(0x173)][_0x5ae3d6(0x2be)]({'mode':_0x3f2365,'padding':_0x33c440}),'reset':function(){var _0x2ac776=_0x5ae3d6,_0xf446e0;_0x373d15['reset'][_0x2ac776(0x3e3)](this);var _0x20adb4=this[_0x2ac776(0x173)],_0x1e4d0e=_0x20adb4['iv'],_0x472185=_0x20adb4[_0x2ac776(0x17f)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0xf446e0=_0x472185[_0x2ac776(0x1a8)]:(_0xf446e0=_0x472185[_0x2ac776(0x440)],this[_0x2ac776(0x3c7)]=0x1),this[_0x2ac776(0x3fd)]&&this[_0x2ac776(0x3fd)]['__creator']==_0xf446e0?this['_mode'][_0x2ac776(0x3f0)](this,_0x1e4d0e&&_0x1e4d0e[_0x2ac776(0x1bd)]):(this[_0x2ac776(0x3fd)]=_0xf446e0[_0x2ac776(0x3e3)](_0x472185,this,_0x1e4d0e&&_0x1e4d0e['words']),this['_mode'][_0x2ac776(0x36f)]=_0xf446e0);},'_doProcessBlock':function(_0x2479a1,_0xc9347b){var _0x14e02b=_0x5ae3d6;this['_mode'][_0x14e02b(0x1ee)](_0x2479a1,_0xc9347b);},'_doFinalize':function(){var _0x44e51a=_0x5ae3d6,_0x36c94b,_0x1c9d59=this['cfg'][_0x44e51a(0x3df)];return this[_0x44e51a(0x194)]==this['_ENC_XFORM_MODE']?(_0x1c9d59[_0x44e51a(0x209)](this['_data'],this[_0x44e51a(0x24e)]),_0x36c94b=this['_process'](!0x0)):(_0x36c94b=this[_0x44e51a(0x287)](!0x0),_0x1c9d59['unpad'](_0x36c94b)),_0x36c94b;},'blockSize':0x80/0x20});var _0x1c3650=_0x5f39ac[_0x5ae3d6(0x2ff)]=_0x516aad['extend']({'init':function(_0x1d53eb){var _0x447972=_0x5ae3d6;this[_0x447972(0x157)](_0x1d53eb);},'toString':function(_0x1c93ed){var _0x14a998=_0x5ae3d6;return(_0x1c93ed||this[_0x14a998(0x206)])[_0x14a998(0x1a6)](this);}}),_0x15983f=_0x26c7ba[_0x5ae3d6(0x252)]={},_0x4fb493=_0x15983f[_0x5ae3d6(0x37f)]={'stringify':function(_0x34d5ce){var _0x296ea6=_0x5ae3d6,_0x53793b,_0x3482db=_0x34d5ce['ciphertext'],_0x20b463=_0x34d5ce['salt'];return _0x20b463?_0x53793b=_0x14f234[_0x296ea6(0x3fc)]([0x53616c74,0x65645f5f])[_0x296ea6(0x3af)](_0x20b463)['concat'](_0x3482db):_0x53793b=_0x3482db,_0x53793b[_0x296ea6(0x361)](_0x130fc0);},'parse':function(_0x11170c){var _0x121d26=_0x5ae3d6,_0x38efb2,_0xd9dc45=_0x130fc0[_0x121d26(0x293)](_0x11170c),_0x11e78e=_0xd9dc45['words'];return _0x11e78e[0x0]==0x53616c74&&_0x11e78e[0x1]==0x65645f5f&&(_0x38efb2=_0x14f234[_0x121d26(0x3fc)](_0x11e78e[_0x121d26(0x2a6)](0x2,0x4)),_0x11e78e[_0x121d26(0x21d)](0x0,0x4),_0xd9dc45[_0x121d26(0x338)]-=0x10),_0x1c3650[_0x121d26(0x3fc)]({'ciphertext':_0xd9dc45,'salt':_0x38efb2});}},_0xc5a20a=_0x5f39ac['SerializableCipher']=_0x516aad[_0x5ae3d6(0x2be)]({'cfg':_0x516aad['extend']({'format':_0x4fb493}),'encrypt':function(_0x5c1825,_0x5728f4,_0x30553c,_0x1b4992){var _0x57b179=_0x5ae3d6;_0x1b4992=this[_0x57b179(0x173)]['extend'](_0x1b4992);var _0x57a1aa=_0x5c1825[_0x57b179(0x1a8)](_0x30553c,_0x1b4992),_0x2be5db=_0x57a1aa['finalize'](_0x5728f4),_0x11ee54=_0x57a1aa[_0x57b179(0x173)];return _0x1c3650['create']({'ciphertext':_0x2be5db,'key':_0x30553c,'iv':_0x11ee54['iv'],'algorithm':_0x5c1825,'mode':_0x11ee54[_0x57b179(0x17f)],'padding':_0x11ee54['padding'],'blockSize':_0x5c1825[_0x57b179(0x24e)],'formatter':_0x1b4992['format']});},'decrypt':function(_0x5a7ad1,_0x4d8436,_0x318e81,_0x1764f0){var _0x3506d4=_0x5ae3d6;_0x1764f0=this[_0x3506d4(0x173)][_0x3506d4(0x2be)](_0x1764f0),_0x4d8436=this[_0x3506d4(0x38c)](_0x4d8436,_0x1764f0['format']);var _0x178857=_0x5a7ad1['createDecryptor'](_0x318e81,_0x1764f0)[_0x3506d4(0x2b3)](_0x4d8436['ciphertext']);return _0x178857;},'_parse':function(_0x5cdd1a,_0x886b3f){var _0x155fcf=_0x5ae3d6;return typeof _0x5cdd1a==_0x155fcf(0x201)?_0x886b3f[_0x155fcf(0x293)](_0x5cdd1a,this):_0x5cdd1a;}}),_0x4b70dc=_0x26c7ba['kdf']={},_0x204f6b=_0x4b70dc['OpenSSL']={'execute':function(_0x35981f,_0x3d9124,_0x424e16,_0xa3b834,_0x4510d4){var _0x7d47d4=_0x5ae3d6;if(_0xa3b834||(_0xa3b834=_0x14f234[_0x7d47d4(0x262)](0x40/0x8)),_0x4510d4)var _0x5e1976=_0x55792a[_0x7d47d4(0x3fc)]({'keySize':_0x3d9124+_0x424e16,'hasher':_0x4510d4})[_0x7d47d4(0x3d4)](_0x35981f,_0xa3b834);else var _0x5e1976=_0x55792a[_0x7d47d4(0x3fc)]({'keySize':_0x3d9124+_0x424e16})[_0x7d47d4(0x3d4)](_0x35981f,_0xa3b834);var _0x3939ec=_0x14f234['create'](_0x5e1976[_0x7d47d4(0x1bd)][_0x7d47d4(0x2a6)](_0x3d9124),_0x424e16*0x4);return _0x5e1976[_0x7d47d4(0x338)]=_0x3d9124*0x4,_0x1c3650[_0x7d47d4(0x3fc)]({'key':_0x5e1976,'iv':_0x3939ec,'salt':_0xa3b834});}},_0x5b5765=_0x5f39ac[_0x5ae3d6(0x3dc)]=_0xc5a20a[_0x5ae3d6(0x2be)]({'cfg':_0xc5a20a[_0x5ae3d6(0x173)][_0x5ae3d6(0x2be)]({'kdf':_0x204f6b}),'encrypt':function(_0x1b01a6,_0x5cd659,_0x433640,_0x28d5a6){var _0x400c01=_0x5ae3d6;_0x28d5a6=this['cfg'][_0x400c01(0x2be)](_0x28d5a6);var _0x156a01=_0x28d5a6[_0x400c01(0x21c)][_0x400c01(0x170)](_0x433640,_0x1b01a6[_0x400c01(0x232)],_0x1b01a6[_0x400c01(0x40e)],_0x28d5a6[_0x400c01(0x2fe)],_0x28d5a6[_0x400c01(0x177)]);_0x28d5a6['iv']=_0x156a01['iv'];var _0x53c6de=_0xc5a20a[_0x400c01(0x15a)][_0x400c01(0x3e3)](this,_0x1b01a6,_0x5cd659,_0x156a01[_0x400c01(0x3e7)],_0x28d5a6);return _0x53c6de['mixIn'](_0x156a01),_0x53c6de;},'decrypt':function(_0xa6d124,_0x10d187,_0x489f45,_0x59f0fc){var _0x34ae69=_0x5ae3d6;_0x59f0fc=this[_0x34ae69(0x173)][_0x34ae69(0x2be)](_0x59f0fc),_0x10d187=this['_parse'](_0x10d187,_0x59f0fc[_0x34ae69(0x252)]);var _0x139be4=_0x59f0fc['kdf'][_0x34ae69(0x170)](_0x489f45,_0xa6d124['keySize'],_0xa6d124[_0x34ae69(0x40e)],_0x10d187[_0x34ae69(0x2fe)],_0x59f0fc[_0x34ae69(0x177)]);_0x59f0fc['iv']=_0x139be4['iv'];var _0x283dc7=_0xc5a20a['decrypt'][_0x34ae69(0x3e3)](this,_0xa6d124,_0x10d187,_0x139be4[_0x34ae69(0x3e7)],_0x59f0fc);return _0x283dc7;}});}();}));}(Je)),Je[_0x481033(0x2d1)];}var gn=Ve[_0xfab6d2(0x2d1)],ti;function Sn(){var _0x25cb18=_0xfab6d2;return ti||(ti=0x1,function(_0x292695,_0x5039e4){(function(_0x37c94d,_0x5a0463,_0x35e60d){var _0x264a69=_0xf12a;_0x292695[_0x264a69(0x2d1)]=_0x5a0463(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x39e23e){return(function(){var _0xb02097=_0xf12a,_0x5409a4=_0x39e23e,_0x3e7a04=_0x5409a4[_0xb02097(0x348)],_0x430045=_0x3e7a04[_0xb02097(0x431)],_0x23f2f0=_0x5409a4[_0xb02097(0x28c)],_0x2bb5c4=[],_0x2995a4=[],_0x10582e=[],_0x3d17f9=[],_0x4b624b=[],_0xb19122=[],_0x55288b=[],_0x53add6=[],_0x56868d=[],_0x4e702b=[];(function(){for(var _0x13adf4=[],_0x2637be=0x0;_0x2637be<0x100;_0x2637be++)_0x2637be<0x80?_0x13adf4[_0x2637be]=_0x2637be<<0x1:_0x13adf4[_0x2637be]=_0x2637be<<0x1^0x11b;for(var _0x23f931=0x0,_0x29216a=0x0,_0x2637be=0x0;_0x2637be<0x100;_0x2637be++){var _0x234d24=_0x29216a^_0x29216a<<0x1^_0x29216a<<0x2^_0x29216a<<0x3^_0x29216a<<0x4;_0x234d24=_0x234d24>>>0x8^_0x234d24&0xff^0x63,_0x2bb5c4[_0x23f931]=_0x234d24,_0x2995a4[_0x234d24]=_0x23f931;var _0x59086d=_0x13adf4[_0x23f931],_0x549700=_0x13adf4[_0x59086d],_0x400992=_0x13adf4[_0x549700],_0x2e2617=_0x13adf4[_0x234d24]*0x101^_0x234d24*0x1010100;_0x10582e[_0x23f931]=_0x2e2617<<0x18|_0x2e2617>>>0x8,_0x3d17f9[_0x23f931]=_0x2e2617<<0x10|_0x2e2617>>>0x10,_0x4b624b[_0x23f931]=_0x2e2617<<0x8|_0x2e2617>>>0x18,_0xb19122[_0x23f931]=_0x2e2617;var _0x2e2617=_0x400992*0x1010101^_0x549700*0x10001^_0x59086d*0x101^_0x23f931*0x1010100;_0x55288b[_0x234d24]=_0x2e2617<<0x18|_0x2e2617>>>0x8,_0x53add6[_0x234d24]=_0x2e2617<<0x10|_0x2e2617>>>0x10,_0x56868d[_0x234d24]=_0x2e2617<<0x8|_0x2e2617>>>0x18,_0x4e702b[_0x234d24]=_0x2e2617,_0x23f931?(_0x23f931=_0x59086d^_0x13adf4[_0x13adf4[_0x13adf4[_0x400992^_0x59086d]]],_0x29216a^=_0x13adf4[_0x13adf4[_0x29216a]]):_0x23f931=_0x29216a=0x1;}}());var _0x54479e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3900ef=_0x23f2f0['AES']=_0x430045[_0xb02097(0x2be)]({'_doReset':function(){var _0x4d50d9=_0xb02097,_0x343942;if(!(this[_0x4d50d9(0x20b)]&&this[_0x4d50d9(0x307)]===this[_0x4d50d9(0x23a)])){for(var _0x5c3577=this[_0x4d50d9(0x307)]=this[_0x4d50d9(0x23a)],_0x55d443=_0x5c3577['words'],_0x53ad47=_0x5c3577[_0x4d50d9(0x338)]/0x4,_0x193f85=this[_0x4d50d9(0x20b)]=_0x53ad47+0x6,_0x1f16fc=(_0x193f85+0x1)*0x4,_0x467b79=this[_0x4d50d9(0x2f3)]=[],_0x34946e=0x0;_0x34946e<_0x1f16fc;_0x34946e++)_0x34946e<_0x53ad47?_0x467b79[_0x34946e]=_0x55d443[_0x34946e]:(_0x343942=_0x467b79[_0x34946e-0x1],_0x34946e%_0x53ad47?_0x53ad47>0x6&&_0x34946e%_0x53ad47==0x4&&(_0x343942=_0x2bb5c4[_0x343942>>>0x18]<<0x18|_0x2bb5c4[_0x343942>>>0x10&0xff]<<0x10|_0x2bb5c4[_0x343942>>>0x8&0xff]<<0x8|_0x2bb5c4[_0x343942&0xff]):(_0x343942=_0x343942<<0x8|_0x343942>>>0x18,_0x343942=_0x2bb5c4[_0x343942>>>0x18]<<0x18|_0x2bb5c4[_0x343942>>>0x10&0xff]<<0x10|_0x2bb5c4[_0x343942>>>0x8&0xff]<<0x8|_0x2bb5c4[_0x343942&0xff],_0x343942^=_0x54479e[_0x34946e/_0x53ad47|0x0]<<0x18),_0x467b79[_0x34946e]=_0x467b79[_0x34946e-_0x53ad47]^_0x343942);for(var _0x1fd7c2=this[_0x4d50d9(0x16f)]=[],_0x465ae1=0x0;_0x465ae1<_0x1f16fc;_0x465ae1++){var _0x34946e=_0x1f16fc-_0x465ae1;if(_0x465ae1%0x4)var _0x343942=_0x467b79[_0x34946e];else var _0x343942=_0x467b79[_0x34946e-0x4];_0x465ae1<0x4||_0x34946e<=0x4?_0x1fd7c2[_0x465ae1]=_0x343942:_0x1fd7c2[_0x465ae1]=_0x55288b[_0x2bb5c4[_0x343942>>>0x18]]^_0x53add6[_0x2bb5c4[_0x343942>>>0x10&0xff]]^_0x56868d[_0x2bb5c4[_0x343942>>>0x8&0xff]]^_0x4e702b[_0x2bb5c4[_0x343942&0xff]];}}},'encryptBlock':function(_0x2e762b,_0x40c4e5){var _0x439f2e=_0xb02097;this[_0x439f2e(0x370)](_0x2e762b,_0x40c4e5,this[_0x439f2e(0x2f3)],_0x10582e,_0x3d17f9,_0x4b624b,_0xb19122,_0x2bb5c4);},'decryptBlock':function(_0x54ba1e,_0x21de9e){var _0x25bb0b=_0xb02097,_0x4b5dea=_0x54ba1e[_0x21de9e+0x1];_0x54ba1e[_0x21de9e+0x1]=_0x54ba1e[_0x21de9e+0x3],_0x54ba1e[_0x21de9e+0x3]=_0x4b5dea,this[_0x25bb0b(0x370)](_0x54ba1e,_0x21de9e,this[_0x25bb0b(0x16f)],_0x55288b,_0x53add6,_0x56868d,_0x4e702b,_0x2995a4);var _0x4b5dea=_0x54ba1e[_0x21de9e+0x1];_0x54ba1e[_0x21de9e+0x1]=_0x54ba1e[_0x21de9e+0x3],_0x54ba1e[_0x21de9e+0x3]=_0x4b5dea;},'_doCryptBlock':function(_0xf30f97,_0x5d51ff,_0x2e803f,_0xb5d04,_0x58c536,_0x59c5f1,_0x22a201,_0x42807c){for(var _0x128062=this['_nRounds'],_0x1301ab=_0xf30f97[_0x5d51ff]^_0x2e803f[0x0],_0x262cb9=_0xf30f97[_0x5d51ff+0x1]^_0x2e803f[0x1],_0x3a0552=_0xf30f97[_0x5d51ff+0x2]^_0x2e803f[0x2],_0x5148da=_0xf30f97[_0x5d51ff+0x3]^_0x2e803f[0x3],_0x1e11bd=0x4,_0x400158=0x1;_0x400158<_0x128062;_0x400158++){var _0x2f5bd4=_0xb5d04[_0x1301ab>>>0x18]^_0x58c536[_0x262cb9>>>0x10&0xff]^_0x59c5f1[_0x3a0552>>>0x8&0xff]^_0x22a201[_0x5148da&0xff]^_0x2e803f[_0x1e11bd++],_0x31bc55=_0xb5d04[_0x262cb9>>>0x18]^_0x58c536[_0x3a0552>>>0x10&0xff]^_0x59c5f1[_0x5148da>>>0x8&0xff]^_0x22a201[_0x1301ab&0xff]^_0x2e803f[_0x1e11bd++],_0x389d3b=_0xb5d04[_0x3a0552>>>0x18]^_0x58c536[_0x5148da>>>0x10&0xff]^_0x59c5f1[_0x1301ab>>>0x8&0xff]^_0x22a201[_0x262cb9&0xff]^_0x2e803f[_0x1e11bd++],_0x2b31be=_0xb5d04[_0x5148da>>>0x18]^_0x58c536[_0x1301ab>>>0x10&0xff]^_0x59c5f1[_0x262cb9>>>0x8&0xff]^_0x22a201[_0x3a0552&0xff]^_0x2e803f[_0x1e11bd++];_0x1301ab=_0x2f5bd4,_0x262cb9=_0x31bc55,_0x3a0552=_0x389d3b,_0x5148da=_0x2b31be;}var _0x2f5bd4=(_0x42807c[_0x1301ab>>>0x18]<<0x18|_0x42807c[_0x262cb9>>>0x10&0xff]<<0x10|_0x42807c[_0x3a0552>>>0x8&0xff]<<0x8|_0x42807c[_0x5148da&0xff])^_0x2e803f[_0x1e11bd++],_0x31bc55=(_0x42807c[_0x262cb9>>>0x18]<<0x18|_0x42807c[_0x3a0552>>>0x10&0xff]<<0x10|_0x42807c[_0x5148da>>>0x8&0xff]<<0x8|_0x42807c[_0x1301ab&0xff])^_0x2e803f[_0x1e11bd++],_0x389d3b=(_0x42807c[_0x3a0552>>>0x18]<<0x18|_0x42807c[_0x5148da>>>0x10&0xff]<<0x10|_0x42807c[_0x1301ab>>>0x8&0xff]<<0x8|_0x42807c[_0x262cb9&0xff])^_0x2e803f[_0x1e11bd++],_0x2b31be=(_0x42807c[_0x5148da>>>0x18]<<0x18|_0x42807c[_0x1301ab>>>0x10&0xff]<<0x10|_0x42807c[_0x262cb9>>>0x8&0xff]<<0x8|_0x42807c[_0x3a0552&0xff])^_0x2e803f[_0x1e11bd++];_0xf30f97[_0x5d51ff]=_0x2f5bd4,_0xf30f97[_0x5d51ff+0x1]=_0x31bc55,_0xf30f97[_0x5d51ff+0x2]=_0x389d3b,_0xf30f97[_0x5d51ff+0x3]=_0x2b31be;},'keySize':0x100/0x20});_0x5409a4[_0xb02097(0x1bc)]=_0x430045[_0xb02097(0x409)](_0x3900ef);}()),_0x39e23e['AES'];}));}(Ve)),Ve[_0x25cb18(0x2d1)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe['exports'],si;function Rn(){var _0x45392b=_0xfab6d2;return si||(si=0x1,function(_0x5034c8,_0x509e56){(function(_0x256398,_0xeea55a){var _0xf81faf=_0xf12a;_0x5034c8[_0xf81faf(0x2d1)]=_0xeea55a(te());}(Cn,function(_0x12fba9){var _0x21ff0=_0xf12a;return _0x12fba9[_0x21ff0(0x2b5)][_0x21ff0(0x248)];}));}(Xe)),Xe[_0x45392b(0x2d1)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0xfab6d2(0x2d1)],ni;function Nn(){return ni||(ni=0x1,function(_0x10b1f9,_0x26a5f9){(function(_0x548e31,_0x36ae46){var _0x9c1491=_0xf12a;_0x10b1f9[_0x9c1491(0x2d1)]=_0x36ae46(te());}(yn,function(_0x715c3d){var _0x5a2cc1=_0xf12a;return(function(){var _0x587ef4=_0xf12a;if(typeof ArrayBuffer==_0x587ef4(0x30e)){var _0x33abae=_0x715c3d,_0x2bf576=_0x33abae[_0x587ef4(0x348)],_0x1b133f=_0x2bf576[_0x587ef4(0x33c)],_0x3e3da3=_0x1b133f['init'],_0x18eeda=_0x1b133f[_0x587ef4(0x3f0)]=function(_0x4b808f){var _0x3b80dd=_0x587ef4;if(_0x4b808f instanceof ArrayBuffer&&(_0x4b808f=new Uint8Array(_0x4b808f)),(_0x4b808f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4b808f instanceof Uint8ClampedArray||_0x4b808f instanceof Int16Array||_0x4b808f instanceof Uint16Array||_0x4b808f instanceof Int32Array||_0x4b808f instanceof Uint32Array||_0x4b808f instanceof Float32Array||_0x4b808f instanceof Float64Array)&&(_0x4b808f=new Uint8Array(_0x4b808f[_0x3b80dd(0x239)],_0x4b808f[_0x3b80dd(0x226)],_0x4b808f[_0x3b80dd(0x3ea)])),_0x4b808f instanceof Uint8Array){for(var _0x378204=_0x4b808f['byteLength'],_0x555eb0=[],_0x5304ad=0x0;_0x5304ad<_0x378204;_0x5304ad++)_0x555eb0[_0x5304ad>>>0x2]|=_0x4b808f[_0x5304ad]<<0x18-_0x5304ad%0x4*0x8;_0x3e3da3[_0x3b80dd(0x3e3)](this,_0x555eb0,_0x378204);}else _0x3e3da3[_0x3b80dd(0x3c8)](this,arguments);};_0x18eeda[_0x587ef4(0x215)]=_0x1b133f;}}()),_0x715c3d[_0x5a2cc1(0x348)][_0x5a2cc1(0x33c)];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0xfab6d2(0x2d1)],ri;function wn(){var _0x59c5a4=_0xfab6d2;return ri||(ri=0x1,function(_0x1ed318,_0x1607e0){(function(_0x5ca78c,_0x509db5,_0x2ce5f1){var _0x2a5fb5=_0xf12a;_0x1ed318[_0x2a5fb5(0x2d1)]=_0x509db5(te(),bi());}(An,function(_0x219b3c){var _0x6a43c9=_0xf12a;return _0x219b3c['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x219b3c[_0x6a43c9(0x209)][_0x6a43c9(0x3da)];}));}(Qe)),Qe[_0x59c5a4(0x2d1)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x6e5c95,_0x3a68c4){var _0x4942eb=_0xfab6d2;const _0x172237=_0x3a68c4-_0x6e5c95[_0x4942eb(0x137)]%_0x3a68c4,_0x57bf47=String[_0x4942eb(0x413)](_0x172237)[_0x4942eb(0x16b)](_0x172237);return _0x6e5c95+_0x57bf47;}function xn(_0x26cc6a,_0x43ccee){var _0x11b44a=_0xfab6d2;const _0x531d81=Un[_0x11b44a(0x262)](0x10),_0x3d6da1=Ln(_0x26cc6a,0x10),_0x5a4450=In[_0x11b44a(0x15a)](bn[_0x11b44a(0x293)](_0x3d6da1),ii[_0x11b44a(0x293)](_0x43ccee),{'iv':_0x531d81,'padding':Mn});return _0x531d81[_0x11b44a(0x3af)](_0x5a4450[_0x11b44a(0x1ef)])[_0x11b44a(0x361)](ii);}function kn(){var _0x24f01b=_0xfab6d2;const _0xaf21e3=_0xa78d44()[_0x24f01b(0x251)];if(_0xaf21e3){const _0x2a997a={'time':Math['floor'](Date[_0x24f01b(0x26a)]()/0x3e8),'domain':location[_0x24f01b(0x2a8)]};return xn(JSON[_0x24f01b(0x1a6)](_0x2a997a),_0xaf21e3);}}var $n=Object[_0xfab6d2(0x32f)],Hn=(_0x3e8088,_0xee597c,_0x55691f,_0x5e9ae9)=>{var _0x520294=_0xfab6d2;for(var _0xa1065f=_0x5e9ae9>0x1?void 0x0:_0x5e9ae9?$n(_0xee597c,_0x55691f):_0xee597c,_0x5c0983=_0x3e8088[_0x520294(0x137)]-0x1,_0x10bf2c;_0x5c0983>=0x0;_0x5c0983--)(_0x10bf2c=_0x3e8088[_0x5c0983])&&(_0xa1065f=_0x10bf2c(_0xa1065f)||_0xa1065f);return _0xa1065f;},Bn=(_0x8a3be,_0x2960ab)=>(_0x35e2b4,_0x4332c4)=>_0x2960ab(_0x35e2b4,_0x4332c4,_0x8a3be);let at=class{constructor(_0xb328d7){var _0x2e0f52=_0xfab6d2;this[_0x2e0f52(0x13c)]=_0xb328d7,this[_0x2e0f52(0x1c1)]();}[_0xfab6d2(0x1c1)](){var _0xe36169=_0xfab6d2;this[_0xe36169(0x13c)]['registerHTTPInterceptor']({'interceptor':(_0x5478d6,_0x2af73e)=>{var _0x1858a1=_0xe36169;const _0x5e0aa5=_0x5478d6['headers'],_0x8835c7=kn();return _0x8835c7&&_0x5e0aa5[_0x1858a1(0x373)](_0x1858a1(0x35b),_0x8835c7),_0x2af73e(_0x5478d6);}});}};at=Hn([Bn(0x0,_0x1ec008(_0x88960))],at);var jn=Object[_0xfab6d2(0x32f)],Fn=(_0x11a58b,_0x261472,_0x5745ae,_0x558115)=>{for(var _0x26c55a=_0x558115>0x1?void 0x0:_0x558115?jn(_0x261472,_0x5745ae):_0x261472,_0x5d49e9=_0x11a58b['length']-0x1,_0x1e9fce;_0x5d49e9>=0x0;_0x5d49e9--)(_0x1e9fce=_0x11a58b[_0x5d49e9])&&(_0x26c55a=_0x1e9fce(_0x26c55a)||_0x26c55a);return _0x26c55a;},vt=(_0x215d48,_0x24fde0)=>(_0x4a5e9e,_0x2af1d0)=>_0x24fde0(_0x4a5e9e,_0x2af1d0,_0x215d48);let Ct=class extends _0x3e5fb6{constructor(_0x595bfd,_0x5045e3,_0x175ac2){var _0x2c0ef8=_0xfab6d2;super(),N(this,'_unitInfo$',new _0x34c731(null)),N(this,_0x2c0ef8(0x3d3),this['_unitInfo$'][_0x2c0ef8(0x365)]()),(this['_logService']=_0x595bfd,this[_0x2c0ef8(0x3c6)]=_0x5045e3,this[_0x2c0ef8(0x154)]=_0x175ac2);}async['loadUnitOfRevision'](_0x259b27,_0x222fa6,_0x598a7f){var _0x454aec=_0xfab6d2;this[_0x454aec(0x2ab)]['next']({'unitId':_0x259b27,'type':_0x222fa6});let _0x240c51=null;switch(_0x222fa6){case Z[_0x454aec(0x22b)]:{_0x240c51=await this[_0x454aec(0x3c6)][_0x454aec(0x1fe)](_0x259b27,_0x598a7f);break;}case Z['UNIVER_DOC']:{_0x240c51=await this[_0x454aec(0x3c6)][_0x454aec(0x2d7)](_0x259b27,_0x598a7f);break;}default:{this[_0x454aec(0x233)][_0x454aec(0x15e)](_0x454aec(0x1b2),_0x454aec(0x228));break;}}return _0x240c51;}async['loadUnit'](_0x2fbfc8,_0x4142e4,_0x408b93){var _0x1436ea=_0xfab6d2,_0x494b88;this[_0x1436ea(0x2ab)]['next']({'unitId':_0x2fbfc8,'type':_0x4142e4,'subUnitId':_0x408b93});let _0x5877b0=0x0;const _0x5e60f7=await((_0x494b88=this[_0x1436ea(0x154)])==null?void 0x0:_0x494b88[_0x1436ea(0x267)](_0x2fbfc8));return _0x5e60f7&&(_0x5e60f7[_0x1436ea(0x17e)]||_0x5e60f7['mutations'][_0x1436ea(0x137)]!==0x0)&&(_0x5877b0=_0x5e60f7[_0x1436ea(0x2a9)]),_0x5877b0===0x0&&this['_logService'][_0x1436ea(0x3fa)](_0x1436ea(0x1b2),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x2fbfc8,_0x4142e4,_0x5877b0);}};Ct=Fn([vt(0x0,_0x4f52f4),vt(0x1,_0x1ec008(_0x7cf64d)),vt(0x2,_0x2d6737(J))],Ct);var Vn=Object[_0xfab6d2(0x32f)],Wn=(_0x237902,_0x40712f,_0xbf5014,_0xd28edd)=>{var _0x562fe4=_0xfab6d2;for(var _0x2d10cd=_0xd28edd>0x1?void 0x0:_0xd28edd?Vn(_0x40712f,_0xbf5014):_0x40712f,_0x47a89f=_0x237902[_0x562fe4(0x137)]-0x1,_0x15c08d;_0x47a89f>=0x0;_0x47a89f--)(_0x15c08d=_0x237902[_0x47a89f])&&(_0x2d10cd=_0x15c08d(_0x2d10cd)||_0x2d10cd);return _0x2d10cd;},pt=(_0x409b62,_0x1699cf)=>(_0x3a9af8,_0x50c3ae)=>_0x1699cf(_0x3a9af8,_0x50c3ae,_0x409b62);const Gn=[_0xfab6d2(0x3b6),_0xfab6d2(0x411),_0xfab6d2(0x2cf),_0xfab6d2(0x3fb),_0xfab6d2(0x238)],Yn=0x5*0x400*0x400,Kn=_0xfab6d2(0x357),qn=_0xfab6d2(0x3e1);let Rt=class{constructor(_0x381f41,_0x2d95bb,_0x18f52d){var _0x14d793=_0xfab6d2;N(this,_0x14d793(0x311),0x0),N(this,'_change$',new _0x5e4ddf()),N(this,_0x14d793(0x42b),this[_0x14d793(0x3a7)]),N(this,_0x14d793(0x39d),new Map()),(this[_0x14d793(0x13c)]=_0x381f41,this[_0x14d793(0x342)]=_0x2d95bb,this[_0x14d793(0x1e7)]=_0x18f52d);}['setWaitCount'](_0x2fa1c8){var _0x16a827=_0xfab6d2;this[_0x16a827(0x311)]=_0x2fa1c8,this[_0x16a827(0x3a7)][_0x16a827(0x43b)](_0x2fa1c8);}[_0xfab6d2(0x155)](_0xe7bd88,_0x310e40){var _0x52e767=_0xfab6d2;if(_0x310e40===_0x4f79d4[_0x52e767(0x22f)]){const _0x233ec9=new Image();return _0x233ec9['src']=_0xe7bd88,_0x233ec9;}return this[_0x52e767(0x39d)][_0x52e767(0x28f)](_0xe7bd88);}['addImageSourceCache'](_0x299d62,_0x429840,_0x13e22a){var _0x2a2be6=_0xfab6d2;_0x429840===_0x4f79d4['BASE64']||_0x13e22a==null||this[_0x2a2be6(0x39d)][_0x2a2be6(0x373)](_0x299d62,_0x13e22a);}async[_0xfab6d2(0x29c)](_0x392f6c){var _0xea7dd4=_0xfab6d2;try{const _0xf616a5=this[_0xea7dd4(0x3f7)](this[_0xea7dd4(0x181)](),''+_0x392f6c),_0x5c6db4=(await this[_0xea7dd4(0x13c)][_0xea7dd4(0x28f)](_0xf616a5))[_0xea7dd4(0x2bf)];if(_0x5c6db4[_0xea7dd4(0x15e)]&&_0x5c6db4['error'][_0xea7dd4(0x344)]===vi['OK']){const _0x31a509=new URL(_0x5c6db4[_0xea7dd4(0x434)],this[_0xea7dd4(0x32b)]())[_0xea7dd4(0x361)]();return Promise[_0xea7dd4(0x216)](_0x31a509);}return Promise[_0xea7dd4(0x439)](_0x5c6db4['error']);}catch(_0x248410){return Promise['reject'](_0x248410);}}async[_0xfab6d2(0x1d9)](_0x1f73f5){var _0x280c09=_0xfab6d2;let _0x415489='';if(!Gn[_0x280c09(0x398)](_0x1f73f5[_0x280c09(0x1cc)]))return this[_0x280c09(0x27e)](),Promise['reject'](new Error(_0x37046e[_0x280c09(0x302)]));if(_0x1f73f5[_0x280c09(0x1ac)]>Yn)return this[_0x280c09(0x27e)](),Promise[_0x280c09(0x439)](new Error(_0x37046e[_0x280c09(0x19a)]));try{const _0x355ff5=new FormData();_0x355ff5['append'](_0x280c09(0x24d),_0x1f73f5);const _0x25d6f6=this[_0x280c09(0x1e7)][_0x280c09(0x313)](),_0x365a1a=_0x25d6f6==null?void 0x0:_0x25d6f6[_0x280c09(0x375)]();if(!_0x365a1a)throw new Error(_0x280c09(0x353));const _0xadb301=this['_getUploadFileURL']()+_0x280c09(0x33b)+_0x1f73f5['size'][_0x280c09(0x361)]()+_0x280c09(0x336)+pi[_0x280c09(0x274)]+_0x280c09(0x1ba)+encodeURIComponent(_0x365a1a),_0x30a477={'body':_0x355ff5},_0xc74f0=(await this[_0x280c09(0x13c)][_0x280c09(0x1d1)](_0xadb301,_0x30a477))[_0x280c09(0x2bf)];if(typeof _0xc74f0['FileId']!=_0x280c09(0x201))return this[_0x280c09(0x27e)](),Promise[_0x280c09(0x439)](new Error(_0x37046e['ERROR_IMAGE']));_0x415489=_0xc74f0[_0x280c09(0x182)];}catch{return this[_0x280c09(0x27e)](),Promise['reject'](new Error(_0x37046e[_0x280c09(0x38f)]));}return new Promise((_0x380097,_0x1f5253)=>{var _0x4d3b28=_0x280c09;const _0x216d62=new FileReader();_0x216d62[_0x4d3b28(0x388)](_0x1f73f5),_0x216d62['onload']=_0x562668=>{var _0x1dc91e=_0x4d3b28,_0x44dbf7;const _0x4195ef=(_0x44dbf7=_0x562668[_0x1dc91e(0x3b8)])==null?void 0x0:_0x44dbf7[_0x1dc91e(0x29a)];if(_0x4195ef==null){this[_0x1dc91e(0x27e)](),_0x1f5253(new Error(_0x37046e[_0x1dc91e(0x38f)]));return;}const _0x8f682d=_0x36ed4a(0x6);_0x380097({'imageId':_0x8f682d,'imageSourceType':_0x4f79d4[_0x1dc91e(0x160)],'source':_0x415489,'base64Cache':_0x4195ef,'status':_0x37046e[_0x1dc91e(0x16d)]}),this[_0x1dc91e(0x27e)]();};});}[_0xfab6d2(0x1b8)](){var _0x5c24b8=_0xfab6d2,_0x8ba5b1;const _0x5f513e=this['_configService'][_0x5c24b8(0x2b1)](K);return(_0x8ba5b1=_0x5f513e==null?void 0x0:_0x5f513e['uploadFileServerUrl'])!=null?_0x8ba5b1:Kn;}[_0xfab6d2(0x181)](){var _0x77b82f=_0xfab6d2,_0x13e3cd;const _0x477d02=this['_configService'][_0x77b82f(0x2b1)](K);return(_0x13e3cd=_0x477d02==null?void 0x0:_0x477d02[_0x77b82f(0x383)])!=null?_0x13e3cd:qn;}[_0xfab6d2(0x32b)](){var _0x178ae8=_0xfab6d2,_0x2ead84;const _0x50dc08=this['_configService'][_0x178ae8(0x2b1)](K);return(_0x2ead84=_0x50dc08==null?void 0x0:_0x50dc08[_0x178ae8(0x416)])!=null?_0x2ead84:location[_0x178ae8(0x2ee)];}['_replaceFileID'](_0x365de3,_0x2cd884){var _0x13373b=_0xfab6d2;return _0x365de3[_0x13373b(0x30f)]('{fileID}',_0x2cd884);}[_0xfab6d2(0x27e)](){var _0x1b870a=_0xfab6d2;this[_0x1b870a(0x311)]-=0x1,this['_change$']['next'](this['_waitCount']);}};Rt=Wn([pt(0x0,_0x1ec008(_0x88960)),pt(0x1,_0x18e3ec),pt(0x2,_0x1ec008(_0x89562d))],Rt);var zn=Object[_0xfab6d2(0x32f)],Jn=(_0x2ac657,_0x34c6d4,_0x5e75a9,_0x29a690)=>{var _0x424568=_0xfab6d2;for(var _0x589144=_0x29a690>0x1?void 0x0:_0x29a690?zn(_0x34c6d4,_0x5e75a9):_0x34c6d4,_0xa88300=_0x2ac657[_0x424568(0x137)]-0x1,_0x340397;_0xa88300>=0x0;_0xa88300--)(_0x340397=_0x2ac657[_0xa88300])&&(_0x589144=_0x340397(_0x589144)||_0x589144);return _0x589144;},ai=(_0x10d703,_0x185c7b)=>(_0x48f92a,_0x54dd48)=>_0x185c7b(_0x48f92a,_0x54dd48,_0x10d703);const Xn=_0xfab6d2(0x27a);let Ot=class{constructor(_0x4a766f,_0xbe2503){var _0x462797=_0xfab6d2;this['_configService']=_0x4a766f,this[_0x462797(0x2eb)]=_0xbe2503;}[_0xfab6d2(0x275)](){var _0x189238=_0xfab6d2,_0x2bb130;const _0x386ca6=this[_0x189238(0x342)][_0x189238(0x2b1)](K);return(_0x2bb130=_0x386ca6==null?void 0x0:_0x386ca6['authzUrl'])!=null?_0x2bb130:Xn;}async[_0xfab6d2(0x289)](_0x320242){var _0x216183=_0xfab6d2;const _0x137ac3=this[_0x216183(0x275)]()+_0x216183(0x386);return{'list':[{'title':_0x216183(0x281),'mentions':(await this[_0x216183(0x2eb)][_0x216183(0x28f)](_0x137ac3,{'params':{'objectID':_0x320242[_0x216183(0x317)],'unitID':_0x320242[_0x216183(0x317)]}}))[_0x216183(0x2bf)][_0x216183(0x3a3)][_0x216183(0x217)](_0x1c596e=>({'objectId':_0x1c596e['id'],'name':_0x1c596e[_0x216183(0x259)][_0x216183(0x3b9)],'metadata':{'icon':_0x1c596e['subject'][_0x216183(0x20e)]},'label':_0x1c596e['subject'][_0x216183(0x3b9)],'objectType':_0x325807[_0x216183(0x316)]})),'metadata':{},'type':_0x325807[_0x216183(0x316)]}]};}};Ot=Jn([ai(0x0,_0x1ec008(_0x18e3ec)),ai(0x1,_0x1ec008(_0x88960))],Ot);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0xf62fd4,_0x11a2a6,_0x3486b6,_0xe7cb75)=>{var _0x5e00b5=_0xfab6d2;for(var _0x113cff=_0xe7cb75>0x1?void 0x0:_0xe7cb75?Zn(_0x11a2a6,_0x3486b6):_0x11a2a6,_0x5a7bfb=_0xf62fd4[_0x5e00b5(0x137)]-0x1,_0x3662c9;_0x5a7bfb>=0x0;_0x5a7bfb--)(_0x3662c9=_0xf62fd4[_0x5a7bfb])&&(_0x113cff=_0x3662c9(_0x113cff)||_0x113cff);return _0x113cff;},Ue=(_0x486c08,_0x29f3a4)=>(_0x34627c,_0x3060bc)=>_0x29f3a4(_0x34627c,_0x3060bc,_0x486c08);let ot=class extends _0x3e5fb6{constructor(_0x409d1d,_0x534d39,_0x2b74fa,_0x3c9660,_0x34c8c0){var _0x15f94c=_0xfab6d2;super(),this[_0x15f94c(0x1cd)]=_0x409d1d,this['_univerInstanceService']=_0x534d39,this['_permissionService']=_0x2b74fa,this[_0x15f94c(0x276)]=_0x3c9660,this[_0x15f94c(0x40f)]=_0x34c8c0,this[_0x15f94c(0x2e4)](),this[_0x15f94c(0x3d9)]();}[_0xfab6d2(0x3d9)](){var _0x41baf6=_0xfab6d2;const _0x47a06a=async _0x2b1287=>{var _0x164238=_0xf12a;(await this[_0x164238(0x276)]['requireSession'](_0x2b1287))[_0x164238(0x3f8)][_0x164238(0x2d3)](_0x3899b5(_0x46d68a=>_0x46d68a[_0x164238(0x358)]===_0xd22ea0[_0x164238(0x39a)]),_0x2e4983(this[_0x164238(0x161)]))[_0x164238(0x164)](_0x119961=>{var _0x21bc1a=_0x164238;const _0x3f63ce=_0x119961,{reason:_0x2b6b53}=_0x3f63ce[_0x21bc1a(0x2fb)];this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x21bc1a(0x3cc)],'data':_0x2b6b53}),this[_0x21bc1a(0x36c)][_0x21bc1a(0x1df)](new _0x3007e9(_0x2b1287)['id'],!0x1),this[_0x21bc1a(0x276)]['closeSession'](_0x2b1287);});};_0x4acd01(this[_0x41baf6(0x1e7)]['getTypeOfUnitAdded$'](_0x4d5d8c[_0x41baf6(0x22b)]),this[_0x41baf6(0x1e7)][_0x41baf6(0x364)](_0x4d5d8c[_0x41baf6(0x1b4)]))[_0x41baf6(0x2d3)](_0x1c40aa(_0x4933b8=>_0x4933b8['getUnitId']()),_0x3899b5(_0x3c8679=>!_0x3bfbab(_0x3c8679)),_0x2e4983(this[_0x41baf6(0x161)]))[_0x41baf6(0x164)](_0x468bdf=>{_0x47a06a(_0x468bdf);});}[_0xfab6d2(0x2e4)](){var _0x1d0a40=_0xfab6d2;const _0x4be2fd=async _0x3cd77d=>{var _0x2db18e=_0xf12a;const _0x398b6e=await this[_0x2db18e(0x276)][_0x2db18e(0x21e)](_0x3cd77d),_0x49153c=this[_0x2db18e(0x1cd)][_0x2db18e(0x28f)](_0x4bada6);_0x398b6e['event$'][_0x2db18e(0x2d3)](_0x3899b5(_0x3d4e8c=>_0x3d4e8c[_0x2db18e(0x358)]===_0xd22ea0[_0x2db18e(0x37a)]),_0x2e4983(this[_0x2db18e(0x161)]))['subscribe'](_0x4cdd29=>{var _0x599003=_0x2db18e;const _0x50bdec=_0x4cdd29,{objectId:_0x3919f4}=_0x50bdec['data'];_0x3919f4===_0x3cd77d?_0x49153c[_0x599003(0x3fe)](_0x3cd77d):_0x49153c['refreshPermission'](_0x3cd77d,_0x3919f4);});};_0x4acd01(this[_0x1d0a40(0x1e7)][_0x1d0a40(0x364)](_0x4d5d8c[_0x1d0a40(0x22b)]))[_0x1d0a40(0x2d3)](_0x1c40aa(_0x13f813=>_0x13f813[_0x1d0a40(0x375)]()),_0x3899b5(_0x12e495=>!_0x3bfbab(_0x12e495)),_0x2e4983(this[_0x1d0a40(0x161)]))[_0x1d0a40(0x164)](_0x1e3977=>{_0x4be2fd(_0x1e3977);});}};ot=Qn([Ue(0x0,_0x1ec008(_0x2d0003)),Ue(0x1,_0x89562d),Ue(0x2,_0x3bbb1a),Ue(0x3,_0x1ec008(Pe)),Ue(0x4,_0x1ec008(ve))],ot);var er=Object[_0xfab6d2(0x32f)],tr=(_0x1f0969,_0x38b9f8,_0x2db476,_0x284980)=>{var _0x28450a=_0xfab6d2;for(var _0x3ed23a=_0x284980>0x1?void 0x0:_0x284980?er(_0x38b9f8,_0x2db476):_0x38b9f8,_0x2e1812=_0x1f0969[_0x28450a(0x137)]-0x1,_0x901775;_0x2e1812>=0x0;_0x2e1812--)(_0x901775=_0x1f0969[_0x2e1812])&&(_0x3ed23a=_0x901775(_0x3ed23a)||_0x3ed23a);return _0x3ed23a;},oi=(_0x3ba2e7,_0x2f7560)=>(_0x1dd1e6,_0x59109a)=>_0x2f7560(_0x1dd1e6,_0x59109a,_0x3ba2e7);let bt=class{constructor(_0x2b9b24,_0x986388){var _0xb42ab1=_0xfab6d2;this[_0xb42ab1(0x342)]=_0x2b9b24,this[_0xb42ab1(0x13c)]=_0x986388;}async[_0xfab6d2(0x298)](_0x1916db,_0x5e71db){var _0x240a91=_0xfab6d2,_0x5c208b;const {unitID:_0x334a70,type:_0x1990d1,revision:_0x366b48=0x0}=_0x5e71db,_0xac3ac2=this[_0x240a91(0x22a)]()+'/'+_0x1990d1+_0x240a91(0x3c2)+_0x334a70+_0x240a91(0x446)+_0x366b48,_0x1db3f4=(await this['_httpService']['get'](_0xac3ac2))[_0x240a91(0x2bf)],_0x69d21e=(_0x5c208b=_0x1db3f4[_0x240a91(0x220)])==null?void 0x0:_0x5c208b[_0x240a91(0x3b7)];if(_0x69d21e){const _0x46ea8d=_0x69d21e==null?void 0x0:_0x69d21e[_0x240a91(0x2d2)],_0x230955=_0x1b1874[_0x240a91(0x3f6)](_0x2f643a(_0x46ea8d));_0x69d21e[_0x240a91(0x2d2)]=_0x230955,Object[_0x240a91(0x18b)](_0x69d21e[_0x240a91(0x14f)])[_0x240a91(0x18a)](([,_0x670100])=>{var _0x4daeb5=_0x240a91;const _0x175868=_0x670100[_0x4daeb5(0x2d2)],_0x19bd6f=_0x1b1874[_0x4daeb5(0x3f6)](_0x2f643a(_0x175868));_0x670100[_0x4daeb5(0x2d2)]=_0x19bd6f;});}return _0x1db3f4;}async[_0xfab6d2(0x1af)](_0x2848c8,_0x79714b){var _0x33c87f=_0xfab6d2;const {unitID:_0x38d2a2,type:_0x2ea9f4,blockID:_0x2355d4}=_0x79714b,_0x4d7bcb=this[_0x33c87f(0x3bc)]()+'/'+_0x2ea9f4+_0x33c87f(0x3c2)+_0x38d2a2+_0x33c87f(0x328)+_0x2355d4;return(await this[_0x33c87f(0x13c)][_0x33c87f(0x28f)](_0x4d7bcb))[_0x33c87f(0x2bf)];}async[_0xfab6d2(0x407)](_0x5ddf80,_0xca8651){var _0x571afd=_0xfab6d2;const {unitID:_0x1799a0,type:_0x4c4ad0,blockID:_0x24d251}=_0xca8651,_0x3790e3=this[_0x571afd(0x3bc)]()+_0x571afd(0x328)+_0x4c4ad0+_0x571afd(0x3c2)+_0x1799a0+_0x571afd(0x328)+_0x24d251;return(await this[_0x571afd(0x13c)]['get'](_0x3790e3))[_0x571afd(0x2bf)];}async['fetchMissingChangesets'](_0x5a882a,_0x5df175){var _0x2e79b4=_0xfab6d2;const {unitID:_0xd528dd,type:_0x2c7483,from:_0x470f5d,to:_0x4caf6e}=_0x5df175,_0x39daec=this['_getAPIPrefix']()+'/'+_0x2c7483+_0x2e79b4(0x3c2)+_0xd528dd+'/fetchmissing?from='+_0x470f5d+_0x2e79b4(0x13e)+_0x4caf6e;return(await this['_httpService']['get'](_0x39daec))['body'];}[_0xfab6d2(0x22a)](){var _0x976c2a=_0xfab6d2,_0x43526c;return(_0x43526c=this[_0x976c2a(0x342)][_0x976c2a(0x2b1)](vs))!=null?_0x43526c:this[_0x976c2a(0x3bc)]();}[_0xfab6d2(0x3bc)](){var _0x5e28b3=_0xfab6d2,_0x27fa41;const _0x491cad=this[_0x5e28b3(0x342)]['getConfig'](K);return(_0x27fa41=_0x491cad==null?void 0x0:_0x491cad[_0x5e28b3(0x354)])!=null?_0x27fa41:fs;}async[_0xfab6d2(0x1c0)](_0x979436,_0x1bbf83){var _0x437fe6=_0xfab6d2;const _0x497ea6='/universer-api/snapshot/'+_0x1bbf83['type']+_0x437fe6(0x3c2)+_0x1bbf83['unitID']+_0x437fe6(0x2ea);return(await this[_0x437fe6(0x13c)][_0x437fe6(0x28f)](_0x497ea6,{'params':{'resourceId':JSON[_0x437fe6(0x1a6)](_0x1bbf83[_0x437fe6(0x234)])}}))[_0x437fe6(0x2bf)];}['saveSnapshot'](){var _0x360e2f=_0xfab6d2;throw new Error(_0x360e2f(0x33a));}[_0xfab6d2(0x425)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x58b7ea=_0xfab6d2;throw new Error(_0x58b7ea(0x33a));}[_0xfab6d2(0x203)](){var _0x55051a=_0xfab6d2;throw new Error(_0x55051a(0x33a));}[_0xfab6d2(0x1ec)](){var _0x39a34b=_0xfab6d2;throw new Error(_0x39a34b(0x33a));}[_0xfab6d2(0x14d)](){var _0x2f3295=_0xfab6d2;throw new Error(_0x2f3295(0x33a));}};bt=tr([oi(0x0,_0x18e3ec),oi(0x1,_0x1ec008(_0x88960))],bt);var ir=Object[_0xfab6d2(0x32f)],sr=(_0x352233,_0x33b7ee,_0x29c6e4,_0x4e8a91)=>{for(var _0x3b6672=_0x4e8a91>0x1?void 0x0:_0x4e8a91?ir(_0x33b7ee,_0x29c6e4):_0x33b7ee,_0x48073c=_0x352233['length']-0x1,_0x515bc5;_0x48073c>=0x0;_0x48073c--)(_0x515bc5=_0x352233[_0x48073c])&&(_0x3b6672=_0x515bc5(_0x3b6672)||_0x3b6672);return _0x3b6672;},Ae=(_0x4464db,_0x5de9c0)=>(_0x2d1a72,_0x551eba)=>_0x5de9c0(_0x2d1a72,_0x551eba,_0x4464db);let yt=class extends _0xf1cea{constructor(_0xcc597b,_0x221208,_0x2a860e,_0x183659,_0x1d11ed){var _0x11bfda=_0xfab6d2;super(_0xcc597b,_0x221208,_0x2a860e),this[_0x11bfda(0x40a)]=_0x183659,this[_0x11bfda(0x233)]=_0x1d11ed;}[_0xfab6d2(0x23b)](_0x1bf36c,_0x4e0670){var _0x1f49fb=_0xfab6d2;const _0x5dc701=this[_0x1f49fb(0x237)](_0x1bf36c);if(_0x5dc701)try{const _0x1eaf88=this['_transformStack'](_0x5dc701,_0x4e0670);this[_0x1f49fb(0x264)](_0x1bf36c,_0x1eaf88);}catch(_0x4e72a9){this[_0x1f49fb(0x233)][_0x1f49fb(0x15e)](_0x1f49fb(0x34d),_0x4e72a9),this[_0x1f49fb(0x20a)](_0x1bf36c);}const _0xaf9cb6=this[_0x1f49fb(0x3d6)](_0x1bf36c);if(_0xaf9cb6)try{const _0x4b52e0=this[_0x1f49fb(0x24c)](_0xaf9cb6,_0x4e0670);this[_0x1f49fb(0x323)](_0x1bf36c,_0x4b52e0);}catch(_0x4ded37){this[_0x1f49fb(0x233)][_0x1f49fb(0x15e)](_0x4ded37),this[_0x1f49fb(0x171)](_0x1bf36c);}}[_0xfab6d2(0x20a)](_0x1f7b58){var _0x10e577=_0xfab6d2;const _0x287a13=this['_getUndoStack'](_0x1f7b58);_0x287a13&&(_0x287a13[_0x10e577(0x137)]=0x0,this['_updateStatus']());}[_0xfab6d2(0x171)](_0x101d83){var _0x5721ce=_0xfab6d2;const _0x4d6aba=this[_0x5721ce(0x3d6)](_0x101d83);_0x4d6aba&&(_0x4d6aba[_0x5721ce(0x137)]=0x0,this[_0x5721ce(0x1dd)]());}['_substituteUndoStack'](_0x28c5da,_0x16a353){var _0x53d2c7=_0xfab6d2;this[_0x53d2c7(0x3a2)][_0x53d2c7(0x373)](_0x28c5da,_0x16a353),this[_0x53d2c7(0x1dd)]();}[_0xfab6d2(0x323)](_0x164773,_0x4fb7c4){var _0x12e399=_0xfab6d2;this['_redoStacks'][_0x12e399(0x373)](_0x164773,_0x4fb7c4),this[_0x12e399(0x1dd)]();}[_0xfab6d2(0x24c)](_0x411335,_0x19d9be){var _0x1431b9=_0xfab6d2;const _0x40d645=[];let _0x25203a=_0x19d9be,_0x37d703=_0x19d9be;for(let _0x335f16=_0x411335[_0x1431b9(0x137)]-0x1;_0x335f16>=0x0;_0x335f16--){const {unitID:_0x16f22d,undoMutations:_0x2aa158,redoMutations:_0x281823}=_0x411335[_0x335f16],_0x5b1d41=this[_0x1431b9(0x40a)][_0x1431b9(0x2e1)](_0x25203a,_0x2aa158),_0x479ed0=this[_0x1431b9(0x40a)][_0x1431b9(0x2e1)](_0x37d703,_0x281823);if(_0x56d5f4(_0x5b1d41)||_0x56d5f4(_0x479ed0)){this[_0x1431b9(0x233)][_0x1431b9(0x15e)]('[CollaborationUndoRedoService]',_0x1431b9(0x3eb),_0x5b1d41,_0x479ed0);break;}_0x25203a=_0x5b1d41[_0x1431b9(0x22e)],_0x37d703=_0x479ed0['c1Prime'],_0x40d645['push']({'unitID':_0x16f22d,'undoMutations':_0x5b1d41[_0x1431b9(0x2bb)],'redoMutations':_0x479ed0[_0x1431b9(0x2bb)]});}return _0x40d645['reverse']();}};yt=sr([Ae(0x0,_0x89562d),Ae(0x1,_0x270fc1),Ae(0x2,_0x42154f),Ae(0x3,_0x14d8dd),Ae(0x4,_0x4f52f4)],yt);var nr=Object[_0xfab6d2(0x254)],rr=Object['getOwnPropertyDescriptor'],ar=(_0xffd1db,_0x508e63,_0x4c8641)=>_0x508e63 in _0xffd1db?nr(_0xffd1db,_0x508e63,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c8641}):_0xffd1db[_0x508e63]=_0x4c8641,or=(_0x20b1c2,_0x4171b7,_0x41cbfc,_0x11cb89)=>{var _0x3f4ea7=_0xfab6d2;for(var _0x432f00=_0x11cb89>0x1?void 0x0:_0x11cb89?rr(_0x4171b7,_0x41cbfc):_0x4171b7,_0x1a38f2=_0x20b1c2[_0x3f4ea7(0x137)]-0x1,_0x4c9a3a;_0x1a38f2>=0x0;_0x1a38f2--)(_0x4c9a3a=_0x20b1c2[_0x1a38f2])&&(_0x432f00=_0x4c9a3a(_0x432f00)||_0x432f00);return _0x432f00;},mt=(_0x38f107,_0x460567)=>(_0x179394,_0x2edfa8)=>_0x460567(_0x179394,_0x2edfa8,_0x38f107),cr=(_0x18cad6,_0x4aba04,_0x4bb45c)=>ar(_0x18cad6,_0x4aba04+'',_0x4bb45c);const hr=_0xfab6d2(0x191);let Nt=class extends _0x1d31e2{constructor(_0x338e99,_0x4f9346,_0x356f48,_0x1c51fb){var _0x2a99d7=_0xfab6d2;super(),N(this,'_config'),(this[_0x2a99d7(0x233)]=_0x4f9346,this[_0x2a99d7(0x1cd)]=_0x356f48,this[_0x2a99d7(0x342)]=_0x1c51fb);const {..._0x313243}=_0x2f764c({},Os,_0x338e99);if(!_0x313243['socketService'])throw new Error(_0x2a99d7(0x3ca));this[_0x2a99d7(0x1f3)]=_0x313243,this[_0x2a99d7(0x342)][_0x2a99d7(0x340)](K,_0x313243);}[_0xfab6d2(0x2c8)](){var _0x3e883c=_0xfab6d2;this[_0x3e883c(0x360)](),this['_initDependencies']();}[_0xfab6d2(0x360)](){var _0x16d39d=_0xfab6d2,_0x59a356,_0x516670;this[_0x16d39d(0x1cd)][_0x16d39d(0x235)](_0x4a8d02)&&this[_0x16d39d(0x233)][_0x16d39d(0x15e)](_0x16d39d(0x1d4),_0x16d39d(0x35f));const _0x49d702=_0x1e7fe5([[_0x4a8d02,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x16d39d(0x1f3)][_0x16d39d(0x14e)]}],[_0x3aee42,{'useClass':bt}],[_0x359dd5,{'useClass':Tt}],[_0x3f8d80,{'useClass':Rt}],[_0x131be2,{'useClass':Ot}],[nt],[It]],(_0x59a356=this[_0x16d39d(0x1f3)])==null?void 0x0:_0x59a356['override']);if(!((_0x516670=this[_0x16d39d(0x1f3)])!=null&&_0x516670[_0x16d39d(0x17c)])){const _0x2dc275=_0x49d702[_0x16d39d(0x1b3)](([_0xb59f5b])=>_0xb59f5b===ht);_0x2dc275!==-0x1&&_0x49d702[_0x16d39d(0x21d)](_0x2dc275,0x1);}_0x3ced27(this['_injector'],_0x49d702);}[_0xfab6d2(0x444)](){var _0x3d585b=_0xfab6d2,_0x15309e,_0x2a5166,_0x576240;this['_injector'][_0x3d585b(0x28f)](_0x88960)[_0x3d585b(0x34b)]({'priority':0x14,'interceptor':_0xb20f61({'maxParallel':0x6})}),(_0x15309e=this[_0x3d585b(0x1f3)])!=null&&_0x15309e['enableOfflineEditing']||(_0x2a5166=this[_0x3d585b(0x1cd)]['get'](J,_0x302fec[_0x3d585b(0x362)]))==null||_0x2a5166[_0x3d585b(0x30a)](),(_0x576240=this[_0x3d585b(0x1f3)])!=null&&_0x576240['enableAuthServer']&&_0x17a478(this[_0x3d585b(0x1cd)],[[rt]]),_0x17a478(this[_0x3d585b(0x1cd)],[[at],[nt],[ot]]);}};cr(Nt,_0xfab6d2(0x40b),hr),Nt=or([_0x23b144(_0x2cc9b0,_0x24c4f6),mt(0x1,_0x4f52f4),mt(0x2,_0x1ec008(_0x2d0003)),mt(0x3,_0x18e3ec)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};
1
+ var _0x5c5167=_0xb5db;(function(_0xff6362,_0x1add27){var _0x44b72e=_0xb5db,_0x3f0e6b=_0xff6362();while(!![]){try{var _0x541c99=-parseInt(_0x44b72e(0x27c))/0x1*(-parseInt(_0x44b72e(0x249))/0x2)+parseInt(_0x44b72e(0x243))/0x3*(parseInt(_0x44b72e(0x1d1))/0x4)+-parseInt(_0x44b72e(0x463))/0x5+-parseInt(_0x44b72e(0x41a))/0x6*(parseInt(_0x44b72e(0x346))/0x7)+-parseInt(_0x44b72e(0x2fe))/0x8*(parseInt(_0x44b72e(0x3d5))/0x9)+parseInt(_0x44b72e(0x337))/0xa*(-parseInt(_0x44b72e(0x3b7))/0xb)+parseInt(_0x44b72e(0x2c4))/0xc*(-parseInt(_0x44b72e(0x1c6))/0xd);if(_0x541c99===_0x1add27)break;else _0x3f0e6b['push'](_0x3f0e6b['shift']());}catch(_0x5607e7){_0x3f0e6b['push'](_0x3f0e6b['shift']());}}}(_0x1b1a,0xceef4));var yi=Object[_0x5c5167(0x3a7)],Ni=(_0x161f50,_0x3fdd0f,_0x4c607e)=>_0x3fdd0f in _0x161f50?yi(_0x161f50,_0x3fdd0f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c607e}):_0x161f50[_0x3fdd0f]=_0x4c607e,N=(_0x2545d1,_0x2555e5,_0x581a63)=>Ni(_0x2545d1,typeof _0x2555e5!=_0x5c5167(0x394)?_0x2555e5+'':_0x2555e5,_0x581a63);import{createIdentifier as _0x561e1a,Inject as _0x307146,Injector as _0x4b4f54,IConfigService as _0x4d0e1d,ILogService as _0x3eb14a,Disposable as _0x3bee79,DisposableCollection as _0xf860a,toDisposable as _0x56b292,IUniverInstanceService as _0x4e8bc9,UserManagerService as _0xd2f4a2,UniverInstanceType as _0x33d220,Optional as _0x4fe35e,RxDisposable as _0x2049da,Tools as _0x2af291,Rectangle as _0x25b521,ICommandService as _0x326877,JSONX as _0x1349a4,CommandType as _0x4cdb45,IUndoRedoService as _0x202bc0,IPermissionService as _0xeeb0ba,LocaleService as _0x398834,sequenceExecute as _0x301a64,Workbook as _0x1eb668,generateRandomId as _0x2d971a,MentionType as _0x336a24,isInternalEditorID as _0x850165,LocalUndoRedoService as _0x500ac5,IContextService as _0x4a1dd4,DependentOn as _0x22b3c8,Plugin as _0x10914a,merge as _0x143d2f,mergeOverrideWithDependencies as _0x5df389,IAuthzIoService as _0x35e7f9,IMentionIOService as _0x2bf655,registerDependencies as _0x5bdf6c,Quantity as _0x3cd0a0,touchDependencies as _0x260f3b}from'@univerjs/core';import{Subject as _0x431a14,merge as _0x3eede2,of as _0xe3ff1f,BehaviorSubject as _0x582d2e,takeUntil as _0x51a064,ReplaySubject as _0x433b08,take as _0x2113af,map as _0x91e2e7,shareReplay as _0x492df6,firstValueFrom as _0x2108e1,concatMap as _0x469838}from'rxjs';import{map as _0x4aa1f9,take as _0x112619,filter as _0x10a3bd,delay as _0xb4b242,takeUntil as _0x4a63bb}from'rxjs/operators';import{CollaborationEvent as _0x49bb1d,ISnapshotServerService as _0x6f2ce2,parseChangesetToProtocol as _0x46f964,ITransformService as _0x5d37ab,isTransformMutationsWithChangesetSuccess as _0x297f9b,mapDocumentTypeToUniverType as _0x4267ab,RevisionService as _0x4b9485,isTransformChangesetsSuccess as _0x2be158,CompressMutationService as _0x16b727,parseProtocolChangeset as _0x5cfbfd,uuidv4 as _0x394e74,SnapshotService as _0x6a9957,textEncoder as _0x36d89b,b64DecodeUnicode as _0x38e176,isTransformMutationsWithChangesetFailure as _0x1cfc54,UniverCollaborationPlugin as _0x3739e9}from'@univerjs-pro/collaboration';import{HTTPService as _0x4f1e64,ISocketService as _0x420ca8,MergeInterceptorFactory as _0x1c56f5,HTTPRequest as _0x346018,UniverNetworkPlugin as _0xa0e625,ThresholdInterceptorFactory as _0x399e94}from'@univerjs/network';import{ITelemetryService as _0x17a61e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x381cca}from'@univerjs/docs';import{SheetsSelectionsService as _0x8b834b,SetSelectionsOperation as _0x40d1b7,InsertSheetMutation as _0x1e465c,EmptyMutation as _0x1b4146,WorkbookEditablePermission as _0x5996a1,SheetPermissionInitController as _0x37ee35}from'@univerjs/sheets';import{ImageSourceType as _0x225419,ImageUploadStatusType as _0x2f1563,IImageIoService as _0xa1ae90}from'@univerjs/drawing';import{getGlobalObject as _0xf395b0}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x5c5167(0x485),ps=0x7d0,ms=_0x5c5167(0x31e),Ir=_0x5c5167(0x433),gs='HEARTBEAT_INTERVAL',Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x5c5167(0x1f8),Cr=0x3e8,Cs=_0x5c5167(0x1ab),Rs=_0x5c5167(0x1c1),Rr=_0x5c5167(0x3ad),Or='/universer-api/uniscript';var vi=(_0x147b66=>(_0x147b66[_0x147b66[_0x5c5167(0x3e8)]=0x0]='UNDEFINED',_0x147b66[_0x147b66['OK']=0x1]='OK',_0x147b66[_0x147b66[_0x5c5167(0x201)]=0x2]=_0x5c5167(0x201),_0x147b66[_0x147b66[_0x5c5167(0x19f)]=0x3]=_0x5c5167(0x19f),_0x147b66[_0x147b66[_0x5c5167(0x263)]=0x4]=_0x5c5167(0x263),_0x147b66[_0x147b66[_0x5c5167(0x204)]=0x5]=_0x5c5167(0x204),_0x147b66[_0x147b66[_0x5c5167(0x32d)]=0x6]='ALREADY_EXISTS',_0x147b66[_0x147b66['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x147b66[_0x147b66[_0x5c5167(0x24f)]=0x8]=_0x5c5167(0x24f),_0x147b66[_0x147b66[_0x5c5167(0x1d8)]=0x9]=_0x5c5167(0x1d8),_0x147b66[_0x147b66[_0x5c5167(0x23e)]=0xa]=_0x5c5167(0x23e),_0x147b66[_0x147b66[_0x5c5167(0x2ca)]=0xb]=_0x5c5167(0x2ca),_0x147b66[_0x147b66['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x5c5167(0x3dd),_0x147b66[_0x147b66[_0x5c5167(0x39d)]=0xd]=_0x5c5167(0x39d),_0x147b66[_0x147b66[_0x5c5167(0x306)]=0xe]=_0x5c5167(0x306),_0x147b66[_0x147b66[_0x5c5167(0x284)]=0x1389]=_0x5c5167(0x284),_0x147b66[_0x147b66[_0x5c5167(0x1d7)]=0x1771]=_0x5c5167(0x1d7),_0x147b66[_0x147b66[_0x5c5167(0x1b8)]=0x1772]=_0x5c5167(0x1b8),_0x147b66[_0x147b66[_0x5c5167(0x491)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x147b66[_0x147b66['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x147b66[_0x147b66[_0x5c5167(0x2af)]=0x1b5a]=_0x5c5167(0x2af),_0x147b66[_0x147b66[_0x5c5167(0x3f5)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x147b66[_0x147b66[_0x5c5167(0x2f7)]=0x1b5c]=_0x5c5167(0x2f7),_0x147b66[_0x147b66[_0x5c5167(0x2df)]=0x1b5d]=_0x5c5167(0x2df),_0x147b66[_0x147b66[_0x5c5167(0x366)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x147b66[_0x147b66[_0x5c5167(0x2a8)]=0x2329]=_0x5c5167(0x2a8),_0x147b66[_0x147b66['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5c5167(0x264),_0x147b66[_0x147b66['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5c5167(0x409),_0x147b66[_0x147b66[_0x5c5167(0x2db)]=0x232c]=_0x5c5167(0x2db),_0x147b66[_0x147b66[_0x5c5167(0x2da)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x147b66[_0x147b66[_0x5c5167(0x44a)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x147b66[_0x147b66[_0x5c5167(0x41e)]=0x2712]=_0x5c5167(0x41e),_0x147b66[_0x147b66[_0x5c5167(0x448)]=0x2713]=_0x5c5167(0x448),_0x147b66[_0x147b66[_0x5c5167(0x372)]=0x2714]=_0x5c5167(0x372),_0x147b66[_0x147b66[_0x5c5167(0x22e)]=0x271a]=_0x5c5167(0x22e),_0x147b66[_0x147b66[_0x5c5167(0x453)]=0x271b]=_0x5c5167(0x453),_0x147b66[_0x147b66['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x147b66[_0x147b66[_0x5c5167(0x29f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x147b66[_0x147b66['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x5c5167(0x39b),_0x147b66[_0x147b66[_0x5c5167(0x28c)]=0x271f]=_0x5c5167(0x28c),_0x147b66[_0x147b66[_0x5c5167(0x27a)]=0x2720]=_0x5c5167(0x27a),_0x147b66[_0x147b66[_0x5c5167(0x30a)]=0x2af9]=_0x5c5167(0x30a),_0x147b66[_0x147b66[_0x5c5167(0x1df)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x147b66[_0x147b66['INVALID_INVITE_CODE']=0x2ee2]=_0x5c5167(0x2ef),_0x147b66[_0x147b66['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5c5167(0x474),_0x147b66[_0x147b66['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5c5167(0x374),_0x147b66[_0x147b66[_0x5c5167(0x46c)]=0x2ee5]=_0x5c5167(0x46c),_0x147b66[_0x147b66[_0x5c5167(0x2e5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x147b66[_0x147b66[_0x5c5167(0x250)]=0x32ca]=_0x5c5167(0x250),_0x147b66[_0x147b66[_0x5c5167(0x1ce)]=0x32cb]=_0x5c5167(0x1ce),_0x147b66[_0x147b66[_0x5c5167(0x3f8)]=-0x1]=_0x5c5167(0x3f8),_0x147b66))(vi||{}),Z=(_0x306a3f=>(_0x306a3f[_0x306a3f[_0x5c5167(0x2a7)]=0x0]='UNIVER_UNKNOWN',_0x306a3f[_0x306a3f[_0x5c5167(0x22f)]=0x1]=_0x5c5167(0x22f),_0x306a3f[_0x306a3f[_0x5c5167(0x232)]=0x2]='UNIVER_SHEET',_0x306a3f[_0x306a3f[_0x5c5167(0x3cd)]=0x3]='UNIVER_SLIDE',_0x306a3f[_0x306a3f[_0x5c5167(0x274)]=0x4]='UNIVER_PROJECT',_0x306a3f[_0x306a3f[_0x5c5167(0x3f8)]=-0x1]=_0x5c5167(0x3f8),_0x306a3f))(Z||{}),F=(_0x272ca9=>(_0x272ca9[_0x272ca9['UNKNOWN_CMD']=0x0]=_0x5c5167(0x236),_0x272ca9[_0x272ca9[_0x5c5167(0x3d2)]=0x1]=_0x5c5167(0x3d2),_0x272ca9[_0x272ca9['JOIN']=0x2]=_0x5c5167(0x3d1),_0x272ca9[_0x272ca9[_0x5c5167(0x1b2)]=0x3]=_0x5c5167(0x1b2),_0x272ca9[_0x272ca9['INGEST']=0x4]='INGEST',_0x272ca9[_0x272ca9[_0x5c5167(0x1ed)]=0x5]='HEARTBEAT',_0x272ca9[_0x272ca9['RECV']=0x6]=_0x5c5167(0x32a),_0x272ca9[_0x272ca9[_0x5c5167(0x3f8)]=-0x1]=_0x5c5167(0x3f8),_0x272ca9))(F||{}),pe=(_0x2c05b6=>(_0x2c05b6[_0x2c05b6[_0x5c5167(0x401)]=0x0]=_0x5c5167(0x401),_0x2c05b6[_0x2c05b6['OK']=0x1]='OK',_0x2c05b6[_0x2c05b6[_0x5c5167(0x2b4)]=0x2]='FAIL',_0x2c05b6[_0x2c05b6[_0x5c5167(0x3d3)]=0x3e9]=_0x5c5167(0x3d3),_0x2c05b6[_0x2c05b6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5c5167(0x447),_0x2c05b6[_0x2c05b6[_0x5c5167(0x1b6)]=0x3eb]=_0x5c5167(0x1b6),_0x2c05b6[_0x2c05b6['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x5c5167(0x42b),_0x2c05b6[_0x2c05b6[_0x5c5167(0x3f8)]=-0x1]='UNRECOGNIZED',_0x2c05b6))(pe||{}),pi=(_0xff52e=>(_0xff52e[_0xff52e[_0x5c5167(0x1da)]=0x0]=_0x5c5167(0x1da),_0xff52e[_0xff52e[_0x5c5167(0x1af)]=0x1]=_0x5c5167(0x1af),_0xff52e[_0xff52e[_0x5c5167(0x419)]=0x2]='HttpExport',_0xff52e[_0xff52e[_0x5c5167(0x2ea)]=0x3]=_0x5c5167(0x2ea),_0xff52e[_0xff52e['UnitSnapshot']=0x4]=_0x5c5167(0x3f6),_0xff52e[_0xff52e[_0x5c5167(0x48e)]=0x5]='UserProfileImg',_0xff52e[_0xff52e[_0x5c5167(0x3f8)]=-0x1]=_0x5c5167(0x3f8),_0xff52e))(pi||{});const K=_0x5c5167(0x434),Os={};var ne=(_0x225582=>(_0x225582[_0x5c5167(0x392)]=_0x5c5167(0x392),_0x225582[_0x5c5167(0x19f)]=_0x5c5167(0x19f),_0x225582[_0x5c5167(0x36c)]='CONFLICT',_0x225582[_0x5c5167(0x364)]='CLOSE_ROOM',_0x225582[_0x5c5167(0x28f)]='JOIN_ROOM_FAILED',_0x225582['SOCKET_FAILED_RETRY']=_0x5c5167(0x39f),_0x225582[_0x5c5167(0x29c)]=_0x5c5167(0x29c),_0x225582[_0x5c5167(0x1cc)]=_0x5c5167(0x1cc),_0x225582))(ne||{});class ve{constructor(){var _0x45200c=_0x5c5167;N(this,_0x45200c(0x3b9),new _0x431a14()),N(this,_0x45200c(0x452),this[_0x45200c(0x3b9)][_0x45200c(0x2eb)]());}[_0x5c5167(0x3b4)](_0x555d83){var _0x1e8e7a=_0x5c5167;this[_0x1e8e7a(0x3b9)][_0x1e8e7a(0x291)](_0x555d83);}}const bs=_0x561e1a(_0x5c5167(0x370));function ys(_0x3437e0){var _0x51f7de=_0x5c5167,_0x2c8ebd,_0x2629e5,_0x578b82,_0x27d54d,_0x3ee2ff;const _0x4cb4ee=_0x3437e0['data'],_0x5b333f=JSON[_0x51f7de(0x2a3)](_0x4cb4ee);switch(_0x5b333f['cmd']){case F[_0x51f7de(0x1ed)]:case F[_0x51f7de(0x3d2)]:{const _0x239aac=_0x5b333f[_0x51f7de(0x2a9)];return{..._0x5b333f,'data':_0x239aac,'cmd':_0x5b333f['cmd']};}case F['JOIN']:{const _0x4120a8=_0x5b333f[_0x51f7de(0x38a)];return{..._0x5b333f,'data':_0x4120a8,'cmd':_0x5b333f[_0x51f7de(0x240)]};}case F[_0x51f7de(0x32a)]:{const _0x6b3bd8=_0x5b333f[_0x51f7de(0x43e)];switch(_0x6b3bd8[_0x51f7de(0x245)]){case _0x49bb1d['PERMISSION_REJ']:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x2c8ebd=_0x6b3bd8[_0x51f7de(0x28a)])==null?void 0x0:_0x2c8ebd['cs']},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x40d)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x2629e5=_0x6b3bd8['csAckEvent'])==null?void 0x0:_0x2629e5['cs']},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x3a3)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x578b82=_0x6b3bd8[_0x51f7de(0x488)])==null?void 0x0:_0x578b82['cs']},'cmd':_0x5b333f['cmd']};case _0x49bb1d[_0x51f7de(0x333)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x27d54d=_0x6b3bd8[_0x51f7de(0x31b)])==null?void 0x0:_0x27d54d['cs']},'cmd':_0x5b333f['cmd']};case _0x49bb1d[_0x51f7de(0x2fa)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':(_0x3ee2ff=_0x6b3bd8[_0x51f7de(0x1d4)])==null?void 0x0:_0x3ee2ff['cs']},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x24e)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8['updateCursorEvent']},'cmd':_0x5b333f['cmd']};case _0x49bb1d[_0x51f7de(0x3b8)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x42e)]},'cmd':_0x5b333f['cmd']};case _0x49bb1d['USERS_LEAVE']:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x1a5)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x46b)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x314)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d['LIVESHARE_FETCH_OPERATIONS']:case _0x49bb1d[_0x51f7de(0x2a2)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x315)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d['LIVESHARE_TERMINATE']:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x314)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x308)]:return{..._0x5b333f,'data':_0x6b3bd8,'cmd':_0x5b333f['cmd']};case _0x49bb1d[_0x51f7de(0x408)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8['commentUpdateEvent']},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x420)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x37e)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x369)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8[_0x51f7de(0x1e8)]},'cmd':_0x5b333f[_0x51f7de(0x240)]};case _0x49bb1d[_0x51f7de(0x461)]:return{..._0x5b333f,'data':{..._0x6b3bd8,'data':_0x6b3bd8['uniscriptRunEvent']},'cmd':_0x5b333f[_0x51f7de(0x240)]};default:return _0x5b333f;}}default:return _0x5b333f;}}function Ns(_0x54208b){var _0x63df05=_0x5c5167;switch(_0x54208b['cmd']){case F[_0x63df05(0x1ed)]:case F[_0x63df05(0x3d2)]:return JSON[_0x63df05(0x2ad)]({'cmd':_0x54208b[_0x63df05(0x240)],'routeKey':_0x54208b[_0x63df05(0x49d)]});case F[_0x63df05(0x39c)]:{let _0x39cc32;switch(_0x54208b[_0x63df05(0x41c)]['eventID']){case _0x49bb1d[_0x63df05(0x24e)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x24e)],'updateCursorEvent':_0x54208b['data'][_0x63df05(0x41c)]};break;}case _0x49bb1d['USERS_LEAVE']:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x2b1)],'leaveEvent':_0x54208b[_0x63df05(0x41c)]['data']};break;}case _0x49bb1d[_0x63df05(0x3b8)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x3b8)],'joinEvent':_0x54208b['data'][_0x63df05(0x41c)]};break;}case _0x49bb1d[_0x63df05(0x46b)]:{_0x39cc32={'eventID':_0x49bb1d['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x54208b[_0x63df05(0x41c)]['data']};break;}case _0x49bb1d[_0x63df05(0x2a2)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x2a2)],'liveShareOperation':_0x54208b[_0x63df05(0x41c)]['data']};break;}case _0x49bb1d[_0x63df05(0x3a2)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x3a2)],'liveShareTerminate':_0x54208b['data'][_0x63df05(0x41c)]};break;}case _0x49bb1d['LIVESHARE_REQUEST_HOST']:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x398)],'liveShareRequestHost':_0x54208b[_0x63df05(0x41c)][_0x63df05(0x41c)]};break;}case _0x49bb1d[_0x63df05(0x23c)]:{_0x39cc32={'eventID':_0x49bb1d[_0x63df05(0x23c)]};break;}default:_0x39cc32={'eventID':_0x54208b['data'][_0x63df05(0x245)]};}return JSON[_0x63df05(0x2ad)]({'cmd':_0x54208b[_0x63df05(0x240)],'routeKey':_0x54208b[_0x63df05(0x49d)],'collaMsg':_0x39cc32});}case F[_0x63df05(0x3d1)]:return JSON['stringify']({'cmd':_0x54208b['cmd'],'routeKey':_0x54208b[_0x63df05(0x49d)],'joinReq':_0x54208b[_0x63df05(0x41c)]});case F['LEAVE']:return JSON[_0x63df05(0x2ad)]({'cmd':_0x54208b[_0x63df05(0x240)],'routeKey':_0x54208b['routeKey'],'leaveReq':_0x54208b['data']});default:throw new Error(_0x63df05(0x35e));}}var Ds=Object[_0x5c5167(0x2de)],Us=(_0x4028db,_0x1bff6e,_0x16f3aa,_0x341bcf)=>{var _0xc0504e=_0x5c5167;for(var _0x42f9f2=_0x341bcf>0x1?void 0x0:_0x341bcf?Ds(_0x1bff6e,_0x16f3aa):_0x1bff6e,_0x3a4215=_0x4028db[_0xc0504e(0x418)]-0x1,_0x485b81;_0x3a4215>=0x0;_0x3a4215--)(_0x485b81=_0x4028db[_0x3a4215])&&(_0x42f9f2=_0x485b81(_0x42f9f2)||_0x42f9f2);return _0x42f9f2;},De=(_0x140294,_0x16b0ff)=>(_0x5a1805,_0x310fee)=>_0x16b0ff(_0x5a1805,_0x310fee,_0x140294);const mi=_0x561e1a(_0x5c5167(0x441));function As(_0x257da3,_0x523c2c,_0x1880c2){var _0x5d6a93=_0x5c5167;return _0x257da3+'/'+_0x523c2c+'/unit/'+_0x1880c2+_0x5d6a93(0x41f);}let Ft=class extends _0x3bee79{constructor(_0x2007f6,_0x3432af,_0xfcae8b,_0x2e6a6f,_0x4045cc){var _0x505aa1=_0x5c5167;super(),this[_0x505aa1(0x48d)]=_0x2007f6,this[_0x505aa1(0x231)]=_0x3432af,this[_0x505aa1(0x27e)]=_0xfcae8b,this[_0x505aa1(0x1e0)]=_0x2e6a6f,this[_0x505aa1(0x278)]=_0x4045cc;}['_doCreateSocket'](_0x448135){var _0x71a5e0=_0x5c5167;const _0x491662=this[_0x71a5e0(0x48d)][_0x71a5e0(0x2d3)](_0x420ca8);if(!_0x491662)throw new Error(_0x71a5e0(0x1eb));const _0x4e011f=_0x491662[_0x71a5e0(0x368)](_0x448135);if(!_0x4e011f)throw new Error(_0x71a5e0(0x1a8));const _0x47c733=new _0xf860a(),_0x2bc38b=new _0x431a14();_0x47c733[_0x71a5e0(0x426)](_0x4e011f[_0x71a5e0(0x2d7)]['subscribe'](_0x5a46c9=>_0x2bc38b[_0x71a5e0(0x291)](_0x5a46c9))),_0x47c733[_0x71a5e0(0x426)](_0x56b292(()=>_0x2bc38b[_0x71a5e0(0x260)]()));const _0x1f59c0=new _0x431a14();_0x47c733[_0x71a5e0(0x426)](_0x4e011f[_0x71a5e0(0x341)][_0x71a5e0(0x378)](_0x429c0e=>_0x1f59c0[_0x71a5e0(0x291)](_0x429c0e))),_0x47c733['add'](_0x56b292(()=>_0x1f59c0['complete']()));const _0x48720e=new _0x431a14();_0x47c733[_0x71a5e0(0x426)](_0x4e011f[_0x71a5e0(0x473)][_0x71a5e0(0x378)](_0x138afd=>{var _0x217cfa=_0x71a5e0;const _0x391be1=ys(_0x138afd);_0x48720e[_0x217cfa(0x291)](_0x391be1);})),_0x47c733[_0x71a5e0(0x426)](_0x56b292(()=>_0x48720e[_0x71a5e0(0x260)]()));let _0x56eabb;const _0x9f5903=()=>{var _0x392cec=_0x71a5e0;_0x1f59c0['next'](new Event('connection\x20error')),_0x2bc38b[_0x392cec(0x291)](new Event(_0x392cec(0x2e2))),_0x56eabb[_0x392cec(0x3fb)]();};return _0x56eabb={'memberID':'','close$':_0x2bc38b[_0x71a5e0(0x2eb)](),'error$':_0x1f59c0[_0x71a5e0(0x2eb)](),'open$':_0x4e011f[_0x71a5e0(0x24c)],'message$':_0x48720e[_0x71a5e0(0x2eb)](),'send':_0x35a503=>{var _0x4a37a2=_0x71a5e0;if(_0x35a503[_0x4a37a2(0x240)]===F[_0x4a37a2(0x39c)]){if(_0x35a503[_0x4a37a2(0x41c)][_0x4a37a2(0x245)]===_0x49bb1d[_0x4a37a2(0x1a2)]){this[_0x4a37a2(0x277)](_0x56eabb,_0x35a503[_0x4a37a2(0x41c)])[_0x4a37a2(0x3d4)](_0x2c4d3f=>{this['_logService']['error'](_0x2c4d3f),_0x9f5903();});return;}if(_0x35a503[_0x4a37a2(0x41c)][_0x4a37a2(0x245)]===_0x49bb1d[_0x4a37a2(0x393)]){const _0x2c97d7=_0x35a503['data'];this['_fetchMissChangesets'](_0x2c97d7)[_0x4a37a2(0x421)](_0x4a4eb9=>{var _0x5b7006=_0x4a37a2;_0x48720e[_0x5b7006(0x291)]({'cmd':F[_0x5b7006(0x32a)],'code':pe['OK'],'routeKey':_0x2c97d7['data'][_0x5b7006(0x20e)],'routeType':'','data':{'eventID':_0x49bb1d[_0x5b7006(0x1ae)],'data':{'changesets':_0x4a4eb9}}});})[_0x4a37a2(0x3d4)](_0x3967eb=>{var _0x38818c=_0x4a37a2;this[_0x38818c(0x1e0)][_0x38818c(0x347)](_0x3967eb),_0x9f5903();});return;}}_0x4e011f['send'](Ns(_0x35a503));},'close':()=>{_0x4e011f['close'](),_0x47c733['dispose']();}},_0x56eabb;}async[_0x5c5167(0x277)](_0x3de41a,_0x3fa98e){var _0x2c41b8=_0x5c5167,_0x5b942a;const {unitType:_0x4dd2a0,unitID:_0x167ea2,changeset:_0x5b9f75}=_0x3fa98e['data'],_0x16b6c5={'unitID':_0x167ea2,'memberID':_0x3de41a[_0x2c41b8(0x3b6)],'type':_0x4dd2a0,'changeset':_0x46f964(_0x5b9f75)},_0x1b32cd=this[_0x2c41b8(0x27e)][_0x2c41b8(0x1a4)](K),_0x401aae=As((_0x5b942a=_0x1b32cd==null?void 0x0:_0x1b32cd['collabSubmitChangesetUrl'])!=null?_0x5b942a:Cs,_0x4dd2a0,_0x167ea2);try{await this['_httpService'][_0x2c41b8(0x2c0)](_0x401aae,{'body':_0x16b6c5});}catch(_0x4c5cbb){throw this[_0x2c41b8(0x1e0)]['error'](_0x2c41b8(0x23b),_0x2c41b8(0x2f5)),_0x4c5cbb;}}async[_0x5c5167(0x48f)](_0xe1e2a7){var _0x2dd0da=_0x5c5167;const {unitID:_0x4ddaa0,from:_0x5d0f45,to:_0x176872,unitType:_0x631597}=_0xe1e2a7[_0x2dd0da(0x41c)];return(await this[_0x2dd0da(0x278)][_0x2dd0da(0x25b)]({'metadata':void 0x0},{'unitID':_0x4ddaa0,'type':_0x631597,'from':_0x5d0f45,'to':_0x176872}))[_0x2dd0da(0x3a1)];}};Ft=Us([De(0x0,_0x307146(_0x4b4f54)),De(0x1,_0x307146(_0x4f1e64)),De(0x2,_0x4d0e1d),De(0x3,_0x3eb14a),De(0x4,_0x6f2ce2)],Ft);const ws=_0x5c5167(0x297);function Ps(_0xbf8879){var _0x1a0c22=_0x5c5167;return JSON[_0x1a0c22(0x2ad)](_0xbf8879)[_0x1a0c22(0x418)];}class gi{constructor(){var _0xf431e1=_0x5c5167;N(this,_0xf431e1(0x3c3),new _0x431a14()),N(this,_0xf431e1(0x33f),this['_commentUpdate$'][_0xf431e1(0x2eb)]());}[_0x5c5167(0x40e)](_0x335cbc){var _0x1ef197=_0x5c5167;this[_0x1ef197(0x3c3)][_0x1ef197(0x291)](_0x335cbc);}}var Ms=Object['getOwnPropertyDescriptor'],Ls=(_0x596c76,_0x8540f6,_0x1b9d29,_0x38dc26)=>{var _0x5d1464=_0x5c5167;for(var _0xb8c072=_0x38dc26>0x1?void 0x0:_0x38dc26?Ms(_0x8540f6,_0x1b9d29):_0x8540f6,_0x45d118=_0x596c76[_0x5d1464(0x418)]-0x1,_0x58715a;_0x45d118>=0x0;_0x45d118--)(_0x58715a=_0x596c76[_0x45d118])&&(_0xb8c072=_0x58715a(_0xb8c072)||_0xb8c072);return _0xb8c072;},Vt=(_0x594509,_0x54abd4)=>(_0x3f6db1,_0x56e351)=>_0x54abd4(_0x3f6db1,_0x56e351,_0x594509);let we=class extends _0x3bee79{constructor(_0x4bd10c,_0x39faf5){var _0x2fccaf=_0x5c5167;super(),N(this,_0x2fccaf(0x3bf),new Map()),N(this,_0x2fccaf(0x326),new _0x431a14()),(this[_0x2fccaf(0x472)]=_0x4bd10c,this[_0x2fccaf(0x1cf)]=_0x39faf5,this[_0x2fccaf(0x3dc)](_0x3eede2(this[_0x2fccaf(0x472)][_0x2fccaf(0x19d)](_0x33d220[_0x2fccaf(0x232)])[_0x2fccaf(0x3a6)](_0x4aa1f9(_0x2a2456=>_0x2a2456['getUnitId']())),this[_0x2fccaf(0x472)][_0x2fccaf(0x19d)](_0x33d220[_0x2fccaf(0x22f)])[_0x2fccaf(0x3a6)](_0x4aa1f9(_0x5e8273=>_0x5e8273[_0x2fccaf(0x492)]())),this[_0x2fccaf(0x472)][_0x2fccaf(0x19d)](_0x33d220['UNIVER_SLIDE'])[_0x2fccaf(0x3a6)](_0x4aa1f9(_0x3972a6=>_0x3972a6[_0x2fccaf(0x492)]())))[_0x2fccaf(0x378)](_0x221448=>this[_0x2fccaf(0x416)](_0x221448))));}[_0x5c5167(0x266)](_0x53c98a){var _0x3b76d3=_0x5c5167;return this[_0x3b76d3(0x3bf)][_0x3b76d3(0x1f7)](_0x53c98a)?_0xe3ff1f(this['_roomMembers'][_0x3b76d3(0x2d3)](_0x53c98a)):this[_0x3b76d3(0x326)][_0x3b76d3(0x3a6)](_0x4aa1f9(_0x39aadb=>{var _0x27b691=_0x3b76d3;if(_0x39aadb===_0x53c98a)return this[_0x27b691(0x3bf)][_0x27b691(0x2d3)](_0x39aadb);}));}[_0x5c5167(0x432)](_0x114745){var _0x33a7ef=_0x5c5167;this[_0x33a7ef(0x1cf)]['setCurrentUser'](_0x114745);}['getCurrentUser'](){var _0x126078=_0x5c5167;return this[_0x126078(0x1cf)]['getCurrentUser']();}[_0x5c5167(0x3a5)](_0x2bba9b,_0x2fb828){var _0x422b43=_0x5c5167;let _0x3697e1=this[_0x422b43(0x3bf)][_0x422b43(0x2d3)](_0x2bba9b);_0x3697e1||(_0x3697e1=new xs(),this[_0x422b43(0x3bf)][_0x422b43(0x444)](_0x2bba9b,_0x3697e1),this['_roomCreated$'][_0x422b43(0x291)](_0x2bba9b)),_0x3697e1[_0x422b43(0x3a5)](_0x2fb828);}[_0x5c5167(0x2d4)](_0x1e0f2d,_0x3bc477){var _0x549b0b=_0x5c5167;const _0x25e3db=this['_roomMembers'][_0x549b0b(0x2d3)](_0x1e0f2d);_0x25e3db&&_0x25e3db['removeMember'](_0x3bc477);}['getRoom'](_0x4fc2d5){var _0x2b1898=_0x5c5167;return this[_0x2b1898(0x3bf)][_0x2b1898(0x2d3)](_0x4fc2d5);}[_0x5c5167(0x2bf)](_0x15735d,_0x500e1d){var _0x3f06d6=_0x5c5167;const _0xfa042d=this[_0x3f06d6(0x3bf)][_0x3f06d6(0x2d3)](_0x15735d);if(_0xfa042d)return _0xfa042d['getMember'](_0x500e1d);}[_0x5c5167(0x416)](_0x21f0ef){var _0x27c0c8=_0x5c5167;const _0x18454d=this[_0x27c0c8(0x3bf)]['get'](_0x21f0ef);_0x18454d&&(_0x18454d[_0x27c0c8(0x424)](),this[_0x27c0c8(0x3bf)]['delete'](_0x21f0ef));}[_0x5c5167(0x424)](){var _0x2a0740=_0x5c5167;this[_0x2a0740(0x3bf)]['forEach'](_0x4efb9e=>_0x4efb9e['dispose']()),this[_0x2a0740(0x3bf)][_0x2a0740(0x19e)](),this[_0x2a0740(0x326)][_0x2a0740(0x260)]();}};we=Ls([Vt(0x0,_0x4e8bc9),Vt(0x1,_0x307146(_0xd2f4a2))],we);function _0x1b1a(){var _0x4fb9b5=['PERSON','_exhaustRemoteChangesetQueue','UnitEmbedded','asObservable','onTransformIME','PasswordBasedCipher','awaitingChangeset','INVALID_INVITE_CODE','readyForCollab','updateCollaborator','_entityInit$','session.room-not-exists','ivSize','submit\x20changeset\x20error!','decrypt','APPLY_PERMISSION_DENIED','_checkMissing','apply','CHANGESET_SHOULD_RETRY','key','unitId\x20is\x20not\x20found','resend','18488VzbpBU','_changesetReqId','c2Prime','retryConnectingInterval','_awaitingChangeset','_compressMutationService','actions','[PendingState]:\x20unhandled\x20univer\x20type:\x20','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_doReset','MSG_FOR_ERROR','_config','PY_RUNTIME_SCRIPT_ERROR','prototype','enc','SerializableCipher','image/jpg','_changesetSessionId','clamp','resolve','deepClone','_listenToNetworkCondition','liveShareNewHost','liveShareOperation','floor','\x20-\x20','Encryptor','padding','now','csRejEvent','update','fetchThroughInterceptors','ws://127.0.0.1:8000/universer-api/comb/connect','_localCacheService','JOINING','every','_resendTimer','not_collab','fromCharCode','save\x20fail\x20reason\x20is\x20','_roomCreated$','UNIVER_COLLABORATION_CLIENT_PLUGIN','_applyRemoteChangeset','buffer','RECV','_remoteChangesetQueue','_members$','ALREADY_EXISTS','NoPadding','getWorkbookSelections','CipherParams','_collaborationSessionService','_initMergeInterceptor','CHANGESET_REJ','_process','BlockCipher','NO_OTHER_CLIENTS_EDITING','5050vrOXHL','send','IDLE','subject','encodeURIComponent','_createHmacHelper','sessionStatus$','concat','commentUpdate$','Base64','error$','unpad','copyFileMeta','decryptBlock','__creator','1373449gvSEDR','error','objectID','Hex','ciphertext','range','_transformStack','_mode','indexOf','Could\x20not\x20dynamically\x20require\x20\x22','[FetchMissState]','COMPRESS_MUTATION_SEND','image/gif','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveImage','_getCtorByUniverType','getTime','forEach','snapshotServerUrl','setWaitCount','_sheetTransformSelectionsService','[OfflineState]:\x20received\x20changeset.','location','compute','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_unitID','toggleOffline','getAllMembers','_DEC_XFORM_MODE','_onJoinRoomEvent','CLOSE_ROOM','status','CONNECTOR_DATA_TOO_LARGE','formatter','createSocket','SHOULD_CLOSE_CONN','pending','selections','CONFLICT','ceil','univer-pro.collaboration-client.single-active-unit-service','_nDataBytes','univer-pro.collaboration-client.network-condition.service','_undoStacks','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleCollaborationTimeoutTimer','USER_NOT_INVITED_CODE','localeService','editingUnit','collaboration-client.local-cache-service','subscribe','max','MD5','_isPermissionRej','_getAPIPrefix','BASE64','updatePermissionObjEvent','Utf8','/universer-api/authz','result','Univer','/resources','patch','_socketService','code','msCrypto','transformUndoRedo','toggleOnline','joinRsp','abs','extend','onMissingChangesets','socket\x20open.','onMissedChangesetFetched','encode','roomInfos','OTHER_CLIENT_EDITING','FETCH_MISSING','symbol','[PendingState]:\x20received\x20rejection.','_timeoutTimer','[CollaborationSessionService]','LIVESHARE_REQUEST_HOST','_parse','_onRemoteRetry','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INGEST','EMAIL_VERIFY_CODE_MISMATCH','algo','SOCKET_FAILED_RETRY','onCommandExecuted','changesets','LIVESHARE_TERMINATE','NEW_CHANGESETS','snapshot','updateMember','pipe','defineProperty','$super','reqId','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/snapshot/','_hasher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unitInfo$','_init','string','kdf','_candidateSocket','collabWebSocketUrl','emitEvent','headers','memberID','3201aLFLXX','USERS_ENTER','_event$','_onRemoteRejected','reset','saveSnapshot','_tryEnsureSocket','_unitInfo$','_roomMembers','mixIn','addImageSourceCache','fetch_missing','_commentUpdate$','_createHandler','_updateStatus','_handlerCallback','transformSelections','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','socket$','saveSheetBlock','put','randomBytes','UNIVER_SLIDE','_replaceFileID','_getAPIPrefixPath','Hasher','JOIN','HELLO','JOIN_ROOM_FULL','catch','2421iqEaQT','onTransformRemoteChangesetByStateCache','_hash','transformMutationsWithChangeset','_sendHeartbeatTimer','onSyncEditingCollabCursor','_createInitialStateImpl','disposeWithMe','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','function','_collaborationPaused','HMAC','_initRequestHeader','[CollaborationState]:\x20apply\x20error!','onload','isArray','?url=','pluginName','Decryptor','UNDEFINED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitOnRev','textRanges','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConnectionFailed','[SyncedState]:\x20received\x20acknowledgement.','localCacheService','_iv','_onUserJoin','awaiting','setConfig','APPLY_REVISION_CONFILICT','UnitSnapshot','MUTATION','UNRECOGNIZED','unknown','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','close','from','charAt','_socketMessageSubscription','POST','compose','UNKNOWN_CODE','socketService','includes','sid','hostname','_queuedRemoteChangesets','_transformStateCache','COMMENT_UPDATE','LICENSE_IMPORT_SIZE_EXCEEDED','loadOfflineData','isPermissionRej','params','CHANGESET_ACK','onCommentUpdate','[CollaborationUndoRedoService]','_initUnitPermissionChange','_transformRemoteChangesetByIMECache','_clearRedo','OpenSSL','reconnect','/universer-api/file/{fileID}/sign-url','_removeRoom','dispose$','length','HttpExport','6STxfLQ','executeCommand','data','OTHER_CLIENTS_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','/new_changes','UPDATE_PERMISSION_OBJ','then','_tryReconnect','requireSession','dispose','_sender','add','execute','toString','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_createHelper','GLOBAL_ROOMS_CNT_EXCEEDS','downloadEndpointUrl','_doCryptBlock','joinEvent','onRemoteChangeset','failed\x20to\x20apply\x20missed\x20changesets!','splice','setCurrentUser','/universer-api/user/session-ticket','collaboration-client.config','_getUndoStack','_transformRemoteChangesetByStateCache','objectType','_HTTPService','focused$','_syncEditingCollabCursor','_type','_onRemoteChangeset','initWorkbookPermissionChange','collaMsg','_reverseMap','HmacSHA1','univer-pro.collaboration-client-socket-service','exports','auth.needGotoLoginAlert','set','awaiting_with_pending','enableAuthServer','JOIN_ROOM_NOT_EXISTS','YUUMI_RATE_OVER_LIMIT','_permissionService','YUUMI_UNABLE_LOAD_URL','_socketReady','createEncryptor','_clearUndo','_retryCount','FileId','min','_updateLocalCache','event$','YUUMI_ASYNCIO_CANCELLED','_prevBlock','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSignURL','Failed\x20to\x20update\x20permission\x20point','_cipher','duration','getImageSourceCache','appendMutation','getMemberID','_doFinalize','\x0aCurrent:\x20','reject','_waitForHeartbeatResponse','UNISCRIPT_RUN','_startCollaboration','3358505UOdbiD','uploadFileServerUrl','type','sigBytes','&assign=','onTransformRemoteChangesetByIMECache','_startTelemetryCollaborationNewChangeset','_nRounds','LIVESHARE_NEW_HOST','INVITE_CODE_ALREADY_BOUND','_revisionService','COMPRESS_MUTATION_APPLY','originalMeta','withCredentials','registerHTTPInterceptor','_univerInstanceService','message$','INVITE_CODE_REQUIRED','method','_onMessage','[CollaborationEntity]','getActiveSheet','body','_commentService','_collaborationUIEventService','authzUrl','baseRev','_emitMembers','__Key__','ERROR_EXCEED_SIZE','_clearHeartbeatTimer','session.room-permission-denied','_data','_onCombEvent','SNAPSHOT_URL_KEY','ERROR_IMAGE_TYPE','_append','newCsEvent','clone','userID','onTransformSelections','_stopTelemetryCollaborationNewChangeset','_injector','UserProfileImg','_fetchMissChangesets','_imageSourceCache','ENSURE_SNAPSHOT_EXECUTION','getUnitId','session','_onConflict','[DataLoaderService]','crypto','avatar','filter','/collaborator','change$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','reverse','routeKey','join','_key','_getUploadFileURL','entityInit$','sin','__esModule','_map','_shouldReportTelemetry','BufferedBlockAlgorithm','AES','sessionStatus','_invKeySchedule','_acknowledgedAwaitingChangeset','editing\x20status\x20changed\x20to','getTypeOfUnitDisposed$','clear','PERMISSION_DENIED','transformChangesets','unitId','SUBMIT_CHANGESET','AWAITING_WITH_PENDING','getConfig','leaveEvent','_doProcessBlock','enableCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','\x20in\x20_schedule.','ERROR_IMAGE','/universer-api/comb','_sendHeartbeat','onlyLocal','PSEUDO_FETCH_MISSING_RESULT','HttpImport','image/jpeg','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LEAVE','_eventService','_showConflictNotification','_rescheduleHeartbeat','JOIN_ROOM_PERMISSION_DENIED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SNAPSHOT_HAS_BEEN_REMOVED','refreshPermission','sendChangesetTimeout','href','onSendChangeset','size','encrypt','_telemetryService','updateOfflineData','/universer-api/oidc/authpage','append','call','_collaborationTimeoutTimer','collaborators','13GUsfNW','_iKey','_disableEditing','unit-cache-','addHandlerCallback','saveChangeset','SUBMIT_CHANGESET_TIMEOUT','src','EMAIL_HAS_BEEN_BOUND','_userManagerService','StreamCipher','44nvxKdZ','listCollaborators','_clearTimeoutTimer','csShouldRetryEvent','/allowed','_substituteRedoStack','SNAPSHOT_INVALID_SNAPSHOT','COMPLETION_FINISHED','session.room-full','Undefined','getInterceptPoints','/-/object/-/batch_allowed','_collabSessionService','signUrlServerUrl','INVITE_CODE_HAS_BEEN_UES','_logService','push','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_localeService','_change$','image/bmp','interceptor','_createInitialState','shouldCloseConn','_oKey','transformStack\x20failed!','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','OFFLINE','HEARTBEAT','format','createInstance','_snapshotService','_incrementRevisionNumber','_clearCollaborationTimeoutTimer','conflict','onRemoteAck','_transformSelections','/fetchmissing?from=','has','LOCAL_CACHE_INTERVAL','_members','_throwTelemetryCollaborationNewChangeset','_socket','random','hasOwnProperty','_onConnectionOpen','create','[OfflineState]:\x20received\x20acknowledgement.','INTERNAL_ERROR','getValue','_clearScheduledTask','UNAUTHENTICATED','_joinRoom','createCollaborator','_resendTimeout','processBlock','loadUnitOfRevision','_lockTransition','_handler','[CollaborationSessionService]:\x20socket\x20error','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','unitID','updatePermissionPoint','allowed','_sessions','pad','finalize','default','_replayCachedMutations','state','delete','slice','_commandService','Error\x20on\x20receiving\x20event','byteLength','fromCollab','_singleActiveUnitService','_state$','disableLocalCache','url','FETCH_MISS','getResourcesRequest','reduce','keySize','enableSingleActiveInstanceLock','_pendingMutations','session.join-failed','objects','getCurrentUser','init','_executeRemoteChangeset','[UniverCollaborationClientPlugin]','_state','YUUMI_NO_CUBOID_FOR_QUESTION','UNIVER_DOC','_onRemoteACK','_httpService','UNIVER_SHEET','SUCCUSS','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNKNOWN_CMD','_transitionLocked','loadUnit','createDecryptor','_toggleOffline','[CollaborationSession]','LIVESHARE_FETCH_OPERATIONS','getDeserializedSheetBlock','LOGIN_FAILED','_toggleOnline','cmd','_decreaseWaiting','_onOffline','295599fvAFuE','revision','eventID','name','_minBufferSize','salt','3321778zBoznj','status$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','open$','DEFAULT_FILE_NAME','UPDATE_CURSOR','TOO_MANY_REQUESTS','MOBILE_HAS_BEEN_BOUND','onTransformState','WordArray','unsubscribe','_networkConditionService','cfg','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_retryConnectingTimer','EvpKDF','action','HmacMD5','fetchMissingChangesets','getFocusedUnit','Latin1','blockSize','_keyPriorReset','complete','_xformMode','image/png','NOT_FOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','offline','waitForRoom$','equals','debug','lib','list','onRemoteRetry','c1Prime','iterations','/block/','enableOfflineEditing','closeSession','online$','_instanceService','startTime','UNIVER_PROJECT','/unit/','_socket$','_submitChangeset','_snapshotServerService','getSheetBlock','YUUMI_CONNECTOR_URL_NOT_FOUND','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','1aEmXPs','setShowComponents','_configService','state$','_onRecvEvent','_createSocket','[PendingState]:\x20received\x20acknowledgement.','getCollabEntity','CHANGESET_REVISION_CONFILICT','_memberService','onStarting','m2Prime','_getCurrentRevision','_sendingTimer','permissionRejEvent','ONLINE','YUUMI_AI_RUN_FAILED','roles','_unlockTransition','JOIN_ROOM_FAILED','getSnapshotAPIPath','next','onRemoteRej','updateSnapshot','words','_getDownloadEndpointURL','getUnitType','collaboration_new_changeset','_clearRetryConnectingTimer','_ENC_XFORM_MODE','getTypeOfUnitAdded$','_waitCount','SOCKET_FAILED','_substituteUndoStack','charCodeAt','YUUMI_ALL_TABLES_IS_INVALID','_transformService','Base','LIVESHARE_OPERATION','parse','_keySchedule','stopTime','getUnitStatus$','UNIVER_UNKNOWN','LICENSE_MAX_UNITS_EXCEEDED','infoRsp','_onFetchMissResult','CBC','getImage','stringify','_sessionStatus$','APPLY_NON_SEQUENTIAL_REVISION','find','USERS_LEAVE','_updateState','members','FAIL','capture','pauseCollaboration','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','map','SHA1','_initDependencies','_getSendChangesetTimeout','encryptBlock','_resendWithTimeout','_telemetryInfo','getMember','post','NOT_COLLAB','_registerDependencies','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','3127512hZVbOE','findIndex','origin','rev','_undoRedoService','?size=','MOBILE_VERIFY_CODE_MISMATCH','_schedule','_onLocalMutation','substr','_getLoginPath','mode','getCurrentSelections','requestParams','_status$','get','removeMember','loadSheet','OPTIONAL','close$','/rev/','/object/','LICENSE_DISTRO_REJECTED','LICENSE_EXPORT_SIZE_EXCEEDED','hasher','getUnit','getOwnPropertyDescriptor','APPLY_DUPLICATED','mutations','startsWith','connection\x20error','/-/object/list','getCurrentRevOfUnit','WECHAT_HAS_BEEN_BOUND','values','_entities'];_0x1b1a=function(){return _0x4fb9b5;};return _0x1b1a();}class xs extends _0x3bee79{constructor(){var _0x1d5a93=_0x5c5167;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x582d2e(this[_0x1d5a93(0x1f9)])),N(this,'members$',this[_0x1d5a93(0x32c)][_0x1d5a93(0x2eb)]());}[_0x5c5167(0x424)](){var _0x6dc0eb=_0x5c5167;this[_0x6dc0eb(0x1f9)]['clear']();}[_0x5c5167(0x3a5)](_0x1f50d3){var _0x42d127=_0x5c5167;this['_members'][_0x42d127(0x444)](_0x1f50d3['memberID'],_0x1f50d3),this[_0x42d127(0x47e)]();}[_0x5c5167(0x2d4)](_0x37e8f9){var _0x1b13bf=_0x5c5167;this['_members'][_0x1b13bf(0x217)](_0x37e8f9);}[_0x5c5167(0x2bf)](_0x2593d0){var _0x3d26b1=_0x5c5167;return this[_0x3d26b1(0x1f9)][_0x3d26b1(0x2d3)](_0x2593d0);}[_0x5c5167(0x361)](){var _0x10ba01=_0x5c5167;return Array[_0x10ba01(0x3fc)](this['_members'][_0x10ba01(0x2e6)]());}[_0x5c5167(0x47e)](){var _0x2d2622=_0x5c5167;this['_members$'][_0x2d2622(0x291)](this[_0x2d2622(0x1f9)]);}}var ks=Object[_0x5c5167(0x2de)],$s=(_0x1ec0fd,_0x25cdeb,_0x3bd7e2,_0x40f9d1)=>{var _0x261a8f=_0x5c5167;for(var _0x4381dc=_0x40f9d1>0x1?void 0x0:_0x40f9d1?ks(_0x25cdeb,_0x3bd7e2):_0x25cdeb,_0x53c6e0=_0x1ec0fd[_0x261a8f(0x418)]-0x1,_0x32f1ac;_0x53c6e0>=0x0;_0x53c6e0--)(_0x32f1ac=_0x1ec0fd[_0x53c6e0])&&(_0x4381dc=_0x32f1ac(_0x4381dc)||_0x4381dc);return _0x4381dc;},Ce=(_0x3880bf,_0x5965f4)=>(_0x4f62df,_0x11f28d)=>_0x5965f4(_0x4f62df,_0x11f28d,_0x3880bf),ge=(_0x1020ca=>(_0x1020ca[_0x1020ca[_0x5c5167(0x339)]=0x0]=_0x5c5167(0x339),_0x1020ca[_0x1020ca['JOINING']=0x1]=_0x5c5167(0x320),_0x1020ca[_0x1020ca['OFFLINE']=0x2]='OFFLINE',_0x1020ca[_0x1020ca[_0x5c5167(0x28b)]=0x3]='ONLINE',_0x1020ca))(ge||{});const Wt={[pe[_0x5c5167(0x2b4)]]:_0x5c5167(0x227),[pe[_0x5c5167(0x3d3)]]:_0x5c5167(0x1d9),[pe[_0x5c5167(0x447)]]:_0x5c5167(0x2f3),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x5c5167(0x482),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let gt=class extends _0x2049da{constructor(_0x4b4505,_0x558c0a,_0x23aaca,_0xe8c0ff,_0x389bf6,_0x67deda,_0x2bee,_0x34dc68){var _0x572727=_0x5c5167;super(),N(this,_0x572727(0x2ae),new _0x582d2e(0x0)),N(this,_0x572727(0x33d),this[_0x572727(0x2ae)][_0x572727(0x2eb)]()),N(this,'_event$',new _0x431a14()),N(this,_0x572727(0x452),this[_0x572727(0x3b9)][_0x572727(0x2eb)]()),N(this,_0x572727(0x1fb)),N(this,'_socketMessageSubscription'),N(this,_0x572727(0x1c4)),N(this,_0x572727(0x4a5),!0x1),N(this,_0x572727(0x2be),null),(this['_unitID']=_0x4b4505,this['_logService']=_0x23aaca,this[_0x572727(0x27e)]=_0xe8c0ff,this['_memberService']=_0x389bf6,this['_commentService']=_0x67deda,this['_collaborationUIEventService']=_0x2bee,this['_telemetryService']=_0x34dc68,this[_0x572727(0x4a5)]=!!this['_telemetryService'],_0x558c0a[_0x572727(0x3a6)](_0x51a064(this[_0x572727(0x417)]))['subscribe'](_0x1785cd=>{var _0x11f202=_0x572727,_0x3543fb;typeof _0x1785cd>'u'||(this['_socket']=_0x1785cd,_0x1785cd?(this[_0x11f202(0x205)](_0x1785cd),this[_0x11f202(0x3fe)]=_0x1785cd['message$']['subscribe'](_0x4e53ff=>{var _0x5cb67c=_0x11f202;_0x4e53ff[_0x5cb67c(0x49d)]===this[_0x5cb67c(0x35f)]&&this[_0x5cb67c(0x484)](_0x4e53ff);})):(this[_0x11f202(0x1fa)](),this[_0x11f202(0x2ae)]['next'](0x2),(_0x3543fb=this[_0x11f202(0x3fe)])==null||_0x3543fb['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x5c5167(0x4a8)](){var _0x1b87fc=_0x5c5167;return this[_0x1b87fc(0x2ae)][_0x1b87fc(0x202)]();}[_0x5c5167(0x45c)](){var _0x7a477=_0x5c5167,_0x36227a,_0x4630ec;return(_0x4630ec=(_0x36227a=this[_0x7a477(0x1fb)])==null?void 0x0:_0x36227a['memberID'])!=null?_0x4630ec:null;}[_0x5c5167(0x424)](){var _0x418b82=_0x5c5167;super[_0x418b82(0x424)](),this[_0x418b82(0x417)]['next'](),this[_0x418b82(0x417)][_0x418b82(0x260)]();}[_0x5c5167(0x3fb)](){var _0x13f3c0=_0x5c5167,_0x247514,_0x713511;this['_throwTelemetryCollaborationNewChangeset'](),(_0x247514=this[_0x13f3c0(0x1fb)])==null||_0x247514['send']({'cmd':F[_0x13f3c0(0x1b2)],'data':{'roomID':this[_0x13f3c0(0x35f)]}}),(_0x713511=this[_0x13f3c0(0x1fb)])==null||_0x713511[_0x13f3c0(0x3fb)](),this[_0x13f3c0(0x3b9)]['complete'](),this[_0x13f3c0(0x2ae)][_0x13f3c0(0x260)](),this[_0x13f3c0(0x424)]();}[_0x5c5167(0x484)](_0x25e069){var _0x2b2ca4=_0x5c5167;_0x25e069['cmd']===F['JOIN']?this['_onJoinRoomEvent'](_0x25e069):_0x25e069[_0x2b2ca4(0x240)]===F['RECV']&&this[_0x2b2ca4(0x280)](_0x25e069);}['_joinRoom'](_0xabe9fa){var _0x121e83=_0x5c5167;this['_sessionStatus$'][_0x121e83(0x291)](0x1),_0xabe9fa[_0x121e83(0x338)]({'cmd':F[_0x121e83(0x3d1)],'routeKey':this[_0x121e83(0x35f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x121e83(0x35f)]}]}});}[_0x5c5167(0x363)](_0xa5de95){var _0x2677da=_0x5c5167,_0x494450;if(_0xa5de95[_0x2677da(0x386)]in Wt){this['_collaborationUIEventService'][_0x2677da(0x3b4)]({'id':ne['JOIN_ROOM_FAILED'],'data':Wt[_0xa5de95[_0x2677da(0x386)]]}),this[_0x2677da(0x2ae)][_0x2677da(0x291)](0x2);return;}this['_sessionStatus$'][_0x2677da(0x291)](0x3);const _0xe73da9=(_0x494450=_0xa5de95['data'][_0x2677da(0x391)][this[_0x2677da(0x35f)]])==null?void 0x0:_0x494450[_0x2677da(0x2b3)];_0xe73da9&&_0xe73da9[_0x2677da(0x357)](_0x837890=>this[_0x2677da(0x285)][_0x2677da(0x3a5)](this[_0x2677da(0x35f)],_0x837890));}['_onRecvEvent'](_0x4da168){var _0x45845e=_0x5c5167;try{const _0x3c4d8c=_0x4da168[_0x45845e(0x41c)];switch(_0x3c4d8c['eventID']){case _0x49bb1d['USERS_ENTER']:this[_0x45845e(0x3f2)](_0x3c4d8c),this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);break;case _0x49bb1d[_0x45845e(0x2b1)]:this['_onUserLeave'](_0x3c4d8c),this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);break;case _0x49bb1d[_0x45845e(0x40d)]:case _0x49bb1d['CHANGESET_SHOULD_RETRY']:this[_0x45845e(0x48c)](),this[_0x45845e(0x1f2)](),this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);break;case _0x49bb1d[_0x45845e(0x308)]:this['_logService']['error'](_0x45845e(0x325)+JSON[_0x45845e(0x2ad)](_0x3c4d8c)),this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);break;case _0x49bb1d[_0x45845e(0x408)]:this[_0x45845e(0x47a)][_0x45845e(0x40e)](_0x3c4d8c[_0x45845e(0x41c)]),this['_event$'][_0x45845e(0x291)](_0x3c4d8c);break;default:this[_0x45845e(0x3b9)][_0x45845e(0x291)](_0x3c4d8c);}}catch(_0x3db853){this[_0x45845e(0x1e0)][_0x45845e(0x347)](_0x3db853,_0x4da168);}}[_0x5c5167(0x3f2)](_0x24f2a5){var _0x3b91ef=_0x5c5167;this['_memberService'][_0x3b91ef(0x3a5)](this[_0x3b91ef(0x35f)],_0x24f2a5['data']);}['_onUserLeave'](_0x5f19ea){var _0x5bd62b=_0x5c5167;this[_0x5bd62b(0x285)][_0x5bd62b(0x2d4)](this[_0x5bd62b(0x35f)],_0x5f19ea[_0x5bd62b(0x41c)][_0x5bd62b(0x3b6)]);}async['send'](_0x5233fe,_0x116b94){var _0x10ceaa=_0x5c5167;if(this['sessionStatus']!==0x3||!this[_0x10ceaa(0x1fb)])throw new Error(_0x10ceaa(0x49b));try{_0x5233fe[_0x10ceaa(0x245)]===_0x49bb1d[_0x10ceaa(0x1a2)]&&(this[_0x10ceaa(0x373)](),this['_startTelemetryCollaborationNewChangeset'](_0x5233fe)),this[_0x10ceaa(0x1fb)]['send']({'cmd':F['INGEST'],'routeKey':_0x116b94,'routeType':'','data':_0x5233fe});}catch(_0x3a3410){this[_0x10ceaa(0x1e0)][_0x10ceaa(0x347)](_0x3a3410);}}[_0x5c5167(0x373)](){var _0x93041=_0x5c5167,_0xb13d72;this[_0x93041(0x1c4)]=setTimeout(()=>{var _0x18b768=_0x93041;this['_collaborationTimeoutTimer']=null,this[_0x18b768(0x47b)][_0x18b768(0x3b4)]({'id':ne[_0x18b768(0x1cc)]});},(_0xb13d72=this[_0x93041(0x27e)][_0x93041(0x1a4)](di))!=null?_0xb13d72:fi);}['_clearCollaborationTimeoutTimer'](){var _0x5902d0=_0x5c5167;this[_0x5902d0(0x1c4)]&&(clearTimeout(this[_0x5902d0(0x1c4)]),this[_0x5902d0(0x1c4)]=null);}[_0x5c5167(0x469)](_0x3f1f4b){var _0x12d850=_0x5c5167;if(!this[_0x12d850(0x4a5)])return;const {data:_0x2f86bb}=_0x3f1f4b,{unitID:_0x2d6362,changeset:_0x3f78f9}=_0x2f86bb,{mutations:_0x2161cd,type:_0x44198e}=_0x3f78f9;this[_0x12d850(0x2be)]={'unitId':_0x2d6362,'type':_0x44198e,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ps(_0x2161cd)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x9545a0=_0x5c5167;if(this['_shouldReportTelemetry']){if(!this[_0x9545a0(0x2be)]){this[_0x9545a0(0x1e0)][_0x9545a0(0x347)](_0x9545a0(0x23b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x9545a0(0x2be)][_0x9545a0(0x2a5)]=performance[_0x9545a0(0x31a)](),this[_0x9545a0(0x2be)][_0x9545a0(0x459)]=this['_telemetryInfo'][_0x9545a0(0x2a5)]-this['_telemetryInfo'][_0x9545a0(0x273)],this[_0x9545a0(0x1bf)][_0x9545a0(0x2b5)](ws,this[_0x9545a0(0x2be)]),this[_0x9545a0(0x2be)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};gt=$s([Ce(0x2,_0x3eb14a),Ce(0x3,_0x4d0e1d),Ce(0x4,_0x307146(we)),Ce(0x5,_0x307146(gi)),Ce(0x6,_0x307146(ve)),Ce(0x7,_0x4fe35e(_0x17a61e))],gt);var Hs=Object[_0x5c5167(0x2de)],Bs=(_0x36ea83,_0xa9f881,_0x11f842,_0x270c64)=>{for(var _0xecdcf2=_0x270c64>0x1?void 0x0:_0x270c64?Hs(_0xa9f881,_0x11f842):_0xa9f881,_0x53eb40=_0x36ea83['length']-0x1,_0x9cf87c;_0x53eb40>=0x0;_0x53eb40--)(_0x9cf87c=_0x36ea83[_0x53eb40])&&(_0xecdcf2=_0x9cf87c(_0xecdcf2)||_0xecdcf2);return _0xecdcf2;},Re=(_0x339308,_0x160b37)=>(_0x42c9f3,_0x52fbb5)=>_0x160b37(_0x42c9f3,_0x52fbb5,_0x339308);let Pe=class extends _0x3bee79{constructor(_0x3a9eb7,_0xc29966,_0x5124c0,_0x5beade,_0x2d0eb6,_0x11d7d0){var _0x40f633=_0x5c5167;super(),N(this,'_socket$',new _0x582d2e(void 0x0)),N(this,_0x40f633(0x3c9),this[_0x40f633(0x276)][_0x40f633(0x2eb)]()),N(this,_0x40f633(0x3b2),null),N(this,_0x40f633(0x211),new Map()),N(this,_0x40f633(0x2d2),new _0x582d2e(ge[_0x40f633(0x339)])),N(this,'status$',this[_0x40f633(0x2d2)][_0x40f633(0x2eb)]()),N(this,'_socketReady',!0x1),N(this,_0x40f633(0x257)),N(this,_0x40f633(0x44e),0x0),N(this,_0x40f633(0x3d9)),N(this,_0x40f633(0x396)),(this['_injector']=_0x3a9eb7,this[_0x40f633(0x1e0)]=_0xc29966,this[_0x40f633(0x27e)]=_0x5124c0,this[_0x40f633(0x385)]=_0x5beade,this[_0x40f633(0x47b)]=_0x2d0eb6,this[_0x40f633(0x254)]=_0x11d7d0,this[_0x40f633(0x313)]());}get[_0x5c5167(0x1fb)](){var _0x4248ab=_0x5c5167;return this[_0x4248ab(0x276)][_0x4248ab(0x202)]();}[_0x5c5167(0x313)](){var _0x54d6c5=_0x5c5167;this[_0x54d6c5(0x254)]&&this['disposeWithMe'](this[_0x54d6c5(0x254)][_0x54d6c5(0x271)][_0x54d6c5(0x378)](_0x35ec6b=>{var _0x1f7618=_0x54d6c5;_0x35ec6b&&!this[_0x1f7618(0x1fb)]&&this[_0x1f7618(0x414)](),_0x35ec6b||this[_0x1f7618(0x242)]();}));}[_0x5c5167(0x424)](){var _0x167394=_0x5c5167;super[_0x167394(0x424)](),this[_0x167394(0x298)](),this[_0x167394(0x1d3)](),this[_0x167394(0x481)](),this[_0x167394(0x211)]['forEach'](_0x45de42=>_0x45de42[_0x167394(0x424)]()),this[_0x167394(0x211)][_0x167394(0x19e)](),this[_0x167394(0x2d2)]['complete']();}async['requireSession'](_0x48a677){var _0x4e7b6d=_0x5c5167;if(this[_0x4e7b6d(0x211)]['has'](_0x48a677))return this[_0x4e7b6d(0x211)]['get'](_0x48a677);this[_0x4e7b6d(0x3bd)]();const _0x4a1f02=this['_injector'][_0x4e7b6d(0x1ef)](gt,_0x48a677,this[_0x4e7b6d(0x276)][_0x4e7b6d(0x2eb)]());return this['_sessions']['set'](_0x48a677,_0x4a1f02),_0x4a1f02;}[_0x5c5167(0x270)](_0x541a3d){var _0x4b67b0=_0x5c5167,_0x4be5bf;const _0x5aee1d=this[_0x4b67b0(0x211)][_0x4b67b0(0x2d3)](_0x541a3d);_0x5aee1d&&(this[_0x4b67b0(0x211)][_0x4b67b0(0x217)](_0x541a3d),_0x5aee1d[_0x4b67b0(0x3fb)]()),this[_0x4b67b0(0x211)][_0x4b67b0(0x1bd)]||(_0x4be5bf=this[_0x4b67b0(0x1fb)])==null||_0x4be5bf[_0x4b67b0(0x3fb)]();}[_0x5c5167(0x414)](){var _0x1f602c=_0x5c5167;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x1f602c(0x422)]();}[_0x5c5167(0x298)](){var _0x45280f=_0x5c5167;this[_0x45280f(0x257)]!=null&&(clearTimeout(this[_0x45280f(0x257)]),this[_0x45280f(0x257)]=null);}async['_createSocket'](){var _0x52e5ae=_0x5c5167,_0x475a8d;const _0x48f6ab=this[_0x52e5ae(0x27e)][_0x52e5ae(0x1a4)](K),_0x49ea9e=(_0x475a8d=_0x48f6ab==null?void 0x0:_0x48f6ab[_0x52e5ae(0x3b3)])!=null?_0x475a8d:ms,_0x31df7c=await this[_0x52e5ae(0x385)][_0x52e5ae(0x368)](_0x49ea9e);return this[_0x52e5ae(0x3b2)]=_0x31df7c,_0x31df7c;}async[_0x5c5167(0x3bd)](){var _0x3fc1aa=_0x5c5167,_0xba77da,_0x553287;try{const _0x777bf4=(_0x553287=(_0xba77da=this[_0x3fc1aa(0x1fb)])!=null?_0xba77da:this[_0x3fc1aa(0x3b2)])!=null?_0x553287:await this[_0x3fc1aa(0x281)]();if(_0x777bf4){const _0x1963a6=_0x777bf4['send'];_0x777bf4[_0x3fc1aa(0x338)]=_0x6bf5be=>(this['_rescheduleHeartbeat'](),_0x1963a6[_0x3fc1aa(0x2f9)](_0x777bf4,[_0x6bf5be])),_0x777bf4['message$'][_0x3fc1aa(0x378)](_0x1f8445=>this[_0x3fc1aa(0x476)](_0x777bf4,_0x1f8445)),_0x777bf4['error$'][_0x3fc1aa(0x3a6)](_0x112619(0x1))[_0x3fc1aa(0x378)](_0x3ece8a=>this[_0x3fc1aa(0x1e0)][_0x3fc1aa(0x347)](_0x3fc1aa(0x20c),_0x3ece8a)),_0x777bf4['open$']['pipe'](_0x112619(0x1))[_0x3fc1aa(0x378)](()=>{var _0x493fa8=_0x3fc1aa;this[_0x493fa8(0x1fe)](_0x777bf4);}),_0x777bf4['close$'][_0x3fc1aa(0x3a6)](_0x112619(0x1))[_0x3fc1aa(0x378)](_0x5a6b3c=>{var _0x2438e4=_0x3fc1aa;this[_0x2438e4(0x1e0)][_0x2438e4(0x268)]('[CollaborationSessionService]','socket\x20close',_0x5a6b3c),this[_0x2438e4(0x3ee)]();});}}catch(_0x3e71f7){this['_logService'][_0x3fc1aa(0x347)](_0x3e71f7),this[_0x3fc1aa(0x3ee)]();}}[_0x5c5167(0x1fe)](_0x3e45fb){var _0x1a211b=_0x5c5167;this[_0x1a211b(0x1e0)][_0x1a211b(0x268)](_0x1a211b(0x397),_0x1a211b(0x38e)),_0x3e45fb[_0x1a211b(0x338)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x5c5167(0x242)](){var _0x4c7c8e=_0x5c5167;this[_0x4c7c8e(0x44b)]=!0x1,this[_0x4c7c8e(0x3b2)]=null,this['_status$'][_0x4c7c8e(0x291)](ge[_0x4c7c8e(0x1ec)]),this[_0x4c7c8e(0x276)]['next'](null),this[_0x4c7c8e(0x1d3)](),this[_0x4c7c8e(0x481)]();}['_onConnectionFailed'](){var _0x9c05bd=_0x5c5167,_0x799b06;this[_0x9c05bd(0x242)](),this[_0x9c05bd(0x44e)]<((_0x799b06=this[_0x9c05bd(0x27e)]['getConfig'](Is))!=null?_0x799b06:Ts)?(this[_0x9c05bd(0x47b)][_0x9c05bd(0x3b4)]({'id':ne[_0x9c05bd(0x39f)]}),this['_tryReconnect']()):this[_0x9c05bd(0x47b)]['emitEvent']({'id':ne['SOCKET_FAILED']});}[_0x5c5167(0x422)](){var _0x2f9baf=_0x5c5167,_0x1b9d0c;const _0x4438d2=this['_retryCount'],_0x90d408=this[_0x2f9baf(0x27e)][_0x2f9baf(0x1a4)](K),_0x2b5c78=_0x4438d2===0x0?0x0:((_0x1b9d0c=_0x90d408==null?void 0x0:_0x90d408[_0x2f9baf(0x301)])!=null?_0x1b9d0c:Es)*0x2**_0x4438d2;this[_0x2f9baf(0x257)]=setTimeout(()=>{var _0x2d1c56=_0x2f9baf;clearTimeout(this[_0x2d1c56(0x257)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x2b5c78),this['_retryCount']+=0x1;}[_0x5c5167(0x476)](_0xe24b65,_0x17332f){var _0x30feba=_0x5c5167;const {cmd:_0x5d135d}=_0x17332f;_0x5d135d===F['HELLO']&&!this[_0x30feba(0x44b)]&&(_0xe24b65[_0x30feba(0x3b6)]=_0x17332f['data']['memberID'],this[_0x30feba(0x276)]['next'](_0xe24b65),this['_status$']['next'](ge['ONLINE']),this[_0x30feba(0x44b)]=!0x0,this['_candidateSocket']=null),_0x5d135d===F[_0x30feba(0x1ed)]&&this[_0x30feba(0x1d3)](),this[_0x30feba(0x1b5)]();}[_0x5c5167(0x1b5)](){var _0xbf2d1=_0x5c5167,_0x747df9;this[_0xbf2d1(0x481)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0xbf2d1(0x1ac)](),(_0x747df9=this['_configService']['getConfig'](gs))!=null?_0x747df9:Ss);}['_sendHeartbeat'](){var _0x2ea067=_0x5c5167;this[_0x2ea067(0x1fb)][_0x2ea067(0x338)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x5c5167(0x460)](){var _0x5bc22e=_0x5c5167,_0x18ab9e;this[_0x5bc22e(0x396)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x18ab9e=this[_0x5bc22e(0x27e)][_0x5bc22e(0x1a4)](di))!=null?_0x18ab9e:fi);}['_clearHeartbeatTimer'](){var _0x144fae=_0x5c5167;this[_0x144fae(0x3d9)]!=null&&(clearTimeout(this[_0x144fae(0x3d9)]),this[_0x144fae(0x3d9)]=null);}[_0x5c5167(0x1d3)](){var _0x3f4698=_0x5c5167;this[_0x3f4698(0x396)]!=null&&(clearTimeout(this[_0x3f4698(0x396)]),this[_0x3f4698(0x396)]=null);}};Pe=Bs([Re(0x0,_0x307146(_0x4b4f54)),Re(0x1,_0x3eb14a),Re(0x2,_0x4d0e1d),Re(0x3,mi),Re(0x4,_0x307146(ve)),Re(0x5,_0x4fe35e(bs))],Pe);const J=_0x561e1a(_0x5c5167(0x377));function br(_0x16a605){var _0x108e10=_0x5c5167;return _0x108e10(0x1c9)+_0x16a605;}var js=Object[_0x5c5167(0x2de)],Fs=(_0x18ef9b,_0x9775dd,_0x30d13c,_0x3dd2d5)=>{var _0x56986a=_0x5c5167;for(var _0xb14d90=_0x3dd2d5>0x1?void 0x0:_0x3dd2d5?js(_0x9775dd,_0x30d13c):_0x9775dd,_0x2450b6=_0x18ef9b[_0x56986a(0x418)]-0x1,_0x480742;_0x2450b6>=0x0;_0x2450b6--)(_0x480742=_0x18ef9b[_0x2450b6])&&(_0xb14d90=_0x480742(_0xb14d90)||_0xb14d90);return _0xb14d90;},ut=(_0x23c3e7,_0xe6a365)=>(_0x1579ce,_0xc78b19)=>_0xe6a365(_0x1579ce,_0xc78b19,_0x23c3e7);function Vs(_0x3b6088){var _0xe8c0a9=_0x5c5167;const {unitID:_0x2dc5fc,mutations:_0x445f30}=_0x3b6088;return{'unitId':_0x2dc5fc,'subUnitId':_0x445f30[0x0][_0xe8c0a9(0x40c)]['subUnitId']};}let it=class{constructor(_0xce451d,_0x136c3e,_0xa14a5){var _0x52b6f9=_0x5c5167;this[_0x52b6f9(0x48d)]=_0xce451d,this[_0x52b6f9(0x2a0)]=_0x136c3e,this[_0x52b6f9(0x272)]=_0xa14a5;}[_0x5c5167(0x3c7)](_0x5a86a1){var _0x2e76e3=_0x5c5167,_0x3262e4,_0xf6efa1,_0x58a9fb,_0x42be83;const _0x37da59=this['_injector']['get'](_0x8b834b),{unitId:_0x48e848,subUnitId:_0x26d160}=Vs(_0x5a86a1),_0x168076=_0x37da59==null?void 0x0:_0x37da59[_0x2e76e3(0x32f)](_0x48e848)[_0x2e76e3(0x2d0)](),_0x5efebd=(_0xf6efa1=(_0x3262e4=this[_0x2e76e3(0x272)][_0x2e76e3(0x2dd)](_0x48e848))==null?void 0x0:_0x3262e4[_0x2e76e3(0x478)]())==null?void 0x0:_0xf6efa1['getSheetId']();if(_0x168076[_0x2e76e3(0x418)]===0x0||!_0x48e848||!_0x26d160)return;const _0x42db6d=[{'id':_0x40d1b7['id'],'params':{'unitId':_0x48e848,'subUnitId':_0x5efebd,'selections':_0x2af291[_0x2e76e3(0x312)](_0x168076)}}],_0x5c0ef9=this[_0x2e76e3(0x2a0)][_0x2e76e3(0x3d8)](_0x5a86a1,_0x42db6d);if(!_0x297f9b(_0x5c0ef9))throw _0x5c0ef9[_0x2e76e3(0x347)];const _0x54632c=(_0x42be83=(_0x58a9fb=_0x5c0ef9[_0x2e76e3(0x287)][0x0])==null?void 0x0:_0x58a9fb['params'])==null?void 0x0:_0x42be83[_0x2e76e3(0x36b)];if(Array[_0x2e76e3(0x3e4)](_0x54632c)&&_0x54632c[_0x2e76e3(0x418)]){if(_0x54632c[_0x2e76e3(0x418)]===_0x42db6d[0x0][_0x2e76e3(0x40c)][_0x2e76e3(0x36b)][_0x2e76e3(0x418)]&&_0x54632c[_0x2e76e3(0x321)]((_0x49067a,_0x3c8730)=>_0x25b521[_0x2e76e3(0x267)](_0x49067a['range'],_0x42db6d[0x0][_0x2e76e3(0x40c)]['selections'][_0x3c8730][_0x2e76e3(0x34b)])))return;this[_0x2e76e3(0x48d)][_0x2e76e3(0x2d3)](_0x326877)[_0x2e76e3(0x41b)](_0x40d1b7['id'],{'unitId':_0x48e848,'subUnitId':_0x5efebd,'selections':_0x54632c});}}};it=Fs([ut(0x0,_0x307146(_0x4b4f54)),ut(0x1,_0x5d37ab),ut(0x2,_0x4e8bc9)],it);const ht=_0x561e1a(_0x5c5167(0x36e));var Si=(_0x4b4c95=>(_0x4b4c95[_0x4b4c95[_0x5c5167(0x336)]=0x0]=_0x5c5167(0x336),_0x4b4c95[_0x4b4c95[_0x5c5167(0x41d)]=0x1]=_0x5c5167(0x41d),_0x4b4c95))(Si||{});const Ws=new Set([_0x1e465c['id']]);function Gt(_0xeb70e6,_0x1aa7cc,_0x21e324,_0x5e0b0a,_0x224146){var _0x3fea88=_0x5c5167,_0x3098b6,_0x56a006,_0x39890b,_0x135a53;const _0x58b6c6=[];for(const _0x14aa79 of _0xeb70e6)if(Ws[_0x3fea88(0x1f7)](_0x14aa79['id'])){if(_0x58b6c6[_0x3fea88(0x418)]>0x0)break;_0x58b6c6[_0x3fea88(0x1e1)](_0x14aa79);break;}else _0x58b6c6[_0x3fea88(0x1e1)](_0x14aa79);const _0x1474ff=(_0x56a006=(_0x3098b6=_0x224146[_0x3fea88(0x229)]())==null?void 0x0:_0x3098b6[_0x3fea88(0x48a)])!=null?_0x56a006:_0x3fea88(0x3f9),_0x2deb9f=(_0x135a53=(_0x39890b=_0x224146[_0x3fea88(0x229)]())==null?void 0x0:_0x39890b['memberID'])!=null?_0x135a53:_0x3fea88(0x3f9);return{'changeset':{'unitID':_0x1aa7cc,'type':_0x4267ab(_0x21e324[_0x3fea88(0x296)](_0x1aa7cc)),'baseRev':_0x5e0b0a[_0x3fea88(0x2e4)](_0x1aa7cc),'revision':0x0,'userID':_0x1474ff,'memberID':_0x2deb9f,'mutations':_0x58b6c6},'pendingMutations':_0xeb70e6[_0x3fea88(0x218)](_0x58b6c6['length'])};}function Gs(_0x4518c3,_0x24a481,_0x567085,_0x3f813e,_0x1ff876){var _0x16ccbf=_0x5c5167,_0x524626,_0x70e185,_0x3a1031,_0x2707b6;const _0x223f8f=[_0x4518c3[_0x16ccbf(0x223)]((_0x4ec438,_0x18bf1a)=>{var _0x4807e4=_0x16ccbf,_0x15286f;const {id:_0x386bed}=_0x4ec438,{id:_0x3c65ec,type:_0x171e6d}=_0x18bf1a,_0x326da0=(_0x15286f=_0x4ec438[_0x4807e4(0x40c)])!=null?_0x15286f:{'actions':null},_0x2497fd=_0x18bf1a[_0x4807e4(0x40c)];if(_0x386bed&&_0x386bed!==_0x3c65ec)throw new Error(_0x4807e4(0x3c8)+_0x386bed+_0x4807e4(0x317)+_0x3c65ec+'.');return{..._0x4ec438,'id':_0x3c65ec,'type':_0x171e6d,'params':{'unitId':_0x2497fd[_0x4807e4(0x1a1)],'textRanges':_0x2497fd[_0x4807e4(0x3ec)],'actions':_0x1349a4[_0x4807e4(0x400)](_0x326da0[_0x4807e4(0x304)],_0x2497fd[_0x4807e4(0x304)])}};},{})],_0x15d631=(_0x70e185=(_0x524626=_0x1ff876[_0x16ccbf(0x229)]())==null?void 0x0:_0x524626['userID'])!=null?_0x70e185:'unknown',_0x5a8ca7=(_0x2707b6=(_0x3a1031=_0x1ff876[_0x16ccbf(0x229)]())==null?void 0x0:_0x3a1031[_0x16ccbf(0x3b6)])!=null?_0x2707b6:'unknown';return{'changeset':{'unitID':_0x24a481,'type':_0x4267ab(_0x567085[_0x16ccbf(0x296)](_0x24a481)),'baseRev':_0x3f813e['getCurrentRevOfUnit'](_0x24a481),'revision':0x0,'userID':_0x15d631,'memberID':_0x5a8ca7,'mutations':_0x223f8f},'pendingMutations':[]};}function Ei(_0x588d2d,_0x1d1abc){var _0x58ab36=_0x5c5167;const _0x11e510=new _0x433b08(0x1);return setTimeout(()=>_0x11e510[_0x58ab36(0x291)](_0x1d1abc),_0x588d2d),_0x11e510['asObservable']()[_0x58ab36(0x3a6)](_0x2113af(0x1));}const Ys={'id':_0x1b4146['id'],'type':_0x4cdb45[_0x5c5167(0x3f7)],'params':{}};var Ks=Object[_0x5c5167(0x2de)],Ee=(_0xe68a0e,_0xd1197f,_0x5e58b8,_0x8b7d5f)=>{var _0x101c35=_0x5c5167;for(var _0x40b469=_0x8b7d5f>0x1?void 0x0:_0x8b7d5f?Ks(_0xd1197f,_0x5e58b8):_0xd1197f,_0x4d953e=_0xe68a0e[_0x101c35(0x418)]-0x1,_0x1a1e5a;_0x4d953e>=0x0;_0x4d953e--)(_0x1a1e5a=_0xe68a0e[_0x4d953e])&&(_0x40b469=_0x1a1e5a(_0x40b469)||_0x40b469);return _0x40b469;},P=(_0x2d1b77,_0x1ca897)=>(_0x5cede5,_0x265f7a)=>_0x1ca897(_0x5cede5,_0x265f7a,_0x2d1b77),Ii=(_0x52a19d=>(_0x52a19d[_0x5c5167(0x2c1)]=_0x5c5167(0x323),_0x52a19d['SYNCED']='synced',_0x52a19d['PENDING']=_0x5c5167(0x36a),_0x52a19d['AWAITING']='awaiting',_0x52a19d[_0x5c5167(0x1a3)]='awaiting_with_pending',_0x52a19d[_0x5c5167(0x221)]=_0x5c5167(0x3c2),_0x52a19d[_0x5c5167(0x36c)]=_0x5c5167(0x1f3),_0x52a19d[_0x5c5167(0x1ec)]=_0x5c5167(0x265),_0x52a19d))(Ii||{});const Ti=0xea60;class Ie{constructor(_0x57cebd,_0x2a9335,_0x573702,_0x42e74d,_0x50207e,_0x24a359,_0x22115f,_0x2bc703,_0x3149b6){var _0x1cfa9c=_0x5c5167;N(this,'_awaitingChangeset',null),N(this,_0x1cfa9c(0x226),[]),(this[_0x1cfa9c(0x20e)]=_0x57cebd,this[_0x1cfa9c(0x465)]=_0x2a9335,this['_handler']=_0x50207e,this[_0x1cfa9c(0x219)]=_0x24a359,this[_0x1cfa9c(0x2c8)]=_0x22115f,this[_0x1cfa9c(0x46d)]=_0x2bc703,this[_0x1cfa9c(0x31f)]=_0x3149b6,this[_0x1cfa9c(0x302)]=_0x573702,this[_0x1cfa9c(0x226)]=_0x42e74d);}[_0x5c5167(0x2f8)](_0x36109e){var _0xf8c5e0=_0x5c5167;const _0x3ddf5e=this[_0xf8c5e0(0x46d)]['getCurrentRevOfUnit'](this[_0xf8c5e0(0x20e)]);return _0x36109e['revision']>_0x3ddf5e+0x1?(this[_0xf8c5e0(0x20b)][_0xf8c5e0(0x38d)]({'from':_0x3ddf5e,'to':_0x36109e[_0xf8c5e0(0x244)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1ada02){var _0x46097c=_0x5c5167;this[_0x46097c(0x2c8)][_0x46097c(0x388)](this[_0x46097c(0x20e)],_0x1ada02);}['_transformSelections'](_0x1a51fd){var _0x560031=_0x5c5167,_0x14e831,_0x4c38e1;(_0x4c38e1=(_0x14e831=this['_handler'])[_0x560031(0x48b)])==null||_0x4c38e1[_0x560031(0x1c3)](_0x14e831,_0x1a51fd);}['_transformIMECache'](_0x2a6150){var _0x3ee589=_0x5c5167,_0x32a644,_0x1209b2;return(_0x1209b2=(_0x32a644=this[_0x3ee589(0x20b)])[_0x3ee589(0x2ec)])==null?void 0x0:_0x1209b2[_0x3ee589(0x1c3)](_0x32a644,_0x2a6150);}[_0x5c5167(0x407)](_0x137972){var _0x2c3547=_0x5c5167,_0x545401,_0xe1eb9;return(_0xe1eb9=(_0x545401=this[_0x2c3547(0x20b)])[_0x2c3547(0x251)])==null?void 0x0:_0xe1eb9[_0x2c3547(0x1c3)](_0x545401,_0x137972);}[_0x5c5167(0x411)](_0x254189){var _0x15ef92=_0x5c5167,_0x43e6b9,_0x221612,_0x53f3c2;return(_0x53f3c2=(_0x221612=(_0x43e6b9=this['_handler'])[_0x15ef92(0x468)])==null?void 0x0:_0x221612[_0x15ef92(0x1c3)](_0x43e6b9,_0x254189))!=null?_0x53f3c2:_0x254189;}[_0x5c5167(0x436)](_0x391ace){var _0x240e8d=_0x5c5167,_0x5c5f58,_0x4b83b8,_0x551603;return(_0x551603=(_0x4b83b8=(_0x5c5f58=this[_0x240e8d(0x20b)])[_0x240e8d(0x3d6)])==null?void 0x0:_0x4b83b8[_0x240e8d(0x1c3)](_0x5c5f58,_0x391ace))!=null?_0x551603:_0x391ace;}[_0x5c5167(0x43a)](_0x3254c2){var _0x1a33d8=_0x5c5167,_0x459d49,_0x1233eb;if(this['type']===Z[_0x1a33d8(0x22f)]){const {unitID:_0x206947,mutations:_0x3332b1,memberID:_0x243487}=_0x3254c2,_0x3c7369=_0x3332b1[0x0]['params']['textRanges'];Array['isArray'](_0x3c7369)&&_0x3c7369[_0x1a33d8(0x418)]>0x0&&((_0x1233eb=(_0x459d49=this['_handler'])[_0x1a33d8(0x3da)])==null||_0x1233eb[_0x1a33d8(0x1c3)](_0x459d49,{'unitID':_0x206947,'memberID':_0x243487,'textRanges':_0x3c7369}));}}[_0x5c5167(0x451)](){var _0x3ccb80=_0x5c5167,_0x108bc0;(_0x108bc0=this[_0x3ccb80(0x31f)])==null||_0x108bc0[_0x3ccb80(0x1c0)](this[_0x3ccb80(0x20e)],this['type'],this[_0x3ccb80(0x302)],this[_0x3ccb80(0x226)]);}['_getCurrentRevision'](){var _0x4dd53b=_0x5c5167;return this['_revisionService'][_0x4dd53b(0x2e4)](this[_0x4dd53b(0x20e)]);}[_0x5c5167(0x1f1)](){var _0x2394ce=_0x5c5167;this[_0x2394ce(0x46d)]['incrementRevOfUnit'](this['unitID']);}[_0x5c5167(0x22b)](_0x43b521){var _0x3343f8=_0x5c5167,_0x245882;let _0xe22057=this[_0x3343f8(0x411)](_0x43b521);_0xe22057=this[_0x3343f8(0x436)](_0xe22057);const _0x564c30=_0x301a64(_0xe22057['mutations'],this[_0x3343f8(0x219)],{'fromCollab':!0x0});if(!_0x564c30[_0x3343f8(0x381)])throw _0x564c30[_0x3343f8(0x347)]instanceof Error?_0x564c30[_0x3343f8(0x347)]:new Error((_0x245882=_0x564c30[_0x3343f8(0x347)])!=null?_0x245882:_0x3343f8(0x3e2));this['_transformIMECache'](_0xe22057),this[_0x3343f8(0x407)](_0xe22057),this['_transformUndoredo'](_0x43b521),this[_0x3343f8(0x1f5)](_0xe22057),this[_0x3343f8(0x43a)](_0xe22057),this[_0x3343f8(0x1f1)]();}}let ye=class extends Ie{constructor(_0x493a91,_0xfce1b8,_0x523dbd,_0x1ea149,_0x10b117,_0x4251a4,_0x45a532,_0x5dc53e,_0x30657b,_0x153924){var _0x2e653c=_0x5c5167;super(_0x493a91,_0xfce1b8,null,[],_0x523dbd,_0x45a532,_0x4251a4,_0x1ea149,_0x153924),N(this,_0x2e653c(0x365),'synced'),(this[_0x2e653c(0x48d)]=_0x10b117,this['_logService']=_0x5dc53e,this[_0x2e653c(0x2a0)]=_0x30657b,this[_0x2e653c(0x3f0)]=_0x153924);}[_0x5c5167(0x45b)](_0x59a337){var _0x41aebc=_0x5c5167;const _0x19ec1b=this[_0x41aebc(0x48d)][_0x41aebc(0x1ef)](re,this[_0x41aebc(0x20e)],this['type'],[_0x59a337],this['_handler']);return _0x19ec1b['_schedule'](),_0x19ec1b['_updateLocalCache'](),_0x19ec1b;}['onRemoteChangeset'](_0x9ae550){var _0x617a87=_0x5c5167;if(this[_0x617a87(0x2f8)](_0x9ae550))return this[_0x617a87(0x48d)][_0x617a87(0x1ef)](Q,this[_0x617a87(0x20e)],this[_0x617a87(0x465)],null,[],null,[_0x9ae550],this[_0x617a87(0x20b)]);try{const _0x584c90=this[_0x617a87(0x2a0)][_0x617a87(0x3d8)](_0x9ae550,[Ys]);if(_0x297f9b(_0x584c90)){const {c1Prime:_0x1fdcd6}=_0x584c90;return this[_0x617a87(0x22b)](_0x1fdcd6),this;}throw _0x584c90[_0x617a87(0x347)];}catch(_0x55b4f2){return this['_logService'][_0x617a87(0x347)](_0x55b4f2),this[_0x617a87(0x494)](!0x1);}}[_0x5c5167(0x494)](_0xcdac9a){var _0x10fd4e=_0x5c5167;return this[_0x10fd4e(0x48d)][_0x10fd4e(0x1ef)](le,this[_0x10fd4e(0x20e)],this[_0x10fd4e(0x465)],null,[],this[_0x10fd4e(0x20b)],_0xcdac9a);}['onRemoteAck'](){var _0x112ece=_0x5c5167;throw new Error(_0x112ece(0x3ef));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5c5167(0x26b)](){return this;}['toggleOffline'](){var _0x5e0c02=_0x5c5167;return this[_0x5e0c02(0x48d)][_0x5e0c02(0x1ef)](ue,this[_0x5e0c02(0x20e)],this[_0x5e0c02(0x465)],null,[],this['_handler']);}[_0x5c5167(0x389)](){return this;}[_0x5c5167(0x2fd)](){var _0x1a1ba6=_0x5c5167;throw new Error(_0x1a1ba6(0x455));}['fetchMiss'](){var _0x3f114d=_0x5c5167;const _0xfb66ce=this[_0x3f114d(0x46d)][_0x3f114d(0x2e4)](this[_0x3f114d(0x20e)]);return this[_0x3f114d(0x20b)]['onMissingChangesets']({'from':_0xfb66ce,'to':0x0}),this[_0x3f114d(0x48d)][_0x3f114d(0x1ef)](Q,this['unitID'],this[_0x3f114d(0x465)],null,[],null,[],this['_handler']);}};ye=Ee([P(0x3,_0x307146(_0x4b9485)),P(0x4,_0x307146(_0x4b4f54)),P(0x5,_0x202bc0),P(0x6,_0x326877),P(0x7,_0x3eb14a),P(0x8,_0x5d37ab),P(0x9,_0x4fe35e(J))],ye);let re=class extends Ie{constructor(_0x36f9ff,_0x4aa673,_0x1f1067,_0x3659e9,_0x22e074,_0x31a1db,_0xe55070,_0x1063ce,_0x591abe,_0x2ccebd,_0x521a08,_0x2585fe,_0x5d998f,_0x3e4d4c){var _0x18c3e1=_0x5c5167;super(_0x36f9ff,_0x4aa673,null,_0x1f1067,_0x3659e9,_0x591abe,_0x5d998f,_0x31a1db,_0x3e4d4c),N(this,'status',_0x18c3e1(0x36a)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x18c3e1(0x289),null),(this[_0x18c3e1(0x48d)]=_0x22e074,this[_0x18c3e1(0x285)]=_0xe55070,this[_0x18c3e1(0x1e0)]=_0x1063ce,this[_0x18c3e1(0x27e)]=_0x2ccebd,this[_0x18c3e1(0x2a0)]=_0x521a08,this[_0x18c3e1(0x472)]=_0x2585fe);}[_0x5c5167(0x45b)](_0x493614){var _0x20f668=_0x5c5167;return this[_0x20f668(0x226)][_0x20f668(0x1e1)](_0x493614),this[_0x20f668(0x451)](),this;}['onRemoteChangeset'](_0x5beecd){var _0x3377af=_0x5c5167;if(this[_0x3377af(0x2f8)](_0x5beecd))return this[_0x3377af(0x203)](),this['_injector'][_0x3377af(0x1ef)](Q,this[_0x3377af(0x20e)],this[_0x3377af(0x465)],null,this[_0x3377af(0x226)],null,[_0x5beecd],this[_0x3377af(0x20b)]);try{const _0x38de6a=this[_0x3377af(0x2a0)][_0x3377af(0x3d8)](_0x5beecd,this['_pendingMutations']);if(_0x297f9b(_0x38de6a)){const {c1Prime:_0x476af9,m2Prime:_0x5570c2}=_0x38de6a;this[_0x3377af(0x22b)](_0x476af9);const _0x33ee4b=this[_0x3377af(0x48d)]['createInstance'](re,this['unitID'],this[_0x3377af(0x465)],_0x5570c2,this['_handler']);this['_clearScheduledTask']();const _0x5753f7=new Date()[_0x3377af(0x356)](),_0xc6015=this['_scheduleCompleteTimestamp']?Math['max'](this['_scheduleCompleteTimestamp']-_0x5753f7,0x0):this[_0x3377af(0x2bb)]();return _0x33ee4b[_0x3377af(0x2cb)](_0xc6015),_0x33ee4b;}throw _0x38de6a[_0x3377af(0x347)];}catch(_0x4f5de6){return this[_0x3377af(0x1e0)][_0x3377af(0x347)](_0x4f5de6),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x224d40=_0x5c5167;throw new Error(_0x224d40(0x282));}[_0x5c5167(0x292)](){var _0x5f387f=_0x5c5167;throw new Error(_0x5f387f(0x395));}[_0x5c5167(0x26b)](){return this;}[_0x5c5167(0x360)](){var _0x2b803c=_0x5c5167;return this[_0x2b803c(0x203)](),this['_injector'][_0x2b803c(0x1ef)](ue,this[_0x2b803c(0x20e)],this[_0x2b803c(0x465)],null,this[_0x2b803c(0x226)],this[_0x2b803c(0x20b)]);}[_0x5c5167(0x389)](){return this;}[_0x5c5167(0x2cb)](_0x3ab486){var _0x38f2=_0x5c5167;const _0x1e85d2=_0x3ab486!=null?_0x3ab486:this[_0x38f2(0x2bb)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x1e85d2,this['_sendingTimer']=setTimeout(()=>{var _0xf1d8fa=_0x38f2;this[_0xf1d8fa(0x203)]();let _0x4bb404=null;switch(this['type']){case Z['UNIVER_SHEET']:{_0x4bb404=Gt(this[_0xf1d8fa(0x226)],this[_0xf1d8fa(0x20e)],this['_univerInstanceService'],this[_0xf1d8fa(0x46d)],this['_memberService']);break;}case Z[_0xf1d8fa(0x22f)]:{this['_pendingMutations'][_0xf1d8fa(0x321)](_0x211d65=>_0x211d65['id']===_0x381cca['id'])?_0x4bb404=Gs(this[_0xf1d8fa(0x226)],this['unitID'],this[_0xf1d8fa(0x472)],this[_0xf1d8fa(0x46d)],this[_0xf1d8fa(0x285)]):_0x4bb404=Gt(this[_0xf1d8fa(0x226)],this[_0xf1d8fa(0x20e)],this['_univerInstanceService'],this[_0xf1d8fa(0x46d)],this['_memberService']);break;}default:throw new Error(_0xf1d8fa(0x305)+this['type']+_0xf1d8fa(0x1a9));}const {changeset:_0x593786,pendingMutations:_0x53d2f9}=_0x4bb404;this['_handler'][_0xf1d8fa(0x1bc)](_0x593786);const _0x5736dd=_0x53d2f9[_0xf1d8fa(0x418)]?this[_0xf1d8fa(0x48d)][_0xf1d8fa(0x1ef)](ae,this[_0xf1d8fa(0x20e)],this['type'],_0x593786,_0x53d2f9,this[_0xf1d8fa(0x20b)],void 0x0):this['_injector']['createInstance'](_e,this['unitID'],this['type'],_0x593786,this[_0xf1d8fa(0x20b)]);_0x5736dd[_0xf1d8fa(0x451)](),this[_0xf1d8fa(0x20b)]['onStateChange'](this,_0x5736dd);},_0x1e85d2);}[_0x5c5167(0x2bb)](){var _0x38a4ce=_0x5c5167,_0x129c18;const _0x2df449=this[_0x38a4ce(0x27e)]['getConfig'](K);return(_0x129c18=_0x2df449==null?void 0x0:_0x2df449[_0x38a4ce(0x1ba)])!=null?_0x129c18:ps;}[_0x5c5167(0x2fd)](){var _0x4d4efb=_0x5c5167;throw new Error(_0x4d4efb(0x1e2));}['_clearScheduledTask'](){var _0x56e4f9=_0x5c5167;this['_sendingTimer']!=null&&(clearTimeout(this[_0x56e4f9(0x289)]),this[_0x56e4f9(0x289)]=null);}['_onConflict'](_0x146a4f){var _0x101eab=_0x5c5167;return this[_0x101eab(0x203)](),this[_0x101eab(0x48d)][_0x101eab(0x1ef)](le,this[_0x101eab(0x20e)],this['type'],null,this[_0x101eab(0x226)],this[_0x101eab(0x20b)],_0x146a4f);}};re=Ee([P(0x4,_0x307146(_0x4b4f54)),P(0x5,_0x307146(_0x4b9485)),P(0x6,_0x307146(we)),P(0x7,_0x3eb14a),P(0x8,_0x326877),P(0x9,_0x4d0e1d),P(0xa,_0x5d37ab),P(0xb,_0x4e8bc9),P(0xc,_0x202bc0),P(0xd,_0x4fe35e(J))],re);let _e=class extends Ie{constructor(_0x160c65,_0x4c67cb,_0x162745,_0xf481b3,_0x52e680,_0x5c4d9b,_0x236d95,_0x2fecc9,_0x209bfb,_0x4c20ed,_0x3ecc44){var _0xe3547=_0x5c5167;super(_0x160c65,_0x4c67cb,_0x162745,[],_0xf481b3,_0x236d95,_0x4c20ed,_0x5c4d9b,_0x3ecc44),N(this,_0xe3547(0x365),_0xe3547(0x3f3)),N(this,_0xe3547(0x207),0x0),N(this,_0xe3547(0x322)),N(this,'_sender'),(this[_0xe3547(0x48d)]=_0x52e680,this[_0xe3547(0x1e0)]=_0x2fecc9,this[_0xe3547(0x2a0)]=_0x209bfb);}[_0x5c5167(0x45b)](_0x17199a){var _0x8e4e8f=_0x5c5167;this[_0x8e4e8f(0x203)]();const _0x4708b9=this[_0x8e4e8f(0x48d)][_0x8e4e8f(0x1ef)](ae,this[_0x8e4e8f(0x20e)],this['type'],this[_0x8e4e8f(0x302)],[_0x17199a],this[_0x8e4e8f(0x20b)],this[_0x8e4e8f(0x322)]);return _0x4708b9[_0x8e4e8f(0x451)](),_0x4708b9;}[_0x5c5167(0x42f)](_0xbafe7f){var _0x58f8c0=_0x5c5167;if(this[_0x58f8c0(0x2f8)](_0xbafe7f))return this[_0x58f8c0(0x203)](),this[_0x58f8c0(0x48d)][_0x58f8c0(0x1ef)](Q,this[_0x58f8c0(0x20e)],this[_0x58f8c0(0x465)],this[_0x58f8c0(0x302)],[],null,[_0xbafe7f],this['_handler']);try{const _0xa9d9e6=this[_0x58f8c0(0x2a0)][_0x58f8c0(0x1a0)]([_0xbafe7f],[this[_0x58f8c0(0x302)]],!0x1);if(_0x2be158(_0xa9d9e6)){const {c1Prime:_0x263fbf,c2Prime:_0x37a805}=_0xa9d9e6;this['_executeRemoteChangeset'](_0x263fbf[0x0]),_0x37a805[0x0][_0x58f8c0(0x47d)]=this[_0x58f8c0(0x288)](),this[_0x58f8c0(0x203)]();const _0x425d2a=this[_0x58f8c0(0x48d)][_0x58f8c0(0x1ef)](_e,this['unitID'],this[_0x58f8c0(0x465)],_0x37a805[0x0],this[_0x58f8c0(0x20b)]);return _0x425d2a['_updateLocalCache'](),_0x425d2a;}return this[_0x58f8c0(0x494)](!0x1);}catch(_0x2298d0){return this[_0x58f8c0(0x1e0)][_0x58f8c0(0x347)](_0x2298d0),this['_onConflict'](!0x1);}}[_0x5c5167(0x1f4)](_0x2f4bf2){var _0x1fa771=_0x5c5167;this[_0x1fa771(0x203)]();const _0x163ced=this[_0x1fa771(0x46d)]['getCurrentRevOfUnit'](this['unitID']);if(_0x2f4bf2['revision']<_0x163ced-0x1)return this;if(this[_0x1fa771(0x2f8)](_0x2f4bf2))return this[_0x1fa771(0x48d)][_0x1fa771(0x1ef)](Q,this[_0x1fa771(0x20e)],this[_0x1fa771(0x465)],null,[],this[_0x1fa771(0x302)],[],this[_0x1fa771(0x20b)]);this['_incrementRevisionNumber']();const _0x13eb26=this[_0x1fa771(0x48d)][_0x1fa771(0x1ef)](ye,this[_0x1fa771(0x20e)],this[_0x1fa771(0x465)],this['_handler']);return _0x13eb26['_updateLocalCache'](),_0x13eb26;}[_0x5c5167(0x292)](_0x3b009f){var _0x3acc1b=_0x5c5167;return this[_0x3acc1b(0x494)](!!(_0x3b009f!=null&&_0x3b009f[_0x3acc1b(0x40b)]));}[_0x5c5167(0x26b)](_0x4af7f2){var _0x42f9c2=_0x5c5167;return this['_resendTimeout']>Ti?this[_0x42f9c2(0x360)]():(this[_0x42f9c2(0x322)]=Ei(this[_0x42f9c2(0x207)],{'timeout':this['_resendTimeout'],'reqId':_0x4af7f2['reqId']}),this[_0x42f9c2(0x425)]=this[_0x42f9c2(0x322)][_0x42f9c2(0x378)](({reqId:_0x57ba38,timeout:_0x4fd924})=>{var _0x1fe27d=_0x42f9c2;this[_0x1fe27d(0x2bd)](_0x57ba38,_0x4fd924);}),this);}['toggleOffline'](){var _0x462e23=_0x5c5167;return this[_0x462e23(0x203)](),this[_0x462e23(0x48d)][_0x462e23(0x1ef)](ue,this[_0x462e23(0x20e)],this[_0x462e23(0x465)],this['_awaitingChangeset'],[],this[_0x462e23(0x20b)]);}[_0x5c5167(0x389)](){return this;}[_0x5c5167(0x2fd)](){var _0x2b73b0=_0x5c5167;this[_0x2b73b0(0x20b)]['onSendChangeset'](this[_0x2b73b0(0x302)]);}[_0x5c5167(0x494)](_0x453c30){var _0x4cda53=_0x5c5167;return this['_clearScheduledTask'](),this[_0x4cda53(0x48d)][_0x4cda53(0x1ef)](le,this[_0x4cda53(0x20e)],this[_0x4cda53(0x465)],this[_0x4cda53(0x302)],[],this[_0x4cda53(0x20b)],_0x453c30);}[_0x5c5167(0x2bd)](_0x7574b6,_0x56d9cc){var _0x52a7a2=_0x5c5167,_0x4f1e21;_0x7574b6===((_0x4f1e21=this['_awaitingChangeset'])==null?void 0x0:_0x4f1e21[_0x52a7a2(0x3a9)])&&(this[_0x52a7a2(0x2fd)](),this[_0x52a7a2(0x207)]=_0x56d9cc===0x0?0x3e8:_0x56d9cc*0x2);}['_clearScheduledTask'](){var _0x2898fa=_0x5c5167,_0x570f8b;(_0x570f8b=this['_sender'])==null||_0x570f8b[_0x2898fa(0x253)](),this[_0x2898fa(0x207)]=0x0;}};_e=Ee([P(0x4,_0x307146(_0x4b4f54)),P(0x5,_0x307146(_0x4b9485)),P(0x6,_0x326877),P(0x7,_0x3eb14a),P(0x8,_0x5d37ab),P(0x9,_0x202bc0),P(0xa,_0x4fe35e(J))],_e);let ae=class extends Ie{constructor(_0x37043d,_0x5705b0,_0x1b8e59,_0x5c22fd,_0x2f7310,_0x4d20b3,_0x230655,_0x222094,_0x3d0883,_0xb7549d,_0x49f76e,_0x107a2d,_0x384439){var _0x29eb78=_0x5c5167;super(_0x37043d,_0x5705b0,_0x1b8e59,_0x5c22fd,_0x2f7310,_0x3d0883,_0x107a2d,_0x222094,_0x384439),N(this,_0x29eb78(0x365),_0x29eb78(0x445)),N(this,_0x29eb78(0x207),0x0),N(this,_0x29eb78(0x322)),N(this,'_sender'),(this[_0x29eb78(0x48d)]=_0x230655,this[_0x29eb78(0x1e0)]=_0xb7549d,this[_0x29eb78(0x2a0)]=_0x49f76e,this['localCacheService']=_0x384439,_0x4d20b3&&(this[_0x29eb78(0x322)]=_0x4d20b3,this[_0x29eb78(0x425)]=this[_0x29eb78(0x322)]['subscribe'](({reqId:_0x3b9552,timeout:_0x35f52f})=>{var _0x502198=_0x29eb78;this[_0x502198(0x2bd)](_0x3b9552,_0x35f52f);})));}[_0x5c5167(0x45b)](_0x1557b0){var _0x15915c=_0x5c5167;return this[_0x15915c(0x226)][_0x15915c(0x1e1)](_0x1557b0),this;}[_0x5c5167(0x42f)](_0x15ca66){var _0x17421c=_0x5c5167;if(this[_0x17421c(0x2f8)](_0x15ca66))return this[_0x17421c(0x203)](),this[_0x17421c(0x48d)]['createInstance'](Q,this[_0x17421c(0x20e)],this[_0x17421c(0x465)],this[_0x17421c(0x302)],this[_0x17421c(0x226)],null,[_0x15ca66],this[_0x17421c(0x20b)]);try{const _0x530989=this['_transformService'][_0x17421c(0x1a0)]([_0x15ca66],[this[_0x17421c(0x302)]],!0x1);if(_0x2be158(_0x530989)){const {c1Prime:_0x43c2a5,c2Prime:_0x57e2a0}=_0x530989,_0x28e6f5=this[_0x17421c(0x2a0)]['transformMutationsWithChangeset'](_0x43c2a5[0x0],this[_0x17421c(0x226)]);if(_0x297f9b(_0x28e6f5)){const {c1Prime:_0x5584ea,m2Prime:_0x46b3bd}=_0x28e6f5;return this[_0x17421c(0x22b)](_0x5584ea),_0x57e2a0[0x0]['baseRev']=this[_0x17421c(0x288)](),this[_0x17421c(0x203)](),this[_0x17421c(0x48d)][_0x17421c(0x1ef)](ae,this['unitID'],this[_0x17421c(0x465)],_0x57e2a0[0x0],_0x46b3bd,this['_handler'],void 0x0);}throw _0x28e6f5[_0x17421c(0x347)];}throw _0x530989['error'];}catch(_0x442f88){return this[_0x17421c(0x1e0)]['error'](_0x442f88),this[_0x17421c(0x494)](!0x1);}}[_0x5c5167(0x1f4)](_0x2a8eb2){var _0x445a41=_0x5c5167;if(this[_0x445a41(0x203)](),this[_0x445a41(0x2f8)](_0x2a8eb2))return this[_0x445a41(0x48d)][_0x445a41(0x1ef)](Q,this[_0x445a41(0x20e)],this[_0x445a41(0x465)],null,this[_0x445a41(0x226)],this[_0x445a41(0x302)],[],this[_0x445a41(0x20b)]);this[_0x445a41(0x1f1)]();const _0x312024=this['_injector'][_0x445a41(0x1ef)](re,this[_0x445a41(0x20e)],this[_0x445a41(0x465)],this[_0x445a41(0x226)],this['_handler']);return _0x312024[_0x445a41(0x2cb)](),_0x312024[_0x445a41(0x451)](),_0x312024;}[_0x5c5167(0x292)](_0x459612){var _0x101a48=_0x5c5167;return this[_0x101a48(0x494)](!!(_0x459612!=null&&_0x459612[_0x101a48(0x40b)]));}[_0x5c5167(0x26b)](_0x420881){var _0x28ea44=_0x5c5167;return this[_0x28ea44(0x207)]>Ti?this['toggleOffline']():(this['_resendTimer']=Ei(this[_0x28ea44(0x207)],{'timeout':this['_resendTimeout'],'reqId':_0x420881[_0x28ea44(0x3a9)]}),this['_sender']=this[_0x28ea44(0x322)][_0x28ea44(0x378)](({reqId:_0x3cb8e3,timeout:_0x4b089b})=>{this['_resendWithTimeout'](_0x3cb8e3,_0x4b089b);}),this);}[_0x5c5167(0x360)](){var _0x1481b0=_0x5c5167;return this[_0x1481b0(0x203)](),this[_0x1481b0(0x48d)][_0x1481b0(0x1ef)](ue,this['unitID'],this['type'],this[_0x1481b0(0x302)],this[_0x1481b0(0x226)],this[_0x1481b0(0x20b)]);}[_0x5c5167(0x389)](){return this;}['resend'](){var _0x406971=_0x5c5167;this[_0x406971(0x20b)][_0x406971(0x1bc)](this[_0x406971(0x302)]);}['_onConflict'](_0x971cc2){var _0x1d10e9=_0x5c5167;return this['_clearScheduledTask'](),this[_0x1d10e9(0x48d)][_0x1d10e9(0x1ef)](le,this[_0x1d10e9(0x20e)],this['type'],null,this[_0x1d10e9(0x226)],this[_0x1d10e9(0x20b)],_0x971cc2);}[_0x5c5167(0x2bd)](_0x1d5a9d,_0x36f854){var _0x444d9a=_0x5c5167,_0xba6069;_0x1d5a9d===((_0xba6069=this['_awaitingChangeset'])==null?void 0x0:_0xba6069[_0x444d9a(0x3a9)])&&(this['resend'](),this[_0x444d9a(0x207)]=_0x36f854===0x0?0x3e8:_0x36f854*0x2);}[_0x5c5167(0x203)](){var _0x378e95=_0x5c5167,_0x5772ce;(_0x5772ce=this[_0x378e95(0x425)])==null||_0x5772ce[_0x378e95(0x253)](),this[_0x378e95(0x207)]=0x0;}};ae=Ee([P(0x6,_0x307146(_0x4b4f54)),P(0x7,_0x307146(_0x4b9485)),P(0x8,_0x326877),P(0x9,_0x3eb14a),P(0xa,_0x5d37ab),P(0xb,_0x202bc0),P(0xc,_0x4fe35e(J))],ae);let le=class extends Ie{constructor(_0x1ea0a6,_0xfdf9b,_0x56d47e,_0x306f09,_0x38288f,_0x5029cf=!0x1,_0x40e186,_0x46779f,_0xf981dc,_0x15fc9f,_0x58cc71,_0x1c3972,_0x4da6b7){var _0x367e61=_0x5c5167;super(_0x1ea0a6,_0xfdf9b,_0x56d47e,_0x306f09,_0x38288f,_0x46779f,_0xf981dc,_0x15fc9f,_0x4da6b7),N(this,_0x367e61(0x365),_0x367e61(0x1f3)),(this['_isPermissionRej']=_0x5029cf,this['_permissionService']=_0x40e186,this[_0x367e61(0x1e3)]=_0x58cc71,this[_0x367e61(0x47b)]=_0x1c3972,this[_0x367e61(0x3f0)]=_0x4da6b7,this[_0x367e61(0x1b4)](),this['_clearLocalCache'](),this[_0x367e61(0x1c8)]());}[_0x5c5167(0x45b)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x5c5167(0x292)](){return this;}[_0x5c5167(0x26b)](){return this;}[_0x5c5167(0x360)](){return this;}[_0x5c5167(0x389)](){return this;}[_0x5c5167(0x2fd)](){var _0x494bd9=_0x5c5167;throw new Error(_0x494bd9(0x3aa));}['_clearLocalCache'](){var _0x5ac29b=_0x5c5167,_0xd5163;(_0xd5163=this[_0x5ac29b(0x31f)])==null||_0xd5163[_0x5ac29b(0x1c0)](this[_0x5ac29b(0x20e)],this[_0x5ac29b(0x465)],null,[]);}[_0x5c5167(0x1b4)](){var _0x5302c4=_0x5c5167;this[_0x5302c4(0x37b)]?this[_0x5302c4(0x47b)]['emitEvent']({'id':ne[_0x5302c4(0x19f)]}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x5302c4(0x36c)]});}['_disableEditing'](){var _0x31d8df=_0x5c5167;this[_0x31d8df(0x449)][_0x31d8df(0x20f)](new _0x5996a1(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x307146(_0xeeb0ba)),P(0x7,_0x326877),P(0x8,_0x202bc0),P(0x9,_0x307146(_0x4b9485)),P(0xa,_0x307146(_0x398834)),P(0xb,_0x307146(ve)),P(0xc,_0x4fe35e(J))],le);let ue=class extends Ie{constructor(_0x2ef459,_0x315b9f,_0x44b89a,_0x25ac0a,_0xb667a0,_0x242bde,_0xf257b8,_0x467ecc,_0x4691a8,_0x3367e0){var _0x2ef2cc=_0x5c5167;super(_0x2ef459,_0x315b9f,_0x44b89a,_0x25ac0a,_0xb667a0,_0x467ecc,_0x4691a8,_0xf257b8,_0x3367e0),N(this,_0x2ef2cc(0x365),_0x2ef2cc(0x265)),this[_0x2ef2cc(0x48d)]=_0x242bde;}[_0x5c5167(0x45b)](_0x2e8887){var _0x2a5824=_0x5c5167;return this[_0x2a5824(0x226)][_0x2a5824(0x1e1)](_0x2e8887),this[_0x2a5824(0x451)](),this;}[_0x5c5167(0x42f)](_0x3afb67){var _0x23193d=_0x5c5167;throw new Error(_0x23193d(0x35b));}[_0x5c5167(0x1f4)](){var _0x1a2d8f=_0x5c5167;throw new Error(_0x1a2d8f(0x200));}[_0x5c5167(0x292)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5c5167(0x360)](){return this;}[_0x5c5167(0x389)](){var _0x304727=_0x5c5167;const {_injector:_0x1bb54c,_pendingMutations:_0x46b6b0,_awaitingChangeset:_0x402fbe,unitID:_0x25a4b9,_handler:_0x322b58,type:_0x4525d0}=this,_0x571701=Ci(_0x1bb54c,_0x25a4b9,_0x4525d0,_0x402fbe,_0x46b6b0,_0x322b58);return _0x571701 instanceof re?_0x571701[_0x304727(0x2cb)]():(_0x571701 instanceof ae||_0x571701 instanceof _e)&&_0x571701[_0x304727(0x2fd)](),_0x571701;}['resend'](){var _0x379e81=_0x5c5167;throw new Error(_0x379e81(0x3ed));}};ue=Ee([P(0x5,_0x307146(_0x4b4f54)),P(0x6,_0x307146(_0x4b9485)),P(0x7,_0x326877),P(0x8,_0x202bc0),P(0x9,_0x4fe35e(J))],ue);let Q=class extends Ie{constructor(_0x30e31c,_0x29a250,_0x51400d,_0x2ab20d,_0x3728c2,_0x3170bc,_0x19eb9d,_0x4baa90,_0x260118,_0x2dc8c4,_0x27a8e0,_0x5e1f61,_0x58b814,_0x1e46d1){var _0xc8418f=_0x5c5167;super(_0x30e31c,_0x29a250,_0x51400d,_0x2ab20d,_0x19eb9d,_0x27a8e0,_0x5e1f61,_0x260118,_0x1e46d1),N(this,'status',_0xc8418f(0x3c2)),(this[_0xc8418f(0x19b)]=_0x3728c2,this['_queuedRemoteChangesets']=_0x3170bc,this[_0xc8418f(0x48d)]=_0x4baa90,this[_0xc8418f(0x1e0)]=_0x2dc8c4,this['_transformService']=_0x58b814,this[_0xc8418f(0x3f0)]=_0x1e46d1);}['onMissedChangesetFetched'](_0x54579e){var _0x3a95d9=_0x5c5167;try{const _0x46adba=[..._0x54579e,...this[_0x3a95d9(0x406)]],_0x3f7bcd=[this[_0x3a95d9(0x302)]||this[_0x3a95d9(0x19b)]][_0x3a95d9(0x498)](_0xa51724=>!!_0xa51724);let _0x193cbf,_0x104cd6;if(_0x3f7bcd[_0x3a95d9(0x418)]){const _0x243f26=this[_0x3a95d9(0x2a0)][_0x3a95d9(0x1a0)](_0x46adba,_0x3f7bcd,!0x1);if(!_0x2be158(_0x243f26))throw _0x243f26[_0x3a95d9(0x347)];_0x193cbf=_0x243f26['c1Prime'],_0x104cd6=_0x243f26[_0x3a95d9(0x300)];}else _0x193cbf=_0x46adba,_0x104cd6=[];let _0x5a647c=this[_0x3a95d9(0x226)];_0x193cbf['forEach'](_0x3e5a70=>{var _0x5c7600=_0x3a95d9;let _0x400d13;if(_0x5a647c[_0x5c7600(0x418)]){const _0x43fb09=this[_0x5c7600(0x2a0)][_0x5c7600(0x3d8)](_0x3e5a70,_0x5a647c);if(!_0x297f9b(_0x43fb09))throw _0x43fb09['error'];_0x400d13=_0x43fb09['c1Prime'],_0x5a647c=_0x43fb09[_0x5c7600(0x287)];}else _0x400d13=_0x3e5a70;this['_executeRemoteChangeset'](_0x400d13);}),this[_0x3a95d9(0x19b)]&&this[_0x3a95d9(0x1f1)](),this[_0x3a95d9(0x302)]&&_0x104cd6[_0x3a95d9(0x418)]&&(_0x104cd6[0x0][_0x3a95d9(0x47d)]=this['_getCurrentRevision']());let _0x2d6a6f;if(this[_0x3a95d9(0x302)]&&_0x5a647c[_0x3a95d9(0x418)]!==0x0)_0x2d6a6f=this['_injector'][_0x3a95d9(0x1ef)](ae,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],_0x104cd6[0x0],_0x5a647c,this['_handler'],void 0x0);else{if(this[_0x3a95d9(0x302)]&&_0x5a647c[_0x3a95d9(0x418)]===0x0)_0x104cd6[0x0][_0x3a95d9(0x47d)]=this[_0x3a95d9(0x288)](),_0x2d6a6f=this['_injector'][_0x3a95d9(0x1ef)](_e,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],_0x104cd6[0x0],this[_0x3a95d9(0x20b)]);else{if(_0x5a647c['length']!==0x0){const _0x3a3f71=this[_0x3a95d9(0x48d)]['createInstance'](re,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],_0x5a647c,this['_handler']);_0x3a3f71[_0x3a95d9(0x2cb)](),_0x2d6a6f=_0x3a3f71;}else _0x2d6a6f=this['_injector']['createInstance'](ye,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],this[_0x3a95d9(0x20b)]);}}return _0x2d6a6f[_0x3a95d9(0x451)](),_0x2d6a6f;}catch(_0x50f7b2){return this[_0x3a95d9(0x1e0)][_0x3a95d9(0x347)](_0x3a95d9(0x350),_0x3a95d9(0x430),_0x50f7b2),this[_0x3a95d9(0x48d)]['createInstance'](le,this[_0x3a95d9(0x20e)],this[_0x3a95d9(0x465)],this[_0x3a95d9(0x302)],this['_pendingMutations'],this[_0x3a95d9(0x20b)],!0x1);}}[_0x5c5167(0x2fd)](){var _0x5a10d1=_0x5c5167;throw new Error(_0x5a10d1(0x3ea));}[_0x5c5167(0x45b)](_0x2c8276){var _0x21f920=_0x5c5167;return this['_pendingMutations'][_0x21f920(0x1e1)](_0x2c8276),this;}[_0x5c5167(0x42f)](_0x4c8f61){var _0x3af20b=_0x5c5167;return this['_queuedRemoteChangesets'][_0x3af20b(0x1e1)](_0x4c8f61),this;}[_0x5c5167(0x1f4)](_0x4dc953){var _0x3fb821=_0x5c5167;if(this[_0x3fb821(0x302)])return this[_0x3fb821(0x19b)]=this[_0x3fb821(0x302)],this['_awaitingChangeset']=null,this;throw new Error(_0x3fb821(0x256));}[_0x5c5167(0x292)](_0x4e68b7){var _0x5e4437=_0x5c5167;return this[_0x5e4437(0x494)](!!(_0x4e68b7!=null&&_0x4e68b7[_0x5e4437(0x40b)]));}[_0x5c5167(0x26b)](){return this;}[_0x5c5167(0x360)](){var _0x27a750=_0x5c5167;return this[_0x27a750(0x48d)][_0x27a750(0x1ef)](ue,this[_0x27a750(0x20e)],this['type'],this[_0x27a750(0x302)],this['_pendingMutations'],this['_handler']);}[_0x5c5167(0x389)](){return this;}['_onConflict'](_0x4480bc){var _0x2dc2d1=_0x5c5167;return this[_0x2dc2d1(0x48d)][_0x2dc2d1(0x1ef)](le,this[_0x2dc2d1(0x20e)],this[_0x2dc2d1(0x465)],this[_0x2dc2d1(0x302)],this['_pendingMutations'],this['_handler'],_0x4480bc);}};Q=Ee([P(0x7,_0x307146(_0x4b4f54)),P(0x8,_0x307146(_0x4b9485)),P(0x9,_0x3eb14a),P(0xa,_0x326877),P(0xb,_0x202bc0),P(0xc,_0x5d37ab),P(0xd,_0x4fe35e(J))],Q);function Ci(_0x2c6e3d,_0x1d43fc,_0x42277e,_0x39e41c,_0x541053,_0x56be6f){var _0x3bfd04=_0x5c5167;return _0x39e41c&&_0x541053[_0x3bfd04(0x418)]?_0x2c6e3d[_0x3bfd04(0x1ef)](ae,_0x1d43fc,_0x42277e,_0x39e41c,_0x541053,_0x56be6f,void 0x0):_0x39e41c?_0x2c6e3d[_0x3bfd04(0x1ef)](_e,_0x1d43fc,_0x42277e,_0x39e41c,_0x56be6f):_0x541053[_0x3bfd04(0x418)]?_0x2c6e3d[_0x3bfd04(0x1ef)](re,_0x1d43fc,_0x42277e,_0x541053,_0x56be6f):_0x2c6e3d[_0x3bfd04(0x1ef)](ye,_0x1d43fc,_0x42277e,_0x56be6f);}var qs=Object[_0x5c5167(0x2de)],wt=(_0x4e0f81,_0x310653,_0x17bff0,_0x2c4adf)=>{var _0x201d2b=_0x5c5167;for(var _0xd4f0eb=_0x2c4adf>0x1?void 0x0:_0x2c4adf?qs(_0x310653,_0x17bff0):_0x310653,_0x14ce09=_0x4e0f81[_0x201d2b(0x418)]-0x1,_0xdfb8f0;_0x14ce09>=0x0;_0x14ce09--)(_0xdfb8f0=_0x4e0f81[_0x14ce09])&&(_0xd4f0eb=_0xdfb8f0(_0xd4f0eb)||_0xd4f0eb);return _0xd4f0eb;},H=(_0x4ff8e7,_0x44579b)=>(_0x4df1bc,_0x3229d3)=>_0x44579b(_0x4df1bc,_0x3229d3,_0x4ff8e7);let st=class extends _0x2049da{constructor(_0x1aa634,_0x5a045a,_0x38e39d,_0x2b5172,_0x430797,_0x264b63,_0x1e4247,_0x537626,_0x2f8efb,_0x594deb,_0x5e1fb8,_0x29e062,_0x44bf1d){var _0x57e2ba=_0x5c5167;super(),N(this,_0x57e2ba(0x21e),new _0x582d2e(null)),N(this,_0x57e2ba(0x27f),this[_0x57e2ba(0x21e)][_0x57e2ba(0x2eb)]()),N(this,'_state'),N(this,_0x57e2ba(0x3df),!0x1),N(this,_0x57e2ba(0x30f),''),N(this,_0x57e2ba(0x2ff),0x0),N(this,_0x57e2ba(0x24a),this[_0x57e2ba(0x27f)]['pipe'](_0x91e2e7(_0x550c85=>_0x550c85?_0x550c85[_0x57e2ba(0x365)]:Ii[_0x57e2ba(0x1ec)]),_0x492df6(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x57e2ba(0x32b),[]),(this[_0x57e2ba(0x20e)]=_0x1aa634,this[_0x57e2ba(0x493)]=_0x5a045a,this[_0x57e2ba(0x43b)]=_0x38e39d,this[_0x57e2ba(0x48d)]=_0x2b5172,this[_0x57e2ba(0x303)]=_0x430797,this[_0x57e2ba(0x1e3)]=_0x264b63,this[_0x57e2ba(0x46d)]=_0x1e4247,this[_0x57e2ba(0x1b3)]=_0x537626,this[_0x57e2ba(0x1e0)]=_0x2f8efb,this[_0x57e2ba(0x219)]=_0x594deb,this['_permissionService']=_0x5e1fb8,this[_0x57e2ba(0x21d)]=_0x29e062,this[_0x57e2ba(0x31f)]=_0x44bf1d);}get[_0x5c5167(0x216)](){var _0x8ea083=_0x5c5167;return this[_0x8ea083(0x22d)];}async[_0x5c5167(0x22a)](){var _0x2fbb33=_0x5c5167;if(this[_0x2fbb33(0x216)])throw new Error(_0x2fbb33(0x3e9));await this[_0x2fbb33(0x3af)]();}[_0x5c5167(0x2b6)](){var _0x12a6b5=_0x5c5167;return this[_0x12a6b5(0x3df)]=!0x0,_0x56b292(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x2fea8e){var _0x4e72ef=_0x5c5167;this[_0x4e72ef(0x2cc)](_0x2fea8e);}[_0x5c5167(0x2b2)](_0x3a8c63){var _0xbf49c3=_0x5c5167;this[_0xbf49c3(0x22d)]=_0x3a8c63,this[_0xbf49c3(0x21e)][_0xbf49c3(0x291)](_0x3a8c63);}async[_0x5c5167(0x3af)](){var _0x285d94=_0x5c5167,_0x20e297;this[_0x285d94(0x2b2)](await this[_0x285d94(0x1e7)]()),this['_singleActiveUnitService']&&((_0x20e297=this['_singleActiveUnitService'])==null||_0x20e297[_0x285d94(0x376)](this['unitID']),this[_0x285d94(0x3dc)](this['_singleActiveUnitService'][_0x285d94(0x2a6)](this[_0x285d94(0x20e)])[_0x285d94(0x378)](_0x1fd034=>{var _0x3b1cbe=_0x285d94;this[_0x3b1cbe(0x1e0)][_0x3b1cbe(0x268)](_0x3b1cbe(0x477),_0x3b1cbe(0x19c),_0x1fd034),_0x1fd034===Si['OTHER_CLIENTS_EDITING']?(this[_0x3b1cbe(0x1b3)]['emitEvent']({'id':ne[_0x3b1cbe(0x392)]}),this['_permissionService']['updatePermissionPoint'](new _0x5996a1(this[_0x3b1cbe(0x20e)])['id'],!0x1),this[_0x3b1cbe(0x449)][_0x3b1cbe(0x27d)](!0x1)):(this[_0x3b1cbe(0x449)][_0x3b1cbe(0x20f)](new _0x5996a1(this['unitID'])['id'],!0x0),this[_0x3b1cbe(0x449)]['setShowComponents'](!0x0));})));let _0x4033b=!0x1;return this['disposeWithMe'](this[_0x285d94(0x493)][_0x285d94(0x33d)][_0x285d94(0x378)](_0x12f645=>{var _0x50cecc=_0x285d94;_0x12f645===ge[_0x50cecc(0x28b)]?this[_0x50cecc(0x23f)](_0x4033b):_0x12f645===ge[_0x50cecc(0x1ec)]&&(_0x4033b=!0x0,this[_0x50cecc(0x23a)]());})),this[_0x285d94(0x3dc)](this[_0x285d94(0x493)][_0x285d94(0x452)][_0x285d94(0x378)](_0xffa78f=>{var _0x53478e=_0x285d94;try{switch(_0xffa78f[_0x53478e(0x245)]){case _0x49bb1d[_0x53478e(0x3a3)]:{this[_0x53478e(0x43c)](_0x5cfbfd(_0xffa78f[_0x53478e(0x41c)]));break;}case _0x49bb1d['CHANGESET_ACK']:{this[_0x53478e(0x230)](_0xffa78f[_0x53478e(0x41c)]);break;}case _0x49bb1d[_0x53478e(0x333)]:{this['_onRemoteRejected']();break;}case _0x49bb1d[_0x53478e(0x2fa)]:{this['_onRemoteRetry'](_0xffa78f['data']);break;}case _0x49bb1d['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x53478e(0x2aa)](_0xffa78f['data'][_0x53478e(0x3a1)][_0x53478e(0x2b8)](_0x1a393f=>_0x5cfbfd(_0x1a393f)));break;}case _0x49bb1d['PERMISSION_REJ']:{this[_0x53478e(0x3ba)]({'isPermissionRej':!0x0});break;}case _0x49bb1d[_0x53478e(0x461)]:break;}}catch(_0x5ab50b){throw console[_0x53478e(0x347)](_0x53478e(0x21a),_0x5ab50b),_0x5ab50b;}})),this[_0x285d94(0x22d)];}['_unlockTransition'](){var _0x715c21=_0x5c5167;this[_0x715c21(0x237)]=!0x1;}['_lockTransition'](){var _0x59f43f=_0x5c5167;if(this['_transitionLocked'])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[_0x59f43f(0x237)]=!0x0;}[_0x5c5167(0x2cc)](_0x4dbe61){var _0x320a51=_0x5c5167;this[_0x320a51(0x20a)](),this[_0x320a51(0x2b2)](this[_0x320a51(0x22d)][_0x320a51(0x45b)](_0x4dbe61)),this[_0x320a51(0x28e)]();}[_0x5c5167(0x43c)](_0x9a1e56){var _0xdd796b=_0x5c5167;if(!(_0x9a1e56['revision']<=this[_0xdd796b(0x46d)]['getCurrentRevOfUnit'](this[_0xdd796b(0x20e)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x9a1e56);return;}this[_0xdd796b(0x328)](_0x9a1e56);}}[_0x5c5167(0x2e9)](){var _0x142f1b=_0x5c5167;this[_0x142f1b(0x32b)][_0x142f1b(0x357)](_0x2e21b7=>this[_0x142f1b(0x328)](_0x2e21b7)),this[_0x142f1b(0x32b)]=[];}[_0x5c5167(0x328)](_0x299aa1){var _0x2f2b3f=_0x5c5167;const _0x328ecc=this['_compressMutationService'][_0x2f2b3f(0x1e6)][_0x2f2b3f(0x31d)](this[_0x2f2b3f(0x303)][_0x2f2b3f(0x1e6)]['getInterceptPoints']()[_0x2f2b3f(0x46e)])(_0x299aa1[_0x2f2b3f(0x2e0)],null)||_0x299aa1[_0x2f2b3f(0x2e0)],_0x3467f6={..._0x299aa1,'mutations':_0x328ecc};this['_lockTransition'](),this[_0x2f2b3f(0x2b2)](this[_0x2f2b3f(0x22d)]['onRemoteChangeset'](_0x3467f6)),this['_unlockTransition']();}[_0x5c5167(0x230)](_0x1d14bb){var _0x40319c=_0x5c5167;this[_0x40319c(0x20a)](),this[_0x40319c(0x2b2)](this[_0x40319c(0x22d)][_0x40319c(0x1f4)](_0x1d14bb)),this[_0x40319c(0x28e)]();}[_0x5c5167(0x3ba)](_0x524998){var _0x5b1dc6=_0x5c5167;this[_0x5b1dc6(0x20a)](),this[_0x5b1dc6(0x2b2)](this[_0x5b1dc6(0x22d)][_0x5b1dc6(0x292)](_0x524998)),this['_unlockTransition']();}[_0x5c5167(0x39a)](_0x3779bb){var _0x326258=_0x5c5167;this[_0x326258(0x20a)](),this[_0x326258(0x2b2)](this['_state'][_0x326258(0x26b)](_0x3779bb)),this[_0x326258(0x28e)]();}[_0x5c5167(0x2aa)](_0x29403a){var _0x151edd=_0x5c5167;if(!(this[_0x151edd(0x22d)]instanceof Q))throw new TypeError(_0x151edd(0x1b1));const _0x32e178=_0x29403a[_0x151edd(0x2b8)](_0x43fe41=>{var _0x7486ec=_0x151edd;const _0x10450b=this[_0x7486ec(0x303)][_0x7486ec(0x1e6)][_0x7486ec(0x31d)](this[_0x7486ec(0x303)][_0x7486ec(0x1e6)][_0x7486ec(0x1db)]()[_0x7486ec(0x46e)])(_0x43fe41['mutations'],null)||_0x43fe41[_0x7486ec(0x2e0)];return{..._0x43fe41,'mutations':_0x10450b};});this[_0x151edd(0x20a)](),this[_0x151edd(0x2b2)](this[_0x151edd(0x22d)][_0x151edd(0x38f)](_0x32e178)),this[_0x151edd(0x28e)]();}[_0x5c5167(0x23a)](){var _0x4dc5dc=_0x5c5167;this[_0x4dc5dc(0x20a)](),this['_updateState'](this['_state'][_0x4dc5dc(0x360)]()),this[_0x4dc5dc(0x28e)]();}['_toggleOnline'](_0x573759=!0x1){var _0x1973e1=_0x5c5167;this[_0x1973e1(0x20a)](),this[_0x1973e1(0x2b2)](this[_0x1973e1(0x22d)][_0x1973e1(0x389)]()),this['_unlockTransition']();const _0x178310=this[_0x1973e1(0x22d)];_0x573759&&_0x178310 instanceof ye&&(this[_0x1973e1(0x20a)](),this['_updateState'](_0x178310['fetchMiss']()),this[_0x1973e1(0x28e)]());}async[_0x5c5167(0x1e7)](){return new Promise(_0x1c88df=>{var _0x1a39ff=_0xb5db;this[_0x1a39ff(0x493)][_0x1a39ff(0x33d)]['pipe'](_0x2113af(0x1))[_0x1a39ff(0x378)](async _0x3d551c=>{var _0x14467b=_0x1a39ff;_0x1c88df(await this[_0x14467b(0x3db)](_0x3d551c===ge[_0x14467b(0x28b)]));});});}['_createHandler'](){const _0x3c4f5c=this['unitID'];return{'onStateChange':(_0x5e5b31,_0x166b55)=>{var _0x334be3=_0xb5db;if(_0x5e5b31!==this[_0x334be3(0x22d)])throw new Error(_0x334be3(0x2c3)+_0x5e5b31[_0x334be3(0x365)]+'\x0aAfter:\x20'+_0x166b55[_0x334be3(0x365)]+_0x334be3(0x45e)+this['_state']['status']);this[_0x334be3(0x2b2)](_0x166b55);},'onSendChangeset':_0x31e47d=>{var _0x4a15f2=_0xb5db;_0x31e47d[_0x4a15f2(0x404)]||(_0x31e47d[_0x4a15f2(0x404)]=this[_0x4a15f2(0x30f)],_0x31e47d[_0x4a15f2(0x3a9)]=++this[_0x4a15f2(0x2ff)]);const _0x4cd9c3={'eventID':_0x49bb1d[_0x4a15f2(0x1a2)],'data':{'unitID':_0x31e47d[_0x4a15f2(0x20e)],'unitType':this['_type'],'changeset':_0x31e47d,'memberID':this['session']['getMemberID']()}};this['session'][_0x4a15f2(0x338)](_0x4cd9c3,this[_0x4a15f2(0x20e)]);},'onMissingChangesets':({from:_0x3bac34,to:_0x378f41})=>{var _0x2cdf1e=_0xb5db;this[_0x2cdf1e(0x1e0)][_0x2cdf1e(0x268)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x3bac34+'\x20to\x20'+_0x378f41);const _0x5c61a3={'eventID':_0x49bb1d['FETCH_MISSING'],'data':{'unitID':_0x3c4f5c,'unitType':this[_0x2cdf1e(0x43b)],'from':_0x3bac34,'to':_0x378f41}};this[_0x2cdf1e(0x493)]['send'](_0x5c61a3,this['unitID']);}};}async[_0x5c5167(0x3db)](_0x30e023){var _0x2d1d42=_0x5c5167,_0x201a74,_0x125da,_0x195886;const _0x167430=await((_0x201a74=this[_0x2d1d42(0x31f)])==null?void 0x0:_0x201a74['loadOfflineData'](this[_0x2d1d42(0x20e)])),_0x50ead6=(_0x125da=_0x167430==null?void 0x0:_0x167430[_0x2d1d42(0x2e0)])!=null?_0x125da:[],_0x47284c=(_0x195886=_0x167430==null?void 0x0:_0x167430['awaitingChangeset'])!=null?_0x195886:null,_0x56907b=!!(_0x47284c!=null&&_0x47284c[_0x2d1d42(0x404)])&&!!(_0x47284c!=null&&_0x47284c[_0x2d1d42(0x3a9)]);this['_changesetSessionId']=_0x56907b?_0x47284c['sid']:_0x394e74(),this['_changesetReqId']=_0x56907b?_0x47284c[_0x2d1d42(0x3a9)]:0x0;const _0x31d9f9=this[_0x2d1d42(0x20e)];try{this[_0x2d1d42(0x215)](_0x47284c,_0x50ead6);}catch(_0x1889c1){this[_0x2d1d42(0x1e0)][_0x2d1d42(0x347)](_0x1889c1);}const _0x14ac88=this[_0x2d1d42(0x3c4)]();if(_0x30e023){const _0xfb3650=Ci(this['_injector'],_0x31d9f9,this[_0x2d1d42(0x43b)],_0x47284c,_0x50ead6,_0x14ac88);return _0xfb3650 instanceof re?_0xfb3650[_0x2d1d42(0x2cb)]():(_0xfb3650 instanceof ae||_0xfb3650 instanceof _e)&&_0xfb3650[_0x2d1d42(0x2fd)](),_0xfb3650;}return this[_0x2d1d42(0x48d)]['createInstance'](ue,_0x31d9f9,this[_0x2d1d42(0x43b)],_0x47284c,_0x50ead6,_0x14ac88);}[_0x5c5167(0x215)](_0x40680b,_0x2cb1b1){var _0x3f590a=_0x5c5167,_0x5ab171,_0x4df515;const _0x5ba1fc=this[_0x3f590a(0x303)][_0x3f590a(0x1e6)]['fetchThroughInterceptors'](this[_0x3f590a(0x303)][_0x3f590a(0x1e6)][_0x3f590a(0x1db)]()['COMPRESS_MUTATION_APPLY']);(_0x5ab171=_0x5ba1fc((_0x40680b==null?void 0x0:_0x40680b[_0x3f590a(0x2e0)])||[],null))==null||_0x5ab171[_0x3f590a(0x357)](_0x39ba50=>this[_0x3f590a(0x219)][_0x3f590a(0x41b)](_0x39ba50['id'],_0x39ba50[_0x3f590a(0x40c)])),(_0x4df515=_0x5ba1fc(_0x2cb1b1||[],null))==null||_0x4df515[_0x3f590a(0x357)](_0xc4d9de=>this[_0x3f590a(0x219)][_0x3f590a(0x41b)](_0xc4d9de['id'],_0xc4d9de[_0x3f590a(0x40c)]));}};st=wt([H(0x3,_0x307146(_0x4b4f54)),H(0x4,_0x307146(_0x16b727)),H(0x5,_0x307146(_0x398834)),H(0x6,_0x307146(_0x4b9485)),H(0x7,_0x307146(ve)),H(0x8,_0x3eb14a),H(0x9,_0x326877),H(0xa,_0xeeb0ba),H(0xb,_0x4fe35e(ht)),H(0xc,_0x4fe35e(J))],st);let St=class extends st{constructor(_0x34821a,_0x4287d1,_0x9a428c,_0x4a94bf,_0xe8edaa,_0x106228,_0x5b1e5a,_0x88071f,_0x132456,_0x197fe3,_0x28cfaf,_0x584e8d,_0x4a4b9c){var _0x2032ee=_0x5c5167;super(_0x34821a,_0x9a428c,_0x4287d1,_0x4a94bf,_0xe8edaa,_0x106228,_0x5b1e5a,_0x88071f,_0x132456,_0x197fe3,_0x28cfaf,_0x584e8d,_0x4a4b9c),N(this,_0x2032ee(0x3c6),null),(this[_0x2032ee(0x20e)]=_0x34821a,this[_0x2032ee(0x465)]=_0x4287d1);}[_0x5c5167(0x1ca)](_0x560162){var _0x33d77d=_0x5c5167;this[_0x33d77d(0x3c6)]=_0x560162;}['dispose'](){var _0x68c59b=_0x5c5167;this[_0x68c59b(0x3c6)]=null,super[_0x68c59b(0x424)]();}[_0x5c5167(0x3c4)](){var _0x30d3b6=_0x5c5167;const _0x33b648=super['_createHandler']();return _0x33b648['onTransformIME']=_0x15e8d0=>{var _0x123e08=_0xb5db,_0x1c1840,_0x411ae2;return(_0x411ae2=(_0x1c1840=this['_handlerCallback'])==null?void 0x0:_0x1c1840[_0x123e08(0x2ec)])==null?void 0x0:_0x411ae2[_0x123e08(0x1c3)](_0x1c1840,_0x15e8d0);},_0x33b648['onTransformState']=_0x267010=>{var _0x59752e=_0xb5db,_0xaa0616,_0x3cf8c6;return(_0x3cf8c6=(_0xaa0616=this[_0x59752e(0x3c6)])==null?void 0x0:_0xaa0616['onTransformState'])==null?void 0x0:_0x3cf8c6[_0x59752e(0x1c3)](_0xaa0616,_0x267010);},_0x33b648['onTransformSelections']=_0x3a58e4=>{var _0x191a78=_0xb5db,_0x5e14bc,_0x31c1b9;return(_0x31c1b9=(_0x5e14bc=this[_0x191a78(0x3c6)])==null?void 0x0:_0x5e14bc[_0x191a78(0x48b)])==null?void 0x0:_0x31c1b9[_0x191a78(0x1c3)](_0x5e14bc,_0x3a58e4);},_0x33b648[_0x30d3b6(0x3da)]=_0x1c18b4=>{var _0x26a0cc=_0x30d3b6,_0x3d1057,_0x2a7522;return(_0x2a7522=(_0x3d1057=this[_0x26a0cc(0x3c6)])==null?void 0x0:_0x3d1057[_0x26a0cc(0x3da)])==null?void 0x0:_0x2a7522[_0x26a0cc(0x1c3)](_0x3d1057,_0x1c18b4);},_0x33b648['onTransformRemoteChangesetByIMECache']=_0x42f183=>{var _0x19d223=_0x30d3b6,_0x13a359,_0x16f999,_0x4ce31d;if(!((_0x13a359=this[_0x19d223(0x3c6)])!=null&&_0x13a359['onTransformRemoteChangesetByIMECache']))throw new Error(_0x19d223(0x20d));return(_0x4ce31d=(_0x16f999=this[_0x19d223(0x3c6)])==null?void 0x0:_0x16f999[_0x19d223(0x468)])==null?void 0x0:_0x4ce31d[_0x19d223(0x1c3)](_0x16f999,_0x42f183);},_0x33b648[_0x30d3b6(0x3d6)]=_0x119d1e=>{var _0x5162b2=_0x30d3b6,_0x26dd76,_0x1b419e,_0x5f5696;if(!((_0x26dd76=this[_0x5162b2(0x3c6)])!=null&&_0x26dd76[_0x5162b2(0x3d6)]))throw new Error(_0x5162b2(0x1b7));return(_0x5f5696=(_0x1b419e=this[_0x5162b2(0x3c6)])==null?void 0x0:_0x1b419e[_0x5162b2(0x3d6)])==null?void 0x0:_0x5f5696[_0x5162b2(0x1c3)](_0x1b419e,_0x119d1e);},_0x33b648;}async[_0x5c5167(0x3af)](){var _0x2b48ae=_0x5c5167;const _0x10cbc4=await super[_0x2b48ae(0x3af)]();return this['disposeWithMe'](this[_0x2b48ae(0x219)][_0x2b48ae(0x3a0)]((_0x1fe134,_0x4eaea4)=>{var _0x1b67af=_0x2b48ae;if(_0x1fe134['type']!==_0x4cdb45[_0x1b67af(0x3f7)]||_0x4eaea4!=null&&_0x4eaea4[_0x1b67af(0x21c)]||_0x4eaea4!=null&&_0x4eaea4[_0x1b67af(0x1ad)]||_0x1fe134['id']===_0x381cca['id'])return;const _0x3e1489=_0x1fe134[_0x1b67af(0x40c)];if((_0x3e1489==null?void 0x0:_0x3e1489[_0x1b67af(0x1a1)])!==this['unitID'])return;const _0x233954=_0x1fe134,_0x555056=this[_0x1b67af(0x303)][_0x1b67af(0x1e6)]['fetchThroughInterceptors'](this[_0x1b67af(0x303)][_0x1b67af(0x1e6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x233954],null)||[_0x233954];this[_0x1b67af(0x2cc)](_0x555056[0x0]);})),_0x10cbc4;}};St=wt([H(0x3,_0x307146(_0x4b4f54)),H(0x4,_0x307146(_0x16b727)),H(0x5,_0x307146(_0x398834)),H(0x6,_0x307146(_0x4b9485)),H(0x7,_0x307146(ve)),H(0x8,_0x3eb14a),H(0x9,_0x326877),H(0xa,_0xeeb0ba),H(0xb,_0x4fe35e(ht)),H(0xc,_0x4fe35e(J))],St);let Et=class extends st{constructor(_0x5c8394,_0x1d59e5,_0x36d289,_0xad2002,_0x4d1fb3,_0x1bb29a,_0x56e0c0,_0x21d66d,_0x340d86,_0x1dd2c3,_0x231b11,_0x48d3a6,_0x1dc36a,_0x30c601){var _0x48e8d3=_0x5c5167;super(_0x5c8394,_0x36d289,_0x1d59e5,_0xad2002,_0x4d1fb3,_0x1bb29a,_0x56e0c0,_0x340d86,_0x1dd2c3,_0x231b11,_0x48d3a6,_0x1dc36a,_0x30c601),this[_0x48e8d3(0x20e)]=_0x5c8394,this['type']=_0x1d59e5,this['_sheetTransformSelectionsService']=_0x21d66d;}[_0x5c5167(0x3c4)](){var _0x20292c=_0x5c5167;const _0x2a27bc=super['_createHandler']();return _0x2a27bc[_0x20292c(0x48b)]=_0x96a187=>this[_0x20292c(0x35a)]['transformSelections'](_0x96a187),_0x2a27bc;}async['_init'](){var _0xae3e37=_0x5c5167;const _0x508c82=await super[_0xae3e37(0x3af)]();return this[_0xae3e37(0x3dc)](this['_commandService'][_0xae3e37(0x3a0)]((_0x3eccd5,_0x5092e0)=>{var _0x12ee3f=_0xae3e37;if(_0x3eccd5[_0x12ee3f(0x465)]!==_0x4cdb45[_0x12ee3f(0x3f7)]||_0x5092e0!=null&&_0x5092e0[_0x12ee3f(0x21c)]||_0x5092e0!=null&&_0x5092e0['onlyLocal'])return;const _0x4950cb=_0x3eccd5[_0x12ee3f(0x40c)];if((_0x4950cb==null?void 0x0:_0x4950cb[_0x12ee3f(0x1a1)])!==this[_0x12ee3f(0x20e)])return;const _0xd535d=_0x3eccd5,_0x5dfb01=this[_0x12ee3f(0x303)][_0x12ee3f(0x1e6)]['fetchThroughInterceptors'](this[_0x12ee3f(0x303)][_0x12ee3f(0x1e6)]['getInterceptPoints']()[_0x12ee3f(0x351)])([_0xd535d],null)||[_0xd535d];this[_0x12ee3f(0x2cc)](_0x5dfb01[0x0]);})),_0x508c82;}};Et=wt([H(0x3,_0x307146(_0x4b4f54)),H(0x4,_0x307146(_0x16b727)),H(0x5,_0x307146(_0x398834)),H(0x6,_0x307146(_0x4b9485)),H(0x7,_0x307146(it)),H(0x8,_0x307146(ve)),H(0x9,_0x3eb14a),H(0xa,_0x326877),H(0xb,_0xeeb0ba),H(0xc,_0x4fe35e(ht)),H(0xd,_0x4fe35e(J))],Et);var zs=Object[_0x5c5167(0x2de)],Js=(_0x18be8a,_0x102980,_0x1352de,_0x192dea)=>{for(var _0x4aa154=_0x192dea>0x1?void 0x0:_0x192dea?zs(_0x102980,_0x1352de):_0x102980,_0x48dcd8=_0x18be8a['length']-0x1,_0x240e38;_0x48dcd8>=0x0;_0x48dcd8--)(_0x240e38=_0x18be8a[_0x48dcd8])&&(_0x4aa154=_0x240e38(_0x4aa154)||_0x4aa154);return _0x4aa154;},Be=(_0x5dbb43,_0x576382)=>(_0x3c2caa,_0x5d4c24)=>_0x576382(_0x3c2caa,_0x5d4c24,_0x5dbb43);let nt=class extends _0x2049da{constructor(_0x1ce4c0,_0x4147f2,_0x4b83a5,_0x1e3ab5){var _0x2a0796=_0x5c5167,_0x3a8628;super(),N(this,'_entities',new Map()),N(this,_0x2a0796(0x2f2),new _0x431a14()),N(this,_0x2a0796(0x4a1),this['_entityInit$']['asObservable']()),(this[_0x2a0796(0x48d)]=_0x1ce4c0,this['_collabSessionService']=_0x4147f2,this['_configService']=_0x4b83a5,this['_univerInstanceService']=_0x1e3ab5,((_0x3a8628=this[_0x2a0796(0x27e)][_0x2a0796(0x1a4)](K))==null?void 0x0:_0x3a8628[_0x2a0796(0x1a7)])!==!0x1&&this[_0x2a0796(0x3af)]());}[_0x5c5167(0x424)](){var _0x2f0abf=_0x5c5167;super[_0x2f0abf(0x424)](),this[_0x2f0abf(0x2e7)][_0x2f0abf(0x357)](_0x3a83a5=>_0x3a83a5[_0x2f0abf(0x424)]()),this[_0x2f0abf(0x2e7)]['clear']();}[_0x5c5167(0x283)](_0x56cb2e){var _0x24760a=_0x5c5167,_0x583f6e;return(_0x583f6e=this[_0x24760a(0x2e7)][_0x24760a(0x2d3)](_0x56cb2e))!=null?_0x583f6e:null;}['getCollabEntity$'](_0x593c24){var _0x272b74=_0x5c5167;const _0x7e02f9=this[_0x272b74(0x283)](_0x593c24);return _0x7e02f9?_0xe3ff1f(_0x7e02f9):this[_0x272b74(0x2f2)][_0x272b74(0x3a6)](_0x10a3bd(_0x2386ad=>_0x2386ad[_0x272b74(0x20e)]===_0x593c24));}[_0x5c5167(0x2f0)](_0x51f127){var _0x23ef6b=_0x5c5167;return _0x2108e1(this['getCollabEntity$'](_0x51f127)[_0x23ef6b(0x3a6)](_0x4aa1f9(()=>{})));}[_0x5c5167(0x3af)](){var _0x2e6ee6=_0x5c5167;this[_0x2e6ee6(0x472)][_0x2e6ee6(0x29a)](_0x33d220[_0x2e6ee6(0x232)])[_0x2e6ee6(0x3a6)](_0x51a064(this[_0x2e6ee6(0x417)]),_0xb4b242(0x10))['subscribe'](async _0x3d05df=>{var _0x17d5ee=_0x2e6ee6;const _0x2c7400=_0x3d05df[_0x17d5ee(0x492)](),_0x4237ea=await this[_0x17d5ee(0x462)](_0x2c7400,Z[_0x17d5ee(0x232)]);this[_0x17d5ee(0x2e7)][_0x17d5ee(0x444)](_0x2c7400,_0x4237ea);}),this[_0x2e6ee6(0x472)][_0x2e6ee6(0x29a)](_0x33d220[_0x2e6ee6(0x22f)])[_0x2e6ee6(0x3a6)](_0x51a064(this[_0x2e6ee6(0x417)]),_0xb4b242(0x10))['pipe'](_0x10a3bd(_0x255c60=>!_0x255c60[_0x2e6ee6(0x492)]()[_0x2e6ee6(0x2e1)]('__')))[_0x2e6ee6(0x378)](async _0x11e622=>{var _0x1b4dc2=_0x2e6ee6;const _0x3da541=_0x11e622[_0x1b4dc2(0x492)](),_0x299751=await this['_startCollaboration'](_0x3da541,Z[_0x1b4dc2(0x22f)]);this[_0x1b4dc2(0x2e7)][_0x1b4dc2(0x444)](_0x3da541,_0x299751);}),_0x3eede2(this[_0x2e6ee6(0x472)][_0x2e6ee6(0x19d)](_0x33d220['UNIVER_SHEET']),this[_0x2e6ee6(0x472)][_0x2e6ee6(0x19d)](_0x33d220[_0x2e6ee6(0x22f)]))[_0x2e6ee6(0x3a6)](_0x51a064(this[_0x2e6ee6(0x417)]))['subscribe'](_0x17a952=>{var _0x2663ef=_0x2e6ee6;const _0x2e4785=_0x17a952[_0x2663ef(0x492)](),_0x3e72e3=this[_0x2663ef(0x2e7)][_0x2663ef(0x2d3)](_0x2e4785);_0x3e72e3&&(_0x3e72e3[_0x2663ef(0x424)](),this[_0x2663ef(0x2e7)][_0x2663ef(0x217)](_0x2e4785));});}async[_0x5c5167(0x462)](_0x4ecca3,_0x2cf71c){var _0x48cebb=_0x5c5167;const _0x2990d1=await this[_0x48cebb(0x1dd)][_0x48cebb(0x423)](_0x4ecca3),_0x168ba6=this[_0x48cebb(0x48d)][_0x48cebb(0x1ef)](this['_getCtorByUniverType'](_0x2cf71c),_0x4ecca3,_0x2cf71c,_0x2990d1);return await _0x168ba6[_0x48cebb(0x22a)](),this['_entityInit$'][_0x48cebb(0x291)](_0x168ba6),_0x168ba6;}[_0x5c5167(0x355)](_0x4cce1a){var _0x3f7182=_0x5c5167;switch(_0x4cce1a){case Z[_0x3f7182(0x22f)]:return St;case Z[_0x3f7182(0x232)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4cce1a);}}};nt=Js([Be(0x0,_0x307146(_0x4b4f54)),Be(0x1,_0x307146(Pe)),Be(0x2,_0x4d0e1d),Be(0x3,_0x4e8bc9)],nt);var Xs=Object[_0x5c5167(0x2de)],Zs=(_0x1f6aef,_0x3d5031,_0x2d9e58,_0x41f185)=>{var _0x3b624f=_0x5c5167;for(var _0x4f0619=_0x41f185>0x1?void 0x0:_0x41f185?Xs(_0x3d5031,_0x2d9e58):_0x3d5031,_0x2201ff=_0x1f6aef[_0x3b624f(0x418)]-0x1,_0x3bfd85;_0x2201ff>=0x0;_0x2201ff--)(_0x3bfd85=_0x1f6aef[_0x2201ff])&&(_0x4f0619=_0x3bfd85(_0x4f0619)||_0x4f0619);return _0x4f0619;},Yt=(_0x3fb6d6,_0x3ae8c9)=>(_0x52b3c3,_0x308138)=>_0x3ae8c9(_0x52b3c3,_0x308138,_0x3fb6d6);const Qs=_0x5c5167(0x24d),en=_0x5c5167(0x382);let It=class extends _0x3bee79{constructor(_0x49a62a,_0x5c1c22){var _0x4f851d=_0x5c5167;super(),this[_0x4f851d(0x472)]=_0x49a62a,this[_0x4f851d(0x27e)]=_0x5c1c22,this[_0x4f851d(0x3af)]();}[_0x5c5167(0x3af)](){var _0x3b4511=_0x5c5167;this[_0x3b4511(0x3dc)](this['_univerInstanceService'][_0x3b4511(0x439)]['subscribe'](()=>{var _0x34266e=_0x3b4511,_0xf3b914;const _0x5712ee=this['_univerInstanceService'][_0x34266e(0x25c)]();let _0x13a1d1=(_0xf3b914=this[_0x34266e(0x27e)][_0x34266e(0x1a4)](Qs))!=null?_0xf3b914:en;_0x5712ee instanceof _0x1eb668&&(_0x13a1d1=_0x5712ee[_0x34266e(0x246)]),document['title']=_0x13a1d1;}));}};It=Zs([Yt(0x0,_0x4e8bc9),Yt(0x1,_0x4d0e1d)],It);var tn=Object[_0x5c5167(0x2de)],sn=(_0x3c6dd0,_0x49ff64,_0x34e1ec,_0x353219)=>{var _0x3593f6=_0x5c5167;for(var _0x5e3f58=_0x353219>0x1?void 0x0:_0x353219?tn(_0x49ff64,_0x34e1ec):_0x49ff64,_0x210c24=_0x3c6dd0[_0x3593f6(0x418)]-0x1,_0x5979ad;_0x210c24>=0x0;_0x210c24--)(_0x5979ad=_0x3c6dd0[_0x210c24])&&(_0x5e3f58=_0x5979ad(_0x5e3f58)||_0x5e3f58);return _0x5e3f58;},dt=(_0x3b79ed,_0x2655e3)=>(_0x47d4e1,_0x191cce)=>_0x2655e3(_0x47d4e1,_0x191cce,_0x3b79ed);let rt=class{constructor(_0x3f6f31,_0x227abe,_0x571388){var _0x10eb2c=_0x5c5167;this[_0x10eb2c(0x27e)]=_0x3f6f31,this[_0x10eb2c(0x231)]=_0x227abe,this[_0x10eb2c(0x375)]=_0x571388,this[_0x10eb2c(0x22a)]();}[_0x5c5167(0x22a)](){var _0x3a7767=_0x5c5167;this[_0x3a7767(0x231)][_0x3a7767(0x471)]({'priority':0x1,'interceptor':(_0x214937,_0x2cbac2)=>_0x2cbac2(_0x214937)[_0x3a7767(0x3a6)](_0x469838(async _0x57d2b6=>{var _0x22f91a=_0x3a7767;const _0x181cca=_0x57d2b6;if(_0x181cca[_0x22f91a(0x365)]===0x191){if(typeof window>'u')throw new Error(_0x22f91a(0x234));if(window['confirm'](this['localeService']['t'](_0x22f91a(0x443)))){const _0x33604c=window[_0x22f91a(0x33b)](window[_0x22f91a(0x35c)]['href']);window[_0x22f91a(0x35c)][_0x22f91a(0x1bb)]=this['_getLoginPath']()+_0x22f91a(0x3e5)+_0x33604c;}}return _0x181cca;}))});}[_0x5c5167(0x2ce)](){var _0x5f4822=_0x5c5167,_0x71e2e2;const _0x63265=this[_0x5f4822(0x27e)][_0x5f4822(0x1a4)](K);return(_0x71e2e2=_0x63265==null?void 0x0:_0x63265['loginUrlKey'])!=null?_0x71e2e2:Rs;}};rt=sn([dt(0x0,_0x4d0e1d),dt(0x1,_0x307146(_0x4f1e64)),dt(0x2,_0x307146(_0x398834))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x5a88e2,_0xbcc40e,_0x508336,_0x290cd1)=>{var _0x2f3281=_0x5c5167;for(var _0x4f36cf=_0x290cd1>0x1?void 0x0:_0x290cd1?nn(_0xbcc40e,_0x508336):_0xbcc40e,_0x282055=_0x5a88e2[_0x2f3281(0x418)]-0x1,_0x27f83c;_0x282055>=0x0;_0x282055--)(_0x27f83c=_0x5a88e2[_0x282055])&&(_0x4f36cf=_0x27f83c(_0x4f36cf)||_0x4f36cf);return _0x4f36cf;},Kt=(_0x505ba5,_0x2e685a)=>(_0x4d8140,_0x1d6dfd)=>_0x2e685a(_0x4d8140,_0x1d6dfd,_0x505ba5);const an='/universer-api/authz';let Tt=class extends _0x3bee79{constructor(_0xbc2918,_0x3b338e){var _0x3b6250=_0x5c5167;super(),this[_0x3b6250(0x438)]=_0xbc2918,this[_0x3b6250(0x27e)]=_0x3b338e,this['_initMergeInterceptor']();}[_0x5c5167(0x332)](){var _0x3a83b9=_0x5c5167;const _0x50a1e1=this;this['disposeWithMe'](this[_0x3a83b9(0x438)][_0x3a83b9(0x471)]({'priority':0x3e7,'interceptor':_0x1c56f5({'isMatch'(_0x28478f){var _0x15695e=_0x3a83b9,_0x2092b2;if(_0x28478f[_0x15695e(0x475)]===_0x15695e(0x3ff)&&((_0x2092b2=_0x28478f[_0x15695e(0x2d1)])!=null&&_0x2092b2[_0x15695e(0x479)])){const {objectID:_0x1a876,objectType:_0x7b9cc7}=_0x28478f[_0x15695e(0x2d1)][_0x15695e(0x479)]||{};if(!_0x1a876||_0x7b9cc7===void 0x0)return!0x1;const _0x4d0791=_0x50a1e1['_getAPIPrefixPath']()+'/'+_0x7b9cc7+_0x15695e(0x2d9)+_0x1a876+_0x15695e(0x1d5);if(_0x28478f['url']===_0x4d0791)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4ba5c1){var _0xbb2fdf=_0x3a83b9,_0x284fdf;return(_0x284fdf=_0x4ba5c1[_0xbb2fdf(0x2d1)])==null?void 0x0:_0x284fdf[_0xbb2fdf(0x479)];},'mergeParamsToRequest'(_0x1701bd,_0x21e910){var _0x50e2a2=_0x3a83b9;const _0xa788e9=_0x50a1e1[_0x50e2a2(0x3cf)]()+_0x50e2a2(0x1dc),_0x144851=_0x1701bd[_0x50e2a2(0x223)]((_0x1a7d4a,_0xc21b36)=>{const {unitID:_0x4a9f2e,objectID:_0x19e426,objectType:_0x28d4c2,actions:_0x2e8cbc}=_0xc21b36;return _0x1a7d4a[_0x4a9f2e]||(_0x1a7d4a[_0x4a9f2e]={}),_0x1a7d4a[_0x4a9f2e][_0x19e426]||(_0x1a7d4a[_0x4a9f2e][_0x19e426]={'objectID':_0x19e426,'objectType':_0x28d4c2,'actions':[]}),_0x1a7d4a[_0x4a9f2e][_0x19e426]['actions']['push'](..._0x2e8cbc),_0x1a7d4a;},{}),_0x5a5201=[];for(const _0x422a00 in _0x144851)for(const _0x4ad2a4 in _0x144851[_0x422a00]){const {actions:_0x51bac4,objectType:_0x54d0a5}=_0x144851[_0x422a00][_0x4ad2a4],_0x2d41ae=[...new Set(_0x51bac4)];_0x5a5201['push']({'unitID':_0x422a00,'objectID':_0x4ad2a4,'objectType':_0x54d0a5,'actions':_0x2d41ae});}return new _0x346018(_0x50e2a2(0x3ff),_0xa788e9,{'headers':_0x21e910[_0x50e2a2(0x3b5)],'withCredentials':_0x21e910[_0x50e2a2(0x470)],'responseType':_0x21e910['responseType'],'body':{'requests':_0x5a5201}});}},{'distributeResult'(_0x5b9720,_0x1c0901){const {objectActions:_0x401154}=_0x5b9720;return _0x1c0901['map'](_0x6cfac4=>{var _0x3c7035=_0xb5db;const {unitID:_0x2a54a5,objectID:_0x57820b,actions:_0x3ea360}=_0x6cfac4,_0x17c53a=_0x401154[_0x3c7035(0x2b0)](_0x14f28e=>_0x14f28e['unitID']===_0x2a54a5&&_0x14f28e[_0x3c7035(0x348)]===_0x57820b),_0x30c288=_0x3ea360[_0x3c7035(0x2b8)](_0x4159f4=>_0x17c53a==null?void 0x0:_0x17c53a['actions'][_0x3c7035(0x2b0)](_0xbb48af=>_0xbb48af[_0x3c7035(0x259)]===_0x4159f4))[_0x3c7035(0x498)](_0x3bf804=>!!_0x3bf804);return{'config':_0x6cfac4,'result':{'actions':_0x30c288,'error':_0x5b9720['error']}};});}})}));}[_0x5c5167(0x3cf)](){var _0x1fbae5=_0x5c5167,_0x186046;const _0x9d838d=this[_0x1fbae5(0x27e)]['getConfig'](K);return(_0x186046=_0x9d838d==null?void 0x0:_0x9d838d[_0x1fbae5(0x47c)])!=null?_0x186046:an;}async[_0x5c5167(0x1ff)](_0x3b0932){var _0x2c43f0=_0x5c5167;const _0x3e5214=this[_0x2c43f0(0x3cf)]()+'/'+_0x3b0932[_0x2c43f0(0x437)]+'/object';return(await this['_HTTPService'][_0x2c43f0(0x2c0)](_0x3e5214,{'body':_0x3b0932}))[_0x2c43f0(0x479)][_0x2c43f0(0x348)]||'';}async[_0x5c5167(0x26a)](_0x58e6df){var _0x35c8b7=_0x5c5167;const _0x355c36=this[_0x35c8b7(0x3cf)]()+_0x35c8b7(0x2e3);return(await this[_0x35c8b7(0x438)][_0x35c8b7(0x2c0)](_0x355c36,{'body':_0x58e6df}))[_0x35c8b7(0x479)][_0x35c8b7(0x228)];}async[_0x5c5167(0x31c)](_0x3bcf2f){var _0xa72e1=_0x5c5167,_0x860ed7,_0x3921d7;const _0x25d31f=this[_0xa72e1(0x3cf)]()+'/'+_0x3bcf2f[_0xa72e1(0x437)]+_0xa72e1(0x2d9)+_0x3bcf2f[_0xa72e1(0x348)],_0x33dc9f=await this['_HTTPService'][_0xa72e1(0x3cb)](_0x25d31f,{'body':_0x3bcf2f});if(((_0x3921d7=(_0x860ed7=_0x33dc9f==null?void 0x0:_0x33dc9f[_0xa72e1(0x479)])==null?void 0x0:_0x860ed7[_0xa72e1(0x347)])==null?void 0x0:_0x3921d7['code'])!==0x1)throw new Error(_0xa72e1(0x457));}async[_0x5c5167(0x210)](_0x1cdf1e){var _0xb48c9b=_0x5c5167;const _0x53d838=this[_0xb48c9b(0x3cf)]()+'/'+_0x1cdf1e[_0xb48c9b(0x437)]+_0xb48c9b(0x2d9)+_0x1cdf1e[_0xb48c9b(0x348)]+_0xb48c9b(0x1d5);return(await this[_0xb48c9b(0x438)][_0xb48c9b(0x2c0)](_0x53d838,{'body':_0x1cdf1e}))['body']['actions'];}async['batchAllowed'](_0x473e0c){var _0x56d38d=_0x5c5167;const _0x12738c=this[_0x56d38d(0x3cf)]()+_0x56d38d(0x1dc);return(await this[_0x56d38d(0x438)][_0x56d38d(0x2c0)](_0x12738c,{'body':{'requests':_0x473e0c}}))['body']['objectActions'];}async['listRoles'](_0x17e29d){var _0x48377b=_0x5c5167;const _0x118518=this[_0x48377b(0x3cf)]()+'/'+_0x17e29d['objectType']+'/role',_0x4fa574=await this[_0x48377b(0x438)][_0x48377b(0x2c0)](_0x118518,{'body':_0x17e29d});return{'roles':_0x4fa574['body'][_0x48377b(0x28d)],'actions':_0x4fa574['body'][_0x48377b(0x304)]};}async['deleteCollaborator'](_0x56fc93){var _0x3be892=_0x5c5167;const _0x4c280f=this[_0x3be892(0x3cf)]()+_0x3be892(0x499);await this[_0x3be892(0x438)][_0x3be892(0x217)](_0x4c280f,{'params':{'collaboratorID':_0x56fc93['collaboratorID'],'objectID':_0x56fc93[_0x3be892(0x348)],'unitID':_0x56fc93[_0x3be892(0x20e)]}});}async[_0x5c5167(0x2f1)](_0x3193c4){var _0x239a23=_0x5c5167;const _0x45ea47=this[_0x239a23(0x3cf)]()+_0x239a23(0x499);await this[_0x239a23(0x438)][_0x239a23(0x384)](_0x45ea47,{'body':_0x3193c4});}async[_0x5c5167(0x206)](_0x1cad02){var _0x3ec619=_0x5c5167;const _0x38a2f4=this[_0x3ec619(0x3cf)]()+_0x3ec619(0x499);await this[_0x3ec619(0x438)][_0x3ec619(0x2c0)](_0x38a2f4,{'body':_0x1cad02});}async[_0x5c5167(0x1d2)](_0x838eb2){var _0xd3700d=_0x5c5167;const _0x4b21de=this[_0xd3700d(0x3cf)]()+'/collaborator';return(await this[_0xd3700d(0x438)][_0xd3700d(0x2d3)](_0x4b21de,{'params':{'objectID':_0x838eb2[_0xd3700d(0x348)],'unitID':_0x838eb2[_0xd3700d(0x20e)]}}))[_0xd3700d(0x479)][_0xd3700d(0x1c5)];}async['putCollaborators'](_0x4e0c1a){var _0x4bb466=_0x5c5167;const _0x28f192=this[_0x4bb466(0x3cf)]()+_0x4bb466(0x499);await this['_HTTPService'][_0x4bb466(0x3cb)](_0x28f192,{'body':_0x4e0c1a});}};Tt=rn([Kt(0x0,_0x307146(_0x4f1e64)),Kt(0x1,_0x307146(_0x4d0e1d))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x278f0d){var _0x1fc46a=_0x5c5167;return _0x278f0d&&_0x278f0d[_0x1fc46a(0x4a3)]&&Object[_0x1fc46a(0x30b)][_0x1fc46a(0x1fd)][_0x1fc46a(0x1c3)](_0x278f0d,'default')?_0x278f0d[_0x1fc46a(0x214)]:_0x278f0d;}var Ve={'exports':{}};function on(_0x5402a3){var _0x46eb40=_0x5c5167;throw new Error(_0x46eb40(0x34f)+_0x5402a3+_0x46eb40(0x235));}var We={'exports':{}},cn=We['exports'],qt;function te(){return qt||(qt=0x1,function(_0xa3feb3,_0x504caf){(function(_0x2cc87c,_0x51e46f){var _0x611748=_0xb5db;_0xa3feb3[_0x611748(0x442)]=_0x51e46f();}(cn,function(){var _0x515d3b=_0x515d3b||function(_0x40a960,_0x2e5a87){var _0x4ac384=_0xb5db,_0x45f6c5;if(typeof window<'u'&&window[_0x4ac384(0x496)]&&(_0x45f6c5=window[_0x4ac384(0x496)]),typeof self<'u'&&self['crypto']&&(_0x45f6c5=self[_0x4ac384(0x496)]),typeof globalThis<'u'&&globalThis[_0x4ac384(0x496)]&&(_0x45f6c5=globalThis[_0x4ac384(0x496)]),!_0x45f6c5&&typeof window<'u'&&window[_0x4ac384(0x387)]&&(_0x45f6c5=window['msCrypto']),!_0x45f6c5&&typeof ft<'u'&&ft['crypto']&&(_0x45f6c5=ft[_0x4ac384(0x496)]),!_0x45f6c5&&typeof on==_0x4ac384(0x3de))try{_0x45f6c5=require('crypto');}catch{}var _0x30d339=function(){var _0x3e4bd3=_0x4ac384;if(_0x45f6c5){if(typeof _0x45f6c5['getRandomValues']==_0x3e4bd3(0x3de))try{return _0x45f6c5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x45f6c5['randomBytes']==_0x3e4bd3(0x3de))try{return _0x45f6c5[_0x3e4bd3(0x3cc)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x3e4bd3(0x27b));},_0xa5abe7=Object[_0x4ac384(0x1ff)]||(function(){function _0x560b82(){}return function(_0x2b771a){var _0x44456d=_0xb5db,_0x5893cd;return _0x560b82[_0x44456d(0x30b)]=_0x2b771a,_0x5893cd=new _0x560b82(),_0x560b82[_0x44456d(0x30b)]=null,_0x5893cd;};}()),_0x50cd2d={},_0x5d3feb=_0x50cd2d[_0x4ac384(0x269)]={},_0x2e9a36=_0x5d3feb[_0x4ac384(0x2a1)]=(function(){return{'extend':function(_0x1489e0){var _0x50a11c=_0xb5db,_0x477841=_0xa5abe7(this);return _0x1489e0&&_0x477841[_0x50a11c(0x3c0)](_0x1489e0),(!_0x477841[_0x50a11c(0x1fd)](_0x50a11c(0x22a))||this['init']===_0x477841['init'])&&(_0x477841[_0x50a11c(0x22a)]=function(){var _0x4fe91a=_0x50a11c;_0x477841[_0x4fe91a(0x3a8)][_0x4fe91a(0x22a)][_0x4fe91a(0x2f9)](this,arguments);}),_0x477841[_0x50a11c(0x22a)][_0x50a11c(0x30b)]=_0x477841,_0x477841[_0x50a11c(0x3a8)]=this,_0x477841;},'create':function(){var _0x35eda4=_0xb5db,_0x397b81=this['extend']();return _0x397b81[_0x35eda4(0x22a)]['apply'](_0x397b81,arguments),_0x397b81;},'init':function(){},'mixIn':function(_0x9d9e75){var _0x22083f=_0xb5db;for(var _0xcb243a in _0x9d9e75)_0x9d9e75['hasOwnProperty'](_0xcb243a)&&(this[_0xcb243a]=_0x9d9e75[_0xcb243a]);_0x9d9e75[_0x22083f(0x1fd)]('toString')&&(this[_0x22083f(0x428)]=_0x9d9e75['toString']);},'clone':function(){var _0x15ea04=_0xb5db;return this[_0x15ea04(0x22a)][_0x15ea04(0x30b)][_0x15ea04(0x38c)](this);}};}()),_0x29fd34=_0x5d3feb['WordArray']=_0x2e9a36[_0x4ac384(0x38c)]({'init':function(_0x40ceee,_0x5f5adf){var _0x462dd1=_0x4ac384;_0x40ceee=this[_0x462dd1(0x294)]=_0x40ceee||[],_0x5f5adf!=_0x2e5a87?this[_0x462dd1(0x466)]=_0x5f5adf:this[_0x462dd1(0x466)]=_0x40ceee[_0x462dd1(0x418)]*0x4;},'toString':function(_0x3313dc){var _0x1e9e44=_0x4ac384;return(_0x3313dc||_0x2a9fe2)[_0x1e9e44(0x2ad)](this);},'concat':function(_0x4b94f4){var _0x29a9a7=_0x4ac384,_0x2b2031=this[_0x29a9a7(0x294)],_0x5da6e2=_0x4b94f4[_0x29a9a7(0x294)],_0x9e35ff=this[_0x29a9a7(0x466)],_0x50ad68=_0x4b94f4[_0x29a9a7(0x466)];if(this[_0x29a9a7(0x310)](),_0x9e35ff%0x4)for(var _0x1a5496=0x0;_0x1a5496<_0x50ad68;_0x1a5496++){var _0x20a406=_0x5da6e2[_0x1a5496>>>0x2]>>>0x18-_0x1a5496%0x4*0x8&0xff;_0x2b2031[_0x9e35ff+_0x1a5496>>>0x2]|=_0x20a406<<0x18-(_0x9e35ff+_0x1a5496)%0x4*0x8;}else{for(var _0xf7073b=0x0;_0xf7073b<_0x50ad68;_0xf7073b+=0x4)_0x2b2031[_0x9e35ff+_0xf7073b>>>0x2]=_0x5da6e2[_0xf7073b>>>0x2];}return this[_0x29a9a7(0x466)]+=_0x50ad68,this;},'clamp':function(){var _0xa36154=_0x4ac384,_0xd06634=this[_0xa36154(0x294)],_0x8f2130=this['sigBytes'];_0xd06634[_0x8f2130>>>0x2]&=0xffffffff<<0x20-_0x8f2130%0x4*0x8,_0xd06634[_0xa36154(0x418)]=_0x40a960[_0xa36154(0x36d)](_0x8f2130/0x4);},'clone':function(){var _0x5c97e1=_0x4ac384,_0x34aa20=_0x2e9a36[_0x5c97e1(0x489)][_0x5c97e1(0x1c3)](this);return _0x34aa20[_0x5c97e1(0x294)]=this[_0x5c97e1(0x294)][_0x5c97e1(0x218)](0x0),_0x34aa20;},'random':function(_0x4b69dd){var _0x3254eb=_0x4ac384;for(var _0x51426c=[],_0xe004d=0x0;_0xe004d<_0x4b69dd;_0xe004d+=0x4)_0x51426c[_0x3254eb(0x1e1)](_0x30d339());return new _0x29fd34[(_0x3254eb(0x22a))](_0x51426c,_0x4b69dd);}}),_0x21446c=_0x50cd2d[_0x4ac384(0x30c)]={},_0x2a9fe2=_0x21446c[_0x4ac384(0x349)]={'stringify':function(_0x1ecd5f){var _0x463418=_0x4ac384;for(var _0x43f824=_0x1ecd5f['words'],_0x1fa5cb=_0x1ecd5f[_0x463418(0x466)],_0x452cc2=[],_0x28fb30=0x0;_0x28fb30<_0x1fa5cb;_0x28fb30++){var _0x4e0014=_0x43f824[_0x28fb30>>>0x2]>>>0x18-_0x28fb30%0x4*0x8&0xff;_0x452cc2[_0x463418(0x1e1)]((_0x4e0014>>>0x4)[_0x463418(0x428)](0x10)),_0x452cc2[_0x463418(0x1e1)]((_0x4e0014&0xf)[_0x463418(0x428)](0x10));}return _0x452cc2[_0x463418(0x49e)]('');},'parse':function(_0x4daf3c){var _0xd28756=_0x4ac384;for(var _0x130b6b=_0x4daf3c[_0xd28756(0x418)],_0x31cc59=[],_0x254449=0x0;_0x254449<_0x130b6b;_0x254449+=0x2)_0x31cc59[_0x254449>>>0x3]|=parseInt(_0x4daf3c[_0xd28756(0x2cd)](_0x254449,0x2),0x10)<<0x18-_0x254449%0x8*0x4;return new _0x29fd34[(_0xd28756(0x22a))](_0x31cc59,_0x130b6b/0x2);}},_0x460eec=_0x21446c[_0x4ac384(0x25d)]={'stringify':function(_0x4eb6f9){var _0x4dd1a0=_0x4ac384;for(var _0x16c725=_0x4eb6f9[_0x4dd1a0(0x294)],_0x442101=_0x4eb6f9['sigBytes'],_0x672eaa=[],_0x174091=0x0;_0x174091<_0x442101;_0x174091++){var _0x4d7bec=_0x16c725[_0x174091>>>0x2]>>>0x18-_0x174091%0x4*0x8&0xff;_0x672eaa[_0x4dd1a0(0x1e1)](String[_0x4dd1a0(0x324)](_0x4d7bec));}return _0x672eaa[_0x4dd1a0(0x49e)]('');},'parse':function(_0x5667d8){var _0x277fd5=_0x4ac384;for(var _0x4847d1=_0x5667d8[_0x277fd5(0x418)],_0x5d0ca4=[],_0xd7256=0x0;_0xd7256<_0x4847d1;_0xd7256++)_0x5d0ca4[_0xd7256>>>0x2]|=(_0x5667d8[_0x277fd5(0x29e)](_0xd7256)&0xff)<<0x18-_0xd7256%0x4*0x8;return new _0x29fd34[(_0x277fd5(0x22a))](_0x5d0ca4,_0x4847d1);}},_0xa38817=_0x21446c[_0x4ac384(0x37f)]={'stringify':function(_0x3300fc){var _0x45490d=_0x4ac384;try{return decodeURIComponent(escape(_0x460eec[_0x45490d(0x2ad)](_0x3300fc)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x407950){var _0x54bff2=_0x4ac384;return _0x460eec[_0x54bff2(0x2a3)](unescape(encodeURIComponent(_0x407950)));}},_0x14c1e7=_0x5d3feb[_0x4ac384(0x4a6)]=_0x2e9a36[_0x4ac384(0x38c)]({'reset':function(){var _0x22b3f3=_0x4ac384;this['_data']=new _0x29fd34[(_0x22b3f3(0x22a))](),this['_nDataBytes']=0x0;},'_append':function(_0x15881c){var _0x3ef1d7=_0x4ac384;typeof _0x15881c==_0x3ef1d7(0x3b0)&&(_0x15881c=_0xa38817[_0x3ef1d7(0x2a3)](_0x15881c)),this[_0x3ef1d7(0x483)][_0x3ef1d7(0x33e)](_0x15881c),this[_0x3ef1d7(0x36f)]+=_0x15881c[_0x3ef1d7(0x466)];},'_process':function(_0x3445bb){var _0xf7bd0=_0x4ac384,_0x46aec0,_0x3ea377=this[_0xf7bd0(0x483)],_0x2c0187=_0x3ea377['words'],_0x356936=_0x3ea377[_0xf7bd0(0x466)],_0xf0b918=this['blockSize'],_0x587160=_0xf0b918*0x4,_0x2451cf=_0x356936/_0x587160;_0x3445bb?_0x2451cf=_0x40a960[_0xf7bd0(0x36d)](_0x2451cf):_0x2451cf=_0x40a960[_0xf7bd0(0x379)]((_0x2451cf|0x0)-this[_0xf7bd0(0x247)],0x0);var _0x2122b7=_0x2451cf*_0xf0b918,_0xfa0e42=_0x40a960[_0xf7bd0(0x450)](_0x2122b7*0x4,_0x356936);if(_0x2122b7){for(var _0xf6bffb=0x0;_0xf6bffb<_0x2122b7;_0xf6bffb+=_0xf0b918)this[_0xf7bd0(0x1a6)](_0x2c0187,_0xf6bffb);_0x46aec0=_0x2c0187[_0xf7bd0(0x431)](0x0,_0x2122b7),_0x3ea377[_0xf7bd0(0x466)]-=_0xfa0e42;}return new _0x29fd34[(_0xf7bd0(0x22a))](_0x46aec0,_0xfa0e42);},'clone':function(){var _0x581bd8=_0x4ac384,_0x11643a=_0x2e9a36[_0x581bd8(0x489)][_0x581bd8(0x1c3)](this);return _0x11643a[_0x581bd8(0x483)]=this[_0x581bd8(0x483)][_0x581bd8(0x489)](),_0x11643a;},'_minBufferSize':0x0});_0x5d3feb[_0x4ac384(0x3d0)]=_0x14c1e7[_0x4ac384(0x38c)]({'cfg':_0x2e9a36['extend'](),'init':function(_0x2f5465){var _0x4de7f5=_0x4ac384;this[_0x4de7f5(0x255)]=this[_0x4de7f5(0x255)][_0x4de7f5(0x38c)](_0x2f5465),this[_0x4de7f5(0x3bb)]();},'reset':function(){var _0x1a922a=_0x4ac384;_0x14c1e7[_0x1a922a(0x3bb)]['call'](this),this['_doReset']();},'update':function(_0x434dad){var _0x2b15c0=_0x4ac384;return this['_append'](_0x434dad),this[_0x2b15c0(0x334)](),this;},'finalize':function(_0x361a1a){var _0x19317a=_0x4ac384;_0x361a1a&&this['_append'](_0x361a1a);var _0x5f2458=this[_0x19317a(0x45d)]();return _0x5f2458;},'blockSize':0x10,'_createHelper':function(_0x34d8cd){return function(_0x1f31f5,_0x430628){var _0x49531a=_0xb5db;return new _0x34d8cd[(_0x49531a(0x22a))](_0x430628)[_0x49531a(0x213)](_0x1f31f5);};},'_createHmacHelper':function(_0x373feb){return function(_0x5795c2,_0x48a4b9){var _0x20f824=_0xb5db;return new _0x202d94[(_0x20f824(0x3e0))][(_0x20f824(0x22a))](_0x373feb,_0x48a4b9)[_0x20f824(0x213)](_0x5795c2);};}});var _0x202d94=_0x50cd2d['algo']={};return _0x50cd2d;}(Math);return _0x515d3b;}));}(We)),We['exports'];}var Ge={'exports':{}},hn=Ge[_0x5c5167(0x442)],zt;function Ri(){return zt||(zt=0x1,function(_0x5254d9,_0x379978){(function(_0x4055cc,_0x1fc33e){var _0x338919=_0xb5db;_0x5254d9[_0x338919(0x442)]=_0x1fc33e(te());}(hn,function(_0x543224){var _0x2cca88=_0xb5db;return(function(){var _0x4824e0=_0xb5db,_0x187fbe=_0x543224,_0x404d1c=_0x187fbe[_0x4824e0(0x269)],_0x1b8ba8=_0x404d1c['WordArray'],_0x9828b7=_0x187fbe[_0x4824e0(0x30c)];_0x9828b7[_0x4824e0(0x340)]={'stringify':function(_0x301d7b){var _0x41f37b=_0x4824e0,_0x317fa5=_0x301d7b['words'],_0x428472=_0x301d7b[_0x41f37b(0x466)],_0x6dd413=this['_map'];_0x301d7b[_0x41f37b(0x310)]();for(var _0xe89e22=[],_0x44b526=0x0;_0x44b526<_0x428472;_0x44b526+=0x3)for(var _0x4bfb02=_0x317fa5[_0x44b526>>>0x2]>>>0x18-_0x44b526%0x4*0x8&0xff,_0x4b3c0d=_0x317fa5[_0x44b526+0x1>>>0x2]>>>0x18-(_0x44b526+0x1)%0x4*0x8&0xff,_0x15c36f=_0x317fa5[_0x44b526+0x2>>>0x2]>>>0x18-(_0x44b526+0x2)%0x4*0x8&0xff,_0x5c6d6b=_0x4bfb02<<0x10|_0x4b3c0d<<0x8|_0x15c36f,_0x47d008=0x0;_0x47d008<0x4&&_0x44b526+_0x47d008*0.75<_0x428472;_0x47d008++)_0xe89e22['push'](_0x6dd413[_0x41f37b(0x3fd)](_0x5c6d6b>>>0x6*(0x3-_0x47d008)&0x3f));var _0xecaa24=_0x6dd413[_0x41f37b(0x3fd)](0x40);if(_0xecaa24){for(;_0xe89e22['length']%0x4;)_0xe89e22['push'](_0xecaa24);}return _0xe89e22[_0x41f37b(0x49e)]('');},'parse':function(_0x4bb112){var _0x21df31=_0x4824e0,_0x458a03=_0x4bb112[_0x21df31(0x418)],_0x165b26=this[_0x21df31(0x4a4)],_0xba8599=this['_reverseMap'];if(!_0xba8599){_0xba8599=this[_0x21df31(0x43f)]=[];for(var _0x277215=0x0;_0x277215<_0x165b26[_0x21df31(0x418)];_0x277215++)_0xba8599[_0x165b26['charCodeAt'](_0x277215)]=_0x277215;}var _0x850fd9=_0x165b26[_0x21df31(0x3fd)](0x40);if(_0x850fd9){var _0x1ed941=_0x4bb112[_0x21df31(0x34e)](_0x850fd9);_0x1ed941!==-0x1&&(_0x458a03=_0x1ed941);}return _0x4cd7ea(_0x4bb112,_0x458a03,_0xba8599);},'_map':_0x4824e0(0x3fa)};function _0x4cd7ea(_0x4d8301,_0x46b29e,_0x5a609a){var _0x258809=_0x4824e0;for(var _0x29f0ed=[],_0x262156=0x0,_0x3b1f72=0x0;_0x3b1f72<_0x46b29e;_0x3b1f72++)if(_0x3b1f72%0x4){var _0x4b7dda=_0x5a609a[_0x4d8301['charCodeAt'](_0x3b1f72-0x1)]<<_0x3b1f72%0x4*0x2,_0x5a6385=_0x5a609a[_0x4d8301[_0x258809(0x29e)](_0x3b1f72)]>>>0x6-_0x3b1f72%0x4*0x2,_0x44277d=_0x4b7dda|_0x5a6385;_0x29f0ed[_0x262156>>>0x2]|=_0x44277d<<0x18-_0x262156%0x4*0x8,_0x262156++;}return _0x1b8ba8[_0x258809(0x1ff)](_0x29f0ed,_0x262156);}}()),_0x543224[_0x2cca88(0x30c)][_0x2cca88(0x340)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0x5c5167(0x442)],Jt;function ln(){var _0x2ab3ba=_0x5c5167;return Jt||(Jt=0x1,function(_0x2bba00,_0x55b056){(function(_0x196b71,_0x421962){var _0x2c96f5=_0xb5db;_0x2bba00[_0x2c96f5(0x442)]=_0x421962(te());}(_n,function(_0xc779d){var _0x205a18=_0xb5db;return function(_0x3508ab){var _0x12de43=_0xb5db,_0x5406da=_0xc779d,_0x30cbc0=_0x5406da[_0x12de43(0x269)],_0x13cad9=_0x30cbc0[_0x12de43(0x252)],_0xbd872d=_0x30cbc0[_0x12de43(0x3d0)],_0x2389ad=_0x5406da[_0x12de43(0x39e)],_0x4b2990=[];(function(){var _0x3deb7c=_0x12de43;for(var _0x3a27fc=0x0;_0x3a27fc<0x40;_0x3a27fc++)_0x4b2990[_0x3a27fc]=_0x3508ab[_0x3deb7c(0x38b)](_0x3508ab[_0x3deb7c(0x4a2)](_0x3a27fc+0x1))*0x100000000|0x0;}());var _0x2a42a8=_0x2389ad['MD5']=_0xbd872d[_0x12de43(0x38c)]({'_doReset':function(){var _0x311468=_0x12de43;this[_0x311468(0x3d7)]=new _0x13cad9[(_0x311468(0x22a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x397e6b,_0x4b9921){var _0x5cd037=_0x12de43;for(var _0x415de8=0x0;_0x415de8<0x10;_0x415de8++){var _0x5bf1d8=_0x4b9921+_0x415de8,_0x4664c2=_0x397e6b[_0x5bf1d8];_0x397e6b[_0x5bf1d8]=(_0x4664c2<<0x8|_0x4664c2>>>0x18)&0xff00ff|(_0x4664c2<<0x18|_0x4664c2>>>0x8)&0xff00ff00;}var _0x1fdd0d=this['_hash'][_0x5cd037(0x294)],_0x32fbb8=_0x397e6b[_0x4b9921+0x0],_0x162e54=_0x397e6b[_0x4b9921+0x1],_0x36c60b=_0x397e6b[_0x4b9921+0x2],_0x5d75a1=_0x397e6b[_0x4b9921+0x3],_0x4325ad=_0x397e6b[_0x4b9921+0x4],_0x45f9e8=_0x397e6b[_0x4b9921+0x5],_0x1cc827=_0x397e6b[_0x4b9921+0x6],_0xa7b701=_0x397e6b[_0x4b9921+0x7],_0x3b0bf3=_0x397e6b[_0x4b9921+0x8],_0x338d6d=_0x397e6b[_0x4b9921+0x9],_0x35a86c=_0x397e6b[_0x4b9921+0xa],_0x29a60f=_0x397e6b[_0x4b9921+0xb],_0x1018cf=_0x397e6b[_0x4b9921+0xc],_0xc6b4fc=_0x397e6b[_0x4b9921+0xd],_0x5e1e34=_0x397e6b[_0x4b9921+0xe],_0x4da8b9=_0x397e6b[_0x4b9921+0xf],_0x5d6875=_0x1fdd0d[0x0],_0x3d0190=_0x1fdd0d[0x1],_0x453178=_0x1fdd0d[0x2],_0x56f19e=_0x1fdd0d[0x3];_0x5d6875=_0x2f3f3e(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x32fbb8,0x7,_0x4b2990[0x0]),_0x56f19e=_0x2f3f3e(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x162e54,0xc,_0x4b2990[0x1]),_0x453178=_0x2f3f3e(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x36c60b,0x11,_0x4b2990[0x2]),_0x3d0190=_0x2f3f3e(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x5d75a1,0x16,_0x4b2990[0x3]),_0x5d6875=_0x2f3f3e(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x4325ad,0x7,_0x4b2990[0x4]),_0x56f19e=_0x2f3f3e(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x45f9e8,0xc,_0x4b2990[0x5]),_0x453178=_0x2f3f3e(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x1cc827,0x11,_0x4b2990[0x6]),_0x3d0190=_0x2f3f3e(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0xa7b701,0x16,_0x4b2990[0x7]),_0x5d6875=_0x2f3f3e(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x3b0bf3,0x7,_0x4b2990[0x8]),_0x56f19e=_0x2f3f3e(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x338d6d,0xc,_0x4b2990[0x9]),_0x453178=_0x2f3f3e(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x35a86c,0x11,_0x4b2990[0xa]),_0x3d0190=_0x2f3f3e(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x29a60f,0x16,_0x4b2990[0xb]),_0x5d6875=_0x2f3f3e(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x1018cf,0x7,_0x4b2990[0xc]),_0x56f19e=_0x2f3f3e(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0xc6b4fc,0xc,_0x4b2990[0xd]),_0x453178=_0x2f3f3e(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x5e1e34,0x11,_0x4b2990[0xe]),_0x3d0190=_0x2f3f3e(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x4da8b9,0x16,_0x4b2990[0xf]),_0x5d6875=_0x44fd3c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x162e54,0x5,_0x4b2990[0x10]),_0x56f19e=_0x44fd3c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x1cc827,0x9,_0x4b2990[0x11]),_0x453178=_0x44fd3c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x29a60f,0xe,_0x4b2990[0x12]),_0x3d0190=_0x44fd3c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x32fbb8,0x14,_0x4b2990[0x13]),_0x5d6875=_0x44fd3c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x45f9e8,0x5,_0x4b2990[0x14]),_0x56f19e=_0x44fd3c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x35a86c,0x9,_0x4b2990[0x15]),_0x453178=_0x44fd3c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x4da8b9,0xe,_0x4b2990[0x16]),_0x3d0190=_0x44fd3c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x4325ad,0x14,_0x4b2990[0x17]),_0x5d6875=_0x44fd3c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x338d6d,0x5,_0x4b2990[0x18]),_0x56f19e=_0x44fd3c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x5e1e34,0x9,_0x4b2990[0x19]),_0x453178=_0x44fd3c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x5d75a1,0xe,_0x4b2990[0x1a]),_0x3d0190=_0x44fd3c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x3b0bf3,0x14,_0x4b2990[0x1b]),_0x5d6875=_0x44fd3c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0xc6b4fc,0x5,_0x4b2990[0x1c]),_0x56f19e=_0x44fd3c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x36c60b,0x9,_0x4b2990[0x1d]),_0x453178=_0x44fd3c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0xa7b701,0xe,_0x4b2990[0x1e]),_0x3d0190=_0x44fd3c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x1018cf,0x14,_0x4b2990[0x1f]),_0x5d6875=_0x41adb9(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x45f9e8,0x4,_0x4b2990[0x20]),_0x56f19e=_0x41adb9(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x3b0bf3,0xb,_0x4b2990[0x21]),_0x453178=_0x41adb9(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x29a60f,0x10,_0x4b2990[0x22]),_0x3d0190=_0x41adb9(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x5e1e34,0x17,_0x4b2990[0x23]),_0x5d6875=_0x41adb9(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x162e54,0x4,_0x4b2990[0x24]),_0x56f19e=_0x41adb9(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x4325ad,0xb,_0x4b2990[0x25]),_0x453178=_0x41adb9(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0xa7b701,0x10,_0x4b2990[0x26]),_0x3d0190=_0x41adb9(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x35a86c,0x17,_0x4b2990[0x27]),_0x5d6875=_0x41adb9(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0xc6b4fc,0x4,_0x4b2990[0x28]),_0x56f19e=_0x41adb9(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x32fbb8,0xb,_0x4b2990[0x29]),_0x453178=_0x41adb9(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x5d75a1,0x10,_0x4b2990[0x2a]),_0x3d0190=_0x41adb9(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x1cc827,0x17,_0x4b2990[0x2b]),_0x5d6875=_0x41adb9(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x338d6d,0x4,_0x4b2990[0x2c]),_0x56f19e=_0x41adb9(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x1018cf,0xb,_0x4b2990[0x2d]),_0x453178=_0x41adb9(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x4da8b9,0x10,_0x4b2990[0x2e]),_0x3d0190=_0x41adb9(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x36c60b,0x17,_0x4b2990[0x2f]),_0x5d6875=_0x33250c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x32fbb8,0x6,_0x4b2990[0x30]),_0x56f19e=_0x33250c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0xa7b701,0xa,_0x4b2990[0x31]),_0x453178=_0x33250c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x5e1e34,0xf,_0x4b2990[0x32]),_0x3d0190=_0x33250c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x45f9e8,0x15,_0x4b2990[0x33]),_0x5d6875=_0x33250c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x1018cf,0x6,_0x4b2990[0x34]),_0x56f19e=_0x33250c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x5d75a1,0xa,_0x4b2990[0x35]),_0x453178=_0x33250c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x35a86c,0xf,_0x4b2990[0x36]),_0x3d0190=_0x33250c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x162e54,0x15,_0x4b2990[0x37]),_0x5d6875=_0x33250c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x3b0bf3,0x6,_0x4b2990[0x38]),_0x56f19e=_0x33250c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x4da8b9,0xa,_0x4b2990[0x39]),_0x453178=_0x33250c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x1cc827,0xf,_0x4b2990[0x3a]),_0x3d0190=_0x33250c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0xc6b4fc,0x15,_0x4b2990[0x3b]),_0x5d6875=_0x33250c(_0x5d6875,_0x3d0190,_0x453178,_0x56f19e,_0x4325ad,0x6,_0x4b2990[0x3c]),_0x56f19e=_0x33250c(_0x56f19e,_0x5d6875,_0x3d0190,_0x453178,_0x29a60f,0xa,_0x4b2990[0x3d]),_0x453178=_0x33250c(_0x453178,_0x56f19e,_0x5d6875,_0x3d0190,_0x36c60b,0xf,_0x4b2990[0x3e]),_0x3d0190=_0x33250c(_0x3d0190,_0x453178,_0x56f19e,_0x5d6875,_0x338d6d,0x15,_0x4b2990[0x3f]),_0x1fdd0d[0x0]=_0x1fdd0d[0x0]+_0x5d6875|0x0,_0x1fdd0d[0x1]=_0x1fdd0d[0x1]+_0x3d0190|0x0,_0x1fdd0d[0x2]=_0x1fdd0d[0x2]+_0x453178|0x0,_0x1fdd0d[0x3]=_0x1fdd0d[0x3]+_0x56f19e|0x0;},'_doFinalize':function(){var _0x17eaef=_0x12de43,_0x5b72c9=this['_data'],_0x4e66d5=_0x5b72c9['words'],_0x3877ad=this[_0x17eaef(0x36f)]*0x8,_0x267469=_0x5b72c9[_0x17eaef(0x466)]*0x8;_0x4e66d5[_0x267469>>>0x5]|=0x80<<0x18-_0x267469%0x20;var _0x2e9557=_0x3508ab['floor'](_0x3877ad/0x100000000),_0x23006e=_0x3877ad;_0x4e66d5[(_0x267469+0x40>>>0x9<<0x4)+0xf]=(_0x2e9557<<0x8|_0x2e9557>>>0x18)&0xff00ff|(_0x2e9557<<0x18|_0x2e9557>>>0x8)&0xff00ff00,_0x4e66d5[(_0x267469+0x40>>>0x9<<0x4)+0xe]=(_0x23006e<<0x8|_0x23006e>>>0x18)&0xff00ff|(_0x23006e<<0x18|_0x23006e>>>0x8)&0xff00ff00,_0x5b72c9[_0x17eaef(0x466)]=(_0x4e66d5['length']+0x1)*0x4,this['_process']();for(var _0x30ee28=this[_0x17eaef(0x3d7)],_0x454bf9=_0x30ee28[_0x17eaef(0x294)],_0x271735=0x0;_0x271735<0x4;_0x271735++){var _0x4f0e26=_0x454bf9[_0x271735];_0x454bf9[_0x271735]=(_0x4f0e26<<0x8|_0x4f0e26>>>0x18)&0xff00ff|(_0x4f0e26<<0x18|_0x4f0e26>>>0x8)&0xff00ff00;}return _0x30ee28;},'clone':function(){var _0x13428a=_0x12de43,_0x5e8ae9=_0xbd872d[_0x13428a(0x489)][_0x13428a(0x1c3)](this);return _0x5e8ae9[_0x13428a(0x3d7)]=this[_0x13428a(0x3d7)][_0x13428a(0x489)](),_0x5e8ae9;}});function _0x2f3f3e(_0x4cacf1,_0x2ec10e,_0x1485c2,_0x58e4a8,_0xbb147f,_0x22bf53,_0x3d33d2){var _0x2ccb39=_0x4cacf1+(_0x2ec10e&_0x1485c2|~_0x2ec10e&_0x58e4a8)+_0xbb147f+_0x3d33d2;return(_0x2ccb39<<_0x22bf53|_0x2ccb39>>>0x20-_0x22bf53)+_0x2ec10e;}function _0x44fd3c(_0x150489,_0x3b1727,_0x3a03db,_0x48c66e,_0x29905b,_0x44fd5a,_0x2028ab){var _0x375a56=_0x150489+(_0x3b1727&_0x48c66e|_0x3a03db&~_0x48c66e)+_0x29905b+_0x2028ab;return(_0x375a56<<_0x44fd5a|_0x375a56>>>0x20-_0x44fd5a)+_0x3b1727;}function _0x41adb9(_0x26c9bb,_0x45ce2f,_0x55afc0,_0x5fdfa9,_0x53a078,_0x6a935b,_0x5a9c95){var _0x1fa7dc=_0x26c9bb+(_0x45ce2f^_0x55afc0^_0x5fdfa9)+_0x53a078+_0x5a9c95;return(_0x1fa7dc<<_0x6a935b|_0x1fa7dc>>>0x20-_0x6a935b)+_0x45ce2f;}function _0x33250c(_0x1d59c9,_0x567676,_0x238d69,_0x445b0e,_0x2ba8b0,_0xb5665b,_0x26e82e){var _0x47d71b=_0x1d59c9+(_0x238d69^(_0x567676|~_0x445b0e))+_0x2ba8b0+_0x26e82e;return(_0x47d71b<<_0xb5665b|_0x47d71b>>>0x20-_0xb5665b)+_0x567676;}_0x5406da['MD5']=_0xbd872d[_0x12de43(0x42a)](_0x2a42a8),_0x5406da[_0x12de43(0x25a)]=_0xbd872d[_0x12de43(0x33c)](_0x2a42a8);}(Math),_0xc779d[_0x205a18(0x37a)];}));}(Ye)),Ye[_0x2ab3ba(0x442)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x5c5167(0x442)],Xt;function dn(){var _0x3b459f=_0x5c5167;return Xt||(Xt=0x1,function(_0x28e799,_0x193bf2){(function(_0x413f9b,_0x27c51){var _0x111f2c=_0xb5db;_0x28e799[_0x111f2c(0x442)]=_0x27c51(te());}(un,function(_0x5d2443){var _0x4b6927=_0xb5db;return(function(){var _0x87cfa3=_0xb5db,_0xec0a9b=_0x5d2443,_0x98a671=_0xec0a9b[_0x87cfa3(0x269)],_0x5ebc8c=_0x98a671[_0x87cfa3(0x252)],_0x80a8bb=_0x98a671[_0x87cfa3(0x3d0)],_0x40b7e6=_0xec0a9b[_0x87cfa3(0x39e)],_0x16b422=[],_0x37958c=_0x40b7e6[_0x87cfa3(0x2b9)]=_0x80a8bb[_0x87cfa3(0x38c)]({'_doReset':function(){var _0x102603=_0x87cfa3;this['_hash']=new _0x5ebc8c[(_0x102603(0x22a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x320c15,_0x41e202){for(var _0x43a734=this['_hash']['words'],_0x3e81d2=_0x43a734[0x0],_0x528ed2=_0x43a734[0x1],_0x473bff=_0x43a734[0x2],_0x4f17ce=_0x43a734[0x3],_0x8d6626=_0x43a734[0x4],_0x4b9344=0x0;_0x4b9344<0x50;_0x4b9344++){if(_0x4b9344<0x10)_0x16b422[_0x4b9344]=_0x320c15[_0x41e202+_0x4b9344]|0x0;else{var _0x3f96a1=_0x16b422[_0x4b9344-0x3]^_0x16b422[_0x4b9344-0x8]^_0x16b422[_0x4b9344-0xe]^_0x16b422[_0x4b9344-0x10];_0x16b422[_0x4b9344]=_0x3f96a1<<0x1|_0x3f96a1>>>0x1f;}var _0x15ba55=(_0x3e81d2<<0x5|_0x3e81d2>>>0x1b)+_0x8d6626+_0x16b422[_0x4b9344];_0x4b9344<0x14?_0x15ba55+=(_0x528ed2&_0x473bff|~_0x528ed2&_0x4f17ce)+0x5a827999:_0x4b9344<0x28?_0x15ba55+=(_0x528ed2^_0x473bff^_0x4f17ce)+0x6ed9eba1:_0x4b9344<0x3c?_0x15ba55+=(_0x528ed2&_0x473bff|_0x528ed2&_0x4f17ce|_0x473bff&_0x4f17ce)-0x70e44324:_0x15ba55+=(_0x528ed2^_0x473bff^_0x4f17ce)-0x359d3e2a,_0x8d6626=_0x4f17ce,_0x4f17ce=_0x473bff,_0x473bff=_0x528ed2<<0x1e|_0x528ed2>>>0x2,_0x528ed2=_0x3e81d2,_0x3e81d2=_0x15ba55;}_0x43a734[0x0]=_0x43a734[0x0]+_0x3e81d2|0x0,_0x43a734[0x1]=_0x43a734[0x1]+_0x528ed2|0x0,_0x43a734[0x2]=_0x43a734[0x2]+_0x473bff|0x0,_0x43a734[0x3]=_0x43a734[0x3]+_0x4f17ce|0x0,_0x43a734[0x4]=_0x43a734[0x4]+_0x8d6626|0x0;},'_doFinalize':function(){var _0x1e37b0=_0x87cfa3,_0x4245e2=this[_0x1e37b0(0x483)],_0x58b6e0=_0x4245e2[_0x1e37b0(0x294)],_0x1dbe36=this[_0x1e37b0(0x36f)]*0x8,_0xcdfea6=_0x4245e2[_0x1e37b0(0x466)]*0x8;return _0x58b6e0[_0xcdfea6>>>0x5]|=0x80<<0x18-_0xcdfea6%0x20,_0x58b6e0[(_0xcdfea6+0x40>>>0x9<<0x4)+0xe]=Math[_0x1e37b0(0x316)](_0x1dbe36/0x100000000),_0x58b6e0[(_0xcdfea6+0x40>>>0x9<<0x4)+0xf]=_0x1dbe36,_0x4245e2['sigBytes']=_0x58b6e0[_0x1e37b0(0x418)]*0x4,this[_0x1e37b0(0x334)](),this[_0x1e37b0(0x3d7)];},'clone':function(){var _0x1af30c=_0x87cfa3,_0x4a8ff9=_0x80a8bb[_0x1af30c(0x489)]['call'](this);return _0x4a8ff9[_0x1af30c(0x3d7)]=this[_0x1af30c(0x3d7)][_0x1af30c(0x489)](),_0x4a8ff9;}});_0xec0a9b[_0x87cfa3(0x2b9)]=_0x80a8bb['_createHelper'](_0x37958c),_0xec0a9b[_0x87cfa3(0x440)]=_0x80a8bb[_0x87cfa3(0x33c)](_0x37958c);}()),_0x5d2443[_0x4b6927(0x2b9)];}));}(qe)),qe[_0x3b459f(0x442)];}var ze={'exports':{}},fn=ze[_0x5c5167(0x442)],Zt;function vn(){var _0x50cd52=_0x5c5167;return Zt||(Zt=0x1,function(_0x312b3f,_0x3e9f95){(function(_0x52853e,_0x37c956){var _0x54990a=_0xb5db;_0x312b3f[_0x54990a(0x442)]=_0x37c956(te());}(fn,function(_0x26da98){(function(){var _0x3594fd=_0xb5db,_0x4dbc38=_0x26da98,_0x41d59e=_0x4dbc38[_0x3594fd(0x269)],_0x4c8a0a=_0x41d59e[_0x3594fd(0x2a1)],_0x4800b6=_0x4dbc38[_0x3594fd(0x30c)],_0x197ac3=_0x4800b6[_0x3594fd(0x37f)],_0x16ecab=_0x4dbc38['algo'];_0x16ecab['HMAC']=_0x4c8a0a[_0x3594fd(0x38c)]({'init':function(_0x347c79,_0x46b4db){var _0x589aae=_0x3594fd;_0x347c79=this[_0x589aae(0x3ac)]=new _0x347c79[(_0x589aae(0x22a))](),typeof _0x46b4db==_0x589aae(0x3b0)&&(_0x46b4db=_0x197ac3[_0x589aae(0x2a3)](_0x46b4db));var _0x46111e=_0x347c79['blockSize'],_0x498915=_0x46111e*0x4;_0x46b4db[_0x589aae(0x466)]>_0x498915&&(_0x46b4db=_0x347c79[_0x589aae(0x213)](_0x46b4db)),_0x46b4db['clamp']();for(var _0x2f68bb=this[_0x589aae(0x1e9)]=_0x46b4db['clone'](),_0x5aacc8=this[_0x589aae(0x1c7)]=_0x46b4db[_0x589aae(0x489)](),_0x43a165=_0x2f68bb[_0x589aae(0x294)],_0xcf06a9=_0x5aacc8[_0x589aae(0x294)],_0x5a805f=0x0;_0x5a805f<_0x46111e;_0x5a805f++)_0x43a165[_0x5a805f]^=0x5c5c5c5c,_0xcf06a9[_0x5a805f]^=0x36363636;_0x2f68bb[_0x589aae(0x466)]=_0x5aacc8[_0x589aae(0x466)]=_0x498915,this[_0x589aae(0x3bb)]();},'reset':function(){var _0x2a6ce9=_0x3594fd,_0x21aa6f=this[_0x2a6ce9(0x3ac)];_0x21aa6f['reset'](),_0x21aa6f[_0x2a6ce9(0x31c)](this[_0x2a6ce9(0x1c7)]);},'update':function(_0xaa82c5){var _0x59c00b=_0x3594fd;return this[_0x59c00b(0x3ac)][_0x59c00b(0x31c)](_0xaa82c5),this;},'finalize':function(_0x1c6318){var _0x478ede=_0x3594fd,_0x1bf902=this['_hasher'],_0x1d764e=_0x1bf902[_0x478ede(0x213)](_0x1c6318);_0x1bf902['reset']();var _0x5edc00=_0x1bf902[_0x478ede(0x213)](this[_0x478ede(0x1e9)]['clone']()[_0x478ede(0x33e)](_0x1d764e));return _0x5edc00;}});}());}));}(ze)),ze[_0x50cd52(0x442)];}var pn=Ke['exports'],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x4e28f2,_0x31af06){(function(_0x4e5206,_0x28ad75,_0x49ea76){var _0x33cfca=_0xb5db;_0x4e28f2[_0x33cfca(0x442)]=_0x28ad75(te(),dn(),vn());}(pn,function(_0x4642d8){var _0xa4f49b=_0xb5db;return(function(){var _0x3e5dfd=_0xb5db,_0xb0f642=_0x4642d8,_0x5069fd=_0xb0f642['lib'],_0x4c5cc2=_0x5069fd[_0x3e5dfd(0x2a1)],_0x69bf47=_0x5069fd[_0x3e5dfd(0x252)],_0x5cdbb4=_0xb0f642['algo'],_0x1785d9=_0x5cdbb4[_0x3e5dfd(0x37a)],_0x4935c5=_0x5cdbb4[_0x3e5dfd(0x258)]=_0x4c5cc2[_0x3e5dfd(0x38c)]({'cfg':_0x4c5cc2[_0x3e5dfd(0x38c)]({'keySize':0x80/0x20,'hasher':_0x1785d9,'iterations':0x1}),'init':function(_0x5a61a5){var _0x50f1b2=_0x3e5dfd;this['cfg']=this[_0x50f1b2(0x255)][_0x50f1b2(0x38c)](_0x5a61a5);},'compute':function(_0x34cdc4,_0x4b73f0){var _0x32a9e6=_0x3e5dfd;for(var _0x1d3e79,_0xe9038c=this[_0x32a9e6(0x255)],_0x5dffa4=_0xe9038c[_0x32a9e6(0x2dc)][_0x32a9e6(0x1ff)](),_0x3324d8=_0x69bf47[_0x32a9e6(0x1ff)](),_0x32fb90=_0x3324d8[_0x32a9e6(0x294)],_0x2bb7a1=_0xe9038c[_0x32a9e6(0x224)],_0x1904e2=_0xe9038c[_0x32a9e6(0x26d)];_0x32fb90['length']<_0x2bb7a1;){_0x1d3e79&&_0x5dffa4[_0x32a9e6(0x31c)](_0x1d3e79),_0x1d3e79=_0x5dffa4['update'](_0x34cdc4)['finalize'](_0x4b73f0),_0x5dffa4[_0x32a9e6(0x3bb)]();for(var _0x427ff8=0x1;_0x427ff8<_0x1904e2;_0x427ff8++)_0x1d3e79=_0x5dffa4[_0x32a9e6(0x213)](_0x1d3e79),_0x5dffa4['reset']();_0x3324d8[_0x32a9e6(0x33e)](_0x1d3e79);}return _0x3324d8[_0x32a9e6(0x466)]=_0x2bb7a1*0x4,_0x3324d8;}});_0xb0f642[_0x3e5dfd(0x258)]=function(_0x5abd4b,_0x5bc033,_0x3bd29e){return _0x4935c5['create'](_0x3bd29e)['compute'](_0x5abd4b,_0x5bc033);};}()),_0x4642d8[_0xa4f49b(0x258)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0x5c5167(0x442)],ei;function bi(){return ei||(ei=0x1,function(_0x1f3493,_0x5373c3){(function(_0x31fa16,_0x1937df,_0x56ea98){var _0x204244=_0xb5db;_0x1f3493[_0x204244(0x442)]=_0x1937df(te(),Oi());}(mn,function(_0x14c2ef){_0x14c2ef['lib']['Cipher']||function(_0x525748){var _0x2a0263=_0xb5db,_0x4a7970=_0x14c2ef,_0x247765=_0x4a7970[_0x2a0263(0x269)],_0x46a6d2=_0x247765[_0x2a0263(0x2a1)],_0x45cbfe=_0x247765['WordArray'],_0x213a77=_0x247765[_0x2a0263(0x4a6)],_0x4afb27=_0x4a7970[_0x2a0263(0x30c)];_0x4afb27[_0x2a0263(0x37f)];var _0x5ef29e=_0x4afb27[_0x2a0263(0x340)],_0x1806ae=_0x4a7970['algo'],_0x2d72a4=_0x1806ae[_0x2a0263(0x258)],_0x58d7e7=_0x247765['Cipher']=_0x213a77[_0x2a0263(0x38c)]({'cfg':_0x46a6d2[_0x2a0263(0x38c)](),'createEncryptor':function(_0x554484,_0x29b0de){var _0x4f8f8c=_0x2a0263;return this[_0x4f8f8c(0x1ff)](this[_0x4f8f8c(0x299)],_0x554484,_0x29b0de);},'createDecryptor':function(_0x385d0f,_0x2938a0){var _0x53442f=_0x2a0263;return this['create'](this[_0x53442f(0x362)],_0x385d0f,_0x2938a0);},'init':function(_0x4b463e,_0x378f0e,_0x966653){var _0x3adb4f=_0x2a0263;this[_0x3adb4f(0x255)]=this[_0x3adb4f(0x255)]['extend'](_0x966653),this['_xformMode']=_0x4b463e,this[_0x3adb4f(0x49f)]=_0x378f0e,this[_0x3adb4f(0x3bb)]();},'reset':function(){var _0x273df3=_0x2a0263;_0x213a77[_0x273df3(0x3bb)][_0x273df3(0x1c3)](this),this[_0x273df3(0x307)]();},'process':function(_0x37c2a7){var _0xbe2643=_0x2a0263;return this[_0xbe2643(0x487)](_0x37c2a7),this[_0xbe2643(0x334)]();},'finalize':function(_0x31fd32){var _0x547b93=_0x2a0263;_0x31fd32&&this[_0x547b93(0x487)](_0x31fd32);var _0x475d2e=this['_doFinalize']();return _0x475d2e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2232f1(_0x2ee9a8){return typeof _0x2ee9a8=='string'?_0x52a1e5:_0x4f7f94;}return function(_0x2bf67f){return{'encrypt':function(_0x2cc709,_0x265b04,_0x3dc3cd){return _0x2232f1(_0x265b04)['encrypt'](_0x2bf67f,_0x2cc709,_0x265b04,_0x3dc3cd);},'decrypt':function(_0x5af03e,_0x3bb1fd,_0x505f65){var _0x3c3bad=_0xb5db;return _0x2232f1(_0x3bb1fd)[_0x3c3bad(0x2f6)](_0x2bf67f,_0x5af03e,_0x3bb1fd,_0x505f65);}};};}())});_0x247765[_0x2a0263(0x1d0)]=_0x58d7e7['extend']({'_doFinalize':function(){var _0x20a1da=_0x2a0263,_0x31201b=this[_0x20a1da(0x334)](!0x0);return _0x31201b;},'blockSize':0x1});var _0xf57a00=_0x4a7970[_0x2a0263(0x2cf)]={},_0x31609c=_0x247765['BlockCipherMode']=_0x46a6d2[_0x2a0263(0x38c)]({'createEncryptor':function(_0x5df3f7,_0x39f1e2){var _0xc18caa=_0x2a0263;return this[_0xc18caa(0x318)][_0xc18caa(0x1ff)](_0x5df3f7,_0x39f1e2);},'createDecryptor':function(_0x455b39,_0x4d8a31){var _0x4fa61b=_0x2a0263;return this['Decryptor'][_0x4fa61b(0x1ff)](_0x455b39,_0x4d8a31);},'init':function(_0x181ada,_0x19f640){var _0x50c52e=_0x2a0263;this[_0x50c52e(0x458)]=_0x181ada,this[_0x50c52e(0x3f1)]=_0x19f640;}}),_0x547948=_0xf57a00[_0x2a0263(0x2ab)]=(function(){var _0x3d150b=_0x2a0263,_0x2b530f=_0x31609c[_0x3d150b(0x38c)]();_0x2b530f['Encryptor']=_0x2b530f['extend']({'processBlock':function(_0xb880c8,_0x4ec04f){var _0x369106=_0x3d150b,_0x3a7e47=this[_0x369106(0x458)],_0x2efedd=_0x3a7e47[_0x369106(0x25e)];_0x273780[_0x369106(0x1c3)](this,_0xb880c8,_0x4ec04f,_0x2efedd),_0x3a7e47[_0x369106(0x2bc)](_0xb880c8,_0x4ec04f),this['_prevBlock']=_0xb880c8['slice'](_0x4ec04f,_0x4ec04f+_0x2efedd);}}),_0x2b530f[_0x3d150b(0x3e7)]=_0x2b530f[_0x3d150b(0x38c)]({'processBlock':function(_0x1c43a9,_0x542d6f){var _0x472ffd=_0x3d150b,_0x485335=this[_0x472ffd(0x458)],_0xfe4928=_0x485335[_0x472ffd(0x25e)],_0x8c80c2=_0x1c43a9[_0x472ffd(0x218)](_0x542d6f,_0x542d6f+_0xfe4928);_0x485335[_0x472ffd(0x344)](_0x1c43a9,_0x542d6f),_0x273780[_0x472ffd(0x1c3)](this,_0x1c43a9,_0x542d6f,_0xfe4928),this[_0x472ffd(0x454)]=_0x8c80c2;}});function _0x273780(_0x532611,_0x342445,_0xea8a0a){var _0x3df753=_0x3d150b,_0x566849,_0x5f2627=this['_iv'];_0x5f2627?(_0x566849=_0x5f2627,this[_0x3df753(0x3f1)]=_0x525748):_0x566849=this['_prevBlock'];for(var _0x40f51a=0x0;_0x40f51a<_0xea8a0a;_0x40f51a++)_0x532611[_0x342445+_0x40f51a]^=_0x566849[_0x40f51a];}return _0x2b530f;}()),_0x21f561=_0x4a7970[_0x2a0263(0x212)]={},_0x57345d=_0x21f561['Pkcs7']={'pad':function(_0x32f211,_0x3d17a2){var _0xe22e79=_0x2a0263;for(var _0x3c9e06=_0x3d17a2*0x4,_0x15733a=_0x3c9e06-_0x32f211['sigBytes']%_0x3c9e06,_0x5163e3=_0x15733a<<0x18|_0x15733a<<0x10|_0x15733a<<0x8|_0x15733a,_0x306acc=[],_0x297fb0=0x0;_0x297fb0<_0x15733a;_0x297fb0+=0x4)_0x306acc[_0xe22e79(0x1e1)](_0x5163e3);var _0x14b267=_0x45cbfe[_0xe22e79(0x1ff)](_0x306acc,_0x15733a);_0x32f211['concat'](_0x14b267);},'unpad':function(_0x48de12){var _0x4148c0=_0x2a0263,_0x354614=_0x48de12[_0x4148c0(0x294)][_0x48de12[_0x4148c0(0x466)]-0x1>>>0x2]&0xff;_0x48de12[_0x4148c0(0x466)]-=_0x354614;}};_0x247765[_0x2a0263(0x335)]=_0x58d7e7['extend']({'cfg':_0x58d7e7[_0x2a0263(0x255)][_0x2a0263(0x38c)]({'mode':_0x547948,'padding':_0x57345d}),'reset':function(){var _0x4f4ccc=_0x2a0263,_0x5b5987;_0x58d7e7[_0x4f4ccc(0x3bb)]['call'](this);var _0x4b51b3=this[_0x4f4ccc(0x255)],_0x2aa68f=_0x4b51b3['iv'],_0x4122c5=_0x4b51b3['mode'];this[_0x4f4ccc(0x261)]==this[_0x4f4ccc(0x299)]?_0x5b5987=_0x4122c5['createEncryptor']:(_0x5b5987=_0x4122c5[_0x4f4ccc(0x239)],this[_0x4f4ccc(0x247)]=0x1),this[_0x4f4ccc(0x34d)]&&this[_0x4f4ccc(0x34d)][_0x4f4ccc(0x345)]==_0x5b5987?this[_0x4f4ccc(0x34d)][_0x4f4ccc(0x22a)](this,_0x2aa68f&&_0x2aa68f[_0x4f4ccc(0x294)]):(this[_0x4f4ccc(0x34d)]=_0x5b5987[_0x4f4ccc(0x1c3)](_0x4122c5,this,_0x2aa68f&&_0x2aa68f['words']),this['_mode'][_0x4f4ccc(0x345)]=_0x5b5987);},'_doProcessBlock':function(_0x3c34e2,_0x4d2935){var _0x279d23=_0x2a0263;this[_0x279d23(0x34d)][_0x279d23(0x208)](_0x3c34e2,_0x4d2935);},'_doFinalize':function(){var _0x2fb795=_0x2a0263,_0x1d4422,_0x56cf64=this[_0x2fb795(0x255)][_0x2fb795(0x319)];return this['_xformMode']==this[_0x2fb795(0x299)]?(_0x56cf64[_0x2fb795(0x212)](this['_data'],this[_0x2fb795(0x25e)]),_0x1d4422=this[_0x2fb795(0x334)](!0x0)):(_0x1d4422=this[_0x2fb795(0x334)](!0x0),_0x56cf64[_0x2fb795(0x342)](_0x1d4422)),_0x1d4422;},'blockSize':0x80/0x20});var _0x496dcc=_0x247765[_0x2a0263(0x330)]=_0x46a6d2[_0x2a0263(0x38c)]({'init':function(_0x3b7e4f){this['mixIn'](_0x3b7e4f);},'toString':function(_0x44ba41){var _0x1629b0=_0x2a0263;return(_0x44ba41||this[_0x1629b0(0x367)])[_0x1629b0(0x2ad)](this);}}),_0x211953=_0x4a7970['format']={},_0x33ab46=_0x211953[_0x2a0263(0x413)]={'stringify':function(_0x501561){var _0x5a11e2=_0x2a0263,_0x33cde1,_0x593326=_0x501561['ciphertext'],_0x4c035e=_0x501561['salt'];return _0x4c035e?_0x33cde1=_0x45cbfe[_0x5a11e2(0x1ff)]([0x53616c74,0x65645f5f])['concat'](_0x4c035e)[_0x5a11e2(0x33e)](_0x593326):_0x33cde1=_0x593326,_0x33cde1[_0x5a11e2(0x428)](_0x5ef29e);},'parse':function(_0x25f341){var _0x30708b=_0x2a0263,_0x176343,_0x25f160=_0x5ef29e['parse'](_0x25f341),_0x366eb4=_0x25f160[_0x30708b(0x294)];return _0x366eb4[0x0]==0x53616c74&&_0x366eb4[0x1]==0x65645f5f&&(_0x176343=_0x45cbfe[_0x30708b(0x1ff)](_0x366eb4[_0x30708b(0x218)](0x2,0x4)),_0x366eb4[_0x30708b(0x431)](0x0,0x4),_0x25f160[_0x30708b(0x466)]-=0x10),_0x496dcc['create']({'ciphertext':_0x25f160,'salt':_0x176343});}},_0x4f7f94=_0x247765[_0x2a0263(0x30d)]=_0x46a6d2['extend']({'cfg':_0x46a6d2['extend']({'format':_0x33ab46}),'encrypt':function(_0x1bbe4e,_0x1f8596,_0x57b6c5,_0x2fe2a7){var _0x4927fe=_0x2a0263;_0x2fe2a7=this[_0x4927fe(0x255)][_0x4927fe(0x38c)](_0x2fe2a7);var _0x274e46=_0x1bbe4e[_0x4927fe(0x44c)](_0x57b6c5,_0x2fe2a7),_0x36b833=_0x274e46[_0x4927fe(0x213)](_0x1f8596),_0x50aae8=_0x274e46[_0x4927fe(0x255)];return _0x496dcc[_0x4927fe(0x1ff)]({'ciphertext':_0x36b833,'key':_0x57b6c5,'iv':_0x50aae8['iv'],'algorithm':_0x1bbe4e,'mode':_0x50aae8[_0x4927fe(0x2cf)],'padding':_0x50aae8[_0x4927fe(0x319)],'blockSize':_0x1bbe4e[_0x4927fe(0x25e)],'formatter':_0x2fe2a7[_0x4927fe(0x1ee)]});},'decrypt':function(_0x38f4a2,_0x25774e,_0x4c7606,_0x4038e6){var _0x29a045=_0x2a0263;_0x4038e6=this[_0x29a045(0x255)][_0x29a045(0x38c)](_0x4038e6),_0x25774e=this['_parse'](_0x25774e,_0x4038e6['format']);var _0x2cbbd9=_0x38f4a2['createDecryptor'](_0x4c7606,_0x4038e6)['finalize'](_0x25774e['ciphertext']);return _0x2cbbd9;},'_parse':function(_0x30d9bb,_0x1dc4f1){var _0x288f13=_0x2a0263;return typeof _0x30d9bb==_0x288f13(0x3b0)?_0x1dc4f1[_0x288f13(0x2a3)](_0x30d9bb,this):_0x30d9bb;}}),_0x480319=_0x4a7970[_0x2a0263(0x3b1)]={},_0x27bd0c=_0x480319[_0x2a0263(0x413)]={'execute':function(_0x228dbd,_0x168473,_0x11901a,_0x2dcf84,_0x1a2850){var _0x45d315=_0x2a0263;if(_0x2dcf84||(_0x2dcf84=_0x45cbfe[_0x45d315(0x1fc)](0x40/0x8)),_0x1a2850)var _0x21763a=_0x2d72a4[_0x45d315(0x1ff)]({'keySize':_0x168473+_0x11901a,'hasher':_0x1a2850})[_0x45d315(0x35d)](_0x228dbd,_0x2dcf84);else var _0x21763a=_0x2d72a4[_0x45d315(0x1ff)]({'keySize':_0x168473+_0x11901a})[_0x45d315(0x35d)](_0x228dbd,_0x2dcf84);var _0x3e94f3=_0x45cbfe[_0x45d315(0x1ff)](_0x21763a[_0x45d315(0x294)]['slice'](_0x168473),_0x11901a*0x4);return _0x21763a['sigBytes']=_0x168473*0x4,_0x496dcc[_0x45d315(0x1ff)]({'key':_0x21763a,'iv':_0x3e94f3,'salt':_0x2dcf84});}},_0x52a1e5=_0x247765[_0x2a0263(0x2ed)]=_0x4f7f94[_0x2a0263(0x38c)]({'cfg':_0x4f7f94[_0x2a0263(0x255)][_0x2a0263(0x38c)]({'kdf':_0x27bd0c}),'encrypt':function(_0x71132a,_0x501585,_0x4d0479,_0x2444d5){var _0x213087=_0x2a0263;_0x2444d5=this['cfg'][_0x213087(0x38c)](_0x2444d5);var _0x487c14=_0x2444d5[_0x213087(0x3b1)][_0x213087(0x427)](_0x4d0479,_0x71132a[_0x213087(0x224)],_0x71132a['ivSize'],_0x2444d5[_0x213087(0x248)],_0x2444d5[_0x213087(0x2dc)]);_0x2444d5['iv']=_0x487c14['iv'];var _0x4f3017=_0x4f7f94['encrypt'][_0x213087(0x1c3)](this,_0x71132a,_0x501585,_0x487c14[_0x213087(0x2fb)],_0x2444d5);return _0x4f3017[_0x213087(0x3c0)](_0x487c14),_0x4f3017;},'decrypt':function(_0x4a247,_0x49ff2f,_0x13e999,_0x43fcad){var _0x438c99=_0x2a0263;_0x43fcad=this[_0x438c99(0x255)][_0x438c99(0x38c)](_0x43fcad),_0x49ff2f=this[_0x438c99(0x399)](_0x49ff2f,_0x43fcad['format']);var _0x4c63c2=_0x43fcad[_0x438c99(0x3b1)][_0x438c99(0x427)](_0x13e999,_0x4a247[_0x438c99(0x224)],_0x4a247[_0x438c99(0x2f4)],_0x49ff2f[_0x438c99(0x248)],_0x43fcad['hasher']);_0x43fcad['iv']=_0x4c63c2['iv'];var _0x22b5fb=_0x4f7f94[_0x438c99(0x2f6)][_0x438c99(0x1c3)](this,_0x4a247,_0x49ff2f,_0x4c63c2[_0x438c99(0x2fb)],_0x43fcad);return _0x22b5fb;}});}();}));}(Je)),Je['exports'];}var gn=Ve[_0x5c5167(0x442)],ti;function Sn(){var _0x27751a=_0x5c5167;return ti||(ti=0x1,function(_0x3ea3fc,_0x38effd){(function(_0x13e431,_0x246a99,_0x45219d){var _0xfbce0a=_0xb5db;_0x3ea3fc[_0xfbce0a(0x442)]=_0x246a99(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x7b8e7c){var _0x30eb72=_0xb5db;return(function(){var _0xffa769=_0xb5db,_0x3b7d6c=_0x7b8e7c,_0x2ff26e=_0x3b7d6c[_0xffa769(0x269)],_0x48e73f=_0x2ff26e['BlockCipher'],_0x93e5e6=_0x3b7d6c[_0xffa769(0x39e)],_0x391c15=[],_0x3a2512=[],_0x65e909=[],_0x4ba7d5=[],_0x5c564b=[],_0x2030b6=[],_0x1faaa0=[],_0x11323a=[],_0x59ec9f=[],_0xe6eafa=[];(function(){for(var _0x24c9de=[],_0x389737=0x0;_0x389737<0x100;_0x389737++)_0x389737<0x80?_0x24c9de[_0x389737]=_0x389737<<0x1:_0x24c9de[_0x389737]=_0x389737<<0x1^0x11b;for(var _0x14c918=0x0,_0x1226d2=0x0,_0x389737=0x0;_0x389737<0x100;_0x389737++){var _0x13ce0f=_0x1226d2^_0x1226d2<<0x1^_0x1226d2<<0x2^_0x1226d2<<0x3^_0x1226d2<<0x4;_0x13ce0f=_0x13ce0f>>>0x8^_0x13ce0f&0xff^0x63,_0x391c15[_0x14c918]=_0x13ce0f,_0x3a2512[_0x13ce0f]=_0x14c918;var _0x8eee7c=_0x24c9de[_0x14c918],_0x29aa10=_0x24c9de[_0x8eee7c],_0x43e453=_0x24c9de[_0x29aa10],_0x50f289=_0x24c9de[_0x13ce0f]*0x101^_0x13ce0f*0x1010100;_0x65e909[_0x14c918]=_0x50f289<<0x18|_0x50f289>>>0x8,_0x4ba7d5[_0x14c918]=_0x50f289<<0x10|_0x50f289>>>0x10,_0x5c564b[_0x14c918]=_0x50f289<<0x8|_0x50f289>>>0x18,_0x2030b6[_0x14c918]=_0x50f289;var _0x50f289=_0x43e453*0x1010101^_0x29aa10*0x10001^_0x8eee7c*0x101^_0x14c918*0x1010100;_0x1faaa0[_0x13ce0f]=_0x50f289<<0x18|_0x50f289>>>0x8,_0x11323a[_0x13ce0f]=_0x50f289<<0x10|_0x50f289>>>0x10,_0x59ec9f[_0x13ce0f]=_0x50f289<<0x8|_0x50f289>>>0x18,_0xe6eafa[_0x13ce0f]=_0x50f289,_0x14c918?(_0x14c918=_0x8eee7c^_0x24c9de[_0x24c9de[_0x24c9de[_0x43e453^_0x8eee7c]]],_0x1226d2^=_0x24c9de[_0x24c9de[_0x1226d2]]):_0x14c918=_0x1226d2=0x1;}}());var _0x15c3fe=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x321ab8=_0x93e5e6[_0xffa769(0x4a7)]=_0x48e73f['extend']({'_doReset':function(){var _0x20e4af=_0xffa769,_0xe37d86;if(!(this['_nRounds']&&this[_0x20e4af(0x25f)]===this['_key'])){for(var _0xb7660=this[_0x20e4af(0x25f)]=this['_key'],_0x2eb48a=_0xb7660[_0x20e4af(0x294)],_0x390bdb=_0xb7660[_0x20e4af(0x466)]/0x4,_0x452c57=this[_0x20e4af(0x46a)]=_0x390bdb+0x6,_0x452400=(_0x452c57+0x1)*0x4,_0x1e4646=this['_keySchedule']=[],_0x54455f=0x0;_0x54455f<_0x452400;_0x54455f++)_0x54455f<_0x390bdb?_0x1e4646[_0x54455f]=_0x2eb48a[_0x54455f]:(_0xe37d86=_0x1e4646[_0x54455f-0x1],_0x54455f%_0x390bdb?_0x390bdb>0x6&&_0x54455f%_0x390bdb==0x4&&(_0xe37d86=_0x391c15[_0xe37d86>>>0x18]<<0x18|_0x391c15[_0xe37d86>>>0x10&0xff]<<0x10|_0x391c15[_0xe37d86>>>0x8&0xff]<<0x8|_0x391c15[_0xe37d86&0xff]):(_0xe37d86=_0xe37d86<<0x8|_0xe37d86>>>0x18,_0xe37d86=_0x391c15[_0xe37d86>>>0x18]<<0x18|_0x391c15[_0xe37d86>>>0x10&0xff]<<0x10|_0x391c15[_0xe37d86>>>0x8&0xff]<<0x8|_0x391c15[_0xe37d86&0xff],_0xe37d86^=_0x15c3fe[_0x54455f/_0x390bdb|0x0]<<0x18),_0x1e4646[_0x54455f]=_0x1e4646[_0x54455f-_0x390bdb]^_0xe37d86);for(var _0x12bf23=this['_invKeySchedule']=[],_0x3adf55=0x0;_0x3adf55<_0x452400;_0x3adf55++){var _0x54455f=_0x452400-_0x3adf55;if(_0x3adf55%0x4)var _0xe37d86=_0x1e4646[_0x54455f];else var _0xe37d86=_0x1e4646[_0x54455f-0x4];_0x3adf55<0x4||_0x54455f<=0x4?_0x12bf23[_0x3adf55]=_0xe37d86:_0x12bf23[_0x3adf55]=_0x1faaa0[_0x391c15[_0xe37d86>>>0x18]]^_0x11323a[_0x391c15[_0xe37d86>>>0x10&0xff]]^_0x59ec9f[_0x391c15[_0xe37d86>>>0x8&0xff]]^_0xe6eafa[_0x391c15[_0xe37d86&0xff]];}}},'encryptBlock':function(_0x147105,_0x4cea30){var _0x1b7324=_0xffa769;this['_doCryptBlock'](_0x147105,_0x4cea30,this[_0x1b7324(0x2a4)],_0x65e909,_0x4ba7d5,_0x5c564b,_0x2030b6,_0x391c15);},'decryptBlock':function(_0x117af2,_0x2c3c1e){var _0x76bcc4=_0xffa769,_0x17115f=_0x117af2[_0x2c3c1e+0x1];_0x117af2[_0x2c3c1e+0x1]=_0x117af2[_0x2c3c1e+0x3],_0x117af2[_0x2c3c1e+0x3]=_0x17115f,this[_0x76bcc4(0x42d)](_0x117af2,_0x2c3c1e,this[_0x76bcc4(0x4a9)],_0x1faaa0,_0x11323a,_0x59ec9f,_0xe6eafa,_0x3a2512);var _0x17115f=_0x117af2[_0x2c3c1e+0x1];_0x117af2[_0x2c3c1e+0x1]=_0x117af2[_0x2c3c1e+0x3],_0x117af2[_0x2c3c1e+0x3]=_0x17115f;},'_doCryptBlock':function(_0x29446a,_0xf58c83,_0x329a2d,_0x1f8229,_0xbe2704,_0x2f8730,_0xcf3c6d,_0x2359ba){for(var _0x3d9e63=this['_nRounds'],_0x4deb88=_0x29446a[_0xf58c83]^_0x329a2d[0x0],_0x2576e4=_0x29446a[_0xf58c83+0x1]^_0x329a2d[0x1],_0x2bc2b8=_0x29446a[_0xf58c83+0x2]^_0x329a2d[0x2],_0x4e368e=_0x29446a[_0xf58c83+0x3]^_0x329a2d[0x3],_0x6e4af4=0x4,_0x27bc68=0x1;_0x27bc68<_0x3d9e63;_0x27bc68++){var _0x374e8a=_0x1f8229[_0x4deb88>>>0x18]^_0xbe2704[_0x2576e4>>>0x10&0xff]^_0x2f8730[_0x2bc2b8>>>0x8&0xff]^_0xcf3c6d[_0x4e368e&0xff]^_0x329a2d[_0x6e4af4++],_0x529214=_0x1f8229[_0x2576e4>>>0x18]^_0xbe2704[_0x2bc2b8>>>0x10&0xff]^_0x2f8730[_0x4e368e>>>0x8&0xff]^_0xcf3c6d[_0x4deb88&0xff]^_0x329a2d[_0x6e4af4++],_0x5b4b6a=_0x1f8229[_0x2bc2b8>>>0x18]^_0xbe2704[_0x4e368e>>>0x10&0xff]^_0x2f8730[_0x4deb88>>>0x8&0xff]^_0xcf3c6d[_0x2576e4&0xff]^_0x329a2d[_0x6e4af4++],_0x17e917=_0x1f8229[_0x4e368e>>>0x18]^_0xbe2704[_0x4deb88>>>0x10&0xff]^_0x2f8730[_0x2576e4>>>0x8&0xff]^_0xcf3c6d[_0x2bc2b8&0xff]^_0x329a2d[_0x6e4af4++];_0x4deb88=_0x374e8a,_0x2576e4=_0x529214,_0x2bc2b8=_0x5b4b6a,_0x4e368e=_0x17e917;}var _0x374e8a=(_0x2359ba[_0x4deb88>>>0x18]<<0x18|_0x2359ba[_0x2576e4>>>0x10&0xff]<<0x10|_0x2359ba[_0x2bc2b8>>>0x8&0xff]<<0x8|_0x2359ba[_0x4e368e&0xff])^_0x329a2d[_0x6e4af4++],_0x529214=(_0x2359ba[_0x2576e4>>>0x18]<<0x18|_0x2359ba[_0x2bc2b8>>>0x10&0xff]<<0x10|_0x2359ba[_0x4e368e>>>0x8&0xff]<<0x8|_0x2359ba[_0x4deb88&0xff])^_0x329a2d[_0x6e4af4++],_0x5b4b6a=(_0x2359ba[_0x2bc2b8>>>0x18]<<0x18|_0x2359ba[_0x4e368e>>>0x10&0xff]<<0x10|_0x2359ba[_0x4deb88>>>0x8&0xff]<<0x8|_0x2359ba[_0x2576e4&0xff])^_0x329a2d[_0x6e4af4++],_0x17e917=(_0x2359ba[_0x4e368e>>>0x18]<<0x18|_0x2359ba[_0x4deb88>>>0x10&0xff]<<0x10|_0x2359ba[_0x2576e4>>>0x8&0xff]<<0x8|_0x2359ba[_0x2bc2b8&0xff])^_0x329a2d[_0x6e4af4++];_0x29446a[_0xf58c83]=_0x374e8a,_0x29446a[_0xf58c83+0x1]=_0x529214,_0x29446a[_0xf58c83+0x2]=_0x5b4b6a,_0x29446a[_0xf58c83+0x3]=_0x17e917;},'keySize':0x100/0x20});_0x3b7d6c[_0xffa769(0x4a7)]=_0x48e73f[_0xffa769(0x42a)](_0x321ab8);}()),_0x7b8e7c[_0x30eb72(0x4a7)];}));}(Ve)),Ve[_0x27751a(0x442)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x5c5167(0x442)],si;function Rn(){var _0xe3dbf2=_0x5c5167;return si||(si=0x1,function(_0x10cca4,_0x9bfe12){(function(_0x572fc4,_0x27f124){_0x10cca4['exports']=_0x27f124(te());}(Cn,function(_0x2cb792){var _0x1855b1=_0xb5db;return _0x2cb792[_0x1855b1(0x30c)]['Utf8'];}));}(Xe)),Xe[_0xe3dbf2(0x442)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x5c5167(0x442)],ni;function Nn(){var _0x3d7de3=_0x5c5167;return ni||(ni=0x1,function(_0x3efa37,_0x3f7b3e){(function(_0x156409,_0x28b9e4){var _0x4527de=_0xb5db;_0x3efa37[_0x4527de(0x442)]=_0x28b9e4(te());}(yn,function(_0x1d75d6){var _0x38be29=_0xb5db;return(function(){var _0x372b07=_0xb5db;if(typeof ArrayBuffer=='function'){var _0x3b92e6=_0x1d75d6,_0x19b394=_0x3b92e6['lib'],_0x16e870=_0x19b394['WordArray'],_0x31fd7d=_0x16e870[_0x372b07(0x22a)],_0x70e595=_0x16e870[_0x372b07(0x22a)]=function(_0xaa639e){var _0x2d8155=_0x372b07;if(_0xaa639e instanceof ArrayBuffer&&(_0xaa639e=new Uint8Array(_0xaa639e)),(_0xaa639e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xaa639e instanceof Uint8ClampedArray||_0xaa639e instanceof Int16Array||_0xaa639e instanceof Uint16Array||_0xaa639e instanceof Int32Array||_0xaa639e instanceof Uint32Array||_0xaa639e instanceof Float32Array||_0xaa639e instanceof Float64Array)&&(_0xaa639e=new Uint8Array(_0xaa639e[_0x2d8155(0x329)],_0xaa639e['byteOffset'],_0xaa639e[_0x2d8155(0x21b)])),_0xaa639e instanceof Uint8Array){for(var _0x50a2f7=_0xaa639e[_0x2d8155(0x21b)],_0x5a10be=[],_0x198f1c=0x0;_0x198f1c<_0x50a2f7;_0x198f1c++)_0x5a10be[_0x198f1c>>>0x2]|=_0xaa639e[_0x198f1c]<<0x18-_0x198f1c%0x4*0x8;_0x31fd7d[_0x2d8155(0x1c3)](this,_0x5a10be,_0x50a2f7);}else _0x31fd7d[_0x2d8155(0x2f9)](this,arguments);};_0x70e595[_0x372b07(0x30b)]=_0x16e870;}}()),_0x1d75d6[_0x38be29(0x269)][_0x38be29(0x252)];}));}(Ze)),Ze[_0x3d7de3(0x442)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x5c5167(0x442)],ri;function wn(){return ri||(ri=0x1,function(_0x45fdaf,_0x3026fd){(function(_0x31d895,_0x49538a,_0x2aeb26){var _0x55eff0=_0xb5db;_0x45fdaf[_0x55eff0(0x442)]=_0x49538a(te(),bi());}(An,function(_0x4cceb6){var _0x55c569=_0xb5db;return _0x4cceb6[_0x55c569(0x212)][_0x55c569(0x32e)]={'pad':function(){},'unpad':function(){}},_0x4cceb6[_0x55c569(0x212)][_0x55c569(0x32e)];}));}(Qe)),Qe['exports'];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x27316d,_0x5ecbbb){var _0x3a7dec=_0x5c5167;const _0x1d8b3f=_0x5ecbbb-_0x27316d[_0x3a7dec(0x418)]%_0x5ecbbb,_0x4b67e9=String[_0x3a7dec(0x324)](_0x1d8b3f)['repeat'](_0x1d8b3f);return _0x27316d+_0x4b67e9;}function xn(_0x5d54c0,_0x510201){var _0xe88fb4=_0x5c5167;const _0x12e0a1=Un[_0xe88fb4(0x1fc)](0x10),_0x50b5e8=Ln(_0x5d54c0,0x10),_0x3787a2=In[_0xe88fb4(0x1be)](bn[_0xe88fb4(0x2a3)](_0x50b5e8),ii[_0xe88fb4(0x2a3)](_0x510201),{'iv':_0x12e0a1,'padding':Mn});return _0x12e0a1[_0xe88fb4(0x33e)](_0x3787a2[_0xe88fb4(0x34a)])[_0xe88fb4(0x428)](ii);}function kn(){var _0x2d42c9=_0x5c5167;const _0x39f0dd=_0xf395b0()[_0x2d42c9(0x47f)];if(_0x39f0dd){const _0x4b729d={'time':Math['floor'](Date[_0x2d42c9(0x31a)]()/0x3e8),'domain':location[_0x2d42c9(0x405)]};return xn(JSON[_0x2d42c9(0x2ad)](_0x4b729d),_0x39f0dd);}}var $n=Object[_0x5c5167(0x2de)],Hn=(_0x4bff68,_0x28f95c,_0x230652,_0x59be03)=>{var _0x54a229=_0x5c5167;for(var _0x33620c=_0x59be03>0x1?void 0x0:_0x59be03?$n(_0x28f95c,_0x230652):_0x28f95c,_0x4699cb=_0x4bff68[_0x54a229(0x418)]-0x1,_0x4bdfbd;_0x4699cb>=0x0;_0x4699cb--)(_0x4bdfbd=_0x4bff68[_0x4699cb])&&(_0x33620c=_0x4bdfbd(_0x33620c)||_0x33620c);return _0x33620c;},Bn=(_0x582900,_0x1a1709)=>(_0x127cba,_0x53ea0b)=>_0x1a1709(_0x127cba,_0x53ea0b,_0x582900);let at=class{constructor(_0x186816){var _0x37351a=_0x5c5167;this[_0x37351a(0x231)]=_0x186816,this[_0x37351a(0x3e1)]();}['_initRequestHeader'](){var _0xa8c65f=_0x5c5167;this['_httpService'][_0xa8c65f(0x471)]({'interceptor':(_0x540e45,_0x533e70)=>{const _0x645018=_0x540e45['headers'],_0x57c3e1=kn();return _0x57c3e1&&_0x645018['set']('x-univer-host',_0x57c3e1),_0x533e70(_0x540e45);}});}};at=Hn([Bn(0x0,_0x307146(_0x4f1e64))],at);var jn=Object[_0x5c5167(0x2de)],Fn=(_0x52fe37,_0x3313c1,_0x4dde0f,_0x224bf3)=>{var _0x13eea8=_0x5c5167;for(var _0x535bda=_0x224bf3>0x1?void 0x0:_0x224bf3?jn(_0x3313c1,_0x4dde0f):_0x3313c1,_0x3c9d2f=_0x52fe37[_0x13eea8(0x418)]-0x1,_0x467ff8;_0x3c9d2f>=0x0;_0x3c9d2f--)(_0x467ff8=_0x52fe37[_0x3c9d2f])&&(_0x535bda=_0x467ff8(_0x535bda)||_0x535bda);return _0x535bda;},vt=(_0x3758c4,_0x57735c)=>(_0x43ed8c,_0x2dc2a6)=>_0x57735c(_0x43ed8c,_0x2dc2a6,_0x3758c4);let Ct=class extends _0x2049da{constructor(_0x3224b9,_0x34c05b,_0x44b5b5){var _0x342f53=_0x5c5167;super(),N(this,_0x342f53(0x3be),new _0x582d2e(null)),N(this,_0x342f53(0x3ae),this[_0x342f53(0x3be)][_0x342f53(0x2eb)]()),(this[_0x342f53(0x1e0)]=_0x3224b9,this[_0x342f53(0x1f0)]=_0x34c05b,this['_localCacheService']=_0x44b5b5);}async[_0x5c5167(0x209)](_0x3509fa,_0x68cc5d,_0x1f12e3){var _0x5e2549=_0x5c5167;this[_0x5e2549(0x3be)][_0x5e2549(0x291)]({'unitId':_0x3509fa,'type':_0x68cc5d});let _0x483a7c=null;switch(_0x68cc5d){case Z['UNIVER_SHEET']:{_0x483a7c=await this[_0x5e2549(0x1f0)][_0x5e2549(0x2d5)](_0x3509fa,_0x1f12e3);break;}case Z['UNIVER_DOC']:{_0x483a7c=await this[_0x5e2549(0x1f0)]['loadDoc'](_0x3509fa,_0x1f12e3);break;}default:{this[_0x5e2549(0x1e0)][_0x5e2549(0x347)](_0x5e2549(0x495),_0x5e2549(0x2b7));break;}}return _0x483a7c;}async[_0x5c5167(0x238)](_0x4ff5b0,_0x58a753,_0x246ebd){var _0x546082=_0x5c5167,_0x116b08;this[_0x546082(0x3be)][_0x546082(0x291)]({'unitId':_0x4ff5b0,'type':_0x58a753,'subUnitId':_0x246ebd});let _0x59d63b=0x0;const _0x129156=await((_0x116b08=this[_0x546082(0x31f)])==null?void 0x0:_0x116b08[_0x546082(0x40a)](_0x4ff5b0));return _0x129156&&(_0x129156[_0x546082(0x2ee)]||_0x129156[_0x546082(0x2e0)][_0x546082(0x418)]!==0x0)&&(_0x59d63b=_0x129156[_0x546082(0x2c7)]),_0x59d63b===0x0&&this['_logService']['debug'](_0x546082(0x495),_0x546082(0x24b)),this[_0x546082(0x209)](_0x4ff5b0,_0x58a753,_0x59d63b);}};Ct=Fn([vt(0x0,_0x3eb14a),vt(0x1,_0x307146(_0x6a9957)),vt(0x2,_0x4fe35e(J))],Ct);var Vn=Object[_0x5c5167(0x2de)],Wn=(_0x25ed20,_0x135979,_0x58f8ed,_0x34b85a)=>{var _0x23b4af=_0x5c5167;for(var _0xbdb8bf=_0x34b85a>0x1?void 0x0:_0x34b85a?Vn(_0x135979,_0x58f8ed):_0x135979,_0x4350d2=_0x25ed20[_0x23b4af(0x418)]-0x1,_0x5be5aa;_0x4350d2>=0x0;_0x4350d2--)(_0x5be5aa=_0x25ed20[_0x4350d2])&&(_0xbdb8bf=_0x5be5aa(_0xbdb8bf)||_0xbdb8bf);return _0xbdb8bf;},pt=(_0x6e0050,_0x339a20)=>(_0x4c3978,_0x5ba755)=>_0x339a20(_0x4c3978,_0x5ba755,_0x6e0050);const Gn=[_0x5c5167(0x262),_0x5c5167(0x1b0),_0x5c5167(0x30e),_0x5c5167(0x352),_0x5c5167(0x1e5)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x5c5167(0x415);let Rt=class{constructor(_0xa6f7ed,_0x3ad282,_0x6067d5){var _0x4e9e42=_0x5c5167;N(this,_0x4e9e42(0x29b),0x0),N(this,_0x4e9e42(0x1e4),new _0x431a14()),N(this,_0x4e9e42(0x49a),this[_0x4e9e42(0x1e4)]),N(this,_0x4e9e42(0x490),new Map()),(this[_0x4e9e42(0x231)]=_0xa6f7ed,this['_configService']=_0x3ad282,this[_0x4e9e42(0x472)]=_0x6067d5);}[_0x5c5167(0x359)](_0xa92b85){var _0x2b97d1=_0x5c5167;this[_0x2b97d1(0x29b)]=_0xa92b85,this[_0x2b97d1(0x1e4)][_0x2b97d1(0x291)](_0xa92b85);}[_0x5c5167(0x45a)](_0x48aa0e,_0x5e7935){var _0x5328e7=_0x5c5167;if(_0x5e7935===_0x225419[_0x5328e7(0x37d)]){const _0x289643=new Image();return _0x289643[_0x5328e7(0x1cd)]=_0x48aa0e,_0x289643;}return this[_0x5328e7(0x490)][_0x5328e7(0x2d3)](_0x48aa0e);}[_0x5c5167(0x3c1)](_0x32c11b,_0x53bed9,_0x1cbd24){var _0x5425de=_0x5c5167;_0x53bed9===_0x225419[_0x5425de(0x37d)]||_0x1cbd24==null||this['_imageSourceCache'][_0x5425de(0x444)](_0x32c11b,_0x1cbd24);}async[_0x5c5167(0x2ac)](_0x58fea7){var _0x5e9da7=_0x5c5167;try{const _0x39ee1c=this['_replaceFileID'](this['_getSignURL'](),''+_0x58fea7),_0x45b883=(await this[_0x5e9da7(0x231)][_0x5e9da7(0x2d3)](_0x39ee1c))[_0x5e9da7(0x479)];if(_0x45b883[_0x5e9da7(0x347)]&&_0x45b883['error'][_0x5e9da7(0x386)]===vi['OK']){const _0x25e849=new URL(_0x45b883[_0x5e9da7(0x220)],this[_0x5e9da7(0x295)]())[_0x5e9da7(0x428)]();return Promise[_0x5e9da7(0x311)](_0x25e849);}return Promise[_0x5e9da7(0x45f)](_0x45b883[_0x5e9da7(0x347)]);}catch(_0x3c0123){return Promise[_0x5e9da7(0x45f)](_0x3c0123);}}async[_0x5c5167(0x354)](_0x542c37){var _0x3493dc=_0x5c5167;let _0x534ba1='';if(!Gn[_0x3493dc(0x403)](_0x542c37[_0x3493dc(0x465)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x2f1563[_0x3493dc(0x486)]));if(_0x542c37[_0x3493dc(0x1bd)]>Yn)return this[_0x3493dc(0x241)](),Promise[_0x3493dc(0x45f)](new Error(_0x2f1563[_0x3493dc(0x480)]));try{const _0x1ee164=new FormData();_0x1ee164[_0x3493dc(0x1c2)]('file',_0x542c37);const _0x353d3c=this[_0x3493dc(0x472)][_0x3493dc(0x25c)](),_0x36596c=_0x353d3c==null?void 0x0:_0x353d3c[_0x3493dc(0x492)]();if(!_0x36596c)throw new Error(_0x3493dc(0x2fc));const _0x3f0e90=this[_0x3493dc(0x4a0)]()+_0x3493dc(0x2c9)+_0x542c37[_0x3493dc(0x1bd)][_0x3493dc(0x428)]()+'&source='+pi['UnitEmbedded']+_0x3493dc(0x467)+encodeURIComponent(_0x36596c),_0x4864c8={'body':_0x1ee164},_0x34ed7f=(await this[_0x3493dc(0x231)][_0x3493dc(0x2c0)](_0x3f0e90,_0x4864c8))[_0x3493dc(0x479)];if(typeof _0x34ed7f['FileId']!=_0x3493dc(0x3b0))return this[_0x3493dc(0x241)](),Promise[_0x3493dc(0x45f)](new Error(_0x2f1563[_0x3493dc(0x1aa)]));_0x534ba1=_0x34ed7f[_0x3493dc(0x44f)];}catch{return this[_0x3493dc(0x241)](),Promise[_0x3493dc(0x45f)](new Error(_0x2f1563[_0x3493dc(0x1aa)]));}return new Promise((_0x9fee7b,_0x46d475)=>{var _0x15ae64=_0x3493dc;const _0x4f9e2f=new FileReader();_0x4f9e2f['readAsDataURL'](_0x542c37),_0x4f9e2f[_0x15ae64(0x3e3)]=_0x13b068=>{var _0x1c8bd0=_0x15ae64,_0xff36b5;const _0x1f3b78=(_0xff36b5=_0x13b068['target'])==null?void 0x0:_0xff36b5[_0x1c8bd0(0x381)];if(_0x1f3b78==null){this[_0x1c8bd0(0x241)](),_0x46d475(new Error(_0x2f1563[_0x1c8bd0(0x1aa)]));return;}const _0x3be957=_0x2d971a(0x6);_0x9fee7b({'imageId':_0x3be957,'imageSourceType':_0x225419['UUID'],'source':_0x534ba1,'base64Cache':_0x1f3b78,'status':_0x2f1563[_0x1c8bd0(0x233)]}),this[_0x1c8bd0(0x241)]();};});}[_0x5c5167(0x4a0)](){var _0x4c4af3=_0x5c5167,_0x595c6e;const _0x272806=this[_0x4c4af3(0x27e)][_0x4c4af3(0x1a4)](K);return(_0x595c6e=_0x272806==null?void 0x0:_0x272806[_0x4c4af3(0x464)])!=null?_0x595c6e:Kn;}[_0x5c5167(0x456)](){var _0x437b5d=_0x5c5167,_0x4b67ae;const _0x41bb58=this[_0x437b5d(0x27e)][_0x437b5d(0x1a4)](K);return(_0x4b67ae=_0x41bb58==null?void 0x0:_0x41bb58[_0x437b5d(0x1de)])!=null?_0x4b67ae:qn;}[_0x5c5167(0x295)](){var _0x1f3008=_0x5c5167,_0x55bead;const _0x2425f8=this['_configService']['getConfig'](K);return(_0x55bead=_0x2425f8==null?void 0x0:_0x2425f8[_0x1f3008(0x42c)])!=null?_0x55bead:location[_0x1f3008(0x2c6)];}[_0x5c5167(0x3ce)](_0x55dcaa,_0x21cdb8){return _0x55dcaa['replace']('{fileID}',_0x21cdb8);}[_0x5c5167(0x241)](){var _0x4d8aa4=_0x5c5167;this[_0x4d8aa4(0x29b)]-=0x1,this[_0x4d8aa4(0x1e4)][_0x4d8aa4(0x291)](this[_0x4d8aa4(0x29b)]);}};Rt=Wn([pt(0x0,_0x307146(_0x4f1e64)),pt(0x1,_0x4d0e1d),pt(0x2,_0x307146(_0x4e8bc9))],Rt);var zn=Object[_0x5c5167(0x2de)],Jn=(_0x34f928,_0x26ade9,_0x4bf63d,_0x3457c7)=>{var _0x3e8683=_0x5c5167;for(var _0x12989b=_0x3457c7>0x1?void 0x0:_0x3457c7?zn(_0x26ade9,_0x4bf63d):_0x26ade9,_0x20d6b8=_0x34f928[_0x3e8683(0x418)]-0x1,_0x2b260b;_0x20d6b8>=0x0;_0x20d6b8--)(_0x2b260b=_0x34f928[_0x20d6b8])&&(_0x12989b=_0x2b260b(_0x12989b)||_0x12989b);return _0x12989b;},ai=(_0x39b332,_0x310ab1)=>(_0x3602d6,_0x44e528)=>_0x310ab1(_0x3602d6,_0x44e528,_0x39b332);const Xn=_0x5c5167(0x380);let Ot=class{constructor(_0x406515,_0x902334){var _0x174ef7=_0x5c5167;this['_configService']=_0x406515,this[_0x174ef7(0x438)]=_0x902334;}['_getAPIPrefixPath'](){var _0x47cfea=_0x5c5167,_0x133f70;const _0x1e5505=this[_0x47cfea(0x27e)][_0x47cfea(0x1a4)](K);return(_0x133f70=_0x1e5505==null?void 0x0:_0x1e5505[_0x47cfea(0x47c)])!=null?_0x133f70:Xn;}async[_0x5c5167(0x26a)](_0x301be9){var _0x2f314d=_0x5c5167;const _0xf4948=this[_0x2f314d(0x3cf)]()+_0x2f314d(0x499);return{'list':[{'title':'People','mentions':(await this[_0x2f314d(0x438)][_0x2f314d(0x2d3)](_0xf4948,{'params':{'objectID':_0x301be9['unitId'],'unitID':_0x301be9['unitId']}}))[_0x2f314d(0x479)][_0x2f314d(0x1c5)]['map'](_0x17f88b=>({'objectId':_0x17f88b['id'],'name':_0x17f88b[_0x2f314d(0x33a)][_0x2f314d(0x246)],'metadata':{'icon':_0x17f88b['subject'][_0x2f314d(0x497)]},'label':_0x17f88b['subject']['name'],'objectType':_0x336a24[_0x2f314d(0x2e8)]})),'metadata':{},'type':_0x336a24[_0x2f314d(0x2e8)]}]};}};Ot=Jn([ai(0x0,_0x307146(_0x4d0e1d)),ai(0x1,_0x307146(_0x4f1e64))],Ot);var Zn=Object[_0x5c5167(0x2de)],Qn=(_0x3b16e1,_0x4c493f,_0x4fdab7,_0x2a6229)=>{var _0x50f0ad=_0x5c5167;for(var _0x547e61=_0x2a6229>0x1?void 0x0:_0x2a6229?Zn(_0x4c493f,_0x4fdab7):_0x4c493f,_0x7a2fe=_0x3b16e1[_0x50f0ad(0x418)]-0x1,_0xf138b;_0x7a2fe>=0x0;_0x7a2fe--)(_0xf138b=_0x3b16e1[_0x7a2fe])&&(_0x547e61=_0xf138b(_0x547e61)||_0x547e61);return _0x547e61;},Ue=(_0x438ea0,_0x4a0843)=>(_0x4846f1,_0x3da2b9)=>_0x4a0843(_0x4846f1,_0x3da2b9,_0x438ea0);let ot=class extends _0x2049da{constructor(_0x3228ed,_0x5f5b98,_0x30bcaf,_0x2336c6,_0x100557){var _0x4416a1=_0x5c5167;super(),this[_0x4416a1(0x48d)]=_0x3228ed,this[_0x4416a1(0x472)]=_0x5f5b98,this[_0x4416a1(0x449)]=_0x30bcaf,this['_collaborationSessionService']=_0x2336c6,this[_0x4416a1(0x47b)]=_0x100557,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x31224e=_0x5c5167;const _0x4bcd33=async _0x95d6ad=>{var _0x2fc277=_0xb5db;(await this[_0x2fc277(0x331)]['requireSession'](_0x95d6ad))['event$'][_0x2fc277(0x3a6)](_0x10a3bd(_0x260113=>_0x260113['eventID']===_0x49bb1d[_0x2fc277(0x369)]),_0x4a63bb(this[_0x2fc277(0x417)]))[_0x2fc277(0x378)](_0x24001a=>{var _0xf213ed=_0x2fc277;const _0x2e1e99=_0x24001a,{reason:_0x1cf43e}=_0x2e1e99[_0xf213ed(0x41c)];this[_0xf213ed(0x47b)][_0xf213ed(0x3b4)]({'id':ne[_0xf213ed(0x364)],'data':_0x1cf43e}),this[_0xf213ed(0x449)]['updatePermissionPoint'](new _0x5996a1(_0x95d6ad)['id'],!0x1),this[_0xf213ed(0x331)][_0xf213ed(0x270)](_0x95d6ad);});};_0x3eede2(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x33d220['UNIVER_SHEET']),this[_0x31224e(0x472)][_0x31224e(0x29a)](_0x33d220['UNIVER_DOC']))[_0x31224e(0x3a6)](_0x4aa1f9(_0x1ba70b=>_0x1ba70b['getUnitId']()),_0x10a3bd(_0x37cfda=>!_0x850165(_0x37cfda)),_0x4a63bb(this[_0x31224e(0x417)]))['subscribe'](_0x1d2ab4=>{_0x4bcd33(_0x1d2ab4);});}[_0x5c5167(0x410)](){var _0xc87738=_0x5c5167;const _0x1005d9=async _0x5791a0=>{var _0x1feda7=_0xb5db;const _0x5c6b28=await this[_0x1feda7(0x331)][_0x1feda7(0x423)](_0x5791a0),_0x277faa=this[_0x1feda7(0x48d)][_0x1feda7(0x2d3)](_0x37ee35);_0x5c6b28[_0x1feda7(0x452)][_0x1feda7(0x3a6)](_0x10a3bd(_0x350e9c=>_0x350e9c[_0x1feda7(0x245)]===_0x49bb1d['UPDATE_PERMISSION_OBJ']),_0x4a63bb(this[_0x1feda7(0x417)]))['subscribe'](_0x3bd0b5=>{var _0x59b910=_0x1feda7;const _0x446cd8=_0x3bd0b5,{objectId:_0x327a72}=_0x446cd8['data'];_0x327a72===_0x5791a0?_0x277faa[_0x59b910(0x43d)](_0x5791a0):_0x277faa[_0x59b910(0x1b9)](_0x5791a0,_0x327a72);});};_0x3eede2(this[_0xc87738(0x472)][_0xc87738(0x29a)](_0x33d220[_0xc87738(0x232)]))[_0xc87738(0x3a6)](_0x4aa1f9(_0x158e73=>_0x158e73['getUnitId']()),_0x10a3bd(_0x2dec9d=>!_0x850165(_0x2dec9d)),_0x4a63bb(this[_0xc87738(0x417)]))[_0xc87738(0x378)](_0x12851f=>{_0x1005d9(_0x12851f);});}};ot=Qn([Ue(0x0,_0x307146(_0x4b4f54)),Ue(0x1,_0x4e8bc9),Ue(0x2,_0xeeb0ba),Ue(0x3,_0x307146(Pe)),Ue(0x4,_0x307146(ve))],ot);var er=Object[_0x5c5167(0x2de)],tr=(_0xbb5c7d,_0x33b263,_0x3649f5,_0x57f7b1)=>{var _0x17b07d=_0x5c5167;for(var _0x561f21=_0x57f7b1>0x1?void 0x0:_0x57f7b1?er(_0x33b263,_0x3649f5):_0x33b263,_0x3b0fd2=_0xbb5c7d[_0x17b07d(0x418)]-0x1,_0x29b28a;_0x3b0fd2>=0x0;_0x3b0fd2--)(_0x29b28a=_0xbb5c7d[_0x3b0fd2])&&(_0x561f21=_0x29b28a(_0x561f21)||_0x561f21);return _0x561f21;},oi=(_0x2bcc90,_0x15bc5d)=>(_0x4b1c1e,_0x464fb2)=>_0x15bc5d(_0x4b1c1e,_0x464fb2,_0x2bcc90);let bt=class{constructor(_0x48b755,_0xaddcb8){var _0x13e9bc=_0x5c5167;this[_0x13e9bc(0x27e)]=_0x48b755,this[_0x13e9bc(0x231)]=_0xaddcb8;}async[_0x5c5167(0x3eb)](_0x5b6f23,_0x1d2b48){var _0x41265e=_0x5c5167,_0x235a6e;const {unitID:_0x3757b4,type:_0x3fdae7,revision:_0x493077=0x0}=_0x1d2b48,_0x2f43e3=this[_0x41265e(0x290)]()+'/'+_0x3fdae7+_0x41265e(0x275)+_0x3757b4+_0x41265e(0x2d8)+_0x493077,_0x41aa86=(await this['_httpService'][_0x41265e(0x2d3)](_0x2f43e3))['body'],_0x4a1ac4=(_0x235a6e=_0x41aa86[_0x41265e(0x3a4)])==null?void 0x0:_0x235a6e['workbook'];if(_0x4a1ac4){const _0x2ca869=_0x4a1ac4==null?void 0x0:_0x4a1ac4[_0x41265e(0x46f)],_0x5c02ba=_0x36d89b[_0x41265e(0x390)](_0x38e176(_0x2ca869));_0x4a1ac4['originalMeta']=_0x5c02ba,Object['entries'](_0x4a1ac4['sheets'])[_0x41265e(0x357)](([,_0x1fef87])=>{var _0x42c0d1=_0x41265e;const _0x95aa93=_0x1fef87[_0x42c0d1(0x46f)],_0x3852f7=_0x36d89b['encode'](_0x38e176(_0x95aa93));_0x1fef87[_0x42c0d1(0x46f)]=_0x3852f7;});}return _0x41aa86;}async[_0x5c5167(0x279)](_0x18ac0e,_0xeefeb1){var _0x502d00=_0x5c5167;const {unitID:_0x5e3961,type:_0x3b4b80,blockID:_0x49fb27}=_0xeefeb1,_0x378b7b=this[_0x502d00(0x37c)]()+'/'+_0x3b4b80+'/unit/'+_0x5e3961+_0x502d00(0x26e)+_0x49fb27;return(await this[_0x502d00(0x231)][_0x502d00(0x2d3)](_0x378b7b))[_0x502d00(0x479)];}async[_0x5c5167(0x23d)](_0x3da891,_0x3418c0){var _0x3cd2a4=_0x5c5167;const {unitID:_0x3c6991,type:_0x278846,blockID:_0x3b4474}=_0x3418c0,_0x5ecdcc=this[_0x3cd2a4(0x37c)]()+_0x3cd2a4(0x26e)+_0x278846+_0x3cd2a4(0x275)+_0x3c6991+_0x3cd2a4(0x26e)+_0x3b4474;return(await this[_0x3cd2a4(0x231)][_0x3cd2a4(0x2d3)](_0x5ecdcc))[_0x3cd2a4(0x479)];}async['fetchMissingChangesets'](_0x1ae440,_0xc96815){var _0x1c9cef=_0x5c5167;const {unitID:_0x5dc2ee,type:_0x21551a,from:_0x14b20a,to:_0x435ea2}=_0xc96815,_0x20ff4a=this[_0x1c9cef(0x37c)]()+'/'+_0x21551a+'/unit/'+_0x5dc2ee+_0x1c9cef(0x1f6)+_0x14b20a+'&to='+_0x435ea2;return(await this[_0x1c9cef(0x231)][_0x1c9cef(0x2d3)](_0x20ff4a))[_0x1c9cef(0x479)];}[_0x5c5167(0x290)](){var _0x5cb402=_0x5c5167,_0x1ed46e;return(_0x1ed46e=this[_0x5cb402(0x27e)][_0x5cb402(0x1a4)](vs))!=null?_0x1ed46e:this[_0x5cb402(0x37c)]();}[_0x5c5167(0x37c)](){var _0x4dd9ea=_0x5c5167,_0x1b57ea;const _0x5d4a35=this[_0x4dd9ea(0x27e)][_0x4dd9ea(0x1a4)](K);return(_0x1b57ea=_0x5d4a35==null?void 0x0:_0x5d4a35[_0x4dd9ea(0x358)])!=null?_0x1b57ea:fs;}async[_0x5c5167(0x222)](_0x1a901e,_0x4c2742){var _0x46d99c=_0x5c5167;const _0x135d97=_0x46d99c(0x3ab)+_0x4c2742[_0x46d99c(0x465)]+_0x46d99c(0x275)+_0x4c2742[_0x46d99c(0x20e)]+_0x46d99c(0x383);return(await this[_0x46d99c(0x231)][_0x46d99c(0x2d3)](_0x135d97,{'params':{'resourceId':JSON[_0x46d99c(0x2ad)](_0x4c2742['resourceIDs'])}}))[_0x46d99c(0x479)];}[_0x5c5167(0x3bc)](){var _0x5a3708=_0x5c5167;throw new Error(_0x5a3708(0x353));}[_0x5c5167(0x293)](){var _0x1bf572=_0x5c5167;throw new Error(_0x1bf572(0x353));}[_0x5c5167(0x3ca)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c5167(0x1cb)](){var _0x2422ed=_0x5c5167;throw new Error(_0x2422ed(0x353));}[_0x5c5167(0x343)](){var _0x3f0925=_0x5c5167;throw new Error(_0x3f0925(0x353));}['getLatestCsReqIdBySid'](){var _0x48e787=_0x5c5167;throw new Error(_0x48e787(0x353));}};bt=tr([oi(0x0,_0x4d0e1d),oi(0x1,_0x307146(_0x4f1e64))],bt);var ir=Object[_0x5c5167(0x2de)],sr=(_0x47ad09,_0x1737f3,_0x42ddaf,_0xbf2851)=>{var _0x43dac5=_0x5c5167;for(var _0x414d96=_0xbf2851>0x1?void 0x0:_0xbf2851?ir(_0x1737f3,_0x42ddaf):_0x1737f3,_0x313d86=_0x47ad09[_0x43dac5(0x418)]-0x1,_0x2f1e65;_0x313d86>=0x0;_0x313d86--)(_0x2f1e65=_0x47ad09[_0x313d86])&&(_0x414d96=_0x2f1e65(_0x414d96)||_0x414d96);return _0x414d96;},Ae=(_0x1c9d67,_0x1a163f)=>(_0x1453bf,_0x380073)=>_0x1a163f(_0x1453bf,_0x380073,_0x1c9d67);function _0xb5db(_0x2bcf76,_0x4e36e3){var _0x1b1a99=_0x1b1a();return _0xb5db=function(_0xb5db9a,_0x3842af){_0xb5db9a=_0xb5db9a-0x19b;var _0x54cac8=_0x1b1a99[_0xb5db9a];return _0x54cac8;},_0xb5db(_0x2bcf76,_0x4e36e3);}let yt=class extends _0x500ac5{constructor(_0x186406,_0xe95090,_0xae676c,_0x4e0bd0,_0x46b501){var _0x244efd=_0x5c5167;super(_0x186406,_0xe95090,_0xae676c),this['_transformService']=_0x4e0bd0,this[_0x244efd(0x1e0)]=_0x46b501;}[_0x5c5167(0x388)](_0x26ae67,_0x27628a){var _0x5aff63=_0x5c5167;const _0xd08e04=this[_0x5aff63(0x435)](_0x26ae67);if(_0xd08e04)try{const _0x13c182=this[_0x5aff63(0x34c)](_0xd08e04,_0x27628a);this[_0x5aff63(0x29d)](_0x26ae67,_0x13c182);}catch(_0x2acd2f){this[_0x5aff63(0x1e0)]['error'](_0x5aff63(0x40f),_0x2acd2f),this[_0x5aff63(0x44d)](_0x26ae67);}const _0x3d64a9=this['_getRedoStack'](_0x26ae67);if(_0x3d64a9)try{const _0x233a5e=this[_0x5aff63(0x34c)](_0x3d64a9,_0x27628a);this[_0x5aff63(0x1d6)](_0x26ae67,_0x233a5e);}catch(_0x5a9dd2){this['_logService']['error'](_0x5a9dd2),this['_clearRedo'](_0x26ae67);}}[_0x5c5167(0x44d)](_0x222072){var _0x43bd67=_0x5c5167;const _0x4a0456=this[_0x43bd67(0x435)](_0x222072);_0x4a0456&&(_0x4a0456[_0x43bd67(0x418)]=0x0,this[_0x43bd67(0x3c5)]());}[_0x5c5167(0x412)](_0x5321f2){var _0x4a38f4=_0x5c5167;const _0x2c8937=this['_getRedoStack'](_0x5321f2);_0x2c8937&&(_0x2c8937[_0x4a38f4(0x418)]=0x0,this[_0x4a38f4(0x3c5)]());}[_0x5c5167(0x29d)](_0x523b69,_0x2d73cc){var _0x395934=_0x5c5167;this[_0x395934(0x371)]['set'](_0x523b69,_0x2d73cc),this[_0x395934(0x3c5)]();}[_0x5c5167(0x1d6)](_0x4636a4,_0x4c65c0){var _0x45c303=_0x5c5167;this['_redoStacks'][_0x45c303(0x444)](_0x4636a4,_0x4c65c0),this[_0x45c303(0x3c5)]();}[_0x5c5167(0x34c)](_0x3540a5,_0x5e2e74){var _0x8d2429=_0x5c5167;const _0x5e9b99=[];let _0xdc6f88=_0x5e2e74,_0x1162cc=_0x5e2e74;for(let _0x4c7e08=_0x3540a5['length']-0x1;_0x4c7e08>=0x0;_0x4c7e08--){const {unitID:_0x1a9b3f,undoMutations:_0x371768,redoMutations:_0x20841e}=_0x3540a5[_0x4c7e08],_0x4e260f=this[_0x8d2429(0x2a0)]['transformMutationsWithChangeset'](_0xdc6f88,_0x371768),_0x468b5e=this[_0x8d2429(0x2a0)][_0x8d2429(0x3d8)](_0x1162cc,_0x20841e);if(_0x1cfc54(_0x4e260f)||_0x1cfc54(_0x468b5e)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x8d2429(0x1ea),_0x4e260f,_0x468b5e);break;}_0xdc6f88=_0x4e260f[_0x8d2429(0x26c)],_0x1162cc=_0x468b5e['c1Prime'],_0x5e9b99[_0x8d2429(0x1e1)]({'unitID':_0x1a9b3f,'undoMutations':_0x4e260f[_0x8d2429(0x287)],'redoMutations':_0x468b5e['m2Prime']});}return _0x5e9b99[_0x8d2429(0x49c)]();}};yt=sr([Ae(0x0,_0x4e8bc9),Ae(0x1,_0x326877),Ae(0x2,_0x4a1dd4),Ae(0x3,_0x5d37ab),Ae(0x4,_0x3eb14a)],yt);var nr=Object[_0x5c5167(0x3a7)],rr=Object[_0x5c5167(0x2de)],ar=(_0x2a4821,_0x11541a,_0xa34303)=>_0x11541a in _0x2a4821?nr(_0x2a4821,_0x11541a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa34303}):_0x2a4821[_0x11541a]=_0xa34303,or=(_0xbcae94,_0x4949a1,_0x1d7423,_0x6d1563)=>{var _0x4de6f0=_0x5c5167;for(var _0x3c98a6=_0x6d1563>0x1?void 0x0:_0x6d1563?rr(_0x4949a1,_0x1d7423):_0x4949a1,_0x91bb3a=_0xbcae94[_0x4de6f0(0x418)]-0x1,_0x17036b;_0x91bb3a>=0x0;_0x91bb3a--)(_0x17036b=_0xbcae94[_0x91bb3a])&&(_0x3c98a6=_0x17036b(_0x3c98a6)||_0x3c98a6);return _0x3c98a6;},mt=(_0x55820d,_0x266d44)=>(_0x2a98ce,_0x401249)=>_0x266d44(_0x2a98ce,_0x401249,_0x55820d),cr=(_0x3a8c3f,_0x56462b,_0x234ace)=>ar(_0x3a8c3f,_0x56462b+'',_0x234ace);const hr=_0x5c5167(0x327);let Nt=class extends _0x10914a{constructor(_0x1dbbd7,_0x3ba6a8,_0x33fb8d,_0x432761){var _0x499394=_0x5c5167;super(),N(this,_0x499394(0x309)),(this['_logService']=_0x3ba6a8,this[_0x499394(0x48d)]=_0x33fb8d,this['_configService']=_0x432761);const {..._0x44d6f0}=_0x143d2f({},Os,_0x1dbbd7);if(!_0x44d6f0[_0x499394(0x402)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x44d6f0,this[_0x499394(0x27e)][_0x499394(0x3f4)](K,_0x44d6f0);}[_0x5c5167(0x286)](){var _0x8e99ce=_0x5c5167;this[_0x8e99ce(0x2c2)](),this['_initDependencies']();}[_0x5c5167(0x2c2)](){var _0x9ba224=_0x5c5167,_0x1fe8f1,_0x57a0c3;this[_0x9ba224(0x48d)][_0x9ba224(0x1f7)](_0x202bc0)&&this[_0x9ba224(0x1e0)]['error'](_0x9ba224(0x22c),_0x9ba224(0x429));const _0x286c49=_0x5df389([[_0x202bc0,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[gi],[ot],[ve],[Ct],[mi,{'useClass':this[_0x9ba224(0x309)][_0x9ba224(0x402)]}],[_0x6f2ce2,{'useClass':bt}],[_0x35e7f9,{'useClass':Tt}],[_0xa1ae90,{'useClass':Rt}],[_0x2bf655,{'useClass':Ot}],[nt],[It]],(_0x1fe8f1=this[_0x9ba224(0x309)])==null?void 0x0:_0x1fe8f1['override']);if(!((_0x57a0c3=this['_config'])!=null&&_0x57a0c3[_0x9ba224(0x225)])){const _0x29203c=_0x286c49[_0x9ba224(0x2c5)](([_0x5a23d0])=>_0x5a23d0===ht);_0x29203c!==-0x1&&_0x286c49[_0x9ba224(0x431)](_0x29203c,0x1);}_0x5bdf6c(this[_0x9ba224(0x48d)],_0x286c49);}[_0x5c5167(0x2ba)](){var _0x5a05d5=_0x5c5167,_0x4f344b,_0x3ae4a4,_0x3dc28a;this['_injector'][_0x5a05d5(0x2d3)](_0x4f1e64)[_0x5a05d5(0x471)]({'priority':0x14,'interceptor':_0x399e94({'maxParallel':0x6})}),(_0x4f344b=this['_config'])!=null&&_0x4f344b[_0x5a05d5(0x26f)]||(_0x3ae4a4=this[_0x5a05d5(0x48d)][_0x5a05d5(0x2d3)](J,_0x3cd0a0[_0x5a05d5(0x2d6)]))==null||_0x3ae4a4[_0x5a05d5(0x21f)](),(_0x3dc28a=this[_0x5a05d5(0x309)])!=null&&_0x3dc28a[_0x5a05d5(0x446)]&&_0x260f3b(this['_injector'],[[rt]]),_0x260f3b(this[_0x5a05d5(0x48d)],[[at],[nt],[ot]]);}};cr(Nt,_0x5c5167(0x3e6),hr),Nt=or([_0x22b3c8(_0x3739e9,_0xa0e625),mt(0x1,_0x3eb14a),mt(0x2,_0x307146(_0x4b4f54)),mt(0x3,_0x4d0e1d)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Ft as CollaborationSocketService,Ii as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,gi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,mi as ICollaborationSocketService,J as ILocalCacheService,bs as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Si as UnitStatus,Nt as UniverCollaborationClientPlugin,ys as deserializeToCombResponse,br as getLocalCacheKey,Ns as serializeCombRequest};