@univerjs-pro/collaboration-client 0.15.0-insiders.20251227-453e4ff → 0.15.0-insiders.20251227-c108ce3
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/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 +11 -11
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x121d26=_0x21ef;(function(_0x22c538,_0x3686a2){var _0x3ad360=_0x21ef,_0x1ac9fb=_0x22c538();while(!![]){try{var _0xff1cfb=-parseInt(_0x3ad360(0x2d5))/0x1+-parseInt(_0x3ad360(0x433))/0x2+-parseInt(_0x3ad360(0x3e4))/0x3*(-parseInt(_0x3ad360(0x22c))/0x4)+-parseInt(_0x3ad360(0x2c1))/0x5*(parseInt(_0x3ad360(0x42d))/0x6)+-parseInt(_0x3ad360(0x41e))/0x7*(-parseInt(_0x3ad360(0x2be))/0x8)+parseInt(_0x3ad360(0x236))/0x9+parseInt(_0x3ad360(0x20f))/0xa;if(_0xff1cfb===_0x3686a2)break;else _0x1ac9fb['push'](_0x1ac9fb['shift']());}catch(_0x5892bc){_0x1ac9fb['push'](_0x1ac9fb['shift']());}}}(_0xf0d8,0x483f0));var Di=Object['defineProperty'],yi=(_0xf935df,_0x19688e,_0x59276c)=>_0x19688e in _0xf935df?Di(_0xf935df,_0x19688e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59276c}):_0xf935df[_0x19688e]=_0x59276c,D=(_0x253d9d,_0x56571e,_0x701a60)=>yi(_0x253d9d,typeof _0x56571e!=_0x121d26(0x35f)?_0x56571e+'':_0x56571e,_0x701a60);function _0x21ef(_0x5ec098,_0x1e859f){_0x5ec098=_0x5ec098-0x118;var _0xf0d806=_0xf0d8();var _0x21ef39=_0xf0d806[_0x5ec098];return _0x21ef39;}import{CollaborationEvent as _0x33c4f2,ITransformService as _0x2ad6b6,isTransformMutationsWithChangesetSuccess as _0x31ca89,mapDocumentTypeToUniverType as _0x428ccd,RevisionService as _0x58d0ad,isTransformChangesetsSuccess as _0x2b95a6,EmptyMutationInfo as _0x521412,CompressMutationService as _0x5a03ee,parseProtocolChangeset as _0x1282a4,uuidv4 as _0x313e4d,ISnapshotServerService as _0x19a600,parseChangesetToProtocol as _0x48f355,SnapshotService as _0x479edc,textEncoder as _0x744c0,b64DecodeUnicode as _0x325a68,isTransformMutationsWithChangesetFailure as _0x1c2b13,UniverCollaborationPlugin as _0x2b1212}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3b6c0b,Inject as _0x203c15,UserManagerService as _0x2b7929,Disposable as _0x1b6c53,UniverInstanceType as _0x43f769,ILogService as _0x25770b,IConfigService as _0x5d33d6,Optional as _0x83b4c2,RxDisposable as _0xfba5ec,createIdentifier as _0x718b2c,Injector as _0x2c83be,Tools as _0x1929a,Rectangle as _0x8be620,ICommandService as _0x774a67,JSONX as _0x31b93a,IUndoRedoService as _0x134895,IPermissionService as _0x5a99ac,LocaleService as _0x3dd6d6,sequenceExecute as _0xa02999,toDisposable as _0x56f884,CommandType as _0x1ea905,DisposableCollection as _0x3eebda,Workbook as _0x233c9e,generateRandomId as _0x5a6929,MentionType as _0x1ba2be,isInternalEditorID as _0x490d70,LocalUndoRedoService as _0x76b333,IContextService as _0x128fd5,DependentOn as _0x564b99,Plugin as _0x3ef419,merge as _0x5b93cb,mergeOverrideWithDependencies as _0x31f0b9,IAuthzIoService as _0x5eebc3,IMentionIOService as _0x5397bf,registerDependencies as _0x660004,Quantity as _0x45dc1e,touchDependencies as _0x382a12}from'@univerjs/core';import{RichTextEditingMutation as _0x1de257}from'@univerjs/docs';import{SheetsSelectionsService as _0x453fba,SetSelectionsOperation as _0x535c9b,InsertSheetMutation as _0x28e94d,WorkbookEditablePermission as _0x598724,SheetPermissionInitController as _0x30d6a3}from'@univerjs/sheets';import{Subject as _0x545a47,merge as _0x3f0397,of as _0x2d1e9e,BehaviorSubject as _0x318a14,takeUntil as _0x5d5768,ReplaySubject as _0x378ad8,take as _0x330812,map as _0x1e0513,shareReplay as _0xef14fe,firstValueFrom as _0x1cda92,concatMap as _0xb2d54d}from'rxjs';import{ITelemetryService as _0x3b0430}from'@univerjs/telemetry';import{map as _0x28f923,take as _0x31c2a4,filter as _0x522f25,delay as _0x440490,takeUntil as _0xcab057}from'rxjs/operators';import{HTTPService as _0x1a7bf7,ISocketService as _0x4c88c2,MergeInterceptorFactory as _0xc364ad,HTTPRequest as _0x25d3de,UniverNetworkPlugin as _0x482b92,ThresholdInterceptorFactory as _0x5ad284}from'@univerjs/network';import{ImageSourceType as _0x311088,ImageUploadStatusType as _0x2e33ae,IImageIoService as _0xba9fe1}from'@univerjs/drawing';import{getGlobalObject as _0xbbdc34}from'@univerjs-pro/license';const vs='/universer-api/snapshot',Es=_0x121d26(0x322),ps=0x7d0,ms='ws://127.0.0.1:8000/universer-api/comb/connect',Tr=_0x121d26(0x3a9),Is=_0x121d26(0x359),Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,gs=0x4e20,Ts=_0x121d26(0x162),Os=0x3,Or=_0x121d26(0x3be),Rr=0x3e8,Rs='/universer-api/comb',Ns='/universer-api/oidc/authpage',Nr=_0x121d26(0x23f),Cr=_0x121d26(0x2f1);var vi=(_0x1525ac=>(_0x1525ac[_0x1525ac[_0x121d26(0x348)]=0x0]='UNDEFINED',_0x1525ac[_0x1525ac['OK']=0x1]='OK',_0x1525ac[_0x1525ac[_0x121d26(0x258)]=0x2]='INTERNAL_ERROR',_0x1525ac[_0x1525ac[_0x121d26(0x3ed)]=0x3]=_0x121d26(0x3ed),_0x1525ac[_0x1525ac[_0x121d26(0x3df)]=0x4]=_0x121d26(0x3df),_0x1525ac[_0x1525ac[_0x121d26(0x11b)]=0x5]=_0x121d26(0x11b),_0x1525ac[_0x1525ac['ALREADY_EXISTS']=0x6]=_0x121d26(0x298),_0x1525ac[_0x1525ac['INVALID_ARGUMENT']=0x7]=_0x121d26(0x33b),_0x1525ac[_0x1525ac[_0x121d26(0x40f)]=0x8]=_0x121d26(0x40f),_0x1525ac[_0x1525ac['COMPLETION_FINISHED']=0x9]=_0x121d26(0x174),_0x1525ac[_0x1525ac[_0x121d26(0x385)]=0xa]=_0x121d26(0x385),_0x1525ac[_0x1525ac['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x121d26(0x178),_0x1525ac[_0x1525ac[_0x121d26(0x31d)]=0xc]=_0x121d26(0x31d),_0x1525ac[_0x1525ac[_0x121d26(0x34c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1525ac[_0x1525ac[_0x121d26(0x309)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1525ac[_0x1525ac[_0x121d26(0x3f3)]=0xf]=_0x121d26(0x3f3),_0x1525ac[_0x1525ac[_0x121d26(0x20a)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x1525ac[_0x1525ac[_0x121d26(0x3ea)]=0x64]=_0x121d26(0x3ea),_0x1525ac[_0x1525ac[_0x121d26(0x386)]=0x65]=_0x121d26(0x386),_0x1525ac[_0x1525ac[_0x121d26(0x40b)]=0xc9]=_0x121d26(0x40b),_0x1525ac[_0x1525ac[_0x121d26(0x2c8)]=0xca]=_0x121d26(0x2c8),_0x1525ac[_0x1525ac['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1525ac[_0x1525ac[_0x121d26(0x16b)]=0x1771]=_0x121d26(0x16b),_0x1525ac[_0x1525ac[_0x121d26(0x3b8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1525ac[_0x1525ac['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1525ac[_0x1525ac['APPLY_REJECT']=0x1b59]=_0x121d26(0x16e),_0x1525ac[_0x1525ac[_0x121d26(0x1ac)]=0x1b5a]=_0x121d26(0x1ac),_0x1525ac[_0x1525ac['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x121d26(0x226),_0x1525ac[_0x1525ac['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x121d26(0x119),_0x1525ac[_0x1525ac[_0x121d26(0x2de)]=0x1b5d]=_0x121d26(0x2de),_0x1525ac[_0x1525ac[_0x121d26(0x3bb)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1525ac[_0x1525ac[_0x121d26(0x299)]=0x2329]=_0x121d26(0x299),_0x1525ac[_0x1525ac[_0x121d26(0x33d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1525ac[_0x1525ac[_0x121d26(0x24a)]=0x232b]=_0x121d26(0x24a),_0x1525ac[_0x1525ac[_0x121d26(0x275)]=0x232c]=_0x121d26(0x275),_0x1525ac[_0x1525ac['LICENSE_DISTRO_REJECTED']=0x232d]=_0x121d26(0x1ab),_0x1525ac[_0x1525ac['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x121d26(0x1f0),_0x1525ac[_0x1525ac[_0x121d26(0x1d7)]=0x2712]=_0x121d26(0x1d7),_0x1525ac[_0x1525ac['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1525ac[_0x1525ac[_0x121d26(0x124)]=0x2714]=_0x121d26(0x124),_0x1525ac[_0x1525ac['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x121d26(0x1d8),_0x1525ac[_0x1525ac[_0x121d26(0x1f4)]=0x271b]=_0x121d26(0x1f4),_0x1525ac[_0x1525ac['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x121d26(0x2e4),_0x1525ac[_0x1525ac['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x121d26(0x203),_0x1525ac[_0x1525ac[_0x121d26(0x3c5)]=0x271e]=_0x121d26(0x3c5),_0x1525ac[_0x1525ac[_0x121d26(0x29b)]=0x271f]=_0x121d26(0x29b),_0x1525ac[_0x1525ac[_0x121d26(0x327)]=0x2720]=_0x121d26(0x327),_0x1525ac[_0x1525ac[_0x121d26(0x3f9)]=0x2af9]=_0x121d26(0x3f9),_0x1525ac[_0x1525ac[_0x121d26(0x14e)]=0x2ee1]=_0x121d26(0x14e),_0x1525ac[_0x1525ac[_0x121d26(0x1c7)]=0x2ee2]='INVALID_INVITE_CODE',_0x1525ac[_0x1525ac[_0x121d26(0x313)]=0x2ee3]=_0x121d26(0x313),_0x1525ac[_0x1525ac[_0x121d26(0x1c0)]=0x2ee4]=_0x121d26(0x1c0),_0x1525ac[_0x1525ac['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x121d26(0x2aa),_0x1525ac[_0x1525ac[_0x121d26(0x1cc)]=0x32c9]=_0x121d26(0x1cc),_0x1525ac[_0x1525ac[_0x121d26(0x18e)]=0x32ca]=_0x121d26(0x18e),_0x1525ac[_0x1525ac[_0x121d26(0x377)]=0x32cb]=_0x121d26(0x377),_0x1525ac[_0x1525ac[_0x121d26(0x33c)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x1525ac[_0x1525ac[_0x121d26(0x358)]=0x36b2]=_0x121d26(0x358),_0x1525ac[_0x1525ac['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x121d26(0x1d9),_0x1525ac[_0x1525ac[_0x121d26(0x2bc)]=0x36b4]=_0x121d26(0x2bc),_0x1525ac[_0x1525ac[_0x121d26(0x23b)]=0x36b5]=_0x121d26(0x23b),_0x1525ac[_0x1525ac[_0x121d26(0x1a9)]=0x36b6]=_0x121d26(0x1a9),_0x1525ac[_0x1525ac[_0x121d26(0x1e2)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x1525ac[_0x1525ac['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x1525ac[_0x1525ac[_0x121d26(0x3f5)]=0x3715]=_0x121d26(0x3f5),_0x1525ac[_0x1525ac[_0x121d26(0x2f5)]=0x3716]=_0x121d26(0x2f5),_0x1525ac[_0x1525ac[_0x121d26(0x20c)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1525ac[_0x1525ac[_0x121d26(0x3ac)]=0x37dd]=_0x121d26(0x3ac),_0x1525ac[_0x1525ac[_0x121d26(0x12d)]=0x3a99]=_0x121d26(0x12d),_0x1525ac[_0x1525ac[_0x121d26(0x247)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x1525ac[_0x1525ac[_0x121d26(0x28b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1525ac[_0x1525ac['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x121d26(0x24d),_0x1525ac[_0x1525ac[_0x121d26(0x3ec)]=0x3a9d]=_0x121d26(0x3ec),_0x1525ac[_0x1525ac[_0x121d26(0x250)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1525ac[_0x1525ac[_0x121d26(0x146)]=0x3a9f]=_0x121d26(0x146),_0x1525ac[_0x1525ac[_0x121d26(0x418)]=0x3e81]=_0x121d26(0x418),_0x1525ac[_0x1525ac['UNRECOGNIZED']=-0x1]=_0x121d26(0x3ce),_0x1525ac))(vi||{}),Q=(_0x3d27d5=>(_0x3d27d5[_0x3d27d5[_0x121d26(0x1de)]=0x0]='UNIVER_UNKNOWN',_0x3d27d5[_0x3d27d5[_0x121d26(0x363)]=0x1]=_0x121d26(0x363),_0x3d27d5[_0x3d27d5[_0x121d26(0x338)]=0x2]=_0x121d26(0x338),_0x3d27d5[_0x3d27d5[_0x121d26(0x42c)]=0x3]='UNIVER_SLIDE',_0x3d27d5[_0x3d27d5[_0x121d26(0x121)]=0x4]=_0x121d26(0x121),_0x3d27d5[_0x3d27d5[_0x121d26(0x3ce)]=-0x1]=_0x121d26(0x3ce),_0x3d27d5))(Q||{}),j=(_0x352c32=>(_0x352c32[_0x352c32[_0x121d26(0x126)]=0x0]=_0x121d26(0x126),_0x352c32[_0x352c32[_0x121d26(0x1b4)]=0x1]='HELLO',_0x352c32[_0x352c32[_0x121d26(0x3fb)]=0x2]=_0x121d26(0x3fb),_0x352c32[_0x352c32['LEAVE']=0x3]=_0x121d26(0x29c),_0x352c32[_0x352c32[_0x121d26(0x2fc)]=0x4]=_0x121d26(0x2fc),_0x352c32[_0x352c32[_0x121d26(0x397)]=0x5]=_0x121d26(0x397),_0x352c32[_0x352c32['RECV']=0x6]='RECV',_0x352c32[_0x352c32[_0x121d26(0x3ce)]=-0x1]='UNRECOGNIZED',_0x352c32))(j||{}),Ee=(_0x2b38f1=>(_0x2b38f1[_0x2b38f1['UNKNOWN_CODE']=0x0]=_0x121d26(0x157),_0x2b38f1[_0x2b38f1['OK']=0x1]='OK',_0x2b38f1[_0x2b38f1[_0x121d26(0x3ef)]=0x2]='FAIL',_0x2b38f1[_0x2b38f1['JOIN_ROOM_FULL']=0x3e9]=_0x121d26(0x1e7),_0x2b38f1[_0x2b38f1[_0x121d26(0x225)]=0x3ea]=_0x121d26(0x225),_0x2b38f1[_0x2b38f1[_0x121d26(0x260)]=0x3eb]=_0x121d26(0x260),_0x2b38f1[_0x2b38f1[_0x121d26(0x18b)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2b38f1[_0x2b38f1[_0x121d26(0x3ce)]=-0x1]=_0x121d26(0x3ce),_0x2b38f1))(Ee||{}),Ei=(_0x18e81a=>(_0x18e81a[_0x18e81a[_0x121d26(0x410)]=0x0]=_0x121d26(0x410),_0x18e81a[_0x18e81a[_0x121d26(0x1b1)]=0x1]=_0x121d26(0x1b1),_0x18e81a[_0x18e81a[_0x121d26(0x2cc)]=0x2]=_0x121d26(0x2cc),_0x18e81a[_0x18e81a[_0x121d26(0x175)]=0x3]=_0x121d26(0x175),_0x18e81a[_0x18e81a[_0x121d26(0x285)]=0x4]=_0x121d26(0x285),_0x18e81a[_0x18e81a['UserProfileImg']=0x5]=_0x121d26(0x246),_0x18e81a[_0x18e81a[_0x121d26(0x28a)]=0x6]=_0x121d26(0x28a),_0x18e81a[_0x18e81a['UNRECOGNIZED']=-0x1]=_0x121d26(0x3ce),_0x18e81a))(Ei||{});const Cs=_0x121d26(0x1bd);function bs(_0x3cf47c){var _0xf8e9ca=_0x121d26;return JSON[_0xf8e9ca(0x26e)](_0x3cf47c)[_0xf8e9ca(0x234)];}var re=(_0x5177b7=>(_0x5177b7[_0x121d26(0x3e7)]=_0x121d26(0x3e7),_0x5177b7[_0x121d26(0x3ed)]='PERMISSION_DENIED',_0x5177b7[_0x121d26(0x321)]=_0x121d26(0x321),_0x5177b7[_0x121d26(0x1d6)]=_0x121d26(0x1d6),_0x5177b7['JOIN_ROOM_FAILED']=_0x121d26(0x21d),_0x5177b7[_0x121d26(0x3ff)]='SOCKET_FAILED_RETRY',_0x5177b7[_0x121d26(0x288)]='SOCKET_FAILED',_0x5177b7[_0x121d26(0x3bc)]=_0x121d26(0x3bc),_0x5177b7))(re||{});class ve{constructor(){var _0xf7c3f8=_0x121d26;D(this,'_event$',new _0x545a47()),D(this,_0xf7c3f8(0x2a3),this[_0xf7c3f8(0x2d2)]['asObservable']());}[_0x121d26(0x335)](_0xe47480){var _0x32b370=_0x121d26;this[_0x32b370(0x2d2)]['next'](_0xe47480);}}class pi{constructor(){var _0x687ca2=_0x121d26;D(this,_0x687ca2(0x2d8),new _0x545a47()),D(this,_0x687ca2(0x37b),this[_0x687ca2(0x2d8)][_0x687ca2(0x2d7)]());}[_0x121d26(0x3b4)](_0x13b5fb){var _0x3a67be=_0x121d26;this['_commentUpdate$'][_0x3a67be(0x186)](_0x13b5fb);}}var Ds=Object[_0x121d26(0x145)],ys=(_0xc33061,_0x2da665,_0x41e0dc,_0x113d3d)=>{var _0x2f584f=_0x121d26;for(var _0x4f5efc=_0x113d3d>0x1?void 0x0:_0x113d3d?Ds(_0x2da665,_0x41e0dc):_0x2da665,_0x54e7ce=_0xc33061[_0x2f584f(0x234)]-0x1,_0x506ad2;_0x54e7ce>=0x0;_0x54e7ce--)(_0x506ad2=_0xc33061[_0x54e7ce])&&(_0x4f5efc=_0x506ad2(_0x4f5efc)||_0x4f5efc);return _0x4f5efc;},Ft=(_0x17b012,_0x40ab05)=>(_0x48989c,_0x36385f)=>_0x40ab05(_0x48989c,_0x36385f,_0x17b012);let Pe=class extends _0x1b6c53{constructor(_0x2e1198,_0xfe731){var _0x1ee1e8=_0x121d26;super(),D(this,_0x1ee1e8(0x16d),new Map()),D(this,_0x1ee1e8(0x28f),new _0x545a47()),(this[_0x1ee1e8(0x1f3)]=_0x2e1198,this[_0x1ee1e8(0x3bd)]=_0xfe731,this['disposeWithMe'](_0x3f0397(this[_0x1ee1e8(0x1f3)][_0x1ee1e8(0x191)](_0x43f769['UNIVER_SHEET'])[_0x1ee1e8(0x3c2)](_0x28f923(_0x508883=>_0x508883[_0x1ee1e8(0x173)]())),this['_univerInstanceService'][_0x1ee1e8(0x191)](_0x43f769['UNIVER_DOC'])[_0x1ee1e8(0x3c2)](_0x28f923(_0x526be7=>_0x526be7['getUnitId']())),this[_0x1ee1e8(0x1f3)][_0x1ee1e8(0x191)](_0x43f769['UNIVER_SLIDE'])[_0x1ee1e8(0x3c2)](_0x28f923(_0x5c4392=>_0x5c4392[_0x1ee1e8(0x173)]())))[_0x1ee1e8(0x11c)](_0x3370d9=>this['_removeRoom'](_0x3370d9))));}[_0x121d26(0x19c)](_0x249440){var _0x16f030=_0x121d26;return this[_0x16f030(0x16d)][_0x16f030(0x152)](_0x249440)?_0x2d1e9e(this[_0x16f030(0x16d)][_0x16f030(0x23a)](_0x249440)):this['_roomCreated$'][_0x16f030(0x3c2)](_0x28f923(_0x384ef8=>{var _0x1ad8ad=_0x16f030;if(_0x384ef8===_0x249440)return this[_0x1ad8ad(0x16d)]['get'](_0x384ef8);}));}[_0x121d26(0x37e)](_0x5b7e28){var _0xfc1094=_0x121d26;this[_0xfc1094(0x3bd)][_0xfc1094(0x37e)](_0x5b7e28);}[_0x121d26(0x182)](){var _0x310093=_0x121d26;return this['_userManagerService'][_0x310093(0x182)]();}[_0x121d26(0x437)](_0x3836b7,_0x543f7f){var _0x152073=_0x121d26;let _0x50aa44=this[_0x152073(0x16d)][_0x152073(0x23a)](_0x3836b7);_0x50aa44||(_0x50aa44=new Us(),this[_0x152073(0x16d)]['set'](_0x3836b7,_0x50aa44),this[_0x152073(0x28f)]['next'](_0x3836b7)),_0x50aa44[_0x152073(0x437)](_0x543f7f);}[_0x121d26(0x21b)](_0x40e687,_0x3e4b89){var _0x420826=_0x121d26;const _0x16009e=this[_0x420826(0x16d)][_0x420826(0x23a)](_0x40e687);_0x16009e&&_0x16009e['removeMember'](_0x3e4b89);}[_0x121d26(0x389)](_0x4181d6){var _0x329cba=_0x121d26;return this[_0x329cba(0x16d)]['get'](_0x4181d6);}[_0x121d26(0x2af)](_0x159b79,_0x1adf50){var _0x598cf9=_0x121d26;const _0x50e31e=this['_roomMembers'][_0x598cf9(0x23a)](_0x159b79);if(_0x50e31e)return _0x50e31e[_0x598cf9(0x2af)](_0x1adf50);}[_0x121d26(0x420)](_0x27eac1){var _0x3ad5f7=_0x121d26;const _0x2d5202=this[_0x3ad5f7(0x16d)][_0x3ad5f7(0x23a)](_0x27eac1);_0x2d5202&&(_0x2d5202[_0x3ad5f7(0x383)](),this[_0x3ad5f7(0x16d)]['delete'](_0x27eac1));}[_0x121d26(0x383)](){var _0x1ca945=_0x121d26;this['_roomMembers'][_0x1ca945(0x3c7)](_0x4993af=>_0x4993af['dispose']()),this[_0x1ca945(0x16d)]['clear'](),this[_0x1ca945(0x28f)]['complete']();}};Pe=ys([Ft(0x0,_0x3b6c0b),Ft(0x1,_0x203c15(_0x2b7929))],Pe);class Us extends _0x1b6c53{constructor(){var _0x931255=_0x121d26;super(...arguments),D(this,_0x931255(0x1d5),new Map()),D(this,_0x931255(0x398),new _0x318a14(this[_0x931255(0x1d5)])),D(this,_0x931255(0x194),this[_0x931255(0x398)]['asObservable']());}[_0x121d26(0x383)](){var _0x1d3ee5=_0x121d26;this[_0x1d3ee5(0x1d5)]['clear']();}[_0x121d26(0x437)](_0x2f5da3){var _0x4981c0=_0x121d26;this[_0x4981c0(0x1d5)][_0x4981c0(0x204)](_0x2f5da3[_0x4981c0(0x18f)],_0x2f5da3),this[_0x4981c0(0x2b2)]();}['removeMember'](_0x854b8){var _0xb6712c=_0x121d26;this[_0xb6712c(0x1d5)][_0xb6712c(0x3c8)](_0x854b8);}[_0x121d26(0x2af)](_0x4dbad1){var _0x4cc43b=_0x121d26;return this[_0x4cc43b(0x1d5)][_0x4cc43b(0x23a)](_0x4dbad1);}['getAllMembers'](){var _0x45143d=_0x121d26;return Array[_0x45143d(0x1c5)](this[_0x45143d(0x1d5)][_0x45143d(0x136)]());}[_0x121d26(0x2b2)](){var _0x28a96c=_0x121d26;this[_0x28a96c(0x398)][_0x28a96c(0x186)](this['_members']);}}var As=Object[_0x121d26(0x145)],Ps=(_0x482b4b,_0x1588c6,_0x10ee26,_0x453298)=>{for(var _0x252c95=_0x453298>0x1?void 0x0:_0x453298?As(_0x1588c6,_0x10ee26):_0x1588c6,_0x408143=_0x482b4b['length']-0x1,_0x12bd0e;_0x408143>=0x0;_0x408143--)(_0x12bd0e=_0x482b4b[_0x408143])&&(_0x252c95=_0x12bd0e(_0x252c95)||_0x252c95);return _0x252c95;},Oe=(_0x2c6510,_0x19d5b4)=>(_0x48ae0f,_0x99c9b3)=>_0x19d5b4(_0x48ae0f,_0x99c9b3,_0x2c6510),me=(_0x5edaaf=>(_0x5edaaf[_0x5edaaf[_0x121d26(0x1d3)]=0x0]='IDLE',_0x5edaaf[_0x5edaaf[_0x121d26(0x2ad)]=0x1]=_0x121d26(0x2ad),_0x5edaaf[_0x5edaaf[_0x121d26(0x284)]=0x2]=_0x121d26(0x284),_0x5edaaf[_0x5edaaf[_0x121d26(0x350)]=0x3]=_0x121d26(0x350),_0x5edaaf))(me||{});const jt={[Ee['FAIL']]:_0x121d26(0x43c),[Ee[_0x121d26(0x1e7)]]:_0x121d26(0x379),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x121d26(0x331),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x121d26(0x3f1),[Ee[_0x121d26(0x18b)]]:_0x121d26(0x205)};let mt=class extends _0xfba5ec{constructor(_0x174efc,_0x2be7a3,_0x51f46d,_0x25ac54,_0x2f1a3c,_0x355d83,_0x5d6561,_0x2cb705){var _0x15deb2=_0x121d26;super(),D(this,_0x15deb2(0x2b1),new _0x318a14(0x0)),D(this,_0x15deb2(0x1b5),this[_0x15deb2(0x2b1)][_0x15deb2(0x2d7)]()),D(this,'_event$',new _0x545a47()),D(this,_0x15deb2(0x2a3),this['_event$'][_0x15deb2(0x2d7)]()),D(this,'_socket'),D(this,_0x15deb2(0x417)),D(this,_0x15deb2(0x163)),D(this,_0x15deb2(0x38c),!0x1),D(this,_0x15deb2(0x1d4),null),(this[_0x15deb2(0x3d1)]=_0x174efc,this[_0x15deb2(0x180)]=_0x51f46d,this[_0x15deb2(0x282)]=_0x25ac54,this[_0x15deb2(0x2ee)]=_0x2f1a3c,this['_commentService']=_0x355d83,this[_0x15deb2(0x2a0)]=_0x5d6561,this[_0x15deb2(0x2cd)]=_0x2cb705,this[_0x15deb2(0x38c)]=!!this['_telemetryService'],_0x2be7a3[_0x15deb2(0x3c2)](_0x5d5768(this[_0x15deb2(0x426)]))[_0x15deb2(0x11c)](_0x40e626=>{var _0x8a1ba6=_0x15deb2,_0x38edbb;typeof _0x40e626>'u'||(this[_0x8a1ba6(0x3dd)]=_0x40e626,_0x40e626?(this[_0x8a1ba6(0x181)](_0x40e626),this['_socketMessageSubscription']=_0x40e626[_0x8a1ba6(0x13e)][_0x8a1ba6(0x11c)](_0x1f78e5=>{var _0x26c4e2=_0x8a1ba6;_0x1f78e5[_0x26c4e2(0x166)]===this[_0x26c4e2(0x3d1)]&&this[_0x26c4e2(0x438)](_0x1f78e5);})):(this[_0x8a1ba6(0x28d)](),this['_sessionStatus$'][_0x8a1ba6(0x186)](0x2),(_0x38edbb=this[_0x8a1ba6(0x417)])==null||_0x38edbb[_0x8a1ba6(0x292)](),this['_socketMessageSubscription']=null));}));}get[_0x121d26(0x302)](){var _0x59426c=_0x121d26;return this[_0x59426c(0x2b1)][_0x59426c(0x407)]();}['getMemberID'](){var _0x35de70=_0x121d26,_0xf0c838,_0x18f470;return(_0x18f470=(_0xf0c838=this['_socket'])==null?void 0x0:_0xf0c838[_0x35de70(0x18f)])!=null?_0x18f470:null;}[_0x121d26(0x383)](){var _0x4b8d0c=_0x121d26;super[_0x4b8d0c(0x383)](),this[_0x4b8d0c(0x426)][_0x4b8d0c(0x186)](),this[_0x4b8d0c(0x426)][_0x4b8d0c(0x14d)]();}[_0x121d26(0x3c4)](){var _0x265240=_0x121d26,_0x55ca08,_0x37bd08;this[_0x265240(0x28d)](),(_0x55ca08=this[_0x265240(0x3dd)])==null||_0x55ca08['send']({'cmd':j['LEAVE'],'data':{'roomID':this[_0x265240(0x3d1)]}}),(_0x37bd08=this['_socket'])==null||_0x37bd08[_0x265240(0x3c4)](),this[_0x265240(0x2d2)]['complete'](),this[_0x265240(0x2b1)]['complete'](),this['dispose']();}[_0x121d26(0x438)](_0x1b7647){var _0x5792fc=_0x121d26;_0x1b7647[_0x5792fc(0x2cf)]===j[_0x5792fc(0x3fb)]?this[_0x5792fc(0x123)](_0x1b7647):_0x1b7647['cmd']===j[_0x5792fc(0x3f4)]&&this[_0x5792fc(0x3a6)](_0x1b7647);}['_joinRoom'](_0x11a785){var _0x51fb2c=_0x121d26;this[_0x51fb2c(0x2b1)]['next'](0x1),_0x11a785[_0x51fb2c(0x2b6)]({'cmd':j['JOIN'],'routeKey':this[_0x51fb2c(0x3d1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x51fb2c(0x3d1)]}]}});}[_0x121d26(0x123)](_0x91e3b4){var _0x43fb4a=_0x121d26,_0x5bbcf5;if(_0x91e3b4[_0x43fb4a(0x2fa)]in jt){this['_collaborationUIEventService'][_0x43fb4a(0x335)]({'id':re[_0x43fb4a(0x21d)],'data':jt[_0x91e3b4[_0x43fb4a(0x2fa)]]}),this['_sessionStatus$'][_0x43fb4a(0x186)](0x2);return;}this['_sessionStatus$'][_0x43fb4a(0x186)](0x3);const _0xf20480=(_0x5bbcf5=_0x91e3b4[_0x43fb4a(0x373)][_0x43fb4a(0x216)][this['_unitID']])==null?void 0x0:_0x5bbcf5[_0x43fb4a(0x21e)];_0xf20480&&_0xf20480[_0x43fb4a(0x3c7)](_0x1ef6ba=>this['_memberService'][_0x43fb4a(0x437)](this[_0x43fb4a(0x3d1)],_0x1ef6ba));}[_0x121d26(0x3a6)](_0x108439){var _0x264802=_0x121d26;try{const _0x222b48=_0x108439['data'];switch(_0x222b48[_0x264802(0x408)]){case _0x33c4f2[_0x264802(0x424)]:this['_onUserJoin'](_0x222b48),this['_event$'][_0x264802(0x186)](_0x222b48);break;case _0x33c4f2[_0x264802(0x36f)]:this[_0x264802(0x30f)](_0x222b48),this[_0x264802(0x2d2)]['next'](_0x222b48);break;case _0x33c4f2[_0x264802(0x138)]:case _0x33c4f2['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x264802(0x2d2)]['next'](_0x222b48);break;case _0x33c4f2['MSG_FOR_ERROR']:this[_0x264802(0x180)][_0x264802(0x118)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x264802(0x26e)](_0x222b48)),this[_0x264802(0x2d2)]['next'](_0x222b48);break;case _0x33c4f2[_0x264802(0x255)]:this['_commentService'][_0x264802(0x3b4)](_0x222b48[_0x264802(0x373)]),this[_0x264802(0x2d2)][_0x264802(0x186)](_0x222b48);break;default:this[_0x264802(0x2d2)][_0x264802(0x186)](_0x222b48);}}catch(_0x3394d4){this[_0x264802(0x180)][_0x264802(0x118)](_0x3394d4,_0x108439);}}['_onUserJoin'](_0x4b8ef2){var _0x5e18a6=_0x121d26;this[_0x5e18a6(0x2ee)][_0x5e18a6(0x437)](this[_0x5e18a6(0x3d1)],_0x4b8ef2[_0x5e18a6(0x373)]);}['_onUserLeave'](_0x125785){var _0xb8e4c3=_0x121d26;this[_0xb8e4c3(0x2ee)][_0xb8e4c3(0x21b)](this[_0xb8e4c3(0x3d1)],_0x125785[_0xb8e4c3(0x373)][_0xb8e4c3(0x18f)]);}async['send'](_0x46cc1c,_0x5b65cc){var _0x589efa=_0x121d26;if(this[_0x589efa(0x302)]!==0x3||!this[_0x589efa(0x3dd)])throw new Error(_0x589efa(0x237));try{_0x46cc1c[_0x589efa(0x408)]===_0x33c4f2[_0x589efa(0x259)]&&(this[_0x589efa(0x300)](),this[_0x589efa(0x183)](_0x46cc1c)),this[_0x589efa(0x3dd)][_0x589efa(0x2b6)]({'cmd':j['INGEST'],'routeKey':_0x5b65cc,'routeType':'','data':_0x46cc1c});}catch(_0x14820e){this['_logService'][_0x589efa(0x118)](_0x14820e);}}[_0x121d26(0x300)](){var _0x4d10ab=_0x121d26,_0x14b670;this[_0x4d10ab(0x163)]=setTimeout(()=>{var _0x1c4c18=_0x4d10ab;this[_0x1c4c18(0x163)]=null,this['_collaborationUIEventService'][_0x1c4c18(0x335)]({'id':re[_0x1c4c18(0x3bc)]});},(_0x14b670=this[_0x4d10ab(0x282)][_0x4d10ab(0x27b)](di))!=null?_0x14b670:fi);}[_0x121d26(0x269)](){var _0x170fbc=_0x121d26;this[_0x170fbc(0x163)]&&(clearTimeout(this[_0x170fbc(0x163)]),this['_collaborationTimeoutTimer']=null);}[_0x121d26(0x183)](_0x393a15){var _0x29b9d0=_0x121d26;if(!this[_0x29b9d0(0x38c)])return;const {data:_0x27141c}=_0x393a15,{unitID:_0x4d0efc,changeset:_0xecb48a}=_0x27141c,{mutations:_0x4cc792,type:_0x412b30}=_0xecb48a;this[_0x29b9d0(0x1d4)]={'unitId':_0x4d0efc,'type':_0x412b30,'startTime':performance[_0x29b9d0(0x188)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x4cc792)};}[_0x121d26(0x244)](){var _0x2ed01b=_0x121d26;if(this[_0x2ed01b(0x38c)]){if(!this['_telemetryInfo']){this[_0x2ed01b(0x180)][_0x2ed01b(0x118)](_0x2ed01b(0x15e),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2ed01b(0x1d4)][_0x2ed01b(0x128)]=performance[_0x2ed01b(0x188)](),this[_0x2ed01b(0x1d4)][_0x2ed01b(0x3ba)]=this[_0x2ed01b(0x1d4)]['stopTime']-this[_0x2ed01b(0x1d4)][_0x2ed01b(0x130)],this['_telemetryService']['capture'](Cs,this['_telemetryInfo']),this[_0x2ed01b(0x1d4)]=null;}}[_0x121d26(0x28d)](){var _0x513716=_0x121d26;this[_0x513716(0x1d4)]=null;}};mt=Ps([Oe(0x2,_0x25770b),Oe(0x3,_0x5d33d6),Oe(0x4,_0x203c15(Pe)),Oe(0x5,_0x203c15(pi)),Oe(0x6,_0x203c15(ve)),Oe(0x7,_0x83b4c2(_0x3b0430))],mt);const X=_0x718b2c('collaboration-client.local-cache-service');function br(_0x112526){var _0x5357d9=_0x121d26;return _0x5357d9(0x220)+_0x112526;}var Ls=Object[_0x121d26(0x145)],Ms=(_0x108d49,_0x44d496,_0x593445,_0x359f7b)=>{var _0x1fe7e0=_0x121d26;for(var _0x373b30=_0x359f7b>0x1?void 0x0:_0x359f7b?Ls(_0x44d496,_0x593445):_0x44d496,_0x5cf5dc=_0x108d49[_0x1fe7e0(0x234)]-0x1,_0xcf1bf3;_0x5cf5dc>=0x0;_0x5cf5dc--)(_0xcf1bf3=_0x108d49[_0x5cf5dc])&&(_0x373b30=_0xcf1bf3(_0x373b30)||_0x373b30);return _0x373b30;},ut=(_0xcef833,_0x2c802a)=>(_0x3e8cfc,_0x119789)=>_0x2c802a(_0x3e8cfc,_0x119789,_0xcef833);function ws(_0xc2aa7){var _0x3e2377=_0x121d26;const {unitID:_0x44cff0,mutations:_0x474bd1}=_0xc2aa7;return{'unitId':_0x44cff0,'subUnitId':_0x474bd1['length']>0x0?_0x474bd1[0x0]['params'][_0x3e2377(0x296)]:null};}let it=class{constructor(_0x24d3dd,_0x5b0f73,_0x418a9a){var _0x25264f=_0x121d26;this['_injector']=_0x24d3dd,this[_0x25264f(0x324)]=_0x5b0f73,this[_0x25264f(0x1b3)]=_0x418a9a;}[_0x121d26(0x25e)](_0x4c8e53){var _0x35feb2=_0x121d26,_0x3360ce,_0x526d19,_0x19417d,_0x2bc8cc;const _0x276c88=this[_0x35feb2(0x263)][_0x35feb2(0x23a)](_0x453fba),{unitId:_0x5cbf47,subUnitId:_0x4d5f48}=ws(_0x4c8e53),_0x1af6e4=_0x276c88==null?void 0x0:_0x276c88[_0x35feb2(0x1cb)](_0x5cbf47)[_0x35feb2(0x3d2)](),_0x3a050c=(_0x526d19=(_0x3360ce=this[_0x35feb2(0x1b3)]['getUnit'](_0x5cbf47))==null?void 0x0:_0x3360ce[_0x35feb2(0x192)]())==null?void 0x0:_0x526d19[_0x35feb2(0x425)]();if(_0x1af6e4[_0x35feb2(0x234)]===0x0||!_0x5cbf47||!_0x4d5f48)return;const _0x3c8b90=[{'id':_0x535c9b['id'],'params':{'unitId':_0x5cbf47,'subUnitId':_0x3a050c,'selections':_0x1929a[_0x35feb2(0x2e8)](_0x1af6e4)}}],_0x4a73cb=this[_0x35feb2(0x324)]['transformMutationsWithChangeset'](_0x4c8e53,_0x3c8b90);if(!_0x31ca89(_0x4a73cb))throw _0x4a73cb[_0x35feb2(0x118)];const _0x42ced6=(_0x2bc8cc=(_0x19417d=_0x4a73cb['m2Prime'][0x0])==null?void 0x0:_0x19417d[_0x35feb2(0x2a9)])==null?void 0x0:_0x2bc8cc[_0x35feb2(0x26a)];if(Array[_0x35feb2(0x1f8)](_0x42ced6)&&_0x42ced6[_0x35feb2(0x234)]){if(_0x42ced6[_0x35feb2(0x234)]===_0x3c8b90[0x0][_0x35feb2(0x2a9)]['selections'][_0x35feb2(0x234)]&&_0x42ced6[_0x35feb2(0x2e5)]((_0x1d2e33,_0x15510d)=>_0x8be620[_0x35feb2(0x2ea)](_0x1d2e33[_0x35feb2(0x3ad)],_0x3c8b90[0x0]['params']['selections'][_0x15510d][_0x35feb2(0x3ad)])))return;this[_0x35feb2(0x263)][_0x35feb2(0x23a)](_0x774a67)['executeCommand'](_0x535c9b['id'],{'unitId':_0x5cbf47,'subUnitId':_0x3a050c,'selections':_0x42ced6});}}};it=Ms([ut(0x0,_0x203c15(_0x2c83be)),ut(0x1,_0x2ad6b6),ut(0x2,_0x3b6c0b)],it);const _t=_0x718b2c('univer-pro.collaboration-client.single-active-unit-service');var mi=(_0x10586c=>(_0x10586c[_0x10586c[_0x121d26(0x2e9)]=0x0]=_0x121d26(0x2e9),_0x10586c[_0x10586c['OTHER_CLIENTS_EDITING']=0x1]=_0x121d26(0x13c),_0x10586c))(mi||{});const K=_0x121d26(0x34a),xs={};function ks(_0x22cde3){var _0x1b72aa=_0x121d26,_0x14cefb;return!!((_0x14cefb=_0x22cde3[_0x1b72aa(0x2a9)])!=null&&_0x14cefb[_0x1b72aa(0x2ff)]);}const $s=new Set([_0x28e94d['id']]);function Vt(_0x503f8e,_0x4ad28f,_0xcae2a7,_0x5993fe,_0x213976){var _0x5e9f18=_0x121d26,_0x57b1b1,_0x20edab,_0xd9b2ef,_0x2ce139;const _0x740462=[];for(const _0x21f48b of _0x503f8e){if($s[_0x5e9f18(0x152)](_0x21f48b['id'])){if(_0x740462['length']>0x0)break;_0x740462[_0x5e9f18(0x1ea)](_0x21f48b);break;}if(ks(_0x21f48b)){if(_0x740462[_0x5e9f18(0x234)]>0x0)break;_0x740462[_0x5e9f18(0x1ea)](_0x21f48b);break;}_0x740462[_0x5e9f18(0x1ea)](_0x21f48b);}const _0x40900a=(_0x20edab=(_0x57b1b1=_0x213976['getCurrentUser']())==null?void 0x0:_0x57b1b1['userID'])!=null?_0x20edab:'unknown',_0x26fd09=(_0x2ce139=(_0xd9b2ef=_0x213976[_0x5e9f18(0x182)]())==null?void 0x0:_0xd9b2ef[_0x5e9f18(0x18f)])!=null?_0x2ce139:_0x5e9f18(0x32a);return{'changeset':{'unitID':_0x4ad28f,'type':_0x428ccd(_0xcae2a7[_0x5e9f18(0x27e)](_0x4ad28f)),'baseRev':_0x5993fe['getCurrentRevOfUnit'](_0x4ad28f),'revision':0x0,'userID':_0x40900a,'memberID':_0x26fd09,'mutations':_0x740462},'pendingMutations':_0x503f8e[_0x5e9f18(0x37a)](_0x740462[_0x5e9f18(0x234)])};}function Hs(_0x583649,_0x13da01,_0x284a37,_0x3f677e,_0x49182e){var _0x135f42=_0x121d26,_0x4273f4,_0x52fb02,_0x477b32,_0x5750d3;const _0x50ee55=[_0x583649['reduce']((_0x475dd2,_0xd5d6ed)=>{var _0x2d89fa=_0x21ef,_0x1854cd;const {id:_0xa6d308}=_0x475dd2,{id:_0x576967,type:_0x41f9ea}=_0xd5d6ed,_0x150e46=(_0x1854cd=_0x475dd2[_0x2d89fa(0x2a9)])!=null?_0x1854cd:{'actions':null},_0x37dcd3=_0xd5d6ed[_0x2d89fa(0x2a9)];if(_0xa6d308&&_0xa6d308!==_0x576967)throw new Error(_0x2d89fa(0x1a8)+_0xa6d308+_0x2d89fa(0x3fa)+_0x576967+'.');return{..._0x475dd2,'id':_0x576967,'type':_0x41f9ea,'params':{'unitId':_0x37dcd3[_0x2d89fa(0x439)],'textRanges':_0x37dcd3[_0x2d89fa(0x213)],'actions':_0x31b93a[_0x2d89fa(0x159)](_0x150e46[_0x2d89fa(0x320)],_0x37dcd3[_0x2d89fa(0x320)])}};},{})],_0x45a6bb=(_0x52fb02=(_0x4273f4=_0x49182e[_0x135f42(0x182)]())==null?void 0x0:_0x4273f4['userID'])!=null?_0x52fb02:_0x135f42(0x32a),_0x554a15=(_0x5750d3=(_0x477b32=_0x49182e[_0x135f42(0x182)]())==null?void 0x0:_0x477b32[_0x135f42(0x18f)])!=null?_0x5750d3:'unknown';return{'changeset':{'unitID':_0x13da01,'type':_0x428ccd(_0x284a37[_0x135f42(0x27e)](_0x13da01)),'baseRev':_0x3f677e['getCurrentRevOfUnit'](_0x13da01),'revision':0x0,'userID':_0x45a6bb,'memberID':_0x554a15,'mutations':_0x50ee55},'pendingMutations':[]};}function Ii(_0x2c0614,_0x310115){var _0x4edfca=_0x121d26;const _0x4c87ca=new _0x378ad8(0x1);return setTimeout(()=>_0x4c87ca[_0x4edfca(0x186)](_0x310115),_0x2c0614),_0x4c87ca[_0x4edfca(0x2d7)]()['pipe'](_0x330812(0x1));}var Bs=Object[_0x121d26(0x145)],Se=(_0x32e1e7,_0x1e8d78,_0xbd08ab,_0x2a97f8)=>{for(var _0x5db04c=_0x2a97f8>0x1?void 0x0:_0x2a97f8?Bs(_0x1e8d78,_0xbd08ab):_0x1e8d78,_0x50927e=_0x32e1e7['length']-0x1,_0xc768a3;_0x50927e>=0x0;_0x50927e--)(_0xc768a3=_0x32e1e7[_0x50927e])&&(_0x5db04c=_0xc768a3(_0x5db04c)||_0x5db04c);return _0x5db04c;},L=(_0x333358,_0x23030c)=>(_0x20c205,_0x51f5d7)=>_0x23030c(_0x20c205,_0x51f5d7,_0x333358),Si=(_0x4a47e0=>(_0x4a47e0[_0x121d26(0x2d3)]=_0x121d26(0x3eb),_0x4a47e0[_0x121d26(0x431)]=_0x121d26(0x419),_0x4a47e0[_0x121d26(0x25d)]='pending',_0x4a47e0[_0x121d26(0x132)]='awaiting',_0x4a47e0['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x4a47e0['FETCH_MISS']=_0x121d26(0x42f),_0x4a47e0['CONFLICT']=_0x121d26(0x30b),_0x4a47e0[_0x121d26(0x284)]=_0x121d26(0x340),_0x4a47e0))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x49cf89,_0x230c75,_0x2e8c78,_0x139e05,_0x3a14bb,_0x219ac1,_0x2d94f8,_0x282421,_0x417a62){var _0x3e99fa=_0x121d26;D(this,_0x3e99fa(0x153),null),D(this,_0x3e99fa(0x3a3),[]),(this['unitID']=_0x49cf89,this[_0x3e99fa(0x346)]=_0x230c75,this[_0x3e99fa(0x43b)]=_0x3a14bb,this[_0x3e99fa(0x227)]=_0x219ac1,this[_0x3e99fa(0x2ac)]=_0x2d94f8,this[_0x3e99fa(0x3b1)]=_0x282421,this[_0x3e99fa(0x3c6)]=_0x417a62,this[_0x3e99fa(0x153)]=_0x2e8c78,this[_0x3e99fa(0x3a3)]=_0x139e05);}[_0x121d26(0x381)](_0x12619f){var _0x435713=_0x121d26;const _0x57d12d=this[_0x435713(0x3b1)][_0x435713(0x343)](this[_0x435713(0x35a)]);return _0x12619f[_0x435713(0x414)]>_0x57d12d+0x1?(this[_0x435713(0x43b)]['onMissingChangesets']({'from':_0x57d12d,'to':_0x12619f['revision']-0x1}),!0x0):!0x1;}[_0x121d26(0x147)](_0x23ad63){var _0x153b29=_0x121d26;this[_0x153b29(0x2ac)][_0x153b29(0x1ba)](this[_0x153b29(0x35a)],_0x23ad63);}[_0x121d26(0x30c)](_0x649288){var _0x287b94=_0x121d26,_0x2d4127,_0x524fad;(_0x524fad=(_0x2d4127=this[_0x287b94(0x43b)])[_0x287b94(0x18c)])==null||_0x524fad['call'](_0x2d4127,_0x649288);}[_0x121d26(0x294)](_0x25dbdc){var _0x14eac1=_0x121d26,_0x1f997,_0x4ef10c;return(_0x4ef10c=(_0x1f997=this[_0x14eac1(0x43b)])[_0x14eac1(0x156)])==null?void 0x0:_0x4ef10c['call'](_0x1f997,_0x25dbdc);}[_0x121d26(0x394)](_0x387698){var _0x5702cd=_0x121d26,_0x523f8b,_0x1e31e1;return(_0x1e31e1=(_0x523f8b=this[_0x5702cd(0x43b)])[_0x5702cd(0x28e)])==null?void 0x0:_0x1e31e1[_0x5702cd(0x1fb)](_0x523f8b,_0x387698);}[_0x121d26(0x1dd)](_0xa5221d){var _0x425162=_0x121d26,_0x5af342,_0x32c4a6,_0x36a8ea;return(_0x36a8ea=(_0x32c4a6=(_0x5af342=this[_0x425162(0x43b)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x32c4a6[_0x425162(0x1fb)](_0x5af342,_0xa5221d))!=null?_0x36a8ea:_0xa5221d;}['_transformRemoteChangesetByStateCache'](_0x592007){var _0x33cd11=_0x121d26,_0x5a8dbd,_0x4da138,_0x57918c;return(_0x57918c=(_0x4da138=(_0x5a8dbd=this[_0x33cd11(0x43b)])[_0x33cd11(0x3f0)])==null?void 0x0:_0x4da138[_0x33cd11(0x1fb)](_0x5a8dbd,_0x592007))!=null?_0x57918c:_0x592007;}[_0x121d26(0x2b9)](_0x391c25){var _0x5178b3=_0x121d26,_0x305b7c,_0x50e3d8;if(this[_0x5178b3(0x346)]===Q[_0x5178b3(0x363)]){const {unitID:_0x38c4ff,mutations:_0x250748,memberID:_0x5c9427}=_0x391c25,_0x158a87=_0x250748[_0x5178b3(0x234)]>0x0?_0x250748[0x0][_0x5178b3(0x2a9)][_0x5178b3(0x213)]:[];Array[_0x5178b3(0x1f8)](_0x158a87)&&_0x158a87[_0x5178b3(0x234)]>0x0&&((_0x50e3d8=(_0x305b7c=this[_0x5178b3(0x43b)])[_0x5178b3(0x354)])==null||_0x50e3d8[_0x5178b3(0x1fb)](_0x305b7c,{'unitID':_0x38c4ff,'memberID':_0x5c9427,'textRanges':_0x158a87}));}}[_0x121d26(0x27c)](){var _0x1d11e8=_0x121d26,_0x45f7e9;(_0x45f7e9=this['_localCacheService'])==null||_0x45f7e9[_0x1d11e8(0x168)](this[_0x1d11e8(0x35a)],this[_0x1d11e8(0x346)],this[_0x1d11e8(0x153)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x4e2e68=_0x121d26;return this['_revisionService'][_0x4e2e68(0x343)](this[_0x4e2e68(0x35a)]);}['_incrementRevisionNumber'](){var _0x1bf8ac=_0x121d26;this[_0x1bf8ac(0x3b1)]['incrementRevOfUnit'](this[_0x1bf8ac(0x35a)]);}[_0x121d26(0x200)](_0x2215ac){var _0x23e75a=_0x121d26,_0x56205d;let _0x120744=this[_0x23e75a(0x1dd)](_0x2215ac);_0x120744=this['_transformRemoteChangesetByStateCache'](_0x120744);const _0x179605=_0xa02999(_0x120744[_0x23e75a(0x22f)],this[_0x23e75a(0x227)],{'fromCollab':!0x0});if(!_0x179605[_0x23e75a(0x133)])throw _0x179605['error']instanceof Error?_0x179605[_0x23e75a(0x118)]:new Error((_0x56205d=_0x179605['error'])!=null?_0x56205d:_0x23e75a(0x268));this[_0x23e75a(0x294)](_0x120744),this[_0x23e75a(0x394)](_0x120744),this[_0x23e75a(0x147)](_0x2215ac),this[_0x23e75a(0x30c)](_0x120744),this[_0x23e75a(0x2b9)](_0x120744),this[_0x23e75a(0x165)]();}}let be=class extends ge{constructor(_0x2b650d,_0xa84aec,_0x1746dd,_0x39b5d5,_0x1c1179,_0x27074a,_0x2e6d43,_0x43f758,_0x7f9546,_0x17d56f){var _0x3aa988=_0x121d26;super(_0x2b650d,_0xa84aec,null,[],_0x1746dd,_0x2e6d43,_0x27074a,_0x39b5d5,_0x17d56f),D(this,_0x3aa988(0x2c6),_0x3aa988(0x419)),(this[_0x3aa988(0x263)]=_0x1c1179,this[_0x3aa988(0x180)]=_0x43f758,this[_0x3aa988(0x324)]=_0x7f9546,this[_0x3aa988(0x3ca)]=_0x17d56f);}['appendMutation'](_0x23f815){var _0x1c6e81=_0x121d26;const _0x1b799d=this[_0x1c6e81(0x263)][_0x1c6e81(0x289)](ae,this['unitID'],this[_0x1c6e81(0x346)],[_0x23f815],this[_0x1c6e81(0x43b)]);return _0x1b799d[_0x1c6e81(0x14a)](),_0x1b799d['_updateLocalCache'](),_0x1b799d;}[_0x121d26(0x197)](_0x14747e){var _0x4b2a24=_0x121d26;if(this[_0x4b2a24(0x381)](_0x14747e))return this['_injector'][_0x4b2a24(0x289)](ee,this[_0x4b2a24(0x35a)],this[_0x4b2a24(0x346)],null,[],null,[_0x14747e],this[_0x4b2a24(0x43b)]);try{const _0x48e626=this[_0x4b2a24(0x324)][_0x4b2a24(0x32e)](_0x14747e,[_0x521412]);if(_0x31ca89(_0x48e626)){const {c1Prime:_0x2dd557}=_0x48e626;return this[_0x4b2a24(0x200)](_0x2dd557),this;}throw _0x48e626[_0x4b2a24(0x118)];}catch(_0x356da2){return this[_0x4b2a24(0x180)][_0x4b2a24(0x118)](_0x356da2),this[_0x4b2a24(0x1a5)](!0x1);}}[_0x121d26(0x1a5)](_0x179d45){var _0x440302=_0x121d26;return this[_0x440302(0x263)]['createInstance'](ue,this[_0x440302(0x35a)],this[_0x440302(0x346)],null,[],this[_0x440302(0x43b)],_0x179d45);}[_0x121d26(0x304)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x121d26(0x2f3)](){var _0x16b886=_0x121d26;throw new Error(_0x16b886(0x36c));}[_0x121d26(0x3b3)](){return this;}[_0x121d26(0x406)](){var _0x4556c5=_0x121d26;return this['_injector'][_0x4556c5(0x289)](de,this['unitID'],this['type'],null,[],this[_0x4556c5(0x43b)]);}['toggleOnline'](){return this;}[_0x121d26(0x1ca)](){var _0x281f83=_0x121d26;throw new Error(_0x281f83(0x151));}[_0x121d26(0x13a)](){var _0x5efd78=_0x121d26;const _0x24a29=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x5efd78(0x43b)][_0x5efd78(0x399)]({'from':_0x24a29,'to':0x0}),this[_0x5efd78(0x263)][_0x5efd78(0x289)](ee,this[_0x5efd78(0x35a)],this['type'],null,[],null,[],this[_0x5efd78(0x43b)]);}};be=Se([L(0x3,_0x203c15(_0x58d0ad)),L(0x4,_0x203c15(_0x2c83be)),L(0x5,_0x134895),L(0x6,_0x774a67),L(0x7,_0x25770b),L(0x8,_0x2ad6b6),L(0x9,_0x83b4c2(X))],be);let ae=class extends ge{constructor(_0x5c7a02,_0x5942f5,_0x4447f1,_0x63ed68,_0x5c45d4,_0x4d844e,_0x3e6246,_0x22ff09,_0xa041b3,_0x44962f,_0x259660,_0x2ae62b,_0x18645b,_0x108bf0){var _0x3a30d8=_0x121d26;super(_0x5c7a02,_0x5942f5,null,_0x4447f1,_0x63ed68,_0xa041b3,_0x18645b,_0x4d844e,_0x108bf0),D(this,_0x3a30d8(0x2c6),_0x3a30d8(0x1a2)),D(this,_0x3a30d8(0x40a),null),D(this,'_sendingTimer',null),(this[_0x3a30d8(0x263)]=_0x5c45d4,this[_0x3a30d8(0x2ee)]=_0x3e6246,this[_0x3a30d8(0x180)]=_0x22ff09,this[_0x3a30d8(0x282)]=_0x44962f,this['_transformService']=_0x259660,this['_univerInstanceService']=_0x2ae62b);}[_0x121d26(0x43d)](_0x88937f){var _0x1d0bc4=_0x121d26;return this[_0x1d0bc4(0x3a3)][_0x1d0bc4(0x1ea)](_0x88937f),this[_0x1d0bc4(0x27c)](),this;}['onRemoteChangeset'](_0x7dc13b){var _0x443ed9=_0x121d26;if(this[_0x443ed9(0x381)](_0x7dc13b))return this[_0x443ed9(0x3e3)](),this[_0x443ed9(0x263)][_0x443ed9(0x289)](ee,this['unitID'],this[_0x443ed9(0x346)],null,this[_0x443ed9(0x3a3)],null,[_0x7dc13b],this['_handler']);try{const _0x23777b=this[_0x443ed9(0x324)][_0x443ed9(0x32e)](_0x7dc13b,this[_0x443ed9(0x3a3)]);if(_0x31ca89(_0x23777b)){const {c1Prime:_0x2c0324,m2Prime:_0x43897f}=_0x23777b;this[_0x443ed9(0x200)](_0x2c0324);const _0x492e6b=this[_0x443ed9(0x263)]['createInstance'](ae,this['unitID'],this[_0x443ed9(0x346)],_0x43897f,this[_0x443ed9(0x43b)]);this[_0x443ed9(0x3e3)]();const _0xe83eec=new Date()['getTime'](),_0x6bc66=this[_0x443ed9(0x40a)]?Math[_0x443ed9(0x1f9)](this[_0x443ed9(0x40a)]-_0xe83eec,0x0):this['_getSendChangesetTimeout']();return _0x492e6b[_0x443ed9(0x14a)](_0x6bc66),_0x492e6b;}throw _0x23777b[_0x443ed9(0x118)];}catch(_0x464cc4){return this['_logService'][_0x443ed9(0x118)](_0x464cc4),this[_0x443ed9(0x1a5)](!0x1);}}[_0x121d26(0x304)](){var _0x407c6c=_0x121d26;throw new Error(_0x407c6c(0x14f));}[_0x121d26(0x2f3)](){var _0x36fdd3=_0x121d26;throw new Error(_0x36fdd3(0x37c));}[_0x121d26(0x3b3)](){return this;}[_0x121d26(0x406)](){var _0x145e82=_0x121d26;return this['_clearScheduledTask'](),this[_0x145e82(0x263)][_0x145e82(0x289)](de,this['unitID'],this[_0x145e82(0x346)],null,this[_0x145e82(0x3a3)],this[_0x145e82(0x43b)]);}[_0x121d26(0x1da)](){return this;}[_0x121d26(0x14a)](_0x33fe88){var _0x521ed8=_0x121d26;const _0x29c003=_0x33fe88!=null?_0x33fe88:this[_0x521ed8(0x378)]();this[_0x521ed8(0x40a)]=new Date()[_0x521ed8(0x1e5)]()+_0x29c003,this[_0x521ed8(0x2c7)]=setTimeout(()=>{var _0x23fb74=_0x521ed8;this[_0x23fb74(0x3e3)]();let _0x592418=null;switch(this[_0x23fb74(0x346)]){case Q[_0x23fb74(0x338)]:{_0x592418=Vt(this['_pendingMutations'],this[_0x23fb74(0x35a)],this[_0x23fb74(0x1f3)],this[_0x23fb74(0x3b1)],this[_0x23fb74(0x2ee)]);break;}case Q[_0x23fb74(0x363)]:{this[_0x23fb74(0x3a3)][_0x23fb74(0x2e5)](_0x4aa0aa=>_0x4aa0aa['id']===_0x1de257['id'])?_0x592418=Hs(this['_pendingMutations'],this[_0x23fb74(0x35a)],this[_0x23fb74(0x1f3)],this[_0x23fb74(0x3b1)],this[_0x23fb74(0x2ee)]):_0x592418=Vt(this[_0x23fb74(0x3a3)],this[_0x23fb74(0x35a)],this[_0x23fb74(0x1f3)],this[_0x23fb74(0x3b1)],this[_0x23fb74(0x2ee)]);break;}default:throw new Error(_0x23fb74(0x353)+this['type']+_0x23fb74(0x365));}const {changeset:_0x3c101b,pendingMutations:_0x1ce4ec}=_0x592418;this['_handler']['onSendChangeset'](_0x3c101b);const _0x591dc6=_0x1ce4ec[_0x23fb74(0x234)]?this[_0x23fb74(0x263)][_0x23fb74(0x289)](oe,this[_0x23fb74(0x35a)],this[_0x23fb74(0x346)],_0x3c101b,_0x1ce4ec,this[_0x23fb74(0x43b)],void 0x0):this['_injector'][_0x23fb74(0x289)](le,this['unitID'],this[_0x23fb74(0x346)],_0x3c101b,this[_0x23fb74(0x43b)]);_0x591dc6[_0x23fb74(0x27c)](),this['_handler'][_0x23fb74(0x17f)](this,_0x591dc6);},_0x29c003);}[_0x121d26(0x378)](){var _0x2b6eec=_0x121d26,_0x30b925;const _0x14dba6=this[_0x2b6eec(0x282)]['getConfig'](K);return(_0x30b925=_0x14dba6==null?void 0x0:_0x14dba6[_0x2b6eec(0x210)])!=null?_0x30b925:ps;}['resend'](){var _0x8c7572=_0x121d26;throw new Error(_0x8c7572(0x1db));}[_0x121d26(0x3e3)](){var _0x7e90c5=_0x121d26;this[_0x7e90c5(0x2c7)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x7e90c5(0x2c7)]=null);}[_0x121d26(0x1a5)](_0x2f1703){var _0xb1ca62=_0x121d26;return this[_0xb1ca62(0x3e3)](),this[_0xb1ca62(0x263)][_0xb1ca62(0x289)](ue,this[_0xb1ca62(0x35a)],this[_0xb1ca62(0x346)],null,this['_pendingMutations'],this['_handler'],_0x2f1703);}};ae=Se([L(0x4,_0x203c15(_0x2c83be)),L(0x5,_0x203c15(_0x58d0ad)),L(0x6,_0x203c15(Pe)),L(0x7,_0x25770b),L(0x8,_0x774a67),L(0x9,_0x5d33d6),L(0xa,_0x2ad6b6),L(0xb,_0x3b6c0b),L(0xc,_0x134895),L(0xd,_0x83b4c2(X))],ae);let le=class extends ge{constructor(_0x176d9c,_0x43f9a0,_0x747588,_0x1c5087,_0x2e7780,_0x156b21,_0x2fccf4,_0x5bda1d,_0x7aa35e,_0x2ac78f,_0x2e0730){var _0xba285f=_0x121d26;super(_0x176d9c,_0x43f9a0,_0x747588,[],_0x1c5087,_0x2fccf4,_0x2ac78f,_0x156b21,_0x2e0730),D(this,_0xba285f(0x2c6),_0xba285f(0x198)),D(this,_0xba285f(0x3c3),0x0),D(this,_0xba285f(0x315),0x0),D(this,_0xba285f(0x15d)),D(this,'_sender'),(this[_0xba285f(0x263)]=_0x2e7780,this[_0xba285f(0x180)]=_0x5bda1d,this['_transformService']=_0x7aa35e);}[_0x121d26(0x43d)](_0x1ffcca){var _0x2d5e50=_0x121d26;this[_0x2d5e50(0x3e3)]();const _0x38c405=this[_0x2d5e50(0x263)][_0x2d5e50(0x289)](oe,this[_0x2d5e50(0x35a)],this[_0x2d5e50(0x346)],this[_0x2d5e50(0x153)],[_0x1ffcca],this['_handler'],this[_0x2d5e50(0x15d)]);return _0x38c405['_updateLocalCache'](),_0x38c405;}['onRemoteChangeset'](_0x13ed5d){var _0x5f429c=_0x121d26;if(this[_0x5f429c(0x381)](_0x13ed5d))return this[_0x5f429c(0x3e3)](),this[_0x5f429c(0x263)][_0x5f429c(0x289)](ee,this[_0x5f429c(0x35a)],this[_0x5f429c(0x346)],this[_0x5f429c(0x153)],[],null,[_0x13ed5d],this['_handler']);try{const _0x3182d6=this[_0x5f429c(0x324)][_0x5f429c(0x20e)]([_0x13ed5d],[this['_awaitingChangeset']],!0x1);if(_0x2b95a6(_0x3182d6)){const {c1Prime:_0x40477f,c2Prime:_0x18faa8}=_0x3182d6;this[_0x5f429c(0x200)](_0x40477f[0x0]),_0x18faa8[0x0]['baseRev']=this[_0x5f429c(0x167)](),this[_0x5f429c(0x3e3)]();const _0x50da06=this[_0x5f429c(0x263)][_0x5f429c(0x289)](le,this[_0x5f429c(0x35a)],this[_0x5f429c(0x346)],_0x18faa8[0x0],this[_0x5f429c(0x43b)]);return _0x50da06['_updateLocalCache'](),_0x50da06;}return this[_0x5f429c(0x1a5)](!0x1);}catch(_0x56afdd){return this['_logService'][_0x5f429c(0x118)](_0x56afdd),this[_0x5f429c(0x1a5)](!0x1);}}[_0x121d26(0x304)](_0x3fafb3){var _0xec05f0=_0x121d26;this['_clearScheduledTask']();const _0x496407=this[_0xec05f0(0x3b1)][_0xec05f0(0x343)](this[_0xec05f0(0x35a)]);if(_0x3fafb3[_0xec05f0(0x414)]<_0x496407-0x1)return this;if(this['_checkMissing'](_0x3fafb3))return this['_injector'][_0xec05f0(0x289)](ee,this[_0xec05f0(0x35a)],this[_0xec05f0(0x346)],null,[],this[_0xec05f0(0x153)],[],this[_0xec05f0(0x43b)]);this[_0xec05f0(0x165)]();const _0x4c83b5=this[_0xec05f0(0x263)][_0xec05f0(0x289)](be,this[_0xec05f0(0x35a)],this[_0xec05f0(0x346)],this[_0xec05f0(0x43b)]);return _0x4c83b5[_0xec05f0(0x27c)](),_0x4c83b5;}[_0x121d26(0x2f3)](_0x419d59){var _0x1b6ea7=_0x121d26;return this[_0x1b6ea7(0x1a5)](!!(_0x419d59!=null&&_0x419d59['isPermissionRej']));}['onRemoteRetry'](_0x5684aa){var _0x1eae03=_0x121d26;return this[_0x1eae03(0x315)]>Ti?this[_0x1eae03(0x406)]():(this[_0x1eae03(0x15d)]=Ii(this[_0x1eae03(0x3c3)],{'timeout':this[_0x1eae03(0x3c3)],'reqId':_0x5684aa['reqId']}),this['_sender']=this['_resendTimer'][_0x1eae03(0x11c)](({reqId:_0x8c64fd,timeout:_0x507ddb})=>{var _0x47dfa9=_0x1eae03;this[_0x47dfa9(0x402)](_0x8c64fd,_0x507ddb);}),this);}[_0x121d26(0x406)](){var _0x202ac8=_0x121d26;return this[_0x202ac8(0x3e3)](),this[_0x202ac8(0x263)][_0x202ac8(0x289)](de,this[_0x202ac8(0x35a)],this['type'],this[_0x202ac8(0x153)],[],this[_0x202ac8(0x43b)]);}[_0x121d26(0x1da)](){return this;}[_0x121d26(0x1ca)](){var _0x5bc1b0=_0x121d26;this[_0x5bc1b0(0x43b)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x3d8cdc){var _0x26236f=_0x121d26;return this[_0x26236f(0x3e3)](),this[_0x26236f(0x263)][_0x26236f(0x289)](ue,this[_0x26236f(0x35a)],this['type'],this[_0x26236f(0x153)],[],this['_handler'],_0x3d8cdc);}[_0x121d26(0x402)](_0x52132f,_0x1b6bba){var _0x16431b=_0x121d26,_0x9156a4;_0x52132f===((_0x9156a4=this['_awaitingChangeset'])==null?void 0x0:_0x9156a4['reqId'])&&(this['resend'](),this[_0x16431b(0x3c3)]=_0x1b6bba===0x0?0x3e8:Math[_0x16431b(0x3f7)](_0x1b6bba*0x2,gi),this['_maxTotalRetryTimeout']+=this[_0x16431b(0x3c3)]);}[_0x121d26(0x3e3)](){var _0x3bd1af=_0x121d26,_0x294bc7;(_0x294bc7=this[_0x3bd1af(0x2e0)])==null||_0x294bc7['unsubscribe'](),this[_0x3bd1af(0x3c3)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};le=Se([L(0x4,_0x203c15(_0x2c83be)),L(0x5,_0x203c15(_0x58d0ad)),L(0x6,_0x774a67),L(0x7,_0x25770b),L(0x8,_0x2ad6b6),L(0x9,_0x134895),L(0xa,_0x83b4c2(X))],le);let oe=class extends ge{constructor(_0x436056,_0x205e4d,_0x3df8ea,_0x4d2132,_0xacacc1,_0x5616ea,_0x6029f,_0x57907f,_0x54ae5b,_0x32b6d8,_0x10d137,_0x199518,_0x979109){var _0x20eedf=_0x121d26;super(_0x436056,_0x205e4d,_0x3df8ea,_0x4d2132,_0xacacc1,_0x54ae5b,_0x199518,_0x57907f,_0x979109),D(this,'status','awaiting_with_pending'),D(this,_0x20eedf(0x3c3),0x0),D(this,'_maxTotalRetryTimeout',0x0),D(this,_0x20eedf(0x15d)),D(this,_0x20eedf(0x2e0)),(this[_0x20eedf(0x263)]=_0x6029f,this[_0x20eedf(0x180)]=_0x32b6d8,this[_0x20eedf(0x324)]=_0x10d137,this[_0x20eedf(0x3ca)]=_0x979109,_0x5616ea&&(this[_0x20eedf(0x15d)]=_0x5616ea,this['_sender']=this[_0x20eedf(0x15d)]['subscribe'](({reqId:_0x50c89f,timeout:_0x3b9676})=>{var _0x3c3776=_0x20eedf;this[_0x3c3776(0x402)](_0x50c89f,_0x3b9676);})));}['appendMutation'](_0x525fee){var _0x3ed66f=_0x121d26;return this[_0x3ed66f(0x3a3)][_0x3ed66f(0x1ea)](_0x525fee),this;}['onRemoteChangeset'](_0x51e44d){var _0x272cb5=_0x121d26;if(this['_checkMissing'](_0x51e44d))return this['_clearScheduledTask'](),this[_0x272cb5(0x263)]['createInstance'](ee,this[_0x272cb5(0x35a)],this[_0x272cb5(0x346)],this[_0x272cb5(0x153)],this[_0x272cb5(0x3a3)],null,[_0x51e44d],this[_0x272cb5(0x43b)]);try{const _0x4781e8=this[_0x272cb5(0x324)][_0x272cb5(0x20e)]([_0x51e44d],[this['_awaitingChangeset']],!0x1);if(_0x2b95a6(_0x4781e8)){const {c1Prime:_0x2bfbb8,c2Prime:_0x2260ee}=_0x4781e8,_0x1d68eb=this[_0x272cb5(0x324)][_0x272cb5(0x32e)](_0x2bfbb8[0x0],this[_0x272cb5(0x3a3)]);if(_0x31ca89(_0x1d68eb)){const {c1Prime:_0x1a74e8,m2Prime:_0x50708c}=_0x1d68eb;return this[_0x272cb5(0x200)](_0x1a74e8),_0x2260ee[0x0]['baseRev']=this[_0x272cb5(0x167)](),this[_0x272cb5(0x3e3)](),this[_0x272cb5(0x263)][_0x272cb5(0x289)](oe,this[_0x272cb5(0x35a)],this[_0x272cb5(0x346)],_0x2260ee[0x0],_0x50708c,this[_0x272cb5(0x43b)],void 0x0);}throw _0x1d68eb[_0x272cb5(0x118)];}throw _0x4781e8[_0x272cb5(0x118)];}catch(_0xd33893){return this[_0x272cb5(0x180)][_0x272cb5(0x118)](_0xd33893),this[_0x272cb5(0x1a5)](!0x1);}}[_0x121d26(0x304)](_0x5be919){var _0x4771e9=_0x121d26;if(this[_0x4771e9(0x3e3)](),this['_checkMissing'](_0x5be919))return this['_injector'][_0x4771e9(0x289)](ee,this[_0x4771e9(0x35a)],this[_0x4771e9(0x346)],null,this[_0x4771e9(0x3a3)],this[_0x4771e9(0x153)],[],this['_handler']);this[_0x4771e9(0x165)]();const _0x38965a=this[_0x4771e9(0x263)][_0x4771e9(0x289)](ae,this[_0x4771e9(0x35a)],this['type'],this[_0x4771e9(0x3a3)],this[_0x4771e9(0x43b)]);return _0x38965a[_0x4771e9(0x14a)](),_0x38965a[_0x4771e9(0x27c)](),_0x38965a;}[_0x121d26(0x2f3)](_0x11af47){var _0x1bc363=_0x121d26;return this['_onConflict'](!!(_0x11af47!=null&&_0x11af47[_0x1bc363(0x1c2)]));}[_0x121d26(0x3b3)](_0xcf0dc8){var _0x3d0460=_0x121d26;return this[_0x3d0460(0x315)]>Ti?this[_0x3d0460(0x406)]():(this[_0x3d0460(0x15d)]=Ii(this[_0x3d0460(0x3c3)],{'timeout':this[_0x3d0460(0x3c3)],'reqId':_0xcf0dc8[_0x3d0460(0x2dc)]}),this[_0x3d0460(0x2e0)]=this['_resendTimer'][_0x3d0460(0x11c)](({reqId:_0x36f6a5,timeout:_0x5c6b5d})=>{var _0x1a27ef=_0x3d0460;this[_0x1a27ef(0x402)](_0x36f6a5,_0x5c6b5d);}),this);}[_0x121d26(0x406)](){var _0x2301e9=_0x121d26;return this[_0x2301e9(0x3e3)](),this[_0x2301e9(0x263)][_0x2301e9(0x289)](de,this[_0x2301e9(0x35a)],this['type'],this[_0x2301e9(0x153)],this[_0x2301e9(0x3a3)],this[_0x2301e9(0x43b)]);}[_0x121d26(0x1da)](){return this;}[_0x121d26(0x1ca)](){var _0x4aa024=_0x121d26;this[_0x4aa024(0x43b)][_0x4aa024(0x1f5)](this['_awaitingChangeset']);}[_0x121d26(0x1a5)](_0x28fa5e){var _0x52233e=_0x121d26;return this[_0x52233e(0x3e3)](),this[_0x52233e(0x263)][_0x52233e(0x289)](ue,this['unitID'],this[_0x52233e(0x346)],null,this[_0x52233e(0x3a3)],this['_handler'],_0x28fa5e);}[_0x121d26(0x402)](_0x5d2aa3,_0x4dcd2f){var _0x359b2b=_0x121d26,_0x4591f7;_0x5d2aa3===((_0x4591f7=this[_0x359b2b(0x153)])==null?void 0x0:_0x4591f7['reqId'])&&(this[_0x359b2b(0x1ca)](),this[_0x359b2b(0x3c3)]=_0x4dcd2f===0x0?0x3e8:Math[_0x359b2b(0x3f7)](_0x4dcd2f*0x2,gi),this[_0x359b2b(0x315)]+=this[_0x359b2b(0x3c3)]);}['_clearScheduledTask'](){var _0x5f5ce3=_0x121d26,_0x56ab94;(_0x56ab94=this['_sender'])==null||_0x56ab94[_0x5f5ce3(0x292)](),this[_0x5f5ce3(0x3c3)]=0x0,this[_0x5f5ce3(0x315)]=0x0;}};oe=Se([L(0x6,_0x203c15(_0x2c83be)),L(0x7,_0x203c15(_0x58d0ad)),L(0x8,_0x774a67),L(0x9,_0x25770b),L(0xa,_0x2ad6b6),L(0xb,_0x134895),L(0xc,_0x83b4c2(X))],oe);let ue=class extends ge{constructor(_0x1822c3,_0x15a526,_0x2b1cfa,_0x53bec6,_0x559e50,_0x1c1264=!0x1,_0x4c8ed7,_0x2457f4,_0x3b1e2a,_0x33402b,_0x5c663e,_0x5894c1,_0x5812fb){var _0x361d37=_0x121d26;super(_0x1822c3,_0x15a526,_0x2b1cfa,_0x53bec6,_0x559e50,_0x2457f4,_0x3b1e2a,_0x33402b,_0x5812fb),D(this,_0x361d37(0x2c6),_0x361d37(0x30b)),(this[_0x361d37(0x19d)]=_0x1c1264,this['_permissionService']=_0x4c8ed7,this[_0x361d37(0x2ab)]=_0x5c663e,this[_0x361d37(0x2a0)]=_0x5894c1,this['localCacheService']=_0x5812fb,this[_0x361d37(0x2b4)](),this[_0x361d37(0x196)](),this[_0x361d37(0x364)]());}[_0x121d26(0x43d)](){return this;}[_0x121d26(0x197)](){return this;}[_0x121d26(0x304)](){return this;}[_0x121d26(0x2f3)](){return this;}[_0x121d26(0x3b3)](){return this;}[_0x121d26(0x406)](){return this;}[_0x121d26(0x1da)](){return this;}[_0x121d26(0x1ca)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x121d26(0x196)](){var _0x4fdf88=_0x121d26,_0x447e00;(_0x447e00=this['_localCacheService'])==null||_0x447e00[_0x4fdf88(0x168)](this[_0x4fdf88(0x35a)],this[_0x4fdf88(0x346)],null,[]);}[_0x121d26(0x2b4)](){var _0x10d334=_0x121d26;this[_0x10d334(0x19d)]?this['_collaborationUIEventService'][_0x10d334(0x335)]({'id':re[_0x10d334(0x3ed)]}):this['_collaborationUIEventService'][_0x10d334(0x335)]({'id':re[_0x10d334(0x321)]});}[_0x121d26(0x364)](){var _0xa4eefd=_0x121d26;this[_0xa4eefd(0x209)]['updatePermissionPoint'](new _0x598724(this[_0xa4eefd(0x35a)])['id'],!0x1);}};ue=Se([L(0x6,_0x203c15(_0x5a99ac)),L(0x7,_0x774a67),L(0x8,_0x134895),L(0x9,_0x203c15(_0x58d0ad)),L(0xa,_0x203c15(_0x3dd6d6)),L(0xb,_0x203c15(ve)),L(0xc,_0x83b4c2(X))],ue);let de=class extends ge{constructor(_0xb4c4ce,_0x4bbd9b,_0x24ed97,_0x4552b8,_0xad9681,_0x12b89a,_0x1348a1,_0x2c9d85,_0x382c40,_0x5eac09){var _0x57a0e2=_0x121d26;super(_0xb4c4ce,_0x4bbd9b,_0x24ed97,_0x4552b8,_0xad9681,_0x2c9d85,_0x382c40,_0x1348a1,_0x5eac09),D(this,_0x57a0e2(0x2c6),'offline'),this['_injector']=_0x12b89a;}[_0x121d26(0x43d)](_0x2e115e){var _0x4131b0=_0x121d26;return this['_pendingMutations'][_0x4131b0(0x1ea)](_0x2e115e),this[_0x4131b0(0x27c)](),this;}['onRemoteChangeset'](_0x5b2d1f){var _0x25590e=_0x121d26;throw new Error(_0x25590e(0x3cf));}[_0x121d26(0x304)](){var _0x21a390=_0x121d26;throw new Error(_0x21a390(0x41f));}['onRemoteRej'](){var _0x5a3114=_0x121d26;throw new Error(_0x5a3114(0x3da));}['onRemoteRetry'](){return this;}[_0x121d26(0x406)](){return this;}[_0x121d26(0x1da)](){var _0x4f69dc=_0x121d26;const {_injector:_0x38c88a,_pendingMutations:_0x517c0d,_awaitingChangeset:_0x4f2bd4,unitID:_0x2c7251,_handler:_0x31f963,type:_0x3812f7}=this,_0xb8ceb7=Oi(_0x38c88a,_0x2c7251,_0x3812f7,_0x4f2bd4,_0x517c0d,_0x31f963);return _0xb8ceb7 instanceof ae?_0xb8ceb7[_0x4f69dc(0x14a)]():(_0xb8ceb7 instanceof oe||_0xb8ceb7 instanceof le)&&_0xb8ceb7['resend'](),_0xb8ceb7;}[_0x121d26(0x1ca)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([L(0x5,_0x203c15(_0x2c83be)),L(0x6,_0x203c15(_0x58d0ad)),L(0x7,_0x774a67),L(0x8,_0x134895),L(0x9,_0x83b4c2(X))],de);let ee=class extends ge{constructor(_0x4d0ffe,_0x2b4abf,_0x39c788,_0xf3e868,_0x1d690f,_0x30a592,_0x429fda,_0x3925f9,_0x34827f,_0x12d86d,_0x5a91a6,_0x22d16f,_0x2560d0,_0x5f5d94){var _0x50c616=_0x121d26;super(_0x4d0ffe,_0x2b4abf,_0x39c788,_0xf3e868,_0x429fda,_0x5a91a6,_0x22d16f,_0x34827f,_0x5f5d94),D(this,_0x50c616(0x2c6),'fetch_missing'),(this[_0x50c616(0x301)]=_0x1d690f,this[_0x50c616(0x380)]=_0x30a592,this[_0x50c616(0x263)]=_0x3925f9,this[_0x50c616(0x180)]=_0x12d86d,this['_transformService']=_0x2560d0,this[_0x50c616(0x3ca)]=_0x5f5d94);}[_0x121d26(0x1ad)](_0x121c03){var _0x34760b=_0x121d26;try{const _0x579786=[..._0x121c03,...this[_0x34760b(0x380)]],_0x3d306b=[this[_0x34760b(0x153)]||this[_0x34760b(0x301)]][_0x34760b(0x287)](_0x4f40a7=>!!_0x4f40a7);let _0x4e6632,_0x58a4f8;if(_0x3d306b[_0x34760b(0x234)]){const _0x5c1c1a=this['_transformService'][_0x34760b(0x20e)](_0x579786,_0x3d306b,!0x1);if(!_0x2b95a6(_0x5c1c1a))throw _0x5c1c1a[_0x34760b(0x118)];_0x4e6632=_0x5c1c1a['c1Prime'],_0x58a4f8=_0x5c1c1a[_0x34760b(0x2fe)];}else _0x4e6632=_0x579786,_0x58a4f8=[];let _0x3cb0d9=this[_0x34760b(0x3a3)];_0x4e6632['forEach'](_0x2cd8af=>{var _0x4f84a0=_0x34760b;let _0x348ddf;if(_0x3cb0d9[_0x4f84a0(0x234)]){const _0x9521d3=this[_0x4f84a0(0x324)][_0x4f84a0(0x32e)](_0x2cd8af,_0x3cb0d9);if(!_0x31ca89(_0x9521d3))throw _0x9521d3[_0x4f84a0(0x118)];_0x348ddf=_0x9521d3['c1Prime'],_0x3cb0d9=_0x9521d3[_0x4f84a0(0x2db)];}else _0x348ddf=_0x2cd8af;this['_executeRemoteChangeset'](_0x348ddf);}),this[_0x34760b(0x301)]&&this[_0x34760b(0x165)](),this[_0x34760b(0x153)]&&_0x58a4f8[_0x34760b(0x234)]&&(_0x58a4f8[0x0][_0x34760b(0x366)]=this[_0x34760b(0x167)]());let _0x4f9176;if(this[_0x34760b(0x153)]&&_0x3cb0d9['length']!==0x0)_0x4f9176=this[_0x34760b(0x263)][_0x34760b(0x289)](oe,this[_0x34760b(0x35a)],this['type'],_0x58a4f8[0x0],_0x3cb0d9,this[_0x34760b(0x43b)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3cb0d9[_0x34760b(0x234)]===0x0)_0x58a4f8[0x0][_0x34760b(0x366)]=this[_0x34760b(0x167)](),_0x4f9176=this[_0x34760b(0x263)][_0x34760b(0x289)](le,this[_0x34760b(0x35a)],this[_0x34760b(0x346)],_0x58a4f8[0x0],this[_0x34760b(0x43b)]);else{if(_0x3cb0d9['length']!==0x0){const _0x23a7ba=this[_0x34760b(0x263)][_0x34760b(0x289)](ae,this[_0x34760b(0x35a)],this[_0x34760b(0x346)],_0x3cb0d9,this['_handler']);_0x23a7ba[_0x34760b(0x14a)](),_0x4f9176=_0x23a7ba;}else _0x4f9176=this[_0x34760b(0x263)]['createInstance'](be,this[_0x34760b(0x35a)],this[_0x34760b(0x346)],this['_handler']);}}return _0x4f9176[_0x34760b(0x27c)](),_0x4f9176;}catch(_0x3868d6){return this[_0x34760b(0x180)][_0x34760b(0x118)]('[FetchMissState]',_0x34760b(0x141),_0x3868d6),this['_injector']['createInstance'](ue,this[_0x34760b(0x35a)],this['type'],this[_0x34760b(0x153)],this[_0x34760b(0x3a3)],this[_0x34760b(0x43b)],!0x1);}}['resend'](){var _0x14edd6=_0x121d26;throw new Error(_0x14edd6(0x1e1));}[_0x121d26(0x43d)](_0x5dd540){return this['_pendingMutations']['push'](_0x5dd540),this;}[_0x121d26(0x197)](_0x1f88c2){var _0x145e13=_0x121d26;return this[_0x145e13(0x380)][_0x145e13(0x1ea)](_0x1f88c2),this;}[_0x121d26(0x304)](_0x3447af){var _0x3320f0=_0x121d26;if(this[_0x3320f0(0x153)])return this[_0x3320f0(0x301)]=this[_0x3320f0(0x153)],this[_0x3320f0(0x153)]=null,this;throw new Error(_0x3320f0(0x1e9));}['onRemoteRej'](_0x4728b3){var _0x5c865a=_0x121d26;return this[_0x5c865a(0x1a5)](!!(_0x4728b3!=null&&_0x4728b3[_0x5c865a(0x1c2)]));}[_0x121d26(0x3b3)](){return this;}[_0x121d26(0x406)](){var _0x521b9b=_0x121d26;return this[_0x521b9b(0x263)][_0x521b9b(0x289)](de,this[_0x521b9b(0x35a)],this['type'],this[_0x521b9b(0x153)],this[_0x521b9b(0x3a3)],this[_0x521b9b(0x43b)]);}[_0x121d26(0x1da)](){return this;}[_0x121d26(0x1a5)](_0x485849){var _0x449522=_0x121d26;return this[_0x449522(0x263)][_0x449522(0x289)](ue,this[_0x449522(0x35a)],this[_0x449522(0x346)],this[_0x449522(0x153)],this[_0x449522(0x3a3)],this[_0x449522(0x43b)],_0x485849);}};ee=Se([L(0x7,_0x203c15(_0x2c83be)),L(0x8,_0x203c15(_0x58d0ad)),L(0x9,_0x25770b),L(0xa,_0x774a67),L(0xb,_0x134895),L(0xc,_0x2ad6b6),L(0xd,_0x83b4c2(X))],ee);function Oi(_0x422dc0,_0xf70d9f,_0x41254b,_0x4b73d5,_0x299f4e,_0x28b8ae){var _0x185422=_0x121d26;return _0x4b73d5&&_0x299f4e['length']?_0x422dc0[_0x185422(0x289)](oe,_0xf70d9f,_0x41254b,_0x4b73d5,_0x299f4e,_0x28b8ae,void 0x0):_0x4b73d5?_0x422dc0[_0x185422(0x289)](le,_0xf70d9f,_0x41254b,_0x4b73d5,_0x28b8ae):_0x299f4e[_0x185422(0x234)]?_0x422dc0[_0x185422(0x289)](ae,_0xf70d9f,_0x41254b,_0x299f4e,_0x28b8ae):_0x422dc0['createInstance'](be,_0xf70d9f,_0x41254b,_0x28b8ae);}var Fs=Object['getOwnPropertyDescriptor'],At=(_0x307377,_0x185c5d,_0xdbcdc5,_0x5533ab)=>{var _0x2f3e3a=_0x121d26;for(var _0x2efcc9=_0x5533ab>0x1?void 0x0:_0x5533ab?Fs(_0x185c5d,_0xdbcdc5):_0x185c5d,_0x3c83c9=_0x307377[_0x2f3e3a(0x234)]-0x1,_0x105840;_0x3c83c9>=0x0;_0x3c83c9--)(_0x105840=_0x307377[_0x3c83c9])&&(_0x2efcc9=_0x105840(_0x2efcc9)||_0x2efcc9);return _0x2efcc9;},$=(_0x5f321d,_0x4c4785)=>(_0x12841c,_0x708d31)=>_0x4c4785(_0x12841c,_0x708d31,_0x5f321d);let st=class extends _0xfba5ec{constructor(_0x2bf161,_0x407748,_0x4e1b6a,_0x5c4be9,_0x17a2a6,_0x5d4fe2,_0x505381,_0x4db3cc,_0x441978,_0x2b5b58,_0x59a05c,_0x37d0d9,_0x1dcc10,_0x2b22a1){var _0xaef14b=_0x121d26;super(),D(this,'_state$',new _0x318a14(null)),D(this,_0xaef14b(0x2cb),this['_state$']['asObservable']()),D(this,_0xaef14b(0x427)),D(this,_0xaef14b(0x316),!0x1),D(this,'_changesetSessionId',''),D(this,_0xaef14b(0x42e),0x0),D(this,_0xaef14b(0x233),this[_0xaef14b(0x2cb)][_0xaef14b(0x3c2)](_0x1e0513(_0x15ce99=>_0x15ce99?_0x15ce99[_0xaef14b(0x2c6)]:Si[_0xaef14b(0x284)]),_0xef14fe(0x1))),D(this,_0xaef14b(0x310),!0x1),D(this,_0xaef14b(0x189),[]),(this[_0xaef14b(0x35a)]=_0x2bf161,this[_0xaef14b(0x187)]=_0x407748,this['_type']=_0x4e1b6a,this[_0xaef14b(0x263)]=_0x5c4be9,this['_compressMutationService']=_0x17a2a6,this[_0xaef14b(0x2ab)]=_0x5d4fe2,this['_revisionService']=_0x505381,this[_0xaef14b(0x1ed)]=_0x4db3cc,this[_0xaef14b(0x1f3)]=_0x441978,this[_0xaef14b(0x180)]=_0x2b5b58,this[_0xaef14b(0x227)]=_0x59a05c,this[_0xaef14b(0x209)]=_0x37d0d9,this['_singleActiveUnitService']=_0x1dcc10,this[_0xaef14b(0x3c6)]=_0x2b22a1);}get['state'](){var _0x4291e2=_0x121d26;return this[_0x4291e2(0x427)];}async[_0x121d26(0x193)](){var _0x4412e7=_0x121d26;if(this[_0x4412e7(0x12f)])throw new Error(_0x4412e7(0x38d));await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x56f884(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x121d26(0x2bf)](_0x41fa1e){this['_onLocalMutation'](_0x41fa1e);}['_updateState'](_0x2a8cc8){var _0x3d0d29=_0x121d26;this[_0x3d0d29(0x427)]=_0x2a8cc8,this[_0x3d0d29(0x2a6)]['next'](_0x2a8cc8);}async[_0x121d26(0x3a1)](){var _0x13583b=_0x121d26,_0x487e3d;this[_0x13583b(0x135)](await this['_createInitialState']()),this[_0x13583b(0x31b)]&&((_0x487e3d=this[_0x13583b(0x31b)])==null||_0x487e3d[_0x13583b(0x388)](this[_0x13583b(0x35a)]),this[_0x13583b(0x276)](this['_singleActiveUnitService'][_0x13583b(0x3ab)](this[_0x13583b(0x35a)])[_0x13583b(0x11c)](_0x16a161=>{var _0x21de2d=_0x13583b;this[_0x21de2d(0x180)]['debug'](_0x21de2d(0x387),_0x21de2d(0x22e),_0x16a161),_0x16a161===mi[_0x21de2d(0x13c)]?(this[_0x21de2d(0x1ed)][_0x21de2d(0x335)]({'id':re[_0x21de2d(0x3e7)]}),this[_0x21de2d(0x209)][_0x21de2d(0x21f)](new _0x598724(this[_0x21de2d(0x35a)])['id'],!0x1),this[_0x21de2d(0x209)][_0x21de2d(0x401)](!0x1)):(this[_0x21de2d(0x209)]['updatePermissionPoint'](new _0x598724(this[_0x21de2d(0x35a)])['id'],!0x0),this[_0x21de2d(0x209)][_0x21de2d(0x401)](!0x0));})));let _0x3eb1c9=!0x1;return this[_0x13583b(0x276)](this[_0x13583b(0x187)][_0x13583b(0x1b5)][_0x13583b(0x11c)](_0x1f49d5=>{var _0x545a85=_0x13583b;_0x1f49d5===me[_0x545a85(0x350)]?this[_0x545a85(0x278)](_0x3eb1c9):_0x1f49d5===me[_0x545a85(0x284)]&&(_0x3eb1c9=!0x0,this[_0x545a85(0x370)]());})),this[_0x13583b(0x276)](this[_0x13583b(0x187)][_0x13583b(0x2a3)]['subscribe'](_0x3c2bbe=>{var _0x5d9062=_0x13583b;try{switch(_0x3c2bbe[_0x5d9062(0x408)]){case _0x33c4f2[_0x5d9062(0x3f6)]:{this[_0x5d9062(0x31c)](_0x1282a4(_0x3c2bbe[_0x5d9062(0x373)]));break;}case _0x33c4f2['CHANGESET_ACK']:{this[_0x5d9062(0x3b5)](_0x3c2bbe[_0x5d9062(0x373)]);break;}case _0x33c4f2[_0x5d9062(0x3d8)]:{this[_0x5d9062(0x277)]();break;}case _0x33c4f2[_0x5d9062(0x33f)]:{this[_0x5d9062(0x1f6)](_0x3c2bbe['data']);break;}case _0x33c4f2[_0x5d9062(0x31e)]:{this[_0x5d9062(0x393)](_0x3c2bbe['data'][_0x5d9062(0x20d)][_0x5d9062(0x241)](_0x3ea763=>_0x1282a4(_0x3ea763)));break;}case _0x33c4f2['PERMISSION_REJ']:{this[_0x5d9062(0x277)]({'isPermissionRej':!0x0});break;}case _0x33c4f2[_0x5d9062(0x270)]:break;}}catch(_0x159153){throw console[_0x5d9062(0x118)](_0x5d9062(0x3c0),_0x159153),_0x159153;}})),this[_0x13583b(0x427)];}[_0x121d26(0x342)](){var _0x41ea2f=_0x121d26;this[_0x41ea2f(0x310)]=!0x1;}[_0x121d26(0x30d)](){var _0x548721=_0x121d26;if(this[_0x548721(0x310)])throw new Error(_0x548721(0x367));this[_0x548721(0x310)]=!0x0;}[_0x121d26(0x2dd)](_0x2f154e){var _0x45856e=_0x121d26;this[_0x45856e(0x30d)](),this[_0x45856e(0x135)](this[_0x45856e(0x427)][_0x45856e(0x43d)](_0x2f154e)),this[_0x45856e(0x342)]();}[_0x121d26(0x31c)](_0x310f48){var _0x5e8398=_0x121d26;if(!(_0x310f48['revision']<=this[_0x5e8398(0x3b1)][_0x5e8398(0x343)](this[_0x5e8398(0x35a)]))){if(this[_0x5e8398(0x316)]){this[_0x5e8398(0x189)][_0x5e8398(0x1ea)](_0x310f48);return;}this[_0x5e8398(0x2ec)](_0x310f48);}}[_0x121d26(0x12e)](){var _0x10b88d=_0x121d26;this[_0x10b88d(0x189)][_0x10b88d(0x3c7)](_0x3a7331=>this[_0x10b88d(0x2ec)](_0x3a7331)),this['_remoteChangesetQueue']=[];}[_0x121d26(0x2ec)](_0x49579c){var _0x44bffe=_0x121d26;const _0x3497ba=this['_compressMutationService'][_0x44bffe(0x125)]['fetchThroughInterceptors'](this[_0x44bffe(0x24b)][_0x44bffe(0x125)][_0x44bffe(0x27f)]()['COMPRESS_MUTATION_APPLY'])(_0x49579c[_0x44bffe(0x22f)],null)||_0x49579c[_0x44bffe(0x22f)],_0x3d663a={..._0x49579c,'mutations':_0x3497ba};this[_0x44bffe(0x30d)](),this[_0x44bffe(0x135)](this[_0x44bffe(0x427)][_0x44bffe(0x197)](_0x3d663a)),this[_0x44bffe(0x342)]();}[_0x121d26(0x3b5)](_0x4efd6){var _0x5d93ce=_0x121d26;this[_0x5d93ce(0x30d)](),this[_0x5d93ce(0x135)](this[_0x5d93ce(0x427)][_0x5d93ce(0x304)](_0x4efd6)),this['_unlockTransition']();}[_0x121d26(0x277)](_0x2f2e4f){var _0x4985de=_0x121d26;this['_lockTransition'](),this['_updateState'](this[_0x4985de(0x427)]['onRemoteRej'](_0x2f2e4f)),this[_0x4985de(0x342)]();}[_0x121d26(0x1f6)](_0x2f33b6){var _0x5e665e=_0x121d26;this[_0x5e665e(0x30d)](),this[_0x5e665e(0x135)](this['_state']['onRemoteRetry'](_0x2f33b6)),this[_0x5e665e(0x342)]();}['_onFetchMissResult'](_0x3fc211){var _0x3125fd=_0x121d26;if(!(this[_0x3125fd(0x427)]instanceof ee))throw new TypeError(_0x3125fd(0x36a));const _0x168b70=_0x3fc211[_0x3125fd(0x241)](_0x48c236=>{var _0xf048be=_0x3125fd;const _0x447877=this[_0xf048be(0x24b)][_0xf048be(0x125)][_0xf048be(0x25f)](this[_0xf048be(0x24b)][_0xf048be(0x125)][_0xf048be(0x27f)]()['COMPRESS_MUTATION_APPLY'])(_0x48c236[_0xf048be(0x22f)],null)||_0x48c236[_0xf048be(0x22f)];return{..._0x48c236,'mutations':_0x447877};});this[_0x3125fd(0x30d)](),this['_updateState'](this[_0x3125fd(0x427)][_0x3125fd(0x1ad)](_0x168b70)),this['_unlockTransition']();}['_toggleOffline'](){var _0x14a46b=_0x121d26;this['_lockTransition'](),this['_updateState'](this[_0x14a46b(0x427)][_0x14a46b(0x406)]()),this[_0x14a46b(0x342)]();}[_0x121d26(0x278)](_0x22002a=!0x1){var _0x186472=_0x121d26;this[_0x186472(0x30d)](),this[_0x186472(0x135)](this[_0x186472(0x427)][_0x186472(0x1da)]()),this[_0x186472(0x342)]();const _0x2fb6e1=this[_0x186472(0x427)];_0x22002a&&_0x2fb6e1 instanceof be&&(this[_0x186472(0x30d)](),this['_updateState'](_0x2fb6e1[_0x186472(0x13a)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x21cdd8=>{var _0x1c611c=_0x21ef;this[_0x1c611c(0x187)][_0x1c611c(0x1b5)][_0x1c611c(0x3c2)](_0x330812(0x1))[_0x1c611c(0x11c)](async _0x2a8390=>{var _0x40f9c4=_0x1c611c;_0x21cdd8(await this[_0x40f9c4(0x3dc)](_0x2a8390===me[_0x40f9c4(0x350)]));});});}['_createHandler'](){var _0x3c3fc5=_0x121d26;const _0x1d7e1a=this[_0x3c3fc5(0x35a)];return{'onStateChange':(_0x4327fe,_0x567f07)=>{var _0xb14dea=_0x3c3fc5;if(_0x4327fe!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4327fe[_0xb14dea(0x2c6)]+_0xb14dea(0x13d)+_0x567f07[_0xb14dea(0x2c6)]+'\x0aCurrent:\x20'+this[_0xb14dea(0x427)]['status']);this[_0xb14dea(0x135)](_0x567f07);},'onSendChangeset':_0x3b0c18=>{var _0x136001=_0x3c3fc5;_0x3b0c18[_0x136001(0x257)]||(_0x3b0c18[_0x136001(0x257)]=this[_0x136001(0x1fd)],_0x3b0c18[_0x136001(0x2dc)]=++this[_0x136001(0x42e)]);const _0x477f58={'eventID':_0x33c4f2['SUBMIT_CHANGESET'],'data':{'unitID':_0x3b0c18['unitID'],'unitType':this[_0x136001(0x3d6)],'changeset':_0x3b0c18,'memberID':this['session'][_0x136001(0x17a)]()}};this[_0x136001(0x187)]['send'](_0x477f58,this[_0x136001(0x35a)]);},'onMissingChangesets':({from:_0x47a7bc,to:_0x155c8c})=>{var _0x12469e=_0x3c3fc5;this[_0x12469e(0x180)][_0x12469e(0x11f)](_0x12469e(0x387),'fetching\x20missing\x20changesets\x20from\x20'+_0x47a7bc+'\x20to\x20'+_0x155c8c);const _0x22012f={'eventID':_0x33c4f2[_0x12469e(0x2c3)],'data':{'unitID':_0x1d7e1a,'unitType':this[_0x12469e(0x3d6)],'from':_0x47a7bc,'to':_0x155c8c}};this['session'][_0x12469e(0x2b6)](_0x22012f,this['unitID']);}};}async[_0x121d26(0x3dc)](_0xc78590){var _0x207490=_0x121d26,_0x27fc24,_0x414598,_0x271a39;const _0x7ed282=await((_0x27fc24=this[_0x207490(0x3c6)])==null?void 0x0:_0x27fc24['loadOfflineData'](this[_0x207490(0x35a)])),_0x3edca5=(_0x414598=_0x7ed282==null?void 0x0:_0x7ed282['mutations'])!=null?_0x414598:[],_0x319937=(_0x271a39=_0x7ed282==null?void 0x0:_0x7ed282[_0x207490(0x254)])!=null?_0x271a39:null,_0x1fe175=!!(_0x319937!=null&&_0x319937[_0x207490(0x257)])&&!!(_0x319937!=null&&_0x319937['reqId']);this[_0x207490(0x1fd)]=_0x1fe175?_0x319937['sid']:_0x313e4d(),this[_0x207490(0x42e)]=_0x1fe175?_0x319937['reqId']:0x0;const _0x5d940b=this['unitID'];try{this[_0x207490(0x32d)](_0x319937,_0x3edca5);}catch(_0x2f70ca){this[_0x207490(0x180)][_0x207490(0x118)](_0x2f70ca);}const _0x591553=this[_0x207490(0x2b0)]();if(_0xc78590){const _0x19eeb6=Oi(this['_injector'],_0x5d940b,this[_0x207490(0x3d6)],_0x319937,_0x3edca5,_0x591553);return _0x19eeb6 instanceof ae?_0x19eeb6[_0x207490(0x14a)]():(_0x19eeb6 instanceof oe||_0x19eeb6 instanceof le)&&_0x19eeb6[_0x207490(0x1ca)](),_0x19eeb6;}return this[_0x207490(0x263)]['createInstance'](de,_0x5d940b,this[_0x207490(0x3d6)],_0x319937,_0x3edca5,_0x591553);}[_0x121d26(0x32d)](_0x546f17,_0x565c1f){var _0x4927eb=_0x121d26,_0x43fcbf,_0x3720d2;const _0x3eb8b2=this[_0x4927eb(0x24b)]['interceptor'][_0x4927eb(0x25f)](this[_0x4927eb(0x24b)]['interceptor']['getInterceptPoints']()[_0x4927eb(0x36e)]);(_0x43fcbf=_0x3eb8b2((_0x546f17==null?void 0x0:_0x546f17[_0x4927eb(0x22f)])||[],null))==null||_0x43fcbf['forEach'](_0x3c31ed=>this['_commandService']['executeCommand'](_0x3c31ed['id'],_0x3c31ed[_0x4927eb(0x2a9)])),(_0x3720d2=_0x3eb8b2(_0x565c1f||[],null))==null||_0x3720d2['forEach'](_0x415204=>this[_0x4927eb(0x227)][_0x4927eb(0x2bd)](_0x415204['id'],_0x415204[_0x4927eb(0x2a9)]));}};st=At([$(0x3,_0x203c15(_0x2c83be)),$(0x4,_0x203c15(_0x5a03ee)),$(0x5,_0x203c15(_0x3dd6d6)),$(0x6,_0x203c15(_0x58d0ad)),$(0x7,_0x203c15(ve)),$(0x8,_0x3b6c0b),$(0x9,_0x25770b),$(0xa,_0x774a67),$(0xb,_0x5a99ac),$(0xc,_0x83b4c2(_t)),$(0xd,_0x83b4c2(X))],st);let It=class extends st{constructor(_0x55776a,_0x1c2415,_0x4fc1f3,_0x376607,_0x2d3356,_0x31f020,_0x469804,_0x376fbd,_0x4391c0,_0x29f843,_0x24f9ab,_0x3ff8d9,_0x5e2d99,_0x59f6ae){var _0x42603f=_0x121d26;super(_0x55776a,_0x4fc1f3,_0x1c2415,_0x376607,_0x2d3356,_0x31f020,_0x469804,_0x376fbd,_0x4391c0,_0x29f843,_0x24f9ab,_0x3ff8d9,_0x5e2d99,_0x59f6ae),D(this,'_handlerCallback',null),(this[_0x42603f(0x35a)]=_0x55776a,this[_0x42603f(0x346)]=_0x1c2415);}['addHandlerCallback'](_0x4a3fca){var _0x4e8be0=_0x121d26;this[_0x4e8be0(0x245)]=_0x4a3fca;}['dispose'](){var _0x5da383=_0x121d26;this[_0x5da383(0x245)]=null,super[_0x5da383(0x383)]();}['_createHandler'](){var _0x51917e=_0x121d26;const _0x44f0c3=super[_0x51917e(0x2b0)]();return _0x44f0c3[_0x51917e(0x156)]=_0x373ac8=>{var _0x426d30=_0x51917e,_0x515dd3,_0x41f6af;return(_0x41f6af=(_0x515dd3=this['_handlerCallback'])==null?void 0x0:_0x515dd3['onTransformIME'])==null?void 0x0:_0x41f6af[_0x426d30(0x1fb)](_0x515dd3,_0x373ac8);},_0x44f0c3[_0x51917e(0x28e)]=_0x684390=>{var _0x3448c5=_0x51917e,_0x2b0f43,_0x541918;return(_0x541918=(_0x2b0f43=this[_0x3448c5(0x245)])==null?void 0x0:_0x2b0f43['onTransformState'])==null?void 0x0:_0x541918[_0x3448c5(0x1fb)](_0x2b0f43,_0x684390);},_0x44f0c3['onTransformSelections']=_0x102d21=>{var _0x3e0e7a=_0x51917e,_0x2ff4e5,_0x1ee08f;return(_0x1ee08f=(_0x2ff4e5=this['_handlerCallback'])==null?void 0x0:_0x2ff4e5['onTransformSelections'])==null?void 0x0:_0x1ee08f[_0x3e0e7a(0x1fb)](_0x2ff4e5,_0x102d21);},_0x44f0c3['onSyncEditingCollabCursor']=_0x1127dc=>{var _0x2d0831=_0x51917e,_0x22082b,_0x3137ab;return(_0x3137ab=(_0x22082b=this[_0x2d0831(0x245)])==null?void 0x0:_0x22082b[_0x2d0831(0x354)])==null?void 0x0:_0x3137ab[_0x2d0831(0x1fb)](_0x22082b,_0x1127dc);},_0x44f0c3['onTransformRemoteChangesetByIMECache']=_0x175c75=>{var _0x3ff3dd=_0x51917e,_0x1f2372,_0x1eff37,_0x1a6f8f;if(!((_0x1f2372=this['_handlerCallback'])!=null&&_0x1f2372['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1a6f8f=(_0x1eff37=this['_handlerCallback'])==null?void 0x0:_0x1eff37[_0x3ff3dd(0x217)])==null?void 0x0:_0x1a6f8f[_0x3ff3dd(0x1fb)](_0x1eff37,_0x175c75);},_0x44f0c3[_0x51917e(0x3f0)]=_0x14d3a4=>{var _0x269335=_0x51917e,_0x426f61,_0x1e5b03,_0x43eb7e;if(!((_0x426f61=this[_0x269335(0x245)])!=null&&_0x426f61[_0x269335(0x3f0)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x43eb7e=(_0x1e5b03=this[_0x269335(0x245)])==null?void 0x0:_0x1e5b03[_0x269335(0x3f0)])==null?void 0x0:_0x43eb7e[_0x269335(0x1fb)](_0x1e5b03,_0x14d3a4);},_0x44f0c3;}async['_init'](){var _0x517a66=_0x121d26;const _0x43207b=await super['_init']();return this[_0x517a66(0x276)](this[_0x517a66(0x227)]['onMutationExecutedForCollab']((_0xa027d5,_0x510afa)=>{var _0x1300ae=_0x517a66;if(_0xa027d5[_0x1300ae(0x346)]!==_0x1ea905[_0x1300ae(0x3b7)]||_0x510afa!=null&&_0x510afa[_0x1300ae(0x176)]||_0x510afa!=null&&_0x510afa[_0x1300ae(0x2fb)]||_0xa027d5['id']===_0x1de257['id'])return;const _0x593472=_0xa027d5['params'];if((_0x593472==null?void 0x0:_0x593472[_0x1300ae(0x439)])!==this[_0x1300ae(0x35a)])return;const _0x5038a9=_0xa027d5,_0x390605=this[_0x1300ae(0x24b)][_0x1300ae(0x125)][_0x1300ae(0x25f)](this['_compressMutationService'][_0x1300ae(0x125)][_0x1300ae(0x27f)]()[_0x1300ae(0x3ae)])([_0x5038a9],this['_univerInstanceService'])||[_0x5038a9];this[_0x1300ae(0x2dd)](_0x390605[0x0]);})),_0x43207b;}};It=At([$(0x3,_0x203c15(_0x2c83be)),$(0x4,_0x203c15(_0x5a03ee)),$(0x5,_0x203c15(_0x3dd6d6)),$(0x6,_0x203c15(_0x58d0ad)),$(0x7,_0x203c15(ve)),$(0x8,_0x3b6c0b),$(0x9,_0x25770b),$(0xa,_0x774a67),$(0xb,_0x5a99ac),$(0xc,_0x83b4c2(_t)),$(0xd,_0x83b4c2(X))],It);let St=class extends st{constructor(_0x2aeb48,_0x488920,_0xd3a853,_0x4ccb15,_0x42cdf0,_0x2b0a95,_0x31c823,_0x23bef0,_0xb35d86,_0x276597,_0x20a87d,_0x477d48,_0x14e1c4,_0x416b42,_0x2689f0){var _0x5889d6=_0x121d26;super(_0x2aeb48,_0xd3a853,_0x488920,_0x4ccb15,_0x42cdf0,_0x2b0a95,_0x31c823,_0xb35d86,_0x276597,_0x20a87d,_0x477d48,_0x14e1c4,_0x416b42,_0x2689f0),this[_0x5889d6(0x35a)]=_0x2aeb48,this[_0x5889d6(0x346)]=_0x488920,this[_0x5889d6(0x154)]=_0x23bef0;}[_0x121d26(0x2b0)](){var _0x314f5f=_0x121d26;const _0x1531c0=super['_createHandler']();return _0x1531c0[_0x314f5f(0x18c)]=_0x3cc1f6=>this['_sheetTransformSelectionsService']['transformSelections'](_0x3cc1f6),_0x1531c0;}async[_0x121d26(0x3a1)](){var _0x385c2e=_0x121d26;const _0x4049ee=await super[_0x385c2e(0x3a1)]();return this[_0x385c2e(0x276)](this['_commandService'][_0x385c2e(0x295)]((_0x53851a,_0x1203ec)=>{var _0x4a1dcd=_0x385c2e;if(_0x53851a[_0x4a1dcd(0x346)]!==_0x1ea905['MUTATION']||_0x1203ec!=null&&_0x1203ec['fromCollab']||_0x1203ec!=null&&_0x1203ec[_0x4a1dcd(0x2fb)])return;const _0x386eb4=_0x53851a[_0x4a1dcd(0x2a9)];if((_0x386eb4==null?void 0x0:_0x386eb4[_0x4a1dcd(0x439)])!==this[_0x4a1dcd(0x35a)])return;const _0x1e7237=_0x53851a,_0x357267=this[_0x4a1dcd(0x24b)]['interceptor'][_0x4a1dcd(0x25f)](this['_compressMutationService'][_0x4a1dcd(0x125)]['getInterceptPoints']()[_0x4a1dcd(0x3ae)])([_0x1e7237],this[_0x4a1dcd(0x1f3)])||[_0x1e7237];this['_onLocalMutation'](_0x357267[0x0]);})),_0x4049ee;}};St=At([$(0x3,_0x203c15(_0x2c83be)),$(0x4,_0x203c15(_0x5a03ee)),$(0x5,_0x203c15(_0x3dd6d6)),$(0x6,_0x203c15(_0x58d0ad)),$(0x7,_0x203c15(it)),$(0x8,_0x203c15(ve)),$(0x9,_0x3b6c0b),$(0xa,_0x25770b),$(0xb,_0x774a67),$(0xc,_0x5a99ac),$(0xd,_0x83b4c2(_t)),$(0xe,_0x83b4c2(X))],St);const js=_0x718b2c(_0x121d26(0x3fd));function Vs(_0x106268){var _0x5adc5b=_0x121d26,_0x3f3246,_0x2df80e,_0x189b11,_0x43d912,_0x1a0a6d;const _0x256102=_0x106268[_0x5adc5b(0x373)],_0x127f34=JSON['parse'](_0x256102);switch(_0x127f34[_0x5adc5b(0x2cf)]){case j[_0x5adc5b(0x397)]:case j[_0x5adc5b(0x1b4)]:{const _0x2105e4=_0x127f34[_0x5adc5b(0x3d4)];return{..._0x127f34,'data':_0x2105e4,'cmd':_0x127f34['cmd']};}case j[_0x5adc5b(0x3fb)]:{const _0x513835=_0x127f34[_0x5adc5b(0x231)];return{..._0x127f34,'data':_0x513835,'cmd':_0x127f34[_0x5adc5b(0x2cf)]};}case j[_0x5adc5b(0x3f4)]:{const _0xfde255=_0x127f34[_0x5adc5b(0x34b)];switch(_0xfde255[_0x5adc5b(0x408)]){case _0x33c4f2[_0x5adc5b(0x14c)]:return{..._0x127f34,'data':{..._0xfde255,'data':(_0x3f3246=_0xfde255[_0x5adc5b(0x382)])==null?void 0x0:_0x3f3246['cs']},'cmd':_0x127f34[_0x5adc5b(0x2cf)]};case _0x33c4f2[_0x5adc5b(0x138)]:return{..._0x127f34,'data':{..._0xfde255,'data':(_0x2df80e=_0xfde255[_0x5adc5b(0x32f)])==null?void 0x0:_0x2df80e['cs']},'cmd':_0x127f34[_0x5adc5b(0x2cf)]};case _0x33c4f2['NEW_CHANGESETS']:return{..._0x127f34,'data':{..._0xfde255,'data':(_0x189b11=_0xfde255[_0x5adc5b(0x2f7)])==null?void 0x0:_0x189b11['cs']},'cmd':_0x127f34['cmd']};case _0x33c4f2[_0x5adc5b(0x3d8)]:return{..._0x127f34,'data':{..._0xfde255,'data':(_0x43d912=_0xfde255[_0x5adc5b(0x1a6)])==null?void 0x0:_0x43d912['cs']},'cmd':_0x127f34['cmd']};case _0x33c4f2[_0x5adc5b(0x33f)]:return{..._0x127f34,'data':{..._0xfde255,'data':(_0x1a0a6d=_0xfde255[_0x5adc5b(0x11d)])==null?void 0x0:_0x1a0a6d['cs']},'cmd':_0x127f34['cmd']};case _0x33c4f2[_0x5adc5b(0x24f)]:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255[_0x5adc5b(0x374)]},'cmd':_0x127f34['cmd']};case _0x33c4f2[_0x5adc5b(0x424)]:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255[_0x5adc5b(0x251)]},'cmd':_0x127f34[_0x5adc5b(0x2cf)]};case _0x33c4f2[_0x5adc5b(0x36f)]:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255[_0x5adc5b(0x3a4)]},'cmd':_0x127f34[_0x5adc5b(0x2cf)]};case _0x33c4f2['LIVESHARE_NEW_HOST']:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255['liveShareNewHost']},'cmd':_0x127f34[_0x5adc5b(0x2cf)]};case _0x33c4f2[_0x5adc5b(0x42b)]:case _0x33c4f2[_0x5adc5b(0x2c4)]:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255['liveShareOperation']},'cmd':_0x127f34['cmd']};case _0x33c4f2[_0x5adc5b(0x1fa)]:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255[_0x5adc5b(0x120)]},'cmd':_0x127f34['cmd']};case _0x33c4f2[_0x5adc5b(0x2f9)]:return{..._0x127f34,'data':_0xfde255,'cmd':_0x127f34[_0x5adc5b(0x2cf)]};case _0x33c4f2[_0x5adc5b(0x255)]:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255['commentUpdateEvent']},'cmd':_0x127f34['cmd']};case _0x33c4f2[_0x5adc5b(0x13b)]:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255['updatePermissionObjEvent']},'cmd':_0x127f34[_0x5adc5b(0x2cf)]};case _0x33c4f2[_0x5adc5b(0x137)]:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255[_0x5adc5b(0x39b)]},'cmd':_0x127f34[_0x5adc5b(0x2cf)]};case _0x33c4f2[_0x5adc5b(0x270)]:return{..._0x127f34,'data':{..._0xfde255,'data':_0xfde255[_0x5adc5b(0x1df)]},'cmd':_0x127f34[_0x5adc5b(0x2cf)]};default:return _0x127f34;}}default:return _0x127f34;}}function Gs(_0x28c920){var _0x372e9c=_0x121d26;switch(_0x28c920[_0x372e9c(0x2cf)]){case j[_0x372e9c(0x397)]:case j[_0x372e9c(0x1b4)]:return JSON[_0x372e9c(0x26e)]({'cmd':_0x28c920[_0x372e9c(0x2cf)],'routeKey':_0x28c920['routeKey']});case j['INGEST']:{let _0x4769df;switch(_0x28c920[_0x372e9c(0x373)][_0x372e9c(0x408)]){case _0x33c4f2[_0x372e9c(0x24f)]:{_0x4769df={'eventID':_0x33c4f2[_0x372e9c(0x24f)],'updateCursorEvent':_0x28c920[_0x372e9c(0x373)][_0x372e9c(0x373)]};break;}case _0x33c4f2[_0x372e9c(0x36f)]:{_0x4769df={'eventID':_0x33c4f2[_0x372e9c(0x36f)],'leaveEvent':_0x28c920[_0x372e9c(0x373)][_0x372e9c(0x373)]};break;}case _0x33c4f2[_0x372e9c(0x424)]:{_0x4769df={'eventID':_0x33c4f2[_0x372e9c(0x424)],'joinEvent':_0x28c920['data'][_0x372e9c(0x373)]};break;}case _0x33c4f2[_0x372e9c(0x434)]:{_0x4769df={'eventID':_0x33c4f2['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x28c920[_0x372e9c(0x373)][_0x372e9c(0x373)]};break;}case _0x33c4f2[_0x372e9c(0x2c4)]:{_0x4769df={'eventID':_0x33c4f2[_0x372e9c(0x2c4)],'liveShareOperation':_0x28c920[_0x372e9c(0x373)][_0x372e9c(0x373)]};break;}case _0x33c4f2[_0x372e9c(0x1fa)]:{_0x4769df={'eventID':_0x33c4f2[_0x372e9c(0x1fa)],'liveShareTerminate':_0x28c920['data'][_0x372e9c(0x373)]};break;}case _0x33c4f2[_0x372e9c(0x1fe)]:{_0x4769df={'eventID':_0x33c4f2[_0x372e9c(0x1fe)],'liveShareRequestHost':_0x28c920[_0x372e9c(0x373)][_0x372e9c(0x373)]};break;}case _0x33c4f2[_0x372e9c(0x42b)]:{_0x4769df={'eventID':_0x33c4f2[_0x372e9c(0x42b)]};break;}default:_0x4769df={'eventID':_0x28c920[_0x372e9c(0x373)]['eventID']};}return JSON['stringify']({'cmd':_0x28c920[_0x372e9c(0x2cf)],'routeKey':_0x28c920[_0x372e9c(0x166)],'collaMsg':_0x4769df});}case j['JOIN']:return JSON[_0x372e9c(0x26e)]({'cmd':_0x28c920[_0x372e9c(0x2cf)],'routeKey':_0x28c920[_0x372e9c(0x166)],'joinReq':_0x28c920[_0x372e9c(0x373)]});case j[_0x372e9c(0x29c)]:return JSON['stringify']({'cmd':_0x28c920['cmd'],'routeKey':_0x28c920[_0x372e9c(0x166)],'leaveReq':_0x28c920['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ws=Object[_0x121d26(0x145)],Ys=(_0x3dd3fe,_0x44eda0,_0xee242a,_0xd8b390)=>{var _0x4605ee=_0x121d26;for(var _0x2a4b63=_0xd8b390>0x1?void 0x0:_0xd8b390?Ws(_0x44eda0,_0xee242a):_0x44eda0,_0x45fee0=_0x3dd3fe[_0x4605ee(0x234)]-0x1,_0x54ff44;_0x45fee0>=0x0;_0x45fee0--)(_0x54ff44=_0x3dd3fe[_0x45fee0])&&(_0x2a4b63=_0x54ff44(_0x2a4b63)||_0x2a4b63);return _0x2a4b63;},ye=(_0x3142a9,_0x127cf5)=>(_0x2ae9b6,_0x481ca5)=>_0x127cf5(_0x2ae9b6,_0x481ca5,_0x3142a9);const Ri=_0x718b2c(_0x121d26(0x3f2));function Ks(_0x37581f,_0x252839,_0x2204fb){var _0x204993=_0x121d26;return _0x37581f+'/'+_0x252839+_0x204993(0x262)+_0x2204fb+_0x204993(0x23d);}let Gt=class extends _0x1b6c53{constructor(_0x4d8aa2,_0x4f6bfa,_0x4fedf8,_0x156357,_0x4baf80){var _0x5dba77=_0x121d26;super(),this[_0x5dba77(0x263)]=_0x4d8aa2,this[_0x5dba77(0x235)]=_0x4f6bfa,this[_0x5dba77(0x282)]=_0x4fedf8,this['_logService']=_0x156357,this[_0x5dba77(0x150)]=_0x4baf80;}[_0x121d26(0x376)](_0x3377d7){var _0x1dd6a4=_0x121d26;const _0x5b6db1=this[_0x1dd6a4(0x263)][_0x1dd6a4(0x23a)](_0x4c88c2);if(!_0x5b6db1)throw new Error(_0x1dd6a4(0x160));const _0x51f0e5=_0x5b6db1[_0x1dd6a4(0x17b)](_0x3377d7);if(!_0x51f0e5)throw new Error(_0x1dd6a4(0x347));const _0x4feefc=new _0x3eebda(),_0x57fa46=new _0x545a47();_0x4feefc['add'](_0x51f0e5[_0x1dd6a4(0x158)][_0x1dd6a4(0x11c)](_0x8b444b=>_0x57fa46[_0x1dd6a4(0x186)](_0x8b444b))),_0x4feefc[_0x1dd6a4(0x142)](_0x56f884(()=>_0x57fa46['complete']()));const _0x6cfe17=new _0x545a47();_0x4feefc[_0x1dd6a4(0x142)](_0x51f0e5['error$'][_0x1dd6a4(0x11c)](_0x5bbbe8=>_0x6cfe17[_0x1dd6a4(0x186)](_0x5bbbe8))),_0x4feefc[_0x1dd6a4(0x142)](_0x56f884(()=>_0x6cfe17[_0x1dd6a4(0x14d)]()));const _0x29147c=new _0x545a47();_0x4feefc['add'](_0x51f0e5[_0x1dd6a4(0x13e)]['subscribe'](_0x2761fe=>{const _0x2a1c2e=Vs(_0x2761fe);_0x29147c['next'](_0x2a1c2e);})),_0x4feefc['add'](_0x56f884(()=>_0x29147c[_0x1dd6a4(0x14d)]()));let _0x1a9b21;const _0x542966=()=>{var _0x226868=_0x1dd6a4;_0x6cfe17[_0x226868(0x186)](new Event(_0x226868(0x3b2))),_0x57fa46[_0x226868(0x186)](new Event('connection\x20error')),_0x1a9b21[_0x226868(0x3c4)]();};return _0x1a9b21={'memberID':'','close$':_0x57fa46['asObservable'](),'error$':_0x6cfe17[_0x1dd6a4(0x2d7)](),'open$':_0x51f0e5[_0x1dd6a4(0x339)],'message$':_0x29147c[_0x1dd6a4(0x2d7)](),'send':_0xe742c0=>{var _0x249f6f=_0x1dd6a4;if(_0xe742c0['cmd']===j[_0x249f6f(0x2fc)]){if(_0xe742c0[_0x249f6f(0x373)][_0x249f6f(0x408)]===_0x33c4f2[_0x249f6f(0x259)]){this[_0x249f6f(0x18d)](_0x1a9b21,_0xe742c0[_0x249f6f(0x373)])[_0x249f6f(0x435)](_0x50f970=>{var _0x4138d5=_0x249f6f;this[_0x4138d5(0x180)][_0x4138d5(0x118)](_0x50f970),_0x542966();});return;}if(_0xe742c0[_0x249f6f(0x373)][_0x249f6f(0x408)]===_0x33c4f2[_0x249f6f(0x2c3)]){const _0x5829b5=_0xe742c0['data'];this['_fetchMissChangesets'](_0x5829b5)['then'](_0x4c98c1=>{var _0x28b76a=_0x249f6f;_0x29147c[_0x28b76a(0x186)]({'cmd':j[_0x28b76a(0x3f4)],'code':Ee['OK'],'routeKey':_0x5829b5[_0x28b76a(0x373)][_0x28b76a(0x35a)],'routeType':'','data':{'eventID':_0x33c4f2[_0x28b76a(0x31e)],'data':{'changesets':_0x4c98c1}}});})[_0x249f6f(0x435)](_0x526dbb=>{var _0x5aceb2=_0x249f6f;this[_0x5aceb2(0x180)][_0x5aceb2(0x118)](_0x526dbb),_0x542966();});return;}}_0x51f0e5['send'](Gs(_0xe742c0));},'close':()=>{var _0x5bb7bd=_0x1dd6a4;_0x51f0e5[_0x5bb7bd(0x3c4)](),_0x4feefc[_0x5bb7bd(0x383)]();}},_0x1a9b21;}async[_0x121d26(0x18d)](_0x396f0c,_0x59fcf9){var _0x112763=_0x121d26,_0x3b29ef;const {unitType:_0x57a8d7,unitID:_0x1d6c31,changeset:_0x7a3871}=_0x59fcf9['data'],_0x5e0928={'unitID':_0x1d6c31,'memberID':_0x396f0c[_0x112763(0x18f)],'type':_0x57a8d7,'changeset':_0x48f355(_0x7a3871)},_0x1f8d7a=this[_0x112763(0x282)][_0x112763(0x27b)](K),_0x2fffd6=Ks((_0x3b29ef=_0x1f8d7a==null?void 0x0:_0x1f8d7a[_0x112763(0x2ce)])!=null?_0x3b29ef:Rs,_0x57a8d7,_0x1d6c31);try{await this[_0x112763(0x235)]['post'](_0x2fffd6,{'body':_0x5e0928});}catch(_0x366e77){throw this[_0x112763(0x180)][_0x112763(0x118)](_0x112763(0x15e),'submit\x20changeset\x20error!'),_0x366e77;}}async[_0x121d26(0x337)](_0x40a47a){var _0x134468=_0x121d26;const {unitID:_0x8ecb9a,from:_0x3e371e,to:_0x4c293e,unitType:_0x2fb4ca}=_0x40a47a[_0x134468(0x373)];return(await this['_snapshotServerService'][_0x134468(0x1c1)]({'metadata':void 0x0},{'unitID':_0x8ecb9a,'type':_0x2fb4ca,'from':_0x3e371e,'to':_0x4c293e}))[_0x134468(0x20d)][_0x134468(0x241)](_0x49f932=>((_0x49f932[_0x134468(0x22f)]===null||_0x49f932['mutations']===void 0x0)&&(_0x49f932[_0x134468(0x22f)]=[]),_0x49f932));}};Gt=Ys([ye(0x0,_0x203c15(_0x2c83be)),ye(0x1,_0x203c15(_0x1a7bf7)),ye(0x2,_0x5d33d6),ye(0x3,_0x25770b),ye(0x4,_0x19a600)],Gt);var qs=Object[_0x121d26(0x145)],zs=(_0x116cf2,_0x17ee6d,_0x244aad,_0x594290)=>{var _0xf6b56d=_0x121d26;for(var _0x473aaa=_0x594290>0x1?void 0x0:_0x594290?qs(_0x17ee6d,_0x244aad):_0x17ee6d,_0x2c75ef=_0x116cf2[_0xf6b56d(0x234)]-0x1,_0x4fc4d6;_0x2c75ef>=0x0;_0x2c75ef--)(_0x4fc4d6=_0x116cf2[_0x2c75ef])&&(_0x473aaa=_0x4fc4d6(_0x473aaa)||_0x473aaa);return _0x473aaa;},Re=(_0x708716,_0x4e29ef)=>(_0x33e97d,_0x433877)=>_0x4e29ef(_0x33e97d,_0x433877,_0x708716);let Le=class extends _0x1b6c53{constructor(_0x8e103d,_0x4c6491,_0x57aab2,_0x4f6f7b,_0xb68cce,_0x524566){var _0x2e2929=_0x121d26;super(),D(this,_0x2e2929(0x36b),new _0x318a14(void 0x0)),D(this,'socket$',this[_0x2e2929(0x36b)][_0x2e2929(0x2d7)]()),D(this,_0x2e2929(0x1d1),null),D(this,_0x2e2929(0x416),new Map()),D(this,_0x2e2929(0x26b),new _0x318a14(me['IDLE'])),D(this,'status$',this['_status$'][_0x2e2929(0x2d7)]()),D(this,_0x2e2929(0x3d7),!0x1),D(this,'_retryConnectingTimer'),D(this,'_retryCount',0x0),D(this,_0x2e2929(0x40d)),D(this,_0x2e2929(0x345)),(this[_0x2e2929(0x263)]=_0x8e103d,this[_0x2e2929(0x180)]=_0x4c6491,this['_configService']=_0x57aab2,this[_0x2e2929(0x266)]=_0x4f6f7b,this[_0x2e2929(0x2a0)]=_0xb68cce,this[_0x2e2929(0x423)]=_0x524566,this[_0x2e2929(0x3e9)]());}get[_0x121d26(0x3dd)](){return this['_socket$']['getValue']();}[_0x121d26(0x3e9)](){var _0x8db65=_0x121d26;this['_networkConditionService']&&this[_0x8db65(0x276)](this[_0x8db65(0x423)][_0x8db65(0x2d6)][_0x8db65(0x11c)](_0x515542=>{var _0x40791b=_0x8db65;_0x515542&&!this['_socket']&&this[_0x40791b(0x19a)](),_0x515542||this[_0x40791b(0x1c9)]();}));}['dispose'](){var _0x90ce10=_0x121d26;super['dispose'](),this[_0x90ce10(0x2ca)](),this['_clearTimeoutTimer'](),this[_0x90ce10(0x1bb)](),this[_0x90ce10(0x416)]['forEach'](_0x3bfcb5=>_0x3bfcb5[_0x90ce10(0x383)]()),this[_0x90ce10(0x416)][_0x90ce10(0x29f)](),this[_0x90ce10(0x26b)][_0x90ce10(0x14d)]();}async[_0x121d26(0x24e)](_0x1877f0){var _0x2c8471=_0x121d26;if(this[_0x2c8471(0x416)]['has'](_0x1877f0))return this[_0x2c8471(0x416)][_0x2c8471(0x23a)](_0x1877f0);this[_0x2c8471(0x131)]();const _0x34ab71=this['_injector'][_0x2c8471(0x289)](mt,_0x1877f0,this[_0x2c8471(0x36b)][_0x2c8471(0x2d7)]());return this['_sessions']['set'](_0x1877f0,_0x34ab71),_0x34ab71;}['closeSession'](_0x29f78f){var _0x1f180d=_0x121d26,_0xcdb9db;const _0x4f6fd4=this['_sessions']['get'](_0x29f78f);_0x4f6fd4&&(this[_0x1f180d(0x416)]['delete'](_0x29f78f),_0x4f6fd4['close']()),this[_0x1f180d(0x416)]['size']||(_0xcdb9db=this[_0x1f180d(0x3dd)])==null||_0xcdb9db[_0x1f180d(0x3c4)]();}['reconnect'](){var _0x3daf69=_0x121d26;this[_0x3daf69(0x32c)]=0x0,this[_0x3daf69(0x2ca)](),this[_0x3daf69(0x1a7)]();}[_0x121d26(0x2ca)](){var _0x1d71b9=_0x121d26;this[_0x1d71b9(0x212)]!=null&&(clearTimeout(this[_0x1d71b9(0x212)]),this[_0x1d71b9(0x212)]=null);}async[_0x121d26(0x1b6)](){var _0x530690=_0x121d26,_0x28176e;const _0x396d56=this[_0x530690(0x282)]['getConfig'](K),_0xea5725=(_0x28176e=_0x396d56==null?void 0x0:_0x396d56[_0x530690(0x23c)])!=null?_0x28176e:ms,_0x460fcd=await this[_0x530690(0x266)][_0x530690(0x17b)](_0xea5725);return this['_candidateSocket']=_0x460fcd,_0x460fcd;}async[_0x121d26(0x131)](){var _0x5496c1=_0x121d26,_0x47218d,_0x4bd1bf;try{const _0x58c8cc=(_0x4bd1bf=(_0x47218d=this[_0x5496c1(0x3dd)])!=null?_0x47218d:this['_candidateSocket'])!=null?_0x4bd1bf:await this['_createSocket']();if(_0x58c8cc){const _0x284ba3=_0x58c8cc[_0x5496c1(0x2b6)];_0x58c8cc['send']=_0x32cfc4=>(this['_rescheduleHeartbeat'](),_0x284ba3['apply'](_0x58c8cc,[_0x32cfc4])),_0x58c8cc[_0x5496c1(0x13e)]['subscribe'](_0x587dd1=>this[_0x5496c1(0x303)](_0x58c8cc,_0x587dd1)),_0x58c8cc['error$'][_0x5496c1(0x3c2)](_0x31c2a4(0x1))[_0x5496c1(0x11c)](_0x1c76b7=>this[_0x5496c1(0x180)][_0x5496c1(0x118)]('[CollaborationSessionService]:\x20socket\x20error',_0x1c76b7)),_0x58c8cc[_0x5496c1(0x339)][_0x5496c1(0x3c2)](_0x31c2a4(0x1))[_0x5496c1(0x11c)](()=>{var _0x3fa809=_0x5496c1;this[_0x3fa809(0x38f)](_0x58c8cc);}),_0x58c8cc['close$'][_0x5496c1(0x3c2)](_0x31c2a4(0x1))[_0x5496c1(0x11c)](_0x1050aa=>{var _0x51dce2=_0x5496c1;this['_logService'][_0x51dce2(0x11f)](_0x51dce2(0x273),_0x51dce2(0x1b7),_0x1050aa),this['_onConnectionFailed']();});}}catch(_0x35bb7d){this[_0x5496c1(0x180)][_0x5496c1(0x118)](_0x35bb7d),this[_0x5496c1(0x224)]();}}['_onConnectionOpen'](_0x2a5d24){var _0x4d1510=_0x121d26;this['_logService']['debug'](_0x4d1510(0x273),'socket\x20open.'),_0x2a5d24['send']({'cmd':j[_0x4d1510(0x1b4)]}),this[_0x4d1510(0x2eb)]();}[_0x121d26(0x1c9)](){var _0x5a39a0=_0x121d26;this[_0x5a39a0(0x3d7)]=!0x1,this[_0x5a39a0(0x1d1)]=null,this[_0x5a39a0(0x26b)][_0x5a39a0(0x186)](me['OFFLINE']),this[_0x5a39a0(0x36b)]['next'](null),this[_0x5a39a0(0x2c0)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x471063=_0x121d26,_0x18a2e9;this[_0x471063(0x1c9)](),this['_retryCount']<((_0x18a2e9=this[_0x471063(0x282)][_0x471063(0x27b)](Ts))!=null?_0x18a2e9:Os)?(this['_collaborationUIEventService'][_0x471063(0x335)]({'id':re[_0x471063(0x3ff)]}),this[_0x471063(0x1a7)]()):this[_0x471063(0x2a0)][_0x471063(0x335)]({'id':re[_0x471063(0x288)]});}[_0x121d26(0x1a7)](){var _0x229e5f=_0x121d26,_0x35d090;const _0x990ca9=this[_0x229e5f(0x32c)],_0x51eebd=this['_configService']['getConfig'](K),_0x29b79c=_0x990ca9===0x0?0x0:((_0x35d090=_0x51eebd==null?void 0x0:_0x51eebd[_0x229e5f(0x219)])!=null?_0x35d090:gs)*0x2**_0x990ca9;this[_0x229e5f(0x212)]=setTimeout(()=>{var _0x48a409=_0x229e5f;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x48a409(0x131)]();},_0x29b79c),this['_retryCount']+=0x1;}['_onMessage'](_0x567f8d,_0x121ac7){var _0x2eeb06=_0x121d26;const {cmd:_0x4e285c}=_0x121ac7;_0x4e285c===j[_0x2eeb06(0x1b4)]&&!this['_socketReady']&&(_0x567f8d[_0x2eeb06(0x18f)]=_0x121ac7[_0x2eeb06(0x373)][_0x2eeb06(0x18f)],this['_socket$'][_0x2eeb06(0x186)](_0x567f8d),this[_0x2eeb06(0x26b)][_0x2eeb06(0x186)](me[_0x2eeb06(0x350)]),this['_socketReady']=!0x0,this[_0x2eeb06(0x1d1)]=null),_0x4e285c===j[_0x2eeb06(0x397)]&&this[_0x2eeb06(0x2c0)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x41fe40=_0x121d26,_0x2d77d3;this['_clearHeartbeatTimer'](),this[_0x41fe40(0x40d)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x2d77d3=this[_0x41fe40(0x282)][_0x41fe40(0x27b)](Is))!=null?_0x2d77d3:Ss);}[_0x121d26(0x2ba)](){var _0x4d95a5=_0x121d26;this[_0x4d95a5(0x3dd)][_0x4d95a5(0x2b6)]({'cmd':j[_0x4d95a5(0x397)]}),this[_0x4d95a5(0x31f)]();}[_0x121d26(0x31f)](){var _0x525218=_0x121d26,_0x56d1bb;this[_0x525218(0x345)]=setTimeout(()=>this[_0x525218(0x224)](),(_0x56d1bb=this[_0x525218(0x282)][_0x525218(0x27b)](di))!=null?_0x56d1bb:fi);}[_0x121d26(0x1bb)](){var _0x2331c0=_0x121d26;this[_0x2331c0(0x40d)]!=null&&(clearTimeout(this[_0x2331c0(0x40d)]),this[_0x2331c0(0x40d)]=null);}[_0x121d26(0x2c0)](){var _0x42430f=_0x121d26;this[_0x42430f(0x345)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x42430f(0x345)]=null);}};function _0xf0d8(){var _0x1d5010=['UnitSnapshot','resolve','filter','SOCKET_FAILED','createInstance','ClipsheetFragments','REDEMPTION_CODE_FULLY_REDEEMED','__esModule','_throwTelemetryCollaborationNewChangeset','onTransformState','_roomCreated$','finalize','BlockCipherMode','unsubscribe','name','_transformIMECache','onMutationExecutedForCollab','subUnitId','_getLoginPath','ALREADY_EXISTS','LICENSE_MAX_UNITS_EXCEEDED','objectType','YUUMI_AI_RUN_FAILED','LEAVE','Encryptor','random','clear','_collaborationUIEventService','_clearUndo','__Key__','event$','loadDoc','apply','_state$','_registerDependencies','execute','params','INVITE_CODE_ALREADY_BOUND','_localeService','_undoRedoService','JOINING','withCredentials','getMember','_createHandler','_sessionStatus$','_emitMembers','headers','_showConflictNotification','objectID','send','/resources','_process','_syncEditingCollabCursor','_sendHeartbeat','fromCharCode','PAYMENT_CHANNEL_NOT_SUPPORT','executeCommand','8fOdsHw','onLocalMutation','_clearTimeoutTimer','4145dDQMvo','HMAC','FETCH_MISSING','LIVESHARE_OPERATION','url','status','_sendingTimer','USER_IS_ANONYMOUS','Base','_clearRetryConnectingTimer','state$','HttpExport','_telemetryService','collabSubmitChangesetUrl','cmd','Decryptor','Hasher','_event$','NOT_COLLAB','startsWith','461252tlgBHl','online$','asObservable','_commentUpdate$','addImageSourceCache','&assign=','m2Prime','reqId','_onLocalMutation','APPLY_DUPLICATED','saveImage','_sender','method','action','exports','YUUMI_TABLE_NOT_FOUND_IN_UNIT','every','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','OpenSSL','deepClone','NO_OTHER_CLIENTS_EDITING','equals','_rescheduleHeartbeat','_applyRemoteChangeset','Base64','_memberService','_getRedoStack','initWorkbookPermissionChange','/universer-api/uniscript','_initCloseConn','onRemoteRej','registerHTTPInterceptor','ENTITLE_REPORT_LIMIT_EXCEED','getLatestCsReqIdBySid','newCsEvent','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','MSG_FOR_ERROR','code','onlyLocal','INGEST','getRandomValues','c2Prime','__splitChunk__','_scheduleCollaborationTimeoutTimer','_acknowledgedAwaitingChangeset','sessionStatus','_onMessage','onRemoteAck','image/png','includes','getImageSourceCache','_iKey','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','enableSingleActiveInstanceLock','conflict','_transformSelections','_lockTransition','SUCCUSS','_onUserLeave','_transitionLocked','Latin1','_ENC_XFORM_MODE','INVITE_CODE_REQUIRED','getTypeOfUnitAdded$','_maxTotalRetryTimeout','_collaborationPaused','subject','defineProperty','floor','_config','_singleActiveUnitService','_onRemoteChangeset','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PSEUDO_FETCH_MISSING_RESULT','_waitForHeartbeatResponse','actions','CONFLICT','SNAPSHOT_URL_KEY','update','_transformService','unitId\x20is\x20not\x20found','loadUnit','YUUMI_CONNECTOR_URL_NOT_FOUND','signUrlServerUrl','readyForCollab','unknown','enc','_retryCount','_replayCachedMutations','transformMutationsWithChangeset','csAckEvent','image/bmp','session.room-not-exists','x-univer-host','mode','clamp','emitEvent','_change$','_fetchMissChangesets','UNIVER_SHEET','open$','POST','INVALID_ARGUMENT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_invKeySchedule','CHANGESET_SHOULD_RETRY','offline','OPTIONAL','_unlockTransition','getCurrentRevOfUnit','Could\x20not\x20dynamically\x20require\x20\x22','_timeoutTimer','type','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNDEFINED','append','collaboration-client.config','collaMsg','EMAIL_VERIFY_CODE_MISMATCH','localeService','function','&to=','ONLINE','src','_imageSourceCache','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onSyncEditingCollabCursor','body','WordArray','entityInit$','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','HEARTBEAT_INTERVAL','unitID','salt','Univer','unitInfo$','pad','symbol','hasher','_getCtorByUniverType','setConfig','UNIVER_DOC','_disableEditing','\x20in\x20_schedule.','baseRev','[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.','encode','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_socket$','[SyncedState]:\x20received\x20rejection.','getUnitOnRev','COMPRESS_MUTATION_APPLY','USERS_LEAVE','_toggleOffline','enableCollaboration','sin','data','updateCursorEvent','ceil','_doCreateSocket','EMAIL_HAS_BEEN_BOUND','_getSendChangesetTimeout','session.room-full','slice','commentUpdate$','[PendingState]:\x20received\x20rejection.','_hasher','setCurrentUser','_getDownloadEndpointURL','_queuedRemoteChangesets','_checkMissing','permissionRejEvent','dispose','randomBytes','LOGIN_FAILED','ERROR_AGAIN','[CollaborationEntity]','editingUnit','getRoom','charCodeAt','workbook','_shouldReportTelemetry','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onConnectionOpen','reverse','/fetchmissing?from=','putCollaborators','_onFetchMissResult','_transformStateCache','PasswordBasedCipher','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','HEARTBEAT','_members$','onMissingChangesets','hasOwnProperty','shouldCloseConn','_startCollaboration','kdf','cfg','_nDataBytes','reduce','_init','algo','_pendingMutations','leaveEvent','list','_onRecvEvent','_collaborationSessionService','Cipher','/universer-api/user/session-ticket','toString','getUnitStatus$','ENTITLE_NEED_BILLING_ADDRESS','range','COMPRESS_MUTATION_SEND','_entityInit$','?size=','_revisionService','connection\x20error','onRemoteRetry','onCommentUpdate','_onRemoteACK','_data','MUTATION','SNAPSHOT_HAS_BEEN_REMOVED','loadOfflineData','duration','CONNECTOR_DATA_TOO_LARGE','SUBMIT_CHANGESET_TIMEOUT','_userManagerService','LOCAL_CACHE_INTERVAL','find','Error\x20on\x20receiving\x20event','_getUndoStack','pipe','_resendTimeout','close','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_localCacheService','forEach','delete','loginUrlKey','localCacheService','/block/','_parse','href','UNRECOGNIZED','[OfflineState]:\x20received\x20changeset.','_entities','_unitID','getCurrentSelections','saveChangeset','infoRsp','_updateStatus','_type','_socketReady','CHANGESET_REJ','_iv','[OfflineState]:\x20received\x20rejection.','string','_createInitialStateImpl','_socket','createDecryptor','NOT_FOUND','MD5','_oKey','msCrypto','_clearScheduledTask','1225104aAWFwl','prototype','file','OTHER_CLIENT_EDITING','/-/object/list','_listenToNetworkCondition','CURRENT_STATUS_CANNOT_OPERATE','not_collab','REDEMPTION_USER_NOT_ELIGIBLE','PERMISSION_DENIED','HmacSHA1','FAIL','onTransformRemoteChangesetByStateCache','session.room-permission-denied','univer-pro.collaboration-client-socket-service','AUTHORIZE_CODE_ILLEGAL','RECV','ENTITLE_CHAT_LIMIT_EXCEED','NEW_CHANGESETS','min','concat','PY_RUNTIME_SCRIPT_ERROR','\x20-\x20','JOIN','_waitCount','univer-pro.collaboration-client.network-condition.service','origin','SOCKET_FAILED_RETRY','SHA1','setShowComponents','_resendWithTimeout','$super','_snapshotService','onStarting','toggleOffline','getValue','eventID','_hash','_scheduleCompleteTimestamp','USER_NOT_FOUND','rev','_sendHeartbeatTimer','join','TOO_MANY_REQUESTS','Undefined','ciphertext','BlockCipher','/object','revision','_doReset','_sessions','_socketMessageSubscription','DATA_SOURCE_TOO_LARGE','synced','change$','&source=','__creator','hostname','3002027dtYlmr','[OfflineState]:\x20received\x20acknowledgement.','_removeRoom','resourceIDs','snapshotServerUrl','_networkConditionService','USERS_ENTER','getSheetId','dispose$','_state','/universer-api/authz','title','snapshot','LIVESHARE_FETCH_OPERATIONS','UNIVER_SLIDE','3138oFYrhG','_changesetReqId','fetch_missing','_collabSessionService','SYNCED','setWaitCount','191450OVQTtG','LIVESHARE_NEW_HOST','catch','iterations','updateMember','_onCombEvent','unitId','mixIn','_handler','session.join-failed','appendMutation','error','APPLY_PERMISSION_DENIED','transformStack\x20failed!','UNAUTHENTICATED','subscribe','csShouldRetryEvent','StreamCipher','debug','liveShareNewHost','UNIVER_PROJECT','_map','_onJoinRoomEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','interceptor','UNKNOWN_CMD','sigBytes','stopTime','_clearRedo','_redoStacks','getFocusedUnit','getSheetBlock','REDEMPTION_INVALID_CODE','_exhaustRemoteChangesetQueue','state','startTime','_tryEnsureSocket','AWAITING','result','_substituteUndoStack','_updateState','values','SHOULD_CLOSE_CONN','CHANGESET_ACK','loadSheet','fetchMiss','UPDATE_PERMISSION_OBJ','OTHER_CLIENTS_EDITING','\x0aAfter:\x20','message$','[CollaborationUndoRedoService]','/universer-api/stream/file/upload','failed\x20to\x20apply\x20missed\x20changesets!','add','createEncryptor','buffer','getOwnPropertyDescriptor','REDEMPTION_CODE_HAS_BEEN_CREATED','_transformUndoredo','/object/','getResourcesRequest','_schedule','size','PERMISSION_REJ','complete','INVITE_CODE_HAS_BEEN_UES','[PendingState]:\x20received\x20acknowledgement.','_snapshotServerService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','has','_awaitingChangeset','_sheetTransformSelectionsService','_mode','onTransformIME','UNKNOWN_CODE','close$','compose','put','getCollabEntity','substr','_resendTimer','[CollaborationSession]','Failed\x20to\x20update\x20permission\x20point','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ERROR_IMAGE','RETRY_CONNECTING_MAX_COUNT','_collaborationTimeoutTimer','saveSheetBlock','_incrementRevisionNumber','routeKey','_getCurrentRevision','updateOfflineData','collaborators','CipherParams','SNAPSHOT_INVALID_SNAPSHOT','_doCryptBlock','_roomMembers','APPLY_REJECT','unpad','splice','_nRounds','repeat','getUnitId','COMPLETION_FINISHED','UnitEmbedded','fromCollab','_getAPIPrefixPath','MOBILE_VERIFY_CODE_MISMATCH','getCollabEntity$','getMemberID','createSocket','EvpKDF','_initMergeInterceptor','enableOfflineEditing','onStateChange','_logService','_joinRoom','getCurrentUser','_startTelemetryCollaborationNewChangeset','abs','AES','next','session','now','_remoteChangesetQueue','_minBufferSize','GLOBAL_ROOMS_CNT_EXCEEDS','onTransformSelections','_submitChangeset','MOBILE_HAS_BEEN_BOUND','memberID','byteOffset','getTypeOfUnitDisposed$','getActiveSheet','init','members$','_getUploadFileURL','_clearLocalCache','onRemoteChangeset','awaiting','_initRequestHeader','reconnect','batchAllowed','waitForRoom$','_isPermissionRej','lib','entries','collaboratorID','_HTTPService','pending','refreshPermission','key','_onConflict','csRejEvent','_tryReconnect','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','ENTITLE_COUPON_EXPIRED','patch','LICENSE_DISTRO_REJECTED','APPLY_NON_SEQUENTIAL_REVISION','onMissedChangesetFetched','_substituteRedoStack','post','_createHelper','HttpImport','_doFinalize','_instanceService','HELLO','sessionStatus$','_createSocket','socket\x20close','enableAuthServer','/rev/','transformUndoRedo','_clearHeartbeatTimer','listRoles','collaboration_new_changeset','format','getImage','USER_NOT_INVITED_CODE','fetchMissingChangesets','isPermissionRej','onload','keySize','from','byteLength','INVALID_INVITE_CODE','saveSnapshot','_onOffline','resend','getWorkbookSelections','WECHAT_HAS_BEEN_BOUND','charAt','downloadEndpointUrl','ERROR_EXCEED_SIZE','_createHmacHelper','_candidateSocket','c1Prime','IDLE','_telemetryInfo','_members','CLOSE_ROOM','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_NO_CUBOID_FOR_QUESTION','ENTITLE_DUP_SUBSCRIPTION','toggleOnline','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[UniverCollaborationClientPlugin]','_transformRemoteChangesetByIMECache','UNIVER_UNKNOWN','uniscriptRunEvent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','ENTITLE_COUPON_USED_UP','[DataLoaderService]','_replaceFileID','getTime','decryptBlock','JOIN_ROOM_FULL','_keyPriorReset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','push','PERSON','/allowed','_eventService','/collaborator','reject','YUUMI_UNABLE_LOAD_URL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadUnitOfRevision','_univerInstanceService','YUUMI_ASYNCIO_CANCELLED','onSendChangeset','_onRemoteRetry','BASE64','isArray','max','LIVESHARE_TERMINATE','call','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_changesetSessionId','LIVESHARE_REQUEST_HOST','requestParams','_executeRemoteChangeset','compute','getSnapshotAPIPath','YUUMI_ALL_TABLES_IS_INVALID','set','session.room-cnt-exceeds','{fileID}','image/gif','decrypt','_permissionService','LOGIN_TOKEN_PROCESSING_FAILED','_keySchedule','ENTITLE_INSUFFICIENT_QUOTA','changesets','transformChangesets','1587080jRzTvz','sendChangesetTimeout','_getSignURL','_retryConnectingTimer','textRanges','_initUnitPermissionChange','processBlock','roomInfos','onTransformRemoteChangesetByIMECache','_getAPIPrefix','retryConnectingInterval','crypto','removeMember','_prevBlock','JOIN_ROOM_FAILED','members','updatePermissionPoint','unit-cache-','NoPadding','ivSize','Utf8','_onConnectionFailed','JOIN_ROOM_NOT_EXISTS','APPLY_REVISION_CONFILICT','_commandService','_unitInfo$','_key','avatar','/-/object/-/batch_allowed','4taDoQr','_transformStack','editing\x20status\x20changed\x20to','mutations','_initDependencies','joinRsp','FileId','status$','length','_httpService','2614743OZeXHl','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','pluginName','BufferedBlockAlgorithm','get','ENTITLE_INVALID_COUPON_CODE','collabWebSocketUrl','/new_changes','blockSize','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','parse','map','authzUrl','indexOf','_stopTelemetryCollaborationNewChangeset','_handlerCallback','UserProfileImg','REDEMPTION_CODE_INACTIVE','HmacMD5','target','LICENSE_IMPORT_SIZE_EXCEEDED','_compressMutationService','words','REDEMPTION_CODE_NOT_STARTED','requireSession','UPDATE_CURSOR','REDEMPTION_USER_REDEEM_TIMES_EXCEED','joinEvent','DEFAULT_FILE_NAME','socketService','awaitingChangeset','COMMENT_UPDATE','Hex','sid','INTERNAL_ERROR','SUBMIT_CHANGESET','Pkcs7','createCollaborator','_reverseMap','PENDING','transformSelections','fetchThroughInterceptors','JOIN_ROOM_PERMISSION_DENIED','encrypt','/unit/','_injector','_xformMode','objects','_socketService','originalMeta','[CollaborationState]:\x20apply\x20error!','_clearCollaborationTimeoutTimer','selections','_status$','closeSession','reset','stringify','CBC','UNISCRIPT_RUN','extend','roles','[CollaborationSessionService]','clone','LICENSE_EXPORT_SIZE_EXCEEDED','disposeWithMe','_onRemoteRejected','_toggleOnline','create','updateCollaborator','getConfig','_updateLocalCache','SerializableCipher','getUnitType','getInterceptPoints','_decreaseWaiting','_append','_configService','_cipher','OFFLINE'];_0xf0d8=function(){return _0x1d5010;};return _0xf0d8();}Le=zs([Re(0x0,_0x203c15(_0x2c83be)),Re(0x1,_0x25770b),Re(0x2,_0x5d33d6),Re(0x3,Ri),Re(0x4,_0x203c15(ve)),Re(0x5,_0x83b4c2(js))],Le);var Xs=Object[_0x121d26(0x145)],Js=(_0x475ff7,_0x121bf3,_0x5cdc91,_0x58b654)=>{var _0x515351=_0x121d26;for(var _0x18e45f=_0x58b654>0x1?void 0x0:_0x58b654?Xs(_0x121bf3,_0x5cdc91):_0x121bf3,_0x11de1f=_0x475ff7[_0x515351(0x234)]-0x1,_0x3bc752;_0x11de1f>=0x0;_0x11de1f--)(_0x3bc752=_0x475ff7[_0x11de1f])&&(_0x18e45f=_0x3bc752(_0x18e45f)||_0x18e45f);return _0x18e45f;},Be=(_0x466a36,_0x5baa99)=>(_0x477527,_0x5ed4b3)=>_0x5baa99(_0x477527,_0x5ed4b3,_0x466a36);let nt=class extends _0xfba5ec{constructor(_0x2149f4,_0xbf46b5,_0x585ad6,_0xcd16db){var _0x2fed23=_0x121d26,_0x5bec2b;super(),D(this,_0x2fed23(0x3d0),new Map()),D(this,_0x2fed23(0x3af),new _0x545a47()),D(this,_0x2fed23(0x357),this[_0x2fed23(0x3af)][_0x2fed23(0x2d7)]()),(this[_0x2fed23(0x263)]=_0x2149f4,this[_0x2fed23(0x430)]=_0xbf46b5,this[_0x2fed23(0x282)]=_0x585ad6,this['_univerInstanceService']=_0xcd16db,((_0x5bec2b=this[_0x2fed23(0x282)][_0x2fed23(0x27b)](K))==null?void 0x0:_0x5bec2b[_0x2fed23(0x371)])!==!0x1&&this[_0x2fed23(0x3a1)]());}[_0x121d26(0x383)](){var _0x15db9e=_0x121d26;super[_0x15db9e(0x383)](),this[_0x15db9e(0x3d0)][_0x15db9e(0x3c7)](_0x42bda5=>_0x42bda5[_0x15db9e(0x383)]()),this[_0x15db9e(0x3d0)][_0x15db9e(0x29f)]();}[_0x121d26(0x15b)](_0x1ff808){var _0x146c01=_0x121d26,_0x20bd3f;return(_0x20bd3f=this[_0x146c01(0x3d0)][_0x146c01(0x23a)](_0x1ff808))!=null?_0x20bd3f:null;}[_0x121d26(0x179)](_0x53a566){var _0x509d84=_0x121d26;const _0x4ca32d=this[_0x509d84(0x15b)](_0x53a566);return _0x4ca32d?_0x2d1e9e(_0x4ca32d):this[_0x509d84(0x3af)][_0x509d84(0x3c2)](_0x522f25(_0x15b27a=>_0x15b27a[_0x509d84(0x35a)]===_0x53a566));}[_0x121d26(0x329)](_0xce162d){var _0x10fe01=_0x121d26;return _0x1cda92(this[_0x10fe01(0x179)](_0xce162d)[_0x10fe01(0x3c2)](_0x28f923(()=>{})));}[_0x121d26(0x3a1)](){var _0x8935d6=_0x121d26;this[_0x8935d6(0x1f3)]['getTypeOfUnitAdded$'](_0x43f769[_0x8935d6(0x338)])['pipe'](_0x5d5768(this[_0x8935d6(0x426)]),_0x440490(0x10))[_0x8935d6(0x11c)](async _0x25dfbe=>{var _0xf847b2=_0x8935d6;const _0x4618df=_0x25dfbe[_0xf847b2(0x173)](),_0x51e535=await this['_startCollaboration'](_0x4618df,Q['UNIVER_SHEET']);this['_entities'][_0xf847b2(0x204)](_0x4618df,_0x51e535);}),this[_0x8935d6(0x1f3)]['getTypeOfUnitAdded$'](_0x43f769[_0x8935d6(0x363)])[_0x8935d6(0x3c2)](_0x5d5768(this[_0x8935d6(0x426)]),_0x440490(0x10))[_0x8935d6(0x3c2)](_0x522f25(_0x537dea=>!_0x537dea['getUnitId']()[_0x8935d6(0x2d4)]('__')))[_0x8935d6(0x11c)](async _0x5948d2=>{var _0x3c573e=_0x8935d6;const _0x594cab=_0x5948d2[_0x3c573e(0x173)](),_0x1a8858=await this[_0x3c573e(0x39c)](_0x594cab,Q['UNIVER_DOC']);this['_entities'][_0x3c573e(0x204)](_0x594cab,_0x1a8858);}),_0x3f0397(this[_0x8935d6(0x1f3)][_0x8935d6(0x191)](_0x43f769['UNIVER_SHEET']),this[_0x8935d6(0x1f3)][_0x8935d6(0x191)](_0x43f769[_0x8935d6(0x363)]))['pipe'](_0x5d5768(this[_0x8935d6(0x426)]))[_0x8935d6(0x11c)](_0x20986f=>{var _0x1d7095=_0x8935d6;const _0x25d02a=_0x20986f[_0x1d7095(0x173)](),_0x228e38=this[_0x1d7095(0x3d0)][_0x1d7095(0x23a)](_0x25d02a);_0x228e38&&(_0x228e38[_0x1d7095(0x383)](),this['_entities'][_0x1d7095(0x3c8)](_0x25d02a));});}async[_0x121d26(0x39c)](_0x3fdc2a,_0x4d0d22){var _0x495172=_0x121d26;const _0xfd3603=await this[_0x495172(0x430)][_0x495172(0x24e)](_0x3fdc2a),_0x2e7f88=this['_injector']['createInstance'](this[_0x495172(0x361)](_0x4d0d22),_0x3fdc2a,_0x4d0d22,_0xfd3603);return await _0x2e7f88[_0x495172(0x193)](),this[_0x495172(0x3af)][_0x495172(0x186)](_0x2e7f88),_0x2e7f88;}[_0x121d26(0x361)](_0x3ae8f3){var _0x53c9b0=_0x121d26;switch(_0x3ae8f3){case Q[_0x53c9b0(0x363)]:return It;case Q[_0x53c9b0(0x338)]:return St;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3ae8f3);}}};nt=Js([Be(0x0,_0x203c15(_0x2c83be)),Be(0x1,_0x203c15(Le)),Be(0x2,_0x5d33d6),Be(0x3,_0x3b6c0b)],nt);var Zs=Object[_0x121d26(0x145)],Qs=(_0x4efadb,_0xc3a214,_0x4fb4bb,_0x30e1a4)=>{for(var _0x88dea1=_0x30e1a4>0x1?void 0x0:_0x30e1a4?Zs(_0xc3a214,_0x4fb4bb):_0xc3a214,_0x280e77=_0x4efadb['length']-0x1,_0x47dd7b;_0x280e77>=0x0;_0x280e77--)(_0x47dd7b=_0x4efadb[_0x280e77])&&(_0x88dea1=_0x47dd7b(_0x88dea1)||_0x88dea1);return _0x88dea1;},Wt=(_0x5ebb5d,_0x4ec1bc)=>(_0xf45fd8,_0x280a53)=>_0x4ec1bc(_0xf45fd8,_0x280a53,_0x5ebb5d);const en=_0x121d26(0x252),tn=_0x121d26(0x35c);let gt=class extends _0x1b6c53{constructor(_0x3bd3aa,_0x1d34dd){var _0x5e6439=_0x121d26;super(),this[_0x5e6439(0x1f3)]=_0x3bd3aa,this['_configService']=_0x1d34dd,this['_init']();}[_0x121d26(0x3a1)](){var _0x58109d=_0x121d26;this[_0x58109d(0x276)](this['_univerInstanceService']['focused$'][_0x58109d(0x11c)](()=>{var _0x533999=_0x58109d,_0x2c76e7;const _0xa645e7=this['_univerInstanceService'][_0x533999(0x12b)]();let _0x49f884=(_0x2c76e7=this[_0x533999(0x282)][_0x533999(0x27b)](en))!=null?_0x2c76e7:tn;_0xa645e7 instanceof _0x233c9e&&(_0x49f884=_0xa645e7[_0x533999(0x293)]),document[_0x533999(0x429)]=_0x49f884;}));}};gt=Qs([Wt(0x0,_0x3b6c0b),Wt(0x1,_0x5d33d6)],gt);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x2c322c,_0x420fea,_0x316eda,_0xb7c80)=>{var _0x246ac1=_0x121d26;for(var _0x1e7408=_0xb7c80>0x1?void 0x0:_0xb7c80?sn(_0x420fea,_0x316eda):_0x420fea,_0x3ee13d=_0x2c322c[_0x246ac1(0x234)]-0x1,_0x5e1288;_0x3ee13d>=0x0;_0x3ee13d--)(_0x5e1288=_0x2c322c[_0x3ee13d])&&(_0x1e7408=_0x5e1288(_0x1e7408)||_0x1e7408);return _0x1e7408;},dt=(_0x3dba50,_0x582df8)=>(_0x34d235,_0x145084)=>_0x582df8(_0x34d235,_0x145084,_0x3dba50);let rt=class{constructor(_0x1cb94d,_0x157eb0,_0x127b3e){var _0xade49c=_0x121d26;this[_0xade49c(0x282)]=_0x1cb94d,this[_0xade49c(0x235)]=_0x157eb0,this[_0xade49c(0x34d)]=_0x127b3e,this[_0xade49c(0x193)]();}[_0x121d26(0x193)](){var _0x512172=_0x121d26;this[_0x512172(0x235)][_0x512172(0x2f4)]({'priority':0x1,'interceptor':(_0xc342a1,_0x4d7d7c)=>_0x4d7d7c(_0xc342a1)['pipe'](_0xb2d54d(async _0x2c5470=>{var _0x287067=_0x512172;const _0x32bf23=_0x2c5470;if(_0x32bf23[_0x287067(0x2c6)]===0x191){if(typeof window>'u')throw new Error(_0x287067(0x1e0));if(window['confirm'](this[_0x287067(0x34d)]['t']('auth.needGotoLoginAlert'))){const _0x3aed96=window['encodeURIComponent'](window['location'][_0x287067(0x3cd)]);window['location'][_0x287067(0x3cd)]=this[_0x287067(0x297)]()+'?url='+_0x3aed96;}}return _0x32bf23;}))});}[_0x121d26(0x297)](){var _0xaeb60b=_0x121d26,_0x5c2942;const _0x3ae6e0=this['_configService'][_0xaeb60b(0x27b)](K);return(_0x5c2942=_0x3ae6e0==null?void 0x0:_0x3ae6e0[_0xaeb60b(0x3c9)])!=null?_0x5c2942:Ns;}};rt=nn([dt(0x0,_0x5d33d6),dt(0x1,_0x203c15(_0x1a7bf7)),dt(0x2,_0x203c15(_0x3dd6d6))],rt);var rn=Object[_0x121d26(0x145)],an=(_0x20fa73,_0x384b83,_0x50aef3,_0x53438a)=>{var _0x5823a9=_0x121d26;for(var _0x376582=_0x53438a>0x1?void 0x0:_0x53438a?rn(_0x384b83,_0x50aef3):_0x384b83,_0x80830f=_0x20fa73[_0x5823a9(0x234)]-0x1,_0xbfc937;_0x80830f>=0x0;_0x80830f--)(_0xbfc937=_0x20fa73[_0x80830f])&&(_0x376582=_0xbfc937(_0x376582)||_0x376582);return _0x376582;},Yt=(_0x4f355a,_0xa2ff81)=>(_0xb3ccd,_0x3c6f60)=>_0xa2ff81(_0xb3ccd,_0x3c6f60,_0x4f355a);const on=_0x121d26(0x428);let Tt=class extends _0x1b6c53{constructor(_0x60d660,_0x3b2c5b){var _0x46fe04=_0x121d26;super(),this[_0x46fe04(0x1a1)]=_0x60d660,this[_0x46fe04(0x282)]=_0x3b2c5b,this[_0x46fe04(0x17d)]();}[_0x121d26(0x17d)](){var _0x5d1b33=_0x121d26;const _0x5742cf=this;this[_0x5d1b33(0x276)](this[_0x5d1b33(0x1a1)][_0x5d1b33(0x2f4)]({'priority':0x3e7,'interceptor':_0xc364ad({'isMatch'(_0x474dbf){var _0x3aac13=_0x5d1b33,_0x500f87;if(_0x474dbf[_0x3aac13(0x2e1)]==='POST'&&((_0x500f87=_0x474dbf[_0x3aac13(0x1ff)])!=null&&_0x500f87[_0x3aac13(0x355)])){const {objectID:_0x3944ea,objectType:_0x298b3f}=_0x474dbf[_0x3aac13(0x1ff)][_0x3aac13(0x355)]||{};if(!_0x3944ea||_0x298b3f===void 0x0)return!0x1;const _0x2bd135=_0x5742cf['_getAPIPrefixPath']()+'/'+_0x298b3f+_0x3aac13(0x148)+_0x3944ea+_0x3aac13(0x1ec);if(_0x474dbf[_0x3aac13(0x2c5)]===_0x2bd135)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5e39bd){var _0x23fbbd=_0x5d1b33,_0x168ec5;return(_0x168ec5=_0x5e39bd['requestParams'])==null?void 0x0:_0x168ec5[_0x23fbbd(0x355)];},'mergeParamsToRequest'(_0x5cd15a,_0x569acc){var _0x329697=_0x5d1b33;const _0x49c397=_0x5742cf['_getAPIPrefixPath']()+_0x329697(0x22b),_0x3ac132=_0x5cd15a[_0x329697(0x3a0)]((_0x2c0710,_0x551f8f)=>{var _0x12fbfe=_0x329697;const {unitID:_0x30c35f,objectID:_0x195822,objectType:_0x5733f2,actions:_0x956320}=_0x551f8f;return _0x2c0710[_0x30c35f]||(_0x2c0710[_0x30c35f]={}),_0x2c0710[_0x30c35f][_0x195822]||(_0x2c0710[_0x30c35f][_0x195822]={'objectID':_0x195822,'objectType':_0x5733f2,'actions':[]}),_0x2c0710[_0x30c35f][_0x195822][_0x12fbfe(0x320)][_0x12fbfe(0x1ea)](..._0x956320),_0x2c0710;},{}),_0x5f0b64=[];for(const _0x3e77b5 in _0x3ac132)for(const _0x57f040 in _0x3ac132[_0x3e77b5]){const {actions:_0xa454ae,objectType:_0x19e32a}=_0x3ac132[_0x3e77b5][_0x57f040],_0x20b8fa=[...new Set(_0xa454ae)];_0x5f0b64['push']({'unitID':_0x3e77b5,'objectID':_0x57f040,'objectType':_0x19e32a,'actions':_0x20b8fa});}return new _0x25d3de(_0x329697(0x33a),_0x49c397,{'headers':_0x569acc[_0x329697(0x2b3)],'withCredentials':_0x569acc[_0x329697(0x2ae)],'responseType':_0x569acc['responseType'],'body':{'requests':_0x5f0b64}});}},{'distributeResult'(_0x44cbcd,_0x1a1c02){var _0x5d15d3=_0x5d1b33;const {objectActions:_0x493dd5}=_0x44cbcd;return _0x1a1c02[_0x5d15d3(0x241)](_0x3d9091=>{var _0x39bf92=_0x5d15d3;const {unitID:_0x92b43b,objectID:_0x406b0f,actions:_0x106c5c}=_0x3d9091,_0x5e588c=_0x493dd5[_0x39bf92(0x3bf)](_0xf7e913=>_0xf7e913[_0x39bf92(0x35a)]===_0x92b43b&&_0xf7e913[_0x39bf92(0x2b5)]===_0x406b0f),_0x9537f3=_0x106c5c[_0x39bf92(0x241)](_0xcd45e5=>_0x5e588c==null?void 0x0:_0x5e588c['actions'][_0x39bf92(0x3bf)](_0x4f9102=>_0x4f9102[_0x39bf92(0x2e2)]===_0xcd45e5))[_0x39bf92(0x287)](_0xf243f4=>!!_0xf243f4);return{'config':_0x3d9091,'result':{'actions':_0x9537f3,'error':_0x44cbcd[_0x39bf92(0x118)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4aa97f=_0x121d26,_0x578c44;const _0x54cba6=this[_0x4aa97f(0x282)][_0x4aa97f(0x27b)](K);return(_0x578c44=_0x54cba6==null?void 0x0:_0x54cba6[_0x4aa97f(0x242)])!=null?_0x578c44:on;}async[_0x121d26(0x279)](_0x243ea5){var _0x5e1033=_0x121d26;const _0x284fce=this[_0x5e1033(0x177)]()+'/'+_0x243ea5[_0x5e1033(0x29a)]+_0x5e1033(0x413);return(await this[_0x5e1033(0x1a1)][_0x5e1033(0x1af)](_0x284fce,{'body':_0x243ea5}))[_0x5e1033(0x355)][_0x5e1033(0x2b5)]||'';}async['list'](_0x33dbb6){var _0x167e52=_0x121d26;const _0x2ee21c=this[_0x167e52(0x177)]()+_0x167e52(0x3e8);return(await this['_HTTPService'][_0x167e52(0x1af)](_0x2ee21c,{'body':_0x33dbb6}))['body'][_0x167e52(0x265)];}async[_0x121d26(0x323)](_0x39dbca){var _0x49b9f8=_0x121d26,_0x58d3ab,_0xdd8ac9;const _0x3806c9=this['_getAPIPrefixPath']()+'/'+_0x39dbca['objectType']+'/object/'+_0x39dbca[_0x49b9f8(0x2b5)],_0x554de4=await this['_HTTPService']['put'](_0x3806c9,{'body':_0x39dbca});if(((_0xdd8ac9=(_0x58d3ab=_0x554de4==null?void 0x0:_0x554de4['body'])==null?void 0x0:_0x58d3ab[_0x49b9f8(0x118)])==null?void 0x0:_0xdd8ac9[_0x49b9f8(0x2fa)])!==0x1)throw new Error(_0x49b9f8(0x15f));}async['allowed'](_0x4baf06){var _0x230a9b=_0x121d26;const _0x5df243=this[_0x230a9b(0x177)]()+'/'+_0x4baf06[_0x230a9b(0x29a)]+'/object/'+_0x4baf06[_0x230a9b(0x2b5)]+'/allowed';return(await this[_0x230a9b(0x1a1)][_0x230a9b(0x1af)](_0x5df243,{'body':_0x4baf06}))[_0x230a9b(0x355)][_0x230a9b(0x320)];}async[_0x121d26(0x19b)](_0x1792ec){var _0x512266=_0x121d26;const _0x9ffc05=this[_0x512266(0x177)]()+_0x512266(0x22b);return(await this[_0x512266(0x1a1)][_0x512266(0x1af)](_0x9ffc05,{'body':{'requests':_0x1792ec}}))[_0x512266(0x355)]['objectActions'];}async[_0x121d26(0x1bc)](_0x5b9ba0){var _0xfa3c6f=_0x121d26;const _0x3437f1=this[_0xfa3c6f(0x177)]()+'/'+_0x5b9ba0['objectType']+'/role',_0xdaafaf=await this[_0xfa3c6f(0x1a1)][_0xfa3c6f(0x1af)](_0x3437f1,{'body':_0x5b9ba0});return{'roles':_0xdaafaf['body'][_0xfa3c6f(0x272)],'actions':_0xdaafaf['body'][_0xfa3c6f(0x320)]};}async['deleteCollaborator'](_0xe38d87){var _0x48df99=_0x121d26;const _0x369e9a=this['_getAPIPrefixPath']()+_0x48df99(0x1ee);await this[_0x48df99(0x1a1)][_0x48df99(0x3c8)](_0x369e9a,{'params':{'collaboratorID':_0xe38d87[_0x48df99(0x1a0)],'objectID':_0xe38d87[_0x48df99(0x2b5)],'unitID':_0xe38d87[_0x48df99(0x35a)]}});}async[_0x121d26(0x27a)](_0x806ec6){var _0x3f686e=_0x121d26;const _0x389e54=this[_0x3f686e(0x177)]()+_0x3f686e(0x1ee);await this[_0x3f686e(0x1a1)][_0x3f686e(0x1aa)](_0x389e54,{'body':_0x806ec6});}async[_0x121d26(0x25b)](_0x38afef){var _0x1171d1=_0x121d26;const _0x29d3c7=this[_0x1171d1(0x177)]()+'/collaborator';await this[_0x1171d1(0x1a1)]['post'](_0x29d3c7,{'body':_0x38afef});}async['listCollaborators'](_0x1f86ac){var _0x38535e=_0x121d26;const _0x497bec=this[_0x38535e(0x177)]()+_0x38535e(0x1ee);return(await this['_HTTPService'][_0x38535e(0x23a)](_0x497bec,{'params':{'objectID':_0x1f86ac[_0x38535e(0x2b5)],'unitID':_0x1f86ac[_0x38535e(0x35a)]}}))[_0x38535e(0x355)][_0x38535e(0x169)];}async[_0x121d26(0x392)](_0x4826af){var _0xbb3958=_0x121d26;const _0x3537f1=this[_0xbb3958(0x177)]()+_0xbb3958(0x1ee);await this[_0xbb3958(0x1a1)][_0xbb3958(0x15a)](_0x3537f1,{'body':_0x4826af});}};Tt=an([Yt(0x0,_0x203c15(_0x1a7bf7)),Yt(0x1,_0x203c15(_0x5d33d6))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x17ba58){var _0xb7663c=_0x121d26;return _0x17ba58&&_0x17ba58[_0xb7663c(0x28c)]&&Object[_0xb7663c(0x3e5)][_0xb7663c(0x39a)]['call'](_0x17ba58,'default')?_0x17ba58['default']:_0x17ba58;}var Ve={'exports':{}};function cn(_0x14838b){var _0x172ba3=_0x121d26;throw new Error(_0x172ba3(0x344)+_0x14838b+_0x172ba3(0x396));}var Ge={'exports':{}},_n=Ge[_0x121d26(0x2e3)],Kt;function ie(){var _0xbcfb67=_0x121d26;return Kt||(Kt=0x1,function(_0x1ab4b8,_0x3a7504){(function(_0x43a4f3,_0x2e20c1){var _0xe96e27=_0x21ef;_0x1ab4b8[_0xe96e27(0x2e3)]=_0x2e20c1();}(_n,function(){var _0x5c367a=_0x5c367a||function(_0x3ef2d4,_0x16de37){var _0x272bd7=_0x21ef,_0xc6e291;if(typeof window<'u'&&window[_0x272bd7(0x21a)]&&(_0xc6e291=window[_0x272bd7(0x21a)]),typeof self<'u'&&self[_0x272bd7(0x21a)]&&(_0xc6e291=self[_0x272bd7(0x21a)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0xc6e291=globalThis[_0x272bd7(0x21a)]),!_0xc6e291&&typeof window<'u'&&window[_0x272bd7(0x3e2)]&&(_0xc6e291=window[_0x272bd7(0x3e2)]),!_0xc6e291&&typeof ft<'u'&&ft['crypto']&&(_0xc6e291=ft[_0x272bd7(0x21a)]),!_0xc6e291&&typeof cn==_0x272bd7(0x34e))try{_0xc6e291=require('crypto');}catch{}var _0x4bbc2c=function(){var _0x123bda=_0x272bd7;if(_0xc6e291){if(typeof _0xc6e291[_0x123bda(0x2fd)]=='function')try{return _0xc6e291[_0x123bda(0x2fd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xc6e291[_0x123bda(0x384)]==_0x123bda(0x34e))try{return _0xc6e291[_0x123bda(0x384)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x123bda(0x2e6));},_0x2c0b9e=Object[_0x272bd7(0x279)]||(function(){function _0x57a94a(){}return function(_0x4f7eeb){var _0x553ac5=_0x21ef,_0x3f3980;return _0x57a94a[_0x553ac5(0x3e5)]=_0x4f7eeb,_0x3f3980=new _0x57a94a(),_0x57a94a[_0x553ac5(0x3e5)]=null,_0x3f3980;};}()),_0xb8ccea={},_0xc89eee=_0xb8ccea['lib']={},_0x42ddef=_0xc89eee[_0x272bd7(0x2c9)]=(function(){return{'extend':function(_0x5ea6fc){var _0x5d32bd=_0x21ef,_0x57d188=_0x2c0b9e(this);return _0x5ea6fc&&_0x57d188['mixIn'](_0x5ea6fc),(!_0x57d188[_0x5d32bd(0x39a)]('init')||this[_0x5d32bd(0x193)]===_0x57d188['init'])&&(_0x57d188['init']=function(){var _0x37287b=_0x5d32bd;_0x57d188[_0x37287b(0x403)]['init'][_0x37287b(0x2a5)](this,arguments);}),_0x57d188['init'][_0x5d32bd(0x3e5)]=_0x57d188,_0x57d188[_0x5d32bd(0x403)]=this,_0x57d188;},'create':function(){var _0x38effb=_0x21ef,_0x28a63c=this[_0x38effb(0x271)]();return _0x28a63c[_0x38effb(0x193)][_0x38effb(0x2a5)](_0x28a63c,arguments),_0x28a63c;},'init':function(){},'mixIn':function(_0x327241){var _0x39a8a1=_0x21ef;for(var _0x4f880a in _0x327241)_0x327241[_0x39a8a1(0x39a)](_0x4f880a)&&(this[_0x4f880a]=_0x327241[_0x4f880a]);_0x327241[_0x39a8a1(0x39a)](_0x39a8a1(0x3aa))&&(this[_0x39a8a1(0x3aa)]=_0x327241['toString']);},'clone':function(){var _0x4f98e2=_0x21ef;return this[_0x4f98e2(0x193)][_0x4f98e2(0x3e5)]['extend'](this);}};}()),_0x2da9fe=_0xc89eee[_0x272bd7(0x356)]=_0x42ddef[_0x272bd7(0x271)]({'init':function(_0x5de3d8,_0x26afc7){var _0x48254e=_0x272bd7;_0x5de3d8=this['words']=_0x5de3d8||[],_0x26afc7!=_0x16de37?this['sigBytes']=_0x26afc7:this[_0x48254e(0x127)]=_0x5de3d8['length']*0x4;},'toString':function(_0x1efc60){return(_0x1efc60||_0x4d9d31)['stringify'](this);},'concat':function(_0x5453d4){var _0x368c3c=_0x272bd7,_0xa0d8b1=this[_0x368c3c(0x24c)],_0xe61559=_0x5453d4[_0x368c3c(0x24c)],_0x109151=this[_0x368c3c(0x127)],_0x7be8b7=_0x5453d4[_0x368c3c(0x127)];if(this['clamp'](),_0x109151%0x4)for(var _0x4fe58b=0x0;_0x4fe58b<_0x7be8b7;_0x4fe58b++){var _0x62fbe0=_0xe61559[_0x4fe58b>>>0x2]>>>0x18-_0x4fe58b%0x4*0x8&0xff;_0xa0d8b1[_0x109151+_0x4fe58b>>>0x2]|=_0x62fbe0<<0x18-(_0x109151+_0x4fe58b)%0x4*0x8;}else{for(var _0x272bf1=0x0;_0x272bf1<_0x7be8b7;_0x272bf1+=0x4)_0xa0d8b1[_0x109151+_0x272bf1>>>0x2]=_0xe61559[_0x272bf1>>>0x2];}return this['sigBytes']+=_0x7be8b7,this;},'clamp':function(){var _0x4bc9f2=_0x272bd7,_0x13dab5=this[_0x4bc9f2(0x24c)],_0x484b90=this['sigBytes'];_0x13dab5[_0x484b90>>>0x2]&=0xffffffff<<0x20-_0x484b90%0x4*0x8,_0x13dab5['length']=_0x3ef2d4[_0x4bc9f2(0x375)](_0x484b90/0x4);},'clone':function(){var _0x287907=_0x272bd7,_0x2409e6=_0x42ddef[_0x287907(0x274)][_0x287907(0x1fb)](this);return _0x2409e6['words']=this[_0x287907(0x24c)][_0x287907(0x37a)](0x0),_0x2409e6;},'random':function(_0x4793bf){var _0x364e31=_0x272bd7;for(var _0x5f385e=[],_0x7108fb=0x0;_0x7108fb<_0x4793bf;_0x7108fb+=0x4)_0x5f385e[_0x364e31(0x1ea)](_0x4bbc2c());return new _0x2da9fe[(_0x364e31(0x193))](_0x5f385e,_0x4793bf);}}),_0xb9a0f6=_0xb8ccea['enc']={},_0x4d9d31=_0xb9a0f6[_0x272bd7(0x256)]={'stringify':function(_0x31fa25){var _0x241a5b=_0x272bd7;for(var _0x4ae875=_0x31fa25['words'],_0x2a6777=_0x31fa25[_0x241a5b(0x127)],_0x5c1a03=[],_0x2b5515=0x0;_0x2b5515<_0x2a6777;_0x2b5515++){var _0xa692a4=_0x4ae875[_0x2b5515>>>0x2]>>>0x18-_0x2b5515%0x4*0x8&0xff;_0x5c1a03[_0x241a5b(0x1ea)]((_0xa692a4>>>0x4)[_0x241a5b(0x3aa)](0x10)),_0x5c1a03[_0x241a5b(0x1ea)]((_0xa692a4&0xf)[_0x241a5b(0x3aa)](0x10));}return _0x5c1a03[_0x241a5b(0x40e)]('');},'parse':function(_0x185b81){var _0x4a178a=_0x272bd7;for(var _0x3a9721=_0x185b81['length'],_0xdc3c5b=[],_0x2739e5=0x0;_0x2739e5<_0x3a9721;_0x2739e5+=0x2)_0xdc3c5b[_0x2739e5>>>0x3]|=parseInt(_0x185b81[_0x4a178a(0x15c)](_0x2739e5,0x2),0x10)<<0x18-_0x2739e5%0x8*0x4;return new _0x2da9fe[(_0x4a178a(0x193))](_0xdc3c5b,_0x3a9721/0x2);}},_0x57af9e=_0xb9a0f6[_0x272bd7(0x311)]={'stringify':function(_0x593899){var _0x247a71=_0x272bd7;for(var _0x206bf4=_0x593899[_0x247a71(0x24c)],_0x4cedb1=_0x593899[_0x247a71(0x127)],_0x17a15b=[],_0x3ebb19=0x0;_0x3ebb19<_0x4cedb1;_0x3ebb19++){var _0x47009c=_0x206bf4[_0x3ebb19>>>0x2]>>>0x18-_0x3ebb19%0x4*0x8&0xff;_0x17a15b[_0x247a71(0x1ea)](String[_0x247a71(0x2bb)](_0x47009c));}return _0x17a15b['join']('');},'parse':function(_0x498dae){var _0x48c60f=_0x272bd7;for(var _0x3693d7=_0x498dae[_0x48c60f(0x234)],_0x40c5b6=[],_0x1bc60a=0x0;_0x1bc60a<_0x3693d7;_0x1bc60a++)_0x40c5b6[_0x1bc60a>>>0x2]|=(_0x498dae[_0x48c60f(0x38a)](_0x1bc60a)&0xff)<<0x18-_0x1bc60a%0x4*0x8;return new _0x2da9fe[(_0x48c60f(0x193))](_0x40c5b6,_0x3693d7);}},_0x350404=_0xb9a0f6[_0x272bd7(0x223)]={'stringify':function(_0x2d995a){var _0x3d5e10=_0x272bd7;try{return decodeURIComponent(escape(_0x57af9e[_0x3d5e10(0x26e)](_0x2d995a)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x266d81){var _0x532f3e=_0x272bd7;return _0x57af9e[_0x532f3e(0x240)](unescape(encodeURIComponent(_0x266d81)));}},_0x3299d7=_0xc89eee[_0x272bd7(0x239)]=_0x42ddef['extend']({'reset':function(){var _0x309bbc=_0x272bd7;this[_0x309bbc(0x3b6)]=new _0x2da9fe['init'](),this[_0x309bbc(0x39f)]=0x0;},'_append':function(_0x5b1aef){var _0x1e7f1f=_0x272bd7;typeof _0x5b1aef==_0x1e7f1f(0x3db)&&(_0x5b1aef=_0x350404[_0x1e7f1f(0x240)](_0x5b1aef)),this['_data'][_0x1e7f1f(0x3f8)](_0x5b1aef),this[_0x1e7f1f(0x39f)]+=_0x5b1aef['sigBytes'];},'_process':function(_0x28438f){var _0x4923a3=_0x272bd7,_0x1e5222,_0x412a3b=this[_0x4923a3(0x3b6)],_0x5d5656=_0x412a3b[_0x4923a3(0x24c)],_0x32ea32=_0x412a3b[_0x4923a3(0x127)],_0x50ddf3=this[_0x4923a3(0x23e)],_0x46abff=_0x50ddf3*0x4,_0x7c46fa=_0x32ea32/_0x46abff;_0x28438f?_0x7c46fa=_0x3ef2d4['ceil'](_0x7c46fa):_0x7c46fa=_0x3ef2d4[_0x4923a3(0x1f9)]((_0x7c46fa|0x0)-this['_minBufferSize'],0x0);var _0x9d46f9=_0x7c46fa*_0x50ddf3,_0x32f727=_0x3ef2d4[_0x4923a3(0x3f7)](_0x9d46f9*0x4,_0x32ea32);if(_0x9d46f9){for(var _0x9bacc=0x0;_0x9bacc<_0x9d46f9;_0x9bacc+=_0x50ddf3)this['_doProcessBlock'](_0x5d5656,_0x9bacc);_0x1e5222=_0x5d5656[_0x4923a3(0x170)](0x0,_0x9d46f9),_0x412a3b['sigBytes']-=_0x32f727;}return new _0x2da9fe[(_0x4923a3(0x193))](_0x1e5222,_0x32f727);},'clone':function(){var _0x548ded=_0x272bd7,_0x36e313=_0x42ddef[_0x548ded(0x274)]['call'](this);return _0x36e313[_0x548ded(0x3b6)]=this[_0x548ded(0x3b6)][_0x548ded(0x274)](),_0x36e313;},'_minBufferSize':0x0});_0xc89eee[_0x272bd7(0x2d1)]=_0x3299d7[_0x272bd7(0x271)]({'cfg':_0x42ddef[_0x272bd7(0x271)](),'init':function(_0x3cddd1){var _0x55e62f=_0x272bd7;this[_0x55e62f(0x39e)]=this[_0x55e62f(0x39e)][_0x55e62f(0x271)](_0x3cddd1),this[_0x55e62f(0x26d)]();},'reset':function(){var _0x2cccdf=_0x272bd7;_0x3299d7[_0x2cccdf(0x26d)][_0x2cccdf(0x1fb)](this),this[_0x2cccdf(0x415)]();},'update':function(_0x436397){var _0xfdb23e=_0x272bd7;return this[_0xfdb23e(0x281)](_0x436397),this[_0xfdb23e(0x2b8)](),this;},'finalize':function(_0x35c41a){var _0xd9aa12=_0x272bd7;_0x35c41a&&this[_0xd9aa12(0x281)](_0x35c41a);var _0x3b5c59=this[_0xd9aa12(0x1b2)]();return _0x3b5c59;},'blockSize':0x10,'_createHelper':function(_0x219c32){return function(_0x5f2d70,_0x595fda){var _0x2d2632=_0x21ef;return new _0x219c32[(_0x2d2632(0x193))](_0x595fda)[_0x2d2632(0x290)](_0x5f2d70);};},'_createHmacHelper':function(_0x96e5c5){return function(_0x57c781,_0x551136){var _0x1fa3a1=_0x21ef;return new _0x43b79a[(_0x1fa3a1(0x2c2))][(_0x1fa3a1(0x193))](_0x96e5c5,_0x551136)['finalize'](_0x57c781);};}});var _0x43b79a=_0xb8ccea[_0x272bd7(0x3a2)]={};return _0xb8ccea;}(Math);return _0x5c367a;}));}(Ge)),Ge[_0xbcfb67(0x2e3)];}var We={'exports':{}},hn=We[_0x121d26(0x2e3)],qt;function Ni(){var _0x1ff25b=_0x121d26;return qt||(qt=0x1,function(_0x2a05e8,_0x514403){(function(_0x5e29f8,_0x590ee1){_0x2a05e8['exports']=_0x590ee1(ie());}(hn,function(_0xeb5dbb){var _0x4383d4=_0x21ef;return(function(){var _0x5dadbf=_0x21ef,_0x5e8037=_0xeb5dbb,_0x213dd5=_0x5e8037[_0x5dadbf(0x19e)],_0x294660=_0x213dd5[_0x5dadbf(0x356)],_0x3a07ea=_0x5e8037[_0x5dadbf(0x32b)];_0x3a07ea['Base64']={'stringify':function(_0x26622d){var _0xece4ab=_0x5dadbf,_0x388ef0=_0x26622d[_0xece4ab(0x24c)],_0x52db61=_0x26622d[_0xece4ab(0x127)],_0x1ab4ff=this[_0xece4ab(0x122)];_0x26622d[_0xece4ab(0x334)]();for(var _0x5c2ee4=[],_0xee8b91=0x0;_0xee8b91<_0x52db61;_0xee8b91+=0x3)for(var _0x5e0a6c=_0x388ef0[_0xee8b91>>>0x2]>>>0x18-_0xee8b91%0x4*0x8&0xff,_0x533257=_0x388ef0[_0xee8b91+0x1>>>0x2]>>>0x18-(_0xee8b91+0x1)%0x4*0x8&0xff,_0x3c056d=_0x388ef0[_0xee8b91+0x2>>>0x2]>>>0x18-(_0xee8b91+0x2)%0x4*0x8&0xff,_0x1dca32=_0x5e0a6c<<0x10|_0x533257<<0x8|_0x3c056d,_0x522ebb=0x0;_0x522ebb<0x4&&_0xee8b91+_0x522ebb*0.75<_0x52db61;_0x522ebb++)_0x5c2ee4[_0xece4ab(0x1ea)](_0x1ab4ff[_0xece4ab(0x1cd)](_0x1dca32>>>0x6*(0x3-_0x522ebb)&0x3f));var _0x478502=_0x1ab4ff['charAt'](0x40);if(_0x478502){for(;_0x5c2ee4[_0xece4ab(0x234)]%0x4;)_0x5c2ee4['push'](_0x478502);}return _0x5c2ee4[_0xece4ab(0x40e)]('');},'parse':function(_0x2d1de0){var _0x526b0b=_0x5dadbf,_0x2cf78a=_0x2d1de0[_0x526b0b(0x234)],_0x27a402=this['_map'],_0x19e275=this[_0x526b0b(0x25c)];if(!_0x19e275){_0x19e275=this[_0x526b0b(0x25c)]=[];for(var _0x47ee2f=0x0;_0x47ee2f<_0x27a402[_0x526b0b(0x234)];_0x47ee2f++)_0x19e275[_0x27a402[_0x526b0b(0x38a)](_0x47ee2f)]=_0x47ee2f;}var _0xfc091c=_0x27a402[_0x526b0b(0x1cd)](0x40);if(_0xfc091c){var _0x5f557d=_0x2d1de0[_0x526b0b(0x243)](_0xfc091c);_0x5f557d!==-0x1&&(_0x2cf78a=_0x5f557d);}return _0x4ff50f(_0x2d1de0,_0x2cf78a,_0x19e275);},'_map':_0x5dadbf(0x369)};function _0x4ff50f(_0x51ea65,_0x2cac40,_0x45b474){var _0x1cc1e1=_0x5dadbf;for(var _0x1508bc=[],_0x4b1413=0x0,_0x19f0c6=0x0;_0x19f0c6<_0x2cac40;_0x19f0c6++)if(_0x19f0c6%0x4){var _0x349e2b=_0x45b474[_0x51ea65['charCodeAt'](_0x19f0c6-0x1)]<<_0x19f0c6%0x4*0x2,_0xbed748=_0x45b474[_0x51ea65[_0x1cc1e1(0x38a)](_0x19f0c6)]>>>0x6-_0x19f0c6%0x4*0x2,_0x421ad9=_0x349e2b|_0xbed748;_0x1508bc[_0x4b1413>>>0x2]|=_0x421ad9<<0x18-_0x4b1413%0x4*0x8,_0x4b1413++;}return _0x294660[_0x1cc1e1(0x279)](_0x1508bc,_0x4b1413);}}()),_0xeb5dbb[_0x4383d4(0x32b)][_0x4383d4(0x2ed)];}));}(We)),We[_0x1ff25b(0x2e3)];}var Ye={'exports':{}},ln=Ye[_0x121d26(0x2e3)],zt;function un(){var _0x4678a7=_0x121d26;return zt||(zt=0x1,function(_0x3d0ed0,_0x306e67){(function(_0x2c22ea,_0x47f888){var _0x4eaaea=_0x21ef;_0x3d0ed0[_0x4eaaea(0x2e3)]=_0x47f888(ie());}(ln,function(_0x22a193){var _0x2cb4d1=_0x21ef;return function(_0x47de53){var _0x1c0568=_0x21ef,_0x2eafed=_0x22a193,_0x7f19f6=_0x2eafed[_0x1c0568(0x19e)],_0x2bd5a8=_0x7f19f6[_0x1c0568(0x356)],_0x471eef=_0x7f19f6[_0x1c0568(0x2d1)],_0x1f2b31=_0x2eafed[_0x1c0568(0x3a2)],_0xf9c2b7=[];(function(){var _0x657b93=_0x1c0568;for(var _0x5e9906=0x0;_0x5e9906<0x40;_0x5e9906++)_0xf9c2b7[_0x5e9906]=_0x47de53[_0x657b93(0x184)](_0x47de53[_0x657b93(0x372)](_0x5e9906+0x1))*0x100000000|0x0;}());var _0x1f3f31=_0x1f2b31[_0x1c0568(0x3e0)]=_0x471eef[_0x1c0568(0x271)]({'_doReset':function(){var _0x5b95a6=_0x1c0568;this[_0x5b95a6(0x409)]=new _0x2bd5a8[(_0x5b95a6(0x193))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa355c9,_0x4d2eb3){var _0x1d2d76=_0x1c0568;for(var _0xe92488=0x0;_0xe92488<0x10;_0xe92488++){var _0x372cc1=_0x4d2eb3+_0xe92488,_0x2b8def=_0xa355c9[_0x372cc1];_0xa355c9[_0x372cc1]=(_0x2b8def<<0x8|_0x2b8def>>>0x18)&0xff00ff|(_0x2b8def<<0x18|_0x2b8def>>>0x8)&0xff00ff00;}var _0x1e7bfd=this['_hash'][_0x1d2d76(0x24c)],_0x3cde45=_0xa355c9[_0x4d2eb3+0x0],_0x3ffc40=_0xa355c9[_0x4d2eb3+0x1],_0xbdcc06=_0xa355c9[_0x4d2eb3+0x2],_0x5b39bb=_0xa355c9[_0x4d2eb3+0x3],_0x3c21b1=_0xa355c9[_0x4d2eb3+0x4],_0x23fc7d=_0xa355c9[_0x4d2eb3+0x5],_0x6c4a1a=_0xa355c9[_0x4d2eb3+0x6],_0x180322=_0xa355c9[_0x4d2eb3+0x7],_0x182f8f=_0xa355c9[_0x4d2eb3+0x8],_0x3c5f52=_0xa355c9[_0x4d2eb3+0x9],_0x127614=_0xa355c9[_0x4d2eb3+0xa],_0x49248a=_0xa355c9[_0x4d2eb3+0xb],_0x25d5ae=_0xa355c9[_0x4d2eb3+0xc],_0xa7c0d3=_0xa355c9[_0x4d2eb3+0xd],_0x163d6a=_0xa355c9[_0x4d2eb3+0xe],_0x5d3d58=_0xa355c9[_0x4d2eb3+0xf],_0x7f392e=_0x1e7bfd[0x0],_0xb55184=_0x1e7bfd[0x1],_0x4a814d=_0x1e7bfd[0x2],_0x2e9c17=_0x1e7bfd[0x3];_0x7f392e=_0x558401(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x3cde45,0x7,_0xf9c2b7[0x0]),_0x2e9c17=_0x558401(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x3ffc40,0xc,_0xf9c2b7[0x1]),_0x4a814d=_0x558401(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0xbdcc06,0x11,_0xf9c2b7[0x2]),_0xb55184=_0x558401(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x5b39bb,0x16,_0xf9c2b7[0x3]),_0x7f392e=_0x558401(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x3c21b1,0x7,_0xf9c2b7[0x4]),_0x2e9c17=_0x558401(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x23fc7d,0xc,_0xf9c2b7[0x5]),_0x4a814d=_0x558401(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x6c4a1a,0x11,_0xf9c2b7[0x6]),_0xb55184=_0x558401(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x180322,0x16,_0xf9c2b7[0x7]),_0x7f392e=_0x558401(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x182f8f,0x7,_0xf9c2b7[0x8]),_0x2e9c17=_0x558401(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x3c5f52,0xc,_0xf9c2b7[0x9]),_0x4a814d=_0x558401(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x127614,0x11,_0xf9c2b7[0xa]),_0xb55184=_0x558401(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x49248a,0x16,_0xf9c2b7[0xb]),_0x7f392e=_0x558401(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x25d5ae,0x7,_0xf9c2b7[0xc]),_0x2e9c17=_0x558401(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0xa7c0d3,0xc,_0xf9c2b7[0xd]),_0x4a814d=_0x558401(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x163d6a,0x11,_0xf9c2b7[0xe]),_0xb55184=_0x558401(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x5d3d58,0x16,_0xf9c2b7[0xf]),_0x7f392e=_0x22b943(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x3ffc40,0x5,_0xf9c2b7[0x10]),_0x2e9c17=_0x22b943(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x6c4a1a,0x9,_0xf9c2b7[0x11]),_0x4a814d=_0x22b943(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x49248a,0xe,_0xf9c2b7[0x12]),_0xb55184=_0x22b943(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x3cde45,0x14,_0xf9c2b7[0x13]),_0x7f392e=_0x22b943(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x23fc7d,0x5,_0xf9c2b7[0x14]),_0x2e9c17=_0x22b943(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x127614,0x9,_0xf9c2b7[0x15]),_0x4a814d=_0x22b943(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x5d3d58,0xe,_0xf9c2b7[0x16]),_0xb55184=_0x22b943(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x3c21b1,0x14,_0xf9c2b7[0x17]),_0x7f392e=_0x22b943(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x3c5f52,0x5,_0xf9c2b7[0x18]),_0x2e9c17=_0x22b943(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x163d6a,0x9,_0xf9c2b7[0x19]),_0x4a814d=_0x22b943(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x5b39bb,0xe,_0xf9c2b7[0x1a]),_0xb55184=_0x22b943(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x182f8f,0x14,_0xf9c2b7[0x1b]),_0x7f392e=_0x22b943(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0xa7c0d3,0x5,_0xf9c2b7[0x1c]),_0x2e9c17=_0x22b943(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0xbdcc06,0x9,_0xf9c2b7[0x1d]),_0x4a814d=_0x22b943(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x180322,0xe,_0xf9c2b7[0x1e]),_0xb55184=_0x22b943(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x25d5ae,0x14,_0xf9c2b7[0x1f]),_0x7f392e=_0x4245d9(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x23fc7d,0x4,_0xf9c2b7[0x20]),_0x2e9c17=_0x4245d9(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x182f8f,0xb,_0xf9c2b7[0x21]),_0x4a814d=_0x4245d9(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x49248a,0x10,_0xf9c2b7[0x22]),_0xb55184=_0x4245d9(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x163d6a,0x17,_0xf9c2b7[0x23]),_0x7f392e=_0x4245d9(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x3ffc40,0x4,_0xf9c2b7[0x24]),_0x2e9c17=_0x4245d9(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x3c21b1,0xb,_0xf9c2b7[0x25]),_0x4a814d=_0x4245d9(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x180322,0x10,_0xf9c2b7[0x26]),_0xb55184=_0x4245d9(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x127614,0x17,_0xf9c2b7[0x27]),_0x7f392e=_0x4245d9(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0xa7c0d3,0x4,_0xf9c2b7[0x28]),_0x2e9c17=_0x4245d9(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x3cde45,0xb,_0xf9c2b7[0x29]),_0x4a814d=_0x4245d9(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x5b39bb,0x10,_0xf9c2b7[0x2a]),_0xb55184=_0x4245d9(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x6c4a1a,0x17,_0xf9c2b7[0x2b]),_0x7f392e=_0x4245d9(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x3c5f52,0x4,_0xf9c2b7[0x2c]),_0x2e9c17=_0x4245d9(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x25d5ae,0xb,_0xf9c2b7[0x2d]),_0x4a814d=_0x4245d9(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x5d3d58,0x10,_0xf9c2b7[0x2e]),_0xb55184=_0x4245d9(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0xbdcc06,0x17,_0xf9c2b7[0x2f]),_0x7f392e=_0xeb5e03(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x3cde45,0x6,_0xf9c2b7[0x30]),_0x2e9c17=_0xeb5e03(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x180322,0xa,_0xf9c2b7[0x31]),_0x4a814d=_0xeb5e03(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x163d6a,0xf,_0xf9c2b7[0x32]),_0xb55184=_0xeb5e03(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x23fc7d,0x15,_0xf9c2b7[0x33]),_0x7f392e=_0xeb5e03(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x25d5ae,0x6,_0xf9c2b7[0x34]),_0x2e9c17=_0xeb5e03(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x5b39bb,0xa,_0xf9c2b7[0x35]),_0x4a814d=_0xeb5e03(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x127614,0xf,_0xf9c2b7[0x36]),_0xb55184=_0xeb5e03(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x3ffc40,0x15,_0xf9c2b7[0x37]),_0x7f392e=_0xeb5e03(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x182f8f,0x6,_0xf9c2b7[0x38]),_0x2e9c17=_0xeb5e03(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x5d3d58,0xa,_0xf9c2b7[0x39]),_0x4a814d=_0xeb5e03(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0x6c4a1a,0xf,_0xf9c2b7[0x3a]),_0xb55184=_0xeb5e03(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0xa7c0d3,0x15,_0xf9c2b7[0x3b]),_0x7f392e=_0xeb5e03(_0x7f392e,_0xb55184,_0x4a814d,_0x2e9c17,_0x3c21b1,0x6,_0xf9c2b7[0x3c]),_0x2e9c17=_0xeb5e03(_0x2e9c17,_0x7f392e,_0xb55184,_0x4a814d,_0x49248a,0xa,_0xf9c2b7[0x3d]),_0x4a814d=_0xeb5e03(_0x4a814d,_0x2e9c17,_0x7f392e,_0xb55184,_0xbdcc06,0xf,_0xf9c2b7[0x3e]),_0xb55184=_0xeb5e03(_0xb55184,_0x4a814d,_0x2e9c17,_0x7f392e,_0x3c5f52,0x15,_0xf9c2b7[0x3f]),_0x1e7bfd[0x0]=_0x1e7bfd[0x0]+_0x7f392e|0x0,_0x1e7bfd[0x1]=_0x1e7bfd[0x1]+_0xb55184|0x0,_0x1e7bfd[0x2]=_0x1e7bfd[0x2]+_0x4a814d|0x0,_0x1e7bfd[0x3]=_0x1e7bfd[0x3]+_0x2e9c17|0x0;},'_doFinalize':function(){var _0x424734=_0x1c0568,_0x1e2a07=this[_0x424734(0x3b6)],_0x126c27=_0x1e2a07['words'],_0x39b180=this[_0x424734(0x39f)]*0x8,_0x2ccef3=_0x1e2a07[_0x424734(0x127)]*0x8;_0x126c27[_0x2ccef3>>>0x5]|=0x80<<0x18-_0x2ccef3%0x20;var _0x1daccc=_0x47de53[_0x424734(0x319)](_0x39b180/0x100000000),_0x499e69=_0x39b180;_0x126c27[(_0x2ccef3+0x40>>>0x9<<0x4)+0xf]=(_0x1daccc<<0x8|_0x1daccc>>>0x18)&0xff00ff|(_0x1daccc<<0x18|_0x1daccc>>>0x8)&0xff00ff00,_0x126c27[(_0x2ccef3+0x40>>>0x9<<0x4)+0xe]=(_0x499e69<<0x8|_0x499e69>>>0x18)&0xff00ff|(_0x499e69<<0x18|_0x499e69>>>0x8)&0xff00ff00,_0x1e2a07[_0x424734(0x127)]=(_0x126c27[_0x424734(0x234)]+0x1)*0x4,this[_0x424734(0x2b8)]();for(var _0x3ebbee=this[_0x424734(0x409)],_0x32e75f=_0x3ebbee[_0x424734(0x24c)],_0x10b911=0x0;_0x10b911<0x4;_0x10b911++){var _0xd1b839=_0x32e75f[_0x10b911];_0x32e75f[_0x10b911]=(_0xd1b839<<0x8|_0xd1b839>>>0x18)&0xff00ff|(_0xd1b839<<0x18|_0xd1b839>>>0x8)&0xff00ff00;}return _0x3ebbee;},'clone':function(){var _0x34df61=_0x1c0568,_0x283e74=_0x471eef[_0x34df61(0x274)][_0x34df61(0x1fb)](this);return _0x283e74['_hash']=this[_0x34df61(0x409)][_0x34df61(0x274)](),_0x283e74;}});function _0x558401(_0x149909,_0x8dadbf,_0x15bc1f,_0x3a867a,_0x12f7f9,_0x1f9e25,_0xa00170){var _0x1da812=_0x149909+(_0x8dadbf&_0x15bc1f|~_0x8dadbf&_0x3a867a)+_0x12f7f9+_0xa00170;return(_0x1da812<<_0x1f9e25|_0x1da812>>>0x20-_0x1f9e25)+_0x8dadbf;}function _0x22b943(_0x36749a,_0x56ba9b,_0x2933c9,_0x23c1bf,_0x3c29f0,_0x44e295,_0x32dc4c){var _0x24d115=_0x36749a+(_0x56ba9b&_0x23c1bf|_0x2933c9&~_0x23c1bf)+_0x3c29f0+_0x32dc4c;return(_0x24d115<<_0x44e295|_0x24d115>>>0x20-_0x44e295)+_0x56ba9b;}function _0x4245d9(_0x593d6e,_0x372a74,_0x3ddb1c,_0x45115d,_0x5f2c8e,_0x3a5fc2,_0x584874){var _0x528499=_0x593d6e+(_0x372a74^_0x3ddb1c^_0x45115d)+_0x5f2c8e+_0x584874;return(_0x528499<<_0x3a5fc2|_0x528499>>>0x20-_0x3a5fc2)+_0x372a74;}function _0xeb5e03(_0x54fb3f,_0x5eeb15,_0x58d347,_0x64dda6,_0x47336a,_0x5ad01d,_0x5bafe0){var _0x3eb55b=_0x54fb3f+(_0x58d347^(_0x5eeb15|~_0x64dda6))+_0x47336a+_0x5bafe0;return(_0x3eb55b<<_0x5ad01d|_0x3eb55b>>>0x20-_0x5ad01d)+_0x5eeb15;}_0x2eafed[_0x1c0568(0x3e0)]=_0x471eef[_0x1c0568(0x1b0)](_0x1f3f31),_0x2eafed[_0x1c0568(0x248)]=_0x471eef[_0x1c0568(0x1d0)](_0x1f3f31);}(Math),_0x22a193[_0x2cb4d1(0x3e0)];}));}(Ye)),Ye[_0x4678a7(0x2e3)];}var Ke={'exports':{}},qe={'exports':{}},dn=qe[_0x121d26(0x2e3)],Xt;function fn(){var _0x978b1f=_0x121d26;return Xt||(Xt=0x1,function(_0x20e4c1,_0x4f26d4){(function(_0x54e41,_0x37a9e3){var _0x13f33d=_0x21ef;_0x20e4c1[_0x13f33d(0x2e3)]=_0x37a9e3(ie());}(dn,function(_0x27503d){return(function(){var _0x5e6c4a=_0x21ef,_0x489f67=_0x27503d,_0xd60a19=_0x489f67[_0x5e6c4a(0x19e)],_0x578d5b=_0xd60a19[_0x5e6c4a(0x356)],_0x5dede9=_0xd60a19[_0x5e6c4a(0x2d1)],_0x56cadb=_0x489f67[_0x5e6c4a(0x3a2)],_0x8f5591=[],_0x3ef543=_0x56cadb[_0x5e6c4a(0x400)]=_0x5dede9['extend']({'_doReset':function(){var _0x56d205=_0x5e6c4a;this[_0x56d205(0x409)]=new _0x578d5b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x294661,_0x19440c){var _0x321e56=_0x5e6c4a;for(var _0x244a36=this[_0x321e56(0x409)][_0x321e56(0x24c)],_0x50aaff=_0x244a36[0x0],_0x301e7b=_0x244a36[0x1],_0x383562=_0x244a36[0x2],_0x11539f=_0x244a36[0x3],_0x15d9d8=_0x244a36[0x4],_0x4c68e9=0x0;_0x4c68e9<0x50;_0x4c68e9++){if(_0x4c68e9<0x10)_0x8f5591[_0x4c68e9]=_0x294661[_0x19440c+_0x4c68e9]|0x0;else{var _0x289b3c=_0x8f5591[_0x4c68e9-0x3]^_0x8f5591[_0x4c68e9-0x8]^_0x8f5591[_0x4c68e9-0xe]^_0x8f5591[_0x4c68e9-0x10];_0x8f5591[_0x4c68e9]=_0x289b3c<<0x1|_0x289b3c>>>0x1f;}var _0x3ba6c2=(_0x50aaff<<0x5|_0x50aaff>>>0x1b)+_0x15d9d8+_0x8f5591[_0x4c68e9];_0x4c68e9<0x14?_0x3ba6c2+=(_0x301e7b&_0x383562|~_0x301e7b&_0x11539f)+0x5a827999:_0x4c68e9<0x28?_0x3ba6c2+=(_0x301e7b^_0x383562^_0x11539f)+0x6ed9eba1:_0x4c68e9<0x3c?_0x3ba6c2+=(_0x301e7b&_0x383562|_0x301e7b&_0x11539f|_0x383562&_0x11539f)-0x70e44324:_0x3ba6c2+=(_0x301e7b^_0x383562^_0x11539f)-0x359d3e2a,_0x15d9d8=_0x11539f,_0x11539f=_0x383562,_0x383562=_0x301e7b<<0x1e|_0x301e7b>>>0x2,_0x301e7b=_0x50aaff,_0x50aaff=_0x3ba6c2;}_0x244a36[0x0]=_0x244a36[0x0]+_0x50aaff|0x0,_0x244a36[0x1]=_0x244a36[0x1]+_0x301e7b|0x0,_0x244a36[0x2]=_0x244a36[0x2]+_0x383562|0x0,_0x244a36[0x3]=_0x244a36[0x3]+_0x11539f|0x0,_0x244a36[0x4]=_0x244a36[0x4]+_0x15d9d8|0x0;},'_doFinalize':function(){var _0x506ea8=_0x5e6c4a,_0x542f4f=this[_0x506ea8(0x3b6)],_0xc25a51=_0x542f4f[_0x506ea8(0x24c)],_0x135bea=this[_0x506ea8(0x39f)]*0x8,_0x38ecc7=_0x542f4f[_0x506ea8(0x127)]*0x8;return _0xc25a51[_0x38ecc7>>>0x5]|=0x80<<0x18-_0x38ecc7%0x20,_0xc25a51[(_0x38ecc7+0x40>>>0x9<<0x4)+0xe]=Math[_0x506ea8(0x319)](_0x135bea/0x100000000),_0xc25a51[(_0x38ecc7+0x40>>>0x9<<0x4)+0xf]=_0x135bea,_0x542f4f[_0x506ea8(0x127)]=_0xc25a51[_0x506ea8(0x234)]*0x4,this[_0x506ea8(0x2b8)](),this[_0x506ea8(0x409)];},'clone':function(){var _0x1bd542=_0x5e6c4a,_0x2e7402=_0x5dede9['clone']['call'](this);return _0x2e7402[_0x1bd542(0x409)]=this[_0x1bd542(0x409)][_0x1bd542(0x274)](),_0x2e7402;}});_0x489f67[_0x5e6c4a(0x400)]=_0x5dede9['_createHelper'](_0x3ef543),_0x489f67[_0x5e6c4a(0x3ee)]=_0x5dede9[_0x5e6c4a(0x1d0)](_0x3ef543);}()),_0x27503d['SHA1'];}));}(qe)),qe[_0x978b1f(0x2e3)];}var ze={'exports':{}},vn=ze[_0x121d26(0x2e3)],Jt;function En(){var _0xd146a9=_0x121d26;return Jt||(Jt=0x1,function(_0x473f00,_0x385047){(function(_0x1e6c11,_0x84fd87){var _0xec3c54=_0x21ef;_0x473f00[_0xec3c54(0x2e3)]=_0x84fd87(ie());}(vn,function(_0x1a9b96){(function(){var _0x30f79e=_0x21ef,_0x501b1f=_0x1a9b96,_0x4eb7fa=_0x501b1f[_0x30f79e(0x19e)],_0x103b4d=_0x4eb7fa[_0x30f79e(0x2c9)],_0xc81732=_0x501b1f[_0x30f79e(0x32b)],_0x373d4f=_0xc81732['Utf8'],_0xed704=_0x501b1f['algo'];_0xed704[_0x30f79e(0x2c2)]=_0x103b4d[_0x30f79e(0x271)]({'init':function(_0x5c2c4b,_0x86a5de){var _0x427453=_0x30f79e;_0x5c2c4b=this[_0x427453(0x37d)]=new _0x5c2c4b[(_0x427453(0x193))](),typeof _0x86a5de=='string'&&(_0x86a5de=_0x373d4f[_0x427453(0x240)](_0x86a5de));var _0x2478d9=_0x5c2c4b[_0x427453(0x23e)],_0x35b168=_0x2478d9*0x4;_0x86a5de[_0x427453(0x127)]>_0x35b168&&(_0x86a5de=_0x5c2c4b[_0x427453(0x290)](_0x86a5de)),_0x86a5de['clamp']();for(var _0x5e9758=this[_0x427453(0x3e1)]=_0x86a5de['clone'](),_0x24171a=this[_0x427453(0x308)]=_0x86a5de[_0x427453(0x274)](),_0xc832c5=_0x5e9758[_0x427453(0x24c)],_0x379306=_0x24171a[_0x427453(0x24c)],_0x58985f=0x0;_0x58985f<_0x2478d9;_0x58985f++)_0xc832c5[_0x58985f]^=0x5c5c5c5c,_0x379306[_0x58985f]^=0x36363636;_0x5e9758[_0x427453(0x127)]=_0x24171a[_0x427453(0x127)]=_0x35b168,this[_0x427453(0x26d)]();},'reset':function(){var _0x54b560=_0x30f79e,_0x3d541a=this[_0x54b560(0x37d)];_0x3d541a[_0x54b560(0x26d)](),_0x3d541a[_0x54b560(0x323)](this[_0x54b560(0x308)]);},'update':function(_0x37c9c3){var _0x2fc6e5=_0x30f79e;return this[_0x2fc6e5(0x37d)]['update'](_0x37c9c3),this;},'finalize':function(_0x5ce2a4){var _0x38c7be=_0x30f79e,_0x3c999c=this['_hasher'],_0x28ba01=_0x3c999c['finalize'](_0x5ce2a4);_0x3c999c['reset']();var _0x17d97b=_0x3c999c['finalize'](this[_0x38c7be(0x3e1)][_0x38c7be(0x274)]()[_0x38c7be(0x3f8)](_0x28ba01));return _0x17d97b;}});}());}));}(ze)),ze[_0xd146a9(0x2e3)];}var pn=Ke[_0x121d26(0x2e3)],Zt;function Ci(){var _0x44b325=_0x121d26;return Zt||(Zt=0x1,function(_0x39719a,_0x4ae573){(function(_0x38eea5,_0x48c213,_0x422109){var _0x5af03c=_0x21ef;_0x39719a[_0x5af03c(0x2e3)]=_0x48c213(ie(),fn(),En());}(pn,function(_0x38fb9e){var _0x402f10=_0x21ef;return(function(){var _0xecf2a0=_0x21ef,_0x2c3cc3=_0x38fb9e,_0x4101a2=_0x2c3cc3['lib'],_0x198ef8=_0x4101a2[_0xecf2a0(0x2c9)],_0x3779c3=_0x4101a2['WordArray'],_0x1906ba=_0x2c3cc3[_0xecf2a0(0x3a2)],_0x4d9967=_0x1906ba[_0xecf2a0(0x3e0)],_0x4115a6=_0x1906ba['EvpKDF']=_0x198ef8['extend']({'cfg':_0x198ef8[_0xecf2a0(0x271)]({'keySize':0x80/0x20,'hasher':_0x4d9967,'iterations':0x1}),'init':function(_0x181105){var _0xf3775a=_0xecf2a0;this[_0xf3775a(0x39e)]=this[_0xf3775a(0x39e)][_0xf3775a(0x271)](_0x181105);},'compute':function(_0x168c6b,_0x3ab039){var _0x415992=_0xecf2a0;for(var _0x1c6553,_0x530736=this[_0x415992(0x39e)],_0x1900d4=_0x530736[_0x415992(0x360)][_0x415992(0x279)](),_0x3b7ba3=_0x3779c3[_0x415992(0x279)](),_0x53c6a8=_0x3b7ba3['words'],_0x40aa90=_0x530736[_0x415992(0x1c4)],_0x5dd351=_0x530736[_0x415992(0x436)];_0x53c6a8[_0x415992(0x234)]<_0x40aa90;){_0x1c6553&&_0x1900d4[_0x415992(0x323)](_0x1c6553),_0x1c6553=_0x1900d4[_0x415992(0x323)](_0x168c6b)[_0x415992(0x290)](_0x3ab039),_0x1900d4[_0x415992(0x26d)]();for(var _0x6b31e5=0x1;_0x6b31e5<_0x5dd351;_0x6b31e5++)_0x1c6553=_0x1900d4[_0x415992(0x290)](_0x1c6553),_0x1900d4[_0x415992(0x26d)]();_0x3b7ba3[_0x415992(0x3f8)](_0x1c6553);}return _0x3b7ba3['sigBytes']=_0x40aa90*0x4,_0x3b7ba3;}});_0x2c3cc3[_0xecf2a0(0x17c)]=function(_0x3d393f,_0x4efbc9,_0x15d839){var _0xc2f73a=_0xecf2a0;return _0x4115a6[_0xc2f73a(0x279)](_0x15d839)['compute'](_0x3d393f,_0x4efbc9);};}()),_0x38fb9e[_0x402f10(0x17c)];}));}(Ke)),Ke[_0x44b325(0x2e3)];}var Xe={'exports':{}},mn=Xe[_0x121d26(0x2e3)],Qt;function bi(){var _0x495659=_0x121d26;return Qt||(Qt=0x1,function(_0x1cab78,_0x164f64){(function(_0x1519bd,_0x1c6156,_0x1ab338){_0x1cab78['exports']=_0x1c6156(ie(),Ci());}(mn,function(_0x3f5f3b){var _0x1fc94b=_0x21ef;_0x3f5f3b['lib'][_0x1fc94b(0x3a8)]||function(_0xa8bc1d){var _0x205742=_0x1fc94b,_0x208342=_0x3f5f3b,_0xfce56=_0x208342[_0x205742(0x19e)],_0x551152=_0xfce56[_0x205742(0x2c9)],_0x44f941=_0xfce56[_0x205742(0x356)],_0x55747f=_0xfce56[_0x205742(0x239)],_0xc3addd=_0x208342[_0x205742(0x32b)];_0xc3addd['Utf8'];var _0x2c5ae7=_0xc3addd[_0x205742(0x2ed)],_0x3c5c2d=_0x208342[_0x205742(0x3a2)],_0x3276a6=_0x3c5c2d[_0x205742(0x17c)],_0x77d7e9=_0xfce56[_0x205742(0x3a8)]=_0x55747f[_0x205742(0x271)]({'cfg':_0x551152[_0x205742(0x271)](),'createEncryptor':function(_0x287285,_0x477bb2){var _0x162bc9=_0x205742;return this[_0x162bc9(0x279)](this[_0x162bc9(0x312)],_0x287285,_0x477bb2);},'createDecryptor':function(_0x56a75c,_0x11b0c7){var _0x1fcaff=_0x205742;return this[_0x1fcaff(0x279)](this['_DEC_XFORM_MODE'],_0x56a75c,_0x11b0c7);},'init':function(_0x34d6b2,_0x2d7602,_0x15ba9a){var _0x1663db=_0x205742;this[_0x1663db(0x39e)]=this[_0x1663db(0x39e)][_0x1663db(0x271)](_0x15ba9a),this[_0x1663db(0x264)]=_0x34d6b2,this['_key']=_0x2d7602,this[_0x1663db(0x26d)]();},'reset':function(){var _0x419a29=_0x205742;_0x55747f['reset'][_0x419a29(0x1fb)](this),this[_0x419a29(0x415)]();},'process':function(_0x3a1955){var _0x3892f1=_0x205742;return this[_0x3892f1(0x281)](_0x3a1955),this[_0x3892f1(0x2b8)]();},'finalize':function(_0x4968fb){var _0x5b1272=_0x205742;_0x4968fb&&this[_0x5b1272(0x281)](_0x4968fb);var _0x2cb2d4=this['_doFinalize']();return _0x2cb2d4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xe6198c(_0x3718e0){var _0x566e56=_0x21ef;return typeof _0x3718e0==_0x566e56(0x3db)?_0x39a266:_0x541157;}return function(_0x4a1176){return{'encrypt':function(_0x39c42e,_0x214315,_0x34e3fa){var _0x2b4eb6=_0x21ef;return _0xe6198c(_0x214315)[_0x2b4eb6(0x261)](_0x4a1176,_0x39c42e,_0x214315,_0x34e3fa);},'decrypt':function(_0x3ad5b6,_0x334928,_0x1c2b06){var _0x154990=_0x21ef;return _0xe6198c(_0x334928)[_0x154990(0x208)](_0x4a1176,_0x3ad5b6,_0x334928,_0x1c2b06);}};};}())});_0xfce56[_0x205742(0x11e)]=_0x77d7e9[_0x205742(0x271)]({'_doFinalize':function(){var _0x49fabd=this['_process'](!0x0);return _0x49fabd;},'blockSize':0x1});var _0x4ab660=_0x208342[_0x205742(0x333)]={},_0x4bd781=_0xfce56[_0x205742(0x291)]=_0x551152[_0x205742(0x271)]({'createEncryptor':function(_0x25469f,_0x1d0eab){var _0x53fdf1=_0x205742;return this['Encryptor'][_0x53fdf1(0x279)](_0x25469f,_0x1d0eab);},'createDecryptor':function(_0x1ce908,_0x1d1597){var _0x59ab34=_0x205742;return this[_0x59ab34(0x2d0)][_0x59ab34(0x279)](_0x1ce908,_0x1d1597);},'init':function(_0x3eb5d5,_0x18b9b5){this['_cipher']=_0x3eb5d5,this['_iv']=_0x18b9b5;}}),_0x56a17b=_0x4ab660[_0x205742(0x26f)]=(function(){var _0x4bb565=_0x205742,_0x1ecd98=_0x4bd781[_0x4bb565(0x271)]();_0x1ecd98[_0x4bb565(0x29d)]=_0x1ecd98[_0x4bb565(0x271)]({'processBlock':function(_0x930c1f,_0x17646d){var _0x73860a=_0x4bb565,_0x58cf8b=this['_cipher'],_0x89cd18=_0x58cf8b[_0x73860a(0x23e)];_0x1d6988[_0x73860a(0x1fb)](this,_0x930c1f,_0x17646d,_0x89cd18),_0x58cf8b['encryptBlock'](_0x930c1f,_0x17646d),this[_0x73860a(0x21c)]=_0x930c1f[_0x73860a(0x37a)](_0x17646d,_0x17646d+_0x89cd18);}}),_0x1ecd98[_0x4bb565(0x2d0)]=_0x1ecd98[_0x4bb565(0x271)]({'processBlock':function(_0x28e987,_0x6f528c){var _0x71d234=_0x4bb565,_0x502bb4=this[_0x71d234(0x283)],_0x4326d2=_0x502bb4[_0x71d234(0x23e)],_0x41151b=_0x28e987[_0x71d234(0x37a)](_0x6f528c,_0x6f528c+_0x4326d2);_0x502bb4[_0x71d234(0x1e6)](_0x28e987,_0x6f528c),_0x1d6988[_0x71d234(0x1fb)](this,_0x28e987,_0x6f528c,_0x4326d2),this[_0x71d234(0x21c)]=_0x41151b;}});function _0x1d6988(_0x240d23,_0x48fd32,_0x22a56e){var _0x1d19a4=_0x4bb565,_0x29e018,_0x5d4077=this[_0x1d19a4(0x3d9)];_0x5d4077?(_0x29e018=_0x5d4077,this['_iv']=_0xa8bc1d):_0x29e018=this[_0x1d19a4(0x21c)];for(var _0x377a9e=0x0;_0x377a9e<_0x22a56e;_0x377a9e++)_0x240d23[_0x48fd32+_0x377a9e]^=_0x29e018[_0x377a9e];}return _0x1ecd98;}()),_0x3da58d=_0x208342[_0x205742(0x35e)]={},_0xfadae3=_0x3da58d[_0x205742(0x25a)]={'pad':function(_0x41542c,_0x156d82){var _0x2691c3=_0x205742;for(var _0x565a4f=_0x156d82*0x4,_0x408711=_0x565a4f-_0x41542c[_0x2691c3(0x127)]%_0x565a4f,_0x46dc23=_0x408711<<0x18|_0x408711<<0x10|_0x408711<<0x8|_0x408711,_0x499cde=[],_0x1ced3b=0x0;_0x1ced3b<_0x408711;_0x1ced3b+=0x4)_0x499cde[_0x2691c3(0x1ea)](_0x46dc23);var _0x1aef8d=_0x44f941[_0x2691c3(0x279)](_0x499cde,_0x408711);_0x41542c[_0x2691c3(0x3f8)](_0x1aef8d);},'unpad':function(_0x492c84){var _0x2218ba=_0x205742,_0x577a47=_0x492c84['words'][_0x492c84[_0x2218ba(0x127)]-0x1>>>0x2]&0xff;_0x492c84[_0x2218ba(0x127)]-=_0x577a47;}};_0xfce56[_0x205742(0x412)]=_0x77d7e9[_0x205742(0x271)]({'cfg':_0x77d7e9['cfg']['extend']({'mode':_0x56a17b,'padding':_0xfadae3}),'reset':function(){var _0x594854=_0x205742,_0x2866da;_0x77d7e9[_0x594854(0x26d)][_0x594854(0x1fb)](this);var _0x40b60c=this['cfg'],_0x5dcc30=_0x40b60c['iv'],_0x174d87=_0x40b60c[_0x594854(0x333)];this[_0x594854(0x264)]==this['_ENC_XFORM_MODE']?_0x2866da=_0x174d87[_0x594854(0x143)]:(_0x2866da=_0x174d87[_0x594854(0x3de)],this[_0x594854(0x18a)]=0x1),this['_mode']&&this[_0x594854(0x155)][_0x594854(0x41c)]==_0x2866da?this[_0x594854(0x155)][_0x594854(0x193)](this,_0x5dcc30&&_0x5dcc30[_0x594854(0x24c)]):(this[_0x594854(0x155)]=_0x2866da['call'](_0x174d87,this,_0x5dcc30&&_0x5dcc30[_0x594854(0x24c)]),this['_mode'][_0x594854(0x41c)]=_0x2866da);},'_doProcessBlock':function(_0x49ce77,_0x40d8da){var _0x307c44=_0x205742;this[_0x307c44(0x155)][_0x307c44(0x215)](_0x49ce77,_0x40d8da);},'_doFinalize':function(){var _0x14dd49=_0x205742,_0x3112ee,_0x426c51=this['cfg']['padding'];return this['_xformMode']==this[_0x14dd49(0x312)]?(_0x426c51[_0x14dd49(0x35e)](this[_0x14dd49(0x3b6)],this['blockSize']),_0x3112ee=this[_0x14dd49(0x2b8)](!0x0)):(_0x3112ee=this[_0x14dd49(0x2b8)](!0x0),_0x426c51[_0x14dd49(0x16f)](_0x3112ee)),_0x3112ee;},'blockSize':0x80/0x20});var _0x12c563=_0xfce56[_0x205742(0x16a)]=_0x551152[_0x205742(0x271)]({'init':function(_0x1dce82){this['mixIn'](_0x1dce82);},'toString':function(_0x36af83){var _0x5875c2=_0x205742;return(_0x36af83||this['formatter'])[_0x5875c2(0x26e)](this);}}),_0x2525b1=_0x208342[_0x205742(0x1be)]={},_0x5a103f=_0x2525b1[_0x205742(0x2e7)]={'stringify':function(_0x4fecea){var _0x459062=_0x205742,_0x1e0484,_0xf3dfab=_0x4fecea[_0x459062(0x411)],_0x55a6dc=_0x4fecea[_0x459062(0x35b)];return _0x55a6dc?_0x1e0484=_0x44f941['create']([0x53616c74,0x65645f5f])[_0x459062(0x3f8)](_0x55a6dc)[_0x459062(0x3f8)](_0xf3dfab):_0x1e0484=_0xf3dfab,_0x1e0484[_0x459062(0x3aa)](_0x2c5ae7);},'parse':function(_0x17cea1){var _0x2f2ac8=_0x205742,_0x298ab6,_0x520047=_0x2c5ae7[_0x2f2ac8(0x240)](_0x17cea1),_0x4a24e4=_0x520047['words'];return _0x4a24e4[0x0]==0x53616c74&&_0x4a24e4[0x1]==0x65645f5f&&(_0x298ab6=_0x44f941[_0x2f2ac8(0x279)](_0x4a24e4[_0x2f2ac8(0x37a)](0x2,0x4)),_0x4a24e4[_0x2f2ac8(0x170)](0x0,0x4),_0x520047[_0x2f2ac8(0x127)]-=0x10),_0x12c563['create']({'ciphertext':_0x520047,'salt':_0x298ab6});}},_0x541157=_0xfce56[_0x205742(0x27d)]=_0x551152[_0x205742(0x271)]({'cfg':_0x551152[_0x205742(0x271)]({'format':_0x5a103f}),'encrypt':function(_0x1b75c7,_0x9bbb0,_0x2764d4,_0x5ba3e4){var _0x249f4b=_0x205742;_0x5ba3e4=this['cfg']['extend'](_0x5ba3e4);var _0x3dfc1d=_0x1b75c7[_0x249f4b(0x143)](_0x2764d4,_0x5ba3e4),_0x247b8a=_0x3dfc1d['finalize'](_0x9bbb0),_0x57e534=_0x3dfc1d[_0x249f4b(0x39e)];return _0x12c563[_0x249f4b(0x279)]({'ciphertext':_0x247b8a,'key':_0x2764d4,'iv':_0x57e534['iv'],'algorithm':_0x1b75c7,'mode':_0x57e534['mode'],'padding':_0x57e534['padding'],'blockSize':_0x1b75c7[_0x249f4b(0x23e)],'formatter':_0x5ba3e4[_0x249f4b(0x1be)]});},'decrypt':function(_0x2310dc,_0xc4fd9b,_0x25f809,_0x38e624){var _0x1ceb53=_0x205742;_0x38e624=this[_0x1ceb53(0x39e)][_0x1ceb53(0x271)](_0x38e624),_0xc4fd9b=this[_0x1ceb53(0x3cc)](_0xc4fd9b,_0x38e624[_0x1ceb53(0x1be)]);var _0x31ba5c=_0x2310dc[_0x1ceb53(0x3de)](_0x25f809,_0x38e624)[_0x1ceb53(0x290)](_0xc4fd9b[_0x1ceb53(0x411)]);return _0x31ba5c;},'_parse':function(_0x52fa99,_0xd00736){var _0x508a85=_0x205742;return typeof _0x52fa99=='string'?_0xd00736[_0x508a85(0x240)](_0x52fa99,this):_0x52fa99;}}),_0x3837ef=_0x208342['kdf']={},_0x491470=_0x3837ef[_0x205742(0x2e7)]={'execute':function(_0x2a2e92,_0x223da3,_0x45853a,_0x22baa2,_0x4e10da){var _0x21ea07=_0x205742;if(_0x22baa2||(_0x22baa2=_0x44f941['random'](0x40/0x8)),_0x4e10da)var _0x478f63=_0x3276a6[_0x21ea07(0x279)]({'keySize':_0x223da3+_0x45853a,'hasher':_0x4e10da})['compute'](_0x2a2e92,_0x22baa2);else var _0x478f63=_0x3276a6[_0x21ea07(0x279)]({'keySize':_0x223da3+_0x45853a})[_0x21ea07(0x201)](_0x2a2e92,_0x22baa2);var _0x443fd7=_0x44f941[_0x21ea07(0x279)](_0x478f63[_0x21ea07(0x24c)][_0x21ea07(0x37a)](_0x223da3),_0x45853a*0x4);return _0x478f63[_0x21ea07(0x127)]=_0x223da3*0x4,_0x12c563[_0x21ea07(0x279)]({'key':_0x478f63,'iv':_0x443fd7,'salt':_0x22baa2});}},_0x39a266=_0xfce56[_0x205742(0x395)]=_0x541157[_0x205742(0x271)]({'cfg':_0x541157[_0x205742(0x39e)][_0x205742(0x271)]({'kdf':_0x491470}),'encrypt':function(_0x5c0d21,_0x5ce6a0,_0x2acb32,_0x45c477){var _0x1ea5c1=_0x205742;_0x45c477=this[_0x1ea5c1(0x39e)][_0x1ea5c1(0x271)](_0x45c477);var _0x34ab14=_0x45c477[_0x1ea5c1(0x39d)]['execute'](_0x2acb32,_0x5c0d21[_0x1ea5c1(0x1c4)],_0x5c0d21[_0x1ea5c1(0x222)],_0x45c477[_0x1ea5c1(0x35b)],_0x45c477[_0x1ea5c1(0x360)]);_0x45c477['iv']=_0x34ab14['iv'];var _0x3880c9=_0x541157[_0x1ea5c1(0x261)]['call'](this,_0x5c0d21,_0x5ce6a0,_0x34ab14[_0x1ea5c1(0x1a4)],_0x45c477);return _0x3880c9[_0x1ea5c1(0x43a)](_0x34ab14),_0x3880c9;},'decrypt':function(_0x57007e,_0x2b3838,_0x14b5e9,_0x165527){var _0x192114=_0x205742;_0x165527=this['cfg'][_0x192114(0x271)](_0x165527),_0x2b3838=this[_0x192114(0x3cc)](_0x2b3838,_0x165527[_0x192114(0x1be)]);var _0x250549=_0x165527[_0x192114(0x39d)][_0x192114(0x2a8)](_0x14b5e9,_0x57007e[_0x192114(0x1c4)],_0x57007e[_0x192114(0x222)],_0x2b3838[_0x192114(0x35b)],_0x165527[_0x192114(0x360)]);_0x165527['iv']=_0x250549['iv'];var _0x5844aa=_0x541157[_0x192114(0x208)][_0x192114(0x1fb)](this,_0x57007e,_0x2b3838,_0x250549[_0x192114(0x1a4)],_0x165527);return _0x5844aa;}});}();}));}(Xe)),Xe[_0x495659(0x2e3)];}var In=Ve['exports'],ei;function Sn(){var _0x196516=_0x121d26;return ei||(ei=0x1,function(_0x73657c,_0x338f2b){(function(_0x189ce6,_0x2fbe79,_0x5f2599){var _0x231b55=_0x21ef;_0x73657c[_0x231b55(0x2e3)]=_0x2fbe79(ie(),Ni(),un(),Ci(),bi());}(In,function(_0x1c04a7){var _0xc32e47=_0x21ef;return(function(){var _0x4df5f4=_0x21ef,_0x1a0e59=_0x1c04a7,_0x4f0cf5=_0x1a0e59[_0x4df5f4(0x19e)],_0x2ffa3a=_0x4f0cf5['BlockCipher'],_0x3b6c81=_0x1a0e59[_0x4df5f4(0x3a2)],_0x40d133=[],_0x1c4e34=[],_0x534e92=[],_0x12858d=[],_0x446b63=[],_0x1adc64=[],_0x4f84ff=[],_0x4a3100=[],_0x3c5ce0=[],_0x4c02a6=[];(function(){for(var _0x3c1373=[],_0x5ddd03=0x0;_0x5ddd03<0x100;_0x5ddd03++)_0x5ddd03<0x80?_0x3c1373[_0x5ddd03]=_0x5ddd03<<0x1:_0x3c1373[_0x5ddd03]=_0x5ddd03<<0x1^0x11b;for(var _0x227d02=0x0,_0x16067c=0x0,_0x5ddd03=0x0;_0x5ddd03<0x100;_0x5ddd03++){var _0x204649=_0x16067c^_0x16067c<<0x1^_0x16067c<<0x2^_0x16067c<<0x3^_0x16067c<<0x4;_0x204649=_0x204649>>>0x8^_0x204649&0xff^0x63,_0x40d133[_0x227d02]=_0x204649,_0x1c4e34[_0x204649]=_0x227d02;var _0x496497=_0x3c1373[_0x227d02],_0x3abe7c=_0x3c1373[_0x496497],_0xe6c85=_0x3c1373[_0x3abe7c],_0x2eb76b=_0x3c1373[_0x204649]*0x101^_0x204649*0x1010100;_0x534e92[_0x227d02]=_0x2eb76b<<0x18|_0x2eb76b>>>0x8,_0x12858d[_0x227d02]=_0x2eb76b<<0x10|_0x2eb76b>>>0x10,_0x446b63[_0x227d02]=_0x2eb76b<<0x8|_0x2eb76b>>>0x18,_0x1adc64[_0x227d02]=_0x2eb76b;var _0x2eb76b=_0xe6c85*0x1010101^_0x3abe7c*0x10001^_0x496497*0x101^_0x227d02*0x1010100;_0x4f84ff[_0x204649]=_0x2eb76b<<0x18|_0x2eb76b>>>0x8,_0x4a3100[_0x204649]=_0x2eb76b<<0x10|_0x2eb76b>>>0x10,_0x3c5ce0[_0x204649]=_0x2eb76b<<0x8|_0x2eb76b>>>0x18,_0x4c02a6[_0x204649]=_0x2eb76b,_0x227d02?(_0x227d02=_0x496497^_0x3c1373[_0x3c1373[_0x3c1373[_0xe6c85^_0x496497]]],_0x16067c^=_0x3c1373[_0x3c1373[_0x16067c]]):_0x227d02=_0x16067c=0x1;}}());var _0x5b2116=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4bc959=_0x3b6c81[_0x4df5f4(0x185)]=_0x2ffa3a['extend']({'_doReset':function(){var _0x4bae2c=_0x4df5f4,_0x4b41c6;if(!(this[_0x4bae2c(0x171)]&&this[_0x4bae2c(0x1e8)]===this[_0x4bae2c(0x229)])){for(var _0x6914=this[_0x4bae2c(0x1e8)]=this[_0x4bae2c(0x229)],_0x239d6f=_0x6914[_0x4bae2c(0x24c)],_0x215263=_0x6914[_0x4bae2c(0x127)]/0x4,_0x42a4c9=this[_0x4bae2c(0x171)]=_0x215263+0x6,_0x33104f=(_0x42a4c9+0x1)*0x4,_0x1ab20e=this[_0x4bae2c(0x20b)]=[],_0x8fc351=0x0;_0x8fc351<_0x33104f;_0x8fc351++)_0x8fc351<_0x215263?_0x1ab20e[_0x8fc351]=_0x239d6f[_0x8fc351]:(_0x4b41c6=_0x1ab20e[_0x8fc351-0x1],_0x8fc351%_0x215263?_0x215263>0x6&&_0x8fc351%_0x215263==0x4&&(_0x4b41c6=_0x40d133[_0x4b41c6>>>0x18]<<0x18|_0x40d133[_0x4b41c6>>>0x10&0xff]<<0x10|_0x40d133[_0x4b41c6>>>0x8&0xff]<<0x8|_0x40d133[_0x4b41c6&0xff]):(_0x4b41c6=_0x4b41c6<<0x8|_0x4b41c6>>>0x18,_0x4b41c6=_0x40d133[_0x4b41c6>>>0x18]<<0x18|_0x40d133[_0x4b41c6>>>0x10&0xff]<<0x10|_0x40d133[_0x4b41c6>>>0x8&0xff]<<0x8|_0x40d133[_0x4b41c6&0xff],_0x4b41c6^=_0x5b2116[_0x8fc351/_0x215263|0x0]<<0x18),_0x1ab20e[_0x8fc351]=_0x1ab20e[_0x8fc351-_0x215263]^_0x4b41c6);for(var _0x2af8c9=this[_0x4bae2c(0x33e)]=[],_0x1c7736=0x0;_0x1c7736<_0x33104f;_0x1c7736++){var _0x8fc351=_0x33104f-_0x1c7736;if(_0x1c7736%0x4)var _0x4b41c6=_0x1ab20e[_0x8fc351];else var _0x4b41c6=_0x1ab20e[_0x8fc351-0x4];_0x1c7736<0x4||_0x8fc351<=0x4?_0x2af8c9[_0x1c7736]=_0x4b41c6:_0x2af8c9[_0x1c7736]=_0x4f84ff[_0x40d133[_0x4b41c6>>>0x18]]^_0x4a3100[_0x40d133[_0x4b41c6>>>0x10&0xff]]^_0x3c5ce0[_0x40d133[_0x4b41c6>>>0x8&0xff]]^_0x4c02a6[_0x40d133[_0x4b41c6&0xff]];}}},'encryptBlock':function(_0x2ec6b1,_0x135ca9){var _0x2be15c=_0x4df5f4;this['_doCryptBlock'](_0x2ec6b1,_0x135ca9,this[_0x2be15c(0x20b)],_0x534e92,_0x12858d,_0x446b63,_0x1adc64,_0x40d133);},'decryptBlock':function(_0x34e411,_0x4563d1){var _0x431031=_0x4df5f4,_0x42e496=_0x34e411[_0x4563d1+0x1];_0x34e411[_0x4563d1+0x1]=_0x34e411[_0x4563d1+0x3],_0x34e411[_0x4563d1+0x3]=_0x42e496,this[_0x431031(0x16c)](_0x34e411,_0x4563d1,this[_0x431031(0x33e)],_0x4f84ff,_0x4a3100,_0x3c5ce0,_0x4c02a6,_0x1c4e34);var _0x42e496=_0x34e411[_0x4563d1+0x1];_0x34e411[_0x4563d1+0x1]=_0x34e411[_0x4563d1+0x3],_0x34e411[_0x4563d1+0x3]=_0x42e496;},'_doCryptBlock':function(_0x554f0c,_0x17be49,_0x30a90a,_0x2eea37,_0x25f612,_0x1eb870,_0x2ecfd7,_0x7fd537){for(var _0x15d7ba=this['_nRounds'],_0x587b23=_0x554f0c[_0x17be49]^_0x30a90a[0x0],_0x4f405b=_0x554f0c[_0x17be49+0x1]^_0x30a90a[0x1],_0x20a069=_0x554f0c[_0x17be49+0x2]^_0x30a90a[0x2],_0x3a81e7=_0x554f0c[_0x17be49+0x3]^_0x30a90a[0x3],_0x325818=0x4,_0xd16980=0x1;_0xd16980<_0x15d7ba;_0xd16980++){var _0x4cae0f=_0x2eea37[_0x587b23>>>0x18]^_0x25f612[_0x4f405b>>>0x10&0xff]^_0x1eb870[_0x20a069>>>0x8&0xff]^_0x2ecfd7[_0x3a81e7&0xff]^_0x30a90a[_0x325818++],_0xdeeb86=_0x2eea37[_0x4f405b>>>0x18]^_0x25f612[_0x20a069>>>0x10&0xff]^_0x1eb870[_0x3a81e7>>>0x8&0xff]^_0x2ecfd7[_0x587b23&0xff]^_0x30a90a[_0x325818++],_0x5f3b00=_0x2eea37[_0x20a069>>>0x18]^_0x25f612[_0x3a81e7>>>0x10&0xff]^_0x1eb870[_0x587b23>>>0x8&0xff]^_0x2ecfd7[_0x4f405b&0xff]^_0x30a90a[_0x325818++],_0x5ddce6=_0x2eea37[_0x3a81e7>>>0x18]^_0x25f612[_0x587b23>>>0x10&0xff]^_0x1eb870[_0x4f405b>>>0x8&0xff]^_0x2ecfd7[_0x20a069&0xff]^_0x30a90a[_0x325818++];_0x587b23=_0x4cae0f,_0x4f405b=_0xdeeb86,_0x20a069=_0x5f3b00,_0x3a81e7=_0x5ddce6;}var _0x4cae0f=(_0x7fd537[_0x587b23>>>0x18]<<0x18|_0x7fd537[_0x4f405b>>>0x10&0xff]<<0x10|_0x7fd537[_0x20a069>>>0x8&0xff]<<0x8|_0x7fd537[_0x3a81e7&0xff])^_0x30a90a[_0x325818++],_0xdeeb86=(_0x7fd537[_0x4f405b>>>0x18]<<0x18|_0x7fd537[_0x20a069>>>0x10&0xff]<<0x10|_0x7fd537[_0x3a81e7>>>0x8&0xff]<<0x8|_0x7fd537[_0x587b23&0xff])^_0x30a90a[_0x325818++],_0x5f3b00=(_0x7fd537[_0x20a069>>>0x18]<<0x18|_0x7fd537[_0x3a81e7>>>0x10&0xff]<<0x10|_0x7fd537[_0x587b23>>>0x8&0xff]<<0x8|_0x7fd537[_0x4f405b&0xff])^_0x30a90a[_0x325818++],_0x5ddce6=(_0x7fd537[_0x3a81e7>>>0x18]<<0x18|_0x7fd537[_0x587b23>>>0x10&0xff]<<0x10|_0x7fd537[_0x4f405b>>>0x8&0xff]<<0x8|_0x7fd537[_0x20a069&0xff])^_0x30a90a[_0x325818++];_0x554f0c[_0x17be49]=_0x4cae0f,_0x554f0c[_0x17be49+0x1]=_0xdeeb86,_0x554f0c[_0x17be49+0x2]=_0x5f3b00,_0x554f0c[_0x17be49+0x3]=_0x5ddce6;},'keySize':0x100/0x20});_0x1a0e59[_0x4df5f4(0x185)]=_0x2ffa3a[_0x4df5f4(0x1b0)](_0x4bc959);}()),_0x1c04a7[_0xc32e47(0x185)];}));}(Ve)),Ve[_0x196516(0x2e3)];}var gn=Sn();const Tn=$e(gn);var On=Ni();const ti=$e(On);var Je={'exports':{}},Rn=Je['exports'],ii;function Nn(){var _0x2ed4ac=_0x121d26;return ii||(ii=0x1,function(_0x4ebb55,_0x3c7e25){(function(_0x21eca1,_0x42801c){var _0x36e7e4=_0x21ef;_0x4ebb55[_0x36e7e4(0x2e3)]=_0x42801c(ie());}(Rn,function(_0x52c18f){var _0x3c3e9d=_0x21ef;return _0x52c18f[_0x3c3e9d(0x32b)][_0x3c3e9d(0x223)];}));}(Je)),Je[_0x2ed4ac(0x2e3)];}var Cn=Nn();const bn=$e(Cn);var Ze={'exports':{}},Dn=Ze[_0x121d26(0x2e3)],si;function yn(){var _0x3a25e0=_0x121d26;return si||(si=0x1,function(_0x4b8d60,_0x58faa1){(function(_0x4d0408,_0x4419f8){_0x4b8d60['exports']=_0x4419f8(ie());}(Dn,function(_0x29e20a){var _0x2ffb40=_0x21ef;return(function(){var _0x29e5a3=_0x21ef;if(typeof ArrayBuffer==_0x29e5a3(0x34e)){var _0x3d32bb=_0x29e20a,_0x10afca=_0x3d32bb[_0x29e5a3(0x19e)],_0x141204=_0x10afca[_0x29e5a3(0x356)],_0x38a965=_0x141204[_0x29e5a3(0x193)],_0x3007d3=_0x141204[_0x29e5a3(0x193)]=function(_0x4a1f74){var _0x37c18c=_0x29e5a3;if(_0x4a1f74 instanceof ArrayBuffer&&(_0x4a1f74=new Uint8Array(_0x4a1f74)),(_0x4a1f74 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4a1f74 instanceof Uint8ClampedArray||_0x4a1f74 instanceof Int16Array||_0x4a1f74 instanceof Uint16Array||_0x4a1f74 instanceof Int32Array||_0x4a1f74 instanceof Uint32Array||_0x4a1f74 instanceof Float32Array||_0x4a1f74 instanceof Float64Array)&&(_0x4a1f74=new Uint8Array(_0x4a1f74[_0x37c18c(0x144)],_0x4a1f74[_0x37c18c(0x190)],_0x4a1f74[_0x37c18c(0x1c6)])),_0x4a1f74 instanceof Uint8Array){for(var _0x3c70c2=_0x4a1f74[_0x37c18c(0x1c6)],_0xa74b17=[],_0x42e1e1=0x0;_0x42e1e1<_0x3c70c2;_0x42e1e1++)_0xa74b17[_0x42e1e1>>>0x2]|=_0x4a1f74[_0x42e1e1]<<0x18-_0x42e1e1%0x4*0x8;_0x38a965[_0x37c18c(0x1fb)](this,_0xa74b17,_0x3c70c2);}else _0x38a965[_0x37c18c(0x2a5)](this,arguments);};_0x3007d3['prototype']=_0x141204;}}()),_0x29e20a[_0x2ffb40(0x19e)][_0x2ffb40(0x356)];}));}(Ze)),Ze[_0x3a25e0(0x2e3)];}var Un=yn();const An=$e(Un);var Qe={'exports':{}},Pn=Qe['exports'],ni;function Ln(){var _0xfb3dc2=_0x121d26;return ni||(ni=0x1,function(_0x2e3f8b,_0x2b9b05){(function(_0x432164,_0x47017f,_0x158185){_0x2e3f8b['exports']=_0x47017f(ie(),bi());}(Pn,function(_0x5da0ff){var _0x2639f3=_0x21ef;return _0x5da0ff['pad'][_0x2639f3(0x221)]={'pad':function(){},'unpad':function(){}},_0x5da0ff[_0x2639f3(0x35e)]['NoPadding'];}));}(Qe)),Qe[_0xfb3dc2(0x2e3)];}var Mn=Ln();const wn=$e(Mn);function xn(_0x924a31,_0x5b0627){var _0x351b45=_0x121d26;const _0x47fe7b=_0x5b0627-_0x924a31['length']%_0x5b0627,_0x4c8617=String[_0x351b45(0x2bb)](_0x47fe7b)[_0x351b45(0x172)](_0x47fe7b);return _0x924a31+_0x4c8617;}function kn(_0x59b724,_0x36a8cc){var _0x5357dd=_0x121d26;const _0x48a98e=An[_0x5357dd(0x29e)](0x10),_0x472764=xn(_0x59b724,0x10),_0x38eaba=Tn[_0x5357dd(0x261)](bn[_0x5357dd(0x240)](_0x472764),ti['parse'](_0x36a8cc),{'iv':_0x48a98e,'padding':wn});return _0x48a98e['concat'](_0x38eaba[_0x5357dd(0x411)])[_0x5357dd(0x3aa)](ti);}function $n(){var _0x1d7f91=_0x121d26;const _0x2cf373=_0xbbdc34()[_0x1d7f91(0x2a2)];if(_0x2cf373){const _0x30ab57={'time':Math[_0x1d7f91(0x319)](Date[_0x1d7f91(0x188)]()/0x3e8),'domain':location[_0x1d7f91(0x41d)]};return kn(JSON['stringify'](_0x30ab57),_0x2cf373);}}var Hn=Object[_0x121d26(0x145)],Bn=(_0x24ed69,_0x40503b,_0x12b419,_0x59516a)=>{var _0x43c73c=_0x121d26;for(var _0x3a437c=_0x59516a>0x1?void 0x0:_0x59516a?Hn(_0x40503b,_0x12b419):_0x40503b,_0x44d730=_0x24ed69[_0x43c73c(0x234)]-0x1,_0x2509cb;_0x44d730>=0x0;_0x44d730--)(_0x2509cb=_0x24ed69[_0x44d730])&&(_0x3a437c=_0x2509cb(_0x3a437c)||_0x3a437c);return _0x3a437c;},Fn=(_0x1bc262,_0xba1945)=>(_0x460541,_0x3af1fd)=>_0xba1945(_0x460541,_0x3af1fd,_0x1bc262);let at=class{constructor(_0x235463){var _0x45c9ba=_0x121d26;this['_httpService']=_0x235463,this[_0x45c9ba(0x199)]();}[_0x121d26(0x199)](){var _0x2fafad=_0x121d26;this[_0x2fafad(0x235)][_0x2fafad(0x2f4)]({'interceptor':(_0x2d147d,_0x489d58)=>{var _0x27f2db=_0x2fafad;const _0x160fe9=_0x2d147d[_0x27f2db(0x2b3)],_0x492e60=$n();return _0x492e60&&_0x160fe9[_0x27f2db(0x204)](_0x27f2db(0x332),_0x492e60),_0x489d58(_0x2d147d);}});}};at=Bn([Fn(0x0,_0x203c15(_0x1a7bf7))],at);var jn=Object[_0x121d26(0x145)],Vn=(_0xe29090,_0x525697,_0x5da9a2,_0x1f7269)=>{for(var _0x456cef=_0x1f7269>0x1?void 0x0:_0x1f7269?jn(_0x525697,_0x5da9a2):_0x525697,_0x596c65=_0xe29090['length']-0x1,_0x57866b;_0x596c65>=0x0;_0x596c65--)(_0x57866b=_0xe29090[_0x596c65])&&(_0x456cef=_0x57866b(_0x456cef)||_0x456cef);return _0x456cef;},vt=(_0x34c09e,_0x517416)=>(_0x5a1f20,_0x335529)=>_0x517416(_0x5a1f20,_0x335529,_0x34c09e);let Ot=class extends _0xfba5ec{constructor(_0x40a653,_0x3e81b8,_0x3b7c10){var _0x469a02=_0x121d26;super(),D(this,_0x469a02(0x228),new _0x318a14(null)),D(this,_0x469a02(0x35d),this[_0x469a02(0x228)]['asObservable']()),(this[_0x469a02(0x180)]=_0x40a653,this[_0x469a02(0x404)]=_0x3e81b8,this[_0x469a02(0x3c6)]=_0x3b7c10);}async[_0x121d26(0x1f2)](_0x4e2df5,_0xd7b7bd,_0x222ca1){var _0x9446a4=_0x121d26;this[_0x9446a4(0x228)][_0x9446a4(0x186)]({'unitId':_0x4e2df5,'type':_0xd7b7bd});let _0x1982d9=null;switch(_0xd7b7bd){case Q[_0x9446a4(0x338)]:{_0x1982d9=await this[_0x9446a4(0x404)][_0x9446a4(0x139)](_0x4e2df5,_0x222ca1);break;}case Q[_0x9446a4(0x363)]:{_0x1982d9=await this[_0x9446a4(0x404)][_0x9446a4(0x2a4)](_0x4e2df5,_0x222ca1);break;}default:{this[_0x9446a4(0x180)][_0x9446a4(0x118)](_0x9446a4(0x1e3),_0x9446a4(0x1f1));break;}}return _0x1982d9;}async[_0x121d26(0x326)](_0x491254,_0xbe4f77,_0x1a04fc){var _0x2c44fa=_0x121d26,_0x52238d;this[_0x2c44fa(0x228)]['next']({'unitId':_0x491254,'type':_0xbe4f77,'subUnitId':_0x1a04fc});let _0x19d0b5=0x0;const _0x13b4fa=await((_0x52238d=this[_0x2c44fa(0x3c6)])==null?void 0x0:_0x52238d[_0x2c44fa(0x3b9)](_0x491254));return _0x13b4fa&&(_0x13b4fa[_0x2c44fa(0x254)]||_0x13b4fa[_0x2c44fa(0x22f)][_0x2c44fa(0x234)]!==0x0)&&(_0x19d0b5=_0x13b4fa[_0x2c44fa(0x40c)]),_0x19d0b5===0x0&&this[_0x2c44fa(0x180)][_0x2c44fa(0x11f)](_0x2c44fa(0x1e3),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x491254,_0xbe4f77,_0x19d0b5);}};Ot=Vn([vt(0x0,_0x25770b),vt(0x1,_0x203c15(_0x479edc)),vt(0x2,_0x83b4c2(X))],Ot);var Gn=Object[_0x121d26(0x145)],Wn=(_0x388eb5,_0x31fb1f,_0x5ce6ff,_0x6d6da7)=>{var _0x1bdd66=_0x121d26;for(var _0x2fe19b=_0x6d6da7>0x1?void 0x0:_0x6d6da7?Gn(_0x31fb1f,_0x5ce6ff):_0x31fb1f,_0x283eaf=_0x388eb5[_0x1bdd66(0x234)]-0x1,_0x593c3c;_0x283eaf>=0x0;_0x283eaf--)(_0x593c3c=_0x388eb5[_0x283eaf])&&(_0x2fe19b=_0x593c3c(_0x2fe19b)||_0x2fe19b);return _0x2fe19b;},Et=(_0x4c6226,_0x1d0f97)=>(_0x269c7f,_0x1cc96f)=>_0x1d0f97(_0x269c7f,_0x1cc96f,_0x4c6226);const Yn=[_0x121d26(0x305),'image/jpeg','image/jpg',_0x121d26(0x207),_0x121d26(0x330)],Kn=0x5*0x400*0x400,qn=_0x121d26(0x140),zn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x1846f0,_0x15efde,_0x26a2d6){var _0x139afd=_0x121d26;D(this,_0x139afd(0x3fc),0x0),D(this,_0x139afd(0x336),new _0x545a47()),D(this,_0x139afd(0x41a),this[_0x139afd(0x336)]),D(this,'_imageSourceCache',new Map()),(this[_0x139afd(0x235)]=_0x1846f0,this[_0x139afd(0x282)]=_0x15efde,this[_0x139afd(0x1f3)]=_0x26a2d6);}[_0x121d26(0x432)](_0x203835){var _0x396d37=_0x121d26;this[_0x396d37(0x3fc)]=_0x203835,this['_change$'][_0x396d37(0x186)](_0x203835);}[_0x121d26(0x307)](_0xc5e127,_0x1be728){var _0x4984ed=_0x121d26;if(_0x1be728===_0x311088['BASE64']){const _0xc75398=new Image();return _0xc75398[_0x4984ed(0x351)]=_0xc5e127,_0xc75398;}return this[_0x4984ed(0x352)][_0x4984ed(0x23a)](_0xc5e127);}[_0x121d26(0x2d9)](_0x1acfc2,_0x4fec8e,_0x59bcc3){var _0x3b9156=_0x121d26;_0x4fec8e===_0x311088[_0x3b9156(0x1f7)]||_0x59bcc3==null||this[_0x3b9156(0x352)][_0x3b9156(0x204)](_0x1acfc2,_0x59bcc3);}async[_0x121d26(0x1bf)](_0x1fcd37){var _0x4d30c7=_0x121d26;try{const _0x462a08=this[_0x4d30c7(0x1e4)](this[_0x4d30c7(0x211)](),''+_0x1fcd37),_0xfb5589=(await this[_0x4d30c7(0x235)][_0x4d30c7(0x23a)](_0x462a08))[_0x4d30c7(0x355)];if(_0xfb5589[_0x4d30c7(0x118)]&&_0xfb5589[_0x4d30c7(0x118)][_0x4d30c7(0x2fa)]===vi['OK']){const _0x2f95d8=new URL(_0xfb5589[_0x4d30c7(0x2c5)],this['_getDownloadEndpointURL']())[_0x4d30c7(0x3aa)]();return Promise[_0x4d30c7(0x286)](_0x2f95d8);}return Promise[_0x4d30c7(0x1ef)](_0xfb5589['error']);}catch(_0x403c62){return Promise[_0x4d30c7(0x1ef)](_0x403c62);}}async[_0x121d26(0x2df)](_0x1a5232){var _0x2db161=_0x121d26;let _0x15420b='';if(!Yn[_0x2db161(0x306)](_0x1a5232[_0x2db161(0x346)]))return this[_0x2db161(0x280)](),Promise[_0x2db161(0x1ef)](new Error(_0x2e33ae['ERROR_IMAGE_TYPE']));if(_0x1a5232['size']>Kn)return this[_0x2db161(0x280)](),Promise[_0x2db161(0x1ef)](new Error(_0x2e33ae[_0x2db161(0x1cf)]));try{const _0x1e98ce=new FormData();_0x1e98ce[_0x2db161(0x349)](_0x2db161(0x3e6),_0x1a5232);const _0x2eb91b=this[_0x2db161(0x1f3)][_0x2db161(0x12b)](),_0x5a9853=_0x2eb91b==null?void 0x0:_0x2eb91b['getUnitId']();if(!_0x5a9853)throw new Error(_0x2db161(0x325));const _0x3dcb15=this[_0x2db161(0x195)]()+_0x2db161(0x3b0)+_0x1a5232[_0x2db161(0x14b)][_0x2db161(0x3aa)]()+_0x2db161(0x41b)+Ei['UnitEmbedded']+_0x2db161(0x2da)+encodeURIComponent(_0x5a9853),_0x2954dd={'body':_0x1e98ce},_0x3f5a05=(await this[_0x2db161(0x235)][_0x2db161(0x1af)](_0x3dcb15,_0x2954dd))[_0x2db161(0x355)];if(typeof _0x3f5a05[_0x2db161(0x232)]!=_0x2db161(0x3db))return this[_0x2db161(0x280)](),Promise['reject'](new Error(_0x2e33ae[_0x2db161(0x161)]));_0x15420b=_0x3f5a05['FileId'];}catch{return this[_0x2db161(0x280)](),Promise[_0x2db161(0x1ef)](new Error(_0x2e33ae['ERROR_IMAGE']));}return new Promise((_0x50266f,_0x24d8c0)=>{var _0x1f144b=_0x2db161;const _0x4ce33c=new FileReader();_0x4ce33c['readAsDataURL'](_0x1a5232),_0x4ce33c[_0x1f144b(0x1c3)]=_0x1ed4e2=>{var _0x1036ca=_0x1f144b,_0x49db68;const _0x565f93=(_0x49db68=_0x1ed4e2[_0x1036ca(0x249)])==null?void 0x0:_0x49db68[_0x1036ca(0x133)];if(_0x565f93==null){this[_0x1036ca(0x280)](),_0x24d8c0(new Error(_0x2e33ae[_0x1036ca(0x161)]));return;}const _0x4df4ec=_0x5a6929(0x6);_0x50266f({'imageId':_0x4df4ec,'imageSourceType':_0x311088['UUID'],'source':_0x15420b,'base64Cache':_0x565f93,'status':_0x2e33ae[_0x1036ca(0x30e)]}),this[_0x1036ca(0x280)]();};});}[_0x121d26(0x195)](){var _0x3c0af3;const _0x5b88eb=this['_configService']['getConfig'](K);return(_0x3c0af3=_0x5b88eb==null?void 0x0:_0x5b88eb['uploadFileServerUrl'])!=null?_0x3c0af3:qn;}['_getSignURL'](){var _0x43bbed=_0x121d26,_0x392e60;const _0x150ba2=this[_0x43bbed(0x282)][_0x43bbed(0x27b)](K);return(_0x392e60=_0x150ba2==null?void 0x0:_0x150ba2[_0x43bbed(0x328)])!=null?_0x392e60:zn;}[_0x121d26(0x37f)](){var _0x2d8254=_0x121d26,_0x2efc42;const _0x467a68=this[_0x2d8254(0x282)]['getConfig'](K);return(_0x2efc42=_0x467a68==null?void 0x0:_0x467a68[_0x2d8254(0x1ce)])!=null?_0x2efc42:location[_0x2d8254(0x3fe)];}[_0x121d26(0x1e4)](_0x2b4c7a,_0x574806){var _0x27f73d=_0x121d26;return _0x2b4c7a['replace'](_0x27f73d(0x206),_0x574806);}['_decreaseWaiting'](){var _0x28700d=_0x121d26;this[_0x28700d(0x3fc)]-=0x1,this[_0x28700d(0x336)][_0x28700d(0x186)](this[_0x28700d(0x3fc)]);}};Rt=Wn([Et(0x0,_0x203c15(_0x1a7bf7)),Et(0x1,_0x5d33d6),Et(0x2,_0x203c15(_0x3b6c0b))],Rt);var Xn=Object[_0x121d26(0x145)],Jn=(_0x17e54d,_0x36b4d5,_0x18be71,_0x49b3ea)=>{var _0x2605ef=_0x121d26;for(var _0x1df131=_0x49b3ea>0x1?void 0x0:_0x49b3ea?Xn(_0x36b4d5,_0x18be71):_0x36b4d5,_0x15345b=_0x17e54d[_0x2605ef(0x234)]-0x1,_0x4765af;_0x15345b>=0x0;_0x15345b--)(_0x4765af=_0x17e54d[_0x15345b])&&(_0x1df131=_0x4765af(_0x1df131)||_0x1df131);return _0x1df131;},ri=(_0x303957,_0x4c68ba)=>(_0x220045,_0x3ffafa)=>_0x4c68ba(_0x220045,_0x3ffafa,_0x303957);const Zn=_0x121d26(0x428);let Nt=class{constructor(_0x54afaf,_0x1e86fd){var _0x1a25a4=_0x121d26;this['_configService']=_0x54afaf,this[_0x1a25a4(0x1a1)]=_0x1e86fd;}[_0x121d26(0x177)](){var _0x3eb804=_0x121d26,_0x144325;const _0x4e4649=this[_0x3eb804(0x282)][_0x3eb804(0x27b)](K);return(_0x144325=_0x4e4649==null?void 0x0:_0x4e4649['authzUrl'])!=null?_0x144325:Zn;}async[_0x121d26(0x3a5)](_0x45e431){var _0x1bb972=_0x121d26;const _0x3d7073=this['_getAPIPrefixPath']()+_0x1bb972(0x1ee);return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x3d7073,{'params':{'objectID':_0x45e431[_0x1bb972(0x439)],'unitID':_0x45e431[_0x1bb972(0x439)]}}))[_0x1bb972(0x355)][_0x1bb972(0x169)][_0x1bb972(0x241)](_0x53afc6=>({'objectId':_0x53afc6['id'],'name':_0x53afc6[_0x1bb972(0x317)][_0x1bb972(0x293)],'metadata':{'icon':_0x53afc6['subject'][_0x1bb972(0x22a)]},'label':_0x53afc6[_0x1bb972(0x317)][_0x1bb972(0x293)],'objectType':_0x1ba2be[_0x1bb972(0x1eb)]})),'metadata':{},'type':_0x1ba2be[_0x1bb972(0x1eb)]}]};}};Nt=Jn([ri(0x0,_0x203c15(_0x5d33d6)),ri(0x1,_0x203c15(_0x1a7bf7))],Nt);var Qn=Object[_0x121d26(0x145)],er=(_0x3c1bce,_0x3211f4,_0x3c1b44,_0x326810)=>{for(var _0x37d124=_0x326810>0x1?void 0x0:_0x326810?Qn(_0x3211f4,_0x3c1b44):_0x3211f4,_0x43ab04=_0x3c1bce['length']-0x1,_0x146556;_0x43ab04>=0x0;_0x43ab04--)(_0x146556=_0x3c1bce[_0x43ab04])&&(_0x37d124=_0x146556(_0x37d124)||_0x37d124);return _0x37d124;},Ue=(_0x559d34,_0x2b8e1d)=>(_0x3689eb,_0xa27d10)=>_0x2b8e1d(_0x3689eb,_0xa27d10,_0x559d34);let ot=class extends _0xfba5ec{constructor(_0x3b77cb,_0x4fa445,_0x125d61,_0x57c135,_0x31a28b){var _0x37a77a=_0x121d26;super(),this[_0x37a77a(0x263)]=_0x3b77cb,this['_univerInstanceService']=_0x4fa445,this['_permissionService']=_0x125d61,this[_0x37a77a(0x3a7)]=_0x57c135,this['_collaborationUIEventService']=_0x31a28b,this[_0x37a77a(0x214)](),this[_0x37a77a(0x2f2)]();}['_initCloseConn'](){var _0x357a10=_0x121d26;const _0x13341e=async _0x337448=>{var _0x308069=_0x21ef;(await this[_0x308069(0x3a7)]['requireSession'](_0x337448))['event$'][_0x308069(0x3c2)](_0x522f25(_0x7c0871=>_0x7c0871[_0x308069(0x408)]===_0x33c4f2[_0x308069(0x137)]),_0xcab057(this['dispose$']))[_0x308069(0x11c)](_0x33b793=>{var _0xcec7aa=_0x308069;const _0x4bb44f=_0x33b793,{reason:_0x5e9d86}=_0x4bb44f[_0xcec7aa(0x373)];this[_0xcec7aa(0x2a0)][_0xcec7aa(0x335)]({'id':re[_0xcec7aa(0x1d6)],'data':_0x5e9d86}),this['_permissionService']['updatePermissionPoint'](new _0x598724(_0x337448)['id'],!0x1),this[_0xcec7aa(0x3a7)][_0xcec7aa(0x26c)](_0x337448);});};_0x3f0397(this['_univerInstanceService'][_0x357a10(0x314)](_0x43f769['UNIVER_SHEET']),this['_univerInstanceService'][_0x357a10(0x314)](_0x43f769['UNIVER_DOC']))[_0x357a10(0x3c2)](_0x28f923(_0x2b78bc=>_0x2b78bc[_0x357a10(0x173)]()),_0x522f25(_0x5bce28=>!_0x490d70(_0x5bce28)),_0xcab057(this[_0x357a10(0x426)]))[_0x357a10(0x11c)](_0x5586c7=>{_0x13341e(_0x5586c7);});}[_0x121d26(0x214)](){var _0x38f5f9=_0x121d26;const _0x56caea=async _0x9ba886=>{var _0x390824=_0x21ef;const _0xa8ca2c=await this[_0x390824(0x3a7)][_0x390824(0x24e)](_0x9ba886),_0x58a61c=this[_0x390824(0x263)][_0x390824(0x23a)](_0x30d6a3);_0xa8ca2c[_0x390824(0x2a3)][_0x390824(0x3c2)](_0x522f25(_0x5ca2d6=>_0x5ca2d6['eventID']===_0x33c4f2['UPDATE_PERMISSION_OBJ']),_0xcab057(this[_0x390824(0x426)]))[_0x390824(0x11c)](_0xa59939=>{var _0x501d3a=_0x390824;const _0x52ff24=_0xa59939,{objectId:_0x48f551}=_0x52ff24[_0x501d3a(0x373)];_0x48f551===_0x9ba886?_0x58a61c[_0x501d3a(0x2f0)](_0x9ba886):_0x58a61c[_0x501d3a(0x1a3)](_0x9ba886,_0x48f551);});};_0x3f0397(this[_0x38f5f9(0x1f3)]['getTypeOfUnitAdded$'](_0x43f769['UNIVER_SHEET']))[_0x38f5f9(0x3c2)](_0x28f923(_0x1c6213=>_0x1c6213[_0x38f5f9(0x173)]()),_0x522f25(_0x5111df=>!_0x490d70(_0x5111df)),_0xcab057(this[_0x38f5f9(0x426)]))[_0x38f5f9(0x11c)](_0x2c22ef=>{_0x56caea(_0x2c22ef);});}};ot=er([Ue(0x0,_0x203c15(_0x2c83be)),Ue(0x1,_0x3b6c0b),Ue(0x2,_0x5a99ac),Ue(0x3,_0x203c15(Le)),Ue(0x4,_0x203c15(ve))],ot);var tr=Object[_0x121d26(0x145)],ir=(_0x49f6ce,_0x200473,_0x5d2f79,_0x575b67)=>{var _0x2501fd=_0x121d26;for(var _0x2f54b6=_0x575b67>0x1?void 0x0:_0x575b67?tr(_0x200473,_0x5d2f79):_0x200473,_0x2d1c20=_0x49f6ce[_0x2501fd(0x234)]-0x1,_0x46b916;_0x2d1c20>=0x0;_0x2d1c20--)(_0x46b916=_0x49f6ce[_0x2d1c20])&&(_0x2f54b6=_0x46b916(_0x2f54b6)||_0x2f54b6);return _0x2f54b6;},ai=(_0x17ce60,_0x5d0a8e)=>(_0x3b8504,_0x113b5e)=>_0x5d0a8e(_0x3b8504,_0x113b5e,_0x17ce60);let Ct=class{constructor(_0xf30217,_0x18dfa3){var _0x24be21=_0x121d26;this[_0x24be21(0x282)]=_0xf30217,this[_0x24be21(0x235)]=_0x18dfa3;}async[_0x121d26(0x36d)](_0x2fb3e1,_0xc564ca){var _0xcd23f4=_0x121d26,_0x5516c0;const {unitID:_0x12502e,type:_0x51770d,revision:_0xc78f42=0x0}=_0xc564ca,_0x12591d=this[_0xcd23f4(0x202)]()+'/'+_0x51770d+_0xcd23f4(0x262)+_0x12502e+_0xcd23f4(0x1b9)+_0xc78f42,_0x4e4b43=(await this['_httpService'][_0xcd23f4(0x23a)](_0x12591d))[_0xcd23f4(0x355)],_0x33a405=(_0x5516c0=_0x4e4b43[_0xcd23f4(0x42a)])==null?void 0x0:_0x5516c0[_0xcd23f4(0x38b)];if(_0x33a405){const _0x127389=_0x33a405==null?void 0x0:_0x33a405[_0xcd23f4(0x267)],_0x3a6f8e=_0x744c0['encode'](_0x325a68(_0x127389));_0x33a405[_0xcd23f4(0x267)]=_0x3a6f8e,Object[_0xcd23f4(0x19f)](_0x33a405['sheets'])[_0xcd23f4(0x3c7)](([,_0x434253])=>{var _0x3ae532=_0xcd23f4;const _0x43e918=_0x434253[_0x3ae532(0x267)],_0x52aa88=_0x744c0[_0x3ae532(0x368)](_0x325a68(_0x43e918));_0x434253['originalMeta']=_0x52aa88;});}return _0x4e4b43;}async[_0x121d26(0x12c)](_0x4d9f81,_0x1e8507){var _0x4446fc=_0x121d26;const {unitID:_0x2751e0,type:_0x11d433,blockID:_0x2b5fd2}=_0x1e8507,_0x2ecfa7=this[_0x4446fc(0x218)]()+'/'+_0x11d433+_0x4446fc(0x262)+_0x2751e0+_0x4446fc(0x3cb)+_0x2b5fd2;return(await this['_httpService'][_0x4446fc(0x23a)](_0x2ecfa7))[_0x4446fc(0x355)];}async['getDeserializedSheetBlock'](_0x3eae13,_0x4f3577){var _0x16d50a=_0x121d26;const {unitID:_0x11dd37,type:_0x2f5335,blockID:_0x379828}=_0x4f3577,_0x1c61d3=this[_0x16d50a(0x218)]()+_0x16d50a(0x3cb)+_0x2f5335+_0x16d50a(0x262)+_0x11dd37+_0x16d50a(0x3cb)+_0x379828;return(await this[_0x16d50a(0x235)][_0x16d50a(0x23a)](_0x1c61d3))[_0x16d50a(0x355)];}async[_0x121d26(0x1c1)](_0x50c2fa,_0x22eda5){var _0x1894d2=_0x121d26;const {unitID:_0xc2bb0,type:_0xfed6a8,from:_0x50dd96,to:_0x19c558}=_0x22eda5,_0x16a778=this[_0x1894d2(0x218)]()+'/'+_0xfed6a8+_0x1894d2(0x262)+_0xc2bb0+_0x1894d2(0x391)+_0x50dd96+_0x1894d2(0x34f)+_0x19c558;return(await this[_0x1894d2(0x235)][_0x1894d2(0x23a)](_0x16a778))[_0x1894d2(0x355)];}['getSnapshotAPIPath'](){var _0x1db158=_0x121d26,_0x536dde;return(_0x536dde=this['_configService']['getConfig'](Es))!=null?_0x536dde:this[_0x1db158(0x218)]();}['_getAPIPrefix'](){var _0x17686e=_0x121d26,_0xfa5cdc;const _0x53f5d9=this[_0x17686e(0x282)][_0x17686e(0x27b)](K);return(_0xfa5cdc=_0x53f5d9==null?void 0x0:_0x53f5d9[_0x17686e(0x422)])!=null?_0xfa5cdc:vs;}async[_0x121d26(0x149)](_0x5ab945,_0x4f4eb8){var _0x221c7d=_0x121d26;const _0x40eacd='/universer-api/snapshot/'+_0x4f4eb8[_0x221c7d(0x346)]+_0x221c7d(0x262)+_0x4f4eb8[_0x221c7d(0x35a)]+_0x221c7d(0x2b7);return(await this[_0x221c7d(0x235)][_0x221c7d(0x23a)](_0x40eacd,{'params':{'resourceId':JSON[_0x221c7d(0x26e)](_0x4f4eb8[_0x221c7d(0x421)])}}))['body'];}[_0x121d26(0x1c8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x402e96=_0x121d26;throw new Error(_0x402e96(0x38e));}[_0x121d26(0x164)](){var _0x485282=_0x121d26;throw new Error(_0x485282(0x38e));}[_0x121d26(0x3d3)](){var _0x3a1767=_0x121d26;throw new Error(_0x3a1767(0x38e));}['copyFileMeta'](){var _0x432453=_0x121d26;throw new Error(_0x432453(0x38e));}[_0x121d26(0x2f6)](){var _0x37ef4b=_0x121d26;throw new Error(_0x37ef4b(0x38e));}};Ct=ir([ai(0x0,_0x5d33d6),ai(0x1,_0x203c15(_0x1a7bf7))],Ct);var sr=Object[_0x121d26(0x145)],nr=(_0x48d538,_0x59ce40,_0x4fd2c3,_0x2f8cee)=>{for(var _0x1f548d=_0x2f8cee>0x1?void 0x0:_0x2f8cee?sr(_0x59ce40,_0x4fd2c3):_0x59ce40,_0x4f4dc2=_0x48d538['length']-0x1,_0x30ba0f;_0x4f4dc2>=0x0;_0x4f4dc2--)(_0x30ba0f=_0x48d538[_0x4f4dc2])&&(_0x1f548d=_0x30ba0f(_0x1f548d)||_0x1f548d);return _0x1f548d;},Ae=(_0x3d9e2c,_0x5a3e9c)=>(_0x381cc5,_0x4a93f5)=>_0x5a3e9c(_0x381cc5,_0x4a93f5,_0x3d9e2c);let bt=class extends _0x76b333{constructor(_0x1edba3,_0x93c5f5,_0x406d57,_0x497ee9,_0x5ccc46){var _0x4bfd02=_0x121d26;super(_0x1edba3,_0x93c5f5,_0x406d57),this[_0x4bfd02(0x324)]=_0x497ee9,this[_0x4bfd02(0x180)]=_0x5ccc46;}[_0x121d26(0x1ba)](_0x48348e,_0x51087a){var _0x3cc6a8=_0x121d26;const _0x45b9c4=this[_0x3cc6a8(0x3c1)](_0x48348e);if(_0x45b9c4)try{const _0x1f4cca=this[_0x3cc6a8(0x22d)](_0x45b9c4,_0x51087a);this[_0x3cc6a8(0x134)](_0x48348e,_0x1f4cca);}catch(_0x557e62){this[_0x3cc6a8(0x180)]['error'](_0x3cc6a8(0x13f),_0x557e62),this['_clearUndo'](_0x48348e);}const _0x4a9a89=this[_0x3cc6a8(0x2ef)](_0x48348e);if(_0x4a9a89)try{const _0x2bdca0=this[_0x3cc6a8(0x22d)](_0x4a9a89,_0x51087a);this[_0x3cc6a8(0x1ae)](_0x48348e,_0x2bdca0);}catch(_0x4f8a7f){this[_0x3cc6a8(0x180)][_0x3cc6a8(0x118)](_0x4f8a7f),this['_clearRedo'](_0x48348e);}}[_0x121d26(0x2a1)](_0x5bb032){var _0x64bed9=_0x121d26;const _0x3970e7=this[_0x64bed9(0x3c1)](_0x5bb032);_0x3970e7&&(_0x3970e7[_0x64bed9(0x234)]=0x0,this['_updateStatus']());}[_0x121d26(0x129)](_0xff1bc){var _0x22786f=_0x121d26;const _0x280464=this[_0x22786f(0x2ef)](_0xff1bc);_0x280464&&(_0x280464[_0x22786f(0x234)]=0x0,this[_0x22786f(0x3d5)]());}[_0x121d26(0x134)](_0x70c745,_0x56285e){var _0x270dbb=_0x121d26;this['_undoStacks'][_0x270dbb(0x204)](_0x70c745,_0x56285e),this[_0x270dbb(0x3d5)]();}['_substituteRedoStack'](_0xd66406,_0x11177){var _0x4bf12e=_0x121d26;this[_0x4bf12e(0x12a)]['set'](_0xd66406,_0x11177),this[_0x4bf12e(0x3d5)]();}[_0x121d26(0x22d)](_0x20747b,_0x200c29){var _0x154a36=_0x121d26;const _0x2fee4a=[];let _0x44c397=_0x200c29,_0x165846=_0x200c29;for(let _0x20ecf1=_0x20747b[_0x154a36(0x234)]-0x1;_0x20ecf1>=0x0;_0x20ecf1--){const {unitID:_0x1b7c61,undoMutations:_0x1969cd,redoMutations:_0x14060d}=_0x20747b[_0x20ecf1],_0x278289=this[_0x154a36(0x324)][_0x154a36(0x32e)](_0x44c397,_0x1969cd),_0x5651f9=this['_transformService'][_0x154a36(0x32e)](_0x165846,_0x14060d);if(_0x1c2b13(_0x278289)||_0x1c2b13(_0x5651f9)){this[_0x154a36(0x180)]['error']('[CollaborationUndoRedoService]',_0x154a36(0x11a),_0x278289,_0x5651f9);break;}_0x44c397=_0x278289[_0x154a36(0x1d2)],_0x165846=_0x5651f9[_0x154a36(0x1d2)],_0x2fee4a[_0x154a36(0x1ea)]({'unitID':_0x1b7c61,'undoMutations':_0x278289[_0x154a36(0x2db)],'redoMutations':_0x5651f9[_0x154a36(0x2db)]});}return _0x2fee4a[_0x154a36(0x390)]();}};bt=nr([Ae(0x0,_0x3b6c0b),Ae(0x1,_0x774a67),Ae(0x2,_0x128fd5),Ae(0x3,_0x2ad6b6),Ae(0x4,_0x25770b)],bt);var rr=Object[_0x121d26(0x318)],ar=Object[_0x121d26(0x145)],or=(_0x261700,_0x21e09b,_0x2ce7f5)=>_0x21e09b in _0x261700?rr(_0x261700,_0x21e09b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ce7f5}):_0x261700[_0x21e09b]=_0x2ce7f5,cr=(_0x33b2c6,_0x3b3b9f,_0x50c81b,_0x1c0f1a)=>{var _0x5d77fa=_0x121d26;for(var _0x29c9dc=_0x1c0f1a>0x1?void 0x0:_0x1c0f1a?ar(_0x3b3b9f,_0x50c81b):_0x3b3b9f,_0x28989f=_0x33b2c6[_0x5d77fa(0x234)]-0x1,_0x3f57fd;_0x28989f>=0x0;_0x28989f--)(_0x3f57fd=_0x33b2c6[_0x28989f])&&(_0x29c9dc=_0x3f57fd(_0x29c9dc)||_0x29c9dc);return _0x29c9dc;},pt=(_0x111f55,_0xdd8e3)=>(_0x481bb7,_0x1ee739)=>_0xdd8e3(_0x481bb7,_0x1ee739,_0x111f55),_r=(_0x5b0945,_0x32c252,_0x3850fd)=>or(_0x5b0945,_0x32c252+'',_0x3850fd);const hr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x3ef419{constructor(_0xacd000,_0x597340,_0x419360,_0x4fab1e){var _0x4201f3=_0x121d26;super(),D(this,_0x4201f3(0x31a)),(this[_0x4201f3(0x180)]=_0x597340,this[_0x4201f3(0x263)]=_0x419360,this['_configService']=_0x4fab1e);const {..._0x4bb82e}=_0x5b93cb({},xs,_0xacd000);if(!_0x4bb82e['socketService'])throw new Error(_0x4201f3(0x2f8));this[_0x4201f3(0x31a)]=_0x4bb82e,this[_0x4201f3(0x282)][_0x4201f3(0x362)](K,_0x4bb82e);}[_0x121d26(0x405)](){var _0x3f5ea5=_0x121d26;this[_0x3f5ea5(0x2a7)](),this[_0x3f5ea5(0x230)]();}[_0x121d26(0x2a7)](){var _0x26fb03=_0x121d26,_0x1c51c8,_0x42975b;this[_0x26fb03(0x263)][_0x26fb03(0x152)](_0x134895)&&this[_0x26fb03(0x180)][_0x26fb03(0x118)](_0x26fb03(0x1dc),_0x26fb03(0x1fc));const _0x1d7c7a=_0x31f0b9([[_0x134895,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x26fb03(0x31a)][_0x26fb03(0x253)]}],[_0x19a600,{'useClass':Ct}],[_0x5eebc3,{'useClass':Tt}],[_0xba9fe1,{'useClass':Rt}],[_0x5397bf,{'useClass':Nt}],[nt],[gt]],(_0x1c51c8=this[_0x26fb03(0x31a)])==null?void 0x0:_0x1c51c8['override']);if(!((_0x42975b=this[_0x26fb03(0x31a)])!=null&&_0x42975b[_0x26fb03(0x30a)])){const _0x24d2b0=_0x1d7c7a['findIndex'](([_0x5208c6])=>_0x5208c6===_t);_0x24d2b0!==-0x1&&_0x1d7c7a['splice'](_0x24d2b0,0x1);}_0x660004(this[_0x26fb03(0x263)],_0x1d7c7a);}['_initDependencies'](){var _0x3d2ef4=_0x121d26,_0x135164,_0x526fbb,_0x83c534;this[_0x3d2ef4(0x263)][_0x3d2ef4(0x23a)](_0x1a7bf7)[_0x3d2ef4(0x2f4)]({'priority':0x14,'interceptor':_0x5ad284({'maxParallel':0x6})}),(_0x135164=this[_0x3d2ef4(0x31a)])!=null&&_0x135164[_0x3d2ef4(0x17e)]||(_0x526fbb=this[_0x3d2ef4(0x263)][_0x3d2ef4(0x23a)](X,_0x45dc1e[_0x3d2ef4(0x341)]))==null||_0x526fbb['disableLocalCache'](),(_0x83c534=this[_0x3d2ef4(0x31a)])!=null&&_0x83c534[_0x3d2ef4(0x1b8)]&&_0x382a12(this['_injector'],[[rt]]),_0x382a12(this['_injector'],[[at],[nt],[ot]]);}};_r(Dt,_0x121d26(0x238),hr),Dt=cr([_0x564b99(_0x2b1212,_0x482b92),pt(0x1,_0x25770b),pt(0x2,_0x203c15(_0x2c83be)),pt(0x3,_0x5d33d6)],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,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Tr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Is as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Rr as LOCAL_CACHE_INTERVAL,Or as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Nr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Ts 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,Vs as deserializeToCombResponse,br as getLocalCacheKey,Gs as serializeCombRequest};
|
|
1
|
+
var _0x1af020=_0x46eb;(function(_0x5e79ee,_0x2819c7){var _0x404a1=_0x46eb,_0x20a0c3=_0x5e79ee();while(!![]){try{var _0x111992=-parseInt(_0x404a1(0x397))/0x1+-parseInt(_0x404a1(0x3b6))/0x2*(-parseInt(_0x404a1(0x3b5))/0x3)+parseInt(_0x404a1(0x138))/0x4*(-parseInt(_0x404a1(0x3ae))/0x5)+parseInt(_0x404a1(0x146))/0x6*(-parseInt(_0x404a1(0x21e))/0x7)+parseInt(_0x404a1(0x459))/0x8*(parseInt(_0x404a1(0x1a9))/0x9)+-parseInt(_0x404a1(0x28e))/0xa+parseInt(_0x404a1(0x250))/0xb;if(_0x111992===_0x2819c7)break;else _0x20a0c3['push'](_0x20a0c3['shift']());}catch(_0xd7436a){_0x20a0c3['push'](_0x20a0c3['shift']());}}}(_0xaab0,0xdc500));var Di=Object[_0x1af020(0x155)],yi=(_0xf40f6b,_0x12de8e,_0x56cba1)=>_0x12de8e in _0xf40f6b?Di(_0xf40f6b,_0x12de8e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56cba1}):_0xf40f6b[_0x12de8e]=_0x56cba1,D=(_0x1cbea3,_0x36ed73,_0x332ac0)=>yi(_0x1cbea3,typeof _0x36ed73!=_0x1af020(0x2a6)?_0x36ed73+'':_0x36ed73,_0x332ac0);import{CollaborationEvent as _0x3684d2,ITransformService as _0x46ae73,isTransformMutationsWithChangesetSuccess as _0x2beb76,mapDocumentTypeToUniverType as _0x3c7be3,RevisionService as _0x270536,isTransformChangesetsSuccess as _0x1b50c6,EmptyMutationInfo as _0x284e90,CompressMutationService as _0x345f11,parseProtocolChangeset as _0xc1872c,uuidv4 as _0x276d8b,ISnapshotServerService as _0x19c334,parseChangesetToProtocol as _0xd2696a,SnapshotService as _0x4b1295,textEncoder as _0x4f6b51,b64DecodeUnicode as _0x1abfbf,isTransformMutationsWithChangesetFailure as _0x45f228,UniverCollaborationPlugin as _0x72d1ed}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x21edfd,Inject as _0x5d0be3,UserManagerService as _0x78de,Disposable as _0xb4e525,UniverInstanceType as _0x2d1c2d,ILogService as _0x229638,IConfigService as _0x5ee71f,Optional as _0x4e8ecc,RxDisposable as _0x40ffa0,createIdentifier as _0x50632f,Injector as _0x1be1d3,Tools as _0x55d6b0,Rectangle as _0x26b15b,ICommandService as _0x46cdbe,JSONX as _0x11ac14,IUndoRedoService as _0x49a547,IPermissionService as _0x15cd54,LocaleService as _0x33940c,sequenceExecute as _0xa4a0bd,toDisposable as _0x26346d,CommandType as _0x335a81,DisposableCollection as _0x38b259,Workbook as _0x149177,generateRandomId as _0x4fa07e,MentionType as _0x5abd48,isInternalEditorID as _0x355a5e,LocalUndoRedoService as _0x46b780,IContextService as _0x255e16,DependentOn as _0x4d6fea,Plugin as _0x442f48,merge as _0x4c847d,mergeOverrideWithDependencies as _0x5a2fc1,IAuthzIoService as _0x3f2be6,IMentionIOService as _0x4ed7d7,registerDependencies as _0x1f9a16,Quantity as _0x2a947a,touchDependencies as _0x467699}from'@univerjs/core';import{RichTextEditingMutation as _0x2b8681}from'@univerjs/docs';import{SheetsSelectionsService as _0x4adcb1,SetSelectionsOperation as _0x217978,InsertSheetMutation as _0x514b96,WorkbookEditablePermission as _0xa892a4,SheetPermissionInitController as _0x52540b}from'@univerjs/sheets';import{Subject as _0x396041,merge as _0xef5b1,of as _0x4995eb,BehaviorSubject as _0x360a3d,takeUntil as _0x498ac7,ReplaySubject as _0x4d8444,take as _0x31bd7b,map as _0x66cb61,shareReplay as _0x566eb2,firstValueFrom as _0x1a4226,concatMap as _0x3e3297}from'rxjs';import{ITelemetryService as _0x59046b}from'@univerjs/telemetry';import{map as _0x371f43,take as _0x57af45,filter as _0x134d5b,delay as _0x26a499,takeUntil as _0x8dd6f4}from'rxjs/operators';import{HTTPService as _0x20f1c2,ISocketService as _0x3918d1,MergeInterceptorFactory as _0x5c1fc6,HTTPRequest as _0x304815,UniverNetworkPlugin as _0x78f2a0,ThresholdInterceptorFactory as _0x448e61}from'@univerjs/network';import{ImageSourceType as _0x198f6d,ImageUploadStatusType as _0x279aeb,IImageIoService as _0x2db855}from'@univerjs/drawing';import{getGlobalObject as _0x27418e}from'@univerjs-pro/license';const vs=_0x1af020(0x35b),Es=_0x1af020(0x354),ps=0x7d0,ms=_0x1af020(0x241),Tr=_0x1af020(0x2ac),Is=_0x1af020(0x365),Ss=0x7530,di=_0x1af020(0x377),fi=0x4e20,gs=0x4e20,Ts=_0x1af020(0x322),Os=0x3,Or=_0x1af020(0x2c6),Rr=0x3e8,Rs=_0x1af020(0x223),Ns=_0x1af020(0x390),Nr=_0x1af020(0x425),Cr=_0x1af020(0x1fd);var vi=(_0xbc3de6=>(_0xbc3de6[_0xbc3de6[_0x1af020(0x190)]=0x0]=_0x1af020(0x190),_0xbc3de6[_0xbc3de6['OK']=0x1]='OK',_0xbc3de6[_0xbc3de6[_0x1af020(0x1b6)]=0x2]=_0x1af020(0x1b6),_0xbc3de6[_0xbc3de6[_0x1af020(0x33d)]=0x3]='PERMISSION_DENIED',_0xbc3de6[_0xbc3de6['NOT_FOUND']=0x4]='NOT_FOUND',_0xbc3de6[_0xbc3de6[_0x1af020(0x413)]=0x5]='UNAUTHENTICATED',_0xbc3de6[_0xbc3de6[_0x1af020(0x237)]=0x6]=_0x1af020(0x237),_0xbc3de6[_0xbc3de6['INVALID_ARGUMENT']=0x7]=_0x1af020(0x22b),_0xbc3de6[_0xbc3de6[_0x1af020(0x1d8)]=0x8]=_0x1af020(0x1d8),_0xbc3de6[_0xbc3de6[_0x1af020(0x29b)]=0x9]='COMPLETION_FINISHED',_0xbc3de6[_0xbc3de6[_0x1af020(0x257)]=0xa]=_0x1af020(0x257),_0xbc3de6[_0xbc3de6[_0x1af020(0x249)]=0xb]=_0x1af020(0x249),_0xbc3de6[_0xbc3de6[_0x1af020(0x170)]=0xc]=_0x1af020(0x170),_0xbc3de6[_0xbc3de6[_0x1af020(0x351)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xbc3de6[_0xbc3de6['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x1af020(0x3e8),_0xbc3de6[_0xbc3de6[_0x1af020(0x32b)]=0xf]=_0x1af020(0x32b),_0xbc3de6[_0xbc3de6[_0x1af020(0x1a3)]=0x10]=_0x1af020(0x1a3),_0xbc3de6[_0xbc3de6[_0x1af020(0x36a)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xbc3de6[_0xbc3de6[_0x1af020(0x3aa)]=0x65]=_0x1af020(0x3aa),_0xbc3de6[_0xbc3de6['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0xbc3de6[_0xbc3de6[_0x1af020(0x234)]=0xca]=_0x1af020(0x234),_0xbc3de6[_0xbc3de6['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0xbc3de6[_0xbc3de6[_0x1af020(0x159)]=0x1771]=_0x1af020(0x159),_0xbc3de6[_0xbc3de6[_0x1af020(0x40c)]=0x1772]=_0x1af020(0x40c),_0xbc3de6[_0xbc3de6[_0x1af020(0x29e)]=0x1773]=_0x1af020(0x29e),_0xbc3de6[_0xbc3de6[_0x1af020(0x320)]=0x1b59]=_0x1af020(0x320),_0xbc3de6[_0xbc3de6[_0x1af020(0x291)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xbc3de6[_0xbc3de6[_0x1af020(0x3d0)]=0x1b5b]=_0x1af020(0x3d0),_0xbc3de6[_0xbc3de6[_0x1af020(0x285)]=0x1b5c]=_0x1af020(0x285),_0xbc3de6[_0xbc3de6[_0x1af020(0x370)]=0x1b5d]=_0x1af020(0x370),_0xbc3de6[_0xbc3de6[_0x1af020(0x396)]=0x1f41]=_0x1af020(0x396),_0xbc3de6[_0xbc3de6[_0x1af020(0x31d)]=0x2329]=_0x1af020(0x31d),_0xbc3de6[_0xbc3de6[_0x1af020(0x43f)]=0x232a]=_0x1af020(0x43f),_0xbc3de6[_0xbc3de6[_0x1af020(0x27b)]=0x232b]=_0x1af020(0x27b),_0xbc3de6[_0xbc3de6[_0x1af020(0x281)]=0x232c]=_0x1af020(0x281),_0xbc3de6[_0xbc3de6[_0x1af020(0x204)]=0x232d]=_0x1af020(0x204),_0xbc3de6[_0xbc3de6[_0x1af020(0x196)]=0x2711]=_0x1af020(0x196),_0xbc3de6[_0xbc3de6['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xbc3de6[_0xbc3de6[_0x1af020(0x420)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xbc3de6[_0xbc3de6[_0x1af020(0x3a2)]=0x2714]=_0x1af020(0x3a2),_0xbc3de6[_0xbc3de6[_0x1af020(0x35e)]=0x271a]=_0x1af020(0x35e),_0xbc3de6[_0xbc3de6[_0x1af020(0x368)]=0x271b]=_0x1af020(0x368),_0xbc3de6[_0xbc3de6[_0x1af020(0x1d4)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xbc3de6[_0xbc3de6[_0x1af020(0x1fc)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xbc3de6[_0xbc3de6[_0x1af020(0x171)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xbc3de6[_0xbc3de6[_0x1af020(0x35d)]=0x271f]=_0x1af020(0x35d),_0xbc3de6[_0xbc3de6[_0x1af020(0x2d1)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xbc3de6[_0xbc3de6[_0x1af020(0x1cd)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xbc3de6[_0xbc3de6[_0x1af020(0x34c)]=0x2ee1]=_0x1af020(0x34c),_0xbc3de6[_0xbc3de6[_0x1af020(0x1df)]=0x2ee2]=_0x1af020(0x1df),_0xbc3de6[_0xbc3de6[_0x1af020(0x318)]=0x2ee3]=_0x1af020(0x318),_0xbc3de6[_0xbc3de6['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1af020(0x2b2),_0xbc3de6[_0xbc3de6[_0x1af020(0x1b5)]=0x2ee5]=_0x1af020(0x1b5),_0xbc3de6[_0xbc3de6[_0x1af020(0x27f)]=0x32c9]=_0x1af020(0x27f),_0xbc3de6[_0xbc3de6['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1af020(0x28f),_0xbc3de6[_0xbc3de6[_0x1af020(0x2db)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xbc3de6[_0xbc3de6['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x1af020(0x1a5),_0xbc3de6[_0xbc3de6['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x1af020(0x175),_0xbc3de6[_0xbc3de6[_0x1af020(0x3fc)]=0x36b3]=_0x1af020(0x3fc),_0xbc3de6[_0xbc3de6['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x1af020(0x26d),_0xbc3de6[_0xbc3de6[_0x1af020(0x2a5)]=0x36b5]=_0x1af020(0x2a5),_0xbc3de6[_0xbc3de6[_0x1af020(0x181)]=0x36b6]=_0x1af020(0x181),_0xbc3de6[_0xbc3de6[_0x1af020(0x24f)]=0x36b7]=_0x1af020(0x24f),_0xbc3de6[_0xbc3de6[_0x1af020(0x2c5)]=0x36b8]=_0x1af020(0x2c5),_0xbc3de6[_0xbc3de6['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1af020(0x3df),_0xbc3de6[_0xbc3de6[_0x1af020(0x454)]=0x3716]=_0x1af020(0x454),_0xbc3de6[_0xbc3de6[_0x1af020(0x157)]=0x3717]=_0x1af020(0x157),_0xbc3de6[_0xbc3de6[_0x1af020(0x340)]=0x37dd]=_0x1af020(0x340),_0xbc3de6[_0xbc3de6[_0x1af020(0x2e4)]=0x3a99]=_0x1af020(0x2e4),_0xbc3de6[_0xbc3de6[_0x1af020(0x393)]=0x3a9a]=_0x1af020(0x393),_0xbc3de6[_0xbc3de6[_0x1af020(0x33a)]=0x3a9b]=_0x1af020(0x33a),_0xbc3de6[_0xbc3de6[_0x1af020(0x2b9)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xbc3de6[_0xbc3de6[_0x1af020(0x2d7)]=0x3a9d]=_0x1af020(0x2d7),_0xbc3de6[_0xbc3de6[_0x1af020(0x3ef)]=0x3a9e]=_0x1af020(0x3ef),_0xbc3de6[_0xbc3de6[_0x1af020(0x3f4)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0xbc3de6[_0xbc3de6[_0x1af020(0x3f3)]=0x3e81]=_0x1af020(0x3f3),_0xbc3de6[_0xbc3de6[_0x1af020(0x238)]=-0x1]=_0x1af020(0x238),_0xbc3de6))(vi||{}),Q=(_0x4cee9d=>(_0x4cee9d[_0x4cee9d['UNIVER_UNKNOWN']=0x0]=_0x1af020(0x18c),_0x4cee9d[_0x4cee9d[_0x1af020(0x423)]=0x1]='UNIVER_DOC',_0x4cee9d[_0x4cee9d['UNIVER_SHEET']=0x2]=_0x1af020(0x40a),_0x4cee9d[_0x4cee9d[_0x1af020(0x39f)]=0x3]=_0x1af020(0x39f),_0x4cee9d[_0x4cee9d[_0x1af020(0x2de)]=0x4]=_0x1af020(0x2de),_0x4cee9d[_0x4cee9d[_0x1af020(0x238)]=-0x1]=_0x1af020(0x238),_0x4cee9d))(Q||{}),j=(_0x70e7fe=>(_0x70e7fe[_0x70e7fe[_0x1af020(0x229)]=0x0]='UNKNOWN_CMD',_0x70e7fe[_0x70e7fe[_0x1af020(0x362)]=0x1]=_0x1af020(0x362),_0x70e7fe[_0x70e7fe[_0x1af020(0x213)]=0x2]=_0x1af020(0x213),_0x70e7fe[_0x70e7fe[_0x1af020(0x33b)]=0x3]=_0x1af020(0x33b),_0x70e7fe[_0x70e7fe[_0x1af020(0x215)]=0x4]=_0x1af020(0x215),_0x70e7fe[_0x70e7fe[_0x1af020(0x2c1)]=0x5]='HEARTBEAT',_0x70e7fe[_0x70e7fe[_0x1af020(0x21f)]=0x6]=_0x1af020(0x21f),_0x70e7fe[_0x70e7fe[_0x1af020(0x238)]=-0x1]=_0x1af020(0x238),_0x70e7fe))(j||{}),Ee=(_0x4916e2=>(_0x4916e2[_0x4916e2['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x4916e2[_0x4916e2['OK']=0x1]='OK',_0x4916e2[_0x4916e2[_0x1af020(0x1b8)]=0x2]='FAIL',_0x4916e2[_0x4916e2[_0x1af020(0x1ef)]=0x3e9]=_0x1af020(0x1ef),_0x4916e2[_0x4916e2[_0x1af020(0x23f)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4916e2[_0x4916e2[_0x1af020(0x2b0)]=0x3eb]=_0x1af020(0x2b0),_0x4916e2[_0x4916e2[_0x1af020(0x187)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4916e2[_0x4916e2['UNRECOGNIZED']=-0x1]=_0x1af020(0x238),_0x4916e2))(Ee||{}),Ei=(_0x8a2730=>(_0x8a2730[_0x8a2730[_0x1af020(0x2a3)]=0x0]=_0x1af020(0x2a3),_0x8a2730[_0x8a2730[_0x1af020(0x246)]=0x1]=_0x1af020(0x246),_0x8a2730[_0x8a2730[_0x1af020(0x1de)]=0x2]='HttpExport',_0x8a2730[_0x8a2730[_0x1af020(0x167)]=0x3]=_0x1af020(0x167),_0x8a2730[_0x8a2730[_0x1af020(0x373)]=0x4]=_0x1af020(0x373),_0x8a2730[_0x8a2730[_0x1af020(0x37d)]=0x5]=_0x1af020(0x37d),_0x8a2730[_0x8a2730['ClipsheetFragments']=0x6]=_0x1af020(0x3b4),_0x8a2730[_0x8a2730[_0x1af020(0x238)]=-0x1]=_0x1af020(0x238),_0x8a2730))(Ei||{});const Cs='collaboration_new_changeset';function bs(_0x3cb3c3){var _0x681469=_0x1af020;return JSON[_0x681469(0x18d)](_0x3cb3c3)['length'];}var re=(_0x55c323=>(_0x55c323[_0x1af020(0x1bc)]='OTHER_CLIENT_EDITING',_0x55c323[_0x1af020(0x33d)]='PERMISSION_DENIED',_0x55c323[_0x1af020(0x2e9)]=_0x1af020(0x2e9),_0x55c323[_0x1af020(0x361)]=_0x1af020(0x361),_0x55c323[_0x1af020(0x203)]='JOIN_ROOM_FAILED',_0x55c323[_0x1af020(0x209)]=_0x1af020(0x209),_0x55c323[_0x1af020(0x15a)]=_0x1af020(0x15a),_0x55c323[_0x1af020(0x239)]='SUBMIT_CHANGESET_TIMEOUT',_0x55c323))(re||{});class ve{constructor(){var _0x18e209=_0x1af020;D(this,_0x18e209(0x442),new _0x396041()),D(this,_0x18e209(0x27d),this[_0x18e209(0x442)]['asObservable']());}[_0x1af020(0x141)](_0x3a1f6d){var _0x5dd655=_0x1af020;this[_0x5dd655(0x442)][_0x5dd655(0x16e)](_0x3a1f6d);}}class pi{constructor(){var _0xab7f33=_0x1af020;D(this,_0xab7f33(0x2cd),new _0x396041()),D(this,_0xab7f33(0x256),this[_0xab7f33(0x2cd)][_0xab7f33(0x3e0)]());}['onCommentUpdate'](_0x3b7cb0){var _0x31b779=_0x1af020;this['_commentUpdate$'][_0x31b779(0x16e)](_0x3b7cb0);}}var Ds=Object[_0x1af020(0x1b4)],ys=(_0x117b45,_0x292910,_0x513579,_0x31480e)=>{var _0x26492b=_0x1af020;for(var _0xb16324=_0x31480e>0x1?void 0x0:_0x31480e?Ds(_0x292910,_0x513579):_0x292910,_0x2a4c90=_0x117b45[_0x26492b(0x140)]-0x1,_0x705753;_0x2a4c90>=0x0;_0x2a4c90--)(_0x705753=_0x117b45[_0x2a4c90])&&(_0xb16324=_0x705753(_0xb16324)||_0xb16324);return _0xb16324;},Ft=(_0x26a5b8,_0x263629)=>(_0x31e631,_0x5006d1)=>_0x263629(_0x31e631,_0x5006d1,_0x26a5b8);let Pe=class extends _0xb4e525{constructor(_0x37e906,_0x383f63){var _0x24a91f=_0x1af020;super(),D(this,_0x24a91f(0x441),new Map()),D(this,_0x24a91f(0x383),new _0x396041()),(this[_0x24a91f(0x279)]=_0x37e906,this[_0x24a91f(0x162)]=_0x383f63,this['disposeWithMe'](_0xef5b1(this[_0x24a91f(0x279)][_0x24a91f(0x1cc)](_0x2d1c2d['UNIVER_SHEET'])[_0x24a91f(0x3ab)](_0x371f43(_0x32e1d9=>_0x32e1d9[_0x24a91f(0x2c2)]())),this[_0x24a91f(0x279)]['getTypeOfUnitDisposed$'](_0x2d1c2d['UNIVER_DOC'])['pipe'](_0x371f43(_0x478f1b=>_0x478f1b[_0x24a91f(0x2c2)]())),this[_0x24a91f(0x279)][_0x24a91f(0x1cc)](_0x2d1c2d[_0x24a91f(0x39f)])[_0x24a91f(0x3ab)](_0x371f43(_0x4d0ade=>_0x4d0ade['getUnitId']())))[_0x24a91f(0x15f)](_0x117101=>this[_0x24a91f(0x304)](_0x117101))));}[_0x1af020(0x3c4)](_0x374945){var _0x32f388=_0x1af020;return this[_0x32f388(0x441)][_0x32f388(0x149)](_0x374945)?_0x4995eb(this[_0x32f388(0x441)]['get'](_0x374945)):this['_roomCreated$']['pipe'](_0x371f43(_0x5264b2=>{var _0x1e23f5=_0x32f388;if(_0x5264b2===_0x374945)return this[_0x1e23f5(0x441)][_0x1e23f5(0x289)](_0x5264b2);}));}['setCurrentUser'](_0x18822b){var _0x128eaf=_0x1af020;this['_userManagerService'][_0x128eaf(0x375)](_0x18822b);}[_0x1af020(0x2ba)](){var _0x152d71=_0x1af020;return this[_0x152d71(0x162)][_0x152d71(0x2ba)]();}['updateMember'](_0x18c2bf,_0x526997){var _0x353d46=_0x1af020;let _0x3b236f=this['_roomMembers'][_0x353d46(0x289)](_0x18c2bf);_0x3b236f||(_0x3b236f=new Us(),this[_0x353d46(0x441)][_0x353d46(0x143)](_0x18c2bf,_0x3b236f),this['_roomCreated$'][_0x353d46(0x16e)](_0x18c2bf)),_0x3b236f[_0x353d46(0x2c9)](_0x526997);}['removeMember'](_0x421e51,_0x228431){var _0x8b1734=_0x1af020;const _0x2ce965=this[_0x8b1734(0x441)][_0x8b1734(0x289)](_0x421e51);_0x2ce965&&_0x2ce965[_0x8b1734(0x178)](_0x228431);}[_0x1af020(0x1eb)](_0x8174a1){var _0x2b649b=_0x1af020;return this['_roomMembers'][_0x2b649b(0x289)](_0x8174a1);}[_0x1af020(0x309)](_0x45f9cd,_0x40a25f){var _0x175136=_0x1af020;const _0x5d1e6d=this[_0x175136(0x441)][_0x175136(0x289)](_0x45f9cd);if(_0x5d1e6d)return _0x5d1e6d[_0x175136(0x309)](_0x40a25f);}['_removeRoom'](_0x79c8dc){var _0x5287c=_0x1af020;const _0x4427de=this['_roomMembers'][_0x5287c(0x289)](_0x79c8dc);_0x4427de&&(_0x4427de[_0x5287c(0x2f0)](),this['_roomMembers'][_0x5287c(0x286)](_0x79c8dc));}['dispose'](){var _0xd3c005=_0x1af020;this['_roomMembers'][_0xd3c005(0x3db)](_0x498d7a=>_0x498d7a[_0xd3c005(0x2f0)]()),this[_0xd3c005(0x441)][_0xd3c005(0x166)](),this[_0xd3c005(0x383)]['complete']();}};Pe=ys([Ft(0x0,_0x21edfd),Ft(0x1,_0x5d0be3(_0x78de))],Pe);class Us extends _0xb4e525{constructor(){var _0x4317df=_0x1af020;super(...arguments),D(this,_0x4317df(0x328),new Map()),D(this,_0x4317df(0x43e),new _0x360a3d(this[_0x4317df(0x328)])),D(this,_0x4317df(0x144),this[_0x4317df(0x43e)]['asObservable']());}[_0x1af020(0x2f0)](){var _0x1c9cf8=_0x1af020;this[_0x1c9cf8(0x328)]['clear']();}['updateMember'](_0x2ff848){var _0x18beda=_0x1af020;this[_0x18beda(0x328)][_0x18beda(0x143)](_0x2ff848[_0x18beda(0x371)],_0x2ff848),this[_0x18beda(0x35f)]();}[_0x1af020(0x178)](_0x2606bd){var _0x358691=_0x1af020;this['_members'][_0x358691(0x286)](_0x2606bd);}[_0x1af020(0x309)](_0x395d8b){var _0x356229=_0x1af020;return this['_members'][_0x356229(0x289)](_0x395d8b);}[_0x1af020(0x199)](){var _0x4b6fa7=_0x1af020;return Array['from'](this['_members'][_0x4b6fa7(0x407)]());}[_0x1af020(0x35f)](){var _0x815d70=_0x1af020;this[_0x815d70(0x43e)][_0x815d70(0x16e)](this['_members']);}}var As=Object['getOwnPropertyDescriptor'],Ps=(_0x447a04,_0x119b16,_0x85677c,_0x1a1faf)=>{var _0x2b7f20=_0x1af020;for(var _0x23e083=_0x1a1faf>0x1?void 0x0:_0x1a1faf?As(_0x119b16,_0x85677c):_0x119b16,_0x886a68=_0x447a04[_0x2b7f20(0x140)]-0x1,_0x1f6bcb;_0x886a68>=0x0;_0x886a68--)(_0x1f6bcb=_0x447a04[_0x886a68])&&(_0x23e083=_0x1f6bcb(_0x23e083)||_0x23e083);return _0x23e083;},Oe=(_0x71207a,_0x349a2d)=>(_0x45ba83,_0x2de449)=>_0x349a2d(_0x45ba83,_0x2de449,_0x71207a),me=(_0x45d386=>(_0x45d386[_0x45d386[_0x1af020(0x25e)]=0x0]=_0x1af020(0x25e),_0x45d386[_0x45d386[_0x1af020(0x381)]=0x1]=_0x1af020(0x381),_0x45d386[_0x45d386[_0x1af020(0x3d4)]=0x2]=_0x1af020(0x3d4),_0x45d386[_0x45d386[_0x1af020(0x359)]=0x3]=_0x1af020(0x359),_0x45d386))(me||{});const jt={[Ee[_0x1af020(0x1b8)]]:_0x1af020(0x264),[Ee[_0x1af020(0x1ef)]]:'session.room-full',[Ee[_0x1af020(0x23f)]]:_0x1af020(0x1e3),[Ee[_0x1af020(0x2b0)]]:_0x1af020(0x161),[Ee[_0x1af020(0x187)]]:_0x1af020(0x152)};let mt=class extends _0x40ffa0{constructor(_0x5cefcc,_0x4221ce,_0x40050f,_0x3b8b3e,_0x722e47,_0xc8a4a7,_0x47b950,_0xc2a246){var _0x3b8a0a=_0x1af020;super(),D(this,'_sessionStatus$',new _0x360a3d(0x0)),D(this,_0x3b8a0a(0x235),this['_sessionStatus$']['asObservable']()),D(this,'_event$',new _0x396041()),D(this,_0x3b8a0a(0x27d),this['_event$'][_0x3b8a0a(0x3e0)]()),D(this,_0x3b8a0a(0x452)),D(this,_0x3b8a0a(0x2ff)),D(this,_0x3b8a0a(0x3fe)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x3b8a0a(0x2a0),null),(this[_0x3b8a0a(0x298)]=_0x5cefcc,this[_0x3b8a0a(0x337)]=_0x40050f,this['_configService']=_0x3b8b3e,this[_0x3b8a0a(0x400)]=_0x722e47,this[_0x3b8a0a(0x1dd)]=_0xc8a4a7,this[_0x3b8a0a(0x325)]=_0x47b950,this['_telemetryService']=_0xc2a246,this['_shouldReportTelemetry']=!!this[_0x3b8a0a(0x437)],_0x4221ce[_0x3b8a0a(0x3ab)](_0x498ac7(this[_0x3b8a0a(0x201)]))[_0x3b8a0a(0x15f)](_0x636b9c=>{var _0x10c2e1=_0x3b8a0a,_0x5751eb;typeof _0x636b9c>'u'||(this[_0x10c2e1(0x452)]=_0x636b9c,_0x636b9c?(this[_0x10c2e1(0x14d)](_0x636b9c),this['_socketMessageSubscription']=_0x636b9c['message$']['subscribe'](_0x19e01e=>{var _0x335320=_0x10c2e1;_0x19e01e['routeKey']===this[_0x335320(0x298)]&&this['_onCombEvent'](_0x19e01e);})):(this[_0x10c2e1(0x44b)](),this[_0x10c2e1(0x312)][_0x10c2e1(0x16e)](0x2),(_0x5751eb=this[_0x10c2e1(0x2ff)])==null||_0x5751eb[_0x10c2e1(0x1e7)](),this[_0x10c2e1(0x2ff)]=null));}));}get[_0x1af020(0x21b)](){var _0x1ec606=_0x1af020;return this[_0x1ec606(0x312)][_0x1ec606(0x344)]();}['getMemberID'](){var _0x374476=_0x1af020,_0x510f24,_0x2fcbca;return(_0x2fcbca=(_0x510f24=this[_0x374476(0x452)])==null?void 0x0:_0x510f24[_0x374476(0x371)])!=null?_0x2fcbca:null;}[_0x1af020(0x2f0)](){var _0x2b9aca=_0x1af020;super[_0x2b9aca(0x2f0)](),this[_0x2b9aca(0x201)][_0x2b9aca(0x16e)](),this[_0x2b9aca(0x201)][_0x2b9aca(0x348)]();}['close'](){var _0x2ff41f=_0x1af020,_0x25b6d7,_0x1352f6;this[_0x2ff41f(0x44b)](),(_0x25b6d7=this[_0x2ff41f(0x452)])==null||_0x25b6d7[_0x2ff41f(0x42c)]({'cmd':j[_0x2ff41f(0x33b)],'data':{'roomID':this[_0x2ff41f(0x298)]}}),(_0x1352f6=this[_0x2ff41f(0x452)])==null||_0x1352f6['close'](),this[_0x2ff41f(0x442)][_0x2ff41f(0x348)](),this['_sessionStatus$']['complete'](),this[_0x2ff41f(0x2f0)]();}[_0x1af020(0x2a1)](_0x20d082){var _0x36988a=_0x1af020;_0x20d082[_0x36988a(0x1e5)]===j[_0x36988a(0x213)]?this[_0x36988a(0x188)](_0x20d082):_0x20d082[_0x36988a(0x1e5)]===j[_0x36988a(0x21f)]&&this[_0x36988a(0x432)](_0x20d082);}[_0x1af020(0x14d)](_0x675949){var _0x530c52=_0x1af020;this[_0x530c52(0x312)][_0x530c52(0x16e)](0x1),_0x675949[_0x530c52(0x42c)]({'cmd':j[_0x530c52(0x213)],'routeKey':this[_0x530c52(0x298)],'routeType':'','data':{'rooms':[{'roomID':this[_0x530c52(0x298)]}]}});}[_0x1af020(0x188)](_0x4d9d9a){var _0x199605=_0x1af020,_0x287145;if(_0x4d9d9a[_0x199605(0x428)]in jt){this['_collaborationUIEventService'][_0x199605(0x141)]({'id':re[_0x199605(0x203)],'data':jt[_0x4d9d9a['code']]}),this[_0x199605(0x312)][_0x199605(0x16e)](0x2);return;}this[_0x199605(0x312)][_0x199605(0x16e)](0x3);const _0x355305=(_0x287145=_0x4d9d9a[_0x199605(0x42e)][_0x199605(0x1f3)][this[_0x199605(0x298)]])==null?void 0x0:_0x287145[_0x199605(0x369)];_0x355305&&_0x355305[_0x199605(0x3db)](_0x8f919f=>this[_0x199605(0x400)]['updateMember'](this[_0x199605(0x298)],_0x8f919f));}[_0x1af020(0x432)](_0x17a9eb){var _0x501e59=_0x1af020;try{const _0x371f4c=_0x17a9eb['data'];switch(_0x371f4c[_0x501e59(0x236)]){case _0x3684d2[_0x501e59(0x323)]:this[_0x501e59(0x3ea)](_0x371f4c),this[_0x501e59(0x442)][_0x501e59(0x16e)](_0x371f4c);break;case _0x3684d2[_0x501e59(0x1ff)]:this[_0x501e59(0x30b)](_0x371f4c),this[_0x501e59(0x442)][_0x501e59(0x16e)](_0x371f4c);break;case _0x3684d2[_0x501e59(0x2bd)]:case _0x3684d2[_0x501e59(0x3f9)]:this[_0x501e59(0x145)](),this['_clearCollaborationTimeoutTimer'](),this[_0x501e59(0x442)][_0x501e59(0x16e)](_0x371f4c);break;case _0x3684d2['MSG_FOR_ERROR']:this[_0x501e59(0x337)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x501e59(0x18d)](_0x371f4c)),this[_0x501e59(0x442)][_0x501e59(0x16e)](_0x371f4c);break;case _0x3684d2['COMMENT_UPDATE']:this[_0x501e59(0x1dd)][_0x501e59(0x358)](_0x371f4c[_0x501e59(0x42e)]),this[_0x501e59(0x442)][_0x501e59(0x16e)](_0x371f4c);break;default:this[_0x501e59(0x442)][_0x501e59(0x16e)](_0x371f4c);}}catch(_0x4d4a50){this['_logService'][_0x501e59(0x3ee)](_0x4d4a50,_0x17a9eb);}}[_0x1af020(0x3ea)](_0x1dbe9f){var _0x3e6cf8=_0x1af020;this[_0x3e6cf8(0x400)][_0x3e6cf8(0x2c9)](this['_unitID'],_0x1dbe9f['data']);}[_0x1af020(0x30b)](_0x158dcd){var _0x1c64e1=_0x1af020;this[_0x1c64e1(0x400)][_0x1c64e1(0x178)](this[_0x1c64e1(0x298)],_0x158dcd[_0x1c64e1(0x42e)]['memberID']);}async[_0x1af020(0x42c)](_0x119a9a,_0x1227d7){var _0x4f27c1=_0x1af020;if(this[_0x4f27c1(0x21b)]!==0x3||!this[_0x4f27c1(0x452)])throw new Error(_0x4f27c1(0x329));try{_0x119a9a[_0x4f27c1(0x236)]===_0x3684d2[_0x4f27c1(0x31e)]&&(this[_0x4f27c1(0x350)](),this[_0x4f27c1(0x2ab)](_0x119a9a)),this['_socket'][_0x4f27c1(0x42c)]({'cmd':j[_0x4f27c1(0x215)],'routeKey':_0x1227d7,'routeType':'','data':_0x119a9a});}catch(_0x4b6b6a){this['_logService'][_0x4f27c1(0x3ee)](_0x4b6b6a);}}[_0x1af020(0x350)](){var _0x5dee8e=_0x1af020,_0x35bb68;this[_0x5dee8e(0x3fe)]=setTimeout(()=>{var _0x295ba2=_0x5dee8e;this[_0x295ba2(0x3fe)]=null,this[_0x295ba2(0x325)][_0x295ba2(0x141)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x35bb68=this[_0x5dee8e(0x374)]['getConfig'](di))!=null?_0x35bb68:fi);}[_0x1af020(0x2f1)](){var _0x1e08bf=_0x1af020;this[_0x1e08bf(0x3fe)]&&(clearTimeout(this[_0x1e08bf(0x3fe)]),this[_0x1e08bf(0x3fe)]=null);}[_0x1af020(0x2ab)](_0x8ca97b){var _0x4603eb=_0x1af020;if(!this[_0x4603eb(0x1b0)])return;const {data:_0x3a51f1}=_0x8ca97b,{unitID:_0x13b946,changeset:_0x1b52ff}=_0x3a51f1,{mutations:_0x456530,type:_0x4882f2}=_0x1b52ff;this[_0x4603eb(0x2a0)]={'unitId':_0x13b946,'type':_0x4882f2,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':bs(_0x456530)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x6f045b=_0x1af020;if(this[_0x6f045b(0x1b0)]){if(!this[_0x6f045b(0x2a0)]){this[_0x6f045b(0x337)][_0x6f045b(0x3ee)](_0x6f045b(0x276),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x6f045b(0x389)]=performance[_0x6f045b(0x216)](),this[_0x6f045b(0x2a0)][_0x6f045b(0x1e1)]=this['_telemetryInfo'][_0x6f045b(0x389)]-this[_0x6f045b(0x2a0)][_0x6f045b(0x1ba)],this[_0x6f045b(0x437)][_0x6f045b(0x277)](Cs,this[_0x6f045b(0x2a0)]),this[_0x6f045b(0x2a0)]=null;}}[_0x1af020(0x44b)](){var _0x9c6b59=_0x1af020;this[_0x9c6b59(0x2a0)]=null;}};mt=Ps([Oe(0x2,_0x229638),Oe(0x3,_0x5ee71f),Oe(0x4,_0x5d0be3(Pe)),Oe(0x5,_0x5d0be3(pi)),Oe(0x6,_0x5d0be3(ve)),Oe(0x7,_0x4e8ecc(_0x59046b))],mt);const X=_0x50632f('collaboration-client.local-cache-service');function br(_0x1b0fbf){var _0x4d99c6=_0x1af020;return _0x4d99c6(0x401)+_0x1b0fbf;}var Ls=Object[_0x1af020(0x1b4)],Ms=(_0x1d8f9b,_0x1cae3f,_0x4260a7,_0x48b856)=>{var _0x2ca958=_0x1af020;for(var _0x4d7d6b=_0x48b856>0x1?void 0x0:_0x48b856?Ls(_0x1cae3f,_0x4260a7):_0x1cae3f,_0x53bd36=_0x1d8f9b[_0x2ca958(0x140)]-0x1,_0x3ee823;_0x53bd36>=0x0;_0x53bd36--)(_0x3ee823=_0x1d8f9b[_0x53bd36])&&(_0x4d7d6b=_0x3ee823(_0x4d7d6b)||_0x4d7d6b);return _0x4d7d6b;},ut=(_0x43bb58,_0x160def)=>(_0xa38d83,_0x4e6e93)=>_0x160def(_0xa38d83,_0x4e6e93,_0x43bb58);function ws(_0x2c2ead){var _0x164193=_0x1af020;const {unitID:_0x47c57b,mutations:_0x3b0f0e}=_0x2c2ead;return{'unitId':_0x47c57b,'subUnitId':_0x3b0f0e[_0x164193(0x140)]>0x0?_0x3b0f0e[0x0][_0x164193(0x262)][_0x164193(0x2e1)]:null};}let it=class{constructor(_0x26c993,_0x19718c,_0x1652cf){var _0x83644f=_0x1af020;this[_0x83644f(0x332)]=_0x26c993,this['_transformService']=_0x19718c,this[_0x83644f(0x2ee)]=_0x1652cf;}[_0x1af020(0x415)](_0x48bf14){var _0x509b43=_0x1af020,_0x4d6935,_0x3a6201,_0x37dfb1,_0x509bea;const _0x4a279e=this[_0x509b43(0x332)][_0x509b43(0x289)](_0x4adcb1),{unitId:_0x2dc3fa,subUnitId:_0x5070ae}=ws(_0x48bf14),_0x3c6ac9=_0x4a279e==null?void 0x0:_0x4a279e[_0x509b43(0x412)](_0x2dc3fa)[_0x509b43(0x2bf)](),_0xf0b1fd=(_0x3a6201=(_0x4d6935=this[_0x509b43(0x2ee)][_0x509b43(0x3f7)](_0x2dc3fa))==null?void 0x0:_0x4d6935['getActiveSheet']())==null?void 0x0:_0x3a6201[_0x509b43(0x271)]();if(_0x3c6ac9[_0x509b43(0x140)]===0x0||!_0x2dc3fa||!_0x5070ae)return;const _0x45e884=[{'id':_0x217978['id'],'params':{'unitId':_0x2dc3fa,'subUnitId':_0xf0b1fd,'selections':_0x55d6b0[_0x509b43(0x14f)](_0x3c6ac9)}}],_0xc001a3=this['_transformService']['transformMutationsWithChangeset'](_0x48bf14,_0x45e884);if(!_0x2beb76(_0xc001a3))throw _0xc001a3[_0x509b43(0x3ee)];const _0x3e3e5f=(_0x509bea=(_0x37dfb1=_0xc001a3[_0x509b43(0x38d)][0x0])==null?void 0x0:_0x37dfb1[_0x509b43(0x262)])==null?void 0x0:_0x509bea[_0x509b43(0x31f)];if(Array[_0x509b43(0x2be)](_0x3e3e5f)&&_0x3e3e5f[_0x509b43(0x140)]){if(_0x3e3e5f[_0x509b43(0x140)]===_0x45e884[0x0][_0x509b43(0x262)][_0x509b43(0x31f)]['length']&&_0x3e3e5f[_0x509b43(0x3a9)]((_0x44553f,_0xf98b29)=>_0x26b15b[_0x509b43(0x25d)](_0x44553f[_0x509b43(0x331)],_0x45e884[0x0][_0x509b43(0x262)]['selections'][_0xf98b29][_0x509b43(0x331)])))return;this['_injector'][_0x509b43(0x289)](_0x46cdbe)[_0x509b43(0x3be)](_0x217978['id'],{'unitId':_0x2dc3fa,'subUnitId':_0xf0b1fd,'selections':_0x3e3e5f});}}};it=Ms([ut(0x0,_0x5d0be3(_0x1be1d3)),ut(0x1,_0x46ae73),ut(0x2,_0x21edfd)],it);const _t=_0x50632f('univer-pro.collaboration-client.single-active-unit-service');var mi=(_0x3f39f3=>(_0x3f39f3[_0x3f39f3['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3f39f3[_0x3f39f3[_0x1af020(0x30c)]=0x1]=_0x1af020(0x30c),_0x3f39f3))(mi||{});const K=_0x1af020(0x403),xs={};function ks(_0x2fd949){var _0xcc3f77=_0x1af020,_0x4eca98;return!!((_0x4eca98=_0x2fd949[_0xcc3f77(0x262)])!=null&&_0x4eca98[_0xcc3f77(0x3b0)]);}const $s=new Set([_0x514b96['id']]);function Vt(_0x2f5d7c,_0x310d1c,_0x158dcb,_0x5b860b,_0x4a0e84){var _0x48de02=_0x1af020,_0x3678ef,_0x37a13a,_0x2493b1,_0xac49cf;const _0x409382=[];for(const _0x3c4ca8 of _0x2f5d7c){if($s['has'](_0x3c4ca8['id'])){if(_0x409382[_0x48de02(0x140)]>0x0)break;_0x409382[_0x48de02(0x355)](_0x3c4ca8);break;}if(ks(_0x3c4ca8)){if(_0x409382[_0x48de02(0x140)]>0x0)break;_0x409382[_0x48de02(0x355)](_0x3c4ca8);break;}_0x409382['push'](_0x3c4ca8);}const _0x591bad=(_0x37a13a=(_0x3678ef=_0x4a0e84[_0x48de02(0x2ba)]())==null?void 0x0:_0x3678ef[_0x48de02(0x35a)])!=null?_0x37a13a:_0x48de02(0x3bb),_0x2e8a48=(_0xac49cf=(_0x2493b1=_0x4a0e84[_0x48de02(0x2ba)]())==null?void 0x0:_0x2493b1[_0x48de02(0x371)])!=null?_0xac49cf:_0x48de02(0x3bb);return{'changeset':{'unitID':_0x310d1c,'type':_0x3c7be3(_0x158dcb['getUnitType'](_0x310d1c)),'baseRev':_0x5b860b[_0x48de02(0x1c4)](_0x310d1c),'revision':0x0,'userID':_0x591bad,'memberID':_0x2e8a48,'mutations':_0x409382},'pendingMutations':_0x2f5d7c[_0x48de02(0x321)](_0x409382[_0x48de02(0x140)])};}function Hs(_0x5d44fa,_0x577d33,_0x2920bd,_0x458658,_0x483a0d){var _0x9027d8=_0x1af020,_0x5ac95a,_0x22a300,_0x2478bd,_0x4367ce;const _0x49423d=[_0x5d44fa['reduce']((_0x1758b4,_0x1388cb)=>{var _0x23f0cf=_0x46eb,_0x1745b6;const {id:_0x5d36fb}=_0x1758b4,{id:_0x257998,type:_0x18056b}=_0x1388cb,_0x56f505=(_0x1745b6=_0x1758b4[_0x23f0cf(0x262)])!=null?_0x1745b6:{'actions':null},_0x365973=_0x1388cb[_0x23f0cf(0x262)];if(_0x5d36fb&&_0x5d36fb!==_0x257998)throw new Error(_0x23f0cf(0x376)+_0x5d36fb+'\x20-\x20'+_0x257998+'.');return{..._0x1758b4,'id':_0x257998,'type':_0x18056b,'params':{'unitId':_0x365973[_0x23f0cf(0x164)],'textRanges':_0x365973['textRanges'],'actions':_0x11ac14['compose'](_0x56f505[_0x23f0cf(0x168)],_0x365973[_0x23f0cf(0x168)])}};},{})],_0x1380ea=(_0x22a300=(_0x5ac95a=_0x483a0d[_0x9027d8(0x2ba)]())==null?void 0x0:_0x5ac95a['userID'])!=null?_0x22a300:'unknown',_0x32eb9a=(_0x4367ce=(_0x2478bd=_0x483a0d[_0x9027d8(0x2ba)]())==null?void 0x0:_0x2478bd['memberID'])!=null?_0x4367ce:'unknown';return{'changeset':{'unitID':_0x577d33,'type':_0x3c7be3(_0x2920bd['getUnitType'](_0x577d33)),'baseRev':_0x458658[_0x9027d8(0x1c4)](_0x577d33),'revision':0x0,'userID':_0x1380ea,'memberID':_0x32eb9a,'mutations':_0x49423d},'pendingMutations':[]};}function Ii(_0x32d845,_0x3944c1){var _0x396ffb=_0x1af020;const _0x12db6e=new _0x4d8444(0x1);return setTimeout(()=>_0x12db6e[_0x396ffb(0x16e)](_0x3944c1),_0x32d845),_0x12db6e[_0x396ffb(0x3e0)]()['pipe'](_0x31bd7b(0x1));}var Bs=Object[_0x1af020(0x1b4)],Se=(_0xf416,_0x1207d7,_0x2cfeb2,_0x107eae)=>{var _0x401290=_0x1af020;for(var _0x5e6a0b=_0x107eae>0x1?void 0x0:_0x107eae?Bs(_0x1207d7,_0x2cfeb2):_0x1207d7,_0x4e87b9=_0xf416[_0x401290(0x140)]-0x1,_0x43ed22;_0x4e87b9>=0x0;_0x4e87b9--)(_0x43ed22=_0xf416[_0x4e87b9])&&(_0x5e6a0b=_0x43ed22(_0x5e6a0b)||_0x5e6a0b);return _0x5e6a0b;},L=(_0x2a7152,_0x3d7a50)=>(_0x105ba3,_0x52c26f)=>_0x3d7a50(_0x105ba3,_0x52c26f,_0x2a7152),Si=(_0x87c01f=>(_0x87c01f[_0x1af020(0x17f)]=_0x1af020(0x44e),_0x87c01f['SYNCED']=_0x1af020(0x1da),_0x87c01f[_0x1af020(0x197)]=_0x1af020(0x39c),_0x87c01f['AWAITING']=_0x1af020(0x22d),_0x87c01f[_0x1af020(0x211)]=_0x1af020(0x176),_0x87c01f[_0x1af020(0x3e3)]=_0x1af020(0x231),_0x87c01f[_0x1af020(0x2e9)]=_0x1af020(0x16b),_0x87c01f[_0x1af020(0x3d4)]=_0x1af020(0x382),_0x87c01f))(Si||{});const gi=0x4e20,Ti=0x2bf20;class ge{constructor(_0x5ae908,_0x36b204,_0x3aa387,_0x3cbcd8,_0x368e0c,_0x265521,_0x5140e4,_0xa57ab0,_0x5c34e6){var _0x11f460=_0x1af020;D(this,_0x11f460(0x31a),null),D(this,'_pendingMutations',[]),(this[_0x11f460(0x3d3)]=_0x5ae908,this[_0x11f460(0x2c4)]=_0x36b204,this[_0x11f460(0x366)]=_0x368e0c,this[_0x11f460(0x313)]=_0x265521,this[_0x11f460(0x334)]=_0x5140e4,this['_revisionService']=_0xa57ab0,this[_0x11f460(0x3fa)]=_0x5c34e6,this[_0x11f460(0x31a)]=_0x3aa387,this[_0x11f460(0x330)]=_0x3cbcd8);}['_checkMissing'](_0x4fe7c6){var _0x51f0a4=_0x1af020;const _0x24efc9=this[_0x51f0a4(0x16c)]['getCurrentRevOfUnit'](this['unitID']);return _0x4fe7c6['revision']>_0x24efc9+0x1?(this['_handler'][_0x51f0a4(0x17a)]({'from':_0x24efc9,'to':_0x4fe7c6[_0x51f0a4(0x273)]-0x1}),!0x0):!0x1;}[_0x1af020(0x411)](_0x3e08e8){var _0x21836e=_0x1af020;this[_0x21836e(0x334)][_0x21836e(0x195)](this[_0x21836e(0x3d3)],_0x3e08e8);}['_transformSelections'](_0x2a8547){var _0x3835fa=_0x1af020,_0x3a1640,_0x4ecce9;(_0x4ecce9=(_0x3a1640=this[_0x3835fa(0x366)])[_0x3835fa(0x18b)])==null||_0x4ecce9[_0x3835fa(0x3c6)](_0x3a1640,_0x2a8547);}[_0x1af020(0x30d)](_0x2a3543){var _0x385837=_0x1af020,_0x5bd736,_0x1d8bfb;return(_0x1d8bfb=(_0x5bd736=this['_handler'])[_0x385837(0x32a)])==null?void 0x0:_0x1d8bfb[_0x385837(0x3c6)](_0x5bd736,_0x2a3543);}[_0x1af020(0x2a9)](_0x3008ba){var _0x4c4b40=_0x1af020,_0x5db491,_0x588838;return(_0x588838=(_0x5db491=this[_0x4c4b40(0x366)])[_0x4c4b40(0x1a0)])==null?void 0x0:_0x588838[_0x4c4b40(0x3c6)](_0x5db491,_0x3008ba);}['_transformRemoteChangesetByIMECache'](_0x4f2fa5){var _0x54f0df=_0x1af020,_0x5b4856,_0x164e1f,_0x310668;return(_0x310668=(_0x164e1f=(_0x5b4856=this[_0x54f0df(0x366)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x164e1f[_0x54f0df(0x3c6)](_0x5b4856,_0x4f2fa5))!=null?_0x310668:_0x4f2fa5;}['_transformRemoteChangesetByStateCache'](_0xf10eff){var _0x3fdef7=_0x1af020,_0x598d95,_0x4cc57f,_0x373d5c;return(_0x373d5c=(_0x4cc57f=(_0x598d95=this['_handler'])[_0x3fdef7(0x31c)])==null?void 0x0:_0x4cc57f[_0x3fdef7(0x3c6)](_0x598d95,_0xf10eff))!=null?_0x373d5c:_0xf10eff;}['_syncEditingCollabCursor'](_0x442fe4){var _0x528553=_0x1af020,_0x2e28de,_0x438b18;if(this['type']===Q[_0x528553(0x423)]){const {unitID:_0xf3e25e,mutations:_0x53628a,memberID:_0x42a5d1}=_0x442fe4,_0x558a95=_0x53628a[_0x528553(0x140)]>0x0?_0x53628a[0x0][_0x528553(0x262)]['textRanges']:[];Array[_0x528553(0x2be)](_0x558a95)&&_0x558a95[_0x528553(0x140)]>0x0&&((_0x438b18=(_0x2e28de=this[_0x528553(0x366)])[_0x528553(0x3a7)])==null||_0x438b18[_0x528553(0x3c6)](_0x2e28de,{'unitID':_0xf3e25e,'memberID':_0x42a5d1,'textRanges':_0x558a95}));}}[_0x1af020(0x360)](){var _0x1631fa=_0x1af020,_0x57b091;(_0x57b091=this[_0x1631fa(0x3fa)])==null||_0x57b091[_0x1631fa(0x2e2)](this[_0x1631fa(0x3d3)],this[_0x1631fa(0x2c4)],this[_0x1631fa(0x31a)],this[_0x1631fa(0x330)]);}['_getCurrentRevision'](){var _0x2ee20a=_0x1af020;return this[_0x2ee20a(0x16c)][_0x2ee20a(0x1c4)](this[_0x2ee20a(0x3d3)]);}[_0x1af020(0x26c)](){var _0x3565fd=_0x1af020;this[_0x3565fd(0x16c)][_0x3565fd(0x41c)](this[_0x3565fd(0x3d3)]);}[_0x1af020(0x154)](_0x3591d8){var _0x169131=_0x1af020,_0x228499;let _0x4831b1=this[_0x169131(0x1fb)](_0x3591d8);_0x4831b1=this['_transformRemoteChangesetByStateCache'](_0x4831b1);const _0x130a35=_0xa4a0bd(_0x4831b1[_0x169131(0x2f7)],this[_0x169131(0x313)],{'fromCollab':!0x0});if(!_0x130a35[_0x169131(0x346)])throw _0x130a35['error']instanceof Error?_0x130a35[_0x169131(0x3ee)]:new Error((_0x228499=_0x130a35[_0x169131(0x3ee)])!=null?_0x228499:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x4831b1),this[_0x169131(0x2a9)](_0x4831b1),this[_0x169131(0x411)](_0x3591d8),this[_0x169131(0x356)](_0x4831b1),this['_syncEditingCollabCursor'](_0x4831b1),this[_0x169131(0x26c)]();}}let be=class extends ge{constructor(_0x2bfd5c,_0x59c3de,_0x2c4eee,_0x524aed,_0x217c19,_0x3a078e,_0x2e353c,_0x4f52c6,_0x351226,_0x3485fe){var _0x5cba3b=_0x1af020;super(_0x2bfd5c,_0x59c3de,null,[],_0x2c4eee,_0x2e353c,_0x3a078e,_0x524aed,_0x3485fe),D(this,'status','synced'),(this[_0x5cba3b(0x332)]=_0x217c19,this[_0x5cba3b(0x337)]=_0x4f52c6,this[_0x5cba3b(0x200)]=_0x351226,this[_0x5cba3b(0x151)]=_0x3485fe);}[_0x1af020(0x327)](_0x1b25e1){var _0x43bed7=_0x1af020;const _0x2cf775=this[_0x43bed7(0x332)][_0x43bed7(0x457)](ae,this['unitID'],this[_0x43bed7(0x2c4)],[_0x1b25e1],this[_0x43bed7(0x366)]);return _0x2cf775[_0x43bed7(0x28a)](),_0x2cf775[_0x43bed7(0x360)](),_0x2cf775;}[_0x1af020(0x26a)](_0x22761e){var _0x5dddba=_0x1af020;if(this['_checkMissing'](_0x22761e))return this[_0x5dddba(0x332)][_0x5dddba(0x457)](ee,this[_0x5dddba(0x3d3)],this['type'],null,[],null,[_0x22761e],this[_0x5dddba(0x366)]);try{const _0x549718=this[_0x5dddba(0x200)]['transformMutationsWithChangeset'](_0x22761e,[_0x284e90]);if(_0x2beb76(_0x549718)){const {c1Prime:_0x57cce8}=_0x549718;return this[_0x5dddba(0x154)](_0x57cce8),this;}throw _0x549718[_0x5dddba(0x3ee)];}catch(_0xf100d0){return this[_0x5dddba(0x337)][_0x5dddba(0x3ee)](_0xf100d0),this[_0x5dddba(0x2fe)](!0x1);}}[_0x1af020(0x2fe)](_0x25cab6){var _0x5cb6a8=_0x1af020;return this['_injector']['createInstance'](ue,this[_0x5cb6a8(0x3d3)],this['type'],null,[],this['_handler'],_0x25cab6);}[_0x1af020(0x225)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1af020(0x1bf)](){var _0x5afa34=_0x1af020;throw new Error(_0x5afa34(0x2cb));}[_0x1af020(0x2fa)](){return this;}[_0x1af020(0x386)](){var _0x5c28a1=_0x1af020;return this[_0x5c28a1(0x332)][_0x5c28a1(0x457)](de,this[_0x5c28a1(0x3d3)],this[_0x5c28a1(0x2c4)],null,[],this[_0x5c28a1(0x366)]);}[_0x1af020(0x30e)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1af020(0x449)](){var _0x3c3c12=_0x1af020;const _0x45a3b4=this[_0x3c3c12(0x16c)]['getCurrentRevOfUnit'](this[_0x3c3c12(0x3d3)]);return this[_0x3c3c12(0x366)]['onMissingChangesets']({'from':_0x45a3b4,'to':0x0}),this[_0x3c3c12(0x332)][_0x3c3c12(0x457)](ee,this[_0x3c3c12(0x3d3)],this[_0x3c3c12(0x2c4)],null,[],null,[],this[_0x3c3c12(0x366)]);}};be=Se([L(0x3,_0x5d0be3(_0x270536)),L(0x4,_0x5d0be3(_0x1be1d3)),L(0x5,_0x49a547),L(0x6,_0x46cdbe),L(0x7,_0x229638),L(0x8,_0x46ae73),L(0x9,_0x4e8ecc(X))],be);let ae=class extends ge{constructor(_0x2d112e,_0x3f1083,_0x1e17fa,_0x1460b2,_0x3e1e79,_0x4960da,_0x22cc81,_0x4a2d3c,_0x3bd78d,_0x4fefaa,_0x5a07b8,_0x461e64,_0x4b0a5a,_0x2b425a){var _0x158222=_0x1af020;super(_0x2d112e,_0x3f1083,null,_0x1e17fa,_0x1460b2,_0x3bd78d,_0x4b0a5a,_0x4960da,_0x2b425a),D(this,_0x158222(0x434),_0x158222(0x39c)),D(this,_0x158222(0x379),null),D(this,_0x158222(0x2b7),null),(this['_injector']=_0x3e1e79,this['_memberService']=_0x22cc81,this['_logService']=_0x4a2d3c,this[_0x158222(0x374)]=_0x4fefaa,this[_0x158222(0x200)]=_0x5a07b8,this[_0x158222(0x279)]=_0x461e64);}[_0x1af020(0x327)](_0x23694b){var _0x52e19a=_0x1af020;return this[_0x52e19a(0x330)][_0x52e19a(0x355)](_0x23694b),this['_updateLocalCache'](),this;}[_0x1af020(0x26a)](_0x4bae64){var _0x5b6eb3=_0x1af020;if(this[_0x5b6eb3(0x303)](_0x4bae64))return this['_clearScheduledTask'](),this['_injector'][_0x5b6eb3(0x457)](ee,this[_0x5b6eb3(0x3d3)],this[_0x5b6eb3(0x2c4)],null,this[_0x5b6eb3(0x330)],null,[_0x4bae64],this['_handler']);try{const _0x3be9d9=this[_0x5b6eb3(0x200)][_0x5b6eb3(0x13a)](_0x4bae64,this[_0x5b6eb3(0x330)]);if(_0x2beb76(_0x3be9d9)){const {c1Prime:_0x500edc,m2Prime:_0x22e899}=_0x3be9d9;this[_0x5b6eb3(0x154)](_0x500edc);const _0x22189a=this[_0x5b6eb3(0x332)][_0x5b6eb3(0x457)](ae,this[_0x5b6eb3(0x3d3)],this['type'],_0x22e899,this['_handler']);this[_0x5b6eb3(0x139)]();const _0x1852cb=new Date()['getTime'](),_0x16501a=this[_0x5b6eb3(0x379)]?Math['max'](this[_0x5b6eb3(0x379)]-_0x1852cb,0x0):this[_0x5b6eb3(0x233)]();return _0x22189a['_schedule'](_0x16501a),_0x22189a;}throw _0x3be9d9[_0x5b6eb3(0x3ee)];}catch(_0xbcf83e){return this['_logService'][_0x5b6eb3(0x3ee)](_0xbcf83e),this[_0x5b6eb3(0x2fe)](!0x1);}}[_0x1af020(0x225)](){var _0x5987a3=_0x1af020;throw new Error(_0x5987a3(0x20c));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x44e5fb=_0x1af020;return this[_0x44e5fb(0x139)](),this['_injector'][_0x44e5fb(0x457)](de,this['unitID'],this[_0x44e5fb(0x2c4)],null,this[_0x44e5fb(0x330)],this['_handler']);}[_0x1af020(0x30e)](){return this;}[_0x1af020(0x28a)](_0x46944e){var _0x3ebab9=_0x1af020;const _0x2b3c7d=_0x46944e!=null?_0x46944e:this['_getSendChangesetTimeout']();this[_0x3ebab9(0x379)]=new Date()[_0x3ebab9(0x1c0)]()+_0x2b3c7d,this['_sendingTimer']=setTimeout(()=>{var _0x6cf919=_0x3ebab9;this[_0x6cf919(0x139)]();let _0x24fab0=null;switch(this[_0x6cf919(0x2c4)]){case Q['UNIVER_SHEET']:{_0x24fab0=Vt(this['_pendingMutations'],this[_0x6cf919(0x3d3)],this[_0x6cf919(0x279)],this[_0x6cf919(0x16c)],this['_memberService']);break;}case Q[_0x6cf919(0x423)]:{this[_0x6cf919(0x330)][_0x6cf919(0x3a9)](_0x51e71c=>_0x51e71c['id']===_0x2b8681['id'])?_0x24fab0=Hs(this['_pendingMutations'],this[_0x6cf919(0x3d3)],this[_0x6cf919(0x279)],this[_0x6cf919(0x16c)],this[_0x6cf919(0x400)]):_0x24fab0=Vt(this[_0x6cf919(0x330)],this[_0x6cf919(0x3d3)],this[_0x6cf919(0x279)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x6cf919(0x295)+this[_0x6cf919(0x2c4)]+'\x20in\x20_schedule.');}const {changeset:_0x1e9467,pendingMutations:_0x974893}=_0x24fab0;this[_0x6cf919(0x366)][_0x6cf919(0x456)](_0x1e9467);const _0x134357=_0x974893[_0x6cf919(0x140)]?this[_0x6cf919(0x332)][_0x6cf919(0x457)](oe,this[_0x6cf919(0x3d3)],this[_0x6cf919(0x2c4)],_0x1e9467,_0x974893,this[_0x6cf919(0x366)],void 0x0):this[_0x6cf919(0x332)][_0x6cf919(0x457)](le,this[_0x6cf919(0x3d3)],this[_0x6cf919(0x2c4)],_0x1e9467,this[_0x6cf919(0x366)]);_0x134357[_0x6cf919(0x360)](),this['_handler']['onStateChange'](this,_0x134357);},_0x2b3c7d);}[_0x1af020(0x233)](){var _0x15c95a=_0x1af020,_0xbcc081;const _0x431b34=this[_0x15c95a(0x374)]['getConfig'](K);return(_0xbcc081=_0x431b34==null?void 0x0:_0x431b34[_0x15c95a(0x38f)])!=null?_0xbcc081:ps;}[_0x1af020(0x363)](){var _0x9c94b8=_0x1af020;throw new Error(_0x9c94b8(0x2e6));}[_0x1af020(0x139)](){var _0x560a0a=_0x1af020;this[_0x560a0a(0x2b7)]!=null&&(clearTimeout(this[_0x560a0a(0x2b7)]),this[_0x560a0a(0x2b7)]=null);}[_0x1af020(0x2fe)](_0x3e6298){var _0x2b1801=_0x1af020;return this[_0x2b1801(0x139)](),this[_0x2b1801(0x332)]['createInstance'](ue,this[_0x2b1801(0x3d3)],this['type'],null,this['_pendingMutations'],this[_0x2b1801(0x366)],_0x3e6298);}};ae=Se([L(0x4,_0x5d0be3(_0x1be1d3)),L(0x5,_0x5d0be3(_0x270536)),L(0x6,_0x5d0be3(Pe)),L(0x7,_0x229638),L(0x8,_0x46cdbe),L(0x9,_0x5ee71f),L(0xa,_0x46ae73),L(0xb,_0x21edfd),L(0xc,_0x49a547),L(0xd,_0x4e8ecc(X))],ae);let le=class extends ge{constructor(_0x58d6b9,_0x1a763e,_0x5c9706,_0x6e6749,_0xda1dc5,_0x48ffca,_0x1d47e5,_0x3538ab,_0x4f87c5,_0x377d07,_0x506eec){var _0x44cbae=_0x1af020;super(_0x58d6b9,_0x1a763e,_0x5c9706,[],_0x6e6749,_0x1d47e5,_0x377d07,_0x48ffca,_0x506eec),D(this,_0x44cbae(0x434),_0x44cbae(0x22d)),D(this,'_resendTimeout',0x0),D(this,'_maxTotalRetryTimeout',0x0),D(this,_0x44cbae(0x1f8)),D(this,_0x44cbae(0x2c7)),(this[_0x44cbae(0x332)]=_0xda1dc5,this['_logService']=_0x3538ab,this[_0x44cbae(0x200)]=_0x4f87c5);}[_0x1af020(0x327)](_0xee0b91){var _0x23736c=_0x1af020;this[_0x23736c(0x139)]();const _0x2f8612=this[_0x23736c(0x332)][_0x23736c(0x457)](oe,this[_0x23736c(0x3d3)],this[_0x23736c(0x2c4)],this[_0x23736c(0x31a)],[_0xee0b91],this['_handler'],this[_0x23736c(0x1f8)]);return _0x2f8612['_updateLocalCache'](),_0x2f8612;}[_0x1af020(0x26a)](_0x1c9a4c){var _0x13923f=_0x1af020;if(this[_0x13923f(0x303)](_0x1c9a4c))return this[_0x13923f(0x139)](),this[_0x13923f(0x332)][_0x13923f(0x457)](ee,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x1c9a4c],this[_0x13923f(0x366)]);try{const _0x5c2d50=this[_0x13923f(0x200)][_0x13923f(0x3da)]([_0x1c9a4c],[this['_awaitingChangeset']],!0x1);if(_0x1b50c6(_0x5c2d50)){const {c1Prime:_0x3aefe1,c2Prime:_0x5c324d}=_0x5c2d50;this['_executeRemoteChangeset'](_0x3aefe1[0x0]),_0x5c324d[0x0][_0x13923f(0x417)]=this['_getCurrentRevision'](),this[_0x13923f(0x139)]();const _0x54a6ae=this[_0x13923f(0x332)]['createInstance'](le,this[_0x13923f(0x3d3)],this['type'],_0x5c324d[0x0],this[_0x13923f(0x366)]);return _0x54a6ae[_0x13923f(0x360)](),_0x54a6ae;}return this[_0x13923f(0x2fe)](!0x1);}catch(_0x5a1eb8){return this[_0x13923f(0x337)][_0x13923f(0x3ee)](_0x5a1eb8),this[_0x13923f(0x2fe)](!0x1);}}['onRemoteAck'](_0x46b84e){var _0x1c7c34=_0x1af020;this[_0x1c7c34(0x139)]();const _0x245316=this[_0x1c7c34(0x16c)][_0x1c7c34(0x1c4)](this[_0x1c7c34(0x3d3)]);if(_0x46b84e[_0x1c7c34(0x273)]<_0x245316-0x1)return this;if(this[_0x1c7c34(0x303)](_0x46b84e))return this[_0x1c7c34(0x332)]['createInstance'](ee,this[_0x1c7c34(0x3d3)],this[_0x1c7c34(0x2c4)],null,[],this[_0x1c7c34(0x31a)],[],this[_0x1c7c34(0x366)]);this[_0x1c7c34(0x26c)]();const _0x3bb220=this[_0x1c7c34(0x332)][_0x1c7c34(0x457)](be,this[_0x1c7c34(0x3d3)],this[_0x1c7c34(0x2c4)],this[_0x1c7c34(0x366)]);return _0x3bb220[_0x1c7c34(0x360)](),_0x3bb220;}[_0x1af020(0x1bf)](_0x2804d4){var _0x40fcc8=_0x1af020;return this[_0x40fcc8(0x2fe)](!!(_0x2804d4!=null&&_0x2804d4[_0x40fcc8(0x18f)]));}['onRemoteRetry'](_0x13343b){var _0xc1d7da=_0x1af020;return this[_0xc1d7da(0x1f5)]>Ti?this[_0xc1d7da(0x386)]():(this[_0xc1d7da(0x1f8)]=Ii(this[_0xc1d7da(0x24b)],{'timeout':this[_0xc1d7da(0x24b)],'reqId':_0x13343b[_0xc1d7da(0x2d0)]}),this[_0xc1d7da(0x2c7)]=this[_0xc1d7da(0x1f8)][_0xc1d7da(0x15f)](({reqId:_0x24d5fb,timeout:_0x54f7d3})=>{var _0x2a46b1=_0xc1d7da;this[_0x2a46b1(0x392)](_0x24d5fb,_0x54f7d3);}),this);}[_0x1af020(0x386)](){var _0x87210f=_0x1af020;return this[_0x87210f(0x139)](),this['_injector'][_0x87210f(0x457)](de,this[_0x87210f(0x3d3)],this[_0x87210f(0x2c4)],this['_awaitingChangeset'],[],this[_0x87210f(0x366)]);}[_0x1af020(0x30e)](){return this;}[_0x1af020(0x363)](){var _0x7374e4=_0x1af020;this[_0x7374e4(0x366)][_0x7374e4(0x456)](this[_0x7374e4(0x31a)]);}[_0x1af020(0x2fe)](_0x327a01){var _0x811a53=_0x1af020;return this[_0x811a53(0x139)](),this[_0x811a53(0x332)][_0x811a53(0x457)](ue,this['unitID'],this['type'],this[_0x811a53(0x31a)],[],this[_0x811a53(0x366)],_0x327a01);}[_0x1af020(0x392)](_0x245236,_0x7b4639){var _0x592bd4=_0x1af020,_0x3ec8ae;_0x245236===((_0x3ec8ae=this[_0x592bd4(0x31a)])==null?void 0x0:_0x3ec8ae[_0x592bd4(0x2d0)])&&(this[_0x592bd4(0x363)](),this[_0x592bd4(0x24b)]=_0x7b4639===0x0?0x3e8:Math[_0x592bd4(0x224)](_0x7b4639*0x2,gi),this[_0x592bd4(0x1f5)]+=this[_0x592bd4(0x24b)]);}[_0x1af020(0x139)](){var _0x5c9452=_0x1af020,_0x1af15a;(_0x1af15a=this[_0x5c9452(0x2c7)])==null||_0x1af15a[_0x5c9452(0x1e7)](),this[_0x5c9452(0x24b)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};le=Se([L(0x4,_0x5d0be3(_0x1be1d3)),L(0x5,_0x5d0be3(_0x270536)),L(0x6,_0x46cdbe),L(0x7,_0x229638),L(0x8,_0x46ae73),L(0x9,_0x49a547),L(0xa,_0x4e8ecc(X))],le);let oe=class extends ge{constructor(_0x3bc5cd,_0xaab15f,_0x5d13f0,_0x35239b,_0x364e25,_0x4f7f84,_0x49ff10,_0xd63bfe,_0x3cc9a0,_0x3ff69f,_0x2de1f2,_0x2278dd,_0x561e68){var _0x34e890=_0x1af020;super(_0x3bc5cd,_0xaab15f,_0x5d13f0,_0x35239b,_0x364e25,_0x3cc9a0,_0x2278dd,_0xd63bfe,_0x561e68),D(this,_0x34e890(0x434),'awaiting_with_pending'),D(this,_0x34e890(0x24b),0x0),D(this,_0x34e890(0x1f5),0x0),D(this,_0x34e890(0x1f8)),D(this,_0x34e890(0x2c7)),(this['_injector']=_0x49ff10,this[_0x34e890(0x337)]=_0x3ff69f,this[_0x34e890(0x200)]=_0x2de1f2,this['localCacheService']=_0x561e68,_0x4f7f84&&(this[_0x34e890(0x1f8)]=_0x4f7f84,this[_0x34e890(0x2c7)]=this['_resendTimer']['subscribe'](({reqId:_0x415f15,timeout:_0x241b8e})=>{this['_resendWithTimeout'](_0x415f15,_0x241b8e);})));}['appendMutation'](_0x4e1feb){var _0x56e483=_0x1af020;return this[_0x56e483(0x330)][_0x56e483(0x355)](_0x4e1feb),this;}[_0x1af020(0x26a)](_0x191bf1){var _0x29967e=_0x1af020;if(this[_0x29967e(0x303)](_0x191bf1))return this[_0x29967e(0x139)](),this[_0x29967e(0x332)][_0x29967e(0x457)](ee,this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x191bf1],this[_0x29967e(0x366)]);try{const _0x4c1ae4=this[_0x29967e(0x200)][_0x29967e(0x3da)]([_0x191bf1],[this[_0x29967e(0x31a)]],!0x1);if(_0x1b50c6(_0x4c1ae4)){const {c1Prime:_0x2d3232,c2Prime:_0x16fa19}=_0x4c1ae4,_0x224ac3=this[_0x29967e(0x200)][_0x29967e(0x13a)](_0x2d3232[0x0],this[_0x29967e(0x330)]);if(_0x2beb76(_0x224ac3)){const {c1Prime:_0x1f090c,m2Prime:_0x2dc31e}=_0x224ac3;return this['_executeRemoteChangeset'](_0x1f090c),_0x16fa19[0x0][_0x29967e(0x417)]=this[_0x29967e(0x36c)](),this[_0x29967e(0x139)](),this[_0x29967e(0x332)]['createInstance'](oe,this['unitID'],this[_0x29967e(0x2c4)],_0x16fa19[0x0],_0x2dc31e,this[_0x29967e(0x366)],void 0x0);}throw _0x224ac3[_0x29967e(0x3ee)];}throw _0x4c1ae4['error'];}catch(_0xe21e2){return this[_0x29967e(0x337)][_0x29967e(0x3ee)](_0xe21e2),this[_0x29967e(0x2fe)](!0x1);}}[_0x1af020(0x225)](_0x2cab73){var _0x29f2e1=_0x1af020;if(this[_0x29f2e1(0x139)](),this[_0x29f2e1(0x303)](_0x2cab73))return this[_0x29f2e1(0x332)][_0x29f2e1(0x457)](ee,this['unitID'],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x29f2e1(0x366)]);this[_0x29f2e1(0x26c)]();const _0x41a413=this['_injector'][_0x29f2e1(0x457)](ae,this[_0x29f2e1(0x3d3)],this[_0x29f2e1(0x2c4)],this[_0x29f2e1(0x330)],this[_0x29f2e1(0x366)]);return _0x41a413[_0x29f2e1(0x28a)](),_0x41a413[_0x29f2e1(0x360)](),_0x41a413;}[_0x1af020(0x1bf)](_0x271826){var _0x1c48de=_0x1af020;return this['_onConflict'](!!(_0x271826!=null&&_0x271826[_0x1c48de(0x18f)]));}['onRemoteRetry'](_0xdca11a){var _0xe68b49=_0x1af020;return this[_0xe68b49(0x1f5)]>Ti?this[_0xe68b49(0x386)]():(this[_0xe68b49(0x1f8)]=Ii(this[_0xe68b49(0x24b)],{'timeout':this[_0xe68b49(0x24b)],'reqId':_0xdca11a[_0xe68b49(0x2d0)]}),this['_sender']=this[_0xe68b49(0x1f8)][_0xe68b49(0x15f)](({reqId:_0x207df0,timeout:_0x3e96f9})=>{var _0x468e12=_0xe68b49;this[_0x468e12(0x392)](_0x207df0,_0x3e96f9);}),this);}[_0x1af020(0x386)](){var _0x51a22b=_0x1af020;return this['_clearScheduledTask'](),this[_0x51a22b(0x332)][_0x51a22b(0x457)](de,this[_0x51a22b(0x3d3)],this[_0x51a22b(0x2c4)],this[_0x51a22b(0x31a)],this[_0x51a22b(0x330)],this[_0x51a22b(0x366)]);}['toggleOnline'](){return this;}[_0x1af020(0x363)](){var _0x164f41=_0x1af020;this[_0x164f41(0x366)][_0x164f41(0x456)](this[_0x164f41(0x31a)]);}[_0x1af020(0x2fe)](_0x4dd6d1){var _0x4301b0=_0x1af020;return this['_clearScheduledTask'](),this[_0x4301b0(0x332)]['createInstance'](ue,this[_0x4301b0(0x3d3)],this['type'],null,this['_pendingMutations'],this[_0x4301b0(0x366)],_0x4dd6d1);}[_0x1af020(0x392)](_0x116cd5,_0x4fc284){var _0x5beecc=_0x1af020,_0x229386;_0x116cd5===((_0x229386=this[_0x5beecc(0x31a)])==null?void 0x0:_0x229386[_0x5beecc(0x2d0)])&&(this['resend'](),this[_0x5beecc(0x24b)]=_0x4fc284===0x0?0x3e8:Math[_0x5beecc(0x224)](_0x4fc284*0x2,gi),this['_maxTotalRetryTimeout']+=this[_0x5beecc(0x24b)]);}[_0x1af020(0x139)](){var _0x557243=_0x1af020,_0x111875;(_0x111875=this[_0x557243(0x2c7)])==null||_0x111875[_0x557243(0x1e7)](),this[_0x557243(0x24b)]=0x0,this[_0x557243(0x1f5)]=0x0;}};oe=Se([L(0x6,_0x5d0be3(_0x1be1d3)),L(0x7,_0x5d0be3(_0x270536)),L(0x8,_0x46cdbe),L(0x9,_0x229638),L(0xa,_0x46ae73),L(0xb,_0x49a547),L(0xc,_0x4e8ecc(X))],oe);let ue=class extends ge{constructor(_0xfd5cad,_0x3e528d,_0x2bcc18,_0x130dc1,_0x6dad27,_0x4fb0f3=!0x1,_0x1e3f02,_0x48b056,_0x22f60f,_0xa21b2e,_0x3a4891,_0x101edc,_0x4765cd){var _0x39c6bd=_0x1af020;super(_0xfd5cad,_0x3e528d,_0x2bcc18,_0x130dc1,_0x6dad27,_0x48b056,_0x22f60f,_0xa21b2e,_0x4765cd),D(this,'status',_0x39c6bd(0x16b)),(this[_0x39c6bd(0x2a4)]=_0x4fb0f3,this[_0x39c6bd(0x23d)]=_0x1e3f02,this[_0x39c6bd(0x450)]=_0x3a4891,this[_0x39c6bd(0x325)]=_0x101edc,this[_0x39c6bd(0x151)]=_0x4765cd,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x1af020(0x327)](){return this;}[_0x1af020(0x26a)](){return this;}[_0x1af020(0x225)](){return this;}['onRemoteRej'](){return this;}[_0x1af020(0x2fa)](){return this;}[_0x1af020(0x386)](){return this;}[_0x1af020(0x30e)](){return this;}[_0x1af020(0x363)](){var _0x5f4bd5=_0x1af020;throw new Error(_0x5f4bd5(0x275));}[_0x1af020(0x24e)](){var _0x450fd3=_0x1af020,_0x49455b;(_0x49455b=this[_0x450fd3(0x3fa)])==null||_0x49455b['updateOfflineData'](this[_0x450fd3(0x3d3)],this[_0x450fd3(0x2c4)],null,[]);}[_0x1af020(0x1b7)](){var _0x1673af=_0x1af020;this[_0x1673af(0x2a4)]?this['_collaborationUIEventService'][_0x1673af(0x141)]({'id':re[_0x1673af(0x33d)]}):this[_0x1673af(0x325)]['emitEvent']({'id':re['CONFLICT']});}[_0x1af020(0x20d)](){var _0x5d4448=_0x1af020;this['_permissionService'][_0x5d4448(0x378)](new _0xa892a4(this[_0x5d4448(0x3d3)])['id'],!0x1);}};ue=Se([L(0x6,_0x5d0be3(_0x15cd54)),L(0x7,_0x46cdbe),L(0x8,_0x49a547),L(0x9,_0x5d0be3(_0x270536)),L(0xa,_0x5d0be3(_0x33940c)),L(0xb,_0x5d0be3(ve)),L(0xc,_0x4e8ecc(X))],ue);let de=class extends ge{constructor(_0x3ead6d,_0x343f9a,_0x3d1075,_0x526081,_0x46a50f,_0x4f3814,_0x229305,_0x3991c3,_0x465ebc,_0x22ac8a){var _0x2b4ef2=_0x1af020;super(_0x3ead6d,_0x343f9a,_0x3d1075,_0x526081,_0x46a50f,_0x3991c3,_0x465ebc,_0x229305,_0x22ac8a),D(this,_0x2b4ef2(0x434),_0x2b4ef2(0x382)),this['_injector']=_0x4f3814;}[_0x1af020(0x327)](_0x901faa){var _0x1f3b62=_0x1af020;return this[_0x1f3b62(0x330)][_0x1f3b62(0x355)](_0x901faa),this[_0x1f3b62(0x360)](),this;}[_0x1af020(0x26a)](_0x123c7a){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1af020(0x225)](){var _0x4e6185=_0x1af020;throw new Error(_0x4e6185(0x42a));}['onRemoteRej'](){var _0x28b916=_0x1af020;throw new Error(_0x28b916(0x210));}[_0x1af020(0x2fa)](){return this;}[_0x1af020(0x386)](){return this;}[_0x1af020(0x30e)](){var _0x33f441=_0x1af020;const {_injector:_0x198690,_pendingMutations:_0x34ea9e,_awaitingChangeset:_0x5e12fc,unitID:_0x7588f,_handler:_0x577865,type:_0x1c7f0b}=this,_0x5684c6=Oi(_0x198690,_0x7588f,_0x1c7f0b,_0x5e12fc,_0x34ea9e,_0x577865);return _0x5684c6 instanceof ae?_0x5684c6[_0x33f441(0x28a)]():(_0x5684c6 instanceof oe||_0x5684c6 instanceof le)&&_0x5684c6['resend'](),_0x5684c6;}[_0x1af020(0x363)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([L(0x5,_0x5d0be3(_0x1be1d3)),L(0x6,_0x5d0be3(_0x270536)),L(0x7,_0x46cdbe),L(0x8,_0x49a547),L(0x9,_0x4e8ecc(X))],de);let ee=class extends ge{constructor(_0x49e541,_0x3dca84,_0x2c9bff,_0x678cd6,_0x4929f7,_0x114ca7,_0x4a3824,_0x1064a1,_0x3ef703,_0x4e2afe,_0x7d32dd,_0x2a489f,_0x2808d4,_0x2c41bb){var _0x4178f2=_0x1af020;super(_0x49e541,_0x3dca84,_0x2c9bff,_0x678cd6,_0x4a3824,_0x7d32dd,_0x2a489f,_0x3ef703,_0x2c41bb),D(this,_0x4178f2(0x434),_0x4178f2(0x231)),(this['_acknowledgedAwaitingChangeset']=_0x4929f7,this[_0x4178f2(0x282)]=_0x114ca7,this[_0x4178f2(0x332)]=_0x1064a1,this[_0x4178f2(0x337)]=_0x4e2afe,this[_0x4178f2(0x200)]=_0x2808d4,this['localCacheService']=_0x2c41bb);}[_0x1af020(0x41d)](_0x5e5825){var _0x5a411f=_0x1af020;try{const _0x3cb44d=[..._0x5e5825,...this['_queuedRemoteChangesets']],_0x14ff76=[this[_0x5a411f(0x31a)]||this[_0x5a411f(0x3d9)]][_0x5a411f(0x186)](_0x1aa750=>!!_0x1aa750);let _0x228865,_0x4a5749;if(_0x14ff76[_0x5a411f(0x140)]){const _0x1007d6=this[_0x5a411f(0x200)]['transformChangesets'](_0x3cb44d,_0x14ff76,!0x1);if(!_0x1b50c6(_0x1007d6))throw _0x1007d6[_0x5a411f(0x3ee)];_0x228865=_0x1007d6[_0x5a411f(0x42b)],_0x4a5749=_0x1007d6[_0x5a411f(0x45a)];}else _0x228865=_0x3cb44d,_0x4a5749=[];let _0x569dfd=this[_0x5a411f(0x330)];_0x228865[_0x5a411f(0x3db)](_0x234df9=>{var _0x7c03f0=_0x5a411f;let _0x14ce5e;if(_0x569dfd[_0x7c03f0(0x140)]){const _0xa4d1cb=this['_transformService'][_0x7c03f0(0x13a)](_0x234df9,_0x569dfd);if(!_0x2beb76(_0xa4d1cb))throw _0xa4d1cb[_0x7c03f0(0x3ee)];_0x14ce5e=_0xa4d1cb[_0x7c03f0(0x42b)],_0x569dfd=_0xa4d1cb[_0x7c03f0(0x38d)];}else _0x14ce5e=_0x234df9;this[_0x7c03f0(0x154)](_0x14ce5e);}),this[_0x5a411f(0x3d9)]&&this[_0x5a411f(0x26c)](),this['_awaitingChangeset']&&_0x4a5749[_0x5a411f(0x140)]&&(_0x4a5749[0x0][_0x5a411f(0x417)]=this[_0x5a411f(0x36c)]());let _0xd1164a;if(this[_0x5a411f(0x31a)]&&_0x569dfd[_0x5a411f(0x140)]!==0x0)_0xd1164a=this['_injector']['createInstance'](oe,this[_0x5a411f(0x3d3)],this[_0x5a411f(0x2c4)],_0x4a5749[0x0],_0x569dfd,this['_handler'],void 0x0);else{if(this[_0x5a411f(0x31a)]&&_0x569dfd[_0x5a411f(0x140)]===0x0)_0x4a5749[0x0][_0x5a411f(0x417)]=this[_0x5a411f(0x36c)](),_0xd1164a=this[_0x5a411f(0x332)][_0x5a411f(0x457)](le,this[_0x5a411f(0x3d3)],this['type'],_0x4a5749[0x0],this['_handler']);else{if(_0x569dfd[_0x5a411f(0x140)]!==0x0){const _0xf386ef=this['_injector'][_0x5a411f(0x457)](ae,this[_0x5a411f(0x3d3)],this[_0x5a411f(0x2c4)],_0x569dfd,this[_0x5a411f(0x366)]);_0xf386ef['_schedule'](),_0xd1164a=_0xf386ef;}else _0xd1164a=this['_injector']['createInstance'](be,this[_0x5a411f(0x3d3)],this[_0x5a411f(0x2c4)],this[_0x5a411f(0x366)]);}}return _0xd1164a[_0x5a411f(0x360)](),_0xd1164a;}catch(_0x504a11){return this[_0x5a411f(0x337)][_0x5a411f(0x3ee)](_0x5a411f(0x2e3),'failed\x20to\x20apply\x20missed\x20changesets!',_0x504a11),this[_0x5a411f(0x332)]['createInstance'](ue,this[_0x5a411f(0x3d3)],this[_0x5a411f(0x2c4)],this['_awaitingChangeset'],this[_0x5a411f(0x330)],this[_0x5a411f(0x366)],!0x1);}}[_0x1af020(0x363)](){var _0x3fcb65=_0x1af020;throw new Error(_0x3fcb65(0x3ff));}[_0x1af020(0x327)](_0x153ec3){var _0x5edad1=_0x1af020;return this[_0x5edad1(0x330)]['push'](_0x153ec3),this;}[_0x1af020(0x26a)](_0x55d03c){var _0x55364e=_0x1af020;return this['_queuedRemoteChangesets'][_0x55364e(0x355)](_0x55d03c),this;}[_0x1af020(0x225)](_0x39fa55){var _0x34ac58=_0x1af020;if(this[_0x34ac58(0x31a)])return this[_0x34ac58(0x3d9)]=this[_0x34ac58(0x31a)],this[_0x34ac58(0x31a)]=null,this;throw new Error(_0x34ac58(0x335));}[_0x1af020(0x1bf)](_0x31481c){var _0x372948=_0x1af020;return this['_onConflict'](!!(_0x31481c!=null&&_0x31481c[_0x372948(0x18f)]));}[_0x1af020(0x2fa)](){return this;}[_0x1af020(0x386)](){var _0x54f7fb=_0x1af020;return this[_0x54f7fb(0x332)]['createInstance'](de,this[_0x54f7fb(0x3d3)],this[_0x54f7fb(0x2c4)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x54f7fb(0x366)]);}['toggleOnline'](){return this;}[_0x1af020(0x2fe)](_0x1d8271){var _0x2fe742=_0x1af020;return this[_0x2fe742(0x332)][_0x2fe742(0x457)](ue,this[_0x2fe742(0x3d3)],this[_0x2fe742(0x2c4)],this[_0x2fe742(0x31a)],this['_pendingMutations'],this[_0x2fe742(0x366)],_0x1d8271);}};ee=Se([L(0x7,_0x5d0be3(_0x1be1d3)),L(0x8,_0x5d0be3(_0x270536)),L(0x9,_0x229638),L(0xa,_0x46cdbe),L(0xb,_0x49a547),L(0xc,_0x46ae73),L(0xd,_0x4e8ecc(X))],ee);function Oi(_0x4422c3,_0x3599c8,_0x29ca9e,_0x109766,_0x27beb4,_0x3ebd79){var _0x5419da=_0x1af020;return _0x109766&&_0x27beb4[_0x5419da(0x140)]?_0x4422c3[_0x5419da(0x457)](oe,_0x3599c8,_0x29ca9e,_0x109766,_0x27beb4,_0x3ebd79,void 0x0):_0x109766?_0x4422c3[_0x5419da(0x457)](le,_0x3599c8,_0x29ca9e,_0x109766,_0x3ebd79):_0x27beb4[_0x5419da(0x140)]?_0x4422c3[_0x5419da(0x457)](ae,_0x3599c8,_0x29ca9e,_0x27beb4,_0x3ebd79):_0x4422c3['createInstance'](be,_0x3599c8,_0x29ca9e,_0x3ebd79);}var Fs=Object['getOwnPropertyDescriptor'],At=(_0x1d41c3,_0x16edbc,_0x3fe9b5,_0x1d93cf)=>{var _0x5c3e38=_0x1af020;for(var _0x36b13c=_0x1d93cf>0x1?void 0x0:_0x1d93cf?Fs(_0x16edbc,_0x3fe9b5):_0x16edbc,_0xef17dd=_0x1d41c3[_0x5c3e38(0x140)]-0x1,_0x3df7e0;_0xef17dd>=0x0;_0xef17dd--)(_0x3df7e0=_0x1d41c3[_0xef17dd])&&(_0x36b13c=_0x3df7e0(_0x36b13c)||_0x36b13c);return _0x36b13c;},$=(_0x51ec3f,_0x239b11)=>(_0x51c1f2,_0xf160f)=>_0x239b11(_0x51c1f2,_0xf160f,_0x51ec3f);let st=class extends _0x40ffa0{constructor(_0x16b46f,_0x41e07c,_0x15c730,_0x201619,_0x58fdcb,_0x258e1c,_0x33035a,_0x529ee2,_0x2039b9,_0x119dce,_0x30246e,_0x25d668,_0x19137d,_0x104227){var _0x2bf151=_0x1af020;super(),D(this,_0x2bf151(0x458),new _0x360a3d(null)),D(this,_0x2bf151(0x3b1),this[_0x2bf151(0x458)]['asObservable']()),D(this,_0x2bf151(0x3fb)),D(this,'_collaborationPaused',!0x1),D(this,_0x2bf151(0x36b),''),D(this,_0x2bf151(0x34d),0x0),D(this,_0x2bf151(0x2b5),this[_0x2bf151(0x3b1)][_0x2bf151(0x3ab)](_0x66cb61(_0x43fd9b=>_0x43fd9b?_0x43fd9b['status']:Si[_0x2bf151(0x3d4)]),_0x566eb2(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x2bf151(0x3de),[]),(this[_0x2bf151(0x3d3)]=_0x16b46f,this['session']=_0x41e07c,this[_0x2bf151(0x391)]=_0x15c730,this[_0x2bf151(0x332)]=_0x201619,this[_0x2bf151(0x3a4)]=_0x58fdcb,this[_0x2bf151(0x450)]=_0x258e1c,this[_0x2bf151(0x16c)]=_0x33035a,this[_0x2bf151(0x3dd)]=_0x529ee2,this[_0x2bf151(0x279)]=_0x2039b9,this[_0x2bf151(0x337)]=_0x119dce,this['_commandService']=_0x30246e,this['_permissionService']=_0x25d668,this[_0x2bf151(0x409)]=_0x19137d,this[_0x2bf151(0x3fa)]=_0x104227);}get[_0x1af020(0x258)](){return this['_state'];}async['init'](){var _0x4aaffa=_0x1af020;if(this[_0x4aaffa(0x258)])throw new Error(_0x4aaffa(0x3c0));await this[_0x4aaffa(0x266)]();}[_0x1af020(0x1fe)](){var _0x125bb2=_0x1af020;return this[_0x125bb2(0x2dc)]=!0x0,_0x26346d(()=>{var _0x36605c=_0x125bb2;this[_0x36605c(0x2dc)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1af020(0x23e)](_0x401d85){var _0x10af88=_0x1af020;this[_0x10af88(0x22c)](_0x401d85);}[_0x1af020(0x301)](_0x23a134){var _0xb670ac=_0x1af020;this[_0xb670ac(0x3fb)]=_0x23a134,this[_0xb670ac(0x458)][_0xb670ac(0x16e)](_0x23a134);}async[_0x1af020(0x266)](){var _0x5b3169=_0x1af020,_0x26aad9;this['_updateState'](await this[_0x5b3169(0x1b3)]()),this[_0x5b3169(0x409)]&&((_0x26aad9=this[_0x5b3169(0x409)])==null||_0x26aad9[_0x5b3169(0x1cb)](this[_0x5b3169(0x3d3)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x5b3169(0x19c)](this[_0x5b3169(0x3d3)])[_0x5b3169(0x15f)](_0x1b146b=>{var _0x55d951=_0x5b3169;this[_0x55d951(0x337)][_0x55d951(0x44a)]('[CollaborationEntity]',_0x55d951(0x2cf),_0x1b146b),_0x1b146b===mi[_0x55d951(0x30c)]?(this[_0x55d951(0x3dd)][_0x55d951(0x141)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x55d951(0x23d)][_0x55d951(0x378)](new _0xa892a4(this[_0x55d951(0x3d3)])['id'],!0x1),this[_0x55d951(0x23d)][_0x55d951(0x419)](!0x1)):(this['_permissionService'][_0x55d951(0x378)](new _0xa892a4(this[_0x55d951(0x3d3)])['id'],!0x0),this[_0x55d951(0x23d)]['setShowComponents'](!0x0));})));let _0x5bc6c0=!0x1;return this['disposeWithMe'](this[_0x5b3169(0x3cf)][_0x5b3169(0x235)][_0x5b3169(0x15f)](_0x3fca51=>{var _0x3b6251=_0x5b3169;_0x3fca51===me[_0x3b6251(0x359)]?this[_0x3b6251(0x17e)](_0x5bc6c0):_0x3fca51===me[_0x3b6251(0x3d4)]&&(_0x5bc6c0=!0x0,this['_toggleOffline']());})),this[_0x5b3169(0x32c)](this['session'][_0x5b3169(0x27d)][_0x5b3169(0x15f)](_0x3e4c34=>{var _0x423266=_0x5b3169;try{switch(_0x3e4c34[_0x423266(0x236)]){case _0x3684d2['NEW_CHANGESETS']:{this[_0x423266(0x338)](_0xc1872c(_0x3e4c34[_0x423266(0x42e)]));break;}case _0x3684d2['CHANGESET_ACK']:{this['_onRemoteACK'](_0x3e4c34[_0x423266(0x42e)]);break;}case _0x3684d2[_0x423266(0x193)]:{this['_onRemoteRejected']();break;}case _0x3684d2[_0x423266(0x3f9)]:{this['_onRemoteRetry'](_0x3e4c34[_0x423266(0x42e)]);break;}case _0x3684d2[_0x423266(0x3c7)]:{this['_onFetchMissResult'](_0x3e4c34['data']['changesets'][_0x423266(0x1bb)](_0x496e1b=>_0xc1872c(_0x496e1b)));break;}case _0x3684d2['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3684d2[_0x423266(0x3c8)]:break;}}catch(_0x4afa96){throw console[_0x423266(0x3ee)]('Error\x20on\x20receiving\x20event',_0x4afa96),_0x4afa96;}})),this[_0x5b3169(0x3fb)];}[_0x1af020(0x406)](){this['_transitionLocked']=!0x1;}[_0x1af020(0x3dc)](){var _0x18f2d9=_0x1af020;if(this['_transitionLocked'])throw new Error(_0x18f2d9(0x353));this[_0x18f2d9(0x185)]=!0x0;}[_0x1af020(0x22c)](_0x11fc2b){var _0xc13679=_0x1af020;this[_0xc13679(0x3dc)](),this[_0xc13679(0x301)](this[_0xc13679(0x3fb)]['appendMutation'](_0x11fc2b)),this[_0xc13679(0x406)]();}['_onRemoteChangeset'](_0x31cc21){var _0x2b5223=_0x1af020;if(!(_0x31cc21[_0x2b5223(0x273)]<=this['_revisionService'][_0x2b5223(0x1c4)](this['unitID']))){if(this['_collaborationPaused']){this[_0x2b5223(0x3de)][_0x2b5223(0x355)](_0x31cc21);return;}this[_0x2b5223(0x22a)](_0x31cc21);}}[_0x1af020(0x14a)](){var _0x377ba2=_0x1af020;this[_0x377ba2(0x3de)][_0x377ba2(0x3db)](_0x312133=>this[_0x377ba2(0x22a)](_0x312133)),this['_remoteChangesetQueue']=[];}[_0x1af020(0x22a)](_0x40f1ed){var _0x583f93=_0x1af020;const _0x41b831=this[_0x583f93(0x3a4)][_0x583f93(0x245)][_0x583f93(0x3f0)](this[_0x583f93(0x3a4)][_0x583f93(0x245)][_0x583f93(0x3ce)]()[_0x583f93(0x33e)])(_0x40f1ed[_0x583f93(0x2f7)],null)||_0x40f1ed['mutations'],_0x1552b4={..._0x40f1ed,'mutations':_0x41b831};this[_0x583f93(0x3dc)](),this[_0x583f93(0x301)](this[_0x583f93(0x3fb)][_0x583f93(0x26a)](_0x1552b4)),this['_unlockTransition']();}[_0x1af020(0x2aa)](_0x259724){var _0x1fe0ee=_0x1af020;this[_0x1fe0ee(0x3dc)](),this[_0x1fe0ee(0x301)](this[_0x1fe0ee(0x3fb)]['onRemoteAck'](_0x259724)),this[_0x1fe0ee(0x406)]();}[_0x1af020(0x1f9)](_0x40a6c0){var _0x228c0c=_0x1af020;this['_lockTransition'](),this[_0x228c0c(0x301)](this['_state'][_0x228c0c(0x1bf)](_0x40a6c0)),this['_unlockTransition']();}['_onRemoteRetry'](_0x3e48b1){var _0x42abae=_0x1af020;this[_0x42abae(0x3dc)](),this[_0x42abae(0x301)](this[_0x42abae(0x3fb)][_0x42abae(0x2fa)](_0x3e48b1)),this[_0x42abae(0x406)]();}[_0x1af020(0x39a)](_0x5873cd){var _0x2850d3=_0x1af020;if(!(this[_0x2850d3(0x3fb)]instanceof ee))throw new TypeError(_0x2850d3(0x274));const _0x25f56f=_0x5873cd[_0x2850d3(0x1bb)](_0x47c6ac=>{var _0x5407d4=_0x2850d3;const _0x529676=this[_0x5407d4(0x3a4)][_0x5407d4(0x245)][_0x5407d4(0x3f0)](this[_0x5407d4(0x3a4)]['interceptor'][_0x5407d4(0x3ce)]()['COMPRESS_MUTATION_APPLY'])(_0x47c6ac[_0x5407d4(0x2f7)],null)||_0x47c6ac['mutations'];return{..._0x47c6ac,'mutations':_0x529676};});this[_0x2850d3(0x3dc)](),this['_updateState'](this[_0x2850d3(0x3fb)][_0x2850d3(0x41d)](_0x25f56f)),this[_0x2850d3(0x406)]();}['_toggleOffline'](){var _0x5e5179=_0x1af020;this[_0x5e5179(0x3dc)](),this[_0x5e5179(0x301)](this[_0x5e5179(0x3fb)][_0x5e5179(0x386)]()),this[_0x5e5179(0x406)]();}[_0x1af020(0x17e)](_0x16a5a0=!0x1){var _0x3c7e1c=_0x1af020;this['_lockTransition'](),this[_0x3c7e1c(0x301)](this[_0x3c7e1c(0x3fb)][_0x3c7e1c(0x30e)]()),this[_0x3c7e1c(0x406)]();const _0xabbd20=this[_0x3c7e1c(0x3fb)];_0x16a5a0&&_0xabbd20 instanceof be&&(this[_0x3c7e1c(0x3dc)](),this['_updateState'](_0xabbd20[_0x3c7e1c(0x449)]()),this[_0x3c7e1c(0x406)]());}async[_0x1af020(0x1b3)](){return new Promise(_0x2dcec3=>{var _0x3026d6=_0x46eb;this['session'][_0x3026d6(0x235)][_0x3026d6(0x3ab)](_0x31bd7b(0x1))[_0x3026d6(0x15f)](async _0x5a9a4b=>{var _0x1200e7=_0x3026d6;_0x2dcec3(await this[_0x1200e7(0x443)](_0x5a9a4b===me[_0x1200e7(0x359)]));});});}[_0x1af020(0x3f2)](){var _0x4cd313=_0x1af020;const _0x30e77b=this[_0x4cd313(0x3d3)];return{'onStateChange':(_0xcb49bf,_0x365bd5)=>{var _0x1dd1bf=_0x4cd313;if(_0xcb49bf!==this[_0x1dd1bf(0x3fb)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xcb49bf[_0x1dd1bf(0x434)]+_0x1dd1bf(0x294)+_0x365bd5[_0x1dd1bf(0x434)]+_0x1dd1bf(0x13b)+this[_0x1dd1bf(0x3fb)][_0x1dd1bf(0x434)]);this['_updateState'](_0x365bd5);},'onSendChangeset':_0x1c920e=>{var _0x228736=_0x4cd313;_0x1c920e[_0x228736(0x38e)]||(_0x1c920e[_0x228736(0x38e)]=this[_0x228736(0x36b)],_0x1c920e[_0x228736(0x2d0)]=++this[_0x228736(0x34d)]);const _0x1ac019={'eventID':_0x3684d2[_0x228736(0x31e)],'data':{'unitID':_0x1c920e['unitID'],'unitType':this['_type'],'changeset':_0x1c920e,'memberID':this[_0x228736(0x3cf)][_0x228736(0x13d)]()}};this['session'][_0x228736(0x42c)](_0x1ac019,this[_0x228736(0x3d3)]);},'onMissingChangesets':({from:_0x408288,to:_0x323fa5})=>{var _0x55ccf2=_0x4cd313;this[_0x55ccf2(0x337)]['debug'](_0x55ccf2(0x20e),_0x55ccf2(0x1d7)+_0x408288+_0x55ccf2(0x1f7)+_0x323fa5);const _0x4c0867={'eventID':_0x3684d2[_0x55ccf2(0x1d5)],'data':{'unitID':_0x30e77b,'unitType':this[_0x55ccf2(0x391)],'from':_0x408288,'to':_0x323fa5}};this['session']['send'](_0x4c0867,this[_0x55ccf2(0x3d3)]);}};}async[_0x1af020(0x443)](_0x2eacf5){var _0xce6500=_0x1af020,_0x18aad1,_0x2a03f7,_0x27ba94;const _0x224a38=await((_0x18aad1=this[_0xce6500(0x3fa)])==null?void 0x0:_0x18aad1[_0xce6500(0x13c)](this['unitID'])),_0x5da891=(_0x2a03f7=_0x224a38==null?void 0x0:_0x224a38['mutations'])!=null?_0x2a03f7:[],_0x42b6f4=(_0x27ba94=_0x224a38==null?void 0x0:_0x224a38[_0xce6500(0x32d)])!=null?_0x27ba94:null,_0x2f2b9=!!(_0x42b6f4!=null&&_0x42b6f4[_0xce6500(0x38e)])&&!!(_0x42b6f4!=null&&_0x42b6f4['reqId']);this[_0xce6500(0x36b)]=_0x2f2b9?_0x42b6f4['sid']:_0x276d8b(),this[_0xce6500(0x34d)]=_0x2f2b9?_0x42b6f4['reqId']:0x0;const _0x5b30ec=this[_0xce6500(0x3d3)];try{this[_0xce6500(0x333)](_0x42b6f4,_0x5da891);}catch(_0x2040cc){this['_logService'][_0xce6500(0x3ee)](_0x2040cc);}const _0x3ea8ec=this[_0xce6500(0x3f2)]();if(_0x2eacf5){const _0x571cb8=Oi(this[_0xce6500(0x332)],_0x5b30ec,this[_0xce6500(0x391)],_0x42b6f4,_0x5da891,_0x3ea8ec);return _0x571cb8 instanceof ae?_0x571cb8[_0xce6500(0x28a)]():(_0x571cb8 instanceof oe||_0x571cb8 instanceof le)&&_0x571cb8[_0xce6500(0x363)](),_0x571cb8;}return this[_0xce6500(0x332)]['createInstance'](de,_0x5b30ec,this['_type'],_0x42b6f4,_0x5da891,_0x3ea8ec);}['_replayCachedMutations'](_0x1b1885,_0x10bbf6){var _0x17e186=_0x1af020,_0x5d2b1a,_0x2547d0;const _0x50299e=this[_0x17e186(0x3a4)][_0x17e186(0x245)]['fetchThroughInterceptors'](this[_0x17e186(0x3a4)][_0x17e186(0x245)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x5d2b1a=_0x50299e((_0x1b1885==null?void 0x0:_0x1b1885[_0x17e186(0x2f7)])||[],null))==null||_0x5d2b1a['forEach'](_0x499ce1=>this[_0x17e186(0x313)][_0x17e186(0x3be)](_0x499ce1['id'],_0x499ce1[_0x17e186(0x262)])),(_0x2547d0=_0x50299e(_0x10bbf6||[],null))==null||_0x2547d0[_0x17e186(0x3db)](_0xb7ded2=>this[_0x17e186(0x313)]['executeCommand'](_0xb7ded2['id'],_0xb7ded2['params']));}};st=At([$(0x3,_0x5d0be3(_0x1be1d3)),$(0x4,_0x5d0be3(_0x345f11)),$(0x5,_0x5d0be3(_0x33940c)),$(0x6,_0x5d0be3(_0x270536)),$(0x7,_0x5d0be3(ve)),$(0x8,_0x21edfd),$(0x9,_0x229638),$(0xa,_0x46cdbe),$(0xb,_0x15cd54),$(0xc,_0x4e8ecc(_t)),$(0xd,_0x4e8ecc(X))],st);let It=class extends st{constructor(_0x3f7dc0,_0x5b842d,_0x16184f,_0x30ae91,_0x21dfba,_0x4bca16,_0x1f46c8,_0x2be92d,_0x290f46,_0x23110b,_0x1a9ea5,_0x2aff11,_0x321372,_0x23e7cf){var _0xc335c=_0x1af020;super(_0x3f7dc0,_0x16184f,_0x5b842d,_0x30ae91,_0x21dfba,_0x4bca16,_0x1f46c8,_0x2be92d,_0x290f46,_0x23110b,_0x1a9ea5,_0x2aff11,_0x321372,_0x23e7cf),D(this,_0xc335c(0x408),null),(this[_0xc335c(0x3d3)]=_0x3f7dc0,this[_0xc335c(0x2c4)]=_0x5b842d);}[_0x1af020(0x453)](_0x45361b){var _0x335b88=_0x1af020;this[_0x335b88(0x408)]=_0x45361b;}['dispose'](){var _0x4ec26d=_0x1af020;this['_handlerCallback']=null,super[_0x4ec26d(0x2f0)]();}['_createHandler'](){var _0x207438=_0x1af020;const _0x51f70e=super['_createHandler']();return _0x51f70e[_0x207438(0x32a)]=_0x569e62=>{var _0x6cfce3=_0x207438,_0x30a9eb,_0x49abf4;return(_0x49abf4=(_0x30a9eb=this[_0x6cfce3(0x408)])==null?void 0x0:_0x30a9eb[_0x6cfce3(0x32a)])==null?void 0x0:_0x49abf4[_0x6cfce3(0x3c6)](_0x30a9eb,_0x569e62);},_0x51f70e['onTransformState']=_0x4fcc6c=>{var _0x2a30d6=_0x207438,_0x33301d,_0x87ca13;return(_0x87ca13=(_0x33301d=this['_handlerCallback'])==null?void 0x0:_0x33301d['onTransformState'])==null?void 0x0:_0x87ca13[_0x2a30d6(0x3c6)](_0x33301d,_0x4fcc6c);},_0x51f70e[_0x207438(0x18b)]=_0x55d623=>{var _0x197ad1=_0x207438,_0x469f09,_0x30f3d6;return(_0x30f3d6=(_0x469f09=this[_0x197ad1(0x408)])==null?void 0x0:_0x469f09['onTransformSelections'])==null?void 0x0:_0x30f3d6['call'](_0x469f09,_0x55d623);},_0x51f70e['onSyncEditingCollabCursor']=_0x341129=>{var _0x2ffbd9=_0x207438,_0x33a8c7,_0x149a75;return(_0x149a75=(_0x33a8c7=this[_0x2ffbd9(0x408)])==null?void 0x0:_0x33a8c7[_0x2ffbd9(0x3a7)])==null?void 0x0:_0x149a75[_0x2ffbd9(0x3c6)](_0x33a8c7,_0x341129);},_0x51f70e[_0x207438(0x3e2)]=_0x132300=>{var _0x2498b3=_0x207438,_0xff8315,_0x7b063f,_0x13d96c;if(!((_0xff8315=this['_handlerCallback'])!=null&&_0xff8315[_0x2498b3(0x3e2)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x13d96c=(_0x7b063f=this[_0x2498b3(0x408)])==null?void 0x0:_0x7b063f[_0x2498b3(0x3e2)])==null?void 0x0:_0x13d96c[_0x2498b3(0x3c6)](_0x7b063f,_0x132300);},_0x51f70e[_0x207438(0x31c)]=_0x1e1869=>{var _0x46ac7d=_0x207438,_0x214841,_0x51d2ef,_0x2a1122;if(!((_0x214841=this[_0x46ac7d(0x408)])!=null&&_0x214841[_0x46ac7d(0x31c)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2a1122=(_0x51d2ef=this[_0x46ac7d(0x408)])==null?void 0x0:_0x51d2ef[_0x46ac7d(0x31c)])==null?void 0x0:_0x2a1122[_0x46ac7d(0x3c6)](_0x51d2ef,_0x1e1869);},_0x51f70e;}async[_0x1af020(0x266)](){var _0x22bf74=_0x1af020;const _0x27af4c=await super['_init']();return this['disposeWithMe'](this[_0x22bf74(0x313)][_0x22bf74(0x2a7)]((_0x2256b0,_0x5f4938)=>{var _0x423c47=_0x22bf74;if(_0x2256b0['type']!==_0x335a81[_0x423c47(0x448)]||_0x5f4938!=null&&_0x5f4938[_0x423c47(0x1b1)]||_0x5f4938!=null&&_0x5f4938[_0x423c47(0x150)]||_0x2256b0['id']===_0x2b8681['id'])return;const _0x1f6fb2=_0x2256b0[_0x423c47(0x262)];if((_0x1f6fb2==null?void 0x0:_0x1f6fb2[_0x423c47(0x164)])!==this[_0x423c47(0x3d3)])return;const _0x308ff1=_0x2256b0,_0x30009c=this[_0x423c47(0x3a4)][_0x423c47(0x245)][_0x423c47(0x3f0)](this['_compressMutationService'][_0x423c47(0x245)][_0x423c47(0x3ce)]()[_0x423c47(0x35c)])([_0x308ff1],this[_0x423c47(0x279)])||[_0x308ff1];this[_0x423c47(0x22c)](_0x30009c[0x0]);})),_0x27af4c;}};It=At([$(0x3,_0x5d0be3(_0x1be1d3)),$(0x4,_0x5d0be3(_0x345f11)),$(0x5,_0x5d0be3(_0x33940c)),$(0x6,_0x5d0be3(_0x270536)),$(0x7,_0x5d0be3(ve)),$(0x8,_0x21edfd),$(0x9,_0x229638),$(0xa,_0x46cdbe),$(0xb,_0x15cd54),$(0xc,_0x4e8ecc(_t)),$(0xd,_0x4e8ecc(X))],It);let St=class extends st{constructor(_0x3c4ddb,_0x5b2b51,_0x5908f6,_0x2ed65d,_0x3a0c66,_0x392990,_0x53682e,_0x4b6400,_0x239698,_0x3f9131,_0x5048f0,_0x4b9447,_0x5d027d,_0x1010d9,_0x2d2269){var _0x309fc5=_0x1af020;super(_0x3c4ddb,_0x5908f6,_0x5b2b51,_0x2ed65d,_0x3a0c66,_0x392990,_0x53682e,_0x239698,_0x3f9131,_0x5048f0,_0x4b9447,_0x5d027d,_0x1010d9,_0x2d2269),this[_0x309fc5(0x3d3)]=_0x3c4ddb,this[_0x309fc5(0x2c4)]=_0x5b2b51,this[_0x309fc5(0x177)]=_0x4b6400;}[_0x1af020(0x3f2)](){var _0x5034b6=_0x1af020;const _0x24ee42=super[_0x5034b6(0x3f2)]();return _0x24ee42['onTransformSelections']=_0x2f30a0=>this['_sheetTransformSelectionsService'][_0x5034b6(0x415)](_0x2f30a0),_0x24ee42;}async[_0x1af020(0x266)](){var _0x5ba8f8=_0x1af020;const _0x106305=await super['_init']();return this[_0x5ba8f8(0x32c)](this['_commandService'][_0x5ba8f8(0x2a7)]((_0x14dc70,_0x4b8383)=>{var _0x21c02b=_0x5ba8f8;if(_0x14dc70['type']!==_0x335a81[_0x21c02b(0x448)]||_0x4b8383!=null&&_0x4b8383[_0x21c02b(0x1b1)]||_0x4b8383!=null&&_0x4b8383['onlyLocal'])return;const _0x136646=_0x14dc70[_0x21c02b(0x262)];if((_0x136646==null?void 0x0:_0x136646['unitId'])!==this['unitID'])return;const _0x1d5c9b=_0x14dc70,_0x5555e6=this['_compressMutationService']['interceptor'][_0x21c02b(0x3f0)](this[_0x21c02b(0x3a4)][_0x21c02b(0x245)][_0x21c02b(0x3ce)]()[_0x21c02b(0x35c)])([_0x1d5c9b],this[_0x21c02b(0x279)])||[_0x1d5c9b];this['_onLocalMutation'](_0x5555e6[0x0]);})),_0x106305;}};St=At([$(0x3,_0x5d0be3(_0x1be1d3)),$(0x4,_0x5d0be3(_0x345f11)),$(0x5,_0x5d0be3(_0x33940c)),$(0x6,_0x5d0be3(_0x270536)),$(0x7,_0x5d0be3(it)),$(0x8,_0x5d0be3(ve)),$(0x9,_0x21edfd),$(0xa,_0x229638),$(0xb,_0x46cdbe),$(0xc,_0x15cd54),$(0xd,_0x4e8ecc(_t)),$(0xe,_0x4e8ecc(X))],St);const js=_0x50632f(_0x1af020(0x41a));function Vs(_0x2053ac){var _0x56f792=_0x1af020,_0x3b2c41,_0x47e998,_0x546ffe,_0x342d99,_0x37dd13;const _0x11c9ff=_0x2053ac[_0x56f792(0x42e)],_0x12652c=JSON[_0x56f792(0x421)](_0x11c9ff);switch(_0x12652c[_0x56f792(0x1e5)]){case j[_0x56f792(0x2c1)]:case j[_0x56f792(0x362)]:{const _0x1af6a3=_0x12652c['infoRsp'];return{..._0x12652c,'data':_0x1af6a3,'cmd':_0x12652c[_0x56f792(0x1e5)]};}case j[_0x56f792(0x213)]:{const _0x2d461c=_0x12652c['joinRsp'];return{..._0x12652c,'data':_0x2d461c,'cmd':_0x12652c[_0x56f792(0x1e5)]};}case j[_0x56f792(0x21f)]:{const _0x1f1c1d=_0x12652c[_0x56f792(0x2e5)];switch(_0x1f1c1d['eventID']){case _0x3684d2['PERMISSION_REJ']:return{..._0x12652c,'data':{..._0x1f1c1d,'data':(_0x3b2c41=_0x1f1c1d['permissionRejEvent'])==null?void 0x0:_0x3b2c41['cs']},'cmd':_0x12652c[_0x56f792(0x1e5)]};case _0x3684d2[_0x56f792(0x2bd)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':(_0x47e998=_0x1f1c1d[_0x56f792(0x18e)])==null?void 0x0:_0x47e998['cs']},'cmd':_0x12652c['cmd']};case _0x3684d2[_0x56f792(0x184)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':(_0x546ffe=_0x1f1c1d['newCsEvent'])==null?void 0x0:_0x546ffe['cs']},'cmd':_0x12652c[_0x56f792(0x1e5)]};case _0x3684d2[_0x56f792(0x193)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':(_0x342d99=_0x1f1c1d[_0x56f792(0x1ee)])==null?void 0x0:_0x342d99['cs']},'cmd':_0x12652c['cmd']};case _0x3684d2[_0x56f792(0x3f9)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':(_0x37dd13=_0x1f1c1d[_0x56f792(0x147)])==null?void 0x0:_0x37dd13['cs']},'cmd':_0x12652c['cmd']};case _0x3684d2[_0x56f792(0x3bc)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d[_0x56f792(0x2f3)]},'cmd':_0x12652c['cmd']};case _0x3684d2['USERS_ENTER']:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d[_0x56f792(0x39b)]},'cmd':_0x12652c['cmd']};case _0x3684d2[_0x56f792(0x1ff)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d[_0x56f792(0x172)]},'cmd':_0x12652c[_0x56f792(0x1e5)]};case _0x3684d2[_0x56f792(0x1cf)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d['liveShareNewHost']},'cmd':_0x12652c[_0x56f792(0x1e5)]};case _0x3684d2[_0x56f792(0x263)]:case _0x3684d2[_0x56f792(0x416)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d[_0x56f792(0x284)]},'cmd':_0x12652c[_0x56f792(0x1e5)]};case _0x3684d2['LIVESHARE_TERMINATE']:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d[_0x56f792(0x3d2)]},'cmd':_0x12652c['cmd']};case _0x3684d2[_0x56f792(0x189)]:return{..._0x12652c,'data':_0x1f1c1d,'cmd':_0x12652c[_0x56f792(0x1e5)]};case _0x3684d2[_0x56f792(0x17c)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d[_0x56f792(0x14c)]},'cmd':_0x12652c[_0x56f792(0x1e5)]};case _0x3684d2[_0x56f792(0x297)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d[_0x56f792(0x36f)]},'cmd':_0x12652c['cmd']};case _0x3684d2[_0x56f792(0x445)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d[_0x56f792(0x2dd)]},'cmd':_0x12652c[_0x56f792(0x1e5)]};case _0x3684d2[_0x56f792(0x3c8)]:return{..._0x12652c,'data':{..._0x1f1c1d,'data':_0x1f1c1d[_0x56f792(0x37e)]},'cmd':_0x12652c[_0x56f792(0x1e5)]};default:return _0x12652c;}}default:return _0x12652c;}}function Gs(_0x253fa9){var _0x3bacf7=_0x1af020;switch(_0x253fa9[_0x3bacf7(0x1e5)]){case j[_0x3bacf7(0x2c1)]:case j[_0x3bacf7(0x362)]:return JSON[_0x3bacf7(0x18d)]({'cmd':_0x253fa9[_0x3bacf7(0x1e5)],'routeKey':_0x253fa9[_0x3bacf7(0x16d)]});case j[_0x3bacf7(0x215)]:{let _0x2e912d;switch(_0x253fa9[_0x3bacf7(0x42e)]['eventID']){case _0x3684d2[_0x3bacf7(0x3bc)]:{_0x2e912d={'eventID':_0x3684d2[_0x3bacf7(0x3bc)],'updateCursorEvent':_0x253fa9[_0x3bacf7(0x42e)][_0x3bacf7(0x42e)]};break;}case _0x3684d2[_0x3bacf7(0x1ff)]:{_0x2e912d={'eventID':_0x3684d2[_0x3bacf7(0x1ff)],'leaveEvent':_0x253fa9[_0x3bacf7(0x42e)][_0x3bacf7(0x42e)]};break;}case _0x3684d2['USERS_ENTER']:{_0x2e912d={'eventID':_0x3684d2[_0x3bacf7(0x323)],'joinEvent':_0x253fa9[_0x3bacf7(0x42e)][_0x3bacf7(0x42e)]};break;}case _0x3684d2['LIVESHARE_NEW_HOST']:{_0x2e912d={'eventID':_0x3684d2['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x253fa9['data'][_0x3bacf7(0x42e)]};break;}case _0x3684d2[_0x3bacf7(0x416)]:{_0x2e912d={'eventID':_0x3684d2[_0x3bacf7(0x416)],'liveShareOperation':_0x253fa9[_0x3bacf7(0x42e)][_0x3bacf7(0x42e)]};break;}case _0x3684d2[_0x3bacf7(0x2e0)]:{_0x2e912d={'eventID':_0x3684d2[_0x3bacf7(0x2e0)],'liveShareTerminate':_0x253fa9[_0x3bacf7(0x42e)][_0x3bacf7(0x42e)]};break;}case _0x3684d2[_0x3bacf7(0x2bc)]:{_0x2e912d={'eventID':_0x3684d2[_0x3bacf7(0x2bc)],'liveShareRequestHost':_0x253fa9['data'][_0x3bacf7(0x42e)]};break;}case _0x3684d2[_0x3bacf7(0x263)]:{_0x2e912d={'eventID':_0x3684d2[_0x3bacf7(0x263)]};break;}default:_0x2e912d={'eventID':_0x253fa9[_0x3bacf7(0x42e)][_0x3bacf7(0x236)]};}return JSON[_0x3bacf7(0x18d)]({'cmd':_0x253fa9[_0x3bacf7(0x1e5)],'routeKey':_0x253fa9[_0x3bacf7(0x16d)],'collaMsg':_0x2e912d});}case j[_0x3bacf7(0x213)]:return JSON['stringify']({'cmd':_0x253fa9[_0x3bacf7(0x1e5)],'routeKey':_0x253fa9['routeKey'],'joinReq':_0x253fa9[_0x3bacf7(0x42e)]});case j[_0x3bacf7(0x33b)]:return JSON[_0x3bacf7(0x18d)]({'cmd':_0x253fa9[_0x3bacf7(0x1e5)],'routeKey':_0x253fa9[_0x3bacf7(0x16d)],'leaveReq':_0x253fa9[_0x3bacf7(0x42e)]});default:throw new Error(_0x3bacf7(0x347));}}var Ws=Object[_0x1af020(0x1b4)],Ys=(_0xff43dd,_0x3a572f,_0x137643,_0xd65549)=>{var _0x448850=_0x1af020;for(var _0x4748e5=_0xd65549>0x1?void 0x0:_0xd65549?Ws(_0x3a572f,_0x137643):_0x3a572f,_0x3ac542=_0xff43dd[_0x448850(0x140)]-0x1,_0x40133d;_0x3ac542>=0x0;_0x3ac542--)(_0x40133d=_0xff43dd[_0x3ac542])&&(_0x4748e5=_0x40133d(_0x4748e5)||_0x4748e5);return _0x4748e5;},ye=(_0x400a29,_0x3e2398)=>(_0x558cfd,_0x3271ce)=>_0x3e2398(_0x558cfd,_0x3271ce,_0x400a29);const Ri=_0x50632f(_0x1af020(0x268));function Ks(_0x583555,_0x730b6b,_0x5ef22b){var _0x251139=_0x1af020;return _0x583555+'/'+_0x730b6b+_0x251139(0x3f1)+_0x5ef22b+_0x251139(0x2fb);}let Gt=class extends _0xb4e525{constructor(_0x4bb495,_0x128cbc,_0x24c3e4,_0x18fb28,_0x2ed7b4){var _0x1d98eb=_0x1af020;super(),this[_0x1d98eb(0x332)]=_0x4bb495,this[_0x1d98eb(0x17b)]=_0x128cbc,this['_configService']=_0x24c3e4,this[_0x1d98eb(0x337)]=_0x18fb28,this['_snapshotServerService']=_0x2ed7b4;}['_doCreateSocket'](_0x32dc07){var _0x43452d=_0x1af020;const _0x23f754=this[_0x43452d(0x332)][_0x43452d(0x289)](_0x3918d1);if(!_0x23f754)throw new Error(_0x43452d(0x1c1));const _0x1192a0=_0x23f754[_0x43452d(0x3a5)](_0x32dc07);if(!_0x1192a0)throw new Error(_0x43452d(0x2ad));const _0x47c984=new _0x38b259(),_0x291d0b=new _0x396041();_0x47c984['add'](_0x1192a0['close$'][_0x43452d(0x15f)](_0x5cbff0=>_0x291d0b['next'](_0x5cbff0))),_0x47c984[_0x43452d(0x38a)](_0x26346d(()=>_0x291d0b[_0x43452d(0x348)]()));const _0x2b2d6b=new _0x396041();_0x47c984[_0x43452d(0x38a)](_0x1192a0[_0x43452d(0x3ed)][_0x43452d(0x15f)](_0xee1581=>_0x2b2d6b['next'](_0xee1581))),_0x47c984[_0x43452d(0x38a)](_0x26346d(()=>_0x2b2d6b[_0x43452d(0x348)]()));const _0x55368f=new _0x396041();_0x47c984[_0x43452d(0x38a)](_0x1192a0[_0x43452d(0x24d)][_0x43452d(0x15f)](_0x504ba5=>{var _0x38f021=_0x43452d;const _0x24f247=Vs(_0x504ba5);_0x55368f[_0x38f021(0x16e)](_0x24f247);})),_0x47c984[_0x43452d(0x38a)](_0x26346d(()=>_0x55368f[_0x43452d(0x348)]()));let _0x376b2a;const _0x5037a6=()=>{var _0x44ab42=_0x43452d;_0x2b2d6b[_0x44ab42(0x16e)](new Event(_0x44ab42(0x2b4))),_0x291d0b[_0x44ab42(0x16e)](new Event(_0x44ab42(0x2b4))),_0x376b2a['close']();};return _0x376b2a={'memberID':'','close$':_0x291d0b[_0x43452d(0x3e0)](),'error$':_0x2b2d6b[_0x43452d(0x3e0)](),'open$':_0x1192a0[_0x43452d(0x2d2)],'message$':_0x55368f[_0x43452d(0x3e0)](),'send':_0x8d1b12=>{var _0x18e83f=_0x43452d;if(_0x8d1b12[_0x18e83f(0x1e5)]===j[_0x18e83f(0x215)]){if(_0x8d1b12['data']['eventID']===_0x3684d2[_0x18e83f(0x31e)]){this[_0x18e83f(0x2b1)](_0x376b2a,_0x8d1b12['data'])[_0x18e83f(0x33f)](_0x58ca40=>{var _0x52148d=_0x18e83f;this[_0x52148d(0x337)][_0x52148d(0x3ee)](_0x58ca40),_0x5037a6();});return;}if(_0x8d1b12[_0x18e83f(0x42e)][_0x18e83f(0x236)]===_0x3684d2['FETCH_MISSING']){const _0x37b5a5=_0x8d1b12[_0x18e83f(0x42e)];this[_0x18e83f(0x137)](_0x37b5a5)['then'](_0x30b4e8=>{var _0x483bb0=_0x18e83f;_0x55368f[_0x483bb0(0x16e)]({'cmd':j[_0x483bb0(0x21f)],'code':Ee['OK'],'routeKey':_0x37b5a5[_0x483bb0(0x42e)][_0x483bb0(0x3d3)],'routeType':'','data':{'eventID':_0x3684d2[_0x483bb0(0x3c7)],'data':{'changesets':_0x30b4e8}}});})[_0x18e83f(0x33f)](_0x42e014=>{var _0x102fb8=_0x18e83f;this[_0x102fb8(0x337)][_0x102fb8(0x3ee)](_0x42e014),_0x5037a6();});return;}}_0x1192a0[_0x18e83f(0x42c)](Gs(_0x8d1b12));},'close':()=>{var _0x1596be=_0x43452d;_0x1192a0[_0x1596be(0x205)](),_0x47c984[_0x1596be(0x2f0)]();}},_0x376b2a;}async[_0x1af020(0x2b1)](_0x30beb7,_0x5460d5){var _0x69ea85=_0x1af020,_0x15bc43;const {unitType:_0x4c85b3,unitID:_0x10b559,changeset:_0x1007ac}=_0x5460d5[_0x69ea85(0x42e)],_0x167313={'unitID':_0x10b559,'memberID':_0x30beb7[_0x69ea85(0x371)],'type':_0x4c85b3,'changeset':_0xd2696a(_0x1007ac)},_0x3370b8=this[_0x69ea85(0x374)]['getConfig'](K),_0x25bd31=Ks((_0x15bc43=_0x3370b8==null?void 0x0:_0x3370b8[_0x69ea85(0x21c)])!=null?_0x15bc43:Rs,_0x4c85b3,_0x10b559);try{await this['_httpService'][_0x69ea85(0x2c0)](_0x25bd31,{'body':_0x167313});}catch(_0x2470bf){throw this[_0x69ea85(0x337)][_0x69ea85(0x3ee)](_0x69ea85(0x276),_0x69ea85(0x15b)),_0x2470bf;}}async['_fetchMissChangesets'](_0x39d21e){var _0xcf4918=_0x1af020;const {unitID:_0x1d388c,from:_0x2248b5,to:_0x2b3058,unitType:_0x1d0aca}=_0x39d21e[_0xcf4918(0x42e)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1d388c,'type':_0x1d0aca,'from':_0x2248b5,'to':_0x2b3058}))[_0xcf4918(0x427)]['map'](_0x13293d=>((_0x13293d[_0xcf4918(0x2f7)]===null||_0x13293d['mutations']===void 0x0)&&(_0x13293d['mutations']=[]),_0x13293d));}};Gt=Ys([ye(0x0,_0x5d0be3(_0x1be1d3)),ye(0x1,_0x5d0be3(_0x20f1c2)),ye(0x2,_0x5ee71f),ye(0x3,_0x229638),ye(0x4,_0x19c334)],Gt);var qs=Object[_0x1af020(0x1b4)],zs=(_0x245e05,_0x13eded,_0x3a280d,_0x152274)=>{var _0xad6cc0=_0x1af020;for(var _0x2d7b46=_0x152274>0x1?void 0x0:_0x152274?qs(_0x13eded,_0x3a280d):_0x13eded,_0x37a3be=_0x245e05[_0xad6cc0(0x140)]-0x1,_0x5988b8;_0x37a3be>=0x0;_0x37a3be--)(_0x5988b8=_0x245e05[_0x37a3be])&&(_0x2d7b46=_0x5988b8(_0x2d7b46)||_0x2d7b46);return _0x2d7b46;},Re=(_0x14666c,_0x33a12c)=>(_0x2d9809,_0x56b110)=>_0x33a12c(_0x2d9809,_0x56b110,_0x14666c);let Le=class extends _0xb4e525{constructor(_0x1783c8,_0x140dbe,_0x80733c,_0x19433d,_0x4b4ad6,_0x1ab03e){var _0x2cfde6=_0x1af020;super(),D(this,_0x2cfde6(0x380),new _0x360a3d(void 0x0)),D(this,_0x2cfde6(0x41b),this[_0x2cfde6(0x380)][_0x2cfde6(0x3e0)]()),D(this,_0x2cfde6(0x165),null),D(this,_0x2cfde6(0x3bf),new Map()),D(this,'_status$',new _0x360a3d(me[_0x2cfde6(0x25e)])),D(this,_0x2cfde6(0x2b5),this['_status$'][_0x2cfde6(0x3e0)]()),D(this,_0x2cfde6(0x405),!0x1),D(this,_0x2cfde6(0x173)),D(this,_0x2cfde6(0x426),0x0),D(this,'_sendHeartbeatTimer'),D(this,_0x2cfde6(0x388)),(this[_0x2cfde6(0x332)]=_0x1783c8,this['_logService']=_0x140dbe,this[_0x2cfde6(0x374)]=_0x80733c,this[_0x2cfde6(0x219)]=_0x19433d,this['_collaborationUIEventService']=_0x4b4ad6,this[_0x2cfde6(0x1c6)]=_0x1ab03e,this[_0x2cfde6(0x399)]());}get[_0x1af020(0x452)](){var _0xf26996=_0x1af020;return this[_0xf26996(0x380)][_0xf26996(0x344)]();}[_0x1af020(0x399)](){var _0x337349=_0x1af020;this[_0x337349(0x1c6)]&&this[_0x337349(0x32c)](this['_networkConditionService'][_0x337349(0x316)][_0x337349(0x15f)](_0x28a1f5=>{var _0x80ef49=_0x337349;_0x28a1f5&&!this[_0x80ef49(0x452)]&&this[_0x80ef49(0x299)](),_0x28a1f5||this[_0x80ef49(0x1d9)]();}));}[_0x1af020(0x2f0)](){var _0x4aaa09=_0x1af020;super[_0x4aaa09(0x2f0)](),this[_0x4aaa09(0x336)](),this[_0x4aaa09(0x283)](),this[_0x4aaa09(0x314)](),this[_0x4aaa09(0x3bf)][_0x4aaa09(0x3db)](_0x4837a8=>_0x4837a8[_0x4aaa09(0x2f0)]()),this['_sessions'][_0x4aaa09(0x166)](),this[_0x4aaa09(0x394)][_0x4aaa09(0x348)]();}async[_0x1af020(0x2ec)](_0x32b378){var _0x4cfb62=_0x1af020;if(this[_0x4cfb62(0x3bf)][_0x4cfb62(0x149)](_0x32b378))return this[_0x4cfb62(0x3bf)]['get'](_0x32b378);this['_tryEnsureSocket']();const _0x5e5a9d=this[_0x4cfb62(0x332)]['createInstance'](mt,_0x32b378,this[_0x4cfb62(0x380)][_0x4cfb62(0x3e0)]());return this[_0x4cfb62(0x3bf)][_0x4cfb62(0x143)](_0x32b378,_0x5e5a9d),_0x5e5a9d;}[_0x1af020(0x3e4)](_0x35029a){var _0x2872af=_0x1af020,_0x5ad778;const _0x1784f0=this[_0x2872af(0x3bf)][_0x2872af(0x289)](_0x35029a);_0x1784f0&&(this[_0x2872af(0x3bf)][_0x2872af(0x286)](_0x35029a),_0x1784f0['close']()),this['_sessions'][_0x2872af(0x3b2)]||(_0x5ad778=this[_0x2872af(0x452)])==null||_0x5ad778[_0x2872af(0x205)]();}[_0x1af020(0x299)](){var _0x360031=_0x1af020;this[_0x360031(0x426)]=0x0,this[_0x360031(0x336)](),this[_0x360031(0x3d8)]();}[_0x1af020(0x336)](){var _0x16ec52=_0x1af020;this[_0x16ec52(0x173)]!=null&&(clearTimeout(this[_0x16ec52(0x173)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x4ffd3b=_0x1af020,_0x576f26;const _0x3c9b70=this[_0x4ffd3b(0x374)]['getConfig'](K),_0x273cb6=(_0x576f26=_0x3c9b70==null?void 0x0:_0x3c9b70['collabWebSocketUrl'])!=null?_0x576f26:ms,_0xdbb9b4=await this[_0x4ffd3b(0x219)][_0x4ffd3b(0x3a5)](_0x273cb6);return this['_candidateSocket']=_0xdbb9b4,_0xdbb9b4;}async[_0x1af020(0x28d)](){var _0x1a8d45=_0x1af020,_0x3eb929,_0x298aa5;try{const _0x140dc1=(_0x298aa5=(_0x3eb929=this[_0x1a8d45(0x452)])!=null?_0x3eb929:this[_0x1a8d45(0x165)])!=null?_0x298aa5:await this['_createSocket']();if(_0x140dc1){const _0xd8172d=_0x140dc1[_0x1a8d45(0x42c)];_0x140dc1[_0x1a8d45(0x42c)]=_0x55e28e=>(this[_0x1a8d45(0x1ec)](),_0xd8172d[_0x1a8d45(0x3cd)](_0x140dc1,[_0x55e28e])),_0x140dc1[_0x1a8d45(0x24d)]['subscribe'](_0x268544=>this[_0x1a8d45(0x2ca)](_0x140dc1,_0x268544)),_0x140dc1[_0x1a8d45(0x3ed)]['pipe'](_0x57af45(0x1))[_0x1a8d45(0x15f)](_0x42ef26=>this[_0x1a8d45(0x337)][_0x1a8d45(0x3ee)]('[CollaborationSessionService]:\x20socket\x20error',_0x42ef26)),_0x140dc1[_0x1a8d45(0x2d2)]['pipe'](_0x57af45(0x1))[_0x1a8d45(0x15f)](()=>{this['_onConnectionOpen'](_0x140dc1);}),_0x140dc1[_0x1a8d45(0x25b)][_0x1a8d45(0x3ab)](_0x57af45(0x1))['subscribe'](_0x35d2e4=>{var _0xb7880c=_0x1a8d45;this[_0xb7880c(0x337)][_0xb7880c(0x44a)](_0xb7880c(0x16a),_0xb7880c(0x1f1),_0x35d2e4),this[_0xb7880c(0x3e1)]();});}}catch(_0x1d70a5){this['_logService'][_0x1a8d45(0x3ee)](_0x1d70a5),this[_0x1a8d45(0x3e1)]();}}[_0x1af020(0x207)](_0x965a94){var _0x2ef29a=_0x1af020;this[_0x2ef29a(0x337)][_0x2ef29a(0x44a)]('[CollaborationSessionService]','socket\x20open.'),_0x965a94[_0x2ef29a(0x42c)]({'cmd':j['HELLO']}),this[_0x2ef29a(0x1ec)]();}[_0x1af020(0x1d9)](){var _0x3fcee3=_0x1af020;this['_socketReady']=!0x1,this[_0x3fcee3(0x165)]=null,this[_0x3fcee3(0x394)]['next'](me[_0x3fcee3(0x3d4)]),this[_0x3fcee3(0x380)]['next'](null),this[_0x3fcee3(0x283)](),this[_0x3fcee3(0x314)]();}[_0x1af020(0x3e1)](){var _0x191702=_0x1af020,_0x32329a;this[_0x191702(0x1d9)](),this[_0x191702(0x426)]<((_0x32329a=this['_configService']['getConfig'](Ts))!=null?_0x32329a:Os)?(this[_0x191702(0x325)][_0x191702(0x141)]({'id':re[_0x191702(0x209)]}),this[_0x191702(0x3d8)]()):this[_0x191702(0x325)][_0x191702(0x141)]({'id':re[_0x191702(0x15a)]});}[_0x1af020(0x3d8)](){var _0x2759f0=_0x1af020,_0x12403f;const _0x4a6cbf=this[_0x2759f0(0x426)],_0x35db99=this['_configService'][_0x2759f0(0x3c2)](K),_0x534115=_0x4a6cbf===0x0?0x0:((_0x12403f=_0x35db99==null?void 0x0:_0x35db99['retryConnectingInterval'])!=null?_0x12403f:gs)*0x2**_0x4a6cbf;this[_0x2759f0(0x173)]=setTimeout(()=>{var _0x59da72=_0x2759f0;clearTimeout(this[_0x59da72(0x173)]),this[_0x59da72(0x173)]=null,this[_0x59da72(0x28d)]();},_0x534115),this[_0x2759f0(0x426)]+=0x1;}['_onMessage'](_0x3ea72d,_0xa7cda6){var _0xaf53f=_0x1af020;const {cmd:_0x50c129}=_0xa7cda6;_0x50c129===j[_0xaf53f(0x362)]&&!this[_0xaf53f(0x405)]&&(_0x3ea72d[_0xaf53f(0x371)]=_0xa7cda6[_0xaf53f(0x42e)][_0xaf53f(0x371)],this[_0xaf53f(0x380)][_0xaf53f(0x16e)](_0x3ea72d),this[_0xaf53f(0x394)][_0xaf53f(0x16e)](me[_0xaf53f(0x359)]),this[_0xaf53f(0x405)]=!0x0,this[_0xaf53f(0x165)]=null),_0x50c129===j[_0xaf53f(0x2c1)]&&this[_0xaf53f(0x283)](),this[_0xaf53f(0x1ec)]();}['_rescheduleHeartbeat'](){var _0x59a79a=_0x1af020,_0x45e4c6;this[_0x59a79a(0x314)](),this[_0x59a79a(0x156)]=setTimeout(()=>this[_0x59a79a(0x227)](),(_0x45e4c6=this['_configService'][_0x59a79a(0x3c2)](Is))!=null?_0x45e4c6:Ss);}['_sendHeartbeat'](){var _0x473bf7=_0x1af020;this[_0x473bf7(0x452)][_0x473bf7(0x42c)]({'cmd':j[_0x473bf7(0x2c1)]}),this[_0x473bf7(0x174)]();}[_0x1af020(0x174)](){var _0x35dc1e=_0x1af020,_0xb86a97;this['_timeoutTimer']=setTimeout(()=>this[_0x35dc1e(0x3e1)](),(_0xb86a97=this[_0x35dc1e(0x374)]['getConfig'](di))!=null?_0xb86a97:fi);}[_0x1af020(0x314)](){var _0x542d1a=_0x1af020;this[_0x542d1a(0x156)]!=null&&(clearTimeout(this[_0x542d1a(0x156)]),this['_sendHeartbeatTimer']=null);}[_0x1af020(0x283)](){var _0x245f66=_0x1af020;this[_0x245f66(0x388)]!=null&&(clearTimeout(this[_0x245f66(0x388)]),this[_0x245f66(0x388)]=null);}};Le=zs([Re(0x0,_0x5d0be3(_0x1be1d3)),Re(0x1,_0x229638),Re(0x2,_0x5ee71f),Re(0x3,Ri),Re(0x4,_0x5d0be3(ve)),Re(0x5,_0x4e8ecc(js))],Le);var Xs=Object[_0x1af020(0x1b4)],Js=(_0x15f149,_0x1c9910,_0x151e7f,_0x43ad96)=>{var _0x5929ad=_0x1af020;for(var _0x20e199=_0x43ad96>0x1?void 0x0:_0x43ad96?Xs(_0x1c9910,_0x151e7f):_0x1c9910,_0xbb52ba=_0x15f149[_0x5929ad(0x140)]-0x1,_0x81a514;_0xbb52ba>=0x0;_0xbb52ba--)(_0x81a514=_0x15f149[_0xbb52ba])&&(_0x20e199=_0x81a514(_0x20e199)||_0x20e199);return _0x20e199;},Be=(_0x5ec242,_0x398818)=>(_0x4ed977,_0x573d59)=>_0x398818(_0x4ed977,_0x573d59,_0x5ec242);let nt=class extends _0x40ffa0{constructor(_0x54f3e3,_0x1f535e,_0x54f432,_0x536501){var _0x35eda5=_0x1af020,_0x49ea39;super(),D(this,_0x35eda5(0x455),new Map()),D(this,_0x35eda5(0x34b),new _0x396041()),D(this,_0x35eda5(0x212),this['_entityInit$'][_0x35eda5(0x3e0)]()),(this[_0x35eda5(0x332)]=_0x54f3e3,this[_0x35eda5(0x293)]=_0x1f535e,this[_0x35eda5(0x374)]=_0x54f432,this[_0x35eda5(0x279)]=_0x536501,((_0x49ea39=this[_0x35eda5(0x374)]['getConfig'](K))==null?void 0x0:_0x49ea39[_0x35eda5(0x158)])!==!0x1&&this[_0x35eda5(0x266)]());}[_0x1af020(0x2f0)](){var _0x4cfcb8=_0x1af020;super[_0x4cfcb8(0x2f0)](),this[_0x4cfcb8(0x455)][_0x4cfcb8(0x3db)](_0x4e8077=>_0x4e8077['dispose']()),this[_0x4cfcb8(0x455)][_0x4cfcb8(0x166)]();}[_0x1af020(0x3e7)](_0x3cd119){var _0x5bd838=_0x1af020,_0x3c04e7;return(_0x3c04e7=this[_0x5bd838(0x455)][_0x5bd838(0x289)](_0x3cd119))!=null?_0x3c04e7:null;}[_0x1af020(0x3a3)](_0x52ee80){var _0xcc1f8f=_0x1af020;const _0x5ca594=this[_0xcc1f8f(0x3e7)](_0x52ee80);return _0x5ca594?_0x4995eb(_0x5ca594):this[_0xcc1f8f(0x34b)][_0xcc1f8f(0x3ab)](_0x134d5b(_0x470f1c=>_0x470f1c[_0xcc1f8f(0x3d3)]===_0x52ee80));}['readyForCollab'](_0x29c6b1){return _0x1a4226(this['getCollabEntity$'](_0x29c6b1)['pipe'](_0x371f43(()=>{})));}[_0x1af020(0x266)](){var _0x57ee90=_0x1af020;this[_0x57ee90(0x279)]['getTypeOfUnitAdded$'](_0x2d1c2d['UNIVER_SHEET'])['pipe'](_0x498ac7(this['dispose$']),_0x26a499(0x10))[_0x57ee90(0x15f)](async _0x1878e8=>{var _0x212d25=_0x57ee90;const _0x49cc83=_0x1878e8[_0x212d25(0x2c2)](),_0x500e33=await this[_0x212d25(0x2fc)](_0x49cc83,Q[_0x212d25(0x40a)]);this[_0x212d25(0x455)][_0x212d25(0x143)](_0x49cc83,_0x500e33);}),this[_0x57ee90(0x279)][_0x57ee90(0x1c7)](_0x2d1c2d[_0x57ee90(0x423)])[_0x57ee90(0x3ab)](_0x498ac7(this[_0x57ee90(0x201)]),_0x26a499(0x10))[_0x57ee90(0x3ab)](_0x134d5b(_0x203c16=>!_0x203c16[_0x57ee90(0x2c2)]()[_0x57ee90(0x1f4)]('__')))['subscribe'](async _0x31fc1e=>{var _0x3a7dfc=_0x57ee90;const _0x39b99b=_0x31fc1e[_0x3a7dfc(0x2c2)](),_0x560dc6=await this[_0x3a7dfc(0x2fc)](_0x39b99b,Q[_0x3a7dfc(0x423)]);this[_0x3a7dfc(0x455)][_0x3a7dfc(0x143)](_0x39b99b,_0x560dc6);}),_0xef5b1(this[_0x57ee90(0x279)][_0x57ee90(0x1cc)](_0x2d1c2d[_0x57ee90(0x40a)]),this[_0x57ee90(0x279)][_0x57ee90(0x1cc)](_0x2d1c2d['UNIVER_DOC']))[_0x57ee90(0x3ab)](_0x498ac7(this[_0x57ee90(0x201)]))[_0x57ee90(0x15f)](_0x3e3622=>{var _0x336c10=_0x57ee90;const _0x527d85=_0x3e3622[_0x336c10(0x2c2)](),_0x13b813=this[_0x336c10(0x455)][_0x336c10(0x289)](_0x527d85);_0x13b813&&(_0x13b813[_0x336c10(0x2f0)](),this[_0x336c10(0x455)]['delete'](_0x527d85));});}async[_0x1af020(0x2fc)](_0x2ea6dd,_0x201d88){var _0x38aeeb=_0x1af020;const _0x500c24=await this[_0x38aeeb(0x293)][_0x38aeeb(0x2ec)](_0x2ea6dd),_0x5afd17=this[_0x38aeeb(0x332)][_0x38aeeb(0x457)](this[_0x38aeeb(0x384)](_0x201d88),_0x2ea6dd,_0x201d88,_0x500c24);return await _0x5afd17[_0x38aeeb(0x1e2)](),this[_0x38aeeb(0x34b)][_0x38aeeb(0x16e)](_0x5afd17),_0x5afd17;}['_getCtorByUniverType'](_0x35c4d1){var _0x15c597=_0x1af020;switch(_0x35c4d1){case Q[_0x15c597(0x423)]:return It;case Q[_0x15c597(0x40a)]:return St;default:throw new Error(_0x15c597(0x255)+_0x35c4d1);}}};nt=Js([Be(0x0,_0x5d0be3(_0x1be1d3)),Be(0x1,_0x5d0be3(Le)),Be(0x2,_0x5ee71f),Be(0x3,_0x21edfd)],nt);var Zs=Object[_0x1af020(0x1b4)],Qs=(_0x398701,_0x5b1643,_0x2982db,_0x14c632)=>{var _0x3e45b7=_0x1af020;for(var _0x37f3d4=_0x14c632>0x1?void 0x0:_0x14c632?Zs(_0x5b1643,_0x2982db):_0x5b1643,_0x3ae43c=_0x398701[_0x3e45b7(0x140)]-0x1,_0x4601bc;_0x3ae43c>=0x0;_0x3ae43c--)(_0x4601bc=_0x398701[_0x3ae43c])&&(_0x37f3d4=_0x4601bc(_0x37f3d4)||_0x37f3d4);return _0x37f3d4;},Wt=(_0x5b0612,_0x4c2963)=>(_0x3deb81,_0x3ae179)=>_0x4c2963(_0x3deb81,_0x3ae179,_0x5b0612);function _0xaab0(){var _0x13eec5=['REDEMPTION_CODE_NOT_STARTED','getCurrentUser','decryptBlock','LIVESHARE_REQUEST_HOST','CHANGESET_ACK','isArray','getCurrentSelections','post','HEARTBEAT','getUnitId','mixIn','type','ENTITLE_USE_COUPON_NOT_1ST_TRADE','LOCAL_CACHE_INTERVAL','_sender','workbook','updateMember','_onMessage','[SyncedState]:\x20received\x20rejection.','format','_commentUpdate$','_getUndoStack','editing\x20status\x20changed\x20to','reqId','YUUMI_CONNECTOR_URL_NOT_FOUND','open$','socketService','encryptBlock','_change$','max','REDEMPTION_USER_NOT_ELIGIBLE','method','_key','image/jpeg','EMAIL_HAS_BEEN_BOUND','_collaborationPaused','shouldCloseConn','UNIVER_PROJECT','compute','LIVESHARE_TERMINATE','subUnitId','updateOfflineData','[FetchMissState]','REDEMPTION_INVALID_CODE','collaMsg','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/authz','sheets','CONFLICT','getFocusedUnit','EvpKDF','requireSession','Utf8','_instanceService','change$','dispose','_clearCollaborationTimeoutTimer','/universer-api/file/{fileID}/sign-url','updateCursorEvent','_nDataBytes','src','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','mutations','processBlock','getImage','onRemoteRetry','/new_changes','_startCollaboration','_getAPIPrefixPath','_onConflict','_socketMessageSubscription','reset','_updateState','_initUnitPermissionChange','_checkMissing','_removeRoom','__creator','patch','uploadFileServerUrl','loadSheet','getMember','Malformed\x20UTF-8\x20data','_onUserLeave','OTHER_CLIENTS_EDITING','_transformIMECache','toggleOnline','loadUnit','getLatestCsReqIdBySid','execute','_sessionStatus$','_commandService','_clearHeartbeatTimer','_transformStack','online$','allowed','INVITE_CODE_REQUIRED','BlockCipherMode','_awaitingChangeset','url','onTransformRemoteChangesetByStateCache','LICENSE_MAX_UNITS_EXCEEDED','SUBMIT_CHANGESET','selections','APPLY_REJECT','slice','RETRY_CONNECTING_MAX_COUNT','USERS_ENTER','MD5','_collaborationUIEventService','ceil','appendMutation','_members','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onTransformIME','AUTHORIZE_CODE_ILLEGAL','disposeWithMe','awaitingChangeset','_replaceFileID','BlockCipher','_pendingMutations','range','_injector','_replayCachedMutations','_undoRedoService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_clearRetryConnectingTimer','_logService','_onRemoteChangeset','rev','REDEMPTION_CODE_FULLY_REDEEMED','LEAVE','collaboratorID','PERMISSION_DENIED','COMPRESS_MUTATION_APPLY','catch','ENTITLE_NEED_BILLING_ADDRESS','refreshPermission','toString','enc','getValue','&assign=','result','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','complete','padding','Base64','_entityInit$','INVITE_CODE_HAS_BEEN_UES','_changesetReqId','decrypt','PERSON','_scheduleCollaborationTimeoutTimer','EMAIL_VERIFY_CODE_MISMATCH','/object','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','SNAPSHOT_URL_KEY','push','_transformSelections','prototype','onCommentUpdate','ONLINE','userID','/universer-api/snapshot','COMPRESS_MUTATION_SEND','YUUMI_AI_RUN_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','_emitMembers','_updateLocalCache','CLOSE_ROOM','HELLO','resend','resourceIDs','HEARTBEAT_INTERVAL','_handler','pad','YUUMI_ASYNCIO_CANCELLED','members','CURRENT_STATUS_CANNOT_OPERATE','_changesetSessionId','_getCurrentRevision','findIndex','_undoStacks','updatePermissionObjEvent','APPLY_DUPLICATED','memberID','setWaitCount','UnitSnapshot','_configService','setCurrentUser','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','HEARTBEAT_TIMEOUT','updatePermissionPoint','_scheduleCompleteTimestamp','_oKey','keySize','OpenSSL','UserProfileImg','uniscriptRunEvent','image/gif','_socket$','JOINING','offline','_roomCreated$','_getCtorByUniverType','readInt32LE','toggleOffline','_unitInfo$','_timeoutTimer','stopTime','add','_createHmacHelper','/-/object/list','m2Prime','sid','sendChangesetTimeout','/universer-api/oidc/authpage','_type','_resendWithTimeout','REDEMPTION_CODE_INACTIVE','_status$','_clearUndo','CONNECTOR_DATA_TOO_LARGE','951433WMnJTG','x-univer-host','_listenToNetworkCondition','_onFetchMissResult','joinEvent','pending','_hash','&to=','UNIVER_SLIDE','roles','_initCloseConn','YUUMI_SUBSCRIPTION_NOT_FOUND','getCollabEntity$','_compressMutationService','createSocket','lib','onSyncEditingCollabCursor','getSnapshotAPIPath','every','ERROR_AGAIN','pipe','UUID','algo','15OucVlY','enableOfflineEditing','__splitChunk__','state$','size','iterations','ClipsheetFragments','1163235fUEPHy','2pRCBcF','OPTIONAL','subject','FileId','_getAPIPrefix','unknown','UPDATE_CURSOR','createCollaborator','executeCommand','_sessions','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','$super','getConfig','Pkcs7','waitForRoom$','_imageSourceCache','call','PSEUDO_FETCH_MISSING_RESULT','UNISCRIPT_RUN','override','image/bmp','_getLoginPath','_waitCount','apply','getInterceptPoints','session','APPLY_REVISION_CONFILICT','saveSheetBlock','liveShareNewHost','unitID','OFFLINE','_iKey','concat','function','_tryReconnect','_acknowledgedAwaitingChangeset','transformChangesets','forEach','_lockTransition','_eventService','_remoteChangesetQueue','ENTITLE_CHAT_LIMIT_EXCEED','asObservable','_onConnectionFailed','onTransformRemoteChangesetByIMECache','FETCH_MISS','closeSession','list','pluginName','getCollabEntity','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AES','_onUserJoin','Univer','StreamCipher','error$','error','REDEMPTION_USER_REDEEM_TIMES_EXCEED','fetchThroughInterceptors','/unit/','_createHandler','DATA_SOURCE_TOO_LARGE','REDEMPTION_CODE_HAS_BEEN_CREATED','Could\x20not\x20dynamically\x20require\x20\x22','_map','getUnit','_mode','CHANGESET_SHOULD_RETRY','_localCacheService','_state','ENTITLE_DUP_SUBSCRIPTION','random','_collaborationTimeoutTimer','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_memberService','unit-cache-','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaboration-client.config','clone','_socketReady','_unlockTransition','values','_handlerCallback','_singleActiveUnitService','UNIVER_SHEET','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SNAPSHOT_HAS_BEEN_REMOVED','unitInfo$','abs','avatar','hasOwnProperty','_transformUndoredo','getWorkbookSelections','UNAUTHENTICATED','_prevBlock','transformSelections','LIVESHARE_OPERATION','baseRev','title','setShowComponents','univer-pro.collaboration-client.network-condition.service','socket$','incrementRevOfUnit','onMissedChangesetFetched','authzUrl','_ENC_XFORM_MODE','YUUMI_RATE_OVER_LIMIT','parse','_parse','UNIVER_DOC','{fileID}','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_retryCount','changesets','code','create','[OfflineState]:\x20received\x20acknowledgement.','c1Prime','send','HmacSHA1','data','SerializableCipher','createEncryptor','_iv','_onRecvEvent','_HTTPService','status','setConfig','_decreaseWaiting','_telemetryService','string','name','fromCharCode','kdf','crypto','salt','_members$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','_roomMembers','_event$','_createInitialStateImpl','readAsDataURL','SHOULD_CLOSE_CONN','downloadEndpointUrl','formatter','MUTATION','fetchMiss','debug','_throwTelemetryCollaborationNewChangeset','encodeURIComponent','sigBytes','not_collab','_clearRedo','_localeService','saveSnapshot','_socket','addHandlerCallback','ENTITLE_REPORT_LIMIT_EXCEED','_entities','onSendChangeset','createInstance','_state$','2928CSXooi','c2Prime','People','join','_fetchMissChangesets','2007952wjeITb','_clearScheduledTask','transformMutationsWithChangeset','\x0aCurrent:\x20','loadOfflineData','getMemberID','BufferedBlockAlgorithm','getUnitOnRev','length','emitEvent','Decryptor','set','members$','_stopTelemetryCollaborationNewChangeset','12PByuzi','csShouldRetryEvent','reject','has','_exhaustRemoteChangesetQueue','reduce','commentUpdateEvent','_joinRoom','find','deepClone','onlyLocal','localCacheService','session.room-cnt-exceeds','encrypt','_executeRemoteChangeset','defineProperty','_sendHeartbeatTimer','ENTITLE_INSUFFICIENT_QUOTA','enableCollaboration','SNAPSHOT_INVALID_SNAPSHOT','SOCKET_FAILED','submit\x20changeset\x20error!','_initDependencies','getImageSourceCache','putCollaborators','subscribe','withCredentials','session.room-permission-denied','_userManagerService','onStarting','unitId','_candidateSocket','clear','UnitEmbedded','actions','_doCryptBlock','[CollaborationSessionService]','conflict','_revisionService','routeKey','next','_keyPriorReset','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','leaveEvent','_retryConnectingTimer','_waitForHeartbeatResponse','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','awaiting_with_pending','_sheetTransformSelectionsService','removeMember','charAt','onMissingChangesets','_httpService','COMMENT_UPDATE','loadUnitOfRevision','_toggleOnline','NOT_COLLAB','_redoStacks','ENTITLE_COUPON_EXPIRED','finalize','_substituteRedoStack','NEW_CHANGESETS','_transitionLocked','filter','GLOBAL_ROOMS_CNT_EXCEEDS','_onJoinRoomEvent','MSG_FOR_ERROR','words','onTransformSelections','UNIVER_UNKNOWN','stringify','csAckEvent','isPermissionRej','UNDEFINED','headers','_process','CHANGESET_REJ','_nRounds','transformUndoRedo','YUUMI_UNABLE_LOAD_URL','PENDING','blockSize','getAllMembers','initWorkbookPermissionChange','_initRequestHeader','getUnitStatus$','signUrlServerUrl','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ERROR_EXCEED_SIZE','onTransformState','target','_data','LOGIN_TOKEN_PROCESSING_FAILED','copyFileMeta','ENTITLE_CAN_NOT_BUY_LOWER_OTP','/object/','HmacMD5','PasswordBasedCipher','2817VMlDPc','saveChangeset','key','disableLocalCache','_invKeySchedule','/resources','Encryptor','_shouldReportTelemetry','fromCollab','objectID','_createInitialState','getOwnPropertyDescriptor','INVITE_CODE_ALREADY_BOUND','INTERNAL_ERROR','_showConflictNotification','FAIL','image/png','startTime','map','OTHER_CLIENT_EDITING','_createHelper','getDeserializedSheetBlock','onRemoteRej','getTime','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Cipher','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getCurrentRevOfUnit','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_networkConditionService','getTypeOfUnitAdded$','_registerDependencies','enableSingleActiveInstanceLock','loadDoc','editingUnit','getTypeOfUnitDisposed$','PY_RUNTIME_SCRIPT_ERROR','_reverseMap','LIVESHARE_NEW_HOST','/block/','Latin1','saveImage','[DataLoaderService]','YUUMI_TABLE_NOT_FOUND_IN_UNIT','FETCH_MISSING','_keySchedule','fetching\x20missing\x20changesets\x20from\x20','TOO_MANY_REQUESTS','_onOffline','synced','fetchMissingChangesets','Hex','_commentService','HttpExport','INVALID_INVITE_CODE','/allowed','duration','init','session.room-not-exists','registerHTTPInterceptor','cmd','origin','unsubscribe','action','hostname','cfg','getRoom','_rescheduleHeartbeat','/fetchmissing?from=','csRejEvent','JOIN_ROOM_FULL','href','socket\x20close','snapshot','roomInfos','startsWith','_maxTotalRetryTimeout','msCrypto','\x20to\x20','_resendTimer','_onRemoteRejected','encode','_transformRemoteChangesetByIMECache','YUUMI_ALL_TABLES_IS_INVALID','/universer-api/uniscript','pauseCollaboration','USERS_LEAVE','_transformService','dispose$','objectType','JOIN_ROOM_FAILED','LICENSE_DISTRO_REJECTED','close','snapshotServerUrl','_onConnectionOpen','_doFinalize','SOCKET_FAILED_RETRY','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ciphertext','[PendingState]:\x20received\x20acknowledgement.','_disableEditing','[CollaborationEntity]','_updateStatus','[OfflineState]:\x20received\x20rejection.','AWAITING_WITH_PENDING','entityInit$','JOIN','requestParams','INGEST','now','clamp','_initMergeInterceptor','_socketService','ERROR_IMAGE','sessionStatus','collabSubmitChangesetUrl','update','3219391QcrqHe','RECV','/-/object/-/batch_allowed','/rev/','?url=','/universer-api/comb','min','onRemoteAck','image/jpg','_sendHeartbeat','byteOffset','UNKNOWN_CMD','_applyRemoteChangeset','INVALID_ARGUMENT','_onLocalMutation','awaiting','substr','getRandomValues','hasher','fetch_missing','_getSignURL','_getSendChangesetTimeout','USER_IS_ANONYMOUS','sessionStatus$','eventID','ALREADY_EXISTS','UNRECOGNIZED','SUBMIT_CHANGESET_TIMEOUT','&source=','_cipher','/universer-api/stream/file/upload','_permissionService','onLocalMutation','JOIN_ROOM_NOT_EXISTS','_minBufferSize','ws://127.0.0.1:8000/universer-api/comb/connect','focused$','charCodeAt','_getRedoStack','interceptor','HttpImport','_xformMode','collaborators','MOBILE_VERIFY_CODE_MISMATCH','_DEC_XFORM_MODE','_resendTimeout','HMAC','message$','_clearLocalCache','ENTITLE_COUPON_USED_UP','47756291HlUGHP','_doReset','Base','_append','mode','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','commentUpdate$','LOGIN_FAILED','state','NoPadding','Hasher','close$','splice','equals','IDLE','Failed\x20to\x20update\x20permission\x20point','includes','WordArray','params','LIVESHARE_FETCH_OPERATIONS','session.join-failed','createDecryptor','_init','updateCollaborator','univer-pro.collaboration-client-socket-service','buffer','onRemoteChangeset','ERROR_IMAGE_TYPE','_incrementRevisionNumber','PAYMENT_CHANNEL_NOT_SUPPORT','/universer-api/snapshot/','replace','location','getSheetId','CBC','revision','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSession]','capture','put','_univerInstanceService','exports','LICENSE_IMPORT_SIZE_EXCEEDED','BASE64','event$','/role','WECHAT_HAS_BEEN_BOUND','_config','LICENSE_EXPORT_SIZE_EXCEEDED','_queuedRemoteChangesets','_clearTimeoutTimer','liveShareOperation','APPLY_PERMISSION_DENIED','delete','onload','floor','get','_schedule','listCollaborators','__esModule','_tryEnsureSocket','5641610BOBJAd','MOBILE_HAS_BEEN_BOUND','byteLength','APPLY_NON_SEQUENTIAL_REVISION','indexOf','_collabSessionService','\x0aAfter:\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','loginUrlKey','UPDATE_PERMISSION_OBJ','_unitID','reconnect','SUCCUSS','COMPLETION_FINISHED','append','body','ENSURE_SNAPSHOT_EXECUTION','entries','_telemetryInfo','_onCombEvent','/collaborator','Undefined','_isPermissionRej','ENTITLE_INVALID_COUPON_CODE','symbol','onMutationExecutedForCollab','_snapshotService','_transformStateCache','_onRemoteACK','_startTelemetryCollaborationNewChangeset','/universer-api/user/session-ticket','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','SHA1','localeService','JOIN_ROOM_PERMISSION_DENIED','_submitChangeset','USER_NOT_INVITED_CODE','_collaborationSessionService','connection\x20error','status$','originalMeta','_sendingTimer','_hasher'];_0xaab0=function(){return _0x13eec5;};return _0xaab0();}const en='DEFAULT_FILE_NAME',tn=_0x1af020(0x3eb);let gt=class extends _0xb4e525{constructor(_0x2b2c05,_0x45a227){var _0x44cf89=_0x1af020;super(),this[_0x44cf89(0x279)]=_0x2b2c05,this['_configService']=_0x45a227,this[_0x44cf89(0x266)]();}[_0x1af020(0x266)](){var _0x19e8b0=_0x1af020;this[_0x19e8b0(0x32c)](this[_0x19e8b0(0x279)][_0x19e8b0(0x242)]['subscribe'](()=>{var _0x26b4d0=_0x19e8b0,_0x3f2e82;const _0xa680b3=this[_0x26b4d0(0x279)][_0x26b4d0(0x2ea)]();let _0x578497=(_0x3f2e82=this[_0x26b4d0(0x374)][_0x26b4d0(0x3c2)](en))!=null?_0x3f2e82:tn;_0xa680b3 instanceof _0x149177&&(_0x578497=_0xa680b3['name']),document[_0x26b4d0(0x418)]=_0x578497;}));}};gt=Qs([Wt(0x0,_0x21edfd),Wt(0x1,_0x5ee71f)],gt);var sn=Object[_0x1af020(0x1b4)],nn=(_0x4efe7e,_0x506dd9,_0x2ce636,_0x49d06b)=>{for(var _0x19a4cf=_0x49d06b>0x1?void 0x0:_0x49d06b?sn(_0x506dd9,_0x2ce636):_0x506dd9,_0x2823fb=_0x4efe7e['length']-0x1,_0x3f3ead;_0x2823fb>=0x0;_0x2823fb--)(_0x3f3ead=_0x4efe7e[_0x2823fb])&&(_0x19a4cf=_0x3f3ead(_0x19a4cf)||_0x19a4cf);return _0x19a4cf;},dt=(_0x27c5ee,_0xa9984f)=>(_0x58094a,_0x1a4a8c)=>_0xa9984f(_0x58094a,_0x1a4a8c,_0x27c5ee);let rt=class{constructor(_0x576395,_0x420624,_0xa165ef){var _0x1a845f=_0x1af020;this[_0x1a845f(0x374)]=_0x576395,this['_httpService']=_0x420624,this[_0x1a845f(0x2af)]=_0xa165ef,this['init']();}['init'](){var _0x35fdab=_0x1af020;this[_0x35fdab(0x17b)][_0x35fdab(0x1e4)]({'priority':0x1,'interceptor':(_0x4528e3,_0x138afe)=>_0x138afe(_0x4528e3)[_0x35fdab(0x3ab)](_0x3e3297(async _0x28aab4=>{var _0x3e54d2=_0x35fdab;const _0x183871=_0x28aab4;if(_0x183871[_0x3e54d2(0x434)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x27eb6e=window[_0x3e54d2(0x44c)](window[_0x3e54d2(0x270)][_0x3e54d2(0x1f0)]);window['location'][_0x3e54d2(0x1f0)]=this['_getLoginPath']()+_0x3e54d2(0x222)+_0x27eb6e;}}return _0x183871;}))});}[_0x1af020(0x3cb)](){var _0x4d7be6=_0x1af020,_0x142aa8;const _0x17f494=this[_0x4d7be6(0x374)][_0x4d7be6(0x3c2)](K);return(_0x142aa8=_0x17f494==null?void 0x0:_0x17f494[_0x4d7be6(0x296)])!=null?_0x142aa8:Ns;}};rt=nn([dt(0x0,_0x5ee71f),dt(0x1,_0x5d0be3(_0x20f1c2)),dt(0x2,_0x5d0be3(_0x33940c))],rt);var rn=Object['getOwnPropertyDescriptor'],an=(_0x903b8e,_0x387b94,_0x3ef471,_0x51bbff)=>{var _0x4a4dd2=_0x1af020;for(var _0x1e5103=_0x51bbff>0x1?void 0x0:_0x51bbff?rn(_0x387b94,_0x3ef471):_0x387b94,_0xe53e3c=_0x903b8e[_0x4a4dd2(0x140)]-0x1,_0x28f902;_0xe53e3c>=0x0;_0xe53e3c--)(_0x28f902=_0x903b8e[_0xe53e3c])&&(_0x1e5103=_0x28f902(_0x1e5103)||_0x1e5103);return _0x1e5103;},Yt=(_0x227601,_0x46bb19)=>(_0xce247e,_0x446e5e)=>_0x46bb19(_0xce247e,_0x446e5e,_0x227601);const on=_0x1af020(0x2e7);let Tt=class extends _0xb4e525{constructor(_0x288009,_0x22a934){var _0xda5571=_0x1af020;super(),this['_HTTPService']=_0x288009,this['_configService']=_0x22a934,this[_0xda5571(0x218)]();}[_0x1af020(0x218)](){var _0x5239a9=_0x1af020;const _0x4addfa=this;this['disposeWithMe'](this[_0x5239a9(0x433)][_0x5239a9(0x1e4)]({'priority':0x3e7,'interceptor':_0x5c1fc6({'isMatch'(_0x4cf9b9){var _0xa0eeed=_0x5239a9,_0x515731;if(_0x4cf9b9[_0xa0eeed(0x2d8)]==='POST'&&((_0x515731=_0x4cf9b9[_0xa0eeed(0x214)])!=null&&_0x515731[_0xa0eeed(0x29d)])){const {objectID:_0x329839,objectType:_0x56e79d}=_0x4cf9b9[_0xa0eeed(0x214)][_0xa0eeed(0x29d)]||{};if(!_0x329839||_0x56e79d===void 0x0)return!0x1;const _0x26827c=_0x4addfa[_0xa0eeed(0x2fd)]()+'/'+_0x56e79d+_0xa0eeed(0x1a6)+_0x329839+_0xa0eeed(0x1e0);if(_0x4cf9b9[_0xa0eeed(0x31b)]===_0x26827c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x370858){var _0x47e2b7=_0x5239a9,_0x348845;return(_0x348845=_0x370858[_0x47e2b7(0x214)])==null?void 0x0:_0x348845['body'];},'mergeParamsToRequest'(_0x3f8c93,_0x18e66c){var _0x2581a9=_0x5239a9;const _0x54d54d=_0x4addfa['_getAPIPrefixPath']()+_0x2581a9(0x220),_0x44affc=_0x3f8c93[_0x2581a9(0x14b)]((_0x449920,_0x4145ff)=>{var _0x455b1b=_0x2581a9;const {unitID:_0x86e99,objectID:_0x37b89f,objectType:_0x2e7a98,actions:_0x31c174}=_0x4145ff;return _0x449920[_0x86e99]||(_0x449920[_0x86e99]={}),_0x449920[_0x86e99][_0x37b89f]||(_0x449920[_0x86e99][_0x37b89f]={'objectID':_0x37b89f,'objectType':_0x2e7a98,'actions':[]}),_0x449920[_0x86e99][_0x37b89f][_0x455b1b(0x168)][_0x455b1b(0x355)](..._0x31c174),_0x449920;},{}),_0x49436a=[];for(const _0x1b20e9 in _0x44affc)for(const _0x53805c in _0x44affc[_0x1b20e9]){const {actions:_0x4c9221,objectType:_0x52fac1}=_0x44affc[_0x1b20e9][_0x53805c],_0x46b053=[...new Set(_0x4c9221)];_0x49436a[_0x2581a9(0x355)]({'unitID':_0x1b20e9,'objectID':_0x53805c,'objectType':_0x52fac1,'actions':_0x46b053});}return new _0x304815('POST',_0x54d54d,{'headers':_0x18e66c[_0x2581a9(0x191)],'withCredentials':_0x18e66c[_0x2581a9(0x160)],'responseType':_0x18e66c['responseType'],'body':{'requests':_0x49436a}});}},{'distributeResult'(_0x95cb9b,_0x1040a5){var _0x12c4cd=_0x5239a9;const {objectActions:_0x20cdb7}=_0x95cb9b;return _0x1040a5[_0x12c4cd(0x1bb)](_0x5366a5=>{var _0x4909f0=_0x12c4cd;const {unitID:_0x6a9ffa,objectID:_0x54d510,actions:_0x5690ee}=_0x5366a5,_0x206d0e=_0x20cdb7[_0x4909f0(0x14e)](_0x256dae=>_0x256dae['unitID']===_0x6a9ffa&&_0x256dae[_0x4909f0(0x1b2)]===_0x54d510),_0x5d8466=_0x5690ee[_0x4909f0(0x1bb)](_0x1f7bba=>_0x206d0e==null?void 0x0:_0x206d0e[_0x4909f0(0x168)]['find'](_0x52a5c2=>_0x52a5c2[_0x4909f0(0x1e8)]===_0x1f7bba))[_0x4909f0(0x186)](_0x2b7d1b=>!!_0x2b7d1b);return{'config':_0x5366a5,'result':{'actions':_0x5d8466,'error':_0x95cb9b[_0x4909f0(0x3ee)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4e2938=_0x1af020,_0x571244;const _0x500899=this[_0x4e2938(0x374)]['getConfig'](K);return(_0x571244=_0x500899==null?void 0x0:_0x500899[_0x4e2938(0x41e)])!=null?_0x571244:on;}async[_0x1af020(0x429)](_0x11825e){var _0x4e4276=_0x1af020;const _0x3d254b=this[_0x4e4276(0x2fd)]()+'/'+_0x11825e[_0x4e4276(0x202)]+_0x4e4276(0x352);return(await this[_0x4e4276(0x433)]['post'](_0x3d254b,{'body':_0x11825e}))[_0x4e4276(0x29d)]['objectID']||'';}async[_0x1af020(0x3e5)](_0x886f06){var _0x3d0fce=_0x1af020;const _0x3cad3c=this[_0x3d0fce(0x2fd)]()+_0x3d0fce(0x38c);return(await this[_0x3d0fce(0x433)]['post'](_0x3cad3c,{'body':_0x886f06}))[_0x3d0fce(0x29d)]['objects'];}async['update'](_0x2c8a18){var _0x15060e=_0x1af020,_0x463fc4,_0x5d5eef;const _0x5205ce=this[_0x15060e(0x2fd)]()+'/'+_0x2c8a18[_0x15060e(0x202)]+_0x15060e(0x1a6)+_0x2c8a18[_0x15060e(0x1b2)],_0x371cbd=await this[_0x15060e(0x433)][_0x15060e(0x278)](_0x5205ce,{'body':_0x2c8a18});if(((_0x5d5eef=(_0x463fc4=_0x371cbd==null?void 0x0:_0x371cbd[_0x15060e(0x29d)])==null?void 0x0:_0x463fc4[_0x15060e(0x3ee)])==null?void 0x0:_0x5d5eef[_0x15060e(0x428)])!==0x1)throw new Error(_0x15060e(0x25f));}async[_0x1af020(0x317)](_0x4d488b){var _0x4f05e5=_0x1af020;const _0x2f4f97=this[_0x4f05e5(0x2fd)]()+'/'+_0x4d488b[_0x4f05e5(0x202)]+'/object/'+_0x4d488b[_0x4f05e5(0x1b2)]+_0x4f05e5(0x1e0);return(await this['_HTTPService'][_0x4f05e5(0x2c0)](_0x2f4f97,{'body':_0x4d488b}))[_0x4f05e5(0x29d)][_0x4f05e5(0x168)];}async['batchAllowed'](_0x26d6e){var _0x1d30a9=_0x1af020;const _0x122614=this[_0x1d30a9(0x2fd)]()+'/-/object/-/batch_allowed';return(await this[_0x1d30a9(0x433)][_0x1d30a9(0x2c0)](_0x122614,{'body':{'requests':_0x26d6e}}))[_0x1d30a9(0x29d)]['objectActions'];}async['listRoles'](_0x4d98d1){var _0x4ea60a=_0x1af020;const _0x134a66=this[_0x4ea60a(0x2fd)]()+'/'+_0x4d98d1[_0x4ea60a(0x202)]+_0x4ea60a(0x27e),_0xf4519b=await this['_HTTPService'][_0x4ea60a(0x2c0)](_0x134a66,{'body':_0x4d98d1});return{'roles':_0xf4519b[_0x4ea60a(0x29d)][_0x4ea60a(0x3a0)],'actions':_0xf4519b[_0x4ea60a(0x29d)][_0x4ea60a(0x168)]};}async['deleteCollaborator'](_0x427a88){var _0xd705c2=_0x1af020;const _0x15c7a0=this[_0xd705c2(0x2fd)]()+_0xd705c2(0x2a2);await this['_HTTPService']['delete'](_0x15c7a0,{'params':{'collaboratorID':_0x427a88[_0xd705c2(0x33c)],'objectID':_0x427a88[_0xd705c2(0x1b2)],'unitID':_0x427a88['unitID']}});}async[_0x1af020(0x267)](_0x6c1f76){var _0x1ec1e0=_0x1af020;const _0x4c1db6=this['_getAPIPrefixPath']()+_0x1ec1e0(0x2a2);await this['_HTTPService'][_0x1ec1e0(0x306)](_0x4c1db6,{'body':_0x6c1f76});}async[_0x1af020(0x3bd)](_0x513d0a){var _0x32aaf8=_0x1af020;const _0x3d4f9c=this[_0x32aaf8(0x2fd)]()+_0x32aaf8(0x2a2);await this[_0x32aaf8(0x433)][_0x32aaf8(0x2c0)](_0x3d4f9c,{'body':_0x513d0a});}async[_0x1af020(0x28b)](_0x398c08){var _0x46c6d1=_0x1af020;const _0x194be5=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x46c6d1(0x433)][_0x46c6d1(0x289)](_0x194be5,{'params':{'objectID':_0x398c08[_0x46c6d1(0x1b2)],'unitID':_0x398c08[_0x46c6d1(0x3d3)]}}))[_0x46c6d1(0x29d)][_0x46c6d1(0x248)];}async[_0x1af020(0x15e)](_0x2fa994){var _0x116393=_0x1af020;const _0x2835be=this[_0x116393(0x2fd)]()+'/collaborator';await this[_0x116393(0x433)]['put'](_0x2835be,{'body':_0x2fa994});}};Tt=an([Yt(0x0,_0x5d0be3(_0x20f1c2)),Yt(0x1,_0x5d0be3(_0x5ee71f))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1bd8cf){var _0x4d71ae=_0x1af020;return _0x1bd8cf&&_0x1bd8cf[_0x4d71ae(0x28c)]&&Object[_0x4d71ae(0x357)][_0x4d71ae(0x410)]['call'](_0x1bd8cf,'default')?_0x1bd8cf['default']:_0x1bd8cf;}var Ve={'exports':{}};function cn(_0x2a64b3){var _0x2bec15=_0x1af020;throw new Error(_0x2bec15(0x3f5)+_0x2a64b3+_0x2bec15(0x40b));}var Ge={'exports':{}},_n=Ge[_0x1af020(0x27a)],Kt;function ie(){return Kt||(Kt=0x1,function(_0x10c00d,_0x3b45cf){(function(_0x22d9ca,_0x255f12){var _0x164c6d=_0x46eb;_0x10c00d[_0x164c6d(0x27a)]=_0x255f12();}(_n,function(){var _0x3de6c0=_0x3de6c0||function(_0x5c55a7,_0x5eea7d){var _0x319309=_0x46eb,_0x367b3b;if(typeof window<'u'&&window[_0x319309(0x43c)]&&(_0x367b3b=window[_0x319309(0x43c)]),typeof self<'u'&&self['crypto']&&(_0x367b3b=self[_0x319309(0x43c)]),typeof globalThis<'u'&&globalThis[_0x319309(0x43c)]&&(_0x367b3b=globalThis[_0x319309(0x43c)]),!_0x367b3b&&typeof window<'u'&&window[_0x319309(0x1f6)]&&(_0x367b3b=window['msCrypto']),!_0x367b3b&&typeof ft<'u'&&ft['crypto']&&(_0x367b3b=ft[_0x319309(0x43c)]),!_0x367b3b&&typeof cn=='function')try{_0x367b3b=require('crypto');}catch{}var _0x323259=function(){var _0x522ffd=_0x319309;if(_0x367b3b){if(typeof _0x367b3b[_0x522ffd(0x22f)]=='function')try{return _0x367b3b[_0x522ffd(0x22f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x367b3b['randomBytes']=='function')try{return _0x367b3b['randomBytes'](0x4)[_0x522ffd(0x385)]();}catch{}}throw new Error(_0x522ffd(0x1c5));},_0x13784c=Object[_0x319309(0x429)]||(function(){function _0x1411f6(){}return function(_0x537808){var _0xae0642=_0x46eb,_0x10644c;return _0x1411f6[_0xae0642(0x357)]=_0x537808,_0x10644c=new _0x1411f6(),_0x1411f6[_0xae0642(0x357)]=null,_0x10644c;};}()),_0x43f69c={},_0x1ca8a4=_0x43f69c['lib']={},_0xa84806=_0x1ca8a4['Base']=(function(){return{'extend':function(_0x2d5398){var _0x5ac78e=_0x46eb,_0x52453e=_0x13784c(this);return _0x2d5398&&_0x52453e[_0x5ac78e(0x2c3)](_0x2d5398),(!_0x52453e[_0x5ac78e(0x410)](_0x5ac78e(0x1e2))||this[_0x5ac78e(0x1e2)]===_0x52453e[_0x5ac78e(0x1e2)])&&(_0x52453e[_0x5ac78e(0x1e2)]=function(){var _0x533783=_0x5ac78e;_0x52453e[_0x533783(0x3c1)][_0x533783(0x1e2)][_0x533783(0x3cd)](this,arguments);}),_0x52453e[_0x5ac78e(0x1e2)][_0x5ac78e(0x357)]=_0x52453e,_0x52453e[_0x5ac78e(0x3c1)]=this,_0x52453e;},'create':function(){var _0x1bf7d3=_0x46eb,_0x49ad8a=this[_0x1bf7d3(0x440)]();return _0x49ad8a[_0x1bf7d3(0x1e2)][_0x1bf7d3(0x3cd)](_0x49ad8a,arguments),_0x49ad8a;},'init':function(){},'mixIn':function(_0x43a9d4){var _0x303f47=_0x46eb;for(var _0x61c0d4 in _0x43a9d4)_0x43a9d4[_0x303f47(0x410)](_0x61c0d4)&&(this[_0x61c0d4]=_0x43a9d4[_0x61c0d4]);_0x43a9d4[_0x303f47(0x410)]('toString')&&(this[_0x303f47(0x342)]=_0x43a9d4[_0x303f47(0x342)]);},'clone':function(){var _0x415f77=_0x46eb;return this[_0x415f77(0x1e2)][_0x415f77(0x357)][_0x415f77(0x440)](this);}};}()),_0x4ad1bc=_0x1ca8a4['WordArray']=_0xa84806['extend']({'init':function(_0x23cdbf,_0x47945e){var _0x21bc9a=_0x319309;_0x23cdbf=this[_0x21bc9a(0x18a)]=_0x23cdbf||[],_0x47945e!=_0x5eea7d?this[_0x21bc9a(0x44d)]=_0x47945e:this[_0x21bc9a(0x44d)]=_0x23cdbf['length']*0x4;},'toString':function(_0xd2a8a9){var _0x504c9e=_0x319309;return(_0xd2a8a9||_0x1afec8)[_0x504c9e(0x18d)](this);},'concat':function(_0x10573d){var _0x313063=_0x319309,_0x360790=this[_0x313063(0x18a)],_0x252ded=_0x10573d[_0x313063(0x18a)],_0x2835ae=this['sigBytes'],_0x2a9923=_0x10573d[_0x313063(0x44d)];if(this[_0x313063(0x217)](),_0x2835ae%0x4)for(var _0x5bb86a=0x0;_0x5bb86a<_0x2a9923;_0x5bb86a++){var _0xee94f2=_0x252ded[_0x5bb86a>>>0x2]>>>0x18-_0x5bb86a%0x4*0x8&0xff;_0x360790[_0x2835ae+_0x5bb86a>>>0x2]|=_0xee94f2<<0x18-(_0x2835ae+_0x5bb86a)%0x4*0x8;}else{for(var _0x26f08e=0x0;_0x26f08e<_0x2a9923;_0x26f08e+=0x4)_0x360790[_0x2835ae+_0x26f08e>>>0x2]=_0x252ded[_0x26f08e>>>0x2];}return this[_0x313063(0x44d)]+=_0x2a9923,this;},'clamp':function(){var _0x180855=_0x319309,_0x2b2d9e=this[_0x180855(0x18a)],_0x5309e5=this[_0x180855(0x44d)];_0x2b2d9e[_0x5309e5>>>0x2]&=0xffffffff<<0x20-_0x5309e5%0x4*0x8,_0x2b2d9e[_0x180855(0x140)]=_0x5c55a7[_0x180855(0x326)](_0x5309e5/0x4);},'clone':function(){var _0x565b5d=_0x319309,_0x3b7bf6=_0xa84806[_0x565b5d(0x404)][_0x565b5d(0x3c6)](this);return _0x3b7bf6[_0x565b5d(0x18a)]=this[_0x565b5d(0x18a)][_0x565b5d(0x321)](0x0),_0x3b7bf6;},'random':function(_0x33d1ba){var _0x3e14ce=_0x319309;for(var _0x3fb051=[],_0x10a6dd=0x0;_0x10a6dd<_0x33d1ba;_0x10a6dd+=0x4)_0x3fb051['push'](_0x323259());return new _0x4ad1bc[(_0x3e14ce(0x1e2))](_0x3fb051,_0x33d1ba);}}),_0x397a96=_0x43f69c[_0x319309(0x343)]={},_0x1afec8=_0x397a96[_0x319309(0x1dc)]={'stringify':function(_0x5ec45e){var _0x58cb20=_0x319309;for(var _0x5d54ab=_0x5ec45e[_0x58cb20(0x18a)],_0x5c309b=_0x5ec45e[_0x58cb20(0x44d)],_0x4ec1f0=[],_0xd1ece8=0x0;_0xd1ece8<_0x5c309b;_0xd1ece8++){var _0x2000e9=_0x5d54ab[_0xd1ece8>>>0x2]>>>0x18-_0xd1ece8%0x4*0x8&0xff;_0x4ec1f0[_0x58cb20(0x355)]((_0x2000e9>>>0x4)[_0x58cb20(0x342)](0x10)),_0x4ec1f0['push']((_0x2000e9&0xf)[_0x58cb20(0x342)](0x10));}return _0x4ec1f0[_0x58cb20(0x136)]('');},'parse':function(_0x3efb50){var _0x416f74=_0x319309;for(var _0x451261=_0x3efb50[_0x416f74(0x140)],_0x2d0023=[],_0x2576af=0x0;_0x2576af<_0x451261;_0x2576af+=0x2)_0x2d0023[_0x2576af>>>0x3]|=parseInt(_0x3efb50[_0x416f74(0x22e)](_0x2576af,0x2),0x10)<<0x18-_0x2576af%0x8*0x4;return new _0x4ad1bc[(_0x416f74(0x1e2))](_0x2d0023,_0x451261/0x2);}},_0x2218d1=_0x397a96[_0x319309(0x1d1)]={'stringify':function(_0x2dc66f){var _0xccdcb=_0x319309;for(var _0x50cfe0=_0x2dc66f[_0xccdcb(0x18a)],_0x2e4725=_0x2dc66f[_0xccdcb(0x44d)],_0x514871=[],_0x277b0e=0x0;_0x277b0e<_0x2e4725;_0x277b0e++){var _0xe18f9b=_0x50cfe0[_0x277b0e>>>0x2]>>>0x18-_0x277b0e%0x4*0x8&0xff;_0x514871[_0xccdcb(0x355)](String[_0xccdcb(0x43a)](_0xe18f9b));}return _0x514871[_0xccdcb(0x136)]('');},'parse':function(_0x41ed2f){var _0x1e854d=_0x319309;for(var _0x211aac=_0x41ed2f['length'],_0x1574ec=[],_0x81e836=0x0;_0x81e836<_0x211aac;_0x81e836++)_0x1574ec[_0x81e836>>>0x2]|=(_0x41ed2f[_0x1e854d(0x243)](_0x81e836)&0xff)<<0x18-_0x81e836%0x4*0x8;return new _0x4ad1bc[(_0x1e854d(0x1e2))](_0x1574ec,_0x211aac);}},_0x1e5418=_0x397a96[_0x319309(0x2ed)]={'stringify':function(_0x35bb8d){var _0x130427=_0x319309;try{return decodeURIComponent(escape(_0x2218d1['stringify'](_0x35bb8d)));}catch{throw new Error(_0x130427(0x30a));}},'parse':function(_0x4a39aa){var _0x29074b=_0x319309;return _0x2218d1[_0x29074b(0x421)](unescape(encodeURIComponent(_0x4a39aa)));}},_0x49d2ec=_0x1ca8a4['BufferedBlockAlgorithm']=_0xa84806[_0x319309(0x440)]({'reset':function(){var _0x27fc69=_0x319309;this[_0x27fc69(0x1a2)]=new _0x4ad1bc['init'](),this[_0x27fc69(0x2f4)]=0x0;},'_append':function(_0x257c94){var _0xad973=_0x319309;typeof _0x257c94==_0xad973(0x438)&&(_0x257c94=_0x1e5418[_0xad973(0x421)](_0x257c94)),this[_0xad973(0x1a2)][_0xad973(0x3d6)](_0x257c94),this[_0xad973(0x2f4)]+=_0x257c94[_0xad973(0x44d)];},'_process':function(_0x561262){var _0x1c08bd=_0x319309,_0xe18a1c,_0x3ee9d1=this[_0x1c08bd(0x1a2)],_0x1c123e=_0x3ee9d1['words'],_0x195ed5=_0x3ee9d1['sigBytes'],_0x222c9e=this[_0x1c08bd(0x198)],_0x43eec1=_0x222c9e*0x4,_0x455038=_0x195ed5/_0x43eec1;_0x561262?_0x455038=_0x5c55a7[_0x1c08bd(0x326)](_0x455038):_0x455038=_0x5c55a7[_0x1c08bd(0x2d6)]((_0x455038|0x0)-this[_0x1c08bd(0x240)],0x0);var _0x12f738=_0x455038*_0x222c9e,_0x92e925=_0x5c55a7[_0x1c08bd(0x224)](_0x12f738*0x4,_0x195ed5);if(_0x12f738){for(var _0x1ab312=0x0;_0x1ab312<_0x12f738;_0x1ab312+=_0x222c9e)this['_doProcessBlock'](_0x1c123e,_0x1ab312);_0xe18a1c=_0x1c123e[_0x1c08bd(0x25c)](0x0,_0x12f738),_0x3ee9d1[_0x1c08bd(0x44d)]-=_0x92e925;}return new _0x4ad1bc[(_0x1c08bd(0x1e2))](_0xe18a1c,_0x92e925);},'clone':function(){var _0x3ba306=_0x319309,_0x43b2bf=_0xa84806['clone'][_0x3ba306(0x3c6)](this);return _0x43b2bf[_0x3ba306(0x1a2)]=this['_data']['clone'](),_0x43b2bf;},'_minBufferSize':0x0});_0x1ca8a4[_0x319309(0x25a)]=_0x49d2ec['extend']({'cfg':_0xa84806[_0x319309(0x440)](),'init':function(_0x44df9c){var _0x4cf8d9=_0x319309;this[_0x4cf8d9(0x1ea)]=this[_0x4cf8d9(0x1ea)][_0x4cf8d9(0x440)](_0x44df9c),this[_0x4cf8d9(0x300)]();},'reset':function(){var _0x23f85f=_0x319309;_0x49d2ec[_0x23f85f(0x300)][_0x23f85f(0x3c6)](this),this[_0x23f85f(0x251)]();},'update':function(_0x57e6bd){var _0x3e4b89=_0x319309;return this['_append'](_0x57e6bd),this[_0x3e4b89(0x192)](),this;},'finalize':function(_0x31b9f9){var _0x10cb21=_0x319309;_0x31b9f9&&this[_0x10cb21(0x253)](_0x31b9f9);var _0x338b63=this[_0x10cb21(0x208)]();return _0x338b63;},'blockSize':0x10,'_createHelper':function(_0x4bad2b){return function(_0x106399,_0x4ecb46){var _0x1c616f=_0x46eb;return new _0x4bad2b['init'](_0x4ecb46)[_0x1c616f(0x182)](_0x106399);};},'_createHmacHelper':function(_0x4707e0){return function(_0x5dad6d,_0x7bdb4f){var _0x24bb67=_0x46eb;return new _0x4d1272[(_0x24bb67(0x24c))][(_0x24bb67(0x1e2))](_0x4707e0,_0x7bdb4f)[_0x24bb67(0x182)](_0x5dad6d);};}});var _0x4d1272=_0x43f69c['algo']={};return _0x43f69c;}(Math);return _0x3de6c0;}));}(Ge)),Ge['exports'];}var We={'exports':{}},hn=We['exports'],qt;function Ni(){var _0x608ede=_0x1af020;return qt||(qt=0x1,function(_0x1e4892,_0x1a23af){(function(_0x12bbe2,_0x4ce5ab){var _0x3b1eef=_0x46eb;_0x1e4892[_0x3b1eef(0x27a)]=_0x4ce5ab(ie());}(hn,function(_0x4c3da5){var _0x489e43=_0x46eb;return(function(){var _0x47590b=_0x46eb,_0x4571da=_0x4c3da5,_0x8a4344=_0x4571da[_0x47590b(0x3a6)],_0xf62598=_0x8a4344['WordArray'],_0x349c66=_0x4571da[_0x47590b(0x343)];_0x349c66[_0x47590b(0x34a)]={'stringify':function(_0x44979e){var _0x457ddb=_0x47590b,_0x124916=_0x44979e[_0x457ddb(0x18a)],_0x3cf500=_0x44979e[_0x457ddb(0x44d)],_0x42cdfa=this[_0x457ddb(0x3f6)];_0x44979e[_0x457ddb(0x217)]();for(var _0x1c1072=[],_0xee5f58=0x0;_0xee5f58<_0x3cf500;_0xee5f58+=0x3)for(var _0x4430df=_0x124916[_0xee5f58>>>0x2]>>>0x18-_0xee5f58%0x4*0x8&0xff,_0xda2117=_0x124916[_0xee5f58+0x1>>>0x2]>>>0x18-(_0xee5f58+0x1)%0x4*0x8&0xff,_0x50aba5=_0x124916[_0xee5f58+0x2>>>0x2]>>>0x18-(_0xee5f58+0x2)%0x4*0x8&0xff,_0x14ef8e=_0x4430df<<0x10|_0xda2117<<0x8|_0x50aba5,_0xb64a1a=0x0;_0xb64a1a<0x4&&_0xee5f58+_0xb64a1a*0.75<_0x3cf500;_0xb64a1a++)_0x1c1072['push'](_0x42cdfa[_0x457ddb(0x179)](_0x14ef8e>>>0x6*(0x3-_0xb64a1a)&0x3f));var _0x2d404b=_0x42cdfa['charAt'](0x40);if(_0x2d404b){for(;_0x1c1072[_0x457ddb(0x140)]%0x4;)_0x1c1072[_0x457ddb(0x355)](_0x2d404b);}return _0x1c1072[_0x457ddb(0x136)]('');},'parse':function(_0x2f56ab){var _0x3ddcf7=_0x47590b,_0xfaa989=_0x2f56ab['length'],_0x482bfd=this[_0x3ddcf7(0x3f6)],_0x45a1d3=this[_0x3ddcf7(0x1ce)];if(!_0x45a1d3){_0x45a1d3=this['_reverseMap']=[];for(var _0x579c4e=0x0;_0x579c4e<_0x482bfd[_0x3ddcf7(0x140)];_0x579c4e++)_0x45a1d3[_0x482bfd[_0x3ddcf7(0x243)](_0x579c4e)]=_0x579c4e;}var _0x4dc784=_0x482bfd['charAt'](0x40);if(_0x4dc784){var _0x5013fd=_0x2f56ab[_0x3ddcf7(0x292)](_0x4dc784);_0x5013fd!==-0x1&&(_0xfaa989=_0x5013fd);}return _0x4d47e0(_0x2f56ab,_0xfaa989,_0x45a1d3);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4d47e0(_0x21c933,_0x1f45ce,_0x23bfbf){var _0x5efa9d=_0x47590b;for(var _0x107132=[],_0x479905=0x0,_0xca0571=0x0;_0xca0571<_0x1f45ce;_0xca0571++)if(_0xca0571%0x4){var _0x1d22f2=_0x23bfbf[_0x21c933['charCodeAt'](_0xca0571-0x1)]<<_0xca0571%0x4*0x2,_0x39d131=_0x23bfbf[_0x21c933['charCodeAt'](_0xca0571)]>>>0x6-_0xca0571%0x4*0x2,_0xea60dd=_0x1d22f2|_0x39d131;_0x107132[_0x479905>>>0x2]|=_0xea60dd<<0x18-_0x479905%0x4*0x8,_0x479905++;}return _0xf62598[_0x5efa9d(0x429)](_0x107132,_0x479905);}}()),_0x4c3da5[_0x489e43(0x343)]['Base64'];}));}(We)),We[_0x608ede(0x27a)];}var Ye={'exports':{}},ln=Ye[_0x1af020(0x27a)],zt;function un(){var _0x42acea=_0x1af020;return zt||(zt=0x1,function(_0x31f33f,_0x48b2df){(function(_0xc3e93,_0x29e188){_0x31f33f['exports']=_0x29e188(ie());}(ln,function(_0x53cddc){return function(_0x2f4423){var _0x4463ba=_0x46eb,_0x589c52=_0x53cddc,_0x11560f=_0x589c52['lib'],_0x2b847c=_0x11560f[_0x4463ba(0x261)],_0x1ef85f=_0x11560f[_0x4463ba(0x25a)],_0x1d98e3=_0x589c52['algo'],_0x2f1f29=[];(function(){var _0x172a0d=_0x4463ba;for(var _0x15a92d=0x0;_0x15a92d<0x40;_0x15a92d++)_0x2f1f29[_0x15a92d]=_0x2f4423[_0x172a0d(0x40e)](_0x2f4423['sin'](_0x15a92d+0x1))*0x100000000|0x0;}());var _0x30684f=_0x1d98e3['MD5']=_0x1ef85f[_0x4463ba(0x440)]({'_doReset':function(){var _0x331a6c=_0x4463ba;this[_0x331a6c(0x39d)]=new _0x2b847c[(_0x331a6c(0x1e2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1419fe,_0x39abc3){var _0x4f57a1=_0x4463ba;for(var _0x5f53c6=0x0;_0x5f53c6<0x10;_0x5f53c6++){var _0x243e71=_0x39abc3+_0x5f53c6,_0x593372=_0x1419fe[_0x243e71];_0x1419fe[_0x243e71]=(_0x593372<<0x8|_0x593372>>>0x18)&0xff00ff|(_0x593372<<0x18|_0x593372>>>0x8)&0xff00ff00;}var _0x5be9a9=this[_0x4f57a1(0x39d)][_0x4f57a1(0x18a)],_0x5d4242=_0x1419fe[_0x39abc3+0x0],_0x8e58e0=_0x1419fe[_0x39abc3+0x1],_0x2788b0=_0x1419fe[_0x39abc3+0x2],_0x15426f=_0x1419fe[_0x39abc3+0x3],_0x370a3b=_0x1419fe[_0x39abc3+0x4],_0x36dcff=_0x1419fe[_0x39abc3+0x5],_0x5703ee=_0x1419fe[_0x39abc3+0x6],_0x348ce4=_0x1419fe[_0x39abc3+0x7],_0x1ed12b=_0x1419fe[_0x39abc3+0x8],_0x213703=_0x1419fe[_0x39abc3+0x9],_0x1c226e=_0x1419fe[_0x39abc3+0xa],_0x350044=_0x1419fe[_0x39abc3+0xb],_0x3620dd=_0x1419fe[_0x39abc3+0xc],_0x90a7fa=_0x1419fe[_0x39abc3+0xd],_0xa2bc69=_0x1419fe[_0x39abc3+0xe],_0x276d29=_0x1419fe[_0x39abc3+0xf],_0x263b8b=_0x5be9a9[0x0],_0x137dcb=_0x5be9a9[0x1],_0x25c91c=_0x5be9a9[0x2],_0x2ce752=_0x5be9a9[0x3];_0x263b8b=_0xa172a2(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x5d4242,0x7,_0x2f1f29[0x0]),_0x2ce752=_0xa172a2(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x8e58e0,0xc,_0x2f1f29[0x1]),_0x25c91c=_0xa172a2(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x2788b0,0x11,_0x2f1f29[0x2]),_0x137dcb=_0xa172a2(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x15426f,0x16,_0x2f1f29[0x3]),_0x263b8b=_0xa172a2(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x370a3b,0x7,_0x2f1f29[0x4]),_0x2ce752=_0xa172a2(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x36dcff,0xc,_0x2f1f29[0x5]),_0x25c91c=_0xa172a2(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x5703ee,0x11,_0x2f1f29[0x6]),_0x137dcb=_0xa172a2(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x348ce4,0x16,_0x2f1f29[0x7]),_0x263b8b=_0xa172a2(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x1ed12b,0x7,_0x2f1f29[0x8]),_0x2ce752=_0xa172a2(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x213703,0xc,_0x2f1f29[0x9]),_0x25c91c=_0xa172a2(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x1c226e,0x11,_0x2f1f29[0xa]),_0x137dcb=_0xa172a2(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x350044,0x16,_0x2f1f29[0xb]),_0x263b8b=_0xa172a2(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x3620dd,0x7,_0x2f1f29[0xc]),_0x2ce752=_0xa172a2(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x90a7fa,0xc,_0x2f1f29[0xd]),_0x25c91c=_0xa172a2(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0xa2bc69,0x11,_0x2f1f29[0xe]),_0x137dcb=_0xa172a2(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x276d29,0x16,_0x2f1f29[0xf]),_0x263b8b=_0x1ddb0a(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x8e58e0,0x5,_0x2f1f29[0x10]),_0x2ce752=_0x1ddb0a(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x5703ee,0x9,_0x2f1f29[0x11]),_0x25c91c=_0x1ddb0a(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x350044,0xe,_0x2f1f29[0x12]),_0x137dcb=_0x1ddb0a(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x5d4242,0x14,_0x2f1f29[0x13]),_0x263b8b=_0x1ddb0a(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x36dcff,0x5,_0x2f1f29[0x14]),_0x2ce752=_0x1ddb0a(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x1c226e,0x9,_0x2f1f29[0x15]),_0x25c91c=_0x1ddb0a(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x276d29,0xe,_0x2f1f29[0x16]),_0x137dcb=_0x1ddb0a(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x370a3b,0x14,_0x2f1f29[0x17]),_0x263b8b=_0x1ddb0a(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x213703,0x5,_0x2f1f29[0x18]),_0x2ce752=_0x1ddb0a(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0xa2bc69,0x9,_0x2f1f29[0x19]),_0x25c91c=_0x1ddb0a(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x15426f,0xe,_0x2f1f29[0x1a]),_0x137dcb=_0x1ddb0a(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x1ed12b,0x14,_0x2f1f29[0x1b]),_0x263b8b=_0x1ddb0a(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x90a7fa,0x5,_0x2f1f29[0x1c]),_0x2ce752=_0x1ddb0a(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x2788b0,0x9,_0x2f1f29[0x1d]),_0x25c91c=_0x1ddb0a(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x348ce4,0xe,_0x2f1f29[0x1e]),_0x137dcb=_0x1ddb0a(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x3620dd,0x14,_0x2f1f29[0x1f]),_0x263b8b=_0x3b638e(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x36dcff,0x4,_0x2f1f29[0x20]),_0x2ce752=_0x3b638e(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x1ed12b,0xb,_0x2f1f29[0x21]),_0x25c91c=_0x3b638e(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x350044,0x10,_0x2f1f29[0x22]),_0x137dcb=_0x3b638e(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0xa2bc69,0x17,_0x2f1f29[0x23]),_0x263b8b=_0x3b638e(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x8e58e0,0x4,_0x2f1f29[0x24]),_0x2ce752=_0x3b638e(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x370a3b,0xb,_0x2f1f29[0x25]),_0x25c91c=_0x3b638e(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x348ce4,0x10,_0x2f1f29[0x26]),_0x137dcb=_0x3b638e(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x1c226e,0x17,_0x2f1f29[0x27]),_0x263b8b=_0x3b638e(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x90a7fa,0x4,_0x2f1f29[0x28]),_0x2ce752=_0x3b638e(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x5d4242,0xb,_0x2f1f29[0x29]),_0x25c91c=_0x3b638e(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x15426f,0x10,_0x2f1f29[0x2a]),_0x137dcb=_0x3b638e(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x5703ee,0x17,_0x2f1f29[0x2b]),_0x263b8b=_0x3b638e(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x213703,0x4,_0x2f1f29[0x2c]),_0x2ce752=_0x3b638e(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x3620dd,0xb,_0x2f1f29[0x2d]),_0x25c91c=_0x3b638e(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x276d29,0x10,_0x2f1f29[0x2e]),_0x137dcb=_0x3b638e(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x2788b0,0x17,_0x2f1f29[0x2f]),_0x263b8b=_0x2c60fa(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x5d4242,0x6,_0x2f1f29[0x30]),_0x2ce752=_0x2c60fa(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x348ce4,0xa,_0x2f1f29[0x31]),_0x25c91c=_0x2c60fa(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0xa2bc69,0xf,_0x2f1f29[0x32]),_0x137dcb=_0x2c60fa(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x36dcff,0x15,_0x2f1f29[0x33]),_0x263b8b=_0x2c60fa(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x3620dd,0x6,_0x2f1f29[0x34]),_0x2ce752=_0x2c60fa(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x15426f,0xa,_0x2f1f29[0x35]),_0x25c91c=_0x2c60fa(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x1c226e,0xf,_0x2f1f29[0x36]),_0x137dcb=_0x2c60fa(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x8e58e0,0x15,_0x2f1f29[0x37]),_0x263b8b=_0x2c60fa(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x1ed12b,0x6,_0x2f1f29[0x38]),_0x2ce752=_0x2c60fa(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x276d29,0xa,_0x2f1f29[0x39]),_0x25c91c=_0x2c60fa(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x5703ee,0xf,_0x2f1f29[0x3a]),_0x137dcb=_0x2c60fa(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x90a7fa,0x15,_0x2f1f29[0x3b]),_0x263b8b=_0x2c60fa(_0x263b8b,_0x137dcb,_0x25c91c,_0x2ce752,_0x370a3b,0x6,_0x2f1f29[0x3c]),_0x2ce752=_0x2c60fa(_0x2ce752,_0x263b8b,_0x137dcb,_0x25c91c,_0x350044,0xa,_0x2f1f29[0x3d]),_0x25c91c=_0x2c60fa(_0x25c91c,_0x2ce752,_0x263b8b,_0x137dcb,_0x2788b0,0xf,_0x2f1f29[0x3e]),_0x137dcb=_0x2c60fa(_0x137dcb,_0x25c91c,_0x2ce752,_0x263b8b,_0x213703,0x15,_0x2f1f29[0x3f]),_0x5be9a9[0x0]=_0x5be9a9[0x0]+_0x263b8b|0x0,_0x5be9a9[0x1]=_0x5be9a9[0x1]+_0x137dcb|0x0,_0x5be9a9[0x2]=_0x5be9a9[0x2]+_0x25c91c|0x0,_0x5be9a9[0x3]=_0x5be9a9[0x3]+_0x2ce752|0x0;},'_doFinalize':function(){var _0x4217e0=_0x4463ba,_0x28553f=this[_0x4217e0(0x1a2)],_0x38fcdc=_0x28553f[_0x4217e0(0x18a)],_0x580104=this['_nDataBytes']*0x8,_0xc4341b=_0x28553f['sigBytes']*0x8;_0x38fcdc[_0xc4341b>>>0x5]|=0x80<<0x18-_0xc4341b%0x20;var _0xcd1c1d=_0x2f4423[_0x4217e0(0x288)](_0x580104/0x100000000),_0x3c5034=_0x580104;_0x38fcdc[(_0xc4341b+0x40>>>0x9<<0x4)+0xf]=(_0xcd1c1d<<0x8|_0xcd1c1d>>>0x18)&0xff00ff|(_0xcd1c1d<<0x18|_0xcd1c1d>>>0x8)&0xff00ff00,_0x38fcdc[(_0xc4341b+0x40>>>0x9<<0x4)+0xe]=(_0x3c5034<<0x8|_0x3c5034>>>0x18)&0xff00ff|(_0x3c5034<<0x18|_0x3c5034>>>0x8)&0xff00ff00,_0x28553f['sigBytes']=(_0x38fcdc[_0x4217e0(0x140)]+0x1)*0x4,this[_0x4217e0(0x192)]();for(var _0x2e06f4=this[_0x4217e0(0x39d)],_0x3999ee=_0x2e06f4[_0x4217e0(0x18a)],_0x23be94=0x0;_0x23be94<0x4;_0x23be94++){var _0x459d32=_0x3999ee[_0x23be94];_0x3999ee[_0x23be94]=(_0x459d32<<0x8|_0x459d32>>>0x18)&0xff00ff|(_0x459d32<<0x18|_0x459d32>>>0x8)&0xff00ff00;}return _0x2e06f4;},'clone':function(){var _0x413cf1=_0x4463ba,_0x110674=_0x1ef85f[_0x413cf1(0x404)]['call'](this);return _0x110674['_hash']=this['_hash']['clone'](),_0x110674;}});function _0xa172a2(_0x4c7411,_0x397d86,_0x12ecfc,_0x9b04bf,_0x39f284,_0x3aa539,_0x3f7226){var _0x210e81=_0x4c7411+(_0x397d86&_0x12ecfc|~_0x397d86&_0x9b04bf)+_0x39f284+_0x3f7226;return(_0x210e81<<_0x3aa539|_0x210e81>>>0x20-_0x3aa539)+_0x397d86;}function _0x1ddb0a(_0x5690a1,_0x8ff453,_0x44c98a,_0x11945b,_0x5a6871,_0x5e0ca6,_0x3ca63a){var _0x299e0f=_0x5690a1+(_0x8ff453&_0x11945b|_0x44c98a&~_0x11945b)+_0x5a6871+_0x3ca63a;return(_0x299e0f<<_0x5e0ca6|_0x299e0f>>>0x20-_0x5e0ca6)+_0x8ff453;}function _0x3b638e(_0xbf163b,_0x417022,_0x5ae535,_0x160edd,_0x4df43e,_0x2a6488,_0x2ae769){var _0x2c6581=_0xbf163b+(_0x417022^_0x5ae535^_0x160edd)+_0x4df43e+_0x2ae769;return(_0x2c6581<<_0x2a6488|_0x2c6581>>>0x20-_0x2a6488)+_0x417022;}function _0x2c60fa(_0xa952b4,_0x268fac,_0x53132b,_0x253b3f,_0x323b8c,_0x1aa512,_0x3bf4e0){var _0x1b5b8f=_0xa952b4+(_0x53132b^(_0x268fac|~_0x253b3f))+_0x323b8c+_0x3bf4e0;return(_0x1b5b8f<<_0x1aa512|_0x1b5b8f>>>0x20-_0x1aa512)+_0x268fac;}_0x589c52[_0x4463ba(0x324)]=_0x1ef85f[_0x4463ba(0x1bd)](_0x30684f),_0x589c52[_0x4463ba(0x1a7)]=_0x1ef85f[_0x4463ba(0x38b)](_0x30684f);}(Math),_0x53cddc['MD5'];}));}(Ye)),Ye[_0x42acea(0x27a)];}var Ke={'exports':{}},qe={'exports':{}},dn=qe[_0x1af020(0x27a)],Xt;function fn(){var _0x380e2a=_0x1af020;return Xt||(Xt=0x1,function(_0x25ef3c,_0x13006a){(function(_0xc34463,_0x1b518f){var _0x48bbb9=_0x46eb;_0x25ef3c[_0x48bbb9(0x27a)]=_0x1b518f(ie());}(dn,function(_0x267c6f){return(function(){var _0x251154=_0x46eb,_0x2b6d76=_0x267c6f,_0x93f19b=_0x2b6d76['lib'],_0xdf8243=_0x93f19b[_0x251154(0x261)],_0x194142=_0x93f19b[_0x251154(0x25a)],_0x144694=_0x2b6d76[_0x251154(0x3ad)],_0x431407=[],_0x920d6c=_0x144694[_0x251154(0x2ae)]=_0x194142[_0x251154(0x440)]({'_doReset':function(){var _0x223031=_0x251154;this[_0x223031(0x39d)]=new _0xdf8243[(_0x223031(0x1e2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3bb542,_0xba5919){var _0x23e0cf=_0x251154;for(var _0x4ee57d=this[_0x23e0cf(0x39d)]['words'],_0x5c7de8=_0x4ee57d[0x0],_0xa65f62=_0x4ee57d[0x1],_0x18f790=_0x4ee57d[0x2],_0x5aed8f=_0x4ee57d[0x3],_0x1c7a89=_0x4ee57d[0x4],_0x527685=0x0;_0x527685<0x50;_0x527685++){if(_0x527685<0x10)_0x431407[_0x527685]=_0x3bb542[_0xba5919+_0x527685]|0x0;else{var _0x3e2dea=_0x431407[_0x527685-0x3]^_0x431407[_0x527685-0x8]^_0x431407[_0x527685-0xe]^_0x431407[_0x527685-0x10];_0x431407[_0x527685]=_0x3e2dea<<0x1|_0x3e2dea>>>0x1f;}var _0x4e8c16=(_0x5c7de8<<0x5|_0x5c7de8>>>0x1b)+_0x1c7a89+_0x431407[_0x527685];_0x527685<0x14?_0x4e8c16+=(_0xa65f62&_0x18f790|~_0xa65f62&_0x5aed8f)+0x5a827999:_0x527685<0x28?_0x4e8c16+=(_0xa65f62^_0x18f790^_0x5aed8f)+0x6ed9eba1:_0x527685<0x3c?_0x4e8c16+=(_0xa65f62&_0x18f790|_0xa65f62&_0x5aed8f|_0x18f790&_0x5aed8f)-0x70e44324:_0x4e8c16+=(_0xa65f62^_0x18f790^_0x5aed8f)-0x359d3e2a,_0x1c7a89=_0x5aed8f,_0x5aed8f=_0x18f790,_0x18f790=_0xa65f62<<0x1e|_0xa65f62>>>0x2,_0xa65f62=_0x5c7de8,_0x5c7de8=_0x4e8c16;}_0x4ee57d[0x0]=_0x4ee57d[0x0]+_0x5c7de8|0x0,_0x4ee57d[0x1]=_0x4ee57d[0x1]+_0xa65f62|0x0,_0x4ee57d[0x2]=_0x4ee57d[0x2]+_0x18f790|0x0,_0x4ee57d[0x3]=_0x4ee57d[0x3]+_0x5aed8f|0x0,_0x4ee57d[0x4]=_0x4ee57d[0x4]+_0x1c7a89|0x0;},'_doFinalize':function(){var _0xe989f4=_0x251154,_0x2b71b1=this[_0xe989f4(0x1a2)],_0x5bd106=_0x2b71b1['words'],_0x55aa60=this['_nDataBytes']*0x8,_0x8616ee=_0x2b71b1[_0xe989f4(0x44d)]*0x8;return _0x5bd106[_0x8616ee>>>0x5]|=0x80<<0x18-_0x8616ee%0x20,_0x5bd106[(_0x8616ee+0x40>>>0x9<<0x4)+0xe]=Math[_0xe989f4(0x288)](_0x55aa60/0x100000000),_0x5bd106[(_0x8616ee+0x40>>>0x9<<0x4)+0xf]=_0x55aa60,_0x2b71b1[_0xe989f4(0x44d)]=_0x5bd106[_0xe989f4(0x140)]*0x4,this[_0xe989f4(0x192)](),this[_0xe989f4(0x39d)];},'clone':function(){var _0x518431=_0x251154,_0x5b7d65=_0x194142[_0x518431(0x404)][_0x518431(0x3c6)](this);return _0x5b7d65[_0x518431(0x39d)]=this[_0x518431(0x39d)]['clone'](),_0x5b7d65;}});_0x2b6d76[_0x251154(0x2ae)]=_0x194142[_0x251154(0x1bd)](_0x920d6c),_0x2b6d76[_0x251154(0x42d)]=_0x194142[_0x251154(0x38b)](_0x920d6c);}()),_0x267c6f['SHA1'];}));}(qe)),qe[_0x380e2a(0x27a)];}var ze={'exports':{}},vn=ze[_0x1af020(0x27a)],Jt;function En(){return Jt||(Jt=0x1,function(_0x3000a0,_0x442fe2){(function(_0x431c6b,_0x320dd8){var _0x156fcf=_0x46eb;_0x3000a0[_0x156fcf(0x27a)]=_0x320dd8(ie());}(vn,function(_0x6f4f2c){(function(){var _0x15e1da=_0x46eb,_0x5a9723=_0x6f4f2c,_0x2bfae6=_0x5a9723[_0x15e1da(0x3a6)],_0x4c3235=_0x2bfae6[_0x15e1da(0x252)],_0x432422=_0x5a9723[_0x15e1da(0x343)],_0x228b80=_0x432422[_0x15e1da(0x2ed)],_0x381b1e=_0x5a9723['algo'];_0x381b1e[_0x15e1da(0x24c)]=_0x4c3235[_0x15e1da(0x440)]({'init':function(_0x2600a4,_0x19f96e){var _0x351932=_0x15e1da;_0x2600a4=this[_0x351932(0x2b8)]=new _0x2600a4['init'](),typeof _0x19f96e==_0x351932(0x438)&&(_0x19f96e=_0x228b80[_0x351932(0x421)](_0x19f96e));var _0x29efc4=_0x2600a4[_0x351932(0x198)],_0x16bca7=_0x29efc4*0x4;_0x19f96e[_0x351932(0x44d)]>_0x16bca7&&(_0x19f96e=_0x2600a4['finalize'](_0x19f96e)),_0x19f96e['clamp']();for(var _0x33277c=this[_0x351932(0x37a)]=_0x19f96e[_0x351932(0x404)](),_0x5082b0=this[_0x351932(0x3d5)]=_0x19f96e[_0x351932(0x404)](),_0x3c9a84=_0x33277c[_0x351932(0x18a)],_0x4cd226=_0x5082b0[_0x351932(0x18a)],_0x9a011a=0x0;_0x9a011a<_0x29efc4;_0x9a011a++)_0x3c9a84[_0x9a011a]^=0x5c5c5c5c,_0x4cd226[_0x9a011a]^=0x36363636;_0x33277c[_0x351932(0x44d)]=_0x5082b0['sigBytes']=_0x16bca7,this[_0x351932(0x300)]();},'reset':function(){var _0x21ffee=_0x15e1da,_0x396ddd=this['_hasher'];_0x396ddd['reset'](),_0x396ddd[_0x21ffee(0x21d)](this[_0x21ffee(0x3d5)]);},'update':function(_0x5ea4e2){var _0x385555=_0x15e1da;return this['_hasher'][_0x385555(0x21d)](_0x5ea4e2),this;},'finalize':function(_0x468bad){var _0x137f54=_0x15e1da,_0x196e23=this[_0x137f54(0x2b8)],_0x197887=_0x196e23[_0x137f54(0x182)](_0x468bad);_0x196e23[_0x137f54(0x300)]();var _0x3bb2e1=_0x196e23[_0x137f54(0x182)](this[_0x137f54(0x37a)][_0x137f54(0x404)]()['concat'](_0x197887));return _0x3bb2e1;}});}());}));}(ze)),ze['exports'];}var pn=Ke['exports'],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x32654d,_0x15dbed){(function(_0x22b2a4,_0x46090b,_0x398b96){var _0x178e88=_0x46eb;_0x32654d[_0x178e88(0x27a)]=_0x46090b(ie(),fn(),En());}(pn,function(_0x3b1056){var _0x30dee5=_0x46eb;return(function(){var _0x43a722=_0x46eb,_0x511c2b=_0x3b1056,_0xb3f48f=_0x511c2b[_0x43a722(0x3a6)],_0x28a9af=_0xb3f48f['Base'],_0x53fdd4=_0xb3f48f[_0x43a722(0x261)],_0x5794a5=_0x511c2b['algo'],_0x501f3d=_0x5794a5[_0x43a722(0x324)],_0x4191d1=_0x5794a5[_0x43a722(0x2eb)]=_0x28a9af[_0x43a722(0x440)]({'cfg':_0x28a9af[_0x43a722(0x440)]({'keySize':0x80/0x20,'hasher':_0x501f3d,'iterations':0x1}),'init':function(_0x3bbde4){var _0x11f687=_0x43a722;this['cfg']=this['cfg'][_0x11f687(0x440)](_0x3bbde4);},'compute':function(_0x10befc,_0x112262){var _0x567dc5=_0x43a722;for(var _0xd6d0c9,_0x54a3ad=this[_0x567dc5(0x1ea)],_0x5c3c5a=_0x54a3ad[_0x567dc5(0x230)][_0x567dc5(0x429)](),_0xe14f84=_0x53fdd4['create'](),_0x2fb45b=_0xe14f84[_0x567dc5(0x18a)],_0x1dd11e=_0x54a3ad['keySize'],_0x720e31=_0x54a3ad[_0x567dc5(0x3b3)];_0x2fb45b['length']<_0x1dd11e;){_0xd6d0c9&&_0x5c3c5a['update'](_0xd6d0c9),_0xd6d0c9=_0x5c3c5a[_0x567dc5(0x21d)](_0x10befc)[_0x567dc5(0x182)](_0x112262),_0x5c3c5a[_0x567dc5(0x300)]();for(var _0x3b7155=0x1;_0x3b7155<_0x720e31;_0x3b7155++)_0xd6d0c9=_0x5c3c5a[_0x567dc5(0x182)](_0xd6d0c9),_0x5c3c5a[_0x567dc5(0x300)]();_0xe14f84[_0x567dc5(0x3d6)](_0xd6d0c9);}return _0xe14f84[_0x567dc5(0x44d)]=_0x1dd11e*0x4,_0xe14f84;}});_0x511c2b['EvpKDF']=function(_0xab724c,_0x224cf3,_0x543682){var _0x32b89e=_0x43a722;return _0x4191d1[_0x32b89e(0x429)](_0x543682)[_0x32b89e(0x2df)](_0xab724c,_0x224cf3);};}()),_0x3b1056[_0x30dee5(0x2eb)];}));}(Ke)),Ke['exports'];}var Xe={'exports':{}},mn=Xe[_0x1af020(0x27a)],Qt;function bi(){var _0x5e6851=_0x1af020;return Qt||(Qt=0x1,function(_0x1cb165,_0x4d9801){(function(_0x4b455a,_0x27d090,_0x53109b){var _0x3bd1c8=_0x46eb;_0x1cb165[_0x3bd1c8(0x27a)]=_0x27d090(ie(),Ci());}(mn,function(_0x38f246){var _0x33334d=_0x46eb;_0x38f246[_0x33334d(0x3a6)][_0x33334d(0x1c2)]||function(_0x319252){var _0x54e562=_0x33334d,_0x49cce8=_0x38f246,_0x55a708=_0x49cce8['lib'],_0x575037=_0x55a708[_0x54e562(0x252)],_0x5adabe=_0x55a708['WordArray'],_0x4ce1a2=_0x55a708[_0x54e562(0x13e)],_0x23e4ea=_0x49cce8['enc'];_0x23e4ea[_0x54e562(0x2ed)];var _0x376e55=_0x23e4ea[_0x54e562(0x34a)],_0x32e1e4=_0x49cce8['algo'],_0x2d53dd=_0x32e1e4[_0x54e562(0x2eb)],_0x36b3da=_0x55a708['Cipher']=_0x4ce1a2[_0x54e562(0x440)]({'cfg':_0x575037[_0x54e562(0x440)](),'createEncryptor':function(_0x418d86,_0xa651ec){var _0xb67300=_0x54e562;return this[_0xb67300(0x429)](this[_0xb67300(0x41f)],_0x418d86,_0xa651ec);},'createDecryptor':function(_0x56ba94,_0x5eb826){var _0x3c0197=_0x54e562;return this[_0x3c0197(0x429)](this[_0x3c0197(0x24a)],_0x56ba94,_0x5eb826);},'init':function(_0x35d836,_0x2cd8fb,_0x2d5d79){var _0x47f022=_0x54e562;this[_0x47f022(0x1ea)]=this[_0x47f022(0x1ea)]['extend'](_0x2d5d79),this['_xformMode']=_0x35d836,this[_0x47f022(0x2d9)]=_0x2cd8fb,this[_0x47f022(0x300)]();},'reset':function(){var _0xbf63e4=_0x54e562;_0x4ce1a2[_0xbf63e4(0x300)][_0xbf63e4(0x3c6)](this),this[_0xbf63e4(0x251)]();},'process':function(_0x3101fa){var _0x1d9440=_0x54e562;return this[_0x1d9440(0x253)](_0x3101fa),this[_0x1d9440(0x192)]();},'finalize':function(_0x2283c8){var _0x4cd9d0=_0x54e562;_0x2283c8&&this[_0x4cd9d0(0x253)](_0x2283c8);var _0x4ecb24=this[_0x4cd9d0(0x208)]();return _0x4ecb24;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4611fe(_0x2cdf9c){return typeof _0x2cdf9c=='string'?_0x51c10a:_0x2937f9;}return function(_0xa742fc){return{'encrypt':function(_0x4b5fb3,_0x5c4e90,_0x56445e){var _0x100132=_0x46eb;return _0x4611fe(_0x5c4e90)[_0x100132(0x153)](_0xa742fc,_0x4b5fb3,_0x5c4e90,_0x56445e);},'decrypt':function(_0x3f0272,_0x25886d,_0x40fab0){var _0x4876a9=_0x46eb;return _0x4611fe(_0x25886d)[_0x4876a9(0x34e)](_0xa742fc,_0x3f0272,_0x25886d,_0x40fab0);}};};}())});_0x55a708[_0x54e562(0x3ec)]=_0x36b3da[_0x54e562(0x440)]({'_doFinalize':function(){var _0x5f1659=_0x54e562,_0x190d2d=this[_0x5f1659(0x192)](!0x0);return _0x190d2d;},'blockSize':0x1});var _0x22ce8e=_0x49cce8[_0x54e562(0x254)]={},_0x2e7e30=_0x55a708[_0x54e562(0x319)]=_0x575037[_0x54e562(0x440)]({'createEncryptor':function(_0x291cc2,_0x542454){var _0x3c2108=_0x54e562;return this[_0x3c2108(0x1af)][_0x3c2108(0x429)](_0x291cc2,_0x542454);},'createDecryptor':function(_0x3610fc,_0x561cb1){var _0x161398=_0x54e562;return this[_0x161398(0x142)]['create'](_0x3610fc,_0x561cb1);},'init':function(_0x35f805,_0x185fab){var _0xac7f79=_0x54e562;this[_0xac7f79(0x23b)]=_0x35f805,this['_iv']=_0x185fab;}}),_0xdcce1d=_0x22ce8e[_0x54e562(0x272)]=(function(){var _0x58cb9f=_0x54e562,_0x49f7c9=_0x2e7e30[_0x58cb9f(0x440)]();_0x49f7c9[_0x58cb9f(0x1af)]=_0x49f7c9[_0x58cb9f(0x440)]({'processBlock':function(_0xf99969,_0x3d3ca8){var _0x5002f1=_0x58cb9f,_0x4a832a=this[_0x5002f1(0x23b)],_0x4fd992=_0x4a832a[_0x5002f1(0x198)];_0x22cb84[_0x5002f1(0x3c6)](this,_0xf99969,_0x3d3ca8,_0x4fd992),_0x4a832a[_0x5002f1(0x2d4)](_0xf99969,_0x3d3ca8),this['_prevBlock']=_0xf99969[_0x5002f1(0x321)](_0x3d3ca8,_0x3d3ca8+_0x4fd992);}}),_0x49f7c9['Decryptor']=_0x49f7c9[_0x58cb9f(0x440)]({'processBlock':function(_0xef0a6,_0x4c10f7){var _0x2a4460=_0x58cb9f,_0x512b2c=this[_0x2a4460(0x23b)],_0x18e6be=_0x512b2c[_0x2a4460(0x198)],_0x598082=_0xef0a6['slice'](_0x4c10f7,_0x4c10f7+_0x18e6be);_0x512b2c[_0x2a4460(0x2bb)](_0xef0a6,_0x4c10f7),_0x22cb84['call'](this,_0xef0a6,_0x4c10f7,_0x18e6be),this[_0x2a4460(0x414)]=_0x598082;}});function _0x22cb84(_0x189328,_0x4e7f94,_0x58ce80){var _0x2a3ce3=_0x58cb9f,_0x4d9346,_0x2e68e6=this[_0x2a3ce3(0x431)];_0x2e68e6?(_0x4d9346=_0x2e68e6,this['_iv']=_0x319252):_0x4d9346=this[_0x2a3ce3(0x414)];for(var _0x394a35=0x0;_0x394a35<_0x58ce80;_0x394a35++)_0x189328[_0x4e7f94+_0x394a35]^=_0x4d9346[_0x394a35];}return _0x49f7c9;}()),_0x2995ef=_0x49cce8[_0x54e562(0x367)]={},_0x4e70b4=_0x2995ef[_0x54e562(0x3c3)]={'pad':function(_0x3eb61c,_0x11bbf9){var _0xc78b02=_0x54e562;for(var _0x3b9268=_0x11bbf9*0x4,_0x1f4053=_0x3b9268-_0x3eb61c[_0xc78b02(0x44d)]%_0x3b9268,_0x44a15d=_0x1f4053<<0x18|_0x1f4053<<0x10|_0x1f4053<<0x8|_0x1f4053,_0x3395bf=[],_0x16a345=0x0;_0x16a345<_0x1f4053;_0x16a345+=0x4)_0x3395bf['push'](_0x44a15d);var _0x649019=_0x5adabe[_0xc78b02(0x429)](_0x3395bf,_0x1f4053);_0x3eb61c['concat'](_0x649019);},'unpad':function(_0x2ab97a){var _0x475990=_0x54e562,_0x17a83f=_0x2ab97a[_0x475990(0x18a)][_0x2ab97a[_0x475990(0x44d)]-0x1>>>0x2]&0xff;_0x2ab97a[_0x475990(0x44d)]-=_0x17a83f;}};_0x55a708[_0x54e562(0x32f)]=_0x36b3da[_0x54e562(0x440)]({'cfg':_0x36b3da['cfg']['extend']({'mode':_0xdcce1d,'padding':_0x4e70b4}),'reset':function(){var _0x4eeafc=_0x54e562,_0x1b6744;_0x36b3da[_0x4eeafc(0x300)][_0x4eeafc(0x3c6)](this);var _0x4e9f84=this[_0x4eeafc(0x1ea)],_0x1b22db=_0x4e9f84['iv'],_0x2efd9c=_0x4e9f84[_0x4eeafc(0x254)];this[_0x4eeafc(0x247)]==this[_0x4eeafc(0x41f)]?_0x1b6744=_0x2efd9c[_0x4eeafc(0x430)]:(_0x1b6744=_0x2efd9c[_0x4eeafc(0x265)],this[_0x4eeafc(0x240)]=0x1),this[_0x4eeafc(0x3f8)]&&this[_0x4eeafc(0x3f8)][_0x4eeafc(0x305)]==_0x1b6744?this[_0x4eeafc(0x3f8)][_0x4eeafc(0x1e2)](this,_0x1b22db&&_0x1b22db[_0x4eeafc(0x18a)]):(this[_0x4eeafc(0x3f8)]=_0x1b6744[_0x4eeafc(0x3c6)](_0x2efd9c,this,_0x1b22db&&_0x1b22db[_0x4eeafc(0x18a)]),this['_mode']['__creator']=_0x1b6744);},'_doProcessBlock':function(_0x2da9bc,_0x33499a){var _0x4f864c=_0x54e562;this[_0x4f864c(0x3f8)][_0x4f864c(0x2f8)](_0x2da9bc,_0x33499a);},'_doFinalize':function(){var _0x2978e4=_0x54e562,_0x5d2039,_0x172bc9=this[_0x2978e4(0x1ea)][_0x2978e4(0x349)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x172bc9[_0x2978e4(0x367)](this['_data'],this['blockSize']),_0x5d2039=this['_process'](!0x0)):(_0x5d2039=this['_process'](!0x0),_0x172bc9['unpad'](_0x5d2039)),_0x5d2039;},'blockSize':0x80/0x20});var _0x29824d=_0x55a708['CipherParams']=_0x575037[_0x54e562(0x440)]({'init':function(_0x2163c1){var _0x432b8e=_0x54e562;this[_0x432b8e(0x2c3)](_0x2163c1);},'toString':function(_0x40b45d){var _0x443bf2=_0x54e562;return(_0x40b45d||this[_0x443bf2(0x447)])[_0x443bf2(0x18d)](this);}}),_0x37eab2=_0x49cce8['format']={},_0x5998e6=_0x37eab2[_0x54e562(0x37c)]={'stringify':function(_0x4037b6){var _0x56da8c=_0x54e562,_0x3e4902,_0x46aab4=_0x4037b6[_0x56da8c(0x20b)],_0x18ae27=_0x4037b6[_0x56da8c(0x43d)];return _0x18ae27?_0x3e4902=_0x5adabe[_0x56da8c(0x429)]([0x53616c74,0x65645f5f])[_0x56da8c(0x3d6)](_0x18ae27)[_0x56da8c(0x3d6)](_0x46aab4):_0x3e4902=_0x46aab4,_0x3e4902[_0x56da8c(0x342)](_0x376e55);},'parse':function(_0x56c569){var _0x4797ff=_0x54e562,_0x3e31b2,_0x96ee62=_0x376e55[_0x4797ff(0x421)](_0x56c569),_0x6ffee8=_0x96ee62['words'];return _0x6ffee8[0x0]==0x53616c74&&_0x6ffee8[0x1]==0x65645f5f&&(_0x3e31b2=_0x5adabe[_0x4797ff(0x429)](_0x6ffee8[_0x4797ff(0x321)](0x2,0x4)),_0x6ffee8['splice'](0x0,0x4),_0x96ee62[_0x4797ff(0x44d)]-=0x10),_0x29824d[_0x4797ff(0x429)]({'ciphertext':_0x96ee62,'salt':_0x3e31b2});}},_0x2937f9=_0x55a708[_0x54e562(0x42f)]=_0x575037[_0x54e562(0x440)]({'cfg':_0x575037['extend']({'format':_0x5998e6}),'encrypt':function(_0x27096b,_0x49175d,_0x1fa2f7,_0x409eed){var _0x1b4281=_0x54e562;_0x409eed=this['cfg'][_0x1b4281(0x440)](_0x409eed);var _0xfff294=_0x27096b[_0x1b4281(0x430)](_0x1fa2f7,_0x409eed),_0x4810f9=_0xfff294[_0x1b4281(0x182)](_0x49175d),_0xc5cce6=_0xfff294[_0x1b4281(0x1ea)];return _0x29824d[_0x1b4281(0x429)]({'ciphertext':_0x4810f9,'key':_0x1fa2f7,'iv':_0xc5cce6['iv'],'algorithm':_0x27096b,'mode':_0xc5cce6[_0x1b4281(0x254)],'padding':_0xc5cce6[_0x1b4281(0x349)],'blockSize':_0x27096b[_0x1b4281(0x198)],'formatter':_0x409eed['format']});},'decrypt':function(_0x455671,_0x6379de,_0x2a0f21,_0x26ab15){var _0x397cd4=_0x54e562;_0x26ab15=this[_0x397cd4(0x1ea)][_0x397cd4(0x440)](_0x26ab15),_0x6379de=this[_0x397cd4(0x422)](_0x6379de,_0x26ab15['format']);var _0x2224b6=_0x455671['createDecryptor'](_0x2a0f21,_0x26ab15)[_0x397cd4(0x182)](_0x6379de['ciphertext']);return _0x2224b6;},'_parse':function(_0x4bab4c,_0xcb2627){var _0x6a9383=_0x54e562;return typeof _0x4bab4c==_0x6a9383(0x438)?_0xcb2627['parse'](_0x4bab4c,this):_0x4bab4c;}}),_0x3c0077=_0x49cce8[_0x54e562(0x43b)]={},_0x476f0d=_0x3c0077['OpenSSL']={'execute':function(_0x50325e,_0x476a31,_0x2577e8,_0xa59083,_0x119b24){var _0x6c3254=_0x54e562;if(_0xa59083||(_0xa59083=_0x5adabe[_0x6c3254(0x3fd)](0x40/0x8)),_0x119b24)var _0x26d36f=_0x2d53dd[_0x6c3254(0x429)]({'keySize':_0x476a31+_0x2577e8,'hasher':_0x119b24})[_0x6c3254(0x2df)](_0x50325e,_0xa59083);else var _0x26d36f=_0x2d53dd['create']({'keySize':_0x476a31+_0x2577e8})[_0x6c3254(0x2df)](_0x50325e,_0xa59083);var _0xdb2d5e=_0x5adabe[_0x6c3254(0x429)](_0x26d36f[_0x6c3254(0x18a)][_0x6c3254(0x321)](_0x476a31),_0x2577e8*0x4);return _0x26d36f[_0x6c3254(0x44d)]=_0x476a31*0x4,_0x29824d['create']({'key':_0x26d36f,'iv':_0xdb2d5e,'salt':_0xa59083});}},_0x51c10a=_0x55a708[_0x54e562(0x1a8)]=_0x2937f9[_0x54e562(0x440)]({'cfg':_0x2937f9[_0x54e562(0x1ea)]['extend']({'kdf':_0x476f0d}),'encrypt':function(_0x313b7c,_0x107f1a,_0x148262,_0x2757dc){var _0x390aeb=_0x54e562;_0x2757dc=this[_0x390aeb(0x1ea)][_0x390aeb(0x440)](_0x2757dc);var _0x20d4d3=_0x2757dc[_0x390aeb(0x43b)][_0x390aeb(0x311)](_0x148262,_0x313b7c[_0x390aeb(0x37b)],_0x313b7c['ivSize'],_0x2757dc['salt'],_0x2757dc[_0x390aeb(0x230)]);_0x2757dc['iv']=_0x20d4d3['iv'];var _0x251264=_0x2937f9[_0x390aeb(0x153)]['call'](this,_0x313b7c,_0x107f1a,_0x20d4d3[_0x390aeb(0x1ab)],_0x2757dc);return _0x251264['mixIn'](_0x20d4d3),_0x251264;},'decrypt':function(_0x2006e5,_0x2eed15,_0x48066f,_0xec7c76){var _0x2c6eba=_0x54e562;_0xec7c76=this[_0x2c6eba(0x1ea)][_0x2c6eba(0x440)](_0xec7c76),_0x2eed15=this[_0x2c6eba(0x422)](_0x2eed15,_0xec7c76[_0x2c6eba(0x2cc)]);var _0x3972c9=_0xec7c76[_0x2c6eba(0x43b)][_0x2c6eba(0x311)](_0x48066f,_0x2006e5['keySize'],_0x2006e5['ivSize'],_0x2eed15[_0x2c6eba(0x43d)],_0xec7c76[_0x2c6eba(0x230)]);_0xec7c76['iv']=_0x3972c9['iv'];var _0x2c8d34=_0x2937f9[_0x2c6eba(0x34e)][_0x2c6eba(0x3c6)](this,_0x2006e5,_0x2eed15,_0x3972c9['key'],_0xec7c76);return _0x2c8d34;}});}();}));}(Xe)),Xe[_0x5e6851(0x27a)];}var In=Ve[_0x1af020(0x27a)],ei;function Sn(){var _0x5f09a4=_0x1af020;return ei||(ei=0x1,function(_0x3e3662,_0x5d0bf3){(function(_0x5b1d72,_0x1b7982,_0x181f69){var _0x1bf24d=_0x46eb;_0x3e3662[_0x1bf24d(0x27a)]=_0x1b7982(ie(),Ni(),un(),Ci(),bi());}(In,function(_0x49eb98){var _0x1be4de=_0x46eb;return(function(){var _0xe2838c=_0x46eb,_0x599ff3=_0x49eb98,_0x162cba=_0x599ff3[_0xe2838c(0x3a6)],_0xe9a351=_0x162cba[_0xe2838c(0x32f)],_0x56727e=_0x599ff3[_0xe2838c(0x3ad)],_0x2a7c4d=[],_0x2c864a=[],_0x183d15=[],_0x15eced=[],_0x2683f8=[],_0x32e8d3=[],_0x1844ca=[],_0x30cf9f=[],_0x587da5=[],_0x46d2b9=[];(function(){for(var _0x109049=[],_0x236c22=0x0;_0x236c22<0x100;_0x236c22++)_0x236c22<0x80?_0x109049[_0x236c22]=_0x236c22<<0x1:_0x109049[_0x236c22]=_0x236c22<<0x1^0x11b;for(var _0x3513a9=0x0,_0x1a827e=0x0,_0x236c22=0x0;_0x236c22<0x100;_0x236c22++){var _0x3ec3ef=_0x1a827e^_0x1a827e<<0x1^_0x1a827e<<0x2^_0x1a827e<<0x3^_0x1a827e<<0x4;_0x3ec3ef=_0x3ec3ef>>>0x8^_0x3ec3ef&0xff^0x63,_0x2a7c4d[_0x3513a9]=_0x3ec3ef,_0x2c864a[_0x3ec3ef]=_0x3513a9;var _0x2e8770=_0x109049[_0x3513a9],_0x26b948=_0x109049[_0x2e8770],_0x2526dc=_0x109049[_0x26b948],_0x52655a=_0x109049[_0x3ec3ef]*0x101^_0x3ec3ef*0x1010100;_0x183d15[_0x3513a9]=_0x52655a<<0x18|_0x52655a>>>0x8,_0x15eced[_0x3513a9]=_0x52655a<<0x10|_0x52655a>>>0x10,_0x2683f8[_0x3513a9]=_0x52655a<<0x8|_0x52655a>>>0x18,_0x32e8d3[_0x3513a9]=_0x52655a;var _0x52655a=_0x2526dc*0x1010101^_0x26b948*0x10001^_0x2e8770*0x101^_0x3513a9*0x1010100;_0x1844ca[_0x3ec3ef]=_0x52655a<<0x18|_0x52655a>>>0x8,_0x30cf9f[_0x3ec3ef]=_0x52655a<<0x10|_0x52655a>>>0x10,_0x587da5[_0x3ec3ef]=_0x52655a<<0x8|_0x52655a>>>0x18,_0x46d2b9[_0x3ec3ef]=_0x52655a,_0x3513a9?(_0x3513a9=_0x2e8770^_0x109049[_0x109049[_0x109049[_0x2526dc^_0x2e8770]]],_0x1a827e^=_0x109049[_0x109049[_0x1a827e]]):_0x3513a9=_0x1a827e=0x1;}}());var _0xb116ba=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x569e7f=_0x56727e[_0xe2838c(0x3e9)]=_0xe9a351[_0xe2838c(0x440)]({'_doReset':function(){var _0x2f7377=_0xe2838c,_0x5e22b1;if(!(this[_0x2f7377(0x194)]&&this['_keyPriorReset']===this[_0x2f7377(0x2d9)])){for(var _0x2ac97a=this[_0x2f7377(0x16f)]=this[_0x2f7377(0x2d9)],_0x4879c9=_0x2ac97a['words'],_0x5b515e=_0x2ac97a['sigBytes']/0x4,_0xcbf671=this[_0x2f7377(0x194)]=_0x5b515e+0x6,_0x25ac34=(_0xcbf671+0x1)*0x4,_0x3a6904=this['_keySchedule']=[],_0x3fedf6=0x0;_0x3fedf6<_0x25ac34;_0x3fedf6++)_0x3fedf6<_0x5b515e?_0x3a6904[_0x3fedf6]=_0x4879c9[_0x3fedf6]:(_0x5e22b1=_0x3a6904[_0x3fedf6-0x1],_0x3fedf6%_0x5b515e?_0x5b515e>0x6&&_0x3fedf6%_0x5b515e==0x4&&(_0x5e22b1=_0x2a7c4d[_0x5e22b1>>>0x18]<<0x18|_0x2a7c4d[_0x5e22b1>>>0x10&0xff]<<0x10|_0x2a7c4d[_0x5e22b1>>>0x8&0xff]<<0x8|_0x2a7c4d[_0x5e22b1&0xff]):(_0x5e22b1=_0x5e22b1<<0x8|_0x5e22b1>>>0x18,_0x5e22b1=_0x2a7c4d[_0x5e22b1>>>0x18]<<0x18|_0x2a7c4d[_0x5e22b1>>>0x10&0xff]<<0x10|_0x2a7c4d[_0x5e22b1>>>0x8&0xff]<<0x8|_0x2a7c4d[_0x5e22b1&0xff],_0x5e22b1^=_0xb116ba[_0x3fedf6/_0x5b515e|0x0]<<0x18),_0x3a6904[_0x3fedf6]=_0x3a6904[_0x3fedf6-_0x5b515e]^_0x5e22b1);for(var _0x55ae65=this[_0x2f7377(0x1ad)]=[],_0x20a242=0x0;_0x20a242<_0x25ac34;_0x20a242++){var _0x3fedf6=_0x25ac34-_0x20a242;if(_0x20a242%0x4)var _0x5e22b1=_0x3a6904[_0x3fedf6];else var _0x5e22b1=_0x3a6904[_0x3fedf6-0x4];_0x20a242<0x4||_0x3fedf6<=0x4?_0x55ae65[_0x20a242]=_0x5e22b1:_0x55ae65[_0x20a242]=_0x1844ca[_0x2a7c4d[_0x5e22b1>>>0x18]]^_0x30cf9f[_0x2a7c4d[_0x5e22b1>>>0x10&0xff]]^_0x587da5[_0x2a7c4d[_0x5e22b1>>>0x8&0xff]]^_0x46d2b9[_0x2a7c4d[_0x5e22b1&0xff]];}}},'encryptBlock':function(_0x317e5f,_0xee5f66){var _0x5d15c6=_0xe2838c;this[_0x5d15c6(0x169)](_0x317e5f,_0xee5f66,this[_0x5d15c6(0x1d6)],_0x183d15,_0x15eced,_0x2683f8,_0x32e8d3,_0x2a7c4d);},'decryptBlock':function(_0xd6b465,_0x67977e){var _0x16189a=_0xe2838c,_0x4d9e11=_0xd6b465[_0x67977e+0x1];_0xd6b465[_0x67977e+0x1]=_0xd6b465[_0x67977e+0x3],_0xd6b465[_0x67977e+0x3]=_0x4d9e11,this[_0x16189a(0x169)](_0xd6b465,_0x67977e,this['_invKeySchedule'],_0x1844ca,_0x30cf9f,_0x587da5,_0x46d2b9,_0x2c864a);var _0x4d9e11=_0xd6b465[_0x67977e+0x1];_0xd6b465[_0x67977e+0x1]=_0xd6b465[_0x67977e+0x3],_0xd6b465[_0x67977e+0x3]=_0x4d9e11;},'_doCryptBlock':function(_0x418ed1,_0x347be6,_0x1cfe6c,_0x213f87,_0x15c922,_0x1b91c2,_0x53908f,_0x430896){var _0x4e66ec=_0xe2838c;for(var _0x2107ae=this[_0x4e66ec(0x194)],_0x22a829=_0x418ed1[_0x347be6]^_0x1cfe6c[0x0],_0x4ee9f0=_0x418ed1[_0x347be6+0x1]^_0x1cfe6c[0x1],_0xe9e94=_0x418ed1[_0x347be6+0x2]^_0x1cfe6c[0x2],_0x26f953=_0x418ed1[_0x347be6+0x3]^_0x1cfe6c[0x3],_0x2f4eea=0x4,_0x447f85=0x1;_0x447f85<_0x2107ae;_0x447f85++){var _0x39ece7=_0x213f87[_0x22a829>>>0x18]^_0x15c922[_0x4ee9f0>>>0x10&0xff]^_0x1b91c2[_0xe9e94>>>0x8&0xff]^_0x53908f[_0x26f953&0xff]^_0x1cfe6c[_0x2f4eea++],_0x124bf5=_0x213f87[_0x4ee9f0>>>0x18]^_0x15c922[_0xe9e94>>>0x10&0xff]^_0x1b91c2[_0x26f953>>>0x8&0xff]^_0x53908f[_0x22a829&0xff]^_0x1cfe6c[_0x2f4eea++],_0x3fb61e=_0x213f87[_0xe9e94>>>0x18]^_0x15c922[_0x26f953>>>0x10&0xff]^_0x1b91c2[_0x22a829>>>0x8&0xff]^_0x53908f[_0x4ee9f0&0xff]^_0x1cfe6c[_0x2f4eea++],_0x1d77c2=_0x213f87[_0x26f953>>>0x18]^_0x15c922[_0x22a829>>>0x10&0xff]^_0x1b91c2[_0x4ee9f0>>>0x8&0xff]^_0x53908f[_0xe9e94&0xff]^_0x1cfe6c[_0x2f4eea++];_0x22a829=_0x39ece7,_0x4ee9f0=_0x124bf5,_0xe9e94=_0x3fb61e,_0x26f953=_0x1d77c2;}var _0x39ece7=(_0x430896[_0x22a829>>>0x18]<<0x18|_0x430896[_0x4ee9f0>>>0x10&0xff]<<0x10|_0x430896[_0xe9e94>>>0x8&0xff]<<0x8|_0x430896[_0x26f953&0xff])^_0x1cfe6c[_0x2f4eea++],_0x124bf5=(_0x430896[_0x4ee9f0>>>0x18]<<0x18|_0x430896[_0xe9e94>>>0x10&0xff]<<0x10|_0x430896[_0x26f953>>>0x8&0xff]<<0x8|_0x430896[_0x22a829&0xff])^_0x1cfe6c[_0x2f4eea++],_0x3fb61e=(_0x430896[_0xe9e94>>>0x18]<<0x18|_0x430896[_0x26f953>>>0x10&0xff]<<0x10|_0x430896[_0x22a829>>>0x8&0xff]<<0x8|_0x430896[_0x4ee9f0&0xff])^_0x1cfe6c[_0x2f4eea++],_0x1d77c2=(_0x430896[_0x26f953>>>0x18]<<0x18|_0x430896[_0x22a829>>>0x10&0xff]<<0x10|_0x430896[_0x4ee9f0>>>0x8&0xff]<<0x8|_0x430896[_0xe9e94&0xff])^_0x1cfe6c[_0x2f4eea++];_0x418ed1[_0x347be6]=_0x39ece7,_0x418ed1[_0x347be6+0x1]=_0x124bf5,_0x418ed1[_0x347be6+0x2]=_0x3fb61e,_0x418ed1[_0x347be6+0x3]=_0x1d77c2;},'keySize':0x100/0x20});_0x599ff3[_0xe2838c(0x3e9)]=_0xe9a351[_0xe2838c(0x1bd)](_0x569e7f);}()),_0x49eb98[_0x1be4de(0x3e9)];}));}(Ve)),Ve[_0x5f09a4(0x27a)];}var gn=Sn();const Tn=$e(gn);var On=Ni();const ti=$e(On);var Je={'exports':{}},Rn=Je['exports'],ii;function Nn(){return ii||(ii=0x1,function(_0x910c09,_0x45f48b){(function(_0x4ca88d,_0x389c2b){var _0x172a5b=_0x46eb;_0x910c09[_0x172a5b(0x27a)]=_0x389c2b(ie());}(Rn,function(_0x2de5c1){var _0x3235cc=_0x46eb;return _0x2de5c1[_0x3235cc(0x343)]['Utf8'];}));}(Je)),Je['exports'];}var Cn=Nn();const bn=$e(Cn);var Ze={'exports':{}},Dn=Ze[_0x1af020(0x27a)],si;function yn(){var _0x5a3481=_0x1af020;return si||(si=0x1,function(_0x28f792,_0x112991){(function(_0x4d3baf,_0xfbaf55){_0x28f792['exports']=_0xfbaf55(ie());}(Dn,function(_0x3a2341){var _0x3bab59=_0x46eb;return(function(){var _0x2c7e95=_0x46eb;if(typeof ArrayBuffer==_0x2c7e95(0x3d7)){var _0x36db43=_0x3a2341,_0x4c61e2=_0x36db43[_0x2c7e95(0x3a6)],_0x4a68d8=_0x4c61e2['WordArray'],_0x9cc095=_0x4a68d8[_0x2c7e95(0x1e2)],_0x52ac5f=_0x4a68d8['init']=function(_0x3d6a61){var _0x35a1d2=_0x2c7e95;if(_0x3d6a61 instanceof ArrayBuffer&&(_0x3d6a61=new Uint8Array(_0x3d6a61)),(_0x3d6a61 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3d6a61 instanceof Uint8ClampedArray||_0x3d6a61 instanceof Int16Array||_0x3d6a61 instanceof Uint16Array||_0x3d6a61 instanceof Int32Array||_0x3d6a61 instanceof Uint32Array||_0x3d6a61 instanceof Float32Array||_0x3d6a61 instanceof Float64Array)&&(_0x3d6a61=new Uint8Array(_0x3d6a61[_0x35a1d2(0x269)],_0x3d6a61[_0x35a1d2(0x228)],_0x3d6a61[_0x35a1d2(0x290)])),_0x3d6a61 instanceof Uint8Array){for(var _0x2843aa=_0x3d6a61[_0x35a1d2(0x290)],_0x59c9b=[],_0x189a1e=0x0;_0x189a1e<_0x2843aa;_0x189a1e++)_0x59c9b[_0x189a1e>>>0x2]|=_0x3d6a61[_0x189a1e]<<0x18-_0x189a1e%0x4*0x8;_0x9cc095[_0x35a1d2(0x3c6)](this,_0x59c9b,_0x2843aa);}else _0x9cc095['apply'](this,arguments);};_0x52ac5f[_0x2c7e95(0x357)]=_0x4a68d8;}}()),_0x3a2341[_0x3bab59(0x3a6)][_0x3bab59(0x261)];}));}(Ze)),Ze[_0x5a3481(0x27a)];}var Un=yn();const An=$e(Un);var Qe={'exports':{}},Pn=Qe[_0x1af020(0x27a)],ni;function _0x46eb(_0x2979a0,_0x321a1f){_0x2979a0=_0x2979a0-0x136;var _0xaab029=_0xaab0();var _0x46ebf0=_0xaab029[_0x2979a0];return _0x46ebf0;}function Ln(){var _0x32d66b=_0x1af020;return ni||(ni=0x1,function(_0x31f20f,_0x14c312){(function(_0x5e5577,_0x1d1718,_0x121e8d){_0x31f20f['exports']=_0x1d1718(ie(),bi());}(Pn,function(_0x928f92){var _0x49707d=_0x46eb;return _0x928f92[_0x49707d(0x367)][_0x49707d(0x259)]={'pad':function(){},'unpad':function(){}},_0x928f92['pad'][_0x49707d(0x259)];}));}(Qe)),Qe[_0x32d66b(0x27a)];}var Mn=Ln();const wn=$e(Mn);function xn(_0x13bd1e,_0x4544e8){var _0x4fe943=_0x1af020;const _0x56f47e=_0x4544e8-_0x13bd1e[_0x4fe943(0x140)]%_0x4544e8,_0x4e5e3c=String[_0x4fe943(0x43a)](_0x56f47e)['repeat'](_0x56f47e);return _0x13bd1e+_0x4e5e3c;}function kn(_0x2efe36,_0x3fee84){var _0x942147=_0x1af020;const _0x45f57e=An['random'](0x10),_0x1f118c=xn(_0x2efe36,0x10),_0x28e21d=Tn[_0x942147(0x153)](bn[_0x942147(0x421)](_0x1f118c),ti['parse'](_0x3fee84),{'iv':_0x45f57e,'padding':wn});return _0x45f57e[_0x942147(0x3d6)](_0x28e21d[_0x942147(0x20b)])[_0x942147(0x342)](ti);}function $n(){var _0x281dad=_0x1af020;const _0x3f23b4=_0x27418e()['__Key__'];if(_0x3f23b4){const _0x4318f0={'time':Math[_0x281dad(0x288)](Date[_0x281dad(0x216)]()/0x3e8),'domain':location[_0x281dad(0x1e9)]};return kn(JSON['stringify'](_0x4318f0),_0x3f23b4);}}var Hn=Object[_0x1af020(0x1b4)],Bn=(_0x3846da,_0x1668b2,_0x500cb8,_0x1a2c6c)=>{var _0x56e256=_0x1af020;for(var _0x1ca5b7=_0x1a2c6c>0x1?void 0x0:_0x1a2c6c?Hn(_0x1668b2,_0x500cb8):_0x1668b2,_0x27da3c=_0x3846da[_0x56e256(0x140)]-0x1,_0x309d9b;_0x27da3c>=0x0;_0x27da3c--)(_0x309d9b=_0x3846da[_0x27da3c])&&(_0x1ca5b7=_0x309d9b(_0x1ca5b7)||_0x1ca5b7);return _0x1ca5b7;},Fn=(_0x2b6b3b,_0x2636a2)=>(_0x2e0a14,_0x39eda8)=>_0x2636a2(_0x2e0a14,_0x39eda8,_0x2b6b3b);let at=class{constructor(_0x50dad5){var _0xb18797=_0x1af020;this['_httpService']=_0x50dad5,this[_0xb18797(0x19b)]();}[_0x1af020(0x19b)](){var _0x597ebf=_0x1af020;this['_httpService'][_0x597ebf(0x1e4)]({'interceptor':(_0x4ec2f2,_0xa4d5ce)=>{var _0x30fed7=_0x597ebf;const _0x13f209=_0x4ec2f2['headers'],_0x8c1599=$n();return _0x8c1599&&_0x13f209[_0x30fed7(0x143)](_0x30fed7(0x398),_0x8c1599),_0xa4d5ce(_0x4ec2f2);}});}};at=Bn([Fn(0x0,_0x5d0be3(_0x20f1c2))],at);var jn=Object['getOwnPropertyDescriptor'],Vn=(_0x3e4278,_0x5dd8bc,_0x2725c7,_0x3ad97a)=>{var _0x4c134a=_0x1af020;for(var _0x320310=_0x3ad97a>0x1?void 0x0:_0x3ad97a?jn(_0x5dd8bc,_0x2725c7):_0x5dd8bc,_0x725c91=_0x3e4278[_0x4c134a(0x140)]-0x1,_0x40a463;_0x725c91>=0x0;_0x725c91--)(_0x40a463=_0x3e4278[_0x725c91])&&(_0x320310=_0x40a463(_0x320310)||_0x320310);return _0x320310;},vt=(_0x35224b,_0x2bccaa)=>(_0x46b5e6,_0xeb3c15)=>_0x2bccaa(_0x46b5e6,_0xeb3c15,_0x35224b);let Ot=class extends _0x40ffa0{constructor(_0x36d16f,_0x135e1e,_0x6f8a3c){var _0x5575be=_0x1af020;super(),D(this,_0x5575be(0x387),new _0x360a3d(null)),D(this,_0x5575be(0x40d),this[_0x5575be(0x387)]['asObservable']()),(this[_0x5575be(0x337)]=_0x36d16f,this['_snapshotService']=_0x135e1e,this[_0x5575be(0x3fa)]=_0x6f8a3c);}async[_0x1af020(0x17d)](_0x533837,_0x88ebcf,_0x4fab65){var _0x24bf20=_0x1af020;this[_0x24bf20(0x387)][_0x24bf20(0x16e)]({'unitId':_0x533837,'type':_0x88ebcf});let _0x315934=null;switch(_0x88ebcf){case Q[_0x24bf20(0x40a)]:{_0x315934=await this[_0x24bf20(0x2a8)][_0x24bf20(0x308)](_0x533837,_0x4fab65);break;}case Q['UNIVER_DOC']:{_0x315934=await this[_0x24bf20(0x2a8)][_0x24bf20(0x1ca)](_0x533837,_0x4fab65);break;}default:{this[_0x24bf20(0x337)]['error']('[DataLoaderService]',_0x24bf20(0x20a));break;}}return _0x315934;}async[_0x1af020(0x30f)](_0x4fb162,_0x475c5a,_0x33f8b1){var _0x46d469=_0x1af020,_0x4fb911;this[_0x46d469(0x387)][_0x46d469(0x16e)]({'unitId':_0x4fb162,'type':_0x475c5a,'subUnitId':_0x33f8b1});let _0x22b6aa=0x0;const _0x563498=await((_0x4fb911=this[_0x46d469(0x3fa)])==null?void 0x0:_0x4fb911[_0x46d469(0x13c)](_0x4fb162));return _0x563498&&(_0x563498[_0x46d469(0x32d)]||_0x563498[_0x46d469(0x2f7)]['length']!==0x0)&&(_0x22b6aa=_0x563498[_0x46d469(0x339)]),_0x22b6aa===0x0&&this[_0x46d469(0x337)][_0x46d469(0x44a)](_0x46d469(0x1d3),_0x46d469(0x402)),this[_0x46d469(0x17d)](_0x4fb162,_0x475c5a,_0x22b6aa);}};Ot=Vn([vt(0x0,_0x229638),vt(0x1,_0x5d0be3(_0x4b1295)),vt(0x2,_0x4e8ecc(X))],Ot);var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x304ece,_0x23765d,_0x47edf6,_0x589887)=>{var _0x323e98=_0x1af020;for(var _0x4531cc=_0x589887>0x1?void 0x0:_0x589887?Gn(_0x23765d,_0x47edf6):_0x23765d,_0x793ee=_0x304ece[_0x323e98(0x140)]-0x1,_0x10d350;_0x793ee>=0x0;_0x793ee--)(_0x10d350=_0x304ece[_0x793ee])&&(_0x4531cc=_0x10d350(_0x4531cc)||_0x4531cc);return _0x4531cc;},Et=(_0xa47337,_0x538e1b)=>(_0xbdcb84,_0x151e49)=>_0x538e1b(_0xbdcb84,_0x151e49,_0xa47337);const Yn=[_0x1af020(0x1b9),_0x1af020(0x2da),_0x1af020(0x226),_0x1af020(0x37f),_0x1af020(0x3ca)],Kn=0x5*0x400*0x400,qn=_0x1af020(0x23c),zn=_0x1af020(0x2f2);let Rt=class{constructor(_0x585b65,_0x4e7871,_0xd5d328){var _0x3d1721=_0x1af020;D(this,_0x3d1721(0x3cc),0x0),D(this,'_change$',new _0x396041()),D(this,_0x3d1721(0x2ef),this[_0x3d1721(0x2d5)]),D(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x585b65,this[_0x3d1721(0x374)]=_0x4e7871,this['_univerInstanceService']=_0xd5d328);}[_0x1af020(0x372)](_0x94be45){var _0x4336e5=_0x1af020;this[_0x4336e5(0x3cc)]=_0x94be45,this[_0x4336e5(0x2d5)][_0x4336e5(0x16e)](_0x94be45);}[_0x1af020(0x15d)](_0x4363e7,_0x4951fd){var _0x41b2e5=_0x1af020;if(_0x4951fd===_0x198f6d[_0x41b2e5(0x27c)]){const _0x57e86c=new Image();return _0x57e86c[_0x41b2e5(0x2f5)]=_0x4363e7,_0x57e86c;}return this[_0x41b2e5(0x3c5)][_0x41b2e5(0x289)](_0x4363e7);}['addImageSourceCache'](_0x107aaa,_0x273a43,_0xee2f42){var _0x21980d=_0x1af020;_0x273a43===_0x198f6d[_0x21980d(0x27c)]||_0xee2f42==null||this[_0x21980d(0x3c5)][_0x21980d(0x143)](_0x107aaa,_0xee2f42);}async[_0x1af020(0x2f9)](_0x9b6473){var _0x429f97=_0x1af020;try{const _0x10885e=this['_replaceFileID'](this['_getSignURL'](),''+_0x9b6473),_0x4a68c2=(await this[_0x429f97(0x17b)][_0x429f97(0x289)](_0x10885e))['body'];if(_0x4a68c2[_0x429f97(0x3ee)]&&_0x4a68c2[_0x429f97(0x3ee)]['code']===vi['OK']){const _0x57d6f6=new URL(_0x4a68c2[_0x429f97(0x31b)],this['_getDownloadEndpointURL']())[_0x429f97(0x342)]();return Promise['resolve'](_0x57d6f6);}return Promise[_0x429f97(0x148)](_0x4a68c2[_0x429f97(0x3ee)]);}catch(_0xbeed1c){return Promise[_0x429f97(0x148)](_0xbeed1c);}}async[_0x1af020(0x1d2)](_0x222d8b){var _0x508e55=_0x1af020;let _0x35c20f='';if(!Yn[_0x508e55(0x260)](_0x222d8b[_0x508e55(0x2c4)]))return this[_0x508e55(0x436)](),Promise[_0x508e55(0x148)](new Error(_0x279aeb[_0x508e55(0x26b)]));if(_0x222d8b[_0x508e55(0x3b2)]>Kn)return this[_0x508e55(0x436)](),Promise[_0x508e55(0x148)](new Error(_0x279aeb[_0x508e55(0x19f)]));try{const _0x1a8d31=new FormData();_0x1a8d31[_0x508e55(0x29c)]('file',_0x222d8b);const _0x35816d=this[_0x508e55(0x279)][_0x508e55(0x2ea)](),_0x2fec91=_0x35816d==null?void 0x0:_0x35816d[_0x508e55(0x2c2)]();if(!_0x2fec91)throw new Error('unitId\x20is\x20not\x20found');const _0xf31a61=this['_getUploadFileURL']()+'?size='+_0x222d8b[_0x508e55(0x3b2)][_0x508e55(0x342)]()+_0x508e55(0x23a)+Ei[_0x508e55(0x167)]+_0x508e55(0x345)+encodeURIComponent(_0x2fec91),_0x16fb11={'body':_0x1a8d31},_0x160042=(await this[_0x508e55(0x17b)][_0x508e55(0x2c0)](_0xf31a61,_0x16fb11))[_0x508e55(0x29d)];if(typeof _0x160042[_0x508e55(0x3b9)]!=_0x508e55(0x438))return this[_0x508e55(0x436)](),Promise[_0x508e55(0x148)](new Error(_0x279aeb['ERROR_IMAGE']));_0x35c20f=_0x160042[_0x508e55(0x3b9)];}catch{return this[_0x508e55(0x436)](),Promise[_0x508e55(0x148)](new Error(_0x279aeb[_0x508e55(0x21a)]));}return new Promise((_0x32bfdf,_0x1fb4f1)=>{var _0x2201f7=_0x508e55;const _0x40d64b=new FileReader();_0x40d64b[_0x2201f7(0x444)](_0x222d8b),_0x40d64b[_0x2201f7(0x287)]=_0x13edfe=>{var _0x251102=_0x2201f7,_0x35c75a;const _0x22caed=(_0x35c75a=_0x13edfe[_0x251102(0x1a1)])==null?void 0x0:_0x35c75a[_0x251102(0x346)];if(_0x22caed==null){this[_0x251102(0x436)](),_0x1fb4f1(new Error(_0x279aeb[_0x251102(0x21a)]));return;}const _0x84b9bb=_0x4fa07e(0x6);_0x32bfdf({'imageId':_0x84b9bb,'imageSourceType':_0x198f6d[_0x251102(0x3ac)],'source':_0x35c20f,'base64Cache':_0x22caed,'status':_0x279aeb[_0x251102(0x29a)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x2eb4a7=_0x1af020,_0x3d7021;const _0x3b8f37=this['_configService'][_0x2eb4a7(0x3c2)](K);return(_0x3d7021=_0x3b8f37==null?void 0x0:_0x3b8f37[_0x2eb4a7(0x307)])!=null?_0x3d7021:qn;}[_0x1af020(0x232)](){var _0x2e4dc7=_0x1af020,_0x12c96a;const _0x31f0c2=this[_0x2e4dc7(0x374)][_0x2e4dc7(0x3c2)](K);return(_0x12c96a=_0x31f0c2==null?void 0x0:_0x31f0c2[_0x2e4dc7(0x19d)])!=null?_0x12c96a:zn;}['_getDownloadEndpointURL'](){var _0x3a7c97=_0x1af020,_0x5a8070;const _0x2ead77=this[_0x3a7c97(0x374)]['getConfig'](K);return(_0x5a8070=_0x2ead77==null?void 0x0:_0x2ead77[_0x3a7c97(0x446)])!=null?_0x5a8070:location[_0x3a7c97(0x1e6)];}[_0x1af020(0x32e)](_0x30bc6e,_0x25707a){var _0xcc8e30=_0x1af020;return _0x30bc6e[_0xcc8e30(0x26f)](_0xcc8e30(0x424),_0x25707a);}[_0x1af020(0x436)](){var _0x51f962=_0x1af020;this[_0x51f962(0x3cc)]-=0x1,this[_0x51f962(0x2d5)][_0x51f962(0x16e)](this[_0x51f962(0x3cc)]);}};Rt=Wn([Et(0x0,_0x5d0be3(_0x20f1c2)),Et(0x1,_0x5ee71f),Et(0x2,_0x5d0be3(_0x21edfd))],Rt);var Xn=Object[_0x1af020(0x1b4)],Jn=(_0x3bc860,_0x24970b,_0xcf804e,_0x194c3d)=>{var _0x2eac4a=_0x1af020;for(var _0x585cfb=_0x194c3d>0x1?void 0x0:_0x194c3d?Xn(_0x24970b,_0xcf804e):_0x24970b,_0x2a34bd=_0x3bc860[_0x2eac4a(0x140)]-0x1,_0x1e18fc;_0x2a34bd>=0x0;_0x2a34bd--)(_0x1e18fc=_0x3bc860[_0x2a34bd])&&(_0x585cfb=_0x1e18fc(_0x585cfb)||_0x585cfb);return _0x585cfb;},ri=(_0x1e2d4d,_0x18387b)=>(_0x53fe59,_0x28d6a7)=>_0x18387b(_0x53fe59,_0x28d6a7,_0x1e2d4d);const Zn='/universer-api/authz';let Nt=class{constructor(_0x261c70,_0x42367e){var _0x415b40=_0x1af020;this[_0x415b40(0x374)]=_0x261c70,this['_HTTPService']=_0x42367e;}[_0x1af020(0x2fd)](){var _0xcf000c=_0x1af020,_0x29c977;const _0x22e256=this[_0xcf000c(0x374)][_0xcf000c(0x3c2)](K);return(_0x29c977=_0x22e256==null?void 0x0:_0x22e256[_0xcf000c(0x41e)])!=null?_0x29c977:Zn;}async[_0x1af020(0x3e5)](_0x1dbd6d){var _0x37b0fc=_0x1af020;const _0x1c8db9=this[_0x37b0fc(0x2fd)]()+_0x37b0fc(0x2a2);return{'list':[{'title':_0x37b0fc(0x45b),'mentions':(await this[_0x37b0fc(0x433)][_0x37b0fc(0x289)](_0x1c8db9,{'params':{'objectID':_0x1dbd6d[_0x37b0fc(0x164)],'unitID':_0x1dbd6d[_0x37b0fc(0x164)]}}))['body'][_0x37b0fc(0x248)][_0x37b0fc(0x1bb)](_0x59e666=>({'objectId':_0x59e666['id'],'name':_0x59e666['subject'][_0x37b0fc(0x439)],'metadata':{'icon':_0x59e666[_0x37b0fc(0x3b8)][_0x37b0fc(0x40f)]},'label':_0x59e666[_0x37b0fc(0x3b8)][_0x37b0fc(0x439)],'objectType':_0x5abd48['PERSON']})),'metadata':{},'type':_0x5abd48[_0x37b0fc(0x34f)]}]};}};Nt=Jn([ri(0x0,_0x5d0be3(_0x5ee71f)),ri(0x1,_0x5d0be3(_0x20f1c2))],Nt);var Qn=Object[_0x1af020(0x1b4)],er=(_0x29f269,_0x5ffabb,_0x2d0b6b,_0x2991fe)=>{var _0x4b7fc8=_0x1af020;for(var _0x44ecaf=_0x2991fe>0x1?void 0x0:_0x2991fe?Qn(_0x5ffabb,_0x2d0b6b):_0x5ffabb,_0x577441=_0x29f269[_0x4b7fc8(0x140)]-0x1,_0x1c3a1a;_0x577441>=0x0;_0x577441--)(_0x1c3a1a=_0x29f269[_0x577441])&&(_0x44ecaf=_0x1c3a1a(_0x44ecaf)||_0x44ecaf);return _0x44ecaf;},Ue=(_0x3eeae2,_0x18ae01)=>(_0x3edb53,_0x1ad04b)=>_0x18ae01(_0x3edb53,_0x1ad04b,_0x3eeae2);let ot=class extends _0x40ffa0{constructor(_0x553a23,_0x5a40c6,_0x521d60,_0x2e989d,_0x48b3a1){var _0x579f57=_0x1af020;super(),this[_0x579f57(0x332)]=_0x553a23,this['_univerInstanceService']=_0x5a40c6,this['_permissionService']=_0x521d60,this[_0x579f57(0x2b3)]=_0x2e989d,this[_0x579f57(0x325)]=_0x48b3a1,this[_0x579f57(0x302)](),this[_0x579f57(0x3a1)]();}[_0x1af020(0x3a1)](){var _0x55981e=_0x1af020;const _0x18d341=async _0x5f0980=>{var _0x238a46=_0x46eb;(await this['_collaborationSessionService'][_0x238a46(0x2ec)](_0x5f0980))[_0x238a46(0x27d)][_0x238a46(0x3ab)](_0x134d5b(_0x4606a4=>_0x4606a4[_0x238a46(0x236)]===_0x3684d2['SHOULD_CLOSE_CONN']),_0x8dd6f4(this[_0x238a46(0x201)]))[_0x238a46(0x15f)](_0x421323=>{var _0x5046c3=_0x238a46;const _0x3634ac=_0x421323,{reason:_0x254bba}=_0x3634ac[_0x5046c3(0x42e)];this[_0x5046c3(0x325)]['emitEvent']({'id':re[_0x5046c3(0x361)],'data':_0x254bba}),this[_0x5046c3(0x23d)]['updatePermissionPoint'](new _0xa892a4(_0x5f0980)['id'],!0x1),this['_collaborationSessionService'][_0x5046c3(0x3e4)](_0x5f0980);});};_0xef5b1(this[_0x55981e(0x279)][_0x55981e(0x1c7)](_0x2d1c2d[_0x55981e(0x40a)]),this[_0x55981e(0x279)][_0x55981e(0x1c7)](_0x2d1c2d[_0x55981e(0x423)]))['pipe'](_0x371f43(_0x52c575=>_0x52c575['getUnitId']()),_0x134d5b(_0x585211=>!_0x355a5e(_0x585211)),_0x8dd6f4(this['dispose$']))[_0x55981e(0x15f)](_0x248780=>{_0x18d341(_0x248780);});}[_0x1af020(0x302)](){var _0x4968cd=_0x1af020;const _0x24d629=async _0x5aa338=>{var _0x55b2bd=_0x46eb;const _0x689cb7=await this[_0x55b2bd(0x2b3)][_0x55b2bd(0x2ec)](_0x5aa338),_0x56dda8=this[_0x55b2bd(0x332)]['get'](_0x52540b);_0x689cb7[_0x55b2bd(0x27d)][_0x55b2bd(0x3ab)](_0x134d5b(_0x3b8352=>_0x3b8352[_0x55b2bd(0x236)]===_0x3684d2[_0x55b2bd(0x297)]),_0x8dd6f4(this['dispose$']))[_0x55b2bd(0x15f)](_0x3a1fa9=>{var _0x2aad8b=_0x55b2bd;const _0x40cb4e=_0x3a1fa9,{objectId:_0x270531}=_0x40cb4e['data'];_0x270531===_0x5aa338?_0x56dda8[_0x2aad8b(0x19a)](_0x5aa338):_0x56dda8[_0x2aad8b(0x341)](_0x5aa338,_0x270531);});};_0xef5b1(this[_0x4968cd(0x279)][_0x4968cd(0x1c7)](_0x2d1c2d[_0x4968cd(0x40a)]))[_0x4968cd(0x3ab)](_0x371f43(_0x45f2cb=>_0x45f2cb['getUnitId']()),_0x134d5b(_0x5294cf=>!_0x355a5e(_0x5294cf)),_0x8dd6f4(this[_0x4968cd(0x201)]))[_0x4968cd(0x15f)](_0x2c3147=>{_0x24d629(_0x2c3147);});}};ot=er([Ue(0x0,_0x5d0be3(_0x1be1d3)),Ue(0x1,_0x21edfd),Ue(0x2,_0x15cd54),Ue(0x3,_0x5d0be3(Le)),Ue(0x4,_0x5d0be3(ve))],ot);var tr=Object[_0x1af020(0x1b4)],ir=(_0x33379c,_0x3812cf,_0x17355e,_0x25f603)=>{var _0x559b1b=_0x1af020;for(var _0x2c8488=_0x25f603>0x1?void 0x0:_0x25f603?tr(_0x3812cf,_0x17355e):_0x3812cf,_0x10c481=_0x33379c[_0x559b1b(0x140)]-0x1,_0x2f1eee;_0x10c481>=0x0;_0x10c481--)(_0x2f1eee=_0x33379c[_0x10c481])&&(_0x2c8488=_0x2f1eee(_0x2c8488)||_0x2c8488);return _0x2c8488;},ai=(_0x2c0633,_0x4942c3)=>(_0x1a7e26,_0x465e59)=>_0x4942c3(_0x1a7e26,_0x465e59,_0x2c0633);let Ct=class{constructor(_0x4d61a8,_0x454214){var _0x52a8da=_0x1af020;this[_0x52a8da(0x374)]=_0x4d61a8,this[_0x52a8da(0x17b)]=_0x454214;}async[_0x1af020(0x13f)](_0xd41625,_0x57e408){var _0x1f8e70=_0x1af020,_0xa027d;const {unitID:_0x7af070,type:_0x3026a4,revision:_0x465ea4=0x0}=_0x57e408,_0x3c2b6b=this['getSnapshotAPIPath']()+'/'+_0x3026a4+'/unit/'+_0x7af070+_0x1f8e70(0x221)+_0x465ea4,_0xee25f5=(await this[_0x1f8e70(0x17b)][_0x1f8e70(0x289)](_0x3c2b6b))[_0x1f8e70(0x29d)],_0x131b7b=(_0xa027d=_0xee25f5[_0x1f8e70(0x1f2)])==null?void 0x0:_0xa027d[_0x1f8e70(0x2c8)];if(_0x131b7b){const _0x46e063=_0x131b7b==null?void 0x0:_0x131b7b[_0x1f8e70(0x2b6)],_0x40d09e=_0x4f6b51['encode'](_0x1abfbf(_0x46e063));_0x131b7b[_0x1f8e70(0x2b6)]=_0x40d09e,Object[_0x1f8e70(0x29f)](_0x131b7b[_0x1f8e70(0x2e8)])[_0x1f8e70(0x3db)](([,_0x19dd6d])=>{var _0x506183=_0x1f8e70;const _0x1999c4=_0x19dd6d[_0x506183(0x2b6)],_0x5bb83f=_0x4f6b51[_0x506183(0x1fa)](_0x1abfbf(_0x1999c4));_0x19dd6d['originalMeta']=_0x5bb83f;});}return _0xee25f5;}async['getSheetBlock'](_0x4c2983,_0x588289){var _0x4d7534=_0x1af020;const {unitID:_0x316bb5,type:_0x34d46d,blockID:_0x31ac75}=_0x588289,_0x436b29=this[_0x4d7534(0x3ba)]()+'/'+_0x34d46d+_0x4d7534(0x3f1)+_0x316bb5+_0x4d7534(0x1d0)+_0x31ac75;return(await this[_0x4d7534(0x17b)][_0x4d7534(0x289)](_0x436b29))[_0x4d7534(0x29d)];}async[_0x1af020(0x1be)](_0x2ba9dc,_0x284e01){var _0x1b2b44=_0x1af020;const {unitID:_0x371a97,type:_0x3cf633,blockID:_0x495004}=_0x284e01,_0x1296fe=this['_getAPIPrefix']()+_0x1b2b44(0x1d0)+_0x3cf633+_0x1b2b44(0x3f1)+_0x371a97+'/block/'+_0x495004;return(await this[_0x1b2b44(0x17b)]['get'](_0x1296fe))['body'];}async[_0x1af020(0x1db)](_0x44a737,_0x1fe202){var _0x22ed8c=_0x1af020;const {unitID:_0x2a19dd,type:_0xad41b5,from:_0xe4f891,to:_0x23c3f8}=_0x1fe202,_0x29b073=this[_0x22ed8c(0x3ba)]()+'/'+_0xad41b5+_0x22ed8c(0x3f1)+_0x2a19dd+_0x22ed8c(0x1ed)+_0xe4f891+_0x22ed8c(0x39e)+_0x23c3f8;return(await this['_httpService'][_0x22ed8c(0x289)](_0x29b073))[_0x22ed8c(0x29d)];}[_0x1af020(0x3a8)](){var _0x599de0=_0x1af020,_0x237b46;return(_0x237b46=this[_0x599de0(0x374)]['getConfig'](Es))!=null?_0x237b46:this[_0x599de0(0x3ba)]();}[_0x1af020(0x3ba)](){var _0x3776bb=_0x1af020,_0x4f6325;const _0x207971=this[_0x3776bb(0x374)][_0x3776bb(0x3c2)](K);return(_0x4f6325=_0x207971==null?void 0x0:_0x207971[_0x3776bb(0x206)])!=null?_0x4f6325:vs;}async['getResourcesRequest'](_0x2e8525,_0x1d8d9e){var _0x990d85=_0x1af020;const _0xea967=_0x990d85(0x26e)+_0x1d8d9e['type']+'/unit/'+_0x1d8d9e[_0x990d85(0x3d3)]+_0x990d85(0x1ae);return(await this['_httpService'][_0x990d85(0x289)](_0xea967,{'params':{'resourceId':JSON[_0x990d85(0x18d)](_0x1d8d9e[_0x990d85(0x364)])}}))[_0x990d85(0x29d)];}[_0x1af020(0x451)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x3e6232=_0x1af020;throw new Error(_0x3e6232(0x2f6));}[_0x1af020(0x3d1)](){var _0x4f6217=_0x1af020;throw new Error(_0x4f6217(0x2f6));}[_0x1af020(0x1aa)](){var _0x44703f=_0x1af020;throw new Error(_0x44703f(0x2f6));}[_0x1af020(0x1a4)](){var _0x51d7d2=_0x1af020;throw new Error(_0x51d7d2(0x2f6));}[_0x1af020(0x310)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ct=ir([ai(0x0,_0x5ee71f),ai(0x1,_0x5d0be3(_0x20f1c2))],Ct);var sr=Object['getOwnPropertyDescriptor'],nr=(_0x500056,_0xa78623,_0x43cfda,_0x21da2b)=>{for(var _0xb8f285=_0x21da2b>0x1?void 0x0:_0x21da2b?sr(_0xa78623,_0x43cfda):_0xa78623,_0x4dd86e=_0x500056['length']-0x1,_0x3886dc;_0x4dd86e>=0x0;_0x4dd86e--)(_0x3886dc=_0x500056[_0x4dd86e])&&(_0xb8f285=_0x3886dc(_0xb8f285)||_0xb8f285);return _0xb8f285;},Ae=(_0x371601,_0xbaeffa)=>(_0x378ae8,_0x1d85a2)=>_0xbaeffa(_0x378ae8,_0x1d85a2,_0x371601);let bt=class extends _0x46b780{constructor(_0x82eeb1,_0x437558,_0x33e291,_0x390942,_0x545d60){var _0xa04c50=_0x1af020;super(_0x82eeb1,_0x437558,_0x33e291),this['_transformService']=_0x390942,this[_0xa04c50(0x337)]=_0x545d60;}[_0x1af020(0x195)](_0x49b140,_0x5c7811){var _0x2a7a4e=_0x1af020;const _0x210657=this[_0x2a7a4e(0x2ce)](_0x49b140);if(_0x210657)try{const _0x51274b=this[_0x2a7a4e(0x315)](_0x210657,_0x5c7811);this['_substituteUndoStack'](_0x49b140,_0x51274b);}catch(_0x5c8ddb){this[_0x2a7a4e(0x337)]['error']('[CollaborationUndoRedoService]',_0x5c8ddb),this[_0x2a7a4e(0x395)](_0x49b140);}const _0x38caca=this[_0x2a7a4e(0x244)](_0x49b140);if(_0x38caca)try{const _0x47f7d6=this[_0x2a7a4e(0x315)](_0x38caca,_0x5c7811);this[_0x2a7a4e(0x183)](_0x49b140,_0x47f7d6);}catch(_0x5c3511){this[_0x2a7a4e(0x337)][_0x2a7a4e(0x3ee)](_0x5c3511),this[_0x2a7a4e(0x44f)](_0x49b140);}}['_clearUndo'](_0x5bd92d){var _0x58c9b3=_0x1af020;const _0x3ca3e0=this['_getUndoStack'](_0x5bd92d);_0x3ca3e0&&(_0x3ca3e0['length']=0x0,this[_0x58c9b3(0x20f)]());}['_clearRedo'](_0x4d12e4){var _0xb8f971=_0x1af020;const _0x59f337=this[_0xb8f971(0x244)](_0x4d12e4);_0x59f337&&(_0x59f337['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0xfe9d7d,_0x2b5f5a){var _0x1693b8=_0x1af020;this[_0x1693b8(0x36e)][_0x1693b8(0x143)](_0xfe9d7d,_0x2b5f5a),this[_0x1693b8(0x20f)]();}['_substituteRedoStack'](_0x2a9f6d,_0x1fbbc3){var _0x14aa95=_0x1af020;this[_0x14aa95(0x180)]['set'](_0x2a9f6d,_0x1fbbc3),this[_0x14aa95(0x20f)]();}[_0x1af020(0x315)](_0x4451da,_0x12ae12){var _0x1b0b15=_0x1af020;const _0x5ac97d=[];let _0xd75699=_0x12ae12,_0xdff5cd=_0x12ae12;for(let _0x56cf19=_0x4451da[_0x1b0b15(0x140)]-0x1;_0x56cf19>=0x0;_0x56cf19--){const {unitID:_0x291e45,undoMutations:_0x4add68,redoMutations:_0x4ae240}=_0x4451da[_0x56cf19],_0x55fe11=this[_0x1b0b15(0x200)][_0x1b0b15(0x13a)](_0xd75699,_0x4add68),_0x234e9f=this[_0x1b0b15(0x200)][_0x1b0b15(0x13a)](_0xdff5cd,_0x4ae240);if(_0x45f228(_0x55fe11)||_0x45f228(_0x234e9f)){this[_0x1b0b15(0x337)][_0x1b0b15(0x3ee)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x55fe11,_0x234e9f);break;}_0xd75699=_0x55fe11[_0x1b0b15(0x42b)],_0xdff5cd=_0x234e9f[_0x1b0b15(0x42b)],_0x5ac97d['push']({'unitID':_0x291e45,'undoMutations':_0x55fe11[_0x1b0b15(0x38d)],'redoMutations':_0x234e9f[_0x1b0b15(0x38d)]});}return _0x5ac97d['reverse']();}};bt=nr([Ae(0x0,_0x21edfd),Ae(0x1,_0x46cdbe),Ae(0x2,_0x255e16),Ae(0x3,_0x46ae73),Ae(0x4,_0x229638)],bt);var rr=Object[_0x1af020(0x155)],ar=Object[_0x1af020(0x1b4)],or=(_0x4cd3c0,_0x211867,_0x367c98)=>_0x211867 in _0x4cd3c0?rr(_0x4cd3c0,_0x211867,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x367c98}):_0x4cd3c0[_0x211867]=_0x367c98,cr=(_0x4037b5,_0x150b54,_0x1fc4b0,_0x599a50)=>{var _0x4b3e51=_0x1af020;for(var _0xbad006=_0x599a50>0x1?void 0x0:_0x599a50?ar(_0x150b54,_0x1fc4b0):_0x150b54,_0x599489=_0x4037b5[_0x4b3e51(0x140)]-0x1,_0xcdffa5;_0x599489>=0x0;_0x599489--)(_0xcdffa5=_0x4037b5[_0x599489])&&(_0xbad006=_0xcdffa5(_0xbad006)||_0xbad006);return _0xbad006;},pt=(_0x1931b6,_0x47f8f9)=>(_0x309928,_0x240b99)=>_0x47f8f9(_0x309928,_0x240b99,_0x1931b6),_r=(_0x37c64d,_0x241107,_0x5e302a)=>or(_0x37c64d,_0x241107+'',_0x5e302a);const hr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x442f48{constructor(_0x467997,_0x2e32e3,_0x4280cd,_0x4f9e1d){var _0x5e8999=_0x1af020;super(),D(this,_0x5e8999(0x280)),(this[_0x5e8999(0x337)]=_0x2e32e3,this['_injector']=_0x4280cd,this[_0x5e8999(0x374)]=_0x4f9e1d);const {..._0x37ff20}=_0x4c847d({},xs,_0x467997);if(!_0x37ff20[_0x5e8999(0x2d3)])throw new Error(_0x5e8999(0x1c3));this[_0x5e8999(0x280)]=_0x37ff20,this['_configService'][_0x5e8999(0x435)](K,_0x37ff20);}[_0x1af020(0x163)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1af020(0x1c8)](){var _0x208ab5=_0x1af020,_0x22b0a2,_0x1b48f7;this['_injector'][_0x208ab5(0x149)](_0x49a547)&&this[_0x208ab5(0x337)][_0x208ab5(0x3ee)]('[UniverCollaborationClientPlugin]',_0x208ab5(0x19e));const _0x3bbae2=_0x5a2fc1([[_0x49a547,{'useClass':bt}],[Le],[Pe],[it],[rt],[at],[pi],[ot],[ve],[Ot],[Ri,{'useClass':this[_0x208ab5(0x280)][_0x208ab5(0x2d3)]}],[_0x19c334,{'useClass':Ct}],[_0x3f2be6,{'useClass':Tt}],[_0x2db855,{'useClass':Rt}],[_0x4ed7d7,{'useClass':Nt}],[nt],[gt]],(_0x22b0a2=this[_0x208ab5(0x280)])==null?void 0x0:_0x22b0a2[_0x208ab5(0x3c9)]);if(!((_0x1b48f7=this['_config'])!=null&&_0x1b48f7[_0x208ab5(0x1c9)])){const _0x22008a=_0x3bbae2[_0x208ab5(0x36d)](([_0x1fff77])=>_0x1fff77===_t);_0x22008a!==-0x1&&_0x3bbae2[_0x208ab5(0x25c)](_0x22008a,0x1);}_0x1f9a16(this[_0x208ab5(0x332)],_0x3bbae2);}[_0x1af020(0x15c)](){var _0x18a4bc=_0x1af020,_0x2ea48a,_0x2247e1,_0x196896;this[_0x18a4bc(0x332)][_0x18a4bc(0x289)](_0x20f1c2)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x448e61({'maxParallel':0x6})}),(_0x2ea48a=this[_0x18a4bc(0x280)])!=null&&_0x2ea48a[_0x18a4bc(0x3af)]||(_0x2247e1=this[_0x18a4bc(0x332)]['get'](X,_0x2a947a[_0x18a4bc(0x3b7)]))==null||_0x2247e1[_0x18a4bc(0x1ac)](),(_0x196896=this['_config'])!=null&&_0x196896['enableAuthServer']&&_0x467699(this[_0x18a4bc(0x332)],[[rt]]),_0x467699(this[_0x18a4bc(0x332)],[[at],[nt],[ot]]);}};_r(Dt,_0x1af020(0x3e6),hr),Dt=cr([_0x4d6fea(_0x72d1ed,_0x78f2a0),pt(0x1,_0x229638),pt(0x2,_0x5d0be3(_0x1be1d3)),pt(0x3,_0x5ee71f)],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,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Tr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Is as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Rr as LOCAL_CACHE_INTERVAL,Or as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Nt as MentionIoHttpService,de as OfflineState,ae as PendingState,Nr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Ts 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,Vs as deserializeToCombResponse,br as getLocalCacheKey,Gs as serializeCombRequest};
|