@univerjs-pro/collaboration-client 0.15.1 → 0.15.2-insiders.20260122-b1556b1
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/config.schema.d.ts +1 -1
- package/lib/types/facade/f-collaboration.d.ts +12 -4
- package/lib/types/facade/f-event.d.ts +50 -0
- package/lib/types/facade/f-univer.d.ts +2 -1
- package/lib/types/facade/index.d.ts +2 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x23ae93=_0x97e6;(function(_0x753a02,_0x470f13){var _0x14e17a=_0x97e6,_0x1c0ed3=_0x753a02();while(!![]){try{var _0x6ec27e=parseInt(_0x14e17a(0x1cf))/0x1+parseInt(_0x14e17a(0x30d))/0x2+parseInt(_0x14e17a(0x128))/0x3+-parseInt(_0x14e17a(0x156))/0x4*(parseInt(_0x14e17a(0x205))/0x5)+-parseInt(_0x14e17a(0x40e))/0x6+-parseInt(_0x14e17a(0x409))/0x7+parseInt(_0x14e17a(0x34a))/0x8;if(_0x6ec27e===_0x470f13)break;else _0x1c0ed3['push'](_0x1c0ed3['shift']());}catch(_0xa63edd){_0x1c0ed3['push'](_0x1c0ed3['shift']());}}}(_0x6016,0x339e9));var Di=Object[_0x23ae93(0x3ad)],yi=(_0x409bfe,_0x4192e1,_0x252d94)=>_0x4192e1 in _0x409bfe?Di(_0x409bfe,_0x4192e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x252d94}):_0x409bfe[_0x4192e1]=_0x252d94,D=(_0x4c8340,_0x58d170,_0x1a0089)=>yi(_0x4c8340,typeof _0x58d170!='symbol'?_0x58d170+'':_0x58d170,_0x1a0089);import{CollaborationEvent as _0x2ea533,ITransformService as _0x3b1162,isTransformMutationsWithChangesetSuccess as _0x1277a2,mapDocumentTypeToUniverType as _0x3c7f2c,RevisionService as _0x5ea32b,isTransformChangesetsSuccess as _0x3432f4,EmptyMutationInfo as _0x5a441b,CompressMutationService as _0xfd7941,parseProtocolChangeset as _0x24ec53,uuidv4 as _0x36214e,ISnapshotServerService as _0xc11dd0,parseChangesetToProtocol as _0x596cce,SnapshotService as _0x2baed4,textEncoder as _0xfcc702,b64DecodeUnicode as _0x1b8e9e,isTransformMutationsWithChangesetFailure as _0x581472,UniverCollaborationPlugin as _0x3c5d3c}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x1437e0,Inject as _0x35e039,UserManagerService as _0x367c2e,Disposable as _0x2d9cd3,UniverInstanceType as _0x22b478,ILogService as _0x1e4e23,IConfigService as _0x31c935,Optional as _0x3a44cd,RxDisposable as _0x2d880a,createIdentifier as _0x4dcc81,Injector as _0xefc734,Tools as _0x4f0f8,Rectangle as _0xbc580b,ICommandService as _0x146785,JSONX as _0x91ed35,IUndoRedoService as _0x3d8dad,IPermissionService as _0x556f22,LocaleService as _0xaff562,sequenceExecute as _0x8d89f7,toDisposable as _0x294255,CommandType as _0xc8076,DisposableCollection as _0x588de7,Workbook as _0xbe02e3,resolveWithBasePath as _0x588563,generateRandomId as _0x306cc7,MentionType as _0x5adf46,isInternalEditorID as _0x21dbff,LocalUndoRedoService as _0x33ad4f,IContextService as _0x2c2426,DependentOn as _0xdd19be,Plugin as _0x439d09,merge as _0x1bc8ae,mergeOverrideWithDependencies as _0x40d90d,IAuthzIoService as _0x33e92e,IMentionIOService as _0x4deb8d,registerDependencies as _0xd201db,Quantity as _0x4457a7,touchDependencies as _0x19992a}from'@univerjs/core';import{RichTextEditingMutation as _0x39db7e}from'@univerjs/docs';import{SheetsSelectionsService as _0x15fc3c,SetSelectionsOperation as _0x4dd6c2,InsertSheetMutation as _0x482dee,WorkbookEditablePermission as _0x33890d,SheetPermissionInitController as _0x5f2e8a}from'@univerjs/sheets';import{Subject as _0x4b6979,merge as _0x1ec902,of as _0x44cf90,BehaviorSubject as _0x2d0dd9,takeUntil as _0x21b075,ReplaySubject as _0x3af47,take as _0x4fb047,map as _0xe7c4cc,shareReplay as _0xcf6c00,firstValueFrom as _0x17e89b,concatMap as _0x3e729d}from'rxjs';import{ITelemetryService as _0x1110bb}from'@univerjs/telemetry';import{map as _0x1fc977,take as _0x1608f1,filter as _0x6c24f,delay as _0x2f0844,takeUntil as _0x2439ea}from'rxjs/operators';import{HTTPService as _0x2cd902,ISocketService as _0x146fce,MergeInterceptorFactory as _0x4de83e,HTTPRequest as _0x44edf0,UniverNetworkPlugin as _0x55fa50,ThresholdInterceptorFactory as _0x51a95e}from'@univerjs/network';import{ImageSourceType as _0x1ec5d6,ImageUploadStatusType as _0x411100,IImageIoService as _0x3d890d}from'@univerjs/drawing';import{getGlobalObject as _0x27cee3}from'@univerjs-pro/license';const Es=_0x23ae93(0x389),ps=_0x23ae93(0x3ca),ms=0x7d0,Is='ws://127.0.0.1:8000/universer-api/comb/connect',Or=_0x23ae93(0x1e1),Ss=_0x23ae93(0x1ce),gs=0x7530,di=_0x23ae93(0x15f),fi=0x4e20,Ts=0x4e20,Os='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Rr='LOCAL_CACHE_INTERVAL',Nr=0x3e8,Ns=_0x23ae93(0x27e),Cs=_0x23ae93(0x216),Cr=_0x23ae93(0x135),br='/universer-api/uniscript';var vi=(_0x1a08c8=>(_0x1a08c8[_0x1a08c8[_0x23ae93(0x130)]=0x0]=_0x23ae93(0x130),_0x1a08c8[_0x1a08c8['OK']=0x1]='OK',_0x1a08c8[_0x1a08c8[_0x23ae93(0x13d)]=0x2]=_0x23ae93(0x13d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x195)]=0x3]=_0x23ae93(0x195),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2ba)]=0x4]=_0x23ae93(0x2ba),_0x1a08c8[_0x1a08c8['UNAUTHENTICATED']=0x5]=_0x23ae93(0x3e8),_0x1a08c8[_0x1a08c8[_0x23ae93(0x315)]=0x6]=_0x23ae93(0x315),_0x1a08c8[_0x1a08c8[_0x23ae93(0x27a)]=0x7]=_0x23ae93(0x27a),_0x1a08c8[_0x1a08c8[_0x23ae93(0x11c)]=0x8]=_0x23ae93(0x11c),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2a8)]=0x9]=_0x23ae93(0x2a8),_0x1a08c8[_0x1a08c8[_0x23ae93(0x22a)]=0xa]=_0x23ae93(0x22a),_0x1a08c8[_0x1a08c8[_0x23ae93(0x19d)]=0xb]=_0x23ae93(0x19d),_0x1a08c8[_0x1a08c8['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x23ae93(0x189),_0x1a08c8[_0x1a08c8['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x23ae93(0x3d3),_0x1a08c8[_0x1a08c8[_0x23ae93(0x3eb)]=0xe]=_0x23ae93(0x3eb),_0x1a08c8[_0x1a08c8[_0x23ae93(0x20c)]=0xf]=_0x23ae93(0x20c),_0x1a08c8[_0x1a08c8[_0x23ae93(0x31f)]=0x10]=_0x23ae93(0x31f),_0x1a08c8[_0x1a08c8['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x23ae93(0x422),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2f2)]=0x65]=_0x23ae93(0x2f2),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2e7)]=0xc9]='USER_NOT_FOUND',_0x1a08c8[_0x1a08c8[_0x23ae93(0x3f4)]=0xca]=_0x23ae93(0x3f4),_0x1a08c8[_0x1a08c8[_0x23ae93(0x40f)]=0x1389]=_0x23ae93(0x40f),_0x1a08c8[_0x1a08c8[_0x23ae93(0x268)]=0x1771]=_0x23ae93(0x268),_0x1a08c8[_0x1a08c8[_0x23ae93(0x304)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x1dd)]=0x1773]=_0x23ae93(0x1dd),_0x1a08c8[_0x1a08c8['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1a08c8[_0x1a08c8[_0x23ae93(0x26d)]=0x1b5a]=_0x23ae93(0x26d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x286)]=0x1b5b]=_0x23ae93(0x286),_0x1a08c8[_0x1a08c8[_0x23ae93(0x327)]=0x1b5c]=_0x23ae93(0x327),_0x1a08c8[_0x1a08c8['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x3be)]=0x1f41]=_0x23ae93(0x3be),_0x1a08c8[_0x1a08c8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x23ae93(0x168),_0x1a08c8[_0x1a08c8[_0x23ae93(0x408)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1a08c8[_0x1a08c8['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x23ae93(0x160),_0x1a08c8[_0x1a08c8[_0x23ae93(0x363)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x3d2)]=0x232d]=_0x23ae93(0x3d2),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2b6)]=0x2711]=_0x23ae93(0x2b6),_0x1a08c8[_0x1a08c8[_0x23ae93(0x18e)]=0x2712]=_0x23ae93(0x18e),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2d2)]=0x2713]=_0x23ae93(0x2d2),_0x1a08c8[_0x1a08c8[_0x23ae93(0x1c9)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1a08c8[_0x1a08c8[_0x23ae93(0x325)]=0x271a]=_0x23ae93(0x325),_0x1a08c8[_0x1a08c8[_0x23ae93(0x364)]=0x271b]=_0x23ae93(0x364),_0x1a08c8[_0x1a08c8[_0x23ae93(0x251)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1a08c8[_0x1a08c8[_0x23ae93(0x357)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1a08c8[_0x1a08c8[_0x23ae93(0x340)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x1bc)]=0x271f]=_0x23ae93(0x1bc),_0x1a08c8[_0x1a08c8[_0x23ae93(0x371)]=0x2720]=_0x23ae93(0x371),_0x1a08c8[_0x1a08c8[_0x23ae93(0x1ba)]=0x2af9]=_0x23ae93(0x1ba),_0x1a08c8[_0x1a08c8[_0x23ae93(0x23f)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1a08c8[_0x1a08c8[_0x23ae93(0x141)]=0x2ee2]=_0x23ae93(0x141),_0x1a08c8[_0x1a08c8[_0x23ae93(0x337)]=0x2ee3]=_0x23ae93(0x337),_0x1a08c8[_0x1a08c8[_0x23ae93(0x15b)]=0x2ee4]=_0x23ae93(0x15b),_0x1a08c8[_0x1a08c8[_0x23ae93(0x243)]=0x2ee5]=_0x23ae93(0x243),_0x1a08c8[_0x1a08c8['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x23ae93(0x23d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x420)]=0x32ca]=_0x23ae93(0x420),_0x1a08c8[_0x1a08c8['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1a08c8[_0x1a08c8['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x23ae93(0x2b3),_0x1a08c8[_0x1a08c8[_0x23ae93(0x39e)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x1a08c8[_0x1a08c8[_0x23ae93(0x29f)]=0x36b3]=_0x23ae93(0x29f),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2ee)]=0x36b4]=_0x23ae93(0x2ee),_0x1a08c8[_0x1a08c8[_0x23ae93(0x23a)]=0x36b5]=_0x23ae93(0x23a),_0x1a08c8[_0x1a08c8[_0x23ae93(0x19e)]=0x36b6]=_0x23ae93(0x19e),_0x1a08c8[_0x1a08c8[_0x23ae93(0x2fe)]=0x36b7]=_0x23ae93(0x2fe),_0x1a08c8[_0x1a08c8[_0x23ae93(0x355)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x1a08c8[_0x1a08c8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1a08c8[_0x1a08c8['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x23ae93(0x138),_0x1a08c8[_0x1a08c8[_0x23ae93(0x262)]=0x3717]=_0x23ae93(0x262),_0x1a08c8[_0x1a08c8[_0x23ae93(0x3bb)]=0x37dd]=_0x23ae93(0x3bb),_0x1a08c8[_0x1a08c8['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x1a08c8[_0x1a08c8[_0x23ae93(0x1b2)]=0x3a9a]=_0x23ae93(0x1b2),_0x1a08c8[_0x1a08c8[_0x23ae93(0x370)]=0x3a9b]=_0x23ae93(0x370),_0x1a08c8[_0x1a08c8['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x23ae93(0x302),_0x1a08c8[_0x1a08c8[_0x23ae93(0x11d)]=0x3a9d]=_0x23ae93(0x11d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x283)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1a08c8[_0x1a08c8[_0x23ae93(0x2eb)]=0x3a9f]=_0x23ae93(0x2eb),_0x1a08c8[_0x1a08c8[_0x23ae93(0x37d)]=0x3e81]=_0x23ae93(0x37d),_0x1a08c8[_0x1a08c8[_0x23ae93(0x3ef)]=-0x1]=_0x23ae93(0x3ef),_0x1a08c8))(vi||{}),Q=(_0x49e384=>(_0x49e384[_0x49e384[_0x23ae93(0x395)]=0x0]=_0x23ae93(0x395),_0x49e384[_0x49e384['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x49e384[_0x49e384[_0x23ae93(0x182)]=0x2]='UNIVER_SHEET',_0x49e384[_0x49e384[_0x23ae93(0x288)]=0x3]=_0x23ae93(0x288),_0x49e384[_0x49e384[_0x23ae93(0x1f3)]=0x4]=_0x23ae93(0x1f3),_0x49e384[_0x49e384[_0x23ae93(0x3ef)]=-0x1]='UNRECOGNIZED',_0x49e384))(Q||{}),j=(_0x57f19f=>(_0x57f19f[_0x57f19f[_0x23ae93(0x29e)]=0x0]=_0x23ae93(0x29e),_0x57f19f[_0x57f19f[_0x23ae93(0x282)]=0x1]=_0x23ae93(0x282),_0x57f19f[_0x57f19f[_0x23ae93(0x398)]=0x2]='JOIN',_0x57f19f[_0x57f19f[_0x23ae93(0x31c)]=0x3]=_0x23ae93(0x31c),_0x57f19f[_0x57f19f[_0x23ae93(0x1e6)]=0x4]='INGEST',_0x57f19f[_0x57f19f[_0x23ae93(0x307)]=0x5]=_0x23ae93(0x307),_0x57f19f[_0x57f19f[_0x23ae93(0x1e3)]=0x6]=_0x23ae93(0x1e3),_0x57f19f[_0x57f19f['UNRECOGNIZED']=-0x1]=_0x23ae93(0x3ef),_0x57f19f))(j||{}),Ee=(_0x427107=>(_0x427107[_0x427107['UNKNOWN_CODE']=0x0]=_0x23ae93(0x349),_0x427107[_0x427107['OK']=0x1]='OK',_0x427107[_0x427107[_0x23ae93(0x38c)]=0x2]='FAIL',_0x427107[_0x427107['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x427107[_0x427107[_0x23ae93(0x148)]=0x3ea]=_0x23ae93(0x148),_0x427107[_0x427107[_0x23ae93(0x239)]=0x3eb]=_0x23ae93(0x239),_0x427107[_0x427107[_0x23ae93(0x1e7)]=0x3ec]=_0x23ae93(0x1e7),_0x427107[_0x427107['UNRECOGNIZED']=-0x1]=_0x23ae93(0x3ef),_0x427107))(Ee||{}),Ei=(_0x264913=>(_0x264913[_0x264913[_0x23ae93(0x347)]=0x0]='Undefined',_0x264913[_0x264913['HttpImport']=0x1]=_0x23ae93(0x2df),_0x264913[_0x264913[_0x23ae93(0x425)]=0x2]=_0x23ae93(0x425),_0x264913[_0x264913[_0x23ae93(0x3d5)]=0x3]=_0x23ae93(0x3d5),_0x264913[_0x264913['UnitSnapshot']=0x4]='UnitSnapshot',_0x264913[_0x264913[_0x23ae93(0x3c3)]=0x5]='UserProfileImg',_0x264913[_0x264913['ClipsheetFragments']=0x6]=_0x23ae93(0x1f8),_0x264913[_0x264913['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x264913))(Ei||{});const bs=_0x23ae93(0x2f6);function _0x6016(){var _0x53bba9=['CLOSE_ROOM','pauseCollaboration','_getDownloadEndpointURL','readAsDataURL','onMissingChangesets','slice','AES','_localeService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','action','YUUMI_ALL_TABLES_IS_INVALID','_onUserLeave','Decryptor','_entities','code','getCurrentRevOfUnit','_registerDependencies','sessionStatus$','joinEvent','catch','Base64','_getCurrentRevision','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','_singleActiveUnitService','SerializableCipher','close','_candidateSocket','BufferedBlockAlgorithm','WordArray','_clearRedo','updateMember','_prevBlock','listCollaborators','_incrementRevisionNumber','REDEMPTION_CODE_FULLY_REDEEMED','YUUMI_CONNECTOR_URL_NOT_FOUND','_socketReady','_keySchedule','collaboratorID','encrypt','getImage','emitEvent','_socket$','_scheduleCompleteTimestamp','set','_onFetchMissResult','/block/','DATA_SOURCE_TOO_LARGE','_onUserJoin','/resources','getConfig','reqId','_state','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','subject','_submitChangeset','startTime','_maxTotalRetryTimeout','cfg','/universer-api/snapshot','getCollabEntity$','UPDATE_PERMISSION_OBJ','FAIL','?size=','_awaitingChangeset','clear','_replayCachedMutations','transformUndoRedo','ERROR_IMAGE','uniscriptRunEvent','StreamCipher','UNIVER_UNKNOWN','_remoteChangesetQueue','unsubscribe','JOIN','enableAuthServer','waitForRoom$','_getUndoStack','offline','univer-pro.collaboration-client.network-condition.service','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','PENDING','joinRsp','stopTime','getResourcesRequest','_univerInstanceService','reconnect','IDLE','[CollaborationUndoRedoService]','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','OTHER_CLIENTS_EDITING','NEW_CHANGESETS','_getAPIPrefix','_onMessage','univer-pro.collaboration-client-socket-service','defineProperty','blockSize','onRemoteChangeset','state$','LIVESHARE_NEW_HOST','getTypeOfUnitDisposed$','LIVESHARE_REQUEST_HOST','reverse','/universer-api/authz','Failed\x20to\x20update\x20permission\x20point','/fetchmissing?from=','createSocket','_sheetTransformSelectionsService','loadOfflineData','ENTITLE_NEED_BILLING_ADDRESS','_clearTimeoutTimer','delete','CONNECTOR_DATA_TOO_LARGE','onRemoteRej','name','Latin1','_compressMutationService','UserProfileImg','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','toggleOffline','_undoRedoService','updatePermissionPoint','headers','collaborators','SNAPSHOT_URL_KEY','[PendingState]:\x20unhandled\x20univer\x20type:\x20','\x20to\x20','_doReset','ONLINE','connection\x20error','format','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_DISTRO_REJECTED','EMAIL_VERIFY_CODE_MISMATCH','AWAITING','UnitEmbedded','_roomMembers','AWAITING_WITH_PENDING','commentUpdate$','OpenSSL','_init','_getRedoStack','onRemoteAck','Base','onTransformRemoteChangesetByStateCache','/universer-api/snapshot/','_scheduleCollaborationTimeoutTimer','_minBufferSize','startsWith','onStateChange','loginUrlKey','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRecvEvent','__creator','UNAUTHENTICATED','_userManagerService','textRanges','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sessionStatus$','onLocalMutation','retryConnectingInterval','UNRECOGNIZED','charAt','_resendTimeout','_exhaustRemoteChangesetQueue','patch','USER_IS_ANONYMOUS','_telemetryService','_throwTelemetryCollaborationNewChangeset','synced','kdf','BlockCipher','update','_initMergeInterceptor','editingUnit','repeat','getSnapshotAPIPath','_updateLocalCache','onlyLocal','event$','_retryConnectingTimer','_lockTransition','EvpKDF','pad','awaitingChangeset','_change$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','2921009qvbiFk','getMember','_initDependencies','registerHTTPInterceptor','add','1000884wpNXGc','CHANGESET_REVISION_CONFILICT','CipherParams','JOINING','encodeURIComponent','_logService','crypto','univer-pro.collaboration-client.single-active-unit-service','appendMutation','_transformRemoteChangesetByIMECache','next','_onLocalMutation','/unit/','_invKeySchedule','transformMutationsWithChangeset','updateSnapshot','stringify','_append','MOBILE_HAS_BEEN_BOUND','_onRemoteACK','CURRENT_STATUS_CANNOT_OPERATE','__splitChunk__','_tryReconnect','HttpExport','closeSession','userID','forEach','unitID','PasswordBasedCipher','socketService','data','_unlockTransition','_collaborationSessionService','newCsEvent','create','_unitInfo$','_waitForHeartbeatResponse','SHOULD_CLOSE_CONN','reset','\x20-\x20','awaiting','hostname','_startTelemetryCollaborationNewChangeset','TOO_MANY_REQUESTS','REDEMPTION_USER_NOT_ELIGIBLE','_joinRoom','image/jpg','[CollaborationSessionService]','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onStarting','_onConnectionFailed','entityInit$','_localCacheService','m2Prime','getUnitType','1197372ozPITc','_instanceService','People','_transformIMECache','addHandlerCallback','Error\x20on\x20receiving\x20event','selections','confirm','UNDEFINED','/allowed','FileId','_hash','indexOf','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onTransformRemoteChangesetByIMECache','saveSheetBlock','ENTITLE_REPORT_LIMIT_EXCEED','params','_onOffline','_handlerCallback','localCacheService','INTERNAL_ERROR','unitId\x20is\x20not\x20found','snapshotServerUrl','message$','INVALID_INVITE_CODE','_isPermissionRej','execute','_socketService','enableSingleActiveInstanceLock','setConfig','iterations','JOIN_ROOM_NOT_EXISTS','SUBMIT_CHANGESET','roles','from','dispose$','_undoStacks','keySize','error','getUnitId','Encryptor','getMemberID','_revisionService','saveChangeset','snapshot','4ispLIm','target','onCommentUpdate','HmacSHA1','map','USER_NOT_INVITED_CODE','liveShareNewHost','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','setWaitCount','HEARTBEAT_TIMEOUT','LICENSE_IMPORT_SIZE_EXCEEDED','requireSession','listRoles','words','_shouldReportTelemetry','_eventService','_process','cmd','LICENSE_MAX_UNITS_EXCEEDED','sessionStatus','collaboration-client.config','executeCommand','FETCH_MISS','_HTTPService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[PendingState]:\x20received\x20rejection.','status','every','encryptBlock','_sender','_commentService','function','JOIN_ROOM_FAILED','_transformService','getValue','call','NO_OTHER_CLIENTS_EDITING','toggleOnline','_sendHeartbeatTimer','subUnitId','_collaborationTimeoutTimer','leaveEvent','image/jpeg','_iKey','UNIVER_SHEET','_permissionService','[OfflineState]:\x20received\x20changeset.','FETCH_MISSING','authzUrl','_snapshotService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getLatestCsReqIdBySid','pending','_initRequestHeader','error$','YUUMI_URL_COL_OUT_OF_RANGE','_entityInit$','originalMeta','OFFLINE','_rescheduleHeartbeat','&source=','onTransformSelections','PERMISSION_DENIED','eventID','exports','_stopTelemetryCollaborationNewChangeset','_transformStateCache','PERMISSION_REJ','objectID','MD5','MOBILE_VERIFY_CODE_MISMATCH','ENTITLE_COUPON_EXPIRED','CBC','extend','_transformSelections','_changesetSessionId','_status$','onRemoteRetry','[DataLoaderService]','changesets','save\x20fail\x20reason\x20is\x20','_createInitialStateImpl','type','_nRounds','USERS_ENTER','socket\x20close','_mode','isArray','routeKey','_initUnitPermissionChange','_onRemoteChangeset','REDEMPTION_CODE_INACTIVE','sigBytes','_memberService','splice','conflict','\x20in\x20_schedule.','push','result','PY_RUNTIME_SCRIPT_ERROR','list','YUUMI_AI_RUN_FAILED','_removeRoom','_key','SOCKET_FAILED_RETRY','fetch_missing','fromCollab','onTransformIME','session.room-full','getSheetBlock','[PendingState]:\x20received\x20acknowledgement.','auth.needGotoLoginAlert','objectActions','[CollaborationState]:\x20apply\x20error!','YUUMI_SUBSCRIPTION_NOT_FOUND','onload','_transitionLocked','focused$','_clearUndo','HEARTBEAT_INTERVAL','357817fsPhxi','_decreaseWaiting','_getSignURL','fetchThroughInterceptors','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_doProcessBlock','LIVESHARE_FETCH_OPERATIONS','objectType','COMPRESS_MUTATION_APPLY','onTransformState','_getCtorByUniverType','BlockCipherMode','deepClone','_doCryptBlock','ENSURE_SNAPSHOT_EXECUTION','/collaborator','uploadFileServerUrl','setCurrentUser','/universer-api/user/session-ticket','_checkMissing','RECV','random','removeMember','INGEST','GLOBAL_ROOMS_CNT_EXCEEDS','withCredentials','failed\x20to\x20apply\x20missed\x20changesets!','toString','_startCollaboration','_iv','members','MUTATION','PSEUDO_FETCH_MISSING_RESULT','min','Utf8','_DEC_XFORM_MODE','UNIVER_PROJECT','_roomCreated$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','now','subscribe','ClipsheetFragments','setShowComponents','_collabSessionService','_onRemoteRetry','avatar','mixIn','method','_clearScheduledTask','change$','LIVESHARE_OPERATION','onMutationExecutedForCollab','loadSheet','transformSelections','1727515dXXReZ','getAllMembers','image/gif','CHANGESET_SHOULD_RETRY','&assign=','pipe','resourceIDs','AUTHORIZE_CODE_ILLEGAL','getRandomValues','_commentUpdate$','max','updateOfflineData','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','liveShareOperation','_onCombEvent','SUBMIT_CHANGESET_TIMEOUT','UPDATE_CURSOR','/universer-api/oidc/authpage','_resendTimer','_createHmacHelper','duration','memberID','_sendingTimer','_createSocket','_xformMode','msCrypto','c1Prime','socket\x20open.','reject','Pkcs7','processBlock','find','\x0aAfter:\x20','_waitCount','LIVESHARE_TERMINATE','_applyRemoteChangeset','_oKey','LOGIN_FAILED','_changesetReqId','_imageSourceCache','createDecryptor','ivSize','_configService','UUID','mode','createInstance','image/png','_clearRetryConnectingTimer','body','loadUnitOfRevision','shouldCloseConn','salt','JOIN_ROOM_PERMISSION_DENIED','ENTITLE_INVALID_COUPON_CODE','_getSendChangesetTimeout','DEFAULT_FILE_NAME','WECHAT_HAS_BEEN_BOUND','NOT_COLLAB','INVITE_CODE_HAS_BEEN_UES','asObservable','string','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','INVITE_CODE_ALREADY_BOUND','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','members$','_executeRemoteChangeset','_clearCollaborationTimeoutTimer','x-univer-host','close$','workbook','session','_collaborationPaused','entries','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','HmacMD5','_getAPIPrefixPath','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_toggleOnline','/role','createEncryptor','{fileID}','POST','_substituteUndoStack','_cipher','_showConflictNotification','baseRev','CHANGESET_ACK','_ENC_XFORM_MODE','resend','dispose','BASE64','clone','UNIVER_DOC','ENTITLE_INSUFFICIENT_QUOTA','unknown','_pendingMutations','hasOwnProperty','padding','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SNAPSHOT_INVALID_SNAPSHOT','csShouldRetryEvent','session.room-permission-denied','_transformRemoteChangesetByStateCache','title','APPLY_NON_SEQUENTIAL_REVISION','revision','NoPadding','HMAC','allowed','enableOfflineEditing','_getLoginPath','compose','file','_resendWithTimeout','_collaborationUIEventService','_telemetryInfo','objects','INVALID_ARGUMENT','_data','enableCollaboration','SOCKET_FAILED','/universer-api/comb','_createHandler','_unitID','status$','HELLO','REDEMPTION_USER_REDEEM_TIMES_EXCEED','size','enc','APPLY_REVISION_CONFILICT','onSendChangeset','UNIVER_SLIDE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CHANGESET_REJ','requestParams','collaMsg','_substituteRedoStack','UNISCRIPT_RUN','interceptor','ceil','join','getDeserializedSheetBlock','apply','_handler','decryptBlock','algo','SHA1','USERS_LEAVE','append','_commandService','getUnit','src','_reverseMap','UNKNOWN_CMD','ENTITLE_DUP_SUBSCRIPTION','clamp','_event$','fromCharCode','transformChangesets','_clearHeartbeatTimer','collabWebSocketUrl','get','_acknowledgedAwaitingChangeset','COMPLETION_FINISHED','substr','compute','_onJoinRoomEvent','finalize','_onConflict','localeService','has','_transformUndoredo','_sendHeartbeat','open$','ENTITLE_CAN_NOT_BUY_LOWER_OTP','MSG_FOR_ERROR','_socketMessageSubscription','YUUMI_UNABLE_LOAD_URL','url','image/bmp','concat','NOT_FOUND','transformStack\x20failed!','/-/object/-/batch_allowed','getInterceptPoints','send','unitInfo$','incrementRevOfUnit','init','includes','getRoom','state','[CollaborationEntity]','_sessions','__Key__','getTypeOfUnitAdded$','/-/object/list','length','getCurrentUser','_snapshotServerService','$super','isPermissionRej','fetchMiss','post','_doCreateSocket','YUUMI_RATE_OVER_LIMIT','floor','sheets','Malformed\x20UTF-8\x20data','_schedule','debug','_members$','__esModule','not_collab','copyFileMeta','_httpService','complete','_transformStack','HttpImport','reduce','_members','Cipher','charCodeAt','unitId','put','online$','USER_NOT_FOUND','Hex','disposeWithMe','_timeoutTimer','REDEMPTION_CODE_HAS_BEEN_CREATED','_state$','loadDoc','PAYMENT_CHANNEL_NOT_SUPPORT','_clearLocalCache','getOwnPropertyDescriptor','_networkConditionService','ERROR_AGAIN','prototype','_onConnectionOpen','_hasher','collaboration_new_changeset','onMissedChangesetFetched','awaiting_with_pending','PERSON','lib','sid','_onRemoteRejected','_queuedRemoteChangesets','ENTITLE_COUPON_USED_UP','&to=','replace','updateCursorEvent','REDEMPTION_CODE_NOT_STARTED','readyForCollab','SNAPSHOT_HAS_BEEN_REMOVED','csAckEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','HEARTBEAT','getTime','?url=','_updateStatus','/universer-api/stream/file/upload','_toggleOffline','549910HuoBIg','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','session.join-failed','_tryEnsureSocket','getFocusedUnit','COMPRESS_MUTATION_SEND','_socket','filter','ALREADY_EXISTS','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_doFinalize','_listenToNetworkCondition','OTHER_CLIENT_EDITING','_getUploadFileURL','[CollaborationSessionService]:\x20socket\x20error','LEAVE','encode','_keyPriorReset','LOGIN_TOKEN_PROCESSING_FAILED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_retryCount','CONFLICT','_replaceFileID','deleteCollaborator','YUUMI_NO_CUBOID_FOR_QUESTION','parse','APPLY_PERMISSION_DENIED','href','getCollabEntity','location','hasher','onSyncEditingCollabCursor','/object/','_type','ERROR_EXCEED_SIZE','_parse','mutations','Hasher','sendChangesetTimeout','byteLength','Could\x20not\x20dynamically\x20require\x20\x22','actions','INVITE_CODE_REQUIRED','\x0aCurrent:\x20','range','_initCloseConn','[CollaborationSession]','refreshPermission','socket$','COMMENT_UPDATE','_disableEditing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','infoRsp','_syncEditingCollabCursor','_updateState','_createHelper','_injector','_nDataBytes','Undefined','[OfflineState]:\x20received\x20rejection.','UNKNOWN_CODE','873128IPkPGz','_redoStacks','_config'];_0x6016=function(){return _0x53bba9;};return _0x6016();}function Ds(_0x7551ef){return JSON['stringify'](_0x7551ef)['length'];}var re=(_0x3e9372=>(_0x3e9372[_0x23ae93(0x319)]='OTHER_CLIENT_EDITING',_0x3e9372[_0x23ae93(0x195)]=_0x23ae93(0x195),_0x3e9372[_0x23ae93(0x322)]='CONFLICT',_0x3e9372['CLOSE_ROOM']='CLOSE_ROOM',_0x3e9372[_0x23ae93(0x176)]=_0x23ae93(0x176),_0x3e9372['SOCKET_FAILED_RETRY']=_0x23ae93(0x1bf),_0x3e9372[_0x23ae93(0x27d)]=_0x23ae93(0x27d),_0x3e9372['SUBMIT_CHANGESET_TIMEOUT']=_0x23ae93(0x214),_0x3e9372))(re||{});class ve{constructor(){var _0x227802=_0x23ae93;D(this,_0x227802(0x2a1),new _0x4b6979()),D(this,_0x227802(0x401),this[_0x227802(0x2a1)][_0x227802(0x240)]());}[_0x23ae93(0x377)](_0xe2ba3b){var _0x461b08=_0x23ae93;this[_0x461b08(0x2a1)]['next'](_0xe2ba3b);}}class pi{constructor(){var _0x73fd60=_0x23ae93;D(this,'_commentUpdate$',new _0x4b6979()),D(this,_0x73fd60(0x3d8),this[_0x73fd60(0x20e)]['asObservable']());}[_0x23ae93(0x158)](_0x6659dc){var _0x442e7a=_0x23ae93;this[_0x442e7a(0x20e)][_0x442e7a(0x418)](_0x6659dc);}}var ys=Object[_0x23ae93(0x2f0)],Us=(_0x4428cb,_0x47462a,_0x270068,_0x4b22d5)=>{var _0x3dc71a=_0x23ae93;for(var _0x16e833=_0x4b22d5>0x1?void 0x0:_0x4b22d5?ys(_0x47462a,_0x270068):_0x47462a,_0x53d5ea=_0x4428cb[_0x3dc71a(0x2ca)]-0x1,_0x472a8b;_0x53d5ea>=0x0;_0x53d5ea--)(_0x472a8b=_0x4428cb[_0x53d5ea])&&(_0x16e833=_0x472a8b(_0x16e833)||_0x16e833);return _0x16e833;},Ft=(_0x512b48,_0x56965c)=>(_0x4c9579,_0xe6d808)=>_0x56965c(_0x4c9579,_0xe6d808,_0x512b48);let Pe=class extends _0x2d9cd3{constructor(_0x18d8a4,_0x7b552f){var _0x23d6d6=_0x23ae93;super(),D(this,'_roomMembers',new Map()),D(this,'_roomCreated$',new _0x4b6979()),(this[_0x23d6d6(0x3a3)]=_0x18d8a4,this['_userManagerService']=_0x7b552f,this[_0x23d6d6(0x2e9)](_0x1ec902(this[_0x23d6d6(0x3a3)][_0x23d6d6(0x3b2)](_0x22b478[_0x23d6d6(0x182)])[_0x23d6d6(0x20a)](_0x1fc977(_0x9615df=>_0x9615df['getUnitId']())),this[_0x23d6d6(0x3a3)][_0x23d6d6(0x3b2)](_0x22b478[_0x23d6d6(0x261)])[_0x23d6d6(0x20a)](_0x1fc977(_0x4bd32c=>_0x4bd32c['getUnitId']())),this[_0x23d6d6(0x3a3)][_0x23d6d6(0x3b2)](_0x22b478['UNIVER_SLIDE'])['pipe'](_0x1fc977(_0x204ae3=>_0x204ae3[_0x23d6d6(0x150)]())))[_0x23d6d6(0x1f7)](_0x1eaac7=>this['_removeRoom'](_0x1eaac7))));}[_0x23ae93(0x39a)](_0x3d29b1){var _0xc089ac=_0x23ae93;return this['_roomMembers'][_0xc089ac(0x2af)](_0x3d29b1)?_0x44cf90(this[_0xc089ac(0x3d6)][_0xc089ac(0x2a6)](_0x3d29b1)):this[_0xc089ac(0x1f4)][_0xc089ac(0x20a)](_0x1fc977(_0x16a737=>{var _0x282c8f=_0xc089ac;if(_0x16a737===_0x3d29b1)return this['_roomMembers'][_0x282c8f(0x2a6)](_0x16a737);}));}[_0x23ae93(0x1e0)](_0x20cfed){this['_userManagerService']['setCurrentUser'](_0x20cfed);}[_0x23ae93(0x2cb)](){var _0x3dfade=_0x23ae93;return this[_0x3dfade(0x3e9)]['getCurrentUser']();}[_0x23ae93(0x36c)](_0x449f92,_0x1b0bdb){var _0x17df33=_0x23ae93;let _0x54d27f=this['_roomMembers']['get'](_0x449f92);_0x54d27f||(_0x54d27f=new As(),this[_0x17df33(0x3d6)][_0x17df33(0x37a)](_0x449f92,_0x54d27f),this[_0x17df33(0x1f4)][_0x17df33(0x418)](_0x449f92)),_0x54d27f[_0x17df33(0x36c)](_0x1b0bdb);}[_0x23ae93(0x1e5)](_0x13b2fb,_0x34803f){var _0x18cc95=_0x23ae93;const _0x5dcaf9=this['_roomMembers']['get'](_0x13b2fb);_0x5dcaf9&&_0x5dcaf9[_0x18cc95(0x1e5)](_0x34803f);}[_0x23ae93(0x2c3)](_0x2889ac){var _0x33f4c4=_0x23ae93;return this[_0x33f4c4(0x3d6)][_0x33f4c4(0x2a6)](_0x2889ac);}[_0x23ae93(0x40a)](_0x497c2d,_0x42ceef){var _0x1bc98c=_0x23ae93;const _0x5465a1=this[_0x1bc98c(0x3d6)]['get'](_0x497c2d);if(_0x5465a1)return _0x5465a1[_0x1bc98c(0x40a)](_0x42ceef);}[_0x23ae93(0x1bd)](_0x1ea1ed){var _0x37857b=_0x23ae93;const _0x4bd346=this[_0x37857b(0x3d6)][_0x37857b(0x2a6)](_0x1ea1ed);_0x4bd346&&(_0x4bd346[_0x37857b(0x25e)](),this[_0x37857b(0x3d6)]['delete'](_0x1ea1ed));}[_0x23ae93(0x25e)](){var _0x3e1a9a=_0x23ae93;this[_0x3e1a9a(0x3d6)][_0x3e1a9a(0x10b)](_0x7044e3=>_0x7044e3[_0x3e1a9a(0x25e)]()),this['_roomMembers'][_0x3e1a9a(0x38f)](),this[_0x3e1a9a(0x1f4)][_0x3e1a9a(0x2dd)]();}};Pe=Us([Ft(0x0,_0x1437e0),Ft(0x1,_0x35e039(_0x367c2e))],Pe);class As extends _0x2d9cd3{constructor(){var _0x2149c3=_0x23ae93;super(...arguments),D(this,_0x2149c3(0x2e1),new Map()),D(this,_0x2149c3(0x2d8),new _0x2d0dd9(this[_0x2149c3(0x2e1)])),D(this,_0x2149c3(0x245),this[_0x2149c3(0x2d8)][_0x2149c3(0x240)]());}[_0x23ae93(0x25e)](){var _0x36cd80=_0x23ae93;this[_0x36cd80(0x2e1)]['clear']();}['updateMember'](_0x12a40c){var _0x408586=_0x23ae93;this['_members']['set'](_0x12a40c[_0x408586(0x21a)],_0x12a40c),this['_emitMembers']();}[_0x23ae93(0x1e5)](_0xd2a8ac){var _0xc7965e=_0x23ae93;this[_0xc7965e(0x2e1)][_0xc7965e(0x3bd)](_0xd2a8ac);}[_0x23ae93(0x40a)](_0xe149db){var _0x390880=_0x23ae93;return this[_0x390880(0x2e1)][_0x390880(0x2a6)](_0xe149db);}[_0x23ae93(0x206)](){var _0x4246a5=_0x23ae93;return Array[_0x4246a5(0x14b)](this[_0x4246a5(0x2e1)]['values']());}['_emitMembers'](){var _0x5611fe=_0x23ae93;this[_0x5611fe(0x2d8)]['next'](this[_0x5611fe(0x2e1)]);}}var Ps=Object[_0x23ae93(0x2f0)],Ls=(_0x406986,_0x317c9b,_0x5a3d3f,_0x34561a)=>{var _0x2909e0=_0x23ae93;for(var _0x3d7516=_0x34561a>0x1?void 0x0:_0x34561a?Ps(_0x317c9b,_0x5a3d3f):_0x317c9b,_0x319f98=_0x406986[_0x2909e0(0x2ca)]-0x1,_0x51f535;_0x319f98>=0x0;_0x319f98--)(_0x51f535=_0x406986[_0x319f98])&&(_0x3d7516=_0x51f535(_0x3d7516)||_0x3d7516);return _0x3d7516;},Oe=(_0x5a8bc4,_0xcadaf)=>(_0x2ed9b4,_0x5bb2db)=>_0xcadaf(_0x2ed9b4,_0x5bb2db,_0x5a8bc4),me=(_0x2cfe55=>(_0x2cfe55[_0x2cfe55[_0x23ae93(0x3a5)]=0x0]=_0x23ae93(0x3a5),_0x2cfe55[_0x2cfe55[_0x23ae93(0x411)]=0x1]='JOINING',_0x2cfe55[_0x2cfe55[_0x23ae93(0x191)]=0x2]='OFFLINE',_0x2cfe55[_0x2cfe55[_0x23ae93(0x3ce)]=0x3]=_0x23ae93(0x3ce),_0x2cfe55))(me||{});const jt={[Ee['FAIL']]:_0x23ae93(0x30f),[Ee['JOIN_ROOM_FULL']]:_0x23ae93(0x1c3),[Ee[_0x23ae93(0x148)]]:'session.room-not-exists',[Ee[_0x23ae93(0x239)]]:_0x23ae93(0x26a),[Ee[_0x23ae93(0x1e7)]]:'session.room-cnt-exceeds'};let mt=class extends _0x2d880a{constructor(_0x2b2c4e,_0x479445,_0x80ca6b,_0x2ba1ca,_0x3fc16b,_0x498935,_0x51fe83,_0xf39824){var _0x133f33=_0x23ae93;super(),D(this,_0x133f33(0x3ec),new _0x2d0dd9(0x0)),D(this,_0x133f33(0x35e),this['_sessionStatus$'][_0x133f33(0x240)]()),D(this,'_event$',new _0x4b6979()),D(this,_0x133f33(0x401),this['_event$']['asObservable']()),D(this,_0x133f33(0x313)),D(this,_0x133f33(0x2b5)),D(this,'_collaborationTimeoutTimer'),D(this,_0x133f33(0x164),!0x1),D(this,'_telemetryInfo',null),(this[_0x133f33(0x280)]=_0x2b2c4e,this[_0x133f33(0x413)]=_0x80ca6b,this[_0x133f33(0x22f)]=_0x2ba1ca,this['_memberService']=_0x3fc16b,this[_0x133f33(0x174)]=_0x498935,this[_0x133f33(0x277)]=_0x51fe83,this[_0x133f33(0x3f5)]=_0xf39824,this['_shouldReportTelemetry']=!!this[_0x133f33(0x3f5)],_0x479445[_0x133f33(0x20a)](_0x21b075(this[_0x133f33(0x14c)]))[_0x133f33(0x1f7)](_0x2930a9=>{var _0x2d153b=_0x133f33,_0x5b19a2;typeof _0x2930a9>'u'||(this['_socket']=_0x2930a9,_0x2930a9?(this[_0x2d153b(0x11e)](_0x2930a9),this[_0x2d153b(0x2b5)]=_0x2930a9[_0x2d153b(0x140)][_0x2d153b(0x1f7)](_0x56efdb=>{var _0x35d915=_0x2d153b;_0x56efdb[_0x35d915(0x1af)]===this[_0x35d915(0x280)]&&this[_0x35d915(0x213)](_0x56efdb);})):(this[_0x2d153b(0x3f6)](),this[_0x2d153b(0x3ec)][_0x2d153b(0x418)](0x2),(_0x5b19a2=this[_0x2d153b(0x2b5)])==null||_0x5b19a2[_0x2d153b(0x397)](),this[_0x2d153b(0x2b5)]=null));}));}get['sessionStatus'](){var _0x1c1dc3=_0x23ae93;return this[_0x1c1dc3(0x3ec)]['getValue']();}['getMemberID'](){var _0x229324=_0x23ae93,_0x3de81e,_0x27841a;return(_0x27841a=(_0x3de81e=this['_socket'])==null?void 0x0:_0x3de81e[_0x229324(0x21a)])!=null?_0x27841a:null;}[_0x23ae93(0x25e)](){var _0x4de45c=_0x23ae93;super[_0x4de45c(0x25e)](),this[_0x4de45c(0x14c)]['next'](),this[_0x4de45c(0x14c)]['complete']();}['close'](){var _0x5802fa=_0x23ae93,_0x386935,_0x112921;this['_throwTelemetryCollaborationNewChangeset'](),(_0x386935=this[_0x5802fa(0x313)])==null||_0x386935[_0x5802fa(0x2be)]({'cmd':j[_0x5802fa(0x31c)],'data':{'roomID':this[_0x5802fa(0x280)]}}),(_0x112921=this[_0x5802fa(0x313)])==null||_0x112921[_0x5802fa(0x367)](),this['_event$']['complete'](),this[_0x5802fa(0x3ec)][_0x5802fa(0x2dd)](),this['dispose']();}[_0x23ae93(0x213)](_0x1da7b0){var _0x2808b7=_0x23ae93;_0x1da7b0['cmd']===j['JOIN']?this[_0x2808b7(0x2ab)](_0x1da7b0):_0x1da7b0['cmd']===j['RECV']&&this[_0x2808b7(0x3e6)](_0x1da7b0);}[_0x23ae93(0x11e)](_0x217a48){var _0x313bec=_0x23ae93;this[_0x313bec(0x3ec)][_0x313bec(0x418)](0x1),_0x217a48[_0x313bec(0x2be)]({'cmd':j[_0x313bec(0x398)],'routeKey':this[_0x313bec(0x280)],'routeType':'','data':{'rooms':[{'roomID':this[_0x313bec(0x280)]}]}});}[_0x23ae93(0x2ab)](_0x6f8c70){var _0x264241=_0x23ae93,_0x251ce3;if(_0x6f8c70[_0x264241(0x35b)]in jt){this[_0x264241(0x277)][_0x264241(0x377)]({'id':re[_0x264241(0x176)],'data':jt[_0x6f8c70[_0x264241(0x35b)]]}),this['_sessionStatus$'][_0x264241(0x418)](0x2);return;}this[_0x264241(0x3ec)][_0x264241(0x418)](0x3);const _0x1e67cd=(_0x251ce3=_0x6f8c70[_0x264241(0x10f)]['roomInfos'][this[_0x264241(0x280)]])==null?void 0x0:_0x251ce3[_0x264241(0x1ed)];_0x1e67cd&&_0x1e67cd[_0x264241(0x10b)](_0x3e1b26=>this[_0x264241(0x1b4)]['updateMember'](this[_0x264241(0x280)],_0x3e1b26));}[_0x23ae93(0x3e6)](_0x5db5fa){var _0x2148fd=_0x23ae93;try{const _0x551416=_0x5db5fa[_0x2148fd(0x10f)];switch(_0x551416[_0x2148fd(0x196)]){case _0x2ea533['USERS_ENTER']:this[_0x2148fd(0x37e)](_0x551416),this[_0x2148fd(0x2a1)][_0x2148fd(0x418)](_0x551416);break;case _0x2ea533[_0x2148fd(0x298)]:this['_onUserLeave'](_0x551416),this[_0x2148fd(0x2a1)][_0x2148fd(0x418)](_0x551416);break;case _0x2ea533[_0x2148fd(0x25b)]:case _0x2ea533['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2148fd(0x247)](),this['_event$']['next'](_0x551416);break;case _0x2ea533[_0x2148fd(0x2b4)]:this[_0x2148fd(0x413)][_0x2148fd(0x14f)](_0x2148fd(0x1a7)+JSON[_0x2148fd(0x41e)](_0x551416)),this['_event$']['next'](_0x551416);break;case _0x2ea533[_0x2148fd(0x33e)]:this[_0x2148fd(0x174)]['onCommentUpdate'](_0x551416[_0x2148fd(0x10f)]),this[_0x2148fd(0x2a1)][_0x2148fd(0x418)](_0x551416);break;default:this[_0x2148fd(0x2a1)][_0x2148fd(0x418)](_0x551416);}}catch(_0x105c58){this[_0x2148fd(0x413)][_0x2148fd(0x14f)](_0x105c58,_0x5db5fa);}}[_0x23ae93(0x37e)](_0x17677e){var _0x57ac95=_0x23ae93;this[_0x57ac95(0x1b4)][_0x57ac95(0x36c)](this[_0x57ac95(0x280)],_0x17677e['data']);}[_0x23ae93(0x358)](_0x3a27a0){var _0x5f3ff6=_0x23ae93;this['_memberService']['removeMember'](this[_0x5f3ff6(0x280)],_0x3a27a0[_0x5f3ff6(0x10f)][_0x5f3ff6(0x21a)]);}async['send'](_0x3195e3,_0x430f8c){var _0x534855=_0x23ae93;if(this[_0x534855(0x169)]!==0x3||!this[_0x534855(0x313)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3195e3[_0x534855(0x196)]===_0x2ea533[_0x534855(0x149)]&&(this[_0x534855(0x3e0)](),this[_0x534855(0x11b)](_0x3195e3)),this[_0x534855(0x313)][_0x534855(0x2be)]({'cmd':j['INGEST'],'routeKey':_0x430f8c,'routeType':'','data':_0x3195e3});}catch(_0x4b5cf2){this[_0x534855(0x413)][_0x534855(0x14f)](_0x4b5cf2);}}[_0x23ae93(0x3e0)](){var _0x4d897d=_0x23ae93,_0x3df52c;this[_0x4d897d(0x17e)]=setTimeout(()=>{var _0x29f690=_0x4d897d;this[_0x29f690(0x17e)]=null,this[_0x29f690(0x277)]['emitEvent']({'id':re[_0x29f690(0x214)]});},(_0x3df52c=this[_0x4d897d(0x22f)][_0x4d897d(0x380)](di))!=null?_0x3df52c:fi);}[_0x23ae93(0x247)](){var _0xb2bcba=_0x23ae93;this[_0xb2bcba(0x17e)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xb2bcba(0x17e)]=null);}[_0x23ae93(0x11b)](_0x25438e){var _0x5949ad=_0x23ae93;if(!this[_0x5949ad(0x164)])return;const {data:_0x5370ef}=_0x25438e,{unitID:_0x3d8651,changeset:_0x590c32}=_0x5370ef,{mutations:_0x20f86a,type:_0x1ddcff}=_0x590c32;this[_0x5949ad(0x278)]={'unitId':_0x3d8651,'type':_0x1ddcff,'startTime':performance[_0x5949ad(0x1f6)](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x20f86a)};}[_0x23ae93(0x198)](){var _0xe29629=_0x23ae93;if(this[_0xe29629(0x164)]){if(!this[_0xe29629(0x278)]){this['_logService']['error'](_0xe29629(0x33b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xe29629(0x278)]['stopTime']=performance[_0xe29629(0x1f6)](),this['_telemetryInfo'][_0xe29629(0x219)]=this[_0xe29629(0x278)][_0xe29629(0x3a1)]-this['_telemetryInfo'][_0xe29629(0x386)],this['_telemetryService']['capture'](bs,this[_0xe29629(0x278)]),this[_0xe29629(0x278)]=null;}}[_0x23ae93(0x3f6)](){this['_telemetryInfo']=null;}};mt=Ls([Oe(0x2,_0x1e4e23),Oe(0x3,_0x31c935),Oe(0x4,_0x35e039(Pe)),Oe(0x5,_0x35e039(pi)),Oe(0x6,_0x35e039(ve)),Oe(0x7,_0x3a44cd(_0x1110bb))],mt);const X=_0x4dcc81('collaboration-client.local-cache-service');function Dr(_0x4d9f01){return'unit-cache-'+_0x4d9f01;}var Ms=Object['getOwnPropertyDescriptor'],ws=(_0x56f724,_0x4c96bd,_0x523a1f,_0x2c1c72)=>{for(var _0x157e2=_0x2c1c72>0x1?void 0x0:_0x2c1c72?Ms(_0x4c96bd,_0x523a1f):_0x4c96bd,_0x53dc10=_0x56f724['length']-0x1,_0x156724;_0x53dc10>=0x0;_0x53dc10--)(_0x156724=_0x56f724[_0x53dc10])&&(_0x157e2=_0x156724(_0x157e2)||_0x157e2);return _0x157e2;},ut=(_0x4780b6,_0x4d5830)=>(_0x5cceca,_0x3c50e1)=>_0x4d5830(_0x5cceca,_0x3c50e1,_0x4780b6);function xs(_0x2737e7){var _0x2d39e1=_0x23ae93;const {unitID:_0x1ce74b,mutations:_0x5510c2}=_0x2737e7;return{'unitId':_0x1ce74b,'subUnitId':_0x5510c2[_0x2d39e1(0x2ca)]>0x0?_0x5510c2[0x0][_0x2d39e1(0x139)][_0x2d39e1(0x17d)]:null};}let it=class{constructor(_0x338f5d,_0x1b5f3e,_0x175434){var _0x4d4188=_0x23ae93;this[_0x4d4188(0x345)]=_0x338f5d,this[_0x4d4188(0x177)]=_0x1b5f3e,this[_0x4d4188(0x129)]=_0x175434;}[_0x23ae93(0x204)](_0x729cb1){var _0xfcd39d=_0x23ae93,_0x45e1df,_0x5aa1bc,_0x5cfc09,_0x25075d;const _0x46e6cb=this['_injector'][_0xfcd39d(0x2a6)](_0x15fc3c),{unitId:_0x53e369,subUnitId:_0x2a73ed}=xs(_0x729cb1),_0x27533c=_0x46e6cb==null?void 0x0:_0x46e6cb['getWorkbookSelections'](_0x53e369)['getCurrentSelections'](),_0x20c8b4=(_0x5aa1bc=(_0x45e1df=this[_0xfcd39d(0x129)][_0xfcd39d(0x29b)](_0x53e369))==null?void 0x0:_0x45e1df['getActiveSheet']())==null?void 0x0:_0x5aa1bc['getSheetId']();if(_0x27533c[_0xfcd39d(0x2ca)]===0x0||!_0x53e369||!_0x2a73ed)return;const _0x2d92c8=[{'id':_0x4dd6c2['id'],'params':{'unitId':_0x53e369,'subUnitId':_0x20c8b4,'selections':_0x4f0f8[_0xfcd39d(0x1db)](_0x27533c)}}],_0x3891c8=this[_0xfcd39d(0x177)][_0xfcd39d(0x41c)](_0x729cb1,_0x2d92c8);if(!_0x1277a2(_0x3891c8))throw _0x3891c8[_0xfcd39d(0x14f)];const _0x3f839b=(_0x25075d=(_0x5cfc09=_0x3891c8[_0xfcd39d(0x126)][0x0])==null?void 0x0:_0x5cfc09['params'])==null?void 0x0:_0x25075d[_0xfcd39d(0x12e)];if(Array[_0xfcd39d(0x1ae)](_0x3f839b)&&_0x3f839b[_0xfcd39d(0x2ca)]){if(_0x3f839b[_0xfcd39d(0x2ca)]===_0x2d92c8[0x0]['params'][_0xfcd39d(0x12e)][_0xfcd39d(0x2ca)]&&_0x3f839b[_0xfcd39d(0x171)]((_0x5dd3c9,_0x213189)=>_0xbc580b['equals'](_0x5dd3c9['range'],_0x2d92c8[0x0][_0xfcd39d(0x139)][_0xfcd39d(0x12e)][_0x213189][_0xfcd39d(0x339)])))return;this[_0xfcd39d(0x345)][_0xfcd39d(0x2a6)](_0x146785)[_0xfcd39d(0x16b)](_0x4dd6c2['id'],{'unitId':_0x53e369,'subUnitId':_0x20c8b4,'selections':_0x3f839b});}}};it=ws([ut(0x0,_0x35e039(_0xefc734)),ut(0x1,_0x3b1162),ut(0x2,_0x1437e0)],it);const _t=_0x4dcc81(_0x23ae93(0x415));var mi=(_0x291f2d=>(_0x291f2d[_0x291f2d['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x23ae93(0x17a),_0x291f2d[_0x291f2d[_0x23ae93(0x3a8)]=0x1]='OTHER_CLIENTS_EDITING',_0x291f2d))(mi||{});const K=_0x23ae93(0x16a),ks={};function $s(_0x4ba1f6){var _0x413cdd=_0x23ae93,_0x43412b;return!!((_0x43412b=_0x4ba1f6['params'])!=null&&_0x43412b[_0x413cdd(0x423)]);}const Hs=new Set([_0x482dee['id']]);function Vt(_0x28ff0d,_0xc79144,_0x534974,_0x34dd27,_0xae4cd5){var _0x222e98=_0x23ae93,_0x2f2c84,_0x2603c1,_0x413c1d,_0x2e7279;const _0x3b77cc=[];for(const _0x35f3ee of _0x28ff0d){if(Hs[_0x222e98(0x2af)](_0x35f3ee['id'])){if(_0x3b77cc['length']>0x0)break;_0x3b77cc[_0x222e98(0x1b8)](_0x35f3ee);break;}if($s(_0x35f3ee)){if(_0x3b77cc['length']>0x0)break;_0x3b77cc[_0x222e98(0x1b8)](_0x35f3ee);break;}_0x3b77cc[_0x222e98(0x1b8)](_0x35f3ee);}const _0x4c804d=(_0x2603c1=(_0x2f2c84=_0xae4cd5[_0x222e98(0x2cb)]())==null?void 0x0:_0x2f2c84[_0x222e98(0x10a)])!=null?_0x2603c1:_0x222e98(0x263),_0xad4370=(_0x2e7279=(_0x413c1d=_0xae4cd5[_0x222e98(0x2cb)]())==null?void 0x0:_0x413c1d[_0x222e98(0x21a)])!=null?_0x2e7279:_0x222e98(0x263);return{'changeset':{'unitID':_0xc79144,'type':_0x3c7f2c(_0x534974[_0x222e98(0x127)](_0xc79144)),'baseRev':_0x34dd27['getCurrentRevOfUnit'](_0xc79144),'revision':0x0,'userID':_0x4c804d,'memberID':_0xad4370,'mutations':_0x3b77cc},'pendingMutations':_0x28ff0d['slice'](_0x3b77cc[_0x222e98(0x2ca)])};}function Bs(_0x4b3606,_0x48bb67,_0x2ed1c2,_0x80cf6e,_0x38a37a){var _0xeca917=_0x23ae93,_0x281e05,_0x371907,_0x933396,_0x581395;const _0x3c95ed=[_0x4b3606[_0xeca917(0x2e0)]((_0x274d87,_0x46641e)=>{var _0x18dbe4=_0xeca917,_0xda2139;const {id:_0x3a8b16}=_0x274d87,{id:_0x2691b0,type:_0x1b27e2}=_0x46641e,_0x1c5a4d=(_0xda2139=_0x274d87['params'])!=null?_0xda2139:{'actions':null},_0x2a31a2=_0x46641e['params'];if(_0x3a8b16&&_0x3a8b16!==_0x2691b0)throw new Error(_0x18dbe4(0x383)+_0x3a8b16+_0x18dbe4(0x118)+_0x2691b0+'.');return{..._0x274d87,'id':_0x2691b0,'type':_0x1b27e2,'params':{'unitId':_0x2a31a2['unitId'],'textRanges':_0x2a31a2[_0x18dbe4(0x3ea)],'actions':_0x91ed35[_0x18dbe4(0x274)](_0x1c5a4d[_0x18dbe4(0x336)],_0x2a31a2[_0x18dbe4(0x336)])}};},{})],_0x479337=(_0x371907=(_0x281e05=_0x38a37a[_0xeca917(0x2cb)]())==null?void 0x0:_0x281e05['userID'])!=null?_0x371907:'unknown',_0x2481d1=(_0x581395=(_0x933396=_0x38a37a[_0xeca917(0x2cb)]())==null?void 0x0:_0x933396[_0xeca917(0x21a)])!=null?_0x581395:_0xeca917(0x263);return{'changeset':{'unitID':_0x48bb67,'type':_0x3c7f2c(_0x2ed1c2[_0xeca917(0x127)](_0x48bb67)),'baseRev':_0x80cf6e[_0xeca917(0x35c)](_0x48bb67),'revision':0x0,'userID':_0x479337,'memberID':_0x2481d1,'mutations':_0x3c95ed},'pendingMutations':[]};}function Ii(_0x12588e,_0x3c517e){var _0x306124=_0x23ae93;const _0x295f99=new _0x3af47(0x1);return setTimeout(()=>_0x295f99['next'](_0x3c517e),_0x12588e),_0x295f99[_0x306124(0x240)]()[_0x306124(0x20a)](_0x4fb047(0x1));}var Fs=Object[_0x23ae93(0x2f0)],Se=(_0x6c9614,_0x414eba,_0x3c073d,_0x4ee4e8)=>{var _0x4158df=_0x23ae93;for(var _0x3f3061=_0x4ee4e8>0x1?void 0x0:_0x4ee4e8?Fs(_0x414eba,_0x3c073d):_0x414eba,_0x3e5c3f=_0x6c9614[_0x4158df(0x2ca)]-0x1,_0x357890;_0x3e5c3f>=0x0;_0x3e5c3f--)(_0x357890=_0x6c9614[_0x3e5c3f])&&(_0x3f3061=_0x357890(_0x3f3061)||_0x3f3061);return _0x3f3061;},L=(_0x208508,_0x1d7095)=>(_0x11a02a,_0x1d3a1c)=>_0x1d7095(_0x11a02a,_0x1d3a1c,_0x208508),Si=(_0x5245a5=>(_0x5245a5[_0x23ae93(0x23e)]=_0x23ae93(0x2da),_0x5245a5['SYNCED']=_0x23ae93(0x3f7),_0x5245a5[_0x23ae93(0x39f)]=_0x23ae93(0x18b),_0x5245a5[_0x23ae93(0x3d4)]=_0x23ae93(0x119),_0x5245a5[_0x23ae93(0x3d7)]=_0x23ae93(0x2f8),_0x5245a5[_0x23ae93(0x16c)]=_0x23ae93(0x1c0),_0x5245a5[_0x23ae93(0x322)]=_0x23ae93(0x1b6),_0x5245a5[_0x23ae93(0x191)]=_0x23ae93(0x39c),_0x5245a5))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x26184f,_0x2e2efd,_0x2c5d45,_0xa29bc1,_0x1ceba3,_0x157ecf,_0x21c1dc,_0x393c96,_0x2cbac0){var _0x17b5ad=_0x23ae93;D(this,_0x17b5ad(0x38e),null),D(this,_0x17b5ad(0x264),[]),(this['unitID']=_0x26184f,this[_0x17b5ad(0x1a9)]=_0x2e2efd,this[_0x17b5ad(0x294)]=_0x1ceba3,this[_0x17b5ad(0x29a)]=_0x157ecf,this['_undoRedoService']=_0x21c1dc,this['_revisionService']=_0x393c96,this[_0x17b5ad(0x125)]=_0x2cbac0,this['_awaitingChangeset']=_0x2c5d45,this[_0x17b5ad(0x264)]=_0xa29bc1);}[_0x23ae93(0x1e2)](_0x22d52c){var _0x1f0217=_0x23ae93;const _0x220337=this[_0x1f0217(0x153)]['getCurrentRevOfUnit'](this['unitID']);return _0x22d52c[_0x1f0217(0x26e)]>_0x220337+0x1?(this['_handler'][_0x1f0217(0x351)]({'from':_0x220337,'to':_0x22d52c[_0x1f0217(0x26e)]-0x1}),!0x0):!0x1;}[_0x23ae93(0x2b0)](_0x51c70a){var _0x4a3ee3=_0x23ae93;this[_0x4a3ee3(0x3c6)][_0x4a3ee3(0x391)](this['unitID'],_0x51c70a);}[_0x23ae93(0x1a1)](_0x49f1b8){var _0x1b7c99=_0x23ae93,_0x57d80c,_0x2b18ee;(_0x2b18ee=(_0x57d80c=this['_handler'])[_0x1b7c99(0x194)])==null||_0x2b18ee[_0x1b7c99(0x179)](_0x57d80c,_0x49f1b8);}[_0x23ae93(0x12b)](_0x1fdc93){var _0x3209b7=_0x23ae93,_0x40f37d,_0x59c917;return(_0x59c917=(_0x40f37d=this[_0x3209b7(0x294)])[_0x3209b7(0x1c2)])==null?void 0x0:_0x59c917['call'](_0x40f37d,_0x1fdc93);}[_0x23ae93(0x199)](_0x4703c8){var _0x36cc58=_0x23ae93,_0x26805d,_0x216211;return(_0x216211=(_0x26805d=this[_0x36cc58(0x294)])[_0x36cc58(0x1d8)])==null?void 0x0:_0x216211['call'](_0x26805d,_0x4703c8);}[_0x23ae93(0x417)](_0x61138f){var _0x50d2a4=_0x23ae93,_0x51f1b3,_0xdef0c3,_0xc3611d;return(_0xc3611d=(_0xdef0c3=(_0x51f1b3=this[_0x50d2a4(0x294)])[_0x50d2a4(0x136)])==null?void 0x0:_0xdef0c3[_0x50d2a4(0x179)](_0x51f1b3,_0x61138f))!=null?_0xc3611d:_0x61138f;}['_transformRemoteChangesetByStateCache'](_0x20119a){var _0x313643=_0x23ae93,_0x296433,_0x445088,_0x46eeb0;return(_0x46eeb0=(_0x445088=(_0x296433=this[_0x313643(0x294)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x445088['call'](_0x296433,_0x20119a))!=null?_0x46eeb0:_0x20119a;}[_0x23ae93(0x342)](_0x1cc059){var _0x2bbd67=_0x23ae93,_0x176624,_0x50bab8;if(this[_0x2bbd67(0x1a9)]===Q['UNIVER_DOC']){const {unitID:_0x12cfd6,mutations:_0x3edf4b,memberID:_0x1b9bc1}=_0x1cc059,_0x40e706=_0x3edf4b[_0x2bbd67(0x2ca)]>0x0?_0x3edf4b[0x0]['params'][_0x2bbd67(0x3ea)]:[];Array[_0x2bbd67(0x1ae)](_0x40e706)&&_0x40e706[_0x2bbd67(0x2ca)]>0x0&&((_0x50bab8=(_0x176624=this[_0x2bbd67(0x294)])['onSyncEditingCollabCursor'])==null||_0x50bab8['call'](_0x176624,{'unitID':_0x12cfd6,'memberID':_0x1b9bc1,'textRanges':_0x40e706}));}}[_0x23ae93(0x3ff)](){var _0x5ad35d=_0x23ae93,_0x17a536;(_0x17a536=this['_localCacheService'])==null||_0x17a536['updateOfflineData'](this[_0x5ad35d(0x10c)],this['type'],this[_0x5ad35d(0x38e)],this[_0x5ad35d(0x264)]);}['_getCurrentRevision'](){var _0x2235d6=_0x23ae93;return this[_0x2235d6(0x153)][_0x2235d6(0x35c)](this['unitID']);}[_0x23ae93(0x36f)](){var _0x3b8856=_0x23ae93;this[_0x3b8856(0x153)][_0x3b8856(0x2c0)](this[_0x3b8856(0x10c)]);}[_0x23ae93(0x246)](_0x3a156c){var _0x18a6cd=_0x23ae93,_0xc3f140;let _0x574c87=this[_0x18a6cd(0x417)](_0x3a156c);_0x574c87=this[_0x18a6cd(0x26b)](_0x574c87);const _0x4423e8=_0x8d89f7(_0x574c87['mutations'],this[_0x18a6cd(0x29a)],{'fromCollab':!0x0});if(!_0x4423e8[_0x18a6cd(0x1b9)])throw _0x4423e8['error']instanceof Error?_0x4423e8['error']:new Error((_0xc3f140=_0x4423e8[_0x18a6cd(0x14f)])!=null?_0xc3f140:_0x18a6cd(0x1c8));this[_0x18a6cd(0x12b)](_0x574c87),this[_0x18a6cd(0x199)](_0x574c87),this[_0x18a6cd(0x2b0)](_0x3a156c),this[_0x18a6cd(0x1a1)](_0x574c87),this[_0x18a6cd(0x342)](_0x574c87),this[_0x18a6cd(0x36f)]();}}let be=class extends ge{constructor(_0x3d175f,_0x225c8d,_0x13f82b,_0x5340b5,_0x49b187,_0x1f306e,_0x5d97ea,_0x49925b,_0x5c26e4,_0x13d278){var _0x418c02=_0x23ae93;super(_0x3d175f,_0x225c8d,null,[],_0x13f82b,_0x5d97ea,_0x1f306e,_0x5340b5,_0x13d278),D(this,'status',_0x418c02(0x3f7)),(this[_0x418c02(0x345)]=_0x49b187,this['_logService']=_0x49925b,this[_0x418c02(0x177)]=_0x5c26e4,this[_0x418c02(0x13c)]=_0x13d278);}[_0x23ae93(0x416)](_0x1170c3){var _0x2f54e4=_0x23ae93;const _0xd492f4=this[_0x2f54e4(0x345)][_0x2f54e4(0x232)](ae,this[_0x2f54e4(0x10c)],this[_0x2f54e4(0x1a9)],[_0x1170c3],this[_0x2f54e4(0x294)]);return _0xd492f4['_schedule'](),_0xd492f4['_updateLocalCache'](),_0xd492f4;}[_0x23ae93(0x3af)](_0x539c99){var _0xa9f851=_0x23ae93;if(this[_0xa9f851(0x1e2)](_0x539c99))return this['_injector'][_0xa9f851(0x232)](ee,this[_0xa9f851(0x10c)],this[_0xa9f851(0x1a9)],null,[],null,[_0x539c99],this['_handler']);try{const _0x3069c1=this[_0xa9f851(0x177)][_0xa9f851(0x41c)](_0x539c99,[_0x5a441b]);if(_0x1277a2(_0x3069c1)){const {c1Prime:_0x21da8d}=_0x3069c1;return this[_0xa9f851(0x246)](_0x21da8d),this;}throw _0x3069c1[_0xa9f851(0x14f)];}catch(_0x2b44e8){return this[_0xa9f851(0x413)]['error'](_0x2b44e8),this[_0xa9f851(0x2ad)](!0x1);}}[_0x23ae93(0x2ad)](_0x32478a){var _0x3c3468=_0x23ae93;return this['_injector'][_0x3c3468(0x232)](ue,this[_0x3c3468(0x10c)],this[_0x3c3468(0x1a9)],null,[],this[_0x3c3468(0x294)],_0x32478a);}[_0x23ae93(0x3dc)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x23ae93(0x3bf)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x223355=_0x23ae93;return this[_0x223355(0x345)][_0x223355(0x232)](de,this[_0x223355(0x10c)],this[_0x223355(0x1a9)],null,[],this[_0x223355(0x294)]);}['toggleOnline'](){return this;}[_0x23ae93(0x25d)](){var _0x570dd4=_0x23ae93;throw new Error(_0x570dd4(0x188));}[_0x23ae93(0x2cf)](){var _0x59944b=_0x23ae93;const _0xfbf9f9=this[_0x59944b(0x153)][_0x59944b(0x35c)](this[_0x59944b(0x10c)]);return this[_0x59944b(0x294)][_0x59944b(0x351)]({'from':_0xfbf9f9,'to':0x0}),this[_0x59944b(0x345)][_0x59944b(0x232)](ee,this['unitID'],this['type'],null,[],null,[],this[_0x59944b(0x294)]);}};be=Se([L(0x3,_0x35e039(_0x5ea32b)),L(0x4,_0x35e039(_0xefc734)),L(0x5,_0x3d8dad),L(0x6,_0x146785),L(0x7,_0x1e4e23),L(0x8,_0x3b1162),L(0x9,_0x3a44cd(X))],be);let ae=class extends ge{constructor(_0x4efaad,_0x8d80c9,_0x2fe94c,_0x1a28e6,_0x227edb,_0x135175,_0x317ec6,_0x20d271,_0x1654c0,_0x268b07,_0x5cc95b,_0x180391,_0x34f548,_0x308478){var _0x2b6e64=_0x23ae93;super(_0x4efaad,_0x8d80c9,null,_0x2fe94c,_0x1a28e6,_0x1654c0,_0x34f548,_0x135175,_0x308478),D(this,'status',_0x2b6e64(0x18b)),D(this,_0x2b6e64(0x379),null),D(this,_0x2b6e64(0x21b),null),(this[_0x2b6e64(0x345)]=_0x227edb,this[_0x2b6e64(0x1b4)]=_0x317ec6,this[_0x2b6e64(0x413)]=_0x20d271,this[_0x2b6e64(0x22f)]=_0x268b07,this[_0x2b6e64(0x177)]=_0x5cc95b,this[_0x2b6e64(0x3a3)]=_0x180391);}[_0x23ae93(0x416)](_0x5662e8){var _0x24b988=_0x23ae93;return this[_0x24b988(0x264)]['push'](_0x5662e8),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2e96c0){var _0x946f5f=_0x23ae93;if(this[_0x946f5f(0x1e2)](_0x2e96c0))return this[_0x946f5f(0x1ff)](),this[_0x946f5f(0x345)][_0x946f5f(0x232)](ee,this[_0x946f5f(0x10c)],this[_0x946f5f(0x1a9)],null,this[_0x946f5f(0x264)],null,[_0x2e96c0],this['_handler']);try{const _0x49f3ce=this[_0x946f5f(0x177)][_0x946f5f(0x41c)](_0x2e96c0,this[_0x946f5f(0x264)]);if(_0x1277a2(_0x49f3ce)){const {c1Prime:_0xb2afb3,m2Prime:_0x39f053}=_0x49f3ce;this['_executeRemoteChangeset'](_0xb2afb3);const _0x538d0d=this['_injector']['createInstance'](ae,this[_0x946f5f(0x10c)],this[_0x946f5f(0x1a9)],_0x39f053,this[_0x946f5f(0x294)]);this[_0x946f5f(0x1ff)]();const _0x32a1b8=new Date()[_0x946f5f(0x308)](),_0x14c200=this[_0x946f5f(0x379)]?Math['max'](this[_0x946f5f(0x379)]-_0x32a1b8,0x0):this['_getSendChangesetTimeout']();return _0x538d0d[_0x946f5f(0x2d6)](_0x14c200),_0x538d0d;}throw _0x49f3ce[_0x946f5f(0x14f)];}catch(_0x3bdb3b){return this['_logService']['error'](_0x3bdb3b),this['_onConflict'](!0x1);}}[_0x23ae93(0x3dc)](){var _0x42fcae=_0x23ae93;throw new Error(_0x42fcae(0x1c5));}[_0x23ae93(0x3bf)](){var _0x5193c4=_0x23ae93;throw new Error(_0x5193c4(0x16f));}[_0x23ae93(0x1a4)](){return this;}[_0x23ae93(0x3c5)](){var _0x423d2c=_0x23ae93;return this[_0x423d2c(0x1ff)](),this[_0x423d2c(0x345)][_0x423d2c(0x232)](de,this[_0x423d2c(0x10c)],this['type'],null,this[_0x423d2c(0x264)],this[_0x423d2c(0x294)]);}[_0x23ae93(0x17b)](){return this;}[_0x23ae93(0x2d6)](_0x13221c){var _0x413353=_0x23ae93;const _0x5090b0=_0x13221c!=null?_0x13221c:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x413353(0x308)]()+_0x5090b0,this[_0x413353(0x21b)]=setTimeout(()=>{var _0x3f90f6=_0x413353;this[_0x3f90f6(0x1ff)]();let _0x1dd7ca=null;switch(this[_0x3f90f6(0x1a9)]){case Q[_0x3f90f6(0x182)]:{_0x1dd7ca=Vt(this[_0x3f90f6(0x264)],this[_0x3f90f6(0x10c)],this[_0x3f90f6(0x3a3)],this[_0x3f90f6(0x153)],this[_0x3f90f6(0x1b4)]);break;}case Q[_0x3f90f6(0x261)]:{this[_0x3f90f6(0x264)][_0x3f90f6(0x171)](_0xa78979=>_0xa78979['id']===_0x39db7e['id'])?_0x1dd7ca=Bs(this[_0x3f90f6(0x264)],this[_0x3f90f6(0x10c)],this[_0x3f90f6(0x3a3)],this[_0x3f90f6(0x153)],this[_0x3f90f6(0x1b4)]):_0x1dd7ca=Vt(this[_0x3f90f6(0x264)],this[_0x3f90f6(0x10c)],this[_0x3f90f6(0x3a3)],this[_0x3f90f6(0x153)],this[_0x3f90f6(0x1b4)]);break;}default:throw new Error(_0x3f90f6(0x3cb)+this['type']+_0x3f90f6(0x1b7));}const {changeset:_0x1421ce,pendingMutations:_0x18c95d}=_0x1dd7ca;this[_0x3f90f6(0x294)][_0x3f90f6(0x287)](_0x1421ce);const _0x98b22d=_0x18c95d['length']?this['_injector'][_0x3f90f6(0x232)](oe,this['unitID'],this[_0x3f90f6(0x1a9)],_0x1421ce,_0x18c95d,this[_0x3f90f6(0x294)],void 0x0):this[_0x3f90f6(0x345)][_0x3f90f6(0x232)](le,this[_0x3f90f6(0x10c)],this['type'],_0x1421ce,this[_0x3f90f6(0x294)]);_0x98b22d[_0x3f90f6(0x3ff)](),this[_0x3f90f6(0x294)][_0x3f90f6(0x3e3)](this,_0x98b22d);},_0x5090b0);}[_0x23ae93(0x23b)](){var _0x4727ef=_0x23ae93,_0x2c1298;const _0x301e99=this[_0x4727ef(0x22f)][_0x4727ef(0x380)](K);return(_0x2c1298=_0x301e99==null?void 0x0:_0x301e99[_0x4727ef(0x333)])!=null?_0x2c1298:ms;}[_0x23ae93(0x25d)](){var _0x27ef08=_0x23ae93;throw new Error(_0x27ef08(0x3c4));}[_0x23ae93(0x1ff)](){var _0x11506d=_0x23ae93;this[_0x11506d(0x21b)]!=null&&(clearTimeout(this[_0x11506d(0x21b)]),this['_sendingTimer']=null);}[_0x23ae93(0x2ad)](_0x43ff1d){var _0x5283d5=_0x23ae93;return this[_0x5283d5(0x1ff)](),this[_0x5283d5(0x345)][_0x5283d5(0x232)](ue,this[_0x5283d5(0x10c)],this[_0x5283d5(0x1a9)],null,this[_0x5283d5(0x264)],this[_0x5283d5(0x294)],_0x43ff1d);}};ae=Se([L(0x4,_0x35e039(_0xefc734)),L(0x5,_0x35e039(_0x5ea32b)),L(0x6,_0x35e039(Pe)),L(0x7,_0x1e4e23),L(0x8,_0x146785),L(0x9,_0x31c935),L(0xa,_0x3b1162),L(0xb,_0x1437e0),L(0xc,_0x3d8dad),L(0xd,_0x3a44cd(X))],ae);let le=class extends ge{constructor(_0x34979d,_0x4e9ed2,_0x1fad09,_0x4e3380,_0x224ef3,_0x36eaf5,_0x5a5a14,_0x5affdf,_0x1c0bea,_0x5d98a,_0x1d3060){var _0xf4d541=_0x23ae93;super(_0x34979d,_0x4e9ed2,_0x1fad09,[],_0x4e3380,_0x5a5a14,_0x5d98a,_0x36eaf5,_0x1d3060),D(this,_0xf4d541(0x170),_0xf4d541(0x119)),D(this,_0xf4d541(0x3f1),0x0),D(this,_0xf4d541(0x387),0x0),D(this,'_resendTimer'),D(this,_0xf4d541(0x173)),(this[_0xf4d541(0x345)]=_0x224ef3,this['_logService']=_0x5affdf,this['_transformService']=_0x1c0bea);}[_0x23ae93(0x416)](_0x3a6ef8){var _0x463354=_0x23ae93;this[_0x463354(0x1ff)]();const _0x5c33d5=this[_0x463354(0x345)]['createInstance'](oe,this[_0x463354(0x10c)],this[_0x463354(0x1a9)],this[_0x463354(0x38e)],[_0x3a6ef8],this[_0x463354(0x294)],this['_resendTimer']);return _0x5c33d5['_updateLocalCache'](),_0x5c33d5;}['onRemoteChangeset'](_0x3cd02f){var _0x45d375=_0x23ae93;if(this[_0x45d375(0x1e2)](_0x3cd02f))return this['_clearScheduledTask'](),this[_0x45d375(0x345)][_0x45d375(0x232)](ee,this[_0x45d375(0x10c)],this[_0x45d375(0x1a9)],this['_awaitingChangeset'],[],null,[_0x3cd02f],this[_0x45d375(0x294)]);try{const _0x390bcf=this[_0x45d375(0x177)][_0x45d375(0x2a3)]([_0x3cd02f],[this['_awaitingChangeset']],!0x1);if(_0x3432f4(_0x390bcf)){const {c1Prime:_0x149382,c2Prime:_0x1254cf}=_0x390bcf;this[_0x45d375(0x246)](_0x149382[0x0]),_0x1254cf[0x0][_0x45d375(0x25a)]=this['_getCurrentRevision'](),this[_0x45d375(0x1ff)]();const _0x10a88f=this['_injector'][_0x45d375(0x232)](le,this[_0x45d375(0x10c)],this[_0x45d375(0x1a9)],_0x1254cf[0x0],this[_0x45d375(0x294)]);return _0x10a88f[_0x45d375(0x3ff)](),_0x10a88f;}return this[_0x45d375(0x2ad)](!0x1);}catch(_0x3ee35d){return this[_0x45d375(0x413)][_0x45d375(0x14f)](_0x3ee35d),this['_onConflict'](!0x1);}}[_0x23ae93(0x3dc)](_0x4f9170){var _0x3e7a16=_0x23ae93;this[_0x3e7a16(0x1ff)]();const _0x2e7f6b=this[_0x3e7a16(0x153)][_0x3e7a16(0x35c)](this[_0x3e7a16(0x10c)]);if(_0x4f9170['revision']<_0x2e7f6b-0x1)return this;if(this['_checkMissing'](_0x4f9170))return this[_0x3e7a16(0x345)][_0x3e7a16(0x232)](ee,this[_0x3e7a16(0x10c)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x38a70b=this[_0x3e7a16(0x345)]['createInstance'](be,this[_0x3e7a16(0x10c)],this['type'],this[_0x3e7a16(0x294)]);return _0x38a70b[_0x3e7a16(0x3ff)](),_0x38a70b;}['onRemoteRej'](_0x56be66){var _0x256b7a=_0x23ae93;return this['_onConflict'](!!(_0x56be66!=null&&_0x56be66[_0x256b7a(0x2ce)]));}[_0x23ae93(0x1a4)](_0x27ee9d){var _0x20450d=_0x23ae93;return this[_0x20450d(0x387)]>Ti?this[_0x20450d(0x3c5)]():(this[_0x20450d(0x217)]=Ii(this['_resendTimeout'],{'timeout':this[_0x20450d(0x3f1)],'reqId':_0x27ee9d[_0x20450d(0x381)]}),this[_0x20450d(0x173)]=this[_0x20450d(0x217)][_0x20450d(0x1f7)](({reqId:_0x12fb22,timeout:_0x571f0d})=>{this['_resendWithTimeout'](_0x12fb22,_0x571f0d);}),this);}[_0x23ae93(0x3c5)](){var _0x1b76e1=_0x23ae93;return this['_clearScheduledTask'](),this[_0x1b76e1(0x345)][_0x1b76e1(0x232)](de,this[_0x1b76e1(0x10c)],this[_0x1b76e1(0x1a9)],this[_0x1b76e1(0x38e)],[],this[_0x1b76e1(0x294)]);}[_0x23ae93(0x17b)](){return this;}[_0x23ae93(0x25d)](){var _0x1cb2c2=_0x23ae93;this[_0x1cb2c2(0x294)][_0x1cb2c2(0x287)](this[_0x1cb2c2(0x38e)]);}[_0x23ae93(0x2ad)](_0x28a82a){var _0x4a4f4f=_0x23ae93;return this[_0x4a4f4f(0x1ff)](),this[_0x4a4f4f(0x345)][_0x4a4f4f(0x232)](ue,this[_0x4a4f4f(0x10c)],this[_0x4a4f4f(0x1a9)],this[_0x4a4f4f(0x38e)],[],this[_0x4a4f4f(0x294)],_0x28a82a);}[_0x23ae93(0x276)](_0x4bb09c,_0x668744){var _0x686513=_0x23ae93,_0x246881;_0x4bb09c===((_0x246881=this[_0x686513(0x38e)])==null?void 0x0:_0x246881['reqId'])&&(this[_0x686513(0x25d)](),this[_0x686513(0x3f1)]=_0x668744===0x0?0x3e8:Math['min'](_0x668744*0x2,gi),this[_0x686513(0x387)]+=this[_0x686513(0x3f1)]);}[_0x23ae93(0x1ff)](){var _0x25cea8=_0x23ae93,_0x175fe2;(_0x175fe2=this[_0x25cea8(0x173)])==null||_0x175fe2[_0x25cea8(0x397)](),this[_0x25cea8(0x3f1)]=0x0,this[_0x25cea8(0x387)]=0x0;}};le=Se([L(0x4,_0x35e039(_0xefc734)),L(0x5,_0x35e039(_0x5ea32b)),L(0x6,_0x146785),L(0x7,_0x1e4e23),L(0x8,_0x3b1162),L(0x9,_0x3d8dad),L(0xa,_0x3a44cd(X))],le);let oe=class extends ge{constructor(_0x410e81,_0x4cabb2,_0x4f9b9c,_0x1eaedc,_0x13ef8f,_0x2aacfb,_0x3f0de4,_0x5ebdc3,_0x7ca4ba,_0x31add1,_0x3bf87d,_0x547397,_0x125e6a){var _0x2bdb21=_0x23ae93;super(_0x410e81,_0x4cabb2,_0x4f9b9c,_0x1eaedc,_0x13ef8f,_0x7ca4ba,_0x547397,_0x5ebdc3,_0x125e6a),D(this,'status',_0x2bdb21(0x2f8)),D(this,_0x2bdb21(0x3f1),0x0),D(this,_0x2bdb21(0x387),0x0),D(this,'_resendTimer'),D(this,_0x2bdb21(0x173)),(this[_0x2bdb21(0x345)]=_0x3f0de4,this[_0x2bdb21(0x413)]=_0x31add1,this[_0x2bdb21(0x177)]=_0x3bf87d,this[_0x2bdb21(0x13c)]=_0x125e6a,_0x2aacfb&&(this[_0x2bdb21(0x217)]=_0x2aacfb,this[_0x2bdb21(0x173)]=this['_resendTimer'][_0x2bdb21(0x1f7)](({reqId:_0x1ae6ed,timeout:_0x443250})=>{this['_resendWithTimeout'](_0x1ae6ed,_0x443250);})));}[_0x23ae93(0x416)](_0x1bd096){var _0x5a019d=_0x23ae93;return this[_0x5a019d(0x264)]['push'](_0x1bd096),this;}[_0x23ae93(0x3af)](_0x150837){var _0x38da5b=_0x23ae93;if(this[_0x38da5b(0x1e2)](_0x150837))return this[_0x38da5b(0x1ff)](),this['_injector']['createInstance'](ee,this[_0x38da5b(0x10c)],this[_0x38da5b(0x1a9)],this['_awaitingChangeset'],this[_0x38da5b(0x264)],null,[_0x150837],this[_0x38da5b(0x294)]);try{const _0x23f928=this['_transformService'][_0x38da5b(0x2a3)]([_0x150837],[this['_awaitingChangeset']],!0x1);if(_0x3432f4(_0x23f928)){const {c1Prime:_0x501b76,c2Prime:_0x29efca}=_0x23f928,_0x5e5b7b=this['_transformService'][_0x38da5b(0x41c)](_0x501b76[0x0],this['_pendingMutations']);if(_0x1277a2(_0x5e5b7b)){const {c1Prime:_0x4abab2,m2Prime:_0x280552}=_0x5e5b7b;return this[_0x38da5b(0x246)](_0x4abab2),_0x29efca[0x0][_0x38da5b(0x25a)]=this[_0x38da5b(0x362)](),this[_0x38da5b(0x1ff)](),this[_0x38da5b(0x345)][_0x38da5b(0x232)](oe,this[_0x38da5b(0x10c)],this[_0x38da5b(0x1a9)],_0x29efca[0x0],_0x280552,this[_0x38da5b(0x294)],void 0x0);}throw _0x5e5b7b[_0x38da5b(0x14f)];}throw _0x23f928[_0x38da5b(0x14f)];}catch(_0x54af4b){return this['_logService']['error'](_0x54af4b),this['_onConflict'](!0x1);}}[_0x23ae93(0x3dc)](_0x1affb4){var _0x4167d5=_0x23ae93;if(this[_0x4167d5(0x1ff)](),this[_0x4167d5(0x1e2)](_0x1affb4))return this['_injector'][_0x4167d5(0x232)](ee,this['unitID'],this[_0x4167d5(0x1a9)],null,this[_0x4167d5(0x264)],this[_0x4167d5(0x38e)],[],this[_0x4167d5(0x294)]);this[_0x4167d5(0x36f)]();const _0x3c95fd=this[_0x4167d5(0x345)][_0x4167d5(0x232)](ae,this[_0x4167d5(0x10c)],this[_0x4167d5(0x1a9)],this[_0x4167d5(0x264)],this[_0x4167d5(0x294)]);return _0x3c95fd['_schedule'](),_0x3c95fd[_0x4167d5(0x3ff)](),_0x3c95fd;}['onRemoteRej'](_0x2ca7ba){var _0x3340a7=_0x23ae93;return this[_0x3340a7(0x2ad)](!!(_0x2ca7ba!=null&&_0x2ca7ba[_0x3340a7(0x2ce)]));}[_0x23ae93(0x1a4)](_0x2a4270){var _0x59ce34=_0x23ae93;return this['_maxTotalRetryTimeout']>Ti?this[_0x59ce34(0x3c5)]():(this[_0x59ce34(0x217)]=Ii(this[_0x59ce34(0x3f1)],{'timeout':this[_0x59ce34(0x3f1)],'reqId':_0x2a4270['reqId']}),this[_0x59ce34(0x173)]=this['_resendTimer'][_0x59ce34(0x1f7)](({reqId:_0x17ed79,timeout:_0x5ea27e})=>{var _0x273d6d=_0x59ce34;this[_0x273d6d(0x276)](_0x17ed79,_0x5ea27e);}),this);}[_0x23ae93(0x3c5)](){var _0xb8469c=_0x23ae93;return this[_0xb8469c(0x1ff)](),this['_injector'][_0xb8469c(0x232)](de,this[_0xb8469c(0x10c)],this[_0xb8469c(0x1a9)],this[_0xb8469c(0x38e)],this[_0xb8469c(0x264)],this[_0xb8469c(0x294)]);}[_0x23ae93(0x17b)](){return this;}[_0x23ae93(0x25d)](){var _0x3cd47e=_0x23ae93;this[_0x3cd47e(0x294)]['onSendChangeset'](this[_0x3cd47e(0x38e)]);}[_0x23ae93(0x2ad)](_0x35831f){var _0x5a3b0b=_0x23ae93;return this[_0x5a3b0b(0x1ff)](),this[_0x5a3b0b(0x345)][_0x5a3b0b(0x232)](ue,this[_0x5a3b0b(0x10c)],this[_0x5a3b0b(0x1a9)],null,this[_0x5a3b0b(0x264)],this[_0x5a3b0b(0x294)],_0x35831f);}[_0x23ae93(0x276)](_0x1de8d9,_0xbe4675){var _0x355386=_0x23ae93,_0x3a0ad6;_0x1de8d9===((_0x3a0ad6=this[_0x355386(0x38e)])==null?void 0x0:_0x3a0ad6['reqId'])&&(this[_0x355386(0x25d)](),this['_resendTimeout']=_0xbe4675===0x0?0x3e8:Math[_0x355386(0x1f0)](_0xbe4675*0x2,gi),this[_0x355386(0x387)]+=this[_0x355386(0x3f1)]);}[_0x23ae93(0x1ff)](){var _0x3a2d22=_0x23ae93,_0x198194;(_0x198194=this[_0x3a2d22(0x173)])==null||_0x198194['unsubscribe'](),this[_0x3a2d22(0x3f1)]=0x0,this[_0x3a2d22(0x387)]=0x0;}};oe=Se([L(0x6,_0x35e039(_0xefc734)),L(0x7,_0x35e039(_0x5ea32b)),L(0x8,_0x146785),L(0x9,_0x1e4e23),L(0xa,_0x3b1162),L(0xb,_0x3d8dad),L(0xc,_0x3a44cd(X))],oe);let ue=class extends ge{constructor(_0xc79aa7,_0x2d73cd,_0x498c1,_0x40fd2e,_0xbbda2b,_0x3adf88=!0x1,_0x2861df,_0x126ffa,_0x2fc10b,_0x5d19ce,_0x56392a,_0x284c0d,_0x383ea4){var _0x1c0ae4=_0x23ae93;super(_0xc79aa7,_0x2d73cd,_0x498c1,_0x40fd2e,_0xbbda2b,_0x126ffa,_0x2fc10b,_0x5d19ce,_0x383ea4),D(this,_0x1c0ae4(0x170),'conflict'),(this[_0x1c0ae4(0x142)]=_0x3adf88,this[_0x1c0ae4(0x183)]=_0x2861df,this[_0x1c0ae4(0x354)]=_0x56392a,this[_0x1c0ae4(0x277)]=_0x284c0d,this['localCacheService']=_0x383ea4,this[_0x1c0ae4(0x259)](),this[_0x1c0ae4(0x2ef)](),this[_0x1c0ae4(0x33f)]());}['appendMutation'](){return this;}[_0x23ae93(0x3af)](){return this;}[_0x23ae93(0x3dc)](){return this;}['onRemoteRej'](){return this;}[_0x23ae93(0x1a4)](){return this;}['toggleOffline'](){return this;}[_0x23ae93(0x17b)](){return this;}[_0x23ae93(0x25d)](){var _0x181a60=_0x23ae93;throw new Error(_0x181a60(0x1d3));}['_clearLocalCache'](){var _0x33a691=_0x23ae93,_0x3e9964;(_0x3e9964=this[_0x33a691(0x125)])==null||_0x3e9964[_0x33a691(0x210)](this[_0x33a691(0x10c)],this[_0x33a691(0x1a9)],null,[]);}['_showConflictNotification'](){var _0x50f617=_0x23ae93;this[_0x50f617(0x142)]?this['_collaborationUIEventService']['emitEvent']({'id':re[_0x50f617(0x195)]}):this[_0x50f617(0x277)][_0x50f617(0x377)]({'id':re[_0x50f617(0x322)]});}['_disableEditing'](){var _0x39d868=_0x23ae93;this[_0x39d868(0x183)][_0x39d868(0x3c7)](new _0x33890d(this[_0x39d868(0x10c)])['id'],!0x1);}};ue=Se([L(0x6,_0x35e039(_0x556f22)),L(0x7,_0x146785),L(0x8,_0x3d8dad),L(0x9,_0x35e039(_0x5ea32b)),L(0xa,_0x35e039(_0xaff562)),L(0xb,_0x35e039(ve)),L(0xc,_0x3a44cd(X))],ue);let de=class extends ge{constructor(_0x5a57c8,_0x2d8cf6,_0x110852,_0x5b3894,_0x56189a,_0x1e3b3f,_0x129e39,_0x4a618a,_0x559e1d,_0x3148c2){var _0x368451=_0x23ae93;super(_0x5a57c8,_0x2d8cf6,_0x110852,_0x5b3894,_0x56189a,_0x4a618a,_0x559e1d,_0x129e39,_0x3148c2),D(this,_0x368451(0x170),_0x368451(0x39c)),this[_0x368451(0x345)]=_0x1e3b3f;}[_0x23ae93(0x416)](_0x2bcd34){var _0x369835=_0x23ae93;return this[_0x369835(0x264)]['push'](_0x2bcd34),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x357e7d){var _0x42d49e=_0x23ae93;throw new Error(_0x42d49e(0x184));}[_0x23ae93(0x3dc)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x23ae93(0x3bf)](){var _0x21812f=_0x23ae93;throw new Error(_0x21812f(0x348));}[_0x23ae93(0x1a4)](){return this;}[_0x23ae93(0x3c5)](){return this;}['toggleOnline'](){var _0x186c76=_0x23ae93;const {_injector:_0x51e01a,_pendingMutations:_0x245e4e,_awaitingChangeset:_0x45753a,unitID:_0x271edf,_handler:_0xf795a5,type:_0x516bd6}=this,_0x2c07ca=Oi(_0x51e01a,_0x271edf,_0x516bd6,_0x45753a,_0x245e4e,_0xf795a5);return _0x2c07ca instanceof ae?_0x2c07ca[_0x186c76(0x2d6)]():(_0x2c07ca instanceof oe||_0x2c07ca instanceof le)&&_0x2c07ca[_0x186c76(0x25d)](),_0x2c07ca;}[_0x23ae93(0x25d)](){var _0x2a7596=_0x23ae93;throw new Error(_0x2a7596(0x3a7));}};de=Se([L(0x5,_0x35e039(_0xefc734)),L(0x6,_0x35e039(_0x5ea32b)),L(0x7,_0x146785),L(0x8,_0x3d8dad),L(0x9,_0x3a44cd(X))],de);let ee=class extends ge{constructor(_0x18cb02,_0x455395,_0x3abb64,_0x52b680,_0x455736,_0x16034e,_0x521a45,_0x1a09f0,_0x4aaf3e,_0xf7fc8c,_0x5f1891,_0x115dd9,_0x49da7a,_0x3e902d){var _0x1c49b8=_0x23ae93;super(_0x18cb02,_0x455395,_0x3abb64,_0x52b680,_0x521a45,_0x5f1891,_0x115dd9,_0x4aaf3e,_0x3e902d),D(this,'status',_0x1c49b8(0x1c0)),(this[_0x1c49b8(0x2a7)]=_0x455736,this[_0x1c49b8(0x2fd)]=_0x16034e,this['_injector']=_0x1a09f0,this['_logService']=_0xf7fc8c,this[_0x1c49b8(0x177)]=_0x49da7a,this[_0x1c49b8(0x13c)]=_0x3e902d);}[_0x23ae93(0x2f7)](_0x5ebaab){var _0x117ade=_0x23ae93;try{const _0x15b2dc=[..._0x5ebaab,...this[_0x117ade(0x2fd)]],_0x187c2a=[this['_awaitingChangeset']||this[_0x117ade(0x2a7)]]['filter'](_0x4170dc=>!!_0x4170dc);let _0x2be6f4,_0x1f2a7e;if(_0x187c2a[_0x117ade(0x2ca)]){const _0xba984d=this[_0x117ade(0x177)]['transformChangesets'](_0x15b2dc,_0x187c2a,!0x1);if(!_0x3432f4(_0xba984d))throw _0xba984d[_0x117ade(0x14f)];_0x2be6f4=_0xba984d[_0x117ade(0x21f)],_0x1f2a7e=_0xba984d['c2Prime'];}else _0x2be6f4=_0x15b2dc,_0x1f2a7e=[];let _0x369f65=this[_0x117ade(0x264)];_0x2be6f4['forEach'](_0x52ec5b=>{var _0x7cfd06=_0x117ade;let _0x22b65b;if(_0x369f65['length']){const _0x5d16fa=this[_0x7cfd06(0x177)]['transformMutationsWithChangeset'](_0x52ec5b,_0x369f65);if(!_0x1277a2(_0x5d16fa))throw _0x5d16fa[_0x7cfd06(0x14f)];_0x22b65b=_0x5d16fa[_0x7cfd06(0x21f)],_0x369f65=_0x5d16fa['m2Prime'];}else _0x22b65b=_0x52ec5b;this['_executeRemoteChangeset'](_0x22b65b);}),this[_0x117ade(0x2a7)]&&this[_0x117ade(0x36f)](),this['_awaitingChangeset']&&_0x1f2a7e['length']&&(_0x1f2a7e[0x0][_0x117ade(0x25a)]=this['_getCurrentRevision']());let _0x4028e4;if(this[_0x117ade(0x38e)]&&_0x369f65['length']!==0x0)_0x4028e4=this[_0x117ade(0x345)][_0x117ade(0x232)](oe,this['unitID'],this[_0x117ade(0x1a9)],_0x1f2a7e[0x0],_0x369f65,this[_0x117ade(0x294)],void 0x0);else{if(this[_0x117ade(0x38e)]&&_0x369f65[_0x117ade(0x2ca)]===0x0)_0x1f2a7e[0x0][_0x117ade(0x25a)]=this[_0x117ade(0x362)](),_0x4028e4=this[_0x117ade(0x345)][_0x117ade(0x232)](le,this[_0x117ade(0x10c)],this[_0x117ade(0x1a9)],_0x1f2a7e[0x0],this['_handler']);else{if(_0x369f65[_0x117ade(0x2ca)]!==0x0){const _0x371c03=this[_0x117ade(0x345)][_0x117ade(0x232)](ae,this[_0x117ade(0x10c)],this[_0x117ade(0x1a9)],_0x369f65,this['_handler']);_0x371c03[_0x117ade(0x2d6)](),_0x4028e4=_0x371c03;}else _0x4028e4=this[_0x117ade(0x345)][_0x117ade(0x232)](be,this['unitID'],this[_0x117ade(0x1a9)],this[_0x117ade(0x294)]);}}return _0x4028e4[_0x117ade(0x3ff)](),_0x4028e4;}catch(_0x3af014){return this[_0x117ade(0x413)][_0x117ade(0x14f)]('[FetchMissState]',_0x117ade(0x1e9),_0x3af014),this[_0x117ade(0x345)][_0x117ade(0x232)](ue,this[_0x117ade(0x10c)],this['type'],this[_0x117ade(0x38e)],this['_pendingMutations'],this[_0x117ade(0x294)],!0x1);}}[_0x23ae93(0x25d)](){var _0x5ee606=_0x23ae93;throw new Error(_0x5ee606(0x3e5));}[_0x23ae93(0x416)](_0x6084c2){var _0x42c84d=_0x23ae93;return this[_0x42c84d(0x264)][_0x42c84d(0x1b8)](_0x6084c2),this;}[_0x23ae93(0x3af)](_0x4f5a05){var _0xacf8b8=_0x23ae93;return this['_queuedRemoteChangesets'][_0xacf8b8(0x1b8)](_0x4f5a05),this;}[_0x23ae93(0x3dc)](_0x2c8fc1){var _0x2862d4=_0x23ae93;if(this['_awaitingChangeset'])return this[_0x2862d4(0x2a7)]=this[_0x2862d4(0x38e)],this[_0x2862d4(0x38e)]=null,this;throw new Error(_0x2862d4(0x267));}['onRemoteRej'](_0x54e777){var _0x51ac65=_0x23ae93;return this[_0x51ac65(0x2ad)](!!(_0x54e777!=null&&_0x54e777['isPermissionRej']));}[_0x23ae93(0x1a4)](){return this;}['toggleOffline'](){var _0x6a8189=_0x23ae93;return this[_0x6a8189(0x345)]['createInstance'](de,this[_0x6a8189(0x10c)],this['type'],this[_0x6a8189(0x38e)],this[_0x6a8189(0x264)],this[_0x6a8189(0x294)]);}[_0x23ae93(0x17b)](){return this;}['_onConflict'](_0x40617f){var _0x395326=_0x23ae93;return this[_0x395326(0x345)][_0x395326(0x232)](ue,this[_0x395326(0x10c)],this['type'],this[_0x395326(0x38e)],this[_0x395326(0x264)],this[_0x395326(0x294)],_0x40617f);}};ee=Se([L(0x7,_0x35e039(_0xefc734)),L(0x8,_0x35e039(_0x5ea32b)),L(0x9,_0x1e4e23),L(0xa,_0x146785),L(0xb,_0x3d8dad),L(0xc,_0x3b1162),L(0xd,_0x3a44cd(X))],ee);function Oi(_0x4e8f0f,_0x8373a3,_0x5c6987,_0x34be0b,_0x2cd4e5,_0x2703b4){var _0x3db03b=_0x23ae93;return _0x34be0b&&_0x2cd4e5['length']?_0x4e8f0f[_0x3db03b(0x232)](oe,_0x8373a3,_0x5c6987,_0x34be0b,_0x2cd4e5,_0x2703b4,void 0x0):_0x34be0b?_0x4e8f0f['createInstance'](le,_0x8373a3,_0x5c6987,_0x34be0b,_0x2703b4):_0x2cd4e5[_0x3db03b(0x2ca)]?_0x4e8f0f[_0x3db03b(0x232)](ae,_0x8373a3,_0x5c6987,_0x2cd4e5,_0x2703b4):_0x4e8f0f[_0x3db03b(0x232)](be,_0x8373a3,_0x5c6987,_0x2703b4);}var js=Object[_0x23ae93(0x2f0)],At=(_0x21edcf,_0x3d78cb,_0x4a81c8,_0x31f507)=>{for(var _0x1bd409=_0x31f507>0x1?void 0x0:_0x31f507?js(_0x3d78cb,_0x4a81c8):_0x3d78cb,_0x1ad859=_0x21edcf['length']-0x1,_0x2209eb;_0x1ad859>=0x0;_0x1ad859--)(_0x2209eb=_0x21edcf[_0x1ad859])&&(_0x1bd409=_0x2209eb(_0x1bd409)||_0x1bd409);return _0x1bd409;},$=(_0x2b627a,_0x25efcd)=>(_0x5806b7,_0x12158d)=>_0x25efcd(_0x5806b7,_0x12158d,_0x2b627a);let st=class extends _0x2d880a{constructor(_0x1c1e1f,_0x4cebb2,_0x1f6d9b,_0x2ba8cc,_0x52b84f,_0x322527,_0x5ebb29,_0x31633a,_0x33f52b,_0x15d9fd,_0x53a478,_0x185696,_0x510cd0,_0x5bc5bd){var _0x3acf33=_0x23ae93;super(),D(this,_0x3acf33(0x2ec),new _0x2d0dd9(null)),D(this,_0x3acf33(0x3b0),this[_0x3acf33(0x2ec)][_0x3acf33(0x240)]()),D(this,_0x3acf33(0x382)),D(this,'_collaborationPaused',!0x1),D(this,_0x3acf33(0x1a2),''),D(this,'_changesetReqId',0x0),D(this,_0x3acf33(0x281),this[_0x3acf33(0x3b0)][_0x3acf33(0x20a)](_0xe7c4cc(_0x8b545b=>_0x8b545b?_0x8b545b[_0x3acf33(0x170)]:Si[_0x3acf33(0x191)]),_0xcf6c00(0x1))),D(this,_0x3acf33(0x1cb),!0x1),D(this,_0x3acf33(0x396),[]),(this[_0x3acf33(0x10c)]=_0x1c1e1f,this['session']=_0x4cebb2,this[_0x3acf33(0x32e)]=_0x1f6d9b,this[_0x3acf33(0x345)]=_0x2ba8cc,this[_0x3acf33(0x3c2)]=_0x52b84f,this[_0x3acf33(0x354)]=_0x322527,this[_0x3acf33(0x153)]=_0x5ebb29,this['_eventService']=_0x31633a,this[_0x3acf33(0x3a3)]=_0x33f52b,this[_0x3acf33(0x413)]=_0x15d9fd,this['_commandService']=_0x53a478,this[_0x3acf33(0x183)]=_0x185696,this['_singleActiveUnitService']=_0x510cd0,this[_0x3acf33(0x125)]=_0x5bc5bd);}get[_0x23ae93(0x2c4)](){return this['_state'];}async[_0x23ae93(0x2c1)](){var _0x3959fa=_0x23ae93;if(this[_0x3959fa(0x2c4)])throw new Error(_0x3959fa(0x244));await this[_0x3959fa(0x3da)]();}[_0x23ae93(0x34e)](){return this['_collaborationPaused']=!0x0,_0x294255(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x23ae93(0x3ed)](_0x2ff073){var _0x42f12b=_0x23ae93;this[_0x42f12b(0x419)](_0x2ff073);}['_updateState'](_0x51d959){var _0x10b00e=_0x23ae93;this['_state']=_0x51d959,this[_0x10b00e(0x2ec)][_0x10b00e(0x418)](_0x51d959);}async[_0x23ae93(0x3da)](){var _0x200373=_0x23ae93,_0x37121a;this[_0x200373(0x343)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x37121a=this[_0x200373(0x365)])==null||_0x37121a[_0x200373(0x3fc)](this['unitID']),this[_0x200373(0x2e9)](this[_0x200373(0x365)]['getUnitStatus$'](this['unitID'])[_0x200373(0x1f7)](_0x3ffff4=>{var _0x448957=_0x200373;this[_0x448957(0x413)]['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x3ffff4),_0x3ffff4===mi[_0x448957(0x3a8)]?(this[_0x448957(0x165)][_0x448957(0x377)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x448957(0x183)]['updatePermissionPoint'](new _0x33890d(this[_0x448957(0x10c)])['id'],!0x1),this['_permissionService'][_0x448957(0x1f9)](!0x1)):(this['_permissionService'][_0x448957(0x3c7)](new _0x33890d(this[_0x448957(0x10c)])['id'],!0x0),this[_0x448957(0x183)][_0x448957(0x1f9)](!0x0));})));let _0x2f0058=!0x1;return this[_0x200373(0x2e9)](this[_0x200373(0x24b)][_0x200373(0x35e)][_0x200373(0x1f7)](_0x3ec16d=>{var _0x57f8d9=_0x200373;_0x3ec16d===me[_0x57f8d9(0x3ce)]?this[_0x57f8d9(0x252)](_0x2f0058):_0x3ec16d===me[_0x57f8d9(0x191)]&&(_0x2f0058=!0x0,this[_0x57f8d9(0x30c)]());})),this[_0x200373(0x2e9)](this['session']['event$']['subscribe'](_0x18574d=>{var _0x290551=_0x200373;try{switch(_0x18574d[_0x290551(0x196)]){case _0x2ea533[_0x290551(0x3a9)]:{this[_0x290551(0x1b1)](_0x24ec53(_0x18574d[_0x290551(0x10f)]));break;}case _0x2ea533[_0x290551(0x25b)]:{this['_onRemoteACK'](_0x18574d['data']);break;}case _0x2ea533[_0x290551(0x28a)]:{this['_onRemoteRejected']();break;}case _0x2ea533[_0x290551(0x208)]:{this[_0x290551(0x1fb)](_0x18574d[_0x290551(0x10f)]);break;}case _0x2ea533['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x18574d[_0x290551(0x10f)]['changesets'][_0x290551(0x15a)](_0xb73c90=>_0x24ec53(_0xb73c90)));break;}case _0x2ea533[_0x290551(0x19a)]:{this[_0x290551(0x2fc)]({'isPermissionRej':!0x0});break;}case _0x2ea533['UNISCRIPT_RUN']:break;}}catch(_0x226e5d){throw console[_0x290551(0x14f)](_0x290551(0x12d),_0x226e5d),_0x226e5d;}})),this[_0x200373(0x382)];}['_unlockTransition'](){var _0xab2f7f=_0x23ae93;this[_0xab2f7f(0x1cb)]=!0x1;}[_0x23ae93(0x403)](){var _0x1aace9=_0x23ae93;if(this[_0x1aace9(0x1cb)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x23ae93(0x419)](_0x14cc96){var _0x1d7e65=_0x23ae93;this[_0x1d7e65(0x403)](),this[_0x1d7e65(0x343)](this[_0x1d7e65(0x382)]['appendMutation'](_0x14cc96)),this[_0x1d7e65(0x110)]();}['_onRemoteChangeset'](_0x5cdb48){var _0x55a65d=_0x23ae93;if(!(_0x5cdb48[_0x55a65d(0x26e)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x55a65d(0x10c)]))){if(this[_0x55a65d(0x24c)]){this[_0x55a65d(0x396)][_0x55a65d(0x1b8)](_0x5cdb48);return;}this[_0x55a65d(0x228)](_0x5cdb48);}}[_0x23ae93(0x3f2)](){var _0x409367=_0x23ae93;this[_0x409367(0x396)][_0x409367(0x10b)](_0x5838fb=>this['_applyRemoteChangeset'](_0x5838fb)),this[_0x409367(0x396)]=[];}[_0x23ae93(0x228)](_0x39e187){var _0x25d21b=_0x23ae93;const _0x305764=this[_0x25d21b(0x3c2)][_0x25d21b(0x28f)][_0x25d21b(0x1d2)](this['_compressMutationService'][_0x25d21b(0x28f)][_0x25d21b(0x2bd)]()[_0x25d21b(0x1d7)])(_0x39e187[_0x25d21b(0x331)],null)||_0x39e187[_0x25d21b(0x331)],_0x4cdcde={..._0x39e187,'mutations':_0x305764};this['_lockTransition'](),this[_0x25d21b(0x343)](this['_state'][_0x25d21b(0x3af)](_0x4cdcde)),this['_unlockTransition']();}[_0x23ae93(0x421)](_0x5abebc){var _0x3a56d9=_0x23ae93;this['_lockTransition'](),this[_0x3a56d9(0x343)](this[_0x3a56d9(0x382)]['onRemoteAck'](_0x5abebc)),this[_0x3a56d9(0x110)]();}['_onRemoteRejected'](_0x4291b8){var _0x124480=_0x23ae93;this[_0x124480(0x403)](),this[_0x124480(0x343)](this[_0x124480(0x382)][_0x124480(0x3bf)](_0x4291b8)),this[_0x124480(0x110)]();}[_0x23ae93(0x1fb)](_0x1f722e){var _0x3d8748=_0x23ae93;this[_0x3d8748(0x403)](),this[_0x3d8748(0x343)](this[_0x3d8748(0x382)][_0x3d8748(0x1a4)](_0x1f722e)),this[_0x3d8748(0x110)]();}[_0x23ae93(0x37b)](_0x453273){var _0x190971=_0x23ae93;if(!(this['_state']instanceof ee))throw new TypeError(_0x190971(0x121));const _0x4cf156=_0x453273['map'](_0xf12f6d=>{var _0x499ddb=_0x190971;const _0x3c3e03=this[_0x499ddb(0x3c2)]['interceptor']['fetchThroughInterceptors'](this[_0x499ddb(0x3c2)][_0x499ddb(0x28f)][_0x499ddb(0x2bd)]()[_0x499ddb(0x1d7)])(_0xf12f6d['mutations'],null)||_0xf12f6d[_0x499ddb(0x331)];return{..._0xf12f6d,'mutations':_0x3c3e03};});this[_0x190971(0x403)](),this[_0x190971(0x343)](this[_0x190971(0x382)][_0x190971(0x2f7)](_0x4cf156)),this[_0x190971(0x110)]();}[_0x23ae93(0x30c)](){var _0x5b1b54=_0x23ae93;this['_lockTransition'](),this[_0x5b1b54(0x343)](this[_0x5b1b54(0x382)][_0x5b1b54(0x3c5)]()),this[_0x5b1b54(0x110)]();}['_toggleOnline'](_0x52dbce=!0x1){var _0x11b8ac=_0x23ae93;this[_0x11b8ac(0x403)](),this[_0x11b8ac(0x343)](this['_state'][_0x11b8ac(0x17b)]()),this[_0x11b8ac(0x110)]();const _0x1f3a11=this[_0x11b8ac(0x382)];_0x52dbce&&_0x1f3a11 instanceof be&&(this[_0x11b8ac(0x403)](),this[_0x11b8ac(0x343)](_0x1f3a11[_0x11b8ac(0x2cf)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0xddb35d=>{var _0x4af2b9=_0x97e6;this[_0x4af2b9(0x24b)][_0x4af2b9(0x35e)][_0x4af2b9(0x20a)](_0x4fb047(0x1))[_0x4af2b9(0x1f7)](async _0x29600a=>{var _0x2e11cc=_0x4af2b9;_0xddb35d(await this['_createInitialStateImpl'](_0x29600a===me[_0x2e11cc(0x3ce)]));});});}['_createHandler'](){var _0x575118=_0x23ae93;const _0x70ba8d=this[_0x575118(0x10c)];return{'onStateChange':(_0x6436a9,_0x3a9f35)=>{var _0x26b0f6=_0x575118;if(_0x6436a9!==this[_0x26b0f6(0x382)])throw new Error(_0x26b0f6(0x3d1)+_0x6436a9[_0x26b0f6(0x170)]+_0x26b0f6(0x225)+_0x3a9f35[_0x26b0f6(0x170)]+_0x26b0f6(0x338)+this['_state'][_0x26b0f6(0x170)]);this['_updateState'](_0x3a9f35);},'onSendChangeset':_0x4f3dd0=>{var _0x17fa88=_0x575118;_0x4f3dd0[_0x17fa88(0x2fb)]||(_0x4f3dd0[_0x17fa88(0x2fb)]=this[_0x17fa88(0x1a2)],_0x4f3dd0['reqId']=++this['_changesetReqId']);const _0xefa2e5={'eventID':_0x2ea533[_0x17fa88(0x149)],'data':{'unitID':_0x4f3dd0['unitID'],'unitType':this[_0x17fa88(0x32e)],'changeset':_0x4f3dd0,'memberID':this[_0x17fa88(0x24b)][_0x17fa88(0x152)]()}};this[_0x17fa88(0x24b)][_0x17fa88(0x2be)](_0xefa2e5,this[_0x17fa88(0x10c)]);},'onMissingChangesets':({from:_0x9e0f6f,to:_0x435264})=>{var _0x31c5ee=_0x575118;this[_0x31c5ee(0x413)][_0x31c5ee(0x2d7)](_0x31c5ee(0x2c5),'fetching\x20missing\x20changesets\x20from\x20'+_0x9e0f6f+_0x31c5ee(0x3cc)+_0x435264);const _0x4f152a={'eventID':_0x2ea533[_0x31c5ee(0x185)],'data':{'unitID':_0x70ba8d,'unitType':this['_type'],'from':_0x9e0f6f,'to':_0x435264}};this[_0x31c5ee(0x24b)][_0x31c5ee(0x2be)](_0x4f152a,this['unitID']);}};}async[_0x23ae93(0x1a8)](_0x33d48f){var _0x5244c7=_0x23ae93,_0x4f87f1,_0x394eb3,_0x5e056d;const _0x32bc85=await((_0x4f87f1=this[_0x5244c7(0x125)])==null?void 0x0:_0x4f87f1[_0x5244c7(0x3ba)](this[_0x5244c7(0x10c)])),_0x550f61=(_0x394eb3=_0x32bc85==null?void 0x0:_0x32bc85[_0x5244c7(0x331)])!=null?_0x394eb3:[],_0x47eb12=(_0x5e056d=_0x32bc85==null?void 0x0:_0x32bc85[_0x5244c7(0x406)])!=null?_0x5e056d:null,_0x52c016=!!(_0x47eb12!=null&&_0x47eb12[_0x5244c7(0x2fb)])&&!!(_0x47eb12!=null&&_0x47eb12[_0x5244c7(0x381)]);this[_0x5244c7(0x1a2)]=_0x52c016?_0x47eb12[_0x5244c7(0x2fb)]:_0x36214e(),this[_0x5244c7(0x22b)]=_0x52c016?_0x47eb12[_0x5244c7(0x381)]:0x0;const _0x1089b9=this[_0x5244c7(0x10c)];try{this[_0x5244c7(0x390)](_0x47eb12,_0x550f61);}catch(_0x11176f){this[_0x5244c7(0x413)][_0x5244c7(0x14f)](_0x11176f);}const _0x2be096=this[_0x5244c7(0x27f)]();if(_0x33d48f){const _0x5c1623=Oi(this[_0x5244c7(0x345)],_0x1089b9,this[_0x5244c7(0x32e)],_0x47eb12,_0x550f61,_0x2be096);return _0x5c1623 instanceof ae?_0x5c1623[_0x5244c7(0x2d6)]():(_0x5c1623 instanceof oe||_0x5c1623 instanceof le)&&_0x5c1623[_0x5244c7(0x25d)](),_0x5c1623;}return this[_0x5244c7(0x345)][_0x5244c7(0x232)](de,_0x1089b9,this['_type'],_0x47eb12,_0x550f61,_0x2be096);}[_0x23ae93(0x390)](_0x2dc2f8,_0x5cf0df){var _0xc06e4e=_0x23ae93,_0x142cc1,_0x3e84bd;const _0x2d43ff=this['_compressMutationService']['interceptor'][_0xc06e4e(0x1d2)](this[_0xc06e4e(0x3c2)][_0xc06e4e(0x28f)]['getInterceptPoints']()[_0xc06e4e(0x1d7)]);(_0x142cc1=_0x2d43ff((_0x2dc2f8==null?void 0x0:_0x2dc2f8[_0xc06e4e(0x331)])||[],null))==null||_0x142cc1[_0xc06e4e(0x10b)](_0x3cf3da=>this[_0xc06e4e(0x29a)][_0xc06e4e(0x16b)](_0x3cf3da['id'],_0x3cf3da[_0xc06e4e(0x139)])),(_0x3e84bd=_0x2d43ff(_0x5cf0df||[],null))==null||_0x3e84bd[_0xc06e4e(0x10b)](_0x558345=>this['_commandService'][_0xc06e4e(0x16b)](_0x558345['id'],_0x558345[_0xc06e4e(0x139)]));}};st=At([$(0x3,_0x35e039(_0xefc734)),$(0x4,_0x35e039(_0xfd7941)),$(0x5,_0x35e039(_0xaff562)),$(0x6,_0x35e039(_0x5ea32b)),$(0x7,_0x35e039(ve)),$(0x8,_0x1437e0),$(0x9,_0x1e4e23),$(0xa,_0x146785),$(0xb,_0x556f22),$(0xc,_0x3a44cd(_t)),$(0xd,_0x3a44cd(X))],st);let It=class extends st{constructor(_0x5cad2b,_0x1b7a9f,_0x396cd1,_0x2b222f,_0x2e8878,_0x344b2b,_0x1315f0,_0x2072ed,_0x1b18a0,_0x22fd11,_0x3b06be,_0x8c3ea8,_0x1df700,_0xa9cbe9){var _0x356649=_0x23ae93;super(_0x5cad2b,_0x396cd1,_0x1b7a9f,_0x2b222f,_0x2e8878,_0x344b2b,_0x1315f0,_0x2072ed,_0x1b18a0,_0x22fd11,_0x3b06be,_0x8c3ea8,_0x1df700,_0xa9cbe9),D(this,_0x356649(0x13b),null),(this[_0x356649(0x10c)]=_0x5cad2b,this[_0x356649(0x1a9)]=_0x1b7a9f);}[_0x23ae93(0x12c)](_0x5fd56f){var _0xf3e391=_0x23ae93;this[_0xf3e391(0x13b)]=_0x5fd56f;}[_0x23ae93(0x25e)](){var _0x3766ff=_0x23ae93;this[_0x3766ff(0x13b)]=null,super[_0x3766ff(0x25e)]();}[_0x23ae93(0x27f)](){var _0x4721c0=_0x23ae93;const _0x11ca9e=super[_0x4721c0(0x27f)]();return _0x11ca9e[_0x4721c0(0x1c2)]=_0x2efc6c=>{var _0x15e09d=_0x4721c0,_0x864a0,_0x475883;return(_0x475883=(_0x864a0=this[_0x15e09d(0x13b)])==null?void 0x0:_0x864a0[_0x15e09d(0x1c2)])==null?void 0x0:_0x475883[_0x15e09d(0x179)](_0x864a0,_0x2efc6c);},_0x11ca9e[_0x4721c0(0x1d8)]=_0xfcd520=>{var _0x3c15f9=_0x4721c0,_0x5ba702,_0x31f2f8;return(_0x31f2f8=(_0x5ba702=this[_0x3c15f9(0x13b)])==null?void 0x0:_0x5ba702['onTransformState'])==null?void 0x0:_0x31f2f8[_0x3c15f9(0x179)](_0x5ba702,_0xfcd520);},_0x11ca9e[_0x4721c0(0x194)]=_0x1c41b8=>{var _0x5a3b34=_0x4721c0,_0xd15156,_0xda13be;return(_0xda13be=(_0xd15156=this[_0x5a3b34(0x13b)])==null?void 0x0:_0xd15156[_0x5a3b34(0x194)])==null?void 0x0:_0xda13be[_0x5a3b34(0x179)](_0xd15156,_0x1c41b8);},_0x11ca9e['onSyncEditingCollabCursor']=_0x4f40e3=>{var _0xd07847=_0x4721c0,_0x1947b6,_0x28af5b;return(_0x28af5b=(_0x1947b6=this[_0xd07847(0x13b)])==null?void 0x0:_0x1947b6[_0xd07847(0x32c)])==null?void 0x0:_0x28af5b['call'](_0x1947b6,_0x4f40e3);},_0x11ca9e[_0x4721c0(0x136)]=_0x21d59c=>{var _0x14c49b=_0x4721c0,_0x553309,_0x1149ca,_0xe3a7dd;if(!((_0x553309=this['_handlerCallback'])!=null&&_0x553309[_0x14c49b(0x136)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xe3a7dd=(_0x1149ca=this['_handlerCallback'])==null?void 0x0:_0x1149ca['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xe3a7dd[_0x14c49b(0x179)](_0x1149ca,_0x21d59c);},_0x11ca9e[_0x4721c0(0x3de)]=_0x44a3c5=>{var _0x115d6d=_0x4721c0,_0x4166b9,_0x17b0e3,_0x580463;if(!((_0x4166b9=this['_handlerCallback'])!=null&&_0x4166b9['onTransformRemoteChangesetByStateCache']))throw new Error(_0x115d6d(0x316));return(_0x580463=(_0x17b0e3=this['_handlerCallback'])==null?void 0x0:_0x17b0e3['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x580463[_0x115d6d(0x179)](_0x17b0e3,_0x44a3c5);},_0x11ca9e;}async[_0x23ae93(0x3da)](){var _0x16e986=_0x23ae93;const _0x371454=await super[_0x16e986(0x3da)]();return this[_0x16e986(0x2e9)](this[_0x16e986(0x29a)][_0x16e986(0x202)]((_0x2bc4a0,_0x1bb087)=>{var _0x5e7306=_0x16e986;if(_0x2bc4a0[_0x5e7306(0x1a9)]!==_0xc8076[_0x5e7306(0x1ee)]||_0x1bb087!=null&&_0x1bb087[_0x5e7306(0x1c1)]||_0x1bb087!=null&&_0x1bb087[_0x5e7306(0x400)]||_0x2bc4a0['id']===_0x39db7e['id'])return;const _0x571807=_0x2bc4a0['params'];if((_0x571807==null?void 0x0:_0x571807['unitId'])!==this[_0x5e7306(0x10c)])return;const _0x480d35=_0x2bc4a0,_0x414803=this['_compressMutationService'][_0x5e7306(0x28f)][_0x5e7306(0x1d2)](this[_0x5e7306(0x3c2)][_0x5e7306(0x28f)][_0x5e7306(0x2bd)]()[_0x5e7306(0x312)])([_0x480d35],this[_0x5e7306(0x3a3)])||[_0x480d35];this['_onLocalMutation'](_0x414803[0x0]);})),_0x371454;}};It=At([$(0x3,_0x35e039(_0xefc734)),$(0x4,_0x35e039(_0xfd7941)),$(0x5,_0x35e039(_0xaff562)),$(0x6,_0x35e039(_0x5ea32b)),$(0x7,_0x35e039(ve)),$(0x8,_0x1437e0),$(0x9,_0x1e4e23),$(0xa,_0x146785),$(0xb,_0x556f22),$(0xc,_0x3a44cd(_t)),$(0xd,_0x3a44cd(X))],It);let St=class extends st{constructor(_0x276420,_0x3b8aeb,_0x348b7d,_0x31d7a3,_0x535257,_0x5a8d48,_0x37a7e2,_0x1bde06,_0x56961a,_0xcfa98f,_0x18f00d,_0x43a556,_0x2eb08a,_0x2055d0,_0x134d9a){var _0x171bd4=_0x23ae93;super(_0x276420,_0x348b7d,_0x3b8aeb,_0x31d7a3,_0x535257,_0x5a8d48,_0x37a7e2,_0x56961a,_0xcfa98f,_0x18f00d,_0x43a556,_0x2eb08a,_0x2055d0,_0x134d9a),this['unitID']=_0x276420,this[_0x171bd4(0x1a9)]=_0x3b8aeb,this[_0x171bd4(0x3b9)]=_0x1bde06;}[_0x23ae93(0x27f)](){var _0x1b7a56=_0x23ae93;const _0xa9b7eb=super['_createHandler']();return _0xa9b7eb[_0x1b7a56(0x194)]=_0x59de22=>this[_0x1b7a56(0x3b9)]['transformSelections'](_0x59de22),_0xa9b7eb;}async[_0x23ae93(0x3da)](){var _0x13e6fe=_0x23ae93;const _0x15cfd1=await super[_0x13e6fe(0x3da)]();return this[_0x13e6fe(0x2e9)](this[_0x13e6fe(0x29a)][_0x13e6fe(0x202)]((_0x282042,_0x4f1ea3)=>{var _0x369293=_0x13e6fe;if(_0x282042[_0x369293(0x1a9)]!==_0xc8076['MUTATION']||_0x4f1ea3!=null&&_0x4f1ea3['fromCollab']||_0x4f1ea3!=null&&_0x4f1ea3[_0x369293(0x400)])return;const _0x2d8ad3=_0x282042[_0x369293(0x139)];if((_0x2d8ad3==null?void 0x0:_0x2d8ad3[_0x369293(0x2e4)])!==this[_0x369293(0x10c)])return;const _0x2b3d6a=_0x282042,_0x45303b=this[_0x369293(0x3c2)][_0x369293(0x28f)][_0x369293(0x1d2)](this['_compressMutationService'][_0x369293(0x28f)][_0x369293(0x2bd)]()[_0x369293(0x312)])([_0x2b3d6a],this[_0x369293(0x3a3)])||[_0x2b3d6a];this[_0x369293(0x419)](_0x45303b[0x0]);})),_0x15cfd1;}};St=At([$(0x3,_0x35e039(_0xefc734)),$(0x4,_0x35e039(_0xfd7941)),$(0x5,_0x35e039(_0xaff562)),$(0x6,_0x35e039(_0x5ea32b)),$(0x7,_0x35e039(it)),$(0x8,_0x35e039(ve)),$(0x9,_0x1437e0),$(0xa,_0x1e4e23),$(0xb,_0x146785),$(0xc,_0x556f22),$(0xd,_0x3a44cd(_t)),$(0xe,_0x3a44cd(X))],St);const Vs=_0x4dcc81(_0x23ae93(0x39d));function Gs(_0x18f471){var _0x517300=_0x23ae93,_0x2e28ff,_0x346ba6,_0x51e144,_0x58d3ab,_0x4bf8b9;const _0x23ff9d=_0x18f471[_0x517300(0x10f)],_0x1c9175=JSON[_0x517300(0x326)](_0x23ff9d);switch(_0x1c9175[_0x517300(0x167)]){case j['HEARTBEAT']:case j[_0x517300(0x282)]:{const _0x58d2f9=_0x1c9175[_0x517300(0x341)];return{..._0x1c9175,'data':_0x58d2f9,'cmd':_0x1c9175[_0x517300(0x167)]};}case j[_0x517300(0x398)]:{const _0x4196f8=_0x1c9175[_0x517300(0x3a0)];return{..._0x1c9175,'data':_0x4196f8,'cmd':_0x1c9175[_0x517300(0x167)]};}case j[_0x517300(0x1e3)]:{const _0x3ececa=_0x1c9175[_0x517300(0x28c)];switch(_0x3ececa[_0x517300(0x196)]){case _0x2ea533['PERMISSION_REJ']:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x2e28ff=_0x3ececa['permissionRejEvent'])==null?void 0x0:_0x2e28ff['cs']},'cmd':_0x1c9175['cmd']};case _0x2ea533['CHANGESET_ACK']:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x346ba6=_0x3ececa[_0x517300(0x305)])==null?void 0x0:_0x346ba6['cs']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x3a9)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x51e144=_0x3ececa[_0x517300(0x112)])==null?void 0x0:_0x51e144['cs']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533['CHANGESET_REJ']:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x58d3ab=_0x3ececa['csRejEvent'])==null?void 0x0:_0x58d3ab['cs']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x208)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':(_0x4bf8b9=_0x3ececa[_0x517300(0x269)])==null?void 0x0:_0x4bf8b9['cs']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x215)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x301)]},'cmd':_0x1c9175['cmd']};case _0x2ea533['USERS_ENTER']:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x35f)]},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x298)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x17f)]},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x3b1)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x15c)]},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x1d5)]:case _0x2ea533['LIVESHARE_OPERATION']:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x212)]},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x227)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa['liveShareNewHost']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533['MSG_FOR_ERROR']:return{..._0x1c9175,'data':_0x3ececa,'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533['COMMENT_UPDATE']:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa['commentUpdateEvent']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x38b)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa['updatePermissionObjEvent']},'cmd':_0x1c9175[_0x517300(0x167)]};case _0x2ea533[_0x517300(0x116)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x237)]},'cmd':_0x1c9175['cmd']};case _0x2ea533[_0x517300(0x28e)]:return{..._0x1c9175,'data':{..._0x3ececa,'data':_0x3ececa[_0x517300(0x393)]},'cmd':_0x1c9175[_0x517300(0x167)]};default:return _0x1c9175;}}default:return _0x1c9175;}}function _0x97e6(_0x17616a,_0x363bd0){_0x17616a=_0x17616a-0x109;var _0x601630=_0x6016();var _0x97e69e=_0x601630[_0x17616a];return _0x97e69e;}function Ws(_0x5875a3){var _0xf7e05d=_0x23ae93;switch(_0x5875a3[_0xf7e05d(0x167)]){case j['HEARTBEAT']:case j[_0xf7e05d(0x282)]:return JSON[_0xf7e05d(0x41e)]({'cmd':_0x5875a3[_0xf7e05d(0x167)],'routeKey':_0x5875a3[_0xf7e05d(0x1af)]});case j[_0xf7e05d(0x1e6)]:{let _0x2a477e;switch(_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x196)]){case _0x2ea533[_0xf7e05d(0x215)]:{_0x2a477e={'eventID':_0x2ea533['UPDATE_CURSOR'],'updateCursorEvent':_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x10f)]};break;}case _0x2ea533[_0xf7e05d(0x298)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x298)],'leaveEvent':_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x10f)]};break;}case _0x2ea533[_0xf7e05d(0x1ab)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x1ab)],'joinEvent':_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x10f)]};break;}case _0x2ea533[_0xf7e05d(0x3b1)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x3b1)],'liveShareNewHost':_0x5875a3[_0xf7e05d(0x10f)]['data']};break;}case _0x2ea533['LIVESHARE_OPERATION']:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x201)],'liveShareOperation':_0x5875a3[_0xf7e05d(0x10f)]['data']};break;}case _0x2ea533[_0xf7e05d(0x227)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x227)],'liveShareTerminate':_0x5875a3['data'][_0xf7e05d(0x10f)]};break;}case _0x2ea533[_0xf7e05d(0x3b3)]:{_0x2a477e={'eventID':_0x2ea533[_0xf7e05d(0x3b3)],'liveShareRequestHost':_0x5875a3['data'][_0xf7e05d(0x10f)]};break;}case _0x2ea533['LIVESHARE_FETCH_OPERATIONS']:{_0x2a477e={'eventID':_0x2ea533['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2a477e={'eventID':_0x5875a3[_0xf7e05d(0x10f)][_0xf7e05d(0x196)]};}return JSON[_0xf7e05d(0x41e)]({'cmd':_0x5875a3['cmd'],'routeKey':_0x5875a3['routeKey'],'collaMsg':_0x2a477e});}case j[_0xf7e05d(0x398)]:return JSON[_0xf7e05d(0x41e)]({'cmd':_0x5875a3[_0xf7e05d(0x167)],'routeKey':_0x5875a3[_0xf7e05d(0x1af)],'joinReq':_0x5875a3[_0xf7e05d(0x10f)]});case j[_0xf7e05d(0x31c)]:return JSON['stringify']({'cmd':_0x5875a3['cmd'],'routeKey':_0x5875a3['routeKey'],'leaveReq':_0x5875a3[_0xf7e05d(0x10f)]});default:throw new Error(_0xf7e05d(0x1f5));}}var Ys=Object[_0x23ae93(0x2f0)],Ks=(_0xc787ee,_0x1940d2,_0x5ec7c6,_0x3eb378)=>{for(var _0x2449dd=_0x3eb378>0x1?void 0x0:_0x3eb378?Ys(_0x1940d2,_0x5ec7c6):_0x1940d2,_0x45d03d=_0xc787ee['length']-0x1,_0x21a084;_0x45d03d>=0x0;_0x45d03d--)(_0x21a084=_0xc787ee[_0x45d03d])&&(_0x2449dd=_0x21a084(_0x2449dd)||_0x2449dd);return _0x2449dd;},ye=(_0xace13b,_0x447dca)=>(_0x500085,_0x31294a)=>_0x447dca(_0x500085,_0x31294a,_0xace13b);const Ri=_0x4dcc81(_0x23ae93(0x3ac));function qs(_0x5630bb,_0x591676,_0x369a0b){var _0x26f9c0=_0x23ae93;return _0x5630bb+'/'+_0x591676+_0x26f9c0(0x41a)+_0x369a0b+'/new_changes';}let Gt=class extends _0x2d9cd3{constructor(_0x547980,_0x33dbc2,_0x3dcbdb,_0x4625b7,_0x2d6355){var _0x302471=_0x23ae93;super(),this[_0x302471(0x345)]=_0x547980,this['_httpService']=_0x33dbc2,this['_configService']=_0x3dcbdb,this[_0x302471(0x413)]=_0x4625b7,this['_snapshotServerService']=_0x2d6355;}[_0x23ae93(0x2d1)](_0x5ea4ea){var _0x40d142=_0x23ae93;const _0x41d3a0=this[_0x40d142(0x345)][_0x40d142(0x2a6)](_0x146fce);if(!_0x41d3a0)throw new Error(_0x40d142(0x211));const _0xa3daf6=_0x41d3a0[_0x40d142(0x3b8)](_0x5ea4ea);if(!_0xa3daf6)throw new Error(_0x40d142(0x16e));const _0x2fbf8=new _0x588de7(),_0x5f4c93=new _0x4b6979();_0x2fbf8['add'](_0xa3daf6[_0x40d142(0x249)][_0x40d142(0x1f7)](_0x3ea3ea=>_0x5f4c93['next'](_0x3ea3ea))),_0x2fbf8[_0x40d142(0x40d)](_0x294255(()=>_0x5f4c93[_0x40d142(0x2dd)]()));const _0xbe5661=new _0x4b6979();_0x2fbf8['add'](_0xa3daf6[_0x40d142(0x18d)][_0x40d142(0x1f7)](_0x2012c8=>_0xbe5661[_0x40d142(0x418)](_0x2012c8))),_0x2fbf8[_0x40d142(0x40d)](_0x294255(()=>_0xbe5661[_0x40d142(0x2dd)]()));const _0x59809e=new _0x4b6979();_0x2fbf8[_0x40d142(0x40d)](_0xa3daf6[_0x40d142(0x140)][_0x40d142(0x1f7)](_0x136434=>{var _0x5b6b93=_0x40d142;const _0x48773d=Gs(_0x136434);_0x59809e[_0x5b6b93(0x418)](_0x48773d);})),_0x2fbf8['add'](_0x294255(()=>_0x59809e['complete']()));let _0x146c2c;const _0x4fb80a=()=>{var _0x3d205a=_0x40d142;_0xbe5661[_0x3d205a(0x418)](new Event(_0x3d205a(0x3cf))),_0x5f4c93[_0x3d205a(0x418)](new Event('connection\x20error')),_0x146c2c[_0x3d205a(0x367)]();};return _0x146c2c={'memberID':'','close$':_0x5f4c93[_0x40d142(0x240)](),'error$':_0xbe5661[_0x40d142(0x240)](),'open$':_0xa3daf6[_0x40d142(0x2b2)],'message$':_0x59809e['asObservable'](),'send':_0x4745d1=>{var _0x39fffa=_0x40d142;if(_0x4745d1[_0x39fffa(0x167)]===j['INGEST']){if(_0x4745d1[_0x39fffa(0x10f)]['eventID']===_0x2ea533[_0x39fffa(0x149)]){this[_0x39fffa(0x385)](_0x146c2c,_0x4745d1[_0x39fffa(0x10f)])[_0x39fffa(0x360)](_0x3716a6=>{var _0x7da0a9=_0x39fffa;this[_0x7da0a9(0x413)]['error'](_0x3716a6),_0x4fb80a();});return;}if(_0x4745d1[_0x39fffa(0x10f)][_0x39fffa(0x196)]===_0x2ea533['FETCH_MISSING']){const _0x549e49=_0x4745d1['data'];this['_fetchMissChangesets'](_0x549e49)['then'](_0x412f3e=>{var _0x3828fe=_0x39fffa;_0x59809e[_0x3828fe(0x418)]({'cmd':j[_0x3828fe(0x1e3)],'code':Ee['OK'],'routeKey':_0x549e49[_0x3828fe(0x10f)][_0x3828fe(0x10c)],'routeType':'','data':{'eventID':_0x2ea533[_0x3828fe(0x1ef)],'data':{'changesets':_0x412f3e}}});})['catch'](_0x8b0b07=>{var _0x2e0336=_0x39fffa;this['_logService'][_0x2e0336(0x14f)](_0x8b0b07),_0x4fb80a();});return;}}_0xa3daf6[_0x39fffa(0x2be)](Ws(_0x4745d1));},'close':()=>{var _0x21905b=_0x40d142;_0xa3daf6[_0x21905b(0x367)](),_0x2fbf8[_0x21905b(0x25e)]();}},_0x146c2c;}async['_submitChangeset'](_0x4c9d22,_0x1b82f4){var _0x38358a=_0x23ae93,_0x27964f;const {unitType:_0x3499d6,unitID:_0x354011,changeset:_0x5d04c2}=_0x1b82f4[_0x38358a(0x10f)],_0x3a099c={'unitID':_0x354011,'memberID':_0x4c9d22[_0x38358a(0x21a)],'type':_0x3499d6,'changeset':_0x596cce(_0x5d04c2)},_0x561693=this[_0x38358a(0x22f)][_0x38358a(0x380)](K),_0x54cd1c=qs((_0x27964f=_0x561693==null?void 0x0:_0x561693['collabSubmitChangesetUrl'])!=null?_0x27964f:Ns,_0x3499d6,_0x354011);try{await this[_0x38358a(0x2dc)]['post'](_0x54cd1c,{'body':_0x3a099c});}catch(_0x2610a1){throw this['_logService'][_0x38358a(0x14f)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x2610a1;}}async['_fetchMissChangesets'](_0x130ee2){var _0x2ca91d=_0x23ae93;const {unitID:_0x6e7d48,from:_0x32585f,to:_0x48b457,unitType:_0x23c73f}=_0x130ee2[_0x2ca91d(0x10f)];return(await this[_0x2ca91d(0x2cc)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x6e7d48,'type':_0x23c73f,'from':_0x32585f,'to':_0x48b457}))[_0x2ca91d(0x1a6)][_0x2ca91d(0x15a)](_0x448c6f=>((_0x448c6f[_0x2ca91d(0x331)]===null||_0x448c6f[_0x2ca91d(0x331)]===void 0x0)&&(_0x448c6f['mutations']=[]),_0x448c6f));}};Gt=Ks([ye(0x0,_0x35e039(_0xefc734)),ye(0x1,_0x35e039(_0x2cd902)),ye(0x2,_0x31c935),ye(0x3,_0x1e4e23),ye(0x4,_0xc11dd0)],Gt);var zs=Object[_0x23ae93(0x2f0)],Xs=(_0x14768d,_0x42b151,_0xfbc04c,_0x189ee8)=>{var _0xb5393e=_0x23ae93;for(var _0x3f650f=_0x189ee8>0x1?void 0x0:_0x189ee8?zs(_0x42b151,_0xfbc04c):_0x42b151,_0x394471=_0x14768d[_0xb5393e(0x2ca)]-0x1,_0x14c4a6;_0x394471>=0x0;_0x394471--)(_0x14c4a6=_0x14768d[_0x394471])&&(_0x3f650f=_0x14c4a6(_0x3f650f)||_0x3f650f);return _0x3f650f;},Re=(_0x519a99,_0x5c8e3d)=>(_0x3c5356,_0x44eb1b)=>_0x5c8e3d(_0x3c5356,_0x44eb1b,_0x519a99);let Le=class extends _0x2d9cd3{constructor(_0x43e8fe,_0x175c19,_0x12d708,_0x26bcd4,_0x16f4c3,_0x5ac9c1){var _0x3619b7=_0x23ae93;super(),D(this,_0x3619b7(0x378),new _0x2d0dd9(void 0x0)),D(this,_0x3619b7(0x33d),this['_socket$']['asObservable']()),D(this,_0x3619b7(0x368),null),D(this,_0x3619b7(0x2c6),new Map()),D(this,'_status$',new _0x2d0dd9(me[_0x3619b7(0x3a5)])),D(this,_0x3619b7(0x281),this['_status$']['asObservable']()),D(this,_0x3619b7(0x372),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x3619b7(0x321),0x0),D(this,_0x3619b7(0x17c)),D(this,_0x3619b7(0x2ea)),(this['_injector']=_0x43e8fe,this['_logService']=_0x175c19,this[_0x3619b7(0x22f)]=_0x12d708,this[_0x3619b7(0x144)]=_0x26bcd4,this[_0x3619b7(0x277)]=_0x16f4c3,this[_0x3619b7(0x2f1)]=_0x5ac9c1,this['_listenToNetworkCondition']());}get['_socket'](){var _0x406201=_0x23ae93;return this[_0x406201(0x378)][_0x406201(0x178)]();}[_0x23ae93(0x318)](){var _0x2c8273=_0x23ae93;this[_0x2c8273(0x2f1)]&&this[_0x2c8273(0x2e9)](this['_networkConditionService'][_0x2c8273(0x2e6)][_0x2c8273(0x1f7)](_0x1c50ca=>{var _0x382112=_0x2c8273;_0x1c50ca&&!this[_0x382112(0x313)]&&this[_0x382112(0x3a4)](),_0x1c50ca||this['_onOffline']();}));}[_0x23ae93(0x25e)](){var _0x3e7b8c=_0x23ae93;super[_0x3e7b8c(0x25e)](),this[_0x3e7b8c(0x234)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x3e7b8c(0x2c6)][_0x3e7b8c(0x10b)](_0x45a3fb=>_0x45a3fb[_0x3e7b8c(0x25e)]()),this[_0x3e7b8c(0x2c6)][_0x3e7b8c(0x38f)](),this['_status$'][_0x3e7b8c(0x2dd)]();}async[_0x23ae93(0x161)](_0x1ecf97){var _0x43fc6e=_0x23ae93;if(this[_0x43fc6e(0x2c6)][_0x43fc6e(0x2af)](_0x1ecf97))return this[_0x43fc6e(0x2c6)][_0x43fc6e(0x2a6)](_0x1ecf97);this['_tryEnsureSocket']();const _0x50434e=this[_0x43fc6e(0x345)][_0x43fc6e(0x232)](mt,_0x1ecf97,this[_0x43fc6e(0x378)]['asObservable']());return this['_sessions'][_0x43fc6e(0x37a)](_0x1ecf97,_0x50434e),_0x50434e;}[_0x23ae93(0x109)](_0x170803){var _0x34dee5=_0x23ae93,_0xf1928a;const _0xa35d6=this[_0x34dee5(0x2c6)][_0x34dee5(0x2a6)](_0x170803);_0xa35d6&&(this['_sessions']['delete'](_0x170803),_0xa35d6[_0x34dee5(0x367)]()),this[_0x34dee5(0x2c6)][_0x34dee5(0x284)]||(_0xf1928a=this['_socket'])==null||_0xf1928a[_0x34dee5(0x367)]();}[_0x23ae93(0x3a4)](){var _0x77d8c=_0x23ae93;this['_retryCount']=0x0,this[_0x77d8c(0x234)](),this[_0x77d8c(0x424)]();}['_clearRetryConnectingTimer'](){var _0x500502=_0x23ae93;this[_0x500502(0x402)]!=null&&(clearTimeout(this[_0x500502(0x402)]),this['_retryConnectingTimer']=null);}async[_0x23ae93(0x21c)](){var _0x184869=_0x23ae93,_0x1ec244;const _0x4e4827=this[_0x184869(0x22f)][_0x184869(0x380)](K),_0x19c96c=(_0x1ec244=_0x4e4827==null?void 0x0:_0x4e4827[_0x184869(0x2a5)])!=null?_0x1ec244:Is,_0x3c10f0=await this[_0x184869(0x144)][_0x184869(0x3b8)](_0x19c96c);return this[_0x184869(0x368)]=_0x3c10f0,_0x3c10f0;}async[_0x23ae93(0x310)](){var _0x1eb8a2=_0x23ae93,_0x49a43f,_0x27fd1c;try{const _0x47e69c=(_0x27fd1c=(_0x49a43f=this[_0x1eb8a2(0x313)])!=null?_0x49a43f:this[_0x1eb8a2(0x368)])!=null?_0x27fd1c:await this[_0x1eb8a2(0x21c)]();if(_0x47e69c){const _0x27f619=_0x47e69c[_0x1eb8a2(0x2be)];_0x47e69c['send']=_0x311d78=>(this[_0x1eb8a2(0x192)](),_0x27f619[_0x1eb8a2(0x293)](_0x47e69c,[_0x311d78])),_0x47e69c[_0x1eb8a2(0x140)]['subscribe'](_0x43c7da=>this[_0x1eb8a2(0x3ab)](_0x47e69c,_0x43c7da)),_0x47e69c[_0x1eb8a2(0x18d)]['pipe'](_0x1608f1(0x1))[_0x1eb8a2(0x1f7)](_0x5cbb3c=>this[_0x1eb8a2(0x413)][_0x1eb8a2(0x14f)](_0x1eb8a2(0x31b),_0x5cbb3c)),_0x47e69c[_0x1eb8a2(0x2b2)][_0x1eb8a2(0x20a)](_0x1608f1(0x1))[_0x1eb8a2(0x1f7)](()=>{var _0x46d445=_0x1eb8a2;this[_0x46d445(0x2f4)](_0x47e69c);}),_0x47e69c[_0x1eb8a2(0x249)][_0x1eb8a2(0x20a)](_0x1608f1(0x1))[_0x1eb8a2(0x1f7)](_0x4e8d98=>{var _0x284a93=_0x1eb8a2;this['_logService'][_0x284a93(0x2d7)](_0x284a93(0x120),_0x284a93(0x1ac),_0x4e8d98),this[_0x284a93(0x123)]();});}}catch(_0x504c4b){this[_0x1eb8a2(0x413)][_0x1eb8a2(0x14f)](_0x504c4b),this[_0x1eb8a2(0x123)]();}}[_0x23ae93(0x2f4)](_0x5a5810){var _0x125a38=_0x23ae93;this[_0x125a38(0x413)][_0x125a38(0x2d7)](_0x125a38(0x120),_0x125a38(0x220)),_0x5a5810[_0x125a38(0x2be)]({'cmd':j[_0x125a38(0x282)]}),this['_rescheduleHeartbeat']();}[_0x23ae93(0x13a)](){var _0x35cbfb=_0x23ae93;this['_socketReady']=!0x1,this[_0x35cbfb(0x368)]=null,this[_0x35cbfb(0x1a3)][_0x35cbfb(0x418)](me[_0x35cbfb(0x191)]),this['_socket$']['next'](null),this[_0x35cbfb(0x3bc)](),this[_0x35cbfb(0x2a4)]();}[_0x23ae93(0x123)](){var _0x556e03=_0x23ae93,_0x40ac8d;this['_onOffline'](),this[_0x556e03(0x321)]<((_0x40ac8d=this[_0x556e03(0x22f)]['getConfig'](Os))!=null?_0x40ac8d:Rs)?(this['_collaborationUIEventService'][_0x556e03(0x377)]({'id':re[_0x556e03(0x1bf)]}),this[_0x556e03(0x424)]()):this[_0x556e03(0x277)]['emitEvent']({'id':re[_0x556e03(0x27d)]});}[_0x23ae93(0x424)](){var _0x8a353b=_0x23ae93,_0x47ff8d;const _0x29573a=this[_0x8a353b(0x321)],_0x3adad2=this[_0x8a353b(0x22f)]['getConfig'](K),_0x3f4f86=_0x29573a===0x0?0x0:((_0x47ff8d=_0x3adad2==null?void 0x0:_0x3adad2[_0x8a353b(0x3ee)])!=null?_0x47ff8d:Ts)*0x2**_0x29573a;this[_0x8a353b(0x402)]=setTimeout(()=>{var _0x5abaae=_0x8a353b;clearTimeout(this[_0x5abaae(0x402)]),this[_0x5abaae(0x402)]=null,this[_0x5abaae(0x310)]();},_0x3f4f86),this[_0x8a353b(0x321)]+=0x1;}[_0x23ae93(0x3ab)](_0x4c2950,_0x56a2b3){var _0x203029=_0x23ae93;const {cmd:_0xb235a1}=_0x56a2b3;_0xb235a1===j[_0x203029(0x282)]&&!this[_0x203029(0x372)]&&(_0x4c2950['memberID']=_0x56a2b3[_0x203029(0x10f)]['memberID'],this[_0x203029(0x378)][_0x203029(0x418)](_0x4c2950),this[_0x203029(0x1a3)][_0x203029(0x418)](me[_0x203029(0x3ce)]),this['_socketReady']=!0x0,this[_0x203029(0x368)]=null),_0xb235a1===j[_0x203029(0x307)]&&this['_clearTimeoutTimer'](),this[_0x203029(0x192)]();}[_0x23ae93(0x192)](){var _0x335cab=_0x23ae93,_0x44dc0c;this[_0x335cab(0x2a4)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x335cab(0x2b1)](),(_0x44dc0c=this[_0x335cab(0x22f)][_0x335cab(0x380)](Ss))!=null?_0x44dc0c:gs);}[_0x23ae93(0x2b1)](){var _0x17bc26=_0x23ae93;this[_0x17bc26(0x313)]['send']({'cmd':j[_0x17bc26(0x307)]}),this['_waitForHeartbeatResponse']();}[_0x23ae93(0x115)](){var _0x16f2c9=_0x23ae93,_0x520805;this[_0x16f2c9(0x2ea)]=setTimeout(()=>this[_0x16f2c9(0x123)](),(_0x520805=this[_0x16f2c9(0x22f)][_0x16f2c9(0x380)](di))!=null?_0x520805:fi);}['_clearHeartbeatTimer'](){var _0x3757d3=_0x23ae93;this[_0x3757d3(0x17c)]!=null&&(clearTimeout(this[_0x3757d3(0x17c)]),this[_0x3757d3(0x17c)]=null);}['_clearTimeoutTimer'](){var _0x1e0908=_0x23ae93;this[_0x1e0908(0x2ea)]!=null&&(clearTimeout(this[_0x1e0908(0x2ea)]),this[_0x1e0908(0x2ea)]=null);}};Le=Xs([Re(0x0,_0x35e039(_0xefc734)),Re(0x1,_0x1e4e23),Re(0x2,_0x31c935),Re(0x3,Ri),Re(0x4,_0x35e039(ve)),Re(0x5,_0x3a44cd(Vs))],Le);var Js=Object[_0x23ae93(0x2f0)],Zs=(_0x24ad67,_0x2c5299,_0x587ba0,_0x4a010f)=>{var _0x4b1e9c=_0x23ae93;for(var _0x230bd8=_0x4a010f>0x1?void 0x0:_0x4a010f?Js(_0x2c5299,_0x587ba0):_0x2c5299,_0x919083=_0x24ad67[_0x4b1e9c(0x2ca)]-0x1,_0x4caf68;_0x919083>=0x0;_0x919083--)(_0x4caf68=_0x24ad67[_0x919083])&&(_0x230bd8=_0x4caf68(_0x230bd8)||_0x230bd8);return _0x230bd8;},Be=(_0x2ead8b,_0x5d30da)=>(_0x5b95de,_0x54b221)=>_0x5d30da(_0x5b95de,_0x54b221,_0x2ead8b);let nt=class extends _0x2d880a{constructor(_0x2e62bb,_0x154910,_0x5dadad,_0x232961){var _0x60a9d3=_0x23ae93,_0x2dc695;super(),D(this,_0x60a9d3(0x35a),new Map()),D(this,_0x60a9d3(0x18f),new _0x4b6979()),D(this,_0x60a9d3(0x124),this['_entityInit$'][_0x60a9d3(0x240)]()),(this[_0x60a9d3(0x345)]=_0x2e62bb,this[_0x60a9d3(0x1fa)]=_0x154910,this[_0x60a9d3(0x22f)]=_0x5dadad,this[_0x60a9d3(0x3a3)]=_0x232961,((_0x2dc695=this[_0x60a9d3(0x22f)][_0x60a9d3(0x380)](K))==null?void 0x0:_0x2dc695[_0x60a9d3(0x27c)])!==!0x1&&this[_0x60a9d3(0x3da)]());}[_0x23ae93(0x25e)](){var _0xa5afc7=_0x23ae93;super['dispose'](),this['_entities'][_0xa5afc7(0x10b)](_0x39fafd=>_0x39fafd['dispose']()),this[_0xa5afc7(0x35a)][_0xa5afc7(0x38f)]();}[_0x23ae93(0x329)](_0x4cc3e1){var _0x452439=_0x23ae93,_0x24e04e;return(_0x24e04e=this['_entities'][_0x452439(0x2a6)](_0x4cc3e1))!=null?_0x24e04e:null;}[_0x23ae93(0x38a)](_0x4b0887){var _0x289187=_0x23ae93;const _0x46e744=this[_0x289187(0x329)](_0x4b0887);return _0x46e744?_0x44cf90(_0x46e744):this['_entityInit$'][_0x289187(0x20a)](_0x6c24f(_0x1c822b=>_0x1c822b[_0x289187(0x10c)]===_0x4b0887));}[_0x23ae93(0x303)](_0x1c0006){var _0x41b8a7=_0x23ae93;return _0x17e89b(this[_0x41b8a7(0x38a)](_0x1c0006)[_0x41b8a7(0x20a)](_0x1fc977(()=>{})));}[_0x23ae93(0x3da)](){var _0x2a63ec=_0x23ae93;this['_univerInstanceService'][_0x2a63ec(0x2c8)](_0x22b478[_0x2a63ec(0x182)])['pipe'](_0x21b075(this['dispose$']),_0x2f0844(0x10))['subscribe'](async _0x427459=>{var _0x40fa97=_0x2a63ec;const _0x4ee0ba=_0x427459[_0x40fa97(0x150)](),_0x58aa9f=await this[_0x40fa97(0x1eb)](_0x4ee0ba,Q[_0x40fa97(0x182)]);this[_0x40fa97(0x35a)][_0x40fa97(0x37a)](_0x4ee0ba,_0x58aa9f);}),this[_0x2a63ec(0x3a3)]['getTypeOfUnitAdded$'](_0x22b478['UNIVER_DOC'])['pipe'](_0x21b075(this[_0x2a63ec(0x14c)]),_0x2f0844(0x10))[_0x2a63ec(0x20a)](_0x6c24f(_0x426cc4=>!_0x426cc4[_0x2a63ec(0x150)]()[_0x2a63ec(0x3e2)]('__')))[_0x2a63ec(0x1f7)](async _0x3f9497=>{var _0x29c00d=_0x2a63ec;const _0x7605ca=_0x3f9497[_0x29c00d(0x150)](),_0x152776=await this[_0x29c00d(0x1eb)](_0x7605ca,Q[_0x29c00d(0x261)]);this[_0x29c00d(0x35a)][_0x29c00d(0x37a)](_0x7605ca,_0x152776);}),_0x1ec902(this[_0x2a63ec(0x3a3)][_0x2a63ec(0x3b2)](_0x22b478[_0x2a63ec(0x182)]),this[_0x2a63ec(0x3a3)][_0x2a63ec(0x3b2)](_0x22b478[_0x2a63ec(0x261)]))[_0x2a63ec(0x20a)](_0x21b075(this['dispose$']))[_0x2a63ec(0x1f7)](_0x2decf0=>{var _0x56b8ec=_0x2a63ec;const _0x2230f5=_0x2decf0[_0x56b8ec(0x150)](),_0xeeb2e6=this[_0x56b8ec(0x35a)][_0x56b8ec(0x2a6)](_0x2230f5);_0xeeb2e6&&(_0xeeb2e6[_0x56b8ec(0x25e)](),this[_0x56b8ec(0x35a)][_0x56b8ec(0x3bd)](_0x2230f5));});}async[_0x23ae93(0x1eb)](_0x4570d0,_0x4a66ac){var _0x7bfbd5=_0x23ae93;const _0x400ea3=await this[_0x7bfbd5(0x1fa)]['requireSession'](_0x4570d0),_0x4b1047=this[_0x7bfbd5(0x345)][_0x7bfbd5(0x232)](this[_0x7bfbd5(0x1d9)](_0x4a66ac),_0x4570d0,_0x4a66ac,_0x400ea3);return await _0x4b1047['init'](),this[_0x7bfbd5(0x18f)][_0x7bfbd5(0x418)](_0x4b1047),_0x4b1047;}[_0x23ae93(0x1d9)](_0xe6243c){var _0x52d50b=_0x23ae93;switch(_0xe6243c){case Q[_0x52d50b(0x261)]:return It;case Q[_0x52d50b(0x182)]:return St;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xe6243c);}}};nt=Zs([Be(0x0,_0x35e039(_0xefc734)),Be(0x1,_0x35e039(Le)),Be(0x2,_0x31c935),Be(0x3,_0x1437e0)],nt);var Qs=Object['getOwnPropertyDescriptor'],en=(_0x21a85d,_0xee414c,_0x67dd6f,_0x40513a)=>{var _0x4a64cc=_0x23ae93;for(var _0x16da74=_0x40513a>0x1?void 0x0:_0x40513a?Qs(_0xee414c,_0x67dd6f):_0xee414c,_0x29ca9a=_0x21a85d[_0x4a64cc(0x2ca)]-0x1,_0x21799e;_0x29ca9a>=0x0;_0x29ca9a--)(_0x21799e=_0x21a85d[_0x29ca9a])&&(_0x16da74=_0x21799e(_0x16da74)||_0x16da74);return _0x16da74;},Wt=(_0x26eb9a,_0x23deda)=>(_0x365fed,_0x4375f2)=>_0x23deda(_0x365fed,_0x4375f2,_0x26eb9a);const tn=_0x23ae93(0x23c),sn='Univer';let gt=class extends _0x2d9cd3{constructor(_0x1ea1a4,_0x512b98){var _0x468720=_0x23ae93;super(),this[_0x468720(0x3a3)]=_0x1ea1a4,this[_0x468720(0x22f)]=_0x512b98,this[_0x468720(0x3da)]();}['_init'](){var _0x459342=_0x23ae93;this[_0x459342(0x2e9)](this[_0x459342(0x3a3)][_0x459342(0x1cc)]['subscribe'](()=>{var _0x2efab4=_0x459342,_0x123378;const _0x246a82=this[_0x2efab4(0x3a3)][_0x2efab4(0x311)]();let _0x18a374=(_0x123378=this['_configService'][_0x2efab4(0x380)](tn))!=null?_0x123378:sn;_0x246a82 instanceof _0xbe02e3&&(_0x18a374=_0x246a82[_0x2efab4(0x3c0)]),document[_0x2efab4(0x26c)]=_0x18a374;}));}};gt=en([Wt(0x0,_0x1437e0),Wt(0x1,_0x31c935)],gt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x8de4fa,_0x24f220,_0x573953,_0x1f8050)=>{var _0x20a3e4=_0x23ae93;for(var _0x5885b7=_0x1f8050>0x1?void 0x0:_0x1f8050?nn(_0x24f220,_0x573953):_0x24f220,_0x59c401=_0x8de4fa[_0x20a3e4(0x2ca)]-0x1,_0x51c981;_0x59c401>=0x0;_0x59c401--)(_0x51c981=_0x8de4fa[_0x59c401])&&(_0x5885b7=_0x51c981(_0x5885b7)||_0x5885b7);return _0x5885b7;},dt=(_0x6a3d99,_0x53bcc5)=>(_0x1daa78,_0x287c42)=>_0x53bcc5(_0x1daa78,_0x287c42,_0x6a3d99);let rt=class{constructor(_0x1aad90,_0x187f13,_0x3e7c43){var _0x21a248=_0x23ae93;this[_0x21a248(0x22f)]=_0x1aad90,this[_0x21a248(0x2dc)]=_0x187f13,this[_0x21a248(0x2ae)]=_0x3e7c43,this[_0x21a248(0x2c1)]();}[_0x23ae93(0x2c1)](){var _0x12b024=_0x23ae93;this[_0x12b024(0x2dc)][_0x12b024(0x40c)]({'priority':0x1,'interceptor':(_0x847764,_0x24bfc9)=>_0x24bfc9(_0x847764)[_0x12b024(0x20a)](_0x3e729d(async _0x56ed25=>{var _0x55b50e=_0x12b024;const _0x4b1a4c=_0x56ed25;if(_0x4b1a4c[_0x55b50e(0x170)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x55b50e(0x12f)](this[_0x55b50e(0x2ae)]['t'](_0x55b50e(0x1c6)))){const _0x230475=window[_0x55b50e(0x412)](window[_0x55b50e(0x32a)][_0x55b50e(0x328)]);window[_0x55b50e(0x32a)]['href']=this['_getLoginPath']()+_0x55b50e(0x309)+_0x230475;}}return _0x4b1a4c;}))});}[_0x23ae93(0x273)](){var _0x4079b4=_0x23ae93,_0x535132;const _0x465028=this[_0x4079b4(0x22f)]['getConfig'](K);return(_0x535132=_0x465028==null?void 0x0:_0x465028[_0x4079b4(0x3e4)])!=null?_0x535132:Cs;}};rt=rn([dt(0x0,_0x31c935),dt(0x1,_0x35e039(_0x2cd902)),dt(0x2,_0x35e039(_0xaff562))],rt);var an=Object['getOwnPropertyDescriptor'],on=(_0x35d726,_0x41621f,_0x4d3ba0,_0x1f4121)=>{var _0x194794=_0x23ae93;for(var _0x4c9bf0=_0x1f4121>0x1?void 0x0:_0x1f4121?an(_0x41621f,_0x4d3ba0):_0x41621f,_0x20a9f9=_0x35d726[_0x194794(0x2ca)]-0x1,_0x309dc5;_0x20a9f9>=0x0;_0x20a9f9--)(_0x309dc5=_0x35d726[_0x20a9f9])&&(_0x4c9bf0=_0x309dc5(_0x4c9bf0)||_0x4c9bf0);return _0x4c9bf0;},Yt=(_0x31bc96,_0xdabaad)=>(_0x14b0d0,_0x5b9fbd)=>_0xdabaad(_0x14b0d0,_0x5b9fbd,_0x31bc96);const cn=_0x23ae93(0x3b5);let Tt=class extends _0x2d9cd3{constructor(_0x289128,_0x5742b3){var _0x3e2f08=_0x23ae93;super(),this[_0x3e2f08(0x16d)]=_0x289128,this[_0x3e2f08(0x22f)]=_0x5742b3,this[_0x3e2f08(0x3fb)]();}[_0x23ae93(0x3fb)](){var _0x30b1d2=_0x23ae93;const _0x5435c4=this;this[_0x30b1d2(0x2e9)](this[_0x30b1d2(0x16d)][_0x30b1d2(0x40c)]({'priority':0x3e7,'interceptor':_0x4de83e({'isMatch'(_0xe78bf7){var _0x144895=_0x30b1d2,_0x3618ce;if(_0xe78bf7[_0x144895(0x1fe)]===_0x144895(0x256)&&((_0x3618ce=_0xe78bf7['requestParams'])!=null&&_0x3618ce[_0x144895(0x235)])){const {objectID:_0x1167f9,objectType:_0x1a9e4a}=_0xe78bf7[_0x144895(0x28b)][_0x144895(0x235)]||{};if(!_0x1167f9||_0x1a9e4a===void 0x0)return!0x1;const _0x3fd0cd=_0x5435c4[_0x144895(0x250)]()+'/'+_0x1a9e4a+_0x144895(0x32d)+_0x1167f9+_0x144895(0x131);if(_0xe78bf7['url']===_0x3fd0cd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x509c27){var _0x570904=_0x30b1d2,_0x480b98;return(_0x480b98=_0x509c27[_0x570904(0x28b)])==null?void 0x0:_0x480b98[_0x570904(0x235)];},'mergeParamsToRequest'(_0x47b690,_0x30cd1b){var _0xfa186c=_0x30b1d2;const _0x2944ea=_0x5435c4['_getAPIPrefixPath']()+_0xfa186c(0x2bc),_0x216c76=_0x47b690[_0xfa186c(0x2e0)]((_0x343983,_0x41433c)=>{var _0x368155=_0xfa186c;const {unitID:_0x22e5c6,objectID:_0x2e72de,objectType:_0x3bd6df,actions:_0x1b60f6}=_0x41433c;return _0x343983[_0x22e5c6]||(_0x343983[_0x22e5c6]={}),_0x343983[_0x22e5c6][_0x2e72de]||(_0x343983[_0x22e5c6][_0x2e72de]={'objectID':_0x2e72de,'objectType':_0x3bd6df,'actions':[]}),_0x343983[_0x22e5c6][_0x2e72de]['actions'][_0x368155(0x1b8)](..._0x1b60f6),_0x343983;},{}),_0x317340=[];for(const _0xcbe440 in _0x216c76)for(const _0x3e2347 in _0x216c76[_0xcbe440]){const {actions:_0x25f9ec,objectType:_0x52cccd}=_0x216c76[_0xcbe440][_0x3e2347],_0x1f430f=[...new Set(_0x25f9ec)];_0x317340[_0xfa186c(0x1b8)]({'unitID':_0xcbe440,'objectID':_0x3e2347,'objectType':_0x52cccd,'actions':_0x1f430f});}return new _0x44edf0(_0xfa186c(0x256),_0x2944ea,{'headers':_0x30cd1b['headers'],'withCredentials':_0x30cd1b[_0xfa186c(0x1e8)],'responseType':_0x30cd1b['responseType'],'body':{'requests':_0x317340}});}},{'distributeResult'(_0x27dde4,_0xa6e8d3){var _0x3638d3=_0x30b1d2;const {objectActions:_0xa8ffa5}=_0x27dde4;return _0xa6e8d3[_0x3638d3(0x15a)](_0x5258b0=>{var _0x5bc55f=_0x3638d3;const {unitID:_0x158157,objectID:_0x4c44c9,actions:_0x56d703}=_0x5258b0,_0x26dbe4=_0xa8ffa5[_0x5bc55f(0x224)](_0x595327=>_0x595327[_0x5bc55f(0x10c)]===_0x158157&&_0x595327[_0x5bc55f(0x19b)]===_0x4c44c9),_0x54f294=_0x56d703['map'](_0x45939a=>_0x26dbe4==null?void 0x0:_0x26dbe4[_0x5bc55f(0x336)][_0x5bc55f(0x224)](_0x19f29b=>_0x19f29b[_0x5bc55f(0x356)]===_0x45939a))[_0x5bc55f(0x314)](_0x3fde8f=>!!_0x3fde8f);return{'config':_0x5258b0,'result':{'actions':_0x54f294,'error':_0x27dde4['error']}};});}})}));}[_0x23ae93(0x250)](){var _0x20427e=_0x23ae93,_0x449691;const _0x560df6=this[_0x20427e(0x22f)][_0x20427e(0x380)](K);return(_0x449691=_0x560df6==null?void 0x0:_0x560df6[_0x20427e(0x186)])!=null?_0x449691:cn;}async[_0x23ae93(0x113)](_0x244ead){var _0x55c2ea=_0x23ae93;const _0x5b6ee0=this['_getAPIPrefixPath']()+'/'+_0x244ead[_0x55c2ea(0x1d6)]+'/object';return(await this[_0x55c2ea(0x16d)]['post'](_0x5b6ee0,{'body':_0x244ead}))['body'][_0x55c2ea(0x19b)]||'';}async[_0x23ae93(0x1bb)](_0x14a3dd){var _0x57c8f8=_0x23ae93;const _0x25441e=this[_0x57c8f8(0x250)]()+_0x57c8f8(0x2c9);return(await this[_0x57c8f8(0x16d)]['post'](_0x25441e,{'body':_0x14a3dd}))[_0x57c8f8(0x235)][_0x57c8f8(0x279)];}async[_0x23ae93(0x3fa)](_0x42d0ce){var _0x55af51=_0x23ae93,_0x19f7aa,_0x355d3d;const _0x370efa=this[_0x55af51(0x250)]()+'/'+_0x42d0ce[_0x55af51(0x1d6)]+_0x55af51(0x32d)+_0x42d0ce[_0x55af51(0x19b)],_0x5bbb3b=await this[_0x55af51(0x16d)][_0x55af51(0x2e5)](_0x370efa,{'body':_0x42d0ce});if(((_0x355d3d=(_0x19f7aa=_0x5bbb3b==null?void 0x0:_0x5bbb3b['body'])==null?void 0x0:_0x19f7aa[_0x55af51(0x14f)])==null?void 0x0:_0x355d3d[_0x55af51(0x35b)])!==0x1)throw new Error(_0x55af51(0x3b6));}async[_0x23ae93(0x271)](_0x457ce1){var _0xf8c849=_0x23ae93;const _0x227c96=this['_getAPIPrefixPath']()+'/'+_0x457ce1[_0xf8c849(0x1d6)]+_0xf8c849(0x32d)+_0x457ce1[_0xf8c849(0x19b)]+'/allowed';return(await this[_0xf8c849(0x16d)][_0xf8c849(0x2d0)](_0x227c96,{'body':_0x457ce1}))[_0xf8c849(0x235)][_0xf8c849(0x336)];}async['batchAllowed'](_0x45a205){var _0x6f9843=_0x23ae93;const _0x251ee4=this[_0x6f9843(0x250)]()+_0x6f9843(0x2bc);return(await this[_0x6f9843(0x16d)]['post'](_0x251ee4,{'body':{'requests':_0x45a205}}))[_0x6f9843(0x235)][_0x6f9843(0x1c7)];}async[_0x23ae93(0x162)](_0x31b250){var _0x27120d=_0x23ae93;const _0x112cca=this[_0x27120d(0x250)]()+'/'+_0x31b250[_0x27120d(0x1d6)]+_0x27120d(0x253),_0x2992b7=await this[_0x27120d(0x16d)]['post'](_0x112cca,{'body':_0x31b250});return{'roles':_0x2992b7['body'][_0x27120d(0x14a)],'actions':_0x2992b7[_0x27120d(0x235)][_0x27120d(0x336)]};}async[_0x23ae93(0x324)](_0x2e7fa9){var _0x3db8c6=_0x23ae93;const _0x1085ef=this[_0x3db8c6(0x250)]()+_0x3db8c6(0x1de);await this[_0x3db8c6(0x16d)][_0x3db8c6(0x3bd)](_0x1085ef,{'params':{'collaboratorID':_0x2e7fa9[_0x3db8c6(0x374)],'objectID':_0x2e7fa9[_0x3db8c6(0x19b)],'unitID':_0x2e7fa9[_0x3db8c6(0x10c)]}});}async['updateCollaborator'](_0x243043){var _0x54da31=_0x23ae93;const _0xc32937=this['_getAPIPrefixPath']()+_0x54da31(0x1de);await this[_0x54da31(0x16d)][_0x54da31(0x3f3)](_0xc32937,{'body':_0x243043});}async['createCollaborator'](_0x4a6f12){var _0x4c7e35=_0x23ae93;const _0x39b25f=this[_0x4c7e35(0x250)]()+_0x4c7e35(0x1de);await this[_0x4c7e35(0x16d)][_0x4c7e35(0x2d0)](_0x39b25f,{'body':_0x4a6f12});}async[_0x23ae93(0x36e)](_0x69ea63){var _0x43c0ff=_0x23ae93;const _0x317b3d=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x43c0ff(0x2a6)](_0x317b3d,{'params':{'objectID':_0x69ea63[_0x43c0ff(0x19b)],'unitID':_0x69ea63[_0x43c0ff(0x10c)]}}))['body'][_0x43c0ff(0x3c9)];}async['putCollaborators'](_0x5e97dd){var _0x940eb1=_0x23ae93;const _0x21be25=this[_0x940eb1(0x250)]()+_0x940eb1(0x1de);await this[_0x940eb1(0x16d)]['put'](_0x21be25,{'body':_0x5e97dd});}};Tt=on([Yt(0x0,_0x35e039(_0x2cd902)),Yt(0x1,_0x35e039(_0x31c935))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x348336){var _0x2cae98=_0x23ae93;return _0x348336&&_0x348336[_0x2cae98(0x2d9)]&&Object[_0x2cae98(0x2f3)][_0x2cae98(0x265)]['call'](_0x348336,'default')?_0x348336['default']:_0x348336;}var Ve={'exports':{}};function _n(_0x13d0ad){var _0x5bc9c8=_0x23ae93;throw new Error(_0x5bc9c8(0x335)+_0x13d0ad+_0x5bc9c8(0x24e));}var Ge={'exports':{}},hn=Ge[_0x23ae93(0x197)],Kt;function ie(){var _0x2b7c7d=_0x23ae93;return Kt||(Kt=0x1,function(_0x475de5,_0xa08cdf){(function(_0x447c2f,_0x59038b){var _0x18e127=_0x97e6;_0x475de5[_0x18e127(0x197)]=_0x59038b();}(hn,function(){var _0x2dc860=_0x2dc860||function(_0x3a135f,_0x3ed140){var _0xce3703=_0x97e6,_0x48bcc3;if(typeof window<'u'&&window['crypto']&&(_0x48bcc3=window[_0xce3703(0x414)]),typeof self<'u'&&self[_0xce3703(0x414)]&&(_0x48bcc3=self[_0xce3703(0x414)]),typeof globalThis<'u'&&globalThis[_0xce3703(0x414)]&&(_0x48bcc3=globalThis[_0xce3703(0x414)]),!_0x48bcc3&&typeof window<'u'&&window[_0xce3703(0x21e)]&&(_0x48bcc3=window['msCrypto']),!_0x48bcc3&&typeof ft<'u'&&ft[_0xce3703(0x414)]&&(_0x48bcc3=ft[_0xce3703(0x414)]),!_0x48bcc3&&typeof _n=='function')try{_0x48bcc3=require('crypto');}catch{}var _0xe75fe9=function(){var _0x1598bc=_0xce3703;if(_0x48bcc3){if(typeof _0x48bcc3[_0x1598bc(0x20d)]==_0x1598bc(0x175))try{return _0x48bcc3[_0x1598bc(0x20d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x48bcc3['randomBytes']==_0x1598bc(0x175))try{return _0x48bcc3['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1598bc(0x289));},_0x1fd166=Object[_0xce3703(0x113)]||(function(){function _0x573984(){}return function(_0x3ebb9c){var _0x1ab54c=_0x97e6,_0x3bbe9e;return _0x573984[_0x1ab54c(0x2f3)]=_0x3ebb9c,_0x3bbe9e=new _0x573984(),_0x573984[_0x1ab54c(0x2f3)]=null,_0x3bbe9e;};}()),_0x4dd9b6={},_0x16374b=_0x4dd9b6[_0xce3703(0x2fa)]={},_0x1c98be=_0x16374b[_0xce3703(0x3dd)]=(function(){return{'extend':function(_0x358d55){var _0x3afcf8=_0x97e6,_0x4ff79b=_0x1fd166(this);return _0x358d55&&_0x4ff79b['mixIn'](_0x358d55),(!_0x4ff79b['hasOwnProperty']('init')||this[_0x3afcf8(0x2c1)]===_0x4ff79b[_0x3afcf8(0x2c1)])&&(_0x4ff79b[_0x3afcf8(0x2c1)]=function(){var _0x39bcac=_0x3afcf8;_0x4ff79b[_0x39bcac(0x2cd)][_0x39bcac(0x2c1)][_0x39bcac(0x293)](this,arguments);}),_0x4ff79b['init']['prototype']=_0x4ff79b,_0x4ff79b[_0x3afcf8(0x2cd)]=this,_0x4ff79b;},'create':function(){var _0x568a9d=_0x97e6,_0x39c02d=this[_0x568a9d(0x1a0)]();return _0x39c02d['init']['apply'](_0x39c02d,arguments),_0x39c02d;},'init':function(){},'mixIn':function(_0x5e9371){var _0x31a94b=_0x97e6;for(var _0x2099cb in _0x5e9371)_0x5e9371[_0x31a94b(0x265)](_0x2099cb)&&(this[_0x2099cb]=_0x5e9371[_0x2099cb]);_0x5e9371[_0x31a94b(0x265)](_0x31a94b(0x1ea))&&(this['toString']=_0x5e9371['toString']);},'clone':function(){var _0x2339c3=_0x97e6;return this[_0x2339c3(0x2c1)]['prototype']['extend'](this);}};}()),_0x5e9471=_0x16374b['WordArray']=_0x1c98be[_0xce3703(0x1a0)]({'init':function(_0x14033e,_0x1690ba){var _0xb33d13=_0xce3703;_0x14033e=this[_0xb33d13(0x163)]=_0x14033e||[],_0x1690ba!=_0x3ed140?this[_0xb33d13(0x1b3)]=_0x1690ba:this[_0xb33d13(0x1b3)]=_0x14033e['length']*0x4;},'toString':function(_0x550f32){return(_0x550f32||_0x523c23)['stringify'](this);},'concat':function(_0x3b0d6b){var _0x4e6e23=_0xce3703,_0x24d60f=this[_0x4e6e23(0x163)],_0x2119a5=_0x3b0d6b['words'],_0x2d101e=this[_0x4e6e23(0x1b3)],_0x54c516=_0x3b0d6b[_0x4e6e23(0x1b3)];if(this[_0x4e6e23(0x2a0)](),_0x2d101e%0x4)for(var _0x190b00=0x0;_0x190b00<_0x54c516;_0x190b00++){var _0x150c2d=_0x2119a5[_0x190b00>>>0x2]>>>0x18-_0x190b00%0x4*0x8&0xff;_0x24d60f[_0x2d101e+_0x190b00>>>0x2]|=_0x150c2d<<0x18-(_0x2d101e+_0x190b00)%0x4*0x8;}else{for(var _0x1e6c5f=0x0;_0x1e6c5f<_0x54c516;_0x1e6c5f+=0x4)_0x24d60f[_0x2d101e+_0x1e6c5f>>>0x2]=_0x2119a5[_0x1e6c5f>>>0x2];}return this[_0x4e6e23(0x1b3)]+=_0x54c516,this;},'clamp':function(){var _0x56a23f=_0xce3703,_0x4d6226=this[_0x56a23f(0x163)],_0x11f0e6=this[_0x56a23f(0x1b3)];_0x4d6226[_0x11f0e6>>>0x2]&=0xffffffff<<0x20-_0x11f0e6%0x4*0x8,_0x4d6226[_0x56a23f(0x2ca)]=_0x3a135f[_0x56a23f(0x290)](_0x11f0e6/0x4);},'clone':function(){var _0x41e1a2=_0xce3703,_0x3fb0a6=_0x1c98be[_0x41e1a2(0x260)][_0x41e1a2(0x179)](this);return _0x3fb0a6[_0x41e1a2(0x163)]=this[_0x41e1a2(0x163)][_0x41e1a2(0x352)](0x0),_0x3fb0a6;},'random':function(_0x42f0ed){var _0x4f60a6=_0xce3703;for(var _0x5082f8=[],_0x1c67a9=0x0;_0x1c67a9<_0x42f0ed;_0x1c67a9+=0x4)_0x5082f8['push'](_0xe75fe9());return new _0x5e9471[(_0x4f60a6(0x2c1))](_0x5082f8,_0x42f0ed);}}),_0x4d1b8e=_0x4dd9b6[_0xce3703(0x285)]={},_0x523c23=_0x4d1b8e[_0xce3703(0x2e8)]={'stringify':function(_0x2c17f0){var _0x3d0a1c=_0xce3703;for(var _0x32b210=_0x2c17f0[_0x3d0a1c(0x163)],_0x480765=_0x2c17f0[_0x3d0a1c(0x1b3)],_0x21d91b=[],_0x4b34f3=0x0;_0x4b34f3<_0x480765;_0x4b34f3++){var _0x98ad5e=_0x32b210[_0x4b34f3>>>0x2]>>>0x18-_0x4b34f3%0x4*0x8&0xff;_0x21d91b[_0x3d0a1c(0x1b8)]((_0x98ad5e>>>0x4)[_0x3d0a1c(0x1ea)](0x10)),_0x21d91b[_0x3d0a1c(0x1b8)]((_0x98ad5e&0xf)[_0x3d0a1c(0x1ea)](0x10));}return _0x21d91b['join']('');},'parse':function(_0x203256){var _0x82830=_0xce3703;for(var _0x4df4c4=_0x203256[_0x82830(0x2ca)],_0x44f8e2=[],_0x166052=0x0;_0x166052<_0x4df4c4;_0x166052+=0x2)_0x44f8e2[_0x166052>>>0x3]|=parseInt(_0x203256[_0x82830(0x2a9)](_0x166052,0x2),0x10)<<0x18-_0x166052%0x8*0x4;return new _0x5e9471[(_0x82830(0x2c1))](_0x44f8e2,_0x4df4c4/0x2);}},_0xc6a029=_0x4d1b8e[_0xce3703(0x3c1)]={'stringify':function(_0x1b5bb5){var _0x4c95f2=_0xce3703;for(var _0x32b8fd=_0x1b5bb5[_0x4c95f2(0x163)],_0x5422e6=_0x1b5bb5['sigBytes'],_0x5c1da6=[],_0x35849d=0x0;_0x35849d<_0x5422e6;_0x35849d++){var _0x264511=_0x32b8fd[_0x35849d>>>0x2]>>>0x18-_0x35849d%0x4*0x8&0xff;_0x5c1da6[_0x4c95f2(0x1b8)](String[_0x4c95f2(0x2a2)](_0x264511));}return _0x5c1da6[_0x4c95f2(0x291)]('');},'parse':function(_0x5a8579){var _0x2fe6fe=_0xce3703;for(var _0x221620=_0x5a8579['length'],_0x397974=[],_0x3cd59b=0x0;_0x3cd59b<_0x221620;_0x3cd59b++)_0x397974[_0x3cd59b>>>0x2]|=(_0x5a8579[_0x2fe6fe(0x2e3)](_0x3cd59b)&0xff)<<0x18-_0x3cd59b%0x4*0x8;return new _0x5e9471[(_0x2fe6fe(0x2c1))](_0x397974,_0x221620);}},_0x25c3b9=_0x4d1b8e['Utf8']={'stringify':function(_0x2b3aaf){var _0x56cda2=_0xce3703;try{return decodeURIComponent(escape(_0xc6a029['stringify'](_0x2b3aaf)));}catch{throw new Error(_0x56cda2(0x2d5));}},'parse':function(_0x4caf7c){return _0xc6a029['parse'](unescape(encodeURIComponent(_0x4caf7c)));}},_0x426fac=_0x16374b['BufferedBlockAlgorithm']=_0x1c98be[_0xce3703(0x1a0)]({'reset':function(){var _0x5ac9b9=_0xce3703;this['_data']=new _0x5e9471[(_0x5ac9b9(0x2c1))](),this['_nDataBytes']=0x0;},'_append':function(_0x3f6c35){var _0x526a64=_0xce3703;typeof _0x3f6c35==_0x526a64(0x241)&&(_0x3f6c35=_0x25c3b9[_0x526a64(0x326)](_0x3f6c35)),this['_data'][_0x526a64(0x2b9)](_0x3f6c35),this[_0x526a64(0x346)]+=_0x3f6c35[_0x526a64(0x1b3)];},'_process':function(_0x4ab033){var _0x16308d=_0xce3703,_0x3bd196,_0x5c2a80=this['_data'],_0x2c7114=_0x5c2a80[_0x16308d(0x163)],_0x7f8599=_0x5c2a80['sigBytes'],_0x5d55e1=this[_0x16308d(0x3ae)],_0x5e5b90=_0x5d55e1*0x4,_0x587660=_0x7f8599/_0x5e5b90;_0x4ab033?_0x587660=_0x3a135f[_0x16308d(0x290)](_0x587660):_0x587660=_0x3a135f[_0x16308d(0x20f)]((_0x587660|0x0)-this[_0x16308d(0x3e1)],0x0);var _0x21f994=_0x587660*_0x5d55e1,_0x5edab7=_0x3a135f[_0x16308d(0x1f0)](_0x21f994*0x4,_0x7f8599);if(_0x21f994){for(var _0xfc0549=0x0;_0xfc0549<_0x21f994;_0xfc0549+=_0x5d55e1)this[_0x16308d(0x1d4)](_0x2c7114,_0xfc0549);_0x3bd196=_0x2c7114['splice'](0x0,_0x21f994),_0x5c2a80[_0x16308d(0x1b3)]-=_0x5edab7;}return new _0x5e9471[(_0x16308d(0x2c1))](_0x3bd196,_0x5edab7);},'clone':function(){var _0x531094=_0xce3703,_0x2f9270=_0x1c98be['clone']['call'](this);return _0x2f9270['_data']=this[_0x531094(0x27b)][_0x531094(0x260)](),_0x2f9270;},'_minBufferSize':0x0});_0x16374b[_0xce3703(0x332)]=_0x426fac[_0xce3703(0x1a0)]({'cfg':_0x1c98be['extend'](),'init':function(_0x316311){var _0x1ee222=_0xce3703;this[_0x1ee222(0x388)]=this[_0x1ee222(0x388)][_0x1ee222(0x1a0)](_0x316311),this[_0x1ee222(0x117)]();},'reset':function(){var _0x25907f=_0xce3703;_0x426fac[_0x25907f(0x117)][_0x25907f(0x179)](this),this[_0x25907f(0x3cd)]();},'update':function(_0x2e99b7){var _0x32caca=_0xce3703;return this[_0x32caca(0x41f)](_0x2e99b7),this['_process'](),this;},'finalize':function(_0x3870d2){var _0x209385=_0xce3703;_0x3870d2&&this[_0x209385(0x41f)](_0x3870d2);var _0x5899f5=this[_0x209385(0x317)]();return _0x5899f5;},'blockSize':0x10,'_createHelper':function(_0x6cf0e2){return function(_0xc8ac1e,_0x264ba2){var _0x392939=_0x97e6;return new _0x6cf0e2[(_0x392939(0x2c1))](_0x264ba2)[_0x392939(0x2ac)](_0xc8ac1e);};},'_createHmacHelper':function(_0x5d8a83){return function(_0xaa83d8,_0x1b1710){var _0x41a1e9=_0x97e6;return new _0x11075e[(_0x41a1e9(0x270))][(_0x41a1e9(0x2c1))](_0x5d8a83,_0x1b1710)[_0x41a1e9(0x2ac)](_0xaa83d8);};}});var _0x11075e=_0x4dd9b6[_0xce3703(0x296)]={};return _0x4dd9b6;}(Math);return _0x2dc860;}));}(Ge)),Ge[_0x2b7c7d(0x197)];}var We={'exports':{}},ln=We[_0x23ae93(0x197)],qt;function Ni(){var _0x579878=_0x23ae93;return qt||(qt=0x1,function(_0x60856f,_0x264c8a){(function(_0x525e9b,_0x342a9c){var _0x55c078=_0x97e6;_0x60856f[_0x55c078(0x197)]=_0x342a9c(ie());}(ln,function(_0x300146){var _0x5718a1=_0x97e6;return(function(){var _0x504558=_0x97e6,_0x5cbcee=_0x300146,_0x106092=_0x5cbcee[_0x504558(0x2fa)],_0x4b6fd5=_0x106092[_0x504558(0x36a)],_0xb908cb=_0x5cbcee['enc'];_0xb908cb[_0x504558(0x361)]={'stringify':function(_0x31902d){var _0x5d2339=_0x504558,_0x4ac9a8=_0x31902d[_0x5d2339(0x163)],_0x17add1=_0x31902d[_0x5d2339(0x1b3)],_0x32c6bb=this['_map'];_0x31902d[_0x5d2339(0x2a0)]();for(var _0x1a6479=[],_0x3ae5ab=0x0;_0x3ae5ab<_0x17add1;_0x3ae5ab+=0x3)for(var _0x3d6865=_0x4ac9a8[_0x3ae5ab>>>0x2]>>>0x18-_0x3ae5ab%0x4*0x8&0xff,_0x3f1083=_0x4ac9a8[_0x3ae5ab+0x1>>>0x2]>>>0x18-(_0x3ae5ab+0x1)%0x4*0x8&0xff,_0x4e7fba=_0x4ac9a8[_0x3ae5ab+0x2>>>0x2]>>>0x18-(_0x3ae5ab+0x2)%0x4*0x8&0xff,_0x5b75a6=_0x3d6865<<0x10|_0x3f1083<<0x8|_0x4e7fba,_0x11ce89=0x0;_0x11ce89<0x4&&_0x3ae5ab+_0x11ce89*0.75<_0x17add1;_0x11ce89++)_0x1a6479['push'](_0x32c6bb['charAt'](_0x5b75a6>>>0x6*(0x3-_0x11ce89)&0x3f));var _0x4e4a59=_0x32c6bb['charAt'](0x40);if(_0x4e4a59){for(;_0x1a6479['length']%0x4;)_0x1a6479['push'](_0x4e4a59);}return _0x1a6479[_0x5d2339(0x291)]('');},'parse':function(_0x528ee9){var _0x32449e=_0x504558,_0x47f8c6=_0x528ee9['length'],_0x2a172b=this['_map'],_0x3260cb=this[_0x32449e(0x29d)];if(!_0x3260cb){_0x3260cb=this[_0x32449e(0x29d)]=[];for(var _0x5c1b31=0x0;_0x5c1b31<_0x2a172b[_0x32449e(0x2ca)];_0x5c1b31++)_0x3260cb[_0x2a172b[_0x32449e(0x2e3)](_0x5c1b31)]=_0x5c1b31;}var _0x37d697=_0x2a172b[_0x32449e(0x3f0)](0x40);if(_0x37d697){var _0x5ab1f6=_0x528ee9[_0x32449e(0x134)](_0x37d697);_0x5ab1f6!==-0x1&&(_0x47f8c6=_0x5ab1f6);}return _0x368b1f(_0x528ee9,_0x47f8c6,_0x3260cb);},'_map':_0x504558(0x320)};function _0x368b1f(_0x1bd8a3,_0x175a57,_0x57df14){var _0x2c773d=_0x504558;for(var _0x3e66e3=[],_0x49bb72=0x0,_0x78bbac=0x0;_0x78bbac<_0x175a57;_0x78bbac++)if(_0x78bbac%0x4){var _0x49d5f4=_0x57df14[_0x1bd8a3['charCodeAt'](_0x78bbac-0x1)]<<_0x78bbac%0x4*0x2,_0x4cacb9=_0x57df14[_0x1bd8a3[_0x2c773d(0x2e3)](_0x78bbac)]>>>0x6-_0x78bbac%0x4*0x2,_0x468852=_0x49d5f4|_0x4cacb9;_0x3e66e3[_0x49bb72>>>0x2]|=_0x468852<<0x18-_0x49bb72%0x4*0x8,_0x49bb72++;}return _0x4b6fd5[_0x2c773d(0x113)](_0x3e66e3,_0x49bb72);}}()),_0x300146[_0x5718a1(0x285)]['Base64'];}));}(We)),We[_0x579878(0x197)];}var Ye={'exports':{}},un=Ye[_0x23ae93(0x197)],zt;function dn(){var _0x42fe80=_0x23ae93;return zt||(zt=0x1,function(_0x4ef691,_0x1bb1f6){(function(_0x21947e,_0x37e9ae){var _0x55766a=_0x97e6;_0x4ef691[_0x55766a(0x197)]=_0x37e9ae(ie());}(un,function(_0x533953){var _0x1cfb8d=_0x97e6;return function(_0x1c7ff2){var _0x3cfb1e=_0x97e6,_0x5debf0=_0x533953,_0xdecfff=_0x5debf0[_0x3cfb1e(0x2fa)],_0x3aad64=_0xdecfff[_0x3cfb1e(0x36a)],_0x3ed792=_0xdecfff[_0x3cfb1e(0x332)],_0x28ecd4=_0x5debf0[_0x3cfb1e(0x296)],_0x260f89=[];(function(){for(var _0x589c94=0x0;_0x589c94<0x40;_0x589c94++)_0x260f89[_0x589c94]=_0x1c7ff2['abs'](_0x1c7ff2['sin'](_0x589c94+0x1))*0x100000000|0x0;}());var _0x31dc6e=_0x28ecd4[_0x3cfb1e(0x19c)]=_0x3ed792[_0x3cfb1e(0x1a0)]({'_doReset':function(){var _0x15edf1=_0x3cfb1e;this[_0x15edf1(0x133)]=new _0x3aad64['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x175a97,_0x57b0a7){var _0x23936f=_0x3cfb1e;for(var _0x4a5c7b=0x0;_0x4a5c7b<0x10;_0x4a5c7b++){var _0x44a8ec=_0x57b0a7+_0x4a5c7b,_0x58c20b=_0x175a97[_0x44a8ec];_0x175a97[_0x44a8ec]=(_0x58c20b<<0x8|_0x58c20b>>>0x18)&0xff00ff|(_0x58c20b<<0x18|_0x58c20b>>>0x8)&0xff00ff00;}var _0x4ea1a3=this['_hash'][_0x23936f(0x163)],_0x58ba82=_0x175a97[_0x57b0a7+0x0],_0x3d7b46=_0x175a97[_0x57b0a7+0x1],_0xa12a08=_0x175a97[_0x57b0a7+0x2],_0xc27c99=_0x175a97[_0x57b0a7+0x3],_0x3f5347=_0x175a97[_0x57b0a7+0x4],_0x3404e8=_0x175a97[_0x57b0a7+0x5],_0x880057=_0x175a97[_0x57b0a7+0x6],_0x382eeb=_0x175a97[_0x57b0a7+0x7],_0x565106=_0x175a97[_0x57b0a7+0x8],_0x5d1372=_0x175a97[_0x57b0a7+0x9],_0x525d78=_0x175a97[_0x57b0a7+0xa],_0xf7ea4f=_0x175a97[_0x57b0a7+0xb],_0x300d0d=_0x175a97[_0x57b0a7+0xc],_0x358a1d=_0x175a97[_0x57b0a7+0xd],_0x389837=_0x175a97[_0x57b0a7+0xe],_0x51c772=_0x175a97[_0x57b0a7+0xf],_0x32798d=_0x4ea1a3[0x0],_0x1f8816=_0x4ea1a3[0x1],_0x2f1c2a=_0x4ea1a3[0x2],_0x478016=_0x4ea1a3[0x3];_0x32798d=_0x478ffa(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x58ba82,0x7,_0x260f89[0x0]),_0x478016=_0x478ffa(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x3d7b46,0xc,_0x260f89[0x1]),_0x2f1c2a=_0x478ffa(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xa12a08,0x11,_0x260f89[0x2]),_0x1f8816=_0x478ffa(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0xc27c99,0x16,_0x260f89[0x3]),_0x32798d=_0x478ffa(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3f5347,0x7,_0x260f89[0x4]),_0x478016=_0x478ffa(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x3404e8,0xc,_0x260f89[0x5]),_0x2f1c2a=_0x478ffa(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x880057,0x11,_0x260f89[0x6]),_0x1f8816=_0x478ffa(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x382eeb,0x16,_0x260f89[0x7]),_0x32798d=_0x478ffa(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x565106,0x7,_0x260f89[0x8]),_0x478016=_0x478ffa(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x5d1372,0xc,_0x260f89[0x9]),_0x2f1c2a=_0x478ffa(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x525d78,0x11,_0x260f89[0xa]),_0x1f8816=_0x478ffa(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0xf7ea4f,0x16,_0x260f89[0xb]),_0x32798d=_0x478ffa(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x300d0d,0x7,_0x260f89[0xc]),_0x478016=_0x478ffa(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x358a1d,0xc,_0x260f89[0xd]),_0x2f1c2a=_0x478ffa(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x389837,0x11,_0x260f89[0xe]),_0x1f8816=_0x478ffa(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x51c772,0x16,_0x260f89[0xf]),_0x32798d=_0x5b136d(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3d7b46,0x5,_0x260f89[0x10]),_0x478016=_0x5b136d(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x880057,0x9,_0x260f89[0x11]),_0x2f1c2a=_0x5b136d(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xf7ea4f,0xe,_0x260f89[0x12]),_0x1f8816=_0x5b136d(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x58ba82,0x14,_0x260f89[0x13]),_0x32798d=_0x5b136d(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3404e8,0x5,_0x260f89[0x14]),_0x478016=_0x5b136d(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x525d78,0x9,_0x260f89[0x15]),_0x2f1c2a=_0x5b136d(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x51c772,0xe,_0x260f89[0x16]),_0x1f8816=_0x5b136d(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x3f5347,0x14,_0x260f89[0x17]),_0x32798d=_0x5b136d(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x5d1372,0x5,_0x260f89[0x18]),_0x478016=_0x5b136d(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x389837,0x9,_0x260f89[0x19]),_0x2f1c2a=_0x5b136d(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xc27c99,0xe,_0x260f89[0x1a]),_0x1f8816=_0x5b136d(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x565106,0x14,_0x260f89[0x1b]),_0x32798d=_0x5b136d(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x358a1d,0x5,_0x260f89[0x1c]),_0x478016=_0x5b136d(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0xa12a08,0x9,_0x260f89[0x1d]),_0x2f1c2a=_0x5b136d(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x382eeb,0xe,_0x260f89[0x1e]),_0x1f8816=_0x5b136d(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x300d0d,0x14,_0x260f89[0x1f]),_0x32798d=_0x44d3ea(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3404e8,0x4,_0x260f89[0x20]),_0x478016=_0x44d3ea(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x565106,0xb,_0x260f89[0x21]),_0x2f1c2a=_0x44d3ea(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xf7ea4f,0x10,_0x260f89[0x22]),_0x1f8816=_0x44d3ea(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x389837,0x17,_0x260f89[0x23]),_0x32798d=_0x44d3ea(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3d7b46,0x4,_0x260f89[0x24]),_0x478016=_0x44d3ea(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x3f5347,0xb,_0x260f89[0x25]),_0x2f1c2a=_0x44d3ea(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x382eeb,0x10,_0x260f89[0x26]),_0x1f8816=_0x44d3ea(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x525d78,0x17,_0x260f89[0x27]),_0x32798d=_0x44d3ea(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x358a1d,0x4,_0x260f89[0x28]),_0x478016=_0x44d3ea(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x58ba82,0xb,_0x260f89[0x29]),_0x2f1c2a=_0x44d3ea(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xc27c99,0x10,_0x260f89[0x2a]),_0x1f8816=_0x44d3ea(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x880057,0x17,_0x260f89[0x2b]),_0x32798d=_0x44d3ea(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x5d1372,0x4,_0x260f89[0x2c]),_0x478016=_0x44d3ea(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x300d0d,0xb,_0x260f89[0x2d]),_0x2f1c2a=_0x44d3ea(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x51c772,0x10,_0x260f89[0x2e]),_0x1f8816=_0x44d3ea(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0xa12a08,0x17,_0x260f89[0x2f]),_0x32798d=_0x4808ae(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x58ba82,0x6,_0x260f89[0x30]),_0x478016=_0x4808ae(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x382eeb,0xa,_0x260f89[0x31]),_0x2f1c2a=_0x4808ae(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x389837,0xf,_0x260f89[0x32]),_0x1f8816=_0x4808ae(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x3404e8,0x15,_0x260f89[0x33]),_0x32798d=_0x4808ae(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x300d0d,0x6,_0x260f89[0x34]),_0x478016=_0x4808ae(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0xc27c99,0xa,_0x260f89[0x35]),_0x2f1c2a=_0x4808ae(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x525d78,0xf,_0x260f89[0x36]),_0x1f8816=_0x4808ae(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x3d7b46,0x15,_0x260f89[0x37]),_0x32798d=_0x4808ae(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x565106,0x6,_0x260f89[0x38]),_0x478016=_0x4808ae(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0x51c772,0xa,_0x260f89[0x39]),_0x2f1c2a=_0x4808ae(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0x880057,0xf,_0x260f89[0x3a]),_0x1f8816=_0x4808ae(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x358a1d,0x15,_0x260f89[0x3b]),_0x32798d=_0x4808ae(_0x32798d,_0x1f8816,_0x2f1c2a,_0x478016,_0x3f5347,0x6,_0x260f89[0x3c]),_0x478016=_0x4808ae(_0x478016,_0x32798d,_0x1f8816,_0x2f1c2a,_0xf7ea4f,0xa,_0x260f89[0x3d]),_0x2f1c2a=_0x4808ae(_0x2f1c2a,_0x478016,_0x32798d,_0x1f8816,_0xa12a08,0xf,_0x260f89[0x3e]),_0x1f8816=_0x4808ae(_0x1f8816,_0x2f1c2a,_0x478016,_0x32798d,_0x5d1372,0x15,_0x260f89[0x3f]),_0x4ea1a3[0x0]=_0x4ea1a3[0x0]+_0x32798d|0x0,_0x4ea1a3[0x1]=_0x4ea1a3[0x1]+_0x1f8816|0x0,_0x4ea1a3[0x2]=_0x4ea1a3[0x2]+_0x2f1c2a|0x0,_0x4ea1a3[0x3]=_0x4ea1a3[0x3]+_0x478016|0x0;},'_doFinalize':function(){var _0x5f4a1f=_0x3cfb1e,_0xa23ca=this[_0x5f4a1f(0x27b)],_0x3b5133=_0xa23ca['words'],_0xa237d8=this[_0x5f4a1f(0x346)]*0x8,_0x27c428=_0xa23ca['sigBytes']*0x8;_0x3b5133[_0x27c428>>>0x5]|=0x80<<0x18-_0x27c428%0x20;var _0x867f4e=_0x1c7ff2['floor'](_0xa237d8/0x100000000),_0xa6e1e1=_0xa237d8;_0x3b5133[(_0x27c428+0x40>>>0x9<<0x4)+0xf]=(_0x867f4e<<0x8|_0x867f4e>>>0x18)&0xff00ff|(_0x867f4e<<0x18|_0x867f4e>>>0x8)&0xff00ff00,_0x3b5133[(_0x27c428+0x40>>>0x9<<0x4)+0xe]=(_0xa6e1e1<<0x8|_0xa6e1e1>>>0x18)&0xff00ff|(_0xa6e1e1<<0x18|_0xa6e1e1>>>0x8)&0xff00ff00,_0xa23ca[_0x5f4a1f(0x1b3)]=(_0x3b5133[_0x5f4a1f(0x2ca)]+0x1)*0x4,this[_0x5f4a1f(0x166)]();for(var _0x2fbce0=this[_0x5f4a1f(0x133)],_0x2bbea5=_0x2fbce0[_0x5f4a1f(0x163)],_0x3488e5=0x0;_0x3488e5<0x4;_0x3488e5++){var _0xa2b731=_0x2bbea5[_0x3488e5];_0x2bbea5[_0x3488e5]=(_0xa2b731<<0x8|_0xa2b731>>>0x18)&0xff00ff|(_0xa2b731<<0x18|_0xa2b731>>>0x8)&0xff00ff00;}return _0x2fbce0;},'clone':function(){var _0x1736e9=_0x3cfb1e,_0x19979a=_0x3ed792[_0x1736e9(0x260)][_0x1736e9(0x179)](this);return _0x19979a[_0x1736e9(0x133)]=this[_0x1736e9(0x133)]['clone'](),_0x19979a;}});function _0x478ffa(_0x4f0e56,_0x204968,_0x187094,_0x3b91e3,_0x40cc98,_0x371669,_0x5c889e){var _0x15a18b=_0x4f0e56+(_0x204968&_0x187094|~_0x204968&_0x3b91e3)+_0x40cc98+_0x5c889e;return(_0x15a18b<<_0x371669|_0x15a18b>>>0x20-_0x371669)+_0x204968;}function _0x5b136d(_0x414325,_0xc8739c,_0x3a1f89,_0x485e29,_0x30f4fe,_0x238156,_0x2f1c15){var _0x1a3424=_0x414325+(_0xc8739c&_0x485e29|_0x3a1f89&~_0x485e29)+_0x30f4fe+_0x2f1c15;return(_0x1a3424<<_0x238156|_0x1a3424>>>0x20-_0x238156)+_0xc8739c;}function _0x44d3ea(_0x7b484e,_0x4ebc13,_0x185d8,_0x47900c,_0x4da0af,_0x4946bc,_0x4eccf9){var _0x49b4ca=_0x7b484e+(_0x4ebc13^_0x185d8^_0x47900c)+_0x4da0af+_0x4eccf9;return(_0x49b4ca<<_0x4946bc|_0x49b4ca>>>0x20-_0x4946bc)+_0x4ebc13;}function _0x4808ae(_0x43a29a,_0x475837,_0x565cb7,_0x2277f9,_0x4518de,_0x37efdf,_0x26d0e3){var _0x19aea2=_0x43a29a+(_0x565cb7^(_0x475837|~_0x2277f9))+_0x4518de+_0x26d0e3;return(_0x19aea2<<_0x37efdf|_0x19aea2>>>0x20-_0x37efdf)+_0x475837;}_0x5debf0[_0x3cfb1e(0x19c)]=_0x3ed792[_0x3cfb1e(0x344)](_0x31dc6e),_0x5debf0[_0x3cfb1e(0x24f)]=_0x3ed792['_createHmacHelper'](_0x31dc6e);}(Math),_0x533953[_0x1cfb8d(0x19c)];}));}(Ye)),Ye[_0x42fe80(0x197)];}var Ke={'exports':{}},qe={'exports':{}},fn=qe[_0x23ae93(0x197)],Xt;function vn(){var _0x44f5ac=_0x23ae93;return Xt||(Xt=0x1,function(_0x5467ca,_0x1b5598){(function(_0x100193,_0xd8af39){var _0x3df5ab=_0x97e6;_0x5467ca[_0x3df5ab(0x197)]=_0xd8af39(ie());}(fn,function(_0x46652f){var _0x4fee2a=_0x97e6;return(function(){var _0x1aa184=_0x97e6,_0x12cc80=_0x46652f,_0x32789e=_0x12cc80[_0x1aa184(0x2fa)],_0x3066b9=_0x32789e[_0x1aa184(0x36a)],_0x485d67=_0x32789e[_0x1aa184(0x332)],_0x19293a=_0x12cc80[_0x1aa184(0x296)],_0x165b3f=[],_0xf0d255=_0x19293a['SHA1']=_0x485d67[_0x1aa184(0x1a0)]({'_doReset':function(){var _0x1ea0ce=_0x1aa184;this[_0x1ea0ce(0x133)]=new _0x3066b9[(_0x1ea0ce(0x2c1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf90f3c,_0x18555f){var _0x399e43=_0x1aa184;for(var _0x511117=this[_0x399e43(0x133)]['words'],_0x5ed9ff=_0x511117[0x0],_0x2deaa0=_0x511117[0x1],_0x3c5aa9=_0x511117[0x2],_0x193a20=_0x511117[0x3],_0x51eba3=_0x511117[0x4],_0x193d8=0x0;_0x193d8<0x50;_0x193d8++){if(_0x193d8<0x10)_0x165b3f[_0x193d8]=_0xf90f3c[_0x18555f+_0x193d8]|0x0;else{var _0x1079c1=_0x165b3f[_0x193d8-0x3]^_0x165b3f[_0x193d8-0x8]^_0x165b3f[_0x193d8-0xe]^_0x165b3f[_0x193d8-0x10];_0x165b3f[_0x193d8]=_0x1079c1<<0x1|_0x1079c1>>>0x1f;}var _0x385d09=(_0x5ed9ff<<0x5|_0x5ed9ff>>>0x1b)+_0x51eba3+_0x165b3f[_0x193d8];_0x193d8<0x14?_0x385d09+=(_0x2deaa0&_0x3c5aa9|~_0x2deaa0&_0x193a20)+0x5a827999:_0x193d8<0x28?_0x385d09+=(_0x2deaa0^_0x3c5aa9^_0x193a20)+0x6ed9eba1:_0x193d8<0x3c?_0x385d09+=(_0x2deaa0&_0x3c5aa9|_0x2deaa0&_0x193a20|_0x3c5aa9&_0x193a20)-0x70e44324:_0x385d09+=(_0x2deaa0^_0x3c5aa9^_0x193a20)-0x359d3e2a,_0x51eba3=_0x193a20,_0x193a20=_0x3c5aa9,_0x3c5aa9=_0x2deaa0<<0x1e|_0x2deaa0>>>0x2,_0x2deaa0=_0x5ed9ff,_0x5ed9ff=_0x385d09;}_0x511117[0x0]=_0x511117[0x0]+_0x5ed9ff|0x0,_0x511117[0x1]=_0x511117[0x1]+_0x2deaa0|0x0,_0x511117[0x2]=_0x511117[0x2]+_0x3c5aa9|0x0,_0x511117[0x3]=_0x511117[0x3]+_0x193a20|0x0,_0x511117[0x4]=_0x511117[0x4]+_0x51eba3|0x0;},'_doFinalize':function(){var _0xd66464=_0x1aa184,_0x18415d=this[_0xd66464(0x27b)],_0x156f33=_0x18415d[_0xd66464(0x163)],_0x5cf45d=this[_0xd66464(0x346)]*0x8,_0x3b5842=_0x18415d[_0xd66464(0x1b3)]*0x8;return _0x156f33[_0x3b5842>>>0x5]|=0x80<<0x18-_0x3b5842%0x20,_0x156f33[(_0x3b5842+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5cf45d/0x100000000),_0x156f33[(_0x3b5842+0x40>>>0x9<<0x4)+0xf]=_0x5cf45d,_0x18415d[_0xd66464(0x1b3)]=_0x156f33['length']*0x4,this[_0xd66464(0x166)](),this['_hash'];},'clone':function(){var _0x584806=_0x1aa184,_0x775c22=_0x485d67[_0x584806(0x260)][_0x584806(0x179)](this);return _0x775c22['_hash']=this['_hash'][_0x584806(0x260)](),_0x775c22;}});_0x12cc80[_0x1aa184(0x297)]=_0x485d67[_0x1aa184(0x344)](_0xf0d255),_0x12cc80[_0x1aa184(0x159)]=_0x485d67[_0x1aa184(0x218)](_0xf0d255);}()),_0x46652f[_0x4fee2a(0x297)];}));}(qe)),qe[_0x44f5ac(0x197)];}var ze={'exports':{}},En=ze[_0x23ae93(0x197)],Jt;function pn(){var _0x3ce652=_0x23ae93;return Jt||(Jt=0x1,function(_0x2a2b0e,_0x397ed7){(function(_0x51c85f,_0x12eb4b){var _0x5c698d=_0x97e6;_0x2a2b0e[_0x5c698d(0x197)]=_0x12eb4b(ie());}(En,function(_0x3c8506){(function(){var _0x327358=_0x97e6,_0x4b5ee3=_0x3c8506,_0x2bdf88=_0x4b5ee3['lib'],_0x43728b=_0x2bdf88['Base'],_0x8a91fa=_0x4b5ee3[_0x327358(0x285)],_0x5db0a2=_0x8a91fa[_0x327358(0x1f1)],_0x3298c2=_0x4b5ee3[_0x327358(0x296)];_0x3298c2[_0x327358(0x270)]=_0x43728b[_0x327358(0x1a0)]({'init':function(_0x5ce14e,_0x2080ae){var _0x1cc1a1=_0x327358;_0x5ce14e=this[_0x1cc1a1(0x2f5)]=new _0x5ce14e[(_0x1cc1a1(0x2c1))](),typeof _0x2080ae=='string'&&(_0x2080ae=_0x5db0a2[_0x1cc1a1(0x326)](_0x2080ae));var _0x300b96=_0x5ce14e[_0x1cc1a1(0x3ae)],_0x279bee=_0x300b96*0x4;_0x2080ae[_0x1cc1a1(0x1b3)]>_0x279bee&&(_0x2080ae=_0x5ce14e['finalize'](_0x2080ae)),_0x2080ae[_0x1cc1a1(0x2a0)]();for(var _0xe503da=this['_oKey']=_0x2080ae[_0x1cc1a1(0x260)](),_0x2720e9=this[_0x1cc1a1(0x181)]=_0x2080ae[_0x1cc1a1(0x260)](),_0x2afbcd=_0xe503da[_0x1cc1a1(0x163)],_0x31bcfa=_0x2720e9[_0x1cc1a1(0x163)],_0x17721a=0x0;_0x17721a<_0x300b96;_0x17721a++)_0x2afbcd[_0x17721a]^=0x5c5c5c5c,_0x31bcfa[_0x17721a]^=0x36363636;_0xe503da[_0x1cc1a1(0x1b3)]=_0x2720e9[_0x1cc1a1(0x1b3)]=_0x279bee,this[_0x1cc1a1(0x117)]();},'reset':function(){var _0x401d82=_0x327358,_0x4da46c=this[_0x401d82(0x2f5)];_0x4da46c[_0x401d82(0x117)](),_0x4da46c[_0x401d82(0x3fa)](this[_0x401d82(0x181)]);},'update':function(_0x410415){return this['_hasher']['update'](_0x410415),this;},'finalize':function(_0x334a69){var _0x32aa38=_0x327358,_0x3a2db0=this['_hasher'],_0x495540=_0x3a2db0[_0x32aa38(0x2ac)](_0x334a69);_0x3a2db0[_0x32aa38(0x117)]();var _0x30b5fc=_0x3a2db0[_0x32aa38(0x2ac)](this[_0x32aa38(0x229)][_0x32aa38(0x260)]()[_0x32aa38(0x2b9)](_0x495540));return _0x30b5fc;}});}());}));}(ze)),ze[_0x3ce652(0x197)];}var mn=Ke[_0x23ae93(0x197)],Zt;function Ci(){var _0x32089a=_0x23ae93;return Zt||(Zt=0x1,function(_0x208cdb,_0x1cf57e){(function(_0x4b7f16,_0x34c9c9,_0x242750){var _0x5288f2=_0x97e6;_0x208cdb[_0x5288f2(0x197)]=_0x34c9c9(ie(),vn(),pn());}(mn,function(_0x14aa4f){return(function(){var _0xe34444=_0x97e6,_0x492fdd=_0x14aa4f,_0x317c23=_0x492fdd[_0xe34444(0x2fa)],_0x4a9989=_0x317c23[_0xe34444(0x3dd)],_0x161cb2=_0x317c23[_0xe34444(0x36a)],_0x59452d=_0x492fdd[_0xe34444(0x296)],_0x27d1d0=_0x59452d['MD5'],_0x4af86b=_0x59452d[_0xe34444(0x404)]=_0x4a9989[_0xe34444(0x1a0)]({'cfg':_0x4a9989[_0xe34444(0x1a0)]({'keySize':0x80/0x20,'hasher':_0x27d1d0,'iterations':0x1}),'init':function(_0x3fbad5){var _0x32351a=_0xe34444;this[_0x32351a(0x388)]=this[_0x32351a(0x388)]['extend'](_0x3fbad5);},'compute':function(_0xf883d8,_0x42b582){var _0x33d041=_0xe34444;for(var _0x26d000,_0xc053c7=this[_0x33d041(0x388)],_0x24cda6=_0xc053c7[_0x33d041(0x32b)][_0x33d041(0x113)](),_0x57564d=_0x161cb2[_0x33d041(0x113)](),_0x1c8a33=_0x57564d[_0x33d041(0x163)],_0x2acfcf=_0xc053c7[_0x33d041(0x14e)],_0x2536d9=_0xc053c7[_0x33d041(0x147)];_0x1c8a33[_0x33d041(0x2ca)]<_0x2acfcf;){_0x26d000&&_0x24cda6['update'](_0x26d000),_0x26d000=_0x24cda6[_0x33d041(0x3fa)](_0xf883d8)['finalize'](_0x42b582),_0x24cda6['reset']();for(var _0x502fe8=0x1;_0x502fe8<_0x2536d9;_0x502fe8++)_0x26d000=_0x24cda6[_0x33d041(0x2ac)](_0x26d000),_0x24cda6[_0x33d041(0x117)]();_0x57564d['concat'](_0x26d000);}return _0x57564d[_0x33d041(0x1b3)]=_0x2acfcf*0x4,_0x57564d;}});_0x492fdd['EvpKDF']=function(_0x24c365,_0xb4fd6a,_0x656e0f){var _0x29c2ed=_0xe34444;return _0x4af86b[_0x29c2ed(0x113)](_0x656e0f)['compute'](_0x24c365,_0xb4fd6a);};}()),_0x14aa4f['EvpKDF'];}));}(Ke)),Ke[_0x32089a(0x197)];}var Xe={'exports':{}},In=Xe['exports'],Qt;function bi(){var _0x3db047=_0x23ae93;return Qt||(Qt=0x1,function(_0x181ff4,_0x4b7889){(function(_0x391cfe,_0x2e74b2,_0x5c2bce){var _0x2df12c=_0x97e6;_0x181ff4[_0x2df12c(0x197)]=_0x2e74b2(ie(),Ci());}(In,function(_0x468ecd){var _0x34aba7=_0x97e6;_0x468ecd[_0x34aba7(0x2fa)]['Cipher']||function(_0x51bb04){var _0x215159=_0x34aba7,_0x3e33e2=_0x468ecd,_0x583e8b=_0x3e33e2[_0x215159(0x2fa)],_0x280624=_0x583e8b[_0x215159(0x3dd)],_0x300d5f=_0x583e8b[_0x215159(0x36a)],_0x3e761=_0x583e8b[_0x215159(0x369)],_0x5a0adb=_0x3e33e2[_0x215159(0x285)];_0x5a0adb[_0x215159(0x1f1)];var _0xc42ede=_0x5a0adb[_0x215159(0x361)],_0x231c6a=_0x3e33e2[_0x215159(0x296)],_0x472b26=_0x231c6a[_0x215159(0x404)],_0x5821ec=_0x583e8b[_0x215159(0x2e2)]=_0x3e761[_0x215159(0x1a0)]({'cfg':_0x280624[_0x215159(0x1a0)](),'createEncryptor':function(_0xf2ef3e,_0x5333ae){return this['create'](this['_ENC_XFORM_MODE'],_0xf2ef3e,_0x5333ae);},'createDecryptor':function(_0x401035,_0x4c3569){var _0x3570d5=_0x215159;return this['create'](this[_0x3570d5(0x1f2)],_0x401035,_0x4c3569);},'init':function(_0x382fed,_0x33de32,_0x318ba0){var _0x1c1708=_0x215159;this[_0x1c1708(0x388)]=this[_0x1c1708(0x388)][_0x1c1708(0x1a0)](_0x318ba0),this['_xformMode']=_0x382fed,this[_0x1c1708(0x1be)]=_0x33de32,this[_0x1c1708(0x117)]();},'reset':function(){var _0x41a7a0=_0x215159;_0x3e761[_0x41a7a0(0x117)][_0x41a7a0(0x179)](this),this[_0x41a7a0(0x3cd)]();},'process':function(_0x3a1a70){var _0x58569c=_0x215159;return this[_0x58569c(0x41f)](_0x3a1a70),this['_process']();},'finalize':function(_0x506693){var _0x3963cf=_0x215159;_0x506693&&this[_0x3963cf(0x41f)](_0x506693);var _0x35472e=this['_doFinalize']();return _0x35472e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x593a12(_0x330325){var _0xb30209=_0x97e6;return typeof _0x330325==_0xb30209(0x241)?_0x499a89:_0x409f16;}return function(_0x376d81){return{'encrypt':function(_0x5a43db,_0x1111ec,_0x1656cb){var _0x3b7b85=_0x97e6;return _0x593a12(_0x1111ec)[_0x3b7b85(0x375)](_0x376d81,_0x5a43db,_0x1111ec,_0x1656cb);},'decrypt':function(_0x5c4ea9,_0x5f48f9,_0xc6e542){return _0x593a12(_0x5f48f9)['decrypt'](_0x376d81,_0x5c4ea9,_0x5f48f9,_0xc6e542);}};};}())});_0x583e8b[_0x215159(0x394)]=_0x5821ec['extend']({'_doFinalize':function(){var _0xb041f8=this['_process'](!0x0);return _0xb041f8;},'blockSize':0x1});var _0x34506b=_0x3e33e2[_0x215159(0x231)]={},_0x3846b3=_0x583e8b[_0x215159(0x1da)]=_0x280624[_0x215159(0x1a0)]({'createEncryptor':function(_0x38cf5b,_0x3c1b5f){var _0x2f58fe=_0x215159;return this[_0x2f58fe(0x151)][_0x2f58fe(0x113)](_0x38cf5b,_0x3c1b5f);},'createDecryptor':function(_0x1da837,_0x38676a){var _0x4ec443=_0x215159;return this['Decryptor'][_0x4ec443(0x113)](_0x1da837,_0x38676a);},'init':function(_0x17d3c8,_0x2bf743){var _0xa253ad=_0x215159;this[_0xa253ad(0x258)]=_0x17d3c8,this[_0xa253ad(0x1ec)]=_0x2bf743;}}),_0x56af51=_0x34506b[_0x215159(0x19f)]=(function(){var _0x41e057=_0x215159,_0x1f13d4=_0x3846b3[_0x41e057(0x1a0)]();_0x1f13d4[_0x41e057(0x151)]=_0x1f13d4[_0x41e057(0x1a0)]({'processBlock':function(_0x3d2538,_0x15fa05){var _0x350fc8=_0x41e057,_0x5f25e3=this[_0x350fc8(0x258)],_0x1ee36=_0x5f25e3[_0x350fc8(0x3ae)];_0x19883c[_0x350fc8(0x179)](this,_0x3d2538,_0x15fa05,_0x1ee36),_0x5f25e3[_0x350fc8(0x172)](_0x3d2538,_0x15fa05),this[_0x350fc8(0x36d)]=_0x3d2538[_0x350fc8(0x352)](_0x15fa05,_0x15fa05+_0x1ee36);}}),_0x1f13d4[_0x41e057(0x359)]=_0x1f13d4[_0x41e057(0x1a0)]({'processBlock':function(_0x78b282,_0x2a792c){var _0x1099b5=_0x41e057,_0x5250b5=this[_0x1099b5(0x258)],_0x5f10d2=_0x5250b5[_0x1099b5(0x3ae)],_0x33a08d=_0x78b282['slice'](_0x2a792c,_0x2a792c+_0x5f10d2);_0x5250b5[_0x1099b5(0x295)](_0x78b282,_0x2a792c),_0x19883c[_0x1099b5(0x179)](this,_0x78b282,_0x2a792c,_0x5f10d2),this[_0x1099b5(0x36d)]=_0x33a08d;}});function _0x19883c(_0x1bad03,_0x1fdb50,_0x4d96ac){var _0x2e9e58=_0x41e057,_0x15b353,_0x56e9ba=this[_0x2e9e58(0x1ec)];_0x56e9ba?(_0x15b353=_0x56e9ba,this[_0x2e9e58(0x1ec)]=_0x51bb04):_0x15b353=this[_0x2e9e58(0x36d)];for(var _0x33b24d=0x0;_0x33b24d<_0x4d96ac;_0x33b24d++)_0x1bad03[_0x1fdb50+_0x33b24d]^=_0x15b353[_0x33b24d];}return _0x1f13d4;}()),_0x1bc4a2=_0x3e33e2[_0x215159(0x405)]={},_0x37f047=_0x1bc4a2[_0x215159(0x222)]={'pad':function(_0x7737e9,_0x6caede){var _0x323bb6=_0x215159;for(var _0x381bdc=_0x6caede*0x4,_0x4adbe6=_0x381bdc-_0x7737e9[_0x323bb6(0x1b3)]%_0x381bdc,_0x302933=_0x4adbe6<<0x18|_0x4adbe6<<0x10|_0x4adbe6<<0x8|_0x4adbe6,_0x5deb2e=[],_0x47fd3c=0x0;_0x47fd3c<_0x4adbe6;_0x47fd3c+=0x4)_0x5deb2e[_0x323bb6(0x1b8)](_0x302933);var _0x2b7be7=_0x300d5f[_0x323bb6(0x113)](_0x5deb2e,_0x4adbe6);_0x7737e9['concat'](_0x2b7be7);},'unpad':function(_0x1de0f2){var _0x42a46f=_0x215159,_0x3ab094=_0x1de0f2[_0x42a46f(0x163)][_0x1de0f2['sigBytes']-0x1>>>0x2]&0xff;_0x1de0f2[_0x42a46f(0x1b3)]-=_0x3ab094;}};_0x583e8b[_0x215159(0x3f9)]=_0x5821ec[_0x215159(0x1a0)]({'cfg':_0x5821ec['cfg']['extend']({'mode':_0x56af51,'padding':_0x37f047}),'reset':function(){var _0x5e8b46=_0x215159,_0x537f53;_0x5821ec[_0x5e8b46(0x117)][_0x5e8b46(0x179)](this);var _0x56b574=this['cfg'],_0x4ea45b=_0x56b574['iv'],_0x9ff440=_0x56b574[_0x5e8b46(0x231)];this[_0x5e8b46(0x21d)]==this[_0x5e8b46(0x25c)]?_0x537f53=_0x9ff440[_0x5e8b46(0x254)]:(_0x537f53=_0x9ff440[_0x5e8b46(0x22d)],this[_0x5e8b46(0x3e1)]=0x1),this[_0x5e8b46(0x1ad)]&&this[_0x5e8b46(0x1ad)][_0x5e8b46(0x3e7)]==_0x537f53?this[_0x5e8b46(0x1ad)][_0x5e8b46(0x2c1)](this,_0x4ea45b&&_0x4ea45b[_0x5e8b46(0x163)]):(this['_mode']=_0x537f53[_0x5e8b46(0x179)](_0x9ff440,this,_0x4ea45b&&_0x4ea45b[_0x5e8b46(0x163)]),this[_0x5e8b46(0x1ad)]['__creator']=_0x537f53);},'_doProcessBlock':function(_0x25e0f2,_0xf230cc){var _0x3e8497=_0x215159;this['_mode'][_0x3e8497(0x223)](_0x25e0f2,_0xf230cc);},'_doFinalize':function(){var _0x5d15f0=_0x215159,_0xea599e,_0x44ede6=this[_0x5d15f0(0x388)][_0x5d15f0(0x266)];return this['_xformMode']==this[_0x5d15f0(0x25c)]?(_0x44ede6[_0x5d15f0(0x405)](this[_0x5d15f0(0x27b)],this[_0x5d15f0(0x3ae)]),_0xea599e=this[_0x5d15f0(0x166)](!0x0)):(_0xea599e=this[_0x5d15f0(0x166)](!0x0),_0x44ede6['unpad'](_0xea599e)),_0xea599e;},'blockSize':0x80/0x20});var _0x55f873=_0x583e8b[_0x215159(0x410)]=_0x280624[_0x215159(0x1a0)]({'init':function(_0x8126){var _0x14280b=_0x215159;this[_0x14280b(0x1fd)](_0x8126);},'toString':function(_0x3a0fc8){var _0x24b3c1=_0x215159;return(_0x3a0fc8||this['formatter'])[_0x24b3c1(0x41e)](this);}}),_0x28cdf4=_0x3e33e2['format']={},_0x36e44f=_0x28cdf4[_0x215159(0x3d9)]={'stringify':function(_0x3c8bf5){var _0x1fd6a1=_0x215159,_0x59f2a5,_0x59bbd0=_0x3c8bf5['ciphertext'],_0xa92f8a=_0x3c8bf5[_0x1fd6a1(0x238)];return _0xa92f8a?_0x59f2a5=_0x300d5f[_0x1fd6a1(0x113)]([0x53616c74,0x65645f5f])[_0x1fd6a1(0x2b9)](_0xa92f8a)[_0x1fd6a1(0x2b9)](_0x59bbd0):_0x59f2a5=_0x59bbd0,_0x59f2a5[_0x1fd6a1(0x1ea)](_0xc42ede);},'parse':function(_0x34f93f){var _0x231d55=_0x215159,_0x5b105f,_0x1146a6=_0xc42ede['parse'](_0x34f93f),_0x153344=_0x1146a6[_0x231d55(0x163)];return _0x153344[0x0]==0x53616c74&&_0x153344[0x1]==0x65645f5f&&(_0x5b105f=_0x300d5f[_0x231d55(0x113)](_0x153344[_0x231d55(0x352)](0x2,0x4)),_0x153344[_0x231d55(0x1b5)](0x0,0x4),_0x1146a6[_0x231d55(0x1b3)]-=0x10),_0x55f873[_0x231d55(0x113)]({'ciphertext':_0x1146a6,'salt':_0x5b105f});}},_0x409f16=_0x583e8b[_0x215159(0x366)]=_0x280624[_0x215159(0x1a0)]({'cfg':_0x280624['extend']({'format':_0x36e44f}),'encrypt':function(_0x28604b,_0x426281,_0x5df7f2,_0x452be7){var _0x2a028d=_0x215159;_0x452be7=this[_0x2a028d(0x388)][_0x2a028d(0x1a0)](_0x452be7);var _0x1692c3=_0x28604b[_0x2a028d(0x254)](_0x5df7f2,_0x452be7),_0x115df7=_0x1692c3['finalize'](_0x426281),_0x4db406=_0x1692c3[_0x2a028d(0x388)];return _0x55f873[_0x2a028d(0x113)]({'ciphertext':_0x115df7,'key':_0x5df7f2,'iv':_0x4db406['iv'],'algorithm':_0x28604b,'mode':_0x4db406['mode'],'padding':_0x4db406[_0x2a028d(0x266)],'blockSize':_0x28604b['blockSize'],'formatter':_0x452be7[_0x2a028d(0x3d0)]});},'decrypt':function(_0x4e9b12,_0x5e92ba,_0x23642b,_0x255657){var _0x1fb50d=_0x215159;_0x255657=this[_0x1fb50d(0x388)][_0x1fb50d(0x1a0)](_0x255657),_0x5e92ba=this[_0x1fb50d(0x330)](_0x5e92ba,_0x255657[_0x1fb50d(0x3d0)]);var _0x3f168a=_0x4e9b12[_0x1fb50d(0x22d)](_0x23642b,_0x255657)[_0x1fb50d(0x2ac)](_0x5e92ba['ciphertext']);return _0x3f168a;},'_parse':function(_0x23675a,_0x2eed97){var _0x1fa1f6=_0x215159;return typeof _0x23675a==_0x1fa1f6(0x241)?_0x2eed97[_0x1fa1f6(0x326)](_0x23675a,this):_0x23675a;}}),_0x50c2da=_0x3e33e2['kdf']={},_0x35bbde=_0x50c2da[_0x215159(0x3d9)]={'execute':function(_0x126e4b,_0x23d1dd,_0x2ca02a,_0x4257db,_0x37f1b7){var _0x4029ad=_0x215159;if(_0x4257db||(_0x4257db=_0x300d5f[_0x4029ad(0x1e4)](0x40/0x8)),_0x37f1b7)var _0x509321=_0x472b26[_0x4029ad(0x113)]({'keySize':_0x23d1dd+_0x2ca02a,'hasher':_0x37f1b7})[_0x4029ad(0x2aa)](_0x126e4b,_0x4257db);else var _0x509321=_0x472b26[_0x4029ad(0x113)]({'keySize':_0x23d1dd+_0x2ca02a})[_0x4029ad(0x2aa)](_0x126e4b,_0x4257db);var _0x2e2fae=_0x300d5f[_0x4029ad(0x113)](_0x509321['words'][_0x4029ad(0x352)](_0x23d1dd),_0x2ca02a*0x4);return _0x509321[_0x4029ad(0x1b3)]=_0x23d1dd*0x4,_0x55f873['create']({'key':_0x509321,'iv':_0x2e2fae,'salt':_0x4257db});}},_0x499a89=_0x583e8b[_0x215159(0x10d)]=_0x409f16[_0x215159(0x1a0)]({'cfg':_0x409f16['cfg'][_0x215159(0x1a0)]({'kdf':_0x35bbde}),'encrypt':function(_0x30bdde,_0xb08aa7,_0x31c65a,_0x24f01a){var _0x5d2e57=_0x215159;_0x24f01a=this[_0x5d2e57(0x388)][_0x5d2e57(0x1a0)](_0x24f01a);var _0x183f55=_0x24f01a[_0x5d2e57(0x3f8)][_0x5d2e57(0x143)](_0x31c65a,_0x30bdde[_0x5d2e57(0x14e)],_0x30bdde[_0x5d2e57(0x22e)],_0x24f01a[_0x5d2e57(0x238)],_0x24f01a[_0x5d2e57(0x32b)]);_0x24f01a['iv']=_0x183f55['iv'];var _0x1a0422=_0x409f16['encrypt'][_0x5d2e57(0x179)](this,_0x30bdde,_0xb08aa7,_0x183f55['key'],_0x24f01a);return _0x1a0422[_0x5d2e57(0x1fd)](_0x183f55),_0x1a0422;},'decrypt':function(_0x142219,_0x499a7c,_0x1ec7cf,_0x2fa8bb){var _0x4bbde2=_0x215159;_0x2fa8bb=this[_0x4bbde2(0x388)][_0x4bbde2(0x1a0)](_0x2fa8bb),_0x499a7c=this['_parse'](_0x499a7c,_0x2fa8bb['format']);var _0x15e739=_0x2fa8bb[_0x4bbde2(0x3f8)]['execute'](_0x1ec7cf,_0x142219[_0x4bbde2(0x14e)],_0x142219['ivSize'],_0x499a7c[_0x4bbde2(0x238)],_0x2fa8bb[_0x4bbde2(0x32b)]);_0x2fa8bb['iv']=_0x15e739['iv'];var _0x86e32c=_0x409f16['decrypt'][_0x4bbde2(0x179)](this,_0x142219,_0x499a7c,_0x15e739['key'],_0x2fa8bb);return _0x86e32c;}});}();}));}(Xe)),Xe[_0x3db047(0x197)];}var Sn=Ve['exports'],ei;function gn(){var _0x3a29b7=_0x23ae93;return ei||(ei=0x1,function(_0x1d1297,_0x480f66){(function(_0x1797e9,_0x2fcf00,_0x44b289){var _0x138c28=_0x97e6;_0x1d1297[_0x138c28(0x197)]=_0x2fcf00(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x2284d4){return(function(){var _0x21c538=_0x97e6,_0x43db7f=_0x2284d4,_0x3e37cf=_0x43db7f[_0x21c538(0x2fa)],_0xc654fa=_0x3e37cf[_0x21c538(0x3f9)],_0x140a8e=_0x43db7f[_0x21c538(0x296)],_0x21dc94=[],_0x326e1b=[],_0x20e3d2=[],_0x484c9b=[],_0x371a46=[],_0x4a193d=[],_0x206f78=[],_0x1582c6=[],_0x191428=[],_0x2abadb=[];(function(){for(var _0x279643=[],_0x3fc5da=0x0;_0x3fc5da<0x100;_0x3fc5da++)_0x3fc5da<0x80?_0x279643[_0x3fc5da]=_0x3fc5da<<0x1:_0x279643[_0x3fc5da]=_0x3fc5da<<0x1^0x11b;for(var _0x48e995=0x0,_0x44d30d=0x0,_0x3fc5da=0x0;_0x3fc5da<0x100;_0x3fc5da++){var _0x592cb7=_0x44d30d^_0x44d30d<<0x1^_0x44d30d<<0x2^_0x44d30d<<0x3^_0x44d30d<<0x4;_0x592cb7=_0x592cb7>>>0x8^_0x592cb7&0xff^0x63,_0x21dc94[_0x48e995]=_0x592cb7,_0x326e1b[_0x592cb7]=_0x48e995;var _0xd7fb45=_0x279643[_0x48e995],_0x58b810=_0x279643[_0xd7fb45],_0x40a037=_0x279643[_0x58b810],_0x2526fb=_0x279643[_0x592cb7]*0x101^_0x592cb7*0x1010100;_0x20e3d2[_0x48e995]=_0x2526fb<<0x18|_0x2526fb>>>0x8,_0x484c9b[_0x48e995]=_0x2526fb<<0x10|_0x2526fb>>>0x10,_0x371a46[_0x48e995]=_0x2526fb<<0x8|_0x2526fb>>>0x18,_0x4a193d[_0x48e995]=_0x2526fb;var _0x2526fb=_0x40a037*0x1010101^_0x58b810*0x10001^_0xd7fb45*0x101^_0x48e995*0x1010100;_0x206f78[_0x592cb7]=_0x2526fb<<0x18|_0x2526fb>>>0x8,_0x1582c6[_0x592cb7]=_0x2526fb<<0x10|_0x2526fb>>>0x10,_0x191428[_0x592cb7]=_0x2526fb<<0x8|_0x2526fb>>>0x18,_0x2abadb[_0x592cb7]=_0x2526fb,_0x48e995?(_0x48e995=_0xd7fb45^_0x279643[_0x279643[_0x279643[_0x40a037^_0xd7fb45]]],_0x44d30d^=_0x279643[_0x279643[_0x44d30d]]):_0x48e995=_0x44d30d=0x1;}}());var _0x478e1d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5f5646=_0x140a8e[_0x21c538(0x353)]=_0xc654fa['extend']({'_doReset':function(){var _0x4c77ca=_0x21c538,_0x5cf2da;if(!(this[_0x4c77ca(0x1aa)]&&this[_0x4c77ca(0x31e)]===this[_0x4c77ca(0x1be)])){for(var _0x1cddaf=this['_keyPriorReset']=this['_key'],_0x2f642b=_0x1cddaf[_0x4c77ca(0x163)],_0x514481=_0x1cddaf[_0x4c77ca(0x1b3)]/0x4,_0x212a93=this['_nRounds']=_0x514481+0x6,_0x3c52b6=(_0x212a93+0x1)*0x4,_0x10cc86=this[_0x4c77ca(0x373)]=[],_0x3830d0=0x0;_0x3830d0<_0x3c52b6;_0x3830d0++)_0x3830d0<_0x514481?_0x10cc86[_0x3830d0]=_0x2f642b[_0x3830d0]:(_0x5cf2da=_0x10cc86[_0x3830d0-0x1],_0x3830d0%_0x514481?_0x514481>0x6&&_0x3830d0%_0x514481==0x4&&(_0x5cf2da=_0x21dc94[_0x5cf2da>>>0x18]<<0x18|_0x21dc94[_0x5cf2da>>>0x10&0xff]<<0x10|_0x21dc94[_0x5cf2da>>>0x8&0xff]<<0x8|_0x21dc94[_0x5cf2da&0xff]):(_0x5cf2da=_0x5cf2da<<0x8|_0x5cf2da>>>0x18,_0x5cf2da=_0x21dc94[_0x5cf2da>>>0x18]<<0x18|_0x21dc94[_0x5cf2da>>>0x10&0xff]<<0x10|_0x21dc94[_0x5cf2da>>>0x8&0xff]<<0x8|_0x21dc94[_0x5cf2da&0xff],_0x5cf2da^=_0x478e1d[_0x3830d0/_0x514481|0x0]<<0x18),_0x10cc86[_0x3830d0]=_0x10cc86[_0x3830d0-_0x514481]^_0x5cf2da);for(var _0x3e1885=this[_0x4c77ca(0x41b)]=[],_0xb4ada=0x0;_0xb4ada<_0x3c52b6;_0xb4ada++){var _0x3830d0=_0x3c52b6-_0xb4ada;if(_0xb4ada%0x4)var _0x5cf2da=_0x10cc86[_0x3830d0];else var _0x5cf2da=_0x10cc86[_0x3830d0-0x4];_0xb4ada<0x4||_0x3830d0<=0x4?_0x3e1885[_0xb4ada]=_0x5cf2da:_0x3e1885[_0xb4ada]=_0x206f78[_0x21dc94[_0x5cf2da>>>0x18]]^_0x1582c6[_0x21dc94[_0x5cf2da>>>0x10&0xff]]^_0x191428[_0x21dc94[_0x5cf2da>>>0x8&0xff]]^_0x2abadb[_0x21dc94[_0x5cf2da&0xff]];}}},'encryptBlock':function(_0x29fd4a,_0x36c670){var _0x34d0a3=_0x21c538;this['_doCryptBlock'](_0x29fd4a,_0x36c670,this[_0x34d0a3(0x373)],_0x20e3d2,_0x484c9b,_0x371a46,_0x4a193d,_0x21dc94);},'decryptBlock':function(_0x42ddb1,_0x4b14d8){var _0x419438=_0x21c538,_0x4b88b8=_0x42ddb1[_0x4b14d8+0x1];_0x42ddb1[_0x4b14d8+0x1]=_0x42ddb1[_0x4b14d8+0x3],_0x42ddb1[_0x4b14d8+0x3]=_0x4b88b8,this[_0x419438(0x1dc)](_0x42ddb1,_0x4b14d8,this[_0x419438(0x41b)],_0x206f78,_0x1582c6,_0x191428,_0x2abadb,_0x326e1b);var _0x4b88b8=_0x42ddb1[_0x4b14d8+0x1];_0x42ddb1[_0x4b14d8+0x1]=_0x42ddb1[_0x4b14d8+0x3],_0x42ddb1[_0x4b14d8+0x3]=_0x4b88b8;},'_doCryptBlock':function(_0xfba743,_0x48dfa9,_0x10ab72,_0x59ba71,_0x457ea8,_0xd8c350,_0x4849fe,_0x40618c){var _0x4f3443=_0x21c538;for(var _0x27fd73=this[_0x4f3443(0x1aa)],_0x2bd21f=_0xfba743[_0x48dfa9]^_0x10ab72[0x0],_0x12c5a3=_0xfba743[_0x48dfa9+0x1]^_0x10ab72[0x1],_0x49aca3=_0xfba743[_0x48dfa9+0x2]^_0x10ab72[0x2],_0x468fbd=_0xfba743[_0x48dfa9+0x3]^_0x10ab72[0x3],_0x10b70c=0x4,_0x4d6ca7=0x1;_0x4d6ca7<_0x27fd73;_0x4d6ca7++){var _0xdfc650=_0x59ba71[_0x2bd21f>>>0x18]^_0x457ea8[_0x12c5a3>>>0x10&0xff]^_0xd8c350[_0x49aca3>>>0x8&0xff]^_0x4849fe[_0x468fbd&0xff]^_0x10ab72[_0x10b70c++],_0x52da80=_0x59ba71[_0x12c5a3>>>0x18]^_0x457ea8[_0x49aca3>>>0x10&0xff]^_0xd8c350[_0x468fbd>>>0x8&0xff]^_0x4849fe[_0x2bd21f&0xff]^_0x10ab72[_0x10b70c++],_0x44c13f=_0x59ba71[_0x49aca3>>>0x18]^_0x457ea8[_0x468fbd>>>0x10&0xff]^_0xd8c350[_0x2bd21f>>>0x8&0xff]^_0x4849fe[_0x12c5a3&0xff]^_0x10ab72[_0x10b70c++],_0x2a39be=_0x59ba71[_0x468fbd>>>0x18]^_0x457ea8[_0x2bd21f>>>0x10&0xff]^_0xd8c350[_0x12c5a3>>>0x8&0xff]^_0x4849fe[_0x49aca3&0xff]^_0x10ab72[_0x10b70c++];_0x2bd21f=_0xdfc650,_0x12c5a3=_0x52da80,_0x49aca3=_0x44c13f,_0x468fbd=_0x2a39be;}var _0xdfc650=(_0x40618c[_0x2bd21f>>>0x18]<<0x18|_0x40618c[_0x12c5a3>>>0x10&0xff]<<0x10|_0x40618c[_0x49aca3>>>0x8&0xff]<<0x8|_0x40618c[_0x468fbd&0xff])^_0x10ab72[_0x10b70c++],_0x52da80=(_0x40618c[_0x12c5a3>>>0x18]<<0x18|_0x40618c[_0x49aca3>>>0x10&0xff]<<0x10|_0x40618c[_0x468fbd>>>0x8&0xff]<<0x8|_0x40618c[_0x2bd21f&0xff])^_0x10ab72[_0x10b70c++],_0x44c13f=(_0x40618c[_0x49aca3>>>0x18]<<0x18|_0x40618c[_0x468fbd>>>0x10&0xff]<<0x10|_0x40618c[_0x2bd21f>>>0x8&0xff]<<0x8|_0x40618c[_0x12c5a3&0xff])^_0x10ab72[_0x10b70c++],_0x2a39be=(_0x40618c[_0x468fbd>>>0x18]<<0x18|_0x40618c[_0x2bd21f>>>0x10&0xff]<<0x10|_0x40618c[_0x12c5a3>>>0x8&0xff]<<0x8|_0x40618c[_0x49aca3&0xff])^_0x10ab72[_0x10b70c++];_0xfba743[_0x48dfa9]=_0xdfc650,_0xfba743[_0x48dfa9+0x1]=_0x52da80,_0xfba743[_0x48dfa9+0x2]=_0x44c13f,_0xfba743[_0x48dfa9+0x3]=_0x2a39be;},'keySize':0x100/0x20});_0x43db7f[_0x21c538(0x353)]=_0xc654fa[_0x21c538(0x344)](_0x5f5646);}()),_0x2284d4['AES'];}));}(Ve)),Ve[_0x3a29b7(0x197)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0x23ae93(0x197)],ii;function Cn(){var _0x457246=_0x23ae93;return ii||(ii=0x1,function(_0x3ed747,_0x2dd813){(function(_0x1a7210,_0x26fdb4){_0x3ed747['exports']=_0x26fdb4(ie());}(Nn,function(_0x10fd56){var _0x32873d=_0x97e6;return _0x10fd56[_0x32873d(0x285)]['Utf8'];}));}(Je)),Je[_0x457246(0x197)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0x23ae93(0x197)],si;function Un(){return si||(si=0x1,function(_0x1f17e5,_0x4d324b){(function(_0x36b20a,_0x25df65){var _0xd1799e=_0x97e6;_0x1f17e5[_0xd1799e(0x197)]=_0x25df65(ie());}(yn,function(_0x966fa7){var _0x4a9f84=_0x97e6;return(function(){var _0x3e0982=_0x97e6;if(typeof ArrayBuffer=='function'){var _0x1316a9=_0x966fa7,_0x5c0cfb=_0x1316a9[_0x3e0982(0x2fa)],_0x5668cf=_0x5c0cfb[_0x3e0982(0x36a)],_0x472f2c=_0x5668cf[_0x3e0982(0x2c1)],_0x5c237f=_0x5668cf[_0x3e0982(0x2c1)]=function(_0x17c726){var _0x18953b=_0x3e0982;if(_0x17c726 instanceof ArrayBuffer&&(_0x17c726=new Uint8Array(_0x17c726)),(_0x17c726 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x17c726 instanceof Uint8ClampedArray||_0x17c726 instanceof Int16Array||_0x17c726 instanceof Uint16Array||_0x17c726 instanceof Int32Array||_0x17c726 instanceof Uint32Array||_0x17c726 instanceof Float32Array||_0x17c726 instanceof Float64Array)&&(_0x17c726=new Uint8Array(_0x17c726['buffer'],_0x17c726['byteOffset'],_0x17c726[_0x18953b(0x334)])),_0x17c726 instanceof Uint8Array){for(var _0x59b2c8=_0x17c726[_0x18953b(0x334)],_0x991297=[],_0x9e9d62=0x0;_0x9e9d62<_0x59b2c8;_0x9e9d62++)_0x991297[_0x9e9d62>>>0x2]|=_0x17c726[_0x9e9d62]<<0x18-_0x9e9d62%0x4*0x8;_0x472f2c[_0x18953b(0x179)](this,_0x991297,_0x59b2c8);}else _0x472f2c[_0x18953b(0x293)](this,arguments);};_0x5c237f[_0x3e0982(0x2f3)]=_0x5668cf;}}()),_0x966fa7[_0x4a9f84(0x2fa)][_0x4a9f84(0x36a)];}));}(Ze)),Ze['exports'];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},Ln=Qe[_0x23ae93(0x197)],ni;function Mn(){var _0x127fb3=_0x23ae93;return ni||(ni=0x1,function(_0x33c683,_0x1f3169){(function(_0x331e8b,_0x5abe68,_0x2080af){var _0x2a1900=_0x97e6;_0x33c683[_0x2a1900(0x197)]=_0x5abe68(ie(),bi());}(Ln,function(_0x56d8bd){var _0x44ac1f=_0x97e6;return _0x56d8bd['pad'][_0x44ac1f(0x26f)]={'pad':function(){},'unpad':function(){}},_0x56d8bd[_0x44ac1f(0x405)][_0x44ac1f(0x26f)];}));}(Qe)),Qe[_0x127fb3(0x197)];}var wn=Mn();const xn=$e(wn);function kn(_0x497309,_0xf61953){var _0x15f566=_0x23ae93;const _0x2fab08=_0xf61953-_0x497309['length']%_0xf61953,_0x415cf7=String[_0x15f566(0x2a2)](_0x2fab08)[_0x15f566(0x3fd)](_0x2fab08);return _0x497309+_0x415cf7;}function $n(_0x5af326,_0x4a1bdb){var _0x123fce=_0x23ae93;const _0x59e11a=Pn[_0x123fce(0x1e4)](0x10),_0x1d9a10=kn(_0x5af326,0x10),_0x5ed210=On[_0x123fce(0x375)](Dn['parse'](_0x1d9a10),ti[_0x123fce(0x326)](_0x4a1bdb),{'iv':_0x59e11a,'padding':xn});return _0x59e11a[_0x123fce(0x2b9)](_0x5ed210['ciphertext'])['toString'](ti);}function Hn(){var _0x25454c=_0x23ae93;const _0x18931c=_0x27cee3()[_0x25454c(0x2c7)];if(_0x18931c){const _0x391144={'time':Math[_0x25454c(0x2d3)](Date['now']()/0x3e8),'domain':location[_0x25454c(0x11a)]};return $n(JSON[_0x25454c(0x41e)](_0x391144),_0x18931c);}}var Bn=Object[_0x23ae93(0x2f0)],Fn=(_0x194ba8,_0x599f4f,_0xfb46ff,_0x5a00e)=>{var _0x3961c1=_0x23ae93;for(var _0x5298f2=_0x5a00e>0x1?void 0x0:_0x5a00e?Bn(_0x599f4f,_0xfb46ff):_0x599f4f,_0x25a6de=_0x194ba8[_0x3961c1(0x2ca)]-0x1,_0x3d5a1d;_0x25a6de>=0x0;_0x25a6de--)(_0x3d5a1d=_0x194ba8[_0x25a6de])&&(_0x5298f2=_0x3d5a1d(_0x5298f2)||_0x5298f2);return _0x5298f2;},jn=(_0x28b0fc,_0x493b01)=>(_0xccf766,_0x2150f7)=>_0x493b01(_0xccf766,_0x2150f7,_0x28b0fc);let at=class{constructor(_0x281f86){var _0x48d23d=_0x23ae93;this['_httpService']=_0x281f86,this[_0x48d23d(0x18c)]();}[_0x23ae93(0x18c)](){var _0x3ac9b7=_0x23ae93;this['_httpService'][_0x3ac9b7(0x40c)]({'interceptor':(_0x2ba1b6,_0x291fc3)=>{var _0x207526=_0x3ac9b7;const _0x504644=_0x2ba1b6[_0x207526(0x3c8)],_0x55a94e=Hn();return _0x55a94e&&_0x504644[_0x207526(0x37a)](_0x207526(0x248),_0x55a94e),_0x291fc3(_0x2ba1b6);}});}};at=Fn([jn(0x0,_0x35e039(_0x2cd902))],at);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x395aac,_0x4cc443,_0x27a523,_0x391a44)=>{var _0x20b971=_0x23ae93;for(var _0x91259f=_0x391a44>0x1?void 0x0:_0x391a44?Vn(_0x4cc443,_0x27a523):_0x4cc443,_0x2a7ed8=_0x395aac[_0x20b971(0x2ca)]-0x1,_0x299509;_0x2a7ed8>=0x0;_0x2a7ed8--)(_0x299509=_0x395aac[_0x2a7ed8])&&(_0x91259f=_0x299509(_0x91259f)||_0x91259f);return _0x91259f;},vt=(_0x40e839,_0x31d1a0)=>(_0xb2c042,_0x255ee9)=>_0x31d1a0(_0xb2c042,_0x255ee9,_0x40e839);let Ot=class extends _0x2d880a{constructor(_0x1f1823,_0x12da20,_0x503c8b){var _0x1d3019=_0x23ae93;super(),D(this,_0x1d3019(0x114),new _0x2d0dd9(null)),D(this,_0x1d3019(0x2bf),this[_0x1d3019(0x114)]['asObservable']()),(this['_logService']=_0x1f1823,this[_0x1d3019(0x187)]=_0x12da20,this['_localCacheService']=_0x503c8b);}async[_0x23ae93(0x236)](_0x438ad7,_0x346e20,_0x4d4314){var _0x32ec0e=_0x23ae93;this['_unitInfo$'][_0x32ec0e(0x418)]({'unitId':_0x438ad7,'type':_0x346e20});let _0x2090f7=null;switch(_0x346e20){case Q[_0x32ec0e(0x182)]:{_0x2090f7=await this['_snapshotService'][_0x32ec0e(0x203)](_0x438ad7,_0x4d4314);break;}case Q['UNIVER_DOC']:{_0x2090f7=await this[_0x32ec0e(0x187)][_0x32ec0e(0x2ed)](_0x438ad7,_0x4d4314);break;}default:{this[_0x32ec0e(0x413)][_0x32ec0e(0x14f)](_0x32ec0e(0x1a5),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x2090f7;}async['loadUnit'](_0x543c4e,_0x1cf573,_0x5f40c3){var _0x248d04=_0x23ae93,_0x546af3;this[_0x248d04(0x114)][_0x248d04(0x418)]({'unitId':_0x543c4e,'type':_0x1cf573,'subUnitId':_0x5f40c3});let _0x43636e=0x0;const _0x59516e=await((_0x546af3=this['_localCacheService'])==null?void 0x0:_0x546af3['loadOfflineData'](_0x543c4e));return _0x59516e&&(_0x59516e[_0x248d04(0x406)]||_0x59516e[_0x248d04(0x331)][_0x248d04(0x2ca)]!==0x0)&&(_0x43636e=_0x59516e['rev']),_0x43636e===0x0&&this[_0x248d04(0x413)][_0x248d04(0x2d7)](_0x248d04(0x1a5),_0x248d04(0x306)),this[_0x248d04(0x236)](_0x543c4e,_0x1cf573,_0x43636e);}};Ot=Gn([vt(0x0,_0x1e4e23),vt(0x1,_0x35e039(_0x2baed4)),vt(0x2,_0x3a44cd(X))],Ot);var Wn=Object[_0x23ae93(0x2f0)],Yn=(_0x973cfe,_0x4dc889,_0x439f0b,_0x1f8613)=>{var _0x51226e=_0x23ae93;for(var _0x7e6db8=_0x1f8613>0x1?void 0x0:_0x1f8613?Wn(_0x4dc889,_0x439f0b):_0x4dc889,_0x2ffe3a=_0x973cfe[_0x51226e(0x2ca)]-0x1,_0x12cdeb;_0x2ffe3a>=0x0;_0x2ffe3a--)(_0x12cdeb=_0x973cfe[_0x2ffe3a])&&(_0x7e6db8=_0x12cdeb(_0x7e6db8)||_0x7e6db8);return _0x7e6db8;},Et=(_0x2afa7e,_0xf84ec2)=>(_0x45dc7e,_0x471ac3)=>_0xf84ec2(_0x45dc7e,_0x471ac3,_0x2afa7e);const Kn=[_0x23ae93(0x233),_0x23ae93(0x180),_0x23ae93(0x11f),_0x23ae93(0x207),_0x23ae93(0x2b8)],qn=0x5*0x400*0x400,zn=_0x23ae93(0x30b),Xn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x12fc99,_0x875bf9,_0xd87ee0){var _0x155176=_0x23ae93;D(this,'_waitCount',0x0),D(this,_0x155176(0x407),new _0x4b6979()),D(this,_0x155176(0x200),this[_0x155176(0x407)]),D(this,_0x155176(0x22c),new Map()),(this[_0x155176(0x2dc)]=_0x12fc99,this['_configService']=_0x875bf9,this[_0x155176(0x3a3)]=_0xd87ee0);}[_0x23ae93(0x15e)](_0x3ef33e){var _0x34779b=_0x23ae93;this[_0x34779b(0x226)]=_0x3ef33e,this['_change$'][_0x34779b(0x418)](_0x3ef33e);}['getImageSourceCache'](_0x194f81,_0x312130){var _0x4512bf=_0x23ae93;if(_0x312130===_0x1ec5d6['BASE64']){const _0x373651=new Image();return _0x373651[_0x4512bf(0x29c)]=_0x194f81,_0x373651;}return this[_0x4512bf(0x22c)][_0x4512bf(0x2a6)](_0x194f81);}['addImageSourceCache'](_0x5a3278,_0x121fa8,_0x255b8b){var _0x35c3ff=_0x23ae93;_0x121fa8===_0x1ec5d6[_0x35c3ff(0x25f)]||_0x255b8b==null||this[_0x35c3ff(0x22c)]['set'](_0x5a3278,_0x255b8b);}async[_0x23ae93(0x376)](_0x296b0b){var _0xfcb03d=_0x23ae93;try{const _0x2ddb2c=this[_0xfcb03d(0x323)](this['_getSignURL'](),''+_0x296b0b),_0x7891a4=(await this['_httpService'][_0xfcb03d(0x2a6)](_0x2ddb2c))[_0xfcb03d(0x235)];if(_0x7891a4[_0xfcb03d(0x14f)]&&_0x7891a4[_0xfcb03d(0x14f)][_0xfcb03d(0x35b)]===vi['OK']){const _0x158972=_0x588563(_0x7891a4[_0xfcb03d(0x2b7)],this['_getDownloadEndpointURL']());return Promise['resolve'](_0x158972);}return Promise[_0xfcb03d(0x221)](_0x7891a4[_0xfcb03d(0x14f)]);}catch(_0x3072eb){return Promise['reject'](_0x3072eb);}}async['saveImage'](_0xc3144){var _0x28da6b=_0x23ae93;let _0x150387='';if(!Kn[_0x28da6b(0x2c2)](_0xc3144['type']))return this[_0x28da6b(0x1d0)](),Promise[_0x28da6b(0x221)](new Error(_0x411100['ERROR_IMAGE_TYPE']));if(_0xc3144[_0x28da6b(0x284)]>qn)return this[_0x28da6b(0x1d0)](),Promise[_0x28da6b(0x221)](new Error(_0x411100[_0x28da6b(0x32f)]));try{const _0x1b64f0=new FormData();_0x1b64f0[_0x28da6b(0x299)](_0x28da6b(0x275),_0xc3144);const _0x519c65=this[_0x28da6b(0x3a3)]['getFocusedUnit'](),_0x2a594e=_0x519c65==null?void 0x0:_0x519c65[_0x28da6b(0x150)]();if(!_0x2a594e)throw new Error(_0x28da6b(0x13e));const _0x3c315b=this[_0x28da6b(0x31a)]()+_0x28da6b(0x38d)+_0xc3144[_0x28da6b(0x284)][_0x28da6b(0x1ea)]()+_0x28da6b(0x193)+Ei['UnitEmbedded']+_0x28da6b(0x209)+encodeURIComponent(_0x2a594e),_0x5262ee={'body':_0x1b64f0},_0x4d9703=(await this[_0x28da6b(0x2dc)]['post'](_0x3c315b,_0x5262ee))['body'];if(typeof _0x4d9703[_0x28da6b(0x132)]!=_0x28da6b(0x241))return this[_0x28da6b(0x1d0)](),Promise[_0x28da6b(0x221)](new Error(_0x411100['ERROR_IMAGE']));_0x150387=_0x4d9703[_0x28da6b(0x132)];}catch{return this[_0x28da6b(0x1d0)](),Promise['reject'](new Error(_0x411100[_0x28da6b(0x392)]));}return new Promise((_0x42b216,_0xe7e9a4)=>{var _0x4d1ea8=_0x28da6b;const _0x22e290=new FileReader();_0x22e290[_0x4d1ea8(0x350)](_0xc3144),_0x22e290[_0x4d1ea8(0x1ca)]=_0x2e5578=>{var _0x4e175f=_0x4d1ea8,_0x1eed8b;const _0x4102aa=(_0x1eed8b=_0x2e5578[_0x4e175f(0x157)])==null?void 0x0:_0x1eed8b[_0x4e175f(0x1b9)];if(_0x4102aa==null){this[_0x4e175f(0x1d0)](),_0xe7e9a4(new Error(_0x411100[_0x4e175f(0x392)]));return;}const _0x319dc5=_0x306cc7(0x6);_0x42b216({'imageId':_0x319dc5,'imageSourceType':_0x1ec5d6[_0x4e175f(0x230)],'source':_0x150387,'base64Cache':_0x4102aa,'status':_0x411100['SUCCUSS']}),this[_0x4e175f(0x1d0)]();};});}[_0x23ae93(0x31a)](){var _0x440f50=_0x23ae93,_0x18807d;const _0x4a3be4=this[_0x440f50(0x22f)][_0x440f50(0x380)](K);return(_0x18807d=_0x4a3be4==null?void 0x0:_0x4a3be4[_0x440f50(0x1df)])!=null?_0x18807d:zn;}[_0x23ae93(0x1d1)](){var _0x4b6b00;const _0x160d45=this['_configService']['getConfig'](K);return(_0x4b6b00=_0x160d45==null?void 0x0:_0x160d45['signUrlServerUrl'])!=null?_0x4b6b00:Xn;}[_0x23ae93(0x34f)](){var _0x2a880c=_0x23ae93,_0x45d832;const _0x66db12=this[_0x2a880c(0x22f)][_0x2a880c(0x380)](K);return(_0x45d832=_0x66db12==null?void 0x0:_0x66db12['downloadEndpointUrl'])!=null?_0x45d832:location['origin'];}[_0x23ae93(0x323)](_0x4767a5,_0x23bb90){var _0x536b91=_0x23ae93;return _0x4767a5[_0x536b91(0x300)](_0x536b91(0x255),_0x23bb90);}[_0x23ae93(0x1d0)](){var _0x509fa5=_0x23ae93;this[_0x509fa5(0x226)]-=0x1,this[_0x509fa5(0x407)][_0x509fa5(0x418)](this['_waitCount']);}};Rt=Yn([Et(0x0,_0x35e039(_0x2cd902)),Et(0x1,_0x31c935),Et(0x2,_0x35e039(_0x1437e0))],Rt);var Jn=Object[_0x23ae93(0x2f0)],Zn=(_0x26c166,_0x2f77bd,_0x440287,_0x1b0a21)=>{var _0x493e26=_0x23ae93;for(var _0x4f8709=_0x1b0a21>0x1?void 0x0:_0x1b0a21?Jn(_0x2f77bd,_0x440287):_0x2f77bd,_0x2e7593=_0x26c166[_0x493e26(0x2ca)]-0x1,_0x5286b4;_0x2e7593>=0x0;_0x2e7593--)(_0x5286b4=_0x26c166[_0x2e7593])&&(_0x4f8709=_0x5286b4(_0x4f8709)||_0x4f8709);return _0x4f8709;},ri=(_0x27486e,_0x26210e)=>(_0x266098,_0x30173b)=>_0x26210e(_0x266098,_0x30173b,_0x27486e);const Qn=_0x23ae93(0x3b5);let Nt=class{constructor(_0x26e598,_0x223226){var _0x11d689=_0x23ae93;this[_0x11d689(0x22f)]=_0x26e598,this[_0x11d689(0x16d)]=_0x223226;}[_0x23ae93(0x250)](){var _0x448ce9=_0x23ae93,_0x34e035;const _0x2a6147=this[_0x448ce9(0x22f)][_0x448ce9(0x380)](K);return(_0x34e035=_0x2a6147==null?void 0x0:_0x2a6147[_0x448ce9(0x186)])!=null?_0x34e035:Qn;}async['list'](_0x49b472){var _0x2b2128=_0x23ae93;const _0x550831=this['_getAPIPrefixPath']()+_0x2b2128(0x1de);return{'list':[{'title':_0x2b2128(0x12a),'mentions':(await this[_0x2b2128(0x16d)]['get'](_0x550831,{'params':{'objectID':_0x49b472[_0x2b2128(0x2e4)],'unitID':_0x49b472[_0x2b2128(0x2e4)]}}))['body'][_0x2b2128(0x3c9)][_0x2b2128(0x15a)](_0x13bc0f=>({'objectId':_0x13bc0f['id'],'name':_0x13bc0f['subject'][_0x2b2128(0x3c0)],'metadata':{'icon':_0x13bc0f[_0x2b2128(0x384)][_0x2b2128(0x1fc)]},'label':_0x13bc0f[_0x2b2128(0x384)]['name'],'objectType':_0x5adf46[_0x2b2128(0x2f9)]})),'metadata':{},'type':_0x5adf46[_0x2b2128(0x2f9)]}]};}};Nt=Zn([ri(0x0,_0x35e039(_0x31c935)),ri(0x1,_0x35e039(_0x2cd902))],Nt);var er=Object[_0x23ae93(0x2f0)],tr=(_0x5b42f8,_0x481e2b,_0x3d7e59,_0x4da00d)=>{var _0x2da1c1=_0x23ae93;for(var _0x3e7534=_0x4da00d>0x1?void 0x0:_0x4da00d?er(_0x481e2b,_0x3d7e59):_0x481e2b,_0x105d17=_0x5b42f8[_0x2da1c1(0x2ca)]-0x1,_0x3a9ca8;_0x105d17>=0x0;_0x105d17--)(_0x3a9ca8=_0x5b42f8[_0x105d17])&&(_0x3e7534=_0x3a9ca8(_0x3e7534)||_0x3e7534);return _0x3e7534;},Ue=(_0x1db6da,_0x4f2406)=>(_0x2deaaf,_0x4408dc)=>_0x4f2406(_0x2deaaf,_0x4408dc,_0x1db6da);let ot=class extends _0x2d880a{constructor(_0x37796b,_0x403e43,_0x36e8d7,_0x4568e2,_0x1b086b){var _0xa9e21d=_0x23ae93;super(),this['_injector']=_0x37796b,this[_0xa9e21d(0x3a3)]=_0x403e43,this[_0xa9e21d(0x183)]=_0x36e8d7,this[_0xa9e21d(0x111)]=_0x4568e2,this['_collaborationUIEventService']=_0x1b086b,this[_0xa9e21d(0x1b0)](),this[_0xa9e21d(0x33a)]();}[_0x23ae93(0x33a)](){var _0x3a7f9b=_0x23ae93;const _0x3f340e=async _0x2b5542=>{var _0x2fc52b=_0x97e6;(await this[_0x2fc52b(0x111)][_0x2fc52b(0x161)](_0x2b5542))[_0x2fc52b(0x401)][_0x2fc52b(0x20a)](_0x6c24f(_0x364d91=>_0x364d91[_0x2fc52b(0x196)]===_0x2ea533[_0x2fc52b(0x116)]),_0x2439ea(this[_0x2fc52b(0x14c)]))['subscribe'](_0x32a719=>{var _0x4c8c44=_0x2fc52b;const _0x5d15a2=_0x32a719,{reason:_0x3e7b87}=_0x5d15a2[_0x4c8c44(0x10f)];this[_0x4c8c44(0x277)][_0x4c8c44(0x377)]({'id':re[_0x4c8c44(0x34d)],'data':_0x3e7b87}),this[_0x4c8c44(0x183)][_0x4c8c44(0x3c7)](new _0x33890d(_0x2b5542)['id'],!0x1),this[_0x4c8c44(0x111)][_0x4c8c44(0x109)](_0x2b5542);});};_0x1ec902(this['_univerInstanceService'][_0x3a7f9b(0x2c8)](_0x22b478[_0x3a7f9b(0x182)]),this['_univerInstanceService'][_0x3a7f9b(0x2c8)](_0x22b478[_0x3a7f9b(0x261)]))['pipe'](_0x1fc977(_0x26dcd3=>_0x26dcd3[_0x3a7f9b(0x150)]()),_0x6c24f(_0x5eb931=>!_0x21dbff(_0x5eb931)),_0x2439ea(this[_0x3a7f9b(0x14c)]))[_0x3a7f9b(0x1f7)](_0x37f9e9=>{_0x3f340e(_0x37f9e9);});}[_0x23ae93(0x1b0)](){var _0x444e15=_0x23ae93;const _0x396036=async _0x5116dd=>{var _0x28715b=_0x97e6;const _0x30517d=await this[_0x28715b(0x111)]['requireSession'](_0x5116dd),_0x3d194e=this[_0x28715b(0x345)][_0x28715b(0x2a6)](_0x5f2e8a);_0x30517d[_0x28715b(0x401)][_0x28715b(0x20a)](_0x6c24f(_0x3e1599=>_0x3e1599[_0x28715b(0x196)]===_0x2ea533[_0x28715b(0x38b)]),_0x2439ea(this[_0x28715b(0x14c)]))[_0x28715b(0x1f7)](_0x87d7a9=>{var _0x704f89=_0x28715b;const _0x2434ea=_0x87d7a9,{objectId:_0x5747f4}=_0x2434ea[_0x704f89(0x10f)];_0x5747f4===_0x5116dd?_0x3d194e['initWorkbookPermissionChange'](_0x5116dd):_0x3d194e[_0x704f89(0x33c)](_0x5116dd,_0x5747f4);});};_0x1ec902(this[_0x444e15(0x3a3)][_0x444e15(0x2c8)](_0x22b478[_0x444e15(0x182)]))['pipe'](_0x1fc977(_0x151ac8=>_0x151ac8[_0x444e15(0x150)]()),_0x6c24f(_0x3d0c75=>!_0x21dbff(_0x3d0c75)),_0x2439ea(this[_0x444e15(0x14c)]))['subscribe'](_0x3c7ec4=>{_0x396036(_0x3c7ec4);});}};ot=tr([Ue(0x0,_0x35e039(_0xefc734)),Ue(0x1,_0x1437e0),Ue(0x2,_0x556f22),Ue(0x3,_0x35e039(Le)),Ue(0x4,_0x35e039(ve))],ot);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x194b22,_0x3a8a49,_0x25a94d,_0x1f4088)=>{var _0x1af23c=_0x23ae93;for(var _0x2aba31=_0x1f4088>0x1?void 0x0:_0x1f4088?ir(_0x3a8a49,_0x25a94d):_0x3a8a49,_0x46dde2=_0x194b22[_0x1af23c(0x2ca)]-0x1,_0x2410d3;_0x46dde2>=0x0;_0x46dde2--)(_0x2410d3=_0x194b22[_0x46dde2])&&(_0x2aba31=_0x2410d3(_0x2aba31)||_0x2aba31);return _0x2aba31;},ai=(_0x231fe8,_0x36dffd)=>(_0x2550ac,_0x5cff1d)=>_0x36dffd(_0x2550ac,_0x5cff1d,_0x231fe8);let Ct=class{constructor(_0x2496ee,_0x563ac1){this['_configService']=_0x2496ee,this['_httpService']=_0x563ac1;}async['getUnitOnRev'](_0x8d4490,_0x1caa7f){var _0x1ce860=_0x23ae93,_0x39d2eb;const {unitID:_0x283d2f,type:_0x508c69,revision:_0x3e397b=0x0}=_0x1caa7f,_0x3ab667=this[_0x1ce860(0x3fe)]()+'/'+_0x508c69+'/unit/'+_0x283d2f+'/rev/'+_0x3e397b,_0xa367ba=(await this[_0x1ce860(0x2dc)][_0x1ce860(0x2a6)](_0x3ab667))[_0x1ce860(0x235)],_0x257402=(_0x39d2eb=_0xa367ba[_0x1ce860(0x155)])==null?void 0x0:_0x39d2eb[_0x1ce860(0x24a)];if(_0x257402){const _0x4e8bdd=_0x257402==null?void 0x0:_0x257402[_0x1ce860(0x190)],_0xe666ed=_0xfcc702['encode'](_0x1b8e9e(_0x4e8bdd));_0x257402[_0x1ce860(0x190)]=_0xe666ed,Object[_0x1ce860(0x24d)](_0x257402[_0x1ce860(0x2d4)])[_0x1ce860(0x10b)](([,_0x2a075f])=>{var _0x188698=_0x1ce860;const _0x3570cb=_0x2a075f[_0x188698(0x190)],_0x426560=_0xfcc702[_0x188698(0x31d)](_0x1b8e9e(_0x3570cb));_0x2a075f[_0x188698(0x190)]=_0x426560;});}return _0xa367ba;}async[_0x23ae93(0x1c4)](_0x126b11,_0x512701){var _0x1ea273=_0x23ae93;const {unitID:_0x36f3fe,type:_0x4e5757,blockID:_0x138da1}=_0x512701,_0x20a13d=this[_0x1ea273(0x3aa)]()+'/'+_0x4e5757+_0x1ea273(0x41a)+_0x36f3fe+_0x1ea273(0x37c)+_0x138da1;return(await this[_0x1ea273(0x2dc)][_0x1ea273(0x2a6)](_0x20a13d))[_0x1ea273(0x235)];}async[_0x23ae93(0x292)](_0x4a8c36,_0x2e5754){var _0x3d5239=_0x23ae93;const {unitID:_0x86c148,type:_0x1f4bdf,blockID:_0x1d4744}=_0x2e5754,_0x4e78c9=this['_getAPIPrefix']()+_0x3d5239(0x37c)+_0x1f4bdf+_0x3d5239(0x41a)+_0x86c148+'/block/'+_0x1d4744;return(await this['_httpService'][_0x3d5239(0x2a6)](_0x4e78c9))[_0x3d5239(0x235)];}async['fetchMissingChangesets'](_0x4c4a79,_0x3a2600){var _0x3a22d3=_0x23ae93;const {unitID:_0x1a35a0,type:_0xf92333,from:_0x34c6b3,to:_0x4db2d9}=_0x3a2600,_0x304086=this[_0x3a22d3(0x3aa)]()+'/'+_0xf92333+'/unit/'+_0x1a35a0+_0x3a22d3(0x3b7)+_0x34c6b3+_0x3a22d3(0x2ff)+_0x4db2d9;return(await this['_httpService'][_0x3a22d3(0x2a6)](_0x304086))[_0x3a22d3(0x235)];}[_0x23ae93(0x3fe)](){var _0x52a7d1=_0x23ae93,_0x4844cf;return(_0x4844cf=this[_0x52a7d1(0x22f)][_0x52a7d1(0x380)](ps))!=null?_0x4844cf:this[_0x52a7d1(0x3aa)]();}[_0x23ae93(0x3aa)](){var _0x5e267b=_0x23ae93,_0x1de6f8;const _0x2e5dbe=this[_0x5e267b(0x22f)][_0x5e267b(0x380)](K);return(_0x1de6f8=_0x2e5dbe==null?void 0x0:_0x2e5dbe[_0x5e267b(0x13f)])!=null?_0x1de6f8:Es;}async[_0x23ae93(0x3a2)](_0x55581f,_0x369455){var _0x15afdb=_0x23ae93;const _0x74eecc=_0x15afdb(0x3df)+_0x369455[_0x15afdb(0x1a9)]+'/unit/'+_0x369455[_0x15afdb(0x10c)]+_0x15afdb(0x37f);return(await this[_0x15afdb(0x2dc)][_0x15afdb(0x2a6)](_0x74eecc,{'params':{'resourceId':JSON['stringify'](_0x369455[_0x15afdb(0x20b)])}}))['body'];}['saveSnapshot'](){var _0x121b02=_0x23ae93;throw new Error(_0x121b02(0x15d));}[_0x23ae93(0x41d)](){var _0x32afe4=_0x23ae93;throw new Error(_0x32afe4(0x15d));}[_0x23ae93(0x137)](){var _0x359586=_0x23ae93;throw new Error(_0x359586(0x15d));}[_0x23ae93(0x154)](){var _0x1fcaa6=_0x23ae93;throw new Error(_0x1fcaa6(0x15d));}[_0x23ae93(0x2db)](){var _0x2d8cec=_0x23ae93;throw new Error(_0x2d8cec(0x15d));}[_0x23ae93(0x18a)](){var _0x3fa296=_0x23ae93;throw new Error(_0x3fa296(0x15d));}};Ct=sr([ai(0x0,_0x31c935),ai(0x1,_0x35e039(_0x2cd902))],Ct);var nr=Object[_0x23ae93(0x2f0)],rr=(_0x1a0edd,_0x173456,_0x56f793,_0x56a961)=>{for(var _0x2699a3=_0x56a961>0x1?void 0x0:_0x56a961?nr(_0x173456,_0x56f793):_0x173456,_0x3636ab=_0x1a0edd['length']-0x1,_0x371fba;_0x3636ab>=0x0;_0x3636ab--)(_0x371fba=_0x1a0edd[_0x3636ab])&&(_0x2699a3=_0x371fba(_0x2699a3)||_0x2699a3);return _0x2699a3;},Ae=(_0x31635f,_0x478c17)=>(_0x115373,_0x577dc2)=>_0x478c17(_0x115373,_0x577dc2,_0x31635f);let bt=class extends _0x33ad4f{constructor(_0x6b0f5e,_0x53294b,_0x49d62a,_0x35d1a2,_0x2af436){super(_0x6b0f5e,_0x53294b,_0x49d62a),this['_transformService']=_0x35d1a2,this['_logService']=_0x2af436;}[_0x23ae93(0x391)](_0x526896,_0x3cb4b2){var _0xcf4368=_0x23ae93;const _0x4b5b07=this[_0xcf4368(0x39b)](_0x526896);if(_0x4b5b07)try{const _0x3c9e7b=this[_0xcf4368(0x2de)](_0x4b5b07,_0x3cb4b2);this[_0xcf4368(0x257)](_0x526896,_0x3c9e7b);}catch(_0x5a6738){this[_0xcf4368(0x413)][_0xcf4368(0x14f)]('[CollaborationUndoRedoService]',_0x5a6738),this[_0xcf4368(0x1cd)](_0x526896);}const _0x45458e=this[_0xcf4368(0x3db)](_0x526896);if(_0x45458e)try{const _0x4c21c3=this[_0xcf4368(0x2de)](_0x45458e,_0x3cb4b2);this[_0xcf4368(0x28d)](_0x526896,_0x4c21c3);}catch(_0x413f1d){this['_logService'][_0xcf4368(0x14f)](_0x413f1d),this[_0xcf4368(0x36b)](_0x526896);}}[_0x23ae93(0x1cd)](_0x2dc541){var _0xe6804c=_0x23ae93;const _0x29450f=this[_0xe6804c(0x39b)](_0x2dc541);_0x29450f&&(_0x29450f['length']=0x0,this[_0xe6804c(0x30a)]());}[_0x23ae93(0x36b)](_0x252bd1){var _0x399d0f=_0x23ae93;const _0x8a3174=this[_0x399d0f(0x3db)](_0x252bd1);_0x8a3174&&(_0x8a3174['length']=0x0,this[_0x399d0f(0x30a)]());}[_0x23ae93(0x257)](_0x4a7d97,_0x5a3361){var _0x12582d=_0x23ae93;this[_0x12582d(0x14d)]['set'](_0x4a7d97,_0x5a3361),this[_0x12582d(0x30a)]();}[_0x23ae93(0x28d)](_0xfc6743,_0x1b9431){var _0x289253=_0x23ae93;this[_0x289253(0x34b)][_0x289253(0x37a)](_0xfc6743,_0x1b9431),this[_0x289253(0x30a)]();}[_0x23ae93(0x2de)](_0x12e7dc,_0x26b9ba){var _0x5af797=_0x23ae93;const _0xccb9f0=[];let _0x1afa63=_0x26b9ba,_0xce4d0d=_0x26b9ba;for(let _0x217b69=_0x12e7dc[_0x5af797(0x2ca)]-0x1;_0x217b69>=0x0;_0x217b69--){const {unitID:_0x4627ce,undoMutations:_0x1bc533,redoMutations:_0x32e98e}=_0x12e7dc[_0x217b69],_0x4ca493=this[_0x5af797(0x177)][_0x5af797(0x41c)](_0x1afa63,_0x1bc533),_0x503525=this[_0x5af797(0x177)]['transformMutationsWithChangeset'](_0xce4d0d,_0x32e98e);if(_0x581472(_0x4ca493)||_0x581472(_0x503525)){this[_0x5af797(0x413)][_0x5af797(0x14f)](_0x5af797(0x3a6),_0x5af797(0x2bb),_0x4ca493,_0x503525);break;}_0x1afa63=_0x4ca493[_0x5af797(0x21f)],_0xce4d0d=_0x503525[_0x5af797(0x21f)],_0xccb9f0['push']({'unitID':_0x4627ce,'undoMutations':_0x4ca493['m2Prime'],'redoMutations':_0x503525['m2Prime']});}return _0xccb9f0[_0x5af797(0x3b4)]();}};bt=rr([Ae(0x0,_0x1437e0),Ae(0x1,_0x146785),Ae(0x2,_0x2c2426),Ae(0x3,_0x3b1162),Ae(0x4,_0x1e4e23)],bt);var ar=Object['defineProperty'],or=Object[_0x23ae93(0x2f0)],cr=(_0x4fe3d7,_0xef1390,_0x18a724)=>_0xef1390 in _0x4fe3d7?ar(_0x4fe3d7,_0xef1390,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18a724}):_0x4fe3d7[_0xef1390]=_0x18a724,_r=(_0x27de63,_0x2f12ed,_0x50243c,_0xefda7b)=>{var _0x2e39b6=_0x23ae93;for(var _0xce4a3f=_0xefda7b>0x1?void 0x0:_0xefda7b?or(_0x2f12ed,_0x50243c):_0x2f12ed,_0x547ccc=_0x27de63[_0x2e39b6(0x2ca)]-0x1,_0x2de90e;_0x547ccc>=0x0;_0x547ccc--)(_0x2de90e=_0x27de63[_0x547ccc])&&(_0xce4a3f=_0x2de90e(_0xce4a3f)||_0xce4a3f);return _0xce4a3f;},pt=(_0x2d055e,_0x481edc)=>(_0x57db14,_0xc6328f)=>_0x481edc(_0x57db14,_0xc6328f,_0x2d055e),hr=(_0x168712,_0x6648ef,_0x502631)=>cr(_0x168712,_0x6648ef+'',_0x502631);const lr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x439d09{constructor(_0x2f8090,_0x6679c3,_0x1ba23b,_0x2752a7){var _0x311348=_0x23ae93;super(),D(this,_0x311348(0x34c)),(this[_0x311348(0x413)]=_0x6679c3,this[_0x311348(0x345)]=_0x1ba23b,this[_0x311348(0x22f)]=_0x2752a7);const {..._0x5f3e43}=_0x1bc8ae({},ks,_0x2f8090);if(!_0x5f3e43[_0x311348(0x10e)])throw new Error(_0x311348(0x30e));this[_0x311348(0x34c)]=_0x5f3e43,this['_configService'][_0x311348(0x146)](K,_0x5f3e43);}[_0x23ae93(0x122)](){var _0x242495=_0x23ae93;this['_registerDependencies'](),this[_0x242495(0x40b)]();}[_0x23ae93(0x35d)](){var _0x1093c1=_0x23ae93,_0x1c8a2,_0x51bb39;this[_0x1093c1(0x345)][_0x1093c1(0x2af)](_0x3d8dad)&&this[_0x1093c1(0x413)][_0x1093c1(0x14f)]('[UniverCollaborationClientPlugin]',_0x1093c1(0x242));const _0x3cc5ba=_0x40d90d([[_0x3d8dad,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x1093c1(0x34c)]['socketService']}],[_0xc11dd0,{'useClass':Ct}],[_0x33e92e,{'useClass':Tt}],[_0x3d890d,{'useClass':Rt}],[_0x4deb8d,{'useClass':Nt}],[nt],[gt]],(_0x1c8a2=this['_config'])==null?void 0x0:_0x1c8a2['override']);if(!((_0x51bb39=this[_0x1093c1(0x34c)])!=null&&_0x51bb39[_0x1093c1(0x145)])){const _0x176b5b=_0x3cc5ba['findIndex'](([_0x32213c])=>_0x32213c===_t);_0x176b5b!==-0x1&&_0x3cc5ba[_0x1093c1(0x1b5)](_0x176b5b,0x1);}_0xd201db(this['_injector'],_0x3cc5ba);}['_initDependencies'](){var _0x3f9ff9=_0x23ae93,_0x35d36c,_0x3bd296,_0x21a114;this[_0x3f9ff9(0x345)][_0x3f9ff9(0x2a6)](_0x2cd902)[_0x3f9ff9(0x40c)]({'priority':0x14,'interceptor':_0x51a95e({'maxParallel':0x6})}),(_0x35d36c=this[_0x3f9ff9(0x34c)])!=null&&_0x35d36c[_0x3f9ff9(0x272)]||(_0x3bd296=this['_injector'][_0x3f9ff9(0x2a6)](X,_0x4457a7['OPTIONAL']))==null||_0x3bd296['disableLocalCache'](),(_0x21a114=this[_0x3f9ff9(0x34c)])!=null&&_0x21a114[_0x3f9ff9(0x399)]&&_0x19992a(this[_0x3f9ff9(0x345)],[[rt]]),_0x19992a(this[_0x3f9ff9(0x345)],[[at],[nt],[ot]]);}};hr(Dt,'pluginName',lr),Dt=_r([_0xdd19be(_0x3c5d3c,_0x55fa50),pt(0x1,_0x1e4e23),pt(0x2,_0x35e039(_0xefc734)),pt(0x3,_0x31c935)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};
|
|
1
|
+
var _0x57ebea=_0x5a33;(function(_0x1705f1,_0x492c26){var _0x329125=_0x5a33,_0x5734e5=_0x1705f1();while(!![]){try{var _0x26e87b=parseInt(_0x329125(0x325))/0x1*(parseInt(_0x329125(0x1fe))/0x2)+-parseInt(_0x329125(0x194))/0x3*(-parseInt(_0x329125(0x2aa))/0x4)+-parseInt(_0x329125(0x1e7))/0x5+parseInt(_0x329125(0x27c))/0x6+-parseInt(_0x329125(0x441))/0x7+-parseInt(_0x329125(0x391))/0x8*(parseInt(_0x329125(0x459))/0x9)+-parseInt(_0x329125(0x2a8))/0xa;if(_0x26e87b===_0x492c26)break;else _0x5734e5['push'](_0x5734e5['shift']());}catch(_0x1fc7ef){_0x5734e5['push'](_0x5734e5['shift']());}}}(_0x3257,0xae49a));var Di=Object[_0x57ebea(0x1da)],yi=(_0x3b807d,_0x3bf95c,_0x5230af)=>_0x3bf95c in _0x3b807d?Di(_0x3b807d,_0x3bf95c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5230af}):_0x3b807d[_0x3bf95c]=_0x5230af,D=(_0x1b5691,_0x43ede8,_0x1c39d0)=>yi(_0x1b5691,typeof _0x43ede8!='symbol'?_0x43ede8+'':_0x43ede8,_0x1c39d0);import{CollaborationEvent as _0x427891,ITransformService as _0x411c6c,isTransformMutationsWithChangesetSuccess as _0x506829,mapDocumentTypeToUniverType as _0x2ce901,RevisionService as _0x1a89bb,isTransformChangesetsSuccess as _0x24a204,EmptyMutationInfo as _0xe9608b,CompressMutationService as _0x3ec077,parseProtocolChangeset as _0x4301fa,uuidv4 as _0x440c2a,ISnapshotServerService as _0x4d28e8,parseChangesetToProtocol as _0x24b872,SnapshotService as _0x555d9,textEncoder as _0x5c83c7,b64DecodeUnicode as _0x5a4419,isTransformMutationsWithChangesetFailure as _0x24fa3a,UniverCollaborationPlugin as _0x53d603}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xde0007,Inject as _0xd9eea8,UserManagerService as _0x181324,Disposable as _0x396fad,UniverInstanceType as _0x3d0f32,ILogService as _0x395070,IConfigService as _0x218bfc,Optional as _0x4761ab,RxDisposable as _0xdd442f,createIdentifier as _0x51449a,Injector as _0xa5b871,Tools as _0x18e049,Rectangle as _0xcaff84,ICommandService as _0x146b0f,JSONX as _0x1ae2a2,IUndoRedoService as _0x3d9a42,IPermissionService as _0x54b0d9,LocaleService as _0x28b880,sequenceExecute as _0x4f8491,toDisposable as _0x920f1a,CommandType as _0x7655d0,DisposableCollection as _0x81af46,Workbook as _0x148482,resolveWithBasePath as _0x45cc0e,generateRandomId as _0x36b9dc,MentionType as _0x504adb,isInternalEditorID as _0x30a55c,LocalUndoRedoService as _0x5c6473,IContextService as _0x8c9c87,DependentOn as _0x4bd723,Plugin as _0x24dda5,merge as _0x18d54f,mergeOverrideWithDependencies as _0x32dfe5,IAuthzIoService as _0x2df7f1,IMentionIOService as _0x17c0ae,registerDependencies as _0x2d70a4,Quantity as _0x4e93f3,touchDependencies as _0x3c0e82}from'@univerjs/core';import{RichTextEditingMutation as _0x3de14f}from'@univerjs/docs';import{SheetsSelectionsService as _0x328d66,SetSelectionsOperation as _0x10452a,InsertSheetMutation as _0x5b6dd7,WorkbookEditablePermission as _0x108f1a,SheetPermissionInitController as _0x47e6b5}from'@univerjs/sheets';import{Subject as _0x244912,merge as _0xad8c79,of as _0x1ac9d2,BehaviorSubject as _0x4e139f,takeUntil as _0x1eb31f,ReplaySubject as _0x652f3,take as _0x5cf086,map as _0x464432,shareReplay as _0x54609a,firstValueFrom as _0x274940,concatMap as _0xce9a5e}from'rxjs';import{ITelemetryService as _0x4e0327}from'@univerjs/telemetry';import{map as _0xd5a8e5,take as _0x28466d,filter as _0x39a069,delay as _0x2f97fd,takeUntil as _0x1a3065}from'rxjs/operators';import{HTTPService as _0x3e703e,ISocketService as _0x35aa36,MergeInterceptorFactory as _0x344d51,HTTPRequest as _0x5e21a9,UniverNetworkPlugin as _0x3d3879,ThresholdInterceptorFactory as _0x55867b}from'@univerjs/network';import{ImageSourceType as _0x274230,ImageUploadStatusType as _0x4481fb,IImageIoService as _0x33f95c}from'@univerjs/drawing';import{getGlobalObject as _0xb166fe}from'@univerjs-pro/license';const Es=_0x57ebea(0x25d),ps=_0x57ebea(0x367),ms=0x7d0,Is=_0x57ebea(0x262),Or='/universer-api/user/session-ticket',Ss=_0x57ebea(0x2d7),gs=0x7530,di=_0x57ebea(0x311),fi=0x4e20,Ts=0x4e20,Os=_0x57ebea(0x29b),Rs=0x3,Rr=_0x57ebea(0x41c),Nr=0x3e8,Ns=_0x57ebea(0x3fd),Cs=_0x57ebea(0x21f),Cr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',br=_0x57ebea(0x373);var vi=(_0x2b8996=>(_0x2b8996[_0x2b8996[_0x57ebea(0x3f8)]=0x0]=_0x57ebea(0x3f8),_0x2b8996[_0x2b8996['OK']=0x1]='OK',_0x2b8996[_0x2b8996[_0x57ebea(0x3b9)]=0x2]=_0x57ebea(0x3b9),_0x2b8996[_0x2b8996[_0x57ebea(0x1b9)]=0x3]='PERMISSION_DENIED',_0x2b8996[_0x2b8996[_0x57ebea(0x281)]=0x4]=_0x57ebea(0x281),_0x2b8996[_0x2b8996[_0x57ebea(0x169)]=0x5]=_0x57ebea(0x169),_0x2b8996[_0x2b8996['ALREADY_EXISTS']=0x6]=_0x57ebea(0x2ec),_0x2b8996[_0x2b8996[_0x57ebea(0x425)]=0x7]=_0x57ebea(0x425),_0x2b8996[_0x2b8996['TOO_MANY_REQUESTS']=0x8]=_0x57ebea(0x334),_0x2b8996[_0x2b8996[_0x57ebea(0x1a8)]=0x9]=_0x57ebea(0x1a8),_0x2b8996[_0x2b8996['LOGIN_FAILED']=0xa]=_0x57ebea(0x1d4),_0x2b8996[_0x2b8996[_0x57ebea(0x14c)]=0xb]=_0x57ebea(0x14c),_0x2b8996[_0x2b8996[_0x57ebea(0x38f)]=0xc]=_0x57ebea(0x38f),_0x2b8996[_0x2b8996['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2b8996[_0x2b8996[_0x57ebea(0x376)]=0xe]=_0x57ebea(0x376),_0x2b8996[_0x2b8996[_0x57ebea(0x289)]=0xf]=_0x57ebea(0x289),_0x2b8996[_0x2b8996[_0x57ebea(0x426)]=0x10]=_0x57ebea(0x426),_0x2b8996[_0x2b8996[_0x57ebea(0x328)]=0x64]=_0x57ebea(0x328),_0x2b8996[_0x2b8996['ERROR_AGAIN']=0x65]=_0x57ebea(0x3b6),_0x2b8996[_0x2b8996[_0x57ebea(0x164)]=0xc9]='USER_NOT_FOUND',_0x2b8996[_0x2b8996['USER_IS_ANONYMOUS']=0xca]=_0x57ebea(0x303),_0x2b8996[_0x2b8996['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x57ebea(0x2e5),_0x2b8996[_0x2b8996[_0x57ebea(0x3c9)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2b8996[_0x2b8996['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2b8996[_0x2b8996[_0x57ebea(0x2b4)]=0x1773]=_0x57ebea(0x2b4),_0x2b8996[_0x2b8996[_0x57ebea(0x1de)]=0x1b59]=_0x57ebea(0x1de),_0x2b8996[_0x2b8996[_0x57ebea(0x237)]=0x1b5a]=_0x57ebea(0x237),_0x2b8996[_0x2b8996[_0x57ebea(0x160)]=0x1b5b]=_0x57ebea(0x160),_0x2b8996[_0x2b8996[_0x57ebea(0x316)]=0x1b5c]=_0x57ebea(0x316),_0x2b8996[_0x2b8996[_0x57ebea(0x158)]=0x1b5d]=_0x57ebea(0x158),_0x2b8996[_0x2b8996[_0x57ebea(0x2e7)]=0x1f41]=_0x57ebea(0x2e7),_0x2b8996[_0x2b8996[_0x57ebea(0x353)]=0x2329]=_0x57ebea(0x353),_0x2b8996[_0x2b8996[_0x57ebea(0x1e5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2b8996[_0x2b8996[_0x57ebea(0x269)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2b8996[_0x2b8996['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x57ebea(0x41e),_0x2b8996[_0x2b8996[_0x57ebea(0x2c7)]=0x232d]=_0x57ebea(0x2c7),_0x2b8996[_0x2b8996['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x57ebea(0x456),_0x2b8996[_0x2b8996[_0x57ebea(0x223)]=0x2712]=_0x57ebea(0x223),_0x2b8996[_0x2b8996['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2b8996[_0x2b8996[_0x57ebea(0x306)]=0x2714]=_0x57ebea(0x306),_0x2b8996[_0x2b8996[_0x57ebea(0x26e)]=0x271a]=_0x57ebea(0x26e),_0x2b8996[_0x2b8996[_0x57ebea(0x155)]=0x271b]=_0x57ebea(0x155),_0x2b8996[_0x2b8996[_0x57ebea(0x236)]=0x271c]=_0x57ebea(0x236),_0x2b8996[_0x2b8996[_0x57ebea(0x330)]=0x271d]=_0x57ebea(0x330),_0x2b8996[_0x2b8996[_0x57ebea(0x225)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2b8996[_0x2b8996[_0x57ebea(0x1ae)]=0x271f]=_0x57ebea(0x1ae),_0x2b8996[_0x2b8996[_0x57ebea(0x2a0)]=0x2720]=_0x57ebea(0x2a0),_0x2b8996[_0x2b8996[_0x57ebea(0x1bf)]=0x2af9]=_0x57ebea(0x1bf),_0x2b8996[_0x2b8996[_0x57ebea(0x1c4)]=0x2ee1]=_0x57ebea(0x1c4),_0x2b8996[_0x2b8996['INVALID_INVITE_CODE']=0x2ee2]=_0x57ebea(0x402),_0x2b8996[_0x2b8996[_0x57ebea(0x15b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2b8996[_0x2b8996[_0x57ebea(0x40c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2b8996[_0x2b8996[_0x57ebea(0x228)]=0x2ee5]=_0x57ebea(0x228),_0x2b8996[_0x2b8996[_0x57ebea(0x362)]=0x32c9]=_0x57ebea(0x362),_0x2b8996[_0x2b8996['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x57ebea(0x33e),_0x2b8996[_0x2b8996['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x57ebea(0x1aa),_0x2b8996[_0x2b8996['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x57ebea(0x419),_0x2b8996[_0x2b8996[_0x57ebea(0x2d0)]=0x36b2]=_0x57ebea(0x2d0),_0x2b8996[_0x2b8996[_0x57ebea(0x36e)]=0x36b3]=_0x57ebea(0x36e),_0x2b8996[_0x2b8996[_0x57ebea(0x349)]=0x36b4]=_0x57ebea(0x349),_0x2b8996[_0x2b8996[_0x57ebea(0x3ce)]=0x36b5]=_0x57ebea(0x3ce),_0x2b8996[_0x2b8996['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x57ebea(0x3e6),_0x2b8996[_0x2b8996[_0x57ebea(0x3a3)]=0x36b7]=_0x57ebea(0x3a3),_0x2b8996[_0x2b8996['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x57ebea(0x44a),_0x2b8996[_0x2b8996[_0x57ebea(0x2a4)]=0x3715]=_0x57ebea(0x2a4),_0x2b8996[_0x2b8996['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2b8996[_0x2b8996['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x57ebea(0x30a),_0x2b8996[_0x2b8996[_0x57ebea(0x258)]=0x37dd]=_0x57ebea(0x258),_0x2b8996[_0x2b8996[_0x57ebea(0x1fc)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2b8996[_0x2b8996[_0x57ebea(0x438)]=0x3a9a]=_0x57ebea(0x438),_0x2b8996[_0x2b8996[_0x57ebea(0x16b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x2b8996[_0x2b8996[_0x57ebea(0x407)]=0x3a9c]=_0x57ebea(0x407),_0x2b8996[_0x2b8996['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x57ebea(0x2b3),_0x2b8996[_0x2b8996['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x57ebea(0x15a),_0x2b8996[_0x2b8996[_0x57ebea(0x3f7)]=0x3a9f]=_0x57ebea(0x3f7),_0x2b8996[_0x2b8996['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x57ebea(0x248),_0x2b8996[_0x2b8996[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x2b8996))(vi||{}),Q=(_0x4d73c0=>(_0x4d73c0[_0x4d73c0['UNIVER_UNKNOWN']=0x0]=_0x57ebea(0x2c0),_0x4d73c0[_0x4d73c0[_0x57ebea(0x234)]=0x1]='UNIVER_DOC',_0x4d73c0[_0x4d73c0['UNIVER_SHEET']=0x2]=_0x57ebea(0x382),_0x4d73c0[_0x4d73c0[_0x57ebea(0x1b5)]=0x3]='UNIVER_SLIDE',_0x4d73c0[_0x4d73c0[_0x57ebea(0x25b)]=0x4]=_0x57ebea(0x25b),_0x4d73c0[_0x4d73c0['UNRECOGNIZED']=-0x1]=_0x57ebea(0x34f),_0x4d73c0))(Q||{}),j=(_0x34f736=>(_0x34f736[_0x34f736[_0x57ebea(0x20a)]=0x0]=_0x57ebea(0x20a),_0x34f736[_0x34f736[_0x57ebea(0x321)]=0x1]=_0x57ebea(0x321),_0x34f736[_0x34f736[_0x57ebea(0x212)]=0x2]=_0x57ebea(0x212),_0x34f736[_0x34f736[_0x57ebea(0x432)]=0x3]='LEAVE',_0x34f736[_0x34f736[_0x57ebea(0x3c5)]=0x4]='INGEST',_0x34f736[_0x34f736[_0x57ebea(0x27a)]=0x5]=_0x57ebea(0x27a),_0x34f736[_0x34f736['RECV']=0x6]=_0x57ebea(0x18f),_0x34f736[_0x34f736[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x34f736))(j||{}),Ee=(_0x7c94ea=>(_0x7c94ea[_0x7c94ea[_0x57ebea(0x156)]=0x0]='UNKNOWN_CODE',_0x7c94ea[_0x7c94ea['OK']=0x1]='OK',_0x7c94ea[_0x7c94ea[_0x57ebea(0x2da)]=0x2]=_0x57ebea(0x2da),_0x7c94ea[_0x7c94ea[_0x57ebea(0x339)]=0x3e9]=_0x57ebea(0x339),_0x7c94ea[_0x7c94ea[_0x57ebea(0x3e9)]=0x3ea]=_0x57ebea(0x3e9),_0x7c94ea[_0x7c94ea['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x7c94ea[_0x7c94ea['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x57ebea(0x22d),_0x7c94ea[_0x7c94ea[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x7c94ea))(Ee||{}),Ei=(_0x7149d=>(_0x7149d[_0x7149d[_0x57ebea(0x2fa)]=0x0]=_0x57ebea(0x2fa),_0x7149d[_0x7149d[_0x57ebea(0x36b)]=0x1]=_0x57ebea(0x36b),_0x7149d[_0x7149d['HttpExport']=0x2]=_0x57ebea(0x17b),_0x7149d[_0x7149d[_0x57ebea(0x315)]=0x3]=_0x57ebea(0x315),_0x7149d[_0x7149d['UnitSnapshot']=0x4]='UnitSnapshot',_0x7149d[_0x7149d[_0x57ebea(0x24a)]=0x5]=_0x57ebea(0x24a),_0x7149d[_0x7149d[_0x57ebea(0x38c)]=0x6]=_0x57ebea(0x38c),_0x7149d[_0x7149d[_0x57ebea(0x34f)]=-0x1]=_0x57ebea(0x34f),_0x7149d))(Ei||{});const bs=_0x57ebea(0x2a9);function Ds(_0x3053ed){var _0x145dc9=_0x57ebea;return JSON[_0x145dc9(0x3fb)](_0x3053ed)['length'];}var re=(_0x4febdc=>(_0x4febdc[_0x57ebea(0x1e1)]=_0x57ebea(0x1e1),_0x4febdc[_0x57ebea(0x1b9)]=_0x57ebea(0x1b9),_0x4febdc['CONFLICT']=_0x57ebea(0x39e),_0x4febdc[_0x57ebea(0x35c)]=_0x57ebea(0x35c),_0x4febdc[_0x57ebea(0x43e)]=_0x57ebea(0x43e),_0x4febdc[_0x57ebea(0x2db)]='SOCKET_FAILED_RETRY',_0x4febdc[_0x57ebea(0x2f1)]=_0x57ebea(0x2f1),_0x4febdc[_0x57ebea(0x153)]='SUBMIT_CHANGESET_TIMEOUT',_0x4febdc))(re||{});class ve{constructor(){var _0x53f781=_0x57ebea;D(this,_0x53f781(0x319),new _0x244912()),D(this,_0x53f781(0x3a4),this[_0x53f781(0x319)]['asObservable']());}[_0x57ebea(0x37b)](_0x23b616){var _0x520787=_0x57ebea;this[_0x520787(0x319)]['next'](_0x23b616);}}class pi{constructor(){var _0x176244=_0x57ebea;D(this,_0x176244(0x3b5),new _0x244912()),D(this,_0x176244(0x2ef),this[_0x176244(0x3b5)][_0x176244(0x2c5)]());}['onCommentUpdate'](_0x18397a){var _0x4f6a96=_0x57ebea;this[_0x4f6a96(0x3b5)][_0x4f6a96(0x372)](_0x18397a);}}var ys=Object[_0x57ebea(0x1a9)],Us=(_0xf5a6c5,_0x1bf9e2,_0x2cae7b,_0x48d5af)=>{for(var _0x1293fa=_0x48d5af>0x1?void 0x0:_0x48d5af?ys(_0x1bf9e2,_0x2cae7b):_0x1bf9e2,_0x171197=_0xf5a6c5['length']-0x1,_0x438270;_0x171197>=0x0;_0x171197--)(_0x438270=_0xf5a6c5[_0x171197])&&(_0x1293fa=_0x438270(_0x1293fa)||_0x1293fa);return _0x1293fa;},Ft=(_0x45bd0d,_0x43e532)=>(_0x2219cf,_0xf9098c)=>_0x43e532(_0x2219cf,_0xf9098c,_0x45bd0d);let Pe=class extends _0x396fad{constructor(_0x58d600,_0x771243){var _0x3d091e=_0x57ebea;super(),D(this,'_roomMembers',new Map()),D(this,_0x3d091e(0x3a6),new _0x244912()),(this['_univerInstanceService']=_0x58d600,this[_0x3d091e(0x3e1)]=_0x771243,this[_0x3d091e(0x24e)](_0xad8c79(this['_univerInstanceService'][_0x3d091e(0x152)](_0x3d0f32[_0x3d091e(0x382)])['pipe'](_0xd5a8e5(_0x562b2e=>_0x562b2e[_0x3d091e(0x1c3)]())),this[_0x3d091e(0x26b)][_0x3d091e(0x152)](_0x3d0f32[_0x3d091e(0x234)])[_0x3d091e(0x165)](_0xd5a8e5(_0x421ae2=>_0x421ae2[_0x3d091e(0x1c3)]())),this[_0x3d091e(0x26b)][_0x3d091e(0x152)](_0x3d0f32[_0x3d091e(0x1b5)])[_0x3d091e(0x165)](_0xd5a8e5(_0x190678=>_0x190678[_0x3d091e(0x1c3)]())))[_0x3d091e(0x3dc)](_0x22e84a=>this[_0x3d091e(0x38b)](_0x22e84a))));}[_0x57ebea(0x17c)](_0x55e7fb){var _0x12ef51=_0x57ebea;return this[_0x12ef51(0x1a0)]['has'](_0x55e7fb)?_0x1ac9d2(this[_0x12ef51(0x1a0)][_0x12ef51(0x19b)](_0x55e7fb)):this[_0x12ef51(0x3a6)][_0x12ef51(0x165)](_0xd5a8e5(_0x9920d1=>{var _0x3ac93e=_0x12ef51;if(_0x9920d1===_0x55e7fb)return this[_0x3ac93e(0x1a0)][_0x3ac93e(0x19b)](_0x9920d1);}));}[_0x57ebea(0x1cd)](_0xcb06ac){var _0x42526d=_0x57ebea;this['_userManagerService'][_0x42526d(0x1cd)](_0xcb06ac);}['getCurrentUser'](){var _0x391405=_0x57ebea;return this[_0x391405(0x3e1)][_0x391405(0x297)]();}[_0x57ebea(0x16e)](_0x4cc734,_0xa19a34){var _0x178e62=_0x57ebea;let _0x2b967f=this[_0x178e62(0x1a0)][_0x178e62(0x19b)](_0x4cc734);_0x2b967f||(_0x2b967f=new As(),this['_roomMembers'][_0x178e62(0x375)](_0x4cc734,_0x2b967f),this[_0x178e62(0x3a6)][_0x178e62(0x372)](_0x4cc734)),_0x2b967f[_0x178e62(0x16e)](_0xa19a34);}['removeMember'](_0xaa831e,_0x1dcb85){var _0x2da5e8=_0x57ebea;const _0x1ceb65=this[_0x2da5e8(0x1a0)][_0x2da5e8(0x19b)](_0xaa831e);_0x1ceb65&&_0x1ceb65['removeMember'](_0x1dcb85);}[_0x57ebea(0x1be)](_0xd1bc14){return this['_roomMembers']['get'](_0xd1bc14);}[_0x57ebea(0x295)](_0x137da3,_0x561568){var _0x254930=_0x57ebea;const _0x1cca4a=this['_roomMembers'][_0x254930(0x19b)](_0x137da3);if(_0x1cca4a)return _0x1cca4a['getMember'](_0x561568);}['_removeRoom'](_0x54acc8){var _0x16d5b6=_0x57ebea;const _0x3dbfcb=this['_roomMembers']['get'](_0x54acc8);_0x3dbfcb&&(_0x3dbfcb['dispose'](),this[_0x16d5b6(0x1a0)][_0x16d5b6(0x22e)](_0x54acc8));}[_0x57ebea(0x181)](){var _0x9689a7=_0x57ebea;this[_0x9689a7(0x1a0)][_0x9689a7(0x352)](_0x9f5f38=>_0x9f5f38[_0x9689a7(0x181)]()),this['_roomMembers'][_0x9689a7(0x2b7)](),this[_0x9689a7(0x3a6)]['complete']();}};Pe=Us([Ft(0x0,_0xde0007),Ft(0x1,_0xd9eea8(_0x181324))],Pe);class As extends _0x396fad{constructor(){var _0x2bcbff=_0x57ebea;super(...arguments),D(this,_0x2bcbff(0x33d),new Map()),D(this,'_members$',new _0x4e139f(this[_0x2bcbff(0x33d)])),D(this,'members$',this[_0x2bcbff(0x356)]['asObservable']());}[_0x57ebea(0x181)](){var _0x37a596=_0x57ebea;this[_0x37a596(0x33d)][_0x37a596(0x2b7)]();}[_0x57ebea(0x16e)](_0x41aad8){var _0x162527=_0x57ebea;this[_0x162527(0x33d)][_0x162527(0x375)](_0x41aad8['memberID'],_0x41aad8),this[_0x162527(0x41d)]();}[_0x57ebea(0x2d2)](_0x1cf52f){this['_members']['delete'](_0x1cf52f);}[_0x57ebea(0x295)](_0x21fb94){var _0x135b14=_0x57ebea;return this[_0x135b14(0x33d)][_0x135b14(0x19b)](_0x21fb94);}[_0x57ebea(0x1f0)](){var _0x443a75=_0x57ebea;return Array['from'](this[_0x443a75(0x33d)][_0x443a75(0x31b)]());}[_0x57ebea(0x41d)](){var _0x29e162=_0x57ebea;this[_0x29e162(0x356)]['next'](this[_0x29e162(0x33d)]);}}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0xed4ad6,_0x5c72c5,_0x9099b,_0x1586ef)=>{var _0x2fcfca=_0x57ebea;for(var _0x558193=_0x1586ef>0x1?void 0x0:_0x1586ef?Ps(_0x5c72c5,_0x9099b):_0x5c72c5,_0x399333=_0xed4ad6[_0x2fcfca(0x291)]-0x1,_0x1b56b2;_0x399333>=0x0;_0x399333--)(_0x1b56b2=_0xed4ad6[_0x399333])&&(_0x558193=_0x1b56b2(_0x558193)||_0x558193);return _0x558193;},Oe=(_0x36f9e1,_0x5a53ce)=>(_0x1bbe32,_0x47ba01)=>_0x5a53ce(_0x1bbe32,_0x47ba01,_0x36f9e1),me=(_0x18aee6=>(_0x18aee6[_0x18aee6[_0x57ebea(0x40a)]=0x0]=_0x57ebea(0x40a),_0x18aee6[_0x18aee6[_0x57ebea(0x31c)]=0x1]='JOINING',_0x18aee6[_0x18aee6[_0x57ebea(0x230)]=0x2]=_0x57ebea(0x230),_0x18aee6[_0x18aee6[_0x57ebea(0x2f7)]=0x3]='ONLINE',_0x18aee6))(me||{});const jt={[Ee['FAIL']]:_0x57ebea(0x3a9),[Ee[_0x57ebea(0x339)]]:_0x57ebea(0x337),[Ee[_0x57ebea(0x3e9)]]:_0x57ebea(0x242),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[Ee[_0x57ebea(0x22d)]]:'session.room-cnt-exceeds'};let mt=class extends _0xdd442f{constructor(_0x52e3ff,_0x1dc226,_0x4b8e80,_0x29a529,_0x1ed06b,_0x1ae81d,_0x5243dd,_0x5ee2aa){var _0x3da7f4=_0x57ebea;super(),D(this,'_sessionStatus$',new _0x4e139f(0x0)),D(this,_0x3da7f4(0x1e4),this[_0x3da7f4(0x2f8)]['asObservable']()),D(this,'_event$',new _0x244912()),D(this,_0x3da7f4(0x3a4),this['_event$']['asObservable']()),D(this,_0x3da7f4(0x235)),D(this,_0x3da7f4(0x430)),D(this,'_collaborationTimeoutTimer'),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x52e3ff,this[_0x3da7f4(0x3cc)]=_0x4b8e80,this['_configService']=_0x29a529,this[_0x3da7f4(0x2e6)]=_0x1ed06b,this['_commentService']=_0x1ae81d,this[_0x3da7f4(0x150)]=_0x5243dd,this[_0x3da7f4(0x226)]=_0x5ee2aa,this[_0x3da7f4(0x22a)]=!!this[_0x3da7f4(0x226)],_0x1dc226['pipe'](_0x1eb31f(this[_0x3da7f4(0x1c5)]))['subscribe'](_0x3dd079=>{var _0x29977a=_0x3da7f4,_0x26a78a;typeof _0x3dd079>'u'||(this[_0x29977a(0x235)]=_0x3dd079,_0x3dd079?(this[_0x29977a(0x19e)](_0x3dd079),this['_socketMessageSubscription']=_0x3dd079['message$'][_0x29977a(0x3dc)](_0x162c67=>{var _0xd331c6=_0x29977a;_0x162c67[_0xd331c6(0x41f)]===this[_0xd331c6(0x178)]&&this[_0xd331c6(0x2e8)](_0x162c67);})):(this[_0x29977a(0x318)](),this[_0x29977a(0x2f8)][_0x29977a(0x372)](0x2),(_0x26a78a=this['_socketMessageSubscription'])==null||_0x26a78a['unsubscribe'](),this[_0x29977a(0x430)]=null));}));}get[_0x57ebea(0x264)](){var _0x54cf26=_0x57ebea;return this[_0x54cf26(0x2f8)][_0x54cf26(0x254)]();}[_0x57ebea(0x387)](){var _0x57e34c=_0x57ebea,_0x485b76,_0x21df98;return(_0x21df98=(_0x485b76=this[_0x57e34c(0x235)])==null?void 0x0:_0x485b76[_0x57e34c(0x329)])!=null?_0x21df98:null;}['dispose'](){var _0x5c2ca9=_0x57ebea;super[_0x5c2ca9(0x181)](),this[_0x5c2ca9(0x1c5)][_0x5c2ca9(0x372)](),this['dispose$'][_0x5c2ca9(0x42a)]();}[_0x57ebea(0x29e)](){var _0x337d65=_0x57ebea,_0x1f746e,_0x12185c;this[_0x337d65(0x318)](),(_0x1f746e=this[_0x337d65(0x235)])==null||_0x1f746e[_0x337d65(0x2f5)]({'cmd':j[_0x337d65(0x432)],'data':{'roomID':this[_0x337d65(0x178)]}}),(_0x12185c=this['_socket'])==null||_0x12185c[_0x337d65(0x29e)](),this['_event$']['complete'](),this[_0x337d65(0x2f8)][_0x337d65(0x42a)](),this[_0x337d65(0x181)]();}[_0x57ebea(0x2e8)](_0x227bfd){var _0x168b42=_0x57ebea;_0x227bfd['cmd']===j['JOIN']?this[_0x168b42(0x243)](_0x227bfd):_0x227bfd['cmd']===j[_0x168b42(0x18f)]&&this[_0x168b42(0x14d)](_0x227bfd);}[_0x57ebea(0x19e)](_0x4cdd2e){var _0x5c22fa=_0x57ebea;this[_0x5c22fa(0x2f8)][_0x5c22fa(0x372)](0x1),_0x4cdd2e[_0x5c22fa(0x2f5)]({'cmd':j['JOIN'],'routeKey':this[_0x5c22fa(0x178)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5c22fa(0x178)]}]}});}['_onJoinRoomEvent'](_0x8276e5){var _0x267763=_0x57ebea,_0x1fe0f0;if(_0x8276e5[_0x267763(0x31a)]in jt){this[_0x267763(0x150)][_0x267763(0x37b)]({'id':re[_0x267763(0x43e)],'data':jt[_0x8276e5['code']]}),this[_0x267763(0x2f8)][_0x267763(0x372)](0x2);return;}this[_0x267763(0x2f8)]['next'](0x3);const _0x523491=(_0x1fe0f0=_0x8276e5[_0x267763(0x455)][_0x267763(0x18d)][this[_0x267763(0x178)]])==null?void 0x0:_0x1fe0f0[_0x267763(0x1eb)];_0x523491&&_0x523491[_0x267763(0x352)](_0x293547=>this['_memberService'][_0x267763(0x16e)](this[_0x267763(0x178)],_0x293547));}[_0x57ebea(0x14d)](_0x13bb9b){var _0x1f49a4=_0x57ebea;try{const _0x3170ff=_0x13bb9b[_0x1f49a4(0x455)];switch(_0x3170ff[_0x1f49a4(0x34b)]){case _0x427891[_0x1f49a4(0x453)]:this[_0x1f49a4(0x34e)](_0x3170ff),this['_event$'][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891[_0x1f49a4(0x208)]:this[_0x1f49a4(0x378)](_0x3170ff),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891[_0x1f49a4(0x16d)]:case _0x427891[_0x1f49a4(0x23e)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x1f49a4(0x3b8)](),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891[_0x1f49a4(0x140)]:this['_logService'][_0x1f49a4(0x379)](_0x1f49a4(0x3fa)+JSON[_0x1f49a4(0x3fb)](_0x3170ff)),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;case _0x427891['COMMENT_UPDATE']:this['_commentService'][_0x1f49a4(0x1e0)](_0x3170ff[_0x1f49a4(0x455)]),this[_0x1f49a4(0x319)][_0x1f49a4(0x372)](_0x3170ff);break;default:this['_event$'][_0x1f49a4(0x372)](_0x3170ff);}}catch(_0x9031fe){this[_0x1f49a4(0x3cc)]['error'](_0x9031fe,_0x13bb9b);}}['_onUserJoin'](_0x19f7aa){var _0x6ba092=_0x57ebea;this[_0x6ba092(0x2e6)][_0x6ba092(0x16e)](this[_0x6ba092(0x178)],_0x19f7aa['data']);}[_0x57ebea(0x378)](_0x44e104){var _0x35a960=_0x57ebea;this[_0x35a960(0x2e6)]['removeMember'](this[_0x35a960(0x178)],_0x44e104[_0x35a960(0x455)][_0x35a960(0x329)]);}async[_0x57ebea(0x2f5)](_0x5b4239,_0x5b55b7){var _0x37c09c=_0x57ebea;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x37c09c(0x273));try{_0x5b4239['eventID']===_0x427891[_0x37c09c(0x3f9)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x5b4239)),this[_0x37c09c(0x235)][_0x37c09c(0x2f5)]({'cmd':j[_0x37c09c(0x3c5)],'routeKey':_0x5b55b7,'routeType':'','data':_0x5b4239});}catch(_0x34436c){this[_0x37c09c(0x3cc)][_0x37c09c(0x379)](_0x34436c);}}[_0x57ebea(0x420)](){var _0x5ac159=_0x57ebea,_0x201019;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1c8217=_0x5a33;this[_0x1c8217(0x1e6)]=null,this[_0x1c8217(0x150)][_0x1c8217(0x37b)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x201019=this[_0x5ac159(0x25c)][_0x5ac159(0x1f4)](di))!=null?_0x201019:fi);}[_0x57ebea(0x3b8)](){var _0x2f94f7=_0x57ebea;this[_0x2f94f7(0x1e6)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x57ebea(0x2e4)](_0x2774ce){var _0x5bacf4=_0x57ebea;if(!this['_shouldReportTelemetry'])return;const {data:_0x5dc260}=_0x2774ce,{unitID:_0x269940,changeset:_0x3c24cf}=_0x5dc260,{mutations:_0x18f903,type:_0x1ca65f}=_0x3c24cf;this[_0x5bacf4(0x172)]={'unitId':_0x269940,'type':_0x1ca65f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ds(_0x18f903)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x2af9d1=_0x57ebea;if(this[_0x2af9d1(0x22a)]){if(!this[_0x2af9d1(0x172)]){this[_0x2af9d1(0x3cc)][_0x2af9d1(0x379)](_0x2af9d1(0x177),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2af9d1(0x172)][_0x2af9d1(0x322)]=performance['now'](),this[_0x2af9d1(0x172)][_0x2af9d1(0x183)]=this['_telemetryInfo'][_0x2af9d1(0x322)]-this['_telemetryInfo'][_0x2af9d1(0x17f)],this[_0x2af9d1(0x226)][_0x2af9d1(0x163)](bs,this['_telemetryInfo']),this[_0x2af9d1(0x172)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1a68e8=_0x57ebea;this[_0x1a68e8(0x172)]=null;}};mt=ws([Oe(0x2,_0x395070),Oe(0x3,_0x218bfc),Oe(0x4,_0xd9eea8(Pe)),Oe(0x5,_0xd9eea8(pi)),Oe(0x6,_0xd9eea8(ve)),Oe(0x7,_0x4761ab(_0x4e0327))],mt);const X=_0x51449a(_0x57ebea(0x167));function Dr(_0x9f1aff){var _0x2258f8=_0x57ebea;return _0x2258f8(0x18c)+_0x9f1aff;}var Ls=Object[_0x57ebea(0x1a9)],Ms=(_0x2c0fb2,_0x15acd6,_0x33f1da,_0x2e7c6c)=>{var _0x59da4c=_0x57ebea;for(var _0x553eb8=_0x2e7c6c>0x1?void 0x0:_0x2e7c6c?Ls(_0x15acd6,_0x33f1da):_0x15acd6,_0x1ee127=_0x2c0fb2[_0x59da4c(0x291)]-0x1,_0x1faa5d;_0x1ee127>=0x0;_0x1ee127--)(_0x1faa5d=_0x2c0fb2[_0x1ee127])&&(_0x553eb8=_0x1faa5d(_0x553eb8)||_0x553eb8);return _0x553eb8;},ut=(_0xe96710,_0x37fe49)=>(_0x5a4940,_0x4ec0a7)=>_0x37fe49(_0x5a4940,_0x4ec0a7,_0xe96710);function xs(_0xe06b75){var _0x3dd094=_0x57ebea;const {unitID:_0x180675,mutations:_0x310cb5}=_0xe06b75;return{'unitId':_0x180675,'subUnitId':_0x310cb5[_0x3dd094(0x291)]>0x0?_0x310cb5[0x0][_0x3dd094(0x437)]['subUnitId']:null};}let it=class{constructor(_0x20a15b,_0x46ccbf,_0x7d8c7a){var _0xc9c57d=_0x57ebea;this[_0xc9c57d(0x30c)]=_0x20a15b,this[_0xc9c57d(0x13b)]=_0x46ccbf,this[_0xc9c57d(0x305)]=_0x7d8c7a;}['transformSelections'](_0x5e1f16){var _0x1522d3=_0x57ebea,_0x329009,_0x28e0da,_0x34b590,_0x18788f;const _0x5333f3=this[_0x1522d3(0x30c)]['get'](_0x328d66),{unitId:_0x3d421b,subUnitId:_0xf01ad5}=xs(_0x5e1f16),_0x1c2289=_0x5333f3==null?void 0x0:_0x5333f3[_0x1522d3(0x1d6)](_0x3d421b)[_0x1522d3(0x1d8)](),_0x1c46bc=(_0x28e0da=(_0x329009=this[_0x1522d3(0x305)][_0x1522d3(0x1cf)](_0x3d421b))==null?void 0x0:_0x329009[_0x1522d3(0x33a)]())==null?void 0x0:_0x28e0da[_0x1522d3(0x3fe)]();if(_0x1c2289[_0x1522d3(0x291)]===0x0||!_0x3d421b||!_0xf01ad5)return;const _0x5f14a0=[{'id':_0x10452a['id'],'params':{'unitId':_0x3d421b,'subUnitId':_0x1c46bc,'selections':_0x18e049['deepClone'](_0x1c2289)}}],_0x1672f9=this[_0x1522d3(0x13b)]['transformMutationsWithChangeset'](_0x5e1f16,_0x5f14a0);if(!_0x506829(_0x1672f9))throw _0x1672f9[_0x1522d3(0x379)];const _0x529839=(_0x18788f=(_0x34b590=_0x1672f9[_0x1522d3(0x162)][0x0])==null?void 0x0:_0x34b590[_0x1522d3(0x437)])==null?void 0x0:_0x18788f[_0x1522d3(0x2a2)];if(Array[_0x1522d3(0x1c1)](_0x529839)&&_0x529839[_0x1522d3(0x291)]){if(_0x529839[_0x1522d3(0x291)]===_0x5f14a0[0x0][_0x1522d3(0x437)]['selections'][_0x1522d3(0x291)]&&_0x529839[_0x1522d3(0x284)]((_0xccf66f,_0x1b1043)=>_0xcaff84['equals'](_0xccf66f[_0x1522d3(0x3d0)],_0x5f14a0[0x0][_0x1522d3(0x437)][_0x1522d3(0x2a2)][_0x1b1043][_0x1522d3(0x3d0)])))return;this[_0x1522d3(0x30c)][_0x1522d3(0x19b)](_0x146b0f)[_0x1522d3(0x384)](_0x10452a['id'],{'unitId':_0x3d421b,'subUnitId':_0x1c46bc,'selections':_0x529839});}}};it=Ms([ut(0x0,_0xd9eea8(_0xa5b871)),ut(0x1,_0x411c6c),ut(0x2,_0xde0007)],it);const _t=_0x51449a(_0x57ebea(0x21c));var mi=(_0x294dfd=>(_0x294dfd[_0x294dfd['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x57ebea(0x312),_0x294dfd[_0x294dfd[_0x57ebea(0x1f8)]=0x1]=_0x57ebea(0x1f8),_0x294dfd))(mi||{});const K=_0x57ebea(0x3bd),ks={};function $s(_0x1e98fa){var _0x1aafa9=_0x57ebea,_0x5596b2;return!!((_0x5596b2=_0x1e98fa['params'])!=null&&_0x5596b2[_0x1aafa9(0x25e)]);}const Hs=new Set([_0x5b6dd7['id']]);function Vt(_0xc44402,_0x749a44,_0x26ec5e,_0x296cf5,_0x1064e8){var _0x2d64f7=_0x57ebea,_0x51c319,_0x271c19,_0x16a796,_0x3a0443;const _0x2e3293=[];for(const _0x5d28c4 of _0xc44402){if(Hs[_0x2d64f7(0x280)](_0x5d28c4['id'])){if(_0x2e3293[_0x2d64f7(0x291)]>0x0)break;_0x2e3293[_0x2d64f7(0x37e)](_0x5d28c4);break;}if($s(_0x5d28c4)){if(_0x2e3293[_0x2d64f7(0x291)]>0x0)break;_0x2e3293[_0x2d64f7(0x37e)](_0x5d28c4);break;}_0x2e3293['push'](_0x5d28c4);}const _0x5972a5=(_0x271c19=(_0x51c319=_0x1064e8[_0x2d64f7(0x297)]())==null?void 0x0:_0x51c319[_0x2d64f7(0x2a6)])!=null?_0x271c19:'unknown',_0x8bafc3=(_0x3a0443=(_0x16a796=_0x1064e8[_0x2d64f7(0x297)]())==null?void 0x0:_0x16a796[_0x2d64f7(0x329)])!=null?_0x3a0443:_0x2d64f7(0x3b3);return{'changeset':{'unitID':_0x749a44,'type':_0x2ce901(_0x26ec5e[_0x2d64f7(0x2cf)](_0x749a44)),'baseRev':_0x296cf5[_0x2d64f7(0x16a)](_0x749a44),'revision':0x0,'userID':_0x5972a5,'memberID':_0x8bafc3,'mutations':_0x2e3293},'pendingMutations':_0xc44402['slice'](_0x2e3293[_0x2d64f7(0x291)])};}function Bs(_0x3795cd,_0x4d1d54,_0x2a03ce,_0xcf87e7,_0x363176){var _0x1ba01d=_0x57ebea,_0x3c3b1d,_0x4ca21c,_0x5d4377,_0x2ca734;const _0x2426ef=[_0x3795cd[_0x1ba01d(0x365)]((_0x42d038,_0x3920c6)=>{var _0x6b44d=_0x1ba01d,_0x3bb913;const {id:_0x1f9702}=_0x42d038,{id:_0x2af72b,type:_0x393d80}=_0x3920c6,_0x20d31d=(_0x3bb913=_0x42d038[_0x6b44d(0x437)])!=null?_0x3bb913:{'actions':null},_0x331195=_0x3920c6[_0x6b44d(0x437)];if(_0x1f9702&&_0x1f9702!==_0x2af72b)throw new Error(_0x6b44d(0x161)+_0x1f9702+_0x6b44d(0x21e)+_0x2af72b+'.');return{..._0x42d038,'id':_0x2af72b,'type':_0x393d80,'params':{'unitId':_0x331195['unitId'],'textRanges':_0x331195['textRanges'],'actions':_0x1ae2a2[_0x6b44d(0x147)](_0x20d31d[_0x6b44d(0x1d0)],_0x331195[_0x6b44d(0x1d0)])}};},{})],_0x29e991=(_0x4ca21c=(_0x3c3b1d=_0x363176[_0x1ba01d(0x297)]())==null?void 0x0:_0x3c3b1d[_0x1ba01d(0x2a6)])!=null?_0x4ca21c:'unknown',_0x492820=(_0x2ca734=(_0x5d4377=_0x363176[_0x1ba01d(0x297)]())==null?void 0x0:_0x5d4377[_0x1ba01d(0x329)])!=null?_0x2ca734:_0x1ba01d(0x3b3);return{'changeset':{'unitID':_0x4d1d54,'type':_0x2ce901(_0x2a03ce[_0x1ba01d(0x2cf)](_0x4d1d54)),'baseRev':_0xcf87e7[_0x1ba01d(0x16a)](_0x4d1d54),'revision':0x0,'userID':_0x29e991,'memberID':_0x492820,'mutations':_0x2426ef},'pendingMutations':[]};}function Ii(_0x1c065b,_0x646914){var _0x408764=_0x57ebea;const _0x4e60b5=new _0x652f3(0x1);return setTimeout(()=>_0x4e60b5['next'](_0x646914),_0x1c065b),_0x4e60b5[_0x408764(0x2c5)]()[_0x408764(0x165)](_0x5cf086(0x1));}var Fs=Object[_0x57ebea(0x1a9)],Se=(_0x4406a4,_0x3e5c37,_0x5b5655,_0x3be926)=>{var _0x32699d=_0x57ebea;for(var _0x54b77a=_0x3be926>0x1?void 0x0:_0x3be926?Fs(_0x3e5c37,_0x5b5655):_0x3e5c37,_0x256b3=_0x4406a4[_0x32699d(0x291)]-0x1,_0x1b53d4;_0x256b3>=0x0;_0x256b3--)(_0x1b53d4=_0x4406a4[_0x256b3])&&(_0x54b77a=_0x1b53d4(_0x54b77a)||_0x54b77a);return _0x54b77a;},w=(_0x1e2f1b,_0x1a28f2)=>(_0xc34abd,_0x260dba)=>_0x1a28f2(_0xc34abd,_0x260dba,_0x1e2f1b),Si=(_0xfeb109=>(_0xfeb109['NOT_COLLAB']='not_collab',_0xfeb109['SYNCED']=_0x57ebea(0x3c1),_0xfeb109[_0x57ebea(0x170)]='pending',_0xfeb109[_0x57ebea(0x18e)]=_0x57ebea(0x371),_0xfeb109[_0x57ebea(0x3c8)]=_0x57ebea(0x27f),_0xfeb109[_0x57ebea(0x19f)]='fetch_missing',_0xfeb109[_0x57ebea(0x39e)]='conflict',_0xfeb109[_0x57ebea(0x230)]=_0x57ebea(0x244),_0xfeb109))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x552f3c,_0xca3459,_0x1f9f7d,_0x5c9a5c,_0x291b65,_0x30c17d,_0x270bb0,_0x2eb0d5,_0x17de40){var _0x27e4d6=_0x57ebea;D(this,_0x27e4d6(0x277),null),D(this,_0x27e4d6(0x1dd),[]),(this[_0x27e4d6(0x1fb)]=_0x552f3c,this['type']=_0xca3459,this[_0x27e4d6(0x1bc)]=_0x291b65,this['_commandService']=_0x30c17d,this[_0x27e4d6(0x193)]=_0x270bb0,this[_0x27e4d6(0x428)]=_0x2eb0d5,this[_0x27e4d6(0x2d6)]=_0x17de40,this[_0x27e4d6(0x277)]=_0x1f9f7d,this[_0x27e4d6(0x1dd)]=_0x5c9a5c);}[_0x57ebea(0x207)](_0x830482){var _0x9cf156=_0x57ebea;const _0x1edefd=this[_0x9cf156(0x428)][_0x9cf156(0x16a)](this[_0x9cf156(0x1fb)]);return _0x830482['revision']>_0x1edefd+0x1?(this['_handler'][_0x9cf156(0x1e8)]({'from':_0x1edefd,'to':_0x830482[_0x9cf156(0x239)]-0x1}),!0x0):!0x1;}[_0x57ebea(0x24f)](_0x285276){var _0x5a139b=_0x57ebea;this[_0x5a139b(0x193)][_0x5a139b(0x346)](this['unitID'],_0x285276);}[_0x57ebea(0x37a)](_0x264e04){var _0x3fd0fc=_0x57ebea,_0x9b75f,_0x500b14;(_0x500b14=(_0x9b75f=this['_handler'])[_0x3fd0fc(0x3c6)])==null||_0x500b14[_0x3fd0fc(0x2b6)](_0x9b75f,_0x264e04);}[_0x57ebea(0x1ad)](_0x2b5cdc){var _0x41789b=_0x57ebea,_0x378b83,_0x4582bf;return(_0x4582bf=(_0x378b83=this[_0x41789b(0x1bc)])[_0x41789b(0x34c)])==null?void 0x0:_0x4582bf[_0x41789b(0x2b6)](_0x378b83,_0x2b5cdc);}[_0x57ebea(0x340)](_0x2c149a){var _0x3fac23=_0x57ebea,_0x4cc71e,_0x7b0104;return(_0x7b0104=(_0x4cc71e=this[_0x3fac23(0x1bc)])['onTransformState'])==null?void 0x0:_0x7b0104['call'](_0x4cc71e,_0x2c149a);}[_0x57ebea(0x300)](_0x597f13){var _0x545896=_0x57ebea,_0x67692d,_0x361fb2,_0x319dfd;return(_0x319dfd=(_0x361fb2=(_0x67692d=this[_0x545896(0x1bc)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x361fb2['call'](_0x67692d,_0x597f13))!=null?_0x319dfd:_0x597f13;}[_0x57ebea(0x396)](_0x28f1ed){var _0x45ff2b=_0x57ebea,_0x420238,_0x524813,_0x46a7a5;return(_0x46a7a5=(_0x524813=(_0x420238=this[_0x45ff2b(0x1bc)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x524813[_0x45ff2b(0x2b6)](_0x420238,_0x28f1ed))!=null?_0x46a7a5:_0x28f1ed;}['_syncEditingCollabCursor'](_0x2cbd4c){var _0x594519=_0x57ebea,_0x3241d6,_0x4e6a9b;if(this[_0x594519(0x286)]===Q[_0x594519(0x234)]){const {unitID:_0x2c0360,mutations:_0x3d5c8f,memberID:_0x4e5578}=_0x2cbd4c,_0x465c2e=_0x3d5c8f[_0x594519(0x291)]>0x0?_0x3d5c8f[0x0]['params'][_0x594519(0x293)]:[];Array[_0x594519(0x1c1)](_0x465c2e)&&_0x465c2e[_0x594519(0x291)]>0x0&&((_0x4e6a9b=(_0x3241d6=this['_handler'])[_0x594519(0x3d9)])==null||_0x4e6a9b[_0x594519(0x2b6)](_0x3241d6,{'unitID':_0x2c0360,'memberID':_0x4e5578,'textRanges':_0x465c2e}));}}['_updateLocalCache'](){var _0x16b262=_0x57ebea,_0x42c89e;(_0x42c89e=this['_localCacheService'])==null||_0x42c89e[_0x16b262(0x2c9)](this['unitID'],this[_0x16b262(0x286)],this[_0x16b262(0x277)],this[_0x16b262(0x1dd)]);}[_0x57ebea(0x1c2)](){var _0x46a8c1=_0x57ebea;return this[_0x46a8c1(0x428)][_0x46a8c1(0x16a)](this[_0x46a8c1(0x1fb)]);}['_incrementRevisionNumber'](){var _0x4745d9=_0x57ebea;this[_0x4745d9(0x428)]['incrementRevOfUnit'](this['unitID']);}[_0x57ebea(0x278)](_0x4ffb47){var _0x2a8e7c=_0x57ebea,_0x5329d7;let _0x5d0b2e=this[_0x2a8e7c(0x300)](_0x4ffb47);_0x5d0b2e=this[_0x2a8e7c(0x396)](_0x5d0b2e);const _0x48284c=_0x4f8491(_0x5d0b2e['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x48284c[_0x2a8e7c(0x3ac)])throw _0x48284c[_0x2a8e7c(0x379)]instanceof Error?_0x48284c[_0x2a8e7c(0x379)]:new Error((_0x5329d7=_0x48284c['error'])!=null?_0x5329d7:'[CollaborationState]:\x20apply\x20error!');this[_0x2a8e7c(0x1ad)](_0x5d0b2e),this[_0x2a8e7c(0x340)](_0x5d0b2e),this[_0x2a8e7c(0x24f)](_0x4ffb47),this[_0x2a8e7c(0x37a)](_0x5d0b2e),this['_syncEditingCollabCursor'](_0x5d0b2e),this[_0x2a8e7c(0x232)]();}}let be=class extends ge{constructor(_0x580b09,_0x445034,_0x5db96d,_0x3b3ea0,_0x983f52,_0x1bf3ef,_0x58ec67,_0x582abb,_0x6e1523,_0x3131e3){var _0x5c1c3a=_0x57ebea;super(_0x580b09,_0x445034,null,[],_0x5db96d,_0x58ec67,_0x1bf3ef,_0x3b3ea0,_0x3131e3),D(this,'status',_0x5c1c3a(0x3c1)),(this[_0x5c1c3a(0x30c)]=_0x983f52,this[_0x5c1c3a(0x3cc)]=_0x582abb,this['_transformService']=_0x6e1523,this[_0x5c1c3a(0x1ed)]=_0x3131e3);}['appendMutation'](_0x619201){var _0x4e0874=_0x57ebea;const _0x3999f5=this[_0x4e0874(0x30c)][_0x4e0874(0x220)](ae,this[_0x4e0874(0x1fb)],this['type'],[_0x619201],this[_0x4e0874(0x1bc)]);return _0x3999f5[_0x4e0874(0x381)](),_0x3999f5[_0x4e0874(0x3a5)](),_0x3999f5;}['onRemoteChangeset'](_0x29c77b){var _0x55c3ac=_0x57ebea;if(this[_0x55c3ac(0x207)](_0x29c77b))return this[_0x55c3ac(0x30c)]['createInstance'](ee,this[_0x55c3ac(0x1fb)],this['type'],null,[],null,[_0x29c77b],this[_0x55c3ac(0x1bc)]);try{const _0x1bfdd2=this[_0x55c3ac(0x13b)][_0x55c3ac(0x342)](_0x29c77b,[_0xe9608b]);if(_0x506829(_0x1bfdd2)){const {c1Prime:_0x20eeec}=_0x1bfdd2;return this[_0x55c3ac(0x278)](_0x20eeec),this;}throw _0x1bfdd2[_0x55c3ac(0x379)];}catch(_0x220414){return this[_0x55c3ac(0x3cc)][_0x55c3ac(0x379)](_0x220414),this['_onConflict'](!0x1);}}[_0x57ebea(0x279)](_0x576c7e){var _0x27bda2=_0x57ebea;return this[_0x27bda2(0x30c)][_0x27bda2(0x220)](ue,this[_0x27bda2(0x1fb)],this[_0x27bda2(0x286)],null,[],this[_0x27bda2(0x1bc)],_0x576c7e);}[_0x57ebea(0x146)](){var _0x58ae4a=_0x57ebea;throw new Error(_0x58ae4a(0x266));}[_0x57ebea(0x2af)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x901e01=_0x57ebea;return this['_injector'][_0x901e01(0x220)](de,this['unitID'],this[_0x901e01(0x286)],null,[],this[_0x901e01(0x1bc)]);}[_0x57ebea(0x252)](){return this;}[_0x57ebea(0x3b0)](){var _0x148515=_0x57ebea;throw new Error(_0x148515(0x1b2));}['fetchMiss'](){var _0x2c235a=_0x57ebea;const _0x3b15f7=this['_revisionService'][_0x2c235a(0x16a)](this[_0x2c235a(0x1fb)]);return this[_0x2c235a(0x1bc)][_0x2c235a(0x1e8)]({'from':_0x3b15f7,'to':0x0}),this[_0x2c235a(0x30c)][_0x2c235a(0x220)](ee,this[_0x2c235a(0x1fb)],this[_0x2c235a(0x286)],null,[],null,[],this[_0x2c235a(0x1bc)]);}};be=Se([w(0x3,_0xd9eea8(_0x1a89bb)),w(0x4,_0xd9eea8(_0xa5b871)),w(0x5,_0x3d9a42),w(0x6,_0x146b0f),w(0x7,_0x395070),w(0x8,_0x411c6c),w(0x9,_0x4761ab(X))],be);let ae=class extends ge{constructor(_0x1dc27e,_0x28f6c2,_0x2ccd4f,_0x5916ac,_0x51be79,_0x568525,_0x535681,_0x4c1ef3,_0x498996,_0x2b9fb1,_0x2c0bc4,_0x330367,_0x4a1601,_0x40f894){var _0x583edb=_0x57ebea;super(_0x1dc27e,_0x28f6c2,null,_0x2ccd4f,_0x5916ac,_0x498996,_0x4a1601,_0x568525,_0x40f894),D(this,'status',_0x583edb(0x2a1)),D(this,_0x583edb(0x28b),null),D(this,'_sendingTimer',null),(this[_0x583edb(0x30c)]=_0x51be79,this[_0x583edb(0x2e6)]=_0x535681,this[_0x583edb(0x3cc)]=_0x4c1ef3,this[_0x583edb(0x25c)]=_0x2b9fb1,this[_0x583edb(0x13b)]=_0x2c0bc4,this['_univerInstanceService']=_0x330367);}[_0x57ebea(0x2cc)](_0x24c1af){var _0x31c91c=_0x57ebea;return this['_pendingMutations'][_0x31c91c(0x37e)](_0x24c1af),this['_updateLocalCache'](),this;}[_0x57ebea(0x410)](_0x24cbd3){var _0x5aa1e7=_0x57ebea;if(this['_checkMissing'](_0x24cbd3))return this[_0x5aa1e7(0x435)](),this['_injector']['createInstance'](ee,this[_0x5aa1e7(0x1fb)],this[_0x5aa1e7(0x286)],null,this[_0x5aa1e7(0x1dd)],null,[_0x24cbd3],this[_0x5aa1e7(0x1bc)]);try{const _0x176327=this['_transformService'][_0x5aa1e7(0x342)](_0x24cbd3,this['_pendingMutations']);if(_0x506829(_0x176327)){const {c1Prime:_0x5431ee,m2Prime:_0x330c02}=_0x176327;this['_executeRemoteChangeset'](_0x5431ee);const _0x3e52dd=this[_0x5aa1e7(0x30c)]['createInstance'](ae,this[_0x5aa1e7(0x1fb)],this[_0x5aa1e7(0x286)],_0x330c02,this[_0x5aa1e7(0x1bc)]);this[_0x5aa1e7(0x435)]();const _0x2ac3d9=new Date()[_0x5aa1e7(0x21b)](),_0x4ed7f1=this[_0x5aa1e7(0x28b)]?Math[_0x5aa1e7(0x2cb)](this['_scheduleCompleteTimestamp']-_0x2ac3d9,0x0):this[_0x5aa1e7(0x3c0)]();return _0x3e52dd[_0x5aa1e7(0x381)](_0x4ed7f1),_0x3e52dd;}throw _0x176327['error'];}catch(_0x42161a){return this[_0x5aa1e7(0x3cc)][_0x5aa1e7(0x379)](_0x42161a),this[_0x5aa1e7(0x279)](!0x1);}}[_0x57ebea(0x146)](){var _0x22843a=_0x57ebea;throw new Error(_0x22843a(0x41a));}[_0x57ebea(0x2af)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x57ebea(0x423)](){return this;}[_0x57ebea(0x33f)](){var _0x139f32=_0x57ebea;return this[_0x139f32(0x435)](),this[_0x139f32(0x30c)]['createInstance'](de,this['unitID'],this['type'],null,this[_0x139f32(0x1dd)],this[_0x139f32(0x1bc)]);}['toggleOnline'](){return this;}['_schedule'](_0x19cae3){var _0x725c41=_0x57ebea;const _0x257b2e=_0x19cae3!=null?_0x19cae3:this[_0x725c41(0x3c0)]();this[_0x725c41(0x28b)]=new Date()[_0x725c41(0x21b)]()+_0x257b2e,this['_sendingTimer']=setTimeout(()=>{var _0x277703=_0x725c41;this[_0x277703(0x435)]();let _0xa02832=null;switch(this['type']){case Q[_0x277703(0x382)]:{_0xa02832=Vt(this[_0x277703(0x1dd)],this[_0x277703(0x1fb)],this[_0x277703(0x26b)],this[_0x277703(0x428)],this[_0x277703(0x2e6)]);break;}case Q[_0x277703(0x234)]:{this['_pendingMutations'][_0x277703(0x284)](_0x4be861=>_0x4be861['id']===_0x3de14f['id'])?_0xa02832=Bs(this[_0x277703(0x1dd)],this[_0x277703(0x1fb)],this[_0x277703(0x26b)],this[_0x277703(0x428)],this['_memberService']):_0xa02832=Vt(this['_pendingMutations'],this['unitID'],this[_0x277703(0x26b)],this['_revisionService'],this[_0x277703(0x2e6)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x277703(0x286)]+_0x277703(0x185));}const {changeset:_0x494ec6,pendingMutations:_0x4952fb}=_0xa02832;this[_0x277703(0x1bc)][_0x277703(0x187)](_0x494ec6);const _0x45d8a4=_0x4952fb[_0x277703(0x291)]?this[_0x277703(0x30c)][_0x277703(0x220)](oe,this[_0x277703(0x1fb)],this[_0x277703(0x286)],_0x494ec6,_0x4952fb,this[_0x277703(0x1bc)],void 0x0):this[_0x277703(0x30c)]['createInstance'](le,this[_0x277703(0x1fb)],this[_0x277703(0x286)],_0x494ec6,this[_0x277703(0x1bc)]);_0x45d8a4[_0x277703(0x3a5)](),this['_handler'][_0x277703(0x3d4)](this,_0x45d8a4);},_0x257b2e);}[_0x57ebea(0x3c0)](){var _0x33a29e=_0x57ebea,_0x5e80bb;const _0x40de43=this[_0x33a29e(0x25c)][_0x33a29e(0x1f4)](K);return(_0x5e80bb=_0x40de43==null?void 0x0:_0x40de43['sendChangesetTimeout'])!=null?_0x5e80bb:ms;}[_0x57ebea(0x3b0)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x57ebea(0x435)](){var _0x32eef3=_0x57ebea;this[_0x32eef3(0x35d)]!=null&&(clearTimeout(this[_0x32eef3(0x35d)]),this['_sendingTimer']=null);}[_0x57ebea(0x279)](_0x15e037){var _0x30b1ca=_0x57ebea;return this[_0x30b1ca(0x435)](),this[_0x30b1ca(0x30c)][_0x30b1ca(0x220)](ue,this['unitID'],this['type'],null,this[_0x30b1ca(0x1dd)],this['_handler'],_0x15e037);}};ae=Se([w(0x4,_0xd9eea8(_0xa5b871)),w(0x5,_0xd9eea8(_0x1a89bb)),w(0x6,_0xd9eea8(Pe)),w(0x7,_0x395070),w(0x8,_0x146b0f),w(0x9,_0x218bfc),w(0xa,_0x411c6c),w(0xb,_0xde0007),w(0xc,_0x3d9a42),w(0xd,_0x4761ab(X))],ae);function _0x5a33(_0x25f6a8,_0x4a7bc9){_0x25f6a8=_0x25f6a8-0x138;var _0x32571d=_0x3257();var _0x5a337d=_0x32571d[_0x25f6a8];return _0x5a337d;}let le=class extends ge{constructor(_0x3ce5a2,_0xdba675,_0x390c93,_0x17f7ab,_0x32fa1a,_0x155fb1,_0x165e19,_0x4aa4b4,_0x4ab8ea,_0x38dee2,_0x4dd23e){var _0x2cf999=_0x57ebea;super(_0x3ce5a2,_0xdba675,_0x390c93,[],_0x17f7ab,_0x165e19,_0x38dee2,_0x155fb1,_0x4dd23e),D(this,'status',_0x2cf999(0x371)),D(this,_0x2cf999(0x2f0),0x0),D(this,_0x2cf999(0x3aa),0x0),D(this,_0x2cf999(0x405)),D(this,_0x2cf999(0x355)),(this[_0x2cf999(0x30c)]=_0x32fa1a,this['_logService']=_0x4aa4b4,this[_0x2cf999(0x13b)]=_0x4ab8ea);}[_0x57ebea(0x2cc)](_0x2e0999){var _0x4edfce=_0x57ebea;this[_0x4edfce(0x435)]();const _0x4619c2=this[_0x4edfce(0x30c)]['createInstance'](oe,this[_0x4edfce(0x1fb)],this[_0x4edfce(0x286)],this['_awaitingChangeset'],[_0x2e0999],this[_0x4edfce(0x1bc)],this[_0x4edfce(0x405)]);return _0x4619c2['_updateLocalCache'](),_0x4619c2;}[_0x57ebea(0x410)](_0x3becb5){var _0x41f8ef=_0x57ebea;if(this[_0x41f8ef(0x207)](_0x3becb5))return this[_0x41f8ef(0x435)](),this['_injector'][_0x41f8ef(0x220)](ee,this[_0x41f8ef(0x1fb)],this['type'],this[_0x41f8ef(0x277)],[],null,[_0x3becb5],this[_0x41f8ef(0x1bc)]);try{const _0x53441d=this[_0x41f8ef(0x13b)][_0x41f8ef(0x182)]([_0x3becb5],[this[_0x41f8ef(0x277)]],!0x1);if(_0x24a204(_0x53441d)){const {c1Prime:_0x54c5fb,c2Prime:_0x386da5}=_0x53441d;this[_0x41f8ef(0x278)](_0x54c5fb[0x0]),_0x386da5[0x0][_0x41f8ef(0x2ce)]=this[_0x41f8ef(0x1c2)](),this['_clearScheduledTask']();const _0x440f9a=this[_0x41f8ef(0x30c)][_0x41f8ef(0x220)](le,this[_0x41f8ef(0x1fb)],this[_0x41f8ef(0x286)],_0x386da5[0x0],this[_0x41f8ef(0x1bc)]);return _0x440f9a['_updateLocalCache'](),_0x440f9a;}return this[_0x41f8ef(0x279)](!0x1);}catch(_0x9e56f5){return this['_logService']['error'](_0x9e56f5),this[_0x41f8ef(0x279)](!0x1);}}['onRemoteAck'](_0x1ecd50){var _0xc20dff=_0x57ebea;this[_0xc20dff(0x435)]();const _0x4cef9e=this[_0xc20dff(0x428)][_0xc20dff(0x16a)](this[_0xc20dff(0x1fb)]);if(_0x1ecd50[_0xc20dff(0x239)]<_0x4cef9e-0x1)return this;if(this[_0xc20dff(0x207)](_0x1ecd50))return this['_injector'][_0xc20dff(0x220)](ee,this[_0xc20dff(0x1fb)],this['type'],null,[],this[_0xc20dff(0x277)],[],this[_0xc20dff(0x1bc)]);this[_0xc20dff(0x232)]();const _0x46cd89=this[_0xc20dff(0x30c)][_0xc20dff(0x220)](be,this[_0xc20dff(0x1fb)],this[_0xc20dff(0x286)],this[_0xc20dff(0x1bc)]);return _0x46cd89['_updateLocalCache'](),_0x46cd89;}[_0x57ebea(0x2af)](_0x178124){var _0xd3dc4=_0x57ebea;return this[_0xd3dc4(0x279)](!!(_0x178124!=null&&_0x178124['isPermissionRej']));}[_0x57ebea(0x423)](_0x5bcdfa){var _0x5d88fc=_0x57ebea;return this[_0x5d88fc(0x3aa)]>Ti?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x5d88fc(0x2f0)],{'timeout':this[_0x5d88fc(0x2f0)],'reqId':_0x5bcdfa[_0x5d88fc(0x2bf)]}),this['_sender']=this['_resendTimer'][_0x5d88fc(0x3dc)](({reqId:_0x5bec44,timeout:_0x49701f})=>{var _0x42ab2c=_0x5d88fc;this[_0x42ab2c(0x166)](_0x5bec44,_0x49701f);}),this);}['toggleOffline'](){var _0xb3bce2=_0x57ebea;return this[_0xb3bce2(0x435)](),this[_0xb3bce2(0x30c)]['createInstance'](de,this[_0xb3bce2(0x1fb)],this[_0xb3bce2(0x286)],this[_0xb3bce2(0x277)],[],this[_0xb3bce2(0x1bc)]);}['toggleOnline'](){return this;}[_0x57ebea(0x3b0)](){var _0x1c61f4=_0x57ebea;this['_handler'][_0x1c61f4(0x187)](this['_awaitingChangeset']);}[_0x57ebea(0x279)](_0x1bd46c){var _0x158810=_0x57ebea;return this[_0x158810(0x435)](),this[_0x158810(0x30c)][_0x158810(0x220)](ue,this[_0x158810(0x1fb)],this[_0x158810(0x286)],this[_0x158810(0x277)],[],this[_0x158810(0x1bc)],_0x1bd46c);}[_0x57ebea(0x166)](_0x3bad53,_0xa16807){var _0x570047=_0x57ebea,_0x18858c;_0x3bad53===((_0x18858c=this[_0x570047(0x277)])==null?void 0x0:_0x18858c[_0x570047(0x2bf)])&&(this[_0x570047(0x3b0)](),this[_0x570047(0x2f0)]=_0xa16807===0x0?0x3e8:Math[_0x570047(0x3ef)](_0xa16807*0x2,gi),this[_0x570047(0x3aa)]+=this[_0x570047(0x2f0)]);}[_0x57ebea(0x435)](){var _0x4a9dbc=_0x57ebea,_0x173bc4;(_0x173bc4=this['_sender'])==null||_0x173bc4['unsubscribe'](),this['_resendTimeout']=0x0,this[_0x4a9dbc(0x3aa)]=0x0;}};le=Se([w(0x4,_0xd9eea8(_0xa5b871)),w(0x5,_0xd9eea8(_0x1a89bb)),w(0x6,_0x146b0f),w(0x7,_0x395070),w(0x8,_0x411c6c),w(0x9,_0x3d9a42),w(0xa,_0x4761ab(X))],le);let oe=class extends ge{constructor(_0x59ca47,_0x5a658f,_0x188d7f,_0x72335,_0x434cbb,_0x5b6164,_0x16b071,_0x191422,_0x2888d5,_0x5e9c10,_0x1937a9,_0x10bf6b,_0xbc5fb){var _0x813a6e=_0x57ebea;super(_0x59ca47,_0x5a658f,_0x188d7f,_0x72335,_0x434cbb,_0x2888d5,_0x10bf6b,_0x191422,_0xbc5fb),D(this,_0x813a6e(0x2be),'awaiting_with_pending'),D(this,_0x813a6e(0x2f0),0x0),D(this,_0x813a6e(0x3aa),0x0),D(this,_0x813a6e(0x405)),D(this,_0x813a6e(0x355)),(this[_0x813a6e(0x30c)]=_0x16b071,this[_0x813a6e(0x3cc)]=_0x5e9c10,this['_transformService']=_0x1937a9,this['localCacheService']=_0xbc5fb,_0x5b6164&&(this['_resendTimer']=_0x5b6164,this['_sender']=this[_0x813a6e(0x405)][_0x813a6e(0x3dc)](({reqId:_0x32a47d,timeout:_0x134ec4})=>{var _0x6fa1eb=_0x813a6e;this[_0x6fa1eb(0x166)](_0x32a47d,_0x134ec4);})));}['appendMutation'](_0x1536bd){var _0x354b56=_0x57ebea;return this[_0x354b56(0x1dd)][_0x354b56(0x37e)](_0x1536bd),this;}[_0x57ebea(0x410)](_0xfa621b){var _0x490811=_0x57ebea;if(this[_0x490811(0x207)](_0xfa621b))return this[_0x490811(0x435)](),this[_0x490811(0x30c)][_0x490811(0x220)](ee,this[_0x490811(0x1fb)],this[_0x490811(0x286)],this[_0x490811(0x277)],this[_0x490811(0x1dd)],null,[_0xfa621b],this['_handler']);try{const _0x2e1784=this['_transformService']['transformChangesets']([_0xfa621b],[this[_0x490811(0x277)]],!0x1);if(_0x24a204(_0x2e1784)){const {c1Prime:_0x5254a0,c2Prime:_0xa37daa}=_0x2e1784,_0x3d4ef5=this[_0x490811(0x13b)][_0x490811(0x342)](_0x5254a0[0x0],this[_0x490811(0x1dd)]);if(_0x506829(_0x3d4ef5)){const {c1Prime:_0x1d2529,m2Prime:_0x586bb7}=_0x3d4ef5;return this[_0x490811(0x278)](_0x1d2529),_0xa37daa[0x0][_0x490811(0x2ce)]=this[_0x490811(0x1c2)](),this[_0x490811(0x435)](),this[_0x490811(0x30c)][_0x490811(0x220)](oe,this['unitID'],this['type'],_0xa37daa[0x0],_0x586bb7,this[_0x490811(0x1bc)],void 0x0);}throw _0x3d4ef5[_0x490811(0x379)];}throw _0x2e1784[_0x490811(0x379)];}catch(_0x2394d9){return this[_0x490811(0x3cc)][_0x490811(0x379)](_0x2394d9),this[_0x490811(0x279)](!0x1);}}[_0x57ebea(0x146)](_0x1a6105){var _0x2d4bee=_0x57ebea;if(this[_0x2d4bee(0x435)](),this[_0x2d4bee(0x207)](_0x1a6105))return this[_0x2d4bee(0x30c)][_0x2d4bee(0x220)](ee,this[_0x2d4bee(0x1fb)],this['type'],null,this[_0x2d4bee(0x1dd)],this['_awaitingChangeset'],[],this[_0x2d4bee(0x1bc)]);this[_0x2d4bee(0x232)]();const _0xa173b6=this['_injector']['createInstance'](ae,this[_0x2d4bee(0x1fb)],this[_0x2d4bee(0x286)],this[_0x2d4bee(0x1dd)],this[_0x2d4bee(0x1bc)]);return _0xa173b6['_schedule'](),_0xa173b6[_0x2d4bee(0x3a5)](),_0xa173b6;}['onRemoteRej'](_0x1cc484){var _0x622cbc=_0x57ebea;return this[_0x622cbc(0x279)](!!(_0x1cc484!=null&&_0x1cc484[_0x622cbc(0x35a)]));}[_0x57ebea(0x423)](_0x4e8c1a){var _0x4d902c=_0x57ebea;return this[_0x4d902c(0x3aa)]>Ti?this[_0x4d902c(0x33f)]():(this['_resendTimer']=Ii(this[_0x4d902c(0x2f0)],{'timeout':this[_0x4d902c(0x2f0)],'reqId':_0x4e8c1a[_0x4d902c(0x2bf)]}),this[_0x4d902c(0x355)]=this[_0x4d902c(0x405)][_0x4d902c(0x3dc)](({reqId:_0x4a8f9b,timeout:_0x59c3b4})=>{this['_resendWithTimeout'](_0x4a8f9b,_0x59c3b4);}),this);}[_0x57ebea(0x33f)](){var _0x5e152e=_0x57ebea;return this[_0x5e152e(0x435)](),this['_injector'][_0x5e152e(0x220)](de,this[_0x5e152e(0x1fb)],this[_0x5e152e(0x286)],this[_0x5e152e(0x277)],this[_0x5e152e(0x1dd)],this['_handler']);}[_0x57ebea(0x252)](){return this;}['resend'](){var _0x12e5c=_0x57ebea;this[_0x12e5c(0x1bc)]['onSendChangeset'](this[_0x12e5c(0x277)]);}[_0x57ebea(0x279)](_0x4d7e0e){var _0x3cd8e5=_0x57ebea;return this['_clearScheduledTask'](),this[_0x3cd8e5(0x30c)][_0x3cd8e5(0x220)](ue,this[_0x3cd8e5(0x1fb)],this[_0x3cd8e5(0x286)],null,this['_pendingMutations'],this[_0x3cd8e5(0x1bc)],_0x4d7e0e);}[_0x57ebea(0x166)](_0x278b6b,_0x2b8e55){var _0xc72d6f=_0x57ebea,_0x1ac5a6;_0x278b6b===((_0x1ac5a6=this['_awaitingChangeset'])==null?void 0x0:_0x1ac5a6[_0xc72d6f(0x2bf)])&&(this[_0xc72d6f(0x3b0)](),this['_resendTimeout']=_0x2b8e55===0x0?0x3e8:Math[_0xc72d6f(0x3ef)](_0x2b8e55*0x2,gi),this[_0xc72d6f(0x3aa)]+=this[_0xc72d6f(0x2f0)]);}['_clearScheduledTask'](){var _0x254ddf=_0x57ebea,_0x498ae4;(_0x498ae4=this['_sender'])==null||_0x498ae4[_0x254ddf(0x171)](),this[_0x254ddf(0x2f0)]=0x0,this[_0x254ddf(0x3aa)]=0x0;}};oe=Se([w(0x6,_0xd9eea8(_0xa5b871)),w(0x7,_0xd9eea8(_0x1a89bb)),w(0x8,_0x146b0f),w(0x9,_0x395070),w(0xa,_0x411c6c),w(0xb,_0x3d9a42),w(0xc,_0x4761ab(X))],oe);let ue=class extends ge{constructor(_0x26f307,_0x2e847c,_0x5f38c7,_0x1236de,_0x4b791c,_0x2636ee=!0x1,_0x3b9112,_0x5cf177,_0x56ae40,_0xca9b73,_0x1f55fd,_0x10595c,_0x221058){var _0x1c8d4b=_0x57ebea;super(_0x26f307,_0x2e847c,_0x5f38c7,_0x1236de,_0x4b791c,_0x5cf177,_0x56ae40,_0xca9b73,_0x221058),D(this,'status',_0x1c8d4b(0x20e)),(this[_0x1c8d4b(0x3ab)]=_0x2636ee,this[_0x1c8d4b(0x446)]=_0x3b9112,this[_0x1c8d4b(0x145)]=_0x1f55fd,this[_0x1c8d4b(0x150)]=_0x10595c,this[_0x1c8d4b(0x1ed)]=_0x221058,this[_0x1c8d4b(0x314)](),this[_0x1c8d4b(0x271)](),this[_0x1c8d4b(0x452)]());}[_0x57ebea(0x2cc)](){return this;}[_0x57ebea(0x410)](){return this;}[_0x57ebea(0x146)](){return this;}[_0x57ebea(0x2af)](){return this;}[_0x57ebea(0x423)](){return this;}['toggleOffline'](){return this;}[_0x57ebea(0x252)](){return this;}[_0x57ebea(0x3b0)](){var _0xca6909=_0x57ebea;throw new Error(_0xca6909(0x2c8));}['_clearLocalCache'](){var _0x3ac65a=_0x57ebea,_0x16549b;(_0x16549b=this[_0x3ac65a(0x2d6)])==null||_0x16549b['updateOfflineData'](this['unitID'],this[_0x3ac65a(0x286)],null,[]);}[_0x57ebea(0x314)](){var _0x335344=_0x57ebea;this[_0x335344(0x3ab)]?this[_0x335344(0x150)]['emitEvent']({'id':re['PERMISSION_DENIED']}):this[_0x335344(0x150)][_0x335344(0x37b)]({'id':re[_0x335344(0x39e)]});}[_0x57ebea(0x452)](){var _0xf4e194=_0x57ebea;this[_0xf4e194(0x446)]['updatePermissionPoint'](new _0x108f1a(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0xd9eea8(_0x54b0d9)),w(0x7,_0x146b0f),w(0x8,_0x3d9a42),w(0x9,_0xd9eea8(_0x1a89bb)),w(0xa,_0xd9eea8(_0x28b880)),w(0xb,_0xd9eea8(ve)),w(0xc,_0x4761ab(X))],ue);let de=class extends ge{constructor(_0x26bac7,_0x689256,_0x38979a,_0x161393,_0x4211aa,_0xd74c12,_0x51efec,_0x8e4976,_0x3452bd,_0x2e3379){var _0x2c260a=_0x57ebea;super(_0x26bac7,_0x689256,_0x38979a,_0x161393,_0x4211aa,_0x8e4976,_0x3452bd,_0x51efec,_0x2e3379),D(this,_0x2c260a(0x2be),_0x2c260a(0x244)),this[_0x2c260a(0x30c)]=_0xd74c12;}[_0x57ebea(0x2cc)](_0x4ddc54){var _0x2c505c=_0x57ebea;return this[_0x2c505c(0x1dd)][_0x2c505c(0x37e)](_0x4ddc54),this[_0x2c505c(0x3a5)](),this;}[_0x57ebea(0x410)](_0x2e3098){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x57ebea(0x146)](){var _0x5c1754=_0x57ebea;throw new Error(_0x5c1754(0x3e8));}['onRemoteRej'](){var _0x374e4d=_0x57ebea;throw new Error(_0x374e4d(0x20d));}[_0x57ebea(0x423)](){return this;}[_0x57ebea(0x33f)](){return this;}['toggleOnline'](){var _0x1f5b30=_0x57ebea;const {_injector:_0xc0d9d1,_pendingMutations:_0x44c4b7,_awaitingChangeset:_0x43951b,unitID:_0x5d0236,_handler:_0x4f1d8c,type:_0x243e5a}=this,_0x5dd65d=Oi(_0xc0d9d1,_0x5d0236,_0x243e5a,_0x43951b,_0x44c4b7,_0x4f1d8c);return _0x5dd65d instanceof ae?_0x5dd65d[_0x1f5b30(0x381)]():(_0x5dd65d instanceof oe||_0x5dd65d instanceof le)&&_0x5dd65d[_0x1f5b30(0x3b0)](),_0x5dd65d;}[_0x57ebea(0x3b0)](){var _0x28619a=_0x57ebea;throw new Error(_0x28619a(0x408));}};de=Se([w(0x5,_0xd9eea8(_0xa5b871)),w(0x6,_0xd9eea8(_0x1a89bb)),w(0x7,_0x146b0f),w(0x8,_0x3d9a42),w(0x9,_0x4761ab(X))],de);let ee=class extends ge{constructor(_0x280d4f,_0x3c5788,_0xcb02e3,_0x44b9b6,_0x401b51,_0x35b1e1,_0xafe0b7,_0x2e741d,_0x571a1a,_0x52a9d4,_0x3f6023,_0x411a0b,_0xb0b8da,_0x533c50){var _0x34136a=_0x57ebea;super(_0x280d4f,_0x3c5788,_0xcb02e3,_0x44b9b6,_0xafe0b7,_0x3f6023,_0x411a0b,_0x571a1a,_0x533c50),D(this,_0x34136a(0x2be),_0x34136a(0x421)),(this[_0x34136a(0x276)]=_0x401b51,this[_0x34136a(0x24b)]=_0x35b1e1,this[_0x34136a(0x30c)]=_0x2e741d,this[_0x34136a(0x3cc)]=_0x52a9d4,this[_0x34136a(0x13b)]=_0xb0b8da,this[_0x34136a(0x1ed)]=_0x533c50);}[_0x57ebea(0x26c)](_0xc52aa2){var _0xfc997a=_0x57ebea;try{const _0x2817f5=[..._0xc52aa2,...this['_queuedRemoteChangesets']],_0x2b863e=[this[_0xfc997a(0x277)]||this[_0xfc997a(0x276)]][_0xfc997a(0x148)](_0x47c97e=>!!_0x47c97e);let _0x472e44,_0x4a8284;if(_0x2b863e['length']){const _0x42c010=this[_0xfc997a(0x13b)][_0xfc997a(0x182)](_0x2817f5,_0x2b863e,!0x1);if(!_0x24a204(_0x42c010))throw _0x42c010[_0xfc997a(0x379)];_0x472e44=_0x42c010['c1Prime'],_0x4a8284=_0x42c010['c2Prime'];}else _0x472e44=_0x2817f5,_0x4a8284=[];let _0x4f35a2=this['_pendingMutations'];_0x472e44[_0xfc997a(0x352)](_0x37ea01=>{var _0x1da1a6=_0xfc997a;let _0x5b9bcc;if(_0x4f35a2[_0x1da1a6(0x291)]){const _0x3e2425=this[_0x1da1a6(0x13b)][_0x1da1a6(0x342)](_0x37ea01,_0x4f35a2);if(!_0x506829(_0x3e2425))throw _0x3e2425[_0x1da1a6(0x379)];_0x5b9bcc=_0x3e2425[_0x1da1a6(0x32c)],_0x4f35a2=_0x3e2425[_0x1da1a6(0x162)];}else _0x5b9bcc=_0x37ea01;this[_0x1da1a6(0x278)](_0x5b9bcc);}),this[_0xfc997a(0x276)]&&this[_0xfc997a(0x232)](),this[_0xfc997a(0x277)]&&_0x4a8284['length']&&(_0x4a8284[0x0]['baseRev']=this['_getCurrentRevision']());let _0x471da6;if(this[_0xfc997a(0x277)]&&_0x4f35a2[_0xfc997a(0x291)]!==0x0)_0x471da6=this[_0xfc997a(0x30c)][_0xfc997a(0x220)](oe,this['unitID'],this[_0xfc997a(0x286)],_0x4a8284[0x0],_0x4f35a2,this[_0xfc997a(0x1bc)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4f35a2['length']===0x0)_0x4a8284[0x0][_0xfc997a(0x2ce)]=this[_0xfc997a(0x1c2)](),_0x471da6=this[_0xfc997a(0x30c)][_0xfc997a(0x220)](le,this[_0xfc997a(0x1fb)],this[_0xfc997a(0x286)],_0x4a8284[0x0],this[_0xfc997a(0x1bc)]);else{if(_0x4f35a2[_0xfc997a(0x291)]!==0x0){const _0x37b342=this[_0xfc997a(0x30c)][_0xfc997a(0x220)](ae,this[_0xfc997a(0x1fb)],this['type'],_0x4f35a2,this[_0xfc997a(0x1bc)]);_0x37b342[_0xfc997a(0x381)](),_0x471da6=_0x37b342;}else _0x471da6=this[_0xfc997a(0x30c)]['createInstance'](be,this[_0xfc997a(0x1fb)],this[_0xfc997a(0x286)],this[_0xfc997a(0x1bc)]);}}return _0x471da6['_updateLocalCache'](),_0x471da6;}catch(_0x5a8c61){return this[_0xfc997a(0x3cc)][_0xfc997a(0x379)](_0xfc997a(0x2d1),_0xfc997a(0x39c),_0x5a8c61),this[_0xfc997a(0x30c)][_0xfc997a(0x220)](ue,this['unitID'],this[_0xfc997a(0x286)],this['_awaitingChangeset'],this[_0xfc997a(0x1dd)],this[_0xfc997a(0x1bc)],!0x1);}}[_0x57ebea(0x3b0)](){var _0x4dcded=_0x57ebea;throw new Error(_0x4dcded(0x3bb));}['appendMutation'](_0xec1722){var _0xd71feb=_0x57ebea;return this[_0xd71feb(0x1dd)][_0xd71feb(0x37e)](_0xec1722),this;}['onRemoteChangeset'](_0x22b74c){var _0x394f6e=_0x57ebea;return this[_0x394f6e(0x24b)]['push'](_0x22b74c),this;}[_0x57ebea(0x146)](_0x23ecc8){var _0x448c57=_0x57ebea;if(this[_0x448c57(0x277)])return this['_acknowledgedAwaitingChangeset']=this[_0x448c57(0x277)],this[_0x448c57(0x277)]=null,this;throw new Error(_0x448c57(0x1c6));}[_0x57ebea(0x2af)](_0x1da84a){var _0x2a0d8d=_0x57ebea;return this[_0x2a0d8d(0x279)](!!(_0x1da84a!=null&&_0x1da84a[_0x2a0d8d(0x35a)]));}[_0x57ebea(0x423)](){return this;}[_0x57ebea(0x33f)](){var _0x158dcd=_0x57ebea;return this[_0x158dcd(0x30c)]['createInstance'](de,this[_0x158dcd(0x1fb)],this['type'],this[_0x158dcd(0x277)],this['_pendingMutations'],this['_handler']);}[_0x57ebea(0x252)](){return this;}[_0x57ebea(0x279)](_0xab7822){var _0x3ff555=_0x57ebea;return this[_0x3ff555(0x30c)]['createInstance'](ue,this[_0x3ff555(0x1fb)],this[_0x3ff555(0x286)],this[_0x3ff555(0x277)],this[_0x3ff555(0x1dd)],this['_handler'],_0xab7822);}};ee=Se([w(0x7,_0xd9eea8(_0xa5b871)),w(0x8,_0xd9eea8(_0x1a89bb)),w(0x9,_0x395070),w(0xa,_0x146b0f),w(0xb,_0x3d9a42),w(0xc,_0x411c6c),w(0xd,_0x4761ab(X))],ee);function Oi(_0x24a64f,_0x20305c,_0x10a4f9,_0x53d5ff,_0x9e4e27,_0x5cd524){var _0x199b3f=_0x57ebea;return _0x53d5ff&&_0x9e4e27[_0x199b3f(0x291)]?_0x24a64f['createInstance'](oe,_0x20305c,_0x10a4f9,_0x53d5ff,_0x9e4e27,_0x5cd524,void 0x0):_0x53d5ff?_0x24a64f[_0x199b3f(0x220)](le,_0x20305c,_0x10a4f9,_0x53d5ff,_0x5cd524):_0x9e4e27[_0x199b3f(0x291)]?_0x24a64f[_0x199b3f(0x220)](ae,_0x20305c,_0x10a4f9,_0x9e4e27,_0x5cd524):_0x24a64f[_0x199b3f(0x220)](be,_0x20305c,_0x10a4f9,_0x5cd524);}var js=Object[_0x57ebea(0x1a9)],At=(_0x13d4e8,_0x52d150,_0xd6a51e,_0x420671)=>{var _0x406349=_0x57ebea;for(var _0x461e49=_0x420671>0x1?void 0x0:_0x420671?js(_0x52d150,_0xd6a51e):_0x52d150,_0x28b060=_0x13d4e8[_0x406349(0x291)]-0x1,_0x10b242;_0x28b060>=0x0;_0x28b060--)(_0x10b242=_0x13d4e8[_0x28b060])&&(_0x461e49=_0x10b242(_0x461e49)||_0x461e49);return _0x461e49;},$=(_0x56f282,_0x2bf61f)=>(_0x4e3e97,_0x4ade76)=>_0x2bf61f(_0x4e3e97,_0x4ade76,_0x56f282);let st=class extends _0xdd442f{constructor(_0x4b9c4a,_0x53d1b2,_0x155e44,_0x5d2d74,_0xc5aa0e,_0x402593,_0x4de5fe,_0x581141,_0x215a6b,_0x42bafe,_0x2cc486,_0x1b6b6d,_0x5b733b,_0x4aeae6){var _0x3cfa08=_0x57ebea;super(),D(this,_0x3cfa08(0x436),new _0x4e139f(null)),D(this,_0x3cfa08(0x363),this[_0x3cfa08(0x436)][_0x3cfa08(0x2c5)]()),D(this,'_state'),D(this,_0x3cfa08(0x380),!0x1),D(this,'_changesetSessionId',''),D(this,_0x3cfa08(0x1a4),0x0),D(this,_0x3cfa08(0x14f),this[_0x3cfa08(0x363)][_0x3cfa08(0x165)](_0x464432(_0x128452=>_0x128452?_0x128452[_0x3cfa08(0x2be)]:Si[_0x3cfa08(0x230)]),_0x54609a(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x3cfa08(0x42b),[]),(this[_0x3cfa08(0x1fb)]=_0x4b9c4a,this['session']=_0x53d1b2,this[_0x3cfa08(0x216)]=_0x155e44,this[_0x3cfa08(0x30c)]=_0x5d2d74,this['_compressMutationService']=_0xc5aa0e,this['_localeService']=_0x402593,this['_revisionService']=_0x4de5fe,this[_0x3cfa08(0x40d)]=_0x581141,this[_0x3cfa08(0x26b)]=_0x215a6b,this[_0x3cfa08(0x3cc)]=_0x42bafe,this[_0x3cfa08(0x28e)]=_0x2cc486,this['_permissionService']=_0x1b6b6d,this[_0x3cfa08(0x2dc)]=_0x5b733b,this[_0x3cfa08(0x2d6)]=_0x4aeae6);}get[_0x57ebea(0x30d)](){var _0xdcfb4b=_0x57ebea;return this[_0xdcfb4b(0x2f6)];}async['init'](){var _0x20b81f=_0x57ebea;if(this['state'])throw new Error(_0x20b81f(0x361));await this['_init']();}[_0x57ebea(0x38d)](){var _0x180361=_0x57ebea;return this[_0x180361(0x380)]=!0x0,_0x920f1a(()=>{var _0x59daa6=_0x180361;this[_0x59daa6(0x380)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x57ebea(0x2eb)](_0x1aa72b){var _0x35f2a2=_0x57ebea;this[_0x35f2a2(0x444)](_0x1aa72b);}['_updateState'](_0x1f28c6){var _0x4653e7=_0x57ebea;this[_0x4653e7(0x2f6)]=_0x1f28c6,this['_state$'][_0x4653e7(0x372)](_0x1f28c6);}async[_0x57ebea(0x18a)](){var _0x2c2a28=_0x57ebea,_0x15d39c;this[_0x2c2a28(0x1b8)](await this[_0x2c2a28(0x36d)]()),this[_0x2c2a28(0x2dc)]&&((_0x15d39c=this['_singleActiveUnitService'])==null||_0x15d39c[_0x2c2a28(0x299)](this[_0x2c2a28(0x1fb)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x2c2a28(0x1ef)](this[_0x2c2a28(0x1fb)])['subscribe'](_0x4ee0cf=>{var _0x275e41=_0x2c2a28;this[_0x275e41(0x3cc)][_0x275e41(0x3b7)](_0x275e41(0x1b0),_0x275e41(0x397),_0x4ee0cf),_0x4ee0cf===mi[_0x275e41(0x1f8)]?(this[_0x275e41(0x40d)][_0x275e41(0x37b)]({'id':re[_0x275e41(0x1e1)]}),this[_0x275e41(0x446)][_0x275e41(0x19c)](new _0x108f1a(this[_0x275e41(0x1fb)])['id'],!0x1),this[_0x275e41(0x446)][_0x275e41(0x38a)](!0x1)):(this[_0x275e41(0x446)]['updatePermissionPoint'](new _0x108f1a(this['unitID'])['id'],!0x0),this['_permissionService'][_0x275e41(0x38a)](!0x0));})));let _0x42c642=!0x1;return this['disposeWithMe'](this['session'][_0x2c2a28(0x1e4)][_0x2c2a28(0x3dc)](_0x4c703a=>{var _0x1ef925=_0x2c2a28;_0x4c703a===me[_0x1ef925(0x2f7)]?this[_0x1ef925(0x1d9)](_0x42c642):_0x4c703a===me[_0x1ef925(0x230)]&&(_0x42c642=!0x0,this[_0x1ef925(0x246)]());})),this['disposeWithMe'](this[_0x2c2a28(0x3ad)]['event$'][_0x2c2a28(0x3dc)](_0xbaad59=>{var _0x503cb4=_0x2c2a28;try{switch(_0xbaad59['eventID']){case _0x427891[_0x503cb4(0x20b)]:{this[_0x503cb4(0x29c)](_0x4301fa(_0xbaad59['data']));break;}case _0x427891['CHANGESET_ACK']:{this[_0x503cb4(0x358)](_0xbaad59['data']);break;}case _0x427891[_0x503cb4(0x2c4)]:{this[_0x503cb4(0x301)]();break;}case _0x427891[_0x503cb4(0x23e)]:{this[_0x503cb4(0x2ab)](_0xbaad59['data']);break;}case _0x427891[_0x503cb4(0x2f9)]:{this['_onFetchMissResult'](_0xbaad59['data']['changesets'][_0x503cb4(0x32d)](_0xc098c9=>_0x4301fa(_0xc098c9)));break;}case _0x427891[_0x503cb4(0x351)]:{this[_0x503cb4(0x301)]({'isPermissionRej':!0x0});break;}case _0x427891['UNISCRIPT_RUN']:break;}}catch(_0x55b214){throw console[_0x503cb4(0x379)](_0x503cb4(0x176),_0x55b214),_0x55b214;}})),this[_0x2c2a28(0x2f6)];}['_unlockTransition'](){var _0x570563=_0x57ebea;this[_0x570563(0x327)]=!0x1;}[_0x57ebea(0x3d2)](){var _0x14232c=_0x57ebea;if(this[_0x14232c(0x327)])throw new Error(_0x14232c(0x44f));this[_0x14232c(0x327)]=!0x0;}[_0x57ebea(0x444)](_0x567cf7){var _0x411d17=_0x57ebea;this['_lockTransition'](),this[_0x411d17(0x1b8)](this[_0x411d17(0x2f6)]['appendMutation'](_0x567cf7)),this[_0x411d17(0x188)]();}[_0x57ebea(0x29c)](_0xaaeaf2){var _0x507c79=_0x57ebea;if(!(_0xaaeaf2[_0x507c79(0x239)]<=this['_revisionService'][_0x507c79(0x16a)](this[_0x507c79(0x1fb)]))){if(this['_collaborationPaused']){this[_0x507c79(0x42b)][_0x507c79(0x37e)](_0xaaeaf2);return;}this[_0x507c79(0x1d2)](_0xaaeaf2);}}['_exhaustRemoteChangesetQueue'](){var _0xcd4f03=_0x57ebea;this[_0xcd4f03(0x42b)][_0xcd4f03(0x352)](_0x42e8ac=>this['_applyRemoteChangeset'](_0x42e8ac)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x4d4eb0){var _0xce8f94=_0x57ebea;const _0x3e0f5c=this[_0xce8f94(0x424)]['interceptor'][_0xce8f94(0x287)](this['_compressMutationService'][_0xce8f94(0x26d)]['getInterceptPoints']()[_0xce8f94(0x1c7)])(_0x4d4eb0[_0xce8f94(0x15d)],null)||_0x4d4eb0['mutations'],_0x1d80ba={..._0x4d4eb0,'mutations':_0x3e0f5c};this[_0xce8f94(0x3d2)](),this[_0xce8f94(0x1b8)](this[_0xce8f94(0x2f6)][_0xce8f94(0x410)](_0x1d80ba)),this[_0xce8f94(0x188)]();}['_onRemoteACK'](_0x30048b){var _0x1b8c0b=_0x57ebea;this['_lockTransition'](),this['_updateState'](this[_0x1b8c0b(0x2f6)]['onRemoteAck'](_0x30048b)),this['_unlockTransition']();}[_0x57ebea(0x301)](_0xd362a9){var _0x51e595=_0x57ebea;this[_0x51e595(0x3d2)](),this[_0x51e595(0x1b8)](this['_state'][_0x51e595(0x2af)](_0xd362a9)),this[_0x51e595(0x188)]();}['_onRemoteRetry'](_0x2cd1ce){var _0xe64cfa=_0x57ebea;this['_lockTransition'](),this[_0xe64cfa(0x1b8)](this[_0xe64cfa(0x2f6)][_0xe64cfa(0x423)](_0x2cd1ce)),this[_0xe64cfa(0x188)]();}[_0x57ebea(0x457)](_0x331c67){var _0x2042cb=_0x57ebea;if(!(this[_0x2042cb(0x2f6)]instanceof ee))throw new TypeError(_0x2042cb(0x199));const _0x5a9474=_0x331c67[_0x2042cb(0x32d)](_0xf7fc2e=>{var _0x548e25=_0x2042cb;const _0x445748=this[_0x548e25(0x424)][_0x548e25(0x26d)][_0x548e25(0x287)](this[_0x548e25(0x424)][_0x548e25(0x26d)][_0x548e25(0x191)]()['COMPRESS_MUTATION_APPLY'])(_0xf7fc2e[_0x548e25(0x15d)],null)||_0xf7fc2e['mutations'];return{..._0xf7fc2e,'mutations':_0x445748};});this[_0x2042cb(0x3d2)](),this[_0x2042cb(0x1b8)](this[_0x2042cb(0x2f6)][_0x2042cb(0x26c)](_0x5a9474)),this['_unlockTransition']();}[_0x57ebea(0x246)](){var _0x11945f=_0x57ebea;this[_0x11945f(0x3d2)](),this[_0x11945f(0x1b8)](this['_state'][_0x11945f(0x33f)]()),this[_0x11945f(0x188)]();}[_0x57ebea(0x1d9)](_0x210a4b=!0x1){var _0x53d47c=_0x57ebea;this[_0x53d47c(0x3d2)](),this[_0x53d47c(0x1b8)](this['_state'][_0x53d47c(0x252)]()),this['_unlockTransition']();const _0x2b1397=this[_0x53d47c(0x2f6)];_0x210a4b&&_0x2b1397 instanceof be&&(this['_lockTransition'](),this[_0x53d47c(0x1b8)](_0x2b1397[_0x53d47c(0x173)]()),this['_unlockTransition']());}async[_0x57ebea(0x36d)](){return new Promise(_0x44e531=>{var _0x355ac9=_0x5a33;this['session'][_0x355ac9(0x1e4)][_0x355ac9(0x165)](_0x5cf086(0x1))[_0x355ac9(0x3dc)](async _0x3eec7c=>{var _0x5bfbe5=_0x355ac9;_0x44e531(await this['_createInitialStateImpl'](_0x3eec7c===me[_0x5bfbe5(0x2f7)]));});});}[_0x57ebea(0x304)](){const _0x3d448c=this['unitID'];return{'onStateChange':(_0x3c42c3,_0x1664ae)=>{var _0x208e7b=_0x5a33;if(_0x3c42c3!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x3c42c3[_0x208e7b(0x2be)]+_0x208e7b(0x282)+_0x1664ae['status']+_0x208e7b(0x39a)+this['_state']['status']);this[_0x208e7b(0x1b8)](_0x1664ae);},'onSendChangeset':_0x1aead4=>{var _0x31dbb0=_0x5a33;_0x1aead4[_0x31dbb0(0x192)]||(_0x1aead4[_0x31dbb0(0x192)]=this[_0x31dbb0(0x2fd)],_0x1aead4[_0x31dbb0(0x2bf)]=++this[_0x31dbb0(0x1a4)]);const _0x8f727c={'eventID':_0x427891[_0x31dbb0(0x3f9)],'data':{'unitID':_0x1aead4[_0x31dbb0(0x1fb)],'unitType':this['_type'],'changeset':_0x1aead4,'memberID':this[_0x31dbb0(0x3ad)][_0x31dbb0(0x387)]()}};this[_0x31dbb0(0x3ad)][_0x31dbb0(0x2f5)](_0x8f727c,this[_0x31dbb0(0x1fb)]);},'onMissingChangesets':({from:_0x2b2875,to:_0x534e91})=>{var _0x43fe79=_0x5a33;this['_logService'][_0x43fe79(0x3b7)](_0x43fe79(0x1b0),_0x43fe79(0x1bb)+_0x2b2875+_0x43fe79(0x33c)+_0x534e91);const _0x1eecd1={'eventID':_0x427891[_0x43fe79(0x1ba)],'data':{'unitID':_0x3d448c,'unitType':this[_0x43fe79(0x216)],'from':_0x2b2875,'to':_0x534e91}};this['session']['send'](_0x1eecd1,this[_0x43fe79(0x1fb)]);}};}async[_0x57ebea(0x151)](_0x2ebd57){var _0x17a3e1=_0x57ebea,_0x314ca6,_0x1f9cb9,_0x19db86;const _0x25dbd0=await((_0x314ca6=this[_0x17a3e1(0x2d6)])==null?void 0x0:_0x314ca6['loadOfflineData'](this[_0x17a3e1(0x1fb)])),_0x1fde58=(_0x1f9cb9=_0x25dbd0==null?void 0x0:_0x25dbd0[_0x17a3e1(0x15d)])!=null?_0x1f9cb9:[],_0x392ba8=(_0x19db86=_0x25dbd0==null?void 0x0:_0x25dbd0[_0x17a3e1(0x324)])!=null?_0x19db86:null,_0x4cc5c6=!!(_0x392ba8!=null&&_0x392ba8[_0x17a3e1(0x192)])&&!!(_0x392ba8!=null&&_0x392ba8[_0x17a3e1(0x2bf)]);this['_changesetSessionId']=_0x4cc5c6?_0x392ba8[_0x17a3e1(0x192)]:_0x440c2a(),this[_0x17a3e1(0x1a4)]=_0x4cc5c6?_0x392ba8[_0x17a3e1(0x2bf)]:0x0;const _0x232dda=this[_0x17a3e1(0x1fb)];try{this['_replayCachedMutations'](_0x392ba8,_0x1fde58);}catch(_0xdaec80){this[_0x17a3e1(0x3cc)][_0x17a3e1(0x379)](_0xdaec80);}const _0x4072a4=this[_0x17a3e1(0x304)]();if(_0x2ebd57){const _0xcbd454=Oi(this[_0x17a3e1(0x30c)],_0x232dda,this[_0x17a3e1(0x216)],_0x392ba8,_0x1fde58,_0x4072a4);return _0xcbd454 instanceof ae?_0xcbd454[_0x17a3e1(0x381)]():(_0xcbd454 instanceof oe||_0xcbd454 instanceof le)&&_0xcbd454[_0x17a3e1(0x3b0)](),_0xcbd454;}return this['_injector'][_0x17a3e1(0x220)](de,_0x232dda,this[_0x17a3e1(0x216)],_0x392ba8,_0x1fde58,_0x4072a4);}[_0x57ebea(0x201)](_0x58ec06,_0x56fb35){var _0x905c18=_0x57ebea,_0x37291f,_0x3586a4;const _0x2e1d1b=this[_0x905c18(0x424)][_0x905c18(0x26d)][_0x905c18(0x287)](this['_compressMutationService'][_0x905c18(0x26d)][_0x905c18(0x191)]()[_0x905c18(0x1c7)]);(_0x37291f=_0x2e1d1b((_0x58ec06==null?void 0x0:_0x58ec06[_0x905c18(0x15d)])||[],null))==null||_0x37291f[_0x905c18(0x352)](_0x135fb7=>this[_0x905c18(0x28e)][_0x905c18(0x384)](_0x135fb7['id'],_0x135fb7[_0x905c18(0x437)])),(_0x3586a4=_0x2e1d1b(_0x56fb35||[],null))==null||_0x3586a4[_0x905c18(0x352)](_0x24cc13=>this[_0x905c18(0x28e)][_0x905c18(0x384)](_0x24cc13['id'],_0x24cc13[_0x905c18(0x437)]));}};st=At([$(0x3,_0xd9eea8(_0xa5b871)),$(0x4,_0xd9eea8(_0x3ec077)),$(0x5,_0xd9eea8(_0x28b880)),$(0x6,_0xd9eea8(_0x1a89bb)),$(0x7,_0xd9eea8(ve)),$(0x8,_0xde0007),$(0x9,_0x395070),$(0xa,_0x146b0f),$(0xb,_0x54b0d9),$(0xc,_0x4761ab(_t)),$(0xd,_0x4761ab(X))],st);let It=class extends st{constructor(_0x36ad86,_0x54f9d7,_0x224f6a,_0x2ec561,_0x167c84,_0x359473,_0x39468d,_0x27079d,_0x357e40,_0x769aa5,_0x2ff255,_0x3aea75,_0x315aab,_0x4fb9c7){var _0x38dfd1=_0x57ebea;super(_0x36ad86,_0x224f6a,_0x54f9d7,_0x2ec561,_0x167c84,_0x359473,_0x39468d,_0x27079d,_0x357e40,_0x769aa5,_0x2ff255,_0x3aea75,_0x315aab,_0x4fb9c7),D(this,_0x38dfd1(0x3c4),null),(this['unitID']=_0x36ad86,this[_0x38dfd1(0x286)]=_0x54f9d7);}[_0x57ebea(0x41b)](_0x54bdd7){this['_handlerCallback']=_0x54bdd7;}[_0x57ebea(0x181)](){this['_handlerCallback']=null,super['dispose']();}[_0x57ebea(0x304)](){var _0x3f55ee=_0x57ebea;const _0x27cbac=super['_createHandler']();return _0x27cbac['onTransformIME']=_0x4f3257=>{var _0x26b560=_0x5a33,_0x180497,_0x37fa32;return(_0x37fa32=(_0x180497=this[_0x26b560(0x3c4)])==null?void 0x0:_0x180497[_0x26b560(0x34c)])==null?void 0x0:_0x37fa32[_0x26b560(0x2b6)](_0x180497,_0x4f3257);},_0x27cbac['onTransformState']=_0x272ee8=>{var _0x47a9f6=_0x5a33,_0x49362b,_0x172dd3;return(_0x172dd3=(_0x49362b=this[_0x47a9f6(0x3c4)])==null?void 0x0:_0x49362b[_0x47a9f6(0x27d)])==null?void 0x0:_0x172dd3[_0x47a9f6(0x2b6)](_0x49362b,_0x272ee8);},_0x27cbac[_0x3f55ee(0x3c6)]=_0x304436=>{var _0x23bdf7=_0x3f55ee,_0x5745d1,_0x3101c0;return(_0x3101c0=(_0x5745d1=this[_0x23bdf7(0x3c4)])==null?void 0x0:_0x5745d1['onTransformSelections'])==null?void 0x0:_0x3101c0[_0x23bdf7(0x2b6)](_0x5745d1,_0x304436);},_0x27cbac[_0x3f55ee(0x3d9)]=_0x1a447b=>{var _0x2a2dda=_0x3f55ee,_0x296385,_0x279b95;return(_0x279b95=(_0x296385=this[_0x2a2dda(0x3c4)])==null?void 0x0:_0x296385[_0x2a2dda(0x3d9)])==null?void 0x0:_0x279b95[_0x2a2dda(0x2b6)](_0x296385,_0x1a447b);},_0x27cbac[_0x3f55ee(0x3db)]=_0xe6b71d=>{var _0xa2d326=_0x3f55ee,_0x4448e1,_0x31539e,_0x3da992;if(!((_0x4448e1=this['_handlerCallback'])!=null&&_0x4448e1[_0xa2d326(0x3db)]))throw new Error(_0xa2d326(0x449));return(_0x3da992=(_0x31539e=this[_0xa2d326(0x3c4)])==null?void 0x0:_0x31539e[_0xa2d326(0x3db)])==null?void 0x0:_0x3da992[_0xa2d326(0x2b6)](_0x31539e,_0xe6b71d);},_0x27cbac[_0x3f55ee(0x2a7)]=_0x1bd640=>{var _0x5c7a90=_0x3f55ee,_0x459f93,_0x303988,_0x8c605f;if(!((_0x459f93=this[_0x5c7a90(0x3c4)])!=null&&_0x459f93[_0x5c7a90(0x2a7)]))throw new Error(_0x5c7a90(0x2ae));return(_0x8c605f=(_0x303988=this['_handlerCallback'])==null?void 0x0:_0x303988['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x8c605f[_0x5c7a90(0x2b6)](_0x303988,_0x1bd640);},_0x27cbac;}async['_init'](){var _0x360ec0=_0x57ebea;const _0x548cc2=await super['_init']();return this[_0x360ec0(0x24e)](this[_0x360ec0(0x28e)][_0x360ec0(0x210)]((_0x2823f3,_0x256dad)=>{var _0x4b84bc=_0x360ec0;if(_0x2823f3[_0x4b84bc(0x286)]!==_0x7655d0[_0x4b84bc(0x450)]||_0x256dad!=null&&_0x256dad['fromCollab']||_0x256dad!=null&&_0x256dad[_0x4b84bc(0x2e3)]||_0x2823f3['id']===_0x3de14f['id'])return;const _0x5e9c88=_0x2823f3[_0x4b84bc(0x437)];if((_0x5e9c88==null?void 0x0:_0x5e9c88[_0x4b84bc(0x1f2)])!==this[_0x4b84bc(0x1fb)])return;const _0x594bb8=_0x2823f3,_0x357dbd=this[_0x4b84bc(0x424)][_0x4b84bc(0x26d)][_0x4b84bc(0x287)](this[_0x4b84bc(0x424)]['interceptor'][_0x4b84bc(0x191)]()[_0x4b84bc(0x265)])([_0x594bb8],this['_univerInstanceService'])||[_0x594bb8];this[_0x4b84bc(0x444)](_0x357dbd[0x0]);})),_0x548cc2;}};It=At([$(0x3,_0xd9eea8(_0xa5b871)),$(0x4,_0xd9eea8(_0x3ec077)),$(0x5,_0xd9eea8(_0x28b880)),$(0x6,_0xd9eea8(_0x1a89bb)),$(0x7,_0xd9eea8(ve)),$(0x8,_0xde0007),$(0x9,_0x395070),$(0xa,_0x146b0f),$(0xb,_0x54b0d9),$(0xc,_0x4761ab(_t)),$(0xd,_0x4761ab(X))],It);let St=class extends st{constructor(_0x20d498,_0x41e337,_0x3cdac1,_0x1aeab0,_0x14dabe,_0x3b8693,_0x2067a2,_0x13dac0,_0x2e8b7f,_0x1ee154,_0x53caf3,_0x2fe3b4,_0x491fed,_0x52f883,_0x12712d){var _0x183966=_0x57ebea;super(_0x20d498,_0x3cdac1,_0x41e337,_0x1aeab0,_0x14dabe,_0x3b8693,_0x2067a2,_0x2e8b7f,_0x1ee154,_0x53caf3,_0x2fe3b4,_0x491fed,_0x52f883,_0x12712d),this['unitID']=_0x20d498,this[_0x183966(0x286)]=_0x41e337,this[_0x183966(0x357)]=_0x13dac0;}[_0x57ebea(0x304)](){var _0x4816c9=_0x57ebea;const _0x166677=super[_0x4816c9(0x304)]();return _0x166677[_0x4816c9(0x3c6)]=_0x3d2fe4=>this[_0x4816c9(0x357)][_0x4816c9(0x13f)](_0x3d2fe4),_0x166677;}async[_0x57ebea(0x18a)](){var _0x5dd386=_0x57ebea;const _0x85e1b9=await super[_0x5dd386(0x18a)]();return this[_0x5dd386(0x24e)](this[_0x5dd386(0x28e)][_0x5dd386(0x210)]((_0x482d29,_0x5471a1)=>{var _0x13d9c0=_0x5dd386;if(_0x482d29['type']!==_0x7655d0[_0x13d9c0(0x450)]||_0x5471a1!=null&&_0x5471a1[_0x13d9c0(0x1e2)]||_0x5471a1!=null&&_0x5471a1[_0x13d9c0(0x2e3)])return;const _0x4db10a=_0x482d29[_0x13d9c0(0x437)];if((_0x4db10a==null?void 0x0:_0x4db10a['unitId'])!==this[_0x13d9c0(0x1fb)])return;const _0x298652=_0x482d29,_0x1f0f88=this[_0x13d9c0(0x424)]['interceptor'][_0x13d9c0(0x287)](this[_0x13d9c0(0x424)]['interceptor'][_0x13d9c0(0x191)]()[_0x13d9c0(0x265)])([_0x298652],this[_0x13d9c0(0x26b)])||[_0x298652];this[_0x13d9c0(0x444)](_0x1f0f88[0x0]);})),_0x85e1b9;}};St=At([$(0x3,_0xd9eea8(_0xa5b871)),$(0x4,_0xd9eea8(_0x3ec077)),$(0x5,_0xd9eea8(_0x28b880)),$(0x6,_0xd9eea8(_0x1a89bb)),$(0x7,_0xd9eea8(it)),$(0x8,_0xd9eea8(ve)),$(0x9,_0xde0007),$(0xa,_0x395070),$(0xb,_0x146b0f),$(0xc,_0x54b0d9),$(0xd,_0x4761ab(_t)),$(0xe,_0x4761ab(X))],St);const Vs=_0x51449a(_0x57ebea(0x3bf));function Gs(_0x3bbe38){var _0x3f9d79=_0x57ebea,_0x5e208b,_0x52f4d5,_0x2b53c4,_0x4766d2,_0x21fd2b;const _0x27ae39=_0x3bbe38['data'],_0x4baacf=JSON[_0x3f9d79(0x251)](_0x27ae39);switch(_0x4baacf[_0x3f9d79(0x3d5)]){case j['HEARTBEAT']:case j[_0x3f9d79(0x321)]:{const _0x5e65cf=_0x4baacf[_0x3f9d79(0x394)];return{..._0x4baacf,'data':_0x5e65cf,'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};}case j[_0x3f9d79(0x212)]:{const _0x2bb550=_0x4baacf['joinRsp'];return{..._0x4baacf,'data':_0x2bb550,'cmd':_0x4baacf['cmd']};}case j[_0x3f9d79(0x18f)]:{const _0x54b73f=_0x4baacf[_0x3f9d79(0x3ed)];switch(_0x54b73f[_0x3f9d79(0x34b)]){case _0x427891[_0x3f9d79(0x351)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x5e208b=_0x54b73f[_0x3f9d79(0x341)])==null?void 0x0:_0x5e208b['cs']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x16d)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x52f4d5=_0x54b73f[_0x3f9d79(0x3e0)])==null?void 0x0:_0x52f4d5['cs']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x20b)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x2b53c4=_0x54b73f[_0x3f9d79(0x189)])==null?void 0x0:_0x2b53c4['cs']},'cmd':_0x4baacf['cmd']};case _0x427891[_0x3f9d79(0x2c4)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x4766d2=_0x54b73f[_0x3f9d79(0x1c0)])==null?void 0x0:_0x4766d2['cs']},'cmd':_0x4baacf['cmd']};case _0x427891[_0x3f9d79(0x23e)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':(_0x21fd2b=_0x54b73f[_0x3f9d79(0x142)])==null?void 0x0:_0x21fd2b['cs']},'cmd':_0x4baacf['cmd']};case _0x427891[_0x3f9d79(0x3cf)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x3f5)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891['USERS_ENTER']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x439)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x208)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x2e2)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x1e9)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x3f3)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x348)]:case _0x427891[_0x3f9d79(0x14e)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x2b1)]},'cmd':_0x4baacf['cmd']};case _0x427891['LIVESHARE_TERMINATE']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f['liveShareNewHost']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x140)]:return{..._0x4baacf,'data':_0x54b73f,'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891['COMMENT_UPDATE']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x1b7)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x451)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f['updatePermissionObjEvent']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891[_0x3f9d79(0x36f)]:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f[_0x3f9d79(0x3ee)]},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};case _0x427891['UNISCRIPT_RUN']:return{..._0x4baacf,'data':{..._0x54b73f,'data':_0x54b73f['uniscriptRunEvent']},'cmd':_0x4baacf[_0x3f9d79(0x3d5)]};default:return _0x4baacf;}}default:return _0x4baacf;}}function Ws(_0x777308){var _0x4dbefd=_0x57ebea;switch(_0x777308[_0x4dbefd(0x3d5)]){case j['HEARTBEAT']:case j['HELLO']:return JSON[_0x4dbefd(0x3fb)]({'cmd':_0x777308[_0x4dbefd(0x3d5)],'routeKey':_0x777308[_0x4dbefd(0x41f)]});case j[_0x4dbefd(0x3c5)]:{let _0xd150ae;switch(_0x777308[_0x4dbefd(0x455)]['eventID']){case _0x427891[_0x4dbefd(0x3cf)]:{_0xd150ae={'eventID':_0x427891['UPDATE_CURSOR'],'updateCursorEvent':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x455)]};break;}case _0x427891[_0x4dbefd(0x208)]:{_0xd150ae={'eventID':_0x427891['USERS_LEAVE'],'leaveEvent':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x455)]};break;}case _0x427891[_0x4dbefd(0x453)]:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x453)],'joinEvent':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x455)]};break;}case _0x427891[_0x4dbefd(0x1e9)]:{_0xd150ae={'eventID':_0x427891['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x777308[_0x4dbefd(0x455)]['data']};break;}case _0x427891[_0x4dbefd(0x14e)]:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x14e)],'liveShareOperation':_0x777308['data'][_0x4dbefd(0x455)]};break;}case _0x427891['LIVESHARE_TERMINATE']:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x1b6)],'liveShareTerminate':_0x777308[_0x4dbefd(0x455)]['data']};break;}case _0x427891[_0x4dbefd(0x23a)]:{_0xd150ae={'eventID':_0x427891[_0x4dbefd(0x23a)],'liveShareRequestHost':_0x777308['data'][_0x4dbefd(0x455)]};break;}case _0x427891['LIVESHARE_FETCH_OPERATIONS']:{_0xd150ae={'eventID':_0x427891['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xd150ae={'eventID':_0x777308[_0x4dbefd(0x455)][_0x4dbefd(0x34b)]};}return JSON['stringify']({'cmd':_0x777308['cmd'],'routeKey':_0x777308['routeKey'],'collaMsg':_0xd150ae});}case j[_0x4dbefd(0x212)]:return JSON[_0x4dbefd(0x3fb)]({'cmd':_0x777308['cmd'],'routeKey':_0x777308['routeKey'],'joinReq':_0x777308[_0x4dbefd(0x455)]});case j['LEAVE']:return JSON[_0x4dbefd(0x3fb)]({'cmd':_0x777308[_0x4dbefd(0x3d5)],'routeKey':_0x777308[_0x4dbefd(0x41f)],'leaveReq':_0x777308['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ys=Object[_0x57ebea(0x1a9)],Ks=(_0x49434e,_0x3b31e8,_0x23bab6,_0x23a855)=>{var _0x521855=_0x57ebea;for(var _0x593afa=_0x23a855>0x1?void 0x0:_0x23a855?Ys(_0x3b31e8,_0x23bab6):_0x3b31e8,_0x31cc0a=_0x49434e[_0x521855(0x291)]-0x1,_0x25fad0;_0x31cc0a>=0x0;_0x31cc0a--)(_0x25fad0=_0x49434e[_0x31cc0a])&&(_0x593afa=_0x25fad0(_0x593afa)||_0x593afa);return _0x593afa;},ye=(_0x299186,_0x46a1be)=>(_0x12ae6e,_0x179119)=>_0x46a1be(_0x12ae6e,_0x179119,_0x299186);const Ri=_0x51449a(_0x57ebea(0x22b));function qs(_0x5421a7,_0x4f3dcc,_0x17497d){var _0x1f30e3=_0x57ebea;return _0x5421a7+'/'+_0x4f3dcc+_0x1f30e3(0x143)+_0x17497d+_0x1f30e3(0x2d8);}let Gt=class extends _0x396fad{constructor(_0x3e74f1,_0x2d2bc0,_0x32a855,_0x2ae505,_0x243652){var _0x3e6050=_0x57ebea;super(),this['_injector']=_0x3e74f1,this[_0x3e6050(0x320)]=_0x2d2bc0,this[_0x3e6050(0x25c)]=_0x32a855,this[_0x3e6050(0x3cc)]=_0x2ae505,this[_0x3e6050(0x2b9)]=_0x243652;}[_0x57ebea(0x415)](_0xba368d){var _0x38b74d=_0x57ebea;const _0x25f092=this[_0x38b74d(0x30c)][_0x38b74d(0x19b)](_0x35aa36);if(!_0x25f092)throw new Error(_0x38b74d(0x3a2));const _0x60713e=_0x25f092[_0x38b74d(0x190)](_0xba368d);if(!_0x60713e)throw new Error(_0x38b74d(0x186));const _0x31b39a=new _0x81af46(),_0x67e7ca=new _0x244912();_0x31b39a[_0x38b74d(0x43f)](_0x60713e[_0x38b74d(0x1ec)][_0x38b74d(0x3dc)](_0xc66f65=>_0x67e7ca[_0x38b74d(0x372)](_0xc66f65))),_0x31b39a[_0x38b74d(0x43f)](_0x920f1a(()=>_0x67e7ca['complete']()));const _0xad8fe1=new _0x244912();_0x31b39a['add'](_0x60713e['error$'][_0x38b74d(0x3dc)](_0x2e467e=>_0xad8fe1[_0x38b74d(0x372)](_0x2e467e))),_0x31b39a['add'](_0x920f1a(()=>_0xad8fe1[_0x38b74d(0x42a)]()));const _0x3c1ba0=new _0x244912();_0x31b39a['add'](_0x60713e[_0x38b74d(0x2fb)][_0x38b74d(0x3dc)](_0x3c8812=>{var _0x1a778c=_0x38b74d;const _0x44045d=Gs(_0x3c8812);_0x3c1ba0[_0x1a778c(0x372)](_0x44045d);})),_0x31b39a[_0x38b74d(0x43f)](_0x920f1a(()=>_0x3c1ba0[_0x38b74d(0x42a)]()));let _0x4d9406;const _0x5349c5=()=>{var _0x10c338=_0x38b74d;_0xad8fe1[_0x10c338(0x372)](new Event(_0x10c338(0x2bb))),_0x67e7ca[_0x10c338(0x372)](new Event(_0x10c338(0x2bb))),_0x4d9406['close']();};return _0x4d9406={'memberID':'','close$':_0x67e7ca[_0x38b74d(0x2c5)](),'error$':_0xad8fe1[_0x38b74d(0x2c5)](),'open$':_0x60713e[_0x38b74d(0x205)],'message$':_0x3c1ba0[_0x38b74d(0x2c5)](),'send':_0x5ab4c8=>{var _0x570194=_0x38b74d;if(_0x5ab4c8[_0x570194(0x3d5)]===j['INGEST']){if(_0x5ab4c8['data'][_0x570194(0x34b)]===_0x427891[_0x570194(0x3f9)]){this[_0x570194(0x45c)](_0x4d9406,_0x5ab4c8[_0x570194(0x455)])['catch'](_0x529afc=>{var _0x2d4e36=_0x570194;this[_0x2d4e36(0x3cc)][_0x2d4e36(0x379)](_0x529afc),_0x5349c5();});return;}if(_0x5ab4c8[_0x570194(0x455)]['eventID']===_0x427891[_0x570194(0x1ba)]){const _0x1a5506=_0x5ab4c8[_0x570194(0x455)];this[_0x570194(0x399)](_0x1a5506)['then'](_0x1ac3e3=>{var _0x50a93a=_0x570194;_0x3c1ba0[_0x50a93a(0x372)]({'cmd':j[_0x50a93a(0x18f)],'code':Ee['OK'],'routeKey':_0x1a5506[_0x50a93a(0x455)][_0x50a93a(0x1fb)],'routeType':'','data':{'eventID':_0x427891[_0x50a93a(0x2f9)],'data':{'changesets':_0x1ac3e3}}});})[_0x570194(0x310)](_0x37a430=>{var _0x57f0d8=_0x570194;this[_0x57f0d8(0x3cc)]['error'](_0x37a430),_0x5349c5();});return;}}_0x60713e[_0x570194(0x2f5)](Ws(_0x5ab4c8));},'close':()=>{var _0x14256a=_0x38b74d;_0x60713e['close'](),_0x31b39a[_0x14256a(0x181)]();}},_0x4d9406;}async[_0x57ebea(0x45c)](_0x533871,_0x3d912d){var _0x5705da=_0x57ebea,_0x100695;const {unitType:_0x167ff3,unitID:_0x1e144a,changeset:_0x5bf20c}=_0x3d912d[_0x5705da(0x455)],_0x5d77fb={'unitID':_0x1e144a,'memberID':_0x533871['memberID'],'type':_0x167ff3,'changeset':_0x24b872(_0x5bf20c)},_0x215e02=this[_0x5705da(0x25c)][_0x5705da(0x1f4)](K),_0x17669e=qs((_0x100695=_0x215e02==null?void 0x0:_0x215e02[_0x5705da(0x413)])!=null?_0x100695:Ns,_0x167ff3,_0x1e144a);try{await this['_httpService'][_0x5705da(0x214)](_0x17669e,{'body':_0x5d77fb});}catch(_0x2034fe){throw this['_logService'][_0x5705da(0x379)](_0x5705da(0x177),'submit\x20changeset\x20error!'),_0x2034fe;}}async[_0x57ebea(0x399)](_0xf5a311){var _0x4a358e=_0x57ebea;const {unitID:_0x1d6e3a,from:_0x1c45f2,to:_0x1887dd,unitType:_0x2abbe4}=_0xf5a311[_0x4a358e(0x455)];return(await this[_0x4a358e(0x2b9)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1d6e3a,'type':_0x2abbe4,'from':_0x1c45f2,'to':_0x1887dd}))[_0x4a358e(0x179)]['map'](_0x4fec95=>((_0x4fec95['mutations']===null||_0x4fec95[_0x4a358e(0x15d)]===void 0x0)&&(_0x4fec95[_0x4a358e(0x15d)]=[]),_0x4fec95));}};Gt=Ks([ye(0x0,_0xd9eea8(_0xa5b871)),ye(0x1,_0xd9eea8(_0x3e703e)),ye(0x2,_0x218bfc),ye(0x3,_0x395070),ye(0x4,_0x4d28e8)],Gt);var zs=Object['getOwnPropertyDescriptor'],Xs=(_0x7c67a,_0x474ded,_0x262821,_0x25f849)=>{for(var _0x484901=_0x25f849>0x1?void 0x0:_0x25f849?zs(_0x474ded,_0x262821):_0x474ded,_0x56c40f=_0x7c67a['length']-0x1,_0xc03009;_0x56c40f>=0x0;_0x56c40f--)(_0xc03009=_0x7c67a[_0x56c40f])&&(_0x484901=_0xc03009(_0x484901)||_0x484901);return _0x484901;},Re=(_0x51ed03,_0x59edc7)=>(_0x402d18,_0x4accd9)=>_0x59edc7(_0x402d18,_0x4accd9,_0x51ed03);let we=class extends _0x396fad{constructor(_0x14198d,_0x2e999a,_0x3a0dae,_0x2ce513,_0x44d441,_0x45dcdf){var _0x2bae38=_0x57ebea;super(),D(this,_0x2bae38(0x2ee),new _0x4e139f(void 0x0)),D(this,_0x2bae38(0x2de),this[_0x2bae38(0x2ee)][_0x2bae38(0x2c5)]()),D(this,_0x2bae38(0x34a),null),D(this,'_sessions',new Map()),D(this,_0x2bae38(0x29f),new _0x4e139f(me[_0x2bae38(0x40a)])),D(this,_0x2bae38(0x14f),this[_0x2bae38(0x29f)][_0x2bae38(0x2c5)]()),D(this,_0x2bae38(0x1dc),!0x1),D(this,_0x2bae38(0x1d5)),D(this,'_retryCount',0x0),D(this,_0x2bae38(0x323)),D(this,_0x2bae38(0x218)),(this[_0x2bae38(0x30c)]=_0x14198d,this['_logService']=_0x2e999a,this[_0x2bae38(0x25c)]=_0x3a0dae,this['_socketService']=_0x2ce513,this['_collaborationUIEventService']=_0x44d441,this[_0x2bae38(0x139)]=_0x45dcdf,this[_0x2bae38(0x377)]());}get[_0x57ebea(0x235)](){var _0x514977=_0x57ebea;return this[_0x514977(0x2ee)][_0x514977(0x254)]();}['_listenToNetworkCondition'](){var _0x17f28d=_0x57ebea;this[_0x17f28d(0x139)]&&this['disposeWithMe'](this[_0x17f28d(0x139)][_0x17f28d(0x3a8)][_0x17f28d(0x3dc)](_0xf1f791=>{var _0x41ca52=_0x17f28d;_0xf1f791&&!this[_0x41ca52(0x235)]&&this['reconnect'](),_0xf1f791||this[_0x41ca52(0x418)]();}));}['dispose'](){var _0x3f7f5e=_0x57ebea;super['dispose'](),this[_0x3f7f5e(0x213)](),this[_0x3f7f5e(0x1ff)](),this[_0x3f7f5e(0x307)](),this['_sessions'][_0x3f7f5e(0x352)](_0xd9d0ae=>_0xd9d0ae[_0x3f7f5e(0x181)]()),this[_0x3f7f5e(0x309)][_0x3f7f5e(0x2b7)](),this[_0x3f7f5e(0x29f)][_0x3f7f5e(0x42a)]();}async[_0x57ebea(0x3b1)](_0x2a7dab){var _0x5cd30b=_0x57ebea;if(this[_0x5cd30b(0x309)][_0x5cd30b(0x280)](_0x2a7dab))return this[_0x5cd30b(0x309)][_0x5cd30b(0x19b)](_0x2a7dab);this[_0x5cd30b(0x211)]();const _0x48afd9=this[_0x5cd30b(0x30c)]['createInstance'](mt,_0x2a7dab,this[_0x5cd30b(0x2ee)][_0x5cd30b(0x2c5)]());return this[_0x5cd30b(0x309)][_0x5cd30b(0x375)](_0x2a7dab,_0x48afd9),_0x48afd9;}[_0x57ebea(0x35b)](_0x3f7290){var _0x396530=_0x57ebea,_0x239969;const _0x2eda2b=this[_0x396530(0x309)][_0x396530(0x19b)](_0x3f7290);_0x2eda2b&&(this[_0x396530(0x309)][_0x396530(0x22e)](_0x3f7290),_0x2eda2b['close']()),this['_sessions']['size']||(_0x239969=this[_0x396530(0x235)])==null||_0x239969['close']();}['reconnect'](){var _0x3de561=_0x57ebea;this[_0x3de561(0x3e3)]=0x0,this[_0x3de561(0x213)](),this['_tryReconnect']();}[_0x57ebea(0x213)](){var _0x5253a4=_0x57ebea;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x5253a4(0x1d5)]),this[_0x5253a4(0x1d5)]=null);}async[_0x57ebea(0x28a)](){var _0x469029=_0x57ebea,_0x2f3113;const _0x15818b=this['_configService'][_0x469029(0x1f4)](K),_0x4b0d83=(_0x2f3113=_0x15818b==null?void 0x0:_0x15818b[_0x469029(0x366)])!=null?_0x2f3113:Is,_0x34a5db=await this['_socketService'][_0x469029(0x190)](_0x4b0d83);return this['_candidateSocket']=_0x34a5db,_0x34a5db;}async[_0x57ebea(0x211)](){var _0x427bd6=_0x57ebea,_0x33f718,_0x8a036b;try{const _0x493f73=(_0x8a036b=(_0x33f718=this[_0x427bd6(0x235)])!=null?_0x33f718:this[_0x427bd6(0x34a)])!=null?_0x8a036b:await this[_0x427bd6(0x28a)]();if(_0x493f73){const _0x1764f8=_0x493f73[_0x427bd6(0x2f5)];_0x493f73[_0x427bd6(0x2f5)]=_0x4a8f58=>(this[_0x427bd6(0x3ff)](),_0x1764f8[_0x427bd6(0x2d4)](_0x493f73,[_0x4a8f58])),_0x493f73[_0x427bd6(0x2fb)][_0x427bd6(0x3dc)](_0x3a046a=>this['_onMessage'](_0x493f73,_0x3a046a)),_0x493f73[_0x427bd6(0x175)][_0x427bd6(0x165)](_0x28466d(0x1))[_0x427bd6(0x3dc)](_0x3755cb=>this[_0x427bd6(0x3cc)]['error'](_0x427bd6(0x274),_0x3755cb)),_0x493f73[_0x427bd6(0x205)][_0x427bd6(0x165)](_0x28466d(0x1))[_0x427bd6(0x3dc)](()=>{var _0x2f194c=_0x427bd6;this[_0x2f194c(0x406)](_0x493f73);}),_0x493f73[_0x427bd6(0x1ec)][_0x427bd6(0x165)](_0x28466d(0x1))[_0x427bd6(0x3dc)](_0x3c9de9=>{var _0x2a017d=_0x427bd6;this[_0x2a017d(0x3cc)][_0x2a017d(0x3b7)](_0x2a017d(0x445),_0x2a017d(0x440),_0x3c9de9),this['_onConnectionFailed']();});}}catch(_0x4a02d4){this['_logService'][_0x427bd6(0x379)](_0x4a02d4),this['_onConnectionFailed']();}}[_0x57ebea(0x406)](_0x1b7696){var _0x34b203=_0x57ebea;this['_logService'][_0x34b203(0x3b7)](_0x34b203(0x445),'socket\x20open.'),_0x1b7696['send']({'cmd':j[_0x34b203(0x321)]}),this['_rescheduleHeartbeat']();}[_0x57ebea(0x418)](){var _0x35b90f=_0x57ebea;this[_0x35b90f(0x1dc)]=!0x1,this[_0x35b90f(0x34a)]=null,this[_0x35b90f(0x29f)][_0x35b90f(0x372)](me[_0x35b90f(0x230)]),this['_socket$'][_0x35b90f(0x372)](null),this[_0x35b90f(0x1ff)](),this[_0x35b90f(0x307)]();}['_onConnectionFailed'](){var _0x219cc6=_0x57ebea,_0x4c1644;this[_0x219cc6(0x418)](),this['_retryCount']<((_0x4c1644=this[_0x219cc6(0x25c)]['getConfig'](Os))!=null?_0x4c1644:Rs)?(this[_0x219cc6(0x150)][_0x219cc6(0x37b)]({'id':re[_0x219cc6(0x2db)]}),this[_0x219cc6(0x257)]()):this[_0x219cc6(0x150)][_0x219cc6(0x37b)]({'id':re[_0x219cc6(0x2f1)]});}[_0x57ebea(0x257)](){var _0x38751b=_0x57ebea,_0x5d52a6;const _0xc4e34b=this['_retryCount'],_0x55c7a9=this[_0x38751b(0x25c)][_0x38751b(0x1f4)](K),_0x1464b5=_0xc4e34b===0x0?0x0:((_0x5d52a6=_0x55c7a9==null?void 0x0:_0x55c7a9[_0x38751b(0x398)])!=null?_0x5d52a6:Ts)*0x2**_0xc4e34b;this[_0x38751b(0x1d5)]=setTimeout(()=>{var _0x18c0b6=_0x38751b;clearTimeout(this[_0x18c0b6(0x1d5)]),this[_0x18c0b6(0x1d5)]=null,this['_tryEnsureSocket']();},_0x1464b5),this[_0x38751b(0x3e3)]+=0x1;}[_0x57ebea(0x247)](_0x302424,_0x58f472){var _0x251aa5=_0x57ebea;const {cmd:_0x27dca8}=_0x58f472;_0x27dca8===j['HELLO']&&!this['_socketReady']&&(_0x302424[_0x251aa5(0x329)]=_0x58f472[_0x251aa5(0x455)]['memberID'],this[_0x251aa5(0x2ee)]['next'](_0x302424),this['_status$'][_0x251aa5(0x372)](me[_0x251aa5(0x2f7)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x27dca8===j['HEARTBEAT']&&this[_0x251aa5(0x1ff)](),this[_0x251aa5(0x3ff)]();}['_rescheduleHeartbeat'](){var _0x1b2972=_0x57ebea,_0x34cb70;this['_clearHeartbeatTimer'](),this[_0x1b2972(0x323)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x34cb70=this['_configService']['getConfig'](Ss))!=null?_0x34cb70:gs);}[_0x57ebea(0x1c8)](){var _0x354aef=_0x57ebea;this[_0x354aef(0x235)][_0x354aef(0x2f5)]({'cmd':j[_0x354aef(0x27a)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x5036fc=_0x57ebea,_0x2e6bc5;this[_0x5036fc(0x218)]=setTimeout(()=>this[_0x5036fc(0x422)](),(_0x2e6bc5=this[_0x5036fc(0x25c)]['getConfig'](di))!=null?_0x2e6bc5:fi);}[_0x57ebea(0x307)](){var _0x3314df=_0x57ebea;this[_0x3314df(0x323)]!=null&&(clearTimeout(this[_0x3314df(0x323)]),this['_sendHeartbeatTimer']=null);}[_0x57ebea(0x1ff)](){var _0x58d353=_0x57ebea;this[_0x58d353(0x218)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};we=Xs([Re(0x0,_0xd9eea8(_0xa5b871)),Re(0x1,_0x395070),Re(0x2,_0x218bfc),Re(0x3,Ri),Re(0x4,_0xd9eea8(ve)),Re(0x5,_0x4761ab(Vs))],we);var Js=Object[_0x57ebea(0x1a9)],Zs=(_0x2044ba,_0x4a0fe4,_0x17f30b,_0x26279c)=>{for(var _0x4c1acc=_0x26279c>0x1?void 0x0:_0x26279c?Js(_0x4a0fe4,_0x17f30b):_0x4a0fe4,_0x4165e6=_0x2044ba['length']-0x1,_0x44d8a7;_0x4165e6>=0x0;_0x4165e6--)(_0x44d8a7=_0x2044ba[_0x4165e6])&&(_0x4c1acc=_0x44d8a7(_0x4c1acc)||_0x4c1acc);return _0x4c1acc;},Be=(_0x35707c,_0x380470)=>(_0x4f2ea2,_0xc3dab)=>_0x380470(_0x4f2ea2,_0xc3dab,_0x35707c);let nt=class extends _0xdd442f{constructor(_0x32af5e,_0x4f5250,_0x3136b3,_0x5d64e4){var _0x1e8873=_0x57ebea,_0x3a79d8;super(),D(this,_0x1e8873(0x442),new Map()),D(this,'_entityInit$',new _0x244912()),D(this,_0x1e8873(0x2ed),this[_0x1e8873(0x209)][_0x1e8873(0x2c5)]()),(this['_injector']=_0x32af5e,this['_collabSessionService']=_0x4f5250,this['_configService']=_0x3136b3,this[_0x1e8873(0x26b)]=_0x5d64e4,((_0x3a79d8=this[_0x1e8873(0x25c)][_0x1e8873(0x1f4)](K))==null?void 0x0:_0x3a79d8[_0x1e8873(0x1d3)])!==!0x1&&this[_0x1e8873(0x18a)]());}['dispose'](){var _0x3f010c=_0x57ebea;super['dispose'](),this[_0x3f010c(0x442)]['forEach'](_0x578d08=>_0x578d08['dispose']()),this[_0x3f010c(0x442)][_0x3f010c(0x2b7)]();}[_0x57ebea(0x25f)](_0x5e37ad){var _0x38b1e9=_0x57ebea,_0x4a0908;return(_0x4a0908=this[_0x38b1e9(0x442)][_0x38b1e9(0x19b)](_0x5e37ad))!=null?_0x4a0908:null;}['getCollabEntity$'](_0x17aa15){var _0x44cc43=_0x57ebea;const _0x12dc68=this[_0x44cc43(0x25f)](_0x17aa15);return _0x12dc68?_0x1ac9d2(_0x12dc68):this['_entityInit$'][_0x44cc43(0x165)](_0x39a069(_0x24804e=>_0x24804e[_0x44cc43(0x1fb)]===_0x17aa15));}['readyForCollab'](_0x48942d){var _0x180cfe=_0x57ebea;return _0x274940(this[_0x180cfe(0x263)](_0x48942d)[_0x180cfe(0x165)](_0xd5a8e5(()=>{})));}[_0x57ebea(0x18a)](){var _0x2cf54e=_0x57ebea;this[_0x2cf54e(0x26b)][_0x2cf54e(0x255)](_0x3d0f32[_0x2cf54e(0x382)])['pipe'](_0x1eb31f(this[_0x2cf54e(0x1c5)]),_0x2f97fd(0x10))[_0x2cf54e(0x3dc)](async _0x4851e7=>{var _0x36c127=_0x2cf54e;const _0xe45b0c=_0x4851e7[_0x36c127(0x1c3)](),_0xe09c49=await this[_0x36c127(0x298)](_0xe45b0c,Q[_0x36c127(0x382)]);this[_0x36c127(0x442)][_0x36c127(0x375)](_0xe45b0c,_0xe09c49);}),this[_0x2cf54e(0x26b)][_0x2cf54e(0x255)](_0x3d0f32[_0x2cf54e(0x234)])[_0x2cf54e(0x165)](_0x1eb31f(this[_0x2cf54e(0x1c5)]),_0x2f97fd(0x10))[_0x2cf54e(0x165)](_0x39a069(_0xfc6e8b=>!_0xfc6e8b['getUnitId']()[_0x2cf54e(0x1f5)]('__')))[_0x2cf54e(0x3dc)](async _0x226780=>{var _0xdb7302=_0x2cf54e;const _0xae2c7f=_0x226780[_0xdb7302(0x1c3)](),_0x275e3b=await this[_0xdb7302(0x298)](_0xae2c7f,Q['UNIVER_DOC']);this[_0xdb7302(0x442)]['set'](_0xae2c7f,_0x275e3b);}),_0xad8c79(this['_univerInstanceService'][_0x2cf54e(0x152)](_0x3d0f32[_0x2cf54e(0x382)]),this[_0x2cf54e(0x26b)][_0x2cf54e(0x152)](_0x3d0f32['UNIVER_DOC']))['pipe'](_0x1eb31f(this[_0x2cf54e(0x1c5)]))[_0x2cf54e(0x3dc)](_0x56a153=>{var _0x3c96d1=_0x2cf54e;const _0x31a062=_0x56a153[_0x3c96d1(0x1c3)](),_0x33629f=this[_0x3c96d1(0x442)][_0x3c96d1(0x19b)](_0x31a062);_0x33629f&&(_0x33629f[_0x3c96d1(0x181)](),this[_0x3c96d1(0x442)]['delete'](_0x31a062));});}async['_startCollaboration'](_0x565195,_0xcdee95){var _0x152ce2=_0x57ebea;const _0x3c4626=await this[_0x152ce2(0x3f4)][_0x152ce2(0x3b1)](_0x565195),_0x412c4f=this[_0x152ce2(0x30c)][_0x152ce2(0x220)](this['_getCtorByUniverType'](_0xcdee95),_0x565195,_0xcdee95,_0x3c4626);return await _0x412c4f[_0x152ce2(0x3a1)](),this[_0x152ce2(0x209)][_0x152ce2(0x372)](_0x412c4f),_0x412c4f;}['_getCtorByUniverType'](_0x1e7429){var _0x459bc1=_0x57ebea;switch(_0x1e7429){case Q[_0x459bc1(0x234)]:return It;case Q[_0x459bc1(0x382)]:return St;default:throw new Error(_0x459bc1(0x344)+_0x1e7429);}}};nt=Zs([Be(0x0,_0xd9eea8(_0xa5b871)),Be(0x1,_0xd9eea8(we)),Be(0x2,_0x218bfc),Be(0x3,_0xde0007)],nt);var Qs=Object[_0x57ebea(0x1a9)],en=(_0x329671,_0x6435cc,_0x423a97,_0x5cbb26)=>{for(var _0x52a1f1=_0x5cbb26>0x1?void 0x0:_0x5cbb26?Qs(_0x6435cc,_0x423a97):_0x6435cc,_0x59e7c6=_0x329671['length']-0x1,_0x16cd7a;_0x59e7c6>=0x0;_0x59e7c6--)(_0x16cd7a=_0x329671[_0x59e7c6])&&(_0x52a1f1=_0x16cd7a(_0x52a1f1)||_0x52a1f1);return _0x52a1f1;},Wt=(_0x4b80ee,_0x2e9f89)=>(_0x76ddc4,_0x19bf59)=>_0x2e9f89(_0x76ddc4,_0x19bf59,_0x4b80ee);const tn='DEFAULT_FILE_NAME',sn='Univer';let gt=class extends _0x396fad{constructor(_0x392506,_0x198db1){var _0x138963=_0x57ebea;super(),this[_0x138963(0x26b)]=_0x392506,this[_0x138963(0x25c)]=_0x198db1,this[_0x138963(0x18a)]();}[_0x57ebea(0x18a)](){var _0x5984dc=_0x57ebea;this['disposeWithMe'](this[_0x5984dc(0x26b)][_0x5984dc(0x39d)]['subscribe'](()=>{var _0x5bac97=_0x5984dc,_0x4ecac2;const _0x343818=this['_univerInstanceService'][_0x5bac97(0x3d7)]();let _0x25fffc=(_0x4ecac2=this[_0x5bac97(0x25c)][_0x5bac97(0x1f4)](tn))!=null?_0x4ecac2:sn;_0x343818 instanceof _0x148482&&(_0x25fffc=_0x343818[_0x5bac97(0x3ea)]),document[_0x5bac97(0x1fa)]=_0x25fffc;}));}};function _0x3257(){var _0x22b044=['ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','clone','csAckEvent','_userManagerService','/allowed','_retryCount','_HTTPService','format','ENTITLE_COUPON_EXPIRED','/resources','[OfflineState]:\x20received\x20acknowledgement.','JOIN_ROOM_NOT_EXISTS','name','/role','_getSignURL','collaMsg','shouldCloseConn','min','NoPadding','/object/','_getUploadFileURL','liveShareNewHost','_collabSessionService','updateCursorEvent','put','REDEMPTION_CODE_HAS_BEEN_CREATED','UNDEFINED','SUBMIT_CHANGESET','save\x20fail\x20reason\x20is\x20','stringify','image/jpg','/universer-api/comb','getSheetId','_rescheduleHeartbeat','/collaborator','repeat','INVALID_INVITE_CODE','encodeURIComponent','EvpKDF','_resendTimer','_onConnectionOpen','REDEMPTION_CODE_NOT_STARTED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Latin1','IDLE','Decryptor','USER_NOT_INVITED_CODE','_eventService','slice','toString','onRemoteChangeset','_prevBlock','src','collabSubmitChangesetUrl','ciphertext','_doCreateSocket','BlockCipherMode','POST','_onOffline','ENTITLE_CAN_NOT_BUY_LOWER_OTP','[PendingState]:\x20received\x20acknowledgement.','addHandlerCallback','LOCAL_CACHE_INTERVAL','_emitMembers','LICENSE_EXPORT_SIZE_EXCEEDED','routeKey','_scheduleCollaborationTimeoutTimer','fetch_missing','_onConnectionFailed','onRemoteRetry','_compressMutationService','INVALID_ARGUMENT','LOGIN_TOKEN_PROCESSING_FAILED','refreshPermission','_revisionService','getResourcesRequest','complete','_remoteChangesetQueue','UUID','requestParams','_reverseMap','listRoles','_socketMessageSubscription','_initUnitPermissionChange','LEAVE','_map','/rev/','_clearScheduledTask','_state$','params','REDEMPTION_CODE_INACTIVE','joinEvent','__creator','downloadEndpointUrl','blockSize','Cipher','JOIN_ROOM_FAILED','add','socket\x20close','325416dbqIww','_entities','random','_onLocalMutation','[CollaborationSessionService]','_permissionService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Hasher','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','ENTITLE_USE_COUPON_NOT_1ST_TRADE','__Key__','function','_updateStatus','Pkcs7','[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.','MUTATION','UPDATE_PERMISSION_OBJ','_disableEditing','USERS_ENTER','_substituteUndoStack','data','YUUMI_UNABLE_LOAD_URL','_onFetchMissResult','replace','5526khxaPm','_process','compute','_submitChangeset','_doProcessBlock','_networkConditionService','BufferedBlockAlgorithm','_transformService','extend','sin','_decreaseWaiting','transformSelections','MSG_FOR_ERROR','_transformStack','csShouldRetryEvent','/unit/','_config','_localeService','onRemoteAck','compose','filter','initWorkbookPermissionChange','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_parse','MOBILE_VERIFY_CODE_MISMATCH','_onRecvEvent','LIVESHARE_OPERATION','status$','_collaborationUIEventService','_createInitialStateImpl','getTypeOfUnitDisposed$','SUBMIT_CHANGESET_TIMEOUT','ERROR_EXCEED_SIZE','YUUMI_ASYNCIO_CANCELLED','UNKNOWN_CODE','[CollaborationUndoRedoService]','APPLY_DUPLICATED','readInt32LE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INVITE_CODE_REQUIRED','ERROR_IMAGE_TYPE','mutations','getSnapshotAPIPath','hostname','APPLY_REVISION_CONFILICT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','m2Prime','capture','USER_NOT_FOUND','pipe','_resendWithTimeout','collaboration-client.local-cache-service','clamp','UNAUTHENTICATED','getCurrentRevOfUnit','REDEMPTION_CODE_FULLY_REDEEMED','_iKey','CHANGESET_ACK','updateMember','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PENDING','unsubscribe','_telemetryInfo','fetchMiss','_doFinalize','error$','Error\x20on\x20receiving\x20event','[CollaborationSession]','_unitID','changesets','auth.needGotoLoginAlert','HttpExport','waitForRoom$','objectID','BlockCipher','startTime','find','dispose','transformChangesets','duration','loadOfflineData','\x20in\x20_schedule.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onSendChangeset','_unlockTransition','newCsEvent','_init','/-/object/list','unit-cache-','roomInfos','AWAITING','RECV','createSocket','getInterceptPoints','sid','_undoRedoService','141891buUcFI','localeService','cfg','finalize','getLatestCsReqIdBySid','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','loadUnit','get','updatePermissionPoint','snapshotServerUrl','_joinRoom','FETCH_MISS','_roomMembers','Utf8','AES','ERROR_IMAGE','_changesetReqId','list','getImage','override','COMPLETION_FINISHED','getOwnPropertyDescriptor','EMAIL_HAS_BEEN_BOUND','_append','ivSize','_transformIMECache','YUUMI_AI_RUN_FAILED','encode','[CollaborationEntity]','{fileID}','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','join','originalMeta','UNIVER_SLIDE','LIVESHARE_TERMINATE','commentUpdateEvent','_updateState','PERMISSION_DENIED','FETCH_MISSING','fetching\x20missing\x20changesets\x20from\x20','_handler','__esModule','getRoom','PY_RUNTIME_SCRIPT_ERROR','csRejEvent','isArray','_getCurrentRevision','getUnitId','INVITE_CODE_HAS_BEEN_UES','dispose$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPRESS_MUTATION_APPLY','_sendHeartbeat','OPTIONAL','key','_xformMode','entries','setCurrentUser','HmacSHA1','getUnit','actions','sigBytes','_applyRemoteChangeset','enableCollaboration','LOGIN_FAILED','_retryConnectingTimer','getWorkbookSelections','enableAuthServer','getCurrentSelections','_toggleOnline','defineProperty','_replaceFileID','_socketReady','_pendingMutations','APPLY_REJECT','formatter','onCommentUpdate','OTHER_CLIENT_EDITING','fromCollab','substr','sessionStatus$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collaborationTimeoutTimer','2761065spXfYN','onMissingChangesets','LIVESHARE_NEW_HOST','People','members','close$','localCacheService','signUrlServerUrl','getUnitStatus$','getAllMembers','reverse','unitId','BASE64','getConfig','startsWith','Base','objectType','OTHER_CLIENTS_EDITING','x-univer-host','title','unitID','REDEMPTION_INVALID_CODE','MD5','1942fuAtqy','_clearTimeoutTimer','charAt','_replayCachedMutations','_registerDependencies','enableSingleActiveInstanceLock','pad','open$','getRandomValues','_checkMissing','USERS_LEAVE','_entityInit$','UNKNOWN_CMD','NEW_CHANGESETS','abs','[OfflineState]:\x20received\x20rejection.','conflict','words','onMutationExecutedForCollab','_tryEnsureSocket','JOIN','_clearRetryConnectingTimer','post','getUnitOnRev','_type','mixIn','_timeoutTimer','mode','/fetchmissing?from=','getTime','univer-pro.collaboration-client.single-active-unit-service','objects','\x20-\x20','/universer-api/oidc/authpage','createInstance','/universer-api/file/{fileID}/sign-url','setConfig','YUUMI_URL_COL_OUT_OF_RANGE','floor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_telemetryService','byteOffset','INVITE_CODE_ALREADY_BOUND','kdf','_shouldReportTelemetry','univer-pro.collaboration-client-socket-service','_minBufferSize','GLOBAL_ROOMS_CNT_EXCEEDS','delete','splice','OFFLINE','salt','_incrementRevisionNumber','_ENC_XFORM_MODE','UNIVER_DOC','_socket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_NON_SEQUENTIAL_REVISION','_waitCount','revision','LIVESHARE_REQUEST_HOST','image/gif','_getAPIPrefix','decryptBlock','CHANGESET_SHOULD_RETRY','?size=','crypto','putCollaborators','session.room-not-exists','_onJoinRoomEvent','offline','resolve','_toggleOffline','_onMessage','DATA_SOURCE_TOO_LARGE','default','UserProfileImg','_queuedRemoteChangesets','WordArray','SerializableCipher','disposeWithMe','_transformUndoredo','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','parse','toggleOnline','_doCryptBlock','getValue','getTypeOfUnitAdded$','_hash','_tryReconnect','ENTITLE_NEED_BILLING_ADDRESS','Failed\x20to\x20update\x20permission\x20point','enc','UNIVER_PROJECT','_configService','/universer-api/snapshot','__splitChunk__','getCollabEntity','CipherParams','fromCharCode','ws://127.0.0.1:8000/universer-api/comb/connect','getCollabEntity$','sessionStatus','COMPRESS_MUTATION_SEND','[SyncedState]:\x20received\x20acknowledgement.','_mode','saveSnapshot','LICENSE_IMPORT_SIZE_EXCEEDED','_substituteRedoStack','_univerInstanceService','onMissedChangesetFetched','interceptor','YUUMI_NO_CUBOID_FOR_QUESTION','_key','string','_clearLocalCache','Hex','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[CollaborationSessionService]:\x20socket\x20error','snapshot','_acknowledgedAwaitingChangeset','_awaitingChangeset','_executeRemoteChangeset','_onConflict','HEARTBEAT','_DEC_XFORM_MODE','1912584mByfhI','onTransformState','reject','awaiting_with_pending','has','NOT_FOUND','\x0aAfter:\x20','ceil','every','location','type','fetchThroughInterceptors','_nRounds','AUTHORIZE_CODE_ILLEGAL','_createSocket','_scheduleCompleteTimestamp','getImageSourceCache','collaborators','_commandService','_doReset','create','length','enableOfflineEditing','textRanges','updateSnapshot','getMember','uploadFileServerUrl','getCurrentUser','_startCollaboration','editingUnit','responseType','RETRY_CONNECTING_MAX_COUNT','_onRemoteChangeset','keySize','close','_status$','YUUMI_CONNECTOR_URL_NOT_FOUND','pending','selections','deleteCollaborator','ENTITLE_CHAT_LIMIT_EXCEED','_snapshotService','userID','onTransformRemoteChangesetByStateCache','8579380eRSpQD','collaboration_new_changeset','64DojRQz','_onRemoteRetry','?url=','loadDoc','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onRemoteRej','addImageSourceCache','liveShareOperation','createEncryptor','REDEMPTION_USER_NOT_ELIGIBLE','ENSURE_SNAPSHOT_EXECUTION','_initRequestHeader','call','clear','algo','_snapshotServerService','size','connection\x20error','&to=','encrypt','status','reqId','UNIVER_UNKNOWN','Encryptor','_getAPIPrefixPath','getDeserializedSheetBlock','CHANGESET_REJ','asObservable','indexOf','LICENSE_DISTRO_REJECTED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','updateOfflineData','workbook','max','appendMutation','_keyPriorReset','baseRev','getUnitType','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','[FetchMissState]','removeMember','_oKey','apply','url','_localCacheService','HEARTBEAT_INTERVAL','/new_changes','includes','FAIL','SOCKET_FAILED_RETRY','_singleActiveUnitService','execute','socket$','_iv','concat','fetchMissingChangesets','leaveEvent','onlyLocal','_startTelemetryCollaborationNewChangeset','CHANGESET_REVISION_CONFILICT','_memberService','CONNECTOR_DATA_TOO_LARGE','_onCombEvent','subject','saveChangeset','onLocalMutation','ALREADY_EXISTS','entityInit$','_socket$','commentUpdate$','_resendTimeout','SOCKET_FAILED','_change$','_collaborationSessionService','_data','send','_state','ONLINE','_sessionStatus$','PSEUDO_FETCH_MISSING_RESULT','Undefined','message$','avatar','_changesetSessionId','saveSheetBlock','_getRedoStack','_transformRemoteChangesetByIMECache','_onRemoteRejected','_unitInfo$','USER_IS_ANONYMOUS','_createHandler','_instanceService','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearHeartbeatTimer','append','_sessions','ENTITLE_INSUFFICIENT_QUOTA','_createHmacHelper','_injector','state','&assign=','padding','catch','HEARTBEAT_TIMEOUT','NO_OTHER_CLIENTS_EDITING','FileId','_showConflictNotification','UnitEmbedded','APPLY_PERMISSION_DENIED','reset','_throwTelemetryCollaborationNewChangeset','_event$','code','values','JOINING','/universer-api/authz','transformStack\x20failed!','[DataLoaderService]','_httpService','HELLO','stopTime','_sendHeartbeatTimer','awaitingChangeset','1239QVUjot','socketService','_transitionLocked','CURRENT_STATUS_CANNOT_OPERATE','memberID','OpenSSL','PERSON','c1Prime','map','[UniverCollaborationClientPlugin]','_nDataBytes','YUUMI_ALL_TABLES_IS_INVALID','HMAC','onStarting','_initDependencies','TOO_MANY_REQUESTS','unitId\x20is\x20not\x20found','prototype','session.room-full','Base64','JOIN_ROOM_FULL','getActiveSheet','sheets','\x20to\x20','_members','MOBILE_HAS_BEEN_BOUND','toggleOffline','_transformStateCache','permissionRejEvent','transformMutationsWithChangeset','loadUnitOfRevision','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Could\x20not\x20dynamically\x20require\x20\x22','transformUndoRedo','_getDownloadEndpointURL','LIVESHARE_FETCH_OPERATIONS','PAYMENT_CHANNEL_NOT_SUPPORT','_candidateSocket','eventID','onTransformIME','allowed','_onUserJoin','UNRECOGNIZED','target','PERMISSION_REJ','forEach','LICENSE_MAX_UNITS_EXCEEDED','collaboratorID','_sender','_members$','_sheetTransformSelectionsService','_onRemoteACK','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','isPermissionRej','closeSession','CLOSE_ROOM','_sendingTimer','onload','/block/','update','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','WECHAT_HAS_BEEN_BOUND','state$','unitInfo$','reduce','collabWebSocketUrl','SNAPSHOT_URL_KEY','_getLoginPath','action','method','HttpImport','randomBytes','_createInitialState','ENTITLE_DUP_SUBSCRIPTION','SHOULD_CLOSE_CONN','registerHTTPInterceptor','awaiting','next','/universer-api/uniscript','setWaitCount','set','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_listenToNetworkCondition','_onUserLeave','error','_transformSelections','emitEvent','processBlock','_imageSourceCache','push','msCrypto','_collaborationPaused','_schedule','UNIVER_SHEET','hasher','executeCommand','/-/object/-/batch_allowed','hasOwnProperty','getMemberID','objectActions','getSheetBlock','setShowComponents','_removeRoom','ClipsheetFragments','pauseCollaboration','copyFileMeta','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','body','1408zApSsh','$super','image/jpeg','infoRsp','SUCCUSS','_transformRemoteChangesetByStateCache','editing\x20status\x20changed\x20to','retryConnectingInterval','_fetchMissChangesets','\x0aCurrent:\x20','origin','failed\x20to\x20apply\x20missed\x20changesets!','focused$','CONFLICT','SHA1','_keySchedule','init','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ENTITLE_COUPON_USED_UP','event$','_updateLocalCache','_roomCreated$','lib','online$','session.join-failed','_maxTotalRetryTimeout','_isPermissionRej','result','session','_invKeySchedule','headers','resend','requireSession','_getUndoStack','unknown','/universer-api/stream/file/upload','_commentUpdate$','ERROR_AGAIN','debug','_clearCollaborationTimeoutTimer','INTERNAL_ERROR','_cipher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','byteLength','collaboration-client.config','href','univer-pro.collaboration-client.network-condition.service','_getSendChangesetTimeout','synced','encryptBlock','exports','_handlerCallback','INGEST','onTransformSelections','_hasher','AWAITING_WITH_PENDING','SNAPSHOT_INVALID_SNAPSHOT','disableLocalCache','charCodeAt','_logService','file','ENTITLE_INVALID_COUPON_CODE','UPDATE_CURSOR','range','updateCollaborator','_lockTransition','createDecryptor','onStateChange','cmd','_initMergeInterceptor','getFocusedUnit','StreamCipher','onSyncEditingCollabCursor','confirm','onTransformRemoteChangesetByIMECache','subscribe','_createHelper'];_0x3257=function(){return _0x22b044;};return _0x3257();}gt=en([Wt(0x0,_0xde0007),Wt(0x1,_0x218bfc)],gt);var nn=Object[_0x57ebea(0x1a9)],rn=(_0x105e95,_0x57fc20,_0x51762b,_0x51135b)=>{var _0x453181=_0x57ebea;for(var _0x126527=_0x51135b>0x1?void 0x0:_0x51135b?nn(_0x57fc20,_0x51762b):_0x57fc20,_0x3bceeb=_0x105e95[_0x453181(0x291)]-0x1,_0x105a09;_0x3bceeb>=0x0;_0x3bceeb--)(_0x105a09=_0x105e95[_0x3bceeb])&&(_0x126527=_0x105a09(_0x126527)||_0x126527);return _0x126527;},dt=(_0x59e48d,_0x3d9af0)=>(_0x4949cd,_0x2d47b6)=>_0x3d9af0(_0x4949cd,_0x2d47b6,_0x59e48d);let rt=class{constructor(_0x4771af,_0x8f80a8,_0x23b470){var _0x2d9bde=_0x57ebea;this[_0x2d9bde(0x25c)]=_0x4771af,this['_httpService']=_0x8f80a8,this[_0x2d9bde(0x195)]=_0x23b470,this[_0x2d9bde(0x3a1)]();}['init'](){var _0x1f4b26=_0x57ebea;this[_0x1f4b26(0x320)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x290340,_0x17cf54)=>_0x17cf54(_0x290340)[_0x1f4b26(0x165)](_0xce9a5e(async _0xaa64aa=>{var _0x102f2d=_0x1f4b26;const _0x356185=_0xaa64aa;if(_0x356185['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x102f2d(0x3da)](this[_0x102f2d(0x195)]['t'](_0x102f2d(0x17a)))){const _0x3c7574=window[_0x102f2d(0x403)](window['location'][_0x102f2d(0x3be)]);window[_0x102f2d(0x285)][_0x102f2d(0x3be)]=this[_0x102f2d(0x368)]()+_0x102f2d(0x2ac)+_0x3c7574;}}return _0x356185;}))});}[_0x57ebea(0x368)](){var _0x3c38fa;const _0x11014a=this['_configService']['getConfig'](K);return(_0x3c38fa=_0x11014a==null?void 0x0:_0x11014a['loginUrlKey'])!=null?_0x3c38fa:Cs;}};rt=rn([dt(0x0,_0x218bfc),dt(0x1,_0xd9eea8(_0x3e703e)),dt(0x2,_0xd9eea8(_0x28b880))],rt);var an=Object[_0x57ebea(0x1a9)],on=(_0x18cda4,_0x1bd542,_0x303ea6,_0x31362f)=>{var _0x2fc8be=_0x57ebea;for(var _0x584448=_0x31362f>0x1?void 0x0:_0x31362f?an(_0x1bd542,_0x303ea6):_0x1bd542,_0x32e1ab=_0x18cda4[_0x2fc8be(0x291)]-0x1,_0x1e3935;_0x32e1ab>=0x0;_0x32e1ab--)(_0x1e3935=_0x18cda4[_0x32e1ab])&&(_0x584448=_0x1e3935(_0x584448)||_0x584448);return _0x584448;},Yt=(_0xa65eb0,_0x4017c1)=>(_0x46ecf1,_0x160110)=>_0x4017c1(_0x46ecf1,_0x160110,_0xa65eb0);const cn=_0x57ebea(0x31d);let Tt=class extends _0x396fad{constructor(_0x1813b2,_0x565cc5){var _0x56b82d=_0x57ebea;super(),this[_0x56b82d(0x3e4)]=_0x1813b2,this[_0x56b82d(0x25c)]=_0x565cc5,this[_0x56b82d(0x3d6)]();}['_initMergeInterceptor'](){var _0xc5a240=_0x57ebea;const _0x2088ef=this;this[_0xc5a240(0x24e)](this['_HTTPService'][_0xc5a240(0x370)]({'priority':0x3e7,'interceptor':_0x344d51({'isMatch'(_0x469921){var _0x3eb53f=_0xc5a240,_0x4b40d0;if(_0x469921[_0x3eb53f(0x36a)]===_0x3eb53f(0x417)&&((_0x4b40d0=_0x469921[_0x3eb53f(0x42d)])!=null&&_0x4b40d0[_0x3eb53f(0x390)])){const {objectID:_0x559f9a,objectType:_0x281ba6}=_0x469921['requestParams'][_0x3eb53f(0x390)]||{};if(!_0x559f9a||_0x281ba6===void 0x0)return!0x1;const _0x2a69e1=_0x2088ef[_0x3eb53f(0x2c2)]()+'/'+_0x281ba6+_0x3eb53f(0x3f1)+_0x559f9a+_0x3eb53f(0x3e2);if(_0x469921[_0x3eb53f(0x2d5)]===_0x2a69e1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x19e28b){var _0x4b1b44=_0xc5a240,_0x58268d;return(_0x58268d=_0x19e28b[_0x4b1b44(0x42d)])==null?void 0x0:_0x58268d['body'];},'mergeParamsToRequest'(_0x28fc94,_0x5bb405){var _0x442c9e=_0xc5a240;const _0xa57f69=_0x2088ef['_getAPIPrefixPath']()+_0x442c9e(0x385),_0x58431b=_0x28fc94[_0x442c9e(0x365)]((_0x7b1502,_0xa01062)=>{var _0x40d89a=_0x442c9e;const {unitID:_0x22508b,objectID:_0x16004d,objectType:_0x14ebbf,actions:_0x3abf55}=_0xa01062;return _0x7b1502[_0x22508b]||(_0x7b1502[_0x22508b]={}),_0x7b1502[_0x22508b][_0x16004d]||(_0x7b1502[_0x22508b][_0x16004d]={'objectID':_0x16004d,'objectType':_0x14ebbf,'actions':[]}),_0x7b1502[_0x22508b][_0x16004d][_0x40d89a(0x1d0)]['push'](..._0x3abf55),_0x7b1502;},{}),_0x82b2c1=[];for(const _0x207cc3 in _0x58431b)for(const _0x106f9f in _0x58431b[_0x207cc3]){const {actions:_0x491dbf,objectType:_0x430dfb}=_0x58431b[_0x207cc3][_0x106f9f],_0x44a281=[...new Set(_0x491dbf)];_0x82b2c1[_0x442c9e(0x37e)]({'unitID':_0x207cc3,'objectID':_0x106f9f,'objectType':_0x430dfb,'actions':_0x44a281});}return new _0x5e21a9('POST',_0xa57f69,{'headers':_0x5bb405[_0x442c9e(0x3af)],'withCredentials':_0x5bb405['withCredentials'],'responseType':_0x5bb405[_0x442c9e(0x29a)],'body':{'requests':_0x82b2c1}});}},{'distributeResult'(_0x5377bc,_0x2e1844){var _0x208d2d=_0xc5a240;const {objectActions:_0x4f5d3a}=_0x5377bc;return _0x2e1844[_0x208d2d(0x32d)](_0xe04840=>{var _0x2479e9=_0x208d2d;const {unitID:_0x3a8e9e,objectID:_0x2699a1,actions:_0xa79afb}=_0xe04840,_0x2667aa=_0x4f5d3a[_0x2479e9(0x180)](_0x1f3c06=>_0x1f3c06[_0x2479e9(0x1fb)]===_0x3a8e9e&&_0x1f3c06[_0x2479e9(0x17d)]===_0x2699a1),_0x2349f8=_0xa79afb[_0x2479e9(0x32d)](_0x467a3c=>_0x2667aa==null?void 0x0:_0x2667aa[_0x2479e9(0x1d0)][_0x2479e9(0x180)](_0x2f1e3f=>_0x2f1e3f[_0x2479e9(0x369)]===_0x467a3c))[_0x2479e9(0x148)](_0x480d63=>!!_0x480d63);return{'config':_0xe04840,'result':{'actions':_0x2349f8,'error':_0x5377bc['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x17fec1=_0x57ebea,_0xfb320;const _0x4cbf31=this[_0x17fec1(0x25c)][_0x17fec1(0x1f4)](K);return(_0xfb320=_0x4cbf31==null?void 0x0:_0x4cbf31['authzUrl'])!=null?_0xfb320:cn;}async['create'](_0x14f123){var _0x5dbf6a=_0x57ebea;const _0x493982=this['_getAPIPrefixPath']()+'/'+_0x14f123[_0x5dbf6a(0x1f7)]+'/object';return(await this['_HTTPService'][_0x5dbf6a(0x214)](_0x493982,{'body':_0x14f123}))[_0x5dbf6a(0x390)][_0x5dbf6a(0x17d)]||'';}async[_0x57ebea(0x1a5)](_0x5908f5){var _0x505740=_0x57ebea;const _0x560488=this[_0x505740(0x2c2)]()+_0x505740(0x18b);return(await this['_HTTPService'][_0x505740(0x214)](_0x560488,{'body':_0x5908f5}))[_0x505740(0x390)][_0x505740(0x21d)];}async[_0x57ebea(0x360)](_0x1e61a3){var _0x4c1a4f=_0x57ebea,_0x50c0ec,_0x589f9e;const _0x5b0ed1=this[_0x4c1a4f(0x2c2)]()+'/'+_0x1e61a3['objectType']+_0x4c1a4f(0x3f1)+_0x1e61a3[_0x4c1a4f(0x17d)],_0x4204d6=await this['_HTTPService'][_0x4c1a4f(0x3f6)](_0x5b0ed1,{'body':_0x1e61a3});if(((_0x589f9e=(_0x50c0ec=_0x4204d6==null?void 0x0:_0x4204d6['body'])==null?void 0x0:_0x50c0ec['error'])==null?void 0x0:_0x589f9e[_0x4c1a4f(0x31a)])!==0x1)throw new Error(_0x4c1a4f(0x259));}async[_0x57ebea(0x34d)](_0x94c4d6){var _0x227d98=_0x57ebea;const _0x231714=this['_getAPIPrefixPath']()+'/'+_0x94c4d6[_0x227d98(0x1f7)]+_0x227d98(0x3f1)+_0x94c4d6[_0x227d98(0x17d)]+_0x227d98(0x3e2);return(await this[_0x227d98(0x3e4)]['post'](_0x231714,{'body':_0x94c4d6}))[_0x227d98(0x390)]['actions'];}async['batchAllowed'](_0x55963f){var _0xb44d9d=_0x57ebea;const _0x115757=this[_0xb44d9d(0x2c2)]()+_0xb44d9d(0x385);return(await this[_0xb44d9d(0x3e4)][_0xb44d9d(0x214)](_0x115757,{'body':{'requests':_0x55963f}}))[_0xb44d9d(0x390)][_0xb44d9d(0x388)];}async[_0x57ebea(0x42f)](_0x3fdc69){var _0x4ceb8b=_0x57ebea;const _0x70aaa=this['_getAPIPrefixPath']()+'/'+_0x3fdc69[_0x4ceb8b(0x1f7)]+_0x4ceb8b(0x3eb),_0x3686f9=await this['_HTTPService'][_0x4ceb8b(0x214)](_0x70aaa,{'body':_0x3fdc69});return{'roles':_0x3686f9[_0x4ceb8b(0x390)]['roles'],'actions':_0x3686f9[_0x4ceb8b(0x390)][_0x4ceb8b(0x1d0)]};}async[_0x57ebea(0x2a3)](_0x1bf8f3){var _0x15bd18=_0x57ebea;const _0x53740a=this[_0x15bd18(0x2c2)]()+_0x15bd18(0x400);await this[_0x15bd18(0x3e4)]['delete'](_0x53740a,{'params':{'collaboratorID':_0x1bf8f3[_0x15bd18(0x354)],'objectID':_0x1bf8f3['objectID'],'unitID':_0x1bf8f3[_0x15bd18(0x1fb)]}});}async[_0x57ebea(0x3d1)](_0x43402e){var _0x475102=_0x57ebea;const _0x31ca7=this[_0x475102(0x2c2)]()+_0x475102(0x400);await this['_HTTPService']['patch'](_0x31ca7,{'body':_0x43402e});}async['createCollaborator'](_0x443aa2){var _0x4efb9d=_0x57ebea;const _0x145c81=this[_0x4efb9d(0x2c2)]()+'/collaborator';await this['_HTTPService'][_0x4efb9d(0x214)](_0x145c81,{'body':_0x443aa2});}async['listCollaborators'](_0x5ac504){var _0x5d9937=_0x57ebea;const _0x23a3c5=this[_0x5d9937(0x2c2)]()+_0x5d9937(0x400);return(await this[_0x5d9937(0x3e4)][_0x5d9937(0x19b)](_0x23a3c5,{'params':{'objectID':_0x5ac504[_0x5d9937(0x17d)],'unitID':_0x5ac504[_0x5d9937(0x1fb)]}}))[_0x5d9937(0x390)][_0x5d9937(0x28d)];}async[_0x57ebea(0x241)](_0x1a4e8d){var _0x266db3=_0x57ebea;const _0xa0ea3=this[_0x266db3(0x2c2)]()+_0x266db3(0x400);await this[_0x266db3(0x3e4)]['put'](_0xa0ea3,{'body':_0x1a4e8d});}};Tt=on([Yt(0x0,_0xd9eea8(_0x3e703e)),Yt(0x1,_0xd9eea8(_0x218bfc))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4e0648){var _0x3dc4ae=_0x57ebea;return _0x4e0648&&_0x4e0648[_0x3dc4ae(0x1bd)]&&Object[_0x3dc4ae(0x336)][_0x3dc4ae(0x386)][_0x3dc4ae(0x2b6)](_0x4e0648,'default')?_0x4e0648[_0x3dc4ae(0x249)]:_0x4e0648;}var Ve={'exports':{}};function _n(_0x2607d3){var _0xb0235f=_0x57ebea;throw new Error(_0xb0235f(0x345)+_0x2607d3+_0xb0235f(0x447));}var Ge={'exports':{}},hn=Ge[_0x57ebea(0x3c3)],Kt;function ie(){var _0x31315d=_0x57ebea;return Kt||(Kt=0x1,function(_0x5f31cb,_0x5ec697){(function(_0x42d0cf,_0x35a34b){var _0x35b142=_0x5a33;_0x5f31cb[_0x35b142(0x3c3)]=_0x35a34b();}(hn,function(){var _0x4eb446=_0x4eb446||function(_0x32dc9e,_0x173f26){var _0x17f365=_0x5a33,_0x3321fa;if(typeof window<'u'&&window[_0x17f365(0x240)]&&(_0x3321fa=window[_0x17f365(0x240)]),typeof self<'u'&&self[_0x17f365(0x240)]&&(_0x3321fa=self[_0x17f365(0x240)]),typeof globalThis<'u'&&globalThis[_0x17f365(0x240)]&&(_0x3321fa=globalThis[_0x17f365(0x240)]),!_0x3321fa&&typeof window<'u'&&window[_0x17f365(0x37f)]&&(_0x3321fa=window[_0x17f365(0x37f)]),!_0x3321fa&&typeof ft<'u'&&ft[_0x17f365(0x240)]&&(_0x3321fa=ft[_0x17f365(0x240)]),!_0x3321fa&&typeof _n==_0x17f365(0x44c))try{_0x3321fa=require('crypto');}catch{}var _0x17c052=function(){var _0x361b62=_0x17f365;if(_0x3321fa){if(typeof _0x3321fa[_0x361b62(0x206)]==_0x361b62(0x44c))try{return _0x3321fa[_0x361b62(0x206)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3321fa[_0x361b62(0x36c)]==_0x361b62(0x44c))try{return _0x3321fa[_0x361b62(0x36c)](0x4)[_0x361b62(0x159)]();}catch{}}throw new Error(_0x361b62(0x250));},_0x12f68f=Object[_0x17f365(0x290)]||(function(){function _0x5b76d0(){}return function(_0x241c5b){var _0x520820=_0x5a33,_0x3e28d1;return _0x5b76d0[_0x520820(0x336)]=_0x241c5b,_0x3e28d1=new _0x5b76d0(),_0x5b76d0[_0x520820(0x336)]=null,_0x3e28d1;};}()),_0x431970={},_0x51ed9f=_0x431970[_0x17f365(0x3a7)]={},_0x3f022e=_0x51ed9f[_0x17f365(0x1f6)]=(function(){return{'extend':function(_0x5cda96){var _0x2284e8=_0x5a33,_0x2fa31b=_0x12f68f(this);return _0x5cda96&&_0x2fa31b[_0x2284e8(0x217)](_0x5cda96),(!_0x2fa31b[_0x2284e8(0x386)](_0x2284e8(0x3a1))||this[_0x2284e8(0x3a1)]===_0x2fa31b['init'])&&(_0x2fa31b[_0x2284e8(0x3a1)]=function(){var _0xdf9ecc=_0x2284e8;_0x2fa31b[_0xdf9ecc(0x392)][_0xdf9ecc(0x3a1)][_0xdf9ecc(0x2d4)](this,arguments);}),_0x2fa31b[_0x2284e8(0x3a1)][_0x2284e8(0x336)]=_0x2fa31b,_0x2fa31b[_0x2284e8(0x392)]=this,_0x2fa31b;},'create':function(){var _0x2d4c63=_0x5a33,_0xb34654=this['extend']();return _0xb34654[_0x2d4c63(0x3a1)][_0x2d4c63(0x2d4)](_0xb34654,arguments),_0xb34654;},'init':function(){},'mixIn':function(_0x4aa842){var _0x4cba73=_0x5a33;for(var _0x1d3626 in _0x4aa842)_0x4aa842[_0x4cba73(0x386)](_0x1d3626)&&(this[_0x1d3626]=_0x4aa842[_0x1d3626]);_0x4aa842[_0x4cba73(0x386)](_0x4cba73(0x40f))&&(this['toString']=_0x4aa842[_0x4cba73(0x40f)]);},'clone':function(){var _0x24d1c1=_0x5a33;return this[_0x24d1c1(0x3a1)][_0x24d1c1(0x336)][_0x24d1c1(0x13c)](this);}};}()),_0xa0be1a=_0x51ed9f[_0x17f365(0x24c)]=_0x3f022e[_0x17f365(0x13c)]({'init':function(_0x375f3b,_0x2d9adc){var _0x275e2b=_0x17f365;_0x375f3b=this['words']=_0x375f3b||[],_0x2d9adc!=_0x173f26?this['sigBytes']=_0x2d9adc:this[_0x275e2b(0x1d1)]=_0x375f3b[_0x275e2b(0x291)]*0x4;},'toString':function(_0x535786){var _0x59f153=_0x17f365;return(_0x535786||_0x4f2b2b)[_0x59f153(0x3fb)](this);},'concat':function(_0x1d0a69){var _0x5480ac=_0x17f365,_0x17c030=this[_0x5480ac(0x20f)],_0x305c17=_0x1d0a69[_0x5480ac(0x20f)],_0x2e9772=this['sigBytes'],_0x15fcd0=_0x1d0a69[_0x5480ac(0x1d1)];if(this[_0x5480ac(0x168)](),_0x2e9772%0x4)for(var _0x17f4e7=0x0;_0x17f4e7<_0x15fcd0;_0x17f4e7++){var _0x4d616e=_0x305c17[_0x17f4e7>>>0x2]>>>0x18-_0x17f4e7%0x4*0x8&0xff;_0x17c030[_0x2e9772+_0x17f4e7>>>0x2]|=_0x4d616e<<0x18-(_0x2e9772+_0x17f4e7)%0x4*0x8;}else{for(var _0x43479c=0x0;_0x43479c<_0x15fcd0;_0x43479c+=0x4)_0x17c030[_0x2e9772+_0x43479c>>>0x2]=_0x305c17[_0x43479c>>>0x2];}return this[_0x5480ac(0x1d1)]+=_0x15fcd0,this;},'clamp':function(){var _0x2d30a6=_0x17f365,_0x5b18f2=this[_0x2d30a6(0x20f)],_0x2de364=this['sigBytes'];_0x5b18f2[_0x2de364>>>0x2]&=0xffffffff<<0x20-_0x2de364%0x4*0x8,_0x5b18f2[_0x2d30a6(0x291)]=_0x32dc9e[_0x2d30a6(0x283)](_0x2de364/0x4);},'clone':function(){var _0x3f05cb=_0x17f365,_0x43dafe=_0x3f022e[_0x3f05cb(0x3df)]['call'](this);return _0x43dafe['words']=this[_0x3f05cb(0x20f)]['slice'](0x0),_0x43dafe;},'random':function(_0x47bf49){var _0x3c83de=_0x17f365;for(var _0x428ddf=[],_0x549ecf=0x0;_0x549ecf<_0x47bf49;_0x549ecf+=0x4)_0x428ddf[_0x3c83de(0x37e)](_0x17c052());return new _0xa0be1a[(_0x3c83de(0x3a1))](_0x428ddf,_0x47bf49);}}),_0x113642=_0x431970['enc']={},_0x4f2b2b=_0x113642[_0x17f365(0x272)]={'stringify':function(_0x977c7d){var _0x4b2f7d=_0x17f365;for(var _0x281890=_0x977c7d[_0x4b2f7d(0x20f)],_0x4a1503=_0x977c7d[_0x4b2f7d(0x1d1)],_0x1ac297=[],_0x57c23a=0x0;_0x57c23a<_0x4a1503;_0x57c23a++){var _0x16a137=_0x281890[_0x57c23a>>>0x2]>>>0x18-_0x57c23a%0x4*0x8&0xff;_0x1ac297[_0x4b2f7d(0x37e)]((_0x16a137>>>0x4)['toString'](0x10)),_0x1ac297[_0x4b2f7d(0x37e)]((_0x16a137&0xf)[_0x4b2f7d(0x40f)](0x10));}return _0x1ac297[_0x4b2f7d(0x1b3)]('');},'parse':function(_0x59a645){var _0x219278=_0x17f365;for(var _0x4a14ae=_0x59a645[_0x219278(0x291)],_0x1c96c9=[],_0x79809d=0x0;_0x79809d<_0x4a14ae;_0x79809d+=0x2)_0x1c96c9[_0x79809d>>>0x3]|=parseInt(_0x59a645[_0x219278(0x1e3)](_0x79809d,0x2),0x10)<<0x18-_0x79809d%0x8*0x4;return new _0xa0be1a['init'](_0x1c96c9,_0x4a14ae/0x2);}},_0x4958c9=_0x113642[_0x17f365(0x409)]={'stringify':function(_0x2106b9){var _0xbce392=_0x17f365;for(var _0x38645f=_0x2106b9[_0xbce392(0x20f)],_0x449d6c=_0x2106b9[_0xbce392(0x1d1)],_0x5801d1=[],_0x44bbea=0x0;_0x44bbea<_0x449d6c;_0x44bbea++){var _0x3e227f=_0x38645f[_0x44bbea>>>0x2]>>>0x18-_0x44bbea%0x4*0x8&0xff;_0x5801d1[_0xbce392(0x37e)](String[_0xbce392(0x261)](_0x3e227f));}return _0x5801d1[_0xbce392(0x1b3)]('');},'parse':function(_0x406e26){var _0x4fe4ec=_0x17f365;for(var _0x221c9c=_0x406e26[_0x4fe4ec(0x291)],_0x5115e9=[],_0x214f83=0x0;_0x214f83<_0x221c9c;_0x214f83++)_0x5115e9[_0x214f83>>>0x2]|=(_0x406e26[_0x4fe4ec(0x3cb)](_0x214f83)&0xff)<<0x18-_0x214f83%0x4*0x8;return new _0xa0be1a[(_0x4fe4ec(0x3a1))](_0x5115e9,_0x221c9c);}},_0x4d8d1c=_0x113642['Utf8']={'stringify':function(_0x4c6b0f){var _0x1415b3=_0x17f365;try{return decodeURIComponent(escape(_0x4958c9[_0x1415b3(0x3fb)](_0x4c6b0f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x398241){var _0x538353=_0x17f365;return _0x4958c9[_0x538353(0x251)](unescape(encodeURIComponent(_0x398241)));}},_0x428e39=_0x51ed9f[_0x17f365(0x13a)]=_0x3f022e[_0x17f365(0x13c)]({'reset':function(){var _0x495331=_0x17f365;this[_0x495331(0x2f4)]=new _0xa0be1a[(_0x495331(0x3a1))](),this[_0x495331(0x32f)]=0x0;},'_append':function(_0x357cef){var _0x1af717=_0x17f365;typeof _0x357cef==_0x1af717(0x270)&&(_0x357cef=_0x4d8d1c[_0x1af717(0x251)](_0x357cef)),this[_0x1af717(0x2f4)][_0x1af717(0x2e0)](_0x357cef),this[_0x1af717(0x32f)]+=_0x357cef['sigBytes'];},'_process':function(_0x3e4ebe){var _0x2c561a=_0x17f365,_0x2541c5,_0x25bae1=this[_0x2c561a(0x2f4)],_0x2ca8f7=_0x25bae1[_0x2c561a(0x20f)],_0x403e6d=_0x25bae1[_0x2c561a(0x1d1)],_0x3ba9a1=this[_0x2c561a(0x43c)],_0x39fb69=_0x3ba9a1*0x4,_0x4734e3=_0x403e6d/_0x39fb69;_0x3e4ebe?_0x4734e3=_0x32dc9e[_0x2c561a(0x283)](_0x4734e3):_0x4734e3=_0x32dc9e['max']((_0x4734e3|0x0)-this[_0x2c561a(0x22c)],0x0);var _0x1c521f=_0x4734e3*_0x3ba9a1,_0x309237=_0x32dc9e[_0x2c561a(0x3ef)](_0x1c521f*0x4,_0x403e6d);if(_0x1c521f){for(var _0x1d22ee=0x0;_0x1d22ee<_0x1c521f;_0x1d22ee+=_0x3ba9a1)this[_0x2c561a(0x138)](_0x2ca8f7,_0x1d22ee);_0x2541c5=_0x2ca8f7[_0x2c561a(0x22f)](0x0,_0x1c521f),_0x25bae1[_0x2c561a(0x1d1)]-=_0x309237;}return new _0xa0be1a[(_0x2c561a(0x3a1))](_0x2541c5,_0x309237);},'clone':function(){var _0x3b63c6=_0x17f365,_0x2cbd29=_0x3f022e[_0x3b63c6(0x3df)]['call'](this);return _0x2cbd29[_0x3b63c6(0x2f4)]=this[_0x3b63c6(0x2f4)][_0x3b63c6(0x3df)](),_0x2cbd29;},'_minBufferSize':0x0});_0x51ed9f['Hasher']=_0x428e39[_0x17f365(0x13c)]({'cfg':_0x3f022e[_0x17f365(0x13c)](),'init':function(_0x31a273){var _0x46dcc8=_0x17f365;this[_0x46dcc8(0x196)]=this[_0x46dcc8(0x196)][_0x46dcc8(0x13c)](_0x31a273),this[_0x46dcc8(0x317)]();},'reset':function(){var _0x5b2497=_0x17f365;_0x428e39[_0x5b2497(0x317)][_0x5b2497(0x2b6)](this),this[_0x5b2497(0x28f)]();},'update':function(_0x3c9cac){var _0x3f088a=_0x17f365;return this[_0x3f088a(0x1ab)](_0x3c9cac),this[_0x3f088a(0x45a)](),this;},'finalize':function(_0x17504e){var _0x3448ac=_0x17f365;_0x17504e&&this[_0x3448ac(0x1ab)](_0x17504e);var _0x5020b2=this['_doFinalize']();return _0x5020b2;},'blockSize':0x10,'_createHelper':function(_0x147b90){return function(_0x229365,_0x18490d){var _0x1245ff=_0x5a33;return new _0x147b90[(_0x1245ff(0x3a1))](_0x18490d)['finalize'](_0x229365);};},'_createHmacHelper':function(_0x57a646){return function(_0x525d11,_0x3fefea){var _0xc0db7=_0x5a33;return new _0x3feee7['HMAC'][(_0xc0db7(0x3a1))](_0x57a646,_0x3fefea)[_0xc0db7(0x197)](_0x525d11);};}});var _0x3feee7=_0x431970[_0x17f365(0x2b8)]={};return _0x431970;}(Math);return _0x4eb446;}));}(Ge)),Ge[_0x31315d(0x3c3)];}var We={'exports':{}},ln=We[_0x57ebea(0x3c3)],qt;function Ni(){return qt||(qt=0x1,function(_0x2d766a,_0x451bf1){(function(_0xcfdf12,_0x205a8d){_0x2d766a['exports']=_0x205a8d(ie());}(ln,function(_0x1fdda6){var _0x229b47=_0x5a33;return(function(){var _0x455d42=_0x5a33,_0x504a33=_0x1fdda6,_0x1ad934=_0x504a33[_0x455d42(0x3a7)],_0x5d5044=_0x1ad934['WordArray'],_0x28c952=_0x504a33['enc'];_0x28c952[_0x455d42(0x338)]={'stringify':function(_0x44af85){var _0x53c4fa=_0x455d42,_0x36cfa4=_0x44af85['words'],_0x565446=_0x44af85[_0x53c4fa(0x1d1)],_0xf095f1=this[_0x53c4fa(0x433)];_0x44af85[_0x53c4fa(0x168)]();for(var _0x2d41ea=[],_0x3d1ba5=0x0;_0x3d1ba5<_0x565446;_0x3d1ba5+=0x3)for(var _0x3813a1=_0x36cfa4[_0x3d1ba5>>>0x2]>>>0x18-_0x3d1ba5%0x4*0x8&0xff,_0x2a213b=_0x36cfa4[_0x3d1ba5+0x1>>>0x2]>>>0x18-(_0x3d1ba5+0x1)%0x4*0x8&0xff,_0x2474f2=_0x36cfa4[_0x3d1ba5+0x2>>>0x2]>>>0x18-(_0x3d1ba5+0x2)%0x4*0x8&0xff,_0x991a22=_0x3813a1<<0x10|_0x2a213b<<0x8|_0x2474f2,_0x5d728b=0x0;_0x5d728b<0x4&&_0x3d1ba5+_0x5d728b*0.75<_0x565446;_0x5d728b++)_0x2d41ea[_0x53c4fa(0x37e)](_0xf095f1[_0x53c4fa(0x200)](_0x991a22>>>0x6*(0x3-_0x5d728b)&0x3f));var _0x571f82=_0xf095f1['charAt'](0x40);if(_0x571f82){for(;_0x2d41ea['length']%0x4;)_0x2d41ea[_0x53c4fa(0x37e)](_0x571f82);}return _0x2d41ea[_0x53c4fa(0x1b3)]('');},'parse':function(_0x4d9c8e){var _0x54c4ce=_0x455d42,_0x50f6cd=_0x4d9c8e[_0x54c4ce(0x291)],_0x33ed03=this[_0x54c4ce(0x433)],_0x2a79cd=this['_reverseMap'];if(!_0x2a79cd){_0x2a79cd=this[_0x54c4ce(0x42e)]=[];for(var _0x1471d1=0x0;_0x1471d1<_0x33ed03[_0x54c4ce(0x291)];_0x1471d1++)_0x2a79cd[_0x33ed03['charCodeAt'](_0x1471d1)]=_0x1471d1;}var _0x40f9cf=_0x33ed03[_0x54c4ce(0x200)](0x40);if(_0x40f9cf){var _0x6d55a1=_0x4d9c8e[_0x54c4ce(0x2c6)](_0x40f9cf);_0x6d55a1!==-0x1&&(_0x50f6cd=_0x6d55a1);}return _0x27c432(_0x4d9c8e,_0x50f6cd,_0x2a79cd);},'_map':_0x455d42(0x3de)};function _0x27c432(_0x5bf125,_0x4c21fc,_0x1346e9){var _0x3f2cf2=_0x455d42;for(var _0xcb64e7=[],_0x55aabd=0x0,_0x484fc7=0x0;_0x484fc7<_0x4c21fc;_0x484fc7++)if(_0x484fc7%0x4){var _0x5bb525=_0x1346e9[_0x5bf125['charCodeAt'](_0x484fc7-0x1)]<<_0x484fc7%0x4*0x2,_0x2e2ff9=_0x1346e9[_0x5bf125[_0x3f2cf2(0x3cb)](_0x484fc7)]>>>0x6-_0x484fc7%0x4*0x2,_0x54ac10=_0x5bb525|_0x2e2ff9;_0xcb64e7[_0x55aabd>>>0x2]|=_0x54ac10<<0x18-_0x55aabd%0x4*0x8,_0x55aabd++;}return _0x5d5044[_0x3f2cf2(0x290)](_0xcb64e7,_0x55aabd);}}()),_0x1fdda6[_0x229b47(0x25a)][_0x229b47(0x338)];}));}(We)),We['exports'];}var Ye={'exports':{}},un=Ye[_0x57ebea(0x3c3)],zt;function dn(){return zt||(zt=0x1,function(_0x1ceb61,_0x5b8259){(function(_0x513beb,_0x45262e){var _0x4372f9=_0x5a33;_0x1ceb61[_0x4372f9(0x3c3)]=_0x45262e(ie());}(un,function(_0x704114){var _0x21ddc8=_0x5a33;return function(_0x16e2cf){var _0x1950f8=_0x5a33,_0x5a5430=_0x704114,_0x3a449c=_0x5a5430[_0x1950f8(0x3a7)],_0x4976c3=_0x3a449c[_0x1950f8(0x24c)],_0x16302a=_0x3a449c[_0x1950f8(0x448)],_0x5a9821=_0x5a5430[_0x1950f8(0x2b8)],_0x1762ef=[];(function(){var _0x52955b=_0x1950f8;for(var _0x374d0c=0x0;_0x374d0c<0x40;_0x374d0c++)_0x1762ef[_0x374d0c]=_0x16e2cf[_0x52955b(0x20c)](_0x16e2cf[_0x52955b(0x13d)](_0x374d0c+0x1))*0x100000000|0x0;}());var _0x5d9cfa=_0x5a9821[_0x1950f8(0x1fd)]=_0x16302a[_0x1950f8(0x13c)]({'_doReset':function(){var _0x34e6d7=_0x1950f8;this[_0x34e6d7(0x256)]=new _0x4976c3[(_0x34e6d7(0x3a1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2fac30,_0x3e81c4){var _0x491634=_0x1950f8;for(var _0x21fff6=0x0;_0x21fff6<0x10;_0x21fff6++){var _0x401d7e=_0x3e81c4+_0x21fff6,_0x2d4bc9=_0x2fac30[_0x401d7e];_0x2fac30[_0x401d7e]=(_0x2d4bc9<<0x8|_0x2d4bc9>>>0x18)&0xff00ff|(_0x2d4bc9<<0x18|_0x2d4bc9>>>0x8)&0xff00ff00;}var _0x4cee49=this[_0x491634(0x256)][_0x491634(0x20f)],_0x181feb=_0x2fac30[_0x3e81c4+0x0],_0x6f06b0=_0x2fac30[_0x3e81c4+0x1],_0x55c02f=_0x2fac30[_0x3e81c4+0x2],_0x5720fd=_0x2fac30[_0x3e81c4+0x3],_0x52beb0=_0x2fac30[_0x3e81c4+0x4],_0x257678=_0x2fac30[_0x3e81c4+0x5],_0x18d680=_0x2fac30[_0x3e81c4+0x6],_0x326e5b=_0x2fac30[_0x3e81c4+0x7],_0x532fe8=_0x2fac30[_0x3e81c4+0x8],_0x1d40d0=_0x2fac30[_0x3e81c4+0x9],_0x15bd13=_0x2fac30[_0x3e81c4+0xa],_0x2337cc=_0x2fac30[_0x3e81c4+0xb],_0x4e930b=_0x2fac30[_0x3e81c4+0xc],_0x4311f4=_0x2fac30[_0x3e81c4+0xd],_0x3690e0=_0x2fac30[_0x3e81c4+0xe],_0x29ab48=_0x2fac30[_0x3e81c4+0xf],_0x3e441f=_0x4cee49[0x0],_0x118d8e=_0x4cee49[0x1],_0x555807=_0x4cee49[0x2],_0x562821=_0x4cee49[0x3];_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x181feb,0x7,_0x1762ef[0x0]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x6f06b0,0xc,_0x1762ef[0x1]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x55c02f,0x11,_0x1762ef[0x2]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x5720fd,0x16,_0x1762ef[0x3]),_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x52beb0,0x7,_0x1762ef[0x4]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x257678,0xc,_0x1762ef[0x5]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x18d680,0x11,_0x1762ef[0x6]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x326e5b,0x16,_0x1762ef[0x7]),_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x532fe8,0x7,_0x1762ef[0x8]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x1d40d0,0xc,_0x1762ef[0x9]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x15bd13,0x11,_0x1762ef[0xa]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x2337cc,0x16,_0x1762ef[0xb]),_0x3e441f=_0x489de2(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4e930b,0x7,_0x1762ef[0xc]),_0x562821=_0x489de2(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x4311f4,0xc,_0x1762ef[0xd]),_0x555807=_0x489de2(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x3690e0,0x11,_0x1762ef[0xe]),_0x118d8e=_0x489de2(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x29ab48,0x16,_0x1762ef[0xf]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x6f06b0,0x5,_0x1762ef[0x10]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x18d680,0x9,_0x1762ef[0x11]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x2337cc,0xe,_0x1762ef[0x12]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x181feb,0x14,_0x1762ef[0x13]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x257678,0x5,_0x1762ef[0x14]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x15bd13,0x9,_0x1762ef[0x15]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x29ab48,0xe,_0x1762ef[0x16]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x52beb0,0x14,_0x1762ef[0x17]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x1d40d0,0x5,_0x1762ef[0x18]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x3690e0,0x9,_0x1762ef[0x19]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x5720fd,0xe,_0x1762ef[0x1a]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x532fe8,0x14,_0x1762ef[0x1b]),_0x3e441f=_0x352b58(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4311f4,0x5,_0x1762ef[0x1c]),_0x562821=_0x352b58(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x55c02f,0x9,_0x1762ef[0x1d]),_0x555807=_0x352b58(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x326e5b,0xe,_0x1762ef[0x1e]),_0x118d8e=_0x352b58(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x4e930b,0x14,_0x1762ef[0x1f]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x257678,0x4,_0x1762ef[0x20]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x532fe8,0xb,_0x1762ef[0x21]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x2337cc,0x10,_0x1762ef[0x22]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x3690e0,0x17,_0x1762ef[0x23]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x6f06b0,0x4,_0x1762ef[0x24]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x52beb0,0xb,_0x1762ef[0x25]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x326e5b,0x10,_0x1762ef[0x26]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x15bd13,0x17,_0x1762ef[0x27]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4311f4,0x4,_0x1762ef[0x28]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x181feb,0xb,_0x1762ef[0x29]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x5720fd,0x10,_0x1762ef[0x2a]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x18d680,0x17,_0x1762ef[0x2b]),_0x3e441f=_0x5aa061(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x1d40d0,0x4,_0x1762ef[0x2c]),_0x562821=_0x5aa061(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x4e930b,0xb,_0x1762ef[0x2d]),_0x555807=_0x5aa061(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x29ab48,0x10,_0x1762ef[0x2e]),_0x118d8e=_0x5aa061(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x55c02f,0x17,_0x1762ef[0x2f]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x181feb,0x6,_0x1762ef[0x30]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x326e5b,0xa,_0x1762ef[0x31]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x3690e0,0xf,_0x1762ef[0x32]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x257678,0x15,_0x1762ef[0x33]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x4e930b,0x6,_0x1762ef[0x34]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x5720fd,0xa,_0x1762ef[0x35]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x15bd13,0xf,_0x1762ef[0x36]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x6f06b0,0x15,_0x1762ef[0x37]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x532fe8,0x6,_0x1762ef[0x38]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x29ab48,0xa,_0x1762ef[0x39]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x18d680,0xf,_0x1762ef[0x3a]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x4311f4,0x15,_0x1762ef[0x3b]),_0x3e441f=_0xf968f0(_0x3e441f,_0x118d8e,_0x555807,_0x562821,_0x52beb0,0x6,_0x1762ef[0x3c]),_0x562821=_0xf968f0(_0x562821,_0x3e441f,_0x118d8e,_0x555807,_0x2337cc,0xa,_0x1762ef[0x3d]),_0x555807=_0xf968f0(_0x555807,_0x562821,_0x3e441f,_0x118d8e,_0x55c02f,0xf,_0x1762ef[0x3e]),_0x118d8e=_0xf968f0(_0x118d8e,_0x555807,_0x562821,_0x3e441f,_0x1d40d0,0x15,_0x1762ef[0x3f]),_0x4cee49[0x0]=_0x4cee49[0x0]+_0x3e441f|0x0,_0x4cee49[0x1]=_0x4cee49[0x1]+_0x118d8e|0x0,_0x4cee49[0x2]=_0x4cee49[0x2]+_0x555807|0x0,_0x4cee49[0x3]=_0x4cee49[0x3]+_0x562821|0x0;},'_doFinalize':function(){var _0x4d9565=_0x1950f8,_0x2a9352=this['_data'],_0x20ad25=_0x2a9352[_0x4d9565(0x20f)],_0x494e09=this[_0x4d9565(0x32f)]*0x8,_0x1dc758=_0x2a9352['sigBytes']*0x8;_0x20ad25[_0x1dc758>>>0x5]|=0x80<<0x18-_0x1dc758%0x20;var _0x5bdf46=_0x16e2cf[_0x4d9565(0x224)](_0x494e09/0x100000000),_0x1ab000=_0x494e09;_0x20ad25[(_0x1dc758+0x40>>>0x9<<0x4)+0xf]=(_0x5bdf46<<0x8|_0x5bdf46>>>0x18)&0xff00ff|(_0x5bdf46<<0x18|_0x5bdf46>>>0x8)&0xff00ff00,_0x20ad25[(_0x1dc758+0x40>>>0x9<<0x4)+0xe]=(_0x1ab000<<0x8|_0x1ab000>>>0x18)&0xff00ff|(_0x1ab000<<0x18|_0x1ab000>>>0x8)&0xff00ff00,_0x2a9352['sigBytes']=(_0x20ad25['length']+0x1)*0x4,this[_0x4d9565(0x45a)]();for(var _0x4110e1=this[_0x4d9565(0x256)],_0x428e47=_0x4110e1[_0x4d9565(0x20f)],_0x4fc1d7=0x0;_0x4fc1d7<0x4;_0x4fc1d7++){var _0x573d01=_0x428e47[_0x4fc1d7];_0x428e47[_0x4fc1d7]=(_0x573d01<<0x8|_0x573d01>>>0x18)&0xff00ff|(_0x573d01<<0x18|_0x573d01>>>0x8)&0xff00ff00;}return _0x4110e1;},'clone':function(){var _0x3d13cb=_0x1950f8,_0x5eed6e=_0x16302a[_0x3d13cb(0x3df)][_0x3d13cb(0x2b6)](this);return _0x5eed6e[_0x3d13cb(0x256)]=this[_0x3d13cb(0x256)][_0x3d13cb(0x3df)](),_0x5eed6e;}});function _0x489de2(_0x49426b,_0xabf306,_0xb26cfe,_0x219c33,_0x480f99,_0x58d5e3,_0x27d4e0){var _0x3d7006=_0x49426b+(_0xabf306&_0xb26cfe|~_0xabf306&_0x219c33)+_0x480f99+_0x27d4e0;return(_0x3d7006<<_0x58d5e3|_0x3d7006>>>0x20-_0x58d5e3)+_0xabf306;}function _0x352b58(_0x418418,_0x5f0d03,_0x5cdb60,_0x50fd06,_0x59fe17,_0x26bc4c,_0x27524f){var _0x4ec055=_0x418418+(_0x5f0d03&_0x50fd06|_0x5cdb60&~_0x50fd06)+_0x59fe17+_0x27524f;return(_0x4ec055<<_0x26bc4c|_0x4ec055>>>0x20-_0x26bc4c)+_0x5f0d03;}function _0x5aa061(_0x1fd96c,_0x5c81c7,_0x77f170,_0x4d261f,_0xe8190a,_0x260296,_0x5b2e16){var _0x3b6a3d=_0x1fd96c+(_0x5c81c7^_0x77f170^_0x4d261f)+_0xe8190a+_0x5b2e16;return(_0x3b6a3d<<_0x260296|_0x3b6a3d>>>0x20-_0x260296)+_0x5c81c7;}function _0xf968f0(_0x213043,_0x2be3d7,_0x32f0c7,_0x30e35b,_0x227ebe,_0x1a0822,_0x46193e){var _0x3da01f=_0x213043+(_0x32f0c7^(_0x2be3d7|~_0x30e35b))+_0x227ebe+_0x46193e;return(_0x3da01f<<_0x1a0822|_0x3da01f>>>0x20-_0x1a0822)+_0x2be3d7;}_0x5a5430[_0x1950f8(0x1fd)]=_0x16302a[_0x1950f8(0x3dd)](_0x5d9cfa),_0x5a5430['HmacMD5']=_0x16302a[_0x1950f8(0x30b)](_0x5d9cfa);}(Math),_0x704114[_0x21ddc8(0x1fd)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},fn=qe['exports'],Xt;function vn(){var _0x4724dd=_0x57ebea;return Xt||(Xt=0x1,function(_0x181142,_0xa8ff8e){(function(_0x3edc43,_0x2fe021){var _0x15bd79=_0x5a33;_0x181142[_0x15bd79(0x3c3)]=_0x2fe021(ie());}(fn,function(_0x2b441e){var _0x455bf6=_0x5a33;return(function(){var _0x57f007=_0x5a33,_0x62afd=_0x2b441e,_0xe15636=_0x62afd[_0x57f007(0x3a7)],_0x5e8c86=_0xe15636[_0x57f007(0x24c)],_0x1ff4b5=_0xe15636[_0x57f007(0x448)],_0x279d4d=_0x62afd[_0x57f007(0x2b8)],_0x170da8=[],_0x3b5369=_0x279d4d[_0x57f007(0x39f)]=_0x1ff4b5['extend']({'_doReset':function(){var _0x1255e1=_0x57f007;this[_0x1255e1(0x256)]=new _0x5e8c86['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x36d9a8,_0x124e2f){var _0x5c9298=_0x57f007;for(var _0x22c88e=this[_0x5c9298(0x256)][_0x5c9298(0x20f)],_0x59d74e=_0x22c88e[0x0],_0x610bbe=_0x22c88e[0x1],_0x4c09a3=_0x22c88e[0x2],_0x17e24b=_0x22c88e[0x3],_0x2c70a8=_0x22c88e[0x4],_0x6c0098=0x0;_0x6c0098<0x50;_0x6c0098++){if(_0x6c0098<0x10)_0x170da8[_0x6c0098]=_0x36d9a8[_0x124e2f+_0x6c0098]|0x0;else{var _0x1ca958=_0x170da8[_0x6c0098-0x3]^_0x170da8[_0x6c0098-0x8]^_0x170da8[_0x6c0098-0xe]^_0x170da8[_0x6c0098-0x10];_0x170da8[_0x6c0098]=_0x1ca958<<0x1|_0x1ca958>>>0x1f;}var _0x376ff4=(_0x59d74e<<0x5|_0x59d74e>>>0x1b)+_0x2c70a8+_0x170da8[_0x6c0098];_0x6c0098<0x14?_0x376ff4+=(_0x610bbe&_0x4c09a3|~_0x610bbe&_0x17e24b)+0x5a827999:_0x6c0098<0x28?_0x376ff4+=(_0x610bbe^_0x4c09a3^_0x17e24b)+0x6ed9eba1:_0x6c0098<0x3c?_0x376ff4+=(_0x610bbe&_0x4c09a3|_0x610bbe&_0x17e24b|_0x4c09a3&_0x17e24b)-0x70e44324:_0x376ff4+=(_0x610bbe^_0x4c09a3^_0x17e24b)-0x359d3e2a,_0x2c70a8=_0x17e24b,_0x17e24b=_0x4c09a3,_0x4c09a3=_0x610bbe<<0x1e|_0x610bbe>>>0x2,_0x610bbe=_0x59d74e,_0x59d74e=_0x376ff4;}_0x22c88e[0x0]=_0x22c88e[0x0]+_0x59d74e|0x0,_0x22c88e[0x1]=_0x22c88e[0x1]+_0x610bbe|0x0,_0x22c88e[0x2]=_0x22c88e[0x2]+_0x4c09a3|0x0,_0x22c88e[0x3]=_0x22c88e[0x3]+_0x17e24b|0x0,_0x22c88e[0x4]=_0x22c88e[0x4]+_0x2c70a8|0x0;},'_doFinalize':function(){var _0x324ce5=_0x57f007,_0x54bb14=this[_0x324ce5(0x2f4)],_0x161870=_0x54bb14[_0x324ce5(0x20f)],_0x4afc31=this[_0x324ce5(0x32f)]*0x8,_0x5810b7=_0x54bb14[_0x324ce5(0x1d1)]*0x8;return _0x161870[_0x5810b7>>>0x5]|=0x80<<0x18-_0x5810b7%0x20,_0x161870[(_0x5810b7+0x40>>>0x9<<0x4)+0xe]=Math[_0x324ce5(0x224)](_0x4afc31/0x100000000),_0x161870[(_0x5810b7+0x40>>>0x9<<0x4)+0xf]=_0x4afc31,_0x54bb14[_0x324ce5(0x1d1)]=_0x161870[_0x324ce5(0x291)]*0x4,this[_0x324ce5(0x45a)](),this['_hash'];},'clone':function(){var _0x16ecea=_0x57f007,_0xae58fd=_0x1ff4b5[_0x16ecea(0x3df)][_0x16ecea(0x2b6)](this);return _0xae58fd[_0x16ecea(0x256)]=this['_hash'][_0x16ecea(0x3df)](),_0xae58fd;}});_0x62afd['SHA1']=_0x1ff4b5[_0x57f007(0x3dd)](_0x3b5369),_0x62afd[_0x57f007(0x1ce)]=_0x1ff4b5['_createHmacHelper'](_0x3b5369);}()),_0x2b441e[_0x455bf6(0x39f)];}));}(qe)),qe[_0x4724dd(0x3c3)];}var ze={'exports':{}},En=ze[_0x57ebea(0x3c3)],Jt;function pn(){return Jt||(Jt=0x1,function(_0x5f397f,_0x251c0b){(function(_0x1920b4,_0x572bf9){var _0x54da21=_0x5a33;_0x5f397f[_0x54da21(0x3c3)]=_0x572bf9(ie());}(En,function(_0x175e8d){(function(){var _0x4aee1e=_0x5a33,_0x9fe075=_0x175e8d,_0x3425af=_0x9fe075[_0x4aee1e(0x3a7)],_0x1f4292=_0x3425af['Base'],_0x4fe72e=_0x9fe075[_0x4aee1e(0x25a)],_0xe25843=_0x4fe72e['Utf8'],_0x48f0f4=_0x9fe075['algo'];_0x48f0f4[_0x4aee1e(0x331)]=_0x1f4292[_0x4aee1e(0x13c)]({'init':function(_0x55319d,_0x5d541c){var _0x7371bc=_0x4aee1e;_0x55319d=this[_0x7371bc(0x3c7)]=new _0x55319d['init'](),typeof _0x5d541c==_0x7371bc(0x270)&&(_0x5d541c=_0xe25843['parse'](_0x5d541c));var _0x43117d=_0x55319d['blockSize'],_0x474c37=_0x43117d*0x4;_0x5d541c['sigBytes']>_0x474c37&&(_0x5d541c=_0x55319d[_0x7371bc(0x197)](_0x5d541c)),_0x5d541c[_0x7371bc(0x168)]();for(var _0x53249b=this[_0x7371bc(0x2d3)]=_0x5d541c['clone'](),_0x2d763a=this[_0x7371bc(0x16c)]=_0x5d541c[_0x7371bc(0x3df)](),_0x26ed8d=_0x53249b['words'],_0x51e5a3=_0x2d763a['words'],_0x5a04ea=0x0;_0x5a04ea<_0x43117d;_0x5a04ea++)_0x26ed8d[_0x5a04ea]^=0x5c5c5c5c,_0x51e5a3[_0x5a04ea]^=0x36363636;_0x53249b[_0x7371bc(0x1d1)]=_0x2d763a['sigBytes']=_0x474c37,this[_0x7371bc(0x317)]();},'reset':function(){var _0x4a0b17=_0x4aee1e,_0x1d5835=this[_0x4a0b17(0x3c7)];_0x1d5835[_0x4a0b17(0x317)](),_0x1d5835[_0x4a0b17(0x360)](this[_0x4a0b17(0x16c)]);},'update':function(_0x20d029){var _0x4c04a0=_0x4aee1e;return this[_0x4c04a0(0x3c7)][_0x4c04a0(0x360)](_0x20d029),this;},'finalize':function(_0x5b4d9b){var _0x56a557=_0x4aee1e,_0x296c36=this[_0x56a557(0x3c7)],_0x3d393e=_0x296c36[_0x56a557(0x197)](_0x5b4d9b);_0x296c36[_0x56a557(0x317)]();var _0x133cba=_0x296c36[_0x56a557(0x197)](this[_0x56a557(0x2d3)]['clone']()['concat'](_0x3d393e));return _0x133cba;}});}());}));}(ze)),ze['exports'];}var mn=Ke[_0x57ebea(0x3c3)],Zt;function Ci(){var _0x57c5a7=_0x57ebea;return Zt||(Zt=0x1,function(_0x45109d,_0x12d330){(function(_0x5c3e6b,_0x452382,_0x1d4515){var _0x4fd5bc=_0x5a33;_0x45109d[_0x4fd5bc(0x3c3)]=_0x452382(ie(),vn(),pn());}(mn,function(_0x135271){var _0x5f1ad9=_0x5a33;return(function(){var _0x309952=_0x5a33,_0x473be1=_0x135271,_0x8825a=_0x473be1['lib'],_0x274087=_0x8825a[_0x309952(0x1f6)],_0x260026=_0x8825a[_0x309952(0x24c)],_0x4b4f68=_0x473be1[_0x309952(0x2b8)],_0x1aac04=_0x4b4f68[_0x309952(0x1fd)],_0x4046fd=_0x4b4f68['EvpKDF']=_0x274087[_0x309952(0x13c)]({'cfg':_0x274087[_0x309952(0x13c)]({'keySize':0x80/0x20,'hasher':_0x1aac04,'iterations':0x1}),'init':function(_0x17b0f4){var _0x2cf79d=_0x309952;this['cfg']=this[_0x2cf79d(0x196)]['extend'](_0x17b0f4);},'compute':function(_0x491d96,_0x4df337){var _0x387c15=_0x309952;for(var _0x355a14,_0x477396=this[_0x387c15(0x196)],_0x1231d7=_0x477396['hasher'][_0x387c15(0x290)](),_0x5ed83c=_0x260026['create'](),_0x3b8c8f=_0x5ed83c[_0x387c15(0x20f)],_0x582695=_0x477396[_0x387c15(0x29d)],_0x9167ea=_0x477396['iterations'];_0x3b8c8f[_0x387c15(0x291)]<_0x582695;){_0x355a14&&_0x1231d7['update'](_0x355a14),_0x355a14=_0x1231d7['update'](_0x491d96)['finalize'](_0x4df337),_0x1231d7['reset']();for(var _0x484a8c=0x1;_0x484a8c<_0x9167ea;_0x484a8c++)_0x355a14=_0x1231d7[_0x387c15(0x197)](_0x355a14),_0x1231d7['reset']();_0x5ed83c[_0x387c15(0x2e0)](_0x355a14);}return _0x5ed83c['sigBytes']=_0x582695*0x4,_0x5ed83c;}});_0x473be1[_0x309952(0x404)]=function(_0x4ed450,_0x2ebe16,_0x5201af){var _0x43bf23=_0x309952;return _0x4046fd[_0x43bf23(0x290)](_0x5201af)[_0x43bf23(0x45b)](_0x4ed450,_0x2ebe16);};}()),_0x135271[_0x5f1ad9(0x404)];}));}(Ke)),Ke[_0x57c5a7(0x3c3)];}var Xe={'exports':{}},In=Xe[_0x57ebea(0x3c3)],Qt;function bi(){var _0x4427b1=_0x57ebea;return Qt||(Qt=0x1,function(_0x7d9bd3,_0x275d89){(function(_0x39d34c,_0x3d0de7,_0x593039){_0x7d9bd3['exports']=_0x3d0de7(ie(),Ci());}(In,function(_0x340180){_0x340180['lib']['Cipher']||function(_0x15d9ae){var _0x3bdf30=_0x5a33,_0x960f19=_0x340180,_0x5d89e5=_0x960f19[_0x3bdf30(0x3a7)],_0x4165cd=_0x5d89e5[_0x3bdf30(0x1f6)],_0x298ea8=_0x5d89e5[_0x3bdf30(0x24c)],_0x56ed02=_0x5d89e5[_0x3bdf30(0x13a)],_0x3c2684=_0x960f19[_0x3bdf30(0x25a)];_0x3c2684[_0x3bdf30(0x1a1)];var _0x1a0b57=_0x3c2684[_0x3bdf30(0x338)],_0x1856fa=_0x960f19[_0x3bdf30(0x2b8)],_0x622884=_0x1856fa[_0x3bdf30(0x404)],_0x1fb095=_0x5d89e5[_0x3bdf30(0x43d)]=_0x56ed02['extend']({'cfg':_0x4165cd[_0x3bdf30(0x13c)](),'createEncryptor':function(_0x344d59,_0x296eea){var _0x53180b=_0x3bdf30;return this['create'](this[_0x53180b(0x233)],_0x344d59,_0x296eea);},'createDecryptor':function(_0x4bb007,_0x5b1e78){var _0x18a8c0=_0x3bdf30;return this['create'](this[_0x18a8c0(0x27b)],_0x4bb007,_0x5b1e78);},'init':function(_0x23221e,_0x1c4e2d,_0x33b3d5){var _0x1cbe65=_0x3bdf30;this[_0x1cbe65(0x196)]=this['cfg'][_0x1cbe65(0x13c)](_0x33b3d5),this[_0x1cbe65(0x1cb)]=_0x23221e,this['_key']=_0x1c4e2d,this[_0x1cbe65(0x317)]();},'reset':function(){var _0x1df84b=_0x3bdf30;_0x56ed02['reset'][_0x1df84b(0x2b6)](this),this['_doReset']();},'process':function(_0x2b6a3b){var _0x5af3e6=_0x3bdf30;return this[_0x5af3e6(0x1ab)](_0x2b6a3b),this[_0x5af3e6(0x45a)]();},'finalize':function(_0x55c2d2){var _0x136eed=_0x3bdf30;_0x55c2d2&&this['_append'](_0x55c2d2);var _0x31301e=this[_0x136eed(0x174)]();return _0x31301e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4378b2(_0x2585ba){var _0x5d795d=_0x5a33;return typeof _0x2585ba==_0x5d795d(0x270)?_0x494281:_0x5e8069;}return function(_0x47b785){return{'encrypt':function(_0x3bcb05,_0x212f2e,_0x2c0783){var _0x11f55b=_0x5a33;return _0x4378b2(_0x212f2e)[_0x11f55b(0x2bd)](_0x47b785,_0x3bcb05,_0x212f2e,_0x2c0783);},'decrypt':function(_0x100b2a,_0xbb806c,_0x135d27){return _0x4378b2(_0xbb806c)['decrypt'](_0x47b785,_0x100b2a,_0xbb806c,_0x135d27);}};};}())});_0x5d89e5[_0x3bdf30(0x3d8)]=_0x1fb095[_0x3bdf30(0x13c)]({'_doFinalize':function(){var _0x5b9237=_0x3bdf30,_0x3f1e22=this[_0x5b9237(0x45a)](!0x0);return _0x3f1e22;},'blockSize':0x1});var _0x480d2e=_0x960f19['mode']={},_0xe3842e=_0x5d89e5[_0x3bdf30(0x416)]=_0x4165cd['extend']({'createEncryptor':function(_0x57a25c,_0x17423e){var _0x391d6c=_0x3bdf30;return this[_0x391d6c(0x2c1)][_0x391d6c(0x290)](_0x57a25c,_0x17423e);},'createDecryptor':function(_0x261110,_0x46d24e){var _0x35ab66=_0x3bdf30;return this[_0x35ab66(0x40b)][_0x35ab66(0x290)](_0x261110,_0x46d24e);},'init':function(_0x3ffa85,_0x432336){var _0x52f1a8=_0x3bdf30;this['_cipher']=_0x3ffa85,this[_0x52f1a8(0x2df)]=_0x432336;}}),_0x169bbc=_0x480d2e['CBC']=(function(){var _0x2dae56=_0x3bdf30,_0x8e3e23=_0xe3842e[_0x2dae56(0x13c)]();_0x8e3e23['Encryptor']=_0x8e3e23[_0x2dae56(0x13c)]({'processBlock':function(_0x4d4a01,_0x19162b){var _0x3637f9=_0x2dae56,_0x42dbfa=this[_0x3637f9(0x3ba)],_0x82bbba=_0x42dbfa['blockSize'];_0x2f1813[_0x3637f9(0x2b6)](this,_0x4d4a01,_0x19162b,_0x82bbba),_0x42dbfa[_0x3637f9(0x3c2)](_0x4d4a01,_0x19162b),this['_prevBlock']=_0x4d4a01['slice'](_0x19162b,_0x19162b+_0x82bbba);}}),_0x8e3e23[_0x2dae56(0x40b)]=_0x8e3e23['extend']({'processBlock':function(_0x10cb9a,_0x2f7d15){var _0x20c5a1=_0x2dae56,_0xf98227=this['_cipher'],_0x5493c7=_0xf98227[_0x20c5a1(0x43c)],_0x659541=_0x10cb9a[_0x20c5a1(0x40e)](_0x2f7d15,_0x2f7d15+_0x5493c7);_0xf98227[_0x20c5a1(0x23d)](_0x10cb9a,_0x2f7d15),_0x2f1813[_0x20c5a1(0x2b6)](this,_0x10cb9a,_0x2f7d15,_0x5493c7),this[_0x20c5a1(0x411)]=_0x659541;}});function _0x2f1813(_0x43c502,_0x584f35,_0x52215e){var _0x50eb5f=_0x2dae56,_0xf8189a,_0x18897c=this[_0x50eb5f(0x2df)];_0x18897c?(_0xf8189a=_0x18897c,this[_0x50eb5f(0x2df)]=_0x15d9ae):_0xf8189a=this[_0x50eb5f(0x411)];for(var _0x5b5351=0x0;_0x5b5351<_0x52215e;_0x5b5351++)_0x43c502[_0x584f35+_0x5b5351]^=_0xf8189a[_0x5b5351];}return _0x8e3e23;}()),_0x55cc47=_0x960f19[_0x3bdf30(0x204)]={},_0x4801b6=_0x55cc47[_0x3bdf30(0x44e)]={'pad':function(_0x2b1db5,_0x4c16df){var _0x253d47=_0x3bdf30;for(var _0x365855=_0x4c16df*0x4,_0x386dd2=_0x365855-_0x2b1db5[_0x253d47(0x1d1)]%_0x365855,_0x4eb97b=_0x386dd2<<0x18|_0x386dd2<<0x10|_0x386dd2<<0x8|_0x386dd2,_0x19231c=[],_0x3b81cf=0x0;_0x3b81cf<_0x386dd2;_0x3b81cf+=0x4)_0x19231c[_0x253d47(0x37e)](_0x4eb97b);var _0x5a7c68=_0x298ea8[_0x253d47(0x290)](_0x19231c,_0x386dd2);_0x2b1db5['concat'](_0x5a7c68);},'unpad':function(_0x1670ed){var _0x16f7ad=_0x3bdf30,_0x28c2fc=_0x1670ed['words'][_0x1670ed[_0x16f7ad(0x1d1)]-0x1>>>0x2]&0xff;_0x1670ed[_0x16f7ad(0x1d1)]-=_0x28c2fc;}};_0x5d89e5[_0x3bdf30(0x17e)]=_0x1fb095[_0x3bdf30(0x13c)]({'cfg':_0x1fb095[_0x3bdf30(0x196)]['extend']({'mode':_0x169bbc,'padding':_0x4801b6}),'reset':function(){var _0x5b20e4=_0x3bdf30,_0x583289;_0x1fb095[_0x5b20e4(0x317)][_0x5b20e4(0x2b6)](this);var _0x3c1e91=this[_0x5b20e4(0x196)],_0x5230f7=_0x3c1e91['iv'],_0x5513ac=_0x3c1e91[_0x5b20e4(0x219)];this['_xformMode']==this[_0x5b20e4(0x233)]?_0x583289=_0x5513ac[_0x5b20e4(0x2b2)]:(_0x583289=_0x5513ac[_0x5b20e4(0x3d3)],this[_0x5b20e4(0x22c)]=0x1),this[_0x5b20e4(0x267)]&&this[_0x5b20e4(0x267)][_0x5b20e4(0x43a)]==_0x583289?this['_mode'][_0x5b20e4(0x3a1)](this,_0x5230f7&&_0x5230f7[_0x5b20e4(0x20f)]):(this[_0x5b20e4(0x267)]=_0x583289[_0x5b20e4(0x2b6)](_0x5513ac,this,_0x5230f7&&_0x5230f7['words']),this['_mode'][_0x5b20e4(0x43a)]=_0x583289);},'_doProcessBlock':function(_0x40f22d,_0x441774){var _0x19481f=_0x3bdf30;this[_0x19481f(0x267)][_0x19481f(0x37c)](_0x40f22d,_0x441774);},'_doFinalize':function(){var _0x3c52b1=_0x3bdf30,_0x506581,_0x140ec6=this[_0x3c52b1(0x196)][_0x3c52b1(0x30f)];return this[_0x3c52b1(0x1cb)]==this[_0x3c52b1(0x233)]?(_0x140ec6['pad'](this[_0x3c52b1(0x2f4)],this[_0x3c52b1(0x43c)]),_0x506581=this[_0x3c52b1(0x45a)](!0x0)):(_0x506581=this[_0x3c52b1(0x45a)](!0x0),_0x140ec6['unpad'](_0x506581)),_0x506581;},'blockSize':0x80/0x20});var _0x23201d=_0x5d89e5[_0x3bdf30(0x260)]=_0x4165cd[_0x3bdf30(0x13c)]({'init':function(_0x4745aa){var _0x377021=_0x3bdf30;this[_0x377021(0x217)](_0x4745aa);},'toString':function(_0x573444){var _0x5ef8de=_0x3bdf30;return(_0x573444||this[_0x5ef8de(0x1df)])['stringify'](this);}}),_0x413ebd=_0x960f19[_0x3bdf30(0x3e5)]={},_0x40aeb4=_0x413ebd['OpenSSL']={'stringify':function(_0xce4965){var _0x2735ba=_0x3bdf30,_0x528ac9,_0x526a84=_0xce4965[_0x2735ba(0x414)],_0x32c16f=_0xce4965[_0x2735ba(0x231)];return _0x32c16f?_0x528ac9=_0x298ea8['create']([0x53616c74,0x65645f5f])[_0x2735ba(0x2e0)](_0x32c16f)[_0x2735ba(0x2e0)](_0x526a84):_0x528ac9=_0x526a84,_0x528ac9[_0x2735ba(0x40f)](_0x1a0b57);},'parse':function(_0x4c6c09){var _0x32f49f=_0x3bdf30,_0x2c75c4,_0x5babff=_0x1a0b57[_0x32f49f(0x251)](_0x4c6c09),_0x58730f=_0x5babff[_0x32f49f(0x20f)];return _0x58730f[0x0]==0x53616c74&&_0x58730f[0x1]==0x65645f5f&&(_0x2c75c4=_0x298ea8[_0x32f49f(0x290)](_0x58730f[_0x32f49f(0x40e)](0x2,0x4)),_0x58730f[_0x32f49f(0x22f)](0x0,0x4),_0x5babff['sigBytes']-=0x10),_0x23201d['create']({'ciphertext':_0x5babff,'salt':_0x2c75c4});}},_0x5e8069=_0x5d89e5[_0x3bdf30(0x24d)]=_0x4165cd[_0x3bdf30(0x13c)]({'cfg':_0x4165cd['extend']({'format':_0x40aeb4}),'encrypt':function(_0x1a5c1d,_0x4cf970,_0xbf498b,_0x2c6ddb){var _0x23dcff=_0x3bdf30;_0x2c6ddb=this['cfg'][_0x23dcff(0x13c)](_0x2c6ddb);var _0x52638d=_0x1a5c1d[_0x23dcff(0x2b2)](_0xbf498b,_0x2c6ddb),_0x466bcc=_0x52638d['finalize'](_0x4cf970),_0x534f0d=_0x52638d[_0x23dcff(0x196)];return _0x23201d[_0x23dcff(0x290)]({'ciphertext':_0x466bcc,'key':_0xbf498b,'iv':_0x534f0d['iv'],'algorithm':_0x1a5c1d,'mode':_0x534f0d['mode'],'padding':_0x534f0d[_0x23dcff(0x30f)],'blockSize':_0x1a5c1d[_0x23dcff(0x43c)],'formatter':_0x2c6ddb[_0x23dcff(0x3e5)]});},'decrypt':function(_0x3c341e,_0x5babd3,_0xc4b01e,_0x48c25c){var _0x3d6f6a=_0x3bdf30;_0x48c25c=this[_0x3d6f6a(0x196)][_0x3d6f6a(0x13c)](_0x48c25c),_0x5babd3=this[_0x3d6f6a(0x14b)](_0x5babd3,_0x48c25c[_0x3d6f6a(0x3e5)]);var _0x351d71=_0x3c341e[_0x3d6f6a(0x3d3)](_0xc4b01e,_0x48c25c)['finalize'](_0x5babd3[_0x3d6f6a(0x414)]);return _0x351d71;},'_parse':function(_0x388611,_0x454be8){var _0x5b7812=_0x3bdf30;return typeof _0x388611==_0x5b7812(0x270)?_0x454be8[_0x5b7812(0x251)](_0x388611,this):_0x388611;}}),_0x60f12=_0x960f19[_0x3bdf30(0x229)]={},_0x458363=_0x60f12[_0x3bdf30(0x32a)]={'execute':function(_0x9871c0,_0x1d0d2c,_0x3c1f40,_0x11f5fc,_0x440248){var _0x157c5f=_0x3bdf30;if(_0x11f5fc||(_0x11f5fc=_0x298ea8[_0x157c5f(0x443)](0x40/0x8)),_0x440248)var _0x1cc331=_0x622884[_0x157c5f(0x290)]({'keySize':_0x1d0d2c+_0x3c1f40,'hasher':_0x440248})[_0x157c5f(0x45b)](_0x9871c0,_0x11f5fc);else var _0x1cc331=_0x622884[_0x157c5f(0x290)]({'keySize':_0x1d0d2c+_0x3c1f40})[_0x157c5f(0x45b)](_0x9871c0,_0x11f5fc);var _0x32ee76=_0x298ea8[_0x157c5f(0x290)](_0x1cc331[_0x157c5f(0x20f)][_0x157c5f(0x40e)](_0x1d0d2c),_0x3c1f40*0x4);return _0x1cc331[_0x157c5f(0x1d1)]=_0x1d0d2c*0x4,_0x23201d[_0x157c5f(0x290)]({'key':_0x1cc331,'iv':_0x32ee76,'salt':_0x11f5fc});}},_0x494281=_0x5d89e5['PasswordBasedCipher']=_0x5e8069['extend']({'cfg':_0x5e8069[_0x3bdf30(0x196)]['extend']({'kdf':_0x458363}),'encrypt':function(_0x66f00c,_0x317fa0,_0x412eb9,_0x24a224){var _0xb96ff2=_0x3bdf30;_0x24a224=this[_0xb96ff2(0x196)][_0xb96ff2(0x13c)](_0x24a224);var _0x1d30c1=_0x24a224[_0xb96ff2(0x229)]['execute'](_0x412eb9,_0x66f00c[_0xb96ff2(0x29d)],_0x66f00c[_0xb96ff2(0x1ac)],_0x24a224[_0xb96ff2(0x231)],_0x24a224[_0xb96ff2(0x383)]);_0x24a224['iv']=_0x1d30c1['iv'];var _0x18db57=_0x5e8069[_0xb96ff2(0x2bd)][_0xb96ff2(0x2b6)](this,_0x66f00c,_0x317fa0,_0x1d30c1[_0xb96ff2(0x1ca)],_0x24a224);return _0x18db57[_0xb96ff2(0x217)](_0x1d30c1),_0x18db57;},'decrypt':function(_0x53273f,_0x5b77b4,_0x3f6e69,_0x3fb76f){var _0x2dd8b2=_0x3bdf30;_0x3fb76f=this[_0x2dd8b2(0x196)][_0x2dd8b2(0x13c)](_0x3fb76f),_0x5b77b4=this[_0x2dd8b2(0x14b)](_0x5b77b4,_0x3fb76f[_0x2dd8b2(0x3e5)]);var _0x38fc52=_0x3fb76f['kdf'][_0x2dd8b2(0x2dd)](_0x3f6e69,_0x53273f['keySize'],_0x53273f[_0x2dd8b2(0x1ac)],_0x5b77b4[_0x2dd8b2(0x231)],_0x3fb76f[_0x2dd8b2(0x383)]);_0x3fb76f['iv']=_0x38fc52['iv'];var _0xaa6be2=_0x5e8069['decrypt'][_0x2dd8b2(0x2b6)](this,_0x53273f,_0x5b77b4,_0x38fc52[_0x2dd8b2(0x1ca)],_0x3fb76f);return _0xaa6be2;}});}();}));}(Xe)),Xe[_0x4427b1(0x3c3)];}var Sn=Ve[_0x57ebea(0x3c3)],ei;function gn(){var _0x2b54de=_0x57ebea;return ei||(ei=0x1,function(_0x41e893,_0x439524){(function(_0x26c1d0,_0x37e9b7,_0x58fa35){var _0x266048=_0x5a33;_0x41e893[_0x266048(0x3c3)]=_0x37e9b7(ie(),Ni(),dn(),Ci(),bi());}(Sn,function(_0x164961){var _0x1ea2ce=_0x5a33;return(function(){var _0x17abd9=_0x5a33,_0x113b06=_0x164961,_0x1b4d6e=_0x113b06[_0x17abd9(0x3a7)],_0x4b7790=_0x1b4d6e[_0x17abd9(0x17e)],_0x514472=_0x113b06['algo'],_0x5267ba=[],_0x1649dc=[],_0x35a202=[],_0x4f240e=[],_0x425fae=[],_0x3a047d=[],_0xa91655=[],_0x216a2e=[],_0x2da9c2=[],_0x120621=[];(function(){for(var _0x337bb7=[],_0x5238d9=0x0;_0x5238d9<0x100;_0x5238d9++)_0x5238d9<0x80?_0x337bb7[_0x5238d9]=_0x5238d9<<0x1:_0x337bb7[_0x5238d9]=_0x5238d9<<0x1^0x11b;for(var _0x5a32a9=0x0,_0x27559e=0x0,_0x5238d9=0x0;_0x5238d9<0x100;_0x5238d9++){var _0x339e8c=_0x27559e^_0x27559e<<0x1^_0x27559e<<0x2^_0x27559e<<0x3^_0x27559e<<0x4;_0x339e8c=_0x339e8c>>>0x8^_0x339e8c&0xff^0x63,_0x5267ba[_0x5a32a9]=_0x339e8c,_0x1649dc[_0x339e8c]=_0x5a32a9;var _0x47f94c=_0x337bb7[_0x5a32a9],_0x562e4e=_0x337bb7[_0x47f94c],_0x8148d2=_0x337bb7[_0x562e4e],_0x12ba00=_0x337bb7[_0x339e8c]*0x101^_0x339e8c*0x1010100;_0x35a202[_0x5a32a9]=_0x12ba00<<0x18|_0x12ba00>>>0x8,_0x4f240e[_0x5a32a9]=_0x12ba00<<0x10|_0x12ba00>>>0x10,_0x425fae[_0x5a32a9]=_0x12ba00<<0x8|_0x12ba00>>>0x18,_0x3a047d[_0x5a32a9]=_0x12ba00;var _0x12ba00=_0x8148d2*0x1010101^_0x562e4e*0x10001^_0x47f94c*0x101^_0x5a32a9*0x1010100;_0xa91655[_0x339e8c]=_0x12ba00<<0x18|_0x12ba00>>>0x8,_0x216a2e[_0x339e8c]=_0x12ba00<<0x10|_0x12ba00>>>0x10,_0x2da9c2[_0x339e8c]=_0x12ba00<<0x8|_0x12ba00>>>0x18,_0x120621[_0x339e8c]=_0x12ba00,_0x5a32a9?(_0x5a32a9=_0x47f94c^_0x337bb7[_0x337bb7[_0x337bb7[_0x8148d2^_0x47f94c]]],_0x27559e^=_0x337bb7[_0x337bb7[_0x27559e]]):_0x5a32a9=_0x27559e=0x1;}}());var _0xc4155e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1ce30f=_0x514472[_0x17abd9(0x1a2)]=_0x4b7790[_0x17abd9(0x13c)]({'_doReset':function(){var _0x4d844e=_0x17abd9,_0x1e6583;if(!(this[_0x4d844e(0x288)]&&this['_keyPriorReset']===this[_0x4d844e(0x26f)])){for(var _0x58dd22=this[_0x4d844e(0x2cd)]=this['_key'],_0x597e13=_0x58dd22[_0x4d844e(0x20f)],_0x54a4ba=_0x58dd22[_0x4d844e(0x1d1)]/0x4,_0x2cb09b=this[_0x4d844e(0x288)]=_0x54a4ba+0x6,_0x3df2b7=(_0x2cb09b+0x1)*0x4,_0x589b9e=this[_0x4d844e(0x3a0)]=[],_0x309f7d=0x0;_0x309f7d<_0x3df2b7;_0x309f7d++)_0x309f7d<_0x54a4ba?_0x589b9e[_0x309f7d]=_0x597e13[_0x309f7d]:(_0x1e6583=_0x589b9e[_0x309f7d-0x1],_0x309f7d%_0x54a4ba?_0x54a4ba>0x6&&_0x309f7d%_0x54a4ba==0x4&&(_0x1e6583=_0x5267ba[_0x1e6583>>>0x18]<<0x18|_0x5267ba[_0x1e6583>>>0x10&0xff]<<0x10|_0x5267ba[_0x1e6583>>>0x8&0xff]<<0x8|_0x5267ba[_0x1e6583&0xff]):(_0x1e6583=_0x1e6583<<0x8|_0x1e6583>>>0x18,_0x1e6583=_0x5267ba[_0x1e6583>>>0x18]<<0x18|_0x5267ba[_0x1e6583>>>0x10&0xff]<<0x10|_0x5267ba[_0x1e6583>>>0x8&0xff]<<0x8|_0x5267ba[_0x1e6583&0xff],_0x1e6583^=_0xc4155e[_0x309f7d/_0x54a4ba|0x0]<<0x18),_0x589b9e[_0x309f7d]=_0x589b9e[_0x309f7d-_0x54a4ba]^_0x1e6583);for(var _0x23a737=this[_0x4d844e(0x3ae)]=[],_0x1d3b1c=0x0;_0x1d3b1c<_0x3df2b7;_0x1d3b1c++){var _0x309f7d=_0x3df2b7-_0x1d3b1c;if(_0x1d3b1c%0x4)var _0x1e6583=_0x589b9e[_0x309f7d];else var _0x1e6583=_0x589b9e[_0x309f7d-0x4];_0x1d3b1c<0x4||_0x309f7d<=0x4?_0x23a737[_0x1d3b1c]=_0x1e6583:_0x23a737[_0x1d3b1c]=_0xa91655[_0x5267ba[_0x1e6583>>>0x18]]^_0x216a2e[_0x5267ba[_0x1e6583>>>0x10&0xff]]^_0x2da9c2[_0x5267ba[_0x1e6583>>>0x8&0xff]]^_0x120621[_0x5267ba[_0x1e6583&0xff]];}}},'encryptBlock':function(_0x193395,_0xa13f89){var _0x42ef5b=_0x17abd9;this[_0x42ef5b(0x253)](_0x193395,_0xa13f89,this[_0x42ef5b(0x3a0)],_0x35a202,_0x4f240e,_0x425fae,_0x3a047d,_0x5267ba);},'decryptBlock':function(_0x4a2d82,_0x48eed4){var _0x3cd469=_0x17abd9,_0x1c608e=_0x4a2d82[_0x48eed4+0x1];_0x4a2d82[_0x48eed4+0x1]=_0x4a2d82[_0x48eed4+0x3],_0x4a2d82[_0x48eed4+0x3]=_0x1c608e,this[_0x3cd469(0x253)](_0x4a2d82,_0x48eed4,this[_0x3cd469(0x3ae)],_0xa91655,_0x216a2e,_0x2da9c2,_0x120621,_0x1649dc);var _0x1c608e=_0x4a2d82[_0x48eed4+0x1];_0x4a2d82[_0x48eed4+0x1]=_0x4a2d82[_0x48eed4+0x3],_0x4a2d82[_0x48eed4+0x3]=_0x1c608e;},'_doCryptBlock':function(_0x3d1451,_0x1258cf,_0x300beb,_0x262a90,_0x3efc0a,_0x4dff23,_0x4e0a66,_0x3e171f){var _0x2e40ca=_0x17abd9;for(var _0x6b1b1f=this[_0x2e40ca(0x288)],_0xf96af2=_0x3d1451[_0x1258cf]^_0x300beb[0x0],_0x2b6b5a=_0x3d1451[_0x1258cf+0x1]^_0x300beb[0x1],_0x184295=_0x3d1451[_0x1258cf+0x2]^_0x300beb[0x2],_0x51b89b=_0x3d1451[_0x1258cf+0x3]^_0x300beb[0x3],_0x309ce5=0x4,_0x3e58d0=0x1;_0x3e58d0<_0x6b1b1f;_0x3e58d0++){var _0x4f8408=_0x262a90[_0xf96af2>>>0x18]^_0x3efc0a[_0x2b6b5a>>>0x10&0xff]^_0x4dff23[_0x184295>>>0x8&0xff]^_0x4e0a66[_0x51b89b&0xff]^_0x300beb[_0x309ce5++],_0xb4105c=_0x262a90[_0x2b6b5a>>>0x18]^_0x3efc0a[_0x184295>>>0x10&0xff]^_0x4dff23[_0x51b89b>>>0x8&0xff]^_0x4e0a66[_0xf96af2&0xff]^_0x300beb[_0x309ce5++],_0x5c209e=_0x262a90[_0x184295>>>0x18]^_0x3efc0a[_0x51b89b>>>0x10&0xff]^_0x4dff23[_0xf96af2>>>0x8&0xff]^_0x4e0a66[_0x2b6b5a&0xff]^_0x300beb[_0x309ce5++],_0x32c6f0=_0x262a90[_0x51b89b>>>0x18]^_0x3efc0a[_0xf96af2>>>0x10&0xff]^_0x4dff23[_0x2b6b5a>>>0x8&0xff]^_0x4e0a66[_0x184295&0xff]^_0x300beb[_0x309ce5++];_0xf96af2=_0x4f8408,_0x2b6b5a=_0xb4105c,_0x184295=_0x5c209e,_0x51b89b=_0x32c6f0;}var _0x4f8408=(_0x3e171f[_0xf96af2>>>0x18]<<0x18|_0x3e171f[_0x2b6b5a>>>0x10&0xff]<<0x10|_0x3e171f[_0x184295>>>0x8&0xff]<<0x8|_0x3e171f[_0x51b89b&0xff])^_0x300beb[_0x309ce5++],_0xb4105c=(_0x3e171f[_0x2b6b5a>>>0x18]<<0x18|_0x3e171f[_0x184295>>>0x10&0xff]<<0x10|_0x3e171f[_0x51b89b>>>0x8&0xff]<<0x8|_0x3e171f[_0xf96af2&0xff])^_0x300beb[_0x309ce5++],_0x5c209e=(_0x3e171f[_0x184295>>>0x18]<<0x18|_0x3e171f[_0x51b89b>>>0x10&0xff]<<0x10|_0x3e171f[_0xf96af2>>>0x8&0xff]<<0x8|_0x3e171f[_0x2b6b5a&0xff])^_0x300beb[_0x309ce5++],_0x32c6f0=(_0x3e171f[_0x51b89b>>>0x18]<<0x18|_0x3e171f[_0xf96af2>>>0x10&0xff]<<0x10|_0x3e171f[_0x2b6b5a>>>0x8&0xff]<<0x8|_0x3e171f[_0x184295&0xff])^_0x300beb[_0x309ce5++];_0x3d1451[_0x1258cf]=_0x4f8408,_0x3d1451[_0x1258cf+0x1]=_0xb4105c,_0x3d1451[_0x1258cf+0x2]=_0x5c209e,_0x3d1451[_0x1258cf+0x3]=_0x32c6f0;},'keySize':0x100/0x20});_0x113b06['AES']=_0x4b7790[_0x17abd9(0x3dd)](_0x1ce30f);}()),_0x164961[_0x1ea2ce(0x1a2)];}));}(Ve)),Ve[_0x2b54de(0x3c3)];}var Tn=gn();const On=$e(Tn);var Rn=Ni();const ti=$e(Rn);var Je={'exports':{}},Nn=Je[_0x57ebea(0x3c3)],ii;function Cn(){var _0x7b38b0=_0x57ebea;return ii||(ii=0x1,function(_0x5a33b9,_0x1d8f29){(function(_0xa58d0e,_0x5cff4a){var _0x12c503=_0x5a33;_0x5a33b9[_0x12c503(0x3c3)]=_0x5cff4a(ie());}(Nn,function(_0x361559){var _0x468fda=_0x5a33;return _0x361559[_0x468fda(0x25a)][_0x468fda(0x1a1)];}));}(Je)),Je[_0x7b38b0(0x3c3)];}var bn=Cn();const Dn=$e(bn);var Ze={'exports':{}},yn=Ze[_0x57ebea(0x3c3)],si;function Un(){var _0x347075=_0x57ebea;return si||(si=0x1,function(_0x4571fa,_0x29d659){(function(_0x53936c,_0x4e0aa1){var _0x4a2b4b=_0x5a33;_0x4571fa[_0x4a2b4b(0x3c3)]=_0x4e0aa1(ie());}(yn,function(_0x1d673a){var _0xebb0f7=_0x5a33;return(function(){var _0x4af0d4=_0x5a33;if(typeof ArrayBuffer==_0x4af0d4(0x44c)){var _0x457c3d=_0x1d673a,_0x4fa62f=_0x457c3d[_0x4af0d4(0x3a7)],_0x5bc6a6=_0x4fa62f[_0x4af0d4(0x24c)],_0x250b1b=_0x5bc6a6[_0x4af0d4(0x3a1)],_0x3c737d=_0x5bc6a6[_0x4af0d4(0x3a1)]=function(_0x394672){var _0x5af5a4=_0x4af0d4;if(_0x394672 instanceof ArrayBuffer&&(_0x394672=new Uint8Array(_0x394672)),(_0x394672 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x394672 instanceof Uint8ClampedArray||_0x394672 instanceof Int16Array||_0x394672 instanceof Uint16Array||_0x394672 instanceof Int32Array||_0x394672 instanceof Uint32Array||_0x394672 instanceof Float32Array||_0x394672 instanceof Float64Array)&&(_0x394672=new Uint8Array(_0x394672['buffer'],_0x394672[_0x5af5a4(0x227)],_0x394672[_0x5af5a4(0x3bc)])),_0x394672 instanceof Uint8Array){for(var _0x3027aa=_0x394672[_0x5af5a4(0x3bc)],_0x7970a8=[],_0x34e473=0x0;_0x34e473<_0x3027aa;_0x34e473++)_0x7970a8[_0x34e473>>>0x2]|=_0x394672[_0x34e473]<<0x18-_0x34e473%0x4*0x8;_0x250b1b[_0x5af5a4(0x2b6)](this,_0x7970a8,_0x3027aa);}else _0x250b1b[_0x5af5a4(0x2d4)](this,arguments);};_0x3c737d['prototype']=_0x5bc6a6;}}()),_0x1d673a[_0xebb0f7(0x3a7)][_0xebb0f7(0x24c)];}));}(Ze)),Ze[_0x347075(0x3c3)];}var An=Un();const Pn=$e(An);var Qe={'exports':{}},wn=Qe[_0x57ebea(0x3c3)],ni;function Ln(){return ni||(ni=0x1,function(_0x44cb48,_0x4f1917){(function(_0x50c324,_0x59fb53,_0x418ada){var _0x1e53c3=_0x5a33;_0x44cb48[_0x1e53c3(0x3c3)]=_0x59fb53(ie(),bi());}(wn,function(_0x5b6421){var _0x2ddb00=_0x5a33;return _0x5b6421['pad'][_0x2ddb00(0x3f0)]={'pad':function(){},'unpad':function(){}},_0x5b6421[_0x2ddb00(0x204)][_0x2ddb00(0x3f0)];}));}(Qe)),Qe['exports'];}var Mn=Ln();const xn=$e(Mn);function kn(_0xe4ba04,_0x2fda38){var _0x60a8fc=_0x57ebea;const _0x2f6aca=_0x2fda38-_0xe4ba04[_0x60a8fc(0x291)]%_0x2fda38,_0x55930f=String['fromCharCode'](_0x2f6aca)[_0x60a8fc(0x401)](_0x2f6aca);return _0xe4ba04+_0x55930f;}function $n(_0x50dd77,_0x1770e6){var _0x722f39=_0x57ebea;const _0x20aa82=Pn[_0x722f39(0x443)](0x10),_0x2d9ed1=kn(_0x50dd77,0x10),_0x17f042=On['encrypt'](Dn[_0x722f39(0x251)](_0x2d9ed1),ti[_0x722f39(0x251)](_0x1770e6),{'iv':_0x20aa82,'padding':xn});return _0x20aa82['concat'](_0x17f042['ciphertext'])[_0x722f39(0x40f)](ti);}function Hn(){var _0xad1f7e=_0x57ebea;const _0x471fe7=_0xb166fe()[_0xad1f7e(0x44b)];if(typeof window<'u'&&typeof window[_0xad1f7e(0x285)]<'u'&&_0x471fe7){const _0x134be6={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0xad1f7e(0x15f)]};return $n(JSON[_0xad1f7e(0x3fb)](_0x134be6),_0x471fe7);}}var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x3fe5fd,_0x4f157c,_0x55e12f,_0x47b0df)=>{var _0x48ef2a=_0x57ebea;for(var _0x56ff49=_0x47b0df>0x1?void 0x0:_0x47b0df?Bn(_0x4f157c,_0x55e12f):_0x4f157c,_0x505548=_0x3fe5fd[_0x48ef2a(0x291)]-0x1,_0x162841;_0x505548>=0x0;_0x505548--)(_0x162841=_0x3fe5fd[_0x505548])&&(_0x56ff49=_0x162841(_0x56ff49)||_0x56ff49);return _0x56ff49;},jn=(_0x1d9217,_0x23f1c5)=>(_0x56762c,_0x16a4cf)=>_0x23f1c5(_0x56762c,_0x16a4cf,_0x1d9217);let at=class{constructor(_0x15cd82){var _0x3f48a7=_0x57ebea;this['_httpService']=_0x15cd82,this[_0x3f48a7(0x2b5)]();}[_0x57ebea(0x2b5)](){var _0x3ec82d=_0x57ebea;this[_0x3ec82d(0x320)][_0x3ec82d(0x370)]({'interceptor':(_0x1590e4,_0x6ac59c)=>{var _0x2e9ff1=_0x3ec82d;const _0x4b110c=_0x1590e4[_0x2e9ff1(0x3af)],_0xb649ba=Hn();return _0xb649ba&&_0x4b110c[_0x2e9ff1(0x375)](_0x2e9ff1(0x1f9),_0xb649ba),_0x6ac59c(_0x1590e4);}});}};at=Fn([jn(0x0,_0xd9eea8(_0x3e703e))],at);var Vn=Object[_0x57ebea(0x1a9)],Gn=(_0x249c3,_0x1d8584,_0x12e93e,_0x154baf)=>{var _0x540793=_0x57ebea;for(var _0x274d49=_0x154baf>0x1?void 0x0:_0x154baf?Vn(_0x1d8584,_0x12e93e):_0x1d8584,_0x276497=_0x249c3[_0x540793(0x291)]-0x1,_0x560a61;_0x276497>=0x0;_0x276497--)(_0x560a61=_0x249c3[_0x276497])&&(_0x274d49=_0x560a61(_0x274d49)||_0x274d49);return _0x274d49;},vt=(_0x236c20,_0x336a81)=>(_0x59e54e,_0x12c088)=>_0x336a81(_0x59e54e,_0x12c088,_0x236c20);let Ot=class extends _0xdd442f{constructor(_0x118837,_0x4b4e46,_0x19766d){var _0x498cae=_0x57ebea;super(),D(this,_0x498cae(0x302),new _0x4e139f(null)),D(this,_0x498cae(0x364),this[_0x498cae(0x302)][_0x498cae(0x2c5)]()),(this['_logService']=_0x118837,this[_0x498cae(0x2a5)]=_0x4b4e46,this[_0x498cae(0x2d6)]=_0x19766d);}async['loadUnitOfRevision'](_0xac05c7,_0x15e362,_0x1e848d){var _0x3d808b=_0x57ebea;this[_0x3d808b(0x302)][_0x3d808b(0x372)]({'unitId':_0xac05c7,'type':_0x15e362});let _0x1fee93=null;switch(_0x15e362){case Q[_0x3d808b(0x382)]:{_0x1fee93=await this[_0x3d808b(0x2a5)]['loadSheet'](_0xac05c7,_0x1e848d);break;}case Q[_0x3d808b(0x234)]:{_0x1fee93=await this[_0x3d808b(0x2a5)][_0x3d808b(0x2ad)](_0xac05c7,_0x1e848d);break;}default:{this[_0x3d808b(0x3cc)][_0x3d808b(0x379)](_0x3d808b(0x31f),_0x3d808b(0x16f));break;}}return _0x1fee93;}async[_0x57ebea(0x19a)](_0x59f3cf,_0xec4b4f,_0x3ec7c8){var _0x241e9a=_0x57ebea,_0x61bb55;this[_0x241e9a(0x302)]['next']({'unitId':_0x59f3cf,'type':_0xec4b4f,'subUnitId':_0x3ec7c8});let _0x12e832=0x0;const _0x175d88=await((_0x61bb55=this['_localCacheService'])==null?void 0x0:_0x61bb55[_0x241e9a(0x184)](_0x59f3cf));return _0x175d88&&(_0x175d88['awaitingChangeset']||_0x175d88[_0x241e9a(0x15d)][_0x241e9a(0x291)]!==0x0)&&(_0x12e832=_0x175d88['rev']),_0x12e832===0x0&&this[_0x241e9a(0x3cc)][_0x241e9a(0x3b7)](_0x241e9a(0x31f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x241e9a(0x343)](_0x59f3cf,_0xec4b4f,_0x12e832);}};Ot=Gn([vt(0x0,_0x395070),vt(0x1,_0xd9eea8(_0x555d9)),vt(0x2,_0x4761ab(X))],Ot);var Wn=Object[_0x57ebea(0x1a9)],Yn=(_0x22ae43,_0x322983,_0x5499b3,_0x47d732)=>{var _0x2deb75=_0x57ebea;for(var _0x7cbb2b=_0x47d732>0x1?void 0x0:_0x47d732?Wn(_0x322983,_0x5499b3):_0x322983,_0x3f5e8e=_0x22ae43[_0x2deb75(0x291)]-0x1,_0x22f5d9;_0x3f5e8e>=0x0;_0x3f5e8e--)(_0x22f5d9=_0x22ae43[_0x3f5e8e])&&(_0x7cbb2b=_0x22f5d9(_0x7cbb2b)||_0x7cbb2b);return _0x7cbb2b;},Et=(_0x235589,_0x48310c)=>(_0x3e5c1b,_0x566c61)=>_0x48310c(_0x3e5c1b,_0x566c61,_0x235589);const Kn=['image/png',_0x57ebea(0x393),_0x57ebea(0x3fc),_0x57ebea(0x23b),'image/bmp'],qn=0x5*0x400*0x400,zn=_0x57ebea(0x3b4),Xn=_0x57ebea(0x221);let Rt=class{constructor(_0x11649,_0x5144b1,_0x1a5de6){var _0x45ff08=_0x57ebea;D(this,_0x45ff08(0x238),0x0),D(this,_0x45ff08(0x2f2),new _0x244912()),D(this,'change$',this['_change$']),D(this,_0x45ff08(0x37d),new Map()),(this[_0x45ff08(0x320)]=_0x11649,this[_0x45ff08(0x25c)]=_0x5144b1,this[_0x45ff08(0x26b)]=_0x1a5de6);}[_0x57ebea(0x374)](_0x407d20){var _0x2524c2=_0x57ebea;this['_waitCount']=_0x407d20,this[_0x2524c2(0x2f2)][_0x2524c2(0x372)](_0x407d20);}[_0x57ebea(0x28c)](_0x474f3c,_0x4a4812){var _0x327410=_0x57ebea;if(_0x4a4812===_0x274230['BASE64']){const _0x4cce68=new Image();return _0x4cce68[_0x327410(0x412)]=_0x474f3c,_0x4cce68;}return this[_0x327410(0x37d)][_0x327410(0x19b)](_0x474f3c);}[_0x57ebea(0x2b0)](_0x93124a,_0x4b07e8,_0xc7c5ba){var _0x46ad0d=_0x57ebea;_0x4b07e8===_0x274230[_0x46ad0d(0x1f3)]||_0xc7c5ba==null||this[_0x46ad0d(0x37d)]['set'](_0x93124a,_0xc7c5ba);}async[_0x57ebea(0x1a6)](_0x44e8bc){var _0x46e80b=_0x57ebea;try{const _0x2db724=this[_0x46e80b(0x1db)](this[_0x46e80b(0x3ec)](),''+_0x44e8bc),_0x403611=(await this['_httpService'][_0x46e80b(0x19b)](_0x2db724))[_0x46e80b(0x390)];if(_0x403611[_0x46e80b(0x379)]&&_0x403611[_0x46e80b(0x379)]['code']===vi['OK']){const _0x26e04e=_0x45cc0e(_0x403611[_0x46e80b(0x2d5)],this[_0x46e80b(0x347)]());return Promise[_0x46e80b(0x245)](_0x26e04e);}return Promise[_0x46e80b(0x27e)](_0x403611[_0x46e80b(0x379)]);}catch(_0x1f2903){return Promise['reject'](_0x1f2903);}}async['saveImage'](_0x1575a5){var _0x5b8610=_0x57ebea;let _0x2dab81='';if(!Kn[_0x5b8610(0x2d9)](_0x1575a5[_0x5b8610(0x286)]))return this['_decreaseWaiting'](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x15c)]));if(_0x1575a5['size']>qn)return this[_0x5b8610(0x13e)](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x154)]));try{const _0x10d7af=new FormData();_0x10d7af[_0x5b8610(0x308)](_0x5b8610(0x3cd),_0x1575a5);const _0x53343e=this[_0x5b8610(0x26b)][_0x5b8610(0x3d7)](),_0x5a3e51=_0x53343e==null?void 0x0:_0x53343e['getUnitId']();if(!_0x5a3e51)throw new Error(_0x5b8610(0x335));const _0x409b92=this[_0x5b8610(0x3f2)]()+_0x5b8610(0x23f)+_0x1575a5[_0x5b8610(0x2ba)][_0x5b8610(0x40f)]()+'&source='+Ei['UnitEmbedded']+_0x5b8610(0x30e)+encodeURIComponent(_0x5a3e51),_0x397dd0={'body':_0x10d7af},_0x336132=(await this[_0x5b8610(0x320)][_0x5b8610(0x214)](_0x409b92,_0x397dd0))[_0x5b8610(0x390)];if(typeof _0x336132[_0x5b8610(0x313)]!=_0x5b8610(0x270))return this['_decreaseWaiting'](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x1a3)]));_0x2dab81=_0x336132[_0x5b8610(0x313)];}catch{return this[_0x5b8610(0x13e)](),Promise[_0x5b8610(0x27e)](new Error(_0x4481fb[_0x5b8610(0x1a3)]));}return new Promise((_0x251c7e,_0x18df75)=>{var _0x1e0c44=_0x5b8610;const _0x32fbdf=new FileReader();_0x32fbdf['readAsDataURL'](_0x1575a5),_0x32fbdf[_0x1e0c44(0x35e)]=_0x47e2c0=>{var _0x258334=_0x1e0c44,_0x153d35;const _0x25b8ff=(_0x153d35=_0x47e2c0[_0x258334(0x350)])==null?void 0x0:_0x153d35[_0x258334(0x3ac)];if(_0x25b8ff==null){this[_0x258334(0x13e)](),_0x18df75(new Error(_0x4481fb[_0x258334(0x1a3)]));return;}const _0x2776b4=_0x36b9dc(0x6);_0x251c7e({'imageId':_0x2776b4,'imageSourceType':_0x274230[_0x258334(0x42c)],'source':_0x2dab81,'base64Cache':_0x25b8ff,'status':_0x4481fb[_0x258334(0x395)]}),this['_decreaseWaiting']();};});}[_0x57ebea(0x3f2)](){var _0x31c398=_0x57ebea,_0x216deb;const _0x207bf0=this[_0x31c398(0x25c)][_0x31c398(0x1f4)](K);return(_0x216deb=_0x207bf0==null?void 0x0:_0x207bf0[_0x31c398(0x296)])!=null?_0x216deb:zn;}[_0x57ebea(0x3ec)](){var _0x5856be=_0x57ebea,_0x247307;const _0x2c5a5f=this[_0x5856be(0x25c)][_0x5856be(0x1f4)](K);return(_0x247307=_0x2c5a5f==null?void 0x0:_0x2c5a5f[_0x5856be(0x1ee)])!=null?_0x247307:Xn;}[_0x57ebea(0x347)](){var _0x437f2b=_0x57ebea,_0x4e1b1a;const _0x1f8202=this[_0x437f2b(0x25c)][_0x437f2b(0x1f4)](K);return(_0x4e1b1a=_0x1f8202==null?void 0x0:_0x1f8202[_0x437f2b(0x43b)])!=null?_0x4e1b1a:location[_0x437f2b(0x39b)];}[_0x57ebea(0x1db)](_0x4fd06a,_0x1ea389){var _0x5d91da=_0x57ebea;return _0x4fd06a[_0x5d91da(0x458)](_0x5d91da(0x1b1),_0x1ea389);}[_0x57ebea(0x13e)](){var _0xeda6af=_0x57ebea;this[_0xeda6af(0x238)]-=0x1,this[_0xeda6af(0x2f2)][_0xeda6af(0x372)](this['_waitCount']);}};Rt=Yn([Et(0x0,_0xd9eea8(_0x3e703e)),Et(0x1,_0x218bfc),Et(0x2,_0xd9eea8(_0xde0007))],Rt);var Jn=Object[_0x57ebea(0x1a9)],Zn=(_0x583cab,_0x5e8644,_0x1f620b,_0x2d07fe)=>{var _0x5ce691=_0x57ebea;for(var _0xcd4a9a=_0x2d07fe>0x1?void 0x0:_0x2d07fe?Jn(_0x5e8644,_0x1f620b):_0x5e8644,_0x43283e=_0x583cab[_0x5ce691(0x291)]-0x1,_0x56a3cc;_0x43283e>=0x0;_0x43283e--)(_0x56a3cc=_0x583cab[_0x43283e])&&(_0xcd4a9a=_0x56a3cc(_0xcd4a9a)||_0xcd4a9a);return _0xcd4a9a;},ri=(_0x119a51,_0x320b48)=>(_0x5447bb,_0xf7a8da)=>_0x320b48(_0x5447bb,_0xf7a8da,_0x119a51);const Qn=_0x57ebea(0x31d);let Nt=class{constructor(_0x56180b,_0x4974b7){var _0x16d233=_0x57ebea;this['_configService']=_0x56180b,this[_0x16d233(0x3e4)]=_0x4974b7;}[_0x57ebea(0x2c2)](){var _0x259204=_0x57ebea,_0x2d8941;const _0x1a0bac=this[_0x259204(0x25c)]['getConfig'](K);return(_0x2d8941=_0x1a0bac==null?void 0x0:_0x1a0bac['authzUrl'])!=null?_0x2d8941:Qn;}async[_0x57ebea(0x1a5)](_0x164505){var _0x354dba=_0x57ebea;const _0x40bb75=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x354dba(0x1ea),'mentions':(await this[_0x354dba(0x3e4)][_0x354dba(0x19b)](_0x40bb75,{'params':{'objectID':_0x164505[_0x354dba(0x1f2)],'unitID':_0x164505[_0x354dba(0x1f2)]}}))['body'][_0x354dba(0x28d)][_0x354dba(0x32d)](_0x993b1e=>({'objectId':_0x993b1e['id'],'name':_0x993b1e[_0x354dba(0x2e9)]['name'],'metadata':{'icon':_0x993b1e[_0x354dba(0x2e9)][_0x354dba(0x2fc)]},'label':_0x993b1e['subject']['name'],'objectType':_0x504adb[_0x354dba(0x32b)]})),'metadata':{},'type':_0x504adb['PERSON']}]};}};Nt=Zn([ri(0x0,_0xd9eea8(_0x218bfc)),ri(0x1,_0xd9eea8(_0x3e703e))],Nt);var er=Object[_0x57ebea(0x1a9)],tr=(_0x41cdda,_0x48370c,_0x1b90b6,_0x365077)=>{for(var _0x2e3b06=_0x365077>0x1?void 0x0:_0x365077?er(_0x48370c,_0x1b90b6):_0x48370c,_0x40d2c4=_0x41cdda['length']-0x1,_0x472f5f;_0x40d2c4>=0x0;_0x40d2c4--)(_0x472f5f=_0x41cdda[_0x40d2c4])&&(_0x2e3b06=_0x472f5f(_0x2e3b06)||_0x2e3b06);return _0x2e3b06;},Ue=(_0x3170a6,_0x465f9b)=>(_0x161dcc,_0xc1cac3)=>_0x465f9b(_0x161dcc,_0xc1cac3,_0x3170a6);let ot=class extends _0xdd442f{constructor(_0x310919,_0x404cbf,_0x422e71,_0x301c5f,_0xed5fce){var _0x258d6c=_0x57ebea;super(),this[_0x258d6c(0x30c)]=_0x310919,this['_univerInstanceService']=_0x404cbf,this[_0x258d6c(0x446)]=_0x422e71,this[_0x258d6c(0x2f3)]=_0x301c5f,this[_0x258d6c(0x150)]=_0xed5fce,this[_0x258d6c(0x431)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x6d397d=_0x57ebea;const _0x4917ee=async _0x3d91a5=>{var _0x2c13c9=_0x5a33;(await this[_0x2c13c9(0x2f3)][_0x2c13c9(0x3b1)](_0x3d91a5))[_0x2c13c9(0x3a4)][_0x2c13c9(0x165)](_0x39a069(_0x4044d5=>_0x4044d5[_0x2c13c9(0x34b)]===_0x427891['SHOULD_CLOSE_CONN']),_0x1a3065(this[_0x2c13c9(0x1c5)]))[_0x2c13c9(0x3dc)](_0x2f0bd4=>{var _0x52386a=_0x2c13c9;const _0x2f35e4=_0x2f0bd4,{reason:_0x589a30}=_0x2f35e4[_0x52386a(0x455)];this['_collaborationUIEventService'][_0x52386a(0x37b)]({'id':re[_0x52386a(0x35c)],'data':_0x589a30}),this[_0x52386a(0x446)]['updatePermissionPoint'](new _0x108f1a(_0x3d91a5)['id'],!0x1),this[_0x52386a(0x2f3)][_0x52386a(0x35b)](_0x3d91a5);});};_0xad8c79(this[_0x6d397d(0x26b)][_0x6d397d(0x255)](_0x3d0f32['UNIVER_SHEET']),this[_0x6d397d(0x26b)][_0x6d397d(0x255)](_0x3d0f32['UNIVER_DOC']))['pipe'](_0xd5a8e5(_0x12a64d=>_0x12a64d[_0x6d397d(0x1c3)]()),_0x39a069(_0x458fbe=>!_0x30a55c(_0x458fbe)),_0x1a3065(this[_0x6d397d(0x1c5)]))['subscribe'](_0x340ba1=>{_0x4917ee(_0x340ba1);});}[_0x57ebea(0x431)](){var _0x5c994a=_0x57ebea;const _0x178394=async _0x36fbf2=>{var _0x1d046d=_0x5a33;const _0x4cc8d4=await this['_collaborationSessionService'][_0x1d046d(0x3b1)](_0x36fbf2),_0x68dbd0=this[_0x1d046d(0x30c)][_0x1d046d(0x19b)](_0x47e6b5);_0x4cc8d4['event$'][_0x1d046d(0x165)](_0x39a069(_0x19990b=>_0x19990b[_0x1d046d(0x34b)]===_0x427891[_0x1d046d(0x451)]),_0x1a3065(this[_0x1d046d(0x1c5)]))[_0x1d046d(0x3dc)](_0x47fe72=>{var _0x1e9061=_0x1d046d;const _0x17dd9a=_0x47fe72,{objectId:_0x3e9b25}=_0x17dd9a[_0x1e9061(0x455)];_0x3e9b25===_0x36fbf2?_0x68dbd0[_0x1e9061(0x149)](_0x36fbf2):_0x68dbd0[_0x1e9061(0x427)](_0x36fbf2,_0x3e9b25);});};_0xad8c79(this[_0x5c994a(0x26b)][_0x5c994a(0x255)](_0x3d0f32[_0x5c994a(0x382)]))[_0x5c994a(0x165)](_0xd5a8e5(_0x968ecc=>_0x968ecc[_0x5c994a(0x1c3)]()),_0x39a069(_0x23b910=>!_0x30a55c(_0x23b910)),_0x1a3065(this[_0x5c994a(0x1c5)]))['subscribe'](_0x220f3c=>{_0x178394(_0x220f3c);});}};ot=tr([Ue(0x0,_0xd9eea8(_0xa5b871)),Ue(0x1,_0xde0007),Ue(0x2,_0x54b0d9),Ue(0x3,_0xd9eea8(we)),Ue(0x4,_0xd9eea8(ve))],ot);var ir=Object[_0x57ebea(0x1a9)],sr=(_0x461563,_0x434ede,_0x122583,_0x3a9fa4)=>{for(var _0x1b4df6=_0x3a9fa4>0x1?void 0x0:_0x3a9fa4?ir(_0x434ede,_0x122583):_0x434ede,_0xb788c3=_0x461563['length']-0x1,_0x39c85e;_0xb788c3>=0x0;_0xb788c3--)(_0x39c85e=_0x461563[_0xb788c3])&&(_0x1b4df6=_0x39c85e(_0x1b4df6)||_0x1b4df6);return _0x1b4df6;},ai=(_0x7ebee0,_0x335c26)=>(_0x372a36,_0x4e9f88)=>_0x335c26(_0x372a36,_0x4e9f88,_0x7ebee0);let Ct=class{constructor(_0x469946,_0x10cdc6){var _0x4ec319=_0x57ebea;this[_0x4ec319(0x25c)]=_0x469946,this[_0x4ec319(0x320)]=_0x10cdc6;}async[_0x57ebea(0x215)](_0x43e049,_0x3f1457){var _0x3708f5=_0x57ebea,_0x35ef31;const {unitID:_0x1049a7,type:_0x1e232c,revision:_0xde824b=0x0}=_0x3f1457,_0x45a627=this['getSnapshotAPIPath']()+'/'+_0x1e232c+_0x3708f5(0x143)+_0x1049a7+_0x3708f5(0x434)+_0xde824b,_0x510eca=(await this[_0x3708f5(0x320)][_0x3708f5(0x19b)](_0x45a627))['body'],_0x323825=(_0x35ef31=_0x510eca[_0x3708f5(0x275)])==null?void 0x0:_0x35ef31[_0x3708f5(0x2ca)];if(_0x323825){const _0xa9c586=_0x323825==null?void 0x0:_0x323825[_0x3708f5(0x1b4)],_0x54b14a=_0x5c83c7[_0x3708f5(0x1af)](_0x5a4419(_0xa9c586));_0x323825[_0x3708f5(0x1b4)]=_0x54b14a,Object[_0x3708f5(0x1cc)](_0x323825[_0x3708f5(0x33b)])[_0x3708f5(0x352)](([,_0x1bc18c])=>{var _0x3a6beb=_0x3708f5;const _0x399507=_0x1bc18c[_0x3a6beb(0x1b4)],_0xf9a768=_0x5c83c7['encode'](_0x5a4419(_0x399507));_0x1bc18c[_0x3a6beb(0x1b4)]=_0xf9a768;});}return _0x510eca;}async[_0x57ebea(0x389)](_0x4a74ba,_0x2d9c68){var _0x1f0fba=_0x57ebea;const {unitID:_0xac406f,type:_0x1a198b,blockID:_0xfb9c96}=_0x2d9c68,_0x391155=this[_0x1f0fba(0x23c)]()+'/'+_0x1a198b+_0x1f0fba(0x143)+_0xac406f+_0x1f0fba(0x35f)+_0xfb9c96;return(await this[_0x1f0fba(0x320)][_0x1f0fba(0x19b)](_0x391155))[_0x1f0fba(0x390)];}async[_0x57ebea(0x2c3)](_0x25a598,_0x5ad786){var _0xb2b1f6=_0x57ebea;const {unitID:_0x3f9a51,type:_0xf65e23,blockID:_0xa5e71e}=_0x5ad786,_0x3624ac=this[_0xb2b1f6(0x23c)]()+'/block/'+_0xf65e23+_0xb2b1f6(0x143)+_0x3f9a51+_0xb2b1f6(0x35f)+_0xa5e71e;return(await this['_httpService'][_0xb2b1f6(0x19b)](_0x3624ac))[_0xb2b1f6(0x390)];}async[_0x57ebea(0x2e1)](_0x28af6b,_0x402d68){var _0x2ed061=_0x57ebea;const {unitID:_0x4f7dda,type:_0x40f3c0,from:_0xdf88b9,to:_0x323fe0}=_0x402d68,_0x25044c=this[_0x2ed061(0x23c)]()+'/'+_0x40f3c0+_0x2ed061(0x143)+_0x4f7dda+_0x2ed061(0x21a)+_0xdf88b9+_0x2ed061(0x2bc)+_0x323fe0;return(await this[_0x2ed061(0x320)][_0x2ed061(0x19b)](_0x25044c))[_0x2ed061(0x390)];}[_0x57ebea(0x15e)](){var _0x3a7342=_0x57ebea,_0x306457;return(_0x306457=this[_0x3a7342(0x25c)]['getConfig'](ps))!=null?_0x306457:this[_0x3a7342(0x23c)]();}[_0x57ebea(0x23c)](){var _0x11f8d9=_0x57ebea,_0x1b368a;const _0x1afd72=this['_configService'][_0x11f8d9(0x1f4)](K);return(_0x1b368a=_0x1afd72==null?void 0x0:_0x1afd72[_0x11f8d9(0x19d)])!=null?_0x1b368a:Es;}async[_0x57ebea(0x429)](_0x2d6c14,_0x5254e2){var _0x37b424=_0x57ebea;const _0x3f8082='/universer-api/snapshot/'+_0x5254e2[_0x37b424(0x286)]+'/unit/'+_0x5254e2[_0x37b424(0x1fb)]+_0x37b424(0x3e7);return(await this[_0x37b424(0x320)][_0x37b424(0x19b)](_0x3f8082,{'params':{'resourceId':JSON[_0x37b424(0x3fb)](_0x5254e2['resourceIDs'])}}))[_0x37b424(0x390)];}[_0x57ebea(0x268)](){var _0x2253df=_0x57ebea;throw new Error(_0x2253df(0x14a));}[_0x57ebea(0x294)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x57ebea(0x2fe)](){var _0x3726ca=_0x57ebea;throw new Error(_0x3726ca(0x14a));}[_0x57ebea(0x2ea)](){var _0x5a3717=_0x57ebea;throw new Error(_0x5a3717(0x14a));}[_0x57ebea(0x38e)](){var _0x18dab4=_0x57ebea;throw new Error(_0x18dab4(0x14a));}[_0x57ebea(0x198)](){var _0x5018d0=_0x57ebea;throw new Error(_0x5018d0(0x14a));}};Ct=sr([ai(0x0,_0x218bfc),ai(0x1,_0xd9eea8(_0x3e703e))],Ct);var nr=Object[_0x57ebea(0x1a9)],rr=(_0x78e358,_0x793a69,_0x185363,_0x21b1b)=>{var _0x42b22c=_0x57ebea;for(var _0x54f16b=_0x21b1b>0x1?void 0x0:_0x21b1b?nr(_0x793a69,_0x185363):_0x793a69,_0x228f21=_0x78e358[_0x42b22c(0x291)]-0x1,_0x51cf2d;_0x228f21>=0x0;_0x228f21--)(_0x51cf2d=_0x78e358[_0x228f21])&&(_0x54f16b=_0x51cf2d(_0x54f16b)||_0x54f16b);return _0x54f16b;},Ae=(_0x34cb86,_0x417ef2)=>(_0x449789,_0x4ba9c3)=>_0x417ef2(_0x449789,_0x4ba9c3,_0x34cb86);let bt=class extends _0x5c6473{constructor(_0x842fa6,_0x59d244,_0x2cf195,_0x323769,_0xdcb044){var _0x507ed4=_0x57ebea;super(_0x842fa6,_0x59d244,_0x2cf195),this[_0x507ed4(0x13b)]=_0x323769,this[_0x507ed4(0x3cc)]=_0xdcb044;}[_0x57ebea(0x346)](_0x125b37,_0x1bdc3e){var _0x5ce389=_0x57ebea;const _0xda2a85=this[_0x5ce389(0x3b2)](_0x125b37);if(_0xda2a85)try{const _0x4d4904=this[_0x5ce389(0x141)](_0xda2a85,_0x1bdc3e);this['_substituteUndoStack'](_0x125b37,_0x4d4904);}catch(_0x2f3d7a){this[_0x5ce389(0x3cc)][_0x5ce389(0x379)]('[CollaborationUndoRedoService]',_0x2f3d7a),this['_clearUndo'](_0x125b37);}const _0x25e448=this['_getRedoStack'](_0x125b37);if(_0x25e448)try{const _0x288730=this[_0x5ce389(0x141)](_0x25e448,_0x1bdc3e);this[_0x5ce389(0x26a)](_0x125b37,_0x288730);}catch(_0x2bb899){this[_0x5ce389(0x3cc)][_0x5ce389(0x379)](_0x2bb899),this['_clearRedo'](_0x125b37);}}['_clearUndo'](_0x44cbc0){var _0x7d169=_0x57ebea;const _0x39b0f7=this['_getUndoStack'](_0x44cbc0);_0x39b0f7&&(_0x39b0f7[_0x7d169(0x291)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x4f3f09){var _0x4bcc88=_0x57ebea;const _0x45bcb3=this[_0x4bcc88(0x2ff)](_0x4f3f09);_0x45bcb3&&(_0x45bcb3['length']=0x0,this['_updateStatus']());}[_0x57ebea(0x454)](_0x534c2e,_0x1c9ab4){var _0x32e267=_0x57ebea;this['_undoStacks']['set'](_0x534c2e,_0x1c9ab4),this[_0x32e267(0x44d)]();}[_0x57ebea(0x26a)](_0x4f7f07,_0xd39fab){var _0x34c3f2=_0x57ebea;this['_redoStacks'][_0x34c3f2(0x375)](_0x4f7f07,_0xd39fab),this['_updateStatus']();}[_0x57ebea(0x141)](_0x4da367,_0x6940){var _0x586985=_0x57ebea;const _0x4a7fd9=[];let _0x3d3805=_0x6940,_0x2888ae=_0x6940;for(let _0x1308db=_0x4da367[_0x586985(0x291)]-0x1;_0x1308db>=0x0;_0x1308db--){const {unitID:_0xa5dc2c,undoMutations:_0x255084,redoMutations:_0xeabcfd}=_0x4da367[_0x1308db],_0x371c93=this[_0x586985(0x13b)][_0x586985(0x342)](_0x3d3805,_0x255084),_0x307d6d=this[_0x586985(0x13b)]['transformMutationsWithChangeset'](_0x2888ae,_0xeabcfd);if(_0x24fa3a(_0x371c93)||_0x24fa3a(_0x307d6d)){this[_0x586985(0x3cc)][_0x586985(0x379)](_0x586985(0x157),_0x586985(0x31e),_0x371c93,_0x307d6d);break;}_0x3d3805=_0x371c93[_0x586985(0x32c)],_0x2888ae=_0x307d6d[_0x586985(0x32c)],_0x4a7fd9[_0x586985(0x37e)]({'unitID':_0xa5dc2c,'undoMutations':_0x371c93[_0x586985(0x162)],'redoMutations':_0x307d6d[_0x586985(0x162)]});}return _0x4a7fd9[_0x586985(0x1f1)]();}};bt=rr([Ae(0x0,_0xde0007),Ae(0x1,_0x146b0f),Ae(0x2,_0x8c9c87),Ae(0x3,_0x411c6c),Ae(0x4,_0x395070)],bt);var ar=Object[_0x57ebea(0x1da)],or=Object[_0x57ebea(0x1a9)],cr=(_0x212ad1,_0x1edf51,_0x264e90)=>_0x1edf51 in _0x212ad1?ar(_0x212ad1,_0x1edf51,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x264e90}):_0x212ad1[_0x1edf51]=_0x264e90,_r=(_0x5419ce,_0x4071c2,_0x54a48b,_0x3b54b1)=>{var _0x1f4700=_0x57ebea;for(var _0x3f3aa9=_0x3b54b1>0x1?void 0x0:_0x3b54b1?or(_0x4071c2,_0x54a48b):_0x4071c2,_0x364ad7=_0x5419ce[_0x1f4700(0x291)]-0x1,_0x58c02e;_0x364ad7>=0x0;_0x364ad7--)(_0x58c02e=_0x5419ce[_0x364ad7])&&(_0x3f3aa9=_0x58c02e(_0x3f3aa9)||_0x3f3aa9);return _0x3f3aa9;},pt=(_0x30d62b,_0x472e5b)=>(_0x4f8fbd,_0x221c45)=>_0x472e5b(_0x4f8fbd,_0x221c45,_0x30d62b),hr=(_0x517526,_0x2e40bd,_0x32f6fe)=>cr(_0x517526,_0x2e40bd+'',_0x32f6fe);const lr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x24dda5{constructor(_0x1db85a,_0x3ad2c1,_0x3e4446,_0x39018a){var _0x1cdf1d=_0x57ebea;super(),D(this,_0x1cdf1d(0x144)),(this[_0x1cdf1d(0x3cc)]=_0x3ad2c1,this[_0x1cdf1d(0x30c)]=_0x3e4446,this[_0x1cdf1d(0x25c)]=_0x39018a);const {..._0x275661}=_0x18d54f({},ks,_0x1db85a);if(!_0x275661[_0x1cdf1d(0x326)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x1cdf1d(0x144)]=_0x275661,this[_0x1cdf1d(0x25c)][_0x1cdf1d(0x222)](K,_0x275661);}[_0x57ebea(0x332)](){var _0x5ed49c=_0x57ebea;this[_0x5ed49c(0x202)](),this[_0x5ed49c(0x333)]();}[_0x57ebea(0x202)](){var _0x631089=_0x57ebea,_0x4d00cf,_0x291468;this[_0x631089(0x30c)][_0x631089(0x280)](_0x3d9a42)&&this[_0x631089(0x3cc)][_0x631089(0x379)](_0x631089(0x32e),_0x631089(0x359));const _0xb5060d=_0x32dfe5([[_0x3d9a42,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this['_config'][_0x631089(0x326)]}],[_0x4d28e8,{'useClass':Ct}],[_0x2df7f1,{'useClass':Tt}],[_0x33f95c,{'useClass':Rt}],[_0x17c0ae,{'useClass':Nt}],[nt],[gt]],(_0x4d00cf=this[_0x631089(0x144)])==null?void 0x0:_0x4d00cf[_0x631089(0x1a7)]);if(!((_0x291468=this[_0x631089(0x144)])!=null&&_0x291468[_0x631089(0x203)])){const _0x1875a1=_0xb5060d['findIndex'](([_0x39fd1d])=>_0x39fd1d===_t);_0x1875a1!==-0x1&&_0xb5060d[_0x631089(0x22f)](_0x1875a1,0x1);}_0x2d70a4(this[_0x631089(0x30c)],_0xb5060d);}[_0x57ebea(0x333)](){var _0x342df3=_0x57ebea,_0x34612f,_0x2a05f7,_0x38ab8e;this[_0x342df3(0x30c)][_0x342df3(0x19b)](_0x3e703e)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x55867b({'maxParallel':0x6})}),(_0x34612f=this['_config'])!=null&&_0x34612f[_0x342df3(0x292)]||(_0x2a05f7=this[_0x342df3(0x30c)][_0x342df3(0x19b)](X,_0x4e93f3[_0x342df3(0x1c9)]))==null||_0x2a05f7[_0x342df3(0x3ca)](),(_0x38ab8e=this[_0x342df3(0x144)])!=null&&_0x38ab8e[_0x342df3(0x1d7)]&&_0x3c0e82(this[_0x342df3(0x30c)],[[rt]]),_0x3c0e82(this[_0x342df3(0x30c)],[[at],[nt],[ot]]);}};hr(Dt,'pluginName',lr),Dt=_r([_0x4bd723(_0x53d603,_0x3d3879),pt(0x1,_0x395070),pt(0x2,_0xd9eea8(_0xa5b871)),pt(0x3,_0x218bfc)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,pi as CommentService,ue as ConflictState,Is as DEFAULT_COLLAB_WEB_SOCKET_URL,br as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Or as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Ss as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Vs as INetworkConditionService,_t as ISingleActiveUnitService,Nr as LOCAL_CACHE_INTERVAL,Rr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Cr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Os as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ct as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Gs as deserializeToCombResponse,Dr as getLocalCacheKey,Ws as serializeCombRequest};
|