@univerjs-pro/collaboration-client 0.12.3-experimental.20251205-8c9a6bf → 0.12.3-nightly.202512060617

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +9 -9
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x16b230=_0x302e;(function(_0x214f59,_0x3861fe){var _0x26f4d4=_0x302e,_0x155435=_0x214f59();while(!![]){try{var _0x2273a2=-parseInt(_0x26f4d4(0x36a))/0x1+-parseInt(_0x26f4d4(0x14d))/0x2+parseInt(_0x26f4d4(0x1a2))/0x3+-parseInt(_0x26f4d4(0x1bf))/0x4+-parseInt(_0x26f4d4(0x452))/0x5*(-parseInt(_0x26f4d4(0x153))/0x6)+parseInt(_0x26f4d4(0x36e))/0x7+parseInt(_0x26f4d4(0x31a))/0x8*(parseInt(_0x26f4d4(0x27a))/0x9);if(_0x2273a2===_0x3861fe)break;else _0x155435['push'](_0x155435['shift']());}catch(_0x1af92b){_0x155435['push'](_0x155435['shift']());}}}(_0x1c0a,0xc8273));var bi=Object[_0x16b230(0x3f6)],Di=(_0x41889a,_0x430300,_0x5f53d7)=>_0x430300 in _0x41889a?bi(_0x41889a,_0x430300,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f53d7}):_0x41889a[_0x430300]=_0x5f53d7,D=(_0x20400e,_0x17d76d,_0xdab26f)=>Di(_0x20400e,typeof _0x17d76d!=_0x16b230(0x319)?_0x17d76d+'':_0x17d76d,_0xdab26f);import{CollaborationEvent as _0xdbc4ab,ITransformService as _0x46e45e,isTransformMutationsWithChangesetSuccess as _0x1613bb,mapDocumentTypeToUniverType as _0x52e2ad,RevisionService as _0x2b4807,isTransformChangesetsSuccess as _0x28f09a,EmptyMutationInfo as _0x380341,CompressMutationService as _0x541cee,parseProtocolChangeset as _0x2cec89,uuidv4 as _0x3ec532,ISnapshotServerService as _0x558832,parseChangesetToProtocol as _0x55fcc4,SnapshotService as _0x49b3d8,textEncoder as _0x449aa7,b64DecodeUnicode as _0x3459da,isTransformMutationsWithChangesetFailure as _0x3e0e66,UniverCollaborationPlugin as _0x17e79b}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xcc4d1e,Inject as _0x51e09b,UserManagerService as _0x595620,Disposable as _0x4c5799,UniverInstanceType as _0x5afe7c,ILogService as _0x59ebdd,IConfigService as _0x50e1f2,Optional as _0x400c2e,RxDisposable as _0x5e99c8,createIdentifier as _0x4ba64a,Injector as _0x43171c,Tools as _0x578449,Rectangle as _0x4b58bb,ICommandService as _0x15a362,JSONX as _0x5789e9,IUndoRedoService as _0x1b28a9,IPermissionService as _0x481a75,LocaleService as _0x34838d,sequenceExecute as _0x208389,toDisposable as _0x33ec8b,CommandType as _0x5b748a,DisposableCollection as _0x21d520,Workbook as _0x337aae,generateRandomId as _0x55ec67,MentionType as _0x95429b,isInternalEditorID as _0x1f2a9f,LocalUndoRedoService as _0x265544,IContextService as _0x534f9c,DependentOn as _0xa9d05e,Plugin as _0x4d9aea,merge as _0x57ec4a,mergeOverrideWithDependencies as _0x56d6d7,IAuthzIoService as _0x15b282,IMentionIOService as _0x1d40cb,registerDependencies as _0x50f353,Quantity as _0xe7793f,touchDependencies as _0x599778}from'@univerjs/core';import{RichTextEditingMutation as _0x44e778}from'@univerjs/docs';import{SheetsSelectionsService as _0x2590f8,SetSelectionsOperation as _0x2659ea,InsertSheetMutation as _0x4773cb,WorkbookEditablePermission as _0xa1b7c4,SheetPermissionInitController as _0x3eb81e}from'@univerjs/sheets';import{Subject as _0x492b16,merge as _0x18ac2d,of as _0x5bafa1,BehaviorSubject as _0x3906b7,takeUntil as _0x4a7293,ReplaySubject as _0x49aa02,take as _0x22b23,map as _0x33a4de,shareReplay as _0x50467e,firstValueFrom as _0x33c3a5,concatMap as _0x5c4aad}from'rxjs';import{ITelemetryService as _0x1fd630}from'@univerjs/telemetry';import{map as _0x4fd3ae,take as _0x380f44,filter as _0x4b54a1,delay as _0x30d443,takeUntil as _0x4d9c8e}from'rxjs/operators';import{HTTPService as _0x1be1ef,ISocketService as _0x1677dd,MergeInterceptorFactory as _0x5292f6,HTTPRequest as _0x496c3b,UniverNetworkPlugin as _0x1da82c,ThresholdInterceptorFactory as _0x2fd381}from'@univerjs/network';import{ImageSourceType as _0x5c584a,ImageUploadStatusType as _0x7ef80c,IImageIoService as _0x21d8ac}from'@univerjs/drawing';import{getGlobalObject as _0x42345e}from'@univerjs-pro/license';const fs=_0x16b230(0x38c),vs=_0x16b230(0x2a1),Es=0x7d0,ps=_0x16b230(0x3de),gr=_0x16b230(0x377),Is=_0x16b230(0x3e8),ms=0x7530,di=_0x16b230(0x147),fi=0x4e20,Ss=0x4e20,gs='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x16b230(0x393),Or=0x3e8,Os=_0x16b230(0x162),Rs=_0x16b230(0x1bc),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Nr=_0x16b230(0x44b);var vi=(_0x26f4d1=>(_0x26f4d1[_0x26f4d1[_0x16b230(0x18a)]=0x0]=_0x16b230(0x18a),_0x26f4d1[_0x26f4d1['OK']=0x1]='OK',_0x26f4d1[_0x26f4d1['INTERNAL_ERROR']=0x2]=_0x16b230(0x3cb),_0x26f4d1[_0x26f4d1['PERMISSION_DENIED']=0x3]=_0x16b230(0x351),_0x26f4d1[_0x26f4d1[_0x16b230(0x3b7)]=0x4]=_0x16b230(0x3b7),_0x26f4d1[_0x26f4d1[_0x16b230(0x3b0)]=0x5]=_0x16b230(0x3b0),_0x26f4d1[_0x26f4d1[_0x16b230(0x2f8)]=0x6]=_0x16b230(0x2f8),_0x26f4d1[_0x26f4d1[_0x16b230(0x26a)]=0x7]=_0x16b230(0x26a),_0x26f4d1[_0x26f4d1['TOO_MANY_REQUESTS']=0x8]=_0x16b230(0x41f),_0x26f4d1[_0x26f4d1['COMPLETION_FINISHED']=0x9]=_0x16b230(0x2c7),_0x26f4d1[_0x26f4d1[_0x16b230(0x150)]=0xa]=_0x16b230(0x150),_0x26f4d1[_0x26f4d1[_0x16b230(0x32f)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x26f4d1[_0x26f4d1['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x16b230(0x193),_0x26f4d1[_0x26f4d1['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x16b230(0x3e2),_0x26f4d1[_0x26f4d1[_0x16b230(0x16c)]=0xe]=_0x16b230(0x16c),_0x26f4d1[_0x26f4d1[_0x16b230(0x3d8)]=0xf]=_0x16b230(0x3d8),_0x26f4d1[_0x26f4d1[_0x16b230(0x3e9)]=0x10]=_0x16b230(0x3e9),_0x26f4d1[_0x26f4d1[_0x16b230(0x1d5)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x26f4d1[_0x26f4d1[_0x16b230(0x1c0)]=0x65]=_0x16b230(0x1c0),_0x26f4d1[_0x26f4d1['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x26f4d1[_0x26f4d1[_0x16b230(0x2ac)]=0xca]='USER_IS_ANONYMOUS',_0x26f4d1[_0x26f4d1[_0x16b230(0x272)]=0x1389]=_0x16b230(0x272),_0x26f4d1[_0x26f4d1[_0x16b230(0x341)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x26f4d1[_0x26f4d1[_0x16b230(0x464)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x26f4d1[_0x26f4d1[_0x16b230(0x191)]=0x1773]=_0x16b230(0x191),_0x26f4d1[_0x26f4d1['APPLY_REJECT']=0x1b59]=_0x16b230(0x154),_0x26f4d1[_0x26f4d1[_0x16b230(0x3c2)]=0x1b5a]=_0x16b230(0x3c2),_0x26f4d1[_0x26f4d1[_0x16b230(0x374)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x26f4d1[_0x26f4d1[_0x16b230(0x1cd)]=0x1b5c]=_0x16b230(0x1cd),_0x26f4d1[_0x26f4d1[_0x16b230(0x46c)]=0x1b5d]=_0x16b230(0x46c),_0x26f4d1[_0x26f4d1['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x16b230(0x3ce),_0x26f4d1[_0x26f4d1[_0x16b230(0x1c4)]=0x2329]=_0x16b230(0x1c4),_0x26f4d1[_0x26f4d1[_0x16b230(0x15e)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x26f4d1[_0x26f4d1[_0x16b230(0x3e1)]=0x232b]=_0x16b230(0x3e1),_0x26f4d1[_0x26f4d1[_0x16b230(0x171)]=0x232c]=_0x16b230(0x171),_0x26f4d1[_0x26f4d1[_0x16b230(0x42c)]=0x232d]=_0x16b230(0x42c),_0x26f4d1[_0x26f4d1[_0x16b230(0x399)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x26f4d1[_0x26f4d1[_0x16b230(0x313)]=0x2712]=_0x16b230(0x313),_0x26f4d1[_0x26f4d1[_0x16b230(0x437)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x26f4d1[_0x26f4d1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x26f4d1[_0x26f4d1[_0x16b230(0x46b)]=0x271a]=_0x16b230(0x46b),_0x26f4d1[_0x26f4d1[_0x16b230(0x146)]=0x271b]=_0x16b230(0x146),_0x26f4d1[_0x26f4d1[_0x16b230(0x1b7)]=0x271c]=_0x16b230(0x1b7),_0x26f4d1[_0x26f4d1[_0x16b230(0x1ec)]=0x271d]=_0x16b230(0x1ec),_0x26f4d1[_0x26f4d1[_0x16b230(0x245)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x26f4d1[_0x26f4d1[_0x16b230(0x41e)]=0x271f]=_0x16b230(0x41e),_0x26f4d1[_0x26f4d1[_0x16b230(0x2e5)]=0x2720]=_0x16b230(0x2e5),_0x26f4d1[_0x26f4d1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x16b230(0x3ca),_0x26f4d1[_0x26f4d1[_0x16b230(0x1ce)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x26f4d1[_0x26f4d1[_0x16b230(0x46f)]=0x2ee2]=_0x16b230(0x46f),_0x26f4d1[_0x26f4d1[_0x16b230(0x30d)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x26f4d1[_0x26f4d1[_0x16b230(0x188)]=0x2ee4]=_0x16b230(0x188),_0x26f4d1[_0x26f4d1['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x16b230(0x3b4),_0x26f4d1[_0x26f4d1[_0x16b230(0x2dc)]=0x32c9]=_0x16b230(0x2dc),_0x26f4d1[_0x26f4d1['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x26f4d1[_0x26f4d1[_0x16b230(0x359)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x26f4d1[_0x26f4d1[_0x16b230(0x2d0)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x26f4d1[_0x26f4d1['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x26f4d1[_0x26f4d1[_0x16b230(0x2a9)]=0x36b3]=_0x16b230(0x2a9),_0x26f4d1[_0x26f4d1[_0x16b230(0x182)]=0x36b4]=_0x16b230(0x182),_0x26f4d1[_0x26f4d1[_0x16b230(0x446)]=0x36b5]=_0x16b230(0x446),_0x26f4d1[_0x26f4d1[_0x16b230(0x1ff)]=0x36b6]=_0x16b230(0x1ff),_0x26f4d1[_0x26f4d1[_0x16b230(0x186)]=0x36b7]=_0x16b230(0x186),_0x26f4d1[_0x26f4d1['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x16b230(0x40b),_0x26f4d1[_0x26f4d1[_0x16b230(0x41d)]=0x3715]=_0x16b230(0x41d),_0x26f4d1[_0x26f4d1[_0x16b230(0x34e)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x26f4d1[_0x26f4d1[_0x16b230(0x236)]=0x3717]=_0x16b230(0x236),_0x26f4d1[_0x26f4d1[_0x16b230(0x39c)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x26f4d1[_0x26f4d1['REDEMPTION_INVALID_CODE']=0x3a99]=_0x16b230(0x216),_0x26f4d1[_0x26f4d1[_0x16b230(0x219)]=0x3a9a]=_0x16b230(0x219),_0x26f4d1[_0x26f4d1['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x16b230(0x311),_0x26f4d1[_0x26f4d1[_0x16b230(0x26b)]=0x3a9c]=_0x16b230(0x26b),_0x26f4d1[_0x26f4d1[_0x16b230(0x432)]=0x3a9d]=_0x16b230(0x432),_0x26f4d1[_0x26f4d1[_0x16b230(0x2ca)]=0x3a9e]=_0x16b230(0x2ca),_0x26f4d1[_0x26f4d1['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x16b230(0x15b),_0x26f4d1[_0x26f4d1[_0x16b230(0x459)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x26f4d1[_0x26f4d1[_0x16b230(0x2aa)]=-0x1]=_0x16b230(0x2aa),_0x26f4d1))(vi||{}),Q=(_0x3c685e=>(_0x3c685e[_0x3c685e['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x3c685e[_0x3c685e[_0x16b230(0x411)]=0x1]='UNIVER_DOC',_0x3c685e[_0x3c685e[_0x16b230(0x1c1)]=0x2]=_0x16b230(0x1c1),_0x3c685e[_0x3c685e[_0x16b230(0x1d4)]=0x3]=_0x16b230(0x1d4),_0x3c685e[_0x3c685e[_0x16b230(0x244)]=0x4]=_0x16b230(0x244),_0x3c685e[_0x3c685e[_0x16b230(0x2aa)]=-0x1]=_0x16b230(0x2aa),_0x3c685e))(Q||{}),j=(_0x277d29=>(_0x277d29[_0x277d29[_0x16b230(0x29c)]=0x0]=_0x16b230(0x29c),_0x277d29[_0x277d29[_0x16b230(0x2f9)]=0x1]=_0x16b230(0x2f9),_0x277d29[_0x277d29['JOIN']=0x2]=_0x16b230(0x3dc),_0x277d29[_0x277d29[_0x16b230(0x177)]=0x3]=_0x16b230(0x177),_0x277d29[_0x277d29[_0x16b230(0x254)]=0x4]=_0x16b230(0x254),_0x277d29[_0x277d29[_0x16b230(0x23d)]=0x5]=_0x16b230(0x23d),_0x277d29[_0x277d29['RECV']=0x6]=_0x16b230(0x418),_0x277d29[_0x277d29[_0x16b230(0x2aa)]=-0x1]=_0x16b230(0x2aa),_0x277d29))(j||{}),Ee=(_0x48badf=>(_0x48badf[_0x48badf['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x48badf[_0x48badf['OK']=0x1]='OK',_0x48badf[_0x48badf[_0x16b230(0x40a)]=0x2]='FAIL',_0x48badf[_0x48badf[_0x16b230(0x30f)]=0x3e9]=_0x16b230(0x30f),_0x48badf[_0x48badf[_0x16b230(0x391)]=0x3ea]=_0x16b230(0x391),_0x48badf[_0x48badf[_0x16b230(0x3e7)]=0x3eb]=_0x16b230(0x3e7),_0x48badf[_0x48badf[_0x16b230(0x3ee)]=0x3ec]=_0x16b230(0x3ee),_0x48badf[_0x48badf[_0x16b230(0x2aa)]=-0x1]=_0x16b230(0x2aa),_0x48badf))(Ee||{}),Ei=(_0x249e24=>(_0x249e24[_0x249e24[_0x16b230(0x3a5)]=0x0]=_0x16b230(0x3a5),_0x249e24[_0x249e24[_0x16b230(0x456)]=0x1]=_0x16b230(0x456),_0x249e24[_0x249e24['HttpExport']=0x2]=_0x16b230(0x360),_0x249e24[_0x249e24[_0x16b230(0x2dd)]=0x3]=_0x16b230(0x2dd),_0x249e24[_0x249e24['UnitSnapshot']=0x4]=_0x16b230(0x1f2),_0x249e24[_0x249e24[_0x16b230(0x2fe)]=0x5]=_0x16b230(0x2fe),_0x249e24[_0x249e24[_0x16b230(0x3fd)]=0x6]='ClipsheetFragments',_0x249e24[_0x249e24[_0x16b230(0x2aa)]=-0x1]=_0x16b230(0x2aa),_0x249e24))(Ei||{});const Ns=_0x16b230(0x322);function Cs(_0x1f181f){var _0xc2b6=_0x16b230;return JSON[_0xc2b6(0x37d)](_0x1f181f)[_0xc2b6(0x42a)];}var re=(_0x1f13a1=>(_0x1f13a1[_0x16b230(0x241)]=_0x16b230(0x241),_0x1f13a1['PERMISSION_DENIED']='PERMISSION_DENIED',_0x1f13a1[_0x16b230(0x1a3)]=_0x16b230(0x1a3),_0x1f13a1[_0x16b230(0x273)]=_0x16b230(0x273),_0x1f13a1[_0x16b230(0x380)]='JOIN_ROOM_FAILED',_0x1f13a1[_0x16b230(0x21b)]=_0x16b230(0x21b),_0x1f13a1[_0x16b230(0x3a2)]=_0x16b230(0x3a2),_0x1f13a1[_0x16b230(0x440)]='SUBMIT_CHANGESET_TIMEOUT',_0x1f13a1))(re||{});class ve{constructor(){var _0xc47719=_0x16b230;D(this,'_event$',new _0x492b16()),D(this,_0xc47719(0x344),this['_event$']['asObservable']());}[_0x16b230(0x3d9)](_0x5b072b){var _0x4ad398=_0x16b230;this[_0x4ad398(0x160)][_0x4ad398(0x31e)](_0x5b072b);}}class pi{constructor(){var _0x1b4399=_0x16b230;D(this,_0x1b4399(0x1ac),new _0x492b16()),D(this,'commentUpdate$',this[_0x1b4399(0x1ac)]['asObservable']());}['onCommentUpdate'](_0x19c859){var _0x191de1=_0x16b230;this[_0x191de1(0x1ac)]['next'](_0x19c859);}}var bs=Object[_0x16b230(0x262)],Ds=(_0x677b8d,_0x3f47e7,_0x2b18c8,_0x2eb18b)=>{var _0x271d77=_0x16b230;for(var _0x52c6bf=_0x2eb18b>0x1?void 0x0:_0x2eb18b?bs(_0x3f47e7,_0x2b18c8):_0x3f47e7,_0x36419c=_0x677b8d[_0x271d77(0x42a)]-0x1,_0x73a503;_0x36419c>=0x0;_0x36419c--)(_0x73a503=_0x677b8d[_0x36419c])&&(_0x52c6bf=_0x73a503(_0x52c6bf)||_0x52c6bf);return _0x52c6bf;},Ft=(_0x3a328f,_0x524af8)=>(_0x46c8ac,_0x5f3daf)=>_0x524af8(_0x46c8ac,_0x5f3daf,_0x3a328f);let Pe=class extends _0x4c5799{constructor(_0x3bb976,_0x82998c){var _0x4940ac=_0x16b230;super(),D(this,'_roomMembers',new Map()),D(this,_0x4940ac(0x358),new _0x492b16()),(this['_univerInstanceService']=_0x3bb976,this[_0x4940ac(0x2a6)]=_0x82998c,this[_0x4940ac(0x40c)](_0x18ac2d(this[_0x4940ac(0x3a4)][_0x4940ac(0x21e)](_0x5afe7c[_0x4940ac(0x1c1)])['pipe'](_0x4fd3ae(_0x3d2cd0=>_0x3d2cd0[_0x4940ac(0x30e)]())),this['_univerInstanceService'][_0x4940ac(0x21e)](_0x5afe7c[_0x4940ac(0x411)])['pipe'](_0x4fd3ae(_0x36dcca=>_0x36dcca['getUnitId']())),this[_0x4940ac(0x3a4)]['getTypeOfUnitDisposed$'](_0x5afe7c['UNIVER_SLIDE'])[_0x4940ac(0x208)](_0x4fd3ae(_0x130c20=>_0x130c20[_0x4940ac(0x30e)]())))[_0x4940ac(0x465)](_0x35379b=>this[_0x4940ac(0x1db)](_0x35379b))));}[_0x16b230(0x3f5)](_0x1804a0){var _0x5dd869=_0x16b230;return this[_0x5dd869(0x152)]['has'](_0x1804a0)?_0x5bafa1(this[_0x5dd869(0x152)][_0x5dd869(0x234)](_0x1804a0)):this[_0x5dd869(0x358)]['pipe'](_0x4fd3ae(_0x150727=>{var _0x18192d=_0x5dd869;if(_0x150727===_0x1804a0)return this[_0x18192d(0x152)][_0x18192d(0x234)](_0x150727);}));}[_0x16b230(0x298)](_0x104264){var _0x48d582=_0x16b230;this[_0x48d582(0x2a6)][_0x48d582(0x298)](_0x104264);}[_0x16b230(0x375)](){return this['_userManagerService']['getCurrentUser']();}[_0x16b230(0x3da)](_0x296f1a,_0x487f1c){var _0x21ea60=_0x16b230;let _0x317f83=this[_0x21ea60(0x152)][_0x21ea60(0x234)](_0x296f1a);_0x317f83||(_0x317f83=new ys(),this[_0x21ea60(0x152)][_0x21ea60(0x2f1)](_0x296f1a,_0x317f83),this[_0x21ea60(0x358)][_0x21ea60(0x31e)](_0x296f1a)),_0x317f83[_0x21ea60(0x3da)](_0x487f1c);}['removeMember'](_0x23b6c6,_0x408934){var _0x399199=_0x16b230;const _0x482a4b=this['_roomMembers'][_0x399199(0x234)](_0x23b6c6);_0x482a4b&&_0x482a4b[_0x399199(0x28d)](_0x408934);}['getRoom'](_0x5017f0){var _0x82891c=_0x16b230;return this[_0x82891c(0x152)][_0x82891c(0x234)](_0x5017f0);}[_0x16b230(0x1e8)](_0x39660f,_0x1d8c59){var _0x2cf51b=_0x16b230;const _0x56d47a=this[_0x2cf51b(0x152)][_0x2cf51b(0x234)](_0x39660f);if(_0x56d47a)return _0x56d47a['getMember'](_0x1d8c59);}['_removeRoom'](_0xe28d60){var _0x22cc21=_0x16b230;const _0x4bfbe6=this[_0x22cc21(0x152)][_0x22cc21(0x234)](_0xe28d60);_0x4bfbe6&&(_0x4bfbe6[_0x22cc21(0x43a)](),this[_0x22cc21(0x152)][_0x22cc21(0x386)](_0xe28d60));}[_0x16b230(0x43a)](){var _0x37b006=_0x16b230;this[_0x37b006(0x152)][_0x37b006(0x428)](_0x3e1148=>_0x3e1148['dispose']()),this[_0x37b006(0x152)]['clear'](),this['_roomCreated$']['complete']();}};Pe=Ds([Ft(0x0,_0xcc4d1e),Ft(0x1,_0x51e09b(_0x595620))],Pe);class ys extends _0x4c5799{constructor(){var _0x17b8ca=_0x16b230;super(...arguments),D(this,_0x17b8ca(0x421),new Map()),D(this,'_members$',new _0x3906b7(this[_0x17b8ca(0x421)])),D(this,_0x17b8ca(0x2f2),this[_0x17b8ca(0x15d)][_0x17b8ca(0x25a)]());}[_0x16b230(0x43a)](){var _0x59c5dd=_0x16b230;this[_0x59c5dd(0x421)]['clear']();}[_0x16b230(0x3da)](_0x314ac4){var _0x55b19f=_0x16b230;this[_0x55b19f(0x421)]['set'](_0x314ac4['memberID'],_0x314ac4),this[_0x55b19f(0x42d)]();}[_0x16b230(0x28d)](_0x40b2e9){var _0x1fdeda=_0x16b230;this[_0x1fdeda(0x421)]['delete'](_0x40b2e9);}[_0x16b230(0x1e8)](_0x3d9f5f){var _0x5f5414=_0x16b230;return this[_0x5f5414(0x421)][_0x5f5414(0x234)](_0x3d9f5f);}[_0x16b230(0x335)](){var _0x508d5e=_0x16b230;return Array['from'](this['_members'][_0x508d5e(0x294)]());}['_emitMembers'](){var _0x217687=_0x16b230;this[_0x217687(0x15d)]['next'](this[_0x217687(0x421)]);}}var Us=Object[_0x16b230(0x262)],As=(_0xbf6e82,_0x13d045,_0x30cbeb,_0x3aec8b)=>{for(var _0x4b7387=_0x3aec8b>0x1?void 0x0:_0x3aec8b?Us(_0x13d045,_0x30cbeb):_0x13d045,_0x4eee32=_0xbf6e82['length']-0x1,_0x35e1b0;_0x4eee32>=0x0;_0x4eee32--)(_0x35e1b0=_0xbf6e82[_0x4eee32])&&(_0x4b7387=_0x35e1b0(_0x4b7387)||_0x4b7387);return _0x4b7387;},Oe=(_0x5b53d2,_0x34cc43)=>(_0x25639e,_0x475e65)=>_0x34cc43(_0x25639e,_0x475e65,_0x5b53d2),Ie=(_0x454452=>(_0x454452[_0x454452[_0x16b230(0x445)]=0x0]=_0x16b230(0x445),_0x454452[_0x454452[_0x16b230(0x352)]=0x1]=_0x16b230(0x352),_0x454452[_0x454452['OFFLINE']=0x2]=_0x16b230(0x190),_0x454452[_0x454452['ONLINE']=0x3]='ONLINE',_0x454452))(Ie||{});const jt={[Ee[_0x16b230(0x40a)]]:_0x16b230(0x304),[Ee['JOIN_ROOM_FULL']]:_0x16b230(0x2cc),[Ee[_0x16b230(0x391)]]:_0x16b230(0x42b),[Ee[_0x16b230(0x3e7)]]:_0x16b230(0x269),[Ee[_0x16b230(0x3ee)]]:'session.room-cnt-exceeds'};let It=class extends _0x5e99c8{constructor(_0x5d25bd,_0x5a1e8c,_0x3e9504,_0x3cafa4,_0xb3eb4f,_0x47702e,_0x1bfe35,_0x45f4bc){var _0x42ef08=_0x16b230;super(),D(this,_0x42ef08(0x2fc),new _0x3906b7(0x0)),D(this,'sessionStatus$',this[_0x42ef08(0x2fc)][_0x42ef08(0x25a)]()),D(this,'_event$',new _0x492b16()),D(this,_0x42ef08(0x344),this[_0x42ef08(0x160)][_0x42ef08(0x25a)]()),D(this,'_socket'),D(this,_0x42ef08(0x24b)),D(this,_0x42ef08(0x29a)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x42ef08(0x427),null),(this[_0x42ef08(0x330)]=_0x5d25bd,this['_logService']=_0x3e9504,this[_0x42ef08(0x438)]=_0x3cafa4,this['_memberService']=_0xb3eb4f,this[_0x42ef08(0x221)]=_0x47702e,this[_0x42ef08(0x434)]=_0x1bfe35,this[_0x42ef08(0x2ec)]=_0x45f4bc,this['_shouldReportTelemetry']=!!this[_0x42ef08(0x2ec)],_0x5a1e8c[_0x42ef08(0x208)](_0x4a7293(this[_0x42ef08(0x2e2)]))['subscribe'](_0x3b940e=>{var _0x438642=_0x42ef08,_0x5bf80d;typeof _0x3b940e>'u'||(this[_0x438642(0x284)]=_0x3b940e,_0x3b940e?(this['_joinRoom'](_0x3b940e),this['_socketMessageSubscription']=_0x3b940e[_0x438642(0x2af)][_0x438642(0x465)](_0x20fc7c=>{var _0x583be2=_0x438642;_0x20fc7c[_0x583be2(0x27e)]===this[_0x583be2(0x330)]&&this[_0x583be2(0x306)](_0x20fc7c);})):(this[_0x438642(0x25d)](),this[_0x438642(0x2fc)][_0x438642(0x31e)](0x2),(_0x5bf80d=this[_0x438642(0x24b)])==null||_0x5bf80d[_0x438642(0x16d)](),this[_0x438642(0x24b)]=null));}));}get[_0x16b230(0x3c1)](){var _0x22596e=_0x16b230;return this[_0x22596e(0x2fc)][_0x22596e(0x3dd)]();}['getMemberID'](){var _0x5b1a4c=_0x16b230,_0xc71e33,_0x4ec1da;return(_0x4ec1da=(_0xc71e33=this[_0x5b1a4c(0x284)])==null?void 0x0:_0xc71e33[_0x5b1a4c(0x255)])!=null?_0x4ec1da:null;}[_0x16b230(0x43a)](){var _0x3e699f=_0x16b230;super[_0x3e699f(0x43a)](),this[_0x3e699f(0x2e2)][_0x3e699f(0x31e)](),this['dispose$']['complete']();}[_0x16b230(0x27f)](){var _0x2abec8=_0x16b230,_0x5473e3,_0x41c977;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5473e3=this[_0x2abec8(0x284)])==null||_0x5473e3[_0x2abec8(0x33a)]({'cmd':j[_0x2abec8(0x177)],'data':{'roomID':this[_0x2abec8(0x330)]}}),(_0x41c977=this[_0x2abec8(0x284)])==null||_0x41c977[_0x2abec8(0x27f)](),this[_0x2abec8(0x160)]['complete'](),this[_0x2abec8(0x2fc)][_0x2abec8(0x42e)](),this[_0x2abec8(0x43a)]();}[_0x16b230(0x306)](_0x718ff1){var _0x4158ed=_0x16b230;_0x718ff1['cmd']===j[_0x4158ed(0x3dc)]?this[_0x4158ed(0x15c)](_0x718ff1):_0x718ff1[_0x4158ed(0x2ba)]===j[_0x4158ed(0x418)]&&this['_onRecvEvent'](_0x718ff1);}['_joinRoom'](_0x3617db){var _0x247c6c=_0x16b230;this['_sessionStatus$'][_0x247c6c(0x31e)](0x1),_0x3617db[_0x247c6c(0x33a)]({'cmd':j[_0x247c6c(0x3dc)],'routeKey':this[_0x247c6c(0x330)],'routeType':'','data':{'rooms':[{'roomID':this[_0x247c6c(0x330)]}]}});}['_onJoinRoomEvent'](_0x566fd0){var _0x552b2a=_0x16b230,_0x1c8cf1;if(_0x566fd0[_0x552b2a(0x19a)]in jt){this[_0x552b2a(0x434)]['emitEvent']({'id':re[_0x552b2a(0x380)],'data':jt[_0x566fd0[_0x552b2a(0x19a)]]}),this[_0x552b2a(0x2fc)][_0x552b2a(0x31e)](0x2);return;}this[_0x552b2a(0x2fc)][_0x552b2a(0x31e)](0x3);const _0x466d8d=(_0x1c8cf1=_0x566fd0[_0x552b2a(0x3a7)][_0x552b2a(0x1bd)][this['_unitID']])==null?void 0x0:_0x1c8cf1[_0x552b2a(0x1f8)];_0x466d8d&&_0x466d8d[_0x552b2a(0x428)](_0x233723=>this[_0x552b2a(0x3e6)][_0x552b2a(0x3da)](this[_0x552b2a(0x330)],_0x233723));}[_0x16b230(0x462)](_0x4693e6){var _0xe66447=_0x16b230;try{const _0xe3f4e=_0x4693e6['data'];switch(_0xe3f4e[_0xe66447(0x3e4)]){case _0xdbc4ab[_0xe66447(0x43c)]:this[_0xe66447(0x30b)](_0xe3f4e),this['_event$'][_0xe66447(0x31e)](_0xe3f4e);break;case _0xdbc4ab[_0xe66447(0x20d)]:this[_0xe66447(0x210)](_0xe3f4e),this[_0xe66447(0x160)][_0xe66447(0x31e)](_0xe3f4e);break;case _0xdbc4ab[_0xe66447(0x217)]:case _0xdbc4ab[_0xe66447(0x213)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0xe66447(0x433)](),this['_event$']['next'](_0xe3f4e);break;case _0xdbc4ab[_0xe66447(0x33c)]:this['_logService']['error'](_0xe66447(0x2db)+JSON['stringify'](_0xe3f4e)),this[_0xe66447(0x160)][_0xe66447(0x31e)](_0xe3f4e);break;case _0xdbc4ab['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0xe3f4e[_0xe66447(0x3a7)]),this[_0xe66447(0x160)][_0xe66447(0x31e)](_0xe3f4e);break;default:this['_event$'][_0xe66447(0x31e)](_0xe3f4e);}}catch(_0x29151d){this['_logService']['error'](_0x29151d,_0x4693e6);}}[_0x16b230(0x30b)](_0x78ec31){var _0x11c032=_0x16b230;this[_0x11c032(0x3e6)][_0x11c032(0x3da)](this[_0x11c032(0x330)],_0x78ec31['data']);}[_0x16b230(0x210)](_0x258c28){var _0xff6275=_0x16b230;this[_0xff6275(0x3e6)]['removeMember'](this[_0xff6275(0x330)],_0x258c28['data'][_0xff6275(0x255)]);}async['send'](_0x285352,_0x12a767){var _0xd8d218=_0x16b230;if(this[_0xd8d218(0x3c1)]!==0x3||!this[_0xd8d218(0x284)])throw new Error(_0xd8d218(0x2da));try{_0x285352[_0xd8d218(0x3e4)]===_0xdbc4ab[_0xd8d218(0x24a)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xd8d218(0x3d3)](_0x285352)),this[_0xd8d218(0x284)][_0xd8d218(0x33a)]({'cmd':j[_0xd8d218(0x254)],'routeKey':_0x12a767,'routeType':'','data':_0x285352});}catch(_0x22f5a2){this[_0xd8d218(0x204)]['error'](_0x22f5a2);}}[_0x16b230(0x2c8)](){var _0x5475c0=_0x16b230,_0x109c0e;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x14d8cf=_0x302e;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x14d8cf(0x440)]});},(_0x109c0e=this[_0x5475c0(0x438)][_0x5475c0(0x1d9)](di))!=null?_0x109c0e:fi);}[_0x16b230(0x433)](){var _0x47fb4a=_0x16b230;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x47fb4a(0x29a)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x57b8c0){var _0x5f4037=_0x16b230;if(!this[_0x5f4037(0x172)])return;const {data:_0x2fbf25}=_0x57b8c0,{unitID:_0x527675,changeset:_0x1ff353}=_0x2fbf25,{mutations:_0x211123,type:_0x28a907}=_0x1ff353;this[_0x5f4037(0x427)]={'unitId':_0x527675,'type':_0x28a907,'startTime':performance[_0x5f4037(0x424)](),'stopTime':0x0,'duration':0x0,'size':Cs(_0x211123)};}[_0x16b230(0x1eb)](){var _0x549b17=_0x16b230;if(this[_0x549b17(0x172)]){if(!this[_0x549b17(0x427)]){this[_0x549b17(0x204)][_0x549b17(0x384)](_0x549b17(0x2e6),_0x549b17(0x29e));return;}this['_telemetryInfo'][_0x549b17(0x282)]=performance[_0x549b17(0x424)](),this[_0x549b17(0x427)][_0x549b17(0x36d)]=this[_0x549b17(0x427)]['stopTime']-this[_0x549b17(0x427)]['startTime'],this[_0x549b17(0x2ec)][_0x549b17(0x34f)](Ns,this[_0x549b17(0x427)]),this[_0x549b17(0x427)]=null;}}[_0x16b230(0x25d)](){var _0x32204e=_0x16b230;this[_0x32204e(0x427)]=null;}};It=As([Oe(0x2,_0x59ebdd),Oe(0x3,_0x50e1f2),Oe(0x4,_0x51e09b(Pe)),Oe(0x5,_0x51e09b(pi)),Oe(0x6,_0x51e09b(ve)),Oe(0x7,_0x400c2e(_0x1fd630))],It);const X=_0x4ba64a(_0x16b230(0x1dd));function Cr(_0x1bab3a){return'unit-cache-'+_0x1bab3a;}var Ps=Object[_0x16b230(0x262)],Ls=(_0x12d8d3,_0x5586f5,_0x243397,_0x134879)=>{for(var _0x2be408=_0x134879>0x1?void 0x0:_0x134879?Ps(_0x5586f5,_0x243397):_0x5586f5,_0x1e1f6a=_0x12d8d3['length']-0x1,_0x4d0c66;_0x1e1f6a>=0x0;_0x1e1f6a--)(_0x4d0c66=_0x12d8d3[_0x1e1f6a])&&(_0x2be408=_0x4d0c66(_0x2be408)||_0x2be408);return _0x2be408;},ut=(_0x1b2fc5,_0x19fd16)=>(_0x522e40,_0x1aa4cb)=>_0x19fd16(_0x522e40,_0x1aa4cb,_0x1b2fc5);function ws(_0x2cf169){var _0x242896=_0x16b230;const {unitID:_0x45516b,mutations:_0x14c5ba}=_0x2cf169;return{'unitId':_0x45516b,'subUnitId':_0x14c5ba[_0x242896(0x42a)]>0x0?_0x14c5ba[0x0][_0x242896(0x3d1)]['subUnitId']:null};}let it=class{constructor(_0x5d0c64,_0x2854ca,_0x5c876b){var _0x2c2c4f=_0x16b230;this[_0x2c2c4f(0x1bb)]=_0x5d0c64,this['_transformService']=_0x2854ca,this['_instanceService']=_0x5c876b;}['transformSelections'](_0x25ead7){var _0x518b14=_0x16b230,_0x1c2f3a,_0x5438b6,_0x42a030,_0x4940a4;const _0x2933ea=this[_0x518b14(0x1bb)][_0x518b14(0x234)](_0x2590f8),{unitId:_0x4c319a,subUnitId:_0x3883b4}=ws(_0x25ead7),_0x1e252d=_0x2933ea==null?void 0x0:_0x2933ea['getWorkbookSelections'](_0x4c319a)[_0x518b14(0x329)](),_0x38c6a9=(_0x5438b6=(_0x1c2f3a=this[_0x518b14(0x372)][_0x518b14(0x317)](_0x4c319a))==null?void 0x0:_0x1c2f3a[_0x518b14(0x347)]())==null?void 0x0:_0x5438b6[_0x518b14(0x2f4)]();if(_0x1e252d[_0x518b14(0x42a)]===0x0||!_0x4c319a||!_0x3883b4)return;const _0x219b0a=[{'id':_0x2659ea['id'],'params':{'unitId':_0x4c319a,'subUnitId':_0x38c6a9,'selections':_0x578449[_0x518b14(0x22d)](_0x1e252d)}}],_0xd183a7=this[_0x518b14(0x416)][_0x518b14(0x20c)](_0x25ead7,_0x219b0a);if(!_0x1613bb(_0xd183a7))throw _0xd183a7['error'];const _0x38837b=(_0x4940a4=(_0x42a030=_0xd183a7[_0x518b14(0x220)][0x0])==null?void 0x0:_0x42a030[_0x518b14(0x3d1)])==null?void 0x0:_0x4940a4[_0x518b14(0x2ad)];if(Array[_0x518b14(0x43f)](_0x38837b)&&_0x38837b[_0x518b14(0x42a)]){if(_0x38837b[_0x518b14(0x42a)]===_0x219b0a[0x0][_0x518b14(0x3d1)]['selections'][_0x518b14(0x42a)]&&_0x38837b[_0x518b14(0x435)]((_0x340805,_0x3e9e09)=>_0x4b58bb[_0x518b14(0x295)](_0x340805['range'],_0x219b0a[0x0][_0x518b14(0x3d1)][_0x518b14(0x2ad)][_0x3e9e09][_0x518b14(0x32a)])))return;this[_0x518b14(0x1bb)]['get'](_0x15a362)[_0x518b14(0x279)](_0x2659ea['id'],{'unitId':_0x4c319a,'subUnitId':_0x38c6a9,'selections':_0x38837b});}}};it=Ls([ut(0x0,_0x51e09b(_0x43171c)),ut(0x1,_0x46e45e),ut(0x2,_0xcc4d1e)],it);const _t=_0x4ba64a(_0x16b230(0x2fb));var Ii=(_0xbe481b=>(_0xbe481b[_0xbe481b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x16b230(0x192),_0xbe481b[_0xbe481b[_0x16b230(0x458)]=0x1]=_0x16b230(0x458),_0xbe481b))(Ii||{});const K=_0x16b230(0x3d5),Ms={};function xs(_0x4b181b){var _0x3482d9;return!!((_0x3482d9=_0x4b181b['params'])!=null&&_0x3482d9['__splitChunk__']);}const ks=new Set([_0x4773cb['id']]);function Vt(_0x21e584,_0x595c39,_0x38daa9,_0x677441,_0x43e377){var _0x1852d6=_0x16b230,_0x545a72,_0x4899cf,_0x454125,_0x191ea5;const _0x485121=[];for(const _0x4e9072 of _0x21e584){if(ks['has'](_0x4e9072['id'])){if(_0x485121[_0x1852d6(0x42a)]>0x0)break;_0x485121['push'](_0x4e9072);break;}if(xs(_0x4e9072)){if(_0x485121[_0x1852d6(0x42a)]>0x0)break;_0x485121[_0x1852d6(0x38f)](_0x4e9072);break;}_0x485121[_0x1852d6(0x38f)](_0x4e9072);}const _0x4ea6e4=(_0x4899cf=(_0x545a72=_0x43e377[_0x1852d6(0x375)]())==null?void 0x0:_0x545a72['userID'])!=null?_0x4899cf:_0x1852d6(0x28e),_0x113716=(_0x191ea5=(_0x454125=_0x43e377[_0x1852d6(0x375)]())==null?void 0x0:_0x454125['memberID'])!=null?_0x191ea5:_0x1852d6(0x28e);return{'changeset':{'unitID':_0x595c39,'type':_0x52e2ad(_0x38daa9[_0x1852d6(0x1cf)](_0x595c39)),'baseRev':_0x677441[_0x1852d6(0x239)](_0x595c39),'revision':0x0,'userID':_0x4ea6e4,'memberID':_0x113716,'mutations':_0x485121},'pendingMutations':_0x21e584[_0x1852d6(0x14a)](_0x485121[_0x1852d6(0x42a)])};}function $s(_0xb43c49,_0x1a5ad9,_0x56f06e,_0x575a6a,_0x2387cf){var _0x5c050a=_0x16b230,_0x5b3d86,_0x224e83,_0x161713,_0xdc4574;const _0x3b0eaa=[_0xb43c49[_0x5c050a(0x2f5)]((_0x357102,_0x1d8658)=>{var _0x1a307c=_0x5c050a,_0x35e2a2;const {id:_0x5b3ee9}=_0x357102,{id:_0x5f5a39,type:_0x5478f5}=_0x1d8658,_0x4a4179=(_0x35e2a2=_0x357102['params'])!=null?_0x35e2a2:{'actions':null},_0x27b438=_0x1d8658[_0x1a307c(0x3d1)];if(_0x5b3ee9&&_0x5b3ee9!==_0x5f5a39)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5b3ee9+_0x1a307c(0x27d)+_0x5f5a39+'.');return{..._0x357102,'id':_0x5f5a39,'type':_0x5478f5,'params':{'unitId':_0x27b438[_0x1a307c(0x3b9)],'textRanges':_0x27b438[_0x1a307c(0x277)],'actions':_0x5789e9['compose'](_0x4a4179[_0x1a307c(0x3cf)],_0x27b438['actions'])}};},{})],_0x358474=(_0x224e83=(_0x5b3d86=_0x2387cf[_0x5c050a(0x375)]())==null?void 0x0:_0x5b3d86[_0x5c050a(0x419)])!=null?_0x224e83:_0x5c050a(0x28e),_0x5eafc1=(_0xdc4574=(_0x161713=_0x2387cf[_0x5c050a(0x375)]())==null?void 0x0:_0x161713['memberID'])!=null?_0xdc4574:_0x5c050a(0x28e);return{'changeset':{'unitID':_0x1a5ad9,'type':_0x52e2ad(_0x56f06e[_0x5c050a(0x1cf)](_0x1a5ad9)),'baseRev':_0x575a6a['getCurrentRevOfUnit'](_0x1a5ad9),'revision':0x0,'userID':_0x358474,'memberID':_0x5eafc1,'mutations':_0x3b0eaa},'pendingMutations':[]};}function mi(_0x3c5bb1,_0x1ed5bb){var _0x3fe984=_0x16b230;const _0xf2cbd0=new _0x49aa02(0x1);return setTimeout(()=>_0xf2cbd0[_0x3fe984(0x31e)](_0x1ed5bb),_0x3c5bb1),_0xf2cbd0[_0x3fe984(0x25a)]()[_0x3fe984(0x208)](_0x22b23(0x1));}var Hs=Object[_0x16b230(0x262)],Se=(_0x1ca179,_0x1e598b,_0x550a46,_0x553e75)=>{var _0x1a6590=_0x16b230;for(var _0x373fd1=_0x553e75>0x1?void 0x0:_0x553e75?Hs(_0x1e598b,_0x550a46):_0x1e598b,_0x369756=_0x1ca179[_0x1a6590(0x42a)]-0x1,_0xcfa802;_0x369756>=0x0;_0x369756--)(_0xcfa802=_0x1ca179[_0x369756])&&(_0x373fd1=_0xcfa802(_0x373fd1)||_0x373fd1);return _0x373fd1;},L=(_0x438cf5,_0x32235d)=>(_0x7c6d4e,_0x2782e3)=>_0x32235d(_0x7c6d4e,_0x2782e3,_0x438cf5),Si=(_0x3f4fa0=>(_0x3f4fa0[_0x16b230(0x16e)]=_0x16b230(0x260),_0x3f4fa0[_0x16b230(0x35e)]=_0x16b230(0x252),_0x3f4fa0['PENDING']=_0x16b230(0x3bc),_0x3f4fa0[_0x16b230(0x316)]=_0x16b230(0x18b),_0x3f4fa0[_0x16b230(0x1a7)]=_0x16b230(0x175),_0x3f4fa0[_0x16b230(0x218)]=_0x16b230(0x368),_0x3f4fa0[_0x16b230(0x1a3)]='conflict',_0x3f4fa0['OFFLINE']=_0x16b230(0x34b),_0x3f4fa0))(Si||{});const gi=0xea60;class ge{constructor(_0xa4aff1,_0x51912e,_0xdf2a84,_0x223407,_0x4ae556,_0x36f943,_0x3db308,_0x53f04b,_0x14720f){var _0x40ccfb=_0x16b230;D(this,_0x40ccfb(0x39e),null),D(this,_0x40ccfb(0x355),[]),(this[_0x40ccfb(0x2df)]=_0xa4aff1,this[_0x40ccfb(0x467)]=_0x51912e,this['_handler']=_0x4ae556,this['_commandService']=_0x36f943,this['_undoRedoService']=_0x3db308,this['_revisionService']=_0x53f04b,this[_0x40ccfb(0x23e)]=_0x14720f,this['_awaitingChangeset']=_0xdf2a84,this[_0x40ccfb(0x355)]=_0x223407);}[_0x16b230(0x2b8)](_0x41a40f){var _0x434338=_0x16b230;const _0x1b19f1=this[_0x434338(0x417)][_0x434338(0x239)](this[_0x434338(0x2df)]);return _0x41a40f[_0x434338(0x231)]>_0x1b19f1+0x1?(this[_0x434338(0x27c)][_0x434338(0x2cb)]({'from':_0x1b19f1,'to':_0x41a40f['revision']-0x1}),!0x0):!0x1;}[_0x16b230(0x1f4)](_0x4e943a){var _0x4a14d9=_0x16b230;this[_0x4a14d9(0x2ab)]['transformUndoRedo'](this['unitID'],_0x4e943a);}['_transformSelections'](_0x50cbc4){var _0xe1d113=_0x16b230,_0x24be2f,_0x6c3e4b;(_0x6c3e4b=(_0x24be2f=this['_handler'])[_0xe1d113(0x39b)])==null||_0x6c3e4b[_0xe1d113(0x16b)](_0x24be2f,_0x50cbc4);}[_0x16b230(0x3a1)](_0x20ac76){var _0x242fc1=_0x16b230,_0x353a59,_0x1459ee;return(_0x1459ee=(_0x353a59=this[_0x242fc1(0x27c)])[_0x242fc1(0x45d)])==null?void 0x0:_0x1459ee['call'](_0x353a59,_0x20ac76);}[_0x16b230(0x2cd)](_0x48d3a9){var _0x49f924=_0x16b230,_0x5e4a5d,_0x3c90c2;return(_0x3c90c2=(_0x5e4a5d=this['_handler'])[_0x49f924(0x3a8)])==null?void 0x0:_0x3c90c2[_0x49f924(0x16b)](_0x5e4a5d,_0x48d3a9);}[_0x16b230(0x159)](_0x598e53){var _0x5b03b7=_0x16b230,_0x293b6c,_0xc98d54,_0x36f598;return(_0x36f598=(_0xc98d54=(_0x293b6c=this['_handler'])[_0x5b03b7(0x43b)])==null?void 0x0:_0xc98d54[_0x5b03b7(0x16b)](_0x293b6c,_0x598e53))!=null?_0x36f598:_0x598e53;}[_0x16b230(0x1a6)](_0x68e200){var _0x364af0=_0x16b230,_0x3dbcac,_0x2ce77a,_0x13e272;return(_0x13e272=(_0x2ce77a=(_0x3dbcac=this[_0x364af0(0x27c)])[_0x364af0(0x22c)])==null?void 0x0:_0x2ce77a[_0x364af0(0x16b)](_0x3dbcac,_0x68e200))!=null?_0x13e272:_0x68e200;}[_0x16b230(0x164)](_0x5402ec){var _0x3571ca=_0x16b230,_0x29fd24,_0x5d95cd;if(this['type']===Q[_0x3571ca(0x411)]){const {unitID:_0x4e8acb,mutations:_0x4fa088,memberID:_0x6c09eb}=_0x5402ec,_0x381b7e=_0x4fa088['length']>0x0?_0x4fa088[0x0][_0x3571ca(0x3d1)][_0x3571ca(0x277)]:[];Array[_0x3571ca(0x43f)](_0x381b7e)&&_0x381b7e[_0x3571ca(0x42a)]>0x0&&((_0x5d95cd=(_0x29fd24=this[_0x3571ca(0x27c)])[_0x3571ca(0x2c3)])==null||_0x5d95cd[_0x3571ca(0x16b)](_0x29fd24,{'unitID':_0x4e8acb,'memberID':_0x6c09eb,'textRanges':_0x381b7e}));}}['_updateLocalCache'](){var _0x2dec58=_0x16b230,_0xdd0078;(_0xdd0078=this[_0x2dec58(0x23e)])==null||_0xdd0078['updateOfflineData'](this[_0x2dec58(0x2df)],this[_0x2dec58(0x467)],this[_0x2dec58(0x39e)],this[_0x2dec58(0x355)]);}[_0x16b230(0x430)](){var _0x5579ad=_0x16b230;return this[_0x5579ad(0x417)][_0x5579ad(0x239)](this['unitID']);}[_0x16b230(0x2f3)](){var _0x69216b=_0x16b230;this[_0x69216b(0x417)][_0x69216b(0x38d)](this[_0x69216b(0x2df)]);}[_0x16b230(0x357)](_0x3f67e0){var _0x1164f5=_0x16b230,_0x1a88c2;let _0x5ecbaf=this[_0x1164f5(0x159)](_0x3f67e0);_0x5ecbaf=this[_0x1164f5(0x1a6)](_0x5ecbaf);const _0x505909=_0x208389(_0x5ecbaf[_0x1164f5(0x178)],this[_0x1164f5(0x2be)],{'fromCollab':!0x0});if(!_0x505909['result'])throw _0x505909[_0x1164f5(0x384)]instanceof Error?_0x505909[_0x1164f5(0x384)]:new Error((_0x1a88c2=_0x505909['error'])!=null?_0x1a88c2:_0x1164f5(0x268));this[_0x1164f5(0x3a1)](_0x5ecbaf),this[_0x1164f5(0x2cd)](_0x5ecbaf),this[_0x1164f5(0x1f4)](_0x3f67e0),this[_0x1164f5(0x3bd)](_0x5ecbaf),this[_0x1164f5(0x164)](_0x5ecbaf),this[_0x1164f5(0x2f3)]();}}let be=class extends ge{constructor(_0x5d1f42,_0x1d1133,_0x4b45b7,_0x4bcd5f,_0x1e1a30,_0x149f4e,_0xbacc8e,_0x1d0230,_0x4f9d96,_0xdc56cd){var _0x1634ef=_0x16b230;super(_0x5d1f42,_0x1d1133,null,[],_0x4b45b7,_0xbacc8e,_0x149f4e,_0x4bcd5f,_0xdc56cd),D(this,_0x1634ef(0x3a3),'synced'),(this[_0x1634ef(0x1bb)]=_0x1e1a30,this[_0x1634ef(0x204)]=_0x1d0230,this[_0x1634ef(0x416)]=_0x4f9d96,this[_0x1634ef(0x3ed)]=_0xdc56cd);}[_0x16b230(0x196)](_0x285db8){var _0x440aea=_0x16b230;const _0x5f1f6c=this[_0x440aea(0x1bb)][_0x440aea(0x18e)](ae,this['unitID'],this[_0x440aea(0x467)],[_0x285db8],this[_0x440aea(0x27c)]);return _0x5f1f6c[_0x440aea(0x30a)](),_0x5f1f6c[_0x440aea(0x402)](),_0x5f1f6c;}[_0x16b230(0x3d6)](_0x227a02){var _0xb7ff6f=_0x16b230;if(this[_0xb7ff6f(0x2b8)](_0x227a02))return this['_injector'][_0xb7ff6f(0x18e)](ee,this['unitID'],this[_0xb7ff6f(0x467)],null,[],null,[_0x227a02],this[_0xb7ff6f(0x27c)]);try{const _0x40c1ab=this[_0xb7ff6f(0x416)][_0xb7ff6f(0x20c)](_0x227a02,[_0x380341]);if(_0x1613bb(_0x40c1ab)){const {c1Prime:_0x28ff4d}=_0x40c1ab;return this[_0xb7ff6f(0x357)](_0x28ff4d),this;}throw _0x40c1ab['error'];}catch(_0x18de20){return this[_0xb7ff6f(0x204)][_0xb7ff6f(0x384)](_0x18de20),this[_0xb7ff6f(0x2d6)](!0x1);}}['_onConflict'](_0x220e03){var _0x26d539=_0x16b230;return this[_0x26d539(0x1bb)]['createInstance'](ue,this[_0x26d539(0x2df)],this[_0x26d539(0x467)],null,[],this[_0x26d539(0x27c)],_0x220e03);}[_0x16b230(0x340)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x16b230(0x3e3)](){var _0x1502e3=_0x16b230;throw new Error(_0x1502e3(0x1af));}['onRemoteRetry'](){return this;}[_0x16b230(0x26d)](){var _0x297767=_0x16b230;return this['_injector'][_0x297767(0x18e)](de,this[_0x297767(0x2df)],this[_0x297767(0x467)],null,[],this[_0x297767(0x27c)]);}[_0x16b230(0x215)](){return this;}[_0x16b230(0x3b1)](){var _0x21c2b2=_0x16b230;throw new Error(_0x21c2b2(0x2b2));}[_0x16b230(0x1fa)](){var _0x223f38=_0x16b230;const _0x50cddf=this[_0x223f38(0x417)][_0x223f38(0x239)](this[_0x223f38(0x2df)]);return this['_handler'][_0x223f38(0x2cb)]({'from':_0x50cddf,'to':0x0}),this['_injector'][_0x223f38(0x18e)](ee,this['unitID'],this['type'],null,[],null,[],this[_0x223f38(0x27c)]);}};be=Se([L(0x3,_0x51e09b(_0x2b4807)),L(0x4,_0x51e09b(_0x43171c)),L(0x5,_0x1b28a9),L(0x6,_0x15a362),L(0x7,_0x59ebdd),L(0x8,_0x46e45e),L(0x9,_0x400c2e(X))],be);let ae=class extends ge{constructor(_0x4d9e70,_0x236902,_0x1b32bb,_0x4d44db,_0x989ebf,_0x5a68d9,_0x446d92,_0x13b867,_0x4859fa,_0x58be6a,_0x522ca8,_0x717c51,_0x584917,_0x3fbecd){var _0x12469a=_0x16b230;super(_0x4d9e70,_0x236902,null,_0x1b32bb,_0x4d44db,_0x4859fa,_0x584917,_0x5a68d9,_0x3fbecd),D(this,_0x12469a(0x3a3),'pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x12469a(0x3f8),null),(this[_0x12469a(0x1bb)]=_0x989ebf,this[_0x12469a(0x3e6)]=_0x446d92,this[_0x12469a(0x204)]=_0x13b867,this[_0x12469a(0x438)]=_0x58be6a,this[_0x12469a(0x416)]=_0x522ca8,this[_0x12469a(0x3a4)]=_0x717c51);}['appendMutation'](_0x95bcbf){var _0x50bfd0=_0x16b230;return this[_0x50bfd0(0x355)][_0x50bfd0(0x38f)](_0x95bcbf),this['_updateLocalCache'](),this;}[_0x16b230(0x3d6)](_0x260295){var _0x4a0f2e=_0x16b230;if(this[_0x4a0f2e(0x2b8)](_0x260295))return this[_0x4a0f2e(0x307)](),this[_0x4a0f2e(0x1bb)][_0x4a0f2e(0x18e)](ee,this[_0x4a0f2e(0x2df)],this[_0x4a0f2e(0x467)],null,this[_0x4a0f2e(0x355)],null,[_0x260295],this[_0x4a0f2e(0x27c)]);try{const _0x42b9d2=this['_transformService'][_0x4a0f2e(0x20c)](_0x260295,this[_0x4a0f2e(0x355)]);if(_0x1613bb(_0x42b9d2)){const {c1Prime:_0x4524a9,m2Prime:_0x159a8e}=_0x42b9d2;this[_0x4a0f2e(0x357)](_0x4524a9);const _0x1fd61a=this[_0x4a0f2e(0x1bb)][_0x4a0f2e(0x18e)](ae,this[_0x4a0f2e(0x2df)],this[_0x4a0f2e(0x467)],_0x159a8e,this['_handler']);this['_clearScheduledTask']();const _0x2ff145=new Date()[_0x4a0f2e(0x1b8)](),_0x549b6a=this[_0x4a0f2e(0x29f)]?Math[_0x4a0f2e(0x400)](this[_0x4a0f2e(0x29f)]-_0x2ff145,0x0):this[_0x4a0f2e(0x39f)]();return _0x1fd61a[_0x4a0f2e(0x30a)](_0x549b6a),_0x1fd61a;}throw _0x42b9d2['error'];}catch(_0x53cd4d){return this[_0x4a0f2e(0x204)][_0x4a0f2e(0x384)](_0x53cd4d),this[_0x4a0f2e(0x2d6)](!0x1);}}[_0x16b230(0x340)](){var _0x312081=_0x16b230;throw new Error(_0x312081(0x176));}[_0x16b230(0x3e3)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x16b230(0x155)](){return this;}[_0x16b230(0x26d)](){var _0x318ed5=_0x16b230;return this[_0x318ed5(0x307)](),this['_injector'][_0x318ed5(0x18e)](de,this['unitID'],this[_0x318ed5(0x467)],null,this[_0x318ed5(0x355)],this[_0x318ed5(0x27c)]);}[_0x16b230(0x215)](){return this;}['_schedule'](_0x48ca17){var _0x26f0bc=_0x16b230;const _0x52b0f5=_0x48ca17!=null?_0x48ca17:this[_0x26f0bc(0x39f)]();this[_0x26f0bc(0x29f)]=new Date()[_0x26f0bc(0x1b8)]()+_0x52b0f5,this[_0x26f0bc(0x3f8)]=setTimeout(()=>{var _0x319ca2=_0x26f0bc;this[_0x319ca2(0x307)]();let _0x436bbc=null;switch(this[_0x319ca2(0x467)]){case Q[_0x319ca2(0x1c1)]:{_0x436bbc=Vt(this['_pendingMutations'],this[_0x319ca2(0x2df)],this['_univerInstanceService'],this[_0x319ca2(0x417)],this[_0x319ca2(0x3e6)]);break;}case Q['UNIVER_DOC']:{this[_0x319ca2(0x355)][_0x319ca2(0x435)](_0x2cc3d0=>_0x2cc3d0['id']===_0x44e778['id'])?_0x436bbc=$s(this[_0x319ca2(0x355)],this[_0x319ca2(0x2df)],this[_0x319ca2(0x3a4)],this[_0x319ca2(0x417)],this[_0x319ca2(0x3e6)]):_0x436bbc=Vt(this['_pendingMutations'],this[_0x319ca2(0x2df)],this[_0x319ca2(0x3a4)],this['_revisionService'],this[_0x319ca2(0x3e6)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x319ca2(0x467)]+_0x319ca2(0x24f));}const {changeset:_0x624cfd,pendingMutations:_0x440ede}=_0x436bbc;this[_0x319ca2(0x27c)][_0x319ca2(0x37f)](_0x624cfd);const _0x4f9193=_0x440ede[_0x319ca2(0x42a)]?this[_0x319ca2(0x1bb)][_0x319ca2(0x18e)](oe,this[_0x319ca2(0x2df)],this[_0x319ca2(0x467)],_0x624cfd,_0x440ede,this[_0x319ca2(0x27c)],void 0x0):this['_injector'][_0x319ca2(0x18e)](le,this[_0x319ca2(0x2df)],this[_0x319ca2(0x467)],_0x624cfd,this[_0x319ca2(0x27c)]);_0x4f9193[_0x319ca2(0x402)](),this['_handler'][_0x319ca2(0x270)](this,_0x4f9193);},_0x52b0f5);}[_0x16b230(0x39f)](){var _0x16b601=_0x16b230,_0x55ffab;const _0x35d7a4=this[_0x16b601(0x438)][_0x16b601(0x1d9)](K);return(_0x55ffab=_0x35d7a4==null?void 0x0:_0x35d7a4[_0x16b601(0x326)])!=null?_0x55ffab:Es;}[_0x16b230(0x3b1)](){var _0x52dc11=_0x16b230;throw new Error(_0x52dc11(0x323));}[_0x16b230(0x307)](){var _0x5f0fa6=_0x16b230;this[_0x5f0fa6(0x3f8)]!=null&&(clearTimeout(this[_0x5f0fa6(0x3f8)]),this['_sendingTimer']=null);}[_0x16b230(0x2d6)](_0x18e8fa){var _0x3721a1=_0x16b230;return this[_0x3721a1(0x307)](),this[_0x3721a1(0x1bb)][_0x3721a1(0x18e)](ue,this[_0x3721a1(0x2df)],this[_0x3721a1(0x467)],null,this[_0x3721a1(0x355)],this[_0x3721a1(0x27c)],_0x18e8fa);}};ae=Se([L(0x4,_0x51e09b(_0x43171c)),L(0x5,_0x51e09b(_0x2b4807)),L(0x6,_0x51e09b(Pe)),L(0x7,_0x59ebdd),L(0x8,_0x15a362),L(0x9,_0x50e1f2),L(0xa,_0x46e45e),L(0xb,_0xcc4d1e),L(0xc,_0x1b28a9),L(0xd,_0x400c2e(X))],ae);let le=class extends ge{constructor(_0x44818d,_0x41d168,_0x29be6d,_0x134671,_0x2dcd5e,_0x532d1c,_0x241f31,_0x236b77,_0x8387d6,_0x2d497a,_0x4927b6){var _0x267725=_0x16b230;super(_0x44818d,_0x41d168,_0x29be6d,[],_0x134671,_0x241f31,_0x2d497a,_0x532d1c,_0x4927b6),D(this,_0x267725(0x3a3),_0x267725(0x18b)),D(this,_0x267725(0x3cc),0x0),D(this,_0x267725(0x2c5)),D(this,_0x267725(0x3f0)),(this['_injector']=_0x2dcd5e,this['_logService']=_0x236b77,this['_transformService']=_0x8387d6);}[_0x16b230(0x196)](_0x35205a){var _0x56b3c8=_0x16b230;this['_clearScheduledTask']();const _0x58269e=this['_injector'][_0x56b3c8(0x18e)](oe,this[_0x56b3c8(0x2df)],this['type'],this[_0x56b3c8(0x39e)],[_0x35205a],this[_0x56b3c8(0x27c)],this['_resendTimer']);return _0x58269e[_0x56b3c8(0x402)](),_0x58269e;}['onRemoteChangeset'](_0x147482){var _0x112108=_0x16b230;if(this[_0x112108(0x2b8)](_0x147482))return this[_0x112108(0x307)](),this[_0x112108(0x1bb)][_0x112108(0x18e)](ee,this[_0x112108(0x2df)],this[_0x112108(0x467)],this['_awaitingChangeset'],[],null,[_0x147482],this[_0x112108(0x27c)]);try{const _0x3b4367=this['_transformService']['transformChangesets']([_0x147482],[this[_0x112108(0x39e)]],!0x1);if(_0x28f09a(_0x3b4367)){const {c1Prime:_0x301c33,c2Prime:_0x95ad6e}=_0x3b4367;this[_0x112108(0x357)](_0x301c33[0x0]),_0x95ad6e[0x0][_0x112108(0x2d2)]=this[_0x112108(0x430)](),this['_clearScheduledTask']();const _0x1ee9a6=this['_injector']['createInstance'](le,this['unitID'],this[_0x112108(0x467)],_0x95ad6e[0x0],this[_0x112108(0x27c)]);return _0x1ee9a6['_updateLocalCache'](),_0x1ee9a6;}return this['_onConflict'](!0x1);}catch(_0x24280e){return this[_0x112108(0x204)][_0x112108(0x384)](_0x24280e),this[_0x112108(0x2d6)](!0x1);}}[_0x16b230(0x340)](_0x2990cf){var _0x5b61f0=_0x16b230;this[_0x5b61f0(0x307)]();const _0x3a8bd4=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5b61f0(0x2df)]);if(_0x2990cf[_0x5b61f0(0x231)]<_0x3a8bd4-0x1)return this;if(this[_0x5b61f0(0x2b8)](_0x2990cf))return this[_0x5b61f0(0x1bb)][_0x5b61f0(0x18e)](ee,this[_0x5b61f0(0x2df)],this[_0x5b61f0(0x467)],null,[],this[_0x5b61f0(0x39e)],[],this[_0x5b61f0(0x27c)]);this[_0x5b61f0(0x2f3)]();const _0x54072f=this[_0x5b61f0(0x1bb)]['createInstance'](be,this['unitID'],this['type'],this['_handler']);return _0x54072f[_0x5b61f0(0x402)](),_0x54072f;}[_0x16b230(0x3e3)](_0x5cb76b){var _0x290bd6=_0x16b230;return this[_0x290bd6(0x2d6)](!!(_0x5cb76b!=null&&_0x5cb76b[_0x290bd6(0x285)]));}[_0x16b230(0x155)](_0x54b0f3){var _0xde2fdc=_0x16b230;return this[_0xde2fdc(0x3cc)]>gi?this[_0xde2fdc(0x26d)]():(this[_0xde2fdc(0x2c5)]=mi(this[_0xde2fdc(0x3cc)],{'timeout':this[_0xde2fdc(0x3cc)],'reqId':_0x54b0f3[_0xde2fdc(0x324)]}),this[_0xde2fdc(0x3f0)]=this['_resendTimer'][_0xde2fdc(0x465)](({reqId:_0xaf808e,timeout:_0x452ee0})=>{var _0x43d79b=_0xde2fdc;this[_0x43d79b(0x3f4)](_0xaf808e,_0x452ee0);}),this);}[_0x16b230(0x26d)](){var _0x5be80c=_0x16b230;return this['_clearScheduledTask'](),this[_0x5be80c(0x1bb)][_0x5be80c(0x18e)](de,this[_0x5be80c(0x2df)],this[_0x5be80c(0x467)],this[_0x5be80c(0x39e)],[],this[_0x5be80c(0x27c)]);}[_0x16b230(0x215)](){return this;}['resend'](){var _0x376b3c=_0x16b230;this[_0x376b3c(0x27c)][_0x376b3c(0x37f)](this['_awaitingChangeset']);}[_0x16b230(0x2d6)](_0x40ab19){var _0x35bcad=_0x16b230;return this[_0x35bcad(0x307)](),this[_0x35bcad(0x1bb)][_0x35bcad(0x18e)](ue,this[_0x35bcad(0x2df)],this['type'],this[_0x35bcad(0x39e)],[],this['_handler'],_0x40ab19);}['_resendWithTimeout'](_0x3aa276,_0x41112a){var _0x25aedb=_0x16b230,_0x23e8ee;_0x3aa276===((_0x23e8ee=this[_0x25aedb(0x39e)])==null?void 0x0:_0x23e8ee[_0x25aedb(0x324)])&&(this[_0x25aedb(0x3b1)](),this['_resendTimeout']=_0x41112a===0x0?0x3e8:_0x41112a*0x2);}[_0x16b230(0x307)](){var _0x200fbf=_0x16b230,_0x4efb90;(_0x4efb90=this['_sender'])==null||_0x4efb90[_0x200fbf(0x16d)](),this[_0x200fbf(0x3cc)]=0x0;}};le=Se([L(0x4,_0x51e09b(_0x43171c)),L(0x5,_0x51e09b(_0x2b4807)),L(0x6,_0x15a362),L(0x7,_0x59ebdd),L(0x8,_0x46e45e),L(0x9,_0x1b28a9),L(0xa,_0x400c2e(X))],le);let oe=class extends ge{constructor(_0x5294c7,_0x24e907,_0xfbd633,_0x5baf71,_0xf6c744,_0x20f2ed,_0x48890a,_0x12c360,_0x38dfb0,_0x18cc9c,_0xe653dd,_0x44f939,_0x13f753){var _0x1e4910=_0x16b230;super(_0x5294c7,_0x24e907,_0xfbd633,_0x5baf71,_0xf6c744,_0x38dfb0,_0x44f939,_0x12c360,_0x13f753),D(this,_0x1e4910(0x3a3),_0x1e4910(0x175)),D(this,_0x1e4910(0x3cc),0x0),D(this,_0x1e4910(0x2c5)),D(this,_0x1e4910(0x3f0)),(this['_injector']=_0x48890a,this[_0x1e4910(0x204)]=_0x18cc9c,this['_transformService']=_0xe653dd,this['localCacheService']=_0x13f753,_0x20f2ed&&(this[_0x1e4910(0x2c5)]=_0x20f2ed,this[_0x1e4910(0x3f0)]=this[_0x1e4910(0x2c5)][_0x1e4910(0x465)](({reqId:_0x32af14,timeout:_0x27ed22})=>{var _0x14bcbe=_0x1e4910;this[_0x14bcbe(0x3f4)](_0x32af14,_0x27ed22);})));}[_0x16b230(0x196)](_0x4edd24){var _0x52f559=_0x16b230;return this[_0x52f559(0x355)]['push'](_0x4edd24),this;}[_0x16b230(0x3d6)](_0x3c76f8){var _0x4e07c=_0x16b230;if(this[_0x4e07c(0x2b8)](_0x3c76f8))return this[_0x4e07c(0x307)](),this['_injector'][_0x4e07c(0x18e)](ee,this['unitID'],this[_0x4e07c(0x467)],this['_awaitingChangeset'],this[_0x4e07c(0x355)],null,[_0x3c76f8],this[_0x4e07c(0x27c)]);try{const _0x532f3b=this['_transformService']['transformChangesets']([_0x3c76f8],[this['_awaitingChangeset']],!0x1);if(_0x28f09a(_0x532f3b)){const {c1Prime:_0x5e8e3b,c2Prime:_0x1f1e48}=_0x532f3b,_0x3fa5d9=this['_transformService'][_0x4e07c(0x20c)](_0x5e8e3b[0x0],this[_0x4e07c(0x355)]);if(_0x1613bb(_0x3fa5d9)){const {c1Prime:_0x15fa68,m2Prime:_0x4a0c0a}=_0x3fa5d9;return this['_executeRemoteChangeset'](_0x15fa68),_0x1f1e48[0x0][_0x4e07c(0x2d2)]=this[_0x4e07c(0x430)](),this[_0x4e07c(0x307)](),this[_0x4e07c(0x1bb)][_0x4e07c(0x18e)](oe,this[_0x4e07c(0x2df)],this[_0x4e07c(0x467)],_0x1f1e48[0x0],_0x4a0c0a,this['_handler'],void 0x0);}throw _0x3fa5d9[_0x4e07c(0x384)];}throw _0x532f3b[_0x4e07c(0x384)];}catch(_0x5589e2){return this[_0x4e07c(0x204)]['error'](_0x5589e2),this[_0x4e07c(0x2d6)](!0x1);}}[_0x16b230(0x340)](_0x15e82c){var _0xdd37d1=_0x16b230;if(this['_clearScheduledTask'](),this[_0xdd37d1(0x2b8)](_0x15e82c))return this['_injector']['createInstance'](ee,this['unitID'],this[_0xdd37d1(0x467)],null,this[_0xdd37d1(0x355)],this[_0xdd37d1(0x39e)],[],this['_handler']);this[_0xdd37d1(0x2f3)]();const _0x43b1c9=this[_0xdd37d1(0x1bb)][_0xdd37d1(0x18e)](ae,this[_0xdd37d1(0x2df)],this['type'],this[_0xdd37d1(0x355)],this[_0xdd37d1(0x27c)]);return _0x43b1c9[_0xdd37d1(0x30a)](),_0x43b1c9['_updateLocalCache'](),_0x43b1c9;}[_0x16b230(0x3e3)](_0x852439){var _0xc689a1=_0x16b230;return this[_0xc689a1(0x2d6)](!!(_0x852439!=null&&_0x852439['isPermissionRej']));}[_0x16b230(0x155)](_0x3439ff){var _0x2655c1=_0x16b230;return this[_0x2655c1(0x3cc)]>gi?this[_0x2655c1(0x26d)]():(this[_0x2655c1(0x2c5)]=mi(this[_0x2655c1(0x3cc)],{'timeout':this[_0x2655c1(0x3cc)],'reqId':_0x3439ff[_0x2655c1(0x324)]}),this[_0x2655c1(0x3f0)]=this[_0x2655c1(0x2c5)][_0x2655c1(0x465)](({reqId:_0x83bb03,timeout:_0x222f93})=>{this['_resendWithTimeout'](_0x83bb03,_0x222f93);}),this);}[_0x16b230(0x26d)](){var _0x178227=_0x16b230;return this['_clearScheduledTask'](),this[_0x178227(0x1bb)][_0x178227(0x18e)](de,this[_0x178227(0x2df)],this[_0x178227(0x467)],this[_0x178227(0x39e)],this[_0x178227(0x355)],this['_handler']);}[_0x16b230(0x215)](){return this;}[_0x16b230(0x3b1)](){var _0x3307b0=_0x16b230;this[_0x3307b0(0x27c)][_0x3307b0(0x37f)](this[_0x3307b0(0x39e)]);}[_0x16b230(0x2d6)](_0x3d8a64){var _0x13e9b4=_0x16b230;return this['_clearScheduledTask'](),this[_0x13e9b4(0x1bb)]['createInstance'](ue,this[_0x13e9b4(0x2df)],this[_0x13e9b4(0x467)],null,this[_0x13e9b4(0x355)],this[_0x13e9b4(0x27c)],_0x3d8a64);}[_0x16b230(0x3f4)](_0x117ac1,_0x2213e6){var _0x3ff4f6=_0x16b230,_0x3ee28d;_0x117ac1===((_0x3ee28d=this[_0x3ff4f6(0x39e)])==null?void 0x0:_0x3ee28d[_0x3ff4f6(0x324)])&&(this[_0x3ff4f6(0x3b1)](),this[_0x3ff4f6(0x3cc)]=_0x2213e6===0x0?0x3e8:_0x2213e6*0x2);}[_0x16b230(0x307)](){var _0x20017a=_0x16b230,_0x33e6a6;(_0x33e6a6=this[_0x20017a(0x3f0)])==null||_0x33e6a6[_0x20017a(0x16d)](),this['_resendTimeout']=0x0;}};oe=Se([L(0x6,_0x51e09b(_0x43171c)),L(0x7,_0x51e09b(_0x2b4807)),L(0x8,_0x15a362),L(0x9,_0x59ebdd),L(0xa,_0x46e45e),L(0xb,_0x1b28a9),L(0xc,_0x400c2e(X))],oe);let ue=class extends ge{constructor(_0x429e5d,_0x561fa2,_0x3d2def,_0x34a9cb,_0x35b92a,_0x29b446=!0x1,_0x2b540d,_0x5830a6,_0x367a9e,_0x20cb1e,_0x1f8e67,_0x3de116,_0x5bce06){var _0x287bcf=_0x16b230;super(_0x429e5d,_0x561fa2,_0x3d2def,_0x34a9cb,_0x35b92a,_0x5830a6,_0x367a9e,_0x20cb1e,_0x5bce06),D(this,_0x287bcf(0x3a3),'conflict'),(this[_0x287bcf(0x2f0)]=_0x29b446,this[_0x287bcf(0x343)]=_0x2b540d,this[_0x287bcf(0x237)]=_0x1f8e67,this[_0x287bcf(0x434)]=_0x3de116,this[_0x287bcf(0x3ed)]=_0x5bce06,this[_0x287bcf(0x28f)](),this[_0x287bcf(0x2b3)](),this[_0x287bcf(0x156)]());}[_0x16b230(0x196)](){return this;}[_0x16b230(0x3d6)](){return this;}[_0x16b230(0x340)](){return this;}[_0x16b230(0x3e3)](){return this;}['onRemoteRetry'](){return this;}[_0x16b230(0x26d)](){return this;}[_0x16b230(0x215)](){return this;}[_0x16b230(0x3b1)](){var _0x557b55=_0x16b230;throw new Error(_0x557b55(0x422));}[_0x16b230(0x2b3)](){var _0x1b9849=_0x16b230,_0x37c63f;(_0x37c63f=this['_localCacheService'])==null||_0x37c63f[_0x1b9849(0x2bc)](this[_0x1b9849(0x2df)],this[_0x1b9849(0x467)],null,[]);}['_showConflictNotification'](){var _0x238342=_0x16b230;this[_0x238342(0x2f0)]?this[_0x238342(0x434)]['emitEvent']({'id':re[_0x238342(0x351)]}):this[_0x238342(0x434)][_0x238342(0x3d9)]({'id':re[_0x238342(0x1a3)]});}[_0x16b230(0x156)](){var _0x11664a=_0x16b230;this[_0x11664a(0x343)]['updatePermissionPoint'](new _0xa1b7c4(this[_0x11664a(0x2df)])['id'],!0x1);}};ue=Se([L(0x6,_0x51e09b(_0x481a75)),L(0x7,_0x15a362),L(0x8,_0x1b28a9),L(0x9,_0x51e09b(_0x2b4807)),L(0xa,_0x51e09b(_0x34838d)),L(0xb,_0x51e09b(ve)),L(0xc,_0x400c2e(X))],ue);let de=class extends ge{constructor(_0x2254f1,_0x2e5055,_0x27d3a3,_0x37533b,_0x3b3d73,_0x1ea4e0,_0x5775c8,_0x1fc8d1,_0x123bfe,_0x4285bd){var _0x3038a1=_0x16b230;super(_0x2254f1,_0x2e5055,_0x27d3a3,_0x37533b,_0x3b3d73,_0x1fc8d1,_0x123bfe,_0x5775c8,_0x4285bd),D(this,_0x3038a1(0x3a3),'offline'),this[_0x3038a1(0x1bb)]=_0x1ea4e0;}[_0x16b230(0x196)](_0xeec26c){var _0x10a5d3=_0x16b230;return this[_0x10a5d3(0x355)][_0x10a5d3(0x38f)](_0xeec26c),this[_0x10a5d3(0x402)](),this;}[_0x16b230(0x3d6)](_0x123717){var _0x1af964=_0x16b230;throw new Error(_0x1af964(0x19b));}[_0x16b230(0x340)](){var _0x5ef1ce=_0x16b230;throw new Error(_0x5ef1ce(0x460));}[_0x16b230(0x3e3)](){var _0x1c1fe2=_0x16b230;throw new Error(_0x1c1fe2(0x266));}[_0x16b230(0x155)](){return this;}[_0x16b230(0x26d)](){return this;}['toggleOnline'](){var _0x199c55=_0x16b230;const {_injector:_0x1b4468,_pendingMutations:_0x529d9c,_awaitingChangeset:_0x2ded01,unitID:_0x216bbf,_handler:_0x3bbb25,type:_0x4e0b44}=this,_0x2fc04a=Ti(_0x1b4468,_0x216bbf,_0x4e0b44,_0x2ded01,_0x529d9c,_0x3bbb25);return _0x2fc04a instanceof ae?_0x2fc04a[_0x199c55(0x30a)]():(_0x2fc04a instanceof oe||_0x2fc04a instanceof le)&&_0x2fc04a[_0x199c55(0x3b1)](),_0x2fc04a;}[_0x16b230(0x3b1)](){var _0xdc99fb=_0x16b230;throw new Error(_0xdc99fb(0x3fa));}};de=Se([L(0x5,_0x51e09b(_0x43171c)),L(0x6,_0x51e09b(_0x2b4807)),L(0x7,_0x15a362),L(0x8,_0x1b28a9),L(0x9,_0x400c2e(X))],de);let ee=class extends ge{constructor(_0x16c3c4,_0x2468ee,_0x12f3c0,_0x2595da,_0x497146,_0x5b6c3e,_0x3d925b,_0x254de1,_0x2ca271,_0x3b6ee0,_0x406236,_0x423d04,_0x21aa08,_0x1499ae){var _0x445883=_0x16b230;super(_0x16c3c4,_0x2468ee,_0x12f3c0,_0x2595da,_0x3d925b,_0x406236,_0x423d04,_0x2ca271,_0x1499ae),D(this,_0x445883(0x3a3),_0x445883(0x368)),(this[_0x445883(0x385)]=_0x497146,this[_0x445883(0x19f)]=_0x5b6c3e,this[_0x445883(0x1bb)]=_0x254de1,this['_logService']=_0x3b6ee0,this[_0x445883(0x416)]=_0x21aa08,this[_0x445883(0x3ed)]=_0x1499ae);}['onMissedChangesetFetched'](_0x1fb3c1){var _0x1339d6=_0x16b230;try{const _0x386002=[..._0x1fb3c1,...this[_0x1339d6(0x19f)]],_0x488ecb=[this['_awaitingChangeset']||this[_0x1339d6(0x385)]][_0x1339d6(0x2bf)](_0x564c6a=>!!_0x564c6a);let _0x5eb950,_0xc9080f;if(_0x488ecb[_0x1339d6(0x42a)]){const _0x51db30=this[_0x1339d6(0x416)][_0x1339d6(0x469)](_0x386002,_0x488ecb,!0x1);if(!_0x28f09a(_0x51db30))throw _0x51db30[_0x1339d6(0x384)];_0x5eb950=_0x51db30[_0x1339d6(0x1a5)],_0xc9080f=_0x51db30[_0x1339d6(0x264)];}else _0x5eb950=_0x386002,_0xc9080f=[];let _0x236c8b=this['_pendingMutations'];_0x5eb950['forEach'](_0x59452f=>{var _0x25e7d8=_0x1339d6;let _0x1630cd;if(_0x236c8b['length']){const _0x2935b9=this[_0x25e7d8(0x416)]['transformMutationsWithChangeset'](_0x59452f,_0x236c8b);if(!_0x1613bb(_0x2935b9))throw _0x2935b9[_0x25e7d8(0x384)];_0x1630cd=_0x2935b9[_0x25e7d8(0x1a5)],_0x236c8b=_0x2935b9['m2Prime'];}else _0x1630cd=_0x59452f;this[_0x25e7d8(0x357)](_0x1630cd);}),this[_0x1339d6(0x385)]&&this[_0x1339d6(0x2f3)](),this[_0x1339d6(0x39e)]&&_0xc9080f[_0x1339d6(0x42a)]&&(_0xc9080f[0x0][_0x1339d6(0x2d2)]=this[_0x1339d6(0x430)]());let _0x46d2b7;if(this[_0x1339d6(0x39e)]&&_0x236c8b['length']!==0x0)_0x46d2b7=this[_0x1339d6(0x1bb)][_0x1339d6(0x18e)](oe,this['unitID'],this[_0x1339d6(0x467)],_0xc9080f[0x0],_0x236c8b,this[_0x1339d6(0x27c)],void 0x0);else{if(this[_0x1339d6(0x39e)]&&_0x236c8b[_0x1339d6(0x42a)]===0x0)_0xc9080f[0x0][_0x1339d6(0x2d2)]=this['_getCurrentRevision'](),_0x46d2b7=this['_injector'][_0x1339d6(0x18e)](le,this[_0x1339d6(0x2df)],this['type'],_0xc9080f[0x0],this[_0x1339d6(0x27c)]);else{if(_0x236c8b[_0x1339d6(0x42a)]!==0x0){const _0x189f61=this[_0x1339d6(0x1bb)][_0x1339d6(0x18e)](ae,this[_0x1339d6(0x2df)],this[_0x1339d6(0x467)],_0x236c8b,this[_0x1339d6(0x27c)]);_0x189f61[_0x1339d6(0x30a)](),_0x46d2b7=_0x189f61;}else _0x46d2b7=this[_0x1339d6(0x1bb)][_0x1339d6(0x18e)](be,this['unitID'],this[_0x1339d6(0x467)],this[_0x1339d6(0x27c)]);}}return _0x46d2b7[_0x1339d6(0x402)](),_0x46d2b7;}catch(_0x57ddb7){return this[_0x1339d6(0x204)][_0x1339d6(0x384)](_0x1339d6(0x1fc),_0x1339d6(0x367),_0x57ddb7),this[_0x1339d6(0x1bb)][_0x1339d6(0x18e)](ue,this[_0x1339d6(0x2df)],this[_0x1339d6(0x467)],this[_0x1339d6(0x39e)],this[_0x1339d6(0x355)],this['_handler'],!0x1);}}[_0x16b230(0x3b1)](){var _0x1ad5fc=_0x16b230;throw new Error(_0x1ad5fc(0x2eb));}[_0x16b230(0x196)](_0x253356){var _0x349d0b=_0x16b230;return this[_0x349d0b(0x355)][_0x349d0b(0x38f)](_0x253356),this;}[_0x16b230(0x3d6)](_0x206706){var _0x44a466=_0x16b230;return this[_0x44a466(0x19f)]['push'](_0x206706),this;}[_0x16b230(0x340)](_0x856421){var _0x3f044e=_0x16b230;if(this[_0x3f044e(0x39e)])return this[_0x3f044e(0x385)]=this[_0x3f044e(0x39e)],this['_awaitingChangeset']=null,this;throw new Error(_0x3f044e(0x2f7));}[_0x16b230(0x3e3)](_0x1a4096){var _0x48d611=_0x16b230;return this[_0x48d611(0x2d6)](!!(_0x1a4096!=null&&_0x1a4096[_0x48d611(0x285)]));}[_0x16b230(0x155)](){return this;}['toggleOffline'](){var _0x466814=_0x16b230;return this[_0x466814(0x1bb)]['createInstance'](de,this[_0x466814(0x2df)],this[_0x466814(0x467)],this[_0x466814(0x39e)],this[_0x466814(0x355)],this[_0x466814(0x27c)]);}[_0x16b230(0x215)](){return this;}['_onConflict'](_0x4b1ff7){var _0xed81bc=_0x16b230;return this[_0xed81bc(0x1bb)][_0xed81bc(0x18e)](ue,this['unitID'],this[_0xed81bc(0x467)],this[_0xed81bc(0x39e)],this[_0xed81bc(0x355)],this[_0xed81bc(0x27c)],_0x4b1ff7);}};ee=Se([L(0x7,_0x51e09b(_0x43171c)),L(0x8,_0x51e09b(_0x2b4807)),L(0x9,_0x59ebdd),L(0xa,_0x15a362),L(0xb,_0x1b28a9),L(0xc,_0x46e45e),L(0xd,_0x400c2e(X))],ee);function Ti(_0x269be2,_0x40d22c,_0x37a593,_0x3e75da,_0x30319d,_0x12b01c){var _0x35e2cb=_0x16b230;return _0x3e75da&&_0x30319d[_0x35e2cb(0x42a)]?_0x269be2[_0x35e2cb(0x18e)](oe,_0x40d22c,_0x37a593,_0x3e75da,_0x30319d,_0x12b01c,void 0x0):_0x3e75da?_0x269be2[_0x35e2cb(0x18e)](le,_0x40d22c,_0x37a593,_0x3e75da,_0x12b01c):_0x30319d[_0x35e2cb(0x42a)]?_0x269be2[_0x35e2cb(0x18e)](ae,_0x40d22c,_0x37a593,_0x30319d,_0x12b01c):_0x269be2['createInstance'](be,_0x40d22c,_0x37a593,_0x12b01c);}var Bs=Object['getOwnPropertyDescriptor'],At=(_0xcf1ba8,_0x1e750b,_0xd4701c,_0xccb841)=>{var _0x492ff9=_0x16b230;for(var _0x125ecf=_0xccb841>0x1?void 0x0:_0xccb841?Bs(_0x1e750b,_0xd4701c):_0x1e750b,_0x36a428=_0xcf1ba8[_0x492ff9(0x42a)]-0x1,_0x1c920e;_0x36a428>=0x0;_0x36a428--)(_0x1c920e=_0xcf1ba8[_0x36a428])&&(_0x125ecf=_0x1c920e(_0x125ecf)||_0x125ecf);return _0x125ecf;},$=(_0x3b5784,_0x18bb22)=>(_0x39d4c6,_0x5f2b63)=>_0x18bb22(_0x39d4c6,_0x5f2b63,_0x3b5784);let st=class extends _0x5e99c8{constructor(_0x47d172,_0x10a4b6,_0x1646be,_0x4a5855,_0x34c329,_0x1891cd,_0x4d1abb,_0x58cb30,_0x3c6b5b,_0x2af0c2,_0x2bdd46,_0x5213ea,_0x12ca64,_0x1adb38){var _0x4cfcfb=_0x16b230;super(),D(this,'_state$',new _0x3906b7(null)),D(this,_0x4cfcfb(0x291),this[_0x4cfcfb(0x32d)][_0x4cfcfb(0x25a)]()),D(this,_0x4cfcfb(0x37e)),D(this,_0x4cfcfb(0x275),!0x1),D(this,'_changesetSessionId',''),D(this,_0x4cfcfb(0x41c),0x0),D(this,_0x4cfcfb(0x471),this['state$'][_0x4cfcfb(0x208)](_0x33a4de(_0x4f5bc0=>_0x4f5bc0?_0x4f5bc0[_0x4cfcfb(0x3a3)]:Si['OFFLINE']),_0x50467e(0x1))),D(this,'_transitionLocked',!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x4cfcfb(0x2df)]=_0x47d172,this['session']=_0x10a4b6,this[_0x4cfcfb(0x228)]=_0x1646be,this[_0x4cfcfb(0x1bb)]=_0x4a5855,this['_compressMutationService']=_0x34c329,this[_0x4cfcfb(0x237)]=_0x1891cd,this[_0x4cfcfb(0x417)]=_0x4d1abb,this[_0x4cfcfb(0x2b1)]=_0x58cb30,this['_univerInstanceService']=_0x3c6b5b,this[_0x4cfcfb(0x204)]=_0x2af0c2,this[_0x4cfcfb(0x2be)]=_0x2bdd46,this[_0x4cfcfb(0x343)]=_0x5213ea,this[_0x4cfcfb(0x36f)]=_0x12ca64,this['_localCacheService']=_0x1adb38);}get['state'](){var _0x288b93=_0x16b230;return this[_0x288b93(0x37e)];}async[_0x16b230(0x1c6)](){var _0xda3b91=_0x16b230;if(this[_0xda3b91(0x2cf)])throw new Error(_0xda3b91(0x1fd));await this[_0xda3b91(0x40f)]();}[_0x16b230(0x1fe)](){var _0x2aa135=_0x16b230;return this[_0x2aa135(0x275)]=!0x0,_0x33ec8b(()=>{var _0x34f8ce=_0x2aa135;this[_0x34f8ce(0x275)]=!0x1,this[_0x34f8ce(0x288)]();});}[_0x16b230(0x3ea)](_0x4abc28){var _0x960c41=_0x16b230;this[_0x960c41(0x271)](_0x4abc28);}[_0x16b230(0x256)](_0x10b924){var _0xb16f1c=_0x16b230;this[_0xb16f1c(0x37e)]=_0x10b924,this[_0xb16f1c(0x32d)][_0xb16f1c(0x31e)](_0x10b924);}async['_init'](){var _0xdfab00=_0x16b230,_0x483ec9;this[_0xdfab00(0x256)](await this[_0xdfab00(0x20a)]()),this[_0xdfab00(0x36f)]&&((_0x483ec9=this[_0xdfab00(0x36f)])==null||_0x483ec9[_0xdfab00(0x1e9)](this['unitID']),this[_0xdfab00(0x40c)](this[_0xdfab00(0x36f)][_0xdfab00(0x3ff)](this[_0xdfab00(0x2df)])[_0xdfab00(0x465)](_0x317bfc=>{var _0x201e81=_0xdfab00;this[_0x201e81(0x204)][_0x201e81(0x3c8)]('[CollaborationEntity]',_0x201e81(0x163),_0x317bfc),_0x317bfc===Ii['OTHER_CLIENTS_EDITING']?(this[_0x201e81(0x2b1)][_0x201e81(0x3d9)]({'id':re['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x201e81(0x290)](new _0xa1b7c4(this[_0x201e81(0x2df)])['id'],!0x1),this[_0x201e81(0x343)][_0x201e81(0x223)](!0x1)):(this[_0x201e81(0x343)]['updatePermissionPoint'](new _0xa1b7c4(this[_0x201e81(0x2df)])['id'],!0x0),this[_0x201e81(0x343)][_0x201e81(0x223)](!0x0));})));let _0xfb938a=!0x1;return this[_0xdfab00(0x40c)](this['session'][_0xdfab00(0x246)][_0xdfab00(0x465)](_0x1a2b79=>{var _0x1241de=_0xdfab00;_0x1a2b79===Ie[_0x1241de(0x211)]?this['_toggleOnline'](_0xfb938a):_0x1a2b79===Ie[_0x1241de(0x190)]&&(_0xfb938a=!0x0,this[_0x1241de(0x420)]());})),this['disposeWithMe'](this['session'][_0xdfab00(0x344)][_0xdfab00(0x465)](_0x2a1f8f=>{var _0x327cd4=_0xdfab00;try{switch(_0x2a1f8f[_0x327cd4(0x3e4)]){case _0xdbc4ab[_0x327cd4(0x3ec)]:{this[_0x327cd4(0x390)](_0x2cec89(_0x2a1f8f[_0x327cd4(0x3a7)]));break;}case _0xdbc4ab[_0x327cd4(0x217)]:{this[_0x327cd4(0x370)](_0x2a1f8f[_0x327cd4(0x3a7)]);break;}case _0xdbc4ab[_0x327cd4(0x2d7)]:{this[_0x327cd4(0x20e)]();break;}case _0xdbc4ab[_0x327cd4(0x213)]:{this[_0x327cd4(0x185)](_0x2a1f8f[_0x327cd4(0x3a7)]);break;}case _0xdbc4ab[_0x327cd4(0x296)]:{this[_0x327cd4(0x1dc)](_0x2a1f8f['data'][_0x327cd4(0x3a6)][_0x327cd4(0x457)](_0x5f14a3=>_0x2cec89(_0x5f14a3)));break;}case _0xdbc4ab[_0x327cd4(0x40d)]:{this[_0x327cd4(0x20e)]({'isPermissionRej':!0x0});break;}case _0xdbc4ab['UNISCRIPT_RUN']:break;}}catch(_0x90a896){throw console['error'](_0x327cd4(0x2a3),_0x90a896),_0x90a896;}})),this[_0xdfab00(0x37e)];}['_unlockTransition'](){var _0x39d244=_0x16b230;this[_0x39d244(0x3a0)]=!0x1;}[_0x16b230(0x1e1)](){var _0x20aa15=_0x16b230;if(this[_0x20aa15(0x3a0)])throw new Error(_0x20aa15(0x233));this[_0x20aa15(0x3a0)]=!0x0;}[_0x16b230(0x271)](_0xf905c9){var _0x464ed5=_0x16b230;this[_0x464ed5(0x1e1)](),this['_updateState'](this['_state'][_0x464ed5(0x196)](_0xf905c9)),this['_unlockTransition']();}[_0x16b230(0x390)](_0x5e8a58){var _0x554c38=_0x16b230;if(!(_0x5e8a58[_0x554c38(0x231)]<=this[_0x554c38(0x417)][_0x554c38(0x239)](this[_0x554c38(0x2df)]))){if(this[_0x554c38(0x275)]){this[_0x554c38(0x455)][_0x554c38(0x38f)](_0x5e8a58);return;}this[_0x554c38(0x3eb)](_0x5e8a58);}}[_0x16b230(0x288)](){var _0x1de0f7=_0x16b230;this[_0x1de0f7(0x455)][_0x1de0f7(0x428)](_0x1da11a=>this[_0x1de0f7(0x3eb)](_0x1da11a)),this[_0x1de0f7(0x455)]=[];}['_applyRemoteChangeset'](_0xc7cec){var _0x5251ec=_0x16b230;const _0x1076ec=this[_0x5251ec(0x3a9)]['interceptor'][_0x5251ec(0x235)](this[_0x5251ec(0x3a9)][_0x5251ec(0x299)][_0x5251ec(0x407)]()[_0x5251ec(0x389)])(_0xc7cec[_0x5251ec(0x178)],null)||_0xc7cec[_0x5251ec(0x178)],_0x235c6c={..._0xc7cec,'mutations':_0x1076ec};this[_0x5251ec(0x1e1)](),this[_0x5251ec(0x256)](this[_0x5251ec(0x37e)][_0x5251ec(0x3d6)](_0x235c6c)),this[_0x5251ec(0x20b)]();}[_0x16b230(0x370)](_0x23462d){var _0x26c4be=_0x16b230;this[_0x26c4be(0x1e1)](),this[_0x26c4be(0x256)](this['_state']['onRemoteAck'](_0x23462d)),this[_0x26c4be(0x20b)]();}[_0x16b230(0x20e)](_0x23badd){var _0x11f98b=_0x16b230;this[_0x11f98b(0x1e1)](),this[_0x11f98b(0x256)](this[_0x11f98b(0x37e)][_0x11f98b(0x3e3)](_0x23badd)),this[_0x11f98b(0x20b)]();}[_0x16b230(0x185)](_0x1682f1){var _0x23f69c=_0x16b230;this['_lockTransition'](),this[_0x23f69c(0x256)](this[_0x23f69c(0x37e)][_0x23f69c(0x155)](_0x1682f1)),this[_0x23f69c(0x20b)]();}['_onFetchMissResult'](_0x3dc5ca){var _0x27f31a=_0x16b230;if(!(this['_state']instanceof ee))throw new TypeError(_0x27f31a(0x314));const _0x538ad0=_0x3dc5ca[_0x27f31a(0x457)](_0x24e5bc=>{var _0x5e6d9a=_0x27f31a;const _0x1e7fa1=this[_0x5e6d9a(0x3a9)][_0x5e6d9a(0x299)][_0x5e6d9a(0x235)](this['_compressMutationService']['interceptor'][_0x5e6d9a(0x407)]()[_0x5e6d9a(0x389)])(_0x24e5bc['mutations'],null)||_0x24e5bc[_0x5e6d9a(0x178)];return{..._0x24e5bc,'mutations':_0x1e7fa1};});this[_0x27f31a(0x1e1)](),this[_0x27f31a(0x256)](this[_0x27f31a(0x37e)][_0x27f31a(0x28a)](_0x538ad0)),this[_0x27f31a(0x20b)]();}[_0x16b230(0x420)](){var _0x3e2ba4=_0x16b230;this[_0x3e2ba4(0x1e1)](),this['_updateState'](this[_0x3e2ba4(0x37e)][_0x3e2ba4(0x26d)]()),this[_0x3e2ba4(0x20b)]();}[_0x16b230(0x1f6)](_0x4af457=!0x1){var _0x21768f=_0x16b230;this[_0x21768f(0x1e1)](),this[_0x21768f(0x256)](this[_0x21768f(0x37e)][_0x21768f(0x215)]()),this[_0x21768f(0x20b)]();const _0x2dc8e6=this[_0x21768f(0x37e)];_0x4af457&&_0x2dc8e6 instanceof be&&(this[_0x21768f(0x1e1)](),this[_0x21768f(0x256)](_0x2dc8e6[_0x21768f(0x1fa)]()),this['_unlockTransition']());}async[_0x16b230(0x20a)](){return new Promise(_0xc932ac=>{var _0x340eec=_0x302e;this[_0x340eec(0x361)]['sessionStatus$'][_0x340eec(0x208)](_0x22b23(0x1))[_0x340eec(0x465)](async _0x55ef0a=>{var _0x4238a7=_0x340eec;_0xc932ac(await this[_0x4238a7(0x42f)](_0x55ef0a===Ie[_0x4238a7(0x211)]));});});}[_0x16b230(0x46a)](){var _0x378636=_0x16b230;const _0x5badd2=this[_0x378636(0x2df)];return{'onStateChange':(_0x48d08e,_0x1afde9)=>{var _0x4987b4=_0x378636;if(_0x48d08e!==this[_0x4987b4(0x37e)])throw new Error(_0x4987b4(0x24d)+_0x48d08e[_0x4987b4(0x3a3)]+'\x0aAfter:\x20'+_0x1afde9[_0x4987b4(0x3a3)]+'\x0aCurrent:\x20'+this[_0x4987b4(0x37e)][_0x4987b4(0x3a3)]);this[_0x4987b4(0x256)](_0x1afde9);},'onSendChangeset':_0x72f08c=>{var _0x34cc83=_0x378636;_0x72f08c[_0x34cc83(0x180)]||(_0x72f08c[_0x34cc83(0x180)]=this[_0x34cc83(0x1c9)],_0x72f08c[_0x34cc83(0x324)]=++this[_0x34cc83(0x41c)]);const _0x3e61fa={'eventID':_0xdbc4ab[_0x34cc83(0x24a)],'data':{'unitID':_0x72f08c[_0x34cc83(0x2df)],'unitType':this['_type'],'changeset':_0x72f08c,'memberID':this[_0x34cc83(0x361)][_0x34cc83(0x22f)]()}};this[_0x34cc83(0x361)][_0x34cc83(0x33a)](_0x3e61fa,this[_0x34cc83(0x2df)]);},'onMissingChangesets':({from:_0xde0036,to:_0x3a8a0d})=>{var _0x40f3af=_0x378636;this[_0x40f3af(0x204)][_0x40f3af(0x3c8)]('[CollaborationEntity]',_0x40f3af(0x189)+_0xde0036+_0x40f3af(0x2d1)+_0x3a8a0d);const _0x53b30f={'eventID':_0xdbc4ab[_0x40f3af(0x414)],'data':{'unitID':_0x5badd2,'unitType':this[_0x40f3af(0x228)],'from':_0xde0036,'to':_0x3a8a0d}};this[_0x40f3af(0x361)]['send'](_0x53b30f,this[_0x40f3af(0x2df)]);}};}async['_createInitialStateImpl'](_0x3ae251){var _0x5e9fe0=_0x16b230,_0x51a6f6,_0x33e8b5,_0x217e4f;const _0x3cd24f=await((_0x51a6f6=this[_0x5e9fe0(0x23e)])==null?void 0x0:_0x51a6f6[_0x5e9fe0(0x29b)](this['unitID'])),_0x22423a=(_0x33e8b5=_0x3cd24f==null?void 0x0:_0x3cd24f['mutations'])!=null?_0x33e8b5:[],_0x178554=(_0x217e4f=_0x3cd24f==null?void 0x0:_0x3cd24f['awaitingChangeset'])!=null?_0x217e4f:null,_0x2d6e31=!!(_0x178554!=null&&_0x178554[_0x5e9fe0(0x180)])&&!!(_0x178554!=null&&_0x178554[_0x5e9fe0(0x324)]);this[_0x5e9fe0(0x1c9)]=_0x2d6e31?_0x178554[_0x5e9fe0(0x180)]:_0x3ec532(),this['_changesetReqId']=_0x2d6e31?_0x178554[_0x5e9fe0(0x324)]:0x0;const _0x570f8e=this[_0x5e9fe0(0x2df)];try{this[_0x5e9fe0(0x21f)](_0x178554,_0x22423a);}catch(_0x1935d0){this[_0x5e9fe0(0x204)][_0x5e9fe0(0x384)](_0x1935d0);}const _0x4b7139=this[_0x5e9fe0(0x46a)]();if(_0x3ae251){const _0x5bee9d=Ti(this[_0x5e9fe0(0x1bb)],_0x570f8e,this['_type'],_0x178554,_0x22423a,_0x4b7139);return _0x5bee9d instanceof ae?_0x5bee9d['_schedule']():(_0x5bee9d instanceof oe||_0x5bee9d instanceof le)&&_0x5bee9d[_0x5e9fe0(0x3b1)](),_0x5bee9d;}return this[_0x5e9fe0(0x1bb)][_0x5e9fe0(0x18e)](de,_0x570f8e,this[_0x5e9fe0(0x228)],_0x178554,_0x22423a,_0x4b7139);}[_0x16b230(0x21f)](_0x32db92,_0x15d6e8){var _0x1e7ff8=_0x16b230,_0x5530c2,_0x5dce65;const _0x5bef56=this[_0x1e7ff8(0x3a9)][_0x1e7ff8(0x299)][_0x1e7ff8(0x235)](this[_0x1e7ff8(0x3a9)][_0x1e7ff8(0x299)][_0x1e7ff8(0x407)]()[_0x1e7ff8(0x389)]);(_0x5530c2=_0x5bef56((_0x32db92==null?void 0x0:_0x32db92['mutations'])||[],null))==null||_0x5530c2['forEach'](_0x58c587=>this[_0x1e7ff8(0x2be)]['executeCommand'](_0x58c587['id'],_0x58c587['params'])),(_0x5dce65=_0x5bef56(_0x15d6e8||[],null))==null||_0x5dce65['forEach'](_0xd3f55=>this[_0x1e7ff8(0x2be)]['executeCommand'](_0xd3f55['id'],_0xd3f55['params']));}};st=At([$(0x3,_0x51e09b(_0x43171c)),$(0x4,_0x51e09b(_0x541cee)),$(0x5,_0x51e09b(_0x34838d)),$(0x6,_0x51e09b(_0x2b4807)),$(0x7,_0x51e09b(ve)),$(0x8,_0xcc4d1e),$(0x9,_0x59ebdd),$(0xa,_0x15a362),$(0xb,_0x481a75),$(0xc,_0x400c2e(_t)),$(0xd,_0x400c2e(X))],st);let mt=class extends st{constructor(_0x428261,_0x24d9dd,_0xda1493,_0x43441a,_0x49c9c4,_0x324630,_0x2aaad6,_0x24d382,_0x54125e,_0x17bbb6,_0x4398f8,_0x299b4d,_0x2ab1b1,_0x269d9f){var _0x2f1d4f=_0x16b230;super(_0x428261,_0xda1493,_0x24d9dd,_0x43441a,_0x49c9c4,_0x324630,_0x2aaad6,_0x24d382,_0x54125e,_0x17bbb6,_0x4398f8,_0x299b4d,_0x2ab1b1,_0x269d9f),D(this,_0x2f1d4f(0x1b1),null),(this[_0x2f1d4f(0x2df)]=_0x428261,this[_0x2f1d4f(0x467)]=_0x24d9dd);}[_0x16b230(0x20f)](_0x56458a){this['_handlerCallback']=_0x56458a;}[_0x16b230(0x43a)](){var _0x4477ab=_0x16b230;this[_0x4477ab(0x1b1)]=null,super[_0x4477ab(0x43a)]();}[_0x16b230(0x46a)](){var _0x2c13c5=_0x16b230;const _0x83f671=super[_0x2c13c5(0x46a)]();return _0x83f671[_0x2c13c5(0x45d)]=_0x2859e8=>{var _0x1026c3=_0x2c13c5,_0x275ac5,_0x48ce09;return(_0x48ce09=(_0x275ac5=this[_0x1026c3(0x1b1)])==null?void 0x0:_0x275ac5[_0x1026c3(0x45d)])==null?void 0x0:_0x48ce09[_0x1026c3(0x16b)](_0x275ac5,_0x2859e8);},_0x83f671[_0x2c13c5(0x3a8)]=_0x44b368=>{var _0x2c6603=_0x2c13c5,_0x8b37bb,_0x215fb5;return(_0x215fb5=(_0x8b37bb=this[_0x2c6603(0x1b1)])==null?void 0x0:_0x8b37bb[_0x2c6603(0x3a8)])==null?void 0x0:_0x215fb5[_0x2c6603(0x16b)](_0x8b37bb,_0x44b368);},_0x83f671[_0x2c13c5(0x39b)]=_0x1581ee=>{var _0x10157b=_0x2c13c5,_0x18a32b,_0x5033e0;return(_0x5033e0=(_0x18a32b=this[_0x10157b(0x1b1)])==null?void 0x0:_0x18a32b[_0x10157b(0x39b)])==null?void 0x0:_0x5033e0[_0x10157b(0x16b)](_0x18a32b,_0x1581ee);},_0x83f671['onSyncEditingCollabCursor']=_0x21b3ba=>{var _0x80e2d1=_0x2c13c5,_0x3b961d,_0x17f711;return(_0x17f711=(_0x3b961d=this[_0x80e2d1(0x1b1)])==null?void 0x0:_0x3b961d[_0x80e2d1(0x2c3)])==null?void 0x0:_0x17f711[_0x80e2d1(0x16b)](_0x3b961d,_0x21b3ba);},_0x83f671[_0x2c13c5(0x43b)]=_0x12fe9a=>{var _0x47d7f4=_0x2c13c5,_0x4fa003,_0x1834a8,_0x50e675;if(!((_0x4fa003=this['_handlerCallback'])!=null&&_0x4fa003[_0x47d7f4(0x43b)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x50e675=(_0x1834a8=this['_handlerCallback'])==null?void 0x0:_0x1834a8[_0x47d7f4(0x43b)])==null?void 0x0:_0x50e675[_0x47d7f4(0x16b)](_0x1834a8,_0x12fe9a);},_0x83f671[_0x2c13c5(0x22c)]=_0x18306c=>{var _0x119356=_0x2c13c5,_0x228a35,_0x3b3053,_0x1a4e61;if(!((_0x228a35=this[_0x119356(0x1b1)])!=null&&_0x228a35[_0x119356(0x22c)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1a4e61=(_0x3b3053=this['_handlerCallback'])==null?void 0x0:_0x3b3053[_0x119356(0x22c)])==null?void 0x0:_0x1a4e61['call'](_0x3b3053,_0x18306c);},_0x83f671;}async[_0x16b230(0x40f)](){var _0x22b220=_0x16b230;const _0x124190=await super[_0x22b220(0x40f)]();return this[_0x22b220(0x40c)](this[_0x22b220(0x2be)][_0x22b220(0x463)]((_0x1ccaa7,_0x17aa21)=>{var _0x8223cc=_0x22b220;if(_0x1ccaa7[_0x8223cc(0x467)]!==_0x5b748a['MUTATION']||_0x17aa21!=null&&_0x17aa21[_0x8223cc(0x397)]||_0x17aa21!=null&&_0x17aa21['onlyLocal']||_0x1ccaa7['id']===_0x44e778['id'])return;const _0x541d20=_0x1ccaa7[_0x8223cc(0x3d1)];if((_0x541d20==null?void 0x0:_0x541d20[_0x8223cc(0x3b9)])!==this[_0x8223cc(0x2df)])return;const _0x2e9413=_0x1ccaa7,_0x476b3f=this[_0x8223cc(0x3a9)][_0x8223cc(0x299)][_0x8223cc(0x235)](this['_compressMutationService'][_0x8223cc(0x299)][_0x8223cc(0x407)]()['COMPRESS_MUTATION_SEND'])([_0x2e9413],this[_0x8223cc(0x3a4)])||[_0x2e9413];this[_0x8223cc(0x271)](_0x476b3f[0x0]);})),_0x124190;}};mt=At([$(0x3,_0x51e09b(_0x43171c)),$(0x4,_0x51e09b(_0x541cee)),$(0x5,_0x51e09b(_0x34838d)),$(0x6,_0x51e09b(_0x2b4807)),$(0x7,_0x51e09b(ve)),$(0x8,_0xcc4d1e),$(0x9,_0x59ebdd),$(0xa,_0x15a362),$(0xb,_0x481a75),$(0xc,_0x400c2e(_t)),$(0xd,_0x400c2e(X))],mt);let St=class extends st{constructor(_0xc6f36,_0x24659a,_0x511de7,_0x90c136,_0xe798f,_0x50b000,_0x16a2d3,_0x5ce37e,_0x24f49d,_0x15e5b9,_0x4b1457,_0x28d263,_0x37ecbc,_0x530831,_0x28f087){super(_0xc6f36,_0x511de7,_0x24659a,_0x90c136,_0xe798f,_0x50b000,_0x16a2d3,_0x24f49d,_0x15e5b9,_0x4b1457,_0x28d263,_0x37ecbc,_0x530831,_0x28f087),this['unitID']=_0xc6f36,this['type']=_0x24659a,this['_sheetTransformSelectionsService']=_0x5ce37e;}['_createHandler'](){var _0x23e137=_0x16b230;const _0x8570a1=super[_0x23e137(0x46a)]();return _0x8570a1[_0x23e137(0x39b)]=_0x9e004=>this[_0x23e137(0x229)][_0x23e137(0x18c)](_0x9e004),_0x8570a1;}async[_0x16b230(0x40f)](){var _0x8037f5=_0x16b230;const _0x509a7d=await super[_0x8037f5(0x40f)]();return this[_0x8037f5(0x40c)](this[_0x8037f5(0x2be)][_0x8037f5(0x463)]((_0x3b142b,_0x15d4c0)=>{var _0x4e3c61=_0x8037f5;if(_0x3b142b[_0x4e3c61(0x467)]!==_0x5b748a[_0x4e3c61(0x31b)]||_0x15d4c0!=null&&_0x15d4c0[_0x4e3c61(0x397)]||_0x15d4c0!=null&&_0x15d4c0[_0x4e3c61(0x19e)])return;const _0x34ef92=_0x3b142b[_0x4e3c61(0x3d1)];if((_0x34ef92==null?void 0x0:_0x34ef92[_0x4e3c61(0x3b9)])!==this[_0x4e3c61(0x2df)])return;const _0x5df6bf=_0x3b142b,_0x43e30a=this['_compressMutationService'][_0x4e3c61(0x299)]['fetchThroughInterceptors'](this[_0x4e3c61(0x3a9)]['interceptor'][_0x4e3c61(0x407)]()[_0x4e3c61(0x2e4)])([_0x5df6bf],this['_univerInstanceService'])||[_0x5df6bf];this[_0x4e3c61(0x271)](_0x43e30a[0x0]);})),_0x509a7d;}};St=At([$(0x3,_0x51e09b(_0x43171c)),$(0x4,_0x51e09b(_0x541cee)),$(0x5,_0x51e09b(_0x34838d)),$(0x6,_0x51e09b(_0x2b4807)),$(0x7,_0x51e09b(it)),$(0x8,_0x51e09b(ve)),$(0x9,_0xcc4d1e),$(0xa,_0x59ebdd),$(0xb,_0x15a362),$(0xc,_0x481a75),$(0xd,_0x400c2e(_t)),$(0xe,_0x400c2e(X))],St);const Fs=_0x4ba64a(_0x16b230(0x1c7));function js(_0x2aed1f){var _0x581c47=_0x16b230,_0x39db8,_0x37a8c9,_0x18ef50,_0x12372e,_0x5dce56;const _0x19fe22=_0x2aed1f[_0x581c47(0x3a7)],_0x51aa3a=JSON[_0x581c47(0x17d)](_0x19fe22);switch(_0x51aa3a[_0x581c47(0x2ba)]){case j['HEARTBEAT']:case j[_0x581c47(0x2f9)]:{const _0x1af8f8=_0x51aa3a[_0x581c47(0x281)];return{..._0x51aa3a,'data':_0x1af8f8,'cmd':_0x51aa3a[_0x581c47(0x2ba)]};}case j[_0x581c47(0x3dc)]:{const _0x5e44dc=_0x51aa3a[_0x581c47(0x36c)];return{..._0x51aa3a,'data':_0x5e44dc,'cmd':_0x51aa3a[_0x581c47(0x2ba)]};}case j[_0x581c47(0x418)]:{const _0xaa426=_0x51aa3a[_0x581c47(0x276)];switch(_0xaa426[_0x581c47(0x3e4)]){case _0xdbc4ab['PERMISSION_REJ']:return{..._0x51aa3a,'data':{..._0xaa426,'data':(_0x39db8=_0xaa426[_0x581c47(0x379)])==null?void 0x0:_0x39db8['cs']},'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab[_0x581c47(0x217)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':(_0x37a8c9=_0xaa426[_0x581c47(0x240)])==null?void 0x0:_0x37a8c9['cs']},'cmd':_0x51aa3a['cmd']};case _0xdbc4ab[_0x581c47(0x3ec)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':(_0x18ef50=_0xaa426[_0x581c47(0x242)])==null?void 0x0:_0x18ef50['cs']},'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab[_0x581c47(0x2d7)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':(_0x12372e=_0xaa426[_0x581c47(0x443)])==null?void 0x0:_0x12372e['cs']},'cmd':_0x51aa3a['cmd']};case _0xdbc4ab[_0x581c47(0x213)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':(_0x5dce56=_0xaa426['csShouldRetryEvent'])==null?void 0x0:_0x5dce56['cs']},'cmd':_0x51aa3a['cmd']};case _0xdbc4ab[_0x581c47(0x3c3)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426[_0x581c47(0x2e7)]},'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab[_0x581c47(0x43c)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426[_0x581c47(0x230)]},'cmd':_0x51aa3a['cmd']};case _0xdbc4ab[_0x581c47(0x20d)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426['leaveEvent']},'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab[_0x581c47(0x30c)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426[_0x581c47(0x3c0)]},'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab[_0x581c47(0x1b0)]:case _0xdbc4ab[_0x581c47(0x265)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426[_0x581c47(0x1b3)]},'cmd':_0x51aa3a['cmd']};case _0xdbc4ab['LIVESHARE_TERMINATE']:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426[_0x581c47(0x3c0)]},'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab['MSG_FOR_ERROR']:return{..._0x51aa3a,'data':_0xaa426,'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab['COMMENT_UPDATE']:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426[_0x581c47(0x2b6)]},'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab[_0x581c47(0x332)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426[_0x581c47(0x44c)]},'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab[_0x581c47(0x263)]:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426[_0x581c47(0x35f)]},'cmd':_0x51aa3a[_0x581c47(0x2ba)]};case _0xdbc4ab['UNISCRIPT_RUN']:return{..._0x51aa3a,'data':{..._0xaa426,'data':_0xaa426[_0x581c47(0x33f)]},'cmd':_0x51aa3a['cmd']};default:return _0x51aa3a;}}default:return _0x51aa3a;}}function Vs(_0x29bdf3){var _0x1577c1=_0x16b230;switch(_0x29bdf3[_0x1577c1(0x2ba)]){case j[_0x1577c1(0x23d)]:case j[_0x1577c1(0x2f9)]:return JSON[_0x1577c1(0x37d)]({'cmd':_0x29bdf3[_0x1577c1(0x2ba)],'routeKey':_0x29bdf3[_0x1577c1(0x27e)]});case j[_0x1577c1(0x254)]:{let _0x392f61;switch(_0x29bdf3[_0x1577c1(0x3a7)][_0x1577c1(0x3e4)]){case _0xdbc4ab[_0x1577c1(0x3c3)]:{_0x392f61={'eventID':_0xdbc4ab[_0x1577c1(0x3c3)],'updateCursorEvent':_0x29bdf3['data'][_0x1577c1(0x3a7)]};break;}case _0xdbc4ab['USERS_LEAVE']:{_0x392f61={'eventID':_0xdbc4ab[_0x1577c1(0x20d)],'leaveEvent':_0x29bdf3['data'][_0x1577c1(0x3a7)]};break;}case _0xdbc4ab[_0x1577c1(0x43c)]:{_0x392f61={'eventID':_0xdbc4ab[_0x1577c1(0x43c)],'joinEvent':_0x29bdf3[_0x1577c1(0x3a7)][_0x1577c1(0x3a7)]};break;}case _0xdbc4ab[_0x1577c1(0x30c)]:{_0x392f61={'eventID':_0xdbc4ab[_0x1577c1(0x30c)],'liveShareNewHost':_0x29bdf3['data'][_0x1577c1(0x3a7)]};break;}case _0xdbc4ab[_0x1577c1(0x265)]:{_0x392f61={'eventID':_0xdbc4ab['LIVESHARE_OPERATION'],'liveShareOperation':_0x29bdf3[_0x1577c1(0x3a7)][_0x1577c1(0x3a7)]};break;}case _0xdbc4ab['LIVESHARE_TERMINATE']:{_0x392f61={'eventID':_0xdbc4ab[_0x1577c1(0x158)],'liveShareTerminate':_0x29bdf3[_0x1577c1(0x3a7)][_0x1577c1(0x3a7)]};break;}case _0xdbc4ab[_0x1577c1(0x28c)]:{_0x392f61={'eventID':_0xdbc4ab[_0x1577c1(0x28c)],'liveShareRequestHost':_0x29bdf3[_0x1577c1(0x3a7)][_0x1577c1(0x3a7)]};break;}case _0xdbc4ab['LIVESHARE_FETCH_OPERATIONS']:{_0x392f61={'eventID':_0xdbc4ab[_0x1577c1(0x1b0)]};break;}default:_0x392f61={'eventID':_0x29bdf3['data'][_0x1577c1(0x3e4)]};}return JSON[_0x1577c1(0x37d)]({'cmd':_0x29bdf3['cmd'],'routeKey':_0x29bdf3['routeKey'],'collaMsg':_0x392f61});}case j[_0x1577c1(0x3dc)]:return JSON[_0x1577c1(0x37d)]({'cmd':_0x29bdf3[_0x1577c1(0x2ba)],'routeKey':_0x29bdf3[_0x1577c1(0x27e)],'joinReq':_0x29bdf3[_0x1577c1(0x3a7)]});case j[_0x1577c1(0x177)]:return JSON[_0x1577c1(0x37d)]({'cmd':_0x29bdf3['cmd'],'routeKey':_0x29bdf3[_0x1577c1(0x27e)],'leaveReq':_0x29bdf3[_0x1577c1(0x3a7)]});default:throw new Error(_0x1577c1(0x328));}}var Gs=Object[_0x16b230(0x262)],Ws=(_0x12d077,_0x330fb5,_0x2a2725,_0x70618d)=>{var _0x3bf69e=_0x16b230;for(var _0xac296a=_0x70618d>0x1?void 0x0:_0x70618d?Gs(_0x330fb5,_0x2a2725):_0x330fb5,_0xae6482=_0x12d077[_0x3bf69e(0x42a)]-0x1,_0x354f58;_0xae6482>=0x0;_0xae6482--)(_0x354f58=_0x12d077[_0xae6482])&&(_0xac296a=_0x354f58(_0xac296a)||_0xac296a);return _0xac296a;},ye=(_0x22bb31,_0x502ab7)=>(_0x4250f1,_0x111e5f)=>_0x502ab7(_0x4250f1,_0x111e5f,_0x22bb31);const Oi=_0x4ba64a(_0x16b230(0x1ab));function Ys(_0x1549a2,_0x2b5923,_0x36b75d){var _0xabca18=_0x16b230;return _0x1549a2+'/'+_0x2b5923+_0xabca18(0x302)+_0x36b75d+_0xabca18(0x1de);}let Gt=class extends _0x4c5799{constructor(_0x19feac,_0x230636,_0x217884,_0x246842,_0x591430){var _0x425437=_0x16b230;super(),this[_0x425437(0x1bb)]=_0x19feac,this[_0x425437(0x3b2)]=_0x230636,this[_0x425437(0x438)]=_0x217884,this[_0x425437(0x204)]=_0x246842,this[_0x425437(0x1b4)]=_0x591430;}[_0x16b230(0x18f)](_0x14ec0a){var _0x1321ad=_0x16b230;const _0x172c7d=this[_0x1321ad(0x1bb)][_0x1321ad(0x234)](_0x1677dd);if(!_0x172c7d)throw new Error(_0x1321ad(0x1cc));const _0x44abfc=_0x172c7d[_0x1321ad(0x2a5)](_0x14ec0a);if(!_0x44abfc)throw new Error(_0x1321ad(0x436));const _0x5045c6=new _0x21d520(),_0x58f68e=new _0x492b16();_0x5045c6['add'](_0x44abfc[_0x1321ad(0x27b)][_0x1321ad(0x465)](_0x1a26de=>_0x58f68e[_0x1321ad(0x31e)](_0x1a26de))),_0x5045c6[_0x1321ad(0x353)](_0x33ec8b(()=>_0x58f68e[_0x1321ad(0x42e)]()));const _0x5e1fa2=new _0x492b16();_0x5045c6[_0x1321ad(0x353)](_0x44abfc['error$'][_0x1321ad(0x465)](_0x358b67=>_0x5e1fa2['next'](_0x358b67))),_0x5045c6[_0x1321ad(0x353)](_0x33ec8b(()=>_0x5e1fa2[_0x1321ad(0x42e)]()));const _0x3bb8e6=new _0x492b16();_0x5045c6[_0x1321ad(0x353)](_0x44abfc[_0x1321ad(0x2af)][_0x1321ad(0x465)](_0x772de8=>{var _0x26f9fd=_0x1321ad;const _0x226f65=js(_0x772de8);_0x3bb8e6[_0x26f9fd(0x31e)](_0x226f65);})),_0x5045c6[_0x1321ad(0x353)](_0x33ec8b(()=>_0x3bb8e6[_0x1321ad(0x42e)]()));let _0x596cc5;const _0x5f00a1=()=>{var _0x241121=_0x1321ad;_0x5e1fa2[_0x241121(0x31e)](new Event(_0x241121(0x214))),_0x58f68e[_0x241121(0x31e)](new Event(_0x241121(0x214))),_0x596cc5[_0x241121(0x27f)]();};return _0x596cc5={'memberID':'','close$':_0x58f68e[_0x1321ad(0x25a)](),'error$':_0x5e1fa2[_0x1321ad(0x25a)](),'open$':_0x44abfc[_0x1321ad(0x45e)],'message$':_0x3bb8e6['asObservable'](),'send':_0x2fca98=>{var _0x196ccc=_0x1321ad;if(_0x2fca98['cmd']===j[_0x196ccc(0x254)]){if(_0x2fca98[_0x196ccc(0x3a7)]['eventID']===_0xdbc4ab[_0x196ccc(0x24a)]){this[_0x196ccc(0x22a)](_0x596cc5,_0x2fca98[_0x196ccc(0x3a7)])[_0x196ccc(0x3f3)](_0x233259=>{var _0xb752fc=_0x196ccc;this[_0xb752fc(0x204)][_0xb752fc(0x384)](_0x233259),_0x5f00a1();});return;}if(_0x2fca98[_0x196ccc(0x3a7)][_0x196ccc(0x3e4)]===_0xdbc4ab['FETCH_MISSING']){const _0x4e716f=_0x2fca98[_0x196ccc(0x3a7)];this[_0x196ccc(0x408)](_0x4e716f)[_0x196ccc(0x32b)](_0x5efe1f=>{var _0x50c8b9=_0x196ccc;_0x3bb8e6[_0x50c8b9(0x31e)]({'cmd':j[_0x50c8b9(0x418)],'code':Ee['OK'],'routeKey':_0x4e716f[_0x50c8b9(0x3a7)]['unitID'],'routeType':'','data':{'eventID':_0xdbc4ab[_0x50c8b9(0x296)],'data':{'changesets':_0x5efe1f}}});})['catch'](_0x4820e4=>{var _0x15f369=_0x196ccc;this['_logService'][_0x15f369(0x384)](_0x4820e4),_0x5f00a1();});return;}}_0x44abfc[_0x196ccc(0x33a)](Vs(_0x2fca98));},'close':()=>{var _0x224efc=_0x1321ad;_0x44abfc[_0x224efc(0x27f)](),_0x5045c6['dispose']();}},_0x596cc5;}async[_0x16b230(0x22a)](_0x1ac8e8,_0x285b6a){var _0x37c07c=_0x16b230,_0x41ccd8;const {unitType:_0x429406,unitID:_0x223fb2,changeset:_0x1a97ae}=_0x285b6a[_0x37c07c(0x3a7)],_0xaefc8a={'unitID':_0x223fb2,'memberID':_0x1ac8e8[_0x37c07c(0x255)],'type':_0x429406,'changeset':_0x55fcc4(_0x1a97ae)},_0x5a46dc=this['_configService']['getConfig'](K),_0x1e5b51=Ys((_0x41ccd8=_0x5a46dc==null?void 0x0:_0x5a46dc[_0x37c07c(0x1ad)])!=null?_0x41ccd8:Os,_0x429406,_0x223fb2);try{await this[_0x37c07c(0x3b2)][_0x37c07c(0x320)](_0x1e5b51,{'body':_0xaefc8a});}catch(_0x27ebe4){throw this[_0x37c07c(0x204)][_0x37c07c(0x384)](_0x37c07c(0x2e6),'submit\x20changeset\x20error!'),_0x27ebe4;}}async['_fetchMissChangesets'](_0x1a8f94){var _0x3e6eb4=_0x16b230;const {unitID:_0x2cbcf8,from:_0x7c00b7,to:_0x174689,unitType:_0x4d9524}=_0x1a8f94[_0x3e6eb4(0x3a7)];return(await this['_snapshotServerService'][_0x3e6eb4(0x2e0)]({'metadata':void 0x0},{'unitID':_0x2cbcf8,'type':_0x4d9524,'from':_0x7c00b7,'to':_0x174689}))[_0x3e6eb4(0x3a6)]['map'](_0x29bad4=>((_0x29bad4[_0x3e6eb4(0x178)]===null||_0x29bad4[_0x3e6eb4(0x178)]===void 0x0)&&(_0x29bad4[_0x3e6eb4(0x178)]=[]),_0x29bad4));}};Gt=Ws([ye(0x0,_0x51e09b(_0x43171c)),ye(0x1,_0x51e09b(_0x1be1ef)),ye(0x2,_0x50e1f2),ye(0x3,_0x59ebdd),ye(0x4,_0x558832)],Gt);var Ks=Object[_0x16b230(0x262)],qs=(_0x52fa39,_0x1c73da,_0xe5edcb,_0x31d827)=>{for(var _0x25b35c=_0x31d827>0x1?void 0x0:_0x31d827?Ks(_0x1c73da,_0xe5edcb):_0x1c73da,_0x187bb6=_0x52fa39['length']-0x1,_0x5548ee;_0x187bb6>=0x0;_0x187bb6--)(_0x5548ee=_0x52fa39[_0x187bb6])&&(_0x25b35c=_0x5548ee(_0x25b35c)||_0x25b35c);return _0x25b35c;},Re=(_0x140442,_0x21d990)=>(_0x113701,_0x5eb81e)=>_0x21d990(_0x113701,_0x5eb81e,_0x140442);let Le=class extends _0x4c5799{constructor(_0x3070d1,_0x4081df,_0x4ca738,_0x39fef9,_0x5f0163,_0x44c0b9){var _0x278e8f=_0x16b230;super(),D(this,_0x278e8f(0x2ce),new _0x3906b7(void 0x0)),D(this,_0x278e8f(0x1f0),this[_0x278e8f(0x2ce)][_0x278e8f(0x25a)]()),D(this,_0x278e8f(0x345),null),D(this,'_sessions',new Map()),D(this,_0x278e8f(0x1f3),new _0x3906b7(Ie[_0x278e8f(0x445)])),D(this,'status$',this[_0x278e8f(0x1f3)]['asObservable']()),D(this,'_socketReady',!0x1),D(this,'_retryConnectingTimer'),D(this,_0x278e8f(0x2ae),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x278e8f(0x1b9)),(this[_0x278e8f(0x1bb)]=_0x3070d1,this[_0x278e8f(0x204)]=_0x4081df,this[_0x278e8f(0x438)]=_0x4ca738,this['_socketService']=_0x39fef9,this['_collaborationUIEventService']=_0x5f0163,this[_0x278e8f(0x165)]=_0x44c0b9,this[_0x278e8f(0x1fb)]());}get['_socket'](){var _0x315825=_0x16b230;return this[_0x315825(0x2ce)][_0x315825(0x3dd)]();}[_0x16b230(0x1fb)](){var _0x26c0c6=_0x16b230;this[_0x26c0c6(0x165)]&&this[_0x26c0c6(0x40c)](this[_0x26c0c6(0x165)][_0x26c0c6(0x327)]['subscribe'](_0x38e74a=>{var _0xca0e2c=_0x26c0c6;_0x38e74a&&!this[_0xca0e2c(0x284)]&&this[_0xca0e2c(0x43d)](),_0x38e74a||this['_onOffline']();}));}['dispose'](){var _0x5ed5a7=_0x16b230;super['dispose'](),this[_0x5ed5a7(0x363)](),this[_0x5ed5a7(0x448)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x5ed5a7(0x428)](_0x456c07=>_0x456c07['dispose']()),this[_0x5ed5a7(0x3df)][_0x5ed5a7(0x161)](),this[_0x5ed5a7(0x1f3)][_0x5ed5a7(0x42e)]();}async[_0x16b230(0x23a)](_0x115c07){var _0x4a21e0=_0x16b230;if(this[_0x4a21e0(0x3df)][_0x4a21e0(0x303)](_0x115c07))return this[_0x4a21e0(0x3df)][_0x4a21e0(0x234)](_0x115c07);this['_tryEnsureSocket']();const _0x35c887=this['_injector'][_0x4a21e0(0x18e)](It,_0x115c07,this[_0x4a21e0(0x2ce)][_0x4a21e0(0x25a)]());return this['_sessions'][_0x4a21e0(0x2f1)](_0x115c07,_0x35c887),_0x35c887;}['closeSession'](_0x477acb){var _0x47c914=_0x16b230,_0x438918;const _0x265c4f=this['_sessions'][_0x47c914(0x234)](_0x477acb);_0x265c4f&&(this[_0x47c914(0x3df)][_0x47c914(0x386)](_0x477acb),_0x265c4f['close']()),this[_0x47c914(0x3df)][_0x47c914(0x3f2)]||(_0x438918=this[_0x47c914(0x284)])==null||_0x438918[_0x47c914(0x27f)]();}[_0x16b230(0x43d)](){var _0x69f335=_0x16b230;this[_0x69f335(0x2ae)]=0x0,this[_0x69f335(0x363)](),this[_0x69f335(0x25f)]();}[_0x16b230(0x363)](){var _0x5c0e1a=_0x16b230;this[_0x5c0e1a(0x33b)]!=null&&(clearTimeout(this[_0x5c0e1a(0x33b)]),this[_0x5c0e1a(0x33b)]=null);}async['_createSocket'](){var _0x3912c7=_0x16b230,_0x323e6d;const _0x20b8bd=this['_configService'][_0x3912c7(0x1d9)](K),_0x2403fd=(_0x323e6d=_0x20b8bd==null?void 0x0:_0x20b8bd[_0x3912c7(0x412)])!=null?_0x323e6d:ps,_0x1430a3=await this[_0x3912c7(0x26e)][_0x3912c7(0x2a5)](_0x2403fd);return this[_0x3912c7(0x345)]=_0x1430a3,_0x1430a3;}async[_0x16b230(0x2bb)](){var _0x284168=_0x16b230,_0x5513e0,_0x35deda;try{const _0x57f622=(_0x35deda=(_0x5513e0=this[_0x284168(0x284)])!=null?_0x5513e0:this[_0x284168(0x345)])!=null?_0x35deda:await this[_0x284168(0x44d)]();if(_0x57f622){const _0x550055=_0x57f622[_0x284168(0x33a)];_0x57f622[_0x284168(0x33a)]=_0x1c2b89=>(this[_0x284168(0x315)](),_0x550055[_0x284168(0x3ad)](_0x57f622,[_0x1c2b89])),_0x57f622['message$'][_0x284168(0x465)](_0x22bfc5=>this[_0x284168(0x3ef)](_0x57f622,_0x22bfc5)),_0x57f622['error$'][_0x284168(0x208)](_0x380f44(0x1))[_0x284168(0x465)](_0x5a45de=>this[_0x284168(0x204)][_0x284168(0x384)](_0x284168(0x14f),_0x5a45de)),_0x57f622[_0x284168(0x45e)][_0x284168(0x208)](_0x380f44(0x1))['subscribe'](()=>{var _0x3294d1=_0x284168;this[_0x3294d1(0x35b)](_0x57f622);}),_0x57f622[_0x284168(0x27b)][_0x284168(0x208)](_0x380f44(0x1))[_0x284168(0x465)](_0x1ac6b8=>{var _0xd138dd=_0x284168;this[_0xd138dd(0x204)][_0xd138dd(0x3c8)]('[CollaborationSessionService]',_0xd138dd(0x19d),_0x1ac6b8),this['_onConnectionFailed']();});}}catch(_0x190333){this['_logService']['error'](_0x190333),this[_0x284168(0x1d6)]();}}['_onConnectionOpen'](_0x2b8c8e){var _0x230cce=_0x16b230;this[_0x230cce(0x204)][_0x230cce(0x3c8)]('[CollaborationSessionService]',_0x230cce(0x41b)),_0x2b8c8e[_0x230cce(0x33a)]({'cmd':j[_0x230cce(0x2f9)]}),this[_0x230cce(0x315)]();}[_0x16b230(0x258)](){var _0x44c549=_0x16b230;this[_0x44c549(0x346)]=!0x1,this[_0x44c549(0x345)]=null,this[_0x44c549(0x1f3)]['next'](Ie[_0x44c549(0x190)]),this[_0x44c549(0x2ce)]['next'](null),this[_0x44c549(0x448)](),this[_0x44c549(0x451)]();}['_onConnectionFailed'](){var _0x3456ed=_0x16b230,_0x2ec6f6;this[_0x3456ed(0x258)](),this['_retryCount']<((_0x2ec6f6=this[_0x3456ed(0x438)][_0x3456ed(0x1d9)](gs))!=null?_0x2ec6f6:Ts)?(this[_0x3456ed(0x434)][_0x3456ed(0x3d9)]({'id':re[_0x3456ed(0x21b)]}),this['_tryReconnect']()):this[_0x3456ed(0x434)][_0x3456ed(0x3d9)]({'id':re[_0x3456ed(0x3a2)]});}[_0x16b230(0x25f)](){var _0x22d7d5=_0x16b230,_0x1da2d9;const _0xb6c72c=this[_0x22d7d5(0x2ae)],_0x538dd8=this[_0x22d7d5(0x438)][_0x22d7d5(0x1d9)](K),_0x3fb134=_0xb6c72c===0x0?0x0:((_0x1da2d9=_0x538dd8==null?void 0x0:_0x538dd8[_0x22d7d5(0x1d2)])!=null?_0x1da2d9:Ss)*0x2**_0xb6c72c;this[_0x22d7d5(0x33b)]=setTimeout(()=>{var _0x5e78e9=_0x22d7d5;clearTimeout(this['_retryConnectingTimer']),this[_0x5e78e9(0x33b)]=null,this[_0x5e78e9(0x2bb)]();},_0x3fb134),this[_0x22d7d5(0x2ae)]+=0x1;}[_0x16b230(0x3ef)](_0x410d3c,_0x2f1e78){var _0x5c6ea9=_0x16b230;const {cmd:_0x53a16b}=_0x2f1e78;_0x53a16b===j[_0x5c6ea9(0x2f9)]&&!this[_0x5c6ea9(0x346)]&&(_0x410d3c['memberID']=_0x2f1e78['data'][_0x5c6ea9(0x255)],this['_socket$'][_0x5c6ea9(0x31e)](_0x410d3c),this['_status$'][_0x5c6ea9(0x31e)](Ie[_0x5c6ea9(0x211)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x53a16b===j[_0x5c6ea9(0x23d)]&&this[_0x5c6ea9(0x448)](),this['_rescheduleHeartbeat']();}[_0x16b230(0x315)](){var _0xa4152f=_0x16b230,_0x573277;this[_0xa4152f(0x451)](),this[_0xa4152f(0x1f7)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x573277=this['_configService']['getConfig'](Is))!=null?_0x573277:ms);}['_sendHeartbeat'](){var _0x31c943=_0x16b230;this[_0x31c943(0x284)][_0x31c943(0x33a)]({'cmd':j[_0x31c943(0x23d)]}),this['_waitForHeartbeatResponse']();}[_0x16b230(0x2e1)](){var _0x28cb73=_0x16b230,_0x19e0fc;this['_timeoutTimer']=setTimeout(()=>this[_0x28cb73(0x1d6)](),(_0x19e0fc=this[_0x28cb73(0x438)]['getConfig'](di))!=null?_0x19e0fc:fi);}[_0x16b230(0x451)](){var _0x3efe5d=_0x16b230;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3efe5d(0x1f7)]),this[_0x3efe5d(0x1f7)]=null);}['_clearTimeoutTimer'](){var _0x243fde=_0x16b230;this[_0x243fde(0x1b9)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x243fde(0x1b9)]=null);}};Le=qs([Re(0x0,_0x51e09b(_0x43171c)),Re(0x1,_0x59ebdd),Re(0x2,_0x50e1f2),Re(0x3,Oi),Re(0x4,_0x51e09b(ve)),Re(0x5,_0x400c2e(Fs))],Le);var zs=Object[_0x16b230(0x262)],Xs=(_0x41fbdc,_0x13a291,_0x1a3b19,_0x3155ee)=>{var _0x3d1065=_0x16b230;for(var _0x39fd14=_0x3155ee>0x1?void 0x0:_0x3155ee?zs(_0x13a291,_0x1a3b19):_0x13a291,_0x54d54=_0x41fbdc[_0x3d1065(0x42a)]-0x1,_0x59a8d1;_0x54d54>=0x0;_0x54d54--)(_0x59a8d1=_0x41fbdc[_0x54d54])&&(_0x39fd14=_0x59a8d1(_0x39fd14)||_0x39fd14);return _0x39fd14;},Be=(_0x36bf9b,_0x93cb88)=>(_0x48ea1a,_0x1e51fd)=>_0x93cb88(_0x48ea1a,_0x1e51fd,_0x36bf9b);let nt=class extends _0x5e99c8{constructor(_0x375a11,_0x5569fe,_0x36cfa2,_0x84d2b1){var _0x2b4b14=_0x16b230,_0x280e27;super(),D(this,_0x2b4b14(0x1d7),new Map()),D(this,'_entityInit$',new _0x492b16()),D(this,_0x2b4b14(0x362),this[_0x2b4b14(0x3c5)][_0x2b4b14(0x25a)]()),(this[_0x2b4b14(0x1bb)]=_0x375a11,this[_0x2b4b14(0x1e0)]=_0x5569fe,this[_0x2b4b14(0x438)]=_0x36cfa2,this[_0x2b4b14(0x3a4)]=_0x84d2b1,((_0x280e27=this[_0x2b4b14(0x438)]['getConfig'](K))==null?void 0x0:_0x280e27[_0x2b4b14(0x1a8)])!==!0x1&&this[_0x2b4b14(0x40f)]());}[_0x16b230(0x43a)](){var _0x78a073=_0x16b230;super[_0x78a073(0x43a)](),this[_0x78a073(0x1d7)][_0x78a073(0x428)](_0xa6397=>_0xa6397[_0x78a073(0x43a)]()),this['_entities']['clear']();}[_0x16b230(0x318)](_0xa85c66){var _0x24a6aa;return(_0x24a6aa=this['_entities']['get'](_0xa85c66))!=null?_0x24a6aa:null;}[_0x16b230(0x198)](_0x94aa42){var _0x38f6e1=_0x16b230;const _0x4f935e=this[_0x38f6e1(0x318)](_0x94aa42);return _0x4f935e?_0x5bafa1(_0x4f935e):this[_0x38f6e1(0x3c5)][_0x38f6e1(0x208)](_0x4b54a1(_0xc2d00d=>_0xc2d00d[_0x38f6e1(0x2df)]===_0x94aa42));}[_0x16b230(0x1d0)](_0x24ad8f){var _0x5299d7=_0x16b230;return _0x33c3a5(this['getCollabEntity$'](_0x24ad8f)[_0x5299d7(0x208)](_0x4fd3ae(()=>{})));}['_init'](){var _0x56657f=_0x16b230;this['_univerInstanceService'][_0x56657f(0x2d5)](_0x5afe7c[_0x56657f(0x1c1)])[_0x56657f(0x208)](_0x4a7293(this[_0x56657f(0x2e2)]),_0x30d443(0x10))[_0x56657f(0x465)](async _0x21f416=>{var _0x241690=_0x56657f;const _0x2c5e69=_0x21f416['getUnitId'](),_0x15600f=await this['_startCollaboration'](_0x2c5e69,Q[_0x241690(0x1c1)]);this[_0x241690(0x1d7)]['set'](_0x2c5e69,_0x15600f);}),this[_0x56657f(0x3a4)]['getTypeOfUnitAdded$'](_0x5afe7c[_0x56657f(0x411)])[_0x56657f(0x208)](_0x4a7293(this[_0x56657f(0x2e2)]),_0x30d443(0x10))[_0x56657f(0x208)](_0x4b54a1(_0x43e70c=>!_0x43e70c[_0x56657f(0x30e)]()[_0x56657f(0x25b)]('__')))['subscribe'](async _0x320770=>{var _0x309d5a=_0x56657f;const _0x15f439=_0x320770[_0x309d5a(0x30e)](),_0x150e10=await this[_0x309d5a(0x206)](_0x15f439,Q['UNIVER_DOC']);this['_entities'][_0x309d5a(0x2f1)](_0x15f439,_0x150e10);}),_0x18ac2d(this[_0x56657f(0x3a4)]['getTypeOfUnitDisposed$'](_0x5afe7c[_0x56657f(0x1c1)]),this[_0x56657f(0x3a4)][_0x56657f(0x21e)](_0x5afe7c[_0x56657f(0x411)]))['pipe'](_0x4a7293(this['dispose$']))[_0x56657f(0x465)](_0x179812=>{var _0x41aabf=_0x56657f;const _0x246678=_0x179812[_0x41aabf(0x30e)](),_0x4903c1=this[_0x41aabf(0x1d7)][_0x41aabf(0x234)](_0x246678);_0x4903c1&&(_0x4903c1[_0x41aabf(0x43a)](),this[_0x41aabf(0x1d7)][_0x41aabf(0x386)](_0x246678));});}async[_0x16b230(0x206)](_0x3059df,_0x3e3916){var _0x510116=_0x16b230;const _0x15f7ad=await this[_0x510116(0x1e0)][_0x510116(0x23a)](_0x3059df),_0xd51be0=this[_0x510116(0x1bb)][_0x510116(0x18e)](this[_0x510116(0x426)](_0x3e3916),_0x3059df,_0x3e3916,_0x15f7ad);return await _0xd51be0[_0x510116(0x1c6)](),this[_0x510116(0x3c5)][_0x510116(0x31e)](_0xd51be0),_0xd51be0;}[_0x16b230(0x426)](_0x3036df){var _0x5644c6=_0x16b230;switch(_0x3036df){case Q[_0x5644c6(0x411)]:return mt;case Q['UNIVER_SHEET']:return St;default:throw new Error(_0x5644c6(0x26c)+_0x3036df);}}};nt=Xs([Be(0x0,_0x51e09b(_0x43171c)),Be(0x1,_0x51e09b(Le)),Be(0x2,_0x50e1f2),Be(0x3,_0xcc4d1e)],nt);var Js=Object[_0x16b230(0x262)],Zs=(_0x55e305,_0x554c37,_0x229d43,_0x4071c4)=>{for(var _0x5734fe=_0x4071c4>0x1?void 0x0:_0x4071c4?Js(_0x554c37,_0x229d43):_0x554c37,_0x21dedc=_0x55e305['length']-0x1,_0x26c4cd;_0x21dedc>=0x0;_0x21dedc--)(_0x26c4cd=_0x55e305[_0x21dedc])&&(_0x5734fe=_0x26c4cd(_0x5734fe)||_0x5734fe);return _0x5734fe;},Wt=(_0x4d0e2b,_0x4747ac)=>(_0x21a1cb,_0xfc5972)=>_0x4747ac(_0x21a1cb,_0xfc5972,_0x4d0e2b);const Qs=_0x16b230(0x1a1),en=_0x16b230(0x45c);let gt=class extends _0x4c5799{constructor(_0x34be95,_0x2dc7ea){var _0x4e33dd=_0x16b230;super(),this[_0x4e33dd(0x3a4)]=_0x34be95,this[_0x4e33dd(0x438)]=_0x2dc7ea,this[_0x4e33dd(0x40f)]();}['_init'](){var _0x352fa3=_0x16b230;this[_0x352fa3(0x40c)](this[_0x352fa3(0x3a4)][_0x352fa3(0x37b)][_0x352fa3(0x465)](()=>{var _0x423b49=_0x352fa3,_0x5b302d;const _0x36dece=this[_0x423b49(0x3a4)]['getFocusedUnit']();let _0x2d78e4=(_0x5b302d=this['_configService'][_0x423b49(0x1d9)](Qs))!=null?_0x5b302d:en;_0x36dece instanceof _0x337aae&&(_0x2d78e4=_0x36dece[_0x423b49(0x356)]),document[_0x423b49(0x461)]=_0x2d78e4;}));}};gt=Zs([Wt(0x0,_0xcc4d1e),Wt(0x1,_0x50e1f2)],gt);var tn=Object[_0x16b230(0x262)],sn=(_0x1e8427,_0xb06798,_0x2f2a11,_0x1551ba)=>{for(var _0x2d6df7=_0x1551ba>0x1?void 0x0:_0x1551ba?tn(_0xb06798,_0x2f2a11):_0xb06798,_0x3b6f5e=_0x1e8427['length']-0x1,_0x35fbea;_0x3b6f5e>=0x0;_0x3b6f5e--)(_0x35fbea=_0x1e8427[_0x3b6f5e])&&(_0x2d6df7=_0x35fbea(_0x2d6df7)||_0x2d6df7);return _0x2d6df7;},dt=(_0x4e8ccf,_0xd3ac3)=>(_0x580e0b,_0x563946)=>_0xd3ac3(_0x580e0b,_0x563946,_0x4e8ccf);let rt=class{constructor(_0x5e95ef,_0x27c38e,_0x5babfe){var _0x1d872c=_0x16b230;this[_0x1d872c(0x438)]=_0x5e95ef,this['_httpService']=_0x27c38e,this[_0x1d872c(0x2ff)]=_0x5babfe,this['init']();}['init'](){var _0x47eda6=_0x16b230;this['_httpService'][_0x47eda6(0x3bb)]({'priority':0x1,'interceptor':(_0x4694a0,_0x22a2e4)=>_0x22a2e4(_0x4694a0)[_0x47eda6(0x208)](_0x5c4aad(async _0x52448c=>{var _0x58e58a=_0x47eda6;const _0x129493=_0x52448c;if(_0x129493[_0x58e58a(0x3a3)]===0x191){if(typeof window>'u')throw new Error(_0x58e58a(0x259));if(window[_0x58e58a(0x169)](this[_0x58e58a(0x2ff)]['t'](_0x58e58a(0x333)))){const _0x384b8e=window[_0x58e58a(0x441)](window[_0x58e58a(0x382)][_0x58e58a(0x470)]);window[_0x58e58a(0x382)]['href']=this[_0x58e58a(0x227)]()+_0x58e58a(0x25c)+_0x384b8e;}}return _0x129493;}))});}['_getLoginPath'](){var _0x527f1b=_0x16b230,_0x3174c0;const _0x3ba5a0=this[_0x527f1b(0x438)]['getConfig'](K);return(_0x3174c0=_0x3ba5a0==null?void 0x0:_0x3ba5a0[_0x527f1b(0x2a7)])!=null?_0x3174c0:Rs;}};rt=sn([dt(0x0,_0x50e1f2),dt(0x1,_0x51e09b(_0x1be1ef)),dt(0x2,_0x51e09b(_0x34838d))],rt);var nn=Object[_0x16b230(0x262)],rn=(_0x19ae3d,_0x5d350e,_0x43db7b,_0x7cdd5a)=>{var _0x3c9f01=_0x16b230;for(var _0x37a61c=_0x7cdd5a>0x1?void 0x0:_0x7cdd5a?nn(_0x5d350e,_0x43db7b):_0x5d350e,_0x7e2a44=_0x19ae3d[_0x3c9f01(0x42a)]-0x1,_0x20df19;_0x7e2a44>=0x0;_0x7e2a44--)(_0x20df19=_0x19ae3d[_0x7e2a44])&&(_0x37a61c=_0x20df19(_0x37a61c)||_0x37a61c);return _0x37a61c;},Yt=(_0x50a39c,_0x26a355)=>(_0x402b6b,_0xeff4ed)=>_0x26a355(_0x402b6b,_0xeff4ed,_0x50a39c);const an=_0x16b230(0x3b5);let Tt=class extends _0x4c5799{constructor(_0x544a5b,_0x213768){var _0x31b1e5=_0x16b230;super(),this['_HTTPService']=_0x544a5b,this[_0x31b1e5(0x438)]=_0x213768,this[_0x31b1e5(0x1e6)]();}[_0x16b230(0x1e6)](){var _0x5ddbe8=_0x16b230;const _0x40e194=this;this[_0x5ddbe8(0x40c)](this['_HTTPService'][_0x5ddbe8(0x3bb)]({'priority':0x3e7,'interceptor':_0x5292f6({'isMatch'(_0x26feaf){var _0x352afc=_0x5ddbe8,_0x213395;if(_0x26feaf[_0x352afc(0x2a8)]===_0x352afc(0x2c9)&&((_0x213395=_0x26feaf['requestParams'])!=null&&_0x213395[_0x352afc(0x212)])){const {objectID:_0x1f9e17,objectType:_0x7ffed8}=_0x26feaf['requestParams'][_0x352afc(0x212)]||{};if(!_0x1f9e17||_0x7ffed8===void 0x0)return!0x1;const _0x2cca20=_0x40e194[_0x352afc(0x222)]()+'/'+_0x7ffed8+_0x352afc(0x392)+_0x1f9e17+_0x352afc(0x1df);if(_0x26feaf[_0x352afc(0x32c)]===_0x2cca20)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3acf25){var _0x5c80f4=_0x5ddbe8,_0x4f0e6a;return(_0x4f0e6a=_0x3acf25[_0x5c80f4(0x388)])==null?void 0x0:_0x4f0e6a[_0x5c80f4(0x212)];},'mergeParamsToRequest'(_0x5626be,_0x4b61e0){var _0x116db3=_0x5ddbe8;const _0x4c0059=_0x40e194['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x2e8a41=_0x5626be['reduce']((_0x2ba552,_0x59da7e)=>{var _0x5dc52e=_0x302e;const {unitID:_0x4677e6,objectID:_0x111c18,objectType:_0x61dcda,actions:_0x141bdc}=_0x59da7e;return _0x2ba552[_0x4677e6]||(_0x2ba552[_0x4677e6]={}),_0x2ba552[_0x4677e6][_0x111c18]||(_0x2ba552[_0x4677e6][_0x111c18]={'objectID':_0x111c18,'objectType':_0x61dcda,'actions':[]}),_0x2ba552[_0x4677e6][_0x111c18][_0x5dc52e(0x3cf)][_0x5dc52e(0x38f)](..._0x141bdc),_0x2ba552;},{}),_0x5e3a8b=[];for(const _0xd12326 in _0x2e8a41)for(const _0x1e1f49 in _0x2e8a41[_0xd12326]){const {actions:_0x3fa655,objectType:_0x497dc3}=_0x2e8a41[_0xd12326][_0x1e1f49],_0x434b70=[...new Set(_0x3fa655)];_0x5e3a8b['push']({'unitID':_0xd12326,'objectID':_0x1e1f49,'objectType':_0x497dc3,'actions':_0x434b70});}return new _0x496c3b(_0x116db3(0x2c9),_0x4c0059,{'headers':_0x4b61e0[_0x116db3(0x409)],'withCredentials':_0x4b61e0[_0x116db3(0x2d3)],'responseType':_0x4b61e0[_0x116db3(0x179)],'body':{'requests':_0x5e3a8b}});}},{'distributeResult'(_0x58264b,_0x5d4ac5){const {objectActions:_0xdc890e}=_0x58264b;return _0x5d4ac5['map'](_0x4d7ee1=>{var _0x45a611=_0x302e;const {unitID:_0x402bc3,objectID:_0x589534,actions:_0x5035d7}=_0x4d7ee1,_0xd9492c=_0xdc890e[_0x45a611(0x2b7)](_0x4f0305=>_0x4f0305[_0x45a611(0x2df)]===_0x402bc3&&_0x4f0305['objectID']===_0x589534),_0x17b65f=_0x5035d7[_0x45a611(0x457)](_0x355fc7=>_0xd9492c==null?void 0x0:_0xd9492c['actions'][_0x45a611(0x2b7)](_0xc14d43=>_0xc14d43[_0x45a611(0x339)]===_0x355fc7))[_0x45a611(0x2bf)](_0x240b38=>!!_0x240b38);return{'config':_0x4d7ee1,'result':{'actions':_0x17b65f,'error':_0x58264b[_0x45a611(0x384)]}};});}})}));}['_getAPIPrefixPath'](){var _0xff5732=_0x16b230,_0x50210f;const _0x360f6d=this[_0xff5732(0x438)]['getConfig'](K);return(_0x50210f=_0x360f6d==null?void 0x0:_0x360f6d[_0xff5732(0x364)])!=null?_0x50210f:an;}async[_0x16b230(0x2de)](_0x1ba1e1){var _0x2bd060=_0x16b230;const _0x23ef90=this[_0x2bd060(0x222)]()+'/'+_0x1ba1e1[_0x2bd060(0x257)]+_0x2bd060(0x395);return(await this[_0x2bd060(0x3bf)]['post'](_0x23ef90,{'body':_0x1ba1e1}))[_0x2bd060(0x212)][_0x2bd060(0x401)]||'';}async[_0x16b230(0x249)](_0x8507e4){var _0x40f39c=_0x16b230;const _0x12915d=this[_0x40f39c(0x222)]()+_0x40f39c(0x238);return(await this[_0x40f39c(0x3bf)][_0x40f39c(0x320)](_0x12915d,{'body':_0x8507e4}))[_0x40f39c(0x212)][_0x40f39c(0x425)];}async[_0x16b230(0x449)](_0x2a3f3d){var _0x50ebec=_0x16b230,_0x42ef34,_0x7128fd;const _0x3a4492=this[_0x50ebec(0x222)]()+'/'+_0x2a3f3d[_0x50ebec(0x257)]+'/object/'+_0x2a3f3d['objectID'],_0x560e5b=await this['_HTTPService'][_0x50ebec(0x174)](_0x3a4492,{'body':_0x2a3f3d});if(((_0x7128fd=(_0x42ef34=_0x560e5b==null?void 0x0:_0x560e5b[_0x50ebec(0x212)])==null?void 0x0:_0x42ef34['error'])==null?void 0x0:_0x7128fd[_0x50ebec(0x19a)])!==0x1)throw new Error(_0x50ebec(0x3c9));}async[_0x16b230(0x151)](_0x2da2a9){var _0x2bf75c=_0x16b230;const _0x1e9737=this[_0x2bf75c(0x222)]()+'/'+_0x2da2a9[_0x2bf75c(0x257)]+_0x2bf75c(0x392)+_0x2da2a9[_0x2bf75c(0x401)]+_0x2bf75c(0x1df);return(await this[_0x2bf75c(0x3bf)][_0x2bf75c(0x320)](_0x1e9737,{'body':_0x2da2a9}))[_0x2bf75c(0x212)][_0x2bf75c(0x3cf)];}async[_0x16b230(0x2a0)](_0x5b32fc){var _0x28b112=_0x16b230;const _0x3c90b1=this[_0x28b112(0x222)]()+_0x28b112(0x3b6);return(await this[_0x28b112(0x3bf)][_0x28b112(0x320)](_0x3c90b1,{'body':{'requests':_0x5b32fc}}))['body'][_0x28b112(0x45b)];}async[_0x16b230(0x23b)](_0x169cfa){var _0xf59799=_0x16b230;const _0x2f500a=this[_0xf59799(0x222)]()+'/'+_0x169cfa[_0xf59799(0x257)]+'/role',_0x236e89=await this[_0xf59799(0x3bf)][_0xf59799(0x320)](_0x2f500a,{'body':_0x169cfa});return{'roles':_0x236e89['body']['roles'],'actions':_0x236e89[_0xf59799(0x212)][_0xf59799(0x3cf)]};}async[_0x16b230(0x1ed)](_0x42accb){var _0x58785a=_0x16b230;const _0x1ea368=this['_getAPIPrefixPath']()+_0x58785a(0x468);await this[_0x58785a(0x3bf)]['delete'](_0x1ea368,{'params':{'collaboratorID':_0x42accb[_0x58785a(0x3f9)],'objectID':_0x42accb[_0x58785a(0x401)],'unitID':_0x42accb[_0x58785a(0x2df)]}});}async[_0x16b230(0x3af)](_0x18cfe6){var _0x67f973=_0x16b230;const _0xca10b2=this[_0x67f973(0x222)]()+_0x67f973(0x468);await this[_0x67f973(0x3bf)][_0x67f973(0x33d)](_0xca10b2,{'body':_0x18cfe6});}async[_0x16b230(0x2b0)](_0x2f285d){var _0x5d3765=_0x16b230;const _0x1250c6=this[_0x5d3765(0x222)]()+'/collaborator';await this[_0x5d3765(0x3bf)][_0x5d3765(0x320)](_0x1250c6,{'body':_0x2f285d});}async['listCollaborators'](_0x1a7c8a){var _0x21bd19=_0x16b230;const _0x5d4793=this['_getAPIPrefixPath']()+_0x21bd19(0x468);return(await this['_HTTPService'][_0x21bd19(0x234)](_0x5d4793,{'params':{'objectID':_0x1a7c8a[_0x21bd19(0x401)],'unitID':_0x1a7c8a[_0x21bd19(0x2df)]}}))[_0x21bd19(0x212)][_0x21bd19(0x1f5)];}async[_0x16b230(0x331)](_0x3a5f67){var _0x3a1ddc=_0x16b230;const _0x201615=this[_0x3a1ddc(0x222)]()+'/collaborator';await this['_HTTPService']['put'](_0x201615,{'body':_0x3a5f67});}};Tt=rn([Yt(0x0,_0x51e09b(_0x1be1ef)),Yt(0x1,_0x51e09b(_0x50e1f2))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x3d49f2){var _0x44d003=_0x16b230;return _0x3d49f2&&_0x3d49f2[_0x44d003(0x199)]&&Object[_0x44d003(0x1d1)]['hasOwnProperty'][_0x44d003(0x16b)](_0x3d49f2,_0x44d003(0x3f7))?_0x3d49f2['default']:_0x3d49f2;}var Ve={'exports':{}};function on(_0x26bbeb){var _0x34edfd=_0x16b230;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x26bbeb+_0x34edfd(0x305));}var Ge={'exports':{}},cn=Ge[_0x16b230(0x1e2)],Kt;function ie(){var _0x40f17f=_0x16b230;return Kt||(Kt=0x1,function(_0x3ad188,_0x55b0f6){(function(_0x4c3c5a,_0x4e9f02){var _0x7f4bbb=_0x302e;_0x3ad188[_0x7f4bbb(0x1e2)]=_0x4e9f02();}(cn,function(){var _0x186e78=_0x186e78||function(_0x507398,_0x46197b){var _0x675065=_0x302e,_0x36d947;if(typeof window<'u'&&window[_0x675065(0x184)]&&(_0x36d947=window[_0x675065(0x184)]),typeof self<'u'&&self[_0x675065(0x184)]&&(_0x36d947=self[_0x675065(0x184)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x36d947=globalThis[_0x675065(0x184)]),!_0x36d947&&typeof window<'u'&&window[_0x675065(0x2d8)]&&(_0x36d947=window[_0x675065(0x2d8)]),!_0x36d947&&typeof ft<'u'&&ft[_0x675065(0x184)]&&(_0x36d947=ft['crypto']),!_0x36d947&&typeof on==_0x675065(0x450))try{_0x36d947=require('crypto');}catch{}var _0x2c801f=function(){var _0x2e175a=_0x675065;if(_0x36d947){if(typeof _0x36d947[_0x2e175a(0x37c)]==_0x2e175a(0x450))try{return _0x36d947['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x36d947['randomBytes']==_0x2e175a(0x450))try{return _0x36d947[_0x2e175a(0x201)](0x4)[_0x2e175a(0x2fd)]();}catch{}}throw new Error(_0x2e175a(0x2bd));},_0x241a8e=Object[_0x675065(0x2de)]||(function(){function _0xd8872d(){}return function(_0x3e52e4){var _0x2e0c23=_0x302e,_0x4824bb;return _0xd8872d[_0x2e0c23(0x1d1)]=_0x3e52e4,_0x4824bb=new _0xd8872d(),_0xd8872d[_0x2e0c23(0x1d1)]=null,_0x4824bb;};}()),_0x5a1530={},_0x5a12ee=_0x5a1530[_0x675065(0x466)]={},_0x370f6e=_0x5a12ee[_0x675065(0x334)]=(function(){return{'extend':function(_0x382c8d){var _0x2cce92=_0x302e,_0x5d3626=_0x241a8e(this);return _0x382c8d&&_0x5d3626[_0x2cce92(0x1aa)](_0x382c8d),(!_0x5d3626['hasOwnProperty'](_0x2cce92(0x1c6))||this[_0x2cce92(0x1c6)]===_0x5d3626[_0x2cce92(0x1c6)])&&(_0x5d3626[_0x2cce92(0x1c6)]=function(){var _0x28bfe8=_0x2cce92;_0x5d3626['$super'][_0x28bfe8(0x1c6)][_0x28bfe8(0x3ad)](this,arguments);}),_0x5d3626['init'][_0x2cce92(0x1d1)]=_0x5d3626,_0x5d3626[_0x2cce92(0x157)]=this,_0x5d3626;},'create':function(){var _0x4d6c3a=_0x302e,_0x48f89a=this[_0x4d6c3a(0x23c)]();return _0x48f89a[_0x4d6c3a(0x1c6)][_0x4d6c3a(0x3ad)](_0x48f89a,arguments),_0x48f89a;},'init':function(){},'mixIn':function(_0x378b69){var _0x302b9d=_0x302e;for(var _0x2d8689 in _0x378b69)_0x378b69['hasOwnProperty'](_0x2d8689)&&(this[_0x2d8689]=_0x378b69[_0x2d8689]);_0x378b69[_0x302b9d(0x1e7)](_0x302b9d(0x19c))&&(this[_0x302b9d(0x19c)]=_0x378b69[_0x302b9d(0x19c)]);},'clone':function(){var _0x5dcd1f=_0x302e;return this[_0x5dcd1f(0x1c6)][_0x5dcd1f(0x1d1)][_0x5dcd1f(0x23c)](this);}};}()),_0x13d581=_0x5a12ee['WordArray']=_0x370f6e['extend']({'init':function(_0x26b78e,_0x2a9972){var _0x54f27d=_0x675065;_0x26b78e=this[_0x54f27d(0x3ac)]=_0x26b78e||[],_0x2a9972!=_0x46197b?this[_0x54f27d(0x283)]=_0x2a9972:this[_0x54f27d(0x283)]=_0x26b78e['length']*0x4;},'toString':function(_0xd78ab6){return(_0xd78ab6||_0xcee444)['stringify'](this);},'concat':function(_0x381c63){var _0x2cf2cf=_0x675065,_0x4dffa3=this[_0x2cf2cf(0x3ac)],_0x1e79d2=_0x381c63[_0x2cf2cf(0x3ac)],_0x458586=this[_0x2cf2cf(0x283)],_0x2502b2=_0x381c63['sigBytes'];if(this[_0x2cf2cf(0x209)](),_0x458586%0x4)for(var _0x3c8462=0x0;_0x3c8462<_0x2502b2;_0x3c8462++){var _0x3f40e8=_0x1e79d2[_0x3c8462>>>0x2]>>>0x18-_0x3c8462%0x4*0x8&0xff;_0x4dffa3[_0x458586+_0x3c8462>>>0x2]|=_0x3f40e8<<0x18-(_0x458586+_0x3c8462)%0x4*0x8;}else{for(var _0x15d0e2=0x0;_0x15d0e2<_0x2502b2;_0x15d0e2+=0x4)_0x4dffa3[_0x458586+_0x15d0e2>>>0x2]=_0x1e79d2[_0x15d0e2>>>0x2];}return this[_0x2cf2cf(0x283)]+=_0x2502b2,this;},'clamp':function(){var _0x558960=_0x675065,_0x3d214e=this[_0x558960(0x3ac)],_0x4357d3=this['sigBytes'];_0x3d214e[_0x4357d3>>>0x2]&=0xffffffff<<0x20-_0x4357d3%0x4*0x8,_0x3d214e['length']=_0x507398[_0x558960(0x2b4)](_0x4357d3/0x4);},'clone':function(){var _0x9037ee=_0x675065,_0x35fdc9=_0x370f6e[_0x9037ee(0x39a)][_0x9037ee(0x16b)](this);return _0x35fdc9[_0x9037ee(0x3ac)]=this['words'][_0x9037ee(0x14a)](0x0),_0x35fdc9;},'random':function(_0x28d288){var _0x4442c2=_0x675065;for(var _0x1064a0=[],_0x107bfc=0x0;_0x107bfc<_0x28d288;_0x107bfc+=0x4)_0x1064a0[_0x4442c2(0x38f)](_0x2c801f());return new _0x13d581[(_0x4442c2(0x1c6))](_0x1064a0,_0x28d288);}}),_0x15905f=_0x5a1530[_0x675065(0x431)]={},_0xcee444=_0x15905f[_0x675065(0x2ea)]={'stringify':function(_0x4f3c88){var _0x5f0a24=_0x675065;for(var _0x223aba=_0x4f3c88[_0x5f0a24(0x3ac)],_0x3013c0=_0x4f3c88['sigBytes'],_0x16d546=[],_0x34ffa1=0x0;_0x34ffa1<_0x3013c0;_0x34ffa1++){var _0x22ee05=_0x223aba[_0x34ffa1>>>0x2]>>>0x18-_0x34ffa1%0x4*0x8&0xff;_0x16d546[_0x5f0a24(0x38f)]((_0x22ee05>>>0x4)[_0x5f0a24(0x19c)](0x10)),_0x16d546['push']((_0x22ee05&0xf)['toString'](0x10));}return _0x16d546['join']('');},'parse':function(_0x1113c1){var _0x21f21f=_0x675065;for(var _0x3e4e20=_0x1113c1['length'],_0x1b7498=[],_0x573486=0x0;_0x573486<_0x3e4e20;_0x573486+=0x2)_0x1b7498[_0x573486>>>0x3]|=parseInt(_0x1113c1[_0x21f21f(0x376)](_0x573486,0x2),0x10)<<0x18-_0x573486%0x8*0x4;return new _0x13d581[(_0x21f21f(0x1c6))](_0x1b7498,_0x3e4e20/0x2);}},_0x18d6a5=_0x15905f[_0x675065(0x1b5)]={'stringify':function(_0x679e1f){var _0x557170=_0x675065;for(var _0x3e0e93=_0x679e1f[_0x557170(0x3ac)],_0x2cae57=_0x679e1f[_0x557170(0x283)],_0x22a06e=[],_0x4c8b5d=0x0;_0x4c8b5d<_0x2cae57;_0x4c8b5d++){var _0x227e03=_0x3e0e93[_0x4c8b5d>>>0x2]>>>0x18-_0x4c8b5d%0x4*0x8&0xff;_0x22a06e['push'](String[_0x557170(0x250)](_0x227e03));}return _0x22a06e[_0x557170(0x1c2)]('');},'parse':function(_0x2e5f6d){var _0x49184c=_0x675065;for(var _0x187df2=_0x2e5f6d[_0x49184c(0x42a)],_0x58b379=[],_0x298d4d=0x0;_0x298d4d<_0x187df2;_0x298d4d++)_0x58b379[_0x298d4d>>>0x2]|=(_0x2e5f6d[_0x49184c(0x3ba)](_0x298d4d)&0xff)<<0x18-_0x298d4d%0x4*0x8;return new _0x13d581[(_0x49184c(0x1c6))](_0x58b379,_0x187df2);}},_0x17ac26=_0x15905f['Utf8']={'stringify':function(_0x3e0adc){var _0x3b3fd7=_0x675065;try{return decodeURIComponent(escape(_0x18d6a5[_0x3b3fd7(0x37d)](_0x3e0adc)));}catch{throw new Error(_0x3b3fd7(0x292));}},'parse':function(_0x4e1b75){var _0x2d267d=_0x675065;return _0x18d6a5[_0x2d267d(0x17d)](unescape(encodeURIComponent(_0x4e1b75)));}},_0x4a7a27=_0x5a12ee['BufferedBlockAlgorithm']=_0x370f6e[_0x675065(0x23c)]({'reset':function(){var _0x1a5056=_0x675065;this[_0x1a5056(0x3fb)]=new _0x13d581[(_0x1a5056(0x1c6))](),this[_0x1a5056(0x203)]=0x0;},'_append':function(_0x57089f){var _0x2ed74d=_0x675065;typeof _0x57089f==_0x2ed74d(0x1b2)&&(_0x57089f=_0x17ac26[_0x2ed74d(0x17d)](_0x57089f)),this[_0x2ed74d(0x3fb)]['concat'](_0x57089f),this[_0x2ed74d(0x203)]+=_0x57089f[_0x2ed74d(0x283)];},'_process':function(_0x2365f2){var _0x883772=_0x675065,_0x4a748e,_0x347345=this['_data'],_0xacdbf2=_0x347345[_0x883772(0x3ac)],_0x358e1f=_0x347345[_0x883772(0x283)],_0x2bb827=this[_0x883772(0x145)],_0x37b203=_0x2bb827*0x4,_0x489a35=_0x358e1f/_0x37b203;_0x2365f2?_0x489a35=_0x507398[_0x883772(0x2b4)](_0x489a35):_0x489a35=_0x507398[_0x883772(0x400)]((_0x489a35|0x0)-this[_0x883772(0x415)],0x0);var _0x2a69bf=_0x489a35*_0x2bb827,_0x2c6ff5=_0x507398[_0x883772(0x21c)](_0x2a69bf*0x4,_0x358e1f);if(_0x2a69bf){for(var _0x421794=0x0;_0x421794<_0x2a69bf;_0x421794+=_0x2bb827)this['_doProcessBlock'](_0xacdbf2,_0x421794);_0x4a748e=_0xacdbf2[_0x883772(0x410)](0x0,_0x2a69bf),_0x347345[_0x883772(0x283)]-=_0x2c6ff5;}return new _0x13d581[(_0x883772(0x1c6))](_0x4a748e,_0x2c6ff5);},'clone':function(){var _0x3c76d0=_0x675065,_0x4cda40=_0x370f6e['clone'][_0x3c76d0(0x16b)](this);return _0x4cda40[_0x3c76d0(0x3fb)]=this[_0x3c76d0(0x3fb)][_0x3c76d0(0x39a)](),_0x4cda40;},'_minBufferSize':0x0});_0x5a12ee['Hasher']=_0x4a7a27['extend']({'cfg':_0x370f6e[_0x675065(0x23c)](),'init':function(_0x41e932){var _0x2b431e=_0x675065;this[_0x2b431e(0x1a9)]=this['cfg'][_0x2b431e(0x23c)](_0x41e932),this['reset']();},'reset':function(){var _0x492c16=_0x675065;_0x4a7a27[_0x492c16(0x17f)][_0x492c16(0x16b)](this),this[_0x492c16(0x2fa)]();},'update':function(_0x216a65){var _0x5417d0=_0x675065;return this[_0x5417d0(0x336)](_0x216a65),this[_0x5417d0(0x24e)](),this;},'finalize':function(_0x57bd9d){var _0x1e16ff=_0x675065;_0x57bd9d&&this[_0x1e16ff(0x336)](_0x57bd9d);var _0x70f9cf=this[_0x1e16ff(0x2b9)]();return _0x70f9cf;},'blockSize':0x10,'_createHelper':function(_0x2de561){return function(_0x3635f3,_0x42343b){var _0x3bb712=_0x302e;return new _0x2de561['init'](_0x42343b)[_0x3bb712(0x3d2)](_0x3635f3);};},'_createHmacHelper':function(_0x187d88){return function(_0x1bb733,_0x1ddbec){var _0xe15d94=_0x302e;return new _0x2d2bf7[(_0xe15d94(0x439))][(_0xe15d94(0x1c6))](_0x187d88,_0x1ddbec)[_0xe15d94(0x3d2)](_0x1bb733);};}});var _0x2d2bf7=_0x5a1530['algo']={};return _0x5a1530;}(Math);return _0x186e78;}));}(Ge)),Ge[_0x40f17f(0x1e2)];}var We={'exports':{}},_n=We[_0x16b230(0x1e2)],qt;function Ri(){var _0x9ff93f=_0x16b230;return qt||(qt=0x1,function(_0x29e91c,_0x525b07){(function(_0x32a630,_0x5c5c78){_0x29e91c['exports']=_0x5c5c78(ie());}(_n,function(_0x853c9b){var _0x4476c2=_0x302e;return(function(){var _0x316753=_0x302e,_0xcb1179=_0x853c9b,_0xd781a7=_0xcb1179[_0x316753(0x466)],_0x7a0192=_0xd781a7[_0x316753(0x166)],_0x645f92=_0xcb1179[_0x316753(0x431)];_0x645f92[_0x316753(0x1f1)]={'stringify':function(_0x16a9ac){var _0x23798d=_0x316753,_0x50b61d=_0x16a9ac[_0x23798d(0x3ac)],_0x2a2376=_0x16a9ac[_0x23798d(0x283)],_0x35b2b1=this[_0x23798d(0x36b)];_0x16a9ac[_0x23798d(0x209)]();for(var _0x2fc562=[],_0x4b1b5f=0x0;_0x4b1b5f<_0x2a2376;_0x4b1b5f+=0x3)for(var _0x50ea01=_0x50b61d[_0x4b1b5f>>>0x2]>>>0x18-_0x4b1b5f%0x4*0x8&0xff,_0xdd3482=_0x50b61d[_0x4b1b5f+0x1>>>0x2]>>>0x18-(_0x4b1b5f+0x1)%0x4*0x8&0xff,_0x410596=_0x50b61d[_0x4b1b5f+0x2>>>0x2]>>>0x18-(_0x4b1b5f+0x2)%0x4*0x8&0xff,_0x5f0e76=_0x50ea01<<0x10|_0xdd3482<<0x8|_0x410596,_0x218c4f=0x0;_0x218c4f<0x4&&_0x4b1b5f+_0x218c4f*0.75<_0x2a2376;_0x218c4f++)_0x2fc562[_0x23798d(0x38f)](_0x35b2b1[_0x23798d(0x3fe)](_0x5f0e76>>>0x6*(0x3-_0x218c4f)&0x3f));var _0x18bc9e=_0x35b2b1[_0x23798d(0x3fe)](0x40);if(_0x18bc9e){for(;_0x2fc562[_0x23798d(0x42a)]%0x4;)_0x2fc562[_0x23798d(0x38f)](_0x18bc9e);}return _0x2fc562[_0x23798d(0x1c2)]('');},'parse':function(_0x3ffe15){var _0x5ee28c=_0x316753,_0x293843=_0x3ffe15[_0x5ee28c(0x42a)],_0x45448d=this['_map'],_0x484215=this[_0x5ee28c(0x3d7)];if(!_0x484215){_0x484215=this[_0x5ee28c(0x3d7)]=[];for(var _0x34dc16=0x0;_0x34dc16<_0x45448d[_0x5ee28c(0x42a)];_0x34dc16++)_0x484215[_0x45448d[_0x5ee28c(0x3ba)](_0x34dc16)]=_0x34dc16;}var _0x15073f=_0x45448d[_0x5ee28c(0x3fe)](0x40);if(_0x15073f){var _0x23709d=_0x3ffe15[_0x5ee28c(0x35d)](_0x15073f);_0x23709d!==-0x1&&(_0x293843=_0x23709d);}return _0x2b29d3(_0x3ffe15,_0x293843,_0x484215);},'_map':_0x316753(0x1ae)};function _0x2b29d3(_0x8f5f39,_0x1e7ef4,_0x16a659){var _0x3c709b=_0x316753;for(var _0xcf97ca=[],_0x16caa9=0x0,_0x37fbed=0x0;_0x37fbed<_0x1e7ef4;_0x37fbed++)if(_0x37fbed%0x4){var _0x838663=_0x16a659[_0x8f5f39['charCodeAt'](_0x37fbed-0x1)]<<_0x37fbed%0x4*0x2,_0x4a15ba=_0x16a659[_0x8f5f39[_0x3c709b(0x3ba)](_0x37fbed)]>>>0x6-_0x37fbed%0x4*0x2,_0x32fe9e=_0x838663|_0x4a15ba;_0xcf97ca[_0x16caa9>>>0x2]|=_0x32fe9e<<0x18-_0x16caa9%0x4*0x8,_0x16caa9++;}return _0x7a0192[_0x3c709b(0x2de)](_0xcf97ca,_0x16caa9);}}()),_0x853c9b[_0x4476c2(0x431)][_0x4476c2(0x1f1)];}));}(We)),We[_0x9ff93f(0x1e2)];}var Ye={'exports':{}},hn=Ye['exports'],zt;function ln(){return zt||(zt=0x1,function(_0x30445c,_0x97a197){(function(_0x1411f5,_0x25d4f3){var _0x281bd5=_0x302e;_0x30445c[_0x281bd5(0x1e2)]=_0x25d4f3(ie());}(hn,function(_0x4b9a47){var _0x52995d=_0x302e;return function(_0x2fb460){var _0x519891=_0x302e,_0x168def=_0x4b9a47,_0x2e869b=_0x168def[_0x519891(0x466)],_0x445c6f=_0x2e869b[_0x519891(0x166)],_0x58cf51=_0x2e869b[_0x519891(0x286)],_0xeab3c3=_0x168def[_0x519891(0x149)],_0x31e558=[];(function(){var _0x4e3e4c=_0x519891;for(var _0x5a12eb=0x0;_0x5a12eb<0x40;_0x5a12eb++)_0x31e558[_0x5a12eb]=_0x2fb460['abs'](_0x2fb460[_0x4e3e4c(0x35a)](_0x5a12eb+0x1))*0x100000000|0x0;}());var _0x3e8f90=_0xeab3c3[_0x519891(0x181)]=_0x58cf51[_0x519891(0x23c)]({'_doReset':function(){var _0x56f885=_0x519891;this[_0x56f885(0x207)]=new _0x445c6f[(_0x56f885(0x1c6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x27470b,_0x58e0b8){var _0x37dab1=_0x519891;for(var _0x16a661=0x0;_0x16a661<0x10;_0x16a661++){var _0x55e733=_0x58e0b8+_0x16a661,_0x24a33d=_0x27470b[_0x55e733];_0x27470b[_0x55e733]=(_0x24a33d<<0x8|_0x24a33d>>>0x18)&0xff00ff|(_0x24a33d<<0x18|_0x24a33d>>>0x8)&0xff00ff00;}var _0x3196b6=this[_0x37dab1(0x207)]['words'],_0x29bd5d=_0x27470b[_0x58e0b8+0x0],_0x24a01e=_0x27470b[_0x58e0b8+0x1],_0xe3c203=_0x27470b[_0x58e0b8+0x2],_0x3a8101=_0x27470b[_0x58e0b8+0x3],_0x266d27=_0x27470b[_0x58e0b8+0x4],_0x530c35=_0x27470b[_0x58e0b8+0x5],_0x523e4c=_0x27470b[_0x58e0b8+0x6],_0x2fc991=_0x27470b[_0x58e0b8+0x7],_0x4282c6=_0x27470b[_0x58e0b8+0x8],_0x2a8a5a=_0x27470b[_0x58e0b8+0x9],_0xd6735c=_0x27470b[_0x58e0b8+0xa],_0x1c998c=_0x27470b[_0x58e0b8+0xb],_0x1ef0ec=_0x27470b[_0x58e0b8+0xc],_0xda56e0=_0x27470b[_0x58e0b8+0xd],_0x2cc219=_0x27470b[_0x58e0b8+0xe],_0x3b986a=_0x27470b[_0x58e0b8+0xf],_0x2aa1ec=_0x3196b6[0x0],_0x5866e7=_0x3196b6[0x1],_0x1b22d5=_0x3196b6[0x2],_0x1e58fa=_0x3196b6[0x3];_0x2aa1ec=_0x2db403(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x29bd5d,0x7,_0x31e558[0x0]),_0x1e58fa=_0x2db403(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x24a01e,0xc,_0x31e558[0x1]),_0x1b22d5=_0x2db403(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0xe3c203,0x11,_0x31e558[0x2]),_0x5866e7=_0x2db403(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x3a8101,0x16,_0x31e558[0x3]),_0x2aa1ec=_0x2db403(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x266d27,0x7,_0x31e558[0x4]),_0x1e58fa=_0x2db403(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x530c35,0xc,_0x31e558[0x5]),_0x1b22d5=_0x2db403(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x523e4c,0x11,_0x31e558[0x6]),_0x5866e7=_0x2db403(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x2fc991,0x16,_0x31e558[0x7]),_0x2aa1ec=_0x2db403(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x4282c6,0x7,_0x31e558[0x8]),_0x1e58fa=_0x2db403(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x2a8a5a,0xc,_0x31e558[0x9]),_0x1b22d5=_0x2db403(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0xd6735c,0x11,_0x31e558[0xa]),_0x5866e7=_0x2db403(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x1c998c,0x16,_0x31e558[0xb]),_0x2aa1ec=_0x2db403(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x1ef0ec,0x7,_0x31e558[0xc]),_0x1e58fa=_0x2db403(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0xda56e0,0xc,_0x31e558[0xd]),_0x1b22d5=_0x2db403(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x2cc219,0x11,_0x31e558[0xe]),_0x5866e7=_0x2db403(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x3b986a,0x16,_0x31e558[0xf]),_0x2aa1ec=_0x23afac(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x24a01e,0x5,_0x31e558[0x10]),_0x1e58fa=_0x23afac(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x523e4c,0x9,_0x31e558[0x11]),_0x1b22d5=_0x23afac(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1c998c,0xe,_0x31e558[0x12]),_0x5866e7=_0x23afac(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x29bd5d,0x14,_0x31e558[0x13]),_0x2aa1ec=_0x23afac(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x530c35,0x5,_0x31e558[0x14]),_0x1e58fa=_0x23afac(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0xd6735c,0x9,_0x31e558[0x15]),_0x1b22d5=_0x23afac(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x3b986a,0xe,_0x31e558[0x16]),_0x5866e7=_0x23afac(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x266d27,0x14,_0x31e558[0x17]),_0x2aa1ec=_0x23afac(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2a8a5a,0x5,_0x31e558[0x18]),_0x1e58fa=_0x23afac(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x2cc219,0x9,_0x31e558[0x19]),_0x1b22d5=_0x23afac(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x3a8101,0xe,_0x31e558[0x1a]),_0x5866e7=_0x23afac(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x4282c6,0x14,_0x31e558[0x1b]),_0x2aa1ec=_0x23afac(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0xda56e0,0x5,_0x31e558[0x1c]),_0x1e58fa=_0x23afac(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0xe3c203,0x9,_0x31e558[0x1d]),_0x1b22d5=_0x23afac(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x2fc991,0xe,_0x31e558[0x1e]),_0x5866e7=_0x23afac(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x1ef0ec,0x14,_0x31e558[0x1f]),_0x2aa1ec=_0x5a2642(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x530c35,0x4,_0x31e558[0x20]),_0x1e58fa=_0x5a2642(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x4282c6,0xb,_0x31e558[0x21]),_0x1b22d5=_0x5a2642(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1c998c,0x10,_0x31e558[0x22]),_0x5866e7=_0x5a2642(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x2cc219,0x17,_0x31e558[0x23]),_0x2aa1ec=_0x5a2642(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x24a01e,0x4,_0x31e558[0x24]),_0x1e58fa=_0x5a2642(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x266d27,0xb,_0x31e558[0x25]),_0x1b22d5=_0x5a2642(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x2fc991,0x10,_0x31e558[0x26]),_0x5866e7=_0x5a2642(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0xd6735c,0x17,_0x31e558[0x27]),_0x2aa1ec=_0x5a2642(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0xda56e0,0x4,_0x31e558[0x28]),_0x1e58fa=_0x5a2642(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x29bd5d,0xb,_0x31e558[0x29]),_0x1b22d5=_0x5a2642(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x3a8101,0x10,_0x31e558[0x2a]),_0x5866e7=_0x5a2642(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x523e4c,0x17,_0x31e558[0x2b]),_0x2aa1ec=_0x5a2642(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2a8a5a,0x4,_0x31e558[0x2c]),_0x1e58fa=_0x5a2642(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1ef0ec,0xb,_0x31e558[0x2d]),_0x1b22d5=_0x5a2642(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x3b986a,0x10,_0x31e558[0x2e]),_0x5866e7=_0x5a2642(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0xe3c203,0x17,_0x31e558[0x2f]),_0x2aa1ec=_0x411597(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x29bd5d,0x6,_0x31e558[0x30]),_0x1e58fa=_0x411597(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x2fc991,0xa,_0x31e558[0x31]),_0x1b22d5=_0x411597(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x2cc219,0xf,_0x31e558[0x32]),_0x5866e7=_0x411597(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x530c35,0x15,_0x31e558[0x33]),_0x2aa1ec=_0x411597(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x1ef0ec,0x6,_0x31e558[0x34]),_0x1e58fa=_0x411597(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x3a8101,0xa,_0x31e558[0x35]),_0x1b22d5=_0x411597(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0xd6735c,0xf,_0x31e558[0x36]),_0x5866e7=_0x411597(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x24a01e,0x15,_0x31e558[0x37]),_0x2aa1ec=_0x411597(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x4282c6,0x6,_0x31e558[0x38]),_0x1e58fa=_0x411597(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x3b986a,0xa,_0x31e558[0x39]),_0x1b22d5=_0x411597(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x523e4c,0xf,_0x31e558[0x3a]),_0x5866e7=_0x411597(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0xda56e0,0x15,_0x31e558[0x3b]),_0x2aa1ec=_0x411597(_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1e58fa,_0x266d27,0x6,_0x31e558[0x3c]),_0x1e58fa=_0x411597(_0x1e58fa,_0x2aa1ec,_0x5866e7,_0x1b22d5,_0x1c998c,0xa,_0x31e558[0x3d]),_0x1b22d5=_0x411597(_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x5866e7,_0xe3c203,0xf,_0x31e558[0x3e]),_0x5866e7=_0x411597(_0x5866e7,_0x1b22d5,_0x1e58fa,_0x2aa1ec,_0x2a8a5a,0x15,_0x31e558[0x3f]),_0x3196b6[0x0]=_0x3196b6[0x0]+_0x2aa1ec|0x0,_0x3196b6[0x1]=_0x3196b6[0x1]+_0x5866e7|0x0,_0x3196b6[0x2]=_0x3196b6[0x2]+_0x1b22d5|0x0,_0x3196b6[0x3]=_0x3196b6[0x3]+_0x1e58fa|0x0;},'_doFinalize':function(){var _0x480b1a=_0x519891,_0x44bf5b=this[_0x480b1a(0x3fb)],_0x212b3a=_0x44bf5b[_0x480b1a(0x3ac)],_0x3f18a0=this[_0x480b1a(0x203)]*0x8,_0x427ed8=_0x44bf5b[_0x480b1a(0x283)]*0x8;_0x212b3a[_0x427ed8>>>0x5]|=0x80<<0x18-_0x427ed8%0x20;var _0x966c97=_0x2fb460[_0x480b1a(0x387)](_0x3f18a0/0x100000000),_0x33117=_0x3f18a0;_0x212b3a[(_0x427ed8+0x40>>>0x9<<0x4)+0xf]=(_0x966c97<<0x8|_0x966c97>>>0x18)&0xff00ff|(_0x966c97<<0x18|_0x966c97>>>0x8)&0xff00ff00,_0x212b3a[(_0x427ed8+0x40>>>0x9<<0x4)+0xe]=(_0x33117<<0x8|_0x33117>>>0x18)&0xff00ff|(_0x33117<<0x18|_0x33117>>>0x8)&0xff00ff00,_0x44bf5b[_0x480b1a(0x283)]=(_0x212b3a['length']+0x1)*0x4,this[_0x480b1a(0x24e)]();for(var _0x12106b=this[_0x480b1a(0x207)],_0x10635f=_0x12106b[_0x480b1a(0x3ac)],_0x4f5362=0x0;_0x4f5362<0x4;_0x4f5362++){var _0x168b2c=_0x10635f[_0x4f5362];_0x10635f[_0x4f5362]=(_0x168b2c<<0x8|_0x168b2c>>>0x18)&0xff00ff|(_0x168b2c<<0x18|_0x168b2c>>>0x8)&0xff00ff00;}return _0x12106b;},'clone':function(){var _0x51fe4e=_0x519891,_0x3c2fae=_0x58cf51[_0x51fe4e(0x39a)][_0x51fe4e(0x16b)](this);return _0x3c2fae[_0x51fe4e(0x207)]=this[_0x51fe4e(0x207)][_0x51fe4e(0x39a)](),_0x3c2fae;}});function _0x2db403(_0x37931a,_0x4e5f07,_0xd57b8b,_0x573bb6,_0x31f222,_0x559eb8,_0x470333){var _0x519bba=_0x37931a+(_0x4e5f07&_0xd57b8b|~_0x4e5f07&_0x573bb6)+_0x31f222+_0x470333;return(_0x519bba<<_0x559eb8|_0x519bba>>>0x20-_0x559eb8)+_0x4e5f07;}function _0x23afac(_0x3150e6,_0x38c326,_0x2c52f8,_0x1a6060,_0x2232d0,_0x1cca5a,_0x3219a3){var _0x266986=_0x3150e6+(_0x38c326&_0x1a6060|_0x2c52f8&~_0x1a6060)+_0x2232d0+_0x3219a3;return(_0x266986<<_0x1cca5a|_0x266986>>>0x20-_0x1cca5a)+_0x38c326;}function _0x5a2642(_0x23470e,_0x173744,_0x4574b2,_0x49a702,_0x29db2f,_0x221922,_0x216f7f){var _0x4d1518=_0x23470e+(_0x173744^_0x4574b2^_0x49a702)+_0x29db2f+_0x216f7f;return(_0x4d1518<<_0x221922|_0x4d1518>>>0x20-_0x221922)+_0x173744;}function _0x411597(_0x34a989,_0x1f4d41,_0x29a0ad,_0x4ec9ac,_0x12bccc,_0x9512f2,_0x262c7b){var _0x1fef1e=_0x34a989+(_0x29a0ad^(_0x1f4d41|~_0x4ec9ac))+_0x12bccc+_0x262c7b;return(_0x1fef1e<<_0x9512f2|_0x1fef1e>>>0x20-_0x9512f2)+_0x1f4d41;}_0x168def['MD5']=_0x58cf51[_0x519891(0x39d)](_0x3e8f90),_0x168def['HmacMD5']=_0x58cf51[_0x519891(0x1c8)](_0x3e8f90);}(Math),_0x4b9a47[_0x52995d(0x181)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x16b230(0x1e2)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x1757cc,_0xc4e7e4){(function(_0xd1718b,_0xeb712a){var _0x539f76=_0x302e;_0x1757cc[_0x539f76(0x1e2)]=_0xeb712a(ie());}(un,function(_0x422638){var _0x5cf983=_0x302e;return(function(){var _0x2c747c=_0x302e,_0x23d0f9=_0x422638,_0x68129=_0x23d0f9[_0x2c747c(0x466)],_0x5b1b5f=_0x68129[_0x2c747c(0x166)],_0x19fca7=_0x68129[_0x2c747c(0x286)],_0x42131d=_0x23d0f9[_0x2c747c(0x149)],_0x1f3ece=[],_0x4754b9=_0x42131d['SHA1']=_0x19fca7['extend']({'_doReset':function(){var _0x751151=_0x2c747c;this[_0x751151(0x207)]=new _0x5b1b5f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x156473,_0x4c80e2){var _0x3586ec=_0x2c747c;for(var _0x2b01f2=this[_0x3586ec(0x207)][_0x3586ec(0x3ac)],_0x58b8e9=_0x2b01f2[0x0],_0x6657a1=_0x2b01f2[0x1],_0x18619b=_0x2b01f2[0x2],_0x57381e=_0x2b01f2[0x3],_0x25ebbb=_0x2b01f2[0x4],_0x3485ac=0x0;_0x3485ac<0x50;_0x3485ac++){if(_0x3485ac<0x10)_0x1f3ece[_0x3485ac]=_0x156473[_0x4c80e2+_0x3485ac]|0x0;else{var _0x2a063e=_0x1f3ece[_0x3485ac-0x3]^_0x1f3ece[_0x3485ac-0x8]^_0x1f3ece[_0x3485ac-0xe]^_0x1f3ece[_0x3485ac-0x10];_0x1f3ece[_0x3485ac]=_0x2a063e<<0x1|_0x2a063e>>>0x1f;}var _0x25549f=(_0x58b8e9<<0x5|_0x58b8e9>>>0x1b)+_0x25ebbb+_0x1f3ece[_0x3485ac];_0x3485ac<0x14?_0x25549f+=(_0x6657a1&_0x18619b|~_0x6657a1&_0x57381e)+0x5a827999:_0x3485ac<0x28?_0x25549f+=(_0x6657a1^_0x18619b^_0x57381e)+0x6ed9eba1:_0x3485ac<0x3c?_0x25549f+=(_0x6657a1&_0x18619b|_0x6657a1&_0x57381e|_0x18619b&_0x57381e)-0x70e44324:_0x25549f+=(_0x6657a1^_0x18619b^_0x57381e)-0x359d3e2a,_0x25ebbb=_0x57381e,_0x57381e=_0x18619b,_0x18619b=_0x6657a1<<0x1e|_0x6657a1>>>0x2,_0x6657a1=_0x58b8e9,_0x58b8e9=_0x25549f;}_0x2b01f2[0x0]=_0x2b01f2[0x0]+_0x58b8e9|0x0,_0x2b01f2[0x1]=_0x2b01f2[0x1]+_0x6657a1|0x0,_0x2b01f2[0x2]=_0x2b01f2[0x2]+_0x18619b|0x0,_0x2b01f2[0x3]=_0x2b01f2[0x3]+_0x57381e|0x0,_0x2b01f2[0x4]=_0x2b01f2[0x4]+_0x25ebbb|0x0;},'_doFinalize':function(){var _0x22f289=_0x2c747c,_0x4f5a42=this[_0x22f289(0x3fb)],_0x1f2da3=_0x4f5a42[_0x22f289(0x3ac)],_0x9a97ca=this[_0x22f289(0x203)]*0x8,_0x223f68=_0x4f5a42[_0x22f289(0x283)]*0x8;return _0x1f2da3[_0x223f68>>>0x5]|=0x80<<0x18-_0x223f68%0x20,_0x1f2da3[(_0x223f68+0x40>>>0x9<<0x4)+0xe]=Math[_0x22f289(0x387)](_0x9a97ca/0x100000000),_0x1f2da3[(_0x223f68+0x40>>>0x9<<0x4)+0xf]=_0x9a97ca,_0x4f5a42[_0x22f289(0x283)]=_0x1f2da3[_0x22f289(0x42a)]*0x4,this[_0x22f289(0x24e)](),this['_hash'];},'clone':function(){var _0xff6fac=_0x2c747c,_0x3024f8=_0x19fca7[_0xff6fac(0x39a)]['call'](this);return _0x3024f8[_0xff6fac(0x207)]=this[_0xff6fac(0x207)][_0xff6fac(0x39a)](),_0x3024f8;}});_0x23d0f9[_0x2c747c(0x371)]=_0x19fca7[_0x2c747c(0x39d)](_0x4754b9),_0x23d0f9[_0x2c747c(0x1a4)]=_0x19fca7[_0x2c747c(0x1c8)](_0x4754b9);}()),_0x422638[_0x5cf983(0x371)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0x16b230(0x1e2)],Jt;function vn(){return Jt||(Jt=0x1,function(_0x2d6f01,_0x5915b0){(function(_0x47a9cd,_0x52aecf){var _0x420679=_0x302e;_0x2d6f01[_0x420679(0x1e2)]=_0x52aecf(ie());}(fn,function(_0x2d9a4d){(function(){var _0x3e4ee4=_0x302e,_0x41b745=_0x2d9a4d,_0x15dc27=_0x41b745[_0x3e4ee4(0x466)],_0x3ade44=_0x15dc27[_0x3e4ee4(0x334)],_0xadf427=_0x41b745['enc'],_0x4ed96a=_0xadf427[_0x3e4ee4(0x429)],_0x20dbf5=_0x41b745[_0x3e4ee4(0x149)];_0x20dbf5[_0x3e4ee4(0x439)]=_0x3ade44[_0x3e4ee4(0x23c)]({'init':function(_0x297b19,_0x108baa){var _0x10da97=_0x3e4ee4;_0x297b19=this['_hasher']=new _0x297b19[(_0x10da97(0x1c6))](),typeof _0x108baa=='string'&&(_0x108baa=_0x4ed96a['parse'](_0x108baa));var _0x339c83=_0x297b19[_0x10da97(0x145)],_0x5f2983=_0x339c83*0x4;_0x108baa[_0x10da97(0x283)]>_0x5f2983&&(_0x108baa=_0x297b19[_0x10da97(0x3d2)](_0x108baa)),_0x108baa[_0x10da97(0x209)]();for(var _0x3c5d9a=this[_0x10da97(0x308)]=_0x108baa[_0x10da97(0x39a)](),_0x410169=this['_iKey']=_0x108baa['clone'](),_0x2f788c=_0x3c5d9a[_0x10da97(0x3ac)],_0x39f932=_0x410169[_0x10da97(0x3ac)],_0x11550a=0x0;_0x11550a<_0x339c83;_0x11550a++)_0x2f788c[_0x11550a]^=0x5c5c5c5c,_0x39f932[_0x11550a]^=0x36363636;_0x3c5d9a[_0x10da97(0x283)]=_0x410169[_0x10da97(0x283)]=_0x5f2983,this[_0x10da97(0x17f)]();},'reset':function(){var _0x446935=_0x3e4ee4,_0x1f2e2e=this['_hasher'];_0x1f2e2e[_0x446935(0x17f)](),_0x1f2e2e[_0x446935(0x449)](this['_iKey']);},'update':function(_0x16f461){var _0x3e6839=_0x3e4ee4;return this[_0x3e6839(0x404)][_0x3e6839(0x449)](_0x16f461),this;},'finalize':function(_0x4f9720){var _0x262a8b=_0x3e4ee4,_0x194b3a=this[_0x262a8b(0x404)],_0x317f73=_0x194b3a[_0x262a8b(0x3d2)](_0x4f9720);_0x194b3a[_0x262a8b(0x17f)]();var _0x2bfe9f=_0x194b3a[_0x262a8b(0x3d2)](this[_0x262a8b(0x308)][_0x262a8b(0x39a)]()[_0x262a8b(0x3fc)](_0x317f73));return _0x2bfe9f;}});}());}));}(ze)),ze['exports'];}var En=Ke[_0x16b230(0x1e2)],Zt;function Ni(){return Zt||(Zt=0x1,function(_0x2979e4,_0x5ecd7d){(function(_0x1317be,_0x5cbde4,_0x229ca4){var _0x302b7a=_0x302e;_0x2979e4[_0x302b7a(0x1e2)]=_0x5cbde4(ie(),dn(),vn());}(En,function(_0x2f5cda){var _0x2d3d07=_0x302e;return(function(){var _0x4dd58f=_0x302e,_0x5259ab=_0x2f5cda,_0x5d0b63=_0x5259ab[_0x4dd58f(0x466)],_0x519ab3=_0x5d0b63[_0x4dd58f(0x334)],_0x29ba2a=_0x5d0b63[_0x4dd58f(0x166)],_0x2da7ca=_0x5259ab[_0x4dd58f(0x149)],_0x28d711=_0x2da7ca['MD5'],_0xa3e55e=_0x2da7ca[_0x4dd58f(0x16f)]=_0x519ab3['extend']({'cfg':_0x519ab3[_0x4dd58f(0x23c)]({'keySize':0x80/0x20,'hasher':_0x28d711,'iterations':0x1}),'init':function(_0x14bb72){var _0x3b99f3=_0x4dd58f;this['cfg']=this[_0x3b99f3(0x1a9)][_0x3b99f3(0x23c)](_0x14bb72);},'compute':function(_0x49eb73,_0x334491){var _0x4a48e5=_0x4dd58f;for(var _0x5a5613,_0x443c8e=this['cfg'],_0x4eb121=_0x443c8e[_0x4a48e5(0x194)][_0x4a48e5(0x2de)](),_0x255dfa=_0x29ba2a[_0x4a48e5(0x2de)](),_0x580849=_0x255dfa['words'],_0x2541d5=_0x443c8e['keySize'],_0x826cd9=_0x443c8e[_0x4a48e5(0x35c)];_0x580849['length']<_0x2541d5;){_0x5a5613&&_0x4eb121['update'](_0x5a5613),_0x5a5613=_0x4eb121[_0x4a48e5(0x449)](_0x49eb73)[_0x4a48e5(0x3d2)](_0x334491),_0x4eb121[_0x4a48e5(0x17f)]();for(var _0x44f388=0x1;_0x44f388<_0x826cd9;_0x44f388++)_0x5a5613=_0x4eb121[_0x4a48e5(0x3d2)](_0x5a5613),_0x4eb121['reset']();_0x255dfa[_0x4a48e5(0x3fc)](_0x5a5613);}return _0x255dfa[_0x4a48e5(0x283)]=_0x2541d5*0x4,_0x255dfa;}});_0x5259ab['EvpKDF']=function(_0x43a033,_0x58acb6,_0x3c5736){var _0x1f1d4f=_0x4dd58f;return _0xa3e55e[_0x1f1d4f(0x2de)](_0x3c5736)[_0x1f1d4f(0x2c2)](_0x43a033,_0x58acb6);};}()),_0x2f5cda[_0x2d3d07(0x16f)];}));}(Ke)),Ke['exports'];}var Xe={'exports':{}},pn=Xe[_0x16b230(0x1e2)],Qt;function Ci(){var _0x12e7cc=_0x16b230;return Qt||(Qt=0x1,function(_0x2f0c2f,_0x38c057){(function(_0x35d71a,_0x34c233,_0x379b40){var _0x5d07c6=_0x302e;_0x2f0c2f[_0x5d07c6(0x1e2)]=_0x34c233(ie(),Ni());}(pn,function(_0x58e120){var _0x8c4075=_0x302e;_0x58e120['lib'][_0x8c4075(0x2e9)]||function(_0x4eba66){var _0x1d37cc=_0x8c4075,_0xf9d20f=_0x58e120,_0x53c545=_0xf9d20f['lib'],_0x25bef4=_0x53c545[_0x1d37cc(0x334)],_0x42cc84=_0x53c545['WordArray'],_0x5414ed=_0x53c545['BufferedBlockAlgorithm'],_0x2deb32=_0xf9d20f[_0x1d37cc(0x431)];_0x2deb32[_0x1d37cc(0x429)];var _0xfdb09f=_0x2deb32[_0x1d37cc(0x1f1)],_0x18bd9d=_0xf9d20f[_0x1d37cc(0x149)],_0x513d8b=_0x18bd9d[_0x1d37cc(0x16f)],_0x2786ea=_0x53c545[_0x1d37cc(0x2e9)]=_0x5414ed['extend']({'cfg':_0x25bef4[_0x1d37cc(0x23c)](),'createEncryptor':function(_0x377c02,_0x719013){var _0x50dbeb=_0x1d37cc;return this[_0x50dbeb(0x2de)](this[_0x50dbeb(0x44f)],_0x377c02,_0x719013);},'createDecryptor':function(_0x3403e9,_0x101d15){var _0x3ff10f=_0x1d37cc;return this['create'](this[_0x3ff10f(0x1e5)],_0x3403e9,_0x101d15);},'init':function(_0x12ab95,_0x363776,_0x3e2262){var _0x9217d6=_0x1d37cc;this[_0x9217d6(0x1a9)]=this[_0x9217d6(0x1a9)][_0x9217d6(0x23c)](_0x3e2262),this[_0x9217d6(0x173)]=_0x12ab95,this[_0x9217d6(0x2ed)]=_0x363776,this[_0x9217d6(0x17f)]();},'reset':function(){var _0x100a34=_0x1d37cc;_0x5414ed[_0x100a34(0x17f)][_0x100a34(0x16b)](this),this[_0x100a34(0x2fa)]();},'process':function(_0x1781bb){var _0x90f58b=_0x1d37cc;return this['_append'](_0x1781bb),this[_0x90f58b(0x24e)]();},'finalize':function(_0x29b3de){var _0x32f0e1=_0x1d37cc;_0x29b3de&&this[_0x32f0e1(0x336)](_0x29b3de);var _0x2415db=this['_doFinalize']();return _0x2415db;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x597871(_0x500e40){return typeof _0x500e40=='string'?_0x27c754:_0x282668;}return function(_0x22dad5){return{'encrypt':function(_0x3635dd,_0x1bdca8,_0x9b237f){var _0x4177dd=_0x302e;return _0x597871(_0x1bdca8)[_0x4177dd(0x3e5)](_0x22dad5,_0x3635dd,_0x1bdca8,_0x9b237f);},'decrypt':function(_0x19fca2,_0x32c648,_0x194238){var _0x521e39=_0x302e;return _0x597871(_0x32c648)[_0x521e39(0x1ee)](_0x22dad5,_0x19fca2,_0x32c648,_0x194238);}};};}())});_0x53c545['StreamCipher']=_0x2786ea[_0x1d37cc(0x23c)]({'_doFinalize':function(){var _0x18f224=_0x1d37cc,_0x2a52ed=this[_0x18f224(0x24e)](!0x0);return _0x2a52ed;},'blockSize':0x1});var _0x59264d=_0xf9d20f[_0x1d37cc(0x378)]={},_0x126fd4=_0x53c545[_0x1d37cc(0x3c4)]=_0x25bef4[_0x1d37cc(0x23c)]({'createEncryptor':function(_0x27e172,_0x204bff){var _0x1cc185=_0x1d37cc;return this['Encryptor'][_0x1cc185(0x2de)](_0x27e172,_0x204bff);},'createDecryptor':function(_0x17a908,_0x2eafde){var _0x51342b=_0x1d37cc;return this[_0x51342b(0x31c)][_0x51342b(0x2de)](_0x17a908,_0x2eafde);},'init':function(_0x44e1aa,_0x5588f2){var _0x395618=_0x1d37cc;this[_0x395618(0x373)]=_0x44e1aa,this[_0x395618(0x226)]=_0x5588f2;}}),_0x3637b6=_0x59264d['CBC']=(function(){var _0x329f43=_0x1d37cc,_0x6ec21=_0x126fd4[_0x329f43(0x23c)]();_0x6ec21[_0x329f43(0x34c)]=_0x6ec21[_0x329f43(0x23c)]({'processBlock':function(_0x3dfdfd,_0x387c5e){var _0x402a7c=_0x329f43,_0x8f982f=this[_0x402a7c(0x373)],_0x556a85=_0x8f982f[_0x402a7c(0x145)];_0x429d6a['call'](this,_0x3dfdfd,_0x387c5e,_0x556a85),_0x8f982f[_0x402a7c(0x187)](_0x3dfdfd,_0x387c5e),this[_0x402a7c(0x365)]=_0x3dfdfd[_0x402a7c(0x14a)](_0x387c5e,_0x387c5e+_0x556a85);}}),_0x6ec21[_0x329f43(0x31c)]=_0x6ec21[_0x329f43(0x23c)]({'processBlock':function(_0x5d9cda,_0x2577d1){var _0x28b9f8=_0x329f43,_0x5c414f=this[_0x28b9f8(0x373)],_0x3b4f70=_0x5c414f['blockSize'],_0x4b8672=_0x5d9cda[_0x28b9f8(0x14a)](_0x2577d1,_0x2577d1+_0x3b4f70);_0x5c414f[_0x28b9f8(0x33e)](_0x5d9cda,_0x2577d1),_0x429d6a['call'](this,_0x5d9cda,_0x2577d1,_0x3b4f70),this[_0x28b9f8(0x365)]=_0x4b8672;}});function _0x429d6a(_0x43ac85,_0x486a9f,_0x4df11e){var _0x1b0c21=_0x329f43,_0x247000,_0x4ea4ff=this[_0x1b0c21(0x226)];_0x4ea4ff?(_0x247000=_0x4ea4ff,this[_0x1b0c21(0x226)]=_0x4eba66):_0x247000=this[_0x1b0c21(0x365)];for(var _0xf6ab38=0x0;_0xf6ab38<_0x4df11e;_0xf6ab38++)_0x43ac85[_0x486a9f+_0xf6ab38]^=_0x247000[_0xf6ab38];}return _0x6ec21;}()),_0x22c7b8=_0xf9d20f['pad']={},_0x49395b=_0x22c7b8[_0x1d37cc(0x1be)]={'pad':function(_0x210c97,_0x104956){var _0xe0e216=_0x1d37cc;for(var _0x3aa8a1=_0x104956*0x4,_0x474425=_0x3aa8a1-_0x210c97[_0xe0e216(0x283)]%_0x3aa8a1,_0x3cb98a=_0x474425<<0x18|_0x474425<<0x10|_0x474425<<0x8|_0x474425,_0x2c205e=[],_0x2303bd=0x0;_0x2303bd<_0x474425;_0x2303bd+=0x4)_0x2c205e[_0xe0e216(0x38f)](_0x3cb98a);var _0x4b7716=_0x42cc84[_0xe0e216(0x2de)](_0x2c205e,_0x474425);_0x210c97[_0xe0e216(0x3fc)](_0x4b7716);},'unpad':function(_0x476905){var _0x34982b=_0x1d37cc,_0x28fb57=_0x476905[_0x34982b(0x3ac)][_0x476905['sigBytes']-0x1>>>0x2]&0xff;_0x476905[_0x34982b(0x283)]-=_0x28fb57;}};_0x53c545[_0x1d37cc(0x267)]=_0x2786ea[_0x1d37cc(0x23c)]({'cfg':_0x2786ea['cfg'][_0x1d37cc(0x23c)]({'mode':_0x3637b6,'padding':_0x49395b}),'reset':function(){var _0x232c0c=_0x1d37cc,_0x4dcf0e;_0x2786ea[_0x232c0c(0x17f)][_0x232c0c(0x16b)](this);var _0x5a4af4=this['cfg'],_0x221b03=_0x5a4af4['iv'],_0x1de202=_0x5a4af4[_0x232c0c(0x378)];this['_xformMode']==this[_0x232c0c(0x44f)]?_0x4dcf0e=_0x1de202[_0x232c0c(0x383)]:(_0x4dcf0e=_0x1de202[_0x232c0c(0x3be)],this[_0x232c0c(0x415)]=0x1),this[_0x232c0c(0x413)]&&this[_0x232c0c(0x413)][_0x232c0c(0x44a)]==_0x4dcf0e?this[_0x232c0c(0x413)]['init'](this,_0x221b03&&_0x221b03[_0x232c0c(0x3ac)]):(this[_0x232c0c(0x413)]=_0x4dcf0e[_0x232c0c(0x16b)](_0x1de202,this,_0x221b03&&_0x221b03[_0x232c0c(0x3ac)]),this[_0x232c0c(0x413)][_0x232c0c(0x44a)]=_0x4dcf0e);},'_doProcessBlock':function(_0x7cfb,_0xd774f3){var _0x4a95ec=_0x1d37cc;this[_0x4a95ec(0x413)][_0x4a95ec(0x14c)](_0x7cfb,_0xd774f3);},'_doFinalize':function(){var _0x4b884e=_0x1d37cc,_0x222290,_0x1b42ac=this[_0x4b884e(0x1a9)][_0x4b884e(0x25e)];return this['_xformMode']==this[_0x4b884e(0x44f)]?(_0x1b42ac['pad'](this[_0x4b884e(0x3fb)],this[_0x4b884e(0x145)]),_0x222290=this[_0x4b884e(0x24e)](!0x0)):(_0x222290=this[_0x4b884e(0x24e)](!0x0),_0x1b42ac[_0x4b884e(0x312)](_0x222290)),_0x222290;},'blockSize':0x80/0x20});var _0x190221=_0x53c545[_0x1d37cc(0x442)]=_0x25bef4[_0x1d37cc(0x23c)]({'init':function(_0x91dcea){var _0x2507ba=_0x1d37cc;this[_0x2507ba(0x1aa)](_0x91dcea);},'toString':function(_0x21bea6){var _0xba1237=_0x1d37cc;return(_0x21bea6||this[_0xba1237(0x46d)])[_0xba1237(0x37d)](this);}}),_0x49463c=_0xf9d20f[_0x1d37cc(0x21d)]={},_0x44b7b1=_0x49463c[_0x1d37cc(0x3c7)]={'stringify':function(_0x13023e){var _0x4cc03d=_0x1d37cc,_0x5a6ab0,_0x588da3=_0x13023e[_0x4cc03d(0x2e8)],_0x28dbd7=_0x13023e[_0x4cc03d(0x1ba)];return _0x28dbd7?_0x5a6ab0=_0x42cc84[_0x4cc03d(0x2de)]([0x53616c74,0x65645f5f])[_0x4cc03d(0x3fc)](_0x28dbd7)['concat'](_0x588da3):_0x5a6ab0=_0x588da3,_0x5a6ab0[_0x4cc03d(0x19c)](_0xfdb09f);},'parse':function(_0x2f8417){var _0x1f616f=_0x1d37cc,_0x442f00,_0x1ac51a=_0xfdb09f['parse'](_0x2f8417),_0x5ab4de=_0x1ac51a['words'];return _0x5ab4de[0x0]==0x53616c74&&_0x5ab4de[0x1]==0x65645f5f&&(_0x442f00=_0x42cc84[_0x1f616f(0x2de)](_0x5ab4de[_0x1f616f(0x14a)](0x2,0x4)),_0x5ab4de[_0x1f616f(0x410)](0x0,0x4),_0x1ac51a['sigBytes']-=0x10),_0x190221['create']({'ciphertext':_0x1ac51a,'salt':_0x442f00});}},_0x282668=_0x53c545['SerializableCipher']=_0x25bef4[_0x1d37cc(0x23c)]({'cfg':_0x25bef4[_0x1d37cc(0x23c)]({'format':_0x44b7b1}),'encrypt':function(_0x3614c4,_0x42c8e5,_0x5e88db,_0x380ca5){var _0x5d8bb4=_0x1d37cc;_0x380ca5=this[_0x5d8bb4(0x1a9)][_0x5d8bb4(0x23c)](_0x380ca5);var _0x2ea45c=_0x3614c4['createEncryptor'](_0x5e88db,_0x380ca5),_0x1f4985=_0x2ea45c[_0x5d8bb4(0x3d2)](_0x42c8e5),_0x5ae33e=_0x2ea45c[_0x5d8bb4(0x1a9)];return _0x190221['create']({'ciphertext':_0x1f4985,'key':_0x5e88db,'iv':_0x5ae33e['iv'],'algorithm':_0x3614c4,'mode':_0x5ae33e[_0x5d8bb4(0x378)],'padding':_0x5ae33e['padding'],'blockSize':_0x3614c4['blockSize'],'formatter':_0x380ca5['format']});},'decrypt':function(_0x47a280,_0x32e1b7,_0x16e1e6,_0xbcce2d){var _0x58d647=_0x1d37cc;_0xbcce2d=this[_0x58d647(0x1a9)][_0x58d647(0x23c)](_0xbcce2d),_0x32e1b7=this['_parse'](_0x32e1b7,_0xbcce2d[_0x58d647(0x21d)]);var _0x52b249=_0x47a280[_0x58d647(0x3be)](_0x16e1e6,_0xbcce2d)[_0x58d647(0x3d2)](_0x32e1b7[_0x58d647(0x2e8)]);return _0x52b249;},'_parse':function(_0x3ff01a,_0x216b49){var _0x3b19ad=_0x1d37cc;return typeof _0x3ff01a==_0x3b19ad(0x1b2)?_0x216b49['parse'](_0x3ff01a,this):_0x3ff01a;}}),_0x46b55e=_0xf9d20f[_0x1d37cc(0x301)]={},_0x5dfa60=_0x46b55e[_0x1d37cc(0x3c7)]={'execute':function(_0x3b8218,_0x402563,_0x521122,_0x479efe,_0x858bb8){var _0x294f3e=_0x1d37cc;if(_0x479efe||(_0x479efe=_0x42cc84[_0x294f3e(0x350)](0x40/0x8)),_0x858bb8)var _0x144688=_0x513d8b[_0x294f3e(0x2de)]({'keySize':_0x402563+_0x521122,'hasher':_0x858bb8})[_0x294f3e(0x2c2)](_0x3b8218,_0x479efe);else var _0x144688=_0x513d8b[_0x294f3e(0x2de)]({'keySize':_0x402563+_0x521122})[_0x294f3e(0x2c2)](_0x3b8218,_0x479efe);var _0x1fa5e5=_0x42cc84[_0x294f3e(0x2de)](_0x144688[_0x294f3e(0x3ac)][_0x294f3e(0x14a)](_0x402563),_0x521122*0x4);return _0x144688['sigBytes']=_0x402563*0x4,_0x190221[_0x294f3e(0x2de)]({'key':_0x144688,'iv':_0x1fa5e5,'salt':_0x479efe});}},_0x27c754=_0x53c545[_0x1d37cc(0x321)]=_0x282668['extend']({'cfg':_0x282668[_0x1d37cc(0x1a9)]['extend']({'kdf':_0x5dfa60}),'encrypt':function(_0x4baa88,_0x1d9155,_0x4ac731,_0x487cf5){var _0x4fd74d=_0x1d37cc;_0x487cf5=this[_0x4fd74d(0x1a9)]['extend'](_0x487cf5);var _0x68985a=_0x487cf5[_0x4fd74d(0x301)][_0x4fd74d(0x225)](_0x4ac731,_0x4baa88['keySize'],_0x4baa88['ivSize'],_0x487cf5['salt'],_0x487cf5[_0x4fd74d(0x194)]);_0x487cf5['iv']=_0x68985a['iv'];var _0x4ef57e=_0x282668[_0x4fd74d(0x3e5)][_0x4fd74d(0x16b)](this,_0x4baa88,_0x1d9155,_0x68985a[_0x4fd74d(0x1c3)],_0x487cf5);return _0x4ef57e[_0x4fd74d(0x1aa)](_0x68985a),_0x4ef57e;},'decrypt':function(_0x49d635,_0x1be4a1,_0x1744de,_0x58ed49){var _0xe64482=_0x1d37cc;_0x58ed49=this['cfg'][_0xe64482(0x23c)](_0x58ed49),_0x1be4a1=this[_0xe64482(0x1cb)](_0x1be4a1,_0x58ed49['format']);var _0x36d097=_0x58ed49['kdf'][_0xe64482(0x225)](_0x1744de,_0x49d635[_0xe64482(0x3ab)],_0x49d635[_0xe64482(0x14b)],_0x1be4a1[_0xe64482(0x1ba)],_0x58ed49[_0xe64482(0x194)]);_0x58ed49['iv']=_0x36d097['iv'];var _0x361443=_0x282668[_0xe64482(0x1ee)][_0xe64482(0x16b)](this,_0x49d635,_0x1be4a1,_0x36d097[_0xe64482(0x1c3)],_0x58ed49);return _0x361443;}});}();}));}(Xe)),Xe[_0x12e7cc(0x1e2)];}var In=Ve['exports'],ei;function mn(){var _0x55ce5a=_0x16b230;return ei||(ei=0x1,function(_0x152a8a,_0x498429){(function(_0x1e5f21,_0x24c5ed,_0x47f669){var _0x431a3c=_0x302e;_0x152a8a[_0x431a3c(0x1e2)]=_0x24c5ed(ie(),Ri(),ln(),Ni(),Ci());}(In,function(_0x3c5c32){var _0xfe96d2=_0x302e;return(function(){var _0x19d0be=_0x302e,_0x348eed=_0x3c5c32,_0x9af0da=_0x348eed['lib'],_0x1b1057=_0x9af0da[_0x19d0be(0x267)],_0x37e6aa=_0x348eed['algo'],_0xff1854=[],_0x1cea18=[],_0x3df554=[],_0x359054=[],_0x5f464c=[],_0x3ba141=[],_0x17f7df=[],_0x1a3113=[],_0xc1560d=[],_0x3413b1=[];(function(){for(var _0xfe7c29=[],_0x2e4a9d=0x0;_0x2e4a9d<0x100;_0x2e4a9d++)_0x2e4a9d<0x80?_0xfe7c29[_0x2e4a9d]=_0x2e4a9d<<0x1:_0xfe7c29[_0x2e4a9d]=_0x2e4a9d<<0x1^0x11b;for(var _0x43d56f=0x0,_0x3f5afe=0x0,_0x2e4a9d=0x0;_0x2e4a9d<0x100;_0x2e4a9d++){var _0x3a89d7=_0x3f5afe^_0x3f5afe<<0x1^_0x3f5afe<<0x2^_0x3f5afe<<0x3^_0x3f5afe<<0x4;_0x3a89d7=_0x3a89d7>>>0x8^_0x3a89d7&0xff^0x63,_0xff1854[_0x43d56f]=_0x3a89d7,_0x1cea18[_0x3a89d7]=_0x43d56f;var _0x535198=_0xfe7c29[_0x43d56f],_0x420cdb=_0xfe7c29[_0x535198],_0x30be43=_0xfe7c29[_0x420cdb],_0x1b6316=_0xfe7c29[_0x3a89d7]*0x101^_0x3a89d7*0x1010100;_0x3df554[_0x43d56f]=_0x1b6316<<0x18|_0x1b6316>>>0x8,_0x359054[_0x43d56f]=_0x1b6316<<0x10|_0x1b6316>>>0x10,_0x5f464c[_0x43d56f]=_0x1b6316<<0x8|_0x1b6316>>>0x18,_0x3ba141[_0x43d56f]=_0x1b6316;var _0x1b6316=_0x30be43*0x1010101^_0x420cdb*0x10001^_0x535198*0x101^_0x43d56f*0x1010100;_0x17f7df[_0x3a89d7]=_0x1b6316<<0x18|_0x1b6316>>>0x8,_0x1a3113[_0x3a89d7]=_0x1b6316<<0x10|_0x1b6316>>>0x10,_0xc1560d[_0x3a89d7]=_0x1b6316<<0x8|_0x1b6316>>>0x18,_0x3413b1[_0x3a89d7]=_0x1b6316,_0x43d56f?(_0x43d56f=_0x535198^_0xfe7c29[_0xfe7c29[_0xfe7c29[_0x30be43^_0x535198]]],_0x3f5afe^=_0xfe7c29[_0xfe7c29[_0x3f5afe]]):_0x43d56f=_0x3f5afe=0x1;}}());var _0x49543d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2ae921=_0x37e6aa[_0x19d0be(0x148)]=_0x1b1057[_0x19d0be(0x23c)]({'_doReset':function(){var _0x2dc980=_0x19d0be,_0xd51795;if(!(this[_0x2dc980(0x17b)]&&this['_keyPriorReset']===this[_0x2dc980(0x2ed)])){for(var _0x3c5762=this['_keyPriorReset']=this[_0x2dc980(0x2ed)],_0x3055f5=_0x3c5762[_0x2dc980(0x3ac)],_0x395135=_0x3c5762[_0x2dc980(0x283)]/0x4,_0x204a67=this['_nRounds']=_0x395135+0x6,_0x9d5ad3=(_0x204a67+0x1)*0x4,_0x574b69=this[_0x2dc980(0x26f)]=[],_0x155f5a=0x0;_0x155f5a<_0x9d5ad3;_0x155f5a++)_0x155f5a<_0x395135?_0x574b69[_0x155f5a]=_0x3055f5[_0x155f5a]:(_0xd51795=_0x574b69[_0x155f5a-0x1],_0x155f5a%_0x395135?_0x395135>0x6&&_0x155f5a%_0x395135==0x4&&(_0xd51795=_0xff1854[_0xd51795>>>0x18]<<0x18|_0xff1854[_0xd51795>>>0x10&0xff]<<0x10|_0xff1854[_0xd51795>>>0x8&0xff]<<0x8|_0xff1854[_0xd51795&0xff]):(_0xd51795=_0xd51795<<0x8|_0xd51795>>>0x18,_0xd51795=_0xff1854[_0xd51795>>>0x18]<<0x18|_0xff1854[_0xd51795>>>0x10&0xff]<<0x10|_0xff1854[_0xd51795>>>0x8&0xff]<<0x8|_0xff1854[_0xd51795&0xff],_0xd51795^=_0x49543d[_0x155f5a/_0x395135|0x0]<<0x18),_0x574b69[_0x155f5a]=_0x574b69[_0x155f5a-_0x395135]^_0xd51795);for(var _0x5aaba9=this[_0x2dc980(0x1a0)]=[],_0x3ca29c=0x0;_0x3ca29c<_0x9d5ad3;_0x3ca29c++){var _0x155f5a=_0x9d5ad3-_0x3ca29c;if(_0x3ca29c%0x4)var _0xd51795=_0x574b69[_0x155f5a];else var _0xd51795=_0x574b69[_0x155f5a-0x4];_0x3ca29c<0x4||_0x155f5a<=0x4?_0x5aaba9[_0x3ca29c]=_0xd51795:_0x5aaba9[_0x3ca29c]=_0x17f7df[_0xff1854[_0xd51795>>>0x18]]^_0x1a3113[_0xff1854[_0xd51795>>>0x10&0xff]]^_0xc1560d[_0xff1854[_0xd51795>>>0x8&0xff]]^_0x3413b1[_0xff1854[_0xd51795&0xff]];}}},'encryptBlock':function(_0x4068d5,_0x4b935b){var _0x434b1e=_0x19d0be;this[_0x434b1e(0x38e)](_0x4068d5,_0x4b935b,this[_0x434b1e(0x26f)],_0x3df554,_0x359054,_0x5f464c,_0x3ba141,_0xff1854);},'decryptBlock':function(_0x2b8793,_0x55bceb){var _0x4adfa1=_0x19d0be,_0x449443=_0x2b8793[_0x55bceb+0x1];_0x2b8793[_0x55bceb+0x1]=_0x2b8793[_0x55bceb+0x3],_0x2b8793[_0x55bceb+0x3]=_0x449443,this[_0x4adfa1(0x38e)](_0x2b8793,_0x55bceb,this[_0x4adfa1(0x1a0)],_0x17f7df,_0x1a3113,_0xc1560d,_0x3413b1,_0x1cea18);var _0x449443=_0x2b8793[_0x55bceb+0x1];_0x2b8793[_0x55bceb+0x1]=_0x2b8793[_0x55bceb+0x3],_0x2b8793[_0x55bceb+0x3]=_0x449443;},'_doCryptBlock':function(_0x38749f,_0x313e16,_0xd49e36,_0x3557f3,_0x253419,_0x7be4e0,_0x220dbb,_0xef94b9){var _0x38e754=_0x19d0be;for(var _0x2125fe=this[_0x38e754(0x17b)],_0x2f0cbf=_0x38749f[_0x313e16]^_0xd49e36[0x0],_0x278945=_0x38749f[_0x313e16+0x1]^_0xd49e36[0x1],_0x4e775c=_0x38749f[_0x313e16+0x2]^_0xd49e36[0x2],_0x188608=_0x38749f[_0x313e16+0x3]^_0xd49e36[0x3],_0x152ae8=0x4,_0x1b44d7=0x1;_0x1b44d7<_0x2125fe;_0x1b44d7++){var _0x37b421=_0x3557f3[_0x2f0cbf>>>0x18]^_0x253419[_0x278945>>>0x10&0xff]^_0x7be4e0[_0x4e775c>>>0x8&0xff]^_0x220dbb[_0x188608&0xff]^_0xd49e36[_0x152ae8++],_0x29f0c5=_0x3557f3[_0x278945>>>0x18]^_0x253419[_0x4e775c>>>0x10&0xff]^_0x7be4e0[_0x188608>>>0x8&0xff]^_0x220dbb[_0x2f0cbf&0xff]^_0xd49e36[_0x152ae8++],_0x32c25a=_0x3557f3[_0x4e775c>>>0x18]^_0x253419[_0x188608>>>0x10&0xff]^_0x7be4e0[_0x2f0cbf>>>0x8&0xff]^_0x220dbb[_0x278945&0xff]^_0xd49e36[_0x152ae8++],_0x4fe4fd=_0x3557f3[_0x188608>>>0x18]^_0x253419[_0x2f0cbf>>>0x10&0xff]^_0x7be4e0[_0x278945>>>0x8&0xff]^_0x220dbb[_0x4e775c&0xff]^_0xd49e36[_0x152ae8++];_0x2f0cbf=_0x37b421,_0x278945=_0x29f0c5,_0x4e775c=_0x32c25a,_0x188608=_0x4fe4fd;}var _0x37b421=(_0xef94b9[_0x2f0cbf>>>0x18]<<0x18|_0xef94b9[_0x278945>>>0x10&0xff]<<0x10|_0xef94b9[_0x4e775c>>>0x8&0xff]<<0x8|_0xef94b9[_0x188608&0xff])^_0xd49e36[_0x152ae8++],_0x29f0c5=(_0xef94b9[_0x278945>>>0x18]<<0x18|_0xef94b9[_0x4e775c>>>0x10&0xff]<<0x10|_0xef94b9[_0x188608>>>0x8&0xff]<<0x8|_0xef94b9[_0x2f0cbf&0xff])^_0xd49e36[_0x152ae8++],_0x32c25a=(_0xef94b9[_0x4e775c>>>0x18]<<0x18|_0xef94b9[_0x188608>>>0x10&0xff]<<0x10|_0xef94b9[_0x2f0cbf>>>0x8&0xff]<<0x8|_0xef94b9[_0x278945&0xff])^_0xd49e36[_0x152ae8++],_0x4fe4fd=(_0xef94b9[_0x188608>>>0x18]<<0x18|_0xef94b9[_0x2f0cbf>>>0x10&0xff]<<0x10|_0xef94b9[_0x278945>>>0x8&0xff]<<0x8|_0xef94b9[_0x4e775c&0xff])^_0xd49e36[_0x152ae8++];_0x38749f[_0x313e16]=_0x37b421,_0x38749f[_0x313e16+0x1]=_0x29f0c5,_0x38749f[_0x313e16+0x2]=_0x32c25a,_0x38749f[_0x313e16+0x3]=_0x4fe4fd;},'keySize':0x100/0x20});_0x348eed['AES']=_0x1b1057['_createHelper'](_0x2ae921);}()),_0x3c5c32[_0xfe96d2(0x148)];}));}(Ve)),Ve[_0x55ce5a(0x1e2)];}var Sn=mn();function _0x302e(_0x31cd14,_0xdbc954){_0x31cd14=_0x31cd14-0x144;var _0x1c0a60=_0x1c0a();var _0x302e32=_0x1c0a60[_0x31cd14];return _0x302e32;}const gn=$e(Sn);var Tn=Ri();const ti=$e(Tn);var Je={'exports':{}},On=Je[_0x16b230(0x1e2)],ii;function Rn(){return ii||(ii=0x1,function(_0x595376,_0x75f292){(function(_0x399086,_0x562159){var _0x253d50=_0x302e;_0x595376[_0x253d50(0x1e2)]=_0x562159(ie());}(On,function(_0x3571f8){var _0x1fc2ce=_0x302e;return _0x3571f8['enc'][_0x1fc2ce(0x429)];}));}(Je)),Je['exports'];}var Nn=Rn();const Cn=$e(Nn);var Ze={'exports':{}},bn=Ze[_0x16b230(0x1e2)],si;function Dn(){var _0x47a3cf=_0x16b230;return si||(si=0x1,function(_0x2b081b,_0x2246c0){(function(_0x3ae33c,_0x488e45){var _0x277da9=_0x302e;_0x2b081b[_0x277da9(0x1e2)]=_0x488e45(ie());}(bn,function(_0x2718dd){var _0x10b386=_0x302e;return(function(){var _0xc2bc07=_0x302e;if(typeof ArrayBuffer==_0xc2bc07(0x450)){var _0x4ffaa5=_0x2718dd,_0x3dc0d5=_0x4ffaa5[_0xc2bc07(0x466)],_0x1fde79=_0x3dc0d5[_0xc2bc07(0x166)],_0x2668a8=_0x1fde79[_0xc2bc07(0x1c6)],_0x474e6e=_0x1fde79[_0xc2bc07(0x1c6)]=function(_0x1b911b){var _0x691337=_0xc2bc07;if(_0x1b911b instanceof ArrayBuffer&&(_0x1b911b=new Uint8Array(_0x1b911b)),(_0x1b911b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1b911b instanceof Uint8ClampedArray||_0x1b911b instanceof Int16Array||_0x1b911b instanceof Uint16Array||_0x1b911b instanceof Int32Array||_0x1b911b instanceof Uint32Array||_0x1b911b instanceof Float32Array||_0x1b911b instanceof Float64Array)&&(_0x1b911b=new Uint8Array(_0x1b911b[_0x691337(0x248)],_0x1b911b[_0x691337(0x40e)],_0x1b911b[_0x691337(0x2e3)])),_0x1b911b instanceof Uint8Array){for(var _0x2ce2b9=_0x1b911b['byteLength'],_0x1d9c04=[],_0x732e0e=0x0;_0x732e0e<_0x2ce2b9;_0x732e0e++)_0x1d9c04[_0x732e0e>>>0x2]|=_0x1b911b[_0x732e0e]<<0x18-_0x732e0e%0x4*0x8;_0x2668a8['call'](this,_0x1d9c04,_0x2ce2b9);}else _0x2668a8[_0x691337(0x3ad)](this,arguments);};_0x474e6e[_0xc2bc07(0x1d1)]=_0x1fde79;}}()),_0x2718dd[_0x10b386(0x466)][_0x10b386(0x166)];}));}(Ze)),Ze[_0x47a3cf(0x1e2)];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe['exports'],ni;function Pn(){return ni||(ni=0x1,function(_0x21e813,_0x357114){(function(_0x1183cf,_0x2f0a4e,_0x4035f2){var _0x2a8465=_0x302e;_0x21e813[_0x2a8465(0x1e2)]=_0x2f0a4e(ie(),Ci());}(An,function(_0x2ff917){var _0x3f1b7e=_0x302e;return _0x2ff917[_0x3f1b7e(0x14e)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2ff917[_0x3f1b7e(0x14e)][_0x3f1b7e(0x406)];}));}(Qe)),Qe['exports'];}function _0x1c0a(){var _0x46e463=['image/bmp','/universer-api/snapshot','incrementRevOfUnit','_doCryptBlock','push','_onRemoteChangeset','JOIN_ROOM_NOT_EXISTS','/object/','LOCAL_CACHE_INTERVAL','_decreaseWaiting','/object','_initRequestHeader','fromCollab','_getSignURL','YUUMI_UNABLE_LOAD_URL','clone','onTransformSelections','ENTITLE_NEED_BILLING_ADDRESS','_createHelper','_awaitingChangeset','_getSendChangesetTimeout','_transitionLocked','_transformIMECache','SOCKET_FAILED','status','_univerInstanceService','Undefined','changesets','data','onTransformState','_compressMutationService','getLatestCsReqIdBySid','keySize','words','apply','setConfig','updateCollaborator','UNAUTHENTICATED','resend','_httpService','_registerDependencies','INVITE_CODE_ALREADY_BOUND','/universer-api/authz','/-/object/-/batch_allowed','NOT_FOUND','/block/','unitId','charCodeAt','registerHTTPInterceptor','pending','_transformSelections','createDecryptor','_HTTPService','liveShareNewHost','sessionStatus','APPLY_NON_SEQUENTIAL_REVISION','UPDATE_CURSOR','BlockCipherMode','_entityInit$','getSheetBlock','OpenSSL','debug','Failed\x20to\x20update\x20permission\x20point','PY_RUNTIME_SCRIPT_ERROR','INTERNAL_ERROR','_resendTimeout','subject','CONNECTOR_DATA_TOO_LARGE','actions','sheets','params','finalize','_startTelemetryCollaborationNewChangeset','_initCloseConn','collaboration-client.config','onRemoteChangeset','_reverseMap','AUTHORIZE_CODE_ILLEGAL','emitEvent','updateMember','saveSheetBlock','JOIN','getValue','ws://127.0.0.1:8000/universer-api/comb/connect','_sessions','&source=','LICENSE_IMPORT_SIZE_EXCEEDED','EMAIL_VERIFY_CODE_MISMATCH','onRemoteRej','eventID','encrypt','_memberService','JOIN_ROOM_PERMISSION_DENIED','HEARTBEAT_INTERVAL','LOGIN_TOKEN_PROCESSING_FAILED','onLocalMutation','_applyRemoteChangeset','NEW_CHANGESETS','localCacheService','GLOBAL_ROOMS_CNT_EXCEEDS','_onMessage','_sender','override','size','catch','_resendWithTimeout','waitForRoom$','defineProperty','default','_sendingTimer','collaboratorID','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_data','concat','ClipsheetFragments','charAt','getUnitStatus$','max','objectID','_updateLocalCache','_clearRedo','_hasher','avatar','NoPadding','getInterceptPoints','_fetchMissChangesets','headers','FAIL','ENTITLE_USE_COUPON_NOT_1ST_TRADE','disposeWithMe','PERMISSION_REJ','byteOffset','_init','splice','UNIVER_DOC','collabWebSocketUrl','_mode','FETCH_MISSING','_minBufferSize','_transformService','_revisionService','RECV','userID','setWaitCount','socket\x20open.','_changesetReqId','ENTITLE_CHAT_LIMIT_EXCEED','YUUMI_AI_RUN_FAILED','TOO_MANY_REQUESTS','_toggleOffline','_members','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','resolve','now','objects','_getCtorByUniverType','_telemetryInfo','forEach','Utf8','length','session.room-not-exists','LICENSE_DISTRO_REJECTED','_emitMembers','complete','_createInitialStateImpl','_getCurrentRevision','enc','REDEMPTION_USER_NOT_ELIGIBLE','_clearCollaborationTimeoutTimer','_collaborationUIEventService','every','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','YUUMI_RATE_OVER_LIMIT','_configService','HMAC','dispose','onTransformRemoteChangesetByIMECache','USERS_ENTER','reconnect','x-univer-host','isArray','SUBMIT_CHANGESET_TIMEOUT','encodeURIComponent','CipherParams','csRejEvent','_change$','IDLE','ENTITLE_INVALID_COUPON_CODE','_collaborationSessionService','_clearTimeoutTimer','update','__creator','/universer-api/uniscript','updatePermissionObjEvent','_createSocket','&assign=','_ENC_XFORM_MODE','function','_clearHeartbeatTimer','3295GsLSIT','loadUnitOfRevision','loadSheet','_remoteChangesetQueue','HttpImport','map','OTHER_CLIENTS_EDITING','DATA_SOURCE_TOO_LARGE','enableSingleActiveInstanceLock','objectActions','Univer','onTransformIME','open$','reverse','[OfflineState]:\x20received\x20acknowledgement.','title','_onRecvEvent','onMutationExecutedForCollab','SNAPSHOT_HAS_BEEN_REMOVED','subscribe','lib','type','/collaborator','transformChangesets','_createHandler','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_DUPLICATED','formatter','awaitingChangeset','INVALID_INVITE_CODE','href','status$','change$','blockSize','YUUMI_ASYNCIO_CANCELLED','HEARTBEAT_TIMEOUT','AES','algo','slice','ivSize','processBlock','601166wrbPIK','pad','[CollaborationSessionService]:\x20socket\x20error','LOGIN_FAILED','allowed','_roomMembers','3300DsbtRx','APPLY_REJECT','onRemoteRetry','_disableEditing','$super','LIVESHARE_TERMINATE','_transformRemoteChangesetByIMECache','_getUndoStack','REDEMPTION_CODE_HAS_BEEN_CREATED','_onJoinRoomEvent','_members$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','transformUndoRedo','_event$','clear','/universer-api/comb','editing\x20status\x20changed\x20to','_syncEditingCollabCursor','_networkConditionService','WordArray','socketService','[UniverCollaborationClientPlugin]','confirm','&to=','call','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unsubscribe','NOT_COLLAB','EvpKDF','snapshotServerUrl','LICENSE_EXPORT_SIZE_EXCEEDED','_shouldReportTelemetry','_xformMode','put','awaiting_with_pending','[PendingState]:\x20received\x20acknowledgement.','LEAVE','mutations','responseType','updateSnapshot','_nRounds','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','parse','transformStack\x20failed!','reset','sid','MD5','PAYMENT_CHANNEL_NOT_SUPPORT','copyFileMeta','crypto','_onRemoteRetry','ENTITLE_COUPON_USED_UP','encryptBlock','USER_NOT_INVITED_CODE','fetching\x20missing\x20changesets\x20from\x20','UNDEFINED','awaiting','transformSelections','reject','createInstance','_doCreateSocket','OFFLINE','ENSURE_SNAPSHOT_EXECUTION','NO_OTHER_CLIENTS_EDITING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','hasher','loadUnit','appendMutation','src','getCollabEntity$','__esModule','code','[OfflineState]:\x20received\x20changeset.','toString','socket\x20close','onlyLocal','_queuedRemoteChangesets','_invKeySchedule','DEFAULT_FILE_NAME','1620366YxhXBl','CONFLICT','HmacSHA1','c1Prime','_transformRemoteChangesetByStateCache','AWAITING_WITH_PENDING','enableCollaboration','cfg','mixIn','univer-pro.collaboration-client-socket-service','_commentUpdate$','collabSubmitChangesetUrl','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[SyncedState]:\x20received\x20rejection.','LIVESHARE_FETCH_OPERATIONS','_handlerCallback','string','liveShareOperation','_snapshotServerService','Latin1','enableAuthServer','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getTime','_timeoutTimer','salt','_injector','/universer-api/oidc/authpage','roomInfos','Pkcs7','3910296sfWtRJ','ERROR_AGAIN','UNIVER_SHEET','join','key','LICENSE_MAX_UNITS_EXCEEDED','UUID','init','univer-pro.collaboration-client.network-condition.service','_createHmacHelper','_changesetSessionId','encode','_parse','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','APPLY_PERMISSION_DENIED','INVITE_CODE_HAS_BEEN_UES','getUnitType','readyForCollab','prototype','retryConnectingInterval','BASE64','UNIVER_SLIDE','CURRENT_STATUS_CANNOT_OPERATE','_onConnectionFailed','_entities','findIndex','getConfig','_unitInfo$','_removeRoom','_onFetchMissResult','collaboration-client.local-cache-service','/new_changes','/allowed','_collabSessionService','_lockTransition','exports','downloadEndpointUrl','includes','_DEC_XFORM_MODE','_initMergeInterceptor','hasOwnProperty','getMember','editingUnit','repeat','_stopTelemetryCollaborationNewChangeset','YUUMI_ALL_TABLES_IS_INVALID','deleteCollaborator','decrypt','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socket$','Base64','UnitSnapshot','_status$','_transformUndoredo','collaborators','_toggleOnline','_sendHeartbeatTimer','members','resourceIDs','fetchMiss','_listenToNetworkCondition','[FetchMissState]','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','pauseCollaboration','ENTITLE_COUPON_EXPIRED','target','randomBytes','_initUnitPermissionChange','_nDataBytes','_logService','PERSON','_startCollaboration','_hash','pipe','clamp','_createInitialState','_unlockTransition','transformMutationsWithChangeset','USERS_LEAVE','_onRemoteRejected','addHandlerCallback','_onUserLeave','ONLINE','body','CHANGESET_SHOULD_RETRY','connection\x20error','toggleOnline','REDEMPTION_INVALID_CODE','CHANGESET_ACK','FETCH_MISS','REDEMPTION_CODE_INACTIVE','_redoStacks','SOCKET_FAILED_RETRY','min','format','getTypeOfUnitDisposed$','_replayCachedMutations','m2Prime','_commentService','_getAPIPrefixPath','setShowComponents','_getAPIPrefix','execute','_iv','_getLoginPath','_type','_sheetTransformSelectionsService','_submitChangeset','replace','onTransformRemoteChangesetByStateCache','deepClone','_snapshotService','getMemberID','joinEvent','revision','onStarting','[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.','get','fetchThroughInterceptors','ENTITLE_INSUFFICIENT_QUOTA','_localeService','/-/object/list','getCurrentRevOfUnit','requireSession','listRoles','extend','HEARTBEAT','_localCacheService','/rev/','csAckEvent','OTHER_CLIENT_EDITING','newCsEvent','readAsDataURL','UNIVER_PROJECT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','sessionStatus$','/fetchmissing?from=','buffer','list','SUBMIT_CHANGESET','_socketMessageSubscription','append','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_process','\x20in\x20_schedule.','fromCharCode','_updateStatus','synced','FileId','INGEST','memberID','_updateState','objectType','_onOffline','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','asObservable','startsWith','?url=','_throwTelemetryCollaborationNewChangeset','padding','_tryReconnect','not_collab','_getRedoStack','getOwnPropertyDescriptor','SHOULD_CLOSE_CONN','c2Prime','LIVESHARE_OPERATION','[OfflineState]:\x20received\x20rejection.','BlockCipher','[CollaborationState]:\x20apply\x20error!','session.room-permission-denied','INVALID_ARGUMENT','REDEMPTION_CODE_NOT_STARTED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','toggleOffline','_socketService','_keySchedule','onStateChange','_onLocalMutation','CHANGESET_REVISION_CONFILICT','CLOSE_ROOM','?size=','_collaborationPaused','collaMsg','textRanges','pluginName','executeCommand','9uAItNK','close$','_handler','\x20-\x20','routeKey','close','getImage','infoRsp','stopTime','sigBytes','_socket','isPermissionRej','Hasher','_transformStack','_exhaustRemoteChangesetQueue','initWorkbookPermissionChange','onMissedChangesetFetched','{fileID}','LIVESHARE_REQUEST_HOST','removeMember','unknown','_showConflictNotification','updatePermissionPoint','state$','Malformed\x20UTF-8\x20data','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','values','equals','PSEUDO_FETCH_MISSING_RESULT','People','setCurrentUser','interceptor','_collaborationTimeoutTimer','loadOfflineData','UNKNOWN_CMD','_replaceFileID','telemetry\x20info\x20is\x20not\x20initialized','_scheduleCompleteTimestamp','batchAllowed','SNAPSHOT_URL_KEY','[CollaborationUndoRedoService]','Error\x20on\x20receiving\x20event','originalMeta','createSocket','_userManagerService','loginUrlKey','method','ENTITLE_DUP_SUBSCRIPTION','UNRECOGNIZED','_undoRedoService','USER_IS_ANONYMOUS','selections','_retryCount','message$','createCollaborator','_eventService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearLocalCache','ceil','image/jpg','commentUpdateEvent','find','_checkMissing','_doFinalize','cmd','_tryEnsureSocket','updateOfflineData','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_commandService','filter','result','enableOfflineEditing','compute','onSyncEditingCollabCursor','_config','_resendTimer','_clearUndo','COMPLETION_FINISHED','_scheduleCollaborationTimeoutTimer','POST','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onMissingChangesets','session.room-full','_transformStateCache','_socket$','state','ENTITLE_CAN_NOT_BUY_LOWER_OTP','\x20to\x20','baseRev','withCredentials','file','getTypeOfUnitAdded$','_onConflict','CHANGESET_REJ','msCrypto','_substituteRedoStack','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','save\x20fail\x20reason\x20is\x20','WECHAT_HAS_BEEN_BOUND','UnitEmbedded','create','unitID','fetchMissingChangesets','_waitForHeartbeatResponse','dispose$','byteLength','COMPRESS_MUTATION_SEND','YUUMI_CONNECTOR_URL_NOT_FOUND','[CollaborationSession]','updateCursorEvent','ciphertext','Cipher','Hex','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_telemetryService','_key','UNIVER_COLLABORATION_CLIENT_PLUGIN','closeSession','_isPermissionRej','set','members$','_incrementRevisionNumber','getSheetId','reduce','saveSnapshot','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ALREADY_EXISTS','HELLO','_doReset','univer-pro.collaboration-client.single-active-unit-service','_sessionStatus$','readInt32LE','UserProfileImg','localeService','image/png','kdf','/unit/','has','session.join-failed','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_onCombEvent','_clearScheduledTask','_oKey','SUCCUSS','_schedule','_onUserJoin','LIVESHARE_NEW_HOST','INVITE_CODE_REQUIRED','getUnitId','JOIN_ROOM_FULL','__Key__','REDEMPTION_CODE_FULLY_REDEEMED','unpad','YUUMI_URL_COL_OUT_OF_RANGE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_rescheduleHeartbeat','AWAITING','getUnit','getCollabEntity','symbol','11857816baAaLf','MUTATION','Decryptor','[DataLoaderService]','next','/universer-api/snapshot/','post','PasswordBasedCipher','collaboration_new_changeset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','reqId','_undoStacks','sendChangesetTimeout','online$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getCurrentSelections','range','then','url','_state$','getUnitOnRev','MOBILE_VERIFY_CODE_MISMATCH','_unitID','putCollaborators','UPDATE_PERMISSION_OBJ','auth.needGotoLoginAlert','Base','getAllMembers','_append','ERROR_EXCEED_SIZE','snapshot','action','send','_retryConnectingTimer','MSG_FOR_ERROR','patch','decryptBlock','uniscriptRunEvent','onRemoteAck','SNAPSHOT_INVALID_SNAPSHOT','uploadFileServerUrl','_permissionService','event$','_candidateSocket','_socketReady','getActiveSheet','OPTIONAL','/universer-api/stream/file/upload','_substituteUndoStack','offline','Encryptor','_getDownloadEndpointURL','ENTITLE_REPORT_LIMIT_EXCEED','capture','random','PERMISSION_DENIED','JOINING','add','_waitCount','_pendingMutations','name','_executeRemoteChangeset','_roomCreated$','EMAIL_HAS_BEEN_BOUND','sin','_onConnectionOpen','iterations','indexOf','SYNCED','shouldCloseConn','HttpExport','session','entityInit$','_clearRetryConnectingTimer','authzUrl','_prevBlock','signUrlServerUrl','failed\x20to\x20apply\x20missed\x20changesets!','fetch_missing','unitId\x20is\x20not\x20found','386297BLMhyE','_map','joinRsp','duration','696374YSKjLd','_singleActiveUnitService','_onRemoteACK','SHA1','_instanceService','_cipher','APPLY_REVISION_CONFILICT','getCurrentUser','substr','/universer-api/user/session-ticket','mode','permissionRejEvent','_imageSourceCache','focused$','getRandomValues','stringify','_state','onSendChangeset','JOIN_ROOM_FAILED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','location','createEncryptor','error','_acknowledgedAwaitingChangeset','delete','floor','requestParams','COMPRESS_MUTATION_APPLY','getFocusedUnit'];_0x1c0a=function(){return _0x46e463;};return _0x1c0a();}var Ln=Pn();const wn=$e(Ln);function Mn(_0x31b212,_0x3990fb){var _0x1db95a=_0x16b230;const _0xbeb876=_0x3990fb-_0x31b212[_0x1db95a(0x42a)]%_0x3990fb,_0x231967=String[_0x1db95a(0x250)](_0xbeb876)[_0x1db95a(0x1ea)](_0xbeb876);return _0x31b212+_0x231967;}function xn(_0x407cf3,_0x3397e7){var _0x497092=_0x16b230;const _0x555ce3=Un[_0x497092(0x350)](0x10),_0x185dcf=Mn(_0x407cf3,0x10),_0x459567=gn[_0x497092(0x3e5)](Cn[_0x497092(0x17d)](_0x185dcf),ti['parse'](_0x3397e7),{'iv':_0x555ce3,'padding':wn});return _0x555ce3[_0x497092(0x3fc)](_0x459567[_0x497092(0x2e8)])[_0x497092(0x19c)](ti);}function kn(){var _0x1ee7f9=_0x16b230;const _0x3dc6a7=_0x42345e()[_0x1ee7f9(0x310)];if(_0x3dc6a7){const _0x67c3a6={'time':Math[_0x1ee7f9(0x387)](Date[_0x1ee7f9(0x424)]()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x1ee7f9(0x37d)](_0x67c3a6),_0x3dc6a7);}}var $n=Object[_0x16b230(0x262)],Hn=(_0x4ede9c,_0xb05334,_0x797258,_0x538143)=>{var _0x52a3d6=_0x16b230;for(var _0x557c03=_0x538143>0x1?void 0x0:_0x538143?$n(_0xb05334,_0x797258):_0xb05334,_0x3396c2=_0x4ede9c[_0x52a3d6(0x42a)]-0x1,_0x3e5da4;_0x3396c2>=0x0;_0x3396c2--)(_0x3e5da4=_0x4ede9c[_0x3396c2])&&(_0x557c03=_0x3e5da4(_0x557c03)||_0x557c03);return _0x557c03;},Bn=(_0x1d6716,_0x7549f3)=>(_0x567c2c,_0x5cf92d)=>_0x7549f3(_0x567c2c,_0x5cf92d,_0x1d6716);let at=class{constructor(_0x45c7c9){var _0x1e3524=_0x16b230;this[_0x1e3524(0x3b2)]=_0x45c7c9,this[_0x1e3524(0x396)]();}['_initRequestHeader'](){var _0x2db8e9=_0x16b230;this[_0x2db8e9(0x3b2)]['registerHTTPInterceptor']({'interceptor':(_0x1b8514,_0x3f733e)=>{var _0x439b84=_0x2db8e9;const _0x316fe5=_0x1b8514[_0x439b84(0x409)],_0x48c096=kn();return _0x48c096&&_0x316fe5[_0x439b84(0x2f1)](_0x439b84(0x43e),_0x48c096),_0x3f733e(_0x1b8514);}});}};at=Hn([Bn(0x0,_0x51e09b(_0x1be1ef))],at);var Fn=Object[_0x16b230(0x262)],jn=(_0x2ec718,_0xa835b0,_0x54dd09,_0x33cf39)=>{var _0x41ffca=_0x16b230;for(var _0x5ce5c7=_0x33cf39>0x1?void 0x0:_0x33cf39?Fn(_0xa835b0,_0x54dd09):_0xa835b0,_0x17505d=_0x2ec718[_0x41ffca(0x42a)]-0x1,_0x355801;_0x17505d>=0x0;_0x17505d--)(_0x355801=_0x2ec718[_0x17505d])&&(_0x5ce5c7=_0x355801(_0x5ce5c7)||_0x5ce5c7);return _0x5ce5c7;},vt=(_0x2a16db,_0x1b8fdf)=>(_0x363e22,_0x51f195)=>_0x1b8fdf(_0x363e22,_0x51f195,_0x2a16db);let Ot=class extends _0x5e99c8{constructor(_0x375f31,_0x5c53cf,_0x37f745){var _0x2283ed=_0x16b230;super(),D(this,_0x2283ed(0x1da),new _0x3906b7(null)),D(this,'unitInfo$',this[_0x2283ed(0x1da)][_0x2283ed(0x25a)]()),(this[_0x2283ed(0x204)]=_0x375f31,this[_0x2283ed(0x22e)]=_0x5c53cf,this['_localCacheService']=_0x37f745);}async[_0x16b230(0x453)](_0x463311,_0xeec802,_0x555228){var _0x306c54=_0x16b230;this['_unitInfo$'][_0x306c54(0x31e)]({'unitId':_0x463311,'type':_0xeec802});let _0x3eba8d=null;switch(_0xeec802){case Q['UNIVER_SHEET']:{_0x3eba8d=await this[_0x306c54(0x22e)][_0x306c54(0x454)](_0x463311,_0x555228);break;}case Q['UNIVER_DOC']:{_0x3eba8d=await this[_0x306c54(0x22e)]['loadDoc'](_0x463311,_0x555228);break;}default:{this[_0x306c54(0x204)]['error'](_0x306c54(0x31d),_0x306c54(0x17c));break;}}return _0x3eba8d;}async[_0x16b230(0x195)](_0x1e166e,_0xa87ea3,_0x3b5002){var _0x144160=_0x16b230,_0x15ce75;this[_0x144160(0x1da)][_0x144160(0x31e)]({'unitId':_0x1e166e,'type':_0xa87ea3,'subUnitId':_0x3b5002});let _0x38035e=0x0;const _0x314040=await((_0x15ce75=this[_0x144160(0x23e)])==null?void 0x0:_0x15ce75[_0x144160(0x29b)](_0x1e166e));return _0x314040&&(_0x314040[_0x144160(0x46e)]||_0x314040[_0x144160(0x178)][_0x144160(0x42a)]!==0x0)&&(_0x38035e=_0x314040['rev']),_0x38035e===0x0&&this['_logService'][_0x144160(0x3c8)](_0x144160(0x31d),_0x144160(0x1ef)),this['loadUnitOfRevision'](_0x1e166e,_0xa87ea3,_0x38035e);}};Ot=jn([vt(0x0,_0x59ebdd),vt(0x1,_0x51e09b(_0x49b3d8)),vt(0x2,_0x400c2e(X))],Ot);var Vn=Object[_0x16b230(0x262)],Gn=(_0x39a74f,_0x58bef2,_0x591c04,_0x458e78)=>{var _0x188cf4=_0x16b230;for(var _0xbd00aa=_0x458e78>0x1?void 0x0:_0x458e78?Vn(_0x58bef2,_0x591c04):_0x58bef2,_0x3cd6a2=_0x39a74f[_0x188cf4(0x42a)]-0x1,_0x55f1c7;_0x3cd6a2>=0x0;_0x3cd6a2--)(_0x55f1c7=_0x39a74f[_0x3cd6a2])&&(_0xbd00aa=_0x55f1c7(_0xbd00aa)||_0xbd00aa);return _0xbd00aa;},Et=(_0x2a6080,_0x47850b)=>(_0x581032,_0x270109)=>_0x47850b(_0x581032,_0x270109,_0x2a6080);const Wn=[_0x16b230(0x300),'image/jpeg',_0x16b230(0x2b5),'image/gif',_0x16b230(0x38b)],Yn=0x5*0x400*0x400,Kn=_0x16b230(0x349),qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x35bbf6,_0x15d86d,_0x48d95e){var _0x4fd966=_0x16b230;D(this,_0x4fd966(0x354),0x0),D(this,_0x4fd966(0x444),new _0x492b16()),D(this,_0x4fd966(0x144),this[_0x4fd966(0x444)]),D(this,_0x4fd966(0x37a),new Map()),(this[_0x4fd966(0x3b2)]=_0x35bbf6,this['_configService']=_0x15d86d,this[_0x4fd966(0x3a4)]=_0x48d95e);}[_0x16b230(0x41a)](_0x131a6d){var _0x49e7ce=_0x16b230;this[_0x49e7ce(0x354)]=_0x131a6d,this[_0x49e7ce(0x444)][_0x49e7ce(0x31e)](_0x131a6d);}['getImageSourceCache'](_0x5955e9,_0x59332a){var _0x5a34c4=_0x16b230;if(_0x59332a===_0x5c584a[_0x5a34c4(0x1d3)]){const _0x2b3278=new Image();return _0x2b3278[_0x5a34c4(0x197)]=_0x5955e9,_0x2b3278;}return this[_0x5a34c4(0x37a)][_0x5a34c4(0x234)](_0x5955e9);}['addImageSourceCache'](_0x24580c,_0x10665c,_0x10005d){var _0x534172=_0x16b230;_0x10665c===_0x5c584a['BASE64']||_0x10005d==null||this[_0x534172(0x37a)][_0x534172(0x2f1)](_0x24580c,_0x10005d);}async[_0x16b230(0x280)](_0x5e8b1f){var _0xc480ba=_0x16b230;try{const _0x3d21fe=this['_replaceFileID'](this[_0xc480ba(0x398)](),''+_0x5e8b1f),_0x41c8dd=(await this['_httpService'][_0xc480ba(0x234)](_0x3d21fe))[_0xc480ba(0x212)];if(_0x41c8dd[_0xc480ba(0x384)]&&_0x41c8dd[_0xc480ba(0x384)]['code']===vi['OK']){const _0x706de8=new URL(_0x41c8dd['url'],this[_0xc480ba(0x34d)]())[_0xc480ba(0x19c)]();return Promise[_0xc480ba(0x423)](_0x706de8);}return Promise['reject'](_0x41c8dd[_0xc480ba(0x384)]);}catch(_0x4aedbe){return Promise[_0xc480ba(0x18d)](_0x4aedbe);}}async['saveImage'](_0x2ec3cd){var _0x2b8f1d=_0x16b230;let _0x2fee48='';if(!Wn[_0x2b8f1d(0x1e4)](_0x2ec3cd[_0x2b8f1d(0x467)]))return this[_0x2b8f1d(0x394)](),Promise[_0x2b8f1d(0x18d)](new Error(_0x7ef80c['ERROR_IMAGE_TYPE']));if(_0x2ec3cd[_0x2b8f1d(0x3f2)]>Yn)return this[_0x2b8f1d(0x394)](),Promise[_0x2b8f1d(0x18d)](new Error(_0x7ef80c[_0x2b8f1d(0x337)]));try{const _0x380433=new FormData();_0x380433[_0x2b8f1d(0x24c)](_0x2b8f1d(0x2d4),_0x2ec3cd);const _0x3bc3f1=this['_univerInstanceService'][_0x2b8f1d(0x38a)](),_0x5e3697=_0x3bc3f1==null?void 0x0:_0x3bc3f1[_0x2b8f1d(0x30e)]();if(!_0x5e3697)throw new Error(_0x2b8f1d(0x369));const _0x3405fe=this['_getUploadFileURL']()+_0x2b8f1d(0x274)+_0x2ec3cd[_0x2b8f1d(0x3f2)][_0x2b8f1d(0x19c)]()+_0x2b8f1d(0x3e0)+Ei[_0x2b8f1d(0x2dd)]+_0x2b8f1d(0x44e)+encodeURIComponent(_0x5e3697),_0x4ebfb3={'body':_0x380433},_0x4302c3=(await this[_0x2b8f1d(0x3b2)][_0x2b8f1d(0x320)](_0x3405fe,_0x4ebfb3))['body'];if(typeof _0x4302c3[_0x2b8f1d(0x253)]!=_0x2b8f1d(0x1b2))return this[_0x2b8f1d(0x394)](),Promise[_0x2b8f1d(0x18d)](new Error(_0x7ef80c['ERROR_IMAGE']));_0x2fee48=_0x4302c3['FileId'];}catch{return this[_0x2b8f1d(0x394)](),Promise[_0x2b8f1d(0x18d)](new Error(_0x7ef80c['ERROR_IMAGE']));}return new Promise((_0x27a7b9,_0xa8e8ca)=>{var _0x56c29a=_0x2b8f1d;const _0x4a0beb=new FileReader();_0x4a0beb[_0x56c29a(0x243)](_0x2ec3cd),_0x4a0beb['onload']=_0x26c8f3=>{var _0x5d9f24=_0x56c29a,_0x26e4b5;const _0x231dea=(_0x26e4b5=_0x26c8f3[_0x5d9f24(0x200)])==null?void 0x0:_0x26e4b5[_0x5d9f24(0x2c0)];if(_0x231dea==null){this[_0x5d9f24(0x394)](),_0xa8e8ca(new Error(_0x7ef80c['ERROR_IMAGE']));return;}const _0x286129=_0x55ec67(0x6);_0x27a7b9({'imageId':_0x286129,'imageSourceType':_0x5c584a[_0x5d9f24(0x1c5)],'source':_0x2fee48,'base64Cache':_0x231dea,'status':_0x7ef80c[_0x5d9f24(0x309)]}),this[_0x5d9f24(0x394)]();};});}['_getUploadFileURL'](){var _0x58f909=_0x16b230,_0x2ee482;const _0x1af0a2=this['_configService'][_0x58f909(0x1d9)](K);return(_0x2ee482=_0x1af0a2==null?void 0x0:_0x1af0a2[_0x58f909(0x342)])!=null?_0x2ee482:Kn;}[_0x16b230(0x398)](){var _0x583ab5=_0x16b230,_0x749f27;const _0x2959d8=this['_configService'][_0x583ab5(0x1d9)](K);return(_0x749f27=_0x2959d8==null?void 0x0:_0x2959d8[_0x583ab5(0x366)])!=null?_0x749f27:qn;}[_0x16b230(0x34d)](){var _0x4cf273=_0x16b230,_0x40ae79;const _0x44817f=this[_0x4cf273(0x438)]['getConfig'](K);return(_0x40ae79=_0x44817f==null?void 0x0:_0x44817f[_0x4cf273(0x1e3)])!=null?_0x40ae79:location['origin'];}[_0x16b230(0x29d)](_0x554e69,_0xed13a5){var _0x31ca1e=_0x16b230;return _0x554e69[_0x31ca1e(0x22b)](_0x31ca1e(0x28b),_0xed13a5);}[_0x16b230(0x394)](){var _0x22355e=_0x16b230;this['_waitCount']-=0x1,this[_0x22355e(0x444)][_0x22355e(0x31e)](this[_0x22355e(0x354)]);}};Rt=Gn([Et(0x0,_0x51e09b(_0x1be1ef)),Et(0x1,_0x50e1f2),Et(0x2,_0x51e09b(_0xcc4d1e))],Rt);var zn=Object['getOwnPropertyDescriptor'],Xn=(_0x382521,_0x5aae07,_0x51a14b,_0x3c7e0a)=>{var _0x191454=_0x16b230;for(var _0x4a2c74=_0x3c7e0a>0x1?void 0x0:_0x3c7e0a?zn(_0x5aae07,_0x51a14b):_0x5aae07,_0x4def90=_0x382521[_0x191454(0x42a)]-0x1,_0x572754;_0x4def90>=0x0;_0x4def90--)(_0x572754=_0x382521[_0x4def90])&&(_0x4a2c74=_0x572754(_0x4a2c74)||_0x4a2c74);return _0x4a2c74;},ri=(_0x18ef0c,_0x3b24d4)=>(_0x352d64,_0xa827da)=>_0x3b24d4(_0x352d64,_0xa827da,_0x18ef0c);const Jn=_0x16b230(0x3b5);let Nt=class{constructor(_0x122960,_0x4b725c){var _0x1c5443=_0x16b230;this[_0x1c5443(0x438)]=_0x122960,this[_0x1c5443(0x3bf)]=_0x4b725c;}['_getAPIPrefixPath'](){var _0x56f639=_0x16b230,_0x81d09b;const _0x26188c=this[_0x56f639(0x438)][_0x56f639(0x1d9)](K);return(_0x81d09b=_0x26188c==null?void 0x0:_0x26188c['authzUrl'])!=null?_0x81d09b:Jn;}async[_0x16b230(0x249)](_0x4e3936){var _0x28bce4=_0x16b230;const _0x3bda7a=this[_0x28bce4(0x222)]()+_0x28bce4(0x468);return{'list':[{'title':_0x28bce4(0x297),'mentions':(await this[_0x28bce4(0x3bf)]['get'](_0x3bda7a,{'params':{'objectID':_0x4e3936[_0x28bce4(0x3b9)],'unitID':_0x4e3936['unitId']}}))[_0x28bce4(0x212)][_0x28bce4(0x1f5)][_0x28bce4(0x457)](_0x58ebc4=>({'objectId':_0x58ebc4['id'],'name':_0x58ebc4[_0x28bce4(0x3cd)]['name'],'metadata':{'icon':_0x58ebc4[_0x28bce4(0x3cd)][_0x28bce4(0x405)]},'label':_0x58ebc4['subject'][_0x28bce4(0x356)],'objectType':_0x95429b[_0x28bce4(0x205)]})),'metadata':{},'type':_0x95429b[_0x28bce4(0x205)]}]};}};Nt=Xn([ri(0x0,_0x51e09b(_0x50e1f2)),ri(0x1,_0x51e09b(_0x1be1ef))],Nt);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x2cee78,_0x5c4982,_0x499cee,_0xef940)=>{var _0x4f5e0d=_0x16b230;for(var _0xbbd097=_0xef940>0x1?void 0x0:_0xef940?Zn(_0x5c4982,_0x499cee):_0x5c4982,_0x508b30=_0x2cee78[_0x4f5e0d(0x42a)]-0x1,_0x38a903;_0x508b30>=0x0;_0x508b30--)(_0x38a903=_0x2cee78[_0x508b30])&&(_0xbbd097=_0x38a903(_0xbbd097)||_0xbbd097);return _0xbbd097;},Ue=(_0x3cbc88,_0x40c92b)=>(_0x254e99,_0x5f4830)=>_0x40c92b(_0x254e99,_0x5f4830,_0x3cbc88);let ot=class extends _0x5e99c8{constructor(_0x3006e2,_0x1ba58d,_0x50df58,_0x37d402,_0xb0d0b7){var _0x5b5939=_0x16b230;super(),this[_0x5b5939(0x1bb)]=_0x3006e2,this[_0x5b5939(0x3a4)]=_0x1ba58d,this[_0x5b5939(0x343)]=_0x50df58,this['_collaborationSessionService']=_0x37d402,this[_0x5b5939(0x434)]=_0xb0d0b7,this[_0x5b5939(0x202)](),this[_0x5b5939(0x3d4)]();}[_0x16b230(0x3d4)](){var _0x56d9ea=_0x16b230;const _0x6dfdfa=async _0x191b5f=>{var _0x4efaf0=_0x302e;(await this[_0x4efaf0(0x447)]['requireSession'](_0x191b5f))[_0x4efaf0(0x344)][_0x4efaf0(0x208)](_0x4b54a1(_0x311354=>_0x311354[_0x4efaf0(0x3e4)]===_0xdbc4ab[_0x4efaf0(0x263)]),_0x4d9c8e(this[_0x4efaf0(0x2e2)]))[_0x4efaf0(0x465)](_0x1c62f9=>{var _0x118c52=_0x4efaf0;const _0x55d3d2=_0x1c62f9,{reason:_0x498cac}=_0x55d3d2[_0x118c52(0x3a7)];this[_0x118c52(0x434)][_0x118c52(0x3d9)]({'id':re[_0x118c52(0x273)],'data':_0x498cac}),this[_0x118c52(0x343)][_0x118c52(0x290)](new _0xa1b7c4(_0x191b5f)['id'],!0x1),this['_collaborationSessionService'][_0x118c52(0x2ef)](_0x191b5f);});};_0x18ac2d(this[_0x56d9ea(0x3a4)][_0x56d9ea(0x2d5)](_0x5afe7c[_0x56d9ea(0x1c1)]),this[_0x56d9ea(0x3a4)]['getTypeOfUnitAdded$'](_0x5afe7c[_0x56d9ea(0x411)]))[_0x56d9ea(0x208)](_0x4fd3ae(_0x57cf5e=>_0x57cf5e[_0x56d9ea(0x30e)]()),_0x4b54a1(_0x150294=>!_0x1f2a9f(_0x150294)),_0x4d9c8e(this[_0x56d9ea(0x2e2)]))[_0x56d9ea(0x465)](_0x4ecbab=>{_0x6dfdfa(_0x4ecbab);});}['_initUnitPermissionChange'](){var _0x5c2e0e=_0x16b230;const _0x130e99=async _0x5020b0=>{var _0x6d9bdb=_0x302e;const _0x185a7b=await this[_0x6d9bdb(0x447)][_0x6d9bdb(0x23a)](_0x5020b0),_0x288eef=this[_0x6d9bdb(0x1bb)]['get'](_0x3eb81e);_0x185a7b['event$'][_0x6d9bdb(0x208)](_0x4b54a1(_0x4b8691=>_0x4b8691[_0x6d9bdb(0x3e4)]===_0xdbc4ab[_0x6d9bdb(0x332)]),_0x4d9c8e(this[_0x6d9bdb(0x2e2)]))[_0x6d9bdb(0x465)](_0x46b8c7=>{var _0x2540e1=_0x6d9bdb;const _0x24877b=_0x46b8c7,{objectId:_0x1d819b}=_0x24877b[_0x2540e1(0x3a7)];_0x1d819b===_0x5020b0?_0x288eef[_0x2540e1(0x289)](_0x5020b0):_0x288eef['refreshPermission'](_0x5020b0,_0x1d819b);});};_0x18ac2d(this[_0x5c2e0e(0x3a4)][_0x5c2e0e(0x2d5)](_0x5afe7c[_0x5c2e0e(0x1c1)]))[_0x5c2e0e(0x208)](_0x4fd3ae(_0x5830c9=>_0x5830c9[_0x5c2e0e(0x30e)]()),_0x4b54a1(_0x11811c=>!_0x1f2a9f(_0x11811c)),_0x4d9c8e(this[_0x5c2e0e(0x2e2)]))[_0x5c2e0e(0x465)](_0x15f55e=>{_0x130e99(_0x15f55e);});}};ot=Qn([Ue(0x0,_0x51e09b(_0x43171c)),Ue(0x1,_0xcc4d1e),Ue(0x2,_0x481a75),Ue(0x3,_0x51e09b(Le)),Ue(0x4,_0x51e09b(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x1e24df,_0x1a895d,_0x2c657f,_0x85ca83)=>{var _0x40868a=_0x16b230;for(var _0x2a7a8f=_0x85ca83>0x1?void 0x0:_0x85ca83?er(_0x1a895d,_0x2c657f):_0x1a895d,_0x305b5a=_0x1e24df[_0x40868a(0x42a)]-0x1,_0x1f736c;_0x305b5a>=0x0;_0x305b5a--)(_0x1f736c=_0x1e24df[_0x305b5a])&&(_0x2a7a8f=_0x1f736c(_0x2a7a8f)||_0x2a7a8f);return _0x2a7a8f;},ai=(_0xadf393,_0x3ac9d2)=>(_0x4b0d13,_0x5d9e58)=>_0x3ac9d2(_0x4b0d13,_0x5d9e58,_0xadf393);let Ct=class{constructor(_0x1fadcb,_0x4d1d7c){var _0xc4e0ff=_0x16b230;this['_configService']=_0x1fadcb,this[_0xc4e0ff(0x3b2)]=_0x4d1d7c;}async[_0x16b230(0x32e)](_0x2fa076,_0x1ade6f){var _0x2ba69b=_0x16b230,_0x164335;const {unitID:_0x3fb62c,type:_0x52f8c3,revision:_0x539a26=0x0}=_0x1ade6f,_0x19fcb8=this['getSnapshotAPIPath']()+'/'+_0x52f8c3+_0x2ba69b(0x302)+_0x3fb62c+_0x2ba69b(0x23f)+_0x539a26,_0x50df3b=(await this[_0x2ba69b(0x3b2)][_0x2ba69b(0x234)](_0x19fcb8))[_0x2ba69b(0x212)],_0x198db8=(_0x164335=_0x50df3b[_0x2ba69b(0x338)])==null?void 0x0:_0x164335['workbook'];if(_0x198db8){const _0x1f8118=_0x198db8==null?void 0x0:_0x198db8[_0x2ba69b(0x2a4)],_0x40a1ca=_0x449aa7[_0x2ba69b(0x1ca)](_0x3459da(_0x1f8118));_0x198db8[_0x2ba69b(0x2a4)]=_0x40a1ca,Object['entries'](_0x198db8[_0x2ba69b(0x3d0)])[_0x2ba69b(0x428)](([,_0x188705])=>{var _0x4ce95b=_0x2ba69b;const _0x528099=_0x188705['originalMeta'],_0x5b8369=_0x449aa7[_0x4ce95b(0x1ca)](_0x3459da(_0x528099));_0x188705['originalMeta']=_0x5b8369;});}return _0x50df3b;}async[_0x16b230(0x3c6)](_0x5732e5,_0x549fe5){var _0x1428b4=_0x16b230;const {unitID:_0x3204cc,type:_0x588a99,blockID:_0x368e52}=_0x549fe5,_0x1e8a37=this[_0x1428b4(0x224)]()+'/'+_0x588a99+'/unit/'+_0x3204cc+_0x1428b4(0x3b8)+_0x368e52;return(await this[_0x1428b4(0x3b2)][_0x1428b4(0x234)](_0x1e8a37))[_0x1428b4(0x212)];}async['getDeserializedSheetBlock'](_0x4d0250,_0x29e865){var _0x3346f=_0x16b230;const {unitID:_0x2754a3,type:_0x28d0fe,blockID:_0x9e5be3}=_0x29e865,_0x4c469a=this['_getAPIPrefix']()+_0x3346f(0x3b8)+_0x28d0fe+_0x3346f(0x302)+_0x2754a3+_0x3346f(0x3b8)+_0x9e5be3;return(await this[_0x3346f(0x3b2)]['get'](_0x4c469a))[_0x3346f(0x212)];}async[_0x16b230(0x2e0)](_0x55caf4,_0x3fd81f){var _0x3cb50e=_0x16b230;const {unitID:_0x122394,type:_0x1d2f7f,from:_0x27f283,to:_0x23858c}=_0x3fd81f,_0x263c0a=this[_0x3cb50e(0x224)]()+'/'+_0x1d2f7f+'/unit/'+_0x122394+_0x3cb50e(0x247)+_0x27f283+_0x3cb50e(0x16a)+_0x23858c;return(await this[_0x3cb50e(0x3b2)]['get'](_0x263c0a))[_0x3cb50e(0x212)];}['getSnapshotAPIPath'](){var _0x2295c1;return(_0x2295c1=this['_configService']['getConfig'](vs))!=null?_0x2295c1:this['_getAPIPrefix']();}[_0x16b230(0x224)](){var _0x40bd70=_0x16b230,_0x40e7e3;const _0x29f8f4=this[_0x40bd70(0x438)][_0x40bd70(0x1d9)](K);return(_0x40e7e3=_0x29f8f4==null?void 0x0:_0x29f8f4[_0x40bd70(0x170)])!=null?_0x40e7e3:fs;}async['getResourcesRequest'](_0x1b5b84,_0x4d8554){var _0x24229f=_0x16b230;const _0x931f43=_0x24229f(0x31f)+_0x4d8554[_0x24229f(0x467)]+_0x24229f(0x302)+_0x4d8554['unitID']+'/resources';return(await this[_0x24229f(0x3b2)][_0x24229f(0x234)](_0x931f43,{'params':{'resourceId':JSON[_0x24229f(0x37d)](_0x4d8554[_0x24229f(0x1f9)])}}))['body'];}[_0x16b230(0x2f6)](){var _0xbe1adb=_0x16b230;throw new Error(_0xbe1adb(0x293));}[_0x16b230(0x17a)](){var _0xa7e4a2=_0x16b230;throw new Error(_0xa7e4a2(0x293));}[_0x16b230(0x3db)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x22b371=_0x16b230;throw new Error(_0x22b371(0x293));}[_0x16b230(0x183)](){var _0x54dff4=_0x16b230;throw new Error(_0x54dff4(0x293));}[_0x16b230(0x3aa)](){var _0x42fffc=_0x16b230;throw new Error(_0x42fffc(0x293));}};Ct=tr([ai(0x0,_0x50e1f2),ai(0x1,_0x51e09b(_0x1be1ef))],Ct);var ir=Object[_0x16b230(0x262)],sr=(_0x380609,_0x4935bc,_0x302484,_0x5329bc)=>{var _0x105a49=_0x16b230;for(var _0x1208c5=_0x5329bc>0x1?void 0x0:_0x5329bc?ir(_0x4935bc,_0x302484):_0x4935bc,_0x5e3ff8=_0x380609[_0x105a49(0x42a)]-0x1,_0x21de7d;_0x5e3ff8>=0x0;_0x5e3ff8--)(_0x21de7d=_0x380609[_0x5e3ff8])&&(_0x1208c5=_0x21de7d(_0x1208c5)||_0x1208c5);return _0x1208c5;},Ae=(_0x1cba28,_0x4fa7ff)=>(_0x292aa6,_0x405892)=>_0x4fa7ff(_0x292aa6,_0x405892,_0x1cba28);let bt=class extends _0x265544{constructor(_0x3fea85,_0x25a046,_0x348bfd,_0x40eddb,_0x9b3cbd){var _0x3416fd=_0x16b230;super(_0x3fea85,_0x25a046,_0x348bfd),this[_0x3416fd(0x416)]=_0x40eddb,this[_0x3416fd(0x204)]=_0x9b3cbd;}[_0x16b230(0x15f)](_0x3d14bc,_0x2945c4){var _0x2c1396=_0x16b230;const _0x474f60=this['_getUndoStack'](_0x3d14bc);if(_0x474f60)try{const _0x373abe=this['_transformStack'](_0x474f60,_0x2945c4);this[_0x2c1396(0x34a)](_0x3d14bc,_0x373abe);}catch(_0x16c8b1){this[_0x2c1396(0x204)][_0x2c1396(0x384)](_0x2c1396(0x2a2),_0x16c8b1),this[_0x2c1396(0x2c6)](_0x3d14bc);}const _0x5b9229=this[_0x2c1396(0x261)](_0x3d14bc);if(_0x5b9229)try{const _0x50b483=this[_0x2c1396(0x287)](_0x5b9229,_0x2945c4);this[_0x2c1396(0x2d9)](_0x3d14bc,_0x50b483);}catch(_0xb6143f){this[_0x2c1396(0x204)][_0x2c1396(0x384)](_0xb6143f),this[_0x2c1396(0x403)](_0x3d14bc);}}[_0x16b230(0x2c6)](_0x5e60ef){var _0x283599=_0x16b230;const _0x4ee581=this[_0x283599(0x15a)](_0x5e60ef);_0x4ee581&&(_0x4ee581[_0x283599(0x42a)]=0x0,this['_updateStatus']());}[_0x16b230(0x403)](_0x2d5602){var _0x41c962=_0x16b230;const _0x350ab4=this['_getRedoStack'](_0x2d5602);_0x350ab4&&(_0x350ab4[_0x41c962(0x42a)]=0x0,this[_0x41c962(0x251)]());}[_0x16b230(0x34a)](_0x4200db,_0x139336){var _0x8cdb0d=_0x16b230;this[_0x8cdb0d(0x325)][_0x8cdb0d(0x2f1)](_0x4200db,_0x139336),this['_updateStatus']();}[_0x16b230(0x2d9)](_0x20b6e9,_0x3e20a3){var _0x93e6a=_0x16b230;this[_0x93e6a(0x21a)][_0x93e6a(0x2f1)](_0x20b6e9,_0x3e20a3),this[_0x93e6a(0x251)]();}[_0x16b230(0x287)](_0x5d7d47,_0x36100d){var _0x424df9=_0x16b230;const _0x38c92f=[];let _0x99fff8=_0x36100d,_0x342942=_0x36100d;for(let _0xdd4532=_0x5d7d47[_0x424df9(0x42a)]-0x1;_0xdd4532>=0x0;_0xdd4532--){const {unitID:_0x9afd50,undoMutations:_0x37857a,redoMutations:_0x41185d}=_0x5d7d47[_0xdd4532],_0x268af0=this[_0x424df9(0x416)][_0x424df9(0x20c)](_0x99fff8,_0x37857a),_0xc7651f=this[_0x424df9(0x416)][_0x424df9(0x20c)](_0x342942,_0x41185d);if(_0x3e0e66(_0x268af0)||_0x3e0e66(_0xc7651f)){this[_0x424df9(0x204)][_0x424df9(0x384)](_0x424df9(0x2a2),_0x424df9(0x17e),_0x268af0,_0xc7651f);break;}_0x99fff8=_0x268af0[_0x424df9(0x1a5)],_0x342942=_0xc7651f[_0x424df9(0x1a5)],_0x38c92f[_0x424df9(0x38f)]({'unitID':_0x9afd50,'undoMutations':_0x268af0[_0x424df9(0x220)],'redoMutations':_0xc7651f[_0x424df9(0x220)]});}return _0x38c92f[_0x424df9(0x45f)]();}};bt=sr([Ae(0x0,_0xcc4d1e),Ae(0x1,_0x15a362),Ae(0x2,_0x534f9c),Ae(0x3,_0x46e45e),Ae(0x4,_0x59ebdd)],bt);var nr=Object['defineProperty'],rr=Object[_0x16b230(0x262)],ar=(_0x347a84,_0x56bcee,_0x5a9519)=>_0x56bcee in _0x347a84?nr(_0x347a84,_0x56bcee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a9519}):_0x347a84[_0x56bcee]=_0x5a9519,or=(_0x284751,_0x206c9b,_0x4ad015,_0x3bc2a4)=>{for(var _0xfa8b18=_0x3bc2a4>0x1?void 0x0:_0x3bc2a4?rr(_0x206c9b,_0x4ad015):_0x206c9b,_0x472583=_0x284751['length']-0x1,_0x12808b;_0x472583>=0x0;_0x472583--)(_0x12808b=_0x284751[_0x472583])&&(_0xfa8b18=_0x12808b(_0xfa8b18)||_0xfa8b18);return _0xfa8b18;},pt=(_0x335274,_0x122194)=>(_0x5e4757,_0x4d41bc)=>_0x122194(_0x5e4757,_0x4d41bc,_0x335274),cr=(_0x58d414,_0x206fa5,_0x1e6937)=>ar(_0x58d414,_0x206fa5+'',_0x1e6937);const _r=_0x16b230(0x2ee);let Dt=class extends _0x4d9aea{constructor(_0x490edf,_0x4a65f7,_0x292076,_0x54f7a6){var _0x48cca7=_0x16b230;super(),D(this,'_config'),(this[_0x48cca7(0x204)]=_0x4a65f7,this[_0x48cca7(0x1bb)]=_0x292076,this[_0x48cca7(0x438)]=_0x54f7a6);const {..._0x53e3f7}=_0x57ec4a({},Ms,_0x490edf);if(!_0x53e3f7['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x48cca7(0x2c4)]=_0x53e3f7,this[_0x48cca7(0x438)][_0x48cca7(0x3ae)](K,_0x53e3f7);}[_0x16b230(0x232)](){var _0x2e640d=_0x16b230;this[_0x2e640d(0x3b3)](),this['_initDependencies']();}[_0x16b230(0x3b3)](){var _0x22e236=_0x16b230,_0x3eabcf,_0x3147b2;this[_0x22e236(0x1bb)][_0x22e236(0x303)](_0x1b28a9)&&this[_0x22e236(0x204)][_0x22e236(0x384)](_0x22e236(0x168),_0x22e236(0x381));const _0x2b94c9=_0x56d6d7([[_0x1b28a9,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x22e236(0x2c4)][_0x22e236(0x167)]}],[_0x558832,{'useClass':Ct}],[_0x15b282,{'useClass':Tt}],[_0x21d8ac,{'useClass':Rt}],[_0x1d40cb,{'useClass':Nt}],[nt],[gt]],(_0x3eabcf=this[_0x22e236(0x2c4)])==null?void 0x0:_0x3eabcf[_0x22e236(0x3f1)]);if(!((_0x3147b2=this[_0x22e236(0x2c4)])!=null&&_0x3147b2[_0x22e236(0x45a)])){const _0x2730e6=_0x2b94c9[_0x22e236(0x1d8)](([_0x1c4fdc])=>_0x1c4fdc===_t);_0x2730e6!==-0x1&&_0x2b94c9[_0x22e236(0x410)](_0x2730e6,0x1);}_0x50f353(this[_0x22e236(0x1bb)],_0x2b94c9);}['_initDependencies'](){var _0x2c6d73=_0x16b230,_0x55b4ab,_0x170a0a,_0x1f7bea;this[_0x2c6d73(0x1bb)][_0x2c6d73(0x234)](_0x1be1ef)[_0x2c6d73(0x3bb)]({'priority':0x14,'interceptor':_0x2fd381({'maxParallel':0x6})}),(_0x55b4ab=this[_0x2c6d73(0x2c4)])!=null&&_0x55b4ab[_0x2c6d73(0x2c1)]||(_0x170a0a=this[_0x2c6d73(0x1bb)]['get'](X,_0xe7793f[_0x2c6d73(0x348)]))==null||_0x170a0a['disableLocalCache'](),(_0x1f7bea=this[_0x2c6d73(0x2c4)])!=null&&_0x1f7bea[_0x2c6d73(0x1b6)]&&_0x599778(this[_0x2c6d73(0x1bb)],[[rt]]),_0x599778(this[_0x2c6d73(0x1bb)],[[at],[nt],[ot]]);}};cr(Dt,_0x16b230(0x278),_r),Dt=or([_0xa9d05e(_0x17e79b,_0x1da82c),pt(0x1,_0x59ebdd),pt(0x2,_0x51e09b(_0x43171c)),pt(0x3,_0x50e1f2)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,ps as DEFAULT_COLLAB_WEB_SOCKET_URL,Nr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,mt as DocCollaborationEntity,ee as FetchingMissState,Is as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,X as ILocalCacheService,Fs as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,Ie as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,Ii as UnitStatus,Dt as UniverCollaborationClientPlugin,js as deserializeToCombResponse,Cr as getLocalCacheKey,Vs as serializeCombRequest};
1
+ var _0x5df1fb=_0x27ce;(function(_0x33ee97,_0x36d896){var _0x35cf3a=_0x27ce,_0x275288=_0x33ee97();while(!![]){try{var _0x36ea50=-parseInt(_0x35cf3a(0x1f0))/0x1*(parseInt(_0x35cf3a(0x1b7))/0x2)+-parseInt(_0x35cf3a(0x1af))/0x3+parseInt(_0x35cf3a(0x360))/0x4+-parseInt(_0x35cf3a(0x2db))/0x5+parseInt(_0x35cf3a(0x3ec))/0x6*(parseInt(_0x35cf3a(0x231))/0x7)+-parseInt(_0x35cf3a(0x467))/0x8*(parseInt(_0x35cf3a(0x408))/0x9)+parseInt(_0x35cf3a(0x1e6))/0xa*(parseInt(_0x35cf3a(0x205))/0xb);if(_0x36ea50===_0x36d896)break;else _0x275288['push'](_0x275288['shift']());}catch(_0x222796){_0x275288['push'](_0x275288['shift']());}}}(_0x4c2e,0x6202e));var bi=Object[_0x5df1fb(0x3b8)],Di=(_0x3188ef,_0xba1cea,_0x3a9184)=>_0xba1cea in _0x3188ef?bi(_0x3188ef,_0xba1cea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a9184}):_0x3188ef[_0xba1cea]=_0x3a9184,D=(_0x896e9d,_0x63223d,_0xd7651b)=>Di(_0x896e9d,typeof _0x63223d!=_0x5df1fb(0x1a8)?_0x63223d+'':_0x63223d,_0xd7651b);import{CollaborationEvent as _0x921ddb,ITransformService as _0x2f9be5,isTransformMutationsWithChangesetSuccess as _0x36d47e,mapDocumentTypeToUniverType as _0x2af71d,RevisionService as _0x4b1fc1,isTransformChangesetsSuccess as _0x25c17c,EmptyMutationInfo as _0x26e37a,CompressMutationService as _0x126e58,parseProtocolChangeset as _0x2d4c64,uuidv4 as _0x1aa780,ISnapshotServerService as _0x2fc106,parseChangesetToProtocol as _0x4db81a,SnapshotService as _0x3a91b2,textEncoder as _0x11ae94,b64DecodeUnicode as _0xf5bb73,isTransformMutationsWithChangesetFailure as _0x260540,UniverCollaborationPlugin as _0x31095c}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x81d56a,Inject as _0x32799d,UserManagerService as _0x1b71b3,Disposable as _0x3c1fa8,UniverInstanceType as _0x4f4452,ILogService as _0x5bdb8f,IConfigService as _0x70071,Optional as _0x197bcd,RxDisposable as _0x3ef034,createIdentifier as _0x2fad37,Injector as _0x1edb1a,Tools as _0x197dcc,Rectangle as _0x229cb8,ICommandService as _0x2c79d4,JSONX as _0x12bd44,IUndoRedoService as _0x18f25c,IPermissionService as _0x53b055,LocaleService as _0x5e50f8,sequenceExecute as _0x3c9c9e,toDisposable as _0x4114d5,CommandType as _0xb43d4b,DisposableCollection as _0x308203,Workbook as _0x3873dd,generateRandomId as _0x3c6479,MentionType as _0x12b45b,isInternalEditorID as _0xd18ebc,LocalUndoRedoService as _0xd9e518,IContextService as _0x55906c,DependentOn as _0xac3699,Plugin as _0x462d8e,merge as _0xb229a6,mergeOverrideWithDependencies as _0x2c1ab1,IAuthzIoService as _0x236ef5,IMentionIOService as _0x39fdea,registerDependencies as _0x3097c5,Quantity as _0x123d68,touchDependencies as _0x1c3f24}from'@univerjs/core';import{RichTextEditingMutation as _0x14789f}from'@univerjs/docs';import{SheetsSelectionsService as _0x2f4eaf,SetSelectionsOperation as _0x2f8149,InsertSheetMutation as _0x5295d8,WorkbookEditablePermission as _0x14efd6,SheetPermissionInitController as _0x36454a}from'@univerjs/sheets';import{Subject as _0x2e6722,merge as _0x524886,of as _0xc6f286,BehaviorSubject as _0x306e8f,takeUntil as _0x196097,ReplaySubject as _0x4ea05e,take as _0x20b401,map as _0x16ce92,shareReplay as _0x136d2e,firstValueFrom as _0xdecd77,concatMap as _0x544b29}from'rxjs';import{ITelemetryService as _0x5816d4}from'@univerjs/telemetry';import{map as _0x5b37ce,take as _0x26a97f,filter as _0x385443,delay as _0x88b4b4,takeUntil as _0x226588}from'rxjs/operators';import{HTTPService as _0x413802,ISocketService as _0x37e34a,MergeInterceptorFactory as _0x1205d2,HTTPRequest as _0x31ef7c,UniverNetworkPlugin as _0x258b41,ThresholdInterceptorFactory as _0x5ef0d2}from'@univerjs/network';function _0x27ce(_0xedeefa,_0x2e3860){_0xedeefa=_0xedeefa-0x17d;var _0x4c2e18=_0x4c2e();var _0x27ce85=_0x4c2e18[_0xedeefa];return _0x27ce85;}import{ImageSourceType as _0x3137fe,ImageUploadStatusType as _0x5c1ad5,IImageIoService as _0x90161f}from'@univerjs/drawing';import{getGlobalObject as _0x4eae6f}from'@univerjs-pro/license';const fs=_0x5df1fb(0x2d7),vs=_0x5df1fb(0x42d),Es=0x7d0,ps='ws://127.0.0.1:8000/universer-api/comb/connect',gr='/universer-api/user/session-ticket',Is=_0x5df1fb(0x2d3),ms=0x7530,di=_0x5df1fb(0x391),fi=0x4e20,Ss=0x4e20,gs=_0x5df1fb(0x46f),Ts=0x3,Tr=_0x5df1fb(0x21f),Or=0x3e8,Os=_0x5df1fb(0x35b),Rs=_0x5df1fb(0x226),Rr=_0x5df1fb(0x264),Nr='/universer-api/uniscript';function _0x4c2e(){var _0x1118e2=['c2Prime','members$','equals','/universer-api/snapshot','getInterceptPoints','YUUMI_SUBSCRIPTION_NOT_FOUND','\x20in\x20_schedule.','1909790tCvfSe','baseRev','_parse','_retryCount','substr','allowed','setWaitCount','onCommentUpdate','Malformed\x20UTF-8\x20data','YUUMI_CONNECTOR_URL_NOT_FOUND','catch','_timeoutTimer','_commandService','_tryReconnect','APPLY_REJECT','_getUploadFileURL','_clearRetryConnectingTimer','change$','_event$','_doProcessBlock','/fetchmissing?from=','collaboration_new_changeset','fetch_missing','updateOfflineData','onRemoteRej','HEARTBEAT','reverse','updateMember','/universer-api/file/{fileID}/sign-url','_getCurrentRevision','putCollaborators','/allowed','[SyncedState]:\x20received\x20acknowledgement.','getImage','COMPRESS_MUTATION_SEND','AWAITING','/universer-api/authz','\x20to\x20','join','has','AWAITING_WITH_PENDING','NEW_CHANGESETS','_minBufferSize','Undefined','_queuedRemoteChangesets','fetching\x20missing\x20changesets\x20from\x20','onRemoteRetry','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_schedule','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','initWorkbookPermissionChange','unknown','repeat','YUUMI_NO_CUBOID_FOR_QUESTION','fetchMiss','unitID','addImageSourceCache','formatter','_tryEnsureSocket','iterations','NOT_COLLAB','_invKeySchedule','getUnitOnRev','collaboration-client.local-cache-service','refreshPermission','_doCryptBlock','override','BASE64','_initCloseConn','JOIN_ROOM_NOT_EXISTS','_xformMode','RECV','_injector','toggleOffline','_univerInstanceService','data','_exhaustRemoteChangesetQueue','objects','clear','roomInfos','_toggleOffline','getFocusedUnit','sheets','USERS_ENTER','[FetchMissState]','ENTITLE_COUPON_EXPIRED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','YUUMI_AI_RUN_FAILED','_revisionService','NO_OTHER_CLIENTS_EDITING','ERROR_IMAGE_TYPE','padding','_socketService','onLocalMutation','concat','_transformUndoredo','offline','message$','APPLY_DUPLICATED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','crypto','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','localCacheService','_doReset','ENSURE_SNAPSHOT_EXECUTION','_createInitialState','_startTelemetryCollaborationNewChangeset','COMPLETION_FINISHED','_localeService','_transitionLocked','updatePermissionPoint','_telemetryInfo','_sender','patch','_transformRemoteChangesetByIMECache','conflict','_imageSourceCache','_shouldReportTelemetry','selections','[DataLoaderService]','HmacMD5','x-univer-host','UNIVER_PROJECT','YUUMI_ASYNCIO_CANCELLED','_memberService','cmd','_hash','_emitMembers','/universer-api/comb','_snapshotServerService','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformState','complete','2767252dYrUrm','status$','ERROR_AGAIN','getTypeOfUnitAdded$','UserProfileImg','PERMISSION_REJ','reduce','_iKey','decryptBlock','_logService','hasher','APPLY_NON_SEQUENTIAL_REVISION','action','_executeRemoteChangeset','JOIN_ROOM_FULL','userID','get','ALREADY_EXISTS','Utf8','&to=','_redoStacks','then','unitId','LEAVE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UNIVER_DOC','ciphertext','_substituteUndoStack','getValue','ENTITLE_COUPON_USED_UP','session','onTransformIME','_getCtorByUniverType','mode','transformChangesets','enableSingleActiveInstanceLock','_replaceFileID','_singleActiveUnitService','_status$','DATA_SOURCE_TOO_LARGE','editing\x20status\x20changed\x20to','title','put','infoRsp','_transformStack','update','fromCharCode','APPLY_PERMISSION_DENIED','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','HEARTBEAT_TIMEOUT','auth.needGotoLoginAlert','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onRemoteRetry','includes','INVALID_ARGUMENT','stringify','_onRemoteACK','key','INVITE_CODE_REQUIRED','pauseCollaboration','getRandomValues','LOGIN_TOKEN_PROCESSING_FAILED','finalize','originalMeta','{fileID}','getCurrentSelections','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','appendMutation','_onConnectionOpen','call','_httpService','_clearLocalCache','OTHER_CLIENT_EDITING','USERS_LEAVE','_changesetSessionId','ENTITLE_USE_COUPON_NOT_1ST_TRADE','WECHAT_HAS_BEEN_BOUND','encrypt','UNISCRIPT_RUN','NoPadding','ERROR_EXCEED_SIZE','Base64','onTransformSelections','workbook','startsWith','_iv','awaitingChangeset','getUnitType','defineProperty','randomBytes','_resendWithTimeout','_sendingTimer','loadUnit','status','HMAC','sigBytes','JOINING','LICENSE_DISTRO_REJECTED','LIVESHARE_REQUEST_HOST','_getSendChangesetTimeout','USER_IS_ANONYMOUS','collaboratorID','_init','transformStack\x20failed!','EvpKDF','socket$','_members','_rescheduleHeartbeat','/object','/role','location','readInt32LE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','execute','pad','map','joinRsp','/object/','objectActions','AES','_waitForHeartbeatResponse','kdf','EMAIL_VERIFY_CODE_MISMATCH','reqId','state','/universer-api/snapshot/','UPDATE_CURSOR','setCurrentUser','MD5','updatePermissionObjEvent','submit\x20changeset\x20error!','Univer','\x0aCurrent:\x20','ERROR_IMAGE','createDecryptor','_onRecvEvent','onload','_createHelper','stopTime','PY_RUNTIME_SCRIPT_ERROR','6aaEcQa','fetchMissingChangesets','_snapshotService','getLatestCsReqIdBySid','[PendingState]:\x20unhandled\x20univer\x20type:\x20','LOGIN_FAILED','save\x20fail\x20reason\x20is\x20','charAt','unpad','getTime','onMissedChangesetFetched','Pkcs7','SerializableCipher','NOT_FOUND','executeCommand','session.join-failed','COMPRESS_MUTATION_APPLY','find','getConfig','_undoRedoService','awaiting_with_pending','_entityInit$','[CollaborationState]:\x20apply\x20error!','_collabSessionService','subUnitId','init','dispose','_entities','108geHkSG','onTransformRemoteChangesetByIMECache','UNIVER_SHEET','SHA1','JOIN_ROOM_PERMISSION_DENIED','fromCollab','CHANGESET_ACK','fetchThroughInterceptors','_retryConnectingTimer','_createHmacHelper','onMutationExecutedForCollab','_ENC_XFORM_MODE','BlockCipherMode','Decryptor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','enc','LIVESHARE_FETCH_OPERATIONS','synced','_onRemoteRejected','[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.','CHANGESET_SHOULD_RETRY','resourceIDs','_nDataBytes','socket\x20close','transformSelections','CHANGESET_REJ','textRanges','JOIN','MSG_FOR_ERROR','slice','[CollaborationSession]','$super','[CollaborationSessionService]','\x0aAfter:\x20','[CollaborationEntity]','onSendChangeset','__splitChunk__','SNAPSHOT_URL_KEY','requestParams','PasswordBasedCipher','unitId\x20is\x20not\x20found','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','range','delete','AUTHORIZE_CODE_ILLEGAL','FETCH_MISSING','OTHER_CLIENTS_EDITING','encode','create','asObservable','charCodeAt','USER_NOT_INVITED_CODE','SNAPSHOT_INVALID_SNAPSHOT','getSheetBlock','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_DEC_XFORM_MODE','_commentUpdate$','clamp','YUUMI_URL_COL_OUT_OF_RANGE','MOBILE_HAS_BEEN_BOUND','awaiting','_cipher','getUnit','avatar','pluginName','_unlockTransition','_toggleOnline','_socket$','default','_removeRoom','_transformStateCache','_instanceService','interceptor','_sessions','name','REDEMPTION_USER_NOT_ELIGIBLE','[UniverCollaborationClientPlugin]','requireSession','_getAPIPrefixPath','clone','c1Prime','getDeserializedSheetBlock','APPLY_REVISION_CONFILICT','transformMutationsWithChangeset','focused$','getSnapshotAPIPath','getTypeOfUnitDisposed$','OpenSSL','[CollaborationSessionService]:\x20socket\x20error','_clearTimeoutTimer','onSyncEditingCollabCursor','byteOffset','getOwnPropertyDescriptor','_compressMutationService','now','303736FkeNsc','decrypt','_handler','reject','msCrypto','_clearRedo','OFFLINE','_listenToNetworkCondition','RETRY_CONNECTING_MAX_COUNT','Encryptor','withCredentials','ONLINE','localeService','Could\x20not\x20dynamically\x20require\x20\x22','_unitID','open$','YUUMI_UNABLE_LOAD_URL','HELLO','_sessionStatus$','_collaborationUIEventService','session.room-full','_startCollaboration','type','LIVESHARE_OPERATION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Failed\x20to\x20update\x20permission\x20point','blockSize','FETCH_MISS','getImageSourceCache','commentUpdateEvent','filter','sessionStatus','SOCKET_FAILED_RETRY','FAIL','_onOffline','_key','PAYMENT_CHANNEL_NOT_SUPPORT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveSnapshot','SOCKET_FAILED','onMissingChangesets','UnitSnapshot','debug','REDEMPTION_CODE_HAS_BEEN_CREATED','params','indexOf','CLOSE_ROOM','_state','_changesetReqId','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','eventID','Cipher','_change$','getCurrentRevOfUnit','/resources','resend','getSheetId','/collaborator','UNKNOWN_CMD','YUUMI_ALL_TABLES_IS_INVALID','ENTITLE_CHAT_LIMIT_EXCEED','readyForCollab','INVITE_CODE_HAS_BEEN_UES','next','UNIVER_SLIDE','_pendingMutations','pending','_userManagerService','YUUMI_RATE_OVER_LIMIT','parse','compute','SYNCED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','closeSession','toggleOnline','snapshotServerUrl','_keySchedule','SUBMIT_CHANGESET_TIMEOUT','retryConnectingInterval','_HTTPService','_updateLocalCache','href','image/bmp','PERMISSION_DENIED','lib','_unitInfo$','INGEST','_clearUndo','SHOULD_CLOSE_CONN','DEFAULT_FILE_NAME','univer-pro.collaboration-client.single-active-unit-service','_eventService','deepClone','onRemoteAck','list','_onRemoteChangeset','_decreaseWaiting','_syncEditingCollabCursor','prototype','UNRECOGNIZED','hasOwnProperty','extend','src','symbol','sin','_getDownloadEndpointURL','min','_initDependencies','getCollabEntity','_incrementRevisionNumber','2274315CuZMOn','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_transformService','rev','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','close$','/unit/','apply','67886MPCZYH','_data','getCurrentUser','_state$','_nRounds','_keyPriorReset','result','objectID','m2Prime','createSocket','duration','LICENSE_EXPORT_SIZE_EXCEEDED','COMMENT_UPDATE','_replayCachedMutations','commentUpdate$','format','CHANGESET_REVISION_CONFILICT','OPTIONAL','_getSignURL','set','_clearCollaborationTimeoutTimer','compose','_joinRoom','keySize','onStateChange','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','/-/object/-/batch_allowed','_networkConditionService','_handlerCallback','_remoteChangesetQueue','_throwTelemetryCollaborationNewChangeset','snapshot','Latin1','ENTITLE_NEED_BILLING_ADDRESS','changesets','MOBILE_VERIFY_CODE_MISMATCH','leaveEvent','_members$','_doFinalize','disposeWithMe','loadUnitOfRevision','_showConflictNotification','_onCombEvent','salt','emitEvent','image/png','_mode','9890710dwPrLU','_updateStatus','deleteCollaborator','encryptBlock','entityInit$','pipe','collabWebSocketUrl','CipherParams','mixIn','_append','6OhRxVI','reset','_sendHeartbeat','uniscriptRunEvent','UUID','_resendTimeout','TOO_MANY_REQUESTS','_hasher','byteLength','_checkMissing','_socketReady','online$','_resendTimer','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','function','body','_transformRemoteChangesetByStateCache','post','_permissionService','LIVESHARE_NEW_HOST','_sheetTransformSelectionsService','11DbDstB','send','startTime','PERSON','listRoles','unsubscribe','algo','_createInitialStateImpl','_collaborationTimeoutTimer','transformUndoRedo','length','UNKNOWN_CODE','_onUserLeave','GLOBAL_ROOMS_CNT_EXCEEDS','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_onConflict','size','removeMember','[SyncedState]:\x20received\x20rejection.','setShowComponents','REDEMPTION_INVALID_CODE','saveChangeset','_waitCount','_scheduleCollaborationTimeoutTimer','ClipsheetFragments','dispose$','LOCAL_CACHE_INTERVAL','People','Error\x20on\x20receiving\x20event','routeKey','__esModule','_sendHeartbeatTimer','__creator','/universer-api/oidc/authpage','failed\x20to\x20apply\x20missed\x20changesets!','_process','_config','headers','method','CONFLICT','_lockTransition','collaborators','replace','_clearScheduledTask','3639265degEio','_applyRemoteChangeset','HttpExport','enableAuthServer','_awaitingChangeset','registerHTTPInterceptor','_map','target','EMAIL_HAS_BEEN_BOUND','ENTITLE_INSUFFICIENT_QUOTA','isPermissionRej','updateCollaborator','max','every','Hex','hostname','_submitChangeset','toString','_type','_substituteRedoStack','from','ENTITLE_INVALID_COUPON_CODE','_commentService','_prevBlock','getUnitId','batchAllowed','REDEMPTION_CODE_NOT_STARTED','getMember','_stopTelemetryCollaborationNewChangeset','_onUserJoin','_onFetchMissResult','Base','onStarting','_updateState','WordArray','_roomMembers','waitForRoom$','_onLocalMutation','/block/','loadOfflineData','FileId','_scheduleCompleteTimestamp','_initUnitPermissionChange','reconnect','_collaborationSessionService','cfg','onlyLocal','_getAPIPrefix','copyFileMeta','JOIN_ROOM_FAILED','memberID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CURRENT_STATUS_CANNOT_OPERATE','resolve','event$','string','HmacSHA1','&source=','_localCacheService','isArray','liveShareNewHost','_transformSelections','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','splice','_candidateSocket','_getUndoStack','socketService','onRemoteChangeset','incrementRevOfUnit','sid','saveImage','exports','words','_registerDependencies','createInstance','_transformIMECache','actions','PSEUDO_FETCH_MISSING_RESULT','signUrlServerUrl','ENTITLE_CAN_NOT_BUY_LOWER_OTP','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','listCollaborators','disableLocalCache','_undoStacks','_getLoginPath','_createSocket','add','processBlock','ceil','collaboration-client.config','random','ENTITLE_REPORT_LIMIT_EXCEED','forEach','IDLE','getMemberID','responseType','UnitEmbedded','_createHandler','url','_onMessage','REDEMPTION_CODE_INACTIVE','_roomCreated$','origin','[PendingState]:\x20received\x20rejection.','BufferedBlockAlgorithm','HttpImport','newCsEvent','_disableEditing','Hasher','sessionStatus$','?size=','objectType','connection\x20error','_configService','\x20-\x20','MUTATION','_socketMessageSubscription','onTransformRemoteChangesetByStateCache','push','error','_fetchMissChangesets','LICENSE_MAX_UNITS_EXCEEDED','_acknowledgedAwaitingChangeset','addHandlerCallback','subscribe','INVALID_INVITE_CODE','USER_NOT_FOUND','error$','/rev/','_initMergeInterceptor','[OfflineState]:\x20received\x20changeset.','code','ENTITLE_DUP_SUBSCRIPTION','_onJoinRoomEvent','_oKey','UNAUTHENTICATED','revision','_clearHeartbeatTimer','LIVESHARE_TERMINATE','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UPDATE_PERMISSION_OBJ','session.room-not-exists','INVITE_CODE_ALREADY_BOUND','session.room-cnt-exceeds','updateCursorEvent','_onConnectionFailed','_reverseMap','_collaborationPaused','BlockCipher','mutations','UNIVER_UNKNOWN','CONNECTOR_DATA_TOO_LARGE','buffer','entries','StreamCipher','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','INTERNAL_ERROR','SUBMIT_CHANGESET','floor','close','subject','HEARTBEAT_INTERVAL'];_0x4c2e=function(){return _0x1118e2;};return _0x4c2e();}var vi=(_0x3185c5=>(_0x3185c5[_0x3185c5['UNDEFINED']=0x0]='UNDEFINED',_0x3185c5[_0x3185c5['OK']=0x1]='OK',_0x3185c5[_0x3185c5['INTERNAL_ERROR']=0x2]=_0x5df1fb(0x2ce),_0x3185c5[_0x3185c5[_0x5df1fb(0x194)]=0x3]=_0x5df1fb(0x194),_0x3185c5[_0x3185c5['NOT_FOUND']=0x4]=_0x5df1fb(0x3f9),_0x3185c5[_0x3185c5[_0x5df1fb(0x2b9)]=0x5]=_0x5df1fb(0x2b9),_0x3185c5[_0x3185c5['ALREADY_EXISTS']=0x6]=_0x5df1fb(0x371),_0x3185c5[_0x3185c5[_0x5df1fb(0x396)]=0x7]=_0x5df1fb(0x396),_0x3185c5[_0x3185c5[_0x5df1fb(0x1f6)]=0x8]=_0x5df1fb(0x1f6),_0x3185c5[_0x3185c5['COMPLETION_FINISHED']=0x9]=_0x5df1fb(0x346),_0x3185c5[_0x3185c5[_0x5df1fb(0x3f1)]=0xa]='LOGIN_FAILED',_0x3185c5[_0x3185c5[_0x5df1fb(0x1da)]=0xb]=_0x5df1fb(0x1da),_0x3185c5[_0x3185c5['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x5df1fb(0x47f),_0x3185c5[_0x3185c5[_0x5df1fb(0x3da)]=0xd]=_0x5df1fb(0x3da),_0x3185c5[_0x3185c5['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3185c5[_0x3185c5[_0x5df1fb(0x434)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x3185c5[_0x3185c5[_0x5df1fb(0x39d)]=0x10]=_0x5df1fb(0x39d),_0x3185c5[_0x3185c5['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x5df1fb(0x265),_0x3185c5[_0x3185c5[_0x5df1fb(0x362)]=0x65]=_0x5df1fb(0x362),_0x3185c5[_0x3185c5[_0x5df1fb(0x2b0)]=0xc9]='USER_NOT_FOUND',_0x3185c5[_0x3185c5[_0x5df1fb(0x3c4)]=0xca]=_0x5df1fb(0x3c4),_0x3185c5[_0x3185c5[_0x5df1fb(0x1c7)]=0x1389]=_0x5df1fb(0x1c7),_0x3185c5[_0x3185c5[_0x5df1fb(0x43c)]=0x1771]=_0x5df1fb(0x43c),_0x3185c5[_0x3185c5['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3185c5[_0x3185c5[_0x5df1fb(0x343)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3185c5[_0x3185c5[_0x5df1fb(0x2e9)]=0x1b59]=_0x5df1fb(0x2e9),_0x3185c5[_0x3185c5[_0x5df1fb(0x36b)]=0x1b5a]=_0x5df1fb(0x36b),_0x3185c5[_0x3185c5[_0x5df1fb(0x45a)]=0x1b5b]=_0x5df1fb(0x45a),_0x3185c5[_0x3185c5['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5df1fb(0x38f),_0x3185c5[_0x3185c5[_0x5df1fb(0x33d)]=0x1b5d]=_0x5df1fb(0x33d),_0x3185c5[_0x3185c5['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5df1fb(0x2c9),_0x3185c5[_0x3185c5['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5df1fb(0x2ab),_0x3185c5[_0x3185c5[_0x5df1fb(0x213)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3185c5[_0x3185c5[_0x5df1fb(0x35d)]=0x232b]=_0x5df1fb(0x35d),_0x3185c5[_0x3185c5['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5df1fb(0x1c2),_0x3185c5[_0x3185c5[_0x5df1fb(0x3c1)]=0x232d]=_0x5df1fb(0x3c1),_0x3185c5[_0x3185c5[_0x5df1fb(0x477)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3185c5[_0x3185c5[_0x5df1fb(0x442)]=0x2712]=_0x5df1fb(0x442),_0x3185c5[_0x3185c5[_0x5df1fb(0x185)]=0x2713]=_0x5df1fb(0x185),_0x3185c5[_0x3185c5[_0x5df1fb(0x2d9)]=0x2714]=_0x5df1fb(0x2d9),_0x3185c5[_0x3185c5[_0x5df1fb(0x310)]=0x271a]=_0x5df1fb(0x310),_0x3185c5[_0x3185c5[_0x5df1fb(0x356)]=0x271b]=_0x5df1fb(0x356),_0x3185c5[_0x3185c5['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3185c5[_0x3185c5[_0x5df1fb(0x4a2)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3185c5[_0x3185c5[_0x5df1fb(0x416)]=0x271e]=_0x5df1fb(0x416),_0x3185c5[_0x3185c5[_0x5df1fb(0x332)]=0x271f]=_0x5df1fb(0x332),_0x3185c5[_0x3185c5[_0x5df1fb(0x2e4)]=0x2720]=_0x5df1fb(0x2e4),_0x3185c5[_0x3185c5[_0x5df1fb(0x3eb)]=0x2af9]=_0x5df1fb(0x3eb),_0x3185c5[_0x3185c5['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5df1fb(0x17f),_0x3185c5[_0x3185c5[_0x5df1fb(0x2af)]=0x2ee2]=_0x5df1fb(0x2af),_0x3185c5[_0x3185c5['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5df1fb(0x39a),_0x3185c5[_0x3185c5['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5df1fb(0x43b),_0x3185c5[_0x3185c5[_0x5df1fb(0x2c0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3185c5[_0x3185c5['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5df1fb(0x3ac),_0x3185c5[_0x3185c5[_0x5df1fb(0x443)]=0x32ca]=_0x5df1fb(0x443),_0x3185c5[_0x3185c5[_0x5df1fb(0x239)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3185c5[_0x3185c5[_0x5df1fb(0x280)]=0x36b1]=_0x5df1fb(0x280),_0x3185c5[_0x3185c5[_0x5df1fb(0x43e)]=0x36b2]=_0x5df1fb(0x43e),_0x3185c5[_0x3185c5[_0x5df1fb(0x2b6)]=0x36b3]=_0x5df1fb(0x2b6),_0x3185c5[_0x3185c5[_0x5df1fb(0x48b)]=0x36b4]=_0x5df1fb(0x48b),_0x3185c5[_0x3185c5['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x5df1fb(0x246),_0x3185c5[_0x3185c5[_0x5df1fb(0x330)]=0x36b6]=_0x5df1fb(0x330),_0x3185c5[_0x3185c5[_0x5df1fb(0x37d)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x3185c5[_0x3185c5[_0x5df1fb(0x3ab)]=0x36b8]=_0x5df1fb(0x3ab),_0x3185c5[_0x3185c5[_0x5df1fb(0x17d)]=0x3715]=_0x5df1fb(0x17d),_0x3185c5[_0x3185c5[_0x5df1fb(0x28d)]=0x3716]=_0x5df1fb(0x28d),_0x3185c5[_0x3185c5[_0x5df1fb(0x23a)]=0x3717]=_0x5df1fb(0x23a),_0x3185c5[_0x3185c5['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x5df1fb(0x1d8),_0x3185c5[_0x3185c5[_0x5df1fb(0x219)]=0x3a99]=_0x5df1fb(0x219),_0x3185c5[_0x3185c5[_0x5df1fb(0x296)]=0x3a9a]=_0x5df1fb(0x296),_0x3185c5[_0x3185c5['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x3185c5[_0x3185c5['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x5df1fb(0x24b),_0x3185c5[_0x3185c5[_0x5df1fb(0x453)]=0x3a9d]=_0x5df1fb(0x453),_0x3185c5[_0x3185c5[_0x5df1fb(0x3d0)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x3185c5[_0x3185c5[_0x5df1fb(0x492)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3185c5[_0x3185c5[_0x5df1fb(0x387)]=0x3e81]=_0x5df1fb(0x387),_0x3185c5[_0x3185c5['UNRECOGNIZED']=-0x1]=_0x5df1fb(0x1a4),_0x3185c5))(vi||{}),Q=(_0x10dae7=>(_0x10dae7[_0x10dae7[_0x5df1fb(0x2c8)]=0x0]=_0x5df1fb(0x2c8),_0x10dae7[_0x10dae7['UNIVER_DOC']=0x1]=_0x5df1fb(0x379),_0x10dae7[_0x10dae7['UNIVER_SHEET']=0x2]=_0x5df1fb(0x40a),_0x10dae7[_0x10dae7[_0x5df1fb(0x181)]=0x3]=_0x5df1fb(0x181),_0x10dae7[_0x10dae7[_0x5df1fb(0x355)]=0x4]=_0x5df1fb(0x355),_0x10dae7[_0x10dae7[_0x5df1fb(0x1a4)]=-0x1]=_0x5df1fb(0x1a4),_0x10dae7))(Q||{}),j=(_0xeecfa2=>(_0xeecfa2[_0xeecfa2[_0x5df1fb(0x4a1)]=0x0]=_0x5df1fb(0x4a1),_0xeecfa2[_0xeecfa2[_0x5df1fb(0x478)]=0x1]=_0x5df1fb(0x478),_0xeecfa2[_0xeecfa2[_0x5df1fb(0x423)]=0x2]=_0x5df1fb(0x423),_0xeecfa2[_0xeecfa2[_0x5df1fb(0x377)]=0x3]='LEAVE',_0xeecfa2[_0xeecfa2[_0x5df1fb(0x197)]=0x4]=_0x5df1fb(0x197),_0xeecfa2[_0xeecfa2[_0x5df1fb(0x2f4)]=0x5]=_0x5df1fb(0x2f4),_0xeecfa2[_0xeecfa2['RECV']=0x6]='RECV',_0xeecfa2[_0xeecfa2[_0x5df1fb(0x1a4)]=-0x1]=_0x5df1fb(0x1a4),_0xeecfa2))(j||{}),Ee=(_0x55e388=>(_0x55e388[_0x55e388[_0x5df1fb(0x210)]=0x0]=_0x5df1fb(0x210),_0x55e388[_0x55e388['OK']=0x1]='OK',_0x55e388[_0x55e388[_0x5df1fb(0x488)]=0x2]=_0x5df1fb(0x488),_0x55e388[_0x55e388[_0x5df1fb(0x36e)]=0x3e9]=_0x5df1fb(0x36e),_0x55e388[_0x55e388[_0x5df1fb(0x320)]=0x3ea]=_0x5df1fb(0x320),_0x55e388[_0x55e388[_0x5df1fb(0x40c)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x55e388[_0x55e388[_0x5df1fb(0x212)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x55e388[_0x55e388[_0x5df1fb(0x1a4)]=-0x1]=_0x5df1fb(0x1a4),_0x55e388))(Ee||{}),Ei=(_0x1756f8=>(_0x1756f8[_0x1756f8[_0x5df1fb(0x306)]=0x0]=_0x5df1fb(0x306),_0x1756f8[_0x1756f8[_0x5df1fb(0x29b)]=0x1]=_0x5df1fb(0x29b),_0x1756f8[_0x1756f8[_0x5df1fb(0x233)]=0x2]=_0x5df1fb(0x233),_0x1756f8[_0x1756f8[_0x5df1fb(0x292)]=0x3]=_0x5df1fb(0x292),_0x1756f8[_0x1756f8[_0x5df1fb(0x490)]=0x4]=_0x5df1fb(0x490),_0x1756f8[_0x1756f8[_0x5df1fb(0x364)]=0x5]=_0x5df1fb(0x364),_0x1756f8[_0x1756f8[_0x5df1fb(0x21d)]=0x6]=_0x5df1fb(0x21d),_0x1756f8[_0x1756f8[_0x5df1fb(0x1a4)]=-0x1]=_0x5df1fb(0x1a4),_0x1756f8))(Ei||{});const Ns=_0x5df1fb(0x2f0);function Cs(_0x4ee183){var _0x544945=_0x5df1fb;return JSON[_0x544945(0x397)](_0x4ee183)[_0x544945(0x20f)];}var re=(_0x533ff2=>(_0x533ff2['OTHER_CLIENT_EDITING']=_0x5df1fb(0x3a8),_0x533ff2['PERMISSION_DENIED']=_0x5df1fb(0x194),_0x533ff2['CONFLICT']='CONFLICT',_0x533ff2[_0x5df1fb(0x495)]='CLOSE_ROOM',_0x533ff2[_0x5df1fb(0x262)]=_0x5df1fb(0x262),_0x533ff2[_0x5df1fb(0x487)]=_0x5df1fb(0x487),_0x533ff2[_0x5df1fb(0x48e)]=_0x5df1fb(0x48e),_0x533ff2['SUBMIT_CHANGESET_TIMEOUT']=_0x5df1fb(0x18e),_0x533ff2))(re||{});class ve{constructor(){var _0x3c42a5=_0x5df1fb;D(this,_0x3c42a5(0x2ed),new _0x2e6722()),D(this,_0x3c42a5(0x267),this[_0x3c42a5(0x2ed)][_0x3c42a5(0x439)]());}[_0x5df1fb(0x1e3)](_0x1dd8da){var _0x5cec2d=_0x5df1fb;this['_event$'][_0x5cec2d(0x180)](_0x1dd8da);}}class pi{constructor(){var _0x4be729=_0x5df1fb;D(this,_0x4be729(0x440),new _0x2e6722()),D(this,_0x4be729(0x1c5),this[_0x4be729(0x440)][_0x4be729(0x439)]());}[_0x5df1fb(0x2e2)](_0x177b2a){var _0x405042=_0x5df1fb;this[_0x405042(0x440)][_0x405042(0x180)](_0x177b2a);}}var bs=Object[_0x5df1fb(0x464)],Ds=(_0x179ad6,_0x1bd8d0,_0x4de99e,_0x25e6b3)=>{var _0x4713a2=_0x5df1fb;for(var _0x10cda7=_0x25e6b3>0x1?void 0x0:_0x25e6b3?bs(_0x1bd8d0,_0x4de99e):_0x1bd8d0,_0x553b38=_0x179ad6[_0x4713a2(0x20f)]-0x1,_0x9051eb;_0x553b38>=0x0;_0x553b38--)(_0x9051eb=_0x179ad6[_0x553b38])&&(_0x10cda7=_0x9051eb(_0x10cda7)||_0x10cda7);return _0x10cda7;},Ft=(_0x1f4c1a,_0x32ca62)=>(_0x2ce2ed,_0x5e1229)=>_0x32ca62(_0x2ce2ed,_0x5e1229,_0x1f4c1a);let Pe=class extends _0x3c1fa8{constructor(_0x29b01b,_0x11c776){var _0x596de3=_0x5df1fb;super(),D(this,'_roomMembers',new Map()),D(this,'_roomCreated$',new _0x2e6722()),(this[_0x596de3(0x325)]=_0x29b01b,this[_0x596de3(0x184)]=_0x11c776,this[_0x596de3(0x1de)](_0x524886(this[_0x596de3(0x325)][_0x596de3(0x45e)](_0x4f4452[_0x596de3(0x40a)])[_0x596de3(0x1eb)](_0x5b37ce(_0x5913c0=>_0x5913c0[_0x596de3(0x249)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4f4452[_0x596de3(0x379)])[_0x596de3(0x1eb)](_0x5b37ce(_0x291055=>_0x291055[_0x596de3(0x249)]())),this[_0x596de3(0x325)][_0x596de3(0x45e)](_0x4f4452[_0x596de3(0x181)])[_0x596de3(0x1eb)](_0x5b37ce(_0x1b1b73=>_0x1b1b73[_0x596de3(0x249)]())))['subscribe'](_0x49239f=>this[_0x596de3(0x44d)](_0x49239f))));}[_0x5df1fb(0x255)](_0x496b2f){var _0x519f92=_0x5df1fb;return this[_0x519f92(0x254)]['has'](_0x496b2f)?_0xc6f286(this[_0x519f92(0x254)][_0x519f92(0x370)](_0x496b2f)):this[_0x519f92(0x297)][_0x519f92(0x1eb)](_0x5b37ce(_0x42f4fb=>{var _0x3908bd=_0x519f92;if(_0x42f4fb===_0x496b2f)return this[_0x3908bd(0x254)]['get'](_0x42f4fb);}));}[_0x5df1fb(0x3df)](_0x23035c){var _0x166429=_0x5df1fb;this['_userManagerService'][_0x166429(0x3df)](_0x23035c);}[_0x5df1fb(0x1b9)](){var _0x1b1fe5=_0x5df1fb;return this[_0x1b1fe5(0x184)][_0x1b1fe5(0x1b9)]();}['updateMember'](_0x57c676,_0xae1bfd){var _0x45632f=_0x5df1fb;let _0x4b52c4=this['_roomMembers']['get'](_0x57c676);_0x4b52c4||(_0x4b52c4=new ys(),this[_0x45632f(0x254)][_0x45632f(0x1ca)](_0x57c676,_0x4b52c4),this[_0x45632f(0x297)][_0x45632f(0x180)](_0x57c676)),_0x4b52c4[_0x45632f(0x2f6)](_0xae1bfd);}[_0x5df1fb(0x216)](_0x48ac7c,_0x1b64f1){var _0x4aa79c=_0x5df1fb;const _0x4e8881=this[_0x4aa79c(0x254)][_0x4aa79c(0x370)](_0x48ac7c);_0x4e8881&&_0x4e8881[_0x4aa79c(0x216)](_0x1b64f1);}['getRoom'](_0x38b3c7){var _0xc013e7=_0x5df1fb;return this[_0xc013e7(0x254)][_0xc013e7(0x370)](_0x38b3c7);}['getMember'](_0x4ad99f,_0x211b16){var _0x5c1d7f=_0x5df1fb;const _0x4c5e39=this['_roomMembers']['get'](_0x4ad99f);if(_0x4c5e39)return _0x4c5e39[_0x5c1d7f(0x24c)](_0x211b16);}['_removeRoom'](_0x54c41c){var _0x5e99cc=_0x5df1fb;const _0x1bd196=this[_0x5e99cc(0x254)]['get'](_0x54c41c);_0x1bd196&&(_0x1bd196[_0x5e99cc(0x406)](),this[_0x5e99cc(0x254)][_0x5e99cc(0x433)](_0x54c41c));}[_0x5df1fb(0x406)](){var _0x4c2ce9=_0x5df1fb;this[_0x4c2ce9(0x254)][_0x4c2ce9(0x28e)](_0x3f10e8=>_0x3f10e8['dispose']()),this[_0x4c2ce9(0x254)]['clear'](),this['_roomCreated$'][_0x4c2ce9(0x35f)]();}};Pe=Ds([Ft(0x0,_0x81d56a),Ft(0x1,_0x32799d(_0x1b71b3))],Pe);class ys extends _0x3c1fa8{constructor(){var _0x2440ca=_0x5df1fb;super(...arguments),D(this,_0x2440ca(0x3ca),new Map()),D(this,'_members$',new _0x306e8f(this[_0x2440ca(0x3ca)])),D(this,_0x2440ca(0x2d5),this[_0x2440ca(0x1dc)][_0x2440ca(0x439)]());}['dispose'](){var _0x34ee50=_0x5df1fb;this['_members'][_0x34ee50(0x329)]();}[_0x5df1fb(0x2f6)](_0x4ab094){var _0x36c456=_0x5df1fb;this[_0x36c456(0x3ca)][_0x36c456(0x1ca)](_0x4ab094[_0x36c456(0x263)],_0x4ab094),this[_0x36c456(0x35a)]();}['removeMember'](_0xb592f1){var _0x56ea4b=_0x5df1fb;this[_0x56ea4b(0x3ca)][_0x56ea4b(0x433)](_0xb592f1);}[_0x5df1fb(0x24c)](_0x1e05c3){var _0x128438=_0x5df1fb;return this['_members'][_0x128438(0x370)](_0x1e05c3);}['getAllMembers'](){var _0x3703d2=_0x5df1fb;return Array[_0x3703d2(0x245)](this[_0x3703d2(0x3ca)]['values']());}[_0x5df1fb(0x35a)](){var _0x260e29=_0x5df1fb;this[_0x260e29(0x1dc)]['next'](this[_0x260e29(0x3ca)]);}}var Us=Object[_0x5df1fb(0x464)],As=(_0x539ed7,_0x304052,_0x32b82e,_0x38b878)=>{for(var _0x2d07c7=_0x38b878>0x1?void 0x0:_0x38b878?Us(_0x304052,_0x32b82e):_0x304052,_0x625168=_0x539ed7['length']-0x1,_0x492e66;_0x625168>=0x0;_0x625168--)(_0x492e66=_0x539ed7[_0x625168])&&(_0x2d07c7=_0x492e66(_0x2d07c7)||_0x2d07c7);return _0x2d07c7;},Oe=(_0x40b513,_0x5b5462)=>(_0x12de37,_0x41a236)=>_0x5b5462(_0x12de37,_0x41a236,_0x40b513),Ie=(_0xcefeec=>(_0xcefeec[_0xcefeec[_0x5df1fb(0x28f)]=0x0]=_0x5df1fb(0x28f),_0xcefeec[_0xcefeec[_0x5df1fb(0x3c0)]=0x1]=_0x5df1fb(0x3c0),_0xcefeec[_0xcefeec[_0x5df1fb(0x46d)]=0x2]=_0x5df1fb(0x46d),_0xcefeec[_0xcefeec[_0x5df1fb(0x472)]=0x3]=_0x5df1fb(0x472),_0xcefeec))(Ie||{});const jt={[Ee[_0x5df1fb(0x488)]]:_0x5df1fb(0x3fb),[Ee[_0x5df1fb(0x36e)]]:_0x5df1fb(0x47b),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x5df1fb(0x2bf),[Ee[_0x5df1fb(0x40c)]]:'session.room-permission-denied',[Ee[_0x5df1fb(0x212)]]:_0x5df1fb(0x2c1)};let It=class extends _0x3ef034{constructor(_0xf09a53,_0x4a3812,_0x20c31f,_0x493eb4,_0x4ad620,_0x321c4d,_0xa26afc,_0x22c816){var _0x1230ea=_0x5df1fb;super(),D(this,'_sessionStatus$',new _0x306e8f(0x0)),D(this,_0x1230ea(0x29f),this['_sessionStatus$'][_0x1230ea(0x439)]()),D(this,_0x1230ea(0x2ed),new _0x2e6722()),D(this,_0x1230ea(0x267),this[_0x1230ea(0x2ed)][_0x1230ea(0x439)]()),D(this,_0x1230ea(0x282)),D(this,_0x1230ea(0x2a6)),D(this,_0x1230ea(0x20d)),D(this,_0x1230ea(0x350),!0x1),D(this,'_telemetryInfo',null),(this[_0x1230ea(0x475)]=_0xf09a53,this['_logService']=_0x20c31f,this[_0x1230ea(0x2a3)]=_0x493eb4,this['_memberService']=_0x4ad620,this[_0x1230ea(0x247)]=_0x321c4d,this[_0x1230ea(0x47a)]=_0xa26afc,this['_telemetryService']=_0x22c816,this[_0x1230ea(0x350)]=!!this['_telemetryService'],_0x4a3812[_0x1230ea(0x1eb)](_0x196097(this[_0x1230ea(0x21e)]))['subscribe'](_0x446da3=>{var _0x12265a=_0x1230ea,_0x1943db;typeof _0x446da3>'u'||(this['_socket']=_0x446da3,_0x446da3?(this[_0x12265a(0x1cd)](_0x446da3),this[_0x12265a(0x2a6)]=_0x446da3[_0x12265a(0x33c)][_0x12265a(0x2ae)](_0xfbd318=>{var _0x515de3=_0x12265a;_0xfbd318[_0x515de3(0x222)]===this[_0x515de3(0x475)]&&this[_0x515de3(0x1e1)](_0xfbd318);})):(this[_0x12265a(0x1d5)](),this[_0x12265a(0x479)][_0x12265a(0x180)](0x2),(_0x1943db=this[_0x12265a(0x2a6)])==null||_0x1943db[_0x12265a(0x20a)](),this[_0x12265a(0x2a6)]=null));}));}get[_0x5df1fb(0x486)](){var _0x1adad3=_0x5df1fb;return this[_0x1adad3(0x479)][_0x1adad3(0x37c)]();}[_0x5df1fb(0x290)](){var _0x49df78=_0x5df1fb,_0x283d8b,_0x5507fd;return(_0x5507fd=(_0x283d8b=this[_0x49df78(0x282)])==null?void 0x0:_0x283d8b[_0x49df78(0x263)])!=null?_0x5507fd:null;}[_0x5df1fb(0x406)](){var _0x24b869=_0x5df1fb;super['dispose'](),this[_0x24b869(0x21e)][_0x24b869(0x180)](),this[_0x24b869(0x21e)][_0x24b869(0x35f)]();}[_0x5df1fb(0x2d1)](){var _0x27484b=_0x5df1fb,_0x17cd15,_0x1f71b2;this[_0x27484b(0x1d5)](),(_0x17cd15=this['_socket'])==null||_0x17cd15[_0x27484b(0x206)]({'cmd':j[_0x27484b(0x377)],'data':{'roomID':this['_unitID']}}),(_0x1f71b2=this[_0x27484b(0x282)])==null||_0x1f71b2[_0x27484b(0x2d1)](),this[_0x27484b(0x2ed)][_0x27484b(0x35f)](),this[_0x27484b(0x479)][_0x27484b(0x35f)](),this[_0x27484b(0x406)]();}[_0x5df1fb(0x1e1)](_0x5a8c25){var _0xd2cbd2=_0x5df1fb;_0x5a8c25[_0xd2cbd2(0x358)]===j[_0xd2cbd2(0x423)]?this['_onJoinRoomEvent'](_0x5a8c25):_0x5a8c25[_0xd2cbd2(0x358)]===j[_0xd2cbd2(0x322)]&&this[_0xd2cbd2(0x3e7)](_0x5a8c25);}[_0x5df1fb(0x1cd)](_0x5233be){var _0x3d535f=_0x5df1fb;this[_0x3d535f(0x479)]['next'](0x1),_0x5233be['send']({'cmd':j[_0x3d535f(0x423)],'routeKey':this[_0x3d535f(0x475)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5df1fb(0x2b7)](_0x49bef1){var _0xba5cfc=_0x5df1fb,_0x32b460;if(_0x49bef1['code']in jt){this[_0xba5cfc(0x47a)]['emitEvent']({'id':re[_0xba5cfc(0x262)],'data':jt[_0x49bef1[_0xba5cfc(0x2b5)]]}),this[_0xba5cfc(0x479)][_0xba5cfc(0x180)](0x2);return;}this[_0xba5cfc(0x479)][_0xba5cfc(0x180)](0x3);const _0x3f8530=(_0x32b460=_0x49bef1[_0xba5cfc(0x326)][_0xba5cfc(0x32a)][this[_0xba5cfc(0x475)]])==null?void 0x0:_0x32b460['members'];_0x3f8530&&_0x3f8530[_0xba5cfc(0x28e)](_0x37a104=>this[_0xba5cfc(0x357)][_0xba5cfc(0x2f6)](this['_unitID'],_0x37a104));}[_0x5df1fb(0x3e7)](_0x3ef570){var _0x536cea=_0x5df1fb;try{const _0x55819f=_0x3ef570[_0x536cea(0x326)];switch(_0x55819f[_0x536cea(0x499)]){case _0x921ddb[_0x536cea(0x32e)]:this['_onUserJoin'](_0x55819f),this[_0x536cea(0x2ed)][_0x536cea(0x180)](_0x55819f);break;case _0x921ddb[_0x536cea(0x3a9)]:this[_0x536cea(0x211)](_0x55819f),this[_0x536cea(0x2ed)]['next'](_0x55819f);break;case _0x921ddb[_0x536cea(0x40e)]:case _0x921ddb[_0x536cea(0x41c)]:this[_0x536cea(0x24d)](),this[_0x536cea(0x1cb)](),this[_0x536cea(0x2ed)][_0x536cea(0x180)](_0x55819f);break;case _0x921ddb['MSG_FOR_ERROR']:this['_logService'][_0x536cea(0x2a9)](_0x536cea(0x3f2)+JSON[_0x536cea(0x397)](_0x55819f)),this['_event$'][_0x536cea(0x180)](_0x55819f);break;case _0x921ddb[_0x536cea(0x1c3)]:this[_0x536cea(0x247)]['onCommentUpdate'](_0x55819f[_0x536cea(0x326)]),this[_0x536cea(0x2ed)][_0x536cea(0x180)](_0x55819f);break;default:this[_0x536cea(0x2ed)][_0x536cea(0x180)](_0x55819f);}}catch(_0x345b15){this[_0x536cea(0x369)]['error'](_0x345b15,_0x3ef570);}}[_0x5df1fb(0x24e)](_0x5d9486){var _0x1c1bb3=_0x5df1fb;this[_0x1c1bb3(0x357)][_0x1c1bb3(0x2f6)](this[_0x1c1bb3(0x475)],_0x5d9486[_0x1c1bb3(0x326)]);}[_0x5df1fb(0x211)](_0x4d9eef){var _0x562b6e=_0x5df1fb;this[_0x562b6e(0x357)][_0x562b6e(0x216)](this[_0x562b6e(0x475)],_0x4d9eef['data'][_0x562b6e(0x263)]);}async[_0x5df1fb(0x206)](_0x338239,_0x307ded){var _0x4c9eb5=_0x5df1fb;if(this['sessionStatus']!==0x3||!this[_0x4c9eb5(0x282)])throw new Error(_0x4c9eb5(0x1fd));try{_0x338239[_0x4c9eb5(0x499)]===_0x921ddb['SUBMIT_CHANGESET']&&(this[_0x4c9eb5(0x21c)](),this[_0x4c9eb5(0x345)](_0x338239)),this[_0x4c9eb5(0x282)][_0x4c9eb5(0x206)]({'cmd':j[_0x4c9eb5(0x197)],'routeKey':_0x307ded,'routeType':'','data':_0x338239});}catch(_0x3abed8){this[_0x4c9eb5(0x369)]['error'](_0x3abed8);}}[_0x5df1fb(0x21c)](){var _0x50988b=_0x5df1fb,_0xbc88b7;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x9259a8=_0x27ce;this[_0x9259a8(0x20d)]=null,this[_0x9259a8(0x47a)][_0x9259a8(0x1e3)]({'id':re[_0x9259a8(0x18e)]});},(_0xbc88b7=this[_0x50988b(0x2a3)][_0x50988b(0x3fe)](di))!=null?_0xbc88b7:fi);}[_0x5df1fb(0x1cb)](){var _0x26d29e=_0x5df1fb;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x26d29e(0x20d)]),this[_0x26d29e(0x20d)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x79107f){var _0x4eb4cc=_0x5df1fb;if(!this['_shouldReportTelemetry'])return;const {data:_0x5ef73e}=_0x79107f,{unitID:_0x554da7,changeset:_0x1f4f38}=_0x5ef73e,{mutations:_0x34259e,type:_0x42b65e}=_0x1f4f38;this[_0x4eb4cc(0x34a)]={'unitId':_0x554da7,'type':_0x42b65e,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Cs(_0x34259e)};}[_0x5df1fb(0x24d)](){var _0x8bd6f4=_0x5df1fb;if(this[_0x8bd6f4(0x350)]){if(!this[_0x8bd6f4(0x34a)]){this[_0x8bd6f4(0x369)][_0x8bd6f4(0x2a9)](_0x8bd6f4(0x426),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x8bd6f4(0x34a)][_0x8bd6f4(0x3ea)]=performance[_0x8bd6f4(0x466)](),this[_0x8bd6f4(0x34a)][_0x8bd6f4(0x1c1)]=this[_0x8bd6f4(0x34a)][_0x8bd6f4(0x3ea)]-this[_0x8bd6f4(0x34a)][_0x8bd6f4(0x207)],this['_telemetryService']['capture'](Ns,this[_0x8bd6f4(0x34a)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1573e8=_0x5df1fb;this[_0x1573e8(0x34a)]=null;}};It=As([Oe(0x2,_0x5bdb8f),Oe(0x3,_0x70071),Oe(0x4,_0x32799d(Pe)),Oe(0x5,_0x32799d(pi)),Oe(0x6,_0x32799d(ve)),Oe(0x7,_0x197bcd(_0x5816d4))],It);const X=_0x2fad37(_0x5df1fb(0x31a));function Cr(_0x26a790){return'unit-cache-'+_0x26a790;}var Ps=Object[_0x5df1fb(0x464)],Ls=(_0x321db4,_0x4a76f4,_0x27af4b,_0x44916c)=>{var _0x3ebc23=_0x5df1fb;for(var _0x4ab6b2=_0x44916c>0x1?void 0x0:_0x44916c?Ps(_0x4a76f4,_0x27af4b):_0x4a76f4,_0x4f5987=_0x321db4[_0x3ebc23(0x20f)]-0x1,_0x14c5e3;_0x4f5987>=0x0;_0x4f5987--)(_0x14c5e3=_0x321db4[_0x4f5987])&&(_0x4ab6b2=_0x14c5e3(_0x4ab6b2)||_0x4ab6b2);return _0x4ab6b2;},ut=(_0x2832a2,_0x6e7c9f)=>(_0x11568f,_0x2d5f18)=>_0x6e7c9f(_0x11568f,_0x2d5f18,_0x2832a2);function ws(_0x266339){var _0x39352d=_0x5df1fb;const {unitID:_0x2525fd,mutations:_0x1e9837}=_0x266339;return{'unitId':_0x2525fd,'subUnitId':_0x1e9837[_0x39352d(0x20f)]>0x0?_0x1e9837[0x0][_0x39352d(0x493)][_0x39352d(0x404)]:null};}let it=class{constructor(_0x4940d1,_0x4acf17,_0x4e23f3){var _0x1c44d4=_0x5df1fb;this[_0x1c44d4(0x323)]=_0x4940d1,this['_transformService']=_0x4acf17,this[_0x1c44d4(0x44f)]=_0x4e23f3;}[_0x5df1fb(0x420)](_0x9ffd4d){var _0x43e764=_0x5df1fb,_0x19aaad,_0x1e8193,_0x7124bd,_0x2e072a;const _0x5c5a7c=this[_0x43e764(0x323)][_0x43e764(0x370)](_0x2f4eaf),{unitId:_0x4b326e,subUnitId:_0x53619a}=ws(_0x9ffd4d),_0x3e902c=_0x5c5a7c==null?void 0x0:_0x5c5a7c['getWorkbookSelections'](_0x4b326e)[_0x43e764(0x3a1)](),_0x572356=(_0x1e8193=(_0x19aaad=this[_0x43e764(0x44f)][_0x43e764(0x446)](_0x4b326e))==null?void 0x0:_0x19aaad['getActiveSheet']())==null?void 0x0:_0x1e8193[_0x43e764(0x49f)]();if(_0x3e902c[_0x43e764(0x20f)]===0x0||!_0x4b326e||!_0x53619a)return;const _0x15db00=[{'id':_0x2f8149['id'],'params':{'unitId':_0x4b326e,'subUnitId':_0x572356,'selections':_0x197dcc[_0x43e764(0x19d)](_0x3e902c)}}],_0x5c70f9=this[_0x43e764(0x1b1)]['transformMutationsWithChangeset'](_0x9ffd4d,_0x15db00);if(!_0x36d47e(_0x5c70f9))throw _0x5c70f9[_0x43e764(0x2a9)];const _0x50c6e4=(_0x2e072a=(_0x7124bd=_0x5c70f9[_0x43e764(0x1bf)][0x0])==null?void 0x0:_0x7124bd[_0x43e764(0x493)])==null?void 0x0:_0x2e072a[_0x43e764(0x351)];if(Array[_0x43e764(0x26c)](_0x50c6e4)&&_0x50c6e4[_0x43e764(0x20f)]){if(_0x50c6e4[_0x43e764(0x20f)]===_0x15db00[0x0][_0x43e764(0x493)][_0x43e764(0x351)][_0x43e764(0x20f)]&&_0x50c6e4[_0x43e764(0x23e)]((_0x4fbb85,_0x344a9b)=>_0x229cb8[_0x43e764(0x2d6)](_0x4fbb85[_0x43e764(0x432)],_0x15db00[0x0][_0x43e764(0x493)][_0x43e764(0x351)][_0x344a9b][_0x43e764(0x432)])))return;this[_0x43e764(0x323)][_0x43e764(0x370)](_0x2c79d4)[_0x43e764(0x3fa)](_0x2f8149['id'],{'unitId':_0x4b326e,'subUnitId':_0x572356,'selections':_0x50c6e4});}}};it=Ls([ut(0x0,_0x32799d(_0x1edb1a)),ut(0x1,_0x2f9be5),ut(0x2,_0x81d56a)],it);const _t=_0x2fad37(_0x5df1fb(0x19b));var Ii=(_0x596844=>(_0x596844[_0x596844[_0x5df1fb(0x334)]=0x0]=_0x5df1fb(0x334),_0x596844[_0x596844[_0x5df1fb(0x436)]=0x1]=_0x5df1fb(0x436),_0x596844))(Ii||{});const K=_0x5df1fb(0x28b),Ms={};function xs(_0x4e4809){var _0x1d4350=_0x5df1fb,_0x3b28c0;return!!((_0x3b28c0=_0x4e4809[_0x1d4350(0x493)])!=null&&_0x3b28c0[_0x1d4350(0x42c)]);}const ks=new Set([_0x5295d8['id']]);function Vt(_0x218190,_0x4f8a18,_0x1984fc,_0xe1b44f,_0x331d4a){var _0x2be617=_0x5df1fb,_0xf2900a,_0x4ea0ad,_0x4544f5,_0x2c8d2b;const _0x383184=[];for(const _0x2bd9d5 of _0x218190){if(ks[_0x2be617(0x302)](_0x2bd9d5['id'])){if(_0x383184[_0x2be617(0x20f)]>0x0)break;_0x383184[_0x2be617(0x2a8)](_0x2bd9d5);break;}if(xs(_0x2bd9d5)){if(_0x383184[_0x2be617(0x20f)]>0x0)break;_0x383184[_0x2be617(0x2a8)](_0x2bd9d5);break;}_0x383184['push'](_0x2bd9d5);}const _0x5307df=(_0x4ea0ad=(_0xf2900a=_0x331d4a[_0x2be617(0x1b9)]())==null?void 0x0:_0xf2900a[_0x2be617(0x36f)])!=null?_0x4ea0ad:_0x2be617(0x30e),_0x463d6d=(_0x2c8d2b=(_0x4544f5=_0x331d4a[_0x2be617(0x1b9)]())==null?void 0x0:_0x4544f5[_0x2be617(0x263)])!=null?_0x2c8d2b:_0x2be617(0x30e);return{'changeset':{'unitID':_0x4f8a18,'type':_0x2af71d(_0x1984fc[_0x2be617(0x3b7)](_0x4f8a18)),'baseRev':_0xe1b44f[_0x2be617(0x49c)](_0x4f8a18),'revision':0x0,'userID':_0x5307df,'memberID':_0x463d6d,'mutations':_0x383184},'pendingMutations':_0x218190['slice'](_0x383184[_0x2be617(0x20f)])};}function $s(_0x58cd6d,_0x526bf7,_0x3c5583,_0x3902c7,_0x1478dd){var _0x40bef0=_0x5df1fb,_0x525044,_0xb00e15,_0x3525b7,_0x6d9cfc;const _0x4cf6c4=[_0x58cd6d[_0x40bef0(0x366)]((_0x2fb66f,_0x8a7754)=>{var _0x22108c=_0x40bef0,_0x3b4314;const {id:_0xad1569}=_0x2fb66f,{id:_0x3dc7f2,type:_0x467195}=_0x8a7754,_0x436e97=(_0x3b4314=_0x2fb66f[_0x22108c(0x493)])!=null?_0x3b4314:{'actions':null},_0x6955f6=_0x8a7754[_0x22108c(0x493)];if(_0xad1569&&_0xad1569!==_0x3dc7f2)throw new Error(_0x22108c(0x1d0)+_0xad1569+_0x22108c(0x2a4)+_0x3dc7f2+'.');return{..._0x2fb66f,'id':_0x3dc7f2,'type':_0x467195,'params':{'unitId':_0x6955f6[_0x22108c(0x376)],'textRanges':_0x6955f6['textRanges'],'actions':_0x12bd44[_0x22108c(0x1cc)](_0x436e97[_0x22108c(0x27d)],_0x6955f6[_0x22108c(0x27d)])}};},{})],_0x227c07=(_0xb00e15=(_0x525044=_0x1478dd[_0x40bef0(0x1b9)]())==null?void 0x0:_0x525044['userID'])!=null?_0xb00e15:_0x40bef0(0x30e),_0x48731d=(_0x6d9cfc=(_0x3525b7=_0x1478dd[_0x40bef0(0x1b9)]())==null?void 0x0:_0x3525b7['memberID'])!=null?_0x6d9cfc:_0x40bef0(0x30e);return{'changeset':{'unitID':_0x526bf7,'type':_0x2af71d(_0x3c5583['getUnitType'](_0x526bf7)),'baseRev':_0x3902c7[_0x40bef0(0x49c)](_0x526bf7),'revision':0x0,'userID':_0x227c07,'memberID':_0x48731d,'mutations':_0x4cf6c4},'pendingMutations':[]};}function mi(_0x51b0a4,_0x453296){var _0x28d763=_0x5df1fb;const _0x113793=new _0x4ea05e(0x1);return setTimeout(()=>_0x113793[_0x28d763(0x180)](_0x453296),_0x51b0a4),_0x113793[_0x28d763(0x439)]()['pipe'](_0x20b401(0x1));}var Hs=Object[_0x5df1fb(0x464)],Se=(_0x4457c7,_0x105a66,_0x18836b,_0x4f0b58)=>{var _0x3273b7=_0x5df1fb;for(var _0x34888b=_0x4f0b58>0x1?void 0x0:_0x4f0b58?Hs(_0x105a66,_0x18836b):_0x105a66,_0x9f1a1c=_0x4457c7[_0x3273b7(0x20f)]-0x1,_0x103ff7;_0x9f1a1c>=0x0;_0x9f1a1c--)(_0x103ff7=_0x4457c7[_0x9f1a1c])&&(_0x34888b=_0x103ff7(_0x34888b)||_0x34888b);return _0x34888b;},L=(_0x3270b1,_0x576df5)=>(_0xdc2a6f,_0x15d1ed)=>_0x576df5(_0xdc2a6f,_0x15d1ed,_0x3270b1),Si=(_0x3ed935=>(_0x3ed935[_0x5df1fb(0x317)]='not_collab',_0x3ed935[_0x5df1fb(0x188)]=_0x5df1fb(0x419),_0x3ed935['PENDING']=_0x5df1fb(0x183),_0x3ed935[_0x5df1fb(0x2fe)]=_0x5df1fb(0x444),_0x3ed935[_0x5df1fb(0x303)]=_0x5df1fb(0x400),_0x3ed935[_0x5df1fb(0x482)]=_0x5df1fb(0x2f1),_0x3ed935['CONFLICT']=_0x5df1fb(0x34e),_0x3ed935[_0x5df1fb(0x46d)]=_0x5df1fb(0x33b),_0x3ed935))(Si||{});const gi=0xea60;class ge{constructor(_0x37c251,_0x27a394,_0x502a09,_0x3ff579,_0x325791,_0xaa4b3a,_0x519a73,_0x457ff7,_0x4d7557){var _0x21e821=_0x5df1fb;D(this,_0x21e821(0x235),null),D(this,_0x21e821(0x182),[]),(this['unitID']=_0x37c251,this['type']=_0x27a394,this[_0x21e821(0x469)]=_0x325791,this[_0x21e821(0x2e7)]=_0xaa4b3a,this[_0x21e821(0x3ff)]=_0x519a73,this[_0x21e821(0x333)]=_0x457ff7,this['_localCacheService']=_0x4d7557,this['_awaitingChangeset']=_0x502a09,this[_0x21e821(0x182)]=_0x3ff579);}[_0x5df1fb(0x1f9)](_0x51087f){var _0x47a0f0=_0x5df1fb;const _0x16c1df=this['_revisionService'][_0x47a0f0(0x49c)](this[_0x47a0f0(0x312)]);return _0x51087f[_0x47a0f0(0x2ba)]>_0x16c1df+0x1?(this[_0x47a0f0(0x469)][_0x47a0f0(0x48f)]({'from':_0x16c1df,'to':_0x51087f[_0x47a0f0(0x2ba)]-0x1}),!0x0):!0x1;}[_0x5df1fb(0x33a)](_0x12b877){var _0x61781c=_0x5df1fb;this[_0x61781c(0x3ff)][_0x61781c(0x20e)](this[_0x61781c(0x312)],_0x12b877);}['_transformSelections'](_0x50dbe8){var _0x35e13c=_0x5df1fb,_0x1d7337,_0x417275;(_0x417275=(_0x1d7337=this[_0x35e13c(0x469)])[_0x35e13c(0x3b2)])==null||_0x417275['call'](_0x1d7337,_0x50dbe8);}[_0x5df1fb(0x27c)](_0x4fc361){var _0x3baa0b=_0x5df1fb,_0x234a65,_0x40c1b4;return(_0x40c1b4=(_0x234a65=this[_0x3baa0b(0x469)])['onTransformIME'])==null?void 0x0:_0x40c1b4[_0x3baa0b(0x3a5)](_0x234a65,_0x4fc361);}[_0x5df1fb(0x44e)](_0x5e396d){var _0x65d6fa=_0x5df1fb,_0x26beda,_0x1a70e1;return(_0x1a70e1=(_0x26beda=this[_0x65d6fa(0x469)])[_0x65d6fa(0x35e)])==null?void 0x0:_0x1a70e1[_0x65d6fa(0x3a5)](_0x26beda,_0x5e396d);}[_0x5df1fb(0x34d)](_0x2cc87c){var _0xad3fd1=_0x5df1fb,_0x48b6e4,_0x3b0dd2,_0x176025;return(_0x176025=(_0x3b0dd2=(_0x48b6e4=this[_0xad3fd1(0x469)])[_0xad3fd1(0x409)])==null?void 0x0:_0x3b0dd2[_0xad3fd1(0x3a5)](_0x48b6e4,_0x2cc87c))!=null?_0x176025:_0x2cc87c;}['_transformRemoteChangesetByStateCache'](_0x39ac14){var _0x23a290=_0x5df1fb,_0x22bc81,_0xb9088c,_0xbebc87;return(_0xbebc87=(_0xb9088c=(_0x22bc81=this[_0x23a290(0x469)])[_0x23a290(0x2a7)])==null?void 0x0:_0xb9088c[_0x23a290(0x3a5)](_0x22bc81,_0x39ac14))!=null?_0xbebc87:_0x39ac14;}[_0x5df1fb(0x1a2)](_0x2de914){var _0x4d9767=_0x5df1fb,_0x3a20e7,_0x4a8e29;if(this[_0x4d9767(0x47d)]===Q['UNIVER_DOC']){const {unitID:_0x41ed2f,mutations:_0x560ff0,memberID:_0x39ec74}=_0x2de914,_0x3accd1=_0x560ff0[_0x4d9767(0x20f)]>0x0?_0x560ff0[0x0][_0x4d9767(0x493)][_0x4d9767(0x422)]:[];Array[_0x4d9767(0x26c)](_0x3accd1)&&_0x3accd1[_0x4d9767(0x20f)]>0x0&&((_0x4a8e29=(_0x3a20e7=this[_0x4d9767(0x469)])['onSyncEditingCollabCursor'])==null||_0x4a8e29[_0x4d9767(0x3a5)](_0x3a20e7,{'unitID':_0x41ed2f,'memberID':_0x39ec74,'textRanges':_0x3accd1}));}}['_updateLocalCache'](){var _0x4f72ee=_0x5df1fb,_0x15dff4;(_0x15dff4=this[_0x4f72ee(0x26b)])==null||_0x15dff4[_0x4f72ee(0x2f2)](this[_0x4f72ee(0x312)],this[_0x4f72ee(0x47d)],this[_0x4f72ee(0x235)],this[_0x4f72ee(0x182)]);}[_0x5df1fb(0x2f8)](){var _0x419102=_0x5df1fb;return this[_0x419102(0x333)]['getCurrentRevOfUnit'](this[_0x419102(0x312)]);}[_0x5df1fb(0x1ae)](){var _0x1af5b6=_0x5df1fb;this[_0x1af5b6(0x333)][_0x1af5b6(0x275)](this[_0x1af5b6(0x312)]);}[_0x5df1fb(0x36d)](_0x16e972){var _0x50534c=_0x5df1fb,_0x28331f;let _0x405cbd=this['_transformRemoteChangesetByIMECache'](_0x16e972);_0x405cbd=this[_0x50534c(0x200)](_0x405cbd);const _0x429aba=_0x3c9c9e(_0x405cbd[_0x50534c(0x2c7)],this['_commandService'],{'fromCollab':!0x0});if(!_0x429aba[_0x50534c(0x1bd)])throw _0x429aba['error']instanceof Error?_0x429aba[_0x50534c(0x2a9)]:new Error((_0x28331f=_0x429aba[_0x50534c(0x2a9)])!=null?_0x28331f:_0x50534c(0x402));this['_transformIMECache'](_0x405cbd),this[_0x50534c(0x44e)](_0x405cbd),this[_0x50534c(0x33a)](_0x16e972),this[_0x50534c(0x26e)](_0x405cbd),this[_0x50534c(0x1a2)](_0x405cbd),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x40bed7,_0x38211a,_0x415669,_0x5a5f02,_0xb471e9,_0x3f4878,_0x7aa597,_0x5c96f4,_0x17cca0,_0x42c19a){var _0x4de595=_0x5df1fb;super(_0x40bed7,_0x38211a,null,[],_0x415669,_0x7aa597,_0x3f4878,_0x5a5f02,_0x42c19a),D(this,_0x4de595(0x3bd),_0x4de595(0x419)),(this['_injector']=_0xb471e9,this[_0x4de595(0x369)]=_0x5c96f4,this[_0x4de595(0x1b1)]=_0x17cca0,this[_0x4de595(0x341)]=_0x42c19a);}[_0x5df1fb(0x3a3)](_0x21264a){var _0x3d2f58=_0x5df1fb;const _0x4cc87b=this[_0x3d2f58(0x323)]['createInstance'](ae,this['unitID'],this[_0x3d2f58(0x47d)],[_0x21264a],this[_0x3d2f58(0x469)]);return _0x4cc87b['_schedule'](),_0x4cc87b[_0x3d2f58(0x191)](),_0x4cc87b;}[_0x5df1fb(0x274)](_0x31be54){var _0x32d8e9=_0x5df1fb;if(this[_0x32d8e9(0x1f9)](_0x31be54))return this['_injector'][_0x32d8e9(0x27b)](ee,this['unitID'],this[_0x32d8e9(0x47d)],null,[],null,[_0x31be54],this['_handler']);try{const _0x181b62=this[_0x32d8e9(0x1b1)]['transformMutationsWithChangeset'](_0x31be54,[_0x26e37a]);if(_0x36d47e(_0x181b62)){const {c1Prime:_0x7a4bb9}=_0x181b62;return this['_executeRemoteChangeset'](_0x7a4bb9),this;}throw _0x181b62[_0x32d8e9(0x2a9)];}catch(_0x4b0abf){return this[_0x32d8e9(0x369)]['error'](_0x4b0abf),this[_0x32d8e9(0x214)](!0x1);}}[_0x5df1fb(0x214)](_0x3bf722){var _0x3e06c1=_0x5df1fb;return this[_0x3e06c1(0x323)]['createInstance'](ue,this[_0x3e06c1(0x312)],this[_0x3e06c1(0x47d)],null,[],this['_handler'],_0x3bf722);}['onRemoteAck'](){var _0x2946f6=_0x5df1fb;throw new Error(_0x2946f6(0x2fb));}[_0x5df1fb(0x2f3)](){var _0x248e7d=_0x5df1fb;throw new Error(_0x248e7d(0x217));}[_0x5df1fb(0x309)](){return this;}[_0x5df1fb(0x324)](){var _0x1668b8=_0x5df1fb;return this[_0x1668b8(0x323)][_0x1668b8(0x27b)](de,this[_0x1668b8(0x312)],this[_0x1668b8(0x47d)],null,[],this[_0x1668b8(0x469)]);}[_0x5df1fb(0x18b)](){return this;}[_0x5df1fb(0x49e)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5df1fb(0x311)](){var _0x904be0=_0x5df1fb;const _0x326f84=this['_revisionService'][_0x904be0(0x49c)](this[_0x904be0(0x312)]);return this['_handler'][_0x904be0(0x48f)]({'from':_0x326f84,'to':0x0}),this[_0x904be0(0x323)][_0x904be0(0x27b)](ee,this[_0x904be0(0x312)],this[_0x904be0(0x47d)],null,[],null,[],this[_0x904be0(0x469)]);}};be=Se([L(0x3,_0x32799d(_0x4b1fc1)),L(0x4,_0x32799d(_0x1edb1a)),L(0x5,_0x18f25c),L(0x6,_0x2c79d4),L(0x7,_0x5bdb8f),L(0x8,_0x2f9be5),L(0x9,_0x197bcd(X))],be);let ae=class extends ge{constructor(_0x2e0136,_0x708422,_0x19ac7c,_0x306d6b,_0xd9c67f,_0x1c36b3,_0x27dbd7,_0x534a52,_0x246408,_0x344dcb,_0x1d58ad,_0x1dfd1e,_0x3d5b99,_0x4aaa13){var _0x51c1e8=_0x5df1fb;super(_0x2e0136,_0x708422,null,_0x19ac7c,_0x306d6b,_0x246408,_0x3d5b99,_0x1c36b3,_0x4aaa13),D(this,_0x51c1e8(0x3bd),_0x51c1e8(0x183)),D(this,_0x51c1e8(0x25a),null),D(this,_0x51c1e8(0x3bb),null),(this[_0x51c1e8(0x323)]=_0xd9c67f,this['_memberService']=_0x27dbd7,this[_0x51c1e8(0x369)]=_0x534a52,this[_0x51c1e8(0x2a3)]=_0x344dcb,this[_0x51c1e8(0x1b1)]=_0x1d58ad,this[_0x51c1e8(0x325)]=_0x1dfd1e);}[_0x5df1fb(0x3a3)](_0x449d30){var _0x46b4c9=_0x5df1fb;return this[_0x46b4c9(0x182)]['push'](_0x449d30),this[_0x46b4c9(0x191)](),this;}[_0x5df1fb(0x274)](_0x5f07ad){var _0x52881a=_0x5df1fb;if(this['_checkMissing'](_0x5f07ad))return this[_0x52881a(0x230)](),this[_0x52881a(0x323)]['createInstance'](ee,this[_0x52881a(0x312)],this[_0x52881a(0x47d)],null,this[_0x52881a(0x182)],null,[_0x5f07ad],this[_0x52881a(0x469)]);try{const _0x292f1f=this[_0x52881a(0x1b1)]['transformMutationsWithChangeset'](_0x5f07ad,this[_0x52881a(0x182)]);if(_0x36d47e(_0x292f1f)){const {c1Prime:_0x42d539,m2Prime:_0x35253d}=_0x292f1f;this[_0x52881a(0x36d)](_0x42d539);const _0x1c5471=this[_0x52881a(0x323)][_0x52881a(0x27b)](ae,this['unitID'],this[_0x52881a(0x47d)],_0x35253d,this[_0x52881a(0x469)]);this[_0x52881a(0x230)]();const _0x38aaed=new Date()[_0x52881a(0x3f5)](),_0x7e0481=this['_scheduleCompleteTimestamp']?Math[_0x52881a(0x23d)](this[_0x52881a(0x25a)]-_0x38aaed,0x0):this[_0x52881a(0x3c3)]();return _0x1c5471[_0x52881a(0x30b)](_0x7e0481),_0x1c5471;}throw _0x292f1f[_0x52881a(0x2a9)];}catch(_0x2efc34){return this[_0x52881a(0x369)][_0x52881a(0x2a9)](_0x2efc34),this['_onConflict'](!0x1);}}[_0x5df1fb(0x19e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5df1fb(0x2f3)](){var _0x1ac8cb=_0x5df1fb;throw new Error(_0x1ac8cb(0x299));}['onRemoteRetry'](){return this;}[_0x5df1fb(0x324)](){var _0x319acc=_0x5df1fb;return this[_0x319acc(0x230)](),this['_injector'][_0x319acc(0x27b)](de,this['unitID'],this[_0x319acc(0x47d)],null,this[_0x319acc(0x182)],this[_0x319acc(0x469)]);}[_0x5df1fb(0x18b)](){return this;}['_schedule'](_0xc7e72d){var _0x36d221=_0x5df1fb;const _0x4e7349=_0xc7e72d!=null?_0xc7e72d:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x36d221(0x3f5)]()+_0x4e7349,this['_sendingTimer']=setTimeout(()=>{var _0x57bbe9=_0x36d221;this['_clearScheduledTask']();let _0x2ebe96=null;switch(this[_0x57bbe9(0x47d)]){case Q[_0x57bbe9(0x40a)]:{_0x2ebe96=Vt(this[_0x57bbe9(0x182)],this[_0x57bbe9(0x312)],this[_0x57bbe9(0x325)],this[_0x57bbe9(0x333)],this['_memberService']);break;}case Q[_0x57bbe9(0x379)]:{this[_0x57bbe9(0x182)][_0x57bbe9(0x23e)](_0xe33ced=>_0xe33ced['id']===_0x14789f['id'])?_0x2ebe96=$s(this['_pendingMutations'],this['unitID'],this[_0x57bbe9(0x325)],this[_0x57bbe9(0x333)],this[_0x57bbe9(0x357)]):_0x2ebe96=Vt(this[_0x57bbe9(0x182)],this[_0x57bbe9(0x312)],this[_0x57bbe9(0x325)],this['_revisionService'],this[_0x57bbe9(0x357)]);break;}default:throw new Error(_0x57bbe9(0x3f0)+this[_0x57bbe9(0x47d)]+_0x57bbe9(0x2da));}const {changeset:_0x405612,pendingMutations:_0x3594a6}=_0x2ebe96;this[_0x57bbe9(0x469)]['onSendChangeset'](_0x405612);const _0x444830=_0x3594a6[_0x57bbe9(0x20f)]?this['_injector'][_0x57bbe9(0x27b)](oe,this['unitID'],this[_0x57bbe9(0x47d)],_0x405612,_0x3594a6,this['_handler'],void 0x0):this['_injector'][_0x57bbe9(0x27b)](le,this[_0x57bbe9(0x312)],this[_0x57bbe9(0x47d)],_0x405612,this[_0x57bbe9(0x469)]);_0x444830[_0x57bbe9(0x191)](),this[_0x57bbe9(0x469)][_0x57bbe9(0x1cf)](this,_0x444830);},_0x4e7349);}[_0x5df1fb(0x3c3)](){var _0xa5d8ee=_0x5df1fb,_0x2cbdaa;const _0x2fea41=this[_0xa5d8ee(0x2a3)][_0xa5d8ee(0x3fe)](K);return(_0x2cbdaa=_0x2fea41==null?void 0x0:_0x2fea41['sendChangesetTimeout'])!=null?_0x2cbdaa:Es;}[_0x5df1fb(0x49e)](){var _0x315398=_0x5df1fb;throw new Error(_0x315398(0x281));}[_0x5df1fb(0x230)](){var _0x40c8fc=_0x5df1fb;this[_0x40c8fc(0x3bb)]!=null&&(clearTimeout(this[_0x40c8fc(0x3bb)]),this[_0x40c8fc(0x3bb)]=null);}[_0x5df1fb(0x214)](_0x419cc6){var _0x42554f=_0x5df1fb;return this['_clearScheduledTask'](),this[_0x42554f(0x323)][_0x42554f(0x27b)](ue,this[_0x42554f(0x312)],this[_0x42554f(0x47d)],null,this[_0x42554f(0x182)],this['_handler'],_0x419cc6);}};ae=Se([L(0x4,_0x32799d(_0x1edb1a)),L(0x5,_0x32799d(_0x4b1fc1)),L(0x6,_0x32799d(Pe)),L(0x7,_0x5bdb8f),L(0x8,_0x2c79d4),L(0x9,_0x70071),L(0xa,_0x2f9be5),L(0xb,_0x81d56a),L(0xc,_0x18f25c),L(0xd,_0x197bcd(X))],ae);let le=class extends ge{constructor(_0x4787f3,_0xa66b73,_0x5b24ff,_0x2768c0,_0x3af892,_0x8bbfd8,_0x14c8ed,_0x2b9017,_0x4dc883,_0x3c9b37,_0x9222eb){var _0x69dcf4=_0x5df1fb;super(_0x4787f3,_0xa66b73,_0x5b24ff,[],_0x2768c0,_0x14c8ed,_0x3c9b37,_0x8bbfd8,_0x9222eb),D(this,'status',_0x69dcf4(0x444)),D(this,_0x69dcf4(0x1f5),0x0),D(this,_0x69dcf4(0x1fc)),D(this,_0x69dcf4(0x34b)),(this['_injector']=_0x3af892,this['_logService']=_0x2b9017,this[_0x69dcf4(0x1b1)]=_0x4dc883);}['appendMutation'](_0x5bf481){var _0x29a825=_0x5df1fb;this['_clearScheduledTask']();const _0x18e21f=this[_0x29a825(0x323)]['createInstance'](oe,this[_0x29a825(0x312)],this[_0x29a825(0x47d)],this[_0x29a825(0x235)],[_0x5bf481],this[_0x29a825(0x469)],this['_resendTimer']);return _0x18e21f[_0x29a825(0x191)](),_0x18e21f;}['onRemoteChangeset'](_0x82d49d){var _0x2bed51=_0x5df1fb;if(this[_0x2bed51(0x1f9)](_0x82d49d))return this['_clearScheduledTask'](),this[_0x2bed51(0x323)][_0x2bed51(0x27b)](ee,this[_0x2bed51(0x312)],this['type'],this[_0x2bed51(0x235)],[],null,[_0x82d49d],this[_0x2bed51(0x469)]);try{const _0x315833=this[_0x2bed51(0x1b1)]['transformChangesets']([_0x82d49d],[this[_0x2bed51(0x235)]],!0x1);if(_0x25c17c(_0x315833)){const {c1Prime:_0x27214c,c2Prime:_0x1be68c}=_0x315833;this[_0x2bed51(0x36d)](_0x27214c[0x0]),_0x1be68c[0x0][_0x2bed51(0x2dc)]=this[_0x2bed51(0x2f8)](),this['_clearScheduledTask']();const _0x16703b=this[_0x2bed51(0x323)][_0x2bed51(0x27b)](le,this[_0x2bed51(0x312)],this[_0x2bed51(0x47d)],_0x1be68c[0x0],this[_0x2bed51(0x469)]);return _0x16703b[_0x2bed51(0x191)](),_0x16703b;}return this[_0x2bed51(0x214)](!0x1);}catch(_0x56babc){return this[_0x2bed51(0x369)][_0x2bed51(0x2a9)](_0x56babc),this[_0x2bed51(0x214)](!0x1);}}[_0x5df1fb(0x19e)](_0x34d9aa){var _0x4d0d78=_0x5df1fb;this[_0x4d0d78(0x230)]();const _0x229b95=this['_revisionService'][_0x4d0d78(0x49c)](this[_0x4d0d78(0x312)]);if(_0x34d9aa['revision']<_0x229b95-0x1)return this;if(this[_0x4d0d78(0x1f9)](_0x34d9aa))return this[_0x4d0d78(0x323)][_0x4d0d78(0x27b)](ee,this[_0x4d0d78(0x312)],this[_0x4d0d78(0x47d)],null,[],this[_0x4d0d78(0x235)],[],this[_0x4d0d78(0x469)]);this[_0x4d0d78(0x1ae)]();const _0x3c38f6=this[_0x4d0d78(0x323)][_0x4d0d78(0x27b)](be,this[_0x4d0d78(0x312)],this[_0x4d0d78(0x47d)],this[_0x4d0d78(0x469)]);return _0x3c38f6[_0x4d0d78(0x191)](),_0x3c38f6;}[_0x5df1fb(0x2f3)](_0xc3ab85){var _0x2e5ec4=_0x5df1fb;return this[_0x2e5ec4(0x214)](!!(_0xc3ab85!=null&&_0xc3ab85[_0x2e5ec4(0x23b)]));}[_0x5df1fb(0x309)](_0x338e75){var _0x1ae72f=_0x5df1fb;return this[_0x1ae72f(0x1f5)]>gi?this[_0x1ae72f(0x324)]():(this[_0x1ae72f(0x1fc)]=mi(this['_resendTimeout'],{'timeout':this[_0x1ae72f(0x1f5)],'reqId':_0x338e75['reqId']}),this['_sender']=this[_0x1ae72f(0x1fc)][_0x1ae72f(0x2ae)](({reqId:_0x1c35a0,timeout:_0x1394b3})=>{var _0x1cf614=_0x1ae72f;this[_0x1cf614(0x3ba)](_0x1c35a0,_0x1394b3);}),this);}[_0x5df1fb(0x324)](){var _0x3c6f48=_0x5df1fb;return this[_0x3c6f48(0x230)](),this['_injector'][_0x3c6f48(0x27b)](de,this[_0x3c6f48(0x312)],this[_0x3c6f48(0x47d)],this[_0x3c6f48(0x235)],[],this[_0x3c6f48(0x469)]);}[_0x5df1fb(0x18b)](){return this;}[_0x5df1fb(0x49e)](){var _0x4045ec=_0x5df1fb;this['_handler']['onSendChangeset'](this[_0x4045ec(0x235)]);}[_0x5df1fb(0x214)](_0x1807be){var _0x521507=_0x5df1fb;return this[_0x521507(0x230)](),this['_injector'][_0x521507(0x27b)](ue,this[_0x521507(0x312)],this[_0x521507(0x47d)],this[_0x521507(0x235)],[],this[_0x521507(0x469)],_0x1807be);}[_0x5df1fb(0x3ba)](_0x1939d6,_0x140400){var _0x371039=_0x5df1fb,_0xf2db7d;_0x1939d6===((_0xf2db7d=this[_0x371039(0x235)])==null?void 0x0:_0xf2db7d[_0x371039(0x3db)])&&(this[_0x371039(0x49e)](),this[_0x371039(0x1f5)]=_0x140400===0x0?0x3e8:_0x140400*0x2);}['_clearScheduledTask'](){var _0x44c086=_0x5df1fb,_0x3066dd;(_0x3066dd=this[_0x44c086(0x34b)])==null||_0x3066dd[_0x44c086(0x20a)](),this[_0x44c086(0x1f5)]=0x0;}};le=Se([L(0x4,_0x32799d(_0x1edb1a)),L(0x5,_0x32799d(_0x4b1fc1)),L(0x6,_0x2c79d4),L(0x7,_0x5bdb8f),L(0x8,_0x2f9be5),L(0x9,_0x18f25c),L(0xa,_0x197bcd(X))],le);let oe=class extends ge{constructor(_0x426669,_0x56bc17,_0x21b045,_0x588944,_0x516946,_0x4a0adf,_0x20fc95,_0x2450d0,_0x5c6da2,_0x2ed588,_0x436ec3,_0x26f5ab,_0x33b011){var _0x5d35ae=_0x5df1fb;super(_0x426669,_0x56bc17,_0x21b045,_0x588944,_0x516946,_0x5c6da2,_0x26f5ab,_0x2450d0,_0x33b011),D(this,'status',_0x5d35ae(0x400)),D(this,'_resendTimeout',0x0),D(this,'_resendTimer'),D(this,_0x5d35ae(0x34b)),(this[_0x5d35ae(0x323)]=_0x20fc95,this[_0x5d35ae(0x369)]=_0x2ed588,this['_transformService']=_0x436ec3,this[_0x5d35ae(0x341)]=_0x33b011,_0x4a0adf&&(this[_0x5d35ae(0x1fc)]=_0x4a0adf,this['_sender']=this[_0x5d35ae(0x1fc)][_0x5d35ae(0x2ae)](({reqId:_0x41b347,timeout:_0xb4b22c})=>{var _0x40a6fb=_0x5d35ae;this[_0x40a6fb(0x3ba)](_0x41b347,_0xb4b22c);})));}[_0x5df1fb(0x3a3)](_0x232c56){var _0x5aeaf7=_0x5df1fb;return this[_0x5aeaf7(0x182)][_0x5aeaf7(0x2a8)](_0x232c56),this;}[_0x5df1fb(0x274)](_0x1140ab){var _0xdba6d9=_0x5df1fb;if(this[_0xdba6d9(0x1f9)](_0x1140ab))return this[_0xdba6d9(0x230)](),this[_0xdba6d9(0x323)]['createInstance'](ee,this['unitID'],this[_0xdba6d9(0x47d)],this[_0xdba6d9(0x235)],this[_0xdba6d9(0x182)],null,[_0x1140ab],this[_0xdba6d9(0x469)]);try{const _0x30063b=this[_0xdba6d9(0x1b1)]['transformChangesets']([_0x1140ab],[this[_0xdba6d9(0x235)]],!0x1);if(_0x25c17c(_0x30063b)){const {c1Prime:_0x35d9e3,c2Prime:_0x2f0783}=_0x30063b,_0x19ddee=this[_0xdba6d9(0x1b1)][_0xdba6d9(0x45b)](_0x35d9e3[0x0],this['_pendingMutations']);if(_0x36d47e(_0x19ddee)){const {c1Prime:_0x44a649,m2Prime:_0xc37dc}=_0x19ddee;return this[_0xdba6d9(0x36d)](_0x44a649),_0x2f0783[0x0][_0xdba6d9(0x2dc)]=this[_0xdba6d9(0x2f8)](),this['_clearScheduledTask'](),this[_0xdba6d9(0x323)][_0xdba6d9(0x27b)](oe,this[_0xdba6d9(0x312)],this['type'],_0x2f0783[0x0],_0xc37dc,this[_0xdba6d9(0x469)],void 0x0);}throw _0x19ddee[_0xdba6d9(0x2a9)];}throw _0x30063b[_0xdba6d9(0x2a9)];}catch(_0x25ca02){return this[_0xdba6d9(0x369)][_0xdba6d9(0x2a9)](_0x25ca02),this[_0xdba6d9(0x214)](!0x1);}}[_0x5df1fb(0x19e)](_0x9c9474){var _0x2dc0d3=_0x5df1fb;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x9c9474))return this['_injector'][_0x2dc0d3(0x27b)](ee,this[_0x2dc0d3(0x312)],this[_0x2dc0d3(0x47d)],null,this[_0x2dc0d3(0x182)],this[_0x2dc0d3(0x235)],[],this[_0x2dc0d3(0x469)]);this[_0x2dc0d3(0x1ae)]();const _0x4258c0=this['_injector']['createInstance'](ae,this[_0x2dc0d3(0x312)],this[_0x2dc0d3(0x47d)],this[_0x2dc0d3(0x182)],this[_0x2dc0d3(0x469)]);return _0x4258c0[_0x2dc0d3(0x30b)](),_0x4258c0[_0x2dc0d3(0x191)](),_0x4258c0;}['onRemoteRej'](_0x6a2621){var _0xac26ef=_0x5df1fb;return this['_onConflict'](!!(_0x6a2621!=null&&_0x6a2621[_0xac26ef(0x23b)]));}[_0x5df1fb(0x309)](_0x108e80){var _0x164c33=_0x5df1fb;return this[_0x164c33(0x1f5)]>gi?this[_0x164c33(0x324)]():(this[_0x164c33(0x1fc)]=mi(this[_0x164c33(0x1f5)],{'timeout':this[_0x164c33(0x1f5)],'reqId':_0x108e80['reqId']}),this[_0x164c33(0x34b)]=this[_0x164c33(0x1fc)]['subscribe'](({reqId:_0x1d88ea,timeout:_0x2c295c})=>{var _0x25b23f=_0x164c33;this[_0x25b23f(0x3ba)](_0x1d88ea,_0x2c295c);}),this);}[_0x5df1fb(0x324)](){var _0x23ec01=_0x5df1fb;return this[_0x23ec01(0x230)](),this[_0x23ec01(0x323)][_0x23ec01(0x27b)](de,this['unitID'],this[_0x23ec01(0x47d)],this[_0x23ec01(0x235)],this['_pendingMutations'],this[_0x23ec01(0x469)]);}['toggleOnline'](){return this;}[_0x5df1fb(0x49e)](){var _0x14ac0c=_0x5df1fb;this[_0x14ac0c(0x469)][_0x14ac0c(0x42b)](this[_0x14ac0c(0x235)]);}[_0x5df1fb(0x214)](_0x5be3f5){var _0xc9476e=_0x5df1fb;return this['_clearScheduledTask'](),this[_0xc9476e(0x323)][_0xc9476e(0x27b)](ue,this[_0xc9476e(0x312)],this['type'],null,this[_0xc9476e(0x182)],this['_handler'],_0x5be3f5);}[_0x5df1fb(0x3ba)](_0x2378e0,_0x465554){var _0x429450=_0x5df1fb,_0x5c288a;_0x2378e0===((_0x5c288a=this[_0x429450(0x235)])==null?void 0x0:_0x5c288a[_0x429450(0x3db)])&&(this[_0x429450(0x49e)](),this[_0x429450(0x1f5)]=_0x465554===0x0?0x3e8:_0x465554*0x2);}[_0x5df1fb(0x230)](){var _0x28254e=_0x5df1fb,_0x4d87e8;(_0x4d87e8=this[_0x28254e(0x34b)])==null||_0x4d87e8[_0x28254e(0x20a)](),this[_0x28254e(0x1f5)]=0x0;}};oe=Se([L(0x6,_0x32799d(_0x1edb1a)),L(0x7,_0x32799d(_0x4b1fc1)),L(0x8,_0x2c79d4),L(0x9,_0x5bdb8f),L(0xa,_0x2f9be5),L(0xb,_0x18f25c),L(0xc,_0x197bcd(X))],oe);let ue=class extends ge{constructor(_0x512ade,_0x20214e,_0x47e096,_0x278088,_0x511ecd,_0x5c6ee6=!0x1,_0x25c0aa,_0x92b9b9,_0x4d44e7,_0x24f85b,_0xee6a3e,_0x257dbe,_0x50d789){var _0x31d3e6=_0x5df1fb;super(_0x512ade,_0x20214e,_0x47e096,_0x278088,_0x511ecd,_0x92b9b9,_0x4d44e7,_0x24f85b,_0x50d789),D(this,_0x31d3e6(0x3bd),'conflict'),(this['_isPermissionRej']=_0x5c6ee6,this['_permissionService']=_0x25c0aa,this[_0x31d3e6(0x347)]=_0xee6a3e,this['_collaborationUIEventService']=_0x257dbe,this[_0x31d3e6(0x341)]=_0x50d789,this[_0x31d3e6(0x1e0)](),this[_0x31d3e6(0x3a7)](),this[_0x31d3e6(0x29d)]());}['appendMutation'](){return this;}[_0x5df1fb(0x274)](){return this;}['onRemoteAck'](){return this;}[_0x5df1fb(0x2f3)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x467a8a=_0x5df1fb;throw new Error(_0x467a8a(0x33e));}[_0x5df1fb(0x3a7)](){var _0x5511a9=_0x5df1fb,_0x32b054;(_0x32b054=this[_0x5511a9(0x26b)])==null||_0x32b054['updateOfflineData'](this[_0x5511a9(0x312)],this['type'],null,[]);}['_showConflictNotification'](){var _0x403a63=_0x5df1fb;this['_isPermissionRej']?this[_0x403a63(0x47a)][_0x403a63(0x1e3)]({'id':re['PERMISSION_DENIED']}):this[_0x403a63(0x47a)]['emitEvent']({'id':re[_0x403a63(0x22c)]});}[_0x5df1fb(0x29d)](){var _0x40c09c=_0x5df1fb;this[_0x40c09c(0x202)]['updatePermissionPoint'](new _0x14efd6(this[_0x40c09c(0x312)])['id'],!0x1);}};ue=Se([L(0x6,_0x32799d(_0x53b055)),L(0x7,_0x2c79d4),L(0x8,_0x18f25c),L(0x9,_0x32799d(_0x4b1fc1)),L(0xa,_0x32799d(_0x5e50f8)),L(0xb,_0x32799d(ve)),L(0xc,_0x197bcd(X))],ue);let de=class extends ge{constructor(_0x4a4b5d,_0x22a3da,_0x289e5a,_0x1c65ab,_0x45d09d,_0x5809e1,_0x4a1b19,_0x5d3f45,_0x1de171,_0x2945a5){var _0x58be86=_0x5df1fb;super(_0x4a4b5d,_0x22a3da,_0x289e5a,_0x1c65ab,_0x45d09d,_0x5d3f45,_0x1de171,_0x4a1b19,_0x2945a5),D(this,'status',_0x58be86(0x33b)),this['_injector']=_0x5809e1;}[_0x5df1fb(0x3a3)](_0x5be4d3){var _0x56833f=_0x5df1fb;return this['_pendingMutations']['push'](_0x5be4d3),this[_0x56833f(0x191)](),this;}[_0x5df1fb(0x274)](_0x566e1a){var _0x1540d3=_0x5df1fb;throw new Error(_0x1540d3(0x2b4));}[_0x5df1fb(0x19e)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5df1fb(0x324)](){return this;}[_0x5df1fb(0x18b)](){var _0x40b067=_0x5df1fb;const {_injector:_0x30b098,_pendingMutations:_0x33cbcb,_awaitingChangeset:_0x491ac3,unitID:_0x3f6263,_handler:_0x222768,type:_0x28c5cf}=this,_0x342112=Ti(_0x30b098,_0x3f6263,_0x28c5cf,_0x491ac3,_0x33cbcb,_0x222768);return _0x342112 instanceof ae?_0x342112['_schedule']():(_0x342112 instanceof oe||_0x342112 instanceof le)&&_0x342112[_0x40b067(0x49e)](),_0x342112;}[_0x5df1fb(0x49e)](){var _0x587e2e=_0x5df1fb;throw new Error(_0x587e2e(0x189));}};de=Se([L(0x5,_0x32799d(_0x1edb1a)),L(0x6,_0x32799d(_0x4b1fc1)),L(0x7,_0x2c79d4),L(0x8,_0x18f25c),L(0x9,_0x197bcd(X))],de);let ee=class extends ge{constructor(_0x1ca77d,_0xb82dd9,_0x5797c7,_0x2e668b,_0x171851,_0x11c401,_0x235018,_0x68f34e,_0x3f3b64,_0x26dd97,_0x70d858,_0x11a2fd,_0x20a4b3,_0x4f3b00){var _0xcf2271=_0x5df1fb;super(_0x1ca77d,_0xb82dd9,_0x5797c7,_0x2e668b,_0x235018,_0x70d858,_0x11a2fd,_0x3f3b64,_0x4f3b00),D(this,'status',_0xcf2271(0x2f1)),(this[_0xcf2271(0x2ac)]=_0x171851,this[_0xcf2271(0x307)]=_0x11c401,this[_0xcf2271(0x323)]=_0x68f34e,this[_0xcf2271(0x369)]=_0x26dd97,this[_0xcf2271(0x1b1)]=_0x20a4b3,this[_0xcf2271(0x341)]=_0x4f3b00);}[_0x5df1fb(0x3f6)](_0xb1faf3){var _0x2e4b9e=_0x5df1fb;try{const _0x1f032d=[..._0xb1faf3,...this['_queuedRemoteChangesets']],_0xee2537=[this[_0x2e4b9e(0x235)]||this[_0x2e4b9e(0x2ac)]][_0x2e4b9e(0x485)](_0xbbd532=>!!_0xbbd532);let _0x93474b,_0x1278f5;if(_0xee2537[_0x2e4b9e(0x20f)]){const _0x92d8=this[_0x2e4b9e(0x1b1)][_0x2e4b9e(0x382)](_0x1f032d,_0xee2537,!0x1);if(!_0x25c17c(_0x92d8))throw _0x92d8[_0x2e4b9e(0x2a9)];_0x93474b=_0x92d8['c1Prime'],_0x1278f5=_0x92d8[_0x2e4b9e(0x2d4)];}else _0x93474b=_0x1f032d,_0x1278f5=[];let _0x2c6a0e=this[_0x2e4b9e(0x182)];_0x93474b['forEach'](_0x120b50=>{var _0x361029=_0x2e4b9e;let _0x468d54;if(_0x2c6a0e['length']){const _0x27e860=this[_0x361029(0x1b1)][_0x361029(0x45b)](_0x120b50,_0x2c6a0e);if(!_0x36d47e(_0x27e860))throw _0x27e860[_0x361029(0x2a9)];_0x468d54=_0x27e860['c1Prime'],_0x2c6a0e=_0x27e860[_0x361029(0x1bf)];}else _0x468d54=_0x120b50;this[_0x361029(0x36d)](_0x468d54);}),this[_0x2e4b9e(0x2ac)]&&this[_0x2e4b9e(0x1ae)](),this[_0x2e4b9e(0x235)]&&_0x1278f5[_0x2e4b9e(0x20f)]&&(_0x1278f5[0x0][_0x2e4b9e(0x2dc)]=this[_0x2e4b9e(0x2f8)]());let _0x37ee97;if(this[_0x2e4b9e(0x235)]&&_0x2c6a0e[_0x2e4b9e(0x20f)]!==0x0)_0x37ee97=this[_0x2e4b9e(0x323)][_0x2e4b9e(0x27b)](oe,this[_0x2e4b9e(0x312)],this[_0x2e4b9e(0x47d)],_0x1278f5[0x0],_0x2c6a0e,this[_0x2e4b9e(0x469)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2c6a0e[_0x2e4b9e(0x20f)]===0x0)_0x1278f5[0x0]['baseRev']=this[_0x2e4b9e(0x2f8)](),_0x37ee97=this['_injector'][_0x2e4b9e(0x27b)](le,this[_0x2e4b9e(0x312)],this[_0x2e4b9e(0x47d)],_0x1278f5[0x0],this[_0x2e4b9e(0x469)]);else{if(_0x2c6a0e[_0x2e4b9e(0x20f)]!==0x0){const _0x19a1af=this[_0x2e4b9e(0x323)][_0x2e4b9e(0x27b)](ae,this[_0x2e4b9e(0x312)],this['type'],_0x2c6a0e,this['_handler']);_0x19a1af['_schedule'](),_0x37ee97=_0x19a1af;}else _0x37ee97=this[_0x2e4b9e(0x323)][_0x2e4b9e(0x27b)](be,this[_0x2e4b9e(0x312)],this[_0x2e4b9e(0x47d)],this['_handler']);}}return _0x37ee97[_0x2e4b9e(0x191)](),_0x37ee97;}catch(_0x2e33a7){return this[_0x2e4b9e(0x369)][_0x2e4b9e(0x2a9)](_0x2e4b9e(0x32f),_0x2e4b9e(0x227),_0x2e33a7),this[_0x2e4b9e(0x323)][_0x2e4b9e(0x27b)](ue,this['unitID'],this[_0x2e4b9e(0x47d)],this['_awaitingChangeset'],this[_0x2e4b9e(0x182)],this[_0x2e4b9e(0x469)],!0x1);}}[_0x5df1fb(0x49e)](){var _0x1a14e2=_0x5df1fb;throw new Error(_0x1a14e2(0x30a));}[_0x5df1fb(0x3a3)](_0x30b1b7){var _0x1052f2=_0x5df1fb;return this[_0x1052f2(0x182)][_0x1052f2(0x2a8)](_0x30b1b7),this;}[_0x5df1fb(0x274)](_0x49a93a){var _0x1fb503=_0x5df1fb;return this['_queuedRemoteChangesets'][_0x1fb503(0x2a8)](_0x49a93a),this;}['onRemoteAck'](_0xa2f7f0){var _0x3a41a0=_0x5df1fb;if(this[_0x3a41a0(0x235)])return this['_acknowledgedAwaitingChangeset']=this[_0x3a41a0(0x235)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5df1fb(0x2f3)](_0x5a3a77){var _0x21c00c=_0x5df1fb;return this[_0x21c00c(0x214)](!!(_0x5a3a77!=null&&_0x5a3a77[_0x21c00c(0x23b)]));}[_0x5df1fb(0x309)](){return this;}[_0x5df1fb(0x324)](){var _0x2bde43=_0x5df1fb;return this[_0x2bde43(0x323)][_0x2bde43(0x27b)](de,this['unitID'],this[_0x2bde43(0x47d)],this[_0x2bde43(0x235)],this[_0x2bde43(0x182)],this[_0x2bde43(0x469)]);}[_0x5df1fb(0x18b)](){return this;}[_0x5df1fb(0x214)](_0x1b4964){var _0x518482=_0x5df1fb;return this[_0x518482(0x323)][_0x518482(0x27b)](ue,this[_0x518482(0x312)],this[_0x518482(0x47d)],this[_0x518482(0x235)],this[_0x518482(0x182)],this['_handler'],_0x1b4964);}};ee=Se([L(0x7,_0x32799d(_0x1edb1a)),L(0x8,_0x32799d(_0x4b1fc1)),L(0x9,_0x5bdb8f),L(0xa,_0x2c79d4),L(0xb,_0x18f25c),L(0xc,_0x2f9be5),L(0xd,_0x197bcd(X))],ee);function Ti(_0x2fbc5f,_0x990817,_0x2f04f3,_0x8ae8b5,_0x33e88e,_0x3bf531){var _0x6313ed=_0x5df1fb;return _0x8ae8b5&&_0x33e88e[_0x6313ed(0x20f)]?_0x2fbc5f[_0x6313ed(0x27b)](oe,_0x990817,_0x2f04f3,_0x8ae8b5,_0x33e88e,_0x3bf531,void 0x0):_0x8ae8b5?_0x2fbc5f[_0x6313ed(0x27b)](le,_0x990817,_0x2f04f3,_0x8ae8b5,_0x3bf531):_0x33e88e[_0x6313ed(0x20f)]?_0x2fbc5f['createInstance'](ae,_0x990817,_0x2f04f3,_0x33e88e,_0x3bf531):_0x2fbc5f['createInstance'](be,_0x990817,_0x2f04f3,_0x3bf531);}var Bs=Object['getOwnPropertyDescriptor'],At=(_0x4edd01,_0x101518,_0x381086,_0x3d2ab5)=>{var _0x37a6f4=_0x5df1fb;for(var _0x26cd47=_0x3d2ab5>0x1?void 0x0:_0x3d2ab5?Bs(_0x101518,_0x381086):_0x101518,_0x4d0213=_0x4edd01[_0x37a6f4(0x20f)]-0x1,_0x4c0b03;_0x4d0213>=0x0;_0x4d0213--)(_0x4c0b03=_0x4edd01[_0x4d0213])&&(_0x26cd47=_0x4c0b03(_0x26cd47)||_0x26cd47);return _0x26cd47;},$=(_0xa562d0,_0x4f7062)=>(_0x26a062,_0x5c7a7a)=>_0x4f7062(_0x26a062,_0x5c7a7a,_0xa562d0);let st=class extends _0x3ef034{constructor(_0x5b2a6f,_0x28526c,_0x2faaeb,_0x2783fa,_0x352834,_0x4f47fd,_0xcf20ee,_0x1325a4,_0x27b421,_0x568733,_0x397efd,_0x54c6f6,_0x498689,_0x8faf19){var _0x58091e=_0x5df1fb;super(),D(this,_0x58091e(0x1ba),new _0x306e8f(null)),D(this,'state$',this[_0x58091e(0x1ba)][_0x58091e(0x439)]()),D(this,_0x58091e(0x496)),D(this,_0x58091e(0x2c5),!0x1),D(this,_0x58091e(0x3aa),''),D(this,_0x58091e(0x497),0x0),D(this,_0x58091e(0x361),this['state$'][_0x58091e(0x1eb)](_0x16ce92(_0x51756f=>_0x51756f?_0x51756f[_0x58091e(0x3bd)]:Si[_0x58091e(0x46d)]),_0x136d2e(0x1))),D(this,_0x58091e(0x348),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x58091e(0x312)]=_0x5b2a6f,this[_0x58091e(0x37e)]=_0x28526c,this[_0x58091e(0x243)]=_0x2faaeb,this['_injector']=_0x2783fa,this[_0x58091e(0x465)]=_0x352834,this[_0x58091e(0x347)]=_0x4f47fd,this['_revisionService']=_0xcf20ee,this[_0x58091e(0x19c)]=_0x1325a4,this[_0x58091e(0x325)]=_0x27b421,this[_0x58091e(0x369)]=_0x568733,this['_commandService']=_0x397efd,this[_0x58091e(0x202)]=_0x54c6f6,this['_singleActiveUnitService']=_0x498689,this[_0x58091e(0x26b)]=_0x8faf19);}get['state'](){var _0x619d9a=_0x5df1fb;return this[_0x619d9a(0x496)];}async[_0x5df1fb(0x405)](){var _0x7c554c=_0x5df1fb;if(this[_0x7c554c(0x3dc)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x7c554c(0x3c6)]();}[_0x5df1fb(0x39b)](){var _0x562716=_0x5df1fb;return this[_0x562716(0x2c5)]=!0x0,_0x4114d5(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5df1fb(0x338)](_0x407b49){var _0x4ad9db=_0x5df1fb;this[_0x4ad9db(0x256)](_0x407b49);}[_0x5df1fb(0x252)](_0xaddb6){var _0xe1b4a0=_0x5df1fb;this[_0xe1b4a0(0x496)]=_0xaddb6,this[_0xe1b4a0(0x1ba)][_0xe1b4a0(0x180)](_0xaddb6);}async[_0x5df1fb(0x3c6)](){var _0x5ceba8=_0x5df1fb,_0xa0f7aa;this[_0x5ceba8(0x252)](await this[_0x5ceba8(0x344)]()),this[_0x5ceba8(0x385)]&&((_0xa0f7aa=this[_0x5ceba8(0x385)])==null||_0xa0f7aa['editingUnit'](this[_0x5ceba8(0x312)]),this[_0x5ceba8(0x1de)](this[_0x5ceba8(0x385)]['getUnitStatus$'](this[_0x5ceba8(0x312)])[_0x5ceba8(0x2ae)](_0x25ccb8=>{var _0x57a911=_0x5ceba8;this['_logService'][_0x57a911(0x491)]('[CollaborationEntity]',_0x57a911(0x388),_0x25ccb8),_0x25ccb8===Ii[_0x57a911(0x436)]?(this[_0x57a911(0x19c)][_0x57a911(0x1e3)]({'id':re[_0x57a911(0x3a8)]}),this[_0x57a911(0x202)]['updatePermissionPoint'](new _0x14efd6(this['unitID'])['id'],!0x1),this[_0x57a911(0x202)][_0x57a911(0x218)](!0x1)):(this[_0x57a911(0x202)][_0x57a911(0x349)](new _0x14efd6(this[_0x57a911(0x312)])['id'],!0x0),this[_0x57a911(0x202)][_0x57a911(0x218)](!0x0));})));let _0x3db4a8=!0x1;return this[_0x5ceba8(0x1de)](this['session'][_0x5ceba8(0x29f)][_0x5ceba8(0x2ae)](_0x5a551c=>{var _0xcacdd3=_0x5ceba8;_0x5a551c===Ie[_0xcacdd3(0x472)]?this['_toggleOnline'](_0x3db4a8):_0x5a551c===Ie['OFFLINE']&&(_0x3db4a8=!0x0,this[_0xcacdd3(0x32b)]());})),this[_0x5ceba8(0x1de)](this[_0x5ceba8(0x37e)]['event$'][_0x5ceba8(0x2ae)](_0x497671=>{var _0x31409a=_0x5ceba8;try{switch(_0x497671[_0x31409a(0x499)]){case _0x921ddb[_0x31409a(0x304)]:{this['_onRemoteChangeset'](_0x2d4c64(_0x497671[_0x31409a(0x326)]));break;}case _0x921ddb['CHANGESET_ACK']:{this[_0x31409a(0x398)](_0x497671[_0x31409a(0x326)]);break;}case _0x921ddb[_0x31409a(0x421)]:{this[_0x31409a(0x41a)]();break;}case _0x921ddb['CHANGESET_SHOULD_RETRY']:{this[_0x31409a(0x394)](_0x497671[_0x31409a(0x326)]);break;}case _0x921ddb[_0x31409a(0x27e)]:{this[_0x31409a(0x24f)](_0x497671['data'][_0x31409a(0x1d9)][_0x31409a(0x3d3)](_0x27d60b=>_0x2d4c64(_0x27d60b)));break;}case _0x921ddb[_0x31409a(0x365)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x921ddb['UNISCRIPT_RUN']:break;}}catch(_0xd11a43){throw console['error'](_0x31409a(0x221),_0xd11a43),_0xd11a43;}})),this[_0x5ceba8(0x496)];}[_0x5df1fb(0x449)](){var _0x4709b4=_0x5df1fb;this[_0x4709b4(0x348)]=!0x1;}[_0x5df1fb(0x22d)](){var _0x488a74=_0x5df1fb;if(this[_0x488a74(0x348)])throw new Error(_0x488a74(0x41b));this[_0x488a74(0x348)]=!0x0;}['_onLocalMutation'](_0x3af747){var _0x18791f=_0x5df1fb;this['_lockTransition'](),this[_0x18791f(0x252)](this[_0x18791f(0x496)][_0x18791f(0x3a3)](_0x3af747)),this[_0x18791f(0x449)]();}[_0x5df1fb(0x1a0)](_0x5b67e5){var _0x3c0255=_0x5df1fb;if(!(_0x5b67e5[_0x3c0255(0x2ba)]<=this['_revisionService'][_0x3c0255(0x49c)](this[_0x3c0255(0x312)]))){if(this[_0x3c0255(0x2c5)]){this[_0x3c0255(0x1d4)]['push'](_0x5b67e5);return;}this[_0x3c0255(0x232)](_0x5b67e5);}}[_0x5df1fb(0x327)](){var _0xe0b8cf=_0x5df1fb;this[_0xe0b8cf(0x1d4)][_0xe0b8cf(0x28e)](_0x3686f4=>this[_0xe0b8cf(0x232)](_0x3686f4)),this[_0xe0b8cf(0x1d4)]=[];}[_0x5df1fb(0x232)](_0x430d2b){var _0x553d3d=_0x5df1fb;const _0x17c651=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x553d3d(0x2d8)]()[_0x553d3d(0x3fc)])(_0x430d2b['mutations'],null)||_0x430d2b['mutations'],_0x4b5978={..._0x430d2b,'mutations':_0x17c651};this[_0x553d3d(0x22d)](),this[_0x553d3d(0x252)](this[_0x553d3d(0x496)][_0x553d3d(0x274)](_0x4b5978)),this[_0x553d3d(0x449)]();}[_0x5df1fb(0x398)](_0x1562cd){var _0x2abb1d=_0x5df1fb;this[_0x2abb1d(0x22d)](),this[_0x2abb1d(0x252)](this['_state'][_0x2abb1d(0x19e)](_0x1562cd)),this['_unlockTransition']();}[_0x5df1fb(0x41a)](_0x27b061){var _0xb8f44e=_0x5df1fb;this['_lockTransition'](),this[_0xb8f44e(0x252)](this[_0xb8f44e(0x496)]['onRemoteRej'](_0x27b061)),this[_0xb8f44e(0x449)]();}[_0x5df1fb(0x394)](_0x31d7eb){var _0x4ae016=_0x5df1fb;this['_lockTransition'](),this[_0x4ae016(0x252)](this['_state'][_0x4ae016(0x309)](_0x31d7eb)),this['_unlockTransition']();}['_onFetchMissResult'](_0xb2739a){var _0x135a0d=_0x5df1fb;if(!(this['_state']instanceof ee))throw new TypeError(_0x135a0d(0x1b3));const _0x10ef14=_0xb2739a[_0x135a0d(0x3d3)](_0x5dc5bc=>{var _0x5cf6a4=_0x135a0d;const _0x5d0448=this[_0x5cf6a4(0x465)][_0x5cf6a4(0x450)]['fetchThroughInterceptors'](this[_0x5cf6a4(0x465)][_0x5cf6a4(0x450)][_0x5cf6a4(0x2d8)]()[_0x5cf6a4(0x3fc)])(_0x5dc5bc[_0x5cf6a4(0x2c7)],null)||_0x5dc5bc[_0x5cf6a4(0x2c7)];return{..._0x5dc5bc,'mutations':_0x5d0448};});this['_lockTransition'](),this[_0x135a0d(0x252)](this[_0x135a0d(0x496)][_0x135a0d(0x3f6)](_0x10ef14)),this[_0x135a0d(0x449)]();}[_0x5df1fb(0x32b)](){var _0x546cdd=_0x5df1fb;this[_0x546cdd(0x22d)](),this[_0x546cdd(0x252)](this[_0x546cdd(0x496)][_0x546cdd(0x324)]()),this[_0x546cdd(0x449)]();}[_0x5df1fb(0x44a)](_0x32aa8f=!0x1){var _0x105f4e=_0x5df1fb;this[_0x105f4e(0x22d)](),this[_0x105f4e(0x252)](this[_0x105f4e(0x496)][_0x105f4e(0x18b)]()),this[_0x105f4e(0x449)]();const _0x440eb2=this[_0x105f4e(0x496)];_0x32aa8f&&_0x440eb2 instanceof be&&(this['_lockTransition'](),this[_0x105f4e(0x252)](_0x440eb2[_0x105f4e(0x311)]()),this[_0x105f4e(0x449)]());}async['_createInitialState'](){return new Promise(_0x22951e=>{var _0x5788c5=_0x27ce;this[_0x5788c5(0x37e)][_0x5788c5(0x29f)][_0x5788c5(0x1eb)](_0x20b401(0x1))[_0x5788c5(0x2ae)](async _0x4c0355=>{var _0x4f756d=_0x5788c5;_0x22951e(await this[_0x4f756d(0x20c)](_0x4c0355===Ie[_0x4f756d(0x472)]));});});}[_0x5df1fb(0x293)](){var _0x344520=_0x5df1fb;const _0x1c4314=this[_0x344520(0x312)];return{'onStateChange':(_0x27cb48,_0x7ac537)=>{var _0x4e8048=_0x344520;if(_0x27cb48!==this[_0x4e8048(0x496)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x27cb48[_0x4e8048(0x3bd)]+_0x4e8048(0x429)+_0x7ac537[_0x4e8048(0x3bd)]+_0x4e8048(0x3e4)+this[_0x4e8048(0x496)][_0x4e8048(0x3bd)]);this[_0x4e8048(0x252)](_0x7ac537);},'onSendChangeset':_0x5678ec=>{var _0x6b237=_0x344520;_0x5678ec[_0x6b237(0x276)]||(_0x5678ec[_0x6b237(0x276)]=this['_changesetSessionId'],_0x5678ec[_0x6b237(0x3db)]=++this['_changesetReqId']);const _0x3fcd27={'eventID':_0x921ddb[_0x6b237(0x2cf)],'data':{'unitID':_0x5678ec[_0x6b237(0x312)],'unitType':this['_type'],'changeset':_0x5678ec,'memberID':this[_0x6b237(0x37e)][_0x6b237(0x290)]()}};this[_0x6b237(0x37e)]['send'](_0x3fcd27,this[_0x6b237(0x312)]);},'onMissingChangesets':({from:_0x911b7c,to:_0x175778})=>{var _0x50d4f9=_0x344520;this[_0x50d4f9(0x369)][_0x50d4f9(0x491)](_0x50d4f9(0x42a),_0x50d4f9(0x308)+_0x911b7c+_0x50d4f9(0x300)+_0x175778);const _0x5e61a5={'eventID':_0x921ddb[_0x50d4f9(0x435)],'data':{'unitID':_0x1c4314,'unitType':this[_0x50d4f9(0x243)],'from':_0x911b7c,'to':_0x175778}};this[_0x50d4f9(0x37e)][_0x50d4f9(0x206)](_0x5e61a5,this[_0x50d4f9(0x312)]);}};}async[_0x5df1fb(0x20c)](_0x50f5ce){var _0x2277f4=_0x5df1fb,_0x27770f,_0x166e7b,_0x2f9305;const _0x5c6274=await((_0x27770f=this[_0x2277f4(0x26b)])==null?void 0x0:_0x27770f[_0x2277f4(0x258)](this[_0x2277f4(0x312)])),_0x48e6ed=(_0x166e7b=_0x5c6274==null?void 0x0:_0x5c6274[_0x2277f4(0x2c7)])!=null?_0x166e7b:[],_0x3d4d80=(_0x2f9305=_0x5c6274==null?void 0x0:_0x5c6274[_0x2277f4(0x3b6)])!=null?_0x2f9305:null,_0x2272d8=!!(_0x3d4d80!=null&&_0x3d4d80['sid'])&&!!(_0x3d4d80!=null&&_0x3d4d80[_0x2277f4(0x3db)]);this[_0x2277f4(0x3aa)]=_0x2272d8?_0x3d4d80[_0x2277f4(0x276)]:_0x1aa780(),this[_0x2277f4(0x497)]=_0x2272d8?_0x3d4d80['reqId']:0x0;const _0x2393c0=this[_0x2277f4(0x312)];try{this[_0x2277f4(0x1c4)](_0x3d4d80,_0x48e6ed);}catch(_0x1735fe){this[_0x2277f4(0x369)]['error'](_0x1735fe);}const _0x2d0952=this[_0x2277f4(0x293)]();if(_0x50f5ce){const _0x34f850=Ti(this['_injector'],_0x2393c0,this[_0x2277f4(0x243)],_0x3d4d80,_0x48e6ed,_0x2d0952);return _0x34f850 instanceof ae?_0x34f850[_0x2277f4(0x30b)]():(_0x34f850 instanceof oe||_0x34f850 instanceof le)&&_0x34f850[_0x2277f4(0x49e)](),_0x34f850;}return this['_injector'][_0x2277f4(0x27b)](de,_0x2393c0,this[_0x2277f4(0x243)],_0x3d4d80,_0x48e6ed,_0x2d0952);}['_replayCachedMutations'](_0x546ecf,_0x2c5b64){var _0x8c4728=_0x5df1fb,_0x5513f7,_0x114170;const _0x2eb01c=this[_0x8c4728(0x465)][_0x8c4728(0x450)]['fetchThroughInterceptors'](this[_0x8c4728(0x465)][_0x8c4728(0x450)][_0x8c4728(0x2d8)]()[_0x8c4728(0x3fc)]);(_0x5513f7=_0x2eb01c((_0x546ecf==null?void 0x0:_0x546ecf['mutations'])||[],null))==null||_0x5513f7['forEach'](_0x22db60=>this['_commandService'][_0x8c4728(0x3fa)](_0x22db60['id'],_0x22db60['params'])),(_0x114170=_0x2eb01c(_0x2c5b64||[],null))==null||_0x114170[_0x8c4728(0x28e)](_0x4f5b50=>this[_0x8c4728(0x2e7)][_0x8c4728(0x3fa)](_0x4f5b50['id'],_0x4f5b50[_0x8c4728(0x493)]));}};st=At([$(0x3,_0x32799d(_0x1edb1a)),$(0x4,_0x32799d(_0x126e58)),$(0x5,_0x32799d(_0x5e50f8)),$(0x6,_0x32799d(_0x4b1fc1)),$(0x7,_0x32799d(ve)),$(0x8,_0x81d56a),$(0x9,_0x5bdb8f),$(0xa,_0x2c79d4),$(0xb,_0x53b055),$(0xc,_0x197bcd(_t)),$(0xd,_0x197bcd(X))],st);let mt=class extends st{constructor(_0x364fbc,_0x2286ee,_0x23d8a0,_0x5b1779,_0x219df8,_0x58d26c,_0x3e2307,_0x5e7851,_0x2c057a,_0x2fe2d6,_0x5baf52,_0x4152da,_0x41b7f9,_0x350fc3){var _0x4470cb=_0x5df1fb;super(_0x364fbc,_0x23d8a0,_0x2286ee,_0x5b1779,_0x219df8,_0x58d26c,_0x3e2307,_0x5e7851,_0x2c057a,_0x2fe2d6,_0x5baf52,_0x4152da,_0x41b7f9,_0x350fc3),D(this,_0x4470cb(0x1d3),null),(this[_0x4470cb(0x312)]=_0x364fbc,this['type']=_0x2286ee);}[_0x5df1fb(0x2ad)](_0x25263d){var _0x207d78=_0x5df1fb;this[_0x207d78(0x1d3)]=_0x25263d;}[_0x5df1fb(0x406)](){var _0x1bfcf5=_0x5df1fb;this[_0x1bfcf5(0x1d3)]=null,super['dispose']();}[_0x5df1fb(0x293)](){var _0x2a1cc4=_0x5df1fb;const _0xa6eae=super[_0x2a1cc4(0x293)]();return _0xa6eae[_0x2a1cc4(0x37f)]=_0x13c4b3=>{var _0x557371=_0x2a1cc4,_0x1c117f,_0x2a0d84;return(_0x2a0d84=(_0x1c117f=this[_0x557371(0x1d3)])==null?void 0x0:_0x1c117f[_0x557371(0x37f)])==null?void 0x0:_0x2a0d84[_0x557371(0x3a5)](_0x1c117f,_0x13c4b3);},_0xa6eae[_0x2a1cc4(0x35e)]=_0x4c8e3e=>{var _0x3871d4=_0x2a1cc4,_0x22cf4b,_0x400946;return(_0x400946=(_0x22cf4b=this[_0x3871d4(0x1d3)])==null?void 0x0:_0x22cf4b[_0x3871d4(0x35e)])==null?void 0x0:_0x400946[_0x3871d4(0x3a5)](_0x22cf4b,_0x4c8e3e);},_0xa6eae['onTransformSelections']=_0x9e7432=>{var _0x5ed969=_0x2a1cc4,_0x419cea,_0x2e9cb4;return(_0x2e9cb4=(_0x419cea=this[_0x5ed969(0x1d3)])==null?void 0x0:_0x419cea[_0x5ed969(0x3b2)])==null?void 0x0:_0x2e9cb4[_0x5ed969(0x3a5)](_0x419cea,_0x9e7432);},_0xa6eae[_0x2a1cc4(0x462)]=_0x24a838=>{var _0x330405=_0x2a1cc4,_0x138daa,_0x3c7bf3;return(_0x3c7bf3=(_0x138daa=this[_0x330405(0x1d3)])==null?void 0x0:_0x138daa[_0x330405(0x462)])==null?void 0x0:_0x3c7bf3[_0x330405(0x3a5)](_0x138daa,_0x24a838);},_0xa6eae[_0x2a1cc4(0x409)]=_0x18890f=>{var _0x1fc373=_0x2a1cc4,_0x380de7,_0x18821f,_0x4b5452;if(!((_0x380de7=this[_0x1fc373(0x1d3)])!=null&&_0x380de7[_0x1fc373(0x409)]))throw new Error(_0x1fc373(0x3a2));return(_0x4b5452=(_0x18821f=this[_0x1fc373(0x1d3)])==null?void 0x0:_0x18821f['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4b5452['call'](_0x18821f,_0x18890f);},_0xa6eae[_0x2a1cc4(0x2a7)]=_0x5b7db8=>{var _0x3535da=_0x2a1cc4,_0x2e23ec,_0x4cabc0,_0x2703ea;if(!((_0x2e23ec=this[_0x3535da(0x1d3)])!=null&&_0x2e23ec[_0x3535da(0x2a7)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2703ea=(_0x4cabc0=this[_0x3535da(0x1d3)])==null?void 0x0:_0x4cabc0['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2703ea[_0x3535da(0x3a5)](_0x4cabc0,_0x5b7db8);},_0xa6eae;}async[_0x5df1fb(0x3c6)](){var _0x31f519=_0x5df1fb;const _0xf6889d=await super[_0x31f519(0x3c6)]();return this[_0x31f519(0x1de)](this['_commandService'][_0x31f519(0x412)]((_0x22370d,_0x3c435e)=>{var _0x313aaf=_0x31f519;if(_0x22370d['type']!==_0xb43d4b['MUTATION']||_0x3c435e!=null&&_0x3c435e['fromCollab']||_0x3c435e!=null&&_0x3c435e[_0x313aaf(0x25f)]||_0x22370d['id']===_0x14789f['id'])return;const _0x2831aa=_0x22370d[_0x313aaf(0x493)];if((_0x2831aa==null?void 0x0:_0x2831aa['unitId'])!==this['unitID'])return;const _0x34a14e=_0x22370d,_0x5712c8=this[_0x313aaf(0x465)][_0x313aaf(0x450)][_0x313aaf(0x40f)](this[_0x313aaf(0x465)]['interceptor'][_0x313aaf(0x2d8)]()[_0x313aaf(0x2fd)])([_0x34a14e],this[_0x313aaf(0x325)])||[_0x34a14e];this[_0x313aaf(0x256)](_0x5712c8[0x0]);})),_0xf6889d;}};mt=At([$(0x3,_0x32799d(_0x1edb1a)),$(0x4,_0x32799d(_0x126e58)),$(0x5,_0x32799d(_0x5e50f8)),$(0x6,_0x32799d(_0x4b1fc1)),$(0x7,_0x32799d(ve)),$(0x8,_0x81d56a),$(0x9,_0x5bdb8f),$(0xa,_0x2c79d4),$(0xb,_0x53b055),$(0xc,_0x197bcd(_t)),$(0xd,_0x197bcd(X))],mt);let St=class extends st{constructor(_0x1692b7,_0x61a570,_0x327999,_0x1d80b5,_0x5d5caf,_0x96410b,_0x2b632b,_0x58efd7,_0xb7ffbe,_0x380c6a,_0x3f51d2,_0x10a7e8,_0x182a69,_0x201942,_0x46c522){var _0x538e31=_0x5df1fb;super(_0x1692b7,_0x327999,_0x61a570,_0x1d80b5,_0x5d5caf,_0x96410b,_0x2b632b,_0xb7ffbe,_0x380c6a,_0x3f51d2,_0x10a7e8,_0x182a69,_0x201942,_0x46c522),this['unitID']=_0x1692b7,this['type']=_0x61a570,this[_0x538e31(0x204)]=_0x58efd7;}[_0x5df1fb(0x293)](){var _0x31ba49=_0x5df1fb;const _0x1ec37b=super[_0x31ba49(0x293)]();return _0x1ec37b[_0x31ba49(0x3b2)]=_0x16fdad=>this['_sheetTransformSelectionsService'][_0x31ba49(0x420)](_0x16fdad),_0x1ec37b;}async[_0x5df1fb(0x3c6)](){var _0x5b14e6=_0x5df1fb;const _0x3a8c3e=await super['_init']();return this['disposeWithMe'](this[_0x5b14e6(0x2e7)][_0x5b14e6(0x412)]((_0x5989f1,_0x4678f7)=>{var _0x19cad8=_0x5b14e6;if(_0x5989f1[_0x19cad8(0x47d)]!==_0xb43d4b[_0x19cad8(0x2a5)]||_0x4678f7!=null&&_0x4678f7[_0x19cad8(0x40d)]||_0x4678f7!=null&&_0x4678f7['onlyLocal'])return;const _0x281530=_0x5989f1[_0x19cad8(0x493)];if((_0x281530==null?void 0x0:_0x281530[_0x19cad8(0x376)])!==this['unitID'])return;const _0x47583f=_0x5989f1,_0x386a04=this[_0x19cad8(0x465)][_0x19cad8(0x450)][_0x19cad8(0x40f)](this[_0x19cad8(0x465)][_0x19cad8(0x450)][_0x19cad8(0x2d8)]()[_0x19cad8(0x2fd)])([_0x47583f],this[_0x19cad8(0x325)])||[_0x47583f];this['_onLocalMutation'](_0x386a04[0x0]);})),_0x3a8c3e;}};St=At([$(0x3,_0x32799d(_0x1edb1a)),$(0x4,_0x32799d(_0x126e58)),$(0x5,_0x32799d(_0x5e50f8)),$(0x6,_0x32799d(_0x4b1fc1)),$(0x7,_0x32799d(it)),$(0x8,_0x32799d(ve)),$(0x9,_0x81d56a),$(0xa,_0x5bdb8f),$(0xb,_0x2c79d4),$(0xc,_0x53b055),$(0xd,_0x197bcd(_t)),$(0xe,_0x197bcd(X))],St);const Fs=_0x2fad37('univer-pro.collaboration-client.network-condition.service');function js(_0x3431be){var _0x3533e6=_0x5df1fb,_0xe5e054,_0x5dacf0,_0x25936d,_0x3d97f9,_0xa55331;const _0x5ae3b2=_0x3431be[_0x3533e6(0x326)],_0x4d8c30=JSON[_0x3533e6(0x186)](_0x5ae3b2);switch(_0x4d8c30[_0x3533e6(0x358)]){case j['HEARTBEAT']:case j['HELLO']:{const _0x4d207f=_0x4d8c30[_0x3533e6(0x38b)];return{..._0x4d8c30,'data':_0x4d207f,'cmd':_0x4d8c30[_0x3533e6(0x358)]};}case j['JOIN']:{const _0x566d92=_0x4d8c30[_0x3533e6(0x3d4)];return{..._0x4d8c30,'data':_0x566d92,'cmd':_0x4d8c30[_0x3533e6(0x358)]};}case j['RECV']:{const _0x41fb87=_0x4d8c30['collaMsg'];switch(_0x41fb87[_0x3533e6(0x499)]){case _0x921ddb['PERMISSION_REJ']:return{..._0x4d8c30,'data':{..._0x41fb87,'data':(_0xe5e054=_0x41fb87['permissionRejEvent'])==null?void 0x0:_0xe5e054['cs']},'cmd':_0x4d8c30['cmd']};case _0x921ddb['CHANGESET_ACK']:return{..._0x4d8c30,'data':{..._0x41fb87,'data':(_0x5dacf0=_0x41fb87['csAckEvent'])==null?void 0x0:_0x5dacf0['cs']},'cmd':_0x4d8c30['cmd']};case _0x921ddb[_0x3533e6(0x304)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':(_0x25936d=_0x41fb87[_0x3533e6(0x29c)])==null?void 0x0:_0x25936d['cs']},'cmd':_0x4d8c30[_0x3533e6(0x358)]};case _0x921ddb[_0x3533e6(0x421)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':(_0x3d97f9=_0x41fb87['csRejEvent'])==null?void 0x0:_0x3d97f9['cs']},'cmd':_0x4d8c30[_0x3533e6(0x358)]};case _0x921ddb[_0x3533e6(0x41c)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':(_0xa55331=_0x41fb87['csShouldRetryEvent'])==null?void 0x0:_0xa55331['cs']},'cmd':_0x4d8c30[_0x3533e6(0x358)]};case _0x921ddb['UPDATE_CURSOR']:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87[_0x3533e6(0x2c2)]},'cmd':_0x4d8c30['cmd']};case _0x921ddb[_0x3533e6(0x32e)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87['joinEvent']},'cmd':_0x4d8c30[_0x3533e6(0x358)]};case _0x921ddb['USERS_LEAVE']:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87[_0x3533e6(0x1db)]},'cmd':_0x4d8c30['cmd']};case _0x921ddb[_0x3533e6(0x203)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87[_0x3533e6(0x26d)]},'cmd':_0x4d8c30['cmd']};case _0x921ddb[_0x3533e6(0x418)]:case _0x921ddb[_0x3533e6(0x47e)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87['liveShareOperation']},'cmd':_0x4d8c30['cmd']};case _0x921ddb[_0x3533e6(0x2bc)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87[_0x3533e6(0x26d)]},'cmd':_0x4d8c30[_0x3533e6(0x358)]};case _0x921ddb[_0x3533e6(0x424)]:return{..._0x4d8c30,'data':_0x41fb87,'cmd':_0x4d8c30[_0x3533e6(0x358)]};case _0x921ddb[_0x3533e6(0x1c3)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87[_0x3533e6(0x484)]},'cmd':_0x4d8c30[_0x3533e6(0x358)]};case _0x921ddb[_0x3533e6(0x2be)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87[_0x3533e6(0x3e1)]},'cmd':_0x4d8c30[_0x3533e6(0x358)]};case _0x921ddb[_0x3533e6(0x199)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87['shouldCloseConn']},'cmd':_0x4d8c30[_0x3533e6(0x358)]};case _0x921ddb[_0x3533e6(0x3ae)]:return{..._0x4d8c30,'data':{..._0x41fb87,'data':_0x41fb87[_0x3533e6(0x1f3)]},'cmd':_0x4d8c30[_0x3533e6(0x358)]};default:return _0x4d8c30;}}default:return _0x4d8c30;}}function Vs(_0x57d50c){var _0x1ec445=_0x5df1fb;switch(_0x57d50c['cmd']){case j['HEARTBEAT']:case j['HELLO']:return JSON[_0x1ec445(0x397)]({'cmd':_0x57d50c[_0x1ec445(0x358)],'routeKey':_0x57d50c[_0x1ec445(0x222)]});case j['INGEST']:{let _0x280468;switch(_0x57d50c[_0x1ec445(0x326)][_0x1ec445(0x499)]){case _0x921ddb[_0x1ec445(0x3de)]:{_0x280468={'eventID':_0x921ddb[_0x1ec445(0x3de)],'updateCursorEvent':_0x57d50c['data'][_0x1ec445(0x326)]};break;}case _0x921ddb[_0x1ec445(0x3a9)]:{_0x280468={'eventID':_0x921ddb[_0x1ec445(0x3a9)],'leaveEvent':_0x57d50c['data'][_0x1ec445(0x326)]};break;}case _0x921ddb['USERS_ENTER']:{_0x280468={'eventID':_0x921ddb[_0x1ec445(0x32e)],'joinEvent':_0x57d50c[_0x1ec445(0x326)]['data']};break;}case _0x921ddb['LIVESHARE_NEW_HOST']:{_0x280468={'eventID':_0x921ddb['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x57d50c[_0x1ec445(0x326)][_0x1ec445(0x326)]};break;}case _0x921ddb['LIVESHARE_OPERATION']:{_0x280468={'eventID':_0x921ddb[_0x1ec445(0x47e)],'liveShareOperation':_0x57d50c[_0x1ec445(0x326)][_0x1ec445(0x326)]};break;}case _0x921ddb['LIVESHARE_TERMINATE']:{_0x280468={'eventID':_0x921ddb['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x57d50c[_0x1ec445(0x326)][_0x1ec445(0x326)]};break;}case _0x921ddb[_0x1ec445(0x3c2)]:{_0x280468={'eventID':_0x921ddb[_0x1ec445(0x3c2)],'liveShareRequestHost':_0x57d50c[_0x1ec445(0x326)][_0x1ec445(0x326)]};break;}case _0x921ddb['LIVESHARE_FETCH_OPERATIONS']:{_0x280468={'eventID':_0x921ddb[_0x1ec445(0x418)]};break;}default:_0x280468={'eventID':_0x57d50c[_0x1ec445(0x326)]['eventID']};}return JSON[_0x1ec445(0x397)]({'cmd':_0x57d50c[_0x1ec445(0x358)],'routeKey':_0x57d50c['routeKey'],'collaMsg':_0x280468});}case j[_0x1ec445(0x423)]:return JSON['stringify']({'cmd':_0x57d50c['cmd'],'routeKey':_0x57d50c[_0x1ec445(0x222)],'joinReq':_0x57d50c[_0x1ec445(0x326)]});case j['LEAVE']:return JSON[_0x1ec445(0x397)]({'cmd':_0x57d50c[_0x1ec445(0x358)],'routeKey':_0x57d50c[_0x1ec445(0x222)],'leaveReq':_0x57d50c[_0x1ec445(0x326)]});default:throw new Error(_0x1ec445(0x1b0));}}var Gs=Object[_0x5df1fb(0x464)],Ws=(_0x546482,_0xaefff6,_0x435acc,_0xbad1a6)=>{var _0xbf1d15=_0x5df1fb;for(var _0x3ceddd=_0xbad1a6>0x1?void 0x0:_0xbad1a6?Gs(_0xaefff6,_0x435acc):_0xaefff6,_0x36065e=_0x546482[_0xbf1d15(0x20f)]-0x1,_0x3104a4;_0x36065e>=0x0;_0x36065e--)(_0x3104a4=_0x546482[_0x36065e])&&(_0x3ceddd=_0x3104a4(_0x3ceddd)||_0x3ceddd);return _0x3ceddd;},ye=(_0x52a822,_0x4aabae)=>(_0x3aab8e,_0xb4b906)=>_0x4aabae(_0x3aab8e,_0xb4b906,_0x52a822);const Oi=_0x2fad37('univer-pro.collaboration-client-socket-service');function Ys(_0x74285b,_0x4b5f61,_0x593408){var _0x129608=_0x5df1fb;return _0x74285b+'/'+_0x4b5f61+_0x129608(0x1b5)+_0x593408+'/new_changes';}let Gt=class extends _0x3c1fa8{constructor(_0x5a54f2,_0x2506d3,_0x464c1e,_0x3ec276,_0x261083){var _0x58dbd1=_0x5df1fb;super(),this[_0x58dbd1(0x323)]=_0x5a54f2,this['_httpService']=_0x2506d3,this[_0x58dbd1(0x2a3)]=_0x464c1e,this[_0x58dbd1(0x369)]=_0x3ec276,this['_snapshotServerService']=_0x261083;}['_doCreateSocket'](_0x402ec){var _0x228277=_0x5df1fb;const _0x1d9e81=this['_injector']['get'](_0x37e34a);if(!_0x1d9e81)throw new Error(_0x228277(0x498));const _0x29124d=_0x1d9e81[_0x228277(0x1c0)](_0x402ec);if(!_0x29124d)throw new Error(_0x228277(0x26f));const _0x95d563=new _0x308203(),_0x1cda68=new _0x2e6722();_0x95d563[_0x228277(0x288)](_0x29124d[_0x228277(0x1b4)]['subscribe'](_0x5de827=>_0x1cda68[_0x228277(0x180)](_0x5de827))),_0x95d563['add'](_0x4114d5(()=>_0x1cda68[_0x228277(0x35f)]()));const _0x21a15f=new _0x2e6722();_0x95d563[_0x228277(0x288)](_0x29124d[_0x228277(0x2b1)]['subscribe'](_0x18031a=>_0x21a15f[_0x228277(0x180)](_0x18031a))),_0x95d563[_0x228277(0x288)](_0x4114d5(()=>_0x21a15f[_0x228277(0x35f)]()));const _0x425bdd=new _0x2e6722();_0x95d563[_0x228277(0x288)](_0x29124d[_0x228277(0x33c)][_0x228277(0x2ae)](_0x4ca005=>{var _0x5c36bf=_0x228277;const _0xb0d741=js(_0x4ca005);_0x425bdd[_0x5c36bf(0x180)](_0xb0d741);})),_0x95d563[_0x228277(0x288)](_0x4114d5(()=>_0x425bdd[_0x228277(0x35f)]()));let _0x3fa453;const _0x1b744f=()=>{var _0x17e8d8=_0x228277;_0x21a15f[_0x17e8d8(0x180)](new Event(_0x17e8d8(0x2a2))),_0x1cda68[_0x17e8d8(0x180)](new Event(_0x17e8d8(0x2a2))),_0x3fa453[_0x17e8d8(0x2d1)]();};return _0x3fa453={'memberID':'','close$':_0x1cda68[_0x228277(0x439)](),'error$':_0x21a15f['asObservable'](),'open$':_0x29124d[_0x228277(0x476)],'message$':_0x425bdd[_0x228277(0x439)](),'send':_0x341f3b=>{var _0x3e89c3=_0x228277;if(_0x341f3b[_0x3e89c3(0x358)]===j[_0x3e89c3(0x197)]){if(_0x341f3b['data']['eventID']===_0x921ddb[_0x3e89c3(0x2cf)]){this[_0x3e89c3(0x241)](_0x3fa453,_0x341f3b[_0x3e89c3(0x326)])[_0x3e89c3(0x2e5)](_0x3b8f17=>{var _0x1c57bb=_0x3e89c3;this[_0x1c57bb(0x369)]['error'](_0x3b8f17),_0x1b744f();});return;}if(_0x341f3b['data'][_0x3e89c3(0x499)]===_0x921ddb['FETCH_MISSING']){const _0xf4619e=_0x341f3b[_0x3e89c3(0x326)];this[_0x3e89c3(0x2aa)](_0xf4619e)[_0x3e89c3(0x375)](_0x3fa50b=>{var _0x2f03d1=_0x3e89c3;_0x425bdd['next']({'cmd':j[_0x2f03d1(0x322)],'code':Ee['OK'],'routeKey':_0xf4619e['data']['unitID'],'routeType':'','data':{'eventID':_0x921ddb[_0x2f03d1(0x27e)],'data':{'changesets':_0x3fa50b}}});})[_0x3e89c3(0x2e5)](_0x3c3d6e=>{var _0x27fda5=_0x3e89c3;this['_logService'][_0x27fda5(0x2a9)](_0x3c3d6e),_0x1b744f();});return;}}_0x29124d[_0x3e89c3(0x206)](Vs(_0x341f3b));},'close':()=>{var _0x39a4db=_0x228277;_0x29124d[_0x39a4db(0x2d1)](),_0x95d563['dispose']();}},_0x3fa453;}async[_0x5df1fb(0x241)](_0x5a8563,_0x2f8f33){var _0x27e0e0=_0x5df1fb,_0x13c737;const {unitType:_0x4e9c8c,unitID:_0x57836e,changeset:_0x44798c}=_0x2f8f33[_0x27e0e0(0x326)],_0x81328b={'unitID':_0x57836e,'memberID':_0x5a8563['memberID'],'type':_0x4e9c8c,'changeset':_0x4db81a(_0x44798c)},_0x31278f=this[_0x27e0e0(0x2a3)][_0x27e0e0(0x3fe)](K),_0x2e7b98=Ys((_0x13c737=_0x31278f==null?void 0x0:_0x31278f['collabSubmitChangesetUrl'])!=null?_0x13c737:Os,_0x4e9c8c,_0x57836e);try{await this[_0x27e0e0(0x3a6)][_0x27e0e0(0x201)](_0x2e7b98,{'body':_0x81328b});}catch(_0x2c73fa){throw this['_logService'][_0x27e0e0(0x2a9)](_0x27e0e0(0x426),_0x27e0e0(0x3e2)),_0x2c73fa;}}async[_0x5df1fb(0x2aa)](_0x3a7b46){var _0x561bac=_0x5df1fb;const {unitID:_0x131974,from:_0x570a1f,to:_0x5811f2,unitType:_0x1b519c}=_0x3a7b46[_0x561bac(0x326)];return(await this[_0x561bac(0x35c)][_0x561bac(0x3ed)]({'metadata':void 0x0},{'unitID':_0x131974,'type':_0x1b519c,'from':_0x570a1f,'to':_0x5811f2}))['changesets'][_0x561bac(0x3d3)](_0x1c6dc2=>((_0x1c6dc2[_0x561bac(0x2c7)]===null||_0x1c6dc2[_0x561bac(0x2c7)]===void 0x0)&&(_0x1c6dc2['mutations']=[]),_0x1c6dc2));}};Gt=Ws([ye(0x0,_0x32799d(_0x1edb1a)),ye(0x1,_0x32799d(_0x413802)),ye(0x2,_0x70071),ye(0x3,_0x5bdb8f),ye(0x4,_0x2fc106)],Gt);var Ks=Object['getOwnPropertyDescriptor'],qs=(_0x20ffe6,_0x5d1899,_0x19357b,_0x1c7046)=>{var _0x3dbe5e=_0x5df1fb;for(var _0x452b59=_0x1c7046>0x1?void 0x0:_0x1c7046?Ks(_0x5d1899,_0x19357b):_0x5d1899,_0x54001c=_0x20ffe6[_0x3dbe5e(0x20f)]-0x1,_0x1a490b;_0x54001c>=0x0;_0x54001c--)(_0x1a490b=_0x20ffe6[_0x54001c])&&(_0x452b59=_0x1a490b(_0x452b59)||_0x452b59);return _0x452b59;},Re=(_0x4f5d91,_0xdd27b4)=>(_0x35521e,_0x580975)=>_0xdd27b4(_0x35521e,_0x580975,_0x4f5d91);let Le=class extends _0x3c1fa8{constructor(_0x2f072b,_0x586b96,_0x44bd94,_0x42e4f4,_0x4a2e39,_0x2bdfa5){var _0x267ca4=_0x5df1fb;super(),D(this,'_socket$',new _0x306e8f(void 0x0)),D(this,_0x267ca4(0x3c9),this[_0x267ca4(0x44b)][_0x267ca4(0x439)]()),D(this,_0x267ca4(0x271),null),D(this,_0x267ca4(0x451),new Map()),D(this,'_status$',new _0x306e8f(Ie['IDLE'])),D(this,_0x267ca4(0x361),this[_0x267ca4(0x386)][_0x267ca4(0x439)]()),D(this,_0x267ca4(0x1fa),!0x1),D(this,_0x267ca4(0x410)),D(this,_0x267ca4(0x2de),0x0),D(this,_0x267ca4(0x224)),D(this,_0x267ca4(0x2e6)),(this[_0x267ca4(0x323)]=_0x2f072b,this['_logService']=_0x586b96,this[_0x267ca4(0x2a3)]=_0x44bd94,this[_0x267ca4(0x337)]=_0x42e4f4,this[_0x267ca4(0x47a)]=_0x4a2e39,this[_0x267ca4(0x1d2)]=_0x2bdfa5,this[_0x267ca4(0x46e)]());}get[_0x5df1fb(0x282)](){var _0x290072=_0x5df1fb;return this[_0x290072(0x44b)][_0x290072(0x37c)]();}[_0x5df1fb(0x46e)](){var _0x1ccbd1=_0x5df1fb;this[_0x1ccbd1(0x1d2)]&&this[_0x1ccbd1(0x1de)](this['_networkConditionService'][_0x1ccbd1(0x1fb)][_0x1ccbd1(0x2ae)](_0x560a89=>{var _0x12104e=_0x1ccbd1;_0x560a89&&!this[_0x12104e(0x282)]&&this['reconnect'](),_0x560a89||this[_0x12104e(0x489)]();}));}[_0x5df1fb(0x406)](){var _0xb627bb=_0x5df1fb;super['dispose'](),this[_0xb627bb(0x2eb)](),this[_0xb627bb(0x461)](),this[_0xb627bb(0x2bb)](),this['_sessions']['forEach'](_0x48e826=>_0x48e826['dispose']()),this[_0xb627bb(0x451)][_0xb627bb(0x329)](),this['_status$']['complete']();}async['requireSession'](_0x561512){var _0x441acb=_0x5df1fb;if(this[_0x441acb(0x451)][_0x441acb(0x302)](_0x561512))return this[_0x441acb(0x451)][_0x441acb(0x370)](_0x561512);this[_0x441acb(0x315)]();const _0x39e8f4=this['_injector']['createInstance'](It,_0x561512,this['_socket$'][_0x441acb(0x439)]());return this['_sessions']['set'](_0x561512,_0x39e8f4),_0x39e8f4;}[_0x5df1fb(0x18a)](_0xd141a7){var _0x2ea9af=_0x5df1fb,_0x5cb1df;const _0x478703=this[_0x2ea9af(0x451)][_0x2ea9af(0x370)](_0xd141a7);_0x478703&&(this['_sessions'][_0x2ea9af(0x433)](_0xd141a7),_0x478703[_0x2ea9af(0x2d1)]()),this[_0x2ea9af(0x451)][_0x2ea9af(0x215)]||(_0x5cb1df=this[_0x2ea9af(0x282)])==null||_0x5cb1df[_0x2ea9af(0x2d1)]();}[_0x5df1fb(0x25c)](){var _0x20b73e=_0x5df1fb;this[_0x20b73e(0x2de)]=0x0,this[_0x20b73e(0x2eb)](),this[_0x20b73e(0x2e8)]();}[_0x5df1fb(0x2eb)](){var _0x4fc551=_0x5df1fb;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4fc551(0x410)]),this[_0x4fc551(0x410)]=null);}async[_0x5df1fb(0x287)](){var _0x31c69c=_0x5df1fb,_0x45266f;const _0xcddd00=this[_0x31c69c(0x2a3)][_0x31c69c(0x3fe)](K),_0xf8dc7b=(_0x45266f=_0xcddd00==null?void 0x0:_0xcddd00[_0x31c69c(0x1ec)])!=null?_0x45266f:ps,_0x5480c6=await this['_socketService'][_0x31c69c(0x1c0)](_0xf8dc7b);return this[_0x31c69c(0x271)]=_0x5480c6,_0x5480c6;}async[_0x5df1fb(0x315)](){var _0x53302b=_0x5df1fb,_0x16d757,_0x3531bf;try{const _0x3da31a=(_0x3531bf=(_0x16d757=this['_socket'])!=null?_0x16d757:this[_0x53302b(0x271)])!=null?_0x3531bf:await this[_0x53302b(0x287)]();if(_0x3da31a){const _0x5bf194=_0x3da31a[_0x53302b(0x206)];_0x3da31a[_0x53302b(0x206)]=_0x7cdc0c=>(this[_0x53302b(0x3cb)](),_0x5bf194[_0x53302b(0x1b6)](_0x3da31a,[_0x7cdc0c])),_0x3da31a[_0x53302b(0x33c)][_0x53302b(0x2ae)](_0x2c2ec5=>this[_0x53302b(0x295)](_0x3da31a,_0x2c2ec5)),_0x3da31a[_0x53302b(0x2b1)][_0x53302b(0x1eb)](_0x26a97f(0x1))[_0x53302b(0x2ae)](_0x478f8a=>this['_logService'][_0x53302b(0x2a9)](_0x53302b(0x460),_0x478f8a)),_0x3da31a[_0x53302b(0x476)][_0x53302b(0x1eb)](_0x26a97f(0x1))[_0x53302b(0x2ae)](()=>{this['_onConnectionOpen'](_0x3da31a);}),_0x3da31a[_0x53302b(0x1b4)]['pipe'](_0x26a97f(0x1))[_0x53302b(0x2ae)](_0x5eb844=>{var _0x34741f=_0x53302b;this['_logService'][_0x34741f(0x491)](_0x34741f(0x428),_0x34741f(0x41f),_0x5eb844),this[_0x34741f(0x2c3)]();});}}catch(_0x5c889e){this[_0x53302b(0x369)][_0x53302b(0x2a9)](_0x5c889e),this[_0x53302b(0x2c3)]();}}[_0x5df1fb(0x3a4)](_0x3957ec){var _0x2f3a00=_0x5df1fb;this[_0x2f3a00(0x369)][_0x2f3a00(0x491)]('[CollaborationSessionService]','socket\x20open.'),_0x3957ec[_0x2f3a00(0x206)]({'cmd':j['HELLO']}),this[_0x2f3a00(0x3cb)]();}[_0x5df1fb(0x489)](){var _0x1f1ea9=_0x5df1fb;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x1f1ea9(0x386)][_0x1f1ea9(0x180)](Ie[_0x1f1ea9(0x46d)]),this[_0x1f1ea9(0x44b)][_0x1f1ea9(0x180)](null),this[_0x1f1ea9(0x461)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x32758a=_0x5df1fb,_0x312b1d;this['_onOffline'](),this[_0x32758a(0x2de)]<((_0x312b1d=this[_0x32758a(0x2a3)][_0x32758a(0x3fe)](gs))!=null?_0x312b1d:Ts)?(this[_0x32758a(0x47a)][_0x32758a(0x1e3)]({'id':re[_0x32758a(0x487)]}),this[_0x32758a(0x2e8)]()):this['_collaborationUIEventService'][_0x32758a(0x1e3)]({'id':re[_0x32758a(0x48e)]});}[_0x5df1fb(0x2e8)](){var _0x51f63d=_0x5df1fb,_0x1098b4;const _0x3f5ebc=this[_0x51f63d(0x2de)],_0x5d9717=this[_0x51f63d(0x2a3)][_0x51f63d(0x3fe)](K),_0x1af374=_0x3f5ebc===0x0?0x0:((_0x1098b4=_0x5d9717==null?void 0x0:_0x5d9717[_0x51f63d(0x18f)])!=null?_0x1098b4:Ss)*0x2**_0x3f5ebc;this[_0x51f63d(0x410)]=setTimeout(()=>{var _0x3e5b7e=_0x51f63d;clearTimeout(this['_retryConnectingTimer']),this[_0x3e5b7e(0x410)]=null,this[_0x3e5b7e(0x315)]();},_0x1af374),this['_retryCount']+=0x1;}[_0x5df1fb(0x295)](_0x31e080,_0x3f8a65){var _0x4d4abf=_0x5df1fb;const {cmd:_0x389004}=_0x3f8a65;_0x389004===j[_0x4d4abf(0x478)]&&!this[_0x4d4abf(0x1fa)]&&(_0x31e080[_0x4d4abf(0x263)]=_0x3f8a65[_0x4d4abf(0x326)]['memberID'],this[_0x4d4abf(0x44b)][_0x4d4abf(0x180)](_0x31e080),this[_0x4d4abf(0x386)][_0x4d4abf(0x180)](Ie[_0x4d4abf(0x472)]),this[_0x4d4abf(0x1fa)]=!0x0,this[_0x4d4abf(0x271)]=null),_0x389004===j[_0x4d4abf(0x2f4)]&&this[_0x4d4abf(0x461)](),this[_0x4d4abf(0x3cb)]();}['_rescheduleHeartbeat'](){var _0x5a6e40=_0x5df1fb,_0x28b7cb;this[_0x5a6e40(0x2bb)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x5a6e40(0x1f2)](),(_0x28b7cb=this[_0x5a6e40(0x2a3)][_0x5a6e40(0x3fe)](Is))!=null?_0x28b7cb:ms);}[_0x5df1fb(0x1f2)](){var _0x2c5e13=_0x5df1fb;this[_0x2c5e13(0x282)][_0x2c5e13(0x206)]({'cmd':j[_0x2c5e13(0x2f4)]}),this[_0x2c5e13(0x3d8)]();}[_0x5df1fb(0x3d8)](){var _0x4a8413=_0x5df1fb,_0x5186d0;this[_0x4a8413(0x2e6)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5186d0=this[_0x4a8413(0x2a3)][_0x4a8413(0x3fe)](di))!=null?_0x5186d0:fi);}['_clearHeartbeatTimer'](){var _0x56565f=_0x5df1fb;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x56565f(0x224)]),this['_sendHeartbeatTimer']=null);}[_0x5df1fb(0x461)](){var _0x244c28=_0x5df1fb;this[_0x244c28(0x2e6)]!=null&&(clearTimeout(this[_0x244c28(0x2e6)]),this[_0x244c28(0x2e6)]=null);}};Le=qs([Re(0x0,_0x32799d(_0x1edb1a)),Re(0x1,_0x5bdb8f),Re(0x2,_0x70071),Re(0x3,Oi),Re(0x4,_0x32799d(ve)),Re(0x5,_0x197bcd(Fs))],Le);var zs=Object['getOwnPropertyDescriptor'],Xs=(_0x486632,_0x3a5abe,_0x52522e,_0x145fe1)=>{for(var _0x262ba0=_0x145fe1>0x1?void 0x0:_0x145fe1?zs(_0x3a5abe,_0x52522e):_0x3a5abe,_0x19b748=_0x486632['length']-0x1,_0x3aea98;_0x19b748>=0x0;_0x19b748--)(_0x3aea98=_0x486632[_0x19b748])&&(_0x262ba0=_0x3aea98(_0x262ba0)||_0x262ba0);return _0x262ba0;},Be=(_0x2c30a0,_0xca08f9)=>(_0x661957,_0x1ee115)=>_0xca08f9(_0x661957,_0x1ee115,_0x2c30a0);let nt=class extends _0x3ef034{constructor(_0x25cfde,_0x570f8b,_0x22222c,_0x58b187){var _0x56adc0=_0x5df1fb,_0x4cd377;super(),D(this,_0x56adc0(0x407),new Map()),D(this,_0x56adc0(0x401),new _0x2e6722()),D(this,_0x56adc0(0x1ea),this[_0x56adc0(0x401)][_0x56adc0(0x439)]()),(this['_injector']=_0x25cfde,this[_0x56adc0(0x403)]=_0x570f8b,this[_0x56adc0(0x2a3)]=_0x22222c,this[_0x56adc0(0x325)]=_0x58b187,((_0x4cd377=this['_configService'][_0x56adc0(0x3fe)](K))==null?void 0x0:_0x4cd377['enableCollaboration'])!==!0x1&&this[_0x56adc0(0x3c6)]());}[_0x5df1fb(0x406)](){var _0x3eaf3f=_0x5df1fb;super[_0x3eaf3f(0x406)](),this[_0x3eaf3f(0x407)][_0x3eaf3f(0x28e)](_0x2eac78=>_0x2eac78['dispose']()),this['_entities'][_0x3eaf3f(0x329)]();}[_0x5df1fb(0x1ad)](_0x34cac8){var _0x18aec5=_0x5df1fb,_0x23d477;return(_0x23d477=this[_0x18aec5(0x407)][_0x18aec5(0x370)](_0x34cac8))!=null?_0x23d477:null;}['getCollabEntity$'](_0x53940d){var _0x38e22e=_0x5df1fb;const _0x47b2c6=this[_0x38e22e(0x1ad)](_0x53940d);return _0x47b2c6?_0xc6f286(_0x47b2c6):this[_0x38e22e(0x401)]['pipe'](_0x385443(_0x55745f=>_0x55745f[_0x38e22e(0x312)]===_0x53940d));}[_0x5df1fb(0x17e)](_0x2fd363){var _0xa383c5=_0x5df1fb;return _0xdecd77(this['getCollabEntity$'](_0x2fd363)[_0xa383c5(0x1eb)](_0x5b37ce(()=>{})));}[_0x5df1fb(0x3c6)](){var _0xada25c=_0x5df1fb;this[_0xada25c(0x325)][_0xada25c(0x363)](_0x4f4452[_0xada25c(0x40a)])['pipe'](_0x196097(this[_0xada25c(0x21e)]),_0x88b4b4(0x10))['subscribe'](async _0x22ea6b=>{var _0x4bac9e=_0xada25c;const _0x307d64=_0x22ea6b[_0x4bac9e(0x249)](),_0x1c3e80=await this[_0x4bac9e(0x47c)](_0x307d64,Q['UNIVER_SHEET']);this['_entities'][_0x4bac9e(0x1ca)](_0x307d64,_0x1c3e80);}),this[_0xada25c(0x325)][_0xada25c(0x363)](_0x4f4452[_0xada25c(0x379)])[_0xada25c(0x1eb)](_0x196097(this[_0xada25c(0x21e)]),_0x88b4b4(0x10))[_0xada25c(0x1eb)](_0x385443(_0xf63962=>!_0xf63962[_0xada25c(0x249)]()[_0xada25c(0x3b4)]('__')))[_0xada25c(0x2ae)](async _0x5231ae=>{var _0x455033=_0xada25c;const _0x3f5dca=_0x5231ae[_0x455033(0x249)](),_0x2cc80d=await this['_startCollaboration'](_0x3f5dca,Q[_0x455033(0x379)]);this[_0x455033(0x407)]['set'](_0x3f5dca,_0x2cc80d);}),_0x524886(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4f4452[_0xada25c(0x40a)]),this[_0xada25c(0x325)][_0xada25c(0x45e)](_0x4f4452['UNIVER_DOC']))['pipe'](_0x196097(this['dispose$']))[_0xada25c(0x2ae)](_0xb610b9=>{var _0x25f6ec=_0xada25c;const _0x75d7af=_0xb610b9[_0x25f6ec(0x249)](),_0x454778=this[_0x25f6ec(0x407)][_0x25f6ec(0x370)](_0x75d7af);_0x454778&&(_0x454778[_0x25f6ec(0x406)](),this[_0x25f6ec(0x407)][_0x25f6ec(0x433)](_0x75d7af));});}async[_0x5df1fb(0x47c)](_0x360fac,_0x3cc0d1){var _0x34efe5=_0x5df1fb;const _0x15f8f7=await this[_0x34efe5(0x403)]['requireSession'](_0x360fac),_0x5547c9=this['_injector'][_0x34efe5(0x27b)](this[_0x34efe5(0x380)](_0x3cc0d1),_0x360fac,_0x3cc0d1,_0x15f8f7);return await _0x5547c9['init'](),this['_entityInit$'][_0x34efe5(0x180)](_0x5547c9),_0x5547c9;}[_0x5df1fb(0x380)](_0x2ef170){var _0x5cfad1=_0x5df1fb;switch(_0x2ef170){case Q[_0x5cfad1(0x379)]:return mt;case Q[_0x5cfad1(0x40a)]:return St;default:throw new Error(_0x5cfad1(0x378)+_0x2ef170);}}};nt=Xs([Be(0x0,_0x32799d(_0x1edb1a)),Be(0x1,_0x32799d(Le)),Be(0x2,_0x70071),Be(0x3,_0x81d56a)],nt);var Js=Object[_0x5df1fb(0x464)],Zs=(_0x18d304,_0x477657,_0x14219d,_0x5ebf0e)=>{var _0x30bc58=_0x5df1fb;for(var _0x486b2e=_0x5ebf0e>0x1?void 0x0:_0x5ebf0e?Js(_0x477657,_0x14219d):_0x477657,_0x14fb40=_0x18d304[_0x30bc58(0x20f)]-0x1,_0x5b6423;_0x14fb40>=0x0;_0x14fb40--)(_0x5b6423=_0x18d304[_0x14fb40])&&(_0x486b2e=_0x5b6423(_0x486b2e)||_0x486b2e);return _0x486b2e;},Wt=(_0x1fd473,_0x482a21)=>(_0x3bd9d8,_0x2bbc39)=>_0x482a21(_0x3bd9d8,_0x2bbc39,_0x1fd473);const Qs=_0x5df1fb(0x19a),en=_0x5df1fb(0x3e3);let gt=class extends _0x3c1fa8{constructor(_0x5da79c,_0x526fe7){var _0x7389c3=_0x5df1fb;super(),this['_univerInstanceService']=_0x5da79c,this[_0x7389c3(0x2a3)]=_0x526fe7,this[_0x7389c3(0x3c6)]();}[_0x5df1fb(0x3c6)](){var _0x1adf74=_0x5df1fb;this[_0x1adf74(0x1de)](this[_0x1adf74(0x325)][_0x1adf74(0x45c)][_0x1adf74(0x2ae)](()=>{var _0x4257ee=_0x1adf74,_0x1586ed;const _0x617e7c=this['_univerInstanceService'][_0x4257ee(0x32c)]();let _0x4f2be2=(_0x1586ed=this[_0x4257ee(0x2a3)][_0x4257ee(0x3fe)](Qs))!=null?_0x1586ed:en;_0x617e7c instanceof _0x3873dd&&(_0x4f2be2=_0x617e7c['name']),document[_0x4257ee(0x389)]=_0x4f2be2;}));}};gt=Zs([Wt(0x0,_0x81d56a),Wt(0x1,_0x70071)],gt);var tn=Object[_0x5df1fb(0x464)],sn=(_0xd85d86,_0x3f598a,_0x1a4a3a,_0x241572)=>{var _0x483bf7=_0x5df1fb;for(var _0xcdcfeb=_0x241572>0x1?void 0x0:_0x241572?tn(_0x3f598a,_0x1a4a3a):_0x3f598a,_0x40df31=_0xd85d86[_0x483bf7(0x20f)]-0x1,_0x533821;_0x40df31>=0x0;_0x40df31--)(_0x533821=_0xd85d86[_0x40df31])&&(_0xcdcfeb=_0x533821(_0xcdcfeb)||_0xcdcfeb);return _0xcdcfeb;},dt=(_0x114fe9,_0x11026c)=>(_0x2995c3,_0x40c12f)=>_0x11026c(_0x2995c3,_0x40c12f,_0x114fe9);let rt=class{constructor(_0x156117,_0x3590cc,_0x5c2e47){var _0x2a7fd4=_0x5df1fb;this['_configService']=_0x156117,this['_httpService']=_0x3590cc,this[_0x2a7fd4(0x473)]=_0x5c2e47,this[_0x2a7fd4(0x405)]();}['init'](){var _0x290972=_0x5df1fb;this['_httpService'][_0x290972(0x236)]({'priority':0x1,'interceptor':(_0x2178f4,_0x5a835c)=>_0x5a835c(_0x2178f4)[_0x290972(0x1eb)](_0x544b29(async _0x24dcf8=>{var _0xb15075=_0x290972;const _0x208760=_0x24dcf8;if(_0x208760['status']===0x191){if(typeof window>'u')throw new Error(_0xb15075(0x331));if(window['confirm'](this[_0xb15075(0x473)]['t'](_0xb15075(0x392)))){const _0x47e1ba=window['encodeURIComponent'](window[_0xb15075(0x3ce)]['href']);window[_0xb15075(0x3ce)][_0xb15075(0x192)]=this[_0xb15075(0x286)]()+'?url='+_0x47e1ba;}}return _0x208760;}))});}[_0x5df1fb(0x286)](){var _0x2e8cfd=_0x5df1fb,_0x5f38dd;const _0x32277b=this[_0x2e8cfd(0x2a3)][_0x2e8cfd(0x3fe)](K);return(_0x5f38dd=_0x32277b==null?void 0x0:_0x32277b['loginUrlKey'])!=null?_0x5f38dd:Rs;}};rt=sn([dt(0x0,_0x70071),dt(0x1,_0x32799d(_0x413802)),dt(0x2,_0x32799d(_0x5e50f8))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x1e086c,_0x457284,_0x305fcf,_0x4e3eb6)=>{var _0x2b6009=_0x5df1fb;for(var _0x2504cb=_0x4e3eb6>0x1?void 0x0:_0x4e3eb6?nn(_0x457284,_0x305fcf):_0x457284,_0x123f3c=_0x1e086c[_0x2b6009(0x20f)]-0x1,_0x4cb9ab;_0x123f3c>=0x0;_0x123f3c--)(_0x4cb9ab=_0x1e086c[_0x123f3c])&&(_0x2504cb=_0x4cb9ab(_0x2504cb)||_0x2504cb);return _0x2504cb;},Yt=(_0x4a0995,_0x367c1a)=>(_0x227158,_0x45d0be)=>_0x367c1a(_0x227158,_0x45d0be,_0x4a0995);const an=_0x5df1fb(0x2ff);let Tt=class extends _0x3c1fa8{constructor(_0x42b3ce,_0x1171f6){var _0x7ce14d=_0x5df1fb;super(),this['_HTTPService']=_0x42b3ce,this[_0x7ce14d(0x2a3)]=_0x1171f6,this[_0x7ce14d(0x2b3)]();}['_initMergeInterceptor'](){var _0x5c0e77=_0x5df1fb;const _0x5b791a=this;this['disposeWithMe'](this[_0x5c0e77(0x190)][_0x5c0e77(0x236)]({'priority':0x3e7,'interceptor':_0x1205d2({'isMatch'(_0x3191a7){var _0x2e13e5=_0x5c0e77,_0x2d8efd;if(_0x3191a7[_0x2e13e5(0x22b)]==='POST'&&((_0x2d8efd=_0x3191a7[_0x2e13e5(0x42e)])!=null&&_0x2d8efd['body'])){const {objectID:_0x400cf9,objectType:_0x2d3727}=_0x3191a7['requestParams'][_0x2e13e5(0x1ff)]||{};if(!_0x400cf9||_0x2d3727===void 0x0)return!0x1;const _0x2176ba=_0x5b791a[_0x2e13e5(0x456)]()+'/'+_0x2d3727+'/object/'+_0x400cf9+_0x2e13e5(0x2fa);if(_0x3191a7[_0x2e13e5(0x294)]===_0x2176ba)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe55279){var _0x233dfb;return(_0x233dfb=_0xe55279['requestParams'])==null?void 0x0:_0x233dfb['body'];},'mergeParamsToRequest'(_0x5da7d4,_0x2c1c9d){var _0x1ff107=_0x5c0e77;const _0x35ce4e=_0x5b791a[_0x1ff107(0x456)]()+_0x1ff107(0x1d1),_0x8509b=_0x5da7d4['reduce']((_0x496e68,_0x317235)=>{var _0x167ecb=_0x1ff107;const {unitID:_0x4597d0,objectID:_0x269477,objectType:_0x2627a1,actions:_0x4ba983}=_0x317235;return _0x496e68[_0x4597d0]||(_0x496e68[_0x4597d0]={}),_0x496e68[_0x4597d0][_0x269477]||(_0x496e68[_0x4597d0][_0x269477]={'objectID':_0x269477,'objectType':_0x2627a1,'actions':[]}),_0x496e68[_0x4597d0][_0x269477]['actions'][_0x167ecb(0x2a8)](..._0x4ba983),_0x496e68;},{}),_0x2c5df9=[];for(const _0x4e1ba0 in _0x8509b)for(const _0x2a37fb in _0x8509b[_0x4e1ba0]){const {actions:_0x51ff96,objectType:_0x45ddce}=_0x8509b[_0x4e1ba0][_0x2a37fb],_0x276b87=[...new Set(_0x51ff96)];_0x2c5df9[_0x1ff107(0x2a8)]({'unitID':_0x4e1ba0,'objectID':_0x2a37fb,'objectType':_0x45ddce,'actions':_0x276b87});}return new _0x31ef7c('POST',_0x35ce4e,{'headers':_0x2c1c9d[_0x1ff107(0x22a)],'withCredentials':_0x2c1c9d[_0x1ff107(0x471)],'responseType':_0x2c1c9d[_0x1ff107(0x291)],'body':{'requests':_0x2c5df9}});}},{'distributeResult'(_0x173cce,_0x42100f){var _0x2a8f2a=_0x5c0e77;const {objectActions:_0x260e6c}=_0x173cce;return _0x42100f[_0x2a8f2a(0x3d3)](_0x1c6736=>{var _0x4c4980=_0x2a8f2a;const {unitID:_0x2b873f,objectID:_0x5971ef,actions:_0x48924e}=_0x1c6736,_0x27a866=_0x260e6c[_0x4c4980(0x3fd)](_0x5f59b7=>_0x5f59b7[_0x4c4980(0x312)]===_0x2b873f&&_0x5f59b7['objectID']===_0x5971ef),_0x4c2b0a=_0x48924e[_0x4c4980(0x3d3)](_0x3f1171=>_0x27a866==null?void 0x0:_0x27a866['actions'][_0x4c4980(0x3fd)](_0x6ea609=>_0x6ea609[_0x4c4980(0x36c)]===_0x3f1171))['filter'](_0x5eb15b=>!!_0x5eb15b);return{'config':_0x1c6736,'result':{'actions':_0x4c2b0a,'error':_0x173cce['error']}};});}})}));}[_0x5df1fb(0x456)](){var _0x255b9a=_0x5df1fb,_0x320932;const _0x21138f=this[_0x255b9a(0x2a3)][_0x255b9a(0x3fe)](K);return(_0x320932=_0x21138f==null?void 0x0:_0x21138f['authzUrl'])!=null?_0x320932:an;}async['create'](_0x206057){var _0x23a02e=_0x5df1fb;const _0x291d63=this[_0x23a02e(0x456)]()+'/'+_0x206057[_0x23a02e(0x2a1)]+_0x23a02e(0x3cc);return(await this[_0x23a02e(0x190)][_0x23a02e(0x201)](_0x291d63,{'body':_0x206057}))[_0x23a02e(0x1ff)][_0x23a02e(0x1be)]||'';}async[_0x5df1fb(0x19f)](_0x3e4285){var _0x357be8=_0x5df1fb;const _0x43c2f1=this[_0x357be8(0x456)]()+'/-/object/list';return(await this[_0x357be8(0x190)]['post'](_0x43c2f1,{'body':_0x3e4285}))[_0x357be8(0x1ff)][_0x357be8(0x328)];}async[_0x5df1fb(0x38d)](_0x20bef0){var _0x25f8a4=_0x5df1fb,_0x1b7845,_0x1c757d;const _0x35afbd=this[_0x25f8a4(0x456)]()+'/'+_0x20bef0[_0x25f8a4(0x2a1)]+_0x25f8a4(0x3d5)+_0x20bef0[_0x25f8a4(0x1be)],_0x244f7e=await this[_0x25f8a4(0x190)][_0x25f8a4(0x38a)](_0x35afbd,{'body':_0x20bef0});if(((_0x1c757d=(_0x1b7845=_0x244f7e==null?void 0x0:_0x244f7e[_0x25f8a4(0x1ff)])==null?void 0x0:_0x1b7845['error'])==null?void 0x0:_0x1c757d['code'])!==0x1)throw new Error(_0x25f8a4(0x480));}async[_0x5df1fb(0x2e0)](_0x503bda){var _0x360a01=_0x5df1fb;const _0x5484ac=this[_0x360a01(0x456)]()+'/'+_0x503bda['objectType']+_0x360a01(0x3d5)+_0x503bda[_0x360a01(0x1be)]+_0x360a01(0x2fa);return(await this[_0x360a01(0x190)][_0x360a01(0x201)](_0x5484ac,{'body':_0x503bda}))[_0x360a01(0x1ff)][_0x360a01(0x27d)];}async[_0x5df1fb(0x24a)](_0x2a1d4f){var _0x2f7de6=_0x5df1fb;const _0x5bf7e0=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x2f7de6(0x190)][_0x2f7de6(0x201)](_0x5bf7e0,{'body':{'requests':_0x2a1d4f}}))[_0x2f7de6(0x1ff)][_0x2f7de6(0x3d6)];}async[_0x5df1fb(0x209)](_0x503d5d){var _0x4306b8=_0x5df1fb;const _0x5c23b3=this[_0x4306b8(0x456)]()+'/'+_0x503d5d['objectType']+_0x4306b8(0x3cd),_0x1c7ed6=await this[_0x4306b8(0x190)][_0x4306b8(0x201)](_0x5c23b3,{'body':_0x503d5d});return{'roles':_0x1c7ed6[_0x4306b8(0x1ff)]['roles'],'actions':_0x1c7ed6[_0x4306b8(0x1ff)]['actions']};}async[_0x5df1fb(0x1e8)](_0x378b64){var _0x428218=_0x5df1fb;const _0x3f4595=this[_0x428218(0x456)]()+_0x428218(0x4a0);await this['_HTTPService'][_0x428218(0x433)](_0x3f4595,{'params':{'collaboratorID':_0x378b64[_0x428218(0x3c5)],'objectID':_0x378b64[_0x428218(0x1be)],'unitID':_0x378b64['unitID']}});}async[_0x5df1fb(0x23c)](_0x3f207f){var _0x3d58c4=_0x5df1fb;const _0x3de05f=this['_getAPIPrefixPath']()+_0x3d58c4(0x4a0);await this[_0x3d58c4(0x190)][_0x3d58c4(0x34c)](_0x3de05f,{'body':_0x3f207f});}async['createCollaborator'](_0x53cab3){var _0x45b8d3=_0x5df1fb;const _0x523405=this[_0x45b8d3(0x456)]()+_0x45b8d3(0x4a0);await this['_HTTPService'][_0x45b8d3(0x201)](_0x523405,{'body':_0x53cab3});}async[_0x5df1fb(0x283)](_0x25c7db){var _0x519033=_0x5df1fb;const _0x281dff=this[_0x519033(0x456)]()+'/collaborator';return(await this[_0x519033(0x190)]['get'](_0x281dff,{'params':{'objectID':_0x25c7db['objectID'],'unitID':_0x25c7db[_0x519033(0x312)]}}))['body'][_0x519033(0x22e)];}async[_0x5df1fb(0x2f9)](_0x456e7c){var _0x2eefd5=_0x5df1fb;const _0x696ffa=this[_0x2eefd5(0x456)]()+_0x2eefd5(0x4a0);await this[_0x2eefd5(0x190)]['put'](_0x696ffa,{'body':_0x456e7c});}};Tt=rn([Yt(0x0,_0x32799d(_0x413802)),Yt(0x1,_0x32799d(_0x70071))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x3608eb){var _0xfcc0e5=_0x5df1fb;return _0x3608eb&&_0x3608eb[_0xfcc0e5(0x223)]&&Object[_0xfcc0e5(0x1a3)][_0xfcc0e5(0x1a5)]['call'](_0x3608eb,_0xfcc0e5(0x44c))?_0x3608eb[_0xfcc0e5(0x44c)]:_0x3608eb;}var Ve={'exports':{}};function on(_0x396b42){var _0x584c63=_0x5df1fb;throw new Error(_0x584c63(0x474)+_0x396b42+_0x584c63(0x390));}var Ge={'exports':{}},cn=Ge[_0x5df1fb(0x278)],Kt;function ie(){var _0x378270=_0x5df1fb;return Kt||(Kt=0x1,function(_0x703045,_0x286a07){(function(_0x283bee,_0x449244){var _0x13d112=_0x27ce;_0x703045[_0x13d112(0x278)]=_0x449244();}(cn,function(){var _0x1033fc=_0x1033fc||function(_0x23ba2a,_0xeeb58a){var _0x3ebe47=_0x27ce,_0x5dde11;if(typeof window<'u'&&window[_0x3ebe47(0x33f)]&&(_0x5dde11=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x5dde11=self[_0x3ebe47(0x33f)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5dde11=globalThis['crypto']),!_0x5dde11&&typeof window<'u'&&window[_0x3ebe47(0x46b)]&&(_0x5dde11=window[_0x3ebe47(0x46b)]),!_0x5dde11&&typeof ft<'u'&&ft['crypto']&&(_0x5dde11=ft[_0x3ebe47(0x33f)]),!_0x5dde11&&typeof on==_0x3ebe47(0x1fe))try{_0x5dde11=require('crypto');}catch{}var _0x26b5c7=function(){var _0x1246ef=_0x3ebe47;if(_0x5dde11){if(typeof _0x5dde11[_0x1246ef(0x39c)]=='function')try{return _0x5dde11[_0x1246ef(0x39c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5dde11[_0x1246ef(0x3b9)]==_0x1246ef(0x1fe))try{return _0x5dde11[_0x1246ef(0x3b9)](0x4)[_0x1246ef(0x3cf)]();}catch{}}throw new Error(_0x1246ef(0x431));},_0x40dbdb=Object[_0x3ebe47(0x438)]||(function(){function _0xc03f1d(){}return function(_0x21667b){var _0x114f6b=_0x27ce,_0x42c23b;return _0xc03f1d[_0x114f6b(0x1a3)]=_0x21667b,_0x42c23b=new _0xc03f1d(),_0xc03f1d[_0x114f6b(0x1a3)]=null,_0x42c23b;};}()),_0x29efc0={},_0x3cbd3c=_0x29efc0['lib']={},_0x3dadf9=_0x3cbd3c[_0x3ebe47(0x250)]=(function(){return{'extend':function(_0x2c6a11){var _0x45e4d6=_0x27ce,_0x170c89=_0x40dbdb(this);return _0x2c6a11&&_0x170c89[_0x45e4d6(0x1ee)](_0x2c6a11),(!_0x170c89['hasOwnProperty']('init')||this[_0x45e4d6(0x405)]===_0x170c89['init'])&&(_0x170c89[_0x45e4d6(0x405)]=function(){_0x170c89['$super']['init']['apply'](this,arguments);}),_0x170c89[_0x45e4d6(0x405)][_0x45e4d6(0x1a3)]=_0x170c89,_0x170c89[_0x45e4d6(0x427)]=this,_0x170c89;},'create':function(){var _0x88dd5=_0x27ce,_0x5d6ae0=this[_0x88dd5(0x1a6)]();return _0x5d6ae0[_0x88dd5(0x405)][_0x88dd5(0x1b6)](_0x5d6ae0,arguments),_0x5d6ae0;},'init':function(){},'mixIn':function(_0x540bf7){var _0xce4bd=_0x27ce;for(var _0x4480c0 in _0x540bf7)_0x540bf7[_0xce4bd(0x1a5)](_0x4480c0)&&(this[_0x4480c0]=_0x540bf7[_0x4480c0]);_0x540bf7[_0xce4bd(0x1a5)](_0xce4bd(0x242))&&(this[_0xce4bd(0x242)]=_0x540bf7[_0xce4bd(0x242)]);},'clone':function(){var _0x4202e2=_0x27ce;return this[_0x4202e2(0x405)][_0x4202e2(0x1a3)][_0x4202e2(0x1a6)](this);}};}()),_0x52e73c=_0x3cbd3c[_0x3ebe47(0x253)]=_0x3dadf9[_0x3ebe47(0x1a6)]({'init':function(_0x51af43,_0x202a20){var _0x9084e2=_0x3ebe47;_0x51af43=this[_0x9084e2(0x279)]=_0x51af43||[],_0x202a20!=_0xeeb58a?this['sigBytes']=_0x202a20:this[_0x9084e2(0x3bf)]=_0x51af43[_0x9084e2(0x20f)]*0x4;},'toString':function(_0x3066f8){var _0x5576be=_0x3ebe47;return(_0x3066f8||_0x5dad1f)[_0x5576be(0x397)](this);},'concat':function(_0x590c07){var _0x2a084c=_0x3ebe47,_0x2c47ab=this[_0x2a084c(0x279)],_0x53ef0d=_0x590c07[_0x2a084c(0x279)],_0x1d9597=this[_0x2a084c(0x3bf)],_0xbaaea8=_0x590c07[_0x2a084c(0x3bf)];if(this[_0x2a084c(0x441)](),_0x1d9597%0x4)for(var _0x22488a=0x0;_0x22488a<_0xbaaea8;_0x22488a++){var _0x2a4307=_0x53ef0d[_0x22488a>>>0x2]>>>0x18-_0x22488a%0x4*0x8&0xff;_0x2c47ab[_0x1d9597+_0x22488a>>>0x2]|=_0x2a4307<<0x18-(_0x1d9597+_0x22488a)%0x4*0x8;}else{for(var _0x28ae23=0x0;_0x28ae23<_0xbaaea8;_0x28ae23+=0x4)_0x2c47ab[_0x1d9597+_0x28ae23>>>0x2]=_0x53ef0d[_0x28ae23>>>0x2];}return this[_0x2a084c(0x3bf)]+=_0xbaaea8,this;},'clamp':function(){var _0x4261db=_0x3ebe47,_0x3cf549=this['words'],_0x3c7482=this[_0x4261db(0x3bf)];_0x3cf549[_0x3c7482>>>0x2]&=0xffffffff<<0x20-_0x3c7482%0x4*0x8,_0x3cf549['length']=_0x23ba2a[_0x4261db(0x28a)](_0x3c7482/0x4);},'clone':function(){var _0x11288b=_0x3ebe47,_0x48e4f0=_0x3dadf9[_0x11288b(0x457)][_0x11288b(0x3a5)](this);return _0x48e4f0[_0x11288b(0x279)]=this[_0x11288b(0x279)]['slice'](0x0),_0x48e4f0;},'random':function(_0x283a34){var _0x240ad0=_0x3ebe47;for(var _0x3e9247=[],_0x5217fa=0x0;_0x5217fa<_0x283a34;_0x5217fa+=0x4)_0x3e9247[_0x240ad0(0x2a8)](_0x26b5c7());return new _0x52e73c[(_0x240ad0(0x405))](_0x3e9247,_0x283a34);}}),_0x3dd7ad=_0x29efc0['enc']={},_0x5dad1f=_0x3dd7ad[_0x3ebe47(0x23f)]={'stringify':function(_0x607e64){var _0x54ee82=_0x3ebe47;for(var _0xfff447=_0x607e64[_0x54ee82(0x279)],_0x5a9009=_0x607e64[_0x54ee82(0x3bf)],_0x818b5d=[],_0xabd135=0x0;_0xabd135<_0x5a9009;_0xabd135++){var _0x1d4eb8=_0xfff447[_0xabd135>>>0x2]>>>0x18-_0xabd135%0x4*0x8&0xff;_0x818b5d[_0x54ee82(0x2a8)]((_0x1d4eb8>>>0x4)[_0x54ee82(0x242)](0x10)),_0x818b5d[_0x54ee82(0x2a8)]((_0x1d4eb8&0xf)['toString'](0x10));}return _0x818b5d[_0x54ee82(0x301)]('');},'parse':function(_0x38ca9f){var _0x420c03=_0x3ebe47;for(var _0x77e3bc=_0x38ca9f['length'],_0x26f441=[],_0x1e4bc8=0x0;_0x1e4bc8<_0x77e3bc;_0x1e4bc8+=0x2)_0x26f441[_0x1e4bc8>>>0x3]|=parseInt(_0x38ca9f[_0x420c03(0x2df)](_0x1e4bc8,0x2),0x10)<<0x18-_0x1e4bc8%0x8*0x4;return new _0x52e73c[(_0x420c03(0x405))](_0x26f441,_0x77e3bc/0x2);}},_0x6c3061=_0x3dd7ad[_0x3ebe47(0x1d7)]={'stringify':function(_0xc5ebb0){var _0x2e7667=_0x3ebe47;for(var _0x126b55=_0xc5ebb0[_0x2e7667(0x279)],_0x21df5e=_0xc5ebb0[_0x2e7667(0x3bf)],_0x18f2ff=[],_0x107e5f=0x0;_0x107e5f<_0x21df5e;_0x107e5f++){var _0xb95b0d=_0x126b55[_0x107e5f>>>0x2]>>>0x18-_0x107e5f%0x4*0x8&0xff;_0x18f2ff[_0x2e7667(0x2a8)](String[_0x2e7667(0x38e)](_0xb95b0d));}return _0x18f2ff[_0x2e7667(0x301)]('');},'parse':function(_0x4a48ae){var _0x257513=_0x3ebe47;for(var _0x4a5f96=_0x4a48ae[_0x257513(0x20f)],_0x26ecfa=[],_0x2c9979=0x0;_0x2c9979<_0x4a5f96;_0x2c9979++)_0x26ecfa[_0x2c9979>>>0x2]|=(_0x4a48ae['charCodeAt'](_0x2c9979)&0xff)<<0x18-_0x2c9979%0x4*0x8;return new _0x52e73c['init'](_0x26ecfa,_0x4a5f96);}},_0x56b3e5=_0x3dd7ad['Utf8']={'stringify':function(_0x474e8f){var _0x42c7a8=_0x3ebe47;try{return decodeURIComponent(escape(_0x6c3061[_0x42c7a8(0x397)](_0x474e8f)));}catch{throw new Error(_0x42c7a8(0x2e3));}},'parse':function(_0x148d86){return _0x6c3061['parse'](unescape(encodeURIComponent(_0x148d86)));}},_0x1f4734=_0x3cbd3c[_0x3ebe47(0x29a)]=_0x3dadf9[_0x3ebe47(0x1a6)]({'reset':function(){var _0x13cbe3=_0x3ebe47;this['_data']=new _0x52e73c[(_0x13cbe3(0x405))](),this[_0x13cbe3(0x41e)]=0x0;},'_append':function(_0x573402){var _0x42dd5a=_0x3ebe47;typeof _0x573402==_0x42dd5a(0x268)&&(_0x573402=_0x56b3e5[_0x42dd5a(0x186)](_0x573402)),this['_data'][_0x42dd5a(0x339)](_0x573402),this[_0x42dd5a(0x41e)]+=_0x573402[_0x42dd5a(0x3bf)];},'_process':function(_0x24e93c){var _0x3d0ffc=_0x3ebe47,_0x183386,_0x22d56f=this[_0x3d0ffc(0x1b8)],_0x2ed85b=_0x22d56f[_0x3d0ffc(0x279)],_0x591f82=_0x22d56f[_0x3d0ffc(0x3bf)],_0xac02f1=this[_0x3d0ffc(0x481)],_0x52b9b2=_0xac02f1*0x4,_0x17bf48=_0x591f82/_0x52b9b2;_0x24e93c?_0x17bf48=_0x23ba2a[_0x3d0ffc(0x28a)](_0x17bf48):_0x17bf48=_0x23ba2a['max']((_0x17bf48|0x0)-this['_minBufferSize'],0x0);var _0x46b6cc=_0x17bf48*_0xac02f1,_0x5e8457=_0x23ba2a[_0x3d0ffc(0x1ab)](_0x46b6cc*0x4,_0x591f82);if(_0x46b6cc){for(var _0x280234=0x0;_0x280234<_0x46b6cc;_0x280234+=_0xac02f1)this[_0x3d0ffc(0x2ee)](_0x2ed85b,_0x280234);_0x183386=_0x2ed85b[_0x3d0ffc(0x270)](0x0,_0x46b6cc),_0x22d56f['sigBytes']-=_0x5e8457;}return new _0x52e73c[(_0x3d0ffc(0x405))](_0x183386,_0x5e8457);},'clone':function(){var _0x94d8a2=_0x3ebe47,_0x457a5f=_0x3dadf9[_0x94d8a2(0x457)]['call'](this);return _0x457a5f[_0x94d8a2(0x1b8)]=this[_0x94d8a2(0x1b8)][_0x94d8a2(0x457)](),_0x457a5f;},'_minBufferSize':0x0});_0x3cbd3c[_0x3ebe47(0x29e)]=_0x1f4734[_0x3ebe47(0x1a6)]({'cfg':_0x3dadf9[_0x3ebe47(0x1a6)](),'init':function(_0x3be03a){var _0x50ec4d=_0x3ebe47;this[_0x50ec4d(0x25e)]=this['cfg'][_0x50ec4d(0x1a6)](_0x3be03a),this[_0x50ec4d(0x1f1)]();},'reset':function(){var _0x356eb5=_0x3ebe47;_0x1f4734[_0x356eb5(0x1f1)][_0x356eb5(0x3a5)](this),this[_0x356eb5(0x342)]();},'update':function(_0x586492){var _0x179e8e=_0x3ebe47;return this[_0x179e8e(0x1ef)](_0x586492),this['_process'](),this;},'finalize':function(_0x46f6d2){var _0x428a6d=_0x3ebe47;_0x46f6d2&&this[_0x428a6d(0x1ef)](_0x46f6d2);var _0x374d75=this['_doFinalize']();return _0x374d75;},'blockSize':0x10,'_createHelper':function(_0x56469d){return function(_0x2df727,_0x50666e){var _0x608aed=_0x27ce;return new _0x56469d[(_0x608aed(0x405))](_0x50666e)['finalize'](_0x2df727);};},'_createHmacHelper':function(_0x70513d){return function(_0xb9e5ed,_0x387f75){var _0x3b99a5=_0x27ce;return new _0x370963[(_0x3b99a5(0x3be))][(_0x3b99a5(0x405))](_0x70513d,_0x387f75)[_0x3b99a5(0x39e)](_0xb9e5ed);};}});var _0x370963=_0x29efc0[_0x3ebe47(0x20b)]={};return _0x29efc0;}(Math);return _0x1033fc;}));}(Ge)),Ge[_0x378270(0x278)];}var We={'exports':{}},_n=We[_0x5df1fb(0x278)],qt;function Ri(){var _0x1aecd7=_0x5df1fb;return qt||(qt=0x1,function(_0x50a121,_0x28889b){(function(_0x112bdd,_0x547922){_0x50a121['exports']=_0x547922(ie());}(_n,function(_0x168e93){var _0x282362=_0x27ce;return(function(){var _0x58cbaa=_0x27ce,_0x101375=_0x168e93,_0x2c2501=_0x101375['lib'],_0x4479b1=_0x2c2501[_0x58cbaa(0x253)],_0x3c366c=_0x101375['enc'];_0x3c366c[_0x58cbaa(0x3b1)]={'stringify':function(_0x21ebfa){var _0x42c349=_0x58cbaa,_0x414604=_0x21ebfa['words'],_0x38df67=_0x21ebfa[_0x42c349(0x3bf)],_0x2a7983=this['_map'];_0x21ebfa[_0x42c349(0x441)]();for(var _0x144619=[],_0x294e5e=0x0;_0x294e5e<_0x38df67;_0x294e5e+=0x3)for(var _0x5e5756=_0x414604[_0x294e5e>>>0x2]>>>0x18-_0x294e5e%0x4*0x8&0xff,_0x4df107=_0x414604[_0x294e5e+0x1>>>0x2]>>>0x18-(_0x294e5e+0x1)%0x4*0x8&0xff,_0x49a97b=_0x414604[_0x294e5e+0x2>>>0x2]>>>0x18-(_0x294e5e+0x2)%0x4*0x8&0xff,_0x4e2949=_0x5e5756<<0x10|_0x4df107<<0x8|_0x49a97b,_0x560917=0x0;_0x560917<0x4&&_0x294e5e+_0x560917*0.75<_0x38df67;_0x560917++)_0x144619[_0x42c349(0x2a8)](_0x2a7983['charAt'](_0x4e2949>>>0x6*(0x3-_0x560917)&0x3f));var _0x4fd3f1=_0x2a7983['charAt'](0x40);if(_0x4fd3f1){for(;_0x144619['length']%0x4;)_0x144619[_0x42c349(0x2a8)](_0x4fd3f1);}return _0x144619['join']('');},'parse':function(_0x1ce8c0){var _0x3e768e=_0x58cbaa,_0x2c7fca=_0x1ce8c0['length'],_0xb1fb9f=this[_0x3e768e(0x237)],_0x40edb6=this[_0x3e768e(0x2c4)];if(!_0x40edb6){_0x40edb6=this[_0x3e768e(0x2c4)]=[];for(var _0x41fa58=0x0;_0x41fa58<_0xb1fb9f['length'];_0x41fa58++)_0x40edb6[_0xb1fb9f['charCodeAt'](_0x41fa58)]=_0x41fa58;}var _0x5a7fba=_0xb1fb9f[_0x3e768e(0x3f3)](0x40);if(_0x5a7fba){var _0x1e65a5=_0x1ce8c0[_0x3e768e(0x494)](_0x5a7fba);_0x1e65a5!==-0x1&&(_0x2c7fca=_0x1e65a5);}return _0x3ddedb(_0x1ce8c0,_0x2c7fca,_0x40edb6);},'_map':_0x58cbaa(0x2cd)};function _0x3ddedb(_0x4b1bfb,_0x1b0363,_0x474ff0){var _0x381ba6=_0x58cbaa;for(var _0x45aae8=[],_0x2955a4=0x0,_0x25fe00=0x0;_0x25fe00<_0x1b0363;_0x25fe00++)if(_0x25fe00%0x4){var _0x72a5e8=_0x474ff0[_0x4b1bfb[_0x381ba6(0x43a)](_0x25fe00-0x1)]<<_0x25fe00%0x4*0x2,_0x3ce305=_0x474ff0[_0x4b1bfb['charCodeAt'](_0x25fe00)]>>>0x6-_0x25fe00%0x4*0x2,_0x5abf60=_0x72a5e8|_0x3ce305;_0x45aae8[_0x2955a4>>>0x2]|=_0x5abf60<<0x18-_0x2955a4%0x4*0x8,_0x2955a4++;}return _0x4479b1[_0x381ba6(0x438)](_0x45aae8,_0x2955a4);}}()),_0x168e93[_0x282362(0x417)][_0x282362(0x3b1)];}));}(We)),We[_0x1aecd7(0x278)];}var Ye={'exports':{}},hn=Ye['exports'],zt;function ln(){var _0xb0f002=_0x5df1fb;return zt||(zt=0x1,function(_0x28668f,_0x4c4520){(function(_0x19d169,_0x568a90){var _0x8517a5=_0x27ce;_0x28668f[_0x8517a5(0x278)]=_0x568a90(ie());}(hn,function(_0x53e744){return function(_0x22d810){var _0xb34fb9=_0x27ce,_0x34b846=_0x53e744,_0x1d5ef0=_0x34b846['lib'],_0x2d17e6=_0x1d5ef0[_0xb34fb9(0x253)],_0x22b55b=_0x1d5ef0[_0xb34fb9(0x29e)],_0x457f24=_0x34b846[_0xb34fb9(0x20b)],_0x1ab44e=[];(function(){var _0x292a84=_0xb34fb9;for(var _0x880d0=0x0;_0x880d0<0x40;_0x880d0++)_0x1ab44e[_0x880d0]=_0x22d810['abs'](_0x22d810[_0x292a84(0x1a9)](_0x880d0+0x1))*0x100000000|0x0;}());var _0x4117e7=_0x457f24['MD5']=_0x22b55b[_0xb34fb9(0x1a6)]({'_doReset':function(){var _0x2ffa0b=_0xb34fb9;this['_hash']=new _0x2d17e6[(_0x2ffa0b(0x405))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x57d955,_0x292e4c){var _0x126f1c=_0xb34fb9;for(var _0x34c669=0x0;_0x34c669<0x10;_0x34c669++){var _0x26e3dc=_0x292e4c+_0x34c669,_0x451755=_0x57d955[_0x26e3dc];_0x57d955[_0x26e3dc]=(_0x451755<<0x8|_0x451755>>>0x18)&0xff00ff|(_0x451755<<0x18|_0x451755>>>0x8)&0xff00ff00;}var _0x2d56b1=this[_0x126f1c(0x359)][_0x126f1c(0x279)],_0x28042d=_0x57d955[_0x292e4c+0x0],_0x424bfc=_0x57d955[_0x292e4c+0x1],_0x487962=_0x57d955[_0x292e4c+0x2],_0x4a2236=_0x57d955[_0x292e4c+0x3],_0x5e6dae=_0x57d955[_0x292e4c+0x4],_0x1351ba=_0x57d955[_0x292e4c+0x5],_0x33d6e7=_0x57d955[_0x292e4c+0x6],_0xed2347=_0x57d955[_0x292e4c+0x7],_0x30dbec=_0x57d955[_0x292e4c+0x8],_0x455d9d=_0x57d955[_0x292e4c+0x9],_0x455634=_0x57d955[_0x292e4c+0xa],_0x28478f=_0x57d955[_0x292e4c+0xb],_0x4d5847=_0x57d955[_0x292e4c+0xc],_0x58425b=_0x57d955[_0x292e4c+0xd],_0x29f6ef=_0x57d955[_0x292e4c+0xe],_0x1e1823=_0x57d955[_0x292e4c+0xf],_0x1c36c6=_0x2d56b1[0x0],_0x3c07bc=_0x2d56b1[0x1],_0x3635ba=_0x2d56b1[0x2],_0x214e59=_0x2d56b1[0x3];_0x1c36c6=_0x3a6c31(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x28042d,0x7,_0x1ab44e[0x0]),_0x214e59=_0x3a6c31(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x424bfc,0xc,_0x1ab44e[0x1]),_0x3635ba=_0x3a6c31(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x487962,0x11,_0x1ab44e[0x2]),_0x3c07bc=_0x3a6c31(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x4a2236,0x16,_0x1ab44e[0x3]),_0x1c36c6=_0x3a6c31(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x5e6dae,0x7,_0x1ab44e[0x4]),_0x214e59=_0x3a6c31(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x1351ba,0xc,_0x1ab44e[0x5]),_0x3635ba=_0x3a6c31(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x33d6e7,0x11,_0x1ab44e[0x6]),_0x3c07bc=_0x3a6c31(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0xed2347,0x16,_0x1ab44e[0x7]),_0x1c36c6=_0x3a6c31(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x30dbec,0x7,_0x1ab44e[0x8]),_0x214e59=_0x3a6c31(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x455d9d,0xc,_0x1ab44e[0x9]),_0x3635ba=_0x3a6c31(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x455634,0x11,_0x1ab44e[0xa]),_0x3c07bc=_0x3a6c31(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x28478f,0x16,_0x1ab44e[0xb]),_0x1c36c6=_0x3a6c31(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x4d5847,0x7,_0x1ab44e[0xc]),_0x214e59=_0x3a6c31(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x58425b,0xc,_0x1ab44e[0xd]),_0x3635ba=_0x3a6c31(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x29f6ef,0x11,_0x1ab44e[0xe]),_0x3c07bc=_0x3a6c31(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x1e1823,0x16,_0x1ab44e[0xf]),_0x1c36c6=_0x572e95(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x424bfc,0x5,_0x1ab44e[0x10]),_0x214e59=_0x572e95(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x33d6e7,0x9,_0x1ab44e[0x11]),_0x3635ba=_0x572e95(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x28478f,0xe,_0x1ab44e[0x12]),_0x3c07bc=_0x572e95(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x28042d,0x14,_0x1ab44e[0x13]),_0x1c36c6=_0x572e95(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x1351ba,0x5,_0x1ab44e[0x14]),_0x214e59=_0x572e95(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x455634,0x9,_0x1ab44e[0x15]),_0x3635ba=_0x572e95(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x1e1823,0xe,_0x1ab44e[0x16]),_0x3c07bc=_0x572e95(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x5e6dae,0x14,_0x1ab44e[0x17]),_0x1c36c6=_0x572e95(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x455d9d,0x5,_0x1ab44e[0x18]),_0x214e59=_0x572e95(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x29f6ef,0x9,_0x1ab44e[0x19]),_0x3635ba=_0x572e95(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x4a2236,0xe,_0x1ab44e[0x1a]),_0x3c07bc=_0x572e95(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x30dbec,0x14,_0x1ab44e[0x1b]),_0x1c36c6=_0x572e95(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x58425b,0x5,_0x1ab44e[0x1c]),_0x214e59=_0x572e95(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x487962,0x9,_0x1ab44e[0x1d]),_0x3635ba=_0x572e95(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0xed2347,0xe,_0x1ab44e[0x1e]),_0x3c07bc=_0x572e95(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x4d5847,0x14,_0x1ab44e[0x1f]),_0x1c36c6=_0x2e2005(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x1351ba,0x4,_0x1ab44e[0x20]),_0x214e59=_0x2e2005(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x30dbec,0xb,_0x1ab44e[0x21]),_0x3635ba=_0x2e2005(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x28478f,0x10,_0x1ab44e[0x22]),_0x3c07bc=_0x2e2005(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x29f6ef,0x17,_0x1ab44e[0x23]),_0x1c36c6=_0x2e2005(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x424bfc,0x4,_0x1ab44e[0x24]),_0x214e59=_0x2e2005(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x5e6dae,0xb,_0x1ab44e[0x25]),_0x3635ba=_0x2e2005(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0xed2347,0x10,_0x1ab44e[0x26]),_0x3c07bc=_0x2e2005(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x455634,0x17,_0x1ab44e[0x27]),_0x1c36c6=_0x2e2005(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x58425b,0x4,_0x1ab44e[0x28]),_0x214e59=_0x2e2005(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x28042d,0xb,_0x1ab44e[0x29]),_0x3635ba=_0x2e2005(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x4a2236,0x10,_0x1ab44e[0x2a]),_0x3c07bc=_0x2e2005(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x33d6e7,0x17,_0x1ab44e[0x2b]),_0x1c36c6=_0x2e2005(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x455d9d,0x4,_0x1ab44e[0x2c]),_0x214e59=_0x2e2005(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x4d5847,0xb,_0x1ab44e[0x2d]),_0x3635ba=_0x2e2005(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x1e1823,0x10,_0x1ab44e[0x2e]),_0x3c07bc=_0x2e2005(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x487962,0x17,_0x1ab44e[0x2f]),_0x1c36c6=_0x4c1d62(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x28042d,0x6,_0x1ab44e[0x30]),_0x214e59=_0x4c1d62(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0xed2347,0xa,_0x1ab44e[0x31]),_0x3635ba=_0x4c1d62(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x29f6ef,0xf,_0x1ab44e[0x32]),_0x3c07bc=_0x4c1d62(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x1351ba,0x15,_0x1ab44e[0x33]),_0x1c36c6=_0x4c1d62(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x4d5847,0x6,_0x1ab44e[0x34]),_0x214e59=_0x4c1d62(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x4a2236,0xa,_0x1ab44e[0x35]),_0x3635ba=_0x4c1d62(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x455634,0xf,_0x1ab44e[0x36]),_0x3c07bc=_0x4c1d62(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x424bfc,0x15,_0x1ab44e[0x37]),_0x1c36c6=_0x4c1d62(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x30dbec,0x6,_0x1ab44e[0x38]),_0x214e59=_0x4c1d62(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x1e1823,0xa,_0x1ab44e[0x39]),_0x3635ba=_0x4c1d62(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x33d6e7,0xf,_0x1ab44e[0x3a]),_0x3c07bc=_0x4c1d62(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x58425b,0x15,_0x1ab44e[0x3b]),_0x1c36c6=_0x4c1d62(_0x1c36c6,_0x3c07bc,_0x3635ba,_0x214e59,_0x5e6dae,0x6,_0x1ab44e[0x3c]),_0x214e59=_0x4c1d62(_0x214e59,_0x1c36c6,_0x3c07bc,_0x3635ba,_0x28478f,0xa,_0x1ab44e[0x3d]),_0x3635ba=_0x4c1d62(_0x3635ba,_0x214e59,_0x1c36c6,_0x3c07bc,_0x487962,0xf,_0x1ab44e[0x3e]),_0x3c07bc=_0x4c1d62(_0x3c07bc,_0x3635ba,_0x214e59,_0x1c36c6,_0x455d9d,0x15,_0x1ab44e[0x3f]),_0x2d56b1[0x0]=_0x2d56b1[0x0]+_0x1c36c6|0x0,_0x2d56b1[0x1]=_0x2d56b1[0x1]+_0x3c07bc|0x0,_0x2d56b1[0x2]=_0x2d56b1[0x2]+_0x3635ba|0x0,_0x2d56b1[0x3]=_0x2d56b1[0x3]+_0x214e59|0x0;},'_doFinalize':function(){var _0x36e81e=_0xb34fb9,_0x2ea23b=this['_data'],_0x2e45f7=_0x2ea23b[_0x36e81e(0x279)],_0x3c5e59=this[_0x36e81e(0x41e)]*0x8,_0x13eca9=_0x2ea23b['sigBytes']*0x8;_0x2e45f7[_0x13eca9>>>0x5]|=0x80<<0x18-_0x13eca9%0x20;var _0x2f63e0=_0x22d810[_0x36e81e(0x2d0)](_0x3c5e59/0x100000000),_0x2eb5b4=_0x3c5e59;_0x2e45f7[(_0x13eca9+0x40>>>0x9<<0x4)+0xf]=(_0x2f63e0<<0x8|_0x2f63e0>>>0x18)&0xff00ff|(_0x2f63e0<<0x18|_0x2f63e0>>>0x8)&0xff00ff00,_0x2e45f7[(_0x13eca9+0x40>>>0x9<<0x4)+0xe]=(_0x2eb5b4<<0x8|_0x2eb5b4>>>0x18)&0xff00ff|(_0x2eb5b4<<0x18|_0x2eb5b4>>>0x8)&0xff00ff00,_0x2ea23b[_0x36e81e(0x3bf)]=(_0x2e45f7[_0x36e81e(0x20f)]+0x1)*0x4,this['_process']();for(var _0xbb97b7=this['_hash'],_0x4ef281=_0xbb97b7['words'],_0x3d12ca=0x0;_0x3d12ca<0x4;_0x3d12ca++){var _0x42630e=_0x4ef281[_0x3d12ca];_0x4ef281[_0x3d12ca]=(_0x42630e<<0x8|_0x42630e>>>0x18)&0xff00ff|(_0x42630e<<0x18|_0x42630e>>>0x8)&0xff00ff00;}return _0xbb97b7;},'clone':function(){var _0x67ad1a=_0xb34fb9,_0x56e960=_0x22b55b[_0x67ad1a(0x457)][_0x67ad1a(0x3a5)](this);return _0x56e960[_0x67ad1a(0x359)]=this['_hash'][_0x67ad1a(0x457)](),_0x56e960;}});function _0x3a6c31(_0x363c0b,_0x475e2d,_0x8cb9a7,_0x3b980e,_0x4a5858,_0x5ec8c3,_0x575230){var _0x1dc0fd=_0x363c0b+(_0x475e2d&_0x8cb9a7|~_0x475e2d&_0x3b980e)+_0x4a5858+_0x575230;return(_0x1dc0fd<<_0x5ec8c3|_0x1dc0fd>>>0x20-_0x5ec8c3)+_0x475e2d;}function _0x572e95(_0x3c53a2,_0x411ee8,_0x44805c,_0x2adae4,_0x5ddcad,_0x3ee7dd,_0x467ae3){var _0x182f7e=_0x3c53a2+(_0x411ee8&_0x2adae4|_0x44805c&~_0x2adae4)+_0x5ddcad+_0x467ae3;return(_0x182f7e<<_0x3ee7dd|_0x182f7e>>>0x20-_0x3ee7dd)+_0x411ee8;}function _0x2e2005(_0x46976b,_0x305a67,_0x2feecd,_0x2e25ca,_0x24e115,_0x6c194b,_0x32cfce){var _0x2f7920=_0x46976b+(_0x305a67^_0x2feecd^_0x2e25ca)+_0x24e115+_0x32cfce;return(_0x2f7920<<_0x6c194b|_0x2f7920>>>0x20-_0x6c194b)+_0x305a67;}function _0x4c1d62(_0x307354,_0x399924,_0x2dc304,_0x532bdd,_0x1cb939,_0x2d8d8b,_0x21ca73){var _0x5b85c2=_0x307354+(_0x2dc304^(_0x399924|~_0x532bdd))+_0x1cb939+_0x21ca73;return(_0x5b85c2<<_0x2d8d8b|_0x5b85c2>>>0x20-_0x2d8d8b)+_0x399924;}_0x34b846[_0xb34fb9(0x3e0)]=_0x22b55b[_0xb34fb9(0x3e9)](_0x4117e7),_0x34b846[_0xb34fb9(0x353)]=_0x22b55b[_0xb34fb9(0x411)](_0x4117e7);}(Math),_0x53e744['MD5'];}));}(Ye)),Ye[_0xb0f002(0x278)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x5df1fb(0x278)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x24cbcd,_0x45d014){(function(_0x2141e3,_0x199f3d){var _0x3dc9ed=_0x27ce;_0x24cbcd[_0x3dc9ed(0x278)]=_0x199f3d(ie());}(un,function(_0xc33d31){var _0x4bd172=_0x27ce;return(function(){var _0x11098e=_0x27ce,_0x13a8f5=_0xc33d31,_0x3e269c=_0x13a8f5[_0x11098e(0x195)],_0x4f279b=_0x3e269c[_0x11098e(0x253)],_0x4ba639=_0x3e269c[_0x11098e(0x29e)],_0x470a80=_0x13a8f5['algo'],_0x8ca9a=[],_0x19d35f=_0x470a80[_0x11098e(0x40b)]=_0x4ba639[_0x11098e(0x1a6)]({'_doReset':function(){var _0x83a48b=_0x11098e;this[_0x83a48b(0x359)]=new _0x4f279b[(_0x83a48b(0x405))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x263058,_0x5ce9d6){var _0x441a8a=_0x11098e;for(var _0x17738f=this[_0x441a8a(0x359)][_0x441a8a(0x279)],_0x446678=_0x17738f[0x0],_0x4382bf=_0x17738f[0x1],_0x1d6edc=_0x17738f[0x2],_0xdf906b=_0x17738f[0x3],_0x11f52d=_0x17738f[0x4],_0x4f06b3=0x0;_0x4f06b3<0x50;_0x4f06b3++){if(_0x4f06b3<0x10)_0x8ca9a[_0x4f06b3]=_0x263058[_0x5ce9d6+_0x4f06b3]|0x0;else{var _0x5d82fd=_0x8ca9a[_0x4f06b3-0x3]^_0x8ca9a[_0x4f06b3-0x8]^_0x8ca9a[_0x4f06b3-0xe]^_0x8ca9a[_0x4f06b3-0x10];_0x8ca9a[_0x4f06b3]=_0x5d82fd<<0x1|_0x5d82fd>>>0x1f;}var _0x3f8816=(_0x446678<<0x5|_0x446678>>>0x1b)+_0x11f52d+_0x8ca9a[_0x4f06b3];_0x4f06b3<0x14?_0x3f8816+=(_0x4382bf&_0x1d6edc|~_0x4382bf&_0xdf906b)+0x5a827999:_0x4f06b3<0x28?_0x3f8816+=(_0x4382bf^_0x1d6edc^_0xdf906b)+0x6ed9eba1:_0x4f06b3<0x3c?_0x3f8816+=(_0x4382bf&_0x1d6edc|_0x4382bf&_0xdf906b|_0x1d6edc&_0xdf906b)-0x70e44324:_0x3f8816+=(_0x4382bf^_0x1d6edc^_0xdf906b)-0x359d3e2a,_0x11f52d=_0xdf906b,_0xdf906b=_0x1d6edc,_0x1d6edc=_0x4382bf<<0x1e|_0x4382bf>>>0x2,_0x4382bf=_0x446678,_0x446678=_0x3f8816;}_0x17738f[0x0]=_0x17738f[0x0]+_0x446678|0x0,_0x17738f[0x1]=_0x17738f[0x1]+_0x4382bf|0x0,_0x17738f[0x2]=_0x17738f[0x2]+_0x1d6edc|0x0,_0x17738f[0x3]=_0x17738f[0x3]+_0xdf906b|0x0,_0x17738f[0x4]=_0x17738f[0x4]+_0x11f52d|0x0;},'_doFinalize':function(){var _0x221737=_0x11098e,_0x164446=this[_0x221737(0x1b8)],_0x465540=_0x164446[_0x221737(0x279)],_0xca0303=this[_0x221737(0x41e)]*0x8,_0x222685=_0x164446['sigBytes']*0x8;return _0x465540[_0x222685>>>0x5]|=0x80<<0x18-_0x222685%0x20,_0x465540[(_0x222685+0x40>>>0x9<<0x4)+0xe]=Math[_0x221737(0x2d0)](_0xca0303/0x100000000),_0x465540[(_0x222685+0x40>>>0x9<<0x4)+0xf]=_0xca0303,_0x164446[_0x221737(0x3bf)]=_0x465540['length']*0x4,this[_0x221737(0x228)](),this['_hash'];},'clone':function(){var _0x4ccf89=_0x11098e,_0x384e75=_0x4ba639['clone'][_0x4ccf89(0x3a5)](this);return _0x384e75[_0x4ccf89(0x359)]=this[_0x4ccf89(0x359)]['clone'](),_0x384e75;}});_0x13a8f5['SHA1']=_0x4ba639[_0x11098e(0x3e9)](_0x19d35f),_0x13a8f5[_0x11098e(0x269)]=_0x4ba639['_createHmacHelper'](_0x19d35f);}()),_0xc33d31[_0x4bd172(0x40b)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0x5df1fb(0x278)],Jt;function vn(){var _0x5a65d2=_0x5df1fb;return Jt||(Jt=0x1,function(_0x72228f,_0x44f331){(function(_0x5ef7c8,_0x4c5609){var _0x544c53=_0x27ce;_0x72228f[_0x544c53(0x278)]=_0x4c5609(ie());}(fn,function(_0x495c81){(function(){var _0x5ab985=_0x27ce,_0x309fb4=_0x495c81,_0x386dce=_0x309fb4[_0x5ab985(0x195)],_0x29833c=_0x386dce['Base'],_0x432b9d=_0x309fb4[_0x5ab985(0x417)],_0x39d009=_0x432b9d['Utf8'],_0x105dd5=_0x309fb4['algo'];_0x105dd5[_0x5ab985(0x3be)]=_0x29833c[_0x5ab985(0x1a6)]({'init':function(_0x2a9f91,_0x378216){var _0x1247d8=_0x5ab985;_0x2a9f91=this[_0x1247d8(0x1f7)]=new _0x2a9f91[(_0x1247d8(0x405))](),typeof _0x378216=='string'&&(_0x378216=_0x39d009[_0x1247d8(0x186)](_0x378216));var _0x2fa0e2=_0x2a9f91[_0x1247d8(0x481)],_0x1c439c=_0x2fa0e2*0x4;_0x378216[_0x1247d8(0x3bf)]>_0x1c439c&&(_0x378216=_0x2a9f91[_0x1247d8(0x39e)](_0x378216)),_0x378216[_0x1247d8(0x441)]();for(var _0x444a7c=this['_oKey']=_0x378216[_0x1247d8(0x457)](),_0x2658b0=this[_0x1247d8(0x367)]=_0x378216['clone'](),_0x27a594=_0x444a7c[_0x1247d8(0x279)],_0x53a341=_0x2658b0[_0x1247d8(0x279)],_0x5d9370=0x0;_0x5d9370<_0x2fa0e2;_0x5d9370++)_0x27a594[_0x5d9370]^=0x5c5c5c5c,_0x53a341[_0x5d9370]^=0x36363636;_0x444a7c[_0x1247d8(0x3bf)]=_0x2658b0['sigBytes']=_0x1c439c,this[_0x1247d8(0x1f1)]();},'reset':function(){var _0x561f71=_0x5ab985,_0x146bc1=this[_0x561f71(0x1f7)];_0x146bc1['reset'](),_0x146bc1[_0x561f71(0x38d)](this[_0x561f71(0x367)]);},'update':function(_0x5b80bb){var _0x5d9290=_0x5ab985;return this[_0x5d9290(0x1f7)][_0x5d9290(0x38d)](_0x5b80bb),this;},'finalize':function(_0x2c62fe){var _0x3e62ca=_0x5ab985,_0x384ba2=this[_0x3e62ca(0x1f7)],_0x3cfb00=_0x384ba2[_0x3e62ca(0x39e)](_0x2c62fe);_0x384ba2[_0x3e62ca(0x1f1)]();var _0x371fc0=_0x384ba2[_0x3e62ca(0x39e)](this[_0x3e62ca(0x2b8)]['clone']()['concat'](_0x3cfb00));return _0x371fc0;}});}());}));}(ze)),ze[_0x5a65d2(0x278)];}var En=Ke[_0x5df1fb(0x278)],Zt;function Ni(){var _0x233237=_0x5df1fb;return Zt||(Zt=0x1,function(_0x5cfd21,_0x1cbd94){(function(_0x53ebfb,_0x440daa,_0x3c819f){var _0x21bfc8=_0x27ce;_0x5cfd21[_0x21bfc8(0x278)]=_0x440daa(ie(),dn(),vn());}(En,function(_0x8df0a3){return(function(){var _0x2ae3f5=_0x27ce,_0x4099ac=_0x8df0a3,_0x26bae0=_0x4099ac[_0x2ae3f5(0x195)],_0xdf61c9=_0x26bae0[_0x2ae3f5(0x250)],_0x1f5aa6=_0x26bae0[_0x2ae3f5(0x253)],_0x3849a8=_0x4099ac[_0x2ae3f5(0x20b)],_0x31400d=_0x3849a8[_0x2ae3f5(0x3e0)],_0x520d6e=_0x3849a8[_0x2ae3f5(0x3c8)]=_0xdf61c9['extend']({'cfg':_0xdf61c9[_0x2ae3f5(0x1a6)]({'keySize':0x80/0x20,'hasher':_0x31400d,'iterations':0x1}),'init':function(_0x1cf80f){var _0x55c556=_0x2ae3f5;this[_0x55c556(0x25e)]=this[_0x55c556(0x25e)][_0x55c556(0x1a6)](_0x1cf80f);},'compute':function(_0x6db1cb,_0x4439b5){var _0x4d2286=_0x2ae3f5;for(var _0x1d8cc4,_0x5501a2=this[_0x4d2286(0x25e)],_0x161a5e=_0x5501a2[_0x4d2286(0x36a)][_0x4d2286(0x438)](),_0x40bc0e=_0x1f5aa6['create'](),_0x145daa=_0x40bc0e[_0x4d2286(0x279)],_0x20047a=_0x5501a2['keySize'],_0xf607e7=_0x5501a2[_0x4d2286(0x316)];_0x145daa[_0x4d2286(0x20f)]<_0x20047a;){_0x1d8cc4&&_0x161a5e[_0x4d2286(0x38d)](_0x1d8cc4),_0x1d8cc4=_0x161a5e[_0x4d2286(0x38d)](_0x6db1cb)[_0x4d2286(0x39e)](_0x4439b5),_0x161a5e['reset']();for(var _0xc34ede=0x1;_0xc34ede<_0xf607e7;_0xc34ede++)_0x1d8cc4=_0x161a5e[_0x4d2286(0x39e)](_0x1d8cc4),_0x161a5e[_0x4d2286(0x1f1)]();_0x40bc0e['concat'](_0x1d8cc4);}return _0x40bc0e[_0x4d2286(0x3bf)]=_0x20047a*0x4,_0x40bc0e;}});_0x4099ac[_0x2ae3f5(0x3c8)]=function(_0x5083c0,_0x5a0103,_0x336651){var _0x2e1fa6=_0x2ae3f5;return _0x520d6e['create'](_0x336651)[_0x2e1fa6(0x187)](_0x5083c0,_0x5a0103);};}()),_0x8df0a3['EvpKDF'];}));}(Ke)),Ke[_0x233237(0x278)];}var Xe={'exports':{}},pn=Xe['exports'],Qt;function Ci(){return Qt||(Qt=0x1,function(_0x5a2f43,_0x142447){(function(_0x49be42,_0x5d590e,_0x11bf33){var _0xc13e32=_0x27ce;_0x5a2f43[_0xc13e32(0x278)]=_0x5d590e(ie(),Ni());}(pn,function(_0x401c8b){var _0x49db9b=_0x27ce;_0x401c8b[_0x49db9b(0x195)][_0x49db9b(0x49a)]||function(_0x31caf3){var _0x1036b0=_0x49db9b,_0x2ff3d6=_0x401c8b,_0x23c48f=_0x2ff3d6[_0x1036b0(0x195)],_0x4b30aa=_0x23c48f[_0x1036b0(0x250)],_0x59115b=_0x23c48f[_0x1036b0(0x253)],_0x3715a3=_0x23c48f[_0x1036b0(0x29a)],_0x5e43ce=_0x2ff3d6[_0x1036b0(0x417)];_0x5e43ce['Utf8'];var _0x157ef0=_0x5e43ce[_0x1036b0(0x3b1)],_0x14784b=_0x2ff3d6[_0x1036b0(0x20b)],_0x3daa5e=_0x14784b[_0x1036b0(0x3c8)],_0x251b56=_0x23c48f[_0x1036b0(0x49a)]=_0x3715a3[_0x1036b0(0x1a6)]({'cfg':_0x4b30aa[_0x1036b0(0x1a6)](),'createEncryptor':function(_0x15aa06,_0x2cfce3){var _0x1f785c=_0x1036b0;return this[_0x1f785c(0x438)](this['_ENC_XFORM_MODE'],_0x15aa06,_0x2cfce3);},'createDecryptor':function(_0x4bc061,_0x369318){var _0x320de5=_0x1036b0;return this[_0x320de5(0x438)](this[_0x320de5(0x43f)],_0x4bc061,_0x369318);},'init':function(_0x498569,_0x2938c6,_0x2bc7e2){var _0x3d474f=_0x1036b0;this['cfg']=this[_0x3d474f(0x25e)][_0x3d474f(0x1a6)](_0x2bc7e2),this[_0x3d474f(0x321)]=_0x498569,this[_0x3d474f(0x48a)]=_0x2938c6,this[_0x3d474f(0x1f1)]();},'reset':function(){var _0xe483ca=_0x1036b0;_0x3715a3[_0xe483ca(0x1f1)][_0xe483ca(0x3a5)](this),this[_0xe483ca(0x342)]();},'process':function(_0x40ac4d){return this['_append'](_0x40ac4d),this['_process']();},'finalize':function(_0x196222){var _0x52197e=_0x1036b0;_0x196222&&this['_append'](_0x196222);var _0x5c557a=this[_0x52197e(0x1dd)]();return _0x5c557a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2f1128(_0x529051){var _0x50b463=_0x27ce;return typeof _0x529051==_0x50b463(0x268)?_0x9c3e5f:_0x4f76db;}return function(_0x1d1c47){return{'encrypt':function(_0x2ef1ee,_0x236897,_0x3c7117){var _0x43611a=_0x27ce;return _0x2f1128(_0x236897)[_0x43611a(0x3ad)](_0x1d1c47,_0x2ef1ee,_0x236897,_0x3c7117);},'decrypt':function(_0x215d65,_0x3b0e0f,_0x4cc31d){return _0x2f1128(_0x3b0e0f)['decrypt'](_0x1d1c47,_0x215d65,_0x3b0e0f,_0x4cc31d);}};};}())});_0x23c48f[_0x1036b0(0x2cc)]=_0x251b56[_0x1036b0(0x1a6)]({'_doFinalize':function(){var _0x5ced12=this['_process'](!0x0);return _0x5ced12;},'blockSize':0x1});var _0x18d368=_0x2ff3d6[_0x1036b0(0x381)]={},_0x5c2246=_0x23c48f[_0x1036b0(0x414)]=_0x4b30aa[_0x1036b0(0x1a6)]({'createEncryptor':function(_0x4294aa,_0x34fea1){var _0x17b1b8=_0x1036b0;return this[_0x17b1b8(0x470)][_0x17b1b8(0x438)](_0x4294aa,_0x34fea1);},'createDecryptor':function(_0x2307d6,_0x231b65){var _0x33b0cf=_0x1036b0;return this[_0x33b0cf(0x415)]['create'](_0x2307d6,_0x231b65);},'init':function(_0x4870ae,_0x484c68){var _0x355719=_0x1036b0;this['_cipher']=_0x4870ae,this[_0x355719(0x3b5)]=_0x484c68;}}),_0x4050c1=_0x18d368['CBC']=(function(){var _0x427540=_0x1036b0,_0x38ca50=_0x5c2246['extend']();_0x38ca50['Encryptor']=_0x38ca50[_0x427540(0x1a6)]({'processBlock':function(_0x50858a,_0x232827){var _0x28b5bd=_0x427540,_0x52c1ce=this[_0x28b5bd(0x445)],_0x1f18a7=_0x52c1ce[_0x28b5bd(0x481)];_0x16c200['call'](this,_0x50858a,_0x232827,_0x1f18a7),_0x52c1ce[_0x28b5bd(0x1e9)](_0x50858a,_0x232827),this[_0x28b5bd(0x248)]=_0x50858a[_0x28b5bd(0x425)](_0x232827,_0x232827+_0x1f18a7);}}),_0x38ca50[_0x427540(0x415)]=_0x38ca50[_0x427540(0x1a6)]({'processBlock':function(_0x1f649a,_0x30381e){var _0x53222b=_0x427540,_0x190836=this[_0x53222b(0x445)],_0x75e815=_0x190836[_0x53222b(0x481)],_0x6186b3=_0x1f649a[_0x53222b(0x425)](_0x30381e,_0x30381e+_0x75e815);_0x190836[_0x53222b(0x368)](_0x1f649a,_0x30381e),_0x16c200['call'](this,_0x1f649a,_0x30381e,_0x75e815),this[_0x53222b(0x248)]=_0x6186b3;}});function _0x16c200(_0x16d9a6,_0x523181,_0x2312a6){var _0x56ad3a=_0x427540,_0x29ffa8,_0xad7434=this['_iv'];_0xad7434?(_0x29ffa8=_0xad7434,this[_0x56ad3a(0x3b5)]=_0x31caf3):_0x29ffa8=this['_prevBlock'];for(var _0x156472=0x0;_0x156472<_0x2312a6;_0x156472++)_0x16d9a6[_0x523181+_0x156472]^=_0x29ffa8[_0x156472];}return _0x38ca50;}()),_0x5bbe45=_0x2ff3d6['pad']={},_0x815124=_0x5bbe45[_0x1036b0(0x3f7)]={'pad':function(_0x2e2e13,_0x5ab714){var _0x4917fd=_0x1036b0;for(var _0x2727b3=_0x5ab714*0x4,_0x3239f4=_0x2727b3-_0x2e2e13[_0x4917fd(0x3bf)]%_0x2727b3,_0x47339c=_0x3239f4<<0x18|_0x3239f4<<0x10|_0x3239f4<<0x8|_0x3239f4,_0xe896ef=[],_0x492a08=0x0;_0x492a08<_0x3239f4;_0x492a08+=0x4)_0xe896ef[_0x4917fd(0x2a8)](_0x47339c);var _0x1e4b97=_0x59115b['create'](_0xe896ef,_0x3239f4);_0x2e2e13[_0x4917fd(0x339)](_0x1e4b97);},'unpad':function(_0x26e256){var _0x52e142=_0x1036b0,_0x348d32=_0x26e256[_0x52e142(0x279)][_0x26e256[_0x52e142(0x3bf)]-0x1>>>0x2]&0xff;_0x26e256[_0x52e142(0x3bf)]-=_0x348d32;}};_0x23c48f[_0x1036b0(0x2c6)]=_0x251b56['extend']({'cfg':_0x251b56[_0x1036b0(0x25e)][_0x1036b0(0x1a6)]({'mode':_0x4050c1,'padding':_0x815124}),'reset':function(){var _0x385305=_0x1036b0,_0x34b055;_0x251b56[_0x385305(0x1f1)][_0x385305(0x3a5)](this);var _0x428e1b=this['cfg'],_0x48cabc=_0x428e1b['iv'],_0x11733f=_0x428e1b['mode'];this[_0x385305(0x321)]==this[_0x385305(0x413)]?_0x34b055=_0x11733f['createEncryptor']:(_0x34b055=_0x11733f[_0x385305(0x3e6)],this[_0x385305(0x305)]=0x1),this[_0x385305(0x1e5)]&&this['_mode'][_0x385305(0x225)]==_0x34b055?this[_0x385305(0x1e5)][_0x385305(0x405)](this,_0x48cabc&&_0x48cabc[_0x385305(0x279)]):(this[_0x385305(0x1e5)]=_0x34b055['call'](_0x11733f,this,_0x48cabc&&_0x48cabc['words']),this[_0x385305(0x1e5)][_0x385305(0x225)]=_0x34b055);},'_doProcessBlock':function(_0x1da51e,_0x29c85f){var _0x496dab=_0x1036b0;this[_0x496dab(0x1e5)][_0x496dab(0x289)](_0x1da51e,_0x29c85f);},'_doFinalize':function(){var _0x57b916=_0x1036b0,_0x50a0fe,_0x1b733b=this[_0x57b916(0x25e)][_0x57b916(0x336)];return this[_0x57b916(0x321)]==this[_0x57b916(0x413)]?(_0x1b733b[_0x57b916(0x3d2)](this['_data'],this[_0x57b916(0x481)]),_0x50a0fe=this[_0x57b916(0x228)](!0x0)):(_0x50a0fe=this[_0x57b916(0x228)](!0x0),_0x1b733b[_0x57b916(0x3f4)](_0x50a0fe)),_0x50a0fe;},'blockSize':0x80/0x20});var _0x3d214c=_0x23c48f[_0x1036b0(0x1ed)]=_0x4b30aa[_0x1036b0(0x1a6)]({'init':function(_0x390405){this['mixIn'](_0x390405);},'toString':function(_0x538597){var _0x43dc25=_0x1036b0;return(_0x538597||this[_0x43dc25(0x314)])[_0x43dc25(0x397)](this);}}),_0x2cf7dd=_0x2ff3d6[_0x1036b0(0x1c6)]={},_0x4459cc=_0x2cf7dd[_0x1036b0(0x45f)]={'stringify':function(_0x33cc86){var _0x165ac5=_0x1036b0,_0x3c474b,_0x5ead7f=_0x33cc86['ciphertext'],_0x14f934=_0x33cc86['salt'];return _0x14f934?_0x3c474b=_0x59115b[_0x165ac5(0x438)]([0x53616c74,0x65645f5f])[_0x165ac5(0x339)](_0x14f934)[_0x165ac5(0x339)](_0x5ead7f):_0x3c474b=_0x5ead7f,_0x3c474b[_0x165ac5(0x242)](_0x157ef0);},'parse':function(_0x5d7617){var _0x7c60f7=_0x1036b0,_0x5b7590,_0x525f30=_0x157ef0['parse'](_0x5d7617),_0xe3622f=_0x525f30[_0x7c60f7(0x279)];return _0xe3622f[0x0]==0x53616c74&&_0xe3622f[0x1]==0x65645f5f&&(_0x5b7590=_0x59115b[_0x7c60f7(0x438)](_0xe3622f[_0x7c60f7(0x425)](0x2,0x4)),_0xe3622f[_0x7c60f7(0x270)](0x0,0x4),_0x525f30[_0x7c60f7(0x3bf)]-=0x10),_0x3d214c[_0x7c60f7(0x438)]({'ciphertext':_0x525f30,'salt':_0x5b7590});}},_0x4f76db=_0x23c48f[_0x1036b0(0x3f8)]=_0x4b30aa[_0x1036b0(0x1a6)]({'cfg':_0x4b30aa[_0x1036b0(0x1a6)]({'format':_0x4459cc}),'encrypt':function(_0x4aad3c,_0x2584aa,_0x3a42e5,_0x1119a6){var _0x728c8e=_0x1036b0;_0x1119a6=this['cfg'][_0x728c8e(0x1a6)](_0x1119a6);var _0x172704=_0x4aad3c['createEncryptor'](_0x3a42e5,_0x1119a6),_0x394557=_0x172704[_0x728c8e(0x39e)](_0x2584aa),_0x45d8ad=_0x172704[_0x728c8e(0x25e)];return _0x3d214c[_0x728c8e(0x438)]({'ciphertext':_0x394557,'key':_0x3a42e5,'iv':_0x45d8ad['iv'],'algorithm':_0x4aad3c,'mode':_0x45d8ad[_0x728c8e(0x381)],'padding':_0x45d8ad[_0x728c8e(0x336)],'blockSize':_0x4aad3c[_0x728c8e(0x481)],'formatter':_0x1119a6[_0x728c8e(0x1c6)]});},'decrypt':function(_0x2b12ba,_0x43769f,_0x4c9dc7,_0x50d00b){var _0x42c8ce=_0x1036b0;_0x50d00b=this[_0x42c8ce(0x25e)][_0x42c8ce(0x1a6)](_0x50d00b),_0x43769f=this[_0x42c8ce(0x2dd)](_0x43769f,_0x50d00b['format']);var _0x122a0f=_0x2b12ba['createDecryptor'](_0x4c9dc7,_0x50d00b)[_0x42c8ce(0x39e)](_0x43769f[_0x42c8ce(0x37a)]);return _0x122a0f;},'_parse':function(_0x4d7e96,_0x491892){var _0x283ba8=_0x1036b0;return typeof _0x4d7e96==_0x283ba8(0x268)?_0x491892[_0x283ba8(0x186)](_0x4d7e96,this):_0x4d7e96;}}),_0x5f01bb=_0x2ff3d6[_0x1036b0(0x3d9)]={},_0x186754=_0x5f01bb[_0x1036b0(0x45f)]={'execute':function(_0x4438ff,_0x4fb220,_0xd3fd3a,_0xc08c96,_0x2dc179){var _0x14aeb7=_0x1036b0;if(_0xc08c96||(_0xc08c96=_0x59115b[_0x14aeb7(0x28c)](0x40/0x8)),_0x2dc179)var _0x17feda=_0x3daa5e['create']({'keySize':_0x4fb220+_0xd3fd3a,'hasher':_0x2dc179})[_0x14aeb7(0x187)](_0x4438ff,_0xc08c96);else var _0x17feda=_0x3daa5e[_0x14aeb7(0x438)]({'keySize':_0x4fb220+_0xd3fd3a})[_0x14aeb7(0x187)](_0x4438ff,_0xc08c96);var _0x4eb0ec=_0x59115b[_0x14aeb7(0x438)](_0x17feda[_0x14aeb7(0x279)][_0x14aeb7(0x425)](_0x4fb220),_0xd3fd3a*0x4);return _0x17feda[_0x14aeb7(0x3bf)]=_0x4fb220*0x4,_0x3d214c[_0x14aeb7(0x438)]({'key':_0x17feda,'iv':_0x4eb0ec,'salt':_0xc08c96});}},_0x9c3e5f=_0x23c48f[_0x1036b0(0x42f)]=_0x4f76db['extend']({'cfg':_0x4f76db['cfg'][_0x1036b0(0x1a6)]({'kdf':_0x186754}),'encrypt':function(_0x17c5bf,_0x4ac5d0,_0x28d451,_0x2353c1){var _0x16ee37=_0x1036b0;_0x2353c1=this[_0x16ee37(0x25e)]['extend'](_0x2353c1);var _0x19fbb9=_0x2353c1[_0x16ee37(0x3d9)][_0x16ee37(0x3d1)](_0x28d451,_0x17c5bf[_0x16ee37(0x1ce)],_0x17c5bf['ivSize'],_0x2353c1[_0x16ee37(0x1e2)],_0x2353c1[_0x16ee37(0x36a)]);_0x2353c1['iv']=_0x19fbb9['iv'];var _0x522e2e=_0x4f76db[_0x16ee37(0x3ad)][_0x16ee37(0x3a5)](this,_0x17c5bf,_0x4ac5d0,_0x19fbb9[_0x16ee37(0x399)],_0x2353c1);return _0x522e2e[_0x16ee37(0x1ee)](_0x19fbb9),_0x522e2e;},'decrypt':function(_0x158c44,_0x2449e9,_0x49d499,_0x304b56){var _0x5663aa=_0x1036b0;_0x304b56=this[_0x5663aa(0x25e)][_0x5663aa(0x1a6)](_0x304b56),_0x2449e9=this[_0x5663aa(0x2dd)](_0x2449e9,_0x304b56[_0x5663aa(0x1c6)]);var _0x4da939=_0x304b56[_0x5663aa(0x3d9)][_0x5663aa(0x3d1)](_0x49d499,_0x158c44['keySize'],_0x158c44['ivSize'],_0x2449e9['salt'],_0x304b56[_0x5663aa(0x36a)]);_0x304b56['iv']=_0x4da939['iv'];var _0x1cd265=_0x4f76db[_0x5663aa(0x468)]['call'](this,_0x158c44,_0x2449e9,_0x4da939[_0x5663aa(0x399)],_0x304b56);return _0x1cd265;}});}();}));}(Xe)),Xe['exports'];}var In=Ve['exports'],ei;function mn(){var _0x3b92b1=_0x5df1fb;return ei||(ei=0x1,function(_0x386f20,_0x42a210){(function(_0x894acd,_0x1595f6,_0x3b4b63){var _0x533968=_0x27ce;_0x386f20[_0x533968(0x278)]=_0x1595f6(ie(),Ri(),ln(),Ni(),Ci());}(In,function(_0x342519){return(function(){var _0x50046a=_0x27ce,_0x42e1d9=_0x342519,_0xf6dc39=_0x42e1d9['lib'],_0x453ca2=_0xf6dc39[_0x50046a(0x2c6)],_0x541cee=_0x42e1d9[_0x50046a(0x20b)],_0x5916e7=[],_0x46dccb=[],_0x49d119=[],_0x452cf0=[],_0x2c9e09=[],_0x10ee33=[],_0x28e219=[],_0x1aa41d=[],_0x2c86c2=[],_0x2531ca=[];(function(){for(var _0x3ec47c=[],_0x36b158=0x0;_0x36b158<0x100;_0x36b158++)_0x36b158<0x80?_0x3ec47c[_0x36b158]=_0x36b158<<0x1:_0x3ec47c[_0x36b158]=_0x36b158<<0x1^0x11b;for(var _0xf31d4d=0x0,_0x3ac3ca=0x0,_0x36b158=0x0;_0x36b158<0x100;_0x36b158++){var _0x1663b0=_0x3ac3ca^_0x3ac3ca<<0x1^_0x3ac3ca<<0x2^_0x3ac3ca<<0x3^_0x3ac3ca<<0x4;_0x1663b0=_0x1663b0>>>0x8^_0x1663b0&0xff^0x63,_0x5916e7[_0xf31d4d]=_0x1663b0,_0x46dccb[_0x1663b0]=_0xf31d4d;var _0x193341=_0x3ec47c[_0xf31d4d],_0x2994c6=_0x3ec47c[_0x193341],_0x37772c=_0x3ec47c[_0x2994c6],_0x56ba1b=_0x3ec47c[_0x1663b0]*0x101^_0x1663b0*0x1010100;_0x49d119[_0xf31d4d]=_0x56ba1b<<0x18|_0x56ba1b>>>0x8,_0x452cf0[_0xf31d4d]=_0x56ba1b<<0x10|_0x56ba1b>>>0x10,_0x2c9e09[_0xf31d4d]=_0x56ba1b<<0x8|_0x56ba1b>>>0x18,_0x10ee33[_0xf31d4d]=_0x56ba1b;var _0x56ba1b=_0x37772c*0x1010101^_0x2994c6*0x10001^_0x193341*0x101^_0xf31d4d*0x1010100;_0x28e219[_0x1663b0]=_0x56ba1b<<0x18|_0x56ba1b>>>0x8,_0x1aa41d[_0x1663b0]=_0x56ba1b<<0x10|_0x56ba1b>>>0x10,_0x2c86c2[_0x1663b0]=_0x56ba1b<<0x8|_0x56ba1b>>>0x18,_0x2531ca[_0x1663b0]=_0x56ba1b,_0xf31d4d?(_0xf31d4d=_0x193341^_0x3ec47c[_0x3ec47c[_0x3ec47c[_0x37772c^_0x193341]]],_0x3ac3ca^=_0x3ec47c[_0x3ec47c[_0x3ac3ca]]):_0xf31d4d=_0x3ac3ca=0x1;}}());var _0x519dfc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x57cf3e=_0x541cee['AES']=_0x453ca2['extend']({'_doReset':function(){var _0x47309b=_0x50046a,_0x3099a0;if(!(this[_0x47309b(0x1bb)]&&this['_keyPriorReset']===this[_0x47309b(0x48a)])){for(var _0x49210e=this[_0x47309b(0x1bc)]=this[_0x47309b(0x48a)],_0x264a33=_0x49210e['words'],_0x4b638d=_0x49210e[_0x47309b(0x3bf)]/0x4,_0x2d8aea=this[_0x47309b(0x1bb)]=_0x4b638d+0x6,_0x57ed3c=(_0x2d8aea+0x1)*0x4,_0x3f8c3c=this[_0x47309b(0x18d)]=[],_0x3dad9b=0x0;_0x3dad9b<_0x57ed3c;_0x3dad9b++)_0x3dad9b<_0x4b638d?_0x3f8c3c[_0x3dad9b]=_0x264a33[_0x3dad9b]:(_0x3099a0=_0x3f8c3c[_0x3dad9b-0x1],_0x3dad9b%_0x4b638d?_0x4b638d>0x6&&_0x3dad9b%_0x4b638d==0x4&&(_0x3099a0=_0x5916e7[_0x3099a0>>>0x18]<<0x18|_0x5916e7[_0x3099a0>>>0x10&0xff]<<0x10|_0x5916e7[_0x3099a0>>>0x8&0xff]<<0x8|_0x5916e7[_0x3099a0&0xff]):(_0x3099a0=_0x3099a0<<0x8|_0x3099a0>>>0x18,_0x3099a0=_0x5916e7[_0x3099a0>>>0x18]<<0x18|_0x5916e7[_0x3099a0>>>0x10&0xff]<<0x10|_0x5916e7[_0x3099a0>>>0x8&0xff]<<0x8|_0x5916e7[_0x3099a0&0xff],_0x3099a0^=_0x519dfc[_0x3dad9b/_0x4b638d|0x0]<<0x18),_0x3f8c3c[_0x3dad9b]=_0x3f8c3c[_0x3dad9b-_0x4b638d]^_0x3099a0);for(var _0x45b687=this[_0x47309b(0x318)]=[],_0x56b40f=0x0;_0x56b40f<_0x57ed3c;_0x56b40f++){var _0x3dad9b=_0x57ed3c-_0x56b40f;if(_0x56b40f%0x4)var _0x3099a0=_0x3f8c3c[_0x3dad9b];else var _0x3099a0=_0x3f8c3c[_0x3dad9b-0x4];_0x56b40f<0x4||_0x3dad9b<=0x4?_0x45b687[_0x56b40f]=_0x3099a0:_0x45b687[_0x56b40f]=_0x28e219[_0x5916e7[_0x3099a0>>>0x18]]^_0x1aa41d[_0x5916e7[_0x3099a0>>>0x10&0xff]]^_0x2c86c2[_0x5916e7[_0x3099a0>>>0x8&0xff]]^_0x2531ca[_0x5916e7[_0x3099a0&0xff]];}}},'encryptBlock':function(_0x3ddad7,_0x3eb291){var _0x30e677=_0x50046a;this['_doCryptBlock'](_0x3ddad7,_0x3eb291,this[_0x30e677(0x18d)],_0x49d119,_0x452cf0,_0x2c9e09,_0x10ee33,_0x5916e7);},'decryptBlock':function(_0x4a06f3,_0x27ba4a){var _0x3f86e7=_0x50046a,_0x1ac7b8=_0x4a06f3[_0x27ba4a+0x1];_0x4a06f3[_0x27ba4a+0x1]=_0x4a06f3[_0x27ba4a+0x3],_0x4a06f3[_0x27ba4a+0x3]=_0x1ac7b8,this[_0x3f86e7(0x31c)](_0x4a06f3,_0x27ba4a,this[_0x3f86e7(0x318)],_0x28e219,_0x1aa41d,_0x2c86c2,_0x2531ca,_0x46dccb);var _0x1ac7b8=_0x4a06f3[_0x27ba4a+0x1];_0x4a06f3[_0x27ba4a+0x1]=_0x4a06f3[_0x27ba4a+0x3],_0x4a06f3[_0x27ba4a+0x3]=_0x1ac7b8;},'_doCryptBlock':function(_0x343386,_0x427fa0,_0x180ae1,_0x4406f0,_0x30ad02,_0x525cee,_0x4b2da6,_0x3f77e7){var _0x26dd3b=_0x50046a;for(var _0x9df6d8=this[_0x26dd3b(0x1bb)],_0x58bf09=_0x343386[_0x427fa0]^_0x180ae1[0x0],_0x56abb5=_0x343386[_0x427fa0+0x1]^_0x180ae1[0x1],_0x82286d=_0x343386[_0x427fa0+0x2]^_0x180ae1[0x2],_0x4bac00=_0x343386[_0x427fa0+0x3]^_0x180ae1[0x3],_0x661068=0x4,_0x322f82=0x1;_0x322f82<_0x9df6d8;_0x322f82++){var _0x26da1f=_0x4406f0[_0x58bf09>>>0x18]^_0x30ad02[_0x56abb5>>>0x10&0xff]^_0x525cee[_0x82286d>>>0x8&0xff]^_0x4b2da6[_0x4bac00&0xff]^_0x180ae1[_0x661068++],_0x108a8c=_0x4406f0[_0x56abb5>>>0x18]^_0x30ad02[_0x82286d>>>0x10&0xff]^_0x525cee[_0x4bac00>>>0x8&0xff]^_0x4b2da6[_0x58bf09&0xff]^_0x180ae1[_0x661068++],_0x57809a=_0x4406f0[_0x82286d>>>0x18]^_0x30ad02[_0x4bac00>>>0x10&0xff]^_0x525cee[_0x58bf09>>>0x8&0xff]^_0x4b2da6[_0x56abb5&0xff]^_0x180ae1[_0x661068++],_0xbed54c=_0x4406f0[_0x4bac00>>>0x18]^_0x30ad02[_0x58bf09>>>0x10&0xff]^_0x525cee[_0x56abb5>>>0x8&0xff]^_0x4b2da6[_0x82286d&0xff]^_0x180ae1[_0x661068++];_0x58bf09=_0x26da1f,_0x56abb5=_0x108a8c,_0x82286d=_0x57809a,_0x4bac00=_0xbed54c;}var _0x26da1f=(_0x3f77e7[_0x58bf09>>>0x18]<<0x18|_0x3f77e7[_0x56abb5>>>0x10&0xff]<<0x10|_0x3f77e7[_0x82286d>>>0x8&0xff]<<0x8|_0x3f77e7[_0x4bac00&0xff])^_0x180ae1[_0x661068++],_0x108a8c=(_0x3f77e7[_0x56abb5>>>0x18]<<0x18|_0x3f77e7[_0x82286d>>>0x10&0xff]<<0x10|_0x3f77e7[_0x4bac00>>>0x8&0xff]<<0x8|_0x3f77e7[_0x58bf09&0xff])^_0x180ae1[_0x661068++],_0x57809a=(_0x3f77e7[_0x82286d>>>0x18]<<0x18|_0x3f77e7[_0x4bac00>>>0x10&0xff]<<0x10|_0x3f77e7[_0x58bf09>>>0x8&0xff]<<0x8|_0x3f77e7[_0x56abb5&0xff])^_0x180ae1[_0x661068++],_0xbed54c=(_0x3f77e7[_0x4bac00>>>0x18]<<0x18|_0x3f77e7[_0x58bf09>>>0x10&0xff]<<0x10|_0x3f77e7[_0x56abb5>>>0x8&0xff]<<0x8|_0x3f77e7[_0x82286d&0xff])^_0x180ae1[_0x661068++];_0x343386[_0x427fa0]=_0x26da1f,_0x343386[_0x427fa0+0x1]=_0x108a8c,_0x343386[_0x427fa0+0x2]=_0x57809a,_0x343386[_0x427fa0+0x3]=_0xbed54c;},'keySize':0x100/0x20});_0x42e1d9[_0x50046a(0x3d7)]=_0x453ca2[_0x50046a(0x3e9)](_0x57cf3e);}()),_0x342519['AES'];}));}(Ve)),Ve[_0x3b92b1(0x278)];}var Sn=mn();const gn=$e(Sn);var Tn=Ri();const ti=$e(Tn);var Je={'exports':{}},On=Je[_0x5df1fb(0x278)],ii;function Rn(){var _0x1b1356=_0x5df1fb;return ii||(ii=0x1,function(_0x162e81,_0xb8888f){(function(_0x2c0d1c,_0x6d87e1){var _0x5f8e43=_0x27ce;_0x162e81[_0x5f8e43(0x278)]=_0x6d87e1(ie());}(On,function(_0x1d05e0){var _0x9e26c0=_0x27ce;return _0x1d05e0[_0x9e26c0(0x417)][_0x9e26c0(0x372)];}));}(Je)),Je[_0x1b1356(0x278)];}var Nn=Rn();const Cn=$e(Nn);var Ze={'exports':{}},bn=Ze[_0x5df1fb(0x278)],si;function Dn(){var _0x2785fb=_0x5df1fb;return si||(si=0x1,function(_0x1e0c75,_0x36c041){(function(_0x19236a,_0x3c3bef){_0x1e0c75['exports']=_0x3c3bef(ie());}(bn,function(_0x8f4b4f){var _0x37d574=_0x27ce;return(function(){var _0x370bfc=_0x27ce;if(typeof ArrayBuffer==_0x370bfc(0x1fe)){var _0xd8bf48=_0x8f4b4f,_0x99d98f=_0xd8bf48[_0x370bfc(0x195)],_0x4c26a5=_0x99d98f[_0x370bfc(0x253)],_0xcf3f=_0x4c26a5[_0x370bfc(0x405)],_0x124f55=_0x4c26a5[_0x370bfc(0x405)]=function(_0xc7ef71){var _0x5bb371=_0x370bfc;if(_0xc7ef71 instanceof ArrayBuffer&&(_0xc7ef71=new Uint8Array(_0xc7ef71)),(_0xc7ef71 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xc7ef71 instanceof Uint8ClampedArray||_0xc7ef71 instanceof Int16Array||_0xc7ef71 instanceof Uint16Array||_0xc7ef71 instanceof Int32Array||_0xc7ef71 instanceof Uint32Array||_0xc7ef71 instanceof Float32Array||_0xc7ef71 instanceof Float64Array)&&(_0xc7ef71=new Uint8Array(_0xc7ef71[_0x5bb371(0x2ca)],_0xc7ef71[_0x5bb371(0x463)],_0xc7ef71['byteLength'])),_0xc7ef71 instanceof Uint8Array){for(var _0x285df7=_0xc7ef71[_0x5bb371(0x1f8)],_0x1dd6b5=[],_0x4f8617=0x0;_0x4f8617<_0x285df7;_0x4f8617++)_0x1dd6b5[_0x4f8617>>>0x2]|=_0xc7ef71[_0x4f8617]<<0x18-_0x4f8617%0x4*0x8;_0xcf3f[_0x5bb371(0x3a5)](this,_0x1dd6b5,_0x285df7);}else _0xcf3f[_0x5bb371(0x1b6)](this,arguments);};_0x124f55[_0x370bfc(0x1a3)]=_0x4c26a5;}}()),_0x8f4b4f['lib'][_0x37d574(0x253)];}));}(Ze)),Ze[_0x2785fb(0x278)];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x5df1fb(0x278)],ni;function Pn(){var _0x112156=_0x5df1fb;return ni||(ni=0x1,function(_0x4ee8f7,_0x5addd1){(function(_0x123d63,_0x5db915,_0x56b1d6){_0x4ee8f7['exports']=_0x5db915(ie(),Ci());}(An,function(_0x17690c){var _0x43432b=_0x27ce;return _0x17690c[_0x43432b(0x3d2)][_0x43432b(0x3af)]={'pad':function(){},'unpad':function(){}},_0x17690c['pad'][_0x43432b(0x3af)];}));}(Qe)),Qe[_0x112156(0x278)];}var Ln=Pn();const wn=$e(Ln);function Mn(_0x23a396,_0x1d7a03){var _0x113380=_0x5df1fb;const _0xfa5a73=_0x1d7a03-_0x23a396['length']%_0x1d7a03,_0x3e3e02=String['fromCharCode'](_0xfa5a73)[_0x113380(0x30f)](_0xfa5a73);return _0x23a396+_0x3e3e02;}function xn(_0x2289be,_0x4a1b52){var _0x517dce=_0x5df1fb;const _0x4071f1=Un[_0x517dce(0x28c)](0x10),_0x4b93a2=Mn(_0x2289be,0x10),_0x1ebd10=gn['encrypt'](Cn[_0x517dce(0x186)](_0x4b93a2),ti['parse'](_0x4a1b52),{'iv':_0x4071f1,'padding':wn});return _0x4071f1[_0x517dce(0x339)](_0x1ebd10[_0x517dce(0x37a)])[_0x517dce(0x242)](ti);}function kn(){var _0xdcd52e=_0x5df1fb;const _0x7eb1cf=_0x4eae6f()['__Key__'];if(_0x7eb1cf){const _0x595169={'time':Math[_0xdcd52e(0x2d0)](Date[_0xdcd52e(0x466)]()/0x3e8),'domain':location[_0xdcd52e(0x240)]};return xn(JSON[_0xdcd52e(0x397)](_0x595169),_0x7eb1cf);}}var $n=Object[_0x5df1fb(0x464)],Hn=(_0x1db7fd,_0x43552c,_0x43c4c2,_0x537644)=>{var _0x56343a=_0x5df1fb;for(var _0x468db5=_0x537644>0x1?void 0x0:_0x537644?$n(_0x43552c,_0x43c4c2):_0x43552c,_0x565e7e=_0x1db7fd[_0x56343a(0x20f)]-0x1,_0x19ab9f;_0x565e7e>=0x0;_0x565e7e--)(_0x19ab9f=_0x1db7fd[_0x565e7e])&&(_0x468db5=_0x19ab9f(_0x468db5)||_0x468db5);return _0x468db5;},Bn=(_0x54bb85,_0x1ffee0)=>(_0x44ad3a,_0x4e5349)=>_0x1ffee0(_0x44ad3a,_0x4e5349,_0x54bb85);let at=class{constructor(_0x83870d){var _0x348b6d=_0x5df1fb;this[_0x348b6d(0x3a6)]=_0x83870d,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x5e16e5=_0x5df1fb;this[_0x5e16e5(0x3a6)][_0x5e16e5(0x236)]({'interceptor':(_0x2ecb21,_0x1ba52c)=>{var _0x52c912=_0x5e16e5;const _0x2f0ce0=_0x2ecb21[_0x52c912(0x22a)],_0x13a288=kn();return _0x13a288&&_0x2f0ce0[_0x52c912(0x1ca)](_0x52c912(0x354),_0x13a288),_0x1ba52c(_0x2ecb21);}});}};at=Hn([Bn(0x0,_0x32799d(_0x413802))],at);var Fn=Object['getOwnPropertyDescriptor'],jn=(_0x62fcf1,_0x4a3a74,_0x30aafc,_0x9b2da1)=>{for(var _0x12c037=_0x9b2da1>0x1?void 0x0:_0x9b2da1?Fn(_0x4a3a74,_0x30aafc):_0x4a3a74,_0x95bda0=_0x62fcf1['length']-0x1,_0x40f8e4;_0x95bda0>=0x0;_0x95bda0--)(_0x40f8e4=_0x62fcf1[_0x95bda0])&&(_0x12c037=_0x40f8e4(_0x12c037)||_0x12c037);return _0x12c037;},vt=(_0x5a5d27,_0x8e180f)=>(_0x22bd91,_0x1ec7cf)=>_0x8e180f(_0x22bd91,_0x1ec7cf,_0x5a5d27);let Ot=class extends _0x3ef034{constructor(_0x22f6f9,_0x2c1818,_0x3d8494){var _0x5dd5e7=_0x5df1fb;super(),D(this,'_unitInfo$',new _0x306e8f(null)),D(this,'unitInfo$',this['_unitInfo$'][_0x5dd5e7(0x439)]()),(this[_0x5dd5e7(0x369)]=_0x22f6f9,this['_snapshotService']=_0x2c1818,this[_0x5dd5e7(0x26b)]=_0x3d8494);}async[_0x5df1fb(0x1df)](_0x3c2ab8,_0x43f988,_0x45d865){var _0x44b9b5=_0x5df1fb;this[_0x44b9b5(0x196)][_0x44b9b5(0x180)]({'unitId':_0x3c2ab8,'type':_0x43f988});let _0xab89e4=null;switch(_0x43f988){case Q['UNIVER_SHEET']:{_0xab89e4=await this[_0x44b9b5(0x3ee)]['loadSheet'](_0x3c2ab8,_0x45d865);break;}case Q['UNIVER_DOC']:{_0xab89e4=await this['_snapshotService']['loadDoc'](_0x3c2ab8,_0x45d865);break;}default:{this[_0x44b9b5(0x369)]['error'](_0x44b9b5(0x352),_0x44b9b5(0x340));break;}}return _0xab89e4;}async[_0x5df1fb(0x3bc)](_0x128572,_0x37d602,_0x2bde92){var _0x2ba2d6=_0x5df1fb,_0x156b2a;this[_0x2ba2d6(0x196)][_0x2ba2d6(0x180)]({'unitId':_0x128572,'type':_0x37d602,'subUnitId':_0x2bde92});let _0x4b51eb=0x0;const _0xb7ca53=await((_0x156b2a=this[_0x2ba2d6(0x26b)])==null?void 0x0:_0x156b2a[_0x2ba2d6(0x258)](_0x128572));return _0xb7ca53&&(_0xb7ca53[_0x2ba2d6(0x3b6)]||_0xb7ca53[_0x2ba2d6(0x2c7)]['length']!==0x0)&&(_0x4b51eb=_0xb7ca53[_0x2ba2d6(0x1b2)]),_0x4b51eb===0x0&&this[_0x2ba2d6(0x369)]['debug']('[DataLoaderService]',_0x2ba2d6(0x30c)),this[_0x2ba2d6(0x1df)](_0x128572,_0x37d602,_0x4b51eb);}};Ot=jn([vt(0x0,_0x5bdb8f),vt(0x1,_0x32799d(_0x3a91b2)),vt(0x2,_0x197bcd(X))],Ot);var Vn=Object[_0x5df1fb(0x464)],Gn=(_0x5d8072,_0x3d3554,_0x46a21b,_0x371c61)=>{var _0x2dbf5c=_0x5df1fb;for(var _0x4208e5=_0x371c61>0x1?void 0x0:_0x371c61?Vn(_0x3d3554,_0x46a21b):_0x3d3554,_0x8c2b4e=_0x5d8072[_0x2dbf5c(0x20f)]-0x1,_0x23db99;_0x8c2b4e>=0x0;_0x8c2b4e--)(_0x23db99=_0x5d8072[_0x8c2b4e])&&(_0x4208e5=_0x23db99(_0x4208e5)||_0x4208e5);return _0x4208e5;},Et=(_0x2a55f9,_0x4c4930)=>(_0xf4b985,_0x586876)=>_0x4c4930(_0xf4b985,_0x586876,_0x2a55f9);const Wn=[_0x5df1fb(0x1e4),'image/jpeg','image/jpg','image/gif',_0x5df1fb(0x193)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x5df1fb(0x2f7);let Rt=class{constructor(_0x277ea9,_0x59c3ed,_0x2a024a){var _0x4c9cc1=_0x5df1fb;D(this,_0x4c9cc1(0x21b),0x0),D(this,'_change$',new _0x2e6722()),D(this,_0x4c9cc1(0x2ec),this[_0x4c9cc1(0x49b)]),D(this,_0x4c9cc1(0x34f),new Map()),(this[_0x4c9cc1(0x3a6)]=_0x277ea9,this[_0x4c9cc1(0x2a3)]=_0x59c3ed,this[_0x4c9cc1(0x325)]=_0x2a024a);}[_0x5df1fb(0x2e1)](_0x297597){var _0x405fac=_0x5df1fb;this[_0x405fac(0x21b)]=_0x297597,this[_0x405fac(0x49b)][_0x405fac(0x180)](_0x297597);}[_0x5df1fb(0x483)](_0x30879d,_0x344055){var _0x53b95f=_0x5df1fb;if(_0x344055===_0x3137fe['BASE64']){const _0x46bca5=new Image();return _0x46bca5[_0x53b95f(0x1a7)]=_0x30879d,_0x46bca5;}return this[_0x53b95f(0x34f)][_0x53b95f(0x370)](_0x30879d);}[_0x5df1fb(0x313)](_0x315906,_0x3b07e5,_0xdb4540){var _0x1cd7e6=_0x5df1fb;_0x3b07e5===_0x3137fe[_0x1cd7e6(0x31e)]||_0xdb4540==null||this['_imageSourceCache'][_0x1cd7e6(0x1ca)](_0x315906,_0xdb4540);}async[_0x5df1fb(0x2fc)](_0x2c5120){var _0x202a6a=_0x5df1fb;try{const _0x1b469b=this[_0x202a6a(0x384)](this[_0x202a6a(0x1c9)](),''+_0x2c5120),_0x5cd948=(await this[_0x202a6a(0x3a6)][_0x202a6a(0x370)](_0x1b469b))[_0x202a6a(0x1ff)];if(_0x5cd948['error']&&_0x5cd948['error'][_0x202a6a(0x2b5)]===vi['OK']){const _0x3cea10=new URL(_0x5cd948[_0x202a6a(0x294)],this['_getDownloadEndpointURL']())[_0x202a6a(0x242)]();return Promise[_0x202a6a(0x266)](_0x3cea10);}return Promise['reject'](_0x5cd948[_0x202a6a(0x2a9)]);}catch(_0x5dbec7){return Promise[_0x202a6a(0x46a)](_0x5dbec7);}}async[_0x5df1fb(0x277)](_0x5dce24){var _0x8cf0a=_0x5df1fb;let _0x25b9fb='';if(!Wn[_0x8cf0a(0x395)](_0x5dce24[_0x8cf0a(0x47d)]))return this['_decreaseWaiting'](),Promise[_0x8cf0a(0x46a)](new Error(_0x5c1ad5[_0x8cf0a(0x335)]));if(_0x5dce24['size']>Yn)return this[_0x8cf0a(0x1a1)](),Promise[_0x8cf0a(0x46a)](new Error(_0x5c1ad5[_0x8cf0a(0x3b0)]));try{const _0x2f9387=new FormData();_0x2f9387['append']('file',_0x5dce24);const _0x490446=this[_0x8cf0a(0x325)][_0x8cf0a(0x32c)](),_0x4bdc19=_0x490446==null?void 0x0:_0x490446[_0x8cf0a(0x249)]();if(!_0x4bdc19)throw new Error(_0x8cf0a(0x430));const _0x16c6af=this[_0x8cf0a(0x2ea)]()+_0x8cf0a(0x2a0)+_0x5dce24[_0x8cf0a(0x215)][_0x8cf0a(0x242)]()+_0x8cf0a(0x26a)+Ei[_0x8cf0a(0x292)]+'&assign='+encodeURIComponent(_0x4bdc19),_0x122be5={'body':_0x2f9387},_0x19e3c6=(await this[_0x8cf0a(0x3a6)][_0x8cf0a(0x201)](_0x16c6af,_0x122be5))[_0x8cf0a(0x1ff)];if(typeof _0x19e3c6[_0x8cf0a(0x259)]!=_0x8cf0a(0x268))return this[_0x8cf0a(0x1a1)](),Promise[_0x8cf0a(0x46a)](new Error(_0x5c1ad5[_0x8cf0a(0x3e5)]));_0x25b9fb=_0x19e3c6[_0x8cf0a(0x259)];}catch{return this[_0x8cf0a(0x1a1)](),Promise[_0x8cf0a(0x46a)](new Error(_0x5c1ad5['ERROR_IMAGE']));}return new Promise((_0x3dbe3e,_0x357cb2)=>{var _0x50b773=_0x8cf0a;const _0x47229e=new FileReader();_0x47229e['readAsDataURL'](_0x5dce24),_0x47229e[_0x50b773(0x3e8)]=_0x6bfa35=>{var _0x2c64eb=_0x50b773,_0x181e8d;const _0x530c7c=(_0x181e8d=_0x6bfa35[_0x2c64eb(0x238)])==null?void 0x0:_0x181e8d[_0x2c64eb(0x1bd)];if(_0x530c7c==null){this['_decreaseWaiting'](),_0x357cb2(new Error(_0x5c1ad5['ERROR_IMAGE']));return;}const _0x4ffd3f=_0x3c6479(0x6);_0x3dbe3e({'imageId':_0x4ffd3f,'imageSourceType':_0x3137fe[_0x2c64eb(0x1f4)],'source':_0x25b9fb,'base64Cache':_0x530c7c,'status':_0x5c1ad5['SUCCUSS']}),this[_0x2c64eb(0x1a1)]();};});}[_0x5df1fb(0x2ea)](){var _0x315f06=_0x5df1fb,_0x10a7be;const _0x4c573c=this['_configService'][_0x315f06(0x3fe)](K);return(_0x10a7be=_0x4c573c==null?void 0x0:_0x4c573c['uploadFileServerUrl'])!=null?_0x10a7be:Kn;}[_0x5df1fb(0x1c9)](){var _0x472ef8=_0x5df1fb,_0x4a71f5;const _0x47b459=this[_0x472ef8(0x2a3)][_0x472ef8(0x3fe)](K);return(_0x4a71f5=_0x47b459==null?void 0x0:_0x47b459[_0x472ef8(0x27f)])!=null?_0x4a71f5:qn;}[_0x5df1fb(0x1aa)](){var _0x3d3006=_0x5df1fb,_0x383b26;const _0x1d7875=this[_0x3d3006(0x2a3)]['getConfig'](K);return(_0x383b26=_0x1d7875==null?void 0x0:_0x1d7875['downloadEndpointUrl'])!=null?_0x383b26:location[_0x3d3006(0x298)];}[_0x5df1fb(0x384)](_0x3f5654,_0x4fc511){var _0x1d5763=_0x5df1fb;return _0x3f5654[_0x1d5763(0x22f)](_0x1d5763(0x3a0),_0x4fc511);}[_0x5df1fb(0x1a1)](){var _0x387119=_0x5df1fb;this[_0x387119(0x21b)]-=0x1,this['_change$'][_0x387119(0x180)](this['_waitCount']);}};Rt=Gn([Et(0x0,_0x32799d(_0x413802)),Et(0x1,_0x70071),Et(0x2,_0x32799d(_0x81d56a))],Rt);var zn=Object['getOwnPropertyDescriptor'],Xn=(_0x13223e,_0x4ce533,_0x155ac7,_0x3f061b)=>{var _0x3247f4=_0x5df1fb;for(var _0x590fd2=_0x3f061b>0x1?void 0x0:_0x3f061b?zn(_0x4ce533,_0x155ac7):_0x4ce533,_0x350c74=_0x13223e[_0x3247f4(0x20f)]-0x1,_0x319fab;_0x350c74>=0x0;_0x350c74--)(_0x319fab=_0x13223e[_0x350c74])&&(_0x590fd2=_0x319fab(_0x590fd2)||_0x590fd2);return _0x590fd2;},ri=(_0xf7c934,_0x5daacb)=>(_0x25f811,_0xdd6709)=>_0x5daacb(_0x25f811,_0xdd6709,_0xf7c934);const Jn=_0x5df1fb(0x2ff);let Nt=class{constructor(_0x2bca05,_0x8a2060){var _0x1a4f2d=_0x5df1fb;this[_0x1a4f2d(0x2a3)]=_0x2bca05,this['_HTTPService']=_0x8a2060;}[_0x5df1fb(0x456)](){var _0x30b192=_0x5df1fb,_0x4bbd7a;const _0x7ee610=this[_0x30b192(0x2a3)][_0x30b192(0x3fe)](K);return(_0x4bbd7a=_0x7ee610==null?void 0x0:_0x7ee610['authzUrl'])!=null?_0x4bbd7a:Jn;}async[_0x5df1fb(0x19f)](_0x427480){var _0x33df88=_0x5df1fb;const _0x3b9a2a=this[_0x33df88(0x456)]()+_0x33df88(0x4a0);return{'list':[{'title':_0x33df88(0x220),'mentions':(await this[_0x33df88(0x190)][_0x33df88(0x370)](_0x3b9a2a,{'params':{'objectID':_0x427480[_0x33df88(0x376)],'unitID':_0x427480['unitId']}}))[_0x33df88(0x1ff)]['collaborators'][_0x33df88(0x3d3)](_0x3fd558=>({'objectId':_0x3fd558['id'],'name':_0x3fd558[_0x33df88(0x2d2)][_0x33df88(0x452)],'metadata':{'icon':_0x3fd558[_0x33df88(0x2d2)][_0x33df88(0x447)]},'label':_0x3fd558['subject']['name'],'objectType':_0x12b45b[_0x33df88(0x208)]})),'metadata':{},'type':_0x12b45b[_0x33df88(0x208)]}]};}};Nt=Xn([ri(0x0,_0x32799d(_0x70071)),ri(0x1,_0x32799d(_0x413802))],Nt);var Zn=Object[_0x5df1fb(0x464)],Qn=(_0x3171f1,_0x320729,_0x3b9dec,_0x5bc64d)=>{var _0x3e8cad=_0x5df1fb;for(var _0x409e39=_0x5bc64d>0x1?void 0x0:_0x5bc64d?Zn(_0x320729,_0x3b9dec):_0x320729,_0x3f8bd2=_0x3171f1[_0x3e8cad(0x20f)]-0x1,_0x50aef8;_0x3f8bd2>=0x0;_0x3f8bd2--)(_0x50aef8=_0x3171f1[_0x3f8bd2])&&(_0x409e39=_0x50aef8(_0x409e39)||_0x409e39);return _0x409e39;},Ue=(_0x32acc8,_0x37b750)=>(_0x456244,_0x3964d3)=>_0x37b750(_0x456244,_0x3964d3,_0x32acc8);let ot=class extends _0x3ef034{constructor(_0x48bf07,_0x273761,_0x4fc57e,_0x2d3500,_0x1edbd1){var _0x2cb04d=_0x5df1fb;super(),this[_0x2cb04d(0x323)]=_0x48bf07,this[_0x2cb04d(0x325)]=_0x273761,this[_0x2cb04d(0x202)]=_0x4fc57e,this['_collaborationSessionService']=_0x2d3500,this[_0x2cb04d(0x47a)]=_0x1edbd1,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x5df1fb(0x31f)](){var _0x546995=_0x5df1fb;const _0x2b1fe3=async _0x371038=>{var _0x3fde19=_0x27ce;(await this[_0x3fde19(0x25d)][_0x3fde19(0x455)](_0x371038))[_0x3fde19(0x267)][_0x3fde19(0x1eb)](_0x385443(_0x54e749=>_0x54e749['eventID']===_0x921ddb[_0x3fde19(0x199)]),_0x226588(this[_0x3fde19(0x21e)]))[_0x3fde19(0x2ae)](_0x1d4916=>{var _0x57b768=_0x3fde19;const _0x1cf152=_0x1d4916,{reason:_0x429fd4}=_0x1cf152[_0x57b768(0x326)];this['_collaborationUIEventService'][_0x57b768(0x1e3)]({'id':re['CLOSE_ROOM'],'data':_0x429fd4}),this['_permissionService']['updatePermissionPoint'](new _0x14efd6(_0x371038)['id'],!0x1),this[_0x57b768(0x25d)]['closeSession'](_0x371038);});};_0x524886(this[_0x546995(0x325)][_0x546995(0x363)](_0x4f4452[_0x546995(0x40a)]),this['_univerInstanceService'][_0x546995(0x363)](_0x4f4452[_0x546995(0x379)]))[_0x546995(0x1eb)](_0x5b37ce(_0x46d959=>_0x46d959[_0x546995(0x249)]()),_0x385443(_0x26b82a=>!_0xd18ebc(_0x26b82a)),_0x226588(this['dispose$']))['subscribe'](_0x57ad50=>{_0x2b1fe3(_0x57ad50);});}[_0x5df1fb(0x25b)](){var _0x56d020=_0x5df1fb;const _0x417ab4=async _0x345779=>{var _0x400df8=_0x27ce;const _0x35f77d=await this[_0x400df8(0x25d)]['requireSession'](_0x345779),_0x6f8116=this[_0x400df8(0x323)][_0x400df8(0x370)](_0x36454a);_0x35f77d[_0x400df8(0x267)]['pipe'](_0x385443(_0x40327e=>_0x40327e['eventID']===_0x921ddb[_0x400df8(0x2be)]),_0x226588(this[_0x400df8(0x21e)]))['subscribe'](_0x186d73=>{var _0x6dd00f=_0x400df8;const _0x453592=_0x186d73,{objectId:_0x50ec45}=_0x453592['data'];_0x50ec45===_0x345779?_0x6f8116[_0x6dd00f(0x30d)](_0x345779):_0x6f8116[_0x6dd00f(0x31b)](_0x345779,_0x50ec45);});};_0x524886(this[_0x56d020(0x325)][_0x56d020(0x363)](_0x4f4452[_0x56d020(0x40a)]))[_0x56d020(0x1eb)](_0x5b37ce(_0x53d7ec=>_0x53d7ec[_0x56d020(0x249)]()),_0x385443(_0x113ec6=>!_0xd18ebc(_0x113ec6)),_0x226588(this[_0x56d020(0x21e)]))[_0x56d020(0x2ae)](_0x33218d=>{_0x417ab4(_0x33218d);});}};ot=Qn([Ue(0x0,_0x32799d(_0x1edb1a)),Ue(0x1,_0x81d56a),Ue(0x2,_0x53b055),Ue(0x3,_0x32799d(Le)),Ue(0x4,_0x32799d(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x218db7,_0x6ee994,_0x1507f8,_0x1fd2b0)=>{var _0x26e7b9=_0x5df1fb;for(var _0x279879=_0x1fd2b0>0x1?void 0x0:_0x1fd2b0?er(_0x6ee994,_0x1507f8):_0x6ee994,_0x537d1a=_0x218db7[_0x26e7b9(0x20f)]-0x1,_0x12e3ed;_0x537d1a>=0x0;_0x537d1a--)(_0x12e3ed=_0x218db7[_0x537d1a])&&(_0x279879=_0x12e3ed(_0x279879)||_0x279879);return _0x279879;},ai=(_0x610ba4,_0x4fb73f)=>(_0x38051b,_0x544a43)=>_0x4fb73f(_0x38051b,_0x544a43,_0x610ba4);let Ct=class{constructor(_0x20c339,_0x2b981b){var _0x1de876=_0x5df1fb;this[_0x1de876(0x2a3)]=_0x20c339,this['_httpService']=_0x2b981b;}async[_0x5df1fb(0x319)](_0x3bd044,_0x119b3c){var _0x256c93=_0x5df1fb,_0x588939;const {unitID:_0x1e907a,type:_0x4f17d7,revision:_0x549fee=0x0}=_0x119b3c,_0x33f580=this['getSnapshotAPIPath']()+'/'+_0x4f17d7+_0x256c93(0x1b5)+_0x1e907a+_0x256c93(0x2b2)+_0x549fee,_0x518b43=(await this[_0x256c93(0x3a6)][_0x256c93(0x370)](_0x33f580))['body'],_0x225c16=(_0x588939=_0x518b43[_0x256c93(0x1d6)])==null?void 0x0:_0x588939[_0x256c93(0x3b3)];if(_0x225c16){const _0x4af05e=_0x225c16==null?void 0x0:_0x225c16[_0x256c93(0x39f)],_0x2566ee=_0x11ae94[_0x256c93(0x437)](_0xf5bb73(_0x4af05e));_0x225c16['originalMeta']=_0x2566ee,Object[_0x256c93(0x2cb)](_0x225c16[_0x256c93(0x32d)])[_0x256c93(0x28e)](([,_0x373457])=>{var _0x3de76e=_0x256c93;const _0x5752f1=_0x373457['originalMeta'],_0x6538e6=_0x11ae94[_0x3de76e(0x437)](_0xf5bb73(_0x5752f1));_0x373457[_0x3de76e(0x39f)]=_0x6538e6;});}return _0x518b43;}async[_0x5df1fb(0x43d)](_0x10070a,_0x403d30){var _0x3552ca=_0x5df1fb;const {unitID:_0xbc1dbf,type:_0x51838f,blockID:_0x31c05e}=_0x403d30,_0x355ac0=this[_0x3552ca(0x260)]()+'/'+_0x51838f+_0x3552ca(0x1b5)+_0xbc1dbf+_0x3552ca(0x257)+_0x31c05e;return(await this['_httpService']['get'](_0x355ac0))[_0x3552ca(0x1ff)];}async[_0x5df1fb(0x459)](_0x2095e1,_0x551e5d){var _0x1ae3f8=_0x5df1fb;const {unitID:_0x31e0a8,type:_0x2d39f1,blockID:_0x334a7c}=_0x551e5d,_0x1fd454=this[_0x1ae3f8(0x260)]()+_0x1ae3f8(0x257)+_0x2d39f1+_0x1ae3f8(0x1b5)+_0x31e0a8+_0x1ae3f8(0x257)+_0x334a7c;return(await this[_0x1ae3f8(0x3a6)]['get'](_0x1fd454))[_0x1ae3f8(0x1ff)];}async['fetchMissingChangesets'](_0x4b160c,_0x5c9f99){var _0x599c8c=_0x5df1fb;const {unitID:_0x403830,type:_0x21b523,from:_0x5d1856,to:_0x2fff34}=_0x5c9f99,_0x4612fd=this[_0x599c8c(0x260)]()+'/'+_0x21b523+_0x599c8c(0x1b5)+_0x403830+_0x599c8c(0x2ef)+_0x5d1856+_0x599c8c(0x373)+_0x2fff34;return(await this[_0x599c8c(0x3a6)][_0x599c8c(0x370)](_0x4612fd))[_0x599c8c(0x1ff)];}[_0x5df1fb(0x45d)](){var _0x1e8d8d=_0x5df1fb,_0xc6a134;return(_0xc6a134=this[_0x1e8d8d(0x2a3)]['getConfig'](vs))!=null?_0xc6a134:this[_0x1e8d8d(0x260)]();}[_0x5df1fb(0x260)](){var _0x30b368=_0x5df1fb,_0x4ecc44;const _0x133509=this[_0x30b368(0x2a3)]['getConfig'](K);return(_0x4ecc44=_0x133509==null?void 0x0:_0x133509[_0x30b368(0x18c)])!=null?_0x4ecc44:fs;}async['getResourcesRequest'](_0x71d89f,_0x4568d2){var _0xf9ed7c=_0x5df1fb;const _0x4f7e55=_0xf9ed7c(0x3dd)+_0x4568d2[_0xf9ed7c(0x47d)]+_0xf9ed7c(0x1b5)+_0x4568d2['unitID']+_0xf9ed7c(0x49d);return(await this['_httpService'][_0xf9ed7c(0x370)](_0x4f7e55,{'params':{'resourceId':JSON[_0xf9ed7c(0x397)](_0x4568d2[_0xf9ed7c(0x41d)])}}))[_0xf9ed7c(0x1ff)];}[_0x5df1fb(0x48d)](){var _0x4e5ff6=_0x5df1fb;throw new Error(_0x4e5ff6(0x48c));}['updateSnapshot'](){var _0x9c8951=_0x5df1fb;throw new Error(_0x9c8951(0x48c));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5df1fb(0x21a)](){var _0x805131=_0x5df1fb;throw new Error(_0x805131(0x48c));}[_0x5df1fb(0x261)](){var _0x518510=_0x5df1fb;throw new Error(_0x518510(0x48c));}[_0x5df1fb(0x3ef)](){var _0x33171f=_0x5df1fb;throw new Error(_0x33171f(0x48c));}};Ct=tr([ai(0x0,_0x70071),ai(0x1,_0x32799d(_0x413802))],Ct);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x367c89,_0x229c97,_0x365c32,_0x5333e4)=>{for(var _0x543da0=_0x5333e4>0x1?void 0x0:_0x5333e4?ir(_0x229c97,_0x365c32):_0x229c97,_0x1f55c7=_0x367c89['length']-0x1,_0x3d6dc;_0x1f55c7>=0x0;_0x1f55c7--)(_0x3d6dc=_0x367c89[_0x1f55c7])&&(_0x543da0=_0x3d6dc(_0x543da0)||_0x543da0);return _0x543da0;},Ae=(_0x380787,_0x5e0b08)=>(_0x349a49,_0x1d0ab1)=>_0x5e0b08(_0x349a49,_0x1d0ab1,_0x380787);let bt=class extends _0xd9e518{constructor(_0x955812,_0x4b6a34,_0xbace94,_0x3680cf,_0x56af60){var _0x4585c1=_0x5df1fb;super(_0x955812,_0x4b6a34,_0xbace94),this['_transformService']=_0x3680cf,this[_0x4585c1(0x369)]=_0x56af60;}['transformUndoRedo'](_0x2cccd1,_0x42ee4b){var _0x22d149=_0x5df1fb;const _0x47529c=this[_0x22d149(0x272)](_0x2cccd1);if(_0x47529c)try{const _0x17d5e6=this[_0x22d149(0x38c)](_0x47529c,_0x42ee4b);this['_substituteUndoStack'](_0x2cccd1,_0x17d5e6);}catch(_0x13ca8f){this[_0x22d149(0x369)][_0x22d149(0x2a9)]('[CollaborationUndoRedoService]',_0x13ca8f),this[_0x22d149(0x198)](_0x2cccd1);}const _0x4146db=this['_getRedoStack'](_0x2cccd1);if(_0x4146db)try{const _0xd5fa50=this['_transformStack'](_0x4146db,_0x42ee4b);this[_0x22d149(0x244)](_0x2cccd1,_0xd5fa50);}catch(_0x3cd7d5){this[_0x22d149(0x369)][_0x22d149(0x2a9)](_0x3cd7d5),this[_0x22d149(0x46c)](_0x2cccd1);}}[_0x5df1fb(0x198)](_0x29e9dc){var _0x18a3b5=_0x5df1fb;const _0x56fccd=this[_0x18a3b5(0x272)](_0x29e9dc);_0x56fccd&&(_0x56fccd['length']=0x0,this['_updateStatus']());}[_0x5df1fb(0x46c)](_0x3add3e){var _0x4cbdf1=_0x5df1fb;const _0x315a34=this['_getRedoStack'](_0x3add3e);_0x315a34&&(_0x315a34['length']=0x0,this[_0x4cbdf1(0x1e7)]());}[_0x5df1fb(0x37b)](_0x41a4ce,_0x5900c7){var _0x2a041d=_0x5df1fb;this[_0x2a041d(0x285)]['set'](_0x41a4ce,_0x5900c7),this[_0x2a041d(0x1e7)]();}[_0x5df1fb(0x244)](_0x2eff10,_0x47da34){var _0x51945c=_0x5df1fb;this[_0x51945c(0x374)]['set'](_0x2eff10,_0x47da34),this['_updateStatus']();}['_transformStack'](_0x507502,_0x2e70a4){var _0x21795=_0x5df1fb;const _0x4e4f84=[];let _0x5c09cd=_0x2e70a4,_0x38ae08=_0x2e70a4;for(let _0x1dc85b=_0x507502[_0x21795(0x20f)]-0x1;_0x1dc85b>=0x0;_0x1dc85b--){const {unitID:_0x2abf5e,undoMutations:_0x333957,redoMutations:_0x4f307}=_0x507502[_0x1dc85b],_0x3df25e=this[_0x21795(0x1b1)]['transformMutationsWithChangeset'](_0x5c09cd,_0x333957),_0x378790=this['_transformService'][_0x21795(0x45b)](_0x38ae08,_0x4f307);if(_0x260540(_0x3df25e)||_0x260540(_0x378790)){this[_0x21795(0x369)][_0x21795(0x2a9)]('[CollaborationUndoRedoService]',_0x21795(0x3c7),_0x3df25e,_0x378790);break;}_0x5c09cd=_0x3df25e[_0x21795(0x458)],_0x38ae08=_0x378790[_0x21795(0x458)],_0x4e4f84[_0x21795(0x2a8)]({'unitID':_0x2abf5e,'undoMutations':_0x3df25e['m2Prime'],'redoMutations':_0x378790[_0x21795(0x1bf)]});}return _0x4e4f84[_0x21795(0x2f5)]();}};bt=sr([Ae(0x0,_0x81d56a),Ae(0x1,_0x2c79d4),Ae(0x2,_0x55906c),Ae(0x3,_0x2f9be5),Ae(0x4,_0x5bdb8f)],bt);var nr=Object[_0x5df1fb(0x3b8)],rr=Object[_0x5df1fb(0x464)],ar=(_0x527ce3,_0x56e91a,_0xdaf93f)=>_0x56e91a in _0x527ce3?nr(_0x527ce3,_0x56e91a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xdaf93f}):_0x527ce3[_0x56e91a]=_0xdaf93f,or=(_0x2b7ec6,_0x137122,_0x27575a,_0x5e34f7)=>{var _0x16881d=_0x5df1fb;for(var _0x5d0a51=_0x5e34f7>0x1?void 0x0:_0x5e34f7?rr(_0x137122,_0x27575a):_0x137122,_0xa07a0f=_0x2b7ec6[_0x16881d(0x20f)]-0x1,_0x5e6d8e;_0xa07a0f>=0x0;_0xa07a0f--)(_0x5e6d8e=_0x2b7ec6[_0xa07a0f])&&(_0x5d0a51=_0x5e6d8e(_0x5d0a51)||_0x5d0a51);return _0x5d0a51;},pt=(_0x1cf727,_0x32348d)=>(_0x265122,_0x3f8e03)=>_0x32348d(_0x265122,_0x3f8e03,_0x1cf727),cr=(_0x7a5c66,_0x1d5143,_0xcf9575)=>ar(_0x7a5c66,_0x1d5143+'',_0xcf9575);const _r=_0x5df1fb(0x393);let Dt=class extends _0x462d8e{constructor(_0x3729ec,_0x1588f6,_0x406136,_0x4da808){var _0x1cbe1d=_0x5df1fb;super(),D(this,_0x1cbe1d(0x229)),(this[_0x1cbe1d(0x369)]=_0x1588f6,this[_0x1cbe1d(0x323)]=_0x406136,this[_0x1cbe1d(0x2a3)]=_0x4da808);const {..._0xbf1024}=_0xb229a6({},Ms,_0x3729ec);if(!_0xbf1024[_0x1cbe1d(0x273)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0xbf1024,this[_0x1cbe1d(0x2a3)]['setConfig'](K,_0xbf1024);}[_0x5df1fb(0x251)](){var _0x55fe59=_0x5df1fb;this[_0x55fe59(0x27a)](),this[_0x55fe59(0x1ac)]();}[_0x5df1fb(0x27a)](){var _0x250781=_0x5df1fb,_0x1a7a2a,_0x1f489c;this['_injector']['has'](_0x18f25c)&&this['_logService'][_0x250781(0x2a9)](_0x250781(0x454),_0x250781(0x2bd));const _0x4bdb7a=_0x2c1ab1([[_0x18f25c,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x250781(0x229)][_0x250781(0x273)]}],[_0x2fc106,{'useClass':Ct}],[_0x236ef5,{'useClass':Tt}],[_0x90161f,{'useClass':Rt}],[_0x39fdea,{'useClass':Nt}],[nt],[gt]],(_0x1a7a2a=this[_0x250781(0x229)])==null?void 0x0:_0x1a7a2a[_0x250781(0x31d)]);if(!((_0x1f489c=this['_config'])!=null&&_0x1f489c[_0x250781(0x383)])){const _0xd717a2=_0x4bdb7a['findIndex'](([_0x2c54e9])=>_0x2c54e9===_t);_0xd717a2!==-0x1&&_0x4bdb7a[_0x250781(0x270)](_0xd717a2,0x1);}_0x3097c5(this[_0x250781(0x323)],_0x4bdb7a);}[_0x5df1fb(0x1ac)](){var _0xc97b70=_0x5df1fb,_0x541863,_0x5ec03e,_0x400edc;this[_0xc97b70(0x323)][_0xc97b70(0x370)](_0x413802)[_0xc97b70(0x236)]({'priority':0x14,'interceptor':_0x5ef0d2({'maxParallel':0x6})}),(_0x541863=this['_config'])!=null&&_0x541863['enableOfflineEditing']||(_0x5ec03e=this[_0xc97b70(0x323)][_0xc97b70(0x370)](X,_0x123d68[_0xc97b70(0x1c8)]))==null||_0x5ec03e[_0xc97b70(0x284)](),(_0x400edc=this['_config'])!=null&&_0x400edc[_0xc97b70(0x234)]&&_0x1c3f24(this['_injector'],[[rt]]),_0x1c3f24(this['_injector'],[[at],[nt],[ot]]);}};cr(Dt,_0x5df1fb(0x448),_r),Dt=or([_0xac3699(_0x31095c,_0x258b41),pt(0x1,_0x5bdb8f),pt(0x2,_0x32799d(_0x1edb1a)),pt(0x3,_0x70071)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,ps as DEFAULT_COLLAB_WEB_SOCKET_URL,Nr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,mt as DocCollaborationEntity,ee as FetchingMissState,Is as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,X as ILocalCacheService,Fs as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,Ie as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,Ii as UnitStatus,Dt as UniverCollaborationClientPlugin,js as deserializeToCombResponse,Cr as getLocalCacheKey,Vs as serializeCombRequest};